.oustory-menu-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.oustory-menu-heading h2{margin:0;font-size:24px;line-height:1.2;font-weight:600;letter-spacing:-.04em}.oustory-menu-brand{display:flex;align-items:center;gap:16px;padding-bottom:23px;margin-bottom:8px;border-bottom:1px solid var(--line);min-width:0}.oustory-menu-brand img{width:76px;height:76px;object-fit:contain;flex:none;background:transparent}.oustory-menu-brand h3{margin:0 0 6px;font-size:25px;line-height:1.2;font-weight:500;letter-spacing:-.045em}.oustory-menu-brand p{margin:0;color:var(--muted);font-size:11px;line-height:1.6}.oustory-menu-row{display:block;width:100%;min-height:54px;padding:16px 0;border:0;border-bottom:1px solid var(--line);background:transparent;color:inherit;text-align:left;font:inherit;font-size:14px}.oustory-menu-row:hover{color:var(--muted)}.oustory-edition-icon{display:block;width:92px;height:92px;object-fit:contain;background:transparent;margin:6px 0 22px}#oustory-menu .icon-button{font-size:28px}#oustory-menu button:focus-visible{outline:2px solid var(--text);outline-offset:3px}

/* Home Screen install help is inside Oustory’s own app menu. */
#oustory-install-panel{width:min(420px,calc(100vw - 32px));max-height:min(80vh,720px);padding:25px 22px;border:1px solid var(--line);border-radius:22px;background:var(--sheet);color:var(--text);box-shadow:0 16px 48px rgba(0,0,0,.4)}
#oustory-install-panel::backdrop{background:rgba(0,0,0,.7)}
#oustory-install-title{font-size:22px;line-height:1.25;margin:0 0 14px}
#oustory-install-instructions{font-size:15px;line-height:1.65;margin:0 0 16px}
#oustory-install-status{font-size:13px;line-height:1.5;color:var(--muted);overflow-wrap:anywhere}
.oustory-install-tools{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}
.oustory-install-tools .feature-action{min-height:44px}

/* Keep the edition sheet dismissible even after scrolling to print editions. */
#edition-panel{overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
#edition-panel .sheet-header{
  position:sticky;top:-22px;z-index:5;background:var(--sheet);
  padding:10px 0 12px;border-bottom:1px solid var(--line)
}
#edition-panel .sheet-header [data-close]{
  display:inline-flex;align-items:center;justify-content:center;gap:6px;
  width:auto;min-width:84px;min-height:44px;padding:8px 12px;
  border-radius:999px;background:var(--control)
}
#edition-panel .sheet-header [data-close]::after{
  content:"Close";font-size:13px;font-weight:600
}
