.auth-gate{position:relative;min-height:100vh}.auth-gate__app{min-height:100vh;transition:filter .35s ease,opacity .35s ease}.auth-gate__app--dimmed{filter:blur(5px) brightness(.72);pointer-events:none;-webkit-user-select:none;user-select:none}.auth-gate__overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10000;display:none;align-items:center;justify-content:center;padding:1.25rem;background:#1f4e796b;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);animation:auth-gate-fade-in .3s ease}.auth-gate--password .auth-gate__overlay{display:flex}.auth-gate__overlay--fade-out{animation:auth-gate-fade-out .45s ease forwards}.auth-gate__panel{width:min(100%,22rem);padding:1.35rem 1.25rem 1.15rem;border-radius:10px;border:1px solid var(--auth-border, #d1d5db);background:var(--auth-panel-bg, #ffffff);box-shadow:0 18px 48px #00000038;text-align:center}.auth-gate--dark .auth-gate__panel{--auth-panel-bg: #2d3436;--auth-border: #4f5b66;--auth-text: #e6e8eb;--auth-muted: #9ca3af}.auth-gate--light .auth-gate__panel{--auth-text: #2d3436;--auth-muted: #4f5b66}.auth-gate__logo{display:block;width:min(100%,240px);height:auto;margin:0 auto .85rem}.auth-gate__subtitle{margin:-.35rem 0 .85rem;font-size:.82rem;color:var(--auth-muted)}.auth-gate__field{display:flex;flex-direction:column;gap:.3rem;text-align:left;margin-bottom:.65rem}.auth-gate__field>span{font-size:.78rem;font-weight:600;color:var(--auth-muted)}.auth-gate__password-row{display:flex;gap:.35rem}.auth-gate__input{flex:1;padding:.42rem .55rem;border:1px solid var(--auth-border);border-radius:6px;background:var(--auth-input-bg, #e6e8eb);color:var(--auth-text);font-size:.88rem}.auth-gate--dark .auth-gate__input{--auth-input-bg: #1a1f23}.auth-gate__toggle{padding:.42rem .55rem;border:1px solid var(--auth-border);border-radius:6px;background:transparent;color:var(--auth-muted);font-size:.72rem;font-weight:600;cursor:pointer}.auth-gate__toggle:hover{border-color:#1f4e79;color:#1f4e79}.auth-gate__remember{display:flex;align-items:center;gap:.45rem;margin:.15rem 0 .75rem;font-size:.78rem;color:var(--auth-muted);text-align:left;cursor:pointer}.auth-gate__remember input{accent-color:#1f4e79}.auth-gate__submit{width:100%;padding:.48rem .75rem;border:none;border-radius:6px;background:#1f4e79;color:#fff;font-size:.88rem;font-weight:700;cursor:pointer}.auth-gate__submit:hover:not(:disabled){background:#163a5c}.auth-gate__submit:disabled{opacity:.55;cursor:not-allowed}.auth-gate__error{margin:.55rem 0 0;font-size:.78rem;font-weight:600;color:#b91c1c}.auth-gate__lockout{margin:.55rem 0 0;font-size:.78rem;color:var(--auth-muted);line-height:1.35}.auth-gate__loading{margin:0;font-size:.85rem;color:var(--auth-muted)}@keyframes auth-gate-fade-in{0%{opacity:0}to{opacity:1}}@keyframes auth-gate-fade-out{0%{opacity:1}to{opacity:0}}*,*:before,*:after{box-sizing:border-box}:root{--everroux-green: #d97706;--everroux-blue: #1f4e79;--everroux-grey: #4f5b66;--everroux-green-light: color-mix(in srgb, var(--everroux-green) 70%, white);--everroux-green-dark: color-mix(in srgb, var(--everroux-green) 75%, black);--everroux-blue-light: color-mix(in srgb, var(--everroux-blue) 55%, white);--everroux-blue-mid: color-mix(in srgb, var(--everroux-blue) 80%, var(--everroux-grey));--everroux-blue-dark: color-mix(in srgb, var(--everroux-blue) 70%, black);--everroux-grey-light: color-mix(in srgb, var(--everroux-grey) 40%, white);--everroux-grey-dark: color-mix(in srgb, var(--everroux-grey) 50%, black);--everroux-bg: color-mix(in srgb, var(--everroux-blue) 88%, black);--everroux-panel: color-mix(in srgb, var(--everroux-blue) 70%, black);--everroux-panel-border: var(--everroux-blue-mid);--calc-chrome: 3.25rem;--calc-design-w: 48rem;--calc-design-h: 56.25rem;--calc-avail-h: calc(100dvh - var(--calc-chrome));--calc-canvas-max: min(50rem, 100%, var(--calc-design-w));--calc-tap: clamp(1.75rem, min(5.2vmin, 4.5vh), 2.85rem);--calc-tap-unit: clamp(1.9rem, min(6.2vmin, 5.4vh), 3.25rem);--calc-key-fs: clamp(1rem, min(3.1vmin, 2.7vh), 1.75rem);--calc-frac-rail: clamp(3.5rem, min(9vmin, 8vh), 5.5rem);--calc-gap: clamp(.32rem, min(1.05vmin, .9vh), .6rem);--calc-pad: clamp(.25rem, min(1.05vmin, .8vh), .55rem)}html{-webkit-text-size-adjust:100%;height:100%}body{margin:0;min-height:100dvh;height:100%;font-family:system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,sans-serif;background:var(--bg, #e6e8eb);color:var(--text, #2d3436)}.app--dark body,body:has(.app--dark){background:#1a1f23;color:#e6e8eb}#root{min-height:100dvh;height:100%;display:flex;flex-direction:column}#root>*{flex:1 1 auto;min-height:0}.calc-stage{box-sizing:border-box;flex:1 1 auto;width:100%;height:100%;min-width:0;min-height:0;display:flex;align-items:center;justify-content:center;overflow:hidden;container-type:size;container-name:calc-stage}.calc-slot{--calc-fit-scale: 1;--calc-canvas-w: var(--calc-design-w);box-sizing:border-box;flex:0 0 auto;width:calc(var(--calc-canvas-w) * var(--calc-fit-scale));height:calc(var(--calc-design-h) * var(--calc-fit-scale));position:relative;overflow:hidden}.app{box-sizing:border-box;width:min(100%,var(--calc-canvas-max));max-width:var(--calc-canvas-max);height:100%;min-height:0;max-height:100%;margin:0 auto;padding:var(--calc-pad) clamp(.28rem,min(1.4cqi,1.2vmin,1.1vh),.7rem) var(--calc-pad);display:flex;flex-direction:column;gap:var(--calc-gap);overflow:hidden;container-type:inline-size;container-name:calc-canvas;--calc-tap: clamp(1.75rem, 5.2cqi, 2.85rem);--calc-tap-unit: clamp(1.9rem, 6.2cqi, 3.25rem);--calc-key-fs: clamp(1rem, 3cqi, 1.75rem);--calc-frac-rail: clamp(3.2rem, 10cqi, 5.5rem);--calc-gap: clamp(.32rem, 1.15cqi, .65rem);--calc-pad: clamp(.24rem, 1.1cqi, .55rem)}#everroux-app{min-height:0}#everroux-app.everroux-app{flex:1 1 auto;height:100%;max-height:100%;min-height:0;overflow:hidden}#everroux-app .everroux-main{width:100%;max-width:none;flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0}#everroux-app .everroux-main>.calc-stage,#everroux-app[data-application-platform=desktop] .everroux-main>.calc-stage{flex:1 1 auto;min-height:0;max-height:100%;padding-top:0}#everroux-app .everroux-main>.app,#everroux-app[data-application-platform=desktop] .everroux-main>.app{flex:1 1 auto;min-height:0;max-height:100%;padding-top:var(--calc-pad)}.calc-slot .app,#everroux-app .everroux-main .calc-slot .app,#everroux-app[data-application-platform=desktop] .everroux-main .calc-slot .app{position:absolute;top:0;left:0;width:var(--calc-canvas-w, var(--calc-design-w));height:var(--calc-design-h);max-width:var(--calc-canvas-w, var(--calc-design-w));max-height:var(--calc-design-h);margin:0;flex:0 0 auto;transform:scale(var(--calc-fit-scale));transform-origin:top left;padding-top:var(--calc-pad)}.keypad-controls,.numpad-panel,.ops-panel,.history-panel,.fractions-panel,.frac-column{overflow:hidden;isolation:isolate}.numpad-panel{flex:3.2 1 0}.ops-panel{flex:2.2 1 0;position:relative;z-index:1}.history-panel{flex:1 1 0;position:relative;z-index:0}.keypad>.btn,.unit-row .btn,.unit-row .btn.btn-unit-ft,.unit-row .btn.btn-unit-in,.ops-panel .btn-row .btn,.frac-column .btn-frac,.btn-frac{min-height:0}.validation-panel--hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}#everroux-app .display-card,#everroux-app .panel{border:none}#everroux-app .display-card-error{box-shadow:inset 0 0 0 1px #8b3a3a}#everroux-app .app-footer{border-top:none;padding-top:.2rem}.header{display:grid;grid-template-areas:"headerBar";align-items:center;margin-bottom:12px;padding:8px 12px;background:linear-gradient(180deg,#fff,#f8fafcf5);border:1px solid rgb(85 122 97 / .25);border-radius:12px}.brand-logo{grid-area:headerBar;justify-self:start;height:44px;width:auto;max-width:38%;object-fit:contain;display:block;z-index:1}.header-copy{grid-area:headerBar;justify-self:center;min-width:0;max-width:calc(100% - 96px);display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;gap:2px;pointer-events:none}.title{margin:0;font-size:1.05rem;font-weight:650;letter-spacing:.02em;color:var(--everroux-blue);line-height:1.2}.subtitle{margin:0;font-size:.74rem;color:var(--everroux-green);line-height:1.25}.app-footer{flex:0 1 auto;margin-top:0;padding-top:.2rem;max-height:clamp(3.1rem,10.5vh,5rem);overflow-x:hidden;overflow-y:auto;border-top:1px solid var(--everroux-panel-border)}.keyboard-hints{margin:0;padding:0 4px;font-size:clamp(.58rem,1.05vh,.68rem);line-height:1.28;color:var(--everroux-grey);text-align:center;white-space:normal;overflow-wrap:break-word;word-break:break-word}.keyboard-hints kbd{display:inline-block;padding:.08em .3em;margin:0 1px;font-size:.92em;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:600;color:var(--everroux-grey-light);background:var(--everroux-grey-dark);border:1px solid var(--everroux-grey);border-radius:5px;box-shadow:0 1px 0 var(--everroux-bg)}@container calc-canvas (max-width: 42rem){.app-footer,#everroux-app .app-footer{display:none}}@media(max-width:640px){.app-footer,#everroux-app .app-footer{display:none}}.display-card{flex:0 0 auto;flex-shrink:0;background:linear-gradient(165deg,var(--everroux-blue-mid) 0%,var(--everroux-blue) 100%);border:1px solid var(--everroux-panel-border);border-radius:12px;padding:clamp(.4rem,min(1.3cqi,1.1vh),.85rem) clamp(.55rem,min(1.6cqi,1.3vh),1rem);margin-bottom:0;box-shadow:inset 0 1px #ffffff0a}.display-secondary{flex:0 0 auto;min-height:1.2em;font-size:clamp(.75rem,min(2.2cqi,1.45vh),.9rem);color:#c5d4e8;text-align:right;overflow-wrap:anywhere;word-break:break-word}.display-primary{margin-top:4px;font-size:clamp(1.15rem,min(4cqi,3.3vh),2rem);font-weight:650;color:#f0f8ff;text-align:right;word-break:break-word;font-variant-numeric:tabular-nums;letter-spacing:.02em}.display-card-error{border-color:#8b3a3a}.display-primary-error{color:#e07070}.display-dual{display:flex;justify-content:space-between;align-items:baseline;gap:clamp(6px,1.2vh,12px);text-align:left;flex-wrap:wrap}.display-arch{flex:1 1 auto;min-width:0;word-break:break-word}.display-alt{flex:0 1 auto;display:inline-flex;flex-wrap:wrap;justify-content:flex-end;align-items:baseline;gap:.35em .75em;min-width:0}.display-dec,.display-inches{flex:0 0 auto;font-size:clamp(.78rem,min(2.4cqi,2vh),1.15rem);font-weight:550;color:#e8eef6;white-space:nowrap}.layout{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;gap:var(--calc-gap)}.keypad-row{position:relative;display:flex;flex:1 1 auto;min-width:0;min-height:0;align-items:stretch;gap:var(--calc-gap)}.keypad-controls{width:auto;max-width:none;flex:1 1 auto;min-width:0;min-height:0;display:flex;flex-direction:column;gap:var(--calc-gap);overflow:hidden;isolation:isolate}.keypad-controls .panel{padding:var(--calc-pad)}.panel{background:var(--everroux-panel);border:1px solid var(--everroux-panel-border);border-radius:14px;padding:var(--calc-pad)}.panel-label{font-size:clamp(.62rem,1.05vh,.72rem);text-transform:uppercase;letter-spacing:.12em;color:var(--everroux-grey);margin-bottom:clamp(4px,.7vh,8px)}.ops-panel .btn-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--calc-gap);margin-bottom:var(--calc-gap);flex:1 1 auto}.ops-panel .btn-row-mul{grid-template-columns:repeat(4,minmax(0,1fr))}.ops-panel .btn-row-mul .btn{font-size:clamp(1.15rem,min(3.1cqi,2.7vh),1.75rem)}.ops-panel .btn-row-mul .btn-op-dim-label{font-size:1em}.btn-op-dim{letter-spacing:-.02em}.ops-panel .btn-row:last-child{margin-bottom:0}.numpad-panel{border-color:var(--everroux-blue-mid);flex:3.2 1 0;min-height:0;display:flex;flex-direction:column;overflow:hidden}.numpad-panel .keypad{flex:1 1 auto;min-height:0}.unit-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--calc-gap);margin-top:var(--calc-gap);flex:.38 1 0;min-height:0}.unit-row .btn{height:100%;min-height:0;min-width:0}.ops-panel{flex:2.2 1 0;display:flex;flex-direction:column;min-height:0;overflow:hidden;position:relative;z-index:1}.ops-panel .btn-row .btn,.keypad>.btn{height:100%;min-height:0;min-width:0}.keypad{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(4,minmax(0,1fr));gap:var(--calc-gap);align-items:stretch;justify-items:stretch}.keypad-spacer{min-height:0}.unit-key{display:inline-block;margin-left:4px;padding:1px clamp(3px,.7cqi,6px);font-size:clamp(.95rem,2.6cqi,1.15rem);font-weight:700;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#ffffff1a;border-radius:4px;vertical-align:1px}.btn{border:none;border-radius:10px;min-height:var(--calc-tap);font-size:var(--calc-key-fs);font-weight:600;line-height:1;cursor:pointer;touch-action:manipulation;-webkit-user-select:none;user-select:none;transition:background .12s ease,transform .06s ease}.btn:active{transform:scale(.97)}.btn-num{background:linear-gradient(180deg,var(--everroux-grey) 0%,var(--everroux-grey-dark) 100%);color:var(--everroux-grey-light);border:1px solid var(--everroux-grey);box-shadow:0 2px 0 var(--everroux-bg),inset 0 1px #ffffff0f}.btn-num:active{background:var(--everroux-grey-dark)}.unit-row .btn.btn-unit-ft,.unit-row .btn.btn-unit-in{min-height:0}.btn-unit-ft{min-height:0;font-size:clamp(1.05rem,min(2.8cqi,2.4vh),1.55rem);font-weight:650;background:linear-gradient(180deg,var(--everroux-blue-light) 0%,var(--everroux-blue) 100%);color:#f0f8ff;border:1px solid var(--everroux-blue-light);box-shadow:0 2px 0 var(--everroux-blue-dark),inset 0 1px #ffffff2e}.btn-unit-ft:active{background:var(--everroux-blue-dark)}.btn-unit-in{min-height:0;font-size:clamp(1.05rem,min(2.8cqi,2.4vh),1.55rem);font-weight:650;background:linear-gradient(180deg,var(--everroux-green-light) 0%,var(--everroux-green) 100%);color:#f0fff4;border:1px solid var(--everroux-green-light);box-shadow:0 2px 0 var(--everroux-green-dark),inset 0 1px #ffffff2e}.btn-unit-in:active{background:var(--everroux-green-dark)}.btn-frac{flex:1 1 0;flex-shrink:1;min-height:0;padding:1px 3px;font-size:clamp(.62rem,min(1.85cqi,1.55vh),.95rem);font-weight:700;line-height:1.05;background:linear-gradient(180deg,var(--everroux-green-light) 0%,var(--everroux-green) 100%);color:#f0fff4;border:1px solid var(--everroux-green-light);box-shadow:inset 0 1px #ffffff24}.btn-frac:active{background:var(--everroux-green-dark)}.ops-panel>.btn-row:first-of-type .btn-op{background:linear-gradient(180deg,var(--everroux-blue-mid) 0%,var(--everroux-blue) 100%);color:#f0f8ff;border:1px solid var(--everroux-blue-light);box-shadow:0 2px 0 var(--everroux-blue-dark),inset 0 1px #ffffff1f}.ops-panel>.btn-row:first-of-type .btn-op:active{background:var(--everroux-blue-dark)}.btn-row-mul .btn-op:not(.btn-op-div){background:linear-gradient(180deg,var(--everroux-blue-light) 0%,var(--everroux-blue) 100%);color:#f0f8ff;border:1px solid var(--everroux-blue-light);box-shadow:0 2px 0 var(--everroux-blue-dark),inset 0 1px #ffffff26}.btn-row-mul .btn-op:not(.btn-op-div):active{background:var(--everroux-blue-dark)}.btn-op{font-size:clamp(1.3rem,min(3.5cqi,3vh),1.95rem)}.btn-op-add{font-size:clamp(1.4rem,min(3.7cqi,3.2vh),2.1rem);font-weight:700;letter-spacing:.04em}.btn-op-div{background:linear-gradient(180deg,var(--everroux-blue) 0%,var(--everroux-blue-dark) 100%);color:#f0f8ff;border:1px solid var(--everroux-blue-mid);box-shadow:0 2px 0 var(--everroux-bg),inset 0 1px #ffffff1f}.btn-op-div:active{background:var(--everroux-blue-dark)}.btn-op-dim-label{display:inline-flex;align-items:flex-end;justify-content:center;gap:0;line-height:1}.btn-op-dim-sym{font-size:1em;font-weight:700;line-height:1}.btn-op-dim-sub{font-size:.52em;font-weight:650;line-height:1;margin-left:.06em;margin-bottom:.1em;text-transform:lowercase}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.btn-fn{background:linear-gradient(180deg,var(--everroux-blue-light) 0%,var(--everroux-blue) 100%);color:#eef5ff;border:1px solid var(--everroux-blue-light);box-shadow:0 2px 0 var(--everroux-blue-dark),inset 0 1px #ffffff1f}.btn-fn:active{background:var(--everroux-blue-dark)}.btn-clear{background:linear-gradient(180deg,#9b3a3a,#832f2f);color:#fff5f5;border:1px solid #c25555;box-shadow:0 2px #461818,inset 0 1px #ffffff1f}.btn-clear:active{background:#702929}.fractions-panel{position:relative;top:auto;right:auto;bottom:auto;flex:0 0 var(--calc-frac-rail);width:var(--calc-frac-rail);min-width:0;align-self:stretch;display:flex;flex-direction:column;padding:clamp(.3rem,min(.9cqi,.8vmin),.55rem) clamp(.18rem,min(.7cqi,.6vmin),.45rem);min-height:0;overflow:hidden}.frac-panel-label{flex:0 0 auto;margin-bottom:clamp(3px,.5vh,6px);font-size:clamp(.62rem,1.05vh,.72rem);letter-spacing:.08em;text-align:center;line-height:1.15}.frac-column{flex:1 1 auto;display:flex;flex-direction:column;gap:clamp(.1rem,.32vh,.22rem);min-height:0;overflow:hidden;padding-right:0}.frac-column:focus-visible{outline:none;box-shadow:inset 0 0 0 2px color-mix(in srgb,var(--everroux-green) 55%,transparent);border-radius:8px}.frac-column .btn-frac{flex:1 1 0;width:100%;min-height:0}.history-panel{padding:clamp(6px,.9vh,10px) clamp(8px,1.1vh,12px) clamp(8px,1vh,12px);margin-top:0;flex:1 1 0;min-height:0;min-width:0;display:flex;flex-direction:column;overflow:hidden;position:relative;z-index:0}.history-panel>.panel-label{flex:0 0 auto;margin-bottom:clamp(4px,.6vh,8px)}.history-scroll{flex:1 1 auto;max-height:none;min-height:0;overflow-x:hidden;overflow-y:auto;scroll-behavior:smooth;scroll-padding-top:8px;scroll-padding-bottom:14px;border-radius:12px;background:var(--everroux-bg);border:1px solid var(--everroux-panel-border);outline:none;-webkit-overflow-scrolling:touch;overscroll-behavior-y:contain}.history-scroll:focus-visible{box-shadow:0 0 0 2px color-mix(in srgb,var(--everroux-blue-light) 45%,transparent)}.history-list{list-style:none;margin:0;padding:10px 0 14px;min-height:100%;display:flex;flex-direction:column}.history-item{padding:clamp(8px,1.15vh,14px) clamp(10px,1.3vh,16px);margin:0 8px 8px;font-size:clamp(.8rem,1.5vh,.95rem);line-height:1.4;min-height:0;word-break:break-word;font-variant-numeric:tabular-nums;border-radius:10px;background:var(--everroux-panel);border:1px solid var(--everroux-panel-border)}.history-item:first-child{flex:1 1 auto;display:flex;align-items:center}.history-item:last-child{margin-bottom:10px}.history-item-result{color:#dfe7f2}.history-item-note{color:var(--everroux-grey-light);border-style:dashed;border-color:var(--everroux-grey);background:var(--everroux-bg)}.history-hint{margin:0;padding:0 14px 14px;font-size:.82rem;line-height:1.45;color:var(--everroux-grey);text-align:center}.history-hint kbd{display:inline-block;padding:.1em .35em;font-size:.76rem;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-weight:600;color:var(--everroux-grey-light);background:var(--everroux-grey-dark);border:1px solid var(--everroux-grey);border-radius:5px}@media(max-width:640px){#everroux-app[data-shell-variant=compact] .everroux-footer--compact{grid-template-columns:auto 1fr auto;justify-items:stretch;text-align:center;min-height:1.1rem;padding:.06rem .35rem;font-size:.55rem;gap:.15rem .35rem}#everroux-app[data-shell-variant=compact] .everroux-footer--compact .everroux-footer__copy{justify-self:start}#everroux-app[data-shell-variant=compact] .everroux-footer--compact .everroux-footer__app{justify-self:center}#everroux-app[data-shell-variant=compact] .everroux-footer--compact .everroux-footer__links{justify-self:end}}@media(max-width:520px)and (pointer:coarse),(hover:none)and (pointer:coarse)and (max-width:900px){html:has(#everroux-app.everroux-app[data-application-platform=desktop]),html:has(#everroux-app.everroux-app[data-application-platform=desktop]) body,html:has(#everroux-app.everroux-app[data-application-platform=desktop]) #root{height:100svh;max-height:100svh;overflow:hidden}:root{--calc-tap: 2.25rem;--calc-tap-unit: 2.25rem;--calc-frac-rail: clamp(3.1rem, 17cqi, 4.15rem);--calc-gap: .32rem;--calc-pad: .32rem}.calc-stage,.calc-slot{display:flex;flex-direction:column;align-items:stretch;justify-content:stretch;width:100%;height:100%;max-width:none;max-height:none;position:static;overflow:hidden;transform:none}.calc-slot{flex:1 1 auto;min-height:0}.app,.calc-slot .app,#everroux-app .everroux-main .calc-slot .app,#everroux-app[data-application-platform=desktop] .everroux-main .calc-slot .app{position:static;transform:none;width:100%;max-width:none;height:100%;max-height:100%;padding:4px 6px max(4px,env(safe-area-inset-bottom,0px));overflow:hidden;gap:.32rem;margin:0;flex:1 1 auto}#everroux-app.everroux-app,#everroux-app .everroux-main,#everroux-app .everroux-main>.calc-stage,#everroux-app .everroux-main>.app,#everroux-app[data-application-platform=desktop] .everroux-main>.calc-stage,#everroux-app[data-application-platform=desktop] .everroux-main>.app{overflow:hidden;min-height:0;max-height:100%}.numpad-panel{flex:3 1 0}.ops-panel{flex:1.35 1 0}#everroux-app[data-shell-variant=compact] .everroux-footer--compact{grid-template-columns:auto 1fr auto;justify-items:stretch;text-align:center;min-height:1.1rem;padding:.06rem .4rem;font-size:.55rem}#everroux-app[data-shell-variant=compact] .everroux-footer--compact .everroux-footer__copy{justify-self:start}#everroux-app[data-shell-variant=compact] .everroux-footer--compact .everroux-footer__app{justify-self:center}#everroux-app[data-shell-variant=compact] .everroux-footer--compact .everroux-footer__links{justify-self:end}.display-card{padding:6px 10px;margin-bottom:0}.display-primary{margin-top:4px;font-size:clamp(1.15rem,5.2cqi,1.65rem)}.layout{flex:1 1 auto;min-height:0;gap:.32rem}.keypad-row{min-height:0;overflow:hidden}.keypad-controls{overflow:hidden;min-height:0}.panel{padding:6px 8px}.panel-label{margin-bottom:4px}.ops-panel .btn-row{gap:6px;margin-bottom:6px;min-height:0}.keypad{gap:6px}.unit-row{margin-top:6px;gap:6px;flex:.34 1 0;min-height:0}.btn{min-height:0;font-size:1.2rem}.keypad>.btn,.unit-row .btn,.unit-row .btn.btn-unit-ft,.unit-row .btn.btn-unit-in,.ops-panel .btn-row .btn{min-height:0}.ops-panel .btn-row-mul .btn{font-size:1.25rem}.ops-panel .btn-row-mul .btn-op-dim-label{font-size:1em;line-height:1}.keypad-spacer{min-height:0}.btn-unit-ft,.btn-unit-in{min-height:0;font-size:1.05rem}.numpad-panel,.ops-panel{min-height:0}.history-panel{flex:1.05 1 0;min-height:0}.fractions-panel,.frac-column{overflow:hidden;min-height:0}.frac-column{gap:.12rem}.frac-column .btn-frac,.btn-frac{min-height:0;font-size:clamp(.58rem,3.4cqi,.78rem);padding:1px 2px}.history-scroll{min-height:0}.history-item{padding:8px 10px;min-height:0;font-size:.82rem;line-height:1.35}.app-footer,#everroux-app .app-footer{display:none}}@media(max-height:900px){.keypad>.btn,.unit-row .btn,.unit-row .btn.btn-unit-ft,.unit-row .btn.btn-unit-in,.ops-panel .btn-row .btn,.frac-column .btn-frac,.btn-frac{min-height:0}.numpad-panel,.ops-panel,.history-panel,.history-scroll,.keypad-spacer{min-height:0}.ops-panel .btn-row-mul .btn-op-dim-label{font-size:1em;line-height:1}.app-footer{margin-top:0;padding-top:4px;max-height:clamp(2.8rem,10vh,4.5rem)}.keyboard-hints{font-size:clamp(.56rem,1vh,.64rem);line-height:1.26}}:root{--blue: #1f4e79;--copper: #d97706;--slate: #4f5b66;--wood: #8b7355;--ee-navy: var(--blue);--ee-sage: #547d63;--bg: #eef1ef;--surface: #ffffff;--border: #c5ccc6;--text: #1a2e34;--muted: var(--slate);--accent: var(--blue);--accent-soft: #e6ede8;--radius: .35rem;--shadow: 0 1px 3px rgba(0, 63, 91, .08);--font: "Inter", "Segoe UI", system-ui, sans-serif;--er-font-family: var(--font);--er-type-app-title: 18px;--er-type-section: 12px;--er-type-subhead: 12px;--er-type-label: 11px;--er-type-value: 12px;--er-type-result: 12px;--er-type-table: 11px;--er-type-note: 11px;--er-type-fine: 10px;--er-weight-regular: 400;--er-weight-medium: 500;--er-weight-semibold: 600;--er-workspace-gutter: 12px;--er-layout-reading-max: 42rem;--er-layout-web-max: 1600px;--er-z-page-control: 100;--er-page-control-sticky-top: var(--er-page-margin, 12px);--er-page-control-surface: var(--bg);--er-page-control-bleed-inline: 0px;--er-page-control-bleed-block: var(--er-page-margin, 12px)}.everroux-app.app--dark,.app--dark{--bg: #1a1f23;--surface: #2d3436;--border: #4f5b66;--text: #e6e8eb;--muted: #9ca3af;--accent-soft: #3d4549}.everroux-app{min-height:100vh;display:flex;flex-direction:column;font-family:var(--font);background:var(--bg);color:var(--text)}.everroux-app-top{position:sticky;top:0;z-index:200;background:var(--surface);box-shadow:0 2px 10px #0000001f}.everroux-header{background:var(--blue);color:#fff;border-bottom:var(--er-header-border, 2px) solid var(--copper);padding:var(--er-header-pad-y, .28rem) var(--er-header-pad-x, .75rem)}.everroux-header__bar{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2fr) minmax(0,1fr);align-items:center;gap:.5rem}.everroux-header__brand{display:flex;align-items:center;gap:.65rem;min-width:0}.everroux-header__logo{height:var(--er-header-logo, 26px);width:var(--er-header-logo, 26px);object-fit:contain;border-radius:6px}.everroux-header__title-row{display:flex;align-items:center;gap:.45rem;flex-wrap:wrap}.everroux-header__title{margin:0;font-size:var(--er-type-app-title);font-weight:var(--er-weight-semibold);line-height:1.2}.everroux-header__beta{display:inline-block;padding:.08rem .4rem;border-radius:.2rem;background:var(--copper);color:#fff;font-size:.62rem;font-weight:700;letter-spacing:.06em}.everroux-header__tagline{margin:0;font-size:.72rem;opacity:.9}.everroux-header__doc{justify-self:center;width:100%;max-width:460px}.everroux-header__doc-input{width:100%;box-sizing:border-box;height:var(--er-input-height, 30px);padding:0 .5rem;border:1px solid rgba(255,255,255,.45);border-radius:.35rem;background:#fffffff5;color:#1f2933;font:inherit;font-weight:600;text-align:center}.everroux-header__doc-sub{margin:.15rem 0 0;font-size:.7rem;text-align:center;color:#ffffffdb}.everroux-header__actions{justify-self:end;display:flex;align-items:center;gap:.35rem}.everroux-header__btn{background:#ffffff26;border:1px solid rgb(255 255 255 / .35);color:#fff;padding:.25rem .55rem;border-radius:4px;cursor:pointer;font:inherit;font-size:.75rem}.appearance-theme-toggle{display:inline-flex;align-items:center;gap:.35rem}.appearance-theme-toggle [data-appearance-theme][aria-pressed=true]{background:#ffffff47;border-color:var(--copper)}.appearance-menu{position:relative}.appearance-menu__panel{position:absolute;top:calc(100% + .3rem);right:0;z-index:300;min-width:10rem;padding:.35rem 0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.appearance-menu__panel [role=menuitemradio][aria-checked=true]{color:var(--accent);font-weight:var(--er-weight-semibold)}.everroux-core-toolbar{display:grid;grid-template-columns:minmax(10rem,1fr) auto minmax(10rem,1fr);align-items:center;min-height:var(--er-btn-height, 26px);padding:2px var(--er-header-pad-x, .75rem);gap:var(--er-control-gap, 4px);color:var(--text);background:var(--surface);border-bottom:1px solid var(--border)}.everroux-core-toolbar__identity,.everroux-core-toolbar__actions{display:inline-flex;align-items:center;min-width:0;gap:var(--er-control-gap, 4px)}.everroux-core-toolbar__identity{justify-self:start;font-size:var(--er-type-label, 11px);font-weight:var(--er-weight-semibold, 600)}.everroux-core-toolbar__actions{justify-self:center;grid-column:2}.everroux-core-toolbar__identity img{width:18px;height:18px;object-fit:contain}.everroux-core-toolbar__button{display:inline-flex;align-items:center;justify-content:center;gap:3px;min-height:var(--er-btn-height, 26px);padding:0 .45rem;border:1px solid var(--border);border-radius:var(--er-radius-dense, 3px);color:var(--text);background:var(--surface);font:inherit;font-size:var(--er-type-label, 11px);cursor:pointer}.everroux-core-toolbar__button:hover:not(:disabled),.everroux-core-toolbar__button:focus-visible{color:var(--blue);border-color:var(--copper)}.everroux-core-toolbar__button:focus-visible{outline:2px solid var(--copper);outline-offset:1px}.everroux-core-toolbar__button:disabled{opacity:.45;cursor:default}.everroux-core-toolbar__button--icon{width:var(--er-btn-height, 26px);padding:0}.everroux-core-toolbar__icon{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.everroux-tabs{display:flex;flex-wrap:wrap;align-items:stretch;gap:0;background:var(--surface);border-bottom:1px solid var(--border);padding:0 .4rem}.everroux-tabs .er-beam-status{margin-left:auto;align-self:center}.everroux-tabs__btn{padding:var(--er-tab-pad-y, .28rem) var(--er-tab-pad-x, .6rem);border:none;border-bottom:2px solid transparent;background:none;font:inherit;font-size:.82rem;font-weight:600;color:var(--muted);cursor:pointer}.everroux-tabs__btn--active{color:var(--blue);border-bottom-color:var(--copper)}.everroux-tabs__btn:hover{color:var(--text)}.everroux-tabs .file-menu__trigger{border:none;border-bottom:2px solid transparent;border-radius:0;background:none;color:var(--muted);padding:var(--er-tab-pad-y, .28rem) var(--er-tab-pad-x, .6rem);font:inherit;font-size:.82rem;font-weight:600;margin-bottom:-1px;cursor:pointer}.everroux-tabs .file-menu__trigger:hover{color:var(--text)}.file-menu{position:relative;margin-right:.35rem}.file-menu__panel{position:absolute;top:calc(100% + 1px);left:0;z-index:300;min-width:12rem;padding:.35rem 0;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);box-shadow:var(--shadow)}.file-menu__panel[hidden]{display:none!important}.file-menu__item{display:block;width:100%;padding:.45rem .85rem;border:none;background:none;text-align:left;font:inherit;font-size:.85rem;color:var(--text);cursor:pointer}.file-menu__item:hover,.file-menu__item:focus-visible{background:var(--accent-soft);color:var(--accent);outline:none}.file-menu__item:disabled,.file-menu__item--muted{opacity:.55;cursor:default}.file-menu__separator{height:1px;margin:.35rem 0;background:var(--border)}.file-menu__label{padding:.25rem .85rem .15rem;font-size:.72rem;font-weight:600;letter-spacing:.02em;text-transform:uppercase;color:var(--muted)}.file-menu__status{margin:.35rem .85rem .25rem;font-size:.75rem;line-height:1.35;color:var(--muted)}.file-menu__recent{max-height:12rem;overflow:auto}.app--dark .file-menu__item:hover,.app--dark .file-menu__item:focus-visible{background:#d9770626;color:var(--copper)}.everroux-app[data-core-ux=true] .everroux-tabs .help-menu{margin-right:0;margin-left:0}.everroux-tabs .help-menu .file-menu__panel{left:auto;right:0}.everroux-main{flex:1;width:min(100%,var(--er-layout-web-max, 1600px));margin:0 auto;padding:var(--er-page-margin, 12px);box-sizing:border-box}html:has(.everroux-app[data-application-platform=desktop]),html:has(.everroux-app[data-application-platform=desktop]) body,html:has(.everroux-app[data-application-platform=desktop]) #root{height:100%;max-height:100%;overflow:hidden}html:has(.everroux-app[data-application-platform=desktop]) body{margin:0}html:has(.everroux-app[data-application-platform=desktop]) #root{display:flex;flex-direction:column;min-height:0}html:has(.everroux-app[data-application-platform=desktop]) #root>*{flex:1 1 auto;min-height:0}html:has(.everroux-app[data-application-platform=desktop]) .auth-gate,html:has(.everroux-app[data-application-platform=desktop]) .auth-gate__app,html:has(.everroux-app[data-application-platform=desktop]) .compliance-gate,html:has(.everroux-app[data-application-platform=desktop]) .compliance-gate__app,html:has(.everroux-app[data-application-platform=desktop]) .everroux-app-gate,html:has(.everroux-app[data-application-platform=desktop]) #root :has(.everroux-app){display:flex;flex-direction:column;height:100%;max-height:100%;min-height:0;overflow:hidden}html:has(.everroux-app[data-application-platform=desktop]) .auth-gate__app>*,html:has(.everroux-app[data-application-platform=desktop]) .compliance-gate__app>*,html:has(.everroux-app[data-application-platform=desktop]) .everroux-app-gate>*,html:has(.everroux-app[data-application-platform=desktop]) #root :has(.everroux-app)>*{flex:1 1 auto;min-height:0}.everroux-app[data-application-platform=desktop]{height:100%;max-height:100%;min-height:100%;overflow:hidden;--er-page-control-bleed-inline: var(--er-workspace-gutter, 12px);--er-page-control-sticky-top: 0px;--er-page-control-bleed-block: 0px}.everroux-app[data-application-platform=desktop] .everroux-main,.everroux-app[data-application-platform=desktop] .er-layout-workspace,[data-application-platform=desktop] .er-layout-workspace{width:100%;max-width:none;margin-inline:0;padding-top:0;padding-bottom:var(--er-page-margin, 12px);padding-left:var(--er-workspace-gutter, 12px);padding-right:var(--er-workspace-gutter, 12px);box-sizing:border-box;flex:1 1 auto;min-width:0;min-height:0;overflow:auto;background:var(--bg)}.everroux-app[data-application-platform=desktop] .everroux-main>:first-child:not(.er-page-control-region--sticky){padding-top:var(--er-page-margin, 12px);box-sizing:border-box}.everroux-app[data-application-platform=web] .everroux-main{width:min(100%,var(--er-layout-web-max, 1600px));max-width:var(--er-layout-web-max, 1600px);margin:0 auto}.er-layout-workspace{width:100%;min-width:0}.er-layout-reading{width:100%;max-width:var(--er-layout-reading-max, 42rem);margin-inline:auto}.everroux-footer{padding:.4rem .75rem;border-top:1px solid var(--border);font-size:var(--er-type-fine, 11px);color:var(--muted);background:var(--surface)}.everroux-app[data-shell-variant=compact] .everroux-app-top{box-shadow:none}.everroux-app[data-shell-variant=compact] .everroux-header--compact{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:0;padding:2px 8px 3px;border-bottom-width:1px}.everroux-app[data-shell-variant=compact] .everroux-header--compact .everroux-header__title{margin:0;font-size:12px;font-weight:600;line-height:1.15;text-align:center}.everroux-app[data-shell-variant=compact] .everroux-header__version{margin:0;font-size:.6rem;font-weight:500;line-height:1.1;text-align:center;opacity:.88}.everroux-app[data-shell-variant=compact] .everroux-main{padding:0}.everroux-footer--compact{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:.2rem .55rem;min-height:1.25rem;padding:.08rem .5rem;font-size:.6rem;line-height:1.2}.everroux-footer--compact .everroux-footer__copy{justify-self:start}.everroux-footer--compact .everroux-footer__app{justify-self:center;font-weight:600}.everroux-footer--compact .everroux-footer__links{justify-self:end;display:flex;flex-wrap:wrap;align-items:center;gap:.25rem}.everroux-footer--compact .everroux-footer__link{margin:0;padding:0;border:0;background:none;color:var(--copper);font:inherit;cursor:pointer;text-decoration:none}.everroux-footer--compact .everroux-footer__link:hover{text-decoration:underline}@media(max-width:640px){.everroux-footer--compact{grid-template-columns:1fr;text-align:center;justify-items:center}.everroux-footer--compact .everroux-footer__copy,.everroux-footer--compact .everroux-footer__app,.everroux-footer--compact .everroux-footer__links{justify-self:center}}.everroux-about-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:400;display:flex;align-items:center;justify-content:center;background:#00000073}.everroux-about-backdrop[hidden]{display:none!important}.everroux-about{width:min(420px,calc(100vw - 2rem));max-height:min(80vh,560px);overflow:auto;padding:var(--er-card-pad, 8px) 1rem;background:var(--surface);border-radius:var(--radius);box-shadow:var(--shadow)}.everroux-about--legal{width:min(40rem,calc(100vw - 2rem));max-height:min(86vh,720px)}.everroux-about__legal-frame{width:100%;height:min(60vh,520px);border:1px solid var(--border);background:#fff}.everroux-about h2{margin:0 0 .5rem;font-size:var(--er-type-section);color:var(--blue)}.everroux-about__beta{margin:.65rem 0 .85rem;padding:.65rem .75rem;border-left:3px solid var(--copper);background:var(--accent-soft)}.everroux-about__beta p{margin:.35rem 0 0;font-size:var(--er-type-note)}.everroux-about__beta p:first-child{margin-top:0}.everroux-about__version,.everroux-about__copyright,.everroux-about__basis{margin:.2rem 0;color:var(--muted)}.everroux-app .er-statusbar{--er-statusbar-height: 22px;display:flex;align-items:center;gap:.75rem;flex:0 0 auto;min-height:var(--er-statusbar-height);height:var(--er-statusbar-height);padding:0 .5rem;margin:0;background:var(--surface);color:var(--muted);border-top:1px solid var(--border);font-size:var(--er-type-fine, 11px);line-height:1;box-sizing:border-box}.everroux-app .er-statusbar__left,.everroux-app .er-statusbar__center,.everroux-app .er-statusbar__right{display:inline-flex;align-items:center;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.everroux-app .er-statusbar__left{flex:0 1 auto}.everroux-app .er-statusbar__center{flex:1 1 auto;justify-content:center}.everroux-app .er-statusbar__right{flex:0 1 auto;margin-left:auto}.er-page-control-region{display:block;width:100%;box-sizing:border-box}.er-page-control-region--sticky{position:sticky;top:var(--er-page-control-sticky-top);z-index:var(--er-z-page-control);background:var(--er-page-control-surface)}.er-page-control-region--sticky:before{content:"";position:absolute;left:calc(-1 * var(--er-page-control-bleed-inline));right:calc(-1 * var(--er-page-control-bleed-inline));top:calc(-1 * var(--er-page-control-bleed-block));bottom:0;background:inherit;z-index:-1;pointer-events:none}.everroux-report-actions,.everroux-report-actions__packages{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem}@media print{.everroux-app{color-scheme:light;--bg: #ffffff;--surface: #ffffff;--text: #1a2e34;--muted: #4f5b66;--border: #c5ccc6}}.everroux-app[data-application-platform=web]{--er-page-control-bleed-inline: var(--er-page-margin, 12px)}
