/* Shared workspace disclosure contract; the site-wide component remains unchanged. */
.dtkv-frontend-workspace .dtkv-workspace-disclosure > summary {
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 12px 18px;
    gap: 12px;
    border-radius: 0;
    box-shadow: none;
}
.dtkv-frontend-workspace .dtkv-workspace-disclosure > summary:hover { background: var(--dtkv-color-control-hover, #f2f2f2); }
.dtkv-frontend-workspace .dtkv-workspace-disclosure > summary:focus-visible {
    outline: 2px solid #745F3F;
    outline-offset: 3px;
    box-shadow: none;
}
/* E3C: presentation only, scoped to overview, schedule and lineups. */
.dtkv-frontend-workspace__content--preparation {
    padding: 16px 0;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) {
    color: #171717;
    overflow-wrap: anywhere;
}
.dtkv-workspace-overview__sections {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 36px;
}
.dtkv-workspace-overview__sections > section {
    min-width: 0;
    padding-top: 18px;
    border-top: 1px solid #ddd;
}
.dtkv-workspace-overview__sections p { margin: 12px 0; }
.dtkv-workspace-overview .dtkv-frontend-workspace__permission {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 16px;
    padding: 8px 0;
    border: 0;
    background: transparent;
}
.dtkv-workspace-overview .dtkv-frontend-workspace__permission span { color: #595959; max-width: none; }
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule) .dtkv-ui-module-title { font-weight: 800; }
.dtkv-workspace-overview .dtkv-frontend-workspace__summary-chips {
    display: grid;
    gap: 4px;
    margin: 12px 0;
}
.dtkv-workspace-overview .dtkv-frontend-workspace__summary-chips > span {
    padding: 0;
    border: 0;
    background: transparent;
    border-radius: 0;
    color: #595959;
}
.dtkv-workspace-overview .dtkv-frontend-workspace__summary-chips > span:first-child strong {
    color: #000;
    font-size: 1.5rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
}
.dtkv-workspace-overview .dtkv-frontend-workspace__readonly {
    padding: 0;
    border-radius: 0;
    background: transparent;
}
.dtkv-workspace-overview__important { margin: 0 0 32px; }
.dtkv-workspace-overview__important .dtkv-my-dtkv-task-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 24px;
    align-items: center;
    padding: 16px 0;
    border: 0;
    border-bottom: 2px solid #000;
    background: #fff;
    border-radius: 0;
    box-shadow: none;
}
.dtkv-workspace-overview__important .dtkv-my-dtkv-task-matchup {
    margin: 4px 0 0;
    font-weight: 800;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-ui-disclosure {
    margin: 24px 0 0;
    border: 0;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    border-radius: 0;
    background: #fff;
    box-shadow: none;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-ui-disclosure > summary {
    box-sizing: border-box;
    min-height: 48px;
    color: #171717;
    border-radius: 0;
    box-shadow: none;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-ui-disclosure > summary:hover {
    color: #745F3F;
    background: var(--dtkv-color-control-hover, #f2f2f2);
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-ui-disclosure[open] > summary {
    border-bottom: 1px solid #ddd;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) :is(a, button, summary, input, select, textarea, [tabindex]):focus-visible {
    outline: 2px solid #745F3F;
    outline-offset: 3px;
    box-shadow: none;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-ui-action-link {
    min-height: 44px;
    box-sizing: border-box;
    align-items: center;
    color: #745F3F;
    border-radius: 0;
    box-shadow: none;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-ui-action-link:hover { color: #000; }
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-ui-button {
    min-height: 46px;
    max-width: 100%;
    border-radius: 0;
    box-shadow: none;
    white-space: normal;
}
.dtkv-workspace-overview__important .dtkv-ui-button--primary {
    background: #000;
    border-color: #000;
    color: #fff;
    font-weight: 800;
    text-align: center;
}
.dtkv-workspace-overview__important .dtkv-ui-button--primary:hover { background: #202020; color: #fff; }
.dtkv-workspace-schedule__date { display: grid; gap: 4px; margin: 0 0 24px; font-size: 1.5rem; line-height: 1.25; font-weight: 800; }
.dtkv-workspace-schedule__date .dtkv-workspace-schedule__time { font-size: 1rem; line-height: 1.5; font-weight: 600; color: #595959; }
.dtkv-workspace-schedule__change-content { padding: 16px 0 20px; }
.dtkv-workspace-schedule__change-content > p { margin: 0 0 20px; max-width: 70ch; }
.dtkv-workspace-schedule :is(.dtkv-frontend-workspace__requests, .dtkv-frontend-workspace__notifications) {
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px solid #ddd;
}
.dtkv-workspace-schedule .dtkv-frontend-workspace__hint {
    padding: 12px 0;
    border: 0;
    border-top: 1px solid #ddd;
    background: #fff;
    border-radius: 0;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-frontend-workspace__facts { margin: 16px 0; }
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-frontend-workspace__facts dt {
    color: #595959;
    font-weight: 400;
}
.dtkv-frontend-workspace :is(.dtkv-workspace-overview, .dtkv-workspace-schedule, .dtkv-workspace-lineups) .dtkv-frontend-workspace__facts dd { font-weight: 700; }
.dtkv-frontend-workspace :is(.dtkv-workspace-schedule, .dtkv-workspace-lineups) :is(input:not([type=hidden]), select, textarea) {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
    border: 1px solid #777;
    border-radius: 0;
    background: #fff;
    color: #171717;
    box-shadow: none;
    min-height: 44px;
    font: inherit;
}
.dtkv-workspace-schedule .dtkv-frontend-workspace__schedule-form { grid-template-columns: minmax(0, 1fr); max-width: 720px; gap: 18px; }
.dtkv-workspace-schedule .dtkv-frontend-workspace__datetime-field { display: grid; gap: 5px; font-weight: 700; }
.dtkv-workspace-schedule .dtkv-frontend-workspace__decision-form label { display: grid; gap: 6px; }
.dtkv-workspace-lineups .dtkv-workspace-lineups__team { min-width: 0; }
.dtkv-frontend-workspace .dtkv-workspace-lineups__team h3 {
    margin: 0 0 8px;
    font-size: 1.1rem;
    font-weight: 800;
    line-height: 1.25;
    border: 0;
}
.dtkv-workspace-lineups .dtkv-lineup-status { margin: 0 0 16px; color: #595959; }
.dtkv-workspace-lineups__positions { list-style: none; margin: 0; padding: 0; }
.dtkv-workspace-lineups__positions > li {
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px 0;
    border-top: 1px solid #ddd;
}
.dtkv-workspace-lineups__position { font-weight: 800; font-variant-numeric: tabular-nums; }
.dtkv-workspace-lineups .dtkv-lineup-player { display: flex; }
.dtkv-workspace-lineups .dtkv-lineup-player strong { font-weight: 800; overflow-wrap: anywhere; }
.dtkv-workspace-lineups .dtkv-lineup-avatar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    place-items: center;
    overflow: visible;
    border-radius: 0;
    background: transparent;
}
/* Geometry, rotation and scalable initials come from profile-ux.css. */
.dtkv-workspace-lineups .dtkv-lineup-table { display: table; width: 100%; border: 0; background: #fff; }
.dtkv-workspace-lineups .dtkv-lineup-table :is(th, td) { padding: 10px 0; border: 0; border-bottom: 1px solid #ddd; background: #fff; }
.dtkv-workspace-lineups .dtkv-lineup-table th { font-size: .85rem; color: #595959; }
.dtkv-workspace-lineups .dtkv-lineup-table th:first-child { width: 48px; }
.dtkv-workspace-lineups .dtkv-lineup-table th:last-child { width: 70px; }
.dtkv-workspace-lineups .dtkv-lineup-table label { display: block; min-width: 0; }
.dtkv-workspace-lineups .dtkv-lineup-table td:first-child strong {
    display: block;
    width: auto;
    height: auto;
    padding: 0;
    color: #000;
    border-radius: 0;
    background: transparent;
}
.dtkv-workspace-lineups .dtkv-generated-games-table {
    width: 100%;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    background: #fff;
    font-size: .875rem;
    line-height: 1.5;
}
.dtkv-workspace-lineups .dtkv-generated-games-table :is(th, td) {
    padding: 14px 12px;
    border: 0;
    border-bottom: 1px solid #ddd;
    background: #fff;
    vertical-align: top;
    text-align: left;
}
.dtkv-workspace-lineups .dtkv-generated-games-table th { color: #595959; font-size: .8125rem; font-weight: 700; }
.dtkv-workspace-lineups .dtkv-generated-games-table td[data-label="Weiß"],
.dtkv-workspace-lineups .dtkv-generated-games-table td[data-label="Schwarz"] { font-weight: 700; }
.dtkv-workspace-lineups .dtkv-generated-games-table tr { border-radius: 0; box-shadow: none; }
.dtkv-workspace-lineups .dtkv-generated-games-table-wrap { max-width: 100%; }
.dtkv-workspace-lineups__games { margin-top: 24px; }
.dtkv-workspace-lineups .notice { border-radius: 0; background: #fff; box-shadow: none; }
@media (max-width: 800px) {
    .dtkv-workspace-overview__sections,
    .dtkv-workspace-lineups .dtkv-public-match__lineups { grid-template-columns: minmax(0, 1fr); }
    .dtkv-workspace-overview__important .dtkv-my-dtkv-task-card { grid-template-columns: minmax(0, 1fr); }
    .dtkv-workspace-lineups .dtkv-generated-games-table,
    .dtkv-workspace-lineups .dtkv-generated-games-table :is(tbody, tr, td) { display: block; width: 100%; box-sizing: border-box; }
    .dtkv-workspace-lineups .dtkv-generated-games-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
    .dtkv-workspace-lineups .dtkv-generated-games-table tr { padding: 20px 0; border-bottom: 1px solid #ddd; }
    .dtkv-workspace-lineups .dtkv-generated-games-table td { display: grid; grid-template-columns: 90px minmax(0, 1fr); gap: 12px; padding: 5px 0; border: 0; }
    .dtkv-workspace-lineups .dtkv-generated-games-table td::before { content: attr(data-label); color: #595959; font-size: .8125rem; font-weight: 400; }
    .dtkv-workspace-lineups .dtkv-generated-games-table .dtkv-generated-game-result { font-weight: 800; }
}
@media (max-width: 430px) {
    .dtkv-workspace-overview .dtkv-frontend-workspace__permission { grid-template-columns: minmax(0, 1fr); gap: 3px; }
    .dtkv-workspace-overview .dtkv-frontend-workspace__permission span { text-align: left; }
    .dtkv-workspace-lineups .dtkv-lineup-table tr { padding: 12px 0; border: 0; border-bottom: 1px solid #ddd; border-radius: 0; background: #fff; }
}
