/* The existing member/admin CSS is loaded first. These scoped additions support
   new functional screens without requiring JS, remote fonts, or remote assets. */
body { min-width: 280px; }
.local-banner { background:#fff3cd; color:#473c16; text-align:center; padding:9px 16px; font-size:12px; font-weight:600; }
.site-head { background:white; padding:22px max(24px,calc((100% - 1140px)/2)); display:flex; justify-content:space-between; align-items:center; gap:20px; }
.brand { font-size:27px; font-weight:800; color:#2a343e; letter-spacing:1px; white-space:nowrap; }
.brand small { display:block; font-size:11px; letter-spacing:2px; color:#61707d; }
.site-nav { display:flex; gap:25px; padding:14px max(24px,calc((100% - 1140px)/2)); background:#2a343e; flex-wrap:wrap; }
.site-nav a { color:white; font-size:13px; }
.app-main { padding-top:38px; padding-bottom:50px; min-height:65vh; }
.app-main h1 { font-size:27px; margin-bottom:28px; font-weight:700; }
.app-main h2 { font-size:18px; margin:0 0 20px; }
.eyebrow { color:#61707d; font-size:11px; font-weight:700; letter-spacing:1.5px; margin-bottom:9px; }
.panel { background:white; padding:27px; border:1px solid #dce5e9; border-radius:5px; margin-bottom:22px; box-shadow:0 2px 3px #263e5205; min-width:0; }
a.panel { display:block; color:inherit; }
a.panel:hover { border-color:#49b862; text-decoration:none; }
.two-column { display:grid; grid-template-columns:1fr 1fr; gap:24px; align-items:start; }
.card-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(240px,1fr)); gap:22px; }
.welcome { display:flex; justify-content:space-between; align-items:center; gap:16px; margin-bottom:25px; }
.badge { background:#e6f4e9; color:#256437; border-radius:20px; padding:8px 12px; margin-bottom:15px; font-weight:600; }
.stat strong { display:block; font-size:36px; margin-top:10px; color:#31914a; }
.app-main label { display:block; font-size:13px; font-weight:600; margin-bottom:18px; }
.app-main input:not([type=checkbox]):not([type=hidden]), .app-main select, .app-main textarea { display:block; width:100%; margin-top:7px; border:1px solid #c4d1d9; background:#fff; color:#2a343e; border-radius:4px; padding:10px 12px; font:inherit; }
.app-main input:focus, .app-main textarea:focus, .app-main select:focus, button:focus-visible, a:focus-visible { outline:3px solid #9bd4a9; outline-offset:2px; }
.app-main .check { display:flex; align-items:center; gap:9px; font-weight:400; }
.app-main input[type=checkbox] { width:18px; height:18px; accent-color:#31864a; }
button { border:0; border-radius:4px; padding:10px 17px; color:white; background:#32874a; cursor:pointer; font:inherit; font-weight:600; }
button:hover { background:#246737; }
fieldset { padding:18px; margin:18px 0; border:1px solid #dce5e9; }
legend { width:auto; font-size:13px; font-weight:700; }
.inline { display:inline-block; margin-left:12px; }
.inline button { padding:5px 12px; font-size:12px; background:#61707d; }
.actions { display:flex; flex-wrap:wrap; gap:12px; }
.soft { background:#f7fbf8; }
.muted { color:#61707d; font-size:12px; }
.notice { background:#e6f4e9; border-left:4px solid #49b862; padding:16px; }
.plain-text, pre { white-space:pre-wrap; overflow-wrap:anywhere; font:inherit; line-height:1.9; }
pre { background:#f5f8fa; border:1px solid #e1e8ef; padding:16px; }
.post-foot { margin-top:30px; border-top:1px solid #e1e8ef; padding-top:20px; }
.app-main table { width:100%; border-collapse:collapse; }
.app-main td, .app-main th { padding:13px 16px; border-bottom:1px solid #e1e8ef; vertical-align:top; }
.app-main th { background:#f4f7f9; font-size:12px; color:#61707d; }
.table-responsive { overflow-x:auto; }
.table-responsive table { min-width:650px; }
.table-responsive label { margin-bottom:8px; }
.table-responsive small { overflow-wrap:anywhere; }
.site-foot { text-align:center; border-top:1px solid #dce5e9; padding:25px; color:#61707d; font-size:11px; }
@media(max-width:767px) { .two-column { grid-template-columns:1fr; gap:0; } .site-head { padding:18px; align-items:flex-start; } .brand { font-size:22px; } .site-nav { gap:16px; padding:13px 18px; } .app-main { padding:25px 16px; } .panel { padding:21px; } .app-main h1 { font-size:22px; } .welcome { align-items:flex-start; } }
.member-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px}.article-menu a{display:block;padding:12px;border-bottom:1px solid #ddd}.article-menu{background:#fff;padding:16px;align-self:start;border-radius:8px}video{width:100%;max-width:640px;background:#172a2b}.plain-text,pre{white-space:pre-wrap;overflow-wrap:anywhere}input,select,textarea{max-width:100%}@media(max-width:760px){.member-layout{grid-template-columns:1fr}.article-menu{order:2}}

/* v0.2.5 composition boundary only: keep long synthetic tokens inside the local grid.
   Saved legacy templates and their rule values remain unchanged. */
.member-layout > * { min-width:0; }
.member-layout .legacy-member-dom { overflow:hidden; }
