.hfw-page{--ink:#173654;--teal:#087e72;--pink:#a92a75;max-width:1180px;color:var(--ink);margin:auto;padding:32px 22px 50px;font-size:18px;line-height:1.65}.hfw-page *{box-sizing:border-box}.hfw-page h1,.hfw-page h2,.hfw-page h3{letter-spacing:normal;overflow-wrap:break-word;line-height:1.22}.hfw-page h1{margin:10px 0 18px;font-size:clamp(2rem,4vw,3rem)}.hfw-page h2{margin:22px 0 16px;font-size:clamp(1.5rem,3vw,2.1rem)}.hfw-page h3{margin:15px 0;font-size:1.4rem}.hfw-page p{max-width:75ch;margin:12px 0 20px}.hfw-banner{background:#e2f5ef;border-radius:28px;align-items:center;gap:30px;padding:30px;display:flex}.hfw-art{flex:none;width:180px;max-width:100%;height:auto}.hfw-banner .hfw-art{width:210px}.hfw-badge{background:#fff4de;border-radius:15px;padding:8px 15px;font-size:16px;font-weight:700;display:inline-block}.hfw-crumbs{flex-wrap:wrap;gap:8px 12px;margin:22px 0;font-size:16px;display:flex}.hfw-crumbs a,.hfw-footer a,.hfw-bottom a{color:var(--ink);text-underline-offset:4px}.hfw-panel{background:#fff;border:1px solid #d3dfe5;border-radius:25px;min-width:0;padding:28px}.hfw-toolbar,.hfw-actions,.hfw-bottom,.hfw-footer{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.hfw-toolbar{border-bottom:1px solid #e1e6ec;justify-content:space-between;padding-bottom:17px}.hfw-page button,.hfw-button,.hfw-primary{font:inherit;min-height:48px;color:var(--ink);cursor:pointer;text-align:center;white-space:normal;overflow-wrap:anywhere;background:#fff;border:2px solid #d0dbe4;border-radius:14px;justify-content:center;align-items:center;gap:7px;max-width:100%;padding:11px 18px;line-height:1.4;text-decoration:none;display:inline-flex}.hfw-page button:hover,.hfw-button:hover{border-color:var(--teal);background:#eef8f4}.hfw-page button:focus-visible,.hfw-page a:focus-visible,.hfw-page input:focus-visible,.hfw-page summary:focus-visible{outline-offset:4px;outline:3px solid #173654}.hfw-page button:disabled{opacity:.65;cursor:default}.hfw-page .hfw-primary{background:var(--pink);border-color:var(--pink);color:#fff;font-weight:750}.hfw-page .hfw-primary:hover{background:#86205b}.hfw-folder-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin:25px 0;display:grid}.hfw-card{color:#173654;border:2px solid #0000;border-radius:24px;flex-direction:column;gap:7px;min-width:0;padding:25px;text-decoration:none;display:flex}.hfw-card>span{letter-spacing:.06em;font-size:14px;font-weight:800}.hfw-card>strong{margin-top:auto}.hfw-card p{margin:5px 0 16px}.hfw-card h3{font-size:1.6rem}.hfw-card:hover{border-color:#173654;box-shadow:0 6px 16px #17365415}.hfw-colour-0{background:#cdf1e8}.hfw-colour-1{background:#ffe1da}.hfw-colour-2{background:#d7efff}.hfw-colour-3{background:#ffedbe}.hfw-note,.hfw-explanation{background:#f1f6fa;border-left:5px solid #3788ab;border-radius:8px;max-width:76ch;padding:15px 18px;font-size:16px}.hfw-note p{margin:7px 0}.hfw-explanation{background:#e5f5ee;border-color:#087e72;margin:20px 0;font-size:18px}.hfw-search{border-top:1px solid #d8e0e8;margin-top:28px;padding-top:24px}.hfw-input{font:inherit;color:#173654;background:#fff;border:2px solid #8fabc1;border-radius:12px;width:100%;max-width:560px;min-height:52px;margin:8px 0 20px;padding:12px 16px;display:block}.hfw-results,.hfw-word-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0;display:grid}.hfw-results a,.hfw-word-grid a{color:#173654;background:#f1f8f5;border:2px solid #d1e6df;border-radius:15px;flex-direction:column;min-height:65px;padding:15px;text-decoration:none;display:flex}.hfw-results a:hover,.hfw-word-grid a:hover{border-color:#087e72}.hfw-results small,.hfw-word-grid small{font-size:14px}.hfw-word-grid strong{font-size:1.65rem}.hfw-progress{flex-wrap:wrap;justify-content:space-between;gap:10px;margin:24px 0 18px;font-size:16px;display:flex}.hfw-steps{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:20px 0 26px;padding:0;list-style:none;display:grid}.hfw-steps li{text-align:center;background:#f1f4f7;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:10px;line-height:1.3;display:flex}.hfw-steps li[aria-current]{background:#d8f2e9;border:2px solid #087e72}.hfw-steps li>span{font-weight:800}.hfw-steps small{font-size:14px}.hfw-word{flex-wrap:wrap;align-items:center;gap:20px;margin:20px 0 24px;display:flex}.hfw-word>strong{letter-spacing:.04em;font-size:clamp(2.5rem,7vw,4rem);line-height:1.3}.hfw-choices{border:0;flex-wrap:wrap;gap:12px;min-width:0;margin:22px 0;padding:0;display:flex}.hfw-choices legend{width:100%;margin-bottom:14px;font-weight:700}.hfw-choices button{flex-direction:column;min-width:60px}.hfw-page .hfw-selected{background:#fff0c9;border:3px solid #173654;box-shadow:inset 0 0 0 2px #fff}.hfw-choices small{font-size:12px}.hfw-feedback{background:#e3f4e9;border-left:5px solid #087e72;border-radius:15px;margin:22px 0;padding:17px 20px}.hfw-feedback.retry{background:#fff2df;border-color:#b17324}.hfw-legend{flex-wrap:wrap;gap:8px 18px;margin:15px 0;font-size:14px;display:flex}.hfw-boxes{flex-wrap:wrap;align-items:stretch;gap:10px;margin:24px 0;display:flex}.hfw-boxes button{flex-direction:column;justify-content:space-between;min-width:90px;min-height:145px;padding:12px 10px;display:flex}.hfw-boxes button.unusual{background:#fff0f5;border-color:#b43363}.hfw-boxes button strong{letter-spacing:.04em;font-size:2rem}.hfw-boxes button small{min-height:17px;font-size:12px}.hfw-boxes button span{font-size:16px}.hfw-writing{letter-spacing:.07em;font-size:1.7rem}.hfw-write-label{margin-top:20px;font-weight:700;display:block}.hfw-tile-tray{flex-wrap:wrap;gap:10px;margin:20px 0;display:flex}.hfw-tile-tray button{flex-direction:column;min-width:72px;font-size:1.6rem;display:flex}.hfw-tile-tray small{font-size:12px}.hfw-sentence{background:#fff4d8;border-radius:17px;padding:20px;font-size:clamp(1.4rem,3vw,1.8rem);line-height:1.6}.hfw-page mark{color:#173654;background:#b8e9db;border-radius:5px;padding:1px 4px;font-weight:750}.hfw-bottom{border-top:1px solid #dce4ea;margin-top:32px;padding-top:22px;font-size:16px}.hfw-adult{color:#456277;border-top:1px solid #e1e7ec;padding-top:18px;font-size:14px;margin-top:26px!important}.hfw-guide{background:#fff2db;border-radius:20px;margin:24px 0;padding:22px}.hfw-guide summary{cursor:pointer;min-height:48px;font-weight:800;display:list-item}.hfw-guide p{font-size:16px}.hfw-footer{justify-content:space-between;font-size:16px}.hfw-finish{text-align:center}.hfw-finish .hfw-art{margin:25px auto 0}.hfw-finish p{margin:16px auto}.hfw-finish .hfw-actions{justify-content:center}@media (width<=700px){.hfw-page{padding:20px 14px 35px;font-size:17px}.hfw-banner{gap:5px;padding:22px}.hfw-banner .hfw-art{width:100px}.hfw-panel{padding:20px 16px}.hfw-folder-grid{grid-template-columns:1fr}.hfw-results,.hfw-word-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hfw-steps small{display:none}.hfw-steps li{min-height:44px}.hfw-boxes{gap:8px}.hfw-boxes button{min-width:76px;min-height:132px}.hfw-page button{padding:10px 12px}.hfw-card{padding:22px}.hfw-bottom{align-items:stretch}.hfw-toolbar{gap:8px}.hfw-footer{flex-direction:column;align-items:flex-start}}@media (width<=420px){.hfw-banner .hfw-art{display:none}.hfw-banner{padding:20px}.hfw-results{grid-template-columns:1fr}.hfw-boxes button{min-width:70px}.hfw-panel{padding:16px 12px}.hfw-crumbs,.hfw-progress{font-size:14px}.hfw-choices{gap:8px}}@media (prefers-reduced-motion:reduce){.hfw-page *{scroll-behavior:auto!important}}.hfw-banner-active{padding:18px 26px}.hfw-banner-active h1{margin:6px 0;font-size:clamp(1.6rem,3vw,2.2rem)}.hfw-banner-active>div>p:not(.kicker),.hfw-banner-active .hfw-badge,.hfw-banner-active .hfw-art{display:none}.hfw-boxes button strong .hfw-silent{font-size:inherit;color:#647789;text-underline-offset:5px;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}.hfw-help{background:#f7fafb;border:1px solid #cedde5;border-radius:12px;max-width:76ch;margin:12px 0 18px;padding:12px 16px}.hfw-help summary{cursor:pointer;align-content:center;min-height:44px;font-weight:700}.hfw-help p{margin:10px 0;font-size:16px}.hfw-word-explanation{background:#e9f5ef;border-left:4px solid #087e72;border-radius:8px;padding:16px 20px}.hfw-help summary:focus-visible{outline-offset:3px;outline:3px solid #173654}
