/* Executive light theme — KS Contabilidade */
:root{--bg:#f6f8f7;--ink:#223e32;--muted:#6f8177;--green:#176449;--line:#e5ece7}
body{font-family:'Segoe UI Variable Text','Segoe UI',Arial,sans-serif;font-size:14px;background:var(--bg);color:var(--ink);-webkit-font-smoothing:antialiased}
.sidebar{width:244px;background:#fff;border-right:1px solid #e7ece8;padding:27px 18px}.brand{margin:0 22px 36px;display:flex;justify-content:center}.brand img{width:155px;height:90px;object-fit:contain}.sidebar .nav-label{margin:24px 15px 13px;font-size:9px;letter-spacing:1.8px;color:#8c9c92;font-weight:650}.sidebar nav a{font-size:13px;font-weight:500;padding:14px 15px;gap:12px;color:#6c7f73;margin-bottom:5px;border-radius:9px;transition:background .15s,color .15s}.sidebar nav a:hover{background:#f5f8f6;color:#176449}.sidebar nav a.selected{background:#eaf3ee;color:#176449;box-shadow:none;font-weight:650}.nav-icon,.ui-icon{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round;display:inline-block;vertical-align:middle;flex-shrink:0}.sidebar .nav-icon{width:18px;height:18px;color:#8a9e90}.sidebar nav a.selected .nav-icon{color:#176449}.sidebar-bottom{border-top:1px solid #edf1ee;padding:22px 12px 0}.sidebar-bottom small{font-size:11px;line-height:1.9;color:#8c9c91}.secure-dot{font-size:10px;color:#4c9a70}.secure-dot span{font-size:10px;color:#738c7b}
.workspace{margin-left:244px}.topbar{height:80px;padding:0 42px;background:#fff;border-bottom:1px solid #e8eee9;font-size:12px}.topbar>span{font-weight:550;color:#536d5c}.crumb{color:#99a69e;font-weight:400}.account{gap:13px}.avatar{background:#edf4ef;color:#366e4d;width:37px;height:37px;font-size:13px;border:1px solid #e2ebe4}.account strong{font-size:12px;font-weight:600}.account small{font-size:10px;margin-top:2px}.subtle{font-size:11px;color:#829186}.workspace main{max-width:1560px;padding:42px 42px 50px;min-height:calc(100vh - 144px)}.app-footer{background:#f6f8f7;padding:20px 42px;font-size:10px;color:#93a197;border-color:#e8ede9}
.btn{border:1px solid #dfe8e2;background:#fff;border-radius:8px;min-height:44px;padding:11px 17px;gap:9px;font-size:12px;font-weight:600;box-shadow:none;color:#536f5d}.btn.primary{background:#176449;border-color:#176449;color:#fff;box-shadow:0 3px 7px #1764490b}.btn.primary:hover{background:#10533b}.btn:not(.primary):hover{background:#f2f7f4;border-color:#b9cfc1}.btn .ui-icon{width:16px;height:16px}.panel{background:#fff;border:1px solid #e3ebe5;border-radius:13px;box-shadow:0 4px 14px #2e543606}.page-heading h1{font-size:33px;font-weight:650;letter-spacing:-1px}.page-heading p{font-size:14px}.eyebrow{font-size:10px;letter-spacing:1.7px}.table-wrap th{font-size:11px;background:#f8faf8;padding:17px 21px}.table-wrap td{padding:22px 21px;font-size:13px}.table-wrap td small{font-size:11px}.filterbar{padding:22px;gap:12px}input,select,textarea{font-size:13px;border-color:#dfe7e1;border-radius:7px}input:not([type=checkbox]),select{min-height:43px}.editor{padding:29px}.form-grid{gap:24px 28px}label{font-size:12px}.tabs a{font-size:12px;padding:16px}.badge{font-size:10px;border-radius:5px;padding:5px 9px}
.portfolio-dashboard .page-heading{margin:0 0 30px;align-items:center;gap:25px}.portfolio-dashboard .page-heading h1{font-size:36px;line-height:1.17;font-weight:650;letter-spacing:-1.2px;margin:0 0 12px;color:#243d30}.portfolio-dashboard .page-heading p{font-size:14px;color:#829087;line-height:1.6;margin:0}.portfolio-dashboard .eyebrow{font-size:9px;letter-spacing:2.2px;color:#82978a;font-weight:600;margin:0 0 14px}.portfolio-dashboard .actions{gap:10px}.portfolio-summary{margin:0 0 32px}.portfolio-dashboard .metrics-note{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:0 0 16px;font-size:11px;color:#769080}.portfolio-dashboard .metrics-note>span{display:flex;align-items:center;gap:8px;font-size:9px;letter-spacing:1.4px;font-weight:600}.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#4f9d6c;box-shadow:0 0 0 3px #e5f2e9}.portfolio-dashboard .metrics-note .badge{font-size:10px;color:#7c8e81;background:#edf3ee;border:1px solid #e1eae3;border-radius:5px;padding:5px 8px;font-weight:400}
.portfolio-dashboard .portfolio-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:16px;margin:0!important}.portfolio-dashboard .kpi-banner{background:#fff;border:1px solid #e1eae3;border-radius:12px;box-shadow:0 3px 10px #183f2505;padding:0!important;overflow:hidden;transition:transform .15s,box-shadow .15s,border-color .15s}.portfolio-dashboard .kpi-banner>a{display:flex;flex-direction:column;position:relative;min-height:202px;height:100%;padding:25px 24px 21px;color:#234934}.portfolio-dashboard .kpi-banner:hover{border-color:#aac7b4;transform:translateY(-2px);box-shadow:0 8px 20px #1e462910}.portfolio-dashboard .kpi-banner>a>span:not(.kpi-symbol){font-size:12px;line-height:1.6;font-weight:550;color:#718675;max-width:78%;min-height:23px}.portfolio-dashboard .kpi-banner strong{font-size:51px;line-height:1.08;font-weight:550;letter-spacing:-2px;font-variant-numeric:tabular-nums;margin:16px 0 24px;color:#2a6040}.portfolio-dashboard .kpi-banner small{display:block;margin-top:auto;font-size:11px;color:#748b7b;line-height:1.6}.portfolio-dashboard .kpi-symbol{position:absolute;right:22px;top:22px;width:31px;height:31px;border-radius:8px;display:grid;place-items:center;background:#f0f6f2;color:#6f9b7d}.portfolio-dashboard .kpi-symbol .ui-icon{width:18px;height:18px}.portfolio-dashboard .kpi-total{background:#1b5c43;border-color:#1b5c43;box-shadow:0 5px 14px #1d5a3e16}.portfolio-dashboard .kpi-total>a>span:not(.kpi-symbol){color:#d2e4d8}.portfolio-dashboard .kpi-total strong{color:#fff}.portfolio-dashboard .kpi-total small{color:#c5ddcd}.portfolio-dashboard .kpi-total .kpi-symbol{color:#d0e7d7;background:#ffffff13}.portfolio-dashboard .kpi-contracts .kpi-symbol{background:#edf3f7;color:#66889c}.portfolio-dashboard .kpi-pending .kpi-symbol{background:#faf2e6;color:#b78c4c}.portfolio-dashboard .kpi-pending strong{color:#a47b39}
.portfolio-dashboard .analytics-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:25px;margin-bottom:32px;align-items:stretch}.portfolio-dashboard .section-title{padding:27px 28px 20px;border:0;gap:18px;align-items:flex-start}.portfolio-dashboard .section-title h2{font-size:17px;font-weight:600;letter-spacing:-.35px;margin:0;color:#2b4835}.portfolio-dashboard .section-title p{font-size:12px;line-height:1.7;color:#798f80;margin:7px 0 0}.portfolio-dashboard .section-title>a{font-size:11px;color:#4f8160;white-space:nowrap}.portfolio-dashboard .section-title .badge{font-size:10px;font-weight:400;padding:5px 8px;color:#7d9586;background:#f2f6f3;border-radius:5px}
.portfolio-dashboard .regime-banners{padding:0 28px 23px;display:grid;grid-template-columns:1fr;gap:0}.portfolio-dashboard .regime-banners .chart-row{display:block;margin:0;padding:13px 11px 14px;border-bottom:1px solid #edf2ee;border-radius:6px;background:transparent;transition:background .15s}.portfolio-dashboard .regime-banners .chart-row:last-child{border:0}.portfolio-dashboard .regime-banners .chart-row:hover{background:#f2f7f3}.portfolio-dashboard .regime-banners .chart-row>div{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:10px;color:#4f705a}.portfolio-dashboard .regime-banners .chart-row>div>span{font-size:12px;font-weight:500}.portfolio-dashboard .regime-banners .chart-row strong{font-size:22px;line-height:1.1;font-weight:550;display:flex;align-items:center;gap:15px;color:#3a694b;white-space:nowrap}.portfolio-dashboard .regime-banners .chart-row strong small{font-size:10px;font-weight:400;color:#728b7b;min-width:94px;text-align:right}.portfolio-dashboard meter{height:5px;border:0;background:#e9f0eb;border-radius:7px;appearance:none;-webkit-appearance:none;width:100%;display:block;overflow:hidden}.portfolio-dashboard meter::-webkit-meter-bar{background:#e9f0eb;border:0;border-radius:7px;box-shadow:none}.portfolio-dashboard meter::-webkit-meter-optimum-value{background:#85af91;border-radius:7px}.portfolio-dashboard meter::-moz-meter-bar{background:#85af91;border-radius:7px}
.portfolio-dashboard .status-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;padding:3px 28px 24px}.portfolio-dashboard .status-card{border:0;border-radius:9px;padding:21px 14px;background:#f1f7f3;color:#3c6b4c;transition:background .15s}.portfolio-dashboard .status-card>span{display:block;font-size:12px;color:#718a79;min-height:37px;line-height:1.5}.portfolio-dashboard .status-card>strong{font-size:36px;line-height:1.1;font-weight:550;letter-spacing:-1px;display:block;margin:14px 0 19px;color:#3b7150}.portfolio-dashboard .status-card>small{display:flex;justify-content:space-between;gap:4px;font-size:10px;color:#738e7d}.portfolio-dashboard .status-card:hover{background:#e6f1e9}.portfolio-dashboard .status-2{background:#f3f5f4}.portfolio-dashboard .status-2>strong{color:#7e8e84}.portfolio-dashboard .status-3{background:#fbf7ee}.portfolio-dashboard .status-3>strong{color:#a0874e}.portfolio-dashboard .data-quality{display:block;padding:23px 23px 21px;margin:0 28px 28px;background:#fff;border:1px solid #e2eae4;border-radius:10px;transition:border-color .15s}.portfolio-dashboard .data-quality:hover{border-color:#9cbea9;background:#fafcfb}.portfolio-dashboard .data-quality>div{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:16px}.portfolio-dashboard .data-quality h3{font-size:13px;font-weight:550;line-height:1.6;margin:0;max-width:55%;color:#5b7965}.portfolio-dashboard .data-quality>div>strong{font-size:35px;font-weight:550;letter-spacing:-1.3px;color:#527e5f;white-space:nowrap}.portfolio-dashboard .data-quality p{font-size:11px;line-height:1.8;color:#708579;margin:13px 0 0}
.portfolio-dashboard .fiscal-panel{background:none;border:0;box-shadow:none;border-radius:0;margin:0 0 32px}.portfolio-dashboard .fiscal-panel .section-title{padding:0 1px 19px}.portfolio-dashboard .flag-grid{padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.portfolio-dashboard .flag-card{background:#fff;border:1px solid #e2eae4;border-radius:12px;box-shadow:0 3px 10px #214b2b04;padding:23px 25px 20px}.portfolio-dashboard .flag-card h3{font-size:13px;color:#738e7d;font-weight:500;margin-bottom:16px}.portfolio-dashboard .flag-value{display:flex;align-items:center;gap:22px;padding:5px 0 22px;border-radius:6px}.portfolio-dashboard .flag-value:hover{background:#f6faf7}.portfolio-dashboard .flag-value>strong{font-size:45px;line-height:1.1;font-weight:550;letter-spacing:-1.6px;color:#497453}.portfolio-dashboard .flag-value>span{font-size:12px;line-height:1.5;color:#698774}.portfolio-dashboard .flag-value small{font-size:11px;display:block;margin-top:4px;color:#718a79}.portfolio-dashboard .flag-breakdown{display:flex;gap:14px;margin:0;padding-top:15px;border-top:1px solid #e9efea;flex-wrap:wrap}.portfolio-dashboard .flag-breakdown a{display:flex;align-items:center;justify-content:space-between;gap:15px;flex:1;padding:5px 0;font-size:11px;color:#728b7c;border-radius:4px;white-space:nowrap;background:none}.portfolio-dashboard .flag-breakdown a:hover{color:#215c39;background:#f0f7f2}.portfolio-dashboard .flag-breakdown strong{font-size:15px;font-weight:550;color:#587d63}
.portfolio-dashboard .chart-list:not(.regime-banners){padding:0 28px 8px}.portfolio-dashboard .coverage-row{padding:16px 0;margin:0;border-bottom:1px solid #edf2ee;background:none;border-radius:0}.portfolio-dashboard .coverage-row:last-child{border:0}.portfolio-dashboard .coverage-row .chart-row{margin:0 0 8px;display:block}.portfolio-dashboard .coverage-row .chart-row>div{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 12px;font-size:12px;color:#5f7e6b}.portfolio-dashboard .coverage-row strong{font-size:21px;font-weight:550;color:#527859;white-space:nowrap}.portfolio-dashboard .coverage-row strong small{font-size:11px;font-weight:400;color:#748e7a;margin-left:4px}.portfolio-dashboard .coverage-pending{font-size:11px;display:block;text-align:right;color:#6d8978}.portfolio-dashboard .coverage-pending:hover{color:#275c3c;text-decoration:underline}.portfolio-dashboard .missing-list{padding:3px 28px 8px;display:flex;flex-direction:column;gap:12px}.portfolio-dashboard .missing-list>a{display:flex;justify-content:space-between;align-items:center;gap:20px;margin:0;padding:19px 19px;border:0;background:#fbf8f1;border-radius:8px;font-size:12px;color:#8b7b55}.portfolio-dashboard .missing-list>a:last-child{border:0}.portfolio-dashboard .missing-list>a:hover{background:#f6eddb}.portfolio-dashboard .missing-list strong{font-size:24px;line-height:1.1;font-weight:550;color:#a1874c}.portfolio-dashboard .missing-list strong>span{font-size:13px;margin-left:14px;color:#ac9c74}.metric-definition{padding:12px 28px 23px;font-size:11px;color:#798d7f}.metric-definition summary{cursor:pointer;list-style-position:inside}.metric-definition summary:hover{color:#286b43}.metric-definition p{margin:11px 0 0;font-size:11px;line-height:1.8;color:#6f8478}
.portfolio-dashboard .dashboard-grid{gap:25px;grid-template-columns:1.2fr 1fr}.portfolio-dashboard .client-line{padding:20px 28px;border-color:#edf2ee}.portfolio-dashboard .company-avatar{background:#edf5ef;border-radius:9px;border:1px solid #e0ece3;width:39px;height:39px;color:#648e70}.portfolio-dashboard .client-line strong{font-size:13px;font-weight:550;line-height:1.6}.portfolio-dashboard .client-line small{font-size:11px;line-height:1.5;margin-top:3px}.portfolio-dashboard .timeline{padding:0 28px 19px}.portfolio-dashboard .timeline strong{font-size:12px;font-weight:550;color:#53755e}.portfolio-dashboard .timeline p{font-size:11px;color:#718878}.portfolio-dashboard .timeline small{font-size:10px;color:#7b9181}.portfolio-dashboard .timeline-dot{background:#94b69e;width:6px;height:6px;left:-3.5px}.portfolio-dashboard .timeline>div{padding-bottom:22px}.portfolio-dashboard a:focus-visible,.metric-definition summary:focus-visible{outline:3px solid #719e7b;outline-offset:4px}
@media(min-width:1650px){.workspace main{padding-top:47px}.portfolio-dashboard .portfolio-metrics{gap:21px}.portfolio-dashboard .kpi-banner>a{padding:28px 28px 24px;min-height:214px}.portfolio-dashboard .kpi-banner strong{font-size:56px}.portfolio-dashboard .section-title{padding-top:30px}.portfolio-dashboard .regime-banners .chart-row>div>span{font-size:13px}}
@media(max-width:1250px){.sidebar{width:212px;padding-left:13px;padding-right:13px}.workspace{margin-left:212px}.brand{margin-left:13px;margin-right:13px}.brand img{width:145px}.workspace main{padding:32px 28px 40px}.topbar{padding:0 28px}.portfolio-dashboard .page-heading h1{font-size:32px}.portfolio-dashboard .page-heading p{font-size:13px}.portfolio-dashboard .portfolio-metrics{gap:12px}.portfolio-dashboard .kpi-banner>a{padding:23px 18px 19px}.portfolio-dashboard .kpi-symbol{top:20px;right:15px;width:28px;height:28px}.portfolio-dashboard .kpi-banner>a>span:not(.kpi-symbol){font-size:11px;min-height:35px;max-width:75%}.portfolio-dashboard .kpi-banner strong{font-size:44px;margin:14px 0 22px}.portfolio-dashboard .kpi-banner small{font-size:10px}.portfolio-dashboard .analytics-grid,.portfolio-dashboard .dashboard-grid{gap:20px;grid-template-columns:1.12fr 1fr}.portfolio-dashboard .section-title{padding:24px 22px 19px}.portfolio-dashboard .section-title h2{font-size:16px}.portfolio-dashboard .regime-banners{padding:0 21px 22px}.portfolio-dashboard .regime-banners .chart-row strong{gap:9px}.portfolio-dashboard .regime-banners .chart-row strong small{min-width:80px;font-size:9px}.portfolio-dashboard .status-metrics{padding:0 22px 21px;gap:8px}.portfolio-dashboard .status-card{padding:19px 10px}.portfolio-dashboard .status-card>span{font-size:11px}.portfolio-dashboard .status-card>small{font-size:9px}.portfolio-dashboard .data-quality{margin:0 22px 23px;padding:20px}.portfolio-dashboard .data-quality>div>strong{font-size:29px}.portfolio-dashboard .flag-grid{gap:15px}.portfolio-dashboard .flag-card{padding:22px 20px 18px}.portfolio-dashboard .flag-value{gap:15px}.portfolio-dashboard .flag-breakdown{gap:8px}.portfolio-dashboard .flag-breakdown a{gap:9px;font-size:10px}.portfolio-dashboard .chart-list:not(.regime-banners),.portfolio-dashboard .missing-list{padding-left:22px;padding-right:22px}}
@media(max-width:1050px){.portfolio-dashboard .portfolio-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:17px}.portfolio-dashboard .kpi-banner>a{padding:24px;min-height:192px}.portfolio-dashboard .kpi-banner>a>span:not(.kpi-symbol){min-height:20px;font-size:12px}.portfolio-dashboard .kpi-symbol{right:22px;top:21px}.portfolio-dashboard .analytics-grid,.portfolio-dashboard .dashboard-grid{grid-template-columns:1fr}.portfolio-dashboard .flag-grid{grid-template-columns:1fr;gap:14px}.portfolio-dashboard .flag-card{padding:22px 25px}.portfolio-dashboard .flag-breakdown a{font-size:11px}.portfolio-dashboard .page-heading{align-items:flex-start}.portfolio-dashboard .page-heading .actions{flex-shrink:0}.portfolio-dashboard .metrics-note{flex-wrap:wrap;gap:12px}.portfolio-dashboard .regime-banners .chart-row strong small{font-size:11px;min-width:105px}.portfolio-dashboard .regime-banners .chart-row>div>span{font-size:13px}}
@media(max-width:760px){.sidebar{position:static;width:100%;padding:12px 15px;display:flex;flex-direction:row;align-items:center;gap:14px;border:0;border-bottom:1px solid #e5ece7;background:#fff}.brand{width:81px;padding:0;margin:0;flex-shrink:0}.brand img{width:81px;height:49px}.sidebar nav{display:flex;align-items:center;gap:5px;overflow:auto;flex:1}.sidebar nav a{font-size:11px;padding:10px 11px;margin:0;flex-shrink:0}.sidebar .nav-label,.sidebar-bottom,.sidebar .nav-icon{display:none}.workspace{margin:0}.topbar{height:62px;padding:0 18px}.topbar>span{display:none}.account{width:100%}.account>div{margin-right:auto}.workspace main{padding:27px 17px 37px}.portfolio-dashboard .page-heading{display:block;margin:0 0 25px}.portfolio-dashboard .page-heading h1{font-size:28px}.portfolio-dashboard .page-heading p{font-size:12px}.portfolio-dashboard .eyebrow{font-size:8px;letter-spacing:1.8px}.portfolio-dashboard .page-heading .actions{margin-top:19px}.portfolio-dashboard .metrics-note>span{font-size:8px}.portfolio-dashboard .metrics-note .badge{font-size:9px}.portfolio-dashboard .portfolio-metrics{gap:11px}.portfolio-dashboard .kpi-banner>a{padding:20px 16px 17px;min-height:196px}.portfolio-dashboard .kpi-banner>a>span:not(.kpi-symbol){font-size:11px;max-width:75%;min-height:35px}.portfolio-dashboard .kpi-banner strong{font-size:42px;margin:14px 0 22px}.portfolio-dashboard .kpi-banner small{font-size:10px}.portfolio-dashboard .kpi-symbol{top:17px;right:12px;width:25px;height:25px}.portfolio-dashboard .kpi-symbol .ui-icon{width:16px;height:16px}.portfolio-dashboard .section-title{padding:23px 19px 18px}.portfolio-dashboard .section-title h2{font-size:15px}.portfolio-dashboard .section-title p{font-size:11px}.portfolio-dashboard .regime-banners{padding:0 15px 19px}.portfolio-dashboard .regime-banners .chart-row{padding:14px 8px}.portfolio-dashboard .regime-banners .chart-row>div>span{font-size:11px}.portfolio-dashboard .regime-banners .chart-row strong{font-size:20px;gap:9px}.portfolio-dashboard .regime-banners .chart-row strong small{font-size:9px;min-width:78px}.portfolio-dashboard .status-metrics{padding:0 19px 19px;gap:8px}.portfolio-dashboard .status-card{padding:17px 9px}.portfolio-dashboard .status-card>span{font-size:10px}.portfolio-dashboard .status-card>strong{font-size:29px}.portfolio-dashboard .status-card>small{font-size:9px}.portfolio-dashboard .data-quality{margin:0 19px 21px;padding:20px}.portfolio-dashboard .data-quality h3{font-size:12px}.portfolio-dashboard .data-quality>div>strong{font-size:28px}.portfolio-dashboard .data-quality p{font-size:10px}.portfolio-dashboard .flag-card{padding:22px}.portfolio-dashboard .flag-value>strong{font-size:39px}.portfolio-dashboard .chart-list:not(.regime-banners){padding:0 21px 8px}.portfolio-dashboard .coverage-row .chart-row>div{font-size:11px}.portfolio-dashboard .coverage-row strong{font-size:18px}.portfolio-dashboard .coverage-row strong small{display:none}.portfolio-dashboard .missing-list{padding:0 20px 9px}.portfolio-dashboard .missing-list>a{padding:17px;font-size:11px}.metric-definition{padding:12px 21px 22px;font-size:10px}.portfolio-dashboard .client-line{padding:18px 21px}.portfolio-dashboard .client-line strong{font-size:12px}.portfolio-dashboard .client-line small{font-size:10px}.app-footer{padding:18px}.app-footer span{display:none}.editor{padding:21px}}
@media(prefers-reduced-motion:reduce){.portfolio-dashboard .kpi-banner,.sidebar nav a{transition:none}.portfolio-dashboard .kpi-banner:hover{transform:none}}
