/* Shared by Demo and password-authenticated operator accounts. */
.operator-dashboard .overview-work { flex:0 0 auto; min-height:330px; }
.operator-dashboard .overview-board { min-height:0; grid-template-rows:auto minmax(0,1fr); }
.operator-dashboard #panel-anchors > .card { height:auto; align-self:stretch; }
.operator-dashboard .operator-anchor-grid,.operator-dashboard .operator-live-grid { grid-template-columns:repeat(2,minmax(0,1fr)); grid-template-rows:repeat(2,minmax(0,1fr)); gap:8px; }
.operator-dashboard .operator-anchor-grid { flex:1; min-height:140px; }
.operator-dashboard .operator-live-grid { flex:1; min-height:140px; }
.operator-dashboard .card-subhead { padding:8px 10px; line-height:16px; }
.operator-dashboard .diagnosis-grid .diagnosis-tile { display:flex; flex-direction:column; justify-content:center; min-height:0; }
.operator-dashboard .diagnosis-grid .diagnosis-title { padding:5px 9px 2px; font-size:12px; line-height:1.4; }
.operator-dashboard .diagnosis-grid .summary-number { display:flex; align-items:baseline; gap:5px; padding:0 9px 6px; font-size:24px; line-height:1.2; }
.operator-dashboard .diagnosis-grid .summary-number small { display:inline; margin:0; font-size:10px; }
.all-live-link { border:0; padding:0; background:none; color:var(--theme-blue,#3976da); font-size:11px; cursor:pointer; }
.operator-work-footer { flex:none; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; padding:8px 10px; border-top:1px solid var(--theme-line,#e5ebf5); }
.operator-work-footer .work-status-count { width:100%; min-width:0; min-height:44px; border:1px solid var(--theme-line,#e5ebf5); border-radius:8px; background:var(--theme-surface,#fafcff); padding:8px 4px; font-size:12px; line-height:18px; text-align:center; }
.operator-work-footer .work-status-count:hover:not(:disabled) { border-color:currentColor; }
.operator-focus { display:flex; flex-direction:column; flex:1; min-height:112px; margin:0 10px 8px; border:1px solid var(--theme-line,#e5ebf5); border-radius:8px; overflow:hidden; }
.operator-focus > header { display:flex; justify-content:space-between; align-items:center; flex:none; padding:8px; gap:6px; }
.operator-focus h3 { margin:0; font-size:12px; }
.operator-focus header small { font-size:9px; color:var(--theme-muted,#8995a5); }
.operator-focus-list { flex:1; min-height:0; overflow:auto; scrollbar-width:thin; }
.operator-focus article { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1.2fr) auto; align-items:center; gap:8px; padding:10px 8px; border-top:1px solid var(--theme-line,#e5ebf5); }
.focus-identity,.focus-details { display:flex; flex-direction:column; align-items:flex-start; min-width:0; gap:5px; font-size:11px; overflow-wrap:anywhere; }
.focus-id { color:var(--theme-muted,#8995a5); font-size:10px; }
.focus-details { font-size:10px; }
.focus-tag { border-radius:4px; padding:2px 5px; background:var(--theme-raised,#f1f5fb); color:var(--theme-muted,#8995a5); }
.focus-up { color:var(--theme-green,#29917a); }
.focus-down { color:var(--theme-red,#c85f54); }
.operator-focus [data-focus-complete] { min-width:44px; padding:5px 8px; font-size:11px; }
.focus-empty { margin:0; padding:20px 8px; text-align:center; color:var(--theme-muted,#8995a5); font-size:11px; }
.goal-toolbar-actions [data-view-month] { display:inline-flex; align-items:center; justify-content:center; gap:3px; }
.goal-toolbar-actions [data-view-month] svg { display:block; width:14px; height:14px; flex:none; }
.month-select { position:relative; }
.month-choose { display:inline-flex; align-items:center; gap:9px; padding:0; border:0; background:none; color:inherit; font:inherit; cursor:pointer; text-align:left; }
.month-choose svg { display:block; width:18px; height:18px; flex:none; color:var(--blue); transition:transform .2s ease; }
.month-choose[aria-expanded="true"] svg { transform:rotate(180deg); }
.month-choose:hover { color:var(--blue); }
.month-picker { position:absolute; top:calc(100% + 12px); left:0; z-index:20; width:280px; max-width:calc(100vw - 64px); padding:14px; border:1px solid var(--line); border-radius:16px; background:var(--surface); color:var(--ink); box-shadow:0 16px 44px #122a501f,0 3px 10px #122a500a; }
.month-picker:not([hidden]) { animation:month-picker-in .18s ease-out; }
.month-picker > header { display:grid; grid-template-columns:30px 1fr 30px; align-items:center; gap:8px; margin-bottom:14px; }
.month-picker > header strong { text-align:center; font-size:16px; font-weight:650; font-variant-numeric:tabular-nums; letter-spacing:.06em; }
.month-year-arrow { display:grid; place-items:center; width:30px; height:30px; padding:0; border:0; border-radius:8px; background:transparent; color:var(--muted); cursor:pointer; line-height:0; }
.month-year-arrow svg { display:block; width:18px; height:18px; }
.month-year-arrow:hover:not(:disabled) { color:var(--blue); background:var(--theme-blue-soft,#eff4ff); }
.month-year-arrow:disabled { opacity:.25; cursor:default; }
.month-options { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:6px; }
.month-options button { position:relative; display:flex; align-items:center; justify-content:center; gap:3px; height:40px; padding:0; border:1px solid transparent; border-radius:9px; background:transparent; color:var(--ink); font:inherit; font-size:13px; font-weight:550; cursor:pointer; transition:background .15s ease,color .15s ease,border-color .15s ease; }
.month-options button span { font-size:10px; font-weight:400; opacity:.7; }
.month-options button:hover:not(:disabled) { background:var(--theme-blue-soft,#eff4ff); color:var(--blue); }
.month-options .is-current { border-color:var(--line); }
.month-options button[aria-pressed="true"] { background:var(--blue); color:#fff; border-color:transparent; box-shadow:0 3px 9px #3976da22; }
.month-options button:disabled:not(.is-loading) { opacity:.3; cursor:default; }
.month-options .is-loading { color:transparent; background:var(--theme-blue-soft,#eff4ff); }
.month-options .is-loading::after { content:""; position:absolute; width:14px; height:14px; border:2px solid var(--line); border-top-color:var(--blue); border-radius:50%; animation:month-picker-spin .7s linear infinite; }
.month-picker > footer { display:flex; align-items:center; justify-content:space-between; gap:8px; border-top:1px solid var(--line); margin-top:14px; padding-top:12px; }
.month-picker [data-month-status] { color:var(--muted); font-size:10px; }
.month-picker [data-month-current],.month-picker [data-month-retry] { padding:0; border:0; background:none; color:var(--blue); font:inherit; font-size:11px; cursor:pointer; }
.month-picker [data-month-current]:disabled { opacity:.45; cursor:default; }
.month-picker-error:not([hidden]) { display:flex; align-items:center; gap:8px; margin-top:12px; }
.month-picker [role=alert] { flex:1; margin:0; color:var(--theme-red,#c85f54); font-size:11px; line-height:1.5; }
.month-picker button:focus-visible,.month-choose:focus-visible { outline:2px solid var(--blue); outline-offset:3px; }
@keyframes month-picker-in { from { opacity:0; transform:translateY(-5px) scale(.98); } to { opacity:1; transform:translateY(0) scale(1); } }
@keyframes month-picker-spin { to { transform:rotate(360deg); } }
@media(max-width:1050px){
 .operator-dashboard .overview-board { display:block; }
 .operator-dashboard .overview-board > .column { height:100%; }
 .operator-dashboard .overview-work { flex-basis:400px; min-height:400px; }
}
