/*
 * Light "paper" theme for the LAM READING pages (guides, manual, privacy, terms, support, comparison).
 * Added 29/11/2026. The landing page (/lam/) is deliberately NOT part of this: its black-and-brass look, the film
 * samples and the live simulator are the brand, so it stays dark.
 *
 * Light = the brand's own paper colour (#f3ecdf, "--paper" on the landing) with warm ink text and a dark brass accent,
 * like a printed camera manual. Switched by html[data-theme="light"], set by /lam/read-theme.js (saved choice, else the
 * phone's setting). With no attribute, nothing here applies and the pages look exactly as before.
 *
 * Contrast (WCAG): body text #2b241a on #f3ecdf 12:1; muted #6a5f4c 5.1:1; links / accent #7a5a14 5.2:1.
 */

/* ── the theme button (all reading pages) ── */
.lam-theme-btn{position:fixed;right:14px;bottom:14px;z-index:300;width:42px;height:42px;border-radius:50%;
  display:inline-flex;align-items:center;justify-content:center;padding:0;cursor:pointer;
  background:rgba(20,17,13,.82);color:#f6dc8f;border:1px solid rgba(246,220,143,.4);
  -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 4px 16px rgba(0,0,0,.35)}
.lam-theme-btn:hover{border-color:rgba(246,220,143,.8)}
.lam-theme-btn:focus-visible{outline:2px solid #f6dc8f;outline-offset:3px}
.lam-theme-btn svg{width:20px;height:20px;display:block}
.lam-theme-btn .ico-sun{display:none}
html[data-theme="light"] .lam-theme-btn{background:rgba(251,247,238,.92);color:#7a5a14;border-color:rgba(122,90,20,.45);box-shadow:0 4px 16px rgba(60,40,10,.18)}
html[data-theme="light"] .lam-theme-btn:hover{border-color:#7a5a14}
html[data-theme="light"] .lam-theme-btn:focus-visible{outline-color:#7a5a14}
html[data-theme="light"] .lam-theme-btn .ico-moon{display:none}
html[data-theme="light"] .lam-theme-btn .ico-sun{display:block}
@media print{.lam-theme-btn{display:none}}

html[data-theme="light"]{color-scheme:light}

/* ── A. guides, privacy, terms, support (vars --bg --fg --muted --line --primary --card) ── */
html[data-theme="light"]{--bg:#f3ecdf;--fg:#1a1510;--muted:#6a5f4c;--line:#d6cab2;--primary:#7a5a14;--card:#fbf7ee}
html[data-theme="light"] p,html[data-theme="light"] li,html[data-theme="light"] td{color:#2b241a}
html[data-theme="light"] .lead,html[data-theme="light"] .flow .box p{color:#3a3226}
html[data-theme="light"] h2,html[data-theme="light"] h3,html[data-theme="light"] strong,html[data-theme="light"] th,
html[data-theme="light"] td b,html[data-theme="light"] td:first-child,html[data-theme="light"] .diagram-caps b,
html[data-theme="light"] .flow-box,html[data-theme="light"] .flowrow .step b,html[data-theme="light"] .item-title,
html[data-theme="light"] .persona-body b,html[data-theme="light"] .swatch-cap b,html[data-theme="light"] .subbrand{color:#1a1510}
html[data-theme="light"] .flow-box.bad{border-color:#b04a4a}
html[data-theme="light"] .flow-box.good{border-color:#5a7a2a}
html[data-theme="light"] .tag.free{color:#2d6a3e;border-color:rgba(45,106,62,.45)}
html[data-theme="light"] .warn{border-color:rgba(122,90,20,.5)}
html[data-theme="light"] .subnav{background:rgba(243,236,223,.92)}
html[data-theme="light"] .langbar{background:rgba(251,247,238,.85)}
html[data-theme="light"] .subnav .langbar{background:rgba(26,21,16,.05)}
html[data-theme="light"] .langbar button{color:#6a5f4c}
html[data-theme="light"] .langbar button:hover{color:#1a1510}
html[data-theme="light"] .langbar button.on{background:var(--primary);color:#fff}

/* ── B. manual.html (vars --ink --paper --brass …) ── */
html[data-theme="light"]{--ink:#f3ecdf;--ink-2:#ece3d2;--ink-3:#e4d9c4;--paper:#1a1510;--dim:#6a5f4c;
  --line:rgba(90,66,16,.22);--line-hi:rgba(90,66,16,.45);--brass:#7a5a14;--brass-hi:#5e440c;
  --gold:linear-gradient(176deg,#5e440c 0%,#7a5a14 40%,#9a7322 70%,#6b4e10 100%)}
html[data-theme="light"] .skip{color:#fff}
html[data-theme="light"] .snav{background:rgba(243,236,223,.92)}
html[data-theme="light"] .sbrand img{box-shadow:0 0 0 1px rgba(90,66,16,.35)}
html[data-theme="light"] .lang-toggle{background:rgba(26,21,16,.05)}
html[data-theme="light"] .lang-toggle button.on{color:#fff}
html[data-theme="light"] .scta{color:#fff!important}
html[data-theme="light"] .mtoc{background:rgba(26,21,16,.03)}
html[data-theme="light"] .mtoc a:hover{background:rgba(26,21,16,.05)}
html[data-theme="light"] .mtoc a.on{background:rgba(122,90,20,.13)}
html[data-theme="light"] code,html[data-theme="light"] .kbd{background:rgba(122,90,20,.11)}
html[data-theme="light"] .vpill{border-color:rgba(122,90,20,.5);background:rgba(122,90,20,.1)}
html[data-theme="light"] .tri-card{background:linear-gradient(170deg,rgba(122,90,20,.08),rgba(26,21,16,.01))}
html[data-theme="light"] .callout{background:rgba(122,90,20,.08)}
html[data-theme="light"] .gtbl th{background:rgba(26,21,16,.04)}
html[data-theme="light"] body{background:radial-gradient(900px 500px at 50% -120px,rgba(212,175,55,.16),transparent 70%),var(--ink)}

/* ── C. comparison pages (vars --bg --fg --muted --line --gold --card) ── */
html[data-theme="light"] .lead,html[data-theme="light"] .idea div,html[data-theme="light"] .note{color:#3a3226}
html[data-theme="light"] .idea div.us{border-color:#7a5a14}
html[data-theme="light"] .idea b{color:#1a1510}
html[data-theme="light"] thead th{background:#ebe2cf}
html[data-theme="light"] tbody th{background:#efe7d6}
html[data-theme="light"] th.us,html[data-theme="light"] td.us{background:rgba(122,90,20,.09)}
html[data-theme="light"] .btn.p{background:#7a5a14;color:#fff}
html[data-theme="light"] .btn.s{border-color:#7a5a14;color:#7a5a14}
html[data-theme="light"] .cta{border-color:#7a5a14}
html[data-theme="light"] .kicker,html[data-theme="light"] .kicker a{color:#7a5a14}
