:root{--ink:#1d302f;--forest:#203534;--sienna:#b45f3b;--orange:#eab176;--paper:#f5f2ec;--white:#fffefa;--line:#e4dfd7;--muted:#7d8682;--green:#347b5d;--red:#b7504c;--radius:18px;--shadow:0 10px 35px rgba(29,48,47,.06);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--paper)}
*{box-sizing:border-box}body{margin:0;min-height:100vh}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.52;cursor:not-allowed}button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #f4bf73;outline-offset:2px}a{color:var(--green)}.boot{min-height:100vh;display:grid;place-content:center;text-align:center;font-size:36px;font-weight:850;color:var(--forest)}.boot span{color:var(--sienna)}.boot small{display:block;color:var(--muted);font-size:14px;font-weight:400;margin-top:15px}
.auth-page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}.auth-brand{background:var(--forest);color:white;padding:clamp(24px,5vw,90px);display:flex;flex-direction:column;justify-content:space-between;gap:50px}.auth-brand h1{font-size:clamp(48px,6vw,100px);letter-spacing:-.08em;line-height:.95;margin:0}.auth-brand p{max-width:510px;font-size:19px;line-height:1.55;color:#c1d1c8}.auth-hero{font-size:125px;line-height:1}.auth-form-holder{display:flex;align-items:center;justify-content:center;padding:28px}.auth-form{width:100%;max-width:410px}.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800;color:var(--sienna)}.auth-form h2{font-size:32px;letter-spacing:-.04em;margin:12px 0 8px}.auth-form p{color:var(--muted);line-height:1.5;margin-bottom:26px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:15px}.field label{font-size:12px;font-weight:750;color:#4c5b56}.field input,.field textarea,.field select,input.pill,select.pill{background:var(--white);border:1px solid var(--line);border-radius:12px;width:100%;padding:12px 13px;min-height:44px;color:var(--ink)}.field textarea{min-height:130px;resize:vertical;line-height:1.55}.field input[type=checkbox]{width:18px;height:18px;min-height:unset;accent-color:var(--green)}.check{display:flex;align-items:flex-start;gap:10px;margin:10px 0;line-height:1.4;font-size:13px}.check input{margin-top:2px;flex-shrink:0}.btn{border:0;border-radius:12px;padding:11px 16px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;gap:8px;font-weight:750;font-size:13px;background:var(--forest);color:white;transition:transform .12s,background .12s}.btn:hover{transform:translateY(-1px)}.btn.secondary{background:#e9eee8;color:var(--forest)}.btn.light{background:var(--white);border:1px solid var(--line);color:var(--ink)}.btn.danger{background:#f5e7e5;color:#af4541}.btn.orange{background:var(--sienna)}.btn.full{width:100%}.btn.small{min-height:34px;padding:7px 11px;font-size:12px}.muted{color:var(--muted)}.tiny{font-size:12px}.error{color:#b33a36;white-space:pre-wrap;line-height:1.4}.success{color:var(--green)}
.shell{display:grid;grid-template-columns:248px minmax(0,1fr);min-height:100vh}.sidebar{background:var(--forest);color:#f1f3ec;padding:27px 18px;display:flex;flex-direction:column;gap:18px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:9px;font-size:19px;font-weight:850;letter-spacing:-.05em;padding:3px 10px}.brand-icon{background:var(--orange);border-radius:10px;padding:10px;color:#243332}.sidebar small{color:#acbdb6}.side-divider{height:1px;background:#455955;margin:10px 0}.nav{display:flex;flex-direction:column;gap:5px}.nav button{background:transparent;color:#d3e0d8;border:0;border-radius:11px;padding:13px 14px;text-align:left;font-size:13px;display:flex;align-items:center;gap:12px;font-weight:650}.nav button.active{color:var(--forest);background:#f6f0e6}.nav button:hover:not(.active){background:#304a47}.side-bottom{margin-top:auto;padding:12px;word-wrap:break-word}.user-email{font-weight:650;font-size:12px;margin-bottom:12px}.main{min-width:0;padding:0 clamp(16px,3.6vw,54px) 100px}.topbar{height:90px;display:flex;align-items:center;justify-content:space-between;gap:16px;border-bottom:1px solid var(--line)}.topbar .path{color:var(--muted);font-size:13px}.topbar .path strong{color:var(--ink)}.top-right{display:flex;align-items:center;gap:9px}.top-right select{max-width:240px}.heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;margin:31px 0 21px}.heading h1{font-size:clamp(25px,3vw,39px);letter-spacing:-.055em;line-height:1.12;margin:3px 0}.heading p{margin:7px 0 0;color:var(--muted);font-size:14px}.heading-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.grid{display:grid;gap:17px}.stats{grid-template-columns:repeat(4,minmax(0,1fr))}.card{background:var(--white);border-radius:var(--radius);border:1px solid var(--line);box-shadow:var(--shadow);padding:22px;min-width:0}.stat-num{font-size:35px;letter-spacing:-.06em;font-weight:830}.stat-label{color:var(--muted);font-size:13px;margin-top:8px}.stat-icon{font-size:24px;float:right}.subheading{font-size:18px;letter-spacing:-.035em;margin:0 0 15px}.panel-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:17px;margin-top:19px}.empty{padding:32px 12px;text-align:center;color:var(--muted);line-height:1.5}.table-wrap{overflow:auto}.table{width:100%;border-collapse:collapse;min-width:590px}.table th{text-align:left;text-transform:uppercase;font-size:10px;letter-spacing:.08em;color:var(--muted);padding:12px;border-bottom:1px solid var(--line)}.table td{padding:15px 12px;border-bottom:1px solid var(--line);font-size:13px;vertical-align:middle}.table tr:last-child td{border-bottom:0}.table tr:hover td{background:#f9f8f3}.chip{display:inline-flex;border-radius:7px;font-size:11px;padding:5px 8px;background:#edece7;color:#5f6864;font-weight:750;white-space:nowrap}.chip.scheduled{background:#e8ede8;color:#246348}.chip.published{background:#d9f0df;color:#206e44}.chip.needs_review{background:#ffead8;color:#9b5831}.chip.publishing{background:#e7e8fa;color:#504fa0}.toolbar{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 16px}.toolbar>*{flex:1;min-width:140px}.post-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(285px,1fr));gap:14px}.post-card{background:var(--white);border:1px solid var(--line);border-radius:15px;overflow:hidden;display:flex;flex-direction:column}.post-thumb{background:linear-gradient(135deg,#f6ebe0,#e9eee8);aspect-ratio:16/9;width:100%;object-fit:cover;display:grid;place-items:center;color:#c6a182;font-size:32px}.post-info{padding:17px;display:flex;flex-direction:column;gap:11px;flex:1}.post-title{font-size:15px;font-weight:780;line-height:1.3}.post-excerpt{font-size:12px;color:var(--muted);overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-height:1.5}.post-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:auto}.soft{background:#f6f5f0;border-radius:12px;padding:13px}.alert{border-radius:12px;background:#fff4e8;border:1px solid #efdcbb;color:#755337;padding:13px;font-size:13px;line-height:1.5;margin:12px 0}.alert.ok{background:#e9f3eb;color:#2c674c;border-color:#c7e3d0}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(260px,.86fr);gap:18px}.editor-box{padding:21px}.preview{background:#f4f5f1;border-radius:20px;padding:18px;align-self:start;position:sticky;top:22px}.phone{background:white;border-radius:22px;max-width:390px;margin:auto;box-shadow:0 8px 40px #20353422;overflow:hidden;border:1px solid #e7e7e7}.phone-head{font-size:13px;font-weight:760;padding:14px;border-bottom:1px solid #f1f1f1}.phone .photo{display:block;width:100%;aspect-ratio:1.15;object-fit:cover;background:#eceae1}.phone .msg{padding:13px 16px;white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.52}.preview-label{font-size:11px;letter-spacing:.1em;text-transform:uppercase;font-weight:800;margin:0 0 12px;color:var(--muted)}.layout-small{max-width:650px}.row{display:flex;gap:10px;flex-wrap:wrap}.row>*{flex:1}.list-row{display:flex;align-items:center;justify-content:space-between;padding:17px 0;border-bottom:1px solid var(--line);gap:10px}.list-row:last-child{border:0}.list-row .description{color:var(--muted);font-size:12px;line-height:1.4;margin-top:6px}.code{background:#f1f0e9;padding:10px;border-radius:8px;font-family:ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere}.mobilebar{display:none}#toast{position:fixed;right:22px;bottom:22px;background:var(--forest);color:white;padding:13px 18px;border-radius:12px;box-shadow:0 15px 40px #0003;z-index:50;max-width:400px;font-size:13px;display:none}.pill-count{font-size:11px;background:#38564b;padding:3px 7px;border-radius:99px;margin-left:auto}.hide{display:none!important}.max-50{max-width:50ch}.post-detail{padding-top:8px}.link{color:var(--green);font-weight:600;text-decoration:underline}.disabled-note{opacity:.7}.footer-note{margin-top:30px;font-size:12px;color:var(--muted)}
@media(max-width:1150px){.stats{grid-template-columns:repeat(2,minmax(0,1fr))}.panel-grid{grid-template-columns:1fr}.split{grid-template-columns:1fr}.preview{position:static}.sidebar{width:220px}.shell{grid-template-columns:220px 1fr}}
@media(max-width:760px){.auth-page{grid-template-columns:1fr}.auth-brand{padding:24px;min-height:190px;gap:6px}.auth-brand h1{font-size:45px}.auth-brand p{font-size:13px;margin:5px 0}.auth-hero{display:none}.auth-form-holder{align-items:flex-start;padding:28px 22px 60px}.sidebar{display:none}.shell{display:block}.main{padding:0 16px 106px}.topbar{height:66px}.topbar .path{display:none}.top-right{width:100%}.top-right select{max-width:none;flex:1}.heading{margin:22px 0 17px;align-items:flex-start;flex-direction:column}.heading-actions{width:100%}.heading-actions .btn{flex:1}.stats{gap:9px}.card{padding:16px}.stat-num{font-size:29px}.stat-label{font-size:12px}.post-list{grid-template-columns:1fr}.mobilebar{display:flex;position:fixed;bottom:0;left:0;right:0;background:var(--white);border-top:1px solid var(--line);z-index:30;justify-content:space-around;padding:8px 4px calc(8px + env(safe-area-inset-bottom))}.mobilebar button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;flex:1;background:none;border:0;font-size:10px;color:var(--muted);font-weight:700;min-height:48px}.mobilebar button.active{color:var(--sienna)}.mobilebar .nav-ico{font-size:22px}.toolbar>*{min-width:120px}.post-thumb{aspect-ratio:2/1}.list-row{flex-wrap:wrap}.list-row button{width:100%}.topbar .mobile-title{font-weight:800}.preview{padding:10px}.phone{max-width:100%}.table{min-width:530px}}

@media(max-width:760px){.mobilebar{overflow-x:auto;justify-content:flex-start}.mobilebar button{flex:0 0 16.66%;min-width:51px;font-size:9px}.mobilebar .nav-ico{font-size:19px}}
