/* Account console: clear hierarchy on a continuous work surface. */
.signing-progress{display:flex;align-items:flex-start;gap:14px;padding:20px;margin-bottom:24px;background:var(--selected);border:1px solid var(--border);border-left:3px solid var(--ink);border-radius:4px}
.signing-progress[hidden]{display:none}.signing-spinner{display:inline-block;flex:0 0 auto;width:22px;height:22px;margin-top:2px;border:2px solid var(--border-strong);border-top-color:var(--ink);border-radius:50%;animation:signing-wait-spin .9s linear infinite}
.signing-progress-copy{min-width:0;flex:1}.signing-progress-copy strong{display:block;color:var(--text);font-size:15px;line-height:1.6;font-weight:600}.signing-progress-copy p{margin:5px 0 0;font-size:13px;line-height:1.8;color:var(--secondary);overflow-wrap:anywhere}.signing-progress-device{display:block;margin-top:9px;font-size:12px;line-height:1.6;color:var(--muted)}
.signing-elapsed{flex:0 0 auto;padding-top:3px;white-space:nowrap;font-size:12px;line-height:1.8;color:var(--secondary);font-variant-numeric:tabular-nums}
@keyframes signing-wait-spin{to{transform:rotate(360deg)}}
@media(max-width:760px){.signing-progress{flex-wrap:wrap;gap:12px;padding:16px}.signing-progress-copy{flex-basis:calc(100% - 36px)}.signing-elapsed{margin-left:34px;padding-top:0}}
@media(prefers-reduced-motion:reduce){.signing-spinner{animation:none}}
.hardware-status{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:16px 24px;margin:16px 0 0 276px;border:1px solid var(--border);background:var(--white);font-size:14px;line-height:1.6}
.hardware-status>div:first-child{display:grid;gap:4px;min-width:0}.hardware-status span{color:var(--muted);overflow-wrap:anywhere}.hardware-status.has-error{border-left:3px solid var(--red)}
.hardware-member-choices{display:grid;gap:12px;border:1px solid var(--border);padding:16px}.hardware-member-choices label{display:flex;align-items:center;gap:12px;min-height:32px}
@media(max-width:900px){.hardware-status{margin-left:0;flex-wrap:wrap;gap:16px}.hardware-status .button{min-height:44px}}
.accounts-page{background:var(--panel)}
.portal-main{max-width:1720px;margin:auto;padding-right:32px}
.portal-layout{display:grid;grid-template-columns:236px minmax(0,1fr);gap:40px;min-height:calc(100dvh - 66px)}
.account-sidebar{display:flex;flex-direction:column;background:var(--white);border-right:1px solid var(--border);padding:26px 16px;min-width:0}
.portal-section-heading{display:flex;align-items:center;justify-content:space-between;padding:0 10px 22px;color:var(--secondary);font-size:13px;font-weight:600}
.account-list{display:grid;align-content:start;gap:6px}.account-entry{width:100%;padding:14px 13px;text-align:left;background:none;border:1px solid transparent;color:var(--text)}
.account-entry:hover{background:var(--panel)}.account-entry[aria-current=true]{background:var(--selected);border-color:var(--border)}
.account-entry-name{display:block;font-size:14px;font-weight:600;overflow-wrap:anywhere}.account-entry-meta{display:flex;justify-content:space-between;gap:12px;margin-top:7px;color:var(--muted);font-size:12px}
.archive-toggle{display:flex;align-items:center;gap:8px;padding:22px 10px;font-size:12px;color:var(--muted)}
.sidebar-footer{margin-top:auto;padding:30px 10px 0;font-size:12px;color:var(--muted)}.sidebar-workspace-state{font-weight:600;color:var(--secondary)}.sidebar-note{line-height:1.8;margin:7px 0 12px}.sidebar-footer a{text-underline-offset:4px}
.account-content{min-width:0;padding:28px 0 48px}.workspace-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted);margin-bottom:26px}.workspace-demo{margin-left:auto;border:1px solid var(--border);padding:2px 8px;border-radius:3px;background:var(--white)}
.account-heading{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-bottom:30px}.account-identity{min-width:0}.account-title-line{display:flex;align-items:center;flex-wrap:wrap;gap:14px}.account-heading h1{font-size:30px;line-height:1.4;letter-spacing:-.025em;font-weight:600;overflow-wrap:anywhere}.account-subtitle{font-size:14px;color:var(--muted);margin-top:8px}
.mode-label{font-size:12px;padding:3px 9px;border:1px solid var(--border-strong);border-radius:4px;color:var(--secondary);background:var(--white)}.account-heading .new-transaction{min-height:42px;padding:9px 17px;font-size:14px;flex-shrink:0}
.account-context{display:flex;flex-wrap:wrap;gap:20px 36px;padding-bottom:27px}.account-context>span{display:flex;flex-direction:column;gap:5px;min-width:90px;max-width:100%}.context-label{font-size:12px;color:var(--muted)}.account-context strong{font-size:15px;font-weight:500;overflow-wrap:anywhere}.account-context strong.mono{font-size:13px;line-height:25px}.account-context small{font-size:12px;color:var(--muted);font-weight:400}
.account-tabs{display:flex;overflow-x:auto;gap:30px;border-bottom:1px solid var(--border);margin-bottom:26px}.account-tabs button{flex-shrink:0;display:flex;align-items:center;gap:9px;min-height:48px;padding:8px 0 15px;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted);font-size:14px}.account-tabs button[aria-selected=true]{color:var(--text);font-weight:600;border-bottom-color:var(--ink)}.tab-count{background:var(--selected);padding:0 6px;border-radius:3px;font-size:11px;font-weight:400}
.request-layout{display:grid;grid-template-columns:292px minmax(0,1fr);border:1px solid var(--border);border-radius:6px;background:var(--white);min-height:610px;overflow:clip}.request-list-panel{min-width:0;border-right:1px solid var(--border);background:var(--panel)}
.request-list-heading{padding:20px 20px 0;display:flex;justify-content:space-between;gap:12px}.request-list-heading h2{font-size:14px}.request-list-heading>span{font-size:12px;color:var(--muted)}.request-list-toolbar{padding:14px 16px 18px}.request-list-toolbar input{min-height:38px;font-size:12px;border-color:var(--border)}.request-list{padding:0 8px 16px;max-height:760px;overflow:auto}
.request-item{display:block;width:100%;text-align:left;padding:18px 14px;border:1px solid transparent;border-left:2px solid transparent;background:none;color:var(--text)}.request-item+.request-item{margin-top:4px}.request-item:hover{background:var(--hover)}.request-item[aria-current=true]{border-color:var(--border);border-left-color:var(--ink);background:var(--white)}
.request-row-top{display:flex;justify-content:space-between;gap:10px;align-items:center}.request-row-top strong{font-size:13px;overflow-wrap:anywhere}.request-row-top .icon{width:14px;height:14px;color:var(--muted)}.request-amount{overflow-wrap:anywhere;display:block;font-size:20px;line-height:1.5;letter-spacing:-.025em;margin:10px 0;font-variant-numeric:tabular-nums}.request-amount small{font-size:12px;letter-spacing:0;color:var(--muted)}.request-item-meta{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px}.request-item-meta time{font-size:11px;color:var(--muted)}
.request-status{display:inline-flex;align-items:center;gap:6px;font-size:12px;line-height:1.8;color:var(--muted)}.request-status::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;flex-shrink:0}.status-collecting,.status-awaiting_handoff,.status-exported,.status-received{color:var(--amber)}.status-ready{color:var(--cyan)}
.request-inspector{min-width:0;overflow:hidden}.request-detail-head{padding:23px 28px 22px;border-bottom:1px solid var(--border)}.request-title-row{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:8px 16px}.request-title-row h2{font-size:17px;line-height:1.6;overflow-wrap:anywhere}
.request-stage{display:flex;list-style:none;gap:0;margin:23px 0 0;padding:0;color:var(--muted);font-size:11px}.request-stage li{display:flex;align-items:center;gap:7px;flex:1;white-space:nowrap}.request-stage li::after{content:"";flex:1;height:1px;background:var(--border);margin:0 10px 0 3px}.request-stage li:last-child{flex:0}.request-stage li:last-child::after{display:none}.request-stage li>span{display:grid;place-items:center;width:20px;height:20px;border:1px solid var(--border-strong);border-radius:50%;font-size:10px;flex-shrink:0}.request-stage .current{color:var(--text);font-weight:600}.request-stage .current>span{border-color:var(--ink);color:white;background:var(--ink)}.request-stage .past>span{background:var(--selected);border-color:var(--selected);color:var(--ink)}
.request-detail-body{padding:26px 28px}.transaction-summary{margin-bottom:23px}.summary-label{font-size:12px;color:var(--muted)}.transaction-amount{font-size:36px;line-height:1.5;letter-spacing:-.035em;margin:4px 0 16px;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.transaction-amount>span{font-size:15px;letter-spacing:0;color:var(--muted);margin-left:5px}.transaction-recipient{display:flex;align-items:start;gap:20px;font-size:13px}.transaction-recipient>span{color:var(--muted);flex-shrink:0}.transaction-recipient>strong{font-weight:400;overflow-wrap:anywhere}
.request-facts{display:grid;grid-template-columns:86px minmax(0,1fr);gap:9px 14px;font-size:12px;line-height:1.8;margin:0 0 26px}.request-facts dt{color:var(--muted)}.request-facts dd{margin:0;overflow-wrap:anywhere}
.readiness-panel,.handoff-panel,.draft-workflow{padding:20px;border:1px solid var(--border);border-radius:5px;background:var(--panel);margin:4px 0 20px}.workflow-title{display:flex;justify-content:space-between;align-items:start;gap:20px}.workflow-title h3,.draft-workflow h3{font-size:15px;line-height:1.6}.workflow-title p,.draft-workflow p{font-size:12px;color:var(--muted);line-height:1.9;margin-top:6px}.workflow-title>.icon{width:26px;height:26px;color:var(--ink)}.draft-workflow>.button{margin-top:20px;min-height:38px}
.quorum-count{font-size:28px;line-height:1.3;font-variant-numeric:tabular-nums;white-space:nowrap}.quorum-count small{font-size:16px;color:var(--muted)}.quorum-track{height:3px;background:var(--border);margin:20px 0 10px;overflow:hidden}.quorum-track>span{display:block;height:100%;background:var(--ink)}
.readiness-device{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--border)}.readiness-device:last-child{border-bottom:0}.readiness-device>.device-mark{width:32px;height:36px;background:var(--white)}.readiness-device>div{flex:1;min-width:0}.readiness-device strong{display:block;font-weight:500;font-size:13px}.readiness-device>div>span{font-size:12px;color:var(--muted)}.readiness-device .button{min-height:34px;font-size:12px;padding:5px 10px}.readiness-state{font-size:12px;color:var(--muted)}.workflow-footnote{font-size:12px;color:var(--muted);line-height:1.9;margin-top:14px}
.handoff-choice{margin-top:22px}.handoff-choice label{display:block;font-size:12px;color:var(--secondary);margin-bottom:9px}.handoff-choice>div{display:flex;gap:10px}.handoff-choice select{flex:1;min-height:38px;font-size:13px}.handoff-choice .button{min-height:38px;font-size:13px}.request-actions{display:flex;flex-wrap:wrap;gap:10px;margin:20px 0}.request-actions .button{min-height:38px;font-size:13px}
.portal-detail{border-top:1px solid var(--border);padding:15px 0}.portal-detail summary{cursor:pointer;color:var(--secondary);font-size:12px}.portal-detail[open] summary{margin-bottom:16px}.technical-facts{margin:0 0 16px}.packet-preview{max-height:300px;overflow:auto;font-size:11px;padding:14px;background:var(--canvas);border:1px solid var(--border);border-radius:3px;margin-bottom:12px}
.delivery-list{list-style:none;padding:0;margin:0;display:grid;gap:12px}.delivery-list li{display:flex;align-items:center;flex-wrap:wrap;gap:7px;font-size:12px;color:var(--secondary)}.delivery-list .icon{width:14px;height:14px}.delivery-list small{width:100%;color:var(--muted);font-size:11px}.portal-footer-note{font-size:12px;color:var(--muted);line-height:1.9;margin-top:10px}
.result-receipt{border:1px solid var(--border);padding:18px 20px;margin:20px 0;border-radius:5px}.receipt-label{display:block;color:var(--muted);font-size:12px;margin-bottom:8px}.result-receipt.status-verified{border-left:3px solid var(--green)}.result-receipt.status-invalid{border-left:3px solid var(--red)}.result-receipt h3{font-size:14px;margin-bottom:7px}.result-receipt p{font-size:12px;line-height:1.9;color:var(--muted);margin-bottom:8px}.result-receipt .portal-detail{margin-top:12px}
.portal-muted{color:var(--muted);font-size:13px;line-height:1.9}.portal-kicker{font-size:13px;color:var(--muted)}.portal-surface{background:var(--white);border:1px solid var(--border);border-radius:6px;min-width:0;overflow:hidden}.portal-surface-body{padding:28px}.portal-surface h2{font-size:18px;margin-bottom:7px}.portal-surface h3{font-size:17px;margin-bottom:8px}.portal-inline-heading{display:flex;justify-content:space-between;align-items:start;gap:20px;margin-bottom:26px}
.connection-topology{display:flex;align-items:center;gap:22px;padding:24px;margin:20px 0;background:var(--panel);border:1px solid var(--border);border-radius:4px}.connection-topology>span{flex:1;text-align:center;font-size:14px}.connection-topology>.icon{color:var(--muted)}
.device-table{width:100%;border-collapse:collapse;font-size:13px}.device-table th{text-align:left;font-weight:500;color:var(--muted);background:var(--heading)}.device-table th,.device-table td{padding:17px 16px;border-bottom:1px solid var(--border);white-space:nowrap}.device-table td strong{font-size:14px;font-weight:500}.device-table td small{display:block;font:11px/1.8 var(--mono);color:var(--muted);margin-top:3px}
.portal-settings{max-width:800px}.portal-settings>.portal-muted{margin-bottom:26px}.portal-settings .portal-form{padding:0}.portal-settings .button{min-height:40px}
.portal-empty{padding:40px 24px;text-align:center;color:var(--muted);font-size:13px}.portal-empty h1,.portal-empty h2,.portal-empty h3{color:var(--text);margin-bottom:10px}.portal-empty h1{font-size:30px}.portal-empty .button{margin-top:22px}.inspector-empty{padding-top:130px}.inspector-empty>.icon{width:34px;height:34px;color:var(--ink);margin-bottom:20px}.inspector-empty h2{font-size:20px;font-weight:500}
.portal-dialog{width:min(620px,calc(100% - 32px));max-height:90dvh;padding:0;border:1px solid var(--border-strong);border-radius:6px;background:var(--white);color:var(--text)}.portal-dialog::backdrop{background:rgb(24 24 27 / .35)}.portal-dialog .dialog-heading{position:sticky;top:0;background:var(--white);padding:20px 24px;border-bottom:1px solid var(--border);z-index:1}.portal-dialog .dialog-heading h2{font-size:18px}
.portal-form{padding:24px}.portal-form .field{margin-bottom:18px}.portal-form .field>span{font-size:13px;margin-bottom:7px}.portal-form input,.portal-form select,.portal-form textarea{font-size:14px;min-height:42px}.portal-form textarea{font-family:var(--mono);line-height:1.7;font-size:12px}.portal-form>.portal-muted{margin-bottom:20px}.portal-form .fields-two{gap:16px}.portal-form fieldset{margin:0 0 20px;padding:0;border:0}.portal-form legend{font-size:13px;color:var(--muted);margin-bottom:8px}.member-options{display:flex;flex-wrap:wrap;gap:8px}.member-options label{display:flex;gap:8px;align-items:center;padding:9px 12px;background:var(--panel);border:1px solid var(--border);border-radius:3px;font-size:13px}.member-options input{width:14px;min-height:14px}
.form-error{font-size:13px;color:var(--red);margin:12px 0}.form-error:empty{display:none}.portal-form .dialog-actions{margin:24px -24px -24px;padding:16px 24px;display:flex;justify-content:flex-end;gap:8px;border-top:1px solid var(--border)}.portal-form .dialog-actions .button{min-height:40px}.file-button{position:relative;cursor:pointer}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%;height:100%;padding:0}
.login-page{min-height:100dvh;background:var(--white)}.login-main{max-width:1100px;margin:auto;min-height:calc(100dvh - 66px);display:grid;grid-template-columns:1.2fr 1fr;gap:100px;align-items:center;padding:64px 32px}
.login-context h1{font-size:42px;line-height:1.4;font-weight:500;letter-spacing:-.025em;margin:18px 0 24px}.login-context>p:last-of-type{color:var(--muted);font-size:14px;line-height:2;max-width:32em}.login-route{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-top:30px;color:var(--secondary);font-size:12px}.login-route .icon{width:15px;height:15px}
.login-panel{padding:30px;border:1px solid var(--border);border-radius:var(--radius);background:var(--panel)}.login-panel h2{font-size:23px;font-weight:500;margin-bottom:8px}.login-panel form{margin-top:25px}.login-panel .field>span{font-size:12px}.login-panel input,.login-panel .button{min-height:42px;font-size:14px}.login-demo{margin-top:22px;color:var(--secondary);font-size:12px}.login-local{margin-top:8px;color:var(--muted);font-size:12px}

