html:has(.rpn-pagina){overflow-x:hidden}body:has(.hp-wrap.is-fullscreen){overflow:hidden}.rpn-pagina{flex-direction:column;max-width:900px;min-height:100dvh;margin:0 auto;padding:clamp(2rem,5vw,4rem) clamp(1.25rem,4vw,2rem);display:flex}.rpn-titulo{letter-spacing:-.03em;color:var(--t-ink);font-size:clamp(2rem,6vw,3.5rem);font-weight:800;line-height:1;font-family:var(--t-mono)}.rpn-titulo span{color:var(--t-accent)}.rpn-subtitulo{color:var(--t-ink3);max-width:560px;font-size:.9rem;line-height:1.65;font-family:var(--t-mono);margin-top:1rem}.rpn-divisor{border:none;border-top:1px solid var(--t-rule)}.hp-wrap{justify-content:center;display:flex}.hp-wrap.is-fullscreen{z-index:9999;background:radial-gradient(circle at 50% 38%,#17171b 0%,#050506 78%);justify-content:center;align-items:center;margin:0;padding:1rem;display:flex;position:fixed;inset:0}.hp-wrap.is-fullscreen .hp-body{scrollbar-width:none;max-height:calc(100dvh - 2rem);overflow-y:auto}.hp-wrap.is-fullscreen .hp-body::-webkit-scrollbar{display:none}.hp-body{background:#111;border-radius:10px 10px 20px 20px;width:100%;max-width:340px;padding:10px 10px 14px;position:relative;box-shadow:0 0 0 1px #ffffff0d,0 4px 8px #0006,0 20px 60px #00000080}[data-theme=dark] .hp-body,.hp-wrap.is-fullscreen .hp-body{background:#1e1e22;box-shadow:0 0 0 1px #ffffff1f,inset 0 1px #ffffff14,0 20px 60px #0009}.hp-body:before{content:"▲";color:#fff3;letter-spacing:0;font-size:.35rem;position:absolute;top:3px;left:50%;transform:translate(-50%)}.hp-face{background:linear-gradient(175deg,#d0ccbe 0%,#c8c4b4 50%,#c4c0b0 100%);border-radius:4px 4px 12px 12px;padding:10px 10px 14px;box-shadow:inset 0 1px #ffffff80,inset 0 -1px #0000001a}.hp-brand{justify-content:space-between;align-items:flex-start;margin-bottom:8px;padding:0 2px;display:flex}.hp-brand-left{flex-direction:column;gap:1px;display:flex}.hp-logo{font-size:.95rem;font-weight:900;font-family:var(--font-geist-sans), Arial, sans-serif;color:#222;letter-spacing:-.03em;line-height:1.1}.hp-logo em{letter-spacing:-.05em;font-style:italic}.hp-logo .model-num{font-size:.85rem;font-style:normal;font-weight:700}.hp-model-line{font-size:.44rem;font-family:var(--font-geist-sans), Arial, sans-serif;color:#555;letter-spacing:.01em;line-height:1}.hp-badge{cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:linear-gradient(145deg,#e8e8e8 0%,#c8c8c8 50%,#d8d8d8 100%);border:2px solid #1a4a8a;border-radius:5px;flex-shrink:0;justify-content:center;align-items:center;width:32px;height:22px;transition:opacity .15s;display:flex;box-shadow:0 1px 3px #0000004d,inset 0 1px #ffffffb3,inset 0 0 0 1px #fff3}@media (hover:hover){.hp-badge:hover{opacity:.75}}.hp-badge:active{opacity:.75}.hp-badge-text{font-size:.55rem;font-weight:900;font-family:var(--font-geist-sans), Arial, sans-serif;color:#888;letter-spacing:-.06em;text-shadow:0 1px #fffc;font-style:italic}.hp-screen-bezel{background:#a8a898;border-radius:3px;margin-bottom:10px;padding:5px;box-shadow:inset 0 2px 6px #0006,0 1px #ffffff4d}.hp-lcd{isolation:isolate;background:#c4c8bc;border-radius:1px;flex-direction:column;min-height:150px;display:flex;position:relative;overflow:hidden;box-shadow:inset 0 1px 3px #00000040}.hp-destello{z-index:-1;pointer-events:none;background:#d4d8cc;animation:.32s ease-out forwards hp-destello;position:absolute;inset:0}@keyframes hp-destello{to{opacity:0}}.hp-lcd:after{content:"";pointer-events:none;background:repeating-linear-gradient(0deg,#0000,#0000 2px,#00000005 2px 3px);position:absolute;inset:0}.hp-stack{border-bottom:1px solid #0000001f;flex-direction:column;flex:1;justify-content:flex-end;min-height:100px;padding:6px 8px 4px;display:flex;position:relative}.hp-stack-empty{font-size:.6rem;font-family:var(--font-geist-mono), monospace;letter-spacing:.12em;color:#28321e4d;text-transform:uppercase;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.hp-stack-row{justify-content:space-between;align-items:baseline;padding:1px 0;display:flex}.hp-stack-idx{font-size:.5rem;font-family:var(--font-geist-mono), monospace;color:#28321e66;letter-spacing:.08em;min-width:1.5rem}.hp-stack-val{font-size:.82rem;font-family:var(--font-geist-mono), monospace;color:#1a2a0a;text-align:right;flex:1;font-weight:600}.hp-stack-val.is-top{color:#0d1e06;font-size:1.1rem;font-weight:700}.hp-input{justify-content:flex-end;align-items:center;min-height:34px;padding:5px 8px 6px;display:flex}.hp-input-num{font-size:1.3rem;font-family:var(--font-geist-mono), monospace;color:#0d1e06;letter-spacing:-.02em;font-weight:700}.hp-input-placeholder{font-size:.65rem;font-family:var(--font-geist-mono), monospace;color:#28321e47;letter-spacing:.1em}.hp-cursor{vertical-align:text-bottom;background:#1a2a0a;width:2px;height:1em;margin-left:1px;animation:.9s step-end infinite rpn-blink;display:inline-block}@keyframes rpn-blink{0%,to{opacity:1}50%{opacity:0}}.hp-error{font-size:.58rem;font-family:var(--font-geist-mono), monospace;color:#6e1010;letter-spacing:.04em;background:#9600001a;border-top:1px solid #96000033;padding:3px 8px}.hp-softmenu{gap:3px;margin-bottom:8px;display:flex}.hp-softkey{height:18px;font-size:.38rem;font-family:var(--font-geist-mono), monospace;color:#ffffff8c;letter-spacing:.02em;background:linear-gradient(#4a4a4a 0%,#383838 100%);border:none;border-radius:2px;flex:1;justify-content:center;align-items:center;padding:0;font-weight:600;display:flex;box-shadow:0 2px #1a1a1a,inset 0 1px #ffffff1a}button.hp-softkey{cursor:pointer;color:#fffc;-webkit-tap-highlight-color:transparent;touch-action:manipulation;transition:opacity .1s}@media (hover:hover){button.hp-softkey:hover{opacity:.75}}button.hp-softkey:active{opacity:.5}.hp-btns{grid-template-columns:repeat(4,1fr);gap:4px;display:grid}.hp-btn{font-size:.9rem;font-family:var(--font-geist-mono), monospace;color:#f0f0f0;cursor:pointer;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;background:linear-gradient(#2c2c2c 0%,#1e1e1e 100%);border:none;border-radius:3px;padding:.85rem .3rem .65rem;font-weight:600;transition:transform 70ms,box-shadow 70ms;box-shadow:0 3px #080808,0 4px 5px #00000059,inset 0 1px #ffffff1a}.hp-btn:active{transform:translateY(2px);box-shadow:0 1px #080808,0 2px 3px #0000004d,inset 0 1px #ffffff0d}.hp-btn-op{color:#f0f0f0;background:linear-gradient(#555 0%,#444 100%);box-shadow:0 3px #1a1a1a,0 4px 5px #00000059,inset 0 1px #ffffff1f}.hp-btn-op:active{box-shadow:0 1px #1a1a1a,0 2px 3px #0000004d,inset 0 1px #ffffff0f}.hp-btn-enter{color:#60d0c8;letter-spacing:.12em;background:linear-gradient(#155 0%,#0a3d3d 100%);grid-column:span 2;font-size:.6rem;box-shadow:0 3px #030f0f,0 4px 5px #00000059,inset 0 1px #60d0c81f}.hp-btn-enter:active{box-shadow:0 1px #030f0f,0 2px 3px #0000004d,inset 0 1px #60d0c80f}.hp-btn-clear{color:#faa;background:linear-gradient(#8a1a1a 0%,#6a1010 100%);box-shadow:0 3px #1e0404,0 4px 5px #00000059,inset 0 1px #ff96961a}.hp-btn-clear:active{box-shadow:0 1px #1e0404,0 2px 3px #0000004d}.hp-btn-util{color:#aaa;letter-spacing:.05em;font-size:.6rem}.rpn-leyenda{border:1px solid var(--t-rule);background:var(--t-paper2);border-radius:6px;padding:.75rem 1rem}.rpn-leyenda-titulo{font-size:.55rem;font-family:var(--t-mono);letter-spacing:.2em;text-transform:uppercase;color:var(--t-ink4);margin-bottom:.5rem}.rpn-leyenda-teclas{font-size:.7rem;font-family:var(--t-mono);color:var(--t-ink3);flex-wrap:wrap;gap:.15rem .5rem;line-height:1.9;display:flex}.rpn-tecla{border:1px solid var(--t-rule);color:var(--t-ink2);background:var(--t-paper2);border-radius:3px;margin-right:.15rem;padding:0 .35rem;font-size:.6rem;display:inline-block}
