.v3-app-main.v3-app-main--schedule {
    overflow: auto;
}

.v3-schedule {
    --v3-schedule-accent-ink: var(--schedule-accent, var(--v3-athletic-green));
    --v3-schedule-accent-strong-ink: var(--schedule-accent, var(--v3-athletic-green));
    --v3-schedule-accent-tint: transparent;
    --v3-schedule-accent-tint-strong: transparent;
    --v3-schedule-accent-border: var(--schedule-accent, var(--v3-athletic-green));
    --v3-schedule-field-heading: color-mix(in oklch, var(--v3-signal-blue) 76%, var(--v3-app-text));
    min-width: 0;
    display: grid;
    align-content: start;
    grid-auto-rows: max-content;
    gap: 14px;
}

.v3-schedule [hidden] {
    display: none !important;
}

.v3-schedule-day,
.v3-schedule-month-cell,
.v3-week-session-row,
.v3-day-type-card,
.v3-day-type-manage-list-card,
.v3-day-type-manage-editor,
.v3-day-type-range-card,
.v3-day-type-icon-option,
.v3-new-day-type-swatch {
    --v3-schedule-accent-ink: var(--schedule-accent, var(--v3-athletic-green));
    --v3-schedule-accent-strong-ink: var(--schedule-accent, var(--v3-athletic-green));
    --v3-schedule-accent-tint: transparent;
    --v3-schedule-accent-tint-strong: transparent;
    --v3-schedule-accent-border: var(--schedule-accent, var(--v3-athletic-green));
}

.v3-schedule-toolbar {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0;
}

.v3-schedule-window {
    min-width: 0;
    display: grid;
    gap: 16px;
    overflow: visible;
}

.v3-schedule-range-cluster,
.v3-schedule-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-schedule-actions {
    justify-content: flex-end;
}

.v3-schedule-today {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    color: var(--v3-app-text);
    background: var(--v3-app-panel);
    padding: 0 13px;
    font: inherit;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    line-height: 1;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform var(--v3-press-transition), color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.v3-schedule-range-picker {
    position: relative;
    min-width: 0;
    display: inline-grid;
    grid-template-columns: minmax(190px, auto);
    align-items: stretch;
    border: 1px solid var(--v3-app-border);
    border-radius: 9px;
    background: var(--v3-app-panel);
    overflow: hidden;
}

.v3-schedule-range-picker > button:first-of-type {
    min-width: 0;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 0;
    color: var(--v3-app-text);
    background: transparent;
    padding: 0 14px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.v3-schedule-range-picker > button:first-of-type span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-schedule-range-picker .v3-icon {
    color: var(--v3-app-muted);
}

.v3-schedule-native-date {
    position: absolute;
    left: 40px;
    top: 50%;
    width: 1px;
    height: 1px;
    opacity: 0;
    transform: translateY(-50%);
}

.v3-schedule-view-menu {
    position: relative;
}

.v3-schedule-menu-button {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid var(--v3-app-border);
    border-radius: 9px;
    color: var(--v3-app-text);
    background: var(--v3-app-panel);
    padding: 0 13px;
    font: inherit;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    transition: transform var(--v3-press-transition), color 160ms ease, background 160ms ease, border-color 160ms ease;
}

.v3-schedule-menu-button > .v3-icon:last-child {
    color: var(--v3-app-muted);
    transition: transform 180ms ease;
}

.v3-schedule-view-menu.is-open .v3-schedule-menu-button > .v3-icon:last-child {
    transform: rotate(180deg);
}

.v3-schedule-menu {
    position: absolute;
    z-index: 80;
    top: calc(100% + 7px);
    right: 0;
    min-width: 174px;
    display: none;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    padding: 6px;
}

.v3-schedule-view-menu.is-open .v3-schedule-menu {
    display: grid;
}

.v3-schedule-menu a {
    min-height: 42px;
    display: flex;
    align-items: start;
    gap: 9px;
    border-radius: 8px;
    color: var(--v3-app-text);
    padding: 0 10px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-decoration: none;
}

.v3-schedule-menu a:hover,
.v3-schedule-menu a:focus-visible {
    color: var(--v3-accent-foreground);
    background: transparent;
    outline: none;
}

.v3-schedule-errors {
    border-color: var(--v3-danger-border);
    color: var(--v3-danger-foreground);
    background: transparent;
}

.v3-schedule-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
}

.v3-schedule-panel {
    min-width: 0;
    border: 1px solid var(--v3-app-border);
    border-radius: 14px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    overflow: hidden;
}

.v3-schedule-panel--calendar {
    display: grid;
}

.v3-schedule-panel--selected {
    display: none;
}

.v3-schedule-panel-header {
    min-height: 56px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--v3-app-border);
    padding: 12px 16px;
}

.v3-schedule-panel-header--compact {
    min-height: 44px;
    justify-content: flex-end;
    padding-block: 8px;
}

.v3-schedule-panel-title {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 9px;
}

.v3-schedule-panel-title h2 {
    min-width: 0;
    overflow: hidden;
    margin: 0;
    color: var(--v3-app-text);
    font-size: 18px;
    line-height: 1.1;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-week-overview-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 16px 20px 12px 28px;
}

.v3-week-overview-header h2 {
    margin: 0;
    color: var(--v3-app-text);
    font-size: 20px;
    line-height: 1.15;
    font-weight: 800;
}

.v3-schedule-range-label {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    white-space: nowrap;
}

.v3-schedule-week {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 12px;
    padding: 8px 28px 22px;
}

.v3-schedule-day {
    min-width: 0;
    min-height: 238px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 13px;
    border: 1px solid var(--v3-app-border);
    border-radius: 12px;
    color: inherit;
    background: var(--v3-app-panel-soft);
    padding: 16px 12px 18px;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
}

.v3-schedule-day:last-child {
    border-right: 1px solid var(--v3-app-border);
}

.v3-schedule-day.is-selected {
    border-color: var(--v3-accent-border);
    background: var(--v3-app-panel);
    box-shadow: 0 0 0 1px var(--v3-athletic-green);
}

.v3-schedule-day:focus-visible {
    border-color: var(--v3-accent-border);
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-schedule-day.needs-context:not(.is-selected) {
    border-color: var(--v3-app-border);
    background: transparent;
}

.v3-schedule-day-top {
    display: grid;
    justify-items: center;
    gap: 3px;
}

.v3-schedule-day-top strong {
    color: var(--v3-app-text);
    font-size: 14px;
    font-weight: 800;
}

.v3-schedule-day-top em {
    color: var(--v3-app-muted);
    font-size: 13px;
    font-style: normal;
    font-weight: 800;
}

.v3-schedule-day.is-today .v3-schedule-day-top em {
    color: var(--v3-accent-foreground);
}

.v3-schedule-day-badge {
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--schedule-accent, var(--v3-athletic-green));
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--schedule-accent, var(--v3-athletic-green));
}

.v3-schedule-day-badge .v3-icon {
    font-size: 30px;
}

.v3-schedule-day-badge--empty {
    color: var(--v3-app-muted);
    background: oklch(0.76 0.018 220 / 0.08);
    box-shadow: inset 0 0 0 1px var(--v3-app-border);
}

