:root {
  --ink: #ffffff;
  --muted: #bdc4dc;
  --line: rgb(255 255 255 / 18%);
  --surface: rgb(10 15 78 / 76%);
  --surface-strong: #0b105d;
  --canvas: #000050;
  --brand: #16c8ff;
  --brand-dark: #0097dc;
  --accent: #bdff00;
  --good: #67e8b2;
  --warn: #ffe37a;
  --bad: #ff8a9d;
  --shadow: 0 24px 70px rgb(0 0 22 / 35%);
  font-family: "Quicksand", "Trebuchet MS", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
button,
input[type="button"],
input[type="submit"],
input[type="reset"] { border-radius: 0; }
input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="url"],
input[type="number"],
textarea { border-radius: 0; }
html { min-height: 100%; background: #00002b; }
body { position: relative; min-height: 100vh; margin: 0; color: var(--ink); background: radial-gradient(circle at 48% 4%, rgb(46 50 147 / 58%) 0, transparent 36rem), linear-gradient(180deg, #09098c 0%, #02035f 42%, #000023 100%); background-attachment: fixed; line-height: 1.55; }
body::before { position: fixed; z-index: -1; inset: 7rem auto auto 23%; width: min(40vw, 34rem); aspect-ratio: 1; border: clamp(3rem, 7vw, 6rem) solid rgb(255 255 255 / 4%); border-radius: 50%; content: ""; transform: rotate(-24deg); pointer-events: none; }
.site-header { min-height: 76px; padding: 0 5vw; display: flex; align-items: center; justify-content: space-between; background: transparent; }
.brand { display: flex; gap: 12px; align-items: center; color: var(--ink); text-decoration: none; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 8px 18px rgb(0 0 0 / 28%)); }
.brand-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; }
.subscriber-name { font-family: "Poppins", "Trebuchet MS", sans-serif; font-size: 1rem; }
.application-name { color: var(--muted); font-size: .76rem; letter-spacing: .04em; }
.environment { color: var(--muted); font-size: .875rem; }
.account-menu { display: flex; align-items: center; gap: 14px; color: var(--muted); font-size: .9rem; }
.account-menu form { margin: 0; }
.header-link { position: relative; color: var(--ink); font-weight: 700; text-decoration: none; }
.header-link:hover, .header-link:focus { color: var(--brand); text-decoration: none; }
.header-link::after { position: absolute; right: 0; bottom: -8px; left: 0; height: 2px; background: var(--accent); content: ""; opacity: 0; transform: scaleX(.35); transition: .2s ease; }
.header-link:hover::after, .header-link:focus::after { opacity: 1; transform: scaleX(1); }
.header-menu { position: relative; margin: 0; padding: 0; border: 0; }
.header-menu > summary { list-style: none; }
.header-menu > summary { display: inline-flex; align-items: center; gap: 5px; }
.header-menu > summary::-webkit-details-marker { display: none; }
.menu-caret { color: var(--brand); font-size: .72rem; transition: transform .16s ease; }
.header-menu[open] .menu-caret { transform: rotate(180deg); }
.header-submenu { position: absolute; z-index: 20; top: calc(100% + 12px); left: 50%; display: grid; min-width: 230px; padding: 8px; border: 1px solid var(--line); background: #02035f; box-shadow: 0 16px 40px rgb(0 0 20 / 42%); transform: translateX(-50%); }
.header-submenu a { padding: 11px 12px; color: var(--ink); font-weight: 700; text-decoration: none; white-space: nowrap; }
.header-submenu a:hover, .header-submenu a:focus { color: #00113c; background: var(--brand); }
.link-button { padding: 8px 14px; border: 0; border-radius: 0; color: var(--ink); background: rgb(255 255 255 / 5%); box-shadow: inset 0 0 0 1px var(--line); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; }
.page-shell { width: min(1160px, 90vw); margin: 0 auto; padding: 54px 0 70px; }
.metric-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-bottom: 28px; }
.metric-card { display: grid; min-height: 130px; padding: 20px; align-content: space-between; border: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.metric-card span { color: var(--muted); }
.metric-card strong { font-size: 1.7rem; }
.metric-card:hover { border-color: var(--brand); }
.scope-label { color: var(--muted); }
.overview-section { margin-top: 24px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.detail-grid dl { display: grid; grid-template-columns: minmax(120px, .4fr) 1fr; gap: 10px 16px; }
.detail-grid dt { color: var(--muted); }
.detail-grid dd { margin: 0; }
.scope-chip { display: block; margin-bottom: 5px; }
.table-card input:not([type="hidden"]), .table-card textarea, .console-filters input, .console-filters select { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgb(255 255 255 / 42%); border-radius: 0; color: var(--ink); background: rgb(0 0 32 / 38%); font: inherit; }
.console-filters input:focus, .console-filters select:focus, .table-card input:focus, .table-card textarea:focus { outline: 3px solid rgb(21 87 176 / 18%); border-color: var(--brand); }
.hero { max-width: 760px; margin-bottom: 54px; }
.eyebrow { margin: 0 0 10px; color: var(--accent); font-weight: 700; font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3 { font-family: "Poppins", "Trebuchet MS", sans-serif; line-height: 1.12; margin-top: 0; }
h1 { margin-bottom: 16px; font-size: clamp(1.55rem, 2.5vw, 2rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); }
h3 { font-size: 1.05rem; }
.hero > p:last-child, .section-heading > p, .service-card > p, .next-step > p:last-child { color: var(--muted); }
.section-heading { display: flex; justify-content: space-between; gap: 30px; align-items: end; margin-bottom: 22px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; margin: 0; }
.service-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.service-card { min-height: 190px; padding: 24px; background: transparent; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
.service-title { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.service-title h3 { margin-bottom: 0; font-size: 1.05rem; }
.status { padding: 5px 10px; border-radius: 999px; font-size: .73rem; font-weight: 800; text-transform: uppercase; }
.status-available { color: #001f18; background: var(--good); }
.status-degraded { color: #352900; background: var(--warn); }
.status-unavailable { color: #3b0010; background: var(--bad); }
.status-not-configured { color: var(--ink); background: rgb(255 255 255 / 14%); }
.status-pending { color: #352900; background: var(--warn); }
details { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
summary { cursor: pointer; font-weight: 650; }
details ul { padding-left: 20px; color: var(--muted); }
.next-step { margin-top: 54px; padding-top: 36px; border-top: 1px solid var(--line); max-width: 760px; }
.site-footer { padding: 24px 5vw; color: var(--muted); background: transparent; font-size: .8rem; text-align: center; }
.footer-links { display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; }
.footer-links form { margin: 0; }
.footer-links a { color: var(--ink); font-weight: 700; text-decoration: none; }
.footer-links a:hover, .footer-links a:focus { color: var(--brand-dark); text-decoration: underline; }
.footer-links-secondary { margin-top: 10px; gap: 14px; font-size: .7rem; }
.footer-links-secondary span { color: var(--muted); }
.footer-link-button { padding: 0; border: 0; color: var(--ink); background: transparent; font: inherit; font-weight: 700; cursor: pointer; }
.footer-link-button:hover, .footer-link-button:focus { color: var(--brand-dark); text-decoration: underline; }
.site-footer p { margin: 18px 0 0; }
.login-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(330px, .8fr); align-items: center; gap: clamp(40px, 8vw, 110px); min-height: calc(100vh - 220px); }
.login-intro { max-width: 650px; }
.login-intro p:last-child { max-width: 560px; color: var(--muted); font-size: 1.05rem; }
.login-card { position: relative; top: -24px; padding: clamp(26px, 4vw, 42px); border: 1px solid var(--line); border-radius: 18px; background: transparent; box-shadow: none; }
.login-card h2 { margin-bottom: 8px; }
.login-supporting, .privacy-note { color: var(--muted); }
.login-redirect { display: flex; width: min(680px, 100%); min-height: calc(100vh - 220px); margin: 0 auto; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.login-redirect h1 { margin-bottom: 14px; }
.login-redirect .login-supporting { margin: 0; font-size: 1.05rem; }
.redirecting-message { margin: 30px 0 12px; font-weight: 700; }
.redirecting-line { width: min(360px, 80vw); height: 3px; overflow: hidden; border-radius: 999px; background: linear-gradient(90deg, #ff3158, #ffdc32, #50f078, #16c8ff, #8f62ff, #ff3158); background-size: 300% 100%; box-shadow: 0 0 14px rgb(22 200 255 / 45%); animation: redirect-rgb 1.6s linear infinite; }
.redirect-fallback { margin-top: 18px; color: var(--muted); font-size: .85rem; }
.redirect-fallback a { color: var(--ink); font-weight: 700; }
@keyframes redirect-rgb { to { background-position: 300% 0; } }
@media (prefers-reduced-motion: reduce) { .redirecting-line { animation: none; } }
.login-form { display: grid; gap: 10px; margin-top: 24px; }
.login-form label { margin-top: 8px; font-weight: 700; font-size: .9rem; }
.login-form input:not([type="hidden"]) { width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid rgb(255 255 255 / 42%); border-radius: 0; color: var(--ink); background: rgb(0 0 32 / 38%); font: inherit; }
.login-form input:focus { outline: 3px solid rgb(21 87 176 / 18%); border-color: var(--brand); }
.primary-button { width: fit-content; min-height: 48px; margin-top: 18px; padding-inline: 20px; border: 0; border-radius: 0; color: #00113c; background: linear-gradient(90deg, var(--brand), #68e5ff); background-clip: padding-box; box-shadow: inset 0 0 0 1px rgb(255 255 255 / 25%), 0 10px 30px rgb(22 200 255 / 20%); font: inherit; font-weight: 700; cursor: pointer; }
.primary-button:hover { background: linear-gradient(90deg, #65e5ff, var(--brand)); transform: translateY(-1px); }
.form-error { margin: 18px 0 4px; padding: 12px 14px; border: 1px solid rgb(255 138 157 / 30%); border-radius: 12px; color: #ffd7de; background: rgb(120 0 35 / 32%); }
.form-notice { margin: 18px 0 4px; padding: 12px 14px; border: 1px solid rgb(103 232 178 / 30%); border-radius: 12px; color: #c9ffe8; background: rgb(0 91 66 / 32%); }
.flash-region:empty { display: none; }
.privacy-note { margin: 20px 0 0; font-size: .8rem; }
.auth-link { margin: 18px 0 0; text-align: right; }
.auth-link a { color: var(--ink); font-weight: 700; }
.form-error ul { margin: 0; padding-left: 20px; }
.compact-hero { margin-bottom: 32px; }
.eiam-tabs { display: flex; gap: 4px; margin-bottom: 30px; border-bottom: 1px solid var(--line); }
.eiam-tab { position: relative; padding: 12px 18px; color: var(--muted); font-weight: 700; text-decoration: none; }
.eiam-tab:hover, .eiam-tab:focus { color: var(--ink); }
.eiam-tab.active { color: var(--brand); }
.eiam-tab.active::after { position: absolute; right: 0; bottom: -1px; left: 0; height: 3px; background: var(--brand); content: ""; }
.table-card { padding: 28px; background: transparent; border: 1px solid var(--line); border-radius: 16px; box-shadow: none; }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
.users-table { table-layout: fixed; }
.users-table th, .users-table td { width: 25%; }
.user-name-link { margin: 0; padding: 0; border: 0; color: var(--brand); background: transparent; font: inherit; font-weight: 700; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.user-name-link:hover, .user-name-link:focus { color: var(--ink); }
th, td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.users-table thead th { border-bottom: 0; }
.users-table tbody td:last-child { border-bottom: 0; }
th { color: var(--brand); font-size: .75rem; letter-spacing: .09em; text-transform: uppercase; }
tbody tr { transition: background .16s ease; }
tbody tr:hover { background: rgb(255 255 255 / 4%); }
tbody tr:last-child td { border-bottom: 0; }
.empty-state { margin: 0; padding: 30px 0; color: var(--muted); text-align: center; }
.pagination { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 24px; color: var(--muted); }
.pagination .secondary-button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.pagination .disabled { cursor: not-allowed; opacity: .48; }
.upload-form input:not([type="hidden"]), .upload-form select { width: 100%; min-height: 44px; padding: 9px 12px; border: 1px solid rgb(255 255 255 / 35%); border-radius: 0; color: var(--ink); background: rgb(0 0 35 / 44%); font: inherit; }
.upload-form select { padding-right: 38px; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--brand) 50%), linear-gradient(135deg, var(--brand) 50%, transparent 50%); background-position: calc(100% - 17px) 18px, calc(100% - 11px) 18px; background-size: 6px 6px, 6px 6px; background-repeat: no-repeat; cursor: pointer; }
.upload-form select option { color: var(--ink); background: #05055f; }
.upload-form select:disabled { cursor: not-allowed; opacity: .55; }
.upload-form input[type="file"]::file-selector-button { margin-right: 12px; padding: 7px 11px; border: 0; border-radius: 0; color: #00113c; background: var(--brand); font: inherit; font-weight: 700; }
.secondary-button, .danger-button { width: fit-content; min-height: 42px; padding: 8px 14px; border: 0; border-radius: 0; color: var(--brand); background: rgb(0 0 35 / 28%); background-clip: padding-box; box-shadow: inset 0 0 0 1px var(--brand); font: inherit; font-weight: 700; cursor: pointer; }
.secondary-button:hover { color: #00113c; background: var(--brand); }
.danger-button { color: var(--bad); box-shadow: inset 0 0 0 1px var(--bad); }
.danger-button:hover { color: white; background: var(--bad); }
.deletion-date { display: block; margin-top: 6px; color: var(--warn); }
.muted-copy { color: var(--muted); font-size: .82rem; }
.device-details { display: grid; gap: 4px; margin: 0; font-size: .82rem; }
.device-details > div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.device-details dt { font-weight: 700; }
.device-details dd { margin: 0; }
.device-platform { display: grid; gap: 3px; margin-top: 8px; color: var(--muted); font-size: .82rem; }
.sensitive-value { display: inline-block; min-width: 78px; vertical-align: middle; }
.reveal-value-button { width: 30px; height: 30px; margin-left: 4px; padding: 5px; border: 0; border-radius: 50%; color: var(--brand); background: transparent; vertical-align: middle; cursor: pointer; }
.reveal-value-button:hover, .reveal-value-button:focus-visible { background: rgb(22 200 255 / 14%); }
.reveal-value-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.reveal-value-button[aria-pressed="true"] svg { opacity: .6; }
.account-control { position: relative; min-width: 190px; margin-bottom: 8px; }
.account-control > summary { display: inline-flex; align-items: center; list-style: none; user-select: none; }
.account-control > summary::-webkit-details-marker { display: none; }
.account-control[open] > form { display: grid; gap: 10px; width: min(320px, 70vw); margin-top: 10px; padding: 14px; border: 1px solid var(--line); background: #02035f; box-shadow: 0 14px 35px rgb(0 0 20 / 35%); }
.account-control textarea { width: 100%; resize: vertical; }
.external-user-actions { display: flex; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.external-user-actions .account-control { min-width: 0; margin: 0; padding-top: 0; border-top: 0; }
.activation-control form .secondary-button,
.deletion-control form .danger-button { justify-self: end; }
.document-hero { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: none; }
.upload-trigger { flex: 0 0 auto; margin-bottom: 8px; padding: 0 22px; }
.upload-dialog { width: min(760px, 92vw); padding: 0; border: 1px solid rgb(255 255 255 / 28%); border-radius: 18px; color: var(--ink); background: radial-gradient(circle at 50% 0%, rgb(46 50 147 / 58%) 0, transparent 28rem), linear-gradient(180deg, #09098c 0%, #02035f 48%, #000023 100%); box-shadow: 0 28px 90px rgb(0 0 20 / 58%); }
.upload-dialog::backdrop { background: rgb(0 20 112 / 38%); backdrop-filter: blur(9px); }
.upload-form { padding: 30px; }
.dialog-heading { display: flex; align-items: start; justify-content: space-between; gap: 20px; }
.dialog-heading h2 { margin-bottom: 8px; }
.dialog-heading p:last-child { margin: 0 0 22px; color: var(--muted); }
.dialog-close { border: 0; color: var(--ink); background: transparent; font-size: 1.8rem; cursor: pointer; }
.upload-fields { margin: 0; padding: 0; border: 0; transition: opacity .2s ease; }
.upload-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.upload-form.is-uploading .upload-fields { opacity: .48; }
.upload-form.is-uploading { cursor: wait; }
.field { display: grid; gap: 7px; }
.field label { font-weight: 700; font-size: .9rem; }
.field .checkbox-label { display: inline-flex; align-items: center; gap: 8px; justify-self: start; }
.upload-form input[type="checkbox"] { width: auto; min-height: 0; margin: 0; padding: 0; }
.field-wide { grid-column: 1 / -1; }
.upload-form .primary-button { padding: 0 18px; }
.device-message-dialog { width: min(620px, 92vw); }
.device-message-dialog textarea { width: 100%; min-height: 120px; padding: 10px 14px; border: 1px solid rgb(255 255 255 / 42%); color: var(--ink); background: rgb(0 0 32 / 38%); font: inherit; resize: vertical; }
.device-message-dialog form[data-busy="true"] { cursor: wait; opacity: .75; }
.dialog-actions { display: flex; justify-content: end; gap: 10px; margin-top: 22px; }
.dialog-actions button { min-height: 42px; margin-top: 0; }
.external-user-form { padding: 30px; }
.user-details-dialog { width: min(860px, 94vw); }
.user-details-content { padding: 42px; }
.deletion-confirmation-dialog textarea { width: 100%; min-height: 110px; padding: 10px 14px; border: 1px solid rgb(255 255 255 / 42%); border-radius: 0; color: var(--ink); background: rgb(0 0 32 / 38%); font: inherit; resize: vertical; }
.user-details-dialog .dialog-actions a { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }
.external-user-form > p { color: var(--muted); }
.selected-user-details { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 24px 0; padding: 18px; border: 1px solid var(--line); }
.selected-user-details dt { color: var(--brand); font-weight: 700; }
.selected-user-details dd { margin: 0; overflow-wrap: anywhere; }
.pending-invitation-action { margin-top: 10px; }
.pending-invitation-action + .muted-copy, .status-pending + .muted-copy { display: block; margin-top: 7px; }
.upload-progress { margin-top: 22px; }
.upload-progress > div { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 8px; }
.upload-progress progress, .document-table progress { width: 100%; accent-color: var(--brand); }
.upload-tracker { margin: 0 0 24px; padding: 18px 22px; border: 1px solid var(--line); border-radius: 14px; background: transparent; box-shadow: none; }
.upload-tracker > div { display: flex; justify-content: space-between; gap: 16px; margin: 8px 0; }
.upload-tracker > div:first-child { margin-top: 0; }
.upload-tracker progress { width: 100%; accent-color: var(--brand); }
.upload-error { margin-top: 18px; }
.document-list { display: grid; }
.document-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.document-row:first-child { padding-top: 0; }
.document-row:last-child { padding-bottom: 0; border-bottom: 0; }
.document-summary > div { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.document-summary h3 { margin: 0; font-size: 1.05rem; overflow-wrap: anywhere; }
.document-summary p { margin: 7px 0 0; color: var(--muted); }
.document-summary .inline-error { color: var(--bad); }
.document-actions { display: flex; align-content: start; justify-content: end; gap: 8px; flex-wrap: wrap; max-width: 420px; }
.document-actions form { margin: 0; }
.heading-actions { display: flex; align-items: center; gap: 14px; color: var(--muted); }
.heading-actions .secondary-button { display: inline-flex; align-items: center; text-decoration: none; }
.document-table { min-width: 990px; }
.document-table th, .document-table td { padding: 13px 12px; }
.document-table td { min-width: 130px; }
.document-table td:first-child { min-width: 250px; }
.document-table td:last-child { min-width: 260px; }
.document-table small { display: block; margin-top: 6px; color: var(--muted); }
.document-table .inline-error { color: var(--bad); }
.table-actions { justify-content: start; max-width: none; }
.table-actions .secondary-button { display: inline-flex; align-items: center; text-decoration: none; }
button:disabled { cursor: not-allowed; opacity: .48; }
[aria-busy="true"] { cursor: wait; }
.status-ready { color: #001f18; background: var(--good); }
.status-failed, .status-rejected { color: #3b0010; background: var(--bad); }
.status-needs-review, .status-awaiting-review, .status-awaiting-user-review, .status-awaiting-index-confirmation { color: #352900; background: var(--warn); }
.diagnostics-card { margin-top: 24px; }
.diagnostic-log { max-height: 360px; margin: 0; padding: 18px; overflow: auto; border: 1px solid var(--line); border-radius: 9px; color: #dce7f7; background: transparent; font: .82rem/1.55 ui-monospace, SFMono-Regular, Consolas, monospace; white-space: pre-wrap; overflow-wrap: anywhere; }
.console-hero { display: flex; align-items: end; justify-content: space-between; gap: 30px; max-width: none; }
.console-hero > div:first-child { max-width: 760px; }
.console-actions { display: flex; gap: 10px; flex: 0 0 auto; }
.console-actions .primary-button { min-height: 42px; margin-top: 0; }
.console-feedback { margin-bottom: 20px; }
.console-filters { display: flex; align-items: end; gap: 14px; margin-bottom: 22px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 14px; }
.console-filters .field { min-width: 180px; }
.filter-panel { margin: 0 0 22px; padding: 0; border: 1px solid var(--line); border-radius: 14px; }
.filter-panel > summary { padding: 16px 20px; color: var(--brand); list-style: none; }
.filter-panel > summary::-webkit-details-marker { display: none; }
.filter-panel > summary::after { float: right; content: "+"; }
.filter-panel[open] > summary::after { content: "−"; }
.filter-panel .console-filters { margin: 0; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.document-filters { flex-wrap: wrap; }
.document-filters .user-query { flex: 1 1 300px; }
.document-filters .external-user-query { flex: 1 1 460px; }
.document-filters .secondary-button { min-height: 42px; }
.filter-actions { display: flex; align-items: center; gap: 14px; }
.external-filter-actions { flex: 1 0 100%; }
.console-filters select { padding-right: 36px; }
.console-clear { display: inline-flex; align-items: center; justify-content: center; align-self: center; margin-left: auto; color: var(--brand); font-weight: 700; text-decoration: none; }
.document-filters > .console-clear, .filter-actions .console-clear { margin-left: 0; }
.console-table { min-width: 960px; }
.console-table td { font-size: .82rem; }
.console-table code { color: var(--muted); }
.log-level { font-weight: 800; }
.log-level-info { color: var(--good); }
.log-level-warn { color: var(--warn); }
.log-level-error { color: var(--bad); }
.copy-icon-button { display: inline-flex; width: 38px; height: 38px; padding: 7px; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 0; background: rgb(255 255 255 / 6%); cursor: pointer; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.copy-icon-button img { display: block; width: 22px; height: 22px; object-fit: contain; }
.copy-icon-button:hover { border-color: var(--brand); background: rgb(22 200 255 / 12%); transform: translateY(-1px); }
.copy-log-button { width: 44px; height: 42px; }
.console-export { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: pre; }
.team-metrics { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.team-section { margin-top: 24px; }
.team-search { flex-wrap: wrap; }
.team-search .team-query { flex: 1 1 320px; }
.team-search select { min-height: 48px; padding: 10px 36px 10px 14px; border: 1px solid rgb(255 255 255 / 42%); color: var(--ink); background: rgb(0 0 32 / 38%); font: inherit; }
.team-table small { display: block; color: var(--muted); }
.team-table input[type="checkbox"] { width: 20px; min-height: 20px; accent-color: var(--brand); }
.team-submit { display: flex; margin-top: 22px; align-items: center; justify-content: space-between; gap: 20px; }
.team-submit .primary-button { margin-top: 0; }
.team-checkbox { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; }
.team-checkbox input { width: 20px; height: 20px; accent-color: var(--brand); }
.team-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.team-actions form { margin: 0; }
.generated-license { border-color: var(--brand); }
.license-generation-form { display: grid; }
.license-download-form { display: grid; gap: 18px; }
.license-download-form select { min-height: 48px; padding: 10px 36px 10px 14px; border: 1px solid rgb(255 255 255 / 42%); border-radius: 0; color: var(--ink); background: rgb(0 0 32 / 38%); font: inherit; }
.license-subscription-select { width: 100%; }
.license-expiration-row { display: flex; gap: 12px; align-items: stretch; }
.license-download-form .license-expiration-select { width: 10rem; }
.license-expiration-row .primary-button { margin-top: 0; }
.batch-code { display: inline-block; max-width: 14rem; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; white-space: nowrap; }
.license-subscription-field { width: min(100%, 760px); }
.license-generation-row { display: flex; gap: 12px; align-items: stretch; }
.license-generation-row select, .license-generation-row input { flex: 1 1 420px; min-width: 0; min-height: 48px; padding: 10px 36px 10px 14px; border: 1px solid rgb(255 255 255 / 42%); border-radius: 0; color: var(--ink); background: rgb(0 0 32 / 38%); font: inherit; }
.license-generation-row .primary-button { flex: 0 0 auto; margin-top: 0; }
.team-actions button { min-height: 36px; padding: 6px 10px; }
.team-status { display: inline-block; }
.status-active { color: #001f18; background: var(--good); }
.status-pending-invitation, .status-pending { color: #352900; background: var(--warn); }
.status-declined, .status-expired, .status-cancelled { color: var(--ink); background: rgb(255 255 255 / 14%); }

input::placeholder, textarea::placeholder { color: #aeb6d4; }
input:focus, select:focus, button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgb(22 200 255 / 28%); outline-offset: 3px; }
a { color: var(--ink); }

.help-hero { max-width: 850px; }
.help-section + .help-section { margin-top: 46px; }
.help-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.help-card { display: flex; min-height: 220px; padding: 24px; border: 1px solid var(--line); border-radius: 16px; flex-direction: column; color: var(--ink); text-decoration: none; transition: border-color .16s ease, background .16s ease, transform .16s ease; }
.help-card:hover { border-color: var(--brand); background: rgb(22 200 255 / 7%); transform: translateY(-2px); }
.help-code { color: var(--brand); font-size: .78rem; font-weight: 800; letter-spacing: .1em; }
.help-card h3 { margin: 13px 0 8px; font-size: 1.08rem; }
.help-card p { margin: 0 0 20px; color: var(--muted); }
.help-card-action { margin-top: auto; color: var(--brand); font-weight: 800; }
.help-breadcrumbs { display: flex; gap: 9px; margin-bottom: 30px; color: var(--muted); font-size: .9rem; }
.help-breadcrumbs a { color: var(--brand); }
.help-article { max-width: 860px; }
.help-article-header { margin-bottom: 34px; }
.help-content { font-size: 1rem; line-height: 1.72; }
.help-content h2 { margin: 38px 0 12px; }
.help-content h3 { margin: 28px 0 10px; }
.help-content p { margin: 0 0 16px; color: #edf3ff; }
.help-content li { margin-bottom: 9px; padding-left: 4px; }
.help-content ul, .help-content ol { margin: 0 0 20px; padding-left: 26px; }
.help-content strong { color: white; }
.help-content code { color: var(--brand); }
.help-figure { margin: 28px 0 34px; }
.help-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--line); border-radius: 12px; }
.help-figure figcaption { margin-top: 10px; color: var(--muted); font-size: .82rem; }
.help-pagination { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 18px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); }
.help-pagination > :last-child { justify-self: end; }
.help-pagination > a:not(.secondary-button) { color: var(--brand); font-weight: 800; }

@media (max-width: 720px) {
  .license-generation-row { align-items: stretch; flex-direction: column; }
  .license-generation-row select, .license-generation-row input { flex-basis: auto; width: 100%; }
  .metric-grid, .detail-grid, .team-metrics { grid-template-columns: 1fr; }
  .site-header { min-height: auto; padding-top: 12px; padding-bottom: 12px; align-items: flex-start; gap: 12px; }
  .brand-copy { max-width: 210px; gap: 1px; }
  .subscriber-name { font-size: .88rem; }
  .application-name { font-size: .72rem; }
  .brand-logo { width: 42px; height: 42px; }
  .environment { display: none; }
  .page-shell { padding-top: 38px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 12px; }
  .service-grid { grid-template-columns: 1fr; }
  .help-grid { grid-template-columns: 1fr; }
  .help-pagination { grid-template-columns: 1fr; justify-items: stretch; }
  .help-pagination > * { justify-self: stretch; text-align: center; }
  .help-pagination > :last-child { justify-self: stretch; }
  .login-layout { grid-template-columns: 1fr; min-height: auto; }
  .login-card { top: 0; }
  .account-menu > span { display: none; }
  .account-menu { justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
  .header-link { font-size: .8rem; }
  .document-hero { display: block; }
  .console-hero { display: block; }
  .console-actions { margin-top: 18px; flex-wrap: wrap; }
  .console-filters { align-items: stretch; flex-direction: column; }
  .console-filters .field { min-width: 0; }
  .user-details-content { padding: 28px 22px; }
  .upload-trigger { margin-top: 18px; }
  .upload-grid, .document-row { grid-template-columns: 1fr; }
  .document-actions { justify-content: start; max-width: none; }
  .table-card { padding: 20px 16px; border-radius: 12px; }
  .dialog-actions { flex-direction: column-reverse; }
  .document-table th, .document-table td { padding: 11px 10px; }
  .pagination { justify-content: space-between; gap: 8px; }
  .team-submit { align-items: stretch; flex-direction: column; }
}

@media (max-width: 460px) {
  .site-header { display: block; }
  .account-menu { margin-top: 12px; justify-content: flex-start; }
  .page-shell { width: min(94vw, 1160px); }
  h1 { font-size: 1.55rem; }
  .upload-form { padding: 22px 18px; }
}

