/* Shared store task workspace. All rules are scoped to its native dialog. */
html body dialog#racingStoreTasks.rst {
  --rst-surface: #0b182b;
  --rst-soft: #12243a;
  --rst-raised: #102035;
  --rst-ink: #edf4ff;
  --rst-muted: #a9bad0;
  --rst-line: #2b425d;
  --rst-accent: #78bdff;
  --rst-accent-soft: #143452;
  --rst-solid: #1475dd;
  --rst-green: #76e0b4;
  --rst-green-soft: #133b34;
  --rst-red: #ffaaa6;
  --rst-red-soft: #412529;
  --rst-amber: #edce8e;
  --rst-amber-soft: #3b3324;
  position: fixed !important;
  inset: 0 !important;
  z-index: 20000;
  width: min(1220px, calc(100vw - 48px)) !important;
  max-width: none !important;
  max-height: calc(100dvh - 48px) !important;
  height: auto !important;
  margin: auto !important;
  padding: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--rst-line) !important;
  border-radius: 22px !important;
  color: var(--rst-ink) !important;
  background: var(--rst-surface) !important;
  box-shadow: 0 32px 120px #0007 !important;
  font: 400 14px/1.5 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  text-align: left !important;
  color-scheme: dark;
}
html body dialog#racingStoreTasks.rst:not([open]) { display: none !important; }
html body dialog#racingStoreTasks.rst[open] { display: block !important; }
html body dialog#racingStoreTasks.rst::backdrop { background: #020b19b8; backdrop-filter: blur(6px); }
html:is([data-theme="light"],[data-visual-theme="light"],[data-theme="pink"],[data-visual-theme="pink"],[data-theme="lilac"],[data-visual-theme="lilac"]) body dialog#racingStoreTasks.rst {
  --rst-surface: #fff;
  --rst-soft: #f3f7fc;
  --rst-raised: #fff;
  --rst-ink: #16263b;
  --rst-muted: #53667e;
  --rst-line: #d7e2ef;
  --rst-accent: #1261b5;
  --rst-accent-soft: #e8f2ff;
  --rst-solid: #116acf;
  --rst-green: #167747;
  --rst-green-soft: #eaf7ef;
  --rst-red: #b5303b;
  --rst-red-soft: #fff0f0;
  --rst-amber: #8f6012;
  --rst-amber-soft: #fff7e3;
  color-scheme: light;
}
html body #racingStoreTasks.rst *, html body #racingStoreTasks.rst *::before, html body #racingStoreTasks.rst *::after { box-sizing: border-box; }
html body #racingStoreTasks.rst :is(h2,h3,h4,p,small,strong,b,span,div,label,dt,dd,li,button,input,select,textarea) {
  -webkit-text-fill-color: currentColor !important;
  text-shadow: none !important;
  letter-spacing: normal;
}
html body #racingStoreTasks.rst :is(h2,h3,h4,p,dl,dd,ol,fieldset) { margin: 0; }
html body #racingStoreTasks.rst :is(h2,h3,h4,strong,b) { color: var(--rst-ink) !important; font-weight: 750; }
html body #racingStoreTasks.rst h2 { font-size: 28px !important; line-height: 1.2 !important; letter-spacing: -.65px; }
html body #racingStoreTasks.rst h3 { font-size: 16px !important; line-height: 1.4 !important; }
html body #racingStoreTasks.rst h4 { font-size: 13px !important; line-height: 1.5 !important; }
html body #racingStoreTasks.rst :is(p,small,dt) { color: var(--rst-muted) !important; }
html body #racingStoreTasks.rst p { font-size: 14px; line-height: 1.55; }
html body #racingStoreTasks.rst svg { width: 20px !important; height: 20px !important; flex-shrink: 0; display: inline-block; color: currentColor !important; vertical-align: middle; }
html body #racingStoreTasks.rst :is(button,input,select,textarea) {
  min-width: 0 !important;
  max-width: 100%;
  min-height: 42px;
  height: auto;
  margin: 0;
  padding: 9px 13px !important;
  border: 1px solid var(--rst-line) !important;
  border-radius: 10px !important;
  color: var(--rst-ink) !important;
  background: var(--rst-soft) !important;
  box-shadow: none !important;
  font: 600 13px/1.4 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif !important;
  text-transform: none !important;
  text-align: left;
}
html body #racingStoreTasks.rst button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; cursor: pointer; white-space: normal; transition: border-color .16s, background .16s; }
html body #racingStoreTasks.rst button:hover:not(:disabled) { border-color: var(--rst-accent) !important; }
html body #racingStoreTasks.rst button:disabled { cursor: wait; opacity: .55; }
html body #racingStoreTasks.rst :is(button,input,select,textarea):focus-visible { outline: 3px solid var(--rst-accent); outline-offset: 3px; }
html body #racingStoreTasks.rst :is(input,select,textarea) { width: 100%; font-weight: 500 !important; }
html body #racingStoreTasks.rst input::placeholder, html body #racingStoreTasks.rst textarea::placeholder { color: var(--rst-muted) !important; opacity: .8; }
html body #racingStoreTasks.rst input[type="checkbox"] { appearance: auto !important; width: 18px !important; height: 18px; min-height: 0; flex-shrink: 0; accent-color: var(--rst-solid); padding: 0 !important; }
html body #racingStoreTasks.rst .rst-primary { color: #fff !important; background: var(--rst-solid) !important; border-color: var(--rst-solid) !important; }
html body #racingStoreTasks.rst .rst-primary strong { color: #fff !important; }
html body #racingStoreTasks.rst .rst-icon-button { width: 42px !important; height: 42px !important; padding: 10px !important; flex-shrink: 0; }
html body #racingStoreTasks.rst .rst-shell { display: flex; flex-direction: column; max-height: calc(100dvh - 50px); min-height: 400px; }
html body #racingStoreTasks.rst .rst-header { padding: 25px 30px 23px; display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; flex-shrink: 0; border-bottom: 1px solid var(--rst-line); background: var(--rst-surface); }
html body #racingStoreTasks.rst .rst-heading { display: flex; align-items: center; gap: 16px; min-width: 0; }
html body #racingStoreTasks.rst .rst-heading > div { min-width: 0; }
html body #racingStoreTasks.rst .rst-heading-icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; color: var(--rst-accent); border: 1px solid var(--rst-line); border-radius: 16px; background: var(--rst-accent-soft); }
html body #racingStoreTasks.rst .rst-heading-icon svg { width: 28px !important; height: 28px !important; }
html body #racingStoreTasks.rst .rst-eyebrow { margin-bottom: 5px; font-size: 10px !important; line-height: 1.4; font-weight: 750; text-transform: uppercase; letter-spacing: 1.2px; overflow-wrap: anywhere; }
html body #racingStoreTasks.rst .rst-subtitle { margin-top: 6px; font-size: 13px; }
html body #racingStoreTasks.rst .rst-body { padding: 24px 30px 20px; overflow-y: auto; overscroll-behavior: contain; min-height: 0; scrollbar-gutter: stable; }
html body #racingStoreTasks.rst .rst-toolbar, html body #racingStoreTasks.rst .rst-date-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
html body #racingStoreTasks.rst .rst-toolbar { margin-bottom: 24px; }
html body #racingStoreTasks.rst .rst-toolbar-actions { display: flex; align-items: center; gap: 9px; }
html body #racingStoreTasks.rst .rst-tabs { display: flex; gap: 4px; padding: 4px; background: var(--rst-soft); border: 1px solid var(--rst-line); border-radius: 12px; }
html body #racingStoreTasks.rst .rst-tabs button { min-height: 34px; background: transparent !important; border-color: transparent !important; color: var(--rst-muted) !important; }
html body #racingStoreTasks.rst .rst-tabs button[aria-pressed="true"] { background: var(--rst-raised) !important; border-color: var(--rst-line) !important; color: var(--rst-accent) !important; box-shadow: 0 1px 3px #0000000a !important; }
html body #racingStoreTasks.rst .rst-date-controls { display: flex; align-items: center; gap: 8px; min-width: 0; }
html body #racingStoreTasks.rst .rst-date-controls > .rst-icon-button { width: 34px !important; height: 34px !important; min-height: 34px; padding: 7px !important; background: transparent !important; }
html body #racingStoreTasks.rst .rst-date-picker { position: relative; display: flex; align-items: center; min-width: 140px; cursor: pointer; }
html body #racingStoreTasks.rst .rst-date-picker input { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
html body #racingStoreTasks.rst .rst-date-picker input::-webkit-calendar-picker-indicator { position: absolute; inset: 0; width: 100%; height: 100%; cursor: pointer; }
html body #racingStoreTasks.rst .rst-date-picker:focus-within { outline: 2px solid var(--rst-accent); outline-offset: 5px; border-radius: 3px; }
html body #racingStoreTasks.rst .rst-date-heading { font-size: 16px; font-weight: 700; color: var(--rst-ink); }
html body #racingStoreTasks.rst .rst-range { padding: 3px; }
html body #racingStoreTasks.rst .rst-range button { min-height: 30px; padding: 6px 13px !important; }
html body #racingStoreTasks.rst .rst-summary { display: grid; grid-template-columns: 1.55fr repeat(3, 1fr); gap: 12px; margin: 20px 0 24px; }
html body #racingStoreTasks.rst .rst-progress-card { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 20px 20px 27px; border: 1px solid var(--rst-line); border-radius: 15px; background: var(--rst-accent-soft); overflow: hidden; }
html body #racingStoreTasks.rst .rst-progress-card > div:first-child { display: flex; flex-direction: column; gap: 2px; }
html body #racingStoreTasks.rst .rst-kpi-label { font-size: 11px; font-weight: 700; color: var(--rst-muted); }
html body #racingStoreTasks.rst .rst-progress-card strong { font-size: 32px; line-height: 1.35; letter-spacing: -1px; }
html body #racingStoreTasks.rst .rst-progress-card strong small { font-size: 20px; font-weight: 500; }
html body #racingStoreTasks.rst .rst-muted { color: var(--rst-muted) !important; font-size: 12px; }
html body #racingStoreTasks.rst .rst-progress-ring { width: 67px; height: 67px; display: grid; place-items: center; flex-shrink: 0; border-radius: 50%; background: conic-gradient(var(--rst-solid) var(--rst-progress), var(--rst-line) 0); }
html body #racingStoreTasks.rst .rst-progress-ring span { display: grid; place-items: center; width: 55px; height: 55px; background: var(--rst-accent-soft); border-radius: 50%; font-size: 13px; font-weight: 750; color: var(--rst-ink); }
html body #racingStoreTasks.rst .rst-progress-track { position: absolute; height: 3px; width: 100%; bottom: 0; left: 0; background: var(--rst-line); }
html body #racingStoreTasks.rst .rst-progress-track span { display: block; height: 100%; background: var(--rst-solid); }
html body #racingStoreTasks.rst .rst-stat { display: grid; grid-template-columns: 1fr auto; gap: 8px; align-content: center; justify-items: start; padding: 20px !important; background: var(--rst-raised) !important; border-radius: 15px !important; }
html body #racingStoreTasks.rst .rst-stat .rst-stat-icon { grid-column: 2; grid-row: 1 / 3; align-self: center; display: grid; place-items: center; width: 38px; height: 38px; border-radius: 12px; background: var(--rst-soft); color: var(--rst-accent); }
html body #racingStoreTasks.rst .rst-stat strong { font-size: 30px; line-height: 1.1; }
html body #racingStoreTasks.rst .rst-stat > span:last-child { font-weight: 500; color: var(--rst-muted); font-size: 12px; }
html body #racingStoreTasks.rst .rst-overdue-stat .rst-stat-icon { color: var(--rst-red); background: var(--rst-red-soft); }
html body #racingStoreTasks.rst .rst-filters { display: grid; grid-template-columns: minmax(180px, 1fr) minmax(130px, 180px) minmax(140px, 220px); align-items: end; gap: 12px; padding: 17px; border: 1px solid var(--rst-line); border-radius: 14px; background: var(--rst-soft); margin-bottom: 18px; }
html body #racingStoreTasks.rst .rst-search { display: flex; align-items: center; gap: 8px; padding: 0 12px; border: 1px solid var(--rst-line); border-radius: 9px; color: var(--rst-muted); background: var(--rst-surface); }
html body #racingStoreTasks.rst .rst-search input { padding-left: 0 !important; border: none !important; background: transparent !important; }
html body #racingStoreTasks.rst .rst-search:focus-within { outline: 2px solid var(--rst-accent); outline-offset: 2px; }
html body #racingStoreTasks.rst .rst-search input:focus-visible { outline: none; }
html body #racingStoreTasks.rst .rst-select-label { display: flex; flex-direction: column; gap: 5px; }
html body #racingStoreTasks.rst .rst-select-label > span { color: var(--rst-muted); font-size: 10px; font-weight: 700; }
html body #racingStoreTasks.rst .rst-select-label select { background: var(--rst-surface) !important; }
html body #racingStoreTasks.rst .rst-list-caption { display: flex; justify-content: space-between; gap: 16px; color: var(--rst-muted); font-size: 11px; padding: 0 4px 10px; }
html body #racingStoreTasks.rst .rst-task { border: 1px solid var(--rst-line); border-radius: 13px; margin-bottom: 10px; overflow: hidden; background: var(--rst-raised); }
html body #racingStoreTasks.rst .rst-task.is-overdue { border-left: 3px solid var(--rst-red); }
html body #racingStoreTasks.rst .rst-task-main { display: grid; grid-template-columns: 95px minmax(0, 1fr) auto; gap: 17px; padding: 18px; align-items: center; }
html body #racingStoreTasks.rst .rst-task-time { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 0; border-right: 1px solid var(--rst-line); padding-right: 17px; }
html body #racingStoreTasks.rst .rst-task-time strong { font-size: 11px; white-space: nowrap; }
html body #racingStoreTasks.rst .rst-task-check { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--rst-muted); background: var(--rst-soft); }
html body #racingStoreTasks.rst .rst-task-check.is-complete { background: var(--rst-green-soft); color: var(--rst-green); }
html body #racingStoreTasks.rst .rst-task-check svg { width: 16px !important; height: 16px !important; }
html body #racingStoreTasks.rst .rst-overdue-text { color: var(--rst-red); font-size: 10px; font-weight: 700; }
html body #racingStoreTasks.rst .rst-task-content { min-width: 0; }
html body #racingStoreTasks.rst .rst-task-title-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
html body #racingStoreTasks.rst .rst-task-title-row h3 { overflow-wrap: anywhere; font-size: 15px !important; }
html body #racingStoreTasks.rst .is-complete .rst-task-title-row h3 { color: var(--rst-muted) !important; }
html body #racingStoreTasks.rst .rst-priority { display: inline-flex; gap: 5px; align-items: center; font-size: 9px; font-weight: 650; text-transform: capitalize; color: var(--rst-muted); background: var(--rst-soft); border-radius: 5px; padding: 3px 6px; }
html body #racingStoreTasks.rst .rst-priority::before { content: ''; width: 4px; height: 4px; background: currentColor; border-radius: 50%; }
html body #racingStoreTasks.rst .rst-priority[data-priority="high"] { color: var(--rst-red); background: var(--rst-red-soft); }
html body #racingStoreTasks.rst .rst-priority[data-priority="medium"] { color: var(--rst-amber); background: var(--rst-amber-soft); }
html body #racingStoreTasks.rst .rst-task-description { font-size: 12px; margin-top: 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
html body #racingStoreTasks.rst .rst-task-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 10px; }
html body #racingStoreTasks.rst .rst-assignee { display: inline-flex; align-items: center; gap: 7px; min-width: 0; font-size: 11px; font-weight: 650; color: var(--rst-ink); overflow-wrap: anywhere; }
html body #racingStoreTasks.rst .rst-avatar { width: 24px; height: 24px; flex-shrink: 0; display: grid; place-items: center; border-radius: 50%; background: var(--rst-accent-soft); color: var(--rst-accent); font-size: 9px; font-weight: 750; }
html body #racingStoreTasks.rst .rst-chip { display: inline-flex; align-items: center; gap: 5px; padding: 3px 7px; border: 1px solid var(--rst-line); border-radius: 6px; font-size: 10px; line-height: 1.4; font-weight: 500; color: var(--rst-muted); }
html body #racingStoreTasks.rst .rst-chip svg { width: 12px !important; height: 12px !important; }
html body #racingStoreTasks.rst .rst-status { font-size: 10px; font-weight: 650; color: var(--rst-muted); }
html body #racingStoreTasks.rst .rst-status[data-status="completed"] { color: var(--rst-green); }
html body #racingStoreTasks.rst .rst-status[data-status="in_progress"] { color: var(--rst-accent); }
html body #racingStoreTasks.rst .rst-task-actions { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; justify-content: flex-end; }
html body #racingStoreTasks.rst .rst-task-actions button { min-height: 36px; padding: 7px 10px !important; font-size: 11px !important; }
html body #racingStoreTasks.rst .rst-task-actions .rst-icon-button { width: 34px !important; height: 34px !important; padding: 7px !important; background: transparent !important; border-color: transparent !important; }
html body #racingStoreTasks.rst .rst-complete-button { color: var(--rst-green) !important; border-color: var(--rst-green) !important; background: var(--rst-green-soft) !important; }
html body #racingStoreTasks.rst .rst-task-actions .rst-complete-button svg { width: 15px !important; height: 15px !important; }
html body #racingStoreTasks.rst .rst-completion-line { display: flex; align-items: center; gap: 6px; padding: 0 18px 13px 130px; font-size: 10px; color: var(--rst-green) !important; }
html body #racingStoreTasks.rst .rst-completion-line svg { width: 13px !important; height: 13px !important; }
html body #racingStoreTasks.rst .rst-task-details { padding: 18px; border-top: 1px solid var(--rst-line); background: var(--rst-soft); }
html body #racingStoreTasks.rst .rst-task-details dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
html body #racingStoreTasks.rst .rst-task-details dt { font-size: 10px; margin-bottom: 3px; }
html body #racingStoreTasks.rst .rst-task-details dd { color: var(--rst-ink); font-size: 12px; overflow-wrap: anywhere; }
html body #racingStoreTasks.rst .rst-task-details > :is(p,button,h4) { margin-top: 15px; }
html body #racingStoreTasks.rst .rst-task-details > p { white-space: pre-wrap; overflow-wrap: anywhere; font-size: 12px; }
html body #racingStoreTasks.rst .rst-history { padding-left: 18px; margin-top: 6px; }
html body #racingStoreTasks.rst .rst-history li { padding: 5px 0; font-size: 11px; }
html body #racingStoreTasks.rst .rst-history small { display: block; font-size: 10px; }
html body #racingStoreTasks.rst .rst-day-heading { display: flex; align-items: center; gap: 10px; margin: 24px 0 12px; font-size: 14px !important; }
html body #racingStoreTasks.rst .rst-empty { padding: 46px 22px; display: flex; align-items: center; flex-direction: column; text-align: center; border: 1px dashed var(--rst-line); border-radius: 16px; background: var(--rst-soft); }
html body #racingStoreTasks.rst .rst-empty-icon { width: 52px; height: 52px; display: grid; place-items: center; margin-bottom: 15px; border: 1px solid var(--rst-line); border-radius: 16px; color: var(--rst-accent); background: var(--rst-surface); }
html body #racingStoreTasks.rst .rst-empty-icon svg { width: 25px !important; height: 25px !important; }
html body #racingStoreTasks.rst .rst-empty h3 { margin-bottom: 6px; font-size: 18px !important; }
html body #racingStoreTasks.rst .rst-empty p { max-width: 460px; font-size: 13px; }
html body #racingStoreTasks.rst .rst-empty button { margin-top: 18px; }
html body #racingStoreTasks.rst .rst-loading { display: flex; align-items: center; justify-content: center; gap: 12px; min-height: 280px; color: var(--rst-muted); }
html body #racingStoreTasks.rst .rst-spinner { display: inline-block; width: 18px; height: 18px; flex-shrink: 0; border: 2px solid currentColor; border-right-color: transparent; opacity: .8; border-radius: 50%; animation: rst-spin .75s linear infinite; }
@keyframes rst-spin { to { transform: rotate(360deg); } }
html body #racingStoreTasks.rst .rst-notice, html body #racingStoreTasks.rst .rst-error { display: flex; align-items: flex-start; gap: 8px; padding: 12px 15px; border-radius: 10px; margin-bottom: 16px; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
html body #racingStoreTasks.rst .rst-notice { color: var(--rst-green); background: var(--rst-green-soft); }
html body #racingStoreTasks.rst .rst-error { color: var(--rst-red) !important; background: var(--rst-red-soft); }
html body #racingStoreTasks.rst .rst-footer { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 23px 0 0; padding-top: 18px; border-top: 1px solid var(--rst-line); font-size: 10px; color: var(--rst-muted); }
html body #racingStoreTasks.rst .rst-footer svg { width: 14px !important; height: 14px !important; }
html body #racingStoreTasks.rst .rst-schedules-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 5px 0 22px; }
html body #racingStoreTasks.rst .rst-schedules-head h3 { font-size: 20px !important; margin-bottom: 5px; }
html body #racingStoreTasks.rst .rst-schedules-head p { font-size: 12px; max-width: 580px; }
html body #racingStoreTasks.rst .rst-check-label { display: inline-flex; align-items: center; gap: 8px; font-size: 11px; color: var(--rst-muted); flex-shrink: 0; }
html body #racingStoreTasks.rst .rst-template-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
html body #racingStoreTasks.rst .rst-backlog-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 4px 0 20px; }
html body #racingStoreTasks.rst .rst-backlog-heading p { font-size: 12px; margin-top: 5px; }
html body #racingStoreTasks.rst .rst-backlog-heading > button { flex-shrink: 0; }
html body #racingStoreTasks.rst .rst-pagination { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px; border: 1px solid var(--rst-line); border-radius: 12px; background: var(--rst-soft); }
html body #racingStoreTasks.rst .rst-pagination p { font-size: 11px; }
html body #racingStoreTasks.rst .rst-pagination button { flex-shrink: 0; }
html body #racingStoreTasks.rst .rst-template { display: flex; flex-direction: column; align-items: flex-start; padding: 20px; border: 1px solid var(--rst-line); border-radius: 15px; background: var(--rst-raised); min-width: 0; }
html body #racingStoreTasks.rst .rst-template-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; width: 100%; margin-bottom: 17px; }
html body #racingStoreTasks.rst .rst-template h3 { margin-bottom: 8px; overflow-wrap: anywhere; }
html body #racingStoreTasks.rst .rst-template > p { font-size: 12px; margin-bottom: 13px; white-space: pre-wrap; overflow-wrap: anywhere; }
html body #racingStoreTasks.rst .rst-template > .rst-assignee { margin: 4px 0 16px; }
html body #racingStoreTasks.rst .rst-schedule-line { display: flex; align-items: center; gap: 7px; font-size: 11px; color: var(--rst-muted); }
html body #racingStoreTasks.rst .rst-schedule-line svg { width: 15px !important; height: 15px !important; }
html body #racingStoreTasks.rst .rst-template > small { display: block; font-size: 10px; margin-top: 8px; margin-bottom: 20px; }
html body #racingStoreTasks.rst .rst-template-actions { display: flex; gap: 8px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--rst-line); width: 100%; }
html body #racingStoreTasks.rst .rst-template-actions button { min-height: 35px; font-size: 11px !important; padding: 7px 10px !important; }
html body #racingStoreTasks.rst .rst-template-actions svg { width: 15px !important; height: 15px !important; }
html body #racingStoreTasks.rst .rst-quiet-danger { color: var(--rst-red) !important; background: transparent !important; border-color: transparent !important; }
html body #racingStoreTasks.rst .is-archived { opacity: .65; }
html body #racingStoreTasks.rst .rst-editor-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
html body #racingStoreTasks.rst .rst-editor fieldset { padding: 0; border: 0; min-width: 0; }
html body #racingStoreTasks.rst .rst-editor-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 30px; }
html body #racingStoreTasks.rst .rst-editor-section { display: flex; flex-direction: column; gap: 19px; min-width: 0; }
html body #racingStoreTasks.rst .rst-editor-section + .rst-editor-section { border-left: 1px solid var(--rst-line); padding-left: 30px; }
html body #racingStoreTasks.rst .rst-section-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 3px; }
html body #racingStoreTasks.rst .rst-section-heading > span { display: grid; place-items: center; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; color: var(--rst-accent); background: var(--rst-accent-soft); font-size: 11px; font-weight: 750; }
html body #racingStoreTasks.rst .rst-section-heading p { font-size: 11px; }
html body #racingStoreTasks.rst .rst-editor-section label, html body #racingStoreTasks.rst .rst-confirm label { display: flex; flex-direction: column; gap: 7px; font-size: 12px; font-weight: 650; color: var(--rst-ink); min-width: 0; }
html body #racingStoreTasks.rst .rst-editor-section label :is(input,select,textarea) { background: var(--rst-surface) !important; }
html body #racingStoreTasks.rst .rst-editor-section label small { font-size: 10px; font-weight: 400; }
html body #racingStoreTasks.rst .rst-editor-section textarea { resize: vertical; min-height: 110px; }
html body #racingStoreTasks.rst .rst-required { display: inline; color: var(--rst-accent); }
html body #racingStoreTasks.rst .rst-optional { color: var(--rst-muted); font-weight: 400; }
html body #racingStoreTasks.rst .rst-form-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 15px; }
html body #racingStoreTasks.rst .rst-starters { padding: 13px; background: var(--rst-soft); border-radius: 10px; }
html body #racingStoreTasks.rst .rst-starters > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
html body #racingStoreTasks.rst .rst-starters button { font-size: 10px !important; padding: 5px 8px !important; min-height: 29px; border-radius: 6px !important; background: var(--rst-surface) !important; }
html body #racingStoreTasks.rst .rst-recurrence { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 7px; }
html body #racingStoreTasks.rst .rst-recurrence button { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; gap: 8px; padding: 13px 10px !important; background: var(--rst-surface) !important; }
html body #racingStoreTasks.rst .rst-recurrence button strong { font-size: 12px; }
html body #racingStoreTasks.rst .rst-recurrence button small { font-size: 9px; line-height: 1.45; font-weight: 400; }
html body #racingStoreTasks.rst .rst-recurrence button[aria-pressed="true"] { background: var(--rst-accent-soft) !important; border-color: var(--rst-accent) !important; color: var(--rst-accent) !important; }
html body #racingStoreTasks.rst .rst-weekday-field > span { font-size: 12px; font-weight: 650; }
html body #racingStoreTasks.rst .rst-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; margin-top: 9px; }
html body #racingStoreTasks.rst .rst-weekdays button { padding: 7px 3px !important; font-size: 11px !important; }
html body #racingStoreTasks.rst .rst-weekdays button[aria-pressed="true"] { color: var(--rst-accent) !important; border-color: var(--rst-accent) !important; background: var(--rst-accent-soft) !important; }
html body #racingStoreTasks.rst .rst-editor-note { display: flex; align-items: flex-start; gap: 10px; border-radius: 10px; padding: 15px; background: var(--rst-soft); color: var(--rst-accent); }
html body #racingStoreTasks.rst .rst-editor-note p { font-size: 11px; }
html body #racingStoreTasks.rst .rst-editor-footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 24px; margin-top: 28px; border-top: 1px solid var(--rst-line); }
html body #racingStoreTasks.rst .rst-editor-footer > div { display: flex; align-items: center; gap: 9px; }
html body #racingStoreTasks.rst .rst-editor-footer p { font-size: 11px; }
html body #racingStoreTasks.rst .rst-confirm-backdrop { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: #020b19bd; backdrop-filter: blur(4px); z-index: 5; overflow-y: auto; }
html body #racingStoreTasks.rst .rst-confirm { max-width: 430px; width: 100%; max-height: 100%; overflow-y: auto; padding: 26px; background: var(--rst-surface); border: 1px solid var(--rst-line); border-radius: 18px; box-shadow: 0 20px 50px #0005; }
html body #racingStoreTasks.rst .rst-confirm h3 { font-size: 21px !important; margin-bottom: 10px; }
html body #racingStoreTasks.rst .rst-confirm label { margin-top: 20px; }
html body #racingStoreTasks.rst .rst-confirm-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; margin-top: 24px; }
html body #racingStoreTasks.rst .rst-danger { color: #fff !important; background: #aa3441 !important; border-color: #aa3441 !important; }
@media (max-width: 1199px) {
  html body #racingStoreTasks.rst .rst-template-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body #racingStoreTasks.rst .rst-summary { grid-template-columns: 1.4fr repeat(3, 1fr); gap: 9px; }
  html body #racingStoreTasks.rst .rst-stat { padding: 16px !important; }
  html body #racingStoreTasks.rst .rst-stat .rst-stat-icon { width: 30px; height: 30px; }
  html body #racingStoreTasks.rst .rst-progress-card { padding: 16px 14px 22px; gap: 10px; }
  html body #racingStoreTasks.rst .rst-progress-ring { width: 56px; height: 56px; }
  html body #racingStoreTasks.rst .rst-progress-ring span { width: 46px; height: 46px; font-size: 11px; }
  html body #racingStoreTasks.rst .rst-task-main { grid-template-columns: 85px minmax(0, 1fr); gap: 12px; }
  html body #racingStoreTasks.rst .rst-task-actions { grid-column: 2; justify-content: flex-start; }
  html body #racingStoreTasks.rst .rst-task-time { grid-row: 1 / 3; align-self: stretch; justify-content: center; padding-right: 12px; }
  html body #racingStoreTasks.rst .rst-completion-line { padding-left: 115px; }
  html body #racingStoreTasks.rst .rst-editor-grid { gap: 20px; }
  html body #racingStoreTasks.rst .rst-editor-section + .rst-editor-section { padding-left: 20px; }
}
@media (max-width: 767px) {
  html body dialog#racingStoreTasks.rst { width: 100vw !important; height: 100dvh !important; max-height: 100dvh !important; border-radius: 0 !important; border: 0 !important; margin: 0 !important; }
  html body #racingStoreTasks.rst .rst-shell { min-height: 100%; height: 100%; max-height: 100dvh; }
  html body #racingStoreTasks.rst .rst-header { padding: max(18px, env(safe-area-inset-top)) max(17px, env(safe-area-inset-right)) 18px max(17px, env(safe-area-inset-left)); gap: 12px; }
  html body #racingStoreTasks.rst .rst-heading { gap: 11px; }
  html body #racingStoreTasks.rst .rst-heading-icon { width: 42px; height: 42px; border-radius: 12px; }
  html body #racingStoreTasks.rst .rst-heading-icon svg { width: 24px !important; height: 24px !important; }
  html body #racingStoreTasks.rst h2 { font-size: 23px !important; }
  html body #racingStoreTasks.rst .rst-eyebrow { font-size: 8px !important; letter-spacing: .65px; }
  html body #racingStoreTasks.rst .rst-subtitle { font-size: 10px; margin-top: 4px; }
  html body #racingStoreTasks.rst .rst-header > .rst-icon-button { width: 34px !important; height: 34px !important; min-height: 34px; padding: 7px !important; }
  html body #racingStoreTasks.rst .rst-body { padding: 18px max(16px, env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left)); scrollbar-gutter: auto; }
  html body #racingStoreTasks.rst .rst-toolbar { flex-wrap: wrap; margin-bottom: 20px; gap: 12px; }
  html body #racingStoreTasks.rst .rst-tabs button { font-size: 11px !important; padding: 7px 10px !important; }
  html body #racingStoreTasks.rst .rst-tabs svg { width: 15px !important; height: 15px !important; }
  html body #racingStoreTasks.rst .rst-toolbar-actions { margin-left: auto; }
  html body #racingStoreTasks.rst .rst-toolbar-actions > .rst-primary { font-size: 11px !important; padding: 8px 11px !important; }
  html body #racingStoreTasks.rst .rst-date-toolbar { flex-wrap: wrap; gap: 13px; }
  html body #racingStoreTasks.rst .rst-date-controls { flex: 1 1 100%; justify-content: space-between; gap: 6px; }
  html body #racingStoreTasks.rst .rst-date-picker { min-width: 0; flex: 1; justify-content: center; }
  html body #racingStoreTasks.rst .rst-date-heading { font-size: 12px; text-align: center; }
  html body #racingStoreTasks.rst .rst-date-controls > [data-action="today"] { min-height: 34px; padding: 6px 9px !important; font-size: 10px !important; }
  html body #racingStoreTasks.rst .rst-range { margin-left: auto; }
  html body #racingStoreTasks.rst .rst-summary { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-top: 14px; }
  html body #racingStoreTasks.rst .rst-progress-card { grid-column: 1 / -1; padding: 16px 18px; }
  html body #racingStoreTasks.rst .rst-progress-card > div:first-child { display: grid; grid-template-columns: auto auto; align-items: baseline; gap: 0 12px; }
  html body #racingStoreTasks.rst .rst-kpi-label { grid-column: 1 / -1; margin-bottom: 3px; }
  html body #racingStoreTasks.rst .rst-progress-card strong { font-size: 27px; }
  html body #racingStoreTasks.rst .rst-stat { display: flex; flex-direction: column; align-items: flex-start; padding: 14px 12px !important; gap: 6px; border-radius: 12px !important; }
  html body #racingStoreTasks.rst .rst-stat .rst-stat-icon { display: none; }
  html body #racingStoreTasks.rst .rst-stat strong { font-size: 25px; }
  html body #racingStoreTasks.rst .rst-stat > span:last-child { font-size: 10px; }
  html body #racingStoreTasks.rst .rst-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 11px; }
  html body #racingStoreTasks.rst .rst-search { grid-column: 1 / -1; }
  html body #racingStoreTasks.rst .rst-filters select { font-size: 11px !important; padding: 9px !important; }
  html body #racingStoreTasks.rst .rst-list-caption > span:last-child { display: none; }
  html body #racingStoreTasks.rst .rst-task-main { grid-template-columns: 60px minmax(0, 1fr); padding: 13px 12px; gap: 12px; }
  html body #racingStoreTasks.rst .rst-task-time { padding-right: 9px; }
  html body #racingStoreTasks.rst .rst-task-time strong { font-size: 9px; }
  html body #racingStoreTasks.rst .rst-task-title-row h3 { font-size: 13px !important; }
  html body #racingStoreTasks.rst .rst-task-description { font-size: 11px; }
  html body #racingStoreTasks.rst .rst-task-meta { gap: 6px; }
  html body #racingStoreTasks.rst .rst-assignee { font-size: 10px; }
  html body #racingStoreTasks.rst .rst-chip, html body #racingStoreTasks.rst .rst-status { font-size: 9px; }
  html body #racingStoreTasks.rst .rst-task-actions { gap: 5px; }
  html body #racingStoreTasks.rst .rst-task-actions button { min-height: 38px; font-size: 10px !important; padding: 7px 8px !important; }
  html body #racingStoreTasks.rst .rst-completion-line { padding-left: 13px; padding-right: 13px; font-size: 9px; }
  html body #racingStoreTasks.rst .rst-task-details dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  html body #racingStoreTasks.rst .rst-footer { align-items: flex-start; font-size: 9px; }
  html body #racingStoreTasks.rst .rst-template-grid { grid-template-columns: 1fr; }
  html body #racingStoreTasks.rst .rst-schedules-head { align-items: flex-start; flex-direction: column; gap: 14px; }
  html body #racingStoreTasks.rst .rst-backlog-heading, html body #racingStoreTasks.rst .rst-pagination { align-items: flex-start; flex-direction: column; gap: 12px; }
  html body #racingStoreTasks.rst .rst-schedules-head h3 { font-size: 18px !important; }
  html body #racingStoreTasks.rst .rst-editor-intro { align-items: flex-start; flex-direction: column; gap: 10px; }
  html body #racingStoreTasks.rst .rst-editor-grid { grid-template-columns: 1fr; gap: 28px; }
  html body #racingStoreTasks.rst .rst-editor-section + .rst-editor-section { border-left: 0; padding-left: 0; border-top: 1px solid var(--rst-line); padding-top: 24px; }
  html body #racingStoreTasks.rst .rst-editor-section :is(input,select,textarea) { font-size: 16px !important; }
  html body #racingStoreTasks.rst .rst-editor-footer { align-items: flex-start; flex-direction: column; gap: 14px; }
  html body #racingStoreTasks.rst .rst-editor-footer > div { width: 100%; }
  html body #racingStoreTasks.rst .rst-editor-footer > div > button { flex: 1; }
  html body #racingStoreTasks.rst .rst-confirm-backdrop { padding: 16px; }
  html body #racingStoreTasks.rst .rst-confirm { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  html body #racingStoreTasks.rst * { transition: none !important; }
  html body #racingStoreTasks.rst .rst-spinner { animation-duration: 2s; }
}

