.cloud-admin-header{display:flex;justify-content:space-between;align-items:center;gap:22px;flex-wrap:wrap;padding:16px clamp(18px,4vw,65px);background:#141d34;color:#fff}
.cloud-admin-header .brand{display:flex;align-items:center;gap:10px;color:#eef6ff}.cloud-admin-header nav{display:flex;gap:20px}.cloud-admin-header nav a{color:#bcd8fa;font-size:12px}
.cloud-admin-main{max-width:1360px;margin:0 auto;padding:28px clamp(15px,3vw,40px)}.admin-title h1{font-size:clamp(25px,3vw,35px);margin:6px 0}.admin-title p{color:#7888a3;font-size:13px;line-height:1.6}
.admin-note{padding:13px 17px;border:1px solid #c9d6e8;background:#f4f7ff;border-radius:9px;font-size:12px;color:#304868}
.admin-login{max-width:480px}.admin-login form{display:flex;flex-direction:column;gap:10px}.admin-login label{font-size:12px;font-weight:700}
.admin-login input,.admin-toolbar select{border-radius:9px;padding:12px;border:1px solid #c7d2e3;background:#fff;color:#1d3454}.admin-login button{margin-top:9px}.admin-login p{font-size:11px}
.admin-bar{display:flex;justify-content:space-between;align-items:center;gap:18px}.admin-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:13px;margin:22px 0}.admin-toolbar label{font-size:12px}
.admin-safe-note{background:#edf4ff;padding:13px;border-radius:9px;border:1px solid #cbdcf3;font-size:12px}.admin-results{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:15px 0 25px}
.admin-record{border:1px solid #dde5f3;border-radius:10px;padding:13px;background:#f9fbff;overflow-wrap:anywhere;min-width:0}
.admin-field{display:flex;flex-direction:column;gap:2px;padding:5px 0}.admin-field small{color:#75849c;font-size:10px}.admin-field strong{color:#294365;font-size:12px}
html[data-theme="dark"] .admin-note,html[data-theme="dark"] .admin-safe-note,html[data-theme="dark"] .admin-record{background:#1b2a42;border-color:#435977;color:#c8dcf3}
html[data-theme="dark"] .admin-field strong{color:#e8efff}html[data-theme="dark"] .admin-field small{color:#b0c0d5}
html[data-theme="dark"] .admin-login input,html[data-theme="dark"] .admin-toolbar select{background:#19263a;border-color:#516584;color:#f3f7ff}
@media(max-width:1000px){.admin-results{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.admin-results{grid-template-columns:1fr}.cloud-admin-header nav{gap:10px}.admin-bar{align-items:flex-start;flex-direction:column}}

.admin-detail{margin-top:12px;border-top:1px solid #bac9df;padding-top:10px}.admin-detail .admin-record{background:transparent;border:0;padding:0}
/* Task-oriented administrative workspace. */
.admin-layout{display:grid;grid-template-columns:245px minmax(0,1fr);gap:22px;margin-top:22px;align-items:start}
.admin-navigation{border:1px solid #dce4f1;background:#f6f8fd;border-radius:13px;padding:15px;position:sticky;top:16px;max-height:calc(100vh - 32px);overflow:auto}
.admin-nav-heading{display:flex;flex-direction:column;gap:3px;padding:2px 6px 14px}.admin-nav-heading strong{font-size:14px;color:#172b49}.admin-nav-heading small,.admin-search-label{font-size:11px;color:#667891}
.admin-search-label{display:block;padding:4px 6px}.admin-navigation input,.admin-actionbar input,.admin-actionbar select,.admin-advanced select{min-height:39px;border:1px solid #cbd6e7;border-radius:8px;background:#fff;color:#243550;padding:8px 10px}
.admin-navigation input,.admin-advanced select{width:100%}.admin-nav-group{margin:16px 0 5px;padding:0 9px;color:#66768d;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.admin-nav-button{display:flex;align-items:center;justify-content:space-between;gap:9px;width:100%;padding:10px 11px;border:0;border-radius:9px;background:transparent;color:#334766;text-align:left;font-size:12px;line-height:1.4;cursor:pointer}
.admin-nav-button:hover,.admin-nav-button:focus-visible{background:#e7edfa}.admin-nav-button[aria-current="page"]{background:#e9e4ff;color:#5435aa;font-weight:800;box-shadow:inset 3px 0 #7655d6}
.admin-nav-dot{width:6px;height:6px;border-radius:50%;background:#b7c1d5;flex:none}.admin-nav-button[aria-current="page"] .admin-nav-dot{background:#7655d6}
.admin-navigation-note{font-size:10px!important;color:#7887a0!important;line-height:1.55;border-top:1px solid #d9e2f0;padding-top:13px;margin:19px 5px 1px!important}
.admin-workspace{min-width:0}.admin-focus{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;border-bottom:1px solid #e6eaf2;padding:1px 0 19px}
.admin-focus h3{font-size:clamp(21px,2.7vw,29px);margin:7px 0;letter-spacing:-.03em;color:#1b2a46}.admin-focus p{max-width:660px;line-height:1.6;margin:5px 0 0;color:#677993!important}
.admin-focus-meta{display:flex;gap:6px;flex-wrap:wrap}.admin-tag{white-space:nowrap;padding:6px 9px;border-radius:6px;background:#f0ebff;color:#6042aa;font-size:10px;font-weight:800}.admin-tag-muted{background:#f0f3f9;color:#63738e}
.admin-shortcuts{display:flex;flex-wrap:wrap;gap:8px;margin:18px 0}.admin-shortcuts button{font-size:11px;border:1px solid #dce1f0;color:#524687;border-radius:8px;padding:8px 12px;background:#fbfaff;cursor:pointer}.admin-shortcuts button:hover{background:#ece7ff}
.admin-advanced{margin:10px 0;color:#667894;font-size:11px}.admin-advanced summary{cursor:pointer;font-weight:600}.admin-advanced label{display:block;margin:11px 0 5px}
.admin-actionbar{margin:16px 0 13px;gap:9px}.admin-actionbar label{font-weight:700;color:#67758e}.admin-actionbar input{width:min(230px,100%)}.admin-actionbar select{width:min(170px,100%)}.admin-updated{color:#6c7b93;font-size:10px}
.admin-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px;margin:18px 0}.admin-kpi{border:1px solid #dce5f2;background:#f8faff;border-radius:11px;padding:14px;display:flex;flex-direction:column;gap:5px;min-width:0}
.admin-kpi-label{color:#687b94;font-size:10px;font-weight:750}.admin-kpi-value{color:#233557;font-size:clamp(17px,2vw,23px);font-weight:800;line-height:1.2;overflow-wrap:anywhere}.admin-kpi-description{font-size:10px;color:#7b89a0}
.admin-context{margin:13px 0;color:#6c758d;font-size:11px;line-height:1.6}.admin-context:empty{display:none}.admin-result-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:23px}.admin-result-header h4{font-size:15px;color:#263853;margin:0}.admin-result-header span{font-size:11px;color:#6c7c94}
.admin-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:14px 0 20px;align-items:start}.admin-results.admin-audit-results{grid-template-columns:repeat(2,minmax(0,1fr))}
.admin-record{padding:16px;background:#fff;border:1px solid #dfe6f2;border-radius:12px;box-shadow:0 2px 9px #12224607}.admin-record-head{display:flex;justify-content:space-between;align-items:flex-start;gap:10px;margin-bottom:12px}
.admin-record-heading{min-width:0}.admin-record-heading h5{font-size:13px;margin:0 0 5px;color:#263958;overflow-wrap:anywhere}.admin-record-heading p{font-size:10px;margin:0;color:#8391a6}
.admin-state{font-size:10px;font-weight:750;padding:5px 8px;border-radius:7px;background:#edf1f9;color:#526681;overflow-wrap:anywhere;max-width:55%}.admin-state[data-tone="waiting"]{background:#fff3d9;color:#76521e}.admin-state[data-tone="success"]{background:#e2f4ed;color:#22614a}.admin-state[data-tone="warning"]{background:#fff1e9;color:#8c402c}
.admin-record-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px}.admin-meta{margin-top:10px;border-top:1px solid #e4eaf3;padding-top:10px}.admin-meta summary{cursor:pointer;font-size:11px;color:#5c4d9c;font-weight:700}
.admin-field{min-width:0}.admin-field small{font-size:10px}.admin-field strong{font-size:12px;overflow-wrap:anywhere}.admin-review-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px;padding-top:11px;border-top:1px solid #e3e8f1}
.admin-review-actions .button,.admin-record>.button{font-size:11px;min-height:37px;line-height:1.35;padding:7px 11px;margin-top:6px}
.admin-pages{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;margin-bottom:23px}.admin-pages button{padding:8px 12px;border:1px solid #d6ddea;border-radius:7px;background:#fff;color:#403b81;cursor:pointer}.admin-pages button:disabled{opacity:.45;cursor:default}.admin-pages span{font-size:11px;color:#6a778e}
.admin-audit-panel{border-top:1px solid #e1e7f0;padding:16px 0;margin-top:25px}.admin-audit-panel summary{font-size:12px;cursor:pointer;font-weight:700;color:#63718c}.admin-audit-results .admin-record{padding:10px;box-shadow:none}
.admin-empty{grid-column:1/-1;border:1px dashed #c6d0df;border-radius:10px;padding:25px;text-align:center;color:#697994;font-size:12px;background:#f8faff}
.admin-record textarea,.admin-record select{display:block;width:100%;min-height:39px;border:1px solid #c9d2e2;padding:9px;border-radius:8px;background:#fff;color:#223757;margin:9px 0}
.admin-result-note{grid-column:1/-1;background:#f4f7ff;padding:13px;border-left:3px solid #7655d6;color:#4d607c;font-size:11px;border-radius:8px}
html[data-theme="dark"] .admin-navigation,html[data-theme="dark"] .admin-kpi,html[data-theme="dark"] .admin-empty{background:#1b2a42;border-color:#435977}
html[data-theme="dark"] .admin-workspace .admin-record{background:#1b2a42;border-color:#435977}
html[data-theme="dark"] .admin-nav-heading strong,html[data-theme="dark"] .admin-focus h3,html[data-theme="dark"] .admin-kpi-value,html[data-theme="dark"] .admin-result-header h4,html[data-theme="dark"] .admin-record-heading h5{color:#f0f4ff}
html[data-theme="dark"] .admin-nav-button,html[data-theme="dark"] .admin-nav-group,html[data-theme="dark"] .admin-nav-heading small,html[data-theme="dark"] .admin-kpi-label{color:#c2cfe3}
html[data-theme="dark"] .admin-nav-button:hover{background:#344663}html[data-theme="dark"] .admin-nav-button[aria-current="page"]{background:#443768;color:#f5eaff}
html[data-theme="dark"] .admin-advanced select,html[data-theme="dark"] .admin-navigation input,html[data-theme="dark"] .admin-actionbar input,html[data-theme="dark"] .admin-actionbar select,html[data-theme="dark"] .admin-record textarea,html[data-theme="dark"] .admin-record select{background:#1c2a40;color:#e7edfa;border-color:#50617b}
html[data-theme="dark"] .admin-shortcuts button,html[data-theme="dark"] .admin-pages button{background:#2d304e;color:#e8dcff;border-color:#53547b}html[data-theme="dark"] .admin-result-note{background:#272d49;color:#d6dff6}
@media(max-width:1100px){.admin-layout{grid-template-columns:210px minmax(0,1fr);gap:16px}.admin-results{grid-template-columns:1fr}.admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.admin-layout{display:flex;flex-direction:column}.admin-navigation{position:static;max-height:none;width:100%}.admin-navigation nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.admin-nav-group{grid-column:1/-1}.admin-workspace{width:100%}.admin-focus{flex-direction:column}.admin-actionbar input,.admin-actionbar select{width:100%}.admin-actionbar label{width:100%}}
@media(max-width:450px){.admin-navigation nav{grid-template-columns:1fr}.admin-record-fields{grid-template-columns:1fr}}
.admin-safety-details{margin:10px 0;font-size:11px;color:#63738c}.admin-safety-details summary{cursor:pointer;font-weight:700;padding:6px 0}
/* Marks operational data explorer: Cloudscape-inspired behavior, Marks visual identity. */
.admin-view-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:0;margin:12px 0 6px}
.admin-view-toolbar button{border:1px solid #d9d9ed;background:#fff;color:#584e80;font-size:11px;font-weight:750;padding:9px 15px;cursor:pointer;min-height:38px}
.admin-view-toolbar button:first-child{border-radius:8px 0 0 8px}.admin-view-toolbar button+button{border-left:0;border-radius:0 8px 8px 0}
.admin-view-toolbar button[aria-pressed="true"]{background:#eee8ff;color:#5935a4;box-shadow:inset 0 -3px #7d50d4}
.admin-view-toolbar span{font-size:10px;color:#74849b;margin-left:14px;line-height:1.5;flex:1;min-width:185px}
.admin-data-area{min-width:0}.admin-data-area.is-split{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(300px,.9fr);align-items:start;gap:12px}
.admin-data-area .admin-results.is-table{display:block;min-width:0}
.admin-table-scroll{width:100%;overflow-x:auto;background:#fff;border:1px solid #dfe5f0;border-radius:11px;margin:0 0 12px;box-shadow:0 3px 12px #19234809}
.admin-table{border-collapse:collapse;width:100%;min-width:680px;font-size:12px;color:#253851}
.admin-table caption{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.admin-table th,.admin-table td{padding:13px 12px;border-bottom:1px solid #e9edf5;text-align:left;vertical-align:middle;max-width:260px;overflow-wrap:anywhere}
.admin-table thead{background:#f1f3fb;color:#526581;position:sticky;top:0;z-index:1}
.admin-table thead th{font-size:10px;font-weight:800;white-space:nowrap;border-bottom:1px solid #dce4f1}
.admin-table tbody th{font-size:12px;color:#263957;font-weight:720;max-width:230px}
.admin-table tbody tr:nth-child(even){background:#fafaff}.admin-table tbody tr:hover{background:#f1edff}
.admin-column-sort{border:0;background:transparent;padding:0;font-size:inherit;font-weight:inherit;color:inherit;cursor:pointer;text-align:left;white-space:nowrap}
.admin-column-sort:hover{color:#6f45cf;text-decoration:underline;text-underline-offset:3px}
.admin-table-action{border:1px solid #cfc4e9;border-radius:7px;padding:8px 11px;background:#f9f6ff;color:#6242a4;font-size:11px;font-weight:750;cursor:pointer;white-space:nowrap}
.admin-table-action:hover{background:#eee6ff}
.admin-detail-panel{min-width:0;max-height:calc(100vh - 55px);overflow-y:auto;position:sticky;top:20px;border:1px solid #d6dceb;border-radius:11px;background:#fafbff;padding:13px;box-shadow:0 5px 20px #16234314}
.admin-detail-panel-header{display:flex;justify-content:space-between;gap:12px;align-items:center;border-bottom:1px solid #e1e7f1;padding:2px 2px 13px;margin-bottom:12px}
.admin-detail-panel-header h5{font-size:13px;color:#283c5f;margin:0}.admin-detail-panel-header .button{min-height:33px;font-size:10px;padding:5px 9px}
.admin-detail-panel .admin-record{background:#fff;box-shadow:none}.admin-detail-panel .admin-record-fields{grid-template-columns:1fr}
.admin-detail-panel .admin-review-actions{flex-direction:column;align-items:stretch}.admin-detail-panel .admin-review-actions button{width:100%;justify-content:center}
.admin-data-area .admin-results.is-table .admin-empty{margin:0}
.admin-actionbar #admin-sort{width:min(180px,100%)}.admin-actionbar #admin-sort-direction{font-size:11px;min-height:39px;padding:7px 11px}
html[data-theme="dark"] .admin-view-toolbar button{background:#222d48;border-color:#4e5273;color:#d4cff6}
html[data-theme="dark"] .admin-view-toolbar button[aria-pressed="true"]{background:#43336a;color:#f6ebff;box-shadow:inset 0 -3px #b18afa}
html[data-theme="dark"] .admin-table-scroll,html[data-theme="dark"] .admin-detail-panel{background:#1b2a42;border-color:#435977;color:#e4edfd}
html[data-theme="dark"] .admin-table{color:#dfebff}
html[data-theme="dark"] .admin-table thead{background:#273857;color:#d2def1}
html[data-theme="dark"] .admin-table thead th,html[data-theme="dark"] .admin-table td,html[data-theme="dark"] .admin-table th{border-color:#40516d}
html[data-theme="dark"] .admin-table tbody th{color:#f0f4ff}
html[data-theme="dark"] .admin-table tbody tr:nth-child(even){background:#23324b}
html[data-theme="dark"] .admin-table tbody tr:hover{background:#342e57}
html[data-theme="dark"] .admin-column-sort{color:#d6dff7}
html[data-theme="dark"] .admin-table-action{background:#322850;border-color:#66538d;color:#e6d8ff}
html[data-theme="dark"] .admin-detail-panel-header{border-color:#455772}
html[data-theme="dark"] .admin-detail-panel-header h5{color:#eff4ff}
html[data-theme="dark"] .admin-detail-panel .admin-record{background:#1e2c45}
@media(max-width:1100px){.admin-data-area.is-split{grid-template-columns:1fr}.admin-detail-panel{position:static;max-height:none}}
@media(max-width:760px){.admin-table-scroll{margin-bottom:10px}.admin-table{min-width:630px}.admin-view-toolbar span{flex-basis:100%;margin:10px 0 0}.admin-actionbar #admin-sort{width:100%}}
@media(prefers-reduced-motion:reduce){.admin-table-action,.admin-column-sort,.admin-view-toolbar button{transition:none}}

/* Unified Marks IA full-viewport operations layout and native cyan/navy identity. */
.marks-admin-shell .cloud-admin-main{max-width:none;width:100%;margin:0;min-width:0}
.marks-admin-shell .cloud-admin-header{min-height:70px;padding:12px var(--marks-app-gutter);gap:clamp(10px,1.7vw,25px)}
.marks-admin-shell .cloud-admin-header .brand{min-width:0;overflow-wrap:anywhere}
.marks-admin-shell .cloud-admin-header nav{gap:clamp(10px,1.4vw,22px);flex-wrap:wrap}
.marks-admin-shell .cloud-admin-header .theme-toggle{flex:none}
.marks-admin-shell .admin-title{margin-bottom:16px}
.marks-admin-shell .admin-title p{max-width:930px;margin:0}
.marks-admin-shell .admin-layout{grid-template-columns:clamp(215px,17vw,280px) minmax(0,1fr);gap:var(--marks-app-gap);min-width:0}
.marks-admin-shell .admin-navigation{max-height:calc(100dvh - 24px);min-width:0}
.marks-admin-shell .admin-workspace{width:100%;min-width:0}
.marks-admin-shell .admin-kpis{gap:var(--marks-app-gap)}
.marks-admin-shell .admin-results:not(.is-table):not(.admin-audit-results){grid-template-columns:repeat(auto-fit,minmax(min(100%,335px),1fr));gap:var(--marks-app-gap)}
.marks-admin-shell .admin-results.admin-audit-results{grid-template-columns:repeat(auto-fit,minmax(min(100%,290px),1fr))}
.marks-admin-shell .admin-data-area.is-split{grid-template-columns:minmax(0,1.7fr) minmax(320px,.8fr);gap:var(--marks-app-gap)}
.marks-admin-shell .admin-focus-meta{flex-shrink:0}
.marks-admin-shell .admin-actionbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.marks-admin-shell .admin-actionbar .button{flex:none}
.marks-admin-shell .admin-nav-button[aria-current="page"]{background:var(--marks-app-accent-soft);color:var(--marks-app-accent);box-shadow:inset 3px 0 #00b8df}
.marks-admin-shell .admin-nav-button[aria-current="page"] .admin-nav-dot{background:#00b8df}
.marks-admin-shell .admin-tag{background:var(--marks-app-accent-soft);color:var(--marks-app-accent)}
.marks-admin-shell .admin-shortcuts button{color:var(--marks-app-accent);border-color:#c5dfee}
.marks-admin-shell .admin-view-toolbar button[aria-pressed="true"]{background:var(--marks-app-accent-soft);color:var(--marks-app-accent);box-shadow:inset 0 -3px #00b8df}
.marks-admin-shell .admin-column-sort:hover,.marks-admin-shell .admin-meta summary{color:var(--marks-app-accent)}
.marks-admin-shell .admin-table-action{background:#e8f7ff;border-color:#b7dce9;color:#085b87}
@media(max-width:1150px){
 .marks-admin-shell .admin-layout{grid-template-columns:210px minmax(0,1fr)}
 .marks-admin-shell .admin-data-area.is-split{grid-template-columns:1fr}
 .marks-admin-shell .admin-detail-panel{position:static;max-height:none}
}
@media(max-width:850px){
 .marks-admin-shell .admin-layout{grid-template-columns:1fr;display:grid}
 .marks-admin-shell .admin-navigation{position:static;max-height:none;width:100%}
 .marks-admin-shell .admin-navigation nav{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px;max-height:240px;overflow:auto;overscroll-behavior:contain}
 .marks-admin-shell .admin-navigation .admin-nav-group{grid-column:1/-1}
 .marks-admin-shell .admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .marks-admin-shell .admin-actionbar input,.marks-admin-shell .admin-actionbar select{width:min(100%,260px)}
}
@media(max-width:600px){
 .marks-admin-shell .cloud-admin-header{align-items:flex-start;justify-content:flex-start}
 .marks-admin-shell .cloud-admin-header .brand{flex-basis:100%;font-size:18px}
 .marks-admin-shell .cloud-admin-header nav{flex:1}
 .marks-admin-shell .admin-bar{align-items:flex-start}
 .marks-admin-shell .admin-results:not(.is-table){grid-template-columns:1fr}
 .marks-admin-shell .admin-focus{flex-direction:column}
 .marks-admin-shell .admin-actionbar label{width:100%}
 .marks-admin-shell .admin-actionbar input,.marks-admin-shell .admin-actionbar select{width:100%}
}
@media(max-width:450px){.marks-admin-shell .admin-navigation nav{grid-template-columns:1fr}.marks-admin-shell .admin-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}}
html[data-theme="dark"] .marks-admin-shell .admin-nav-button[aria-current="page"]{background:#123958;color:#5adefc}
html[data-theme="dark"] .marks-admin-shell .admin-shortcuts button{color:#9ce9ff;border-color:#355773}
html[data-theme="dark"] .marks-admin-shell .admin-table-action{background:#123958;border-color:#347399;color:#b5efff}
/* Business intelligence entry point, consistent with Marks native sidebar. */
.marks-admin-shell .admin-bi-navigation{display:block;width:100%;min-height:45px;text-align:left;border:1px solid #bedae8;background:#f3fbff;color:#125b85;border-radius:9px;font-size:12px;font-weight:800;padding:10px 13px;cursor:pointer;margin:1px 0 14px}
.marks-admin-shell .admin-bi-navigation[aria-current="page"]{background:#ddf5ff;color:#045b83;box-shadow:inset 4px 0 #00b8df;border-color:#8ed4ed}
.marks-admin-shell .admin-bi-navigation:hover{background:#e3f6ff}
.marks-admin-shell #admin-explorer[hidden],.marks-admin-shell #admin-bi-dashboard[hidden]{display:none!important}
html[data-theme="dark"] .marks-admin-shell .admin-bi-navigation{background:#143650;color:#b9ecff;border-color:#336681}
html[data-theme="dark"] .marks-admin-shell .admin-bi-navigation[aria-current="page"]{background:#14516d;color:#e5faff;border-color:#298ab2}

/* Admin sign-in: architectural illustration, not operational telemetry. */
.marks-admin-shell .admin-login{display:grid;grid-template-columns:minmax(310px,465px) minmax(0,1fr);gap:clamp(18px,2.5vw,36px);align-items:stretch;max-width:none;min-width:0;padding:0;background:transparent;border:0;box-shadow:none}
.marks-admin-shell .admin-login-card{min-width:0;padding:clamp(22px,2.5vw,36px);border-radius:20px;box-shadow:0 22px 60px #071b3512}
.marks-admin-shell .admin-login-card .overline{font-size:10px;font-weight:800;letter-spacing:.1em;color:var(--marks-app-accent)}
.marks-admin-shell .admin-login-card h2{font-size:clamp(23px,2.2vw,29px);line-height:1.25;margin:12px 0 27px;letter-spacing:-.03em}
.marks-admin-shell .admin-login-card form{gap:11px}
.marks-admin-shell .admin-login-card label{color:var(--text);font-size:12px}
.marks-admin-shell .admin-login-card input{width:100%;min-width:0;min-height:46px}
.marks-admin-shell .admin-login-card .button.primary{width:100%;min-height:48px;background:linear-gradient(115deg,#087cac,#5942c8);color:#fff}
.marks-admin-shell .admin-login-card>p{margin:22px 0 0;line-height:1.7;font-size:11px;color:#6a7d94}
.marks-admin-shell .admin-login-visual{display:flex;flex-direction:column;justify-content:center;min-width:0;overflow:hidden;border-radius:22px;border:1px solid #27547e;background:radial-gradient(ellipse at 76% 13%,#294477 0,transparent 49%),radial-gradient(ellipse at 20% 85%,#0c4b66 0,transparent 44%),linear-gradient(140deg,#111b35,#102b49);padding:clamp(25px,3.1vw,50px);color:#f2f9ff;position:relative;isolation:isolate}
.marks-admin-shell .admin-login-visual::before{content:"";position:absolute;inset:0;background-image:linear-gradient(#9ab8dd10 1px,transparent 1px),linear-gradient(90deg,#9ab8dd10 1px,transparent 1px);background-size:31px 31px;mask-image:linear-gradient(90deg,transparent,#000);z-index:-1}
.marks-admin-shell .admin-visual-top{display:flex;justify-content:space-between;gap:12px;align-items:center;flex-wrap:wrap}
.marks-admin-shell .admin-visual-label{font-weight:800;letter-spacing:.12em;font-size:10px;color:#a6e8f5}
.marks-admin-shell .admin-visual-env{font-size:10px;font-weight:700;letter-spacing:.06em;color:#b9d9fa;border:1px solid #a4d5e84f;border-radius:999px;padding:6px 11px;background:#e2f7ff0d}
.marks-admin-shell .admin-login-visual h2{font-size:clamp(25px,2.9vw,42px);max-width:560px;line-height:1.13;letter-spacing:-.045em;margin:26px 0 12px;color:#f5fbff}
.marks-admin-shell .admin-login-visual>p:not(.admin-visual-disclaimer){font-size:clamp(12px,1.15vw,15px);line-height:1.7;color:#c2d8eb;max-width:570px;margin:0}
.marks-admin-shell .admin-infra-art{display:block;width:min(100%,690px);height:auto;margin:22px auto 18px;filter:drop-shadow(0 12px 15px #0003)}
.marks-admin-shell .admin-visual-features{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;border-top:1px solid #b5d9f32c;padding-top:20px}
.marks-admin-shell .admin-visual-features span{font-size:11px;color:#c9dfef;line-height:1.5;min-width:0}
.marks-admin-shell .admin-visual-features strong{display:block;font-size:14px;color:#64d9ee;margin-bottom:5px}
.marks-admin-shell .admin-visual-disclaimer{font-size:10px!important;color:#99b5c9!important;margin:19px 0 0!important;line-height:1.5}
html[data-theme="dark"] .marks-admin-shell .admin-login-card{border-color:#405a74;background:#1c2940}
html[data-theme="dark"] .marks-admin-shell .admin-login-card>p{color:#b9cee1}
@media(max-width:980px){.marks-admin-shell .admin-login{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.marks-admin-shell .admin-login-visual{padding:25px}.marks-admin-shell .admin-login-visual h2{font-size:clamp(24px,3vw,33px)}.marks-admin-shell .admin-visual-features{grid-template-columns:1fr 1fr}}
@media(max-width:740px){.marks-admin-shell .admin-login{grid-template-columns:1fr}.marks-admin-shell .admin-login-card{order:1}.marks-admin-shell .admin-login-visual{order:2}.marks-admin-shell .admin-login-visual h2{max-width:570px}.marks-admin-shell .admin-infra-art{max-width:600px}}
@media(max-width:460px){.marks-admin-shell .admin-login-card,.marks-admin-shell .admin-login-visual{padding:20px;border-radius:14px}.marks-admin-shell .admin-visual-features{grid-template-columns:1fr 1fr}.marks-admin-shell .admin-visual-features span:last-child{grid-column:1/-1}.marks-admin-shell .admin-login-visual h2{font-size:27px}}
@media(prefers-reduced-motion:reduce){.marks-admin-shell .admin-login-card .button{transition:none}}
/* Evidence-only sampled timeline; deliberately no SLA/uptime inference. */
.marks-admin-shell .admin-infra-timeline{border:1px solid #d7e6f2;border-radius:13px;background:#f5faff;padding:17px 20px;margin:18px 0}
.marks-admin-shell .admin-infra-timeline h4{font-size:14px;color:#1a3556;margin:0 0 7px}
.marks-admin-shell .admin-infra-timeline p{color:#627a90;font-size:11px;line-height:1.6;margin:0 0 12px}
.marks-admin-shell .admin-infra-samples{display:flex;gap:4px;align-items:stretch;min-height:36px;max-width:100%;overflow:auto;padding:3px 0 5px}
.marks-admin-shell .admin-infra-sample{flex:1 1 10px;min-width:7px;max-width:34px;border-radius:5px;background:#15a9d0;min-height:29px}
.marks-admin-shell .admin-infra-sample[data-state="attention"]{background:#d7a14e}
.marks-admin-shell .admin-infra-sample[data-state="unknown"]{background:#9aa9b9}
.marks-admin-shell .admin-infra-timeline .admin-infra-legend{font-size:10px;margin:9px 0 0;color:#667c91}
html[data-theme="dark"] .marks-admin-shell .admin-infra-timeline{background:#1b2a42;border-color:#3b5774}
html[data-theme="dark"] .marks-admin-shell .admin-infra-timeline h4{color:#e0f5ff}
html[data-theme="dark"] .marks-admin-shell .admin-infra-timeline p{color:#b7cedf}

.infra-agent-script{white-space:pre-wrap;overflow:auto;max-height:55vh;padding:14px;border:1px solid #8795a9;border-radius:8px;background:#101827;color:#eaf0ff;user-select:text}
