:root{font:15px/1.6 system-ui,"PingFang SC",sans-serif;color:#1b293d;background:#f3f5f8;--blue:#2855d9;--line:#dce2ea}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit;max-width:100%}button,a,input,select,textarea{outline-offset:4px}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #7295ef}button{cursor:pointer;border:1px solid var(--line);background:white;color:inherit;border-radius:6px;padding:10px 16px;min-height:44px}button:disabled{cursor:not-allowed;color:#6e7c90;background:#edf0f5}.primary{background:var(--blue);color:white;border-color:var(--blue)}.danger{color:#a62d3c}.top{background:white;border-bottom:1px solid var(--line);display:flex;gap:20px;align-items:center;padding:18px 28px;flex-wrap:wrap}.top strong{font-size:24px;letter-spacing:-1px}.top small{margin-left:auto;color:#59677b}.environment{background:#edf2ff;padding:8px 28px;color:#38558b;font-size:12px}.wrap{max-width:1120px;margin:auto;padding:36px 28px}.auth{max-width:440px;margin:30px auto}.panel,.store-card{background:white;border:1px solid var(--line);border-radius:10px;padding:26px;min-width:0}.row{display:flex;gap:12px;align-items:center;flex-wrap:wrap}.spread{justify-content:space-between}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}h1,h2,h3,p{margin-top:0}h1{font-size:30px}h2{font-size:21px}h1,h2,h3,strong,td{overflow-wrap:anywhere}.muted,small{color:#59677b}.badge{display:inline-block;background:#edf2ff;color:#38558b;border-radius:5px;padding:3px 8px;font-size:12px}.logo{width:52px;height:52px;object-fit:contain;border-radius:10px;flex:none}.default-logo{display:grid;place-items:center;background:var(--blue);color:white;font-weight:800;font-size:30px}.store-card .row{margin-bottom:20px}.store-card button{margin-top:16px}.brand-line{display:flex;align-items:center;gap:16px;min-width:0}.brand-line h1{margin:0}.error{background:#fff0f2;border:1px solid #f0cbd2;color:#963044;padding:16px;border-radius:8px;margin-bottom:20px}.notice{background:#edf2ff;color:#38558b;padding:15px;border-radius:8px;margin:18px 0}.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}label{display:block;font-weight:650;margin-top:18px;margin-bottom:6px}input,select,textarea{width:100%;border:1px solid #bdc8d7;background:white;border-radius:6px;min-height:44px;padding:10px;color:inherit}input[type=file]{font-size:12px}form>.row{margin-top:22px}.tabs{display:flex;gap:8px;flex-wrap:wrap;margin:24px 0}.tabs [aria-current=page]{background:#edf2ff;color:#2449a0;border-color:#b5c6ed}.table-wrap{overflow:auto;max-width:100%}table{width:100%;border-collapse:collapse;font-size:13px}th,td{padding:13px 10px;text-align:left;border-bottom:1px solid #e8edf4;vertical-align:top}th{color:#59677b;font-weight:650}code{overflow-wrap:anywhere;white-space:pre-wrap}.code{padding:18px;background:#edf2ff;border:1px solid #becdeb;border-radius:8px;margin:18px 0;font-size:18px;letter-spacing:1px}dialog{width:600px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);overflow:auto;border:1px solid var(--line);border-radius:12px;padding:26px;color:inherit}dialog::backdrop{background:#10213b70}.preview{padding:20px;background:#f3f5f8;border-radius:8px;margin:20px 0}.stack>*+*{margin-top:20px}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.7fr);gap:22px}@media(max-width:700px){.top{padding:15px 18px;gap:10px}.top small{width:100%;margin:0}.environment{padding:8px 18px}.wrap{padding:26px 18px}.grid,.split{grid-template-columns:1fr}.panel,.store-card{padding:20px}.auth{margin:15px auto}h1{font-size:26px}.brand-line h1{font-size:23px}.table-wrap{font-size:12px}th,td{padding:10px 7px}.row>button{max-width:100%}dialog{padding:21px}}

body.dialog-open{overflow:hidden}.default-logo svg{width:100%;height:100%}button{transition:background .15s,border-color .15s,transform .1s}button:hover:not(:disabled){background:#f4f7fc;border-color:#aebfda}button.primary:hover:not(:disabled){background:#1f46b9;border-color:#1f46b9}button:active:not(:disabled){transform:translateY(1px);background:#e6edfa}button.primary:active:not(:disabled){background:#183a9f}button[aria-busy=true]::after{content:"";display:inline-block;width:14px;height:14px;margin-left:9px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:working .8s linear infinite}.error[data-uncertain=true]{background:#fff4df;border-color:#ead39d;color:#765313}.dialog-error{margin:15px 0}.panel>.table-wrap{margin-top:12px}@keyframes working{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){button{transition:none}button[aria-busy=true]::after{animation:none}}

/* Visual review 01: establish a deliberate login composition and restrained admin hierarchy. */
:root{font-size:14px}h1{font-size:30px;letter-spacing:-.7px;line-height:1.35;margin-bottom:14px}h2{letter-spacing:-.35px;font-size:20px}#page-title:focus{outline:none}.top{height:78px;padding:16px 30px}.brand-lockup{display:flex;align-items:center;gap:10px}.brand-lockup svg{width:34px;height:34px}.top strong{font-size:27px;letter-spacing:-1.3px}.top small{font-size:12px}.environment{padding-top:7px;padding-bottom:7px;font-size:11px}.eyebrow{font-size:11px;letter-spacing:1.2px;color:#2855d9;font-weight:700;margin-bottom:17px}.auth-shell{display:grid;grid-template-columns:1fr .92fr;min-height:calc(100dvh - 111px);background:white}.auth-side{padding:60px 36px;display:flex;align-items:center;justify-content:center}.auth{margin:0;max-width:370px;width:100%}.auth h1{font-size:34px;letter-spacing:-1px}.auth>.muted{margin-bottom:28px}.auth-submit{width:100%;margin-top:28px;font-weight:700;min-height:46px}.auth-links{display:flex;justify-content:center;gap:20px;margin-top:14px}.auth-links button,.text-action{background:transparent;border-color:transparent;color:#2855d9;padding:6px 8px;min-height:36px;font-size:13px}.auth-links button:hover:not(:disabled),.text-action:hover:not(:disabled){background:#edf2ff;border-color:transparent}.auth-fineprint{font-size:11px;text-align:center;color:#77849a;margin-top:30px}.auth-local-help{text-align:center;margin-top:10px}.auth-local-help button{border:0;color:#69778c;font-size:12px;background:none}.auth-art{padding:60px 11%;background:#182b49;color:#fff;display:flex;flex-direction:column;justify-content:center}.auth-art .eyebrow{color:#a8bedb}.auth-art h2{font-size:34px;line-height:1.45;font-weight:650;letter-spacing:-.9px}.auth-art>p{color:#b8c8df;font-size:13px;line-height:1.8;margin:6px 0 34px}.store-illustration{background:#f5f7fb;border-radius:10px;padding:22px;color:#22334b;box-shadow:0 20px 50px #06182b35;transform:rotate(-1deg)}.illustration-caption{font-size:14px;font-weight:750;margin-bottom:18px}.illustration-row{background:white;border:1px solid #dde4ef;border-radius:7px;display:flex;gap:13px;align-items:center;padding:16px 14px;margin:11px 0}.illustration-row strong{display:block;font-size:13px}.illustration-row div>span{display:block;font-size:10px;color:#728198;margin-top:4px}.illustration-row i{font-style:normal;margin-left:auto;color:#557ac6}.illustration-mark{background:#a73547;color:#fff5ec;width:36px;height:36px;border-radius:7px;display:grid;place-items:center;font-size:12px;font-weight:700}.illustration-mark.blue{background:#2855d9}.store-illustration>small{font-size:10px;color:#6b7c94}.auth-shell input{font-size:14px;padding:11px 12px;min-height:46px}body[data-surface=customer]:not([data-view=stores]):not([data-view=home]) .wrap{max-width:none;padding:0}body[data-surface=customer]:not([data-view=stores]):not([data-view=home]) .wrap>#error{max-width:760px;margin:18px auto}body[data-surface=admin] .wrap{max-width:1240px;padding-top:24px}.tabs{margin:0 0 30px;gap:26px;border-bottom:1px solid #dce2ea}.tabs button{border:0;border-radius:0;background:none;color:#66758c;padding:12px 3px;font-weight:650;min-height:45px;border-bottom:3px solid transparent}.tabs button[aria-current=page]{border-bottom-color:#2855d9;background:none;color:#2855d9}.tabs button:disabled{background:none;color:#99a4b5}.tabs button:hover:not(:disabled){background:none;border-bottom-color:#a7b9df}.table-wrap{background:white;border:1px solid #dce2ea;border-radius:8px;margin-top:22px}th{background:#f8fafd;font-size:11px;letter-spacing:.2px}th,td{padding:15px 16px;vertical-align:middle}td>button{font-size:12px;min-height:36px;padding:7px 11px}tbody tr:hover{background:#fafcff}table tbody tr:last-child td{border-bottom:0}.panel{box-shadow:none;border-radius:8px}.panel .table-wrap{border:0;border-radius:0}.store-card{padding:26px;border-radius:9px}.store-card h2{font-size:22px;margin:8px 0 10px}.store-card>button{width:100%;font-weight:650}.store-card:has(button:not(:disabled)):hover{border-color:#9fb5df;box-shadow:0 5px 18px #18345c06}.store-card:focus-within{border-color:#2855d9}.store-card .badge{font-size:11px}.grid{margin:20px 0}.brand-editor{width:980px;padding:0}.editor-heading{display:flex;justify-content:space-between;align-items:flex-start;padding:24px 26px;border-bottom:1px solid #dce2ea;gap:20px}.editor-heading .eyebrow{margin-bottom:5px}.editor-heading h2{margin-bottom:5px}.editor-heading p:last-child{font-size:12px;margin-bottom:0}.close-button{border:0;padding:5px;min-height:32px;width:32px;background:none}.brand-editor>.dialog-error{margin:18px 24px}.brand-editor-grid{display:grid;grid-template-columns:310px minmax(0,1fr)}.brand-fields{padding:24px;border-right:1px solid #dce2ea}.brand-fields label:first-child{margin-top:0}.file-area{border:1px dashed #bdcbe0;border-radius:7px;padding:12px;background:#f9fbff}.file-area input{border:0;padding:0;background:none;font-size:11px;min-height:30px}.file-area small{display:block;font-size:11px;line-height:1.7;margin-top:10px}.brand-fields .row{margin-top:12px}.brand-preview-area{background:#f3f6fa;padding:24px;min-width:0}.brand-preview-area>.row{font-size:11px;margin-bottom:20px}.small{font-size:11px;padding:5px 9px;min-height:31px}.preview-caption{font-size:11px;color:#6b7a90;margin:20px 0 9px}.preview-store{max-width:400px;padding:20px}.preview-store h2{font-size:19px}.preview-store .muted{font-size:12px}.preview-store button{margin-top:4px}.preview-home-header{background:white;display:flex;gap:12px;align-items:center;border:1px solid #dce2ea;border-radius:7px;padding:15px}.preview-home-header .brand-line{gap:10px;flex:1}.preview-home-header h2{font-size:15px;line-height:1.4;margin:0}.preview-home-header .logo{width:35px;height:35px}.preview-home-header button{font-size:10px;padding:6px;min-height:30px;flex:none}.preview-narrow{max-width:320px;margin:auto}.editor-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 24px;border-top:1px solid #dce2ea;gap:16px;background:#fafbfd}.editor-footer small{font-size:11px}#editor-confirm:not(:empty){padding:0 24px 20px}.brand-editor .notice{margin-bottom:0}
@media(max-width:900px){.auth-art{padding:45px 9%}.auth-art h2{font-size:28px}.brand-editor-grid{grid-template-columns:270px minmax(0,1fr)}}
@media(max-width:700px){.top{height:70px;padding:15px 19px;flex-wrap:nowrap}.top small{margin-left:auto;width:auto;font-size:11px}.brand-lockup svg{width:30px;height:30px}.top strong{font-size:24px}.auth-shell{display:block;min-height:calc(100dvh - 105px)}.auth-side{padding:42px 25px;min-height:calc(100dvh - 105px);align-items:flex-start}.auth-art{display:none}.auth{max-width:390px}.auth h1{font-size:30px}.auth-fineprint{margin-top:28px}.auth-links{gap:18px}.tabs{gap:18px;margin-bottom:25px}.tabs button{font-size:13px}.wrap{padding:25px 18px}body[data-surface=admin] .wrap{padding:22px 16px}.table-wrap{margin-top:18px}th,td{padding:12px 10px;min-width:85px}th:first-child,td:first-child{min-width:125px}td:last-child{min-width:100px}.store-card{padding:22px}.store-card h2{font-size:20px}.brand-editor-grid{display:block}.brand-fields{border-right:0;border-bottom:1px solid #dce2ea;padding:21px}.brand-preview-area{padding:21px}.editor-heading{padding:20px}.editor-footer{align-items:flex-start;flex-direction:column;padding:17px 20px}.editor-footer .row{align-self:flex-end}.preview-home-header{padding:12px;gap:8px}.preview-home-header h2{font-size:13px}.preview-home-header .logo{width:30px;height:30px}.preview-home-header button{font-size:9px}.brand-editor{max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px)}}

/* Visual review 02: real narrow screenshots exposed crushed store names. */
.customer-email{font-size:16px;font-weight:600;overflow-wrap:anywhere;margin:0 0 8px}.store-table td:first-child{width:45%}.store-table .brand-line strong{min-width:0}.store-table td:last-child{white-space:nowrap}.store-table td:last-child button{display:inline-block}.grid>.store-card{display:flex;flex-direction:column}.grid>.store-card>button{margin-top:auto}.grid>.store-card>.muted{margin-bottom:30px}.editor-footer{position:sticky;bottom:0;z-index:2}.brand-editor form{margin:0}
@media(max-width:700px){.customer-email{font-size:14px}.store-table,.store-table tbody{display:block;width:100%}.store-table thead{display:none}.store-table tr{display:grid;grid-template-columns:1fr 1fr;gap:10px 12px;padding:18px 0;border-bottom:1px solid #dce2ea}.store-table tr:last-child{border-bottom:0}.store-table td{display:block;min-width:0!important;width:auto!important;padding:0;border:0;font-size:12px}.store-table td:first-child{grid-column:1/-1}.store-table td:first-child .brand-line{align-items:flex-start;gap:12px}.store-table .brand-line strong{font-size:14px;line-height:1.55;word-break:normal}.store-table td:nth-child(2)::before{content:"授权状态";display:block;color:#6b7a90;font-size:11px;margin-bottom:3px}.store-table td:nth-child(3)::before{content:"有效期";display:block;color:#6b7a90;font-size:11px;margin-bottom:3px}.store-table td:last-child{grid-column:1/-1;white-space:normal;margin-top:3px;display:flex;gap:8px}.store-table td:last-child button{flex:1;min-height:40px}.store-table td[colspan]{grid-column:1/-1}.grant-table{min-width:600px}.editor-footer{box-shadow:0 -4px 14px #1734520a}.editor-footer small{display:none}.editor-footer .row{width:100%;justify-content:flex-end}.brand-editor #editor-confirm:not(:empty){position:sticky;bottom:0;background:white;z-index:3;padding:8px 20px 18px}.brand-editor-grid{padding-bottom:0}}

.metric-scope{display:block;font-size:10px;color:#7a8799}.metric-notes{margin-top:18px;color:#62718a;font-size:12px}.metric-notes summary{cursor:pointer;color:#2855d9;padding:8px 0}.metric-notes p{max-width:760px;line-height:1.7}.trend-heading{margin-top:30px}.trend-heading h3{margin:0}.inline-label{display:flex;align-items:center;gap:8px;font-size:12px;font-weight:400;margin:0}.inline-label select{width:auto;padding:5px 22px 5px 9px;min-height:36px}.usage-table{min-width:540px}.usage-table td:first-child{min-width:170px}

.store-help{font-size:12px;color:#7b6033;margin:12px 0 0}.email-notice{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;font-size:12px}.email-notice button{flex:none}

/* Visual review 03: show every usage metric without sideways scrolling on mobile. */
body[data-surface=admin] .usage-table tbody th{background:transparent;font-size:13px;font-weight:500;width:40%;min-width:170px}
body[data-surface=admin] .usage-label{display:none}
body[data-surface=admin] .usage-value{display:block;font-variant-numeric:tabular-nums}
body[data-surface=admin] .usage-shared{background:#f8fafd}
body[data-surface=admin] .usage-total{background:#edf2fb}
body[data-surface=admin] .usage-total th,body[data-surface=admin] .usage-total .usage-value>span{font-weight:700}
body[data-surface=admin] .audit-scope{font-size:12px;margin-bottom:0}
body[data-surface=admin] .audit-when{white-space:nowrap;width:170px}
body[data-surface=admin] .audit-outcome{width:100px;white-space:nowrap}
body[data-surface=admin] .audit-operation{font-weight:550}
body[data-surface=admin] .audit-codes{font-size:12px;color:#62718a;margin-top:4px}
body[data-surface=admin] .audit-codes summary{width:fit-content;cursor:pointer;color:#2855d9;padding:3px 0}
body[data-surface=admin] .audit-codes summary:focus-visible{outline:3px solid #7295ef;outline-offset:4px;border-radius:3px}
body[data-surface=admin] .audit-codes dl{margin:8px 0 0;padding:10px 12px;border-left:2px solid #dce2ea;background:#f8fafd}
body[data-surface=admin] .audit-codes dt{font-size:10px;color:#6b7a90}
body[data-surface=admin] .audit-codes dd{margin:2px 0 9px;overflow-wrap:anywhere}
body[data-surface=admin] .audit-codes dd:last-child{margin-bottom:0}
@media(max-width:700px){
 body[data-surface=admin] .usage-table,body[data-surface=admin] .usage-table tbody,body[data-surface=admin] .audit-table,body[data-surface=admin] .audit-table tbody{display:block;min-width:0;width:100%}
 body[data-surface=admin] .usage-table thead,body[data-surface=admin] .audit-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);clip-path:inset(50%)}
 body[data-surface=admin] .usage-table tbody tr{display:block;padding:16px 12px;border-bottom:1px solid #dce2ea}
 body[data-surface=admin] .usage-table tbody tr:first-child{padding-top:8px}
 body[data-surface=admin] .usage-table tbody tr:last-child{border-bottom:0}
 body[data-surface=admin] .usage-table tbody th{display:block;min-width:0;width:auto;padding:0 0 10px;border:0;font-size:14px;font-weight:650;line-height:1.55}
 body[data-surface=admin] .usage-table tbody td{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;min-width:0;padding:6px 0;border:0}
 body[data-surface=admin] .usage-label{display:block;flex:none;font-size:12px;color:#59677b;line-height:1.7}
 body[data-surface=admin] .usage-value{min-width:0;text-align:right;font-size:14px;overflow-wrap:anywhere}
 body[data-surface=admin] .usage-shared,body[data-surface=admin] .usage-total{border-radius:5px}
 body[data-surface=admin] .audit-table tbody tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:5px 14px;padding:15px 0;border-bottom:1px solid #dce2ea}
 body[data-surface=admin] .audit-table tbody tr:last-child{border-bottom:0}
 body[data-surface=admin] .audit-table tbody td{display:block;min-width:0;width:auto;padding:0;border:0}
 body[data-surface=admin] .audit-when{grid-column:1/-1;color:#6b7a90;font-size:11px}
 body[data-surface=admin] .audit-outcome{text-align:right;font-size:12px}
 body[data-surface=admin] .audit-codes summary{min-height:30px;padding-top:5px}
 body[data-surface=admin] .audit-table td[colspan]{grid-column:1/-1}
}

.field-help{margin:8px 0 16px;color:#62718a;font-size:12px;line-height:1.65}

/* Admin: one-click store provisioning (service mode) */
.prov{display:inline-flex;align-items:center;gap:7px;font-weight:650;font-size:12px;white-space:nowrap;color:#59677b}
.prov::before{content:"";width:8px;height:8px;border-radius:50%;background:#a3adbd;flex:none}
.prov[data-state=ready]{color:#1f6b45}.prov[data-state=ready]::before{background:#2f9a62}
.prov[data-state=queued],.prov[data-state=running]{color:#2449a0}
.prov[data-state=queued]::before,.prov[data-state=running]::before{background:#2855d9}
.prov[data-state=failed]{color:#a62d3c}.prov[data-state=failed]::before{background:#c43d50}
@media (prefers-reduced-motion:no-preference){.prov[data-state=running]::before{animation:prov-pulse 1.4s ease-in-out infinite}}
@keyframes prov-pulse{50%{opacity:.3}}
.prov-cell{min-width:150px}
.prov-note{display:block;font-size:11px;line-height:1.55;margin-top:4px;max-width:260px;white-space:normal}
.prov-cell>button{display:block;margin-top:8px}
.prov-tech{margin-top:6px;font-size:11px;color:#59677b}.prov-tech summary{cursor:pointer}
.provision-hint{margin:14px 2px 0;font-size:12px}
#grant-hint:not(:empty){display:block;margin-top:6px;font-size:12px}
.company-fields{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:0 16px}
.company-fields #abbr{text-transform:uppercase;letter-spacing:.5px}
.company-line{margin:14px 0 0}
.provision-note{font-size:12px;line-height:1.7;margin:16px 0 0}
@media(max-width:700px){
 .company-fields{grid-template-columns:1fr}
 .store-table.with-provisioning td:nth-child(2)::before{content:"开通";display:block;color:#6b7a90;font-size:11px;margin-bottom:3px}
 .store-table.with-provisioning td:nth-child(3)::before{content:"授权状态"}
 .store-table.with-provisioning td:nth-child(4)::before{content:"有效期";display:block;color:#6b7a90;font-size:11px;margin-bottom:3px}
 .store-table.with-provisioning td.prov-cell{grid-column:1/-1}
}

/* Password fields: an eye button inside the field, on the right, shows what was typed. */
.password-field{position:relative}
.password-field input{padding-right:52px}
.password-field .password-reveal{position:absolute;top:50%;right:4px;transform:translateY(-50%);display:grid;place-items:center;width:44px;min-height:38px;padding:0;border:0;border-radius:6px;background:transparent;color:#62718a;cursor:pointer}
.password-field .password-reveal:hover{background:#edf2fd;color:var(--blue)}
.password-field .password-reveal[aria-pressed=true]{color:var(--blue)}
.password-field .password-reveal svg{display:block}
/* Reading a list or opening a store: a small turning ring before the words, so a wait never reads as a stuck page. */
p[role=status][data-testid$="-loading"]{display:flex;align-items:center;gap:10px;color:#5b687b}
p[role=status][data-testid$="-loading"]::before{content:"";flex:none;width:16px;height:16px;box-sizing:border-box;border:2px solid #d4dbe8;border-top-color:var(--blue);border-radius:50%;animation:working .8s linear infinite}
@media(prefers-reduced-motion:reduce){p[role=status][data-testid$="-loading"]::before{animation-duration:2.4s}}
/* Typing: the field itself turns blue with a soft ring (no second outline floating around it). */
input:focus-visible,select:focus-visible,textarea:focus-visible{outline:none;border-color:var(--blue);box-shadow:0 0 0 3px #2855d92b}
input,select,textarea{transition:border-color .12s,box-shadow .12s}
input:hover:not(:disabled):not(:focus),select:hover:not(:disabled):not(:focus){border-color:#9fb0c8}
input::placeholder{color:#97a3b5}
/* The production site has no test-site bar: the white sign-in area still reaches the bottom of the window. */
body:not(:has(>.environment)) .auth-shell{min-height:calc(100dvh - 78px)}
@media(max-width:700px){body:not(:has(>.environment)) :is(.auth-shell,.auth-side){min-height:calc(100dvh - 70px)}}
@media(prefers-reduced-motion:reduce){input,select,textarea{transition:none}}
/* Before the session is read: the turning ring and the words in the middle of the page, not a bare line in its corner. */
.boot-loading{justify-content:center;min-height:calc(100dvh - 160px);margin:0;padding:24px}
/* Admin centre of the production site: the bar says plainly that changes reach real customers. */
.environment-live{background:#fff1db;color:#7a4300;font-weight:650}
/* Admin centre: invitations under the customer list; a used invitation reads as done. */
.page-heading{align-items:flex-start}
.page-heading>button{margin-top:6px}
.invite-section{margin-top:40px}
.invite-section h2{margin-bottom:6px}
.badge-done{background:#e5f4ea;color:#1d6b3a}
dialog .code{user-select:all}
/* The admin centre at its own address: the sign-in in the middle of the page. */
.admin-login{max-width:420px;margin:24px auto;padding:30px 28px;background:white;border:1px solid var(--line);border-radius:10px}
.admin-login h1{font-size:26px;margin-bottom:8px}
.admin-login .auth-submit{margin-top:6px}
.admin-login .login-help{margin:22px 0 0;font-size:12px}
.tabs .tabs-end{margin-left:auto}
/* 网页登录 on the Mac: the three steps of setting it up, the QR code and the key to type. */
.setup-steps{margin:8px 0 14px;padding-left:20px}
.setup-steps>li{margin:12px 0;line-height:1.7}
.setup-steps>li>p{margin:6px 0 0}
.qr svg{display:block;width:240px;max-width:100%;height:auto;aspect-ratio:1;margin:10px 0 4px;border:1px solid var(--line);border-radius:8px;background:white}
.setup-key{margin:6px 0 0;font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:16px;letter-spacing:1px;user-select:all}
.link-code{font-family:ui-monospace,"SF Mono",Menlo,monospace;font-size:13px;letter-spacing:0;overflow-wrap:anywhere}
.badge-failed{background:#fff0f2;color:#963044}
@media(max-width:700px){.admin-login{margin:8px auto;padding:22px 18px}}
