/* MONALISA_QUOTE_SCANNER_UX_V69B — somente Consulta e Scanner; base V69A. */
.mo-v69 :is(.mo-quote-v69b,.mo-scanner-v69b) .page-header h2{font-size:clamp(22px,2.3vw,28px);font-weight:750;}
.mo-v69 :is(.mo-quote-v69b,.mo-scanner-v69b) .page-header p{font-size:13px;color:#60728b;}
.mo-v69 :is(.mo-quote-v69b,.mo-scanner-v69b) :is(.card,.filters-card){border:1px solid #d9e3ef;border-radius:18px;box-shadow:0 3px 14px rgba(23,49,83,.045);}
.mo-v69 :is(.mo-quote-v69b,.mo-scanner-v69b) .field{min-width:0;}
.mo-v69 :is(.mo-quote-v69b,.mo-scanner-v69b) .field label{font-size:11px;letter-spacing:.035em;font-weight:700;color:#516781;line-height:1.4;}
.mo-v69 :is(.mo-quote-v69b,.mo-scanner-v69b) .field :is(input,select){min-width:0;height:44px;border-radius:11px;font-size:14px;}
.mo-v69 :is(.mo-quote-v69b,.mo-scanner-v69b) :is(.primary-btn,.secondary-btn){min-height:44px;height:auto;white-space:normal;line-height:1.35;padding:10px 14px;}
.mo-v69 .mo-panel-heading{display:flex;flex-direction:column;gap:3px;margin-bottom:16px;min-width:0;}
.mo-v69 .mo-panel-heading strong{font-size:15px;color:#183653;line-height:1.4;}
.mo-v69 .mo-panel-heading>span{font-size:12px;color:#65768d;line-height:1.5;}
.mo-v69 .mo-tool-disclosure{margin:16px 0;border:1px solid #dce5ef;border-radius:13px;background:#f8fafd;min-width:0;}
.mo-v69 .mo-tool-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:13px 14px;min-height:64px;cursor:pointer;list-style:none;}
.mo-v69 .mo-tool-disclosure>summary::-webkit-details-marker{display:none;}
.mo-v69 .mo-tool-disclosure>summary>span:first-child{min-width:0;overflow-wrap:anywhere;}
.mo-v69 .mo-tool-disclosure>summary strong{display:block;font-size:13px;color:#183653;line-height:1.4;}
.mo-v69 .mo-tool-disclosure>summary small{display:block;font-size:11.5px;color:#65768d;margin-top:2px;line-height:1.5;}
.mo-v69 .mo-tool-chevron{flex:0 0 8px;width:8px;height:8px;border-right:2px solid #6d819c;border-bottom:2px solid #6d819c;transform:rotate(45deg);margin:0 4px 4px;}
.mo-v69 .mo-tool-disclosure[open]>summary .mo-tool-chevron{transform:rotate(225deg);margin-top:6px;}
.mo-v69 .mo-tool-disclosure[open]>summary{border-bottom:1px solid #e0e8f2;}

/* Consulta: precos destacados; campos preservados e sem duplicacao de IDs. */
.mo-v69 .mo-quote-v69b .quote-grid{grid-template-columns:minmax(0,1fr) minmax(140px,180px) !important;gap:12px;}
.mo-v69 .mo-quote-v69b .mo-search-card{overflow:visible;position:relative;z-index:2;}
.mo-v69 .mo-quote-v69b .mo-search-card .autocomplete-list{max-width:100%;}
.mo-v69 .mo-quote-v69b .mo-quote-prices{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:14px;}
.mo-v69 .mo-quote-v69b .mo-quote-prices>div{display:flex;flex-direction:column;gap:4px;min-width:0;padding:14px;border:1px solid #dce5ef;border-radius:13px;background:#f6f9fd;}
.mo-v69 .mo-quote-v69b .mo-quote-prices>div:first-child{background:#edf4ff;border-color:#c7ddf8;}
.mo-v69 .mo-quote-v69b .mo-quote-prices span{font-size:11px;color:#546b86;font-weight:650;}
.mo-v69 .mo-quote-v69b .mo-quote-prices strong{font-size:clamp(17px,2vw,24px);font-weight:750;font-variant-numeric:tabular-nums;overflow-wrap:anywhere;}
.mo-v69 .mo-quote-v69b .quote-summary-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:8px;}
.mo-v69 .mo-quote-v69b .quote-stat{min-width:0;border-radius:12px;background:#f6f9fd;padding:12px;}
.mo-v69 .mo-quote-v69b .quote-stat strong{font-size:15px;overflow-wrap:anywhere;line-height:1.4;}
.mo-v69 .mo-quote-v69b .quote-stat>span{font-size:11px;color:#65768d;}
.mo-v69 .mo-quote-v69b .quote-grid-info{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:12px;}
.mo-v69 .mo-quote-v69b .quote-grid-info>div{min-width:0;overflow-wrap:anywhere;}
.mo-v69 .mo-quote-v69b .quote-grid-info strong{font-variant-numeric:tabular-nums;}
.mo-v69 .mo-quote-v69b .mo-quote-extra{padding:14px;}
.mo-v69 .mo-quote-v69b .quote-header-badges{gap:6px;}
.mo-v69 .mo-quote-v69b .cockpit-badge{white-space:normal;max-width:100%;overflow-wrap:anywhere;}

/* Scanner: controles principais, avancados nativos e resumo operacional. */
.mo-v69 .mo-scanner-v69b .scanner-filters-grid:not(.scanner-filters-grid-secondary){grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:12px;}
.mo-v69 .mo-scanner-action-row{display:flex;flex-wrap:wrap;align-items:stretch;gap:10px;margin-top:14px;}
.mo-v69 .mo-scanner-action-row .action-field{flex:1 1 180px;}
.mo-v69 .mo-scanner-action-row .action-field:last-child{flex:0 1 170px;}
.mo-v69 .mo-scanner-action-row button{width:100%;}
.mo-v69 .mo-scanner-advanced-body{padding:14px;}
.mo-v69 .mo-scanner-advanced-body>p{font-size:12px;color:#65768d;line-height:1.5;margin:0 0 12px;}
.mo-v69 .mo-scanner-v69b .scanner-filters-grid-secondary{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr)) !important;gap:12px;margin:0;padding:0;border:0;}
.mo-v69 .mo-results-heading{display:flex;flex-direction:column;gap:3px;margin:18px 0 10px;}
.mo-v69 .mo-results-heading strong{font-size:13px;color:#183653;}
.mo-v69 .mo-results-heading>span{font-size:11.5px;color:#65768d;}
.mo-v69 .mo-scanner-v69b .scanner-summary-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,130px),1fr));gap:8px;}
.mo-v69 .mo-scanner-v69b .scanner-summary-card{min-width:0;padding:12px;border-radius:12px;border:1px solid #dce5ef;background:#f6f9fd;}
.mo-v69 .mo-scanner-v69b .scanner-summary-card strong{font-size:14px;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums;}
.mo-v69 .mo-scanner-v69b .scanner-summary-card:has(#scannerSummaryCount){background:#edf4ff;border-color:#c7ddf8;}
.mo-v69 .mo-scanner-v69b .scanner-results-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,330px),1fr));gap:14px;}
.mo-v69 .mo-scanner-v69b .scv2-card-header{align-items:flex-start;flex-wrap:wrap;gap:12px;}
.mo-v69 .mo-scanner-v69b .scv2-card-header-left{flex:1 1 170px;}
.mo-v69 .mo-scanner-v69b .scv2-title{font-size:15px;line-height:1.4;overflow-wrap:anywhere;}
.mo-v69 .mo-scanner-v69b .scv2-scores{flex-wrap:wrap;max-width:100%;}
.mo-v69 .mo-scanner-v69b .scv2-scores .scanner-liquidity-badge{white-space:normal !important;overflow-wrap:anywhere;}
.mo-v69 .mo-scanner-v69b .scv2-tags{gap:6px;}
.mo-v69 .mo-scanner-v69b .scv2-regime-tag{white-space:normal;overflow-wrap:anywhere;}
.mo-v69 .mo-scanner-v69b .scv2-footer{flex-wrap:wrap;gap:10px;}
.mo-v69 .mo-scanner-v69b .scv2-actions{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;}
.mo-v69 .mo-scanner-v69b .scv2-actions button{flex:1 1 130px;}
@container(max-width:650px){
 .mo-v69 .mo-quote-v69b .quote-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
 .mo-v69 .mo-scanner-v69b .scanner-filters-grid:not(.scanner-filters-grid-secondary){grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@container(max-width:420px){
 .mo-v69 .mo-quote-v69b .quote-grid{grid-template-columns:1fr !important;}
 .mo-v69 .mo-quote-v69b .mo-quote-prices{gap:6px;}
 .mo-v69 .mo-quote-v69b .mo-quote-prices>div{padding:10px 8px;}
 .mo-v69 .mo-scanner-action-row .action-field:last-child{flex:1 1 140px;}
}
@container(max-width:280px){
 .mo-v69 .mo-quote-v69b .mo-quote-prices{grid-template-columns:1fr;}
 .mo-v69 .mo-quote-v69b .quote-summary-grid{grid-template-columns:1fr !important;}
 .mo-v69 .mo-scanner-v69b .scanner-filters-grid:not(.scanner-filters-grid-secondary){grid-template-columns:1fr !important;}
}
/* Resultados dinamicos: permitir quebra mesmo em telas muito estreitas. */
.mo-v69 .mo-scanner-v69b :is(.scv2-card,.scv2-card-header-left,.scv2-footer,.scv2-entry,.scv2-actions,.scv2-top-bar-left){min-width:0;max-width:100%;}
.mo-v69 .mo-scanner-v69b .scv2-actions{flex:1 1 auto;width:100%;}
.mo-v69 .mo-scanner-v69b .scv2-actions button{min-width:0;max-width:100%;}
.mo-v69 .mo-scanner-v69b :is(.scv2-meta,.scv2-legs,.scv2-top-bar){min-width:0;overflow-wrap:anywhere;}
