@font-face{font-family:Nunito;src:url("fonts/nunito.woff2") format("woff2");font-weight:400 800;font-style:normal;font-display:swap}@font-face{font-family:"JetBrains Mono";src:url("fonts/jetbrains-mono.woff2") format("woff2");font-weight:100 800;font-style:normal;font-display:swap}@font-face{font-family:"Noto Sans Devanagari";src:url("fonts/noto-sans-devanagari.woff2") format("woff2");font-weight:400 800;font-style:normal;font-display:swap;unicode-range:U+0900-097F,U+1CD0-1CF9,U+200C-200D,U+20A8,U+20B9,U+20F0,U+25CC,U+A830-A839,U+A8E0-A8FF,U+11B00-11B09}:root{--mark-width:0.375rem;--mark-left:-0.75rem;--z-hidden:-1;--z-loading:10;--z-banner:30;--z-menu:40;--z-sheet:45;--z-kbbackdrop:46;--z-consent:50;--z-dialog:60;--z-dialog-top:61;--z-toast:70;--z-curtain:90;--z-manual:95}html{height:100%;padding:0;margin:0;overflow-x:clip}body{height:100%;padding:0;margin:0;display:flex;flex-direction:column;font-family:Nunito,"Noto Sans Devanagari",-apple-system,"Segoe UI",Arial,sans-serif;font-size:.95rem;line-height:1.5;color:var(--ink);background-color:var(--surface);transition:background-color .25s,color .25s}button{font-family:inherit;font-size:inherit;color:inherit;background:0 0;border:0;padding:0;margin:0;cursor:pointer}a{color:var(--accent-700)}:focus-visible{outline:2px solid var(--accent-500);outline-offset:2px;border-radius:6px}::selection{background:var(--sand-border)}.hidden{display:none}#wrapper{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;position:relative}#loading{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:var(--z-loading)}#nojs-notice{display:none}html[data-nojs] #nojs-notice{display:flex;position:fixed;inset:0;z-index:9999;align-items:center;justify-content:center;padding:24px;text-align:center;background:#f4f7fa;color:#15293f;font-size:17px;line-height:1.55;opacity:0;visibility:hidden;animation:nojs-appear .4s ease 3s forwards}html[data-nojs] #nojs-notice>div{max-width:34em}html[data-nojs] #nojs-notice p+p{margin-top:1em;opacity:.8}html[data-nojs] #loading{animation:nojs-vanish 0s linear 3s forwards}@keyframes nojs-appear{to{opacity:1;visibility:visible}}@keyframes nojs-vanish{to{visibility:hidden}}@media (prefers-color-scheme:dark){html[data-nojs] #nojs-notice{background:#101820;color:#e8f0f8}}#fileInput,#hiddeninput{position:absolute;top:0;right:0;width:1px;height:1px;opacity:0;z-index:var(--z-hidden)}input:not([type=button]):not([type=checkbox]):not([type=radio]):not([type=file]),textarea{font-size:16px}#add{display:none}#manualOverlay{position:fixed;inset:0;z-index:var(--z-manual);display:flex;background:var(--surface)}#manualOverlay.hidden{display:none}#manualOverlayFrame{flex:1 1 auto;width:100%;height:100%;border:0}.appheader{flex:none;position:relative;height:3.6rem;padding:0 1rem;background:var(--bar);color:#e8f0f8;z-index:var(--z-menu)}.appheader .hwrap{position:relative;display:flex;align-items:center;gap:.75rem;height:100%;max-width:88rem;margin:0 auto}.appheader .spacer{flex:1}.iconbtn{width:2.25rem;height:2.25rem;border-radius:var(--r-input);display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--slate-300);transition:background .15s,color .15s}.appheader .iconbtn:hover{background:rgba(255,255,255,.1);color:#fff}#menuicon path{transition:transform .35s ease,opacity .25s ease;transform-box:fill-box;transform-origin:center}#menuicon.menu-open path:first-child{transform:translateY(5px) rotate(45deg)}#menuicon.menu-open path:nth-child(2){opacity:0}#menuicon.menu-open path:nth-child(3){transform:translateY(-5px) rotate(-45deg)}.iconbtn svg{display:block;width:1.2rem;height:1.2rem}.iconbtn .icon{display:inline-flex}h1.brand{display:flex;align-items:baseline;gap:.6rem;margin:0;min-width:0;font-weight:400;white-space:nowrap;overflow:hidden}.brand .header-icon{width:1.75rem;height:1.75rem;border-radius:.45rem;align-self:center;flex:none}.brand .brand-name{font-weight:800;font-size:1.1rem;letter-spacing:.01em;color:#fff}.brand .brand-claim{font-size:.78rem;color:var(--slate-300);overflow:hidden;text-overflow:ellipsis}html.nobrandname .brand .brand-claim,html.nobrandname .brand .brand-name{display:none}html.nobrandicon h1.brand{display:none}.btn-pill{display:inline-flex;align-items:center;gap:.5rem;background:var(--accent-fill);color:var(--accent-fill-text);font-weight:700;font-size:.875rem;border-radius:999px;padding:.55rem 1.15rem;box-shadow:0 2px 8px rgba(12,28,46,.25);transition:transform .12s,box-shadow .15s,filter .15s}.btn-pill:hover{filter:brightness(1.07);box-shadow:0 4px 12px rgba(12,28,46,.3)}.btn-pill:active{transform:translateY(1px)}.btn-pill .icon svg{display:block;width:1rem;height:1rem}@media (max-width:19rem){#shicon>span:not(.icon){display:none}}#navigation{display:contents}#helpnav.hidden #helplist,#navigation.hidden #menulist,#shnav.hidden #shlist{display:none}@keyframes menu-in{from{opacity:0;transform:translateY(-.4rem) scale(.98)}to{opacity:1;transform:none}}#helpnav.visible #helplist,#navigation.visible #menulist,#shnav.visible #shlist{animation:menu-in .3s ease-out;transform-origin:top}#helpnav,#shnav{position:relative;display:flex;align-items:center}#helplist,#menulist,#shlist{position:absolute;top:calc(100% + .5rem);min-width:17rem;margin:0;padding:.35rem;list-style:none;background:var(--card);color:var(--ink);border:1px solid var(--line);border-radius:.75rem;box-shadow:var(--shadow-card);z-index:var(--z-menu)}#menulist{left:.75rem;top:3.2rem}#helplist,#shlist{right:0;top:calc(100% + .4rem)}#helplist li,#menulist li,#shlist li{list-style:none;margin:0;padding:0}#helplist a,#helplist button,#menulist a,#menulist button,#shlist a,#shlist button{display:flex;align-items:center;gap:.6rem;width:100%;box-sizing:border-box;padding:.5rem .6rem;border-radius:.5rem;font-size:.85rem;font-weight:600;color:var(--ink);text-align:left;text-decoration:none;background:0 0}#helplist a:hover,#helplist button:hover,#menulist a:hover,#menulist button:hover,#shlist a:hover,#shlist button:hover{background:var(--accent-100)}#helplist .icon,#menulist .icon,#shlist .icon{display:inline-flex;flex:none;color:var(--slate-500)}#helplist .icon svg,#menulist .icon svg,#shlist .icon svg{width:1.1rem;height:1.1rem}#menulist .icon img{height:1.1rem}#helplist .description,#menulist .description,#shlist .description{display:inline}#helplist li.msep,#menulist li.msep,#shlist li.msep{border-top:1px solid var(--line);margin:.3rem .4rem}.kbd{margin-left:auto;font-family:"JetBrains Mono",Consolas,monospace;font-size:.66rem;font-weight:600;color:var(--slate-700);background:var(--surface);border:1px solid var(--line);border-bottom-width:2px;border-radius:.35rem;padding:.1rem .4rem;white-space:nowrap}#menulist li.hidden{display:block;opacity:.4;pointer-events:none}#menulist li.on button::after{content:'✓';margin-left:auto;color:var(--accent-700);font-weight:800}#menulist li.on .kbd{margin-left:.5rem}svg.lines_on{display:block}svg.lines_off{display:none}html.showlines svg.lines_on{display:none}html.showlines svg.lines_off{display:block}#shlist .mnote{font-size:.72rem;font-weight:400;color:var(--slate-500);line-height:1.45;padding:.45rem .6rem .5rem;border-top:1px solid var(--line);margin-top:.3rem;max-width:17rem}#shlist .mnote.msave{border-bottom:1px solid var(--line);margin-bottom:.3rem}.layout{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) 21rem;gap:1rem;align-items:stretch;width:100%;max-width:90rem;margin:0 auto;padding:1rem;box-sizing:border-box}.card{background:var(--card);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow-card)}.apps-card{background:linear-gradient(180deg,var(--surface) 0,var(--card) 100%)}.eyebrow{font-size:.69rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--accent-500)}.eyebrow.sub{color:var(--slate-500);letter-spacing:.04em;text-transform:none;font-size:.69rem}.side{display:flex;flex-direction:column;gap:1rem;min-height:0;min-width:0}.workspace{display:flex;flex-direction:column;min-height:0;overflow:hidden}.toolbar{flex:none;display:flex;align-items:center;gap:.125rem;flex-wrap:wrap;padding:.5rem .6rem;border-bottom:1px solid var(--line)}.toolbar .iconbtn{width:2.1rem;height:2.1rem;color:var(--slate-500)}.toolbar .iconbtn:hover{background:var(--accent-100);color:var(--accent-700)}html.tbhide1 #tbGrouping{display:none}html.tbhide2 #helpnav,html.tbhide2 .toolbar>span.sep:nth-of-type(2){display:none}html.tbhide3 #tbLines{display:none}html.tbhide4 #tbZoom{display:none}html.tbhide5 #tbFont{display:none}.toolbar .iconbtn[aria-pressed=true]{background:var(--accent-100);color:var(--accent-700)}.toolbar .iconbtn.menu-open{background:var(--accent-100);color:var(--accent-700)}.toolbar .iconbtn[aria-disabled=true]{opacity:.35;pointer-events:none}.toolbar .sep{width:1px;height:1.4rem;background:var(--line);margin:0 .4rem;flex:none}.zoomchip{font-weight:700;font-size:.75rem;color:var(--slate-700);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.3rem .7rem;min-width:3.4rem;text-align:center;white-space:nowrap}.zoomchip:hover{border-color:var(--accent-500);color:var(--accent-700)}#editor{flex:1 1 auto;min-height:0;overflow:auto;padding:.25rem 1.25rem 1.5rem;background-color:var(--paper);background-origin:content-box;background-attachment:local;background-size:4rem 1.584rem;transition:background-color .25s}#editor:focus{outline:0}html.showlines #editor{background-image:linear-gradient(to bottom,transparent calc(100% - var(--paper-line,1px)),color-mix(in srgb,var(--line) 65%,var(--paper)) calc(100% - var(--paper-line,1px)))}.editor,.editor div{cursor:text}.editor{font-family:"JetBrains Mono","Cascadia Mono","Noto Sans Devanagari",Consolas,monospace;font-size:1rem;font-weight:500;line-height:1.5}.editor *{font-family:inherit;font-size:inherit}.editor span{caret-color:var(--accent-700)}#editor{white-space:pre}.editor>div{position:relative;width:max-content;min-width:100%}.editor div[title]::before,.editor>div.activeline::before,.editor>div.pdiv:has(> span)::before,.editor>div.plong:has(> span)::before,.editor>div.pnumber:has(> span)::before{content:'';position:absolute;left:var(--mark-left);top:0;bottom:0;width:var(--mark-width);background:var(--mark-color,var(--sand));pointer-events:none}.editor div[title]{--mark-color:var(--red-500)}.editor>div.activeline{--mark-color:var(--accent-500);background:var(--accent-100);background:color-mix(in srgb,var(--accent-100) 75%,transparent)}.editor{color:var(--ink)}.positive,.style_number{color:var(--ink)}.negative{color:var(--red-600)}.text{color:var(--tape-text)}.comment{color:var(--tape-text)}[data-palette=modern] .positive{color:#059669}[data-theme=dark][data-palette=modern] .positive{color:#34d399}.var{color:var(--teal);font-weight:600;background:color-mix(in srgb,var(--teal) 14%,transparent);border-radius:.5em;padding:.08em .3em;margin:-.08em -.3em}.func{color:var(--tape-text)}.hint{color:var(--slate-500)}.offset{color:var(--slate-500)}.editor span.boldnumber{font-weight:700}.editor span.div{color:transparent;display:inline-block;vertical-align:top;height:var(--lh,1.584rem);--rule-grad:linear-gradient(
		var(--rule) 50%,
		color-mix(in srgb, var(--rule) 25%, transparent) 50%);background:var(--rule-grad) 0 var(--rule-y,56%)/100% var(--rule-h,2px) no-repeat}.editor div.sum span.div{background:var(--rule-grad) 0 var(--rule-y1,calc(50% - 3px))/100% var(--rule-h1,2px) no-repeat,var(--rule-grad) 0 var(--rule-y2,calc(50% + 1px))/100% var(--rule-h1,2px) no-repeat}html.propfont .editor div.ptext,html.propfont .editor span.comment,html.propfont .editor span.text{font-family:Nunito,"Noto Sans Devanagari",-apple-system,"Segoe UI",Arial,sans-serif}html.propfont .editor span.comment,html.propfont .editor span.text{line-height:1.2}html.propfont .editor span.var:first-child+span.comment{font-family:inherit}.editor div[title]{background:color-mix(in srgb,var(--red-500) 8%,transparent)}[data-theme=dark] .editor div[title]{background:color-mix(in srgb,var(--red-500) 16%,transparent)}.editor div[title] span{text-decoration:underline wavy var(--red-500);text-decoration-thickness:1px;text-underline-offset:0.25em}#statusbar{flex:none;border-top:1px solid var(--line);background:var(--card)}#status_text{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap;padding:.5rem .75rem;font-size:.75rem}.schip{display:inline-flex;align-items:center;gap:.35rem;font-weight:700;font-size:.75rem;color:var(--slate-700);background:var(--surface);border:1px solid var(--line);border-radius:999px;padding:.22rem .7rem;white-space:nowrap}button.schip:hover{border-color:var(--accent-500);color:var(--accent-700);cursor:pointer}.schip.error{color:#fff;background:var(--red-500);border-color:var(--red-500);white-space:normal}.autosave{margin-left:auto;color:var(--slate-500);font-weight:600;display:inline-flex;gap:.35rem;align-items:center;white-space:nowrap}.autosave svg{color:var(--accent-500)}.autosave.failed{color:var(--red-600);font-weight:700}.autosave.failed svg{color:var(--red-600)}#lines_warning{display:block;padding:.5rem .75rem;background:var(--sand);color:var(--sand-ink);border-bottom:1px solid var(--sand-border);font-size:.78rem}#lines_warning.hidden{display:none}#lines_warning.error{color:var(--red-600);font-weight:700}@keyframes lines_warning_pulse{0%,100%{transform:translateX(0)}20%,60%{transform:translateX(-.25rem)}40%,80%{transform:translateX(.25rem)}}#lines_warning.pulse{animation:lines_warning_pulse .4s ease}@media (prefers-reduced-motion:reduce){#lines_warning.pulse{animation:none}}.result-card{flex:none;padding:.9rem 1.1rem .8rem}.result-head{display:flex;align-items:center;justify-content:space-between}.resultbtn{display:flex;align-items:center;justify-content:flex-end;gap:.5rem;width:100%;text-align:right;font-weight:800;font-size:1.9rem;line-height:1.15;color:var(--ink);font-variant-numeric:tabular-nums;padding:.35rem .1rem .1rem;border-radius:var(--r-input);transition:color .15s,opacity .2s;white-space:nowrap}.resultbtn .value{overflow:hidden;text-overflow:ellipsis}.resultbtn:hover{color:var(--accent-700)}.metrics{margin-top:.5rem;display:flex;flex-direction:column;gap:.1rem}.metricrow{display:flex;align-items:baseline;gap:.6rem;width:100%;padding:.18rem .1rem;border-radius:var(--r-input);color:var(--ink);font-variant-numeric:tabular-nums;transition:color .15s}.metricrow .metric-label{flex:none;margin-right:auto;color:var(--slate-500);font-size:.82rem;font-weight:600}.metricrow .value{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;font-size:.98rem}.metricrow:hover{color:var(--accent-700);cursor:pointer}.metricrow:hover .copy-ic{color:var(--accent-700)}.copy-ic{display:inline-flex;flex:none;color:var(--slate-500)}.copy-ic svg{display:block;width:.85rem;height:.85rem}.resultbtn .copy-ic svg{width:1.1rem;height:1.1rem}.resultbtn:hover .copy-ic,button.schip:hover .copy-ic{color:var(--accent-700)}.keypad-card{flex:none;padding:.7rem}.sheet-head{display:none}.keyboard{position:relative}#desktop{height:min(26rem,calc(100dvh - 23rem));min-height:11rem;max-height:24.5rem}#mobile{display:none}.keyboard button{position:absolute;z-index:0;font-weight:700;font-size:1.06rem;color:var(--ink);transition:filter .12s ease;user-select:none;-webkit-user-select:none;touch-action:manipulation;padding:.45rem .5rem;overflow-wrap:break-word}.keyboard button::before{content:'';position:absolute;inset:0.21rem;z-index:-1;background:var(--key);border:1px solid var(--line);border-radius:var(--r-card);box-shadow:var(--shadow-key);transition:transform .08s,box-shadow .12s}.keyboard button:hover{filter:brightness(1.04)}[data-theme=dark] .keyboard button:hover{filter:brightness(1.15)}.keyboard button:active::before{transform:translateY(1px) scale(.97);box-shadow:inset 0 1px 3px rgba(12,28,46,.2)}.keyboard button:active{filter:brightness(.97)}.keyboard .number::before{background:var(--key)}.keyboard .function::before,.keyboard .operator::before{background:var(--key-fn);border-color:transparent}[data-theme=dark] .keyboard .function,[data-theme=dark] .keyboard .operator{color:#e8f0f8}.keyboard .system{color:#fff}.keyboard .system::before{background:var(--key-bs);border-color:transparent}.keyboard .ac{color:#fff;letter-spacing:.02em}.keyboard .ac::before{background:var(--orange);border-color:transparent}.keyboard [data-value="="]{color:var(--accent-fill-text);font-size:1.1rem;white-space:nowrap}.keyboard [data-value="="]::before{background:var(--accent-fill);border-color:transparent}[data-palette=modern] .keyboard .number{color:#1e293b}[data-theme=dark][data-palette=modern] .keyboard .number{color:#f1f5f9}[data-palette=modern] .keyboard [data-value="+"]{color:#059669}[data-palette=modern] .keyboard [data-value="+"]::before{background:#ecfdf5}[data-palette=modern] .keyboard [data-value="-"]{color:#e11d48}[data-palette=modern] .keyboard [data-value="-"]::before{background:#fff1f2}[data-theme=dark][data-palette=modern] .keyboard [data-value="+"]{color:#34d399}[data-theme=dark][data-palette=modern] .keyboard [data-value="+"]::before{background:#123528}[data-theme=dark][data-palette=modern] .keyboard [data-value="-"]{color:#fb7185}[data-theme=dark][data-palette=modern] .keyboard [data-value="-"]::before{background:#3a1420}[data-palette=modern] .keyboard [data-value="×"],[data-palette=modern] .keyboard [data-value="÷"]{color:#d97706}[data-theme=dark][data-palette=modern] .keyboard [data-value="×"],[data-theme=dark][data-palette=modern] .keyboard [data-value="÷"]{color:#fbbf24}[data-palette=modern] .keyboard [data-value="%"]{color:#64748b}[data-theme=dark][data-palette=modern] .keyboard [data-value="%"]{color:#94a3b8}[data-palette=modern] .keyboard [data-value="M+"],[data-palette=modern] .keyboard [data-value=M-],[data-palette=modern] .keyboard [data-value=MC],[data-palette=modern] .keyboard [data-value=MR]{color:#475569}[data-theme=dark][data-palette=modern] .keyboard [data-value="M+"],[data-theme=dark][data-palette=modern] .keyboard [data-value=M-],[data-theme=dark][data-palette=modern] .keyboard [data-value=MC],[data-theme=dark][data-palette=modern] .keyboard [data-value=MR]{color:#94a3b8}[data-palette=modern] .keyboard .ac{color:#e11d48}[data-palette=modern] .keyboard .ac::before{background:var(--key-fn);border-color:transparent}[data-theme=dark][data-palette=modern] .keyboard .ac{color:#fb7185}[data-palette=subtle-slate] .positive{color:#047857}[data-theme=dark][data-palette=subtle-slate] .positive{color:#34d399}[data-palette=subtle-slate] .keyboard .number{color:#1e293b}[data-theme=dark][data-palette=subtle-slate] .keyboard .number{color:#f8fafc}[data-palette=subtle-slate] .keyboard [data-value="+"]{color:#065f46}[data-palette=subtle-slate] .keyboard [data-value="-"]{color:#9f1239}[data-palette=subtle-slate] .keyboard [data-value="×"],[data-palette=subtle-slate] .keyboard [data-value="÷"]{color:#92400e}[data-theme=dark][data-palette=subtle-slate] .keyboard [data-value="+"]{color:#34d399}[data-theme=dark][data-palette=subtle-slate] .keyboard [data-value="-"]{color:#fda4af}[data-theme=dark][data-palette=subtle-slate] .keyboard [data-value="×"],[data-theme=dark][data-palette=subtle-slate] .keyboard [data-value="÷"]{color:#fbbf24}.keyboard [data-value="M+"],.keyboard [data-value=M-],.keyboard [data-value=MC],.keyboard [data-value=MR]{font-size:.92rem;display:flex;align-items:center;justify-content:center}.keyboard .m_function{font-size:.92rem;line-height:1.1}.keyboard .m_number{position:absolute;top:.42rem;right:.55rem;font-family:"JetBrains Mono",Consolas,monospace;font-size:.56rem;font-weight:700;color:var(--slate-700);opacity:.75}.keyboard .custom{color:var(--sand-ink);font-size:.95rem}.keyboard .custom::before{background:var(--sand);border-color:var(--sand-border)}.key-settings{position:absolute;right:.4rem;bottom:.32rem;width:1.5rem;height:1.5rem;display:flex;align-items:center;justify-content:center;cursor:pointer;border-radius:.45rem;opacity:0;color:var(--sand-ink);transition:opacity .15s,background .15s}.key-settings:focus-visible,.keyboard button:hover .key-settings{opacity:.85}.key-settings:hover{opacity:1;background:rgba(12,28,46,.1)}.key-settings svg{width:1rem;height:1rem;display:block}@media (hover:none){.key-settings{opacity:.6}}.appfooter{flex:none;background:var(--bar);color:#dce6f1;padding:.6rem 1rem;font-size:.78rem}.appfooter .fwrap{display:flex;align-items:center;gap:.5rem 1.6rem;flex-wrap:wrap;max-width:88rem;margin:0 auto}.appfooter a{color:#dce6f1;text-decoration:none}.appfooter a:hover{color:#fff}#copyright{white-space:nowrap}.version-info{font-size:.66rem;color:#a9bfd4;margin-left:.4rem}.appfooter .legal{margin-left:auto;display:flex;gap:1.1rem;flex-wrap:wrap}.apps-card{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;justify-content:flex-end;padding:.9rem 1.1rem .7rem;overflow:hidden}.apps-card .apps-headline{margin-bottom:.5rem;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#linkslist{display:flex;align-items:flex-end;justify-content:space-between;gap:.2rem;margin:0;padding:0;list-style:none}#linkslist li{list-style:none;flex:1 1 0;min-width:0}#linkslist a{display:flex;flex-direction:column;align-items:center;gap:.3rem;padding:.45rem .15rem;border-radius:var(--r-input);text-decoration:none;color:var(--slate-700)}#linkslist a:hover{background:var(--accent-100);color:var(--accent-700)}#linkslist .icon{display:inline-flex;color:var(--slate-500)}#linkslist a:hover .icon{color:var(--accent-700)}#linkslist .icon svg{width:1.5rem;height:1.5rem}#linkslist .description{display:block;font-size:.66rem;font-weight:700;line-height:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}.dialog.popup::backdrop{background:rgba(12,28,46,.5)}[data-theme=dark] .dialog.popup::backdrop{background:rgba(0,0,0,.6)}.dialog.popup{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);z-index:var(--z-dialog-top);margin:0;border:0;background:var(--card);color:var(--ink);border-radius:1rem;box-shadow:var(--shadow-card);padding:1.3rem 1.4rem 1.1rem;width:min(27rem,calc(100vw - 2rem));box-sizing:border-box;text-align:right}.dialog.content{text-align:left;margin:0 0 1.1rem;font-size:.9rem}.dialog.content h3{margin:0 0 .6rem;font-size:1rem}.dialog.content ul{margin:.4rem 0 .2rem 1.1rem;padding:0}.dialog .no,.dialog .yes{display:inline-block;cursor:pointer;border-radius:999px;padding:.5rem 1.35rem;font-weight:700;font-size:.85rem;text-decoration:none}.dialog .yes{background:var(--accent-fill);color:var(--accent-fill-text);box-shadow:0 2px 8px rgba(12,28,46,.2)}.dialog .yes:hover{filter:brightness(1.07)}.dialog .no{color:var(--accent-700);border:1px solid var(--line);margin-left:.5rem}.dialog .no:hover{background:var(--accent-100)}.dialog .no:focus-visible,.dialog .yes:focus-visible{border-radius:999px}#savedialog{display:none}.tax-title{font-weight:800;font-size:1.02rem;margin-bottom:.8rem;color:var(--ink)}.tax-form{display:flex;flex-direction:column;gap:.7rem;min-width:16rem}.tax-form label{display:flex;flex-direction:column;gap:.25rem;font-size:.8rem;font-weight:700;color:var(--slate-700)}.tax-form input{font:inherit;font-size:.95rem;font-weight:600;padding:.5rem .65rem;border:1px solid var(--line);border-radius:var(--r-input);background:var(--surface);color:var(--ink);box-sizing:border-box}.tax-form input:focus{outline:0;border-color:var(--accent-500);box-shadow:0 0 0 2px var(--accent-100)}.tax-hint{font-size:.74rem;font-weight:400;line-height:1.4;color:var(--slate-500)}.tax-switch{display:flex;align-items:center;justify-content:space-between;gap:.8rem}.tax-switch-title{font-size:.85rem;font-weight:700;color:var(--ink)}.tax-switch-sub{font-size:.74rem;color:var(--slate-500)}.tax-toggle{position:relative;flex:0 0 auto;width:2.6rem;height:1.5rem;cursor:pointer}.tax-toggle input{position:absolute;opacity:0;width:0;height:0}.tax-toggle input:focus-visible+.tax-toggle-track{outline:2px solid var(--accent-500);outline-offset:2px}.tax-toggle-track{position:absolute;inset:0;background:var(--line);border:1px solid var(--slate-500);border-radius:1rem;transition:background .15s,border-color .15s}.tax-toggle-track::before{content:"";position:absolute;top:50%;left:.18rem;width:1.05rem;height:1.05rem;transform:translateY(-50%);background:var(--slate-500);border-radius:50%;transition:left .15s,background .15s}.tax-toggle input:checked+.tax-toggle-track{background:var(--accent-fill);border-color:var(--accent-fill)}.tax-toggle input:checked+.tax-toggle-track::before{left:calc(100% - 1.23rem);background:#fff}.tax-default{margin:.3rem auto 0;padding:.4rem .9rem;font:inherit;font-size:.85rem;font-weight:700;color:var(--accent-700);background:0 0;border:none;cursor:pointer}.tax-default:hover{text-decoration:underline}.share-toast{position:fixed;left:50%;top:4.4rem;transform:translateX(-50%) translateY(-.5rem);background:var(--navy-950);color:#eaf2fa;font-weight:700;font-size:.82rem;padding:.7rem 1.2rem;border-radius:999px;box-shadow:0 8px 24px rgba(12,28,46,.35);z-index:var(--z-toast);opacity:0;pointer-events:none;transition:transform .25s ease,opacity .25s ease;max-width:min(34rem,calc(100vw - 2rem));box-sizing:border-box;text-align:center}.share-toast.visible{transform:translateX(-50%) translateY(0);opacity:1}.share-toast.success{background:var(--accent-700);color:#fff}.share-toast.error{background:var(--red-500);color:#fff}#rotateNote{display:none}.dialog.popup.rotate-dialog{display:flex;flex-direction:column;align-items:center;gap:.9rem;text-align:center;font-size:.95rem}.rotate-dialog svg{width:3rem;height:3rem;color:var(--accent-500)}.dialog.popup.rotate-dialog::backdrop{background:var(--navy-950) url("img/rotate-bg.png") center/cover no-repeat}#transitionCurtain{position:fixed;inset:0;z-index:var(--z-curtain);background:var(--navy-950);opacity:0;visibility:hidden;pointer-events:none}#transitionCurtain.on{opacity:1;visibility:visible}html.mobilekeypad{--sheet-peek:4.2rem}html.mobilekeypad .layout{display:flex;flex-direction:column;padding:0 0 calc(var(--sheet-h,15.4rem) + var(--footer-h,1.8rem) + .3rem);transition:padding-bottom .25s ease}html.mobilekeypad.sheetdown .layout{padding-bottom:calc(var(--sheet-peek) + var(--footer-h,1.8rem) + .3rem)}html.mobilekeypad .workspace{flex:1 1 auto;min-height:0;border:0;box-shadow:none}html.mobilekeypad .side{display:contents}html.mobilekeypad .result-card{display:none}html.mobilekeypad .keypad-card{position:fixed;left:0;right:0;bottom:var(--footer-h,1.8rem);background:var(--surface);z-index:var(--z-sheet);border-radius:1.1rem 1.1rem 0 0;border-bottom:0;box-shadow:none;transition:transform .25s ease;padding-bottom:.7rem}html.mobilekeypad.sheetdown .keypad-card{transform:translateY(calc(100% - var(--sheet-peek)))}html.mobilekeypad .sheet-head{display:flex;flex-direction:column;gap:.2rem;padding:0 .3rem .5rem;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}html.mobilekeypad .sheet-head:active{cursor:grabbing}.sheet-head .handle{width:2.75rem;height:.3rem;border-radius:.2rem;background:var(--line);margin:.15rem auto .25rem;position:relative}.sheet-head .handle::after{content:'';position:absolute;inset:-0.5rem -3.5rem -0.35rem}.sheet-head .sheet-res{display:flex;align-items:baseline;gap:.6rem}.sheet-head .eyebrow{flex:none}.sheet-head .resultbtn{font-size:1.45rem;padding:0;text-align:right;width:auto;max-width:70%;margin-left:auto}.sheet-head .sheet-more,.sheet-head .sheet-tax{display:none}.sheet-key{display:flex;align-items:center;gap:.3rem;min-width:0;font-size:.85rem;font-weight:700;padding:.3rem .6rem;border-radius:999px;color:var(--sand-ink);background:var(--sand);border:1px solid var(--sand-border);touch-action:manipulation}.sheet-key .key-label{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:center}.sheet-key .key-settings{position:static;flex:none;opacity:.6}.sheet-key:hover .key-settings{opacity:1}html.mobilekeypad.sheetdown .sheet-head .eyebrow{display:none}html.mobilekeypad.sheetdown .sheet-head .sheet-res{align-items:center}html.mobilekeypad.sheetdown .sheet-head .sheet-tax{display:flex;gap:.4rem;flex:1 1 0;min-width:0}.sheet-tax .sheet-key{flex:1 1 0}html.mobilekeypad.sheetdown .sheet-head .resultbtn{flex:1 1 0;min-width:0;max-width:none}@media (max-width:575.98px){html.mobilekeypad.sheetdown .sheet-head .sheet-tax{display:none}html.mobilekeypad.sheetdown .sheet-head .sheet-more{display:block;position:relative}html.mobilekeypad.sheetdown .sheet-head .resultbtn{flex:0 1 auto;max-width:80%}}#sheetMoreBtn{display:inline-flex;align-items:center;justify-content:center;width:2.6rem;height:1.9rem;border-radius:999px;font-size:.62rem;letter-spacing:.1em;text-indent:.1em;line-height:1;color:var(--sand-ink);background:color-mix(in srgb,var(--sand) 84%,var(--sand-ink));border:1px solid color-mix(in srgb,var(--sand-border) 72%,var(--sand-ink))}#sheetMoreList{display:none;position:absolute;left:0;bottom:calc(100% + .6rem);flex-direction:column;gap:.3rem;margin:0;padding:.4rem;list-style:none;min-width:13rem;max-width:calc(100vw - 1.5rem);background:var(--card);border:1px solid var(--line);border-radius:.75rem;box-shadow:var(--shadow-card)}.sheet-more.open #sheetMoreList{display:flex}#sheetMoreList .sheet-key{width:100%;box-sizing:border-box}html.mobilekeypad #desktop{display:none}html.mobilekeypad #mobile{display:block;position:relative;height:min(12rem,36dvh)}html.mobilekeypad .brand .brand-claim{display:none}html.mobilekeypad .appheader{padding:0 .75rem}html.mobilekeypad .apps-card{display:none}html.mobilekeypad #status_text{justify-content:center}html.mobilekeypad #status_text .autosave{margin-left:0}html.mobilekeypad .toolbar{justify-content:center}html.mobilekeypad .editor{font-size:var(--editor-fs, 1rem)}html.mobilekeypad .appfooter{position:fixed;left:0;right:0;bottom:0;z-index:var(--z-sheet);padding:.35rem 1rem calc(.35rem + env(safe-area-inset-bottom,0px))}html.mobilekeypad .appfooter .fwrap>a{display:none}html.mobilekeypad .appfooter .legal{margin:0 auto}html.mobilekeypad.syskeyboard .appfooter{display:block;bottom:var(--kb-inset,0);padding-bottom:.35rem}html.mobilekeypad.syskeyboard .keypad-card{bottom:calc(var(--kb-inset,0px) + var(--footer-h,1.8rem))}html.mobilekeypad.syskeyboard body::after{content:"";position:fixed;left:0;right:0;bottom:0;height:var(--kb-inset,0);background:var(--navy-950) url("img/rotate-bg.png") center/cover no-repeat;z-index:var(--z-kbbackdrop);pointer-events:none}html.syskeyboard body{height:var(--vvh,100%)}html.mobilekeypad .share-toast{top:auto;bottom:calc(var(--sheet-h,15.4rem) + var(--footer-h,1.8rem) + .6rem)}html.mobilekeypad.sheetdown .share-toast{bottom:calc(var(--sheet-peek) + var(--footer-h,1.8rem) + .6rem)}html.shrinkkeys .keyboard button{font-size:.9rem}html.shrinkkeys .keyboard [data-value="="]{font-size:.95rem}html.slimresult .result-card .metrics,html.slimresult .result-card .sub{display:none}html.noapps .apps-card{display:none}html:not(.mobilekeypad).slimresult .result-card{display:flex;align-items:flex-start;justify-content:space-between;gap:.8rem}html:not(.mobilekeypad).slimresult .result-card .resultbtn{width:auto;padding-top:0}html:not(.mobilekeypad).slimresult .keypad-card{flex:1 1 auto;min-height:0;display:flex;flex-direction:column}html:not(.mobilekeypad).slimresult #desktop{flex:1 1 auto;height:auto;max-height:none!important}html:not(.mobilekeypad).slimresult .apps-card{flex:0 0 auto}html:not(.mobilekeypad).slimresult .apps-headline{display:none}@media print{#loading,#statusbar,.appfooter,.appheader,.dialog.popup,.share-toast,.side,.toolbar{display:none!important}#wrapper,.layout,.workspace,body,html{display:block!important;height:auto!important;overflow:visible!important;background:#fff!important}.layout{padding:0;max-width:none}.card{border:0!important;box-shadow:none!important;border-radius:0!important}#editor{overflow:visible!important;background:#fff!important;padding:1rem!important}html.showlines #editor>div{border-bottom:1px solid #ccc}#editor div{page-break-inside:avoid}.editor>div.activeline{background:0 0!important;box-shadow:none!important}.editor div[title]{background:0 0!important;box-shadow:none!important}.editor div[title]::before,.editor>div::before{display:none!important}}@media (prefers-reduced-motion:reduce){*,::after,::before{transition:none!important;animation:none!important}}