/* Optional brown theme. Remove this overlay to restore the original green theme. */
:root{--paper:#faf7f2;--white:#fffefc;--ink:#302923;--green:#503a2e;--sage:#f0e9df;--muted:#6d6056;--gold:#97743d;--gold-text:#795a2e;--line:#ded4c8}
body{background:var(--paper);color:var(--ink)}
.header{background:rgba(250,247,242,.98);border-bottom-color:var(--line)}
.btn:hover{background:#3d2b22;color:#fff}
.btn.secondary{color:var(--ink);border-color:#c9baaa;background:transparent}
.btn.secondary:hover{background:#eee5da;color:var(--ink)}
.btn.light{background:#fffefc;color:#503a2e}
.btn.light:hover{background:#f2e7d7;color:#3d2b22}
.btn.danger,.btn.danger:hover{background:var(--red)}
.hero-art{background:radial-gradient(ellipse at center,#e9dcc8 0,#f4ede2 45%,transparent 72%)}
.orbit,.orbit:after{border-color:#d4bfa0}
.name-showcase{background:#fffef9;border-color:#e0d4c4;box-shadow:0 26px 60px #503a2e12}
.floating-note{box-shadow:0 14px 25px #503a2e20}
.manifesto{background:linear-gradient(135deg,#503a2e,#3c2b23);color:#fffaf2}
.manifesto .muted{color:#e8daca}.manifesto .eyebrow{color:#e3c48d}
.card,.type-card,.article-card{background:#fffefc}
.type-card:hover{background:#fffaf1;border-color:#97743d}
.type-icon,.mini-tag,.dhamma-band,.info-note{background:#f0e9df;color:#503a2e}
.footer{background:#f2ede5;border-color:#ded4c8}
.footer-links a,.footer-bottom{color:#6d6056}
.pwa-install-card{background:#f0e9df;border-color:#ded4c8}
.pwa-install-card h2{color:#503a2e}
.info-note{color:#695343}
input:focus,select:focus,textarea:focus,a:focus-visible,button:focus-visible{outline-color:#97743d}
a.text-link{color:#64452f;text-decoration-color:#ac8c62}
.admin-sidebar,.admin-mobile-menu{background:#503a2e;color:#fff8ef}
.admin-sidebar .brand-symbol{background:#70533f}
.admin-sidebar a.menu-item.active,.admin-mobile-links a.active{background:#725640;color:#fff}
.admin-brand-tagline,.sidebar-label{color:#e4d4c2}
/* LINE's recognisable brand colour and semantic warning/error colours remain intact. */

/* v39: warm surfaces, actual v37 footer selectors, and clear keyboard focus. */
:root{--namo-focus:#79532f;--namo-surface:#fffefc;--namo-border:#c9baaa}
.site-footer{background:#f2ede5;border-top-color:var(--line);color:#5d4d40}
.site-footer-lead,.site-footer-bottom{border-color:var(--line)}
.site-footer-groups h3,.site-footer-contact>span{color:var(--green)}
.site-footer-brand p,.site-footer-bottom{color:var(--muted)}
.site-footer a:hover{color:#64452f}
.article-art{background:linear-gradient(135deg,#eee3d2,#f8f0e5);color:#795a2e}
.article-card:nth-child(2) .article-art{background:#e9dfd1}
.article-card:nth-child(3) .article-art{background:#f0e7db}
.admin-body{background:var(--paper)}
.admin-topbar,.stat,.job,.table-scroll,details{background:var(--namo-surface)}
th,.code,.toc{background:#f0e9df}
.empty{border-color:var(--namo-border);background:#fffefc}
input:not([type=checkbox]):not([type=radio]),select,textarea{border-color:var(--namo-border);background:var(--namo-surface)}
input::placeholder,textarea::placeholder{color:#78695b;opacity:1}
.text-link{border-bottom-color:#ac8c62}
.prose blockquote{background:#f0e9df;border-color:var(--gold)}
.admin-sidebar a.menu-item:hover{background:#684d39;color:#fff}
.admin-sidebar .sidebar-label,.admin-sidebar small{color:#e4d4c2}
.sidebar>.sidebar-label{color:var(--muted)}
.admin-mobile-links a:hover{background:#684d39;color:#fff}
.waiting-note.card{background:#fff4d8;color:#4b392a}
.waiting-note h3{color:#503a2e}.waiting-note .small-text{color:#5d4d40}
/* Preserve LINE branding, success, warning and error states. */
a:focus-visible,button:focus-visible,input:focus,select:focus,textarea:focus,
.site-footer a:focus-visible,.line-login-button:focus-visible{outline:3px solid var(--namo-focus);outline-offset:4px}
.admin-sidebar a:focus-visible,.admin-mobile-menu a:focus-visible,
.manifesto a:focus-visible,.manifesto button:focus-visible{outline-color:#f2dbb3}
@media(max-width:800px){.nav.open{background:var(--paper);border-bottom-color:var(--line)}.menu-button{color:var(--ink);border-color:var(--namo-border)}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.btn{transition:none}.btn:hover{transform:none}}
@media(forced-colors:active){a:focus-visible,button:focus-visible,input:focus,select:focus,textarea:focus{outline-color:Highlight}}
@media print{body,.admin-body,.site-footer{background:#fff;color:#000}}
