/*
 * app.css — Reusable component classes built on the theme tokens.
 *
 * Use these (.app-card, .app-btn-*, .app-badge-*, .app-table) instead of
 * repeating long Tailwind utility chains across templates. Keeps markup
 * readable and styling consistent; restyle once here.
 */

.app-container { max-width: 960px; margin: 0 auto; padding-left: var(--space-4); padding-right: var(--space-4); }

.app-header { background: #fff; border-bottom: 1px solid var(--neutral-300); }
.app-nav-link { margin-left: var(--space-4); color: var(--neutral-700); }
.app-nav-link:hover { color: var(--brand-primary); }

.app-card {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  padding: var(--space-6);
}

/* Buttons */
.app-btn-primary, .app-btn-secondary {
  display: inline-flex; align-items: center; gap: var(--space-2);
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-md); font-weight: 600; font-size: 0.875rem;
  cursor: pointer; transition: background-color 200ms ease, color 200ms ease;
  text-decoration: none;
}
.app-btn-primary { background: var(--brand-accent); color: #fff; border: none; }
.app-btn-primary:hover { background: var(--brand-primary); }
.app-btn-secondary { background: #fff; color: var(--brand-primary); border: 1px solid var(--neutral-300); }
.app-btn-secondary:hover { background: var(--neutral-100); }

/* Badges */
.app-badge {
  display: inline-flex; align-items: center;
  padding: 2px 10px; border-radius: var(--radius-pill);
  font-size: 0.75rem; font-weight: 600;
}
.app-badge-success { background: var(--color-success-bg); color: var(--color-success); }
.app-badge-warning { background: var(--color-warning-bg); color: var(--color-warning); }
.app-badge-danger  { background: var(--color-danger-bg);  color: var(--color-danger); }
.app-badge-info    { background: var(--color-info-bg);    color: var(--color-info); }
.app-badge-gray    { background: var(--neutral-200);      color: var(--neutral-700); }

/* Tables */
.app-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.app-table thead th {
  text-align: left; padding: var(--space-2) var(--space-3);
  border-bottom: 2px solid var(--neutral-300);
  color: var(--neutral-700); font-weight: 600;
}
.app-table tbody td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--neutral-200); }
.app-table tbody tr:hover { background: var(--neutral-50); }

/* ===========================================================================
 * ASGS GolfPass — member-facing components (mobile-first)
 * ======================================================================== */
.tk-shell { max-width: 480px; margin: 0 auto; padding: 0 var(--space-4) 64px; }
h1, h2, h3 { font-family: var(--font-serif); color: var(--brand-primary-dark); letter-spacing: -0.01em; }
.tk-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--brand-accent);
}
.tk-eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand-accent); }
.tk-h { font-size: clamp(28px, 7vw, 34px); line-height: 1.12; margin: 0 0 10px; }
.tk-sub { color: var(--neutral-700); font-size: 17px; line-height: 1.5; margin: 0 0 24px; }

