/* OTIMUS CHECKOUT — UI refresh 2026 • visual-only progressive enhancement.
   Does not change the financial API, checkout rules or payment methods. */
:root{
  --bg:#F4F7F7;--panel:#FFFFFF;--ink:#172F32;--muted:#63787C;
  --green:#07986D;--green2:#21D5A0;--orange:#CE8524;--red:#BA4142;
  --deep:#10282A;--deep2:#0D3435;--line:#DAE5E3;--line-soft:#EAF0EF;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --disp:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --shadow:0 2px 10px rgba(20,49,49,.035),0 1px 2px rgba(20,49,49,.035);
  --shadow-hover:0 12px 30px rgba(15,44,41,.075),0 3px 8px rgba(15,44,41,.035)
}
html{scroll-behavior:smooth}
body{font-size:14px;line-height:1.55;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
[hidden]{display:none!important}
::selection{background:rgba(0,182,122,.18)}
:where(button,input,select,textarea,a,summary):focus-visible{outline:3px solid rgba(7,152,109,.28);outline-offset:2px}
.shell{grid-template-columns:248px minmax(0,1fr)}
.sb{background:linear-gradient(165deg,#0D292C 0%,#0A2326 75%,#0B2526 100%);border-right:1px solid rgba(255,255,255,.07);scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.12) transparent}
.sb-logo{padding:29px 20px 24px;min-height:84px;gap:0}
.sb-brand{width:190px;max-width:100%;height:auto;display:block;object-fit:contain}
.sb-group{margin-top:10px;padding:0 12px}
.sb-group>span{color:#829D9A;font-size:10px;font-weight:700;letter-spacing:.105em;text-transform:uppercase;padding:0 13px 9px}
.sb-item{position:relative;min-height:41px;padding:10px 12px;margin:2px 0;border-radius:10px;gap:13px;font-size:13px;font-weight:500;color:#B0C5C1;transition:background .15s ease,color .15s ease}
.sb-item svg{width:17px;height:17px;stroke-width:1.8;opacity:.85}
.sb-item:hover{background:rgba(255,255,255,.065);color:#FFF}
.sb-item.on{background:rgba(34,213,158,.115);color:#A6F3D3;box-shadow:inset 0 0 0 1px rgba(78,221,174,.08)}
.sb-item.on::before{content:'';position:absolute;left:0;top:10px;bottom:10px;width:3px;border-radius:5px;background:#24D49C}
.sb-item.on svg{color:#41DEAC}
.sb-foot{padding:18px 16px 20px;border-top:1px solid rgba(255,255,255,.09)}
.sb-foot .who{background:rgba(255,255,255,.045);padding:10px 11px;border-radius:9px;font-size:11.5px;color:#B6C9C6}
.sb-exit{border:1px solid rgba(255,255,255,.12);margin-top:6px;min-height:38px}
.content{min-width:0;background:var(--bg)}
.topbar{position:sticky;top:0;z-index:20;background:rgba(244,247,247,.92);border-bottom:1px solid rgba(218,229,227,.8);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);padding:24px clamp(18px,3vw,42px) 19px;align-items:center;justify-content:space-between;gap:12px}
.topbar-heading{min-width:0}
.topbar-kicker{font-size:10px;letter-spacing:.12em;text-transform:uppercase;font-weight:700;color:var(--green);margin-bottom:2px}
.topbar h1{font-size:clamp(22px,2vw,27px);font-weight:720;letter-spacing:-.045em;line-height:1.22}
.topbar-sub{font-size:12.5px;margin-top:6px;color:var(--muted);line-height:1.4}
.topbar-chip{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--line);padding:8px 11px;border-radius:99px;background:#fff;color:#4E6667;font-size:11.5px;font-weight:600;white-space:nowrap}
.topbar-chip:before{content:'';display:inline-block;width:7px;height:7px;border-radius:50%;background:#20BA8A}
main{padding:25px clamp(18px,3vw,42px) 56px;max-width:1680px;margin:0 auto;width:100%}
h2{font-size:15px;letter-spacing:-.015em;font-weight:690;line-height:1.4}
.card{border:1px solid var(--line);border-radius:16px;padding:22px 24px;margin-bottom:18px;box-shadow:var(--shadow);min-width:0;background:var(--panel)}
.card:has(> .fbar){padding-top:19px}
.card h2{margin-bottom:18px}
.hint{color:#6A8080;font-size:12.5px;line-height:1.6}
.count-note{font-size:12px;color:var(--muted);font-weight:550}
.kpis{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:20px}
.kpi{border:1px solid var(--line);box-shadow:var(--shadow);border-radius:15px;padding:19px 20px;position:relative;overflow:hidden;min-height:122px;transition:box-shadow .2s ease,transform .2s ease}
.kpi:before{content:'';width:3px;height:26px;position:absolute;left:0;top:21px;background:#C5DDD7;border-radius:0 6px 6px 0}
.kpi:first-child:before{background:#12A575}
.kpi:hover{box-shadow:var(--shadow-hover);transform:translateY(-1px)}
.kpi .k-label{font-size:12px;font-weight:650;color:#6B8180;line-height:1.35}
.kpi .k-value{font-family:var(--disp);font-size:clamp(20px,1.8vw,26px);font-weight:750;letter-spacing:-.045em;line-height:1.25;margin-top:12px;color:var(--ink);overflow-wrap:anywhere}
.kpi .k-sub{font-size:11.5px;line-height:1.5;margin-top:8px;color:#7A8D8A}
.card .kpis{margin:16px 0 22px;grid-template-columns:repeat(3,minmax(0,1fr))}
.card .kpi{box-shadow:none;background:#FCFDFD}
.fbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px 12px;margin-bottom:18px}
.fbar>select{max-width:100%;min-height:40px}
.fbar input[type=search]{min-width:min(260px,100%)}
.fbar:has(#dfl-days){background:#FFF;border:1px solid var(--line);border-radius:15px;padding:12px;margin-bottom:20px;box-shadow:var(--shadow)}
.seg{border:1px solid var(--line);background:#F3F7F6;border-radius:10px;padding:3px;gap:2px;flex-wrap:wrap}
.seg button{padding:8px 11px;border:0;border-radius:7px;color:var(--muted);font-size:12px;white-space:nowrap}
.seg button.on{color:#087C5C;background:#FFF;box-shadow:0 1px 4px rgba(18,43,42,.10)}
.seg button:hover:not(.on){background:rgba(255,255,255,.55);color:var(--ink)}
input,select,textarea{color:var(--ink);min-height:42px;border:1px solid #CEDCD9;border-radius:10px;padding:10px 12px;transition:border-color .12s ease,box-shadow .12s ease}
input:hover,select:hover,textarea:hover{border-color:#AFC5BF}
input:focus,select:focus,textarea:focus{border-color:#21A782;box-shadow:0 0 0 3px rgba(8,153,109,.1)}
input::placeholder,textarea::placeholder{color:#9CACA9}
input[type=checkbox],input[type=radio]{width:auto;min-height:auto;accent-color:var(--green);cursor:pointer}
input[type=color]{padding:4px;cursor:pointer}
label{font-size:12px;font-weight:650;color:#415B5D;margin-top:14px;margin-bottom:7px}
.row,.row3{gap:16px}
textarea{line-height:1.6}
.btn{background:#0A996F;border:1px solid #0A996F;border-radius:10px;min-height:42px;line-height:1.25;font-size:13px;font-weight:650;letter-spacing:-.005em;padding:10px 16px;box-shadow:0 2px 4px rgba(5,113,81,.12);transition:background .14s ease,transform .14s ease,box-shadow .14s ease;color:#fff}
.btn:hover{background:#087D5C;border-color:#087D5C;box-shadow:0 6px 14px rgba(5,113,81,.17);transform:translateY(-1px)}
.btn:active{transform:translateY(0)}
.btn:disabled{opacity:.6;cursor:not-allowed;transform:none}
.btn.ghost,.back-btn{border:1px solid #D5E1DE;background:#FFF;box-shadow:none;color:#405B5E}
.btn.ghost:hover,.back-btn:hover{border-color:#ABBBB9;background:#F7FAF9;color:var(--ink);box-shadow:none}
.btn.sm{min-height:35px;padding:8px 12px;font-size:12px}
.back-btn{display:inline-flex;align-items:center;border-radius:9px;min-height:35px}
.btn:has(+.msg){margin-bottom:1px}
.msg{font-size:12.5px}
.msg:not(:empty){padding:9px 12px;border-radius:9px;background:#EAF8F2;color:#086D4E;border:1px solid #CBEBDE}
.msg.err:not(:empty){background:#FFF1F0;border-color:#F1D3D0;color:#B23A37}
.tag{font-size:11px;font-weight:700;padding:5px 10px;letter-spacing:.005em;white-space:nowrap}
.tag.ok{background:#E6F7EE;color:#107C53}
.tag.warn{background:#FFF4DF;color:#9B641C}
.tag.off{background:#F0F3F4;color:#61767A}
.tag.bad{background:#FCEBEC;color:#B44747}
.table-overflow{width:100%;overflow-x:auto;max-width:100%;scrollbar-color:#CBDCD8 transparent}
table{border-collapse:collapse;width:100%;font-size:12.5px;font-variant-numeric:tabular-nums}
th{background:#F8FAFA;padding:13px 12px;border-block:1px solid #E8EFED;text-align:left;white-space:nowrap;font-weight:700;letter-spacing:.01em;font-size:11px;text-transform:none;color:#69807E}
td{padding:14px 12px;border-bottom:1px solid #EDF1F0;vertical-align:middle;line-height:1.55;color:#334E50;overflow-wrap:anywhere}
td b{color:#203B3D;font-weight:700}
tbody tr:hover>td{background:#F8FBFA}
tr[onclick]:hover td{background:#F0F8F5}
tr[onclick]{transition:background .16s ease}
tr:last-child td{border-bottom:0}
pre{border:1px solid #DFE8E5;background:#F7FAF9;border-radius:11px;color:#426064;font-size:11.5px;line-height:1.65;max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
.chart-wrap{min-height:210px;width:100%}
.chart-wrap svg{max-width:100%;height:auto;overflow:visible}
.chart-wrap path[data-i]{transition:opacity .14s ease}
.chart-wrap path[data-i]:hover{opacity:.75}
.chart-tip{border-radius:10px;padding:10px 12px;box-shadow:0 12px 35px rgba(5,37,32,.12)}
.page-head{gap:10px 14px;padding-bottom:15px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.page-head h2{font-size:19px;letter-spacing:-.03em}
.subnav{gap:6px;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:thin;padding:4px 0 12px;margin-bottom:20px;border-bottom:1px solid var(--line)}
.subnav button{white-space:nowrap;font-size:12.5px;font-weight:600;border-radius:9px;padding:9px 13px}
.subnav button.on{background:#E7F6F0;color:#087859}
.tpl-pick{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:14px}
.tpl-opt{border:1px solid var(--line);border-radius:14px;padding:10px;text-align:left}
.tpl-opt img{border-radius:10px}
.tpl-opt b{font-size:12.5px;margin-top:10px}
.tpl-opt.on{border-color:#13A87A;box-shadow:0 0 0 3px rgba(20,169,124,.11)}
.tpl-opt:focus-visible{outline-offset:4px}
.md-back{z-index:90;background:rgba(9,29,31,.62);backdrop-filter:blur(3px);padding:5vh 16px}
.md-box{border:1px solid #E9F1EF;border-radius:19px;padding:26px 28px 30px;box-shadow:0 25px 90px rgba(2,34,34,.25)}
.md-head{border-bottom:1px solid var(--line-soft);padding-bottom:13px;margin-bottom:14px}
.md-head h2{font-size:19px}
.md-x{background:#F4F7F6;font-size:19px}
.login-card{border:1px solid rgba(255,255,255,.35);border-radius:20px;box-shadow:0 25px 75px rgba(0,0,0,.2)}
.flow-node{border-radius:14px;box-shadow:var(--shadow);border-color:var(--line)}
.flow-node.start{background:#E9F8F0;border-color:#9CDAC4;color:#167E5B}
.flow-node.finish{background:#F8FAF9}
.flow-line{background:#B8D6CB}
.fn-head b{font-size:14px}
.fn-actions button{border-radius:8px;min-width:32px;min-height:30px}
.flow-edge.yes{background:#E4F6EC;color:#127A50}
.flow-edge.no{background:#FFF0EF;color:#AE4B47}
.section-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.section-toolbar .fbar{margin-bottom:0}
.list-toolbar{padding:13px 0 15px;margin:0}
.list-toolbar .count-note{margin-left:auto}
.empty-state{text-align:center;padding:32px 16px;color:var(--muted);font-size:13px}
.fin-account-select{width:min(320px,100%);max-width:320px;min-width:220px}
.fin-account-card>div:first-child h2{margin:0}
@media(min-width:1280px){.kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){.kpis,.card .kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.topbar-chip{display:none}}
@media(max-width:880px){
 .shell{grid-template-columns:1fr}
 .sb{left:-270px;width:248px}
 .sb.open{left:0}
 .topbar{padding:15px 20px 15px;gap:12px}
 .sb-burger{display:inline-flex;justify-content:center;align-items:center;flex:0 0 40px;height:40px;width:40px;border-radius:10px}
 .topbar-heading{flex:1}
 .topbar-kicker{display:none}
 .topbar h1{font-size:22px}
 .topbar-sub{font-size:11.5px;margin-top:3px}
 main{padding:18px 20px 42px}
 .card{padding:18px}
}
@media(max-width:660px){
 .topbar{background:#F7F9F8;padding:12px 15px}
 .topbar h1{font-size:20px}
 main{padding:16px 12px 36px}
 .card{padding:16px;border-radius:14px;margin-bottom:14px}
 .card h2{font-size:14.5px}
 .kpis,.card .kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
 .kpi{padding:15px 14px;min-height:110px;border-radius:13px}
 .kpi .k-label{font-size:11px}
 .kpi .k-value{font-size:clamp(17px,4vw,21px);margin-top:9px}
 .kpi .k-sub{font-size:10.5px}
 .fbar:has(#dfl-days){padding:12px}
 #dfl-days{width:100%;overflow-x:auto;flex-wrap:nowrap}
 #dfl-days button{flex:0 0 auto}
 .fbar>select,.fbar input[type=search]{width:100%!important;min-width:0!important;max-width:100%!important}
 #dfl-range{width:100%;flex-wrap:wrap}
 #dfl-range input[type=date]{min-width:0;flex:1;max-width:43%}
 .row,.row3{grid-template-columns:1fr}
 .tpl-pick{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .md-back{padding:10px 8px;align-items:flex-start}
 .md-box{padding:19px 17px 23px;border-radius:15px;margin-bottom:8px}
 .page-head{margin-bottom:14px}
 .page-head h2{font-size:17px;flex:1 1 65%}
 .page-head .spacer{display:none}
 .subnav{margin-bottom:15px}
 .table-overflow{border-radius:10px}
 /* A consulta mobile mostra cada pedido e lead como um cartão legível. */
 #orders-rows table,#leads-rows table,table.product-table{display:block;width:100%;min-width:0}
 #orders-rows tbody,#leads-rows tbody,table.product-table tbody{display:block}
 #orders-rows tr,#leads-rows tr,table.product-table tr{display:block;margin-bottom:11px;border:1px solid var(--line);border-radius:13px;padding:10px 14px;background:#fff;box-shadow:var(--shadow)}
 #orders-rows tr:has(th),#leads-rows tr:has(th),table.product-table tr:has(th){display:none}
 #orders-rows td,#leads-rows td,table.product-table td{border:0;display:flex;width:100%;align-items:flex-start;justify-content:space-between;gap:14px;padding:7px 0;text-align:right;overflow-wrap:anywhere}
 #orders-rows td+td,#leads-rows td+td,table.product-table td+td{border-top:1px solid #F0F3F2}
 #orders-rows td:before,#leads-rows td:before,table.product-table td:before{content:attr(data-label);font:600 11px/1.5 var(--font);color:#788E8C;text-align:left;flex:0 0 32%;max-width:32%}
 #orders-rows td:first-child,#leads-rows td:first-child,table.product-table td:first-child{font-weight:700;color:var(--ink)}
 #orders-rows .mono,#leads-rows .mono,table.product-table .mono{font-size:11px}
 /* Smaller dashboard and system tables become labelled record cards. */
 #view>.card>table:not(.product-table){display:block;width:100%;max-width:100%}
 #view>.card>table:not(.product-table) tbody{display:block}
 #view>.card>table:not(.product-table) tr{display:block;padding:10px 14px;margin-bottom:10px;border:1px solid var(--line);border-radius:12px;background:#fff}
 #view>.card>table:not(.product-table) tr:has(th){display:none}
 #view>.card>table:not(.product-table) td{display:flex;justify-content:space-between;align-items:flex-start;gap:14px;border:0;border-bottom:1px solid #EDF2F0;padding:7px 0;text-align:right;overflow-wrap:anywhere}
 #view>.card>table:not(.product-table) td:last-child{border-bottom:none}
 #view>.card>table:not(.product-table) td:before{content:attr(data-label);flex:0 0 35%;max-width:35%;font:600 11px/1.5 var(--font);text-align:left;color:#778E8A}
 #view>.card>table:not(.product-table) td:first-child{font-weight:700;color:var(--ink)}
 .fin-account-card>table{display:block;max-width:100%;overflow-x:auto}
 .fin-account-card>table td{min-width:90px}
 .chart-wrap{min-height:194px}
 .chart-wrap svg{display:block}
 .fin-account-select{width:100%;max-width:100%}
 .list-toolbar .count-note{margin-left:0;width:100%}
}
@media(max-width:345px){
 .kpis,.card .kpis{grid-template-columns:1fr}
 .kpi{min-height:90px}
 .tpl-pick{grid-template-columns:1fr 1fr}
 .topbar-sub{display:none}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{transition:none!important;animation:none!important}}

/* ═══ OTIMUS V2 — seletor global e KPIs (3 colunas × 2 linhas) ═══ */
.dash-filters{background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px 18px;
  margin-bottom:22px;box-shadow:var(--shadow);gap:12px;align-items:end}
.dash-filters label{font-size:11px;margin:0 0 6px;letter-spacing:.015em;color:#587171;display:block}
.dash-period-control{flex:0 1 205px;min-width:195px}
.dash-filters select{height:42px;width:100%;min-width:0}
.dash-field{flex:1 1 190px;min-width:160px}
.dash-field-short{flex:0 1 142px;min-width:125px}
.dash-custom-range{display:flex;align-items:end;gap:7px;flex-wrap:wrap;flex:0 1 100%}
.dash-custom-range label{align-self:center;margin:0 0 0 5px}
.dash-custom-range input[type=date]{width:160px;min-width:0}
.dash-custom-range #dfl-range-error{align-self:center;color:var(--red)}
.dash-section-intro{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px}
.dash-section-intro h2{font-size:17px;margin:0;letter-spacing:-.035em}
.dash-section-intro p{font-size:12px;color:var(--muted);margin-top:3px}
.dash-period-chip{color:#23795B;background:#E7F6EF;border:1px solid #D3EDE1;
  padding:6px 11px;border-radius:100px;font-size:11px;font-weight:700;white-space:nowrap}
.dashboard-kpis{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-bottom:10px}
.dashboard-kpis .dash-kpi{min-height:135px;padding:19px 20px}
.dashboard-kpis .dash-kpi .k-value{font-size:clamp(22px,2.15vw,28px);line-height:1.25;letter-spacing:-.04em;margin-top:12px}
.dashboard-kpis .dash-kpi .k-sub{margin-top:9px;color:#778F8C}
.dashboard-kpis .dash-kpi-feature:before{background:#0DA374}
.dashboard-kpis .dash-kpi-neutral:before{background:#AEBFBB}
.dash-metric-note{font-size:11px;line-height:1.6;color:#7C8F8B;margin:0 0 22px}

/* ═══ OTIMUS V2 — painel lateral isolado, não modifica scroll da listagem ═══ */
body.order-drawer-open{overflow:hidden}
#order-drawer-root{position:fixed;inset:0;z-index:100;isolation:isolate}
.order-drawer-backdrop{position:absolute;inset:0;background:rgba(11,35,37,.35);animation:od-fade .18s ease}
.order-drawer{position:absolute;right:0;top:0;bottom:0;width:min(580px,100%);background:#fff;
  box-shadow:-18px 0 55px rgba(8,31,31,.18);display:flex;flex-direction:column;min-width:0;
  animation:od-slide .23s cubic-bezier(.2,.8,.2,1)}
.order-drawer-header{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:24px 28px 17px;border-bottom:1px solid var(--line-soft);flex:0 0 auto}
.order-drawer-header h2{font-size:21px;letter-spacing:-.04em;margin:3px 0 0;color:var(--ink)}
.od-eyebrow{font-size:10px;letter-spacing:.09em;text-transform:uppercase;font-weight:750;color:#748987}
.od-close{width:38px;height:38px;min-width:38px;background:#F1F5F4;border:1px solid #E1E9E7;
  font-family:var(--font);font-size:23px;line-height:1;border-radius:10px;color:#546B6C;cursor:pointer}
.od-close:hover{background:#E6EFEC;color:var(--ink)}
.od-hero{padding:22px 28px 19px;display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap;
  background:linear-gradient(155deg,#F7FBF9,#FFF);flex:0 0 auto}
.od-amount{font-size:31px;font-weight:780;letter-spacing:-.05em;color:#163538;font-variant-numeric:tabular-nums;margin-top:2px}
.od-hero-badges{display:flex;gap:8px;flex-wrap:wrap}
.od-tabs{display:flex;gap:2px;padding:0 17px;overflow-x:auto;border-bottom:1px solid var(--line);flex:0 0 auto;
  background:#fff;scrollbar-width:thin}
.od-tabs button{font-family:var(--font);background:none;border:0;border-bottom:2px solid transparent;white-space:nowrap;
  padding:15px 11px 12px;color:#718785;font-size:12px;font-weight:650;cursor:pointer}
.od-tabs button:hover{color:var(--ink)}
.od-tabs button.on{color:#087E5B;border-bottom-color:#13AC7B}
.order-drawer-body{padding:24px 28px 38px;overflow:auto;overscroll-behavior:contain;flex:1;min-height:0}
.od-section{margin-bottom:20px}
.od-section h3{font-size:14px;font-weight:750;color:#213B3D;letter-spacing:-.02em;margin:0 0 14px}
.od-kv-list{margin:0;padding:0}
.od-kv{display:grid;grid-template-columns:minmax(115px,36%) minmax(0,1fr);gap:14px;border-bottom:1px solid #EEF2F1;padding:12px 0;line-height:1.52}
.od-kv:first-child{padding-top:5px}
.od-kv dt{color:#788B8A;font-size:12px}
.od-kv dd{margin:0;color:#2D484B;font-size:12.5px;font-weight:560;overflow-wrap:anywhere}
.od-technical{margin-top:17px;border:1px solid var(--line);border-radius:11px;background:#F9FBFA;padding:13px 15px}
.od-technical summary{font-size:12px;font-weight:700;color:#496865;cursor:pointer;list-style-position:inside}
.od-technical pre{margin-top:12px;font-size:11px;white-space:pre-wrap}
.od-notice{margin:0 28px!important;flex:0 0 auto}
.od-notice:empty{display:none}
.order-drawer-footer{flex:0 0 auto;padding:14px 28px;background:#fff;border-top:1px solid var(--line-soft);
  display:flex;justify-content:flex-end}
.od-events-list{display:grid;gap:10px}
.od-event{border:1px solid var(--line);border-radius:12px;padding:15px;background:#FFF}
.od-event-title{display:flex;justify-content:space-between;align-items:center;gap:10px;flex-wrap:wrap}
.od-event-title b{font-size:12px;color:var(--ink);overflow-wrap:anywhere}
.od-event p{margin:7px 0 0;color:var(--muted);font-size:11px}
.od-event .btn{margin-top:12px}
.od-loading{padding:32px 28px;color:var(--muted);font-size:13px}
#orders-rows tr[data-order-id]:focus-visible{outline:2px solid #0A996F;outline-offset:-2px}
@keyframes od-fade{from{opacity:0}to{opacity:1}}
@keyframes od-slide{from{transform:translateX(30px);opacity:.85}to{transform:translateX(0);opacity:1}}
@media(max-width:1100px){.dashboard-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
 .dash-filters{padding:13px}
 .dash-period-control,.dash-field,.dash-field-short{min-width:min(100%,190px);flex:1 1 45%}
 .dashboard-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .dashboard-kpis .dash-kpi{min-height:118px;padding:15px}
 .dashboard-kpis .dash-kpi .k-value{font-size:21px}
}
@media(max-width:600px){
 .order-drawer{width:100%;animation:none}
 .order-drawer-header{padding:16px 18px 13px}
 .od-hero{padding:17px 18px}
 .od-tabs{padding:0 8px}
 .od-tabs button{padding:13px 10px}
 .order-drawer-body{padding:17px 18px 30px}
 .od-notice{margin:0 18px!important}
 .order-drawer-footer{padding:13px 18px}
 .od-amount{font-size:28px}
 .dash-section-intro h2{font-size:15px}
 .dash-period-control{flex:1 1 100%}
 .dashboard-kpis{gap:10px}
 .dashboard-kpis .dash-kpi{min-height:115px;padding:13px}
 .dashboard-kpis .dash-kpi .k-value{font-size:19px}
}
@media(max-width:345px){.dashboard-kpis{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){.order-drawer,.order-drawer-backdrop{animation:none!important}}

/* ════════════════════════════════════════════════════════════
   OTIMUS / PAINEL V3 — identidade + configurações organizadas
   Visual only; contratos dos endpoints financeiros preservados.
   ════════════════════════════════════════════════════════════ */
:root{--brand-deep:#063d2a;--brand-lime:#8ae500}
.sb{background:linear-gradient(175deg,#062D26,#082923 75%,#0A2A26)}
.sb-logo{min-height:85px;padding:20px 18px 18px}
.sb-logo .sb-brand{width:187px;max-width:100%;max-height:54px;object-fit:contain;object-position:left center}
.login-card .logo{display:block;text-align:center;margin:0 auto 16px}
.login-brand-img{max-width:250px;width:95%;height:auto;display:block;margin:auto}
.login-card{max-width:420px}
.topbar-chip{color:#2c5851}
.dashboard-kpis .dash-kpi-neutral:before{background:#D7B6AA}
.settings-page{display:grid;gap:20px}
.settings-intro{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;margin-bottom:2px}
.settings-intro h2{font-size:20px;font-weight:750;letter-spacing:-.035em;margin-bottom:4px}
.settings-intro p{font-size:13px;line-height:1.55;color:var(--muted)}
.settings-intro .btn{margin:0}
.settings-page .btn{white-space:normal}
.gateway-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,455px),1fr));gap:17px}
.gateway-card{background:#fff;border:1px solid var(--line);border-radius:18px;padding:22px;box-shadow:var(--shadow);min-width:0;display:flex;flex-direction:column;gap:18px}
.gateway-card-top{display:flex;align-items:center;gap:12px}
.gateway-avatar{width:45px;height:45px;flex:none;border-radius:12px;background:#EBEAFD;color:#615BD8;display:grid;place-items:center;font-size:22px;font-weight:800;font-style:italic}
.gateway-title{flex:1;min-width:0}
.gateway-title h3{font-size:15px;letter-spacing:-.02em;margin-bottom:2px;font-weight:750;overflow-wrap:anywhere}
.gateway-title p{font-size:11.5px;color:var(--muted)}
.gateway-card-top>.tag{flex:none}
.gateway-statuses{display:flex;flex-wrap:wrap;gap:8px}
.status-tile{display:inline-flex;align-items:center;gap:6px;padding:7px 10px;background:#F3F8F6;border-radius:9px;font-size:11.5px;color:#58716B;border:1px solid #E6F0EC}
.gateway-webhook{padding:14px;background:#F7FAF9;border:1px solid #E7EFEC;border-radius:13px;min-width:0}
.gateway-webhook-label{display:flex;align-items:baseline;justify-content:space-between;gap:7px;flex-wrap:wrap;margin-bottom:9px}
.gateway-webhook-label strong{font-size:12px;color:#244A45}
.gateway-webhook-label span{font-size:11px;color:#718983}
.copy-field{display:flex;align-items:center;gap:8px;min-width:0}
.copy-field input{flex:1;min-width:0;background:#fff;color:#345650;font-size:12px;height:40px;padding:8px 10px}
.copy-field .btn{margin:0;min-height:39px;flex:none}
.gateway-actions{display:flex;gap:8px;flex-wrap:wrap}
.gateway-actions .btn{margin:0}
.gateway-note{color:#78908A;font-size:11px;line-height:1.5;margin-top:auto}
.settings-modal-sub{font-size:12px;color:var(--muted);line-height:1.55;margin:0 0 18px}
.config-block{background:#fff;border:1px solid #E1EBE7;border-radius:14px;padding:17px 18px;margin:15px 0}
.config-block h3{font-size:14px;font-weight:750;color:#264640;margin:0 0 10px}
.config-block label{margin-top:8px}
.config-block .copy-field{margin-top:12px}
.config-status{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:10px}
.config-status span:not(.tag){color:#78908A;font-size:12px}
.setup-steps{list-style:none;padding:0;display:grid;gap:0;margin:0}
.setup-steps li{display:flex;gap:12px;padding:13px 0;border-bottom:1px solid var(--line-soft)}
.setup-steps li:last-child{border-bottom:0}
.step-index{height:25px;width:25px;flex:none;background:#E8F7F1;color:#087b5c;border-radius:50%;display:grid;place-items:center;font-weight:750;font-size:12px}
.setup-steps strong{font-size:12.5px;color:#244942}
.setup-steps p{font-size:12px;line-height:1.6;color:#68817a;margin-top:4px}
.setup-steps code{font-family:var(--mono);font-size:11px}
.technical-settings,.integration-config{border:1px solid #DCE8E4;border-radius:13px;background:#F9FCFB;padding:0;margin:14px 0}
.technical-settings>summary,.integration-config>summary{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;cursor:pointer;list-style:none;padding:14px 17px;font-size:12.5px;color:#285248;font-weight:720}
.technical-settings>summary::-webkit-details-marker,.integration-config>summary::-webkit-details-marker{display:none}
.technical-settings>summary:after,.integration-config>summary:after{content:'⌄';margin-left:auto;font-size:17px;line-height:1;color:#77948B}
.technical-settings[open]>summary:after,.integration-config[open]>summary:after{content:'⌃'}
.technical-settings>summary span{width:100%;color:#78908A;font-size:11px;font-weight:450}
.technical-settings[open],.integration-config[open]{padding-bottom:16px}
.technical-settings>label,.technical-settings>input,.integration-config>label,.integration-config>input,.integration-config>.hint,.integration-config>.product-picker,.integration-config>.btn,.integration-config>.msg{display:block;margin-left:17px;margin-right:17px;width:calc(100% - 34px)}
.technical-settings>label{margin-top:9px}.technical-settings>input{margin-bottom:6px}
.technical-settings>.btn{margin-top:14px}
.product-picker{margin:17px 0;position:relative;max-width:100%;width:100%}
.product-picker-heading{display:flex;gap:6px 12px;justify-content:space-between;flex-wrap:wrap;align-items:baseline;margin-bottom:9px}
.field-title{font-size:12px;font-weight:720;color:#415E56}.field-help{font-size:11px;color:#839892}
.product-picker-pop{border:1px solid #CFE0DA;background:#fff;border-radius:11px;overflow:hidden}
.product-picker-pop>summary{display:flex;justify-content:space-between;align-items:center;min-height:42px;padding:10px 13px;cursor:pointer;list-style:none;font-size:12.5px;font-weight:650;color:#2D5B4E}
.product-picker-pop>summary::-webkit-details-marker{display:none}
.picker-caret{font-size:19px;color:#607D71;line-height:1}
.picker-panel{padding:12px;background:#FBFDFC;border-top:1px solid #E6EFEC}
.picker-search{width:100%;min-height:38px;font-size:12.5px}
.picker-tools{display:flex;gap:8px;align-items:center;justify-content:flex-start;flex-wrap:wrap;margin:10px 0}
.picker-tools .btn{font-size:11.5px;min-height:31px;margin:0}
.picker-list{max-height:240px;overflow-y:auto;overscroll-behavior:contain;display:grid;gap:2px;background:#fff;border:1px solid #E6EEEB;border-radius:9px;padding:5px}
.picker-entry{display:flex;align-items:center;gap:10px;margin:0!important;padding:10px;border-radius:6px;color:#385E53;font-size:12px;font-weight:450;cursor:pointer;overflow-wrap:anywhere}
.picker-entry:hover{background:#F0F8F4}.picker-entry[hidden]{display:none!important}
.picker-entry input[type=checkbox]{width:16px;height:16px;flex:none;margin:0;accent-color:var(--green)}
.picker-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:10px}
.picker-count{color:#71877f;font-size:11px}.picker-bottom .btn{margin:0}
.integration-section{border:1px solid var(--line);border-radius:17px;background:#fff;box-shadow:var(--shadow);overflow:hidden;min-width:0}
.integration-section-head{padding:19px 22px;display:flex;align-items:center;gap:13px;border-bottom:1px solid #EAF1EE}
.integration-mark{height:43px;width:43px;border-radius:12px;background:#E8F8EE;color:#0B855E;display:grid;place-items:center;font-weight:850;font-size:22px;flex:none}
.hook-mark{background:#EAF1FD;color:#4574B0}
.integration-section-head>div:nth-child(2){flex:1;min-width:0}
.integration-section-head h3{font-size:15px;font-weight:750;margin:0 0 3px;color:var(--ink)}
.integration-section-head p{font-size:12px;line-height:1.4;color:var(--muted)}
.integration-section-body{padding:19px 22px}
.integration-count{font-size:11px;font-weight:700;color:#67837B;background:#F0F6F3;padding:6px 10px;border-radius:100px;white-space:nowrap}
.integration-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px 0;border-bottom:1px solid var(--line-soft)}
.integration-row:first-child{padding-top:2px}
.integration-row strong{font-size:13px;color:var(--ink)}
.integration-row p{color:#708980;font-size:11.5px;margin-top:5px}
.integration-actions,.webhook-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.integration-actions .btn,.webhook-actions .btn{margin:0}
.integration-empty{padding:18px 5px;color:var(--muted);font-size:12px}
.integration-config{margin-top:15px}
.integration-config>.hint{padding-top:2px;margin-bottom:12px}
.integration-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin-bottom:16px;flex-wrap:wrap}
.integration-toolbar p{max-width:630px;color:var(--muted);font-size:12px;line-height:1.6}
.integration-toolbar .btn{margin:0}
.webhook-row{display:flex;align-items:flex-start;gap:14px;justify-content:space-between;padding:17px 0;border-top:1px solid var(--line-soft)}
.webhook-main{flex:1;min-width:0}
.webhook-labels{display:flex;gap:7px;margin-bottom:7px}
.webhook-main h4{font-size:13px;font-weight:750;color:var(--ink);margin:0 0 5px}
.webhook-meta{font-size:11.5px;color:#738983}
.webhook-more{margin-top:10px;color:var(--muted);font-size:11px}
.webhook-more summary{cursor:pointer;color:#0c8060;font-weight:650}
.webhook-destination{overflow-wrap:anywhere;padding:9px 10px;background:#F5FAF8;border:1px solid #E5EFEB;border-radius:8px;margin:9px 0;font-size:11px}
.webhook-tags{display:flex;gap:6px;flex-wrap:wrap}
.webhook-tags span{font-size:10.5px;padding:4px 7px;border:1px solid #E2EBE8;border-radius:7px}
.danger-outline{color:#B85252!important}
.events-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 12px;margin:0 17px}
.event-option{display:flex;gap:9px;align-items:center;margin:0!important;padding:8px;font-size:11.5px;font-weight:500;color:#48665c}
.event-option input{width:16px;height:16px;min-height:0;flex:none}
@media(max-width:760px){
 .settings-intro{align-items:flex-start}.settings-intro h2{font-size:18px}
 .gateway-card{padding:17px;gap:14px}
 .gateway-statuses{gap:6px}.status-tile{font-size:10.5px}
 .integration-section-head{padding:16px;align-items:flex-start;flex-wrap:wrap}
 .integration-section-body{padding:14px 16px}
 .integration-section-head>div:nth-child(2){flex:1 1 62%}
 .integration-row,.webhook-row{flex-direction:column;gap:12px}
 .integration-actions,.webhook-actions{width:100%}
 .events-grid{grid-template-columns:1fr}
 .gateway-card-top{flex-wrap:wrap}.gateway-card-top .tag{margin-left:auto}
 .copy-field{align-items:stretch}.copy-field input{font-size:11px}
}

/* ══ v2.27 — ações destrutivas em vermelho + pixels por plataforma ══ */
.btn.danger{background:#C43C31;border-color:#C43C31;color:#fff;box-shadow:0 2px 4px rgba(150,40,34,.14)}
.btn.danger:hover{background:#A83228;border-color:#A83228;box-shadow:0 6px 14px rgba(150,40,34,.18)}
.btn.ghost.danger{background:#FFF;border-color:#EBC8C5;color:#B23A37;box-shadow:none}
.btn.ghost.danger:hover{border-color:#B23A37;background:#FDF2F1;color:#9E2F2C}
.linklike{background:none;border:none;color:#0A996F;font:inherit;font-weight:600;cursor:pointer;padding:0;text-decoration:underline}
.linklike:hover{color:#087D5C}
.px-platform{background:#FFF;border:1px solid var(--line);border-radius:16px;padding:18px 20px;margin-bottom:16px;box-shadow:var(--shadow)}
.px-plat-head{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.px-logo{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;flex:0 0 40px;
  border-radius:11px;background:#F4F8F6;border:1px solid var(--line-soft)}
.px-logo svg{width:20px;height:20px;fill:var(--pc,#13272B)}
.px-plat-title{flex:1;min-width:0}
.px-plat-title h3{font-size:15px;font-weight:700;letter-spacing:-.015em}
.px-plat-title p{font-size:12px;color:var(--muted);margin-top:1px}
.px-list{margin-top:13px;display:flex;flex-direction:column;gap:9px}
.px-item{display:flex;align-items:center;gap:14px;flex-wrap:wrap;border:1px solid var(--line-soft);
  border-radius:12px;padding:11px 14px;background:#FBFDFC}
.px-item.px-off{opacity:.62}
.px-item-main{flex:1;min-width:180px}
.px-id{font-size:13px;font-weight:700;color:var(--ink);overflow-wrap:anywhere}
.px-scope{display:block;font-size:11.5px;color:var(--muted);margin-top:2px}
.px-item-tags{display:flex;gap:6px;flex-wrap:wrap}
.px-item-actions{display:flex;gap:6px;flex-wrap:wrap}
.px-platform .empty-state{margin-top:10px;padding:18px 14px}
@media(max-width:660px){
  .px-item{align-items:flex-start;flex-direction:column;gap:8px}
  .px-item-actions{width:100%}
  .px-item-actions .btn{flex:1}
}

/* ══ v2.28 — pixels em tabela, modal com toggle, botões compactos ══ */
.btn.xs{min-height:30px;padding:5px 11px;font-size:11.5px;border-radius:8px;margin:0}
.px-table{margin-top:12px;font-size:12.5px}
.px-table th{background:none;border-top:none;padding:9px 10px}
.px-table td{padding:11px 10px;vertical-align:middle}
.px-table .px-id{font-weight:700;color:var(--ink)}
.px-acts{display:inline-flex;gap:6px}
.px-modal-head{display:flex;align-items:center;gap:12px;background:#F6F9F8;border:1px solid var(--line-soft);
  border-radius:12px;padding:12px 14px;margin:4px 0 6px}
.px-modal-head b{font-size:14.5px}
.px-modal-head p{font-size:12px;color:var(--muted);margin-top:1px}
.px-active-row{display:flex;align-items:center;justify-content:space-between;gap:14px;
  border-top:1px solid var(--line-soft);margin-top:16px;padding-top:14px}
.px-active-row b{font-size:13.5px}
.px-active-row p{font-size:12px;color:var(--muted);margin-top:1px}
.switch{position:relative;display:inline-block;width:44px;height:24px;flex:0 0 44px}
.switch input{position:absolute;opacity:0;width:0;height:0}
.switch span{position:absolute;inset:0;background:#CDD9D6;border-radius:999px;cursor:pointer;transition:background .15s}
.switch span:before{content:'';position:absolute;width:18px;height:18px;left:3px;top:3px;background:#fff;
  border-radius:50%;box-shadow:0 1px 3px rgba(19,39,43,.25);transition:transform .15s}
.switch input:checked+span{background:#0A996F}
.switch input:checked+span:before{transform:translateX(20px)}
.switch input:focus-visible+span{outline:3px solid rgba(7,152,109,.28);outline-offset:2px}
@media(max-width:660px){
  .px-table{display:block}
  .px-table tbody{display:block}
  .px-table tr{display:block;border:1px solid var(--line);border-radius:12px;padding:9px 12px;margin-bottom:9px;background:#fff}
  .px-table tr:has(th){display:none}
  .px-table td{display:flex;justify-content:space-between;gap:12px;border:0;border-bottom:1px solid #F0F3F2;padding:6px 0;text-align:right}
  .px-table td:last-child{border-bottom:none}
  .px-table td:before{content:attr(data-label);font:600 11px/1.5 var(--font);color:#788E8C;text-align:left}
}

/* v2.29 */
.px-name{font-weight:650;color:var(--ink)}

/* ══ v2.31 — alertas de operação no dashboard ══ */
.dash-alerts{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
.dash-alert{display:flex;gap:10px;align-items:flex-start;padding:11px 14px;border-radius:12px;
  background:#FFF7E8;border:1px solid #F2D9A4;color:#6B4E16;font-size:13.5px;line-height:1.5}
.dash-alert b{flex:0 0 auto}
.dash-alert.crit{background:#FDEBEC;border-color:#F0B9BD;color:#8A1F28}

/* ══ v2.33 — guia de rastreamento na aba Pixels (padrão checklist) ══ */
.px-guide{padding:18px 20px;margin-bottom:18px}
.px-guide .config-block{border:0;background:transparent;padding:0;margin:0}
.px-guide .config-block .hint{max-width:760px}
.px-guide .technical-settings{margin-bottom:2px}
.px-utm-models{margin-top:10px;display:flex;flex-direction:column;gap:8px}
.px-utm-row{display:grid;grid-template-columns:180px 1fr;gap:10px;align-items:center}
.px-utm-name{font-weight:650;font-size:12.5px;color:#244942}
.setup-steps .copy-field{margin-top:8px}
@media (max-width:720px){.px-utm-row{grid-template-columns:1fr}}

/* v2.33: campos de copiar dentro dos passos ocupam a largura toda */
.setup-steps li>div{flex:1;min-width:0}
.setup-steps .copy-field{width:100%}
.setup-steps .copy-field input{flex:1;min-width:0}

/* v2.34: paginação de Pedidos/Leads */
.pager{display:flex;align-items:center;justify-content:center;gap:14px;padding:14px 0 2px;color:var(--muted);font-size:13px}
.pager button[disabled]{opacity:.45;cursor:default}

/* ══ v2.36 — configuração "Pixels e funil" (switch + modos) ══ */
.setting-row{display:flex;align-items:center;justify-content:space-between;gap:18px;margin-bottom:14px}
.setting-info h3{margin:0 0 3px;font-size:14.5px}
.setting-info p{margin:0;color:var(--muted);font-size:13px}
.switch{display:inline-flex;cursor:pointer}
.switch input{position:absolute;opacity:0;width:0;height:0}
.switch-track{width:46px;height:26px;border-radius:999px;background:#D4DEDA;position:relative;transition:background .18s;flex:0 0 auto}
.switch-knob{position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(14,50,56,.25);transition:left .18s}
.switch input:checked+.switch-track{background:var(--brand,#0E9F6E)}
.switch input:checked+.switch-track .switch-knob{left:23px}
.switch input:focus-visible+.switch-track{outline:2px solid var(--brand,#0E9F6E);outline-offset:2px}
.mode-cards{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.mode-card{text-align:left;background:#fff;border:1.5px solid var(--line,#E3EAE7);border-radius:14px;padding:14px 16px;cursor:pointer;transition:border-color .15s,background .15s;font:inherit}
.mode-card p{margin:8px 0 0;font-size:12.8px;line-height:1.55;color:var(--muted)}
.mode-head{display:flex;align-items:center;gap:8px;font-size:13.5px}
.mode-dot{width:9px;height:9px;border-radius:50%;background:#C9D6D1;flex:0 0 auto}
.mode-badge{margin-left:auto;font-size:11px;color:var(--muted);background:var(--chip,#EEF3F1);padding:2px 8px;border-radius:999px}
.mode-card.on{border-color:var(--brand,#0E9F6E);background:#F2FAF6}
.mode-card.on .mode-dot{background:var(--brand,#0E9F6E)}
.mode-card.on .mode-badge{background:var(--brand,#0E9F6E);color:#fff}
@media (max-width:760px){.mode-cards{grid-template-columns:1fr}}

/* ══ v2.36 — Equipe: grade de permissões ══ */
.perm-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:6px 14px;margin-top:6px}
.perm-item{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:500;cursor:pointer}
.perm-item input{width:auto}
.perm-tools{display:flex;gap:8px;margin-top:8px}
.btn.danger{color:#A33;border-color:#E5C0C0}

/* ══ v2.37 — matriz de permissões em níveis + perfis ══ */
.preset-row{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:4px 0 12px}
.preset-row .btn.on{border-color:var(--brand,#0E9F6E);color:var(--brand,#0E9F6E);background:#F2FAF6}
.perm-matrix{border:1px solid var(--line,#E3EAE7);border-radius:12px;overflow:hidden}
.perm-row{display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:9px 14px;border-bottom:1px solid var(--line,#E3EAE7);background:#fff}
.perm-row:nth-child(even){background:#FAFCFB}
.perm-row:last-child{border-bottom:0}
.perm-name{font-size:13px;font-weight:600}
.lvl-group{display:flex;gap:4px;background:var(--chip,#EEF3F1);border-radius:999px;padding:3px}
.lvl-opt{display:flex;align-items:center;font-size:12px;font-weight:600;color:var(--muted);
  padding:4px 11px;border-radius:999px;cursor:pointer;user-select:none}
.lvl-opt input{position:absolute;opacity:0;width:0;height:0}
.lvl-opt:has(input:checked){background:#fff;color:#0E3238;box-shadow:0 1px 2px rgba(14,50,56,.12)}
.lvl-opt:has(input:focus-visible){outline:2px solid var(--brand,#0E9F6E)}
@media (max-width:640px){.perm-row{flex-direction:column;align-items:flex-start;gap:6px}}