@media(max-width:1250px){.portal-main{padding-right:24px}.portal-layout{grid-template-columns:210px minmax(0,1fr);gap:26px}.account-sidebar{padding-left:12px;padding-right:12px}.request-layout{grid-template-columns:252px minmax(0,1fr)}.request-detail-head,.request-detail-body{padding-left:22px;padding-right:22px}.request-stage{font-size:10px}.request-stage li{gap:5px}.request-stage li::after{margin-right:6px}.account-context{gap:20px 26px}.account-heading h1{font-size:28px}}
@media(max-width:1050px){.portal-layout{grid-template-columns:190px minmax(0,1fr);gap:24px}.request-layout{grid-template-columns:minmax(0,1fr)}.request-list-panel{border-right:0;border-bottom:1px solid var(--border)}.request-list{display:flex;gap:8px;padding:0 16px 16px;max-height:none;overflow-x:auto}.request-item{flex:0 0 240px}.request-item+.request-item{margin:0}.request-list-heading{padding-top:16px}.request-list-toolbar{padding-bottom:14px}.request-stage{font-size:11px}.login-main{gap:48px}.login-context h1{font-size:36px}}
@media(max-width:760px){.portal-main{padding:0 20px}.portal-layout{grid-template-columns:minmax(0,1fr);gap:0;min-height:0}.account-sidebar{margin:0 -20px;padding:14px 20px 12px;border-right:0;border-bottom:1px solid var(--border)}.portal-section-heading{padding:0 0 12px}.account-list{display:flex;overflow-x:auto;gap:8px}.account-entry{flex:0 0 200px;padding:12px}.archive-toggle{padding:12px 0 0}.sidebar-footer{display:none}.account-content{padding-top:22px}.workspace-breadcrumb{margin-bottom:20px}.account-heading{gap:15px;align-items:start;margin-bottom:25px}.account-heading h1{font-size:26px}.account-title-line{gap:8px}.account-subtitle{font-size:13px}.account-heading .new-transaction{font-size:13px;padding:8px 12px;min-height:44px}.account-context{gap:18px 26px;padding-bottom:20px}.account-context>span{min-width:75px}.account-tabs{gap:16px;margin-bottom:20px}.account-tabs button{font-size:13px;min-height:48px}.request-list-toolbar input{min-height:44px}.request-detail-head,.request-detail-body{padding:20px}.transaction-amount{font-size:32px}.request-stage li{white-space:normal;align-items:start;font-size:11px;gap:5px}.request-stage li::after{margin-top:10px}.request-title-row{align-items:start}.readiness-panel,.handoff-panel,.draft-workflow{padding:16px}.workflow-title{gap:12px}.workflow-title h3,.draft-workflow h3{font-size:14px}.quorum-count{font-size:24px}.readiness-device .button{min-height:44px}.handoff-choice>div{flex-wrap:wrap}.handoff-choice select,.handoff-choice .button{min-height:44px}.handoff-choice .button{flex:1}.request-actions .button{min-height:44px}.portal-inline-heading{flex-wrap:wrap}.portal-surface-body{padding:20px}.connection-topology{gap:12px;padding:16px;flex-direction:column}.connection-topology>.icon{transform:rotate(90deg)}.device-table td,.device-table th{padding:13px}.portal-form .fields-two{grid-template-columns:1fr;gap:0}.portal-form input,.portal-form select,.portal-form .button{min-height:44px}.portal-dialog .dialog-heading{padding:18px 20px}.portal-form{padding:20px}.portal-form .dialog-actions{margin:20px -20px -20px;padding:14px 20px}.login-main{min-height:0;grid-template-columns:1fr;gap:32px;padding:36px 20px}.login-context h1{font-size:32px;margin:12px 0 16px}.login-route{margin-top:18px}.login-panel{padding:24px}}
@media(max-width:420px){.portal-main{padding:0 16px}.account-sidebar{margin:0 -16px;padding-left:16px;padding-right:16px}.workspace-breadcrumb{gap:7px;font-size:11px}.workspace-demo{font-size:10px}.account-heading{flex-wrap:wrap}.account-heading .new-transaction{width:100%}.account-heading h1{font-size:27px}.account-context{gap:16px 22px}.account-context>span{min-width:calc(50% - 22px)}.request-detail-head,.request-detail-body{padding:18px 16px}.request-stage{display:grid;grid-template-columns:1fr 1fr;gap:12px}.request-stage li::after{display:none}.transaction-amount{font-size:30px}.request-facts{grid-template-columns:76px minmax(0,1fr);gap:8px 10px}.request-actions .button{width:100%}.transaction-recipient{gap:14px}.portal-surface-body{padding:18px 16px}}

