/* Bloco original: tdsg-comparativo-aneis-v314 */


#costs #costDash [data-id="cmp"] .cb.vals{
 height:auto!important;min-height:220px!important;display:grid!important;
 grid-template-columns:repeat(3,minmax(0,1fr))!important;
 align-items:stretch!important;padding:12px 4px!important;
 background:#fff!important;
}
#costs #costDash [data-id="cmp"] .bar{
 height:auto!important;min-height:196px!important;display:flex!important;
 flex-direction:column!important;justify-content:center!important;
 align-items:center!important;text-align:center!important;
 gap:9px!important;padding:8px 3px!important;
 border-right:1px solid #e8eef5!important;
}
#costs #costDash [data-id="cmp"] .bar:last-child{border-right:0!important}
#costs #costDash [data-id="cmp"] .tdsg-cmp-ring-v314{
 width:clamp(58px,6vw,104px)!important;height:clamp(58px,6vw,104px)!important;
 border-radius:50%!important;flex:none!important;
 display:grid!important;place-items:center!important;
 background:conic-gradient(var(--ring-color) var(--pct),#e4eaf2 0)!important;
}
#costs #costDash [data-id="cmp"] .bar.v{--ring-color:#7124e8}
#costs #costDash [data-id="cmp"] .bar.c{--ring-color:#f1192c}
#costs #costDash [data-id="cmp"] .bar.l{--ring-color:#16b34a}
#costs #costDash [data-id="cmp"] .tdsg-cmp-ring-inner-v314{
 width:75%!important;height:75%!important;border-radius:50%!important;
 display:grid!important;place-items:center!important;background:white!important;
 font-size:clamp(11px,1vw,16px)!important;font-weight:700!important;color:#10243f!important;
}
#costs #costDash [data-id="cmp"] .bar span{
 order:initial!important;font-size:clamp(10px,.85vw,13px)!important;
 line-height:1.2!important;color:#60718b!important;
}
#costs #costDash [data-id="cmp"] .bar b{
 order:initial!important;font-size:clamp(11px,1vw,16px)!important;
 line-height:1.2!important;color:#10243f!important;
 white-space:nowrap!important;
}
#costs #costDash [data-id="cmp"] .bar i{
 order:initial!important;display:block!important;width:75%!important;
 max-width:110px!important;height:5px!important;margin:2px 0 0!important;
 background:#e7ecf3!important;
}
@media(max-width:600px){#costs #costDash [data-id="cmp"] .bar b{font-size:11px!important}}


/* Bloco original: tdsg-v320-comparativo-aneis-50px */


#costs #costDash [data-id="cmp"] .tdsg-cmp-ring-v314{
 width:50px!important;height:50px!important;min-width:50px!important;min-height:50px!important;
 flex:0 0 50px!important;
}
#costs #costDash [data-id="cmp"] .tdsg-cmp-ring-inner-v314{
 width:44px!important;height:44px!important;
 font-size:12px!important;line-height:1!important;
}


/* Bloco original: tdsg-v326-ajustes-tipografia */


#costs #costDash [data-id="comp"] .cd-donut-inner b{font-size:24px!important;line-height:1.05!important;font-weight:700!important;}
#costs #costDash [data-id="comp"] .cd-donut-inner small{font-size:13px!important;line-height:1.15!important;font-weight:400!important;}

#pedido .pedido-os-right,#pedido .pedido-os-right b,#pedido .pedido-os-right strong,#pedido .pedido-os-right span,#pedido .pedido-os-right div{font-weight:400!important;}
@media print{#pedido .pedido-os-right,#pedido .pedido-os-right b,#pedido .pedido-os-right strong,#pedido .pedido-os-right span,#pedido .pedido-os-right div{font-weight:400!important;}}


/* Bloco original: tdsg-v327-texto-grafico-composicao-final */


#costs #costDash [data-id="comp"] .cd-donut-inner b { font-size:24px!important; line-height:1.05!important; font-weight:700!important; }
#costs #costDash [data-id="comp"] .cd-donut-inner small { font-size:15px!important; line-height:1.1!important; font-weight:400!important; }


/* Bloco original: tdsg-v329-totais-cor-uniforme */

/* Cores em coluna completa na aba de Custos (#costs), mantendo o tom suave da tabela do topo ao rodapé */
html:not(.top-designer-dark) #costs table.cost-table > thead > tr > th,
html:not(.top-designer-dark) #costs table.cost-table > tbody > tr > td,
html:not(.top-designer-dark) #costs table.cost-table > tfoot > tr > td {
  border:1px solid #cbd5e1!important;
}

