@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;450;500;550;600;650;700&family=Manrope:wght@400;500;600;650;700;750;800&display=swap');
:root{--paper:#f5f4ef;--ink:#25272c;--muted:#777a80;--line:#dfdfd9;--purple:#5b4ce0;--lavender:#eae7fa;--sans:'DM Sans',Arial,sans-serif;--display:'Manrope',Arial,sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:var(--sans);-webkit-font-smoothing:antialiased}button,input{font:inherit}button{cursor:pointer;color:inherit;touch-action:manipulation;-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button:focus-visible,a:focus-visible,input:focus-visible{outline:3px solid #8172ef;outline-offset:4px}.topbar{width:calc(100% - 96px);max-width:1440px;margin:auto;display:flex;justify-content:space-between;align-items:center;height:94px;border-bottom:1px solid var(--line);gap:20px}.wordmark{font-family:var(--display);font-weight:800;font-size:31px;letter-spacing:-2px;display:flex;align-items:center}.brand-mark{display:flex;align-items:center;justify-content:center;background:var(--purple);color:white;width:32px;height:32px;border-radius:9px;letter-spacing:0;font-size:31px;font-weight:400;line-height:1;margin-right:10px}.wordmark-dot{color:var(--purple)}.header-note{font-size:9px;letter-spacing:1.8px;color:#686b72;font-weight:500;margin-left:30px}.shortcuts-button{display:flex;align-items:center;gap:10px;border:1px solid #d9d9d4;border-radius:7px;background:transparent;padding:9px 11px;font-size:11px;color:#61646b}.shortcuts-button kbd{margin-left:7px}kbd{font:10px var(--sans);display:inline-block;min-width:20px;text-align:center;padding:2px 5px;border:1px solid #d6d6d0;border-radius:4px;box-shadow:0 1px 0 #d6d6d0;background:#fafaf7;color:#6c6f75}.workspace{width:min(940px,calc(100% - 80px));margin:50px auto 30px}.workspace-heading{display:flex;justify-content:space-between;align-items:center;margin:0 0 31px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:600;display:flex;gap:7px;align-items:center;color:#666475}.eyebrow>span{height:5px;width:5px;background:var(--purple);border-radius:50%}.workspace h1{font-family:var(--display);font-size:35px;letter-spacing:-1.5px;font-weight:650;margin:11px 0 8px;line-height:1.25}.workspace-heading p{font-size:12px;color:#73767c;margin:0}.heading-doodle{display:flex;gap:7px;align-items:center;margin-top:26px;color:#807997}.heading-doodle span{font-size:12px;transform:rotate(-6deg);font-style:italic}.heading-doodle svg{transform:rotate(12deg)}.workbench{display:grid;grid-template-columns:1.1fr .9fr;border:1px solid #dadbd5;border-radius:15px;box-shadow:0 4px 10px #28232f03,0 16px 35px #28232f06;background:#fcfcf9;overflow:hidden}.calculator{padding:25px 27px 14px;background:#fdfdfa;min-width:0}.calculator-top{display:flex;justify-content:space-between;align-items:center;font-size:8px;letter-spacing:1.6px;color:#71747a;font-weight:600}.calculator-top>span:first-child{display:flex;gap:7px;align-items:center}.status-dot{height:5px;width:5px;background:#9187d9;border-radius:50%}.memory-indicator{font-size:9px;letter-spacing:0;border:1px solid #e3e2dd;border-radius:3px;width:18px;text-align:center;line-height:17px;color:#8b8d94;opacity:.45}.memory-indicator.active{background:var(--lavender);border-color:#d1c9fa;color:var(--purple);opacity:1}.display{margin:15px 0 15px;padding:22px 18px 11px;background:#f0f0e9;border:1px solid #e6e6dd;border-radius:9px;min-height:148px}.display input{width:100%;border:0;background:transparent;outline:none;text-align:right;font-size:14px;color:#62656d;height:25px;padding:0;letter-spacing:.5px}.display input::placeholder{color:#7d8085;font-size:12px;letter-spacing:0}.display input:focus-visible{outline:0;box-shadow:0 1px 0 #b0a8df}.display output{display:block;width:100%;text-align:right;font-family:var(--display);font-size:45px;font-weight:550;letter-spacing:-1.5px;line-height:1.35;overflow-x:auto;white-space:nowrap;scrollbar-width:thin;min-height:61px}.display output.long{font-size:32px;line-height:1.9}.display-bottom{display:flex;justify-content:space-between;align-items:center;margin-top:3px;min-height:24px;gap:10px}.display-bottom p{font-size:9px;color:#73766d;margin:0}.display-bottom p.error{color:#a33c34}.copy-result{padding:3px;border:0;background:transparent;color:#797d75;display:flex;align-items:center;border-radius:3px}.copy-result:hover{color:var(--purple)}.memory-row{display:flex;align-items:center;margin:0 1px 11px;gap:0}.memory-row button{border:0;background:none;font-size:10px;color:#666a74;font-weight:550;padding:9px 11px;border-radius:5px}.memory-row button:first-child{padding-left:0;padding-right:15px}.memory-row button:hover{color:var(--purple);background:#f2effc}.memory-row>span{font-size:7px;letter-spacing:1px;margin-left:auto;color:#777a82;white-space:nowrap;max-width:140px;overflow:hidden;text-overflow:ellipsis}.keypad{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.key{height:53px;border:1px solid #e6e5e0;border-radius:8px;display:flex;align-items:center;justify-content:center;font-family:var(--display);font-size:21px;font-weight:500;background:#f5f5ef;box-shadow:0 2px 0 #e9e8e3;transition:transform .12s,background .12s,box-shadow .12s;user-select:none}.key:hover{background:#ebeae4}.key:active,.key.pressed{transform:translateY(2px);box-shadow:none}.key.number{background:#fff;font-size:22px;border-color:#e4e4de}.key.number:hover{background:#f7f5fd}.key.utility{font-size:17px;color:#696b76}.key.clear{color:#a04a44;background:#f9eae4;border-color:#eedcd3;font-size:13px}.key.clear:hover{background:#f2d8ce}.key.operator{background:#ece9fb;color:#6553cd;border-color:#ded9f6;font-size:25px;box-shadow:0 2px 0 #dedaf0}.key.operator:hover{background:#e1daf9}.key.equals{background:var(--purple);color:white;border-color:#5544d5;box-shadow:0 2px 0 #4433bd;font-size:26px}.key.equals:hover{background:#4b3bd1}.key.zero{grid-column:span 2}.calculator-bottom{display:flex;align-items:center;justify-content:space-between;margin:18px 1px 0;font-size:6px;font-weight:500;letter-spacing:1.2px;color:#797b83}.calculator-bottom>span+span{font-size:18px;line-height:1;color:#aaa0cf}.history-panel{border-left:1px solid var(--line);padding:25px 26px 18px;display:flex;flex-direction:column;min-width:0;background:#f8f8f3}.history-top{display:flex;justify-content:space-between;align-items:center;gap:10px}.history-top h2{font-size:14px;letter-spacing:-.2px;margin:0;font-weight:600;display:flex;gap:9px;align-items:center}.history-top h2 span{font-size:9px;color:#75767b;background:#eaeae4;border-radius:5px;min-width:19px;text-align:center;padding:3px 5px;font-weight:500}.text-button{font-size:10px;border:0;background:none;color:#676176;padding:4px 0}.text-button:disabled{opacity:.45;cursor:default}.text-button:hover:enabled{color:var(--purple)}.history-subtitle{font-size:10px;color:#73767c;margin:10px 0 20px;line-height:1.5}.history-list{flex:1;min-height:350px;max-height:470px;overflow:auto;scrollbar-width:thin;padding-right:3px}.history-empty{display:flex;flex-direction:column;align-items:center;text-align:center;justify-content:center;padding:75px 10px 60px}.empty-illustration{width:145px;height:130px;position:relative;margin-bottom:15px}.paper{width:88px;height:108px;position:absolute;left:27px;top:8px;background:#fffefd;border:1px solid #d9d6e6;box-shadow:4px 4px 0 #ebe8f1;border-radius:5px;transform:rotate(-9deg);padding:17px 14px;text-align:left}.paper i{height:3px;border-radius:2px;display:block;background:#ded9ee;margin-bottom:6px;width:38px}.paper i+i{width:23px}.paper span{font-size:11px;display:block;color:#8a82a6;margin-top:13px;white-space:nowrap}.paper b{font-family:var(--display);color:var(--purple);display:block;text-align:right;font-size:25px;font-weight:500;margin-top:1px}.spark{position:absolute;color:#9784d9;font-weight:400}.spark-one{font-size:25px;right:2px;top:1px;transform:rotate(7deg)}.spark-two{font-size:20px;left:4px;bottom:11px;transform:rotate(-15deg);color:#aea4c9}.history-empty h3{font-family:var(--display);font-size:17px;font-weight:600;letter-spacing:-.5px;margin:0 0 9px}.history-empty p{font-size:11px;line-height:1.9;color:#777985;margin:0}.empty-hint{font-size:9px;color:#72757c;display:flex;gap:7px;align-items:center;margin-top:22px}.empty-hint kbd{font-size:11px;background:#fdfdf9}.history-footer{font-size:8px;display:flex;align-items:center;justify-content:center;gap:6px;color:#777a80;border-top:1px solid #dfdfd9;padding-top:16px;margin-top:15px;letter-spacing:.1px}.history-item{border-top:1px solid #e3e2dd;padding:17px 0 15px}.history-item:first-child{border-top:0}.history-time{font-size:8px;color:#7e7d88;text-transform:uppercase;letter-spacing:.6px;margin-bottom:9px}.history-reuse{display:block;width:100%;border:0;background:transparent;text-align:right;padding:3px;border-radius:4px}.history-reuse:hover{background:#eeebf8}.history-expression{display:block;font-size:11px;color:#777483;overflow-wrap:anywhere;line-height:1.5}.history-answer{font-family:var(--display);font-size:25px;font-weight:550;letter-spacing:-.6px;display:block;color:#34313f;margin-top:6px;overflow-wrap:anywhere}.history-tools{display:flex;justify-content:space-between;align-items:center;margin-top:8px}.reuse-label{font-size:8px;color:#7b748b}.copy-history{border:0;background:transparent;padding:3px;font-size:9px;color:#655d7b}.copy-history:hover{color:var(--purple)}.workspace-footer{display:flex;align-items:center;justify-content:space-between;font-size:10px;color:#767982;padding:19px 1px}.workspace-footer>span{display:flex;align-items:center;gap:7px}.tiny-plus{font-size:19px;color:#9b8cba;line-height:1}.workspace-footer>span+span{font-size:7px;letter-spacing:1.2px;color:#85848c}dialog{width:min(540px,calc(100% - 32px));padding:30px;border:1px solid #d5d1e4;background:var(--paper);color:var(--ink);border-radius:14px;box-shadow:0 15px 100px #11112430}dialog::backdrop{background:#242131a1;backdrop-filter:blur(4px)}.dialog-top{display:flex;gap:15px;justify-content:space-between;align-items:start}.dialog-top h2{font-family:var(--display);font-weight:600;font-size:23px;letter-spacing:-.8px;line-height:1.3;margin:12px 0 5px}.dialog-top .eyebrow{font-size:7px;line-height:1.8}.close-dialog{border:1px solid #d8d5e2;background:none;width:28px;height:28px;border-radius:50%;font-size:20px;line-height:1;flex:none}.shortcut-list{margin-block:24px}.shortcut-list>div{display:flex;justify-content:space-between;gap:15px;border-top:1px solid #dedbe6;padding:13px 0;font-size:11px;align-items:center}.shortcut-list dd{margin:0;white-space:nowrap}.shortcut-list dt{line-height:1.5}.dialog-note{font-size:10px;line-height:1.9;color:#72707c;margin:0}.toast{position:fixed;left:50%;bottom:25px;transform:translate(-50%,10px);color:white;background:#5140c6;border-radius:8px;padding:13px 20px;font-size:12px;opacity:0;pointer-events:none;transition:opacity .2s,transform .2s;z-index:4;text-align:center;max-width:calc(100% - 30px)}.toast.show{opacity:1;transform:translate(-50%,0)}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);overflow:hidden;white-space:nowrap;border:0}@media(min-height:950px){.workspace{margin-top:75px}}@media(max-width:850px){.topbar{width:calc(100% - 48px);height:80px}.header-note{display:none}.workspace{width:calc(100% - 48px);max-width:740px;margin-top:36px}.workspace h1{font-size:30px}.heading-doodle{display:none}.calculator{padding:22px 20px 13px}.history-panel{padding:22px 20px 16px}.key{height:52px}.memory-row>span{font-size:6px;max-width:100px}.memory-row button{padding-inline:8px}.calculator-bottom{font-size:5px;letter-spacing:1px}.history-empty{padding:80px 0 55px}.history-subtitle{font-size:9px}.workbench{grid-template-columns:1.1fr .9fr}}@media(max-width:580px){.topbar{width:calc(100% - 36px);height:73px}.wordmark{font-size:29px}.brand-mark{width:29px;height:29px;border-radius:8px;font-size:28px}.shortcuts-button{padding:8px;gap:7px;font-size:10px}.shortcuts-button kbd{display:none}.workspace{width:calc(100% - 32px);margin:28px auto 20px;max-width:420px}.workspace-heading{margin-bottom:23px;padding-inline:3px}.workspace h1{font-size:26px;letter-spacing:-1px;margin:10px 0 8px}.eyebrow{font-size:7px;letter-spacing:1.3px}.workspace-heading p{font-size:11px}.workbench{grid-template-columns:1fr;border-radius:13px}.calculator{padding:23px 20px 15px}.calculator-top{font-size:7px}.display{margin-top:16px;min-height:151px;padding-top:22px}.display output{font-size:44px;min-height:62px}.key{height:55px;border-radius:8px;font-size:21px}.keypad{gap:8px}.memory-row{margin-bottom:12px}.memory-row>span{font-size:6px;max-width:135px}.memory-row button{padding:8px 11px}.calculator-bottom{margin-top:20px;font-size:5px}.history-panel{border-left:0;border-top:1px solid var(--line);padding:24px 22px 18px}.history-list{min-height:0;max-height:340px}.history-empty{padding:22px 0 10px}.empty-illustration{width:110px;height:90px;transform:scale(.7);margin-top:-8px;margin-bottom:14px;transform-origin:center center}.paper{top:-4px;left:15px}.history-empty h3{font-size:15px}.history-empty p{font-size:10px}.history-subtitle{font-size:10px;margin-bottom:8px}.empty-hint{margin-top:14px;font-size:8px}.history-footer{font-size:8px;padding-top:14px;margin-top:18px}.history-item{padding-block:14px}.history-answer{font-size:22px}.workspace-footer{padding:16px 3px;font-size:9px}.workspace-footer>span+span{font-size:6px;letter-spacing:.8px}.history-top h2{font-size:13px}dialog{padding:24px}.dialog-top h2{font-size:21px}.shortcut-list>div{font-size:10px}.shortcut-list kbd{font-size:9px;min-width:18px;padding-inline:4px}.dialog-note{font-size:9px}.toast{width:max-content;font-size:11px}}@media(prefers-reduced-motion:reduce){*{transition:none!important}}
/* Readable secondary text on the paper surfaces. */
.workspace-heading p,.history-subtitle,.history-empty p,.history-time,.workspace-footer,.workspace-footer>span+span,.calculator-bottom,.history-footer,.reuse-label{color:#64656f}.history-expression{color:#65616f}.display-bottom p{color:#60645b}.memory-row>span{color:#666973}
