html{scroll-behavior:smooth;scroll-padding-top:24px}body{font-family:"Malgun Gothic",Arial,sans-serif}.top-nav{display:flex;gap:25px}.top-nav a{text-decoration:none;color:#45616b;font-size:14px;font-weight:bold}.preview-tag,.demo-badge{font-size:11px;border-radius:20px;background:#fff0da;color:#91602b;padding:7px 12px}.layout{align-items:start}.toolbar{position:relative}.choice{width:100%;font-family:inherit}.support-card{display:block;text-decoration:none;background:#e8f3ed;border:1px solid #c4dbcb;border-radius:15px;padding:23px;margin-top:25px;color:#315749}.support-icon{float:right;font-size:40px;line-height:1}.support-card small{font-size:11px}.support-card h3{font-size:23px;line-height:1.5;margin:14px 0 10px}.support-card p{font-size:12px;line-height:1.9;color:#5a7068}.support-card strong{display:block;border-top:1px solid #c4dbcb;padding-top:16px;margin-top:19px;font-size:13px}.board-shortcut{display:block;color:#46616a;font-size:13px;text-decoration:none;padding:20px 4px}.extra-sections{max-width:1390px;margin:55px auto;padding:0 30px}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.eyebrow{font-size:10px;font-weight:bold;letter-spacing:1.7px;color:#568676}.section-heading h2{font-size:27px;margin:9px 0}.section-heading p{font-size:13px;color:#728079;line-height:1.7;margin:0}.outline-link{display:inline-block;background:white;border:1px solid #ccd9d3;border-radius:8px;padding:12px 16px;color:#365d4e;font-size:12px;text-decoration:none}.community-box{border:1px solid #dfe5df;background:white;border-radius:15px;padding:0 25px}.community-tabs{display:flex;gap:26px;border-bottom:1px solid #e7ebe7}.community-tabs button{border:0;background:none;padding:20px 0;color:#75817b;font-size:14px}.community-tabs button[aria-pressed=true]{color:#176e5c;border-bottom:3px solid #176e5c;font-weight:bold}.board-row{display:flex;justify-content:space-between;gap:12px;width:100%;text-align:left;border:0;border-bottom:1px solid #eef0ed;background:white;padding:23px 0;color:#344b42;font-size:14px}.board-row:last-child{border-bottom:0}.board-row small{color:#87918c;font-size:11px;white-space:nowrap}.giving-layout{display:grid;grid-template-columns:1.6fr 1fr;gap:25px}.photo-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.activity-card{display:block;text-align:left;background:white;border:1px solid #dfe5df;border-radius:14px;overflow:hidden;padding:0 0 20px;color:#344b42}.activity-card h3,.activity-card p,.activity-card b{margin:16px 20px 0;display:block}.activity-card h3{font-size:17px}.activity-card p{font-size:12px;line-height:1.8;color:#76817a}.activity-card b{font-size:12px;color:#4b7764}.photo-placeholder{height:175px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px}.photo-placeholder span{font-size:39px;letter-spacing:8px}.photo-placeholder small{font-size:11px;letter-spacing:1px}.mint{background:#e2eeeb;color:#789d91}.peach{background:#f5e9de;color:#ba9474}.photo-note{font-size:11px;color:#7c8780;line-height:1.7}.donation-panel{background:#fff7e9;border:1px solid #e8dcc6;border-radius:14px;padding:26px}.donation-panel h2{font-size:24px;line-height:1.5;margin:12px 0}.donation-panel p{font-size:12px;line-height:1.9;color:#7f796a}.account-box{background:#fffdf7;border:1px dashed #d4c39d;border-radius:9px;padding:16px;display:flex;flex-direction:column;gap:8px}.account-box small,.account-box span{font-size:11px;color:#938065}.account-box strong{font-size:16px;color:#705b3e}.donation-panel .account-note{font-size:11px}.donation-panel .outline-link{width:100%;text-align:center;margin-top:5px}dialog{border:1px solid #d9e3dd;border-radius:17px;padding:32px;max-width:480px;width:calc(100% - 32px);color:#344b42}dialog::backdrop{background:#1d353c66}dialog p{font-size:14px;line-height:1.9;color:#687970}.dialog-close{float:right;border:0;background:none;font-size:24px}.dialog-done{border:0;border-radius:7px;background:#176e5c;color:white;padding:10px 25px}.legal-footer{margin-top:50px}.paper h2{word-break:keep-all}
@media(max-width:760px){header{height:auto;min-height:80px;flex-wrap:wrap;gap:12px;padding:15px}.top-nav{order:3;width:100%;gap:0;justify-content:space-between}.top-nav a{font-size:12px}.preview-tag{margin-left:auto}.support-card{padding:18px;margin-top:18px}.support-card h3 br{display:none}.extra-sections{padding:0 16px;margin:35px auto}.section-heading{align-items:start;flex-wrap:wrap;gap:12px}.section-heading h2{font-size:23px}.giving-layout{grid-template-columns:1fr}.photo-grid{gap:10px}.photo-placeholder{height:130px}.photo-placeholder span{font-size:26px}.activity-card h3,.activity-card p,.activity-card b{margin-left:12px;margin-right:12px}.activity-card h3{font-size:14px}.community-box{padding:0 15px}.community-tabs{gap:18px}.community-tabs button{font-size:12px}.board-row{font-size:12px}.paper-top{gap:10px}.fields{gap:10px;font-size:10px}}
@media print{.extra-sections,.support-card,.board-shortcut,dialog{display:none!important}.paper{font-family:"Malgun Gothic",Arial,sans-serif}.paper .sheet-hero h2{font-size:19px}}
.paper-top .worksheet-brand{display:inline-flex;align-items:baseline;gap:3px;white-space:nowrap;letter-spacing:0;text-transform:none}.paper-top .worksheet-brand small{font-size:10px;font-weight:400;color:#527079}.paper-top .worksheet-brand b{font-size:14px}.paper-footer>span:first-child{font-size:9px;white-space:nowrap}

/* Keep equivalent fraction forms together, while allowing the chain to wrap. */
.fraction-form{display:inline-block;white-space:nowrap}.fraction-equals{white-space:pre}.fraction-sheet .problem>.answer{max-width:100%;line-height:1.25}.choice .example{white-space:normal;line-height:1.65}.choice .example-answer{display:inline;overflow-wrap:normal}

.right-ad{grid-column:2;justify-self:center;width:100%;max-width:790px}.right-ad-slot{border:1px dashed #b7c6ca;background:repeating-linear-gradient(135deg,#f0f5f6,#f0f5f6 12px,#e8eff1 12px,#e8eff1 24px);min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;color:#637b85;text-align:center}.right-ad-slot>span{font-size:10px;letter-spacing:2px}.right-ad-slot>strong{font-size:14px}.right-ad-slot>small{font-size:11px}
@media screen and (min-width:1280px){.layout{max-width:1580px;grid-template-columns:300px minmax(0,1fr) 160px;gap:24px}.right-ad{grid-column:3;width:160px;margin-top:72px}.right-ad-slot{height:600px}}
@media screen and (max-width:1279px){.right-ad-slot>small:first-of-type{display:none}}
@media screen and (max-width:760px){.right-ad{margin:24px auto}}
@media print{.right-ad{display:none!important}}

.toolbar{justify-content:flex-end}.regenerate-button{background:#1765c1;color:#fff;border:1px solid #1255a4;border-radius:8px;padding:11px 15px;font-weight:700;font-size:13px;white-space:nowrap;box-shadow:0 2px 5px #1765c126}.regenerate-button:hover{background:#104c96}.regenerate-button:active{transform:translateY(1px)}

/* Illustrated navigation buttons */
.top-nav{gap:10px;align-items:stretch}.top-nav a{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:7px 16px;border:1px solid #cbdedb;border-radius:9px;background:#fff;color:#285951;font-size:14px;font-weight:700;box-shadow:0 2px 3px #244a4510}.top-nav a:first-child{background:#e5f4ef;border-color:#76b3a4;color:#125d4d}.top-nav a:hover{background:#dcefe9;border-color:#348b77;box-shadow:0 3px 8px #244a4520}.menu-icon{display:flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;color:#21816b}.menu-icon svg{width:30px;height:30px}.top-nav a:nth-child(2) .menu-icon{color:#3279b5}.top-nav a:nth-child(3) .menu-icon{color:#d56972}.top-nav a:nth-child(4) .menu-icon{color:#8b65aa}
@media(max-width:900px){header{height:auto;min-height:80px;flex-wrap:wrap;gap:12px;padding:15px}.top-nav{order:3;width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}.top-nav a{padding:7px 8px;font-size:13px;gap:6px}}
@media(max-width:520px){.top-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.top-nav a{justify-content:flex-start;padding:8px 12px;min-height:48px}.menu-icon{width:28px;height:28px}.menu-icon svg{width:27px;height:27px}}

.visit-counter{display:flex;justify-content:space-between;gap:16px;padding:12px 16px;margin-bottom:18px;background:white;border:1px solid #d2e3df;border-radius:9px;color:#56716c;font-size:13px}.visit-counter b{color:#176e5c;font-size:16px;margin-left:6px}@media print{.visit-counter{display:none!important}}

.top-nav a.language-link{background:transparent;border:0;box-shadow:none;padding:7px 8px;min-height:0;color:#526e68;font-weight:500;white-space:nowrap;align-self:center}.top-nav a.language-link:hover{background:transparent;box-shadow:none;color:#176e5c;text-decoration:underline}@media(max-width:520px){.top-nav a.language-link{justify-content:center}}

.browse-tabs{display:grid;grid-template-columns:1fr;gap:5px}.browse-tabs .drill-menu-link{display:flex;justify-content:center;align-items:center;padding:12px 6px;text-decoration:none;color:#176e5c;border:1px solid #9fc6b8;border-radius:7px;background:#edf7f2;font-size:13px;font-weight:bold}.browse-tabs button{width:100%}