/* Colunas 1 a 7: DADOS E INFORMAÇÕES (Tom neutro azul-acinzentado suave em toda a coluna) */
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-groups-only th.cost-group-info-top,
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-columns-one-row th.cost-basic-head,
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-columns-one-row th:nth-child(-n+7),
html:not(.top-designer-dark) #costs table.cost-table tfoot tr > td:nth-child(-n+7) {
  background:#e2e8f0!important;
  background-color:#e2e8f0!important;
  color:#1e293b!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr > td:nth-child(-n+7) {
  background:#eff4f9!important;
  background-color:#eff4f9!important;
  color:#0f172a!important;
}

/* Colunas 8 e 9: CUSTO DE IMPRESSÃO (Tom lilás/roxo suave em toda a coluna) */
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-groups-only th.cost-group-purple,
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-columns-one-row th.cost-purple-head,
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-columns-one-row th:nth-child(8),
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-columns-one-row th:nth-child(9),
html:not(.top-designer-dark) #costs table.cost-table tfoot tr > td:nth-child(8),
html:not(.top-designer-dark) #costs table.cost-table tfoot tr > td:nth-child(9),
html:not(.top-designer-dark) #costs table.cost-table tfoot.tdsg-v313-totals tr td.tdsg-total-purple {
  background:#e3d4ff!important;
  background-color:#e3d4ff!important;
  color:#3f13ad!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr > td:nth-child(8),
html:not(.top-designer-dark) #costs table.cost-table tbody tr > td:nth-child(9) {
  background:#efe6ff!important;
  background-color:#efe6ff!important;
  color:#2e1065!important;
}

/* Colunas dinâmicas: CUSTOS EXTRAS (pares 1 a 4 com tom uniforme na coluna inteira) */
html:not(.top-designer-dark) #costs table.cost-table thead tr th.tdsg-pair-final-1,
html:not(.top-designer-dark) #costs table.cost-table thead tr th.tdsg-extra-pair-1-v7,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.tdsg-pair-final-1,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.tdsg-extra-pair-1-v7 {
  background:#fde68a!important;
  background-color:#fde68a!important;
  color:#78350f!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.tdsg-pair-final-1,
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.tdsg-extra-pair-1-v7 {
  background:#fef3c7!important;
  background-color:#fef3c7!important;
  color:#78350f!important;
}

html:not(.top-designer-dark) #costs table.cost-table thead tr th.tdsg-pair-final-2,
html:not(.top-designer-dark) #costs table.cost-table thead tr th.tdsg-extra-pair-2-v7,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.tdsg-pair-final-2,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.tdsg-extra-pair-2-v7 {
  background:#bae6fd!important;
  background-color:#bae6fd!important;
  color:#0c4a6e!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.tdsg-pair-final-2,
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.tdsg-extra-pair-2-v7 {
  background:#e0f2fe!important;
  background-color:#e0f2fe!important;
  color:#0c4a6e!important;
}

html:not(.top-designer-dark) #costs table.cost-table thead tr th.tdsg-pair-final-3,
html:not(.top-designer-dark) #costs table.cost-table thead tr th.tdsg-extra-pair-3-v7,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.tdsg-pair-final-3,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.tdsg-extra-pair-3-v7 {
  background:#ddd6fe!important;
  background-color:#ddd6fe!important;
  color:#4c1d95!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.tdsg-pair-final-3,
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.tdsg-extra-pair-3-v7 {
  background:#ede9fe!important;
  background-color:#ede9fe!important;
  color:#4c1d95!important;
}

html:not(.top-designer-dark) #costs table.cost-table thead tr th.tdsg-pair-final-4,
html:not(.top-designer-dark) #costs table.cost-table thead tr th.tdsg-extra-pair-4-v7,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.tdsg-pair-final-4,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.tdsg-extra-pair-4-v7 {
  background:#bbf7d0!important;
  background-color:#bbf7d0!important;
  color:#14532d!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.tdsg-pair-final-4,
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.tdsg-extra-pair-4-v7 {
  background:#dcfce7!important;
  background-color:#dcfce7!important;
  color:#14532d!important;
}

