:root {
  font-family:
    Segoe UI,
    Tahoma,
    Arial,
    sans-serif;
  color: #153447;
  background: #f3f7fa;
  font-size: 15px;
  font-synthesis: none;
  --teal: #087f85;
  --line: #dce7ed;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button {
  border: 1px solid var(--line);
  background: white;
  color: #214252;
  padding: 10px 16px;
  border-radius: 9px;
  cursor: pointer;
}
button:hover {
  border-color: #0c8b91;
  background: #edf8f7;
}
button:disabled {
  opacity: 0.55;
  cursor: wait;
}
.primary {
  color: white;
  background: var(--teal);
  border-color: var(--teal);
}
.primary:hover {
  background: #05676d;
  color: white;
}
.layout {
  display: flex;
  min-height: 100vh;
}
aside {
  width: 252px;
  flex-shrink: 0;
  background: #102f42;
  color: #d8e9ee;
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 45px;
}
.brand b {
  font-size: 18px;
  color: white;
}
.brand small {
  display: block;
  color: #8baebc;
  font-size: 11px;
  margin-top: 6px;
}
.brand-icon {
  background: #1d5666;
  color: #a4eeeb;
  border-radius: 12px;
  padding: 11px;
  font-size: 23px;
}
.side-label {
  text-transform: uppercase;
  font-size: 11px;
  letter-spacing: 1px;
  color: #7598a9;
  margin: 8px 12px 18px;
}
nav {
  display: grid;
  gap: 5px;
}
nav button {
  background: none;
  border: 0;
  color: #acc7d3;
  text-align: start;
  display: flex;
  align-items: center;
  gap: 13px;
  border-radius: 10px;
  padding: 12px;
}
nav button:hover {
  background: #173e52;
}
nav button.selected {
  background: #126879;
  color: white;
}
.nav-dot {
  font-size: 18px;
  width: 22px;
  text-align: center;
}
.sidebar-bottom {
  margin-top: auto;
  padding: 40px 12px 0;
  font-size: 11px;
  color: #7fa5b6;
}
.status-dot {
  display: inline-block;
  background: #7cded0;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-inline-end: 8px;
}
.main {
  flex: 1;
  min-width: 0;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 34px;
  background: white;
  border-bottom: 1px solid var(--line);
}
header small {
  display: block;
  font-size: 10px;
  color: #78909d;
  margin-bottom: 4px;
}
header b {
  font-size: 13px;
}
.header-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}
main {
  padding: 30px 36px;
  max-width: 1500px;
  margin: auto;
}
.page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.eyebrow {
  font-size: 12px;
  color: #7c919c;
  margin: 0 0 6px;
}
h1 {
  font-size: 29px;
  margin: 0;
  line-height: 1.4;
}
h2 {
  font-size: 21px;
}
p {
  line-height: 1.8;
}
.pilot-banner {
  background: #fff9e9;
  color: #8a6b31;
  border: 1px solid #f0e4bf;
  padding: 11px 16px;
  font-size: 12px;
  border-radius: 9px;
  margin-bottom: 24px;
}
.card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 25px;
  margin-bottom: 22px;
  box-shadow: 0 3px 12px #193b4c03;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin: 22px 0;
}
.stat-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 3px solid #64c5c2;
}
.stat-card span {
  color: #6c8390;
  font-size: 13px;
}
.stat-card b {
  font-size: 37px;
  font-weight: 600;
}
.stat-card small {
  font-size: 10px;
  color: #95a6af;
}
.welcome {
  text-align: center;
  padding: 50px 20px;
}
.big {
  display: inline-block;
  font-size: 35px;
}
.welcome p {
  color: #8095a1;
}
.actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 22px;
}
.inline-form {
  display: flex;
  align-items: end;
  gap: 14px;
  flex-wrap: wrap;
}
label {
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 12px;
  color: #557382;
  text-align: start;
}
input,
select,
textarea {
  min-width: 0;
  background: #fcfdfe;
  border: 1px solid #d7e3ea;
  padding: 11px 13px;
  border-radius: 8px;
  color: #193e50;
  outline: none;
}
input:focus,
select:focus,
textarea:focus {
  border-color: #07969b;
  box-shadow: 0 0 0 3px #07969b12;
}
textarea {
  width: 100%;
  font-family: Consolas, monospace;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: end;
}
.span-all {
  grid-column: 1/-1;
}
.table-wrap {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  overflow: auto;
  margin-bottom: 20px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
}
th,
td {
  padding: 16px;
  text-align: start;
  border-bottom: 1px solid #e8eff3;
  max-width: 300px;
  overflow-wrap: anywhere;
}
th {
  background: #f8fbfc;
  color: #7c929f;
  font-weight: 500;
}
tr:last-child td {
  border-bottom: 0;
}
.empty {
  text-align: center;
  padding: 50px;
  color: #8ba0ac;
  font-size: 13px;
}
.badge {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 7px;
  background: #eaf3f7;
  color: #497483;
  font-size: 11px;
}
.badge.active {
  background: #e2f6ec;
  color: #15825d;
}
.badge.held,
.badge.blocked {
  background: #fff0d8;
  color: #a7751b;
}
.app-card {
  max-width: 420px;
  text-align: center;
}
.app-symbol {
  font-size: 42px;
  color: #078b91;
}
.muted {
  color: #8094a0;
  font-size: 13px;
}
.error {
  background: #fff0ef;
  border: 1px solid #f2d0ca;
  padding: 14px;
  color: #a34539;
  border-radius: 8px;
  margin-bottom: 18px;
  overflow-wrap: anywhere;
}
.success {
  background: #e7f7ef;
  padding: 12px;
  color: #267553;
  border-radius: 8px;
  margin-bottom: 18px;
  font-size: 12px;
}
.secret {
  border-color: #e4ce90;
}
.secret pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  font-size: 12px;
}
.login-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.login-art {
  background: radial-gradient(ellipse at 10% 80%, #1a6970, #112e42 70%);
  color: white;
  padding: 65px 12%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.brand-mark {
  font-size: 43px;
  font-weight: 700;
  letter-spacing: -4px;
  margin-bottom: 36px;
}
.brand-mark span {
  color: #74d7d3;
  font-size: 30px;
  vertical-align: super;
  margin-inline-start: 6px;
}
.login-art small {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8dbbc6;
}
.login-art h1 {
  font-size: 44px;
  max-width: 400px;
  margin-top: 18px;
}
.login-art p {
  color: #aacbd5;
  font-size: 14px;
}
.orbit {
  border: 1px solid #70c6cc38;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin: 35px 0;
}
.orbit div {
  width: 135px;
  height: 135px;
  display: grid;
  place-items: center;
  border: 1px solid #70c6cc44;
  border-radius: 25px;
  font-size: 80px;
  color: #72d6d1;
  background: #ffffff05;
}
.subtle {
  font-size: 10px !important;
  opacity: 0.65;
}
.login-box {
  padding: 60px 16%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.login-box > select {
  align-self: flex-end;
  margin-bottom: 50px;
  max-width: 170px;
}
.login-box form {
  display: grid;
  gap: 24px;
}
.login-box h2 {
  font-size: 28px;
  margin-bottom: 8px;
}
.login-box .muted {
  margin-bottom: 30px;
}
summary {
  cursor: pointer;
  color: #087f85;
}
.card > form {
  margin-top: 20px;
}
@media (max-width: 1000px) {
  aside {
    width: 210px;
  }
  main {
    padding: 25px;
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .login-box {
    padding: 40px 10%;
  }
  .login-art {
    padding: 45px 10%;
  }
}
@media (max-width: 720px) {
  .layout {
    display: block;
  }
  aside {
    width: 100%;
    padding: 15px;
  }
  .brand {
    margin-bottom: 15px;
  }
  .side-label,
  .sidebar-bottom {
    display: none;
  }
  nav {
    display: flex;
    overflow: auto;
  }
  nav button {
    white-space: nowrap;
    flex-shrink: 0;
  }
  header {
    padding: 14px;
    gap: 8px;
  }
  .header-actions {
    gap: 5px;
  }
  main {
    padding: 18px 12px;
  }
  .page-heading {
    align-items: start;
    flex-direction: column;
  }
  .stats {
    gap: 8px;
  }
  .stat-card {
    padding: 15px;
  }
  .stat-card b {
    font-size: 28px;
  }
  .form-grid {
    grid-template-columns: 1fr;
  }
  .inline-form {
    display: grid;
    grid-template-columns: 1fr;
  }
  .card {
    padding: 18px;
  }
  .login-layout {
    display: block;
  }
  .login-art {
    padding: 30px;
    min-height: 230px;
  }
  .login-art h1 {
    font-size: 28px;
  }
  .brand-mark {
    margin-bottom: 12px;
  }
  .orbit,
  .login-art .subtle {
    display: none;
  }
  .login-box {
    padding: 25px;
  }
  .login-box > select {
    margin-bottom: 20px;
  }
  .header-actions button {
    font-size: 11px;
  }
  h1 {
    font-size: 25px;
  }
}
/* Keep long organization names and native language labels inside narrow viewports. */
.page-heading > select { max-width: 100%; }
.header-actions { min-width: 0; max-width: 100%; }
.header-actions select { max-width: 160px; }
header > div { min-width: 0; }
header b { overflow-wrap: anywhere; }
@media (max-width: 720px) {
  header { flex-wrap: wrap; }
  nav { max-width: 100%; }
  .inline-form, .form-grid { grid-template-columns: minmax(0, 1fr); }
  label { min-width: 0; }
}
