:root{--primary:#e9663a;--primary-dark:#c84d25;--ink:#26323d;--muted:#697784;--line:#e3e8ed;--surface:#f5f7fa;--nav:#253540;--radius:8px}*{box-sizing:border-box}body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:15px;color:var(--ink);background:var(--surface);line-height:1.5}a{color:inherit;text-decoration:none}button,input,textarea{font:inherit}button,a,input,textarea{outline-offset:4px}h1,h2,p{margin-top:0}h1{font-size:30px;font-weight:600;letter-spacing:-.7px;margin-bottom:8px}h2{font-size:18px;font-weight:600}p.muted{margin-bottom:0}.muted,small,time{color:var(--muted)}.eyebrow{font-size:11px;font-weight:700;letter-spacing:1.7px;color:var(--muted);margin-bottom:9px}.sidenav{position:fixed;inset:0 auto 0 0;width:230px;background:var(--nav);color:#d4dce3;padding:27px 18px;display:flex;flex-direction:column}.brand{display:flex;align-items:center;gap:12px;font-size:24px;font-weight:700;letter-spacing:4px}.brand-mark{display:grid;place-items:center;color:white;background:var(--primary);border-radius:10px;width:40px;height:42px;font-size:31px;font-weight:400;letter-spacing:0}.sidenav .brand{color:white;padding-left:8px}.workspace{font-size:11px;letter-spacing:2px;color:#93a5b2;margin:40px 14px 12px}.nav-item{display:flex;gap:14px;padding:12px 15px;border-radius:6px;margin:4px 0;font-size:14px}.nav-item:hover{background:#344753}.nav-item.active{background:var(--primary);color:white}.sidebar-bottom{margin-top:auto;font-size:12px;padding:20px 12px;color:#aebcc5}.local-dot{display:inline-block;background:#86bba7;width:7px;height:7px;border-radius:50%;margin-right:9px}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);margin-left:230px;padding:0 38px;display:flex;justify-content:space-between;align-items:center;font-size:13px}.account{display:flex;align-items:center;gap:22px}.text-button{background:transparent;border:0;color:var(--muted);cursor:pointer}.alpha-shell #main{margin-left:230px;padding:38px;max-width:1560px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:28px}.button{background:var(--primary);color:#fff;border:1px solid var(--primary);border-radius:6px;padding:10px 18px;font-size:14px;font-weight:600;display:inline-block;cursor:pointer;text-align:center;white-space:nowrap}.button:hover{background:var(--primary-dark)}.button.secondary{background:white;color:var(--ink);border-color:#cfd7df}.button:disabled{opacity:.5;cursor:default}.button.full{width:100%;margin-top:12px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 2px 5px #21344204;overflow:hidden}.panel table{width:100%;border-collapse:collapse;text-align:left}th{padding:15px 24px;background:#fbfcfd;font-size:11px;text-transform:uppercase;letter-spacing:1px;color:var(--muted);font-weight:600}td{padding:20px 24px;border-top:1px solid var(--line);font-size:14px}.page-link{font-weight:600}.page-link:hover,.text-link:hover{color:var(--primary-dark)}td small{display:block;margin-top:4px;font-size:12px}.text-link{font-size:13px;color:var(--primary-dark)}.badge{display:inline-block;white-space:nowrap;padding:4px 10px;border-radius:16px;font-size:11px;font-weight:600;background:#fff3df;color:#986823}.badge.published{background:#e6f4ed;color:#277452}.empty{padding:75px 24px;text-align:center}.empty .button{margin-top:24px}.actions{display:flex;gap:12px;align-items:center}.back-link{display:block;color:var(--muted);font-size:13px;margin-bottom:12px}.editor-grid{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px}.editor-main,.editor-meta{padding:25px;overflow:visible}.editor-meta{align-self:start}label{display:block;font-size:13px;font-weight:600;margin:0 0 7px}input:not([type=hidden]),textarea{width:100%;border:1px solid #cdd6de;border-radius:5px;background:white;padding:10px 12px;margin-bottom:21px;color:var(--ink)}textarea{resize:vertical}input:focus,textarea:focus{border-color:var(--primary)}.divider{border-top:1px solid var(--line);margin:15px 0}.reload-link{display:block;text-align:center;margin:16px 0 0}.publish-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:24px 0}.publish-bar p{font-size:13px;margin-top:3px}.history-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-top:15px}.history{padding:24px}.history-row{display:flex;gap:14px;flex-wrap:wrap;justify-content:space-between;font-size:12px;padding:12px 0;border-top:1px solid var(--line)}.history-row strong{font-weight:500}.notice,.alert{padding:13px 18px;margin-bottom:22px;border-radius:6px;font-size:14px}.notice{background:#e6f4ed;color:#277452}.alert{background:#fdeae6;color:#963520}.signed-out{min-height:100vh;display:grid;place-items:center;padding:24px}.login-card{width:min(420px,100%);background:white;padding:36px;border:1px solid var(--line);border-radius:12px;box-shadow:0 10px 35px #26323d08}.login-card .brand{margin-bottom:30px}.login-card h1{margin-bottom:28px}.signed-out #main{width:420px;max-width:100%}.signed-out .login-card{width:100%}.ql-toolbar.ql-snow{border-radius:5px 5px 0 0;border-color:#cdd6de!important}.ql-container.ql-snow{border-radius:0 0 5px 5px;border-color:#cdd6de!important;font:inherit}.ql-editor{min-height:280px}.public-site{background:white}.public-header{display:flex;align-items:center;justify-content:space-between;padding:26px 7%;border-bottom:1px solid var(--line);gap:24px}.public-brand{font-size:28px;font-weight:800;color:#163749;letter-spacing:2px}.public-header nav{display:flex;gap:24px;flex-wrap:wrap;font-size:14px}.public-content{max-width:940px;margin:70px auto;padding:0 30px;min-height:55vh}.public-content h1{font-size:48px;color:#153447;letter-spacing:-1.4px;line-height:1.15}.lede{font-size:21px;color:var(--muted);margin:24px 0 36px}.prose{font-size:17px;line-height:1.8}.prose h2{font-size:28px;margin-top:35px}.prose h3{font-size:23px}.prose a{text-decoration:underline;color:#b94e27}.public-footer{border-top:1px solid var(--line);padding:25px 7%;font-size:12px;color:var(--muted)}.preview-banner{text-align:center;background:#fff3df;padding:10px;font-size:13px;color:#79591b}[hidden]{display:none!important}@media(max-width:950px){.sidenav{width:180px}.topbar{margin-left:180px;padding:0 22px}.topbar>span{display:none}.alpha-shell #main{margin-left:180px;padding:24px}.editor-grid{grid-template-columns:1fr}.history-grid{grid-template-columns:1fr}}@media(max-width:600px){.sidenav{position:static;width:auto;padding:16px}.sidenav nav{display:flex;gap:8px}.workspace,.sidebar-bottom{display:none}.sidenav .brand{font-size:19px}.brand-mark{height:32px;width:32px;font-size:25px}.nav-item{padding:8px 12px}.topbar{margin-left:0;height:56px}.alpha-shell #main{margin-left:0;padding:20px}.page-heading,.publish-bar{align-items:flex-start;flex-direction:column}.panel{overflow-x:auto}th,td{padding:15px}.public-content h1{font-size:34px}.actions{flex-wrap:wrap}}
.editor-main .ql-container{height:auto}.editor-main .ql-editor{height:auto;min-height:280px}
.section-panel{padding:18px;margin:14px 0}.section-panel h3{margin:0 0 10px}.section-panel .actions{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:12px}.section-panel .button{padding:6px 10px}.section-panel label{display:block;margin:10px 0}.section-panel input{display:block;width:100%;margin-top:4px}.section-panel .ql-editor{min-height:100px}.section-card{border:1px solid var(--line);border-radius:6px;padding:12px;margin:12px 0}#sections-editor>.actions{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}
.section-panel input[type=checkbox]{display:inline-block;width:auto;margin:0 6px}

/* The Alpha portal login uses a centered client-branded card. Keep NAMC's
   existing credential form while matching that shared visual structure. */
.signed-out{background:#f7f7f7;display:flex;align-items:center;justify-content:center}
.signed-out #main{width:426px;max-width:100%;min-width:0}
.signed-out .login-card{width:100%;min-width:0;padding:38px 48px 44px;border:0;border-radius:6px;box-shadow:0 8px 22px #00000024}
.login-brand{display:flex;justify-content:center;align-items:center;margin:0 auto 42px}
.login-brand img{display:block;width:240px;max-width:100%;height:auto}
.signed-out .login-card h1{text-align:center;font-size:24px;font-weight:700;letter-spacing:0;margin:0 0 54px;color:#111}
.signed-out .login-card label{font-size:14px;color:#565e65;margin-bottom:4px}
.signed-out .login-card input:not([type=hidden]){border:0;border-bottom:1px solid #a7adb2;border-radius:0;box-shadow:none;padding:9px 0 10px;margin-bottom:26px;background:transparent}
.signed-out .login-card input:not([type=hidden]):focus{outline:2px solid transparent;border-bottom:2px solid var(--primary)}
.signed-out .login-card .button.full{border-radius:999px;margin-top:16px;box-shadow:0 2px 5px #00000024}
@media(max-width:600px){.signed-out .login-card{padding:32px 28px 38px}.signed-out .login-card h1{margin-bottom:40px}}

/* NAMC administration branding, using the green from the captured public theme. */
:root{--primary:#00853f;--primary-dark:#006b32}
.sidenav .brand{display:flex;justify-content:center;background:#fff;border-radius:6px;padding:10px 12px}
.sidenav .brand img{display:block;width:100%;max-width:180px;height:auto}
.workspace{margin-top:26px}
.sidebar-bottom .powered-by-alpha{margin-top:12px;color:#d4dce3;font-size:11px;letter-spacing:.03em}
.signed-out #main{margin:auto 0}
.signed-out{flex-direction:column}
.login-powered{padding:14px 0 4px;color:#697784;font-size:12px;text-align:center}
#ContentType{display:block;width:100%;min-height:42px;border:1px solid #cdd6de;border-radius:5px;background:#fff;padding:9px 12px;margin-bottom:12px;color:var(--ink);font:inherit}
#ContentType:focus-visible{outline:2px solid var(--primary);outline-offset:2px}
#ContentType+p.muted{margin-bottom:20px}
.preview-hub-panel{padding:24px;margin-bottom:24px}
.preview-hub-panel>h2{margin-bottom:5px}
.preview-route-list{list-style:none;padding:0;margin:20px 0 0}
.preview-route-list li{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:13px 0;border-top:1px solid var(--line)}
.preview-route-list small{display:block;margin-top:3px;overflow-wrap:anywhere}
@media(max-width:600px){.preview-route-list li{align-items:flex-start;flex-direction:column;gap:8px}}