/* Colunas VALORES DE VENDA (Tom azul suave em toda a coluna) */
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-groups-only th.cost-group-sale-top,
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-columns-one-row th.cost-sale-head2,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.cost-sale-cell,
html:not(.top-designer-dark) #costs table.cost-table tfoot.tdsg-v313-totals tr td.tdsg-total-blue {
  background:#cfeaff!important;
  background-color:#cfeaff!important;
  color:#075293!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.cost-sale-cell {
  background:#e1f1ff!important;
  background-color:#e1f1ff!important;
  color:#075293!important;
}

/* Colunas VALORES DE CUSTO (Tom vermelho/rosado suave em toda a coluna) */
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-groups-only th.cost-group-cost-top,
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-columns-one-row th.cost-cost-head2,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.cost-cost-cell,
html:not(.top-designer-dark) #costs table.cost-table tfoot.tdsg-v313-totals tr td.tdsg-total-red {
  background:#ffd7dd!important;
  background-color:#ffd7dd!important;
  color:#b00922!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.cost-cost-cell {
  background:#ffe6ea!important;
  background-color:#ffe6ea!important;
  color:#991b1b!important;
}

/* Colunas SALDOS (Tom verde suave em toda a coluna) */
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-groups-only th.cost-group-balance-top,
html:not(.top-designer-dark) #costs table.cost-table thead tr.cost-columns-one-row th.cost-balance-head2,
html:not(.top-designer-dark) #costs table.cost-table tfoot tr td.cost-balance-cell,
html:not(.top-designer-dark) #costs table.cost-table tfoot.tdsg-v313-totals tr td.tdsg-total-green {
  background:#d0f5d9!important;
  background-color:#d0f5d9!important;
  color:#08713a!important;
}
html:not(.top-designer-dark) #costs table.cost-table tbody tr td.cost-balance-cell {
  background:#e2f9e8!important;
  background-color:#e2f9e8!important;
  color:#08713a!important;
}


/* Bloco original: tdsg-osmanager2-independent-style */

