.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.menu-item { position: relative; min-height: 145px; padding: 18px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); box-shadow: var(--shadow); transition: transform .15s ease, border-color .15s ease; }
.menu-item:active { transform: scale(.975); }.menu-item:hover { border-color: var(--gold-soft); }
.menu-icon { width: 55px; height: 55px; display: grid; place-items: center; border-radius: 50%; color: var(--green-900); background: var(--green-50); border: 1px solid #d6e8e2; font-family: Georgia, serif; font-size: 1.65rem; }
.menu-title { font-weight: 750; font-size: .88rem; line-height: 1.25; text-align: center; max-width: 150px; }
.menu-arrow { position: absolute; right: 10px; bottom: 9px; color: var(--gold); font-size: 1.2rem; }
.offline-note { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 22px auto 0; max-width: 390px; text-align: center; color: var(--muted); font-size: .68rem; line-height: 1.4; }.dot { width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: var(--green-700); }
.page-header { flex: 0 0 auto; min-height: 72px; display: flex; align-items: center; gap: 10px; padding: max(12px, env(safe-area-inset-top)) 15px 12px; color: white; background: linear-gradient(135deg, var(--green-950), var(--green-800)); box-shadow: 0 3px 18px rgba(0,0,0,.12); position: relative; z-index: 5; }
.page-header > div { min-width: 0; }.page-header h2 { margin-top: 2px; font-size: 1.03rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }.page-header .header-kicker { color: rgba(255,255,255,.65); }
.icon-button { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; background: rgba(255,255,255,.1); color: white; font-size: 2rem; line-height: 1; }
.list-item { width: 100%; display: flex; align-items: center; gap: 13px; padding: 15px; margin-bottom: 11px; text-align: left; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 5px 20px rgba(10,63,52,.06); }.list-item:active { transform: scale(.99); }
.list-number { width: 34px; height: 34px; flex: 0 0 34px; display: grid; place-items: center; border-radius: 11px; color: var(--green-900); background: var(--green-100); font-weight: 800; font-size: .82rem; }.list-title { font-weight: 700; font-size: .9rem; flex: 1; }.list-arrow { color: var(--gold); font-size: 1.25rem; }
.font-controls { display: flex; margin-left: auto; gap: 4px; }.font-controls button { width: 32px; height: 32px; color: white; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 8px; font-weight: 700; font-size: .75rem; }.reader-heading { flex: 1; }
.bottom-nav { position: fixed; z-index: 20; left: 50%; bottom: 0; transform: translateX(-50%); width: min(900px, 100%); height: var(--footer-height); padding: 8px 18px max(8px, env(safe-area-inset-bottom)); display: flex; justify-content: center; align-items: center; background: rgba(255,255,255,.94); border-top: 1px solid var(--line); box-shadow: 0 -8px 25px rgba(0,0,0,.07); backdrop-filter: blur(14px); }
.home-nav-button { min-width: 120px; display: flex; align-items: center; justify-content: center; gap: 7px; padding: 10px 20px; border-radius: 999px; color: white; background: var(--green-900); font-weight: 750; box-shadow: 0 5px 16px rgba(13,92,77,.22); }.home-icon { font-size: 1.15rem; line-height: 1; }
@media (min-width: 600px) { .home-panel { padding-left: 30px; padding-right: 30px; }.menu-grid { grid-template-columns: repeat(4, 1fr); }.menu-item { min-height: 160px; } }
