/* The daily workspace: one active task, compact week, explicit draft boundary. */

/* A single 24 px outline icon language, drawn locally and never fetched. */
.v2-icon { display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; vertical-align: middle; background: currentColor; -webkit-mask: var(--v2-icon) center / contain no-repeat; mask: var(--v2-icon) center / contain no-repeat; pointer-events: none; }
.v2-icon-button { display: inline-flex; align-items: center; justify-content: center; }
.v2-week-state > .btn.primary { display: inline-flex; align-items: center; gap: 7px; }
.v2-workspace-tab, .v2-settings-open { display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.v2-workspace-tab::before, .v2-settings-open::before { content: ''; display: inline-block; flex: 0 0 auto; width: 16px; height: 16px; vertical-align: -3px; background: currentColor; -webkit-mask: var(--v2-icon) center / contain no-repeat; mask: var(--v2-icon) center / contain no-repeat; }
.v2-week-meta > summary { position: relative; list-style: none; padding-right: 40px; }
.v2-week-meta > summary::-webkit-details-marker { display: none; }
.v2-week-meta > summary > .v2-icon { margin-right: 8px; vertical-align: -3px; }
.v2-week-meta > summary::after { content: ''; position: absolute; right: 18px; top: 19px; width: 6px; height: 6px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.v2-week-meta[open] > summary::after { top: 23px; transform: rotate(225deg); }
.v2-icon--run { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D'15'%20cy%3D'4'%20r%3D'2'%2F%3E%3Cpath%20d%3D'm12%2022%203-7-4-3%203-4%204%203h4M5%2018l5-2%201-4M8%209l3-3%203%202'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--strength { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'm6%206%2012%2012M4%204l-2%202%204%204%202-2m8%208-2%202%204%204%202-2M7%203l3%203-4%204-3-3m14%2014-3-3%204-4%203%203'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--ofp { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D'12'%20cy%3D'4'%20r%3D'2'%2F%3E%3Cpath%20d%3D'M12%206v7M5%209l7%202%207-2m-7%204-5%208m5-8%205%208'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--activity { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M2%2012h4l3-8%206%2016%203-8h4'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--move { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M4%207h15m-4-4%204%204-4%204M20%2017H5m4-4-4%204%204%204'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--copy { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D'9'%20y%3D'9'%20width%3D'13'%20height%3D'13'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M5%2015H4a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2h9a2%202%200%200%201%202%202v1'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--edit { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'm16%203%205%205-12%2012-6%201%201-6ZM13%206l5%205'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--chart { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M4%203v17h17M8%2015v-4m5%204V6m5%209V9'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--check { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'9'%2F%3E%3Cpath%20d%3D'm8%2012%203%203%205-6'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--chevron-right { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'm9%205%207%207-7%207'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--chevron-left { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'm15%205-7%207%207%207'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--refresh { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M20%207a9%209%200%201%200%201%207M20%203v5h-5'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--undo { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M9%205%204%2010l5%205M4%2010h10a6%206%200%200%201%200%2012'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--plus { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M12%205v14M5%2012h14'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--save { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M4%203h13l4%204v14H3V3h1ZM7%203v6h10V3M7%2021v-8h10v8'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--comment { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M21%2011a8%208%200%200%201-8%208H7l-5%203%202-6a8%208%200%200%201-1-5%209%209%200%200%201%2018%200ZM7%209h10M7%2013h7'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--calendar, #workspace-tab-week::before { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D'3'%20y%3D'5'%20width%3D'18'%20height%3D'16'%20rx%3D'2'%2F%3E%3Cpath%20d%3D'M7%203v4m10-4v4M3%2011h18M7%2015h3m4%200h3'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--moon { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'M21%2013a9%209%200%200%201-10-10%209%209%200%201%200%2010%2010Z'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--target { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'9'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'5'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'1'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--user, #workspace-tab-analytics::before { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D'12'%20cy%3D'7'%20r%3D'4'%2F%3E%3Cpath%20d%3D'M4%2021v-2a8%208%200%200%201%2016%200v2'%2F%3E%3C%2Fsvg%3E"); }
.v2-icon--settings, .v2-settings-open::before { --v2-icon: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22black%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D'm10%202-1%203-3%201-3%204v4l3%204%203%201%201%203h4l1-3%203-1%203-4v-4l-3-4-3-1-1-3Z'%2F%3E%3Ccircle%20cx%3D'12'%20cy%3D'12'%20r%3D'3'%2F%3E%3C%2Fsvg%3E"); }
.v2-console .v2-workspace-panel[hidden] { display: none !important; }
.v2-console .main { max-width: none; min-width: 0; }
.v2-console .v2-workspace-heading { margin-bottom: 16px; }
.v2-console .v2-workspace-heading h1 { font-size: clamp(1.5rem, 2.3vw, 2rem); }
.v2-console .v2-workspace-heading .ios-nav-sub { font-size: .85rem; margin-top: 5px; }
.v2-workspace-tabs { position: sticky; top: 0; z-index: 20; display: flex; gap: 6px; padding: 10px 0 12px; margin-bottom: 18px; background: var(--bg); border-bottom: 1px solid var(--v2-separator); max-width: 100%; overflow-x: auto; }
.v2-workspace-tab { padding: 10px 18px; min-height: 42px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: var(--v2-secondary); font: inherit; font-size: .9rem; cursor: pointer; white-space: nowrap; }
.v2-workspace-tab[aria-selected="true"] { color: var(--text); background: var(--ios-fill); border-color: var(--v2-separator); font-weight: 650; }
.v2-workspace-tab:focus-visible, .v2-workout-preview__open:focus-visible { outline: 2px solid #7bbaff; outline-offset: 3px; }
.v2-settings-page { max-width: 900px; }
.v2-settings-page > * { margin-bottom: 20px; }
.v2-settings-page .v2-identity { display: grid; gap: 10px; }
.v2-settings-open { margin-top: auto; width: 100%; }
.v2-console .v2-week-toolbar { position: static; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 0 0 14px; border: 0; border-bottom: 1px solid var(--v2-separator); border-radius: 0; background: transparent; box-shadow: none; }
.v2-console .v2-week-toolbar:empty { display: none; }
.v2-week-calendar-head { position: relative; z-index: 7; display: flex; align-items: center; flex-wrap: wrap; gap: 12px 20px; margin-top: 8px; }
.v2-console .v2-plan-header__controls { flex: 0 1 auto; gap: 5px; }
.v2-console :is(.v2-week-toolbar,.v2-week-calendar-head) .btn { min-height: 34px; padding: 7px 9px; font-size: .75rem; white-space: nowrap; }
.v2-console .v2-plan-header__controls :is(.v2-week-nav-arrow,.v2-week-refresh,.v2-week-copy__handle) { width: 32px; padding-inline: 0; }
.v2-console .v2-plan-date { width: 132px; min-height: 34px; padding: 6px 8px; font-size: .76rem; }
.v2-console .v2-week-refresh { font-size: 1.1rem; }
.v2-console .v2-plan-header h2 { margin: 0; font-size: 1.12rem; letter-spacing: -.02em; }
.v2-console .v2-week-status { flex: 1 1 180px; font-size: .78rem; }
.v2-console .v2-week-state { gap: 8px; min-height: 34px; }
.v2-console .v2-week-insights { max-width: none; padding: 0; margin: 0; }
.v2-console .v2-week-insights .fr-widget {
  --widget-bg: #1c1c1e;
  min-width: 0;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  border-top: 2px solid var(--widget-accent);
}
.v2-console .v2-week-insights .fr-widget-icon {
  border: 1px solid color-mix(in srgb, var(--widget-accent) 45%, transparent);
}
.v2-console .v2-week-insights .fr-widget-subtitle {
  display: block;
  -webkit-line-clamp: unset;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.v2-week-meta { border: 1px solid var(--v2-separator); border-radius: 14px; background: var(--card); }
.v2-console .v2-week-meta .v2-plan-summary { border: 0; padding-top: 0; grid-template-columns: minmax(0, 1fr) 180px; }
.v2-week-month { display: flex; align-items: center; gap: 9px; margin: 0 2px; color: var(--text); font-size: 1.25rem; font-weight: 650; letter-spacing: -.025em; }
.v2-week-period { flex: 1 0 100%; margin: 0; font-size: .9rem; }
.v2-week-day__period { display: block; margin-top: 2px; font-size: .72rem; font-weight: 650; line-height: 1.2; }
.v2-week-month > .v2-icon { color: #8fb4d9; width: 18px; height: 18px; }
.v2-week-picker { position: relative; max-width: 100%; }
.v2-week-picker__title { position: relative; box-sizing: border-box; display: block; min-height: 34px; padding: 8px 34px 8px 12px; border: 1px solid #7dbbff55; border-radius: 9px; background: #21364e; color: #d5e7fa; font-size: .78rem; line-height: 1.3; font-weight: 550; list-style: none; cursor: pointer; }
.v2-week-picker__title::-webkit-details-marker { display: none; }
.v2-week-picker__title::after { content: ''; position: absolute; right: 16px; top: 13px; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: rotate(45deg); }
.v2-week-picker[open] > summary::after { top: 16px; transform: rotate(225deg); }
.v2-week-picker__title:focus-visible { outline: 2px solid #91c8ff; outline-offset: 3px; }
.v2-week-picker__title[aria-disabled="true"] { opacity: .5; cursor: default; }
.v2-week-picker__body { position: absolute; top: calc(100% + 8px); right: 0; width: min(270px, 76vw); box-sizing: border-box; padding: 14px; border: 1px solid #8bb5df55; border-radius: 12px; background: #1b2b3c; box-shadow: 0 12px 28px #0006; }
.v2-week-picker:not([open]) > .v2-week-picker__body { display: none; }
.v2-week-picker__body .v2-plan-date { width: 100%; }
.v2-week-picker__hint { margin: 9px 0 0; color: var(--v2-secondary); font-size: .72rem; line-height: 1.5; }
@media (max-width: 560px) { .v2-week-picker__body { right: auto; left: 0; } }
.v2-console .v2-week-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 184px), 1fr)); grid-auto-rows: auto; align-items: stretch; gap: 10px; }
.v2-console .v2-week-day { position: relative; display: flex; flex-direction: column; min-height: 0; padding: 10px; border-radius: 16px; }
.v2-console .v2-week-day__head { align-items: center; gap: 8px; padding: 2px 2px 14px; }
.v2-console .v2-week-day h3 { display: flex; align-items: baseline; flex-wrap: wrap; gap: 3px 6px; font-size: .78rem; font-weight: 650; overflow-wrap: anywhere; }
.v2-console .v2-week-day__date { display: inline; margin: 0; padding: 2px 5px; border-radius: 5px; background: #b0c9e30b; font-size: .72rem; font-variant-numeric: tabular-nums; }
.v2-console .v2-week-day[data-today="true"] .v2-week-day__date { background: #7ab9ff24; }
.v2-week-day__actions { display: flex; align-items: center; flex: 0 0 auto; gap: 4px; }
.v2-console .v2-week-day__add { display: grid; place-items: center; width: 28px; height: 28px; min-height: 28px; padding: 0; border-radius: 8px; font-size: 1.15rem; }
.v2-week-day[data-rest="true"] > .v2-day-rest { flex: 1; align-content: center; justify-content: center; }
.v2-workout-preview { --workout-accent: #6a8eb5; position: relative; border: 1px solid var(--v2-separator); border-left: 3px solid var(--workout-accent); border-radius: 12px; background: var(--card); }
.v2-workout-preview:has(.v2-week-popover:not([hidden])) { z-index: 6; }
.v2-week-day:has(.v2-week-popover:not([hidden])) { z-index: 6; }
.v2-workout-preview[data-kind="running"] { --workout-accent: #5ac8bd; }
.v2-workout-preview[data-kind="strength"] { --workout-accent: #c99e68; }
.v2-workout-preview[data-kind="ofp"] { --workout-accent: #7d9dd1; }
.v2-workout-preview__open { display: grid; gap: 6px; width: 100%; min-width: 0; padding: 8px; border: 0; border-radius: 11px; background: transparent; color: var(--text); text-align: left; font: inherit; cursor: pointer; }
.v2-workout-preview__open:hover { background: #ffffff07; }
.v2-workout-preview__type { font-size: .8rem; font-weight: 650; line-height: 1.3; white-space: nowrap; overflow-wrap: normal; hyphens: manual; }
.v2-workout-preview__title { font-size: .78rem; line-height: 1.35; font-weight: 600; overflow-wrap: break-word; hyphens: auto; }
.v2-workout-preview__metrics { display: flex; align-items: baseline; gap: 6px; font-variant-numeric: tabular-nums; }
.v2-workout-preview__metrics strong { font-size: 1.05rem; line-height: 1.15; letter-spacing: -.025em; font-weight: 650; }
.v2-workout-preview__metrics > .v2-workout-preview__metric-label { color: var(--v2-secondary); font-size: .72rem; font-weight: 550; letter-spacing: 0; text-transform: none; }
.v2-workout-preview__assignment { display: block; white-space: pre-line; overflow-wrap: break-word; hyphens: manual; color: #c1cede; font-size: .76rem; line-height: 1.4; }
.v2-workout-preview__assignment.is-collapsed { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.v2-workout-preview__foot { display: flex; align-items: center; gap: 6px; padding: 0 6px 6px; }
.v2-workout-preview__foot .v2-workout-preview__actions { position: static; margin-left: auto; }
.v2-workout-preview__expand { display: inline-flex; align-items: center; gap: 3px; min-height: 24px; padding: 2px 6px; border: 0; border-radius: 8px; background: transparent; color: #b7d4f2; font: inherit; font-size: .72rem; font-weight: 600; cursor: pointer; }
.v2-workout-preview__expand:hover { background: #ffffff10; }
.v2-workout-preview__expand .v2-icon { width: 12px; height: 12px; transform: rotate(90deg); }
.v2-workout-preview__expand[aria-expanded="true"] .v2-icon { transform: rotate(-90deg); }
.v2-workout-preview__assignment.is-empty { color: var(--v2-secondary); }
.v2-workout-preview__execution { display: grid; gap: 6px; padding-top: 12px; border-top: 1px solid var(--v2-separator); }
.v2-workout-preview__actual { color: #e2f4ed; font-size: .81rem; font-weight: 600; line-height: 1.4; }
.v2-workout-preview__effort { color: #becbd9; font-size: .72rem; line-height: 1.4; }
.v2-workout-preview__report { color: #acd2fb; font-size: .72rem; margin-top: 3px; line-height: 1.4; }
.v2-workout-preview__status { color: #9bd7b3; font-size: .72rem; line-height: 1.5; }
.v2-workout-preview__source { color: var(--v2-secondary); font-size: .68rem; }
.v2-workout-preview__actions { position: absolute; top: 6px; right: 4px; z-index: 3; display: flex; gap: 2px; }
.v2-workout-preview__edit { display: grid; place-items: center; width: 30px; height: 30px; padding: 0; border: 1px solid #a8c6df25; border-radius: 8px; background: #0a15252e; color: #c2d6e9; cursor: pointer; }
.v2-workout-preview[data-has-actions="true"] .v2-workout-preview__type { max-width: none; }
.v2-workout-preview[draggable="true"] { cursor: grab; }
.v2-workout-preview[draggable="true"] .v2-workout-preview__open { cursor: grab; }
.v2-workout-preview[data-dragging="true"] { opacity: .45; }
.v2-week-day[data-accepts-drop="true"] { outline: 1px dashed #8cc8ff66; outline-offset: 2px; }
.v2-week-day[data-drop-target="true"] { outline: 2px solid #8cc8ff; outline-offset: 2px; background: #8cc8ff12; }
.v2-workout-move__handle, .v2-workout-copy__handle { display: grid; place-items: center; flex: 0 0 auto; width: 24px; height: 24px; margin: 0; padding: 0; border: 1px solid #a8c6df25; border-radius: 7px; background: #0a15252e; color: #bed8f1; cursor: pointer; }
.v2-workout-move__handle:hover, .v2-workout-move__handle[aria-expanded="true"],
.v2-workout-copy__handle:hover, .v2-workout-copy__handle[aria-expanded="true"],
.v2-week-copy__handle[aria-expanded="true"] { background: #91bcf024; border-color: #91bcf04a; }
.v2-workout-move__handle:disabled, .v2-workout-copy__handle:disabled { cursor: default; opacity: .5; }
.v2-workout-move__handle:focus-visible, .v2-workout-copy__handle:focus-visible, .v2-week-popover select:focus-visible { outline: 2px solid #7bbaff; outline-offset: 3px; }
.v2-workout-move__locked { margin: 0 10px 10px; color: var(--v2-secondary); font-size: .68rem; line-height: 1.5; }
.v2-week-popover { position: absolute; z-index: 5; display: grid; gap: 10px; padding: 12px; border: 1px solid #91bcf04a; border-radius: 10px; background: #1b2b3c; box-shadow: 0 12px 28px #0006; }
.v2-workout-move__picker, .v2-workout-copy__picker { top: 44px; left: 8px; right: 8px; }
.v2-week-copy { position: relative; }
.v2-week-copy__picker { top: calc(100% + 8px); right: 0; width: min(300px, 72vw); }
.v2-week-copy__hint { margin: 0; color: #9eb6cc; font-size: .72rem; line-height: 1.45; }
.v2-workout-move__name { margin: 0; color: #c9def3; font-size: .76rem; overflow-wrap: anywhere; }
.v2-week-popover[hidden] { display: none; }
.v2-week-popover select, .v2-week-popover .v2-plan-date { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--v2-separator); border-radius: 8px; background: var(--ios-fill); color: var(--text); font: inherit; font-size: .76rem; }
.v2-week-move-status { margin: 0; color: #b5d9f6; font-size: .8rem; line-height: 1.5; }
.v2-week-move-status:empty { display: none; }
.v2-day-rest { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; padding: 17px 5px 12px; color: #bbcbdc; }
.v2-day-rest__icon { display: grid; place-items: center; flex: 0 0 36px; height: 36px; border-radius: 50%; background: #a9c2df0c; color: #adc6e0; font-size: 1.65rem; }
.v2-day-rest__icon > .v2-icon { width: 24px; height: 24px; }
.v2-day-rest__title { display: block; font-size: .86rem; font-weight: 550; }
.v2-day-rest__hint { display: block; margin-top: 4px; color: #9aadc1; font-size: .71rem; line-height: 1.4; }
.v2-day-rest__note { flex-basis: 100%; margin: 0; color: #becbdb; white-space: pre-line; overflow-wrap: anywhere; font-size: .76rem; line-height: 1.5; }
.v2-day-rest__details { padding: 5px 0; border: 0; background: none; color: #afd2f6; font: inherit; font-size: .74rem; text-align: left; cursor: pointer; }
.v2-day-rest__details:focus-visible, .v2-week-day__add:focus-visible { outline: 2px solid #7bbaff; outline-offset: 3px; }
.v2-week-day[data-rest="true"] > .v2-day-rest { flex-direction: column; flex-wrap: nowrap; min-height: 0; padding: 14px 8px; gap: 10px; border: 1px dashed #adc6e01c; border-radius: 12px; background: #a9c2df05; text-align: center; }
.v2-week-day[data-rest="true"] .v2-day-rest__icon { flex-basis: auto; width: 52px; height: 52px; background: #a9c2df0e; }
.v2-week-day[data-rest="true"] .v2-day-rest__icon > .v2-icon { width: 28px; height: 28px; }
.v2-week-day[data-rest="true"] .v2-day-rest__title { font-size: 1rem; font-weight: 650; letter-spacing: -.02em; color: #d3e2f0; }
.v2-week-day[data-rest="true"] .v2-day-rest__hint { margin-top: 4px; font-size: .74rem; color: #a9bdd1; }
.v2-week-day[data-rest="true"] .v2-day-rest__note { flex-basis: auto; }
.health-report-shell[data-report-kind="strength"] .health-report-shell-panel { width: min(1060px, 100vw); }
.health-report-shell[data-report-kind="strength"] .health-report-shell-head { padding: 12px 18px; }
.health-report-shell[data-report-kind="strength"] .health-report-day-label { margin: 4px 0 0; font-size: .75rem; line-height: 1.4; }
.strength-report { color: var(--text); font-size: .85rem; line-height: 1.55; }
.strength-report__title { margin: 0 0 6px; font-size: 1.1rem; }
.strength-report__muted { margin: 0; color: var(--v2-secondary); font-size: .76rem; }
.strength-report__summary { display: flex; flex-wrap: wrap; gap: 12px; margin: 12px 0; }
.strength-report__summary > div { flex: 1 1 135px; padding: 10px 12px; border: 1px solid var(--v2-separator); border-radius: 10px; background: var(--card); }
.strength-report__summary dt, .strength-report__summary small { color: var(--v2-secondary); font-size: .74rem; }
.strength-report__summary dd { margin: 5px 0 0; font-size: 1.25rem; font-weight: 650; font-variant-numeric: tabular-nums; }
.strength-report__comment { padding: 9px 12px; border-left: 2px solid #c99e68; background: var(--card); border-radius: 8px; }
.strength-report__comment summary { cursor: pointer; font-size: .8rem; }
.strength-report__comment p, .strength-report__assignment p { margin: 8px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; }
.strength-report__guide { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 16px; margin: 12px 0; }
.strength-report__legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 0; color: #b9cddb; font-size: .69rem; }
.strength-report__legend > span:first-child { color: #9ddac1; }
.strength-report__format { margin: 0; color: var(--v2-secondary); font-size: .72rem; line-height: 1.5; }
.strength-report__group { margin-top: 18px; padding: 14px; border: 1px solid #a8c6df26; border-radius: 14px; background: #18222d; }
.strength-report__group-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.strength-report__group-head h3 { margin: 0; font-size: .95rem; font-weight: 650; color: #efd5ae; }
.strength-report__group-head > span { flex-shrink: 0; color: var(--v2-secondary); font-size: .72rem; }
.strength-report__exercise-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 12px; }
.strength-report__exercise { min-width: 0; padding: 12px; border: 1px solid var(--v2-separator); border-radius: 10px; background: #111b25; }
.strength-report__exercise > h4 { margin: 0 0 10px; font-size: .84rem; line-height: 1.45; font-weight: 600; overflow-wrap: anywhere; }
.strength-report__scroll { min-width: 0; }
.strength-report__scroll:focus-visible { outline: 2px solid #7bbaff; outline-offset: 2px; }
.strength-report table { width: 100%; border-collapse: collapse; table-layout: fixed; font-size: .77rem; }
.strength-report caption { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.strength-report th, .strength-report td { padding: 9px 6px; text-align: left; vertical-align: top; overflow-wrap: anywhere; font-variant-numeric: tabular-nums; border-top: 1px solid var(--v2-separator); }
.strength-report thead th { color: var(--v2-secondary); font-weight: 500; background: var(--card); }
.strength-report th:first-child { width: 16%; }
.strength-report td:last-child { color: #e5f3ec; font-weight: 550; }
.strength-report__actual-wrap { display: flex; align-items: center; flex-wrap: wrap; gap: 4px 7px; }
.strength-report__value { display: inline; }
.strength-report__badges { display: inline-flex; flex-wrap: wrap; gap: 4px; }
.strength-report__badge { display: inline-flex; align-items: center; gap: 3px; padding: 1px 5px; border-radius: 5px; background: #6bc8a115; color: #a3dfc2; font-size: .65rem; font-weight: 500; line-height: 1.5; }
.strength-report__badge[data-tone="higher"], .strength-report__badge[data-tone="changed"] { color: #a9d4fa; background: #89bbf014; }
.strength-report__badge[data-tone="lower"], .strength-report__badge[data-tone="unknown"] { color: #edc48c; background: #edc48c12; }
.strength-report__badge[data-tone="empty"] { color: #a5b5c7; background: #a5b5c710; }
.strength-report tbody th small { display: block; font-weight: 400; color: var(--v2-secondary); }
.strength-report [data-tone="lower"] td:last-child { color: #e5bd83; }
.strength-report [data-tone="empty"] td { color: var(--v2-secondary); }
.strength-report__empty { padding: 12px; border: 1px solid var(--v2-separator); border-radius: 10px; }
.strength-report__assignment { margin-top: 20px; color: var(--v2-secondary); }
.strength-report__assignment summary { cursor: pointer; }
@media (max-width: 720px) { .strength-report__exercise-grid { grid-template-columns: 1fr; } .strength-report__group { padding: 10px; } }
.v2-report-link { padding: 4px 0; border: 0; background: none; color: #8cc8ff; font: inherit; font-size: inherit; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.v2-report-link:focus-visible, .v2-workout-preview__edit:focus-visible, .v2-workout-preview__expand:focus-visible { outline: 2px solid #7bbaff; outline-offset: 3px; }
.running-health-missing { color: var(--muted); font-size: .8rem; line-height: 1.55; margin: 12px 0; }
.running-health-source { display: grid; gap: 8px; margin-bottom: 16px; color: var(--muted); font-size: .8rem; }
.running-health-source select { max-width: 100%; padding: 9px; background: var(--card); color: var(--text); border: 1px solid var(--border); border-radius: 8px; }
.running-health-pace-line { fill: none; stroke: #59cbbb; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.v2-day-health { margin-top: 10px; padding: 10px; color: var(--v2-secondary); font-size: .75rem; line-height: 1.5; overflow-wrap: anywhere; }
.v2-day-health summary { cursor: pointer; color: var(--text); }
.v2-day-health p { margin: 8px 0 0; }
.v2-workout-overlay { position: fixed; inset: 0; z-index: 150; display: flex; justify-content: center; align-items: center; }
.v2-workout-backdrop { position: absolute; inset: 0; width: 100%; border: 0; background: #0008; cursor: default; }
.v2-workout-drawer { position: relative; z-index: 1; display: flex; flex-direction: column; width: min(660px, 94vw); max-height: calc(100dvh - 2 * clamp(8px, 2vw, 24px)); height: auto; margin: clamp(8px, 2vw, 24px); background: var(--card); border: 1px solid var(--v2-separator); border-radius: 16px; box-shadow: 0 24px 80px #000a; }
.v2-workout-drawer__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 18px 20px; border-bottom: 1px solid var(--v2-separator); flex-shrink: 0; }
.v2-workout-drawer__head h2 { margin: 0; font-size: 1.1rem; }
.v2-workout-drawer__body { min-height: 0; overflow-y: auto; padding: 20px; overscroll-behavior: contain; }
.v2-workout-drawer__body > .v2-workout-card { border: 0; padding: 0; background: transparent; }
.v2-workout-drawer__body .v2-workout-card__type { padding: 10px; border: 1px solid var(--v2-separator); border-radius: 10px; background: var(--ios-fill); color-scheme: dark; }
.v2-workout-drawer__body .v2-workout-card__fields { grid-template-columns: minmax(0, 160px); }
.v2-workout-drawer__body .v2-workout-card__content { gap: 18px; }
.v2-workout-drawer__body textarea { min-height: 140px; }
.v2-workout-drawer__footer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: auto; padding: 16px 20px; border-top: 1px solid var(--v2-separator); background: var(--card); flex-shrink: 0; }
.v2-workout-drawer__status, .v2-workout-drawer__hint { flex-basis: 100%; margin: 0; line-height: 1.5; font-size: .8rem; color: var(--v2-secondary); }
.v2-workout-drawer__hint { font-size: .72rem; }
.v2-workout-drawer__footer > .btn.primary { margin-left: auto; }
.v2-editor-confirm { flex-basis: 100%; padding: 12px; border: 1px solid #c99e6870; border-radius: 10px; background: #c99e6810; }
.v2-editor-confirm[hidden] { display: none; }
.v2-editor-confirm p { margin: 0 0 10px; font-size: .82rem; line-height: 1.5; }
.v2-editor-confirm .btn { margin: 3px 5px 3px 0; }
@media (min-width: 901px) { .v2-console .app-shell { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .v2-console .v2-week-toolbar { position: static; } .v2-workspace-tab { padding-inline: 10px; font-size: .8rem; } .v2-console .v2-week-meta .v2-plan-summary { grid-template-columns: 1fr; } }

/* Keep the original iPhone-style widgets in the analytics workspace. */
.v2-console .v2-dashboard--legacy {
  container: v2-dashboard / inline-size;
  min-width: 0;
  margin: 0 0 28px;
}

.v2-console .v2-dashboard--legacy .dashboard-row--head-weight {
  grid-template-columns: minmax(150px, 200px) minmax(0, 1fr) minmax(240px, 320px);
  align-items: stretch;
}

.v2-console .v2-dashboard--legacy .dashboard-head-goals {
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: 100%;
  max-width: 320px;
}

.v2-console .v2-dashboard--legacy .dashboard-head-goals > .fr-widget {
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.v2-console .v2-dashboard--legacy .dashboard-head-goals .fr-widget-body {
  flex: 1;
  min-height: 0;
  overflow: auto;
}

.v2-console .v2-dashboard--legacy .v2-dashboard-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 16px;
  margin-bottom: 18px;
}

.v2-console .v2-dashboard--legacy .v2-dashboard-head > div {
  flex: 1 1 240px;
  min-width: 0;
}

.v2-console .v2-dashboard--legacy .v2-dashboard-head h2 {
  margin: 4px 0 0;
  font-size: 1.3rem;
  line-height: 1.25;
  letter-spacing: -0.03em;
  overflow-wrap: anywhere;
}

.v2-console .v2-dashboard--legacy .v2-dashboard-head .btn {
  flex: 0 1 auto;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

.v2-console .v2-dashboard--legacy .v2-dashboard-caption {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.v2-console .v2-dashboard--legacy > .v2-dashboard-caption {
  margin: 0 0 16px;
}

.v2-console .v2-dashboard--legacy .v2-dashboard-empty {
  margin: 18px 0 6px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.v2-console .v2-dashboard--legacy .v2-dashboard-error {
  margin: 0 0 16px;
  padding: 12px 16px;
  border: 1px solid #ffb7af66;
  border-radius: 12px;
  color: #ffb7af;
  font-size: 0.82rem;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

/* The v2 console is dark even when the operating system uses a light appearance. */
.v2-console .v2-dashboard--legacy .fr-widget {
  --widget-bg: #1c1c1e;
  --widget-fill: rgba(120, 120, 128, 0.24);
  min-width: 0;
  color: var(--text);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.v2-console .v2-dashboard--legacy :is(
  .dashboard-block,
  .dashboard-row,
  .dashboard-grid-inner,
  .dashboard-head-weight-slot,
  .fr-widget-header,
  .fr-widget-body,
  .fr-metric,
  .fr-legend,
  .fr-legend-item,
  .fr-week-widget-split,
  .fr-body-metrics--split
) {
  min-width: 0;
}

.v2-console .v2-dashboard--legacy :is(
  .dashboard-athlete-name,
  .dashboard-athlete-age-birth,
  .dashboard-athlete-id,
  .fr-widget-title,
  .fr-widget-subtitle,
  .fr-metric strong,
  .fr-metric-label,
  .fr-goal-text,
  .fr-profile-list,
  .fr-body-metrics-line,
  .fr-stat-caption,
  .fr-empty,
  .fr-pace-zone-name,
  .fr-pulse-meta
) {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Date ranges and Russian subtitles must remain readable instead of being clamped. */
.v2-console .v2-dashboard--legacy .fr-widget-subtitle {
  display: block;
  -webkit-line-clamp: unset;
  overflow: visible;
}

.v2-console .v2-dashboard--legacy .fr-goal-text {
  white-space: pre-wrap;
}

.v2-console .v2-dashboard--legacy .fr-metric strong {
  overflow-wrap: normal;
  word-break: normal;
}

/* Keep the original pie/legend arrangement, allowing only crowded rows to wrap. */
.v2-console .v2-dashboard--legacy .fr-legend-item {
  flex-wrap: wrap;
  overflow-wrap: anywhere;
}

.v2-console .v2-dashboard--legacy .fr-legend-stats {
  min-width: 0;
  max-width: 100%;
  flex-shrink: 1;
  flex-wrap: wrap;
}

.v2-console .v2-dashboard--legacy .fr-legend-km-val {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.v2-console .v2-dashboard--legacy .fr-pulse-item {
  flex-wrap: wrap;
}

.v2-console .v2-dashboard--legacy .fr-pulse-meta {
  flex-basis: 120px;
}

.v2-console .v2-dashboard--legacy .fr-pulse-bpm {
  max-width: 100%;
  margin-left: auto;
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Tables scroll inside their own widget when all three columns cannot fit. */
.v2-console .v2-dashboard--legacy .fr-widget-body:has(> .fr-table) {
  overflow-x: auto;
  overscroll-behavior-x: contain;
}

.v2-console .v2-dashboard--legacy .fr-widget-body[tabindex]:focus-visible {
  outline: 2px solid #80bfff;
  outline-offset: 3px;
}

.v2-console .v2-dashboard--legacy .fr-table {
  min-width: 18rem;
}

.v2-console .v2-dashboard--legacy .fr-table:has(.fr-pace-zone) {
  min-width: 22rem;
}

.v2-console .v2-dashboard--legacy .fr-table :is(th, td) {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

.v2-console .v2-dashboard--legacy .fr-table tbody td:first-child:not(.num) {
  overflow-wrap: anywhere;
}

.v2-console .v2-dashboard--legacy .fr-table .num {
  white-space: nowrap;
  overflow-wrap: normal;
  word-break: normal;
}

.v2-console .v2-dashboard--legacy .fr-table :is(th + th, td + td) {
  padding-left: 12px;
}

.v2-console .v2-dashboard--legacy .fr-pace-zone {
  max-width: 100%;
}

.v2-console .v2-dashboard--legacy .fr-widget :is(button, select) {
  max-width: 100%;
}

.v2-console .v2-dashboard--legacy .fr-widget button {
  white-space: normal;
  overflow-wrap: anywhere;
}

/* Five cards share the row while each stays readable; a tighter dashboard wraps whole cards. */
.v2-console .v2-dashboard--legacy .dashboard-block--secondary > .dashboard-grid-inner {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  align-items: start;
  gap: 10px;
}
.v2-console .v2-dashboard--legacy .dashboard-block--secondary > .dashboard-grid-inner > .fr-widget {
  padding: 12px;
}
.v2-console .v2-dashboard--legacy .dashboard-block--secondary .fr-widget-header {
  gap: 8px;
  margin-bottom: 8px;
}
.v2-console .v2-dashboard--legacy .dashboard-block--secondary .fr-widget-icon {
  width: 32px;
  height: 32px;
}
.v2-console .v2-dashboard--legacy .dashboard-block--secondary .fr-widget-icon svg {
  width: 16px;
  height: 16px;
}
.v2-console .v2-dashboard--legacy .dashboard-block--secondary .fr-widget-title {
  font-size: .92rem;
}
.v2-console .v2-dashboard--legacy .dashboard-block--secondary :is(
  .fr-widget-title,
  .fr-widget-subtitle,
  .fr-pace-zone-name,
  .fr-pulse-meta
) {
  overflow-wrap: normal;
  word-break: normal;
}
.v2-console .v2-dashboard--legacy .dashboard-block--secondary .fr-table,
.v2-console .v2-dashboard--legacy .dashboard-block--secondary .fr-table:has(.fr-pace-zone) {
  min-width: 0;
}
.v2-console .v2-dashboard--legacy .fr-widget-drag {
  flex: 0 0 auto;
  width: 18px;
  height: 28px;
  margin: 0 0 0 -4px;
  padding: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  cursor: grab;
}
.v2-console .v2-dashboard--legacy .fr-widget-drag svg {
  width: 12px;
  height: 16px;
  display: block;
  margin: 0 auto;
}
.v2-console .v2-dashboard--legacy .fr-widget-drag:active { cursor: grabbing; }
.v2-console .v2-dashboard--legacy .fr-widget.is-dragging { opacity: .45; }
.v2-console .v2-dashboard--legacy .fr-widget.is-drop-target {
  outline: 2px solid var(--widget-accent);
  outline-offset: 2px;
}
@container v2-dashboard (max-width: 1180px) {
  .v2-console .v2-dashboard--legacy .dashboard-row--head-weight {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  }

  .v2-console .v2-dashboard--legacy .dashboard-head-goals {
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .v2-console .v2-dashboard--legacy .dashboard-athlete-head--side {
    grid-column: 1 / -1;
    flex-direction: row;
    align-self: auto;
    justify-content: flex-start;
    text-align: left;
  }
}

@container v2-dashboard (max-width: 1040px) {
  .v2-console .v2-dashboard--legacy .dashboard-row--head-weight {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }

  .v2-console .v2-dashboard--legacy .dashboard-athlete-head--side,
  .v2-console .v2-dashboard--legacy .dashboard-head-weight-slot,
  .v2-console .v2-dashboard--legacy .dashboard-head-goals {
    grid-column: 1 / -1;
  }
}

@container v2-dashboard (max-width: 720px) {
  .v2-console .v2-dashboard--legacy :is(
    .dashboard-row--head-weight,
    .dashboard-row--3,
    .dashboard-row--2
  ) {
    grid-template-columns: minmax(0, 1fr);
  }

  .v2-console .v2-dashboard--legacy .dashboard-head-goals {
    width: min(320px, 100%);
    min-width: 0;
    max-width: 100%;
  }

  .v2-console .v2-dashboard--legacy .dashboard-athlete-head--side {
    flex-direction: row;
    flex-wrap: wrap;
    align-self: auto;
    justify-content: flex-start;
    padding: 0 0 4px;
    text-align: left;
  }

  .v2-console .v2-dashboard--legacy .dashboard-athlete-head-text {
    flex: 1 1 140px;
  }

  .v2-console .v2-dashboard--legacy .profile-avatar-2xl {
    width: 108px;
    height: 108px;
    font-size: 2.15rem;
  }
}

@media (max-width: 520px) {
  .v2-console .v2-dashboard--legacy .dashboard-athlete-head--side {
    flex-wrap: wrap;
  }

  .v2-console .v2-dashboard--legacy .dashboard-athlete-head-text {
    flex: 1 1 140px;
  }

  .v2-console .v2-dashboard--legacy .fr-body-metrics-aside {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .v2-console .v2-dashboard--legacy .fr-body-metrics-chart {
    flex-basis: 100%;
  }
}
.v2-week-next-step { display: none; flex: 1 0 100%; margin: 0; font-size: .8rem; line-height: 1.45; color: var(--text-primary,#f5f5f7); }
.v2-week-toolbar:is([data-state="draft"],[data-state="pending"],[data-state="conflict"],[data-state="empty"]) .v2-week-next-step:not(:empty) { display: block; }
.v2-week-next-step:empty { display: none; }
.v2-week-saved-at { margin: 0; color: var(--text-secondary,#b4b4bc); font-size: 12px; }
.v2-console .v2-week-state { flex: 1 1 auto; gap: 8px 10px; min-height: 34px; }
.v2-console .v2-week-state > .v2-week-status { flex: 0 1 auto; }
.v2-console .v2-week-state > [data-action="save-plan"] { margin-left: auto; }
.v2-console .v2-week-state > [data-action="discard-plan"]:not([hidden]) { margin-left: auto; }
.v2-console .v2-week-state > [data-action="discard-plan"]:not([hidden]) + [data-action="save-plan"] { margin-left: 0; }
.v2-plan-delivery { position: relative; min-width: 0; max-width: 100%; }
.v2-plan-delivery__details { position: relative; }
.v2-plan-delivery__summary { position: relative; display: flex; align-items: center; gap: 7px; padding: 7px 36px 7px 10px; border: 1px solid var(--v2-separator); border-radius: 8px; cursor: pointer; list-style: none; }
.v2-plan-delivery__summary::-webkit-details-marker { display: none; }
.v2-plan-delivery__summary::before { content: ''; flex: 0 0 5px; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
.v2-plan-delivery__summary::after { content: ''; position: absolute; right: 18px; top: 50%; width: 5px; height: 5px; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-65%) rotate(45deg); }
.v2-plan-delivery__details[open] > summary::after { transform: translateY(-20%) rotate(225deg); }
.v2-plan-delivery__summary:focus-visible { outline: 2px solid #91c8ff; outline-offset: 3px; }
.v2-plan-delivery__title { font-size: 12px; font-weight: 500; line-height: 1.4; }
.v2-plan-delivery__body { position: absolute; top: calc(100% + 8px); left: 0; z-index: 40; width: min(330px, 80vw); padding: 14px; border: 1px solid #8bb5df55; border-radius: 12px; background: var(--card); box-shadow: 0 12px 36px #0007; }
.v2-plan-delivery__details:not([open]) > .v2-plan-delivery__body { display: none; }
.v2-plan-delivery__caption { margin: 0 0 8px; font-size: 11px; color: var(--v2-secondary); }
.v2-plan-delivery__hint { margin: 0; font-size: 13px; line-height: 1.55; color: var(--text); overflow-wrap: anywhere; }
.v2-plan-delivery__time { margin: 8px 0 0; font-size: 12px; color: var(--v2-secondary); }
.v2-plan-delivery__body > button { margin-top: 12px; }
@media(max-width: 700px) {
  .v2-console .v2-week-state > .v2-week-status { flex-basis: auto; }
  .v2-plan-delivery__body { position: static; width: 100%; max-width: 330px; margin-top: 8px; box-shadow: none; }
}

/* One inset for every single-line select, including modal/constructor fields.
   Field-specific background shorthands must not erase this decorative layer.
   Multi-selects and visible listboxes keep their native presentation. */
.v2-console select:not([multiple]):not([size]),
.v2-console select:not([multiple])[size="0"],
.v2-console select:not([multiple])[size="1"] {
  box-sizing: border-box;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23b7c5d5' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 18px center !important;
  background-size: 12px 12px !important;
  padding-right: 44px !important;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Calm dark surfaces, with color reserved for navigation, workout kinds and facts. */
.v2-console {
  --bg: #10151d;
  --card: #1a232e;
  --ios-fill: #263344;
  --v2-secondary: #b7c5d5;
  --v2-separator: #94b7dc26;
  --v2-blue: #91c8ff;
  --v2-blue-soft: #75b7ff16;
  --v2-mint: #85e0c4;
  --v2-mint-soft: #5ed5b416;
  --v2-amber: #f4c17d;
  --v2-amber-soft: #edaf5b16;
}
.v2-console .sidebar { background: #121c28; }
.v2-console .v2-roster { border-color: #8db8e733; background: #172332; }
.v2-roster-head-actions { display: flex; align-items: center; gap: 5px; }
.v2-roster-head-actions > .btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; min-height: 32px; padding: 0; border-radius: 9px; }
.v2-roster-refresh:focus-visible { outline: 2px solid #91c8ff; outline-offset: 3px; }
.v2-roster-actions:has(> button[hidden]) { display: none; }
.v2-console .v2-athlete-item.is-active { background: var(--accent-soft); border-color: var(--accent); }
.v2-console .ios-nav-eyebrow { color: var(--v2-blue); letter-spacing: .08em; }
.v2-console .v2-workspace-tabs { width: fit-content; padding: 5px; border: 1px solid var(--v2-separator); border-radius: 14px; background: #17212e; }
.v2-console .v2-workspace-tab { min-height: 40px; color: #bed1e5; }
.v2-console .v2-workspace-tab[aria-selected="true"] { color: #e0efff; background: #285482; border-color: #71b3fa66; box-shadow: 0 2px 8px #0002; }
.v2-console .btn.primary:not(:disabled) { color: #071b2e; background: #8bc5ff; border-color: #b5dafe; box-shadow: 0 3px 12px #71b3fa22; }
.v2-console .btn.primary:not(:disabled):hover { background: #afd7ff; }
.v2-console .btn.primary:disabled { color: #9aabc0; background: #263c55; border-color: #6c9dce33; box-shadow: none; opacity: .8; }
.v2-console .btn.ghost:not(:disabled):hover { color: #e0efff; background: #78b5ff13; border-color: #85baff66; }
.v2-console :is(input, textarea, select):not(:disabled):focus-visible { border-color: #91c8ff; background-color: #1b2c40; }
.v2-console .v2-week-toolbar { border-color: #78b5ff40; }
.v2-console .v2-plan-header h2 { padding-left: 12px; border-left: 3px solid #7dbbff; }
.v2-console .v2-plan-date { background-color: #21364e; border-color: #7dbbff55; }
.v2-console .v2-week-next-step { color: #d5e9ff; }
.v2-console .v2-week-toolbar[data-state="saved"] .v2-week-status { color: var(--v2-mint); }
.v2-console .v2-week-toolbar[data-state="saved"] .v2-week-status::before { content: '✓ '; }
.v2-console .v2-week-toolbar:is([data-state="draft"], [data-state="pending"], [data-state="conflict"]) { border-color: #eeb96c80; }
.v2-console .v2-week-toolbar:is([data-state="draft"], [data-state="pending"], [data-state="conflict"]) .v2-week-next-step { color: #ffdda8; }
.v2-console .v2-week-toolbar:is([data-state="draft"], [data-state="pending"], [data-state="conflict"]) .v2-week-status { color: var(--v2-amber); }
.v2-console .v2-week-toolbar[data-state="error"] { border-color: #ef9b9680; }
.v2-console .v2-plan-delivery { align-self: center; padding: 0; border: 0; background: transparent; }
.v2-console .v2-plan-delivery__summary { color: #b4c7dc; background: #78b5ff08; }
.v2-console .v2-plan-delivery__summary:hover { background: #78b5ff16; border-color: #8bb5df66; }
.v2-console .v2-plan-delivery[data-delivery-state="applied"] .v2-plan-delivery__summary { color: var(--v2-mint); background: var(--v2-mint-soft); }
.v2-console .v2-plan-delivery:is([data-delivery-state="outdated"], [data-delivery-state="error"], [data-delivery-state="disconnected"], [data-delivery-state="draft"]) .v2-plan-delivery__summary { color: var(--v2-amber); background: var(--v2-amber-soft); }
.v2-console .v2-week-insights .fr-legend-item { flex-wrap: wrap; overflow-wrap: anywhere; }
.v2-console .v2-week-insights .fr-legend-stats { min-width: 0; max-width: 100%; flex-shrink: 1; flex-wrap: wrap; }
.v2-console .v2-week-insights .fr-metric strong { overflow-wrap: normal; word-break: normal; }
.v2-console .v2-week-meta { background: #192638; border-color: #7aaee23b; }
.v2-console .v2-week-volume__title { color: #d0e7ff; }
.v2-console .v2-week-volume__hint { color: #c2cfe0; }
.v2-console .v2-week-day { background: #141e29; border-color: #9bb8d825; }
.v2-console .v2-week-day[data-weekend="true"] h3 { color: #efbaae; }
.v2-console .v2-week-day[data-today="true"] { background: #18293b; border-color: #78b5ff80; box-shadow: inset 0 3px #80beff; }
.v2-console .v2-week-day[data-today="true"] h3, .v2-console .v2-week-day[data-today="true"] .v2-week-day__date { color: #b8dcff; }
.v2-console .v2-week-day__add { color: #c9e4ff; background: #284461; border-color: #8ec6ff33; }
.v2-console .v2-week-day__add:not(:disabled):hover { color: #071b2e; background: #91c8ff; }
.v2-console .v2-workout-preview { --workout-accent: #bbcede; --workout-tint: #a1bad51a; background: #1e2937; border-color: #b8cce033; border-left-color: var(--workout-accent); }
.v2-console .v2-workout-preview[data-kind="running"] { --workout-accent: #86e1c9; --workout-tint: #6bd6b51c; background: #1a2d2d; }
.v2-console .v2-workout-preview[data-kind="strength"] { --workout-accent: #f2c282; --workout-tint: #efb25f20; background: #2d2822; }
.v2-console .v2-workout-preview[data-kind="ofp"] { --workout-accent: #a4c7ff; --workout-tint: #85afff20; background: #202b40; }
.v2-console .v2-workout-preview[data-kind="rest"] { --workout-accent: #99adbf; --workout-tint: #a1bad50c; background: transparent; border-style: dashed; }
.v2-console .v2-workout-preview__type { display: inline-flex; align-items: center; gap: 6px; justify-self: start; max-width: 100%; padding: 0; color: var(--workout-accent); background: none; font-size: .78rem; line-height: 1.3; font-weight: 650; white-space: nowrap; }
.v2-console .v2-workout-preview__metrics { font-weight: 600; color: #f0f5fc; }
.v2-console .v2-workout-preview__status { display: inline-flex; align-items: center; gap: 6px; justify-self: start; padding: 0; color: #bfddff; background: none; font-size: .72rem; }
.v2-workout-preview__report { display: inline-flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.v2-workout-preview__report > .v2-icon:last-child { width: 12px; height: 12px; margin-left: auto; }
.v2-console .v2-workout-preview[data-state="done"] .v2-workout-preview__status { color: #a0efce; background: none; }
.v2-console .v2-workout-preview[data-state="planned"] .v2-workout-preview__source { color: #aebdd0; }
.v2-console .v2-workout-preview__edit, .v2-console .v2-workout-move__handle, .v2-console .v2-workout-copy__handle { color: #bed8f1; }
.v2-console .v2-workout-preview__edit:hover, .v2-console .v2-workout-move__handle:not(:disabled):hover,
.v2-console .v2-workout-copy__handle:not(:disabled):hover { color: #eef7ff; }
.v2-console .v2-profile-summary { border-color: #83baff55; background: #192a3c; }
.v2-console .v2-profile-metric dd { color: #c2e0ff; }
.v2-console .v2-profile-editor { border-top: 2px solid #8ec5ff; }
.v2-console .v2-profile-editor:nth-child(2) { border-top-color: var(--v2-mint); }
.v2-console .v2-stats-table thead th { color: #c5ddf7; background: #21364b; }
.v2-console .v2-stats-table tbody tr:hover { background: #80b8ff0b; }
.v2-console .main .v2-stats-range-btn.btn.is-active,
.v2-console .main .v2-stats-mode-btn.btn.is-active,
.v2-console .main .v2-stats-range-btn.btn[aria-pressed="true"],
.v2-console .main .v2-stats-mode-btn.btn[aria-pressed="true"],
.v2-console .main .v2-stats-range-btn.btn.is-active:hover,
.v2-console .main .v2-stats-mode-btn.btn.is-active:hover {
  background: #6d6af2; color: #fff; border-color: transparent; box-shadow: none;
}
.v2-console .v2-stats-mode-btn,
.v2-console .v2-stats-nav__title { min-width: max-content; overflow: visible; }
.v2-console .v2-stats-body { display: grid; gap: 22px; }
.v2-console .v2-stats-totals .v2-stats-metric { padding: 12px; border-radius: 10px; background: var(--v2-blue-soft); }
.v2-console .v2-stats-totals .v2-stats-metric dd { color: #b7dbff; }
.v2-console .v2-dashboard--legacy .fr-widget { border-top: 2px solid var(--widget-accent); }
.v2-console .v2-dashboard--legacy .fr-widget-icon { border: 1px solid color-mix(in srgb, var(--widget-accent) 45%, transparent); }
.v2-console .health-report-shell[data-report-kind="strength"] .health-report-shell-head { border-bottom: 2px solid #e6b46e66; background: #2b271f; }
.v2-console .strength-report__summary > div { background: #192d38; border-color: #87c9d83b; }
.v2-console .strength-report__summary dd { color: #a0e5d5; }
.v2-console .strength-report thead th { color: #aebfd1; background: transparent; font-size: .67rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; }
.v2-console .strength-report [data-tone="lower"] { background: #f3bc6d0c; }
@media (prefers-reduced-motion: no-preference) {
  .v2-console :is(.btn, .v2-workspace-tab, .v2-workout-preview, .v2-week-day__add) { transition: background-color .16s ease, border-color .16s ease, box-shadow .16s ease; }
}
@media (max-width: 560px) { .v2-console .v2-week-insights { gap: 8px; } }
.v2-console [data-v2-avatar] { overflow: hidden; flex-shrink: 0; }
.v2-console [data-v2-avatar] > img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.v2-athlete-source-name { margin: 6px 0; color: var(--v2-secondary); font-size: .8rem; line-height: 1.4; overflow-wrap: anywhere; }
button.v2-athlete-source-name { display: flex; flex-direction: column; align-items: flex-start; width: max-content; max-width: min(42rem, 100%); padding: 0; border: 0; background: none; box-shadow: none; font: inherit; font-size: .8rem; text-align: left; cursor: pointer; appearance: none; }
button.v2-athlete-source-name[hidden] { display: none; }
button.v2-athlete-source-name:hover .v2-athlete-source-name__label, button.v2-athlete-source-name:focus-visible .v2-athlete-source-name__label { text-decoration: underline; text-underline-offset: 3px; }
.v2-athlete-source-name__detail { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; max-width: 42rem; margin-top: 2px; white-space: pre-wrap; }

/* The roster is a floating glass selector, so the week can use the full width. */
.v2-console .app-shell { grid-template-columns: minmax(0, 1fr); }
.v2-console .main { padding-top: 76px; }
.v2-console .sidebar.v2-athlete-dock {
  position: fixed; z-index: 40; top: 14px; left: 16px; width: max-content; max-width: calc(100vw - 32px);
  padding: 0; gap: 0; background: transparent; border: 0; box-shadow: none; overflow: visible; max-height: none;
}
.v2-athlete-dock__bar, .v2-athlete-dock__panel {
  color: var(--text); border: 1px solid rgba(255, 255, 255, .18);
  background: color-mix(in srgb, #1a2838 46%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(1.7); backdrop-filter: blur(22px) saturate(1.7);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .38), inset 0 1px 0 rgba(255, 255, 255, .22);
}
.v2-athlete-dock__bar {
  display: flex; align-items: center; gap: 2px; max-width: 100%; min-width: 0;
  padding: 5px; border-radius: 18px;
}
.v2-athlete-dock__trigger {
  display: flex; align-items: center; gap: 10px; min-height: 40px; max-width: 100%;
  padding: 2px 10px 2px 2px; border: 0; border-radius: 14px; background: transparent; box-shadow: none;
  font: inherit; cursor: pointer; text-align: left; appearance: none; -webkit-appearance: none;
}
.v2-athlete-dock__trigger:hover { background: rgba(255, 255, 255, .07); }
.v2-athlete-dock__trigger:focus-visible { outline: 2px solid #91c8ff; outline-offset: 3px; }
.v2-athlete-dock__trigger[aria-expanded="true"] { border-color: rgba(145, 200, 255, .7); }
.v2-athlete-dock__avatar {
  width: 36px; height: 36px; border-radius: 50%; display: inline-grid; place-items: center;
  background: var(--accent); color: #101113; font-size: .85rem; font-weight: 700; line-height: 1;
}
.v2-athlete-dock__copy { display: grid; min-width: 0; }
.v2-athlete-dock__name, .v2-athlete-dock__meta { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-athlete-dock__name { max-width: 180px; font-size: .92rem; font-weight: 650; letter-spacing: -.01em; }
.v2-athlete-dock__meta { max-width: 180px; color: #b7cbe2; font-size: .72rem; }
.v2-athlete-dock__chevron { width: 7px; height: 7px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); }
.v2-athlete-dock__trigger[aria-expanded="true"] .v2-athlete-dock__chevron { transform: rotate(225deg) translateY(-1px); }
.v2-athlete-dock__panel {
  position: absolute; top: calc(100% + 8px); left: 0; display: grid; gap: 10px; width: min(340px, calc(100vw - 32px));
  max-height: min(70vh, 560px); overflow: auto; padding: 12px; border-radius: 18px;
}
.v2-athlete-dock__panel[hidden] { display: none !important; }
.v2-athlete-dock .v2-roster { margin: 0; padding: 0; background: transparent; border: 0; box-shadow: none; }
.v2-athlete-dock .v2-roster .panel-title { margin-bottom: 0; }
.v2-athlete-dock .athlete-list { max-height: min(42vh, 320px); background: rgba(8, 14, 22, .35); }
.v2-athlete-dock .v2-settings-open { margin-top: 0; }
.v2-athlete-dock .v2-workspace-tabs {
  position: static; top: auto; z-index: auto; width: auto; max-width: none; min-width: 0;
  margin: 0; padding: 0 0 0 6px; overflow-x: auto; border: 0; border-radius: 0; background: transparent;
  border-left: 1px solid rgba(255, 255, 255, .16); box-shadow: none;
}
.v2-athlete-dock .v2-workspace-tab { min-height: 36px; padding: 8px 14px; border-radius: 12px; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .v2-athlete-dock__bar, .v2-athlete-dock__panel { background: #1a2838f2; }
}
.v2-periodization { display: grid; gap: 12px; margin: 18px 0 8px; padding: 14px 16px 16px; border: 1px solid var(--v2-separator, rgba(127, 127, 127, .28)); border-radius: 18px; }
.v2-periodization-head, .v2-periodization-actions, .v2-periodization-presets, .v2-periodization-library, .v2-periodization-hide, .v2-periodization-stage-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.v2-periodization-head { justify-content: space-between; align-items: flex-start; }
.v2-periodization-heading { display: grid; gap: 2px; min-width: 0; }
.v2-periodization-title { margin: 0; font-size: 1rem; }
.v2-periodization-status, .v2-periodization-dates, .v2-periodization-caption { margin: 0; color: var(--muted, #8ea0b5); font-size: .8rem; }
.v2-periodization-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 180px)); gap: 8px; justify-content: start; }
.v2-periodization-label { display: grid; gap: 4px; min-width: 0; font-size: .72rem; color: var(--muted, #8ea0b5); }
.v2-periodization-input, .v2-periodization-label input, .v2-periodization-label select, .v2-periodization-stage input, .v2-periodization-stage select, .v2-periodization-stage textarea { width: 100%; min-width: 0; border: 1px solid var(--v2-separator, rgba(127, 127, 127, .35)); border-radius: 10px; background: transparent; color: inherit; padding: 7px 10px; }
.v2-periodization-chip { border-radius: 999px; min-height: 0; padding: 4px 10px; }
.v2-periodization-more { margin-left: auto; }
.v2-periodization-more summary { cursor: pointer; color: var(--muted, #8ea0b5); font-size: .8rem; }
.v2-periodization-more-body { display: grid; gap: 8px; padding-top: 8px; }
.v2-periodization-library input { flex: 1 1 160px; }
.v2-periodization-bar { display: flex; height: 8px; overflow: hidden; border-radius: 999px; background: rgba(127, 127, 127, .16); }
.v2-periodization-bar:empty { display: none; }
.v2-periodization-bar > span { min-width: 4px; }
.v2-periodization-stage { display: grid; grid-template-columns: 18px minmax(10rem, 16rem) 3.6rem 5.6rem max-content auto; gap: 8px 10px; align-items: center; justify-content: start; padding: 8px 0; border-top: 1px solid var(--v2-separator, rgba(127, 127, 127, .16)); }
.v2-periodization-stage input[type="number"] { text-align: center; }
.v2-periodization-stage select { padding-left: 8px; padding-right: 2px; }
.v2-periodization-stage textarea { grid-column: 1 / -1; min-height: 52px; resize: vertical; }
.v2-periodization-stage textarea[hidden] { display: none; }
.v2-periodization-dates { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.v2-periodization-swatch { width: 14px; height: 14px; padding: 0; border: 0; border-radius: 999px; background: currentColor; cursor: pointer; }
.v2-periodization-quiet { min-height: 0; padding: 2px 7px; color: var(--muted, #8ea0b5); }
.v2-periodization-quiet[data-filled] { color: inherit; }
.v2-periodization-add { justify-self: start; }
.v2-periodization-error:empty { display: none; }
@media (max-width: 860px) {
  .v2-periodization-fields { grid-template-columns: 1fr; }
  .v2-periodization-stage { grid-template-columns: 18px minmax(0, 1fr) auto; }
  .v2-periodization-stage .v2-periodization-dates { grid-column: 2 / -1; }
}
