.offline-header{position:sticky;top:0;z-index:30;background:var(--paper);border-bottom:1px solid var(--line);padding:14px;display:flex;justify-content:space-between;gap:12px}.offline-header a{text-decoration:none;font-weight:700}#downloads{margin-bottom:20px}#downloads summary{cursor:pointer;font-weight:700}#downloads input{width:auto}#downloads progress{width:100%}#search{margin-bottom:20px}#detail .button{margin:4px}#detail h1{margin-top:24px}#detail img{max-height:400px;width:100%;object-fit:contain}#detail li,#cook-content li{margin:12px 0;white-space:pre-line}#detail input[type=checkbox],#cook-content input{width:20px;margin-right:10px}#detail input:checked+span,#cook-content input:checked+span{text-decoration:line-through;opacity:.6}.offline-scales{display:flex;gap:6px;flex-wrap:wrap}.offline-scales button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}#more{margin-top:20px}#cooking{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border:0;background:var(--paper);color:var(--ink);padding:0}#cooking[open]{display:flex;flex-direction:column}#cooking header,#cooking nav{padding:12px 18px;display:flex;gap:12px;align-items:center;background:var(--surface)}#cooking header{justify-content:space-between}#cooking nav button[aria-pressed=true]{border-color:var(--accent);color:var(--accent)}#cook-content{overflow:auto;flex:1;padding:24px;font-size:1.2rem;white-space:pre-line}#cook-content .instruction{font-family:Georgia,serif;font-size:clamp(1.8rem,4vw,3rem)}#cook-controls{padding:18px;display:flex;align-items:center;justify-content:flex-end;gap:12px;background:var(--surface)}#cook-controls[hidden]{display:none}button:disabled{opacity:.5;cursor:default}#cooking #next:disabled{border:0;background:transparent;color:var(--muted)}[hidden]{display:none!important}
