.hats-page{--hat-ink:#493b2f;--hat-paper:#fffaf0;--hat-rust:#934a32;--hat-line:#c6ac86;max-width:1080px;margin:auto;padding:clamp(12px,3vw,28px);color:var(--hat-ink);font-family:inherit}.hats-page *{box-sizing:border-box;min-width:0}.hats-page header{position:relative;border:1px solid var(--hat-line);border-bottom:5px solid #b99062;border-radius:22px 22px 3px 3px;padding:clamp(18px,4vw,34px);background:#f2dfbd}.hats-page header:after{content:"";display:block;width:78px;height:8px;margin-top:20px;border-top:2px solid #916541;border-bottom:2px solid #916541}.hats-page h1,.hats-page h2,.hats-page h3,.hats-page h4{font-family:Georgia,serif;line-height:1.2;color:inherit}.hats-page h1{font-size:clamp(2.6rem,7vw,4.2rem);margin:.15em 0}.hats-page h2{font-size:clamp(1.4rem,3vw,1.9rem)}.hats-page h3{font-size:1.2rem}.hats-page p{line-height:1.6;max-width:75ch}.hats-eyebrow{font-size:.8rem;font-weight:700;letter-spacing:.11em;text-transform:uppercase}.hats-page a{color:#703b29}.hats-page button,.hats-page a,.hats-page summary{min-height:44px}.hats-page button{height:auto;white-space:normal;overflow-wrap:anywhere;text-align:left;border:1px solid #906b46;border-radius:9px;padding:11px 15px;background:var(--hat-paper);color:var(--hat-ink);font:inherit;cursor:pointer}.hats-page button.primary{background:var(--hat-rust);color:#fffaf0;border-color:#703b29;font-weight:700}.hats-page button[aria-pressed=true],.hats-pages button[aria-current=step]{background:#4a6351;border-color:#354a3a;color:#fffaf0}.hats-page button:disabled{opacity:.5;cursor:default}.hats-page button:focus-visible,.hats-page a:focus-visible,.hats-page summary:focus-visible{outline:3px solid #25668b;outline-offset:3px}.hats-page [tabindex="-1"]:focus{outline:2px solid #25668b;outline-offset:4px}.hats-page a.secondary,.hats-page .back{display:inline-flex;align-items:center;padding:10px 0}.hats-page a.secondary{padding:10px 15px;border:1px solid #906b46;border-radius:9px;background:var(--hat-paper)}.hats-actions,.hats-tiles,.hats-pages,.hats-question-picker{display:flex;flex-wrap:wrap;gap:9px;margin:16px 0}.hats-pages{padding:12px 0;margin:0}.hats-pages button{flex:1 1 180px}.hats-rack{margin:12px 0 24px;padding:clamp(12px,2.5vw,22px);background:#ede4d2;border:1px solid #baa27e;border-radius:4px 4px 18px 18px;box-shadow:0 5px 0 #d0b590}.hats-rack-title{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:4px 18px}.hats-rack-title h2{margin:0}.hats-rack-title p{font-size:.85rem}.hats-pegs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.hats-page .hat-peg{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 8px 12px;text-align:center;background:#fbf3e4;border:2px solid #c6b18e;color:var(--hat-ink)}.hats-page .hat-peg[aria-pressed=true]{border:3px solid #934a32;padding:9px 7px 11px;background:#f8ead2;color:var(--hat-ink)}.hat-peg-label{font-weight:700;font-size:.87rem}.hat-art{display:block;width:100%;height:auto;max-width:170px;max-height:120px}.hat-facts{font-size:.8rem;line-height:1.45}.hat-match-label{font-size:.75rem;padding:4px 6px;border:1px dashed #9d907b;margin-top:4px;border-radius:4px}.hat-matches .hat-match-label{background:#dbe6cf;border:1px solid #567345;font-weight:700;color:#354a2c}.hats-page .hats-model-note,.hats-evidence{font-size:.86rem;line-height:1.55;color:#635849}.hats-rack .hats-model-note{margin-bottom:0}.hats-turn{padding:clamp(14px,3vw,26px);background:var(--hat-paper);border:1px solid #c6ac86;border-radius:13px}.hats-turn>h2{margin-top:0}.hats-request{padding:13px;background:#f4e6d0;border-left:4px solid #ae7d4d}.hats-tiles button{border-bottom:4px solid #bea582;box-shadow:0 2px 0 #e7d6ba}.hats-tiles button[aria-pressed=true]{border-bottom-color:#2b4233;box-shadow:none}.hats-phrase-editor{margin:22px 0;padding:clamp(12px,2vw,20px);background:#f2eee2;border:1px solid #c9bc9d;border-radius:10px}.hats-phrase-editor h3{margin-top:0}.hats-page .hats-phrase{font-family:Georgia,serif;font-size:clamp(1.25rem,3.5vw,1.7rem);line-height:1.5;overflow-wrap:anywhere}.hats-ordered{list-style:none;padding:0;margin:16px 0;display:grid;gap:9px}.hats-ordered li{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:9px;background:#fffaf0;border-radius:8px;border:1px solid #d1c2a7}.hats-word-actions{display:flex;flex-wrap:wrap;gap:6px}.hats-word-actions button{font-size:.78rem;padding:9px}.hats-result{padding:18px;border:2px solid #9d8a64;background:#faf2d9;border-radius:10px}.hats-result h3{margin-top:0}.hats-page .hats-count{font-size:1.1rem}.hats-count strong{font-family:Georgia,serif;font-size:1.8rem}.hats-return{padding:12px;border-left:4px solid #567345;background:#e4ecd9}.hats-help{padding:14px 18px;margin:12px 0;background:#e8eee2;border-left:4px solid #6d845b;border-radius:0 8px 8px 0}.hats-help h3{margin-top:0}.hats-help p:last-child{margin-bottom:0}.hats-context{font-size:1.1rem;padding:14px;background:#f1e3cb;border-radius:8px}.hats-answers{display:grid;gap:10px;margin:18px 0}.hats-answer-history{border-top:1px solid #c6ac86;margin-top:20px}.hats-saved-answer{padding:8px 0}.hats-saved-answer h4{font-size:1rem;margin-bottom:8px}.hats-kept-claim{border-bottom:1px solid #c6ac86;padding:12px 0 22px}.hats-page details{margin:16px 0}.hats-page summary{cursor:pointer;font-weight:700;padding:11px 4px;line-height:1.5;overflow-wrap:anywhere}.hats-page pre,.hats-notes pre{white-space:pre-wrap;overflow-wrap:anywhere}.hats-page #hat-status{padding:12px;min-height:44px;background:#f0e6d4;border-radius:8px}.hats-page #hat-status:empty{background:transparent}.hats-page footer{display:flex;flex-wrap:wrap;gap:12px}.hats-welcome-art{display:flex;justify-content:center;gap:12px;padding:12px 0;border-bottom:2px solid #cfb790;margin-bottom:22px}.hats-welcome-art .hat-art{width:30%}.hats-entry{padding:20px;background:#f5ead6;border-top:2px solid #b38a58;border-radius:10px}.hats-entry h2{font-family:Georgia,serif}.hats-entry a{display:inline-flex;align-items:center;min-height:44px}.hats-page .hear-button{margin:12px 0}.hats-notes .hats-kept-claim{padding:10px}.hats-notes .hats-evidence{font-size:.9rem}@media(max-width:540px){.hats-pegs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hats-rack{padding:10px}.hats-page .hat-peg{padding:9px 5px}.hats-page .hat-peg[aria-pressed=true]{padding:8px 4px}.hat-facts{font-size:.75rem}.hat-art{max-height:94px}.hats-pages{display:grid;grid-template-columns:1fr}.hats-pages button{width:100%}.hats-actions>*{flex:1 1 120px}.hats-word-actions{display:grid;width:100%;grid-template-columns:1fr 1fr 1fr}.hats-word-actions button{font-size:.75rem;padding:8px 4px;text-align:center}.hats-turn{padding:14px}.hats-rack-title p{margin:5px 0 12px}.hats-page .hat-match-label{font-size:.7rem}.hats-question-picker button{flex:1 1 80px}}@media(prefers-reduced-motion:reduce){.hats-page *{animation:none!important;transition:none!important}}

.hats-live-fit{padding:13px 15px;background:#e8eee2;border-left:4px solid #6d845b;border-radius:0 8px 8px 0}.hats-movement summary{font-size:.9rem}.hats-movement .hats-ordered{margin-top:8px}@media(min-width:800px){.hats-work{display:grid;grid-template-columns:minmax(220px,.8fr) minmax(0,1.4fr);align-items:start;gap:18px}.hats-work>.hats-rack{margin:0}.hats-work>.hats-turn{padding:20px}.hats-work .hats-pegs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hats-work .hat-peg{padding:9px 5px}.hats-work .hat-peg[aria-pressed=true]{padding:8px 4px}.hats-work .hat-facts{font-size:.75rem}.hats-work .hat-art{max-height:94px}}
