/* /perfil modules, official level, /verificar, Escuela (home/hub.py). Loaded after coaches.css. */
.card-f select { width: 100%; margin-top: 6px; height: 50px; padding: 0 12px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: 16px var(--body); }
.mod-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.mod-head h2 { margin: 0; }
.mod-link { font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }
.mod-sub { margin: 4px 0 0; font: 600 15px/1.2 var(--head); }
.lock { margin: 0; font-size: 12px; color: var(--muted); }
.lvbadge { display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 14px; background: var(--navy); color: #fff; }
.lvbadge b { display: grid; place-items: center; min-width: 40px; height: 40px; padding: 0 6px; border-radius: 10px; background: var(--lime); color: #1d2a00; font: 700 20px/1 var(--head); }
.lvbadge span { display: grid; font-weight: 600; font-size: 15px; line-height: 1.25; }
.lvbadge small { font-weight: 500; font-size: 12px; color: rgba(255,255,255,.8); }
.lvbadge.big b { min-width: 56px; height: 56px; font-size: 28px; border-radius: 14px; }
.lvbadge.big span { font-size: 18px; }
.lvbadge.empty { background: var(--soft); color: var(--muted); }
.lvbadge.empty b { background: var(--line); color: var(--muted); }
.lv-now, .lv-none { display: grid; gap: 10px; justify-items: start; }
.lv-now .note, .lv-none .note { margin: 0; }
.code-box { display: grid; grid-template-columns: auto 1fr; gap: 2px 16px; align-items: center; padding: 14px 16px; border-radius: 14px; border: 2px dashed var(--line); }
.code-box span { font-size: 13px; color: var(--muted); grid-column: 1; }
.code-box b { grid-column: 1; font: 700 26px/1 var(--head); letter-spacing: .14em; }
.code-box small { grid-column: 2; grid-row: 1 / 3; font-size: 13px; color: var(--muted); }
.lv-hist summary { cursor: pointer; font-size: 14px; font-weight: 600; color: var(--link); }
.lv-hist ul { margin: 8px 0 0; padding-left: 18px; font-size: 14px; display: grid; gap: 4px; }
.lvmini { font: 700 11px/1 var(--body); padding: 3px 6px; border-radius: 6px; background: var(--lime); color: #1d2a00; }
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.tile { background: var(--soft); border-radius: 14px; padding: 12px; }
.tile span { display: block; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.tile b { display: block; font: 700 24px/1.2 var(--head); }
.tile small { font-size: 12px; color: var(--muted); }
.form-row { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin: 0; }
.f { width: 22px; height: 22px; border-radius: 6px; display: inline-grid; place-items: center; font: 700 11px/1 var(--body); font-style: normal; }
.f.w { background: var(--ok-soft); color: var(--ok); }
.f.l { background: #fee2e2; color: #b91c1c; }
.tor-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.tor-list li { display: grid; grid-template-columns: 36px 1fr auto; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.tor-list .medal { font-size: 22px; text-align: center; }
.tor-list a { text-decoration: none; display: grid; min-width: 0; }
.tor-list small { color: var(--muted); font-size: 13px; }
.tor-list .res { font-size: 13px; font-weight: 600; text-align: right; }
.tor-list li.m0 { background: color-mix(in srgb, var(--lime) 35%, var(--soft)); }

/* Escuela in the profile */
.my-cls, .mem { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.my-cls li { display: grid; grid-template-columns: 1fr auto auto; gap: 2px 12px; align-items: center; padding: 10px 12px; border-radius: 14px; background: var(--soft); }
.my-cls b, .my-cls small { grid-column: 1; }
.my-cls small { color: var(--muted); font-size: 13px; }
.my-cls .cl-state { grid-column: 2; grid-row: 1 / 3; }
.my-cls .linkbtn { grid-column: 3; grid-row: 1 / 3; }
.cl-state { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--muted); white-space: nowrap; }
.cl-state.in { background: var(--ok-soft); color: var(--ok); }
.cl-state.pending { background: #fef3c7; color: #92400e; }
.grp { border: 1.5px solid var(--line); border-radius: 16px; padding: 14px; display: grid; gap: 8px; }
.grp.off { opacity: .65; }
.grp-head { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.grp-head small { display: block; color: var(--muted); font-size: 13px; }
.grp-btns { display: flex; gap: 12px; }
.linkbtn.bad { color: var(--err); }
.sub-h { margin: 4px 0 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mem li { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
.mem li b { margin-right: auto; }
.btn.xs { height: 32px; padding: 0 12px; font-size: 13px; border-radius: 8px; }
.cls-form { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.cls-form label { font-size: 13px; font-weight: 600; }
.cls-form label span { font-weight: 400; color: var(--muted); }
.cls-form input, .cls-form select { display: block; width: 100%; margin-top: 4px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: 15px var(--body); }
.cls-form .full { grid-column: 1 / -1; }
.row-btns { display: flex; gap: 8px; }
.new-grp summary { list-style: none; width: fit-content; }
.new-grp summary::-webkit-details-marker { display: none; }

/* /verificar */
.code-in { font: 700 28px/1 var(--head) !important; letter-spacing: .3em; text-transform: uppercase; text-align: center; }
.who { display: flex; gap: 14px; align-items: center; padding: 12px; border-radius: 14px; background: var(--soft); }
.who div { display: grid; }
.who small { color: var(--muted); font-size: 13px; }
.lvgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.lvpick { position: relative; }
.lvpick input { position: absolute; opacity: 0; }
.lvpick span { display: grid; justify-items: center; padding: 10px 4px; border-radius: 12px; border: 1.5px solid var(--line); font-size: 12px; color: var(--muted); cursor: pointer; }
.lvpick b { font: 700 22px/1.1 var(--head); color: var(--text); }
.lvpick input:checked + span { background: var(--navy); border-color: var(--navy); color: rgba(255,255,255,.85); }
.lvpick input:checked + span b { color: var(--lime); }
.lvpick input:focus-visible + span { outline: 2px solid var(--link); outline-offset: 2px; }
.reg { max-width: 640px; padding-top: 32px; padding-bottom: 56px; }
.reg h1 { font: 700 clamp(28px, 4vw, 40px)/1.1 var(--head); margin: 0 0 10px; }
.reg .lead { color: var(--muted); opacity: 1; margin-bottom: 20px; }
.reg .card-f input:not([type=radio]), .reg .card-f select { display: block; width: 100%; margin-top: 6px; height: 50px; padding: 0 14px; border-radius: 12px; border: 1.5px solid var(--line); background: var(--bg); color: var(--text); font: 16px var(--body); }

/* /escuela */
.filters.static { margin-top: -40px; }
.cls-list { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 20px; }
.cls { display: flex; gap: 16px; background: var(--surface); border-radius: 22px; padding: 18px; }
.cls-when { display: grid; justify-items: center; align-content: start; min-width: 64px; padding: 10px 8px; border-radius: 16px; background: var(--navy); color: #fff; }
.cls-when b { font: 700 13px/1 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--lime); }
.cls-when span { font: 700 20px/1.3 var(--head); }
.cls-when small { font-size: 11px; color: rgba(255,255,255,.75); }
.cls-body { display: grid; gap: 6px; flex: 1; min-width: 0; }
.cls-body h3 { margin: 0; font: 600 19px/1.2 var(--head); }
.cls-body .meta { margin: 0; }
.cls-coach { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14px; text-decoration: none; color: var(--link); width: fit-content; }
.ph.mini { width: 28px; height: 28px; border-radius: 8px; font-size: 13px; }
.cls-notes { margin: 0; font-size: 14px; color: var(--muted); }
.cls-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 6px; flex-wrap: wrap; }
.spots { font-size: 13px; font-weight: 600; color: var(--ok); }
.spots.full { color: var(--err); }
.cls-mini { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14px; }
.cls-mini li { display: flex; gap: 8px; flex-wrap: wrap; align-items: baseline; }
.cls-mini .spots { margin-left: auto; }
.more-link { display: inline-block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--link); text-decoration: none; }

@media (max-width: 960px) { .cls-list { grid-template-columns: 1fr; } }
@media (max-width: 760px) {
  .tiles { grid-template-columns: 1fr 1fr; }
  .lvgrid { gap: 6px; }
  .code-box { grid-template-columns: 1fr; }
  .code-box small { grid-column: 1; grid-row: auto; }
  .cls { padding: 14px; gap: 12px; }
  .cls-when { min-width: 56px; }
}
.cls-school { margin: 0; font: 700 12px/1 var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--link); }

/* ====== /escuela — rewritten 2026-11-19 with Joao: Padel Hub's look (pz theme tokens: teal --navy/--link,
   white cards on #f6f7f5), no orange, compact header, a week strip and one level menu. ====== */
.pz .esc { max-width: 1000px; padding-top: 18px; padding-bottom: 56px; }
.pi { width: 1.1em; height: 1.1em; display: inline-block; vertical-align: -.2em; flex: none; }

.esc-head h1 { margin: 0 0 4px; font: 700 26px/1.15 var(--head); letter-spacing: -.015em; text-wrap: balance; }
.esc-head p { margin: 0; max-width: 60ch; color: var(--muted); font-size: 15px; line-height: 1.45; text-wrap: pretty; }

/* week strip: one box per day, with how many groups it has */
.esc-week { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; margin: 18px 0 0; }
.wk-d { display: grid; justify-items: center; gap: 2px; padding: 9px 0 8px; border-radius: 12px; text-decoration: none;
  background: var(--surface); border: 1px solid var(--line); color: var(--text);
  transition: background-color .15s ease-out, border-color .15s ease-out, color .15s ease-out; }
.wk-d b { font: 600 13px/1 var(--body); color: var(--muted); }
.wk-d span { font: 700 18px/1.1 var(--head); font-variant-numeric: tabular-nums; color: var(--link); }
.wk-d.none span { color: var(--line); font-weight: 600; }
.wk-d:hover { border-color: var(--link); }
.wk-d.on { background: var(--link); border-color: var(--link); }
.wk-d.on b, .wk-d.on span { color: var(--surface); }
.wk-d:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

.esc-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 12px 0 0; }
.esc-count { margin: 0; font-size: 14px; color: var(--muted); }
.esc-count a { color: var(--link); font-weight: 600; text-underline-offset: 3px; }
.esc-level { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.esc-level .sel { position: relative; display: inline-flex; align-items: center; }
.esc-level select { appearance: none; -webkit-appearance: none; height: 38px; padding: 0 34px 0 12px; border-radius: 10px;
  border: 1px solid var(--line); background: var(--surface); color: var(--text); font: 600 14px var(--body); cursor: pointer; }
.esc-level select:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.esc-level .sel .pi { position: absolute; right: 11px; pointer-events: none; color: var(--muted); }

/* a school */
.esc-school { margin-top: 26px; }
.esc-school > header { margin-bottom: 10px; }
.esc-school h2 { margin: 0; font: 700 20px/1.2 var(--head); letter-spacing: -.01em; }
.esc-school header p { margin: 2px 0 0; font-size: 13px; color: var(--muted); }
.esc-info { display: grid; gap: 10px; margin-bottom: 14px; }
.esc-fees { width: 100%; max-width: 440px; border-collapse: separate; border-spacing: 0; background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; overflow: hidden; font-size: 14px; }
.esc-fees th, .esc-fees td { padding: 8px 12px; text-align: left; }
.esc-fees thead th { font-size: 12px; font-weight: 600; color: var(--muted); border-bottom: 1px solid var(--line); }
.esc-fees tbody th { font-weight: 500; }
.esc-fees td { font-weight: 700; font-variant-numeric: tabular-nums; }
.esc-fees tbody tr + tr > * { border-top: 1px solid var(--line); }
.esc-private { margin: 0; font-size: 14px; color: var(--muted); }
.esc-private b { color: var(--text); }
.esc-rules { background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.esc-rules summary { list-style: none; display: flex; align-items: center; gap: 8px; padding: 11px 14px; cursor: pointer; font-weight: 600; font-size: 14px; }
.esc-rules summary::-webkit-details-marker { display: none; }
.esc-rules summary .pi { color: var(--link); }
.esc-rules summary .chev { margin-left: auto; color: var(--muted); transition: transform .2s ease-out; }
.esc-rules[open] summary .chev { transform: rotate(180deg); }
.esc-rules ul { margin: 0; padding: 0 14px 12px 32px; display: grid; gap: 6px; font-size: 14px; }
.esc-priv summary { list-style: none; }
.esc-priv summary::-webkit-details-marker { display: none; }
.esc-priv-f { display: flex; gap: 8px; align-items: flex-end; flex-wrap: wrap; margin-top: 8px; padding: 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); }
.esc-priv-f label { display: grid; gap: 4px; font-size: 12px; font-weight: 600; }
.esc-priv-f .grow { flex: 1 1 200px; }
.esc-priv-f input, .esc-priv-f select { height: 40px; padding: 0 10px; border-radius: 10px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 15px var(--body); }
.esc-sent { margin: 8px 0 0; font-weight: 600; color: var(--ok); }

/* a group */
.esc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.esc-card { display: grid; gap: 6px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 14px 12px;
  transition: border-color .15s ease-out, box-shadow .2s ease-out; }
.esc-card:hover { border-color: color-mix(in srgb, var(--link) 35%, var(--line)); box-shadow: 0 8px 20px -14px rgba(8, 54, 80, .35); }
.esc-when { margin: 0; display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; }
.esc-when .pi { color: var(--link); }
.esc-when b { color: var(--text); font-weight: 700; }
.esc-card h3 { margin: 0; font: 700 18px/1.25 var(--head); letter-spacing: -.01em; }
.esc-facts { margin: 0; font-size: 13px; color: var(--muted); display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; }
.esc-facts b { color: var(--text); font-variant-numeric: tabular-nums; }
.esc-lv { display: inline-block; font: 600 12px/1 var(--body); padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--link); }
.esc-coach { display: inline-flex; align-items: center; gap: 8px; width: fit-content; font-weight: 600; font-size: 14px; color: var(--text); text-decoration: none; }
a.esc-coach:hover { color: var(--link); }
.esc-coach.none { color: var(--muted); font-weight: 500; }
.esc-face { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; flex: none; }
.esc-face.ini { display: grid; place-items: center; background: var(--accent-soft); color: var(--link); font: 700 12px/1 var(--body); }
.esc-notes { margin: 0; font-size: 13px; color: var(--muted); }
.esc-min { margin: 0; display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--muted); }
.esc-min.ok { color: var(--ok); }
.esc-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 6px; padding-top: 10px; border-top: 1px solid var(--line); }
.esc-dots { display: inline-flex; align-items: center; gap: 4px; }
.esc-dots i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--link) 45%, var(--line)); }
.esc-dots i.on { background: var(--link); border-color: var(--link); }
.esc-dots em { font-style: normal; font-size: 13px; font-weight: 600; color: var(--text); margin-left: 6px; }
.esc-card.full .esc-dots em { color: var(--muted); }
.cl-state .pi { margin-right: 4px; vertical-align: -.22em; }

.esc-go { display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 38px; padding: 0 16px; border-radius: 10px;
  border: 1px solid var(--link); background: var(--link); color: var(--surface); font: 600 14px/1 var(--body); text-decoration: none;
  cursor: pointer; white-space: nowrap; transition: transform .12s ease-out, filter .15s ease-out; }
.esc-go:hover { filter: brightness(1.08); }
.esc-go:active { transform: scale(.97); }
.esc-go:disabled { opacity: .55; cursor: wait; }
.esc-go:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.esc-go.ghost { background: var(--surface); color: var(--link); border-color: var(--line); }
.esc-go.ghost:hover { border-color: var(--link); filter: none; }

.esc-empty { margin-top: 22px; display: grid; gap: 4px; justify-items: center; text-align: center; padding: 32px 20px; border-radius: 14px;
  background: var(--surface); border: 1px dashed var(--line); color: var(--muted); font-size: 14px; }
.esc-empty .pi { width: 28px; height: 28px; color: var(--link); margin-bottom: 4px; }
.esc-empty b { color: var(--text); font-size: 15px; }
.esc-empty a { color: var(--link); font-weight: 600; margin-top: 6px; }
.esc-join { margin-top: 30px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 16px 18px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line); }
.esc-join .pi.big { width: 32px; height: 32px; color: var(--link); }
.esc-join div { flex: 1 1 200px; display: grid; gap: 2px; }
.esc-join b { font: 700 16px/1.2 var(--head); }
.esc-join span { font-size: 14px; color: var(--muted); }

/* the landing (2026-11-19, «tiles»): how do you want to train? */
.esc-switch { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 0 12px; }
.esc-switch a { flex: none; padding: 7px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface);
  color: var(--text); font-size: 13px; font-weight: 600; text-decoration: none; }
