html.calculator-locked,html.calculator-locked body{background:#151617!important;color-scheme:dark;min-height:100%;margin:0}
html.calculator-locked body>:not(.calculator-shell):not(script):not(link):not(style){display:none!important}
.calculator-shell{position:fixed;inset:0;z-index:2147483647;display:grid;place-items:center;background:#151617;color:#f4f4f5;font:400 16px/1.4 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:auto;box-sizing:border-box;touch-action:manipulation}
.calculator-shell[hidden],.calculator-shell [hidden]{display:none!important}
.calculator-shell *{box-sizing:border-box}
.calculator-card{width:min(100%,420px);height:100%;max-height:920px;min-height:440px;display:flex;flex-direction:column;padding:max(18px,env(safe-area-inset-top)) 20px max(20px,env(safe-area-inset-bottom));gap:12px}
.calculator-header{display:flex;align-items:center;justify-content:space-between;font-size:16px;letter-spacing:.1px;color:#acafb3}
.calculator-shell button{border:0;font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.calculator-shell button:focus-visible,.calculator-shell input:focus-visible{outline:2px solid #e5af73;outline-offset:3px}
.calculator-settings-button,.calculator-backspace{background:none!important;min-width:42px;min-height:42px;color:#a7a9ad!important;font-size:24px!important;border-radius:50%}
.calculator-display{flex:1;min-height:86px;display:flex;flex-direction:column;align-items:flex-end;justify-content:flex-end;padding:10px 0 20px;gap:14px;overflow:hidden}
.calculator-display output{max-width:100%;width:100%;text-align:right;overflow:auto;white-space:nowrap;font-size:clamp(36px,10vw,66px);font-weight:300;font-variant-numeric:tabular-nums;scrollbar-width:none}
.calculator-keypad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:11px}
.calculator-keypad button{height:clamp(54px,8.8dvh,80px);border-radius:50px;background:#2b2d30;font-size:30px;font-weight:400;min-width:0}
.calculator-keypad button:active{filter:brightness(1.45)}
.calculator-keypad .utility{background:#45474a;color:#f5f5f6;font-size:25px}
.calculator-keypad .operator{background:#c88e50;color:#18191b;font-size:32px}
.calculator-keypad .zero{grid-column:span 2;text-align:left;padding-left:32px}
.calculator-feedback{height:24px;margin:0;text-align:center;font-size:12px;color:#b8babc}
.calculator-settings{width:min(360px,calc(100% - 32px));max-height:calc(100dvh - 40px);padding:24px;border:1px solid #505256;border-radius:24px;background:#242628;color:#eee;font:14px/1.5 system-ui;overflow:auto}
.calculator-settings::backdrop{background:#0009}
.calculator-settings h1{font-size:22px;margin:0 0 10px}
.calculator-settings-copy,.calculator-reset-confirm{font-size:12px;color:#bfc0c2}
.calculator-settings label{display:grid;gap:5px;margin:12px 0;color:#ddd}
.calculator-settings input{width:100%;min-height:42px;padding:9px 12px;border:1px solid #626468;border-radius:10px;background:#141517;color:#fff;font:18px system-ui;letter-spacing:3px}
.calculator-form-error{color:#efb3a7;min-height:18px;font-size:12px}
.calculator-form-actions{display:flex;gap:10px}
.calculator-form-actions button,.calculator-reset-confirm button{padding:11px 14px;border-radius:12px;background:#484b4e;flex:1;font-size:14px}
.calculator-form-actions [type=submit]{background:#c88e50;color:#17181a}
.calculator-settings button:disabled{opacity:.5;cursor:wait}
.calculator-settings .calculator-reset{display:block;margin:16px auto 0;padding:5px;background:none;color:#bcbec1;font-size:12px}
@media(max-height:560px){.calculator-card{padding:8px 16px;gap:4px;min-height:320px}.calculator-display{min-height:45px;padding:0 0 5px;gap:0}.calculator-display output{font-size:30px}.calculator-keypad{gap:6px}.calculator-keypad button{height:40px;font-size:23px}.calculator-feedback{font-size:10px;height:14px}}

/* Calculator appearance: black glass, Bordeaux light and champagne gold. */
html.calculator-locked,html.calculator-locked body{background:#080305!important}
.calculator-shell{isolation:isolate;overflow:hidden;background:radial-gradient(ellipse at 55% 0%,#30000980,transparent 44%),#050304;color:#faf8f6}
.calculator-shell::before,.calculator-shell::after{content:"";position:absolute;z-index:-1;pointer-events:none;width:125%;height:28%;border:1px solid #f0446e;box-shadow:0 0 18px #be124d80,inset 0 5px 26px #97052b60;background:linear-gradient(165deg,#030203 40%,#490416 80%,#100205);border-radius:50%}
.calculator-shell::before{top:-22%;left:-30%;transform:rotate(-25deg)}
.calculator-shell::after{bottom:-23%;left:-8%;transform:rotate(-11deg)}
.calculator-card{width:min(100%,480px);height:100%;height:100dvh;max-height:960px;min-height:420px;padding:max(18px,env(safe-area-inset-top)) 18px max(12px,env(safe-area-inset-bottom));gap:16px}
.calculator-header{justify-content:flex-start;gap:16px;min-height:48px;flex-shrink:0;color:#faf5f0;font-size:clamp(20px,5.5vw,26px);font-weight:400}
.calculator-brand-icon{width:30px;height:36px;color:#edbc80;flex-shrink:0}
.calculator-header>span{border-left:1px solid #d8a66c;padding-left:16px;line-height:1.1}
.calculator-menu{margin-left:auto;position:relative}
.calculator-menu summary{list-style:none;cursor:pointer;color:#f4e8d5;font-size:27px;line-height:44px;min-width:32px;text-align:center;-webkit-tap-highlight-color:transparent}
.calculator-menu summary::-webkit-details-marker{display:none}
.calculator-menu summary:focus-visible{outline:2px solid #e5af73;outline-offset:3px;border-radius:8px}
.calculator-menu>button{position:absolute;right:0;top:100%;z-index:2;white-space:nowrap;padding:12px 18px;border:1px solid #73504b;border-radius:12px;background:#201317;box-shadow:0 8px 24px #0009;font-size:14px}
.calculator-display{position:relative;flex:1;min-height:95px;max-height:235px;padding:48px 16px 8px;gap:0;border:1px solid #65313f;border-radius:26px;background:linear-gradient(145deg,#3c283680,transparent 43%),radial-gradient(ellipse at bottom right,#35000d90,transparent 70%),#080507;box-shadow:inset 0 1px 1px #e999ad70,inset 0 -1px 1px #e14e7990,0 10px 30px #0008}
.calculator-display::before{content:"";position:absolute;top:0;left:30%;width:45%;height:1px;background:linear-gradient(90deg,transparent,#ff6f9e,transparent);box-shadow:0 0 7px #ff3e7b;pointer-events:none}
.calculator-backspace{position:absolute;right:10px;top:7px;color:#eecb9f!important;font-size:27px!important}
.calculator-display output{font-size:clamp(40px,13vw,76px);font-weight:300;line-height:1.3}
.calculator-keypad{gap:9px;flex-shrink:0}
.calculator-keypad button{position:relative;isolation:isolate;height:clamp(52px,9.4dvh,84px);border-radius:27px;border:1px solid #63595e;background:radial-gradient(ellipse at 35% 0%,#62586175,transparent 68%),linear-gradient(150deg,#2b252d,#0d0b0e 73%);box-shadow:inset 0 1px 1px #e0c9d17a,inset 0 -1px 1px #b6a0ad90,0 5px 12px #0009;color:#faf9fa;font-size:clamp(27px,7.6vw,40px);font-weight:400;transition:transform 65ms ease;user-select:none;-webkit-user-select:none}
.calculator-keypad .utility{font-size:clamp(25px,6.8vw,35px);color:#faf8fa;background:radial-gradient(ellipse at 35% 0%,#62586175,transparent 68%),linear-gradient(150deg,#2b252d,#0d0b0e 73%)}
.calculator-keypad [data-calc-key="AC"]{color:#ffbbd0;border-color:#c93560;background:radial-gradient(ellipse at 45% 0%,#ef285b88,transparent 65%),linear-gradient(145deg,#53051d,#1c0009 78%);box-shadow:inset 0 1px 1px #ffc4d7,inset 0 -1px 1px #f63970,0 4px 14px #000}
.calculator-keypad .operator{color:#fff0c7;border-color:#e6a34f;background:radial-gradient(ellipse at 30% 0%,#ffcf86a8,transparent 58%),radial-gradient(ellipse at 90% 120%,#ca771c88,transparent 55%),linear-gradient(145deg,#9e5b21,#3d1c05 78%);box-shadow:inset 0 1px 1px #ffe6b0,inset 0 -1px 2px #ffcd74,0 4px 14px #000;font-size:clamp(30px,8vw,44px)}
.calculator-keypad .zero{text-align:center;padding-left:0}
.calculator-keypad button:active{transform:scale(.95);filter:brightness(1.28)}
.calculator-feedback{height:auto;min-height:0;flex-shrink:0;color:#e5b7c4;font-size:12px;line-height:1.35}
.calculator-feedback:empty{display:none}
@media(max-height:560px){.calculator-card{min-height:330px;padding:8px 16px;gap:7px}.calculator-header{min-height:30px;font-size:18px}.calculator-brand-icon{height:27px;width:25px}.calculator-menu summary{line-height:30px}.calculator-display{min-height:60px;padding:25px 12px 3px;border-radius:18px}.calculator-display output{font-size:32px}.calculator-backspace{top:0;min-height:30px;font-size:20px!important}.calculator-keypad{gap:6px}.calculator-keypad button{height:clamp(38px,9dvh,49px);font-size:25px;border-radius:20px}.calculator-keypad .utility{font-size:22px}.calculator-keypad .operator{font-size:28px}}
@media(prefers-reduced-motion:reduce){.calculator-keypad button{transition:none}}


.calculator-enrollment{width:min(100% - 36px,420px);max-height:calc(100dvh - 36px);overflow-y:auto;padding:26px;border:1px solid #83515e;border-radius:24px;background:linear-gradient(150deg,#2a111b,#0b0609);box-shadow:0 20px 60px #0008;color:#f9f0eb}
.calculator-enrollment h1{font-size:25px;line-height:1.2;margin:0 0 12px}.calculator-enrollment>p{font-size:14px;color:#d1b8c0;margin:0 0 22px}.calculator-enrollment form,.calculator-enrollment label{display:grid;gap:10px}.calculator-enrollment form{gap:16px}.calculator-enrollment label{font-size:14px}.calculator-enrollment input{width:100%;height:52px;border:1px solid #79525e;border-radius:12px;background:#090609;color:#fff;padding:10px 14px;font:24px system-ui;letter-spacing:5px}.calculator-enrollment button{min-height:46px;border:1px solid #e2ac70;border-radius:12px;background:linear-gradient(145deg,#ba8148,#63330e);color:#fff1d6;padding:10px 15px;font-size:15px}.calculator-enrollment .enrollment-eye{border:0;background:none;color:#e6c5a1;padding:2px;min-height:30px;text-align:right;font-size:13px}.calculator-enrollment .enrollment-error{color:#ffc3cf;font-size:13px;min-height:0;margin:0}.calculator-enrollment .enrollment-error:empty{display:none}.calculator-enrollment button:disabled{opacity:.6;cursor:wait}

.calculator-card .calculator-identify-trigger{flex-shrink:0;align-self:center;min-height:36px;padding:6px 12px;border:1px solid #9c6879;border-radius:10px;background:#30121f;color:#f0cbd8;font-size:13px}.calculator-enrollment input[type=email],.calculator-enrollment input[name=password]{font-size:16px;letter-spacing:normal}.calculator-enrollment select{width:100%;min-height:44px;padding:8px 12px;border:1px solid #79525e;border-radius:12px;background:#090609;color:#fff;font:16px system-ui}.calculator-enrollment .enrollment-back{background:none;border:0;color:#dbc4cc;font-size:13px;min-height:30px}
