@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@500;600;700;800&display=swap');
:root{font-family:'DM Sans',system-ui,-apple-system,'Segoe UI',sans-serif;color:#22314b;background:#f5f7fb;font-synthesis:none}*{box-sizing:border-box}html,body{margin:0;min-height:100%;scroll-behavior:smooth}button,input,select,textarea{font:inherit}button{cursor:pointer}button:disabled{opacity:.48;cursor:not-allowed}a{color:inherit;text-decoration:none}.shell{display:flex;min-height:100vh}.sidebar{width:263px;flex-shrink:0;background:#10213e;color:#e8eff9;padding:31px 19px;position:sticky;top:0;height:100vh;display:flex;flex-direction:column}.brand{display:flex;gap:12px;align-items:center;padding:2px 12px 43px;font-size:22px;font-family:Manrope,sans-serif;font-weight:600;letter-spacing:-.7px}.brand>b{font-weight:800}.brand small{font-family:'DM Sans',sans-serif;display:block;font-size:9px;color:#8fa5c4;letter-spacing:2px;font-weight:800;margin-top:5px}.brand-mark{display:grid;place-items:center;font-size:27px;background:#34c9b2;color:#10213e;border-radius:12px;width:43px;height:43px;font-weight:800}.menu-label{padding:0 17px;color:#6f89ad;font-size:10px;letter-spacing:1.7px;font-weight:800;margin-bottom:13px}.side-nav{display:grid;gap:6px}.nav-item{border:0;color:#b4c4da;background:transparent;width:100%;text-align:left;padding:14px 17px;border-radius:10px;display:flex;align-items:center;gap:15px;font-size:14px;font-weight:700}.nav-item:hover{background:#1b3454}.nav-item.active{background:#214466;color:#fff;box-shadow:inset 3px 0 #4de0c2}.nav-item span{width:18px;text-align:center;font-size:20px;line-height:1}.sidebar-bottom{margin-top:auto;border-top:1px solid #2c4261;padding:23px 5px 3px;display:flex;gap:11px;align-items:center}.sidebar-bottom b{font-size:12px}.sidebar-bottom small{font-size:10px;color:#87a1c2;display:block;margin-top:5px}.user-bubble{width:36px;height:36px;display:grid;place-items:center;border-radius:50%;background:#305575;color:#a7f5e6;font-size:12px;font-weight:800}.workspace{flex:1;min-width:0;display:flex;flex-direction:column}.topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:27px min(3vw,45px) 18px}.eyebrow{color:#7790a9;font-size:10px;font-weight:800;letter-spacing:1.5px;margin:0 0 7px;text-transform:uppercase}.topbar h1{font:800 26px/1.2 Manrope,sans-serif;letter-spacing:-.8px;margin:0;color:#142640}.top-actions{display:flex;align-items:center;gap:15px}.local-chip{white-space:nowrap;font-size:11px;font-weight:800;color:#527288;background:#e9f3f1;padding:10px 13px;border-radius:99px;display:flex;align-items:center;gap:7px}.pulse{display:inline-block;border-radius:50%;width:7px;height:7px;background:#30bd91}.btn{border:1px solid #d9e1e9;background:white;color:#183351;padding:12px 17px;border-radius:11px;font-weight:800;font-size:13px;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.btn:hover{filter:brightness(.96)}.btn-primary{background:#1b9f91;border-color:#1b9f91;color:white;box-shadow:0 5px 12px #199d8f20}.btn-dark{background:#17385b;color:#fff;border-color:#17385b}.btn-danger{color:#b83d44;background:#fff5f6;border-color:#f2cfd1}.btn-ghost{border-color:transparent;background:#f1f5f9}.btn-small{padding:8px 11px;font-size:11px;border-radius:8px}.plus{font-size:20px;line-height:.75;font-weight:500}.content{flex:1;padding:9px min(3vw,45px) 35px;max-width:1600px;width:100%;margin:auto}.workspace-footer{padding:12px 35px 21px;color:#96a6b9;text-align:center;font-size:10px}.hero{border-radius:20px;background:linear-gradient(110deg,#17365b,#102844 62%,#0d555c);color:white;padding:25px 30px;display:flex;justify-content:space-between;gap:24px;align-items:center;position:relative;overflow:hidden;margin-bottom:22px}.hero:after{content:'◈';font-size:180px;position:absolute;right:85px;top:-90px;opacity:.05;pointer-events:none}.hero .tag{color:#83e7d8;font-size:10px;letter-spacing:2px;font-weight:800}.hero h2{font:800 24px Manrope,sans-serif;letter-spacing:-.8px;margin:8px 0}.hero p{font-size:12px;color:#c8dceb;margin:0;max-width:580px;line-height:1.7}.hero .btn{z-index:1}.stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-bottom:24px}.stat{background:white;border:1px solid #e9edf3;border-radius:16px;padding:19px 18px;min-height:129px;box-shadow:0 5px 18px #14284906}.stat-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;font-weight:700;color:#8292a8;gap:8px}.stat-icon{display:grid;place-items:center;background:#e9f5f2;color:#1aa394;border-radius:10px;height:37px;width:37px;font-size:19px}.stat-icon.blue{background:#e8f0ff;color:#4474c2}.stat-icon.red{background:#fff1f0;color:#e46866}.stat-icon.orange{background:#fff3e4;color:#d99a3a}.stat .value{display:block;font:800 27px Manrope,sans-serif;color:#152d4a;letter-spacing:-1px;margin-top:13px}.stat .hint{font-size:11px;color:#94a2b3;margin-top:4px}.section-row{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:14px}.section-row h2{font:800 16px Manrope,sans-serif;color:#162f4a;margin:0}.section-row p{margin:5px 0 0;font-size:12px;color:#8192a7}.section-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.link-btn{border:0;background:transparent;color:#0c9488;font-weight:800;font-size:12px}.split{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(280px,.8fr);gap:19px}.panel{background:white;border:1px solid #e9edf3;border-radius:16px;overflow:hidden;box-shadow:0 6px 20px #14284904}.panel-pad{padding:20px}.panel-title{font:800 15px Manrope,sans-serif;margin:0 0 15px;color:#1b314c}.event-list{display:grid;gap:10px}.event{display:flex;align-items:center;gap:11px;padding:13px;border-radius:12px;border:1px solid #edf1f5;background:#fff;cursor:pointer;text-align:left;width:100%}.event:hover{border-color:#9cd7d1;background:#fbfefd}.event-time{font-size:13px;font-weight:800;color:#24415f;min-width:47px}.event-line{height:32px;width:3px;background:#2cbaaa;border-radius:5px;flex:none}.event.return .event-line{background:#f4a54e}.event.late .event-line{background:#e66b6b}.event-info{flex:1;min-width:0}.event-info b{font-size:12px;color:#223750;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.event-info small{font-size:10px;color:#8192a7;display:block;margin-top:4px}.pill{font-size:10px;font-weight:800;padding:6px 9px;border-radius:99px;white-space:nowrap;display:inline-flex;gap:4px;align-items:center}.pill.available{color:#168875;background:#e2f7f2}.pill.active{color:#2b69b9;background:#e8f2ff}.pill.reserved{color:#986a12;background:#fff2d7}.pill.done{color:#7a8596;background:#edf1f5}.pill.late{color:#bf4349;background:#ffebeb}.pill.maintenance{color:#7b55a4;background:#f1eafb}.pill.canceled{color:#8e96a2;background:#eef0f3}.empty{padding:34px 20px;text-align:center;color:#9aaabb}.empty-icon{width:52px;height:52px;margin:0 auto 13px;border-radius:15px;background:#eef4f7;display:grid;place-items:center;font-size:25px;color:#8da5b8}.empty b{display:block;color:#64778c;font-size:13px;margin-bottom:7px}.empty p{margin:0 auto 15px;max-width:290px;font-size:12px;line-height:1.6}.car-preview{display:flex;align-items:center;gap:13px;padding:12px 0;border-bottom:1px solid #eff2f6}.car-preview:last-child{border-bottom:0}.car-avatar{width:46px;height:46px;border-radius:13px;background:#eaf3f9;display:grid;place-items:center;color:#3a749c;font-size:23px;flex-shrink:0}.car-preview .details{flex:1;min-width:0}.car-preview b{font-size:12px;display:block}.car-preview small{font-size:11px;color:#8b99a8;display:block;margin-top:5px}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:17px;flex-wrap:wrap}.search{border:1px solid #dfe6ef;border-radius:11px;background:white;display:flex;align-items:center;gap:10px;padding:0 13px;min-height:43px;max-width:360px;flex:1}.search span{color:#91a2b4}.search input{width:100%;outline:0;border:0;background:transparent;font-size:12px;color:#20344e}.summary-note{font-size:11px;color:#8294a7}.table-wrap{overflow-x:auto}.table{width:100%;border-collapse:collapse;min-width:630px}.table th{text-transform:uppercase;font-size:10px;letter-spacing:.8px;text-align:left;color:#9aa9b9;background:#f9fafc;font-weight:800;padding:13px 18px}.table td{padding:15px 18px;border-top:1px solid #eff2f5;font-size:12px;vertical-align:middle}.table td b{font-weight:800}.table td small{display:block;color:#8b98aa;font-size:11px;margin-top:4px}.table tbody tr:hover{background:#fafdfd}.table-actions{display:flex;gap:5px}.table .btn{white-space:nowrap}.week-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:17px}.week-arrows{display:flex;align-items:center;gap:7px}.date-span{color:#142f4e;font-weight:800;font-size:14px;margin:0 5px}.week-grid{display:grid;grid-template-columns:repeat(7,minmax(145px,1fr));gap:9px;min-width:1035px}.week-viewport{overflow-x:auto;padding-bottom:8px}.day{background:#fff;border:1px solid #e8edf3;border-radius:13px;padding:11px;min-height:300px}.day.today{border-color:#4ec8b9;background:#f9fffd}.day-header{display:flex;align-items:center;justify-content:space-between;gap:4px;padding:3px 3px 13px;border-bottom:1px solid #edf1f4;margin-bottom:10px}.day-header span{font-size:11px;font-weight:800;color:#6e849d}.day-header b{font:800 17px Manrope,sans-serif;color:#263c54}.day.today .day-header b{background:#1b9f91;color:#fff;border-radius:50%;width:29px;height:29px;display:grid;place-items:center}.week-event{width:100%;border:0;border-left:3px solid #359ed1;background:#eaf4ff;text-align:left;border-radius:7px;margin-bottom:8px;padding:10px 8px;display:block;color:#264b77}.week-event.return{border-color:#e3a04c;background:#fff5e8;color:#875620}.week-event.late{border-color:#e56c6c;background:#ffefef;color:#ac4448}.week-event:hover{filter:brightness(.97)}.week-event strong{font-size:11px;display:block;margin-bottom:5px}.week-event small{display:block;line-height:1.35;font-size:10px}.no-day-event{color:#c5cfda;font-size:11px;text-align:center;padding-top:25px}.week-filter{display:flex;gap:7px;align-items:center}.select{border:1px solid #dfe6ef;padding:10px;border-radius:9px;background:#fff;color:#38516c;min-width:135px;font-size:12px;max-width:230px}.tips{background:#edf7f6;border:1px solid #d5ece9;border-radius:13px;color:#527476;padding:14px 16px;font-size:11px;line-height:1.6;margin-bottom:19px}.notice{background:#fff5e6;border:1px solid #f4dfba;border-radius:13px;padding:14px 16px;color:#966324;font-size:12px;margin-bottom:18px}.cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(245px,1fr));gap:14px}.vehicle-card{background:#fff;border:1px solid #e6edf3;border-radius:15px;padding:16px;box-shadow:0 4px 14px #17284204}.vehicle-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:15px}.vehicle-symbol{height:53px;width:59px;background:#eaf4f7;border-radius:13px;display:grid;place-items:center;color:#306c91;font-size:27px}.vehicle-card h3{font:800 15px Manrope,sans-serif;letter-spacing:-.3px;margin:0 0 5px}.vehicle-card p{margin:0;font-size:11px;color:#8b9aac}.vehicle-data{display:flex;justify-content:space-between;gap:10px;margin:17px 0;border-top:1px solid #eff2f5;padding-top:15px}.vehicle-data small{display:block;font-size:10px;color:#91a0b0}.vehicle-data b{display:block;font-size:14px;margin-top:5px}.vehicle-card .btn{width:100%}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px}.field{display:flex;flex-direction:column;gap:6px;min-width:0}.field.full{grid-column:1/-1}.field label{font-size:11px;color:#4d647a;font-weight:800}.field input,.field select,.field textarea{width:100%;min-width:0;outline:none;border:1px solid #dbe3ec;background:#fff;border-radius:9px;padding:12px;color:#1b3754;font-size:13px}.field textarea{resize:vertical;min-height:75px}.field input:focus,.field select:focus,.field textarea:focus{border-color:#2aac9a;box-shadow:0 0 0 3px #3cc1ad1a}.field .help{font-size:10px;color:#8798aa;line-height:1.5}.error{display:none;color:#a9323d;background:#fff1f0;border:1px solid #ffd4d0;padding:10px 12px;border-radius:9px;font-size:12px;margin-bottom:12px}.error.visible{display:block}.modal-backdrop{position:fixed;inset:0;background:#0a1839a9;display:grid;place-items:center;padding:15px;z-index:100;backdrop-filter:blur(3px)}.modal{background:#fff;width:min(100%,560px);max-height:calc(100dvh - 30px);overflow:auto;border-radius:19px;box-shadow:0 26px 70px #081b3533}.modal-head{padding:23px 23px 17px;border-bottom:1px solid #edf1f5;display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.modal-head h2{font:800 19px Manrope,sans-serif;margin:0}.modal-head p{font-size:11px;color:#8999ac;line-height:1.5;margin:6px 0 0}.x-btn{background:#f3f6f9;border:0;color:#5b7086;border-radius:9px;padding:8px 11px;font-size:17px}.modal-body{padding:20px 23px}.modal-actions{padding:16px 23px 23px;display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap}.info-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:16px 0}.info-box{background:#f7f9fc;border:1px solid #edf1f6;border-radius:11px;padding:13px}.info-box small{font-size:10px;color:#8294a8;display:block;margin-bottom:6px}.info-box b{font-size:13px}.modal-section{font:800 13px Manrope,sans-serif;margin:16px 0 6px}.toast{position:fixed;bottom:26px;right:26px;background:#193b56;color:#fff;padding:13px 17px;border-radius:10px;font-size:12px;box-shadow:0 10px 24px #0e294441;z-index:130;max-width:350px}.toast.bad{background:#a4434b}.backup-actions{display:flex;gap:9px;flex-wrap:wrap;margin-top:14px}.kbd-help{font-size:11px;color:#8b99aa;margin-top:5px}.invisible-file{position:absolute;left:-9999px}.intro{padding:24px;background:#fff;border:1px solid #e5edf4;border-radius:16px}.intro h2{font:800 18px Manrope,sans-serif;margin-top:0}.intro p{font-size:12px;color:#8294a7;line-height:1.7}.mobile-nav{display:none} @media(max-width:1150px){.stats{grid-template-columns:repeat(2,1fr)}.split{grid-template-columns:1fr}}@media(max-width:770px){body{padding-bottom:69px}.sidebar{display:none}.mobile-nav{position:fixed;bottom:0;left:0;right:0;z-index:45;display:grid;grid-template-columns:repeat(5,1fr);background:#fff;border-top:1px solid #e4ebf2;padding:7px 3px calc(7px + env(safe-area-inset-bottom));box-shadow:0 -6px 20px #112c4410}.mobile-item{background:none;border:0;color:#8b9bab;font-size:9px;font-weight:800;display:grid;gap:3px;justify-items:center;min-width:0}.mobile-item span{font-size:22px;font-weight:500;line-height:1.2}.mobile-item.active{color:#159a8d}.topbar{padding:23px 17px 15px}.topbar h1{font-size:22px}.content{padding:5px 13px 25px}.workspace-footer{padding:9px 14px 15px}.top-actions{gap:6px}.top-actions .local-chip{display:none}.hero{padding:20px;align-items:flex-start;flex-direction:column;gap:13px}.hero h2{font-size:20px}.hero .btn{padding:10px 15px}.stats{gap:9px;margin-bottom:18px}.stat{padding:14px;min-height:115px}.stat-top{font-size:10px}.stat-icon{width:29px;height:29px;font-size:16px}.stat .value{font-size:24px;margin-top:9px}.stat .hint{font-size:10px}.panel-pad{padding:15px}.section-row h2{font-size:14px}.week-viewport{margin-right:-13px}.date-span{font-size:12px}.toolbar{align-items:stretch}.search{max-width:none;flex-basis:100%;order:1}.cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.vehicle-card{padding:12px}.vehicle-symbol{height:42px;width:43px;font-size:20px}.vehicle-card h3{font-size:12px}.vehicle-card .pill{font-size:9px;padding:5px}.vehicle-data b{font-size:11px}.modal-backdrop{padding:0;align-items:end}.modal{width:100%;max-height:93dvh;border-radius:19px 19px 0 0}.modal-head{padding:18px 17px}.modal-body{padding:16px 17px}.modal-actions{padding:14px 17px 23px}.toast{bottom:83px;left:13px;right:13px;text-align:center}.info-grid{gap:8px}.info-box{padding:11px}}@media(max-width:390px){.topbar .new-label{display:none}.topbar .btn-primary{width:42px;padding:12px}.form-grid{gap:10px}.field input,.field select{padding:11px 8px}.cards{grid-template-columns:1fr}}

.settings-btn{border:1px solid #dfe7ef;background:#fff;border-radius:10px;color:#617e96;font-size:19px;width:43px;height:43px;display:grid;place-items:center;flex-shrink:0}.settings-btn:hover{background:#f0f6f7}

/* Acesso rápido ao tutorial no painel inicial. */
.hero-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;position:relative;z-index:1}
.hero-actions .btn{white-space:nowrap}
.hero-actions .btn-tutorial{background:rgba(255,255,255,.12);color:#fff;border:1px solid rgba(255,255,255,.38)}
.hero-actions .btn-tutorial:hover,.hero-actions .btn-tutorial:focus-visible{background:rgba(255,255,255,.23)}
@media(max-width:700px){.hero-actions{width:100%;justify-content:flex-start}.hero-actions .btn{flex:1 1 auto;min-height:42px}}

/* Link de contato: abre a conversa do cliente no WhatsApp. */
.whatsapp-link{display:inline-flex;align-items:center;gap:5px;color:#0b947c;font-weight:800;text-decoration:none;border-radius:7px;padding:7px 3px;min-height:36px;white-space:nowrap}
.whatsapp-link:hover,.whatsapp-link:focus-visible{color:#076655;text-decoration:underline;background:#e7f8f3;outline-offset:2px}
.whatsapp-link span{font-size:14px}

/* Seletor pesquisável de marcas e logos PNG da biblioteca local */
.mf-brand-field{gap:8px}
.mf-brand-field #f-brand-search,.mf-brand-field #f-brand,.mf-other-brand input{
 background:var(--mf-input,#fff);color:var(--mf-text,#1b3754);
 width:100%;min-width:0;border:1px solid var(--mf-border,#dbe3ec);border-radius:10px;
 padding:12px;font-size:13px;outline:none
}
.mf-brand-field #f-brand-search:focus,.mf-brand-field #f-brand:focus,.mf-other-brand input:focus{
 border-color:var(--mf-primary,#1b9f91);box-shadow:0 0 0 3px var(--mf-focus,#3cc1ad1a)
}
.mf-other-brand{display:grid;gap:6px;min-width:0}
.mf-other-brand[hidden]{display:none}
.mf-brand-field .help{color:var(--mf-muted,#8798aa)}
.vehicle-symbol{overflow:hidden;flex-shrink:0;position:relative}
.vehicle-symbol .mf-brand-logo{width:82%;height:82%;max-width:100%;max-height:100%;object-fit:contain;display:block;margin:auto}
.vehicle-symbol .mf-brand-logo[hidden]{display:none}
.vehicle-symbol .mf-brand-fallback[hidden]{display:none}
.vehicle-symbol .mf-brand-fallback{display:grid;place-items:center;width:100%;height:100%}
@media(max-width:770px){.mf-brand-field #f-brand-search,.mf-brand-field #f-brand,.mf-other-brand input{min-height:44px;font-size:16px}}
