/* MotorLog — Proyecto concebido y dirigido por ITDDC / ITX (Chile). Desarrollo asistido por inteligencia artificial. Este aviso identifica el proyecto y sus aportaciones propias; no sustituye los avisos ni las licencias de componentes de terceros. */
:root{--red:#d71920;--red-dark:#af1319;--ink:#202126;--gray:#f5f5f6;--line:#e7e7ea;--muted:#73747d;--soft:#fff0f0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#f8f8fa;font-synthesis:none}*{box-sizing:border-box}body{margin:0;font-size:14px;line-height:1.55}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,a,input,select,textarea{touch-action:manipulation}button{cursor:pointer}button:disabled{opacity:.5;cursor:not-allowed}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #e28b8f;outline-offset:3px}h1,h2,h3,p{margin-top:0}h1{font-size:32px;line-height:1.15;letter-spacing:-1.2px;font-weight:650;margin-bottom:12px}h2{font-size:20px;letter-spacing:-.5px;line-height:1.3;font-weight:600;margin-bottom:12px}h3{font-size:16px}strong{font-weight:600}small,.small{font-size:12px}.muted{color:#676872}.eyebrow{display:block;font-size:10px;letter-spacing:1.8px;font-weight:650;color:#757680;margin-bottom:13px}.wordmark{display:inline-block;font-size:26px;font-weight:800;letter-spacing:-1.1px;color:#202126;white-space:nowrap}.wordmark span{color:var(--red)}.wordmark small{font-size:13px;font-weight:650;letter-spacing:-.3px}.icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0;vertical-align:middle}.sprite{position:absolute;width:0;height:0;overflow:hidden}.button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:43px;padding:10px 17px;border:1px solid transparent;border-radius:8px;font-size:13px;font-weight:600;transition:background .15s,transform .15s;text-align:center}.button:active{transform:translateY(1px)}.primary{background:var(--red);color:white}.primary:hover{background:var(--red-dark)}.secondary{background:white;border-color:#dcdce1;color:#33343b}.secondary:hover{background:#f5f5f6}.ghost{background:transparent;color:#4f505a}.text-button{background:none;border:0;color:#6b6c75;padding:7px 0;font-size:12px;cursor:pointer}.text-button:hover{color:var(--red)}.danger{color:#b3131a}.wide{width:100%}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}.stack{display:flex;flex-direction:column;gap:17px}label{display:flex;flex-direction:column;gap:7px;font-size:12px;font-weight:550;color:#484952}input,select,textarea{width:100%;min-width:0;padding:11px 12px;border:1px solid #dcdce1;border-radius:7px;background:white;color:#27282e;min-height:43px}input::placeholder{color:#92939b}textarea{resize:vertical}.check{flex-direction:row;align-items:flex-start;gap:9px;font-weight:400;line-height:1.5}.check input{width:16px;min-height:16px;height:16px;flex-shrink:0;margin:2px 0;accent-color:var(--red)}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.panel{background:white;border:1px solid var(--line);border-radius:12px;padding:25px;margin-bottom:20px}.notice,.error{padding:14px 18px;border-radius:8px;margin:0 0 20px;line-height:1.6}.notice{background:#f2f3f5;border:1px solid #e3e4e8;color:#545660}.error{background:#fff0f0;color:#9f1520;border:1px solid #f1cbcd}.error ul{margin:6px 0}.badge{display:inline-flex;gap:6px;align-items:center;border-radius:5px;background:#fff0f0;color:#b6171e;padding:5px 9px;font-size:11px;font-weight:550}.badge.neutral{background:#f2f2f4;color:#62636d}.app-shell{display:grid;grid-template-columns:235px minmax(0,1fr);min-height:100vh}.sidebar{background:white;border-right:1px solid var(--line);padding:30px 19px;display:flex;flex-direction:column;gap:0;position:sticky;top:0;height:100vh}.sidebar>.wordmark{margin-left:9px}.workspace{display:flex;gap:10px;align-items:center;margin:34px 3px 30px;padding-bottom:24px;border-bottom:1px solid var(--line)}.workspace-icon{width:36px;height:36px;background:#f0f0f2;border:1px solid #e8e8ec;display:grid;place-items:center;border-radius:9px;font-weight:650;color:#6f7079}.workspace strong{display:block;font-size:12px;max-width:150px}.workspace small{display:block;color:#878891;font-size:10px}.nav-label{font-size:9px;letter-spacing:1.8px;color:#999aa2;font-weight:650;padding:0 13px;margin-bottom:12px}.sidebar nav{display:flex;flex-direction:column;gap:5px}.nav-item{display:flex;gap:12px;align-items:center;min-height:45px;padding:10px 13px;font-size:12px;font-weight:500;color:#767781;border-radius:7px;position:relative}.nav-item:hover{background:#f7f7f8;color:#333}.nav-item.active{color:var(--red);background:#fff0f0}.nav-item.active:before{content:"";position:absolute;left:-19px;top:10px;bottom:10px;width:3px;background:var(--red);border-radius:0 3px 3px 0}.nav-count{margin-left:auto;font-size:10px;padding:1px 5px;background:#f8dadb;border-radius:4px}.sidebar-bottom{margin-top:auto}.support-note{font-size:11px;color:#92939c;border-top:1px solid var(--line);padding:20px 13px 0;margin-top:15px}.topbar{background:white;min-height:78px;border-bottom:1px solid var(--line);padding:15px 35px;display:flex;align-items:center;justify-content:space-between;gap:15px}.breadcrumb{font-size:11px;color:#74757e}.breadcrumb span{margin:0 10px;color:#ccc}.account{display:flex;align-items:center;gap:10px;font-size:11px}.account form{margin-left:12px}.avatar{height:32px;width:32px;background:#f4e5e6;color:#ad1a21;display:grid;place-items:center;border-radius:50%;font-weight:600}.content{max-width:1450px;margin:auto;padding:25px 36px}.page-heading{display:flex;justify-content:space-between;align-items:center;gap:18px;margin:30px 0 26px}.page-heading .eyebrow{margin-bottom:10px}.page-heading p{font-size:13px;margin-bottom:0}.demo-banner{font-size:9px;letter-spacing:1px;color:#777980;display:flex;gap:8px;align-items:center;flex-wrap:wrap}.demo-banner span:last-child{letter-spacing:0;font-size:10px;color:#888a93;margin-left:auto}.dot{width:5px;height:5px;border-radius:50%;background:#d89b5a}.vehicle-panel{padding:0;overflow:hidden;max-width:1050px}.vehicle-heading{display:flex;justify-content:space-between;gap:15px;padding:28px 30px 0}.vehicle-heading h2{font-size:27px;margin:12px 0 6px}.vehicle-heading p{font-size:12px;color:#72737d;margin-bottom:2px}.mileage{display:flex;flex-direction:column;text-align:right;padding-top:24px}.mileage strong{font-size:23px;font-variant-numeric:tabular-nums}.mileage span{font-size:10px;color:#858690}.vehicle-stage{height:285px;width:100%;position:relative;background:radial-gradient(ellipse at 50% 85%,#ebebed 0,white 65%);overflow:hidden;touch-action:pan-y}.vehicle-stage canvas{display:block;width:100%;height:100%;touch-action:pan-y}.scene-fallback{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:12px;color:#8b8c94;font-size:11px}.scene-fallback .icon{width:160px;height:100px;stroke-width:.8}.vehicle-caption{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:8px 30px;font-size:10px;color:#9697a0}.vehicle-caption .text-button{font-size:11px}.component-info{padding:14px 30px;color:#777;font-size:12px;background:#f7f7f8}.vehicle-actions{display:flex;flex-wrap:wrap;gap:10px;padding:22px 30px;border-top:1px solid #f0f0f2}.info-strip{display:flex;align-items:center;gap:12px;color:#777982;padding:15px 4px;font-size:12px}.info-strip .icon{color:#b3b4bc}.stats-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-bottom:25px}.stat{padding:22px;background:white;border:1px solid var(--line);border-radius:10px}.stat>span{font-size:12px;color:#777982}.stat strong{font-size:29px;letter-spacing:-1px;font-weight:600;display:block;margin:9px 0}.stat small{font-size:10px;color:#8f9099}.columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:20px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;flex-wrap:wrap;margin-bottom:15px}.section-heading h2{margin-bottom:0}.todo{display:flex;gap:15px;padding:12px 0;border-bottom:1px solid #f0f0f2;font-size:12px}.todo span{color:#bd1c23;font-size:11px}.table-panel{padding:0;overflow:hidden}.table-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;padding:21px 24px}.table-heading h2{font-size:16px;margin:0}.table-heading>span{font-size:11px}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%;text-align:left}th{background:#f9f9fa;color:#8a8b94;font-size:10px;font-weight:500;padding:13px 20px;border-bottom:1px solid #eee;white-space:nowrap}td{padding:18px 20px;border-bottom:1px solid #f0f0f2;font-size:12px}td>strong{display:block;font-weight:550;min-width:150px}td small{display:block;color:#94959d;font-size:10px;margin-top:4px}.amount{white-space:nowrap;font-variant-numeric:tabular-nums;font-weight:600}.stock{color:#58675f;font-size:11px;white-space:nowrap}.stock.zero{color:#a87839}.filterbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:20px}.filterbar input,.filterbar select{max-width:165px;font-size:12px}.filterbar .search-field{flex:1;min-width:180px}.filterbar .search-field input{max-width:none}.filterbar .check{font-size:11px;align-items:center;white-space:nowrap}.filterbar .check input{width:15px}.pagination{padding:15px 24px}.pagination nav{display:flex;gap:20px;font-size:12px}.pagination a{color:var(--red)}.pagination .hidden{display:none}.stock-form{min-width:160px;display:grid;gap:8px;padding-top:12px}.stock-form input{min-height:35px;padding:7px}.stock-form label{font-size:10px}.record{padding:17px 0;border-bottom:1px solid #eee;display:flex;flex-direction:column;gap:4px;font-size:12px}.record small{color:#9697a0;font-size:10px}.record.inline{flex-direction:row;align-items:center;justify-content:space-between;gap:12px}.record.inline strong,.record.inline small{display:block}.consent-box{background:#faf6f6;border:1px solid #f1dcdc;border-radius:8px;padding:17px;font-size:12px}.consent-box p{font-size:11px;color:#777}.reception{max-width:720px}.reception-icon{display:grid;place-items:center;background:#fff0f0;color:#c51b22;width:48px;height:48px;border-radius:10px;margin-bottom:22px}.reception video{max-width:100%;border-radius:8px}details summary{font-size:12px;color:#777;cursor:pointer}details[open]>label{margin-top:15px}.quote-detail{background:#fafafa;border-radius:8px;padding:10px 18px;margin:15px 0}.quote-detail>div{display:flex;justify-content:space-between;gap:15px;padding:8px 0;font-size:12px}.quote-detail .quote-grand{border-top:1px solid #e4e4e8;padding:15px 0 8px;font-size:16px}.store-grid,.plan-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.plan-grid h2{font-size:29px;margin-top:20px}.plan-grid h2 small{font-size:12px;color:#999}.steps{display:grid;gap:20px;margin:25px 0}.steps p{color:#777;font-size:12px;margin:6px 0}.empty{text-align:center;padding:50px 25px;color:#83848d}.empty>.icon{width:42px;height:42px;margin-bottom:15px;stroke-width:1.2}.empty h2{color:#474852}.empty p{font-size:13px}.empty .button{margin-top:15px}.app-footer{display:flex;justify-content:space-between;gap:15px;margin:35px 0 10px;color:#a0a1a9;font-size:10px}.icon-button{display:inline-grid;place-items:center;border:0;background:none;min-height:36px;min-width:36px;color:#777;font-size:25px}.menu-toggle{display:none}dialog{border:1px solid #ddd;border-radius:14px;width:min(740px,calc(100vw - 30px));padding:27px;color:var(--ink);max-height:90vh;overflow-y:auto}dialog::backdrop{background:#17181d66;backdrop-filter:blur(3px)}.dialog-heading{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:20px}.dialog-heading h2{margin:0}.vehicle-picker{display:flex;flex-direction:column;gap:16px}.vehicle-picker p{margin:0}.quote-line{display:grid;grid-template-columns:1fr 75px 30px;gap:10px;align-items:center;margin:10px 0;padding:12px;background:#f7f7f8;border-radius:7px}.quote-line span{font-size:12px}.quote-line button{border:0;background:none;color:#b51920}.quote-line input{padding:8px}.auth-shell{min-height:100vh;display:grid;grid-template-columns:1fr 1fr;background:white}.auth-brand{background:#f3f3f5;padding:45px 10%;display:flex;flex-direction:column;justify-content:space-between;gap:60px;border-right:1px solid #e6e6e9}.auth-brand h1{font-size:44px;letter-spacing:-2px;line-height:1.2}.auth-brand p{color:#777;max-width:340px}.privacy-line{font-size:12px;color:#777;display:flex;align-items:center;gap:10px}.auth-form{padding:50px clamp(25px,7vw,110px);align-self:center}.auth-form h2{font-size:26px;margin:35px 0 10px}.auth-form>.muted{font-size:13px}.back{font-size:12px;color:#999}.auth-form>.small{margin-top:22px;color:#777}.auth-form>.small a{color:var(--red)}.demo-login{margin-top:35px;padding-top:25px;border-top:1px solid #eee}.demo-login .eyebrow{font-size:9px}.demo-login small{font-size:10px;color:#999}.demo-login .button{font-size:11px}.grant-page{max-width:620px;margin:40px auto;padding:0 20px;text-align:center}.grant-card{margin-top:30px}.grant-card h1{font-size:26px}.grant-card p{font-size:13px}.qr{margin:25px auto;max-width:280px}.qr svg{max-width:100%;height:auto}.token{font-size:11px;overflow-wrap:anywhere;margin:15px 0}.feedback{font-size:12px;margin-top:15px}.landing-nav{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1280px;margin:auto;padding:28px 45px;background:white}.landing-nav nav{display:flex;align-items:center;gap:28px;font-size:12px}.landing{background:white;padding:30px 45px;max-width:1280px;margin:auto}.hero{display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:50px;padding:45px 0 75px}.hero h1{font-size:clamp(40px,5vw,66px);line-height:1.07;letter-spacing:-3px;font-weight:650}.hero h1 em{font-style:normal;color:var(--red)}.hero>div>p{font-size:15px;color:#7d7e87;max-width:420px;line-height:1.8;margin:25px 0}.hero .actions{margin-bottom:18px}.hero>div>small{font-size:10px;color:#999}.hero-visual{border:1px solid #e5e5e9;border-radius:16px;background:linear-gradient(145deg,#fafafa,white);padding:22px 25px 16px;box-shadow:0 20px 60px #11111808}.hero-tag{font-size:10px;letter-spacing:2px;color:#999;display:flex;justify-content:space-between}.hero-tag span{color:var(--red)}.hero-visual h2{margin-top:15px;font-size:25px;font-weight:500}.hero-visual .vehicle-stage{height:260px;background:transparent}.hero-service{display:flex;align-items:center;gap:12px;border:1px solid #e8e8eb;border-radius:9px;padding:15px;background:white}.hero-service>.icon{color:var(--red)}.hero-service strong{font-size:12px;display:block}.hero-service small{font-size:10px;display:block;color:#888}.hero-service>span{margin-left:auto;color:var(--red)}.illustration-note{display:block;text-align:center;font-size:9px;color:#aaa;margin-top:13px}.landing-steps{border-top:1px solid #eee;border-bottom:1px solid #eee;padding:40px 0;display:grid;grid-template-columns:1.2fr 1fr 1fr 1fr;gap:30px}.landing-steps h2{font-size:27px}.landing-steps article>span{color:var(--red);font-size:12px}.landing-steps h3{font-size:14px;margin:16px 0 10px}.landing-steps p{color:#888;font-size:12px;line-height:1.8}.landing-footer{max-width:1280px;margin:auto;padding:25px 45px;display:flex;justify-content:space-between;font-size:11px;color:#999;background:white}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}[hidden]{display:none!important}
@media(max-width:1100px){.app-shell{grid-template-columns:205px minmax(0,1fr)}.sidebar{padding-left:14px;padding-right:14px}.sidebar>.wordmark{font-size:23px}.content{padding:25px}.topbar{padding:15px 25px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.columns{grid-template-columns:1fr}.plan-grid,.store-grid{grid-template-columns:1fr}.form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.app-shell{grid-template-columns:1fr}.sidebar{display:none;position:relative;height:auto;border-bottom:1px solid #ddd}.sidebar.open{display:flex}.sidebar-bottom{display:none}.workspace{margin:20px 0}.sidebar nav{display:grid;grid-template-columns:1fr 1fr}.nav-label{display:none}.app-main{min-width:0}.menu-toggle{display:inline-grid}.topbar{padding:12px 16px;min-height:64px}.breadcrumb{margin-right:auto;font-size:10px}.breadcrumb span{margin:0 4px}.account>span{display:none}.account form{margin-left:2px}.content{padding:18px}.page-heading{align-items:flex-start;flex-wrap:wrap;margin:25px 0 20px}.page-heading h1{font-size:28px}.demo-banner{font-size:8px}.demo-banner span:last-child{margin-left:0;font-size:9px}.panel{padding:20px}.vehicle-panel{padding:0}.vehicle-heading{padding:20px 20px 0}.vehicle-heading h2{font-size:23px}.mileage strong{font-size:18px}.mileage span{font-size:9px}.vehicle-stage{height:240px}.vehicle-caption{padding:8px 20px;flex-wrap:wrap;font-size:9px}.vehicle-actions{padding:18px;gap:8px}.vehicle-actions .button{font-size:11px;padding:10px 12px;flex:1;white-space:nowrap}.vehicle-actions .ghost{flex-basis:100%}.stats-grid{gap:10px}.stat{padding:16px}.stat strong{font-size:24px}.stat small{font-size:9px}.table-panel{padding:0}.table-heading{flex-wrap:wrap;padding:18px}.filterbar input,.filterbar select{max-width:none;flex:1;min-width:130px}.filterbar .check input{min-width:15px}.form-grid{grid-template-columns:1fr}.auth-shell{grid-template-columns:1fr}.auth-brand{padding:24px;border-right:0;border-bottom:1px solid #ddd;gap:20px}.auth-brand>div,.auth-brand .privacy-line{display:none}.auth-form{padding:25px}.auth-form h2{margin-top:20px}.app-footer{flex-wrap:wrap;font-size:9px}.landing-nav{padding:22px}.landing-nav nav{gap:15px}.landing-nav nav>a:first-child{display:none}.landing-nav .button{font-size:11px;padding:9px 12px}.landing-nav .wordmark{font-size:22px}.landing-nav .wordmark small{font-size:10px}.landing{padding:20px}.hero{grid-template-columns:1fr;gap:30px;padding:15px 0 40px}.hero h1{font-size:46px;letter-spacing:-2px}.hero-visual{padding:20px}.hero-visual .vehicle-stage{height:210px}.landing-steps{grid-template-columns:1fr;gap:20px;padding:30px 0}.landing-steps h2 br{display:none}.landing-steps article{display:grid;grid-template-columns:25px 1fr;gap:0 10px}.landing-steps h3{margin:0 0 6px}.landing-steps p{grid-column:2}.landing-footer{padding:20px;gap:20px;flex-wrap:wrap}input,select,textarea{font-size:16px}.filterbar input,.filterbar select{font-size:16px}.record.inline{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}
@media(max-width:760px){.landing-nav{flex-wrap:wrap}.landing-nav nav{flex:1;flex-wrap:wrap;justify-content:flex-end}.nav-item.active:before{left:0}.account{flex-shrink:0}.breadcrumb{min-width:0}.table-scroll{max-width:100%}}
@media(max-width:390px){.landing-nav nav{flex-basis:100%;justify-content:space-between}.hero .actions .button{flex:1}.vehicle-heading{flex-wrap:wrap}.mileage{padding-top:4px;text-align:left}.vehicle-caption{align-items:flex-start}.vehicle-caption>span{max-width:100%}.vehicle-actions .button{white-space:normal}.topbar{gap:8px}.account{gap:6px}}

.brand-credit{display:flex;flex-direction:column;gap:6px}.brand-credit strong{font-size:19px;color:#222}.brand-credit span{font-size:11px}.permission-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:10px}.admin-wrap{max-width:1250px;margin:auto;padding:24px}.admin-wrap details{margin:16px 0}.admin-wrap summary{cursor:pointer;font-weight:700;padding:12px 0}.vehicle-photo{max-width:100%;height:100%;object-fit:contain}.vehicle-stage canvas{touch-action:pan-y}
.password-wrap{position:relative;display:flex;width:100%}.password-wrap input{width:100%;padding-right:48px}.password-toggle{position:absolute;right:4px;top:50%;transform:translateY(-50%);background:transparent;border:0;cursor:pointer;min-width:42px;min-height:42px;display:grid;place-items:center;color:#41434a}.password-toggle:focus-visible{outline:2px solid #d71920;border-radius:5px}

.project-footer{display:flex;flex-direction:column;gap:7px;padding:24px;text-align:center;border-top:1px solid #e4e5e8;background:#fff;color:#646772}.project-footer strong{font-size:19px;color:#25262b}.project-footer span{font-size:11px}.mt-nav{margin-bottom:24px;flex-wrap:wrap}.admin-wrap .topbar{height:auto;flex-wrap:wrap;gap:12px}.admin-wrap .account{flex-wrap:wrap}.admin-wrap table details{min-width:180px}.admin-wrap td .stack{min-width:210px}

.vehicle-photo-controls{padding:20px}.vehicle-photo-panel{height:280px;text-align:center;padding:20px}.shared-photo{max-height:250px}.mt-nav .button{margin-bottom:5px}

.project-footer{display:flex;flex-direction:column;gap:7px;padding:24px;text-align:center;border-top:1px solid #e4e5e8;background:#fff;color:#646772}.project-footer strong{font-size:19px;color:#25262b}.project-footer span{font-size:11px}.mt-nav{margin-bottom:24px;flex-wrap:wrap}.admin-wrap .topbar{height:auto;flex-wrap:wrap;gap:12px}.admin-wrap .account{flex-wrap:wrap}.admin-wrap table details{min-width:180px}.admin-wrap td .stack{min-width:210px}

.vehicle-stage{position:relative}.scene-controls{position:absolute;bottom:8px;left:10px;right:10px;display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:10px;color:#676872}.scene-controls input{width:34px;height:28px;padding:2px;border:1px solid #ddd;background:white;border-radius:5px}
/* MotorLog · ITDDC / ITX — panel de control por secciones. */
.mt-shell{max-width:1600px;margin:auto;background:#f7f7f9;min-height:85vh}.mt-shell>.topbar{background:#fff;border-bottom:1px solid var(--line)}.mt-layout{display:grid;grid-template-columns:230px minmax(0,1fr)}.mt-sidebar{padding:30px 18px;background:#fff;border-right:1px solid var(--line)}.mt-sidebar nav{display:grid;gap:6px}.mt-menu-link{padding:12px 14px;border-radius:8px;font-size:13px;color:#5b5e67}.mt-menu-link:hover{background:#f5f5f7}.mt-menu-link.selected{background:#fff0f0;color:#b6151c;font-weight:700;border-left:3px solid #d71920}.mt-sidebar>small{display:block;margin:30px 14px;color:#7b7d86;font-size:11px;line-height:1.8}.mt-content{padding:25px 32px;min-width:0}.mt-content .page-heading{margin:5px 0 28px}.mt-content .page-heading p{color:#73747d}.mt-content .panel{margin:18px 0;border:1px solid var(--line);box-shadow:none}.mt-summary-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}.mt-summary-cards .stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px;display:flex;flex-direction:column;gap:8px}.mt-summary-cards .stat span{font-size:12px;color:#747680}.mt-summary-cards .stat strong{font-size:34px;line-height:1.15;letter-spacing:-1px}.mt-summary-cards .stat a{font-size:11px;color:#b5151c}.mt-shortcuts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin:24px 0}.mt-shortcuts a{border:1px solid var(--line);border-radius:10px;padding:20px;background:white;display:flex;flex-direction:column;gap:9px}.mt-shortcuts span{font-size:12px;color:#73747d}.mt-explanation{font-size:12px;color:#777984;max-width:750px}.mt-content .section-heading{display:flex;flex-wrap:wrap;gap:16px;justify-content:space-between;align-items:center}.mt-content table{width:100%;border-collapse:collapse}.mt-content td,.mt-content th{padding:14px 12px;text-align:left;border-bottom:1px solid #eee;vertical-align:top}.mt-content th{font-size:10px;text-transform:uppercase;letter-spacing:1px;color:#757680}.mt-content td small{display:block;margin-top:4px;color:#757680}.mt-content summary{cursor:pointer}.mt-content input:not([type=checkbox]),.mt-content select{min-height:42px;border:1px solid #dfe0e5;border-radius:7px;padding:9px 11px;max-width:100%}.mt-content .stack{max-width:720px;margin-top:15px}.mt-content .stack label{display:grid;gap:6px}.mt-content .stack label.check{display:flex}.mt-content .filterbar{flex-wrap:wrap}.mt-content .filterbar input{min-width:120px}.mt-content .panel>h2{margin-bottom:20px}.scene-controls button{border:1px solid #ddd;background:#fff;border-radius:6px;min-width:30px;min-height:30px}.scene-controls{gap:5px}.scene-controls span{margin-right:auto}
@media(max-width:1100px){.mt-layout{grid-template-columns:190px minmax(0,1fr)}.mt-content{padding:22px}.mt-shortcuts{grid-template-columns:1fr}.mt-shell>.topbar{flex-wrap:wrap;gap:12px}.mt-shell .account{flex-wrap:wrap}}
@media(max-width:760px){.mt-layout{display:block}.mt-sidebar{padding:14px;border-right:0;border-bottom:1px solid var(--line)}.mt-sidebar nav{display:flex;overflow-x:auto;gap:6px;padding-bottom:5px}.mt-menu-link{white-space:nowrap;font-size:12px;padding:10px 12px;border:1px solid var(--line)}.mt-sidebar>small,.mt-sidebar>.eyebrow{display:none}.mt-content{padding:18px 14px}.mt-summary-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mt-summary-cards .stat{padding:16px}.mt-summary-cards .stat strong{font-size:28px}.mt-content .panel{padding:16px}.mt-shell>.topbar .wordmark{font-size:22px}.mt-shell .account{font-size:11px;gap:12px}.mt-content .page-heading h1{font-size:27px}}
.garage-switch{display:flex;align-items:end;gap:12px;margin-bottom:18px}.garage-switch label{display:grid;gap:6px;flex:1;max-width:450px}.garage-switch select{min-height:44px;border:1px solid var(--line);border-radius:8px;padding:10px;background:#fff}.garage-shortcuts{display:flex;gap:8px;padding:12px 20px;flex-wrap:wrap}.vehicle-photo-details{padding:12px 20px}.vehicle-photo-details summary{cursor:pointer;font-size:12px;color:#777}.expense-summary{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:20px 0}.expense-summary>div{background:white;border:1px solid var(--line);padding:18px;border-radius:12px}.expense-summary strong{font-size:26px;display:block}.expense-summary small{color:#777}.expense-row{display:flex;gap:12px;justify-content:space-between;align-items:start;padding:16px 0;border-bottom:1px solid var(--line)}.expense-row small{display:block;color:#777}.expense-row .amount{white-space:nowrap;font-weight:700}@media(max-width:600px){.garage-switch{align-items:stretch;flex-direction:column}.expense-summary strong{font-size:22px}}
.presence-dot{display:inline-block;width:10px;height:10px;border-radius:50%;background:#c52f37;flex-shrink:0}.presence-dot.online{background:#188846}.presence-state{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;font-size:14px}.presence-totals{display:flex;gap:18px;flex-wrap:wrap}.presence-totals a{display:flex;gap:7px;align-items:center}.text-button{font-size:16px!important;font-weight:650!important;color:#971820!important;min-height:44px;padding:8px 12px!important}.mt-content .page-heading p,.mt-explanation,.mt-content td,.mt-content label,.mt-menu-link{font-size:15px}.mt-summary-cards .stat span{font-size:14px}.mt-content td small,.mt-content .small,.vehicle-caption{font-size:13px}.project-footer strong{font-size:22px}.project-footer span{font-size:14px}
.vehicle-showcase{padding:22px 24px;background:linear-gradient(180deg,#fafafa,#fff);text-align:center}.vehicle-brand{display:flex;flex-direction:column;align-items:center;gap:9px;margin:5px auto 15px}.brand-logo{width:95px;height:66px;object-fit:contain}.vehicle-brand strong{font-size:26px;letter-spacing:3px;font-weight:750;text-transform:uppercase}.vehicle-brand>span{font-size:18px;color:#676b74}.vehicle-main-photo{display:block;width:100%;max-height:440px;object-fit:contain;border-radius:10px;margin:auto}.vehicle-showcase>small{display:block;margin-top:10px;color:#727681;font-size:13px}.vehicle-image-missing{min-height:230px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:16px;background:#f7f7f9;border-radius:12px;color:#747780}.vehicle-image-missing .icon{width:80px;height:80px;stroke-width:1}.landing-vehicle{min-height:280px}.part-map{display:grid;grid-template-columns:1fr 1fr;gap:28px}.vehicle-outline{display:block;height:260px;margin:10px auto;width:190px;fill:#f2f3f5;stroke:#8c919c;stroke-width:3}.part-buttons{display:flex;gap:8px;flex-wrap:wrap}.part-buttons .button{font-size:13px}.photo-credit{font-size:11px!important}.photo-credit a{text-decoration:underline}@media(max-width:650px){.part-map{grid-template-columns:1fr}.vehicle-showcase{padding:18px 14px}.vehicle-brand strong{font-size:23px}.vehicle-main-photo{max-height:290px}}
/* Portada fotográfica: movimiento ligero sin vídeo ni consultas de catálogo. */
.hero-cinema{overflow:hidden;position:relative;background:linear-gradient(145deg,#fff 30%,#f2f3f6);border-radius:24px;padding:28px!important;box-shadow:0 24px 60px #2427340d}.hero-cinema h2{font-size:29px;letter-spacing:-1px;line-height:1.2;margin:18px 0 24px}.hero-photo-frame{position:relative;overflow:hidden;border-radius:16px;aspect-ratio:16/10;background:#e9eaed}.hero-photo-frame img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;animation:hero-drift 16s ease-in-out infinite alternate;transition:opacity .22s ease}.hero-photo-frame img.photo-changing{opacity:0}.hero-photo-label{position:absolute;left:14px;bottom:14px;max-width:90%;background:#ffffffef;border-radius:7px;padding:7px 10px;font-size:11px;color:#41434a;backdrop-filter:blur(5px)}.hero-feature-tags{display:flex;justify-content:space-between;gap:10px;margin:20px 0 10px}.hero-feature-tags>span{display:flex;align-items:center;gap:7px;font-size:12px;color:#686b74}.hero-feature-tags .icon{width:18px;height:18px;color:#d71920}.hero-media-controls{display:flex;gap:10px;align-items:center;justify-content:space-between;min-height:44px}.hero-media-controls small{font-size:9px!important;color:#7a7d85;max-width:65%;line-height:1.5}.hero-media-controls .text-button{font-size:10px!important;white-space:nowrap;padding:5px!important;min-height:36px}.hero-cinema.motion-paused img{animation-play-state:paused}.hero-cinema .hero-tag{font-size:10px;letter-spacing:1.3px}.hero-cinema .hero-tag span{font-size:8px;letter-spacing:.8px}.hero h1{font-weight:750}.hero>div:first-child>p{font-size:16px;line-height:1.85}.hero-feature-tags>span:nth-child(2){animation:tag-rise 5s ease-in-out infinite}.hero-cinema.motion-paused .hero-feature-tags>span{animation:none}@keyframes hero-drift{from{transform:scale(1)}to{transform:scale(1.045) translateX(-.4%)}}@keyframes tag-rise{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}@media(prefers-reduced-motion:reduce){.hero-photo-frame img,.hero-feature-tags>span{animation:none!important;transition:none!important}}@media(max-width:760px){.hero-cinema{padding:20px!important;border-radius:18px}.hero-cinema h2{font-size:25px}.hero-feature-tags{gap:5px}.hero-feature-tags>span{font-size:10px}.hero-cinema .hero-tag span{font-size:7px}.hero-photo-label{font-size:9px;left:10px;bottom:10px}.hero-media-controls small{font-size:9px!important}}body{font-size:16px}.muted,.page-heading p{font-size:15px}.nav-item{font-size:15px}.small{font-size:14px}label{font-size:15px}.button{font-size:14px}
.hero-photo-frame{aspect-ratio:16/9}.hero-media-controls small{font-size:11px!important;line-height:1.6}.hero-media-controls .text-button{font-size:12px!important}@media(max-width:760px){.hero-media-controls small{font-size:11px!important}}

/* Motorlog: marco fijo y contenido desplazable dentro de la pantalla. */
.app-viewport{height:100dvh;overflow:hidden;display:flex;flex-direction:column;min-width:0}
.app-viewport>.project-footer{flex:none;padding:8px 20px;margin:0}
.app-viewport>.admin-wrap,.app-viewport>.mt-shell{flex:1;min-height:0;min-width:0;width:100%;max-width:1600px;margin:0 auto;overflow:auto;padding:0 24px 16px}
.app-viewport>.app-shell{flex:1;min-height:0;height:auto;overflow:hidden;width:100%}
.app-viewport .app-main{min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden}
.app-viewport .content{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain}
.app-viewport .sidebar{height:auto;overflow:auto}
.app-viewport .admin-wrap:has(.management-workspace){display:flex;flex-direction:column;overflow:hidden}
.management-workspace{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;padding:12px 2px}
.management-tabs{display:flex;gap:8px;flex-wrap:wrap;flex:none}
.result-filters{display:flex;align-items:end;flex-wrap:wrap;gap:12px;margin-bottom:16px}
.result-filters label{flex:1;min-width:160px}.result-pagination{padding:14px 0}.result-pagination p{font-size:14px}.result-pagination [aria-disabled]{opacity:.5;cursor:default}
.app-viewport .table-scroll{max-width:100%;overflow:auto}.app-viewport th{position:sticky;top:0;background:#fff;z-index:1}
@media(max-width:760px){.app-viewport>.admin-wrap,.app-viewport>.mt-shell{padding:0 12px 8px}.management-tabs{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.management-tabs .button{white-space:nowrap}.app-viewport>.project-footer{padding:5px 12px}.app-viewport .page-heading{margin:12px 0}.app-viewport .page-heading h1{font-size:26px}.app-viewport .page-heading p{font-size:14px;margin:6px 0}.app-viewport .topbar{flex-shrink:0}.management-workspace{scroll-padding-top:12px}}
@media print{.app-viewport{height:auto;overflow:visible;display:block}.app-viewport>.admin-wrap,.app-viewport>.mt-shell,.management-workspace,.app-viewport .content{overflow:visible;height:auto;display:block}.management-tabs{display:none}}

.management-workspace table td{font-size:15px;line-height:1.5}.management-workspace table th,.management-workspace table small{font-size:14px}
@media(max-width:760px){.app-viewport{width:100%;max-width:100vw;overflow-x:hidden}.app-viewport>.admin-wrap,.management-workspace,.app-viewport .page-heading{min-width:0;max-width:100%;width:100%}.app-viewport .admin-wrap>.topbar{height:auto;min-height:64px;padding:12px 0;gap:8px;flex-wrap:wrap}.app-viewport .admin-wrap>.topbar .account{flex:1 1 100%;min-width:0;max-width:100%;flex-wrap:wrap;gap:12px}.app-viewport .admin-wrap>.topbar .account a,.app-viewport .admin-wrap>.topbar .account button{font-size:14px}.app-viewport .page-heading{display:block}.management-workspace .result-filters{display:grid;grid-template-columns:minmax(0,1fr);align-items:stretch}.management-workspace .result-filters label{min-width:0}.management-workspace .panel{padding:16px;min-width:0}.app-viewport>.project-footer span{font-size:12px;white-space:normal;overflow-wrap:anywhere}.app-viewport>.project-footer{max-width:100%;min-width:0}.management-tabs{min-width:0;max-width:100%}}
