/* The site's top bar and bottom bar (templates/_topbar.html, _footer.html) for
   pages other than the start page, which styles its own: the plans page and
   the admin pages. Each page sets :root's --navy, --muted and --border. */
/* The header itself is static/header.css, loaded by templates/_topbar.html. */
/* The site's bottom bar (templates/_footer.html), as on the start page. */
.footer{text-align:center;color:#64748b;font-size:13px;line-height:2.2;padding:26px 16px 34px;border-top:1px solid #e5e7eb;margin-top:28px}
.footer a{color:inherit;text-decoration:none}.footer a:hover{color:#0f172a;text-decoration:underline}
/* Touch screens: no field under 16px. iOS Safari zooms into any smaller field
   when it's tapped and stays zoomed in afterwards; pinch-zoom stays allowed. */
@media (pointer:coarse){input,select,textarea{font-size:16px!important}}

/* The ticker box's autocomplete (static/ticker-ac.js), as on the start page. */
.ticker-ac{display:none;position:fixed;max-height:340px;overflow-y:auto;background:var(--card,#fff);color:#0f172a;border:1px solid var(--border);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.35);z-index:200;text-align:left}
.ticker-ac.open{display:block}
.ticker-ac-item{display:flex;align-items:baseline;gap:8px;padding:10px 12px;min-height:44px;box-sizing:border-box;cursor:pointer;font-size:13px}
.ticker-ac-item:hover,.ticker-ac-item.active{background:var(--bg,#f1f5f9)}
.ticker-ac-tk{font-weight:700;color:var(--navy);min-width:52px}
.ticker-ac-name{color:var(--muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.ticker-ac-empty{padding:10px 12px;font-size:12px;color:var(--muted)}
@media(max-width:640px){
  .ticker-ac-item{flex-direction:column;align-items:flex-start;gap:2px;padding:10px 12px}
  .ticker-ac-name{white-space:normal;font-size:12px}
}
