:root{
  --brand:#0f4052;
  --brand-2:#e92f3f;
  --bg:#f5f8fa;
  --card:#ffffff;
  --line:#dce6ea;
  --muted:#667680;
  --text:#14242b;
  --ok:#147a45;
  --warn:#b7791f;
  --bad:#b42318;
  --soft:#eef7fa;
}
*{box-sizing:border-box}body{margin:0;font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:var(--bg);color:var(--text);line-height:1.5}.container{width:min(1180px,calc(100% - 32px));margin:0 auto}.topbar{background:linear-gradient(135deg,#f3fafc 0%,#e8f3f6 100%);border-bottom:1px solid #cfe1e7;padding:12px 0;box-shadow:0 2px 12px rgba(12,52,68,.08)}.topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:16px}.brand{display:inline-flex;align-items:center;text-decoration:none;color:var(--brand);font-weight:800;font-size:22px}.site-logo{height:54px;width:auto;max-width:360px;display:block}.topnav a{color:var(--brand);font-weight:700;text-decoration:none}.main{padding:28px 0 56px}.footer{border-top:1px solid var(--line);padding:20px 0;color:var(--muted);background:#fff}.hero{position:relative;overflow:hidden;border-radius:28px;background:linear-gradient(135deg,#0f4052,#1d6b82);color:#fff;padding:42px;margin-bottom:24px;box-shadow:0 18px 45px rgba(15,64,82,.18)}.hero.has-image{min-height:270px;display:flex;align-items:end;background-size:cover;background-position:center}.hero.has-image:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(8,28,38,.82),rgba(8,28,38,.35),rgba(8,28,38,.15))}.hero-content{position:relative;z-index:1;max-width:760px}.hero h1{font-size:clamp(30px,5vw,56px);line-height:1.05;margin:0 0 12px}.hero p{font-size:18px;color:rgba(255,255,255,.9);margin:0 0 22px}.hero-meta{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}.pill{display:inline-flex;align-items:center;gap:6px;padding:7px 11px;border-radius:999px;background:#eef7fa;color:var(--brand);font-weight:700;font-size:14px}.hero .pill{background:rgba(255,255,255,.16);color:#fff;border:1px solid rgba(255,255,255,.25)}.grid{display:grid;gap:18px}.grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:22px;box-shadow:0 8px 26px rgba(20,36,43,.05);margin-bottom:18px}.card h2,.card h3{margin-top:0}.muted{color:var(--muted)}.small{font-size:13px}.btn,.button,button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:14px;background:var(--brand);color:#fff;text-decoration:none;padding:11px 16px;font-weight:800;cursor:pointer;min-height:42px}.btn:hover,.button:hover,button:hover{filter:brightness(.96)}.btn.secondary{background:#e8f3f6;color:var(--brand)}.btn.danger,button.danger{background:var(--bad)}.btn.ghost{background:#fff;color:var(--brand);border:1px solid var(--line)}.actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.form-row.three{grid-template-columns:repeat(3,minmax(0,1fr))}label{display:block;font-weight:800;margin:0 0 6px}input,select,textarea{width:100%;border:1px solid #cfdde3;border-radius:14px;padding:11px 12px;font:inherit;background:#fff;color:var(--text)}textarea{min-height:110px;resize:vertical}input[type="checkbox"]{width:auto}.checkline{display:flex;gap:10px;align-items:flex-start;font-weight:600}.checkline input{margin-top:5px}.hint{padding:12px 14px;background:#fff8e6;border:1px solid #f1d28c;border-radius:14px;color:#6b4a00}.success{padding:12px 14px;background:#eaf8f0;border:1px solid #b5e2c6;border-radius:14px;color:#0f5132}.error{padding:12px 14px;background:#fdecec;border:1px solid #f5b5b5;border-radius:14px;color:#7a1d1d}.table-wrap{overflow:auto;border:1px solid var(--line);border-radius:18px;background:#fff}table{width:100%;border-collapse:collapse}th,td{border-bottom:1px solid var(--line);padding:12px;text-align:left;vertical-align:top}th{background:#f0f6f8;color:#0f4052;font-size:14px;position:sticky;top:0;z-index:1}.matrix th:first-child,.matrix td:first-child{position:sticky;left:0;background:#fff;z-index:2;min-width:160px}.matrix th:first-child{background:#f0f6f8;z-index:3}.slot-cell{min-width:190px}.slot-box{border:1px solid #d6e4e9;background:#fbfdfe;border-radius:14px;padding:10px;margin:0 0 8px}.slot-box.full{background:#f5f5f5;color:#777}.slot-title{font-weight:800}.slot-meta{font-size:13px;color:var(--muted);margin:3px 0}.slot-note{font-size:13px;background:#fff8e6;border:1px solid #f1d28c;padding:8px;border-radius:10px;margin-top:8px}.names{font-size:13px;color:var(--muted);margin-top:7px}.names span{display:inline-block;background:#eef7fa;border-radius:999px;padding:3px 7px;margin:2px}.status-ok{color:var(--ok);font-weight:800}.status-warn{color:var(--warn);font-weight:800}.status-bad{color:var(--bad);font-weight:800}.progress{height:10px;border-radius:999px;background:#e7eef1;overflow:hidden}.progress span{display:block;height:100%;background:var(--brand);border-radius:999px}.admin-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}.admin-tabs a{padding:8px 12px;border-radius:999px;background:#fff;border:1px solid var(--line);color:var(--brand);text-decoration:none;font-weight:800}.log-entry{border-left:4px solid var(--brand);padding:10px 12px;background:#fff;border-radius:10px;margin-bottom:8px}.copybox{display:flex;gap:8px}.copybox input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.dynamic-row{border:1px dashed #cfdde3;border-radius:16px;padding:14px;margin-bottom:12px;background:#fbfdfe}.remove-row{background:#fff;color:var(--bad);border:1px solid #f0b4b4}.embed-body{background:#fff}.hero-logo{max-height:80px;max-width:220px;background:rgba(255,255,255,.92);padding:8px;border-radius:12px;margin-bottom:12px}.print-only{display:none}@media(max-width:780px){.container{width:min(100% - 20px,1180px)}.site-logo{height:42px;max-width:240px}.grid.two,.grid.three,.form-row,.form-row.three{grid-template-columns:1fr}.hero{padding:28px 20px;border-radius:20px}.card{padding:18px;border-radius:16px}.topnav{display:none}.copybox{flex-direction:column}.matrix th:first-child,.matrix td:first-child{position:static}.slot-cell{min-width:240px}}@media print{.topbar,.footer,.actions,.no-print{display:none!important}.main{padding:0}.card{box-shadow:none;border:1px solid #bbb}.print-only{display:block}body{background:#fff}.container{width:100%}}
.expert-only{display:none!important}.expert-on .expert-only{display:block!important}.expert-on .form-row.expert-only{display:grid!important}.mode-switch{display:flex;gap:14px;align-items:center;background:#f0f6f8;border:1px solid var(--line);border-radius:18px;padding:14px;margin-bottom:18px}.switch{position:relative;display:inline-flex;width:64px;height:36px;margin:0}.switch input{display:none}.switch span{position:absolute;inset:0;background:#cbd5dc;border-radius:999px;cursor:pointer;transition:.18s}.switch span:before{content:"";position:absolute;width:28px;height:28px;left:4px;top:4px;background:#fff;border-radius:50%;box-shadow:0 2px 6px rgba(0,0,0,.18);transition:.18s}.switch input:checked+span{background:var(--brand)}.switch input:checked+span:before{transform:translateX(28px)}details.card>summary{cursor:pointer;font-weight:900;font-size:1.25rem;list-style:none}details.card>summary::-webkit-details-marker{display:none}.admin-edit-grid{display:grid;grid-template-columns:1.2fr .8fr .8fr .6fr auto;gap:8px;align-items:end}.admin-edit-grid.bring{grid-template-columns:1.4fr .6fr auto}.admin-edit-grid textarea{min-height:44px}.mini-form{margin:8px 0}.mail-warning{background:#fff8e6;border:1px solid #f1d28c;border-radius:12px;padding:10px;margin-top:10px;color:#6b4a00}@media(max-width:780px){.admin-edit-grid,.admin-edit-grid.bring{grid-template-columns:1fr}.mode-switch{align-items:flex-start}}
.admin-titlebar{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;margin-bottom:16px}.logout-form{margin-top:8px}.inline-link{display:inline-block;width:min(520px,100%);font-size:13px}.small-btn{min-height:32px;padding:6px 10px;border-radius:10px}.admin-tabs button.tab-btn{background:#fff;color:var(--brand);border:1px solid var(--line);border-radius:999px;padding:9px 14px;min-height:38px}.admin-tabs button.tab-btn.active{background:var(--brand);color:#fff}.tab-panel{display:none}.tab-panel.active{display:block}.admin-row{display:flex;justify-content:space-between;align-items:center;gap:12px;border:1px solid var(--line);border-radius:12px;padding:10px;margin:8px 0;background:#fbfdfe}.badge{display:inline-block;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:800}.danger-badge{background:#fdecec;color:#7a1d1d}.forgot-pin{margin-top:18px}.inline-more{display:inline-block;margin-left:4px}.inline-more summary{cursor:pointer;color:var(--brand);font-weight:800}.inline-more span{display:inline-block;background:#eef7fa;border-radius:999px;padding:3px 7px;margin:2px}@media(max-width:780px){.admin-titlebar,.admin-row{display:block}.inline-link{width:100%;margin-top:6px}}

input[type="checkbox"], input[type="radio"]{width:auto;flex:0 0 auto}.poll-options{display:flex;flex-direction:column;align-items:flex-start;gap:8px;margin-top:10px}.poll-options .checkline{justify-content:flex-start;text-align:left;width:auto}.poll-options .checkline span{text-align:left}.poll-results{margin-top:12px;padding:10px;border-radius:12px;background:#eef7fa;border:1px solid #d6e4e9}.grid.three .card{min-width:0}@media print{.tab-panel{display:block!important}.admin-tabs{display:none!important}details.card{display:block}details.card>summary{display:none}}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.footer nav{display:flex;gap:14px;flex-wrap:wrap}.footer a{color:var(--brand);font-weight:700;text-decoration:none}.eyebrow{text-transform:uppercase;letter-spacing:.08em;font-size:13px!important;font-weight:900;margin-bottom:10px!important;color:rgba(255,255,255,.82)!important}.home-hero{background:linear-gradient(135deg,#0f4052 0%,#196077 55%,#e92f3f 140%)}.content-card p{max-width:850px}.steps{padding-left:22px}.steps li{margin:8px 0}.faq details{border:1px solid var(--line);border-radius:14px;background:#fbfdfe;padding:12px 14px;margin:10px 0}.faq summary{cursor:pointer;font-weight:900;color:var(--brand)}.faq p{margin:10px 0 0}.legal-text h2{margin-top:28px}.legal-text p{max-width:860px}.legal-text a{color:var(--brand);font-weight:700}.home-hero .btn{background:#fff;color:var(--brand)}
