:root{font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif;color-scheme:light;--ink:#152238;--sub:#5d6a7e;--line:#dce4eb;--bg:#f4f7fa;--panel:#fff;--accent:#123e65;--accent2:#1c6893;--ok:#137455;--warn:#a0640d;--shadow:0 10px 35px rgba(20,39,58,.06)}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-size:16px;line-height:1.55}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:var(--accent2)}h1,h2,h3,p{margin:0}h1{font-size:clamp(23px,3.5vw,30px);line-height:1.23;letter-spacing:-.035em}h2{font-size:21px;line-height:1.35}h3{font-size:17px}.muted{color:var(--sub)}.small{font-size:13px}.tiny{font-size:12px}.loading{padding:4rem;text-align:center}.topbar{height:76px;background:#fff;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;padding:0 clamp(16px,3vw,36px);gap:12px}.logo-text{font-weight:800;letter-spacing:-.03em;font-size:18px}.logo-sub{font-size:11px;font-weight:500;color:var(--sub)}.brandmark{height:38px;max-width:120px;object-fit:contain}.toplinks{display:flex;gap:8px;flex-wrap:wrap;align-items:center}.toplinks button,.btn,.navbutton{border:1px solid var(--line);border-radius:10px;background:#fff;padding:10px 14px;min-height:44px;color:var(--ink);font-weight:650;transition:background .15s,border-color .15s}.toplinks button:hover,.btn:hover,.navbutton:hover{background:#f0f5f8}.btn.primary,.toplinks .primary{background:var(--accent);border-color:var(--accent);color:white}.btn.primary:hover{background:#0d304e}.btn.danger{color:#9c3436;border-color:#e8c2c3}.btn.small{padding:7px 10px;min-height:35px;font-size:13px}.btn:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #7ab7dc;outline-offset:2px}.public-main{max-width:1180px;padding:32px 18px 72px;margin:auto}.hero{background:linear-gradient(120deg,#142f4a,#22617f);padding:36px;min-height:230px;border-radius:22px;color:white;display:flex;flex-direction:column;justify-content:center;gap:16px}.hero p{color:#e2edf4;max-width:640px}.hero .btn{align-self:flex-start}.grid{display:grid;gap:16px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.card,.panel{background:var(--panel);border:1px solid var(--line);border-radius:16px;padding:22px;box-shadow:var(--shadow)}.card{display:flex;flex-direction:column;gap:14px}.card h3{font-size:18px}.card .icon{font-size:26px}.block{margin-top:24px}.pills{display:flex;gap:8px;flex-wrap:wrap}.pill{padding:6px 12px;background:#e8f1f8;border-radius:100px;font-weight:650;color:#17456a;font-size:12px}.kpi{display:flex;flex-direction:column;gap:8px}.kpi .value{font-weight:800;font-size:30px;letter-spacing:-.035em}.kpi .desc{font-size:13px;color:var(--sub)}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field label{font-weight:700;font-size:14px}.field input,.field select,.field textarea,.field .readonly{border:1px solid #ccd7e2;background:white;border-radius:10px;min-height:46px;padding:10px 12px;max-width:100%;width:100%;color:var(--ink)}.field textarea{min-height:90px;resize:vertical}.check{display:flex;align-items:flex-start;gap:10px;font-size:14px}.check input{width:19px;height:19px;margin:2px 0;flex-shrink:0}.form-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}.hint{font-size:13px;color:var(--sub)}.alert{padding:13px 15px;border-radius:11px;border:1px solid #f1d2a1;background:#fff9ed;color:#805008}.alert.ok{border-color:#b8e4d1;background:#effbf5;color:#0b6e48}.alert.error{border-color:#f3bfbf;background:#fff5f5;color:#a13c3c}.alert a{color:inherit}.tablewrap{width:100%;overflow-x:auto;border:1px solid var(--line);border-radius:12px}.table{border-collapse:collapse;width:100%;background:white;font-size:14px}.table th,.table td{text-align:left;padding:12px 13px;border-bottom:1px solid #e9edf2;white-space:nowrap}.table th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:var(--sub);background:#f6f8fa}.table tr:last-child td{border-bottom:0}.table td:last-child{text-align:right}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:17px}.row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.row.between{justify-content:space-between}.stack{display:flex;flex-direction:column;gap:15px}.status{display:inline-block;border-radius:9px;background:#eef2f6;color:#43536b;font-weight:700;font-size:12px;padding:5px 8px;white-space:nowrap}.status.ok{background:#e6f5ef;color:#13704f}.status.warn{background:#fff4db;color:#886013}.price{font-weight:850;font-size:clamp(27px,3.4vw,34px);letter-spacing:-.04em}.choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:10px}.choice{background:white;border:1px solid var(--line);border-radius:12px;padding:14px;min-height:94px;text-align:left;display:flex;flex-direction:column;gap:5px;color:var(--ink)}.choice.active{border:2px solid var(--accent);background:#edf5fa;padding:13px}.choice strong{font-size:19px}.choice span{font-size:14px;color:var(--sub)}.summary{background:#eaf2f7;border-radius:15px;padding:20px;display:flex;flex-direction:column;gap:10px}.divider{border:0;border-top:1px solid var(--line);margin:14px 0}.app-shell{display:flex;min-height:100vh}.sidebar{width:265px;flex-shrink:0;background:#102c47;color:#e9f1f6;padding:22px 12px;display:flex;flex-direction:column;gap:5px}.sidebrand{padding:13px 13px 24px;font-size:19px;font-weight:800}.sidebrand small{display:block;color:#aabfd0;font-weight:450;font-size:12px}.navgroup{margin-top:13px;padding:0 13px;font-size:11px;text-transform:uppercase;letter-spacing:.11em;color:#9fb6ca}.navbutton{width:100%;text-align:left;color:#dce8f3;background:transparent;border:0;border-radius:10px;display:flex;gap:12px;align-items:center;font-size:15px;font-weight:550}.navbutton:hover{background:#1a425f}.navbutton.active{background:#2a5373;color:#fff}.navico{font-size:20px;width:23px;text-align:center}.app-main{min-width:0;flex:1}.admin-content{max-width:1350px;padding:25px clamp(16px,2.5vw,35px) 70px;margin:0 auto}.narrow{max-width:700px}.modal-backdrop{position:fixed;inset:0;background:rgba(8,20,34,.66);z-index:50;display:flex;justify-content:center;align-items:center;padding:18px}.modal{max-width:540px;width:100%;max-height:calc(100vh - 40px);overflow-y:auto;background:white;border-radius:20px;box-shadow:0 15px 65px #0005;padding:25px;display:flex;flex-direction:column;gap:17px}.modal h2{font-size:22px}.badge{background:#e7eef3;border-radius:6px;padding:4px 8px;font-size:12px;font-weight:750}.chart{height:220px;width:100%}.chart rect{fill:#2a7399}.chart .sold{fill:#3da58d}.chart text{fill:#667588;font-size:12px}.footer{max-width:1180px;margin:20px auto;padding:25px 18px;color:var(--sub);font-size:12px}.print-head{display:none}.shortcut{border-radius:11px;background:#eff5f9;padding:12px}.notice{border-left:3px solid #d1a143;padding:10px 12px;background:#fff9ec;font-size:14px}.hide{display:none!important}.shimmer{background:#f5f8fb}details{border:1px solid var(--line);border-radius:10px;padding:12px}summary{cursor:pointer;font-weight:650}details[open] summary{margin-bottom:12px}.tiny-btn{background:none;border:0;color:var(--accent2);text-decoration:underline;padding:6px}.progress{display:flex;gap:6px}.progress span{height:6px;background:#dce5ec;flex:1;border-radius:20px}.progress span.done{background:#2e789e}
@media(max-width:1000px){.grid.four{grid-template-columns:repeat(2,minmax(0,1fr))}.sidebar{width:210px}.admin-content{padding:22px 15px}}
@media(max-width:750px){.grid.two,.grid.three,.grid.four{grid-template-columns:1fr}.sidebar{width:100%;position:static;display:flex;flex-direction:row;flex-wrap:wrap;padding:10px}.sidebrand,.navgroup{display:none}.navbutton{width:auto;font-size:13px;padding:8px 10px}.navico{font-size:16px;width:auto}.app-shell{flex-direction:column}.topbar{min-height:70px;height:auto;padding:12px 16px}.toplinks{gap:4px}.toplinks button{padding:7px 10px;min-height:38px;font-size:13px}.hero{padding:25px}.card,.panel{padding:17px}.public-main{padding:20px 13px}.admin-content{padding:20px 12px}.table th,.table td{padding:10px}.price{font-size:26px}}
@media print{body{background:white}.topbar,.sidebar,.navbutton,.form-actions,.no-print,.footer{display:none!important}.app-main,.admin-content,.public-main{padding:0;margin:0;max-width:none}.panel,.card{box-shadow:none;border:0}.print-head{display:block}.table th{background:#eee}}
