/* V6.21.0 — Categorias desktop, apresentação clara aprovada. */
.gfc-dialog.gfc{font:16px/1.5 Inter,system-ui,sans-serif;color:#101828;color-scheme:light}
.gfc-dialog :is(button,input,select){font:inherit}
.gfc-dialog :is(button,input,select):focus-visible{outline:3px solid #175cd3;outline-offset:3px}
.gfc-dialog :is(h2,p){margin:0}.gfc-dialog h2{font-size:21px;font-weight:600}
.gfc-dialog .button{cursor:pointer}.gfc-dialog small{font-size:14px;color:#475467}
.gfc .button{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:#fff;border:1px solid #8794a7;color:#344054;border-radius:8px;padding:10px 16px;min-height:44px;text-decoration:none}
.gfc .button.primary{background:#175cd3;color:#fff;border-color:#175cd3}
.gfc .button.danger{color:#b42318;border-color:#b42318}
.gfc .button.quiet{border:0;padding:8px;background:transparent}
.gfc .button.small{padding:7px 12px;min-height:38px;font-size:15px}
.gfc .tabs{display:flex;gap:20px;border-bottom:1px solid #dce3ec;margin-bottom:22px}
.gfc .tabs button{min-height:48px;padding:10px 16px;background:transparent;border:0;border-bottom:3px solid transparent;color:#475467}
.gfc .tabs button[aria-selected=true]{color:#175cd3;border-bottom-color:#175cd3;font-weight:600}
.gfc .tabs .count{background:#eaecf0;color:#344054;border-radius:6px;padding:2px 7px;margin-left:6px;font-size:14px}
.gfc .tabs button[aria-selected=true] .count{background:#dbeafe;color:#1849a9}
.gfc .toolbar{display:flex;align-items:end;gap:18px;flex-wrap:wrap;margin-bottom:24px}
.gfc .search{display:flex;gap:10px;align-items:center;border:1px solid #8794a7;border-radius:8px;background:#fff;padding:0 14px;min-height:46px;flex:1;min-width:240px}
.gfc .search svg{width:21px;height:21px;color:#475467}
.gfc .search input{width:100%;min-width:0;border:0;outline-offset:0;background:#fff;color:#101828;padding:10px 0}
.gfc .search input::placeholder{color:#475467}
.gfc .group-filter{display:grid;gap:5px;font-size:14px;color:#475467}
.gfc .group-filter select{width:260px;min-height:46px}
.gfc .field input,.gfc .field select,.gfc .group-filter select{border:1px solid #8794a7;border-radius:8px;background:#fff;color:#101828;padding:10px 12px}
.gfc .result-count{color:#475467;font-size:14px;margin-bottom:10px}
.gfc .workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:24px;align-items:start}
.gfc .surface{background:#fff;border:1px solid #dce3ec;border-radius:12px;min-width:0;overflow:hidden}
.gfc .table-wrap{overflow-x:auto}
.gfc table{width:100%;border-collapse:collapse;text-align:left}
.gfc th{background:#f8fafc;color:#475467;font-size:14px;font-weight:500;padding:12px 16px}
.gfc td{border-top:1px solid #e4e7ec;padding:14px 16px;vertical-align:middle;font-size:15px}
.gfc th:first-child{width:42%}
.gfc th:nth-child(2){width:20%}
.gfc .group-row td{background:#f8fafc;padding:12px 16px}
.gfc .group-toggle{display:flex;align-items:center;gap:10px;border:0;background:transparent;color:#101828;text-align:left;padding:0;width:100%}
.gfc .group-toggle strong{font-size:16px}
.gfc .group-toggle small{margin-left:auto}
.gfc .group-toggle>svg{width:18px;height:18px}
.gfc .category-button{display:flex;align-items:center;gap:12px;border:0;background:transparent;color:#101828;text-align:left;width:100%;padding:0;min-height:42px}
.gfc .category-button strong{font-size:16px}
.gfc .category-button small{display:block;margin-top:2px}
.gfc .category-button:hover strong{text-decoration:underline;color:#175cd3}
.gfc .symbol{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:38px;height:38px;border-radius:9px;background:var(--soft,#f2f4f7);color:var(--tone,#475467)}
.gfc .selected td{background:#eff4ff}
.gfc .selected td:first-child{box-shadow:inset 3px 0 #175cd3}
.gfc .badge{display:inline-flex;align-items:center;gap:6px;border-radius:6px;padding:4px 9px;font-size:14px;font-weight:500;background:#f2f4f7;color:#344054;white-space:nowrap}
.gfc .badge.green{background:#ecfdf3;color:#067647}
.gfc .badge.blue{background:#eff4ff;color:#1849a9}
.gfc .usage{display:grid;gap:2px;font-size:15px}
.gfc .usage small{font-size:14px}
.gfc .empty{padding:36px;text-align:center;color:#475467}
.gfc .detail{padding:24px;position:sticky;top:24px}
.gfc .detail-head{display:flex;align-items:center;gap:14px;margin-bottom:18px}
.gfc .detail-head .symbol{width:48px;height:48px}
.gfc .detail-head h2{overflow-wrap:anywhere}
.gfc .detail-head small{display:block;margin-top:4px}
.gfc .facts{margin:0}
.gfc .facts>div{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:10px 0;border-bottom:1px solid #e4e7ec}
.gfc .facts dt{color:#475467}
.gfc .facts dd{margin:0;text-align:right;font-weight:500}
.gfc .detail h3{margin-top:18px;margin-bottom:8px}
.gfc .use-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:12px 0 16px}
.gfc .use-stats>div{display:grid;gap:6px}
.gfc .use-stats strong{font-size:24px;font-variant-numeric:tabular-nums}
.gfc .use-stats small{font-size:14px}
.gfc .detail-actions{display:grid;gap:10px;margin-top:16px}
.gfc .detail-actions .button{width:100%;justify-content:flex-start}
.gfc .detail-actions .primary{justify-content:center}
.gfc .notice{padding:14px 16px;border:1px solid #b3c9ee;border-radius:8px;background:#eff4ff;color:#1849a9;font-size:15px}
.gfc .notice p{margin-top:5px}
.gfc .notice.warn{background:#fffaeb;border-color:#e7c97c;color:#934715}
.gfc .notice.error{background:#fef3f2;border-color:#f3b2ad;color:#b42318}
.gfc .system-note{display:flex;align-items:center;gap:10px;margin-top:18px;color:#475467;font-size:14px}
.gfc .system-note svg{width:21px;height:21px;flex-shrink:0}
.gfc .field{display:grid;gap:7px;margin:18px 0;font-weight:500}
.gfc .field small{font-weight:400}
.gfc .form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 18px}
.gfc .check-row{display:flex;align-items:center;gap:12px;padding:16px 0;border-top:1px solid #e4e7ec}
.gfc .check-row input{width:20px;height:20px;accent-color:#175cd3;flex-shrink:0}
.gfc .check-row strong,.gfc .check-row small{display:block}
.gfc .check-row small{margin-top:4px}
.gfc .icon-current{display:flex;align-items:center;gap:12px;border:1px solid #8794a7;border-radius:8px;padding:12px;background:#fff;color:#101828;width:100%;text-align:left}
.gfc .icon-current small{display:block}
.gfc .icon-current>svg{margin-left:auto}
.gfc .icon-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin-top:14px}
.gfc .icon-choice{background:#fff;border:1px solid #c5cedb;border-radius:8px;min-height:44px;display:grid;place-items:center;color:var(--tone,#475467)}
.gfc .icon-choice[aria-pressed=true]{border:2px solid #175cd3;background:#eff4ff}
.gfc .dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:18px}
.gfc .dialog-copy{color:#475467;margin:12px 0 20px}
.gfc .dialog-actions{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap;margin-top:24px}
.gfc .dialog-actions .button{min-width:100px}
dialog.gfc-dialog{background:#fff;color:#101828;border:1px solid #c5cedb;border-radius:14px;padding:28px;width:min(640px,calc(100% - 40px));max-height:calc(100vh - 48px);overflow:auto;box-shadow:0 20px 50px #10182835}
dialog.gfc-dialog::backdrop{background:#10182873}
.gfc .error-text{color:#b42318;margin-top:14px;font-size:15px}
.gfc .summary-box{padding:16px;background:#f8fafc;border:1px solid #dce3ec;border-radius:9px;margin:18px 0}
.gfc .summary-box strong{display:block}
.gfc .impact{margin:18px 0;padding-left:22px;color:#344054}
.gfc .impact li{padding:4px 0}
.gfc .toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%);background:#101828;color:#fff;padding:14px 22px;border-radius:9px;font-size:15px;z-index:30;max-width:90vw}
.gfc .group-row.system .group-toggle{cursor:default}
.gfc .group-row.system small{margin-left:auto}
.gfc .number{font-variant-numeric:tabular-nums}
.gfc [hidden]{display:none!important}
@media(min-width:821px){
#categories .gfc{font:16px/1.5 Inter,system-ui,sans-serif;color:#101828}
#categories .gfc :is(button,input,select){font:inherit}
#categories .gfc :is(h2,h3,p){margin:0}
#categories .gfc h2{font-size:21px;font-weight:600}#categories .gfc h3{font-size:18px;font-weight:600}
#categories .gfc strong{font-weight:600}#categories .gfc small{font-size:14px;color:#475467}
#categories .gfc .button.small{font-size:15px}
#categories .gfc :is(button,input,select):focus-visible{outline:3px solid #175cd3;outline-offset:3px}
#categories .gfc .section-actions{display:flex;justify-content:flex-end;margin:-8px 0 6px}
#categories .gfc .detail h3{margin-top:18px;margin-bottom:8px}
#categories .gfc table{table-layout:fixed;min-width:0}
#categories .gfc :is(th,td){white-space:normal;overflow-wrap:anywhere}
#categories .gfc .table-wrap{overflow:visible}
#categories .gfc .table-wrap th:nth-child(2){width:27%}
#categories .gfc .table-wrap th:nth-child(3){width:17%}
#categories .gfc .table-wrap th:nth-child(4){width:14%}
#categories .gfc .table-wrap th:first-child{width:42%}
body.gf-categories-desktop .desktop-period,body.gf-categories-desktop #monthStateBadge{display:none}
}
@media(min-width:1600px){#categories .gfc .workspace{grid-template-columns:minmax(0,1fr) 400px;gap:28px}#categories .gfc .detail{padding:24px}#categories .gfc td{padding:16px 20px}#categories .gfc th,#categories .gfc .group-row td{padding-left:20px;padding-right:20px}}
@media(min-width:821px) and (max-width:1250px){#categories .gfc .workspace{grid-template-columns:minmax(0,1fr)}#categories .gfc .detail{position:static}#categories .gfc .detail-actions{display:flex;flex-wrap:wrap}#categories .gfc .detail-actions .button{width:auto}#categories .gfc .use-stats{max-width:450px}}
@media(max-width:820px){.gfc-dialog .form-grid{grid-template-columns:1fr}.gfc-dialog .icon-grid{grid-template-columns:repeat(5,minmax(0,1fr))}.gfc-dialog{padding:20px}}

.gfc :is(.button,.symbol,.icon-current,.icon-choice) svg{width:21px;height:21px;flex-shrink:0}
