.tax-profile-choice{display:flex;align-items:center;gap:7px;min-width:0}.tax-profile-choice select{flex:1;min-width:0}.tax-profile-summary{display:block;font-size:12px;line-height:1.5;color:var(--muted);margin-top:5px;white-space:normal}.tax-profile-summary:empty{display:none}.tax-profile-error{display:block;font-size:12px;white-space:normal;margin-top:5px;color:var(--ink)}
.tax-binding-editor{margin-top:12px;padding:8px 10px;background:var(--surface);border:1px solid var(--border);border-radius:6px}.company-workspace #product-rules-settings .tax-binding-editor>summary{font-size:12px;font-weight:400;line-height:1.5}.tax-binding-editor .table-wrap{margin-top:10px}.tax-binding-rule-name{font-size:13px;font-weight:400}.tax-binding-editor th,.tax-binding-editor td{padding:8px 10px;font-size:12px;font-weight:400}.tax-binding-editor [data-bind]{min-height:32px;padding:6px 10px;font-size:12px;font-weight:400}
.tax-profile-dialog{width:min(1100px,calc(100vw - 32px));max-width:1100px;height:min(760px,85dvh);max-height:85dvh;padding:0;border:1px solid var(--border,#d9e2ec);border-radius:12px;background:var(--surface,#fff);color:var(--ink,#1e2c40);font-size:13px;font-weight:400;overflow:hidden}
.tax-profile-dialog::backdrop{background:#08111cb3}
body:has(.tax-profile-dialog[open]){overflow:hidden}
.tax-profile-dialog[open]{display:flex;flex-direction:column}
.tax-profile-header{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;flex:none;padding:15px 18px;border-bottom:1px solid var(--border)}
.tax-profile-header>div{min-width:0}
.tax-profile-header h2{margin:3px 0;font-size:16px;font-weight:400;line-height:1.45;overflow-wrap:anywhere}
.tax-profile-header button{flex:none;min-height:32px;padding:6px 12px;font-size:13px;font-weight:400;background:var(--surface-2,var(--surface));color:var(--ink);border-color:var(--border)}
.tax-profile-eyebrow,.tax-profile-source{margin:0;font-size:12px;font-weight:400;color:var(--muted);line-height:1.5}
.tax-profile-layout{display:grid;grid-template-columns:210px minmax(0,1fr);flex:1;min-height:0}
.tax-profile-menu{display:flex;flex-direction:column;gap:3px;padding:12px 9px;border-right:1px solid var(--border);background:var(--surface-2,var(--surface));overflow:auto}
.tax-profile-menu button{padding:9px 10px;border:1px solid transparent;border-radius:6px;background:transparent;color:var(--ink);text-align:left;font:inherit;font-weight:400;line-height:1.4}
.tax-profile-menu button:hover{background:var(--surface-3,var(--surface))}
.tax-profile-menu button[aria-selected=true]{border-color:var(--border);background:var(--surface);color:var(--accent,var(--ink))}
.tax-profile-content{min-width:0;min-height:0;padding:16px 18px;overflow:auto;overscroll-behavior:contain}
.tax-profile-section-title{margin:0 0 13px;font-size:15px;font-weight:400}
.tax-profile-group{margin:0 0 16px;padding:12px;border:1px solid var(--border);border-radius:8px}
.tax-profile-group:last-child{margin-bottom:0}
.tax-profile-group h3,.tax-profile-scope h4{margin:0 0 10px;font-size:14px;font-weight:400}
.tax-profile-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px;margin:0}
.tax-profile-fields>div{min-width:0;padding:8px 0;border-top:1px dashed var(--border)}
.tax-profile-fields dt,.tax-profile-nested dt{margin:0 0 4px;font-size:12px;font-weight:400;color:var(--muted)}
.tax-profile-fields dd,.tax-profile-nested dd{margin:0;font-size:13px;font-weight:400;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.tax-profile-empty,.tax-profile-note{font-size:13px;font-weight:400;color:var(--muted)}
.tax-profile-note{margin:0 0 13px;line-height:1.55}
.tax-profile-simple{border-left:3px solid var(--accent,var(--border));background:var(--surface-2,var(--surface))}
.tax-profile-scopes{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.tax-profile-scope{min-width:0;padding:10px;border:1px solid var(--border);border-radius:7px}
.tax-profile-scope.tax-profile-simple{border-left:3px solid var(--accent,var(--border))}
.tax-profile-scope .tax-profile-fields{grid-template-columns:1fr}
.tax-profile-wide .tax-profile-fields{grid-template-columns:1fr}
.tax-profile-nested{margin:0;padding:0 0 0 9px;border-left:1px solid var(--border)}
.tax-profile-nested>div{margin:7px 0}
.tax-profile-values{margin:0;padding-left:20px}
.tax-profile-values>li{margin:5px 0}
@media(max-width:720px){.tax-profile-dialog{width:calc(100vw - 20px);height:90dvh;max-height:90dvh}.tax-profile-header{padding:12px;gap:10px}.tax-profile-layout{display:flex;flex-direction:column}.tax-profile-menu{flex:none;flex-direction:row;gap:4px;overflow-x:auto;white-space:nowrap;padding:8px;border-right:0;border-bottom:1px solid var(--border)}.tax-profile-menu button{flex:none;padding:7px 9px}.tax-profile-content{flex:1;padding:13px}.tax-profile-fields,.tax-profile-scopes{grid-template-columns:1fr}.tax-profile-group{padding:10px}}

.tax-compact{min-width:0;color:var(--ink);font-size:12px;font-weight:400;line-height:1.45}
.tax-compact h3,.tax-compact h4,.tax-compact th,.tax-compact dt,.tax-compact dd{font-weight:400}
.tax-compact-header{padding:0 0 10px}
.tax-compact-header h3{margin:0 0 4px;font-size:14px;line-height:1.4;overflow-wrap:anywhere}
.tax-compact-source{margin:0 0 8px;color:var(--muted);font-size:12px}
.tax-compact-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px 14px;margin:0}
.tax-compact-fields>div{min-width:0}
.tax-compact-fields dt{margin:0 0 3px;color:var(--muted);font-size:12px;line-height:1.35}
.tax-compact-fields dd{margin:0;padding:5px 7px;min-height:29px;border:1px solid var(--border);border-radius:4px;background:var(--surface-2,var(--surface));font-size:13px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere;box-sizing:border-box}
.tax-compact-tabs{display:flex;gap:3px;border-bottom:1px solid var(--border);overflow-x:auto;margin:0 0 9px;padding:0;white-space:nowrap}
.tax-compact-tabs button{flex:none;padding:7px 9px;min-height:30px;border:0;border-bottom:2px solid transparent;border-radius:4px 4px 0 0;background:transparent;color:var(--ink);font:inherit;font-weight:400;line-height:1.4}
.tax-compact-tabs button:hover{background:var(--surface-2,var(--surface))}
.tax-compact-tabs button[aria-selected=true]{border-bottom-color:var(--accent);color:var(--accent);background:var(--surface-2,var(--surface))}
.tax-compact-tabs button:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
.tax-compact-panels{min-width:0}
.tax-compact-panels>[hidden]{display:none}
.tax-compact-group{margin:0 0 14px;padding:0}
.tax-compact-group:last-child{margin-bottom:0}
.tax-compact-group h4{margin:0 0 6px;font-size:12px;line-height:1.4}
.tax-compact-table-wrap{overflow-x:auto;border:1px solid var(--border);border-radius:4px}
.tax-compact [data-tax-field=icmsPorUf]>.tax-compact-table-wrap{max-height:215px;overflow:auto;overscroll-behavior:contain}
.tax-compact [data-tax-field=icmsPorUf] thead{position:sticky;top:0;z-index:1}
.tax-compact .tax-compact-table{width:100%;margin:0;border:0;border-collapse:collapse;table-layout:auto;font-size:12px}
.tax-compact .tax-compact-table th,.tax-compact .tax-compact-table td{padding:6px 9px;height:auto;min-height:0;border:0;border-bottom:1px solid var(--border);font-size:12px;line-height:1.4;text-align:left;vertical-align:top;white-space:normal}
.tax-compact .tax-compact-table thead{background:var(--surface-2,var(--surface));color:var(--muted)}
.tax-compact .tax-compact-table tbody tr:nth-child(even){background:var(--surface-2,var(--surface))}
.tax-compact .tax-compact-table tbody tr:last-child>*{border-bottom:0}
.tax-compact .tax-compact-table .tax-compact-simple{background:var(--surface-2,var(--surface));box-shadow:inset 3px 0 var(--accent)}
.tax-compact-empty{color:var(--muted)}
.tax-compact-nested{margin:0;padding:0 0 0 8px;border-left:1px solid var(--border)}
.tax-compact-nested>div{margin:5px 0}
.tax-compact-nested dt{margin:0 0 2px;color:var(--muted);font-size:12px}
.tax-compact-nested dd{margin:0;font-size:13px;line-height:1.4;white-space:pre-wrap;overflow-wrap:anywhere}
.tax-compact-values{margin:0;padding-left:17px}
.tax-compact-values>li{margin:4px 0}
.tax-compact [data-tax-field=informacoesComplementares]{grid-column:1/-1}
@media(max-width:1050px){.tax-compact-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.tax-compact-fields{grid-template-columns:1fr}.tax-compact-tabs button{padding:6px 8px}.tax-compact .tax-compact-table th,.tax-compact .tax-compact-table td{padding:5px 7px;min-width:72px}}
