:root {
  font-family:
    system-ui,
    -apple-system,
    "PingFang SC",
    "Microsoft YaHei",
    sans-serif;
  color: #23324d;
  background: #fff;
  font-synthesis: none;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-width: 760px;
}
button,
input,
textarea {
  font: inherit;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
[hidden] {
  display: none !important;
}
.icon-library {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}
svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.shell {
  display: flex;
  min-height: 100vh;
}
.sidebar {
  flex: 0 0 252px;
  border-right: 1px solid #dce8f3;
  background: #fff;
}
.brand {
  height: 75px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding-left: 27px;
  font-size: 24px;
  font-weight: 760;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.brand-mark {
  display: inline-block;
  width: 34px;
  height: 38px;
  background: linear-gradient(145deg, #44c4ce, #138e9b 60%, #a1e0e5);
  clip-path: polygon(
    57% 0,
    100% 21%,
    100% 74%,
    58% 100%,
    0 76%,
    0 24%,
    50% 0,
    50% 27%,
    25% 39%,
    25% 61%,
    57% 73%,
    75% 62%,
    75% 38%,
    57% 29%
  );
  flex: none;
}
.navigation {
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 20px 9px;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 19px;
  width: 100%;
  height: 57px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  padding: 0 19px;
  color: #2a3a58;
  text-align: left;
  font-size: 19px;
  font-weight: 600;
  white-space: nowrap;
}
.nav-link svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.nav-link:hover:not(.active) {
  background: #f5fbfc;
}
.nav-link.active {
  background: #eaf9fc;
  color: #078296;
  font-weight: 700;
}
.workspace {
  flex: 1;
  min-width: 0;
  background: linear-gradient(180deg, #fff 0%, #fff 73%, #fbfdff 100%);
}
.topbar {
  height: 74px;
  border-bottom: 1px solid #dce8f3;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 23px;
}
.account-menu-wrap {
  position: relative;
}
.account-button {
  height: 49px;
  min-width: 226px;
  border: 1px solid #d7e4f2;
  border-radius: 25px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 16px 0 10px;
  color: #253450;
  font-size: 17px;
  font-weight: 600;
}
.account-avatar {
  height: 29px;
  width: 29px;
  display: grid;
  place-items: center;
  background: #e4f7f8;
  border-radius: 50%;
  color: #078f9c;
  font-size: 17px;
}
.chevron {
  margin-left: auto;
  width: 9px;
  height: 9px;
  border-right: 1.7px solid #60728e;
  border-bottom: 1.7px solid #60728e;
  transform: rotate(45deg) translateY(-2px);
}
.account-menu {
  position: absolute;
  right: 0;
  top: 55px;
  z-index: 5;
  min-width: 220px;
  padding: 6px;
  border: 1px solid #d7e4f2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 12px 30px #1b436421;
}
.account-menu button {
  width: 100%;
  border: 0;
  background: none;
  text-align: left;
  padding: 10px 14px;
  border-radius: 7px;
  color: #23324d;
}
.account-menu button:hover {
  background: #f1f8fa;
}
.main-content {
  padding: 29px 23px 44px 29px;
}
.page-section {
  max-width: 1480px;
  margin: 0 auto;
}
.page-heading {
  margin-bottom: 24px;
}
.page-heading h1 {
  font-size: 36px;
  line-height: 1.3;
  letter-spacing: 1px;
  margin: 0 0 1px;
  font-weight: 760;
  color: #202d47;
}
.page-heading p {
  font-size: 19px;
  line-height: 1.4;
  letter-spacing: 0.5px;
  color: #4a5c78;
  margin: 0;
}
.metric-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin-bottom: 19px;
}
.metric-card {
  min-height: 141px;
  border: 1px solid #d7e4f2;
  border-radius: 12px;
  background: #fff;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 19px 20px;
}
.metric-icon {
  height: 69px;
  width: 69px;
  flex: none;
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.metric-icon svg {
  height: 33px;
  width: 33px;
  stroke-width: 1.8;
}
.metric-icon.cyan {
  color: #078f9c;
  background: #e9f9fb;
}
.metric-icon.blue {
  color: #168cc4;
  background: #ecf7fe;
}
.metric-icon.green {
  color: #0e9980;
  background: #e7f9f2;
}
.metric-icon.amber {
  color: #f09b05;
  background: #fff4e5;
}
.metric-card > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.metric-label {
  font-size: 18px;
  color: #34425e;
  font-weight: 600;
  white-space: nowrap;
}
.metric-card strong {
  font-size: 36px;
  line-height: 1.1;
  white-space: nowrap;
}
.green-text {
  color: #118f79;
}
.amber-text {
  color: #ef9700;
}
.subscription-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}
.subscription-grid .warning-banner { margin-top: 0; }
.panel {
  border: 1px solid #d7e4f2;
  border-radius: 12px;
  background: #fff;
}
.subscription-panel,
.import-panel {
  min-height: 472px;
  padding: 18px 19px;
}
.subscription-panel { min-width: 0; min-height: 0; }
.import-panel { min-height: 0; }
.import-panel form { display: grid; grid-template-columns: minmax(180px,1fr) minmax(300px,2fr) auto; align-items: end; gap: 10px 16px; }
.import-field { min-width: 0; }
.import-field:has(#subscription-pool) { grid-column: 1 / -1; }
.import-panel .import-field input { margin-bottom: 0; }
.import-panel .import-field select { width: 100%; height: 45px; padding: 0 14px; border: 1px solid #cddded; border-radius: 8px; background: #fff; color: #263854; font: inherit; }
.import-panel .import-field select:focus { outline: none; border-color: #18a2b0; box-shadow: 0 0 0 3px #18a2b020; }
.import-panel form .helper { grid-column: 1 / -1; margin: 0; }
.import-panel form .primary-button { width: auto; }
.subscription-heading { display: flex; justify-content: space-between; align-items: start; gap: 12px; margin-bottom: 17px; }
.subscription-heading h2 { margin-bottom: 2px; }
.subscription-heading p, .subscription-heading > span { margin: 0; font-size: 13px; color: #6b7b94; }
.subscription-heading > span { white-space: nowrap; padding-top: 7px; }
.subscription-cards { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 15px; align-content: start; color: #60738d; }
.pool-tabs { display: flex; width: min(440px,100%); height: 54px; margin: -5px 0 13px; border-radius: 9px; background: #f5f9fd; overflow: hidden; }
.pool-tab { flex: 1; border: 0; border-bottom: 3px solid transparent; background: transparent; color: #233d63; font-weight: 700; font-size: 18px; }
.pool-tab.active { background: #eaf9fc; color: #087e91; border-bottom-color: #078f9c; }
.pool-guidance { display: flex; align-items: center; min-height: 49px; padding: 9px 18px; margin-bottom: 15px; border-radius: 9px; background: #e8f9fc; color: #547591; font-size: 14px; }
#page-subscriptions .metric-card { min-height: 115px; }
#page-subscriptions .metric-card strong { font-size: 32px; }
#page-subscriptions .metric-grid { margin-bottom: 14px; }
.pool-slots-panel { padding: 15px 17px 14px; margin-bottom: 16px; }
.pool-slots-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.pool-slots-heading h2 { font-size: 22px; margin: 0; }
.pool-slots-heading > span { color: #46628c; font-size: 14px; }
.pool-slots { display: grid; grid-template-columns: repeat(16,minmax(0,1fr)); column-gap: 12px; row-gap: 16px; margin: 16px 0 10px; }
.pool-slot { display: flex; flex-direction: column; align-items: center; gap: 4px; min-width: 0; padding: 0 2px; border: 0; background: transparent; color: #6078a0; font-size: 12px; font-weight: 700; }
.pool-slot:disabled { opacity: 1; }
.pool-slot-amount { height: 17px; white-space: nowrap; }
.pool-slot-track { position: relative; display: block; width: min(50px,100%); height: 72px; border: 1px solid #d6e5f0; border-radius: 5px; background: #f1f6fa; overflow: hidden; }
.pool-slot-fill { position: absolute; inset: auto 0 0; background: linear-gradient(180deg,#53cfc9,#13a79c); }
.pool-slot.selected .pool-slot-track { outline: 2px solid #078f9c; outline-offset: 2px; }
.pool-slot.empty .pool-slot-track { border: 2px dashed #c9daec; background: #fff; }
.pool-slot.exhausted .pool-slot-track { border-color: #9cadc5; background: #fff; }
.pool-slot.exhausted .pool-slot-amount { color: #b44840; }
.pool-slot.unknown .pool-slot-track { background: repeating-linear-gradient(135deg,#f2f7fb 0 4px,#d6e4ee 4px 6px); }
.selected-subscription { display: flex; align-items: center; flex-wrap: wrap; gap: 9px 22px; min-height: 90px; padding: 15px 16px; border: 1px solid #dce9f5; border-radius: 9px; color: #213454; }
.selected-subscription > strong { font-size: 19px; }
.selected-subscription > span { flex: 1; font-size: 14px; line-height: 1.6; }
.selected-subscription .row-actions { display: flex; gap: 6px; }
.airport-view { min-width: 0; padding-top: 4px; }
.airport-heading { position: absolute; right: 0; top: 93px; display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin: 0; color: #4d6b96; }
.airport-heading p { display: none; }
.airport-heading button { width: auto; }
.airport-cards { display: grid; gap: 18px; color: #60738d; }
.airport-card { position: relative; min-width: 0; padding: 22px 22px 24px; border: 1px solid #d7e4f2; border-radius: 11px; background: #fff; }
.airport-card-head, .airport-identity { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.airport-identity { justify-content: flex-start; }
.airport-mark { display: grid; place-items: center; flex: none; width: 65px; height: 65px; border-radius: 50%; background: #e9f9fb; color: #078f9c; font-size: 30px; }
.airport-names h2 { margin: 0 0 3px; font-size: 23px; }
.airport-status { display: inline-block; border-radius: 18px; padding: 2px 10px; background: #e9f8f2; color: #168a73; font-size: 13px; }
.airport-card-head .secondary-button { width: auto; }
.airport-source-row { display: grid; grid-template-columns: minmax(220px,30%) minmax(0,1fr); gap: 20px; margin: 17px 0 21px; }
.airport-fact { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 5px; }
.airport-fact small, .pool-trigger small { color: #5c7298; font-size: 15px; }
.airport-fact strong, .pool-trigger strong { color: #1f3253; font-size: 18px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.airport-source { display: flex; flex-direction: row; align-items: end; gap: 8px; flex-wrap: wrap; }
.airport-source small { flex-basis: 100%; }
.airport-source code { min-width: 100px; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; border: 1px solid #deebf7; border-radius: 6px; padding: 7px 10px; color: #36567f; background: #f8fbff; }
.airport-source .secondary-button { width: auto; }
.airport-facts { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid #e7eff6; padding-top: 16px; }
.airport-facts > * { padding: 0 16px; }
.airport-facts > * + * { border-left: 1px solid #dce8f3; }
.airport-facts > *:last-child { padding-right: 0; }
.airport-allocation { position: relative; min-width: 0; }
.pool-trigger { width: 100%; min-height: 67px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; position: relative; padding: 5px 32px 5px 12px; border: 1px solid #21a5b4; border-radius: 7px; background: #fff; text-align: left; }
.pool-trigger:hover { background: #f4fbfd; }
.pool-chevron { position: absolute; right: 12px; top: 20px; color: #078f9c; font-size: 25px; }
.pool-popover { position: absolute; z-index: 20; right: 0; top: calc(100% + 3px); width: min(510px,82vw); padding: 18px 18px 23px; border: 1px solid #dbe8f3; border-radius: 10px; background: #fff; box-shadow: 0 12px 30px #1b436426; }
.pool-popover h3 { margin: 0 0 13px; font-size: 19px; }
.pool-choice { display: grid; grid-template-columns: 27px 1fr; gap: 2px 12px; align-items: center; padding: 15px 14px; margin-bottom: 8px; border: 1px solid #d9e8f4; border-radius: 7px; cursor: pointer; }
.pool-choice:has(input:checked) { background: #e8f9fc; border-color: #abdee5; }
.pool-choice input { grid-row: span 2; accent-color: #078f9c; }
.pool-choice small { grid-column: 2; color: #6380a0; }
.pool-caution { padding: 9px 11px; border-radius: 7px; background: #fff4e5; color: #b76b13; font-size: 13px; }
.pool-popover-actions { display: flex; justify-content: flex-end; gap: 9px; }
.pool-popover-actions button { width: auto; }
.airport-view > .pool-guidance { margin-top: 18px; }
.source-reveal { overflow-wrap: anywhere; }
#page-subscriptions { position: relative; margin-top: -12px; }
#airport-dialog select { width: 100%; min-height: 44px; border: 1px solid #cddded; border-radius: 7px; background: #fff; padding: 0 12px; }
.health-card { min-width: 0; padding: 17px; background: #fff; border: 1px solid #d7e4f2; border-radius: 13px; box-shadow: 0 4px 16px #1536580a; color: #253954; }
.health-card-head, .health-card-identity, .health-card-meta, .health-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.health-card-identity { justify-content: start; min-width: 0; }
.health-card-mark { flex: none; width: 37px; height: 37px; border-radius: 10px; display: grid; place-items: center; color: #0794a1; background: #e4f8fa; font-size: 25px; }
.health-card-identity > div { min-width: 0; }
.health-card h3 { margin: 0 0 2px; font-size: 17px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.health-card small { color: #71819b; font-size: 12px; }
.health-card-identity small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.health-card .status-pill { flex: none; font-size: 12px; }
.status-pill.good { background: #e9f8f2; color: #13896a; border-color: #c8ebdc; }
.status-pill.warning { background: #fff8e9; color: #a67616; border-color: #f6e3ba; }
.health-card-stats { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; margin: 18px 0 15px; }
.health-card-stats > div { background: #f7fbff; border: 1px solid #e4edf6; border-radius: 9px; padding: 10px 12px; }
.health-card-stats span, .health-card-stats strong { display: block; }
.health-card-stats span { color: #61738e; font-size: 12px; margin-bottom: 5px; }
.health-card-stats strong { font-size: 19px; font-variant-numeric: tabular-nums; }
.health-card-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); text-align: center; gap: 4px; margin-bottom: 12px; }
.health-card-details > span + span { border-left: 1px solid #e5edf5; }
.health-card-details small, .health-card-details strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.health-card-details strong { font-size: 13px; margin-top: 3px; }
.health-card-meta { border-top: 1px solid #e5edf5; padding-top: 12px; font-size: 12px; color: #62748c; }
.health-card-meta strong { color: #159a7e; font-size: 22px; font-variant-numeric: tabular-nums; }
.health-card-history { display: grid; grid-template-columns: repeat(60,minmax(0,1fr)); gap: 2px; height: 23px; margin: 12px 0 14px; }
.health-card-history span { min-width: 2px; border-radius: 2px; background: #dce5ef; }
.health-card-history .pass { background: #20b899; }
.health-card-history .mixed { background: #efad37; }
.health-card-history .fail { background: #e77c6e; }
.health-card-history .skipped { background: #9caac0; }
.health-card-foot { border-top: 1px solid #e5edf5; padding-top: 12px; align-items: end; flex-wrap: wrap; }
.health-card-foot small { line-height: 1.4; }
.health-card-foot .row-actions { gap: 5px; flex-wrap: wrap; justify-content: flex-end; }
.health-card-foot .row-button { padding: 6px; }
.node-detail-list { max-height: 260px; overflow: auto; margin-top: 18px; border-top: 1px solid #e1e9f3; }
.node-detail-list h3 { font-size: 16px; }
.node-detail-row { display: flex; justify-content: space-between; gap: 16px; border-bottom: 1px solid #edf1f7; padding: 7px 0; font-size: 13px; }
.node-detail-row strong { white-space: nowrap; }
.node-detail-row span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.panel h2 {
  font-size: 23px;
  line-height: 1.4;
  margin: 0 0 19px;
  font-weight: 740;
  letter-spacing: 0.2px;
  color: #22314c;
}
.table-frame {
  border: 1px solid #d7e4f2;
  border-radius: 12px;
  overflow: auto;
  height: 380px;
}
.table-frame table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  white-space: nowrap;
  font-size: 15px;
}
.table-frame thead {
  background: #f6fbff;
}
.table-frame th {
  height: 53px;
  padding: 0 15px;
  border-bottom: 1px solid #dce8f3;
  color: #3c4b65;
  font-weight: 700;
}
.table-frame td {
  height: 70px;
  padding: 0 15px;
  border-bottom: 1px solid #e1e9f3;
  color: #2c3a56;
}
.table-frame th:nth-child(3),
.table-frame td:nth-child(3) {
  min-width: 190px;
}
.table-frame th:nth-child(6),
.table-frame td:nth-child(6) {
  min-width: 185px;
}
.table-frame .empty-cell {
  text-align: center;
  color: #7b8aa0;
  white-space: normal;
}
.status-pill {
  display: inline-block;
  border: 1px solid #f6e3ba;
  border-radius: 18px;
  padding: 5px 9px;
  background: #fff9ee;
  color: #ad6a00;
  font-size: 13px;
  font-weight: 700;
}
.status-pill.error {
  background: #fff1f0;
  border-color: #ffd2ce;
  color: #b84c43;
}
.row-actions {
  display: flex;
  gap: 11px;
}
.row-button {
  border: 1px solid #cddded;
  border-radius: 7px;
  background: #fff;
  color: #455b78;
  padding: 8px 10px;
  font-size: 13px;
  white-space: nowrap;
}
.row-button:hover {
  background: #f5fbfd;
}
.row-button.detail {
  border-color: #8ed4df;
  color: #078b9b;
}
.row-button svg {
  width: 15px;
  height: 15px;
  vertical-align: -3px;
  margin-right: 2px;
}
.import-panel h2 {
  margin-bottom: 21px;
}
.import-panel label,
.form-panel label,
.delivery-panel label,
.auth-card label {
  display: block;
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 9px;
  color: #33415d;
}
.import-panel input,
.form-panel input,
.form-panel textarea,
.delivery-panel input,
.auth-card input {
  display: block;
  width: 100%;
  border: 1px solid #cddded;
  border-radius: 8px;
  outline: none;
  padding: 11px 14px;
  color: #263854;
  background: #fff;
  font-size: 16px;
}
.import-panel input:focus,
.form-panel input:focus,
.form-panel textarea:focus,
.delivery-panel input:focus,
.auth-card input:focus {
  border-color: #18a2b0;
  box-shadow: 0 0 0 3px #18a2b020;
}
.import-panel input {
  height: 45px;
  margin-bottom: 25px;
}
.import-panel .helper {
  margin: 10px 0 29px;
}
.helper {
  font-size: 14px;
  line-height: 1.5;
  color: #6c7a91;
}
.primary-button {
  height: 49px;
  border: 0;
  border-radius: 7px;
  background: #1498a5;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 0 24px;
}
.primary-button:hover {
  background: #0c8998;
}
.primary-button svg {
  width: 18px;
  height: 18px;
}
.import-panel .primary-button {
  width: 100%;
}
.warning-banner {
  height: 69px;
  border: 1px solid #f8dca4;
  border-radius: 11px;
  background: #fffaf1;
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 21px;
  padding: 0 23px;
  color: #9c5c17;
  font-size: 17px;
  font-weight: 700;
}
.warning-banner svg {
  color: #ea9400;
  width: 28px;
  height: 28px;
}
.simple-page .page-heading {
  margin-bottom: 27px;
}
.simple-card,
.form-panel,
.delivery-panel {
  padding: 26px;
  max-width: 720px;
}
.simple-card {
  border: 1px solid #d7e4f2;
  border-radius: 12px;
}
.simple-card h2 {
  margin-top: 0;
}
.simple-card p {
  color: #60718d;
}
.setting-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 0;
  border-top: 1px solid #e5edf5;
  border-bottom: 1px solid #e5edf5;
  cursor: pointer;
}
.setting-toggle span {
  display: grid;
  gap: 5px;
}
.setting-toggle small {
  color: #60718d;
  line-height: 1.5;
}
.setting-toggle input {
  width: 18px;
  height: 18px;
  accent-color: #138992;
}
.security-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
}
.security-panel {
  padding: 26px;
}
.security-facts {
  display: grid;
  grid-template-columns: 100px minmax(0, 1fr);
  gap: 19px 16px;
  margin: 28px 0 0;
}
.security-facts dt,
.security-item p,
.security-note {
  color: #60718d;
}
.security-facts dd {
  margin: 0;
  font-weight: 650;
  overflow-wrap: anywhere;
}
.security-inline {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.text-action {
  border: 0;
  background: transparent;
  color: #078b9a;
  font-size: 14px;
  font-weight: 700;
  padding: 2px 4px;
}
.text-action:hover {
  text-decoration: underline;
}
.security-name-form {
  margin-top: 24px;
  border-top: 1px solid #e5edf4;
  padding-top: 20px;
}
.security-name-form label,
.email-bind-form label {
  display: block;
  margin: 12px 0 7px;
  font-weight: 650;
}
.security-name-form input,
.email-bind-form input {
  width: 100%;
  height: 42px;
  border: 1px solid #cddded;
  border-radius: 7px;
  padding: 0 12px;
}
.security-name-form > div {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 14px;
}
.security-name-form .form-error,
#email-dialog .form-error {
  color: #b2443b;
  min-height: 22px;
}
.email-bind-form {
  margin-top: 18px;
}
.email-bind-form button {
  margin-top: 15px;
}
#email-bind-cancel {
  margin-top: 10px;
}
.security-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #e5edf4;
  padding: 17px 0;
}
.security-item p {
  margin: 5px 0 0;
  line-height: 1.5;
}
.security-item .secondary-button {
  flex: none;
}
.security-mfa-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.security-state {
  flex: none;
  color: #118f79;
  font-weight: 700;
}
.security-note {
  margin: 12px 0 0;
  font-size: 14px;
}
@media (max-width: 1150px) {
  .security-grid {
    grid-template-columns: 1fr;
  }
}
.form-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1200px;
}
.form-panel {
  max-width: none;
}
.form-panel input,
.delivery-panel input {
  margin-bottom: 20px;
}
.form-panel textarea {
  resize: vertical;
}
.form-panel .helper,
.delivery-panel .helper {
  margin: 12px 0 20px;
}
.secondary-button {
  height: 42px;
  border: 1px solid #a7d4de;
  background: #fff;
  color: #088b9a;
  border-radius: 7px;
  padding: 0 20px;
  font-weight: 700;
}
.secondary-button:hover {
  background: #edf9fb;
}
.result-box {
  margin-top: 22px;
  padding: 17px;
  border: 1px solid #dce8f3;
  border-radius: 8px;
  background: #f8fbfe;
  color: #43546e;
  overflow-wrap: anywhere;
}
.delivery-panel {
  max-width: 610px;
}
.auth-overlay,
.dialog-backdrop {
  position: fixed;
  inset: 0;
  background: #162c4b6b;
  display: grid;
  place-items: center;
  z-index: 10;
  padding: 20px;
}
.auth-card,
.dialog {
  width: min(440px, 100%);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 20px 60px #09203950;
  padding: 32px;
}
.auth-card .brand-mark {
  margin-bottom: 13px;
}
.auth-card h2,
.dialog h2 {
  font-size: 25px;
  margin: 0 0 8px;
}
.auth-card p {
  color: #66758f;
  line-height: 1.5;
  margin: 0 0 24px;
}
.auth-card input {
  margin-bottom: 17px;
}
.auth-card .primary-button {
  width: 100%;
  margin-top: 3px;
}
.auth-card .form-error {
  color: #b2443b;
  margin: 12px 0 0;
  min-height: 22px;
}
.dialog {
  width: min(520px, 100%);
  position: relative;
}
.dialog-close {
  position: absolute;
  right: 21px;
  top: 17px;
  border: 0;
  background: transparent;
  font-size: 30px;
  color: #75849b;
}
.dialog dl {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 11px 15px;
  margin: 25px 0;
}
.dialog dt {
  color: #66758f;
}
.dialog dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.toast {
  position: fixed;
  right: 25px;
  bottom: 25px;
  z-index: 12;
  max-width: 400px;
  padding: 13px 18px;
  border: 1px solid #b8dedf;
  border-radius: 9px;
  background: #eafafa;
  color: #176c76;
  box-shadow: 0 8px 30px #243a5930;
}
.toast.error {
  background: #fff3f1;
  border-color: #f1c9c1;
  color: #9f4239;
}
.version-notice {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 12px 20px;
  background: #fff2d9;
  border-bottom: 1px solid #e9ca89;
  color: #654913;
  box-shadow: 0 5px 24px #243a5926;
}
.version-notice .primary-button { width: auto; }
:focus-visible {
  outline: 3px solid #1b9eaa;
  outline-offset: 2px;
}
@media (max-width: 1250px) {
  .pool-slots { grid-template-columns: repeat(8,minmax(0,1fr)); }
  .airport-facts { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px 0; }
  .airport-facts > :nth-child(3) { border-left: 0; }
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .subscription-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .subscription-cards { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .import-panel form { grid-template-columns: 1fr 2fr auto; }
  .import-panel {
    height: auto;
  }
  .form-columns {
    grid-template-columns: 1fr;
  }
  .import-panel .primary-button {
    max-width: 310px;
  }
}
@media (max-width: 800px) {
  .airport-heading { position: static; justify-content: flex-start; margin-bottom: 14px; }
  .airport-source-row { grid-template-columns: 1fr; }
  .pool-popover { width: min(440px,72vw); }
  .subscription-cards { grid-template-columns: 1fr; }
  .subscription-heading > span { display: none; }
  .import-panel form { display: block; }
  .import-panel .import-field input { margin-bottom: 14px; }
  .import-panel form .primary-button { width: 100%; }
}
@media (max-width: 900px) {
  .sidebar {
    flex-basis: 78px;
  }
  .brand {
    padding-left: 22px;
  }
  .brand > span:last-child,
  .nav-link span {
    display: none;
  }
  .navigation {
    padding-left: 9px;
    padding-right: 9px;
  }
  .nav-link {
    justify-content: center;
    padding: 0;
  }
  .main-content {
    padding: 25px 18px;
  }
  .topbar {
    padding-right: 18px;
  }
}
.import-panel .helper {
  margin: 5px 0 24px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.accounts-panel {
  padding: 22px;
}
.accounts-toolbar,
.accounts-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.accounts-toolbar h2 {
  margin: 0;
}
.special-uid {
  color: #9d2933;
  font-weight: 700;
}
.record-tabs {
  display: flex;
  gap: 10px;
}
.record-tabs .active {
  border-color: #087e8b;
  color: #087e8b;
  background: #e8f7f8;
}
#invite-dialog select {
  display: block;
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cddded;
  border-radius: 7px;
  background: #fff;
}
.account-create-tabs { margin: 18px 0 12px; }
.created-account dl { background: #f7fbff; border: 1px solid #d7e4f2; border-radius: 9px; padding: 14px; display: grid; grid-template-columns: 70px 1fr; gap: 9px; }
.created-account dd { margin: 0; overflow-wrap: anywhere; font-weight: 700; }
.created-account > div { display: flex; justify-content: flex-end; gap: 9px; }
.accounts-toolbar form,
.accounts-pagination > div {
  display: flex;
  gap: 9px;
}
.accounts-toolbar input {
  min-width: 300px;
  height: 42px;
  border: 1px solid #cddded;
  border-radius: 7px;
  padding: 0 12px;
}
.accounts-table-frame {
  margin-top: 20px;
  height: auto;
  min-height: 140px;
}
.accounts-table-frame th:nth-child(3),
.accounts-table-frame td:nth-child(3) {
  min-width: 120px;
}
.accounts-table-frame th:nth-child(6),
.accounts-table-frame td:nth-child(6) {
  min-width: 100px;
}
.mfa-qr {
  width: 196px;
  height: 196px;
  margin: 16px auto;
  border: 8px solid #fff;
  box-shadow: 0 0 0 1px #d7e4f2;
}
.mfa-qr svg {
  width: 100%;
  height: 100%;
  fill: #152b40;
  stroke: none;
}
#mfa-secret {
  display: block;
  padding: 10px;
  margin: -10px 0 16px;
  border-radius: 6px;
  background: #f2f7fa;
  overflow-wrap: anywhere;
  user-select: all;
}
.mfa-secret-row { display: flex; align-items: start; gap: 8px; }
.mfa-secret-row #mfa-secret { flex: 1; min-width: 0; margin-top: 0; }
.mfa-secret-row #mfa-copy { flex: none; }
#mfa-back {
  width: 100%;
  margin-top: 10px;
}
.account-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 22px 0 14px;
}
.danger-button {
  border-color: #e8b8b2;
  color: #b0443d;
}
#recovery-codes {
  padding: 14px;
  background: #f2f7fa;
  border-radius: 7px;
  max-height: 180px;
  overflow: auto;
  user-select: all;
}
.password-form label,
.password-form input {
  display: block;
  width: 100%;
  margin: 10px 0;
}
.password-form input {
  height: 42px;
  padding: 0 12px;
  border: 1px solid #cddded;
  border-radius: 7px;
}
.password-form > div {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 18px;
}
.accounts-pagination {
  margin-top: 18px;
  color: #60718d;
}
@media (max-width: 1150px) {
  .accounts-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}
