.codes-page{max-width:1040px;margin:auto;padding:clamp(12px,3vw,28px);color:#253e42}.codes-page h1,.codes-page h2,.codes-page h3{font-family:Georgia,serif}.codes-page h1{font-size:clamp(2.1rem,6vw,3.6rem);margin:.3em 0}.codes-page p{line-height:1.6;max-width:75ch}.codes-page header{background:#203c50;color:#fffdf6;padding:22px;border-radius:16px 16px 0 0}.codes-page header a{color:#fffdf6;display:inline-flex;align-items:center;min-height:44px}.codes-tower{display:block;width:100%;max-height:190px}.codes-tower text{font:16px Georgia,serif;fill:#fffdf6}.codes-page button,.codes-page summary,.codes-page a{min-height:44px}.codes-page button{max-width:100%;white-space:normal;overflow-wrap:anywhere;text-align:left;height:auto}.codes-page button:focus-visible,.codes-page a:focus-visible,.codes-page summary:focus-visible{outline:3px solid #a96225;outline-offset:3px}.codes-page button[aria-pressed=true],.codes-pages button[aria-current=step]{background:#203c50;color:#fffdf6}.codes-pages,.codes-actions,.codes-message-choices{display:flex;flex-wrap:wrap;gap:9px;margin:18px 0}.codes-turn,.codes-intro{padding:clamp(12px,3vw,25px);border:1px solid #b3c5c4;background:#fffdf6}.codes-turn>h2{margin-top:0}.codes-guided,.codes-help,.codes-limit,.codes-shared{padding:14px;background:#e7efea;border-left:4px solid #729aaa}.codes-editor,.codes-sending{margin:20px 0;padding:18px;background:#edf2f4;border:2px solid #729aaa}.code-strip{display:inline-flex;flex-wrap:wrap;align-items:center;gap:8px;max-width:100%}.code-bit{display:inline-flex;align-items:center;justify-content:center;padding:10px 6px;min-width:49px;background:#edbd61;color:#203c50;border:2px solid #594411;font-weight:700;border-radius:5px}.code-bit.long{min-width:82px}.code-bit.pointed{outline:4px solid #203c50;outline-offset:3px}.code-empty{color:#596e72;font-style:italic}.codes-card{margin:18px 0;border:1px solid #9fb3b0;padding:16px;background:#fffdf6}.codes-card h3{margin-top:0}.codes-card dl{margin:0}.codes-card dl>div{display:grid;grid-template-columns:minmax(90px,1fr) 3fr;gap:10px;padding:10px 0;border-bottom:1px solid #d6dfd7}.codes-card dt{font-weight:700;align-self:center}.codes-card dd{margin:0;min-width:0}.codes-card .code-bit{font-size:.85rem;padding:6px;min-width:44px}.codes-card .code-bit.long{min-width:66px}.codes-card-pair{display:grid;grid-template-columns:1fr 1fr;gap:16px}.codes-result{padding:18px;border:2px solid #729aaa;margin:20px 0;background:#f2f6f3}.codes-result article{padding:10px 0;border-bottom:1px solid #b5c7c4}.codes-result h3{font-size:1.1rem}.codes-goal{font-weight:700;background:#e4eed9;padding:18px;border-left:5px solid #62804d}.codes-trace{margin:16px 0}.codes-trace button{margin:18px 0 0}.codes-table-wrap{max-width:100%;overflow:auto}.codes-comparison table{border-collapse:collapse;width:100%}.codes-comparison th,.codes-comparison td{padding:10px;border:1px solid #a9bcb5;text-align:left;vertical-align:top}.codes-page details{margin:16px 0}.codes-page summary{cursor:pointer;font-weight:700;padding:10px}.codes-visits button{margin:5px}.codes-page #code-status{padding:14px;background:#edf2f4;min-height:44px}.codes-page pre,.codes-page dd{overflow-wrap:anywhere;white-space:pre-wrap}.codes-page footer{display:flex;gap:16px;flex-wrap:wrap}.codes-entry{padding:20px;border-top:2px solid #729aaa}.codes-page *{box-sizing:border-box}@media(max-width:650px){.codes-card-pair{grid-template-columns:1fr}.codes-pages{display:grid;grid-template-columns:1fr 1fr}.codes-card dl>div{grid-template-columns:1fr}.codes-page header{padding:14px}.codes-actions>*{flex:1 1 120px}.codes-comparison th,.codes-comparison td{font-size:.86rem;padding:6px}}@media(prefers-reduced-motion:reduce){.codes-page *{animation:none!important;transition:none!important}}

.codes-pages{position:sticky;top:0;z-index:2;background:#fffdf6;padding:8px 0}.codes-result[data-code-kind=all] article{padding:8px 0}.codes-result[data-code-kind=all] article h3{margin:6px 0}.codes-result[data-code-kind=all] article p{margin:8px 0}.codes-result[data-code-kind=all] .code-strip{gap:5px}.codes-result[data-code-kind=all] .code-bit{font-size:.85rem;padding:5px;min-width:36px}.codes-result[data-code-kind=all] .code-bit.long{min-width:52px}

.codes-entry a{display:inline-flex;align-items:center;min-height:44px}