html body dialog#racingStoreTasks.rst.rst-embedded {
  position:relative!important; inset:auto!important; width:100%!important;
  max-height:none!important; margin:0!important; box-shadow:none!important; z-index:1;
}
html body dialog#racingStoreTasks.rst.rst-embedded .rst-body { max-height:none; }

/* Compact assignment rows; task instructions remain on the employee task board. */
html body #racingStoreTasks.rst .rst-assign-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 18px; padding: 14px 18px; overflow: visible; }
html body #racingStoreTasks.rst .rst-assign-time { display: flex; align-items: center; gap: 7px; font-size: 11px; white-space: nowrap; color: var(--rst-muted); }
html body #racingStoreTasks.rst .rst-assign-time svg { width: 15px; height: 15px; }
html body #racingStoreTasks.rst .rst-assign-title { min-width: 0; }
html body #racingStoreTasks.rst .rst-assign-title h3 { margin: 0 0 4px !important; font-size: 13px !important; overflow-wrap: anywhere; }
html body #racingStoreTasks.rst .rst-assignment { display: flex; gap: 10px; align-items: center; }
html body #racingStoreTasks.rst .rst-assignment > button { white-space: nowrap; min-height: 38px; padding: 8px 12px !important; }
html body #racingStoreTasks.rst .rst-employee-picker { position: relative; width: 230px; max-width: 100%; }
html body #racingStoreTasks.rst .rst-employee-picker summary { display: flex; align-items: center; justify-content: space-between; gap: 10px; min-height: 38px; padding: 8px 11px; border: 1px solid var(--rst-line); border-radius: 9px; background: var(--rst-soft); color: var(--rst-ink); cursor: pointer; font-size: 12px; list-style: none; }
html body #racingStoreTasks.rst .rst-employee-picker summary::-webkit-details-marker { display: none; }
html body #racingStoreTasks.rst .rst-employee-picker summary > span:first-child { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html body #racingStoreTasks.rst .rst-employee-picker summary:focus-visible { outline: 2px solid var(--rst-accent); outline-offset: 2px; }
html body #racingStoreTasks.rst .rst-employee-picker[open] { z-index: 5; }
html body #racingStoreTasks.rst .rst-employee-options { position: absolute; top: calc(100% + 5px); left: 0; width: 100%; min-width: 210px; max-height: 230px; overflow-y: auto; padding: 6px; border: 1px solid var(--rst-line); border-radius: 10px; background: var(--rst-surface); box-shadow: 0 10px 28px #0003; }
html body #racingStoreTasks.rst .rst-employee-options .rst-check-label { display: flex; padding: 8px 6px; font-size: 12px; color: var(--rst-ink); white-space: normal; }
html body #racingStoreTasks.rst .rst-assign-locked { display: grid; gap: 3px; max-width: 350px; color: var(--rst-muted); font-size: 12px; }
html body #racingStoreTasks.rst .rst-assign-locked small { font-size: 10px; }
@media (max-width: 850px) {
  html body #racingStoreTasks.rst .rst-assign-row { grid-template-columns: 76px minmax(0, 1fr); gap: 10px; padding: 12px; }
  html body #racingStoreTasks.rst .rst-assign-row .rst-assignment, html body #racingStoreTasks.rst .rst-assign-locked { grid-column: 1 / -1; }
  html body #racingStoreTasks.rst .rst-employee-picker { width: 230px; min-width: 0; flex: 1; }
  html body #racingStoreTasks.rst .rst-assignment > button { font-size: 11px !important; }
}

