/* App page shell (/apps/brew/): header, tabs (top on desktop, bottom bar on phones), panels. Tools inside use brew.css.
   Same look as tasteoftea.com: cream #faf9f1, Playfair Display + DM Sans, deep green #23423f. */
html { -webkit-text-size-adjust: 100%; }
body.tob-shell { margin: 0; min-height: 100vh; background: #faf9f1; color: #1a1a1a; font-family: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif; }
.sh-top { position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: calc(env(safe-area-inset-top) + 10px) 16px 10px; background: rgba(250, 249, 241, .94); backdrop-filter: blur(8px); border-bottom: 1px solid #ddd8cc; }
.sh-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #1a1a1a; }
.sh-brand img { border-radius: 9px; display: block; }
.sh-brand span { display: flex; flex-direction: column; line-height: 1.1; }
.sh-brand b { font-family: "Playfair Display", Georgia, serif; font-size: 21px; font-weight: 400; }
.sh-brand small { font-size: 12px; color: #5a6457; letter-spacing: .04em; }
.sh-shop { font-size: 13px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: #fff; text-decoration: none; border-radius: 999px; padding: 10px 16px; background: #4a6741; }
.sh-shop:hover { background: #23423f; }
.sh-install { display: flex; align-items: center; gap: 10px; max-width: 1040px; margin: 12px auto 0; padding: 10px 12px; background: #23423f; color: #fff; border-radius: 14px; font-size: 14px; }
.sh-install[hidden] { display: none; }
.sh-install span { flex: 1; }
.sh-install button { border: 0; border-radius: 999px; background: #C3CCA6; color: #1a1a1a; font-weight: 600; min-height: 38px; padding: 0 16px; font-size: 14px; font-family: inherit; }
.sh-install #sh-install-x { background: transparent; color: #fff; font-size: 22px; min-width: 40px; padding: 0; }
.sh-intro { max-width: 1040px; margin: 0 auto; padding: 18px 16px 0; }
.sh-intro h1 { font-family: "Playfair Display", Georgia, serif; font-weight: 400; font-size: clamp(28px, 3vw + 16px, 40px); line-height: 1.1; margin: 0 0 6px; }
.sh-intro p { margin: 0; color: #5a6457; font-size: 15px; }
.sh-main { max-width: 1072px; margin: 0 auto; padding: 0 0 calc(env(safe-area-inset-bottom) + 92px); }
.sh-panel[hidden] { display: none; }
.sh-nav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(5, 1fr); background: #ffffff; border-top: 1px solid #ddd8cc;
  padding: 6px 4px calc(env(safe-area-inset-bottom) + 6px); }
.sh-nav a { display: flex; flex-direction: column; align-items: center; gap: 3px; min-height: 48px; justify-content: center; text-decoration: none; color: #5a6457; font-size: 11.5px; font-weight: 500; border-radius: 12px; }
.sh-nav svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sh-nav a.is-on { color: #23423f; }
.sh-nav a.is-on svg { stroke-width: 2.2; }
.sh-foot { max-width: 1040px; margin: 8px auto 0; padding: 0 16px; font-size: 13px; color: #5a6457; }
.sh-foot a { color: #176225; }
@media (min-width: 860px) {
  .sh-nav { position: sticky; top: 63px; z-index: 4; display: flex; justify-content: center; gap: 6px; padding: 10px 16px; background: rgba(250, 249, 241, .94); border-top: 0; border-bottom: 1px solid #ddd8cc; }
  .sh-nav a { flex-direction: row; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 100px; font-size: 15px; border: 1px solid transparent; }
  .sh-nav a:hover { border-color: #ddd8cc; background: #fff; }
  .sh-nav a.is-on { background: #23423f; color: #fff; }
  .sh-nav svg { width: 20px; height: 20px; }
  .sh-main { padding-bottom: 40px; }
  .sh-shell-grid { display: flex; flex-direction: column; }
}
