.financial-keypad-section{padding-top:42px;padding-bottom:65px;scroll-margin-top:100px}.desk-heading{display:flex;justify-content:space-between;align-items:end;gap:28px;margin-bottom:28px}.desk-heading h1{font-size:42px;line-height:1.12;letter-spacing:-1.8px;margin:13px 0}.desk-heading p:not(.section-label){font-size:17px;color:var(--muted)}.desk-heading>a{font-size:14px;white-space:nowrap;margin-bottom:4px}.financial-desk{display:grid;grid-template-columns:minmax(340px,430px) minmax(0,1fr);gap:44px;align-items:start}.handheld{background:linear-gradient(135deg,#252e40,#141b2a);border:1px solid #374259;border-radius:28px;padding:25px;box-shadow:0 20px 42px #1323411a,inset 0 1px #ffffff20;color:#f5f7fd}.device-brand{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:22px}.device-brand strong{font-size:23px;letter-spacing:-1px;font-weight:650}.device-brand strong span{font-size:12px;letter-spacing:1.1px;margin-left:7px;color:#bec9db}.device-brand>span{font-size:11px;letter-spacing:.8px;color:#a6b5cf}.lcd{background:linear-gradient(140deg,#e6eedf,#d4dfcf);color:#1a3025;border:3px solid #101825;box-shadow:inset 0 2px 8px #16272025;border-radius:12px;padding:15px 16px;margin-bottom:24px;min-width:0;font-family:ui-monospace,SFMono-Regular,Consolas,monospace}.lcd:focus-visible{outline:3px solid #8dacf9;outline-offset:3px}.lcd-top{display:flex;justify-content:space-between;gap:10px;font-size:11px;letter-spacing:.2px;line-height:1.5}.lcd-top>span:first-child{font-weight:700}.lcd output{display:block;text-align:right;white-space:nowrap;font-size:clamp(23px,3.2vw,37px);letter-spacing:-1.4px;line-height:1.25;font-weight:500;padding:17px 0 10px;overflow-x:auto;font-variant-numeric:tabular-nums}#lcd-operation{font-size:11px;line-height:1.5;min-height:17px;color:#43574a}.physical-keys{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px 8px}.calc-key{height:46px;border-radius:9px;border:1px solid #4a556a;border-bottom:3px solid #0d1423;background:#384257;color:white;display:flex;align-items:center;justify-content:center;position:relative;font-size:15px;font-weight:550;box-shadow:inset 0 1px #ffffff0c;transition:background .12s,transform .12s;min-width:0}.calc-key:hover{background:#49566e}.calc-key:active{transform:translateY(2px);border-bottom-width:1px}.calc-key:focus-visible{outline:3px solid #b1c7ff;outline-offset:3px}.calc-key.number{background:#e9edf4;color:#17223b;border-color:#c6cede;border-bottom-color:#929cac;font-size:21px}.calc-key.number:hover{background:white}.calc-key.operator,.calc-key.equals,.calc-key.compute{background:#2356e6;border-color:#4574f4;border-bottom-color:#122c78}.calc-key.operator:hover,.calc-key.equals:hover,.calc-key.compute:hover{background:#386bf9}.calc-key.shift{background:#eed399;color:#352506;border-color:#f9e3b4;border-bottom-color:#8a6d36}.calc-key[aria-pressed=true]{outline:2px solid #efcf90;outline-offset:2px}.calc-key.tvm{margin-top:20px;color:#eff5ff;background:#202c44;border-color:#53617a;border-bottom-color:#0c1424}.calc-key small{position:absolute;bottom:calc(100% + 5px);color:#e3c180;font-size:11px;font-weight:500;white-space:nowrap;letter-spacing:.15px}.device-hint{font-size:12px;color:#acbad1;line-height:1.8;margin-top:21px;text-align:center}.device-hint b{color:#e8eef9}.worksheet{min-width:0}.worksheet-tabs{display:flex;gap:3px;border-bottom:1px solid var(--line);padding-bottom:9px;margin-bottom:17px}.worksheet-tabs button{font-size:14px;color:var(--muted);padding:10px 12px;background:none;border-radius:8px;line-height:1.5;white-space:nowrap}.worksheet-tabs button[aria-selected=true]{background:#eaf0ff;color:#1749dc;font-weight:600}.worksheet-tabs button:focus-visible,.worksheet button:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.desk-status{font-size:14px;color:#385778;background:#f0f4fa;border-radius:9px;padding:12px 15px;line-height:1.6;margin-bottom:23px;min-height:47px}.desk-status.is-error{color:#87352c;background:#fff0eb;border:1px solid #e8c6bc}.worksheet-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:13px}.worksheet-title h2{font-size:25px;letter-spacing:-.7px;line-height:1.2}.worksheet-intro{font-size:15px;line-height:1.65;color:var(--muted);margin-bottom:23px}.quiet-action{background:none;color:#1a4dcc;font-size:13px;font-weight:500;line-height:1.5}.tvm-row{display:grid;grid-template-columns:minmax(120px,1fr) minmax(95px,150px) 57px;gap:10px;align-items:center;border-top:1px solid var(--line);padding:12px 0}.tvm-row>label{display:flex;gap:12px;align-items:center;line-height:1.4}.tvm-row b{min-width:34px;font-size:16px;color:#204bbb}.tvm-row label span{font-size:13px;color:#556477}.worksheet input,.worksheet select{font:inherit;font-size:16px;border:1px solid #c7d0df;border-radius:8px;padding:10px 11px;min-width:0;width:100%;color:var(--ink);background:white;min-height:43px}.worksheet input:focus,.worksheet select:focus{outline:2px solid #668efb;outline-offset:2px}.tvm-row>button{background:#edf2ff;color:#204dc8;border:1px solid #cddafa;border-radius:8px;min-height:43px;font-size:13px}.tvm-row>button:hover{background:#dde7ff}.tvm-settings{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin:21px 0}.tvm-settings>label,.desk-field{font-size:13px;color:#556477;line-height:1.5;display:block}.tvm-settings>label:has(select){grid-column:1/-1}.tvm-settings input,.tvm-settings select,.desk-field input{display:block;margin-top:7px}.worksheet-note{font-size:13px;line-height:1.7;color:var(--muted);margin-top:21px}.desk-examples{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-top:24px}.desk-examples>span{width:100%;font-size:13px;color:var(--muted);margin-bottom:3px}.desk-examples button{border-radius:7px;padding:9px 11px;border:1px solid var(--line);background:white;color:#3a506e;font-size:12px;line-height:1.4}.desk-examples button:hover{border-color:#8caae9;color:#1749dc}.desk-guide{margin-top:26px;padding-top:20px;border-top:1px solid var(--line)}.desk-guide summary{font-size:14px;cursor:pointer;color:#455572;font-weight:500}.desk-guide ul{padding-left:20px;color:var(--muted);font-size:13px;line-height:1.8;margin-top:16px}.desk-guide li{margin-bottom:10px}.desk-guide>a{font-size:13px;color:var(--blue);text-decoration:underline;display:inline-block;margin-top:8px}.desk-field{margin:18px 0}.cf-heading,.cf-row{display:grid;grid-template-columns:45px minmax(90px,1fr) 80px 26px;gap:9px;align-items:center}.cf-heading{font-size:12px;color:var(--muted);margin:23px 0 8px}.cf-row{margin-bottom:10px}.cf-row>span{font-family:ui-monospace,monospace;font-size:13px;color:#365a93}.cf-row button{background:none;color:#7a879c;font-size:22px}.add-flow{margin:4px 0 12px}.worksheet-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}.desk-primary,.desk-secondary{padding:12px 17px;font-size:14px;border-radius:9px;background:var(--blue);color:white;line-height:1.5;min-height:45px}.desk-secondary{background:#edf2ff;color:#204dc8;border:1px solid #cddafa}.worksheet-result{padding:19px;background:#eff4fd;border-radius:12px;color:#294a83;font-size:16px;line-height:1.7;margin-top:20px;overflow-wrap:anywhere}.amort-totals{display:grid;grid-template-columns:1fr 1fr;gap:20px}.amort-totals span{display:block;font-size:12px;color:#566b8f}.amort-totals strong{display:block;font-size:22px;letter-spacing:-.7px;color:#244ccb}.amort-table{margin-top:20px;font-size:13px}.amort-table summary{cursor:pointer}.amort-table table{border-collapse:collapse;white-space:nowrap;width:100%;font-size:12px}.amort-table th,.amort-table td{text-align:right;padding:9px;border-bottom:1px solid #d4ddec}.keypad-banner{border:1px solid #cedafb;background:#edf2ff;border-radius:15px;padding:22px 25px;display:flex;justify-content:space-between;align-items:center;gap:25px;margin-bottom:30px}.keypad-banner strong{font-size:21px;display:block;margin-bottom:7px;color:#153987}.keypad-banner p{font-size:14px;color:#536988;line-height:1.6}.keypad-banner .text-link{font-size:14px;white-space:nowrap}.financial-keypad-section~.tool-page{border-top:1px solid var(--line)}
@media(max-width:1100px){.financial-desk{grid-template-columns:minmax(325px,390px) minmax(0,1fr);gap:30px}.worksheet-tabs{flex-wrap:wrap}.worksheet-tabs button{font-size:13px;padding:9px 10px}.tvm-row{grid-template-columns:minmax(100px,1fr) minmax(85px,115px) 50px}.tvm-row>label{display:block}.tvm-row b{display:block;margin-bottom:4px}.desk-heading>a{white-space:normal;max-width:205px;line-height:1.6}.handheld{padding:22px}.lcd output{font-size:31px}}
@media(max-width:850px){.financial-desk{grid-template-columns:1fr;gap:38px}.handheld{width:100%;max-width:440px;margin-inline:auto}.worksheet{max-width:640px;width:100%;margin-inline:auto}.desk-heading h1{font-size:38px}.desk-heading{align-items:start}.worksheet-tabs{flex-wrap:nowrap;overflow-x:auto}.worksheet-tabs button{font-size:14px}.tvm-row{grid-template-columns:minmax(135px,1fr) minmax(100px,160px) 58px}.tvm-row>label{display:flex}.tvm-row b{margin:0}.lcd output{font-size:37px}}
@media(max-width:600px){.financial-keypad-section{padding-top:28px;padding-bottom:45px}.desk-heading{display:block;margin-bottom:24px}.desk-heading h1{font-size:35px;letter-spacing:-1.4px}.desk-heading p:not(.section-label){font-size:16px}.desk-heading>a{display:inline-block;margin-top:16px;max-width:none;font-size:13px}.handheld{padding:20px 15px;border-radius:22px}.device-brand{margin-bottom:17px}.device-brand>span{font-size:10px}.device-brand strong span{font-size:10px}.device-brand strong{font-size:21px}.lcd{padding:12px 11px;margin-bottom:19px}.lcd output{font-size:30px;letter-spacing:-1px}.lcd-top{font-size:10px}.physical-keys{gap:9px 6px}.calc-key{height:44px;font-size:13px;border-radius:8px}.calc-key.number{font-size:19px}.calc-key small{font-size:10px}.device-hint{font-size:11px;margin-top:17px}.worksheet-tabs{gap:0}.worksheet-tabs button{font-size:12px;padding:9px 10px}.worksheet-title h2{font-size:24px}.tvm-row{grid-template-columns:minmax(90px,1fr) minmax(90px,120px) 50px;gap:8px}.tvm-row>label{display:block}.tvm-row b{font-size:15px;margin-bottom:3px}.tvm-row label span{font-size:12px}.tvm-settings{gap:13px}.desk-examples button{font-size:12px}.cf-row,.cf-heading{grid-template-columns:37px minmax(85px,1fr) 69px 23px;gap:6px}.keypad-banner{display:block;padding:22px}.keypad-banner .text-link{display:inline-block;margin-top:15px}.amort-totals strong{font-size:20px}}

.tool-library-title{font-size:38px;line-height:1.15;letter-spacing:-1.4px;margin-bottom:16px}@media(max-width:600px){.tool-library-title{font-size:32px}}
@media(min-width:851px){.financial-keypad-section{padding-top:28px}.desk-heading{margin-bottom:22px}.desk-heading h1{font-size:34px;margin:8px 0}.desk-heading .section-label{font-size:12px;margin:0}.desk-heading p:not(.section-label){font-size:15px}.handheld{padding:19px}.device-brand{margin-bottom:14px}.lcd{padding:10px 12px;margin-bottom:17px}.lcd output{font-size:31px;padding:10px 0 7px}.physical-keys{gap:7px}.calc-key{height:37px}.calc-key.tvm{margin-top:19px}.device-hint{margin-top:14px;font-size:11px;line-height:1.5}}
body:has(#financial-keypad) .ai-launcher{width:46px;height:46px;padding:0;justify-content:center;border-radius:50%}body:has(#financial-keypad) .ai-launcher>span:nth-child(2),body:has(#financial-keypad) .ai-launcher>small{display:none}
