:root{--green:#0f3d2e;--green2:#176b45;--lime:#c7f464;--sand:#f5f1e8;--ink:#17211d;--muted:#66756d;--card:#fff;--line:#e6e0d2}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,Segoe UI,sans-serif;background:var(--sand);color:var(--ink)}a{color:inherit}
.site-header{position:sticky;top:0;z-index:10;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.9rem 1rem;background:rgba(15,61,46,.96);color:white;backdrop-filter:blur(10px)}
.brand{font-weight:900;text-decoration:none;letter-spacing:.02em}
.top-nav{display:flex;gap:.8rem;overflow:auto;white-space:nowrap}
.top-nav a{text-decoration:none;font-size:.92rem;opacity:.9}
.hero{display:grid;gap:1.5rem;padding:3rem 1rem 1.5rem;background:radial-gradient(circle at 20% 10%,#2f8f5b 0,#0f3d2e 48%,#08251b 100%);color:white}
.hero h1{font-size:clamp(2.4rem,12vw,5.8rem);line-height:.9;margin:.25rem 0;font-weight:950;letter-spacing:-.06em}
.hero p{max-width:64ch;color:rgba(255,255,255,.84)}
.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:.78rem;color:var(--lime)!important}
.hero-media{min-height:260px;border-radius:1.5rem;overflow:hidden;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16)}
.hero-media img{width:100%;height:100%;min-height:260px;object-fit:cover}
.photo-placeholder,.player-photo-placeholder{height:100%;min-height:260px;display:grid;place-items:center;color:rgba(255,255,255,.75);font-weight:800;border:2px dashed rgba(255,255,255,.22)}
.next-session-pill{margin-top:1rem;display:inline-flex;flex-direction:column;gap:.15rem;padding:1rem 1.2rem;border-radius:1rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18)}
.next-session-pill span{font-size:.78rem;text-transform:uppercase;letter-spacing:.12em;color:var(--lime)}
.location-switch{padding:1rem;display:flex;flex-direction:column;gap:.75rem;background:white;border-bottom:1px solid var(--line)}
.location-switch>span{font-weight:800;color:var(--muted);font-size:.85rem}
.chip{display:inline-block;margin:.2rem .25rem .2rem 0;padding:.55rem .85rem;border-radius:999px;background:#edf3ec;text-decoration:none;font-weight:800}
.chip.active{background:var(--green);color:white}
.section{padding:2.25rem 1rem}
.section-dark{background:#101915;color:white}
.section-live{background:#e8f4df}
.section-head{margin-bottom:1.25rem}
.section-head p{margin:0 0 .25rem;color:var(--green2);font-weight:900;text-transform:uppercase;letter-spacing:.16em;font-size:.75rem}
.section-dark .section-head p{color:var(--lime)}
.section-head h2{margin:0;font-size:clamp(1.9rem,8vw,3.6rem);letter-spacing:-.05em}
.news-grid,.player-grid,.result-grid{display:grid;gap:1rem}
.news-card,.empty-card,.event-card,.result-card,.score-card{background:var(--card);border-radius:1.25rem;overflow:hidden;box-shadow:0 18px 45px rgba(20,28,22,.08);border:1px solid rgba(0,0,0,.04)}
.news-card img{width:100%;height:180px;object-fit:cover}
.news-card>div,.empty-card,.result-card,.score-card{padding:1rem}
.news-card time,.result-card p,.muted{color:var(--muted);font-size:.88rem}
.news-card h3,.event-card h3,.result-card h3{margin:.25rem 0;font-size:1.15rem}
.player-card{position:relative;overflow:hidden;border-radius:1.25rem;background:#1b2a23;min-height:340px;box-shadow:0 20px 60px rgba(0,0,0,.22)}
.player-card img,.player-photo-placeholder{width:100%;height:340px;object-fit:cover;display:block}
.player-card:after{content:"";position:absolute;inset:auto 0 0;height:48%;background:linear-gradient(transparent,rgba(0,0,0,.82))}
.player-info{position:absolute;z-index:1;left:0;right:0;bottom:0;padding:1rem;color:white}
.player-info h3{font-size:1.35rem;margin:0;letter-spacing:-.03em}
.player-info p{margin:.25rem 0;color:rgba(255,255,255,.78)}
.player-meta{display:flex;gap:.4rem;flex-wrap:wrap}
.player-meta span,.badge{display:inline-block;border-radius:999px;background:rgba(199,244,100,.18);color:var(--lime);padding:.25rem .55rem;font-size:.78rem;font-weight:800}
.session-list{display:grid;gap:.8rem}
.event-card{display:grid;grid-template-columns:74px 1fr;gap:1rem;padding:1rem;align-items:center}
.datebox{border-radius:1rem;background:var(--green);color:white;text-align:center;padding:.7rem .3rem}
.datebox strong{display:block;font-size:1.7rem;line-height:1}
.datebox span{font-size:.74rem;color:rgba(255,255,255,.78)}
.sets{display:flex;gap:.5rem;flex-wrap:wrap;margin-top:.75rem}
.sets span{background:#eef4ee;border-radius:.7rem;padding:.45rem .65rem;font-weight:950}
.result-card h3 span{color:var(--muted);font-size:.9rem}
.empty-card{color:var(--muted)}
.empty-card.dark{background:#1a2720;color:rgba(255,255,255,.7)}
.admin-layout{padding:1rem;max-width:1180px;margin:auto}
.admin-nav{display:flex;gap:.5rem;overflow:auto;margin:1rem 0}
.admin-nav a,.btn,button{display:inline-block;border:0;border-radius:.8rem;background:var(--green);color:white;text-decoration:none;font-weight:850;padding:.75rem 1rem;cursor:pointer}
.btn-secondary{background:#475569}
.btn-danger{background:#b91c1c}
.admin-grid,.form-grid{display:grid;gap:1rem}
.card{background:white;border-radius:1rem;padding:1rem;box-shadow:0 12px 30px rgba(0,0,0,.06)}
input,select,textarea{width:100%;padding:.75rem;border:1px solid #cfd8cf;border-radius:.75rem;font:inherit;background:white}
label{font-weight:800;font-size:.9rem}
.table-wrap{overflow:auto;background:white;border-radius:1rem}
table{width:100%;border-collapse:collapse}
td,th{padding:.75rem;border-bottom:1px solid #e5e7eb;text-align:left}
.score-buttons{display:grid;grid-template-columns:repeat(2,1fr);gap:.5rem}
.upload-hint{padding:1rem;border:2px dashed #cbd5c0;border-radius:1rem;color:var(--muted);background:#fbfaf5}
.thumb{width:72px;height:72px;object-fit:cover;border-radius:.8rem;background:#edf3ec}
@media(min-width:760px){
    .hero{grid-template-columns:1.05fr .95fr;align-items:center;padding:5rem 2rem 2rem}
    .section,.location-switch{padding-left:2rem;padding-right:2rem}
    .news-grid{grid-template-columns:repeat(3,1fr)}
    .player-grid{grid-template-columns:repeat(3,1fr)}
    .result-grid{grid-template-columns:repeat(2,1fr)}
    .form-grid,.admin-grid{grid-template-columns:repeat(2,1fr)}.span-2{grid-column:span 2}}
@media(min-width:1120px){
    .hero,.section,.location-switch{padding-left:calc((100vw - 1120px)/2);padding-right:calc((100vw - 1120px)/2)}
    .player-grid{grid-template-columns:repeat(4,1fr)}.result-grid{grid-template-columns:repeat(3,1fr)}}

/* One-Pager Rubriken */
.rubric-link{border-radius:999px;padding:.45rem .7rem}
.rubric-link.active{background:rgba(199,244,100,.18);color:var(--lime);opacity:1}
.accordion-section{display:none;animation:fadeIn .18s ease-out}
.accordion-section.is-open{display:block}
@keyframes fadeIn{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.table-wrap form{margin:0}.table-wrap .btn,.table-wrap button{padding:.55rem .7rem;margin:.1rem}.score-buttons label{grid-column:1/-1}.score-buttons button{min-height:3rem}.muted{color:var(--muted)}

/* Große Rubrik-Kacheln auf der Landing Page */
.compact-nav{gap:.5rem}
.compact-nav a{border-radius:999px;background:rgba(255,255,255,.1);padding:.5rem .8rem;font-weight:850}
.rubric-tiles{
  display:grid;
  grid-template-columns:1fr;
  gap:1rem;
  padding:1rem;
  background:linear-gradient(180deg,#ffffff 0%, var(--sand) 100%);
  border-bottom:1px solid var(--line);
}
.rubric-tile{
  position:relative;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height:132px;
  padding:1.1rem;
  border-radius:1.35rem;
  text-decoration:none;
  color:var(--ink);
  background:#fff;
  border:1px solid rgba(15,61,46,.08);
  box-shadow:0 18px 45px rgba(20,28,22,.08);
  overflow:hidden;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.rubric-tile:before{
  content:"";
  position:absolute;
  inset:auto -30px -45px auto;
  width:120px;
  height:120px;
  border-radius:999px;
  background:rgba(23,107,69,.09);
}
.rubric-tile:hover,
.rubric-tile:focus-visible{
  transform:translateY(-3px);
  box-shadow:0 24px 60px rgba(20,28,22,.13);
  border-color:rgba(23,107,69,.32);
  outline:none;
}
.rubric-tile.active{
  color:white;
  background:radial-gradient(circle at 90% 110%, rgba(199,244,100,.28), transparent 34%), linear-gradient(135deg,var(--green),#09271c);
  border-color:rgba(199,244,100,.4);
}
.rubric-tile.active:before{background:rgba(199,244,100,.16)}
.rubric-tile strong{
  position:relative;
  display:block;
  margin:.45rem 0 .3rem;
  font-size:clamp(1.3rem,7vw,2.05rem);
  line-height:.95;
  letter-spacing:-.055em;
}
.rubric-tile small{
  position:relative;
  max-width:24ch;
  color:var(--muted);
  font-weight:650;
}
.rubric-tile.active small{color:rgba(255,255,255,.78)}
.tile-kicker{
  position:relative;
  color:var(--green2);
  font-size:.75rem;
  font-weight:950;
  letter-spacing:.15em;
  text-transform:uppercase;
}
.rubric-tile.active .tile-kicker{color:var(--lime)}
@media(min-width:680px){
  .rubric-tiles{grid-template-columns:repeat(2,1fr);padding:1.25rem 2rem}
  .rubric-tile:first-child{grid-column:span 2}
}
@media(min-width:1040px){
  .rubric-tiles{grid-template-columns:repeat(5,1fr);align-items:stretch}
  .rubric-tile:first-child{grid-column:auto}
}
@media(min-width:1120px){
  .rubric-tiles{padding-left:calc((100vw - 1120px)/2);padding-right:calc((100vw - 1120px)/2)}
}

/* Admin quality-of-life + Live Scoring UI */
.admin-header{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;flex-wrap:wrap}.admin-header h1{margin:.2rem 0}
.dashboard-hero{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap;background:linear-gradient(135deg,#fff,#eef7eb)}
.admin-eyebrow{color:var(--green2)!important}
.live-admin-card{border-left:5px solid var(--green2)}
.live-admin-head{display:flex;justify-content:space-between;gap:1rem;align-items:flex-start;flex-wrap:wrap}
.live-admin-head h3{margin:.15rem 0}
.score-overview{margin:.85rem 0 1rem}
.score-panel{border:1px solid #e2e8df;border-radius:1rem;padding:.75rem;margin-top:.8rem;background:#fbfdf8}
.score-panel summary{cursor:pointer;font-weight:950;color:var(--green)}
.score-panel[open] summary{margin-bottom:.5rem}
.score-panel .form-grid button{align-self:end}
.score-buttons button{font-size:1rem}
.score-buttons button[name="action"][value="point_home"]{background:var(--green2)}
.score-buttons button[name="action"][value="point_away"]{background:#1f2937}
@media(min-width:760px){.score-buttons{grid-template-columns:1fr 1fr 1fr}.score-buttons label{grid-column:auto}.score-panel .form-grid{grid-template-columns:repeat(4,1fr)}}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .2rem;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
}
.language-switch a {
  padding: .35rem .55rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 800;
  font-size: .8rem;
  opacity: .78;
}
.language-switch a.active {
  background: #fff;
  color: #0f3d2e;
  opacity: 1;
}
.admin-nav .language-switch {
  margin-left: auto;
  border-color: rgba(15, 61, 46, .18);
  background: rgba(15, 61, 46, .06);
}
.admin-nav .language-switch a.active {
  background: #0f3d2e;
  color: #fff;
}

/* Ergebnis-Auswahl und mobile Live-Scoring Controls */
.event-select-grid,
.result-event-list {
  display: grid;
  gap: 1rem;
}
.event-result-tile,
.public-result-event {
  display: block;
  background: #fff;
  border: 1px solid rgba(15,61,46,.09);
  border-radius: 1.2rem;
  padding: 1rem;
  text-decoration: none;
  color: var(--ink);
  box-shadow: 0 14px 36px rgba(20,28,22,.07);
}
.event-result-tile strong,
.public-result-event summary strong {
  display: block;
  margin: .25rem 0;
  font-size: 1.1rem;
}
.event-result-tile b,
.public-result-event summary b,
.score-large {
  display: inline-block;
  margin: .45rem 0;
  padding: .45rem .7rem;
  border-radius: .85rem;
  background: var(--green);
  color: #fff;
  font-weight: 950;
}
.event-result-tile span,
.event-result-tile small,
.public-result-event summary span,
.public-result-event summary small {
  display: block;
  color: var(--muted);
}
.public-result-event summary {
  cursor: pointer;
  list-style: none;
}
.public-result-event summary::-webkit-details-marker { display: none; }
.public-result-event summary:after {
  content: attr(data-closed-label);
  display: inline-block;
  margin-top: .55rem;
  color: var(--green2);
  font-weight: 900;
}
.public-result-event[open] summary:after { content: attr(data-open-label); }
.result-grid-nested { margin-top: 1rem; }
.mobile-score-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .75rem;
}
.mobile-score-form label {
  grid-column: 1 / -1;
}
.score-big,
.score-small {
  min-height: 4.5rem;
  font-size: 1.05rem;
  line-height: 1.15;
  white-space: normal;
}
.score-big {
  background: var(--green2);
}
.score-big.dark {
  background: #111827;
}
.score-small {
  min-height: 3.25rem;
  background: #64748b;
}
.score-small.neutral {
  grid-column: 1 / -1;
  background: #475569;
}
@media(min-width:760px){
  .event-select-grid{grid-template-columns:repeat(2,1fr)}
  .mobile-score-form{grid-template-columns:repeat(5,1fr)}
  .mobile-score-form label{grid-column:auto}
  .score-small.neutral{grid-column:auto}
}

.event-day-group{display:grid;gap:.75rem}
.event-day-heading{display:flex;align-items:center;gap:.75rem;margin:.5rem 0 .25rem}
.event-day-heading:after{content:"";height:1px;background:var(--line);flex:1}
.event-day-heading span{font-weight:950;text-transform:uppercase;letter-spacing:.12em;color:var(--green2);font-size:.8rem}
.event-card-wide{grid-template-columns:74px 1fr}
.event-title-row{display:flex;align-items:flex-start;justify-content:space-between;gap:.75rem}
.status-pill{display:inline-flex;align-items:center;border-radius:999px;padding:.25rem .55rem;font-size:.72rem;font-weight:900;text-transform:uppercase;letter-spacing:.08em;background:#edf3ec;color:var(--green)}
.status-running{background:var(--lime);color:#1b2a23}
.grouped-session-list{gap:1.25rem}


.event-public-details{display:block;padding:0}
.event-public-details>summary{list-style:none;display:grid;grid-template-columns:74px 1fr;gap:1rem;padding:1rem;align-items:center;cursor:pointer}
.event-public-details>summary::-webkit-details-marker{display:none}

.event-public-details>summary:after{content:attr(data-closed-label);grid-column:2;color:var(--green2);font-weight:900;font-size:.85rem}
.event-public-details[open]>summary:after{content:attr(data-open-label);}

.event-score-line{margin-top:.35rem;color:var(--green2);font-weight:850}
.event-detail-actions{display:flex;flex-wrap:wrap;gap:.5rem;padding:0 1rem 1rem 1rem}
.event-session-preview{padding:0 1rem 1rem 1rem}
.live-event-group{background:var(--card);border-radius:1.25rem;box-shadow:0 18px 45px rgba(20,28,22,.08);border:1px solid rgba(0,0,0,.04);margin-bottom:1rem;overflow:hidden}
.live-event-group>summary{list-style:none;display:grid;gap:.25rem;padding:1rem;cursor:pointer}
.live-event-group>summary::-webkit-details-marker{display:none}
.live-event-group>summary span,
.live-event-group>summary small{color:var(--muted);font-size:.85rem}
.live-event-group>summary strong{font-size:1.15rem}
.live-event-group>summary b{color:var(--green2)}
.score-event-grid{display:grid;gap:.75rem;padding:0 1rem 1rem}
.score-card-nested{box-shadow:none;border:1px solid var(--line)}
@media(min-width:760px){.score-event-grid{grid-template-columns:repeat(2,1fr)}}

.event-info-note{
    display:inline-flex;
    align-items:center;
    padding:.7rem .95rem;
    border-radius:.85rem;
    background:rgba(18,59,42,.08);
    color:var(--green);
    font-weight:850;
}

.hero-info-card{
    transition:
            transform .18s ease,
            background .18s ease,
            border-color .18s ease,
            box-shadow .18s ease;
}

.hero-info-card:hover,
.hero-info-card:focus-visible{
    transform:translateY(-2px);
    background:rgba(255,255,255,.18);
    border-color:rgba(240,200,90,.45);
    outline:none;
}

/* Fine tuning: Rubrik-Kacheln bei 5 Spalten + Zurück-nach-oben-Link */
@media (min-width:1040px){
  .rubric-tile{
    min-height:138px;
    padding:1rem .95rem;
  }
  .rubric-tile strong{
    font-size:clamp(1.18rem,1.7vw,1.58rem);
    line-height:1.02;
    letter-spacing:-.045em;
    overflow-wrap:normal;
    hyphens:auto;
  }
  .rubric-tile[data-section="sessiones"] strong{
    font-size:clamp(1.08rem,1.45vw,1.38rem);
    line-height:1.04;
    letter-spacing:-.04em;
  }
  .rubric-tile small{
    font-size:.76rem;
    line-height:1.2;
  }
  .tile-kicker{
    font-size:.68rem;
  }
}
@media (min-width:1180px){
  .rubric-tile strong{
    font-size:1.72rem;
  }
  .rubric-tile[data-section="sessiones"] strong{
    font-size:1.48rem;
  }
}
.back-to-top{
  display:flex;
  justify-content:center;
  margin:2rem 0 0;
}
.back-to-top a{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  border-radius:999px;
  padding:.75rem 1rem;
  background:var(--green);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  box-shadow:0 12px 28px rgba(15,61,46,.18);
}
.back-to-top a:hover,
.back-to-top a:focus-visible{
  background:var(--green2);
  outline:none;
}

/* Admin Navigation: responsive button grid, no horizontal scrollbar */
.admin-nav{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.55rem;
  overflow:visible;
  margin:1rem 0 1.25rem;
}
.admin-nav a,
.admin-nav .language-switch{
  min-height:2.75rem;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  white-space:normal;
}
.admin-nav .language-switch{
  margin-left:0;
  padding:.25rem;
  background:#fff;
}
.admin-nav .language-switch a{
  min-height:2.15rem;
  padding:.45rem .6rem;
}
@media(min-width:620px){.admin-nav{grid-template-columns:repeat(3,minmax(0,1fr));}}
@media(min-width:920px){.admin-nav{grid-template-columns:repeat(5,minmax(0,1fr));}}
@media(min-width:1180px){.admin-nav{grid-template-columns:repeat(6,minmax(0,1fr));}}

/* Dashboard cards: cleaner action buttons */
.admin-grid .card{
  display:flex;
  flex-direction:column;
  gap:.5rem;
}
.admin-grid .card h2{margin:.1rem 0;font-size:1.1rem;line-height:1.15}
.admin-grid .card p{font-size:2rem;font-weight:950;margin:.1rem 0;color:var(--green)}
.admin-grid .card .btn{margin-top:auto;text-align:center}

/* Mentoring-like live scoring controls */
.live-pro-form{
  grid-template-columns:1fr 1fr;
  align-items:stretch;
}
.live-pro-form .set-picker,
.live-pro-form .winner-picker{
  grid-column:1/-1;
}
.live-pro-form button small{
  display:block;
  margin-top:.15rem;
  font-size:.78rem;
  font-weight:750;
  opacity:.9;
}
.score-small.set-win{background:#2563eb}
.score-small.set-win.dark{background:#334155}
.score-small.danger-soft{background:#9f1239}
.score-finish{
  grid-column:1/-1;
  min-height:3.8rem;
  background:#b91c1c;
  font-size:1.08rem;
}
.score-overview span{
  display:inline-flex;
  align-items:center;
  min-height:2.4rem;
}
@media(min-width:760px){
  .live-pro-form{grid-template-columns:repeat(4,1fr)}
  .live-pro-form .set-picker{grid-column:span 2}
  .live-pro-form .winner-picker{grid-column:span 2}
  .score-finish{grid-column:span 2}
}

/* Language switch restored as a visible DE/EN toggle */
.site-header .language-switch,
.admin-header .language-switch,
.login-header .language-switch {
  flex: 0 0 auto;
}
.language-switch {
  box-shadow: inset 0 0 0 1px rgba(15,61,46,.08), 0 8px 22px rgba(15,61,46,.12);
}
.site-header .language-switch {
  border-color: rgba(255,255,255,.35);
  background: rgba(255,255,255,.14);
}
.language-switch-admin {
  border-color: rgba(15,61,46,.15);
  background: #fff;
}
.language-switch-admin a.active {
  background: var(--green);
  color: #fff;
}
@media(max-width:640px){
  .admin-header .language-switch{width:auto;align-self:flex-start}
}


/* Active admin navigation state */
.admin-nav a.active{
  background:var(--lime);
  color:var(--green);
  box-shadow:inset 0 0 0 2px rgba(15,61,46,.18), 0 10px 22px rgba(15,61,46,.12);
}
.admin-nav a.active:hover{
  background:var(--lime);
  color:var(--green);
}

/* Partner administration: selected partner location */
tr.row-active td{
  background:#f0f9e8;
  box-shadow:inset 4px 0 0 var(--lime);
}

/* Multi-location admin context */
.admin-header-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}
.admin-location-switch label {
  display: flex;
  flex-direction: column;
  gap: .35rem;
  font-weight: 700;
}
.admin-location-switch select {
  min-width: 220px;
  padding: .7rem .85rem;
  border-radius: .8rem;
  border: 1px solid rgba(0,0,0,.14);
  background: #fff;
  font-weight: 700;
}
.admin-context-pill {
  margin-top: 1rem;
  padding: .7rem 1rem;
  border-radius: 999px;
  background: rgba(22, 101, 52, .10);
  color: #14532d;
  display: inline-flex;
  gap: .35rem;
}
@media (min-width: 760px) {
  .admin-header-grid {
    grid-template-columns: 1fr auto auto;
  }
}

/* League portal tile + admin table framework */
.external-tile { background: linear-gradient(135deg, var(--green), #0b1720); color: white; }
.external-tile .tile-kicker, .external-tile small { color: rgba(255,255,255,.78); }
.external-tile strong:after { content: ' ↗'; font-size: .82em; }
@media (min-width:1040px){
  .rubric-tiles { grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); }
  .rubric-tile { min-width: 0; }
}
.dt-toolbar { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; justify-content:space-between; margin:.25rem 0 1rem; }
.dt-footer { display:flex; flex-wrap:wrap; gap:.75rem; align-items:center; justify-content:space-between; margin-top:1rem; }
.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select { border:1px solid #cfd8cf; border-radius:.65rem; padding:.45rem .65rem; margin-left:.35rem; }
.dataTables_wrapper .dt-buttons { display:flex; flex-wrap:wrap; gap:.35rem; }
.dataTables_wrapper .dt-button { border:0!important; border-radius:.7rem!important; background:#edf3ec!important; color:var(--green)!important; font-weight:850!important; padding:.55rem .75rem!important; }
table.dataTable thead th { white-space:nowrap; }
table.dataTable tbody tr:hover { background:#f8fbf3; }
@media(max-width:700px){
  .dt-toolbar,.dt-footer{display:block}.dataTables_wrapper .dt-buttons{margin-bottom:.75rem}.dataTables_wrapper .dataTables_filter{margin-top:.75rem;text-align:left!important}
}

/* Global tenant branding */
.brand-with-logo{display:inline-flex;align-items:center;gap:.55rem}
.brand-with-logo img{width:34px;height:34px;object-fit:contain;border-radius:.55rem;background:white;padding:.12rem}
.tenant-brand-panel{display:inline-flex;align-items:center;gap:.8rem;margin-bottom:.8rem;padding:.7rem .9rem;border-radius:1.1rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);max-width:min(100%,680px)}
.tenant-brand-panel img{width:64px;height:64px;object-fit:contain;border-radius:1rem;background:white;padding:.25rem;flex:0 0 auto}
.tenant-brand-panel strong{display:block;font-size:1.05rem;color:white}
.tenant-brand-panel small{display:block;max-width:56ch;color:rgba(255,255,255,.78);font-weight:650;line-height:1.35}
.admin-preview-image{display:block;width:100%;max-height:280px;object-fit:cover;border-radius:1rem;background:#edf3ec;border:1px solid var(--line)}
.admin-preview-image.logo-preview{max-width:220px;height:160px;object-fit:contain;padding:1rem}
.success-box{padding:.75rem 1rem;border-radius:.75rem;background:#dcfce7;color:#14532d;font-weight:850}
@media(max-width:560px){.tenant-brand-panel{align-items:flex-start}.tenant-brand-panel img{width:52px;height:52px}.brand-with-logo img{width:28px;height:28px}}

/* Mitarbeitende-Karten: Foto-Fallback + optionale Daten auf der Landing Page */
.player-card-rich .player-info{
  padding:1rem;
}
.player-meta-rich{
  margin-top:.55rem;
  display:flex;
  gap:.4rem;
  flex-wrap:wrap;
}
.player-meta-rich span{
  display:inline-flex;
  flex-direction:column;
  gap:.05rem;
  line-height:1.05;
  min-width:72px;
}
.player-meta-rich small{
  color:rgba(255,255,255,.64);
  font-size:.62rem;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.player-bio{
  margin:.7rem 0 0!important;
  color:rgba(255,255,255,.78)!important;
  font-size:.88rem;
  line-height:1.35;
  max-width:34ch;
}
@media (max-width:520px){
  .player-card{min-height:380px}
  .player-card img,.player-photo-placeholder{height:380px}
}

/* TC1913-inspiriertes Farbschema + moderne Standort-Portraits */
:root{
  --green:#123b2a;
  --green2:#2f6b45;
  --lime:#f0c85a;
  --sand:#f7f1e6;
  --clay:#b95b36;
  --clay-dark:#8f3f25;
  --cream:#fffaf0;
  --ink:#172018;
  --muted:#6f7469;
  --card:#fffaf0;
  --line:#e7dccb;
}
body{
  background:linear-gradient(180deg,var(--sand),#efe5d4);
}
.site-header{
  background:rgba(18,59,42,.96);
  border-bottom:1px solid rgba(240,200,90,.24);
}
.hero{
  background:
    radial-gradient(circle at 88% 12%, rgba(240,200,90,.26), transparent 28%),
    radial-gradient(circle at 10% 95%, rgba(185,91,54,.30), transparent 34%),
    linear-gradient(135deg,#123b2a 0%,#184e34 52%,#7b3825 100%);
}
.hero-media{
  border:1px solid rgba(240,200,90,.28);
  box-shadow:0 26px 80px rgba(20,28,22,.28);
}
.eyebrow,.next-session-pill span,.section-dark .section-head p{
  color:var(--lime)!important;
}
.next-session-pill,.tenant-brand-panel{
  background:rgba(255,250,240,.12);
  border-color:rgba(240,200,90,.28);
}
.location-switch{
  background:var(--cream);
}
.chip{
  background:#efe3cf;
  color:var(--green);
}
.chip.active{
  background:var(--clay);
  color:#fff;
}
.rubric-tiles{
  background:linear-gradient(180deg,var(--cream),var(--sand));
}
.rubric-tile{
  background:var(--cream);
  border-color:rgba(185,91,54,.13);
  box-shadow:0 20px 50px rgba(55,38,24,.08);
}
.rubric-tile:before{
  background:rgba(185,91,54,.10);
}
.rubric-tile:hover,
.rubric-tile:focus-visible{
  border-color:rgba(185,91,54,.38);
}
.rubric-tile.active{
  background:radial-gradient(circle at 88% 112%, rgba(240,200,90,.30), transparent 34%),linear-gradient(135deg,var(--green),#0d281e 58%,var(--clay-dark));
  border-color:rgba(240,200,90,.42);
}
.tile-kicker{
  color:var(--clay);
}
.external-tile{
  background:linear-gradient(135deg,var(--clay-dark),var(--green));
}
.section-dark{
  background:linear-gradient(180deg,#0f2f23,#10291f);
}
.section-live{
  background:#eadcc7;
}
.news-card,.empty-card,.event-card,.result-card,.score-card,.live-event-group,.public-result-event,.event-result-tile,.card{
  background:var(--cream);
  border-color:rgba(185,91,54,.10);
}
.datebox,.score-large,.event-result-tile b,.public-result-event summary b{
  background:linear-gradient(135deg,var(--green),#194f36);
}
.status-running{
  background:var(--lime);
  color:#352414;
}
.btn,button,.admin-nav a{
  background:var(--green);
}
.btn-secondary{
  background:var(--clay);
}
.sets span{
  background:#efe3cf;
  color:var(--green);
}

/* Standortpräsentation: große Portraits, klare Namensfläche, wenig Ablenkung */
.player-grid{
  gap:1.15rem;
}
.player-card{
  min-height:410px;
  border-radius:1.35rem;
  background:var(--cream);
  box-shadow:0 24px 70px rgba(25,40,28,.22);
  border:1px solid rgba(240,200,90,.16);
  transform:translateZ(0);
}
.player-card:hover{
  transform:translateY(-4px);
  transition:transform .18s ease, box-shadow .18s ease;
  box-shadow:0 32px 90px rgba(25,40,28,.30);
}
.player-card:after{
  display:none;
}
.player-card img,
.player-photo-placeholder{
  height:300px;
  object-position:center top;
  background:#e8ddc9;
}
.player-photo-placeholder{
  color:var(--green);
  border:2px dashed rgba(18,59,42,.20);
}
.player-info{
  position:absolute;
  left:.7rem;
  right:.7rem;
  bottom:.7rem;
  border-radius:1rem;
  background:rgba(255,250,240,.96);
  color:var(--ink);
  box-shadow:0 16px 38px rgba(31,24,16,.18);
  border-top:4px solid var(--clay);
}
.player-info h3{
  color:var(--green);
  font-size:1.25rem;
}
.player-info p{
  color:var(--muted);
}
.player-meta span,
.player-meta-rich span,.badge{
  background:rgba(18,59,42,.08);
  color:var(--green);
}
.player-meta-rich small{
  color:var(--clay);
}
.player-bio{
  color:var(--muted)!important;
}
@media(min-width:760px){
  .player-card{min-height:430px}
  .player-card img,.player-photo-placeholder{height:315px}
}
@media(min-width:1120px){
  .player-grid{grid-template-columns:repeat(4,1fr)}
  .player-card{min-height:440px}
  .player-card img,.player-photo-placeholder{height:325px}
}

/* Fix: robuste Bilddarstellung + Ligaportal-Kachel optisch angleichen */
.hero-title-row{
  display:flex;
  align-items:center;
  gap:1rem;
  flex-wrap:wrap;
}
/*.hero-title-row h1{
  margin-right:.25rem;
}*/
.hero-title-row h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    line-height: 1.05;
}
.hero-location-photo{
  width:118px;
  height:78px;
  object-fit:cover;
  border-radius:1rem;
  border:2px solid rgba(240,200,90,.55);
  box-shadow:0 16px 44px rgba(0,0,0,.25);
  background:rgba(255,250,240,.16);
}
.hero-media img,
.brand-with-logo img,
.tenant-brand-panel img,
.player-card img,
.news-card img{
  display:block;
}
.rubric-tiles .external-tile{
  background:var(--cream);
  color:var(--ink);
  border-color:rgba(185,91,54,.13);
}
.rubric-tiles .external-tile .tile-kicker{
  color:var(--clay);
}
.rubric-tiles .external-tile small{
  color:var(--muted);
}
.rubric-tiles .external-tile:hover,
.rubric-tiles .external-tile:focus-visible{
  border-color:rgba(185,91,54,.38);
}
@media(min-width:1040px){
  .rubric-tiles .external-tile{order:99;}
}
@media(max-width:620px){
  .hero-location-photo{width:96px;height:64px;}
}

/* Go-live: clickable tenant panel + news pagination */
.tenant-brand-panel{display:flex;gap:.85rem;align-items:center;max-width:560px;padding:.85rem 1rem;border-radius:1rem;background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.18);color:white;text-decoration:none}
.tenant-brand-panel img{width:54px;height:54px;object-fit:contain;border-radius:.7rem;background:white;padding:.25rem}
.tenant-brand-panel strong{display:block}
.tenant-brand-panel small{display:block;color:rgba(255,255,255,.78);margin-top:.15rem}
.tenant-brand-panel em{display:inline-block;margin-top:.35rem;font-style:normal;color:var(--lime);font-weight:900;font-size:.82rem}
.tenant-brand-panel-link{cursor:pointer;transition:transform .18s ease, background .18s ease, border-color .18s ease}
.tenant-brand-panel-link:hover,.tenant-brand-panel-link:focus-visible{transform:translateY(-2px);background:rgba(255,255,255,.17);border-color:rgba(199,244,100,.45);outline:none}
.section-actions{margin-top:1.25rem;text-align:center}.section-actions .btn{min-width:180px}
.news-card[hidden]{display:none!important}
.news-admin-note{padding:.75rem 1rem;border-radius:.9rem;background:#edf7ed;color:var(--green);font-weight:750}
.admin-preview-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:1rem;align-items:start}
.admin-preview-row>div{display:flex;flex-direction:column;gap:.5rem}
.thumb-large{width:100%;max-width:220px;height:130px;object-fit:cover;border-radius:.8rem;background:#f4f1e8;border:1px solid rgba(50,69,42,.14)}

/* Landing vNext: vertikale Rubrik-Kacheln mit Content direkt darunter */
.rubric-stack,
.rubric-tiles.rubric-stack{
  display:block;
  max-width:1120px;
  margin:0 auto;
  padding:1.25rem 1rem 2rem;
  background:linear-gradient(180deg,var(--cream),var(--sand));
  border-bottom:1px solid var(--line);
}
.rubric-stack .rubric-tile{
  width:100%;
  min-height:112px;
  margin:0 0 .8rem;
  padding:1.05rem 1.15rem;
  display:grid;
  grid-template-columns:1fr auto;
  grid-template-rows:auto auto auto;
  column-gap:1rem;
  align-items:center;
}
.rubric-stack .rubric-tile:after{
  content:'+';
  grid-column:2;
  grid-row:1 / 4;
  width:2.25rem;
  height:2.25rem;
  display:grid;
  place-items:center;
  border-radius:999px;
  background:rgba(18,59,42,.08);
  color:var(--green);
  font-size:1.4rem;
  font-weight:950;
}
.rubric-stack .rubric-tile.active:after{
  content:'−';
  background:rgba(255,250,240,.18);
  color:#fff;
}
.rubric-stack .rubric-tile.external-tile:after{
  content:'↗';
}
.rubric-stack .rubric-tile strong{
  font-size:clamp(1.55rem,5vw,2.45rem)!important;
  line-height:.98!important;
  letter-spacing:-.055em;
  max-width:18ch;
}
.rubric-stack .rubric-tile small{
  max-width:44ch;
}
.rubric-stack .accordion-section{
  margin:-.15rem 0 1rem;
  padding:1.5rem 0 2rem;
  border-radius:1.35rem;
  overflow:hidden;
}
.rubric-stack .accordion-section.is-open{
  display:block;
}
.rubric-stack .accordion-section > .section-head,
.rubric-stack .accordion-section > .news-grid,
.rubric-stack .accordion-section > .player-grid,
.rubric-stack .accordion-section > .session-list,
.rubric-stack .accordion-section > #notifications,
.rubric-stack .accordion-section > .result-event-list,
.rubric-stack .accordion-section > .section-actions,
.rubric-stack .accordion-section > .back-to-top{
  padding-left:1rem;
  padding-right:1rem;
}
.rubric-stack .section-dark,
.rubric-stack .section-live{
  margin-left:0;
  margin-right:0;
}
@media(min-width:760px){
  .rubric-stack,
  .rubric-tiles.rubric-stack{padding:1.5rem 2rem 2.5rem;}
  .rubric-stack .rubric-tile{min-height:122px;padding:1.25rem 1.4rem;}
  .rubric-stack .accordion-section > .section-head,
  .rubric-stack .accordion-section > .news-grid,
  .rubric-stack .accordion-section > .player-grid,
  .rubric-stack .accordion-section > .session-list,
  .rubric-stack .accordion-section > #notifications,
  .rubric-stack .accordion-section > .result-event-list,
  .rubric-stack .accordion-section > .section-actions,
  .rubric-stack .accordion-section > .back-to-top{padding-left:1.25rem;padding-right:1.25rem;}
}
@media(min-width:1120px){
  .rubric-stack,
  .rubric-tiles.rubric-stack{padding-left:2rem;padding-right:2rem;}
}

/* Hero: rechts neben dem Standortnamen wird das Standortfoto genutzt, nicht das Standortfoto */
.hero-media .photo-placeholder{
  min-height:320px;
  background:rgba(255,250,240,.08);
}
@media(min-width:760px){
  .hero-media{min-height:360px;}
  .hero-media img{min-height:360px;}
}

.player-position{font-weight:800;color:#194d35;margin:.15rem 0;font-size:1rem}.player-role{font-weight:650;color:#78634c;margin:.1rem 0 .45rem;font-size:.92rem}.player-card-rich .player-info>p.player-position,.player-card-rich .player-info>p.player-role{line-height:1.25}

/* Hero top cards: next session + latest result */
.hero-pills{
  display:grid;
  gap:.75rem;
  margin-top:1rem;
  max-width:720px;
}
.hero-info-card{
  width:100%;
  text-decoration:none;
}
.latest-result-pill{
  color:#fff;
  cursor:pointer;
}
.latest-result-pill b{
  display:inline-flex;
  align-items:center;
  width:max-content;
  margin-top:.35rem;
  padding:.35rem .6rem;
  border-radius:.75rem;
  background:var(--lime);
  color:var(--green);
  font-weight:950;
}
.latest-result-pill:hover,
.latest-result-pill:focus-visible{
  background:rgba(255,255,255,.18);
  transform:translateY(-1px);
}
@media(min-width:720px){
  .hero-pills{grid-template-columns:repeat(2,minmax(0,1fr));}
}


/* Go-live visual polish: hero cards + live/status badges */
.hero-pills{
  display:grid !important;
  grid-template-columns:1fr !important;
  gap:1rem !important;
  width:100%;
  max-width:720px;
}
.hero-info-card{
  width:100%;
  position:relative;
  overflow:hidden;
}
.hero-info-card b{
  font-size:1.15rem;
  letter-spacing:-.02em;
}
.latest-result-pill.is-live{
  border-color:rgba(248,113,113,.75) !important;
  box-shadow:0 0 0 1px rgba(248,113,113,.22), 0 20px 50px rgba(127,29,29,.24);
}
.hero-card-kicker{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
}
.live-indicator{
  position:absolute;
  top:.9rem;
  right:1rem;
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.3rem .65rem;
  border-radius:999px;
  background:rgba(220,38,38,.15);
  color:#fecaca;
  font-size:.74rem;
  font-style:normal;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.live-indicator.inline{
  position:static;
  padding:.15rem .45rem;
  background:#fee2e2;
  color:#b91c1c;
  vertical-align:middle;
}
.live-indicator i,
.status-badge i{
  width:.55rem;
  height:.55rem;
  border-radius:50%;
  background:currentColor;
  display:inline-block;
  flex:0 0 auto;
}
.live-indicator i,
.status-badge.live-dot i{
  animation:livePulse 1.15s ease-in-out infinite;
  box-shadow:0 0 0 0 currentColor;
}
@keyframes livePulse{
  0%{transform:scale(.85);opacity:.68;box-shadow:0 0 0 0 rgba(220,38,38,.45)}
  55%{transform:scale(1.18);opacity:1;box-shadow:0 0 0 .45rem rgba(220,38,38,0)}
  100%{transform:scale(.85);opacity:.68;box-shadow:0 0 0 0 rgba(220,38,38,0)}
}
.status-badge{
  display:inline-flex;
  align-items:center;
  gap:.38rem;
  border-radius:999px;
  padding:.28rem .62rem;
  font-size:.72rem;
  font-weight:950;
  text-transform:uppercase;
  letter-spacing:.08em;
  white-space:nowrap;
  border:1px solid transparent;
}
.status-badge-upcoming{
  background:#eef4ee;
  color:#176b45;
  border-color:#dbe9dc;
}
.status-badge-running{
  background:#fee2e2;
  color:#b91c1c;
  border-color:#fecaca;
}
.status-badge-finished{
  background:#dcfce7;
  color:#166534;
  border-color:#bbf7d0;
}
.session-card-meta{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:.75rem;
  flex-wrap:wrap;
}
.score-card.is-running,
.live-event-group.is-running,
.public-result-event.is-live-event{
  border-color:rgba(220,38,38,.22) !important;
}
@media(min-width:760px){
  .hero-pills{grid-template-columns:1fr !important;}
}

.special-result {
    background: #fde68a;
    color: #92400e;
    padding: 0.2rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.75rem;
    display: inline-block;
    margin-top: 0.25rem;
}


.site-footer{
  max-width:1120px;
  margin:3rem auto 0;
  padding:1.5rem 1.25rem 2rem;
  text-align:center;
  color:var(--muted);
  font-size:.92rem;
}
.site-footer a{
  color:var(--green);
  font-weight:800;
  text-decoration:none;
}
.site-footer a:hover,.site-footer a:focus-visible{
  text-decoration:underline;
}
.legal-page{
  max-width:860px;
  margin:2rem auto;
  padding:0 1.25rem 3rem;
}
.legal-card{
  background:#fff;
  border-radius:1.25rem;
  padding:1.5rem;
  box-shadow:0 18px 48px rgba(15,61,46,.10);
  border:1px solid rgba(15,61,46,.10);
}
.legal-card h1{margin-top:0;color:var(--green)}
.legal-card a{color:var(--green);font-weight:800}
.legal-back{display:inline-flex;margin-bottom:1rem;color:var(--green);font-weight:800;text-decoration:none}
.floating-back-to-top{
  position:fixed;
  right:1rem;
  bottom:1rem;
  width:3rem;
  height:3rem;
  border:0;
  border-radius:999px;
  background:var(--green);
  color:#fff;
  font-size:1.4rem;
  font-weight:900;
  box-shadow:0 14px 34px rgba(15,61,46,.28);
  cursor:pointer;
  opacity:0;
  transform:translateY(1rem);
  pointer-events:none;
  transition:opacity .2s ease,transform .2s ease;
  z-index:999;
}
.floating-back-to-top.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}

.event-link{
    display:inline-flex;
    align-items:center;
    gap:.35rem;
    padding:.7rem .95rem;
    border-radius:.85rem;
    background:#efe3cf;
    color:var(--green);
    text-decoration:none;
    font-weight:850;
    transition:all .18s ease;
}

.event-link:hover,
.event-link:focus-visible{
    background:var(--lime);
    color:#1b2a23;
    transform:translateY(-1px);
    outline:none;
}

.live-pro-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
}

.live-pro-form .set-picker,
.live-pro-form .winner-picker,
.live-pro-form .score-finish {
    grid-column: 1 / -1;
}

.live-pro-form .score-big {
    min-height: 4rem;
    font-size: 1rem;
}

.live-pro-form .score-small {
    min-height: 3.5rem;
}

.live-pro-form .neutral,
.live-pro-form .danger-soft {
    grid-column: auto;
}

.notification-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: .75rem 1.25rem;
}

.notification-options label,
.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-weight: 850;
    line-height: 1.35;
}

.notification-options input[type="checkbox"],
.privacy-check input[type="checkbox"] {
    width: auto;
    margin-top: .15rem;
    flex: 0 0 auto;
}

.notification-options span,
.privacy-check span {
    flex: 1;
}

@media (min-width: 700px) {
    .notification-options {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
.own-side { color: var(--green); font-weight: 950; }
.session-winner { font-weight: 1000; text-decoration: underline; text-underline-offset: .18em; }

.result-card h3 .own-side {
    color: var(--clay);
    font-weight: 950;
}

.result-card h3 .partner-side {
    color: inherit;
}

.result-card h3 .session-winner {
    font-weight: 1000;
    text-decoration: underline;
    text-decoration-thickness: .12em;
    text-underline-offset: .18em;
}

.own-side {
    color: var(--clay) !important;
    font-weight: 950;
}

.partner-side {
    color: inherit !important;
}

.session-winner {
    font-weight: 1000;
    text-decoration: underline;
    text-decoration-thickness: .12em;
    text-underline-offset: .18em;
}

.point-score-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .75rem;
}

.point-score-form label {
    grid-column: span 1;
}

.point-score-form .score-big,
.point-score-form .score-small {
    width: 100%;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1rem;
}

.hero-action-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border: 0;
    border-radius: 999px;
    padding: .8rem 1.1rem;
    font-weight: 900;
    text-decoration: none;
    cursor: pointer;
}

.hero-action-secondary {
    background: rgba(255,255,255,.14);
    color: #fff;
}

.hero-action-primary {
    background: var(--clay);
    color: #fff;
}

.notification-panel {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 1.25rem;
    background: rgba(255,255,255,.12);
    backdrop-filter: blur(8px);
}

.notification-choice-grid {
    display: grid;
    gap: .75rem;
    margin-top: .75rem;
}

.notification-choice-card {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    padding: .9rem 1rem;
    border-radius: 1rem;
    background: rgba(255,255,255,.95);
    color: var(--green);
    text-decoration: none;
    border: 0;
    text-align: left;
    font: inherit;
    cursor: pointer;
}

.notification-choice-card strong {
    font-weight: 950;
}

.notification-choice-card span {
    font-weight: 900;
    color: var(--clay);
}

.notification-hint {
    margin-top: .75rem;
    font-size: .9rem;
    opacity: .9;
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    margin-left: .35rem;
    cursor: help;
    font-weight: 900;
}

.info-tooltip:hover::after,
.info-tooltip:focus::after {
    content: attr(aria-label);
    position: absolute;
    left: 50%;
    bottom: 130%;
    transform: translateX(-50%);
    width: min(260px, 80vw);
    padding: .65rem .75rem;
    border-radius: .75rem;
    background: var(--green);
    color: #fff;
    font-size: .8rem;
    line-height: 1.35;
    z-index: 20;
}

.notification-status-actions {
    margin-top: .85rem;
    display: grid;
    gap: .5rem;
}

.notification-status-actions .btn {
    justify-self: start;
}

.notification-status-actions .notification-hint {
    margin: 0;
}

.news-grid.is-loading,
.result-event-list.is-loading,
.player-grid.is-loading {
    opacity: .35 !important;
    filter: blur(1px);
    transform: scale(.98);
    transition:
            opacity .2s ease,
            transform .2s ease,
            filter .2s ease;
    pointer-events: none;
}

.news-grid.is-loading::before,
.result-event-list.is-loading::before,
.player-grid.is-loading::before {
    content: "Daten werden aktualisiert …";
    grid-column: 1 / -1;
    display: block;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: var(--clay);
    color: #fff;
    font-weight: 900;
}

.news-card {
    animation: newsFadeIn .35s ease both;
}

@keyframes newsFadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.result-grid.is-loading {
    opacity: .35 !important;
    filter: blur(1px);
    transform: scale(.98);
    transition:
            opacity .2s ease,
            transform .2s ease,
            filter .2s ease;
    pointer-events: none;
}

.result-grid.is-loading::before {
    content: "Sessiones werden aktualisiert …";
    grid-column: 1 / -1;
    display: block;
    padding: .85rem 1rem;
    border-radius: 1rem;
    background: var(--clay);
    color: #fff;
    font-weight: 900;
}

.score-start {
    grid-column: 1 / -1;
    min-height: 4rem;
    background: var(--green2);
    font-size: 1.08rem;
}

.score-start:hover,
.score-start:focus-visible {
    background: var(--green);
}

.admin-push-fab {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 999;
    width: 3.75rem;
    height: 3.75rem;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--clay);
    color: #fff;
    text-decoration: none;
    font-size: 1.45rem;
    box-shadow: 0 16px 40px rgba(0,0,0,.24);
    transition:
            transform .18s ease,
            background .18s ease,
            box-shadow .18s ease;
}

.admin-push-fab:hover,
.admin-push-fab:focus-visible {
    transform: translateY(-2px) scale(1.04);
    background: var(--green);
    box-shadow: 0 20px 48px rgba(0,0,0,.28);
}

.admin-floating-back-to-top {
    bottom: 5.5rem !important;
}

/* v0.4.2 – Personen-Stammdaten */
.section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.section-heading h2 { margin: 0 0 .25rem; }
.form-section-title {
    margin: .5rem 0 0;
    padding-top: 1rem;
    border-top: 1px solid rgba(15, 61, 46, .12);
    color: var(--green);
    font-size: 1rem;
}
.form-actions {
    display: flex;
    gap: .6rem;
    align-items: center;
    flex-wrap: wrap;
}
.compact-form { margin-top: 1rem; }
label small.muted { display: block; margin-top: .35rem; }

/* v0.4.2.1 – zentrale Admin-Tabellen */
.dt-column-filters th {
    padding-top: .35rem !important;
    padding-bottom: .6rem !important;
}
.dt-column-filter {
    width: 100%;
    min-width: 90px;
    box-sizing: border-box;
    border: 1px solid #cfd8cf;
    border-radius: .55rem;
    padding: .38rem .5rem;
    font: inherit;
    font-size: .86rem;
    font-weight: 500;
    background: #fff;
}
.dt-column-filter::placeholder {
    color: var(--muted);
    opacity: .8;
}
.dataTables_wrapper .dataTables_filter {
    display: flex;
    align-items: center;
    gap: .4rem;
}
.dataTables_wrapper .dataTables_filter input {
    min-width: 220px;
}

/* v0.4.2.2 – Mentoring Hub Design System & Themes
   Theme tokens override legacy palette without coupling components to a skin. */
:root,
html[data-theme="mentoring"] {
    color-scheme: light;
    /* MentForMigra-inspired: orange is the clear primary brand colour. */
    --green: #e8751a;
    --green2: #f28a24;
    --lime: #f3b24a;
    --sand: #fff6ea;
    --clay: #8a817b;
    --clay-dark: #625b57;
    --cream: #fffdf9;
    --ink: #342f2c;
    --muted: #746d68;
    --card: #ffffff;
    --line: #eadfd5;
    --theme-surface: #ffffff;
    --theme-surface-alt: #fff6ea;
    --theme-input: #ffffff;
    --theme-shadow: rgba(120, 79, 42, .10);
}

html[data-theme="light"] {
    color-scheme: light;
    --green: #31566b;
    --green2: #47758d;
    --lime: #d9a928;
    --sand: #f4f6f8;
    --clay: #667085;
    --clay-dark: #475467;
    --cream: #ffffff;
    --ink: #1d2939;
    --muted: #667085;
    --card: #ffffff;
    --line: #dfe4ea;
    --theme-surface: #ffffff;
    --theme-surface-alt: #f4f6f8;
    --theme-input: #ffffff;
    --theme-shadow: rgba(16, 24, 40, .08);
}

html[data-theme="dark"] {
    color-scheme: dark;
    --green: #55a89b;
    --green2: #76c2b6;
    --lime: #f2c94c;
    --sand: #111816;
    --clay: #e07a55;
    --clay-dark: #bd5d3d;
    --cream: #19221f;
    --ink: #eef4f1;
    --muted: #a8b8b3;
    --card: #19221f;
    --line: #34433e;
    --theme-surface: #19221f;
    --theme-surface-alt: #111816;
    --theme-input: #202c28;
    --theme-shadow: rgba(0, 0, 0, .28);
}

html[data-theme="mentoring"] body,
html[data-theme="light"] body,
html[data-theme="dark"] body {
    background: var(--theme-surface-alt);
    color: var(--ink);
}

html[data-theme] .card,
html[data-theme] .table-wrap,
html[data-theme] .location-switch,
html[data-theme] .news-card,
html[data-theme] .empty-card,
html[data-theme] .event-card,
html[data-theme] .result-card,
html[data-theme] .score-card {
    background: var(--theme-surface);
    color: var(--ink);
    border-color: var(--line);
    box-shadow: 0 12px 30px var(--theme-shadow);
}

html[data-theme] input,
html[data-theme] select,
html[data-theme] textarea,
html[data-theme] .dt-column-filter {
    background: var(--theme-input);
    color: var(--ink);
    border-color: var(--line);
}

html[data-theme] td,
html[data-theme] th,
html[data-theme] .form-section-title {
    border-color: var(--line);
}

html[data-theme="dark"] .admin-nav a {
    color: #07110f;
}
html[data-theme="dark"] .admin-nav a.active,
html[data-theme="dark"] .btn-danger {
    color: #fff;
}
html[data-theme="dark"] .btn-secondary {
    color: #fff;
}

.theme-switcher {
    display: flex;
    align-items: end;
    gap: .45rem;
    flex-wrap: wrap;
}
.theme-switcher label {
    min-width: 150px;
}
.theme-switcher select {
    margin-top: .25rem;
    padding: .55rem .7rem;
}
@media (max-width: 760px) {
    .theme-switcher { width: 100%; }
    .theme-switcher label { width: 100%; }
}

/* v0.4.2.3 – Benutzerverwaltung */
.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: .65rem 1rem;
}

.checkbox-grid label {
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: start;
    column-gap: .55rem;
    padding: .7rem;
    border: 1px solid var(--border-color, #d9dfdc);
    border-radius: .75rem;
}

.checkbox-grid label .muted {
    grid-column: 2;
    font-size: .9em;
}

/* v0.4.2.5 – öffentliche Mentoring-Landing-Page */
.landing-page{background:#fffdf8;color:#20302d}.landing-page h1,.landing-page h2,.landing-page h3{letter-spacing:-.04em}.landing-topbar{max-width:1180px;margin:auto;padding:1rem 1.25rem;display:flex;align-items:center;justify-content:space-between;gap:1rem}.landing-brand{display:flex;align-items:center;gap:.65rem;text-decoration:none;font-weight:950}.landing-brand-mark{display:grid;place-items:center;width:2.45rem;height:2.45rem;border-radius:.85rem;background:#1f5f57;color:#fff;font-size:1.25rem}.landing-top-actions{display:flex;align-items:center;gap:.8rem}.landing-topbar .language-switch{border-color:rgba(31,95,87,.16);background:#f6f2ea}.landing-topbar .language-switch a.active{background:#1f5f57;color:#fff}.landing-admin-link{font-size:.82rem;color:#687773;text-decoration:none;font-weight:800}.landing-hero{max-width:1180px;margin:0 auto;padding:2rem 1.25rem 4rem;display:grid;gap:2rem}.landing-hero-copy{align-self:center}.landing-kicker{margin:0 0 .8rem;color:#d76b45!important;text-transform:uppercase;letter-spacing:.16em;font-size:.76rem;font-weight:950}.landing-hero h1{max-width:760px;margin:0;font-size:clamp(3rem,9vw,6.8rem);line-height:.9;color:#1f5f57}.landing-lead{max-width:620px;margin:1.5rem 0;color:#687773;font-size:clamp(1.05rem,2vw,1.25rem);line-height:1.65}.landing-location-form{max-width:420px;padding:1rem 1.1rem;border-radius:1rem;background:#f6f2ea}.landing-location-form label{display:block;margin-bottom:.45rem;color:#1f5f57}.landing-location-form select{background:#fffdf8}.landing-hero-visual{position:relative;min-height:380px;border-radius:2.2rem;overflow:hidden;background:linear-gradient(145deg,#f2c94c 0 36%,#d76b45 36% 64%,#1f5f57 64%);box-shadow:0 28px 70px rgba(31,95,87,.18)}.landing-hero-visual.has-image{background-size:cover;background-position:center}.landing-hero-visual.has-image:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(31,95,87,.05),rgba(31,95,87,.72))}.landing-hero-shape{position:absolute;border-radius:999px;background:rgba(255,255,255,.18)}.landing-hero-shape-one{width:250px;height:250px;right:-60px;top:-40px}.landing-hero-shape-two{width:170px;height:170px;left:-35px;bottom:-30px}.landing-hero-message{position:absolute;z-index:2;left:1.4rem;right:1.4rem;bottom:1.4rem;padding:1.25rem;border-radius:1.25rem;background:rgba(255,253,248,.92);backdrop-filter:blur(12px);box-shadow:0 15px 40px rgba(0,0,0,.12)}.landing-hero-message span{display:block;color:#d76b45;font-weight:950}.landing-hero-message strong{display:block;margin:.2rem 0;font-size:1.5rem;color:#1f5f57}.landing-hero-message small{display:block;color:#687773;line-height:1.5}.landing-section{padding:4rem max(1.25rem,calc((100vw - 1180px)/2))}.landing-section-warm{background:#f6f2ea}.landing-section-head{display:flex;justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1.5rem}.landing-section-head p{margin:0;color:#d76b45;text-transform:uppercase;letter-spacing:.15em;font-size:.75rem;font-weight:950}.landing-section-head h2{margin:.25rem 0 0;color:#1f5f57;font-size:clamp(2.2rem,5vw,4rem)}.landing-card-grid{display:grid;gap:1rem}.landing-content-card,.landing-offer-card,.landing-person-card,.landing-empty{position:relative;padding:1.35rem;border:1px solid #dedfd9;border-radius:1.4rem;background:#fffdf8;box-shadow:0 15px 42px rgba(30,58,53,.07)}.landing-content-card{overflow:hidden}.landing-card-accent{position:absolute;left:0;top:0;bottom:0;width:.35rem;background:#f2c94c}.landing-content-card time{color:#687773;font-size:.8rem;font-weight:800}.landing-content-card h3,.landing-offer-card h3,.landing-person-card h3{margin:.45rem 0;font-size:1.3rem;color:#20302d}.landing-content-card p,.landing-offer-card p,.landing-person-card p{color:#687773;line-height:1.6}.landing-pill{display:inline-flex;padding:.35rem .65rem;border-radius:999px;background:rgba(31,95,87,.1);color:#1f5f57;font-size:.76rem;font-weight:900}.landing-date{margin-top:1rem;color:#d76b45;font-weight:900}.landing-person-card{display:grid;grid-template-columns:auto 1fr;gap:1rem}.landing-avatar{display:grid;place-items:center;width:4rem;height:4rem;border-radius:1.25rem;background:#1f5f57;color:#fff;font-weight:950;font-size:1.2rem}.landing-person-card strong{color:#d76b45;font-size:.85rem}.landing-person-card a{color:#1f5f57;font-weight:850}.landing-cta-wrap{display:grid}.landing-cta{padding:3.2rem max(1.25rem,calc((100vw - 1180px)/2));}.landing-cta h2{margin:.2rem 0;font-size:clamp(2rem,5vw,3.6rem)}.landing-cta p:not(.landing-kicker){max-width:620px;line-height:1.65}.landing-cta-notify{background:#1f5f57;color:#fff}.landing-cta-notify .landing-kicker{color:#f2c94c!important}.landing-cta-notify p:not(.landing-kicker){color:rgba(255,255,255,.78)}.landing-cta-web{background:#f2c94c;color:#20302d}.landing-button{display:inline-flex;margin-top:.7rem;padding:.85rem 1.1rem;border-radius:.9rem;background:#1f5f57;color:#fff;text-decoration:none;font-weight:900}.landing-button-light{background:#fffdf8;color:#1f5f57}.landing-footer{padding:2rem max(1.25rem,calc((100vw - 1180px)/2));display:flex;justify-content:space-between;gap:1.5rem;flex-wrap:wrap;background:#172b27;color:#fff}.landing-footer>div{display:flex;gap:.8rem;flex-wrap:wrap}.landing-footer span,.landing-footer a{color:rgba(255,255,255,.72);text-decoration:none}.landing-empty{color:#687773}@media(min-width:760px){.landing-hero{grid-template-columns:1.12fr .88fr;padding-top:4rem}.landing-card-grid{grid-template-columns:repeat(3,1fr)}.landing-team-grid{grid-template-columns:repeat(2,1fr)}.landing-cta-wrap{grid-template-columns:1fr 1fr}.landing-cta-notify{padding-left:max(2rem,calc((100vw - 1180px)/2));padding-right:3rem}.landing-cta-web{padding-left:3rem;padding-right:max(2rem,calc((100vw - 1180px)/2))}}@media(max-width:640px){.landing-admin-link{display:none}.landing-topbar{padding:.8rem 1rem}.landing-hero{padding-top:1rem}.landing-hero-visual{min-height:310px}}

/* v0.4.2.6 – Landing page accordion / fresh API loading */
.landing-accordion-section {
    padding-top: 1.1rem;
    padding-bottom: 1.1rem;
}

.landing-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
    border: 0;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.landing-section-toggle span:first-child {
    display: grid;
    gap: .25rem;
}

.landing-section-toggle small {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .09em;
    text-transform: uppercase;
    opacity: .65;
}

.landing-section-toggle strong {
    font-size: clamp(1.55rem, 3vw, 2.35rem);
    line-height: 1.1;
}

.landing-toggle-icon {
    flex: 0 0 2.7rem;
    width: 2.7rem;
    height: 2.7rem;
    display: grid;
    place-items: center;
    border: 1px solid var(--border, rgba(0,0,0,.15));
    border-radius: 50%;
    font-size: 1.8rem;
    font-weight: 300;
    line-height: 1;
    transition: transform .2s ease;
}

.landing-section-toggle[aria-expanded="true"] .landing-toggle-icon {
    transform: rotate(45deg);
}

.landing-section-content {
    padding: .75rem 0 1.5rem;
}

.landing-section-loading {
    padding: 1.25rem 0;
    opacity: .7;
}

.landing-load-error {
    border-style: dashed;
}

/* v0.4.2.7a – MentForMigra brand correction
   Orange leads; violet, pink and green are deliberately small secondary accents. */
.landing-page {
    --mfm-orange: #f28a24;
    --mfm-orange-deep: #df741b;
    --mfm-orange-soft: #fff3e2;
    --mfm-violet: #7054a3;
    --mfm-pink: #d94f83;
    --mfm-green: #79a83b;
    --mfm-ink: #342f2c;
    --mfm-muted: #746d68;
    --mfm-paper: #fffdf9;
    --mfm-warm: #fff6ea;
    background: var(--mfm-paper);
    color: var(--mfm-ink);
}

.landing-brand-mark,
.landing-topbar .language-switch a.active,
.landing-button {
    background: var(--mfm-orange);
}

.landing-brand,
.landing-location-form label,
.landing-hero h1,
.landing-hero-message strong,
#news .landing-section-toggle strong,
#offers .landing-section-toggle strong,
#team .landing-section-toggle strong,
.landing-person-card a {
    color: var(--mfm-ink);
}

.landing-admin-link,
.landing-lead,
.landing-hero-message small,
.landing-content-card p,
.landing-offer-card p,
.landing-person-card p,
.landing-empty {
    color: var(--mfm-muted);
}

.landing-topbar .language-switch,
.landing-location-form,
#offers,
#team {
    background: var(--mfm-warm);
}

.landing-topbar .language-switch,
.landing-location-form {
    border-color: rgba(242, 138, 36, .18);
}

.landing-kicker,
.landing-hero-message span,
#news .landing-section-toggle small,
#offers .landing-section-toggle small,
#team .landing-section-toggle small,
.landing-date,
.landing-person-card strong {
    color: var(--mfm-orange-deep) !important;
    opacity: 1;
}

.landing-location-form select {
    background: #fff;
    border-color: rgba(242, 138, 36, .28);
}

.landing-hero-visual {
    background:
        radial-gradient(circle at 82% 18%, rgba(255,255,255,.28) 0 9%, transparent 9.5%),
        linear-gradient(145deg, #f6a044 0%, var(--mfm-orange) 58%, var(--mfm-orange-deep) 100%);
    box-shadow: 0 28px 70px rgba(223, 116, 27, .20);
}

.landing-hero-visual.has-image:after {
    background: linear-gradient(180deg, rgba(223,116,27,.02), rgba(77,54,39,.58));
}

.landing-hero-message { background: rgba(255, 253, 249, .95); }

#news {
    background: var(--mfm-paper);
    border-top: 1px solid rgba(242, 138, 36, .16);
}

/* Secondary brand colours are accents only, never large surfaces. */
#news .landing-toggle-icon {
    color: var(--mfm-orange-deep);
    border-color: rgba(242, 138, 36, .38);
    background: rgba(242, 138, 36, .08);
}
#offers .landing-toggle-icon {
    color: var(--mfm-pink);
    border-color: rgba(217, 79, 131, .28);
    background: rgba(217, 79, 131, .06);
}
#team .landing-toggle-icon {
    color: #668f32;
    border-color: rgba(121, 168, 59, .30);
    background: rgba(121, 168, 59, .07);
}

.landing-content-card,
.landing-offer-card,
.landing-person-card,
.landing-empty {
    background: #fff;
    border-color: rgba(120, 94, 73, .14);
    box-shadow: 0 14px 38px rgba(120, 79, 42, .07);
}

.landing-card-accent { background: var(--mfm-orange); }
.landing-offer-card { border-top: 4px solid var(--mfm-orange); }
.landing-person-card { border-top: 4px solid var(--mfm-orange); }

.landing-content-card h3,
.landing-offer-card h3,
.landing-person-card h3 { color: var(--mfm-ink); }

.landing-pill {
    background: var(--mfm-orange-soft);
    color: var(--mfm-orange-deep);
}

.landing-avatar {
    background: var(--mfm-orange);
}

.landing-cta-notify {
    background: #3e3834;
}
.landing-cta-notify .landing-kicker { color: #ffc978 !important; }
.landing-cta-web {
    background: var(--mfm-orange);
    color: #30272a;
}
.landing-button { color: #fff; }
.landing-button-light {
    background: #fff;
    color: var(--mfm-orange-deep);
}
.landing-footer { background: #332e2b; }

.landing-section-toggle:focus-visible,
.landing-button:focus-visible,
.landing-brand:focus-visible,
.landing-admin-link:focus-visible {
    outline: 3px solid rgba(242, 138, 36, .45);
    outline-offset: 4px;
}

/* v0.4.2.7b – Calm Admin Theme
   Mentoring admin stays brand-related, but uses orange selectively.
   Public landing page is intentionally untouched. */
html[data-theme="mentoring"] .admin-nav a {
    background: #fffdf9;
    color: #4a433f;
    border: 1px solid #eadfd5;
    box-shadow: 0 4px 14px rgba(120, 79, 42, .05);
}

html[data-theme="mentoring"] .admin-nav a:hover,
html[data-theme="mentoring"] .admin-nav a:focus-visible {
    background: #fff6ea;
    color: #342f2c;
    border-color: #efc69f;
    outline: none;
}

html[data-theme="mentoring"] .admin-nav a.active {
    background: #f28a24;
    color: #fff;
    border-color: #df741b;
    box-shadow: 0 7px 18px rgba(223, 116, 27, .16);
}

html[data-theme="mentoring"] .admin-nav a.active:hover,
html[data-theme="mentoring"] .admin-nav a.active:focus-visible {
    background: #df741b;
    color: #fff;
}

html[data-theme="mentoring"] .admin-grid .card p {
    color: #342f2c;
}

html[data-theme="mentoring"] .admin-grid .card .btn {
    background: #fff8ef;
    color: #7b4a20;
    border: 1px solid #efd7bd;
    box-shadow: none;
}

html[data-theme="mentoring"] .admin-grid .card .btn:hover,
html[data-theme="mentoring"] .admin-grid .card .btn:focus-visible {
    background: #fff1df;
    color: #5f3819;
    border-color: #e7bd91;
    outline: none;
}

html[data-theme="mentoring"] .language-switch-admin {
    border-color: #eadfd5;
    box-shadow: 0 4px 14px rgba(120, 79, 42, .05);
}

html[data-theme="mentoring"] .language-switch-admin a {
    color: #625b57;
}

html[data-theme="mentoring"] .language-switch-admin a.active {
    background: #f28a24;
    color: #fff;
}

html[data-theme="mentoring"] .dataTables_wrapper .dt-button {
    background: #fff8ef !important;
    color: #6d4a2d !important;
    border: 1px solid #efd7bd !important;
}

html[data-theme="mentoring"] .dataTables_wrapper .dt-button:hover {
    background: #fff1df !important;
    color: #4f3520 !important;
}


/* v0.4.2.8 – contextual help / manual */
.admin-help-bar { display:flex; justify-content:flex-end; margin: 0 0 .65rem; }
.admin-help-button { display:inline-flex; align-items:center; gap:.45rem; padding:.5rem .8rem; border:1px solid var(--border, #d9d4cb); border-radius:999px; background:var(--surface, #fff); color:var(--text, #263238); text-decoration:none; font-weight:700; box-shadow:0 2px 8px rgba(0,0,0,.04); }
.admin-help-button span { display:inline-grid; place-items:center; width:1.35rem; height:1.35rem; border-radius:50%; background:var(--primary, #e87500); color:#fff; }
.admin-help-button:hover { border-color:var(--primary, #e87500); }
.help-page { margin:0; background:#fbf7ef; color:#252525; }
.help-shell { min-height:100vh; display:grid; grid-template-columns:260px 1fr; }
.help-sidebar { background:#fff; border-right:1px solid #e8e0d5; padding:1.5rem 1rem; }
.help-brand { display:flex; flex-direction:column; gap:.15rem; padding:.25rem .65rem 1rem; color:#252525; }
.help-brand strong { font-size:1.15rem; }
.help-brand span { color:#777; font-size:.9rem; }
.help-sidebar nav { display:flex; flex-direction:column; gap:.2rem; }
.help-sidebar nav a { color:#3b3b3b; text-decoration:none; padding:.55rem .65rem; border-radius:.55rem; }
.help-sidebar nav a:hover { background:#fff4e7; }
.help-sidebar nav a.active { background:#e87500; color:#fff; font-weight:700; }
.help-content { max-width:920px; padding:2rem 3rem 4rem; }
.help-topline { display:flex; justify-content:space-between; color:#777; font-size:.9rem; margin-bottom:1.2rem; }
.help-topline a { color:#b65b00; font-weight:700; text-decoration:none; }
.help-content h1 { margin:.1rem 0 .7rem; font-size:2rem; }
.help-lead { font-size:1.12rem; line-height:1.65; max-width:760px; }
.help-card { background:#fff; border:1px solid #e8e0d5; border-radius:14px; padding:1rem 1.15rem; margin-top:1rem; box-shadow:0 5px 18px rgba(0,0,0,.035); }
.help-card h2 { margin:0 0 .4rem; font-size:1.05rem; }
.help-card p { margin:0; line-height:1.55; }
.help-status { border-left:4px solid #e87500; }
@media (max-width:760px) { .help-shell { grid-template-columns:1fr; } .help-sidebar { border-right:0; border-bottom:1px solid #e8e0d5; } .help-sidebar nav { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); } .help-content { padding:1.35rem; } }
