:root{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#182331;background:#e9eef4;font-synthesis:none;--blue:#0878fa;--muted:#758194}*{box-sizing:border-box}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0}button:disabled{opacity:.5}#app{max-width:520px;margin:auto;min-height:100dvh;background:#f3f5f8;padding-bottom:calc(90px + env(safe-area-inset-bottom))}.top{display:flex;align-items:center;justify-content:space-between;padding:calc(18px + env(safe-area-inset-top)) 22px 16px;color:white;background:#142333}.top h1{font-size:20px;margin:0}.top button{background:transparent;color:inherit;font-weight:650}.plus{font-size:26px!important;background:var(--blue)!important;width:38px;height:38px;border-radius:50%;color:white}.hero{background:radial-gradient(ellipse at 60% 30%,#637e91,#152839 75%);color:white;padding:10px 22px 24px;position:relative}.hero img{width:100%;height:155px;object-fit:contain;display:block;filter:drop-shadow(0 14px 9px #0004)}.hero.hasphoto img{object-fit:cover;border-radius:16px}.hero h2{margin:8px 0;font-size:25px;letter-spacing:-.8px}.hero p{font-size:13px;color:#d2dde6;margin:8px 0 0}.plate{display:inline-flex;background:white;border:1px solid #a9b4c3;border-radius:5px;color:#121b28;font-size:16px;font-weight:750;overflow:hidden;align-items:center;letter-spacing:1px}.plate b{background:#0864d9;color:white;font-size:10px;padding:5px;margin-right:7px;letter-spacing:0}.plate span{padding-right:8px}.content{padding:14px 14px 0}.card{background:#fff;border-radius:19px;padding:18px;margin-bottom:12px;box-shadow:0 3px 12px #14233304}.mileage{display:flex;justify-content:space-between;align-items:center;gap:8px}.mileage strong{display:block;font-size:28px;letter-spacing:-1px;margin:5px 0}.label,small{font-size:12px;color:var(--muted)}.primary{background:var(--blue);color:white;border-radius:12px;padding:13px 17px;font-weight:650;min-height:44px}.secondary{background:#e9f2ff;color:#0670eb;border-radius:12px;padding:12px 15px;font-weight:600;min-height:44px}.wide{width:100%;margin-top:12px}.section{display:flex;justify-content:space-between;align-items:center;padding:10px 5px}.section h3{font-size:17px;margin:0}.link{color:var(--blue);background:none;padding:10px}.item{display:flex;align-items:center;width:100%;text-align:left;gap:12px;background:white;padding:17px 13px;border-radius:17px;margin:9px 0;color:inherit}.symbol{width:44px;height:44px;border-radius:14px;background:#eef4ff;display:grid;place-items:center;font-size:25px;flex-shrink:0}.item .info{flex:1;min-width:0}.item strong{font-size:15px;display:block;margin-bottom:5px}.item small{display:block;line-height:1.5;font-size:11px}.status{text-align:right;max-width:120px;font-size:14px;font-weight:700}.green{color:#158042}.amber{color:#ae6806}.red{color:#db3542}.gray{color:#7b8697}.chevron{color:#9ba5b3}.nav{position:fixed;bottom:0;width:100%;max-width:520px;background:#ffffffed;backdrop-filter:blur(18px);border-top:1px solid #e4e8ed;display:flex;padding:10px 3px calc(12px + env(safe-area-inset-bottom));z-index:5}.nav button{flex:1;background:none;color:#667082;display:grid;justify-items:center;gap:5px;font-size:10px;min-height:44px}.nav button.active{color:var(--blue);font-weight:700}.nav svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.empty{text-align:center;padding:36px 22px}.empty h2{font-size:24px;letter-spacing:-.6px}.empty p{color:var(--muted);line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;color:#90a2b6}.vehicle{display:flex;align-items:center;text-align:left;width:100%;gap:14px;border:1px solid transparent;color:inherit}.vehicle.selected{border-color:#6ba8ff;background:#f1f7ff}.vehicle img{width:105px;height:75px;object-fit:contain}.vehicle strong{display:block;margin-bottom:9px}.pills{display:flex;gap:6px;overflow:auto;padding-bottom:13px}.pills button{padding:9px 13px;border-radius:20px;background:#e8edf3;white-space:nowrap;font-size:13px}.pills .active{color:#fff;background:var(--blue)}.note p{white-space:pre-wrap;font-size:14px;line-height:1.5}.note h3{font-size:17px}.row{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf0f5;padding:14px 0;font-size:14px}.row:last-child{border:0}.row span:first-child{color:var(--muted)}.row button{background:none;color:var(--blue);overflow-wrap:anywhere;text-align:right}.badge{padding:18px;background:#e4f5ea;border-radius:14px;text-align:center;font-size:22px;font-weight:700}.badge.amber{background:#fff1d9}.badge.red{background:#ffeaed}.badge.gray{background:#edf0f3}dialog{border:0;border-radius:24px 24px 0 0;max-width:520px;width:100%;max-height:92dvh;padding:0;margin:auto auto 0;color:#182331;background:#f5f7fa}dialog::backdrop{background:#10203188;backdrop-filter:blur(3px)}.modalhead{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;background:white;position:sticky;top:0;z-index:1}.modalhead h2{font-size:18px;margin:0}.modalbody{padding:18px 20px calc(24px + env(safe-area-inset-bottom))}label{font-size:13px;display:block;margin:13px 0 6px;color:#526175}input,select,textarea{width:100%;border:1px solid #d6dfe9;border-radius:10px;padding:12px;background:white;color:#172538;min-height:46px;font-size:16px}input:focus,textarea:focus,select:focus{outline:2px solid #94c2ff;border-color:var(--blue)}textarea{min-height:90px;resize:vertical}.grid{display:grid;grid-template-columns:1fr 1fr;gap:0 12px}.check{display:flex;align-items:center;gap:10px;background:white;padding:10px;border-radius:10px}.check input{width:20px;min-height:20px}.hint{font-size:12px;line-height:1.6;color:var(--muted)}.error{color:#bb2039;background:#ffedf0;padding:12px;border-radius:10px;margin:10px 0;display:none}.error.show{display:block}#toast{position:fixed;bottom:110px;left:50%;transform:translateX(-50%);background:#172533;color:#fff;border-radius:13px;padding:14px 20px;z-index:30;display:none;max-width:90%;font-size:14px}.login{padding:80px 25px 30px}.login h1{font-size:34px;letter-spacing:-1.3px}.login p{color:var(--muted);line-height:1.6}.loading{text-align:center;padding:80px}.photo-label{color:var(--blue);padding:12px;background:#e9f2ff;border-radius:12px;text-align:center;cursor:pointer}.photo-label input{display:none}.danger{color:#c93246}.offline{background:#fff0d4;color:#875918;padding:10px;text-align:center;font-size:13px}@media(min-width:600px){#app{box-shadow:0 0 80px #15233418}.hero img{height:175px}}

.symbol svg{width:30px;height:30px;fill:none;stroke:#f59a18;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.hero .link{color:#8dc3ff}.status{max-width:100px;font-size:13px}.blue{color:var(--blue)}

/* Reference UI: pale cards, coloured outline icons, fixed top and bottom. */
:root{color:#111722;--blue:#0064e8;--muted:#707987;background:#eef1f5}button{font-weight:500}.art{width:26px;height:26px;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round;flex:none}.chevron .art{width:17px;height:20px;stroke-width:3}.art *{vector-effect:non-scaling-stroke}.nav .art *{vector-effect:none}.nav .art{width:28px;height:28px;stroke-width:3}.nav button.active:first-child .art{fill:currentColor;stroke-width:2}.nav{background:#f7f9fcf2}.nav button{font-size:11px;gap:6px;color:#555e6c}.nav button.active{color:#0064e8}.nav button:focus-visible,.item:focus-visible,.vehicle-summary:focus-visible{outline:2px solid #0064e8;outline-offset:-3px}.top{background:#f6f8fb;color:#121720}.top .plus{color:white}.add-car-label{display:none}.circle-plus{display:grid;place-items:center}.circle-plus .art{width:23px;height:23px;stroke-width:2}
.plate{height:27px;border:1.5px solid #161a20;border-radius:4px;letter-spacing:.8px;font-size:20px;font-weight:700;line-height:1;background:#fff;white-space:nowrap;max-width:100%}.plate .plate-country{width:18px;align-self:stretch;flex:none;background:#005bc8;display:flex;flex-direction:column;align-items:center;justify-content:center;color:white;margin:0;padding:0}.plate .plate-country b{font-size:9px;background:none;margin:0;padding:0;font-weight:600;line-height:10px}.plate .eu-stars{color:#ffdf5b;font-size:10px;padding:0;line-height:9px}.plate .plate-number{padding:0 8px;overflow:hidden;text-overflow:ellipsis}.plate>b{margin:0}
body.home-fixed{height:100dvh;overflow:hidden;overscroll-behavior:none}.home-fixed #app{height:100dvh;min-height:0;overflow:hidden;padding-bottom:0;display:flex;flex-direction:column;background:linear-gradient(120deg,#f5f7fb,#f0f3f7)}
.home-fixed .top{flex:none;background:transparent;color:#111722;padding:calc(11px + env(safe-area-inset-top)) 20px 9px;min-height:58px}.home-fixed .top h1{font-size:19px;font-weight:700}.home-fixed .car-switch{display:flex;gap:13px;align-items:center;padding:0;min-height:38px}.car-switch .art{width:22px;height:22px;stroke:#0064e8;stroke-width:3}.home-fixed .top .plus{display:flex;gap:7px;align-items:center;width:auto;height:36px;background:none!important;color:#005ccc;font-size:15px!important;font-weight:600}.home-fixed .plus .circle-plus{width:24px;height:24px;border-radius:50%;background:linear-gradient(#1684f5,#0056c5);box-shadow:inset 0 0 0 1px #0054bb;color:#fff}.home-fixed .add-car-label{display:block}
.home-vehicle{flex:none;padding:0 12px 8px}.vehicle-summary{width:100%;display:flex;gap:8px;align-items:center;background:linear-gradient(120deg,#fff,#fff 70%,#fdfefe);border:1px solid #eef1f5;border-radius:17px;padding:10px 12px 10px 8px;text-align:left;color:inherit;box-shadow:0 3px 13px #25334b04;min-height:100px}.vehicle-summary img{width:41%;height:88px;object-fit:contain;border-radius:0;mix-blend-mode:multiply}.vehicle-summary .vehicle-title{flex:1;min-width:0;display:block}.vehicle-summary h2{font-size:17px;margin:0 0 7px;letter-spacing:-.45px;line-height:1.15;font-weight:720;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.vehicle-meta{color:#5b6472;font-size:12px;margin:6px 0 0;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.vehicle-summary .chevron{margin-left:0;color:#969eaa}
.home-mileage{flex:none;padding:0 12px 8px}.home-mileage .card{margin:0;padding:12px 10px;gap:9px;min-height:85px;border:1px solid #eef1f5;border-radius:17px;background:linear-gradient(110deg,#fff,#fdfefe)}.mileage .gauge{display:grid;place-items:center;flex:0 0 39px;color:#252e3b}.gauge .art{width:34px;height:34px;stroke-width:2.5}.mileage-info{flex:1;min-width:0}.home-mileage .label{font-size:12px;line-height:1.2;color:#1a202a;display:block;white-space:nowrap;letter-spacing:-.2px}.home-mileage .mileage strong{font-size:25px;letter-spacing:-.5px;margin:3px 0 4px;font-weight:740;white-space:nowrap}.mileage strong>span{font-size:21px}.home-mileage .mileage small{font-size:10px;letter-spacing:0;color:#727b89;display:block}.home-mileage .secondary{font-size:13px;padding:10px 9px;display:flex;align-items:center;gap:5px;border-radius:13px;min-height:39px;white-space:nowrap;background:#e4efff;color:#005bda}.home-mileage .secondary .art{width:17px;height:17px;stroke-width:2.4}
.home-fixed .maintenance-scroll{flex:1;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch;padding:0 12px 8px;scrollbar-width:none}.maintenance-scroll::-webkit-scrollbar{display:none}.maintenance-scroll .item{margin:0 0 7px;padding:10px 10px 10px 7px;gap:7px;min-height:74px;border:1px solid #edf0f4;border-radius:16px;background:linear-gradient(120deg,#fff,#fff 65%,#fcfdfd);box-shadow:0 2px 9px #25334b03}.symbol{background:transparent;color:#596678}.maintenance-scroll .symbol{width:43px;height:48px;display:grid;place-items:center;flex:0 0 43px;border-radius:50%}.symbol .art{width:35px;height:38px;stroke:currentColor;stroke-width:2.1}.symbol-oil{color:#ff9500;background:radial-gradient(#fff6e9,transparent 73%)}.symbol-coolant{color:#0075ef;background:radial-gradient(#ecf6ff,transparent 73%)}.symbol-brake{color:#ff4554;background:radial-gradient(#fff0f1,transparent 73%)}.symbol-inspection{color:#6350da;background:radial-gradient(#f2efff,transparent 73%)}.symbol-filter{color:#0d8756;background:radial-gradient(#eaf9ef,transparent 73%)}.symbol-tyre{color:#29323e;background:radial-gradient(#f1f3f6,transparent 73%)}.symbol-battery{color:#e6a21a}.symbol-belt,.symbol-spark{color:#697e94}
.maintenance-scroll .info{min-width:0;flex:1;display:block}.maintenance-scroll .info strong{font-size:14px;letter-spacing:-.22px;margin:0 0 4px;line-height:1.15;font-weight:700}.maintenance-scroll .info small{font-size:10px;line-height:1.45;color:#626c7a;display:block}.maintenance-scroll .status{max-width:94px;flex:0 0 80px;font-size:13px;text-align:right;display:flex;flex-direction:column;gap:3px;line-height:1.2}.status b{font-weight:700}.status>span{font-weight:400;font-size:12px}.status.green{color:#087737}.status.red{color:#ff343c}.status.amber{color:#b56b00}.status.gray{color:#929ba7}.item-disabled .info strong{text-decoration:line-through;color:#939ba8}.item-disabled .symbol{opacity:.35}.item-disabled .info small{color:#a0a7b1}.list-tools{display:flex;justify-content:space-between;gap:5px}.list-tools .link{display:flex;align-items:center;gap:5px;font-size:12px;min-height:44px}.list-tools .art{width:19px;height:19px}.list-help{padding:0 7px;font-size:11px}
.home-actions{flex:none;display:flex;gap:10px;padding:8px 12px 10px;background:linear-gradient(120deg,#f5f7fb,#f0f3f7)}.home-actions button{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;padding:11px 7px;border-radius:15px;min-height:45px;font-weight:650;white-space:nowrap}.home-actions .art{width:25px;height:25px;stroke-width:2.2}.home-actions .secondary{background:#dfedff;color:#005bdd}.home-actions .secondary .art{fill:#0767df;stroke:white;stroke-width:1.4}.home-actions .secondary .art path{stroke:#fff}.home-actions .secondary .art rect{stroke:#0767df}.add-note{background:#dbf1e1;color:#066e30}.home-actions .add-note .art{width:28px;height:28px}.home-fixed .nav{position:static;flex:none;width:100%;padding:8px 3px calc(9px + env(safe-area-inset-bottom));border-top:1px solid #e4e8ed}.home-fixed .nav button{min-height:43px}
.item-help{display:flex;gap:12px;align-items:flex-start;padding:14px;background:#fff;border-radius:15px}.item-help .symbol{flex:0 0 40px}.item-help p{font-size:13px;line-height:1.6;margin:0;color:#566272}.detail-service{display:grid;place-items:center;padding:24px}.detail-service .art{width:72px;height:72px;stroke-width:2.5}.mileage-dialog{text-align:center;display:grid;justify-items:center;gap:8px;padding:14px 0 22px}.mileage-dialog .art{width:56px;height:56px;color:#566272}.mileage-dialog strong{font-size:30px}.mileage-dialog small{font-size:13px}.copy-value{display:flex;align-items:center;gap:8px}.copy-value .art{width:18px;height:18px}.detail-photo{display:grid;place-items:center;min-height:120px}.detail-photo img{max-width:100%;max-height:260px;object-fit:contain}.photo-credit{font-size:10px;color:#7d8794;line-height:1.6}.photo-credit a{color:#607899}.photo-actions{display:flex;gap:8px;align-items:stretch}.photo-actions>*{flex:1;margin:0;font-size:12px}.photo-actions .secondary{display:flex;align-items:center;gap:6px}.photo-actions .art{width:22px;height:22px}.photo-missing{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-height:80px;flex:0 0 41%;color:#8da0b6;background:#f0f5fc;border-radius:12px}.photo-missing .art{width:32px;height:32px}.photo-missing small{font-size:10px;text-align:center;line-height:1.4}.vehicle .photo-missing{flex-basis:105px}.image-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.photo-choice{background:#fff;border:1px solid #dee6f0;border-radius:14px;padding:8px;text-align:left;width:100%;color:inherit;display:block;margin:10px 0}.photo-choice img{width:100%;height:115px;object-fit:contain;display:block}.photo-choice span,.photo-choice strong{font-size:12px;display:block;overflow-wrap:anywhere}.photo-choice small{display:block;font-size:11px;margin-top:5px}.photo-option>small{font-size:9px;display:block;overflow-wrap:anywhere}.photo-option a{color:#587698}
@media(max-width:370px){.home-fixed .top{padding-left:16px;padding-right:16px}.vehicle-summary h2{font-size:16px}.home-mileage .label{white-space:normal;font-size:11px}.home-mileage .mileage strong{font-size:22px}.mileage .gauge{flex-basis:29px}.gauge .art{width:27px}.home-mileage .mileage small{font-size:9px}.home-mileage .secondary{font-size:12px;padding:9px 7px}.home-mileage .secondary .art{display:none}.maintenance-scroll .symbol{width:36px;flex-basis:36px}.symbol .art{width:30px}.maintenance-scroll .info strong{font-size:13px}.maintenance-scroll .status{flex-basis:71px;font-size:12px}.home-actions button{font-size:11px;gap:4px}.home-actions .art{width:20px}}
@media(max-height:650px){.home-fixed .top{padding-top:calc(4px + env(safe-area-inset-top));padding-bottom:4px;min-height:44px}.vehicle-summary{min-height:80px;padding-top:6px;padding-bottom:6px}.vehicle-summary img{height:66px}.home-mileage .card{min-height:72px;padding-top:7px;padding-bottom:7px}.home-actions{padding-top:4px;padding-bottom:5px}.home-fixed .nav{padding-top:5px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}}
.symbol-wiper,.symbol-washer{color:#168ac6;background:radial-gradient(#ebf6ff,transparent 73%)}.symbol-light{color:#e8a112}.symbol-calendar{color:#7459c7}

#maintenance-print{display:none}
@media print{
 @page{size:A4;margin:14mm}
 html,body,body.home-fixed{position:static!important;height:auto!important;min-height:0!important;overflow:visible!important;background:white!important;color:black!important;display:block!important}
 body>*{display:none!important}
 body>#maintenance-print{display:block!important;font:10pt/1.4 Arial,sans-serif;color:#111;background:white;width:auto;margin:0;padding:0}
 #maintenance-print h1{font-size:20pt;margin:0 0 12pt}
 #maintenance-print h2{font-size:14pt;margin:16pt 0 8pt;break-after:avoid}
 #maintenance-print h3{font-size:11pt;margin:10pt 0 4pt;break-after:avoid}
 #maintenance-print p{margin:5pt 0 9pt}
 #maintenance-print table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:9pt}
 #maintenance-print th,#maintenance-print td{border:1px solid #aaa;padding:6pt;vertical-align:top;text-align:left;overflow-wrap:anywhere}
 #maintenance-print thead{display:table-header-group}
 #maintenance-print tr{break-inside:avoid}
 #maintenance-print .print-note{white-space:pre-wrap;overflow-wrap:anywhere}
}

/* Alpine reference layout: shared landscape, independent vehicle and live text. */
@media screen{
 .home-fixed #app{background:#f2f4f7}
 .hero-scene{flex:none;height:clamp(275px,39dvh,340px);position:relative;background:#9ec3dc url('alpine-road.webp?v=1') center 42%/cover no-repeat;isolation:isolate}
 .hero-scene::after{content:"";position:absolute;inset:35% 0 0;z-index:-1;background:linear-gradient(transparent 0%,#12233366 52%,#142435 100%)}
 .home-fixed .hero-scene .top{position:relative;z-index:2;min-height:58px;padding:calc(12px + env(safe-area-inset-top)) 20px 6px;background:linear-gradient(#dcecf866,transparent)}
 .home-fixed .car-switch{gap:8px;font-size:18px;color:#152333;text-shadow:0 1px 6px #ffffff80}
 .car-switch>.art{width:14px;height:14px;stroke:#233343}
 .switch-icon{display:grid;place-items:center;width:33px;height:33px;border-radius:10px;background:#203c50;color:white;box-shadow:0 3px 8px #12233326}
 .switch-icon .art{width:25px;height:25px;stroke:white;stroke-width:2.3}
 .home-fixed .hero-scene .top .plus{width:36px;height:36px;justify-content:center;border-radius:50%;background:#0673f9!important;box-shadow:0 4px 15px #0865e83b}
 .home-fixed .hero-scene .plus .circle-plus{width:25px;height:25px;background:none;box-shadow:none}
 .home-fixed .hero-scene .add-car-label{display:none}
 .hero-scene .home-vehicle{position:absolute;inset:62px 0 0;padding:0}
 .hero-scene .vehicle-summary{position:relative;width:100%;height:100%;display:block;padding:0;border:0;border-radius:0;background:none;box-shadow:none;color:white}
 .hero-car{display:block;position:absolute;inset:0 14px 80px 40px}
 .hero-scene .hero-car img{width:100%;height:100%;object-fit:contain;mix-blend-mode:normal;filter:drop-shadow(0 10px 6px #07182770);border-radius:0}
 .hero-scene .hero-car.personal-photo{inset:1px 24px 96px 70px}
 .hero-scene .personal-photo img{object-fit:cover;border-radius:15px;box-shadow:0 6px 24px #10203155;filter:none}
 .hero-scene .hero-car .photo-missing{height:100%;background:#10293d33;color:white;border:1px dashed #ffffff80}
 .hero-scene .hero-car .photo-missing small{color:white}
 .hero-scene .vehicle-title{position:absolute;left:22px;right:65px;bottom:23px}
 .hero-scene .vehicle-summary h2{font-size:24px;line-height:1.1;font-weight:750;margin:0 0 7px;letter-spacing:-.65px;display:block;text-shadow:0 2px 5px #0005}
 .hero-scene .vehicle-meta{font-size:13px;line-height:1.3;color:#f1f5fa;margin-top:6px;font-weight:550}
 .hero-scene .plate{height:25px;font-size:18px;border-color:#ecf0f4;box-shadow:0 1px 3px #0003}
 .hero-edit{position:absolute;right:18px;bottom:28px;display:grid;justify-items:center;gap:5px;color:#dce8f6;font-size:9px}
 .hero-edit .art{width:23px;height:23px}
 .home-fixed .mileage-panel{position:relative;margin-top:-12px;border-radius:25px 25px 0 0;background:#f2f4f7;padding:9px 10px 0}
 .mileage-panel .card{border-radius:19px;min-height:91px;padding:13px 11px;box-shadow:0 2px 8px #1b345008}
 .mileage-panel .gauge{flex-basis:39px;color:#41536a}.mileage-panel .gauge .art{width:37px;height:37px}
 .mileage-panel .mileage strong{font-size:28px;color:#111a25;margin:4px 0}
 .mileage-panel .label{font-size:11px;white-space:normal}
 .mileage-panel .secondary{background:linear-gradient(145deg,#168bff,#0060e8);color:white;box-shadow:0 4px 12px #0874ef2e;min-height:43px;padding:11px 12px}
 .maintenance-heading{flex:none;display:flex;align-items:center;justify-content:space-between;padding:1px 16px;gap:8px;min-height:43px}
 .maintenance-heading h2{font-size:14px;font-weight:700;margin:0;color:#506077}
 .maintenance-heading .link{display:flex;align-items:center;gap:5px;min-height:44px;font-size:12px;font-weight:600;padding:7px 0}
 .maintenance-heading .art{width:17px;height:17px}
 .home-fixed .maintenance-scroll{padding:0 10px 10px}
 .maintenance-scroll .item{min-height:91px;border-radius:19px;padding:12px 9px;margin-bottom:8px;gap:9px;border:1px solid #eef1f4;box-shadow:0 2px 5px #1e345005}
 .maintenance-scroll .symbol{width:44px;height:50px;flex-basis:44px}
 .maintenance-scroll .info strong{font-size:15px;margin-bottom:5px}
 .maintenance-scroll .info small{font-size:10px;line-height:1.5}
 .maintenance-scroll .status{flex-basis:79px;max-width:88px;font-size:14px}
 .maintenance-scroll .status>span{font-size:11px}
 .maintenance-scroll .symbol-oil{background:#fff5e7;color:#ff9608}
 .maintenance-scroll .symbol-coolant{background:#ebf4ff;color:#0073f9}
 .maintenance-scroll .symbol-brake{background:#fff0f1;color:#ff344c}
 .maintenance-scroll .home-actions{padding:6px 0;background:none}
 .home-fixed .nav{background:#fcfdff;border-color:#e6eaf0;box-shadow:0 -2px 10px #20344803;padding-top:9px}
 .list-tools{flex-wrap:wrap}
}
@media screen and (max-width:370px){
 .hero-scene .vehicle-summary h2{font-size:21px}.hero-scene .vehicle-title{left:17px;right:56px}
 .home-fixed .car-switch{font-size:16px}.home-fixed .hero-scene .top{padding-left:16px;padding-right:16px}
 .mileage-panel .mileage strong{font-size:23px}.mileage-panel .gauge{flex-basis:30px}.mileage-panel .gauge .art{width:29px;height:29px}
 .mileage-panel .secondary{font-size:12px;padding:10px 8px}.maintenance-scroll .info strong{font-size:13px}
 .maintenance-scroll .symbol{width:35px;flex-basis:35px}.maintenance-scroll .status{flex-basis:68px;font-size:12px}.maintenance-scroll .item{gap:6px}
}
@media screen and (max-height:700px){
 .hero-scene{height:245px}.hero-scene .home-vehicle{top:52px}.hero-car{bottom:78px}
 .home-fixed .hero-scene .top{min-height:49px;padding-top:calc(6px + env(safe-area-inset-top))}
 .hero-scene .vehicle-summary h2{font-size:21px}.hero-scene .vehicle-title{bottom:20px}
 .mileage-panel .card{min-height:78px;padding-top:9px;padding-bottom:9px}.maintenance-scroll .item{min-height:82px}
}
@media screen{
 .maintenance-scroll .item{position:relative;display:grid;grid-template-columns:44px minmax(0,1fr) 14px;column-gap:9px;row-gap:2px;align-content:center}
 .maintenance-scroll .item .symbol{grid-column:1;grid-row:1/4;align-self:center}
 .maintenance-scroll .item .info{display:contents}
 .maintenance-scroll .item .info strong{grid-column:2;grid-row:1;padding-right:100px;line-height:1.25;margin-bottom:4px}
 .maintenance-scroll .item .info small{grid-column:2;line-height:1.5;font-size:10px}
 .maintenance-scroll .item .status{position:absolute;right:29px;top:14px;max-width:103px;display:block;line-height:1.25}
 .maintenance-scroll .item .status b{font-size:13px}.maintenance-scroll .item .status>span{font-size:12px;margin-left:4px}
 .maintenance-scroll .item>.chevron{grid-column:3;grid-row:1/4;align-self:center}
 .hero-scene .hero-car{inset:0 8px 77px 30px}
 .hero-scene .hero-car.personal-photo{inset:1px 24px 96px 70px}
}
@media screen and (max-width:370px){
 .maintenance-scroll .item{grid-template-columns:35px minmax(0,1fr) 13px;column-gap:6px}
 .maintenance-scroll .item .info strong{padding-right:88px}
 .maintenance-scroll .item .status{max-width:89px;right:27px}
 .maintenance-scroll .item .status b,.maintenance-scroll .item .status>span{font-size:11px}
}

.photo-mirrored{transform:scaleX(-1)}
@media screen{.maintenance-scroll .item .info strong{overflow-wrap:anywhere}.hero-scene .hero-car .photo-missing{min-height:0}.hero-scene .hero-car .photo-missing small{font-size:10px}}

.registration-section{padding:16px 0;margin:8px 0;border-block:1px solid #dce3ec}
.registration-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.registration-grid article{min-width:0;background:#f2f5f9;border-radius:14px;padding:10px}
.registration-grid strong{display:block;font-size:14px;margin-bottom:8px}
.registration-grid .photo-label{display:flex;align-items:center;justify-content:center;font-size:13px;gap:4px;padding:10px 4px;margin-top:6px;text-align:center}
.registration-grid svg{width:20px;height:20px;flex-shrink:0}
.registration-thumb{width:100%;padding:0;background:white;border:0;border-radius:8px;overflow:hidden}
.registration-thumb img{width:100%;height:100px;object-fit:contain;display:block}
.registration-thumb span{font-size:11px;display:block;padding:5px}
.registration-empty{height:127px;display:grid;place-items:center;font-size:13px;color:#596779}
.document-dialog{width:min(100vw,1000px);max-width:100vw;height:95dvh;max-height:95dvh;padding:16px;border:0;border-radius:16px;box-sizing:border-box}
.document-dialog[open]{display:flex;flex-direction:column;gap:10px}
.document-dialog header{display:flex;align-items:center;justify-content:space-between;gap:8px}
.document-dialog h2{font-size:18px;margin:0}
.document-dialog button,.document-dialog a{min-height:44px}
.document-message{font-size:13px;margin:0}
.document-tools{display:flex;flex-wrap:wrap;gap:8px}
.document-tools .photo-label{margin:0;padding:10px}
.document-scroll{flex:1;min-height:0;overflow:auto;background:#18222d;border-radius:8px}
.document-scroll img{display:block;width:100%;max-width:none;height:auto}
.document-scroll.zoom-2 img{width:200%}
.document-scroll.zoom-3 img{width:300%}
@media print{.document-dialog,.registration-section{display:none!important}}

/* Compact layout: half-height hero and closer spacing, with 44px controls. */
@media screen{
 .hero-scene{height:clamp(145px,19.5dvh,170px)}
 .home-fixed .hero-scene .top{min-height:44px;padding:calc(4px + env(safe-area-inset-top)) 12px 2px}
 .home-fixed .car-switch{font-size:16px}
 .hero-scene .home-vehicle{inset:46px 0 0}
 .hero-scene .vehicle-summary{min-height:0}
 .hero-scene .hero-car,.hero-scene .hero-car.personal-photo{inset:0 8px 12px 47%}
 .hero-scene .vehicle-title{left:12px;right:49%;bottom:17px;text-align:left}
 .hero-scene .vehicle-summary h2{font-size:17px;line-height:1.15;margin-bottom:5px;letter-spacing:-.3px;overflow-wrap:anywhere}
 .hero-scene .vehicle-meta{font-size:11px;margin-top:4px}
 .hero-scene .plate{height:22px;font-size:15px}
 .hero-edit{right:10px;bottom:8px}
 .hero-edit .art{width:17px;height:17px}
 .hero-edit span{display:none}
 .home-fixed .mileage-panel{margin-top:-7px;padding:5px 8px 0;border-radius:16px 16px 0 0}
 .mileage-panel .card{min-height:72px;padding:8px 10px;border-radius:13px}
 .home-mileage .mileage strong{font-size:25px;margin:2px 0}
 .maintenance-heading{min-height:38px;padding:0 12px}
 .home-fixed .maintenance-scroll{padding:0 8px 8px}
 .maintenance-scroll .item{min-height:75px;padding:8px;margin:0 0 5px;border-radius:13px}
 .maintenance-scroll .item .info strong{margin-bottom:2px}
 .home-fixed .nav{padding-top:4px;padding-bottom:calc(5px + env(safe-area-inset-bottom))}
 .content{padding:10px 10px 0}
 .card{padding:12px;margin-bottom:8px;border-radius:14px}
 .wide{margin-top:8px}
 .row{padding:9px 0}
 .modalhead{padding:10px 14px}
 .modalbody{padding:10px 14px calc(14px + env(safe-area-inset-bottom))}
 label{margin:9px 0 4px}
 input,select,textarea{padding:10px;min-height:44px}
 .login{padding:30px 20px 20px}
 .login h1{margin:14px 0;font-size:30px}
 .login h2{font-size:21px;margin:12px 0}
 .login p{margin:8px 0;line-height:1.4}
 .registration-section{padding:10px 0;margin:6px 0}
 .registration-grid{gap:8px}
 .detail-photo img{max-height:150px}
 .settings-row{display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;min-height:56px;color:inherit}
 .settings-row small{display:block;margin-top:3px}
 .account-settings .danger{min-height:44px}
}
@media screen{
 .maintenance-scroll .item{grid-template-columns:35px minmax(0,1fr) 88px 12px;column-gap:6px}
 .maintenance-scroll .item .info strong{grid-column:2;grid-row:1;padding-right:0}
 .maintenance-scroll .item .info small{grid-column:2/4}
 .maintenance-scroll .item .status{position:static;grid-column:3;grid-row:1;max-width:88px;align-self:start;text-align:right}
 .maintenance-scroll .item>.chevron{grid-column:4}
}

/* A chosen photograph replaces the default landscape completely. */
@media screen{
 .hero-scene.has-selected-photo{background:#152333}
 .hero-scene.has-selected-photo::after{display:none}
 .hero-scene.has-selected-photo .home-vehicle{inset:0}
 .hero-scene.has-selected-photo .hero-car.personal-photo{inset:0}
 .hero-scene.has-selected-photo .hero-car.personal-photo img{object-fit:contain;width:100%;height:100%;border-radius:0;box-shadow:none;filter:none}
 .hero-scene.has-selected-photo .vehicle-summary::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#081522c9,transparent 65%),linear-gradient(#08152280,transparent 42%)}
 .hero-scene.has-selected-photo .vehicle-title,.hero-scene.has-selected-photo .hero-edit{z-index:1}
 .home-fixed .hero-scene.has-selected-photo .top{background:none}
 .hero-scene.has-selected-photo .car-switch{color:white;text-shadow:0 1px 3px #0008}
 .hero-scene.has-selected-photo .vehicle-title{bottom:16px}
}

.symbol-oil,.maintenance-scroll .symbol-oil{color:#e9b526;background:#fff8df}
.symbol-oil .art{stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.symbol-oil .oil-cap,.symbol-oil .oil-drop{fill:currentColor;stroke-width:1.2}

.symbol-brake,.maintenance-scroll .symbol-brake{color:#e9b526;background:#fff8df}
.symbol-brake .art{fill:none;stroke:currentColor;stroke-width:3;stroke-linecap:butt;stroke-linejoin:round}
.symbol-spark{color:#29323d;background:radial-gradient(#fff6df,transparent 73%)}.symbol-spark .spark-plug{stroke:#202730;stroke-width:2.1;stroke-linejoin:round}.symbol-spark .spark-metal{fill:#bfc6ce}.symbol-spark .spark-ceramic{fill:#f4f5f6}.symbol-spark .spark-gold{fill:#f5a623}.symbol-spark .spark-collar{fill:#d6dbe0}.symbol-spark .spark-terminal{fill:#aeb6bf}
.art-wheel{display:block;object-fit:contain;object-position:center;max-width:100%;max-height:100%;filter:none}
.art-filter-image{display:block;object-fit:contain;object-position:center;max-width:100%;max-height:100%;filter:none}
.art-feature-image{display:block;object-fit:contain;object-position:center;max-width:100%;max-height:100%;filter:none}
.note-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.note-share{display:grid;place-items:center;width:38px;height:38px;min-height:38px;padding:7px;border-radius:50%;background:#edf4ff;color:var(--blue);flex:0 0 38px}.note-share .art{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.legal-page{max-width:760px;margin:0 auto;padding:24px 20px 56px;line-height:1.55}.legal-page h1{font-size:1.8rem;line-height:1.15}.legal-page h2{font-size:1.12rem;margin-top:28px}.legal-page p{max-width:72ch}.account-settings a.settings-row{text-decoration:none;color:inherit}
.language-control{display:flex;align-items:center;justify-content:space-between;gap:12px}.language-control>span{font-weight:700}.language-control select{width:auto;min-width:142px;margin:0;padding:9px 34px 9px 11px}.login-language{margin:0 0 20px;padding:9px 12px;border:1px solid #dce3eb;border-radius:12px;background:#fff}.settings-language{cursor:default}.settings-language select{flex:0 0 auto}

.alert-bell{position:fixed;z-index:18;right:max(12px,calc((100vw - 620px)/2 + 12px));bottom:calc(72px + env(safe-area-inset-bottom));width:42px;height:42px;min-height:42px;padding:0;border:1px solid #d8e0e9;border-radius:50%;background:#fff;color:#778395;display:grid;place-items:center;box-shadow:0 4px 14px #14243824;font-size:19px}
.alert-bell:disabled{opacity:.62;cursor:default}.alert-bell.has-alerts{border-color:#ffb5a8;background:#fff4f1;color:#d93420;box-shadow:0 5px 18px #d9342033}
.alert-bell b{position:absolute;right:-5px;top:-6px;min-width:20px;height:20px;padding:0 4px;border-radius:10px;background:#e03625;color:#fff;border:2px solid #fff;font:700 11px/16px system-ui;text-align:center;box-sizing:border-box}
.alert-car{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto 12px;align-items:center;gap:10px;text-align:left;color:inherit}.alert-car small{display:block;margin-top:3px}.alert-count{min-width:27px;height:27px;border-radius:14px;display:grid;place-items:center;background:#e8edf3;color:#687587}.alert-count.active{background:#e03625;color:white}
.alert-tools{display:grid;grid-template-columns:1fr;gap:7px;margin-top:12px}.alert-tools button{min-width:0;padding:9px 10px;font-size:12px}.alert-tools .art{width:20px;height:20px;vertical-align:middle;margin-right:5px}.alert-task{display:grid;grid-template-columns:42px minmax(0,1fr);gap:10px;align-items:center}.alert-task .symbol{width:38px;height:38px}.alert-task small{display:block;margin-top:4px;color:#596779;line-height:1.35}
.nav-bell{position:relative;display:grid;place-items:center;width:28px;height:28px;font-size:21px;line-height:1}.nav-bell b{position:absolute;right:-8px;top:-7px;min-width:19px;height:19px;padding:0 4px;border-radius:10px;background:#e03625;color:#fff;border:2px solid #fff;font:700 10px/15px system-ui;box-sizing:border-box}.nav button[data-page="alerts"].active .nav-bell{filter:saturate(1.35)}
.alerts-page{padding-top:16px}.alerts-empty{padding-top:70px}.empty-bell{display:block;font-size:43px;filter:grayscale(1);opacity:.45}.alerts-page .alert-tools{margin-bottom:18px}
.admin-nav-icon{width:24px;height:24px;border:2px solid currentColor;border-radius:7px;display:grid;place-items:center;font-size:13px;font-weight:800}.admin-stats{display:grid;grid-template-columns:1fr 1fr;gap:9px}.admin-stats .card{text-align:center}.admin-stats strong{display:block;font-size:30px;color:var(--blue);margin-bottom:5px}.admin-stats span{font-size:12px;color:var(--muted)}.admin-page h2{font-size:18px}.admin-user h3{font-size:15px;margin:0 0 5px;overflow-wrap:anywhere}.admin-user p{margin:5px 0}.admin-user ul{margin:10px 0 0;padding-left:20px}.admin-user li{margin:6px 0;font-size:13px;line-height:1.4}.nav:has(button[data-page="admin"]){padding-left:1px;padding-right:1px}.nav:has(button[data-page="admin"]) button{font-size:8px;gap:3px;min-width:0;padding-inline:0}.nav:has(button[data-page="admin"]) .art{width:23px;height:23px}.nav:has(button[data-page="admin"]) .nav-bell{width:24px;height:24px;font-size:18px}
.admin-search{margin:12px 0 18px}.admin-search>div{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:7px}.admin-search input{min-width:0}.subscription-line{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0}.subscription-status{display:inline-block;padding:5px 9px;border-radius:12px;background:#edf0f4;color:#667181;font-size:12px;font-weight:700}.status-active{background:#e1f5e8;color:#13743c}.status-trial{background:#fff2d8;color:#966006}.status-expired{background:#ffe7e9;color:#b42c3d}.status-admin{background:#e7efff;color:#075fc9}.admin-delete{padding-left:0;margin-top:8px}
.status-lifetime{background:#e9e2ff;color:#643eb3}.admin-user-row{width:100%;display:grid;grid-template-columns:minmax(0,1fr) auto 10px;align-items:center;gap:8px;text-align:left;color:inherit}.admin-user-row strong{display:block;font-size:14px;overflow-wrap:anywhere}.admin-user-row small{display:block;margin-top:5px}.gift-password{font:800 28px/1.2 ui-monospace,monospace;letter-spacing:4px;text-align:center;background:#eaf2ff;color:#075fc9;padding:16px;border-radius:12px}.admin-vehicle-list{padding-left:20px}.admin-vehicle-list li{margin:7px 0}
.promo-code-list{height:218px;overflow-y:auto;overscroll-behavior:contain;padding:2px 3px 2px 1px;scrollbar-gutter:stable}.promo-row{width:100%;min-height:68px;display:grid;grid-template-columns:minmax(0,1fr) 12px;align-items:center;gap:8px;text-align:left;color:inherit}.promo-row strong{display:block;font:800 19px/1.1 ui-monospace,monospace;letter-spacing:2px;color:#075fc9}.promo-row small{display:block;margin-top:4px;line-height:1.25}.promo-code-display{font:800 32px/1.2 ui-monospace,monospace;letter-spacing:7px;text-align:center;background:#eaf2ff;color:#075fc9;padding:18px 10px;border-radius:13px}.promo-code-detail strong,.promo-code-detail small{display:block}.promo-code-detail small{margin-top:6px}.promo-active{display:grid;gap:4px;margin:0 0 10px;padding:12px 14px;border:1px solid #90d6a9;border-radius:14px;background:#e7f8ed;color:#126b38}.promo-active span{font-weight:700}.promo-active small{color:#276f45}.promo-admin>.secondary{margin-bottom:8px}input[name="promo_code"],input[name="code"]{text-transform:uppercase;letter-spacing:2px;font-family:ui-monospace,monospace;font-weight:700}
.admin-user-list{max-height:300px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;padding:2px}.assigned-promo{width:100%;display:grid;grid-template-columns:minmax(0,1fr) 12px;align-items:center;text-align:left;color:inherit}.assigned-promo strong,.assigned-promo small,.promo-notice strong,.promo-notice small{display:block}.assigned-promo small,.promo-notice small{margin-top:5px}.admin-user-promo{margin:18px 0;padding-top:4px;border-top:1px solid #dfe5ec}.promo-notice{border-color:#90d6a9;background:#f0fbf4}.promo-notice .wide{margin-bottom:0}
@media screen and (max-width:390px){.nav button{font-size:9px;gap:3px;padding-inline:0;min-width:0}.nav .art{width:24px;height:24px}.nav-bell{width:24px;height:24px;font-size:18px}}
@media print{.alert-bell{display:none!important}}
.shared-badge{display:inline-block;margin-left:5px;padding:2px 6px;border-radius:9px;background:#e7efff;color:#075fc9;font-size:9px;vertical-align:middle}.share-invite small{display:block;margin:6px 0}.share-invite>div{display:flex;gap:8px;margin-top:12px}.share-invite>div button{flex:1;min-height:42px}.share-plate{display:inline-block;margin-left:7px;padding:3px 7px;border:1px solid #697585;border-radius:5px;background:white;font-size:12px;font-weight:700}.share-member{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:11px}.share-member span{min-width:0}.share-member strong,.share-member small{display:block;overflow-wrap:anywhere}.share-member small{margin-top:3px}.report-choice strong,.report-choice small{display:block}.report-choice small{margin-top:7px;line-height:1.45}.vehicle-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:8px}.vehicle-tools .wide{margin-top:0}.vehicle-tools .art{width:19px;height:19px;vertical-align:middle}.shared-notice{text-align:center;padding:8px}.alerts-page>h2{font-size:16px;margin:14px 0 8px}
@media(max-width:350px){.vehicle-tools{grid-template-columns:1fr}.share-invite>div{flex-direction:column}}

/* Home is an information view: module choices live in Settings. */
@media screen{
 .home-fixed .mileage-panel{margin-top:-5px;padding:3px 8px 0;border-radius:14px 14px 0 0}
 .mileage-panel .card{min-height:60px;padding:6px 9px;gap:7px;border-radius:12px}
 .mileage-panel .gauge{flex-basis:30px}.mileage-panel .gauge .art{width:29px;height:29px}
 .home-mileage .label{font-size:10px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .home-mileage .mileage strong{font-size:22px;line-height:1.05;margin:1px 0}
 .home-mileage .mileage strong>span{font-size:17px}
 .home-mileage .mileage small{font-size:9px;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 .mileage-panel .secondary{min-height:42px;padding:9px 10px;border-radius:11px}
 .maintenance-heading{min-height:28px;padding:2px 12px 3px}
 .maintenance-heading h2{font-size:13px}
 .account-settings .settings-row:disabled{cursor:default}
}
@media screen and (max-width:370px){
 .mileage-panel .card{min-height:58px;padding-inline:7px;gap:5px}
 .mileage-panel .gauge{flex-basis:25px}.mileage-panel .gauge .art{width:24px;height:24px}
 .home-mileage .mileage strong{font-size:20px}.home-mileage .mileage strong>span{font-size:15px}
 .mileage-panel .secondary{font-size:12px;padding:8px;min-height:40px}
}
@media screen and (max-width:330px){
 .mileage-panel .gauge{display:none}
 .home-mileage .label{font-size:9px}
 .mileage-panel .secondary{padding-inline:7px}
}
@media screen and (max-height:700px){
 .mileage-panel .card{min-height:58px;padding-top:5px;padding-bottom:5px}
 .maintenance-heading{min-height:26px}
}

/* Compact mobile design system v49. */
:root{--ui-radius:13px;--ui-gap:8px;--ui-control:42px;--ui-border:#d9e1ea;--ui-press:120ms}
html{overflow-x:hidden}body{overflow-x:hidden;font-size:15px}button,a,input,select,textarea{transition:transform var(--ui-press) ease,background-color var(--ui-press) ease,filter var(--ui-press) ease,box-shadow var(--ui-press) ease}button:active,a.card:active,.photo-label:active{transform:scale(.98);filter:brightness(.94)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:2px solid #78adf6;outline-offset:2px}
.content{padding:10px 10px 0}.card{padding:11px 12px;margin-bottom:8px;border-radius:var(--ui-radius)}.section{padding:7px 3px}.section h3,.content>h2{font-size:16px}.wide{margin-top:8px}.primary,.secondary{min-height:42px;padding:9px 13px;border-radius:11px;font-size:14px}.link{min-height:40px;padding:8px 9px}.row{padding:10px 0;gap:9px;line-height:1.35}.badge{padding:11px;border-radius:12px;font-size:18px}.empty{padding:24px 16px}.empty h2{font-size:21px}.hint{line-height:1.45;margin:8px 0}.pills{padding-bottom:8px}.pills button{padding:7px 11px}.note h3{font-size:16px;margin:7px 0}.note p{margin:7px 0;line-height:1.4}
.account-settings{padding-top:9px}.account-settings .settings-row{min-height:48px;padding:8px 11px;margin-bottom:6px;border-radius:12px;gap:8px}.settings-row strong{font-size:14px;line-height:1.2}.settings-row small{font-size:11px;line-height:1.25;margin-top:2px}.settings-language select{min-height:38px;padding-block:6px}.promo-active{padding:9px 11px;margin-bottom:7px;border-radius:12px}.account-settings>.wide{margin-top:7px}
.maintenance-scroll .item{min-height:64px!important;padding:7px 8px!important;margin-bottom:5px!important;border-radius:13px!important;column-gap:7px!important}.maintenance-scroll .symbol{width:35px!important;height:40px!important;flex-basis:35px!important}.maintenance-scroll .symbol .art,.maintenance-scroll .symbol img{max-width:31px!important;max-height:34px!important}.maintenance-scroll .info strong{font-size:13px!important;margin-bottom:2px!important}.maintenance-scroll .info small{font-size:9.5px!important;line-height:1.28!important}.maintenance-scroll .status{font-size:12px!important;line-height:1.12!important}.maintenance-scroll .status>span{font-size:10px!important}.maintenance-heading{min-height:24px!important;padding-block:1px!important}.maintenance-heading h2{font-size:12px!important}
dialog{width:min(100%,520px);max-width:100%;max-height:94dvh;border-radius:20px 20px 0 0;overflow:hidden}.modalhead{min-height:52px;padding:9px 12px 9px 15px;border-bottom:1px solid #edf0f4}.modalhead h2{font-size:17px;line-height:1.2;padding-right:8px}.modal-close{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;min-height:38px;border-radius:50%;background:#e9eef4;color:#3b4654;font:400 27px/1 sans-serif}.modal-close:active{background:#d8e0e9}.modalbody{padding:10px 12px calc(14px + env(safe-area-inset-bottom));overflow-x:hidden}.modalbody h2{font-size:18px;margin:10px 0}.modalbody h3{font-size:15px;margin:13px 0 7px}.modalbody .card{padding:10px 11px}.modalbody form{max-width:100%}
label{font-size:12px;margin:8px 0 4px;line-height:1.25}input,select,textarea{max-width:100%;min-width:0;min-height:42px;padding:8px 10px;border:1px solid var(--ui-border);border-radius:10px;font-size:16px}textarea{min-height:72px;line-height:1.4}.grid{gap:0 8px}.check{min-height:42px;padding:7px 9px;gap:8px;border-radius:10px;font-size:13px;line-height:1.3}.check input{width:19px;height:19px;min-height:19px;flex:0 0 19px}.error{padding:9px 10px;margin:8px 0;font-size:13px}.item-help{gap:9px;padding:9px;border-radius:12px}.item-help p{font-size:12px;line-height:1.45}.item-help .symbol{flex-basis:34px;width:34px;height:38px}.detail-service{padding:10px}.detail-service .art,.detail-service img{width:54px;height:54px;object-fit:contain}.mileage-dialog{gap:4px;padding:5px 0 9px}.mileage-dialog .art{width:42px;height:42px}.mileage-dialog strong{font-size:25px}.photo-actions{gap:6px}.photo-label{min-height:42px;padding:9px;border-radius:11px}.admin-stats{gap:6px}.admin-stats .card{padding:9px}.admin-stats strong{font-size:24px}.admin-search{margin:8px 0 12px}.admin-user-row,.assigned-promo,.promo-row{min-height:54px}.alert-car,.share-invite,.report-choice{margin-bottom:6px}
#toast{bottom:86px;padding:10px 15px;border-radius:11px;font-size:13px}button:disabled{cursor:wait;filter:saturate(.65)}
@media(max-width:340px){.content{padding-inline:8px}.modalbody{padding-inline:10px}.grid{grid-template-columns:1fr}.grid>label:not(:first-child){margin-top:8px}.maintenance-scroll .item{grid-template-columns:32px minmax(0,1fr) 69px 10px!important;column-gap:5px!important}.maintenance-scroll .symbol{width:31px!important;flex-basis:31px!important}.maintenance-scroll .symbol .art,.maintenance-scroll .symbol img{max-width:28px!important}.maintenance-scroll .status{max-width:69px!important}.primary,.secondary{padding-inline:9px}.modalhead h2{font-size:16px}.language-control{gap:7px}.language-control select{min-width:124px}}
@media(max-height:650px){dialog{max-height:96dvh}.modalhead{min-height:48px;padding-block:6px}.modalbody{padding-top:7px}.maintenance-scroll .item{min-height:60px!important}}
@media(prefers-reduced-motion:reduce){button,a,input,select,textarea{transition:none}}

/* Direct-edit and scroll-safe modal refinements v50. */
dialog[open]{display:flex;flex-direction:column;overflow:hidden;height:auto;max-height:min(94dvh,760px)}
.modalhead{flex:0 0 auto}.modalbody{flex:1 1 auto;min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;scroll-padding-bottom:76px}
.modalbody form{min-height:100%;display:flex;flex-direction:column}.form-actions{position:sticky;z-index:2;bottom:calc(-14px - env(safe-area-inset-bottom));display:flex;gap:8px;margin:10px -12px calc(-14px - env(safe-area-inset-bottom));padding:9px 12px calc(10px + env(safe-area-inset-bottom));background:#f5f7faf5;border-top:1px solid #e1e7ee;backdrop-filter:blur(12px)}.form-actions button{flex:1;min-height:42px;margin:0}.modalbody form>.error{flex:0 0 auto}
.maintenance-scroll .item{min-height:58px!important;padding:5px 7px!important;margin-bottom:4px!important}.maintenance-scroll .symbol{height:36px!important}.maintenance-scroll .symbol .art,.maintenance-scroll .symbol img{max-height:31px!important}.maintenance-scroll .info small{line-height:1.18!important}.maintenance-scroll .status{line-height:1.05!important}
.form-modal-mileage{max-height:min(76dvh,520px)}.form-modal-mileage .modalbody{padding-top:7px}.form-modal-mileage form{display:grid;grid-template-columns:minmax(112px,.72fr) minmax(0,1fr);align-content:start;column-gap:9px;row-gap:5px;min-height:0}.form-modal-mileage .mileage-dialog{grid-column:1/-1;display:flex;justify-content:center;align-items:center;gap:7px;padding:2px 0 5px}.form-modal-mileage .mileage-dialog .art{width:29px;height:29px}.form-modal-mileage .mileage-dialog small{font-size:11px}.form-modal-mileage .mileage-dialog strong{font-size:19px}.form-modal-mileage label{align-self:center;margin:0;font-size:12px}.form-modal-mileage input{min-height:40px;height:40px}.form-modal-mileage label:not([for]){grid-column:1/-1;margin-top:3px}.form-modal-mileage textarea{grid-column:1/-1;min-height:58px;height:58px}.form-modal-mileage .error,.form-modal-mileage .form-actions{grid-column:1/-1}.form-modal-mileage .form-actions{margin-top:4px}
@media(max-width:340px){.maintenance-scroll .item{min-height:56px!important}.form-modal-mileage form{grid-template-columns:105px minmax(0,1fr)}.form-modal-mileage .mileage-dialog strong{font-size:17px}}
@media(max-height:560px){dialog[open]{max-height:98dvh}.form-modal-mileage{max-height:96dvh}.modalbody{scroll-padding-bottom:70px}}

/* Quick maintenance completion v51. */
.completion-shortcut{display:grid;grid-template-columns:25px minmax(0,1fr) 10px;align-items:center;gap:8px;width:100%;min-height:48px;margin:8px 0 4px;padding:7px 10px;border:1px solid #a9d8b9;border-radius:11px;background:#eaf8ef;color:#126b38;text-align:left}.completion-shortcut .art{width:22px;height:22px}.completion-shortcut strong,.completion-shortcut small{display:block}.completion-shortcut strong{font-size:13px}.completion-shortcut small{margin-top:2px;color:#397652;font-size:10px}.field-error{display:block;margin:3px 0 2px;color:#b4233a;font-size:11px;line-height:1.3}input[aria-invalid="true"],select[aria-invalid="true"],textarea[aria-invalid="true"]{border-color:#cf3148;background:#fff6f7;box-shadow:0 0 0 2px #cf314820}.form-modal-note:has(form[data-quick-completion="true"]){max-height:min(72dvh,500px)}.form-modal-note form[data-quick-completion="true"]{display:grid;grid-template-columns:minmax(112px,.72fr) minmax(0,1fr);align-content:start;column-gap:9px;row-gap:5px;min-height:0}.form-modal-note form[data-quick-completion="true"]>label{align-self:center;margin:0}.form-modal-note form[data-quick-completion="true"]>input:not([type="hidden"]){min-height:40px;height:40px}.form-modal-note form[data-quick-completion="true"]>label[for="completion-note"],.form-modal-note form[data-quick-completion="true"]>textarea,.form-modal-note form[data-quick-completion="true"]>.error,.form-modal-note form[data-quick-completion="true"]>.form-actions,.form-modal-note form[data-quick-completion="true"]>.field-error{grid-column:1/-1}.form-modal-note form[data-quick-completion="true"]>textarea{height:62px;min-height:62px}.form-modal-note form[data-quick-completion="true"]>.form-actions{margin-top:4px}
@media(max-width:340px){.form-modal-note form[data-quick-completion="true"]{grid-template-columns:105px minmax(0,1fr)}}

/* Compact sign-in and standards-based iOS AutoFill layout v55. */
#app:has(>main.login){padding-bottom:0}
.login.login-screen{width:100%;max-width:430px;margin:0 auto;padding:calc(10px + env(safe-area-inset-top)) 18px calc(10px + env(safe-area-inset-bottom))}
.login-screen .login-language{margin:0 0 6px;padding:5px 9px;min-height:38px;border-radius:10px}
.login-screen .language-control>span{font-size:12px}.login-screen .language-control select{min-height:34px;padding:5px 30px 5px 9px;font-size:16px}
.login-screen .eyebrow{display:block;margin:3px 0 0;font-size:9px;line-height:1.2}
.login-screen h1{margin:2px 0 3px;font-size:25px;line-height:.98;letter-spacing:-1px}
.login-screen h2{margin:4px 0 2px;font-size:18px;line-height:1.2}.login-screen>p{margin:2px 0 5px;font-size:12px;line-height:1.3}
.login-screen .auth-form{display:flex;flex-direction:column;gap:0}.login-screen .auth-form label{margin:4px 0 2px;font-size:11px;line-height:1.2}
.login-screen .auth-form input{height:40px;min-height:40px;padding:7px 9px;border-radius:9px;font-size:16px}
.login-screen .password-toggle{align-self:flex-end;min-height:27px;margin:0;padding:2px 1px;font-size:11px;line-height:1.2}
.login-screen .auth-form>.wide{min-height:40px;margin-top:4px;padding:7px 12px;border-radius:10px;font-size:14px}
.login-screen .auth-secondary{display:block;min-height:29px;margin:1px auto 0;padding:4px 7px;font-size:12px;line-height:1.25}
.login-screen .error{margin:3px 0;padding:7px 9px;font-size:12px}.login-screen .error:not(.show){display:none}
@media(max-width:340px){.login.login-screen{padding-inline:13px}.login-screen h1{font-size:25px}.login-screen>p{font-size:11px}}
@media(max-height:560px){.login.login-screen{padding-top:calc(5px + env(safe-area-inset-top))}.login-screen .login-language{margin-bottom:3px}.login-screen .eyebrow{display:none}.login-screen h1{font-size:24px}.login-screen>p{margin-bottom:3px}}

/* Unified accessible close control v56. The visible disc is 32px; the touch target is 44px. */
.modalhead{padding:4px 6px 4px 15px}
.close-button{position:relative;isolation:isolate;display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#44515f}
.close-button::before{content:"";position:absolute;z-index:-1;inset:6px;border-radius:50%;background:#edf1f5;box-shadow:inset 0 0 0 1px #dfe5eb;transition:transform 130ms ease,background-color 130ms ease,box-shadow 130ms ease}
.close-button svg{display:block;width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;transition:transform 130ms ease}
.close-button:hover::before{background:#e4eaf0}.close-button:active{transform:none;filter:none}.close-button:active::before,.close-button:active svg{transform:scale(.9)}.close-button:active::before{background:#d8e1e9}
.close-button:focus-visible{outline:0}.close-button:focus-visible::before{box-shadow:inset 0 0 0 1px #6ca8f7,0 0 0 3px #78adf64d}
.document-dialog .close-button{min-height:44px;margin:-6px}.document-dialog header{min-height:44px}
@media(prefers-reduced-motion:reduce){.close-button::before,.close-button svg{transition:none}}

/* Language-safe bottom navigation and per-car module settings v57. */
.nav{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;padding-inline:2px}
.nav:has(button:nth-child(6)){grid-template-columns:repeat(6,minmax(0,1fr))}
.nav button{min-width:0;width:100%;padding:2px 1px;gap:3px;align-content:center;line-height:1.05}
.nav .nav-label{display:-webkit-box;width:100%;min-width:0;max-height:2.1em;overflow:hidden;text-align:center;overflow-wrap:anywhere;word-break:normal;-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:clamp(8px,2.45vw,10px)}
.nav svg{flex:0 0 auto}
.module-car-list{display:grid;gap:6px}.module-car{display:grid;grid-template-columns:62px minmax(0,1fr) 12px;align-items:center;width:100%;min-height:68px;margin:0;padding:7px 9px;text-align:left;color:inherit}.module-car>img,.module-car>.photo-missing{width:58px;height:50px;min-height:0;object-fit:contain}.module-car .photo-missing{flex-basis:auto}.module-car strong,.module-car small{display:block}.module-car strong{font-size:13px}.module-car small{margin-top:3px;font-size:11px}
.module-selected-car{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:8px;padding:7px 9px;margin-bottom:7px;border-radius:12px;background:#e9f2ff}.module-selected-car>img,.module-selected-car>.photo-missing{width:54px;height:45px;min-height:0;object-fit:contain}.module-selected-car .photo-missing{flex-basis:auto}.module-selected-car strong,.module-selected-car small{display:block}.module-selected-car strong{font-size:13px}.module-selected-car small{margin-top:2px;font-size:10px}.module-selected-car .link{font-size:11px;padding:5px;white-space:nowrap}
.module-switch{display:grid;grid-template-columns:19px minmax(0,1fr) 40px;margin:5px 0}.module-switch b{text-align:right;color:#087737;font-size:11px}.module-switch input:not(:checked)~b{color:#758194}
.user-guide section{padding:2px 0 8px;border-bottom:1px solid #e3e8ee}.user-guide section:last-child{border-bottom:0}.user-guide h3{margin:8px 0 3px}.user-guide p{margin:0;color:#526175;font-size:13px;line-height:1.5}
@media(max-width:340px){.nav .nav-label{font-size:8px}.nav button{padding-inline:0}.module-selected-car{grid-template-columns:48px minmax(0,1fr)}.module-selected-car>img,.module-selected-car>.photo-missing{width:45px}.module-selected-car .link{grid-column:1/-1;justify-self:end;min-height:28px}}

/* Car selector stays inside the maintenance-module dialog v59. */
.module-car-tabs{display:flex;gap:6px;margin:0 0 7px;padding:1px 0 5px;overflow-x:auto;overscroll-behavior-inline:contain;scrollbar-width:thin}
.module-car-tabs .module-car{display:block;flex:0 0 auto;width:auto;min-width:112px;min-height:48px;margin:0;padding:6px 9px;border:1px solid #d9e1ea;border-radius:11px;background:#fff;text-align:left;box-shadow:none}
.module-car-tabs .module-car span,.module-car-tabs .module-car small{display:block;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.module-car-tabs .module-car span{font-size:12px;font-weight:700}.module-car-tabs .module-car small{margin-top:2px;font-size:10px}
.module-car-tabs .module-car.active{border-color:#0878fa;background:#e9f2ff;color:#075fbf;box-shadow:inset 0 0 0 1px #0878fa}
.mileage-update-warning{margin:6px 0 10px;padding:9px 11px;border:1px solid #efb52d;border-radius:10px;background:#fff7dd;color:#704b00;font-size:13px;font-weight:700;line-height:1.35}.mileage-update-warning[hidden]{display:none}
.module-selected-car{grid-template-columns:58px minmax(0,1fr)}
@media(max-width:340px){.module-car-tabs .module-car{min-width:102px}.module-car-tabs .module-car span{max-width:126px}}

/* User feedback and admin inbox v63. */
.feedback-character-count{text-align:right;color:#718096;font-size:11px}.admin-feedback-link{width:100%;grid-template-columns:minmax(0,1fr) auto 10px;text-align:left}.feedback-count{display:grid;place-items:center;min-width:24px;height:24px;padding:0 6px;border-radius:12px;background:#d92d42;color:#fff;font-size:11px}
.feedback-filter{min-height:0!important}.feedback-filter-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:7px}.feedback-list{max-height:min(48dvh,430px);margin-top:10px;padding-right:2px;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.feedback-row{display:grid;width:100%;gap:3px;margin-bottom:6px;padding:9px 10px;border:1px solid #dce3eb;border-radius:11px;background:#fff;color:inherit;text-align:left}.feedback-row.new{border-color:#7bb5ff;background:#edf6ff;box-shadow:inset 3px 0 #0878fa}.feedback-row-head{display:flex;justify-content:space-between;gap:8px}.feedback-row-head strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.feedback-row-head time{flex:none;color:#718096;font-size:10px}.feedback-row>span:nth-child(2){overflow:hidden;font-size:12px;line-height:1.35}.feedback-status{justify-self:start;padding:2px 7px;border-radius:9px;background:#edf1f5;color:#526175;font-size:10px}.feedback-status.status-new{background:#ddecff;color:#075fbf}.feedback-status.status-answered{background:#dcf7e5;color:#087737}.feedback-pagination{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:7px;margin-top:9px}.feedback-pagination span{text-align:center;font-size:11px}.feedback-pagination button{min-height:38px;margin:0}.feedback-detail{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;margin:0 0 10px}.feedback-detail dt{color:#657487;font-size:11px;font-weight:700}.feedback-detail dd{min-width:0;margin:0;overflow-wrap:anywhere;font-size:13px}.feedback-message{max-height:38dvh;padding:11px;border:1px solid #dce3eb;border-radius:11px;background:#fff;overflow:auto;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.5}.feedback-detail-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:10px}.feedback-detail-actions>a{display:grid;place-items:center;text-decoration:none;text-align:center}.feedback-detail-actions>.wide{grid-column:1/-1;margin:0}
@media(max-width:340px){.feedback-filter-grid,.feedback-detail-actions{grid-template-columns:1fr}.feedback-detail-actions>.wide{grid-column:auto}.feedback-row-head{display:grid}.feedback-row-head time{justify-self:start}}

/* Language-safe text flow across cards, forms and dialogs v64. */
.card,.row,.settings-row,.item,.vehicle,.alert-car,.share-invite,.report-choice,.modalbody,.modalbody form,.info,.status,.vehicle-title,.mileage-info,.home-actions,.list-tools,.form-actions{min-width:0}
.card strong,.card small,.card span,.row span,.item-help p,.hint,.error,.modalbody p,.modalbody h2,.modalbody h3,.settings-row strong,.settings-row small,.completion-shortcut strong,.completion-shortcut small,.feedback-row,.feedback-message{overflow-wrap:anywhere;word-break:normal}
button,.primary,.secondary,.link,.photo-label{white-space:normal;line-height:1.25;height:auto}
.settings-row,.admin-user-row,.alert-car,.share-invite{height:auto}.settings-row>span:first-child,.admin-user-row>span:first-child,.alert-car>span:first-child{min-width:0}
.modalbody label{height:auto;white-space:normal}.modalbody input,.modalbody select,.modalbody textarea{width:100%}
.modalbody .grid>*{min-width:0}.modalbody .row{align-items:start}.modalbody .row>span{min-width:0}
.item-help{align-items:start}.completion-shortcut{height:auto}.completion-shortcut>span{min-width:0}
.maintenance-scroll .item{height:auto!important}.maintenance-scroll .info,.maintenance-scroll .status{min-width:0}.maintenance-scroll .info strong,.maintenance-scroll .info small{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}.maintenance-scroll .status{overflow-wrap:anywhere}
.form-actions{align-items:stretch}.form-actions button{height:auto;min-height:44px}
@media(max-width:360px){.modalbody .grid{grid-template-columns:1fr}.modalbody .grid>label:not(:first-child){margin-top:7px}.feedback-filter-grid{grid-template-columns:1fr}.list-tools,.home-actions{flex-wrap:wrap}.list-tools button,.home-actions button{flex:1 1 42%}}
/* App update section v65 */
.app-update-latest[hidden],#modal [data-act^="app-update"][hidden]{display:none!important}
.app-update-card{margin-bottom:10px}
.app-update-status{min-height:1.4em}
.app-update-status:empty{display:none}
/* Admin counters, quick actions and blocked status v67 */
.admin-nav-wrap{position:relative;display:grid;place-items:center}
.admin-nav-wrap b{position:absolute;right:-9px;top:-8px;min-width:19px;height:19px;padding:0 4px;border-radius:10px;background:#e03625;color:#fff;border:2px solid #fff;font:700 10px/15px system-ui;box-sizing:border-box;text-align:center}
.admin-feedback-link .feedback-total{display:inline-flex;align-items:center;gap:4px;margin-left:auto;padding:4px 8px;border:1px solid #e3e7ee;border-radius:8px;background:#f6f8fb;color:#8a94a3;font-size:11px;white-space:nowrap}
.admin-feedback-link .feedback-total b{font-weight:600}
.status-gift{background:#e9e2ff;color:#643eb3}
.status-blocked{background:#2b3340;color:#fff}
.admin-user-summary{margin:8px 0}
.admin-user-summary .row{align-items:center}
.admin-user-summary .row:last-child{border-bottom:0}
.admin-quick{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0 16px}
.admin-quick button{min-height:44px}
/* Trial banner and subscription plans v68 */
.plan-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:10px 0}
.plan-card{text-align:center;padding:12px 8px;margin:0}
.plan-card strong{display:block;font-size:14px}
.plan-card .price{display:block;margin-top:4px;font-size:20px;font-weight:800;color:var(--blue)}
.plan-card small{color:var(--muted);font-size:12px}
.subscription-summary{margin:8px 0}
.trial-banner{display:flex;align-items:center;justify-content:center;gap:6px;width:calc(100% - 24px);margin:8px 12px;padding:9px 12px;border:1px solid #f1d9a3;border-radius:12px;background:#fff7e6;color:#8a5a00;font-size:13px;font-weight:600}
.subscription-gate .plan-grid{text-align:initial}
/* Desktop layout and landing content v69 */
.landing{display:none}
.nav .nav-full{display:none}
@media(min-width:1000px){
 #app{max-width:1180px;padding-left:232px;padding-bottom:28px;box-sizing:border-box}
 #app:has(>main.login){max-width:520px;padding-left:0}
 body .nav,body.home-fixed .nav,body .nav:has(button:nth-child(6)),body .nav:has(button[data-page="admin"]){position:fixed;top:0;bottom:0;left:max(0px,calc(50vw - 590px));width:232px;max-width:232px;display:flex;flex-direction:column;justify-content:flex-start;gap:4px;padding:22px 12px;border-top:0;border-right:1px solid #e4e8ed;box-sizing:border-box}
 .nav::before{content:"MyCarMemory";font-weight:800;font-size:21px;letter-spacing:-.4px;color:#121720;padding:4px 14px 20px}
 .nav button,.nav:has(button[data-page="admin"]) button{flex:none;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:13px;width:100%;min-height:48px;padding:10px 14px;font-size:15px;border-radius:12px}
 .nav button.active{background:#e4efff}
 .nav .nav-label{display:block;width:auto;max-height:none;font-size:15px;text-align:left;overflow:visible}
 .nav .art,.nav:has(button[data-page="admin"]) .art{width:26px;height:26px}
 .top{padding:22px 22px 14px}
 .top h1{font-size:24px}
 .hero-scene{height:250px;border-radius:0 0 20px 20px;overflow:hidden}
 .hero-scene .hero-car,.hero-scene .hero-car.personal-photo{inset:6px 60px 14px 55%}
 .hero-scene .vehicle-summary h2{font-size:28px}
 .hero-scene .vehicle-meta{font-size:14px}
 .maintenance-scroll{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;align-content:start}
 .maintenance-scroll>:not(.item){grid-column:1/-1}
 .maintenance-scroll .item{margin-bottom:0!important}
 .content{padding-inline:14px}
 .admin-stats{grid-template-columns:repeat(5,1fr)}
 dialog[open]{height:fit-content;min-height:0}
 .home-fixed .hero-scene .top{padding-left:20px;padding-right:20px}
 dialog{margin:auto;width:min(92vw,620px);max-width:620px;border-radius:20px;max-height:88dvh}
 #toast{bottom:40px}
 .nav .nav-short{display:none}
 .nav .nav-full{display:block}
 #app:has(>main.login-screen),#app:has(>main.register-screen){max-width:1180px;display:grid;grid-template-columns:minmax(0,1fr) 440px;gap:32px;align-items:start;padding:44px 32px;box-shadow:none;background:transparent}
 #app:has(>.landing)>main.login{position:sticky;top:32px;padding:30px 28px;border-radius:22px;background:#fff;box-shadow:0 10px 40px #15233414}
 .landing{display:block;padding:6px 4px}
 .landing .eyebrow{font-weight:800;font-size:18px;color:var(--blue)}
 .landing h1{font-size:44px;line-height:1.08;letter-spacing:-1.4px;margin:12px 0 14px}
 .landing>p{max-width:580px;font-size:17px;line-height:1.55;color:var(--muted)}
 .landing h2{font-size:18px;margin:26px 0 4px}
 .landing-features{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:26px 0}
 .landing-features .card{margin:0;padding:16px}
 .landing-features strong{display:block;margin-bottom:6px;font-size:15px}
 .landing-features span{font-size:13px;line-height:1.45;color:var(--muted)}
 .landing>p.landing-trial{display:inline-block;margin:0;padding:9px 14px;border:1px solid #f1d9a3;border-radius:12px;background:#fff7e6;color:#8a5a00;font-size:14px;font-weight:600}
 .landing .plan-grid{grid-template-columns:repeat(4,1fr)}
}
/* Number plate by country v70 */
.plate .plate-country.wide{width:25px}
.plate .plate-country.wide b{font-size:8px;letter-spacing:-.2px}
.plate.plate-neutral .plate-number{padding-left:8px}
/* Plate number and country in one joined field v71 */
.modalbody .plate-field{display:flex;min-width:0;border:1px solid #d5dbe4;border-radius:12px;background:#fff;overflow:hidden}
.modalbody .plate-field:focus-within{border-color:var(--blue);box-shadow:0 0 0 3px #0064e81f}
.modalbody .plate-field input{flex:1 1 55%;min-width:0;width:auto;border:0;border-radius:0;box-shadow:none;outline:0;margin:0;text-transform:uppercase}
.modalbody .plate-field select{flex:0 1 45%;min-width:0;width:auto;border:0;border-left:1px solid #d5dbe4;border-radius:0;box-shadow:none;outline:0;margin:0;background-color:#f6f8fb;font-size:14px}
.modalbody .grid>.plate-label,.modalbody .grid>.plate-field{grid-column:1/-1}
.modalbody .grid>.plate-label{margin-top:7px}
.plate .plate-country b{font-size:10px}
.plate .plate-country.wide b{font-size:8px}
/* Plate looks outside Europe v72 */
.plate.plate-jp{color:#0a6b3a}
.plate.plate-cn{background:#1456b8;color:#fff;border-color:#0d3f8a}
.plate.plate-sg{background:#15181d;color:#fff}
.plate.plate-il{background:#ffd21a}
.plate.plate-in .plate-country{background:#fff;border-right:1px solid #c9d1dc}
.plate.plate-in .plate-country b{color:#1456b8}
/* Small national flag on plates without a country band v73 */
.plate .plate-flag{flex:none;align-self:center;padding:0 5px 0 6px;font-size:.78em;line-height:1;letter-spacing:0;font-weight:400}
/* Plate box grows with its text so letters are never cut at the bottom v74 */
.plate,.hero-scene .plate{height:auto;min-height:1.5em;line-height:1.2;align-items:stretch}
.plate .plate-number{display:flex;align-items:center;padding-top:.12em;padding-bottom:.14em;line-height:1.2}
/* Current odometer hint in forms v75 */
.modalbody .current-mileage-hint{margin:4px 0 8px;font-size:12px}
.modalbody .current-mileage-hint b{color:#121720}
/* Sharing kinds v76 */
.share-member span small+small{margin-top:2px;font-weight:600}
/* Expired access lock v77 */
body.access-expired #app{filter:grayscale(1);opacity:.42;pointer-events:none;user-select:none}
#expired-cta{position:fixed;inset:0;z-index:20;display:grid;place-items:center;padding:24px;pointer-events:none}
#expired-cta button{pointer-events:auto;min-height:54px;padding:14px 26px;border-radius:16px;font-size:17px;font-weight:700;box-shadow:0 12px 36px #0b2a5c55;animation:expired-cta-in .5s ease-out}
#expired-cta button[hidden]{display:none}
@keyframes expired-cta-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.modalbody .expired-delete-note{margin-top:22px}
/* Switch account from the expired lock v78 */
#expired-cta .expired-cta-box{display:grid;justify-items:center;gap:12px;pointer-events:auto}
#expired-cta .expired-cta-box[hidden]{display:none}
#expired-cta .expired-cta-box button{animation:none}
#expired-cta button.expired-switch{min-height:44px;padding:9px 18px;border-radius:13px;background:#fff;color:#0064e8;font-size:14px;font-weight:600;box-shadow:0 6px 20px #0b2a5c26}
/* Sharing invitations stand out as something to act on v80 */
.card.share-invite{background:#fff0f0;border:2px solid #e03625;box-shadow:0 4px 16px #e0362522}
.share-invite .share-invite-flag{display:block;width:fit-content;margin-bottom:8px;padding:4px 10px;border-radius:10px;background:#e03625;color:#fff;font-size:12px;font-weight:700;letter-spacing:.2px}
/* Recommended plan highlight v81 */
.plan-card.recommended{border:2px solid var(--blue);background:#eef5ff}
.plan-card em{display:block;width:fit-content;margin:0 auto 6px;padding:3px 9px;border-radius:9px;background:var(--blue);color:#fff;font-size:11px;font-style:normal;font-weight:700}
/* Subscription explanation v82 */
.modalbody .subscription-info .card{margin-bottom:8px}
.modalbody .subscription-info strong{display:block;margin-bottom:5px;font-size:14px}
.modalbody .subscription-info p{margin:0;font-size:13px;line-height:1.5;color:var(--muted)}
/* Cars outside the plan v83 */
.vehicle.plan-locked{filter:grayscale(1);opacity:.55}
.locked-badge{display:inline-block;margin-left:4px;padding:2px 8px;border-radius:9px;background:#2b3340;color:#fff;font-size:11px;font-weight:700;vertical-align:middle}
.modalbody .plan-vehicle-option{display:flex;align-items:center;gap:10px}
.modalbody .plan-vehicle-option input{width:auto;flex:none}
/* Current odometer banner at the top of record forms v87 */
.modalbody .current-mileage-banner{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 10px;padding:10px 14px;border:1px solid #bfe3ca;border-radius:12px;background:#eaf7ee}
.modalbody .current-mileage-banner span{font-size:13px;font-weight:600;color:#1d5e33}
.modalbody .current-mileage-banner strong{font-size:21px;font-weight:800;color:#0f7a35;white-space:nowrap}
/* Language chooser icon v88 */
.language-control .language-label{display:inline-flex;align-items:center;gap:7px}
.language-control .language-icon{font-size:18px;line-height:1}
/* Combined service v89 */
.maintenance-scroll .item.combined-service-entry{min-height:44px!important;padding:5px 10px!important;border:1px solid #14803f!important;background:linear-gradient(#27ad60,#178a49)!important;color:#fff;box-shadow:0 3px 10px #178a4933!important}
.maintenance-scroll .item.combined-service-entry .info strong{color:#fff;font-size:14px!important;margin-bottom:0!important}
.maintenance-scroll .item.combined-service-entry .info small{color:#e6f7ec;font-size:10px!important}
.maintenance-scroll .item.combined-service-entry .symbol{width:30px!important;height:30px!important;background:#ffffff26;color:#fff}
.maintenance-scroll .item.combined-service-entry .chevron{color:#fff}
.modalbody .combined-list{display:grid;gap:6px;margin:6px 0 12px}
.modalbody .combined-row{padding:8px 10px;border:1px solid #e3e7ee;border-radius:12px;background:#fff}
.modalbody .combined-row.checked{border-color:#9fc4ff;background:#f4f9ff}
.modalbody .combined-row .check{display:flex;align-items:center;gap:10px;margin:0;padding:0;background:none;font-weight:600}
.modalbody .combined-row .check input{width:22px;height:22px;flex:none}
.modalbody .combined-row .symbol{width:30px;height:30px;flex:none;display:grid;place-items:center;border-radius:50%}
.modalbody .combined-row .symbol .art,.modalbody .combined-row .symbol img{max-width:24px;max-height:24px}
.modalbody .combined-summary{display:block;width:100%;min-height:36px;margin-top:4px;padding:6px 0 0 32px;text-align:left;font-size:13px}
.modalbody .combined-summary[hidden],.modalbody .combined-next[hidden]{display:none}
.modalbody .combined-next{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 8px;align-items:center;margin-top:8px;padding-top:8px;border-top:1px solid #e3e7ee}
.modalbody .combined-next label{margin:0;font-size:12px}
.modalbody .combined-next input{margin:0}
.modalbody .combined-next button{grid-column:1/-1;min-height:40px}
/* Invoice photos v91 */
.modalbody .service-photos{margin:10px 0 4px}
.modalbody .service-photos-title{display:block;margin-bottom:6px;font-size:13px;font-weight:600}
.modalbody .service-photo-previews{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:8px}
.modalbody .service-photo-previews:empty{display:none}
.modalbody .service-photo-preview{position:relative;display:block;width:86px;height:86px;border:1px solid #d5dbe4;border-radius:10px;overflow:hidden;background:#fff}
.modalbody .service-photo-preview img{width:100%;height:100%;object-fit:cover}
.modalbody .service-photo-preview button{position:absolute;top:2px;right:2px;width:26px;height:26px;min-height:0;padding:0;border-radius:50%;background:#172533d9;color:#fff;font-size:17px;line-height:1}
.modalbody .service-photo-add{display:flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:12px;background:#e4efff;color:#005bda;font-weight:600;cursor:pointer}
.modalbody .service-photo-add[hidden]{display:none}
.modalbody .service-photo-add input{position:absolute;width:1px;height:1px;opacity:0}
.modalbody .service-photo-add .art{width:20px;height:20px}
.note-photos{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.note-photo{width:72px;height:72px;min-height:0;padding:0;border:1px solid #d5dbe4;border-radius:10px;overflow:hidden;background:#fff}
.note-photo img{width:100%;height:100%;object-fit:cover;display:block}
.modalbody .service-photo-full{overflow:auto;max-height:70dvh;border-radius:12px;background:#fff}
.modalbody .service-photo-full img{display:block;width:100%;height:auto}
/* First-car illustration on the empty start screen v93 */
.empty img.first-car-picture{display:block;width:min(100%,420px);height:auto;margin:0 auto 6px}
/* Car badge icon v93 */
.art.art-car-badge{fill:initial;stroke:none;stroke-width:0;border-radius:24%}
.art.art-car-badge *{stroke:none}
.nav .art.art-car-badge,.nav:has(button[data-page="admin"]) .art.art-car-badge{width:27px;height:27px}
.nav button.active .art.art-car-badge{box-shadow:0 0 0 2px #fff,0 0 0 4px #0064e8}
.switch-icon:has(.art-car-badge){background:none!important;box-shadow:none!important;padding:0!important;border:0!important}
.switch-icon .art.art-car-badge{width:100%;height:100%;display:block}
/* Solid car icon in the bottom menu v94 */
.art.art-car-solid{fill:currentColor;stroke:none;stroke-width:0}
.art.art-car-solid *{stroke:none}
.nav .art.art-car-solid,.nav:has(button[data-page="admin"]) .art.art-car-solid{width:30px;height:26px}
/* Compact settings and profile shortcuts v95 */
.account-settings .settings-row{min-height:44px;padding:6px 11px;margin-bottom:5px}
.account-settings .settings-row small{margin-top:1px;font-size:11px}
.account-settings .language-control.settings-row{min-height:44px}
.modalbody .profile-links{display:grid;gap:5px;margin-bottom:10px}
.modalbody .profile-links .settings-row{min-height:44px;margin:0;padding:6px 11px}
.modalbody .profile-data-title{margin:6px 0 4px}
/* Lighter, slightly smaller text in settings rows v96 */
.settings-row strong{font-size:14px;font-weight:600;letter-spacing:0}
.settings-row small{font-weight:400}
.account-settings .language-control .language-label{font-size:14px;font-weight:600}
.account-settings>button.secondary.wide,.account-settings>button.link.wide{font-size:14px;font-weight:600}
.modalbody a.settings-row,.modalbody a.settings-row *{text-decoration:none;color:inherit}
/* Protected administrator account notice v99 */
.modalbody .admin-protected{margin:6px 0 12px;padding:14px;border:2px solid #d92d42;border-radius:14px;background:#fff0f1;color:#8f1c2b}
.modalbody .admin-protected strong{display:block;margin-bottom:8px;font-size:16px}
.modalbody .admin-protected p{margin:6px 0 0;line-height:1.5}
/* Compact admin page v99 */
.admin-page[data-view=""]>:not(.admin-menu){display:none}
.admin-page[data-view="stats"]>:not(.admin-back):not(.admin-stats){display:none}
.admin-page[data-view="promo"]>:not(.admin-back):not(.promo-admin){display:none}
.admin-page[data-view="users"]>:not(.admin-back):not(.admin-search):not(.admin-user-list):not(.admin-user-row):not(.empty):not(.hint){display:none}
.admin-menu .settings-row{min-height:52px;padding:10px 12px;margin-bottom:8px;gap:8px}
.admin-menu .settings-row>span:first-child{flex:1;min-width:0}
.admin-menu-count{font-size:13px;font-weight:600;color:var(--muted)}
.admin-back{display:flex;align-items:center;gap:10px;margin-bottom:10px}
.admin-back .link{min-height:40px;padding:0 6px;white-space:nowrap}
.admin-back strong{font-size:16px}
@media(max-width:999px){
 .admin-stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}
 .admin-stats .card{padding:7px 3px;margin:0;border-radius:10px;min-width:0}
 .admin-stats strong{font-size:16px;margin-bottom:2px;white-space:nowrap}
 .admin-stats span{display:block;font-size:9.5px;line-height:1.2;overflow-wrap:anywhere;hyphens:auto}
 .admin-stats .card:last-child{grid-column:span 2}
}
.admin-page[data-view="promo"] .promo-admin h3{visibility:hidden}
