/* Ventautos V9: scoped fixes only; app.css + UX V7/V8 remain the design system. */
[hidden]{display:none!important}
:root{--va9-blue:#2369e5;--va9-ink:#1a2f4d;--va9-line:#dce7f3}
html{scroll-padding-top:150px}
#editor-basic,#editor-photos,#editor-details,#editor-final{scroll-margin-top:170px}
body .site-header{z-index:120}
body .site-header .market-header-select{height:42px;flex:0 0 auto;width:143px;max-width:143px;padding:7px 22px 7px 9px}
body .site-header .market-header-text{display:block!important;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .site-header .market-header-text strong{display:block;font-size:12px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
body .site-header .market-header-select .market-header-icon{flex:0 0 25px}
body .site-header .header-inner{min-height:69px;gap:12px}
body .site-header .header-actions{display:flex;align-items:center;gap:9px;position:relative}
body .site-header .header-actions .login-link{white-space:nowrap}
/* Header icons and contextual dropdowns */
.va9-header-previews{display:flex;align-items:center;gap:5px;position:relative;flex:none}
.va9-preview-toggle,.va9-header-guest{position:relative;width:39px;height:39px;min-width:39px;flex:0 0 39px;display:grid;place-items:center;background:transparent;border:1px solid transparent;border-radius:12px;color:#233e61;cursor:pointer;text-decoration:none;transition:background .15s,border-color .15s}
.va9-preview-toggle .icon,.va9-header-guest .icon{width:20px;height:20px}
.va9-preview-toggle:hover,.va9-preview-toggle[aria-expanded=true],.va9-header-guest:hover{background:#edf4ff;border-color:#d6e7ff}
.va9-header-badge{position:absolute;top:-2px;right:-3px;display:grid;place-items:center;min-width:17px;min-height:17px;padding:1px 3px;border-radius:10px;background:#2369e5;color:white;font-size:10px;font-weight:800;border:2px solid white;line-height:1.1}
.va9-preview-popover{position:absolute;right:0;top:calc(100% + 13px);width:min(340px,calc(100vw - 24px));max-height:min(65dvh,460px);overflow-y:auto;overscroll-behavior:contain;background:white;border:1px solid var(--va9-line);border-radius:18px;box-shadow:0 22px 60px #18345330;padding:12px;z-index:300}
.va9-preview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 9px 12px;border-bottom:1px solid #edf2f9}
.va9-preview-heading strong{font-size:14px;color:var(--va9-ink)}.va9-preview-heading a{font-size:12px;color:#1a62d1;text-decoration:none;font-weight:800;white-space:nowrap}
.va9-preview-item{display:flex;flex-direction:column;gap:5px;padding:12px 9px;text-decoration:none;border-bottom:1px solid #edf2f9;min-width:0;border-radius:8px}
.va9-preview-item:hover{background:#f5f8ff}.va9-preview-item strong{font-size:13px;line-height:1.4;color:#213850;overflow-wrap:anywhere}.va9-preview-item small{color:#758aa1;font-size:11px;line-height:1.45;max-width:100%;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.va9-preview-popover>p{font-size:13px;padding:12px 9px;color:#788aa0;margin:0}
.va9-mobile-notifications{display:flex;align-items:center;gap:12px;padding:13px 12px;border-radius:12px;color:#1e3e65;text-decoration:none;font-weight:750;font-size:14px}.va9-mobile-notifications .icon{width:18px}
body .va8-mobile-logout{display:flex;width:100%;justify-content:flex-start;text-align:left}
/* Editor contact fields */
.editor-page .va9-whatsapp-title{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin-bottom:9px;min-width:0}
.editor-page .va9-whatsapp-title>strong{font-size:13px;font-weight:800;color:#344b65}
.editor-page .va9-same-phone{font-size:12px;line-height:1.35!important;font-weight:750!important;color:#3b5777;display:inline-flex!important;flex-direction:row!important;align-items:center!important;gap:8px!important;margin:0!important;max-width:100%;padding:8px 11px!important;border:1px solid #cddbed;border-radius:30px;background:#fff;cursor:pointer}
.editor-page .va9-same-phone.is-selected{border-color:#72a5f6;background:#edf5ff;color:#155bc7}
.editor-page .va9-same-phone input[type=checkbox]{appearance:none;display:block!important;flex:0 0 17px!important;width:17px!important;height:17px!important;min-height:17px!important;min-width:17px!important;margin:0!important;padding:0!important;background:white;border:1.5px solid #a4b5c9;border-radius:5px}
.editor-page .va9-same-phone input[type=checkbox]:checked{background:#246ce0;border-color:#246ce0;box-shadow:inset 0 0 0 3px #246ce0}
.editor-page .va9-same-phone input[type=checkbox]:checked:after{content:'✓';display:grid;place-items:center;color:white;font-size:12px;line-height:14px}
.editor-page .va9-whatsapp-fields{max-width:100%;min-width:0}.editor-page .va9-whatsapp-fields[hidden]{display:none!important}
.editor-page #va9-whatsapp-hint{display:block;font-size:11px;color:#498268;line-height:1.45;margin-top:2px}
/* Final confirmation: consistent scale, two exclusive options. */
.editor-page .va9-confirm-box{padding:19px;border:1px solid #e0e8f4;background:#f7faff;border-radius:17px;display:flex;flex-direction:column;gap:17px;min-width:0}
.editor-page .va9-owner-choice{padding:0;margin:0;border:0;min-width:0}
.editor-page .va9-owner-choice legend{margin:0 0 12px;padding:0;color:#1f3450;font-size:15px;font-weight:800;line-height:1.4}
.editor-page .va9-ownership-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.editor-page .va9-role-option{width:100%;min-width:0;min-height:83px;display:flex!important;flex-direction:row!important;gap:12px!important;align-items:center!important;justify-content:flex-start!important;padding:14px!important;background:#fff;border:1.5px solid #d9e4f1;border-radius:14px;cursor:pointer;transition:background .15s,border-color .15s}
.editor-page .va9-role-option:has(input:checked){background:#edf5ff;border-color:#2673e2;box-shadow:0 0 0 2px #d8e9ff}
.editor-page .va9-role-option input[type=radio]{appearance:none;display:block!important;position:relative!important;margin:0!important;padding:0!important;width:21px!important;min-width:21px!important;height:21px!important;min-height:21px!important;flex:0 0 21px!important;border:2px solid #a6b8ce!important;border-radius:50%!important;background:#fff!important}
.editor-page .va9-role-option input[type=radio]:checked{border-color:#276de0!important;background:#276de0!important}
.editor-page .va9-role-option input[type=radio]:checked::after{content:'';position:absolute;inset:5px;background:white;border-radius:50%}
.editor-page .va9-role-text{display:flex;flex:1 1 0;min-width:0;flex-direction:column;align-items:flex-start;gap:4px;text-align:left}
.editor-page .va9-role-text strong{font-size:13px;font-weight:800;line-height:1.4;color:#243d5b;overflow-wrap:anywhere}
.editor-page .va9-role-text small{font-size:11px;font-weight:500;line-height:1.5;color:#6a7d96;overflow-wrap:anywhere}
.editor-page .va9-inspection-consent{padding-top:14px;border-top:1px solid #e2eaf6;min-width:0}
.editor-page label.va9-check-line{display:flex!important;flex-direction:row!important;gap:12px!important;align-items:flex-start!important;min-width:0;max-width:100%;margin:0!important;cursor:pointer}
.editor-page label.va9-check-line input[type=checkbox]{width:19px!important;height:19px!important;min-width:19px!important;min-height:19px!important;flex:0 0 19px!important;margin:2px 0 0!important;padding:0!important;accent-color:#2469de}
.editor-page .va9-check-line>span{display:flex;flex-direction:column;gap:4px;min-width:0;flex:1}
.editor-page .va9-check-line strong{font-size:13px;line-height:1.35;color:#263d56}.editor-page .va9-check-line small{font-size:11px;color:#71849a;line-height:1.55;font-weight:500}
.editor-page .va9-inspection-payment{margin:14px 0 0 30px;border:1px solid #dbe7f5;padding:14px;border-radius:13px;background:white;min-width:0;max-width:calc(100% - 30px)}
.editor-page .va9-inspection-payment>label{display:flex;flex-direction:column;gap:8px;font-weight:750;font-size:12px;color:#35506d}
.editor-page .va9-inspection-payment select{width:100%;min-width:0;font-size:13px;max-width:100%}.editor-page .va9-inspection-payment>small{display:block;color:#7b8ea4;font-size:11px;line-height:1.45;margin-top:9px}
/* Upload bars, progress visible and accessible */
.editor-page .upload-meter{display:block!important;position:relative;min-height:12px;height:12px;overflow:hidden;border-radius:20px;background:#dae6f5;border:1px solid #c7d9ef;margin:16px 0 8px}
.editor-page .upload-meter>div{width:0;min-width:0;height:100%;border-radius:20px;background:linear-gradient(90deg,#2b6de1,#22b7a0);transition:width .14s linear;box-shadow:0 0 12px #1f7bdb22}
.editor-page #photo-upload-progress-text,.editor-page #video-upload-progress-text{font-size:12px;font-weight:750;color:#426b96;line-height:1.5;min-height:18px;margin:5px 0 12px}
.editor-page .upload-file-list{font-size:12px;line-height:1.5;color:#455e7b;overflow-wrap:anywhere}
/* Single dual handle video range: blue, visible and thumb friendly. */
.editor-page .va9-video-edit-timeline{position:relative;width:100%;margin:5px 0 14px;padding:3px 0 17px;touch-action:pan-y;user-select:none}
.editor-page .va9-video-frames{height:65px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:2px;overflow:hidden;border-radius:12px;background:#193757;box-shadow:inset 0 0 0 1px #ced8e4}
.editor-page .va9-video-frames span{min-width:0;background:linear-gradient(135deg,#446c9e,#244364);background-position:center;background-size:cover}
.editor-page .va9-video-track{position:absolute;left:0;right:0;bottom:4px;height:29px;touch-action:none;cursor:pointer;border-radius:8px}
.editor-page .va9-video-shade{position:absolute;top:-52px;bottom:3px;background:#152c49a3;pointer-events:none;z-index:1}
.editor-page .va9-video-shade.left{left:0;border-radius:8px 0 0 5px}.editor-page .va9-video-shade.right{right:0;border-radius:0 8px 5px 0}
.editor-page .va9-video-highlight{position:absolute!important;top:-54px!important;height:79px!important;background:transparent!important;border:3px solid #2174f4!important;box-shadow:inset 0 0 0 1px #cce3ff;border-radius:7px!important;pointer-events:none!important;z-index:2!important;min-width:1px}
.editor-page .va9-video-grip{position:absolute;top:-53px;transform:translateX(-50%);display:block;width:24px;height:78px;min-width:24px!important;min-height:78px!important;padding:0;margin:0;background:#1971f3;border:2px solid #e2efff;border-radius:8px;box-shadow:0 3px 12px #1051b555;z-index:5;cursor:ew-resize;touch-action:none}
.editor-page .va9-video-grip:after{content:'';position:absolute;left:9px;top:25px;height:23px;border-left:2px dotted #eff7ff}
.editor-page .va9-video-grip:focus-visible{outline:3px solid #67b6ff;outline-offset:3px}
.editor-page .va9-video-grip:disabled{background:#8c9cb2;border-color:#e8edf4;cursor:not-allowed}
.editor-page .va9-visually-hidden-range{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)}
.editor-page .va-video-times{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:0}
.editor-page .va-video-times span{display:flex;flex-direction:column;gap:2px;font-size:11px;color:#7388a0;background:white;border:1px solid #e1eaf5;padding:9px;border-radius:10px;min-width:0;text-align:center}
.editor-page .va-video-times strong{font-size:14px;color:#215fc8;font-variant-numeric:tabular-nums}
/* Stable modal and tap areas */
body .visit-settings-modal .va9-visit-save{width:auto!important;display:inline-flex!important;max-width:100%!important;min-width:0!important;flex:0 0 auto!important;white-space:normal;line-height:1.35}
body .visit-settings-modal .va8-visit-footer{display:flex;align-items:center;justify-content:flex-end;gap:10px;min-width:0}
body .va9-inspection-panel>.stack-form .va9-inline-action{align-self:flex-start!important;width:auto!important;max-width:100%;white-space:normal}
body .va9-inspection-panel .va9-inspection-visibility{align-items:end;gap:11px}
body .va9-inspection-panel .panel-table{min-width:0}
body .va9-inspection-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
.va9-inspection-actions .btn{width:auto;max-width:100%;white-space:normal;text-align:center}
/* Notifications standalone */
.va9-notifications{padding-top:24px}.va9-notifications .container{max-width:980px}
.va9-notifications-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:14px;flex-wrap:wrap}
.va9-notification{display:flex;align-items:flex-start;gap:13px;padding:17px;margin-bottom:10px;background:white;border:1px solid var(--va9-line);border-radius:16px;min-width:0}
.va9-notification.is-unread{background:#f4f8ff;border-color:#a9cafb}.va9-notification>div{flex:1;min-width:0}.va9-notification strong{font-size:14px;color:#243b57}.va9-notification p{font-size:12px;color:#5b728d;line-height:1.6;margin:6px 0}.va9-notification small{font-size:11px;color:#7890a7}.va9-notification .btn{align-self:center}.va9-notice-dot{width:8px;height:8px;border-radius:50%;background:#afbacc;flex:none;margin-top:7px}.va9-notification.is-unread .va9-notice-dot{background:#226fea}
/* Footer install: visibly part of the Ventautos system */
body .footer .va9-footer-install{display:inline-flex;align-items:center;justify-content:center;gap:10px;width:auto!important;min-height:43px;max-width:100%;padding:11px 15px!important;margin-top:15px;background:#214e81;color:white;border:1px solid #557da7;border-radius:12px;box-shadow:0 7px 16px #09192d30;font-size:12px;font-weight:750;line-height:1.3;text-align:left}
body .footer .va9-footer-install .icon{width:17px;height:17px;flex:none}body .footer .va9-footer-install span{min-width:0;overflow-wrap:anywhere}
/* Shared spacing improvements limited to requested pages */
.va8-vehicle-activity .panel-table+.panel-table{margin-top:20px}.va8-vehicle-activity .vehicle-activity-top{gap:11px;margin-bottom:20px;flex-wrap:wrap}
.va8-vehicle-activity .va9-inspection-panel .stack-form{margin-top:14px}
@media(min-width:1281px){body .site-header .header-inner{gap:9px}body .site-header .main-nav{gap:10px}body .site-header .main-nav a{font-size:11.5px;white-space:nowrap}body .site-header .header-sell{white-space:nowrap}.va9-header-previews{gap:3px}.va9-preview-toggle{width:35px;height:37px;min-width:35px;flex-basis:35px}}
@media(max-width:1280px){body .site-header .market-header-select{display:none!important}.va9-header-previews{gap:4px}}
@media(max-width:640px){
 .editor-page .va9-confirm-box{padding:15px;gap:15px}.editor-page .va9-ownership-grid{grid-template-columns:1fr;gap:9px}.editor-page .va9-role-option{min-height:67px;padding:12px!important}
 .editor-page .va9-role-text strong{font-size:13px}.editor-page .va9-role-text small{font-size:11px}
 .editor-page .va9-whatsapp-title{align-items:center}.editor-page .va9-same-phone{font-size:11px;padding:7px 9px!important}
 .editor-page .va9-inspection-payment{margin-left:0;max-width:100%}
 .editor-page .va9-video-frames{height:55px}.editor-page .va9-video-grip{height:69px;top:-48px}.editor-page .va9-video-highlight{top:-49px!important;height:71px!important}.editor-page .va9-video-shade{top:-45px}
 .va9-preview-popover{position:fixed;top:calc(106px + env(safe-area-inset-top,0px));left:12px;right:12px;width:auto;max-height:min(55dvh,430px)}
 .va9-notification{padding:13px;gap:9px;flex-wrap:wrap}.va9-notification .btn{margin-left:18px}
 body .site-header .header-actions{gap:4px}.va9-preview-toggle,.va9-header-guest{width:34px;height:37px;min-width:34px;flex-basis:34px}
 .va9-inspection-actions{flex-direction:column;align-items:stretch}.va9-inspection-actions .btn{width:100%;justify-content:center}
}
@media(max-width:360px){body .site-header .header-inner{gap:4px}.va9-header-previews{gap:0}.va9-preview-toggle{width:32px;min-width:32px;flex-basis:32px}.editor-page .va9-confirm-box{padding:12px}}
@media(prefers-reduced-motion:reduce){.va9-role-option,.va9-preview-toggle,.editor-page .upload-meter>div{transition:none!important}}

/* Breadcrumb breathing room on vehicle activity, without altering cards. */
.va8-vehicle-activity+.section{margin-top:0}
.va-subpage-head:has(+ .va8-vehicle-activity) .va-back-link{display:inline-flex;align-items:center;gap:8px;margin-bottom:16px;max-width:100%;font-size:13px;text-decoration:none}
.va-subpage-head:has(+ .va8-vehicle-activity) .eyebrow{display:block;margin:0 0 8px;letter-spacing:.13em}
.va-subpage-head:has(+ .va8-vehicle-activity) h1{margin-top:0;margin-bottom:8px}
.va-subpage-head:has(+ .va8-vehicle-activity) p{margin-top:6px}
