.desk-section{padding-block:clamp(30px,5vw,70px)}
.desk-grid,.desk-columns,.desk-gallery{display:grid;gap:20px;align-items:start}
.desk-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,238px),1fr))}
.desk-columns{grid-template-columns:minmax(0,1.4fr) minmax(250px,.85fr)}
.desk-gallery{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.desk-card,.desk-panel,.desk-gallery figure,.desk-quote{box-sizing:border-box;min-width:0;border:1px solid var(--line,#c1cfd6);border-radius:8px;background:white;color:var(--ink,#102231);padding:clamp(18px,2.5vw,30px)}
a.desk-card{display:block;text-decoration:none}
a.desk-card:hover,a.desk-card:focus-visible{border-color:var(--orange-dark);text-decoration:underline}
.desk-card h3,.desk-quote h3,.desk-gallery h2,.desk-panel h2{margin:0 0 12px;font-size:clamp(1.15rem,2.5vw,1.65rem);line-height:1.25}
.desk-panel h2:not(:first-child){margin-top:26px}
.desk-card p,.desk-panel p,.desk-gallery p{font-size:1rem;line-height:1.6;margin:8px 0 16px}
.desk-gallery figure{margin:0;padding:0;overflow:hidden}
.desk-gallery img{width:100%;height:180px;object-fit:contain;background:#eef2f3;display:block}
.desk-gallery figcaption{padding:20px}
.desk-narrow,.desk-private{max-width:880px;margin-inline:auto}
.desk-private>.desk-panel,.desk-notebook>.desk-panel,.desk-panel+.desk-panel{margin-top:18px}
.desk-panel :is(input:not([type=checkbox]),select,textarea),.desk-retake input:not([type=checkbox]){display:block;width:100%;min-height:44px;padding:9px 12px;margin-top:5px;border:1px solid #758995;border-radius:4px;background:white;color:var(--ink);font:inherit;font-size:1rem}
.desk-panel input[type=range]{padding:8px 0}
.desk-panel label,.desk-retake label{display:block;margin:14px 0;color:var(--ink);font-size:1rem;font-weight:600}
.desk-panel .desk-check{display:flex;align-items:flex-start;gap:10px;font-weight:400}
.desk-check input{width:20px;height:20px;flex:0 0 20px;margin-top:4px}
.desk-panel fieldset{border:0;min-width:0;padding:0;margin:0}
.desk-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 14px}
.desk-panel button:not(.button),.desk-retake button:not(.button){min-height:44px;padding:8px 12px;border:1px solid #8798a2;background:#f2f5f7;color:#183044;border-radius:4px;font:inherit;cursor:pointer}
.desk-panel button:disabled{opacity:.7;cursor:wait}
.desk-actions,.desk-shortcuts{display:flex;gap:8px 16px;align-items:center;flex-wrap:wrap}
.desk-shortcuts a{display:inline-flex;align-items:center;min-height:44px}
.desk-status:not(:empty){padding:12px 16px;border-left:4px solid #376480;background:#edf5f8;overflow-wrap:anywhere}
.desk-lines,.desk-quote dd,.desk-entries span{white-space:pre-wrap;overflow-wrap:anywhere}
.desk-quote{margin:16px 0;background:#f6f8f9}
.desk-quote dt{font-weight:600}.desk-quote dd{margin:0 0 10px}
.desk-quote button,.desk-private button{margin:3px}
.desk-entries{padding-left:22px}.desk-entries span{margin-right:10px}
.room-board{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;border:2px solid #768e9a;padding:4px;background:#d4dfe4}
.room-board button{width:100%;min-width:0;min-height:48px;overflow-wrap:anywhere}
.room-board button.marked{border-color:#a24116;background:#fff0e5;color:#642304}
.desk-retake canvas,.desk-panel video{display:block;background:#e4eaed;width:100%;max-width:680px;height:auto}
.desk-panel meter{width:100%;height:22px}
.desk-panel [hidden],.desk-retake [hidden]{display:none!important}
.desk-history{padding-left:22px}.desk-history li{margin-bottom:16px}.desk-history p{margin:3px 0}
@media(max-width:740px){.desk-columns,.desk-fields{grid-template-columns:1fr}.room-board button{font-size:.8rem;padding:3px!important}}
@media print{header,footer,.desk-private button,.desk-private form,.desk-private details,.desk-shortcuts,.page-actions,.topbar{display:none!important}.desk-panel,.desk-quote{break-inside:auto;border:0;padding:8px}.desk-private{max-width:none}.page-hero{padding:12px!important}}
