/* Ventautos V7 | Design-system corrective layer | deliberately scoped. */
:root{--va7-blue:#2368df;--va7-ink:#172b46;--va7-line:#e2e9f2;--va7-bg:#f6f8fc}
html{overflow-x:clip}body{overflow-x:clip}*,*::before,*::after{box-sizing:border-box}
body .site-header{z-index:140;height:68px;background:#fff;border-bottom:1px solid var(--va7-line)}
body .site-header .header-inner{display:flex;align-items:center;gap:14px;min-width:0}
body .site-header .brand{flex:0 0 auto;white-space:nowrap;min-width:0}
body .site-header .header-actions{margin-left:auto;flex:0 0 auto}
body .site-header .market-header-select{flex:0 0 145px;max-width:145px;width:145px;height:42px;padding:7px 24px 7px 9px;overflow:hidden}
body .site-header .market-header-select .market-header-text{max-width:95px}
body .site-header .market-header-select .market-header-icon{width:26px;height:26px}
body .site-header .mobile-menu{position:absolute;top:100%;left:0;right:0;width:100%;background:#fff;border-top:1px solid var(--va7-line);box-shadow:0 20px 45px #102a4a20;padding:20px 22px 25px;max-height:calc(100dvh - 68px);overflow-y:auto;z-index:160}
body .site-header .mobile-menu:not(.open){display:none!important}
body .site-header .mobile-menu.open{display:block!important}
body .site-header .va-mobile-menu-inner{display:flex;flex-direction:column;gap:16px;max-width:480px;margin:0 auto}
body .site-header .va-mobile-market-head{display:flex;align-items:center;gap:11px}
body .site-header .va-mobile-market-head>div{display:flex;flex-direction:column;gap:3px;min-width:0}
body .site-header .va-mobile-market-head strong{font-size:14px;line-height:1.3}
body .site-header .va-mobile-market-head small{font-size:12px;line-height:1.5}
body .site-header .va-mobile-market-control{display:flex;flex-direction:column;gap:7px}
body .site-header .va-mobile-market-control select{width:100%;height:48px;min-height:48px}
body .site-header .va-mobile-menu-links{display:grid;grid-template-columns:1fr;gap:2px;padding:10px 0}
body .site-header .va-mobile-menu-links a{display:flex;align-items:center;gap:12px;min-height:47px;padding:11px 12px!important;border-radius:12px;font-size:14px!important;font-weight:700;line-height:1.4;white-space:normal}
body .site-header .va-mobile-menu-links a:hover{background:#f0f5ff}
body .site-header .va-mobile-install{display:flex;align-items:center;gap:12px;width:100%;min-height:62px;padding:12px 14px;border-radius:14px;background:#f4f8ff;border:1px solid #dbe8f8;text-align:left}
body .site-header .va-mobile-install span{display:flex;flex-direction:column;gap:3px;min-width:0;flex:1}
body .site-header .va-mobile-install strong{font-size:13px;line-height:1.3}
body .site-header .va-mobile-install small{font-size:11px;line-height:1.4}
/* Account rows: never let global form label or anchor rules destroy alignment. */
body .va-account-section{background:var(--va7-bg);padding:28px 0 70px}
body .va-account-wrap{max-width:800px}
body .va-account-welcome{display:flex;align-items:center;gap:16px;margin-bottom:24px}
body .va-account-welcome>div:last-child{min-width:0}
body .va-account-welcome h1{font-size:clamp(26px,5vw,38px);line-height:1.15;overflow-wrap:anywhere}
body .va-account-group{display:block;background:white;border:1px solid var(--va7-line);border-radius:18px;overflow:hidden;margin-bottom:14px;box-shadow:0 5px 18px #17365a08}
body .va-account-group .va-group-title{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:16px 17px 11px}
body .va-account-group .va-group-title span:first-child{font-size:11px;font-weight:800;letter-spacing:.09em;color:#72839a;text-transform:uppercase}
body .va-account-group .va-group-title span:last-child{font-size:11px;color:#9aa8b9}
body .va-account-group a.va-setting-row{display:flex!important;flex-direction:row!important;align-items:center!important;gap:13px!important;width:100%;min-height:75px;padding:13px 16px!important;border-top:1px solid #edf1f6;text-decoration:none;line-height:1.4;text-align:left}
body .va-setting-row>.va-setting-icon{flex:0 0 43px!important;width:43px!important;height:43px!important;min-width:43px!important;display:grid!important;place-items:center;border-radius:13px}
body .va-setting-row>.va-setting-icon svg{width:21px;height:21px}
body .va-setting-row>.va-setting-copy{flex:1 1 0!important;min-width:0!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:4px!important}
body .va-setting-copy>strong{display:block;font-size:14px!important;line-height:1.3!important;color:var(--va7-ink);font-weight:800}
body .va-setting-copy>small{display:block;font-size:12px!important;line-height:1.4!important;color:#75869c;font-weight:400;overflow-wrap:anywhere}
body .va-setting-row>.icon:last-child{flex:0 0 17px!important;width:17px!important;height:17px!important;margin-left:auto!important;color:#9aabc0}
body .va-setting-row>.va-setting-count{flex:0 0 auto;font-size:11px}
body .va-setting-row>.va-setting-ok{flex:0 0 auto;font-size:11px}
body .va-account-help{font-size:12px;line-height:1.6}
/* Activity cards: explicit flex layout, no merged words */
body .va-activity-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 30px}
body .va-activity-cards>a{display:flex!important;flex-direction:row!important;align-items:center!important;gap:12px!important;min-width:0;padding:15px!important;min-height:80px;border:1px solid var(--va7-line);border-radius:16px;background:#fff;text-decoration:none;box-shadow:0 4px 16px #17365a09}
body .va-activity-cards>a>.va-setting-icon{flex:0 0 42px!important;width:42px!important;height:42px!important;display:grid!important;place-items:center}
body .va-activity-cards>a>span:nth-child(2){display:flex!important;flex:1 1 0;min-width:0;flex-direction:column!important;gap:4px}
body .va-activity-cards strong{display:block;font-size:14px;line-height:1.3}
body .va-activity-cards small{display:block;font-size:11px;line-height:1.4;color:#74859a}
body .va-activity-cards>a>.icon:last-child{flex:0 0 17px;width:17px;height:17px;margin-left:auto}
body .va-subpage-head{padding:32px 0;background:linear-gradient(130deg,#f2f6ff,#fff)}
body .va-subpage-head h1{font-size:clamp(27px,5vw,42px);line-height:1.16}
body .va-subpage-head p{font-size:14px;line-height:1.55}
/* Ownership controls: label must never inherit 100% width from generic editor controls. */
body .owner-choice{display:block;border:0;margin:0 0 18px;padding:0;min-width:0}
body .owner-choice legend{font-size:14px;font-weight:800;margin:0 0 13px;line-height:1.45}
body .owner-choice .va-ownership-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:11px!important}
body .owner-choice label.ownership-option{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start!important;gap:12px!important;width:auto!important;min-width:0!important;min-height:82px!important;margin:0!important;padding:15px!important;border:1.5px solid #dbe5f1!important;border-radius:15px!important;background:#fff!important;cursor:pointer;position:relative;text-align:left!important}
body .owner-choice label.ownership-option:has(input:checked){background:#eef5ff!important;border-color:#2773df!important;box-shadow:0 0 0 2px #dbeaff}
body .owner-choice label.ownership-option input[type=radio]{appearance:none!important;display:block!important;position:relative!important;flex:0 0 21px!important;width:21px!important;min-width:21px!important;height:21px!important;min-height:21px!important;margin:0!important;padding:0!important;border:2px solid #a6b6ca!important;border-radius:50%!important;background:#fff!important;box-shadow:none!important}
body .owner-choice label.ownership-option input[type=radio]:checked{border-color:#236cdb!important;background:#236cdb!important}
body .owner-choice label.ownership-option input[type=radio]:checked:after{content:'';position:absolute;inset:5px;border-radius:50%;background:white}
body .owner-choice label.ownership-option .ownership-option-copy{display:flex!important;flex:1 1 0;min-width:0;flex-direction:column!important;gap:4px;align-items:flex-start!important;text-align:left!important}
body .owner-choice label.ownership-option strong{display:block;font-size:13px;line-height:1.4;font-weight:800;overflow-wrap:anywhere}
body .owner-choice label.ownership-option small{display:block;font-size:11px;line-height:1.45;font-weight:400;color:#74849b;overflow-wrap:anywhere}
body .owner-choice label.ownership-option .ownership-select-icon{display:none!important}
body .confirm-box .check-row{display:flex!important;align-items:flex-start!important;gap:11px!important;line-height:1.5!important}
body .confirm-box .check-row input[type=checkbox]{width:19px!important;height:19px!important;min-width:19px!important;flex:0 0 19px!important;margin:2px 0 0!important}
body .confirm-box .check-row span{flex:1;min-width:0;overflow-wrap:anywhere}
body .confirm-box .inspection-split-field{display:block;max-width:100%;font-size:13px;line-height:1.5}
body .confirm-box .inspection-split-field select{display:block;width:100%;max-width:100%;margin-top:8px;text-overflow:ellipsis}
body .confirm-box .inspection-split-field small{display:block;font-size:11px;line-height:1.5}
body .va-video-modal{max-width:min(650px,calc(100vw - 20px))!important}
body .va-video-modal .va-video-modal-body{max-height:90dvh;overflow-y:auto}
body .btn{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.3}
@media(max-width:1280px){body .site-header .main-nav{display:none!important}body .site-header .menu-toggle{display:inline-flex!important;flex:0 0 44px;width:44px;height:44px;align-items:center;justify-content:center}}
@media(max-width:720px){
 body .announcement{display:none!important}
 body .site-header .market-header-select{display:none!important}
 body .site-header .header-actions .login-link{display:none!important}
 body .site-header .header-actions .header-sell{display:none!important}
 body .site-header .header-inner{justify-content:space-between;gap:8px}
 body .site-header .brand{font-size:clamp(19px,5.4vw,24px);letter-spacing:-.06em}
 body .site-header .brand-mark{width:37px;height:37px;flex:0 0 37px}
 body .site-header .brand-mark .icon{width:24px;height:24px}
 body .site-header .menu-toggle{width:42px;height:42px;flex-basis:42px}
 body .site-header .mobile-menu{top:100%}
 body .va-account-welcome{gap:12px}
 body .va-account-welcome h1{font-size:clamp(25px,6vw,32px)}
 body .va-account-welcome .va-avatar{width:50px;height:50px;flex:0 0 50px}
 body .va-account-group .va-group-title{padding:13px 13px 9px}
 body .va-account-group a.va-setting-row{padding:12px 13px!important;gap:11px!important;min-height:70px}
 body .va-setting-row>.va-setting-icon{width:40px!important;height:40px!important;min-width:40px!important;flex-basis:40px!important}
 body .va-setting-copy>strong{font-size:13px!important}
 body .va-setting-copy>small{font-size:11px!important}
 body .va-activity-cards{grid-template-columns:1fr 1fr;gap:9px}
 body .va-activity-cards>a{padding:12px!important;gap:9px!important;min-height:74px}
 body .va-activity-cards>a>.va-setting-icon{flex-basis:34px!important;width:34px!important;height:34px!important}
 body .va-activity-cards strong{font-size:12px}
 body .va-activity-cards small{font-size:10px}
 body .owner-choice .va-ownership-grid{grid-template-columns:1fr!important;gap:10px!important}
 body .owner-choice label.ownership-option{min-height:73px!important;padding:14px!important}
 body .va-subpage-head{padding:24px 0}
 body .va-subpage-head h1{font-size:30px}
 body .va-subpage-head p{font-size:13px}
}
@media(max-width:350px){body .va-activity-cards{grid-template-columns:1fr}body .va-setting-row>.va-setting-ok{font-size:0}body .va-account-group .va-group-title span:last-child{display:none}}
/* Keep desktop navigation readable: do not squeeze link text onto multiple lines. */
@media(min-width:1281px){
 body .site-header .header-inner{gap:12px}
 body .site-header .brand{font-size:23px}
 body .site-header .main-nav{display:flex;align-items:center;justify-content:center;flex:1 1 auto;min-width:0;gap:12px}
 body .site-header .main-nav a{font-size:12px;white-space:nowrap;flex:0 0 auto}
 body .site-header .header-actions{gap:12px}
 body .site-header .header-actions .header-sell{font-size:12px;padding:10px 13px}
}
body .va-account-group a.va-setting-row:focus-visible,
body .va-activity-cards>a:focus-visible,
body .owner-choice label.ownership-option:focus-within{outline:3px solid #8dbbff;outline-offset:-3px}
