/* Local dashboard design: neutral surfaces, readable density, restrained blue. */
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI","Microsoft YaHei",sans-serif;color:#1d2939;background:#f6f7f9;font-size:15px;line-height:1.55;--blue:#2563eb;--blue-soft:#eff4ff;--line:#e4e7ec;--muted:#667085;--surface:#fff;--radius:12px;--shadow:0 1px 2px #10182804}
*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;max-width:100%;padding:9px 14px;border:1px solid transparent;border-radius:8px;font-size:14px;font-weight:550;line-height:1.4;cursor:pointer;transition:background .15s,border-color .15s,color .15s;white-space:normal}button:disabled{opacity:.5;cursor:not-allowed}svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}button svg{width:18px;height:18px}a{color:inherit}input,select{display:block;width:100%;min-width:0;min-height:42px;border:1px solid #d0d5dd;border-radius:8px;padding:9px 12px;background:#fff;color:#1d2939;font-size:14px;line-height:1.5;outline:none;box-shadow:var(--shadow)}input::placeholder{color:#98a2b3}input:focus,select:focus{border-color:#84a8fa;box-shadow:0 0 0 3px #2563eb14}input:disabled,select:disabled{background:#f8fafc;color:#98a2b3;box-shadow:none}button:focus-visible,a:focus-visible{outline:3px solid #2563eb55;outline-offset:3px}input[type=checkbox],input[type=radio]{min-height:0;padding:0;accent-color:var(--blue);box-shadow:none}label{display:block;font-size:14px;font-weight:550;line-height:1.6;margin:19px 0 0;min-width:0}label input,label select{margin-top:8px}h1,h2,h3,p{margin:0}h1{font-size:26px;letter-spacing:-.6px;font-weight:650;line-height:1.35}h2{font-size:23px;font-weight:650;line-height:1.4}h3{font-size:17px;font-weight:600;line-height:1.45}strong{font-weight:600}.primary{background:var(--blue);border-color:var(--blue);color:#fff;box-shadow:0 1px 2px #10182812}.primary:hover:not(:disabled){background:#1d4ed8;border-color:#1d4ed8}.secondary{background:#fff;border-color:#d0d5dd;color:#344054;box-shadow:var(--shadow)}.secondary:hover:not(:disabled){background:#f8fafc;border-color:#98a2b3}.ghost{background:transparent;color:#667085}.ghost:hover:not(:disabled){background:#f2f4f7;color:#344054}.danger-button{background:#d92d20;border-color:#d92d20;color:#fff}.danger-button:hover:not(:disabled){background:#b42318;border-color:#b42318}.text-danger{background:#fff;border-color:#fecdca;color:#b42318}.text-danger:hover:not(:disabled){background:#fff4f2}.large{width:100%;min-height:46px;margin-top:8px}.muted{color:var(--muted);font-size:13px;line-height:1.6;overflow-wrap:anywhere}.eyebrow{font-size:12px;line-height:1.5;letter-spacing:.3px;font-weight:550;color:#98a2b3}.badge{display:inline-flex;align-items:center;gap:6px;background:var(--blue-soft);color:#2459bf;padding:5px 10px;border:1px solid #dbe6ff;border-radius:6px;font-size:12px;font-weight:550;margin-bottom:22px}.error{color:#b42318;min-height:22px;margin-top:10px;font-size:13px;line-height:1.7;overflow-wrap:anywhere}[hidden]{display:none!important}
/* Authentication */
.auth-loading{min-height:100vh;display:grid;place-items:center;background:#f6f7f9;padding:24px}.loading-card{display:flex;flex-direction:column;align-items:center;gap:18px;color:#344054}.loading-card strong{font-size:17px}.loading-message{display:flex;align-items:center;gap:10px;color:#667085;font-size:14px}.spinner{width:15px;height:15px;border:2px solid #dbe2eb;border-top-color:var(--blue);border-radius:50%;animation:spin .8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}
.login-shell{display:grid;grid-template-columns:minmax(360px,44%) minmax(0,1fr);min-height:100vh}.brand-panel{position:relative;display:flex;flex-direction:column;justify-content:space-between;background:#111c30;padding:46px clamp(30px,5.5vw,94px);color:#fff;overflow:hidden}.brand-panel::before{content:"";position:absolute;inset:0;background:radial-gradient(ellipse at 20% 80%,#2c4b781f,transparent 70%);pointer-events:none}.login-brand{position:relative;display:flex;align-items:center;gap:13px;text-decoration:none;font-size:20px;font-weight:650;line-height:1.3}.login-brand img{border:1px solid #ffffff16;border-radius:11px}.login-brand small{display:block;margin-top:5px;color:#9aa8bb;font-size:12px;font-weight:400;letter-spacing:1px}.brand-intro{position:relative;width:100%;max-width:420px;margin:60px 0}.brand-panel .eyebrow{color:#a2b1c7;font-size:13px}.brand-panel h1{font-size:clamp(34px,2.6vw,48px);line-height:1.4;letter-spacing:-1.2px;margin:18px 0 20px;font-weight:600}.brand-intro>p:not(.eyebrow){font-size:15px;color:#a8b5c8;line-height:1.9}.brand-preview{margin-top:38px;padding:21px;border:1px solid #ffffff15;border-radius:14px;background:#ffffff08;box-shadow:0 14px 28px #00000012;max-width:355px}.preview-heading,.preview-storage{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:12px;color:#c5d0df}.preview-heading{font-weight:550}.preview-dots{letter-spacing:3px;color:#687b97}.preview-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:22px 0;padding-bottom:20px;border-bottom:1px solid #ffffff10}.preview-grid div{min-width:0}.preview-grid span{display:block;color:#8296b1;font-size:11px}.preview-grid strong{display:block;color:#e5ebf3;font-size:17px;margin-top:7px;font-weight:500}.preview-track{height:5px;background:#ffffff0d;margin-top:12px;border-radius:8px;overflow:hidden}.preview-track i{display:block;height:100%;width:64%;background:#7ea5ed;border-radius:8px}.preview-bottom{display:flex;align-items:center;gap:7px;margin-top:17px;font-size:11px;color:#8ea3bf}.preview-dot{width:6px;height:6px;border-radius:50%;background:#8fb2ef}.brand-foot{position:relative;display:flex;justify-content:space-between;gap:15px;font-size:10px;letter-spacing:1.8px;color:#8a9ab0}.brand-foot span{font-size:11px;letter-spacing:0;color:#7688a2}.login-panel{display:flex;flex-direction:column;justify-content:center;align-items:center;position:relative;background:white;padding:60px 40px}.login-panel form{width:100%;max-width:385px}.login-panel h2{margin-bottom:12px;font-size:29px;letter-spacing:-.8px}.login-panel #login-hint{font-size:14px;color:#667085;line-height:1.8;margin-bottom:28px}.login-panel label{margin-top:20px}.login-panel input{min-height:45px}.login-note{font-size:12px;color:#98a2b3;line-height:1.7;text-align:center;margin-top:24px}.login-footer{position:absolute;bottom:28px;color:#98a2b3;font-size:12px}
/* Navigation and work area */
.console{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{position:sticky;top:0;height:100vh;display:flex;flex-direction:column;padding:31px 20px 22px;background:#fcfcfd;border-right:1px solid var(--line)}.wordmark{display:flex;align-items:center;gap:12px;text-decoration:none;margin:0 11px 0 10px;line-height:1.25;font-size:20px;font-weight:650}.wordmark img{border-radius:10px}.wordmark small{display:block;color:#98a2b3;font-size:11px;font-weight:450;margin-top:7px;letter-spacing:.5px}.nav-heading{margin:42px 13px 12px;font-size:11px;font-weight:550;color:#98a2b3;letter-spacing:1px}.sidebar nav{display:flex;flex-direction:column;gap:6px}.nav{display:flex;justify-content:flex-start;gap:12px;width:100%;background:transparent;color:#667085;text-align:left;min-height:44px;padding:10px 13px;font-size:14px;border-radius:8px;font-weight:500;white-space:nowrap}.nav svg{width:19px;height:19px;color:#7b8799;stroke-width:1.7}.nav:hover{background:#f2f4f7;color:#344054}.nav.active{background:#edf3ff;color:#235dce;font-weight:600}.nav.active svg{color:#2563eb}.sidebar-bottom{margin-top:auto;border-top:1px solid var(--line);padding:20px 8px 0}.workspace-label{display:flex;align-items:flex-start;gap:9px;font-size:12px;color:#475467;line-height:1.5}.workspace-label small{display:block;font-size:11px;color:#98a2b3;margin-top:4px}.workspace-dot{width:7px;height:7px;flex:none;background:#98a2b3;border-radius:50%;margin-top:6px}.sidebar-bottom #logout{justify-content:flex-start;width:100%;font-size:13px;min-height:36px;padding:8px 0;margin-top:15px;color:#667085}.sidebar-bottom #logout:hover{padding-left:8px}.sidebar-bottom #logout svg{width:16px;height:16px}main{min-width:0;width:100%;max-width:none}.topbar{position:sticky;top:0;z-index:15;display:flex;align-items:center;justify-content:space-between;gap:24px;background:#ffffffee;backdrop-filter:blur(14px);border-bottom:1px solid var(--line);min-height:103px;padding:21px 36px}.topbar .eyebrow{margin-bottom:5px}.topbar h1{font-size:24px;line-height:1.35}.page-heading{min-width:0}.topbar-actions{display:flex;align-items:center;gap:22px;flex:none}.topbar #refresh{font-size:13px;min-height:38px;white-space:nowrap}.topbar #refresh:disabled svg{animation:spin 1s linear infinite}.profile-link{display:flex;align-items:center;justify-content:flex-start;gap:10px;min-width:0;max-width:240px;background:transparent;padding:0 0 0 20px;border-radius:0;border-left:1px solid var(--line);text-align:left;color:#344054;min-height:42px}.profile-avatar{display:grid;place-items:center;flex:none;width:38px;height:38px;border:1px solid #e2e7ef;border-radius:50%;background:#f2f4f7;color:#667085}.profile-avatar svg{width:19px;height:19px}.profile-copy{display:block;min-width:0}.profile-copy #admin-name{display:block;font-size:13px;max-width:142px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:600}.profile-copy small{display:block;font-size:11px;font-weight:400;color:#98a2b3;margin-top:3px}.profile-chevron{width:12px;height:12px;color:#98a2b3}.profile-link:hover #admin-name{color:var(--blue)}.workspace-body{padding:30px 36px 24px;min-width:0}#content{min-width:0}#status{display:block;padding:13px 16px;border:1px solid #a6f4c5;border-radius:9px;background:#f0fdf4;color:#15703a;line-height:1.6;font-size:14px;margin-bottom:22px;overflow-wrap:anywhere}#status.failure{background:#fff4f2;border-color:#fecdca;color:#b42318}footer{display:flex;align-items:center;justify-content:space-between;gap:18px;font-size:11px;color:#98a2b3;padding-top:21px;margin-top:12px;border-top:1px solid var(--line);line-height:1.8}
/* Metrics, cards, data and policy */
.metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px;margin-bottom:24px}.metric,.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow);min-width:0}.metric{padding:22px 24px}.metric p{font-size:13px;color:#667085;font-weight:500}.metric-title{display:flex;align-items:center;justify-content:space-between;gap:12px}.ui-icon{display:inline-flex;align-items:center;color:#98a2b3;flex:none}.ui-icon svg{width:20px;height:20px}.card h3:has(.ui-icon){display:flex;align-items:center;gap:9px}.card h3 .ui-icon{color:#667085}.metric strong{display:block;font-size:32px;letter-spacing:-.8px;font-weight:650;line-height:1.25;margin:14px 0 11px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.metric small{display:block;font-size:12px;color:#98a2b3;line-height:1.55}.grid-two{display:grid;grid-template-columns:1.15fr 1fr;gap:24px;align-items:stretch}.card{padding:24px;margin-bottom:24px}.card h3{margin-bottom:20px}.card p{line-height:1.8}.card-head{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:20px}.card-head h3{margin:0}.stat-line{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;min-width:0;padding:14px 0;border-bottom:1px solid #eef0f3;font-size:14px;line-height:1.65}.stat-line:last-child{border-bottom:0}.stat-line span{color:#667085;flex:none}.stat-line strong{min-width:0;text-align:right;overflow-wrap:anywhere;font-size:14px;font-weight:550;font-variant-numeric:tabular-nums}.bar{height:8px;background:#eff2f6;border-radius:12px;overflow:hidden;margin:8px 0 15px}.bar i{display:block;height:100%;background:#4b83ed;border-radius:12px}.notice{background:#edf3ff;border:1px solid #dbe6fb;border-radius:10px;padding:17px 20px;color:#466184;font-size:13px;line-height:1.9;overflow-wrap:anywhere}.actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.retention-card .actions{margin-top:20px}.search{display:flex;align-items:center;gap:8px;width:min(390px,100%);min-width:0}.search input{min-width:0;min-height:39px}.search button{flex:none;min-height:39px;white-space:nowrap}.table-wrap{margin:0 -24px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin;scrollbar-color:#cbd5e1 #f8fafc}table{border-collapse:collapse;width:100%;text-align:left;font-size:14px;white-space:nowrap}thead{background:#f8fafc}th{padding:13px 22px;font-size:12px;color:#667085;font-weight:550;border-top:1px solid #eef0f3;border-bottom:1px solid var(--line)}td{padding:18px 22px;border-bottom:1px solid #eef0f3;color:#475467;line-height:1.55}tbody tr:hover{background:#fbfcfe}tbody tr:last-child td{border-bottom:0}td strong{color:#344054;font-weight:550}td small{display:block;font-size:11px;color:#98a2b3;margin-top:5px;line-height:1.6;overflow-wrap:anywhere}.pill{display:inline-flex;align-items:center;gap:5px;font-size:11px;font-weight:500;line-height:1.5;padding:3px 8px;border:1px solid #d1fadf;border-radius:6px;background:#f0fdf4;color:#16804a;max-width:100%;white-space:normal;overflow-wrap:anywhere}.pill.off{border-color:#fecdca;background:#fff4f2;color:#c24135}.pager{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:20px;border-top:1px solid #f1f3f7;margin-top:4px;font-size:12px;color:#667085}.pager span{margin-right:auto;min-width:0;overflow-wrap:anywhere}.pager button{min-height:36px;font-size:12px;padding:8px 12px;white-space:nowrap}.empty{padding:50px 20px;text-align:center;color:#98a2b3;font-size:14px}.detail-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px;min-width:0}.detail-heading>div:first-child{min-width:0}.detail-heading .ghost{min-height:30px;padding:0;font-size:12px;margin-bottom:10px;background:transparent}.detail-heading h2{font-size:25px;overflow-wrap:anywhere}.detail-heading .muted{margin-top:5px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px}.detail-heading .actions{justify-content:flex-end;flex:none}.subtabs{display:flex;align-items:center;gap:3px;min-width:0;border:1px solid #e4e7ec;border-radius:8px;padding:3px;background:#f8fafc}.subtabs button{background:transparent;border-color:transparent;color:#667085;min-height:33px;padding:7px 12px;font-size:13px;white-space:nowrap;border-radius:6px}.subtabs button.active{background:#fff;color:#344054;border-color:#e4e7ec;box-shadow:0 1px 2px #10182809;font-weight:600}.record-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.record{padding:18px;border:1px solid #e4e7ec;border-radius:10px;min-width:0;background:#fff}.record .code{margin:13px 0 10px;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:15px;line-height:1.65;color:#344054;white-space:pre-wrap;overflow-wrap:anywhere}.record p{font-size:12px;color:#667085;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.record .note{border-top:1px solid #eef0f3;padding-top:12px;margin-top:13px;color:#475467}.record .actions{margin-top:16px;gap:7px}.record .actions button{min-height:33px;padding:7px 9px;font-size:11px}.record-grid>.empty{grid-column:1/-1}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 24px}.form-grid label{margin:12px 0;min-width:0}.form-grid small{display:block;color:#98a2b3;font-size:12px;font-weight:400;line-height:1.7;margin-top:8px}.checkbox{display:flex;align-items:center;gap:9px;margin:15px 0;font-size:13px;font-weight:450;line-height:1.7}.checkbox input{flex:none;width:16px;height:16px;margin:0}.form-end{display:flex;justify-content:flex-end;margin-top:22px;padding-top:20px;border-top:1px solid #eef0f3}.policy-note{font-size:12px;color:#667085;line-height:1.8;margin-top:18px;overflow-wrap:anywhere}.audit-line{display:grid;grid-template-columns:175px minmax(0,1fr);gap:24px;border-bottom:1px solid #eef0f3;padding:20px 0;font-size:14px}.audit-line:last-child{border-bottom:0}.audit-line>span{font-size:12px;color:#98a2b3;font-variant-numeric:tabular-nums}.audit-line strong{font-size:14px}.audit-line p{overflow-wrap:anywhere;font-size:12px;margin-top:5px}.audit-line p:last-child{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:11px;background:#f8fafc;padding:7px 10px;border-radius:5px;color:#8190a4}.user-link{padding:0;min-height:22px;background:transparent;color:#245fc9;text-align:left;font-size:14px;font-weight:600;white-space:normal;overflow-wrap:anywhere;line-height:1.6}.user-link:hover{text-decoration:underline;text-underline-offset:3px}.users-card td,.users-card th{padding-left:20px;padding-right:20px}.users-card td:first-child{min-width:185px;max-width:290px}.users-card td:last-child,.users-card th:last-child{position:sticky;right:0;text-align:right;background:#fff;box-shadow:-8px 0 12px -12px #344054}.users-card th:last-child{background:#f8fafc}.users-card td:last-child button{min-height:35px;font-size:12px;padding:8px 11px;white-space:nowrap}
/* Storage capacity stays separate from server filesystem capacity. */
.storage-capacity-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,270px),1fr));gap:24px;margin-bottom:24px}.image-storage-view>.storage-capacity-grid{grid-column:1/-1;margin-bottom:0}.storage-capacity-grid>.card{margin-bottom:0}.storage-capacity-card .card-head{align-items:flex-start;flex-wrap:wrap;gap:10px}.storage-capacity-card .card-head h3{margin:0}.storage-capacity-grid>.error{grid-column:1/-1}.storage-capacity-card .stat-line span{white-space:normal}
/* Storage selectors and focused settings layout */
select{appearance:none;padding:10px 35px 10px 12px;background-image:linear-gradient(45deg,transparent 50%,#667085 50%),linear-gradient(135deg,#667085 50%,transparent 50%);background-position:calc(100% - 17px) 50%,calc(100% - 12px) 50%;background-size:5px 5px;background-repeat:no-repeat}.storage-choices{border:0;min-width:0;padding:0;margin:0 0 22px}.storage-choices legend{font-size:13px;font-weight:550;color:#667085;margin-bottom:12px;padding:0}.choice-group{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.choice-option{display:flex;align-items:flex-start;gap:11px;padding:16px;margin:0;border:1px solid #dbe0e8;border-radius:9px;background:#fff;cursor:pointer;min-width:0;transition:border-color .15s,background .15s}.choice-option:hover{background:#fafcff;border-color:#a9c2f8}.choice-option:has(input:checked){background:#f4f7ff;border-color:#6799f0;box-shadow:0 0 0 1px #6799f0}.choice-option:has(input:focus-visible){outline:3px solid #2563eb22;outline-offset:3px}.choice-option:has(input:disabled){opacity:.6;cursor:not-allowed}.choice-option input{appearance:auto;flex:none;width:15px;height:15px;margin:4px 0 0;border:none;padding:0;background:transparent;box-shadow:none}.choice-copy{display:block;min-width:0}.choice-copy strong{display:block;font-size:13px;font-weight:550;line-height:1.6;color:#344054;overflow-wrap:anywhere}.choice-copy small{display:block;margin-top:5px;font-size:11px;color:#98a2b3;font-weight:400;line-height:1.65;overflow-wrap:anywhere}.storage-profile{max-width:none}.storage-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-top:20px;padding-top:18px;border-top:1px solid #eef0f3}.storage-footer .policy-note{margin:0}.storage-footer button{flex:none;white-space:nowrap}.storage-empty{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 15px;margin-top:16px;border:1px solid #e4e7ec;border-radius:8px;background:#f8fafc;color:#667085;font-size:12px}.storage-empty button{min-height:30px;font-size:12px;color:#2563eb;padding:6px;white-space:nowrap}.storage-endpoint{padding:10px 13px;margin-top:13px;background:#f8fafc;border:1px solid #e4e7ec;border-radius:7px;font-size:12px;color:#667085;overflow-wrap:anywhere;line-height:1.8}.policy-view,.image-storage-view{display:grid;grid-template-columns:minmax(0,1.65fr) minmax(280px,1fr);gap:24px;align-items:start}.policy-view>.card,.image-storage-view>.card{margin-bottom:0}.storage-cleanup-card .card-head,.cleanup-card .card-head{align-items:flex-start;flex-wrap:wrap}.detail-view{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px}.detail-view>.detail-heading,.detail-view>.metrics,.detail-view>.card:not(.credentials-card):not(.user-storage-card):not(.user-policy-card){grid-column:1/-1}.detail-view .user-policy-card{grid-column:1/-1}.detail-view .user-storage-card .choice-group{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-view .credentials-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.detail-view .credentials-card .form-grid label:first-child{grid-column:1/-1}
/* Confirmations and images */
dialog{width:calc(100% - 40px);max-width:480px;max-height:calc(100dvh - 48px);overflow:auto;border:1px solid #e4e7ec;border-radius:16px;padding:26px;color:#344054;background:#fff;box-shadow:0 24px 80px #10182830}dialog::backdrop{background:#10182870;backdrop-filter:blur(3px)}dialog h2{font-size:21px;margin:16px 0 11px}dialog p{font-size:13px;color:#667085;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}dialog label{font-size:13px}dialog .muted{font-size:11px;margin-top:9px}.dialog-symbol{display:grid;place-items:center;width:42px;height:42px;border-radius:12px;background:#eff4ff;border:1px solid #dbe6ff;color:#2563eb}.dialog-symbol svg{width:23px;height:23px}.danger-symbol{background:#fff4f2;border-color:#fee4e2;color:#d92d20}.dialog-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:21px;margin-top:20px;border-top:1px solid #eef0f3}.image-dialog{max-width:1050px;padding:20px}.image-toolbar{display:flex;align-items:center;justify-content:space-between;gap:15px;padding-bottom:16px;border-bottom:1px solid #e4e7ec}.image-toolbar strong{font-size:14px}.image-dialog #image-status{text-align:center;margin-top:17px;font-size:12px}.image-dialog img{display:block;max-width:100%;max-height:70dvh;object-fit:contain;margin:18px auto 0;border-radius:7px}
@media(min-width:1750px){.workspace-body{padding:34px 44px 26px}.topbar{padding-left:44px;padding-right:44px}.metrics{gap:24px}.metric{padding:24px 27px}.metric strong{font-size:35px}.record-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.policy-view,.image-storage-view{grid-template-columns:minmax(0,1.85fr) minmax(340px,1fr)}.policy-card .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1200px){.console{grid-template-columns:216px minmax(0,1fr)}.sidebar{padding:27px 14px 20px}.wordmark{margin-left:10px}.workspace-body{padding:26px 26px 22px}.topbar{padding:20px 26px}.metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.record-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-two{grid-template-columns:1fr 1fr;gap:20px}.policy-view,.image-storage-view{grid-template-columns:1fr}.policy-view>.card,.image-storage-view>.card{margin-bottom:0}.choice-group{gap:9px}.choice-option{padding:14px 12px;gap:8px}.detail-view{display:block}.topbar-actions{gap:15px}.profile-link{padding-left:15px;max-width:210px}.profile-copy #admin-name{max-width:110px}.brand-panel{padding:36px 40px}.brand-preview{margin-top:28px}}
@media(max-width:850px){.console{display:block}.sidebar{position:relative;height:auto;min-height:0;padding:18px 22px 0;border-right:0;border-bottom:1px solid var(--line);background:#fff}.wordmark{margin:0;font-size:18px;gap:10px}.wordmark img{width:34px;height:34px}.wordmark small{font-size:10px;margin-top:4px}.nav-heading,.workspace-label{display:none}.sidebar nav{display:flex;flex-direction:row;gap:6px;overflow-x:auto;scrollbar-width:none;margin:20px -22px 0;padding:0 18px 10px;overscroll-behavior-inline:contain}.sidebar nav::-webkit-scrollbar{display:none}.nav{width:auto;flex:none;font-size:13px;min-height:39px;padding:9px 12px;gap:8px}.nav svg{width:17px;height:17px}.sidebar-bottom{position:absolute;top:20px;right:22px;border:0;margin:0;padding:0}.sidebar-bottom #logout{margin:0;padding:7px 10px;min-height:32px;font-size:12px}.sidebar-bottom #logout:hover{padding-left:10px}.topbar{position:relative;min-height:96px;padding:20px 24px;gap:18px}.topbar h1{font-size:23px}.workspace-body{padding:24px}.topbar-actions{gap:12px}.profile-link{padding-left:12px}.profile-copy #admin-name{max-width:112px}.grid-two{grid-template-columns:1fr 1fr}.card{padding:22px}.table-wrap{margin:0 -22px}.login-shell{grid-template-columns:minmax(280px,42%) minmax(0,1fr)}.brand-panel{padding:30px 28px}.brand-panel h1{font-size:30px}.brand-intro{margin:55px 0}.brand-intro>p:not(.eyebrow){font-size:13px}.brand-preview{padding:16px}.preview-grid strong{font-size:14px}.brand-foot span{display:none}.login-panel{padding:50px 30px}.login-panel h2{font-size:25px}}
@media(max-width:650px){:root{font-size:14px}.topbar{padding:18px 18px;min-height:88px}.topbar h1{font-size:21px}.topbar .eyebrow{font-size:10px}.topbar-actions{gap:8px}.topbar #refresh{padding:9px;min-width:36px;min-height:36px}.topbar #refresh span{display:none}.profile-link{padding-left:10px;max-width:160px;gap:7px}.profile-avatar{width:33px;height:33px}.profile-copy #admin-name{font-size:12px;max-width:96px}.profile-copy small{font-size:10px}.profile-chevron{display:none}.workspace-body{padding:20px 18px}.metrics{gap:12px;margin-bottom:18px}.metric{padding:17px 16px}.metric p{font-size:12px}.metric strong{font-size:27px;margin:12px 0 8px}.metric small{font-size:11px}.grid-two{grid-template-columns:1fr;gap:0}.card{padding:20px;margin-bottom:18px}.card h3{font-size:16px;margin-bottom:18px}.card-head,.detail-heading{align-items:flex-start;flex-direction:column;gap:15px}.card-head h3{margin:0}.search{width:100%;max-width:none}.table-wrap{margin:0 -20px}.stat-line{font-size:13px;gap:15px;padding:12px 0}.stat-line strong{font-size:13px}.stat-line span{max-width:55%;flex:initial}.notice{padding:15px 16px;font-size:12px}.form-grid,.detail-view .credentials-card .form-grid{grid-template-columns:1fr;gap:0}.form-grid label{margin:11px 0}.form-grid small{font-size:11px}.form-end{margin-top:18px;padding-top:18px}.record-grid{grid-template-columns:1fr}.record{padding:16px}.subtabs{width:100%;justify-content:space-between;gap:1px}.subtabs button{font-size:12px;padding:8px 10px}.detail-heading{margin-bottom:20px}.detail-heading .actions{justify-content:flex-start;gap:8px}.detail-heading .actions button{font-size:12px;min-height:36px;padding:8px 10px}.detail-heading h2{font-size:22px}.detail-view>.card{grid-column:auto}.choice-group{grid-template-columns:1fr}.choice-option{padding:15px;gap:12px}.choice-copy strong{font-size:13px}.choice-copy small{font-size:11px}.detail-view .user-storage-card .choice-group{grid-template-columns:repeat(2,minmax(0,1fr))}.storage-footer{align-items:flex-start;flex-direction:column;gap:15px}.storage-footer button{align-self:flex-end}.storage-empty{align-items:flex-start;flex-direction:column;gap:6px}.audit-line{grid-template-columns:1fr;gap:8px;padding:17px 0}.audit-line>span{font-size:11px}.pager{gap:7px;font-size:11px;flex-wrap:wrap}.pager button{font-size:11px;padding:7px 10px;min-height:33px}.pager span{flex:1;min-width:90px}footer{font-size:10px;margin-top:8px;padding-top:16px;gap:12px}.policy-view,.image-storage-view{gap:18px}.login-shell{display:block;min-height:100dvh;background:#fff}.brand-panel{padding:25px 26px;background:#111c30;min-height:0}.login-brand{font-size:18px;gap:10px}.login-brand img{width:36px;height:36px}.login-brand small{font-size:10px;margin-top:4px}.brand-intro{margin:25px 0 2px;max-width:none}.brand-panel h1{font-size:25px;line-height:1.4;margin:0 0 8px;letter-spacing:-.5px}.brand-panel h1 br{display:none}.brand-intro>p:not(.eyebrow){font-size:12px;line-height:1.8}.brand-intro>p br{display:none}.brand-intro .eyebrow,.brand-preview,.brand-foot{display:none}.login-panel{padding:35px 26px 30px;min-height:calc(100dvh - 191px)}.login-panel form{max-width:385px}.login-panel h2{font-size:25px}.login-panel #login-hint{margin-bottom:22px;font-size:13px}.badge{font-size:11px;margin-bottom:17px}.login-footer{position:static;margin-top:32px;font-size:10px}.login-panel label{font-size:13px;margin-top:18px}.login-note{font-size:11px}.dialog-actions{gap:8px;padding-top:18px}.dialog-actions button{font-size:12px;min-height:37px;padding:8px 11px}dialog{padding:22px;max-height:calc(100dvh - 32px);width:calc(100% - 28px)}dialog h2{font-size:20px}.image-dialog{padding:16px}.image-toolbar button{font-size:12px;padding:8px 10px}.image-toolbar strong{font-size:13px}}
@media(max-width:370px){.sidebar{padding-left:18px;padding-right:18px}.sidebar nav{margin-left:-18px;margin-right:-18px;padding-left:14px;padding-right:14px}.sidebar-bottom{right:18px}.profile-copy{display:none}.profile-link{padding-left:8px}.topbar-actions{gap:7px}.topbar h1{font-size:20px}.workspace-body{padding:18px 14px}.topbar{padding-left:14px;padding-right:14px}.metric{padding:15px 13px}.metric strong{font-size:24px}.metric small{font-size:10px}.card{padding:17px}.table-wrap{margin-left:-17px;margin-right:-17px}.detail-view .user-storage-card .choice-group{grid-template-columns:1fr}.login-panel{padding-left:22px;padding-right:22px}.brand-panel{padding-left:22px;padding-right:22px}.brand-panel h1{font-size:23px}.users-card td:last-child button{font-size:11px;padding:7px 9px}.subtabs button{font-size:11px;padding-left:7px;padding-right:7px}footer span:last-child{max-width:50%;text-align:right}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;transition-duration:.01ms!important}}
/* Operations and focused administrator tools. */
.filter-form{display:grid;gap:12px;align-items:end;margin:16px 0 22px}.filter-form label{margin:0;min-width:0}.filter-form button{min-height:42px}.compact-filters{grid-template-columns:repeat(4,minmax(0,1fr)) auto}.audit-filters{grid-template-columns:repeat(3,minmax(0,1fr))}.filter-form .actions{align-self:end;justify-content:flex-start;flex-wrap:wrap}.record-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.record-select{width:18px!important;height:18px;flex:none;margin:0}.selection-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:14px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0;margin:16px 0}.selection-toolbar label{margin:0}.selection-toolbar .selection-delete{margin-left:auto}.subtabs{flex-wrap:wrap}.session-actions{justify-content:flex-end;margin-bottom:16px}.session-actions+.policy-note{margin-bottom:18px}.preview-dialog{max-width:760px}.preview-dialog h2{margin-top:0}.preview-totals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 24px;margin:15px 0}.preview-dialog .table-wrap{margin:15px 0}.preview-dialog table{min-width:500px}.preview-dialog .dialog-actions{position:sticky;bottom:-26px;background:white;padding-bottom:12px}.image-storage-view>.profile-list-card{grid-column:1/-1}.operations-view{display:grid;grid-template-columns:minmax(0,2fr) minmax(280px,1fr);gap:22px}.operations-view>.alerts-card{grid-column:1/-1}.operations-view .card{margin-bottom:0}.operations-side{display:flex;flex-direction:column;gap:22px;min-width:0}.alert-item{border-left:3px solid #f79009;background:#fffcf5;padding:14px 16px;margin-top:12px;border-radius:6px}.alert-item strong{font-size:14px}.alert-item p{margin-top:5px;font-size:13px;color:#667085;overflow-wrap:anywhere}.alert-danger{border-color:#f04438;background:#fff6f5}.backup-card .table-wrap{margin-top:20px}.backup-card .actions{gap:8px;justify-content:flex-start}.backup-card .actions button{font-size:12px;white-space:nowrap}
@media(max-width:1200px){.compact-filters{grid-template-columns:repeat(2,minmax(0,1fr))}.operations-view{grid-template-columns:1fr}.operations-side{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.audit-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.filter-form{grid-template-columns:1fr;gap:14px}.filter-form button{justify-self:start}.filter-form .actions{display:flex}.selection-toolbar{gap:10px;font-size:12px}.selection-toolbar .selection-delete{width:100%;margin:0}.operations-view{gap:18px}.operations-side{grid-template-columns:1fr;gap:18px}.preview-totals{grid-template-columns:1fr;gap:0}.preview-dialog .dialog-actions{bottom:-22px}.preview-dialog table{font-size:12px}.subtabs{justify-content:flex-start;gap:4px}.session-actions{justify-content:flex-start}.filter-form input[type=date]{max-width:100%;width:100%;min-width:0}.profile-list-card td{white-space:normal;min-width:90px}.profile-list-card td:first-child{min-width:210px}}
@media(max-width:650px){.backup-card .table-wrap{margin:18px 0 0;overflow:visible}.backup-card table,.backup-card tbody{display:block;width:100%;white-space:normal}.backup-card thead{display:none}.backup-card tbody tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 14px;border:1px solid var(--line);border-radius:9px;padding:14px;margin-bottom:12px}.backup-card td{display:block;min-width:0;max-width:100%;padding:0;border:0;overflow-wrap:anywhere;font-size:12px}.backup-card td:first-child,.backup-card td:last-child{grid-column:1/-1}.backup-card td::before{display:block;font-size:11px;color:#98a2b3;margin-bottom:4px}.backup-card td:nth-child(1)::before{content:'创建时间'}.backup-card td:nth-child(2)::before{content:'大小'}.backup-card td:nth-child(3)::before{content:'最近验证'}.backup-card td:nth-child(4){padding-top:8px}.backup-card .actions{flex-wrap:wrap}.backup-card .actions button{font-size:12px;min-height:36px;white-space:normal}.backup-card td.empty{grid-column:1/-1}.backup-card td.empty::before{content:none}}

/* Independent storage budgets and first-time COS setup. */
.storage-capacity-card .pool-location{font-size:12px;color:#667085;overflow-wrap:anywhere;margin:-5px 0 16px}.pool-settings{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.pool-settings summary,.cos-wizard summary{cursor:pointer;font-size:13px;font-weight:600;color:#344054}.pool-capacity-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.pool-capacity-form label{min-width:0;margin:0}.pool-capacity-form button{grid-column:1/-1;justify-self:start}.pool-cleanup{border-top:1px solid var(--line);margin-top:18px;padding-top:16px}.pool-cleanup label{margin:0 0 10px}.pool-cleanup small{display:block;margin-top:8px;color:#667085;font-size:12px}.cos-wizard{background:#f8fafc;border:1px solid var(--line);padding:18px;border-radius:10px;margin-bottom:22px}.cos-wizard ol{padding-left:20px;color:#475467;font-size:13px;line-height:1.8}.cos-wizard li{margin:10px 0}.cos-wizard a{display:inline-block;margin-left:8px;color:#2563eb}.cos-wizard button{margin:0 8px 12px 0}.cos-wizard textarea{width:100%;max-width:100%;padding:12px;border:1px solid var(--line);border-radius:8px;background:white;font:12px/1.6 Consolas,monospace;resize:vertical;margin-bottom:12px}.remote-budget{border-top:1px solid var(--line);padding-top:20px;margin-top:16px}.image-storage-view>.storage-capacity-grid{grid-column:1/-1}.overview-view>.retention-card{margin-top:22px}.pool-settings[open] summary{margin-bottom:12px}@media(max-width:650px){.pool-capacity-form{grid-template-columns:1fr}.cos-wizard{padding:14px}.storage-capacity-card .stat-line strong{max-width:55%;overflow-wrap:anywhere;text-align:right}}

.safety-view{display:grid;grid-template-columns:minmax(280px,1fr) minmax(0,1.4fr);gap:24px;align-items:start}.safety-view .form-grid{grid-template-columns:1fr}.safety-row{padding:18px 0;border-top:1px solid var(--line);overflow-wrap:anywhere}.safety-row small{color:#667085}.safety-preview{white-space:pre-wrap;overflow-wrap:anywhere;background:#f8fafc;padding:12px;border-radius:8px;font:13px/1.7 inherit;max-height:220px;overflow:auto}.safety-view .actions{flex-wrap:wrap}@media(max-width:900px){.safety-view{grid-template-columns:1fr}}
.catalog-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.catalog-fields .stat-line{display:block;border:0;padding:8px 0}.catalog-fields .stat-line span{display:block;font-size:12px}.catalog-fields .stat-line strong{display:block;text-align:left;margin-top:5px;overflow-wrap:anywhere}@media(max-width:680px){.catalog-fields{grid-template-columns:1fr}}
