@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--ink:#272727;--muted:#8b8987;--accent:#646464;--surface-tint:#efedeb;--line:#e9e7e5;--paper:#f9f7f5;--white:#fff;--orange:#82807e}*{box-sizing:border-box}body{margin:0;background:#edebe9;color:var(--ink);font-family:'DM Sans',sans-serif;font-size:13px}button,input,select,textarea{font:inherit}button,a,input,select{outline-offset:4px}button{cursor:pointer;color:inherit}button{border:0;background:none}a{color:var(--accent)}button:hover{filter:brightness(.97)}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}.layout{display:grid;grid-template-columns:92px 1fr;min-height:100vh;max-width:1920px;margin:auto}.sidebar{position:sticky;top:0;height:100vh;border-right:1px solid #e1dfdd;display:flex;align-items:center;flex-direction:column;padding:30px 0 20px;gap:32px;background:#f1efed}.brand{font-family:Manrope,sans-serif;font-size:28px;font-weight:800;letter-spacing:-3px;color:#3d3d3d}.brand span{color:#9e9c9a}.side-nav{display:flex;flex-direction:column;gap:15px;flex:1;width:100%;align-items:center}.nav-btn{height:49px;width:57px;border-radius:16px;display:flex;flex-direction:column;gap:4px;align-items:center;justify-content:center;color:#8a8886;position:relative}.nav-btn small{font-size:8px;letter-spacing:.1px}.nav-btn.active{background:#444444;color:white;box-shadow:0 6px 14px #4444441c}.nav-btn.active:before{content:'';position:absolute;left:-18px;width:3px;height:19px;background:#444444;border-radius:3px}.icon{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.avatar{height:35px;width:35px;background:#e1dfdd;border-radius:50%;display:grid;place-items:center;font-weight:600;font-size:11px}.workspace{padding:0 37px 35px;min-width:0;background:linear-gradient(135deg,#fcfaf8 0%,#f3f1ef 70%,#f0eeec 100%)}.topbar{height:86px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);gap:18px}.wordmark{font-family:Manrope;font-size:24px;font-weight:800;letter-spacing:-1.1px}.wordmark span{font-size:9px;letter-spacing:2px;display:block;font-weight:500;color:#878583;margin-top:0}.top-links{display:flex;gap:8px;background:#eeecea;padding:4px;border-radius:25px}.top-links button{border-radius:20px;padding:9px 19px;font-size:12px;color:#83817f}.top-links .selected{background:white;color:#383838;box-shadow:0 2px 7px #22222208}.top-right{display:flex;align-items:center;gap:13px}.demo-badge{display:flex;align-items:center;gap:6px;border:1px solid #e3e1df;border-radius:20px;padding:7px 10px;font-size:10px;white-space:nowrap;color:#747270}.dot{height:6px;width:6px;background:#8b8987;border-radius:100%;display:inline-block}.notification{position:relative}.notification:after{content:'';height:5px;width:5px;background:#7d7b79;border:2px solid #f9f7f5;border-radius:50%;position:absolute;right:6px;top:1px}.page-heading{display:flex;align-items:end;justify-content:space-between;margin:29px 0 23px;gap:20px}.eyebrow{text-transform:uppercase;letter-spacing:1.8px;font-size:9px;color:#9a9896;margin:0 0 8px}.page-heading h1{font-family:Manrope;font-weight:500;font-size:28px;letter-spacing:-1.2px;margin:0 0 7px}.subtle{color:var(--muted);font-size:11px;line-height:1.6}.page-heading p{margin:0}.btn{padding:10px 15px;border:1px solid #e4e2e0;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fffffd8c;font-size:11px;white-space:nowrap}.btn.primary{background:#505050;border-color:#505050;color:#fff}.btn .icon{height:15px;width:15px}.actions{display:flex;gap:9px;align-items:center}.card{border:1px solid #fffffdbd;background:#fffffd87;border-radius:19px;box-shadow:0 4px 25px #37373703}.kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-bottom:20px}.kpi{padding:19px 20px;position:relative}.kpi-label{color:#868482;font-size:11px;display:flex;justify-content:space-between}.kpi-label .icon{height:15px;width:15px;color:#9a9896}.kpi-value{font-family:Manrope;font-size:27px;font-weight:500;letter-spacing:-1px;margin:10px 0 6px}.kpi-value small{font-family:'DM Sans';font-size:12px;color:#93918f;letter-spacing:0;margin-left:3px}.kpi-note{font-size:9px;color:#9a9896}.positive{color:#757371}.warning{color:#7f7d7b}.hero-grid{display:grid;grid-template-columns:minmax(0,1fr) 290px;gap:18px}.vehicle-hero{position:relative;padding:25px 27px 17px;min-height:360px;overflow:hidden;background:radial-gradient(ellipse at 46% 60%,#fff 0%,#f1efed 65%,#edebe9 100%);border:1px solid #fff;border-radius:21px}.hero-top{display:flex;justify-content:space-between;position:relative;z-index:2}.hero-top h2{font-family:Manrope;font-weight:500;font-size:32px;letter-spacing:-1.4px;margin:8px 0 5px}.hero-top p{margin:0;color:#8e8c8a;font-size:11px}.tag{display:inline-flex;align-items:center;gap:5px;border-radius:6px;padding:5px 7px;font-size:9px;background:#ebe9e7;color:#7a7876}.tag.amber{background:#edebe9;color:#817f7d}.tag.neutral{background:#efedeb;color:#83817f}.plate{background:#dcdad8;border:1px solid #cac8c6;border-radius:5px;font-size:10px;letter-spacing:1.4px;font-weight:700;display:inline-flex;overflow:hidden;align-items:center;height:22px}.plate b{display:grid;place-items:center;background:#616161;color:white;align-self:stretch;font-size:7px;width:14px;letter-spacing:0;margin-right:7px}.plate span{padding-right:7px}.car-stage{height:195px;position:relative;margin-top:-4px}.car-stage:after{content:'';position:absolute;bottom:10px;left:8%;width:80%;height:35px;border:1px solid #dfdddb;border-top:0;border-radius:50%;opacity:.7}.car-stage img{position:absolute;width:92%;height:255px;object-fit:contain;left:1%;bottom:-11px;z-index:1;mix-blend-mode:multiply}.hero-bottom{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:2;border-top:1px solid #e0dedc;padding-top:14px;gap:10px}.hero-specs{display:flex;gap:24px}.spec-label{font-size:9px;color:#93918f;margin-bottom:5px}.spec-value{font-size:12px}.hero-price{font-family:Manrope;font-size:21px;letter-spacing:-.7px}.round-btn{border:1px solid #dfdddb;background:#fffffd90;border-radius:50%;height:31px;width:31px;display:grid;place-items:center}.round-btn .icon{height:14px;width:14px}.assistant{padding:21px 20px;display:flex;flex-direction:column;background:linear-gradient(145deg,#fcfaf8cd,#eeecead9);border-color:white;min-height:360px}.card-heading{display:flex;justify-content:space-between;align-items:center}.card-heading h3{font-family:Manrope;font-weight:600;font-size:14px;letter-spacing:-.35px;margin:0}.sparkle{background:#e8e6e4;height:28px;width:28px;display:grid;place-items:center;border-radius:9px;color:#646464}.assistant-lead{font-size:16px;line-height:1.45;letter-spacing:-.4px;margin:23px 0 12px}.assistant p{color:#858381;line-height:1.7;font-size:11px;margin:0 0 13px}.assistant-chips{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:16px}.chip{border:1px solid #dfdddb;border-radius:8px;font-size:9px;padding:7px 9px;color:#72706e;background:#fffffd63}.ask-box{display:flex;background:#fff9;border:1px solid #fff;border-radius:10px;padding:5px;margin-top:auto}.ask-box input{border:0;min-width:0;width:100%;background:transparent;padding:5px;font-size:10px}.ask-box button{background:#505050;color:white;border-radius:7px;width:29px;height:29px;display:grid;place-items:center}.ask-box .icon{width:13px;height:13px}.ai-note{font-size:8px;color:#999795;text-align:center;margin-top:8px}.lower-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-top:20px}.panel{padding:23px}.panel-sub{font-size:10px;color:#92908e;margin-top:6px}.period{display:flex;gap:3px;background:#f2f0ee;border-radius:6px;padding:3px}.period button{font-size:9px;padding:4px 8px;color:#908e8c;border-radius:4px}.period button.active{background:white;color:#535353}.legend{display:flex;gap:15px;font-size:9px;color:#8f8d8b;margin-top:13px}.legend i{width:6px;height:6px;border-radius:50%;background:#7f7d7b;display:inline-block;margin-right:5px}.legend .grey{background:#d0cecc}.chart{height:155px;margin-top:8px;position:relative}.chart svg{width:100%;height:100%;overflow:visible}.chart-labels{display:flex;justify-content:space-between;color:#a3a19f;font-size:8px;padding:0 4px 0 32px}.chart-foot{border-top:1px solid var(--line);margin-top:16px;padding-top:12px;display:flex;justify-content:space-between;color:#898785;font-size:9px}.text-link{color:#696765;font-size:10px;display:flex;align-items:center;gap:6px}.text-link .icon{height:12px;width:12px}.attention-list{margin-top:15px}.attention-row{padding:13px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;gap:11px}.attention-row:last-child{border:0;padding-bottom:0}.mini-car{width:59px;height:37px;object-fit:contain;mix-blend-mode:multiply}.car-monogram{background:#edebe9;color:#8c8a88;font-size:12px;width:45px;height:34px;border-radius:8px;display:grid;place-items:center;flex-shrink:0}.row-info{flex:1}.row-info strong{font-size:11px;font-weight:500;display:block;margin-bottom:4px}.row-info small{font-size:9px;color:#949290}.row-end{text-align:right;font-size:11px}.row-end small{display:block;font-size:9px;color:#8a8886;margin-top:4px}.bottom-note{display:flex;justify-content:space-between;color:#a19f9d;font-size:9px;padding:23px 2px 0;gap:10px}.bottom-note span{display:flex;align-items:center;gap:6px}.filterbar{display:flex;gap:10px;margin-bottom:18px;flex-wrap:wrap}.search{display:flex;align-items:center;gap:8px;background:#fffb;border:1px solid #e5e3e1;padding:0 12px;border-radius:9px;flex:1;min-width:180px}.search .icon{width:15px;color:#979593}.search input{border:0;background:none;padding:11px 0;width:100%;font-size:11px}input,select,textarea{color:var(--ink)}select,.field input{background:#fff9;border:1px solid #e3e1df;border-radius:9px;padding:10px 12px;font-size:11px}.table-wrap{overflow:auto}.data-table{width:100%;border-collapse:collapse;text-align:left;white-space:nowrap}.data-table th{text-transform:uppercase;letter-spacing:1px;font-size:8px;font-weight:500;color:#9c9a98;padding:15px 17px;background:#f6f4f2}.data-table td{padding:17px;border-bottom:1px solid #eceae8;font-size:11px}.data-table tbody tr{cursor:pointer}.data-table tbody tr:hover{background:#f5f3f1}.vehicle-cell{display:flex;align-items:center;gap:12px}.vehicle-cell strong{font-size:12px;font-weight:500}.vehicle-cell small{display:block;margin-top:5px;font-size:9px;color:#959391}.bar-track{height:4px;background:#edebe9;border-radius:5px;width:65px;margin-top:6px;overflow:hidden}.bar-fill{height:100%;background:#8b8987;border-radius:5px}.empty{padding:50px;text-align:center;color:#898785}.two-col{display:grid;grid-template-columns:1.15fr 1fr;gap:20px}.field{display:flex;flex-direction:column;gap:7px;margin-bottom:17px}.field label{font-size:10px;color:#878583}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}.field input{width:100%}.license-input{font-size:24px!important;letter-spacing:3px;background:#e0dedc!important;border-color:#cccac8!important;font-weight:650;text-transform:uppercase}.big-result{font-family:Manrope;font-size:38px;letter-spacing:-1px;margin:16px 0 4px}.result-rows>div{display:flex;justify-content:space-between;padding:13px 0;border-bottom:1px solid var(--line);font-size:11px}.result-rows>div span{color:#878583}.info-box{padding:13px;background:#f2f0ee;border-radius:10px;color:#7d7b79;font-size:10px;line-height:1.7;margin-top:18px}.section-title{font-size:16px;letter-spacing:-.5px;font-family:Manrope;font-weight:500;margin:23px 0 15px}.stat-columns{display:flex;gap:14px;align-items:flex-end;height:150px;padding:10px 10px 0}.stat-column{flex:1;background:linear-gradient(#a9a7a5,#d6d4d2);border-radius:6px 6px 0 0;position:relative;min-width:20px}.stat-column span{position:absolute;top:-21px;text-align:center;width:100%;font-size:10px;color:#8c8a88}.stat-column label{position:absolute;bottom:-23px;width:100%;text-align:center;font-size:9px;color:#908e8c}.source-list{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.source-card{padding:24px}.source-logo{height:42px;display:flex;align-items:center;font-weight:700;font-size:17px;letter-spacing:-.5px}.source-card p{line-height:1.7;color:#908e8c;font-size:11px}.source-card .tag{margin:12px 0}.coverage{display:flex;gap:14px;margin-top:15px;flex-wrap:wrap}.coverage span{font-size:9px;color:#858381}.tabs{display:flex;gap:20px;border-bottom:1px solid var(--line);margin:23px 0 20px}.tabs button{padding:12px 0;color:#959391;font-size:11px;border-bottom:2px solid transparent}.tabs button.active{color:#4c4c4c;border-color:#4c4c4c}.metric-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.compact h3{font-size:20px}.detail-title{font-family:Manrope;font-size:27px;font-weight:500;margin:16px 0 7px}dialog{border:1px solid white;border-radius:23px;padding:28px;background:#f8f6f4;width:min(780px,94vw);color:var(--ink);max-height:90vh;overflow:auto;box-shadow:0 30px 100px #2e2e2e33}dialog::backdrop{background:#2c2c2c55;backdrop-filter:blur(5px)}.dialog-head{display:flex;justify-content:space-between;align-items:center}.dialog-head h2{font-size:20px;font-family:Manrope;font-weight:500;margin:0}.dialog-car{width:100%;height:180px;object-fit:contain;mix-blend-mode:multiply}.dialog-actions{display:flex;justify-content:end;gap:10px;margin-top:23px}#toast{position:fixed;bottom:25px;left:50%;transform:translate(-50%,20px);opacity:0;background:#414141;color:white;border-radius:12px;padding:14px 22px;box-shadow:0 10px 30px #2b2b2b30;transition:.25s;pointer-events:none;z-index:100;font-size:12px;max-width:90vw}#toast.visible{transform:translate(-50%,0);opacity:1}.research-item{display:grid;grid-template-columns:170px 1fr;gap:20px;padding:19px 0;border-bottom:1px solid var(--line)}.research-item strong{font-size:12px;font-weight:500}.research-item p{margin:0;color:#8a8886;font-size:11px;line-height:1.8}.research-item a{display:inline-block;margin-top:6px;font-size:10px}.range-input{accent-color:#5a5a5a;width:100%;margin:20px 0}.assistant-answer{font-size:11px;line-height:1.8;color:#716f6d;margin:14px 0;white-space:pre-line}.mobile-brand{display:none}.notice{font-size:10px;line-height:1.7;color:#949290;margin-bottom:16px}.foot-legend{display:flex;gap:20px;margin-top:18px;font-size:10px;color:#92908e}.progress-row{display:flex;gap:12px;align-items:center;padding:12px 0;font-size:11px}.progress-row span{width:90px}.progress-row .bar-track{width:auto;flex:1;margin:0;height:7px}.progress-row b{width:36px;text-align:right;font-weight:500}textarea{width:100%;min-height:100px;border:1px solid #e3e1df;background:white;border-radius:10px;padding:12px;resize:vertical}.input-inline{display:flex;gap:10px}.input-inline input{flex:1;min-width:0}.kpi.active-kpi{background:#efedeb}.alert-count{background:#ebe9e7;color:#7a7876;border-radius:5px;padding:4px 6px;font-size:9px}.status-footer{margin-top:20px;display:flex;gap:8px;align-items:center;color:#918f8d;font-size:10px}.source-help{padding:20px;margin-top:20px}.detail-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.detail-stats>div{padding:14px;background:#f0eeec;border-radius:10px}.detail-stats small{display:block;color:#908e8c;font-size:9px;margin-bottom:7px}.detail-stats strong{font-size:15px;font-weight:500}.range-end{display:flex;justify-content:space-between;font-size:9px;color:#969492}.disabled-tag{font-size:9px;color:#8f8d8b}.list-buttons{display:flex;gap:10px;flex-wrap:wrap}.report-option{padding:20px;display:flex;align-items:center;gap:15px;margin-bottom:12px}.report-option .row-info strong{font-size:13px}.report-option .icon{color:#8b8987}.outlook{font-size:10px;color:#989694;line-height:1.8}.selected-vehicle{color:#686664}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}
@media(min-width:1500px){.workspace{padding:0 55px 40px}.hero-grid{grid-template-columns:minmax(0,1fr) 330px}.vehicle-hero,.assistant{min-height:400px}.car-stage{height:230px}.car-stage img{height:300px}.hero-top h2{font-size:38px}.kpi{padding:23px}.chart{height:180px}}
@media(max-width:1100px){.workspace{padding:0 22px 25px}.hero-grid{grid-template-columns:minmax(0,1fr) 255px}.hero-specs{gap:13px}.hero-top h2{font-size:27px}.top-links button{padding:9px 12px}.hero-price{font-size:18px}.kpi{padding:16px}.kpi-value{font-size:24px}.source-list{grid-template-columns:1fr 1fr}.hero-bottom .btn{padding:9px}.lower-grid{gap:14px}.panel{padding:19px}}
@media(max-width:850px){.layout{grid-template-columns:70px 1fr}.sidebar{padding-top:25px}.nav-btn{width:48px}.nav-btn.active:before{left:-11px}.top-links{display:none}.hero-grid,.two-col{grid-template-columns:1fr}.assistant{min-height:220px}.assistant-lead{margin-top:15px}.assistant-chips{margin-bottom:10px}.lower-grid{grid-template-columns:1fr}.kpis{grid-template-columns:1fr 1fr}.hero-grid .assistant{display:none}.page-heading h1{font-size:24px}.source-list{grid-template-columns:1fr 1fr}.research-item{grid-template-columns:130px 1fr}.hero-top h2{font-size:32px}.vehicle-hero{min-height:360px}.metric-grid{grid-template-columns:1fr 1fr}.detail-stats{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.layout{display:block}.sidebar{position:fixed;top:auto;bottom:0;height:62px;width:100%;flex-direction:row;padding:3px 8px;z-index:20;border-top:1px solid #e5e3e1;border-right:0;gap:0}.sidebar>.brand,.sidebar>.avatar,.sidebar>.nav-btn{display:none}.side-nav{flex-direction:row;gap:0;justify-content:space-around}.nav-btn{width:40px;height:48px;border-radius:11px}.nav-btn small{font-size:7px}.nav-btn .icon{height:17px;width:17px}.nav-btn.active:before{display:none}.workspace{padding:0 16px 90px}.topbar{height:70px}.top-right{gap:9px}.demo-badge{font-size:8px;padding:6px 8px}.wordmark{font-size:22px}.wordmark span{font-size:7px}.page-heading{margin:24px 0 18px;align-items:start}.page-heading h1{font-size:22px}.page-heading .subtle{font-size:10px}.page-heading>.actions .btn:not(.primary){display:none}.btn{font-size:10px;padding:9px 11px}.kpis{gap:9px;margin-bottom:14px}.kpi{padding:14px}.kpi-value{font-size:24px}.kpi-label{font-size:10px}.kpi-note{font-size:8px}.vehicle-hero{padding:19px;min-height:330px}.hero-top h2{font-size:29px}.hero-top .plate{font-size:9px}.car-stage{height:174px}.car-stage img{width:110%;left:-5%;height:215px;bottom:-7px}.hero-specs{gap:16px}.hero-price{font-size:19px}.hero-bottom{flex-wrap:wrap;gap:15px}.hero-bottom>.btn{width:100%}.lower-grid{margin-top:14px}.panel{padding:18px}.source-list,.metric-grid{grid-template-columns:1fr}.research-item{grid-template-columns:1fr;gap:8px}.form-grid{gap:0 10px}.bottom-note{flex-direction:column}.top-right>.avatar{display:none}.page-heading>.actions{margin-top:7px}.section-title{font-size:15px}.chart-labels{font-size:7px}.detail-stats strong{font-size:13px}.filterbar{gap:8px}.filterbar select{flex:1;min-width:100px}.foot-legend{flex-direction:column;gap:7px}.stat-columns{gap:8px}.data-table td{padding:14px}.hero-top .eyebrow{font-size:8px}}

@media(max-width:850px){.hero-grid .assistant{display:flex;min-height:235px}.assistant-lead br{display:none}.assistant-lead{margin:15px 0 8px}.assistant-chips{margin-bottom:12px}}

/* Silver, warm white and charcoal, matched to the supplied references. */
:root{--ink:#242322;--muted:#777572;--accent:#292827;--surface-tint:#e9e6e2;--line:#dedbd7;--paper:#f4f3f1;--orange:#89715d}
body{background:#d7d5d2}
.sidebar{background:linear-gradient(180deg,#ecebeaeb,#dedbd7eb);border-right-color:#ffffffb3}
.workspace{background:radial-gradient(ellipse at 95% 0%,#dedfdf 0%,transparent 48%),radial-gradient(ellipse at 5% 90%,#e4d9ce70 0%,transparent 55%),linear-gradient(135deg,#f5f4f2,#e9e7e4 70%,#dedcd9)}
.brand,.brand span{color:#282725}
.nav-btn.active,.btn.primary,.ask-box button{background:#282725;border-color:#282725;color:#fff}
.nav-btn.active{box-shadow:0 6px 16px #28272518}
.nav-btn.active:before{background:#282725}
.card{background:linear-gradient(145deg,#ffffff9c,#f6f4f16e);border-color:#ffffffe0;box-shadow:0 8px 30px #35312d06;backdrop-filter:blur(18px)}
.vehicle-hero{background:radial-gradient(ellipse at 45% 50%,#ffffff 0%,#e6e6e5 58%,#d7d8d8 100%);border-color:#ffffffe0}
.assistant{background:linear-gradient(145deg,#f9f8f5ce,#ddd8d1c4)}
.top-links{background:#deddda}.top-links .selected{color:#282725}
.sparkle,.avatar{background:#dfdcd7;color:#4c4843}
.tag{background:#e5e2de;color:#625c55}.tag.amber,.alert-count{background:#e9e0d6;color:#806b58}
.tag.neutral{background:#e9e7e3;color:#79736c}
.positive,.text-link{color:#62584f}.warning{color:#8a7059}
.dot,.notification:after{background:#8c8176}
.info-box{background:#e8e3dc;color:#6e6256}
.chip{background:#ffffff73;border-color:#d6d0c8;color:#665e55}
.assistant p,.assistant-answer{color:#6e655c}
.legend i,.bar-fill{background:#8d8176}.legend .grey{background:#c2c1bf}
.stat-column{background:linear-gradient(#a89d92,#d7d0c8)}
.data-table th{background:#eeece8}.data-table tbody tr:hover{background:#e9e5df}
.car-monogram{background:#e4e0db;color:#77706a}
.detail-stats>div{background:#e7e3dd}
.ask-box button,#toast{background:#282725;color:#fff}
dialog{background:#f0eeeb;box-shadow:0 30px 100px #25232133}dialog::backdrop{background:#29272455}
.plate{background:#f1d67b;border-color:#d7bf70}.plate b{background:#526479}
/* Vehicle check and transparent valuation */
.tax-search{padding:24px 27px;display:flex;align-items:center;justify-content:space-between;gap:25px;margin-bottom:22px}.tax-search h2{font-family:Manrope;font-weight:500;font-size:21px;letter-spacing:-.7px;margin:8px 0}.tax-search p{margin:0}.tax-search form{display:flex;gap:10px}.tax-search .license-input{width:180px;border:1px solid #d7bf70;border-radius:9px;padding:12px}.tax-empty{padding:70px 25px;text-align:center;min-height:370px}.tax-empty h2{font-size:25px;font-family:Manrope;font-weight:500;letter-spacing:-.8px}.tax-empty p{color:#827b73;line-height:1.9;font-size:12px}.tax-empty-icon{background:#e5e0da;border:1px solid #fff;border-radius:22px;padding:18px;display:inline-flex}.tax-empty-icon .icon{width:32px;height:32px}.tax-steps{display:flex;justify-content:center;gap:30px;font-size:11px;color:#756c62;margin:30px 0}.tax-vehicle-grid{display:grid;grid-template-columns:1.3fr 1fr;gap:20px}.tax-hero{min-height:350px}.tax-hero .hero-top h2{font-size:26px;max-width:420px;overflow-wrap:anywhere}.tax-car-image{height:225px;display:grid;place-items:center}.tax-car-image>img{width:100%;height:100%;object-fit:contain;border-radius:12px;mix-blend-mode:multiply}.tax-image-placeholder{display:flex;flex-direction:column;align-items:center;gap:12px;color:#918d87}.tax-image-placeholder>.icon{width:80px;height:80px;stroke-width:.7}.tax-image-placeholder strong{font-weight:500;color:#6e6963}.tax-image-placeholder span{font-size:10px}.tax-image-caption{display:flex;align-items:center;justify-content:space-between;gap:15px;border-top:1px solid #d4d1cd;padding-top:13px;font-size:9px;color:#8c857d}.rdw-summary{display:grid;grid-template-columns:1fr 1fr;gap:21px 18px;margin:23px 0}.rdw-summary small{display:block;color:#92897e;font-size:9px;margin-bottom:6px}.rdw-summary strong{font-weight:500;font-size:12px}.tax-price-section{margin-top:20px}.tax-price-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:22px 0}.tax-price-card{background:#ffffff80;border:1px solid #fff;border-radius:14px;padding:19px 17px;display:flex;flex-direction:column}.tax-price-card>span{color:#797269;font-size:11px}.tax-price-card>strong{font-family:Manrope;font-size:27px;font-weight:500;letter-spacing:-.9px;margin:11px 0}.tax-price-card>small{color:#928a80;font-size:9px;line-height:1.6;min-height:29px}.tax-price-card>p{margin:10px 0 0;padding-top:10px;border-top:1px solid #e6e1da;color:#786656;font-size:10px;line-height:1.5}.tax-inputs{display:grid;grid-template-columns:1fr 1fr 1fr;gap:16px}.trade-assumptions{margin-bottom:20px;border-bottom:1px solid #dedbd6;padding:2px 0 15px}.trade-assumptions summary{cursor:pointer;color:#776b5e;font-size:11px;padding:10px 0}.trade-assumptions .form-grid{margin-top:20px}.rdw-group{border-bottom:1px solid #dedbd6;padding:15px 0}.rdw-group>summary{font-family:Manrope;font-size:13px;font-weight:600;cursor:pointer}.rdw-group>summary>small{font-family:'DM Sans';font-size:9px;font-weight:400;color:#9b9082;margin-left:15px}.rdw-fields{display:grid;grid-template-columns:1fr 1fr;gap:0 30px;margin:14px 0}.rdw-fields>div{display:flex;justify-content:space-between;align-items:baseline;gap:18px;padding:10px 0;border-bottom:1px solid #e8e3dc}.rdw-fields span{font-size:10px;color:#8b8175;overflow-wrap:anywhere}.rdw-fields strong{font-size:11px;font-weight:500;text-align:right;overflow-wrap:anywhere;max-width:55%}.rdw-fields .rdw-missing{color:#b2a89b;font-size:9px;font-weight:400}.tax-comparable{display:flex;gap:18px;align-items:center;border-bottom:1px solid #e1dcd5;padding:21px 0}.tax-comparable .row-info strong{font-size:13px}.tax-comparable a{font-size:10px}.tax-comparable .row-end{min-width:140px}.tax-comparable .row-end>strong{font-family:Manrope;font-size:20px;font-weight:500}.tax-comparable .row-end small{font-size:9px;color:#8c7d6a}.tax-tabs{overflow:auto;white-space:nowrap}.tax-empty-icon,.tax-image-placeholder .icon{color:#807970}button:disabled{opacity:.5;cursor:wait}
@media(max-width:1100px){.tax-search{align-items:start;flex-direction:column}.tax-search form{width:100%}.tax-search .license-input{flex:1;min-width:0}.tax-price-grid{grid-template-columns:1fr 1fr}.tax-vehicle-grid{grid-template-columns:1fr 1fr}.tax-hero .hero-top{flex-direction:column;gap:15px}.tax-hero .plate{align-self:start}.tax-hero .hero-top h2{font-size:23px}.tax-car-image{height:200px}.rdw-summary{grid-template-columns:1fr}.rdw-fields{grid-template-columns:1fr}}
@media(max-width:850px){.tax-vehicle-grid{grid-template-columns:1fr}.rdw-summary{grid-template-columns:1fr 1fr}.tax-hero .hero-top{flex-direction:row}.tax-inputs{grid-template-columns:1fr 1fr}.tax-hero .hero-top h2{font-size:25px}}
@media(max-width:540px){.tax-search{padding:20px;gap:18px}.tax-search form{flex-direction:column}.tax-search .license-input{width:100%}.tax-empty{padding:35px 20px}.tax-steps{flex-direction:column;gap:12px}.tax-empty h2{font-size:21px}.tax-price-grid{gap:9px}.tax-price-card{padding:14px 12px}.tax-price-card>strong{font-size:24px}.tax-inputs{grid-template-columns:1fr}.tax-image-caption{align-items:start;flex-direction:column}.tax-hero .hero-top{flex-direction:column}.tax-hero .hero-top h2{font-size:23px}.tax-comparable{flex-wrap:wrap;gap:12px}.tax-comparable .row-end{margin-left:55px;text-align:left}.tax-comparable .row-info{min-width:190px}.tax-tabs{gap:18px}.rdw-fields strong{max-width:48%}}
.tax-car-image{position:relative;min-height:0;overflow:hidden;margin:12px 0}.tax-car-image>img{position:absolute;inset:0;display:block;width:100%;height:100%;max-height:100%;min-height:0;object-fit:contain}.tax-image-caption{position:relative;z-index:1}.tax-hero{overflow:visible}
.live-market-panel{margin-bottom:22px}.market-source-status{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:22px 0 16px}.market-source-status article{border:1px solid #ded8d0;border-radius:13px;padding:17px;background:#fff5}.market-source-status strong{display:block;font-size:14px;font-weight:500;margin-bottom:12px}.market-source-status p{font-size:10px;line-height:1.8;color:#84796c}.market-source-status a{font-size:9px;color:#756554}.market-probe-note{display:flex;justify-content:space-between;gap:14px;color:#9b8e7e;font-size:9px}.market-candidate-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.market-candidate{background:#fff9;border:1px solid #fff;border-radius:15px;overflow:hidden;display:flex;flex-direction:column}.market-candidate>img{height:170px;width:100%;object-fit:cover;background:#dedbd6}.market-no-photo{height:170px;display:grid;place-items:center;background:#e5e0d9;color:#968a7a}.market-candidate-body{padding:18px;display:flex;flex-direction:column;flex:1}.market-candidate h4{font-family:Manrope;font-size:13px;line-height:1.6;font-weight:600;margin:12px 0;min-height:61px}.market-candidate .tag{align-self:start}.market-candidate-price{font-family:Manrope;font-size:25px;letter-spacing:-.6px;margin:3px 0 9px}.market-observation{font-size:9px;color:#9a8d7c;margin-bottom:15px}.market-card-actions{display:flex;flex-direction:column;align-items:start;gap:14px;margin-top:auto}.market-card-actions a{font-size:10px}.market-card-actions .btn{width:100%;font-size:10px}.market-candidate .subtle{font-size:10px}.market-source-status .tag{font-size:9px}
@media(max-width:1100px){.market-candidate-grid{grid-template-columns:1fr 1fr}}
@media(max-width:650px){.market-candidate-grid,.market-source-status{grid-template-columns:1fr}.live-market-panel>.card-heading{align-items:start;flex-direction:column;gap:16px}.market-probe-note{flex-direction:column;gap:6px}.market-candidate>img{height:210px}.market-candidate h4{min-height:0}}
.monitor-intro{display:flex;justify-content:space-between;gap:25px;align-items:center;margin:24px 0}.monitor-intro form{display:flex;gap:10px}.monitor-intro input{width:170px;border:1px solid #ddd4c6;border-radius:9px;padding:10px}.monitor-watches{display:grid;grid-template-columns:1fr 1fr;gap:13px;margin:20px 0}.monitor-watches>div{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#ffffff75;border:1px solid #fff;border-radius:12px;padding:17px}.monitor-watches strong{font-weight:500;font-size:13px;display:block}.monitor-watches small{font-size:10px;display:block;color:#998a79;margin-top:5px}
@media(max-width:850px){.monitor-intro{align-items:start;flex-direction:column}.monitor-watches{grid-template-columns:1fr}.monitor-intro form{width:100%}.monitor-intro input{flex:1;min-width:0}}
@media(max-width:540px){.monitor-intro form{flex-direction:column}.monitor-intro input{width:100%}}

/* Showroom and glass surfaces */
:root {
  --ink: #242220;
  --muted: #57514c;
  --accent: #514943;
  --line: #fff9;
  --glass: linear-gradient(145deg, #ffffffe0, #f4f0ead1);
  --glass-edge: #fffc;
  --glass-shadow: 0 10px 30px #27211c18, inset 0 1px 0 #fffc;
}

body {
  background: #d1cdc8 url('assets/kooyman-showroom.jpg?v=wandlogo-1') center center / cover no-repeat fixed;
}
.layout {
  width: calc(100% - clamp(28px, 8vw, 136px));
  max-width: 1512px;
  min-height: calc(100vh - 100px);
  margin: 50px auto;
  align-items: start;
  background: linear-gradient(125deg, #fff8, #f4f0ea54 64%, #fffa);
  border: 1px solid #fffe;
  border-radius: 30px;
  box-shadow: 0 24px 75px #25211d38, inset 0 1px 0 #fffc;
}
.sidebar {
  top: 24px;
  margin: 12px 0 12px 12px;
  height: auto;
  min-height: min(640px, calc(100dvh - 72px));
  gap: 18px;
  padding: 15px 0;
  border: 1px solid var(--glass-edge);
  border-radius: 22px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
}
.brand {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #292624;
  color: #fff;
  font-size: 17px;
  letter-spacing: -1px;
}
.brand span { color: #ded6cc; }
.side-nav { gap: 8px; }
.nav-btn { color: #57504a; }
.nav-btn.active, .btn.primary { background: #292624; color: #fff; border-color: #292624; }
.nav-btn.active::before { display: none; }
.workspace { background: none; padding-top: 14px; }
.topbar {
  height: 70px;
  padding: 0 16px;
  border: 1px solid var(--glass-edge);
  border-radius: 20px;
  background: var(--glass);
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
}
.wordmark { line-height: 1.05; white-space: nowrap; }
.wordmark span { margin-top: 5px; color: #57514c; }
.top-links { background: #4d433511; }
.top-links button, .demo-badge { color: #57514c; }
.demo-badge { background: #fff7; border-color: #fffc; }

.page-heading {
  padding: 17px 20px;
  background: linear-gradient(110deg, #fffdeee8, #f4f1e9af);
  border: 1px solid var(--glass-edge);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}
.page-heading h1 { font-size: clamp(24px, 2.8vw, 41px); letter-spacing: -.055em; }
.card, .vehicle-hero {
  background: var(--glass);
  border-color: var(--glass-edge);
  backdrop-filter: blur(16px);
  box-shadow: var(--glass-shadow);
}
.vehicle-hero {
  background: radial-gradient(ellipse at 48% 57%, #fffffff0, #f2eee8bf 72%);
  backdrop-filter: blur(9px);
}
.eyebrow, .kpi-note, .kpi-label, .spec-label, .assistant p,
.hero-top p, .tax-price-card > small { color: var(--muted); }
.bottom-note {
  padding: 10px 14px;
  border: 1px solid var(--glass-edge);
  border-radius: 12px;
  background: var(--glass);
  color: var(--muted);
}

@media (max-width: 850px) {
  .layout { margin: 24px auto; }
  .sidebar { margin-left: 7px; }
}
@media (max-width: 540px) {
  .layout { width: calc(100% - 16px); margin: 8px auto; border-radius: 24px; }
  .sidebar {
    left: 8px;
    right: 8px;
    bottom: 8px;
    width: auto;
    min-height: 0;
    height: 62px;
    margin: 0;
    padding: 3px 4px;
    border-radius: 19px;
  }
  .side-nav { gap: 0; }
  .workspace { padding: 8px 8px 88px; }
  .topbar { height: 62px; padding: 0 10px; gap: 7px; }
  .wordmark { font-size: 20px; }
  .page-heading { padding: 13px 12px; gap: 8px; }
}

.tax-image-progress{width:min(220px,65vw);height:7px;accent-color:#6f5e50}

.tax-search form{align-items:end;flex-wrap:wrap}.tax-search form .field{min-width:0}.tax-search #check-km{width:140px}
@media(max-width:540px){.tax-search form{align-items:stretch}.tax-search #check-km{width:100%}}

.inventory-car{display:flex;align-items:center;gap:12px}.inventory-car img{width:76px;height:52px;object-fit:cover;border-radius:8px;flex-shrink:0}.inventory-car small{color:var(--muted)}

.tax-showroom {
  position: relative;
  padding: clamp(16px, 3vw, 36px);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}
.tax-showroom-heading, .tax-showroom-market {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.tax-showroom-heading h2 {
  font-size: clamp(24px, 3.5vw, 48px);
  line-height: 1.1;
  margin: 8px 0 0;
  letter-spacing: -.055em;
  text-wrap: balance;
}
.tax-showroom-heading .plate { flex-shrink: 0; }
.tax-showroom-grid {
  display: grid;
  grid-template-columns: minmax(155px, 1fr) minmax(0, 3fr) minmax(165px, 1fr);
  gap: 14px;
  align-items: center;
  margin: auto 0 24px;
  position: relative;
  pointer-events: none;
}
.tax-glass {
  padding: clamp(12px, 1.5vw, 20px);
  border: 1px solid #ffffffdd;
  border-radius: 20px;
  background: linear-gradient(140deg, #fffc, #f1ece2ae);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 28px #302b2317, inset 0 1px 0 #fff9;
}
.tax-glass h3 { margin: 6px 0 10px; font-size: 16px; }
.tax-glass dl { margin: 0; }
.tax-glass dl div { padding: 8px 0; border-bottom: 1px solid #29262418; }
.tax-glass dl div:last-child { border: 0; }
.tax-glass dt { color: var(--muted); font-size: 11px; }
.tax-glass dd { margin: 3px 0 0; font-weight: 650; overflow-wrap: anywhere; }
.tax-showroom-prices dd { font-size: clamp(17px, 2vw, 25px); letter-spacing: -.05em; }
.tax-showroom-difference {
  display: block;
  margin-top: 8px;
  color: #594b3e;
  font-size: 11px;
}
.tax-showroom-stage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: #ded8cf url('assets/kooyman-showroom.jpg?v=wandlogo-1') center / cover;
}
.tax-showroom-stage:has(img) { background-image: none; }
.tax-showroom-stage .tax-car-image { position: absolute; inset: 0; height: auto; margin: 0; background: none; }
.tax-showroom-stage .tax-car-image img, .tax-return-preview .tax-car-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.tax-showroom-stage .tax-image-caption {
  position: absolute; left: 50%; bottom: 112px; transform: translateX(-50%);
  width: max-content; max-width: 85%; color: #292624;
  border-radius: 20px; background: #f8f4ebda; padding: 3px 9px;
}
.tax-showroom-stage .tax-image-caption:empty { display: none; }
.tax-showroom-specs { grid-column: 1; }
.tax-showroom-prices { grid-column: 3; }
.tax-showroom-market { position: relative; }
.tax-showroom-heading { text-shadow: 0 1px 12px #fff; }
.tax-showroom-market strong { display: block; margin-top: 5px; font-size: 13px; }
.tax-showroom-scroll-cue { display: none; }
@media (max-width: 1050px) {
  .tax-showroom { padding-top: 0; }
  .tax-showroom-heading {
    min-height: 100dvh;
    align-items: flex-start;
    padding-top: 20px;
  }
  .tax-showroom-scroll-cue {
    display: inline-flex;
    position: absolute;
    top: calc(100dvh - 76px);
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
  .tax-showroom-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    margin: 12px 0 20px;
  }
  .tax-showroom-stage .tax-image-caption { bottom: 24px; }
  .tax-showroom-prices { grid-column: 2; }
}
@media (max-width: 540px) {
  .tax-showroom-heading { align-items: flex-start; }
  .tax-showroom-grid { gap: 8px; }
  .tax-showroom-market { flex-wrap: wrap; }
}

#tax-showroom-dialog {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
  overflow: hidden;
  isolation: isolate;
  animation: tax-room-in .72s cubic-bezier(.2,.7,.2,1) both;
}
#tax-showroom-dialog::backdrop { background: transparent; }
.tax-showroom-scroll { position: absolute; inset: 0; overflow: auto; overscroll-behavior: contain; }
#tax-showroom-dialog.tax-showroom-leaving {
  pointer-events: none;
  animation: tax-room-out .62s ease-in-out both;
}
body:has(#tax-showroom-dialog[open]) { overflow: hidden; }
.tax-showroom-actions { display: flex; align-items: center; gap: 12px; }
.tax-showroom-close {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  border: 1px solid #fff;
  background: #f8f4eddc;
  color: #292624;
  cursor: pointer;
  box-shadow: 0 6px 20px #29262428;
}
.tax-showroom-close:hover { background: white; }
.tax-showroom-close:focus-visible { outline: 2px solid #292624; outline-offset: 3px; }
@keyframes tax-room-in {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes tax-room-out {
  to { opacity: 0; }
}
@media (max-width: 540px) {
  .tax-showroom-actions { gap: 6px; }
  .tax-showroom-actions .plate { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  #tax-showroom-dialog { animation: none; }
}

.tax-showroom-close {
  position: absolute;
  top: max(16px, env(safe-area-inset-top));
  right: max(16px, env(safe-area-inset-right));
  z-index: 5;
}
.tax-showroom-actions { padding-right: 50px; }
.tax-showroom-details {
  padding: clamp(16px, 3vw, 36px);
  display: grid;
  gap: 20px;
  position: relative;
}
.tax-showroom-details > section {
  width: min(100%, 1100px);
  justify-self: center;
  scroll-margin-top: 70px;
}
.tax-return-preview { position: relative; overflow: hidden; margin-bottom: 24px; scroll-margin-top: 16px; }
.tax-return-preview > button {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  background: transparent;
  color: #292624;
}
.tax-return-preview > button:focus-visible { outline: 2px solid #292624; outline-offset: -4px; }
.tax-return-preview .tax-car-image {
  width: 100%;
  max-width: none;
  max-height: 540px;
  aspect-ratio: auto;
  height: clamp(210px, 44vw, 540px);
  margin: 0;
  background: url('assets/kooyman-showroom.jpg?v=wandlogo-1') center / cover;
}
.tax-return-preview .tax-car-image img { object-fit: cover; }
.tax-return-preview .tax-image-caption { padding: 8px 14px; background: #f5f1ea; }
.tax-return-label {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 10px 14px;
  display: grid;
  gap: 4px;
  border-radius: 14px;
  background: #f8f4edeb;
}
.tax-return-label > span { display: flex; align-items: center; gap: 6px; font-size: 12px; }

@media (min-aspect-ratio: 2/1) {
  .tax-showroom-stage .tax-car-image img { object-position: center 70%; }
}

.tax-recent { margin: 24px 0; scroll-margin-top: 16px; }
.tax-recent-row { width: 100%; text-align: left; margin-top: 8px; }
.tax-recent-row > .plate { flex-shrink: 0; }
@media (max-width: 540px) {
  .tax-recent-row { flex-wrap: wrap; }
  .tax-recent-row > .icon { display: none; }
}
#tax-recent-rows { max-height: 300px; overflow-y: auto; }
.source-run { margin-top: 16px; }
.source-run progress { width: 100%; margin-top: 12px; accent-color: var(--accent); }
.source-run p:empty { display: none; }
.card, .vehicle-hero, .tax-glass { backdrop-filter: blur(8px); }
.card .card { backdrop-filter: none; }
.tax-showroom-details > section {
  content-visibility: auto;
  contain-intrinsic-size: auto 700px;
}
.tax-search form { flex-wrap: wrap; min-width: 0; }
.tax-search .field { min-width: 0; flex: 1 1 160px; }
.tax-price-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tax-price-card, .tax-comparable .row-info, .tax-recent-row .row-info,
.market-candidate, .market-candidate-body { min-width: 0; overflow-wrap: anywhere; }
.tax-comparable .row-end { display: flex; flex-direction: column; gap: 4px; }
.tax-listing-table .data-table { table-layout: fixed; white-space: normal; }
.tax-listing-table td, .tax-listing-table th { overflow-wrap: anywhere; }
.inventory-table .data-table { white-space: normal; }
.inventory-car > div { min-width: 0; overflow-wrap: anywhere; }
.inventory-price-difference { display: block; margin-top: 6px; }
@media(max-width:1100px) {
  .tax-price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tax-comparable { flex-wrap: wrap; }
  .tax-comparable .row-info { flex-basis: 55%; }
  .tax-comparable .row-end { min-width: 0; margin-left: 0; text-align: left; }
  .inventory-table .data-table, .inventory-table tbody,
  .inventory-table tr, .inventory-table td { display: block; width: 100%; }
  .inventory-table thead { display: none; }
  .inventory-table tr { padding: 12px; border-bottom: 1px solid var(--line); }
  .inventory-table td { padding: 8px 0; border: 0; overflow-wrap: anywhere; }
  .inventory-table td[data-label]::before {
    content: attr(data-label); display: block; font-size: 10px;
    color: var(--muted); margin-bottom: 4px;
  }
}
@media(max-width:700px) {
  .tax-listing-table .data-table, .tax-listing-table tbody,
  .tax-listing-table tr, .tax-listing-table td { display: block; width: 100%; }
  .tax-listing-table thead { display: none; }
  .tax-listing-table tr { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .tax-listing-table td { padding: 6px 0; border: 0; }
  .tax-listing-table td::before {
    content: attr(data-label); display: block; font-size: 10px;
    color: var(--muted); margin-bottom: 3px;
  }
  .tax-recent .card-heading, .live-market-panel .card-heading { flex-wrap: wrap; gap: 12px; }
  .tax-comparable .row-info { min-width: 0; flex-basis: 75%; }
}
@media(max-width:380px) {
  .tax-price-grid { grid-template-columns: minmax(0, 1fr); }
}
.dashboard-overview { min-width: 0; }
.dashboard-updated { justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border: 1px solid var(--glass-edge); border-radius: 14px; background: var(--glass); }
.compact-page-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 14px;
}
.compact-page-heading h1 { margin: 0; font-family: Manrope; font-size: 17px; font-weight: 600; letter-spacing: -.35px; }
.compact-page-heading .actions { flex-wrap: wrap; }
.tax-search form { width: 100%; align-items: end; }
.tax-search .license-input { width: 100%; }
@media(max-width:540px) {
  .tax-search .field { flex: 0 0 auto; width: 100%; }
  .tax-search form > .btn { width: 100%; justify-content: center; }
}
.dashboard-main { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr); gap: 20px; align-items: start; }
.dashboard-feature { padding: 24px; min-width: 0; }
.dashboard-feature-top { display: flex; align-items: start; justify-content: space-between; gap: 16px; }
.dashboard-feature-top > div { min-width: 0; }
.dashboard-feature-top h2 { font-family: Manrope; font-size: clamp(20px, 2vw, 28px); font-weight: 500; letter-spacing: -.8px; line-height: 1.35; overflow-wrap: anywhere; margin: 8px 0; }
.dashboard-feature-top .tag { flex-shrink: 0; white-space: normal; max-width: 115px; }
.dashboard-feature-photo { position: relative; width: 100%; aspect-ratio: 16 / 10; max-height: 420px; margin: 20px 0 14px; display: grid; place-items: center; overflow: hidden; border-radius: 16px; background: #e8e5e1; }
.dashboard-feature-photo img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.dashboard-feature-meta { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.dashboard-feature-values { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; padding: 20px 0; margin: 18px 0 0; border-top: 1px solid var(--line); }
.dashboard-feature-values dt { font-size: 11px; color: var(--muted); }
.dashboard-feature-values dd { margin: 6px 0 0; font-size: clamp(17px,2vw,23px); font-family: Manrope; letter-spacing: -.5px; overflow-wrap: anywhere; }
.dashboard-feature-values small { display: block; margin-top: 6px; font-size: 10px; color: var(--muted); }
.dashboard-feature-actions { display: flex; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.dashboard-side { display: grid; gap: 20px; min-width: 0; }
.dashboard-price-position { display: flex; flex-direction: column; gap: 6px; margin: 20px 0; }
.dashboard-price-position strong { font-size: 34px; font-weight: 500; font-family: Manrope; letter-spacing: -1px; }
.dashboard-price-position span { font-size: 11px; color: var(--muted); }
.dashboard-attention { width: 100%; text-align: left; background: none; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; color: inherit; }
.dashboard-attention .row-info { min-width: 0; overflow-wrap: anywhere; }
.dashboard-attention .row-end { flex-shrink: 0; }
.dashboard-attention .icon { flex-shrink: 0; }
.dashboard-details { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; margin-top: 20px; }
.dashboard-overview .card-heading { flex-wrap: wrap; gap: 10px; }
.dashboard-overview .result-rows > div { flex-wrap: wrap; gap: 6px; }
.dashboard-bars { display: grid; gap: 16px; margin: 22px 0; }
.dashboard-bars > div > div { display: flex; justify-content: space-between; gap: 10px; font-size: 11px; }
.dashboard-bars progress { width: 100%; height: 7px; margin-top: 8px; accent-color: #6d6760; }
.dashboard-brands { display: grid; gap: 14px; margin: 22px 0; }
.dashboard-brands > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 4px 10px; }
.dashboard-brands span { overflow-wrap: anywhere; }
.dashboard-brands small { grid-column: 1 / -1; color: var(--muted); font-size: 10px; }
@media(min-width:1500px) { .dashboard-feature-values { grid-template-columns: repeat(4,minmax(0,1fr)); } }
@media(max-width:1100px) {
  .dashboard-main { grid-template-columns: minmax(0,1fr); }
  .dashboard-side { grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; }
  .dashboard-details { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .dashboard-details > :last-child { grid-column: 1 / -1; }
}
@media(max-width:700px) {
  .dashboard-side, .dashboard-details { grid-template-columns: minmax(0,1fr); }
  .dashboard-feature { padding: 18px; }
  .dashboard-feature-top { flex-direction: column; gap: 10px; }
  .dashboard-feature-top .tag { max-width: none; }
  .dashboard-feature-actions .btn { flex: 1 1 150px; justify-content: center; }
  .dashboard-feature-photo { margin-top: 14px; }
  .dashboard-changes .attention-row { flex-wrap: wrap; }
  .dashboard-changes .row-end { text-align: left; }
}

/* Always visible account action, also on narrow screens. */
.top-right .account-logout{flex-shrink:0;border-radius:22px;background:#ffffff80;min-height:38px;padding:9px 13px;gap:7px;color:var(--ink)}
.top-right .account-logout:hover{background:#ffffffb8}
@media(max-width:540px){.top-right{gap:8px}.top-right .account-logout{padding:8px 10px;font-size:10px;min-height:36px}}

@media(max-width:1100px){.top-right .demo-badge{display:none}}

@media(max-width:540px){.sidebar{top:auto}}

.source-overview-main{padding:clamp(20px,3vw,34px);margin-bottom:18px}.source-overview-header{display:flex;justify-content:space-between;gap:20px;align-items:start}.source-overview-header h2{font:500 25px Manrope,sans-serif;letter-spacing:-1px;margin:0}.source-overview-header p:not(.eyebrow){font-size:11px;color:var(--muted);margin-top:8px}.source-main-number{padding:25px 0;display:flex;flex-direction:column;gap:5px}.source-main-number>strong{font:500 clamp(34px,4vw,50px) Manrope,sans-serif;letter-spacing:-2px}.source-main-number>span{font-size:12px}.source-main-number>small{font-size:10px;color:var(--muted);margin-top:3px}.source-comparison-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}.source-comparison-title h3{font-size:13px;font-weight:500;margin:0}.source-comparison-title>span{font-size:9px;color:var(--muted)}.source-mutation-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.source-mutation-grid article{background:#ffffff80;border:1px solid #fffd;border-radius:16px;padding:18px 16px;min-width:0;display:flex;flex-direction:column}.source-mutation-grid article>span{font-size:11px}.source-mutation-grid article>strong{font:500 clamp(24px,2.5vw,34px) Manrope,sans-serif;letter-spacing:-1px;margin:10px 0}.source-mutation-grid article>small{font-size:9px;color:var(--muted);line-height:1.6}.source-mutation-grid article.needs-check{background:#e9e0ce6e}.source-measurement-note{font-size:10px;color:var(--muted);line-height:1.8;margin:15px 0}.source-round-meta{display:flex;flex-wrap:wrap;gap:20px;font-size:10px;padding:14px 0;border-top:1px solid #d1c6b74d}.source-round-meta>span{display:flex;gap:7px;align-items:center}.source-round-meta .icon{height:14px;width:14px}.source-measurement-details{border-top:1px solid #d1c6b74d;padding-top:15px;margin-top:15px}.source-measurement-details summary{cursor:pointer;font-size:11px}.source-measurement-details .result-rows{margin-top:15px}.source-day-activity{margin-bottom:18px}.source-day-activity>div:not(.card-heading){display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:20px 0}.source-day-activity article>strong{font:500 25px Manrope,sans-serif;display:block;letter-spacing:-.7px}.source-day-activity article>span{font-size:11px;display:block;margin-top:7px}.source-day-activity article>small{font-size:9px;color:var(--muted);display:block;margin-top:5px}.source-connection-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin-bottom:18px}.source-connection-grid .card-heading{flex-wrap:wrap;gap:10px}.source-connection-grid .result-rows{margin-top:18px}.source-overview-main .source-run progress{width:100%;margin-top:12px}
@media(max-width:900px){.source-mutation-grid{grid-template-columns:1fr 1fr}.source-connection-grid{grid-template-columns:1fr}}@media(max-width:540px){.source-overview-header{gap:8px}.source-overview-header h2{font-size:22px}.source-overview-header .tag{font-size:8px}.source-mutation-grid{gap:8px}.source-mutation-grid article{padding:14px 11px}.source-mutation-grid article>strong{font-size:27px}.source-comparison-title{align-items:start;flex-direction:column;gap:5px}.source-day-activity .card-heading{align-items:start;gap:8px;flex-direction:column}.source-round-meta{gap:14px}.source-overview-main .result-rows>div{gap:10px}.source-overview-main .result-rows strong{max-width:55%;overflow-wrap:anywhere;text-align:right}}

.market-view-buttons{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px}
.market-view-button{display:inline-flex;align-items:center;gap:7px;padding:8px 12px;border:1px solid var(--line);border-radius:9px;background:var(--paper);color:var(--ink);font:inherit}
.market-view-button[aria-pressed=true]{background:var(--ink);color:#fff;border-color:var(--ink)}
.market-view-button:hover{border-color:#777}
.market-view-button svg{width:16px;height:16px;flex:none}
.market-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-top:20px}
.market-filter-grid .market-filter{position:relative;min-width:0;margin:0;gap:7px}
.market-filter label{font-size:.9rem;font-weight:650;color:var(--ink)}
.market-filter-control{display:flex;flex-wrap:wrap;align-items:center;gap:6px;min-height:50px;padding:7px 9px;background:#fff;border:1px solid #ddd;border-radius:10px;box-shadow:0 3px 12px #2727270b}
.market-filter-control:focus-within{border-color:#777}
.market-filter .market-filter-control input{width:auto;min-width:56px;flex:1;padding:5px 3px;background:none;border:0;outline:0;font-size:14px;color:var(--ink)}
.market-filter-control input:disabled{opacity:.55}
.market-filter-chip{display:inline-flex;align-items:center;gap:5px;max-width:100%;padding:3px 5px;border:1px solid #aaa;border-radius:5px;background:var(--paper);font-size:13px;color:var(--ink)}
.market-filter-chip span{min-width:0;overflow-wrap:anywhere}
.market-filter-chip button{padding:1px 4px;font-size:16px;line-height:1.1}
.market-filter-toggle{display:grid;place-items:center;width:28px;height:30px;flex:none}
.market-filter-toggle:after{content:"";width:7px;height:7px;border:solid #646464;border-width:0 2px 2px 0;transform:translateY(-2px) rotate(45deg)}
.market-filter-toggle[aria-expanded=true]:after{transform:translateY(2px) rotate(225deg)}
.market-filter-toggle:disabled{opacity:.35;cursor:default}
.market-filter-options{position:absolute;z-index:20;inset:calc(100% + 6px) 0 auto;max-height:260px;overflow:auto;border-radius:10px;background:#fff;border:1px solid #e1e1e1;box-shadow:0 12px 28px #27272729}
.market-filter-options button{display:block;width:100%;text-align:left;padding:11px 12px;color:var(--ink);font-size:14px}
.market-filter-options button:hover,.market-filter-options button:focus-visible{background:#505050;color:#fff;outline-offset:-2px}
.market-filter [hidden]{display:none}
.market-filter-empty{margin:0;padding:11px 12px;color:#646464}
.market-wide-filter{grid-column:1/-1}
.market-linked{display:grid;gap:5px;margin-top:18px;padding:14px 16px;border-radius:10px;background:#edf2f9}
.market-linked p{margin:6px 0 0}
.market-year-breakdown summary{cursor:pointer;font-weight:650}
.market-year-breakdown dl{display:flex;flex-wrap:wrap;gap:12px}
.market-year-breakdown dl div{background:#edf2f9;padding:9px 14px;border-radius:8px}
.market-year-breakdown dd{margin:3px 0 0}
.market-inspection{overflow:hidden;margin-top:22px;background:#363432;color:#fff}
.market-inspection-stage{display:grid;gap:12px;padding:clamp(12px,2vw,28px);background:linear-gradient(180deg,#12151ddd,#1a202956 34%,#171f2880 70%,#12151deb),url('assets/kooyman-showroom.jpg') center/cover no-repeat}
.market-inspection-header{display:flex;align-items:center;justify-content:space-between;gap:10px}
.market-inspection-header h3{margin:0;font-size:clamp(1.1rem,2.5vw,2rem)}
.market-inspection-header .btn{background:var(--paper);color:var(--ink);border-color:var(--line)}
.market-inspection-scene{position:relative;aspect-ratio:16/9;min-width:0}
.market-inspection-image{display:block;width:100%;height:100%;object-fit:contain}
.market-inspection-hotspot{position:absolute;display:grid;place-items:center;transform:translate(-50%,-50%);width:clamp(30px,4.4vw,46px);aspect-ratio:1;border:2px solid #fff;border-radius:50%;background:#505050;color:#fff;font-size:clamp(18px,2.6vw,25px);box-shadow:0 3px 12px #121925a0}
.hotspot-front{left:24%;top:53%}.hotspot-cabin{left:48%;top:45%}.hotspot-rear{left:78%;top:53%}.hotspot-wheels{left:31%;top:65%}.hotspot-history{left:65%;top:63%}
.market-image-loading.tax-image-placeholder{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;min-height:0;padding:0;background:#242424b8;color:white}
.market-inspection-status,.market-inspection-caption{position:absolute;bottom:10px;right:10px;margin:0;background:var(--paper);color:var(--ink);padding:6px 9px;border-radius:5px}
.market-inspection-detail{position:absolute;z-index:2;width:min(34%,320px);max-height:48%;overflow:auto;background:var(--paper);color:var(--ink);border:1px solid var(--line);border-radius:12px;padding:12px 14px}
.detail-front,.detail-wheels{bottom:6%;left:4%}.detail-rear,.detail-history{bottom:6%;right:4%}.detail-cabin{top:13%;left:50%;transform:translateX(-50%)}
.market-inspection-detail-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px;margin-bottom:8px}.market-inspection-detail-header .round-btn{flex-shrink:0;color:var(--ink)}.market-inspection-detail h4{margin:0;font-size:1.05rem}
.market-inspection-detail dl{display:grid;gap:8px;margin:0}
.market-inspection-detail dt{font-weight:700;color:#646464}
.market-inspection-detail dd{margin:3px 0 0;line-height:1.45}
.market-inspection-hotspot[aria-expanded=true]{background:var(--paper);color:var(--ink)}
@media(max-width:700px){.market-inspection-scene{min-height:250px}.market-inspection-detail{width:min(61%,260px);max-height:43%;padding:8px;font-size:.75rem}.market-inspection-detail h4{font-size:.85rem}.detail-cabin{top:18%}}
@media(max-width:850px){.market-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.market-view-button{padding:11px;gap:7px}.market-view-button small{display:none}.market-view-button svg{width:18px;height:18px}}

.market-inspection-stage{position:relative;padding:0}.market-inspection-header{position:absolute;z-index:1;top:0;left:0;right:0;padding:12px clamp(12px,2vw,28px);background:linear-gradient(#12151ddd,transparent)}

.market-search-actions{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:16px}
.market-search-loading{display:inline-flex;align-items:center;gap:8px;color:var(--ink)}
.market-search-loading>span{width:18px;height:18px;border:2px solid #d1cfcd;border-top-color:#505050;border-radius:50%;animation:market-search-spin .75s linear infinite}
@keyframes market-search-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.market-search-loading>span{animation:none}}

.standing-time-source { display: block; font-size: 0.75rem; opacity: 0.72; }

/* Inruil in de Taxatie-werkruimte */
.inruil-workspace {
  display: grid;
  grid-template-columns: minmax(270px, 360px) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}
.inruil-sidebar { display: grid; gap: 20px; min-width: 0; }
.inruil-panel { min-width: 0; padding: 22px; }
.inruil-panel h2 { margin: 0 0 16px; font-size: 17px; }
.inruil-panel h3 { margin: 20px 0 12px; font-size: 14px; }
.inruil-panel p { margin: 8px 0; color: var(--muted); line-height: 1.5; }
.inruil-panel #invite { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.inruil-panel #staff-status:empty { display: none; }
.inruil-panel #staff-status.error { color: #962e2e; }
.inruil-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 12px;
}
.inruil-section-heading h2 { margin: 0; }
.inruil-panel #requests { display: grid; gap: 8px; }
.inruil-panel .request {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px 12px;
  text-align: left;
  overflow-wrap: anywhere;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  cursor: pointer;
}
.inruil-panel .request:hover,
.inruil-panel .request[aria-pressed="true"] { border-color: var(--muted); background: var(--surface-tint); }
.inruil-panel .tag { flex: 0 0 auto; margin: 0; }
.inruil-panel .tag[data-stage="received"] { background: #dce8df; color: #284f39; }
.inruil-panel dl {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  margin: 16px 0;
  overflow-wrap: anywhere;
}
.inruil-panel dt, .inruil-panel dd { margin: 0; padding: 8px 6px; border-bottom: 1px solid var(--line); }
.inruil-panel dt { font-weight: 600; }
.inruil-panel dd { white-space: pre-line; }
.inruil-panel .gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 12px;
  margin: 0 0 16px;
  padding: 0;
  list-style: none;
}
.inruil-panel .gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 9px;
  background: var(--surface-tint);
}
.inruil-panel .gallery span { display: block; margin-top: 5px; }
.inruil-panel .actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.inruil-panel .btn { display: inline-flex; min-height: 38px; }
@media (max-width: 800px) {
  .inruil-workspace { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .inruil-sidebar { gap: 14px; }
  .inruil-panel { padding: 16px; }
  .inruil-section-heading .btn { width: auto; }
}
