/* Shared app bar for the Leaders Creek app */
.appbar { position: sticky; top: 0; z-index: 50; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px;
  padding: calc(8px + env(safe-area-inset-top, 0px)) 16px 8px; background: #0D6874; color: #fff; }
.appbrand { display: inline-flex; align-items: center; gap: 8px; color: #fff; text-decoration: none; font-weight: 700; font-size: 16px; margin-right: auto; }
.appbrand img { display: block; width: 40px; height: auto; object-fit: contain; }
.applinks { display: flex; gap: 4px; }
.applinks a { color: #fff; text-decoration: none; padding: 8px 12px; border-radius: 8px; font-weight: 500; font-size: 15px; min-height: 40px; display: inline-flex; align-items: center; }
.applinks a[aria-current="page"] { background: rgba(255,255,255,.18); font-weight: 700; }
.applinks a:hover { background: rgba(255,255,255,.12); }
.applinks a:focus-visible, .appbrand:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.netstat { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: rgba(255,255,255,.18); }
.netstat:empty { display: none; }
@media (max-width: 420px) { .appbrand span { display: none; } .appbrand { margin-right: 0; } .applinks { flex: 1; } .applinks a { flex: 1; justify-content: center; } }

/* Locked months (free sign-in) and the updates box on the tide page */
.lockcard { background: var(--surface); border: 2px solid var(--high); border-radius: 10px; padding: 18px; display: flex; flex-direction: column; gap: 10px; align-items: flex-start; }
.lockcard h3 { margin: 0; font-family: var(--display); font-size: 20px; color: var(--fg); }
.lockcard p { margin: 0; color: var(--muted); max-width: 65ch; }
.lockbtn { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 8px; background: var(--high); color: var(--surface); font-weight: 700; text-decoration: none; }
.lockbtn:focus-visible { outline: 2px solid var(--high); outline-offset: 2px; }
.updbox { background: var(--high-soft); border-radius: 10px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.updbox h3 { margin: 0; font-family: var(--display); font-size: 18px; color: var(--fg); }
.updbox p { margin: 0; font-size: 14px; color: var(--fg); }
.updform { display: flex; flex-wrap: wrap; gap: 8px; }
.updform input { flex: 1 1 220px; min-width: 0; min-height: 40px; padding: 0 10px; font: inherit; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--fg); }
.updform button { background: var(--high); color: var(--surface); border-color: var(--high); font-weight: 600; }
.updchk { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--fg); }
.updchk input { width: 18px; height: 18px; margin-top: 1px; flex: none; accent-color: var(--high); }
.updchk a { color: var(--high); }
.updstatus { font-size: 13px; color: var(--fg); }
.updstatus:empty { display: none; }
.updstatus.err { color: var(--flag); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
