:root{--page-max:960px}.page-hero .eyebrow{margin-bottom:28px}.page-hero .eyebrow+h1{margin-top:28px}
.page-hero{padding:88px 0 72px;background:var(--paper)}.page-hero .container{max-width:var(--page-max)}.page-kicker,.legal-kicker,.console-kicker{display:flex;margin-bottom:24px;width:max-content;min-width:0;max-width:calc(100vw - 48px);color:var(--brand-deep);font-size:13px;font-weight:750;letter-spacing:.04em}.page-kicker+h1,.legal-kicker+h1{margin-top:24px}.page-hero h1{max-width:850px;margin:28px 0 20px;font-size:clamp(36px,4.4vw,44px);font-weight:430;letter-spacing:-1.4px;line-height:1.16}.page-hero p{max-width:760px;margin:0;color:var(--muted);font-size:18px}.content-section{padding:88px 0}.content-section.is-gray{background:var(--wash)}.content-section h2{margin:0;font-size:clamp(28px,3vw,34px);font-weight:520;letter-spacing:-.8px}.content-section h3{font-size:21px}.section-intro{max-width:760px;margin:22px 0 40px;color:var(--muted)}.page-hero .section-intro,.page-hero h1+.section-intro{margin-top:22px}.info-grid,.overview-grid,.decision-grid,.limit-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.info-card,.overview-card,.decision-card,.limit-card,.legal-card{min-width:0;padding:28px;background:#fff;border-radius:var(--radius-card);box-shadow:var(--shadow)}.info-card p,.overview-card p,.decision-card p,.limit-card p,.legal-card p{margin:10px 0 0;color:var(--muted)}.info-card ul,.decision-card ul,.limit-card ul,.legal-card ul{padding-left:20px;margin:16px 0 0}.info-card li+li,.decision-card li+li,.limit-card li+li,.legal-card li+li{margin-top:8px}.legal-glance{align-items:stretch}.metric{display:flex;width:max-content;min-width:0;max-width:100%;padding:6px 12px;border-radius:var(--radius-pill);background:var(--brand-pale);color:var(--brand-deep);font-size:13px;font-weight:750}.metric+h3{margin-top:14px}.prose{max-width:none}.prose section+section{margin-top:48px}.prose .table-wrap+section,.prose .table-scroll+section{margin-top:48px}.prose h2{margin-bottom:16px}.prose p{margin:0}.prose p+p{margin-top:12px}.table-wrap{margin:40px 0;overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius-soft);background:#fff}.data-table{width:100%;min-width:680px;border-collapse:collapse}.data-table th,.data-table td{padding:16px;text-align:left;vertical-align:top;border-bottom:1px solid var(--line)}.data-table th{background:#f0f0f2;color:var(--ink)}.data-table tr:last-child td{border-bottom:0}.allow-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin-top:40px}.allow-card{padding:28px;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow)}.allow-card .metric{margin-bottom:14px}.allow-card .metric.is-stop{background:#ffd5dc;color:#8c1730}.allow-card.is-stop{background:#fff1f3}.planner-shell{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:24px;align-items:start}.planner-controls,.planner-result{padding:32px;border-radius:var(--radius-card);background:#fff;box-shadow:var(--shadow)}.choice-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.choice-row button{min-height:44px;padding:0 18px;border:1px solid var(--line);border-radius:var(--radius-pill);background:#fff;cursor:pointer}.choice-row button[aria-pressed=true]{border-color:var(--brand);background:var(--brand-pale);color:var(--brand-deep)}.planner-result strong{display:block;margin-top:12px;font-size:32px;color:var(--ink)}.matrix-table td:first-child{font-weight:750}.guide-flow{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.guide-step{min-width:0;padding:24px;background:#fff;border-radius:var(--radius-card);box-shadow:var(--shadow)}.guide-step b{display:grid;width:36px;height:36px;place-items:center;border-radius:50%;background:var(--brand);color:#fff}.guide-step h3{margin-top:18px}.scenario-band{display:flex;flex-wrap:wrap;gap:12px;padding:20px;border:1px solid var(--line);border-radius:var(--radius-soft);background:#fff}.scenario-band span{padding:8px 13px;border-radius:var(--radius-pill);background:var(--brand-pale);color:var(--brand-deep)}
/* Relay desk uses an identity stage, ledger archive, and inset security bay rather than a repeated three-card stack. */
.relay-main{background:var(--wash)}.auth-stage{padding:80px 0 96px}.auth-layout{display:grid;grid-template-columns:minmax(0,.8fr) minmax(380px,1.2fr);gap:64px;align-items:center}.auth-copy h1{margin-top:20px;font-size:clamp(36px,4.4vw,44px);font-weight:430;line-height:1.16;letter-spacing:-1.4px}.auth-card{padding:32px;background:#fff;border-radius:var(--radius-card);box-shadow:var(--shadow)}.auth-status{min-height:52px;margin-bottom:24px;padding:12px 15px;border-radius:var(--radius-soft);background:#f3f4f5;color:var(--text)}.auth-status.is-ok{background:#e3f8ef;color:#075c3e}.auth-status.is-error{background:#fff0f2;color:#8a1730}.auth-step{display:grid;gap:10px}.auth-step label,.field-label{font-weight:750}.field-label{display:block;margin-bottom:10px}.setup-box .security-actions{margin-top:0}.auth-step input,.alias-composer input,.setup-box input,input{width:100%;min-height:48px;padding:10px 14px;border:1px solid #9b9ba3;border-radius:var(--radius-small);background:#fff;color:var(--ink);font-size:16px}.auth-step input:focus,.alias-composer:focus-within,.setup-box input:focus,input:focus{outline:2px solid var(--ink);outline-offset:1px;box-shadow:none}.alias-composer:focus-within input:focus{outline:none}.auth-actions,.form-actions,.row-actions,.security-actions{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:24px}.auth-actions button,.form-actions button,.row-actions button,.security-actions button,.console-button{min-height:44px;padding:0 18px;border:0;border-radius:var(--radius-pill);background:var(--brand);color:#fff;cursor:pointer}.auth-actions .ghost,.row-actions .ghost,.security-actions .ghost,.console-button.ghost{background:#eeeef1;color:var(--ink)}.auth-actions button:hover,.form-actions button:hover,.console-button:hover{background:var(--brand-deep);color:#fff}.auth-actions .ghost:hover,.row-actions .ghost:hover,.security-actions .ghost:hover,.console-button.ghost:hover{background:#dddde2;color:var(--ink)}button:disabled{background:#dddde2!important;color:#777!important;cursor:not-allowed}.auth-progress{margin-bottom:12px;color:var(--brand-deep);font-weight:750}.console-view{padding:48px 0 96px}.identity-surface{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:28px 32px;border-radius:var(--radius-card);background:#17171b;color:#fff}.identity-surface p{margin:4px 0 0;color:#d7d7db}.identity-actions{display:flex;gap:10px;align-items:center}.identity-actions button{min-height:42px;padding:0 16px;border:0;border-radius:var(--radius-pill);background:#fff;color:#17171b}.console-section,.archive-workspace,.security-workspace{margin-top:32px;padding:32px}.console-section{border-radius:var(--radius-card);background:#fff}.archive-workspace{border:1px solid var(--line);border-radius:var(--radius-soft);background:#fff}.security-workspace{border-radius:24px 24px 12px 12px;background:#25252b;color:#fff}.security-workspace p{color:#dedee3}.console-section h2,.archive-workspace h2,.security-workspace h2{font-size:28px}.console-section>p,.archive-workspace>p{margin:10px 0 0;color:var(--muted)}.alias-form{display:flow-root;margin-top:24px}.alias-composer{display:flex;align-items:stretch;border:1px solid var(--line);border-radius:var(--radius-small);background:#fff}.alias-composer input{flex:1;min-width:0;border:0}.alias-suffix{display:flex;align-items:center;flex:none;padding:0 14px;border-left:1px solid var(--line);color:var(--muted);white-space:nowrap}.empty-state{margin-top:40px;padding:22px;border:1px dashed var(--line);border-radius:var(--radius-soft);background:#f7f7f8;color:var(--muted)}.table-scroll{margin:40px 0;overflow-x:auto}.console-table{width:100%;min-width:760px;border-collapse:collapse}.console-table th,.console-table td{padding:14px 12px;text-align:left;border-bottom:1px solid var(--line)}.console-table .status-cell,.console-table .action-cell{white-space:nowrap}.row-actions{flex-wrap:nowrap;margin:0}.row-actions button{min-height:34px;padding:0 12px;font-size:13px}.archive-head{display:flex;justify-content:space-between;align-items:center;gap:20px}.filter-root{position:relative}.filter-trigger{position:relative;width:max-content;min-height:42px;margin-block:16px;padding:0 44px 0 15px;border:1px solid var(--line);border-radius:var(--radius-pill);background:#fff;color:var(--ink)}.filter-trigger::after{position:absolute;right:17px;top:15px;width:7px;height:7px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);content:""}.filter-menu{position:absolute;z-index:12;top:calc(100% + 8px);right:0;min-width:170px;padding:6px;border:1px solid var(--line);border-radius:var(--radius-soft);background:#fff;box-shadow:var(--shadow)}.filter-menu button{display:block;width:100%;padding:9px 11px;border:0;border-radius:8px;background:#fff;color:var(--ink);text-align:left}.filter-menu button[aria-selected=true]{background:var(--brand-pale);color:var(--brand-deep)}.archive-list{margin-top:24px}.archive-row{display:grid;width:100%;grid-template-columns:minmax(0,1fr) auto;gap:16px;padding:18px 0;border:0;border-bottom:1px solid var(--line);background:transparent;text-align:left}.archive-row-meta{display:flex;align-items:center;gap:12px;white-space:nowrap}.status-dot{display:inline-flex;align-items:center;gap:8px}.status-dot::before{width:8px;height:8px;border-radius:50%;background:var(--green);content:""}.archive-detail{min-width:0;max-width:100%;margin-top:24px;padding:24px;border:1px solid var(--line);border-radius:var(--radius-soft);overflow:hidden}.archive-detail iframe{width:100%;min-width:0;max-width:100%;min-height:360px;border:0}.lock-badge{display:flex;width:max-content;margin-bottom:20px;padding:7px 12px;border-radius:var(--radius-pill);background:#3d3d45;color:#fff}.security-how{margin-top:24px;padding-left:20px}.security-how li+li{margin-top:10px}.setup-box{display:grid;gap:10px;margin-top:24px}.setup-box img{width:156px;height:156px;background:#fff;border-radius:8px}.setup-box code{display:block;padding:11px;background:#3b3b43;color:#fff;overflow-wrap:anywhere}.dialog{position:fixed;z-index:80;inset:0;display:grid;place-items:center;padding:20px;background:rgba(0,0,0,.45)}.dialog-panel{width:min(430px,100%);padding:28px;border-radius:var(--radius-card);background:#fff}.dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.dialog-actions button{min-height:42px;padding:0 17px;border:0;border-radius:var(--radius-pill);background:#eeeef1;color:var(--ink)}.dialog-actions .danger{background:var(--brand);color:#fff}.toast{background:#17171b;color:#fff}.toast.show{opacity:1;transform:none}
.session-label{display:block;color:#d7d7db;font-size:13px;font-weight:750}.alias-workspace{box-shadow:var(--shadow)}.archive-shell{box-shadow:none}.security-bay{box-shadow:0 12px 32px rgba(0,0,0,.12)}.site-footer .footer-language{grid-column:1/-1}.site-footer .footer-grid.footer-recipe-four,.site-footer .footer-mosaic.footer-recipe-five{display:grid;gap:28px;grid-template-columns:1.35fr repeat(4,minmax(0,1fr))}@media(max-width:1020px){.site-footer .footer-mosaic.footer-recipe-five{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.site-footer .footer-mosaic.footer-recipe-five .footer-brand{grid-column:1/-1}}@media(max-width:480px){.site-footer .footer-mosaic.footer-recipe-five{grid-template-columns:minmax(0,1fr)}}.row-btn{font:inherit}.page-hero .container>.page-kicker+h1,.page-hero .container>.legal-kicker+h1{margin-top:24px}.page-hero h1+p{margin-top:24px}main section.page-hero .page-kicker+h1,main section.page-hero .legal-kicker+h1{margin-top:24px}[hidden]{display:none!important}
@media(max-width:1020px){.site-footer .footer-grid.footer-recipe-four{grid-template-columns:1.4fr 1fr 1fr}.site-footer .footer-col:last-child{grid-column:2/4}}
@media(max-width:900px){.auth-layout,.planner-shell{grid-template-columns:minmax(0,1fr)}.guide-flow{grid-template-columns:repeat(2,minmax(0,1fr))}.auth-copy{max-width:720px}}body main section.page-hero .container > .page-kicker + h1,body main section.page-hero .container > .legal-kicker + h1{margin-top:28px}.page-kicker + h1,.legal-kicker + h1{margin-top:28px}
.page-hero .page-kicker{margin-bottom:28px}.page-hero .page-kicker+h1{margin-top:28px}
@media(max-width:700px){.site-footer .footer-grid.footer-recipe-four{grid-template-columns:minmax(0,1fr)}.site-footer .footer-col:last-child{grid-column:auto}.page-hero{padding:64px 0 52px}.content-section{padding:64px 0}.info-grid,.overview-grid,.decision-grid,.limit-grid,.allow-grid,.guide-flow{grid-template-columns:minmax(0,1fr)}.identity-surface,.archive-head{align-items:flex-start;flex-direction:column}.identity-actions{flex-wrap:wrap}.console-section{padding:24px}.auth-card{padding:24px}.alias-suffix{padding:0 10px}.archive-detail{padding:16px}.dialog{place-items:end center;padding:0}.dialog-panel{width:100%;border-radius:16px 16px 0 0}}
.boundary-grid,.feature-grid,.step-grid,.scenario-grid,.privacy-layout{align-items:start}html,body{max-width:100%;overflow-x:clip}main{min-width:0;overflow-wrap:anywhere}.dialog-panel h2{font-size:26px}.legal-prose h2,.prose h2{font-size:min(32px,var(--h2))}.archive-detail-meta{margin:4px 0 0;font-size:13px;color:var(--muted)}
.archive-attachments{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:16px;padding:12px 14px;border:1px solid var(--line);border-radius:12px}
.archive-attachments strong{font-size:13px}
.archive-attachments a{font-size:13px;text-decoration:underline;word-break:break-all}
.archive-attachments small{flex-basis:100%;color:var(--muted)}
