.theke-plan-sc2026-wrap{max-width:1200px;margin:0 auto}
.theke-plan-sc2026-toolbar{display:flex;gap:12px;align-items:center;justify-content:space-between;margin:10px 0 8px;flex-wrap:wrap}
.theke-plan-sc2026-title{font-size:28px;font-weight:800}
.theke-plan-sc2026-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}

/* Theme-sicher: Buttons immer lesbar */
.theke-plan-sc2026-wrap .theke-btn{
  border:1px solid #bbb !important;
  background:#fff !important;
  color:#111827 !important;
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  font-weight:700;
  line-height:1;
}
.theke-plan-sc2026-wrap .theke-btn:hover{background:#f6f6f6 !important}
.theke-plan-sc2026-wrap .theke-btn-primary{
  border-color:#1d4ed8 !important;
  background:#1d4ed8 !important;
  color:#fff !important;
}

.theke-status{font-size:13px;opacity:.8}
.theke-plan-sc2026-hint{font-size:16px;opacity:.85;margin:6px 0 14px}
.theke-print-note{margin-top:10px;font-size:13px;opacity:.75}

/* KEIN horizontaler Scroll: fixed table, keine min-width */
.theke-table{
  width:100%;
  table-layout:fixed;
  border-collapse:separate;
  border-spacing:0;
  border:1px solid #e5e5e5;
  border-radius:14px;
  overflow:hidden;
}
.theke-table th,.theke-table td{
  padding:10px 10px;
  border-bottom:1px solid #eee;
  vertical-align:top;
  overflow-wrap:anywhere;
  word-break:break-word;
}
.theke-table thead th{background:#fafafa;font-weight:800}

/* Spaltenbreiten (Desktop) */
/* Spaltenbreiten (Desktop) */
.theke-table th:nth-child(1),
.theke-table td:nth-child(1){
  width:120px;   /* Datum etwas schmaler */
}

.theke-table th:nth-child(2),
.theke-table td:nth-child(2){
  width:110px;   /* Uhrzeit deutlich schmaler */
}
.theke-date{white-space:nowrap;font-weight:800}
.theke-time{
  white-space:nowrap;
  font-weight:600;
  font-size:13px;   /* kleiner */
  opacity:0.85;
}

.theke-input{
  width:100%;
  min-width:0;
  box-sizing:border-box;
  padding:10px 8px;
  border:1px solid #cbd5e1;
  border-radius:10px;
  background:#fff;

  font-size:16px;        /* Standard */
  line-height:1.2;
}

.theke-name-cell{
  font-size:16px;
  line-height:1.2;
}

/* Tag-Farben (abwechselnd) */
.theke-day-even td{background:#eff6ff;}
.theke-day-odd td{background:#fff7ed;}

/* Wettbewerb als Zwischenzeile */
.theke-comp-row td{
  color:#111827 !important;
  font-weight:900;
  border-bottom:1px solid rgba(0,0,0,.10);
  padding-top:14px;
}

/* Mobile: Kartenlayout, damit niemals gescrollt werden muss */
@media (max-width: 900px){
  .theke-table, .theke-table thead, .theke-table tbody, .theke-table th, .theke-table td, .theke-table tr{display:block}
  .theke-table thead{display:none}
  .theke-table tr{border-bottom:1px solid #e5e5e5}
  .theke-table td{
    width:100% !important;
    border-bottom:none;
    display:flex;
    gap:10px;
    align-items:center;
  }
  .theke-table td::before{
    content: attr(data-label);
    font-weight:800;
    min-width:90px;
    opacity:.8;
  }
  .theke-comp-row td{display:block}
  .theke-comp-row td::before{content:''}
}

@media print{
  /* Druck: Farben wirklich übernehmen */
  *{
    -webkit-print-color-adjust: exact !important;
    print-color-adjust: exact !important;
  }

  .theke-plan-sc2026-actions,
  .theke-plan-sc2026-hint,
  .theke-print-note{display:none !important}

  /* MOBILE-Layout im Druck ausschalten -> echte Tabelle */
  .theke-table{display:table !important}
  .theke-table thead{display:table-header-group !important}
  .theke-table tbody{display:table-row-group !important}
  .theke-table tr{display:table-row !important}
  .theke-table th,
  .theke-table td{display:table-cell !important}

  /* Druck: klassischer Tabellen-Look */
  .theke-table{
    border:1px solid #000 !important;
    border-collapse:collapse !important;
    border-spacing:0 !important;
  }
  .theke-table th,
  .theke-table td{
    border:1px solid #000 !important;
    padding:6px 6px !important;
  }

  /* Wettbewerb NICHT schwarz übermalen (Tagesfarbe soll bleiben) */
  .theke-comp-row td{
    color:#111827 !important;
    font-weight:900 !important;
  }
	
	/* WICHTIG: Karten-Labels (Uhrzeit/Name1/…) im Druck AUS */
  .theke-table td::before{
    content: none !important;
    display: none !important;
  }

  /* Inputs im Druck wie Text aussehen lassen */
  .theke-input{
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-shadow: none !important;
    font-size: 12px !important;
    color: #111 !important;
  }
	
	.theke-print-text{font-size:12px; color:#111;}
}
