:root{--bg:#f6f7f9;--ink:#152033;--muted:#68778a;--line:#e4e9f0;--dark:#101a2b;--primary:#335ad7;--soft:#e9eeff;--white:#fff;--radius:13px}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;-webkit-font-smoothing:antialiased}
a{text-decoration:none;color:inherit}a:hover{color:var(--primary)}.admin-layout{display:flex;min-height:100vh}
.sidebar{background:var(--dark);width:240px;color:#c5cee0;min-height:100vh;padding:30px 20px;display:flex;flex-direction:column;position:fixed;top:0;bottom:0}
.brand{display:flex;align-items:center;gap:12px;color:white;font-weight:800;font-size:16px;letter-spacing:-.4px;line-height:1.1}.brand:hover{color:#fff}.brand-mark{display:inline-flex;width:35px;height:35px;align-items:center;justify-content:center;border-radius:10px;background:#5572ec;color:white;font-weight:900;font-size:20px}.brand small{color:#879ac0;font-size:10px;letter-spacing:1.7px;font-weight:700}.sidebar-section{font-size:10px;color:#6d80a2;letter-spacing:1.7px;font-weight:800;margin:46px 0 12px}.sidebar nav a{display:block;border-radius:8px;padding:12px;color:#cbd3e4;margin-bottom:4px}.sidebar nav a:hover{background:#1d304b;color:#fff}.sidebar-hint{color:#8999b4;font-size:12px;line-height:1.7}.sidebar-bottom{margin-top:auto;padding:20px 0 0;border-top:1px solid #26364f}.user-name{display:block;font-weight:600;color:#fff;margin-bottom:10px}.sidebar-logout{background:none;border:0;color:#9eb0cb;cursor:pointer;padding:3px 0;text-align:left;font-size:13px}.main{margin-left:240px;width:calc(100% - 240px);max-width:1920px;padding:28px 42px 70px}.topline{display:flex;justify-content:space-between;color:#8491a4;letter-spacing:1.3px;font-size:10px;font-weight:800;margin-bottom:46px}.env{border:1px solid #d0d7ec;color:#5469aa;border-radius:50px;padding:5px 11px;white-space:nowrap}
.page-title{display:flex;justify-content:space-between;align-items:flex-start;gap:24px;margin-bottom:30px}.eyebrow{font-size:10px;letter-spacing:1.7px;font-weight:900;color:#5f79ce;margin:0 0 12px}.page-title h1{font-size:31px;letter-spacing:-1.2px;margin:0 0 10px;font-weight:780}.lead{color:var(--muted);line-height:1.6;max-width:620px;margin:0}.btn{display:inline-flex;align-items:center;justify-content:center;padding:11px 17px;font-size:13px;font-weight:700;border:1px solid var(--line);border-radius:9px;cursor:pointer;background:white;white-space:nowrap}.btn:hover{opacity:.89}.btn.primary{background:var(--primary);border-color:var(--primary);color:#fff}.btn.secondary{background:white;color:var(--ink)}.btn.full{width:100%;margin-top:10px}.button-row{display:flex;gap:10px;flex-wrap:wrap}
.stat-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:0 0 42px}.stat{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:24px}.stat span{display:block;font-size:12px;font-weight:700;color:#6f7f91}.stat strong{display:block;font-size:35px;line-height:1.2;margin:10px 0 4px;font-weight:800;letter-spacing:-1px}.stat small{font-size:11px;color:#8b95a6}.section-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px}.section-head h2,.panel h2{margin:0;font-size:17px;letter-spacing:-.25px}.muted{color:var(--muted)}.site-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(270px,1fr));gap:16px}.site-card{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:23px;transition:box-shadow .2s,transform .2s}.site-card:hover{box-shadow:0 10px 35px #192f5411;transform:translateY(-2px)}.site-top,.site-foot{display:flex;justify-content:space-between;align-items:center}.mini-icon{display:inline-flex;width:36px;height:36px;border-radius:11px;background:#eaf0ff;color:#4866c9;font-size:17px;font-weight:900;align-items:center;justify-content:center}.pill{display:inline-block;background:#edf1f6;border:1px solid #e0e7ed;padding:5px 9px;border-radius:40px;color:#66758b;font-size:10px;font-weight:750}.status-published,.status-approved{background:#e8f7ef;border-color:#c9edda;color:#19764a}.status-review,.status-scheduled{background:#fff6e7;border-color:#f3dfbb;color:#9b671c}.site-card h3{font-size:20px;margin:23px 0 4px;letter-spacing:-.5px}.site-card p{margin:0}.site-foot{border-top:1px solid var(--line);padding-top:18px;margin-top:25px;color:#74849c;font-size:12px}.empty{border:1px dashed #cbd3df;background:white;border-radius:12px;padding:50px 25px;text-align:center;grid-column:1/-1}.empty.small{padding:40px}.empty-circle{width:44px;height:44px;background:#edf2ff;color:var(--primary);font-size:28px;border-radius:50%;margin:0 auto 18px}.empty h3{margin:0 0 7px}.empty p{color:var(--muted);margin-bottom:18px}
.crumb{display:flex;align-items:center;gap:12px;color:#77889e;margin-bottom:22px;font-size:12px}.metadata{display:flex;align-items:center;gap:15px;flex-wrap:wrap;border-bottom:1px solid var(--line);padding:0 0 22px;margin:0 0 24px;color:#687589;font-size:12px}.metadata a{margin-left:auto;color:var(--primary);font-weight:700}.two-col{display:grid;grid-template-columns:minmax(0,2.5fr) minmax(240px,1fr);gap:20px}.right-column{display:flex;flex-direction:column;gap:18px}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);padding:25px;min-width:0}.panel>p{line-height:1.65}.table-scroll{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left}.data-table th{font-size:11px;letter-spacing:.3px;color:#8492a5;font-weight:700;padding:14px 10px;background:#fafbfd}.data-table td{border-top:1px solid var(--line);padding:16px 10px;font-size:12px;vertical-align:top}.data-table td strong{display:block;max-width:360px;line-height:1.4;font-weight:650}.data-table td small{display:block;margin-top:5px}.data-table td a{color:var(--primary);font-weight:700}.list-row{display:flex;justify-content:space-between;border-bottom:1px solid var(--line);padding:13px 0;gap:10px;font-size:12px}.list-row small{color:var(--muted)}.audit{padding:13px 0;border-bottom:1px solid var(--line);display:flex;flex-direction:column;gap:4px;font-size:12px}.audit small,.audit span{color:#8995a6}.form-panel{max-width:800px;background:white;border:1px solid var(--line);border-radius:var(--radius);padding:30px}.field{display:flex;flex-direction:column;margin-bottom:18px;gap:7px}.field label,.auth-card label{font-size:12px;font-weight:750;color:#455169}.field input,.field select,.field textarea,.auth-card input{font-family:inherit;font-size:14px;color:var(--ink);border:1px solid #d7dfeb;background:white;border-radius:8px;padding:11px 12px;max-width:100%;width:100%}.field input:focus,.field select:focus,.field textarea:focus,.auth-card input:focus{outline:2px solid #b1c1ff;border-color:#7a96f2}.field textarea{resize:vertical;line-height:1.6}.field .form-error,.form-error{color:#ba3542;font-size:12px}.article-editor .body-field textarea{min-height:330px}.checkline{font-size:12px;padding:9px 0;border-bottom:1px solid var(--line);color:#4a617d}.small-text{font-size:11px!important}
.notifications{margin-bottom:24px}.notice{background:#eef4ff;color:#2350a7;border:1px solid #d1defc;padding:12px 15px;border-radius:8px;font-size:12px;margin:8px 0}.notice.error{background:#fff2f2;border-color:#f4d5d5;color:#a53644}
.auth-body{display:grid;place-items:center;min-height:100vh;padding:20px;background:linear-gradient(135deg,#eef2fb,#f9fafb)}.auth-card{background:white;border:1px solid var(--line);border-radius:17px;padding:42px;max-width:430px;width:100%;box-shadow:0 15px 50px #1c2d4c0d}.auth-brand{display:flex;gap:10px;align-items:center;font-weight:800;font-size:17px}.auth-brand .env{margin-left:auto;font-size:10px}.auth-card h1{font-size:27px;letter-spacing:-.5px;margin:34px 0 9px}.auth-card p{line-height:1.6;margin-bottom:28px}.auth-card label{display:block;margin:14px 0 7px}
.public-preview{background:#fff;color:#1c2026;font-family:Georgia,"Times New Roman",serif}.preview-bar{background:#1c2840;color:#d8e2f7;padding:12px 5%;font-family:ui-sans-serif,system-ui;font-size:11px;display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap}.preview-bar a{color:#fff;text-decoration:underline}.public-header{max-width:1100px;margin:auto;display:flex;justify-content:space-between;align-items:center;padding:35px 25px;border-bottom:1px solid #ddd;font-family:ui-sans-serif,system-ui}.public-header .public-brand{font-size:24px;letter-spacing:-1px;font-weight:850}.public-header span{color:#6a7280;font-size:12px}.public-main{max-width:1100px;margin:auto;padding:40px 25px 90px}.public-hero h1{font-size:clamp(38px,5vw,66px);letter-spacing:-2px;margin:5px 0 14px}.public-hero p{color:#6a7081;line-height:1.6}.public-cards{margin-top:45px;display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:30px}.public-card{border:1px solid #e7e8ec;border-radius:10px;overflow:hidden}.public-card img{width:100%;height:190px;object-fit:cover}.public-card div{padding:21px}.public-card small{font-family:ui-sans-serif,system-ui;font-size:11px;color:#697b99}.public-card h2{font-size:22px;line-height:1.23}.public-card p{font-size:14px;color:#596171;line-height:1.7}.public-footer{border-top:1px solid #e2e5eb;text-align:center;font-family:ui-sans-serif,system-ui;padding:30px;color:#7d8899;font-size:11px}.public-article{max-width:740px;margin:auto}.public-article h1{font-size:clamp(33px,4.5vw,55px);line-height:1.12;letter-spacing:-1.5px;margin:12px 0 23px}.article-excerpt{font-size:20px;line-height:1.5;color:#545e6b}.byline{font-family:ui-sans-serif,system-ui;font-size:12px;color:#8a93a2;margin:25px 0}.public-article figure{margin:25px 0}.public-article img{width:100%;height:auto;border-radius:8px}.public-article figcaption{text-align:center;font-family:ui-sans-serif,system-ui;color:#7a8598;font-size:11px;margin-top:8px}.article-body{font-size:18px;line-height:1.9;color:#333945}.article-body p{margin:0 0 22px}
@media(max-width:950px){.sidebar{width:195px}.main{margin-left:195px;width:calc(100% - 195px);padding:25px 22px}.two-col{grid-template-columns:1fr}.right-column{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.admin-layout{display:block}.sidebar{position:static;width:100%;min-height:auto;padding:15px;display:block}.brand{font-size:14px}.sidebar-section,.sidebar-hint,.sidebar-bottom{display:none}.sidebar nav{display:flex;gap:12px;margin:10px 0 0}.sidebar nav a{font-size:12px;padding:5px}.main{width:100%;margin:0;padding:23px 16px}.topline{margin-bottom:30px}.topline span:first-child{display:none}.page-title{display:block}.page-title h1{font-size:27px}.page-title .btn,.button-row{margin-top:15px}.stat-grid{grid-template-columns:1fr;gap:10px}.stat{padding:16px}.stat strong{font-size:28px}.right-column{display:block}.right-column .panel{margin-bottom:15px}.form-panel,.panel{padding:18px}.public-main{padding:27px 19px 60px}}
