/* PRONTO FLUX | Tabela de Preços — escuro vermelho e claro */
.pf-tp{--tp-red:#D71920;--tp-redsoft:rgba(220,38,56,.12);--tp-bg:#1c1c20;--tp-card:#25252a;--tp-surface:#303038;--tp-text:#f4f4f6;--tp-muted:#b9bac5;--tp-border:#47474e;display:grid;gap:14px;color:var(--tp-text);min-width:0}
html.light .pf-tp{--tp-red:#D71920;--tp-redsoft:#fff0f2;--tp-bg:#fff;--tp-card:#fff;--tp-surface:#f5f5f8;--tp-text:#262633;--tp-muted:#696a77;--tp-border:#dadce4}
.pf-tp [hidden],.pf-tp-os [hidden]{display:none!important}
.pf-tp button,.pf-tp-os button{cursor:pointer}
.pf-tp-tabs{display:inline-flex;flex-wrap:wrap;gap:5px;border:1px solid var(--tp-border);border-radius:13px;background:var(--tp-card);padding:5px;width:max-content;max-width:100%}
.pf-tp-tabs button{background:transparent;border:0;color:var(--tp-muted);padding:10px 14px;font-size:13px;font-weight:700;border-radius:10px}
.pf-tp-tabs button.active{background:var(--tp-red);color:#fff}
.pf-tp #pfTpBody{display:grid;gap:12px;min-width:0}
.pf-tp-titlebar,.pf-tp-services .pf-tp-service-header,.pf-tp-table-filters,.pf-tp-table-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.pf-tp h2{font-size:21px;margin:0 0 5px;color:var(--tp-text)}
.pf-tp h3{font-size:16px;margin:0;color:var(--tp-text)}
.pf-tp p{font-size:13px;color:var(--tp-muted);margin:3px 0}
.pf-tp .input,.pf-tp .select,.pf-tp-os .input,.pf-tp-os .select{background:var(--tp-surface,var(--panel2))!important;color:var(--tp-text,var(--text))!important;border:1px solid var(--tp-border,var(--border))!important;border-radius:9px;min-height:41px;padding:9px 11px;width:100%;color-scheme:dark}
html.light .pf-tp .input,html.light .pf-tp .select,html.light .pf-tp-os .input,html.light .pf-tp-os .select{color-scheme:light}
.pf-tp input:focus,.pf-tp select:focus{outline:2px solid var(--tp-redsoft);border-color:var(--tp-red)!important}
.pf-tp .btn.primary,.pf-tp-os .btn.primary{background:var(--tp-red)!important;border-color:var(--tp-red)!important;color:#fff!important}
.pf-tp-view{display:flex;gap:2px;background:var(--tp-surface);border-radius:9px;padding:3px;border:1px solid var(--tp-border)}
.pf-tp-view button{padding:8px 12px;border:0;border-radius:7px;background:transparent;color:var(--tp-muted);font-weight:650}
.pf-tp-view button.selected{background:var(--tp-red);color:#fff}
.pf-tp-crumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:12px;color:var(--tp-muted)}
.pf-tp-crumbs button{border:0;background:transparent;color:var(--tp-red);font-weight:700;padding:5px 1px}
.pf-tp-create{display:flex;align-items:center;gap:10px;background:var(--tp-card);border:1px dashed var(--tp-border);border-radius:12px;padding:13px}
.pf-tp-create>span{font-size:12px;font-weight:750;white-space:nowrap;color:var(--tp-text)}
.pf-tp-create input{flex:1;min-width:100px}
.pf-tp-device-list.cards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.pf-tp-device-list.list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}
.pf-tp-device-card{border:1px solid var(--tp-border);border-radius:13px;background:var(--tp-card);overflow:hidden;box-shadow:0 2px 7px #0001;min-width:0}
.pf-tp-device-card.is-hidden{opacity:.65}
.pf-tp-device-open{display:flex;width:100%;text-align:left;align-items:center;gap:12px;padding:14px;border:0;background:none;color:var(--tp-text);min-height:90px}
.pf-tp-device-list.cards .pf-tp-device-open{flex-direction:column;align-items:stretch;min-height:190px;gap:10px}
.pf-tp-device-image{color:var(--tp-red);background:var(--tp-redsoft);border-radius:12px;width:51px;height:51px;display:grid;place-items:center;flex:none}
.pf-tp-device-list.cards .pf-tp-device-image{width:100%;height:91px}
.pf-tp-device-image img{width:100%;height:100%;object-fit:contain}
.pf-tp-device-open b{font-size:14px;font-weight:750;display:block}
.pf-tp-device-open small{font-size:12px;color:var(--tp-muted);display:block;margin-top:4px}
.pf-tp-arrow{margin-left:auto;color:var(--tp-red);font-size:22px}
.pf-tp-device-actions{display:flex;gap:8px;padding:0 12px 12px}
.pf-tp-device-actions button{border:1px solid var(--tp-border);background:var(--tp-surface);color:var(--tp-text);font-size:11px;padding:7px 10px;border-radius:7px}
.pf-tp-device-actions button:hover{border-color:var(--tp-red)}
.pf-tp-prices-head{display:grid;gap:10px}
.pf-tp-select-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.pf-tp-select-row label,.pf-tp-rules-head label{display:grid;gap:8px;font-size:12px;font-weight:750;color:var(--tp-muted)}
.pf-tp-inline-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px}
.pf-tp-services{background:var(--tp-card);border:1px solid var(--tp-border);border-radius:13px;padding:14px;display:grid;gap:11px}
.pf-tp-service-header>div:last-child{display:flex;gap:6px}
.pf-tp-service-header small{display:block;color:var(--tp-muted);font-size:10px;font-weight:800;margin-bottom:5px}
.pf-tp-service-tabs{display:flex;align-items:center;gap:6px;overflow-x:auto;max-width:100%;padding:3px 0 8px}
.pf-tp-service-tabs button{white-space:nowrap;border:1px solid var(--tp-border);color:var(--tp-text);background:var(--tp-surface);padding:10px 13px;border-radius:9px;font-weight:700;font-size:12px}
.pf-tp-service-tabs button.active{background:var(--tp-red);border-color:var(--tp-red);color:#fff}
.pf-tp-hint{padding:5px;font-size:12px!important}
.pf-tp-table-box{border:1px solid var(--tp-border);border-radius:13px;background:var(--tp-card);overflow:hidden}
.pf-tp-table-filters{padding:13px;border-bottom:1px solid var(--tp-border)}
.pf-tp-table-filters label{font-size:12px;font-weight:700}
.pf-tp-table-filters input[type=checkbox]{accent-color:var(--tp-red)}
.pf-tp-table-filters .input{max-width:400px}
.pf-tp-table-filters small{color:var(--tp-muted)}
.pf-tp-scroll{max-width:100%;overflow:auto;max-height:58vh}
.pf-tp-table{width:100%;min-width:580px;border-collapse:separate;border-spacing:0;font-size:12px}
.pf-tp-table th,.pf-tp-table td{padding:10px;border-bottom:1px solid var(--tp-border);text-align:left;background:var(--tp-card)}
.pf-tp-table thead th{background:var(--tp-surface);color:var(--tp-text);position:sticky;top:0;z-index:2;white-space:nowrap}
.pf-tp-table thead th:first-child,.pf-tp-table tbody th{position:sticky;left:0;z-index:3;min-width:155px}
.pf-tp-table tbody th{color:var(--tp-text);background:var(--tp-card);font-weight:700}
.pf-tp-cell{min-width:128px;width:100%;padding:9px 10px;background:var(--tp-surface);color:var(--tp-text);border:1px solid var(--tp-border);border-radius:8px;font:inherit}
.pf-tp-cell.saved{border-color:#31a76c;background:rgba(49,167,108,.08)}
.pf-tp-cell.invalid{border-color:#e34}
.pf-tp-v-edit{border:0;color:var(--tp-red);background:transparent;margin-left:9px}
.pf-tp-progress{display:block;width:100px;height:6px;background:var(--tp-border);border-radius:20px;overflow:hidden;margin:4px 0}
.pf-tp-progress i{height:100%;background:var(--tp-red);display:block;transition:width .15s}
.pf-tp-table td small{color:var(--tp-muted)}
.pf-tp-table-footer{padding:13px}
.pf-tp-rules-head{display:grid;gap:8px}
.pf-tp-rules-head label{width:min(470px,100%)}
.pf-tp-rules-list{display:grid;gap:11px}
.pf-tp-rule{border:1px solid var(--tp-border);border-radius:13px;background:var(--tp-card);overflow:hidden}
.pf-tp-rule-toggle{width:100%;padding:17px;display:flex;align-items:center;justify-content:space-between;gap:14px;background:transparent;border:0;color:var(--tp-text);text-align:left}
.pf-tp-rule-toggle b{display:block;font-size:15px}
.pf-tp-rule-toggle small{display:block;color:var(--tp-muted);margin-top:4px}
.pf-tp-rule-content{display:grid;gap:14px;padding:16px;border-top:1px solid var(--tp-border)}
.pf-tp-rule-content label{display:grid;gap:7px;font-size:12px;font-weight:700;color:var(--tp-text)}
.pf-tp-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pf-tp-rule-content textarea{resize:vertical;border:1px solid var(--tp-border);background:var(--tp-surface);color:var(--tp-text);border-radius:9px;padding:10px;min-height:85px;font:inherit}
.pf-tp-rule-flags{display:flex;gap:25px}
.pf-tp-rule-flags label{display:flex;align-items:center}
.pf-tp-rule-flags input{accent-color:var(--tp-red)}
.pf-tp-rule-content small{color:var(--tp-muted)}
.pf-tp-empty{padding:32px 15px;text-align:center;color:var(--tp-muted);background:var(--tp-card);border-radius:11px;grid-column:1/-1}
.pf-tp-form{display:grid;gap:13px}
.pf-tp-form label{display:grid;gap:7px}
.pf-tp-form .pf-tp-check{display:flex;align-items:center}
.pf-tp-form input[type=checkbox]{accent-color:#d71920}
#tpImagePreview img{height:100px;max-width:100%;object-fit:contain}
.pf-tp-os{--tp-red:#D71920;--tp-text:var(--text,#fff);--tp-surface:var(--panel2,#303035);--tp-border:var(--border,#555);display:grid;gap:13px}
.pf-tp-os>p{font-size:12px;color:var(--muted)}
.pf-tp-os-results{display:grid;gap:5px;max-height:340px;overflow-y:auto}
.pf-tp-os-result{width:100%;border:1px solid var(--tp-border);border-radius:10px;background:var(--tp-surface);color:var(--tp-text);padding:11px;display:flex;align-items:center;gap:11px;text-align:left}
.pf-tp-os-result:hover{border-color:#d71920}
.pf-tp-os-result>span:first-child{color:#d71920}
.pf-tp-os-result>span:nth-child(2){flex:1;min-width:0}
.pf-tp-os-result b,.pf-tp-os-result small{display:block}
.pf-tp-os-result small{font-size:11px;color:var(--muted);margin-top:4px}
.pf-tp-os-result strong{color:#d71920;white-space:nowrap}
.pf-tp-os-select{border:1px solid #d71920;border-radius:12px;padding:15px;display:grid;gap:11px}
.pf-tp-os-select h3{margin:0}
.pf-tp-os-select label{display:grid;gap:6px;font-size:12px}
.pf-tp-os-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}
@media(max-width:1150px){.pf-tp-device-list.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:780px){.pf-tp-device-list.cards,.pf-tp-device-list.list{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-tp-select-row{grid-template-columns:1fr 1fr}.pf-tp-rule-grid{grid-template-columns:1fr 1fr}}
@media(max-width:540px){.pf-tp-device-list.cards,.pf-tp-device-list.list,.pf-tp-select-row,.pf-tp-rule-grid,.pf-tp-os-fields{grid-template-columns:1fr}.pf-tp-create{flex-wrap:wrap}.pf-tp-create span{width:100%}.pf-tp-view{width:100%}.pf-tp-tabs{width:100%;justify-content:space-between}.pf-tp-tabs button{padding:10px}.pf-tp-service-header>div:last-child{flex-wrap:wrap}}


/* Categorias com pictogramas proporcionais, distintos e legíveis. */
.pf-tp-device-image svg{width:38px;height:38px;display:block;max-width:80%;max-height:80%;flex:none}
.pf-tp-device-list.cards .pf-tp-device-image{height:115px;background:linear-gradient(155deg,rgba(215,25,32,.13),rgba(215,25,32,.035));border:1px solid rgba(215,25,32,.12);border-radius:11px}
.pf-tp-device-list.cards .pf-tp-device-image svg{width:67px;height:67px;max-width:75%;max-height:75%}
.pf-tp-device-list.list .pf-tp-device-image svg{width:33px;height:33px}
html.light .pf-tp-device-list.cards .pf-tp-device-image{background:linear-gradient(155deg,#fff0f1,#f8f8fa);border-color:#f5cfd2}
html.light .pf-tp-device-image svg{color:#C91D29}
.pf-tp-device-image img{object-fit:contain}
.pf-tp-device-open:hover .pf-tp-device-image{outline:1px solid rgba(215,25,32,.24)}
.pf-tp-device-card:focus-within{border-color:var(--tp-red)}


/* ── Tabela de Preços v6: layout de referência, identidade PRONTO FLUX ── */
.pf-tp{--tp-red:#D71920;--tp-redsoft:rgba(215,25,32,.12);--tp-card:var(--panel,#252529);--tp-surface:var(--panel2,#303036);--tp-text:var(--text,#fafafa);--tp-muted:var(--muted,#b7bac4);--tp-border:var(--border,#47474e);gap:18px;padding-bottom:18px}
html.light .pf-tp{--tp-card:#fff;--tp-surface:#f4f6fa;--tp-text:#222737;--tp-muted:#687184;--tp-border:#dce1e9;--tp-redsoft:#fdecef}
.pf-tp [hidden]{display:none!important}
.pf-tp-tabs{border-color:var(--tp-border);box-shadow:0 2px 7px rgba(0,0,0,.06);gap:4px;padding:6px;border-radius:16px}
.pf-tp-tabs button{font-size:13px;padding:10px 17px;border-radius:10px;transition:background .14s}
.pf-tp-tabs button.active{box-shadow:0 2px 6px rgba(215,25,32,.16)}
.pf-tp-titlebar{margin-top:3px;gap:20px}
.pf-tp-titlebar h2{font-size:20px;letter-spacing:-.02em}
.pf-tp-titlebar p{font-size:13px}
.pf-tp-view{background:var(--tp-card);border-radius:13px;padding:4px;gap:3px}
.pf-tp-view button{padding:10px 16px;min-height:39px}
.pf-tp-crumbs{padding:1px 0 3px}
.pf-tp-create{padding:13px 15px;border-style:dashed;gap:12px;box-shadow:none}
.pf-tp-create>div{display:grid;gap:3px;min-width:145px}
.pf-tp-create b{font-size:11px;color:var(--tp-text);letter-spacing:.04em}
.pf-tp-create small{font-size:10px;color:var(--tp-muted)}
.pf-tp-create>.input{min-height:44px;background:var(--tp-card)!important}
.pf-tp-create>.btn{white-space:nowrap}
.pf-tp-device-filter{display:flex;justify-content:space-between;align-items:center;color:var(--tp-muted);font-size:12px;padding:0 3px}
.pf-tp-device-filter label{display:flex;align-items:center;gap:8px;cursor:pointer}
.pf-tp input[type=checkbox],.pf-tp-os input[type=checkbox]{accent-color:var(--tp-red)}
.pf-tp-device-list.cards{grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.pf-tp-device-list.list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pf-tp-device-card{position:relative;border-radius:16px;background:var(--tp-card);border:1px solid var(--tp-border);box-shadow:0 2px 7px rgba(0,0,0,.07)}
.pf-tp-device-card:hover{border-color:rgba(215,25,32,.45);box-shadow:0 6px 17px rgba(0,0,0,.10)}
.pf-tp-device-actions{position:relative;display:flex;gap:3px;padding:10px 11px 0;align-items:center;z-index:1}
.pf-tp-device-actions button{background:transparent;border:0;min-width:32px;height:31px;font-size:17px;border-radius:8px;padding:3px;color:var(--tp-muted);display:grid;place-items:center}
.pf-tp-device-actions button:hover{background:var(--tp-redsoft);color:var(--tp-red)}
.pf-tp-device-actions button:last-child{margin-left:auto}
.pf-tp-device-list.cards .pf-tp-device-open{display:flex;flex-direction:column;align-items:stretch;gap:11px;padding:0 14px 17px;min-height:178px}
.pf-tp-device-list.cards .pf-tp-device-image{background:transparent;border:0;height:105px;display:grid;place-items:center}
.pf-tp-device-list.cards .pf-tp-device-image svg{width:81px;height:81px;stroke-width:2.25;max-width:88%;max-height:88%;filter:drop-shadow(0px 2px 5px rgba(0,0,0,.06))}
.pf-tp-device-name b{color:var(--tp-text);font-size:17px;letter-spacing:-.02em}
.pf-tp-device-name small{font-size:12px}
.pf-tp-device-list.list .pf-tp-device-card{display:grid;grid-template-columns:1fr;min-height:95px}
.pf-tp-device-list.list .pf-tp-device-actions{order:2;position:absolute;right:10px;top:7px}
.pf-tp-device-list.list .pf-tp-device-open{min-height:90px;padding:14px 120px 14px 14px;gap:12px}
.pf-tp-device-list.list .pf-tp-device-image{width:54px;height:54px;flex-shrink:0}
.pf-tp-device-list.list .pf-tp-device-image svg{width:43px;height:43px}
.pf-tp-device-list.list .pf-tp-device-edit{display:none}
.pf-tp-device-card.is-hidden{opacity:.56}
.pf-tp-price-workspace{display:grid;gap:15px;min-width:0;padding-top:24px}
.pf-tp-select-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.pf-tp-step{min-width:0;display:grid;gap:8px}
.pf-tp-step-top{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:33px}
.pf-tp-step-label{display:flex;align-items:center;gap:8px;font-weight:750;font-size:12px;color:var(--tp-muted)}
.pf-tp-step.complete .pf-tp-step-label{color:var(--tp-text)}
.pf-tp-step-number{display:grid;place-items:center;width:24px;height:24px;min-width:24px;border-radius:50%;border:1px solid var(--tp-border);color:var(--tp-muted);font-size:11px}
.pf-tp-step.complete .pf-tp-step-number{background:var(--tp-red);color:#fff;border-color:var(--tp-red);font-size:12px}
.pf-tp-step-add{border:1px solid rgba(215,25,32,.32);background:var(--tp-redsoft);color:var(--tp-red);border-radius:8px;font-weight:700;padding:7px 9px;font-size:11px;white-space:nowrap}
.pf-tp-step>.select{min-height:53px!important;font-weight:700;padding:11px 13px!important;background:var(--tp-card)!important}
.pf-tp-service-header{align-items:center}
.pf-tp-services{padding:14px 15px;gap:10px;border-radius:16px;box-shadow:0 2px 7px rgba(0,0,0,.05)}
.pf-tp-service-actions{display:flex;gap:6px;flex-wrap:wrap}
.pf-tp-service-tabs{border:1px solid var(--tp-border);border-radius:12px;padding:5px;gap:3px;background:var(--tp-surface)}
.pf-tp-service-tabs button{background:transparent;border:0;border-radius:9px;padding:10px 13px;font-weight:700}
.pf-tp-service-tabs button:hover{color:var(--tp-red)}
.pf-tp-service-tabs button.active:hover{color:#fff}
.pf-tp-muted{color:var(--tp-muted);font-weight:500}
.pf-tp-hint{font-size:11px!important;line-height:1.65}
.pf-tp-hint kbd{font-family:inherit;font-size:11px;border:1px solid var(--tp-border);border-radius:5px;background:var(--tp-card);padding:1px 5px;color:var(--tp-text)}
.pf-tp-table-box{border-radius:16px;box-shadow:0 2px 9px rgba(0,0,0,.05)}
.pf-tp-table-filters{gap:12px;padding:13px 14px;justify-content:flex-start}
.pf-tp-table-filters label{display:flex;align-items:center;gap:7px;white-space:nowrap;cursor:pointer}
.pf-tp-table-filters .input{max-width:unset;flex:1;min-width:160px;background:var(--tp-card)!important}
.pf-tp-filter-count{font-size:11px;color:var(--tp-muted);margin-left:auto;white-space:nowrap}
.pf-tp-scroll{overflow:auto;max-height:60vh;overscroll-behavior:contain}
.pf-tp-table{table-layout:auto;min-width:780px;border-spacing:0}
.pf-tp-table th,.pf-tp-table td{border-right:1px solid var(--tp-border);vertical-align:middle;min-width:140px;padding:7px}
.pf-tp-table thead th{background:var(--tp-surface);vertical-align:middle;z-index:3}
.pf-tp-table thead .pf-tp-group-head th{background:var(--tp-redsoft);color:var(--tp-text);text-align:center;font-size:11px;font-weight:800;letter-spacing:.03em}
.pf-tp-table thead .pf-tp-group-head th.pf-tp-sticky-model{text-align:left}
.pf-tp-table thead .pf-tp-variant-head th{top:42px;font-weight:650}
.pf-tp-table .pf-tp-sticky-model{position:sticky;left:0;z-index:4;min-width:200px;width:210px;max-width:240px;padding:10px 12px;text-align:left;background:var(--tp-card)}
.pf-tp-table thead .pf-tp-sticky-model{z-index:6!important;background:var(--tp-redsoft)!important}
.pf-tp-selectall,.pf-tp-model-label{display:flex;gap:9px;align-items:center;font-weight:700;min-width:0;color:var(--tp-text)}
.pf-tp-model-label span{overflow:hidden;text-overflow:ellipsis}
.pf-tp-row-hidden{opacity:.55}
.pf-tp-variant-title{font-size:11px;margin-bottom:7px;white-space:nowrap}
.pf-tp-variant-actions{display:flex;justify-content:flex-start;gap:5px}
.pf-tp-variant-actions button,.pf-tp-row-actions button,.pf-tp-icon-btn{color:var(--tp-muted);padding:5px;background:transparent;border:0;border-radius:6px;font-size:17px;line-height:1;min-width:25px;min-height:25px}
.pf-tp-variant-actions button:hover,.pf-tp-row-actions button:hover,.pf-tp-icon-btn:hover{background:var(--tp-redsoft);color:var(--tp-red)}
.pf-tp-cell{min-width:115px;width:100%;min-height:41px;border-radius:8px;background:var(--tp-card);font-size:12px}
.pf-tp-cell.is-empty{border-style:dashed;background:var(--tp-surface)}
.pf-tp-cell.saved{border-color:var(--success,#31a76c);background:rgba(49,167,108,.09)}
.pf-tp-cell.invalid{border-color:var(--danger,#e34)}
.pf-tp-row-actions{display:flex;gap:1px;white-space:nowrap}
.pf-tp-no-variants{font-style:italic;color:var(--tp-muted)}
.pf-tp-progress{width:115px;height:7px}
.pf-tp-table-footer{padding:12px 14px;gap:10px}
.pf-tp-table-commands{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.pf-tp-link{border:0;color:var(--tp-red);font-weight:800;font-size:12px;background:none;padding:9px 5px}
.pf-tp-pager{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:0 2px;font-size:12px}
.pf-tp-pager>button{max-width:42%;min-height:42px}
.pf-tp-pager>button[disabled],.pf-tp .btn[disabled]{opacity:.4;cursor:not-allowed}
.pf-tp-rules-shortcut{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 16px;background:var(--tp-card);border-radius:13px;border:1px solid var(--tp-border);font-size:12px;color:var(--tp-muted)}
.pf-tp-rules-shortcut>div{display:flex;gap:7px;flex-wrap:wrap}
.pf-tp-rules-head h2{font-size:20px}
.pf-tp-rules-head label{margin-top:8px;width:min(480px,100%)}
.pf-tp-rules-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.pf-tp-rule{border-radius:15px;box-shadow:0 2px 6px rgba(0,0,0,.04)}
.pf-tp-rule-toggle{min-height:74px;padding:16px 19px;gap:10px}
.pf-tp-rule-arrow{font-size:18px;color:var(--tp-red)}
.pf-tp-rule-title{flex:1;min-width:0}
.pf-tp-rule-title b{font-size:15px}
.pf-tp-rule-title small{display:block;font-size:11px;margin-top:4px;color:var(--tp-muted)}
.pf-tp-expand-label{font-size:11px;color:var(--tp-muted)}
.pf-tp-rule-content{background:var(--tp-surface)}
.pf-tp-rule-content>.pf-tp-rule-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.pf-tp-rule-flags{border:1px solid var(--tp-border);padding:12px;border-radius:11px;gap:16px}
.pf-tp-rule-note{font-size:11px;color:var(--tp-muted)}
.pf-tp-quick-flag,.pf-tp-featured-flag{font-size:10px;padding:4px 7px;border-radius:20px;background:var(--tp-redsoft);color:var(--tp-red);white-space:nowrap}
.pf-tp-rule-modal{padding:5px 0 12px;max-height:65vh;overflow:auto}
.pf-tp-rule-modal>.pf-tp-rules-list{display:grid;gap:9px}
.pf-tp-os-result{border-radius:12px}
.pf-tp-os-result:hover{background:var(--tp-redsoft)}
@media(max-width:1150px){.pf-tp-device-list.cards{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:850px){.pf-tp-select-row{grid-template-columns:1fr}.pf-tp-price-workspace{padding-top:10px}.pf-tp-device-list.cards{grid-template-columns:repeat(2,minmax(0,1fr))}.pf-tp-rules-shortcut{align-items:flex-start;flex-direction:column}}
@media(max-width:580px){.pf-tp-device-list.cards,.pf-tp-device-list.list{grid-template-columns:1fr}.pf-tp-device-filter{flex-wrap:wrap}.pf-tp-create{flex-wrap:wrap}.pf-tp-create>div,.pf-tp-create>.input{width:100%}.pf-tp-tabs{width:100%}.pf-tp-tabs button{padding:9px;font-size:11px}.pf-tp-table-filters .input{min-width:100%;order:2}.pf-tp-pager>button{font-size:11px}.pf-tp-rule-content>.pf-tp-rule-grid{grid-template-columns:1fr}.pf-tp-device-list.list .pf-tp-device-open{padding-right:95px}}


/* Passos progressivos iguais ao fluxo da referência. */
.pf-tp-price-workspace.is-selecting .pf-tp-services,
.pf-tp-price-workspace.is-selecting .pf-tp-hint,
.pf-tp-price-workspace.is-selecting .pf-tp-table-box,
.pf-tp-price-workspace.is-selecting .pf-tp-pager,
.pf-tp-price-workspace.is-selecting .pf-tp-rules-shortcut{display:none!important}
.pf-tp-step>.select:disabled{opacity:.53;cursor:not-allowed}
.pf-tp-step-placeholder{min-height:245px;border:1px dashed var(--tp-border);border-radius:16px;background:var(--tp-card);display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:24px;color:var(--tp-muted)}
.pf-tp-step-placeholder span{font-weight:800;color:var(--tp-red);font-size:12px;letter-spacing:.04em}
.pf-tp-step-placeholder p{font-size:17px;line-height:1.5;margin-top:9px}


/* Catálogo técnico: busca global, peça vinculada e máscara da OS */
.pf-tp-global-search{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 17px;border:1px solid var(--tp-border);border-radius:14px;background:var(--tp-card)}
.pf-tp-global-search>div:first-child{display:grid;gap:4px;min-width:175px}
.pf-tp-global-search strong{font-size:14px;color:var(--tp-text)}
.pf-tp-global-search small{font-size:11px;color:var(--tp-muted)}
.pf-tp-global-field{position:relative;flex:1;min-width:170px;max-width:760px}
.pf-tp-global-field>.input{width:100%;min-height:45px!important;background:var(--tp-surface)!important}
.pf-tp-global-hits{position:absolute;z-index:99;top:calc(100% + 5px);left:0;right:0;max-height:340px;overflow:auto;border:1px solid var(--tp-border);border-radius:11px;background:var(--tp-card);box-shadow:0 12px 24px rgba(0,0,0,.18);padding:4px}
.pf-tp-global-hits[hidden]{display:none}
.pf-tp-global-hits button{display:grid;gap:3px;padding:10px 12px;border:0;border-radius:8px;background:transparent;color:var(--tp-text);text-align:left;width:100%;font-size:12px}
.pf-tp-global-hits button:hover,.pf-tp-global-hits button:focus{background:var(--tp-redsoft)}
.pf-tp-global-hits button small{font-size:11px;color:var(--tp-muted)}
.pf-tp-global-empty{padding:14px;font-size:12px;color:var(--tp-muted);text-align:center}
.pf-tp-priced-cell{display:grid;gap:5px;min-width:125px}
.pf-tp-part-pill{background:transparent;border:1px dashed var(--tp-border);color:var(--tp-muted);font-size:10px;font-weight:700;padding:6px 7px;white-space:normal;text-align:left;border-radius:7px;max-width:155px;overflow:hidden;text-overflow:ellipsis}
.pf-tp-part-pill:hover{border-color:var(--tp-red);color:var(--tp-red)}
.pf-tp-part-pill.linked{background:var(--tp-redsoft);border-color:rgba(215,25,32,.35);color:var(--tp-red)}
.pf-tp-part-pill:disabled{cursor:default}
.pf-tp-part-editor{display:grid;gap:12px}
.pf-tp-part-editor>p,.pf-tp-part-editor>small{font-size:12px;color:var(--muted);line-height:1.5}
.pf-tp-part-editor label{display:grid;gap:6px;color:var(--text);font-size:12px;font-weight:700}
.pf-tp-part-current{border:1px solid var(--border);border-radius:9px;padding:11px;font-size:12px;display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.pf-tp-part-current b{color:var(--text)}
.pf-tp-part-current span{color:var(--muted)}
.pf-tp-part-current button{border:1px solid #d71920;color:#d71920;background:transparent;border-radius:7px;padding:7px 9px}
.pf-tp-part-results{display:grid;gap:4px;max-height:260px;overflow:auto;border:1px solid var(--border);border-radius:10px;padding:5px}
.pf-tp-part-results button{background:var(--panel2);border:1px solid transparent;border-radius:8px;color:var(--text);padding:9px 11px;text-align:left;display:grid;gap:4px}
.pf-tp-part-results button.selected,.pf-tp-part-results button:hover{border-color:#d71920}
.pf-tp-part-results button small{font-size:11px;color:var(--muted)}
.pf-tp-os-part{display:grid;gap:9px;border:1px solid var(--border);background:var(--panel2);border-radius:11px;padding:13px}
.pf-tp-os-part b{font-size:13px}
.pf-tp-os-part small{font-size:11px;color:var(--muted)}
.pf-tp-os-part label{display:flex;align-items:flex-start;gap:8px;line-height:1.5}
.pf-tp-os-part input{accent-color:#D71920;margin-top:3px}
@media(max-width:820px){.pf-tp-global-search{flex-direction:column;align-items:stretch}.pf-tp-global-search>div:first-child{min-width:0}.pf-tp-global-field{max-width:none}}

/* PRONTO FLUX | Busca digitável, itens ocultos, editor e destaques técnicos 2026-10-24 */
.pf-tp-combo{position:relative;min-width:0;z-index:3}
.pf-tp-combo:focus-within{z-index:35}
.pf-tp-combo-input{min-height:52px!important;font-weight:700;padding-right:36px!important;background-image:linear-gradient(45deg,transparent 50%,var(--tp-muted) 50%),linear-gradient(135deg,var(--tp-muted) 50%,transparent 50%)!important;background-position:calc(100% - 19px) 23px,calc(100% - 13px) 23px!important;background-size:6px 6px!important;background-repeat:no-repeat!important}
.pf-tp-combo-input:disabled{opacity:.6;cursor:not-allowed}
.pf-tp-combo-results{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:55;max-height:255px;overflow:auto;background:var(--tp-card);border:1px solid var(--tp-border);border-radius:12px;padding:5px;box-shadow:0 16px 32px rgba(0,0,0,.22)}
.pf-tp-combo-results[hidden]{display:none!important}
.pf-tp-combo-results button{display:block;width:100%;padding:11px 12px;border:0;border-radius:9px;background:transparent;color:var(--tp-text);font:inherit;font-size:13px;text-align:left}
.pf-tp-combo-results button:hover,.pf-tp-combo-results button.is-highlighted{background:var(--tp-redsoft);color:var(--tp-text)}
.pf-tp-combo-empty{display:block;padding:12px;color:var(--tp-muted);font-size:12px}
.pf-tp-device-card.is-hidden{opacity:.78;border-style:dashed;background:color-mix(in srgb,var(--tp-card) 82%,var(--tp-surface))}
.pf-tp-device-card.is-hidden .pf-tp-device-image{filter:grayscale(.7);opacity:.72}
.pf-tp-device-card.is-hidden:focus-within,.pf-tp-device-card.is-hidden:hover{opacity:1}
.pf-tp-device-name b{display:inline-block;margin-right:7px;vertical-align:middle}
.pf-tp-hidden-label{display:inline-flex;vertical-align:middle;align-items:center;font-style:normal;font-size:10px;font-weight:800;letter-spacing:.04em;border-radius:999px;padding:3px 8px;background:var(--tp-surface);color:var(--tp-muted);border:1px solid var(--tp-border)}
.pf-tp-device-actions button svg{display:block}
.pf-tp-device-actions button[title*="Exibir"],.pf-tp-device-actions button[title*="Reativar"]{color:var(--tp-red)}
.pf-tp-node-editor{--tp-red:#d71920;--tp-border:#45454d;--tp-text:#f2f3f7;--tp-muted:#afb1c1;--tp-surface:#27272d;display:grid;gap:17px;color:var(--tp-text);width:100%;max-width:610px;max-height:70vh;overflow-y:auto;padding:3px}
html.light .pf-tp-node-editor{--tp-text:#202532;--tp-muted:#626a7c;--tp-border:#d9dee8;--tp-surface:#f7f8fa}
.pf-tp-node-editor .pf-tp-editor-label{display:grid;gap:8px;font-size:13px;font-weight:750}
.pf-tp-node-editor .input{width:100%;background:var(--tp-surface);border:1px solid var(--tp-border);border-radius:11px;color:var(--tp-text);padding:11px 12px;min-height:45px}
.pf-tp-node-editor .input:focus{outline:2px solid rgba(215,25,32,.18);border-color:var(--tp-red)}
.pf-tp-editor-photo{border:1px solid var(--tp-border);border-radius:14px;padding:14px;display:grid;grid-template-columns:minmax(115px,150px) 1fr;column-gap:15px;row-gap:10px;align-items:center}
.pf-tp-editor-photo-title{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}
.pf-tp-editor-photo-title b{font-size:13px}
.pf-tp-editor-photo-title small{color:var(--tp-muted);font-size:11px}
.pf-tp-editor-image{display:grid;place-items:center;width:100%;height:115px;border:1px dashed var(--tp-border);border-radius:11px;background:var(--tp-surface);overflow:hidden}
.pf-tp-editor-image img{display:block;max-width:100%;max-height:100%;object-fit:contain}
.pf-tp-editor-photo-empty{display:grid;justify-items:center;gap:4px;font-size:31px;color:var(--tp-muted)}
.pf-tp-editor-photo-empty small{font-size:11px}
.pf-tp-editor-upload-actions{display:flex;flex-wrap:wrap;gap:9px;align-items:center}
.pf-tp-upload-button,.pf-tp-remove-photo{border:1px solid var(--tp-border);border-radius:9px;padding:10px 13px;background:var(--tp-surface);color:var(--tp-text);font-size:12px;font-weight:750;cursor:pointer}
.pf-tp-upload-button{background:#d71920;color:white;border-color:#d71920}
.pf-tp-editor-switches{display:grid;gap:9px}
.pf-tp-editor-switch{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 13px;border:1px solid var(--tp-border);background:var(--tp-surface);border-radius:11px;cursor:pointer}
.pf-tp-editor-switch span{display:grid;gap:3px;min-width:0}
.pf-tp-editor-switch b{font-size:13px}
.pf-tp-editor-switch small{font-size:11px;color:var(--tp-muted);line-height:1.4}
.pf-tp-editor-switch input{position:absolute;opacity:0;width:1px;height:1px}
.pf-tp-editor-switch i{position:relative;width:44px;height:25px;min-width:44px;border-radius:30px;background:#747581;transition:background .18s}
.pf-tp-editor-switch i:after{content:"";position:absolute;width:19px;height:19px;border-radius:50%;background:white;left:3px;top:3px;transition:transform .18s;box-shadow:0 1px 3px #0003}
.pf-tp-editor-switch input:checked+i{background:#d71920}
.pf-tp-editor-switch input:checked+i:after{transform:translateX(19px)}
.pf-tp-editor-switch input:focus-visible+i{outline:2px solid #d71920;outline-offset:3px}
.pf-tp-editor-note{margin:0;color:var(--tp-muted);font-size:11px;line-height:1.5}
.pf-tp-os-tag{display:inline-flex;margin:5px 5px 0 0;padding:3px 7px;border-radius:6px;border:1px solid rgba(215,25,32,.27);background:rgba(215,25,32,.10);color:#ed525d;font-size:10px;font-style:normal;font-weight:800}
.pf-tp-os-tag.is-recommended{border-color:rgba(234,164,56,.4);background:rgba(234,164,56,.12);color:#d39b48}
.pf-tp-os-part{display:grid;gap:10px;border:1px solid var(--tp-border);padding:12px;border-radius:12px}
.pf-tp-os-part-switch{display:flex!important;align-items:center;gap:9px;font-weight:700}
.pf-tp-os-part-switch input{accent-color:#d71920}
.pf-tp-os-part #tpOsPartPicker{display:grid;gap:9px}
.pf-tp-os-part #tpOsPartPicker[hidden]{display:none!important}
.pf-tp-os-part .pf-tp-part-results{max-height:220px;overflow:auto;display:grid;gap:5px}
.pf-tp-os-part .pf-tp-part-results button{display:flex;justify-content:space-between;align-items:center;gap:11px;text-align:left;width:100%;padding:9px;background:var(--tp-surface);color:var(--tp-text);border:1px solid var(--tp-border);border-radius:8px}
.pf-tp-os-part .pf-tp-part-results button:hover,.pf-tp-os-part .pf-tp-part-results button.is-selected{border-color:#d71920}
.pf-tp-os-part .pf-tp-part-results small{font-size:11px;color:var(--tp-muted)}
.pf-tp-part-choice{font-size:12px!important;color:var(--tp-text)!important}
html.light .pf-tp-os{--tp-text:#252a37;--tp-surface:#f6f7fa;--tp-border:#d9dde6}
@media(max-width:640px){.pf-tp-editor-photo{grid-template-columns:1fr}.pf-tp-editor-image{max-width:200px}.pf-tp-combo-results{max-height:210px}}

/* 2026-10-24 | Switch SMB e cabeçalho confortável na planilha técnica */
.pf-tp-device-filter .pf-tp-slide-filter{display:inline-flex;gap:11px;align-items:center;cursor:pointer;user-select:none;padding:8px 3px}
.pf-tp-slide-filter input{position:absolute;opacity:0;width:1px;height:1px}
.pf-tp-slide-filter .pf-tp-slide-ui{display:block;position:relative;flex:none;width:48px;height:27px;background:#777b88;border-radius:999px;border:1px solid var(--tp-border);transition:background .18s ease}
.pf-tp-slide-filter .pf-tp-slide-ui:after{content:'';position:absolute;top:3px;left:3px;width:19px;height:19px;border-radius:100%;background:white;box-shadow:0 1px 4px rgba(0,0,0,.23);transition:transform .18s ease}
.pf-tp-slide-filter input:checked+.pf-tp-slide-ui{background:var(--tp-red);border-color:var(--tp-red)}
.pf-tp-slide-filter input:checked+.pf-tp-slide-ui:after{transform:translateX(20px)}
.pf-tp-slide-filter input:focus-visible+.pf-tp-slide-ui{outline:3px solid var(--tp-redsoft);outline-offset:3px}
html.light .pf-tp-slide-filter .pf-tp-slide-ui{background:#9ca3af}
html.light .pf-tp-slide-filter input:checked+.pf-tp-slide-ui{background:#d71920}
.pf-tp-variant-head th{padding:15px 12px 16px!important;vertical-align:top!important;min-width:158px!important}
.pf-tp-variant-title{font-size:12px!important;font-weight:750!important;line-height:1.45!important;margin-bottom:14px!important;white-space:normal!important;overflow-wrap:anywhere}
.pf-tp-variant-actions{gap:9px!important;display:flex!important;align-items:center!important;min-height:31px!important}
.pf-tp-variant-actions button{display:grid!important;place-items:center;min-width:30px!important;min-height:30px!important;padding:5px!important}
.pf-tp-variant-actions svg,.pf-tp-row-actions svg{width:19px;height:19px;display:block}
.pf-tp-priced-cell{gap:10px!important;padding:5px 1px!important}
.pf-tp-part-pill{min-height:33px!important}


/* Tabela de Preços v13 — tabela compacta e editor de variações */
.pf-tp-table-box{isolation:isolate}
.pf-tp-table-filters{gap:10px 12px!important;padding:14px 16px!important}
.pf-tp-variants-toggle{display:inline-flex;align-items:center;gap:8px;white-space:nowrap;padding:9px 12px;border:1px solid var(--tp-border);border-radius:9px;background:var(--tp-surface);color:var(--tp-text);font:inherit;font-size:12px;font-weight:700;min-height:38px}
.pf-tp-variants-toggle:hover,.pf-tp-variants-toggle:focus-visible{border-color:var(--tp-red);background:var(--tp-redsoft);outline-offset:2px}
.pf-tp-variants-toggle[aria-pressed="true"]{border-color:var(--tp-red);color:var(--tp-red)}
.pf-tp-variants-toggle span{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:6px;background:var(--tp-card);border:1px solid var(--tp-border);font-size:10px}
.pf-tp-scroll{max-height: min(68vh,760px);overflow:auto;scrollbar-gutter:stable;overscroll-behavior:contain}
.pf-tp-table{table-layout:fixed;min-width:max-content;width:100%;border-spacing:0}
.pf-tp-table thead .pf-tp-group-head th{height:45px;padding:10px 12px!important;top:0;vertical-align:middle!important;white-space:normal;line-height:1.35;position:sticky;z-index:5}
.pf-tp-table thead .pf-tp-variant-head th{position:sticky;top:45px!important;z-index:4;height:112px;padding:15px 13px 13px!important;min-width:188px!important;width:188px!important;vertical-align:top!important;background:var(--tp-surface);box-sizing:border-box}
.pf-tp-table thead .pf-tp-variant-title{height:42px;min-height:42px;display:flex;align-items:flex-start;line-height:1.35!important;font-size:13px!important;margin:0 0 11px!important;white-space:normal!important;overflow-wrap:anywhere}
.pf-tp-table thead .pf-tp-variant-title>span{display:block;min-width:0}
.pf-tp-table thead .pf-tp-variant-actions{display:flex!important;gap:7px!important;min-height:34px!important;align-items:center!important}
.pf-tp-table thead .pf-tp-variant-actions button{display:grid!important;place-items:center;min-width:34px!important;min-height:34px!important;border:1px solid transparent!important;border-radius:8px!important}
.pf-tp-table thead .pf-tp-variant-actions button:hover{border-color:var(--tp-border)!important}
.pf-tp-table thead .pf-tp-sticky-model{position:sticky!important;left:0!important;top:0!important;z-index:7!important;min-width:205px!important;width:225px!important;max-width:225px!important;text-align:left;white-space:normal}
.pf-tp-table tbody .pf-tp-sticky-model{position:sticky;left:0;z-index:2;background:var(--tp-card)}
.pf-tp-table tbody td{padding:14px 11px!important;min-width:188px!important;vertical-align:top!important;background:var(--tp-card)}
.pf-tp-table tbody .pf-tp-priced-cell{gap:10px!important;min-width:0}
.pf-tp-table tbody .pf-tp-cell{min-width:0!important;width:100%;min-height:44px;padding:10px 12px;font-size:13px}
.pf-tp-table tbody .pf-tp-part-pill{width:100%;max-width:none;min-height:37px;padding:8px 10px}
.pf-tp-table tbody tr:hover td,.pf-tp-table tbody tr:hover th{background:color-mix(in srgb,var(--tp-card) 93%,var(--tp-red))}
.modal-backdrop.pf-tp-manage-host .modal.wide{width:min(790px,calc(100vw - 32px));max-width:790px}
.modal-backdrop.pf-tp-manage-host .modal-body{padding:22px 24px;max-height:65vh;overflow-y:auto}
.pf-tp-manage-modal{gap:16px}
.pf-tp-manage-summary{display:flex;gap:5px;flex-direction:column;padding-bottom:5px;border-bottom:1px solid var(--tp-border)}
.pf-tp-manage-summary strong{font-size:14px;color:var(--tp-text)}
.pf-tp-manage-summary span{font-size:12px;color:var(--tp-muted);line-height:1.5}
.pf-tp-manage-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
.pf-tp .pf-tp-manage-card{display:flex;min-width:0;min-height:112px;flex-direction:column;justify-content:space-between;gap:14px;text-align:left;padding:15px 16px;background:var(--tp-card)!important;color:var(--tp-text)!important;border:1px solid var(--tp-border)!important;border-radius:13px;font-family:inherit;box-shadow:0 1px 3px rgba(0,0,0,.04);transition:background .15s,border-color .15s,box-shadow .15s}
.pf-tp .pf-tp-manage-card:hover,.pf-tp .pf-tp-manage-card:focus-visible{border-color:var(--tp-red)!important;background:var(--tp-redsoft)!important;box-shadow:0 4px 13px rgba(0,0,0,.10)}
.pf-tp-manage-card-header{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}
.pf-tp-manage-card-header strong{font-size:15px;line-height:1.4;font-weight:750;overflow-wrap:anywhere}
.pf-tp-manage-pencil{color:var(--tp-red);font-size:18px;flex:none}
.pf-tp-manage-card-status{display:flex;flex-wrap:wrap;gap:6px}
.pf-tp-manage-card-status span{display:inline-flex;font-size:10px;font-weight:750;line-height:1.35;align-items:center;border-radius:6px;padding:5px 7px;background:var(--tp-surface);color:var(--tp-muted);border:1px solid var(--tp-border)}
.pf-tp-manage-card-status span.is-active{background:color-mix(in srgb,#279a66 9%,var(--tp-card));color:color-mix(in srgb,#44b986 72%,var(--tp-text));border-color:color-mix(in srgb,#279a66 24%,var(--tp-border))}
html.light .pf-tp-manage-card-status span.is-active{color:#187046}
.pf-tp-manage-empty{grid-column:1/-1;text-align:center;padding:25px;color:var(--tp-muted)}
@media(max-width:680px){.pf-tp-manage-list{grid-template-columns:1fr}.modal-backdrop.pf-tp-manage-host .modal-body{padding:14px 16px}.pf-tp-table thead .pf-tp-sticky-model{min-width:155px!important;width:170px!important;max-width:170px!important}.pf-tp-table tbody td{min-width:168px!important}.pf-tp-table thead .pf-tp-variant-head th{min-width:168px!important;width:168px!important}}


/* v15: grade da tabela técnica — uma só camada sticky para o THEAD inteiro. */
.pf-tp-scroll{overflow:auto!important;max-height:min(70vh,800px)!important;scrollbar-gutter:stable;isolation:isolate}
.pf-tp-table{table-layout:auto!important;width:max-content!important;min-width:100%!important;border-collapse:separate!important;border-spacing:0!important}
.pf-tp-table thead{position:sticky!important;top:0!important;z-index:8!important;isolation:isolate}
.pf-tp-table thead th,.pf-tp-table thead .pf-tp-group-head th,.pf-tp-table thead .pf-tp-variant-head th{position:static!important;top:auto!important;z-index:auto!important;box-sizing:border-box;overflow:visible!important}
.pf-tp-table thead .pf-tp-group-head th{height:auto!important;padding:18px 15px!important;font-size:13px!important;line-height:1.5!important;white-space:normal!important;overflow-wrap:break-word!important;background:var(--tp-redsoft)!important}
.pf-tp-table thead .pf-tp-variant-head th{min-width:215px!important;width:215px!important;height:auto!important;padding:18px 16px!important;vertical-align:top!important;background:var(--tp-surface)!important}
.pf-tp-table thead .pf-tp-variant-title{height:auto!important;min-height:42px!important;margin:0 0 14px!important;align-items:start!important;font-size:13px!important;line-height:1.45!important;white-space:normal!important;overflow-wrap:break-word!important;word-break:normal!important}
.pf-tp-table thead .pf-tp-variant-actions{gap:10px!important;align-items:center!important;flex-wrap:wrap!important}
.pf-tp-table thead .pf-tp-sticky-model{position:sticky!important;left:0!important;top:auto!important;z-index:9!important;min-width:235px!important;width:235px!important;max-width:235px!important;background:var(--tp-redsoft)!important}
.pf-tp-table tbody .pf-tp-sticky-model{position:sticky!important;left:0!important;top:auto!important;z-index:2!important;min-width:235px!important;width:235px!important;max-width:235px!important;background:var(--tp-card)!important}
.pf-tp-table tbody td{min-width:215px!important;width:215px!important;padding:15px 14px!important;box-sizing:border-box;vertical-align:top!important}
.pf-tp-table tbody .pf-tp-cell,.pf-tp-table tbody .pf-tp-priced-cell{width:100%!important;min-width:0!important;box-sizing:border-box!important}
.pf-tp-table tbody .pf-tp-cell{font-variant-numeric:tabular-nums}
.pf-tp-table tbody .pf-tp-part-pill{max-width:100%!important;overflow-wrap:break-word!important}
.pf-tp-table thead th:nth-last-child(3),.pf-tp-table tbody td:nth-last-child(3){min-width:68px!important;width:68px!important;text-align:center!important}
.pf-tp-table thead th:nth-last-child(2),.pf-tp-table tbody td:nth-last-child(2){min-width:145px!important;width:145px!important}
.pf-tp-table thead th:last-child,.pf-tp-table tbody td:last-child{min-width:172px!important;width:172px!important}
.pf-tp-table tbody .pf-tp-row-actions{display:flex!important;align-items:center!important;gap:7px!important;flex-wrap:wrap!important}
.pf-tp-manage-service{display:block;font-size:11px;color:var(--tp-muted);margin:0 0 9px}
@media(max-width:680px){.pf-tp-table thead .pf-tp-sticky-model,.pf-tp-table tbody .pf-tp-sticky-model{min-width:170px!important;width:170px!important;max-width:170px!important}.pf-tp-table tbody td,.pf-tp-table thead .pf-tp-variant-head th{min-width:192px!important;width:192px!important}}


/* Exportacao / importacao JSON no catalogo, respeitando claro e escuro. */
.pf-tp-json-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;padding:12px 15px;margin:3px 0 11px;border:1px solid var(--tp-border);border-radius:12px;background:var(--tp-card);color:var(--tp-muted);font-size:12px;font-weight:650}
.pf-tp-json-actions>div{display:flex;gap:9px;flex-wrap:wrap}
.pf-tp-json-actions button{min-height:38px;font-weight:700}
.pf-tp-json-preview{display:grid;gap:13px;font-size:13px;color:var(--tp-text)}
.pf-tp-json-preview p{margin:0;line-height:1.55;overflow-wrap:anywhere}
.pf-tp-json-summary{display:flex;gap:10px;flex-wrap:wrap}
.pf-tp-json-summary span{padding:12px 14px;background:var(--tp-surface);border:1px solid var(--tp-border);border-radius:10px}
.pf-tp-json-preview label{display:flex;align-items:center;gap:10px;padding:9px 11px;background:var(--tp-card);border:1px solid var(--tp-border);border-radius:9px;cursor:pointer}
.pf-tp-json-preview input[type=checkbox]{accent-color:var(--tp-red);width:16px;height:16px}
.pf-tp-json-warning{color:var(--tp-muted);background:var(--tp-surface);padding:12px;border-radius:9px;border-left:3px solid var(--tp-red)}
.pf-tp-json-progress{font-weight:750;color:var(--tp-text);min-height:20px}
@media(max-width:680px){.pf-tp-json-actions{align-items:stretch}.pf-tp-json-actions>div{width:100%}.pf-tp-json-actions button{flex:1}}