.status-verified,.status-signature_valid{color:var(--green)}.status-invalid{color:var(--red)}

/* Wallet onboarding is a saved proposal until a device protocol confirms it. */
.wallet-entry-choices{display:grid;gap:10px}.wallet-entry-choices>label{display:flex;gap:12px;align-items:start;border:1px solid var(--border);padding:16px;cursor:pointer;border-radius:4px}.wallet-entry-choices>label:has(input:checked){border-color:var(--ink);background:var(--panel)}.wallet-entry-choices input{width:16px;min-height:16px;margin-top:3px}.wallet-entry-choices strong{display:block;font-size:14px;font-weight:600}.wallet-entry-choices small{display:block;font-size:12px;color:var(--muted);line-height:1.8;margin-top:4px}.setup-form-note{font-size:13px;line-height:1.9;color:var(--muted);padding-top:16px;border-top:1px solid var(--border)}
.setup-heading{display:flex;justify-content:space-between;align-items:start;gap:24px}.setup-eyebrow{display:block;font-size:12px;color:var(--muted);margin-bottom:10px}.setup-heading h2{font-size:23px;line-height:1.5;font-weight:600}.setup-heading p{font-size:13px;line-height:1.9;color:var(--muted);margin-top:10px;max-width:58em}.setup-heading>.mode-label{flex-shrink:0;margin-top:4px}
.setup-progress{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));list-style:none;padding:24px 0 28px;margin:0;gap:20px}.setup-progress li{display:flex;gap:10px;border-top:2px solid var(--border);padding-top:16px;color:var(--muted)}.setup-progress li>span{display:grid;place-items:center;width:24px;height:24px;border:1px solid var(--border-strong);border-radius:50%;font-size:12px;flex-shrink:0}.setup-progress strong{display:block;font-size:13px;font-weight:500}.setup-progress small{display:block;font-size:12px;line-height:1.7;margin-top:5px}.setup-progress .current{color:var(--text);border-top-color:var(--ink)}.setup-progress .current>span{background:var(--ink);color:white;border-color:var(--ink)}.setup-progress .complete>span{background:var(--selected);color:var(--text)}
.setup-body-grid{display:grid;grid-template-columns:minmax(0,1fr) 264px;gap:28px;align-items:start}.setup-body-grid>.portal-surface h3{font-size:17px}.setup-inline-form{padding:24px 0 0}.setup-inline-form .field{margin-bottom:22px}.setup-form-actions{display:flex;flex-wrap:wrap;gap:10px;margin:22px 0 10px}.setup-form-actions .button{min-height:42px}.setup-explanation{border-top:1px solid var(--border);padding-top:22px}.setup-explanation h3{font-size:15px;font-weight:600;margin-bottom:12px}.setup-explanation p,.setup-explanation dl{font-size:13px;line-height:1.9;color:var(--muted)}.setup-explanation dt{font-weight:500;color:var(--secondary);margin-top:18px}.setup-explanation dd{margin:4px 0 0}.setup-explanation>a{display:flex;align-items:center;gap:8px;margin-top:26px;font-size:13px;text-underline-offset:4px}
.setup-device-empty{padding:22px;background:var(--panel);border:1px solid var(--border);border-radius:4px;margin-bottom:22px}.setup-device-empty p{font-size:13px;color:var(--muted);line-height:1.9;margin:8px 0 16px}.setup-device-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.setup-device-options>label{display:flex;gap:10px;align-items:start;padding:14px;border:1px solid var(--border);border-radius:4px;min-width:0;cursor:pointer}.setup-device-options>label:has(input:checked){border-color:var(--ink);background:var(--panel)}.setup-device-options input{width:15px;min-height:15px;margin-top:4px}.setup-device-options strong{display:block;font-size:13px;font-weight:500;overflow-wrap:anywhere}.setup-device-options small,.setup-device-options code{display:block;font-size:12px;line-height:1.8;color:var(--muted)}.setup-device-options code{font-family:var(--mono);overflow-wrap:anywhere}
.setup-waiting>h3{margin-top:18px}.setup-waiting>p{font-size:13px;color:var(--muted);line-height:1.9}.setup-waiting .portal-detail{margin-top:22px}.setup-legacy p{font-size:14px;line-height:1.9;color:var(--muted);max-width:55em;margin:14px 0 22px}.setup-public-facts{margin-top:24px}
@media(max-width:1150px){.setup-body-grid{grid-template-columns:minmax(0,1fr)}.setup-explanation{padding:22px}.setup-explanation dl{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 24px}.setup-explanation dt{margin-top:0}.setup-explanation dd{grid-row:2}.setup-progress{gap:12px}}
@media(max-width:760px){.setup-heading{flex-wrap:wrap;gap:14px}.setup-heading h2{font-size:21px}.setup-progress{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;padding-top:22px}.setup-body-grid{gap:20px}.setup-explanation{padding:18px 0}.setup-explanation dl{display:block}.setup-explanation dt{margin-top:16px}.setup-form-actions .button{min-height:44px}.setup-device-options{grid-template-columns:1fr}}

