:root{color-scheme:light;--bg:#f5f7fa;--panel:#fff;--line:#e0e6ee;--text:#202c3d;--muted:#758196;--accent:#315fcc}body{background:var(--bg);font:14px/1.5 'Segoe UI',Arial,sans-serif;color:var(--text);font-weight:400}header{height:76px;background:#fff;border-bottom:1px solid var(--line);max-width:none;padding:0 32px}.brand{font-size:19px;font-weight:600}.brand small{font-weight:500;font-size:9px}.logo{background:#315fcc;color:#fff;box-shadow:none;border-radius:10px;width:38px;height:38px;font-size:24px}main{max-width:1600px;padding:28px 32px}.intro{padding:0;margin-bottom:22px}.intro h1{font-size:26px;letter-spacing:-.6px;font-weight:600;margin:8px 0}.intro p{font-size:13px}.eyebrow{color:#687c9b;font-size:10px}.card{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;box-shadow:none;margin-bottom:18px}h2{font-size:16px;font-weight:600}input,select,textarea{background:#fff;color:#26364a;border:1px solid #d6deea;border-radius:7px;padding:10px 12px;font-size:13px}label{color:#65748a;font-size:12px;font-weight:400}button,.button{background:#315fcc;color:#fff;border:1px solid #315fcc;border-radius:7px;box-shadow:none;font-size:13px;font-weight:500;padding:9px 14px}button:hover{background:#254eae}.quiet{background:#fff;border-color:#d5deeb;color:#455976}.quiet:hover{background:#f0f4fa;color:#254eae}.metrics{gap:16px;margin-bottom:20px}.metric{background:#fff;border:1px solid var(--line);border-radius:10px;padding:20px}.metric strong{font-size:27px;font-weight:600;color:#263c60}.metric span{font-size:12px}.workspace{gap:20px;align-items:start}.title-row{gap:12px}th{font-size:10px;color:#75849a;background:#f6f8fb;text-transform:uppercase;letter-spacing:.7px;font-weight:600}td{font-size:12px;border-color:#edf1f6;padding:14px 10px}table{border-color:var(--line)}.badge{font-size:11px;font-weight:500;border-radius:5px;padding:4px 7px}.badge.succeeded,.health-live{background:#e8f5ee;color:#258150}.badge.failed,.health-die{background:#fcecee;color:#b84656}.health-verify,.health-limited{background:#fff4dd;color:#a77925}.health-unknown{background:#eef1f6;color:#69768a}.health-badge{display:inline-block;padding:4px 9px;border-radius:5px;font-size:11px;font-weight:600}.health-note{display:block;max-width:260px;color:#758196;font-size:11px;margin-top:5px}.health-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:18px 0}.health-kpi{border:1px solid var(--line);border-radius:9px;padding:16px}.health-kpi span{font-size:11px;color:#758196;display:block}.health-kpi strong{font-size:25px;font-weight:600;display:block;margin-top:7px;color:#243d68}.health-explainer{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:18px}.health-explainer>div{background:#f6f8fc;border-radius:9px;padding:18px;font-size:12px;color:#60718b}.health-explainer strong{display:block;color:#334863;font-weight:600;margin-bottom:8px}.health-explainer p{margin:6px 0}.health-capacity{font-size:12px;color:#6e7f95;margin:12px 0}.profile{font-size:12px;border-color:var(--line)}.profile strong{font-size:13px;font-weight:600}.profile small{font-size:11px}.account-login-form{background:#f6f8fc;border:1px solid var(--line);border-radius:9px;padding:16px}#capcutLoginButton{font-size:13px;padding:12px;font-weight:500}.access{padding:14px 22px}.access h2{font-size:14px}.access p{font-size:11px}.secret{background:#f0f8f5;border-color:#bedccc}pre{background:#f5f7fb;color:#39516d;border-color:var(--line);font-size:12px}a{color:#315fcc}#capcutQrDialog{background:#fff;color:#26364a;border-color:var(--line)}#notice:not(:empty){background:#edf5ff;color:#294f8c;border-color:#c5d8f3;box-shadow:0 8px 30px #243a591a}#notice.error{background:#fff0f1;color:#a44251;border-color:#ebc1c8}footer{font-size:11px}.muted{color:#77859a}#healthPanel .table-wrap{margin-top:12px}#emailAccess{padding:18px 22px}#emailAccess h2{margin-top:0}#signedInEmail{font-size:12px}#operatorActions{gap:8px}.health-audit{max-height:190px;overflow:auto;border-top:1px solid var(--line);padding-top:10px;font-size:12px}.health-audit p{margin:6px 0;color:#718097}@media(max-width:800px){main{padding:20px 14px}.health-grid{grid-template-columns:1fr 1fr}.health-explainer{grid-template-columns:1fr}header{padding:0 16px}.intro h1{font-size:23px}header>a:not(.brand){font-size:11px}.card{padding:16px}}

.actions .quiet,#logout.quiet{background:#fff;color:#4c6385;border-color:#d6dfec}.actions .quiet:hover,#logout.quiet:hover{background:#edf3fc}#emailLogin{align-items:end}#emailLogin>button{height:41px}details summary{color:#536e95}.health-disconnected{background:#eef1f6;color:#69768a}



/* Stronger surfaces and restrained section accents. */

:root{--bg:#e8edf4;--line:#c7d3e2;--muted:#60718a;--text:#26384f}

body{background:#e8edf4}header{background:#15283f;border-bottom:1px solid #294662;box-shadow:0 3px 14px #15283f24}header .brand{color:#fff}header .brand small{color:#adbed4}header a{color:#d0e0fa}.logo{background:#3669d3}

main{max-width:1480px}.intro{border-left:4px solid #477cc2;padding:5px 0 5px 18px;margin-bottom:22px}.intro h1{font-size:25px;color:#203b60}.intro p,.muted{color:#60738e}.eyebrow{color:#486b96}

.card{border:1px solid #c3d0e1;box-shadow:0 4px 16px #25426110;border-radius:12px;padding:22px;margin-bottom:22px;border-top:3px solid #8ba6c8}

.card h2{color:#254366;font-size:16px;font-weight:600;margin-top:0;margin-bottom:14px;padding-bottom:12px;border-bottom:1px solid #d8e1ed}

#emailAccess{background:#f5f9ff;border-top-color:#4979c4}.access{background:#dce6f3;border-color:#bccde2;padding:13px 20px;box-shadow:none}.access h2{padding-bottom:0;border:0;margin-bottom:5px}

#healthPanel{border-top:4px solid #315fcc}#healthPanel>.title-row{background:#f0f5fc;margin:-22px -22px 18px;padding:18px 22px;border-bottom:1px solid #d0dced;border-radius:9px 9px 0 0}#healthPanel .title-row h2{border:0;padding:0;margin:0 0 5px}

.health-grid{gap:12px}.health-kpi{border:1px solid #c4d4e7;background:#edf4ff;border-left:4px solid #4979ca;box-shadow:0 2px 6px #18355409}.health-kpi:nth-child(1){background:#edf7f4;border-left-color:#359582}.health-kpi:nth-child(3){background:#f1f0fa;border-left-color:#7a74b9}.health-kpi:nth-child(4){background:#fff7e9;border-left-color:#c99439}.health-kpi span{color:#566c88}.health-kpi strong{color:#203c61}

.health-explainer>div{border:1px solid #c9d7e7;background:#eef3fa;color:#536a87}.health-note,.health-audit p,.health-capacity{color:#5a6f8a}

.table-wrap{border:1px solid #c6d3e3;border-radius:9px;overflow:auto}th{background:#e3ebf6;color:#456180;font-size:11px}td{border-color:#dce4ef}tbody tr:nth-child(even){background:#f5f8fc}tbody tr:hover{background:#edf4ff}

.workspace>.card:first-child{border-top-color:#5486bc}.workspace>.card:nth-child(2){border-top-color:#4a938b}

.account-login-form{background:#eaf3f5;border:1px solid #bdd6da}.profile{background:#f4f7fc;border:1px solid #d0dce9;border-radius:9px;padding:14px;margin:10px 0}

input,select,textarea{background:#f8fafd;border-color:#bccbdd;color:#294460}input:focus,select:focus,textarea:focus{outline:2px solid #9cbdec;outline-offset:1px;background:#fff}label{color:#465e7c;font-weight:500}

button,.button{box-shadow:0 2px 4px #29477612}button:hover,.button:hover{box-shadow:0 3px 8px #24467922}.quiet,.actions .quiet,#logout.quiet{background:#edf3fc;border-color:#bdcee5;color:#355782}

.metric{background:#f3f7fd;border-color:#c0d1e6;border-left:4px solid #6791c6;box-shadow:0 3px 9px #203a5810}pre{background:#eaf0f8;border:1px solid #c9d7e7}

@media(max-width:800px){main{padding:18px 12px}.card{padding:16px}#healthPanel>.title-row{margin:-16px -16px 16px;padding:16px;flex-wrap:wrap}.intro h1{font-size:22px}.health-kpi{padding:12px}.health-kpi strong{font-size:22px}header{height:auto;min-height:76px;gap:12px;flex-wrap:wrap;padding:14px 16px}}


.profile-status-line{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin-top:9px}
.profile .profile-power{display:inline-flex;align-items:center;gap:7px;border-radius:6px;padding:4px 9px;font-size:12px;font-weight:600;line-height:1.4;white-space:nowrap}
.profile-power::before{content:"";width:7px;height:7px;flex:none;border-radius:50%;background:currentColor}
.profile .profile-power.is-on{color:#087446;background:#dbffed;border:1px solid #58dfa0;box-shadow:0 0 7px #2edc8d55,inset 0 0 8px #66efad35;text-shadow:0 0 8px #29d68055}
.profile-power.is-on::before{background:#16d777;box-shadow:0 0 4px #0abb62,0 0 10px #22dc8999}
.profile .profile-power.is-off{color:#738096;background:#e9edf3;border:1px solid #cbd4df;box-shadow:none}
.profile-status-line>small{margin:0;color:#5c718e}

/* VEO4U reference palette: teal/blue headings, gold frames, luminous controls. */
body{background:radial-gradient(ellipse at 8% 0,#d6faf3 0,transparent 42%),radial-gradient(ellipse at 95% 15%,#efe2ff 0,transparent 40%),#fffaf0}
header{background:linear-gradient(110deg,#087e7c,#215ee0);border-bottom:2px solid #ffd168;box-shadow:0 4px 20px #2468b82b}header a{color:#fff}.logo{background:linear-gradient(140deg,#3febc8,#8abaff);color:#103b69}
.intro{border-left-color:#ecae29}.intro h1{color:#145a83}.eyebrow{color:#9c6a0c}
.card{border:1px solid #efbb53;border-top:3px solid #f7b632;background:linear-gradient(150deg,#fff8ec 0,#fff 45%);box-shadow:0 0 0 5px #ffdd872c,0 8px 22px #79612717;border-radius:15px;margin-bottom:26px}
.card h2{background:linear-gradient(105deg,#0b827c,#215cdf);color:#fff;border:0;padding:13px 16px;border-radius:10px;box-shadow:0 5px 14px #14679925;font-size:16px}
#emailAccess{background:linear-gradient(125deg,#fff6e4,#f3f8ff);border-color:#efba58}.access{background:linear-gradient(105deg,#e1fff5,#e5f0ff);border:1px solid #68cfc3;box-shadow:0 4px 16px #139b8e12}.access h2{background:none;box-shadow:none;color:#096f68;padding:0}
#healthPanel{border-top-color:#efac22}#healthPanel>.title-row{background:linear-gradient(110deg,#0b827c,#215cdf);border-bottom:1px solid #337ac5;color:#fff;border-radius:11px 11px 0 0}#healthPanel .title-row h2{background:none;box-shadow:none;color:#fff;padding:0}#healthPanel .title-row p{color:#deefff}#scanAll{background:linear-gradient(110deg,#ffe475,#ffb724);color:#3c3215;border-color:#ffe28d;box-shadow:0 0 15px #ffc24766}
.health-kpi{background:linear-gradient(125deg,#edf4ff,#e5edff);border-color:#aec7f3;border-left-color:#4482de}.health-kpi:nth-child(1){background:linear-gradient(125deg,#e4fff0,#d5f9ec);border-color:#83dcb5;border-left-color:#0bad76}.health-kpi:nth-child(3){background:linear-gradient(125deg,#f7eaff,#ece6ff);border-color:#d3b5f3;border-left-color:#a355dc}.health-kpi:nth-child(4){background:linear-gradient(125deg,#fff8d7,#ffedc4);border-color:#f1ce78;border-left-color:#efa813}.health-kpi strong{color:#175a75}.health-kpi:nth-child(1) strong{color:#087b50}.health-kpi:nth-child(3) strong{color:#7c37b2}.health-kpi:nth-child(4) strong{color:#9b6305}
.workspace>.card:nth-child(2) h2{background:linear-gradient(105deg,#14b46d,#157149)}
.health-explainer>div{background:linear-gradient(130deg,#eafff6,#f6fbff);border-color:#b0ded1}.health-explainer>div:nth-child(2){background:linear-gradient(130deg,#fff6de,#fffaf0);border-color:#eed197}
.profile{background:linear-gradient(120deg,#f0fff9,#edf5ff);border:1px solid #86cfcb;border-left:4px solid #0b9d8c;box-shadow:0 3px 12px #128c7910}.profile:nth-child(2n){background:linear-gradient(120deg,#fff8e9,#fffdf7);border-color:#e6c57e;border-left-color:#e9aa2e}.profile strong{color:#116d68}.profile:nth-child(2n) strong{color:#97600c}
.account-login-form{background:linear-gradient(120deg,#e5fff4,#e7f3ff);border-color:#81d5c7}
button,.button{background:linear-gradient(110deg,#0e9691,#2860df);border-color:#459cbb;color:#fff;box-shadow:0 4px 10px #236aa326}button:hover,.button:hover{background:linear-gradient(110deg,#0b827e,#194cca);box-shadow:0 5px 16px #267acc38}
.quiet,.actions .quiet,#logout.quiet{background:linear-gradient(110deg,#e4fff8,#e9f1ff);border-color:#8ecbcf;color:#176875}.quiet:hover,.actions .quiet:hover{background:#d3f5ef;color:#075f62}
th{background:linear-gradient(110deg,#def6ef,#e7edff);color:#245973}tbody tr:nth-child(even){background:#f2fbf8}
.metric{border-color:#b5d5cb;background:linear-gradient(120deg,#edfff5,#e9f3ff)}
.profile .profile-power.is-on{background:#baffd8;border-color:#25c77d;color:#006e3c;box-shadow:0 0 10px #1bd98566,inset 0 0 9px #edfff1;text-shadow:0 0 5px #4bed96}
button:disabled{box-shadow:none}

/* Account manager: full-width, compact cards and a bounded list. */
#accountManager{width:100%;margin-bottom:24px!important;padding:24px!important}
#accountManager h2{font-size:25px;margin:0 0 16px!important}
.account-add-panel{border:1px solid #8ad6d8;border-radius:12px;padding:13px 16px;margin-bottom:16px;background:#effbf9}
.account-add-panel>summary{color:#08707c;font-weight:750;cursor:pointer;list-style-position:inside}
.account-add-panel[open]{margin-bottom:20px}.account-add-panel .account-login-form{max-width:none}
.account-toolbar{display:grid;grid-template-columns:minmax(200px,1fr) 200px 160px;gap:14px;margin:16px 0}
.account-toolbar label{margin:0!important;font-size:12px;color:#294963;font-weight:700}
.account-toolbar input,.account-toolbar select{width:100%;margin-top:6px;min-height:42px;background:white!important;color:#163951!important;border:1px solid #b2d0e1!important;border-radius:9px}
.account-totals{color:#395b72;font-size:13px;margin:12px 0!important}
#accountManager #profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
#accountManager #profiles .profile{margin:0!important;padding:14px!important;min-width:0;display:flex;justify-content:space-between;gap:12px;align-items:flex-start;border-radius:12px!important;box-shadow:none!important}
#accountManager .profile>div:first-child{min-width:0;flex:1}#accountManager .profile strong{display:block;overflow-wrap:anywhere;font-size:14px!important;line-height:1.5}
#accountManager .profile small{overflow-wrap:anywhere;font-size:11px!important;line-height:1.6}
#accountManager .profile .actions{flex:0 0 145px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:6px!important;margin:0!important}
#accountManager .profile .actions button{font-size:11px!important;padding:7px 9px!important;min-height:32px!important;margin:0!important}
#accountManager .profile-status-line{margin-top:9px;display:flex;flex-wrap:wrap;gap:7px}
.account-pager{display:flex;justify-content:flex-end;align-items:center;gap:14px;margin-top:18px;border-top:1px solid #d7e7ef;padding-top:16px}
.account-pager span{color:#35566d;font-size:13px}.account-pager button{min-width:88px}.account-pager button:disabled{opacity:.45;cursor:not-allowed}
.account-empty{grid-column:1/-1;padding:24px;text-align:center;color:#58748b;background:#f1f7fc;border-radius:10px}
#admin>.account-single-workspace{grid-template-columns:1fr!important}#admin>.account-single-workspace>section{max-width:none!important}
.account-health-details{margin:16px 0}.account-health-details>summary,#healthPanel>details>summary{cursor:pointer;color:#19607f;font-weight:650;padding:10px 0}
.account-health-details[open]>#healthAccounts{max-height:480px;overflow:auto}
@media(min-width:1450px){#accountManager #profiles{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1000px){#accountManager #profiles{grid-template-columns:1fr}}
@media(max-width:600px){#accountManager{padding:16px!important}.account-toolbar{grid-template-columns:1fr 1fr;gap:10px}.account-toolbar>label:first-child{grid-column:1/-1}#accountManager .profile .actions{flex-basis:120px}.account-pager{justify-content:space-between;gap:7px}.account-pager span{font-size:11px}.account-pager button{min-width:65px;padding:8px!important}}
