/* Economic business text: minimum 14px / 22px; headings 16px / 24px. */
.ec-content{padding:6px 16px 28px;color:var(--dark);font-size:14px;line-height:22px}.ec-content *{min-width:0}.ec-card{padding:16px;border-radius:var(--radius-card);background:#fff;margin-bottom:16px}.ec-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.ec-heading h2,.ec-content h2{font-size:16px;line-height:24px;font-weight:500;margin:0}.ec-heading h2{flex:1}.ec-content h3{font-size:14px;line-height:22px;font-weight:500;margin:0}.ec-filterbar{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:16px}.ec-filterbar.international{grid-template-columns:1.15fr 1fr .85fr}.ec-filterbar button{min-height:44px;border:1px solid #fff;background:#fff;color:var(--dark);border-radius:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;font-size:14px;white-space:nowrap}.ec-calendar{width:16px;height:15px;flex:none;border:1.5px solid #71829b;border-radius:3px;position:relative}.ec-calendar:before{content:'';position:absolute;left:0;right:0;top:3px;border-top:1px solid #71829b}.ec-down{width:7px;height:7px;border-bottom:1.5px solid currentColor;border-right:1.5px solid currentColor;transform:rotate(45deg);flex:none;margin-top:-3px}.ec-applied{display:flex;flex-wrap:wrap;gap:8px;margin:-4px 0 16px}.ec-applied button{border:0;background:#e9f1ff;color:var(--blue);border-radius:6px;padding:6px 8px;font-size:14px;line-height:22px;min-height:32px}.ec-overview{display:grid;grid-template-columns:1fr 1.5fr;gap:12px;margin:20px 0}.ec-overview>div{display:flex;flex-direction:column;gap:8px}.ec-overview span,.ec-caption{color:#667991;font-size:14px;line-height:22px}.ec-overview strong{font-size:24px;line-height:32px;font-weight:600;color:var(--blue);font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ec-overview strong small{font-size:14px;font-weight:400;margin-left:6px;color:var(--muted)}.ec-text-link{border:0;background:none;color:var(--blue);font-size:14px;padding:6px 0;min-height:32px;flex:none;text-decoration:none}.ec-risk-counts{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.ec-risk-counts>div{display:flex;flex-direction:column;gap:6px}.ec-risk-counts strong{font-size:20px;line-height:28px;font-variant-numeric:tabular-nums}.ec-risk{--risk-color:#86909c;display:inline-flex;align-items:center;gap:4px;flex-wrap:wrap;color:var(--risk-color);font-size:14px;line-height:22px;white-space:nowrap}.ec-risk i{width:7px;height:7px;border-radius:50%;background:var(--risk-color);flex:none}.ec-risk.red{--risk-color:#d9363e}.ec-risk.orange{--risk-color:#b85b00}.ec-risk.yellow{--risk-color:#8a6900}.ec-risk.blue{--risk-color:#165dff}.ec-risk small{font-size:14px;line-height:22px;padding:0 4px;border-radius:3px;background:#fff1f0;color:#d9363e}.ec-tone-red{color:#d9363e!important}.ec-tone-orange{color:#b85b00!important}.ec-tone-yellow{color:#8a6900!important}.ec-tone-blue{color:#165dff!important}.ec-tone-none{color:#667991!important}.ec-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;border:1px solid #edf1f6;border-radius:8px}.ec-table-wrap table{width:100%;border-collapse:collapse;font-size:14px;line-height:22px;text-align:left}.ec-table-wrap th,.ec-table-wrap td{padding:12px 8px;border-bottom:1px solid #edf1f6;font-weight:400;font-variant-numeric:tabular-nums;white-space:nowrap}.ec-table-wrap thead th{background:#f3f7ff;color:#536783}.ec-table-wrap tr:last-child td,.ec-table-wrap tr:last-child th{border-bottom:0}.ec-risk-table{table-layout:fixed}.ec-risk-table th:first-child{width:48%;white-space:normal;overflow-wrap:anywhere}.ec-risk-table td,.ec-risk-table thead th:not(:first-child){text-align:center;padding-left:3px;padding-right:3px}.ec-project+.ec-project{border-top:1px solid #edf1f6;padding-top:16px;margin-top:16px}.ec-project-open{border:0;background:none;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:0;min-height:44px;text-align:left;color:var(--dark);font-size:14px;line-height:22px;font-weight:500}.ec-project-title{flex:1;overflow-wrap:anywhere}.ec-tags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 12px}.ec-tags span{max-width:100%;padding:2px 6px;border-radius:4px;background:#f1f5fc;color:#5c7091;font-size:14px;line-height:22px;overflow-wrap:anywhere}.ec-project-risks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ec-project-risks>div{display:flex;flex-direction:column;gap:6px}.ec-project-risks>div>span:first-child{font-size:14px;line-height:22px;color:#667991}.ec-project-risks .ec-risk small{white-space:normal;font-size:14px}.ec-end{font-size:14px;line-height:22px;color:#71829b;text-align:center;margin:24px 0 0}.ec-list-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#667991;font-size:14px;margin-bottom:12px}.ec-version{display:inline-block;border-radius:4px;padding:2px 6px;background:#edf4ff;color:#165dff;font-size:14px;line-height:22px}.ec-version.international{color:#008577;background:#e8f7f3}.ec-report-open{display:flex;align-items:center;gap:12px;border:0;background:none;width:100%;color:var(--dark);padding:0;text-align:left;min-height:44px;font-size:14px;font-weight:500;line-height:22px}.ec-report-open>span{flex:1}.ec-report-open img{flex:none}.ec-report-card .ec-tags{margin-top:12px}.ec-report-summary{font-size:14px;color:#667991;line-height:22px;background:#f6f9ff;padding:10px 12px;border-radius:8px;margin:0}.ec-check-title{margin:4px 0 20px!important}.ec-summary-four{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.ec-summary-four>div{display:flex;flex-direction:column;gap:6px}.ec-summary-four strong{font-size:22px;line-height:30px;font-weight:600;font-variant-numeric:tabular-nums}.ec-summary-four span{font-size:14px;color:#667991}.ec-legend{display:flex;flex-wrap:wrap;gap:8px 12px;margin:0 0 16px;padding:0 4px}.ec-mini-metrics{display:grid;grid-template-columns:1.5fr 1fr;gap:12px;margin:12px 0}.ec-mini-metrics>div{display:flex;flex-direction:column;gap:4px}.ec-mini-metrics span{font-size:14px;color:#667991}.ec-mini-metrics strong{font-size:16px;line-height:24px;font-weight:500;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.ec-risk-list{padding:12px;background:#f7f9fc;border-radius:8px}.ec-risk-list>div{display:flex;flex-direction:column;gap:4px;font-size:14px;line-height:22px}.ec-risk-list>div+div{margin-top:12px}.ec-normal{margin:0;color:#008577}.ec-detail-name{font-size:16px!important;line-height:26px!important;font-weight:500!important;overflow-wrap:anywhere;margin:12px 0!important}.ec-status{display:flex;align-items:center;gap:8px;font-size:14px}.ec-fields{margin:16px 0}.ec-fields>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:12px;margin:10px 0;font-size:14px;line-height:22px}.ec-fields dt{color:#667991}.ec-fields dd{margin:0;overflow-wrap:anywhere}.ec-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px;border-top:1px solid #edf1f6;padding-top:16px}.ec-metrics>div{display:flex;flex-direction:column;gap:6px}.ec-metrics>div>span{font-size:14px;line-height:22px;color:#667991}.ec-metrics strong{font-size:18px;line-height:26px;font-weight:500;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.ec-metrics small{font-size:14px;font-weight:400;margin-left:4px;color:#667991}.ec-detail-risks>div{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px;padding:12px 0;border-bottom:1px solid #edf1f6}.ec-detail-risks strong{font-size:14px;font-weight:500}.ec-detail-risks p{display:flex;align-items:center;gap:6px;width:100%;margin:0;color:#667991;font-size:14px}.ec-detail-risks time{font-size:14px;color:#667991}.ec-note{padding:12px;background:#edf4ff;border-radius:8px;font-size:14px;line-height:22px;color:#526b8f;margin:16px 0 0}.ec-document-title{font-size:22px!important;line-height:34px!important;font-weight:600!important;text-align:center;margin:24px 0 8px!important;color:var(--dark)}.ec-document-month{text-align:center;color:#667991;margin:0 0 24px}.ec-report-section{display:flex;align-items:flex-start;gap:10px;margin-bottom:20px}.ec-report-section>span{display:grid;place-items:center;width:28px;height:28px;flex:none;border-radius:8px;background:#edf4ff;color:var(--blue);font-size:14px;font-weight:500}.ec-report-section h2{padding-top:2px}.ec-report-copy{font-size:14px;line-height:24px;color:#536783;overflow-wrap:anywhere}.ec-report-copy p{margin:16px 0 0}.ec-assessment{padding:16px;background:#fff5f3;border-radius:10px}.ec-assessment>strong{display:block;font-size:20px;color:#d9363e;margin:8px 0}.ec-assessment p{margin:0;font-size:14px;line-height:24px}.ec-conclusion{padding:16px 0;border-bottom:1px solid #edf1f6}.ec-conclusion:last-child{border-bottom:0;padding-bottom:0}.ec-conclusion>div{display:flex;justify-content:space-between;align-items:center;gap:10px}.ec-conclusion p{margin:8px 0 0;font-size:14px;line-height:22px;color:#667991}.ec-trend-block+.ec-trend-block{margin-top:24px}.ec-trend-block h3{margin:0 0 12px}.ec-advice{padding-left:20px;margin:0;line-height:24px;color:#536783}.ec-advice li+li{margin-top:16px}.ec-advice strong{font-weight:500;color:var(--dark)}.ec-filter-body{padding:16px;overflow-y:auto;min-height:0}.ec-filter-field+.ec-filter-field{margin-top:20px}.ec-filter-field>label{display:block;font-size:14px;line-height:22px;margin-bottom:8px}.ec-filter-field button:disabled{color:#a5b4c9;background:#f6f8fb;cursor:default}.ec-sheet-footer{display:flex;gap:12px;padding:16px 16px max(24px,env(safe-area-inset-bottom));border-top:1px solid #edf1f6;margin-top:auto}.ec-sheet-footer button{flex:1;min-height:44px;border-radius:8px}.ec-sheet-note{padding:16px;font-size:14px;line-height:22px;color:#667991}.ec-sheet .category-options{flex:1}.ec-sheet .category-option small{font-size:14px;color:#667991}.ec-sheet{color:var(--dark)}.ec-empty{font-size:14px}.ec-content button:active,.ec-sheet button:active{opacity:.72}.ec-content a:focus-visible,.ec-content button:focus-visible,.ec-table-wrap:focus-visible{outline:2px solid var(--blue);outline-offset:3px}@media(max-width:350px){.ec-card{padding:12px}.ec-filterbar button{padding-left:10px;padding-right:10px;font-size:14px}.ec-overview strong{font-size:22px}.ec-risk-counts{gap:4px}.ec-risk-counts .ec-risk{font-size:14px}.ec-project-risks{gap:5px}.ec-metrics{gap:16px 12px}.ec-metrics strong{font-size:16px}.ec-fields>div{grid-template-columns:84px minmax(0,1fr);gap:8px}}@media(prefers-reduced-motion:reduce){.ec-content *,.ec-sheet *{scroll-behavior:auto;transition:none}}

/* Let enlarged text wrap without squeezing adjacent controls or risk columns. */
.ec-heading{flex-wrap:wrap}.ec-heading h2{flex:1 1 180px}.ec-risk-counts{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.ec-project-risks{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.ec-list-heading{flex-wrap:wrap}.ec-risk{white-space:normal}.ec-project-risks .ec-risk small{white-space:normal}.ec-filterbar.international{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr)}.ec-filterbar.international>button:last-child{grid-column:1/-1}.ec-content .ec-fields>div{grid-template-columns:104px minmax(0,1fr);gap:8px}.ec-sheet,.ec-sheet .category-option small{font-size:14px;line-height:22px}
.device[data-page="economy"] .ep-picker-caption{font-size:14px;line-height:22px}
/* Preserve the PM / PC economic-risk square symbols and their established fill colors. */
.ec-risk{--risk-fill:#1f2329}.ec-risk.red{--risk-fill:#e60020}.ec-risk.orange{--risk-fill:#f56c00}.ec-risk.yellow{--risk-fill:#f2bd00}.ec-risk.blue{--risk-fill:#2589e6}.ec-risk.unavailable{--risk-fill:#86909c}.ec-risk i{display:inline-block;width:16px;height:16px;border-radius:3px;background:var(--risk-fill);position:relative;flex:none}.ec-risk .ec-overdue-mark{position:absolute;right:-2px;top:-2px;width:5px;height:5px;border-radius:1px;background:#1f2329}.ec-risk-counts{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.ec-risk-counts>div{flex-direction:row;align-items:center;gap:10px;flex-wrap:nowrap}.ec-risk-counts strong{color:inherit}.ec-risk-table thead .ec-risk{vertical-align:middle}.ec-risk-table thead .ec-risk i{width:16px;height:16px}@media(max-width:350px){.ec-risk-counts{gap:8px}.ec-risk-counts>div{gap:8px}}
/* PM prototype project list: aligned rows, four warning columns, full project names. */
.ec-project-table-wrap{border:0;border-radius:0}.ec-project-table{table-layout:fixed}.ec-project-table .ec-project-sequence{width:28px}.ec-project-table .ec-project-warning{width:34px}.ec-project-table th,.ec-project-table td{padding:12px 2px;text-align:center;vertical-align:middle;white-space:normal;line-height:22px;font-size:14px}.ec-project-table thead th{padding:8px 2px;background:none;overflow-wrap:anywhere}.ec-project-table thead th:nth-child(2),.ec-project-table tbody th{text-align:left;padding-left:6px;padding-right:8px}.ec-project-table tbody tr{height:84px}.ec-project-table tbody tr:last-child td,.ec-project-table tbody tr:last-child th{border-bottom:1px solid #edf1f6}.ec-project-table .ec-project-table-name{display:block;width:100%;min-height:52px;padding:8px 0;border:0;background:none;text-align:left;color:var(--dark);font-size:14px;line-height:22px;font-weight:400;overflow-wrap:anywhere}.ec-project-table .ec-risk{display:inline-flex;vertical-align:middle}.ec-project-no-risk{color:#2589e6}.ec-project-list .ec-heading{margin-bottom:12px}
.ec-project-table{min-width:300px}.ec-project-table .ec-project-sequence{width:30px}.ec-project-table .ec-project-warning{width:36px}.ec-project-table col:last-child{width:44px}.ec-project-table th:first-child,.ec-project-table td:first-child,.ec-project-table th:last-child,.ec-project-table td:last-child{padding-left:0;padding-right:0}
.ec-project-table.international col:nth-child(3),.ec-project-table.international col:nth-child(4){width:44px}.ec-project-table.international thead th:nth-child(n+3){padding-left:0;padding-right:0}
.ec-project-table{min-width:304px}.ec-project-table tbody th{padding-right:2px}.ec-project-table.international{min-width:311px}.ec-project-table.international col:nth-child(3){width:36px}
.ec-project-scroll-hint{display:none}@media(max-width:350px){.ec-project-scroll-hint{display:block;margin:0 0 8px;color:#667991;font-size:14px;line-height:22px}}
/* Monthly check: keep risk category, indicator and unresolved state together, as in the PM prototype. */
.ec-check-period{justify-content:flex-end;margin-bottom:8px}.ec-check-group-count{margin:-8px 0 16px;color:#667991;font-size:14px;line-height:22px}.ec-check-group-count strong{font-weight:500}.ec-check-risks{border-top:1px solid #edf1f6;padding-top:12px;margin-top:16px}.ec-check-risk-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:14px;line-height:22px;color:#667991}.ec-check-risk-heading strong{font-size:14px;font-weight:500}.ec-check-risk-items{list-style:none;display:flex;flex-wrap:wrap;gap:8px;padding:0;margin:0}.ec-check-risk-items li{display:flex;align-items:center;flex-wrap:wrap;gap:4px 6px;max-width:100%;padding:8px;border-radius:6px;background:#f7f9fc;font-size:14px;line-height:22px;overflow-wrap:anywhere}.ec-check-risk-items .ec-risk{flex:none}.ec-check-risk-name{color:#536783}.ec-check-risk-items strong{font-size:14px;line-height:22px;font-weight:500;color:var(--dark)}.ec-check-overdue{font-size:14px;line-height:22px;color:#d9363e}
