:root{color-scheme:dark;--bg:#080e14;--panel:#101923;--panel2:#121e29;--line:#253443;--ink:#f1f5f8;--muted:#8094a5;--red:#f64359;--cyan:#71ecf2;--green:#57dca8;--amber:#f4bb66}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;min-height:100vh;background:#060b10;color:var(--ink);font:500 13px/1.45 system-ui,-apple-system,Roboto,Arial,sans-serif;-webkit-font-smoothing:antialiased}button,input,select,textarea{font:inherit}button{cursor:pointer;-webkit-tap-highlight-color:transparent}button:disabled{opacity:.5}input,textarea,select{outline:none}
#ambient{pointer-events:none;position:fixed;inset:0;background:radial-gradient(ellipse 90% 80% at 88% -12%,#1c3b4933,transparent 67%),radial-gradient(ellipse 120% 100% at -35% 64%,#63202b17,transparent 70%);z-index:0}
.app-frame{position:relative;max-width:520px;min-height:100dvh;margin:auto;overflow:hidden;background:linear-gradient(175deg,#0a1119,#080e14 42%,#090f16);border-left:1px solid #1d2e391f;border-right:1px solid #1d2e391f;box-shadow:0 0 95px #0008}.app-frame:before{position:absolute;content:"";inset:0;pointer-events:none;background-image:linear-gradient(#ffffff05 1px,transparent 1px),linear-gradient(90deg,#ffffff05 1px,transparent 1px);background-size:31px 31px;mask-image:linear-gradient(to bottom,#0001,transparent 46%)}
.app-header{height:81px;padding:15px 20px;position:sticky;top:0;display:flex;align-items:center;justify-content:space-between;background:#0a1119f0;border-bottom:1px solid #1e2b34;z-index:20;backdrop-filter:blur(18px)}.brand-group{display:flex;align-items:center;gap:11px}.brand-icon{width:43px;height:43px;border:1px solid #ff6273aa;background:linear-gradient(150deg,#f54b5e,#c91e37);clip-path:polygon(0 0,87% 0,100% 13%,100% 100%,13% 100%,0 87%);display:grid;place-items:center;box-shadow:0 0 22px #f643594a;position:relative}.brand-icon span{font-size:22px;font-style:italic;font-weight:950;letter-spacing:-3px;margin-right:3px;text-shadow:1px 2px #9a142c}.brand-icon i{position:absolute;top:7px;width:23px;border-top:2px solid #fff9;border-radius:100%;transform:rotate(-12deg)}.brand-text{display:flex;flex-direction:column;gap:3px}.brand-text strong{font-size:17px;line-height:1;font-weight:900;letter-spacing:-.06em}.brand-text strong span{color:var(--red);margin-left:2px}.brand-text small{font-size:8px;color:#6f8496;font-weight:850;letter-spacing:.16em}.top-notification{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:#13202b;border:1px solid #293d4b;color:#a7c1d1;position:relative}.notif-dot{width:7px;height:7px;position:absolute;border-radius:50%;background:#f64c5d;right:8px;top:8px;box-shadow:0 0 0 3px #ff344631}.hidden{display:none!important}
.screen{display:none;position:relative;padding:25px 20px calc(125px + env(safe-area-inset-bottom));min-height:calc(100dvh - 81px);animation:fadein .24s ease}.screen.active{display:block}@keyframes fadein{from{opacity:.45;transform:translateY(5px)}to{opacity:1;transform:translateY(0)}}
.eyebrow-row{display:flex;align-items:center;gap:8px;color:#94a8b9;font-size:9px;font-weight:850;letter-spacing:.14em}.tiny-line{height:2px;width:16px;background:var(--red);box-shadow:0 0 12px var(--red)}.serial{margin-left:auto;color:#4d6879;font-size:8px;letter-spacing:.1em}
.welcome{margin:20px 0 19px;display:flex}.welcome small{display:block;color:#607888;letter-spacing:.1em;font-size:9px;font-weight:800}.welcome h1,.screen-heading h1{margin:6px 0 8px;font-size:35px;line-height:1.12;letter-spacing:-.055em;font-weight:900}.welcome h1 em,.screen-heading h1 em{font-style:normal;color:var(--red)}.welcome p,.screen-heading p{margin:0;max-width:310px;color:#8194a2;font-size:11px;line-height:1.6}
.radar-panel{height:215px;border:1px solid #3a414d;position:relative;background:linear-gradient(116deg,#1c242e 0%,#14202b 54%,#112130);overflow:hidden;clip-path:polygon(0 0,94% 0,100% 11%,100% 100%,6% 100%,0 89%)}.radar-panel:before{content:"";position:absolute;inset:0;opacity:.4;background:repeating-linear-gradient(0deg,transparent 0 28px,#8ba9b00b 29px 30px),repeating-linear-gradient(90deg,transparent 0 28px,#8ba9b00b 29px 30px)}.radar-panel:after{content:"";position:absolute;left:0;top:0;width:5px;height:100%;background:linear-gradient(var(--red),transparent 70%)}.radar-copy{position:absolute;z-index:4;top:19px;left:19px;bottom:16px;display:flex;flex-direction:column;align-items:flex-start}.live{font-size:8px;color:#f5a9b2;font-weight:850;letter-spacing:.13em}.live i{display:inline-block;width:6px;height:6px;background:var(--red);border-radius:50%;margin-right:6px;box-shadow:0 0 0 4px #e9435423;animation:blink 2.8s infinite}@keyframes blink{50%{opacity:.5}}.radar-copy h2{display:flex;align-items:center;gap:10px;margin:27px 0 0;font-size:57px;line-height:1;letter-spacing:-.09em}.radar-copy h2 small{font-size:10px;color:#9cafba;line-height:1.55;font-weight:600;letter-spacing:0}.radar-bottom{margin-top:auto;font-size:8px;font-weight:800;letter-spacing:.13em;color:#7890a0}.radar-bottom span{display:block;color:#6f909b;margin-top:4px}.radar-bottom b{color:var(--green)}
.radar-visual{width:247px;height:247px;position:absolute;right:-33px;top:-12px}.radar-rings{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);border:1px solid #fa4c5d4a;border-radius:50%}.ring-a{width:92px;height:92px}.ring-b{width:174px;height:174px;border-color:#fe465437}.ring-c{width:245px;height:245px;border-color:#fe465524}.radar-scan{position:absolute;inset:0;animation:radar 8s linear infinite;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg,transparent 245deg,#f83c5944 300deg,transparent 319deg)}@keyframes radar{to{transform:rotate(360deg)}}.radar-center{position:absolute;width:69px;height:69px;border-radius:50%;display:grid;place-items:center;top:50%;left:50%;transform:translate(-50%,-50%);background:linear-gradient(140deg,#f54459,#9e1d39);box-shadow:0 0 50px #ef3a5059}.point{position:absolute;border-radius:50%;height:7px;width:7px;background:#78eef4;box-shadow:0 0 0 5px #72eafa24,0 0 13px #6fdaee}.point-1{top:67px;left:35px}.point-2{top:183px;left:192px}
.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:11px;margin-top:15px}.stat-card{min-height:112px;border:1px solid #233542;background:linear-gradient(146deg,#12202b,#0e1720);padding:14px;position:relative;overflow:hidden;clip-path:polygon(0 0,94% 0,100% 10%,100% 100%,0 100%)}.stat-card:after{content:"";position:absolute;width:52px;height:52px;border:1px solid #2f4a5930;right:-20px;top:-20px;transform:rotate(45deg)}.stat-card>span{display:block;font-size:8.2px;font-weight:850;letter-spacing:.095em;color:#849dab}.stat-card strong{display:block;font-weight:900;font-size:29px;line-height:1.2;margin:7px 0 4px;letter-spacing:-.07em}.stat-card small{display:flex;gap:7px;align-items:center;font-size:9px;color:#6e8798}.stat-dot{display:inline-block;height:6px;width:6px;border-radius:50%;background:#8596a4}.stat-dot.amber{background:var(--amber)}.stat-dot.red{background:var(--red)}.stat-dot.green{background:var(--green)}
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;margin:30px 0 14px}.overline{font-size:8px;color:var(--red);font-weight:900;letter-spacing:.15em}.section-heading h2{font-size:19px;letter-spacing:-.05em;margin:5px 0 0}.link-button{background:none;border:0;color:#ef6375;font-size:11px;font-weight:800}.link-button span{font-size:15px;padding-left:3px}.stack{display:flex;flex-direction:column;gap:10px}.empty-state{border:1px dashed #2c4050;background:#0e1821;border-radius:13px;padding:25px 18px;text-align:center}.empty-icon{display:grid;place-items:center;width:45px;height:45px;background:#172b38;border-radius:12px;color:#74d2db;font-size:23px;margin:0 auto 12px}.empty-state h3{font-size:13px;margin:0 0 6px}.empty-state p{font-size:11px;color:#7f95a3;margin:0 0 13px}.empty-state button{border:1px solid #f04459;background:#f0445920;color:#ff7686;border-radius:8px;font-size:10px;font-weight:800;padding:10px 13px}.insight-panel{display:flex;gap:13px;padding:18px 15px;margin-top:22px;background:linear-gradient(100deg,#12242b,#0f1d23);border:1px solid #28515a;border-radius:11px}.insight-icon{display:grid;place-items:center;flex:none;background:#18383c;color:var(--cyan);height:35px;width:35px;border-radius:9px;font-size:24px}.insight-panel strong{font-size:11px}.insight-panel p{font-size:10px;color:#8caab2;margin:4px 0 0;line-height:1.55}
.screen-heading{margin:22px 0 21px}.screen-heading h1{font-size:30px;margin-bottom:8px}.search-box{display:flex;align-items:center;gap:11px;background:#13212c;border:1px solid #2b4251;padding:0 13px;border-radius:9px;color:#7695a6}.search-box input{min-height:46px;border:0;background:none;color:#e8f4fa;flex:1;min-width:0;font-size:12px}.search-box input::placeholder{color:#647f90}.filters{display:flex;gap:7px;overflow:auto;margin:15px 0 19px;padding-bottom:2px;scrollbar-width:none}.filters button{white-space:nowrap;border:1px solid #293d4b;background:#121d26;border-radius:7px;padding:8px 12px;color:#829bab;font-size:10px;font-weight:800}.filters button.selected{color:#fff;border-color:#ef4f64;background:#dc354b25}.list-counter{display:flex;align-items:center;justify-content:space-between;color:#597181;font-size:9px;letter-spacing:.1em;font-weight:850;margin-bottom:12px}.list-counter span:first-child{color:#acc0ca;font-size:11px;letter-spacing:0}.floating-add{position:fixed;bottom:calc(101px + env(safe-area-inset-bottom));right:max(calc((100vw - 520px)/2 + 18px),18px);z-index:8;background:var(--red);color:#fff;box-shadow:0 10px 35px #f23a5560;border:0;display:flex;align-items:center;gap:9px;border-radius:9px;padding:10px 16px;font-weight:900;font-size:10px;letter-spacing:.08em}.floating-add span{font-size:23px;line-height:1}
.vehicle-card{border:1px solid #273947;background:#111c26;clip-path:polygon(0 0,97% 0,100% 11%,100% 100%,0 100%);padding:16px 15px 14px;position:relative}.vehicle-card.urgent{border-left:3px solid var(--red)}.vehicle-card.late{border-left:3px solid #d35c68}.vehicle-card.done{border-left:3px solid var(--green)}.vehicle-top{display:flex;align-items:center;gap:11px}.vehicle-top>div:nth-child(2){flex:1;min-width:0}.vehicle-name{display:block;font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-weight:850}.vehicle-model{color:#7891a0;display:block;font-size:10px;margin-top:3px}.plate-tag{width:83px;height:34px;border:1px solid #7893a3;border-radius:4px;background:#d9e2e8;display:flex;flex-direction:column;align-items:center;overflow:hidden;flex:none;color:#14232f}.plate-tag small{font-size:6px;line-height:10px;background:#244e88;color:#fff;align-self:stretch;text-align:center;font-weight:900;letter-spacing:.14em}.plate-tag b{font-size:11px;letter-spacing:.07em;line-height:22px;font-weight:950}.vehicle-divider{height:1px;background:#2a3b48;margin:13px 0}.vehicle-meta{display:flex;align-items:center;justify-content:space-between;gap:9px}.vehicle-date small{display:block;color:#7892a1;font-size:9px}.vehicle-date strong{display:block;font-size:11px;margin-top:4px}.status-chip{display:inline-flex;align-items:center;gap:5px;padding:6px 9px;border-radius:6px;font-size:9px;font-weight:850;white-space:nowrap;color:#a8c0cf;background:#273c4d}.status-chip i{height:5px;width:5px;background:currentColor;border-radius:50%}.status-chip.late{background:#48212e;color:#ff7484}.status-chip.urgent{background:#432831;color:#ff8a90}.status-chip.soon{background:#44362c;color:#f7be79}.status-chip.done{background:#1c3d39;color:#7ce0b4}.vehicle-actions{display:flex;gap:8px;margin-top:13px}.vehicle-actions button{border:1px solid #2d4655;background:#182a36;color:#b5d0dc;font-size:10px;font-weight:800;min-height:35px;border-radius:7px;padding:6px 10px;flex:1}.vehicle-actions .send{background:#e63c5226;border-color:#af3a4d;color:#ff8290;flex:1.4}.vehicle-actions .good{border-color:#28624f;color:#7fdbac;background:#20423660}.vehicle-actions .more{flex:none;width:38px;font-size:15px}.vehicle-extra{display:none;gap:6px;margin-top:9px}.vehicle-extra.open{display:flex}.vehicle-extra button{border:1px solid #344b5b;background:#1b2c38;color:#a8bdc9;padding:8px 10px;border-radius:6px;flex:1;font-size:10px}.vehicle-extra button.danger{color:#fa8895;border-color:#653b45}
.alert-hero{display:flex;align-items:center;gap:15px;background:linear-gradient(110deg,#3c1f31,#201c2b 70%);border:1px solid #7a354b;min-height:147px;padding:19px;position:relative;overflow:hidden;clip-path:polygon(0 0,95% 0,100% 14%,100% 100%,0 100%)}.pulse-icon{width:47px;height:47px;display:grid;place-items:center;flex:none;color:#ff8594;background:#73354978;border:1px solid #ae5269;border-radius:12px}.alert-hero>div:nth-child(2){position:relative;z-index:2}.alert-hero span{display:block;color:#f39ca8;letter-spacing:.12em;font-size:9px;font-weight:850}.alert-hero strong{display:block;font-size:43px;line-height:1;margin:9px 0 4px;letter-spacing:-.08em}.alert-hero small{font-size:10px;color:#cf9cab}.alert-arcs{position:absolute;width:220px;height:220px;border:1px solid #ec54651c;border-radius:50%;right:-110px;top:-35px;box-shadow:0 0 0 30px #f6506210,0 0 0 67px #f6506208}.ruler{border:1px solid #253c4b;background:#101c26;border-radius:9px;padding:13px 15px;margin:16px 0}.ruler>span{color:#7793a5;font-size:8px;font-weight:850;letter-spacing:.13em;display:block;margin-bottom:12px}.ruler>div{display:flex;gap:6px}.ruler b{flex:1;text-align:center;background:#1e3442;color:#8dc5d1;border:1px solid #2b5160;font-size:9px;padding:7px 0;border-radius:5px}.hint{display:flex;align-items:flex-start;gap:10px;margin-top:16px;border:1px solid #304452;border-radius:9px;background:#14212b;padding:12px}.hint>span{width:19px;height:19px;border-radius:50%;border:1px solid #789eae;color:#a4c6d2;text-align:center;flex:none}.hint p{font-size:10px;color:#8da8b5;margin:0;line-height:1.55}
.settings-card{background:#101c26;border:1px solid #2a4050;border-radius:12px;padding:17px;margin-bottom:12px}.settings-head{display:flex;gap:11px;align-items:center}.settings-icon{height:40px;width:40px;flex:none;border-radius:10px;display:grid;place-items:center;background:#273744;color:#e96b7b;font-size:25px;font-weight:800}.settings-icon.cyan{color:var(--cyan)}.settings-head>div:nth-child(2){flex:1}.settings-head strong{font-size:12px}.settings-head p{margin:4px 0 0;color:#7e98a7;font-size:10px}.settings-badge{border-radius:5px;background:#303c44;color:#a8b7bf;padding:5px 7px;font-size:8px;font-weight:850}.settings-badge.green{background:#214339;color:#73d8aa}.settings-badge.pending{background:#46352c;color:#eeb675}.settings-action{margin-top:16px;background:#df3d52;color:#fff;border:0;border-radius:8px;width:100%;text-align:left;padding:12px 13px;font-weight:850;font-size:11px}.settings-action span{float:right}.sub-action{display:block;border:0;background:none;color:#87cbd5;font-size:10px;font-weight:750;margin:12px auto 0}.backup-buttons{display:flex;gap:9px;margin:17px 0 10px}.backup-buttons button{background:#1d3240;color:#a8d5df;border:1px solid #3b5766;border-radius:8px;padding:11px;flex:1;font-size:11px;font-weight:850}.settings-note{display:block;font-size:10px;color:#829aa7;line-height:1.6;margin:14px 0 0}.calendar-mini{border-top:1px solid #2b3c48;margin-top:17px;padding-top:14px}.calendar-mini>div+div{margin-top:16px}.calendar-mini span{color:#72cfd9;font-size:9px;letter-spacing:.1em;font-weight:850}.calendar-mini p{font-size:11px;line-height:1.7;color:#c0d0d7;margin:4px 0 0}.calendar-foot{font-size:10px;color:#8ca1ad;border-top:1px solid #283d4b;margin:15px 0 0;padding-top:12px;line-height:1.6}.about-footer{text-align:center;padding:24px 0 10px}.brand-small{font-size:20px;font-weight:950;letter-spacing:-.06em}.brand-small span{color:var(--red)}.about-footer p{color:#7a929d;font-size:10px;margin:6px}.about-footer p strong{color:#c3d6df}.about-footer small{color:#526b77;font-size:9px}
.bottom-nav{display:flex;position:fixed;bottom:calc(11px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:calc(100% - 28px);max-width:488px;height:72px;z-index:18;background:#172530f4;backdrop-filter:blur(25px);border:1px solid #334653;border-radius:15px;box-shadow:0 12px 36px #0009;padding:4px}.nav-button{border:0;background:none;display:flex;flex:1;min-width:0;flex-direction:column;align-items:center;justify-content:center;gap:4px;color:#708899;border-radius:10px;font-weight:750}.nav-button.selected{background:#f2475b1c;color:#fa6778}.nav-button small{font-size:9px}.nav-icon{height:24px;position:relative}.nav-alert-dot{display:none;position:absolute;width:6px;height:6px;border-radius:50%;background:var(--red);right:-1px;top:0;box-shadow:0 0 0 3px #172530}.nav-alert-dot.show{display:block}
.sheet-overlay{position:fixed;inset:0;z-index:60;background:#000b;display:flex;align-items:flex-end;justify-content:center;backdrop-filter:blur(5px)}.sheet{background:#121e28;border:1px solid #37505d;border-bottom:0;box-shadow:0 -18px 60px #0009;border-radius:19px 19px 0 0;width:100%;max-width:520px;max-height:94dvh;overflow-y:auto;padding:10px 20px calc(25px + env(safe-area-inset-bottom))}.sheet-handle{height:4px;width:45px;border-radius:4px;background:#48606d;margin:0 auto 14px}.sheet-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:21px}.sheet-head h2{font-size:22px;letter-spacing:-.05em;margin:5px 0 0}.sheet-close{height:35px;width:35px;border:1px solid #38505e;border-radius:9px;background:#1b2b38;color:#b0c8d6;font-size:25px}.input-group{display:block;margin-bottom:15px}.input-group>span{display:block;color:#aac0ca;font-size:10px;font-weight:850;letter-spacing:.04em;margin-bottom:7px}.input-group input,.input-group select,.input-group textarea{width:100%;background:#192b38;border:1px solid #355063;color:#eef8fc;border-radius:9px;padding:13px 12px;font-size:12px;min-height:43px}.input-group input::placeholder,.input-group textarea::placeholder{color:#627f8f}.input-group input:focus,.input-group select:focus,.input-group textarea:focus{border-color:#f04e63;box-shadow:0 0 0 3px #f0485b18}.input-group textarea{resize:vertical}.input-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.calculated-date{display:flex;align-items:center;gap:8px;border-radius:8px;background:#193239;border:1px solid #2e6470;padding:12px;color:var(--cyan);font-size:11px;margin:1px 0 16px}.calculated-date strong{margin-left:auto;white-space:nowrap}.consent-box{display:flex;align-items:flex-start;gap:10px;background:#1c3535;border:1px solid #315d51;border-radius:9px;padding:13px;margin:2px 0 17px}.consent-box input{accent-color:#ed4f66;margin:4px 0 0}.consent-box>span{flex:1}.consent-box strong{display:block;font-size:11px}.consent-box small{display:block;color:#87ada5;font-size:9px;line-height:1.6;margin-top:3px}.sheet-actions{display:flex;gap:10px;margin-top:19px}.sheet-actions button{border-radius:8px;min-height:44px;font-size:10px;font-weight:900}.cancel-button{border:1px solid #385261;color:#9ab3c2;background:#1d303c;padding:0 17px}.save-button{background:#ee3f58;border:0;color:white;flex:1;display:flex;align-items:center;justify-content:space-between;padding:0 15px;letter-spacing:.05em}.save-button span{font-size:19px}.toast{position:fixed;z-index:80;left:50%;bottom:calc(96px + env(safe-area-inset-bottom));transform:translateX(-50%);width:calc(100% - 35px);max-width:465px;border-radius:10px;background:#254650;color:#dcf7fa;border:1px solid #397581;padding:13px 15px;text-align:center;box-shadow:0 9px 29px #0006;font-size:11px;font-weight:750}
@media(max-width:370px){.screen{padding-left:15px;padding-right:15px}.welcome h1{font-size:31px}.radar-visual{right:-75px}.radar-copy h2{font-size:50px}.input-grid{grid-template-columns:1fr}.app-header{padding-left:15px;padding-right:15px}.brand-text small{font-size:7px}.stat-card{padding:12px}}
@media(min-width:650px){.app-frame{min-height:100vh}.bottom-nav{max-width:470px}}