html body #racingStoreTasks.rst .rst-employee-counts { min-width: 0; text-align: center; }
html body #racingStoreTasks.rst .rst-week-counts { flex: 1; max-width: 60%; margin-left: auto; }
html body #racingStoreTasks.rst .rst-day-counts { margin: 18px auto; }
html body #racingStoreTasks.rst .rst-count-heading { font-size: 11px; color: var(--rst-muted); margin-bottom: 8px; }
html body #racingStoreTasks.rst .rst-count-people { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px 20px; }
html body #racingStoreTasks.rst .rst-count-person { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 78px; font-size: 12px; }
html body #racingStoreTasks.rst .rst-count-photo { position: relative; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--rst-accent-soft); color: var(--rst-accent); overflow: hidden; border: 1px solid var(--rst-line); }
html body #racingStoreTasks.rst .rst-count-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html body #racingStoreTasks.rst .rst-count-name { font-size: 10px; max-width: 100%; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
html body #racingStoreTasks.rst .rst-count-person small { font-size: 10px; font-weight: 400; color: var(--rst-muted); }
@media (max-width: 850px) {
 html body #racingStoreTasks.rst .rst-header:has(.rst-week-counts) { flex-wrap: wrap; }
 html body #racingStoreTasks.rst .rst-week-counts { order: 3; flex-basis: 100%; max-width: 100%; margin: 12px 0 0; }
}

