/* Original 0.5.8.45 template: colour and typography only; no structural layout rules. */
html[data-theme=paper]{--bg:#f8f4ea;--surface:#fffdf8;--surface2:#f1e8d9;--ink:#342c24;--muted:#716452;--accent:#80602f;--accent-ink:#fff;--line:#dfd0b8;--soft:#b58a4710;background:#f8f4ea}
html[data-theme=paper] .front-confirmed,html[data-theme=paper] .confirmed.palette-paper{--bg:#f8f4ea;--surface:#fffdf8;--surface2:#f1e8d9;--card:#fffdf8;--ink:#342c24;--muted:#716452;--accent:#80602f;--accent-ink:#fff;--on:#fff;--line:#dfd0b8;--bubble:#fffdf8;--avatar-bg:#eee3d1;background:#f8f4ea;color:#342c24}
html[data-theme=paper] .confirmed.palette-paper .brand-text strong,html[data-theme=paper] .confirmed.palette-paper h1,html[data-theme=paper] .confirmed.palette-paper h2,html[data-theme=paper] .confirmed.palette-paper h3{font-family:MemoirSerif,'Songti SC',SimSun,serif}
html[data-theme=paper] .confirmed.palette-paper .device.chat #content{background-image:radial-gradient(ellipse at top left,#bd955010,transparent 70%)}
html[data-theme=paper] .confirmed.palette-paper .chat-row:not(.is-user) .chat-avatar{background:linear-gradient(135deg,#936c37,#674722);border-color:#d2b477;box-shadow:0 2px 8px #66431c18}
html[data-theme=paper] .confirmed.palette-paper .chat-row.is-user .chat-avatar{background:#eee3d1;color:#80602f}
html[data-theme=paper] .confirmed.palette-paper .bubble.user{background:#80602f;color:#fff}
html[data-theme=paper] .confirmed.palette-paper .primary,html[data-theme=paper] .confirmed.palette-paper .composer-text strong,html[data-theme=paper] .confirmed.palette-paper .composing-head button:last-child{background:linear-gradient(130deg,#956b2e,#755026);color:#fff;box-shadow:0 3px 10px #75502620}
html[data-theme=paper] .confirmed.palette-paper .topic-chips button,html[data-theme=paper] .confirmed.palette-paper .chat-action-bar>button:not(:first-child){border-color:#b99d76;color:#745129;background:#fffaf1}
html[data-theme=paper] .confirmed.palette-paper .tile-grid .tile{background:#80602f;color:#fff;border-color:#947346}
html[data-theme=paper] .confirmed.palette-paper .tile-grid .tile small{color:#fff4de!important}
html[data-theme=paper] .confirmed.palette-paper .tile-grid .tile .ico{color:#f6e5c5}
html[data-theme=paper] .confirmed.palette-paper .composer-text{border-color:#bda783;background:#fffdf8}
html[data-theme=paper] .confirmed.palette-paper .card,html[data-theme=paper] .confirmed.palette-paper .bubble:not(.user){box-shadow:0 4px 15px #69491f08}
html[data-theme=paper] .confirmed.palette-paper #composer .composer-text{border-color:#bda783;color:#716452;background:#fffdf8;box-shadow:0 2px 8px #69491f12}
html[data-theme=paper] .confirmed.palette-paper .composing-overlay{background:#f8f4ea}
html[data-theme=paper] .confirmed.palette-paper .composing-overlay textarea{background:#fffdf8;color:#342c24;border-color:#bda783}
html[data-theme=paper] .confirmed.palette-paper .composing-head button{border-color:#b99d76;color:#745129;background:#f1e8d9}
html[data-theme=paper] .confirmed.palette-paper .composing-head button:last-child{background:linear-gradient(130deg,#956b2e,#755026);color:#fff;border-color:#80602f}
html[data-theme=paper] .confirmed.palette-paper .composing-tip{color:#716452}
/* Equal card geometry, with distinct primary, service and utility surfaces. */
.confirmed .device .tile-grid{grid-auto-rows:1fr;align-items:stretch}
.confirmed .device .tile-grid .tile{display:grid;grid-template-columns:1fr;grid-template-rows:36px auto;align-items:start;align-content:start;justify-items:start;gap:13px;min-height:154px;padding:20px 18px}
.confirmed .device .tile-grid .tile>span{display:block;width:100%;min-width:0;line-height:1.45;font-size:19px}
.confirmed .device .tile-grid .tile small{display:block;margin-top:7px;line-height:1.6;font-size:14px;white-space:nowrap}
.confirmed .device .tile-grid .tile>.ico{width:30px;height:30px;align-self:center}
html[data-theme=paper] .confirmed.palette-paper .device .tile-grid .tile{background:#fffdf9;color:#342c24;border:1px solid #e2ddd4;box-shadow:0 3px 11px #49351b08}
html[data-theme=paper] .confirmed.palette-paper .device .tile-grid .tile small{color:#766b5b!important}
html[data-theme=paper] .confirmed.palette-paper .device .tile-grid .tile>.ico{color:#866137}
html[data-theme=paper] .confirmed.palette-paper .device .tile-grid .tile[data-kind=showcase],html[data-theme=paper] .confirmed.palette-paper .device .tile-grid .tile[data-kind=pdf]{background:#f0e4cb;border-color:#d8c6a3;box-shadow:0 4px 13px #7151220b}
html[data-theme=paper] .confirmed.palette-paper .device .tile-grid .tile[data-kind=physical],html[data-theme=paper] .confirmed.palette-paper .device .tile-grid .tile[data-kind=plans]{background:#f5eee2;border-color:#e1d4c0}
html[data-theme=paper] .confirmed.palette-paper .device .link-row,html[data-theme=paper] .confirmed.palette-paper .device .support-card{background:#fffdf9;border:1px solid #e6e1d8;box-shadow:0 2px 8px #49351b05}
html[data-theme=paper] .confirmed.palette-paper .device .link-row>.ico{color:#84633d}
html[data-theme=paper] .confirmed.palette-paper .device .secondary{background:#fffdf9;border-color:#c9bdab;color:#6d5030;box-shadow:none}
html[data-theme=paper] .confirmed.palette-paper .device .segmented{background:#eee9e0;border-color:#e0d7c8}
html[data-theme=paper] .confirmed.palette-paper .device .segmented button{background:transparent;color:#716452;box-shadow:none;border-color:transparent}
html[data-theme=paper] .confirmed.palette-paper .device .segmented button.active{background:#6d502d;color:#fff;border-color:#6d502d;box-shadow:0 3px 9px #49351b18}
html[data-theme=paper] .confirmed.palette-paper .device .tile:hover,html[data-theme=paper] .confirmed.palette-paper .device .link-row:hover{border-color:#ad9674;box-shadow:0 5px 14px #49351b12}
html[data-theme=paper] .confirmed.palette-paper .device button:focus-visible{outline:3px solid #80602f;outline-offset:3px}
@media(max-width:380px){.confirmed .device .tile-grid .tile{padding:17px 12px;min-height:148px;gap:11px}.confirmed .device .tile-grid .tile>span{font-size:18px}.confirmed .device .tile-grid .tile small{font-size:13px}}
.confirmed .device .tile-grid .tile .chevron{display:none}
.confirmed .device .tile-grid .tile .ico:not(.chevron){width:30px;height:30px;align-self:center}
html[data-theme=paper] .confirmed.palette-paper .device .tile-grid .tile .ico:not(.chevron){color:#80602f}
html[data-theme=paper] .confirmed.palette-paper .profile-avatar{background:#f0e8db;color:#80602f}
/* Replace only the cabinet/cover picker with photographic book-scene samples. */
.confirmed .book-scene-gallery{margin:18px 0 24px;color:var(--ink)}
.confirmed .book-scene-intro{font-size:18px;line-height:1.75;margin:0 0 17px;color:var(--muted)}
.confirmed .book-scene-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.confirmed .book-scene-choice{display:block;width:100%;min-width:0;padding:0;border:2px solid var(--line);border-radius:16px;background:var(--card);color:var(--ink);overflow:hidden;text-align:left;box-shadow:0 5px 15px #3c2b1410}
.confirmed .book-scene-photo{position:relative;aspect-ratio:3/2;overflow:hidden;background:#e8dcc8}
.confirmed .book-scene-photo img{display:block;width:100%;height:100%;object-fit:cover}
.confirmed .book-scene-badge{position:absolute;top:10px;left:10px;padding:3px 10px;border-radius:20px;background:#332416b8;color:#fff6e8;font-size:12px;line-height:1.6}
.confirmed .book-scene-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:16px 17px;min-height:72px}
.confirmed .book-scene-caption strong{font-family:MemoirSerif,SimSun,serif;font-size:22px;line-height:1.45}
.confirmed .book-scene-check{flex-shrink:0;border:1px solid var(--line);border-radius:20px;padding:4px 10px;font-size:14px;color:var(--muted);background:var(--bg)}
.confirmed .book-scene-choice.selected{border-color:var(--accent);box-shadow:0 0 0 1px var(--accent),0 6px 20px #3c2b1420}
.confirmed .book-scene-choice.selected .book-scene-check{background:var(--accent);color:var(--on);border-color:var(--accent)}
.confirmed .book-scene-choice:focus-visible{outline:3px solid var(--accent);outline-offset:4px}
.confirmed .book-scene-note{font-size:15px;color:var(--muted);line-height:1.8;margin:16px 0 0}
@media(max-width:560px){.confirmed .book-scene-grid{grid-template-columns:1fr;gap:18px}.confirmed .book-scene-caption{padding:15px 17px}.confirmed .book-scene-caption strong{font-size:23px}.confirmed .book-scene-intro{font-size:18px}.confirmed .book-scene-check{font-size:15px}}
.modal-confirmedBook:has(.book-scene-gallery){width:min(96vw,1040px);padding:28px;background:var(--bg)}
@media(max-width:560px){.modal-confirmedBook:has(.book-scene-gallery){padding:24px 15px}}
.modal-confirmedBook:has(.book-scene-gallery){max-width:min(96vw,1040px)}
