:root{font-family:"Segoe UI Variable","Segoe UI",Arial,sans-serif;color:#141414;background:#f7f8fa;--yellow:#ffd400;--border:#dedfe3;--muted:#5b626d;color-scheme:light}*{box-sizing:border-box}body{margin:0;line-height:1.5}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:default;opacity:.55}[hidden]{display:none!important}a{color:inherit;text-underline-offset:3px}button,.button{min-height:44px;min-width:44px;border:1px solid var(--border);border-radius:6px;background:#fff;color:#141414;padding:.6rem .85rem;font-weight:600;text-align:center;display:inline-flex;align-items:center;justify-content:center;text-decoration:none}button.primary{background:var(--yellow);border-color:var(--yellow)}.wide{width:100%;margin-top:.6rem}header{height:64px;background:white;border-bottom:1px solid var(--border);display:flex;align-items:center;gap:1rem;padding:.5rem max(1rem,calc((100% - 1080px)/2));}header .brand{font-size:1.5rem;font-weight:900;letter-spacing:-.065em;text-decoration:none}header>span{color:var(--muted);font-size:.85rem}.header-link{margin-left:auto;min-height:44px;display:flex;align-items:center;font-size:.9rem}main{max-width:720px;margin:0 auto;padding:1rem 1rem 2rem;min-width:0}h1{font-size:1.7rem;letter-spacing:-.04em;line-height:1.2;margin:.5rem 0 .8rem}h2{font-size:1.1rem;margin:0}p{margin:.6rem 0}.intro{margin:1.4rem 0}.intro p:not(.eyebrow){color:var(--muted);max-width:55ch}.eyebrow{font-size:.75rem;text-transform:uppercase;font-weight:700;letter-spacing:.08em;color:var(--muted)}#login{max-width:470px;margin:auto}#email-form,#code-form{background:white;border:1px solid var(--border);border-radius:8px;padding:1rem}#email-form>.primary,#code-form>.primary{width:100%;margin-top:.5rem}label{display:block;font-size:.875rem;min-width:0;margin-bottom:.7rem}input:not([type=checkbox]),select{width:100%;max-width:100%;min-width:0;min-height:44px;border:1px solid #b8bec8;border-radius:5px;padding:.5rem .65rem;background:white;font-size:16px;color:#141414}input,select{scroll-margin:100px}input[name=code]{letter-spacing:.2em;font-size:1.25rem;font-variant-numeric:tabular-nums}label small{font-size:.72rem;color:var(--muted)}.hint,.privacy-note{font-size:.8rem;color:var(--muted)}.privacy-note{margin:1rem 0}.secondary-actions{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.5rem}.secondary-actions button{flex:1;font-size:.85rem}.pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.identifier{display:grid;grid-template-columns:110px minmax(0,1fr);gap:.65rem}.segmented{display:flex;background:#ebedf0;border:1px solid var(--border);padding:4px;border-radius:7px;margin:.8rem 0}.segmented button{flex:1;border:0;background:transparent}.segmented [aria-pressed=true]{background:var(--yellow)}.accordion{background:white;border:1px solid var(--border);border-radius:7px;margin:.7rem 0}.accordion>summary{padding:.75rem;min-height:52px;list-style:none;cursor:pointer;display:flex;gap:.5rem;align-items:center;font-weight:650}.accordion>summary::-webkit-details-marker{display:none}.accordion>summary::after{content:'⌄';margin-left:auto}.accordion[open]>summary::after{content:'⌃'}.content{padding:.75rem;border-top:1px solid var(--border)}.content label:last-child{margin-bottom:0}.consent{display:flex;align-items:flex-start;gap:.7rem;font-size:.8rem;margin:1rem 0;min-height:44px}.consent input{width:22px;height:22px;flex-shrink:0;accent-color:#141414}.save-bar{position:sticky;bottom:0;padding:.5rem 0;background:#f7f8fa}.save-bar button{margin:0}.account-heading,.section-heading{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.verified{font-size:.75rem;color:#285c3c;background:#ecf5ee;padding:.3rem .5rem;border-radius:4px}.notice{font-size:.9rem;background:#fff6d6;border:1px solid #e8dca9;padding:.75rem;border-radius:6px}#account-nav{position:fixed;bottom:0;left:0;right:0;display:flex;justify-content:center;gap:.3rem;background:#fff;border-top:1px solid var(--border);padding:.3rem .75rem calc(.3rem + env(safe-area-inset-bottom));z-index:10}#account-nav button{flex:1;max-width:240px;border:0;min-height:50px}#account-nav [aria-current]{background:var(--yellow)}body.signed-in{padding-bottom:calc(65px + env(safe-area-inset-bottom))}.car-card,.history-card{border:1px solid var(--border);border-radius:7px;background:white;padding:.9rem;margin:.7rem 0;overflow-wrap:anywhere}.car-card{display:flex;align-items:center;justify-content:space-between;gap:.6rem}.car-card>div{min-width:0}.car-card p{font-size:.85rem;color:var(--muted)}.plate{background:var(--yellow);padding:.25rem .45rem;border-radius:4px;display:inline-block;letter-spacing:.05em;font-weight:700}.vin{font-weight:700;overflow-wrap:anywhere}.history-card summary{min-height:44px;cursor:pointer;font-weight:650;list-style-position:inside}.history-card p,.history-card li{font-size:.9rem}.history-card ul{padding-left:1.2rem}.history-card .button{width:100%;margin-top:.5rem}#profile-summary{padding:1rem;background:white;border:1px solid var(--border);border-radius:7px;overflow-wrap:anywhere}#profile-summary p{color:var(--muted);font-size:.9rem}.error,#status.error{color:#a32020}#status{font-size:.85rem;margin:0;overflow-wrap:anywhere;min-height:1.3em}#status:empty{min-height:0}.error:empty{display:none}dialog{border:1px solid var(--border);border-radius:8px;width:min(500px,calc(100% - 1.5rem));max-width:none;padding:0;max-height:calc(100dvh - 1.5rem);overflow:auto;color:#141414}dialog::backdrop{background:#0006}dialog>form{display:flex;flex-direction:column;max-height:calc(100dvh - 1.5rem)}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:.5rem;padding:.75rem;border-bottom:1px solid var(--border);flex-shrink:0}.dialog-content{padding:.75rem;min-height:0;overflow-y:auto}.dialog-actions{padding:.75rem;border-top:1px solid var(--border);flex-shrink:0}.dialog-actions button{margin:0}footer{max-width:720px;margin:0 auto;padding:1rem;display:flex;justify-content:space-between;gap:1rem;font-size:.8rem}footer a{min-height:44px;display:flex;align-items:center}:focus-visible{outline:3px solid #141414;outline-offset:3px;scroll-margin:100px}.skip{position:fixed;top:-100px;left:1rem;z-index:100;padding:1rem;background:var(--yellow)}.skip:focus{top:.5rem}body.busy button{pointer-events:none;opacity:.65}.empty{padding:1.5rem .5rem;color:var(--muted)}
@media(max-width:480px){header{height:56px;padding:.4rem .75rem;gap:.65rem}header .brand{font-size:1.3rem}header>span{font-size:.75rem}main{padding:.75rem .75rem 1rem}h1{font-size:1.45rem}.intro{margin:1rem 0}.intro p:not(.eyebrow){font-size:.9rem}#email-form,#code-form{padding:.85rem}.pair{gap:.5rem}.pair label{font-size:.75rem}.content{padding:.7rem}.car-card{padding:.75rem}.car-card button{font-size:.8rem;padding:.5rem}.verified{font-size:.7rem}.account-heading h1{margin:.4rem 0}.account-heading{margin-bottom:.6rem}.history-card{padding:.75rem}.save-bar{padding:.5rem 0}#registration{padding-bottom:1rem}}
@media(max-width:760px) and (max-height:500px){#account-nav{position:static}body.signed-in{padding-bottom:0}.save-bar{position:static}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

footer{flex-wrap:wrap}footer details{flex-basis:100%;min-width:0}footer summary{min-height:44px;display:flex;align-items:center;cursor:pointer}footer p{overflow-wrap:anywhere}

/* Compact account entry: two login fields and a separate registration action. */
header .brand img{display:block;width:150px;height:auto;max-height:40px}
.page-shell{display:contents}
:root:has(body.auth){background:#fff}
body.auth{background:#fff;min-height:100dvh}
body.auth .page-shell{display:block;width:calc(100% - 32px);max-width:480px;margin:72px auto 32px;border:1px solid #dedfe3;border-radius:8px;padding:32px}
body.auth header{height:auto;border:0;justify-content:flex-start;padding:0;margin-bottom:20px}
body.auth header>span,body.auth .header-link{display:none}
body.auth main{width:100%;max-width:none;margin:0;padding:0}
body.auth footer{margin:40px 0 0;width:100%;max-width:none;padding:0;color:#626262;justify-content:center;gap:16px}
body.auth footer details{flex-basis:auto}body.auth footer>a[href="/"]{display:none}
body.auth footer details[open]{flex-basis:100%}
#login{max-width:none}#login h1{font-size:24px;font-weight:750;line-height:1.2;letter-spacing:-.025em;margin:0 0 20px}
#login form{border:0;padding:0;background:none;border-radius:0}
#login form>label:not(.consent),#signup-business label,#signup-business .pair label{font-size:15px;font-weight:600;margin:18px 0 6px}
#login form>label:first-child{margin-top:0}
#login input:not([type=checkbox]):not([type=radio]){min-height:48px;border-color:#8b8b8b;border-radius:5px;padding:11px 12px;font-size:16px}
#login input:focus{border-color:#151515;outline:2px solid #151515;outline-offset:1px}
.password-field{position:relative}.password-field input{padding-right:66px!important}.password-field button{position:absolute;right:2px;top:2px;bottom:2px;padding:0 12px;background:transparent;border:0;font-size:13px;min-height:44px;text-decoration:underline;text-underline-offset:3px}
.login-field{position:relative;margin-top:16px}#login .login-field input{height:64px;padding:25px 16px 7px;border-radius:8px}.login-field label{position:absolute;left:16px;top:8px;margin:0;line-height:16px;font-size:12px;color:#565656;pointer-events:none}.login-field input:placeholder-shown:not(:focus)+label{top:22px;font-size:16px;line-height:20px}.password-visibility .eye-slash{display:none}.password-visibility[aria-pressed=true] .eye-slash{display:block}
.forgot-link{display:flex;align-items:center;justify-content:flex-start;min-height:44px;font-size:14px;margin:0 0 4px}
.auth-submit{width:100%;min-height:48px!important;font-size:16px;border-radius:5px!important}
#login .primary{background:#ffd400;border:1px solid #d0ad00;color:#151515}
#login-form .auth-submit{width:auto;min-width:100px;font-size:14px}
.create-account{margin-top:20px;text-align:left}
.create-account p{margin:0;font-size:15px;font-weight:400}
.registration-links{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:15px}
.registration-links a{display:inline-flex;align-items:center;min-height:44px;font-weight:600}
.auth-description{font-size:14px;line-height:1.6;color:#565656;margin:-8px 0 22px}
.auth-bottom{font-size:14px;margin:24px 0 0;text-align:center}.auth-bottom a{font-weight:600}
.auth-back{min-height:44px;display:inline-flex;align-items:center;font-size:14px;margin:-14px 0 8px}
.text-button{border:0;background:none;text-decoration:underline;font-weight:400;font-size:14px;padding:0;min-height:44px}
#login .hint{font-size:13px;margin:8px 0 18px}
.account-types{border:0;margin:0 0 12px;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:12px}
.account-types legend{font-size:15px;font-weight:600;margin:0 0 10px;padding:0}
.account-types label{border:1px solid #9b9b9b;border-radius:5px;padding:10px;display:flex;align-items:center;gap:8px;min-height:48px;font-size:15px;margin:0;cursor:pointer}
#login .account-types label:has(input:checked){border:2px solid var(--yellow);padding:9px;background:var(--yellow);color:#141414}
#login .account-types label:has(input:checked) input{accent-color:#141414;color-scheme:light}
.account-types input{width:18px;height:18px;margin:0;accent-color:#151515;flex-shrink:0}
#signup-type-help{margin:0 0 18px;min-height:44px}#signup-business .pair{gap:12px}
#login .consent{margin:20px 0;font-size:13px;font-weight:400;line-height:1.5}
.step-label{font-size:12px;color:#626262;margin:0 0 6px}#signup-details-title{margin-bottom:20px!important}
#login input[name=code]{letter-spacing:.18em;font-variant-numeric:tabular-nums}
body.auth #status:not(:empty){background:#f5f5f5;border-left:3px solid #151515;padding:12px;margin:0 0 18px;font-size:14px}
body.auth #status.error{background:#fff5f4;border-color:#a32020}
@media(max-width:480px){body.auth .page-shell{width:100%;margin:0;border:0;border-radius:0;padding:24px}body.auth header{padding:0;margin-bottom:20px}body.auth main{padding:0;margin:0}#login h1{font-size:24px;margin-bottom:20px}body.auth footer{padding:0;margin-top:28px}#signup-business .pair label{font-size:13px}.account-types{gap:10px}}

/* Account details: the same structure for pending and linked profiles. */
.details-card{min-width:0;margin:1rem 0;padding:1rem;background:#fff;border:1px solid var(--border);border-radius:7px}.details-card legend{font-weight:700;padding:0 .3rem}.details-card input[readonly]{background:#f0f1f3;color:var(--muted)}.account-actions{display:flex;align-items:center;gap:.6rem;flex-wrap:wrap}#profile-summary{border:0;background:none;padding:0}#profile-summary:empty{display:none}#account-details-form{min-width:0}#account-details-form .pair{gap:.75rem}@media(max-width:480px){.details-card{padding:.8rem}#account-details-form .pair{grid-template-columns:1fr}.account-actions{width:100%;justify-content:space-between}}

/* Account pages share the site's persisted theme; light remains the base palette. */
.account-preferences{display:flex;gap:.4rem;margin-left:auto;align-items:center}
.account-preferences button{gap:.35rem;font-size:.8rem;padding:.5rem;white-space:nowrap}
.account-preferences svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}
header{height:auto;min-height:64px;flex-wrap:wrap}
body.auth header{flex-wrap:wrap;gap:.7rem}
#profile-summary:empty{display:none}
html[data-theme="dark"],html[data-theme="dark"]:has(body.auth){color:#f4f4f5;background:#202123;--border:#4b4c51;--muted:#b9bec8;color-scheme:dark}
html[data-theme="dark"] body,html[data-theme="dark"] body.auth{background:#202123;color:#f4f4f5}
html[data-theme="dark"] header,html[data-theme="dark"] .accordion,html[data-theme="dark"] .details-card,html[data-theme="dark"] .car-card,html[data-theme="dark"] .history-card,html[data-theme="dark"] #profile-summary,html[data-theme="dark"] #account-nav,html[data-theme="dark"] dialog{background:#27282b;color:#f4f4f5;border-color:var(--border)}
html[data-theme="dark"] button,html[data-theme="dark"] .button,html[data-theme="dark"] input:not([type=checkbox]),html[data-theme="dark"] select{background:#303136;color:#f4f4f5;border-color:var(--border)}
html[data-theme="dark"] button.primary,html[data-theme="dark"] #login .primary,html[data-theme="dark"] #account-nav [aria-current],html[data-theme="dark"] .segmented [aria-pressed=true],html[data-theme="dark"] .plate{background:var(--yellow);color:#141414}
html[data-theme="dark"] .segmented,html[data-theme="dark"] .save-bar{background:#202123}
html[data-theme="dark"] .password-field button{background:transparent}
html[data-theme="dark"] .notice{background:#3d371c;color:#ffedb0;border-color:#887638}
html[data-theme="dark"] .verified{background:#1f422c;color:#bde9c8}
html[data-theme="dark"] .error,html[data-theme="dark"] #status.error{color:#ffb8b8}
html[data-theme="dark"] .login-field label,html[data-theme="dark"] body.auth footer{color:var(--muted)}
html[data-theme="dark"] :focus-visible,html[data-theme="dark"] #login input:focus{outline-color:var(--yellow);border-color:var(--yellow)}
html[data-theme="dark"] header .brand img{filter:brightness(0) invert(1)}
@media(max-width:480px){.account-preferences [data-theme-label]{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.account-preferences button{min-width:44px;min-height:44px}body.auth .page-shell{padding:20px}header .brand img{width:130px}}

/* Registration: one aligned column and breathing room before each action. */
#signup-details-form>.auth-submit,#forgot-form>.auth-submit{margin-top:24px}
#signup-business>label:first-child{margin-top:0}
.kvk-lookup{display:flex;align-items:stretch;gap:10px;min-width:0}
.kvk-lookup input{flex:1;min-width:0}
.kvk-lookup button{flex-shrink:0;font-size:14px;min-height:48px}
#business-fields>label{margin-top:16px}#business-fields>label:first-child{margin-top:0;margin-bottom:6px}
.lookup-status{font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere;margin:8px 0 18px}
.lookup-status:empty{display:none}
#signup-summary{overflow-wrap:anywhere}
body.auth #login .auth-description,body.auth #login .step-label{color:var(--muted)}
@media(max-width:380px){.kvk-lookup{flex-wrap:wrap}.kvk-lookup input,.kvk-lookup button{flex-basis:100%}}
