@import url('../style.css');
:root{--red:#cf292c;--ink:#202225;--muted:#74777d;--line:#e5e6e8;--paper:#f5f6f8}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.5 system-ui,-apple-system,Segoe UI,sans-serif}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{opacity:.5;cursor:wait}button:focus-visible,a:focus-visible{outline:3px solid #d79946;outline-offset:3px}input:focus,textarea:focus,select:focus{outline:2px solid #cf292c44;border-color:var(--red)}.sidebar{position:fixed;inset:0 auto 0 0;width:234px;background:#191b1f;color:#fff;padding:36px 24px;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;line-height:1.2;font-size:16px;letter-spacing:1px}.brand-symbol{font-size:45px;font-weight:950;font-style:italic;color:#fff}.brand-symbol span{color:var(--red)}.nav-caption{font-size:10px;color:#96999f;letter-spacing:1.6px;margin:48px 12px 16px}nav{display:grid;gap:9px}nav button,.sidebar-bottom button{border:0;text-align:left;background:transparent;color:#c7c9ce;padding:15px 12px;border-radius:8px}nav button.active{background:var(--red);color:#fff;font-weight:700}nav button span{font-size:11px;opacity:.6;margin-right:10px}.sidebar-bottom{margin-top:auto;display:grid}.sidebar-bottom p{border-top:1px solid #34363b;padding-top:22px;font-size:12px;color:#8f9298}.workspace{margin-left:234px;padding:0 42px;max-width:1600px}.topbar{height:75px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:10px;letter-spacing:1px;color:var(--muted)}.private-badge{color:#507565}.hero{display:flex;align-items:center;justify-content:space-between;height:244px;overflow:hidden}.hero img{width:208px;height:208px;object-fit:cover;border-radius:50%;border:7px solid #e9e9eb;transform:rotate(3deg)}.eyebrow{font-size:10px;font-weight:800;letter-spacing:2px;color:var(--red)}h1{font-size:35px;line-height:1.15;letter-spacing:-1.3px;margin:12px 0}h2{font-size:21px;margin:0}h3{font-size:15px;margin:0}.hero p:last-child,.work-heading p{color:var(--muted)}.work-heading{display:flex;align-items:center;justify-content:space-between;margin:0 0 22px}.work-heading p{margin:4px 0;font-size:12px}.card{padding:25px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:18px;box-shadow:0 2px 3px #17203303}.section-title{display:flex;align-items:center;gap:10px;margin-bottom:22px}.section-title>span{background:#fcecee;color:var(--red);font-weight:800;font-size:11px;border-radius:6px;padding:6px 8px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:14px}.wide{grid-column:span 2}label{display:block;font-size:12px;font-weight:600;color:#555a61}input,textarea,select{display:block;width:100%;border:1px solid #dfe1e5;background:#fff;padding:11px 12px;border-radius:6px;margin-top:7px;color:#252830;font-weight:400}textarea{resize:vertical}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;color:var(--ink);border:1px solid #dddfe3;border-radius:7px;padding:10px 15px;text-decoration:none;font-size:12px;font-weight:650}.button:hover{filter:brightness(.96)}.primary{background:var(--red);color:white;border-color:var(--red)}.whatsapp{background:#e8f5ee;color:#237044;border-color:#cde5d7}.item-row{display:grid;grid-template-columns:minmax(150px,1fr) 84px 125px 104px 34px;align-items:center;gap:10px;padding:10px 0;border-bottom:1px solid var(--line)}.item-row input{margin:0}.item-row .remove{border:0;background:#fff0f0;color:var(--red);border-radius:4px;height:32px}.item-header{color:var(--muted);font-size:11px;padding-top:0}.item-total{font-weight:700;text-align:right;font-size:13px}.totals{display:flex;justify-content:flex-end;gap:32px;padding-top:20px}.totals small{display:block;color:var(--muted);font-size:10px;letter-spacing:1px}.totals strong{font-size:22px}.totals .grand{color:var(--red)}.actionbar{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:18px 0;flex-wrap:wrap}.actionbar>div{display:flex;gap:8px;flex-wrap:wrap}#saveState{font-size:11px;color:var(--muted)}.app-footer{text-align:center;font-size:12px;color:#898c91;padding:32px 0 40px}.check-layout{display:grid;grid-template-columns:230px 1fr;gap:25px}.car-view{background:#f5f6f8;border-radius:9px;padding:15px;text-align:center}.car-view svg{width:100%;height:285px;cursor:crosshair}.car-view p{font-size:11px;color:var(--muted)}.checks{display:grid;grid-template-columns:1fr 1fr;gap:15px}.mark-row{display:flex;gap:10px;align-items:center;border-bottom:1px solid var(--line);padding:10px 0}.mark-row input{margin:0}.hint{color:var(--muted);font-size:12px}dialog{border:0;border-radius:14px;max-width:900px;width:calc(100% - 28px);max-height:90vh;padding:25px;box-shadow:0 30px 100px #0004}dialog::backdrop{background:#17191eb0}.modal-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:20px}#modalBody iframe{width:100%;height:68vh;border:1px solid var(--line)}#toast{position:fixed;bottom:20px;left:50%;transform:translateX(-50%);background:#202225;color:white;padding:13px 22px;border-radius:8px;z-index:100;display:none;max-width:90vw}.history-row{display:flex;gap:10px;align-items:center;padding:15px 0;border-bottom:1px solid var(--line)}.history-row>div{flex:1}.history-row small{display:block;color:var(--muted)}.login-card{max-width:500px;margin:8vh auto;padding:30px;text-align:center}.login-card img{width:150px;border-radius:50%}.login-card .button{margin-top:20px}.check-confirm{display:flex;align-items:center;gap:10px}.check-confirm input{width:auto;margin:0}
@media(min-width:1600px){.workspace{margin-right:auto}}@media(max-width:1100px){.workspace{padding:0 22px;margin-left:205px}.sidebar{width:205px;padding:30px 15px}.hero img{width:165px;height:165px}h1{font-size:30px}.item-row{grid-template-columns:minmax(120px,1fr) 64px 98px 85px 30px;gap:6px}.card{padding:20px}.actionbar>div{width:100%}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:16px;display:block}.brand{font-size:12px}.brand-symbol{font-size:28px}.nav-caption,.sidebar-bottom p{display:none}nav{display:flex;gap:5px;margin-top:16px}nav button{flex:1;text-align:center;padding:10px 5px;font-size:11px}nav button span{display:none}.sidebar-bottom{display:flex;margin-top:6px}.sidebar-bottom button{font-size:11px;padding:7px 10px}.workspace{margin:0;padding:0 15px}.topbar{height:48px;font-size:9px}.hero{height:184px;gap:10px}.hero img{width:100px;height:100px;border-width:4px}.hero h1{font-size:25px}.hero p:last-child{font-size:11px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.wide{grid-column:span 2}.card{padding:17px}.work-heading h2{font-size:18px}.work-heading .button{font-size:10px;padding:9px}.item-header{display:none}.item-row{grid-template-columns:1fr 1fr 1fr 30px;gap:8px;padding:15px 0}.item-row input:first-child{grid-column:1/-1}.item-total{font-size:11px}.totals{gap:18px;flex-wrap:wrap}.totals strong{font-size:19px}.check-layout{grid-template-columns:1fr}.car-view svg{height:245px}.actionbar .button{flex:1;white-space:nowrap}.checks{gap:12px}dialog{padding:18px}.history-row{flex-wrap:wrap}}

@media(min-width:783px){body.admin-bar .sidebar{top:32px}}
