/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme{:root,:host{--font-sans:ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-mono:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--spacing:.25rem;--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono)}}@layer base{*,:after,:before,::backdrop{box-sizing:border-box;border:0 solid;margin:0;padding:0}::file-selector-button{box-sizing:border-box;border:0 solid;margin:0;padding:0}html,:host{-webkit-text-size-adjust:100%;tab-size:4;line-height:1.5;font-family:var(--default-font-family,ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-webkit-tap-highlight-color:transparent}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:var(--default-mono-font-family,ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-variation-settings:var(--default-mono-font-variation-settings,normal);font-size:1em}small{font-size:80%}sub,sup{vertical-align:baseline;font-size:75%;line-height:0;position:relative}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}ol,ul,menu{list-style:none}img,svg,video,canvas,audio,iframe,embed,object{vertical-align:middle;display:block}img,video{max-width:100%;height:auto}button,input,select,optgroup,textarea{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}::file-selector-button{font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;color:inherit;opacity:1;background-color:#0000;border-radius:0}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab, red, red)){::placeholder{color:color-mix(in oklab, currentcolor 50%, transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit{padding-block:0}::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-datetime-edit-month-field{padding-block:0}::-webkit-datetime-edit-day-field{padding-block:0}::-webkit-datetime-edit-hour-field{padding-block:0}::-webkit-datetime-edit-minute-field{padding-block:0}::-webkit-datetime-edit-second-field{padding-block:0}::-webkit-datetime-edit-millisecond-field{padding-block:0}::-webkit-datetime-edit-meridiem-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::file-selector-button{appearance:button}::-webkit-inner-spin-button{height:auto}::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer components;@layer utilities{.visible{visibility:visible}.relative{position:relative}.start{inset-inline-start:var(--spacing)}.grid{display:grid}.hidden{display:none}.table{display:table}.table-row{display:table-row}.antialiased{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}}:root{--bg:#07111f;--sidebar:#091827;--surface:#0d2032;--surface-2:#10283c;--surface-3:#15334a;--line:#1b3a52;--line-soft:#5f93ba2e;--text:#f4f8fc;--muted:#91a7ba;--muted-2:#637f96;--primary:#1e9bff;--primary-strong:#067ee5;--orange:#ff6b2c;--green:#2dd4bf;--amber:#ff7a2e;--red:#f25f5c;--shadow:0 24px 70px #00050d5c}*{box-sizing:border-box}html{background:var(--bg);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}body{background:radial-gradient(circle at 76% -12%, #1e9bff29, transparent 31rem), radial-gradient(circle at 102% 72%, #2dd4bf0f, transparent 32rem), linear-gradient(135deg, #071321 0%, var(--bg) 52%, #06101c 100%);min-width:320px;color:var(--text);font-family:var(--font-geist-sans), Inter, Arial, sans-serif;margin:0}button,input,select{font:inherit}button{color:inherit}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid var(--primary);outline-offset:3px}svg{width:1.35rem;height:1.35rem;display:block}.app-shell{min-height:100vh}.sidebar{z-index:20;border-right:1px solid var(--line);background:radial-gradient(circle at 50% 7%, #1e9bff1f, transparent 13rem), linear-gradient(180deg, #091827fa, #050f1bfc), var(--sidebar);flex-direction:column;width:268px;padding:25px 14px 20px;display:flex;position:fixed;inset:0 auto 0 0;box-shadow:18px 0 50px #00050e2e}.sidebar:before,.sidebar:after{z-index:-1;content:"";background:linear-gradient(90deg,#0000,#1e9bff59,#0000);width:310px;height:1px;position:absolute;bottom:115px;right:-44px;transform:rotate(-36deg)}.sidebar:after{background:linear-gradient(90deg,#0000,#1e9bff2b,#0000);height:2px;bottom:94px}.brand{text-align:center;flex-direction:column;align-items:center;gap:5px;padding:0 8px 34px;display:flex}.brand-mark{color:#d8ebfb;filter:drop-shadow(0 10px 20px #005dbe4d);place-items:center;width:88px;height:82px;display:grid;position:relative}.brand-mark:before{clip-path:polygon(50% 0,100% 21%,88% 77%,50% 100%,12% 77%,0 21%);content:"";background:linear-gradient(145deg,#07111f73,#07111feb) padding-box padding-box,linear-gradient(145deg,#2ea8ff,#075cc4) border-box;border:5px solid #0000;position:absolute;inset:2px 7px 5px}.brand-mark:after{background:linear-gradient(90deg, #ff8a32, var(--orange));content:"";border-radius:2px;width:67px;height:8px;position:absolute;bottom:18px;right:0;transform:rotate(-34deg)skew(-22deg);box-shadow:0 0 18px #ff6b2c66}.brand-mark svg{z-index:1;stroke-width:1.45px;width:47px;height:47px;margin-top:-8px;position:relative}.brand-wordmark,.brand strong,.brand small{display:block}.brand strong{letter-spacing:-.045em;text-shadow:0 4px 18px #0000004d;font-size:1.16rem;font-weight:820}.brand strong em{color:var(--primary);font-style:normal}.brand small{color:#6f9fc2;letter-spacing:.2em;margin-top:6px;font-size:.52rem;font-weight:800}.desktop-nav{gap:9px;display:grid}.desktop-nav button,.mobile-nav button{color:#aeb9c5;cursor:pointer;background:0 0;border:1px solid #0000;border-radius:12px;align-items:center;gap:15px;transition:color .16s,background .16s,border-color .16s,transform .16s;display:flex;position:relative}.desktop-nav button{min-height:57px;padding:0 18px;font-size:.97rem}.desktop-nav button:hover{color:var(--text);transform:translate(2px)}.desktop-nav button.active{color:#d9efff;background:linear-gradient(90deg,#1e9bff42,#1e9bff13),#0d2135;border-color:#1e9bff57;box-shadow:inset 0 1px #ffffff06}.desktop-nav button.active:before{background:var(--orange);content:"";border-radius:0 4px 4px 0;width:4px;position:absolute;inset:7px auto 7px -15px;box-shadow:0 0 14px #ff6b2cad}.sidebar-bottom{gap:13px;margin-top:auto;display:grid}.sidebar-foot{border-top:1px solid var(--line-soft);color:var(--muted-2);align-items:center;gap:9px;padding:18px 9px 0;font-size:.68rem;display:flex}.live-dot{background:var(--green);border-radius:50%;flex:none;width:7px;height:7px;box-shadow:0 0 10px #31d182cc}.main{min-height:100vh;margin-left:268px;padding:38px clamp(28px,4vw,62px) 70px;position:relative;overflow:hidden}.main:before{z-index:-1;content:"";background:repeating-radial-gradient(circle,#0000 0 34px,#1e9bff09 35px 36px);border:1px solid #1e9bff14;border-radius:50%;width:48rem;height:48rem;position:fixed;top:-12rem;right:-12rem}.topbar{justify-content:space-between;align-items:flex-start;max-width:1320px;margin:0 auto 27px;display:flex}.eyebrow{color:var(--primary);letter-spacing:.19em;margin:0 0 8px;font-size:.68rem;font-weight:800}.topbar h1,.section-heading h2,.modal h2,.settings-card h2,.empty-state h2{letter-spacing:-.035em;margin:0}.topbar h1{text-shadow:0 10px 32px #0003;font-size:clamp(2.35rem,4vw,3.25rem);font-weight:830;line-height:.98}.page-subtitle{color:var(--muted);margin:13px 0 0;font-size:clamp(.9rem,1.5vw,1.08rem)}.top-actions{align-items:center;gap:14px;display:flex}.account-chip{background:#0d2032b8;border:1px solid #748ca33d;border-radius:13px;align-items:center;gap:10px;min-height:48px;padding:6px 7px 6px 9px;display:flex}.account-chip>span{color:#cce9ff;background:#1e9bff1a;border:1px solid #1e9bff6b;border-radius:10px;flex:none;place-items:center;width:34px;height:34px;font-size:.68rem;font-weight:850;display:grid}.account-chip>div{gap:2px;min-width:0;display:grid}.account-chip strong{text-overflow:ellipsis;white-space:nowrap;max-width:220px;font-size:.75rem;overflow:hidden}.account-chip small{color:var(--muted);font-size:.59rem}.account-chip button{width:34px;height:34px;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:9px;place-items:center;display:grid}.account-chip button:hover{color:var(--orange);background:#ff6b2c17}.account-chip button svg{width:17px;height:17px}.mobile-studio{display:none}.studio-brand{min-height:48px;color:var(--text);background:#0e161fb8;border:1px solid #748ca33d;border-radius:12px;align-items:center;gap:10px;padding:7px 11px 7px 9px;text-decoration:none;transition:border-color .16s,background .16s,transform .16s;display:flex}.sidebar .studio-brand{background:#050f1b7a;border-color:#5b8bae24;gap:8px;min-height:42px;padding:6px 8px}.studio-brand:hover{background:#141e29e6;border-color:#8ea5bc75;transform:translateY(-2px)}.studio-logo{background:#f3f6f9;border-radius:7px;flex:none;grid-template-columns:1fr 1fr;gap:2px;width:31px;height:31px;padding:4px;display:grid;box-shadow:0 5px 16px #0000003d}.sidebar .studio-logo{width:28px;height:28px}.studio-logo i{border-radius:2px}.studio-logo i:first-child{background:#6fb64a}.studio-logo i:nth-child(2){background:#d94b45}.studio-logo i:nth-child(3){background:#f19a35}.studio-logo i:nth-child(4){background:#3e8ed0}.studio-copy{line-height:1;display:grid}.studio-copy small{color:#7f91a2;letter-spacing:.16em;margin-bottom:3px;font-size:.5rem;font-style:normal;font-weight:800}.studio-copy strong{color:#e9eef3;letter-spacing:-.025em;font-size:.8rem}.sidebar .studio-copy strong{font-size:.7rem}.studio-copy em{color:var(--primary);letter-spacing:.13em;margin-top:3px;font-size:.48rem;font-style:normal;font-weight:800}.sidebar .studio-copy small,.sidebar .studio-copy em{font-size:.42rem}.icon-button{width:44px;height:44px;color:var(--muted);cursor:pointer;background:#0d2032d6;border:1px solid #224763;border-radius:12px;place-items:center;transition:color .16s,border-color .16s,transform .16s;display:grid;position:relative}.icon-button:hover{color:var(--text);border-color:#3b4d5f;transform:translateY(-2px)}.dashboard-toolbar,.stats-grid,.section-block,.settings-grid{width:100%;max-width:1320px;margin-left:auto;margin-right:auto}.dashboard-toolbar{justify-content:space-between;align-items:stretch;gap:16px;margin-bottom:18px;display:flex}.vehicle-selector{cursor:pointer;background:radial-gradient(circle at 86% 122%,#1e9bff2b,#0000 17rem),linear-gradient(135deg,#10283cfa,#081928fa);border:1px solid #2a5370;border-radius:16px;flex:1;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;max-width:none;min-height:116px;padding:20px 22px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff09,0 18px 48px #00050d29}.vehicle-selector:before{z-index:0;content:"";border:1px solid #1e9bff1f;border-radius:50%;width:208px;height:208px;position:absolute;bottom:-76px;right:62px;box-shadow:0 0 0 24px #1e9bff06,0 0 0 50px #1e9bff05}.vehicle-selector:after{z-index:0;background:linear-gradient(90deg, var(--orange), transparent);content:"";border-radius:16px 0 6px;width:118px;height:3px;position:absolute;top:0;left:0}.vehicle-selector>*{z-index:1;position:relative}.vehicle-selector>svg{width:18px;color:var(--muted)}.vehicle-selector select{z-index:3;appearance:none;color:#0000;--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;cursor:pointer;background:0 0;border:0;width:100%;position:absolute;inset:0}.vehicle-selector select option{color:#0b1722;background:#f5f8fb;font-weight:600}.vehicle-selector select option:checked{color:#07111b;background:#8fc3ff}.vehicle-symbol{color:#bde2ff;background:linear-gradient(145deg,#11334efa,#071826fa);border:1px solid #2e7fba;border-radius:15px;place-items:center;width:70px;height:70px;display:grid;box-shadow:inset 0 0 24px #1e9bff14}.vehicle-symbol svg{width:34px;height:34px}.vehicle-copy{gap:5px;display:grid}.vehicle-copy strong{letter-spacing:-.035em;font-size:1.45rem;font-weight:800}.vehicle-copy small{color:var(--muted);font-size:.9rem}.button{cursor:pointer;border-radius:11px;justify-content:center;align-items:center;gap:10px;min-height:46px;padding:0 20px;font-weight:700;transition:transform .16s,border-color .16s,background .16s,box-shadow .16s;display:inline-flex}.button:hover{transform:translateY(-2px)}.button:disabled{cursor:not-allowed;opacity:.58;transform:none}.button.primary{color:#fff;background:linear-gradient(#ff7a36,#f05012);border:1px solid #ff8a49;box-shadow:0 10px 26px #ff5b183d}.button.primary:hover{background:linear-gradient(#ff884b,#ff5a18);box-shadow:0 14px 34px #ff5b1857}.button.secondary{border:1px solid var(--line);background:var(--surface-2);color:#c0cbd5}.add-button{align-self:center;min-height:60px;padding:0 29px}.stats-grid{grid-template-columns:repeat(3,1fr);gap:13px;margin-bottom:29px;display:grid}.stat-card{background:radial-gradient(circle at 105% 125%, #1e9bff21, transparent 11rem), linear-gradient(115deg, #ffffff06, transparent 48%), var(--surface);border:1px solid #21445f;border-radius:16px;grid-template-columns:auto auto 1fr;align-items:center;gap:18px;min-height:128px;padding:24px;transition:transform .18s,border-color .18s;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 1px #ffffff06}.stat-card:before{content:"";opacity:.9;background:currentColor;border-radius:16px 16px 0 0;height:4px;position:absolute;inset:0 0 auto;box-shadow:0 0 17px}.stat-card:after{border:1px solid;border-radius:50%;width:145px;height:145px;position:absolute;bottom:-82px;right:-45px;box-shadow:0 0 0 18px,0 0 0 35px}@supports (color:color-mix(in lab, red, red)){.stat-card:after{box-shadow:0 0 0 18px color-mix(in srgb, currentColor 7%, transparent), 0 0 0 35px color-mix(in srgb, currentColor 4%, transparent)}}.stat-card:after{content:"";opacity:.16}.stat-card:hover{border-color:#3b4a59;transform:translateY(-2px)}.stat-icon{background:currentColor;border:1px solid;border-radius:15px;place-items:center;width:58px;height:58px;display:grid;transform:rotate(30deg)}@supports (color:color-mix(in lab, red, red)){.stat-icon{background:color-mix(in srgb, currentColor 8%, transparent)}}.stat-icon svg{width:28px;height:28px;transform:rotate(-30deg)}.stat-value{font-size:2.55rem;font-weight:750;line-height:1}.stat-label{color:var(--muted);align-self:end;margin-bottom:8px;font-size:.86rem}.stat-card.active{color:var(--green)}.stat-card.warning{color:var(--amber)}.stat-card.expired{color:var(--red)}.section-block{margin-top:8px}.view-section{padding-top:18px}.section-heading{justify-content:space-between;align-items:flex-end;gap:20px;margin-bottom:17px;display:flex}.section-heading h2{font-size:1.65rem;font-weight:800}.section-count{color:var(--muted-2);font-size:.76rem}.deadline-list{gap:10px;display:grid}.deadline-row{text-align:left;cursor:pointer;background:linear-gradient(90deg,#1e9bff09,#0000 24%),linear-gradient(100deg,#0f2538,#0b1c2c);border:1px solid #1c3b53;border-radius:13px;grid-template-columns:auto minmax(110px,.8fr) minmax(140px,1.5fr) 130px 140px auto;align-items:center;gap:20px;width:100%;min-height:92px;padding:16px 20px;transition:transform .17s,border-color .17s,background .17s;display:grid}.deadline-row:hover{background:linear-gradient(100deg,#12314a,#0d2234);border-color:#2b648d;transform:translateY(-2px)}.deadline-row:disabled{cursor:default}.deadline-row:disabled:hover{background:linear-gradient(90deg,#1e9bff09,#0000 24%),linear-gradient(100deg,#0f2538,#0b1c2c);border-color:#1c3b53;transform:none}.deadline-row>svg{width:17px;color:var(--muted)}.deadline-icon{border:1px solid;border-radius:50%;place-items:center;width:48px;height:48px;display:grid}.deadline-icon.active{color:var(--green);background:#31d18214}.deadline-icon.warning{color:var(--amber);background:#f4b83314}.deadline-icon.expired{color:var(--red);background:#f0645b14}.deadline-name{font-size:1.06rem}.progress-track{background:#080d13;border-radius:20px;height:7px;display:block;overflow:hidden}.progress-bar{border-radius:inherit;height:100%;display:block}.progress-bar.active{background:var(--green)}.progress-bar.warning{background:var(--amber)}.progress-bar.expired{background:var(--red)}.deadline-days{align-items:baseline;gap:8px;display:flex}.deadline-days strong{font-size:2rem;line-height:1}.deadline-days small{color:var(--muted);font-size:.75rem}.deadline-days.active{color:var(--green)}.deadline-days.warning{color:var(--amber)}.deadline-days.expired{color:var(--red)}.deadline-date{color:var(--muted);align-items:center;gap:9px;font-size:.82rem;display:flex}.deadline-date svg{width:17px}.inline-empty,.empty-state{color:var(--muted);text-align:center;border:1px dashed #344354;border-radius:15px}.inline-empty{padding:46px 20px}.empty-state{max-width:650px;margin:80px auto;padding:60px 30px}.empty-state p{margin:10px 0 0}.empty-button{margin-top:24px}.empty-icon{width:68px;height:68px;color:var(--primary);background:#2688ff1a;border-radius:50%;place-items:center;margin:0 auto 20px;display:grid}.empty-icon svg{width:32px;height:32px}.vehicles-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.vehicle-card{background:radial-gradient(circle at 100% 120%, #1e9bff1a, transparent 13rem), var(--surface);text-align:left;border:1px solid #21445f;border-radius:16px;grid-template-columns:auto 1fr auto;align-items:center;gap:18px;min-height:150px;padding:22px;transition:transform .17s,border-color .17s;display:grid}.vehicle-card.selected{border-color:#1e9bffb8;transform:translateY(-2px);box-shadow:0 18px 44px #00081333}.vehicle-card-icon{color:#b9ddf7;background:#0a1b2a;border:1px solid #2a6087;border-radius:13px;place-items:center;width:62px;height:62px;display:grid}.vehicle-card-icon svg{width:34px;height:34px}.vehicle-card-main{gap:5px;display:grid}.vehicle-card-main strong{font-size:1.13rem}.vehicle-card-main small{color:var(--muted)}.plate{color:#151b20;letter-spacing:.08em;background:#dce3e8;border:1px solid #506173;border-left:7px solid #1c6cd1;border-radius:4px;width:fit-content;padding:3px 8px 3px 6px;font-size:.72rem;font-weight:800}.vehicle-card-status{justify-items:end;gap:12px;display:grid}.urgent-count,.ok-count{border-radius:20px;width:fit-content;padding:5px 9px;font-size:.69rem;font-weight:700}.vehicle-actions{gap:7px;display:flex}.urgent-count{color:var(--amber);background:#f4b8331a}.ok-count{color:var(--green);background:#31d18217}.table-card{background:#0d2032;border:1px solid #21445f;border-radius:16px;overflow:hidden;box-shadow:0 18px 46px #00071021}.table-row{border-bottom:1px solid var(--line-soft);grid-template-columns:auto minmax(200px,1fr) auto 120px 90px;align-items:center;gap:18px;min-height:84px;padding:14px 18px;display:grid}.table-row:last-child{border-bottom:0}.table-title{gap:5px;display:grid}.table-title small,.table-date{color:var(--muted);font-size:.78rem}.days-badge{text-align:center;border-radius:20px;min-width:105px;padding:6px 11px;font-size:.7rem;font-weight:750}.days-badge.active{color:var(--green);background:#31d18217}.days-badge.warning{color:var(--amber);background:#f4b83317}.days-badge.expired{color:var(--red);background:#f0645b17}.row-actions{gap:7px;display:flex}.mini-action{border:1px solid var(--line);width:35px;height:35px;color:var(--muted);cursor:pointer;background:#101821;border-radius:8px;place-items:center;display:grid}.mini-action:hover{border-color:var(--primary);color:var(--primary)}.mini-action.danger:hover{border-color:var(--red);color:var(--red)}.mini-action svg{width:16px;height:16px}.settings-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding-top:18px;display:grid}.settings-card{background:linear-gradient(145deg, #ffffff05, transparent 40%), var(--surface);border:1px solid #21445f;border-radius:16px;min-height:310px;padding:26px}.settings-title{align-items:center;gap:14px;margin-bottom:28px;display:flex}.settings-title>span{width:46px;height:46px;color:var(--primary);background:#2688ff1a;border-radius:12px;place-items:center;display:grid}.settings-title h2{font-size:1.1rem}.settings-title p{color:var(--muted);margin:5px 0 0;font-size:.78rem}.toggle-row{border-top:1px solid var(--line-soft);cursor:pointer;justify-content:space-between;align-items:center;gap:16px;min-height:76px;display:flex;position:relative}.toggle-row>span:first-child{gap:5px;display:grid}.toggle-row small{color:var(--muted)}.toggle-row input{opacity:0;position:absolute}.toggle-ui{background:#33404d;border-radius:20px;flex:none;width:43px;height:24px;transition:background .16s;position:relative}.toggle-ui:after{content:"";background:#fff;border-radius:50%;width:18px;height:18px;transition:transform .16s;position:absolute;top:3px;left:3px}.toggle-row input:checked+.toggle-ui{background:var(--primary)}.toggle-row input:checked+.toggle-ui:after{transform:translate(19px)}.reminder-chips{flex-wrap:wrap;gap:9px;margin:32px 0 42px;display:flex}.reminder-chips span{color:#9fcaff;background:#2688ff12;border:1px solid #37506b;border-radius:20px;padding:8px 13px;font-size:.75rem;font-weight:700}.integration-status{border-top:1px solid var(--line-soft);justify-content:space-between;align-items:center;gap:14px;margin:-20px 0 24px;padding-top:22px;display:flex}.integration-status>span{color:var(--muted);align-items:center;gap:8px;font-size:.78rem;font-weight:700;display:inline-flex}.integration-status i{background:var(--amber);border-radius:50%;width:8px;height:8px;box-shadow:0 0 10px #f4b83380}.integration-status .ready i{background:var(--green);box-shadow:0 0 10px #31d1828c}.integration-status .button{min-height:40px;padding:0 14px;font-size:.78rem}.integration-status .button:disabled{cursor:not-allowed;opacity:.48;transform:none}.settings-save{width:100%}.alert-history-card{grid-column:1/-1;min-height:0}.alert-history-title{margin-bottom:20px}.alert-history-title>div{min-width:0}.history-refresh{margin-left:auto}.history-refresh:disabled{cursor:wait;opacity:.5}.last-alert-check{background:#31d1820e;border:1px solid #31d18238;border-radius:13px;align-items:center;gap:12px;margin-bottom:14px;padding:13px 15px;display:flex}.last-alert-check.failed{background:#ff5b5b0e;border-color:#ff5b5b3d}.last-alert-check.partial{background:#f4b8330e;border-color:#f4b83340}.last-alert-check.empty{border-color:var(--line-soft);background:#ffffff05}.last-check-icon,.history-alert-icon{border-radius:50%;flex:none;place-items:center;display:grid}.last-check-icon{width:34px;height:34px;color:var(--green);background:#31d1821a}.last-alert-check.failed .last-check-icon{color:var(--red);background:#ff5b5b1a}.last-alert-check.partial .last-check-icon,.last-alert-check.empty .last-check-icon{color:var(--amber);background:#f4b83317}.last-check-icon svg,.history-alert-icon svg{width:16px;height:16px}.last-alert-check>div{gap:4px;display:grid}.last-alert-check strong{font-size:.82rem}.last-alert-check small{color:var(--muted);font-size:.71rem}.alert-history-list{border:1px solid var(--line-soft);border-radius:13px;overflow:hidden}.alert-history-row{border-bottom:1px solid var(--line-soft);grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:14px;min-height:84px;padding:13px 15px;display:grid}.alert-history-row:last-child{border-bottom:0}.history-alert-icon{width:34px;height:34px}.history-alert-icon.sent{color:var(--green);background:#31d1821a}.history-alert-icon.failed{color:var(--red);background:#ff5b5b1a}.history-alert-main{gap:3px;min-width:0;display:grid}.history-alert-main strong{font-size:.84rem}.history-alert-main span,.history-alert-main small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.72rem;overflow:hidden}.history-alert-meta{justify-items:end;gap:7px;display:grid}.history-alert-meta time{color:var(--muted);white-space:nowrap;font-size:.67rem}.history-status{border-radius:18px;padding:5px 9px;font-size:.62rem;font-weight:800}.history-status.sent{color:var(--green);background:#31d18217}.history-status.failed{color:var(--red);background:#ff5b5b17}.history-empty{color:var(--muted);text-align:center;margin:0;padding:28px 18px;font-size:.78rem}.family-view{width:100%;max-width:1320px;margin:0 auto}.read-only-pill{min-height:38px;color:var(--green);background:#2dd4bf14;border:1px solid #2dd4bf57;border-radius:20px;align-items:center;gap:8px;padding:0 13px;font-size:.72rem;font-weight:800;display:inline-flex}.read-only-pill svg{width:16px;height:16px}.family-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:16px;display:grid}.family-grid .settings-card{min-height:360px}.invite-form-card .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.invite-form-card .form-grid .button,.invite-form-card .form-message{grid-column:1/-1}.form-message{color:#b9ddf7;text-align:center;margin:-2px 0 0;font-size:.78rem}.access-rules{gap:14px;margin:0;padding:0;list-style:none;display:grid}.access-rules li{border-bottom:1px solid var(--line-soft);color:#c0cfdb;align-items:center;gap:12px;min-height:42px;font-size:.84rem;display:flex}.access-rules li:last-child{border-bottom:0}.access-rules svg{width:18px;height:18px;color:var(--green);flex:none}.access-rules li:nth-child(3) svg{color:var(--orange)}.access-lists{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin-top:16px;display:grid}.access-list-card{background:var(--surface);border:1px solid #21445f;border-radius:16px;overflow:hidden}.access-list-card>header{border-bottom:1px solid var(--line-soft);padding:20px 22px}.access-list-card h3,.access-list-card p{margin:0}.access-list-card h3{font-size:1rem}.access-list-card header p{color:var(--muted);margin-top:5px;font-size:.72rem}.access-items{display:grid}.access-item{border-bottom:1px solid var(--line-soft);grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:12px;min-height:88px;padding:13px 18px;display:grid}.access-item:last-child{border-bottom:0}.member-avatar{color:#b9dfff;background:#1e9bff1f;border:1px solid #2c7fb9;border-radius:12px;place-items:center;width:42px;height:42px;font-size:.7rem;font-weight:850;display:grid}.member-avatar.pending{color:var(--orange);background:#ff7a2e17;border-color:#ff7a2e6b}.member-avatar svg{width:19px;height:19px}.access-person{gap:3px;min-width:0;display:grid}.access-person strong,.access-person small{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.access-person strong{font-size:.86rem}.access-person small{color:var(--muted);font-size:.68rem}.viewer-badge,.pending-badge{white-space:nowrap;border-radius:18px;padding:6px 9px;font-size:.61rem;font-weight:800}.viewer-badge{color:var(--green);background:#2dd4bf17}.pending-badge{color:var(--orange);background:#ff7a2e17}.access-empty{color:var(--muted);text-align:center;padding:36px 20px;font-size:.8rem}.access-gate,.invite-page{background:radial-gradient(circle at 50% 20%, #1e9bff29, transparent 25rem), var(--bg);place-items:center;min-height:100vh;padding:24px;display:grid}.access-gate-card,.invite-card{background:linear-gradient(145deg, #ffffff07, transparent 42%), var(--surface);text-align:center;width:min(100%,480px);box-shadow:var(--shadow);border:1px solid #285574;border-radius:22px;padding:34px}.access-gate-card .brand,.invite-card .brand{padding-bottom:24px}.access-gate-card h1,.invite-card h1{letter-spacing:-.035em;margin:18px 0 10px;font-size:1.55rem}.access-gate-card p,.invite-card p{max-width:360px;color:var(--muted);margin:0 auto;line-height:1.6}.access-gate-card .button,.invite-card .button{margin-top:24px;text-decoration:none}.login-form{text-align:left;gap:13px;margin-top:24px;display:grid}.login-form label{color:#bcc6d0;gap:8px;font-size:.75rem;font-weight:700;display:grid}.login-form input{width:100%;min-height:50px;color:var(--text);background:#091827;border:1px solid #285574;border-radius:12px;padding:0 14px}.login-form .code-input{text-align:center;letter-spacing:.34em;font-size:1.25rem;font-weight:850}.login-form .button{width:100%;margin-top:0}.link-button{color:var(--primary);cursor:pointer;text-align:center;background:0 0;border:0;padding:4px;font-size:.74rem}.access-gate-card .login-message,.access-gate-card .login-hint{color:#b9ddf7;margin-top:14px;font-size:.75rem}.access-gate-card .login-hint{color:var(--muted)}.access-gate-icon{width:58px;height:58px;color:var(--primary);background:#1e9bff1a;border:1px solid #2f88c5;border-radius:16px;place-items:center;margin:0 auto;display:grid}.access-gate-icon svg{width:28px;height:28px}.access-loader{border:3px solid #1e9bff33;border-top-color:var(--primary);border-radius:50%;width:34px;height:34px;margin:14px auto 0;animation:.75s linear infinite access-spin;display:block}.invite-badge{color:var(--orange);letter-spacing:.12em;background:#ff7a2e1a;border-radius:18px;padding:7px 11px;font-size:.62rem;font-weight:850;display:inline-flex}.invite-card .invite-help{margin-top:10px;font-size:.78rem}@keyframes access-spin{to{transform:rotate(360deg)}}.modal-backdrop{z-index:100;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px);background:#010509c7;place-items:center;padding:24px;animation:.15s ease-out fade-in;display:grid;position:fixed;inset:0;overflow-y:auto}.modal{width:min(100%,590px);box-shadow:var(--shadow);background:#0d2032;border:1px solid #2b5b7c;border-radius:18px;padding:28px;animation:.17s ease-out modal-in}.modal header{justify-content:space-between;align-items:flex-start;gap:20px;margin-bottom:26px;display:flex}.modal h2{font-size:1.45rem}.form-grid{gap:17px;display:grid}.form-grid.two-columns{grid-template-columns:repeat(2,minmax(0,1fr))}.form-grid label{color:#bcc6d0;gap:8px;font-size:.78rem;font-weight:650;display:grid}.form-grid input,.form-grid select{width:100%;height:48px;color:var(--text);background:#071827;border:1px solid #28506d;border-radius:10px;padding:0 13px}.form-grid input::placeholder{color:#536273}.full-field{grid-column:1/-1}.form-actions{justify-content:flex-end;gap:10px;margin-top:8px;display:flex}.toast{z-index:110;color:#a8efcc;box-shadow:var(--shadow);background:#10241c;border:1px solid #31d18280;border-radius:11px;align-items:center;gap:10px;padding:13px 17px;font-size:.82rem;font-weight:700;animation:.18s ease-out toast-in;display:flex;position:fixed;bottom:28px;right:28px}.toast svg{width:18px}.mobile-nav{display:none}@keyframes fade-in{0%{opacity:0}}@keyframes modal-in{0%{opacity:0;transform:translateY(8px)scale(.985)}}@keyframes toast-in{0%{opacity:0;transform:translateY(8px)}}@media (width<=1050px){.sidebar{width:218px}.brand{padding-left:5px;padding-right:0}.main{margin-left:218px;padding-left:26px;padding-right:26px}.stat-card{grid-template-columns:auto 1fr}.stat-label{grid-column:2;align-self:start;margin-top:-17px;margin-bottom:0}.deadline-row{grid-template-columns:auto minmax(90px,1fr) 100px 130px auto}.progress-track{display:none}.vehicles-grid,.settings-grid,.family-grid{grid-template-columns:1fr}.family-grid .settings-card{min-height:auto}}@media (width<=760px){body{background:var(--bg)}.sidebar{display:none}.main{margin-left:0;padding:24px 17px 104px}.topbar{align-items:center;margin-bottom:24px}.topbar h1{font-size:1.75rem}.page-subtitle{margin-top:7px;font-size:.82rem}.mobile-studio{display:block}.account-chip{min-height:40px;padding:3px}.account-chip>span,.account-chip>div{display:none}.account-chip button{width:34px;height:34px}.studio-brand{background:0 0;border:0;min-height:40px;padding:4px}.studio-brand:hover{background:0 0;transform:none}.studio-copy{display:none}.studio-logo{width:32px;height:32px}.avatar{width:40px;height:40px}.dashboard-toolbar{gap:12px;display:grid}.vehicle-selector{max-width:none;min-height:82px;padding:13px}.vehicle-symbol{width:54px;height:54px}.vehicle-symbol svg{width:28px;height:28px}.vehicle-copy strong{font-size:1rem}.vehicle-copy small{font-size:.73rem}.add-button{min-height:50px}.stats-grid{grid-template-columns:repeat(3,1fr);gap:8px;margin-bottom:28px}.stat-card{text-align:center;grid-template-columns:1fr;place-items:center;gap:6px;min-height:104px;padding:13px 8px}.stat-icon{width:37px;height:37px}.stat-icon svg{width:19px;height:19px}.stat-value{font-size:1.5rem}.stat-label{grid-column:auto;margin:0;font-size:.64rem}.section-heading{align-items:center}.section-heading h2{font-size:1.2rem}.section-count{display:none}.deadline-row{grid-template-columns:auto 1fr auto auto;gap:12px;min-height:76px;padding:12px}.deadline-icon{width:42px;height:42px}.deadline-name{font-size:.95rem}.deadline-days{text-align:right;gap:0;display:grid}.deadline-days strong{font-size:1.35rem}.deadline-days small{font-size:.58rem}.deadline-date,.deadline-row>svg{display:none}.view-section{padding-top:2px}.view-section .section-heading{align-items:flex-end}.view-section .button{min-height:42px;padding:0 13px;font-size:.75rem}.vehicles-grid{grid-template-columns:1fr}.vehicle-card{grid-template-columns:auto 1fr;min-height:126px;padding:17px}.vehicle-card-status{grid-column:1/-1;grid-template-columns:1fr auto;place-items:center start;width:100%}.vehicle-card-icon{width:50px;height:50px}.table-card{background:0 0;border:0}.table-row{border:1px solid var(--line);background:var(--surface);border-radius:12px;grid-template-columns:auto 1fr auto;gap:12px;margin-bottom:9px;padding:12px}.table-row .deadline-icon{grid-row:1/3}.days-badge{min-width:auto}.table-date{grid-column:2}.row-actions{grid-area:2/3}.settings-card{min-height:auto;padding:20px}.alert-history-row{grid-template-columns:auto minmax(0,1fr)}.history-alert-meta{grid-area:2/2;justify-items:start}.history-alert-meta time{white-space:normal}.family-view .section-heading{align-items:center}.read-only-pill{min-height:34px;padding:0 10px;font-size:.62rem}.invite-form-card .form-grid,.access-lists{grid-template-columns:1fr}.access-item{grid-template-columns:auto minmax(0,1fr) auto}.viewer-badge,.pending-badge{grid-column:2;width:fit-content}.access-item .mini-action{grid-area:1/3/3}.access-gate-card,.invite-card{padding:27px 20px}.form-grid.two-columns{grid-template-columns:1fr}.full-field{grid-column:auto}.modal-backdrop{align-items:end;padding:0}.modal{border-width:1px 0 0;border-radius:22px 22px 0 0;width:100%;max-height:92vh;padding:22px 18px 26px;overflow-y:auto}.form-actions{border-top:1px solid var(--line);background:#0d2032;margin:5px -18px -26px;padding:14px 18px 18px;position:sticky;bottom:-26px}.form-actions .button{flex:1;padding:0 12px}.toast{justify-content:center;bottom:86px;left:17px;right:17px}.mobile-nav{z-index:50;border-top:1px solid var(--line);padding:7px max(8px, env(safe-area-inset-right)) max(7px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));-webkit-backdrop-filter:blur(18px);backdrop-filter:blur(18px);background:#06121ff2;grid-template-columns:repeat(4,1fr);display:grid;position:fixed;inset:auto 0 0}.mobile-nav.admin{grid-template-columns:repeat(5,1fr)}.mobile-nav.viewer{grid-template-columns:repeat(3,1fr)}.mobile-nav button{flex-direction:column;justify-content:center;gap:4px;min-height:54px;padding:4px;font-size:.6rem}.mobile-nav button svg{width:20px;height:20px}.mobile-nav button.active{color:var(--primary);background:#1e9bff1c}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}
