*{box-sizing:border-box}html{font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#172230;background:#f4f7f9}body{margin:0}a{color:inherit}input,select,textarea,button{font:inherit}input,select,textarea{width:100%;padding:11px 12px;border:1px solid #d7dfe5;border-radius:10px;background:#fff;color:#172230;outline:none}input:focus,select:focus,textarea:focus{border-color:var(--brand,#19324d);box-shadow:0 0 0 3px color-mix(in srgb,var(--brand,#19324d) 12%,transparent)}textarea{resize:vertical}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:650}label small{font-weight:400;color:#71808d}.topbar{min-height:120px;background:#fff;border-bottom:1px solid #e1e7eb;display:flex;align-items:center;justify-content:space-between;padding:0 max(20px,calc((100vw - 1180px)/2));position:sticky;top:0;z-index:10}.brand{display:flex;gap:10px;align-items:center;text-decoration:none;font-weight:850;font-size:22px;color:var(--brand);min-width:0}.brand img{display:block;width:auto;max-width:400px;height:100px;max-height:100px;object-fit:contain;object-position:left center}.topbar nav{display:flex;gap:18px;align-items:center;font-size:14px}.topbar nav a{text-decoration:none}.topbar .user{color:#71808d}.shell{max-width:1180px;margin:0 auto;padding:30px 20px 80px}.pagehead{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:22px}.pagehead h1{margin:0;font-size:30px}.pagehead p{margin:6px 0 0}.muted{color:#71808d}.btn{display:inline-flex;align-items:center;justify-content:center;border:1px solid #ccd6de;background:#fff;color:#243443;border-radius:10px;padding:10px 14px;text-decoration:none;font-weight:750;cursor:pointer}.btn:hover{filter:brightness(.98)}.btn.primary{background:var(--brand,#19324d);border-color:var(--brand,#19324d);color:#fff}.btn.ghost{background:transparent}.btn.big{padding:12px 18px}.btn.small{padding:7px 10px;font-size:13px}.actions{display:flex;gap:8px;flex-wrap:wrap}.quick{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-bottom:18px}.quick-card{background:#fff;border:1px solid #e0e6eb;border-radius:14px;padding:18px;text-decoration:none;display:flex;flex-direction:column;gap:3px}.quick-card strong{font-size:27px;color:var(--brand)}.quick-card span{color:#657481;font-size:14px}.searchbar{display:flex;gap:8px;margin:0 0 16px}.searchbar input{flex:1}.tablewrap{background:#fff;border:1px solid #e0e6eb;border-radius:14px;overflow:auto}table{width:100%;border-collapse:collapse}th,td{text-align:left;padding:14px 16px;border-bottom:1px solid #edf0f2}th{font-size:12px;text-transform:uppercase;letter-spacing:.04em;color:#73808b;background:#fbfcfd}td small{display:block;color:#83909a;margin-top:3px}.empty{text-align:center;color:#7e8b95;padding:36px}.badge{display:inline-flex;align-items:center;padding:6px 9px;border-radius:999px;font-size:12px;font-weight:800;background:#e9eef2;color:#33485b}.badge.big{font-size:15px;padding:8px 13px}.badge.green{background:#def6e7;color:#176238}.badge.red{background:#fee5e5;color:#9d2727}.badge.amber{background:#fff0cf;color:#8a5b00}.badge.blue{background:#e1efff;color:#175a9b}.badge.gray{background:#edf0f2;color:#596774}.badge.navy{background:#e8eef4;color:#233e59}.card{background:#fff;border:1px solid #e0e6eb;border-radius:14px;padding:20px;margin-bottom:16px}.card h2{margin:0 0 16px;font-size:18px}.formgrid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:14px}.formgrid label:has(textarea){grid-column:span 1}.repair-form section>label{margin-top:12px}.sticky-save{position:sticky;bottom:14px;display:flex;justify-content:flex-end;margin:18px 0;z-index:5}.sticky-save .btn{box-shadow:0 8px 22px #0002}.quote-state{margin-top:10px;padding:10px 12px;background:#f6f8fa;border-radius:10px}.photos{display:grid;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:12px;margin-top:16px}.photo{border:1px solid #e1e7eb;border-radius:12px;overflow:hidden;background:#fafbfc}.photo img,.public-photos img{width:100%;height:150px;object-fit:cover;display:block}.photo>div{padding:9px;font-size:12px}.photo span{display:block;color:#677783;margin-bottom:5px}.photo form{display:flex;gap:9px;flex-wrap:wrap}.linkbtn{border:0;background:none;padding:0;color:#275f91;text-decoration:underline;cursor:pointer;font-size:12px}.linkbtn.danger{color:#a02b2b}.timeline>div{display:flex;gap:12px;position:relative;padding:0 0 18px}.timeline>div>span{width:10px;height:10px;border-radius:50%;background:var(--brand);margin-top:5px;flex:0 0 auto}.timeline p{margin:0}.timeline small{display:block;color:#7d8992;margin-top:3px}.toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.toggle{display:flex;flex-direction:row;align-items:center;gap:10px;padding:11px 12px;border:1px solid #e1e7eb;border-radius:10px;background:#fafbfc}.toggle input{width:18px;height:18px}.flash{padding:12px 14px;border-radius:10px;margin-bottom:16px;background:#e3f6e9;color:#225c35}.flash.error{background:#fee7e7;color:#922828}.appfoot{text-align:center;color:#a0a8ae;font-size:12px;padding:18px}.login,.setup{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:25px;background:linear-gradient(160deg,#edf2f5,#f8fafb)}.login-card,.setup-card{width:min(440px,100%);background:#fff;border:1px solid #e0e6eb;border-radius:18px;padding:28px;box-shadow:0 20px 60px #1c324312}.setup-card{width:min(780px,100%)}.login-card h1,.setup-card h1{margin:12px 0 4px}.login-card>p{color:#74828d;margin-top:0}.login-card form{display:grid;gap:13px;margin-top:22px}.monster{width:48px;height:48px;border-radius:14px;background:#19324d;color:#fff;display:grid;place-items:center;font-weight:900;letter-spacing:-1px}.setup-head{display:flex;gap:16px;align-items:center}.setup-head h1{margin:0}.setup-head p{margin:4px 0 0;color:#74828d}.setup-card section{margin:24px 0}.setup-card h2{font-size:17px}.grid2{display:grid;grid-template-columns:1fr 1fr;gap:13px}.public{background:#eef2f5}.public-shell{width:min(680px,100%);margin:0 auto;padding:20px}.public-brand{display:flex;gap:12px;align-items:center;padding:10px 2px 20px}.public-brand img{display:block;width:130px;max-width:130px;height:64px;max-height:64px;object-fit:contain;object-position:left center;background:#fff;border-radius:12px;padding:4px}.public-brand strong,.public-brand span{display:block}.public-brand span{font-size:13px;color:#6f7d88}.public-hero{background:var(--brand);color:#fff;border-radius:20px;padding:26px;margin-bottom:14px}.public-hero p{margin:0 0 4px;opacity:.76}.public-hero h1{margin:0 0 18px;font-size:29px}.public-hero .badge{background:#fff;color:#20384d}.expected{margin-top:18px;font-size:14px}.public-card{background:#fff;border-radius:16px;padding:20px;margin-bottom:14px;border:1px solid #e0e6eb}.public-card h2{margin:0 0 14px;font-size:18px}.quote .price{font-size:34px;font-weight:900;color:var(--brand)}.decision{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.decision-ok{background:#e0f6e7;color:#1f6438;padding:12px;border-radius:10px}.decision-no{background:#fee7e7;color:#922828;padding:12px;border-radius:10px}.public-footer{text-align:center;color:#73808a;padding:14px 8px 28px;font-size:13px;display:flex;flex-direction:column;gap:4px}.public-footer small{margin-top:10px;color:#9aa4ab}.receipt{background:#dfe5e9}.receipt-actions{max-width:860px;margin:16px auto;display:flex;gap:8px}.receipt-sheet{width:210mm;min-height:297mm;margin:0 auto 30px;background:#fff;padding:18mm;box-shadow:0 8px 40px #0002}.receipt-sheet header{display:grid;grid-template-columns:auto 1fr auto;gap:14px;align-items:center;border-bottom:3px solid var(--brand);padding-bottom:16px}.receipt-logo{display:block;width:150px;max-width:150px;height:70px;max-height:70px;object-fit:contain;object-position:left center}.receipt-sheet h1{margin:0}.receipt-sheet header p{margin:4px 0 0;color:#697985}.receipt-no{text-align:right;display:flex;flex-direction:column}.receipt-no strong{font-size:21px}.receipt-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.receipt-sheet section{padding:14px 0;border-bottom:1px solid #e4e8eb}.receipt-sheet h2{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:#71808b;margin:0 0 7px}.receipt-sheet p{margin:0;line-height:1.5}.receipt-price{font-size:22px;font-weight:850}.receipt-track{display:grid;grid-template-columns:1fr 150px;gap:20px;align-items:center}.receipt-track small{display:block;margin-top:6px;color:#79868f;word-break:break-all}.receipt-terms{font-size:11px;color:#667580}.receipt-sheet>footer{text-align:center;padding-top:18px;color:#8b969e;font-size:11px}@media print{.receipt-actions{display:none}.receipt{background:#fff}.receipt-sheet{box-shadow:none;margin:0;padding:12mm;width:auto;min-height:auto}}@media(max-width:760px){.topbar{padding:0 14px}.topbar .user{display:none}.topbar nav{gap:10px}.shell{padding:20px 13px 70px}.pagehead{align-items:stretch;flex-direction:column}.actions{width:100%}.actions .btn{flex:1}.quick{grid-template-columns:1fr 1fr}.formgrid,.grid2,.toggle-grid{grid-template-columns:1fr}.searchbar{flex-wrap:wrap}.searchbar input{flex-basis:100%}.tablewrap table{min-width:720px}.receipt-sheet{width:100%;min-height:0;padding:18px}.receipt-actions{padding:0 12px}.receipt-grid{grid-template-columns:1fr}.receipt-track{grid-template-columns:1fr}.public-shell{padding:12px}}

.topgap{margin-top:14px}.hint{font-size:12px;color:#7a8791;margin:12px 0 0}.inline-form{display:inline-flex;margin:0}.btn.attention{border-color:#e4bb62;background:#fff7df;color:#76520b}.danger-btn{color:#9f2f2f;border-color:#efcaca}.inline-check{display:flex;flex-direction:row;align-items:center;gap:8px;font-weight:500}.inline-check input{width:18px;height:18px}.inline-check.boxed{align-self:end;min-height:44px;padding:10px 12px;border:1px solid #e1e7eb;border-radius:10px;background:#fafbfc}.logo-preview{width:100%;height:104px;display:flex;align-items:center;gap:10px;padding:7px 9px;border:1px solid #e5eaee;border-radius:10px;background:#fafbfc;overflow:hidden}.logo-preview img{display:block;width:auto;max-width:240px;height:86px;max-height:86px;object-fit:contain;object-position:left center;flex:0 0 auto}.logo-preview small{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.advanced-card{padding:0;overflow:hidden;margin-top:16px}.advanced-card summary{list-style:none;cursor:pointer;padding:18px 20px;display:flex;align-items:center;justify-content:space-between}.advanced-card summary::-webkit-details-marker{display:none}.advanced-card summary:after{content:'+';font-size:23px;color:#72808b}.advanced-card[open] summary:after{content:'−'}.advanced-card summary span{display:flex;flex-direction:column;gap:4px}.advanced-card summary small{color:#71808d;font-weight:400}.details-body{border-top:1px solid #e6ebef;padding:20px}.custom-list{display:grid;gap:8px;margin-bottom:20px}.custom-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:11px 12px;border:1px solid #e1e7eb;border-radius:10px;background:#fafbfc}.custom-row>div{display:flex;flex-direction:column;gap:3px}.custom-row small{color:#75838e}.custom-row.is-off{opacity:.58}.custom-add{border-top:1px solid #e7ecef;padding-top:18px}.custom-add h3{margin:0 0 14px}.toggle-grid.compact{margin:12px 0}.custom-inline{min-height:44px;align-self:end}.public-details{margin:0}.public-details>div{display:grid;grid-template-columns:minmax(120px,1fr) 2fr;gap:16px;padding:10px 0;border-bottom:1px solid #edf0f2}.public-details>div:last-child{border-bottom:0}.public-details dt{font-weight:750;color:#536471}.public-details dd{margin:0}.receipt-custom{display:grid;grid-template-columns:1fr 1fr;gap:6px 18px}.receipt-custom p{margin:0}.settings-note{font-size:13px;color:#71808d}
@media(max-width:760px){.brand img{width:auto;max-width:220px;height:64px;max-height:64px}.topbar{min-height:84px}.public-brand img{width:104px;height:54px}.custom-row{align-items:flex-start;flex-direction:column}.custom-row .actions{width:100%}.public-details>div{grid-template-columns:1fr;gap:3px}.receipt-custom{grid-template-columns:1fr}.receipt-logo{width:120px;height:58px}.phone-input{grid-template-columns:1fr}}
.phone-input{display:grid;grid-template-columns:minmax(165px,.85fr) minmax(0,1.15fr);gap:8px}.phone-input select,.phone-input input{min-width:0}.btn.whatsapp{background:#1f8f4e;border-color:#1f8f4e;color:#fff}.btn.whatsapp:hover{filter:brightness(.96)}.login-links{margin-top:16px;text-align:center;font-size:14px}.login-links a{color:#315f82}.login-card .hint{text-align:center;line-height:1.45}
@media(max-width:760px){.phone-input{grid-template-columns:1fr}}

.favicon-preview{width:64px;height:64px;display:grid;place-items:center;padding:6px;border:1px solid #e5eaee;border-radius:12px;background:#fafbfc}.favicon-preview img{display:block;width:48px;height:48px;object-fit:contain}.danger-zone{border-color:#efd0d0}.danger-zone summary strong{color:#8c2f2f}.wa-template-help{margin-top:16px;padding:12px 14px;border-radius:10px;background:#f6f8fa;display:flex;flex-direction:column;gap:6px}.wa-template-help code{white-space:normal;color:#435564;font-size:12px}
