/* Reversible black/white proof of the current print edition. */
:root{--poster-paper:#181a23;--poster-black:#eeecf0;--ink:#181a23;--muted:#504e56;--surface:#f7f5f7;--edge:#96919a;--faint:color-mix(in srgb,var(--accent) 8%,#f6f4f6);background:#faf9fa}
body{background:#faf9fa;color:var(--ink)}
.mast{border:0;background:#faf9fa}
.wordmark{border:0}
.wordmark small{color:#46434c}
.mast-nav a{color:#3e3b46}
.mast-nav a[aria-current='page']{color:var(--poster-paper);background:#dbd7df}
.mast-nav a:hover{color:#000000;background:#e3dfe5}
.edition{border:0;color:#58535e}
.settings-link{border:1px solid #8c8591;border-radius:0;background:transparent;color:var(--ink)}
.settings-link.active,.settings-link:hover{background:var(--poster-paper);color:#eeecf0;border-color:var(--poster-paper)}
#companion>.page-head .service{background:none;border:0;color:#423c4a}
.service.live i{box-shadow:none}
.preview-panel{border:0;background:none}
.screen{background:transparent}
.display-bar{border-bottom:1px solid #ccc6d0}
#screen-name{color:var(--poster-paper)}
#footer-state,#link-label{color:#514a5b}
.optical-caption{color:#554c5f}
.optical-coordinate{color:#64596e}
.display-foot{background:#e6e2e8;border:1px solid #8c8494;border-radius:0;color:var(--poster-paper)}
#empty-message{color:var(--poster-paper)}
#empty-message::after{color:#51475b}
.preview-meta{color:#534a5d}
.preview-meta svg{color:#463d50}
.dashboard>.side{color:var(--poster-black);--ink:#eeecf0;--muted:#afa8b5;--surface:#181a23;--edge:#837b8a}
.side::before{background:var(--poster-paper)}
.console-module{border:0;background:none;box-shadow:none}
.console-module:hover{background:none}
.module-heading{border:0}
.module-heading h2{color:#eeecf0}
.module-heading .section-en{color:#aaa1b3}
.target-status span{color:#cec7d4}
.target-status svg{stroke:#c6bed0;stroke-width:1.2}
.role-picker{border:0;background:none}
.role-picker select{color:#eeecf0;background:transparent;border:1px solid #7d7488}
.role-picker svg{color:#eeecf0}
.module-detail{color:#c1b6ca}
.module-detail:hover{color:#eeecf0}
.mode-slider{border:0}
.mode-slider button{border:1px solid #746c7d;background:transparent;box-shadow:none;color:#eeecf0}
.mode-slider button[aria-pressed='true']{background:#ebe5ef;color:#111118;border-color:#ebe5ef;box-shadow:none}
.mode-slider button:hover:enabled:not([aria-pressed='true']){background:#2d2837;color:#eeecf0}
.mode-description{color:#ccc1d5}
.mode-control .hint{color:#a197ab}
.dial{--dial-bg:#181a23}
.dial::before{background:#e9e2ee;border-color:#81728f;box-shadow:none}
.dial::after{border-color:#3e3647}
.dial output{color:#0c0e17}
.dial-indicator::before{box-shadow:none;background:#181a23}
.dial-group label{color:#b6a9c4}
.sound-toggle{color:#d7cbe2}
#sound-label{color:#b6a9c4}
.led-switch{border-color:#697a59}
.local-audio-note{color:#a698b2}
.archive-status svg{color:#d2c6dd;stroke-width:1.2}
.archive-note,#home-history-summary{color:#c2b6cd}
.console-link{border:0;border-bottom:1px solid #7b6d8a;background:none;color:#e8ddf1}
.console-link:hover{color:#eeecf0;background:none;border-color:#eeecf0}
.slogan{border:0}
.slogan .slogan-copy p[lang='en']{color:#544b60}
.slogan .edition-foot{color:#655a72}
#settings{--ink:#eae5ef;--muted:#aca1b7;--edge:#766c83;--surface:#181a23;--setting-line:#5d5567;background:var(--poster-paper);color:#eae5ef;border:1px solid #181a23}
#settings #mobile-pair-link{color:#ccbad8}
#settings .calibration-panel,#settings .settings-entry{border:0!important;background:none;box-shadow:none}
#settings .card-head{border-bottom:1px solid #5d5567;background:none;color:#eae5ef}
#settings .card-head h2{color:#eae5ef}
#settings .card-head>span{color:#ad9dba}
#settings .body{color:#eae5ef}
#settings .body label,#settings .color-setting>label{color:#dacbe4}
#settings .subtle,#settings .body p,#settings .entry-purpose,#settings .control-receipt,#settings .capability-row p{color:#b5a5c1}
#settings .body input:not([type=checkbox]):not([type=range]):not([type=color]),#settings .body select,#settings .body textarea{background:#0b0c13;border:1px solid #766c83;color:#eee5f6}
#settings .body button,#settings .theme-picker button{background:transparent;border:1px solid #766c83;color:#dacbe4}
#settings .body button:hover:enabled{background:#2b2534;color:#eee5f6}
#settings .theme-picker button[aria-pressed=true]{color:#0a0c16;background:#e7deef;border-color:#e7deef;box-shadow:none}
#settings .color-input-pair input[type=color]{background:#0b0c13;border-color:#766c83}
#settings .color-setting>label span{color:#a998b5}
#settings .volume-readout output{color:#253b18}
#settings .settings-gateways{border-block:1px solid #5d5567}
#settings .settings-entry{color:#263b19}
#settings .settings-entry h2{color:#e4d4ee}
#settings .settings-entry>p{color:#ad9dba}
#settings .settings-entry:hover{background:none}
#settings .gateway-symbol,#settings .gateway-arrow{color:#465c36}
#settings .diagnostic-details>summary{color:#dcc7e6}
#settings #diagnostics dt{color:#586b4a}
#settings #diagnostics dd{color:#dcc7e6}
#settings .device-settings{border-color:#5d5567}
#settings .device-settings-summary{color:#dcc7e6}
#settings .device-disclosure-caption{color:#ad9dba}
#settings :focus-visible,.side :focus-visible{outline-color:#243d13}
@media(max-width:600px){.settings-link{border:0}}
.mast .settings-link[aria-expanded='true'],.mast .settings-link:hover{color:#eee5f6;background:var(--poster-paper);border-color:var(--poster-paper)}
.mast .settings-link[aria-expanded='true'] svg{color:#eee5f6}
.side .archive-status svg{stroke:#d2c6dd}
.side .led-switch::before{background:#2a2532;border:1px solid #81738f}
.side .led-switch[aria-checked='true']::before{background:#e1d4eb;border-color:#e1d4eb}
.side .led-switch i{background-image:radial-gradient(circle,#4d633c 1.2px,transparent 1.4px)}
.side .led-switch[aria-checked='true'] i{background-image:radial-gradient(circle,#181a23 1.2px,transparent 1.4px)}
#settings .appearance-topline .subtle,#settings .decoration-setting .subtle,#settings .settings-entry .entry-purpose{color:#b5a5c1}
#settings .settings-entry .gateway-symbol,#settings .settings-entry .gateway-arrow,#settings .diagnostic-details summary svg,#settings .device-settings-summary svg{color:#465c36;stroke:#465c36}
:root{--print-paper:#26262a;--print-ink:#f7f6f6;--print-rose:color-mix(in srgb,var(--accent) 25%,#22262a);--poster-paper:#26262a;background:#fafafa}
body{background:#fafafa}
.print-sheet{background:var(--print-paper) url('/assets/print-paper.png') repeat;background-size:720px;color:var(--print-ink)}
.print-sheet .mast{background:none;color:#f7f6f6}
.print-sheet .wordmark strong{color:#f7f6f6}
.print-sheet .wordmark small{color:#cfcfd1}
.raven-print-socket{background:#f6f6f6;border-radius:50% 40% 48% 42%}
.print-sheet .mast-nav a{color:#eaeaea}
.print-sheet .mast-nav a[aria-current=page]{color:#111111;background:#efefef}
.print-sheet .mast-nav a:hover{color:#111111;background:#dddddd}
.print-sheet .edition{color:#dddddd}
.print-sheet .mast .settings-link{color:#eeeeee;background:none;border:1px solid #b7b7bb}
.print-sheet .mast .settings-link:hover,.print-sheet .mast .settings-link[aria-expanded=true]{color:#111111;background:#eeeeee;border-color:#eeeeee}
.print-sheet .mast .settings-link[aria-expanded=true] svg{color:#111111}
.print-title-main{color:#fafafa}
.print-title>span.print-title-echo{color:var(--print-rose);-webkit-text-stroke:.65px #959a9c}
.print-title::after{background:repeating-linear-gradient(0deg,transparent 0 3px,#eeeeee 3px 4px,transparent 4px 7px)}
.print-globe{stroke:#dbdbdb;stroke-width:1;fill:none}
.print-rail{color:#27272b}
.print-rail svg{stroke:#4e4e55;stroke-width:.6}
.print-rail-right span:last-child{color:#c58d94}
.print-sheet #companion>.page-head{border:1px solid #8c8c91}
.print-sheet #companion>.page-head .service{color:#eeeeee;background:none}
.print-sheet .preview-panel{background:#f7f5f6;color:#202025}
.print-sheet .display-bar{border-color:#aba9ad}
.print-sheet #screen-name{color:#202025}
.print-sheet #footer-state,.print-sheet #link-label{color:#4a464f}
.print-sheet .display-foot{background:#292a30;border:0;color:#efefef}
.print-sheet #empty-message,.print-sheet #ticker{color:#efefef}
.print-sheet #empty-message::after{color:#b6b5bb}
.print-sheet .preview-meta{color:#46424d}
.print-sheet .dashboard>.side{color:#f2f2f3;--ink:#eeeeee;--surface:transparent;--muted:#b7b7bd;--edge:#888893}
.print-sheet .module-heading h2{color:#efefef}
.print-sheet .module-heading .section-en{color:#bfbfc3}
.print-sheet .role-control .module-heading::before{background:var(--accent)}
.print-sheet .role-picker select{color:#e9e9ed;background:color-mix(in srgb,#111111 30%,transparent);border-color:#888892}
.print-sheet .target-status span,.print-sheet .mode-description{color:#e2e2e6}
.print-sheet .mode-slider button{border-color:#8c8c95;color:#eaeaef}
.print-sheet .mode-slider button[aria-pressed=true]{background:var(--accent);border-color:var(--accent);color:#eeeeee}
.print-sheet .module-detail,.print-sheet .mode-control .hint,.print-sheet .dial-group label,.print-sheet .local-audio-note,.print-sheet .archive-note,.print-sheet #home-history-summary,.print-sheet #sound-label,.print-sheet .sound-toggle{color:#bebec7}
.print-sheet .dial::before{background:#eeedf0;border-color:#9b99a1}
.print-sheet .dial output{color:#111111}
.print-sheet .side .led-switch::before{background:#2f2f39;border-color:#888893}
.print-sheet .side .led-switch[aria-checked=true]::before{background:#e6e5e9}
.print-sheet .side .archive-status svg{stroke:#d6d6dd}
.print-sheet .console-link{border-color:#86868f;color:#eeeeee}
.print-sheet .slogan{border:0}
.print-sheet .slogan .slogan-copy p:first-of-type{color:#eeeeee}
.print-sheet .slogan .slogan-copy p[lang=en]{color:#bebec4}
.print-sheet .slogan .edition-foot{color:#b2b2ba}
.print-palette i{background:var(--accent)}
.print-palette i:nth-child(2){background:var(--print-rose)}
.print-palette i:nth-child(3){background:#f7f7f7}
.print-palette i:nth-child(4){background:#101014;border:1px solid #555555}
.print-sheet #settings{background:transparent;border:1px solid #98989d;color:#ebebef}
.print-sheet #settings .calibration-panel,.print-sheet #settings .settings-entry{background:none}
.print-sheet .view:not(#companion) h1{color:#eeeeee}
.print-sheet .view:not(#companion) .page-head{color:#eeeeee}
.print-sheet .view:not(#companion) .panel{background:#1b1b20;color:#eeeeee;border-color:#666671;--ink:#eeeeee;--muted:#b4b4bb;--surface:#222222;--edge:#888888}
.print-sheet .view:not(#companion) .heading-back{color:#eeeeee;border-color:#888888;background:none}
.print-sheet :focus-visible{outline-color:#dddddd}
.print-sheet .preview-panel :focus-visible{outline-color:#111111}
@media(max-width:600px){.print-sheet .mast .settings-link{border:0}}
.print-sheet .view:not(#companion){--ink:#eeeef0;--muted:#b6b6be;--accent-text:color-mix(in srgb,var(--accent) 40%,#e8e8ec);--surface:#1f1f26;--edge:#888891;--faint:color-mix(in srgb,var(--accent) 8%,#212127);color:#eeeef0}
.print-sheet .view:not(#companion) .page-head .section-en{color:#bebec4}
.print-sheet .view:not(#companion) .page-context,.print-sheet .view:not(#companion) .page-head>span{color:#b6b6be}
.print-sheet .mode-slider button[aria-pressed='true']{color:var(--accent-ink,#ffffff)}
/* Paper polarity only: the approved colored media stays in its original gamut. */
.print-sheet{background-color:#fff;background-blend-mode:difference}
:root{--print-rose:color-mix(in srgb,var(--accent) 25%,#ddd9d5)}
.print-sheet .brand>img{filter:brightness(0) invert(1)}
.raven-print-socket{background:#090909}
.print-sheet .preview-panel{background:#080a09;--ink:#e7e5dc;--muted:#afb1a9;--surface:#080a08}
.print-sheet #screen-name{color:#dfdfda}
.print-sheet #footer-state,.print-sheet #link-label,.print-sheet .preview-meta{color:#b9bdb2}
.print-sheet .preview-meta svg,.print-sheet .optical-caption,.print-sheet .optical-coordinate{color:#b9bdb2}
.print-sheet .display-bar{border-color:#545652}
.print-sheet .preview-panel :focus-visible{outline-color:#eee}
.print-sheet .preview-panel .motion-controls button{color:#ddd}
.print-sheet #settings .volume-readout output{color:#eeeee9}
.print-sheet .side .led-switch i{background-image:radial-gradient(circle,#ddd 1.2px,transparent 1.4px)}

/* Stock texture belongs to the light material, never to the black ink. */
:root{--print-paper:#000;--poster-paper:#000;--surface:#000;background:#d9d9d5}
body{background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:720px}
.print-sheet{background:#000;background-image:none;background-blend-mode:normal}
.print-sheet .preview-panel,.raven-print-socket{background:#000;--surface:#000}
.print-sheet .display-foot{background:#000;border:1px solid #666}
.print-sheet .view:not(#companion){--surface:#000;--faint:#080808}
.print-sheet .view:not(#companion) .panel{background:#000;--surface:#000}
.print-sheet #settings .body input:not([type=checkbox]):not([type=range]):not([type=color]),.print-sheet #settings .body select,.print-sheet #settings .body textarea{background:#000}
.print-sheet .role-picker select{background:#000}
.print-title-main{color:transparent;background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:600px;background-clip:text;-webkit-background-clip:text}
.print-sheet .mast-nav a[aria-current=page],.print-sheet .mast .settings-link[aria-expanded=true],.print-sheet .mast .settings-link:hover,.print-sheet #settings .theme-picker button[aria-pressed=true],.print-sheet .dial::before{background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:360px}
.print-palette i:nth-child(3){background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:240px}
.print-palette i:nth-child(4){background:#000}

/* Wide paper border and five separate, solid-black functional plates. */
.print-sheet{width:min(1320px,72vw)}
.print-sheet .wrap{width:calc(100% - 64px)}
.print-sheet .dashboard{gap:24px;background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:720px;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)}
.print-sheet .dashboard>.side{padding:0;gap:24px;align-content:stretch;grid-template-columns:minmax(0,1fr) minmax(0,1fr);background:transparent}
.print-sheet .dashboard>.side>.console-module{padding:24px 20px;background:#000;clip-path:polygon(14px 0,100% 0,100% calc(100% - 16px),calc(100% - 16px) 100%,0 100%,0 14px)}
.print-sheet .side .module-heading h2{font-size:23px}
.print-sheet .side .module-heading{margin-bottom:22px}
.print-sheet .side .target-status{gap:8px}
.print-sheet .side .target-status span{font-size:15px}
.print-sheet .side .target-status svg{width:21px;height:21px}
.print-sheet .side .mode-slider{gap:8px}
.print-sheet .side .mode-slider button{padding:12px 6px;min-height:72px}
.print-sheet .side .mode-slider button>span{font-size:22px}
.print-sheet .side .mode-slider button small{font-size:9px;letter-spacing:.025em}
.print-sheet .side .dial{width:62px;height:62px}
.print-sheet .side .dual-dials{gap:12px}
.print-sheet .side .dial output{font-size:21px}
.print-sheet .side #sound-dial output{font-size:18px}
.print-sheet .side .sound-toggle{flex-wrap:wrap;gap:2px 7px}
.print-sheet .side #sound-label{margin-left:0}
.print-sheet .side .local-audio-note{line-height:1.7}
.print-sheet .side .archive-status{min-height:100px}
@media(min-width:1700px){.print-sheet .dashboard>.side>.console-module{padding:28px}.print-sheet .side .module-heading h2{font-size:27px}.print-sheet .side .dial{width:76px;height:76px}}
@media(max-width:1250px) and (min-width:601px){.print-sheet .dashboard{grid-template-columns:1fr;gap:24px}.print-sheet .dashboard>.side{grid-template-columns:1fr 1fr}.print-sheet .dashboard>.side>.console-module{padding:30px}.print-sheet .side .module-heading h2{font-size:26px}.print-sheet .side .dial{width:78px;height:78px}.print-sheet .side .dual-dials{gap:20px}.print-sheet .mast-nav,.print-sheet .edition{display:none}.print-title>span{font-size:clamp(68px,9vw,112px)}.print-title{font-size:clamp(68px,9vw,112px)}}
@media(max-width:900px) and (min-width:601px){.print-sheet{width:78vw}.print-sheet .wrap{width:calc(100% - 48px)}.print-sheet .dashboard>.side>.console-module{padding:24px}.print-sheet .side .dial{width:70px;height:70px}.print-sheet .side .dual-dials{gap:16px}}
@media(max-width:600px){.print-sheet{width:calc(100% - 48px)}.print-sheet .wrap{width:calc(100% - 28px)}.print-sheet .dashboard{grid-template-columns:1fr;gap:22px}.print-sheet .dashboard>.side{grid-template-columns:1fr;gap:22px;padding:0}.print-sheet .dashboard>.side>.console-module{padding:24px 22px}.print-sheet .side .module-heading{margin-bottom:20px}.print-sheet .side .module-heading h2{font-size:24px}.print-sheet .side .target-status span{font-size:16px}.print-sheet .side .mode-slider button{padding:12px;min-height:74px}.print-sheet .side .mode-slider button>span{font-size:25px}.print-sheet .side .mode-slider button small{font-size:10px}.print-sheet .side .dial{width:78px;height:78px}.print-sheet .side .dual-dials{gap:32px}.print-sheet .side .archive-status{min-height:0;margin-bottom:12px}.print-sheet .side .sound-toggle{max-width:260px}.print-sheet .side #sound-label{margin-left:auto}.print-sheet .mast .raven-print-socket{margin-left:12px}}
@media(max-width:350px){.print-sheet .wrap{width:calc(100% - 24px)}.print-sheet .brand{grid-template-columns:23px auto;gap:7px}.print-sheet .brand>img{width:23px;height:23px}.print-sheet .wordmark strong{font-size:21px;line-height:23px}.print-sheet .mast .raven-print-socket{margin-left:10px;width:50px}.print-sheet .mast .brand-raven{width:46px;height:52px}.print-sheet .dashboard>.side>.console-module{padding:22px 18px}.print-sheet .side .module-heading h2{font-size:23px}.print-sheet .side .dial{width:74px;height:74px}.print-sheet .side .dual-dials{gap:24px}.print-title>span{font-size:42px}.print-title{font-size:42px}}

/* Each functional plate sits on paper, including the full outer perimeter. */
.print-sheet .dashboard{grid-template-columns:minmax(0,1fr);margin-inline:-32px;padding:32px;gap:24px}
.print-sheet .dashboard>.side{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}
.print-sheet .dashboard>.side>.console-module{padding:30px}
.print-sheet .side .module-heading h2{font-size:27px}
.print-sheet .side .dial{width:78px;height:78px}
.print-sheet .side .dual-dials{gap:26px}
body,.print-sheet .dashboard{background-attachment:scroll}
@media(max-width:900px) and (min-width:601px){.print-sheet .dashboard{margin-inline:-24px;padding:24px}.print-sheet .dashboard>.side>.console-module{padding:24px}.print-sheet .side .module-heading h2{font-size:25px}.print-sheet .side .dual-dials{gap:20px}}
@media(max-width:600px){
 .print-sheet .dashboard{margin-inline:-14px;padding:22px 14px;gap:16px}
 .print-sheet .dashboard>.side{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px}
 .print-sheet .dashboard>.side>.console-module{padding:20px 12px;min-width:0;clip-path:polygon(10px 0,100% 0,100% calc(100% - 10px),calc(100% - 10px) 100%,0 100%,0 10px)}
 .print-sheet .side .module-heading{display:flex;flex-direction:column;align-items:flex-start;gap:6px;margin-bottom:20px}
 .print-sheet .side .module-heading h2{font-size:21px;line-height:1.25;order:0;letter-spacing:0}
 .print-sheet .side .module-heading .section-en{font-size:9px;letter-spacing:.06em;order:1}
 .print-sheet .side .target-status{gap:5px;align-items:flex-start;margin-bottom:16px}
 .print-sheet .side .target-status svg{width:16px;height:16px;flex-shrink:0}
 .print-sheet .side .target-status span{font-size:12px;line-height:1.5}
 .print-sheet .side .role-picker select{font-size:11px;padding:10px 24px 10px 8px;min-height:44px}
 .print-sheet .side .module-detail{font-size:11px;line-height:1.7;gap:4px}
 .print-sheet .side .mode-slider{gap:5px}
 .print-sheet .side .mode-slider button{padding:10px 2px;min-height:64px;min-width:0}
 .print-sheet .side .mode-slider button>span{font-size:20px}
 .print-sheet .side .mode-slider button small{font-size:8px;letter-spacing:0}
 .print-sheet .side .mode-description,.print-sheet .side .mode-control .hint{font-size:11px;line-height:1.7}
 .print-sheet .side .dual-dials{gap:8px;justify-content:space-between}
 .print-sheet .side .dial{width:52px;height:52px}
 .print-sheet .side .dial output{font-size:16px}
 .print-sheet .side #sound-dial output{font-size:14px}
 .print-sheet .side .dial-group label{font-size:10px;letter-spacing:0;white-space:nowrap}
 .print-sheet .side .sound-toggle{gap:6px;font-size:11px;margin-top:18px}
 .print-sheet .side #sound-label{margin-left:0;font-size:10px}
 .print-sheet .side .led-switch{width:44px;min-height:44px}
 .print-sheet .side .local-audio-note{font-size:10px;line-height:1.7}
 .print-sheet .side .archive-status{flex-direction:column;align-items:flex-start;gap:12px;margin-bottom:20px}
 .print-sheet .side .archive-note,.print-sheet .side #home-history-summary{font-size:12px;line-height:1.7}
 .print-sheet .side .console-link{font-size:13px;min-height:44px}
}
@media(max-width:350px){
 .print-sheet .dashboard{margin-inline:-12px;padding:20px 12px;gap:12px}
 .print-sheet .dashboard>.side{gap:12px}
 .print-sheet .dashboard>.side>.console-module{padding:18px 10px}
 .print-sheet .side .module-heading h2{font-size:19px}
 .print-sheet .side .mode-slider button>span{font-size:18px}
 .print-sheet .side .mode-slider button small{font-size:7px}
 .print-sheet .side .dial{width:44px;height:44px}
 .print-sheet .side .dual-dials{gap:6px}
 .print-sheet .side .dial output{font-size:14px}
 .print-sheet .side #sound-dial output{font-size:12px}
}

/* The masthead and screen form one continuous plate above the four cards. */
.print-sheet{--plate-gutter:32px}
.print-sheet .dashboard{padding-top:0}
.print-sheet .dashboard>.preview-panel{margin-inline:calc(-1 * var(--plate-gutter));padding-inline:calc(18px + var(--plate-gutter));clip-path:polygon(0 0,100% 0,100% calc(100% - 22px),calc(100% - 22px) 100%,0 100%)}
@media(max-width:900px) and (min-width:601px){.print-sheet{--plate-gutter:24px}}
@media(max-width:600px){.print-sheet{--plate-gutter:14px}.print-sheet .dashboard>.preview-panel{padding-inline:calc(12px + var(--plate-gutter));clip-path:polygon(0 0,100% 0,100% calc(100% - 15px),calc(100% - 15px) 100%,0 100%)}}
@media(max-width:350px){.print-sheet{--plate-gutter:12px}}

/* Paper mast, shared outer alignment, and a title-side raven. */
.print-sheet{width:min(1320px,68vw);--plate-gutter:40px;padding-top:0}
.print-sheet .wrap{width:calc(100% - 80px)}
.print-sheet .mast{width:100%;padding-inline:40px;min-height:124px;background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:720px}
.print-sheet .brand>img{filter:brightness(0)}
.print-sheet .wordmark strong{color:#080909}
.print-sheet .wordmark small,.print-sheet .edition{color:#30302e}
.print-sheet .mast-nav a{color:#111}
.print-sheet .mast-nav a[aria-current=page],.print-sheet .mast-nav a:hover{color:#eee;background:#000}
.print-sheet .mast .settings-link{color:#111;border-color:#555;background:none}
.print-sheet .mast .settings-link:hover,.print-sheet .mast .settings-link[aria-expanded=true]{color:#eee;background:#000}
.print-sheet .mast .settings-link[aria-expanded=true] svg{color:#eee}
.print-sheet .dashboard{margin-inline:-40px;padding:0 0 40px;gap:40px}
.print-sheet .dashboard>.preview-panel{margin-inline:0;padding-inline:58px}
.print-sheet .dashboard>.side{gap:40px}
.print-title{font-size:clamp(72px,8.2vw,138px);height:222px;margin-top:28px}
.print-title>span{font-size:clamp(72px,8.2vw,138px)}
.print-title>span.print-title-echo{top:.58em}
.print-title::after{top:.59em}
.print-title .raven-print-socket{position:absolute;display:grid;place-items:center;right:65px;top:18px;width:140px;height:155px;margin:0;background:none;border-radius:0}
.print-title .brand-raven{display:block;width:135px;height:145px;margin:0;object-fit:contain;animation:none}
.print-title .raven-presence{z-index:4}
.print-globe{top:auto;bottom:10px;right:8px;width:60px;height:32px}
@media(min-width:1700px){.print-title .raven-print-socket{right:90px;width:170px;height:180px}.print-title .brand-raven{width:160px;height:170px}}
@media(max-width:1250px) and (min-width:601px){.print-title{font-size:clamp(60px,7.6vw,95px)}.print-title>span{font-size:clamp(60px,7.6vw,95px)}.print-title .raven-print-socket{right:40px;width:100px;height:125px;top:12px}.print-title .brand-raven{width:95px;height:115px}}
@media(max-width:900px) and (min-width:601px){.print-sheet{width:74vw;--plate-gutter:32px}.print-sheet .wrap{width:calc(100% - 64px)}.print-sheet .mast{width:100%;padding-inline:32px}.print-sheet .dashboard{margin-inline:-32px;padding-bottom:32px;gap:32px}.print-sheet .dashboard>.side{gap:32px}.print-sheet .dashboard>.preview-panel{padding-inline:50px}.print-title{height:158px;font-size:7.4vw}.print-title>span{font-size:7.4vw}.print-title .raven-print-socket{right:32px;width:80px}.print-title .brand-raven{width:80px;height:100px}}
@media(max-width:600px){
 .print-sheet{width:calc(100% - 64px);--plate-gutter:14px;padding-top:0}
 .print-sheet .wrap{width:calc(100% - 28px)}
 .print-sheet .mast{width:100%;padding-inline:14px;min-height:96px}
 .print-sheet .dashboard{margin-inline:-14px;padding:0 0 24px;gap:24px}
 .print-sheet .dashboard>.side{gap:20px}
 .print-sheet .dashboard>.preview-panel{padding-inline:26px}
 .print-title{height:115px;margin-top:20px;font-size:9vw}
 .print-title>span{font-size:9vw}
 .print-title .raven-print-socket{right:26px;top:0;width:65px;height:86px}
 .print-title .brand-raven{width:65px;height:86px}
 .print-globe{width:35px;height:20px;right:4px;bottom:6px}
}
@media(max-width:350px){.print-title{height:100px;font-size:8.5vw}.print-title>span{font-size:8.5vw}.print-title .raven-print-socket{right:23px;width:54px;height:72px}.print-title .brand-raven{width:54px;height:72px}.print-sheet .dashboard>.side{gap:16px}}
/* Cut each plate locally; the old whole-sheet mask must not trim the card grid. */
.print-sheet{clip-path:none}

/* Shared die-cut geometry: all bevels use equal horizontal and vertical offsets. */
.print-sheet{--die-step:14px;--die-corner:28px;--die-heel:38px}
.print-title::before{content:'';position:absolute;pointer-events:none;z-index:5;top:-28px;left:calc(-1 * var(--plate-gutter));right:calc(-1 * var(--plate-gutter));height:42px;background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:720px;clip-path:polygon(0 0,100% 0,100% 28px,calc(100% - 28px) 0,78% 0,calc(78% - 12px) 12px,61% 12px,calc(61% - 12px) 0,42px 0,0 42px)}
.print-sheet .dashboard>.preview-panel{padding-bottom:46px;clip-path:polygon(0 0,100% 0,100% 24%,calc(100% - 18px) calc(24% + 18px),calc(100% - 18px) 51%,100% calc(51% + 18px),100% calc(100% - 62px),calc(100% - 28px) calc(100% - 34px),calc(100% - 62px) 100%,28px 100%,0 calc(100% - 28px),0 65%,14px calc(65% - 14px),14px 34%,0 calc(34% - 14px))}
.print-sheet .dashboard>.side>.console-module{padding-bottom:46px}




.print-sheet .slogan{padding-right:0}
.print-sheet .slogan-copy{max-width:calc(100% - 120px)}
@media(max-width:900px) and (min-width:601px){.print-sheet{--die-step:10px;--die-corner:24px;--die-heel:32px}}
@media(max-width:600px){
 .print-sheet{--die-step:6px;--die-corner:14px;--die-heel:24px}
 .print-title::before{top:-20px;height:20px;clip-path:polygon(0 0,100% 0,100% 14px,calc(100% - 14px) 0,83% 0,calc(83% - 6px) 6px,62% 6px,calc(62% - 6px) 0,20px 0,0 20px)}
 .print-sheet .dashboard>.preview-panel{padding-bottom:30px;clip-path:polygon(0 0,100% 0,100% 26%,calc(100% - 7px) calc(26% + 7px),calc(100% - 7px) 54%,100% calc(54% + 7px),100% calc(100% - 32px),calc(100% - 16px) calc(100% - 16px),calc(100% - 32px) 100%,16px 100%,0 calc(100% - 16px),0 65%,7px calc(65% - 7px),7px 32%,0 calc(32% - 7px))}
 .print-sheet .dashboard>.side>.console-module{padding-bottom:32px}
 .print-sheet .slogan-copy{max-width:calc(100% - 42px)}
}

/* Compact bilingual brand lockup; match the visible LED mark to both text lines. */
.print-sheet .mast{min-height:84px;padding-block:16px}
.print-sheet .brand{grid-template-columns:48px auto;gap:10px;align-items:center}
.print-sheet .brand>img{width:48px;height:48px}
.print-sheet .wordmark{display:flex;flex-direction:column;gap:0;padding:0}
.print-sheet .wordmark strong{font-size:30px;line-height:32px}
.print-sheet .wordmark small{font-size:10px;line-height:12px;letter-spacing:.15em}
@media(max-width:600px){.print-sheet .mast{min-height:72px;padding-block:12px}.print-sheet .brand{grid-template-columns:40px auto;gap:8px}.print-sheet .brand>img{width:40px;height:40px}.print-sheet .wordmark strong{font-size:23px;line-height:25px}.print-sheet .wordmark small{font-size:9px;line-height:11px;letter-spacing:.09em}}
@media(max-width:350px){.print-sheet .mast{min-height:64px;padding-block:10px}.print-sheet .brand{grid-template-columns:36px auto;gap:7px}.print-sheet .brand>img{width:36px;height:36px}.print-sheet .wordmark strong{font-size:21px;line-height:23px}.print-sheet .wordmark small{font-size:8px;line-height:9px}}

/* Print the brand and header tools on the same paper as the margins. */
.mast-paper,.mast-paper::after{background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:720px}
.mast-paper{position:relative}
.mast-paper::after{content:'';position:absolute;inset:100% 0 auto;height:42px;pointer-events:none;clip-path:polygon(0 0,100% 0,100% 28px,calc(100% - 28px) 0,78% 0,calc(78% - 12px) 12px,61% 12px,calc(61% - 12px) 0,42px 0,0 42px)}
.print-sheet .mast{background:transparent;color:#191917;position:relative;padding-inline:0}
.print-sheet .brand>img{filter:brightness(0)}
.print-sheet .wordmark strong{color:#191917}
.print-sheet .wordmark small,.print-sheet .edition{color:#4b4b45}
.print-sheet .mast .settings-link,.print-sheet .mast .settings-link[aria-expanded=true] svg{color:#191917}
.print-title::before{display:none}
.print-title{--raven-title-gap:12px}
.print-title .raven-print-socket{right:auto;left:calc(4.62em + 12px)}
@media(max-width:600px){.print-title{--raven-title-gap:8px}.mast-paper::after{height:20px;clip-path:polygon(0 0,100% 0,100% 14px,calc(100% - 14px) 0,83% 0,calc(83% - 6px) 6px,62% 6px,calc(62% - 6px) 0,20px 0,0 20px)}}

/* One consistent silhouette for the four function plates. */
.print-sheet .dashboard>.side>.console-module{clip-path:polygon(var(--die-corner) 0,60% 0,calc(60% + var(--die-step)) var(--die-step),83% var(--die-step),calc(83% + var(--die-step)) 0,100% 0,100% calc(100% - var(--die-heel)),calc(100% - var(--die-heel)) 100%,0 100%,0 58%,var(--die-step) calc(58% - var(--die-step)),var(--die-step) 32%,0 calc(32% - var(--die-step)),0 var(--die-corner))}

/* The poster, settings, and margin marks share one width. */
:root{--sheet-width:min(1320px,70vw)}
.print-sheet{width:var(--sheet-width)}
.print-title .raven-print-socket{top:2px}
.paper-marginalia{position:absolute;z-index:0;width:64px;display:flex;flex-direction:column;align-items:center;gap:150px;color:#282725;pointer-events:none;user-select:none}
.margin-west{top:390px}
.margin-east{top:310px;gap:190px}
.margin-stamp{width:64px;padding:14px 8px;background:color-mix(in srgb,var(--accent) 34%,#d9d9d5);clip-path:polygon(9px 0,100% 0,100% calc(100% - 9px),calc(100% - 9px) 100%,0 100%,0 9px);display:flex;flex-direction:column;gap:13px}
.margin-micro{font:9px/1.45 'Anchor Poster',sans-serif;letter-spacing:.06em}
.margin-stamp strong{font:600 23px/.95 'Anchor Poster',sans-serif;letter-spacing:-.02em}
.margin-barcode{width:100%;height:28px;stroke:currentColor;stroke-width:1.3;fill:none}
.margin-registration{width:54px;height:96px}
.margin-vertical{display:flex;flex-direction:column;align-items:center;gap:20px}
.margin-vertical span{writing-mode:vertical-rl;font:600 13px/1.4 'Anchor Poster',sans-serif;letter-spacing:.18em}
.margin-vertical span:last-child{font:11px/1.5 var(--display);letter-spacing:.3em}
.margin-vertical i{display:block;width:1px;height:84px;background:currentColor;position:relative;opacity:.55}
.margin-vertical i::before,.margin-vertical i::after{content:'';position:absolute;width:7px;height:1px;left:-3px;background:currentColor}
.margin-vertical i::after{bottom:0}
.margin-specimen{display:flex;flex-direction:column;gap:16px;width:64px}
.margin-specimen svg{width:64px;height:48px}
.margin-stamp-quiet{background:none;padding:0}
@media(max-width:1250px) and (min-width:601px){.print-title .raven-print-socket{top:0}}
@media(max-width:900px) and (min-width:601px){:root{--sheet-width:74vw}.paper-marginalia{width:44px}.margin-west{top:330px}.margin-east{top:430px}.margin-stamp,.margin-specimen{width:44px}.margin-stamp{padding:10px 5px}.margin-stamp strong{font-size:19px}.margin-micro{font-size:8px}.margin-specimen svg{width:44px}.margin-registration{width:38px}}
@media(max-width:600px){
 :root{--sheet-width:calc(100% - 32px)}
 .print-title .raven-print-socket{top:-10px}
 .paper-marginalia{width:13px;gap:100px}
 .margin-west{left:22px;top:350px}
 .margin-east{right:22px;top:500px;gap:100px}
 .margin-stamp{width:12px;padding:0;background:none;clip-path:none}
 .margin-stamp .margin-micro,.margin-stamp strong,.margin-specimen .margin-micro{display:none}
 .margin-barcode{width:12px;height:42px}
 .margin-registration{width:13px;height:30px}
 .margin-specimen,.margin-specimen svg{width:13px;height:20px}
 .margin-vertical{gap:14px}
 .margin-vertical span{font-size:8px;letter-spacing:.12em}
 .margin-vertical span:last-child{display:none}
 .margin-vertical i{height:60px}
}
@media(max-width:350px){.print-sheet .side .dual-dials{gap:4px}}
.margin-stamp-quiet{clip-path:none}
@media(max-width:350px){.print-sheet .side .mode-slider button>span{white-space:nowrap;font-size:17px;letter-spacing:0}.print-sheet .side .target-status span{font-size:11px}.print-sheet .side .module-detail{font-size:10px;letter-spacing:0}}

/* Reference-scale poster typography and a composed symbol rail. */
.print-rail{top:34px;bottom:38px;width:56px;gap:26px;color:#171716}
.print-rail-left{left:24px}.print-rail-right{right:24px}
.print-rail .rail-word{font:600 clamp(28px,3.2vw,46px)/1 'Anchor Poster',sans-serif;letter-spacing:.025em}
.print-rail .rail-end{color:color-mix(in srgb,var(--accent) 40%,#555)}
.print-rail svg{stroke:currentColor;stroke-width:.8;fill:none;flex-shrink:0}
.print-rail .rail-reticle{width:46px;height:46px}
.print-rail .rail-symbols{width:44px;height:198px}
.print-rail .rail-barcode{width:38px;height:112px;stroke-width:1.4}
.paper-marginalia{width:76px;gap:110px}
.margin-west{left:calc((100% - var(--sheet-width))/2 - 90px)}
.margin-east{right:calc((100% - var(--sheet-width))/2 - 90px);gap:132px}
.margin-stamp{width:76px;padding:16px 10px;gap:15px}
.margin-stamp strong{font-size:32px}
.margin-micro{font-size:10px}
.margin-vertical span:first-child{font-size:21px;letter-spacing:.08em}
.margin-stamp-quiet{padding:0;background:none}
.print-title{--raven-title-gap:6px}
.print-title .raven-print-socket{top:-28px}
/* The empty standby banner is gone; actual messages still use the ticker. */
#empty-message{display:none}
.print-sheet .display-foot:has(#ticker[hidden]){display:none}
/* Compact controls replace display-sized labels and empty card space. */
.print-sheet .dashboard>.side{min-height:0;align-content:start;grid-auto-rows:auto}
.print-sheet .dashboard>.side>.console-module{padding:24px 28px 30px}
.print-sheet .side .module-heading{margin-bottom:14px;gap:4px}
.print-sheet .side .module-heading h2{font-size:19px;line-height:1.2}
.print-sheet .side .module-heading .section-en{font-size:9px;letter-spacing:.08em}
.print-sheet .side .target-status{padding:0;margin:0 0 10px;gap:8px}
.print-sheet .side .target-status span{font-size:13px}
.print-sheet .side .target-status svg{width:18px;height:18px}
.print-sheet .side .role-picker select{min-height:44px;padding-block:10px;font-size:12px}
.print-sheet .side .module-detail{margin-top:8px;min-height:32px;font-size:12px}
.print-sheet .side .mode-slider button{display:flex;flex-direction:row;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:10px}
.print-sheet .side .mode-slider button>span{font:15px/1.2 var(--display);letter-spacing:0;white-space:nowrap}
.print-sheet .side .mode-slider button small{display:none}
.control-icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.3;fill:none;flex-shrink:0}
.print-sheet .side .mode-description{font-size:12px;margin:10px 0 4px}
.print-sheet .side .mode-control .hint{font-size:11px;margin:0}
.print-sheet .side .dial{width:60px;height:60px}
.print-sheet .side .dial output{font-size:18px}
.print-sheet .side #sound-dial output{font-size:16px}
.print-sheet .side .dual-dials{gap:26px}
.print-sheet .side .dial-group label{font-size:11px;margin-top:8px}
.print-sheet .side .archive-status{flex:0;min-height:0;gap:0;margin:0 0 12px;padding:0;justify-content:flex-start}
.print-sheet .side .archive-status>svg{display:none}
.print-sheet .side .archive-note,.print-sheet .side #home-history-summary{font-size:12px;line-height:1.6;margin:0}
.print-sheet .side .console-link{display:flex;justify-content:flex-start;gap:9px;border:1px solid #777;padding:10px 12px;min-height:44px;font-size:13px;max-width:230px;margin:0}
.print-sheet .side .console-link>svg:last-child{margin-left:auto;width:14px}
.print-sheet .slogan-copy{max-width:100%}
.print-sheet .slogan .slogan-copy p:first-of-type{white-space:nowrap}
.print-sheet .slogan .slogan-copy p:first-of-type>span{display:inline}
@media(max-width:1150px) and (min-width:601px){
 .print-rail{width:32px;gap:22px}.print-rail-left{left:8px}.print-rail-right{right:8px}.print-rail .rail-word{font-size:26px}.print-rail .rail-reticle{width:30px;height:30px}.print-rail .rail-symbols{width:30px;height:135px}.print-rail .rail-barcode{width:26px;height:85px}
 .paper-marginalia{width:44px}.margin-west{left:calc((100% - var(--sheet-width))/2 - 50px)}.margin-east{right:calc((100% - var(--sheet-width))/2 - 50px)}.margin-stamp{width:44px;padding:10px 5px}.margin-stamp strong{font-size:22px}.margin-micro{font-size:8px}.margin-vertical span:first-child{font-size:16px}.margin-stamp-quiet{padding:0}
}
@media(max-width:900px) and (min-width:601px){.print-title .raven-print-socket{top:-22px}}
@media(max-width:725px){.paper-marginalia{display:none}}
@media(max-width:600px){
 .print-rail{top:24px;bottom:30px;width:26px;gap:16px}.print-rail-left{left:6px}.print-rail-right{right:6px}
 .print-rail .rail-word{font-size:19px;letter-spacing:.02em}
 .print-rail .rail-reticle{width:24px;height:24px}.print-rail .rail-symbols{width:24px;height:108px}.print-rail .rail-barcode{width:21px;height:74px}
 .print-title{--raven-title-gap:4px;margin:32px 10px 0}.print-title .raven-print-socket{top:-9px}
 .print-sheet .dashboard>.side>.console-module{padding:18px 12px 24px}
 .print-sheet .side .module-heading{margin-bottom:12px;gap:4px}
 .print-sheet .side .module-heading h2{font-size:17px}
 .print-sheet .side .module-heading .section-en{font-size:8px}
 .print-sheet .side .target-status{gap:4px;margin-bottom:8px}
 .print-sheet .side .target-status span{font-size:11px}
 .print-sheet .side .target-status svg{width:14px;height:14px}
 .print-sheet .side .role-picker select{font-size:12px;padding:9px 20px 9px 6px;min-height:44px}
 .print-sheet .side .module-detail{font-size:11px;margin-top:6px}
 .print-sheet .side .mode-slider{gap:5px}
 .print-sheet .side .mode-slider button{flex-direction:column;gap:6px;min-height:62px;padding:7px 2px}
 .print-sheet .side .mode-slider button>span{font-size:14px}
 .print-sheet .side .mode-description,.print-sheet .side .mode-control .hint{font-size:10px;line-height:1.5}
 .print-sheet .side .dual-dials{gap:6px}
 .print-sheet .side .dial{width:50px;height:50px}
 .print-sheet .side .dial output{font-size:15px}.print-sheet .side #sound-dial output{font-size:13px}
 .print-sheet .side .dial-group label{font-size:10px;margin-top:6px}
 .print-sheet .side .archive-note,.print-sheet .side #home-history-summary{font-size:11px}
 .print-sheet .side .console-link{gap:6px;padding:9px 7px;font-size:12px;flex-wrap:wrap}
 .print-sheet .side .console-link .control-icon{width:16px;height:16px}
 .print-sheet .side .console-link>svg:last-child{display:none}
 .print-sheet .slogan .slogan-copy p:first-of-type{font-size:clamp(8.5px,2.6vw,12px);padding-inline:0;letter-spacing:0}
 .print-sheet .slogan .slogan-copy p[lang=en]{font-size:8px}
}
@media(max-width:350px){
 .print-rail .rail-word{font-size:17px}
 .print-sheet .dashboard>.side>.console-module{padding-inline:10px}
 .print-sheet .side .module-heading h2{font-size:16px}
 .print-sheet .side .target-status span{font-size:10px}
 .print-sheet .side .dual-dials{gap:4px}
 .print-sheet .side .dial{width:42px;height:42px}
 .print-sheet .side .dial output{font-size:13px}.print-sheet .side #sound-dial output{font-size:12px}
 .print-sheet .side .dial-group label{font-size:9px}
 .print-sheet .side .console-link{font-size:11px}
}

/* Direct access to the same persistent theme colors used in Settings. */
.quick-palette{display:flex;gap:2px;align-items:center}
.quick-palette label{position:relative;display:grid;place-items:center;width:36px;height:44px;cursor:pointer}
.quick-palette input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.quick-palette label>span{width:24px;height:24px;background:var(--accent);border:1px solid #b9b9b2;pointer-events:none}
.quick-palette label:last-child>span{background:var(--opposite)}
.quick-palette label:focus-within{outline:1px solid #eee;outline-offset:2px}
.print-sheet .mast-actions{gap:14px}
/* The two procedural engravings now live inside black plates. */
.plate-signal{position:absolute;pointer-events:none;z-index:0;overflow:hidden}
.plate-signal-left{width:220px;height:84px;left:20px;bottom:58px;opacity:.72}
.plate-signal-right{width:180px;height:72px;right:20px;bottom:18px;opacity:.5}
.plate-current{position:absolute;inset:0;pointer-events:none}
.history-control>.module-heading,.history-control>.archive-status,.history-control>.console-link{position:relative;z-index:1}
/* Colophon and tagline are printed directly onto the paper. */
.print-sheet{padding-bottom:0}
.print-sheet .slogan{margin:0 calc(-1 * var(--plate-gutter));width:calc(100% + var(--plate-gutter) * 2);min-height:120px;padding:22px var(--plate-gutter) 28px;background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:720px;display:flex;flex-direction:column;justify-content:center;gap:12px;color:#171715}
.print-sheet .slogan::before,.print-sheet .slogan::after{display:none}
.print-sheet .slogan .slogan-copy{width:100%;max-width:100%}
.print-sheet .slogan .slogan-copy p:first-of-type{color:#171715;background:none;max-width:100%;white-space:nowrap}
.print-sheet .slogan .slogan-copy p[lang=en]{color:#494943;background:none}
.print-sheet .slogan .edition-foot{position:static;bottom:auto;width:100%;margin-top:12px;color:#494943}
@font-face {
  font-family: Manrope;
  src: url('/fonts/manrope-latin-400-normal.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.site-legal {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
  font: 400 10px/1.5 Manrope, 'Microsoft YaHei', sans-serif;
  letter-spacing: 0;
  white-space: nowrap;
}
.site-legal-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: inherit;
  text-decoration: none;
}
.site-legal a:hover { color: #171715; text-decoration: underline; text-underline-offset: 4px; }
.site-legal-item:focus-visible { outline: 1px solid currentColor; outline-offset: 2px; }
.site-legal .site-legal-short { display: none; }

.site-legal-tooltip, .settings-gift-tooltip {
  display: none;
  position: absolute;
  z-index: 1;
  padding: 8px 12px;
  border-radius: 6px;
  background: #222;
  color: #eee;
  font: 400 12px/1.5 sans-serif;
  white-space: nowrap;
  pointer-events: none;
}
.site-legal-tooltip { inset-block-end: calc(100% + 8px); inset-inline-start: 0; }
.site-legal-item:is(:hover, :focus-visible) .site-legal-tooltip { display: block; }

@media (orientation: portrait) {
  .site-legal { gap: 8px; }
  .site-legal-item { min-width: 16px; justify-content: center; }
  .site-legal .site-legal-full {
    position: absolute;
    width: 1px;
    height: 1px;
    clip-path: inset(50%);
    overflow: hidden;
  }
  .site-legal .site-legal-short { display: inline; }
}
@media (max-width: 1050px) and (orientation: landscape) {
  .site-legal { gap: 8px; }
}
@media(max-width:1200px){.print-sheet .mast-actions{gap:8px}}
@media(max-width:600px){
 .quick-palette{gap:0}.quick-palette label{width:28px;height:36px}.quick-palette label>span{width:18px;height:18px}
 .print-sheet .mast-actions{gap:4px}
 .plate-signal-left{width:115px;height:48px;left:12px;bottom:48px;opacity:.55}
 .plate-signal-right{width:90px;height:40px;right:6px;bottom:12px;opacity:.35}
 .print-sheet .slogan{min-height:110px;padding-top:16px;padding-bottom:20px;gap:8px}
}
@media(max-width:350px){
 .print-sheet .mast{gap:4px}
 .print-sheet .brand{gap:4px}
 .quick-palette label{width:24px;height:32px}.quick-palette label>span{width:16px;height:16px}
 .print-sheet .mast .settings-link{width:32px;padding-inline:4px}
 .print-sheet .mast-actions{gap:3px}
}

/* Final compact layout corrections and restrained printing annotations. */
.print-sheet .wordmark strong{white-space:nowrap}
.print-sheet .side .archive-status{flex:none}
.print-sheet .slogan .slogan-copy p:first-of-type{width:max-content;margin-inline:auto;padding-inline:12px}
.print-index{position:absolute;bottom:8px;left:0;display:flex;align-items:center;gap:16px;color:#a5a59e;font:9px/1.3 'Anchor Poster',sans-serif;letter-spacing:.09em}
.print-index i{width:54px;height:7px;border-top:2px solid currentColor;border-bottom:1px solid currentColor;opacity:.65}
.grid-print-code{position:absolute;top:-25px;left:0;color:#34342f;font:9px/1 'Anchor Poster',sans-serif;letter-spacing:.1em}
.margin-code{font:9px/1.4 monospace;letter-spacing:-.02em}
@media(max-width:600px){.print-index{font-size:7px;gap:10px;bottom:4px}.print-index i{width:26px;height:5px}.grid-print-code{top:-16px;font-size:7px;letter-spacing:.03em}.print-sheet .slogan .slogan-copy p:first-of-type{padding-inline:6px}}
@media(max-width:350px){.print-sheet .mast .settings-link{min-width:32px}.print-sheet .brand-assembly{flex-shrink:0}.print-sheet .brand{grid-template-columns:32px auto;gap:4px}.print-sheet .brand>img{width:32px;height:32px}.print-sheet .wordmark strong{font-size:20px;line-height:22px}.print-sheet .wordmark small{line-height:10px}.print-sheet .mast-actions{gap:2px}.print-sheet .mast .settings-link{width:28px;min-width:28px}}
/* Settings replaces the visible home surface without changing its layout. */
.settings-open{overflow:hidden}
.settings-open body{height:100dvh;overflow:clip}
.settings-open .print-sheet{background:transparent}
.settings-open .view{visibility:hidden;pointer-events:none}
.settings-open .mast{z-index:81}
.print-sheet #settings{position:fixed;z-index:80;top:var(--settings-top,136px);left:50%;transform:translateX(-50%);bottom:24px;width:min(1000px,64vw);height:auto;max-height:none;margin:0;padding:0;overflow:auto;overscroll-behavior:contain;background:#d9d9d5 url('/assets/print-paper.png') repeat;background-size:720px;color:#171715;border:0;clip-path:polygon(18px 0,100% 0,100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 18px);scrollbar-color:#666 #d9d9d5}
.print-sheet #settings .settings-top{display:flex;justify-content:space-between;align-items:center;padding:24px 28px 20px;gap:16px}
.print-sheet #settings h1{font:28px/1.2 var(--display);margin:4px 0 0;color:#111;letter-spacing:.02em}
.settings-code{font:10px/1.2 'Anchor Poster',sans-serif;letter-spacing:.12em}
.print-sheet #settings #settings-close{display:grid;place-items:center;width:44px;height:44px;min-height:44px;padding:10px;background:#000;color:#eee;border:0}
#settings-close svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.3}
.print-sheet #settings .settings-body{padding:0 28px 24px}
.settings-overview{display:grid;grid-template-columns:1.2fr 1fr;gap:18px}
.print-sheet #settings .settings-group{background:#000;color:#eee;padding:22px;min-width:0;clip-path:polygon(12px 0,100% 0,100% calc(100% - 12px),calc(100% - 12px) 100%,0 100%,0 12px);--ink:#eee;--muted:#b8b8b0;--edge:#666}
.print-sheet #settings .settings-group h2{font:19px/1.3 var(--display);color:#eee;margin:0 0 18px}
.print-sheet #settings .subtle{font-size:12px;line-height:1.6;color:#b5b5ae;margin:12px 0 0}
.print-sheet #settings button,.print-sheet #settings select,.print-sheet #settings textarea{font-size:13px;min-height:40px;border:1px solid #666;border-radius:0;background:#000;color:#eee;box-shadow:none}
.print-sheet #settings button:disabled,.print-sheet #settings select:disabled,.print-sheet #settings textarea:disabled{opacity:.5}
.print-sheet #settings .actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}
.print-sheet #settings .actions button{padding:8px 12px}
.print-sheet #settings .check-row{font-size:12px;line-height:1.5;gap:8px;align-items:center}
.print-sheet #settings .diagnostic-details{margin-top:16px;border-top:1px solid #444;padding-top:12px}
.print-sheet #settings .diagnostic-details summary{display:flex;justify-content:space-between;font-size:12px;color:#bbb;padding:0;min-height:28px}
.print-sheet #settings #diagnostics{font-size:11px;line-height:1.6;overflow-wrap:anywhere}
.motion-preference{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px}
.settings-signature{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:24px;font:9px/1 'Anchor Poster',sans-serif;letter-spacing:.08em;color:#888}
.settings-signature>span:first-child{font-size:20px;color:var(--accent)}
.print-sheet #settings .settings-device{margin:18px 0 0;border:0;background:#000;color:#eee;padding:0 22px;--ink:#eee;--muted:#b8b8b0;--edge:#666}
.print-sheet #settings .device-settings-summary{display:flex;align-items:center;gap:12px;padding:18px 0;min-height:60px;color:#eee}
.print-sheet #settings .device-settings-summary>span{font:18px/1.2 var(--display);letter-spacing:0}
.print-sheet #settings .device-settings-summary small{font-size:11px;color:#aaa;margin-left:auto}
.print-sheet #settings .device-settings-summary svg{width:16px;height:16px}
.print-sheet #settings .device-scene-settings{padding:0 0 22px;border:0;background:none;clip-path:none}
.print-sheet #settings .device-scene-settings>.card-head{display:none}
.print-sheet #settings .device-scene-settings>.body{padding:0}
.print-sheet #settings .device-field-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
.print-sheet #settings .device-field label,.print-sheet #settings .device-message-field>label{font-size:12px;color:#bbb}
.print-sheet #settings .device-role-field{grid-column:1/-1}
.print-sheet #settings .device-role-controls{display:flex;gap:8px}
.print-sheet #settings .device-role-controls select{flex:1;min-width:0}
.print-sheet #settings .capability-row{display:flex;align-items:center;gap:16px;padding:0 0 16px}
.print-sheet #settings #device-capability-note{flex:1;font-size:12px;color:#aaa;line-height:1.6}
.print-sheet #settings .device-message-field{margin-top:18px}
.print-sheet #settings .control-receipt{font-size:12px;color:#bbb;line-height:1.6}
.settings-colophon{display:flex;justify-content:space-between;gap:12px;padding:0 28px 22px;font:9px/1.2 'Anchor Poster',sans-serif;letter-spacing:.1em;color:#555}
@media(max-width:900px){.print-sheet #settings{width:70vw}.settings-overview{grid-template-columns:1fr}.print-sheet #settings .settings-top{padding:20px}.print-sheet #settings .settings-body{padding:0 20px 20px}}
@media(max-width:600px){.print-sheet #settings{width:calc(100% - 32px);bottom:16px}.print-sheet #settings .settings-top{padding:18px 16px}.print-sheet #settings h1{font-size:25px}.print-sheet #settings .settings-body{padding:0 16px 18px}.print-sheet #settings .settings-group{padding:18px}.print-sheet #settings .settings-device{padding:0 16px}.print-sheet #settings .device-field-grid{grid-template-columns:1fr}.print-sheet #settings .device-role-controls{flex-direction:column}.print-sheet #settings .capability-row{flex-direction:column;align-items:stretch;gap:8px}.settings-colophon{padding:0 16px 20px;font-size:8px}.print-sheet #settings .device-settings-summary small{font-size:10px}}

/* Printed registration marks: large slash bars, fine rules and specimen codes. */
.print-registration{position:absolute;left:0;bottom:35px;display:flex;align-items:center;gap:14px;color:#bdbdb5;pointer-events:none}
.print-registration i{display:block;width:92px;height:16px;background:repeating-linear-gradient(135deg,currentColor 0 5px,transparent 5px 10px);clip-path:polygon(10px 0,100% 0,calc(100% - 10px) 100%,0 100%)}
.print-registration b{font:22px/1 monospace;font-weight:400}
.print-registration span{font:10px/1.2 'Anchor Poster',sans-serif;letter-spacing:.12em}
.plate-imprint{position:absolute;bottom:10px;left:28px;right:28px;display:flex;align-items:center;gap:9px;pointer-events:none;color:#92928c;font:9px/1 'Anchor Poster',sans-serif;letter-spacing:.1em;z-index:2}
.plate-imprint i{width:30px;height:6px;background:repeating-linear-gradient(135deg,currentColor 0 2px,transparent 2px 5px)}
.plate-imprint b{margin-left:auto;font:13px/1 monospace;font-weight:400;color:var(--accent)}
.screen-imprint{position:absolute;bottom:18px;left:58px;right:58px;display:flex;align-items:center;gap:14px;font:9px/1 'Anchor Poster',sans-serif;letter-spacing:.12em;color:#9b9b93;pointer-events:none}
.screen-imprint i{flex:1;height:4px;border-top:1px solid #666;border-bottom:1px solid #333}
.print-sheet #settings .actions button{flex:0 0 auto}
@media(max-width:600px){
 .print-registration{bottom:26px;gap:8px}.print-registration i{width:52px;height:9px;background-size:auto}.print-registration b{font-size:14px}.print-registration span{font-size:7px;letter-spacing:.04em}
 .plate-imprint{left:12px;right:12px;bottom:8px;font-size:7px;gap:6px;letter-spacing:.03em}.plate-imprint i{width:18px;height:5px}.plate-imprint b{font-size:10px}
 .screen-imprint{bottom:13px;left:26px;right:26px;font-size:7px;gap:8px}
 .print-sheet #settings .actions button{padding:8px 10px;font-size:12px}
}
@media(max-width:350px){.plate-imprint{left:10px;right:10px;font-size:6px;gap:4px}.plate-imprint i{width:12px}.print-registration span{font-size:6px}}

/* Asymmetric poster composition: staggered registration and unequal columns. */
.print-rail-right{top:120px;bottom:85px}
.print-rail-right>.rail-reticle:first-child{width:30px;height:30px}
.print-rail-right>.rail-symbols{order:3;height:148px}
.print-rail-right>.rail-barcode{order:2;height:150px}
.print-rail-right>.rail-end{order:4;font-size:34px}
.print-rail-right>.rail-reticle:last-child{order:5}
.margin-east{top:245px;gap:175px}
.margin-east .margin-vertical{align-self:flex-end}
.print-sheet .dashboard>.side{grid-template-columns:repeat(12,minmax(0,1fr));column-gap:0;row-gap:28px;align-items:start}
.print-sheet .dashboard>.side>.role-control{grid-column:1/8;margin-right:28px}
.print-sheet .dashboard>.side>.mode-control{grid-column:8/13;margin-top:22px}
.print-sheet .dashboard>.side>.sound-control{grid-column:1/6;margin-right:28px}
.print-sheet .dashboard>.side>.history-control{grid-column:6/13;margin-top:16px}
.print-sheet .dashboard>.side>.console-module{padding:28px 28px 56px;min-height:0}
.print-sheet .side .module-heading{display:flex;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:10px;margin:0 0 20px}
.print-sheet .side .module-heading h2{order:0;white-space:nowrap;flex:none}
.print-sheet .side .module-heading .section-en{order:1;font:9px/1.2 'Anchor Poster',sans-serif;letter-spacing:.08em;white-space:nowrap;margin:0}
.print-sheet .side .archive-status:has(#home-history-summary[hidden]){display:none}
.print-sheet .side .module-detail{padding-top:0;margin-top:12px}
.print-sheet .side .dual-dials{margin-top:0;justify-content:flex-start}
/* Keep the selected label and its ink plate together during changes. */
.print-sheet .side .mode-slider{border:1px solid #72726d;padding:3px;gap:2px;margin:0;min-height:48px;background:#080808;touch-action:pan-y}
.print-sheet .side .recognition-slider{margin-top:10px}
.print-sheet .side .mode-slider button{background:#080808;border:0;box-shadow:none;min-height:44px;padding:8px 4px;flex-direction:row;gap:6px;color:#d5d5ce}
.print-sheet .side .mode-slider button::after{display:none}
.print-sheet .side .mode-slider button[aria-pressed=true]{background:var(--accent);color:var(--accent-ink,#000);border-start-start-radius:4px;border-end-end-radius:4px}
.print-sheet .side .mode-slider button:hover:enabled:not([aria-pressed=true]){background:#242421;color:#efefec}
.print-sheet .side .mode-slider button:focus-visible{outline:2px solid currentColor;outline-offset:-4px}
.print-sheet .side .mode-slider button svg{width:15px;height:15px}
.print-sheet .side .mode-slider button>span{font-size:14px}
/* Two compact ink samples, instead of unframed flat squares. */
.quick-palette{gap:4px;align-self:center}
.quick-palette label{width:32px;height:44px}
.quick-palette label>span,.quick-palette label:last-child>span{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;width:28px;height:34px;background:#080808;border:1px solid #686861;clip-path:polygon(4px 0,100% 0,100% calc(100% - 4px),calc(100% - 4px) 100%,0 100%,0 4px)}
.quick-palette label>span i{display:block;width:18px;height:12px;background:var(--accent);clip-path:polygon(4px 0,100% 0,calc(100% - 4px) 100%,0 100%)}
.quick-palette label:last-child>span i{background:var(--opposite)}
.quick-palette label>span b{font:8px/1 'Anchor Poster',sans-serif;letter-spacing:.1em;color:#d8d8d2}
.quick-palette label:hover>span{border-color:#eee;background:#191917}
.quick-palette label:focus-within{outline:1px solid #eee;outline-offset:0}
/* Centering is never animated: the former unfold transform caused the jump. */
.print-sheet #settings{background:#000;color:#eee;width:var(--sheet-width);bottom:var(--voice-clearance);padding:34px 36px 72px;animation:settings-reveal 160ms ease-out;--ink:#eee;--muted:#b8b8b0;--edge:#666;clip-path:polygon(20px 0,72% 0,calc(72% + 9px) 9px,89% 9px,calc(89% + 9px) 0,100% 0,100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 20px)}
@keyframes settings-reveal{from{opacity:.35}to{opacity:1}}
.print-sheet #settings .settings-body{padding:0;position:relative;z-index:1}
.print-sheet #settings .settings-overview{gap:32px}
.print-sheet #settings .settings-group{padding:0;background:none;clip-path:none}
.print-sheet #settings .settings-device{padding:0;margin-top:30px;border-top:1px solid #45453f;background:none}
.print-sheet #settings .settings-colophon{padding:24px 0 0;color:#aaa}
.print-sheet #settings .device-settings-summary svg{color:#aaa}
/* Both procedural corner engravings stay below usable content. */
.signal-plate{position:relative;isolation:isolate}
.signal-plate>.plate-signal{z-index:-1;bottom:10px;pointer-events:none;opacity:.6}
.signal-plate>.plate-signal-left{left:10px;width:min(40%,180px);height:52px}
.signal-plate>.plate-signal-right{right:12px;width:min(44%,200px);height:64px;bottom:5px}
.preview-panel.signal-plate>.plate-signal{width:230px;height:85px;bottom:35px}
.preview-panel.signal-plate>.plate-signal-left{left:20px}
.preview-panel.signal-plate>.plate-signal-right{right:28px;bottom:22px}
#settings.signal-plate>.plate-signal{position:absolute;display:block;bottom:8px;height:48px;overflow:hidden}
#settings.signal-plate>.plate-signal canvas{height:48px!important}
#settings.signal-plate>.plate-signal-right{margin-left:auto}
.print-sheet .slogan .slogan-copy p:first-of-type{font-size:clamp(20px,1.7vw,26px)}
.print-sheet .slogan .slogan-copy p[lang=en]{font-size:12px;letter-spacing:.08em}
@media(max-width:900px){.print-sheet .dashboard>.side>.console-module{padding:24px 22px 52px}.print-sheet .side .module-heading{gap:7px}.print-sheet .side .module-heading h2{font-size:18px}.print-sheet .side .dual-dials{gap:14px}}
@media(max-width:600px){
 .print-rail-right{top:110px;bottom:68px}.print-rail-right>.rail-reticle:first-child{width:18px;height:18px}.print-rail-right>.rail-symbols{height:82px}.print-rail-right>.rail-barcode{height:100px}.print-rail-right>.rail-end{font-size:16px}
 .print-sheet .dashboard>.side{row-gap:18px}
 .print-sheet .dashboard>.side>.role-control,.print-sheet .dashboard>.side>.sound-control{grid-column:1/7;margin-right:18px}
 .print-sheet .dashboard>.side>.mode-control,.print-sheet .dashboard>.side>.history-control{grid-column:7/13}
 .print-sheet .dashboard>.side>.mode-control{margin-top:16px}.print-sheet .dashboard>.side>.history-control{margin-top:10px}
 .print-sheet .dashboard>.side>.console-module{padding:22px 14px 44px}
 .print-sheet .side .module-heading{gap:5px;margin-bottom:18px}.print-sheet .side .module-heading h2{font-size:14px}.print-sheet .side .module-heading .section-en{font-size:7px;letter-spacing:.02em}
 .print-sheet .side .mode-slider button svg{display:none}.print-sheet .side .mode-slider button>span{font-size:12px}.print-sheet .side .mode-slider button{padding:6px 2px}
 .print-sheet .side .dual-dials{gap:8px}.print-sheet .side .dial{width:44px;height:44px}.print-sheet .side .dial-group label{font-size:9px}
 .quick-palette{gap:2px}.quick-palette label{width:24px;height:40px}.quick-palette label>span,.quick-palette label:last-child>span{width:22px;height:30px;gap:3px}.quick-palette label>span i{width:15px;height:10px}.quick-palette label>span b{font-size:7px}
 .print-sheet #settings{padding:32px 24px 60px}.print-sheet #settings .settings-overview{gap:28px}.print-sheet #settings .settings-body{padding:0}.print-sheet #settings .settings-group{padding:0}.print-sheet #settings .settings-device{padding:0}.print-sheet #settings .settings-colophon{font-size:7px;gap:8px}
 .signal-plate>.plate-signal-left{left:6px;height:34px;bottom:9px}.signal-plate>.plate-signal-right{right:5px;height:38px;bottom:4px}
 .preview-panel.signal-plate>.plate-signal{width:105px;height:44px;bottom:30px}.preview-panel.signal-plate>.plate-signal-left{left:10px}.preview-panel.signal-plate>.plate-signal-right{right:10px;bottom:24px}
 .print-sheet .slogan .slogan-copy p:first-of-type{font-size:clamp(10px,3vw,16px);letter-spacing:0}.print-sheet .slogan .slogan-copy p[lang=en]{font-size:9px;letter-spacing:.02em}
}
@media(max-width:350px){
 .print-sheet .dashboard>.side>.role-control,.print-sheet .dashboard>.side>.sound-control{margin-right:12px}
 .print-sheet .dashboard>.side>.console-module{padding:22px 12px 42px}
 .print-sheet .side .module-heading{gap:4px}.print-sheet .side .module-heading h2{font-size:13px}.print-sheet .side .module-heading .section-en{font-size:6px}
 .print-sheet .side .dual-dials{gap:4px}.print-sheet .side .dial{width:38px;height:38px}.print-sheet .side .dial output{font-size:12px}.print-sheet .side #sound-dial output{font-size:11px}.print-sheet .side .dial-group label{font-size:8px}
}
@media(prefers-reduced-motion:reduce){.print-sheet #settings{animation:none}}


.print-sheet .side .module-heading{min-height:0;padding:0;flex-wrap:nowrap}

/* Review: one status row, compact controls and continuous secondary surfaces. */
.print-title .print-registration .header-signal{display:flex;align-items:center;gap:3px;height:22px;width:82px;margin-left:22px;flex:none;color:var(--accent);opacity:.7}
.print-sheet .display-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px}
.connection-status{display:flex;align-items:center;justify-content:flex-end;gap:10px;margin-left:auto;white-space:nowrap}
.print-sheet .connection-status .service{display:inline-flex;align-items:center;gap:6px;padding:0;min-height:0;border:0;background:none;clip-path:none;box-shadow:none;font:11px/1.4 var(--mono);letter-spacing:0;color:#c7c7bd}
.connection-status .service::before,.connection-status .service::after{display:none}
.print-sheet .connection-status .service>i{display:block;width:4px;height:4px;background:var(--accent);border:0;box-shadow:none;flex:none}
.print-sheet .connection-status #link-label{max-width:none;white-space:nowrap;font-size:11px;color:#bfbfb5}
.print-sheet .side .role-control .module-heading{gap:6px;overflow:visible}
.target-resource{display:grid;place-items:center;width:30px;height:30px;color:#c7c7bd;position:absolute;inset-block-start:0;inset-inline-end:0;z-index:2}
.target-resource svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.3}
.target-resource:hover,.target-resource:focus-visible{color:#111;background:#d9d9d5;outline:0}
.resonance-controls{display:flex;flex-direction:column;gap:18px}
.volume-control{display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}
.volume-control label{display:flex;align-items:center;gap:6px;font:11px/1.3 var(--mono);color:#c7c7bd}
.volume-control label svg{width:16px;height:16px;stroke:currentColor;stroke-width:1.3;fill:none}
.volume-control output{font:19px/1 'Anchor Poster',sans-serif;color:#eee;letter-spacing:.04em}
.print-sheet .volume-control #stage-volume{grid-column:1/-1;appearance:none;-webkit-appearance:none;position:static;width:100%;height:26px;min-height:26px;opacity:1;margin:0;padding:0;border:0;background:transparent;cursor:pointer;touch-action:pan-y}
#stage-volume::-webkit-slider-runnable-track{height:4px;background:repeating-linear-gradient(90deg,transparent 0 2px,#000 2px 5px),linear-gradient(to right,var(--accent) 0 var(--level,70%),#555 var(--level,70%) 100%)}
#stage-volume::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:10px;height:10px;margin-top:-3px;border:1px solid #ddd;border-radius:50%;background:var(--accent);box-shadow:none}
#stage-volume::-moz-range-track{height:4px;background:linear-gradient(to right,var(--accent) 0 var(--level,70%),#555 var(--level,70%) 100%)}
#stage-volume::-moz-range-thumb{width:9px;height:9px;border:1px solid #ddd;border-radius:50%;background:var(--accent)}
#stage-volume:disabled{opacity:.45;cursor:default}
.sound-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px}
.print-sheet .sound-options button{display:flex;align-items:center;justify-content:center;gap:6px;border:1px solid #494943;min-width:0;min-height:40px;background:none;border-radius:0;padding:8px 4px;font-size:12px;color:#bdbdb4;box-shadow:none}
.sound-options button i{display:block;width:3px;height:3px;border-radius:50%;background:#777;flex:none}
.print-sheet .sound-options button[aria-pressed=true]{border-color:var(--accent);background:color-mix(in srgb,var(--accent) 14%,#000);color:var(--accent-text)}
.sound-options button[aria-pressed=true] i{background:var(--accent)}
.print-sheet .sound-options button:hover:enabled{border-color:#ddd}
.print-sheet .sound-options button:disabled{opacity:.45}
/* Settings meets the mast directly; the two sides step at different heights. */
.print-sheet #settings{clip-path:polygon(0 0,100% 0,100% 26%,calc(100% - 12px) calc(26% + 12px),calc(100% - 12px) 48%,100% calc(48% + 12px),100% calc(100% - 24px),calc(100% - 24px) 100%,0 100%,0 72%,10px calc(72% - 10px),10px 59%,0 calc(59% - 10px))}
.print-sheet #settings .settings-overview{grid-template-columns:1fr}
.print-sheet #settings .settings-group{max-width:none}
.print-sheet #settings .settings-device{margin-top:28px}
.print-sheet #settings #diagnostics{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);gap:0 14px;font:11px/1.5 var(--mono)}
.print-sheet #settings #diagnostics dt,.print-sheet #settings #diagnostics dd{margin:0;padding:9px 0;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;border-bottom:1px solid #292925}
.print-sheet #settings #diagnostics dt{color:#bdbdb4}
.print-sheet #settings #diagnostics dd{text-align:right;color:#ededdf}
.print-sheet #settings .diagnostic-details summary,.print-sheet #settings #mobile-pair-link{color:#d5d5cc}
.print-sheet #settings .body label,.print-sheet #settings .body p,.print-sheet #settings .body .subtle{color:#bdbdb4}
/* History and target resources use the same continuous black shell. */
.print-sheet .secondary-surface{position:relative;isolation:isolate;margin:0 calc(-1 * var(--plate-gutter));width:calc(100% + var(--plate-gutter) * 2);padding:34px 44px 90px;min-height:calc(100dvh - 150px);background:#000;color:#eee;--ink:#eee;--muted:#bdbdb4;--surface:#000;--edge:#555;clip-path:polygon(0 0,100% 0,100% 22%,calc(100% - 14px) calc(22% + 14px),calc(100% - 14px) 39%,100% calc(39% + 14px),100% calc(100% - 28px),calc(100% - 28px) 100%,0 100%,0 74%,12px calc(74% - 12px),12px 58%,0 calc(58% - 12px))}
.print-sheet :is(#history,#library).view .page-head{display:flex;align-items:center;gap:14px;margin:0 0 30px;padding:0 0 22px;min-height:0;border:0;border-bottom:1px solid #444;background:none;color:#eee}
.print-sheet :is(#history,#library).view .page-head>div{display:flex;align-items:baseline;gap:12px;min-width:0}
.print-sheet :is(#history,#library).view .page-head h1{font:26px/1.3 var(--display);color:#eee;letter-spacing:.02em;margin:0;order:0}
.print-sheet :is(#history,#library).view .page-head .section-en{order:1;color:#aaa;font:10px/1 'Anchor Poster',sans-serif;letter-spacing:.1em;padding:0}
.print-sheet :is(#history,#library).view .page-head>.page-context,.print-sheet #library #role-count{margin-left:auto;color:#aaa;font-size:11px}
.print-sheet :is(#history,#library).view .heading-back{width:44px;height:44px;min-width:44px;display:grid;place-items:center;border:1px solid #555;color:#ddd;background:none}
.print-sheet :is(#history,#library).view .heading-back svg{width:16px;height:16px;transform:rotate(180deg);stroke:currentColor;fill:none}
.print-sheet :is(#history,#library).view .heading-back:hover{background:#d9d9d5;color:#111}
.print-sheet .secondary-surface .panel{position:relative;z-index:1;background:none;border:0;clip-path:none;box-shadow:none;padding:0;color:#eee}
.print-sheet .secondary-surface .panel::before,.print-sheet .secondary-surface .panel::after{display:none}
.print-sheet .secondary-surface .two-col{display:grid;grid-template-columns:1.1fr 1fr;gap:36px}
.print-sheet .secondary-surface .card-head{border:0;background:none;padding:0 0 18px;min-height:0;display:flex;align-items:baseline;gap:12px}
.print-sheet .secondary-surface .card-head h2{font:20px/1.3 var(--display);color:#eee;margin:0}
.print-sheet .secondary-surface .card-head>span{font-size:11px;color:#aaa}
.print-sheet .secondary-surface .body{padding:0;color:#bbb;font-size:12px;line-height:1.7}
.print-sheet .secondary-surface .records{padding:0;margin:0;list-style:none;color:#bbb}
.print-sheet .secondary-surface .records li{padding:14px 0;border-bottom:1px solid #333;background:none;min-width:0}
.print-sheet .secondary-surface .records button,.print-sheet .secondary-surface .body button{min-height:40px;background:none;border:1px solid #666;border-radius:0;color:#eee;padding:8px 12px;font-size:12px}
.print-sheet .secondary-surface .body input[type=file]{width:100%;min-width:0;max-width:100%;margin:10px 0 14px;padding:10px;border:1px dashed #555;background:none;color:#bbb;font-size:11px}
.print-sheet .secondary-surface .body input::file-selector-button{background:#d9d9d5;color:#111;border:0;border-radius:0;padding:7px 10px;margin-right:10px}
.print-sheet .secondary-surface .role-note{color:#aaa;font-size:12px;line-height:1.6;margin-top:18px}
.print-sheet .secondary-surface .subtle{font-size:12px;color:#bbb;line-height:1.7}
.print-sheet .secondary-surface>.plate-signal{width:200px;height:60px;bottom:10px}
/* Related side marks are clustered, with different ordering and open intervals. */
.print-rail{display:block}
.rail-cluster{position:absolute;left:0;right:0;display:flex;flex-direction:column;align-items:center;gap:22px}
.rail-cluster>*{position:static!important;order:initial!important;flex:none}
.print-rail-left .rail-identity{top:0}
.rail-identity>.rail-word{margin-top:80px}
.rail-identity>.rail-symbols{margin-top:12px;height:155px!important}
.print-rail-left .rail-index{bottom:0;gap:18px}
.rail-index>.rail-barcode{height:70px!important}
.rail-index>.rail-word{font-size:32px}
.print-rail-right{top:34px;bottom:38px}
.print-rail-right .rail-code{top:210px;gap:20px}
.rail-code>.rail-reticle{width:24px!important;height:24px!important}
.rail-code>.rail-barcode{height:98px!important}
.rail-code>.rail-word{padding-top:28px;position:relative!important}
.rail-code>.rail-word::before{content:'';position:absolute;top:0;left:50%;height:20px;width:1px;background:currentColor}
.print-rail-right .rail-echo{bottom:175px;gap:14px}
.rail-echo>.rail-symbols{height:112px!important}
.rail-echo>.rail-word{font-size:30px}
.rail-echo>.rail-reticle{width:24px!important;height:24px!important}
.margin-west{top:390px;gap:28px}
.margin-west .margin-registration{align-self:flex-start;margin-left:16px}
.margin-west .margin-vertical{margin-top:220px}
.margin-east{top:230px;gap:20px}
.margin-east .margin-specimen{position:relative;padding-bottom:32px}
.margin-east .margin-specimen::after{content:'';position:absolute;left:31px;bottom:0;height:25px;width:1px;background:#777}
.margin-east .margin-vertical{gap:12px;align-self:center}
.margin-east .margin-stamp-quiet{margin-top:290px}
@media(max-width:900px){.print-sheet .secondary-surface{padding-inline:28px}.print-sheet .secondary-surface .two-col{grid-template-columns:1fr;gap:30px}.margin-west .margin-vertical{margin-top:160px}.margin-east .margin-stamp-quiet{margin-top:180px}}
@media(max-width:600px){
 .print-title .print-registration .header-signal{margin-left:8px;gap:2px;width:55px;height:16px;transform:scaleY(.7)}
 .print-sheet .display-bar{padding-block:10px;gap:6px;min-height:64px}
 .print-sheet .connection-status .service,.print-sheet .connection-status #link-label{font-size:10px}
 .connection-status{gap:7px}
 .print-sheet .dashboard>.side>.role-control{grid-column:1/8}.print-sheet .dashboard>.side>.mode-control{grid-column:8/13}
 .print-sheet .side .role-control .module-heading{gap:4px}
 .target-resource{width:26px;height:28px}.target-resource svg{width:17px;height:17px}
 .resonance-controls{gap:10px}.volume-control{gap:4px}.volume-control label{font-size:10px;gap:4px}.volume-control label svg{width:13px;height:13px}.volume-control output{font-size:17px}
 .sound-options{gap:3px}.print-sheet .sound-options button{flex-direction:column;gap:5px;min-height:40px;padding:6px 0;font-size:10px}
 .print-sheet #settings{clip-path:polygon(0 0,100% 0,100% 26%,calc(100% - 6px) calc(26% + 6px),calc(100% - 6px) 48%,100% calc(48% + 6px),100% calc(100% - 18px),calc(100% - 18px) 100%,0 100%,0 72%,6px calc(72% - 6px),6px 59%,0 calc(59% - 6px))}
 .print-sheet #settings #diagnostics{font-size:9px;gap:0 8px}
 .print-sheet .secondary-surface{padding:32px 26px 86px;min-height:calc(100dvh - 104px)}
 .print-sheet :is(#history,#library).view .page-head{gap:8px;margin-bottom:22px;padding-bottom:16px;flex-wrap:wrap}
 .print-sheet :is(#history,#library).view .page-head>div{gap:7px}
 .print-sheet :is(#history,#library).view .page-head h1{font-size:20px}.print-sheet :is(#history,#library).view .page-head .section-en{font-size:8px}
 .print-sheet :is(#history,#library).view .page-head>.page-context,.print-sheet #library #role-count{font-size:9px}
 .print-sheet .secondary-surface .card-head h2{font-size:18px}.print-sheet .secondary-surface .body input::file-selector-button{font-size:10px;padding:6px}
 .print-sheet .secondary-surface>.plate-signal{width:95px;height:40px}
 .print-rail{top:24px;bottom:30px}.rail-cluster{gap:14px}.rail-identity>.rail-word{margin-top:80px}.rail-identity>.rail-symbols{height:90px!important;margin-top:0}
 .rail-index>.rail-word{font-size:17px!important}.rail-index>.rail-barcode{height:45px!important}
 .print-rail-right .rail-code{top:160px;gap:14px}.rail-code>.rail-reticle{width:17px!important;height:17px!important}.rail-code>.rail-barcode{height:64px!important}
 .print-rail-right .rail-echo{bottom:135px;gap:12px}.rail-echo>.rail-symbols{height:75px!important}.rail-echo>.rail-word{font-size:16px!important}.rail-echo>.rail-reticle{width:17px!important;height:17px!important}
}
@media(max-width:350px){
 .print-title .print-registration .header-signal{margin-left:3px;gap:1.5px;width:42px}
 .print-sheet .side .role-control .module-heading{gap:3px}.target-resource{width:24px;height:26px}
 .print-sheet .side .mode-slider button>span{font-size:11px}
 .print-sheet .display-bar h2{flex-basis:100%}.connection-status{margin-left:0}
 .print-sheet .connection-status .service,.print-sheet .connection-status #link-label{font-size:9px}
 .print-sheet .secondary-surface{padding-inline:22px}.print-sheet :is(#history,#library).view .page-head h1{font-size:18px}
}

/* Reset the old mobile absolute status positioning after moving it into the row. */
.print-sheet .connection-status{display:inline-flex;flex-wrap:nowrap;flex:none;align-items:center}
.print-sheet .connection-status .service{position:static;inset:auto;margin:0;transform:none;flex:none;font-size:11px!important;line-height:1.4}
.print-sheet .connection-status #link-label{position:static;line-height:1.4}
.secondary-open .print-sheet{background:transparent}
.print-sheet :is(#history,#library).view .page-head>div{flex-direction:row}
.print-sheet .secondary-surface .records .empty{min-height:100px;justify-content:flex-start;padding:22px 0;font-size:12px;line-height:1.7}
.print-sheet .secondary-surface .role-note{padding:12px 0;border:0;display:flex;flex-wrap:wrap;gap:6px 12px;margin-top:0}
.print-rail .rail-code>.rail-word{font:600 clamp(28px,3.2vw,46px)/1 'Anchor Poster',sans-serif;color:#171716;letter-spacing:.025em}
.secondary-open .rail-identity>.rail-word{margin-top:28px;font-size:26px}
.secondary-open .rail-identity>.rail-symbols{height:90px!important}
.secondary-open .rail-index>.rail-word{font-size:22px}
.secondary-open .rail-index>.rail-barcode{height:45px!important}
.secondary-open .rail-index>.rail-reticle{width:30px;height:30px}
.secondary-open .print-rail-right .rail-code{top:110px}
.secondary-open .rail-code>.rail-word{font-size:24px}
.secondary-open .print-rail-right .rail-echo{bottom:15px}
.secondary-open .rail-echo>.rail-symbols{height:80px!important}
.secondary-open .rail-echo>.rail-word{font-size:20px}
@media(max-width:600px){
 .print-sheet .connection-status .service{font-size:10px!important}
 .print-rail .rail-code>.rail-word{font-size:19px}
 .secondary-open .rail-identity>.rail-word{font-size:19px;margin-top:55px}
 .secondary-open .rail-code>.rail-word{font-size:17px}
 .secondary-open .rail-index>.rail-word,.secondary-open .rail-echo>.rail-word{font-size:16px!important}
 .secondary-open .print-rail-right .rail-code{top:145px}
 .secondary-open .print-rail-right .rail-echo{bottom:10px}
}
@media(max-width:350px){.print-sheet .connection-status .service{font-size:9px!important}}

/* Equal-height plates align on both grid rows. */
.print-sheet .dashboard>.side{grid-template-rows:repeat(2,1fr);grid-auto-rows:1fr;align-items:stretch;padding-bottom:0}
.print-sheet .dashboard>.side>.console-module{height:100%;margin-top:0;align-self:stretch;box-sizing:border-box}
.print-sheet .dashboard>.side>.mode-control{top:0}
.print-sheet .dashboard>.side>.history-control{top:0}
html:not(.secondary-open) .print-rail-left .rail-index{bottom:24%}
/* All status text shares a baseline, including the smaller text next to the name. */
.print-sheet .display-bar{align-items:baseline}
.print-sheet .display-bar #screen-name{display:block;min-inline-size:0;max-inline-size:100%;margin:0;overflow-wrap:anywhere}
.print-sheet .connection-status{flex-basis:100%;align-items:baseline;justify-content:space-between}
.print-sheet .connection-status .service{align-items:baseline}
.print-sheet .connection-status .service,.print-sheet .connection-status #link-label{font-family:var(--mono);font-size:11px!important;line-height:1.4}
.print-sheet .connection-status #link-label[data-phase=ready]{color:#efefec}
.print-sheet .connection-status #link-label[data-phase=failed]{color:var(--accent-text)}
.print-sheet .connection-status .service>i{align-self:center}
.print-sheet .connection-status .service:not(.live)>i{border-color:#9f9f96;background:transparent}
/* The return action belongs to the first heading, never a separate navigation row. */
.print-sheet :is(#history,#library).view .page-head{gap:12px}
.print-sheet :is(#history,#library).view .page-head>.heading-back{order:0;flex:none}
.print-sheet #settings .settings-section-head{display:flex;align-items:center;gap:12px;margin-bottom:20px}
.print-sheet #settings .settings-section-head h2{margin:0}
.print-sheet .heading-back:focus-visible{outline:1px solid #eee;outline-offset:3px}
@media(max-width:600px){
 .print-sheet .dashboard>.side{padding-bottom:0}
 .print-sheet .dashboard>.side>.mode-control{top:0}
 .print-sheet .dashboard>.side>.history-control{top:0}
 .print-sheet .display-bar{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;gap:6px 8px;padding-block:10px}
 .print-sheet .display-bar #screen-name{grid-column:1/-1;grid-row:1}
 .print-sheet .connection-status{grid-column:1/-1;grid-row:2;margin-left:0;gap:5px}
 .print-sheet .connection-status .service{gap:4px}
 .print-sheet :is(#history,#library).view .page-head{gap:8px}
}

#main-content :is(#history,#library).view .page-head>div{flex-direction:row;align-items:baseline;flex-wrap:nowrap}

#main-content :is(#history,#library).view .page-head{display:grid;grid-template-columns:max-content max-content minmax(0,1fr)}
#main-content :is(#history,#library).view .page-head>span{margin:0;justify-self:end;white-space:nowrap}
.print-sheet #settings .device-settings-summary svg{stroke:currentColor}

/* Four equal plates, aligned in two columns. */
.print-sheet .dashboard>.side{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.print-sheet .dashboard>.side>.console-module{grid-column:auto;margin-right:0}
@media(max-width:600px){.print-sheet .dashboard>.side{column-gap:18px}.print-sheet .side .role-control .module-heading{gap:3px}.print-sheet .target-resource{width:22px;height:22px}}
@media(max-width:350px){
 .print-sheet .dashboard>.side{grid-template-columns:minmax(0,1fr)}
 .print-sheet .side .module-heading h2{font-size:16px}
 .print-sheet .side .role-control .module-heading{gap:6px}
}

/* Secondary navigation is anchored to the far edge of its heading row. */
#main-content :is(#history,#library).view .page-head{grid-template-columns:minmax(0,1fr) auto auto}
#main-content :is(#history,#library).view .page-head>.heading-back{grid-column:3;grid-row:1;justify-self:end}
#main-content :is(#history,#library).view .page-head>span{grid-column:2;grid-row:1}
.print-sheet #settings .settings-history-entry{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px 16px;padding:22px 0;margin-top:24px;border-block:1px solid #45453f;color:#dfdfd6;text-decoration:none;background:none}
.settings-history-label{display:flex;align-items:center;gap:10px;min-width:0;font:20px/1.3 var(--display)}
.settings-history-label>svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.3;flex:none}
.settings-history-label small{font:9px/1 'Anchor Poster',sans-serif;color:#aaa;letter-spacing:.06em}
.settings-history-arrow{grid-column:2;grid-row:1;width:16px;height:16px;fill:none;stroke:currentColor}
#settings #home-history-summary{grid-column:1;font:11px/1.5 var(--mono);color:#aaa;margin-left:30px}
.print-sheet #settings .settings-history-entry:hover{color:var(--accent-text)}
.print-sheet #settings .settings-history-entry:focus-visible{outline:1px solid #ddd;outline-offset:5px}
.print-sheet #settings .settings-history-entry+.settings-device{border-top:0;margin-top:12px}
@media(max-width:600px){.settings-history-label{font-size:18px;gap:8px}.settings-history-label small{font-size:8px}.print-sheet #settings .settings-history-entry{padding:18px 0;margin-top:20px}}

/* Compact the four equal plates without clipping controls or their imprints. */
.print-sheet .dashboard>.side{row-gap:18px}
.print-sheet .dashboard>.side>.console-module{
 --module-inner-gap:14px;
 --module-top-gap:4px;
 --module-inline-inset:calc(var(--die-step) + var(--module-inner-gap));
 padding-inline:var(--module-inline-inset);
 padding-block:calc(var(--die-step) + var(--module-top-gap)) 24px;
}
.print-sheet .side .module-heading{margin-bottom:12px}
@media(max-width:900px) and (min-width:601px){
 .print-sheet .dashboard>.side>.console-module{--module-inner-gap:12px;--module-top-gap:8px}
}
@media(max-width:600px){
 .print-sheet .dashboard>.side{row-gap:12px}
 .print-sheet .dashboard>.side>.console-module{--module-inner-gap:8px;--module-top-gap:9px;padding-block-end:22px}
 .print-sheet .side .module-heading{margin-bottom:10px}
}
@media(max-width:350px){
 .print-sheet .dashboard>.side>.console-module{--module-inner-gap:6px}
}

/* The one-column tablet/phone landscape layout has no fixed flex parent height.
   Preserve the existing screen height instead of shrinking its flex-basis to 0. */
@media (max-width:1000px) and (orientation:landscape) {
  .print-sheet .screen { flex:0 0 auto; }
}

/* Service control notices stay outside the actual device screen mirror. */
body{padding-bottom:var(--voice-clearance)}
.print-sheet .preview-meta{justify-content:space-between}
.panel-notices {
  position: fixed;
  z-index: 1400;
  inset-inline: max(16px, env(safe-area-inset-left, 0px)) max(16px, env(safe-area-inset-right, 0px));
  bottom: var(--voice-clearance);
  display: grid;
  gap: 12px;
  pointer-events: none;
}
#feedback {
  position: static;
  transform: none;
  justify-self: center;
  width: fit-content;
  max-width: min(100%, 32rem);
  box-sizing: border-box;
  margin: 0;
  padding: 12px 16px;
  border: 1px solid #a6a49b;
  background: #1a1917;
  color: #f2f0ea;
  box-shadow: none;
  font-size: 14px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
#feedback:empty {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  border: 0;
}
.control-notice {
  justify-self: end;
  width: min(460px, 100%);
  box-sizing: border-box;
  padding: 18px;
  background: #e7e4df;
  color: #1a1718;
  border: 2px solid #1a1718;
  box-shadow: 6px 6px 0 #1a1718;
  pointer-events: auto;
}
.control-notice[hidden]{display:none!important}
html:has(#control-notice:not([hidden])),
html:not(:has(#settings:not([hidden]))):has(#companion:not([hidden]) #current-panel:not([hidden])) {
  touch-action: pan-y pinch-zoom;
}
.control-notice header{display:flex;justify-content:space-between;gap:12px;align-items:baseline;margin-bottom:12px}
.control-notice header small{font-size:11px;opacity:.7}
.control-notice-ticker{overflow:hidden;width:100%;padding-block:8px;font-size:15px;line-height:1.6}
.control-notice-ticker span{display:inline-block;white-space:nowrap}
.control-notice .actions{margin-top:12px;justify-content:flex-end;gap:10px}
.control-notice button{min-height:44px;border:1px solid currentColor;padding:6px 12px;color:inherit;background:transparent;font:inherit}

.print-sheet .display-bar {
  border-bottom: 0;
}

.print-sheet .connection-status {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: baseline;
  gap: 8px;
  white-space: normal;
}

.print-sheet .connection-status #link-label,
.print-sheet .connection-status #ocr-label,
.print-sheet .connection-status #service-label {
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.print-sheet .connection-status #link-label {
  grid-area: 1 / 1;
  max-width: none;
  margin: 0;
  text-align: left;
}

.print-sheet .connection-status #ocr-label {
  grid-area: 1 / 2;
  color: #bfbfb5;
  font: 11px/1.4 var(--mono);
  text-align: center;
}

.print-sheet .connection-status .service {
  grid-area: 1 / 3;
  justify-content: flex-end;
  min-width: 0;
  text-align: right;
}

/* Settings share the print plate's cut edge, with one inset for rows and actions. */
.print-sheet #settings {
  --settings-line: #41413b;
  --settings-secondary: #bdbdb4;
  --settings-control-edge: #73736a;
  --settings-control-size: 44px;
  --settings-inset: clamp(20px, 4vw, 36px);
  bottom: auto;
  width: min(660px, var(--sheet-width));
  max-height: calc(100dvh - var(--settings-top, 136px) - var(--voice-clearance));
  padding: 0 var(--settings-inset) 20px;
  overflow-x: hidden;
  scroll-padding-block: 76px 20px;
  scrollbar-width: thin;
  scrollbar-color: #73736a #151514;
  font: 14px/1.55 'Microsoft YaHei UI', 'PingFang SC', sans-serif;
}

.print-sheet #settings .settings-body { background: #000; }

.print-sheet #settings .settings-section-head {
  position: sticky;
  z-index: 2;
  top: 0;
  justify-content: space-between;
  margin: 0;
  padding-block: 16px;
  border-bottom: 1px solid var(--settings-line);
  background: #000;
}
.print-sheet #settings #settings-title {
  margin: 0;
  color: var(--ink);
  font: clamp(24px, 3vw, 30px)/1.2 var(--display);
}
.print-sheet #settings .settings-header-actions {
  display: flex;
  gap: 8px;
  flex: none;
}
.print-sheet #settings .settings-header-actions > .settings-button {
  width: var(--settings-control-size);
  height: var(--settings-control-size);
  padding: 0;
}
.print-sheet #settings .settings-header-actions svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
}
.print-sheet #settings #settings-back svg { transform: rotate(180deg); }
.print-sheet #settings .settings-gift { position: relative; }
.settings-gift-tooltip {
  inset-block-start: calc(100% + 8px);
  inset-inline-end: 0;
}
.settings-gift:is(:hover, :focus-visible) .settings-gift-tooltip { display: block; }
.print-sheet #settings .settings-overview { gap: 0; }

#settings .settings-disclosure,
.print-sheet #settings .settings-guest-pair {
  min-width: 0;
  border-bottom: 1px solid var(--settings-line);
}
#settings .settings-disclosure > summary,
.print-sheet #settings .settings-guest-pair {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  align-items: center;
  gap: 12px;
  min-height: 52px;
  padding: 8px 0;
  border-radius: 0;
  background: none;
  color: var(--ink);
  font: 16px/1.4 var(--display);
  text-align: start;
  cursor: pointer;
  list-style: none;
}
.print-sheet #settings .settings-guest-pair {
  border-width: 0 0 1px;
}
#settings summary::-webkit-details-marker { display: none; }
#settings :is(.settings-disclosure, .settings-nested) > summary > svg,
#settings .settings-guest-pair > svg,
#settings .settings-history-arrow {
  width: 16px;
  height: 16px;
  margin: 0;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  transform: none;
}
#settings :is(.settings-disclosure, .settings-nested)[open] > summary > svg { transform: rotate(90deg); }
.print-sheet #settings :is(summary, .settings-guest-pair, .settings-button):focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 2px;
}
#settings .settings-disclosure-body {
  display: grid;
  align-items: start;
  gap: 12px;
  min-width: 0;
  padding: 0 0 16px;
  overflow-wrap: anywhere;
}
#settings .settings-disclosure-body :is(p, dl) { margin: 0; }
#settings :is(#settings-share-status, #pair-status, .subtle, .extension-status) {
  color: var(--settings-secondary);
  font-size: inherit;
}
#settings #settings-share-status { padding-block: 8px; overflow-wrap: anywhere; }
#settings :is(.extension-status, #ocr-playback-status, #device-runtime-readback):empty { display: none; }
#settings .settings-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
#settings .settings-action-row:not(:has(> :not([hidden]))) { display: none; }
.print-sheet #settings .settings-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: var(--settings-control-size);
  max-width: 100%;
  padding: 8px 12px;
  border: 1px solid var(--settings-control-edge);
  border-radius: 0;
  background: #0e0e0c;
  color: var(--ink);
  font: inherit;
  text-align: start;
  text-decoration: none;
}
.print-sheet #settings #mobile-pair-link {
  margin: 0;
  border-color: var(--settings-control-edge);
  color: var(--ink);
  font: inherit;
}
.print-sheet #settings :is(.settings-button, #mobile-pair-link):hover:not(:disabled) {
  border-color: var(--ink);
  background: #232320;
  color: var(--ink);
}
.print-sheet #settings .settings-button:is(.extension-delete, [aria-pressed="true"]) {
  border-color: var(--accent);
  color: var(--accent-text);
}

#settings #pair-credentials-value,
.print-sheet #settings #diagnostics {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 0 16px;
  min-width: 0;
  font: inherit;
}
.print-sheet #settings :is(#diagnostics, #pair-credentials-value) :is(dt, dd) {
  min-width: 0;
  margin: 0;
  padding: 8px 0;
  border-bottom: 1px solid var(--settings-line);
  overflow-wrap: anywhere;
  white-space: normal;
}
#settings :is(#diagnostics, #pair-credentials-value) dt { color: var(--settings-secondary); }
#settings #pair-credentials-value dd { text-align: end; user-select: text; }

.print-sheet #settings .settings-disclosure .settings-history-entry {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 16px;
  gap: 0 12px;
  min-height: var(--settings-control-size);
  margin: 0;
  padding: 8px 12px;
}
#settings .settings-history-label { font: inherit; }
.print-sheet #settings .settings-disclosure #home-history-summary {
  margin: 0;
  color: var(--settings-secondary);
  font: inherit;
}
.print-sheet #settings .settings-nested {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.print-sheet #settings .settings-nested > summary {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--settings-control-size);
  padding: 8px 0;
  border-bottom: 1px solid var(--settings-line);
  color: var(--ink);
  font: inherit;
}
.print-sheet #settings .device-scene-settings {
  background: none;
  clip-path: none;
}
.print-sheet #settings .device-scene-settings > .body {
  display: grid;
  justify-items: start;
  gap: 8px;
}
.print-sheet #settings .microphone-diagnostics { display: grid; justify-items: start; gap: 8px; margin-top: 12px; }
#settings #voice-mic-check-status:empty { display: none; }

.print-sheet #settings .settings-preferences { padding: 0; border: 0; }
.print-sheet #settings .settings-preferences .check-row {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: var(--settings-control-size);
  font: inherit;
  color: var(--ink);
}
#settings #local-reminder-sound {
  flex: none;
  inline-size: 18px;
  block-size: 18px;
  margin: 0;
  accent-color: var(--accent);
}

#settings-about .about-directory { gap: 16px; }
#settings-about .about-voice { min-width: 0; }
#settings-about .about-voice + .about-voice {
  padding-top: 12px;
  border-top: 1px solid var(--settings-line);
}
#settings-about .about-voice h2 {
  margin: 0 0 4px;
  color: var(--ink);
  font: 16px/1.4 var(--display);
}
.print-sheet #settings-about .about-disclosure > summary {
  border-bottom: 0;
  padding-inline: 12px 0;
}
#settings-about .about-disclosure + .about-disclosure { border-top: 1px solid var(--settings-line); }
#settings-about .about-command-body {
  margin-bottom: 8px;
  padding: 8px 12px;
  background: #10100e;
}
#settings-about .about-command-body p { color: var(--settings-secondary); }
#settings-about .about-command-body p + .about-entries { margin-top: 8px; }
#settings-about .about-entries { margin: 0; padding: 0; list-style: none; }
#settings-about .about-entries > li { padding: 5px 0; }
#settings-about .about-entries > li + li { border-top: 1px solid var(--settings-line); }
.print-sheet #settings .settings-colophon { padding-top: 16px; }

@media (max-width: 600px) {
  .print-sheet .connection-status {
    gap: 5px;
  }

  .print-sheet .connection-status #ocr-label {
    font-size: 9px;
  }

  .print-sheet .slogan {
    min-height: 0;
  }
}

.print-sheet #library .role-row button,
.print-sheet #library #import {
  min-height: 44px;
}
