.fcs-app{--fcs-ink:#172b4d;--fcs-muted:#64748b;--fcs-line:#e2e8f0;--fcs-brand:#126b5b;--fcs-brand2:#e7f4f0;--fcs-bg:#f7faf9;color:var(--fcs-ink);font-family:inherit;max-width:1240px;margin:24px auto;line-height:1.5}.fcs-app *{box-sizing:border-box}.fcs-hero{background:linear-gradient(120deg,#102f3b,#176d60);color:#fff;border-radius:18px;padding:30px 32px;margin-bottom:18px}.fcs-eyebrow,.fcs-modal-kicker{font-size:11px;letter-spacing:1.5px;font-weight:800;opacity:.78}.fcs-hero h2{font-size:clamp(26px,4vw,38px);line-height:1.15;color:#fff;margin:10px 0}.fcs-hero p{margin:0;color:#e0f2ee;max-width:680px}.fcs-hero-meta{display:flex;flex-wrap:wrap;gap:9px;margin-top:20px}.fcs-hero-meta span{border:1px solid #ffffff55;border-radius:30px;padding:5px 11px;font-size:12px}.fcs-toolbar{display:grid;grid-template-columns:minmax(180px,1fr) 220px auto;gap:10px;margin:16px 0}.fcs-toolbar input,.fcs-toolbar select{width:100%;min-height:44px;border:1px solid var(--fcs-line);border-radius:10px;background:#fff;padding:9px 12px;color:var(--fcs-ink)}.fcs-favorites-toggle,.fcs-sort{border:1px solid var(--fcs-line);background:#fff;border-radius:10px;padding:9px 14px;color:var(--fcs-ink);cursor:pointer}.fcs-favorites-toggle[aria-pressed=true]{background:var(--fcs-brand2);border-color:#a5d5c8;color:var(--fcs-brand)}.fcs-layout{display:grid;grid-template-columns:225px minmax(0,1fr);gap:20px}.fcs-sidebar{border:1px solid var(--fcs-line);border-radius:14px;padding:16px;height:max-content;background:#fff}.fcs-sidebar-title{font-size:13px;font-weight:800;margin:0 0 10px}.fcs-category-nav{display:grid;gap:4px}.fcs-category-nav button{border:0;background:transparent;text-align:left;padding:9px 10px;border-radius:8px;color:#42546d;cursor:pointer;font:inherit;font-size:13px}.fcs-category-nav button:hover,.fcs-category-nav button[aria-current=page]{background:var(--fcs-brand2);color:var(--fcs-brand);font-weight:700}.fcs-privacy{background:#f4f8f7;border-radius:10px;padding:12px;margin-top:16px;font-size:12px}.fcs-privacy p{margin:5px 0 0;color:var(--fcs-muted)}.fcs-results-heading{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:2px 0 13px}.fcs-results-heading h3{font-size:19px;margin:0}.fcs-count{font-size:12px;color:var(--fcs-muted);margin:2px 0}.fcs-sort{min-height:38px}.fcs-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.fcs-card{border:1px solid var(--fcs-line);border-radius:13px;background:#fff;padding:15px;display:flex;flex-direction:column;min-height:154px;transition:box-shadow .15s,border-color .15s}.fcs-card:hover{border-color:#9acabd;box-shadow:0 8px 22px #173b3510}.fcs-card-top{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.fcs-card-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:var(--fcs-brand2);font-size:17px}.fcs-fav{border:0;background:transparent;color:#8a98a9;font-size:20px;cursor:pointer;line-height:1}.fcs-fav[aria-pressed=true]{color:#b7791f}.fcs-card h4{font-size:14px;margin:10px 0 4px}.fcs-card p{font-size:12px;color:var(--fcs-muted);margin:0 0 12px;flex:1}.fcs-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:8px}.fcs-tag{font-size:10px;color:#536579;background:#f1f5f9;padding:4px 7px;border-radius:20px}.fcs-open{border:0;background:var(--fcs-brand);color:#fff;border-radius:8px;padding:7px 11px;font-size:12px;font-weight:700;cursor:pointer}.fcs-empty{padding:35px;text-align:center;color:var(--fcs-muted);border:1px dashed var(--fcs-line);border-radius:12px}.fcs-disclaimer{font-size:11px;color:var(--fcs-muted);margin:18px 0}.fcs-modal[hidden]{display:none}.fcs-modal{position:fixed;z-index:999999;inset:0;display:grid;place-items:center;padding:16px}.fcs-modal-backdrop{position:absolute;inset:0;background:#0d1c2dcc}.fcs-modal-panel{position:relative;width:min(900px,100%);max-height:92vh;overflow:auto;background:#fff;border-radius:16px;box-shadow:0 25px 80px #0004}.fcs-modal-head{display:flex;justify-content:space-between;align-items:flex-start;padding:22px 24px 12px;border-bottom:1px solid var(--fcs-line)}.fcs-modal-head h3{font-size:22px;margin:5px 0 0}.fcs-modal-kicker{color:var(--fcs-brand);opacity:1}.fcs-close{border:0;background:#f1f5f9;border-radius:50%;width:34px;height:34px;font-size:24px;cursor:pointer;color:#334155}.fcs-modal-description{padding:0 24px;margin:12px 0;color:var(--fcs-muted);font-size:13px}.fcs-modal-body{display:grid;grid-template-columns:minmax(260px,.9fr) minmax(280px,1.1fr);gap:22px;padding:8px 24px 22px}.fcs-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.fcs-field{display:flex;flex-direction:column;gap:5px}.fcs-field.wide{grid-column:1/-1}.fcs-field label{font-size:12px;font-weight:700;color:#334155}.fcs-field input,.fcs-field select{width:100%;min-height:42px;border:1px solid #cbd5e1;border-radius:8px;padding:8px 10px;font:inherit;color:var(--fcs-ink);background:#fff}.fcs-help{font-size:10px;color:var(--fcs-muted)}.fcs-actions{display:flex;gap:8px;margin-top:16px}.fcs-calculate,.fcs-reset,.fcs-save-report{border:0;border-radius:9px;padding:10px 14px;cursor:pointer;font-weight:700}.fcs-calculate{background:var(--fcs-brand);color:#fff;flex:1}.fcs-reset{background:#eef2f6;color:#334155}.fcs-output{background:var(--fcs-bg);border:1px solid var(--fcs-line);border-radius:12px;padding:16px;min-height:230px}.fcs-output-placeholder{font-size:13px;color:var(--fcs-muted);padding:20px 5px}.fcs-result-label{font-size:11px;color:var(--fcs-muted);font-weight:700;text-transform:uppercase;letter-spacing:.6px}.fcs-result-value{font-size:clamp(25px,4vw,34px);font-weight:800;color:var(--fcs-brand);margin:3px 0 4px;overflow-wrap:anywhere}.fcs-result-sub{font-size:12px;color:#526176;margin-bottom:12px}.fcs-result-metrics{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.fcs-metric{background:#fff;border:1px solid var(--fcs-line);border-radius:9px;padding:9px}.fcs-metric span{display:block;font-size:10px;color:var(--fcs-muted)}.fcs-metric strong{font-size:13px}.fcs-chart{width:100%;height:auto;max-height:170px;display:block;margin:10px 0}.fcs-formula{font-size:11px;color:#536579;border-top:1px solid var(--fcs-line);padding-top:10px;margin-top:10px}.fcs-output-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:12px}.fcs-output-actions button{border:1px solid #cbd5e1;background:#fff;border-radius:7px;padding:7px 9px;font-size:11px;cursor:pointer}.fcs-modal-foot{display:flex;justify-content:space-between;gap:10px;align-items:center;border-top:1px solid var(--fcs-line);padding:12px 24px;font-size:10px;color:var(--fcs-muted)}.fcs-save-report{background:#e8f3ef;color:var(--fcs-brand);font-size:11px}.fcs-toast{position:fixed;z-index:1000000;bottom:18px;left:50%;transform:translateX(-50%);background:#172b4d;color:#fff;padding:10px 15px;border-radius:9px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s}.fcs-toast.show{opacity:1}.fcs-app button:focus-visible,.fcs-app input:focus-visible,.fcs-app select:focus-visible{outline:3px solid #68b7a5;outline-offset:2px}@media(max-width:900px){.fcs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fcs-layout{grid-template-columns:190px minmax(0,1fr)}}@media(max-width:650px){.fcs-hero{padding:23px 19px}.fcs-toolbar{grid-template-columns:1fr 1fr}.fcs-search-wrap{grid-column:1/-1}.fcs-favorites-toggle{min-height:42px}.fcs-layout{grid-template-columns:1fr}.fcs-sidebar{padding:12px}.fcs-category-nav{display:flex;overflow:auto;padding-bottom:3px}.fcs-category-nav button{white-space:nowrap}.fcs-privacy{display:none}.fcs-grid{grid-template-columns:1fr 1fr;gap:8px}.fcs-card{padding:11px;min-height:158px}.fcs-modal-body{grid-template-columns:1fr;padding:8px 16px 18px}.fcs-modal-head{padding:18px 16px 10px}.fcs-modal-description{padding:0 16px}.fcs-modal-foot{padding:11px 16px;align-items:flex-start;flex-direction:column}.fcs-fields{gap:10px}}@media(max-width:390px){.fcs-grid{grid-template-columns:1fr}.fcs-fields{grid-template-columns:1fr}}

/* v2 command-centre and analysis workspace */
.fcs-command{background:#fff;border:1px solid var(--fcs-line);border-radius:16px;padding:20px;margin:16px 0 20px;box-shadow:0 8px 26px #173b3508}.fcs-command-head{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.fcs-command-kicker{font-size:10px;font-weight:900;letter-spacing:1.4px;color:var(--fcs-brand)}.fcs-command-head h3{margin:3px 0;font-size:20px}.fcs-command-head p{margin:0;color:var(--fcs-muted);font-size:12px}.fcs-local-pill{font-size:10px;color:#176d60;background:#e7f4f0;padding:6px 9px;border-radius:30px;white-space:nowrap}.fcs-snapshot-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:16px}.fcs-snapshot-grid label{font-size:11px;font-weight:700;color:#42546d;display:grid;grid-template-columns:1fr auto;gap:5px}.fcs-snapshot-grid label span{color:#8290a1}.fcs-snapshot-grid input{grid-column:1/-1;width:100%;min-height:39px;border:1px solid var(--fcs-line);border-radius:8px;padding:8px 10px;font:inherit}.fcs-snapshot-actions{display:flex;align-items:center;gap:10px;margin-top:12px}.fcs-snapshot-actions button{border:0;border-radius:8px;padding:9px 13px;font-weight:700;cursor:pointer}.fcs-snapshot-run{background:var(--fcs-brand);color:#fff}.fcs-snapshot-clear{background:#f1f5f9;color:#42546d}.fcs-snapshot-actions span{font-size:10px;color:var(--fcs-muted)}.fcs-snapshot-results{margin-top:15px;border-top:1px solid var(--fcs-line);padding-top:14px}.fcs-snapshot-metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.fcs-snapshot-metrics>div{background:#f6faf9;border:1px solid #e0eee9;border-radius:9px;padding:10px}.fcs-snapshot-metrics small,.fcs-snapshot-metrics strong{display:block}.fcs-snapshot-metrics small{font-size:10px;color:var(--fcs-muted)}.fcs-snapshot-metrics strong{font-size:17px;color:var(--fcs-brand);overflow-wrap:anywhere}.fcs-insight{margin-top:9px;background:#f7f9fc;border-radius:9px;padding:11px}.fcs-insight p{margin:3px 0;font-size:12px}.fcs-insight small{font-size:10px;color:var(--fcs-muted)}.fcs-scenario{border:1px solid #dce8e4;background:#fff;border-radius:10px;padding:11px;margin:12px 0}.fcs-scenario>div strong,.fcs-scenario>div small{display:block}.fcs-scenario>div small{font-size:10px;color:var(--fcs-muted);margin:2px 0 8px}.fcs-scenario table{border-collapse:collapse;width:100%;font-size:10px}.fcs-scenario th,.fcs-scenario td{padding:7px 5px;border-top:1px solid var(--fcs-line);text-align:left}.fcs-scenario th{color:var(--fcs-muted)}.fcs-history{border:1px solid var(--fcs-line);border-radius:13px;padding:14px;margin:20px 0;background:#fff;display:grid;grid-template-columns:1fr auto;gap:8px}.fcs-history h3{font-size:15px;margin:0}.fcs-history p{font-size:10px;color:var(--fcs-muted);margin:2px 0}.fcs-history-clear{border:1px solid var(--fcs-line);background:#fff;border-radius:7px;padding:6px 9px;font-size:10px;cursor:pointer}.fcs-history-list{grid-column:1/-1;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;font-size:11px;color:var(--fcs-muted)}.fcs-history-item{border:1px solid var(--fcs-line);background:#fbfdfc;border-radius:8px;padding:8px 10px;display:flex;justify-content:space-between;gap:8px;text-align:left;cursor:pointer}.fcs-history-item span,.fcs-history-item small{display:block}.fcs-history-item small{font-size:9px;color:var(--fcs-muted)}.fcs-history-item b{color:var(--fcs-brand);white-space:nowrap}@media(max-width:800px){.fcs-snapshot-grid{grid-template-columns:repeat(2,1fr)}.fcs-snapshot-metrics{grid-template-columns:repeat(2,1fr)}}@media(max-width:520px){.fcs-command-head{display:block}.fcs-local-pill{display:inline-block;margin-top:9px}.fcs-snapshot-grid{grid-template-columns:1fr 1fr}.fcs-history-list{grid-template-columns:1fr}.fcs-scenario table{font-size:9px}}

/* v3 government reference desk + professional infographic outputs */
.fcs-data-dashboard{background:linear-gradient(135deg,#f3f8f7,#fff);border:1px solid #dbe9e4;border-radius:17px;padding:19px 20px;margin:16px 0 20px}.fcs-data-head{display:flex;justify-content:space-between;align-items:flex-start;gap:12px}.fcs-data-head h3{font-size:20px;margin:3px 0}.fcs-data-head p{font-size:12px;color:var(--fcs-muted);margin:0}.fcs-data-asof{font-size:10px;font-weight:700;color:#176d60;background:#e3f2ed;padding:6px 9px;border-radius:30px;white-space:nowrap}.fcs-data-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px;margin-top:14px}.fcs-data-card{background:#fff;border:1px solid #e0e9e6;border-radius:12px;padding:13px;min-width:0;box-shadow:0 4px 15px #123b3010}.fcs-data-card>span,.fcs-data-card>small,.fcs-data-card>a{display:block}.fcs-data-card>span{font-size:10px;color:#526176;font-weight:700}.fcs-data-card>strong{display:block;font-size:25px;line-height:1.25;color:#173c37;margin:4px 0}.fcs-data-card>small{font-size:9px;color:var(--fcs-muted);min-height:26px}.fcs-data-card>a{font-size:10px;font-weight:700;color:#176d60;text-decoration:none;margin-top:7px}.fcs-data-more{border-top:1px solid #dce8e3;margin-top:13px;padding-top:10px}.fcs-data-more summary{font-size:11px;font-weight:800;cursor:pointer;color:#176d60}.fcs-data-rate-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-top:10px}.fcs-data-rate-grid>div{background:#fff;border:1px solid #e4ece8;border-radius:8px;padding:8px;display:flex;justify-content:space-between;gap:6px;align-items:center}.fcs-data-rate-grid span{font-size:10px;color:#526176}.fcs-data-rate-grid b{font-size:11px;color:#176d60;white-space:nowrap}.fcs-data-note{font-size:10px;color:#64748b;line-height:1.55;margin:10px 0}.fcs-data-source-list{display:flex;flex-wrap:wrap;gap:12px}.fcs-data-source-list a{font-size:10px;color:#176d60;font-weight:700}.fcs-infographic{background:#fff;border:1px solid var(--fcs-line);border-radius:11px;padding:11px;margin:10px 0}.fcs-donut-wrap{display:grid;grid-template-columns:130px minmax(0,1fr);gap:9px;align-items:center}.fcs-donut-wrap>svg{width:124px;max-width:100%;height:auto}.fcs-chart-legend{display:grid;gap:5px}.fcs-chart-legend-row{display:grid;grid-template-columns:8px minmax(0,1fr) auto;gap:6px;align-items:center;font-size:9px;color:#526176}.fcs-chart-legend-row i{width:7px;height:7px;border-radius:50%}.fcs-chart-legend-row b{font-size:9px;color:#172b4d}.fcs-chart-bars{margin-top:9px;border-top:1px solid #edf1f3;padding-top:8px}.fcs-chart-bars>strong{font-size:10px;display:block;margin-bottom:6px}.fcs-bar-row{display:grid;grid-template-columns:80px minmax(40px,1fr) 85px;gap:7px;align-items:center;margin:5px 0}.fcs-bar-row>span{font-size:9px;color:#526176;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.fcs-bar-row>div{height:8px;background:#edf2f0;border-radius:20px;overflow:hidden}.fcs-bar-row>div i{display:block;height:100%;border-radius:20px}.fcs-bar-row>b{text-align:right;font-size:9px;color:#334155;white-space:nowrap}.fcs-source-note{background:#f1f7f4;border:1px solid #dcebe4;border-radius:8px;padding:9px 10px;margin:9px 0;display:grid;gap:3px}.fcs-source-note b{font-size:10px;color:#176d60}.fcs-source-note span{font-size:10px;color:#526176}.fcs-source-note a{font-size:10px;color:#176d60;font-weight:700;text-decoration:none}
@media(max-width:800px){.fcs-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fcs-data-rate-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:520px){.fcs-data-head{display:block}.fcs-data-asof{display:inline-block;margin-top:8px}.fcs-data-card>strong{font-size:22px}.fcs-donut-wrap{grid-template-columns:105px minmax(0,1fr)}.fcs-donut-wrap>svg{width:102px}.fcs-chart-legend-row{font-size:8px}.fcs-bar-row{grid-template-columns:65px minmax(30px,1fr) 75px}}

.fcs-timeline{background:#fff;border:1px solid var(--fcs-line);border-radius:10px;padding:10px;margin:10px 0}.fcs-timeline>strong{font-size:10px;display:block}.fcs-timeline svg{display:block;width:100%;height:auto;margin-top:4px}.fcs-timeline-meta{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#64748b}.fcs-timeline-meta b{color:#126b5b}.fcs-schedule{margin:9px 0;background:#fff;border:1px solid var(--fcs-line);border-radius:9px;padding:9px}.fcs-schedule summary{font-size:10px;font-weight:800;color:#176d60;cursor:pointer}.fcs-schedule-scroll{overflow:auto;max-height:220px;margin-top:8px}.fcs-schedule table{border-collapse:collapse;width:100%;font-size:9px;white-space:nowrap}.fcs-schedule th,.fcs-schedule td{padding:6px;border-bottom:1px solid #edf1f3;text-align:right}.fcs-schedule th:first-child,.fcs-schedule td:first-child{text-align:left}

/* v4 — Economic & Financial Stability Lab */
.fcs-stability-lab{margin:22px 0 26px;border:1px solid #d5e4df;border-radius:20px;background:linear-gradient(145deg,#f2f8f6 0%,#fff 48%,#f7f9fc 100%);padding:clamp(15px,2.2vw,25px);box-shadow:0 12px 38px #153c3210;color:#172b3d}.fcs-lab-intro{display:flex;justify-content:space-between;gap:15px;align-items:flex-start}.fcs-lab-intro h3{font-size:clamp(21px,2.4vw,29px);line-height:1.15;margin:5px 0 8px;color:#123d36}.fcs-lab-intro p{max-width:760px;font-size:13px;color:#586b78;margin:0;line-height:1.6}.fcs-lab-asof{white-space:nowrap;border:1px solid #d6e8e1;background:#fff;border-radius:30px;padding:7px 10px;font-size:10px;font-weight:800;color:#176d60}.fcs-lab-tabs{display:flex;gap:7px;overflow:auto;border-bottom:1px solid #dbe8e3;margin:19px 0 15px;padding-bottom:9px}.fcs-lab-tabs button{border:1px solid #d7e3df;background:#fff;border-radius:8px;padding:9px 12px;color:#526477;font-size:11px;font-weight:800;white-space:nowrap;cursor:pointer}.fcs-lab-tabs button.is-active{background:#155f52;border-color:#155f52;color:#fff}.fcs-lab-panel{display:none}.fcs-lab-panel.is-active{display:block}.fcs-lab-grid{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:16px}.fcs-lab-form,.fcs-lab-output{background:#fff;border:1px solid #e0eae6;border-radius:14px;padding:16px;min-width:0}.fcs-lab-form h4,.fcs-lab-panel h4{font-size:16px;margin:0 0 4px;color:#173e37}.fcs-lab-form>p,.fcs-lab-panel>p{font-size:11px;color:#687887;margin:0 0 13px;line-height:1.5}.fcs-lab-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fcs-lab-fields label,.fcs-stress-control label{font-size:10px;font-weight:800;color:#536475;display:grid;gap:5px}.fcs-lab-fields input,.fcs-lab-fields select,.fcs-stress-control select{width:100%;min-width:0;border:1px solid #dce6e2;border-radius:8px;min-height:38px;padding:8px 9px;background:#fff;color:#203548;font:inherit;font-size:12px}.fcs-lab-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:14px}.fcs-lab-actions button{border:0;border-radius:8px;background:#146b5b;color:#fff;padding:10px 13px;font-size:11px;font-weight:800;cursor:pointer}.fcs-lab-actions button.secondary{background:#edf3f1;color:#435b62}.fcs-lab-actions span{font-size:9px;color:#758391}.fcs-lab-empty{min-height:230px;display:grid;align-content:center;text-align:center;padding:18px;color:#506473}.fcs-lab-empty b{font-size:14px;color:#155f52}.fcs-lab-empty p{font-size:11px;max-width:280px;margin:7px auto}.fcs-lab-result-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start;border-bottom:1px solid #edf1ef;padding-bottom:12px}.fcs-lab-result-head>div:first-child>span,.fcs-lab-insight-grid article>span{font-size:9px;letter-spacing:1px;font-weight:900;color:#16816d}.fcs-lab-result-head h4{font-size:18px;margin:3px 0;color:#173d36}.fcs-lab-result-head small{font-size:9px;color:#71808d}.fcs-networth{background:#eff7f3;border:1px solid #dcece4;border-radius:10px;padding:8px 10px;min-width:105px}.fcs-networth small,.fcs-networth b{display:block}.fcs-networth small{font-size:9px;color:#64748b}.fcs-networth b{font-size:16px;color:#155f52}.fcs-lab-kpis{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:12px 0}.fcs-lab-kpis>div{background:#f7faf9;border:1px solid #e7efeb;border-radius:9px;padding:10px}.fcs-lab-kpis small,.fcs-lab-kpis b,.fcs-lab-kpis em{display:block}.fcs-lab-kpis small{font-size:9px;color:#6c7b87}.fcs-lab-kpis b{font-size:19px;color:#173d36;margin:2px 0}.fcs-lab-kpis em{font-size:9px;color:#74828e;font-style:normal}.fcs-lab-chart-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.fcs-lab-chart{border:1px solid #e7eeeb;border-radius:9px;padding:10px}.fcs-lab-chart>b{font-size:10px;color:#324d52;display:block;margin-bottom:8px}.fcs-lab-bar{display:grid;grid-template-columns:80px 1fr 64px;gap:6px;align-items:center;margin:7px 0}.fcs-lab-bar span{font-size:8px;color:#6a7b85;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.fcs-lab-bar>div{height:7px;background:#edf2ef;border-radius:10px;overflow:hidden}.fcs-lab-bar>div i{display:block;height:100%;background:linear-gradient(90deg,#207e6a,#80b9a8);border-radius:10px}.fcs-lab-bar>b{text-align:right;font-size:8px;color:#314b50;white-space:nowrap}.fcs-lab-insight-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.fcs-lab-insight-grid article{background:#f6f9fb;border:1px solid #e7edf1;border-radius:9px;padding:9px}.fcs-lab-insight-grid article>b{display:block;font-size:14px;color:#173d36;margin:3px 0}.fcs-lab-insight-grid article>p{font-size:9px;color:#667783;line-height:1.45;margin:0}.fcs-lab-flags{margin-top:10px;background:#fff8ec;border:1px solid #f1dfbd;border-radius:9px;padding:10px}.fcs-lab-flags>b{font-size:10px;color:#8a5a13}.fcs-lab-flags ul{margin:5px 0 0 15px;padding:0}.fcs-lab-flags li{font-size:9px;color:#65543c;margin:4px 0}.fcs-lab-method{margin-top:9px}.fcs-lab-method>b{font-size:9px;color:#536475}.fcs-lab-method p{font-size:9px;color:#77838d;line-height:1.5;margin:3px 0}.fcs-stress-intro{display:flex;justify-content:space-between;gap:20px;align-items:flex-start;background:#fff;border:1px solid #e1eae6;border-radius:12px;padding:14px}.fcs-stress-intro h4{font-size:16px;margin:0 0 5px;color:#173e37}.fcs-stress-intro p{font-size:11px;color:#687887;max-width:560px;margin:0;line-height:1.5}.fcs-stress-control{display:grid;grid-template-columns:1fr 1fr;gap:8px;min-width:260px}.fcs-stress-result{margin-top:12px;background:#fff;border:1px solid #e1eae6;border-radius:12px;padding:14px}.fcs-stress-kpis{display:grid;grid-template-columns:repeat(4,1fr);gap:8px}.fcs-stress-kpis>div{background:#f6faf8;border:1px solid #e4eee9;border-radius:8px;padding:10px}.fcs-stress-kpis small,.fcs-stress-kpis b{display:block}.fcs-stress-kpis small{font-size:9px;color:#6c7b87}.fcs-stress-kpis b{font-size:16px;color:#155f52;margin-top:4px}.fcs-stress-comparison{display:grid;gap:9px;margin:15px 0}.fcs-stress-comparison>div{display:grid;grid-template-columns:90px 1fr 90px;gap:9px;align-items:center}.fcs-stress-comparison span,.fcs-stress-comparison b{font-size:10px;color:#526477}.fcs-stress-comparison b{text-align:right}.fcs-stress-comparison i{display:block;height:12px;border-radius:12px;background:#3a9a83}.fcs-stress-comparison i.stress{background:#d69b43}.fcs-lab-caveat{font-size:9px;color:#75818b;line-height:1.5}.fcs-pillar-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.fcs-pillar-grid article{background:#fff;border:1px solid #e2ebe7;border-radius:10px;padding:12px}.fcs-pillar-grid article b{font-size:11px;color:#176d60}.fcs-pillar-grid article p{font-size:10px;color:#687887;line-height:1.5;margin:5px 0 0}.fcs-lab-reference{margin-top:12px;background:#edf6f2;border:1px solid #d9e9e2;border-radius:10px;padding:11px;display:grid;gap:4px}.fcs-lab-reference b{font-size:10px;color:#176d60}.fcs-lab-reference span{font-size:10px;color:#596d75;line-height:1.5}.fcs-lab-source-strip{margin-top:14px;border-top:1px solid #dce8e3;padding-top:12px;display:grid;gap:5px}.fcs-lab-source-strip>b{font-size:10px;color:#176d60}.fcs-lab-source-strip>span{font-size:11px;color:#344f55;font-weight:800}.fcs-lab-source-strip>small{font-size:9px;color:#74818a}.fcs-lab-source-strip>div{display:flex;flex-wrap:wrap;gap:8px 13px}.fcs-lab-source-strip a{font-size:9px;color:#176d60;font-weight:800;text-decoration:none}
@media(max-width:900px){.fcs-lab-grid{grid-template-columns:1fr}.fcs-stress-intro{display:block}.fcs-stress-control{margin-top:12px}.fcs-stress-kpis{grid-template-columns:repeat(2,1fr)}}@media(max-width:560px){.fcs-lab-intro{display:block}.fcs-lab-asof{display:inline-block;margin-top:9px}.fcs-lab-fields{grid-template-columns:1fr 1fr;gap:8px}.fcs-lab-form,.fcs-lab-output{padding:11px}.fcs-lab-chart-grid{grid-template-columns:1fr}.fcs-lab-bar{grid-template-columns:70px 1fr 58px}.fcs-lab-insight-grid{grid-template-columns:1fr 1fr}.fcs-stress-control{grid-template-columns:1fr}.fcs-pillar-grid{grid-template-columns:1fr}.fcs-stress-comparison>div{grid-template-columns:70px 1fr 75px}}

/* Personal financial profile dashboard */
.fcs-profile-dashboard{margin:18px 0 22px;padding:20px;background:linear-gradient(135deg,#f5faf8 0%,#fff 58%,#f2f7fb 100%);border:1px solid #dce9e3;border-radius:18px;box-shadow:0 12px 34px #163c3210;color:#193b36}.fcs-profile-top{display:flex;justify-content:space-between;gap:16px;align-items:flex-start}.fcs-profile-kicker{font-size:9px;font-weight:900;letter-spacing:1.5px;color:#197363}.fcs-profile-top h3{font-size:21px;margin:3px 0;color:#183c35}.fcs-profile-top p{font-size:11px;color:#6b7d80;margin:0;max-width:560px}.fcs-profile-actions{display:flex;align-items:center;gap:9px}.fcs-profile-local{font-size:9px;color:#197363;background:#e5f3ee;padding:7px 9px;border-radius:30px;white-space:nowrap}.fcs-profile-actions button,.fcs-profile-editor-actions button,.fcs-profile-export{border:0;border-radius:8px;padding:9px 13px;font-size:10px;font-weight:800;cursor:pointer}.fcs-profile-edit,.fcs-profile-save{background:#126b5b;color:#fff}.fcs-profile-overview{display:grid;grid-template-columns:1fr minmax(170px,250px);gap:20px;align-items:center;padding:16px 0 14px}.fcs-profile-person{display:flex;align-items:center;gap:12px;min-width:0}.fcs-profile-avatar{width:48px;height:48px;flex:0 0 48px;border-radius:15px;background:linear-gradient(145deg,#126b5b,#62a895);display:grid;place-items:center;color:white;font-size:17px;font-weight:900;box-shadow:0 5px 14px #126b5b25}.fcs-profile-person strong,.fcs-profile-person span,.fcs-profile-person small{display:block}.fcs-profile-person strong{font-size:14px;color:#173e37;overflow-wrap:anywhere}.fcs-profile-person span{font-size:10px;color:#6b7d80;margin-top:2px}.fcs-profile-person small{font-size:9px;color:#197363;margin-top:5px;font-weight:700}.fcs-profile-completion>div:first-child{display:flex;justify-content:space-between;gap:8px;font-size:9px;color:#667a7b;margin-bottom:7px}.fcs-profile-completion b{font-size:11px;color:#126b5b}.fcs-profile-progress{height:8px;background:#e4ece8;border-radius:20px;overflow:hidden}.fcs-profile-progress i{display:block;height:100%;width:0;background:linear-gradient(90deg,#126b5b,#7bb9a4);border-radius:20px;transition:width .25s}.fcs-profile-kpis{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px}.fcs-profile-kpis article{background:#fff;border:1px solid #e3ece8;border-radius:11px;padding:12px;min-width:0}.fcs-profile-kpis small,.fcs-profile-kpis b,.fcs-profile-kpis em{display:block}.fcs-profile-kpis small{font-size:9px;color:#71817f}.fcs-profile-kpis b{font-size:17px;color:#155f52;margin:5px 0;overflow-wrap:anywhere}.fcs-profile-kpis em{font-size:8px;color:#87938f;font-style:normal;line-height:1.4}.fcs-profile-editor{margin-top:14px;padding:15px;background:#fff;border:1px solid #dce9e3;border-radius:12px}.fcs-profile-editor-head{display:flex;justify-content:space-between;gap:10px;align-items:flex-start}.fcs-profile-editor-head h4{font-size:14px;margin:0 0 4px;color:#183c35}.fcs-profile-editor-head p{font-size:9px;color:#788681;margin:0}.fcs-profile-close{border:0;background:#f0f5f2;color:#49615a;border-radius:8px;width:29px;height:29px;font-size:19px;cursor:pointer}.fcs-profile-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:13px}.fcs-profile-fields label{display:grid;gap:5px;font-size:9px;font-weight:800;color:#526a65}.fcs-profile-fields input,.fcs-profile-fields select{width:100%;min-width:0;min-height:37px;border:1px solid #dce7e2;border-radius:7px;background:#fff;padding:7px 9px;font:inherit;font-size:10px;color:#263d39}.fcs-profile-editor-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-top:13px}.fcs-profile-editor-actions .fcs-profile-clear{background:#f1f4f3;color:#5e6e69}.fcs-profile-editor-actions span{font-size:9px;color:#84908c}.fcs-profile-goal-progress{margin-top:12px;padding:12px 13px;background:#fff;border:1px solid #e3ece8;border-radius:11px}.fcs-profile-goal-progress>div:first-child{display:flex;justify-content:space-between;gap:12px;align-items:center}.fcs-profile-goal-progress b{font-size:10px;color:#244d43}.fcs-profile-goal-progress span{font-size:9px;color:#778780}.fcs-profile-goal-head strong{font-size:12px;color:#126b5b}.fcs-profile-goal-meta{display:flex;justify-content:space-between;gap:10px;margin-top:6px}.fcs-profile-goal-progress>small{display:block;font-size:9px;color:#7b8983;margin-top:7px}.fcs-profile-foot{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:11px}.fcs-profile-foot>span{font-size:8px;color:#87938e;line-height:1.4}.fcs-profile-export{background:transparent;border:1px solid #d7e5df;color:#28695d;white-space:nowrap}
@media(max-width:760px){.fcs-profile-top{display:block}.fcs-profile-actions{margin-top:11px;justify-content:space-between}.fcs-profile-overview{grid-template-columns:1fr}.fcs-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.fcs-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:460px){.fcs-profile-dashboard{padding:14px}.fcs-profile-kpis b{font-size:15px}.fcs-profile-fields{grid-template-columns:1fr}.fcs-profile-foot{align-items:flex-start;flex-direction:column}.fcs-profile-goal-meta{display:grid}}


/* v4.2.0 — mobile-first responsive hardening and crawlable SEO content */
.fcs-app{width:min(100% - 32px,1240px);min-width:0;overflow-wrap:anywhere}
.fcs-app img,.fcs-app svg,.fcs-app canvas{max-width:100%;height:auto}
.fcs-app input,.fcs-app select,.fcs-app textarea,.fcs-app button{font:inherit;max-width:100%}
.fcs-app button,.fcs-app .fcs-category-nav button,.fcs-app .fcs-open,.fcs-app .fcs-calculate,.fcs-app .fcs-reset,.fcs-app .fcs-save-report{touch-action:manipulation}
.fcs-modal-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.fcs-category-nav{scrollbar-width:thin;scroll-snap-type:x proximity}
.fcs-category-nav button{scroll-snap-align:start}
.fcs-profile-fields input,.fcs-profile-fields select,.fcs-snapshot-grid input,.fcs-lab-fields input,.fcs-lab-fields select,.fcs-fields input,.fcs-fields select{font-size:16px;min-height:44px}
.fcs-app .fcs-seo-content{margin:28px 0 10px;padding:clamp(18px,3vw,30px);background:#fff;border:1px solid #e2e8f0;border-radius:18px;color:#263b4d}
.fcs-seo-intro{max-width:850px;margin-bottom:20px}
.fcs-seo-eyebrow{font-size:10px;font-weight:900;letter-spacing:1.5px;color:#176d60}
.fcs-seo-content h2{font-size:clamp(21px,2.6vw,28px);line-height:1.2;color:#173d36;margin:7px 0 10px}
.fcs-seo-content h3{font-size:16px;line-height:1.3;color:#214b42;margin:0 0 8px}
.fcs-seo-content p{font-size:14px;line-height:1.7;color:#596b78;margin:0 0 12px}
.fcs-seo-grid,.fcs-seo-category-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0 24px}
.fcs-seo-grid article,.fcs-seo-category-grid article{min-width:0;padding:16px;border:1px solid #e4ece8;border-radius:12px;background:#f9fbfa}
.fcs-seo-grid article p,.fcs-seo-category-grid article p{font-size:13px;margin:0}
.fcs-seo-directory,.fcs-seo-method,.fcs-seo-faq{margin-top:24px;padding-top:20px;border-top:1px solid #e5ece9}
.fcs-seo-faq details{border:1px solid #e3ebe7;border-radius:10px;padding:12px 14px;margin:8px 0;background:#fbfdfc}
.fcs-seo-faq summary{cursor:pointer;font-size:14px;font-weight:800;color:#244d43;line-height:1.45}
.fcs-seo-faq details p{margin:10px 0 0;font-size:13px}
.fcs-seo-independence{font-size:12px!important;border-top:1px solid #e5ece9;padding-top:14px;margin-top:20px!important}
.fcs-app :target{scroll-margin-top:100px}
@media(max-width:900px){
 .fcs-app{width:min(100% - 28px,1240px)}
 .fcs-toolbar{grid-template-columns:minmax(0,1fr) minmax(160px,220px) auto}
 .fcs-layout{grid-template-columns:1fr;gap:12px}
 .fcs-sidebar{position:relative;min-width:0}
 .fcs-category-nav{display:flex;overflow-x:auto;gap:6px;padding:2px 1px 8px}
 .fcs-category-nav button{flex:0 0 auto;min-height:42px;white-space:nowrap}
 .fcs-privacy{display:none}
 .fcs-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-modal-panel{width:min(760px,100%)}
}
@media(max-width:640px){
 .fcs-app{width:calc(100% - 24px);margin:12px auto 22px;font-size:15px}
 .fcs-hero{padding:22px 18px;border-radius:14px}
 .fcs-hero h2{font-size:clamp(24px,7vw,32px)}
 .fcs-hero p{font-size:14px;line-height:1.6}
 .fcs-hero-meta{gap:6px;margin-top:14px}
 .fcs-hero-meta span{font-size:11px;padding:6px 9px}
 .fcs-toolbar{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}
 .fcs-search-wrap{grid-column:1/-1}
 .fcs-toolbar input,.fcs-toolbar select,.fcs-favorites-toggle,.fcs-sort{min-height:46px;font-size:16px}
 .fcs-results-heading{align-items:flex-start}
 .fcs-results-heading h3{font-size:18px}
 .fcs-sort{max-width:145px}
 .fcs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .fcs-card{min-height:0;padding:12px;border-radius:11px}
 .fcs-card h4{font-size:13px;line-height:1.35}
 .fcs-card p{font-size:11px;line-height:1.45}
 .fcs-card-bottom{align-items:flex-start;flex-direction:column}
 .fcs-open{width:100%;min-height:42px}
 .fcs-fav{min-width:40px;min-height:40px}
 .fcs-command,.fcs-profile-dashboard{padding:14px;border-radius:14px}
 .fcs-command-head{display:block}
 .fcs-local-pill{display:inline-block;margin-top:9px}
 .fcs-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
 .fcs-snapshot-grid label{font-size:11px}
 .fcs-snapshot-actions{flex-wrap:wrap}
 .fcs-snapshot-actions button{min-height:44px}
 .fcs-snapshot-actions span{flex-basis:100%}
 .fcs-snapshot-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-profile-top{display:block}
 .fcs-profile-actions{display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:12px}
 .fcs-profile-actions button,.fcs-profile-editor-actions button,.fcs-profile-export{min-height:44px}
 .fcs-profile-overview{grid-template-columns:1fr;gap:12px}
 .fcs-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .fcs-profile-kpis article{padding:10px}
 .fcs-profile-kpis b{font-size:15px}
 .fcs-profile-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .fcs-profile-fields label{font-size:11px}
 .fcs-profile-editor-actions{align-items:stretch}
 .fcs-profile-editor-actions button{flex:1}
 .fcs-profile-goal-progress>div:first-child{align-items:flex-start;flex-direction:column}
 .fcs-profile-foot{align-items:flex-start;flex-direction:column}
 .fcs-profile-export{width:100%}
 .fcs-lab-intro{display:block}
 .fcs-lab-asof{display:inline-block;margin-top:8px}
 .fcs-lab-grid{grid-template-columns:1fr}
 .fcs-lab-fields{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-lab-kpis,.fcs-stress-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-lab-chart-grid{grid-template-columns:1fr}
 .fcs-lab-insight-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-stress-intro{display:block}
 .fcs-stress-control{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;margin-top:12px}
 .fcs-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .fcs-modal{padding:0;align-items:end;justify-items:stretch}
 .fcs-modal-panel{width:100%;max-height:92vh;max-height:92dvh;border-radius:18px 18px 0 0;padding-bottom:env(safe-area-inset-bottom);}
 .fcs-modal-head{padding:16px 16px 10px;position:sticky;top:0;background:#fff;z-index:2}
 .fcs-modal-head h3{font-size:20px}
 .fcs-close{width:44px;height:44px;flex:0 0 44px}
 .fcs-modal-description{padding:0 16px;font-size:13px}
 .fcs-modal-body{grid-template-columns:1fr;gap:14px;padding:6px 14px 16px}
 .fcs-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
 .fcs-field label{font-size:12px}
 .fcs-field input,.fcs-field select{font-size:16px;min-height:46px}
 .fcs-actions{position:sticky;bottom:0;background:#fff;padding:10px 0 calc(8px + env(safe-area-inset-bottom));z-index:1}
 .fcs-calculate,.fcs-reset{min-height:46px}
 .fcs-output{min-height:0;padding:13px}
 .fcs-modal-foot{padding:10px 14px 14px}
 .fcs-history{padding:14px}
 .fcs-toast{width:calc(100% - 32px);text-align:center;bottom:calc(12px + env(safe-area-inset-bottom))}
 .fcs-seo-grid,.fcs-seo-category-grid{grid-template-columns:1fr}
 .fcs-seo-content{padding:18px!important}
 .fcs-seo-content p{font-size:14px}
}
@media(max-width:380px){
 .fcs-app{width:calc(100% - 20px)}
 .fcs-grid{grid-template-columns:1fr}
 .fcs-fields,.fcs-profile-fields,.fcs-lab-fields{grid-template-columns:1fr}
 .fcs-snapshot-grid,.fcs-profile-kpis,.fcs-lab-kpis,.fcs-stress-kpis{grid-template-columns:1fr 1fr}
 .fcs-stress-control{grid-template-columns:1fr}
 .fcs-pillar-grid,.fcs-lab-insight-grid{grid-template-columns:1fr}
 .fcs-modal-body{padding-left:12px;padding-right:12px}
}
@media(prefers-reduced-motion:reduce){.fcs-app *, .fcs-app *::before,.fcs-app *::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
@media print{.fcs-toolbar,.fcs-sidebar,.fcs-modal,.fcs-profile-actions,.fcs-profile-editor,.fcs-profile-export,.fcs-snapshot-actions,.fcs-seo-faq summary{display:none!important}.fcs-app{width:100%;max-width:none;margin:0}.fcs-card,.fcs-profile-dashboard,.fcs-command,.fcs-seo-content{break-inside:avoid;box-shadow:none}}

/* v4.3.0 — dedicated mobile usability pass (keeps the v3 plugin identity) */
.fcs-app,
.fcs-app *{box-sizing:border-box}
.fcs-app{max-width:100%;min-width:0;overflow-x:clip;isolation:isolate}
.fcs-app :where(.fcs-hero,.fcs-toolbar,.fcs-layout,.fcs-main,.fcs-sidebar,.fcs-grid,.fcs-card,.fcs-command,.fcs-profile-dashboard,.fcs-profile-overview,.fcs-lab-grid,.fcs-lab-chart-grid,.fcs-modal-panel,.fcs-modal-body,.fcs-output,.fcs-seo-content){min-width:0}
.fcs-app :where(input,select,textarea){width:100%;min-width:0;max-width:100%;}
.fcs-app :where(button){max-width:100%;white-space:normal;line-height:1.35;}
.fcs-app :where(canvas,svg,img){max-width:100%;}
.fcs-app :where(a,button,input,select,textarea,[tabindex]):focus-visible{outline:3px solid #16836f;outline-offset:2px;}
.fcs-app .fcs-category-nav{overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;}
.fcs-app .fcs-category-nav button{flex-shrink:0;}
.fcs-app .fcs-modal{overscroll-behavior:contain;}
.fcs-app .fcs-modal-panel{overflow-y:auto;overscroll-behavior:contain;}
.fcs-app .fcs-actions{display:flex;flex-wrap:wrap;gap:8px;}
.fcs-app .fcs-actions > button{flex:1 1 130px;}
.fcs-app .fcs-card-bottom{min-width:0;}
.fcs-app .fcs-profile-actions{min-width:0;}
.fcs-app .fcs-profile-actions > *{max-width:100%;}
.fcs-app .fcs-toast{max-width:calc(100vw - 24px);}

@media(max-width:760px){
 .fcs-app{width:calc(100% - 24px);margin-inline:auto;}
 .fcs-app .fcs-layout{display:flex;flex-direction:column;}
 .fcs-app .fcs-sidebar{width:100%;max-width:100%;}
 .fcs-app .fcs-category-nav{width:100%;max-width:100%;}
 .fcs-app .fcs-toolbar{width:100%;}
 .fcs-app .fcs-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .fcs-app .fcs-modal{align-items:flex-end;}
 .fcs-app .fcs-modal-panel{width:100%;max-width:100%;max-height:min(92dvh,900px);border-radius:18px 18px 0 0;}
 .fcs-app .fcs-modal-body{min-width:0;}
}
@media(max-width:520px){
 .fcs-app{width:calc(100% - 20px);margin-block:10px 20px;}
 .fcs-app .fcs-hero{padding:20px 16px;}
 .fcs-app .fcs-toolbar{grid-template-columns:minmax(0,1fr);}
 .fcs-app .fcs-search-wrap{grid-column:auto;}
 .fcs-app .fcs-toolbar :where(input,select,button){width:100%;min-height:46px;}
 .fcs-app .fcs-results-heading{flex-wrap:wrap;gap:8px;}
 .fcs-app .fcs-sort{width:100%;max-width:none;}
 .fcs-app .fcs-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;}
 .fcs-app .fcs-card{padding:10px;}
 .fcs-app .fcs-card h4{overflow-wrap:anywhere;}
 .fcs-app .fcs-card-bottom{gap:8px;}
 .fcs-app .fcs-open{width:100%;min-height:44px;}
 .fcs-app .fcs-fav{min-width:44px;min-height:44px;}
 .fcs-app .fcs-fields,
 .fcs-app .fcs-profile-fields,
 .fcs-app .fcs-lab-fields{grid-template-columns:minmax(0,1fr);}
 .fcs-app .fcs-snapshot-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .fcs-app .fcs-lab-kpis,
 .fcs-app .fcs-stress-kpis,
 .fcs-app .fcs-profile-kpis{grid-template-columns:repeat(2,minmax(0,1fr));}
 .fcs-app .fcs-lab-insight-grid,
 .fcs-app .fcs-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .fcs-app .fcs-actions{position:sticky;bottom:0;z-index:4;margin-inline:-2px;padding:10px 2px calc(10px + env(safe-area-inset-bottom));background:rgba(255,255,255,.97);backdrop-filter:blur(8px);}
 .fcs-app .fcs-actions > button{min-height:46px;}
 .fcs-app .fcs-modal-foot{padding-bottom:calc(14px + env(safe-area-inset-bottom));}
 .fcs-app .fcs-seo-content{overflow-wrap:anywhere;}
}
@media(max-width:360px){
 .fcs-app{width:calc(100% - 16px);}
 .fcs-app .fcs-grid{grid-template-columns:minmax(0,1fr);}
 .fcs-app .fcs-snapshot-grid,
 .fcs-app .fcs-profile-kpis,
 .fcs-app .fcs-lab-kpis,
 .fcs-app .fcs-stress-kpis,
 .fcs-app .fcs-lab-insight-grid,
 .fcs-app .fcs-pillar-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
 .fcs-app .fcs-hero h2{font-size:24px;}
}
@media(hover:none) and (pointer:coarse){
 .fcs-app :where(button,.fcs-category-nav button,.fcs-open,.fcs-fav,.fcs-close){min-height:44px;}
}
@media(orientation:landscape) and (max-height:520px) and (max-width:900px){
 .fcs-app .fcs-modal-panel{max-height:96dvh;}
 .fcs-app .fcs-modal-head{position:sticky;top:0;z-index:5;}
}
