.tools-panel{margin:0 0 16px;padding:17px 18px;border:1px solid var(--line);border-radius:13px;background:#fff;box-shadow:var(--shadow)}.tools-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:13px}.tools-heading h3{font:700 14px sans-serif;margin:4px 0 0;color:#2d4650}.snapshot-pill{border-radius:99px;background:#eef5f3;color:#4c7a70;padding:6px 9px;font-size:8px;font-weight:700;letter-spacing:.04em}.tools-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:18px}.currency-tools,.export-tools{min-width:0}.functional-summary{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;padding:9px 10px;border-radius:8px;background:#f5f8f8}.functional-summary span{font-size:8px;letter-spacing:.12em;font-weight:700;color:#849298}.functional-summary strong{font-size:10px;color:#305c54}.currency-tools .field,.export-tools .field{margin-bottom:9px}.currency-tools .field>span,.export-tools .field>span{font-size:9px}.currency-tools .field input,.currency-tools .field select,.export-tools .field select{height:32px;font-size:10px}.fx-entry-row{gap:8px}.fx-entry-row .field:last-child{flex:1.2}.fx-entry-row .field:first-child{flex:1}.fx-actions{display:flex;align-items:center;gap:9px;min-height:29px}.fx-status{font-size:9px;color:#71847f;line-height:1.4}.fx-status.error{color:#a95751}.fx-status.success{color:#34745f}.export-buttons{display:flex;flex-wrap:wrap;gap:7px}.export-button{padding:8px 10px;font-size:9px}.export-primary{background:#155b56;color:#fff;border-color:#155b56}.export-primary:hover{background:#0f4945;color:#fff}.report-preview{margin:9px 0 0;color:#6e7d83;font-size:9px;line-height:1.5}.export-status{min-height:13px;margin:4px 0 0;color:#35715e;font-size:9px}.export-status.error{color:#a95751}.fx-advanced{margin-top:14px;padding-top:12px;border-top:1px solid #edf0f2}.fx-advanced summary{cursor:pointer;color:#436a63;font-size:10px;font-weight:700}.fx-advanced summary small{margin-left:6px;color:#9aa6aa;font-size:8px;font-weight:500}.fx-explainer{max-width:950px;margin:10px 0;color:#77858b;font-size:9px;line-height:1.55}.fx-exposure-grid{display:grid;grid-template-columns:repeat(5,minmax(130px,1fr));gap:8px}.fx-category{padding:9px;border:1px solid #edf0f1;border-radius:8px;background:#fbfcfc;display:grid;gap:7px}.fx-category>strong{font-size:9px;color:#365b56}.fx-category label{display:grid;gap:4px;color:#819096;font-size:8px}.fx-category input{width:100%;height:27px;border:1px solid #dfe6e7;border-radius:5px;background:#fff;padding:0 6px;font:9px sans-serif;color:#30434c}.fx-stress-control{display:flex;align-items:flex-end;gap:12px;margin-top:9px}.fx-stress-control .field{width:190px;margin:0}.fx-stress-control .field input{height:29px}.fx-stress-control>small{max-width:570px;padding-bottom:6px;color:#869398;font-size:8px;line-height:1.5}.fx-exposure-results{margin-top:10px;overflow:auto}.fx-exposure-results table{width:100%;border-collapse:collapse;font-size:9px}.fx-exposure-results th,.fx-exposure-results td{padding:7px 8px;border-bottom:1px solid #edf0f2;text-align:right;white-space:nowrap}.fx-exposure-results th:first-child,.fx-exposure-results td:first-child{text-align:left}.fx-exposure-results th{color:#75868a;background:#f7f9f9}.fx-exposure-notice{margin:6px 0 0;color:#89969b;font-size:8px;line-height:1.45}
@media(max-width:1100px){.fx-exposure-grid{grid-template-columns:repeat(3,minmax(130px,1fr))}.tools-heading{align-items:flex-start}}
@media(max-width:760px){.tools-panel{padding:13px 11px}.tools-grid{grid-template-columns:1fr;gap:13px}.tools-heading{align-items:flex-start;flex-direction:column}.snapshot-pill{font-size:7px}.functional-summary{align-items:flex-start;flex-direction:column;gap:4px}.export-buttons{display:grid;grid-template-columns:1fr}.fx-exposure-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.fx-category:last-child{grid-column:1/-1}.fx-stress-control{align-items:flex-start;flex-direction:column;gap:5px}.fx-stress-control .field{width:100%}.fx-advanced summary{line-height:1.5}.fx-advanced summary small{display:block;margin:4px 0 0}}
.chart-fx-note{margin:36px 10px;color:#a35e54;font-size:10px;text-align:center;line-height:1.5}
.currency-shortcuts{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin:-2px 0 8px}
.currency-shortcuts>span{margin-right:2px;color:#87949a;font-size:9px}
.currency-shortcuts button{min-width:39px;padding:5px 8px;border:1px solid #dbe5e4;border-radius:999px;background:#fff;color:#315952;font:700 9px sans-serif;cursor:pointer}
.currency-shortcuts button[aria-pressed="true"]{border-color:#155b56;background:#eaf3f1;color:#155b56}
.currency-shortcuts button:focus-visible{outline:2px solid #66a99c;outline-offset:2px}
.currency-guidance{margin:-2px 0 9px;color:#78888d;font-size:9px;line-height:1.45}
#project-currency-guidance{margin:-3px 0 11px}

/* International setup and explicit functional-currency change controls. */
.app-shell{max-width:1840px}
.workspace{grid-template-columns:minmax(300px,360px) minmax(0,1fr);gap:24px;padding-left:clamp(18px,2.2vw,38px);padding-right:clamp(18px,2.2vw,38px)}
.input-section{padding-top:18px;padding-bottom:20px}
.field input,.field select{min-width:0;max-width:100%}
.currency-guidance-row{display:flex;align-items:flex-start;gap:10px;margin:0 0 12px}
.currency-guidance-row .field-hint{flex:1;margin:0}
.text-button{flex:none;border:0;padding:0;background:none;color:#16786d;font:700 9px/1.4 sans-serif;text-align:right;cursor:pointer}
.text-button:hover{text-decoration:underline}
.text-button[hidden]{display:none}
.currency-change-dialog{width:min(560px,calc(100vw - 28px));max-width:none;border:1px solid #dce5e6;border-radius:16px;padding:0;color:var(--ink);box-shadow:0 28px 90px rgba(18,42,50,.24)}
.currency-change-dialog::backdrop{background:rgba(12,31,38,.48);backdrop-filter:blur(2px)}
.currency-dialog-content{padding:25px}
.currency-dialog-content h2{margin:8px 0 9px;font:700 21px/1.2 sans-serif;letter-spacing:-.03em;color:#1d3942}
.currency-dialog-content>p{margin:0 0 16px;color:#63747a;font-size:12px;line-height:1.6}
.currency-conversion-box{padding:14px 15px 9px;background:#f5f8f8;border:1px solid #e5ebec;border-radius:10px}
.currency-conversion-box .field{margin-bottom:5px}
.currency-conversion-box .field>span{font-size:10px}
.currency-conversion-box .field input{height:40px;font-size:14px}
.currency-conversion-box>small{display:block;color:#76868b;font-size:10px;line-height:1.5}
.currency-conversion-error{min-height:15px;margin:5px 0 0;color:#a95751;font-size:10px}
.currency-dialog-actions{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:16px}
.currency-dialog-actions .button{min-height:38px}
.currency-dialog-actions .export-primary{color:#fff}
@media(min-width:1500px){.workspace{grid-template-columns:minmax(320px,380px) minmax(0,1fr);gap:28px}.tools-grid{grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:22px}.field input,.field select{height:38px;font-size:12px}}
@media(min-width:761px) and (max-width:1100px){.workspace{grid-template-columns:minmax(260px,310px) minmax(0,1fr);gap:16px}.tools-grid{grid-template-columns:1fr}.input-section{padding-left:16px;padding-right:16px}}
@media(max-width:760px){.workspace{padding-left:12px;padding-right:12px}.currency-guidance-row{display:block}.currency-guidance-row .text-button{margin-top:7px}.currency-dialog-content{padding:20px 17px}.currency-dialog-content h2{font-size:19px}.currency-dialog-actions{display:grid;grid-template-columns:1fr}.currency-dialog-actions .button{width:100%}}
