.operator-workspace { flex: 1; display: flex; flex-direction: column; min-height: 0; background: var(--canvas); }
.operator-workspace > .scroll-y { min-height: 0; width: 100%; margin-inline: auto; }
.op-header { flex: none; background: var(--surface); border-bottom: 1px solid var(--gray-200); padding: 8px 16px 12px; }
.op-header-title { display: flex; align-items: center; gap: 8px; min-height: 44px; }
.op-header-title h1 { flex: 1; font-size: 18px; line-height: 1.35; margin: 0; font-weight: 800; }
.op-header-home { display: flex; align-items: center; min-height: 44px; }
.op-header-home img { width: 100px; height: auto; }
.op-header-back { border: 0; background: none; width: 44px; height: 44px; color: var(--ink); display: grid; place-items: center; padding: 0; }
.op-club-selector { display: flex; align-items: center; gap: 8px; min-width: 0; color: var(--gray-600); font-size: 13px; }
.op-club-selector label { flex: none; }
.op-club-selector select { flex: 1; min-width: 0; min-height: 44px; border: 1px solid var(--gray-300); border-radius: var(--r-sm); padding: 0 10px; font-size: 16px; color: var(--ink); background: var(--surface); }
.op-club-name { display: flex; align-items: center; gap: 8px; min-height: 28px; color: var(--gray-600); font-size: 14px; overflow-wrap: anywhere; }
.op-navigation { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); flex: none; border-top: 1px solid var(--gray-200); background: var(--surface); padding: 4px 8px max(4px,env(safe-area-inset-bottom)); }
.op-navigation button { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 58px; border: 0; border-radius: var(--r-sm); background: none; color: var(--gray-600); font-size: 12px; font-weight: 600; }
.op-navigation button[aria-current="page"] { background: var(--green-50); color: var(--green-700); font-weight: 800; }
.op-navigation-icon { position: relative; display: inline-flex; }
.op-nav-badge { position: absolute; top: -6px; left: 14px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: var(--r-pill); background: var(--red); color: var(--surface); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 800; }
.operator-workspace button, .operator-workspace summary { cursor: pointer; }
.operator-workspace button:disabled { cursor: not-allowed; }
.operator-workspace :is(button,a,select,input,summary):focus-visible { outline: 3px solid var(--green-600); outline-offset: 3px; }
.op-navigation button:hover, .op-menu-link:hover, .op-agenda-row:hover { background: var(--green-50); }
.op-toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.op-toolbar .op-primary-action { margin-left: auto; }
.op-toolbar button, .op-view-switch button, .op-period button, .op-kind-switch button { min-height: 44px; }
.op-view-switch, .op-period, .op-kind-switch { display: flex; align-items: center; gap: 4px; }
.op-view-switch { padding: 4px; background: var(--gray-100); border-radius: var(--r-md); }
.op-view-switch button { flex: 1; white-space: nowrap; padding: 0 12px; border: 0; border-radius: var(--r-sm); background: none; color: var(--gray-600); font-size: 14px; font-weight: 700; }
.op-view-switch button[aria-pressed="true"] { background: var(--surface); color: var(--green-700); }
.op-period { flex-wrap: wrap; margin: 12px 0; }
.op-period strong { flex: 1; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.op-period button { display: grid; place-items: center; min-width: 44px; background: var(--surface); border: 1px solid var(--gray-300); border-radius: var(--r-sm); color: var(--ink); padding: 0 10px; }
.op-schedule-controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 12px; }
.op-kind-switch { overflow-x: auto; max-width: 100%; }
.op-kind-switch button { flex: none; padding: 0 12px; border: 1px solid var(--gray-300); border-radius: var(--r-sm); color: var(--gray-600); background: var(--surface); font-size: 14px; font-weight: 600; }
.op-kind-switch button[aria-pressed="true"] { border-color: var(--green-600); background: var(--green-50); color: var(--green-700); }
.op-status-filter { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--gray-600); }
.op-status-filter select { min-height: 44px; max-width: 160px; background: var(--surface); border: 1px solid var(--gray-300); border-radius: var(--r-sm); padding: 0 10px; color: var(--ink); font-size: 16px; }
.op-schedule-help, .op-secondary-tools { margin: 12px 0; font-size: 13px; color: var(--gray-600); }
.op-schedule-help summary, .op-secondary-tools summary { min-height: 44px; display: flex; align-items: center; gap: 8px; text-decoration: underline; text-underline-offset: 3px; }
.op-schedule-help summary::after, .op-secondary-tools summary::after { content: ''; width: 6px; height: 6px; border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: rotate(45deg); margin-left: 4px; }
.op-schedule-help[open] summary::after, .op-secondary-tools[open] summary::after { transform: rotate(225deg); }
.op-schedule-help p { line-height: 1.6; margin: 4px 0 12px; }
.op-agenda-day { margin-top: 24px; }
.op-agenda-day:first-child { margin-top: 16px; }
.op-agenda-day h2 { display: flex; align-items: baseline; gap: 8px; font-size: 16px; margin: 0 0 10px; }
.op-agenda-day h2 span { font-size: 13px; color: var(--gray-600); font-weight: 400; }
.op-agenda-row { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 88px; padding: 16px 12px; text-align: left; border: 0; border-bottom: 1px solid var(--gray-200); background: var(--surface); color: var(--ink); }
.op-agenda-time { flex: none; min-width: 44px; font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; }
.op-agenda-time span { display: block; color: var(--gray-600); font-size: 12px; margin-top: 4px; font-weight: 400; }
.op-agenda-copy { flex: 1; min-width: 0; }
.op-agenda-copy strong { display: block; font-size: 16px; }
.op-agenda-copy > span { display: block; font-size: 13px; color: var(--gray-600); margin-top: 4px; overflow-wrap: anywhere; }
.op-agenda-state { flex: none; font-size: 12px; color: var(--gray-600); }
.op-empty { padding: 36px 16px; text-align: center; background: var(--surface); border-radius: var(--r-md); }
.op-empty h2 { font-size: 18px; margin: 0 0 8px; }
.op-empty p { color: var(--gray-600); font-size: 14px; line-height: 1.6; margin: 0 0 20px; }
.op-more-account { padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid var(--gray-200); }
.op-more-account strong { display: block; font-size: 18px; }
.op-more-account p { font-size: 13px; color: var(--gray-600); margin: 4px 0 0; overflow-wrap: anywhere; }
.op-menu-section { margin-bottom: 24px; }
.op-menu-section h2 { font-size: 14px; color: var(--gray-600); margin: 0 0 8px; }
.op-menu-link { display: flex; align-items: center; gap: 12px; width: 100%; min-height: 64px; padding: 12px 16px; background: var(--surface); border: 0; border-bottom: 1px solid var(--gray-200); text-align: left; color: var(--ink); text-decoration: none; }
.op-menu-link > span { flex: 1; min-width: 0; }
.op-menu-link strong { display: block; font-size: 16px; }
.op-menu-link small { display: block; font-size: 13px; color: var(--gray-600); margin-top: 4px; }
.op-more-logout { min-height: 44px; padding: 0 12px; border: 0; background: none; color: var(--gray-600); font-size: 14px; }
.operator-workspace .settlement-tabs { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: minmax(0,1fr); gap: 6px; }
.operator-workspace .settlement-tabs button { white-space: nowrap; padding-inline: 4px; }
@media (min-width: 768px) {
  .op-header { padding: 12px 24px; display: flex; align-items: center; gap: 24px; }
  .op-header-title { flex: 1; }
  .op-header-title h1 { font-size: 22px; }
  .op-header-home { order: -1; margin-right: 8px; }
  .op-club-selector { max-width: 360px; }
  .op-club-name { max-width: 320px; }
  .op-navigation { padding-inline: 16px; }
  .op-navigation button { flex-direction: row; gap: 10px; font-size: 14px; min-height: 56px; }
  .operator-workspace:not([data-screen="schedule"]):not([data-screen="multiCourt"]) > .scroll-y { max-width: 960px; }
  .op-schedule-controls { justify-content: space-between; }
  .op-agenda-row { padding: 16px 20px; gap: 20px; }
  .op-agenda-copy strong { font-size: 16px; }
}
@media (max-width: 374px) {
  .op-header { padding-inline: 12px; }
  .op-header-home img { width: 84px; }
  .op-agenda-row { gap: 8px; padding-inline: 8px; }
  .op-agenda-row > svg { display: none; }
}
