:root {
  --ink: #182321; --muted: #66736f; --canvas: #f3f6f4; --surface: #fff; --line: #dbe2de;
  --rail: #111a18; --rail-soft: #1b2926; --green: #087d62; --green-dark: #06634e; --green-soft: #e5f2ed;
  --blue: #326ea1; --amber: #a66d16; --red: #b34242; --shadow: 0 8px 24px rgba(18,39,33,.06);
}
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; background: var(--canvas); color: var(--ink); font-family: "Segoe UI", "Microsoft YaHei UI", sans-serif; letter-spacing: 0; }
button, input, select, textarea { font: inherit; letter-spacing: 0; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.kicker { margin: 0 0 5px; color: var(--green); font: 700 11px/1.2 Bahnschrift, "Segoe UI", sans-serif; }
.muted { color: var(--muted); }
.brand-lockup { display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid #627a73; color: #f5fffc; font: 700 15px Bahnschrift, sans-serif; }
.brand-lockup strong, .brand-lockup small { display: block; }.brand-lockup strong { font-size: 22px; }.brand-lockup small { margin-top: 2px; color: #72c8ac; font-size: 10px; font-weight: 700; }
.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, .9fr) minmax(460px, 1.1fr); background: #fff; }
.login-brand { display: grid; place-items: center; background: var(--rail); color: #f1f7f5; padding: 48px; }
.login-brand-inner { width: min(500px, 100%); }.login-brand h1 { margin: 90px 0 14px; max-width: 450px; font-size: 42px; line-height: 1.16; font-weight: 650; }.login-brand p { color: #9fb0aa; font-size: 17px; }
.login-signals { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 80px 0 0; background: #35443f; }
.login-signals div { background: var(--rail); padding: 18px 12px 16px; }.login-signals dt { color: #73d0b0; font: 650 18px Bahnschrift, sans-serif; }.login-signals dd { margin: 5px 0 0; color: #8fa29b; font-size: 11px; }
.login-panel { display: grid; place-items: center; padding: 40px; }.login-form { width: min(390px, 100%); }.login-form h2 { margin: 0; font-size: 29px; }.login-form > .muted { margin: 9px 0 30px; font-size: 14px; }.login-form .field { margin-bottom: 17px; }.mobile-brand { display: none; }
.form-error { min-height: 20px; margin: 0 0 10px; color: var(--red); font-size: 13px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 238px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; background: var(--rail); color: white; padding: 24px 14px 18px; z-index: 20; }
.sidebar-brand { padding: 0 10px 20px; }.nav-list { display: grid; gap: 2px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #3c4d47 transparent; }.nav-group { margin: 13px 13px 5px; color: #61766e; font-size: 9px; font-weight: 700; text-transform: uppercase; }.nav-item { min-height: 41px; display: grid; grid-template-columns: 28px minmax(0,1fr) auto; align-items: center; gap: 10px; border: 0; border-left: 3px solid transparent; padding: 0 13px; background: transparent; color: #becbc7; text-align: left; }
.nav-item i, .icon-button, .search i, .notice i { font-family: "Segoe Fluent Icons", "Segoe MDL2 Assets"; font-style: normal; }.nav-item i { font-size: 16px; }.nav-item b { min-width: 22px; border-radius: 10px; padding: 2px 6px; background: #293a35; color: #88cbb4; font-size: 10px; text-align: center; }
.nav-item:hover { background: var(--rail-soft); color: white; }.nav-item.active { border-left-color: #55c89f; background: #20312c; color: white; }
.sidebar-health { margin-top: auto; display: flex; align-items: center; gap: 10px; border-top: 1px solid #2b3a36; padding: 17px 10px 0; }.sidebar-health strong, .sidebar-health small { display: block; }.sidebar-health strong { color: #81c9b0; font-size: 10px; }.sidebar-health small { margin-top: 3px; color: #758b83; font-size: 10px; }
.live-dot { width: 8px; height: 8px; flex: 0 0 auto; border-radius: 50%; background: #54c889; box-shadow: 0 0 0 4px rgba(84,200,137,.12); }.live-dot.off { background: var(--red); box-shadow: 0 0 0 4px rgba(179,66,66,.12); }
.main-area { min-width: 0; }.topbar { height: 88px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--line); background: #fff; padding: 16px 30px; position: sticky; top: 0; z-index: 10; }.page-heading { min-width: 175px; }.page-heading h1 { margin: 0; font-size: 22px; font-weight: 650; }.top-actions { margin-left: auto; display: flex; align-items: center; gap: 9px; }.search { width: min(240px, 20vw); min-height: 40px; display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #f8faf9; padding: 0 11px; }.search i { color: var(--muted); }.search input { min-height: 36px; border: 0; background: transparent; padding: 0; }.search input:focus { box-shadow: none; }.connection { min-height: 40px; display: flex; align-items: center; gap: 9px; border: 1px solid #d9e8e2; background: #f2f8f5; padding: 0 12px; color: var(--green-dark); font-size: 12px; }.menu-button { display: none; }.user-pill { min-height: 40px; display: flex; align-items: center; gap: 9px; padding: 0 7px; }.user-pill > span { width: 28px; height: 28px; display: grid; place-items: center; background: var(--rail); color: white; font-size: 11px; font-weight: 700; }.user-pill b, .user-pill small { display: block; }.user-pill b { font-size: 11px; }.user-pill small { color: var(--muted); font-size: 9px; }
.workspace { width: min(1540px, 100%); margin: 0 auto; padding: 28px 30px 56px; }.view { display: none; }.view.active { display: block; }.section-head { min-height: 57px; display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; margin-bottom: 16px; }.section-head.compact { min-height: auto; padding: 18px 20px; margin: 0; border-bottom: 1px solid var(--line); }.section-head h2 { margin: 0; font-size: 21px; font-weight: 650; }.section-head p { margin: 5px 0 0; color: var(--muted); font-size: 13px; }.time-label, .page-chip { color: var(--muted); font-size: 12px; }.page-chip { background: var(--green-soft); color: var(--green-dark); padding: 7px 10px; font-weight: 650; }
.section-label { margin: 0 0 8px; color: #6d7b76; font-size: 11px; font-weight: 700; }.metric-strip { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); margin-bottom: 18px; }.metric-strip.six { grid-template-columns: repeat(6,minmax(0,1fr)); }.metric-strip.four { grid-template-columns: repeat(4,minmax(0,1fr)); }.metric { min-height: 108px; padding: 17px 18px; border-right: 1px solid var(--line); }.metric:last-child { border-right: 0; }.metric > span { display: block; color: var(--muted); font-size: 12px; }.metric > strong { display: block; margin: 9px 0 7px; font: 650 26px Bahnschrift, "Segoe UI", sans-serif; }.metric small { color: var(--muted); }.good { color: var(--green) !important; }.bad { color: var(--red) !important; }
.overview-grid { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; margin-bottom: 18px; }.surface, .table-section { border: 1px solid var(--line); background: var(--surface); box-shadow: var(--shadow); }.surface { padding: 20px 22px; }.surface-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }.surface-head h3 { margin: 0; font-size: 17px; }.surface-head > strong { color: var(--green); font: 650 25px Bahnschrift, sans-serif; }.surface-head > span { color: var(--muted); font-size: 12px; }
progress { width: 100%; height: 9px; margin: 28px 0 13px; border: 0; background: #e6ebe8; } progress::-webkit-progress-bar { background: #e6ebe8; } progress::-webkit-progress-value { background: var(--green); } progress::-moz-progress-bar { background: var(--green); }
.health-legend { display: flex; flex-wrap: wrap; gap: 18px; padding-bottom: 19px; border-bottom: 1px solid var(--line); font-size: 12px; }.dot { width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; }.good-bg { background: var(--green); }.dim-bg { background: #9ca7a3; }.bad-bg { background: var(--red); }.policy-list { display: grid; grid-template-columns: repeat(4,1fr); margin: 18px 0 0; }.policy-list div { border-right: 1px solid var(--line); padding: 0 12px; }.policy-list div:first-child { padding-left: 0; }.policy-list div:last-child { border-right: 0; }.policy-list dt { color: var(--muted); font-size: 11px; }.policy-list dd { margin: 6px 0 0; font-size: 13px; font-weight: 650; }
.delivery-lines { margin-top: 22px; }.delivery-lines div { min-height: 48px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #edf0ee; color: var(--muted); font-size: 13px; }.delivery-lines b { color: var(--ink); font: 650 18px Bahnschrift, sans-serif; }
.table-wrap { overflow: auto; }.table-section table { width: 100%; border-collapse: collapse; table-layout: auto; } th { height: 42px; background: #f7f9f8; color: #697671; padding: 0 15px; border-bottom: 1px solid var(--line); text-align: left; font-size: 11px; font-weight: 650; white-space: nowrap; } td { min-height: 52px; padding: 13px 15px; border-bottom: 1px solid #edf0ee; font-size: 12px; vertical-align: middle; } tbody tr:last-child td { border-bottom: 0; } tbody tr:hover { background: #fafcfb; }.cell-title { display: block; font-size: 13px; }.cell-sub { display: block; margin-top: 4px; color: var(--muted); font-size: 10px; }.mono { font-family: Consolas, monospace; }.truncate { max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.empty-row td { height: 130px; color: var(--muted); text-align: center; }.row-actions { display: flex; gap: 7px; }
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; background: #edf1ef; color: #53615c; font-size: 10px; font-weight: 700; white-space: nowrap; }.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #89948f; }.badge.online, .badge.downloaded, .badge.approved { background: #e6f3ed; color: #087157; }.badge.online::before, .badge.downloaded::before, .badge.approved::before { background: var(--green); }.badge.failed, .badge.revoked, .badge.rejected { background: #f8eaea; color: #a13939; }.badge.failed::before, .badge.revoked::before, .badge.rejected::before { background: var(--red); }.badge.downloading { background: #e7f0f7; color: var(--blue); }.badge.downloading::before { background: var(--blue); }.badge.assigned, .badge.pending { background: #f7f0e4; color: var(--amber); }.badge.assigned::before, .badge.pending::before { background: var(--amber); }
.button { min-height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 3px; padding: 0 15px; font-weight: 650; font-size: 12px; }.button.primary { background: var(--green); color: white; }.button.primary:hover { background: var(--green-dark); }.button.ghost { border-color: #cbd4d0; background: #fff; color: var(--ink); }.button.ghost:hover { background: #f1f4f2; }.button.danger { border-color: #e5caca; background: #fff; color: var(--red); }.button.small { min-height: 31px; padding: 0 10px; font-size: 11px; }.button.wide { width: 100%; min-height: 44px; }.button:disabled { opacity: .55; cursor: wait; }.icon-button { width: 40px; height: 40px; flex: 0 0 auto; border: 1px solid #ccd5d1; background: #fff; color: var(--ink); }.icon-button:hover { background: #f0f4f2; }.text-button { border: 0; background: transparent; color: var(--green); font-weight: 650; }
.field { display: grid; gap: 7px; min-width: 0; }.field > span, fieldset legend { color: #40504b; font-size: 12px; font-weight: 650; } input, select, textarea { width: 100%; min-height: 42px; border: 1px solid #bdc9c4; border-radius: 3px; background: #fff; color: var(--ink); padding: 8px 11px; outline: 0; } input:focus, select:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(8,125,98,.11); } input[type="file"] { padding: 6px; } input[type="file"]::file-selector-button { border: 0; background: #e8efec; padding: 7px 11px; margin-right: 10px; color: var(--ink); cursor: pointer; }
.action-panel { display: grid; grid-template-columns: 1fr .6fr 1.4fr auto; gap: 14px; align-items: end; border: 1px solid var(--line); border-left: 4px solid var(--green); background: #fff; padding: 18px; margin-bottom: 18px; box-shadow: var(--shadow); }.panel-actions { display: flex; justify-content: flex-end; gap: 8px; }.deployment-panel { grid-template-columns: minmax(220px,.55fr) minmax(340px,1.45fr) auto; }.deployment-panel fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }.device-picker { min-height: 42px; display: flex; flex-wrap: wrap; gap: 7px; }.device-choice { min-height: 42px; display: flex; align-items: center; gap: 7px; border: 1px solid #cad3cf; padding: 0 10px; font-size: 11px; }.device-choice input { width: 15px; min-height: auto; accent-color: var(--green); }
.compact-fields { grid-template-columns: repeat(5,minmax(120px,1fr)) auto; }.authorization-panel { grid-template-columns: minmax(180px,.65fr) minmax(340px,1.35fr) auto repeat(2,minmax(140px,.45fr)) auto; }.authorization-panel fieldset { min-width: 0; margin: 0; border: 0; padding: 0; }.card-panel { grid-template-columns: repeat(4,minmax(140px,1fr)); }.card-panel .panel-actions { grid-column: 1/-1; }.release-panel { grid-template-columns: repeat(4,minmax(150px,1fr)); }.release-panel .notes-field { grid-column: 1/4; }.check-field { min-height: 42px; display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); padding: 0 11px; color: #40504b; font-size: 11px; }.check-field input { width: 15px; min-height: auto; accent-color: var(--green); }.head-actions { display: flex; gap: 8px; }.portal-link { display: block; margin-top: 18px; color: var(--green); text-align: center; font-size: 12px; text-decoration: none; }.portal-link:hover { text-decoration: underline; }
.table-tools { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 15px; border-bottom: 1px solid var(--line); padding: 8px 14px; color: var(--muted); font-size: 11px; }.mini-filter { display: flex; align-items: center; gap: 8px; }.mini-filter select { width: 110px; min-height: 34px; }.inline-tabs { margin: 0; border: 0; }.generated-panel { display: grid; grid-template-columns: minmax(160px,.5fr) minmax(280px,1.5fr) auto; gap: 16px; align-items: center; border: 1px solid #cfe1da; border-left: 4px solid var(--green); background: #f7fbf9; padding: 18px; margin-bottom: 18px; }.generated-panel h3, .generated-panel p { margin: 0; }.generated-panel p:not(.kicker) { margin-top: 5px; color: var(--muted); font-size: 11px; }.generated-panel textarea { height: 95px; font: 11px/1.55 Consolas, monospace; resize: vertical; }.release-list { display: grid; gap: 12px; }.release-item { display: grid; grid-template-columns: minmax(190px,.8fr) 140px 120px minmax(240px,1.2fr) auto; align-items: center; gap: 18px; border: 1px solid var(--line); background: #fff; padding: 18px 20px; box-shadow: var(--shadow); }.release-item h3 { margin: 0; font-size: 15px; }.release-item p { margin: 4px 0 0; color: var(--muted); font-size: 11px; }.release-notes { white-space: pre-wrap; }.role-chip { display: inline-block; padding: 4px 8px; background: #e8efec; color: #42544e; font-size: 10px; font-weight: 700; }
.notice { min-height: 52px; display: flex; align-items: center; gap: 11px; border: 1px solid #dce7e2; background: #f7faf8; padding: 11px 15px; margin-bottom: 16px; color: #4d5d57; font-size: 12px; }.notice i { color: var(--green); font-size: 17px; }.notice code { color: var(--green-dark); font-family: Consolas, monospace; }
.filter-tabs { display: flex; gap: 0; border-bottom: 1px solid var(--line); margin-bottom: 12px; }.filter-tabs button { min-height: 38px; border: 0; border-bottom: 2px solid transparent; background: transparent; color: var(--muted); padding: 0 16px; font-size: 12px; }.filter-tabs button.active { border-bottom-color: var(--green); color: var(--green-dark); font-weight: 650; }
.toast-stack { position: fixed; right: 22px; bottom: 22px; z-index: 50; display: grid; gap: 8px; }.toast { width: min(370px, calc(100vw - 44px)); border-left: 4px solid var(--green); background: #14211d; color: white; padding: 13px 15px; box-shadow: 0 12px 30px rgba(0,0,0,.2); font-size: 12px; }.toast.error { border-left-color: #dc6868; }.busy { opacity: .65; pointer-events: none; }
.pair-body { min-height: 100vh; display: grid; place-items: center; padding: 28px; background: var(--canvas); }.pair-sheet { width: min(520px,100%); border: 1px solid var(--line); border-top: 4px solid var(--green); background: #fff; padding: 28px; box-shadow: var(--shadow); }.pair-sheet .brand-lockup { margin-bottom: 34px; }.pair-sheet .brand-mark { color: var(--green-dark); border-color: #8cb3a6; }.pair-sheet h1 { margin: 0; font-size: 24px; }.pair-code { margin: 22px 0; background: #f3f7f5; border: 1px solid var(--line); padding: 19px; text-align: center; font: 650 30px Bahnschrift, monospace; letter-spacing: 4px; }.pair-detail { display: grid; gap: 10px; margin: 20px 0; }.pair-detail div { display: flex; justify-content: space-between; gap: 18px; border-bottom: 1px solid #edf0ee; padding-bottom: 9px; font-size: 12px; }.pair-detail span { color: var(--muted); }.pair-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 22px; }
@media (max-width: 1240px) { .metric-strip.six { grid-template-columns: repeat(3,1fr); }.metric-strip.six .metric:nth-child(3) { border-right: 0; }.metric-strip.six .metric:nth-child(-n+3) { border-bottom: 1px solid var(--line); }.portal-button, .connection { display: none; } }
@media (max-width: 1080px) { .app-shell { grid-template-columns: 78px minmax(0,1fr); }.sidebar { padding-inline: 9px; }.sidebar-brand { justify-content: center; padding-inline: 0; }.sidebar-brand div, .nav-item span, .nav-item b, .sidebar-health div, .nav-group { display: none; }.nav-item { grid-template-columns: 1fr; justify-items: center; padding: 0; }.metric-strip.four { grid-template-columns: repeat(2,1fr); }.metric-strip.four .metric:nth-child(2) { border-right: 0; }.metric-strip.four .metric:nth-child(-n+2) { border-bottom: 1px solid var(--line); }.overview-grid { grid-template-columns: 1fr; }.action-panel, .deployment-panel, .authorization-panel, .compact-fields, .release-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }.panel-actions, .release-panel .notes-field { grid-column: 1/-1; }.search { display: none; }.release-item { grid-template-columns: minmax(180px,1fr) 120px 100px auto; }.release-notes { grid-column: 1/-1; }.generated-panel { grid-template-columns: 1fr; } }
@media (max-width: 720px) { .login-view { grid-template-columns: 1fr; }.login-brand { display: none; }.login-panel { padding: 28px 22px; }.mobile-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 54px; }.mobile-brand .brand-mark { color: var(--green-dark); border-color: #87ae9f; }.app-shell { display: block; }.sidebar { position: fixed; inset: 0 auto 0 0; width: 238px; transform: translateX(-100%); transition: transform .18s ease-out; box-shadow: 10px 0 30px rgba(0,0,0,.18); }.sidebar.open { transform: translateX(0); }.sidebar-brand { justify-content: flex-start; padding-inline: 10px; }.sidebar-brand div, .nav-item span, .nav-item b, .sidebar-health div, .nav-group { display: block; }.nav-item { grid-template-columns: 28px minmax(0,1fr) auto; justify-items: initial; padding: 0 13px; }.topbar { height: 76px; padding: 12px 15px; }.menu-button { display: block; }.page-heading { min-width: 0; }.page-heading .kicker, .connection, #logout-button, .user-pill { display: none; }.page-heading h1 { font-size: 18px; }.workspace { padding: 21px 14px 42px; }.metric-strip.six, .metric-strip.four { grid-template-columns: 1fr 1fr; }.metric-strip.six .metric:nth-child(2n), .metric-strip.four .metric:nth-child(2n) { border-right: 0; }.metric-strip.six .metric, .metric-strip.four .metric { border-bottom: 1px solid var(--line); }.metric { min-height: 104px; padding: 16px; }.metric > strong { font-size: 24px; }.policy-list { grid-template-columns: 1fr 1fr; gap: 16px 0; }.policy-list div:nth-child(2) { border-right: 0; }.section-head { align-items: center; }.section-head .head-actions { flex-wrap: wrap; justify-content: flex-end; }.action-panel, .deployment-panel, .authorization-panel, .compact-fields, .release-panel, .card-panel { grid-template-columns: 1fr; }.panel-actions, .release-panel .notes-field { grid-column: auto; }.table-wrap { max-width: calc(100vw - 30px); }.release-item { grid-template-columns: 1fr; }.pair-body { padding: 15px; }.pair-sheet { padding: 22px 18px; }.pair-actions { flex-direction: column-reverse; }.pair-actions .button { width: 100%; } }
.sidebar-mobile-account, .sidebar-backdrop { display: none; }
.badge.active, .badge.decrypted { background: #e6f3ed; color: #087157; }.badge.active::before, .badge.decrypted::before { background: var(--green); }
.badge.expired, .badge.exhausted, .badge.partial { background: #f7f0e4; color: var(--amber); }.badge.expired::before, .badge.exhausted::before, .badge.partial::before { background: var(--amber); }
.badge.disabled, .badge.offline, .badge.unknown { background: #edf1ef; color: #5c6864; }.badge.disabled::before, .badge.offline::before, .badge.unknown::before { background: #89948f; }
.badge.error { background: #f8eaea; color: #a13939; }.badge.error::before { background: var(--red); }

.portal-body { min-height: 100vh; background: #eef3f0; }
.portal-header { height: 74px; border-bottom: 1px solid #25332f; background: var(--rail); color: white; }
.portal-header-inner { width: min(1240px, calc(100% - 40px)); height: 100%; display: flex; align-items: center; gap: 20px; margin: 0 auto; }
.portal-brand { color: white; text-decoration: none; }.portal-brand strong { font-size: 19px; }.portal-status { margin-left: auto; display: flex; align-items: center; gap: 9px; color: #b4c7c0; font-size: 11px; }.portal-header .button { border-color: #52635d; background: transparent; color: white; }.portal-header .button:hover { background: #20312c; }
.portal-main { width: min(1240px, calc(100% - 40px)); margin: 0 auto; padding: 38px 0 64px; }
.portal-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 28px; }.portal-title-row h1 { margin: 0; font-size: 31px; font-weight: 650; }.portal-title-row p:not(.kicker) { margin: 8px 0 0; color: var(--muted); font-size: 14px; }.portal-trust { display: flex; gap: 1px; background: #d0d9d5; }.portal-trust span { background: #f8faf9; padding: 9px 12px; color: #53615c; font-size: 10px; font-weight: 700; }
.portal-grid { display: grid; grid-template-columns: minmax(360px,.8fr) minmax(460px,1.2fr); gap: 18px; align-items: stretch; }.portal-panel { border: 1px solid var(--line); border-top: 4px solid var(--green); background: #fff; padding: 24px; box-shadow: var(--shadow); }.portal-panel-head { display: flex; align-items: flex-start; gap: 13px; padding-bottom: 20px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }.portal-step { width: 33px; height: 33px; display: grid; place-items: center; flex: 0 0 auto; background: var(--rail); color: #76d0b1; font: 700 11px Bahnschrift, sans-serif; }.portal-panel h2 { margin: 0; font-size: 19px; }.portal-panel-head p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }.redeem-panel { display: grid; gap: 15px; }.redeem-panel .portal-panel-head { margin-bottom: 0; }
.segmented-field { margin: 0; border: 0; padding: 0; }.segmented-field legend { margin-bottom: 7px; }.segmented-control { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; border: 1px solid #bdc9c4; background: #bdc9c4; }.segmented-control label { position: relative; }.segmented-control input { position: absolute; opacity: 0; pointer-events: none; }.segmented-control span { min-height: 40px; display: grid; place-items: center; background: #fff; color: var(--muted); font-size: 12px; font-weight: 650; cursor: pointer; }.segmented-control input:checked + span { background: var(--green-soft); color: var(--green-dark); box-shadow: inset 0 -2px 0 var(--green); }.segmented-control input:focus-visible + span { outline: 3px solid rgba(8,125,98,.18); outline-offset: -3px; }
.portal-result { display: grid; gap: 4px; border: 1px solid #cae0d7; background: #eef8f4; padding: 13px 14px; color: #17644e; font-size: 12px; }.portal-result.error { border-color: #e8caca; background: #fbefef; color: #963c3c; }.portal-result strong, .portal-result span { display: block; }
.latest-release { min-height: 325px; }.portal-release-item { display: grid; grid-template-columns: minmax(220px,.85fr) minmax(220px,1fr) minmax(250px,1.15fr) auto; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); padding: 17px 0; }.portal-release-item:last-child { border-bottom: 0; }.portal-release-item.is-latest { min-height: 300px; grid-template-columns: 1fr; align-content: center; border: 0; padding: 0; }.portal-release-item h3 { margin: 0; font-size: 16px; }.portal-release-item.is-latest h3 { font-size: 25px; }.release-version > p:not(.kicker) { margin: 6px 0 0; color: var(--muted); font-size: 11px; }.portal-release-item .release-notes { margin: 0; color: #4d5b57; font-size: 12px; line-height: 1.55; white-space: pre-wrap; }.release-hash { min-width: 0; }.release-hash span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 700; }.release-hash code { display: block; overflow: hidden; color: #33413d; font: 10px/1.4 Consolas, monospace; text-overflow: ellipsis; white-space: nowrap; }.portal-release-item.is-latest .release-hash { border: 1px solid var(--line); background: #f7f9f8; padding: 11px; }.portal-release-item.is-latest .button { justify-self: start; min-width: 150px; }
.portal-history { margin-top: 30px; }.portal-release-list { border: 1px solid var(--line); background: #fff; padding: 0 20px; box-shadow: var(--shadow); }.portal-empty, .portal-loading { min-height: 140px; display: grid; place-items: center; color: var(--muted); font-size: 12px; }.portal-empty.bad { color: var(--red); }

@media (max-width: 1080px) { .portal-grid { grid-template-columns: 1fr; }.portal-release-item { grid-template-columns: minmax(220px,1fr) minmax(200px,1fr) auto; }.portal-release-item .release-notes { grid-column: 1/-1; } }
@media (max-width: 720px) {
  .nav-item { min-height: 44px; }
  .sidebar-mobile-account { display: flex; align-items: center; justify-content: space-between; gap: 10px; border-top: 1px solid #2b3a36; padding: 13px 10px; margin-top: auto; }.sidebar-mobile-account strong, .sidebar-mobile-account small { display: block; }.sidebar-mobile-account strong { font-size: 11px; }.sidebar-mobile-account small { margin-top: 3px; color: #7c9089; font-size: 9px; }.sidebar-mobile-account .icon-button { border-color: #3a4c46; background: transparent; color: white; }.sidebar-health { margin-top: 0; }
  .sidebar-backdrop { position: fixed; inset: 0; z-index: 15; border: 0; background: rgba(8,15,13,.48); }.sidebar-backdrop.open { display: block; }.menu-open { overflow: hidden; }
  .metric-strip.six .metric:nth-child(odd), .metric-strip.four .metric:nth-child(odd) { border-right: 1px solid var(--line); }.metric-strip.six .metric:nth-child(even), .metric-strip.four .metric:nth-child(even) { border-right: 0; }
  .portal-header-inner, .portal-main { width: min(calc(100% - 28px), 1240px); }.portal-header { height: 66px; }.portal-status { display: none; }.portal-header .brand-lockup div { display: none; }.portal-main { padding: 26px 0 42px; }.portal-title-row { display: block; }.portal-title-row h1 { font-size: 25px; }.portal-trust { margin-top: 18px; }.portal-trust span { flex: 1; padding-inline: 5px; text-align: center; }.portal-grid { grid-template-columns: 1fr; }.portal-panel { padding: 19px 16px; }.portal-release-item, .portal-release-item.is-latest { grid-template-columns: 1fr; gap: 14px; }.portal-release-item .release-notes { grid-column: auto; }.portal-release-item .button { width: 100%; }.portal-release-list { padding: 0 15px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
