/* 1.9.2X — warm paper, ink, restrained gold. Presentation only. */
html[data-theme="paper"]{--ink:#302e2a;--muted:#847d70;--accent:#66583e;--bg:#f5f2eb;--x-ease:cubic-bezier(.22,1,.36,1);--panel-top:#fffdf8;--panel-bottom:#f7f3eb}
html[data-theme="paper"] body{background:radial-gradient(ellipse at 90% 0,#e9dfc86b,transparent 55%),#f5f2eb;color:var(--ink)}
html[data-theme="paper"].native-backdrop body{background:transparent}
html[data-theme="paper"] body header{border-color:#51442a15;background:transparent;box-shadow:none}
html[data-theme="paper"] body .eyebrow,html[data-theme="paper"] body .index{color:#938166;letter-spacing:1.7px}
html[data-theme="paper"] body h1{color:#33312c;font-weight:550;letter-spacing:-.6px}
html[data-theme="paper"] body .welcome{padding-top:40px;padding-bottom:32px}
html[data-theme="paper"] body .welcome h1{line-height:1.4}
html[data-theme="paper"] body .desk-brand img,html[data-theme="paper"] body .brand-avatar{box-shadow:0 0 0 3px #fffdf7,0 4px 12px #51442a12}
html[data-theme="paper"] body .edition{background:#ede8dd;border:0;color:#71634d;padding:10px 13px}
html[data-theme="paper"] body .entry-card,html[data-theme="paper"] body .classics-link{background:linear-gradient(115deg,#fffdf8,#f1e9d9);border:1px solid #fffdf9;border-radius:23px;box-shadow:0 3px 4px #4e402605,0 12px 26px #4e402608;transition:transform 360ms var(--x-ease),box-shadow 360ms var(--x-ease)}
html[data-theme="paper"] body .entry-grid{gap:18px}
html[data-theme="paper"] body .entry-title,html[data-theme="paper"] body .entry-card h2,html[data-theme="paper"] body .classics-link strong{color:#38332b;font-weight:580;letter-spacing:.4px}
html[data-theme="paper"] body .entry-arrow,html[data-theme="paper"] body .opening-home-arrow{color:#8b7045;transition:translate 360ms var(--x-ease)}
html[data-theme="paper"] body .entry-card:hover .entry-arrow,html[data-theme="paper"] body .classics-link:hover .opening-home-arrow{translate:4px 0}
html[data-theme="paper"] body .entry-card:active,html[data-theme="paper"] body .classics-link:active{transform:scale(.985);box-shadow:0 2px 6px #4e402609}
html[data-theme="paper"] body .panel,html[data-theme="paper"][data-effects=light] body .panel{background:#fffdf8eF;border:1px solid #ded7ca80;border-radius:20px;box-shadow:0 8px 24px #4e402605;backdrop-filter:none}
html[data-theme="paper"] body .panel-title h2{letter-spacing:.3px;color:#423a2f}
html[data-theme="paper"] body .board-shell,html[data-theme="paper"][data-effects=light] body .board-shell{background:#e4dbc9;border:1px solid #fffdf6;border-radius:15px;box-shadow:0 5px 8px #443b2b09,0 18px 36px #443b2b12,inset 0 1px #fff}
html[data-theme="paper"] body .square.light-square{background:#efe8d9}
html[data-theme="paper"] body .square.dark-square{background:#a49d85}
html[data-theme="paper"] body .square.light-square.last{background:#e4d79e}
html[data-theme="paper"] body .square.dark-square.last{background:#b8ad72}
html[data-theme="paper"] body .square.selected{background:#d7c176}
html[data-theme="paper"] body .square.check{box-shadow:inset 0 0 0 4px #b76855}
html[data-theme="paper"] body .island,html[data-theme="paper"][data-effects=light] body .island,html[data-theme="paper"] body .island[data-state=check],html[data-theme="paper"][data-effects=light] body .island[data-state=check]{background:linear-gradient(145deg,#373a36,#242923);color:#fcf6e9;border:1px solid #ffffff26;box-shadow:inset 0 1px #ffffff12,0 6px 12px #24292314,0 14px 25px #24292313;backdrop-filter:none}
html[data-theme="paper"] body .island-copy b{font-weight:550;letter-spacing:.3px}
html[data-theme="paper"] body .island-copy small,html[data-theme="paper"] body .island-chevron{color:#c7c4b4}
html[data-theme="paper"] body .island-icon{color:#e8cb88}
html[data-theme="paper"] body .thinking-bars i{background:#dcc28c}
html[data-theme="paper"] body .island::after{border-color:#ffffff12;box-shadow:none}
html[data-theme="paper"] body .island[data-state=thinking]::before{background:linear-gradient(110deg,transparent 30%,#e8ce8b26 50%,transparent 70%);opacity:.35}
html[data-theme="paper"] body .eval-heading,html[data-theme="paper"] body .eval-detail,html[data-theme="paper"] body #evalScore{color:#f2ead7}
html[data-theme="paper"] body .eval-track{background:#171d18;border:1px solid #ffffff24}
html[data-theme="paper"] body #evalWhite{background:#eee5cf;transition:width 540ms var(--x-ease)}
html[data-theme="paper"] body .actions button,html[data-theme="paper"] body .quiet{border-color:#b8ac933b;background:#ffffff65;color:#665a46;border-radius:13px;box-shadow:none;transition:transform 260ms var(--x-ease),background 200ms ease}
html[data-theme="paper"] body button.primary{background:#424a3e!important;color:#fffaf0!important;border-color:#424a3e!important;box-shadow:0 4px 10px #424a3e16}
html[data-theme="paper"] body .actions button:active:not(:disabled),html[data-theme="paper"] body .quiet:active{transform:scale(.97)}
html[data-theme="paper"] body dialog,html[data-theme="paper"][data-effects=light] body dialog{background:#faf7ef;color:#38332a;border:1px solid #fffdf8;border-radius:25px;box-shadow:0 24px 80px #25271f29}
html[data-theme="paper"] body dialog::backdrop{background:#24282159;backdrop-filter:none;-webkit-backdrop-filter:none}
html[data-theme="paper"] body .sheet-heading{border-color:#79613c14}
html[data-theme="paper"] body .desk-engine,html[data-theme="paper"] body .mode{background:#f0ece2;border-color:#b6a98d24;border-radius:16px}
html[data-theme="paper"] body textarea,html[data-theme="paper"] body select,html[data-theme="paper"] body input{border-color:#c9bfa9;background:#fffdf8;color:#39352c}
html[data-theme="paper"] body .history-head{background:#ece7dc;color:#827763}
html[data-theme="paper"] body .history-row:nth-child(even){background:#f2eee5}
html[data-theme="paper"] body footer,html[data-theme="paper"] body .about{border-color:#51442a18;color:#8c806b}
html[data-theme="paper"] body button:focus-visible,html[data-theme="paper"] body a:focus-visible{outline:2px solid #8f7449;outline-offset:4px}
@media(hover:hover){html[data-theme="paper"] body .entry-card:hover,html[data-theme="paper"] body .classics-link:hover{transform:translateY(-3px);box-shadow:0 12px 32px #4e402612}}
/* Sheet entrance is owned by JS in every theme; changing colours must not restart it. */
html.reduce-motion *,html .reduce-motion *{animation-duration:.01ms!important;transition-duration:.01ms!important}
@media(prefers-reduced-motion:reduce){html[data-theme="paper"] body *{animation-duration:.01ms!important;transition-duration:.01ms!important}}
@media(max-width:620px){html[data-theme="paper"] body .desktop{padding-left:20px;padding-right:20px}html[data-theme="paper"] body .welcome{padding-top:30px;padding-bottom:28px}html[data-theme="paper"] body .welcome h1{font-size:32px}html[data-theme="paper"] body .entry-grid{gap:15px}}
@media(orientation:landscape) and (max-height:600px){html[data-theme="paper"] body .welcome{padding-top:15px;padding-bottom:20px}html[data-theme="paper"] body .welcome h1{font-size:27px}html[data-theme="paper"] body .entry-grid{gap:13px}}