#racingStoreTasks .rst-count-hours { font-size: 11px; line-height: 1.3; color: var(--rst-muted, #52647b); white-space: nowrap; }

/* Keep finished assignments available without filling the active task list. */
html body #racingStoreTasks.rst .rst-completed-group { margin: 0 0 18px; border: 1px solid var(--rst-line); border-radius: 14px; background: var(--rst-surface); overflow: hidden; }
html body #racingStoreTasks.rst .rst-completed-toggle { display: flex; align-items: center; gap: 10px; width: 100%; padding: 16px !important; border: 0; border-radius: 0; text-align: left; color: var(--rst-ink); background: transparent; }
html body #racingStoreTasks.rst .rst-completed-toggle > span:first-of-type { flex: 1; }
html body #racingStoreTasks.rst .rst-completed-toggle strong { font-variant-numeric: tabular-nums; }
html body #racingStoreTasks.rst #rstCompletedTasks:not([hidden]) { display: grid; gap: 12px; padding: 0 12px 12px; }

html body #racingStoreTasks.rst .rst-group-members { display:grid; gap:8px; padding:12px 18px; border-top:1px solid var(--rst-line); }
html body #racingStoreTasks.rst .rst-group-person { display:flex; align-items:center; flex-wrap:wrap; gap:10px; }
html body #racingStoreTasks.rst .rst-group-person > span { flex:1; min-width:140px; display:grid; gap:3px; }
html body #racingStoreTasks.rst .rst-group-person small { color:var(--rst-muted); }

