/* PEG — cotacoes: POC isolated from live operations */
.workspace.quotes-open{grid-template-columns:var(--rail-width,64px) minmax(0,1fr)}
.workspace.quotes-open .inbox{display:none}
.workspace.quotes-open .conversation-main{display:block!important}
#quotes-page{height:100%;min-height:0;overflow:auto;background:#f3f7fb}
#quotes-page[hidden]{display:none!important}
.quotes-poc-shell{max-width:1600px;margin:auto;padding:26px;min-height:100%;color:#20364a}
.quotes-poc-head{display:flex;align-items:flex-start;justify-content:space-between;gap:15px;padding:25px 27px;border-radius:15px;background:#fff;border:1px solid #dde8f1}
.quotes-poc-kicker{color:#24759d;font-weight:750;letter-spacing:1.2px;font-size:10px}
.quotes-poc-head h1{font-size:25px;margin:7px 0 5px}
.quotes-poc-head p{margin:0;color:#5e7186;font-size:12px}
.quotes-poc-head-actions{display:flex;gap:11px;align-items:center;flex-wrap:wrap}
.quotes-poc-head-actions span{font-size:11px;border-radius:8px;background:#e9f5ed;color:#2b6947;padding:9px}
.quotes-poc-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin:15px 0}
.quotes-poc-card{padding:17px;background:#fff;border:1px solid #e0e8ef;border-radius:13px;display:flex;flex-direction:column;gap:7px}
.quotes-poc-card>span{font-size:11px;color:#5c7489}.quotes-poc-card strong{font-size:22px;font-variant-numeric:tabular-nums}
.quotes-poc-card small{font-size:10px;color:#8295a4}
.quotes-poc-toolbar{display:flex;gap:18px;align-items:flex-end;flex-wrap:wrap;padding:17px;background:white;border:1px solid #dee7ef;border-radius:13px;margin-bottom:14px}
.quotes-poc-toolbar label{margin:0;min-width:220px}
.quotes-poc-toolbar select,.quotes-poc-toolbar input{margin-top:6px;font-size:12px;padding:10px}
.quotes-poc-toolbar p{margin:0 0 5px;font-size:11px;color:#778a98;max-width:310px}
.quotes-poc-body{display:grid;grid-template-columns:minmax(0,1fr) 335px;gap:13px;align-items:start}
.quotes-poc-table-wrap,.quotes-poc-detail{background:white;border:1px solid #dde6ef;border-radius:13px;overflow:hidden}
.quotes-poc-table-wrap{overflow-x:auto}
.quotes-poc-table-wrap table{width:100%;border-collapse:collapse;font-size:12px}
.quotes-poc-table-wrap th{padding:14px 12px;text-align:left;background:#eef4f9;color:#536f85}
.quotes-poc-table-wrap td{padding:12px;border-top:1px solid #edf2f6}
.quotes-poc-table-wrap td button{background:none;border:0;text-align:left;color:#176c9a;padding:0;cursor:pointer}
.quotes-poc-table-wrap td small{display:block;color:#8293a4;margin-top:5px}
.quotes-poc-table-wrap tr.quotes-poc-selected{background:#edf7fd}
.quotes-poc-stage{border-radius:7px;background:#f0f5fa;padding:6px 9px;color:#395f7a;font-size:11px}
.quotes-poc-detail{padding:19px}
.quotes-poc-detail h2{font-size:17px;margin:0 0 4px}
.quotes-poc-detail p{font-size:11px;color:#60778a}
.quotes-poc-detail dl{display:grid;grid-template-columns:100px 1fr;gap:8px 10px;border-top:1px solid #edf1f5;padding-top:14px;margin:13px 0}
.quotes-poc-detail dt{font-size:11px;color:#768999}.quotes-poc-detail dd{font-size:12px;margin:0;font-weight:650;overflow-wrap:anywhere}
.quotes-poc-detail label{margin:10px 0}
.quotes-poc-detail label select{margin-top:7px;font-size:12px}
.quotes-poc-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:14px 0}
.quotes-poc-actions button{background:#eaf3fb;color:#1e648f;border-radius:8px;padding:10px 6px;font-size:11px}
.quotes-poc-actions button:hover{background:#d4e8fa}
.quotes-poc-detail>small,.quotes-poc-shell>footer{display:block;font-size:10px;color:#748a9d;line-height:1.6}
.quotes-poc-shell>footer{margin-top:12px;padding:8px}
@media(max-width:1200px){.quotes-poc-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.quotes-poc-body{grid-template-columns:minmax(0,1fr)}.quotes-poc-detail{max-width:none}}
@media(max-width:700px){.workspace.quotes-open{grid-template-columns:50px minmax(0,1fr)}.quotes-poc-shell{padding:11px}.quotes-poc-head{padding:16px;flex-wrap:wrap}.quotes-poc-cards{grid-template-columns:repeat(2,minmax(0,1fr))}.quotes-poc-card{padding:12px}.quotes-poc-card strong{font-size:19px}.quotes-poc-toolbar label{width:100%}.quotes-poc-table-wrap{overflow-x:auto}}

/* Funil em Kanban — utiliza as mesmas cotações e estados da tabela. */
.quotes-poc-kanban{display:flex;gap:12px;overflow-x:auto;padding:0 0 17px;scroll-snap-type:x proximity}
.quotes-poc-kanban[hidden]{display:none}
.quotes-kanban-column{min-width:235px;max-width:275px;flex:0 0 245px;background:#e9eff5;border:1px solid #dce5ec;border-radius:12px;padding:12px;scroll-snap-align:start;max-height:410px;overflow-y:auto}
.quotes-kanban-column h3{font-size:12px;color:#425e72;display:flex;justify-content:space-between;gap:8px;margin-bottom:14px}.quotes-kanban-column h3 span{background:white;border-radius:20px;padding:3px 8px}
.quotes-kanban-card{display:flex;flex-direction:column;gap:7px;background:white;border:1px solid #dce6ed;border-radius:10px;width:100%;text-align:left;padding:12px;margin:8px 0;color:#254256;cursor:pointer}
.quotes-kanban-card:hover,.quotes-kanban-card.selected{border-color:#2a819f;box-shadow:0 0 0 2px #2a819f20}.quotes-kanban-card strong{font-size:12px}.quotes-kanban-card small{font-size:10px;color:#7a91a1}.quotes-kanban-card span{font-size:14px;font-weight:700}
.quotes-kanban-column>p{font-size:11px;color:#8295a4}.quotes-poc-body.kanban-mode{display:block}.quotes-poc-body.kanban-mode .quotes-poc-detail{max-width:none}


/* Finalização individual de oportunidades, sem ações implícitas. */
.quotes-conclude-action{display:inline-flex!important;align-items:center;justify-content:center;gap:6px;border:1px solid #c3dfd3!important;background:#eaf8f0!important;color:#166548!important;border-radius:8px!important;padding:9px 13px!important;font-size:11px!important;font-weight:750!important;white-space:nowrap;cursor:pointer}
.quotes-conclude-action:hover{background:#d5f0e1!important;border-color:#89cbb0!important}
.quotes-finished-label{font-size:11px;color:#768a99}
.quotes-kanban-item{padding:0 0 10px}
.quotes-kanban-item .quotes-kanban-card{margin-bottom:5px}
.quotes-kanban-item .quotes-conclude-action{width:100%;margin:0}
.quotes-conclusion-dialog{width:min(520px,calc(100vw - 24px));padding:24px;max-height:90dvh;overflow:auto}
.quotes-conclusion-dialog .dialog-heading h2{font-size:21px}
.quotes-conclusion-customer{padding:11px 13px;border:1px solid #e0ebf2;border-radius:9px;background:#f5f9fc;font-size:12px;color:#476980;margin:0 0 15px}
.quotes-conclusion-dialog label{margin:12px 0;font-size:12px;font-weight:650}
.quotes-conclusion-dialog label select,.quotes-conclusion-dialog label input,.quotes-conclusion-dialog label textarea{margin-top:7px;font-size:13px;width:100%}
.quotes-conclusion-sale{padding:12px 13px;border:1px solid #cce3ef;border-radius:10px;background:#f3fafd}
.quotes-conclusion-sale[hidden],.quotes-conclusion-dialog [data-conclusion-note-label][hidden]{display:none!important}
.quotes-conclusion-sale p{font-size:11px;color:#506e82;line-height:1.5;margin:0 0 10px}
.quotes-conclusion-sale small{font-size:11px;color:#5b7b8c}
.quotes-conclusion-explain{font-size:11px;line-height:1.55;margin:14px 0 4px}
.quotes-conclusion-actions{display:flex;justify-content:flex-end;gap:9px;flex-wrap:wrap;margin-top:14px}
.quotes-conclusion-actions button{font-size:12px;padding:11px 15px}
@media(max-width:700px){.quotes-conclusion-dialog{padding:16px}.quotes-conclusion-actions button{flex:1}}

/* The same safe inline markup used for chat messages is supported by quotes. */
.quotes-poc-detail .quotes-formatted-text{
 white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.55;font-weight:500;
}
.quotes-poc-detail .quotes-formatted-text strong{font-weight:800}
.quotes-poc-detail .quotes-formatted-text em{font-style:italic}
.quotes-poc-detail .quotes-formatted-text del{text-decoration:line-through}
.quotes-poc-detail .quotes-formatted-text code{font-family:ui-monospace,Consolas,monospace;background:#eef3f8;border-radius:3px;padding:1px 3px}
.quotes-poc-table-wrap td time{font-variant-numeric:tabular-nums;white-space:nowrap}

/* Each quoted SKU is its own easy-to-scan row in the conversion detail. */
.quotes-poc-detail .quotes-products-detail{min-width:0;width:100%;font-weight:400}
.quotes-products-list{list-style:none;padding:0;margin:0;display:grid;gap:9px}
.quotes-product-card{display:grid;grid-template-columns:23px minmax(0,1fr);gap:7px 9px;align-items:start;padding:11px 10px;border:1px solid #dce7ef;border-radius:10px;background:#f8fbfd;min-width:0}
.quotes-product-index{width:23px;height:23px;display:inline-flex;align-items:center;justify-content:center;border-radius:7px;background:#dfedf6;color:#26638a;font-size:11px;font-weight:800;font-variant-numeric:tabular-nums}
.quotes-product-content{min-width:0;display:grid;gap:5px}
.quotes-product-sku{font-size:10px;font-weight:750;color:#5a8198}
.quotes-product-name{display:block;font-size:12px;line-height:1.4;color:#203b50;font-weight:700;overflow-wrap:anywhere;white-space:pre-wrap}
.quotes-product-meta{display:flex;gap:4px 9px;flex-wrap:wrap;font-size:10px;line-height:1.45;color:#577489}
.quotes-product-qty{font-weight:750;color:#285775}
.quotes-product-subtotal{grid-column:2;justify-self:start;font-size:12px;font-weight:800;color:#1c597d;font-variant-numeric:tabular-nums}
.quotes-products-empty{font-size:11px;color:#688093}
@media(max-width:1200px){.quotes-poc-detail .quotes-products-detail{width:100%}}

/* Product list occupies both columns of the detail grid instead of being
   compressed into the narrow value column used for short metadata. */
.quotes-poc-detail dl .quotes-products-heading{grid-column:1/-1;margin-top:7px;font-weight:800;color:#355e77}
.quotes-poc-detail dl .quotes-products-detail{grid-column:1/-1;margin:0 0 4px}

/* Filtro individual do Valor cotado, sem afetar a lista e os demais cards. */
.quotes-quoted-card strong{overflow-wrap:anywhere}
.quotes-quoted-filters{display:flex;flex-wrap:wrap;gap:7px;margin-top:auto;padding-top:7px;border-top:1px solid #edf2f6}
.quotes-quoted-filters label{display:flex;flex:1 1 95px;min-width:0;flex-direction:column;gap:4px;font-size:10px;color:#667f90}
.quotes-quoted-filters label[hidden]{display:none!important}
.quotes-quoted-filters input,.quotes-quoted-filters select{box-sizing:border-box;width:100%;min-width:0;border:1px solid #d6e2eb;border-radius:7px;background:white;padding:7px 5px;color:#28465b;font-size:11px}
.quotes-quoted-filters input:focus-visible,.quotes-quoted-filters select:focus-visible{outline:2px solid #2a819f;outline-offset:1px}

/* Aviso geral por data: a mensagem não é enviada sem revisão e confirmação. */
.quote-general-notice-dialog{width:min(590px,calc(100vw - 24px));padding:22px;max-height:92dvh;overflow:auto}
.quote-general-notice-dialog h2{font-size:21px}
.quote-general-notice-dialog>label{display:block;margin:13px 0 9px;font-size:13px;font-weight:650}
.quote-general-notice-dialog label input[type=date],.quote-general-notice-dialog label textarea{width:100%;box-sizing:border-box;margin-top:6px;padding:11px;font-size:13px;line-height:1.5}
.quote-general-notice-audience{padding:13px;border-radius:10px;border:1px solid #cde2ee;background:#f4f9fc;font-size:13px;display:grid;gap:5px}
.quote-general-notice-audience small{color:#557086;line-height:1.5}
.quote-general-consent{display:flex!important;gap:10px;align-items:flex-start;padding:11px;border-radius:9px;background:#f6f8fb;font-size:12px!important;line-height:1.5;cursor:pointer}
.quote-general-consent input{width:18px;height:18px;flex:none;margin:1px 0}
.quote-general-notice-controls{display:flex;gap:9px;justify-content:flex-end;flex-wrap:wrap;margin:14px 0}
.quote-general-notice-controls button{font-size:12px}
.quote-general-progress{border-top:1px solid #dbe6ef;margin-top:14px;padding-top:10px}
.quote-general-progress h3{font-size:14px;margin:10px 0}
.quote-general-progress p{font-size:12px;line-height:1.65;color:#3c5c70}
.quote-general-notice-dialog [hidden]{display:none!important}
