/* Judoka pages: phone first, colours from the mockups. System fonts (no external font service, privacy). */
.wz {
    --wz-ink: #15202B;
    --wz-muted: #5A6470;
    --wz-line: #E3E6E1;
    --wz-bg: #F6F7F4;
    --wz-card: #FFFFFF;
    --wz-accent: #1E4E9C;
    --wz-ok: #2E7D4F;
    min-height: 100vh;
    background: var(--wz-bg);
    color: var(--wz-ink);
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    max-width: 560px;
    margin: 0 auto;
    padding-bottom: 5rem;
}

.wz a { color: var(--wz-accent); }

.wz-header { display: flex; align-items: center; gap: .75rem; padding: 1rem 1rem .5rem; }
.wz-logo { width: 48px; height: 48px; object-fit: contain; border-radius: 8px; background: #fff; }
.wz-club { font-weight: 700; font-size: 1.05rem; line-height: 1.2; }
.wz-brand { font-size: .75rem; color: var(--wz-muted); font-weight: 700; }
.wz-brand span { color: var(--wz-accent); font-weight: 500; }

.wz-main { padding: .5rem 1rem 1rem; }
.wz-main h1 { font-size: 1.4rem; font-weight: 800; margin: .25rem 0 .75rem; }
.wz-main h2 { font-size: 1.05rem; font-weight: 700; margin: 1.25rem 0 .5rem; }
.wz-muted { color: var(--wz-muted); }
.wz-small { font-size: .85rem; }

.wz-card { display: block; background: var(--wz-card); border: 1px solid var(--wz-line); border-radius: 14px; padding: .9rem 1rem; margin-bottom: .6rem; color: inherit; text-decoration: none; }
a.wz-card:hover { border-color: var(--wz-accent); }
.wz .wz-card { color: var(--wz-ink); }

.wz-belt { display: flex; align-items: center; gap: .8rem; }
.wz-belt-bar { width: 2.6rem; height: .9rem; border-radius: 4px; border: 1px solid rgba(0, 0, 0, .15); flex: none; }
.wz-belt-bar.half { background-image: linear-gradient(90deg, var(--half) 50%, #fff 50%); }
.wz-belt-title { font-weight: 700; }
.wz-belt-sub { font-size: .85rem; color: var(--wz-muted); }
.wz-progress { margin-left: auto; font-size: .85rem; font-weight: 700; color: var(--wz-muted); white-space: nowrap; }
.wz-progress.wz-complete { color: var(--wz-ok); }

.wz-chips { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: .75rem; }
.wz-chip { padding: .3rem .8rem; border-radius: 999px; border: 1px solid var(--wz-line); background: #fff; text-decoration: none; color: var(--wz-ink); font-size: .9rem; }
.wz-chip.active { background: var(--wz-ink); color: #fff; border-color: var(--wz-ink); }

.wz-items { list-style: none; padding: 0; margin: 0; background: var(--wz-card); border: 1px solid var(--wz-line); border-radius: 14px; overflow: hidden; }
.wz-items li { border-top: 1px solid var(--wz-line); }
.wz-items li:first-child { border-top: 0; }
.wz-item { display: flex; align-items: flex-start; gap: .75rem; padding: .7rem 1rem; }
.wz-item input[type=checkbox] { width: 1.35rem; height: 1.35rem; margin-top: .1rem; accent-color: var(--wz-ok); flex: none; }
.wz-item-name { font-weight: 600; }
.wz-item-sub { font-size: .85rem; color: var(--wz-muted); }
.wz-item-note { font-size: .85rem; color: var(--wz-accent); margin-top: .15rem; }
.wz-item-link { margin-left: auto; text-decoration: none; font-size: 1.2rem; padding: 0 .25rem; }
.wz-badge { display: inline-block; font-size: .7rem; font-weight: 700; padding: .05rem .4rem; border-radius: 4px; background: #EEF1EC; color: var(--wz-muted); margin-left: .3rem; vertical-align: middle; }

.wz-banner { border-radius: 12px; padding: .75rem 1rem; margin-bottom: .9rem; font-size: .92rem; }
.wz-banner.info { background: #E9F0FB; }
.wz-banner.ok { background: #E6F3EA; }
.wz-banner.error { background: #FBEAEA; }

.wz-locked { text-align: center; background: var(--wz-card); border: 1px dashed #B8BEC4; border-radius: 14px; padding: 1.25rem 1rem; margin: .75rem 0; }
.wz-locked-icon { font-size: 1.6rem; }
.wz-locked p { margin: .35rem 0; }

.wz-button { display: inline-block; background: var(--wz-accent); color: #fff !important; border: 0; border-radius: 10px; padding: .65rem 1.2rem; font-weight: 700; text-decoration: none; font-size: 1rem; }
.wz-input { width: 100%; font-size: 1.2rem; padding: .7rem .9rem; border: 1px solid #B8BEC4; border-radius: 10px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .75rem; }

.wz-image { aspect-ratio: 4 / 3; background: #EEF1EC; border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--wz-muted); margin-bottom: .75rem; }
.wz-steps { padding-left: 1.2rem; }
.wz-steps li { margin-bottom: .4rem; }

.wz-terms dt { font-weight: 700; margin-top: .6rem; }
.wz-terms dd { margin: 0; }

.wz-install summary { font-weight: 700; cursor: pointer; }
.wz-install-button { width: 100%; }
.wz [hidden] { display: none !important; }
@media (display-mode: standalone) {
    .wz-install { display: none; }
}

.wz-tabs { position: fixed; bottom: 0; left: 0; right: 0; display: flex; justify-content: center; background: #fff; border-top: 1px solid var(--wz-line); padding: .35rem 0 calc(.35rem + env(safe-area-inset-bottom)); z-index: 10; }
.wz-tabs a, .wz-tab-status { flex: 1; max-width: 140px; display: flex; flex-direction: column; align-items: center; font-size: .72rem; text-decoration: none; color: var(--wz-muted) !important; padding: .2rem 0; }
.wz-tabs a span, .wz-tab-status span { font-size: 1.15rem; line-height: 1.3; }
.wz-tabs a.active { color: var(--wz-ink) !important; font-weight: 700; }
.wz-tab-status { color: var(--wz-ok) !important; }
