.status.warning {
  background: #fff3d6;
  color: #8a5700;
}

.status.live { background:#fee8e8;color:#b4232c; }
.live-ticker-admin-hero .module-icon { color:#fff;background:#d92d3a;box-shadow:0 10px 24px #d92d3a35; }
.live-ticker-admin-list { display:grid;gap:10px; }
.live-ticker-admin-row { display:grid;grid-template-columns:auto minmax(0,1fr) auto auto;align-items:center;gap:18px;padding:16px 18px;border:1px solid #dce8f2;border-radius:15px;background:#fff; }
.live-ticker-admin-row>div { display:grid;gap:4px; }
.live-ticker-admin-row>div strong { color:#173a5e;font-size:16px; }
.live-ticker-admin-row>div span { color:#6b8298;font-size:13px; }
.live-ticker-admin-score { color:#075399;font-size:22px;white-space:nowrap; }
.live-ticker-admin-dialog { width:min(920px,calc(100% - 28px));max-height:calc(100vh - 36px); }
.live-ticker-admin-content { padding:28px;overflow:auto;max-height:calc(100vh - 36px); }
.live-ticker-score-panel { display:grid;place-items:center;gap:12px;margin:24px 0;padding:24px;border-radius:20px;background:linear-gradient(135deg,#063b70,#0870c9);color:#fff; }
.live-ticker-score-panel>div { display:grid;grid-template-columns:minmax(100px,1fr) auto minmax(100px,1fr);align-items:center;gap:22px;width:100%;text-align:center; }
.live-ticker-score-panel strong { font-size:40px;white-space:nowrap; }
.live-ticker-admin-event-form { display:grid;grid-template-columns:1fr 1fr 90px 2fr auto;gap:8px;padding:16px 0; }
.live-ticker-admin-event-form input,.live-ticker-admin-event-form select { min-width:0; }
.live-ticker-admin-events { display:grid;gap:8px; }
.live-ticker-admin-event { display:grid;grid-template-columns:46px minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:12px;border:1px solid #e1ebf3;border-radius:12px;background:#fbfdff; }
.live-ticker-admin-event>div { display:grid;gap:3px; }
.live-ticker-admin-event small { color:#6b8298; }
.live-ticker-admin-event button { padding:8px 10px;font-size:12px; }
.live-ticker-admin-actions { display:flex;flex-wrap:wrap;gap:10px;margin-top:16px; }
.live-ticker-report-list { display:grid;gap:10px; }
.live-ticker-report { display:grid;gap:10px;padding:14px;border:1px solid #f0c2c6;border-radius:13px;background:#fff8f8; }
.live-ticker-report.resolved { border-color:#dce8f2;background:#f8fbfe; }
.live-ticker-report-head,.live-ticker-report-actions { display:flex;align-items:center;flex-wrap:wrap;gap:9px; }
.live-ticker-report-head strong { color:#7f1d28; }
.live-ticker-report.resolved .live-ticker-report-head strong { color:#315b80; }
.live-ticker-report p { margin:0;color:#526f88;line-height:1.45; }
.live-ticker-report small { color:#7890a5; }
.live-ticker-report-actions button { padding:8px 10px;font-size:12px; }
@media(max-width:760px){.live-ticker-admin-row{grid-template-columns:1fr auto}.live-ticker-admin-row .status{justify-self:start}.live-ticker-admin-event-form{grid-template-columns:1fr 1fr}.live-ticker-admin-event-form input,.live-ticker-admin-event-form button{grid-column:1/-1}.live-ticker-admin-event{grid-template-columns:40px 1fr}.live-ticker-admin-event button{grid-column:auto}.live-ticker-score-panel>div{gap:8px}.live-ticker-score-panel strong{font-size:30px}}

.notice.failure {
  background: #fde8e8;
  color: #9b1c1c;
}

button:disabled {
  cursor: wait;
  opacity: .65;
}

.toolbar {
  align-items: flex-start;
}

.toolbar .actions {
  max-width: 720px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.team-overview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 22px 24px;
  margin: 0 0 30px;
  border: 1px solid #d9e8f4;
  border-radius: 18px;
  background: linear-gradient(135deg, #f6fbff, #edf6fd);
}

.source-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.source-info strong {
  display: block;
  color: #173a5e;
  font-size: 15px;
}

.source-info p {
  margin: 4px 0 0;
  color: #6b8298;
  font-size: 13px;
}

.source-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  border-radius: 13px;
  background: #0870c9;
  color: #fff;
  font-size: 23px;
  font-weight: 800;
}

.team-stats {
  display: flex;
  align-items: center;
  gap: 0;
}

.team-stats div {
  display: grid;
  min-width: 105px;
  padding: 0 20px;
  border-left: 1px solid #d9e8f4;
}

.team-stats strong {
  color: #075399;
  font-size: 24px;
  line-height: 1;
}

.team-stats span {
  margin-top: 6px;
  color: #6b8298;
  font-size: 12px;
}

.list-tools {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.list-tools h3 {
  margin: 0;
  color: #173a5e;
  font-size: 23px;
}

.search-field {
  width: min(330px, 100%);
}

.search-field input {
  padding-left: 42px;
  background: #f8fbfe
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='none' stroke='%236b8298' stroke-width='2' viewBox='0 0 24 24'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-4-4'/%3E%3C/svg%3E")
    no-repeat 14px center;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.team-list {
  display: grid;
  gap: 28px;
}

.team-group-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  padding: 0 4px;
}

.team-group-heading h4 {
  margin: 0;
  color: #49677f;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.team-group-heading span {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 99px;
  background: #e9f2f9;
  color: #075399;
  font-size: 12px;
  font-weight: 800;
}

.team-rows {
  overflow: hidden;
  border: 1px solid #dce8f2;
  border-radius: 16px;
  background: #fff;
}

.team-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
  padding: 13px 16px;
  border-bottom: 1px solid #e6eef5;
  transition: background .15s ease;
}

.team-row:last-child {
  border-bottom: 0;
}

.team-row:hover {
  background: #f8fbfe;
}

.team-identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 14px;
}

.team-monogram {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  border: 1px solid #cfe2f2;
  border-radius: 13px;
  background: #edf6fd;
  color: #075399;
  font-size: 17px;
  font-weight: 900;
}

.team-identity h5 {
  overflow: hidden;
  margin: 0;
  color: #173a5e;
  font-size: 16px;
  line-height: 1.3;
  text-overflow: ellipsis;
}

.team-identity p {
  margin: 4px 0 0;
  color: #7890a5;
  font-size: 13px;
}

.team-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.source-link {
  color: #577087;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.source-link:hover {
  color: #0870c9;
  text-decoration: underline;
}

.row-edit {
  padding: 9px 13px;
  font-size: 13px;
}

@media (max-width: 900px) {
  .team-overview {
    align-items: flex-start;
    flex-direction: column;
  }

  .team-stats {
    width: 100%;
  }

  .team-stats div {
    min-width: 0;
    flex: 1;
  }
}

@media (max-width: 680px) {
  .team-overview {
    padding: 18px;
  }

  .team-stats div {
    padding: 0 12px;
  }

  .team-stats div:first-child {
    padding-left: 0;
    border-left: 0;
  }

  .list-tools {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field {
    width: 100%;
  }

  .team-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .team-meta {
    align-items: flex-end;
    flex-direction: column;
    gap: 5px;
  }

  .row-edit {
    grid-column: 1 / -1;
    width: 100%;
  }
}

.team-details-dialog{width:min(920px,calc(100% - 28px));max-height:calc(100vh - 32px)}
.team-details-content{display:grid;gap:28px;padding:30px;overflow:auto}
.team-details-content>.dialog-head{align-items:flex-start}
.team-detail-hero{display:grid;grid-template-columns:minmax(280px,1.25fr) minmax(240px,.75fr);gap:24px;padding:22px;border:1px solid #dce8f2;border-radius:18px;background:#f8fbfe}
.team-image-frame{position:relative;display:grid;place-items:center;min-height:230px;overflow:hidden;border:1px dashed #bcd2e4;border-radius:15px;background:#eaf3fa;color:#68829a;font-weight:750;text-align:center}
.team-image-frame img{width:100%;height:100%;min-height:230px;max-height:380px;object-fit:cover}
.team-image-controls{display:flex;flex-direction:column;justify-content:center;gap:12px}
.team-image-controls h3{margin:0;color:#173a5e}
.team-image-controls input[type=file]{padding:10px;background:#fff}
.team-image-controls .dialog-actions{justify-content:flex-start;flex-wrap:wrap}
.team-roster-section{display:grid;gap:16px}
.team-roster-section .section-title{align-items:flex-start}
.privacy-note{margin:0;padding:12px 14px;border-radius:11px;background:#edf6fd;color:#315b80;font-size:13px;line-height:1.5}
.team-roster{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.team-player-row{display:flex;align-items:center;gap:12px;min-width:0;padding:12px;border:1px solid #dce8f2;border-radius:13px;background:#fff}
.team-player-portrait{display:grid;place-items:center;width:52px;height:52px;flex:0 0 auto;overflow:hidden;border-radius:50%;background:#eaf3fa;color:#075399;font-weight:900}
.team-player-portrait img{width:100%;height:100%;object-fit:cover}
.team-player-row>div:last-child{display:grid;gap:4px;min-width:0}
.team-player-row strong{overflow:hidden;color:#173a5e;text-overflow:ellipsis;white-space:nowrap}
.team-player-row span{color:#6b8298;font-size:13px}
.team-roster-empty{grid-column:1/-1;padding:28px;text-align:center}
.team-detail-actions{padding-top:4px;border-top:1px solid #e5eef6}
.team-info-section{display:grid;gap:15px;padding-bottom:24px;border-bottom:1px solid #e5eef6}.team-info-section .section-title{align-items:flex-start}.team-staff-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.team-staff-row{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid #dce8f2;border-radius:13px;background:#fff}.team-staff-row.team-staff-hidden{border-style:dashed;background:#f7fafc}.team-staff-badge{display:grid;place-items:center;width:42px;height:42px;flex:0 0 auto;border-radius:50%;background:#eaf3fa;color:#075399;font-size:13px;font-weight:900}.team-staff-row>div{display:grid;gap:3px;min-width:0}.team-staff-row strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.team-staff-row span:last-child{color:#6b8298;font-size:13px}.team-training-list{display:grid;gap:10px}.team-training-row{display:grid;grid-template-columns:110px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid #dce8f2;border-radius:13px;background:#fff}.training-day{color:#075399;font-weight:850}.team-training-row>div:nth-child(2){display:grid;gap:3px}.team-training-row span,.team-training-row small{color:#6b8298}.team-training-row button{padding:9px 12px}.info-empty{margin:0;padding:20px;border:1px dashed #c9dbea;border-radius:13px;text-align:center}.team-staff-dialog{width:min(980px,calc(100% - 28px));max-height:calc(100vh - 40px)}.team-staff-editor{display:grid;gap:10px}.team-staff-edit-row{display:grid;grid-template-columns:minmax(220px,1.4fr) minmax(170px,1fr) minmax(190px,auto) auto;gap:10px;align-items:center}.team-staff-edit-row .staff-visibility{margin:0;white-space:nowrap}.team-staff-edit-row button{padding:13px}.venue-form{margin-top:28px;padding:24px!important;border:1px solid #dce8f2;border-radius:18px;background:#fbfdff}.venue-sync-form{display:grid;gap:16px}.venue-sync-form label{max-width:360px}.venue-list-title{margin-top:30px}.venue-list{display:grid;gap:10px;margin-top:16px}.venue-list-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #dce8f2;border-radius:14px}.venue-list-item>div:first-child{display:grid;gap:4px}.venue-list-item span{color:#6b8298;font-size:13px}.venue-controls{display:flex;align-items:center;gap:9px;flex:0 0 auto}.venue-controls button{padding:9px 12px}.match-admin-swap{grid-column:1/-1}
.team-competition-section{display:grid;gap:16px;padding-bottom:24px;border-bottom:1px solid #e5eef6}.team-competition-section .section-title{align-items:flex-start}.competition-tabs{display:flex;gap:8px;padding:5px;border-radius:14px;background:#edf5fb}.competition-tab{flex:1;padding:11px 16px;background:transparent;color:#28577e}.competition-tab.active{background:#fff;color:#075399;box-shadow:0 4px 16px #173a5e12}.competition-empty{display:grid;gap:5px;padding:26px;border:1px dashed #bed5e7;border-radius:15px;background:#f8fbfe;text-align:center}.competition-empty strong{color:#173a5e}.competition-empty span{color:#6b8298}.match-list{display:grid;gap:11px}.match-card{display:grid;gap:13px;padding:16px 18px;border:1px solid #d5e5f1;border-radius:15px;background:#fff}.match-head,.match-foot{display:flex;align-items:center;justify-content:space-between;gap:14px;color:#6b8298;font-size:12px}.match-head strong{color:#315b80}.match-pairing{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:16px}.match-pairing span:last-child{text-align:right}.match-pairing .own-team{color:#075399;font-weight:850}.match-score{min-width:64px;padding:8px 10px;border-radius:10px;background:#eaf3fa;color:#075399;font-size:18px;text-align:center}.match-status{padding:4px 8px;border-radius:999px;background:#edf5fb;color:#315b80}.match-status.finished{background:#e6f7ee;color:#147a46}.standings-wrap{overflow-x:auto;border:1px solid #d5e5f1;border-radius:15px}.standings-table{width:100%;border-collapse:collapse;white-space:nowrap}.standings-table th,.standings-table td{padding:12px 10px;border-bottom:1px solid #e5eef6;text-align:center}.standings-table thead th{background:#f3f8fc;color:#315b80;font-size:11px;text-transform:uppercase}.standings-table th:nth-child(2),.standings-table td:nth-child(2){min-width:220px;text-align:left}.standings-table tbody th{color:#173a5e}.standings-table tbody tr:last-child>*{border-bottom:0}.standings-table .own-standing>*{background:#eaf5fd;color:#075399;font-weight:850}
@media(max-width:720px){.team-details-content{padding:22px}.team-detail-hero{grid-template-columns:1fr}.team-roster{grid-template-columns:1fr}.team-roster-section .section-title,.team-info-section .section-title,.team-competition-section .section-title{align-items:stretch;flex-direction:column}.team-roster-section .section-title button,.team-info-section .section-title button,.team-competition-section .section-title button{width:100%}.team-training-row{grid-template-columns:1fr}.team-training-row button{width:100%}.team-staff-edit-row{grid-template-columns:1fr}.venue-list-item{align-items:flex-start;flex-direction:column}.venue-controls{width:100%;justify-content:space-between}.match-pairing{grid-template-columns:1fr auto}.match-pairing span:last-child{grid-column:1;text-align:left}.match-score{grid-column:2;grid-row:1/3}.match-head{align-items:flex-start;flex-direction:column;gap:3px}}

.main-nav.active{background:#075399;color:#fff}.news-tools{margin-top:0}.news-list{display:grid;gap:16px}.news-card{display:grid;grid-template-columns:180px minmax(0,1fr) auto;gap:20px;align-items:center;padding:18px;border:1px solid #d5e5f1;border-radius:18px;background:#fbfdff}.news-card-cover{display:grid;place-items:center;width:180px;height:118px;overflow:hidden;border-radius:14px;background:linear-gradient(145deg,#e3f0fa,#f5f9fc);color:#5d7890;font-size:30px}.news-card-cover img{width:100%;height:100%;object-fit:cover}.news-card-copy{display:grid;gap:7px;min-width:0}.news-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:9px;color:#6b8298;font-size:12px}.news-card h3{margin:0;color:#173a5e;font-size:21px}.news-card-excerpt{display:-webkit-box;overflow:hidden;margin:0;color:#526f88;line-height:1.5;-webkit-box-orient:vertical;-webkit-line-clamp:2}.news-card-files{color:#6b8298;font-size:12px}.news-card>button{min-width:110px}.news-dialog{width:min(900px,calc(100% - 28px));max-height:calc(100vh - 32px)}.news-dialog form{gap:15px;max-height:calc(100vh - 32px);overflow:auto}.wysiwyg-toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid #c9dbea;border-bottom:0;border-radius:12px 12px 0 0;background:#edf5fb}.wysiwyg-toolbar button{padding:8px 10px;border-radius:8px;background:#fff;color:#23496d;font-size:12px}.wysiwyg-toolbar button:hover{background:#dcebf7}.wysiwyg-editor{min-height:230px;padding:18px;border:1px solid #c9dbea;border-radius:0 0 12px 12px;background:#fff;color:#102a43;line-height:1.65;outline:none}.wysiwyg-editor:focus{border-color:#0870c9;box-shadow:0 0 0 4px #0870c91c}.wysiwyg-editor:empty::before{color:#8aa0b3;content:attr(data-placeholder)}.wysiwyg-editor h2,.news-body h2{margin:22px 0 8px;color:#173a5e}.wysiwyg-editor h3,.news-body h3{margin:18px 0 7px;color:#23496d}.wysiwyg-editor p,.news-body p{margin:0 0 12px}.wysiwyg-editor blockquote,.news-body blockquote{margin:16px 0;padding:12px 16px;border-left:4px solid #0870c9;background:#edf6fd;color:#315b80}.news-files-section{display:grid;gap:12px;margin-top:5px;padding:18px;border:1px solid #dce8f2;border-radius:15px;background:#f8fbfe}.news-files-section h3{margin:0}.news-files-section input[type=file]{padding:10px;background:#fff}.news-attachment-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:10px}.news-attachment{position:relative;display:grid;gap:7px;min-width:0;padding:12px;border:1px solid #d5e5f1;border-radius:12px;background:#fff}.news-attachment-preview{display:grid;place-items:center;height:95px;overflow:hidden;border-radius:9px;background:#eaf3fa;color:#075399;font-size:30px;font-weight:850}.news-attachment-preview img{width:100%;height:100%;object-fit:cover}.news-attachment strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.news-attachment small{color:#6b8298}.news-attachment button{padding:7px 9px;font-size:12px}.news-body{line-height:1.6}.news-dialog.read-only .wysiwyg-editor{border-radius:12px;background:#f8fbfe}.news-dialog.read-only .news-files-section>input{display:none}
.news-statistics{margin-bottom:22px}.news-card-engagement{display:flex;align-items:center;flex-wrap:wrap;gap:14px;color:#315b80;font-size:12px;font-weight:750}
.section-subnav{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 22px;padding:0 0 18px;border-bottom:1px solid #dce8f2}.section-subnav button{padding:12px 18px}.section-subnav .active{background:#e8f2fa;color:#075399}
.account-menu{position:relative}.account-menu summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-width:170px;padding:14px 18px;border-radius:12px;background:#e9f2f9;color:#075399;font-weight:800;cursor:pointer;list-style:none}.account-menu summary::-webkit-details-marker{display:none}.account-menu summary:hover,.account-menu[open] summary{background:#dcebf7}.account-menu-popover{position:absolute;z-index:30;top:calc(100% + 8px);right:0;display:grid;min-width:220px;padding:8px;border:1px solid #d4e3ef;border-radius:14px;background:#fff;box-shadow:0 18px 45px #063b7029}.account-menu-popover button{width:100%;padding:11px 12px;background:transparent;color:#173a5e;text-align:left}.account-menu-popover button:hover{background:#edf5fb}.account-menu-popover .logout-action{color:#b4232c}.account-menu-popover .logout-action:hover{background:#fdecee}
@media(max-width:760px){.main-actions .account-menu{flex:1 1 100%}.account-menu summary{width:100%}.account-menu-popover{right:auto;left:0;width:100%}.account-menu-popover button{flex:none}}
@media(max-width:760px){.news-card{grid-template-columns:1fr}.news-card-cover{width:100%;height:180px}.news-card>button{width:100%}.news-dialog .form-grid{grid-template-columns:1fr}.wysiwyg-toolbar button{flex:1}.news-attachment-list{grid-template-columns:1fr}}

.toolbar .main-actions{max-width:820px}
.nav-menu{position:relative}.nav-menu summary{display:flex;align-items:center;justify-content:space-between;gap:10px;min-width:120px;padding:14px 16px;border-radius:12px;background:#e9f2f9;color:#075399;font-weight:800;cursor:pointer;list-style:none}.nav-menu summary::-webkit-details-marker{display:none}.nav-menu summary:hover,.nav-menu[open] summary,.nav-menu.active summary{background:#075399;color:#fff}.nav-menu-popover{position:absolute;z-index:30;top:calc(100% + 8px);left:0;display:grid;min-width:210px;padding:8px;border:1px solid #d4e3ef;border-radius:14px;background:#fff;box-shadow:0 18px 45px #063b7029}.nav-menu-popover button{width:100%;padding:11px 12px;background:transparent;color:#173a5e;text-align:left}.nav-menu-popover button:hover,.nav-menu-popover button.active{background:#edf5fb;color:#075399}
.home-dashboard{display:grid;gap:24px}.dashboard-intro{padding:2px 2px 0}.dashboard-intro h3{margin:0;color:#173a5e;font-size:26px}.dashboard-intro p:last-child{margin:8px 0 0;color:#6b8298}.dashboard-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.dashboard-tile{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:17px;min-height:132px;padding:22px;border:1px solid #d5e5f1;border-radius:19px;background:#fbfdff;color:#173a5e;text-align:left;box-shadow:0 8px 22px #063b7008;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.dashboard-tile:hover{transform:translateY(-2px);border-color:#a9cee9;background:#fff;box-shadow:0 14px 32px #063b7015}.dashboard-icon{display:grid;place-items:center;width:58px;height:58px;border-radius:17px;background:linear-gradient(145deg,#075399,#1388dc);color:#fff;font-size:27px;font-weight:900}.dashboard-tile>span:nth-child(2){display:grid;gap:7px}.dashboard-tile strong{font-size:20px}.dashboard-tile small{color:#6b8298;font-size:13px;font-weight:600;line-height:1.45}.tile-arrow{color:#0870c9;font-size:25px;font-weight:700}.module-dashboard{display:grid;gap:22px}.module-hero{display:flex;align-items:center;gap:22px;padding:26px;border:1px solid #d5e5f1;border-radius:19px;background:linear-gradient(135deg,#f6fbff,#edf6fd)}.module-icon{display:grid;place-items:center;width:70px;height:70px;flex:0 0 auto;border-radius:20px;background:#0870c9;color:#fff;font-size:32px;font-weight:900}.module-hero h3{margin:0;color:#173a5e;font-size:25px}.module-hero p:last-child{max-width:720px;margin:8px 0 0;color:#5f7b93;line-height:1.55}.module-empty{padding:42px 26px;border:1px dashed #bed5e7;border-radius:18px;background:#fbfdff;text-align:center}.module-empty strong{display:block;color:#173a5e;font-size:20px}.module-empty p{max-width:700px;margin:10px auto 0;color:#6b8298;line-height:1.6}
@media(max-width:920px){.dashboard-tiles{grid-template-columns:1fr}.toolbar .main-actions{max-width:none}}
@media(max-width:760px){.main-actions .nav-menu{flex:1 1 calc(50% - 5px)}.nav-menu summary{width:100%}.nav-menu-popover{width:100%}.dashboard-tile{min-height:112px;padding:17px}.dashboard-icon{width:50px;height:50px}.module-hero{align-items:flex-start;flex-direction:column}}
.login-alternatives{display:grid;align-items:stretch;gap:8px;width:100%}.login-alternatives .link-button{width:100%;padding:10px 12px;border:1px solid transparent;border-radius:10px;color:#0870c9;font-weight:700;text-align:left;transition:background-color .15s ease,border-color .15s ease,color .15s ease}.login-alternatives .link-button:hover,.login-alternatives .link-button:focus-visible{background:#edf6fd;border-color:#bcd9ee;color:#063b70;text-decoration:underline;text-underline-offset:3px;outline:none}.login-alternatives .link-button:active{background:#dcebf7}.security-dialog form{padding-left:0;padding-right:0}
.login-hint{margin:0;padding:12px 14px;border-radius:10px;background:#edf6fd;color:#315b80;font-size:13px;line-height:1.45}

.settings-dialog{width:min(980px,calc(100% - 32px));max-height:calc(100vh - 40px)}
.settings-layout{display:grid;grid-template-columns:250px minmax(0,1fr);min-height:620px}
.settings-dialog.user-management .settings-layout{grid-template-columns:1fr}.settings-dialog.user-management .settings-sidebar{display:none}
.settings-sidebar{padding:32px 24px;background:#f3f8fc;border-right:1px solid #dce8f2}
.settings-sidebar h2{margin:0 0 30px;font-size:26px}
.settings-sidebar nav{display:grid;gap:8px}
.settings-nav{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;background:transparent;color:#23496d;text-align:left}
.settings-nav:hover{background:#e3eff8}.settings-nav.active{background:#0870c9;color:#fff}
.settings-nav span{width:22px;text-align:center;font-size:18px}
.settings-main{position:relative;padding:38px;overflow:auto}
.settings-close{position:absolute;top:20px;right:22px}
.settings-panel>h2{margin:0;font-size:32px}.settings-panel>.muted{max-width:650px;line-height:1.55}
.settings-card{display:flex;align-items:center;justify-content:space-between;gap:24px;margin-top:30px;padding:24px;border:1px solid #dce8f2;border-radius:18px;background:#fbfdff}
.settings-card h3{margin:0}.settings-card p{margin-bottom:0}
.auto-sync-status{align-items:flex-start}.auto-sync-status>div{min-width:0}.auto-sync-status .status{flex:0 0 auto}
.auto-sync-form{gap:22px}.auto-sync-form small{line-height:1.4}.auto-sync-enabled{padding:14px 16px;border-radius:12px;background:#edf6fd;color:#173a5e}
.auto-sync-windows{display:grid;gap:12px;margin:0;padding:18px;border:1px solid #dce8f2;border-radius:14px}.auto-sync-windows legend{padding:0 8px;color:#173a5e;font-weight:850}
.auto-sync-window{display:grid;grid-template-columns:minmax(150px,1fr) minmax(120px,.7fr) minmax(160px,.8fr);align-items:end;gap:12px;padding-bottom:12px;border-bottom:1px solid #e5eef6}.auto-sync-window:last-child{padding-bottom:0;border-bottom:0}.auto-sync-window>strong{align-self:center;color:#315b80}.auto-sync-window label{font-size:12px}.auto-sync-window input{padding:11px 12px}
.auto-sync-summary{display:grid;gap:6px;padding:15px 17px;border-radius:12px;background:#f1f7fb;color:#315b80;line-height:1.5}.auto-sync-summary span{font-size:14px}.auto-sync-summary small{color:#6b8298}
.settings-panel .security-content{padding:0}.settings-panel .security-content>.dialog-head{padding-right:42px}
.push-test-form{align-items:stretch}.push-test-preview,.push-test-checklist{display:grid;gap:5px;padding:17px 18px;border-radius:14px;background:#edf6fd;color:#173a5e}.push-test-preview span,.push-test-checklist span{color:#55738d;font-size:14px}.push-test-checklist{gap:8px;background:#f5f9fc}.push-test-form .dialog-actions{justify-content:flex-end}
.user-create-form{margin-top:28px;padding:24px!important;border:1px solid #dce8f2;border-radius:18px;background:#fbfdff}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}select{width:100%;border:1px solid #c9dbea;border-radius:12px;padding:14px 15px;font:inherit;color:#102a43;background:#fafdff}.user-create-form fieldset{border:1px solid #dce8f2;border-radius:12px;padding:16px}.user-create-form legend{font-weight:800}.team-choices{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:10px}.team-choices label{display:flex;align-items:center;gap:8px;font-weight:600}.team-choices input{width:auto}.user-list-title{margin-top:34px}.user-list{display:grid;gap:10px;margin-top:14px}.user-list-item{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px;border:1px solid #dce8f2;border-radius:14px}.user-list-item strong,.user-list-item span{display:block}.user-list-item span{margin-top:3px;color:#7890a5;font-size:13px}.user-controls{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px}.user-controls button{padding:8px 11px;font-size:12px}.role-chip{border-radius:99px;background:#e9f2f9;color:#075399;padding:7px 10px;font-size:12px;font-weight:800}
.user-list-tools{display:grid;grid-template-columns:minmax(260px,1fr) 190px;gap:12px;margin:18px 0}.user-list-tools label{display:grid;gap:6px;color:#315b80;font-size:12px;font-weight:800}.user-list-tools .search-field{width:100%}.user-pagination{display:flex;align-items:center;justify-content:center;gap:16px;margin-top:18px}.user-pagination button{padding:9px 14px}.user-list-empty{padding:28px;text-align:center}.user-create-form .section-title{margin-bottom:6px}
.user-history-dialog{width:min(680px,calc(100% - 28px));max-height:88vh;overflow:auto}.user-history-status{display:grid;gap:5px;padding:16px;margin:12px 0 24px;border:1px solid #dce8f2;border-radius:14px;background:#f8fbfe}.user-history-status strong{width:max-content;padding:6px 10px;border-radius:99px;font-size:12px;text-transform:uppercase}.user-history-status strong.active{color:#18794e;background:#e6f7ef}.user-history-status strong.inactive{color:#b42318;background:#ffebe9}.user-history-status span,.user-history-status small{color:#5f7890}.user-history-list{display:grid;gap:0}.user-history-row{display:grid;grid-template-columns:14px minmax(0,1fr);gap:12px;padding:13px 4px;border-bottom:1px solid #e5eef6}.user-history-row>div{display:grid;gap:3px}.user-history-row strong{color:#173a5e}.user-history-row span,.user-history-row small{color:#7890a5;font-size:12px}.user-history-row .user-history-note{margin-top:3px;color:#315b80;font-weight:700}.user-history-marker{width:10px;height:10px;margin-top:5px;border-radius:50%;background:#1b69a8}.user-history-marker.positive{background:#22a06b}.user-history-marker.negative{background:#d92d20}
@media(max-width:700px){.settings-dialog{width:calc(100% - 20px)}.settings-layout{grid-template-columns:1fr}.settings-sidebar{padding:22px;border-right:0;border-bottom:1px solid #dce8f2}.settings-sidebar h2{margin-bottom:16px}.settings-sidebar nav{grid-template-columns:repeat(6,1fr)}.settings-nav{justify-content:center;font-size:0}.settings-nav span{font-size:20px}.settings-main{padding:28px 22px}.form-grid,.team-choices,.user-list-tools,.auto-sync-window{grid-template-columns:1fr}.user-list-item{align-items:flex-start;flex-direction:column}.user-controls{justify-content:flex-start}}

.legal-footer{margin-top:28px;padding:26px 30px;border:1px solid #dce8f2;border-radius:20px;background:#fff;color:#617a92;box-shadow:0 14px 40px #063b700d}.legal-heading{display:grid;grid-template-columns:58px 1fr 58px;align-items:center;gap:18px;padding-bottom:16px;border-bottom:1px solid #e5eef6}.legal-logo{width:58px;height:58px;object-fit:contain}.legal-heading .eyebrow{margin:0}.legal-heading strong{color:#173a5e}.legal-columns{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:22px;padding:18px 0 14px}.legal-columns span{display:block;margin-bottom:5px;color:#23496d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.06em}.legal-columns p{margin:0;font-size:13px;line-height:1.45}.legal-columns a{color:#0870c9;text-decoration:none}.legal-columns a:hover{text-decoration:underline}.privacy-details{border-top:1px solid #e5eef6;padding-top:12px}.privacy-details summary{cursor:pointer;width:max-content;color:#617a92;font-size:12px;font-weight:700}.privacy-details summary:hover{color:#0870c9}.privacy-content{max-width:920px;padding-top:16px;font-size:13px;line-height:1.55}.privacy-content h3{margin:18px 0 5px;color:#173a5e;font-size:14px}.privacy-content p{margin:0 0 10px}.privacy-content a{color:#0870c9}
.build-version{margin:14px 0 0;border-top:1px solid #e5eef6;padding-top:12px;color:#8094a8;font-size:11px;text-align:right}.build-version strong{color:#617a92;font-weight:700}
@media(max-width:820px){.legal-columns{grid-template-columns:1fr 1fr}}@media(max-width:520px){.legal-footer{padding:22px}.legal-heading{grid-template-columns:46px 1fr 46px;gap:12px}.legal-logo{width:46px;height:46px}.legal-columns{grid-template-columns:1fr}}
.dfbnet-preview { display: grid; gap: 14px; margin-top: 18px; }
.dfbnet-import-actions { display: grid; gap: 10px; }
.dfbnet-import-actions button { width: 100%; }
.dfbnet-preview-summary { background: #e6f7ee; border-radius: 16px; color: #116d42; display: grid; gap: 4px; padding: 18px 20px; }
.dfbnet-preview-summary strong { font-size: 1.05rem; }
.dfbnet-preview-summary small { margin-top: 4px; }
.dfbnet-selection-bar { align-items: center; background: #f2f7fb; border: 1px solid #cfe0ee; border-radius: 14px; display: flex; gap: 18px; justify-content: space-between; padding: 15px 18px; }
.dfbnet-selection-bar > div:first-child { display: grid; gap: 3px; }
.dfbnet-selection-bar span { color: #607b93; font-size: .85rem; }
.dfbnet-selection-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.dfbnet-selection-actions button { padding: 9px 12px; }
.dfbnet-import-state { color: #607b93; }
.dfbnet-import-state[data-state="running"] { color: #0870c9; }
.dfbnet-import-state[data-state="saved"] { color: #147a46; }
.dfbnet-import-state[data-state="failed"] { color: #bd2c35; }
#dfbnetImportNotice { display: grid; gap: 4px; }
#dfbnetImportNotice.failure { background: #fdebec; color: #9f2028; }
.dfbnet-team-preview { background: #fff; border: 1px solid #cfe0ee; border-radius: 14px; overflow: hidden; }
.dfbnet-team-preview summary { align-items: center; cursor: pointer; display: flex; justify-content: space-between; padding: 16px 18px; }
.dfbnet-team-preview summary span { background: #eaf3fa; border-radius: 999px; color: #175b94; font-size: .85rem; padding: 5px 10px; }
.dfbnet-team-selection { align-items: center; cursor: pointer; display: flex; flex: 0 0 auto; gap: 7px; margin-right: 12px; }
.dfbnet-team-selection input { accent-color: #0870c9; height: 20px; margin: 0; width: 20px; }
.dfbnet-team-selection span { background: transparent!important; color: #315b80!important; padding: 0!important; }
.dfbnet-team-selection:has(input:disabled) { cursor: not-allowed; opacity: .45; }
.dfbnet-team-heading { display: grid; gap: 4px; min-width: 0; }
.dfbnet-team-heading small { font-size: .78rem; font-weight: 700; }
.dfbnet-team-heading .match-ok { color: #16834f; }
.dfbnet-team-heading .match-missing { color: #a25a18; }
.dfbnet-player-table { border-top: 1px solid #dce9f3; }
.dfbnet-player-row { display: grid; grid-template-columns: minmax(220px, 1fr) 150px 110px; padding: 11px 18px; }
.dfbnet-player-row + .dfbnet-player-row { border-top: 1px solid #edf3f7; }
.dfbnet-player-row.header { background: #f4f8fb; color: #496b88; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
.dfbnet-player-row .image-yes { color: #16834f; font-weight: 700; }
.dfbnet-player-row .image-no { color: #a25a18; }
@media (max-width: 720px) {
  .dfbnet-selection-bar { align-items: stretch; flex-direction: column; }
  .dfbnet-selection-actions button { flex: 1; }
  .dfbnet-team-preview summary { align-items: flex-start; flex-wrap: wrap; gap: 10px; }
  .dfbnet-team-heading { flex: 1 1 calc(100% - 130px); }
  .dfbnet-player-row.header { display: none; }
  .dfbnet-player-row { gap: 7px; grid-template-columns: 1fr; padding: 14px 18px; }
  .dfbnet-player-row span::before { color: #68829a; content: attr(data-label) ": "; font-size: .78rem; font-weight: 700; text-transform: uppercase; }
}

/* Start-Dashboard: großflächige Schnellzugriffe in den Vereinsfarben */
.home-dashboard { gap: 20px; }
.dashboard-intro h3 { font-size: 28px; letter-spacing: -.02em; }
.dashboard-tiles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-auto-rows: 178px;
  gap: 14px;
}
.dashboard-tile {
  position: relative;
  display: block;
  min-height: 0;
  overflow: hidden;
  padding: 20px;
  border: 0;
  border-radius: 5px;
  background: #075399;
  color: #fff;
  box-shadow: none;
  isolation: isolate;
  text-align: left;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
}
.dashboard-tile::after {
  position: absolute;
  z-index: -1;
  right: -38px;
  bottom: -72px;
  width: 190px;
  height: 190px;
  border: 1px solid rgb(255 255 255 / 18%);
  border-radius: 50%;
  content: "";
}
.dashboard-tile:hover {
  transform: translateY(-3px);
  border-color: transparent;
  background: #075399;
  box-shadow: 0 15px 32px rgb(6 59 112 / 22%);
  filter: brightness(1.055);
}
.dashboard-tile:focus-visible { outline: 4px solid rgb(8 112 201 / 24%); outline-offset: 3px; }
.tile-teams { background: linear-gradient(135deg, #064477, #0870c9); }
.tile-news { background: #2c8fbd; }
.tile-sponsors { background: #4fa7b5; }
.tile-clubhouse { background: #2b759b; }
.clubhouse-reservations{display:grid;gap:12px}.clubhouse-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:18px;border:1px solid #dce8f2;border-radius:16px;background:#fbfdff}.clubhouse-card p{margin:5px 0 0;color:#6b8298}.clubhouse-actions{display:flex;align-items:center;gap:9px;flex-wrap:wrap;justify-content:flex-end}@media(max-width:720px){.clubhouse-card{align-items:flex-start;flex-direction:column}.clubhouse-actions{justify-content:flex-start}}
.tile-bus { background: #0b6297; }
.tile-users { background: #527b94; }
.tile-live-ticker { background: linear-gradient(145deg, #163c74, #245d9f); }
.tile-administration { background: linear-gradient(145deg, #486980, #294c68); }
.tile-kicker {
  position: absolute;
  top: 18px;
  left: 20px;
  color: rgb(255 255 255 / 82%);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.dashboard-tile-copy {
  position: absolute;
  z-index: 2;
  left: 20px;
  bottom: 20px;
  display: grid;
  max-width: calc(100% - 90px);
  gap: 5px;
}
.dashboard-tile strong { color: #fff; font-size: 22px; letter-spacing: -.015em; }
.dashboard-tile small { color: rgb(255 255 255 / 78%); font-size: 12px; font-weight: 600; }
.dashboard-pictogram {
  position: absolute;
  top: 47px;
  right: 24px;
  width: 78px;
  height: 78px;
  fill: none;
  stroke: rgb(255 255 255 / 78%);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.dashboard-pictogram-solid { fill: rgb(255 255 255 / 68%); stroke: none; }
.tile-arrow { position: absolute; right: 18px; bottom: 15px; color: #fff; font-size: 22px; opacity: .85; }
@media (max-width: 900px) {
  .dashboard-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .dashboard-tiles { grid-template-columns: 1fr; grid-auto-rows: 158px; }
  .dashboard-pictogram { width: 70px; height: 70px; }
}

/* Vereinsbus-Administration */
textarea { width:100%;border:1px solid #c9dbea;border-radius:12px;padding:14px 15px;font:inherit;color:#102a43;background:#fafdff;outline:none;resize:vertical; }
textarea:focus { border-color:#0870c9;box-shadow:0 0 0 4px #0870c91c; }
.bus-subnav { align-items:center; }
.bus-subnav #refreshBus { margin-left:auto; }
.bus-count { display:inline-grid;place-items:center;min-width:21px;height:21px;margin-left:5px;padding:0 6px;border-radius:99px;background:#b4232c;color:#fff;font-size:11px; }
.bus-panel { display:grid;gap:22px; }
.bus-overview-cards { display:grid;grid-template-columns:repeat(4,1fr);gap:12px; }
.bus-overview-cards>div { display:grid;gap:6px;padding:18px 20px;border:1px solid #d7e6f1;border-radius:15px;background:#f8fbfe; }
.bus-overview-cards span { color:#6b8298;font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:.05em; }
.bus-overview-cards strong { color:#075399;font-size:27px; }
.bus-overview-cards>div[data-active="true"] { border-color:#e64b4b;background:#fff1f1; }
.bus-overview-cards>div[data-active="true"] span,.bus-overview-cards>div[data-active="true"] strong { color:#b4232d; }
.bus-tools { margin-bottom:0; }
.bus-tool-actions { display:flex;gap:8px; }
.bus-filter-grid { display:grid;grid-template-columns:1.2fr 1.3fr 1fr 1fr;gap:12px;padding:16px;border:1px solid #dce8f2;border-radius:15px;background:#f8fbfe; }
.bus-filter-grid label { font-size:12px; }
.bus-filter-grid input,.bus-filter-grid select { padding:11px 12px;background:#fff; }
.bus-calendar { overflow:hidden;border:1px solid #dce8f2;border-radius:16px;background:#fff; }
.bus-calendar-head { display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid #e4edf4;background:#f8fbfe;text-align:center; }
.bus-calendar-head strong { color:#173a5e;text-transform:capitalize; }
.bus-calendar-head button { min-width:38px;padding:7px 12px;font-size:20px; }
.bus-calendar-grid { display:grid;grid-template-columns:repeat(7,1fr);padding:10px; }
.bus-calendar-weekday { padding:7px;color:#7890a5;font-size:11px;font-weight:800;text-align:center;text-transform:uppercase; }
.bus-calendar-day { position:relative;min-height:54px;padding:8px;border:2px solid #fff;border-radius:10px;background:#f8fbfe;color:#315b80;font-size:13px;text-align:left; }
.bus-calendar-day:hover { background:#e8f3fb;color:#075399; }
.bus-calendar-day.blank { background:transparent; }
.bus-calendar-day[data-busy="true"] { background:#e7f3fb;color:#075399;font-weight:850; }
.bus-calendar-day[data-overdue="true"] { background:#fff0f0;color:#a91f2a;box-shadow:inset 0 0 0 1px #e64b4b; }
.bus-calendar-day strong { position:absolute;right:6px;bottom:6px;display:grid;place-items:center;min-width:19px;height:19px;padding:0 5px;border-radius:99px;background:#0870c9;color:#fff;font-size:10px; }
.bus-list { display:grid;gap:10px; }
.bus-list-row { display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:16px;padding:15px 17px;border:1px solid #dce8f2;border-radius:15px;background:#fff; }
.bus-list-row[data-overdue="true"] { border-color:#e64b4b;background:#fffafa; }
.bus-overdue-copy { color:#b4232d!important;font-weight:800; }
.bus-list-copy { display:grid;min-width:0;gap:4px; }
.bus-list-copy>strong { overflow:hidden;color:#173a5e;text-overflow:ellipsis;white-space:nowrap; }
.bus-list-copy>span { color:#496b88;font-size:13px; }
.bus-list-copy>small { color:#7890a5; }
.bus-date-badge { display:grid;place-items:center;width:52px;height:54px;border-radius:13px;background:#edf6fd;color:#075399;line-height:1; }
.bus-date-badge strong { font-size:20px; }
.bus-date-badge span { margin-top:2px;font-size:10px;font-weight:800;text-transform:uppercase; }
.bus-row-controls { display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px; }
.bus-row-controls button { padding:9px 12px;font-size:12px; }
.bus-status-pending,.bus-status-review { background:#fff3d6;color:#8a5700; }
.bus-status-inactive { background:#edf2f6;color:#577087; }
.bus-status-rejected,.bus-status-cancelled,.bus-status-blocked { background:#fde8e8;color:#9b1c1c; }
.bus-status-active { background:#e6f0ff;color:#174ea6; }
.bus-card-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px; }
.bus-vehicle-card { display:grid;gap:18px;padding:21px;border:1px solid #dce8f2;border-radius:17px;background:#fbfdff; }
.bus-vehicle-image,.bus-vehicle-image-preview { display:grid;place-items:center;min-height:150px;overflow:hidden;border:1px dashed #bcd4e6;border-radius:14px;background:#edf6fc;color:#68839a;font-weight:700; }
.bus-vehicle-image { height:180px; }
.bus-vehicle-image img,.bus-vehicle-image-preview img { width:100%;height:100%;object-fit:cover; }
.bus-vehicle-image > span[aria-hidden="true"] { font-size:56px; }
.bus-vehicle-image-editor { display:grid;grid-template-columns:minmax(180px,1fr) minmax(220px,1.4fr);gap:16px;align-items:center;margin:12px 0; }
.bus-vehicle-image-preview { height:170px; }
.bus-vehicle-image-editor > button { grid-column:2;justify-self:start; }
.bus-card-head { display:flex;align-items:flex-start;justify-content:space-between;gap:12px; }
.bus-card-head h4 { margin:0 0 7px;color:#173a5e;font-size:20px; }
.bus-plate { display:inline-block;padding:5px 9px;border:1px solid #bcd1e0;border-radius:6px;background:#fff;color:#315b80;font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:12px;font-weight:800;letter-spacing:.05em; }
.bus-facts { display:grid;grid-template-columns:1fr 1fr;gap:14px;margin:0; }
.bus-facts div { display:grid;gap:3px; }
.bus-facts dt { color:#7890a5;font-size:11px;font-weight:800;text-transform:uppercase; }
.bus-facts dd { margin:0;color:#315b80;font-size:13px; }
@media (max-width:720px) { .bus-vehicle-image-editor { grid-template-columns:1fr; } .bus-vehicle-image-editor > button { grid-column:auto; } }
.bus-block-icon { display:grid;place-items:center;width:43px;height:43px;border-radius:13px;background:#fde8e8;color:#b4232c;font-size:20px;font-weight:900; }
.bus-hold-row { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:19px;border:1px solid #f1c9cc;border-left:5px solid #b4232c;border-radius:15px;background:#fffafa; }
.bus-hold-row>div:first-child { display:grid;gap:5px; }
.bus-hold-row strong { color:#7f1d25;font-size:16px; }
.bus-hold-row p { margin:0;color:#573f44;line-height:1.45; }
.bus-hold-row small { color:#927177; }
.bus-audit-list { display:grid; }
.bus-audit-row { display:grid;grid-template-columns:16px minmax(0,1fr);gap:12px;padding:13px 4px;border-bottom:1px solid #e5eef6; }
.bus-audit-row>div { display:grid;gap:3px; }
.bus-audit-row strong { color:#173a5e; }
.bus-audit-row span,.bus-audit-row small { color:#7890a5;font-size:12px; }
.bus-audit-marker { width:10px;height:10px;margin-top:5px;border:2px solid #fff;border-radius:50%;background:#0870c9;box-shadow:0 0 0 2px #b9d7eb; }
.bus-audit-list.compact { padding:0 4px; }
.bus-dialog { width:min(760px,calc(100% - 28px));max-height:calc(100vh - 36px); }
.bus-dialog form { max-height:calc(100vh - 36px);overflow:auto; }
.bus-action-spacer { flex:1; }
.bus-details-dialog { width:min(900px,calc(100% - 28px));max-height:calc(100vh - 36px); }
.bus-dialog-content { max-height:calc(100vh - 36px);overflow:auto;padding:28px; }
.bus-details-summary { display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:20px 0; }
.bus-details-summary>div { display:grid;gap:4px;padding:13px 15px;border-radius:12px;background:#f3f8fc; }
.bus-details-summary span,.bus-report-body span { color:#7890a5;font-size:11px;font-weight:800;text-transform:uppercase; }
.bus-details-summary strong { color:#315b80;font-size:13px; }
.bus-state-alert { display:grid;gap:5px;margin:16px 0;padding:15px 17px;border:1px solid #e64b4b;border-radius:14px;background:#fff0f0;color:#842029; }
.bus-state-alert[hidden] { display:none; }
.bus-state-alert strong { font-size:15px; }
.bus-state-alert span { font-size:13px;line-height:1.45; }
.bus-detail-actions { display:flex;justify-content:flex-end;flex-wrap:wrap;gap:9px;margin-bottom:4px; }
.bus-report-list { display:grid;gap:9px; }
button.bus-report-card { display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:14px;border:1px solid #dce8f2;border-radius:13px;background:#fbfdff;color:#173a5e;text-align:left; }
button.bus-report-card:hover { background:#edf6fd; }
.bus-report-card>span:first-child { display:grid;gap:4px; }
.bus-report-card small { color:#7890a5;font-weight:500; }
.bus-report-body { display:grid;gap:9px;margin:20px 0;padding:18px;border:1px solid #dce8f2;border-radius:15px;background:#f8fbfe; }
.bus-report-body>div { display:grid;gap:5px; }
.bus-report-body strong { color:#315b80;line-height:1.5; }
.bus-media-grid { display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:10px;margin:18px 0; }
.bus-media-card { display:grid;gap:7px;overflow:hidden;border:1px solid #dce8f2;border-radius:12px;background:#f8fbfe;color:#315b80;font-size:12px;font-weight:700;text-decoration:none; }
.bus-media-card img { width:100%;height:140px;object-fit:cover;background:#edf2f6; }
.bus-media-card span { padding:0 11px 11px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
.bus-media-card.failed { min-height:90px;place-content:center;color:#9b1c1c;text-align:center; }
.bus-review-form { padding:18px 0 0;border-top:1px solid #e5eef6; }
@media(max-width:760px) {
  .bus-subnav #refreshBus { width:100%;margin-left:0; }
  .bus-overview-cards,.bus-filter-grid,.bus-details-summary { grid-template-columns:1fr; }
  .bus-list-row { grid-template-columns:auto minmax(0,1fr); }
  .bus-list-row>.bus-row-controls,.bus-list-row>button { grid-column:1/-1;justify-content:flex-start; }
  .bus-hold-row { align-items:flex-start;flex-direction:column; }
  .bus-hold-row .bus-row-controls { justify-content:flex-start; }
  .bus-calendar-day { min-height:44px;padding:5px; }
  .bus-calendar-day strong { right:3px;bottom:3px; }
  .bus-facts { grid-template-columns:1fr; }
}

/* Registrierungsfreigaben */
.registration-requests { margin:24px 0;padding:20px;border:1px solid #c9dff0;border-radius:18px;background:#f7fbfe; }
.registration-count { display:inline-grid;place-items:center;min-width:25px;height:25px;padding:0 7px;border-radius:99px;background:#0870c9;color:#fff;font-size:12px;vertical-align:middle; }
.registration-request-list { display:grid;gap:13px; }
.registration-request-card { display:grid;gap:14px;padding:18px;border:1px solid #d7e6f1;border-radius:15px;background:#fff; }
.registration-request-head { display:flex;align-items:flex-start;justify-content:space-between;gap:14px; }
.registration-request-head>div { display:grid;gap:3px; }
.registration-request-head strong { color:#173a5e;font-size:17px; }
.registration-request-head span:not(.role-chip),.registration-request-facts { margin:0;color:#6b8298;font-size:13px;line-height:1.5; }
.registration-assignment { display:grid;grid-template-columns:minmax(180px,.55fr) 1.45fr;align-items:start;gap:15px; }
.registration-team-choices { display:flex;flex-wrap:wrap;gap:7px 13px;margin:0;padding:12px;border:1px solid #dce8f2;border-radius:12px; }
.registration-team-choices legend { padding:0 6px;color:#6b8298;font-size:11px;font-weight:800;text-transform:uppercase; }
.registration-team-choices label { display:flex;align-items:center;gap:6px;font-size:12px; }
.registration-team-choices input { width:auto;margin:0; }
.registration-request-actions { display:flex;justify-content:flex-end;gap:9px; }
@media(max-width:700px) { .registration-assignment { grid-template-columns:1fr; } .registration-request-head { flex-direction:column; } }

/* System & Statistik */
.statistics-heading { margin:26px 0 12px;color:#173a5e; }
.statistics-grid { display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px; }
.statistics-card { display:grid;gap:7px;min-height:128px;padding:18px;border:1px solid #dce8f2;border-radius:16px;background:linear-gradient(145deg,#fff,#f4f9fd); }
.statistics-card span { color:#6b8298;font-size:12px;font-weight:800;text-transform:uppercase; }
.statistics-card strong { color:#075399;font-size:31px;line-height:1; }
.statistics-card small { color:#7890a5;line-height:1.4; }
.statistics-card-alert strong { color:#b4232c; }
.statistics-columns { display:grid;grid-template-columns:1fr 1.25fr;gap:14px;margin-top:14px; }
.statistics-section { display:block!important;margin-top:14px; }
.statistics-section h3 { margin:0 0 13px;color:#173a5e; }
.statistics-rows { display:grid; }
.statistics-rows>div { display:flex;align-items:center;justify-content:space-between;gap:20px;padding:10px 0;border-bottom:1px solid #e5eef6;color:#496b88; }
.statistics-rows>div:last-child { border-bottom:0; }
.statistics-rows strong { color:#075399;font-size:17px; }
.statistics-resources { display:grid;gap:17px; }
.statistics-resource { display:grid;gap:7px; }
.statistics-resource>div:first-child { display:flex;justify-content:space-between;color:#315b80; }
.statistics-resource small { color:#7890a5; }
.statistics-progress { overflow:hidden;height:8px;border-radius:99px;background:#e6eef5; }
.statistics-progress span { display:block;height:100%;border-radius:inherit;background:#239b56;transition:width .25s ease; }
.statistics-progress span[data-level="warning"] { background:#e09a22; }
.statistics-progress span[data-level="critical"] { background:#c43d45; }
.service-health-list { display:grid; }
.service-health-row { display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid #e5eef6; }
.service-health-row:last-child { border-bottom:0; }
.service-health-row>div { display:grid;gap:3px; }
.service-health-row strong { color:#173a5e; }
.service-health-row small { color:#7890a5; }
.service-health-dot { width:11px;height:11px;border-radius:50%;box-shadow:0 0 0 4px #edf2f6; }
.service-health-dot.healthy { background:#239b56;box-shadow:0 0 0 4px #dff3e7; }
.service-health-dot.unhealthy { background:#c43d45;box-shadow:0 0 0 4px #f9e4e6; }
.statistics-service-action { display:flex;align-items:center;justify-content:space-between;gap:18px;margin-top:18px;padding-top:18px;border-top:1px solid #e5eef6; }
.statistics-service-action strong { color:#173a5e; }
.statistics-service-action p { max-width:680px;line-height:1.5; }
@media (max-width:760px) {
  .statistics-service-action { align-items:stretch;flex-direction:column; }
  .statistics-service-action button { width:100%; }
}
.statistics-sync { display:flex!important;align-items:center;justify-content:space-between;gap:18px;margin-top:14px; }
.statistics-sync>div { display:grid;gap:4px; }
.statistics-sync span:first-child,.statistics-sync small { color:#7890a5;font-size:12px; }
.statistics-sync strong { color:#173a5e; }
@media(max-width:1050px) { .statistics-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media(max-width:700px) { .statistics-grid,.statistics-columns { grid-template-columns:1fr; } .statistics-sync { align-items:flex-start;flex-direction:column; } }
/* Spielverwaltung */
.tile-match-admin { background: linear-gradient(145deg, #145a96, #0b335f); }
.match-admin-list { display: grid; gap: 12px; margin-top: 18px; }
.match-admin-group-heading { margin: 16px 2px 0; color: #49677f; font-size: .82rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.match-admin-group-heading:first-child { margin-top: 0; }
.match-admin-card { display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px; border: 1px solid var(--line, #dce4ef); border-radius: 18px; background: var(--surface, #fff); box-shadow: 0 10px 26px rgba(9, 48, 88, .07); }
.match-admin-card.is-hidden { opacity: .65; border-style: dashed; }
.match-admin-card p { margin: 4px 0; }
.match-admin-card strong { display: block; font-size: 1.08rem; }
.match-admin-meta { color: var(--blue, #174d8b); font-size: .86rem; font-weight: 700; }
.match-admin-actions { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.match-source { display: inline-block; margin-top: 5px; padding: 4px 8px; border-radius: 999px; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.source-fussball_de { color: #174d8b; background: #e8f0fb; }
.source-manual { color: #8a4d00; background: #fff0d8; }
.match-admin-hero .module-icon { font-size: 2rem; }
@media (max-width: 900px) { .tile-match-admin { grid-column: span 6!important; } }
@media (max-width: 600px) { .tile-match-admin { grid-column: span 12!important; } }
@media (max-width: 700px) { .match-admin-card { align-items: flex-start; flex-direction: column; } .match-admin-actions { width: 100%; justify-content: flex-start; } }

/* Editorial distribution controls. */
.news-tools{flex-wrap:wrap;gap:16px}.news-tools>label{min-width:180px}.news-publication-badge{padding:4px 9px;border-radius:6px;background:#e5eff9;color:#174c7c;font-weight:750}#newsPublicationHelp{margin-top:-5px;font-size:13px;line-height:1.5}

.venue-team-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:10px}.venue-team-choices .checkbox{padding:10px;background:#f2f7fc;border-radius:8px}#venueTeamScope{border:1px solid #c9dbea;border-radius:12px;padding:16px}

@media(max-width:700px){.settings-layout{grid-template-columns:minmax(0,1fr)}.settings-sidebar,.settings-main{min-width:0}.settings-sidebar nav{grid-template-columns:repeat(4,minmax(0,1fr))}.settings-nav{min-width:0}#venueTeamScope{min-width:0}.venue-team-choices{grid-template-columns:minmax(0,1fr)}}
