/* Responsive application shell and progressive disclosure. Business actions retain their existing confirmation flows. */
.mobile-only,.mobile-navigation{display:none}.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}
button:focus-visible,summary:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,a:focus-visible{outline:3px solid #278bc4;outline-offset:3px}input,select,textarea{max-width:100%}.main-shell,#content,.panel,.crm-inbox-panel{min-width:0}.inventory-extra>summary{display:none}.inventory-extra{width:100%}
.report-library{max-width:1250px}.report-search{display:flex;flex-direction:column;gap:8px;max-width:560px;color:#526e82;font-size:12px;font-weight:700}.report-search input{width:100%;min-height:46px;background:white}.report-library-count{font-size:12px;color:#6c8192;margin:16px 0}.report-library-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.report-library-card{min-width:0;border:1px solid #dce7ee;border-radius:15px;padding:24px;background:white;display:flex;flex-direction:column;align-items:flex-start;box-shadow:0 2px 8px #16395105}.report-library-card:hover{border-color:#81bec5;box-shadow:0 6px 18px #1639510d}.report-library-icon{display:grid;place-items:center;width:46px;height:46px;color:#117f87;background:#e8f6f5;border-radius:12px;font-size:27px;margin-bottom:20px}.report-library-card small{text-transform:uppercase;font-size:10px;letter-spacing:.8px;color:#78909e}.report-library-card h2{font-size:19px;line-height:1.4;margin:8px 0;color:#153b52}.report-library-card p{font-size:12px;line-height:1.8;color:#637e90;min-height:66px;margin:0 0 20px}.report-library-card>button{margin-top:auto;min-height:42px}.report-active-toolbar{display:flex;align-items:center;gap:18px;justify-content:space-between;flex-wrap:wrap;margin:4px 0 22px}.report-active-toolbar label{display:flex;align-items:center;gap:10px;margin:0;font-size:12px;color:#5e7789}.report-active-toolbar select{width:280px;margin:0;min-height:42px}
.channel-strip{display:block!important}.channel-strip-summary{display:flex;align-items:center;gap:9px;justify-content:space-between;flex-wrap:wrap;font-size:10px;color:#6c8190;margin:4px 0 9px}.channel-review-link{border:0;background:#fff5df;color:#9a641d;font-size:10px!important;padding:5px 8px!important}.channel-strip-buttons{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.channel-status{max-width:100%;overflow:hidden;text-overflow:ellipsis}.channel-status small{white-space:normal}.channel-directory{min-width:0}.channel-directory>header strong{font-size:18px;color:#153e52}.channel-directory>header p{font-size:12px;line-height:1.7;color:#687e8e}.channel-directory-filters{display:grid;grid-template-columns:2fr 1fr;gap:14px;margin:18px 0}.channel-directory-filters label{font-size:12px;color:#5c788a}.channel-directory-filters input,.channel-directory-filters select{width:100%;min-width:0;margin:8px 0 0}.channel-directory-count{font-size:12px;color:#6d8392}.channel-directory-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;max-height:51vh;overflow:auto;overscroll-behavior:contain;padding:2px 7px 2px 1px}.channel-directory-list>article{display:flex;flex-direction:column;align-items:start;gap:13px;border:1px solid #dce7ee;background:#f9fbfd;border-radius:12px;padding:17px;min-width:0}.channel-directory-list strong{display:block;font-size:14px;color:#193f55;overflow-wrap:anywhere}.channel-directory-list small{display:block;font-size:10px;color:#718696;margin:9px 0}.channel-directory-list>article>button{margin-top:auto;min-height:40px}.channel-state-label{display:inline-flex;margin-top:9px;padding:5px 8px;border-radius:6px;font-size:10px;background:#fff0ee;color:#ad5348}.channel-state-label.published{background:#e9f8ef;color:#217653}.channel-state-label.alert{background:#fff4dc;color:#986918}.channel-directory-list summary{font-size:11px;color:#397d92;cursor:pointer}.channel-directory-list li{font-size:11px;overflow-wrap:anywhere;line-height:1.7}.vehicle-origin-controls label{display:flex;flex-direction:column;gap:7px;min-width:180px;flex:1;font-size:12px;color:#547286}.vehicle-origin-controls select{width:100%;min-width:0;margin:0}.vehicle-origin-controls>button{align-self:end;margin-bottom:0}.vehicle-interest-panel>.panel-title h3{font-size:20px;margin-top:8px}.vehicle-interest-panel .highcharts-color-0{fill:#2563eb;stroke:#2563eb}.vehicle-interest-panel .highcharts-color-1{fill:#059669;stroke:#059669}.vehicle-interest-panel .highcharts-color-2{fill:#d97706;stroke:#d97706}
@media(min-width:801px) and (max-width:1200px){.report-library-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:800px){
 html{-webkit-text-size-adjust:100%;scroll-padding-top:76px;scroll-padding-bottom:90px}.mobile-only{display:inline-flex}.mobile-nav-lock{overflow:hidden}#app-screen .sidebar{position:fixed!important;inset:0 auto 0 0;width:min(310px,86vw)!important;height:100dvh;background:#192f45;padding:22px 16px;display:flex;flex-direction:column;transform:translateX(-105%);transition:transform .18s;z-index:120;overflow-y:auto}#app-screen.mobile-menu-open .sidebar{transform:none}#app-screen .sidebar .sidebar-heading{display:flex;flex-direction:row;align-items:center;gap:15px;margin:0 0 22px}#mobile-menu-close{order:2;margin-left:auto;color:white;border:1px solid #ffffff30;background:#ffffff0e;width:44px;height:44px;font-size:25px;justify-content:center;align-items:center}#app-screen .sidebar .brand{margin:0;display:flex}#app-screen .sidebar .brand-logo{display:block;width:100px}#app-screen .sidebar .brand-mark{display:none}#app-screen .sidebar .brand span{display:inline}#sidebar-toggle{display:none}#app-screen .sidebar .workspace-tag{display:block;margin-bottom:20px}#app-screen .sidebar .sidebar-caption{display:block}#app-screen #navigation{display:flex;flex-direction:column;gap:5px;overflow:visible}#app-screen #navigation button{width:100%;min-height:48px;padding:13px;text-align:left;justify-content:flex-start;white-space:normal;font-size:14px}#app-screen #navigation .navigation-label{display:inline}#app-screen #navigation .ui-icon{width:22px;height:22px}#app-screen .sidebar .sidebar-bottom{display:none}.mobile-account{margin-top:auto;padding-top:24px}.mobile-account button{min-height:44px;background:#ffffff0c;color:#d9e5ed;border:1px solid #ffffff28;width:100%}.mobile-nav-backdrop{position:fixed;inset:0;z-index:110;background:#0d263c8c;border:0;border-radius:0;padding:0;width:100%;height:100dvh;backdrop-filter:blur(2px)}#app-screen .main-shell{margin:0!important;width:100%!important}.app-screen{display:block}#app-screen .topbar{position:sticky;top:0;z-index:50;padding:8px 12px;min-height:64px;display:flex;flex-wrap:wrap;gap:8px;background:#fff;box-shadow:0 1px 8px #16395108}#mobile-menu-button,#mobile-search-button{display:inline-flex;align-items:center;justify-content:center;min-width:44px;min-height:44px;font-size:23px;background:#f1f6fa;color:#254f67;border:1px solid #dce6ee;border-radius:10px}#mobile-menu-button{order:0}#mobile-search-button{order:2}.topbar-context{order:1!important;flex:1;min-width:0}.topbar-context #workspace-context,.context-divider{display:none}.topbar .context-label{font-size:8px}.topbar #group-select{font-size:14px;max-width:100%;min-width:0;width:100%;margin:0;padding:5px 18px 5px 0;height:29px;overflow:hidden;text-overflow:ellipsis}.topbar .profile{display:none}.topbar .crm-bell{order:3;min-width:44px;min-height:44px;margin:0}#app-screen #workspace-search{display:none;order:4;flex-basis:100%;width:100%;max-width:none;margin:0;padding:8px;min-height:48px}#app-screen.mobile-search-open #workspace-search{display:flex}.workspace-search input{font-size:16px;min-width:0;width:100%}.workspace-search select{max-width:105px;font-size:12px}.mobile-navigation{display:grid;grid-template-columns:repeat(var(--mobile-nav-count,5),minmax(0,1fr));position:fixed;inset:auto 0 0;background:#ffffffed;backdrop-filter:blur(14px);border-top:1px solid #dce6ed;padding:6px 5px calc(6px + env(safe-area-inset-bottom));z-index:65;box-shadow:0 -3px 15px #153e5209}.mobile-navigation button{background:transparent;border:0;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-width:0;min-height:52px;font-size:10px;color:#657d8f;padding:5px 2px}.mobile-navigation button>span:first-child{font-size:21px;line-height:22px}.mobile-navigation button.active{background:#e7f4f6;color:#087684;font-weight:700}.mobile-keyboard-open .mobile-navigation{display:none}#main-content{padding:18px 12px calc(94px + env(safe-area-inset-bottom));max-width:100%}#toast{bottom:calc(82px + env(safe-area-inset-bottom));left:14px;right:14px;max-width:none;width:auto}.mobile-keyboard-open #main-content{padding-bottom:24px}.page-heading{align-items:start;gap:13px}.page-heading h1{font-size:23px;line-height:1.3;overflow-wrap:anywhere}.heading-actions{gap:8px}.heading-actions>button{min-height:44px}.heading-actions>details>summary{min-height:44px}button,input,select,textarea{touch-action:manipulation}button:not(.radar-help-trigger):not(.crm-person-link),summary{min-height:44px}input:not([type=checkbox]):not([type=radio]):not([type=file]),select,textarea{font-size:16px!important;min-height:44px}.form-grid{grid-template-columns:1fr!important}.filters{padding:12px;gap:12px;flex-direction:column}.filters input,.filters select{min-width:0;width:100%;max-width:none}.report-center-header{margin:0 0 20px}.report-center-header h1{font-size:23px}.report-library-grid{grid-template-columns:1fr;gap:13px}.report-library-card{padding:19px;display:grid;grid-template-columns:42px minmax(0,1fr);column-gap:15px;align-items:start}.report-library-icon{width:42px;height:42px;margin:0;font-size:23px}.report-library-card h2{font-size:18px}.report-library-card p{min-height:0;margin-bottom:14px}.report-library-card>button{grid-column:2;width:100%}.report-active-toolbar{gap:12px;align-items:stretch}.report-active-toolbar>button{width:100%}.report-active-toolbar label{display:flex;flex-direction:column;align-items:stretch;width:100%;gap:7px}.report-active-toolbar select{width:100%;margin:0}.crmr-hero,.pulse-hero{padding:19px!important}.crmr-hero h1,.pulse-hero h1{font-size:23px}.intr-filters,.crmr-filters,.opr-filters,.pulse-filters{gap:12px!important;padding:15px!important;grid-template-columns:repeat(2,minmax(0,1fr))}.intr-filters label,.pulse-filters label,.crmr-filters label,.opr-filters label{min-width:0}.intr-filters>button,.pulse-filters>button{width:100%}.crmr-chart{height:300px}.crmr-panel{padding:17px!important}.touch-table-scroll{position:relative;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;border-right:3px solid #99bdce}.touch-table-scroll:before{content:'Desliza para ver todas las columnas →';position:sticky;left:0;display:block;font-size:10px;color:#608096;padding:8px 0;background:white;white-space:normal}.inventory-extra>summary{display:block;color:#337a92;font-size:12px;cursor:pointer;padding:12px 0}.inventory-extra .inventory-unit-identifiers{margin-top:6px}.inventory-unit-ages{grid-template-columns:repeat(2,minmax(0,1fr))}.inventory-unit-photo{height:180px}.channel-strip-buttons .channel-status{min-height:44px;flex:1;max-width:calc(50% - 4px);justify-content:center;font-size:11px!important;white-space:normal}.channel-strip-buttons>.secondary{min-height:44px;font-size:12px}.channel-strip-summary{font-size:12px}.channel-review-link{min-height:36px!important}.vehicle-origin-controls{display:grid;grid-template-columns:1fr 1fr;gap:12px}.vehicle-origin-controls label{min-width:0}.vehicle-origin-controls>button{grid-column:1/-1}.lead-controls{gap:7px}.vehicle-interest-panel>.panel-title h3{font-size:20px}.channel-directory-filters{grid-template-columns:1fr}.channel-directory-list{grid-template-columns:1fr;max-height:44dvh}.channel-directory-list>article{flex-direction:row;justify-content:space-between;align-items:start;gap:12px}.channel-directory-list>article>div{min-width:0}.channel-directory-list>article>button{flex-shrink:0;margin-top:0;min-height:44px}#modal:has(.channel-directory){width:calc(100vw - 20px);padding:20px;max-height:calc(100dvh - 24px)}#modal{width:calc(100vw - 20px);padding:20px;max-height:calc(100dvh - 24px)}.modal-heading h2{font-size:20px;line-height:1.35;overflow-wrap:anywhere}.modal-actions{position:sticky;bottom:-20px;background:white;padding:14px 0 calc(8px + env(safe-area-inset-bottom));border-top:1px solid #dce7ee;gap:10px}.modal-actions>button{min-height:46px;flex:1}.crm-quick-preview{display:none!important}.crm-inbox-table{white-space:normal;min-width:0!important;display:block}.crm-inbox-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.crm-inbox-table tbody{display:block}.crm-inbox-table tbody tr{display:grid;grid-template-columns:1fr 1fr;border:1px solid #dce7ee;border-radius:12px;margin:12px;background:white;overflow:hidden}.crm-inbox-table tbody td{display:block;border:0;padding:11px 14px;min-width:0}.crm-inbox-table tbody td:first-child{grid-column:1/-1;border-bottom:1px solid #e4ecf2}.crm-inbox-table tbody td:nth-child(2):before{content:'ETAPA';display:block;font-size:9px;color:#7c91a0;margin-bottom:6px}.crm-inbox-table tbody td:nth-child(3):before{content:'RESPONSABLE';display:block;font-size:9px;color:#7c91a0;margin-bottom:6px}.crm-inbox-table tbody td:nth-child(4){border-top:1px solid #edf2f6}.crm-inbox-table tbody td:last-child{display:flex;justify-content:flex-end;align-items:center;border-top:1px solid #edf2f6}.crm-inbox-table .crm-person-link{max-width:100%;width:100%;min-height:48px;white-space:normal;text-align:left}.crm-inbox-table .crm-person-link>span:last-child{min-width:0;overflow-wrap:anywhere}.crm-inbox-table .crm-person-link small{white-space:normal}.crm-inbox-table .crm-inbox-unread{border-left:4px solid #168b9a}.crm-inbox-panel>.table-scroll{overflow:visible}.crm-list-views{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%}.crm-record-sidebar{display:flex!important;flex-direction:column}.crm-console-header .heading-actions{flex-wrap:wrap}.crm-filter-bar{gap:12px}.crm-chat-feed{max-height:65dvh}.crm-chat-card-actions button{min-height:44px}.crm-record-tabs{scroll-padding:12px}.crm-record-tabs button{flex-shrink:0}.crm-notification-drawer{top:70px;left:10px;right:10px;width:auto;max-height:calc(100dvh - 155px);z-index:80}.mobile-menu-open~.crm-notification-drawer{display:none}.management-sidebar{padding:10px}.management-menu-title{margin:0;padding:5px 8px 12px}.management-tree{grid-template-columns:1fr}.management-branch:not(.current-area){display:none}.management-sidebar:has([open]) .management-branch{display:block}.record-tabs,.vehicle-detail-tabs{display:flex;flex-wrap:nowrap;overflow:auto;white-space:nowrap;gap:8px;scroll-padding:12px;padding-bottom:8px}.record-tabs button,.vehicle-detail-tabs button{flex-shrink:0}.record-header-actions{width:100%;gap:10px}.stage-tabs button{flex-basis:145px;min-height:80px}.config-savebar{bottom:calc(70px + env(safe-area-inset-bottom))}.table-wrap:has([data-mobile-cards]),.inventory-list-scroll:has([data-mobile-cards]){overflow:visible}table[data-mobile-cards]{display:block;white-space:normal;min-width:0!important}table[data-mobile-cards]>thead{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}table[data-mobile-cards]>tbody{display:block}table[data-mobile-cards]>tbody>tr{display:grid;grid-template-columns:1fr 1fr;gap:0 10px;border:1px solid #dce7ee;border-radius:12px;background:white;padding:12px;margin:12px 0;min-width:0}table[data-mobile-cards]>tbody>tr>td{display:block;border:0;min-width:0;padding:10px 6px;overflow-wrap:anywhere}table[data-mobile-cards]>tbody>tr>td:first-child{grid-column:1/-1;border-bottom:1px solid #e6edf2}table[data-mobile-cards]>tbody>tr>td:last-child{grid-column:1/-1;border-top:1px solid #e6edf2}table[data-mobile-cards]>tbody>tr>td:before{content:attr(data-label);display:block;font-size:9px;color:#738b9b;letter-spacing:.3px;margin-bottom:7px}table[data-mobile-cards] .inventory-list-vin{white-space:normal}.table-actions,.inventory-list-actions{gap:8px}.pub-compose>label{min-width:0;width:100%}.marketplace-grid{grid-template-columns:1fr}.marketplace-card{min-width:0}.marketplace-card button{white-space:normal}.crm-hours-day{grid-template-columns:1fr}.login-brand{padding:24px 7%}.login-brand h1{font-size:26px}.login-card{width:auto;margin:22px 7%;padding:23px}.login-note{font-size:12px}.mobile-account{display:block}
}
@media(max-width:380px){.intr-filters,.crmr-filters,.opr-filters,.pulse-filters,.vehicle-origin-controls{grid-template-columns:1fr}.intr-filters>*{grid-column:1!important}.channel-directory-list>article{flex-direction:column}.channel-directory-list>article>button{width:100%}.topbar .context-label{display:none}#mobile-menu-button,#mobile-search-button{min-width:40px}.crm-command-metrics{grid-template-columns:1fr 1fr}.pulse-age-summary{gap:8px}.pulse-age-summary article{padding:11px}}
@media(prefers-reduced-motion:reduce){#app-screen .sidebar{transition:none}.report-library-card{transition:none}}

.management-mobile-select{display:none}@media(max-width:800px){.management-mobile-select{display:flex;flex-direction:column;font-size:12px;gap:8px;color:#5d778b;margin:12px 0}.management-mobile-select select{width:100%;margin:0}.management-tree,.management-menu-note{display:none!important}#modal:has(.pulse-age-modal) .modal-actions{position:static;padding:12px 0 0}#modal:has(.pulse-age-modal){padding:20px}#modal:has(.pulse-age-modal) .pulse-age-intro{font-size:11px}}
/* Responsive filter tracks must constrain native selects and chart canvases. */
.crmr-chart,.pulse-chart,.vehicle-leads-chart{max-width:100%;overflow:hidden}
@media(max-width:800px){.intr-filters,.crmr-filters,.opr-filters,.pulse-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:end}.intr-filters label,.crmr-filters label,.opr-filters label,.pulse-filters label,.pulse-filters label.pulse-search{width:100%;min-width:0;max-width:100%}.intr-filters input,.intr-filters select,.crmr-filters input,.crmr-filters select,.opr-filters input,.opr-filters select,.pulse-filters input,.pulse-filters select{min-width:0;max-width:100%}.pulse-search{grid-column:1/-1}}
@media(max-width:380px){.intr-filters,.crmr-filters,.opr-filters,.pulse-filters{grid-template-columns:1fr}}
@media(max-width:800px){.crm-prospect-detail.crm-desk button:not(.crm-person-link):not(.radar-help-trigger){min-height:44px}.crm-prospect-detail.crm-desk .crm-record-header .heading-actions button{font-size:11px}.channel-review-link{min-height:44px!important}}
