@layer op-legacy {#operationsWindowNav[hidden] { display: none; }.ops-window {
  --ops-s: var(--op-color-info);
  --ops-s-weak: color-mix(in srgb, var(--ops-s) 12%, var(--surface));
  --ops-a: var(--op-color-info);
  --ops-a-weak: color-mix(in srgb, var(--ops-a) 12%, var(--surface));
  --ops-b: var(--op-color-b);
  --ops-b-weak: color-mix(in srgb, var(--ops-b) 12%, var(--surface));
  min-width: 0;
}.ops-window button,
.ops-window input,
.ops-window select { font: inherit; }.ops-window .ops-page-head { align-items: flex-start; }.ops-window .ops-page-head h1 { display: flex; align-items: center; gap: 10px; }.ops-window .ops-title-mark {
  display: inline-grid; place-items: center; width: 28px; height: 28px;
  border-radius: var(--op-radius); background: var(--primary-weak); color: var(--primary); font-size: var(--semi-font-size-regular);
}.ops-page-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end; }.ops-scope-chip,
.ops-freshness {
  display: inline-flex; align-items: center; gap: 7px; min-height: 34px; padding: 6px 10px;
  border: 1px solid var(--border); border-radius: var(--op-radius-circle); background: var(--surface); color: var(--muted); font-size: var(--semi-font-size-small);
}.ops-freshness i { width: 7px; height: 7px; border-radius: var(--op-radius-circle); background: var(--accent); box-shadow: var(--op-shadow-medium); }.ops-week-switch { display: inline-flex; padding: 3px; border: 1px solid var(--border); border-radius: var(--op-radius); background: var(--surface-2); }.ops-week-switch button { border: 0; background: transparent; color: var(--muted); padding: 6px 10px; border-radius: var(--op-radius); cursor: pointer; font-size: var(--semi-font-size-small); }.ops-week-switch button.active { background: var(--surface); color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }.ops-fact-notice {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 12px;
  padding: 12px 14px; border: 1px solid color-mix(in srgb, var(--primary) 25%, var(--border));
  border-radius: var(--radius); background: var(--primary-weak); color: var(--muted);
}.ops-fact-notice > b { width: 22px; height: 22px; border-radius: var(--op-radius-circle); display: grid; place-items: center; background: var(--primary); color: var(--primary-text); font-size: var(--semi-font-size-small); }.ops-fact-notice strong { display: block; color: var(--text); font-size: var(--semi-font-size-small); }.ops-fact-notice span { display: block; font-size: var(--semi-font-size-small); margin-top: 1px; }.ops-fact-notice > small { white-space: nowrap; font-size: var(--semi-font-size-small); color: var(--primary); font-weight: 600; }.ops-data-gap {
  display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; padding: 9px 12px;
  border: 1px solid var(--border); border-radius: var(--op-radius); background: var(--surface-2); color: var(--muted); font-size: var(--semi-font-size-small);
}.ops-data-gap b { color: var(--warn); }.ops-data-gap strong { color: var(--text); font-weight: 600; }.ops-metrics { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }.ops-metric {
  min-width: 0; padding: 14px 15px; border: 1px solid var(--border); border-radius: var(--radius);
  background: var(--surface); box-shadow: var(--shadow-sm);
}.ops-metric span { color: var(--muted); font-size: var(--semi-font-size-small); }.ops-metric strong { display: block; margin: 5px 0 2px; font-size: var(--semi-font-size-header-3); line-height: 1.1; letter-spacing: -.5px; }.ops-metric small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--faint); font-size: var(--semi-font-size-small); }.ops-metric.accent strong { color: var(--accent); }.ops-metric.warn strong { color: var(--warn); }.ops-section { margin-top: 22px; }.ops-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 11px; }.ops-section-head h2 { margin: 0; font-size: var(--semi-font-size-regular); }.ops-section-head p { margin: 2px 0 0; color: var(--muted); font-size: var(--semi-font-size-small); }.ops-section-head > span { color: var(--faint); font-size: var(--semi-font-size-small); }.ops-team-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }.ops-team-card {
  text-align: left; padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--text); cursor: pointer; box-shadow: var(--shadow-sm); transition: transform .15s, border-color .15s, box-shadow .15s;
}.ops-team-card:hover { transform: translateY(-1px); border-color: color-mix(in srgb, var(--primary) 45%, var(--border)); box-shadow: var(--shadow); }.ops-team-card.active { border-color: var(--primary); box-shadow: var(--op-shadow-medium); }.ops-team-head,
.ops-team-facts,
.ops-team-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; }.ops-team-head strong { font-size: var(--semi-font-size-small); }.ops-team-head span,
.ops-team-foot { color: var(--muted); font-size: var(--semi-font-size-small); }.ops-team-bar { height: 5px; border-radius: var(--op-radius-circle); background: var(--surface-3); overflow: hidden; margin: 12px 0 10px; }.ops-team-bar i { display: block; height: 100%; background: var(--accent); border-radius: inherit; }.ops-team-facts { justify-content: flex-start; flex-wrap: wrap; font-size: var(--semi-font-size-small); }.ops-team-facts b { font-size: var(--semi-font-size-regular); }.ops-team-facts span { color: var(--muted); margin-right: 7px; }.ops-team-foot { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--border); }.ops-toolbar {
  display: grid; grid-template-columns: minmax(220px, 1fr) 150px 150px auto; align-items: end; gap: 10px;
  padding: 12px; border: 1px solid var(--border); border-radius: var(--radius) var(--radius) var(--op-radius-none) var(--op-radius-none); background: var(--surface);
}.ops-field { display: flex; flex-direction: column; gap: 5px; min-width: 0; }.ops-field span { color: var(--muted); font-size: var(--semi-font-size-small); font-weight: 600; }.ops-field input,
.ops-field select {
  width: 100%; min-height: 34px; padding: 6px 9px; border: 1px solid var(--border-strong); border-radius: var(--op-radius);
  background: var(--surface-2); color: var(--text); outline: none;
}.ops-field input:focus,
.ops-field select:focus { border-color: var(--primary); box-shadow: var(--op-shadow-medium); }.ops-reset {
  min-height: 34px; padding: 6px 11px; border: 1px solid var(--border-strong); border-radius: var(--op-radius);
  background: var(--surface); color: var(--muted); cursor: pointer;
}.ops-reset:hover { color: var(--primary); border-color: var(--primary); }.ops-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-top: 0; border-radius: var(--op-radius-none) var(--op-radius-none) var(--radius) var(--radius); background: var(--surface); }.ops-table { width: 100%; border-collapse: collapse; min-width: 900px; }.ops-table th { padding: 9px 12px; background: var(--surface-2); color: var(--muted); font-size: var(--semi-font-size-small); text-align: left; white-space: nowrap; border-bottom: 1px solid var(--border); }.ops-table td { padding: 11px 12px; border-bottom: 1px solid var(--border); vertical-align: middle; color: var(--muted); font-size: var(--semi-font-size-small); }.ops-table tbody tr:last-child td { border-bottom: 0; }.ops-table tbody tr:hover { background: color-mix(in srgb, var(--primary-weak) 35%, transparent); }.ops-person-button,
.ops-product-button {
  display: flex; align-items: center; gap: 9px; max-width: 100%; padding: 0; border: 0; background: none; color: var(--text); text-align: left; cursor: pointer;
}.ops-person-button:hover strong,
.ops-product-button:hover strong { color: var(--primary); }.ops-person-avatar { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: var(--op-radius); background: linear-gradient(135deg, var(--primary), var(--op-bg-info)); color: var(--semi-color-bg-1); font-size: var(--semi-font-size-small); font-weight: 600; }.ops-person-button span,
.ops-product-button span { min-width: 0; }.ops-person-button strong,
.ops-product-button strong { display: block; max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-size: var(--semi-font-size-small); }.ops-person-button small,
.ops-product-button small { display: block; color: var(--faint); font-size: var(--semi-font-size-small); margin-top: 1px; }.ops-person-button small.ops-person-meta,
.ops-detail-person p {
  display: flex; align-items: center; gap: 5px; flex-wrap: wrap;
}.ops-role-chip {
  display: inline-flex; align-items: center; min-height: 18px; padding: 1px 6px;
  border-radius: var(--op-radius-circle); background: var(--surface-3); color: var(--muted);
  font-size: var(--semi-font-size-small); font-style: normal; font-weight: 600; line-height: 1;
}.ops-role-chip.supervisor { background: var(--primary-weak); color: var(--primary); }.ops-role-chip.leader { background: var(--accent-weak); color: var(--accent); }.ops-product-thumb { width: 34px; height: 34px; object-fit: cover; flex: 0 0 auto; border: 1px solid var(--border); border-radius: var(--op-radius); background: var(--surface-2); }.ops-progress { min-width: 125px; }.ops-progress-head { display: flex; align-items: baseline; justify-content: space-between; gap: 7px; }.ops-progress-head strong { color: var(--text); font-size: var(--semi-font-size-small); }.ops-progress-head small { color: var(--muted); font-size: var(--semi-font-size-small); }.ops-progress-bar { height: 4px; margin-top: 6px; border-radius: var(--op-radius-circle); overflow: hidden; background: var(--surface-3); }.ops-progress-bar i { display: block; height: 100%; border-radius: inherit; background: var(--primary); }.ops-progress.completed .ops-progress-bar i { background: var(--accent); }.ops-progress.incomplete .ops-progress-bar i,
.ops-progress.over .ops-progress-bar i { background: var(--bad); }.ops-rating-pills { display: flex; gap: 4px; white-space: nowrap; }.ops-rating-pill,
.ops-company-tier,
.ops-status-pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 22px; padding: 2px 7px; border-radius: var(--op-radius-circle); font-size: var(--semi-font-size-small); font-weight: 600;
}.ops-rating-pill.s { color: var(--ops-s); background: var(--ops-s-weak); }.ops-rating-pill.a { color: var(--ops-a); background: var(--ops-a-weak); }.ops-rating-pill.b { color: var(--ops-b); background: var(--ops-b-weak); }.ops-rating-pill.over { box-shadow: var(--op-shadow-medium); }.ops-company-tier { color: var(--muted); background: var(--surface-3); }.ops-status-pill { color: var(--muted); background: var(--surface-3); }.ops-status-pill.completed { color: var(--accent); background: var(--accent-weak); }.ops-status-pill.in_progress { color: var(--primary); background: var(--primary-weak); }.ops-status-pill.incomplete,
.ops-status-pill.over { color: var(--bad); background: var(--bad-weak); }.ops-status-pill.frozen { color: var(--warn); background: var(--warn-weak); }.ops-open-button { width: 28px; height: 28px; border-radius: var(--op-radius); border: 1px solid var(--border); background: var(--surface); color: var(--primary); cursor: pointer; }.ops-open-button:hover { border-color: var(--primary); background: var(--primary-weak); }.ops-target-copy strong { display: block; color: var(--text); font-size: var(--semi-font-size-small); }.ops-target-copy small { display: block; color: var(--faint); font-size: var(--semi-font-size-small); }.ops-empty,
.ops-loading,
.ops-error { padding: 52px 20px; text-align: center; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); color: var(--muted); }.ops-empty strong,
.ops-loading strong,
.ops-error strong { display: block; color: var(--text); font-size: var(--semi-font-size-regular); margin-bottom: 4px; }.ops-loading i { display: block; width: 28px; height: 28px; margin: 0 auto 12px; border: 3px solid var(--surface-3); border-top-color: var(--primary); border-radius: var(--op-radius-circle); animation: ops-spin .8s linear infinite; }.ops-error button { margin-top: 12px; }@keyframes ops-spin { to { transform: rotate(360deg); } }.ops-detail-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 16px; }.ops-detail-person { display: flex; align-items: center; gap: 12px; }.ops-detail-person .ops-person-avatar { width: 42px; height: 42px; border-radius: var(--op-radius-lg); font-size: var(--semi-font-size-regular); }.ops-detail-person h1 { margin: 0; font-size: var(--semi-font-size-header-4); }.ops-detail-person p { margin: 3px 0 0; color: var(--muted); font-size: var(--semi-font-size-small); }.ops-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--primary); padding: 0 0 8px; cursor: pointer; font-size: var(--semi-font-size-small); }.ops-detail-actions { display: flex; align-items: center; gap: 8px; }.ops-detail-actions a { text-decoration: none; }.ops-quota-grid { display: grid; grid-template-columns: minmax(240px, 1.25fr) repeat(4, minmax(120px, .75fr)); gap: 10px; }.ops-quota-card { padding: 14px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }.ops-quota-card > span { color: var(--muted); font-size: var(--semi-font-size-small); }.ops-quota-card > strong { display: block; margin-top: 5px; font-size: var(--semi-font-size-header-4); }.ops-quota-card > small { display: block; margin-top: 3px; color: var(--faint); font-size: var(--semi-font-size-small); }.ops-quota-card.primary { background: linear-gradient(135deg, var(--surface), var(--primary-weak)); border-color: color-mix(in srgb, var(--primary) 25%, var(--border)); }.ops-quota-card.s > strong { color: var(--ops-s); }.ops-quota-card.a > strong { color: var(--ops-a); }.ops-quota-card.b > strong { color: var(--ops-b); }.ops-quota-card.over { border-color: var(--bad); }.ops-quota-large { display: flex; align-items: baseline; gap: 5px; }.ops-quota-large b { font-size: var(--semi-font-size-header-2); }.ops-quota-large span { color: var(--muted); }.ops-quota-card .ops-progress-bar { margin-top: 10px; height: 6px; }.ops-dual-tabs { display: flex; gap: 4px; margin-top: 18px; padding: 4px; width: fit-content; border: 1px solid var(--border); border-radius: var(--op-radius); background: var(--surface-2); }.ops-dual-tabs button { border: 0; border-radius: var(--op-radius); padding: 7px 12px; background: transparent; color: var(--muted); cursor: pointer; font-size: var(--semi-font-size-small); }.ops-dual-tabs button.active { background: var(--surface); color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }.ops-distribution { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin-top: 12px; }.ops-distribution div { padding: 10px 12px; border: 1px solid var(--border); border-radius: var(--op-radius); background: var(--surface); }.ops-distribution span { display: block; color: var(--muted); font-size: var(--semi-font-size-small); }.ops-distribution strong { display: block; margin-top: 3px; font-size: var(--semi-font-size-header-6); }.ops-reason { max-width: 260px; line-height: 1.45; color: var(--text); }.ops-reason span { display: -webkit-box; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }.ops-date strong { display: block; color: var(--text); font-size: var(--semi-font-size-small); white-space: nowrap; }.ops-date small { display: block; color: var(--faint); font-size: var(--semi-font-size-small); white-space: nowrap; }.ops-responsibility strong { display: block; color: var(--text); font-size: var(--semi-font-size-small); }.ops-responsibility small { display: block; color: var(--faint); font-size: var(--semi-font-size-small); }.ops-drawer-backdrop { position: fixed; inset: 0; z-index: var(--op-z-shell); background: var(--semi-color-overlay-bg); opacity: 0; pointer-events: none; transition: opacity .16s; }.ops-drawer {
  position: fixed; top: 0; right: 0; z-index: var(--op-z-shell); width: min(500px, 94vw); height: 100vh; display: none; flex-direction: column;
  background: var(--surface); box-shadow: var(--shadow-lg); transform: translateX(104%); transition: transform .2s ease;
}.ops-drawer.open { display: flex; transform: translateX(0); }.ops-drawer-backdrop.open { opacity: 1; pointer-events: auto; }.ops-drawer-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 18px 20px 14px; border-bottom: 1px solid var(--border); }.ops-drawer-head strong { display: block; font-size: var(--semi-font-size-regular); }.ops-drawer-head span { color: var(--muted); font-size: var(--semi-font-size-small); }.ops-drawer-close { width: 30px; height: 30px; border: 1px solid var(--border); border-radius: var(--op-radius); background: var(--surface); color: var(--text); cursor: pointer; }.ops-drawer-body { overflow-y: auto; padding: 18px 20px 28px; }.ops-drawer-section { padding-bottom: 17px; margin-bottom: 17px; border-bottom: 1px solid var(--border); }.ops-drawer-section:last-child { border-bottom: 0; margin-bottom: 0; }.ops-drawer-section h3 { margin: 0 0 10px; font-size: var(--semi-font-size-small); }.ops-grade-compare { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 9px; padding: 12px; border-radius: var(--op-radius); background: var(--surface-2); }.ops-grade-compare div { text-align: center; }.ops-grade-compare span { display: block; color: var(--muted); font-size: var(--semi-font-size-small); }.ops-grade-compare strong { display: block; margin-top: 3px; font-size: var(--semi-font-size-header-4); }.ops-grade-compare i { color: var(--faint); font-style: normal; }.ops-fact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }.ops-fact-row { padding: 9px 10px; border: 1px solid var(--border); border-radius: var(--op-radius); background: var(--surface); }.ops-fact-row span { display: block; color: var(--muted); font-size: var(--semi-font-size-small); }.ops-fact-row strong { display: block; margin-top: 2px; color: var(--text); font-size: var(--semi-font-size-small); overflow-wrap: anywhere; }.ops-full-reason { padding: 12px; border-radius: var(--op-radius); background: var(--surface-2); color: var(--text); white-space: pre-wrap; overflow-wrap: anywhere; font-size: var(--semi-font-size-small); }.ops-timeline { list-style: none; padding: 0; margin: 0; }.ops-timeline li { position: relative; padding: 0 0 14px 18px; color: var(--muted); font-size: var(--semi-font-size-small); }.ops-timeline li::before { content: ""; position: absolute; left: 1px; top: 4px; width: 7px; height: 7px; border-radius: var(--op-radius-circle); background: var(--primary); box-shadow: var(--op-shadow-medium); }.ops-timeline li::after { content: ""; position: absolute; left: 4px; top: 14px; bottom: 2px; width: 1px; background: var(--border); }.ops-timeline li:last-child::after { display: none; }.ops-timeline strong { display: block; color: var(--text); font-size: var(--semi-font-size-small); }.ops-timeline span { display: block; margin-top: 1px; }.ops-timeline time { display: block; margin-top: 2px; color: var(--faint); font-size: var(--semi-font-size-small); }.ops-policy-note { padding: 10px 12px; border-radius: var(--op-radius); background: var(--warn-weak); color: var(--muted); font-size: var(--semi-font-size-small); }@media (max-width: 1180px) {
  .ops-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ops-team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-quota-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-quota-card.primary { grid-column: span 2; }
}@media (max-width: 820px) {
  .ops-page-actions { justify-content: flex-start; }
  .ops-fact-notice { grid-template-columns: auto 1fr; }
  .ops-fact-notice > small { grid-column: 2; }
  .ops-metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ops-team-grid { grid-template-columns: 1fr; }
  .ops-toolbar { grid-template-columns: 1fr 1fr; }
  .ops-toolbar .ops-field:first-child { grid-column: span 2; }
  .ops-detail-head { flex-direction: column; }
  .ops-distribution { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}@media (max-width: 560px) {
  .ops-metrics { grid-template-columns: 1fr; }
  .ops-toolbar { grid-template-columns: 1fr; }
  .ops-toolbar .ops-field:first-child { grid-column: auto; }
  .ops-quota-grid { grid-template-columns: 1fr; }
  .ops-quota-card.primary { grid-column: auto; }
  .ops-fact-grid { grid-template-columns: 1fr; }
}/* Weekly history controls remain usable at narrow widths. */.ops-history-controls { display:flex; flex-wrap:wrap; align-items:end; gap:8px; max-width:100%; }.ops-history-controls label { display:flex; flex-direction:column; gap:4px; color:var(--muted); font-size:var(--semi-font-size-small); }.ops-history-controls select { min-width:240px; max-width:100%; border:1px solid var(--border); border-radius:var(--op-radius); padding:8px; background:var(--surface,var(--semi-color-bg-1)); color:var(--text); }.ops-history-controls button { border:1px solid var(--border); border-radius:var(--op-radius); background:var(--surface,var(--semi-color-bg-1)); color:var(--text); padding:9px 12px; cursor:pointer; }.ops-history-controls button:disabled { opacity:.4; cursor:default; }.ops-history-notice { display:flex; flex-direction:column; gap:7px; padding:16px 18px; margin:12px 0; border:1px solid var(--border); border-radius:var(--op-radius-lg); background:var(--surface,var(--semi-color-bg-1)); }.ops-history-notice span,.ops-history-notice small { color:var(--muted); }@media(max-width:700px) { .ops-page-actions { align-items:flex-start; width:100%; } .ops-history-controls { width:100%; } .ops-history-controls label { flex:1; min-width:0; } .ops-history-controls select { min-width:0; width:100%; } }.ops-company-decision { display:block; margin-top:6px; color:var(--muted); font-size:var(--semi-font-size-small); } }
