/* מחשבון רגיל (/limudim/machshevon-ragil/) */
.mr-hero{padding:.7rem 1rem .5rem}
.mr-hero h1{font-size:clamp(1.55rem,7vw,2.4rem)}
.mr-wrap{max-width:25rem;margin:0 auto;padding:0 .75rem}
.mr-app{border:1px solid var(--line);border-radius:20px;background:var(--bg-2);padding:.65rem;scroll-margin-top:4.5rem}
.mr-screen{direction:ltr;text-align:right;background:#05080f;border-radius:12px;padding:.3rem .8rem .35rem;overflow:hidden}
.mr-expr,.mr-live{color:#b8c4d8;font-size:.95rem;line-height:1.35;white-space:nowrap;overflow:hidden;direction:ltr}
.mr-live{display:flex;justify-content:space-between;gap:.5rem;font-size:.85rem;direction:rtl}
.mr-out{display:block;color:#fff;font-size:2.5rem;font-weight:700;line-height:1.2;white-space:nowrap;overflow-x:auto;font-variant-numeric:tabular-nums}
.mr-out.s{font-size:1.85rem;line-height:1.62}
.mr-out.xs{font-size:1.35rem;line-height:2.22}
.mr-out.err{font-size:1.3rem;line-height:2.3;color:#ffb4a8;direction:rtl}
.mr-pad{direction:ltr;display:grid;grid-template-columns:repeat(4,1fr);gap:.4rem;margin-top:.5rem}
.mr-pad button{font:inherit;font-size:1.55rem;font-weight:700;min-height:3.35rem;border-radius:12px;border:1px solid var(--line);background:#26355a;color:#fff;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}
.mr-pad button:active{filter:brightness(1.35)}
.mr-pad button:focus-visible,.mr-tape button:focus-visible{outline:3px solid #fff;outline-offset:2px}
.mr-pad .m{min-height:2.75rem;font-size:1rem;background:transparent;color:var(--parchment)}
.mr-pad .f{background:#3b4a6b}
.mr-pad .o{background:var(--cta);color:#10131c;border-color:var(--gold);font-size:1.8rem}
.mr-pad .eq{background:#2e7d5b;border-color:#2e7d5b;font-size:2rem}
.mr-under{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:.5rem;margin-top:.7rem}
.mr-msg{color:var(--parchment);margin:0;min-height:1.4rem;flex-basis:100%;text-align:center}
.mr-tape{list-style:none;margin:.6rem 0;padding:0;max-height:20rem;overflow-y:auto;display:grid;gap:.35rem}
.mr-tape button{width:100%;display:flex;justify-content:space-between;align-items:center;gap:1rem;direction:ltr;font:inherit;font-size:1.05rem;min-height:2.75rem;padding:.35rem .8rem;border-radius:10px;border:1px solid var(--line);background:transparent;color:var(--body);cursor:pointer;overflow-wrap:anywhere}
.mr-tape button b{color:var(--cream);font-size:1.2rem}
@media (min-width:700px){.mr-pad button{min-height:3.6rem}}
@media print{.topbar,.site-foot,.crumbs,.no-print,.mr-app,.mr-hero .sub,.seo-txt,.seo-faq,.rel,.rel-sec,.fb,footer{display:none!important}.mr-tape{max-height:none}.mr-tape button,.mr-tape button b,.mr-print h2{color:#000!important;border-color:#999}}
