.quote-toolbar{display:flex;align-items:center;gap:14px;margin:16px 0 10px}
.quote-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;width:100%}
.quote-actions #quoteNew{margin-left:auto}
.quote-viewbar{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;flex-wrap:wrap}
.quote-viewbar>span{font-size:13px;color:#898982}
.quote-view-buttons{display:flex;align-items:center;gap:10px}
.quote-view-buttons button{padding:10px 18px;border:1px solid #e1ddd3;border-radius:9px;background:#fff;color:#3c3c3a;font-weight:700;cursor:pointer}
.quote-view-buttons button.active{background:#ea5433;color:#fff;border-color:#ea5433}
.quote-actions select{padding:10px;border-radius:9px;border:1px solid #e1ddd3;background:white;max-width:215px}
.quote-chips{display:flex;gap:7px;flex-wrap:wrap;margin:12px 0}
.quote-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid #e8d8c5;background:#fff8e6;color:#523f2a;border-radius:99px;padding:7px 10px;font-size:11px}
.quote-chip button{border:0;background:transparent;font-size:17px;cursor:pointer;color:#a9573b}
.quote-clear{background:transparent;border:0;text-decoration:underline;color:#777;cursor:pointer;font-size:11px}
.quote-summary{font-size:12px;color:#797979;margin:14px 0}
.quote-board{display:grid;grid-template-columns:repeat(7,minmax(210px,1fr));gap:11px;overflow-x:auto;padding:0 0 20px}
.quote-column{background:#f4f3f0;border-radius:12px;padding:11px;min-width:210px;max-height:65vh;overflow-y:auto}
.quote-column header{display:flex;align-items:center;justify-content:space-between;font-size:12px;margin-bottom:11px;gap:8px}
.quote-column header span{font-size:10px;background:#fff;padding:3px 7px;border-radius:20px}
.quote-color-0{background:#efefed}.quote-color-1{background:#f8f4e8}.quote-color-2{background:#eaf1f9}.quote-color-3{background:#e8f2e9}.quote-color-4{background:#f8ecec}.quote-color-5{background:#f5ede7}.quote-color-6{background:#f2efea}
.quote-stack{display:flex;flex-direction:column;gap:8px}.quote-stack>p{font-size:11px;color:#888;padding:8px}
.quote-card{background:#fff;border:1px solid #e6e2da;border-radius:10px;box-shadow:0 1px 3px #00000006}
.quote-card button{display:flex;flex-direction:column;align-items:stretch;text-align:left;width:100%;gap:8px;padding:12px;border:0;background:transparent;cursor:pointer;color:inherit}
.quote-card button:hover{background:#fffcf7}.quote-card strong{font-size:12px;line-height:1.35}.quote-card small{font-size:11px;color:#6d6c68}
.quote-mini{font-size:11px;color:#777}.quote-card b{font-size:12px}.quote-card-bottom{font-size:10px;color:#888;display:flex;justify-content:space-between;gap:7px}
.quote-channel{align-self:flex-start;font-size:10px;border-radius:5px;background:#fce5dc;color:#ba4a2d;padding:3px 7px}
.quote-filter-panel{position:relative;z-index:2;background:white;border:1px solid #dedbd4;border-radius:13px;padding:16px;box-shadow:0 9px 30px #00000014;max-width:420px;margin-left:auto}
.quote-filter-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.quote-filter-head strong{font-size:13px}
.quote-filter-head button,.quote-editor-header button{border:0;background:none;font-size:24px;color:#666;cursor:pointer}
.quote-filter-panel input,.quote-filter-panel select{width:100%;padding:10px;border-radius:8px;border:1px solid #dfddd7;background:white;font-size:12px}
.quote-filter-properties{display:grid;grid-template-columns:1fr 1fr;gap:5px;margin:11px 0;max-height:200px;overflow-y:auto}
.quote-filter-properties button{border:0;background:transparent;text-align:left;font-size:11px;padding:9px 7px;border-radius:6px;cursor:pointer;overflow-wrap:anywhere}
.quote-filter-properties button.chosen{background:#f8e8e1;color:#bd4b30}.quote-filter-properties button[hidden]{display:none}
.quote-filter-options{display:grid;gap:10px}.quote-filter-options label{font-size:11px;display:grid;gap:6px}.quote-filter-options .btn{justify-self:start}
.quote-notice{font-size:12px;padding:11px;background:#fff6db;border-radius:8px}.quote-table-wrap{overflow-x:auto}
.quote-table-wrap tr[data-edit]{cursor:pointer}.quote-table-wrap tr[data-edit]:hover{background:#fff9ef}
.quote-pagination{display:flex;justify-content:center;align-items:center;gap:18px;margin-top:18px;font-size:11px}
.quote-overlay{position:fixed;inset:0;z-index:1000;background:#0009;display:grid;place-items:center;padding:20px;overflow-y:auto}
.quote-editor{background:#fff;border-radius:18px;padding:26px;max-width:780px;width:100%;max-height:94vh;overflow-y:auto;box-shadow:0 20px 50px #0003}
.quote-editor-header{display:flex;justify-content:space-between;align-items:start;margin-bottom:20px}.quote-editor-header h2{font-size:22px}
.quote-editor-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px}
.quote-editor-grid label{display:grid;gap:6px;font-size:11px;font-weight:700;color:#555}
.quote-editor-grid input,.quote-editor-grid select{width:100%;border:1px solid #dfddd7;border-radius:9px;padding:12px;font-size:13px;background:#fff}
.quote-editor-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}
@media(max-width:700px){.quote-editor-grid{grid-template-columns:1fr}.quote-board{grid-template-columns:repeat(7,220px)}.quote-filter-panel{max-width:none}}

/* Cotizaciones V2 · mismo patrón de drawer/acordeones que Ventas */
.quote-v2-overlay{display:flex;justify-content:flex-end;align-items:stretch;padding:0;overflow:hidden;z-index:1100;background:#0008}
.quote-v2-editor{width:min(780px,100%);max-width:780px;height:100dvh;max-height:100dvh;border-radius:20px 0 0 20px;padding:0;display:flex;flex-direction:column;overflow:hidden;box-shadow:-18px 0 65px #0002}
.quote-v2-editor .quote-editor-header{flex:0 0 auto;align-items:center;margin:0;padding:23px 31px 25px;border-bottom:1px solid #eee8e0;min-height:142px}
.quote-v2-editor .quote-editor-header .eyebrow{color:#ed5036;font-size:11px;font-weight:800;letter-spacing:.17em}
.quote-v2-editor .quote-editor-header h2{font-size:24px;font-weight:800;letter-spacing:-.03em;margin:12px 0 0;line-height:1.3;overflow-wrap:anywhere}
.quote-v2-editor .quote-editor-header button{width:36px;height:36px;flex:0 0 36px;border-radius:9px;font-size:26px;color:#262626}
.quote-v2-editor .quote-editor-header button:hover{background:#f7f4f0}
.quote-v2-content{display:grid;align-content:start;gap:16px;padding:26px 31px;overflow-y:auto;flex:1;min-height:0}
.quote-v2-section{border:1px solid #e9e2da;border-radius:13px;background:#fff;min-width:0;overflow:visible}
.quote-v2-section>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 21px;min-height:67px}
.quote-v2-section>summary::-webkit-details-marker{display:none}
.quote-v2-section>summary strong{font-size:14px;font-weight:750;color:#292725}
.quote-v2-section>summary span{font-size:22px;color:#a7a4a0;transition:transform .16s}
.quote-v2-section[open]>summary{border-bottom:1px solid #eee9e3}
.quote-v2-section[open]>summary span{transform:rotate(180deg)}
.quote-v2-section>summary:hover{background:#fcfaf8}
.quote-v2-section>summary:focus-visible{outline:2px solid #ed5036;outline-offset:-3px;border-radius:12px}
.quote-v2-section-body{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:20px}
.quote-v2-section-body>label,.quote-v2-section-body .quote-v2-wide>label{display:grid;align-content:start;gap:8px;color:#5f5b56;font-size:12px;font-weight:700;min-width:0}
.quote-v2-section-body input,.quote-v2-section-body select,.quote-v2-section-body textarea{display:block;min-height:50px;width:100%;min-width:0;background:#fff;border:1px solid #e2ded7;border-radius:10px;padding:12px 15px;font:600 13px 'Poppins',sans-serif;color:#272522}
.quote-v2-section-body input:focus,.quote-v2-section-body select:focus,.quote-v2-section-body textarea:focus{outline:2px solid #3477d6;outline-offset:0}
.quote-v2-section-body input:disabled{background:#f1f0ed;color:#86817b}
.quote-v2-section-body .quote-v2-wide{grid-column:1/-1;min-width:0}
.quote-v2-section-body .talent-picker,.quote-v2-section-body .talent-link-field{min-width:0}
.quote-v2-editor .quote-editor-actions{flex:0 0 auto;display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0;padding:17px 31px;border-top:1px solid #eee9e3;background:#fff}
.quote-v2-footer small{max-width:360px;font-size:11px;line-height:1.5;color:#92908c}
.quote-v2-footer>div{display:flex;gap:10px;align-items:center}
.quote-v2-footer .btn{min-height:49px;border-radius:10px;padding:13px 20px;white-space:nowrap}
.quote-v2-footer .btn:not(.light){background:#ed5036;color:#fff}
@media(max-width:700px){
.quote-v2-editor{width:100%;max-width:none;border-radius:0}
.quote-v2-editor .quote-editor-header{min-height:108px;padding:16px 18px}
.quote-v2-editor .quote-editor-header h2{font-size:21px}
.quote-v2-content{padding:16px;gap:12px}
.quote-v2-section-body{grid-template-columns:1fr;padding:16px}
.quote-v2-editor .quote-editor-actions{padding:12px 16px;flex-wrap:wrap}
.quote-v2-footer small{display:none}
.quote-v2-footer>div{width:100%}
.quote-v2-footer .btn{flex:1;padding:12px}
}

/* Cotizaciones — tabla con la misma jerarquía visual de Ventas. */
.quote-table-wrap{border:1px solid #eee8e0;border-radius:15px;background:#fff;padding:24px 26px;overflow-x:auto}
.quote-table-heading{margin-bottom:22px}
.quote-table-heading h2{font-size:19px;font-weight:750;color:#252422;margin:0 0 5px}
.quote-table-heading p{font-size:12px;color:#938e87;margin:0}
.quote-v2-table table{width:100%;min-width:980px;border-collapse:collapse;table-layout:fixed}
.quote-v2-table thead th{padding:16px 12px 18px;color:#a19c94;text-transform:uppercase;font-size:11px;letter-spacing:.025em;font-weight:800;text-align:center;vertical-align:middle;line-height:1.3;border-bottom:1px solid #f0ede8}
.quote-v2-table th:first-child,.quote-v2-table td:first-child{width:33%;text-align:left}
.quote-v2-table th:nth-child(2),.quote-v2-table td:nth-child(2){width:15%}
.quote-v2-table th:nth-child(3),.quote-v2-table td:nth-child(3){width:13%}
.quote-v2-table th:nth-child(4),.quote-v2-table td:nth-child(4){width:13%}
.quote-v2-table th:nth-child(5),.quote-v2-table td:nth-child(5){width:10%}
.quote-v2-table th:nth-child(6),.quote-v2-table td:nth-child(6){width:13%}
.quote-v2-table th:last-child,.quote-v2-table td:last-child{width:3%}
.quote-v2-table tbody td{padding:20px 12px;vertical-align:middle;border-bottom:1px solid #f1efeb;font-size:12px;color:#33312e}
.quote-v2-table tbody tr:last-child td{border-bottom:0}
.quote-v2-table tbody tr[data-edit]{cursor:pointer;transition:background-color .15s ease}
.quote-v2-table tbody tr[data-edit]:hover,.quote-v2-table tbody tr[data-edit]:focus-visible{background:#fff9f2}
.quote-v2-table tbody tr[data-edit]:focus-visible{outline:2px solid #eb5434;outline-offset:-2px}
.quote-v2-name,.quote-v2-subtitle,.quote-v2-talent,.quote-v2-commercial{display:block;line-height:1.5}
.quote-v2-name{font-size:13px;font-weight:750;color:#252422}
.quote-v2-subtitle{font-size:11px;color:#948f88;margin-top:4px}
.quote-v2-talent,.quote-v2-commercial{font-size:11px;color:#aaa39a}
.quote-v2-talent b,.quote-v2-commercial b{color:#77716a}
.quote-v2-date{font-weight:650;color:#69645e!important;text-align:center;white-space:nowrap}
.quote-v2-budget{text-align:right;font-weight:750;font-variant-numeric:tabular-nums;white-space:nowrap}
.quote-v2-channel{background:#fce8df;color:#ae492f;border-radius:6px;padding:5px 8px;font-size:10px;font-weight:700;display:inline-block}
.quote-v2-brand{color:#6f6a63!important}
.quote-v2-open{font-size:24px!important;color:#ada89f!important;text-align:center}
.quote-v2-status{display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:8px 12px;font-size:11px;font-weight:750;white-space:nowrap;background:#f2f0eb;color:#69635e;border:1px solid #e8e4dd}
.quote-v2-dot{width:6px;height:6px;border-radius:100%;background:currentColor;flex:0 0 auto}
.quote-status-proposed{background:#f2f0ed;color:#69635e;border-color:#e8e4df}
.quote-status-followup{background:#fff4dc;color:#936b23;border-color:#f5e3bf}
.quote-status-negotiation{background:#eaf2fa;color:#286e9d;border-color:#d7e8f7}
.quote-status-closed{background:#e7f6ec;color:#237b48;border-color:#d1ebd9}
.quote-status-lost,.quote-status-rejected{background:#faeded;color:#aa4b49;border-color:#f3dddd}
.quote-status-cancelled{background:#f5ede8;color:#8f6d5a;border-color:#ecdfd5}
@media(max-width:700px){.quote-table-wrap{padding:18px 12px}.quote-v2-table table{min-width:900px}.quote-v2-table tbody td{padding:16px 10px}}

/* Align column headings with values; separate commercial owner for easy scanning. */
.quote-v2-table table{min-width:1120px}
.quote-v2-table th:first-child,.quote-v2-table td:first-child{width:27%;text-align:left}
.quote-v2-table th:nth-child(2),.quote-v2-table td:nth-child(2){width:14%;text-align:center}
.quote-v2-table th:nth-child(3),.quote-v2-table td:nth-child(3){width:12%;text-align:center}
.quote-v2-table th:nth-child(4),.quote-v2-table td:nth-child(4){width:12%;text-align:right}
.quote-v2-table th:nth-child(5),.quote-v2-table td:nth-child(5){width:9%;text-align:center}
.quote-v2-table th:nth-child(6),.quote-v2-table td:nth-child(6){width:11%;text-align:left}
.quote-v2-table th:nth-child(7),.quote-v2-table td:nth-child(7){width:12%;text-align:left}
.quote-v2-table th:nth-child(8),.quote-v2-table td:nth-child(8){width:3%;text-align:center}
.quote-v2-owner{font-size:12px;color:#605b55!important;font-weight:650}
@media(max-width:700px){.quote-v2-table table{min-width:1120px}}

.quote-v2-clientpr{text-align:left;color:#605b55!important}.quote-v2-clientpr strong,.quote-v2-clientpr span{display:block;line-height:1.45}.quote-v2-clientpr strong{font-weight:700}.quote-v2-clientpr span{font-size:11px;color:#a19a91;margin-top:4px}.quote-v2-clientpr b{color:#716b64}

/* Directory-backed Contacto PR selector, matching the sales picker. */
.quote-pr-field{position:relative}
.quote-pr-picker{display:block;position:relative}
.quote-pr-picker>input[type=search]{width:100%;padding:12px 38px 12px 12px;border:1px solid #dfddd7;border-radius:9px;background:#fff;font-size:13px}
.quote-pr-picker:after{content:'⌕';position:absolute;right:12px;top:8px;font-size:23px;color:#999;pointer-events:none}
.quote-pr-picker>input[type=search]:focus{outline:2px solid #216bd8;outline-offset:0;border-color:#216bd8}
.quote-pr-results{position:absolute;top:calc(100% + 8px);left:0;right:0;background:white;border:1px solid #e8e1d8;border-radius:12px;box-shadow:0 12px 35px #0002;z-index:60;max-height:280px;overflow-y:auto;padding:7px}
.quote-pr-results[hidden]{display:none}
.quote-pr-results button{width:100%;padding:12px 10px;text-align:left;border:0;background:#fff;color:#2c2927;font-size:12px;font-weight:650;border-radius:8px;cursor:pointer}
.quote-pr-results button:hover,.quote-pr-results button:focus-visible{background:#f7f1e9;outline:0}
.quote-pr-results p{font-size:12px;color:#888;padding:12px}

/* DS: status chip picker with accessible native value and explicit choices. */
.quote-status-field{position:relative}
.quote-status-picker{position:relative;display:block}
.quote-status-picker>select{position:absolute;width:1px!important;height:1px!important;opacity:0;pointer-events:none;min-height:0!important}
.quote-status-picker>#quoteStatusTrigger{width:100%;min-height:50px;background:#fff;border:1px solid #e2ded7;border-radius:10px;padding:7px 12px;display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer}
.quote-status-picker>#quoteStatusTrigger>span:last-child{font-size:18px;color:#716b64}
.quote-status-picker>#quoteStatusTrigger:focus-visible{outline:2px solid #3477d6}
.quote-status-options{position:absolute;top:calc(100% + 8px);left:0;right:0;border:1px solid #e8e1d8;background:#fff;border-radius:12px;padding:7px;max-height:280px;overflow-y:auto;box-shadow:0 14px 32px #0002;z-index:70}
.quote-status-options[hidden]{display:none}
.quote-status-options>button{display:flex;align-items:center;width:100%;min-height:42px;border:0;background:#fff;padding:7px 9px;border-radius:8px;cursor:pointer;text-align:left}
.quote-status-options>button:hover,.quote-status-options>button:focus-visible{background:#fbf5ee;outline:0}
.quote-status-options .quote-v2-status{font-size:11px}
.quote-v2-section-body .quote-pr-picker>input[type=search]{padding-right:42px}
.quote-v2-section-body .quote-pr-picker:after{top:10px}
/* DS-NOTICE-01: contextual, dismissible success and failure feedback. */
.quote-notice{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px;border-radius:9px;font-size:12px;font-weight:700;margin:14px 0}
.quote-notice-success{background:#e6f5eb;border:1px solid #cdebd6;color:#237b48}
.quote-notice-error{background:#fff0ed;border:1px solid #f3d4cc;color:#b63829}
.quote-notice button{border:0;background:transparent;color:inherit;border-radius:6px;font-size:20px;line-height:1;cursor:pointer;padding:4px 7px}
.quote-notice button:hover,.quote-notice button:focus-visible{background:#0000000a;outline:0}
/* DS-HOVER-01: consistent surface feedback on interactive sections. */
.quote-v2-section>summary{transition:background-color .15s ease}
.quote-card{transition:background-color .15s ease,border-color .15s ease}
.quote-card:hover{background:#fff9f2;border-color:#e8d8c6}

/* Consistent monetary controls with an explicit quotation currency. */
.quote-currency-field,.quote-budget-field{min-width:0}
.quote-v2-section-body .quote-budget-field input{font-variant-numeric:tabular-nums;font-weight:750;font-size:15px}
.quote-v2-section-body .quote-budget-field small{display:block;color:#918a82;font-size:10px;font-weight:500;line-height:1.5}
.quote-v2-section-body .quote-currency-field select{font-weight:700}
.quote-v2-budget{font-variant-numeric:tabular-nums}

/* Shared currency card from Ventas — identical container, scale and control treatment. */
.quote-fx-panel{display:grid;grid-template-columns:1fr;gap:12px;padding:16px;border:1px solid #eae1d7;border-radius:14px;background:#fffaf6}
.quote-fx-heading{display:grid;gap:5px}
.quote-fx-heading strong{font-size:15px;font-weight:750;color:#292725}
.quote-fx-heading small,.quote-fx-panel>small{font-size:12px;color:#877466;font-weight:400}
.quote-v2-section-body .quote-fx-panel label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#58514a}
.quote-v2-section-body .quote-fx-panel select{min-height:45px;background-color:#fff;border:1px solid #dfd8ce;border-radius:10px;padding:10px 54px 10px 12px;font:700 12px 'Poppins',sans-serif;color:#242424;box-sizing:border-box;width:100%;appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23333333' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:20px 20px;background-position:right 20px center}
.quote-v2-section-body .quote-fx-panel select:focus{outline:none;border-color:#ed5038;box-shadow:0 0 0 3px #ed503819}
.quote-budget-entry{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.quote-v2-section-body .quote-budget-entry label{display:grid;align-content:start;gap:8px;color:#5f5b56;font-size:12px;font-weight:700;min-width:0}
@media(max-width:700px){.quote-budget-entry{grid-template-columns:1fr}}

/* Sales-equivalent FX and independent MXN quotation budget. */
.quote-fx-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.quote-fx-fields[hidden]{display:none}
.quote-v2-section-body .quote-fx-fields label{display:grid;gap:7px;font-size:12px;font-weight:700;color:#58514a;min-width:0}
.quote-v2-section-body .quote-fx-fields input{min-height:45px;background:#fff;border:1px solid #dfd8ce;border-radius:10px;padding:10px 12px;font:600 12px 'Poppins',sans-serif;color:#242424}
.quote-v2-section-body .quote-fx-panel>small{line-height:1.5}
.quote-budget-shares{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:14px;background:#fffaf6;border:1px solid #eae1d7;border-radius:13px}
.quote-v2-section-body .quote-budget-shares label{display:grid;gap:8px;font-size:12px;font-weight:700;color:#58514a}
.quote-rate-row{display:flex;gap:8px}
.quote-rate-row>input{flex:1;min-width:0}
.quote-rate-row>.btn{white-space:nowrap;flex:0 0 auto;border:1px solid #e1ddd3;border-radius:10px;background:#fff;color:#292725}
.quote-v2-section-body .quote-budget-shares input[readonly]{background:#f1f0ed;color:#595650}
.quote-budget-hint{color:#8d7d6e;font-size:11px;line-height:1.5}
.quote-tax-preview{display:grid;gap:6px;padding:13px 16px;border:1px solid #e6e0d8;background:#f7f6f3;border-radius:10px}
.quote-tax-preview>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.quote-tax-preview span{font-size:12px;color:#77736d}
.quote-tax-preview strong{font-size:13px;color:#282624;font-variant-numeric:tabular-nums}
@media(max-width:700px){.quote-fx-fields,.quote-budget-shares{grid-template-columns:1fr}}

/* Cotizaciones: only independent MXN subtotal; no talent payout or participation controls. */
.quote-budget-entry{grid-template-columns:minmax(0,1fr)}

/* Quotations · multi-talent grouped creation (independent records) */
.quote-entry-modes{display:flex;gap:6px;padding:5px;border-radius:13px;background:#f3f1ed;width:max-content;max-width:100%;margin-bottom:16px}
.quote-entry-modes button{border:0;background:transparent;border-radius:10px;padding:11px 17px;font:inherit;font-weight:700;color:#66635e;cursor:pointer}
.quote-entry-modes button.selected{background:#ec5036;color:white;box-shadow:0 2px 7px rgba(178,66,42,.13)}
.quote-group{border:1px solid #e8dfd6;border-radius:16px;background:#fff;overflow:hidden;margin:18px 0}
.quote-group-top{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:22px 24px 12px;font-size:19px}
.quote-group-top span{border-radius:100px;background:#f0eeea;color:#79746b;padding:5px 11px;font-size:12px;font-weight:700}
.quote-group-list{padding:0 16px}
.quote-group-row{display:flex;align-items:stretch;border-bottom:1px solid #eee9e4;border-radius:8px;transition:background .16s}
.quote-group-row:hover{background:#fff8f3}.quote-group-row.is-active{background:#fff4ed}
.quote-group-row>button:first-child{display:flex;align-items:center;justify-content:space-between;flex:1;gap:12px;text-align:left;background:transparent;border:0;padding:14px 10px 14px 14px;cursor:pointer;font:inherit;min-width:0}
.quote-group-row>button:first-child span:first-child{display:grid;gap:3px;min-width:0;flex:1}
.quote-group-row strong{font-size:15px;color:#222}.quote-group-row small{color:#77716b;font-size:12px}.quote-group-row b{white-space:nowrap;font-size:14px}
.quote-group-row>button:last-child{border:0;background:transparent;color:#9e958e;cursor:pointer;font-size:23px;padding:5px 15px}
.quote-group-row>button:last-child:hover{color:#c73520}
.quote-add-talent{display:block;width:calc(100% - 36px);margin:16px 18px;border:1px dashed #d5c9be;background:#fff9f5;color:#c94730;border-radius:10px;padding:12px;font:inherit;font-weight:750;cursor:pointer}
.quote-add-talent:hover{background:#ffede2}
.quote-group-edit{margin:0 18px 18px;padding:20px;border:1px solid #eadfd6;border-radius:13px;background:#fffdfb}
.quote-group-edit-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:18px}
.quote-group-edit-heading strong{font-size:15px}.quote-group-edit-heading span{font-size:12px;color:#8c8177}
.quote-v2-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-bottom:15px;align-items:start}
.quote-v2-grid .quote-v2-wide{grid-column:1/-1}
.quote-v2-grid .quote-fx-panel{margin:0}
.quote-group-total{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#f8f7f3;padding:18px 24px;border-top:1px solid #e8dfd6}
.quote-group-total span{color:#69645d;font-size:14px}.quote-group-total strong{font-size:21px}
@media(max-width:720px){.quote-entry-modes{width:100%}.quote-entry-modes button{flex:1}.quote-group-top{padding:18px}.quote-group-edit{margin:0 10px 10px;padding:13px}.quote-v2-grid{grid-template-columns:1fr}.quote-group-row>button:first-child{gap:6px;flex-wrap:wrap}.quote-group-total{align-items:flex-start;flex-direction:column}}

/* Drawer: unbounded multi-talent content must occupy its natural height.
   Grid auto tracks previously shrank the grouped form to the remaining viewport. */
.quote-v2-content{display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;-webkit-overflow-scrolling:touch}
.quote-v2-content>*{flex:0 0 auto}
.quote-v2-content .quote-group{overflow:visible;min-height:max-content;margin:0}
.quote-group-edit label{display:grid;gap:8px;font-size:12px;font-weight:700;color:#5f5b56;min-width:0}
.quote-group-edit input,.quote-group-edit select{display:block;width:100%;min-width:0;min-height:48px;background:#fff;border:1px solid #e2ded7;border-radius:10px;padding:11px 14px;font:600 13px 'Poppins',sans-serif;color:#272522}
.quote-group-edit input:focus,.quote-group-edit select:focus{outline:2px solid #3477d6;outline-offset:0}
.quote-group-edit .quote-fx-panel label{display:grid;gap:7px}
.quote-group-edit .quote-fx-panel select{font-weight:700}
.quote-group-edit .quote-budget-field input{font-weight:750;font-size:15px;font-variant-numeric:tabular-nums}
.quote-group-edit .talent-link-field{width:100%}

/* Client directory selector: shared behavior with Sales. */
.quote-v2-section-body .quote-client-field{display:grid;align-content:start;gap:9px;min-width:0}
.quote-client-field select{width:100%;font-weight:700}
.quote-client-field .quote-create-client{justify-self:start;min-height:40px;border:1px solid #e4dbd0;background:#fff;border-radius:10px;padding:9px 14px;font:700 12px 'Poppins',sans-serif;color:#302b27;cursor:pointer}
.quote-client-field .quote-create-client:hover{background:#fff6ef}
.quote-client-create{display:grid;gap:10px;margin-top:5px;padding:13px;border:1px solid #eadfd7;border-radius:10px;background:#fffaf6}
.quote-client-create[hidden]{display:none}
.quote-client-create>span{display:flex;gap:8px;flex-wrap:wrap}
.quote-client-create .btn{font-size:12px;padding:8px 12px;min-height:38px}

/* Unified Sales-style commercial directory selector in Quotations */
.quote-v2-section-body .quote-commercial-field{min-width:0;display:block}
.quote-v2-section-body .quote-commercial-field .sale-person-picker{position:relative;display:block;min-width:0}
.quote-v2-section-body .quote-commercial-field [data-person-query]{display:block;width:100%;min-height:50px;padding-right:38px}
.quote-commercial-field .sale-person-list{z-index:85}

.quote-drawer-error{flex:0 0 auto;margin:12px 31px 0;padding:12px 14px;border:1px solid #f3c5bc;border-radius:10px;background:#fff0ed;color:#a93024;font-size:13px;font-weight:650;line-height:1.45;overflow-wrap:anywhere}
@media(max-width:640px){.quote-drawer-error{margin:10px 16px 0}}

/* Cotizaciones: arrastrar y soltar tarjetas entre estatus del tablero. */
.quote-board .quote-card[draggable="true"]{cursor:grab;touch-action:pan-y}
.quote-board .quote-card[draggable="true"]:active{cursor:grabbing}
.quote-board .quote-card-dragging{opacity:.35;transform:scale(.98)}
.quote-board .quote-drop-active{outline:2px dashed #ef5037;outline-offset:-4px;box-shadow:inset 0 0 0 4px rgba(239,80,55,.08)}
.quote-board .quote-drop-active .quote-stack{min-height:70px}