html body #racingStoreTasks.rst .rst-team-progress { padding:0; margin:-14px 0 12px; text-align:center; }
html body #racingStoreTasks.rst button.rst-team-person { display:flex; flex-direction:column; align-items:center; gap:5px; width:120px; min-width:100px; padding:6px 8px !important; border:1px solid transparent; background:transparent; border-radius:14px; }
html body #racingStoreTasks.rst button.rst-team-person[aria-pressed="true"] { border-color:#1689ff; background:rgba(22,137,255,.1); }
html body #racingStoreTasks.rst .rst-team-person small { color:var(--rst-muted); font-size:11px; }
html body #racingStoreTasks.rst .rst-team-person .rst-count-photo svg { width:28px; height:28px; }

html body #racingStoreTasks.rst .rst-team-progress .rst-count-heading { margin-bottom:6px; }
html body #racingStoreTasks.rst .rst-team-progress .rst-count-people { justify-content:center; gap:12px; }
@media(max-width:600px) { html body #racingStoreTasks.rst .rst-team-progress { margin-top:-8px; } }

/* Shared compact summary and employee filters. */
html body #racingStoreTasks.rst .rst-summary-compact { display:flex; flex-wrap:nowrap; gap:10px; overflow-x:auto; padding:2px 0 8px; margin:16px 0; }
html body #racingStoreTasks.rst .rst-summary-compact > button { flex:1 1 0; width:auto; min-width:0; min-height:130px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px; padding:10px 8px!important; border:1px solid var(--rst-line); border-radius:14px!important; text-align:center; background:var(--rst-raised)!important; }
html body #racingStoreTasks.rst .rst-summary-compact > button[aria-pressed="true"] { border-color:var(--rst-accent); background:var(--rst-accent-soft)!important; }
html body #racingStoreTasks.rst .rst-summary-compact .rst-stat strong { font-size:20px; line-height:1.3; }
html body #racingStoreTasks.rst .rst-summary-compact .rst-stat-icon { display:grid; width:32px; height:32px; }
html body #racingStoreTasks.rst .rst-summary-compact .rst-team-total > span { font-size:12px; font-weight:700; }
html body #racingStoreTasks.rst .rst-summary-compact small { font-size:11px; color:var(--rst-muted); }

html body #racingStoreTasks.rst .rst-more-team { display:flex; flex-wrap:wrap; gap:10px; padding:12px; margin:-8px 0 16px; border:1px solid var(--rst-line); border-radius:14px; background:var(--rst-soft); }
html body #racingStoreTasks.rst .rst-more-team > button { flex:1 1 120px; max-width:190px; }
html body #racingStoreTasks.rst .rst-summary-compact .rst-count-name { max-width:100%; white-space:normal; overflow-wrap:anywhere; }
@media(max-width:767px) { html body #racingStoreTasks.rst .rst-summary-compact > button { flex:1 0 108px; min-width:108px; } }

html body #racingStoreTasks.rst .rst-date-actions { display:flex; align-items:center; justify-content:flex-end; gap:10px; margin-left:auto; }

html body #racingStoreTasks.rst .rst-date-short { display:none; }
html body #racingStoreTasks.rst .rst-personal-progress { margin-top:16px; }
html body #racingStoreTasks.rst .rst-personal-summary { grid-template-columns:repeat(4,minmax(0,1fr)); gap:8px; }
html body #racingStoreTasks.rst .rst-personal-summary .rst-stat { display:flex; flex-direction:column; align-items:center; padding:12px 4px!important; }
html body #racingStoreTasks.rst .rst-personal-summary .rst-stat[aria-pressed="true"] { border-color:var(--rst-accent); background:var(--rst-accent-soft)!important; }
@media(max-width:767px) {
 html body #racingStoreTasks.rst .rst-date-toolbar { flex-wrap:nowrap; gap:5px; }
 html body #racingStoreTasks.rst .rst-date-controls { flex:0 1 auto; justify-content:flex-start; gap:3px; }
 html body #racingStoreTasks.rst .rst-date-picker { flex:0 1 auto; min-width:0; }
 html body #racingStoreTasks.rst .rst-date-heading { display:none; }
 html body #racingStoreTasks.rst .rst-date-short { display:block; font-size:10px; font-weight:700; text-align:center; }
 html body #racingStoreTasks.rst .rst-date-controls > .rst-icon-button { flex:0 0 25px; width:25px!important; padding:4px!important; }
 html body #racingStoreTasks.rst .rst-date-controls > [data-action="today"] { padding:5px!important; }
 html body #racingStoreTasks.rst .rst-date-actions { gap:4px; flex-shrink:0; }
 html body #racingStoreTasks.rst .rst-range button { padding:5px 7px!important; font-size:10px!important; }
 html body #racingStoreTasks.rst .rst-date-actions > .rst-icon-button { width:30px!important; min-height:32px; padding:5px!important; }
}

#racingStoreTasks .rst-daily-note{margin:20px 0;padding:20px;border:1px solid var(--rst-line);border-radius:16px}#racingStoreTasks .rst-daily-note label{display:grid;gap:8px}#racingStoreTasks .rst-daily-note textarea{width:100%;box-sizing:border-box;min-height:110px;padding:12px;border:1px solid var(--rst-line);border-radius:10px;background:transparent;color:inherit;font:inherit;resize:vertical}#racingStoreTasks .rst-daily-note button{margin:12px 0}#racingStoreTasks .rst-daily-note-text{white-space:pre-wrap;overflow-wrap:anywhere}

#racingStoreTasks .rst-status[data-status="pending"]{color:#b77900;background:rgba(245,158,11,.12)}
#racingStoreTasks .rst-pending-line{font-size:12px;line-height:1.5;overflow-wrap:anywhere;color:var(--rst-muted);margin:6px 0}