.esc-switch a[aria-current] { background: var(--link); border-color: var(--link); color: var(--surface); }
.esc-q { margin: 22px 0 10px; font: 600 16px/1.3 var(--body); letter-spacing: 0; }
.esc-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tl { display: flex; flex-direction: column; gap: 6px; min-height: 136px; padding: 14px; border-radius: 16px; text-decoration: none; color: var(--text);
  background: var(--surface); border: 1px solid var(--line); transition: border-color .15s ease-out, background-color .15s ease-out, box-shadow .15s ease-out; }
.tl:hover { border-color: color-mix(in srgb, var(--link) 45%, var(--line)); }
.tl.on { background: color-mix(in srgb, var(--link) 9%, var(--surface)); border-color: var(--link); box-shadow: inset 0 0 0 1px var(--link); }
.tl:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }
.tl > b { font: 700 17px/1.2 var(--head); letter-spacing: -.01em; }
.tl-who { display: flex; gap: 4px; }
.tl-who i { width: 12px; height: 12px; border-radius: 50%; border: 1.5px solid color-mix(in srgb, var(--link) 40%, var(--line)); }
.tl-who i.on { background: var(--link); border-color: var(--link); }
.tl-pr { margin-top: auto; font: 700 25px/1 var(--head); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.tl-pr small { margin-left: 3px; font: 500 13px var(--body); letter-spacing: 0; color: var(--muted); }
.tl-pr.ask { font-size: 17px; color: var(--muted); }
.tl-sub { font-size: 12.5px; line-height: 1.35; color: var(--muted); min-height: 1.35em; }   /* every subline fits one line at 390px */
.esc-tiles + .esc-week, .esc-tiles + .esc-own { margin-top: 18px; }
.esc-own { margin-top: 18px; display: grid; gap: 10px; padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.esc-own h2 { margin: 0; font: 700 19px/1.25 var(--head); letter-spacing: -.01em; }
.esc-own p { margin: 0; color: var(--muted); font-size: 15px; }
.esc-own p b { color: var(--text); }
.esc-own .esc-priv-f { margin: 0; padding: 0; border: 0; background: none; }
.esc-own .esc-go { height: 44px; }
.esc-grid { margin-top: 10px; }
.esc-kids { margin-top: 28px; }
.esc-kids h2 { margin: 0; font: 700 19px/1.2 var(--head); letter-spacing: -.01em; }
.esc-kids > p { margin: 2px 0 0; font-size: 14px; color: var(--muted); }
.esc-kids > p b { color: var(--text); }
.esc-more { margin-top: 28px; display: grid; gap: 10px; }
.esc-rules .esc-fees { margin: 0 14px 10px; width: calc(100% - 28px); }
.esc-rules .esc-private { margin: 0 14px 12px; }
@media (max-width: 760px) {
  .esc-tiles { grid-template-columns: 1fr 1fr; }
  .tl { min-height: 128px; }
}

/* «El cristal» banner (2026-11-19): a padel court's back wall: teal glass, wire mesh, one sheen. Full-bleed
   on phones, a rounded panel on wider screens; with a school, the type tiles overlap its bottom edge. */
.esc-glass { position: relative; overflow: hidden; margin: 0 -16px; padding: 26px 20px 26px; color: #fff; isolation: isolate; }   /* colour: the identity block below */
.esc-glass::before { content: ""; position: absolute; z-index: -1; inset: -20% auto -20% -40%; width: 38%; transform: skewX(-18deg);
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.13), transparent);
  animation: esc-sheen 1.6s cubic-bezier(.22, 1, .36, 1) .3s both; }
@keyframes esc-sheen { from { left: -40%; } to { left: 115%; } }
.esc-glass.over { padding-bottom: 112px; }
.esc-glass h1 { margin: 0; max-width: 15ch; font: 700 34px/1.04 var(--head); letter-spacing: -.025em; text-wrap: balance; }
.esc-glass p { margin: 12px 0 0; max-width: 46ch; font-size: 15px; line-height: 1.45; color: #fff; opacity: .92; }
.esc-glass p b { font-weight: 600; }
.esc-glass .esc-q { margin: 22px 0 0; color: #fff; }
.esc-glass .esc-switch { margin-bottom: 16px; }
.esc-glass .esc-switch a { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; }
.esc-glass .esc-switch a[aria-current] { background: #fff; border-color: #fff; color: var(--slate-deep); }
.esc-tiles.over { position: relative; z-index: 1; margin-top: -96px; }
@media (min-width: 761px) {
  .esc-glass { margin: 18px 0 0; padding: 40px 40px 40px; border-radius: 20px; }
  .esc-glass.over { padding-bottom: 104px; }
  .esc-glass h1 { font-size: 46px; max-width: 18ch; }
  .esc-glass p { font-size: 15px; }
  .esc-tiles.over { margin: -76px 20px 0; }
}
@media (prefers-reduced-motion: reduce) { .esc-glass::before { animation: none; display: none; } }
.pz .esc { padding-top: 0; }
.esc-glass + .esc-tiles:not(.over), .esc-glass + .esc-week { margin-top: 18px; }

/* shared with /gestion (gestion.py, gestion.js) */
.esc-kick { margin: 0 0 8px; font: 600 13px/1 var(--body); color: var(--muted); }

@media (max-width: 760px) {
  .esc-grid { grid-template-columns: 1fr; }
  .esc-head h1 { font-size: 24px; }
  .wk-d { padding: 8px 0 7px; border-radius: 10px; }
  .esc-join .esc-go { width: 100%; }
}

/* «Pedir plaza» box */
.esc-dlg { border: 0; padding: 0; border-radius: 18px; width: min(420px, calc(100vw - 32px)); background: var(--surface); color: var(--text);
  box-shadow: 0 24px 60px -24px rgba(8, 54, 80, .45); }
.esc-dlg::backdrop { background: rgba(16, 20, 19, .45); }
.esc-dlg[open] { animation: dlg-in .2s cubic-bezier(.22, 1, .36, 1); }
@keyframes dlg-in { from { opacity: 0; transform: translateY(12px); } }
.esc-dlg form { display: grid; gap: 12px; padding: 20px; }
.esc-dlg h2 { margin: 0; font: 700 19px/1.25 var(--head); }
.esc-dlg label { display: grid; gap: 5px; font-size: 13px; font-weight: 600; }
.esc-dlg input { height: 46px; padding: 0 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg); color: var(--text); font: 16px var(--body); }
.esc-dlg input:focus { outline: none; border-color: var(--link); box-shadow: 0 0 0 3px color-mix(in srgb, var(--link) 22%, transparent); }
.esc-small { margin: 0; font-size: 13px; color: var(--muted); }
.esc-err { margin: 0; color: var(--err, #b42318); font-size: 13px; font-weight: 600; }
.esc-dlg-btns { display: flex; justify-content: flex-end; gap: 8px; }
.esc-dlg-btns .esc-go { height: 42px; }
.esc ::selection { background: var(--accent-soft); color: var(--text); }
.esc input, .esc select, .esc-dlg input { accent-color: var(--link); caret-color: var(--link); }
.esc-priv-f .esc-err { flex-basis: 100%; }
.esc-empty span a { color: var(--link); font-weight: 600; margin: 0; }
@media (prefers-reduced-motion: reduce) { .esc-dlg[open] { animation: none; } .esc-card, .wk-d, .esc-go { transition: none; } }

/* ====== «Ola» identity (2026-11-19, the user's pick of three blues; evolves «Cantábrico»: same roles, sea blue) ======
   Cerulean between blue and green (clearly blue) for the glass and every choice, ball-yellow only for the action,
   the blue floods the top of the page and fades into sea mist; the mesh drifts like water; counts tick up.
   (Below: the earlier «Cantábrico» notes; the token values are now Ola's.) */
/* ====== «Cantábrico» identity (Impeccable direction round 2026-11-19, the user's pick) ======
   The Asturian coast: sea-slate glass for the banner, moss green for everything you tap, one lighthouse
   red for the action («Pedir plaza», «Enviar»), mist ground; Unbounded for headings and numbers, Hanken
   Grotesk for text. Scoped to /escuela (and its dialog) until the rest of the family moves over. */
.esc, .esc-dlg, .ola {
  --bg: #e3eff6; --surface: #ffffff; --soft: #eef5f9; --text: #0b1d29; --muted: #3f5869; --line: #cddde8;
  --navy: #0f6e9e; --link: #0f6e9e; --accent-soft: #d4e9f5; --ok: #0f6e9e; --ok-soft: #d4e9f5;
  --hot: #ffd43b; --hot-ink: #241a00; --slate: #0e5a85; --slate-deep: #083650; --glint: #4fb3d9; --err: #b42318;
  --head: "Unbounded", "Hanken Grotesk", system-ui, sans-serif; --body: "Hanken Grotesk", system-ui, sans-serif;
  font-family: var(--body); color: var(--text);
}
@media (prefers-color-scheme: dark) {
  .esc, .esc-dlg, .ola {
    --bg: #0a1720; --surface: #11212c; --soft: #162a37; --text: #e3eef5; --muted: #9bb3c2; --line: #213847;
    --navy: #6cc0e8; --link: #6cc0e8; --accent-soft: #12324a; --ok: #6cc0e8; --ok-soft: #12324a;
    --hot: #ffd43b; --hot-ink: #241a00; --slate: #0d4a6e; --slate-deep: #06263a; --glint: #4fb3d9; --err: #f2a097;
  }
}
/* the flood: on phones the banner's blue keeps going behind the tiles and fades into sea mist */
body.pz:has(main.esc), body:has(.ola) { background: #e3eff6; }
@media (min-width: 761px) { body.pz:has(main.esc), body:has(.ola) { background: #e3eff6 linear-gradient(180deg, #cfe6f3 0, #e3eff6 560px) no-repeat; } }
@media (prefers-color-scheme: dark) {
  body.pz:has(main.esc), body:has(.ola) { background: #0a1720; }
  @media (min-width: 761px) { body.pz:has(main.esc), body:has(.ola) { background: #0a1720 linear-gradient(180deg, #0c2638 0, #0a1720 560px) no-repeat; } }
}
/* phones: the flood starts at the glass's bottom edge (wherever that is) and fades into mist behind the tiles,
   so the blue always ends below the banner's white text */
@media (max-width: 760px) {
  .esc-tiles.over::before { content: ""; position: absolute; z-index: -1; left: -16px; right: -16px; top: 84px; height: 300px;
    background: linear-gradient(180deg, var(--slate-deep) 0, #2f7fa9 35%, #a9d2e8 68%, transparent 100%); }
}
@media (max-width: 760px) and (prefers-color-scheme: dark) {
  .esc-tiles.over::before { background: linear-gradient(180deg, var(--slate-deep) 0, #0b3047 45%, transparent 100%); }
}
.esc h1, .esc h2, .esc h3, .esc-dlg h2, .ola h1, .ola h2, .ola h3 { font-family: var(--head); }
/* the banner: sea-slate glass, same mesh and sheen */
.esc-glass { background:
    repeating-linear-gradient(45deg, rgba(255,255,255,.09) 0 1.5px, transparent 1.5px 16px),
    repeating-linear-gradient(-45deg, rgba(255,255,255,.09) 0 1.5px, transparent 1.5px 16px),
    linear-gradient(180deg, var(--slate) 0%, var(--slate-deep) 100%);
  animation: esc-drift 2.4s cubic-bezier(.16, 1, .3, 1) .2s 1 both; }
/* arrival wave: the mesh slides in like a wave once (the two layers against each other), with the sheen */
@keyframes esc-drift { from { background-position: -48px -6px, 48px -6px, 0 0; } to { background-position: 0 0, 0 0, 0 0; } }
@media (prefers-reduced-motion: reduce) { .esc-glass { animation: none; } }
.esc-glass h1 { font-weight: 800; letter-spacing: -.02em; font-size: 31px; line-height: 1.08; max-width: 13ch; }
.esc-glass p { color: #d9ecf7; opacity: 1; }
.esc-glass .esc-q { font-family: var(--body); font-weight: 700; }
@media (min-width: 761px) { .esc-glass h1 { font-size: 42px; max-width: 16ch; } }
/* Unbounded carries the numbers: prices, counts, the week */
.tl > b, .tl-pr, .wk-d span, .esc-card h3, .esc-school h2, .esc-kids h2, .esc-own h2, .esc-join b { font-family: var(--head); }
.tl > b { font-weight: 700; font-size: 16px; letter-spacing: -.01em; }
.tl-pr { font-weight: 800; letter-spacing: -.02em; }
.tl-pr small, .esc-count, .esc-level, .esc-level select { font-family: var(--body); }
.esc-card h3 { font-weight: 700; font-size: 17px; }
.tl.on { background: var(--accent-soft); }
.tl:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; }
/* the one hot colour: the action */
.esc .esc-go:not(.ghost), .esc-dlg .esc-go:not(.ghost) { background: var(--hot); border-color: var(--hot); color: var(--hot-ink); }
.esc .esc-go:not(.ghost):hover, .esc-dlg .esc-go:not(.ghost):hover { filter: none; background: #ffc61a; border-color: #ffc61a; box-shadow: inset 0 0 0 1px rgba(36, 26, 0, .35); }
.esc .esc-go:not(.ghost):focus-visible, .esc-dlg .esc-go:not(.ghost):focus-visible { outline-color: var(--link); }   /* yellow is too faint for a focus ring on white */
.esc-tiles.over .tl { box-shadow: 0 14px 26px -18px rgba(8, 54, 80, .6); }
.esc-tiles.over .tl.on, .tl.on { box-shadow: inset 0 0 0 1px var(--link), 0 0 0 4px color-mix(in srgb, var(--glint) 40%, transparent), 0 14px 26px -18px rgba(8, 54, 80, .6); }

/* «Ola» polish: «Pendiente» joins the ball-yellow family instead of the old amber */
.esc .cl-state.pending { background: #fff3c4; color: #4d3a00; }
@media (prefers-color-scheme: dark) { .esc .cl-state.pending { background: #3a3008; color: #ffe27a; } }

/* «Ola» fix: on phones the first «Pedir plaza» sits inside the first screen */
@media (max-width: 760px) {
  .esc-glass p { max-width: none; }
  .esc-glass.over { padding-bottom: 98px; }
  .esc-tiles.over { margin-top: -84px; }
  .tl { min-height: 116px; padding: 12px 14px; gap: 5px; }
  .esc-tiles.over + .esc-week { margin-top: 14px; }
  .esc-bar { margin-top: 8px; }
  .esc-glass { padding-top: 20px; }
  .esc-glass p { margin-top: 8px; }
  .esc-glass .esc-q { margin-top: 14px; }
  .esc-tiles { gap: 8px; }
  .esc-grid { margin-top: 8px; }
}
/* the week strip, the count row and everything after the tiles sit above the flood */
.esc-tiles.over ~ * { position: relative; z-index: 2; }
/* the counts land with the wave (never a false 0): JS adds .tick, the numeral rises into place */
.tick { display: inline-block; opacity: .35; transform: translateY(4px); }
.tick.in { opacity: 1; transform: none; transition: opacity .5s cubic-bezier(.16, 1, .3, 1), transform .5s cubic-bezier(.16, 1, .3, 1); }

/* ====== «Ola» on other pages (Entrenadores; 2026-11-19): wrap the page in .ola ======
   Old brand names map onto Ola: navy → the blue, lime → ball-yellow (actions only), cyan → glint. */
.ola { --navy: var(--link); --lime: var(--hot); --cyan: var(--glint); }
.ola .esc-glass { margin-top: 0; }
@media (min-width: 761px) { .ola .esc-glass { margin-top: 18px; } }
.ola .esc-glass .crumb { margin: 0 0 14px; font-size: 14px; }
.ola .esc-glass .crumb a { color: #d9ecf7; text-decoration: none; }
.ola .esc-glass .crumb a:hover { color: #fff; text-decoration: underline; }
.ola .btn.lime { background: var(--hot); color: var(--hot-ink); border-color: var(--hot); }
.ola .btn.lime:hover { background: #ffc61a; }
.ola .btn.navy { background: var(--link); color: #fff; border-color: var(--link); }
@media (prefers-color-scheme: dark) { .ola .btn.navy { color: #06263a; } }
.ola .fchip.on { background: var(--link); border-color: var(--link); color: #fff; }
@media (prefers-color-scheme: dark) { .ola .fchip.on { color: #06263a; } }

/* small blue text on the blue wash (level chips, «Estás dentro»): a deeper blue so 12px passes AA */
.esc .esc-lv, .ola .esc-lv, .esc .cl-state.in { color: #0b5a82; }
@media (prefers-color-scheme: dark) { .esc .esc-lv, .ola .esc-lv, .esc .cl-state.in { color: var(--link); } }

/* Entrenadores profile in the glass banner: avatar + name + one line + the facts */
.ola .p-glass .p-head { display: flex; gap: 16px; align-items: center; }
.ola .p-glass .ph.xl { width: 84px; height: 84px; border-radius: 20px; border: 2px solid rgba(255,255,255,.35); flex: none; }
.ola .p-glass .ph.ini { display: grid; place-items: center; background: rgba(255,255,255,.14); color: #fff; font: 800 34px/1 var(--head); }
.ola .p-glass h1 { font-size: 28px; max-width: none; }
.ola .p-glass .p-id p { margin: 6px 0 0; }
.ola .p-glass .p-facts { font-family: var(--head); font-weight: 700; font-size: 14px; color: #fff; letter-spacing: -.01em; }
.ola .p-glass .state { margin: 0 0 14px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,.12); color: #fff; font-size: 14px; }
.ola .p-glass .state a { color: #fff; font-weight: 700; }
@media (min-width: 761px) { .ola .p-glass h1 { font-size: 38px; } .ola .p-glass .ph.xl { width: 104px; height: 104px; } }
.ola .esc-glass + * { margin-top: 0; }

/* Entrenadores list: the filter card floats over the banner's bottom edge, like the tiles on Escuela */
.ola .esc-glass.over-filters { padding-bottom: 76px; }
.ola .esc-glass.over-filters + * { }
.ola .filters { position: relative; z-index: 1; margin-top: -56px; box-shadow: 0 14px 26px -18px rgba(8, 54, 80, .6); }
@media (min-width: 761px) { .ola .esc-glass.over-filters { padding-bottom: 84px; } .ola .filters { margin: -60px 20px 0; } }
/* profile sections: sentence-case Unbounded headings (no small spaced capitals) */
.ola .blk h2 { font: 700 17px/1.25 var(--head); letter-spacing: -.01em; text-transform: none; color: var(--text); margin: 0 0 10px; }
.ola .club-list li { font: 600 16px/1.3 var(--body); }

/* ====== One column for Escuela, Torneos and Entrenadores (2026-11-20, Joao): Entrenadores' 1120 px ====== */
.pz main.esc:not(.gst) { max-width: 1120px; }

/* ====== Phones: the four links (Padel Hub, Torneos, Escuela, Entrenadores) get their own row under the logo
   instead of disappearing; the page you're on is underlined. Same as torneo.hazit.es. ====== */
/* One look on all four sites (Joao, 2026-11-20): ball-yellow underline and hover, real 600 weight, same smoothing */
.bar-c { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.c-links a:hover, .pz .c-links a:hover { color: #ffd43b; }
.bar-c a:focus-visible, .pz .bar-c a:focus-visible { outline-color: #ffd43b; }
.c-links a[aria-current="page"] { font-weight: 600; box-shadow: inset 0 -2px 0 #ffd43b; padding-bottom: 4px; }
@media (max-width: 760px) {
  .bar-in { flex-wrap: wrap; height: auto; gap: 0 16px; padding-top: 12px; }
  .bar-in .corner { order: 2; }
  .c-links { display: flex; order: 3; width: 100%; gap: 12px; justify-content: space-between; overflow-x: auto; scrollbar-width: none; padding: 12px 0 0; margin-top: 10px;
             border-top: 1px solid rgba(255,255,255,.14); }
  .c-links::-webkit-scrollbar { display: none; }
  .c-links a { white-space: nowrap; padding-bottom: 10px; }
  .c-links a[aria-current="page"] { padding-bottom: 8px; }
}

/* ====== «Marea» (2026-11-22, Joao's pick; evolves «Ola», same blue, fonts and roles) ======
   PC: the deep-blue band runs the full width with the bar; the headline sits left and the four tiles move up
   into the band on the right (no more empty half-banner). Everywhere: the chosen tile is ball-yellow; tiles,
   cards and the action get an ink edge with a short hard shadow (the poster/brutalist references in
   library/inspiration, kept quiet: tiles and the action only). Phones keep Ola's composition. */
body.pz:has(main.esc) .bar-c { background: #0a3550; }
.esc { --ink-edge: #0b1d29; --deep: #0a3550; }
@media (prefers-color-scheme: dark) { .esc { --ink-edge: #000; --deep: #081f2f; } body.pz:has(main.esc) .bar-c { background: #081f2f; } }
.esc .tl { border: 2px solid var(--ink-edge); }
.esc-tiles.over .tl, .esc .tl { box-shadow: 4px 4px 0 var(--ink-edge); transition: transform .15s cubic-bezier(.2, .8, .2, 1), box-shadow .15s cubic-bezier(.2, .8, .2, 1), background-color .15s ease-out; }
.esc .tl:hover { transform: translate(-1px, -1px); box-shadow: 5px 5px 0 var(--ink-edge); border-color: var(--ink-edge); }
.esc .tl:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink-edge); }
.esc-tiles.over .tl.on, .esc .tl.on { background: #ffd43b; color: #241a00; border-color: var(--ink-edge); box-shadow: 4px 4px 0 var(--ink-edge); }
.esc .tl.on .tl-pr small, .esc .tl.on .tl-sub { color: #4a3b00; }
.esc .tl.on .tl-who i { border-color: #241a00; } .esc .tl.on .tl-who i.on { background: #241a00; }
.esc .tl:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; }
.esc .esc-go:not(.ghost), .esc-dlg .esc-go:not(.ghost) { border: 2px solid var(--ink-edge); box-shadow: 3px 3px 0 var(--ink-edge);
  transition: transform .12s ease-out, box-shadow .12s ease-out, background-color .15s ease-out; }
.esc .esc-go:not(.ghost):hover, .esc-dlg .esc-go:not(.ghost):hover { border-color: var(--ink-edge); box-shadow: 3px 3px 0 var(--ink-edge); }
.esc .esc-go:not(.ghost):active, .esc-dlg .esc-go:not(.ghost):active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink-edge); }
.esc-card { border-radius: 16px; }
.esc-card h3 { font-size: 19px; }
.wk-d span { font-size: 19px; }
.wk-d.none span { color: var(--muted); opacity: .5; }
@media (min-width: 900px) {
  body.pz:has(main.esc) { overflow-x: clip; }
  main.esc { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); column-gap: 56px; isolation: isolate; }
  main.esc > * { grid-column: 1 / -1; }
  main.esc::before { content: ""; grid-row: 1; grid-column: 1 / -1; z-index: -1; margin: 0 calc(50% - 50vw) -8px; background: var(--deep); }
  .esc-glass, .esc-glass.over { grid-row: 1; grid-column: 1; align-self: center; margin: 0; padding: 40px 0 56px; background: none; border-radius: 0; animation: none; }
  .esc-glass::before, .esc-glass::after { display: none; }
  .esc-glass h1 { font-size: 60px; line-height: .98; max-width: 9ch; letter-spacing: -.035em; }
  .esc-glass p { font-size: 17px; max-width: 36ch; }
  .esc-glass .esc-q { color: #8fc6e6; font-size: 15px; }
  .esc-tiles.over, .esc-tiles { grid-row: 1; grid-column: 2; align-self: center; margin: 40px 0 56px; grid-template-columns: 1fr 1fr; gap: 16px; }
  .esc-tiles.over::before { display: none; }
  .esc .tl { min-height: 150px; padding: 20px; border-radius: 18px; }
  .esc .tl-pr { font-size: 34px; }
  .esc-tiles + .esc-week, .esc-tiles.over + .esc-week { margin-top: 36px; }
}

/* ====== «Marea» on Entrenadores and coach pages (2026-11-22): the same band, edges and yellow as Escuela ======
   PC: the deep band runs the full width; on the list, the headline sits left and the animated phone
   (#coach-hero, marea-hero.js) stands on the band's foot at the right. Phones keep Ola's composition. */
body:has(.ola) .bar-c { background: #0a3550; }
.ola { --ink-edge: #0b1d29; --deep: #0a3550; }
@media (prefers-color-scheme: dark) { .ola { --ink-edge: #000; --deep: #081f2f; } body:has(.ola) .bar-c { background: #081f2f; } }
.ola .coach { border: 2px solid var(--ink-edge); box-shadow: 4px 4px 0 var(--ink-edge);
  transition: transform .15s cubic-bezier(.2, .8, .2, 1), box-shadow .15s cubic-bezier(.2, .8, .2, 1); }
.ola a.coach:hover { transform: translate(-1px, -1px); border-color: var(--ink-edge); box-shadow: 5px 5px 0 var(--ink-edge); }
.ola a.coach:active { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink-edge); }
.ola .fchip.on { background: #ffd43b; border-color: var(--ink-edge); color: #241a00; box-shadow: 2px 2px 0 var(--ink-edge); }
.ola .filters, .ola .blk { border: 2px solid var(--ink-edge); }
.ola .filters { box-shadow: 4px 4px 0 var(--ink-edge); }
.ola .btn.lime, .ola .btn.navy { border: 2px solid var(--ink-edge); box-shadow: 3px 3px 0 var(--ink-edge); transition: transform .12s ease-out, box-shadow .12s ease-out; }
.ola .btn.lime:active, .ola .btn.navy:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink-edge); }
.mar-stage { display: none; }
@media (min-width: 900px) {
  body:has(.ola) { overflow-x: clip; }
  .ola > .wrap:first-child { position: relative; isolation: isolate; }
  .ola > .wrap:first-child::before { content: ""; position: absolute; z-index: -1; inset: 0 calc(50% - 50vw); background: var(--deep); }
  .ola .esc-glass, .ola .esc-glass.over-filters { margin: 0; padding: 48px 0 56px; background: none; border-radius: 0; animation: none; }
  .ola .esc-glass::before, .ola .esc-glass::after { display: none; }
  .ola .esc-glass h1 { font-size: 56px; line-height: 1; letter-spacing: -.035em; }
  .ola .esc-glass p { font-size: 17px; max-width: 40ch; }
  .mar-band { display: grid; grid-template-columns: minmax(0, 1fr) 440px; column-gap: 56px; }
  .mar-band .esc-glass { align-self: center; }
  .mar-band .esc-glass h1 { max-width: 11ch; }
  .mar-stage { display: block; width: 440px; align-self: end; margin-top: 8px; }
  .ola .mar-band + main .filters { margin-top: 32px; }
}
