/* Match the current homepage header and footer. */
.abacus-guide-page header .nav{gap:20px;min-height:86px}
.abacus-guide-page header .logo{flex:0 0 auto;width:210px!important;height:auto!important;aspect-ratio:400/102;overflow:visible}
.abacus-guide-page header .logo img,.abacus-guide-page footer .logo img{position:static!important;width:100%!important;height:auto!important;object-fit:contain;transform:none}
.abacus-guide-page header #navigation{display:flex;position:static;inset:auto;padding:0;gap:20px;align-items:center;flex-direction:row;background:transparent;box-shadow:none;margin-left:auto;order:1}
.abacus-guide-page header #navigation a{font-size:15px;white-space:nowrap;padding:0}
.abacus-guide-page header #navigation a.btn{padding:11px 17px;font-size:15px}
.abacus-guide-page header .nav-login{order:2;display:inline-flex;align-items:center;gap:7px;min-height:44px;padding:9px 15px;border:1px solid #b2c3a3;border-radius:999px;background:#eaf0df;font-size:15px;font-weight:700;color:var(--green);white-space:nowrap}
.abacus-guide-page header .menu{order:3;display:none;font-size:15px;min-height:44px}
.abacus-guide-page footer .logo{width:210px!important;height:auto!important;aspect-ratio:400/102;overflow:visible;display:block}
.abacus-guide-page footer .footer-top{display:grid;grid-template-columns:minmax(0,1.5fr) repeat(4,minmax(0,1fr));gap:28px;padding:40px 0}.abacus-guide-page footer .footer-top>div{min-width:0}.abacus-guide-page footer .footer-top h3{font-size:18px;line-height:1.35}.abacus-guide-page footer .footer-top a:not(.logo){font-size:14px;line-height:1.6;overflow-wrap:anywhere}.abacus-guide-page footer .footer-social{display:flex;gap:10px;margin:18px 0}.abacus-guide-page footer .footer-social a{display:grid;place-items:center;width:38px;height:38px;border:1px solid #d0dbc4;border-radius:50%;--social-bg:#fcfaf5}.abacus-guide-page footer address{font-size:14px;font-style:normal;margin:14px 0}.abacus-guide-page .footer-policies{display:flex;flex-wrap:wrap;gap:12px 22px}.abacus-guide-page .footer-policies a{font-size:14px}.abacus-guide-page .footer-bottom{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:14px}

.abacus-guide-page{--sky:#eef2e7}.abacus-guide-page .guide nav{position:static;inset:auto;background:transparent;box-shadow:none;flex-direction:row;align-items:center}.abacus-guide-page .guide .breadcrumbs{display:flex;gap:9px;flex-wrap:wrap;padding:20px 0;font-size:14px}.abacus-guide-page .guide .breadcrumbs a{font-size:14px;white-space:normal;padding:0;font-weight:400}.abacus-guide-page .guide-index{display:flex;flex-wrap:wrap;gap:9px;padding:18px 0}.abacus-guide-page .guide-index a{font-size:14px;padding:9px 15px;white-space:normal}.foundation-index-mobile{display:none}
.abacus-guide-page .guide-hero{padding:30px 0 44px;gap:48px}.abacus-guide-page .guide-hero h1{font-size:clamp(42px,4.5vw,64px);line-height:1.08}.abacus-guide-page .foundation-hero-visual{padding:28px;background:#f4f0e5;border:1px solid #e5dfd0;border-radius:34px 20px 34px 20px}.foundation-hero-visual .eyebrow{margin-bottom:16px}.foundation-abacus{display:block;width:100%;height:auto;max-height:350px}.foundation-abacus text{font:18px Manrope,sans-serif;fill:var(--green)}.foundation-abacus .rod-digit{font:700 25px Manrope,sans-serif}.foundation-hero-visual figcaption{display:flex;flex-direction:column;gap:8px;font-size:14px;margin-top:16px!important}.foundation-hero-visual figcaption strong{font:26px/1.25 'DM Serif Display',serif}.foundation-hero-visual figcaption span{font-size:14px;line-height:1.6}
.abacus-guide-page .guide-section{padding:50px 0;gap:48px}.abacus-guide-page .guide-slogan{font-size:23px;margin:0 0 18px}.abacus-guide-page .guide h2{font-size:clamp(32px,3.2vw,45px)}.abacus-guide-page .parts-panel{padding:24px;background:#fffdf9;box-shadow:0 8px 25px #123f2b04}.abacus-parts-diagram{display:block;width:100%;height:auto;margin-bottom:20px}.abacus-guide-page .parts-list>div{grid-template-columns:140px minmax(0,1fr);gap:14px;padding:12px 0}.parts-list dt{display:flex;gap:9px;align-items:flex-start;font-size:15px}.part-key{display:inline-grid;place-items:center;min-width:22px;height:22px;font-size:13px;border-radius:50%;background:var(--green);color:white;line-height:1}.parts-list dd{font-size:15px;line-height:1.7}
.abacus-guide-page .number-demo{background:#f4f0e5;border:1px solid #e3ddcf;padding:26px}.abacus-guide-page .demo-frame{height:245px;background:#fffdf9}.abacus-guide-page .bead,.abacus-guide-page .bead.upper{background:#d5dfca;border-color:#abbc97}.abacus-guide-page .bead.active,.abacus-guide-page .bead.upper.active{background:#123f2b;border-color:#123f2b}.abacus-guide-page .number-presets{flex-wrap:wrap}.abacus-guide-page .number-presets button{background:#fffdf9;min-width:58px;min-height:44px}.abacus-guide-page .number-presets button[aria-pressed=true]{background:#123f2b;color:#fff}.abacus-guide-page #number-explanation{font-size:15px;line-height:1.7;min-height:0}.abacus-guide-page .number-demo .eyebrow{font-size:14px}.abacus-guide-page .demo-rod-labels{font-size:14px}.abacus-guide-page .mental-points>div{padding-bottom:20px;margin-bottom:20px}.abacus-guide-page .mental-points span{background:#edf1e3}.abacus-guide-page .benefit-band{margin-top:38px;padding:36px;border-radius:22px}.abacus-guide-page .benefit-band h2{color:#fcfaf5}.abacus-guide-page .benefit-band .guide-slogan{color:#dae8c9}.abacus-guide-page .benefit-grid{gap:26px;margin-top:24px}.abacus-guide-page .benefit-grid p{font-size:16px}.abacus-guide-page .method-table{overflow-x:auto;border:1px solid #d5dfcf;border-radius:14px;padding:0 0 18px;background:#fffdf9}.abacus-guide-page .method-table table{min-width:360px;font-size:15px}.abacus-guide-page .method-table caption{padding:16px;margin:0;background:#edf1e4}.abacus-guide-page .method-table thead{background:#f4f0e5}.abacus-guide-page .method-table .text-link{margin:16px 18px 0;white-space:normal;line-height:1.6}.abacus-guide-page .practice-note{background:#f4f0e5;padding:28px;border-radius:18px;border:1px solid #e3ddcf}.abacus-guide-page .practice-note li{padding-bottom:20px}.abacus-guide-page .practice-note li:last-child{padding-bottom:0}
.abacus-guide-page .foundation-faq{max-width:none;margin:0;display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:48px;padding:40px 0;border-bottom:1px solid #d5dfcf}.foundation-faq-intro .eyebrow{margin-bottom:12px}.foundation-faq-intro h2{margin-bottom:16px}.abacus-guide-page .foundation-faq details{padding:17px 0}.abacus-guide-page .foundation-faq details:first-child{border-top:1px solid #d5dfcf}.abacus-guide-page .foundation-faq summary{font-size:17px;line-height:1.5}.abacus-guide-page .foundation-faq details p{font-size:16px;line-height:1.75;margin-top:12px}.abacus-guide-page .guide-related{padding:38px 0 42px}.abacus-guide-page .guide-related a{background:#fffdf9;border:1px solid #d5dfcf}.abacus-guide-page .guide-related a:nth-child(2){background:#f4f0e5}.abacus-guide-page .guide-related a:nth-child(3){background:#edf1e4}.abacus-guide-page .article-cta{background:#f4f0e5}
@media(max-width:1050px){.abacus-guide-page header .menu{display:block}.abacus-guide-page header #navigation{position:absolute;top:86px;left:0;right:0;padding:22px 32px;flex-direction:column;align-items:stretch;gap:4px;background:var(--ivory);box-shadow:0 15px 25px #123f2b12;max-height:calc(100dvh - 86px);overflow:auto}.abacus-guide-page header #navigation[hidden]{display:none}.abacus-guide-page header #navigation.open:not([hidden]){display:flex}.abacus-guide-page header #navigation a{padding:10px 0;font-size:16px}.abacus-guide-page header #navigation a.btn{align-self:flex-start;padding:12px 18px}.abacus-guide-page header .nav-login{margin-left:auto}}
@media(max-width:800px){.abacus-guide-page .guide-hero{gap:28px}.abacus-guide-page .guide-section{gap:28px}.abacus-guide-page .parts-section{display:block}.abacus-guide-page .parts-section>.section-intro{margin-bottom:26px}.abacus-guide-page .foundation-faq{grid-template-columns:1fr;gap:20px}.abacus-guide-page footer .footer-top{grid-template-columns:repeat(2,minmax(0,1fr))}.abacus-guide-page footer .footer-brand{grid-column:1/-1}}
@media(max-width:639px){.abacus-guide-page header .nav{min-height:76px;gap:8px}.abacus-guide-page header .logo{width:145px!important}.abacus-guide-page header .nav-login{font-size:14px;padding:8px 10px;gap:5px}.abacus-guide-page header .menu{font-size:14px;padding:8px 10px}.abacus-guide-page header #navigation{top:76px;padding:18px 20px;max-height:calc(100dvh - 76px)}.abacus-guide-page .guide .breadcrumbs{padding:16px 0}.abacus-guide-page .guide-hero{padding:18px 0 30px;gap:24px}.abacus-guide-page .guide-hero h1{font-size:36px;line-height:1.1;margin-bottom:18px}.abacus-guide-page .guide-summary{font-size:16px;line-height:1.7}.abacus-guide-page .foundation-hero-visual{padding:22px 18px;border-radius:24px}.abacus-guide-page .foundation-abacus{max-height:290px}.abacus-guide-page .guide .foundation-index-desktop{display:none}.foundation-index-mobile{display:block;border-block:1px solid #d5dfcf}.foundation-index-mobile>summary{display:flex;align-items:center;gap:12px;list-style:none;min-height:58px;padding:14px 30px 14px 0;position:relative;font-size:16px;font-weight:700;color:var(--green);cursor:pointer}.foundation-index-mobile>summary::-webkit-details-marker{display:none}.foundation-index-mobile>summary>span{margin-left:auto;font-size:14px;font-weight:400;white-space:nowrap;color:#65715f}.foundation-index-mobile>summary:after{content:'+';position:absolute;right:3px;top:50%;transform:translateY(-50%);font-size:24px;transition:transform .15s}.foundation-index-mobile[open]>summary:after{transform:translateY(-50%) rotate(45deg)}.abacus-guide-page .foundation-index-mobile nav{display:grid;padding:0 0 12px;gap:0;position:static}.foundation-index-mobile nav a{display:block;padding:12px 4px;border-top:1px solid #e4e9dd;font-size:14px;line-height:1.5;white-space:normal;min-height:44px}.abacus-guide-page .guide-section{padding:36px 0}.abacus-guide-page .guide h2{font-size:32px;line-height:1.13}.abacus-guide-page .parts-panel{padding:20px 14px}.abacus-guide-page .parts-list>div{display:block}.parts-list dd{margin-top:8px;margin-left:31px}.abacus-guide-page .number-demo{padding:22px 17px}.abacus-guide-page .benefit-band{padding:28px 24px;margin-top:24px}.abacus-guide-page .benefit-grid{grid-template-columns:1fr;gap:22px}.abacus-guide-page .benefit-note{margin-top:20px}.abacus-guide-page .foundation-faq{padding:32px 0}.abacus-guide-page .foundation-faq summary{font-size:16px}.abacus-guide-page .foundation-faq details{padding:15px 0}.abacus-guide-page .guide-related{padding:30px 0 36px}}
@media(max-width:360px){.abacus-guide-page header .logo{width:128px!important}.abacus-guide-page header .nav-login{padding:8px;font-size:13px}.abacus-guide-page header .menu{padding:8px}}
@media(prefers-reduced-motion:reduce){.abacus-guide-page *{scroll-behavior:auto!important}.abacus-guide-page .bead,.foundation-index-mobile>summary:after{transition:none!important}}

/* Show the physical tool alongside the simplified parts diagram. */
.real-abacus-photo{margin:28px 0 0;border:1px solid #dddccf;border-radius:18px;background:#fff;overflow:hidden}.real-abacus-crop{aspect-ratio:724/213;overflow:hidden;margin:20px 16px 0;background:#fff}.real-abacus-crop img{display:block;width:100%;height:auto;max-width:100%}.real-abacus-photo figcaption{padding:18px 22px 22px;display:flex;flex-direction:column;gap:8px;border-top:1px solid #eeeae0;background:#fffdf8}.real-abacus-photo figcaption strong{font:24px/1.2 'DM Serif Display',serif;color:var(--green)}.real-abacus-photo figcaption span{font-size:14px;line-height:1.6;color:#53624f}.real-abacus-photo figcaption a{align-self:flex-start;font-size:14px;font-weight:700;color:var(--green);text-decoration:underline;text-underline-offset:4px;margin-top:4px}
@media(max-width:639px){.real-abacus-photo{margin-top:22px}.real-abacus-crop{margin:16px 10px 0}.real-abacus-photo figcaption{padding:16px 18px 20px}.real-abacus-photo figcaption strong{font-size:23px}}

.abacus-guide-page .guide-hero h1{margin-bottom:16px}.abacus-guide-page .guide-hero .foundation-hero-subtitle{font:italic 27px/1.3 'DM Serif Display',serif;color:var(--green);margin:0 0 22px}.abacus-guide-page .benefit-reading{margin:20px 0 0;font-size:15px;line-height:1.7}.abacus-guide-page .benefit-reading a{color:#e0edc8;text-decoration:underline;text-underline-offset:4px}.abacus-guide-page .foundation-faq details a{color:var(--green);text-decoration:underline;text-underline-offset:3px}@media(max-width:639px){.abacus-guide-page .guide-hero .foundation-hero-subtitle{font-size:25px;margin-bottom:18px}}

/* Review fixes: roomier tablet header and discoverable comparison scrolling. */
.abacus-guide-page .method-table{overflow:visible}.foundation-table-scroll{overflow-x:auto;border-radius:14px 14px 0 0;scrollbar-width:thin;scrollbar-color:#9ab17d #f4f0e5}.foundation-table-scroll:focus-visible{outline:3px solid #6f8f4d;outline-offset:3px}.foundation-table-hint{display:none}
@media(min-width:1051px) and (max-width:1200px){.abacus-guide-page header .logo{width:164px!important}.abacus-guide-page header .nav{gap:12px}.abacus-guide-page header #navigation{gap:12px}.abacus-guide-page header #navigation a{font-size:14px}.abacus-guide-page header #navigation a.btn{font-size:14px;padding:10px 13px}.abacus-guide-page header .nav-login{padding:9px 11px;font-size:14px}}
@media(max-width:639px){.foundation-table-hint{display:block;padding:12px 15px;margin:0;font-size:14px;color:#53664c;background:#f4f0e5;border-bottom:1px solid #d5dfcf;border-radius:14px 14px 0 0}.foundation-table-scroll{border-radius:0}}
