@import url("/interface-refinement.css?v=customer-fixes-20261019");
@import url("/silver-controls.css?v=20261018-1");
/* Shared Carniia interface standards. Brand toggles, Push to Sell and KuttyBot are excluded. */
:root{--ui-font:'DM Sans','Noto Sans Tamil',Arial,sans-serif;--ui-ink:#182b43;--ui-muted:#62748b;--ui-blue:#164db5;--ui-line:#dce4ee;--ui-radius:10px;--ui-focus:#4387ee}
html{scroll-padding-top:24px;text-size-adjust:100%;-webkit-text-size-adjust:100%}
body{font-family:var(--ui-font);line-height:1.5}
body:not(.mobile-customer) :is(p,li,label,input,select,textarea):not(:where(#vandi-bot *,.vb-panel *,.kb-consultation *)){font-size:15px}
body:not(.mobile-customer) :is(h1,h2,h3,h4):not(:where(#vandi-bot *,.vb-panel *,.kb-consultation *)){line-height:1.25;overflow-wrap:break-word}
body:not(.mobile-customer) :is(h2,h3):not(:where(#vandi-bot *,.vb-panel *,.kb-consultation *)){letter-spacing:-.3px}
/* Standard action controls; no blanket styling inside the assistant or bespoke controls. */
body :is(button,.page-button,.finance-button,.register-link,.ds-account a):not(:where(#vandi-bot *,#vandi-bot,.vb-panel *,.kb-consultation *,.mobile-rail *,.vs-actions *,.ev-metal-switch,.push-sell,.push-sell *,.language-switch *,.site-language-switch *,.inline-search-button,.hero-controls-overlay *,.mobile-language *,.mobile-mode *,.location-toggle-row *)){font-family:var(--ui-font)!important;font-size:14px!important;font-weight:600!important;line-height:1.3!important;letter-spacing:0!important;min-height:42px;padding:10px 16px!important;border-radius:8px!important;border:1px solid #c5d3e5;box-shadow:none!important;white-space:normal;text-align:center;vertical-align:middle;text-decoration:none;max-width:100%;overflow-wrap:break-word;cursor:pointer;transition:background-color .16s ease,border-color .16s ease}
body :is(button,.page-button,.finance-button):not(:where(#vandi-bot *,#vandi-bot,.vb-panel *,.kb-consultation *,.mobile-rail *,.vs-actions *,.ev-metal-switch,.push-sell *,.language-switch *,.site-language-switch *,.inline-search-button,.hero-controls-overlay *,.mobile-language *,.mobile-mode *,.location-toggle-row *)):disabled{cursor:not-allowed;opacity:.55}
body :is(button,a,input,select,textarea):not(:where(#vandi-bot *,#vandi-bot,.vb-panel *,.kb-consultation *,.ev-metal-switch,.push-sell,.push-sell *)):focus-visible{outline:2px solid var(--ui-focus)!important;outline-offset:3px!important}
/* Consistent readable form fields, keeping compact mobile search and custom switches intact. */
body:not(.mobile-customer) :is(input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]):not([type=hidden]):not(#vehicle-query),select,textarea):not(:where(#vandi-bot *,.vb-panel *,.kb-consultation *)){font:400 15px/1.5 var(--ui-font);min-height:44px;padding:10px 12px;border:1px solid #c9d5e5;border-radius:8px;max-width:100%;box-sizing:border-box}
body:not(.mobile-customer) textarea:not(:where(#vandi-bot *,.vb-panel *)){min-height:108px;resize:vertical}
body:not(.mobile-customer) input[type=file]{max-width:100%;font:14px var(--ui-font)}
body:not(.mobile-customer) input[type=file]::file-selector-button{font:600 14px var(--ui-font);padding:9px 14px;border:1px solid #c5d3e5;border-radius:8px;margin-right:12px;background:#eef3fa;color:#18365c;cursor:pointer}
body:not(.mobile-customer) :is(input[type=checkbox],input[type=radio]){accent-color:var(--ui-blue)}
/* Clear surfaces and a shared content rhythm. */
body:not(.mobile-customer) :is(.registration,.finance-shell,.request-shell,.listings-area){width:min(100%,1280px);margin-inline:auto;box-sizing:border-box;padding-left:clamp(16px,4vw,40px);padding-right:clamp(16px,4vw,40px)}
body:not(.mobile-customer) :is(form,.finance-panel,.ds-account,.ds-terms,.ds-history-row){border-radius:14px}
body:not(.mobile-customer) :is(.finance-grid,.registration-grid){gap:18px 24px}
body:not(.mobile-customer) :is(.finance-actions,.password-actions,.ds-actions){display:flex;align-items:center;flex-wrap:wrap;gap:10px}
body:not(.mobile-customer) dialog:not(:where(#vandi-bot *,.kb-consultation *)){max-width:calc(100vw - 32px);max-height:88dvh;overflow:auto;border-radius:16px;padding:24px;border:1px solid var(--ui-line);box-sizing:border-box}
body:not(.mobile-customer) dialog::backdrop{background:#08162a99}
body:not(.mobile-customer) :is(th,td){font-size:14px;padding:12px 14px;line-height:1.5}
body:not(.mobile-customer) :is(.masthead,.vl-header){gap:16px}
body:not(.mobile-customer) :is(.header-actions,.finance-tabs){gap:10px;flex-wrap:wrap}
body:not(.mobile-customer) :is(.finance-muted,.finance-intro,.inventory-note){line-height:1.6}
/* Membership account: balanced usage cards and restrained action hierarchy. */
.ds-page main{max-width:1280px;padding-top:32px}
.ds-page .ds-account{padding:28px;border:1px solid #d6dfeb;box-shadow:0 6px 20px #14273d07}
.ds-page .ds-account h2{font-size:26px;font-weight:750;margin:0 0 10px;color:#182b43}
.ds-page .ds-account>p{font-size:14px;color:#62748b;margin:0 0 20px}
.ds-page .ds-usage{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:20px 0 24px}
.ds-page .ds-usage>div{padding:14px 16px;background:#f3f6fa;border:1px solid #e5ebf3;border-radius:10px;min-width:0}
.ds-page .ds-usage .ds-usage-label{display:block;padding:0;background:transparent;font-size:12px;font-weight:600;color:#62748b;line-height:1.4}
.ds-page .ds-usage strong{display:block;margin-top:5px;font-size:18px;color:#182b43;line-height:1.35}
.ds-page .ds-services-title{font-size:14px;font-weight:700;color:#182b43;margin:0 0 10px}
.ds-page .ds-actions{gap:10px}
.ds-page .ds-actions button{flex:0 1 auto;width:auto;min-height:42px;font-size:14px!important;padding:10px 15px!important;font-weight:600!important;background:#fff!important;color:#244b7f!important;border-color:#becde0!important}
.ds-page .ds-actions .ds-btn-primary{background:#164db5!important;border-color:#164db5!important;color:#fff!important}
.ds-page .ds-actions button:hover{background:#eef4fc!important;border-color:#7c9fcf!important}
.ds-page .ds-actions .ds-btn-primary:hover{background:#103c91!important;color:#fff!important}
.ds-page .ds-membership-footer{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;border-top:1px solid #e1e8f1;padding-top:18px;margin-top:24px}
.ds-page .ds-membership-footer p{font-size:13px;color:#62748b;margin:0;max-width:650px}
.ds-page .ds-membership-footer .ds-btn-danger{min-height:40px;background:#fff!important;border-color:#e3bcc0!important;color:#a9303a!important;font-size:13px!important;padding:9px 14px!important}
.ds-page .ds-plan{padding:24px 20px;border-radius:16px;box-shadow:0 5px 18px #14273d08}
.ds-page .ds-plan .ds-price{font-size:clamp(27px,2.5vw,34px);line-height:1.2}
.ds-page .ds-plan .ds-price small{display:block;margin-top:6px;font-size:13px;color:#493d29}
.ds-page .ds-plan button{width:100%;margin-top:12px;background:#183b66!important;color:#fff!important}
.ds-page .ds-terms{padding:24px;border:1px solid #dce4ee}
.ds-page .ds-history-row{padding:18px 20px}
/* Admin controls retain their layout but share the same text and field sizing. */
#record-layout{align-items:center;gap:8px}
.ds-admin-grid{gap:20px}.ds-admin-grid article{padding:22px;border-radius:12px}
@media(max-width:900px){.ds-page .ds-usage{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:600px){body:not(.mobile-customer) :is(.masthead,.vl-header){padding:14px 16px;gap:12px;flex-wrap:wrap}body:not(.mobile-customer) :is(.header-actions,.finance-header,.inventory-heading){gap:10px}.ds-page main{padding:20px 16px 40px}.ds-page .ds-account{padding:20px}.ds-page .ds-account h2{font-size:23px}.ds-page .ds-usage{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.ds-page .ds-actions{display:grid;grid-template-columns:1fr 1fr;width:100%}.ds-page .ds-actions button{width:100%;min-height:44px}.ds-page .ds-membership-footer{align-items:flex-start;flex-direction:column}.ds-page .ds-plan{padding:22px}body:not(.mobile-customer) :is(.finance-actions,.password-actions){gap:8px}}
@media(max-width:360px){.ds-page .ds-actions{grid-template-columns:1fr}.ds-page .ds-usage{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){body :is(button,a,input,select,textarea){transition:none!important}}
/* Five compact membership speedometers. */
.ds-page .ds-usage>div.ds-usage-gauge{padding:16px 10px 14px;text-align:center;background:#f8fafd;border-color:#e0e8f2}
.ds-page .ds-usage-gauge svg{display:block;width:100%;max-width:170px;height:auto;margin:4px auto -15px}
.ds-page .ds-usage-gauge .ds-usage-label{font-size:12px;font-weight:700;min-height:34px;display:flex;align-items:center;justify-content:center;color:#405978}
.ds-page .ds-usage-gauge strong{font-size:18px;margin-top:0;font-variant-numeric:tabular-nums}
.ds-page .ds-gauge-caption{display:block;font-size:11px;color:#62748b;margin-top:4px}
/* Account and finance refinements from the page-by-page review. */
body:not(.mobile-customer) :is(.finance-header h1,.request-shell h1,.registration h1,.listings-area h1){font-size:clamp(28px,3vw,38px);font-weight:750;line-height:1.2;letter-spacing:-.7px;text-transform:none}
#login-form{display:flex;flex-direction:column;gap:18px;max-width:520px;margin-inline:auto}
#login-form label{width:100%;margin:0}
#login-form input{width:100%}
#login-form #login-submit{width:100%;background:#164db5;color:#fff;border-color:#164db5}
#login-form #forgot-password{align-self:flex-start}
.masthead:has(~ main.registration){display:flex;align-items:center;justify-content:flex-start}
.masthead:has(~ main.registration) .brand{margin-right:auto;order:0}
.masthead:has(~ main.registration)>a:not(.brand){order:1}
.masthead:has(~ main.registration) :is(.language-switch,.site-language-switch){order:2}
body:not(.mobile-customer) .finance-header{align-items:flex-start;gap:24px}
body:not(.mobile-customer) .finance-header .finance-actions{justify-content:flex-end}

.membership-nav-link{white-space:nowrap!important} @media(max-width:600px){.ds-top{flex-wrap:wrap;gap:12px}.ds-top a:first-child{flex-basis:100%}.ds-top a:not(:first-child){font-size:13px}}

body>header .vl-header-auth{margin-left:auto;display:flex;align-items:center;justify-content:flex-end;gap:12px;flex-wrap:wrap}
body>header .vl-header-auth #admin-account{display:flex;flex-direction:column;align-items:flex-end;gap:4px;font-size:12px;color:#252b33}
body>header .vl-header-auth #admin-account-name{max-width:220px;text-align:right;line-height:1.3}
body>header .vl-header-auth #logout{margin:0}
body>header .vl-header-auth [hidden]{display:none!important}
body>header .vl-header-auth .site-language-switch{margin:0}
