.app-sidebar .interest-calculator-entry { width:100%; border:0; background:transparent; text-align:left; font:inherit; cursor:pointer; }
.interest-dialog .el-dialog__body { max-height:calc(92dvh - 150px); overflow:auto; }
.interest-dialog label { display:flex; flex-direction:column; gap:6px; font-size:13px; color:var(--text-regular); }
.interest-dialog .el-select { width:100%; }
.interest-intro { margin:0 0 16px; padding:12px 14px; color:var(--text); background:var(--primary-pale); line-height:1.7; }
.interest-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.interest-help { color:var(--text-secondary); font-size:12px; line-height:1.7; }
.interest-segments { display:grid; gap:12px; margin:16px 0; }
.interest-segment { border:1px solid var(--border); border-radius:8px; padding:14px; }
.interest-segment-head { display:flex; align-items:center; justify-content:space-between; margin-bottom:10px; }
.interest-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.interest-actions { display:flex; gap:8px; margin:14px 0; }
.interest-actions .el-button + .el-button { margin-left:0; }
.interest-error { padding:10px 12px; background:#fff1f1; color:#a12424; border-radius:4px; }
.interest-result { margin-top:20px; border-top:1px solid var(--border); padding-top:16px; }
.interest-result-head { display:flex; align-items:center; justify-content:space-between; gap:12px; }
.interest-result-head span,.interest-result-head strong { display:block; }
.interest-result-head strong { color:var(--primary); font-size:25px; margin-top:4px; }
.interest-table-wrap { overflow:auto; }
.interest-result table { width:100%; border-collapse:collapse; font-size:13px; min-width:780px; }
.interest-result th,.interest-result td { border-bottom:1px solid var(--border); text-align:left; padding:10px 8px; white-space:nowrap; }
.interest-result th { color:var(--text-secondary); background:var(--bg); font-weight:500; }
@media(max-width:767px) { .interest-grid,.interest-options { grid-template-columns:repeat(2,minmax(0,1fr)); } .interest-dialog .el-dialog__body { max-height:calc(88dvh - 130px); } }

.interest-page { max-width:1100px; margin:0 auto; padding:24px; background:#fff; border:1px solid var(--border); border-radius:10px; }
.interest-page h1 { margin:0 0 18px; }
.interest-mode { max-width:240px; margin-bottom:16px; }
@media(max-width:767px) { .interest-page { padding:16px; } }

.interest-tool-tabs { max-width:1100px; margin:0 auto 16px; display:flex; flex-wrap:wrap; gap:8px; }
.interest-tool-tabs .el-button + .el-button { margin-left:0; }
/* Calculator workspace: scoped to the standalone calculation page. */
.calculator-workspace { max-width:1180px; margin:0 auto; padding:34px 28px 64px; color:#1d354d; }
.calculator-header { display:flex; justify-content:space-between; align-items:flex-end; gap:20px; margin-bottom:24px; }
.calculator-header h1 { margin:7px 0 6px; font-size:28px; line-height:1.3; letter-spacing:.02em; color:#173755; }
.calculator-header p { margin:0; font-size:14px; color:#6c8195; line-height:1.7; }
.calculator-eyebrow { font-size:12px; letter-spacing:.08em; color:#65809a; }
.calculator-local { border:1px solid #d6e5dc; border-radius:20px; padding:6px 12px; background:#f2f8f4; color:#47715a; font-size:12px; white-space:nowrap; }
.calculator-workspace .interest-tool-tabs { max-width:none; margin:0 0 18px; padding:5px; display:inline-flex; flex-wrap:wrap; background:#e6eef6; border-radius:10px; gap:3px; }
.calculator-workspace .interest-tool-tabs .el-button { height:40px; min-width:120px; margin:0; border:0; background:transparent; color:#61768b; font-weight:600; box-shadow:none; }
.calculator-workspace .interest-tool-tabs .el-button--primary { background:#fff; color:#205e99; box-shadow:0 2px 8px #1d46651a; }
.calculator-workspace .interest-tool-tabs .el-button:focus-visible { outline:2px solid #2869a5; outline-offset:2px; }
.calculator-workspace .interest-page { max-width:none; padding:30px 32px; border:1px solid #dce7f0; border-radius:14px; background:#fff; box-shadow:0 8px 24px #2546610a; }
.calculator-workspace .interest-page > h1 { margin:0 0 16px; color:#193b5a; font-size:22px; }
.calculator-section-title { display:flex; justify-content:space-between; align-items:flex-end; gap:15px; padding-bottom:18px; margin-bottom:22px; border-bottom:1px solid #e8eff5; }
.calculator-section-title span { color:#8ca0b2; letter-spacing:.12em; font-size:11px; }
.calculator-section-title h2 { margin:4px 0 0; font-size:22px; color:#193b5a; }
.calculator-section-title p { margin:0; color:#8798a9; font-size:13px; }
.calculator-workspace .interest-mode { max-width:300px; margin-bottom:18px; }
.calculator-workspace .interest-dialog label { gap:8px; color:#52697f; font-size:13px; font-weight:600; }
.calculator-workspace .interest-dialog .el-input__wrapper,.calculator-workspace .interest-dialog .el-select__wrapper { min-height:42px; border-radius:7px; }
.calculator-workspace .interest-intro { margin:0 0 20px; padding:13px 16px; background:#f1f6fb; border-left:3px solid #4380b4; border-radius:5px; color:#526d84; font-size:13px; line-height:1.75; }
.calculator-workspace .interest-options { gap:16px 20px; margin-bottom:16px; }
.calculator-workspace .interest-help { color:#7a8d9f; font-size:12px; line-height:1.8; }
.calculator-workspace .interest-segments { gap:14px; margin:20px 0; }
.calculator-workspace .interest-segment { margin:14px 0; padding:20px; background:#fbfdff; border:1px solid #dce8f2; border-radius:10px; }
.calculator-workspace .interest-segment-head { margin-bottom:15px; color:#234965; }
.calculator-workspace .interest-grid { gap:17px; }
.calculator-workspace .interest-actions { margin:20px 0 0; gap:10px; }
.calculator-workspace .interest-actions .el-button { min-height:42px; padding:0 22px; border-radius:7px; }
.calculator-workspace .interest-result { margin-top:26px; padding:22px; border:1px solid #d7e8f3; border-radius:10px; background:#f7fbfe; }
.calculator-workspace .interest-result-head strong,.calculator-workspace .interest-result > p strong { color:#185b93; font-size:24px; }
.calculator-workspace .interest-result th { background:#eaf2f8; }
.calculator-workspace .interest-error { margin:16px 0; }
@media(max-width:767px) { .calculator-workspace { padding:20px 14px 85px; } .calculator-header { align-items:flex-start; flex-direction:column; gap:12px; } .calculator-header h1 { font-size:24px; } .calculator-workspace .interest-tool-tabs { display:flex; } .calculator-workspace .interest-tool-tabs .el-button { min-width:0; flex:1; padding:0 8px; font-size:12px; } .calculator-workspace .interest-page { padding:20px 16px; } .calculator-workspace .interest-grid,.calculator-workspace .interest-options { grid-template-columns:1fr; } .calculator-workspace .interest-segment { padding:15px; } .calculator-section-title p { display:none; } .calculator-workspace .interest-actions { flex-wrap:wrap; } }

/* r154: manual mode shares the independent workbench's form / summary layout. */
.interest-workbench .manual-interest-layout{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:24px;align-items:start}
.interest-workbench .manual-interest-inputs{min-width:0;margin:0;border-color:var(--iw-line);background:#fff}
.interest-workbench .manual-interest-inputs .calculator-section-title{padding-bottom:16px;margin-bottom:20px;align-items:center;border-color:var(--iw-line)}
.interest-workbench .manual-interest-inputs .calculator-section-title span{font-size:11px;color:var(--iw-muted);letter-spacing:.04em}
.interest-workbench .manual-interest-inputs .calculator-section-title h2{font-size:17px;margin-top:4px;color:var(--iw-ink)}
.interest-workbench .manual-interest-inputs .calculator-section-title p{font-size:12px;color:var(--iw-muted)}
.interest-workbench .manual-interest-inputs .interest-intro{font-size:12px;margin-bottom:20px;padding:12px 14px;background:#f3f7fb;color:var(--iw-muted);border-radius:4px;border-left:2px solid #85a9c8}
.interest-workbench .manual-interest-inputs .interest-mode{max-width:none;margin-bottom:16px}
.interest-workbench .manual-interest-inputs .interest-options{gap:16px;margin:20px 0 12px}
.interest-workbench .manual-interest-inputs label{font-weight:500;color:#425a6f;gap:6px;font-size:13px}
.interest-workbench .manual-interest-inputs .el-input__wrapper,.interest-workbench .manual-interest-inputs .el-select__wrapper{min-height:44px;border-radius:5px}
.interest-workbench .manual-interest-inputs .el-input__inner{min-width:0;font-variant-numeric:tabular-nums}
.interest-workbench .manual-interest-inputs .interest-help,.interest-workbench .manual-interest-details .interest-help{color:var(--iw-muted);line-height:1.8}
.interest-workbench .manual-interest-inputs .interest-help a{color:var(--iw-blue);text-underline-offset:3px}
.interest-workbench .manual-segments-heading{display:flex;justify-content:space-between;align-items:baseline;gap:12px;border-top:1px solid var(--iw-line);margin-top:24px;padding-top:20px}
.interest-workbench .manual-segments-heading h3{font-size:14px;margin:0;color:var(--iw-ink)}
.interest-workbench .manual-segments-heading>span{color:var(--iw-muted);font-size:11px;font-variant-numeric:tabular-nums}
.interest-workbench .manual-interest-inputs .interest-segments{gap:12px;margin:12px 0 20px}
.interest-workbench .manual-interest-inputs .interest-segment{margin:0;padding:16px;border:1px solid var(--iw-line);border-radius:6px;background:#fafcfe}
.interest-workbench .manual-interest-inputs .interest-segment-head{margin-bottom:16px;min-height:32px}
.interest-workbench .manual-interest-inputs .interest-segment-head strong{display:flex;gap:8px;align-items:center;font-size:13px;font-weight:600;color:var(--iw-ink)}
.interest-workbench .manual-segment-number{display:inline-block;font-size:11px;font-weight:600;background:#eaf1f7;color:var(--iw-blue);min-width:24px;line-height:24px;text-align:center;border-radius:4px}
.interest-workbench .manual-interest-inputs .interest-segment-head .el-button{min-height:44px;min-width:44px}
.interest-workbench .manual-interest-inputs .interest-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.interest-workbench .manual-calculate-actions{display:flex;gap:12px;flex-wrap:wrap;margin:20px 0 0;padding-top:20px;border-top:1px solid var(--iw-line)}
.interest-workbench .manual-calculate-actions .el-button{min-height:44px;margin:0;border-radius:5px;padding:0 18px}
.interest-workbench .manual-calculate-actions .el-button--primary{background:var(--iw-blue);border-color:var(--iw-blue);flex-grow:1}
.interest-workbench .manual-interest-details{margin:24px 0 0;padding:24px;border:1px solid var(--iw-line);border-radius:8px;background:#fff}
.interest-workbench .manual-details-heading{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px}
.interest-workbench .manual-details-heading h2{font-size:15px;margin:0;color:var(--iw-ink)}
.interest-workbench .manual-details-heading p{font-size:12px;color:var(--iw-muted);margin:4px 0 0}
.interest-workbench .manual-details-heading>span{font-size:12px;color:var(--iw-muted);white-space:nowrap}
.interest-workbench .manual-interest-details .interest-table-wrap{border:1px solid var(--iw-line);border-radius:5px;overflow:auto}
.interest-workbench .manual-interest-details table{font-variant-numeric:tabular-nums}
.interest-workbench .manual-interest-details th{background:#f4f7fa;color:var(--iw-muted);font-size:12px}
.interest-workbench .manual-interest-details td,.interest-workbench .manual-interest-details th{padding:12px;border-color:#e5ebf1}
.interest-workbench .manual-interest-details td:nth-child(2),.interest-workbench .manual-interest-details th:nth-child(2),.interest-workbench .manual-interest-details td:last-child,.interest-workbench .manual-interest-details th:last-child{text-align:right}
.interest-workbench .manual-interest-details td:last-child{font-weight:600;color:#234f73}
.interest-workbench .manual-interest-details tbody tr:hover{background:#f8fbfd}
.interest-workbench .manual-interest-details tfoot td,.interest-workbench .manual-interest-details tfoot th{border:0;background:#edf4fa;font-weight:650}
@media(max-width:1000px){.interest-workbench .manual-interest-layout{grid-template-columns:minmax(0,1fr) 300px}}
@media(max-width:800px){.interest-workbench .manual-interest-layout{grid-template-columns:1fr}.interest-workbench .manual-interest-workspace .interest-page{padding:20px}.interest-workbench .manual-interest-details{padding:20px}.interest-workbench .manual-interest-inputs .interest-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.interest-workbench .manual-interest-inputs .calculator-section-title p{display:block}}
@media(max-width:480px){.interest-workbench .manual-interest-workspace .interest-page{padding:20px 16px}.interest-workbench .manual-interest-inputs .interest-options,.interest-workbench .manual-interest-inputs .interest-grid{grid-template-columns:1fr}.interest-workbench .manual-interest-inputs .interest-segment{padding:16px 12px}.interest-workbench .manual-interest-inputs .calculator-section-title{align-items:flex-start}.interest-workbench .manual-interest-inputs .calculator-section-title p{display:none}.interest-workbench .manual-details-heading{align-items:flex-start;flex-direction:column;gap:8px}.interest-workbench .manual-calculate-actions .el-button{flex:1;padding:0 12px;min-width:0}.interest-workbench .manual-interest-details{padding:20px 16px}}
.interest-workbench .manual-interest-inputs .interest-grid .manual-full-field{grid-column:1/-1}
