/* Histórico fiscal central — sem alterar formulários ou regras fiscais */
[data-view="fx-tax-profiles"] .fxh-top-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap;justify-content:flex-end}
[data-view="fx-tax-profiles"] .fxh-open{min-height:39px;display:inline-flex;align-items:center;gap:7px;justify-content:center;padding:8px 14px;border:1px solid #d5e1d8;background:#fff;border-radius:8px;color:#284935;font-size:13px;font-weight:700;cursor:pointer}
[data-view="fx-tax-profiles"] .fxh-open:hover{border-color:#b2d2bb;background:#f4faf6}
[data-view="fx-tax-profiles"] .fxh-open svg{width:17px;height:17px;stroke-width:1.7}
[data-view="fx-tax-profiles"] .fxh-screen{max-width:1240px;margin:0 auto;color:#1d3023}
[data-view="fx-tax-profiles"] .fxh-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:22px}
[data-view="fx-tax-profiles"] .fxh-head>div{min-width:0}
[data-view="fx-tax-profiles"] .fxh-back{border:0;background:none;color:#277e44;font-size:13px;font-weight:650;cursor:pointer;margin:0 0 14px;padding:0}
[data-view="fx-tax-profiles"] .fxh-back:hover{text-decoration:underline}
[data-view="fx-tax-profiles"] .fxh-head h2{margin:0 0 5px;color:#1a2d20;font-size:22px;letter-spacing:-.025em}
[data-view="fx-tax-profiles"] .fxh-head p{margin:0;color:#697b6e;font-size:13px;line-height:1.45}
[data-view="fx-tax-profiles"] .fxh-refresh,[data-view="fx-tax-profiles"] .fxh-morebar button{border:1px solid #d7e2d9;background:#fff;color:#285338;border-radius:8px;padding:10px 14px;font-size:12.5px;font-weight:700;min-height:39px;cursor:pointer}
[data-view="fx-tax-profiles"] .fxh-refresh:hover,[data-view="fx-tax-profiles"] .fxh-morebar button:hover{background:#f2f8f3}
[data-view="fx-tax-profiles"] .fxh-filters{border:1px solid #dfe8e1;border-radius:12px;padding:18px;background:#fff;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:14px;row-gap:15px;box-shadow:0 1px 2px #17271b05}
[data-view="fx-tax-profiles"] .fxh-filters label{display:flex;flex-direction:column;gap:7px;min-width:0;font-size:12px;font-weight:700;color:#33493a;line-height:1.4}
[data-view="fx-tax-profiles"] .fxh-filters select,[data-view="fx-tax-profiles"] .fxh-filters input{height:41px!important;min-height:41px!important;min-width:0!important;width:100%!important;box-sizing:border-box!important;border:1px solid #cfddd2!important;border-radius:8px!important;background-color:#fff!important;color:#243a2a!important;padding:9px 12px!important;margin:0!important;font-size:13px!important;font-weight:500!important;box-shadow:none!important}
[data-view="fx-tax-profiles"] .fxh-filters select{cursor:pointer;padding-right:28px!important}
[data-view="fx-tax-profiles"] .fxh-filters input:focus,[data-view="fx-tax-profiles"] .fxh-filters select:focus{outline:0!important;border-color:#62ab78!important;box-shadow:0 0 0 3px #daeddf!important}
[data-view="fx-tax-profiles"] .fxh-filters .av-calendar-field{display:block;position:relative;min-width:0;width:100%}
[data-view="fx-tax-profiles"] .fxh-filters .av-calendar-trigger{position:absolute;right:6px;top:50%;transform:translateY(-50%);height:32px;width:33px;padding:5px;display:grid;place-items:center;cursor:pointer;border:0;background:#fff;color:#59846b;border-radius:6px}
[data-view="fx-tax-profiles"] .fxh-filters .av-calendar-trigger svg{width:18px;height:18px}
[data-view="fx-tax-profiles"] .fxh-results{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;margin:18px 0 6px}
[data-view="fx-tax-profiles"] .fxh-results p{font-size:12px;font-weight:650;color:#66796c;margin:0}
[data-view="fx-tax-profiles"] .fxh-clear{border:0;background:transparent;color:#237b3e;font-size:12px;font-weight:650;cursor:pointer;padding:5px 0}
[data-view="fx-tax-profiles"] .fxh-clear:hover{text-decoration:underline}
[data-view="fx-tax-profiles"] .fxh-timeline{padding:4px 0 0 14px;position:relative}
[data-view="fx-tax-profiles"] .fxh-day{font-size:12px;font-weight:750;color:#53685a;margin:20px 0 10px 18px}
[data-view="fx-tax-profiles"] .fxh-event{position:relative;margin-left:13px;padding:0 0 12px 28px;border-left:1px solid #dae8dd}
[data-view="fx-tax-profiles"] .fxh-dot{position:absolute;left:-7px;top:18px;width:13px;height:13px;border-radius:50%;border:3px solid #edf7ef;background:#278046;box-sizing:border-box}
[data-view="fx-tax-profiles"] .fxh-event[data-kind="approval"] .fxh-dot{background:#1b7c3a}
[data-view="fx-tax-profiles"] .fxh-event[data-kind="lifecycle"] .fxh-dot{background:#82958a}
[data-view="fx-tax-profiles"] .fxh-event-card{background:#fff;border:1px solid #dfe8e1;border-radius:11px;padding:15px 17px;box-shadow:0 1px 2px #0b261204}
[data-view="fx-tax-profiles"] .fxh-event-line{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
[data-view="fx-tax-profiles"] .fxh-event-line>div{display:grid;gap:4px}
[data-view="fx-tax-profiles"] .fxh-event-line strong{font-size:14px;color:#1e3426}
[data-view="fx-tax-profiles"] .fxh-activity{font-size:12px;color:#537b5e}
[data-view="fx-tax-profiles"] .fxh-event-line time{font-size:11px;color:#7a8b7e;white-space:nowrap;margin-top:2px}
[data-view="fx-tax-profiles"] .fxh-event-meta{display:flex;gap:8px;align-items:center;color:#6b7a70;font-size:11.5px;margin-top:10px}
[data-view="fx-tax-profiles"] .fxh-details{margin-top:12px;border-top:1px solid #edf2ee;padding-top:10px}
[data-view="fx-tax-profiles"] .fxh-details>summary{cursor:pointer;color:#247a3d;font-weight:650;font-size:12px;list-style:none;display:inline-flex;align-items:center;gap:7px}
[data-view="fx-tax-profiles"] .fxh-details>summary::-webkit-details-marker{display:none}
[data-view="fx-tax-profiles"] .fxh-details>summary:before{content:'▸';font-size:13px;transition:transform .15s}
[data-view="fx-tax-profiles"] .fxh-details[open]>summary:before{transform:rotate(90deg)}
[data-view="fx-tax-profiles"] .fxh-detail-content{background:#f8faf8;padding:13px;margin-top:10px;border:1px solid #e7eee8;border-radius:8px}
[data-view="fx-tax-profiles"] .fxh-detail-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
[data-view="fx-tax-profiles"] .fxh-detail-grid>div{display:grid;gap:4px;min-width:0}
[data-view="fx-tax-profiles"] .fxh-detail-grid small{font-size:10.5px;color:#708074}
[data-view="fx-tax-profiles"] .fxh-detail-grid strong{font-size:12px;color:#283b2e;overflow-wrap:anywhere}
[data-view="fx-tax-profiles"] .fxh-detail-title{font-size:12px;font-weight:700;margin:0 0 12px}
[data-view="fx-tax-profiles"] .fxh-detail-note{font-size:12px;color:#708074;margin:0}
[data-view="fx-tax-profiles"] .fxh-approved-list{display:grid;gap:12px}
[data-view="fx-tax-profiles"] .fxh-approved-list>div+div{border-top:1px solid #e2e9e3;padding-top:12px}
[data-view="fx-tax-profiles"] .fxh-approved-list>div>strong{display:block;font-size:12px;margin-bottom:8px}
[data-view="fx-tax-profiles"] .fxh-message{padding:16px;margin-top:14px;border:1px dashed #d3e3d7;background:#f8faf8;color:#586d5f;border-radius:9px;font-size:13px;text-align:center}
[data-view="fx-tax-profiles"] .fxh-message.is-error{color:#9d3d37;border-color:#f0cac4;background:#fff6f4}
[data-view="fx-tax-profiles"] .fxh-morebar{display:flex;justify-content:center;margin:12px 0 22px}
@media(max-width:920px){[data-view="fx-tax-profiles"] .fxh-filters{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:590px){[data-view="fx-tax-profiles"] .fxh-filters{grid-template-columns:1fr;padding:14px}[data-view="fx-tax-profiles"] .fxh-event-line{flex-direction:column;gap:5px}[data-view="fx-tax-profiles"] .fxh-detail-grid{grid-template-columns:repeat(2,minmax(0,1fr))}[data-view="fx-tax-profiles"] .fxh-timeline{padding-left:0}[data-view="fx-tax-profiles"] .fxh-event{padding-left:19px}[data-view="fx-tax-profiles"] .fxh-top-actions{width:100%;justify-content:flex-start}}