/* Global devices and fixed account membership share the console's neutral tokens. */
.pairing-code-panel:not([hidden]){display:grid;justify-items:center;gap:12px;padding:24px 16px;margin:24px 0;background:var(--panel);border:1px solid var(--border);border-radius:4px}
.pairing-code-panel>span,.pairing-code-panel>p{font-size:13px;color:var(--secondary)}
.pairing-code-panel>output{font:500 clamp(28px,8vw,40px)/1.3 var(--mono);letter-spacing:.08em;color:var(--text);white-space:nowrap;font-variant-numeric:tabular-nums}
.pairing-status{font-size:14px;line-height:1.9;margin:20px 0;color:var(--text)}
.pairing-identity{font-size:13px;color:var(--secondary);margin-top:20px}.pairing-identity summary{cursor:pointer;padding:10px 0;min-height:44px}.pairing-identity .device-fingerprint{margin-top:8px}
.workspace-nav{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;min-height:48px;margin-bottom:28px;padding:12px 10px;text-align:left;border:1px solid transparent;background:none;font-size:14px;font-weight:600;color:var(--secondary)}
.workspace-nav:hover{background:var(--panel)}.workspace-nav[aria-current=true]{background:var(--selected);border-color:var(--border);color:var(--text)}.workspace-nav>span:last-child{font-size:12px;font-weight:400}
.device-connect-actions{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.device-connect-actions .button{min-height:42px}
.connection-notice{padding:18px 20px;border:1px solid var(--border);border-left:3px solid var(--border-strong);border-radius:4px;background:var(--white);margin-bottom:24px;font-size:13px;line-height:1.8}.connection-notice strong{font-weight:600}.connection-notice p{margin:5px 0;color:var(--muted)}.connection-notice a{display:inline-block;margin-top:8px;text-underline-offset:4px}.connection-notice .button{margin-top:12px}
.device-pending{margin-bottom:24px}.connected-candidate{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--border);padding-top:20px;margin-top:20px}.connected-candidate strong{font-size:14px}.connected-candidate p{font-size:13px;color:var(--muted);margin-top:6px;line-height:1.8;max-width:55em}
.registered-devices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.registered-device{min-width:0;padding:20px;border:1px solid var(--border);border-radius:4px}.device-row-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.device-row-title h3{font-size:16px;margin:0;overflow-wrap:anywhere}.device-fingerprint{display:block;font:12px/1.9 var(--mono);overflow-wrap:anywhere;white-space:normal;margin:12px 0 18px;color:var(--secondary)}.device-row-footer{display:flex;justify-content:space-between;align-items:start;gap:12px;border-top:1px solid var(--border);padding-top:14px;font-size:12px;color:var(--muted)}.device-row-footer span{overflow-wrap:anywhere}.device-row-footer button{flex-shrink:0}
.device-empty{padding:56px 24px}.device-empty>.icon{width:32px;height:32px;margin-bottom:16px}.device-empty p{max-width:36em;margin:auto;line-height:1.9}.device-rules{padding:32px 0 0}.device-rules h2{font-size:16px;font-weight:600;margin-bottom:20px}.device-rules ol{padding:0;list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;counter-reset:device-step}.device-rules li{counter-increment:device-step;border-top:1px solid var(--border);padding-top:16px;line-height:1.8}.device-rules li::before{content:'0' counter(device-step);display:block;font-size:12px;color:var(--muted);margin-bottom:10px}.device-rules li strong{font-size:14px;font-weight:500}.device-rules li span{display:block;font-size:13px;color:var(--muted);margin-top:5px}.bound-member-list{margin-bottom:24px}.bound-member-list>div{border-top:1px solid var(--border);padding:16px 0 0}.bound-member-list strong{font-size:13px}.bound-member-list .device-fingerprint{margin:8px 0 16px}
@media(max-width:1050px){.registered-devices{grid-template-columns:1fr}.account-heading:has(.device-connect-actions){flex-wrap:wrap}}
@media(max-width:760px){.workspace-nav{margin-bottom:16px;max-width:100%}.device-rules ol{grid-template-columns:1fr;gap:16px}.device-rules li::before{float:left;margin-right:14px}.device-rules li span{padding-left:30px}.connected-candidate{flex-wrap:wrap}.connection-notice{padding:16px}.device-connect-actions .button{min-height:44px}.device-row-footer{flex-wrap:wrap}}
