:root{font-family:"DM Sans",system-ui,-apple-system,sans-serif;color:#182f34;background:#f8f6ef;--ink:#182f34;--accent:#245d56;--paper:#fffdf8;--wash:#e0efe6;--line:#c8d2c8;--hot:#ffd780}
body{margin:0}body[data-app=oops]{--accent:#8c3826;--wash:#fae9d9;--line:#d7c4b6;--hot:#ffce81;--ink:#372d28;color:var(--ink)}
*{box-sizing:border-box}a{color:var(--accent);text-underline-offset:.18em}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #1f78aa;outline-offset:3px}
header,footer,main{max-width:1100px;margin:auto;padding:0 clamp(16px,4vw,52px)}header{display:flex;justify-content:space-between;gap:1rem;align-items:center;padding-top:19px;padding-bottom:19px;border-bottom:1px solid var(--line)}header a{text-decoration:none;font-weight:700}header nav,footer nav{display:flex;gap:16px;flex-wrap:wrap}header nav a,footer nav a{font-size:.88rem}main{padding-top:28px;padding-bottom:32px}
h1,h2,h3{font-family:"Georgia",serif;line-height:1.08;letter-spacing:-.035em}h1{font-size:clamp(2.25rem,6vw,4.3rem);max-width:19ch;margin:.2em 0 .25em}h2{font-size:clamp(1.55rem,3.2vw,2.2rem);margin:.6em 0 .4em}h3{font-size:1.32rem}p{line-height:1.55;max-width:72ch}small,.note{font-size:.88rem}.lead{font-size:1.15rem;max-width:56ch}.hero,.tool{border:1px solid var(--line);border-radius:18px;background:var(--paper);padding:clamp(17px,4vw,40px)}.hero{display:grid;grid-template-columns:1fr minmax(140px,235px);align-items:center;gap:2rem;background:var(--wash)}.hero img{width:100%;max-height:320px;object-fit:contain;filter:drop-shadow(0 7px 8px #242d2a25)}
.brand{font-weight:740;letter-spacing:.035em;font-size:.87rem}.button,button{display:inline-flex;align-items:center;justify-content:center;font:inherit;font-weight:680;border-radius:9px;border:1px solid var(--accent);color:var(--accent);background:var(--paper);padding:.72rem 1.02rem;text-decoration:none;cursor:pointer;min-height:44px}.primary{background:var(--accent);color:white}.actions{display:flex;flex-wrap:wrap;gap:.65rem;align-items:center;margin:1rem 0}.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:.8rem;margin:1rem 0}.card{display:block;background:var(--paper);border:1px solid var(--line);border-radius:13px;text-decoration:none;color:var(--ink);padding:1.05rem}.card:hover{border-color:var(--accent)}.card strong{font:700 1.26rem Georgia,serif}.card span{display:block;margin-top:.5rem;font-size:.92rem;line-height:1.45}
.tool{margin:1.1rem 0}.tool h2{max-width:35ch}.workspace{max-width:50rem}.choices{display:grid;gap:.6rem;max-width:40rem;margin:1rem 0}.choices button{justify-content:flex-start;text-align:left}.choices button[aria-pressed=true]{background:var(--wash);border:2px solid var(--accent)}#result:not(:empty){border-left:4px solid var(--accent);background:var(--wash);padding:1rem;margin:1rem 0;line-height:1.5}#result p{margin:.15rem 0 .7rem}details{margin:.75rem 0}summary{cursor:pointer;font-weight:650;min-height:36px;padding:.35rem 0}.indexlinks{display:grid;gap:.3rem;grid-template-columns:repeat(auto-fit,minmax(min(100%,155px),1fr));font-size:.85rem}.indexlinks a{padding:.35rem}.store{background:var(--wash);border-radius:15px;padding:1rem 1.35rem;margin:1.2rem 0}.store h2{font-size:1.5rem}.store img{height:48px;width:48px;float:right;border-radius:11px}.store p{margin:.35rem 0}.store .button{margin-top:.6rem}footer{padding-top:18px;padding-bottom:22px;border-top:1px solid var(--line)}.fields{display:grid;gap:.75rem;max-width:40rem}.fields label{display:grid;gap:.2rem}input:not([type=checkbox]),select,textarea{font:inherit;padding:.65rem;border-radius:6px;border:1px solid #84948d;background:white;color:#1b2927}textarea{width:100%;resize:vertical}.embed header,.embed footer,.embed .outside{display:none}.embed main{padding:10px}.embed h1{font-size:1.9rem}.embed .tool{padding:14px}.embed .tool .actions{margin:.55rem 0}
@media(max-width:610px){.hero{grid-template-columns:1fr;gap:.7rem}.hero img{max-height:190px;justify-self:start;width:auto;max-width:100%}header{align-items:start}header nav{justify-content:end;gap:.35rem .8rem}main{padding-top:16px}}