#osmanager2{padding:16px 18px!important;background:#f7f9fc;min-width:0;}
#osmanager2 .td2-toolbar{display:flex;gap:8px;align-items:center;flex-wrap:wrap;background:#fff;border:1px solid #dce5f0;padding:12px;border-radius:12px}
#osmanager2 .td2-title{font-size:18px;color:#0b2345;white-space:nowrap;margin-right:8px}
#osmanager2 .td2-toolbar input,#osmanager2 .td2-toolbar select{height:36px;min-width:0;padding:0 10px;border:1px solid #cfdbeb;border-radius:7px;background:#fff;color:#152a45;font:inherit}
#osmanager2 #td2-search{flex:1 1 220px}#osmanager2 #td2-filter{flex:0 1 145px}
#osmanager2 .td2-toolbar button{height:36px;padding:0 10px;border:1px solid #d9e4f2;border-radius:7px;background:#f7faff;color:#12355b;cursor:pointer;font-weight:600;font-size:12px}
#osmanager2 #td2-delete{color:#e11d48;border-color:#f8c9d2}
#osmanager2 .td2-count{padding:9px 2px;color:#5b6c83;font-size:12px}
#osmanager2 .td2-scroll{max-width:100%;overflow:auto;background:white;border:1px solid #dce5f0;border-radius:10px}
#osmanager2 .td2-table{border-collapse:collapse;width:100%;min-width:980px;table-layout:auto;font-size:12px}
#osmanager2 .td2-table th{background:#f2f6fb;color:#233953;font-size:11px;text-transform:uppercase;font-weight:700;white-space:nowrap;padding:12px 9px;border-bottom:1px solid #dce5f0;text-align:left}
#osmanager2 .td2-table td{padding:11px 9px;border-bottom:1px solid #e7edf5;color:#132a48;white-space:nowrap}
#osmanager2 .td2-table td:nth-child(4){white-space:normal;min-width:165px}
#osmanager2 .td2-table tr:nth-child(even){background:#f8fbff}
#osmanager2 .td2-table tr.td2-selected{background:#e9f2ff}
#osmanager2 .td2-badge{display:inline-block;padding:4px 7px;border-radius:5px;font-weight:700;background:#e3efff;color:#1561c3}
#osmanager2 .td2-status{display:inline-block;padding:5px 8px;border-radius:5px;background:#e0f7e9;color:#008a46;font-weight:700}
#osmanager2 .td2-print-one{cursor:pointer;background:#f1f6fd;border:1px solid #d9e4f2;border-radius:5px;padding:5px 8px;color:#143b67}
@media(max-width:1000px){#osmanager2 .td2-title{width:100%}#osmanager2 .td2-toolbar button{flex:1 1 auto}}


/* Bloco original: tdsg-v336-os2-payment-style */

#osmanager2 .td2-table th{text-align:center!important;vertical-align:middle!important}
#osmanager2 .td2-table td{text-align:center;vertical-align:middle}
#osmanager2 .td2-table td:nth-child(4){text-align:left}
#osmanager2 .td2-table{min-width:1120px}
#osmanager2 .td2-table th,#osmanager2 .td2-table td{padding:10px 7px}
#osmanager2 .td2-stage{display:inline-block;padding:6px 9px;border-radius:5px;background:#e7f0ff;color:#1261b6;font-weight:650}
#osmanager2 .td2-pay-edit{border:0;background:transparent;padding:0;cursor:pointer;font:inherit}
#osmanager2 .td2-payment{display:inline-flex;min-width:106px;flex-direction:column;align-items:center;justify-content:center;padding:6px 9px;border-radius:6px;font-weight:700;line-height:1.3;white-space:nowrap}
#osmanager2 .td2-payment small{font-size:10px;font-weight:600;margin-top:2px}
#osmanager2 .td2-paid{background:#dcf8e7;color:#07863d}
#osmanager2 .td2-open{background:#ffe5e8;color:#d21f3c}
#osmanager2 .td2-partial{background:#fff0d5;color:#b66b00}
#osmanager2 .td2-unknown{background:#edf1f6;color:#63738b}
#osmanager2 .td2-print-one{display:inline-flex;align-items:center;justify-content:center;width:33px;height:32px;padding:0}


/* Bloco original: tdsg-v337-stage-payment-fix */

#osmanager2 .td2-stage-edit{cursor:pointer;border:1px solid #cfe0f6;background:#edf5ff;color:#1262b4;border-radius:6px;padding:7px 10px;font:600 12px inherit;min-width:100px;max-width:180px;white-space:normal}
#osmanager2 .td2-stage-edit:hover{background:#dcecff}
#osmanager2 .td2-pay-edit{cursor:pointer}
#osmanager2 .td2-table th{text-align:center!important}
#osmanager2 .td2-table td:nth-child(9){white-space:nowrap;font-variant-numeric:tabular-nums}


/* Bloco original: tdsg-v338-os2-table-clean */

#osmanager2 .td2-scroll{isolation:isolate;overflow-x:auto}
#osmanager2 .td2-table{width:100%!important;min-width:1110px!important;table-layout:auto!important}
#osmanager2 .td2-table thead th{text-align:center!important;vertical-align:middle!important;white-space:nowrap!important;font-size:11px!important}
#osmanager2 .td2-table td{vertical-align:middle!important;text-align:center!important}
#osmanager2 .td2-table td:nth-child(4){text-align:left!important;min-width:190px!important;white-space:normal!important}
#osmanager2 .td2-table td:nth-child(9){white-space:nowrap!important;font-variant-numeric:tabular-nums}
#osmanager2 .td2-stage-edit{display:block!important;width:100%!important;min-width:115px!important;max-width:180px!important;min-height:34px!important;padding:5px 7px!important;font:600 11px Arial,sans-serif!important;color:#125da8!important;border:1px solid #c9ddf4!important;border-radius:6px!important;background:#eaf3ff!important;cursor:pointer!important;text-align:center!important}
#osmanager2 .td2-pay-edit{min-width:110px!important}
#osmanager2 .td2-print-one{width:34px!important;height:32px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important}
#osmanager2 .td2-print-one svg{display:block!important;width:19px!important;height:19px!important}