/* Brand header */
.tk-header { background: var(--brand-primary-dark); color: #fff; }
.tk-header .tk-bar { max-width: 480px; margin: 0 auto; display: flex; align-items: center; gap: 12px; padding: 14px var(--space-4); }
.tk-header img { width: 42px; height: 42px; }
.tk-header .tk-bt { font-family: var(--font-serif); font-weight: 600; font-size: 18px; line-height: 1.05; }
.tk-header .tk-bs { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-gold-soft); }
.tk-navright { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.tk-help { display: inline-flex; align-items: center; gap: 6px; color: var(--brand-primary-dark, #0C345A);
  background: var(--brand-accent, #C9A262); font-size: 14.5px; font-weight: 700; padding: 7px 13px;
  border-radius: var(--radius-pill); text-decoration: none; white-space: nowrap; }
.tk-help:hover { filter: brightness(1.06); }
.tk-help svg { flex: none; }
.tk-lang { display: flex; gap: 2px; }
.tk-lang a { color: #9fb0c2; font-size: 15px; font-weight: 600; padding: 8px 12px; border-radius: var(--radius-pill); text-decoration: none; }
.tk-lang a.on { background: var(--brand-accent); color: var(--brand-primary-dark); }

/* Buttons (pill, ASGS) — large touch targets */
.tk-btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; width: 100%;
  font-family: var(--font-sans); font-weight: 600; font-size: 18px; cursor: pointer; min-height: 56px;
  border-radius: var(--radius-pill); padding: 16px 24px; border: 1.5px solid transparent; text-decoration: none; transition: 0.2s; }
.tk-btn-primary { background: var(--brand-primary); color: #fff; }
.tk-btn-primary:hover { background: var(--brand-primary-dark); }
.tk-btn-gold { background: var(--brand-accent); color: var(--brand-primary-dark); }
.tk-btn-gold:hover { background: var(--brand-accent-hover); }
.tk-btn-ghost { background: #fff; border-color: var(--brand-line); color: var(--brand-primary); }

/* Form fields — large, easy to tap/read */
.tk-field { margin-bottom: 18px; }
.tk-field label { display: block; font-size: 15px; font-weight: 600; color: var(--brand-primary); margin-bottom: 7px; }
.tk-field input { width: 100%; font-family: var(--font-sans); font-size: 19px; color: var(--neutral-900);
  border: 1.5px solid var(--brand-line); border-radius: 13px; padding: 15px 16px; background: #fff; }
.tk-field input:focus { outline: 0; border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(12,52,90,0.10); }
.tk-field .tk-hint { font-size: 13.5px; color: var(--neutral-500); margin-top: 6px; }
.tk-row2 { display: flex; gap: 11px; }
.tk-id2 { display: flex; align-items: center; border: 1.5px solid var(--brand-line); border-radius: 13px; background: #fff; padding: 0 14px; }
.tk-id2:focus-within { border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(12,52,90,0.10); }
.tk-id2 .pre { color: #c2cad3; font-size: 20px; letter-spacing: 0.22em; user-select: none; font-weight: 600; }
.tk-id2 input { border: 0 !important; box-shadow: none !important; outline: 0 !important; padding: 15px 0 15px 8px; flex: 1; min-width: 0; font-size: 20px; letter-spacing: 0.18em; font-weight: 600; }
.tk-error { background: var(--color-danger-bg); color: var(--color-danger); border-radius: 12px; padding: 13px 16px; font-size: 15.5px; line-height: 1.45; margin-bottom: 18px; }
.tk-ok { background: var(--color-success-bg); color: var(--color-success); border-radius: 12px; padding: 13px 16px; font-size: 15.5px; line-height: 1.45; margin-bottom: 18px; }
.tk-flash { background: var(--brand-cream, #F7F3EA); border: 1px solid var(--brand-accent, #C9A262); color: var(--brand-primary-dark, #0C345A);
  border-radius: 12px; padding: 13px 16px; font-size: 14.5px; line-height: 1.5; margin-bottom: 18px; word-break: break-word; }
.tk-note { display: flex; gap: 10px; align-items: flex-start; background: #fff; border: 1px solid var(--brand-line);
  border-radius: 12px; padding: 13px 15px; font-size: 14.5px; color: var(--neutral-700); line-height: 1.5; }

.tk-link-card { display: flex; gap: 12px; align-items: center; background: var(--brand-cream, #F7F3EA);
  border: 1px solid var(--brand-line); border-radius: 12px; padding: 14px 15px; text-decoration: none;
  color: var(--brand-navy, #0C345A); transition: background .15s, border-color .15s; }
.tk-link-card:hover { background: #fff; border-color: var(--brand-gold, #C9A262); }
.tk-link-card .t { font-size: 14.5px; line-height: 1.45; color: var(--neutral-700); }
.tk-link-card .t strong { color: var(--brand-navy, #0C345A); }

/* Digital pass */
.tk-pass { position: relative; border-radius: 22px; padding: 24px; color: #fff; overflow: hidden;
  background: radial-gradient(120% 90% at 100% 0%, rgba(201,161,97,0.45), transparent 55%), linear-gradient(160deg, #163559, #0b2740 60%, #0a1f33);
  box-shadow: var(--shadow-card); }
.tk-pass .ph { display: flex; justify-content: space-between; align-items: flex-start; }
.tk-pass .badge { width: 48px; height: 48px; }
.tk-pass .season { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brand-gold-soft); text-align: right; font-weight: 600; }
.tk-pass .ptitle { font-family: var(--font-serif); font-size: 14px; color: var(--brand-gold-soft); text-align: right; }
.tk-pass .pname { font-family: var(--font-serif); font-size: 28px; font-weight: 600; margin: 18px 0 2px; }
.tk-pass .pid { font-size: 15px; color: #cdd9e6; }
.tk-pass .pqr { background: #fff; border-radius: 16px; padding: 12px; width: 168px; height: 168px; margin: 18px auto 6px; display: grid; place-items: center; }
.tk-pass .pqr svg, .tk-pass .pqr canvas { width: 144px; height: 144px; }
.tk-pass .pscan { text-align: center; font-size: 13px; color: #cdd9e6; }

/* Club list rows */
.tk-search { position: relative; margin-bottom: 10px; }
.tk-search input { width: 100%; font-size: 18px; border: 1.5px solid var(--brand-line); border-radius: 13px; padding: 15px 16px 15px 46px; background: #fff; }
.tk-search input:focus { outline: 0; border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(12,52,90,0.10); }
.tk-search svg { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); }
.tk-club { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: #fff;
  border: 1.5px solid var(--brand-line); border-radius: 14px; padding: 16px 16px; margin-bottom: 10px; min-height: 60px; cursor: pointer; text-decoration: none; transition: 0.15s; }
.tk-club:hover { border-color: var(--brand-accent); box-shadow: var(--shadow-card); }
.tk-club .cname { font-weight: 600; color: var(--brand-primary-dark); flex: 1; font-size: 17px; }
.tk-club .ccond { font-size: 14.5px; color: var(--neutral-500); white-space: nowrap; }
.tk-pill { display: inline-flex; align-items: center; font-size: 14px; font-weight: 600; border-radius: var(--radius-pill); padding: 6px 13px; white-space: nowrap; }
.tk-pill.free { background: var(--color-success-bg); color: var(--color-success); }
.tk-pill.one  { background: #eaf0f7; color: var(--brand-primary); }
.tk-pill.last { background: var(--color-warning-bg); color: var(--color-warning); }

/* Claim / redeem */
.tk-claim { background: #fff; border: 1px solid var(--brand-line); border-radius: 18px; padding: 24px; box-shadow: var(--shadow-card); }
.tk-claim .club { font-family: var(--font-serif); font-size: 25px; font-weight: 600; color: var(--brand-primary-dark); }
.tk-claim .cond { display: flex; align-items: center; gap: 9px; margin-top: 10px; color: var(--brand-primary); font-weight: 600; font-size: 17px; }
.tk-claim .cond .tag { background: var(--brand-accent); color: var(--brand-primary-dark); border-radius: 7px; padding: 3px 10px; font-size: 15px; }
.tk-meter { display: flex; gap: 7px; margin: 20px 0 8px; }
.tk-pip { flex: 1; height: 11px; border-radius: 6px; background: var(--brand-line); }
.tk-pip.used { background: var(--brand-primary); }
.tk-pip.free { background: var(--color-success); }
.tk-meter-label { font-size: 15px; color: var(--neutral-500); }
.tk-meter-label b { color: var(--brand-primary-dark); }
.tk-condlist { margin: 18px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--neutral-700); }
.tk-condlist li { display: flex; gap: 9px; align-items: center; padding: 5px 0; }

/* Confirmation */
.tk-confirm { text-align: center; padding-top: 6px; }
.tk-check { width: 92px; height: 92px; border-radius: 50%; background: var(--color-success-bg); margin: 6px auto 16px; display: grid; place-items: center;
  animation: tkpop .5s cubic-bezier(.2,.9,.3,1.3) both; }
.tk-check svg { width: 48px; height: 48px; }
.tk-check .path { stroke-dasharray: 60; stroke-dashoffset: 60; animation: tkdraw .5s .25s ease forwards; }
@keyframes tkdraw { to { stroke-dashoffset: 0; } }
@keyframes tkpop { from { transform: scale(.6); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.tk-receipt { text-align: left; background: #fff; border: 1px solid var(--brand-line); border-radius: 16px; margin-top: 20px; overflow: hidden; }
.tk-receipt .r { display: flex; justify-content: space-between; gap: 14px; padding: 14px 16px; border-bottom: 1px dashed var(--brand-line); font-size: 16px; }
.tk-receipt .r:last-child { border-bottom: 0; }
.tk-receipt .r span { color: var(--neutral-500); }
.tk-receipt .r b { color: var(--brand-primary-dark); text-align: right; }
.tk-vcode { margin-top: 18px; background: var(--brand-primary-dark); color: #fff; border-radius: 14px; padding: 16px; text-align: center; }
.tk-vcode .vl { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--brand-gold-soft); }
.tk-vcode .vv { font-family: var(--font-serif); font-size: 30px; font-weight: 700; letter-spacing: .22em; margin-top: 3px; }

/* Club dashboard */
.tk-kpis { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 4px 0 22px; }
.tk-kpi { background: #fff; border: 1px solid var(--brand-line); border-radius: 14px; padding: 14px 16px; }
.tk-kpi .kv { font-family: var(--font-serif); font-size: 26px; font-weight: 700; color: var(--brand-primary-dark); }
.tk-kpi .kl { font-size: 13px; color: var(--neutral-500); margin-top: 2px; }
.tk-livehead { display: flex; align-items: center; gap: 9px; margin: 4px 0 12px; font-family: var(--font-serif); font-size: 19px; color: var(--brand-primary-dark); }
.tk-livedot { width: 9px; height: 9px; border-radius: 50%; background: var(--color-success); box-shadow: 0 0 0 0 rgba(21,128,61,.5); animation: tkpulse 1.8s infinite; }
@keyframes tkpulse { 0% { box-shadow: 0 0 0 0 rgba(21,128,61,.45); } 70% { box-shadow: 0 0 0 9px rgba(21,128,61,0); } 100% { box-shadow: 0 0 0 0 rgba(21,128,61,0); } }
.tk-checkrow { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--brand-line); border-radius: 12px; padding: 13px 15px; margin-bottom: 9px; }
.tk-checkrow .ct { font-weight: 600; color: var(--neutral-700); width: 52px; font-variant-numeric: tabular-nums; }
.tk-checkrow .cn { flex: 1; font-weight: 600; color: var(--brand-primary-dark); font-size: 16px; }
.tk-checkrow code { font-size: 14px; color: var(--neutral-500); }
.tk-ro { font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: #9fb0c2; border: 1px solid #34506e; border-radius: var(--radius-pill); padding: 5px 12px; }

/* ===========================================================================
 * Printable credit-card view (ID-1, 85.6 × 54 mm) — for the club to scan.
 * On screen it is hidden; printing shows ONLY this card.
 * ======================================================================== */
.tk-print { display: none; }
.tk-card {
  width: 85.6mm; height: 54mm; box-sizing: border-box; padding: 5mm;
  display: flex; gap: 4mm; background: #fff; color: var(--brand-primary-dark);
  border: 0.4mm solid var(--brand-accent); border-radius: 3mm;
}
.tk-card .left { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.tk-card .brandrow { display: flex; align-items: center; }
.tk-card .brandrow img { width: 10mm; height: 10mm; }
.tk-card .t { font-family: var(--font-serif); font-weight: 700; font-size: 3.6mm; line-height: 1.05; margin-top: 1.5mm; }
.tk-card .ttl { font-family: var(--font-serif); color: #a6822f; font-size: 2.7mm; margin-top: 0.8mm; }
.tk-card .nm { font-family: var(--font-serif); font-weight: 700; font-size: 5mm; margin-top: auto; }
.tk-card .cid { font-size: 3mm; color: #333; }
.tk-card .season { font-size: 2.7mm; color: var(--brand-primary); font-weight: 600; margin-top: 0.5mm; }
.tk-card .foot { font-size: 1.85mm; color: #777; margin-top: 1.5mm; line-height: 1.25; }
.tk-card .qrwrap { width: 38mm; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.tk-card .cardqr { width: 37mm; height: 37mm; }
.tk-card .cardqr svg { width: 100%; height: 100%; }
.tk-card .scan { font-size: 2.1mm; color: #555; margin-top: 1mm; text-align: center; }

@media print {
  .tk-header, .tk-screen-only { display: none !important; }
  .tk-print { display: block !important; }
  body { background: #fff !important; }
  @page { size: 85.6mm 54mm; margin: 0; }
}

/* ===========================================================================
 * Info flyer / landing page (member + club) — one A4 page when printed.
 * ======================================================================== */
.flyer { max-width: 760px; margin: 0 auto; padding: 30px 22px 70px; }
.flyer-top { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.flyer-top img { width: 56px; height: 56px; }
.flyer-top .bt { font-family: var(--font-serif); font-weight: 700; font-size: 19px; color: var(--brand-primary-dark); line-height: 1.05; }
.flyer-top .bs { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--brand-accent); font-weight: 600; }
.flyer h1 { font-size: clamp(26px, 5vw, 34px); line-height: 1.1; margin: 0 0 8px; }
.flyer .lead { font-size: 17px; color: var(--neutral-700); margin: 0 0 22px; line-height: 1.5; }
.flyer-body { display: flex; gap: 26px; align-items: flex-start; }
.flyer-main { flex: 1; min-width: 0; }
.flyer-visual { flex: none; width: 215px; }
.flyer-visual img { width: 100%; border-radius: 14px; box-shadow: var(--shadow-card); display: block; }
.flyer-visual .cap { font-size: 12.5px; color: var(--neutral-500); text-align: center; margin: 7px 0 16px; }
.flyer-why { background: var(--brand-primary-dark); color: #fff; border-radius: 14px; padding: 16px 20px; margin: 0 0 20px; }
.flyer-why h4 { color: var(--brand-gold-soft); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 10px; }
.flyer-why ul { margin: 0; padding-left: 20px; font-size: 15.5px; line-height: 1.5; }
.flyer-why li { padding: 3px 0; }
.flyer-step { display: flex; gap: 16px; padding: 14px 0; border-top: 1px solid var(--brand-line); align-items: flex-start; }
.flyer-step:first-of-type { border-top: 0; }
.flyer-step .s-txt { flex: 1; min-width: 0; }
.flyer-step .s-shot { flex: none; width: 108px; border-radius: 10px; border: 1px solid var(--brand-line); box-shadow: var(--shadow-card); display: block; }
.flyer-step .n { flex: none; width: 38px; height: 38px; border-radius: 50%; background: var(--brand-primary); color: #fff;
  font-family: var(--font-serif); font-weight: 700; font-size: 17px; display: grid; place-items: center; }
.flyer-step h3 { font-size: 18px; margin: 2px 0 4px; }
.flyer-step p { margin: 0; font-size: 15.5px; color: var(--neutral-700); line-height: 1.5; }
.flyer-step .alt { color: var(--brand-accent); font-weight: 700; }
.flyer-facts { background: var(--brand-cream); border: 1px solid var(--brand-line); border-radius: 14px; padding: 14px 18px; margin: 22px 0 0; }
.flyer-facts h4 { font-size: 14px; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-accent); margin: 0 0 8px; }
.flyer-facts ul { margin: 0; padding-left: 20px; font-size: 15px; color: var(--neutral-700); }
.flyer-facts li { padding: 3px 0; }
.flyer-cta { display: flex; align-items: center; gap: 18px; margin: 22px 0 0; padding: 16px 18px; border-radius: 14px;
  background: var(--brand-primary-dark); color: #fff; }
.flyer-cta .qr { width: 96px; height: 96px; background: #fff; border-radius: 10px; padding: 6px; flex: none; display: grid; place-items: center; }
.flyer-cta .qr svg { width: 100%; height: 100%; }
.flyer-cta .u { font-family: var(--font-serif); font-size: 19px; }
.flyer-cta .us { font-size: 13px; color: var(--brand-gold-soft); margin-top: 3px; }
.flyer-foot { font-size: 13px; color: var(--neutral-500); margin-top: 18px; }
.flyer-print { margin-top: 18px; }

@media (max-width: 620px) {
  .flyer-body { flex-direction: column; }
  .flyer-visual { width: 100%; max-width: 260px; margin: 0 auto; }
}

@media print {
  .tk-header, .flyer-print { display: none !important; }
  body { background: #fff !important; }
  @page { size: A4 landscape; margin: 11mm; }
  /* Kopf + Titel über die ganze Breite, der Rest zweispaltig → eine A4-Seite quer */
  .flyer { max-width: none; padding: 0; column-count: 2; column-gap: 12mm; font-size: 12px; }
  .flyer-top, .flyer > h1, .flyer > .lead { column-span: all; }
  .flyer-top { margin-bottom: 4px; }
  .flyer h1 { font-size: 24px; margin-bottom: 3px; }
  .flyer .lead { font-size: 13px; margin-bottom: 10px; }
  .flyer-body { display: block; }
  .flyer-main, .flyer-visual { width: auto; }
  .flyer-visual { margin-top: 8px; }
  .flyer-visual img { max-width: 150px; display: block; margin: 0 auto; }
  .flyer-visual .cap { font-size: 10px; margin: 4px 0 10px; }
  .flyer-step, .flyer-why, .flyer-facts, .flyer-cta, .flyer-visual img { break-inside: avoid; }
  .flyer-step { padding: 6px 0; gap: 10px; }
  .flyer-step .s-shot { width: 78px; }
  .flyer-step .n { width: 30px; height: 30px; font-size: 14px; }
  .flyer-step h3 { font-size: 13.5px; }
  .flyer-step p { font-size: 11.5px; }
  .flyer-why { padding: 9px 13px; margin-bottom: 10px; }
  .flyer-why h4 { margin-bottom: 6px; }
  .flyer-why ul { font-size: 11.5px; }
  .flyer-facts { padding: 9px 13px; margin-top: 10px; }
  .flyer-facts ul, .flyer-cta .u { font-size: 11.5px; }
  .flyer-cta { margin-top: 10px; padding: 11px 13px; }
  .flyer-cta .qr { width: 72px; height: 72px; }
  .flyer-cta .qr svg { width: 62px; height: 62px; }
}

/* Admin (wider than the member shell; tables scroll on mobile) */
.tk-admin { max-width: 920px; margin: 0 auto; padding: 24px var(--space-4) 80px; }
.tk-adminnav { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 20px; }
.tk-adminnav a { font-size: 14.5px; font-weight: 600; color: var(--brand-primary); background: #fff;
  border: 1px solid var(--brand-line); border-radius: var(--radius-pill); padding: 8px 16px; text-decoration: none; }
.tk-adminnav a.on { background: var(--brand-primary); color: #fff; border-color: var(--brand-primary); }
.tk-tablewrap { overflow-x: auto; background: #fff; border: 1px solid var(--brand-line); border-radius: 14px; }
.tk-tbl { width: 100%; border-collapse: collapse; font-size: 15px; }
.tk-tbl th { text-align: left; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; color: var(--neutral-500);
  font-weight: 700; padding: 12px 14px; border-bottom: 2px solid var(--brand-line); white-space: nowrap; }
.tk-tbl td { padding: 13px 14px; border-bottom: 1px solid var(--brand-line); color: var(--brand-primary-dark); white-space: nowrap; }
.tk-tbl tr:last-child td { border-bottom: 0; }
.tk-tbl a { color: var(--brand-primary); font-weight: 600; text-decoration: none; }
.tk-tbl tr.clickable:hover td { background: var(--neutral-50); cursor: pointer; }
.tk-admin-search { display: flex; gap: 10px; margin-bottom: 16px; }
.tk-admin-search input { flex: 1; font-size: 17px; border: 1.5px solid var(--brand-line); border-radius: 13px; padding: 13px 16px; background: #fff; }
.tk-admin-search input:focus { outline: 0; border-color: var(--brand-primary); box-shadow: 0 0 0 4px rgba(12,52,90,.1); }
.tk-admin-agg { display: flex; gap: 28px; margin: 10px 0 20px; flex-wrap: wrap; }
.tk-admin-agg .av { font-family: var(--font-serif); font-size: 28px; font-weight: 700; color: var(--brand-primary-dark); }
.tk-admin-agg .al { font-size: 13px; color: var(--neutral-500); }
.tk-admin-toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.tk-admin-toolbar select { font-size: 15px; border: 1.5px solid var(--brand-line); border-radius: 10px; padding: 10px 12px; background: #fff; }
.tk-btn-sm { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 14.5px; border-radius: var(--radius-pill);
  padding: 10px 18px; background: var(--brand-accent); color: var(--brand-primary-dark); text-decoration: none; border: 0; cursor: pointer; }
