:root{font-family:Inter,system-ui,-apple-system,Segoe UI,sans-serif;color:#111827;background:#f3f4f6}*{box-sizing:border-box}body{margin:0}header{background:#111827;color:white;padding:12px max(16px,calc((100% - 1180px)/2));display:flex;align-items:center;justify-content:space-between;position:sticky;top:0;z-index:5}header span{margin-left:12px;color:#9ca3af;font-size:.88rem}main{max-width:1180px;margin:auto;padding:16px}.hidden{display:none!important}button{border:0;border-radius:9px;background:#2563eb;color:white;padding:11px 15px;font-weight:700;cursor:pointer;min-height:44px}.secondary{background:#e5e7eb;color:#111827}.ghost{background:transparent;color:inherit;border:1px solid #d1d5db}.panel{background:white;border:1px solid #e5e7eb;border-radius:14px;padding:18px;margin:14px 0}.narrow{max-width:460px;margin:60px auto}.stack{display:grid;gap:14px}label{font-size:.86rem;font-weight:700;color:#374151;display:grid;gap:6px}input,select,textarea{width:100%;font:inherit;font-size:16px;border:1px solid #cbd5e1;border-radius:9px;padding:10px 11px;background:white;color:#111827}.check{display:flex;gap:9px;align-items:center;min-height:44px}.check input{width:auto}#tabs{display:flex;gap:7px;overflow:auto;padding:4px 0 10px}#tabs button{background:#e5e7eb;color:#374151;white-space:nowrap}#tabs button.active{background:#111827;color:white}.tab{display:none}.tab.active{display:block}.hero,.sectionHead{display:flex;justify-content:space-between;align-items:center;gap:14px}.hero h1,.sectionHead h1{margin-bottom:4px}.hero p,.sectionHead p{margin-top:0;color:#6b7280}.stats{display:grid;grid-template-columns:repeat(5,1fr);gap:12px}.stats article{background:white;border:1px solid #e5e7eb;border-radius:13px;padding:16px}.stats span{display:block;color:#6b7280;font-size:.82rem}.stats strong{display:block;font-size:1.5rem;margin-top:5px}.stats .danger strong{color:#b91c1c}.stats .warning strong{color:#92400e}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:12px}.grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gridForm{display:grid;grid-template-columns:repeat(6,1fr);align-items:end;gap:10px}.lineBox{border:1px dashed #94a3b8;padding:12px;border-radius:12px;background:#f8fafc}.actions{display:flex;gap:10px;flex-wrap:wrap}.list{display:grid;gap:9px}.row{background:white;border:1px solid #e5e7eb;border-radius:12px;padding:13px 15px;display:flex;align-items:center;justify-content:space-between;gap:14px}.row .meta{color:#6b7280;font-size:.86rem}.money{font-variant-numeric:tabular-nums;font-weight:800}.pill{display:inline-block;padding:3px 8px;border-radius:999px;background:#e5e7eb;font-size:.76rem;font-weight:800;text-transform:uppercase}.linePreview{display:flex;justify-content:space-between;gap:10px;padding:9px 2px;border-bottom:1px solid #e5e7eb}.testRow{display:flex;gap:10px}.actionStatus{min-height:1.35em;color:#475569;font-size:.9rem;font-weight:650}button:disabled{opacity:.65;cursor:wait}#flash{min-height:0;margin:8px 0}.flash{padding:10px 12px;border-radius:9px;background:#dcfce7;color:#166534}.flash.error{background:#fee2e2;color:#991b1b}h1{font-size:1.7rem}h2{font-size:1.05rem;margin:10px 0 0}@media(max-width:850px){.stats{grid-template-columns:1fr 1fr}.gridForm{grid-template-columns:1fr 1fr 1fr}.grid3{grid-template-columns:1fr 1fr}.hero,.sectionHead{align-items:flex-start}.hero{flex-direction:column}}@media(max-width:560px){main{padding:12px}.stats,.grid2,.grid3,.gridForm{grid-template-columns:1fr}.row{align-items:flex-start;flex-direction:column}.actions button{flex:1 1 100%}.hero button,.sectionHead button{width:100%}.sectionHead{flex-direction:column}.testRow{flex-direction:column}h1{font-size:1.45rem}}
.brandingEditor{display:grid;grid-template-columns:minmax(240px,.8fr) minmax(300px,1.2fr);gap:18px;align-items:start}.logoPane{display:grid;gap:10px}.logoPreview{min-height:140px;border:1px dashed #94a3b8;border-radius:12px;background:#f8fafc;display:flex;align-items:center;justify-content:center;padding:16px;color:#64748b;text-align:center}.logoPreview img{display:block;max-width:100%;max-height:120px;object-fit:contain}.securityNote{padding:12px 14px;border:1px solid #bfdbfe;background:#eff6ff;border-radius:10px;color:#1e3a5f;font-size:.88rem;line-height:1.5}input[type=color]{min-height:44px;padding:5px}@media(max-width:700px){.brandingEditor{grid-template-columns:1fr}}