.v3-schedule-day-type {
    min-width: 0;
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-schedule-day-type.is-empty {
    color: var(--v3-app-muted);
}

.v3-schedule-day-type-control {
    width: calc(100% + 8px);
    min-width: 0;
    min-height: 36px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 12px;
    align-items: center;
    gap: 4px;
    border: 1px solid var(--v3-app-border);
    border-radius: 9px;
    color: var(--v3-app-text);
    background: color-mix(in oklch, var(--v3-app-panel) 74%, transparent);
    margin-inline: -4px;
    padding: 0 8px 0 10px;
    font: inherit;
    cursor: pointer;
    transition: color var(--v3-transition), background var(--v3-transition), border-color var(--v3-transition);
}

.v3-schedule-day-type-control .v3-icon {
    justify-self: end;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
}

.v3-schedule-day-type-control:hover,
.v3-schedule-day-type-control:focus-visible {
    border-color: var(--v3-athletic-green);
    background: var(--v3-app-panel);
    outline: none;
    box-shadow: none;
}

.v3-schedule-day-type-control:hover .v3-icon,
.v3-schedule-day-type-control:focus-visible .v3-icon {
    color: var(--v3-accent-foreground);
}

.v3-week-session-focus small,
.v3-week-session-target small {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-schedule-day-sessions {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    overflow: hidden;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-schedule-day-sessions {
    width: 100%;
    min-height: 30px;
    margin-top: 0;
    border-radius: 8px;
    color: var(--v3-app-muted);
    background: color-mix(in oklch, var(--v3-app-panel) 62%, transparent);
}

.v3-schedule-day-sessions .v3-icon {
    color: var(--v3-app-muted);
    font-size: 13px;
}

.v3-mini-meter {
    width: 36px;
    height: 20px;
    display: inline-block;
    border-radius: 40px 40px 0 0;
    background: conic-gradient(from 270deg, var(--schedule-accent, var(--v3-athletic-green)) 0 calc(var(--target, 0) * 1.8deg), var(--v3-app-border) 0 180deg, transparent 0);
    -webkit-mask: radial-gradient(farthest-side at 50% 100%, transparent calc(100% - 5px), oklch(0.12 0.01 220) 0);
    mask: radial-gradient(farthest-side at 50% 100%, transparent calc(100% - 5px), oklch(0.12 0.01 220) 0);
    vertical-align: -3px;
}

.v3-week-session-target strong {
    display: inline-flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    overflow: visible;
    white-space: nowrap;
}

.v3-week-session-target .v3-mini-meter {
    flex: 0 0 auto;
}

.v3-week-session-target em {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
}

.v3-schedule-month {
    display: grid;
    border-bottom: 1px solid var(--v3-app-border);
}

.v3-schedule-month-head,
.v3-schedule-month-row {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
}

.v3-schedule-month-head span {
    min-height: 36px;
    display: flex;
    align-items: center;
    border-right: 1px solid var(--v3-app-border);
    color: var(--v3-app-muted);
    padding: 0 12px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-schedule-month-head span:last-child {
    border-right: 0;
}

.v3-schedule-month-cell {
    position: relative;
    min-height: 104px;
    display: grid;
    align-content: start;
    gap: 7px;
    overflow: hidden;
    border-top: 1px solid var(--v3-app-border);
    border-right: 1px solid var(--v3-app-border);
    color: inherit;
    padding: 10px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.v3-schedule-month-cell:nth-child(7n) {
    border-right: 0;
}

.v3-schedule-month-cell.is-muted {
    opacity: 0.42;
}

.v3-schedule-month-cell.is-selected {
    background: transparent;
    box-shadow: inset 0 2px 0 var(--v3-athletic-green);
}

.v3-schedule-month-select {
    width: 100%;
    min-width: 0;
    min-height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    border: 0;
    border-radius: 7px;
    color: inherit;
    background: transparent;
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.v3-schedule-month-select::after {
    content: "";
    position: absolute;
    inset: 0;
}

.v3-schedule-month-select:focus-visible {
    outline: none;
    box-shadow: none;
}

.v3-schedule-month-select:focus-visible::after {
    box-shadow: inset 0 0 0 2px var(--v3-neutral-grey);
}

.v3-month-date {
    color: var(--v3-app-text);
    font-size: 15px;
    font-weight: 800;
}

.v3-month-type {
    position: relative;
    z-index: 1;
    min-width: 0;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr) 14px;
    align-items: center;
    gap: 6px;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    min-height: 26px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    color: var(--v3-app-text);
    background: color-mix(in oklch, var(--v3-app-panel) 62%, transparent);
    padding: 4px 5px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    white-space: normal;
    cursor: pointer;
}

.v3-month-type .v3-icon {
    color: var(--schedule-accent, var(--v3-athletic-green));
}

.v3-month-type span {
    min-width: 0;
    overflow: visible;
    line-height: 1.2;
    overflow-wrap: anywhere;
    white-space: normal;
}

.v3-month-type .v3-month-type-chevron {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
}

.v3-month-type:hover,
.v3-month-type:focus-visible {
    border-color: var(--schedule-accent, var(--v3-athletic-green));
    outline: none;
}

.v3-month-type.is-missing,
.v3-month-session-count {
    color: var(--v3-app-muted);
}

.v3-month-session-count {
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-week-sessions {
    display: grid;
    min-width: 0;
    border: 1px solid var(--v3-app-border);
    border-radius: 14px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    overflow: hidden;
}

.v3-week-sessions-header {
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--v3-app-border);
    padding: 16px 28px 14px;
}

.v3-week-sessions-header h2,
.v3-week-summary h2 {
    margin: 0;
    color: var(--v3-app-text);
    font-size: 20px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-week-sessions-header-actions {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 4px;
}

.v3-week-session-table {
    --v3-week-session-columns: minmax(180px, 0.92fr) minmax(150px, 0.68fr) minmax(300px, 1.34fr) minmax(150px, 0.68fr) minmax(82px, 0.36fr) minmax(128px, 0.5fr);
    display: grid;
}

.v3-week-session-panels,
.v3-week-session-panel {
    min-width: 0;
    display: grid;
}

.v3-week-session-head {
    min-height: 38px;
    display: grid;
    grid-template-columns: var(--v3-week-session-columns) 42px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--v3-app-border);
    color: var(--v3-app-muted);
    padding: 0 28px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-week-session-row {
    width: 100%;
    min-height: 74px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 42px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--v3-app-border);
    color: inherit;
    padding: 0 20px 0 28px;
}

.v3-week-session-row-button {
    width: 100%;
    min-height: 74px;
    display: grid;
    grid-template-columns: var(--v3-week-session-columns);
    align-items: center;
    gap: 10px;
    border: 0;
    color: inherit;
    background: transparent;
    padding: 10px 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.v3-week-session-row:last-child {
    border-bottom: 0;
}

.v3-week-session-icon,
.v3-plan-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--schedule-accent, var(--v3-athletic-green));
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--schedule-accent, var(--v3-athletic-green));
}

.v3-week-session-main,
.v3-week-session-primary,
.v3-week-session-secondary,
.v3-selected-session-item > span:not(.v3-week-session-icon) {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.v3-week-session-main strong,
.v3-selected-session-item strong {
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-week-session-main em,
.v3-selected-session-item em {
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-week-session-time,
.v3-week-session-location,
.v3-week-session-primary,
.v3-week-session-secondary,
.v3-week-session-intensity {
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-week-session-primary {
    color: var(--schedule-accent, var(--v3-athletic-green-strong));
    font-weight: 800;
}

.v3-week-session-secondary {
    align-content: center;
    gap: 2px;
    line-height: 1.22;
    white-space: normal;
}

.v3-week-session-secondary > span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-week-session-intensity {
    color: var(--v3-app-text);
    font-weight: 800;
}

.v3-week-session-empty {
    color: var(--v3-app-muted);
    font-weight: 800;
}

.v3-week-session-actions {
    position: relative;
    justify-self: end;
}

.v3-week-session-actions > summary {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    color: var(--v3-app-muted);
    cursor: pointer;
    list-style: none;
}

.v3-week-session-actions > summary::-webkit-details-marker {
    display: none;
}

.v3-week-session-actions > summary:hover,
.v3-week-session-actions > summary:focus-visible,
.v3-week-session-actions[open] > summary {
    border-color: var(--v3-athletic-green);
    color: var(--v3-app-text);
    outline: none;
}

.v3-week-session-delete-form {
    position: absolute;
    top: 50%;
    right: calc(100% + 8px);
    z-index: 5;
    transform: translateY(-50%);
}

.v3-week-session-delete {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--v3-danger-border);
    border-radius: 10px;
    color: var(--v3-danger-foreground);
    background: transparent;
    padding: 0 12px;
    font: inherit;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
    box-shadow: var(--v3-shadow-panel);
}

.v3-week-session-delete:hover,
.v3-week-session-delete:focus-visible {
    border-color: var(--v3-danger-border);
    outline: none;
}

.v3-schedule-empty-row,
.v3-selected-empty,
.v3-selected-preview {
    display: grid;
    justify-items: center;
    gap: 8px;
    border: 1px dashed var(--v3-app-border);
    border-radius: 10px;
    color: var(--v3-app-muted);
    margin: 18px 20px 20px;
    padding: 24px 18px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-align: center;
}

.v3-schedule-empty-row .v3-icon {
    color: var(--v3-app-muted);
    font-size: 28px;
}

.v3-schedule-empty-row strong,
.v3-selected-preview strong {
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
}

.v3-inspector-mode {
    display: grid;
}

.v3-inspector-mode.is-hidden {
    display: none;
}

.v3-empty-inspector {
    min-height: 460px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 12px;
    padding: 34px;
    text-align: center;
}

.v3-empty-inspector > .v3-icon {
    color: var(--v3-app-muted);
    font-size: 46px;
}

.v3-empty-inspector h2 {
    margin: 0;
    color: var(--v3-app-text);
    font-size: 17px;
    font-weight: 800;
}

.v3-empty-inspector p {
    max-width: 28ch;
    margin: 0;
    color: var(--v3-app-muted);
    font-size: 13px;
    line-height: 1.45;
    font-weight: 800;
}

.v3-schedule-warning {
    min-height: 34px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    border-bottom: 1px solid var(--v3-app-border);
    color: var(--v3-warning-foreground);
    padding: 0 16px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-selected-day-form,
.v3-session-editor-mode form,
.v3-plan-form {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
}

.v3-selected-day-form {
    border-bottom: 1px solid var(--v3-app-border);
}

.v3-day-setup-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.v3-day-setup-heading h3 {
    margin: 0;
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
}

.v3-day-setup-heading > span {
    border-radius: 7px;
    color: var(--v3-app-muted);
    background: var(--v3-app-panel-soft);
    padding: 4px 8px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-selected-day-form label,
.v3-session-editor-mode label,
.v3-plan-form label {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.v3-selected-day-form label > span,
.v3-session-editor-mode label > span,
.v3-plan-form label > span {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-schedule-input,
.v3-schedule-select,
.v3-schedule-textarea {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    color: var(--v3-app-text);
    background: var(--v3-app-panel-soft);
    padding: 0 11px;
    font: inherit;
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-schedule-textarea {
    min-height: 72px;
    padding: 9px 11px;
    resize: vertical;
}

.v3-schedule-input[type="color"] {
    padding: 4px;
}

.v3-schedule-input:focus,
.v3-schedule-select:focus,
.v3-schedule-textarea:focus {
    outline: none;
    border-color: var(--v3-accent-border);
    box-shadow: var(--v3-focus-ring);
}

.v3-schedule-select.v3-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.v3-schedule-custom-select {
    position: relative;
    min-width: 0;
}

.v3-schedule-custom-select.is-open {
    z-index: 90;
}

.v3-schedule-select-button {
    width: 100%;
    min-height: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    color: var(--v3-app-text);
    background: var(--v3-app-panel-soft);
    padding: 0 11px;
    font: inherit;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: transform var(--v3-press-transition), border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.v3-schedule-select-button:hover,
.v3-schedule-select-button:focus-visible,
.v3-schedule-custom-select.is-open .v3-schedule-select-button {
    outline: none;
    border-color: var(--v3-accent-border);
    box-shadow: var(--v3-focus-ring);
}

.v3-schedule-select-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-schedule-select-button.is-empty .v3-schedule-select-value {
    color: var(--v3-app-muted);
}

.v3-schedule-select-icon {
    color: var(--v3-app-muted);
    transition: transform 180ms ease;
}

.v3-schedule-custom-select.is-open .v3-schedule-select-icon {
    transform: rotate(180deg);
}

.v3-schedule-select-menu {
    position: absolute;
    z-index: 91;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    display: none;
    max-height: 240px;
    overflow: auto;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    padding: 6px;
}

.v3-schedule-select-menu.is-floating {
    position: fixed;
    z-index: 240;
    right: auto;
    display: grid;
}

.v3-schedule-custom-select.is-open .v3-schedule-select-menu {
    display: grid;
}

.v3-schedule-select-option {
    width: 100%;
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    color: var(--v3-app-text);
    background: transparent;
    padding: 7px 9px;
    font: inherit;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-align: left;
    cursor: pointer;
}

.v3-schedule-select-option > span:not(.v3-schedule-select-option-copy) {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-schedule-select-option-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.v3-schedule-select-option-copy strong {
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-weight: 800;
}

.v3-schedule-select-option-copy em {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    line-height: 1.3;
    font-weight: 700;
}

.v3-schedule-select-option:hover,
.v3-schedule-select-option:focus-visible,
.v3-schedule-select-option.is-selected {
    background: var(--v3-app-panel-soft);
    outline: none;
}

.v3-schedule-select-check {
    align-self: center;
    justify-self: center;
    color: var(--v3-accent-foreground);
    visibility: hidden;
}

.v3-schedule-select-option.is-selected .v3-schedule-select-check {
    visibility: visible;
}

.v3-session-focus-field .v3-schedule-select-menu {
    max-height: 330px;
}

.v3-session-focus-field .v3-schedule-select-option {
    min-height: 58px;
    align-items: start;
    padding-block: 6px;
}

.v3-schedule-custom-select--readiness .v3-schedule-select-menu {
    max-height: 300px;
}

.v3-schedule-custom-select--readiness .v3-schedule-select-option {
    min-height: 58px;
    padding-block: 8px;
}

.v3-schedule-radio-row,
.v3-schedule-check-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
}

.v3-schedule-radio-row label,
.v3-schedule-check-grid label {
    min-height: 34px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: center;
    gap: 6px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    background: var(--v3-app-panel-soft);
    padding: 0 8px;
}

.v3-schedule-radio-row input,
.v3-schedule-check-grid input {
    accent-color: var(--v3-athletic-green);
}

.v3-schedule-radio-row span,
.v3-schedule-check-grid span {
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-next-day-impact {
    margin: 0;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.4;
    font-weight: 800;
}

.v3-next-day-impact {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.v3-next-day-impact .v3-icon {
    color: var(--schedule-accent, var(--v3-athletic-green-strong));
}

.v3-target-card,
.v3-inspector-field,
.v3-athlete-preview-card,
.v3-visibility-row,
.v3-selected-session-list,
.v3-return-flags {
    border-bottom: 1px solid var(--v3-app-border);
    padding: 14px 16px;
}

.v3-target-card {
    display: grid;
    gap: 10px;
}

.v3-target-card h3,
.v3-inspector-field h3,
.v3-athlete-preview-card h3,
.v3-selected-session-list h3,
.v3-return-flags h3 {
    margin: 0;
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
}

.v3-target-gauge {
    position: relative;
    width: 176px;
    height: 96px;
    justify-self: center;
    display: grid;
    place-items: end center;
    overflow: hidden;
}

.v3-target-gauge::before {
    content: "";
    position: absolute;
    top: 0;
    width: 176px;
    height: 176px;
    border-radius: 50%;
    background: conic-gradient(from 270deg, var(--schedule-accent, var(--v3-athletic-green)) 0 calc(var(--target, 0) * 1.8deg), var(--v3-app-border) 0 180deg, transparent 0);
    -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 15px), oklch(0.12 0.01 220) 0);
    mask: radial-gradient(farthest-side, transparent calc(100% - 15px), oklch(0.12 0.01 220) 0);
}

.v3-target-gauge strong {
    position: relative;
    z-index: 1;
    color: var(--v3-app-text);
    font-size: 38px;
    line-height: 0.95;
    font-weight: 800;
}

.v3-target-gauge span {
    color: var(--v3-app-muted);
    font-size: 14px;
    font-weight: 800;
}

.v3-target-card p,
.v3-inspector-field p,
.v3-athlete-preview-card p {
    margin: 0;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.45;
    font-weight: 800;
}

.v3-target-card p {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: var(--v3-app-text);
}

.v3-target-card p .v3-icon {
    color: var(--schedule-accent, var(--v3-athletic-green));
}

.v3-athlete-preview-card {
    display: grid;
    gap: 10px;
}

.v3-athlete-preview-card > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.v3-athlete-preview-card > header span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--v3-success-foreground);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    white-space: nowrap;
}

.v3-athlete-preview-card > div {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.v3-athlete-preview-card strong {
    display: block;
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
}

.v3-athlete-preview-card em {
    display: block;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    font-weight: 800;
}

.v3-athlete-preview-card em b {
    font-weight: 800;
}

.v3-visibility-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.v3-visibility-row strong {
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
}

.v3-visibility-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--v3-success-foreground);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-selected-session-list {
    display: grid;
    gap: 0;
    padding: 0;
}

.v3-selected-session-list > header {
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 16px;
}

.v3-selected-session-item {
    min-height: 58px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 36px;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--v3-app-border);
    padding: 9px 16px;
}

.v3-schedule-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.v3-repeat-options {
    border: 1px solid var(--v3-app-border);
    border-radius: 9px;
}

.v3-repeat-options > summary {
    min-height: 38px;
    display: grid;
    align-items: center;
    gap: 2px;
    color: var(--v3-app-muted);
    padding: 8px 10px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    cursor: pointer;
}

.v3-repeat-options > summary em {
    color: var(--v3-app-muted);
    font-style: normal;
    font-size: var(--v3-type-caption);
    line-height: 1.35;
    font-weight: 700;
}

.v3-repeat-options > summary::-webkit-details-marker,
.v3-schedule-delete > summary::-webkit-details-marker,
.v3-plan-delete > summary::-webkit-details-marker {
    display: none;
}

.v3-repeat-options > div {
    display: grid;
    gap: 8px;
    border-top: 1px solid var(--v3-app-border);
    padding: 10px;
}

.v3-repeat-days ul {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v3-repeat-days label {
    min-height: 30px;
    display: grid;
    grid-template-columns: 16px auto;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    padding: 0 8px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-schedule-editor-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.v3-schedule-delete {
    margin-left: auto;
}

.v3-schedule-delete > summary,
.v3-plan-delete > summary {
    min-height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    color: var(--v3-app-muted);
    padding: 0 10px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    cursor: pointer;
}

.v3-schedule-delete[open],
.v3-plan-delete[open] {
    display: flex;
    align-items: center;
    gap: 8px;
}

.v3-return-flag {
    min-height: 48px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    border-top: 1px solid var(--v3-app-border);
    padding: 8px 0;
}

.v3-return-flag span {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.v3-return-flag strong {
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
}

.v3-return-flag em {
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-schedule-errors {
    border: 1px solid;
    border-radius: 8px;
    padding: 8px 10px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-schedule-errors ul {
    margin: 0;
    padding-left: 18px;
}

.v3-week-summary {
    min-width: 0;
    display: grid;
    gap: 12px;
    border: 1px solid var(--v3-app-border);
    border-radius: 14px;
    background: var(--v3-app-panel);
    padding: 18px 20px;
    box-shadow: var(--v3-shadow-panel);
}

.v3-week-summary-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr)) minmax(250px, 1.25fr);
    gap: 10px;
}

.v3-week-summary-card {
    min-width: 0;
    min-height: 74px;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas:
        "icon value"
        "icon label"
        "icon caption";
    align-items: center;
    column-gap: 10px;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    background: var(--v3-app-panel-soft);
    padding: 12px;
}

.v3-week-summary-card > span {
    grid-area: icon;
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--summary-color, var(--v3-athletic-green));
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--summary-color, var(--v3-athletic-green));
}

.v3-week-summary-card strong {
    grid-area: value;
    color: var(--v3-app-text);
    font-size: 21px;
    line-height: 1;
    font-weight: 800;
}

.v3-week-summary-card em {
    grid-area: label;
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-week-summary-card small {
    grid-area: caption;
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-week-summary-card--green {
    --summary-color: var(--v3-athletic-green);
}

.v3-week-summary-card--blue {
    --summary-color: var(--v3-signal-blue);
}

.v3-week-summary-card--amber {
    --summary-color: var(--v3-warning-orange);
}

.v3-week-summary-card--purple {
    --summary-color: oklch(0.68 0.14 292);
}

.v3-week-summary-card--note {
    grid-template-columns: 40px minmax(0, 1fr);
    grid-template-areas: "icon note";
}

.v3-week-summary-card--note p {
    grid-area: note;
    margin: 0;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.45;
    font-weight: 800;
}

.v3-schedule-dialog {
    width: min(720px, calc(100vw - 36px));
    max-height: min(720px, calc(var(--v3-viewport-height) - 48px));
    border: 1px solid var(--v3-app-border);
    border-radius: 16px;
    color: var(--v3-app-text);
    background: var(--v3-app-panel);
    padding: 0;
    box-shadow: var(--v3-shadow-panel);
}

.v3-session-editor-dialog {
    width: min(760px, calc(100vw - 36px));
}

.v3-day-type-dialog {
    width: min(760px, calc(100vw - 36px));
}

.v3-day-type-create-dialog {
    width: min(520px, calc(100vw - 36px));
}

.v3-day-type-manage-dialog {
    width: min(980px, calc(100vw - 36px));
    height: min(720px, calc(var(--v3-viewport-height) - 48px));
    overflow-x: hidden;
}

.v3-day-type-manage-dialog:not([open]) {
    display: none;
}

.v3-day-type-manage-dialog[open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.v3-session-editor-dialog .v3-schedule-panel-header {
    border-bottom: 1px solid var(--v3-app-border);
}

.v3-session-editor-dialog .v3-session-editor-mode,
.v3-schedule-modal {
    max-height: min(720px, calc(var(--v3-viewport-height) - 48px));
    overflow: auto;
}

.v3-schedule-modal.v3-day-type-manage-dialog {
    overflow-x: hidden;
    overflow-y: hidden;
}

.v3-schedule-modal {
    background: var(--v3-app-panel);
}

@media (min-width: 681px) {
    .v3-day-type-dialog.v3-schedule-modal {
        max-height: min(760px, calc(var(--v3-viewport-height) - 48px));
    }
}

.v3-modal-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 34px;
    align-items: center;
    gap: 14px;
    padding: 22px 24px 14px;
}

.v3-modal-icon {
    width: 54px;
    height: 54px;
    display: none;
    place-items: center;
    border: 1px solid var(--modal-accent, var(--v3-athletic-green));
    border-radius: 14px;
    color: var(--modal-accent, var(--v3-athletic-green));
    background: transparent;
    box-shadow: none;
}

.v3-modal-icon .v3-icon {
    font-size: 26px;
}

.v3-modal-icon--session {
    --modal-accent: var(--v3-athletic-green);
}

.v3-modal-icon--day-type {
    --modal-accent: oklch(0.72 0.16 292);
}

.v3-modal-title {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.v3-modal-title h2 {
    margin: 0;
    color: var(--v3-app-text);
    font-size: 22px;
    line-height: 1.1;
    font-weight: 800;
}

.v3-modal-title p {
    margin: 0;
    color: var(--v3-app-muted);
    font-size: 13px;
    font-weight: 800;
}

.v3-session-editor-dialog .v3-modal-title,
.v3-day-type-dialog[data-v3-plan-tools] .v3-modal-title {
    grid-area: title;
    justify-items: center;
    gap: 7px;
    padding-top: 2px;
    text-align: center;
}

.v3-session-editor-dialog .v3-modal-title h2,
.v3-day-type-dialog[data-v3-plan-tools] .v3-modal-title h2 {
    overflow: hidden;
    font-size: 18px;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-session-editor-dialog .v3-modal-title p,
.v3-day-type-dialog[data-v3-plan-tools] .v3-modal-title p {
    max-width: 58ch;
    font-size: 13px;
    line-height: 1.35;
}

.v3-session-editor-dialog .v3-modal-hero,
.v3-day-type-dialog[data-v3-plan-tools] .v3-modal-hero {
    grid-template-areas:
        "date close"
        "title title";
    align-items: start;
    gap: 10px 14px;
}

.v3-session-editor-dialog .v3-session-modal-date,
.v3-day-type-dialog[data-v3-plan-tools] .v3-day-type-modal-date {
    grid-area: date;
    align-self: center;
    justify-self: start;
    overflow: hidden;
    color: var(--v3-accent-foreground);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-session-editor-dialog .v3-modal-close,
.v3-day-type-dialog[data-v3-plan-tools] .v3-modal-close {
    grid-area: close;
    justify-self: end;
}

.v3-session-modal-form {
    display: grid;
    gap: 0;
    padding: 0;
}

.v3-session-editor-mode form.v3-session-modal-form,
.v3-day-type-modal-form {
    padding: 0;
}

.v3-session-modal-body {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(290px, 340px);
    align-items: start;
    gap: 14px;
    padding: 4px 24px 16px;
}

.v3-session-modal-section {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
}

.v3-session-section-header {
    min-width: 0;
    min-height: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.v3-session-section-title {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.v3-session-section-title h3 {
    margin: 0;
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: 14px;
    line-height: 1.15;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-schedule-info-button {
    position: relative;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 0;
    border-radius: 7px;
    color: var(--v3-app-muted);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: transform var(--v3-press-transition), color 160ms ease, background 160ms ease;
}

.v3-schedule-info-button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
}

.v3-schedule-info-button .v3-icon {
    font-size: 15px;
    line-height: 1;
}

.v3-schedule-info-button:hover,
.v3-schedule-info-button:focus-visible,
.v3-schedule-info-button[aria-expanded="true"] {
    color: var(--v3-accent-foreground);
    background: transparent;
    outline: none;
}

.v3-schedule-info-popover {
    margin: -2px 0 0;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    color: var(--v3-app-muted);
    background: var(--v3-app-panel);
    padding: 9px 10px;
    font-size: var(--v3-type-caption);
    line-height: 1.35;
    font-weight: 700;
}

.v3-session-modal-fields,
.v3-modal-advanced > div {
    min-width: 0;
    display: grid;
    gap: 10px;
}

.v3-modal-field,
.v3-modal-toggle-field {
    min-width: 0;
    display: grid;
    gap: 9px;
}

.v3-session-editor-dialog .v3-modal-field,
.v3-session-editor-dialog .v3-modal-toggle-field {
    grid-template-columns: 164px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
}

.v3-session-editor-dialog .v3-modal-field--static {
    align-items: center;
}

.v3-session-editor-dialog .v3-modal-field:has(.v3-schedule-textarea) {
    align-items: start;
}

.v3-modal-static-value {
    min-height: 38px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    color: var(--v3-app-text);
    background: var(--v3-app-panel-soft);
    padding: 0 12px;
    font-size: 13px;
    font-weight: 800;
}

.v3-modal-static-value .v3-icon {
    color: var(--v3-app-muted);
}

.v3-modal-field > span,
.v3-modal-toggle-field > span:first-child {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
    font-weight: 800;
}

.v3-modal-field > span em {
    color: var(--v3-app-muted);
    font-style: normal;
    font-weight: 800;
}

.v3-field-copy {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.v3-field-copy strong {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
    font-weight: 800;
}

.v3-field-copy strong em,
.v3-field-copy > em {
    color: var(--v3-app-muted);
    font-style: normal;
    font-size: inherit;
    line-height: inherit;
    font-weight: 700;
}

.v3-modal-field-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.v3-secondary-focus-control {
    min-width: 0;
    min-height: 38px;
    display: grid;
    gap: 7px;
}

.v3-session-editor-dialog .v3-secondary-focus-field {
    align-items: start;
}

.v3-secondary-focus-field > span:first-child {
    padding-top: 9px;
}

.v3-secondary-focus-tags {
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.v3-secondary-focus-tags[hidden] {
    display: none;
}

.v3-secondary-focus-tag {
    max-width: 100%;
    min-height: 24px;
    display: inline-grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--v3-athletic-green);
    border-radius: var(--v3-radius-pill);
    color: var(--v3-app-text);
    background: transparent;
    padding: 2px 4px 2px 9px;
    font-size: var(--v3-type-caption);
    line-height: 1;
    font-weight: 800;
}

.v3-secondary-focus-tag > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-secondary-focus-tag button {
    position: relative;
    width: 18px;
    height: 18px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    color: var(--v3-app-muted);
    background: transparent;
    padding: 0;
    cursor: pointer;
    transition: transform var(--v3-press-transition), color 160ms ease, background 160ms ease;
}

.v3-secondary-focus-tag button::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 40px;
    height: 40px;
    transform: translate(-50%, -50%);
}

.v3-secondary-focus-tag button:hover,
.v3-secondary-focus-tag button:focus-visible {
    color: var(--v3-app-text);
    background: transparent;
    outline: none;
}

.v3-secondary-focus-picker {
    position: relative;
    min-width: 0;
}

.v3-secondary-focus-picker[hidden] {
    display: none;
}

.v3-secondary-focus-toggle {
    width: 100%;
    min-height: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    color: var(--v3-app-text);
    background: var(--v3-app-panel-soft);
    padding: 0 11px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-align: left;
    cursor: pointer;
    transition: transform var(--v3-press-transition), border-color 160ms ease, background 160ms ease;
}

.v3-secondary-focus-toggle:hover,
.v3-secondary-focus-toggle:focus-visible,
.v3-secondary-focus-toggle[aria-expanded="true"] {
    border-color: var(--v3-accent-border);
    box-shadow: var(--v3-focus-ring);
    outline: none;
}

.v3-secondary-focus-toggle:disabled {
    cursor: not-allowed;
    opacity: 0.72;
}

.v3-secondary-focus-toggle .v3-icon {
    color: var(--v3-app-muted);
    transition: transform 180ms ease;
}

.v3-secondary-focus-toggle[aria-expanded="true"] .v3-icon {
    transform: rotate(180deg);
}

.v3-secondary-focus-menu {
    position: absolute;
    z-index: 88;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    max-height: 270px;
    overflow: auto;
    display: grid;
    gap: 4px;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    padding: 6px;
}

.v3-secondary-focus-menu[hidden] {
    display: none;
}

.v3-secondary-focus-option {
    min-width: 0;
    min-height: 58px;
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px;
    align-items: start;
    gap: 10px;
    border: 0;
    border-radius: 8px;
    color: var(--v3-app-text);
    background: transparent;
    padding: 6px 8px;
    cursor: pointer;
}

.v3-secondary-focus-option input {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.v3-secondary-focus-option > span {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.v3-secondary-focus-option strong {
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-weight: 800;
}

.v3-secondary-focus-option em {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    line-height: 1.3;
    font-weight: 700;
}

.v3-secondary-focus-option-check {
    visibility: hidden;
    color: var(--v3-accent-foreground);
    font-size: 14px;
    line-height: 1;
    margin-top: 1px;
}

.v3-secondary-focus-option:hover,
.v3-secondary-focus-option:focus-within,
.v3-secondary-focus-option.is-selected {
    background: var(--v3-app-panel-soft);
}

.v3-secondary-focus-option.is-selected .v3-secondary-focus-option-check {
    visibility: visible;
}

.v3-secondary-focus-option.is-disabled {
    opacity: 0.48;
    cursor: not-allowed;
}

.v3-effort-gauge {
    --effort-percent: 0%;
    min-width: 0;
    display: grid;
    grid-template-rows: 28px 24px;
    gap: 5px;
}

.v3-effort-status {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    height: 24px;
    min-height: 24px;
    overflow: visible;
}

.v3-effort-status strong {
    color: var(--v3-app-muted);
    display: block;
    min-width: 0;
    font-size: var(--v3-type-caption);
    line-height: 1;
    font-weight: 800;
    white-space: nowrap;
}

.v3-effort-status em {
    color: var(--v3-app-muted);
    min-width: 0;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
    font-size: var(--v3-type-caption);
    font-style: normal;
    line-height: 1.2;
    font-weight: 800;
}

.v3-effort-gauge.has-value .v3-effort-status strong {
    color: var(--v3-app-text);
}

.v3-effort-clear {
    justify-self: start;
    min-width: 48px;
    min-height: 24px;
    border: 1px solid var(--v3-app-border);
    border-radius: 7px;
    color: var(--v3-app-muted);
    background: transparent;
    padding: 0 8px;
    font: inherit;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    cursor: pointer;
}

.v3-effort-clear:hover,
.v3-effort-clear:focus-visible {
    border-color: var(--v3-athletic-green);
    color: var(--v3-app-text);
    outline: none;
}

.v3-effort-range {
    width: 100%;
    height: 28px;
    appearance: none;
    -webkit-appearance: none;
    background: transparent;
    cursor: pointer;
}

.v3-effort-range:focus-visible {
    outline: none;
}

.v3-effort-range::-webkit-slider-runnable-track {
    height: 12px;
    border: 1px solid var(--v3-app-border);
    border-radius: var(--v3-radius-pill);
    background: var(--v3-app-panel-soft);
}

.v3-effort-gauge.has-value .v3-effort-range::-webkit-slider-runnable-track {
    background:
        linear-gradient(90deg, var(--v3-athletic-green) 0 var(--effort-percent), var(--v3-app-panel-soft) var(--effort-percent) 100%);
}

.v3-effort-range::-moz-range-track {
    height: 12px;
    border: 1px solid var(--v3-app-border);
    border-radius: var(--v3-radius-pill);
    background: var(--v3-app-panel-soft);
}

.v3-effort-range::-moz-range-progress {
    height: 12px;
    border-radius: var(--v3-radius-pill);
    background: var(--v3-app-panel-soft);
}

.v3-effort-gauge.has-value .v3-effort-range::-moz-range-progress {
    background: var(--v3-athletic-green);
}

.v3-effort-range::-webkit-slider-thumb {
    width: 26px;
    height: 26px;
    margin-top: -8px;
    border: 3px solid var(--v3-app-panel);
    border-radius: 50%;
    background: var(--v3-app-muted);
    box-shadow: 0 0 0 1px var(--v3-app-border), 0 8px 18px oklch(0.08 0.012 220 / 0.28);
    appearance: none;
    -webkit-appearance: none;
}

.v3-effort-range::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border: 3px solid var(--v3-app-panel);
    border-radius: 50%;
    background: var(--v3-app-muted);
    box-shadow: 0 0 0 1px var(--v3-app-border), 0 8px 18px oklch(0.08 0.012 220 / 0.28);
}

.v3-effort-gauge.has-value .v3-effort-range::-webkit-slider-thumb {
    background: var(--v3-athletic-green);
    box-shadow: 0 0 0 1px var(--v3-athletic-green), 0 8px 18px oklch(0.08 0.012 220 / 0.28);
}

.v3-effort-gauge.has-value .v3-effort-range::-moz-range-thumb {
    background: var(--v3-athletic-green);
    box-shadow: 0 0 0 1px var(--v3-athletic-green), 0 8px 18px oklch(0.08 0.012 220 / 0.28);
}

.v3-effort-range:focus-visible::-webkit-slider-thumb {
    box-shadow: var(--v3-focus-ring);
}

.v3-effort-range:focus-visible::-moz-range-thumb {
    box-shadow: var(--v3-focus-ring);
}

.v3-session-modal-form .v3-schedule-input,
.v3-session-modal-form .v3-schedule-select-button,
.v3-session-modal-form .v3-schedule-textarea {
    min-height: 38px;
    border-radius: 10px;
    padding-inline: 12px;
    font-size: 13px;
}

.v3-session-modal-form .v3-schedule-textarea {
    min-height: 70px;
    padding: 10px 12px;
    line-height: 1.45;
}

.v3-modal-toggle-field {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
}

.v3-modal-toggle-field > span:first-child {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.v3-modal-toggle-field--explained {
    align-items: start;
}

.v3-modal-toggle-field--explained > span:first-child {
    display: grid;
    gap: 3px;
}

.v3-modal-toggle-field > span:first-child .v3-icon {
    color: var(--v3-app-muted);
    font-size: 14px;
}

.v3-toggle-switch {
    width: 48px;
    height: 26px;
    position: relative;
    display: inline-grid;
}

.v3-toggle-switch input {
    position: absolute;
    inset: 0;
    z-index: 2;
    opacity: 0;
    cursor: pointer;
}

.v3-toggle-switch > span {
    display: block;
    border-radius: 999px;
    background: var(--v3-app-panel-soft);
    box-shadow: inset 0 0 0 1px var(--v3-app-border);
    transition: background 180ms ease, box-shadow 180ms ease;
}

.v3-toggle-switch > span::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--v3-app-muted);
    transition: transform 180ms ease, background 180ms ease;
}

.v3-toggle-switch input:checked + span {
    background: var(--v3-athletic-green);
    box-shadow: inset 0 0 0 1px #009B44;
}

.v3-toggle-switch input:checked + span::after {
    background: var(--v3-app-panel);
    transform: translateX(22px);
}

.v3-modal-advanced {
    border-top: 1px solid var(--v3-app-border);
    border-bottom: 1px solid var(--v3-app-border);
    padding-block: 11px;
}

.v3-modal-advanced > summary {
    min-height: 28px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 20px;
    align-items: center;
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
}

.v3-modal-advanced > summary span {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.v3-modal-advanced > summary strong {
    color: var(--v3-app-text);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-modal-advanced > summary em {
    color: var(--v3-app-muted);
    font-style: normal;
    font-size: var(--v3-type-caption);
    line-height: 1.35;
    font-weight: 800;
}

.v3-session-modal-form .v3-schedule-check-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.v3-session-modal-form .v3-schedule-check-grid label {
    min-height: auto;
    align-items: start;
    padding: 10px;
}

.v3-session-modal-form .v3-schedule-check-grid span {
    display: grid;
    gap: 3px;
    color: var(--v3-app-text);
    white-space: normal;
    text-overflow: clip;
}

.v3-session-modal-form .v3-schedule-check-grid strong {
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-weight: 800;
}

.v3-session-modal-form .v3-schedule-check-grid em {
    color: var(--v3-app-muted);
    font-style: normal;
    font-size: var(--v3-type-caption);
    line-height: 1.35;
    font-weight: 700;
}

.v3-modal-advanced > summary .v3-icon {
    color: var(--v3-app-muted);
    transition: transform 180ms ease;
}

.v3-modal-advanced[open] > summary {
    margin-bottom: 12px;
}

.v3-modal-advanced[open] > summary .v3-icon {
    transform: rotate(180deg);
}

.v3-modal-advanced > summary::-webkit-details-marker {
    display: none;
}

.v3-athlete-inline-preview {
    border-left: 1px solid var(--v3-app-border);
    padding-left: 16px;
}

.v3-athlete-option-grid {
    display: grid;
    gap: 10px;
}

.v3-athlete-option {
    min-height: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    color: var(--v3-app-muted);
    padding: 2px 0;
}

.v3-athlete-option-copy {
    min-width: 0;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
    font-weight: 800;
}

.v3-athlete-check {
    position: relative;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
    justify-self: end;
    cursor: pointer;
}

.v3-athlete-check input {
    position: absolute;
    inset: 0;
    z-index: 2;
    width: 100%;
    height: 100%;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.v3-athlete-check > span:not(.v3-sr-only) {
    width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    border: 2px solid color-mix(in oklch, var(--v3-app-muted) 62%, var(--v3-app-border));
    border-radius: 5px;
    color: transparent;
    background: var(--v3-app-panel-soft);
    transition: border-color 160ms ease, background 160ms ease, color 160ms ease, box-shadow 160ms ease;
}

.v3-athlete-check > span:not(.v3-sr-only) .v3-icon {
    font-size: 14px;
    line-height: 1;
}

.v3-athlete-option:has(.v3-athlete-check input:checked) .v3-athlete-option-copy {
    color: var(--v3-app-text);
}

.v3-athlete-check input:checked + span {
    border-color: var(--v3-athletic-green);
    color: var(--v3-ink-dark);
    background: var(--v3-athletic-green);
}

.v3-athlete-check input:focus-visible + span {
    box-shadow: var(--v3-focus-ring);
}

.v3-athlete-check:hover > span:not(.v3-sr-only) {
    border-color: var(--v3-athletic-green);
}

.v3-session-editor-mode .v3-athlete-preview-switch {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
    font-weight: 800;
    white-space: nowrap;
    cursor: pointer;
}

.v3-session-editor-mode .v3-athlete-preview-switch .v3-toggle-switch {
    width: 42px;
    height: 24px;
    flex: 0 0 auto;
}

.v3-session-editor-mode .v3-athlete-preview-switch .v3-toggle-switch > span::after {
    width: 18px;
    height: 18px;
}

.v3-session-editor-mode .v3-athlete-preview-switch .v3-toggle-switch input:checked + span::after {
    transform: translateX(18px);
}

.v3-athlete-preview-content {
    display: grid;
    gap: 8px;
    opacity: 1;
    visibility: visible;
    transition: opacity 160ms ease, visibility 160ms ease;
}

.v3-athlete-preview-content.is-concealed {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.v3-athlete-preview-row {
    min-width: 0;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 1px solid var(--v3-app-border);
    border-radius: 12px;
    background: var(--v3-app-panel-soft);
    padding: 10px 12px;
}

.v3-athlete-preview-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--schedule-accent, var(--v3-athletic-green));
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--schedule-accent, var(--v3-athletic-green));
    font-size: 19px;
}

.v3-athlete-preview-row strong {
    display: block;
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-athlete-preview-meta {
    min-width: 0;
    display: grid;
    gap: 5px;
    margin-top: 6px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-athlete-preview-meta > span {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    white-space: nowrap;
}

.v3-athlete-preview-meta .v3-icon {
    color: var(--v3-app-muted);
}

.v3-athlete-preview-meta > span > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.v3-athlete-preview-note {
    display: block;
    margin-top: 6px;
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-preview-note-field {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.v3-preview-note-field > span {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-preview-note-field > span em {
    color: var(--v3-app-muted);
    font-style: normal;
    font-weight: 700;
}

.v3-preview-note-field .v3-schedule-textarea {
    min-height: 58px;
}

.v3-athlete-phone-preview {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 18px;
    border-left: 1px solid var(--v3-app-border);
    padding-left: 34px;
}

.v3-athlete-phone-preview h3 {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--v3-app-text);
    font-size: 18px;
    font-weight: 800;
}

.v3-athlete-phone-preview h3 .v3-icon {
    color: var(--v3-athletic-green);
}

.v3-preview-phone {
    width: 286px;
    min-height: 510px;
    position: relative;
    display: grid;
    align-items: stretch;
    justify-self: center;
    border: 8px solid oklch(0.08 0.01 220);
    border-radius: 42px;
    background: linear-gradient(135deg, oklch(0.12 0.018 220), oklch(0.20 0.018 220 / 0.92));
    box-shadow: 0 20px 50px oklch(0.04 0.01 220 / 0.48);
    overflow: hidden;
}

.v3-preview-phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    width: 92px;
    height: 24px;
    border-radius: 0 0 16px 16px;
    background: oklch(0.08 0.01 220);
    transform: translateX(-50%);
}

.v3-preview-session-card {
    align-self: center;
    display: grid;
    gap: 18px;
    padding: 28px;
}

.v3-preview-session-pill {
    min-width: 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.v3-preview-session-pill .v3-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    color: var(--schedule-accent, var(--v3-athletic-green));
    background: transparent;
    box-shadow: inset 0 0 0 1px var(--schedule-accent, var(--v3-athletic-green));
    font-size: 24px;
}

.v3-preview-session-pill strong {
    overflow: hidden;
    border-radius: 8px;
    color: var(--schedule-accent, var(--v3-athletic-green));
    border: 1px solid var(--schedule-accent, var(--v3-athletic-green));
    background: transparent;
    padding: 9px 12px;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-preview-session-time {
    color: var(--v3-ink-light);
    font-size: 32px;
    line-height: 1;
    font-weight: 800;
}

.v3-preview-session-location {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: oklch(0.88 0.018 220 / 0.82);
    font-size: 18px;
    font-weight: 800;
}

.v3-preview-session-location .v3-icon {
    color: oklch(0.82 0.018 220 / 0.72);
}

.v3-preview-session-card hr {
    width: 100%;
    height: 1px;
    border: 0;
    background: oklch(0.90 0.018 220 / 0.14);
}

.v3-preview-session-card small {
    color: oklch(0.82 0.018 220 / 0.70);
    font-size: 14px;
    font-weight: 800;
}

.v3-preview-session-card p {
    margin: -12px 0 0;
    color: var(--v3-ink-light);
    font-size: 20px;
    line-height: 1.35;
    font-weight: 800;
}

.v3-preview-session-note {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 10px;
    border: 1px solid oklch(0.86 0.018 220 / 0.16);
    border-radius: 12px;
    color: oklch(0.86 0.018 220 / 0.76);
    background: oklch(0.16 0.018 220 / 0.58);
    padding: 12px;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 700;
}

.v3-preview-session-note .v3-icon {
    color: var(--v3-athletic-green);
}

.v3-modal-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    border-top: 1px solid var(--v3-app-border);
    padding: 14px 24px 18px;
}

.v3-modal-actions .v3-coach-button {
    min-width: 120px;
}

.v3-session-modal-actions {
    justify-content: flex-end;
}

.v3-day-type-modal-form {
    display: grid;
}

.v3-day-type-picker,
.v3-day-type-range-card {
    margin-inline: 24px;
}

.v3-day-type-picker {
    padding-bottom: 18px;
}

.v3-day-type-picker-heading h3,
.v3-day-type-range-card h3 {
    margin: 0;
    color: var(--v3-app-text);
    font-size: 15px;
    font-weight: 800;
}

.v3-day-type-picker-heading {
    margin: 2px 0 12px;
}

.v3-day-type-card-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.v3-day-type-card {
    min-width: 0;
    min-height: 96px;
    position: relative;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 5px;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    color: inherit;
    background: var(--v3-app-panel-soft);
    padding: 10px 8px;
    font: inherit;
    text-align: center;
    cursor: pointer;
}

.v3-day-type-card > .v3-icon {
    color: var(--v3-schedule-accent-ink);
    font-size: 21px;
}

.v3-day-type-card strong {
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
}

.v3-day-type-card span {
    display: block;
    overflow: visible;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
    font-weight: var(--v3-weight-heavy);
    overflow-wrap: anywhere;
}

.v3-day-type-card em {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 20px;
    height: 20px;
    display: none;
    place-items: center;
    border-radius: 50%;
    color: var(--v3-app-panel);
    background: var(--v3-schedule-accent-ink);
    box-shadow: 0 0 0 1px var(--v3-schedule-accent-border);
    font-style: normal;
}

.v3-day-type-card.is-selected {
    border-color: var(--v3-schedule-accent-border);
    background:
        linear-gradient(var(--v3-schedule-accent-tint), var(--v3-schedule-accent-tint)),
        var(--v3-app-panel-soft);
    box-shadow: 0 0 0 1px var(--v3-schedule-accent-border);
}

.v3-day-type-card.is-selected em {
    display: grid;
}

.v3-day-type-card:hover,
.v3-day-type-card:focus-visible {
    border-color: var(--v3-schedule-accent-border);
    outline: none;
}

.v3-day-type-card--add {
    border-style: dashed;
    color: var(--v3-app-text);
    background: var(--v3-app-panel-soft);
}

.v3-day-type-card--add > .v3-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--v3-brand-strong);
    background: color-mix(in oklch, var(--v3-brand-strong) 14%, transparent);
}

.v3-day-type-card--add em {
    display: grid;
    color: var(--v3-brand-strong);
    background: color-mix(in oklch, var(--v3-brand-strong) 14%, transparent);
}

.v3-day-type-range-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 124px 142px;
    align-items: center;
    gap: 10px 12px;
    margin-top: 12px;
    border: 1px solid var(--v3-schedule-accent-border);
    border-radius: 12px;
    background:
        linear-gradient(var(--v3-schedule-accent-tint), var(--v3-schedule-accent-tint)),
        var(--v3-app-panel);
    padding: 12px;
}

.v3-day-type-range-card h3 {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.v3-day-type-range-card h3 .v3-icon {
    color: var(--v3-app-muted);
    font-size: 14px;
}

.v3-day-type-range-card p {
    margin: 6px 0 0;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.4;
    font-weight: 800;
}

.v3-day-type-range-card > p[data-v3-day-type-description] {
    grid-column: 1 / -1;
    margin: 0;
    max-width: 72ch;
}

.v3-day-type-range-values {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 18px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.v3-day-type-range-values output {
    min-height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    color: var(--v3-app-text);
    background: var(--v3-app-panel-soft);
    font-size: 16px;
    font-weight: 800;
}

.v3-day-type-range-values span {
    height: 2px;
    background: var(--v3-app-border);
}

.v3-day-type-range-card > strong {
    justify-self: end;
    border: 1px solid var(--v3-schedule-accent-border);
    border-radius: 9px;
    color: var(--v3-schedule-accent-strong-ink);
    background: var(--v3-schedule-accent-tint-strong);
    padding: 9px 10px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-day-type-dialog .v3-modal-actions {
    border-top: 0;
    padding-top: 14px;
}

.v3-day-type-manage-list {
    display: grid;
    gap: 10px;
    margin: 0 24px 16px;
}

.v3-day-type-manage-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.v3-day-type-manage-heading h3,
.v3-day-type-create-dialog .v3-new-day-type-grid h3 {
    margin: 0;
    color: var(--v3-schedule-field-heading);
    font-size: 14px;
    font-weight: 800;
}

.v3-day-type-manage-heading span {
    border: 1px solid var(--v3-app-border);
    border-radius: 999px;
    color: var(--v3-app-muted);
    background: var(--v3-app-panel-soft);
    padding: 5px 9px;
    font-size: var(--v3-type-caption);
    line-height: 1;
    font-weight: 800;
}

.v3-day-type-manage-rows {
    display: grid;
    gap: 8px;
}

.v3-day-type-manage-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.v3-day-type-manage-card {
    min-height: 108px;
}

.v3-day-type-manage-card span {
    overflow: visible;
}

.v3-day-type-manage-card.is-selected em,
.v3-day-type-card--add em {
    display: grid;
}

.v3-day-type-manage-row {
    min-width: 0;
    min-height: 54px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 34px;
    align-items: center;
    gap: 10px;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    background: var(--v3-app-panel-soft);
    padding: 8px 9px;
}

.v3-day-type-manage-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: var(--v3-schedule-accent-ink);
    background: var(--v3-schedule-accent-tint);
    font-size: 18px;
}

.v3-day-type-manage-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.v3-day-type-manage-copy strong {
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: 13.5px;
    line-height: 1.2;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-day-type-manage-copy em {
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-day-type-delete-form {
    min-width: 0;
}

.v3-day-type-delete-button {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border: 1px solid var(--v3-danger-border);
    border-radius: 8px;
    color: var(--v3-danger-foreground);
    background: transparent;
    padding: 0;
    cursor: pointer;
}

.v3-day-type-delete-button:hover,
.v3-day-type-delete-button:focus-visible {
    border-color: var(--v3-danger-border);
    outline: none;
}

.v3-day-type-manage-empty {
    min-height: 78px;
    display: grid;
    place-items: center;
    gap: 5px;
    border: 1px dashed var(--v3-app-border);
    border-radius: 10px;
    color: var(--v3-app-muted);
    background: var(--v3-app-panel-soft);
    padding: 14px;
    text-align: center;
}

.v3-day-type-manage-empty .v3-icon {
    color: var(--v3-brand-strong);
    font-size: 20px;
}

.v3-day-type-manage-empty strong {
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
}

.v3-day-type-create-dialog .v3-day-type-manage-editor {
    margin: 0 24px 18px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 12px;
}

.v3-day-type-manage-editor-heading {
    display: grid;
    gap: 3px;
    grid-column: 1 / -1;
}

.v3-day-type-manage-editor-heading h3 {
    margin: 0;
    color: var(--v3-app-text);
    font-size: 15px;
    font-weight: 800;
}

.v3-day-type-manage-editor-heading span {
    min-width: 0;
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-day-type-create-dialog .v3-day-type-manage-fields {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.v3-day-type-manage-fields .v3-new-day-type-field--description {
    grid-column: 1 / -1;
}

.v3-day-type-manage-fields .v3-new-day-type-field--readiness {
    grid-column: 1 / -1;
}

.v3-day-type-manage-fields .v3-new-day-type-field--effect {
    grid-column: 1 / -1;
}

.v3-new-day-type-field > small {
    display: block;
    margin: -1px 0 1px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.35;
    font-weight: 700;
}

.v3-day-type-manage-editor .v3-schedule-textarea {
    min-height: 58px;
}

.v3-day-type-manage-editor .v3-modal-actions {
    padding-bottom: 0;
}

.v3-day-type-manage-layout {
    min-width: 0;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(210px, 250px) minmax(0, 1fr);
    align-items: stretch;
    gap: 14px;
    margin: 0 24px 18px;
}

.v3-day-type-manage-layout .v3-day-type-manage-list {
    margin: 0;
    min-height: 0;
    grid-template-rows: auto minmax(0, 1fr);
}

.v3-day-type-manage-stack {
    min-height: 0;
    display: grid;
    align-content: start;
    gap: 7px;
    overflow-y: auto;
    padding-right: 2px;
}

.v3-day-type-manage-list-card {
    width: 100%;
    min-width: 0;
    min-height: 50px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 9px;
    border: 1px solid var(--v3-app-border);
    border-radius: 10px;
    color: inherit;
    background: var(--v3-app-panel-soft);
    padding: 7px 9px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.v3-day-type-manage-list-card:hover,
.v3-day-type-manage-list-card:focus-visible {
    border-color: var(--v3-schedule-accent-border);
    outline: none;
}

.v3-day-type-manage-list-card.is-selected {
    border-color: var(--v3-schedule-accent-border);
    background:
        linear-gradient(var(--v3-schedule-accent-tint), var(--v3-schedule-accent-tint)),
        var(--v3-app-panel-soft);
    box-shadow: 0 0 0 1px var(--v3-schedule-accent-border);
}

.v3-day-type-manage-card-icon {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--v3-schedule-accent-ink);
    background: var(--v3-schedule-accent-tint);
    font-size: 16px;
}

.v3-day-type-manage-card-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.v3-day-type-manage-card-copy strong {
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: 13px;
    line-height: 1.2;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-day-type-manage-card-copy em {
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-day-type-manage-list-card--add {
    border-style: dashed;
}

.v3-new-day-type {
    margin: 0 24px 18px;
    overflow: hidden;
    border: 1px solid var(--v3-app-border);
    border-radius: 12px;
    background: var(--v3-app-panel-soft);
}

.v3-new-day-type > summary {
    min-height: 54px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px;
    align-items: center;
    gap: 10px;
    color: var(--v3-app-text);
    padding: 9px 12px;
    cursor: pointer;
    list-style: none;
}

.v3-new-day-type > summary::-webkit-details-marker {
    display: none;
}

.v3-new-day-type > summary span {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.v3-new-day-type > summary strong {
    font-size: 14px;
    line-height: 1.2;
    font-weight: 800;
}

.v3-new-day-type > summary em {
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
    font-style: normal;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-new-day-type > summary > .v3-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: var(--v3-app-muted);
    transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.v3-new-day-type[open] > summary {
    border-bottom: 1px solid var(--v3-app-border);
}

.v3-new-day-type[open] > summary > .v3-icon {
    color: var(--v3-app-text);
    background: var(--v3-app-panel);
    transform: rotate(180deg);
}

.v3-new-day-type-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 210px;
    align-items: start;
    gap: 11px;
    padding: 12px;
}

.v3-day-type-create-dialog .v3-new-day-type-form {
    grid-template-columns: 1fr;
    gap: 14px;
    border-top: 1px solid var(--v3-app-border);
    padding: 14px 24px 0;
}

.v3-day-type-create-dialog .v3-new-day-type-grid,
.v3-day-type-create-dialog .v3-new-day-type-icons,
.v3-day-type-create-dialog .v3-new-day-type-swatches,
.v3-day-type-create-dialog .v3-modal-actions {
    grid-column: 1 / -1;
}

.v3-day-type-create-dialog .v3-new-day-type-grid {
    grid-template-columns: 1fr;
    gap: 8px;
}

.v3-day-type-create-dialog .v3-new-day-type-icons {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.v3-day-type-create-dialog .v3-new-day-type-swatches {
    grid-template-columns: repeat(7, 30px);
}

.v3-day-type-create-dialog .v3-modal-actions {
    padding-inline: 0;
}

.v3-new-day-type-form > .v3-schedule-errors,
.v3-new-day-type-grid {
    grid-column: 1 / -1;
}

.v3-day-type-create-dialog .v3-day-type-manage-layout .v3-new-day-type-form.v3-day-type-manage-editor {
    min-width: 0;
    margin: 0;
    min-height: 100%;
    align-content: start;
    gap: 10px;
    border: 0;
    border-left: 1px solid var(--v3-app-border);
    border-radius: 0;
    background: transparent;
    padding: 4px 0 0 18px;
}

.v3-day-type-create-dialog .v3-day-type-manage-layout .v3-new-day-type-grid.v3-day-type-manage-fields {
    grid-template-columns: 1fr;
    gap: 7px;
}

.v3-day-type-manage-appearance {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(116px, 0.65fr);
    gap: 9px;
}

.v3-day-type-manage-appearance-heading {
    grid-column: 1 / -1;
    margin: 2px 0 0;
    color: var(--v3-schedule-field-heading);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
}

.v3-day-type-manage-control {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 7px;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.v3-day-type-manage-control h4 {
    margin: 0;
    color: var(--v3-schedule-field-heading);
    font-size: var(--v3-type-caption);
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.v3-day-type-manage-appearance .v3-new-day-type-icons,
.v3-day-type-manage-appearance .v3-new-day-type-swatches {
    grid-column: auto;
}

.v3-day-type-manage-appearance .v3-day-type-manage-icons {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
}

.v3-day-type-icon-option--compact {
    min-height: 32px;
    height: 32px;
    padding: 0;
}

.v3-day-type-icon-option--compact .v3-icon {
    font-size: 16px;
}

.v3-day-type-manage-appearance .v3-day-type-manage-swatches {
    grid-template-columns: repeat(4, 24px);
    gap: 6px;
}

.v3-day-type-color-current {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    align-items: center;
    gap: 8px;
}

.v3-day-type-color-current span {
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-day-type-color-current input {
    width: 36px;
    height: 28px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    background: var(--v3-app-panel-soft);
    padding: 2px;
    cursor: pointer;
}

.v3-day-type-manage-swatch {
    width: 24px;
    height: 24px;
}

.v3-new-day-type-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) 84px 84px;
    gap: 9px;
}

.v3-new-day-type-field {
    min-width: 0;
    display: grid;
    gap: 5px;
}

.v3-new-day-type-field > span {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: var(--v3-schedule-field-heading);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0;
}

.v3-new-day-type-field > span em {
    color: color-mix(in oklch, var(--v3-app-muted) 72%, transparent);
    font-style: normal;
    font-weight: 800;
    text-transform: none;
}

.v3-new-day-type-field > span em.is-over-limit {
    color: var(--v3-danger-foreground);
}

.v3-new-day-type-form .v3-schedule-input {
    min-height: 38px;
    border-radius: 9px;
    font-size: 13px;
}

.v3-new-day-type-form .v3-schedule-textarea {
    min-height: 58px;
    border-radius: 9px;
    font-size: 13px;
}

.v3-new-day-type-icons {
    grid-column: 1;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 7px;
}

.v3-day-type-icon-option {
    min-width: 0;
    min-height: 58px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 4px;
    border: 1px solid var(--v3-app-border);
    border-radius: 9px;
    color: var(--v3-app-muted);
    background: var(--v3-app-panel);
    padding: 7px 5px;
    font: inherit;
    cursor: pointer;
}

.v3-day-type-icon-option .v3-icon {
    color: var(--v3-schedule-accent-ink);
    font-size: 18px;
}

.v3-day-type-icon-option span {
    overflow: hidden;
    max-width: 100%;
    color: inherit;
    font-size: var(--v3-type-caption);
    line-height: 1.15;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-day-type-icon-option:hover,
.v3-day-type-icon-option:focus-visible {
    border-color: var(--v3-schedule-accent-border);
    color: var(--v3-app-text);
    outline: none;
}

.v3-day-type-icon-option.is-selected {
    border-color: var(--v3-schedule-accent-border);
    color: var(--v3-app-text);
    background:
        linear-gradient(var(--v3-schedule-accent-tint), var(--v3-schedule-accent-tint)),
        var(--v3-app-panel);
    box-shadow: 0 0 0 1px var(--v3-schedule-accent-border);
}

.v3-new-day-type-swatches {
    grid-column: 2;
    display: grid;
    grid-template-columns: repeat(4, 30px);
    gap: 8px;
    align-items: center;
}

.v3-new-day-type-swatch {
    width: 30px;
    height: 30px;
    border: 1px solid var(--v3-app-border);
    border-radius: 50%;
    background: var(--schedule-accent);
    padding: 0;
    cursor: pointer;
    box-shadow: inset 0 0 0 3px var(--v3-app-panel-soft);
}

.v3-new-day-type-swatch:hover,
.v3-new-day-type-swatch:focus-visible {
    border-color: var(--v3-schedule-accent-border);
    outline: none;
}

.v3-new-day-type-swatch.is-selected {
    border-color: var(--v3-schedule-accent-border);
    box-shadow:
        inset 0 0 0 3px var(--v3-app-panel-soft),
        0 0 0 2px var(--v3-schedule-accent-border);
}

.v3-new-day-type-actions {
    grid-column: 2;
    display: flex;
    justify-content: stretch;
    margin-top: 2px;
}

.v3-new-day-type-actions .v3-coach-button {
    width: 100%;
}

.v3-schedule-dialog::backdrop {
    background: oklch(0.10 0.014 220 / 0.62);
}

.v3-dialog-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--v3-app-border);
    padding: 12px 16px;
}

.v3-dialog-header h2,
.v3-dialog-header p {
    margin: 0;
}

.v3-dialog-header h2 {
    font-size: 19px;
    font-weight: 800;
}

.v3-dialog-header p {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-dialog-panel {
    display: none;
    grid-template-columns: minmax(270px, 0.45fr) minmax(0, 0.55fr);
    min-height: 0;
}

.v3-dialog-panel.is-active {
    display: grid;
}

.v3-plan-list {
    min-height: 0;
    max-height: calc(min(760px, calc(var(--v3-viewport-height) - 36px)) - 124px);
    overflow: auto;
    border-right: 1px solid var(--v3-app-border);
}

.v3-plan-row {
    width: 100%;
    min-height: 56px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    border: 0;
    border-bottom: 1px solid var(--v3-app-border);
    color: inherit;
    background: transparent;
    padding: 8px 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.v3-plan-row--with-actions {
    grid-template-columns: minmax(0, 1fr) 36px 36px;
    gap: 6px;
    padding: 0 10px 0 0;
}

.v3-plan-row--with-actions > button {
    min-width: 0;
    min-height: 56px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    border: 0;
    color: inherit;
    background: transparent;
    padding: 8px 0 8px 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.v3-plan-row span:nth-child(2),
.v3-plan-row--with-actions > button span:nth-child(2) {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.v3-plan-row strong {
    overflow: hidden;
    color: var(--v3-app-text);
    font-size: 13px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-plan-row em {
    overflow: hidden;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.v3-plan-form {
    align-content: start;
    max-height: calc(min(760px, calc(var(--v3-viewport-height) - 36px)) - 124px);
    overflow: auto;
}

.v3-swatch-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.v3-swatch-row button {
    width: 40px;
    height: 40px;
    border: 1px solid var(--v3-app-border);
    border-radius: 9px;
    background: var(--schedule-accent);
    cursor: pointer;
    transition: transform var(--v3-press-transition), border-color 160ms ease, box-shadow 160ms ease;
}

.v3-schedule-today:hover,
.v3-schedule-today:focus-visible,
.v3-schedule-range-picker:hover,
.v3-schedule-menu-button:hover,
.v3-schedule-menu-button:focus-visible,
.v3-week-session-row:hover,
.v3-week-session-row:focus-within,
.v3-plan-row:hover,
.v3-plan-row:focus-visible,
.v3-plan-row--with-actions > button:hover,
.v3-plan-row--with-actions > button:focus-visible {
    border-color: var(--v3-accent-border);
}

.v3-week-session-row:hover,
.v3-week-session-row:focus-within,
.v3-plan-row:hover,
.v3-plan-row:focus-visible,
.v3-plan-row--with-actions > button:hover,
.v3-plan-row--with-actions > button:focus-visible,
.v3-schedule-month-cell:hover,
.v3-schedule-month-cell:focus-within {
    background: var(--v3-row-hover);
    outline: none;
}

.v3-schedule-day:hover:not(.is-selected),
.v3-schedule-day:focus-visible:not(.is-selected) {
    border-color: var(--v3-accent-border);
    background: var(--v3-app-panel-soft);
    outline: none;
}

.v3-schedule-day.is-selected:hover,
.v3-schedule-day.is-selected:focus-visible {
    border-color: var(--v3-accent-border);
    background: var(--v3-app-panel);
}

.v3-schedule-today:active,
.v3-schedule-menu-button:active,
.v3-schedule-select-button:active,
.v3-schedule-info-button:active,
.v3-secondary-focus-tag button:active,
.v3-secondary-focus-toggle:active,
.v3-swatch-row button:active,
.v3-plan-row--with-actions > button:active {
    transform: scale(0.96);
}

:root[data-v3-theme="light"] .v3-schedule-panel,
:root[data-v3-theme="light"] .v3-week-summary,
:root[data-v3-theme="light"] .v3-week-sessions,
:root[data-v3-theme="light"] .v3-schedule-range-picker,
:root[data-v3-theme="light"] .v3-schedule-menu-button,
:root[data-v3-theme="light"] .v3-schedule-menu,
:root[data-v3-theme="light"] .v3-schedule-today,
:root[data-v3-theme="light"] .v3-schedule-dialog,
:root[data-v3-theme="light"] .v3-schedule-select-menu,
:root[data-v3-theme="light"] .v3-secondary-focus-menu {
    border-color: oklch(0.55 0.018 220 / 0.16);
    background: oklch(0.995 0.004 220);
}

:root[data-v3-theme="light"] .v3-schedule,
:root[data-v3-theme="light"] .v3-schedule-day,
:root[data-v3-theme="light"] .v3-schedule-month-cell,
:root[data-v3-theme="light"] .v3-week-session-row,
:root[data-v3-theme="light"] .v3-day-type-card,
:root[data-v3-theme="light"] .v3-day-type-manage-list-card,
:root[data-v3-theme="light"] .v3-day-type-manage-editor,
:root[data-v3-theme="light"] .v3-day-type-range-card,
:root[data-v3-theme="light"] .v3-day-type-icon-option,
:root[data-v3-theme="light"] .v3-new-day-type-swatch {
    --v3-schedule-accent-ink: var(--schedule-accent, var(--v3-athletic-green));
    --v3-schedule-accent-strong-ink: var(--schedule-accent, var(--v3-athletic-green));
    --v3-schedule-accent-tint: transparent;
    --v3-schedule-accent-tint-strong: transparent;
    --v3-schedule-accent-border: var(--schedule-accent, var(--v3-athletic-green));
}

:root[data-v3-theme="light"] .v3-schedule-input,
:root[data-v3-theme="light"] .v3-schedule-select,
:root[data-v3-theme="light"] .v3-schedule-select-button,
:root[data-v3-theme="light"] .v3-secondary-focus-toggle,
:root[data-v3-theme="light"] .v3-schedule-textarea,
:root[data-v3-theme="light"] .v3-schedule-radio-row label,
:root[data-v3-theme="light"] .v3-schedule-check-grid label,
:root[data-v3-theme="light"] .v3-day-setup-heading > span,
:root[data-v3-theme="light"] .v3-repeat-options,
:root[data-v3-theme="light"] .v3-week-summary-card {
    border-color: oklch(0.55 0.018 220 / 0.16);
    background: oklch(0.976 0.004 220);
}

:root[data-v3-theme="light"] .v3-schedule-day {
    border-color: oklch(0.55 0.018 220 / 0.16);
    background: oklch(0.976 0.004 220);
}

:root[data-v3-theme="light"] .v3-schedule-day:hover:not(.is-selected),
:root[data-v3-theme="light"] .v3-schedule-day:focus-visible:not(.is-selected) {
    border-color: var(--v3-app-border);
    background: var(--v3-row-hover);
}

:root[data-v3-theme="light"] .v3-schedule-day.is-selected {
    border-color: var(--v3-app-border);
    background: oklch(0.995 0.004 220);
}

:root[data-v3-theme="light"] .v3-schedule-errors {
    color: var(--v3-danger-foreground);
    background: transparent;
}

@media (min-width: 1261px) {
    .v3-schedule-month-cell.is-selected {
        box-shadow: inset 0 0 0 1px var(--v3-athletic-green);
    }

    .v3-app-main.v3-app-main--schedule {
        min-height: var(--v3-viewport-height);
        overflow: auto;
    }

    .v3-schedule {
        min-height: calc(var(--v3-viewport-height) - var(--v3-coach-workspace-offset));
    }

    .v3-schedule-window {
        align-content: start;
    }
}

@media (min-width: 1261px) and (max-height: 820px) {
    .v3-schedule-day {
        min-height: 220px;
        gap: 8px;
        padding-block: 12px 14px;
    }

    .v3-schedule-day-badge {
        width: 60px;
        height: 60px;
    }

    .v3-schedule-day-badge .v3-icon {
        font-size: 28px;
    }
}

@media (max-width: 1260px) {
    .v3-week-overview-header {
        grid-template-columns: 1fr;
        align-items: start;
        padding: 16px 20px 12px;
    }

    .v3-schedule-toolbar {
        justify-content: flex-start;
    }

    .v3-schedule-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .v3-week-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v3-week-summary-card--note {
        grid-column: 1 / -1;
    }

    .v3-session-modal-body {
        grid-template-columns: 1fr;
    }

    .v3-athlete-inline-preview {
        border-left: 0;
        border-top: 1px solid var(--v3-app-border);
        padding-top: 14px;
        padding-left: 0;
    }

    .v3-athlete-phone-preview {
        border-left: 0;
        border-top: 1px solid var(--v3-app-border);
        padding: 26px 0 0;
    }

    .v3-preview-phone {
        width: min(320px, 100%);
    }

    .v3-day-type-card-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .v3-day-type-range-card {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .v3-day-type-range-card > strong {
        justify-self: start;
    }
}

@media (max-width: 920px) {
    .v3-schedule-range-cluster {
        flex-wrap: wrap;
    }

    .v3-schedule-range-picker {
        flex: 1 1 240px;
    }

    .v3-schedule-week {
        display: flex;
        overflow-x: auto;
        padding-inline: 18px;
        padding-bottom: 18px;
    }

    .v3-schedule-day {
        flex: 0 0 190px;
        border-bottom: 0;
    }

    .v3-week-session-head {
        display: none;
    }

    .v3-week-session-row {
        grid-template-columns: minmax(0, 1fr) 40px;
        align-items: start;
        gap: 12px;
        padding-inline: 18px;
    }

    .v3-week-session-row-button {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        gap: 13px 18px;
        padding-block: 15px;
    }

    .v3-week-session-row-button > span::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--v3-app-muted);
        font-size: var(--v3-type-caption);
        line-height: 1.2;
        font-weight: 800;
    }

    .v3-week-session-main {
        grid-column: 1 / -1;
    }

    .v3-week-session-actions {
        margin-top: 9px;
    }

    .v3-week-session-main strong,
    .v3-week-session-time,
    .v3-week-session-location,
    .v3-week-session-primary,
    .v3-week-session-secondary,
    .v3-week-session-intensity {
        white-space: normal;
    }

    .v3-dialog-panel.is-active {
        grid-template-columns: 1fr;
    }

    .v3-plan-list {
        max-height: 220px;
        border-right: 0;
        border-bottom: 1px solid var(--v3-app-border);
    }

    .v3-modal-field-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v3-day-type-card-grid,
    .v3-new-day-type-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v3-day-type-create-dialog .v3-new-day-type-icons {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .v3-new-day-type-grid {
        grid-template-columns: minmax(0, 1fr) 82px 82px;
    }
}

@media (max-width: 680px) {
    .v3-schedule-today,
    .v3-schedule-range-picker > button:first-of-type,
    .v3-schedule-menu-button {
        min-height: 44px;
    }

    .v3-schedule-panel-header {
        align-items: stretch;
    }

    .v3-schedule-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .v3-schedule-panel-header {
        flex-direction: column;
    }

    .v3-session-editor-mode .v3-schedule-panel-header {
        flex-direction: row;
        align-items: center;
    }

    .v3-schedule-range-cluster,
    .v3-schedule-actions {
        align-items: stretch;
    }

    .v3-schedule-range-cluster {
        display: grid;
        grid-template-columns: 44px minmax(0, 1fr) 44px auto;
    }

    .v3-schedule-view-menu,
    .v3-schedule-menu-button {
        width: 100%;
    }

    .v3-schedule-menu {
        left: 0;
        right: auto;
        min-width: 100%;
    }

    .v3-schedule-actions > .v3-coach-button {
        flex: 1 1 100%;
    }

    .v3-schedule-month {
        overflow-x: auto;
    }

    .v3-schedule-month-select,
    .v3-month-type {
        min-height: 44px;
    }

    .v3-month-type {
        width: 100%;
        max-width: none;
        align-items: center;
        gap: 4px;
        padding-inline: 5px;
        white-space: normal;
    }

    .v3-month-type > .v3-icon {
        flex: 0 0 auto;
    }

    .v3-month-type .v3-month-type-chevron {
        display: none;
    }

    .v3-month-type span {
        flex: 1 1 auto;
        overflow: visible;
        line-height: 1.2;
        text-overflow: clip;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .v3-week-overview-header,
    .v3-week-sessions-header {
        padding-inline: 16px;
    }

    .v3-week-sessions-header {
        align-items: stretch;
        flex-direction: column;
    }

    .v3-week-session-row-button {
        grid-template-columns: 1fr;
    }

    .v3-schedule-month-head,
    .v3-schedule-month-row {
        min-width: 700px;
    }

    .v3-schedule-form-grid,
    .v3-schedule-radio-row,
    .v3-schedule-check-grid,
    .v3-week-summary-grid {
        grid-template-columns: 1fr;
    }

    .v3-schedule-dialog {
        width: calc(100vw - max(20px, var(--v3-safe-left) + var(--v3-safe-right)));
        max-height: calc(var(--v3-viewport-height) - var(--v3-safe-top) - var(--v3-safe-bottom) - 16px);
    }

    .v3-modal-hero {
        grid-template-columns: minmax(0, 1fr) 32px;
        gap: 10px;
        padding: 20px 18px 14px;
    }

    .v3-modal-icon {
        width: 54px;
        height: 54px;
        border-radius: 12px;
    }

    .v3-modal-icon .v3-icon {
        font-size: 26px;
    }

    .v3-modal-title h2 {
        font-size: 22px;
    }

    .v3-modal-title p {
        font-size: 13px;
    }

    .v3-session-modal-body {
        gap: 16px;
        padding: 6px 18px 18px;
    }

    .v3-session-modal-fields,
    .v3-modal-advanced > div {
        gap: 13px;
    }

    .v3-session-editor-dialog .v3-modal-field,
    .v3-session-editor-dialog .v3-modal-toggle-field {
        grid-template-columns: 1fr;
        gap: 7px;
    }

    .v3-modal-static-value {
        width: 100%;
    }

    .v3-modal-field-grid {
        grid-template-columns: 1fr;
    }

    .v3-session-modal-form .v3-schedule-input,
    .v3-session-modal-form .v3-schedule-select-button,
    .v3-session-modal-form .v3-schedule-textarea {
        min-height: 44px;
        font-size: 13px;
    }

    .v3-preview-phone {
        min-height: 410px;
        border-width: 6px;
        border-radius: 32px;
    }

    .v3-preview-session-card {
        gap: 14px;
        padding: 22px;
    }

    .v3-preview-session-time {
        font-size: 26px;
    }

    .v3-day-type-picker,
    .v3-day-type-range-card,
    .v3-day-type-manage-list,
    .v3-new-day-type {
        margin-inline: 18px;
    }

    .v3-day-type-card-grid,
    .v3-new-day-type-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .v3-new-day-type-form {
        grid-template-columns: 1fr;
    }

    .v3-day-type-create-dialog .v3-new-day-type-form {
        padding-inline: 18px;
    }

    .v3-day-type-create-dialog .v3-new-day-type-form.v3-day-type-manage-editor {
        margin-inline: 18px;
        padding: 12px;
    }

    .v3-day-type-manage-layout {
        grid-template-columns: 1fr;
        margin: 0 18px 18px;
    }

    .v3-schedule-modal.v3-day-type-manage-dialog {
        overflow-y: auto;
    }

    .v3-day-type-manage-stack {
        max-height: 260px;
        overflow: auto;
    }

    .v3-day-type-create-dialog .v3-day-type-manage-layout .v3-new-day-type-form.v3-day-type-manage-editor {
        margin-inline: 0;
        border-left: 0;
        padding-inline: 0;
    }

    .v3-day-type-create-dialog .v3-new-day-type-grid.v3-day-type-manage-fields {
        grid-template-columns: 1fr;
    }

    .v3-day-type-manage-appearance {
        grid-template-columns: 1fr;
    }

    .v3-day-type-manage-icons {
        grid-template-columns: repeat(6, minmax(0, 1fr));
    }

    .v3-new-day-type-icons,
    .v3-new-day-type-swatches,
    .v3-new-day-type-field--note,
    .v3-new-day-type-actions {
        grid-column: 1 / -1;
    }

    .v3-new-day-type-swatches {
        grid-template-columns: repeat(4, 30px);
    }

    .v3-day-type-create-dialog .v3-new-day-type-swatches {
        grid-template-columns: repeat(4, 30px);
    }

    .v3-new-day-type-field--name {
        grid-column: 1 / -1;
    }

    .v3-new-day-type-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v3-day-type-create-dialog .v3-new-day-type-icons {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .v3-day-type-card {
        min-height: 92px;
    }

    .v3-modal-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 18px;
    }

    .v3-modal-actions .v3-coach-button {
        width: 100%;
        min-width: 0;
    }
}

/* Schedule icons use colour and scale for hierarchy, without decorative circles. */
.v3-schedule-day-badge,
.v3-week-session-icon,
.v3-plan-icon,
.v3-week-summary-card > span,
.v3-athlete-preview-icon,
.v3-day-type-card--add > .v3-icon {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.v3-schedule-day-badge {
    width: 50px;
    height: 50px;
}

.v3-schedule-day-badge .v3-icon {
    font-size: 34px;
}

.v3-week-session-icon,
.v3-plan-icon,
.v3-week-summary-card > span,
.v3-athlete-preview-icon,
.v3-day-type-card--add > .v3-icon {
    font-size: 22px;
}

/* Current Team Schedule information hierarchy and responsive allocation. */
.v3-schedule-section-tabs {
    min-height: 40px;
    display: flex;
    align-items: end;
    gap: 24px;
    border-bottom: 1px solid var(--v3-app-border);
    padding-inline: 2px;
}

@media (min-width: 1181px) {
    .v3-schedule-grid {
        grid-template-columns: minmax(0, 1fr) minmax(276px, 304px);
        gap: 12px;
        align-items: stretch;
    }

    .v3-schedule-day {
        --v3-schedule-day-context-row: 224px;
        display: grid;
        grid-template-rows: var(--v3-schedule-day-context-row) minmax(0, 1fr);
        gap: 0;
        padding: 0 10px 12px;
    }

    .v3-schedule-day-select {
        grid-template-rows: 42px 64px 40px 42px;
        align-content: start;
        gap: 8px;
        padding-top: 12px;
    }

    .v3-schedule-day-context.is-empty {
        justify-content: flex-start;
        padding-top: 5px;
    }

    .v3-day-types-surface {
        grid-column: 1 / -1;
    }
}

.v3-schedule--week .v3-schedule-grid {
    grid-template-columns: minmax(0, 1fr);
}

.v3-week-overview-header {
    min-height: 42px;
    grid-template-columns: minmax(0, 1fr);
    border: 0;
    background: transparent;
    padding: 0 2px;
}

.v3-schedule-window--calendar {
    gap: 10px;
}

.v3-schedule-toolbar {
    grid-column: 1 / -1;
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.v3-schedule-actions--view {
    justify-self: start;
}

.v3-schedule-actions--view .v3-schedule-menu {
    top: calc(100% + 5px);
    right: auto;
    left: 0;
    width: max-content;
    min-width: 100%;
    display: grid;
    visibility: hidden;
    gap: 2px;
    border-radius: 8px;
    padding: 4px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-4px);
    transform-origin: top left;
    transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
}

.v3-schedule-actions--view .v3-schedule-view-menu.is-open .v3-schedule-menu {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.v3-schedule-actions--view .v3-schedule-menu a {
    min-height: 32px;
    align-items: center;
    border-radius: 6px;
    padding-inline: 8px;
    font-size: var(--v3-type-caption);
}

.v3-schedule-range-cluster {
    justify-self: center;
}

.v3-schedule-range-picker {
    grid-template-columns: auto;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
}

.v3-schedule-range-picker > button:first-of-type {
    min-height: 32px;
    padding-inline: 6px;
    font-size: 14px;
}

.v3-schedule-today {
    border: 0;
    color: var(--v3-app-muted);
    background: transparent;
    padding-inline: 6px;
}

.v3-schedule-panel--calendar {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    overflow: visible;
}

.v3-week-day-type-actions {
    position: relative;
    flex: 0 0 auto;
    margin-left: auto;
}

.v3-week-day-type-actions > summary.v3-icon-control {
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 0;
}

.v3-week-session-action-menu.v3-week-day-type-action-menu {
    right: 0;
    left: auto;
    min-width: 190px;
}

.v3-week-day-type-remove-form {
    position: static;
    transform: none;
}

@media (min-width: 921px) {
    .v3-schedule--week .v3-schedule-week {
        display: flex;
    }

    .v3-schedule--week .v3-schedule-day {
        width: 0;
        flex: 1 1 0;
    }

    .v3-schedule--week .v3-schedule-day.is-detail-expanded {
        flex-grow: 4.5;
        max-width: 400px;
        display: grid;
        grid-template-rows: minmax(0, 1fr);
        gap: 0;
        padding: 0;
    }

    .v3-schedule--week .v3-schedule-week:has(.is-detail-expanded) .v3-schedule-day:not(.is-detail-expanded) {
        padding-inline: 6px;
    }

    .v3-schedule--week .v3-schedule-week:has(.is-detail-expanded) .v3-schedule-day:not(.is-detail-expanded) .v3-schedule-day-readiness {
        overflow-wrap: normal;
        word-break: normal;
    }

    .v3-schedule--week .v3-schedule-day.is-detail-expanded > .v3-schedule-day-select,
    .v3-schedule--week .v3-schedule-day.is-detail-expanded > .v3-schedule-day-session-list {
        display: none;
    }

    .v3-schedule--week .v3-schedule-day.is-detail-expanded > .v3-week-sessions {
        width: 100%;
        min-height: 100%;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

}

@media (min-width: 921px) and (max-width: 1180px) {
    .v3-schedule--week .is-detail-expanded .v3-selected-day-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 10px;
        margin-top: 10px;
    }

    .v3-schedule--week .is-detail-expanded .v3-selected-day-type {
        grid-template-columns: 38px minmax(0, 1fr);
        align-items: center;
        justify-items: start;
        gap: 8px;
        padding-top: 0;
        text-align: left;
    }

    .v3-schedule--week .is-detail-expanded .v3-selected-day-type > span {
        width: 38px;
        height: 38px;
        font-size: 28px;
    }

    .v3-schedule--week .is-detail-expanded .v3-selected-day-type-copy {
        justify-items: start;
    }

    .v3-schedule--week .is-detail-expanded .v3-selected-day-type p {
        max-width: none;
    }

    .v3-schedule--week .is-detail-expanded .v3-selected-day-facts dt > span {
        white-space: normal;
    }
}

@media (min-width: 1181px) {
    .v3-schedule--week .is-detail-expanded .v3-week-sessions-header h2,
    .v3-schedule--week .is-detail-expanded .v3-selected-day-missing strong,
    .v3-schedule--week .is-detail-expanded .v3-schedule-empty-row strong {
        font-size: var(--v3-type-body);
    }

    .v3-schedule--week .is-detail-expanded .v3-selected-day-context,
    .v3-schedule--week .is-detail-expanded .v3-selected-day-sessions {
        padding: 16px;
    }

    .v3-schedule--week .is-detail-expanded .v3-selected-day-missing span,
    .v3-schedule--week .is-detail-expanded .v3-schedule-empty-row span,
    .v3-schedule--week .is-detail-expanded .v3-selected-day-facts dd {
        font-size: var(--v3-type-label);
    }
}

.v3-schedule-week {
    gap: 0;
    padding: 0;
    border: 1px solid var(--v3-app-border);
    border-radius: 14px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    overflow: hidden;
}

.v3-schedule-month {
    border: 1px solid var(--v3-app-border);
    border-radius: 14px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    overflow: hidden;
}

.v3-schedule-day {
    min-height: 332px;
    align-items: stretch;
    gap: 10px;
    border: 0;
    border-right: 1px solid var(--v3-app-border);
    border-radius: 0;
    background: transparent;
    padding: 12px 10px;
    text-align: left;
    cursor: pointer;
}

.v3-schedule-day-select {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 10px;
    border: 0;
    color: inherit;
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.v3-schedule-day-select:focus-visible {
    outline: none;
    box-shadow: none;
}

.v3-schedule-day-session-item:focus-visible,
.v3-schedule-day-session-empty:focus-visible,
.v3-schedule-day-more:focus-visible {
    border-radius: 7px;
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-schedule-day:first-child {
    border-left: 0;
}

.v3-schedule-day:last-child {
    border-right: 0;
}

.v3-schedule-week .v3-schedule-day.is-selected {
    position: relative;
    border-color: var(--v3-app-border);
    background: transparent;
    box-shadow: inset 0 2px 0 var(--v3-athletic-green);
    transition: background-color 150ms ease, box-shadow 150ms ease;
}

.v3-schedule-week .v3-schedule-day.is-selected:hover,
.v3-schedule-week .v3-schedule-day.is-selected:focus-within {
    border-color: var(--v3-app-border);
    background: var(--v3-row-hover);
    box-shadow: inset 0 2px 0 var(--v3-athletic-green);
}

.v3-schedule-week .v3-schedule-day:hover:not(.is-selected),
.v3-schedule-week .v3-schedule-day:focus-within:not(.is-selected),
.v3-schedule-week .v3-schedule-day:focus-visible:not(.is-selected) {
    border-color: var(--v3-app-border);
    background: var(--v3-row-hover);
    outline: none;
}

.v3-schedule-week .v3-schedule-day:has(> .v3-schedule-day-select:focus-visible) {
    z-index: 1;
    box-shadow: inset 0 0 0 2px var(--v3-app-text);
}

.v3-schedule-week .v3-schedule-day.needs-context:not(.is-selected) {
    border-color: var(--v3-app-border);
}

.v3-schedule-day:first-child.is-selected {
    border-radius: 13px 0 0 13px;
}

.v3-schedule-day:last-child.is-selected {
    border-radius: 0 13px 13px 0;
}

.v3-schedule-day-top {
    position: relative;
    min-height: 42px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "day" "date";
    align-items: center;
    justify-items: center;
    gap: 1px;
    text-align: center;
}

.v3-schedule-day-top strong {
    grid-area: day;
    font-size: 13px;
}

.v3-schedule-day-top em {
    grid-area: date;
    font-size: var(--v3-type-caption);
}

.v3-schedule-day-top small {
    position: absolute;
    top: 2px;
    right: 0;
    color: var(--v3-accent-foreground);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.v3-schedule-day-context {
    position: relative;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: var(--v3-app-text);
    text-align: center;
}

.v3-schedule-day-context > .v3-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border: 1px solid var(--schedule-accent);
    border-radius: 50%;
    color: var(--schedule-accent);
    background: transparent;
    font-size: 14px;
}

.v3-schedule-day-context strong,
.v3-schedule-day-readiness,
.v3-schedule-day-session-item strong {
    min-width: 0;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
}

.v3-schedule-day-context strong {
    font-size: var(--v3-type-caption);
    line-height: 1.25;
}

.v3-schedule-day-context.is-empty {
    color: var(--v3-app-muted);
}

.v3-schedule-day-context.is-empty small {
    max-width: 15ch;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    line-height: 1.3;
    text-align: center;
}

.v3-schedule-day-readiness {
    min-height: 32px;
    display: grid;
    place-items: start center;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: var(--v3-weight-medium);
    line-height: 1.35;
    text-align: center;
}

.v3-schedule-day-readiness.is-ready,
.v3-schedule-day-readiness--game_ready,
.v3-schedule-day-readiness--training_ready,
.v3-selected-readiness-target.is-ready,
.v3-schedule-day[data-checkin-status="in"] .v3-schedule-day-readiness,
.v3-schedule-day[data-checkin-status="above"] .v3-schedule-day-readiness,
.v3-schedule-day[data-checkin-status="in"] .v3-selected-day-facts > div:first-child dd,
.v3-schedule-day[data-checkin-status="above"] .v3-selected-day-facts > div:first-child dd,
.v3-schedule-day:has(.v3-schedule-day-readiness--game_ready) .v3-selected-day-facts > div:first-child dd,
.v3-schedule-day:has(.v3-schedule-day-readiness--training_ready) .v3-selected-day-facts > div:first-child dd {
    color: var(--v3-athletic-green);
}

.v3-schedule-day-readiness.is-some-fatigue,
.v3-schedule-day-readiness--some_fatigue,
.v3-selected-readiness-target.is-some-fatigue,
.v3-schedule-day[data-checkin-status="below"] .v3-schedule-day-readiness,
.v3-schedule-day[data-checkin-status="below"] .v3-selected-day-facts > div:first-child dd,
.v3-schedule-day:has(.v3-schedule-day-readiness--some_fatigue) .v3-selected-day-facts > div:first-child dd {
    color: var(--v3-warning-orange);
}

.v3-schedule-day-readiness.is-significant-fatigue,
.v3-schedule-day-readiness--significant_fatigue,
.v3-selected-readiness-target.is-significant-fatigue,
.v3-schedule-day[data-checkin-status="critical"] .v3-schedule-day-readiness,
.v3-schedule-day[data-checkin-status="critical"] .v3-selected-day-facts > div:first-child dd,
.v3-schedule-day:has(.v3-schedule-day-readiness--significant_fatigue) .v3-selected-day-facts > div:first-child dd {
    color: var(--v3-danger-red);
}

.v3-schedule-day-load {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    text-align: center;
}

.v3-schedule-day-load > span,
.v3-selected-day-load {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.v3-schedule-day-load strong {
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
}

.v3-schedule-day-load i,
.v3-selected-day-load i {
    width: 3px;
    height: 12px;
    display: block;
    border-radius: 999px;
    background: var(--v3-app-border-strong);
    box-shadow: 6px 0 0 var(--v3-app-border), 12px 0 0 var(--v3-app-border);
    margin-right: 12px;
}

.v3-schedule-day-load.is-moderate i,
.v3-selected-day-load.is-moderate i {
    background: var(--v3-alert-amber);
    box-shadow: 6px 0 0 var(--v3-alert-amber), 12px 0 0 var(--v3-app-border);
}

.v3-schedule-day-load.is-high i,
.v3-selected-day-load.is-high i {
    background: var(--v3-danger-red);
    box-shadow: 6px 0 0 var(--v3-danger-red), 12px 0 0 var(--v3-danger-red);
}

.v3-schedule-day-load.is-low i,
.v3-schedule-day-load.is-rest i,
.v3-selected-day-load.is-low i,
.v3-selected-day-load.is-rest i {
    background: var(--v3-athletic-green-strong);
    box-shadow: 6px 0 0 var(--v3-app-border), 12px 0 0 var(--v3-app-border);
}

.v3-schedule-day-session-list {
    min-width: 0;
    display: grid;
    align-content: start;
    gap: 6px;
    border-top: 1px solid var(--v3-app-border);
    padding-top: 9px;
    text-align: center;
}

.v3-schedule-day-session-list > small {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.v3-schedule-day-session-item {
    display: grid;
    gap: 1px;
    border: 0;
    color: inherit;
    background: transparent;
    padding: 0;
    text-align: center;
    cursor: pointer;
}

.v3-schedule-day-session-item strong,
.v3-schedule-day-more {
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    line-height: 1.25;
}

.v3-schedule-day-session-item em,
.v3-schedule-day-session-empty {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    line-height: 1.25;
}

.v3-schedule-day-session-empty {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 0;
    border-radius: 0;
    color: var(--v3-accent-foreground);
    background: transparent;
    padding: 4px 6px;
    font-weight: 800;
    cursor: pointer;
}

.v3-schedule-day-session-empty.is-static {
    justify-content: flex-start;
    border: 0;
    color: var(--v3-app-muted);
    background: transparent;
    padding: 0;
    font-weight: 500;
    cursor: pointer;
}

.v3-schedule-day-session-item:hover strong,
.v3-schedule-day-session-item:focus-visible strong,
.v3-schedule-day-session-empty:hover,
.v3-schedule-day-session-empty:focus-visible,
.v3-schedule-day-more:hover,
.v3-schedule-day-more:focus-visible {
    color: var(--v3-accent-foreground);
}

.v3-schedule-day-more {
    border: 0;
    color: var(--v3-accent-foreground);
    background: transparent;
    padding: 0;
    text-align: left;
    cursor: pointer;
}

.v3-schedule-panel--selected {
    min-width: 0;
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.v3-week-sessions-header {
    min-height: 52px;
    padding: 8px 10px 8px 14px;
}

.v3-week-sessions-header h2 {
    font-size: 14px;
}

.v3-week-sessions-header .v3-coach-button {
    padding-inline: 10px;
}

.v3-week-session-panels {
    min-height: 0;
    max-height: 398px;
    overflow-y: auto;
}

.v3-week-session-panel {
    min-height: 100%;
    display: grid;
    align-content: start;
}

.v3-selected-day-context,
.v3-selected-day-sessions {
    padding: 12px 14px;
}

.v3-selected-day-sessions {
    border-top: 1px solid var(--v3-app-border);
}

.v3-selected-day-sessions .v3-schedule-empty-row {
    border: 0;
    border-radius: 0;
    background: transparent;
    margin: 0;
    padding: 8px 8px 0;
}

.v3-selected-day-add-session {
    justify-self: center;
    margin-top: 0;
}

.v3-selected-session-list + .v3-selected-day-add-session {
    margin-top: 8px;
}

.v3-selected-day-type {
    display: grid;
    justify-items: center;
    gap: 8px;
    padding-top: 4px;
    text-align: center;
}

.v3-selected-day-type > span {
    width: 68px;
    height: 68px;
    display: grid;
    place-items: center;
    border: 1px solid var(--schedule-accent);
    border-radius: 50%;
    color: var(--schedule-accent);
    background: transparent;
    font-size: 26px;
}

.v3-selected-day-facts dt {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    color: var(--v3-app-text);
    font-size: var(--v3-type-label);
    font-weight: var(--v3-weight-strong);
    letter-spacing: normal;
    text-transform: none;
}

.v3-selected-day-facts dt > span {
    white-space: nowrap;
}

.v3-selected-day-sessions h3 {
    color: var(--v3-app-text);
    font-size: var(--v3-type-body);
    font-weight: var(--v3-weight-heavy);
    letter-spacing: normal;
    text-transform: none;
}

.v3-selected-day-facts .v3-info-trigger {
    --v3-icon-control-size: 18px;
    --v3-icon-control-target: 32px;
    flex: 0 0 auto;
    color: var(--v3-app-muted);
}

.v3-selected-day-facts .v3-info-trigger > .v3-icon {
    font-size: 13px;
}

.v3-selected-day-facts .v3-popover {
    letter-spacing: normal;
    text-transform: none;
}

@media (max-width: 680px), (pointer: coarse) {
    .v3-selected-day-facts .v3-info-trigger {
        --v3-icon-control-target: var(--v3-control-phone);
    }
}

.v3-selected-day-type strong {
    display: block;
    color: var(--v3-app-text);
    font-size: var(--v3-type-section);
    line-height: 1.2;
}

.v3-selected-day-type-copy {
    display: grid;
    justify-items: center;
    gap: 3px;
    min-width: 0;
}

.v3-selected-day-type p {
    max-width: 34ch;
    margin: 0;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.35;
}

.v3-day-types-action a {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--v3-app-border);
    border-radius: 7px;
    color: var(--v3-app-muted);
    background: transparent;
    cursor: pointer;
}

.v3-day-types-action a:hover,
.v3-day-types-action a:focus-visible {
    border-color: var(--v3-accent-border);
    color: var(--v3-accent-foreground);
    outline: none;
}

.v3-selected-day-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px 12px;
    margin: 14px 0 0;
}

.v3-selected-day-facts div {
    min-width: 0;
}

.v3-selected-day-facts dd {
    margin: 3px 0 0;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.35;
    overflow-wrap: anywhere;
}

@media (min-width: 1181px) {
    .v3-schedule--month .v3-selected-day-facts {
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        margin-top: 12px;
    }

    .v3-schedule--month .v3-selected-day-facts > div {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: center;
        gap: 12px;
    }

    .v3-schedule--month .v3-selected-day-facts dt > span {
        min-width: 0;
        white-space: normal;
    }

    .v3-schedule--month .v3-selected-day-facts dd {
        margin: 0;
        text-align: right;
    }
}

.v3-selected-day-load span {
    color: var(--v3-app-muted);
}

.v3-selected-day-load.is-moderate span {
    color: var(--v3-warning-foreground);
}

.v3-selected-day-missing {
    min-height: 148px;
    display: grid;
    align-content: center;
    justify-items: center;
    gap: 8px;
    color: var(--v3-app-muted);
    text-align: center;
}

.v3-selected-day-missing > .v3-icon {
    color: var(--v3-app-muted);
    font-size: 28px;
}

.v3-selected-day-missing .v3-coach-button {
    border-color: var(--v3-app-border);
    color: var(--v3-app-text);
    background: var(--v3-app-panel-soft);
}

.v3-selected-day-missing .v3-coach-button:hover:not(:disabled):not([aria-disabled="true"]):not([aria-busy="true"]),
.v3-selected-day-missing .v3-coach-button:focus-visible {
    border-color: var(--v3-app-border-strong);
    color: var(--v3-app-text);
    background: var(--v3-row-hover);
}

.v3-selected-day-missing .v3-coach-button:focus-visible {
    outline: 2px solid var(--v3-app-text);
    outline-offset: 2px;
    box-shadow: none;
}

.v3-selected-day-missing span {
    max-width: 34ch;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.35;
}

.v3-selected-day-sessions-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin: 0 0 8px;
}

.v3-selected-day-sessions h3 {
    margin: 0;
}

.v3-selected-session-list {
    display: grid;
    gap: 0;
    border-top: 1px solid var(--v3-app-border);
}

.v3-selected-session-row {
    position: relative;
    display: grid;
    grid-template-columns: 30px 28px minmax(0, 1fr);
    align-items: center;
    gap: 7px;
    min-height: 48px;
    border-bottom: 1px solid var(--v3-app-border);
    padding: 7px 4px;
}

.v3-selected-session-icon {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--schedule-accent);
    background: transparent;
}

.v3-selected-session-copy {
    min-width: 0;
}

.v3-selected-session-copy strong,
.v3-selected-session-copy small {
    display: block;
    white-space: normal;
    overflow-wrap: anywhere;
}

.v3-selected-session-copy strong {
    font-size: var(--v3-type-caption);
    line-height: 1.25;
}

.v3-selected-session-copy small {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.3;
}

.v3-selected-session-row .v3-week-session-actions {
    position: relative;
    justify-self: start;
    margin: 0;
}

.v3-selected-session-row .v3-week-session-actions > summary {
    width: 28px;
    height: 32px;
    border: 0;
    border-radius: 0;
}

.v3-week-session-action-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    z-index: 10;
    min-width: 144px;
    display: grid;
    gap: 2px;
    border: 1px solid var(--v3-app-border);
    border-radius: 8px;
    background: var(--v3-app-panel);
    padding: 4px;
    box-shadow: var(--v3-shadow-panel);
}

.v3-selected-session-row .v3-week-session-delete-form {
    position: static;
    transform: none;
}

.v3-week-session-action-menu .v3-coach-button {
    width: 100%;
    justify-content: flex-start;
    border: 0;
    box-shadow: none;
}

.v3-day-type-dialog[data-v3-plan-tools] {
    overflow: hidden;
}

.v3-day-type-dialog[data-v3-plan-tools][open] {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
}

.v3-day-type-dialog[data-v3-plan-tools] .v3-day-type-modal-form,
.v3-day-type-manage-stack {
    min-height: 0;
    overflow-y: auto;
    scrollbar-width: none;
}

.v3-day-type-dialog[data-v3-plan-tools] .v3-day-type-modal-form::-webkit-scrollbar,
.v3-day-type-manage-stack::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.v3-day-type-card,
.v3-day-type-manage-list-card {
    transition: border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.v3-day-type-card.is-selected {
    border-color: var(--v3-app-border);
    box-shadow: none;
}

.v3-day-type-manage-list-card.is-selected {
    border-color: var(--v3-app-border);
    box-shadow: inset 2px 0 0 var(--v3-schedule-accent-ink);
}

.v3-day-types-surface {
    min-width: 0;
    container-type: inline-size;
    border: 1px solid var(--v3-app-border);
    border-radius: 14px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    overflow: hidden;
}

@media (max-width: 1180px) {
    .v3-day-types-table-head {
        display: none;
    }

    .v3-day-types-table {
        display: grid;
        gap: 8px;
        padding: 10px;
    }

    .v3-day-types-table-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) 32px;
        gap: 9px 12px;
        border: 1px solid var(--v3-app-border);
        border-radius: 10px;
        padding: 10px;
    }

    .v3-day-types-table-row > span:not(.v3-day-types-table-name):not(.v3-day-types-action)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: var(--v3-app-muted);
        font-size: var(--v3-type-caption);
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .v3-day-types-table-name {
        grid-column: 1 / 3;
    }

    .v3-day-types-action {
        grid-column: 3;
        grid-row: 1;
    }

    .v3-day-type-inline-form {
        border-bottom: 0;
    }

    .v3-day-type-inline-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        box-shadow: none;
    }

    .v3-day-type-inline-row > span::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--v3-app-muted);
        font-size: var(--v3-type-caption);
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .v3-day-type-inline-identity,
    .v3-day-type-inline-usage,
    .v3-day-type-inline-actions {
        grid-column: 1 / -1;
    }

    .v3-day-type-inline-identity::before {
        grid-column: 1 / -1;
    }

    .v3-day-type-inline-actions::before {
        display: none;
    }

    .v3-day-type-inline-actions {
        justify-content: flex-end;
    }

    .v3-day-type-inline-readiness .v3-schedule-custom-select--readiness .v3-schedule-select-menu {
        width: min(360px, calc(100vw - 52px));
    }
}

.v3-day-types-surface-header {
    min-height: 62px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 10px 14px;
}

.v3-day-types-surface-header h2,
.v3-day-types-surface-header p {
    margin: 0;
}

.v3-day-types-surface-header h2 {
    color: var(--v3-app-text);
    font-size: 17px;
}

.v3-day-types-surface-header p {
    margin-top: 3px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
}

.v3-day-types-table-head,
.v3-day-types-table-row {
    display: grid;
    grid-template-columns: minmax(140px, 1fr) minmax(116px, 0.9fr) minmax(174px, 1.3fr) minmax(128px, 0.82fr) minmax(126px, 0.78fr) 138px;
    align-items: center;
    gap: 10px;
}

.v3-day-types-table-head {
    min-height: 34px;
    border-top: 1px solid var(--v3-app-border);
    border-bottom: 1px solid var(--v3-app-border);
    color: var(--v3-app-muted);
    background: var(--v3-app-panel-soft);
    padding: 0 12px;
    font-size: var(--v3-type-caption);
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.v3-day-types-table-row {
    min-height: 58px;
    border-bottom: 1px solid var(--v3-app-border);
    color: var(--v3-app-muted);
    padding: 7px 12px;
    font-size: var(--v3-type-caption);
    line-height: 1.3;
}

.v3-day-types-table-row:last-child {
    border-bottom: 0;
}

.v3-day-types-table-row > span {
    min-width: 0;
    overflow-wrap: anywhere;
}

.v3-day-types-table-row small,
.v3-day-types-table-row strong {
    display: block;
}

.v3-day-types-table-row strong {
    color: var(--v3-app-text);
}

.v3-day-types-table-row small {
    margin-top: 2px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.3;
}

.v3-day-types-table-name {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.v3-day-types-table-name > .v3-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--schedule-accent);
    border-radius: 50%;
    color: var(--schedule-accent);
    background: transparent;
    font-size: 14px;
}

.v3-day-types-load {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--v3-app-text);
    font-weight: 800;
}

.v3-day-types-load i {
    width: 3px;
    height: 12px;
    display: block;
    border-radius: 999px;
    background: var(--v3-app-border-strong);
    box-shadow: 6px 0 0 var(--v3-app-border);
    margin-right: 6px;
}

.v3-day-types-load.is-moderate i {
    background: var(--v3-alert-amber);
    box-shadow: 6px 0 0 var(--v3-alert-amber);
}

.v3-day-types-load.is-high i {
    background: var(--v3-danger-red);
    box-shadow: 6px 0 0 var(--v3-danger-red);
}

.v3-day-types-load.is-low i,
.v3-day-types-load.is-rest i {
    background: var(--v3-athletic-green-strong);
    box-shadow: 6px 0 0 var(--v3-app-border);
}

.v3-day-types-action {
    justify-self: end;
}

.v3-day-types-header-actions,
.v3-day-types-count {
    display: flex;
    align-items: center;
}

.v3-day-types-header-actions {
    justify-content: flex-end;
    gap: 10px;
}

.v3-day-types-count {
    min-height: 34px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-day-type-inline-form[hidden],
.v3-day-type-inline-appearance-picker[hidden] {
    display: none;
}

.v3-day-type-inline-form {
    position: relative;
    z-index: 12;
    border-bottom: 1px solid var(--v3-app-border);
}

.v3-day-type-inline-row {
    min-height: 58px;
    align-items: center;
    border-bottom: 0;
    background: transparent;
    box-shadow: none;
    padding-block: 7px;
}

.v3-day-type-inline-row > span {
    min-width: 0;
}

.v3-day-type-inline-identity {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
}

.v3-day-type-inline-appearance {
    position: relative;
}

.v3-day-type-inline-appearance-trigger {
    position: relative;
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--schedule-accent, var(--v3-athletic-green-strong));
    border-radius: 50%;
    color: var(--schedule-accent, var(--v3-athletic-green-strong));
    background: transparent;
    cursor: pointer;
}

.v3-day-type-inline-appearance-trigger:hover,
.v3-day-type-inline-appearance-trigger:focus-visible,
.v3-day-type-inline-appearance-trigger[aria-expanded="true"] {
    outline: none;
    box-shadow: 0 0 0 1px var(--v3-accent-border);
}

.v3-day-type-inline-appearance-trigger .v3-icon {
    width: 17px;
    height: 17px;
}

.v3-day-type-inline-appearance-trigger > i {
    position: absolute;
    right: -3px;
    bottom: -3px;
    width: 12px;
    height: 12px;
    border: 2px solid var(--v3-app-panel);
    border-radius: 50%;
    background: var(--schedule-accent, var(--v3-athletic-green-strong));
}

.v3-day-type-inline-appearance-picker {
    position: absolute;
    z-index: 110;
    top: calc(100% + 8px);
    left: 0;
    width: 246px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--v3-app-border-strong);
    border-radius: 10px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    padding: 10px;
}

.v3-day-type-inline-appearance-picker > strong,
.v3-day-type-usage-popover legend,
.v3-day-type-override-list > strong {
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-day-type-inline-icons {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 5px;
    overflow: visible;
}

.v3-day-type-icon-option--compact {
    width: 28px;
    min-height: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border: 1px solid var(--v3-app-border);
    border-radius: 7px;
    color: var(--v3-app-muted);
    background: transparent;
    cursor: pointer;
}

.v3-day-type-icon-option--compact:hover,
.v3-day-type-icon-option--compact:focus-visible,
.v3-day-type-icon-option--compact.is-selected {
    outline: none;
    border-color: var(--schedule-accent, var(--v3-athletic-green-strong));
    color: var(--schedule-accent, var(--v3-athletic-green-strong));
    background: transparent;
    box-shadow: none;
}

.v3-day-type-inline-swatches {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.v3-day-type-inline-swatches .v3-new-day-type-swatch {
    width: 25px;
    min-width: 25px;
    height: 25px;
    border-width: 2px;
}

.v3-day-type-inline-row .v3-schedule-input,
.v3-day-type-inline-row .v3-schedule-select-button {
    min-height: 36px;
    border-color: var(--v3-app-border-strong);
    border-radius: 6px;
    background: var(--v3-app-panel-soft);
    padding-inline: 5px;
}

:root[data-v3-theme="light"] .v3-day-type-inline-row .v3-schedule-input,
:root[data-v3-theme="light"] .v3-day-type-inline-row .v3-schedule-select-button {
    border-color: var(--v3-app-border-strong);
    background: var(--v3-app-panel-soft);
}

.v3-day-type-inline-row .v3-schedule-select-button:hover,
.v3-day-type-inline-row .v3-schedule-input:hover,
:root[data-v3-theme="light"] .v3-day-type-inline-row .v3-schedule-select-button:hover,
:root[data-v3-theme="light"] .v3-day-type-inline-row .v3-schedule-input:hover {
    border-color: var(--v3-app-border);
    background: var(--v3-app-panel-soft);
}

.v3-day-type-inline-row .v3-schedule-input:focus-visible,
.v3-day-type-inline-row .v3-schedule-select-button:focus-visible,
.v3-day-type-inline-row .v3-schedule-custom-select.is-open .v3-schedule-select-button,
:root[data-v3-theme="light"] .v3-day-type-inline-row .v3-schedule-input:focus-visible,
:root[data-v3-theme="light"] .v3-day-type-inline-row .v3-schedule-select-button:focus-visible,
:root[data-v3-theme="light"] .v3-day-type-inline-row .v3-schedule-custom-select.is-open .v3-schedule-select-button {
    outline: none;
    border-color: var(--v3-app-border-strong);
    background: var(--v3-app-panel-soft);
    box-shadow: var(--v3-focus-ring);
}

.v3-day-type-inline-row .v3-schedule-input:focus:not(:focus-visible),
:root[data-v3-theme="light"] .v3-day-type-inline-row .v3-schedule-input:focus:not(:focus-visible) {
    border-color: var(--v3-app-border-strong);
    background: var(--v3-app-panel-soft);
    box-shadow: none;
}

.v3-day-type-inline-identity .v3-schedule-input {
    color: var(--v3-app-text);
    font-weight: 800;
}

.v3-day-type-inline-purpose .v3-schedule-input {
    height: 36px;
    min-height: 36px;
    overflow-y: auto;
    color: var(--v3-app-muted);
    padding-block: 2px;
    font-weight: 500;
    line-height: 1.3;
    resize: none;
}

.v3-day-type-inline-load .v3-schedule-select-button {
    grid-template-columns: minmax(0, 1fr) 12px;
    gap: 4px;
    padding-inline: 5px;
}

.v3-day-type-inline-load {
    min-width: 126px;
}

.v3-day-type-inline-load .v3-schedule-select-value {
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.v3-day-type-inline-purpose,
.v3-day-type-inline-readiness,
.v3-day-type-inline-load {
    display: grid;
    align-items: center;
}

.v3-day-type-inline-readiness .v3-schedule-custom-select--readiness .v3-schedule-select-menu {
    width: min(330px, 42vw);
    right: auto;
}

.v3-day-type-inline-range {
    display: flex;
    align-items: center;
}

.v3-day-type-inline-range > span {
    display: grid;
    grid-template-columns: 46px 8px 46px;
    align-items: center;
    gap: 4px;
}

.v3-day-type-inline-range > span > i {
    color: var(--v3-app-muted);
    font-style: normal;
}

.v3-day-type-inline-range .v3-schedule-input {
    width: 46px;
    padding-inline: 3px;
    text-align: center;
}

.v3-day-types-usage-button,
.v3-day-type-inline-usage summary {
    width: 100%;
    min-height: 38px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 14px;
    align-items: center;
    gap: 5px;
    border: 0;
    color: var(--v3-app-text);
    background: transparent;
    padding: 0;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.v3-day-types-usage-button > span,
.v3-day-type-inline-usage summary > span {
    min-width: 0;
}

.v3-day-types-usage-button strong,
.v3-day-types-usage-button small,
.v3-day-type-inline-usage summary strong,
.v3-day-type-inline-usage summary small {
    overflow-wrap: anywhere;
}

.v3-day-types-usage-button:hover strong,
.v3-day-types-usage-button:focus-visible strong,
.v3-day-type-inline-usage summary:hover strong,
.v3-day-type-inline-usage summary:focus-visible strong {
    color: var(--v3-accent-foreground);
}

.v3-day-types-usage-button:focus-visible,
.v3-day-type-inline-usage summary:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-day-type-inline-usage {
    position: relative;
}

.v3-day-type-inline-usage details {
    position: relative;
}

.v3-day-type-inline-usage summary {
    list-style: none;
}

.v3-day-type-inline-usage summary::-webkit-details-marker {
    display: none;
}

.v3-day-type-inline-usage details[open] summary > .v3-icon {
    transform: rotate(180deg);
}

.v3-day-type-usage-popover {
    position: absolute;
    z-index: 105;
    top: calc(100% + 7px);
    right: 0;
    width: 320px;
    display: grid;
    gap: 11px;
    border: 1px solid var(--v3-app-border-strong);
    border-radius: 10px;
    background: var(--v3-app-panel);
    box-shadow: var(--v3-shadow-panel);
    padding: 12px;
}

.v3-day-type-usage-popover fieldset {
    display: grid;
    gap: 7px;
    border: 0;
    margin: 0;
    padding: 0;
}

.v3-day-type-usage-popover fieldset > div {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 4px;
}

.v3-day-type-usage-popover fieldset > div > div {
    min-width: 0;
}

.v3-day-type-usage-popover fieldset label {
    min-height: 30px;
    display: grid;
    place-items: center;
    border: 1px solid var(--v3-app-border);
    border-radius: 7px;
    color: var(--v3-app-muted);
    background: var(--v3-app-panel-soft);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    cursor: pointer;
}

.v3-day-type-usage-popover fieldset input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.v3-day-type-usage-popover fieldset label:has(input:checked) {
    border-color: var(--v3-accent-border);
    color: var(--v3-accent-foreground);
    box-shadow: inset 0 0 0 1px var(--v3-accent-border);
}

.v3-day-type-usage-popover fieldset label:has(input:focus-visible) {
    box-shadow: var(--v3-focus-ring);
}

.v3-day-type-override-list {
    display: grid;
    gap: 5px;
}

.v3-day-type-override-list > label {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    cursor: pointer;
}

.v3-day-type-override-list > label:has(input:checked) span {
    text-decoration: line-through;
}

.v3-day-type-usage-popover > small {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.35;
}

.v3-day-type-inline-actions {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.v3-day-type-inline-actions .v3-coach-button {
    padding-inline: 7px;
}

.v3-day-type-inline-delete {
    color: var(--v3-danger-red);
}

.v3-day-type-inline-feedback {
    border-top: 1px solid var(--v3-app-border);
    background: color-mix(in srgb, var(--v3-danger-red) 5%, var(--v3-app-panel));
    padding: 8px 12px 8px 15px;
}

.v3-day-type-inline-feedback[hidden] {
    display: none;
}

.v3-day-type-inline-feedback .v3-async-feedback {
    min-height: 0;
}

.v3-day-types-empty {
    min-height: 130px;
    display: grid;
    place-items: center;
    align-content: center;
    gap: 5px;
    color: var(--v3-app-muted);
    padding: 18px;
    text-align: center;
}

.v3-day-types-empty strong {
    color: var(--v3-app-text);
    font-size: 13px;
}

.v3-day-types-empty span {
    font-size: var(--v3-type-caption);
}

.v3-session-repeat {
    grid-column: 1 / -1;
    border: 1px solid var(--v3-app-border);
    border-radius: 9px;
    background: var(--v3-app-panel-soft);
}

.v3-session-repeat > summary {
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 10px;
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    font-weight: 800;
    cursor: pointer;
    list-style: none;
}

.v3-session-repeat > summary::-webkit-details-marker {
    display: none;
}

.v3-session-repeat > summary > span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.v3-session-repeat > summary .v3-session-repeat-summary-copy {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 8px;
}

.v3-session-repeat-summary-copy strong {
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-session-repeat-summary-copy em {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    font-weight: 700;
}

.v3-session-repeat[open] > summary > .v3-icon {
    transform: rotate(180deg);
}

.v3-session-repeat-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(128px, 140px);
    gap: 10px;
    border-top: 1px solid var(--v3-app-border);
    padding: 10px;
}

.v3-session-repeat-fields fieldset,
.v3-session-repeat-fields label {
    min-width: 0;
    margin: 0;
    border: 0;
    padding: 0;
}

.v3-session-repeat-fields legend,
.v3-session-repeat-fields label > span {
    display: block;
    margin-bottom: 5px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 800;
}

.v3-session-repeat-fields ul,
.v3-session-repeat-fields fieldset > div {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.v3-session-repeat-fields li label,
.v3-session-repeat-fields fieldset > div > div > label {
    min-height: 28px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border: 1px solid var(--v3-app-border);
    border-radius: 7px;
    padding: 0 7px;
    color: var(--v3-app-text);
    font-size: var(--v3-type-caption);
}

/* Simplified Add Session flow */
.v3-session-editor-dialog {
    width: min(520px, calc(100vw - 48px));
    max-height: calc(var(--v3-viewport-height) - 32px);
    overflow: hidden;
    scrollbar-width: none;
}

.v3-session-editor-dialog::-webkit-scrollbar,
.v3-session-editor-dialog .v3-session-editor-mode::-webkit-scrollbar {
    width: 0;
    height: 0;
}

.v3-session-editor-dialog .v3-session-editor-mode {
    max-height: calc(var(--v3-viewport-height) - 32px);
    overflow-y: auto;
    scrollbar-width: none;
}

.v3-session-editor-dialog .v3-modal-hero {
    grid-template-columns: minmax(0, 1fr) 34px;
    grid-template-areas: "title close";
    align-items: start;
    gap: 12px;
    padding: 17px 22px 8px;
}

.v3-session-editor-dialog .v3-modal-title {
    justify-items: start;
    gap: 5px;
    padding: 0;
    text-align: left;
}

.v3-session-editor-dialog .v3-modal-title h2 {
    font-size: 22px;
}

.v3-session-editor-dialog .v3-modal-title p {
    margin: 0;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.35;
    font-weight: 800;
}

.v3-session-simple-body {
    min-width: 0;
    display: grid;
    gap: 11px;
    padding: 8px 22px 12px;
}

.v3-session-simple-field {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.v3-session-editor-mode .v3-session-simple-field > span {
    color: var(--v3-ink-light);
    font-size: var(--v3-type-caption);
    line-height: 1.3;
    font-weight: 800;
}

.v3-session-editor-mode .v3-session-simple-field > span em,
.v3-session-message-field > span em {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-style: normal;
    font-weight: 700;
}

.v3-session-message-field > span {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.v3-session-character-count {
    justify-self: end;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    font-weight: 700;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.v3-session-simple-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(132px, 0.72fr) minmax(0, 1.28fr);
    gap: 10px;
}

.v3-session-simple-grid > .v3-field-control,
.v3-session-simple-grid .v3-schedule-input {
    min-width: 0;
    max-width: 100%;
}

.v3-session-simple-body .v3-schedule-input,
.v3-session-simple-body .v3-schedule-textarea {
    width: 100%;
    min-height: 36px;
    border-radius: 6px;
    font-size: var(--v3-type-caption);
}

.v3-session-simple-body .v3-schedule-input:focus,
.v3-session-simple-body .v3-schedule-textarea:focus {
    border-color: var(--v3-accent-border);
    outline: none;
    box-shadow: none;
}

.v3-session-simple-body .v3-schedule-textarea {
    min-height: 52px;
    resize: vertical;
}

.v3-session-simple-body .v3-session-message-field .v3-schedule-textarea {
    border: 0;
    border-bottom: 1px solid var(--v3-app-border-strong);
    border-radius: 0;
    background: color-mix(in oklch, var(--v3-app-panel-soft) 72%, transparent);
}

.v3-session-simple-body .v3-session-message-field .v3-schedule-textarea:focus {
    border-bottom-color: var(--v3-accent-border);
}

.v3-session-simple-body .v3-session-repeat {
    border-radius: 8px;
    background: transparent;
}

.v3-session-simple-body .v3-session-repeat > summary {
    min-height: 36px;
    padding-inline: 12px;
    font-size: var(--v3-type-caption);
}

.v3-session-modal-actions {
    padding: 9px 22px 11px;
}

@media (min-width: 1261px) {
    .v3-app-main.v3-app-main--schedule {
        min-height: 0;
        height: var(--v3-viewport-height);
        overflow: hidden;
    }

    .v3-app-main--schedule .v3-schedule {
        min-height: 0;
        height: calc(var(--v3-viewport-height) - var(--v3-coach-workspace-offset));
        grid-template-rows: 40px minmax(0, 1fr);
        align-content: stretch;
    }

    .v3-app-main--schedule .v3-schedule-window,
    .v3-app-main--schedule .v3-schedule-grid,
    .v3-app-main--schedule .v3-schedule-panel--selected {
        min-height: 0;
        height: 100%;
    }

    .v3-app-main--schedule .v3-schedule--day-types .v3-schedule-window,
    .v3-app-main--schedule .v3-schedule--day-types .v3-schedule-grid,
    .v3-app-main--schedule .v3-schedule--day-types .v3-day-types-surface {
        min-height: 0;
        height: 100%;
    }

    .v3-app-main--schedule .v3-schedule--day-types .v3-day-types-surface {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
    }

    .v3-app-main--schedule .v3-schedule--day-types .v3-day-types-table {
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-gutter: stable;
    }

    .v3-app-main--schedule .v3-schedule-window--calendar {
        grid-template-rows: 42px minmax(0, 1fr);
    }

    .v3-app-main--schedule .v3-schedule-panel--calendar {
        min-height: 0;
        grid-template-rows: minmax(0, 1fr);
    }

    .v3-app-main--schedule .v3-schedule-week {
        min-height: 0;
        height: 100%;
        align-items: stretch;
    }

    .v3-app-main--schedule .v3-schedule-day {
        min-height: 0;
        height: 100%;
    }

    .v3-app-main--schedule .v3-week-session-panels {
        min-height: 0;
        max-height: none;
        height: 100%;
        overflow-y: auto;
        scrollbar-gutter: auto;
    }

    .v3-app-main--schedule .v3-week-session-panel {
        min-height: 0;
        height: 100%;
    }
}

@media (max-width: 1180px) {
    .v3-schedule-toolbar {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .v3-schedule-range-cluster {
        grid-column: 1 / -1;
        grid-row: 1;
    }

    .v3-schedule-actions--view {
        grid-column: 1;
        grid-row: 2;
    }

    .v3-schedule-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .v3-schedule-panel--selected {
        min-height: 0;
    }

    .v3-week-session-panels {
        max-height: 420px;
    }
}

@media (min-width: 681px) and (max-width: 1260px) {
    .v3-month-type .v3-month-type-chevron,
    .v3-month-type.is-missing > .v3-icon:first-child {
        display: none;
    }

    .v3-month-type {
        grid-template-columns: 18px minmax(0, 1fr);
    }

    .v3-month-type.is-missing {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1180px) {
    .v3-day-types-table-head {
        display: none;
    }

    .v3-day-types-table {
        display: grid;
        gap: 8px;
        padding: 10px;
    }

    .v3-day-types-table-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) 32px;
        gap: 9px 12px;
        border: 1px solid var(--v3-app-border);
        border-radius: 10px;
        padding: 10px;
    }

    .v3-day-types-table-row > span:not(.v3-day-types-table-name):not(.v3-day-types-action)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: var(--v3-app-muted);
        font-size: var(--v3-type-caption);
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .v3-day-types-table-name {
        grid-column: 1 / 3;
    }

    .v3-day-types-action {
        grid-column: 3;
        grid-row: 1;
    }

    .v3-day-type-inline-form {
        border-bottom: 0;
    }

    .v3-day-type-inline-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        box-shadow: none;
    }

    .v3-day-type-inline-row > span::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--v3-app-muted);
        font-size: var(--v3-type-caption);
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .v3-day-type-inline-identity,
    .v3-day-type-inline-usage,
    .v3-day-type-inline-actions {
        grid-column: 1 / -1;
    }

    .v3-day-type-inline-identity::before {
        grid-column: 1 / -1;
    }

    .v3-day-type-inline-actions::before {
        display: none;
    }

    .v3-day-type-inline-actions {
        justify-content: flex-end;
    }

    .v3-day-type-inline-readiness .v3-schedule-custom-select--readiness .v3-schedule-select-menu {
        width: min(360px, calc(100vw - 52px));
    }
}

@media (max-width: 920px) {
    .v3-schedule-toolbar {
        grid-template-columns: minmax(0, 1fr);
    }

    .v3-schedule-range-cluster {
        width: min(100%, 440px);
        grid-column: 1;
        grid-row: 1;
        justify-self: center;
        flex-wrap: nowrap;
    }

    .v3-schedule-range-picker {
        flex: 1 1 auto;
    }

    .v3-schedule-actions--view {
        grid-column: 1;
        grid-row: 2;
    }

    .v3-schedule--week .v3-schedule-panel--calendar {
        gap: 12px;
    }

    .v3-schedule--week .v3-week-sessions.is-week-detail-open {
        width: min(100%, 680px);
        justify-self: center;
        align-self: start;
    }

    .v3-schedule--week .v3-week-sessions.is-week-detail-open .v3-week-session-panels {
        max-height: none;
    }

    .v3-schedule--week .v3-week-sessions.is-week-detail-open .v3-week-session-panel {
        min-height: 0;
    }

    .v3-schedule-week {
        gap: 8px;
        border-top: 0;
        overflow-x: auto;
        overflow-y: hidden;
        padding: 0 14px 14px;
    }

    .v3-schedule-day {
        flex-basis: 174px;
        min-height: 286px;
        border: 1px solid var(--v3-app-border);
        border-radius: 10px;
    }

    .v3-day-types-table-head {
        display: none;
    }

    .v3-day-types-table {
        display: grid;
        gap: 8px;
        padding: 10px;
    }

    .v3-day-types-table-row {
        grid-template-columns: repeat(2, minmax(0, 1fr)) 32px;
        gap: 9px 12px;
        border: 1px solid var(--v3-app-border);
        border-radius: 10px;
        padding: 10px;
    }

    .v3-day-types-table-row > span:not(.v3-day-types-table-name):not(.v3-day-types-action)::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 3px;
        color: var(--v3-app-muted);
        font-size: var(--v3-type-caption);
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .v3-day-types-table-name {
        grid-column: 1 / 3;
    }

    .v3-day-types-action {
        grid-column: 3;
        grid-row: 1;
    }

    .v3-day-type-inline-form {
        border-bottom: 0;
    }

    .v3-day-type-inline-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
        box-shadow: none;
    }

    .v3-day-type-inline-row > span::before {
        content: attr(data-label);
        display: block;
        margin-bottom: 4px;
        color: var(--v3-app-muted);
        font-size: var(--v3-type-caption);
        font-weight: 800;
        letter-spacing: 0.04em;
        text-transform: uppercase;
    }

    .v3-day-type-inline-identity,
    .v3-day-type-inline-usage,
    .v3-day-type-inline-actions {
        grid-column: 1 / -1;
    }

    .v3-day-type-inline-identity::before {
        grid-column: 1 / -1;
    }

    .v3-day-type-inline-actions::before {
        display: none;
    }

    .v3-day-type-inline-actions {
        justify-content: flex-end;
    }

    .v3-day-type-inline-readiness .v3-schedule-custom-select--readiness .v3-schedule-select-menu {
        width: min(360px, calc(100vw - 52px));
    }
}

@media (max-width: 680px) {
    .v3-session-editor-dialog,
    .v3-session-editor-dialog .v3-session-editor-mode {
        max-height: calc(
            var(--v3-viewport-height)
            - var(--v3-safe-top)
            - var(--v3-safe-bottom)
            - 16px
        );
    }

    .v3-session-editor-dialog .v3-modal-hero {
        padding-inline: 18px;
    }

    .v3-session-simple-body {
        padding-inline: 18px;
    }

    .v3-session-simple-grid {
        grid-template-columns: 1fr;
    }

    .v3-session-simple-body .v3-session-repeat > summary {
        min-height: var(--v3-control-phone);
    }

    .v3-session-modal-actions {
        padding-inline: 18px;
    }

    .v3-schedule-section-tabs {
        overflow-x: auto;
    }

    .v3-day-types-surface-header {
        align-items: stretch;
        flex-direction: column;
    }

    .v3-day-types-surface-header .v3-coach-button {
        align-self: flex-start;
    }

    .v3-day-types-header-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .v3-day-types-table-row {
        grid-template-columns: minmax(0, 1fr) 32px;
    }

    .v3-day-types-table-name {
        grid-column: 1;
    }

    .v3-day-types-action {
        grid-column: 2;
    }

    .v3-day-types-table-row > span:not(.v3-day-types-action) {
        grid-column: 1 / -1;
    }

    .v3-day-type-inline-row {
        grid-template-columns: minmax(0, 1fr);
    }

    .v3-day-type-inline-row > span,
    .v3-day-type-inline-actions {
        grid-column: 1;
    }

    .v3-day-type-inline-appearance-picker {
        width: min(246px, calc(100vw - 54px));
    }

    .v3-day-type-inline-usage .v3-day-type-usage-popover {
        position: static;
        width: 100%;
        margin-top: 7px;
    }

    .v3-session-repeat-fields {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .v3-selected-day-facts {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 1180px) {
    .v3-day-types-table-row:not(.v3-day-type-inline-row) {
        position: relative;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        padding-right: 52px;
    }

    .v3-day-types-table-row:not(.v3-day-type-inline-row) .v3-day-types-table-name {
        grid-column: 1 / -1;
    }

    .v3-day-types-table-row:not(.v3-day-type-inline-row) .v3-day-types-action {
        position: absolute;
        top: 10px;
        right: 10px;
    }

    .v3-day-type-inline-row > .v3-day-type-inline-actions::before {
        display: none !important;
        content: none !important;
    }

    .v3-day-type-inline-range {
        display: grid;
        align-content: start;
        justify-items: start;
    }

    .v3-day-type-inline-range > span {
        justify-self: start;
    }
}

@media (max-width: 680px) {
    .v3-day-types-table-row:not(.v3-day-type-inline-row) {
        grid-template-columns: minmax(0, 1fr);
    }

    .v3-day-types-table-row:not(.v3-day-type-inline-row) > span:not(.v3-day-types-action) {
        grid-column: 1;
    }
}

@media (max-width: 680px) {
    .v3-week-sessions-header-actions {
        width: 100%;
    }
}

/* Day Type and session glyphs stand alone; the surrounding layout provides structure. */
.v3-schedule-day-context > .v3-icon,
.v3-selected-day-type > span,
.v3-selected-session-icon,
.v3-day-types-table-name > .v3-icon {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.v3-schedule-day-context > .v3-icon {
    font-size: 22px;
}

.v3-selected-day-type > span {
    width: 46px;
    height: 46px;
    font-size: 34px;
}

.v3-selected-session-icon,
.v3-day-types-table-name > .v3-icon {
    font-size: 20px;
}

/* Day Type assignment stays inside the selected-day planning context. */
.v3-day-type-chooser[hidden],
.v3-week-session-panels[hidden] {
    display: none;
}

.v3-day-type-chooser {
    min-height: 0;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr) auto;
    align-content: stretch;
}

.v3-day-type-chooser-header {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--v3-app-border);
    background: var(--v3-app-panel-soft);
    padding: 10px 14px;
}

.v3-day-type-chooser-header > div {
    min-width: 0;
}

.v3-day-type-chooser-header h3,
.v3-day-type-chooser-header p {
    margin: 0;
}

.v3-day-type-chooser-header h3 {
    color: var(--v3-app-text);
    font-size: var(--v3-type-body);
    line-height: 1.25;
    font-weight: var(--v3-weight-heavy);
}

.v3-day-type-chooser-header p {
    margin-top: 2px;
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.35;
    font-weight: var(--v3-weight-medium);
}

.v3-day-type-chooser > .v3-async-feedback {
    margin: 0 14px 8px;
}

.v3-day-type-chooser-label {
    display: block;
    color: var(--v3-app-muted);
    padding: 8px 12px 6px;
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-weight: var(--v3-weight-heavy);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.v3-day-type-chooser-list {
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-bottom: 1px solid var(--v3-app-border);
    scrollbar-gutter: stable;
}

.v3-day-type-choice {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    align-items: center;
    gap: 9px;
    border: 0;
    border-bottom: 1px solid var(--v3-app-border);
    color: inherit;
    background: transparent;
    padding: 8px 12px;
    font: inherit;
    text-align: left;
    cursor: pointer;
    transition: background-color 150ms ease, box-shadow 150ms ease;
}

.v3-day-type-choice:last-child {
    border-bottom: 0;
}

.v3-day-type-choice:hover {
    background: var(--v3-app-panel-soft);
}

.v3-day-type-choice:focus-visible {
    position: relative;
    z-index: 1;
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-day-type-choice.is-selected {
    box-shadow: inset 2px 0 0 var(--v3-athletic-green);
}

.v3-day-type-choice-icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: var(--schedule-accent);
    font-size: 22px;
}

.v3-day-type-choice-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.v3-day-type-choice-copy strong,
.v3-day-type-choice-copy small,
.v3-day-type-choice-copy em {
    display: block;
}

.v3-day-type-choice-copy strong {
    color: var(--v3-app-text);
    font-size: var(--v3-type-label);
    line-height: 1.25;
    font-weight: var(--v3-weight-heavy);
}

.v3-day-type-choice-copy small {
    color: var(--v3-app-muted);
    font-size: var(--v3-type-caption);
    line-height: 1.3;
    font-weight: var(--v3-weight-medium);
    overflow-wrap: anywhere;
}

.v3-day-type-choice-copy em {
    color: var(--v3-athletic-green);
    font-size: var(--v3-type-caption);
    line-height: 1.2;
    font-style: normal;
    font-weight: var(--v3-weight-heavy);
}

.v3-day-type-choice-copy em[hidden] {
    display: none;
}

.v3-day-type-choice-load {
    justify-self: end;
    white-space: nowrap;
}

.v3-day-type-chooser-create {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-self: start;
    gap: 7px;
    color: var(--v3-accent-foreground);
    padding: 4px 12px;
    text-decoration: none;
}

.v3-day-type-chooser-create:hover {
    color: var(--v3-accent-foreground);
    background: var(--v3-app-panel-soft);
}

.v3-day-type-chooser-create:focus-visible {
    outline: none;
    box-shadow: var(--v3-focus-ring);
}

.v3-day-type-chooser-create > .v3-icon:first-child {
    color: var(--v3-athletic-green);
    font-size: 16px;
}

.v3-day-type-chooser-create strong,
.v3-day-type-chooser-create small {
    display: block;
}

.v3-day-type-chooser-create strong {
    font-size: var(--v3-type-label);
    line-height: 1.2;
    font-weight: var(--v3-weight-heavy);
}

.v3-day-type-chooser[aria-busy="true"] .v3-day-type-choice {
    pointer-events: none;
}

@media (max-width: 520px) {
    .v3-day-type-chooser-header {
        padding-inline: 12px;
    }

    .v3-day-type-choice {
        min-height: 68px;
        grid-template-columns: 34px minmax(0, 1fr);
    }

    .v3-day-type-choice-load {
        grid-column: 2;
        justify-self: start;
    }

    .v3-day-type-chooser-create {
        min-height: var(--v3-control-phone);
    }
}
