/*
 * Sentrix web redesign — approved boards 2026-10-21 (design-final-20261021, "Sentrix 웹 · 확정").
 * Loaded after every inline <style> block of index.html, so it is the final authority for the redesigned
 * surfaces (see DESIGN.md "Redesign 2026-10-21"). Selectors are scoped to the owning view and use !important only
 * where earlier inline/components rules already do; light values come from the boards, dark values map onto the
 * existing tokens.css dark tokens.
 */

:root {
  --sxr-canvas: #f0f0f0; /* R17 C L0 바탕(중립) */
  --sxr-card: #ffffff;
  --sxr-line: #dcdcdc; /* R17 C 카드 선 */
  --sxr-line-soft: #ebebeb; /* R17 C 행 구분 */
  --sxr-line-strong: #c8c8c8;
  --sxr-head: #f6f6f6; /* R17 C L2 표 머리 */
  --sxr-row-hover: #fafafa;
  --sxr-card-shadow: 0 1px 2px rgba(0, 0, 0, 0.06); /* R17 C L1 카드 그림자 한 단계 */
  --sxr-check: #374151; /* R17 체크박스 진회색 */
  --sxr-ink: #111827;
  --sxr-ink-2: #374151;
  --sxr-sub: #6b7280;
  --sxr-muted: #9ca3af;
  --sxr-chip: #f3f4f6;
  --sxr-accent: #ff6b00;
  --sxr-accent-ink: #b64000;
  --sxr-attention: #c2410c;
  --sxr-amber: #a16207;
  --sxr-amber-strong: #b45309;
  --sxr-green: #15803d;
  --sxr-red: #dc2626;
  --sxr-blue: #1e40af;
  --sxr-neutral: #6b7280;
  --sxr-warn-fill: #fffbf2;
  --sxr-warn-line: #f3cf86;
  --sxr-accent-fill: #fff7ed;
  --sxr-accent-line: #fdba74;
  --sxr-focus: #111827; /* E8 */
  --sxr-select-line: #ff6b00; /* 표 선택 행 안쪽 2px 링 */
  --sxr-kpi-band: transparent; /* R17 C: 회색 띠 없음, 칸이 카드 */
  --sxr-radius: 12px;
  --sxr-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html[data-theme="dark"],
body.dark {
  --sxr-canvas: var(--ui-bg-canvas, #0b1220);
  --sxr-card: var(--ui-bg-surface, #121c2f);
  --sxr-line: var(--ui-border-subtle, #23324e);
  --sxr-line-soft: #1c2840;
  --sxr-line-strong: #33466a;
  --sxr-head: #16213a;
  --sxr-row-hover: #172238;
  --sxr-ink: var(--ui-text-primary, #eaf0ff);
  --sxr-ink-2: #cbd5e1;
  --sxr-sub: var(--ui-text-secondary, #a3b0c6);
  --sxr-muted: #8190a8;
  --sxr-chip: #1e293b;
  --sxr-accent-ink: #fb923c;
  --sxr-attention: #fdba74;
  --sxr-amber: #fbbf24;
  --sxr-amber-strong: #fcd34d;
  --sxr-green: #4ade80;
  --sxr-red: #f87171;
  --sxr-blue: #93c5fd;
  --sxr-neutral: #94a3b8;
  --sxr-warn-fill: rgba(251, 191, 36, 0.08);
  --sxr-warn-line: rgba(251, 191, 36, 0.42);
  --sxr-accent-fill: rgba(255, 107, 0, 0.1);
  --sxr-accent-line: rgba(251, 146, 60, 0.5);
  --sxr-focus: #ffffff;
  --sxr-select-line: #fb923c;
  --sxr-kpi-band: transparent; /* R17 C: 다크도 띠 없음 */
  --sxr-card-shadow: none;
  --sxr-check: #cbd5e1;
}

/* ---------- Shared: board empty state ---------- */
.sx-board-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 28px 18px;
  color: var(--sxr-sub);
  font-size: 14px;
  line-height: 20px;
  text-align: center;
  flex: 1 1 auto;
}
.sx-board-empty-mark { /* P2·P3: shared ② pictogram, no circle, no "+" badge */
  width: 76px;
  height: 76px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.sx-board-empty-mark > svg { width: 72px; height: 72px; display: block; overflow: visible; }
.sx-board-empty .sx-empty-state-message {
  font-size: 14px !important;
  font-weight: 400 !important;
  color: var(--sxr-sub) !important;
  max-width: 34ch;
  text-wrap: balance;
}

/* ---------- Home (Home-Final / Home-Empty) ---------- */
html body #homeView#homeView#homeView#homeView#homeView {
  background: var(--sxr-canvas) !important;
}
html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot#sentrixHomeDashboardRoot {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}
html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot.hidden { display: none !important; }

/* KPI-B v2 (E1·E4·E9·E11·E12·D2): one grey band of white 72px cells without icons — label + caption left, count right.
   app.js marks a card with a waiting count (승인 대기 · 미확인) data-attention (orange dot) and a 0 count .is-zero (grey count). */
html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot { container: sxrhome / inline-size; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 8px !important; /* E9 */
  padding: var(--sxr-kpi-band-pad, 0px) !important; /* R17 C: 띠 없음 → 안쪽 여백 0 */
  margin: 0 !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--sxr-kpi-band) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
@container sxrhome (max-width: 659.98px) { html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } } /* D1a: 4 cells need ~153px each */
@media (max-width: 1279.98px) { html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-grid { padding: 4px !important; gap: 6px !important; } } /* E9 */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-card {
  appearance: none;
  display: grid !important; /* E1: copy | count */
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-areas: "copy num" !important;
  align-items: center !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  min-width: 0 !important;
  min-height: 72px !important; /* D1 */
  height: auto !important;
  padding: 14px 18px !important;
  margin: 0 !important;
  border-radius: var(--sxr-radius) !important;
  background: var(--sxr-card) !important; /* E12 */
  border: 1px solid var(--sxr-line) !important;
  box-shadow: none !important;
  color: var(--sxr-ink) !important;
  font: inherit;
  text-align: left !important;
  cursor: pointer;
  transition: border-color 160ms var(--sxr-ease), transform 160ms var(--sxr-ease);
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-card:hover { border-color: var(--sxr-line-strong) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-card:active { transform: translateY(1px); }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-card:focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: -2px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-copy {
  grid-area: copy !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  gap: 2px !important;
  min-width: 0 !important;
  margin: 0 !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-label {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 600 !important;
  color: var(--sxr-ink-2) !important;
  white-space: nowrap !important;
  letter-spacing: 0 !important;
}
/* E2: 지금 처리할 것이 있는 칸(승인 대기 · 미확인 > 0)만 라벨 앞 7px 주황 점 */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-card[data-attention="true"]:not(.is-zero) .sentrix-home-kpi-label::before { content: "" !important; display: block !important; flex: 0 0 7px !important; width: 7px !important; height: 7px !important; border-radius: 50% !important; background: var(--soc-status-now-dot, #ff6b00) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-meta {
  display: block !important;
  max-width: 100% !important;
  min-width: 0 !important;
  font-size: 12px !important;
  line-height: 16px !important;
  font-weight: 400 !important;
  color: var(--sxr-sub) !important; /* E11 */
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}
/* D2 · E4: 보조 안 숫자도 400 · 보조 색(강조는 점이 맡음) */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-badge {
  display: inline !important;
  min-width: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: inherit !important;
  font-size: 12px !important;
  font-weight: 400 !important;
  font-variant-numeric: tabular-nums;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-value {
  grid-area: num !important;
  align-self: center !important; /* HS-04 */
  justify-self: end !important;
  font-size: 28px !important;
  line-height: 32px !important;
  font-weight: 700 !important;
  letter-spacing: 0 !important;
  color: var(--sxr-ink) !important; /* E4 */
  font-variant-numeric: tabular-nums;
  white-space: nowrap !important;
  margin: 0 !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-card.is-zero .sentrix-home-kpi-value { color: var(--sxr-sub) !important; } /* E4: 0건 */

/* Rows */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops,
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-status {
  display: grid !important;
  gap: 16px !important;
  align-items: stretch !important;
  margin: 0 !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-status { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops { grid-template-columns: minmax(0, 1fr) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops[data-has-attendance="true"],
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops[data-has-todos="true"] { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops[data-has-attendance="true"][data-has-todos="true"] {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr) !important;
}
/* D10: the rows follow the dashboard's own width (1180px viewport ≈ 900px content), so the docked 도우미 at 1440 also
   stacks them instead of squeezing three cards into the narrower page (1180 - 214 sidebar - 64 padding = 902). HS-03: the bottom row is one column too. */
@container sxrhome (max-width: 902px) {
  html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops,
  html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops[data-has-attendance="true"],
  html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops[data-has-todos="true"],
  html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-ops[data-has-attendance="true"][data-has-todos="true"],
  html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-row-status { grid-template-columns: minmax(0, 1fr) !important; }
}
/* 11-01 Home A: from 1024px (fitHomeDashboardHeight in app.js sets the root's min-height to the page) 실시간 운영 현황 takes
   the spare height and the notice band closes the page 24px above the bottom, with no page scroll and no empty band. */
@media (min-width: 1024px) {
  html body main.container:has(#homeView.is-active:not(.hidden) #sentrixHomeDashboardRoot:not(.hidden)) { padding-bottom: 24px !important; }
  html body main.container:has(#homeView.is-active:not(.hidden) #sentrixHomeDashboardRoot:not(.hidden)) #dashboardPanel { padding-bottom: 0 !important; }
  html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot#sentrixHomeDashboardRoot { padding-bottom: 0 !important; box-sizing: border-box; }
  html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot > .sentrix-home-row-ops { flex: 1 0 auto !important; }
}
/* 11-01 Home A notice band: the ARLS r15 home band (hops-notice) values — #111827 · 48 high · radius 12 · #FFB37A
   megaphone and 「공지」 · 0.6s roll every 3.3s (app.js startHomeNoticeBandRotation). It stays dark in both themes as in
   ARLS; the dark theme adds a hairline so it does not merge with the canvas. */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; min-width: 0; height: 48px; padding: 0 18px; border-radius: 12px; background: #111827; color: #FFFFFF; overflow: hidden; box-sizing: border-box; }
:is(html[data-theme="dark"] body, html body.dark) #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band { box-shadow: inset 0 0 0 1px var(--sxr-line-strong); }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-icon { flex: 0 0 auto; color: #FFB37A; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-tag { flex: 0 0 auto; font-size: 13px; font-weight: 700; color: #FFB37A; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-sep { flex: 0 0 auto; width: 1px; height: 16px; background: rgba(255, 255, 255, 0.18); }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-window { flex: 1 1 auto; min-width: 0; height: 48px; overflow: clip; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-track { transition: transform 600ms cubic-bezier(0.77, 0, 0.175, 1); }
html body #homeView#homeView#homeView#homeView#homeView button.sentrix-home-notice-band-item { display: flex !important; align-items: center !important; gap: 12px; width: 100% !important; height: 48px !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; box-shadow: none !important; color: #FFFFFF !important; font-size: 14px !important; text-align: left !important; cursor: pointer; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-item b { min-width: 0; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-new { flex: 0 0 auto; display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 5px; background: #FF6B00; color: #FFFFFF; font-size: 11px; font-weight: 800; }
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-notice-band-date, .sentrix-home-notice-band-index) { flex: 0 0 auto; font-size: 13px; color: rgba(255, 255, 255, 0.55); font-variant-numeric: tabular-nums; }
html body #homeView#homeView#homeView#homeView#homeView button.sentrix-home-notice-band-more { flex: 0 0 auto; height: auto !important; min-height: 0 !important; margin: -3px -6px !important; padding: 3px 6px !important; border: 0 !important; border-radius: 6px !important; background: none !important; box-shadow: none !important; color: #FFFFFF !important; font-size: 13px !important; font-weight: 700 !important; cursor: pointer; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-item:hover b,
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-more:hover { text-decoration: underline; text-underline-offset: 3px; }
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-notice-band-item, .sentrix-home-notice-band-more):focus-visible { outline: 2px solid #FF8A3D !important; outline-offset: -2px !important; border-radius: 6px !important; }
@media (prefers-reduced-motion: reduce) { html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band-track { transition: none; } }
/* r16w VQA D2: on a phone the title keeps the band — the tag, divider, date and 1 / N counter step aside */
@media (max-width: 767px) {
  html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-band { gap: 10px; padding: 0 14px; }
  html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-notice-band-tag, .sentrix-home-notice-band-sep, .sentrix-home-notice-band-date, .sentrix-home-notice-band-index) { display: none; }
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-att-slot[hidden] { display: none !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-att-slot { min-width: 0; display: flex; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-att-slot > .sx-att-home-mount { flex: 1 1 auto; display: flex; min-width: 0; margin: 0 !important; }

/* Cards */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-card {
  display: flex !important;
  flex-direction: column !important;
  min-width: 0 !important;
  height: 100% !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border-radius: var(--sxr-radius) !important;
  background: var(--sxr-card) !important;
  border: 1px solid var(--sxr-line) !important;
  box-shadow: none !important;
  overflow: hidden !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-card-head {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 16px 18px 12px !important;
  margin: 0 !important;
  border: 0 !important;
  min-height: 0 !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-card-head h3 {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 22px !important;
  font-weight: 700 !important;
  color: var(--sxr-ink) !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-link-btn {
  margin-left: auto !important;
  padding: 2px 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: var(--sxr-sub) !important;
  font-size: 13px !important;
  font-weight: 400 !important;
  white-space: nowrap;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-link-btn:hover { color: var(--sxr-accent-ink) !important; text-decoration: underline; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-count-chip {
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  box-sizing: border-box;
  border-radius: 10px;
  background: var(--sxr-chip);
  color: var(--sxr-ink);
  font-size: 12px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-overdue-note { font-size: 12px; font-weight: 700; color: var(--sxr-amber-strong); }

/* Tables */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table-scroll {
  flex: 1 1 auto !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table {
  width: 100% !important;
  min-width: 0 !important;
  border-collapse: collapse !important;
  table-layout: fixed !important;
  font-size: 13px !important;
  margin: 0 !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table th {
  padding: 8px !important;
  height: auto !important;
  background: var(--sxr-head) !important;
  color: var(--sxr-sub) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  text-align: left !important;
  border: 0 !important;
  white-space: nowrap;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table td {
  height: 40px !important;
  padding: 0 8px !important;
  border: 0 !important;
  border-top: 1px solid var(--sxr-line-soft) !important;
  color: var(--sxr-ink-2) !important;
  background: transparent !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  font-variant-numeric: tabular-nums;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table :is(th, td):first-child { padding-left: 18px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table :is(th, td):last-child { padding-right: 18px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table tbody tr:hover td { background: var(--sxr-row-hover) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table tbody tr[role="button"] { cursor: pointer; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table tbody tr[role="button"]:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: -2px; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-empty-row td,
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-empty-row:hover td {
  height: auto !important;
  padding: 0 !important;
  border-top: 0 !important;
  background: transparent !important;
  white-space: normal !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table:has(.sentrix-home-empty-row) thead { display: none; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-table:has(.sentrix-home-empty-row) { height: 100%; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-site-name { font-weight: 700 !important; color: var(--sxr-ink) !important; }

/* 실시간 운영 현황 column widths (board: 72 · 26% · auto · 120 · 88). 11-01 webux: 제목 · 상태 · 시간 centre the header and
   the value on the same axis, and 시간 keeps 24px from the card edge instead of sitting on it. */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table :is(th, td):nth-child(1) { width: 72px; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table :is(th, td):nth-child(2) { width: 26%; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table :is(th, td):nth-child(n+3) { text-align: center !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table :is(th, td):nth-child(4) { width: 120px; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table :is(th, td):nth-child(5) { width: 88px; padding-right: 24px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table td:nth-child(3) { color: var(--sxr-ink) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kind > span[aria-hidden="true"] { display: none !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kind { color: var(--sxr-ink) !important; font-weight: 400 !important; background: none !important; padding: 0 !important; }

/* Status: dot + text, colour carries the tone and the label carries the meaning */
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status) {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  height: auto !important;
  min-height: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  color: var(--soc-status-text) !important; /* E2: 글자 #374151, 점(--sxr-sx-tone)이 상태를 맡음 */
  -webkit-text-fill-color: currentColor !important;
  --sxr-sx-tone: var(--soc-status-done-dot);
}
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status)::before {
  content: "" !important;
  display: inline-block !important;
  flex: 0 0 auto;
  box-sizing: border-box !important;
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: var(--sxr-sx-tone) !important;
  position: static !important;
}
/* E2·E3 점: 지금 처리 주황 · 진행 중 검정 · 끝남 회색 · 작업 취소 점선 + 취소선 · 위험만 빨강 */
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status)[data-tone="warning"] { --sxr-sx-tone: var(--soc-status-now-dot); }
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status)[data-tone="info"] { --sxr-sx-tone: var(--soc-status-progress-dot); }
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status):is([data-tone="success"], [data-tone="neutral"]) { --sxr-sx-tone: var(--soc-status-done-dot); }
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status)[data-tone="danger"] { --sxr-sx-tone: var(--soc-status-danger-dot); color: var(--soc-status-danger-text) !important; }
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status)[data-tone="muted"] { color: var(--soc-status-cancel-text) !important; text-decoration: line-through !important; }
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status)[data-tone="muted"]::before { width: 8px !important; height: 8px !important; background: transparent !important; border: 1.5px dashed var(--soc-status-cancel-text) !important; }

/* 내 할 일 */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-card { padding-bottom: 14px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 18px;
  flex: 1 1 auto;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 9px;
  box-shadow: inset 0 0 0 1px var(--sxr-line);
  transition: opacity 180ms var(--sxr-ease), box-shadow 180ms var(--sxr-ease);
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-row.is-overdue { background: var(--sxr-warn-fill); box-shadow: inset 0 0 0 1px var(--sxr-warn-line); }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-row[aria-busy="true"] { opacity: 0.55; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-check {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--sxr-check);
  cursor: pointer;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-copy {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  cursor: pointer;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-copy strong { font-size: 13px; font-weight: 600; color: var(--sxr-ink); }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-copy span { font-size: 12px; color: var(--sxr-sub); }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-due { flex: 0 0 auto; font-size: 12px; font-weight: 700; color: var(--sxr-sub); font-variant-numeric: tabular-nums; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-row.is-overdue .sentrix-home-todo-due { color: var(--sxr-amber-strong); }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-card-foot { margin: auto 18px 0 !important; padding-top: 10px; font-size: 12px; color: var(--sxr-muted); }

/* 지원근무자 tabs */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-tabs {
  display: flex !important;
  gap: 16px !important;
  padding: 0 18px !important;
  margin: 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--sxr-line-soft) !important;
  background: transparent !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-tabs button {
  padding: 4px 0 8px !important;
  margin: 0 !important;
  min-height: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: var(--sxr-sub) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  box-shadow: none !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-tabs button.is-active { color: var(--sxr-ink) !important; font-weight: 800 !important; box-shadow: inset 0 -2px 0 var(--sxr-accent) !important; } /* SPEC 탭: 선택 잉크 800 + 2px 주황 밑줄 */

/* 최근 공지 */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-list { display: flex !important; flex-direction: column !important; padding: 0 18px 12px !important; gap: 0 !important; flex: 1 1 auto; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-row {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) auto !important;
  column-gap: 12px !important;
  row-gap: 2px !important;
  padding: 10px 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--sxr-line-soft) !important;
  background: transparent !important;
  border-radius: 0 !important;
  cursor: pointer;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-row:first-child { border-top: 0 !important; padding-top: 2px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-row:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; border-radius: 6px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-dot { display: none !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-row > div { display: contents !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-row strong {
  grid-column: 1; grid-row: 1;
  font-size: 14px !important; font-weight: 700 !important; color: var(--sxr-ink) !important;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-row time { grid-column: 2; grid-row: 1; font-size: 13px !important; color: var(--sxr-sub) !important; font-variant-numeric: tabular-nums; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-notice-row p {
  grid-column: 1 / -1; grid-row: 2;
  margin: 0 !important; font-size: 13px !important; color: var(--sxr-sub) !important;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0;
}

/* 오늘 내 지점 상태 (field) keeps its definition list inside the board card frame */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-definition-list { padding: 0 18px 14px !important; margin: 0 !important; }

/* Motion: the dashboard arrives once per load; reduced motion keeps the final state */
@keyframes sxr-rise { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot.is-entering > * { animation: sxr-rise 280ms var(--sxr-ease) both; }
html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot.is-entering > :nth-child(2) { animation-delay: 40ms; }
html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot.is-entering > :nth-child(3) { animation-delay: 80ms; }
html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot.is-entering > :nth-child(4) { animation-delay: 120ms; }
@media (prefers-reduced-motion: reduce) {
  html body #homeView#homeView#homeView#homeView#homeView #sentrixHomeDashboardRoot > * { animation: none !important; }
  html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-card,
  html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-todo-row { transition: none !important; }
}
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-dot-status > span[aria-hidden="true"] { display: none !important; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-kpi-card :is(.sentrix-home-kpi-label, .sentrix-home-kpi-meta) { align-self: flex-start !important; text-align: left !important; margin: 0 !important; }
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-pill, .sentrix-home-dot-status) {
  --sx-pill-ring-width: 0px !important;
  --sx-pill-bd: transparent !important;
  --sx-pill-bg: transparent !important;
  --sx-pill-fill: transparent !important;
  --sx-pill-ring: transparent !important;
  --sx-pill-fg: currentColor !important;
  outline: 0 !important;
}
/* site state: 확인중 검정 점 · 요청 주황 점 · 정상 회색 점 — tones in the Status block above (E2·E3) */

/* 내 출퇴근 (att3 home card inside the Home-Final first slot) */
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  border-radius: var(--sxr-radius) !important;
  background: var(--sxr-card) !important;
  border: 1px solid var(--sxr-line) !important;
  box-shadow: none !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-card-main { display: flex !important; flex-direction: column !important; gap: 12px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-head { display: flex !important; align-items: center !important; gap: 8px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-title { margin: 0 !important; font-size: 16px !important; line-height: 22px !important; font-weight: 700 !important; color: var(--sxr-ink) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-pill {
  height: 22px !important; padding: 0 8px !important; border-radius: 6px !important; border: 0 !important;
  background: var(--sxr-chip) !important; color: var(--sxr-ink-2) !important; font-size: 12px !important; font-weight: 700 !important;
  display: inline-flex !important; align-items: center !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-head-link {
  margin-left: auto !important; padding: 2px 0 !important; border: 0 !important; background: transparent !important;
  color: var(--sxr-sub) !important; font-size: 13px !important; font-weight: 400 !important; min-height: 0 !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-head-link:hover { color: var(--sxr-accent-ink) !important; text-decoration: underline; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-meta { display: grid !important; grid-template-columns: 52px minmax(0, 1fr) !important; row-gap: 6px !important; column-gap: 0 !important; font-size: 13px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-meta-item { display: contents !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-meta-label { color: var(--sxr-sub) !important; font-size: 13px !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-meta strong { font-weight: 700 !important; color: var(--sxr-ink) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-actions { display: flex !important; flex-direction: column !important; gap: 8px !important; margin: 0 !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-punch {
  width: 100% !important; height: 44px !important; border-radius: 8px !important; border: 0 !important;
  background: var(--sxr-accent) !important; color: #ffffff !important; font-size: 15px !important; font-weight: 700 !important;
  transition: filter 140ms var(--sxr-ease), transform 140ms var(--sxr-ease);
}
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-punch:hover { filter: brightness(0.96); }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-punch:active { transform: translateY(1px); }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-punch[aria-disabled="true"] { filter: saturate(0.6); cursor: progress; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent {
  display: flex; flex-direction: column; gap: 2px; border-top: 1px solid var(--sxr-line-soft); padding-top: 10px; margin-top: auto;
}
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-title { font-size: 12px; font-weight: 600; color: var(--sxr-sub); margin-bottom: 4px; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-row {
  display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 8px; padding: 5px 0; font-size: 13px; font-variant-numeric: tabular-nums; color: var(--sxr-ink);
}
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-row > :first-child { color: var(--sxr-sub); }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-row > :last-child { font-weight: 600; color: var(--sxr-sub); }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-row > [data-tone="warning"] { color: var(--sxr-attention); }
/* r3j12 (VQA-FINAL B L4): below 768 the shared card orders main 1 · actions 2 · location 3 · message 4 (components.css), so
   최근 기록 (order 0) was drawn above 내 출퇴근. It stays last. */
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] > .sx-att-recent { order: 5; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"],
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] :is(.sx-att-card-main, .sx-att-actions, .sx-att-location, .sx-att-recent) {
  text-align: left !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-head { justify-content: flex-start !important; align-items: center !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-location {
  display: flex !important; gap: 10px !important; align-items: flex-start !important; margin: 0 !important; padding: 10px 12px !important;
  border: 0 !important; border-radius: 9px !important; background: var(--sxr-head) !important; box-shadow: none !important;
}
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-location-copy strong { font-size: 13px !important; color: var(--sxr-ink) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-location-copy span { font-size: 12px !important; color: var(--sxr-sub) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-location-copy a { display: flex; align-items: center; min-height: 44px; width: fit-content; color: var(--sxr-accent-ink) !important; font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-pill { border: 0 !important; box-shadow: none !important; }
/* SX-M7 D-SX-158: the range column takes its one-line width when it fits and otherwise shrinks (minmax 0) so its sessions wrap
   after the comma inside the card; each session stays whole (.sx-att-nowrap). The note keeps its own width (max-content). */
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-row { grid-template-columns: 76px minmax(0, max-content) minmax(max-content, 1fr) !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-row > :nth-child(2) { white-space: normal; min-width: 0; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-row > :nth-child(2) > .sx-att-nowrap { white-space: nowrap; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-recent-row > :last-child { text-align: right; overflow-wrap: anywhere; }

/* ======================= 상황실 (Alerts-Final / Alerts-Actions / Alerts-Todo) ======================= */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) { background: var(--sxr-canvas) !important; }

/* shared KPI-B card (상황실 · 티켓 · 지원근무자 · 직원 목록 reuse .sxr-kpi-card)
   KPI-B v2 (2026-10-27 owner decisions E1·E4·E5·E9·E11·E12·D1a·D2): the summary row is one grey band (14 radius, 8 inset,
   8 gaps; 4/6 at ≤1279) holding white 72px cells without icons — label + caption on the left, the count on the right.
   R17: every status cell carries a 7px dot (see the R17 block below); app.js / ui.js mark a 0 count with .is-zero (grey count, dot kept). */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 8px !important; /* E9 */
  padding: var(--sxr-kpi-band-pad, 0px) !important; /* R17 C: 띠 없음 → 안쪽 여백 0 */
  margin: 0 0 16px !important;
  border: 0 !important;
  border-radius: 14px !important;
  background: var(--sxr-kpi-band) !important;
  box-shadow: none !important;
  box-sizing: border-box !important;
}
@media (max-width: 1279.98px) {
  html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-grid { padding: var(--sxr-kpi-band-pad, 0px) !important; gap: 6px !important; } /* R17 C 띠 없음; D1a: keeps the 3 + 3 row at 158px */
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card {
  appearance: none;
  display: grid !important; /* E1: no icon — copy | count */
  grid-template-columns: minmax(0, 1fr) auto !important;
  grid-template-rows: auto !important;
  grid-template-areas: "copy num" !important;
  align-items: center !important;
  justify-items: stretch !important;
  column-gap: 12px !important;
  row-gap: 0 !important;
  min-width: 0 !important;
  min-height: 72px !important; /* E12 */
  height: auto !important;
  max-height: none !important;
  padding: 14px 18px !important;
  margin: 0 !important;
  border-radius: var(--sxr-radius) !important;
  background: var(--sxr-card) !important; /* E12 white cell, 1px line; R17 C: L1 shadow */
  border: 1px solid var(--sxr-line) !important;
  box-shadow: var(--sxr-card-shadow) !important;
  color: var(--sxr-ink) !important;
  text-align: left !important;
  cursor: pointer;
  transition: border-color 160ms var(--sxr-ease);
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card:hover { border-color: var(--sxr-line-strong) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card:is(.is-active, [aria-pressed="true"]) { border-color: var(--sxr-select-line) !important; box-shadow: 0 0 0 1px var(--sxr-select-line) inset !important; background: var(--sxr-card) !important; } /* E5 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card:focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: -2px !important; } /* R9 A8-3: inset, the summary surface clips the cards */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-copy { grid-area: copy !important; justify-self: stretch !important; align-self: center !important; display: flex !important; flex-direction: column !important; align-items: flex-start !important; justify-content: center !important; gap: 2px !important; min-width: 0 !important; margin: 0 !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card :is(.soc-summary-label, .soc-ticket-reference-summary-label) { display: flex !important; align-items: center !important; gap: 6px !important; font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sxr-ink-2) !important; white-space: nowrap !important; letter-spacing: 0 !important; margin: 0 !important; text-align: left !important; align-self: flex-start !important; } /* E11 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-sub { display: block !important; min-width: 0 !important; font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; font-style: normal !important; color: var(--sxr-ink-2) !important; max-width: 100% !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; } /* D2; R17: 줄바꿈 + 진하게 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-sub[data-attention="true"] { color: var(--sxr-sub) !important; font-weight: 400 !important; } /* E5: the dot carries the attention */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card :is(.soc-summary-value, .soc-ticket-reference-summary-value) { grid-area: num !important; align-self: center !important; justify-self: end !important; margin: 0 !important; font-size: 28px !important; line-height: 32px !important; font-weight: 700 !important; letter-spacing: 0 !important; color: var(--sxr-ink) !important; font-variant-numeric: tabular-nums !important; white-space: nowrap !important; } /* E4 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card.is-zero :is(.soc-summary-value, .soc-ticket-reference-summary-value) { color: var(--sxr-sub) !important; }
/* R17 (Mark 2026-10-31, UI/UX Pro Max 검토): every status cell carries a 7px dot in its status colour, also at 0 (the count turns grey);
   the total cells (전체 · 오늘 사건 · 중요사건) are not statuses and carry none. 지금 처리 = orange, 진행 = ink, 끝 = grey, 반려·지원 불가 = red, 취소 = dashed. */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card:is([data-ticket-summary-filter="pending"], [data-ticket-summary-filter="approved"], [data-ticket-summary-filter="unavailable"], [data-ticket-summary-filter="rejected"], [data-ticket-summary-filter="cancelled"], [data-summary-filter="status-received"], [data-summary-filter="status-progress"], [data-summary-filter="status-closed"]) :is(.soc-summary-label, .soc-ticket-reference-summary-label)::before { content: "" !important; display: block !important; flex: 0 0 7px !important; width: 7px !important; height: 7px !important; border-radius: 50% !important; box-sizing: border-box !important; background: var(--soc-status-now-dot, #ff6b00) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card[data-summary-filter="status-progress"] .soc-summary-label::before { background: var(--soc-status-progress-dot, var(--sxr-ink)) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card:is([data-ticket-summary-filter="approved"], [data-summary-filter="status-closed"]) :is(.soc-summary-label, .soc-ticket-reference-summary-label)::before { background: var(--sxr-muted) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card:is([data-ticket-summary-filter="rejected"], [data-ticket-summary-filter="unavailable"]) .soc-ticket-reference-summary-label::before { background: var(--sxr-red) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card[data-ticket-summary-filter="cancelled"] .soc-ticket-reference-summary-label::before { background: transparent !important; border: 1.5px dashed var(--sxr-muted) !important; }
/* D1a (canvas3 measurement without icons): a cell needs ~153–158px, so 티켓 keeps 6 in a row from a 1060px band
   (3 + 3 below, 2 columns under 530) and 상황실 keeps 5 from 840px (3 + 2 below: 6 tracks, span 2 / span 3). */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-controls { container: sxrtkkpi / inline-size; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-reference-surface { container: sxralkpi / inline-size; } /* the controls box becomes display: contents ≤ 768 */
@container sxrtkkpi (min-width: 1060px) { html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid.sxr-kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; } }
@container sxrtkkpi (min-width: 530px) and (max-width: 1059.98px) { html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid.sxr-kpi-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
@container sxrtkkpi (max-width: 529.98px) { html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid.sxr-kpi-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@container sxralkpi (min-width: 840px) { html body #alertsView#alertsView#alertsView#alertsView#alertsView #realtimeSummaryGrid.sxr-kpi-grid { grid-template-columns: repeat(5, minmax(0, 1fr)) !important; } }
@container sxralkpi (max-width: 839.98px) {
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #realtimeSummaryGrid.sxr-kpi-grid { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #realtimeSummaryGrid .sxr-kpi-card:nth-child(-n+3) { grid-column: span 2 !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #realtimeSummaryGrid .sxr-kpi-card:nth-child(n+4) { grid-column: span 3 !important; }
}

/* list rows */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row {
  background: var(--sxr-card) !important;
  border-bottom: 1px solid var(--sxr-line-soft) !important;
  box-shadow: none !important;
  color: var(--sxr-ink-2) !important;
  transition: background-color 140ms var(--sxr-ease);
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row.is-critical-incident { background: var(--sxr-card) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row:hover { background: var(--sxr-row-hover) !important; }
/* 표 선택 행(2026-10-27 확정): 카드 바탕(라이트 흰색) + 안쪽 2px 주황 링 + 모서리 8 — 왼쪽 3px 선·연주황 바탕 없음 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row.is-selected {
  background: var(--sxr-card) !important;
  box-shadow: inset 0 0 0 2px var(--sxr-select-line) !important;
  border-radius: 8px !important;
  border-bottom-color: transparent !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row:has(+ .soc-situation-row.is-selected) { border-bottom-color: transparent !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row:focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: -2px !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-title-tag { color: var(--sxr-muted) !important; font-weight: 500 !important; font-size: 12px !important; background: none !important; padding: 0 !important; border: 0 !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-title-text { color: var(--sxr-ink) !important; font-weight: 700 !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-status {
  display: inline-flex !important; align-items: center !important; gap: 6px !important;
  padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  font-size: 12px !important; font-weight: 700 !important; min-height: 0 !important; height: auto !important;
  color: var(--sxr-row-tone, var(--soc-status-text)) !important;
}
/* E2·E3 상태 점: 글자 #374151 + 7px 점 — 접수 주황 / 조치중 검정 / 종결 회색 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sxr-row-dot, var(--soc-status-done-dot)); flex: 0 0 auto; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-status[data-status-tone="received"] { --sxr-row-dot: var(--soc-status-now-dot); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-status[data-status-tone="progress"] { --sxr-row-dot: var(--soc-status-progress-dot); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-status[data-status-tone="closed"] { --sxr-row-dot: var(--soc-status-done-dot); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity {
  justify-self: start; display: inline-flex !important; align-items: center; gap: 5px; font-size: 12px !important; font-weight: 700 !important;
  padding: 2px 8px !important; border-radius: 6px !important; border: 0 !important; box-shadow: none !important; background: transparent !important; color: var(--sxr-sub) !important; /* AL-18 해당없음 */ font-weight: 500 !important;
}
/* AL-18: ECI 칩 24px · 12/800, 점 7px 단계 강조색(Lv1 #2563EB · Lv2 #EAB308 · Lv3 #F97316 · Lv4 #DC2626), Lv2 바탕 #FEF9C3 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity] { font-weight: 800 !important; height: 24px !important; box-sizing: border-box !important; padding: 0 8px !important; line-height: 24px !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity]::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--sxr-eci-dot, currentColor); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci1"] { background: #dbeafe !important; color: #1e40af !important; --sxr-eci-dot: #2563eb; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci2"] { background: #fef9c3 !important; color: #854d0e !important; --sxr-eci-dot: #eab308; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci3"] { background: #ffedd5 !important; color: #9a3412 !important; --sxr-eci-dot: #f97316; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci4"] { background: #fee2e2 !important; color: #991b1b !important; --sxr-eci-dot: #dc2626; }
html[data-theme="dark"] body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci1"],
body.dark :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci1"] { background: rgba(37, 99, 235, .2) !important; color: #93c5fd !important; --sxr-eci-dot: #60a5fa; }
html[data-theme="dark"] body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci2"],
body.dark :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci2"] { background: rgba(234, 179, 8, .18) !important; color: #fde047 !important; --sxr-eci-dot: #facc15; }
html[data-theme="dark"] body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci3"],
body.dark :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci3"] { background: rgba(249, 115, 22, .2) !important; color: #fdba74 !important; --sxr-eci-dot: #fb923c; }
html[data-theme="dark"] body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci4"],
body.dark :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-severity[data-eci-severity="eci4"] { background: rgba(220, 38, 38, .22) !important; color: #fca5a5 !important; --sxr-eci-dot: #f87171; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-todo-badge {
  display: inline-flex; align-items: center; gap: 4px; margin-left: 8px; padding: 1px 7px; border-radius: 6px;
  box-shadow: inset 0 0 0 1px var(--sxr-line); font-size: 11px; font-weight: 700; color: var(--sxr-ink-2); white-space: nowrap; vertical-align: middle;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-todo-badge.is-overdue { color: var(--sxr-amber-strong); box-shadow: none; }

/* ---------- detail panel ---------- */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel).sxr-detail-panel {
  display: flex !important;
  flex-direction: column !important;
  padding: 0 !important;
  gap: 0 !important;
  overflow: hidden !important;
  border-radius: var(--sxr-radius) !important;
  background: var(--sxr-card) !important;
  border: 1px solid var(--sxr-line) !important;
  box-shadow: none !important;
  position: relative;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-head {
  display: flex !important; align-items: center !important; gap: 8px !important;
  min-height: 44px; padding: 8px 12px 8px 16px !important; margin: 0 !important;
  border: 0 !important; border-bottom: 1px solid var(--sxr-line) !important; background: transparent !important;
  flex: 0 0 auto;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-no { font-size: 13px !important; font-weight: 500; /* AL-12 */ color: var(--sxr-sub) !important; font-variant-numeric: tabular-nums; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-head-actions { margin-left: auto !important; display: flex !important; align-items: center !important; gap: 6px !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-icon-btn {
  width: 28px !important; height: 28px !important; min-width: 28px !important; min-height: 28px !important; max-height: 28px !important; padding: 0 !important; margin: 0 !important; /* AL-12: ⋯ · × 28×28 */
  box-sizing: border-box !important; line-height: 0 !important; align-self: center !important;
  display: inline-flex !important; align-items: center !important; justify-content: center !important;
  border-radius: 7px !important; border: 1px solid transparent !important; background: transparent !important; color: var(--sxr-ink) !important; box-shadow: none !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelMoreBtn { border-color: var(--sxr-line) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-head .sxr-menu-wrap { display: inline-flex !important; align-items: center !important; height: 28px !important; }
/* AL-13: '전체 보기'는 막대가 아닌 왼쪽 정렬 글자 링크(투명 바탕) */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) #opsCommentPanel #opsCommentPanelDescriptionToggle.sxr-text-btn { background: transparent !important; border: 0 !important; box-shadow: none !important; width: auto !important; height: auto !important; min-height: 0 !important; padding: 2px 0 !important; text-align: left !important; align-self: flex-start !important; display: inline-block !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) #opsCommentPanel #opsCommentPanelDescriptionToggle.sxr-text-btn.hidden { display: none !important; }
/* AL-13·TK 다크: 상세의 글자 링크(전체 보기 · 지원근무 일정에서 보기 · + 답변 요청 · 변경 이력)는 다크 버튼 잠금(#0a111d 막대) 대신 투명 바탕 */
html[data-theme="dark"] body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(.sxr-text-btn, .sxr-link-btn, .sxr-meta-link) { background: transparent !important; border-color: transparent !important; box-shadow: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-icon-btn.hidden { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-icon-btn:hover { background: var(--sxr-chip) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-icon-btn:focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: 1px !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-icon-btn svg { width: 18px !important; height: 18px !important; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; transform: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelMoreBtn svg { fill: currentColor; stroke: none; }

/* menu + inline confirm (Alerts-Actions ①②) */
.sxr-menu-wrap { position: relative; }
.sxr-menu {
  position: absolute; top: calc(100% + 6px); right: 0; z-index: 40; min-width: 216px;
  padding: 6px; border-radius: 10px; background: var(--sxr-card); border: 1px solid var(--sxr-line);
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14), 0 2px 6px rgba(17, 24, 39, 0.06);
  display: flex; flex-direction: column; gap: 2px;
  transform-origin: top right; animation: sxr-pop 140ms var(--sxr-ease);
}
.sxr-menu.hidden { display: none !important; }
@keyframes sxr-pop { from { opacity: 0; transform: translateY(-4px) scale(0.98); } to { opacity: 1; transform: none; } }
.sxr-menu-item {
  display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 10px; width: 100%;
  padding: 8px 10px; border: 0; border-radius: 7px; background: transparent; color: var(--sxr-ink); font: inherit; font-size: 13px; text-align: left; cursor: pointer;
}
.sxr-menu-item[hidden], .sxr-menu-item.hidden, .sxr-menu-sep[hidden], .sxr-menu-sep.hidden { display: none !important; }
.sxr-menu-item svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sxr-menu-item small { font-size: 11px; color: var(--sxr-muted); }
.sxr-menu-item:hover, .sxr-menu-item:focus-visible { background: var(--sxr-chip); outline: none; }
.sxr-menu-item.is-danger { color: var(--sxr-red); }
.sxr-menu-sep { height: 1px; margin: 4px 2px; background: var(--sxr-line-soft); }
.sxr-confirm { padding: 10px; border-radius: 8px; background: color-mix(in srgb, var(--sxr-red) 8%, var(--sxr-card)); display: flex; flex-direction: column; gap: 6px; min-width: 240px; }
.sxr-confirm.hidden { display: none !important; }
.sxr-confirm strong { font-size: 13px; color: var(--sxr-red); }
.sxr-confirm p { margin: 0; font-size: 12px; line-height: 18px; color: var(--sxr-red); }
.sxr-confirm-actions { display: flex; justify-content: flex-end; gap: 6px; margin-top: 4px; }
.sxr-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 32px; padding: 0 12px;
  border-radius: 8px; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink);
  font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap;
}
.sxr-btn:hover { border-color: var(--sxr-line-strong); }
.sxr-btn:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.sxr-btn.is-danger { background: #b91c1c; border-color: #b91c1c; color: #ffffff; }
.sxr-btn.is-primary { background: var(--sxr-accent); border-color: var(--sxr-accent); color: #ffffff; }
.sxr-btn-sm { height: 28px; padding: 0 10px; font-size: 12px; }
.sxr-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sxr-btn.hidden { display: none !important; }
.sxr-visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; border: 0 !important; }
.sxr-text-btn { padding: 2px 0; border: 0; background: transparent; color: var(--sxr-ink); font: inherit; font-size: 12px; font-weight: 600; cursor: pointer; }
.sxr-text-btn.hidden { display: none !important; }
.sxr-text-btn:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; border-radius: 4px; }
.sxr-tip { position: absolute; right: 0; top: calc(100% + 6px); z-index: 41; width: 248px; margin: 0; padding: 10px 12px; border-radius: 8px; background: #111827; color: #ffffff; font-size: 12px; line-height: 18px; box-shadow: 0 10px 24px rgba(17,24,39,.2); }
.sxr-tip.hidden { display: none !important; }

/* scroll owner: title bar sticks, composer stays pinned below */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain;
  padding: 0 16px 16px; display: flex; flex-direction: column; gap: 14px;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel).is-empty-selection .sxr-detail-scroll,
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel).is-empty-selection .sxr-composer { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-titlebar {
  position: sticky; top: 0; z-index: 3; margin: 0 -16px; padding: 14px 16px 8px; background: var(--sxr-card);
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-title-row { display: flex !important; align-items: flex-start !important; gap: 10px !important; margin: 0 !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelTitle {
  flex: 1 1 auto; min-width: 0; margin: 0 !important; font-size: 18px !important; line-height: 26px !important; font-weight: 800 !important; color: var(--sxr-ink) !important;
  overflow-wrap: anywhere; white-space: normal !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelImportantPill { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-wrap { position: relative; flex: 0 0 auto; margin: 0 !important; }
.sxr-status-pill {
  display: inline-flex !important; align-items: center !important; gap: 6px !important; height: 30px !important; padding: 0 10px !important; margin: 0 !important;
  border-radius: 8px !important; border: 1.5px solid var(--sxr-pill-line, var(--sxr-line-strong)) !important; background: var(--sxr-card) !important;
  color: var(--sxr-pill-ink, var(--sxr-ink)) !important; font: inherit; font-size: 12px !important; font-weight: 700 !important; white-space: nowrap; cursor: pointer; box-shadow: none !important;
  min-width: 0 !important;
}
.sxr-status-pill.hidden { display: none !important; }
.sxr-status-pill.is-static { cursor: help; border-style: solid; }
.sxr-status-pill:focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: 2px !important; }
.sxr-status-pill .sxr-status-dot { box-sizing: border-box; width: 7px; height: 7px; border-radius: 50%; background: var(--sxr-pill-dot, currentColor); }
.sxr-status-pill .sxr-caret { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; transition: transform 160ms var(--sxr-ease); }
.sxr-status-pill[aria-expanded="true"] .sxr-caret { transform: rotate(180deg); }
/* E2·E3: 상태 pill 글자는 상태 글자색, 테두리는 중립 선 — 색은 점(--sxr-pill-dot, 화면마다 지금 처리/진행 중/끝남)이 맡음 */
.sxr-status-pill[data-tone="received"] { --sxr-pill-ink: var(--soc-status-text); --sxr-pill-line: var(--sxr-line-strong); }
.sxr-status-pill[data-tone="progress"] { --sxr-pill-ink: var(--soc-status-text); --sxr-pill-line: var(--sxr-line-strong); }
.sxr-status-pill[data-tone="closed"] { --sxr-pill-ink: var(--soc-status-text); --sxr-pill-line: var(--sxr-line-strong); --sxr-pill-dot: var(--soc-status-done-dot); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-menu { right: 0 !important; left: auto !important; top: calc(100% + 6px) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-meta {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; margin: -6px 0 0; font-size: 12px; color: var(--sxr-ink-2);
}
.sxr-meta-item { display: inline-flex; align-items: center; gap: 5px; }
.sxr-meta-item svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; color: var(--sxr-sub); }
.sxr-meta-item.is-quiet { color: var(--sxr-muted); }

/* ECI tile + map side by side */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-visual {
  display: grid; grid-template-columns: minmax(124px, 0.95fr) minmax(0, 2fr); gap: 10px; align-items: stretch;
  padding-bottom: 14px; border-bottom: 1px solid var(--sxr-line-soft);
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelTiles { display: block !important; margin: 0 !important; padding: 0 !important; grid-template-columns: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelTiles.hidden { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelMap { margin: 0 !important; min-height: 124px; border-radius: 10px !important; overflow: hidden; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelMap.hidden { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-visual:not(:has(#opsCommentPanelMap:not(.hidden))) { grid-template-columns: minmax(0, 1fr); }
.sxr-eci-tile {
  height: 100%; box-sizing: border-box; display: flex; flex-direction: column; justify-content: space-between; gap: 8px;
  padding: 12px; border-radius: 10px; background: var(--sxr-eci-bg, var(--sxr-head)); color: var(--sxr-eci-ink, var(--sxr-ink));
  box-shadow: inset 0 0 0 1px var(--sxr-eci-line, transparent);
}
.sxr-eci-label { font-size: 12px; color: var(--sxr-eci-sub, var(--sxr-sub)); }
.sxr-eci-title { font-size: 20px; line-height: 26px; font-weight: 800; }
.sxr-eci-note { font-size: 11px; line-height: 15px; color: var(--sxr-eci-sub, var(--sxr-sub)); }
.sxr-eci-gauge { display: flex; gap: 3px; }
.sxr-eci-gauge i { flex: 1; height: 6px; border-radius: 3px; background: rgba(17, 24, 39, 0.1); }
.sxr-eci-tile[data-eci-level="0"] .sxr-eci-gauge i { background: #e5e7eb; }
.sxr-eci-gauge i.is-on { background: var(--sxr-eci-strong, var(--sxr-ink)); }
.sxr-eci-tile[data-eci-level="1"] { --sxr-eci-bg: #dbeafe; --sxr-eci-ink: #1e40af; --sxr-eci-sub: #1e40af; --sxr-eci-strong: #2563eb; --sxr-eci-line: rgba(37,99,235,.33); }
.sxr-eci-tile[data-eci-level="2"] { --sxr-eci-bg: #fef9c3; --sxr-eci-ink: #854d0e; --sxr-eci-sub: #854d0e; --sxr-eci-strong: #eab308; --sxr-eci-line: rgba(234,179,8,.4); }
.sxr-eci-tile[data-eci-level="3"] { --sxr-eci-bg: #ffedd5; --sxr-eci-ink: #9a3412; --sxr-eci-sub: #9a3412; --sxr-eci-strong: #f97316; --sxr-eci-line: rgba(249,115,22,.4); }
.sxr-eci-tile[data-eci-level="4"] { --sxr-eci-bg: #fee2e2; --sxr-eci-ink: #991b1b; --sxr-eci-sub: #991b1b; --sxr-eci-strong: #dc2626; --sxr-eci-line: rgba(220,38,38,.4); }
html[data-theme="dark"] .sxr-eci-tile[data-eci-level="1"], body.dark .sxr-eci-tile[data-eci-level="1"] { --sxr-eci-bg: rgba(37,99,235,.16); --sxr-eci-ink: #bfdbfe; --sxr-eci-sub: #93c5fd; --sxr-eci-strong: #60a5fa; }
html[data-theme="dark"] .sxr-eci-tile[data-eci-level="2"], body.dark .sxr-eci-tile[data-eci-level="2"] { --sxr-eci-bg: rgba(234,179,8,.14); --sxr-eci-ink: #fef08a; --sxr-eci-sub: #fde047; --sxr-eci-strong: #facc15; }
html[data-theme="dark"] .sxr-eci-tile[data-eci-level="3"], body.dark .sxr-eci-tile[data-eci-level="3"] { --sxr-eci-bg: rgba(249,115,22,.16); --sxr-eci-ink: #fed7aa; --sxr-eci-sub: #fdba74; --sxr-eci-strong: #fb923c; }
html[data-theme="dark"] .sxr-eci-tile[data-eci-level="4"], body.dark .sxr-eci-tile[data-eci-level="4"] { --sxr-eci-bg: rgba(220,38,38,.18); --sxr-eci-ink: #fecaca; --sxr-eci-sub: #fca5a5; --sxr-eci-strong: #f87171; }
html[data-theme="dark"] .sxr-eci-tile[data-eci-level="0"] .sxr-eci-gauge i, body.dark .sxr-eci-tile[data-eci-level="0"] .sxr-eci-gauge i { background: #2a3a55; }

/* sections */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(.sxr-detail-section, .soc-pc-side-panel-section) {
  margin: 0 !important; padding: 0 0 14px !important; border: 0 !important; border-bottom: 1px solid var(--sxr-line-soft) !important; background: transparent !important; box-shadow: none !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-section:last-child { border-bottom: 0 !important; padding-bottom: 0 !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-detail-section.hidden,
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) [hidden] { display: none !important; }
.sxr-section-head { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-pc-side-panel-section-title { margin: 0 !important; font-size: 14px !important; font-weight: 800 !important; color: var(--sxr-ink) !important; }
.sxr-count { margin-left: 4px; font-size: 12px; font-weight: 600; color: var(--sxr-sub); }
.sxr-section-note { margin-left: auto; font-size: 12px; color: var(--sxr-sub); }
.sxr-section-head > .sxr-btn { margin-left: auto; }
.sxr-timeline-legend { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 11px; color: var(--sxr-sub); }
.sxr-timeline-legend i { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin-left: 4px; background: var(--soc-status-done-dot); } /* E2·E3 범례 점 */
.sxr-timeline-legend i[data-tone="received"] { background: var(--soc-status-now-dot); }
.sxr-timeline-legend i[data-tone="progress"] { background: var(--soc-status-progress-dot); }
.sxr-timeline-legend i[data-tone="closed"] { background: var(--soc-status-done-dot); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-w2-desc-text { margin: 0 !important; font-size: 13px !important; line-height: 21px !important; color: var(--sxr-ink-2) !important; white-space: pre-line; overflow-wrap: anywhere; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-clamp:not(.is-expanded) { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; }

/* timeline */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-item { display: grid !important; grid-template-columns: 74px 14px minmax(0, 1fr) !important; column-gap: 6px !important; align-items: start !important; padding: 0 0 12px !important; position: relative; border: 0 !important; background: transparent !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-item > time { order: 0; grid-column: 1; font-size: 12px !important; color: var(--sxr-sub) !important; font-variant-numeric: tabular-nums; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-dot { grid-column: 2; grid-row: 1; margin-top: 5px !important; width: 9px !important; height: 9px !important; border-radius: 50% !important; background: var(--sxr-muted) !important; border: 0 !important; box-shadow: none !important; position: static !important; }
/* E2·E3 타임라인 점: 접수 주황 / 조치중 검정 / 종결 회색 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-item[data-timeline-status="received"] .soc-situation-timeline-dot { background: var(--soc-status-now-dot) !important; box-shadow: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-item[data-timeline-status="progress"] .soc-situation-timeline-dot { background: var(--soc-status-progress-dot) !important; box-shadow: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-item[data-timeline-status="closed"] .soc-situation-timeline-dot { background: var(--soc-status-done-dot) !important; box-shadow: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-item[data-timeline-kind="edited"] .soc-situation-timeline-dot { width: 6px !important; height: 6px !important; margin: 7px 0 0 1.5px !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-item > p { grid-column: 3; margin: 0 !important; font-size: 13px !important; font-weight: 700 !important; color: var(--sxr-ink) !important; line-height: 19px; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .soc-situation-timeline-item[data-timeline-kind="edited"] > p { font-weight: 400 !important; color: var(--sxr-ink-2) !important; }
.soc-situation-timeline-status { font-size: 12px; font-weight: 700; color: var(--soc-status-text); margin-left: 4px; } /* E2 상태 글자 #374151(색은 점이 맡음) */
.soc-situation-timeline-sub { display: block; margin-top: 2px; font-size: 12px; font-weight: 400; color: var(--sxr-sub); }

/* attachments + uploads */
.sxr-attach-section { position: relative; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-attach-section .soc-situation-detail-attachments { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 8px !important; }
.sxr-attach-hint { margin: 0; padding: 12px; border-radius: 9px; border: 1px dashed var(--sxr-line-strong); font-size: 12px; color: var(--sxr-sub); }
.sxr-attach-hint.hidden { display: none !important; }
.sxr-attach-note { margin: 8px 0 0; font-size: 12px; line-height: 18px; color: var(--sxr-sub); }
.sxr-attach-note.hidden { display: none !important; }
/* R9 B8-3: board 4 ⑦ size · uploader line under each photo (quiet sub tone, one line, full text in title). */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .attachment-item .attachment-meta { margin: 2px 0 0 !important; font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; color: var(--sxr-sub) !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* R9 B8-3: the legacy dark-era 「다운로드」 #7dd3fc (styles.css) read 1.67:1 on the light card; light uses the accent ink, dark keeps its own. */
html:not([data-theme="dark"]) body:not(.dark) :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .attachment-actions :is(a, button) { color: var(--sxr-accent-ink) !important; }
.sxr-uploads { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sxr-uploads:empty { display: none; }
.sxr-upload { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 8px; padding: 8px 10px; border-radius: 9px; background: var(--sxr-head); font-size: 12px; }
.sxr-upload-name { font-weight: 700; color: var(--sxr-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sxr-upload-size, .sxr-upload-msg { color: var(--sxr-sub); }
.sxr-upload-bar { grid-column: 1 / -1; height: 4px; border-radius: 2px; background: var(--sxr-line); overflow: hidden; }
.sxr-upload-bar i { display: block; height: 100%; width: 100%; background: var(--sxr-accent); transform: scaleX(0); transform-origin: left; transition: transform 160ms linear; }
.sxr-upload.is-failed { background: color-mix(in srgb, var(--sxr-red) 7%, var(--sxr-card)); }
.sxr-upload.is-failed .sxr-upload-bar { display: none; }
.sxr-upload.is-failed .sxr-upload-msg { color: var(--sxr-red); }
/* R8 N4: the legacy dark panel sweeps (index.html socPass38/39, `color: inherit !important` at two IDs of weight) hid this
   danger tone in dark only; keep the failed-upload copy on the theme's own --sxr-red, as in light. */
html[data-theme="dark"] body :is(#alertsView, #ticketsView) #opsCommentPanelUploads .sxr-upload.is-failed .sxr-upload-msg { color: var(--sxr-red) !important; }
/* R9 A8-2: on the 7% red row tint #dc2626 is 4.34:1 at 13px; light uses the existing danger text token #b42318 (DESIGN danger hover). */
html:not([data-theme="dark"]) body:not(.dark) :is(#alertsView, #ticketsView) #opsCommentPanelUploads .sxr-upload.is-failed .sxr-upload-msg { color: var(--soc-status-danger-text, #b42318) !important; }
.sxr-upload-retry { justify-self: end; color: var(--sxr-red); border-color: color-mix(in srgb, var(--sxr-red) 40%, transparent); }
.sxr-drop-overlay {
  display: none; position: absolute; inset: 0; z-index: 30; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  border-radius: var(--sxr-radius); border: 2px dashed var(--sxr-accent); background: color-mix(in srgb, var(--sxr-accent-fill) 92%, transparent); color: var(--sxr-ink); text-align: center; font-size: 13px;
}
.sxr-drop-overlay strong { font-size: 15px; }
.sxr-drop-icon { width: 44px; height: 44px; border-radius: 50%; background: var(--sxr-card); color: var(--sxr-accent); display: inline-flex; align-items: center; justify-content: center; box-shadow: 0 4px 12px rgba(255, 107, 0, .18); }
.sxr-drop-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel).is-dragging-file > .sxr-detail-scroll .sxr-drop-overlay { display: flex; position: fixed; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel).is-dragging-file .sxr-drop-overlay { display: flex; position: absolute; inset: 0; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel).is-dragging-file .sxr-attach-section { position: static; }

/* 후속 할 일 */
.sxr-todo-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sxr-todo { display: flex; align-items: flex-start; gap: 10px; padding: 9px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--sxr-line); }
.sxr-todo.is-overdue { background: var(--sxr-warn-fill); box-shadow: inset 0 0 0 1px var(--sxr-warn-line); }
.sxr-todo.is-done .sxr-todo-copy strong { text-decoration: line-through; color: var(--sxr-sub); font-weight: 500; }
.sxr-todo-check { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--sxr-check); flex: 0 0 auto; }
.sxr-todo-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.sxr-todo-copy strong { font-size: 13px; color: var(--sxr-ink); }
.sxr-todo-copy span { font-size: 12px; color: var(--sxr-sub); }
.sxr-todo-due { font-size: 12px; font-weight: 700; color: var(--sxr-sub); white-space: nowrap; }
.sxr-todo.is-overdue .sxr-todo-due { color: var(--sxr-amber-strong); }
/* 후속 할 일 — live states (G1): add form, delete confirm, loading, error */
.sxr-todo { position: relative; }
.sxr-todo-remove { flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; margin: -2px -4px 0 0; border: 0; border-radius: 6px; background: transparent; color: var(--sxr-muted); cursor: pointer; opacity: 0; transition: opacity 140ms var(--sxr-ease), background-color 140ms var(--sxr-ease); }
.sxr-todo:hover .sxr-todo-remove, .sxr-todo-remove:focus-visible { opacity: 1; }
.sxr-todo-remove:hover { background: var(--sxr-chip); color: var(--sxr-red); }
.sxr-todo-remove:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 1px; }
@media (hover: none) { .sxr-todo-remove { opacity: 1; } }
.sxr-todo-confirm { display: inline-flex; gap: 4px; flex: 0 0 auto; animation: sxr-pop-in 160ms var(--sxr-ease); }
.sxr-todo-confirm button { height: 26px; padding: 0 10px; border-radius: 6px; font-size: 12px; font-weight: 700; cursor: pointer; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink-2); }
.sxr-todo-confirm .sxr-todo-confirm-yes { background: var(--sxr-red); border-color: var(--sxr-red); color: #fff; }
.sxr-todo-add { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 6px; padding: 9px 12px; border: 1px dashed var(--sxr-accent-line); border-radius: 9px; background: var(--sxr-accent-fill); color: var(--sxr-sub); font-size: 13px; text-align: left; cursor: pointer; transition: border-color 140ms var(--sxr-ease); }
.sxr-todo-add:hover { border-color: var(--sxr-accent); color: var(--sxr-ink-2); }
.sxr-todo-add:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.sxr-todo-add-plus { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sxr-accent); color: #fff; font-weight: 700; font-size: 14px; line-height: 1; }
.sxr-todo-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 6px; margin-top: 6px; padding: 10px; border-radius: 9px; background: var(--sxr-head); box-shadow: inset 0 0 0 1px var(--sxr-line); animation: sxr-pop-in 180ms var(--sxr-ease); }
/* r3j15 (VQA 11-08 N4): the content field shared one row with 담당 and 기한 and was 51px wide in the narrow detail panel;
   it now takes the whole first row, 담당 and 기한 split the second. */
.sxr-todo-form > input[name="content"] { grid-column: 1 / -1; }
.sxr-todo-form :is(input, select) { min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--sxr-line-strong); border-radius: 8px; background: var(--sxr-card); color: var(--sxr-ink); font-size: 13px; }
.sxr-todo-form :is(input, select):focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 0; border-color: transparent; }
.sxr-todo-form-actions { grid-column: 1 / -1; display: flex; align-items: center; justify-content: flex-end; gap: 8px; }
.sxr-todo-add-btn { height: 30px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--sxr-accent); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }
.sxr-todo-add-btn:disabled { opacity: .55; cursor: progress; }
.sxr-todo-form-error { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--sxr-red); }
.sxr-link-btn { border: 0; background: none; padding: 0 2px; color: var(--sxr-sub); font-size: 12px; font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; }
.sxr-link-btn:hover { color: var(--sxr-ink); }
.sxr-todo-error, .sentrix-home-todo-error { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 12px; border-radius: 9px; background: var(--sxr-warn-fill); box-shadow: inset 0 0 0 1px var(--sxr-warn-line); color: var(--sxr-ink-2); font-size: 12px; }
.sxr-todo-skeleton { display: flex; flex-direction: column; gap: 6px; }
.sxr-todo-skeleton i { display: block; height: 44px; border-radius: 9px; background: linear-gradient(90deg, var(--sxr-chip) 0%, var(--sxr-line-soft) 50%, var(--sxr-chip) 100%); background-size: 200% 100%; animation: sxr-shimmer 1.2s linear infinite; }
@keyframes sxr-shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@keyframes sxr-pop-in { from { opacity: 0; transform: translateY(-3px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .sxr-todo-skeleton i, .sxr-todo-form, .sxr-todo-confirm { animation: none !important; }
}
/* R17 (2026-10-31): the same shimmer as list loading rows (티켓 first load, 직원 디렉터리, 지원근무자 현황, 상황실 fallback).
   Static grey blocks under reduced motion (rule above). Last row shorter so it reads as a list, not a wall. */
.sxr-list-skeleton { gap: 0; width: 100%; padding: 0; box-sizing: border-box; }
.sxr-list-skeleton i { display: flex !important; align-items: center; gap: 12px; height: 49px !important; padding: 0 16px; border-radius: 0 !important; border-bottom: 1px solid var(--sxr-line-soft); background: transparent !important; box-sizing: border-box; }
.sxr-list-skeleton i b { display: block; flex: 0 0 auto; height: 10px; border-radius: 5px; background: var(--sxr-line-soft); }
.sxr-list-skeleton i b.is-pill { width: 48px; height: 18px; border-radius: 9px; }
/* R17 scan line (Mark 2026-10-31, loading option A): while a list or table loads, one orange scan line with a soft trailing band
   sweeps top to bottom every 1.8s over static grey placeholder rows (no shimmer underneath, so only one thing moves).
   The band is a full-height ::after translated -100% → 100%, so it fits any container height without layout work.
   Reduced motion: no sweep, the static rows stay. */
.sxr-todo-skeleton { position: relative; overflow: hidden; }
.sxr-todo-skeleton:not(.sxr-list-skeleton) i { background: var(--sxr-chip) !important; animation: none !important; }
.sxr-list-skeleton i { animation: none !important; }
.sxr-todo-skeleton::after { content: ""; position: absolute; inset: 0; pointer-events: none; transform: translateY(-100%); background: linear-gradient(180deg, rgba(255,107,0,0) 0, rgba(255,107,0,0) calc(100% - 72px), rgba(255,107,0,.10) calc(100% - 12px), rgba(255,107,0,.18) calc(100% - 3px), #ff6b00 calc(100% - 2px), #ff6b00 100%); animation: sxr-scan 1.8s linear infinite; }
@keyframes sxr-scan { from { transform: translateY(-100%); } to { transform: translateY(100%); } }
@media (prefers-reduced-motion: reduce) { .sxr-todo-skeleton::after { animation: none; display: none; } }
/* 「할 일 남은 사건만」 toggle on the filter row (right aligned) */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only {
  display: inline-flex !important; align-items: center; gap: 8px; align-self: flex-end; margin-left: auto !important; order: 9 !important;
  height: 36px; box-sizing: border-box; margin: 0 0 0 auto; /* AL-19 입력칸과 같은 36 */ padding: 0 12px; border-radius: 8px; border: 1px solid var(--sxr-line); background: var(--sxr-card);
  font-size: 13px; font-weight: 600; color: var(--sxr-ink-2); cursor: pointer; white-space: nowrap;
}
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only[hidden] { display: none !important; }
/* AL-20: 늘 같은 자리 — 남은 할 일 0이면 비활성 모양(ui.js가 data-todo-zero · aria-disabled) */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only[data-todo-zero] { color: var(--sxr-sub); cursor: default; pointer-events: none; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only[data-todo-zero] input { opacity: .55; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only[data-todo-zero] .sxr-todo-only-count b { color: var(--sxr-sub); }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only:has(input:checked) { border-color: var(--sxr-accent); box-shadow: 0 0 0 1px var(--sxr-accent) inset; }
/* r14a: the filter-bar control rule gives every input min-height 40px !important; the 16px box must not grow past the 36px chip (it pushed the 상황실 controls region into a 2px scroll). */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only input { width: 16px; height: 16px; min-height: 0 !important; margin: 0; accent-color: var(--sxr-check); }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only-count b { color: var(--sxr-ink); }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .sxr-todo-only-count em { font-style: normal; color: var(--sxr-attention); font-weight: 700; }

/* composer pinned at the bottom of the panel (Alerts-Actions ③⑧) */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-composer {
  flex: 0 0 auto; display: flex !important; align-items: flex-end !important; gap: 8px !important;
  margin: 0 !important; padding: 10px 12px !important; border: 0 !important; border-top: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; box-shadow: none !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-composer.hidden { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-composer-input {
  flex: 1 1 auto; min-width: 0; height: 40px; min-height: 40px; resize: none; overflow-y: hidden; box-sizing: border-box;
  padding: 9px 12px !important; border-radius: 9px !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important;
  font: inherit; font-size: 13px !important; line-height: 20px !important; color: var(--sxr-ink) !important; box-shadow: none !important;
  transition: border-color 140ms var(--sxr-ease);
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-composer-input:focus { border-color: var(--sxr-ink) !important; outline: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-composer-input:focus-visible { box-shadow: 0 0 0 1px var(--sxr-ink) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-composer-send {
  flex: 0 0 auto; height: 40px !important; min-width: 52px; padding: 0 12px !important; border-radius: 9px !important; border: 0 !important;
  background: var(--sxr-accent) !important; color: #ffffff !important; font-weight: 700 !important; box-shadow: none !important;
  transition: background-color 140ms var(--sxr-ease), color 140ms var(--sxr-ease);
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-composer-send:disabled { background: var(--sxr-chip) !important; color: var(--sxr-muted) !important; cursor: not-allowed; }

@media (prefers-reduced-motion: reduce) {
  .sxr-menu, .sxr-status-pill .sxr-caret, .sxr-upload-bar i { animation: none !important; transition: none !important; }
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel).soc-w2-panel .sxr-status-wrap,
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-wrap { display: block !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-status {
  --sx-pill-ring-width: 0px !important; --sx-pill-bd: transparent !important; --sx-pill-bg: transparent !important; --sx-pill-fill: transparent !important; --sx-pill-ring: transparent !important;
  outline: 0 !important; justify-self: start;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row :is(.incident-severity, .incident-status) { align-self: center !important; height: auto !important; min-height: 0 !important; line-height: 18px !important; }

/* comments (shared by 상황실 and 티켓 panels) — Alerts-Actions ③④ */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-list,
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-detail-comment-list { display: flex !important; flex-direction: column !important; gap: 4px !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-item {
  display: grid !important; grid-template-columns: 28px minmax(0, 1fr) 24px !important; gap: 10px !important; align-items: start !important;
  padding: 8px !important; margin: 0 -8px !important; border: 0 !important; border-radius: 9px !important; background: transparent !important; box-shadow: none !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-item.is-own { background: var(--sxr-accent-fill) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-avatar {
  width: 28px !important; height: 28px !important; min-width: 28px !important; border-radius: 50% !important; background: var(--sxr-chip) !important; color: var(--sxr-ink-2) !important;
  font-size: 11px !important; font-weight: 700 !important; display: inline-flex !important; align-items: center !important; justify-content: center !important; overflow: hidden; border: 0 !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-item.is-own .soc-detail-comment-avatar { background: #ffedd5 !important; color: var(--sxr-accent-ink) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-body { min-width: 0 !important; display: flex !important; flex-direction: column !important; gap: 3px !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-meta { display: flex !important; flex-wrap: wrap !important; align-items: baseline !important; gap: 0 6px !important; margin: 0 !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-meta strong { font-size: 13px !important; font-weight: 700 !important; color: var(--sxr-ink) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-meta :is(span, time) { font-size: 12px !important; color: var(--sxr-sub) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-meta time::before { content: "· "; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-bubble-row { display: block !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-bubble {
  margin: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  font-size: 13px !important; line-height: 20px !important; color: var(--sxr-ink-2) !important; white-space: pre-wrap; overflow-wrap: anywhere; max-width: none !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-more {
  width: 24px !important; height: 24px !important; padding: 0 !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; color: var(--sxr-sub) !important; font-weight: 700 !important; line-height: 1 !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-more:hover { background: var(--sxr-chip) !important; color: var(--sxr-red) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-detail-comment-more[hidden] { display: none !important; }
/* SX-FU-W1 (B): 상황실 panel thread (overflow-x: auto) — the row's -8px bleed scrolled sideways, 「수정」 wrapped under the avatar
   (4 children, 3 columns) and the text 「삭제」 sat in the 24px icon column (「삭저」). Rows fit the thread; 수정·삭제 take their
   own width on the first line, with one look (quiet text buttons, same size; 삭제 turns the danger red on hover). */
html body #alertsView#alertsView#alertsView#alertsView#alertsView #opsCommentPanelThread .soc-detail-comment-item { grid-template-columns: 28px minmax(0, 1fr) !important; grid-auto-flow: column !important; grid-auto-columns: auto !important; margin: 0 !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #opsCommentPanelThread .soc-detail-comment-item > * { grid-column: auto !important; grid-row: 1 !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #opsCommentPanelThread :is(.soc-detail-comment-edit, .soc-detail-comment-more.is-text) {
  width: auto !important; min-width: 24px !important; padding: 0 6px !important; border: 0 !important; border-radius: 6px !important; background: transparent !important;
  color: var(--sxr-sub) !important; font-size: 12px !important; font-weight: 700 !important; white-space: nowrap !important; box-shadow: none !important;
}
html body #alertsView#alertsView#alertsView#alertsView#alertsView #opsCommentPanelThread :is(.soc-detail-comment-edit, .soc-detail-comment-more.is-text):hover { background: var(--sxr-chip) !important; color: var(--sxr-ink) !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #opsCommentPanelThread .soc-detail-comment-more.is-text:hover { color: var(--sxr-red) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(.soc-situation-comment-empty, .soc-ticket-reference-comment-empty, .soc-detail-comment-empty) { margin: 0 !important; font-size: 13px !important; color: var(--sxr-sub) !important; background: transparent !important; border: 0 !important; padding: 0 !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .soc-situation-row .incident-status { --sx-pill-fg: var(--sxr-row-tone, var(--soc-status-text)) !important; }
/* TK-11·AL-11·E2·E3: 상세 머리 상태 pill — 32px · 13/700 · 글자 #374151 · 중립 1px 테두리 · 8px 상태 점 */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(#opsCommentPanelCloseBtn, #ticketCommentPanelCloseBtn, #opsCommentPanelStatusStatic, #ticketCommentPanelStatusStatic).sxr-status-pill {
  background: var(--sxr-card) !important; color: var(--soc-status-text) !important; border: 1px solid var(--sxr-pill-neutral-line, var(--sxr-line)) !important;
  box-shadow: none !important; height: 32px !important; min-height: 32px !important; padding: 0 12px !important; width: auto !important; font-size: 13px !important; font-weight: 700 !important;
}
html[data-theme="dark"] body :is(#alertsView, #ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-pill,
body.dark :is(#alertsView, #ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-pill { --sxr-pill-neutral-line: var(--sxr-line-strong); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-pill > span:not(.sxr-status-dot) { font-size: 13px !important; font-weight: 700 !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-pill .sxr-status-dot { box-sizing: border-box; width: 8px !important; height: 8px !important; background: var(--sxr-pill-dot, var(--soc-status-done-dot)) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) #opsCommentPanel .sxr-status-pill[data-tone="received"], html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) #ticketCommentPanel .sxr-status-pill[data-tone="progress"] { --sxr-pill-dot: var(--soc-status-now-dot); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) #opsCommentPanel .sxr-status-pill[data-tone="progress"] { --sxr-pill-dot: var(--soc-status-progress-dot); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) #ticketCommentPanel .sxr-status-pill[data-status="needs_info"] { color: var(--soc-status-cancel-text) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) #ticketCommentPanel .sxr-status-pill[data-status="needs_info"] .sxr-status-dot { background: transparent !important; border: 1.5px solid currentColor; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-pill[data-tone="cancelled"] { color: var(--soc-status-cancel-text) !important; border-style: dashed !important; border-color: var(--soc-status-cancel-text) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-pill[data-tone="cancelled"] > span:not(.sxr-status-dot) { text-decoration: line-through; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-status-pill[data-tone="cancelled"] .sxr-status-dot { background: transparent !important; border: 1.5px dashed currentColor; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(#opsCommentPanelCloseBtn, #ticketCommentPanelCloseBtn).sxr-status-pill.hidden { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(#opsCommentPanelCloseBtn, #ticketCommentPanelCloseBtn).sxr-status-pill:hover { background: var(--sxr-chip) !important; }

/* status menu (상황실 · 티켓 panels) */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu {
  position: absolute !important; z-index: 42 !important; min-width: 176px !important; padding: 6px !important; margin: 0 !important;
  border-radius: 10px !important; background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14), 0 2px 6px rgba(17, 24, 39, 0.06) !important; animation: sxr-pop 140ms var(--sxr-ease);
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu.hidden { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu .soc-pc-status-menu-list { display: flex !important; flex-direction: column !important; gap: 2px !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu .soc-pc-status-menu-item {
  display: grid !important; grid-template-columns: 8px 1fr 14px !important; align-items: center !important; gap: 10px !important; width: 100% !important; height: auto !important; min-height: 36px !important;
  padding: 8px 10px !important; border: 0 !important; border-radius: 7px !important; background: transparent !important; color: var(--sxr-ink) !important;
  font-size: 13px !important; font-weight: 600 !important; text-align: left !important; box-shadow: none !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu .soc-pc-status-menu-item:hover:not(:disabled),
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu .soc-pc-status-menu-item:focus-visible { background: var(--sxr-chip) !important; outline: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu .soc-pc-status-menu-item.is-current { background: var(--sxr-chip) !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu .soc-pc-status-menu-item.is-current::after { content: "✓"; font-size: 12px; color: var(--sxr-accent-ink); }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu .soc-pc-status-menu-item:disabled { /* AL-09 */ color: var(--sxr-sub) !important; cursor: not-allowed; }
.sxr-status-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
/* E2·E3 상태 메뉴 점: 접수·승인 대기 주황 / 조치중 검정 / 끝남 회색 / 작업 취소 점선 원 / D7 보완 요청 속 빈 점 */
.sxr-status-menu .sxr-status-dot { box-sizing: border-box; background: var(--soc-status-done-dot); }
:is(#opsCommentPanel .sxr-status-menu .sxr-status-dot[data-tone="received"], #ticketCommentPanel .sxr-status-menu .sxr-status-dot[data-tone="progress"]) { background: var(--soc-status-now-dot); }
#opsCommentPanel .sxr-status-menu .sxr-status-dot[data-tone="progress"] { background: var(--soc-status-progress-dot); }
#ticketCommentPanel .sxr-status-menu .sxr-status-dot[data-tone="received"] { background: transparent; border: 1.5px solid var(--soc-status-cancel-text); }
.sxr-status-menu .sxr-status-dot[data-tone="cancelled"] { background: transparent; border: 1.5px dashed var(--soc-status-cancel-text); }

/* dark: legacy slabs under timeline / empty comment */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(.soc-situation-detail-timeline, .soc-situation-timeline-list, .soc-pc-side-panel-thread, .soc-situation-detail-attachments) {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; max-height: none !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu,
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu .soc-pc-status-menu-list {
  height: auto !important; max-height: none !important; overflow: visible !important; width: auto !important;
}
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-status-menu { bottom: auto !important; }

/* ======================= 티켓 (Tickets-Final / Tickets-Purchase / Tickets-Types) ======================= */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView { background: var(--sxr-canvas) !important; }
/* 티켓 KPI: KPI-B v2 cell rules and the D1a column count live in the shared block above (상황실 section). */

/* ticket panel specifics */
.sxr-urgent { display: inline-flex; align-items: center; gap: 3px; flex: 0 0 auto; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--sxr-red); white-space: nowrap; }
.sxr-urgent svg { width: 13px; height: 13px; fill: currentColor; stroke: none; }
.sxr-urgent.hidden { display: none !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel .sxr-urgent { color: var(--soc-status-danger-text) !important; } /* TK-12: 목록 ⚡와 같은 위험 글자색(다크 #f87171) */
.sxr-meta-link { display: inline-flex; align-items: center; gap: 5px; padding: 0; border: 0; background: transparent; font: inherit; font-size: 12px; font-weight: 700; color: var(--sxr-ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.sxr-meta-link svg { width: 14px; height: 14px; color: var(--sxr-sub); }
.sxr-meta-link:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; border-radius: 4px; }
.sxr-rows { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px 8px; margin: 0; font-size: 13px; }
.sxr-rows > div { display: contents; }
.sxr-rows dt { color: var(--sxr-sub); }
.sxr-rows dd { margin: 0; color: var(--sxr-ink); overflow-wrap: anywhere; }
.sxr-cells { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-radius: 10px; box-shadow: inset 0 0 0 1px var(--sxr-line); overflow: hidden; }
.sxr-cells > div { display: flex; flex-direction: column; gap: 4px; padding: 10px 12px; min-width: 0; }
.sxr-cells > div + div { box-shadow: inset 1px 0 0 var(--sxr-line); }
.sxr-cells span { font-size: 12px; color: var(--sxr-sub); }
.sxr-cells strong { font-size: 15px; font-weight: 800; color: var(--sxr-ink); overflow-wrap: anywhere; font-variant-numeric: tabular-nums; }
.sxr-block { margin-top: 14px; }
.sxr-block:first-child { margin-top: 0; }
.sxr-block-title { margin: 0 0 6px; font-size: 13px; font-weight: 800; color: var(--sxr-ink); }
.sxr-block-text { margin: 0; font-size: 13px; line-height: 20px; color: var(--sxr-ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.sxr-person { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--sxr-line); }
.sxr-person-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sxr-avatar { width: 28px; height: 28px; flex: 0 0 auto; border-radius: 7px; background: var(--sxr-chip); color: var(--sxr-ink-2); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.sxr-person-copy { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; gap: 2px; }
.sxr-person-copy strong { font-size: 13px; color: var(--sxr-ink); }
.sxr-person-copy span { font-size: 11px; color: var(--sxr-sub); }
.sxr-person-tag { font-size: 11px; color: var(--sxr-sub); white-space: nowrap; }
.sxr-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; }
.sxr-tags span { padding: 2px 10px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--sxr-line-strong); font-size: 12px; color: var(--sxr-ink-2); }
.sxr-slot {
  display: flex; align-items: center; gap: 10px; width: 100%; min-height: 44px; margin-top: 8px; padding: 8px 12px; box-sizing: border-box;
  border: 1.5px dashed var(--sxr-accent-line); border-radius: 10px; background: var(--sxr-accent-fill); color: var(--sxr-ink-2); font: inherit; font-size: 13px; text-align: left; cursor: pointer;
  transition: border-color 140ms var(--sxr-ease), background-color 140ms var(--sxr-ease);
}
.sxr-slot.hidden { display: none !important; }
.sxr-slot:hover { border-color: var(--sxr-accent); }
.sxr-slot:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.sxr-slot-plus { width: 24px; height: 24px; border-radius: 50%; background: var(--sxr-accent); color: #ffffff; font-size: 17px; font-weight: 700; line-height: 1; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel .soc-w2-workers-names { margin: 0 !important; font-size: 13px !important; color: var(--sxr-ink-2) !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel .soc-w2-workers-btn.sxr-slot {
  height: auto !important; min-height: 44px !important; padding: 8px 12px !important; border: 1.5px dashed var(--sxr-accent-line) !important; background: var(--sxr-accent-fill) !important; color: var(--sxr-ink-2) !important; font-weight: 500 !important; justify-content: flex-start !important; box-shadow: none !important;
}
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel .soc-w2-workers-btn.sxr-slot.hidden { display: none !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel .sxr-ticket-body:empty { display: none; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel :is(.soc-ticket-reference-timeline, .soc-ticket-reference-comments, .soc-ticket-reference-attachments) { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; max-height: none !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel .soc-ticket-reference-timeline[hidden] { display: none !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel .sxr-composer-field { flex: 1 1 auto; min-width: 0; display: flex; margin: 0 !important; }
.sxr-status-pill[data-tone="rejected"] { --sxr-pill-ink: var(--soc-status-text); --sxr-pill-line: var(--sxr-line-strong); --sxr-pill-dot: var(--soc-status-done-dot); } /* E3 끝남 */
.sxr-status-pill[data-tone="cancelled"] { --sxr-pill-ink: var(--soc-status-cancel-text); --sxr-pill-line: var(--soc-status-cancel-text); border-style: dashed !important; } /* E3 작업 취소 */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel #ticketCommentPanelTitle {
  flex: 1 1 auto; min-width: 0; margin: 0 !important; font-size: 18px !important; line-height: 26px !important; font-weight: 800 !important; color: var(--sxr-ink) !important; overflow-wrap: anywhere; white-space: normal !important;
}
/* ticket list rows */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row { background: var(--sxr-card) !important; border-bottom: 1px solid var(--sxr-line-soft) !important; box-shadow: none !important; transition: background-color 140ms var(--sxr-ease); }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row:hover { background: var(--sxr-row-hover) !important; }
/* 표 선택 행: 카드 바탕 + 안쪽 2px 주황 링 + 모서리 8, 위·아래 구분선은 링 뒤로 */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row:is(.is-selected, .is-active) { background: var(--sxr-card) !important; box-shadow: inset 0 0 0 2px var(--sxr-select-line) !important; border-radius: 8px !important; border-bottom-color: transparent !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row:has(+ .soc-ticket-reference-row:is(.is-selected, .is-active)) { border-bottom-color: transparent !important; }
/* TK-04: with the detail closed the kept selection is not highlighted (the row reads as an ordinary row) */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-tickets-two-col-shell:is(.is-detail-collapsed, :has(> #ticketCommentPanel.is-ticket-collapsed)) .soc-ticket-reference-row:is(.is-selected, .is-active) { box-shadow: none !important; border-radius: 0 !important; border-bottom-color: var(--sxr-line-soft) !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-tickets-two-col-shell:is(.is-detail-collapsed, :has(> #ticketCommentPanel.is-ticket-collapsed)) .soc-ticket-reference-row:is(.is-selected, .is-active):not(:hover) { background: var(--sxr-card) !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-tickets-two-col-shell:is(.is-detail-collapsed, :has(> #ticketCommentPanel.is-ticket-collapsed)) .soc-ticket-reference-row:has(+ .soc-ticket-reference-row:is(.is-selected, .is-active)) { border-bottom-color: var(--sxr-line-soft) !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-cell--type { display: inline-flex !important; align-items: center !important; gap: 6px !important; color: var(--sxr-ink-2) !important; justify-content: flex-start !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-cell--type .sxr-kind-icon { width: 15px; height: 15px; flex: 0 0 auto; color: var(--sxr-sub); }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-title-no { color: var(--sxr-muted) !important; font-weight: 500 !important; font-size: 12px !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-title-text { color: var(--sxr-ink) !important; font-weight: 700 !important; text-decoration: none !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-detail-open:hover .soc-ticket-reference-title-text { text-decoration: underline !important; text-underline-offset: 3px; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-cell--requested { color: var(--sxr-ink) !important; font-weight: 700 !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-status-pill {
  --sx-pill-ring-width: 0px !important; --sx-pill-bd: transparent !important; --sx-pill-bg: transparent !important; --sx-pill-fill: transparent !important; --sx-pill-ring: transparent !important;
  --sx-pill-fg: var(--sxr-row-tone, var(--soc-status-text)) !important;
  display: inline-flex !important; align-items: center !important; gap: 6px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important;
  background: transparent !important; box-shadow: none !important; outline: 0 !important; height: auto !important; min-height: 0 !important;
  font-size: 12px !important; font-weight: 700 !important; color: var(--sxr-row-tone, var(--soc-status-text)) !important;
}
/* E2·E3 상태 점: 글자 #374151 + 7px 점 — 승인 대기 주황 / 끝남(승인·완료·반려·지원 불가) 회색 / 작업 취소 점선 원 + 취소선 / D7 보완 요청 속 빈 점 */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-status-pill::before { content: ""; box-sizing: border-box; width: 7px; height: 7px; border-radius: 50%; background: var(--sxr-row-dot, var(--soc-status-done-dot)); flex: 0 0 auto; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-status-pill.status-pending { --sxr-row-dot: var(--soc-status-now-dot); }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-status-pill.status-needs-info { --sxr-row-tone: var(--soc-status-cancel-text); }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-status-pill.status-needs-info::before { background: transparent; border: 1.5px solid currentColor; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-status-pill.status-cancelled { --sxr-row-tone: var(--soc-status-cancel-text); text-decoration: line-through !important; text-decoration-thickness: 1px !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-status-pill.status-cancelled::before { width: 8px; height: 8px; background: transparent; border: 1.5px dashed currentColor; }
/* TK-14 · 승인 대기 행 시간 강조 없음(E): 지점 #374151, 제출 시간 #6B7280 400 */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row .soc-ticket-reference-cell--site { color: var(--sxr-ink-2) !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row .soc-ticket-reference-cell--time { color: var(--sxr-sub) !important; font-weight: 400 !important; font-variant-numeric: tabular-nums; }

/* ======================= 지원근무자 현황 (Support-Final / Week / List / Actions / Slot-Flow / Live) ======================= */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel { --sxp-pad: 0; background: var(--sxr-canvas) !important; }
/* KPI-B v2 (E1·E4·E9·E12·D1a·D7): one grey band (14 radius, 8 inset, 8 gaps) of white 72px cells without icons, two groups —
   상태 4 | 근무 유형 2. Band ≥ 1220px: one row with a 1px divider; 808–1219: one row per group (1px rule between); below: 2 columns. */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel #opsSupportReferenceRoot { container: sxrsupkpi / inline-size; }
/* D10 · SET-21: a narrow page (1440 with the docked 도우미 ≈ 650px) stacks the calendar over the day panel instead of cutting the calendar */
@container sxrsupkpi (max-width: 899.98px) { html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-shell { grid-template-columns: minmax(0, 1fr) !important; } }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: auto auto 1px auto !important; gap: 8px !important; margin: 0 0 16px !important; padding: var(--sxr-kpi-band-pad, 0px) !important; /* R17 C: 띠 없음 → 안쪽 여백 0 */
  background: var(--sxr-kpi-band) !important; border: 0 !important; border-radius: 14px !important; box-shadow: none !important; box-sizing: border-box !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary::after { content: ""; display: block; grid-column: 1 / -1; grid-row: 3; height: 1px; margin: 0 8px; background: var(--sxr-line-strong); pointer-events: none; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary > .ops-ref-summary-item:nth-child(n+5) { grid-row: 4; }
@container sxrsupkpi (min-width: 808px) {
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-template-rows: auto 1px auto !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary::after { grid-row: 2; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary > .ops-ref-summary-item:nth-child(5) { grid-row: 3; grid-column: 1 / span 2; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary > .ops-ref-summary-item:nth-child(6) { grid-row: 3; grid-column: 3 / span 2; }
}
@container sxrsupkpi (min-width: 1220px) {
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary { grid-template-columns: repeat(4, minmax(0, 1fr)) 1px repeat(2, minmax(0, 1fr)) !important; grid-template-rows: auto !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary::after { grid-column: 5; grid-row: 1; height: auto; margin: 8px 0; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary > .ops-ref-summary-item:nth-child(-n+4) { grid-row: 1; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary > .ops-ref-summary-item:nth-child(5) { grid-row: 1; grid-column: 6; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary > .ops-ref-summary-item:nth-child(6) { grid-row: 1; grid-column: 7; }
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; grid-template-rows: auto !important; /* F9: 옛 auto auto의 빈 둘째 줄 + R10-3 row-gap 6 → 74px, 다른 화면처럼 72 */ grid-template-areas: "copy num" !important; align-items: center !important; column-gap: 12px !important; row-gap: 0 !important;
  min-width: 0 !important; min-height: 72px !important; height: auto !important; box-sizing: border-box !important;
  padding: 14px 18px !important; margin: 0 !important; border-radius: var(--sxr-radius) !important; background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important;
  color: var(--sxr-ink) !important; cursor: pointer; transition: border-color 160ms var(--sxr-ease);
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item:hover { border-color: var(--sxr-line-strong) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item.is-active { border-color: var(--sxr-select-line) !important; box-shadow: inset 0 0 0 1px var(--sxr-select-line) !important; background: var(--sxr-card) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item:focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: -2px !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item .sxr-kpi-copy { grid-area: copy; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-label { display: flex !important; align-items: center !important; gap: 6px !important; font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sxr-ink-2) !important; margin: 0 !important; white-space: nowrap; }
/* R17 (2026-10-31): 상태 칸(승인 대기·승인 완료·작업 취소)은 0건이어도 점, 합계(전체 요청)·근무 유형(주간·야간)은 점 없음 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item:is(.is-pending, .is-approved, .is-cancelled) .ops-ref-summary-label::before { content: ""; flex: 0 0 7px; width: 7px; height: 7px; border-radius: 50%; box-sizing: border-box; background: var(--soc-status-now-dot, #ff6b00); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item.is-approved .ops-ref-summary-label::before { background: var(--sxr-muted); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item.is-cancelled .ops-ref-summary-label::before { background: transparent; border: 1.5px dashed var(--sxr-muted); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item .sxr-kpi-sub { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--sxr-ink-2); white-space: normal; overflow: visible; text-overflow: clip; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item .sxr-kpi-sub[data-attention="true"] { color: var(--sxr-sub); font-weight: 400; } /* E5: 강조는 점이 맡음 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item > strong { grid-area: num; align-self: center; margin: 0 !important; font-size: 28px !important; line-height: 32px !important; font-weight: 700 !important; color: var(--sxr-ink) !important; font-variant-numeric: tabular-nums; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item.is-zero > strong { color: var(--sxr-sub) !important; } /* E4 */

/* toolbar */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-toolbar { gap: 8px !important; margin-bottom: 16px !important; background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-filter-button, .ops-ref-month-box, .ops-ref-month-nav button, .ops-ref-day-nav-btn) {
  height: 36px !important; min-height: 36px !important; padding: 0 12px !important; border-radius: 8px !important; border: 1px solid var(--sxr-line) !important;
  background: var(--sxr-card) !important; color: var(--sxr-ink) !important; box-shadow: none !important; font-size: 13px !important; font-weight: 700 !important; gap: 6px !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-filter-label { color: var(--sxr-sub) !important; font-weight: 500 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-filter-button, .ops-ref-month-box):hover { border-color: var(--sxr-line-strong) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-view-toggle {
  display: inline-flex !important; gap: 2px !important; padding: 3px !important; border-radius: 10px !important; background: var(--sxr-chip) !important; border: 0 !important; box-shadow: none !important; height: auto !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-view-toggle button {
  height: 30px !important; min-width: 48px !important; padding: 0 14px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--sxr-sub) !important;
  font-size: 13px !important; font-weight: 600 !important; box-shadow: none !important; transition: background-color 140ms var(--sxr-ease), color 140ms var(--sxr-ease);
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-view-toggle button.is-active { background: var(--sxr-card) !important; color: var(--sxr-ink) !important; font-weight: 800 !important; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.12) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-view-toggle button:focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: 1px !important; }

/* calendar */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-calendar, .ops-ref-list, .ops-ref-day-panel, .ops-ref-detail-panel) {
  border-radius: var(--sxr-radius) !important; background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-weekdays { background: var(--sxr-head) !important; color: var(--sxr-sub) !important; font-size: 12px !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-cell { border-color: var(--sxr-line-soft) !important; background: var(--sxr-card) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-cell.is-outside, html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-cell.is-other-month { background: var(--sxr-head) !important; color: var(--sxr-muted) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-cell.is-selected { box-shadow: none !important; background: var(--sxr-card) !important; } /* SUP-13: 칸 상자 없음, 선택은 칩 링 하나 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-table td.is-selected-day { box-shadow: none !important; background: var(--ops-ref-surface) !important; } /* SUP-13 주 보기 열 상자·틴트 없음 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-table :is(thead th, tfoot :is(th, td)).is-selected-day { background: var(--ops-ref-inset) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line {
  display: grid !important; grid-template-columns: 18px minmax(0, 1fr) auto !important; align-items: center !important; gap: 6px !important;
  min-height: 26px !important; height: auto !important; padding: 3px 6px !important; margin: 0 !important; border-radius: 6px !important;
  border: 1px solid var(--sxr-line) !important; border-left-width: 1px !important; background: var(--sxr-card) !important; box-shadow: none !important;
  color: var(--sxr-ink) !important; font-size: 12px !important; text-align: left !important;
  transition: border-color 140ms var(--sxr-ease), box-shadow 140ms var(--sxr-ease);
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line:hover { border-color: var(--sxr-line-strong) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line[aria-pressed="true"] { border-color: var(--sxr-select-line) !important; box-shadow: 0 0 0 1px var(--sxr-select-line) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line .ops-ref-chip-site { min-width: 0 !important; overflow: hidden !important; text-overflow: ellipsis !important; white-space: nowrap !important; font-weight: 700 !important; color: var(--soc-status-text) !important; display: block !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line .ops-ref-calendar-status { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-calendar-line, .ops-ref-day-card, .ops-ref-list-row, .ops-ref-detail-sub) .ops-ref-chip-shift { /* SUP-15: 상세 메타도 달력과 같은 글리프 */
  width: 18px !important; height: 18px !important; border-radius: 4px !important; display: inline-flex !important; align-items: center !important; justify-content: center !important;
  font-size: 11px !important; font-weight: 800 !important; background: var(--sxr-card) !important; color: var(--sxr-ink) !important; box-shadow: inset 0 0 0 1px var(--sxr-line-strong) !important; border: 0 !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-calendar-line, .ops-ref-day-card, .ops-ref-list-row).is-night .ops-ref-chip-shift, html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-detail-sub .ops-ref-chip-shift.is-night { background: #1f2937 !important; color: #ffffff !important; box-shadow: none !important; }
html[data-theme="dark"] body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(:is(.ops-ref-calendar-line, .ops-ref-day-card, .ops-ref-list-row).is-night .ops-ref-chip-shift, .ops-ref-detail-sub .ops-ref-chip-shift.is-night),
body.dark #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(:is(.ops-ref-calendar-line, .ops-ref-day-card, .ops-ref-list-row).is-night .ops-ref-chip-shift, .ops-ref-detail-sub .ops-ref-chip-shift.is-night) { background: var(--sxr-ink) !important; color: var(--sxr-card) !important; } /* SUP-07 다크 야 반전 */
/* E2·E3·D7 상태 표시 (SUPPORT-T1·T2): 글자 #374151 + 7px 점 — 승인 대기 주황 / 승인 완료·완료·반려·지원 불가 회색 /
   작업 취소 점선 원 + 취소선 / 보완 요청 중립(회색 글자 + 속 빈 점). 칩·범례·상태별 요청·미니 달력·리스트·주 카드가 같은 점 값을 씀. */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .state-pending { --sxr-row-dot: var(--soc-status-now-dot); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.state-approved, .state-completed, .state-rejected, .state-unavailable) { --sxr-row-dot: var(--soc-status-done-dot); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-chip-count { font-weight: 800 !important; font-variant-numeric: tabular-nums; color: var(--soc-status-text) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line:not(.ops-ref-week-card) .ops-ref-chip-count::before { content: ""; display: inline-block; box-sizing: border-box; width: 7px; height: 7px; margin-right: 4px; vertical-align: 1px; border-radius: 50%; background: var(--sxr-row-dot, var(--soc-status-done-dot)); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line.state-default :is(.ops-ref-chip-site, .ops-ref-chip-count) { color: var(--soc-status-cancel-text) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line.state-default .ops-ref-chip-site { font-weight: 600 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line.state-default .ops-ref-chip-count::before { background: transparent; border: 1.5px solid currentColor; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-calendar-line, .ops-ref-day-card):is(.state-rejected, .state-unavailable, .state-cancelled) { background: var(--sxr-head) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-day-card:is(.state-rejected, .state-unavailable, .state-cancelled) .ops-ref-day-card-main strong { color: var(--sxr-sub) !important; text-decoration: line-through; font-weight: 500 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line:is(.state-rejected, .state-unavailable) .ops-ref-chip-site { text-decoration: line-through; font-weight: 500 !important; }
/* SUP-07 · E3: 작업 취소 = 1px 점선 #6B7280 + 글자 #6B7280 취소선 + 점선 원, 주/야 글리프 흐림 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line.state-cancelled { border: 1px dashed var(--soc-status-cancel-text) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-day-card.state-cancelled { border-style: dashed !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line.state-cancelled :is(.ops-ref-chip-site, .ops-ref-chip-count) { color: var(--soc-status-cancel-text) !important; text-decoration: line-through; font-weight: 500 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line.state-cancelled .ops-ref-chip-count::before { width: 8px; height: 8px; vertical-align: 0; background: transparent; border: 1.5px dashed var(--soc-status-cancel-text); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line.state-cancelled .ops-ref-chip-shift { opacity: .5; }

/* legend (D7 · SUP-08): 4 groups — 승인 대기 · 승인 완료 · 반려·지원 불가 · 작업 취소; 상태별 요청 견본·미니 달력 점도 같은 값 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-legend-swatch { box-sizing: border-box !important; width: 7px !important; height: 7px !important; min-width: 7px !important; border-radius: 50% !important; border: 0 !important; background: var(--sxr-row-dot, var(--soc-status-done-dot)) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-status-legend-item, .ops-ref-status-card-row).state-cancelled .ops-ref-status-legend-swatch { width: 9px !important; height: 9px !important; min-width: 9px !important; background: transparent !important; border: 1.5px dashed var(--soc-status-cancel-text) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-card-row.state-default .ops-ref-status-legend-swatch { background: transparent !important; border: 1.5px solid var(--soc-status-cancel-text) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel button.ops-ref-status-card-row.is-active { background: var(--sxr-card) !important; box-shadow: inset 0 0 0 2px var(--sxr-select-line) !important; border-radius: 8px !important; } /* 선택 행: 흰 바탕 + 2px 링 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-mini-cal-dot { box-sizing: border-box; border: 0; background: var(--sxr-row-dot, var(--soc-status-done-dot)); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-mini-cal-dot.state-default { background: transparent; border: 1.5px solid var(--soc-status-cancel-text); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-mini-cal-dot.state-cancelled { background: transparent; border: 1px dashed var(--soc-status-cancel-text); }

/* day / detail side cards */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-day-card {
  border-radius: 10px !important; border: 1px solid var(--sxr-line) !important; border-left-width: 1px !important; background: var(--sxr-card) !important; box-shadow: none !important; padding: 10px 12px !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-day-card[aria-pressed="true"] { border-color: var(--sxr-accent) !important; box-shadow: 0 0 0 1px var(--sxr-accent) !important; }

/* list view */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-row:hover td { background: var(--sxr-row-hover) !important; }
/* 표 선택 행(2026-10-27): 카드 바탕 + 2px 주황 링, 모서리 8 — 왼쪽 3px 선·연주황 바탕 없음 (날짜 묶음 칸은 링 밖) */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-row.is-selected > td:not(.ops-ref-list-date-cell) { background: var(--sxr-card) !important; box-shadow: inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-row.is-selected > td.ops-ref-list-shift { box-shadow: inset 2px 0 0 var(--sxr-select-line), inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line) !important; border-radius: 8px 0 0 8px; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-row.is-selected > td:last-child { box-shadow: inset -2px 0 0 var(--sxr-select-line), inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line) !important; border-radius: 0 8px 8px 0; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-head, html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-table thead th { background: var(--sxr-head) !important; color: var(--sxr-sub) !important; }
@media (prefers-reduced-motion: reduce) {
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-calendar-line, .ops-ref-summary-item, .ops-ref-view-toggle button) { transition: none !important; }
}

/* 지원근무 상세 R2 (Support-Final / Support-Actions) */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-detail-kpis { display: none !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-detail-title-row { display: flex !important; align-items: flex-start !important; gap: 10px !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-detail-title-main { flex: 1 1 auto; min-width: 0; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-detail-title-main h4 { font-size: 18px !important; line-height: 26px !important; font-weight: 800 !important; color: var(--sxr-ink) !important; overflow-wrap: anywhere; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status { position: relative !important; flex: 0 0 auto; display: block !important; margin: 0 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .ops-ref-footer-status.sxr-status-pill,
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .sxr-status-pill {
  height: 32px !important; min-height: 32px !important; width: auto !important; padding: 0 12px !important; gap: 6px !important; border-radius: 8px !important; /* SUP-14 · E2 */
  background: var(--sxr-card) !important; color: var(--sxr-pill-ink, var(--soc-status-text)) !important; border: 1px solid var(--sxr-pill-line, var(--sxr-line-strong)) !important; box-shadow: none !important; font-size: 13px !important; font-weight: 700 !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .sxr-status-pill .sxr-status-dot { width: 8px; height: 8px; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .sxr-status-pill[data-tone="progress"] { --sxr-pill-dot: var(--soc-status-now-dot); } /* 승인 대기 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .sxr-status-pill[data-tone="received"] { --sxr-pill-ink: var(--soc-status-cancel-text); } /* D7 보완 요청: 중립 + 속 빈 점 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .sxr-status-pill:is([data-tone="received"], [data-tone="cancelled"]) .sxr-status-dot { background: transparent; border: 1.5px solid currentColor; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .sxr-status-pill[data-tone="cancelled"] .sxr-status-dot { border-style: dashed; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .sxr-status-pill[data-tone="cancelled"] > span:not(.sxr-status-dot) { text-decoration: line-through; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .sxr-tip { right: 0; left: auto; top: calc(100% + 6px); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-status .ops-ref-status-menu {
  position: absolute !important; top: calc(100% + 6px) !important; bottom: auto !important; right: 0 !important; left: auto !important; z-index: 45 !important;
  min-width: 248px !important; padding: 6px !important; border-radius: 10px !important; background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14), 0 2px 6px rgba(17, 24, 39, 0.06) !important; display: flex !important; flex-direction: column !important; gap: 2px !important; height: auto !important; max-height: none !important;
  animation: sxr-pop 140ms var(--sxr-ease);
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-menu-item {
  display: grid !important; grid-template-columns: 8px 1fr 14px !important; align-items: center !important; gap: 10px !important; width: 100% !important; min-height: 36px !important; height: auto !important;
  padding: 8px 10px !important; border: 0 !important; border-radius: 7px !important; background: transparent !important; color: var(--sxr-ink) !important; font-size: 13px !important; font-weight: 600 !important; text-align: left !important; box-shadow: none !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-menu-item:hover:not(:disabled),
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-menu-item:focus-visible { background: var(--sxr-chip) !important; outline: none !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-menu-item.is-current { background: var(--sxr-chip) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-menu-item.is-current::after { content: "✓"; font-size: 12px; color: var(--sxr-accent-ink); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-menu-item small { display: block; margin-top: 2px; font-size: 11px; font-weight: 500; color: var(--sxr-sub); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-menu-item:disabled { color: var(--sxr-muted) !important; }
/* E2·E3·D7 상태 메뉴 점: 승인 대기 주황 / 보완 요청 속 빈 점 / 승인 완료·반려·지원 불가 회색 / 작업 취소 점선 원 */
#opsSupportPanel .ops-ref-status-menu .sxr-status-dot { box-sizing: border-box; background: var(--soc-status-done-dot); box-shadow: none; }
#opsSupportPanel .ops-ref-status-menu .sxr-status-dot[data-tone="progress"] { background: var(--soc-status-now-dot); }
#opsSupportPanel .ops-ref-status-menu .sxr-status-dot[data-tone="received"] { background: transparent; border: 1.5px solid var(--soc-status-cancel-text); }
#opsSupportPanel .ops-ref-status-menu .sxr-status-dot[data-tone="cancelled"] { background: transparent; border: 1.5px dashed var(--soc-status-cancel-text); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-footer {
  display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 8px !important; padding: 10px 14px !important; border-top: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important;
}
.sxr-footer-note { font-size: 12px; color: var(--sxr-sub); }
/* SUP-20: the 도우미 band (72px) already clears the bottom of the page scroller, so its extra 104px bottom padding
   (support-chatbot.css) shrinks to 16 here — the sticky detail, sized to the scroller's padding box, then ends just above the band. */
@media (min-width: 1024px) {
  html body.soc-support-chatbot-on main.container.admin-layout:has(#opsSupportPanel:not(.hidden) #opsSupportReferenceRoot) { padding-bottom: 16px !important; }
}
/* SUP-20: from 1280 the open request ends above the bottom band — the detail takes the measured height
   (--ops-ref-detail-available-height, syncOpsSupportLayoutHeight) instead of the 560px floor, and only its body scrolls. */
@media (min-width: 1280px) {
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-shell > .ops-ref-detail-panel.is-request-detail:not(.is-collapsed) { min-height: 0 !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-detail-panel.is-request-detail > .ops-ref-detail-body { min-height: 0 !important; overflow-y: auto !important; }
}
/* D9 · SUP-12: 1024–1279 the open request is an overlay drawer on the right (440 wide, shadow, clear of the 72px bottom band) —
   the calendar keeps its width; × in its head folds it. The view toggle stays at the end of the date row, filters wrap below. */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-drawer-close { display: none !important; }
@media (min-width: 1024px) and (max-width: 1279.98px) {
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-shell > .ops-ref-detail-panel.is-request-detail:not(.is-collapsed) {
    position: fixed !important; top: 72px !important; right: 12px !important; bottom: 80px !important; left: auto !important; z-index: 80 !important;
    width: 440px !important; max-width: calc(100vw - 24px) !important; height: auto !important; min-height: 0 !important; max-height: none !important; margin: 0 !important;
    display: grid !important; grid-template-rows: auto minmax(0, 1fr) auto !important; overflow: hidden !important;
    border-radius: 12px !important; box-shadow: 0 18px 48px rgba(17, 24, 39, 0.22), 0 2px 8px rgba(17, 24, 39, 0.1) !important;
  }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-detail-panel.is-request-detail > .ops-ref-detail-body { min-height: 0 !important; overflow-y: auto !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-drawer-close { display: inline-flex !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-toolbar { display: flex !important; flex-wrap: wrap !important; align-items: center !important; row-gap: 10px !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-toolbar > .ops-ref-month-nav { order: 1 !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-toolbar > .ops-ref-view-toggle { order: 2 !important; margin-left: auto !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-toolbar::after { content: "" !important; order: 3 !important; flex-basis: 100% !important; height: 0 !important; display: block !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-toolbar > .ops-ref-filter { order: 4 !important; }
}
.sxr-menu-up { top: auto !important; bottom: calc(100% + 6px) !important; transform-origin: bottom right; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-more .sxr-menu { min-width: 232px; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-support-more .sxr-btn { height: 32px !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line > * { position: static !important; transform: none !important; margin: 0 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line .ops-ref-chip-count { justify-self: end !important; white-space: nowrap !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item :is(.ops-ref-summary-label, .sxr-kpi-sub) { align-self: flex-start !important; text-align: left !important; margin: 0 !important; justify-self: start !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item .sxr-kpi-copy { align-items: flex-start !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-legend-item { color: var(--soc-status-text) !important; font-size: 12px !important; font-weight: 700 !important; gap: 5px !important; border: 0 !important; padding: 0 !important; background: none !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-status-legend-item.state-cancelled { border: 0 !important; outline: 0 !important; }
/* week view cards (Support-Week): site + count on top, status dot-text below */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar-line.ops-ref-week-card {
  display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 4px !important; padding: 7px 9px !important; min-height: 0 !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card .ops-ref-week-card-top { display: flex !important; flex-wrap: nowrap !important; align-items: flex-start !important; justify-content: space-between !important; gap: 6px !important; min-width: 0 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card .ops-ref-chip-site { flex: 1 1 auto !important; min-width: 0 !important; font-size: 12px !important; display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; overflow: hidden !important; white-space: normal !important; word-break: keep-all !important; overflow-wrap: break-word !important; text-overflow: ellipsis !important; } /* D8 */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card .ops-ref-chip-count { flex: 0 0 auto !important; font-size: 12px !important; white-space: nowrap !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card .ops-ref-chip-count small { font-size: 10px; color: var(--sxr-sub); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card .ops-ref-week-card-bar { display: none !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card .ops-ref-calendar-status {
  position: static !important; width: auto !important; height: auto !important; clip: auto !important; overflow: visible !important;
  display: inline-flex !important; align-items: center; gap: 5px; font-size: 12px !important; font-weight: 700 !important; color: var(--soc-status-text) !important; background: none !important; border: 0 !important; padding: 0 !important;
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card .ops-ref-calendar-status::before { content: ""; box-sizing: border-box; width: 7px; height: 7px; border-radius: 50%; background: var(--sxr-row-dot, var(--soc-status-done-dot)); }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card:is(.state-default, .state-cancelled) .ops-ref-calendar-status { color: var(--soc-status-cancel-text) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card.state-default .ops-ref-calendar-status::before { background: transparent; border: 1.5px solid currentColor; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card.state-cancelled .ops-ref-calendar-status::before { width: 8px; height: 8px; background: transparent; border: 1.5px dashed currentColor; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-week-card:is(.state-rejected, .state-unavailable, .state-cancelled) .ops-ref-calendar-status { text-decoration: line-through; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item > strong,
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) .sxr-kpi-card :is(.soc-summary-value, .soc-ticket-reference-summary-value) { white-space: nowrap !important; flex: 0 0 auto !important; }
/* list view (Support-List): dot-text status, quiet "티켓 상세 ›", toned staffing bar */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-list-status, .ops-ref-day-card-status) .support-status-chip {
  background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; height: auto !important; min-height: 0 !important;
  display: inline-flex !important; align-items: center !important; gap: 5px !important; font-size: 12px !important; font-weight: 700 !important; color: var(--soc-status-text) !important; /* E2 */
}
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-list-status, .ops-ref-day-card-status) .support-status-chip:is(.state-default, .state-cancelled) { color: var(--soc-status-cancel-text) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-list-status, .ops-ref-day-card-status) .support-status-chip.state-cancelled .soc-ops-support-status-text { text-decoration: line-through; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-status .soc-ops-support-status-dot { display: inline-block !important; } /* 리스트 상태 점(날짜 카드는 글자만) */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-list-status, .ops-ref-day-card-status) .soc-ops-support-status-dot { flex: none !important; box-sizing: border-box !important; width: 7px !important; height: 7px !important; border-radius: 50% !important; background: var(--sxr-row-dot, var(--soc-status-done-dot)) !important; border: 0 !important; box-shadow: none !important; margin: 0 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-list-status, .ops-ref-day-card-status) .soc-ops-support-status-dot.state-default { background: transparent !important; border: 1.5px solid currentColor !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-list-status, .ops-ref-day-card-status) .soc-ops-support-status-dot.state-cancelled { width: 8px !important; height: 8px !important; background: transparent !important; border: 1.5px dashed currentColor !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-row:is(:has(.state-rejected), :has(.state-unavailable), :has(.state-cancelled)) .ops-ref-list-site strong { color: var(--sxr-sub) !important; text-decoration: line-through; font-weight: 500 !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-ticket { color: var(--sxr-sub) !important; background: transparent !important; border: 0 !important; font-size: 12px !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-ticket > span { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-bar > span { background: var(--sxr-green) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-row:has(.state-pending) .ops-ref-list-bar > span { background: var(--soc-status-now-dot) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-list-row:is(:has(.state-rejected), :has(.state-unavailable), :has(.state-cancelled)) .ops-ref-list-bar > span { background: var(--soc-status-done-dot) !important; }
/* SX-Support-Live: orange fade on rows/chips a refresh changed, "+n" next to the count, top-right notice */
@keyframes sxr-live-flash { 0%, 30%, 60% { background-color: rgba(255, 107, 0, 0.16); } 15%, 45% { background-color: rgba(255, 107, 0, 0.05); } 100% { background-color: transparent; } }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-live-flash,
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel tr.sxr-live-flash > td { animation: sxr-live-flash 2.4s var(--sxr-ease) both; }
.sxr-delta { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 18px; margin-left: 6px; padding: 0 5px; border-radius: 9px; background: var(--sxr-accent); color: #ffffff; font-size: 11px; font-weight: 800; vertical-align: middle; }
.sxr-live-toast {
  /* RT-SYNC: bottom middle, above the phone's tab bar: at the top it covered 알림·테마·검색 (402) and 월·주·리스트 (1366), the corner covers 도우미. */
  position: fixed; bottom: calc(var(--sxr-live-toast-inset, 16px) + 8px); right: max(16px, calc((100vw - 420px) / 2)); z-index: 1200; display: grid; grid-template-columns: 32px minmax(0, 1fr) 28px; gap: 10px; align-items: start;
  width: min(420px, calc(100vw - 32px)); padding: 12px 12px 12px 14px; border-radius: 12px; background: var(--sxr-card); border: 1px solid var(--sxr-line);
  box-shadow: 0 16px 32px rgba(17, 24, 39, 0.16); color: var(--sxr-ink); animation: sxr-toast-in 220ms var(--sxr-ease);
}
.sxr-live-toast[hidden] { display: none; }
.sxr-live-toast.is-leaving { animation: sxr-toast-out 200ms var(--sxr-ease) forwards; }
@keyframes sxr-toast-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }
@keyframes sxr-toast-out { to { opacity: 0; transform: translateY(-6px); } }
.sxr-live-toast .sxr-avatar { width: 32px; height: 32px; border-radius: 50%; }
.sxr-live-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px; color: var(--sxr-ink-2); }
.sxr-live-copy strong { font-size: 14px; color: var(--sxr-ink); }
.sxr-live-copy small { margin-left: 4px; font-size: 11px; font-weight: 500; color: var(--sxr-sub); }
.sxr-live-copy b { color: var(--sxr-ink); }
.sxr-live-toast .sxr-icon-btn { width: 28px; height: 28px; border: 0; border-radius: 7px; background: transparent; color: var(--sxr-sub); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
.sxr-live-toast .sxr-icon-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (prefers-reduced-motion: reduce) {
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sxr-live-flash, html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel tr.sxr-live-flash > td { animation: none !important; background-color: rgba(255, 107, 0, 0.1) !important; }
  .sxr-live-toast, .sxr-live-toast.is-leaving { animation: none !important; }
}

/* ======================= 보고하기 4단계 작성 (Report-Final / Report-Final-Step4) ======================= */
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel { background: var(--sxr-canvas) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-card {
  border-radius: var(--sxr-radius) !important; background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important; padding: 18px 20px !important;
}
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-card-head { margin-bottom: 12px !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-card-head :is(h3, h4, strong) { font-size: 17px !important; font-weight: 800 !important; color: var(--sxr-ink) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-card-head :is(p, span, small) { font-size: 12px !important; color: var(--sxr-sub) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel :is(.w4-basic-grid, .w4-memo-grid) :is(select, input:not([type="checkbox"]):not([type="radio"]):not([type="file"]), textarea) {
  min-height: 40px !important; border-radius: 8px !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; color: var(--sxr-ink) !important; box-shadow: none !important; font-size: 14px !important;
}
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel :is(.w4-basic-grid, .w4-memo-grid) :is(select, input, textarea):focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: 1px !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel :is(.w4-basic-grid) :is(input[readonly], .w4-auto-badge) { background: var(--sxr-chip) !important; border-color: transparent !important; color: #374151 !important; } /* RP-10: 읽기 전용 = #F3F4F6 채움, 테두리 없음 + '자동' */
:is(html[data-theme="dark"] body, html body.dark) #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel :is(.w4-basic-grid) :is(input[readonly], .w4-auto-badge) { background: rgba(255, 255, 255, 0.07) !important; color: #c9d3e6 !important; }
/* guided rows: done = check + one line + 바꾸기, open = orange frame with option grid, todo = numbered and muted */
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-row {
  border-radius: 10px !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; box-shadow: none !important;
  transition: border-color 160ms var(--sxr-ease), background-color 160ms var(--sxr-ease);
}
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-row.is-open { border: 1.5px solid var(--sxr-accent) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-row.is-todo { background: var(--sxr-head) !important; color: var(--sxr-muted) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-row-no { border-radius: 50% !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-row.is-open .w4-row-no { background: var(--sxr-accent) !important; color: #ffffff !important; border-color: var(--sxr-accent) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-row.is-done .w4-row-no { background: var(--sxr-ink) !important; color: #ffffff !important; border-color: var(--sxr-ink) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-opt {
  border-radius: 8px !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; min-height: 40px !important; box-shadow: none !important;
  transition: border-color 140ms var(--sxr-ease), background-color 140ms var(--sxr-ease);
}
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-opt:hover { border-color: var(--sxr-line-strong) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-opt:is(.is-selected, [aria-checked="true"], [aria-pressed="true"]) { border-color: var(--sxr-accent) !important; background: var(--sxr-accent-fill) !important; }
/* preview card (상황실 미리보기) */
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-preview { border-radius: var(--sxr-radius) !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; box-shadow: none !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-people-box, html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-photo-pick {
  border-radius: 10px !important; border: 1.5px dashed var(--sxr-accent-line) !important; background: var(--sxr-accent-fill) !important; box-shadow: none !important;
}
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-required-count { font-variant-numeric: tabular-nums; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-submit { background: var(--sxr-accent) !important; color: #ffffff !important; border-radius: 8px !important; min-height: 44px !important; font-weight: 800 !important; border: 0 !important; box-shadow: none !important; }
@media (prefers-reduced-motion: reduce) { html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel :is(.w4-row, .w4-opt) { transition: none !important; } }

/* ======================= 직원 목록 (People-Final / People-Actions) ======================= */
html body #peopleView#peopleView#peopleView#peopleView#peopleView { background: var(--sxr-canvas) !important; }
/* KPI-B v2 (E1·E4·E9·E12·D1a·D2 · PL-3·5·6·7·14): one grey band — 요약 4칸 2×2 (white 72px cells, no icons) with the two
   distribution cards stacked on the right; a band under 982px puts the 2×2 on its own row and the two distributions side by side below. */
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip { container: sxrppkpi / inline-size; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-row {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-auto-flow: row !important; gap: 8px !important; padding: var(--sxr-kpi-band-pad, 0px) !important; /* R17 C: 띠 없음 → 안쪽 여백 0 */
  border-radius: 14px !important; background: var(--sxr-kpi-band) !important; box-sizing: border-box !important;
}
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-row.has-dist > .sx-people-kpi-dist { grid-column: auto !important; grid-row: auto !important; }
@container sxrppkpi (min-width: 982px) {
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-row.has-dist { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr) !important; grid-template-rows: auto auto !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-row.has-dist > .sx-people-kpi-dist:nth-of-type(1) { grid-column: 3 !important; grid-row: 1 !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-row.has-dist > .sx-people-kpi-dist:nth-of-type(2) { grid-column: 3 !important; grid-row: 2 !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-row.is-card-view { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-stat {
  display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; grid-template-areas: "copy value" !important; align-items: center !important; column-gap: 12px !important; row-gap: 0 !important;
  min-width: 0 !important; min-height: 72px !important; height: auto !important; box-sizing: border-box !important;
  padding: 14px 18px !important; border-radius: var(--sxr-radius) !important; background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important;
  color: var(--sxr-ink) !important; text-align: left !important; transition: border-color 160ms var(--sxr-ease);
}
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-stat:hover { border-color: var(--sxr-line-strong) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-stat.is-active { background: var(--sxr-card) !important; border-color: var(--sxr-select-line) !important; box-shadow: inset 0 0 0 1px var(--sxr-select-line) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-stat:focus-visible { outline: 2px solid var(--sxr-focus) !important; outline-offset: -2px !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-copy { grid-area: copy !important; display: flex !important; flex-direction: column !important; gap: 2px !important; min-width: 0 !important; align-items: flex-start !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-label { font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sxr-ink-2) !important; white-space: nowrap; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-stat .sxr-kpi-sub { display: block; min-height: 16px; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--sxr-sub); white-space: nowrap; } /* PL-7: 빈 보조 줄도 자리 유지 */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-value { grid-area: value !important; margin: 0 !important; font-size: 28px !important; line-height: 32px !important; font-weight: 700 !important; color: var(--sxr-ink) !important; font-variant-numeric: tabular-nums; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-stat.is-zero .sx-people-kpi-value { color: var(--sxr-sub) !important; } /* E4 */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-dist { min-height: 72px !important; padding: 8px 16px !important; gap: 4px !important; box-sizing: border-box !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-dist-title { margin: 0 !important; font-size: 14px !important; line-height: 20px !important; font-weight: 700 !important; color: var(--sxr-ink-2) !important; } /* PL-14 */
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-legend { font-size: 12px !important; column-gap: 16px !important; color: var(--sxr-ink-2) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-legend strong { color: var(--sxr-ink) !important; font-weight: 700 !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-pct { color: var(--sxr-sub) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-bar { gap: 2px !important; } /* PL-5: 구간 사이 2px */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-kpi-dist { border-radius: var(--sxr-radius) !important; background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important; }
/* table: status and account as dot-text, quiet rows, selected row rail */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row:hover td { background: var(--sxr-row-hover) !important; }
/* 표 선택 행(tr): 칸마다 위·아래 2px, 첫 칸 왼쪽·끝 칸 오른쪽 2px + 바깥 모서리 8 */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row[aria-selected="true"] td { background: var(--sxr-card) !important; box-shadow: inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line) !important; border-bottom-color: transparent !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row[aria-selected="true"] td:first-child { box-shadow: inset 2px 0 0 var(--sxr-select-line), inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line) !important; border-radius: 8px 0 0 8px !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row[aria-selected="true"] td:last-child { box-shadow: inset -2px 0 0 var(--sxr-select-line), inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line) !important; border-radius: 0 8px 8px 0 !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row:has(+ .soc-people-reference-row[aria-selected="true"]) td { border-bottom-color: transparent !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill {
  display: inline-flex !important; align-items: center !important; gap: 6px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important;
  font-size: 12px !important; font-weight: 700 !important; color: var(--sxr-sub) !important; min-height: 0 !important; height: auto !important;
}
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; flex: 0 0 auto; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill.status-active { color: var(--soc-status-text) !important; } /* E3: 재직(정상) = 글자 #374151 + 회색 점 */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill.status-active::before { background: var(--soc-status-done-dot); }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill.status-leave { color: var(--sxr-amber) !important; }
/* E3 · PL-10: 연동됨 = 회색 체크 + #374151, 미연동 = 중립 #6B7280 + 속 빈 점(주황 글자 없음) */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill.account-linked { color: var(--sxr-ink-2) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill.account-linked::before { width: 12px; height: 12px; border-radius: 0; background: var(--soc-status-done-dot);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3.2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2 6.4 4.8 9 10 3.2' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px 12px no-repeat; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill.account-unlinked { color: var(--soc-status-cancel-text) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-pill.account-unlinked::before { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-avatar { border-radius: 8px !important; background: var(--sxr-chip) !important; color: var(--sxr-ink-2) !important; }
/* view toggle → segmented */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-view-toggle { display: inline-flex !important; gap: 2px !important; padding: 3px !important; border-radius: 10px !important; background: var(--sxr-chip) !important; border: 0 !important; box-shadow: none !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-view-btn { height: 30px !important; padding: 0 12px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--sxr-sub) !important; box-shadow: none !important; font-weight: 600 !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-view-btn.is-active { background: var(--sxr-card) !important; color: var(--sxr-ink) !important; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.12) !important; }
/* PL-8 · PL-9: 표 — 머리 --sxr-head, 이름 14/700 잉크, 나머지 13/400 #374151, 직급 13/500 */
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table thead th { background: var(--sxr-head) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row .soc-people-reference-primary { font-size: 13px !important; font-weight: 400 !important; color: var(--sxr-ink-2) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row td:first-child .soc-people-reference-primary { font-size: 14px !important; font-weight: 700 !important; color: var(--sxr-ink) !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row td:nth-child(4) .soc-people-reference-primary { font-weight: 500 !important; }
/* PL-15: 쪽 번호·이전/다음 32px, 테두리 --sxr-line (현재 쪽 주황 채움은 승인 예외로 유지) */
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleDirectoryPagination :is(.soc-people-reference-page-btn, .soc-people-reference-page-nav) { width: 32px !important; min-width: 32px !important; height: 32px !important; min-height: 32px !important; border-color: var(--sxr-line) !important; border-radius: 8px !important; }
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleDirectoryPagination .soc-people-reference-page-btn.is-active { border-color: var(--sxr-select-line) !important; }
/* PL-1: 화면 맞춤 · 스크롤 하나 — 화면 → 목록 카드 → 목록 영역을 세로 flex로 이어 남는 높이를 목록이 씀(페이지 따로 스크롤 없음) */
@media (min-width: 1280px) {
  html body.soc-support-chatbot-on main.container.admin-layout:has(> #dashboardPanel.is-active:not(.hidden) #peopleView.is-active) { padding-bottom: 16px !important; } /* 도우미 띠(72px)가 이미 아래를 비움 — 104 → 16 */
  html body #dashboardPanel#dashboardPanel.is-active:not(.hidden):has(#peopleView.is-active) { height: 100% !important; min-height: 0 !important; padding-bottom: 0 !important; display: flex !important; flex-direction: column !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView:not(.hidden) { flex: 1 1 auto !important; min-height: 0 !important; height: auto !important; display: flex !important; flex-direction: column !important; } /* :not(.hidden) — 5단계: 출퇴근·대시보드 아래로 직원 목록이 함께 그려지던 것 막음 */
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleHubEmployeesPane { flex: 1 1 auto !important; min-height: 0 !important; height: auto !important; grid-template-rows: auto auto minmax(0, 1fr) !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-directory-layout { min-height: 0 !important; height: auto !important; grid-template-rows: minmax(0, 1fr) !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-grid { display: flex !important; flex-direction: column !important; align-self: stretch !important; min-height: 0 !important; height: auto !important; max-height: none !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleDirectoryGridWrap { flex: 1 1 0 !important; min-height: 0 !important; height: auto !important; max-height: none !important; overflow-y: auto !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleDirectoryPagination { flex: 0 0 auto !important; margin-top: auto !important; }
  /* 11-01 webux 05: an empty list centres its picture and note in the list area (it sat on top at its own ~200px), no dashed frame */
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-grid > #peopleDirectoryState:not(.hidden):not([hidden]) { flex: 1 1 auto !important; min-height: 0 !important; display: grid !important; place-items: center !important; grid-template-rows: none !important; border: 0 !important; background: transparent !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleDirectoryState .sx-empty-state { border: 0 !important; background: transparent !important; }
  html body #managerStatusDrawer#managerStatusDrawer.is-docked { align-self: stretch !important; min-height: 0 !important; max-height: 100% !important; }
}
@media (max-width: 1279.98px) {
  /* PL-4: 필터 줄 줄바꿈 — 목록형/카드형 토글은 다음 줄 오른쪽, 정렬 선택칸 160 이상 */
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-toolbar-row { flex-wrap: wrap !important; row-gap: 12px !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-toolbar-main { flex: 1 1 100% !important; min-width: 0 !important; max-width: 100% !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-toolbar-summary { margin-left: auto !important; flex: 0 0 auto !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleDirectorySortSelect { min-width: 160px !important; }
  /* PL-2: 표 = 카드 폭(고정 배치) — 이름 26%, 직원번호 84 · 직급 100 · 재직 상태 92 · 계정 연동 96, 사이트 한 줄 말줄임(전문은 title) */
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table { table-layout: fixed !important; width: 100% !important; min-width: 0 !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table th:nth-child(1) { width: 26% !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table th:nth-child(2) { width: 84px !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table th:nth-child(4) { width: 100px !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table th:nth-child(5) { width: 92px !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table th:nth-child(6) { width: 96px !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table :is(th, td) { padding-left: 10px !important; padding-right: 10px !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row td:nth-child(3) .soc-people-reference-primary { display: block !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; -webkit-line-clamp: unset !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView .soc-people-reference-row td:first-child .soc-people-reference-primary { word-break: keep-all !important; overflow-wrap: anywhere !important; }
}
/* 직원 상세(사원증 · 계정 연동) PL-11·12·13·10 */
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-people-idcard-initial { background: var(--sxr-chip) !important; color: var(--sxr-ink-2) !important; }
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-people-idcard { border-bottom: 1px solid var(--sxr-line) !important; } /* 하단 3px 주황 띠 → 1px 선 */
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-people-idcard-photo-note { color: var(--sxr-sub) !important; }
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-people-idcard-status.is-active { color: #4ade80 !important; } /* 남색 머리 위 글자·점 한 색 */
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-people-idcard-status.is-active .soc-status-dot { background: #4ade80 !important; }
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-people-link-step:not(.is-done) .soc-people-link-step-dot { border: 2px dashed var(--soc-status-cancel-text) !important; } /* PL-12 4.8:1 */
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-people-link-step > span:not(.soc-people-link-step-dot):not(.sx-visually-hidden) { font-size: 12px !important; line-height: 17px !important; color: var(--sxr-sub) !important; }
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-people-link-summary { color: var(--sxr-sub) !important; }
html body #managerStatusDrawer#managerStatusDrawer#managerStatusDrawer .soc-status-dot.is-unlinked { background: transparent !important; box-shadow: inset 0 0 0 1.5px var(--sxr-sub) !important; }

/* ======================= 직원 점수 (Score-Final) ======================= */
html body #employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel { background: var(--sxr-canvas) !important; }
html body #employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel :is(.employee-score-card, .employee-score-summary-card, .soc-score-card, section.ds-card, .employee-score-section) {
  border-radius: var(--sxr-radius) !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important; background: var(--sxr-card) !important;
}
html body #employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel #employeeScoreRangeQuick { display: inline-flex !important; gap: 2px !important; padding: 3px !important; border-radius: 10px !important; background: var(--sxr-chip) !important; }
html body #employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel #employeeScoreRangeQuick button { height: 30px !important; padding: 0 12px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; color: var(--sxr-sub) !important; box-shadow: none !important; font-weight: 600 !important; }
html body #employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel #employeeScoreRangeQuick button:is(.is-active, [aria-pressed="true"]) { background: var(--sxr-card) !important; color: var(--sxr-ink) !important; box-shadow: 0 1px 2px rgba(17, 24, 39, 0.12) !important; }

/* ======================= 내 정보 요약 (KPI-B v2, 2026-10-27 E1·E4·E9·E11·E12) ======================= */
/* One grey band of four white 72px cells, no icons: label (+ 「?」 24px neutral button) and caption left, the count
   right and vertically centred (it used to sit under the label in a fixed 120px row). app.js sets .is-zero on a 0 count. */
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-shell { container: sxrprkpi / inline-size; padding: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-shell .soc-profile-counter-row {
  display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; grid-template-rows: auto !important; grid-auto-rows: auto !important;
  align-content: start !important; gap: 8px !important; height: auto !important; min-height: 0 !important; padding: var(--sxr-kpi-band-pad, 0px) !important; /* R17 C: 띠 없음 → 안쪽 여백 0 */
  border: 0 !important; border-radius: 14px !important; background: var(--sxr-kpi-band) !important; box-shadow: none !important; box-sizing: border-box !important;
}
@container sxrprkpi (max-width: 819.98px) { html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-shell .soc-profile-counter-row { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-counter-row > .soc-profile-kpi-card {
  position: relative !important; display: grid !important;
  grid-template-columns: auto auto minmax(0, 1fr) auto !important; grid-template-rows: auto auto !important;
  grid-template-areas: "label help . num" "sub sub sub num" !important;
  align-content: center !important; align-items: center !important; column-gap: 0 !important; row-gap: 2px !important;
  min-width: 0 !important; height: auto !important; min-height: 72px !important; margin: 0 !important; padding: 14px 18px !important;
  border: 1px solid var(--sxr-line) !important; border-radius: var(--sxr-radius) !important; background: var(--sxr-card) !important; box-shadow: none !important;
  color: var(--sxr-ink) !important; text-align: left !important;
}
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView button.soc-profile-kpi-card:hover { border-color: var(--sxr-line-strong) !important; }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card > span:not(.soc-profile-kpi-unit) { display: contents !important; }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card small { grid-area: label !important; align-self: center !important; margin: 0 !important; font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; color: var(--sxr-ink-2) !important; white-space: nowrap !important; letter-spacing: 0 !important; }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card em { grid-area: sub !important; display: block !important; min-width: 0 !important; margin: 0 !important; font-size: 12px !important; line-height: 16px !important; font-weight: 400 !important; font-style: normal !important; color: var(--sxr-sub) !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card strong { grid-area: num !important; justify-self: end !important; align-self: center !important; display: block !important; margin: 0 0 0 12px !important; font-size: 28px !important; line-height: 32px !important; font-weight: 700 !important; letter-spacing: 0 !important; color: var(--sxr-ink) !important; font-variant-numeric: tabular-nums !important; white-space: nowrap !important; }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card strong .soc-profile-kpi-unit { margin-left: 2px !important; font-size: 14px !important; font-weight: 600 !important; color: #4b5563 !important; }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card.is-zero strong, html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card.is-zero strong .soc-profile-kpi-unit { color: var(--sxr-sub) !important; } /* E4 */
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card .soc-profile-score-popover-wrap { grid-area: help !important; position: relative !important; inset: auto !important; transform: none !important; display: flex !important; align-items: center !important; margin: 0 0 0 4px !important; }
/* 「?」 = 24px neutral icon button (no fill, no border), #4b5563, hover #f3f4f6 */
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card #myProfileScoreInfoBtn.soc-profile-score-info-btn { display: inline-grid !important; place-items: center !important; width: 24px !important; min-width: 24px !important; height: 24px !important; min-height: 24px !important; padding: 0 !important; border: 0 !important; border-radius: 6px !important; background: transparent !important; box-shadow: none !important; color: #4b5563 !important; -webkit-text-fill-color: currentColor !important; font-size: 14px !important; line-height: 24px !important; font-weight: 600 !important; }
html body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card #myProfileScoreInfoBtn.soc-profile-score-info-btn:hover { background: var(--sxr-chip) !important; }
html[data-theme="dark"] body #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card :is(strong .soc-profile-kpi-unit, #myProfileScoreInfoBtn.soc-profile-score-info-btn),
html body.dark #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card :is(strong .soc-profile-kpi-unit, #myProfileScoreInfoBtn.soc-profile-score-info-btn) { color: var(--sxr-sub) !important; }

/* ======================= Apple 주간보고 표지 (AW-Cover-Final / Link / Exc) ======================= */
html body #googleSheetsPanel#googleSheetsPanel#googleSheetsPanel#googleSheetsPanel#googleSheetsPanel :is(.soc-aw6-hero, .soc-aw6-card) {
  border-radius: var(--sxr-radius) !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; box-shadow: none !important;
}
.sxr-aw-steps { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; counter-reset: none; }
.sxr-aw-steps li { display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--sxr-card); border: 1px solid var(--sxr-line); min-width: 0; }
.sxr-aw-step-no { flex: 0 0 auto; width: 24px; height: 24px; border-radius: 50%; background: var(--sxr-chip); color: var(--sxr-ink); font-size: 12px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.sxr-aw-steps li:first-child .sxr-aw-step-no { background: var(--sxr-accent); color: #ffffff; }
.sxr-aw-step-copy { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sxr-aw-step-copy strong { font-size: 13px; color: var(--sxr-ink); }
.sxr-aw-step-copy span { font-size: 12px; color: var(--sxr-sub); overflow-wrap: anywhere; }
@media (max-width: 1023px) { .sxr-aw-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ======================= 공지사항 (Notice-Final-List / Read / Write) ======================= */
/* Read: 760px reading measure, centred; title, meta and body share the column */
html body #announcementPanel#announcementPanel #noticesDetailPanel#noticesDetailPanel#noticesDetailPanel #noticesDetailBody { max-width: 760px !important; margin-left: auto !important; margin-right: auto !important; font-size: 15px !important; line-height: 1.75 !important; }
html body #announcementPanel#announcementPanel #noticesDetailPanel#noticesDetailPanel#noticesDetailPanel :is(#noticesDetailTitle, #noticesDetailMeta) { max-width: 760px; }
html body #announcementPanel#announcementPanel #noticesDetailPanel#noticesDetailPanel#noticesDetailPanel #noticesDetailTitle { font-size: 24px !important; line-height: 32px !important; font-weight: 800 !important; color: var(--sxr-ink) !important; }

/* ======================= 로그인 (Web-Login2 · iOS L3) ======================= */
/* Only buttons, fields and one error line on screen; the orbit is decorative (aria-hidden) and stops for reduced motion.
   Google / 네이버 are not shown on the web until the social web flow is wired (API gap G3); ID/PW is the working path. */
html body #authView#authView#authView.auth-c2 { background: #ffffff !important; }
html[data-theme="dark"] body #authView#authView#authView.auth-c2, body.dark #authView#authView#authView.auth-c2 { background: var(--sxr-canvas) !important; }
html body #authView#authView#authView.auth-c2 :is(.auth-c2-band, .auth-c2-top) { display: none !important; }
html body #authView#authView#authView.auth-c2 .auth-c2-hero { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
html body #authView#authView#authView.auth-c2 .auth-c2-main { display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; min-height: 100dvh !important; gap: 8px !important; padding: 24px 16px !important; box-sizing: border-box; }
.sxr-login-orbit { position: relative; width: 360px; max-width: 100%; height: 280px; flex: 0 0 auto; }
.sxr-ring { position: absolute; left: 50%; top: 50%; width: 150px; height: 150px; margin: -75px 0 0 -75px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(17, 24, 39, 0.12); animation: sxr-ring 3s cubic-bezier(.2,.6,.3,1) infinite; }
.sxr-ring:first-child { box-shadow: inset 0 0 0 1.5px rgba(255, 107, 0, 0.45); }
@keyframes sxr-ring { 0% { transform: scale(.7); opacity: 0; } 15% { opacity: 1; } 100% { transform: scale(2.6); opacity: 0; } }
.sxr-blip { position: absolute; width: 0; height: 0; opacity: 0; animation: sxr-blip 3s cubic-bezier(.2,.8,.2,1) infinite; }
.sxr-blip::before { content: ""; position: absolute; left: -4px; top: -4px; width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; box-shadow: 0 0 0 4px rgba(156, 163, 175, 0.18); }
.sxr-blip.is-accent::before { background: #ff6b00; box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.18); }
.sxr-blip.is-target svg { position: absolute; left: -15px; top: -15px; width: 30px; height: 30px; color: #ff6b00; }
@keyframes sxr-blip { 0% { opacity: 0; transform: scale(.3); } 6% { opacity: 1; transform: scale(1.15); } 12% { transform: scale(1); } 45% { opacity: 1; } 70%, 100% { opacity: 0; transform: scale(1); } }
.sxr-login-tile { position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; transform: translate(-50%, -50%); border-radius: 24px; }
@media (prefers-reduced-motion: reduce) { .sxr-ring { animation: none; opacity: .6; transform: scale(1.4); } .sxr-blip { animation: none; opacity: 1; } }
/* sx-hf5 (D-INT-010): the rings grow to 390px over the card's first button; no part of the orbit takes clicks or taps. */
.sxr-login-orbit, .sxr-login-orbit *, .sxr-login-orbit *::before { pointer-events: none; }
@media (max-height: 700px) { .sxr-login-orbit { height: 200px; } }
/* SX-M7 D-SX-160: the orbit's rings and blips are positioned, so they were painted over the card's static buttons and labels
   (1366×657: a blip inside 「카카오 로그인」, the 390px ring crossing its text). The card is its own layer above the orbit, so
   the decoration passes behind every button and line. On short windows the orbit is 200px tall while blips sit up to 125px
   from its centre: there it fades out at its own edge (soft ellipse mask) instead of reaching into the first button. The
   hf5 rule above (no pointer events) stays. */
html body #authView#authView#authView.auth-c2 .auth-c2-card { position: relative !important; z-index: 1 !important; }
@media (max-height: 700px) {
  .sxr-login-orbit { -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); mask-image: radial-gradient(closest-side, #000 70%, transparent 100%); }
}
/* SX-M7 D-SX-160 (402 200%, 201px): a provider label wraps between words, never inside one (「Google로 로그 / 인」). */
html body #authView#authView#authView.auth-c2 .sx-social-btn > span { min-width: 0; word-break: keep-all; overflow-wrap: anywhere; line-height: 1.25; text-align: center; }
html body #authView#authView#authView.auth-c2 .auth-c2-card { width: 340px !important; max-width: 100% !important; padding: 0 !important; margin: 0 !important; border: 0 !important; background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
html body #authView#authView#authView.auth-c2 .auth-field-label { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
html body #authView#authView#authView.auth-c2 .auth-input-field { margin: 0 0 10px !important; gap: 4px !important; }
html body #authView#authView#authView.auth-c2 :is(#username, #password, #tenantCode) {
  height: 48px !important; min-height: 48px !important; border-radius: 24px !important; border: 0 !important; background: #f3f4f6 !important; padding: 0 18px !important;
  font-size: 15px !important; color: #111827 !important; box-shadow: none !important; transition: box-shadow 140ms var(--sxr-ease);
}
html[data-theme="dark"] body #authView#authView#authView.auth-c2 :is(#username, #password, #tenantCode), body.dark #authView#authView#authView.auth-c2 :is(#username, #password, #tenantCode) { background: #1e293b !important; color: #eaf0ff !important; }
/* r3i23 fix r2 (E3): the 18px side padding above also replaced the password field's room for the 보기 button, so long masked
   passwords ran under the eye icon. Room = the button's 12px inset (.password-toggle below) + its width (38px; 44px at
   640px and below, auth-login-c2) + 8px. */
html body #authView#authView#authView.auth-c2 .auth-password-wrap #password { padding-right: 58px !important; }
@media (max-width: 640px) { html body #authView#authView#authView.auth-c2 .auth-password-wrap #password { padding-right: 64px !important; } }
html body #authView#authView#authView.auth-c2 :is(#username, #password, #tenantCode):focus { box-shadow: inset 0 0 0 2px var(--sxr-ink) !important; outline: none !important; }
html body #authView#authView#authView.auth-c2 :is(#username, #password, #tenantCode)[aria-invalid="true"],
html body #authView#authView#authView.auth-c2 .auth-input-field:has(.input-error:not(.hidden)) :is(input) { box-shadow: inset 0 0 0 2px #dc2626 !important; }
html body #authView#authView#authView.auth-c2 .input-error { padding: 0 6px !important; font-size: 13px !important; font-weight: 600 !important; color: #dc2626 !important; }
html body #authView#authView#authView.auth-c2 .auth-password-wrap .password-toggle { right: 12px !important; background: transparent !important; border: 0 !important; }
html body #authView#authView#authView.auth-c2 :is(#loginSubmitBtn, #loginTenantSubmitBtn) {
  height: 48px !important; min-height: 48px !important; border-radius: 24px !important; background: #ff6b00 !important; color: #ffffff !important; border: 0 !important;
  font-size: 15px !important; font-weight: 800 !important; box-shadow: none !important; transition: filter 140ms var(--sxr-ease), transform 140ms var(--sxr-ease);
}
html body #authView#authView#authView.auth-c2 :is(#loginSubmitBtn, #loginTenantSubmitBtn):active { transform: translateY(1px); }
html body #authView#authView#authView.auth-c2 :is(#loginSubmitBtn, #loginTenantSubmitBtn):disabled { filter: saturate(.55) brightness(1.08); }
html body #authView#authView#authView.auth-c2 .auth-options { justify-content: center !important; margin: 2px 0 12px !important; font-size: 13px !important; color: #6b7280 !important; }
html body #authView#authView#authView.auth-c2 #authMessage { text-align: center; font-size: 13px; }
html body #authView#authView#authView.auth-c2 .auth-c2-footer, html body #authView#authView#authView.auth-c2 footer { color: #9ca3af !important; }
html body #authView#authView#authView.auth-c2 :is(.auth-c2-card, .sxr-login-orbit) { align-self: center !important; }

/* ======================= 도우미 (SX-Chat-A-Hello · A · A-Done · Review · Ask · Write · Todo) ======================= */
/* Closed: a dark 「✦ 도우미」 pill bottom-right that rises above pinned footers/composers (JS sets --sxa-launch-bottom).
   Open: a right-docked full-height panel under the top bar; the message list is the only scroll owner. */
html body #supportChatbotLauncher.soc-support-chatbot-launcher {
  width: auto !important; height: 48px !important; padding: 0 18px 0 8px !important; display: inline-flex !important; align-items: center; gap: 10px;
  border-radius: 999px !important; background: #111827 !important; color: #fff !important; border: 0 !important;
  box-shadow: 0 10px 28px rgba(17, 24, 39, .28) !important; font: inherit; font-size: 15px; font-weight: 800;
  bottom: calc(var(--sxa-launch-bottom, 24px) + env(safe-area-inset-bottom, 0px)) !important; right: calc(var(--sxa-launch-right, 24px) + env(safe-area-inset-right, 0px)) !important;
  transition: bottom 220ms var(--sxr-ease), right 220ms var(--sxr-ease), transform 160ms var(--sxr-ease), box-shadow 160ms var(--sxr-ease);
}
html body #supportChatbotLauncher.soc-support-chatbot-launcher.is-open { display: none !important; }
html body #supportChatbotLauncher .sxa-launch-icon { width: 32px; height: 32px; border-radius: 50%; background: #fff; color: #111827; display: inline-flex; align-items: center; justify-content: center; position: relative; }
html body #supportChatbotLauncher .sxa-launch-icon::after { content: ""; position: absolute; top: 1px; right: 1px; width: 8px; height: 8px; border-radius: 50%; background: var(--sxr-accent); box-shadow: 0 0 0 2px #111827; }
html body #supportChatbotLauncher:hover { transform: translateY(-1px); }
html[data-theme="dark"] body #supportChatbotLauncher.soc-support-chatbot-launcher, body.dark #supportChatbotLauncher.soc-support-chatbot-launcher { background: #f8fafc !important; color: #0f172a !important; }
html[data-theme="dark"] body #supportChatbotLauncher .sxa-launch-icon, body.dark #supportChatbotLauncher .sxa-launch-icon { background: #0f172a; color: #fff; }

html body #supportChatbotPanel#supportChatbotPanel {
  top: calc(var(--soc-topbar-height, 64px) + 12px) !important; bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important; right: calc(16px + env(safe-area-inset-right, 0px)) !important;
  width: min(470px, calc(100vw - 32px)) !important; height: auto !important; max-height: none !important;
  display: flex !important; flex-direction: column !important; overflow: hidden !important;
  border-radius: 16px !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; box-shadow: 0 18px 48px rgba(17, 24, 39, .16) !important;
  animation: sxa-panel-in 240ms var(--sxr-ease);
}
html body #supportChatbotPanel#supportChatbotPanel.hidden { display: none !important; }
html body #supportChatbotPanel#supportChatbotPanel.is-wide { width: min(880px, calc(100vw - 32px)) !important; }
@keyframes sxa-panel-in { from { opacity: 0; transform: translateX(16px); } to { opacity: 1; transform: none; } }
#supportChatbotPanel .sxa-head { display: flex; align-items: center; gap: 10px; padding: 14px 14px 12px 16px; border-bottom: 1px solid var(--sxr-line-soft); background: var(--sxr-card); }
#supportChatbotPanel .sxa-head-avatar { position: relative; flex: 0 0 auto; width: 32px; height: 32px; border-radius: 9px; background: #111827; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
#supportChatbotPanel .sxa-head-avatar::after, #supportChatbotPanel .sxa-avatar::after { content: ""; position: absolute; top: -2px; right: -2px; width: 9px; height: 9px; border-radius: 50%; background: var(--sxr-accent); box-shadow: 0 0 0 2px var(--sxr-card); }
#supportChatbotPanel .sxa-head h2 { margin: 0; font-size: 15px; line-height: 20px; font-weight: 800; color: var(--sxr-ink); }
#supportChatbotPanel .sxa-head p { margin: 1px 0 0; font-size: 11px; line-height: 15px; color: var(--sxr-sub); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-wrap: nowrap; } /* CH-07: 보조 문구 한 줄(전문은 title) */
/* CH-01: ⋯ 더보기 메뉴 — 대화 끝내기(내용 지움)는 여기, ×는 닫기(내용 유지) */
#supportChatbotPanel .sxa-more-wrap { position: relative; flex: 0 0 auto; display: inline-flex; }
#supportChatbotPanel .sxa-more-menu { position: absolute; top: calc(100% + 4px); right: 0; z-index: 30; min-width: 252px; padding: 6px; border-radius: 10px; background: var(--sxr-card); border: 1px solid var(--sxr-line); box-shadow: 0 10px 24px rgba(17, 24, 39, .14); }
#supportChatbotPanel .sxa-more-menu button { display: flex; width: 100%; align-items: center; min-height: 36px; padding: 8px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--sxr-ink); font: inherit; font-size: 13px; font-weight: 600; text-align: left; cursor: pointer; }
#supportChatbotPanel .sxa-more-menu button:hover { background: var(--sxr-chip); }
#supportChatbotPanel .sxa-more-menu button:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: -2px; }
#supportChatbotPanel .sxa-more-menu small { display: block; padding: 2px 10px 6px; font-size: 12px; line-height: 17px; color: var(--sxr-sub); }
#supportChatbotPanel .sxa-head .soc-support-chatbot-panel__icon { width: 32px; height: 32px; border-radius: 8px; color: var(--sxr-sub); background: transparent; border: 0; }
#supportChatbotPanel .sxa-head .soc-support-chatbot-panel__icon:hover { background: var(--sxr-chip); color: var(--sxr-ink); }

#supportChatbotPanel .sxa-list { flex: 1 1 auto; min-height: 0; overflow-y: auto; overflow-x: hidden; overscroll-behavior: contain; padding: 14px 14px 18px; display: flex; flex-direction: column; gap: 14px; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { #supportChatbotPanel .sxa-list { scroll-behavior: auto; } html body #supportChatbotPanel#supportChatbotPanel { animation: none; } }
#supportChatbotPanel .sxa-day { list-style: none; align-self: center; font-size: 11px; color: var(--sxr-muted); }
#supportChatbotPanel .sxa-msg { list-style: none; display: flex; align-items: flex-end; gap: 8px; min-width: 0; animation: sxa-msg-in 220ms var(--sxr-ease); }
@keyframes sxa-msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { #supportChatbotPanel .sxa-msg { animation: none; } }
#supportChatbotPanel .sxa-msg.is-bot { align-items: flex-start; }
#supportChatbotPanel .sxa-avatar { position: relative; flex: 0 0 auto; width: 30px; height: 30px; border-radius: 9px; background: #111827; color: #fff; display: inline-flex; align-items: center; justify-content: center; }
#supportChatbotPanel .sxa-bot { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
#supportChatbotPanel .sxa-name { font-size: 12px; font-weight: 800; color: var(--sxr-ink); line-height: 30px; height: 30px; margin-bottom: -4px; }
#supportChatbotPanel .sxa-bubble { padding: 14px 16px; border-radius: 4px 14px 14px 14px; background: var(--sxr-card); box-shadow: inset 0 0 0 1px var(--sxr-line), 0 1px 2px rgba(17, 24, 39, .04); font-size: 13px; line-height: 20px; color: var(--sxr-ink-2); display: flex; flex-direction: column; gap: 10px; min-width: 0; overflow-wrap: anywhere; }
#supportChatbotPanel .sxa-bubble p { margin: 0; }
#supportChatbotPanel .sxa-bubble b { color: var(--sxr-ink); }
#supportChatbotPanel .sxa-pre { white-space: pre-line; }
#supportChatbotPanel .sxa-time { flex: 0 0 auto; align-self: flex-end; font-size: 10px; color: var(--sxr-muted); white-space: nowrap; }
#supportChatbotPanel .sxa-msg.is-user { justify-content: flex-end; }
#supportChatbotPanel .sxa-user-bubble { max-width: 82%; padding: 9px 14px; border-radius: 14px 14px 4px 14px; background: #111827; color: #fff; font-size: 13px; font-weight: 700; line-height: 19px; white-space: pre-line; overflow-wrap: anywhere; }
html[data-theme="dark"] #supportChatbotPanel .sxa-user-bubble, body.dark #supportChatbotPanel .sxa-user-bubble { background: #e2e8f0; color: #0f172a; }
/* CH-08 다크 위계: 인사 제목 = 잉크(시작 버튼 글자보다 약하지 않게), 아바타 = 닫힌 버튼처럼 밝은 바탕, 입력칸 바탕 없음 */
html[data-theme="dark"] #supportChatbotPanel .sxa-hello-title, body.dark #supportChatbotPanel .sxa-hello-title { color: var(--sxr-ink) !important; }
html[data-theme="dark"] #supportChatbotPanel :is(.sxa-avatar, .sxa-head-avatar), body.dark #supportChatbotPanel :is(.sxa-avatar, .sxa-head-avatar) { background: #ffffff; color: #111827; }
html[data-theme="dark"] #supportChatbotPanel textarea#supportChatbotInput, body.dark #supportChatbotPanel textarea#supportChatbotInput { background: transparent !important; }
#supportChatbotPanel .sxa-hello-title { font-size: 16px; font-weight: 800; color: var(--sxr-ink); }
#supportChatbotPanel .sxa-starters { display: flex; flex-direction: column; gap: 8px; }
#supportChatbotPanel .sxa-starter { min-height: 44px; padding: 10px 14px; border: 0; border-radius: 10px; background: var(--sxr-chip); color: var(--sxr-ink); font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; transition: background-color 140ms var(--sxr-ease), transform 120ms var(--sxr-ease); }
#supportChatbotPanel .sxa-starter:hover { background: color-mix(in srgb, var(--sxr-accent) 10%, var(--sxr-chip)); }
#supportChatbotPanel .sxa-starter:active { transform: translateY(1px); }
#supportChatbotPanel :is(.sxa-starter, .sxa-chip, .sxa-primary, .sxa-secondary, .sxa-row, .sxa-link, .sxa-clip, .sxa-send, .sxa-context button):focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
#supportChatbotPanel .sxa-typing { display: inline-flex; gap: 5px; padding: 4px 0; }
#supportChatbotPanel .sxa-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--sxr-muted); animation: sxa-dot 1s ease-in-out infinite; }
#supportChatbotPanel .sxa-typing span:nth-child(2) { animation-delay: .15s; } #supportChatbotPanel .sxa-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes sxa-dot { 0%, 100% { opacity: .35; transform: none; } 50% { opacity: 1; transform: translateY(-2px); } }
@media (prefers-reduced-motion: reduce) { #supportChatbotPanel .sxa-typing span { animation: none; opacity: .7; } }
/* SXV-2: the wait indicator is a small dots bubble beside the avatar (no 「Sentrix 도우미」 name, content width), so it
   no longer reads as an answer bubble whose title came before its text. */
#supportChatbotPanel .sxa-msg.is-typing { align-items: center; }
#supportChatbotPanel .sxa-msg.is-typing .sxa-bot { flex: 0 0 auto; }
#supportChatbotPanel .sxa-msg.is-typing .sxa-bubble { padding: 10px 14px; border-radius: 14px; }
#supportChatbotPanel .sxa-bars-title, #supportChatbotPanel .sxa-section { margin: 2px 0 -2px; font-size: 12px; font-weight: 800; color: var(--sxr-ink); }
#supportChatbotPanel .sxa-bars ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
#supportChatbotPanel .sxa-bars li { display: grid; grid-template-columns: minmax(0, 84px) minmax(0, 1fr) 28px; align-items: center; gap: 10px; font-size: 12px; }
#supportChatbotPanel .sxa-bar-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sxr-ink-2); font-weight: 600; }
#supportChatbotPanel .sxa-bar-track { height: 7px; border-radius: 99px; background: var(--sxr-chip); overflow: hidden; }
#supportChatbotPanel .sxa-bar-track i { display: block; height: 100%; width: var(--w); border-radius: inherit; background: #1f2937; transform-origin: left; animation: sxa-grow 520ms var(--sxr-ease) both; }
#supportChatbotPanel .sxa-bar-track i.is-top { background: var(--sxr-accent); }
html[data-theme="dark"] #supportChatbotPanel .sxa-bar-track i:not(.is-top), body.dark #supportChatbotPanel .sxa-bar-track i:not(.is-top) { background: #cbd5e1; }
@keyframes sxa-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) { #supportChatbotPanel .sxa-bar-track i { animation: none; } }
#supportChatbotPanel .sxa-bars b { text-align: right; color: var(--sxr-ink); font-variant-numeric: tabular-nums; }
#supportChatbotPanel .sxa-source { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--sxr-sub); }
#supportChatbotPanel .sxa-compare b.is-up { color: var(--sxr-attention); } #supportChatbotPanel .sxa-compare b.is-down { color: var(--sxr-green); }
#supportChatbotPanel .sxa-chips { display: flex; flex-wrap: wrap; gap: 6px; }
#supportChatbotPanel .sxa-chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
#supportChatbotPanel .sxa-chip:hover { border-color: var(--sxr-line-strong); }
#supportChatbotPanel .sxa-chip.is-on { border-color: var(--sxr-ink); box-shadow: inset 0 0 0 1px var(--sxr-ink); }
#supportChatbotPanel .sxa-rows { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
#supportChatbotPanel .sxa-rows li + li { border-top: 1px solid var(--sxr-line-soft); }
#supportChatbotPanel .sxa-row { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 2px; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; border-radius: 8px; }
#supportChatbotPanel .sxa-row:hover { background: var(--sxr-row-hover); }
#supportChatbotPanel .sxa-row-icon { flex: 0 0 auto; width: 30px; height: 30px; border-radius: 8px; background: var(--sxr-chip); color: var(--sxr-ink-2); display: inline-flex; align-items: center; justify-content: center; }
#supportChatbotPanel .sxa-row-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
#supportChatbotPanel .sxa-row-copy strong { font-size: 13px; color: var(--sxr-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#supportChatbotPanel .sxa-row-copy span { font-size: 11px; color: var(--sxr-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#supportChatbotPanel .sxa-row > svg { flex: 0 0 auto; color: var(--sxr-muted); }
#supportChatbotPanel .sxa-tag { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 800; white-space: nowrap; color: var(--sxr-neutral); }
#supportChatbotPanel .sxa-tag::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
#supportChatbotPanel .sxa-tag.is-danger { color: var(--sxr-red); } #supportChatbotPanel .sxa-tag.is-warn { color: var(--sxr-amber-strong); } #supportChatbotPanel .sxa-tag.is-muted { color: var(--sxr-sub); }
#supportChatbotPanel .sxa-actions { display: flex; gap: 8px; flex-wrap: wrap; }
#supportChatbotPanel .sxa-primary { flex: 1 1 auto; min-height: 40px; padding: 0 16px; border: 0; border-radius: 9px; background: var(--sxr-accent); color: #fff; font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
#supportChatbotPanel .sxa-primary:disabled { opacity: .45; cursor: not-allowed; }
#supportChatbotPanel .sxa-secondary { min-height: 40px; padding: 0 16px; border-radius: 9px; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; }
#supportChatbotPanel .sxa-note { font-size: 11px; line-height: 16px; color: var(--sxr-sub); }
#supportChatbotPanel .sxa-error { font-size: 12px; color: var(--sxr-red); }
#supportChatbotPanel .sxa-draft-card { border-radius: 10px; box-shadow: inset 0 0 0 1px var(--sxr-line); padding: 10px 12px; }
#supportChatbotPanel .sxa-draft-head { display: flex; align-items: baseline; gap: 6px; padding-bottom: 6px; }
#supportChatbotPanel .sxa-draft-head strong { font-size: 13px; color: var(--sxr-ink); } #supportChatbotPanel .sxa-draft-head span { font-size: 11px; color: var(--sxr-sub); }
#supportChatbotPanel .sxa-draft-head em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--sxr-sub); }
#supportChatbotPanel .sxa-draft-head em::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 5px; border-radius: 50%; background: var(--sxr-muted); vertical-align: 1px; }
#supportChatbotPanel .sxa-draft { margin: 0; display: flex; flex-direction: column; }
#supportChatbotPanel .sxa-draft > div { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 10px; padding: 8px 0; border-top: 1px solid var(--sxr-line-soft); font-size: 12px; }
#supportChatbotPanel .sxa-draft dt { color: var(--sxr-sub); } #supportChatbotPanel .sxa-draft dd { margin: 0; color: var(--sxr-ink); font-weight: 700; overflow-wrap: anywhere; }
#supportChatbotPanel .sxa-missing { color: var(--sxr-attention); font-weight: 700; } #supportChatbotPanel .sxa-accent { color: var(--sxr-attention); font-weight: 800; }
#supportChatbotPanel .sxa-sub { color: var(--sxr-sub); font-weight: 500; }
#supportChatbotPanel .sxa-review { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
#supportChatbotPanel .sxa-review-item { padding: 10px 12px; border-radius: 10px; box-shadow: inset 0 0 0 1px var(--sxr-line); display: flex; flex-direction: column; gap: 6px; font-size: 12px; }
#supportChatbotPanel .sxa-review-head { display: flex; align-items: center; gap: 8px; }
#supportChatbotPanel .sxa-review-head strong { flex: 1 1 auto; font-size: 13px; color: var(--sxr-ink); }
#supportChatbotPanel .sxa-num { flex: 0 0 auto; width: 20px; height: 20px; border-radius: 50%; background: #111827; color: #fff; font-size: 11px; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
#supportChatbotPanel .sxa-strike { text-decoration: line-through; color: var(--sxr-sub); }
#supportChatbotPanel .sxa-review-act { display: flex; justify-content: flex-end; }
#supportChatbotPanel .sxa-link { border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 800; color: var(--sxr-ink); cursor: pointer; }
#supportChatbotPanel .sxa-link:disabled { color: var(--sxr-green); cursor: default; }
#supportChatbotPanel .sxa-card-title { font-size: 14px; font-weight: 800; color: var(--sxr-ink); }
#supportChatbotPanel .sxa-field { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--sxr-sub); }
#supportChatbotPanel .sxa-field input { height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--sxr-line-strong); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; }
#supportChatbotPanel .sxa-msg.is-error .sxa-bubble { box-shadow: inset 0 0 0 1px var(--sxr-warn-line); background: var(--sxr-warn-fill); }
#supportChatbotPanel .sxa-composer { flex: 0 0 auto; padding: 10px 14px 14px; border-top: 0; background: var(--sxr-card); display: flex; flex-direction: column; gap: 8px; }
#supportChatbotPanel .sxa-context { display: flex; align-items: center; gap: 6px; min-height: 30px; padding: 0 6px 0 10px; border-radius: 8px; background: var(--sxr-chip); font-size: 12px; color: var(--sxr-sub); }
html:not([data-theme="dark"]) body:not(.dark) #supportChatbotPanel .sxa-context { color: var(--soc-text-soft-2, #4b5563); } /* CH-03: 「보는 중」·눈 아이콘 6.87:1 */
#supportChatbotPanel .sxa-context b { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sxr-ink); }
#supportChatbotPanel .sxa-context button { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--sxr-sub); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
#supportChatbotPanel .sxa-context button svg { width: 14px; height: 14px; }
#supportChatbotPanel .sxa-box { display: flex !important; flex-direction: column !important; align-items: stretch !important; gap: 6px !important; padding: 10px 10px 8px 12px !important; border-radius: 12px !important; border: 1.5px solid var(--sxr-ink) !important; background: var(--sxr-card) !important; }
#supportChatbotPanel .sxa-box textarea { width: 100%; min-height: 22px; max-height: 160px; border: 0 !important; outline: none !important; box-shadow: none !important; background: transparent !important; resize: none; font: inherit; font-size: 13px; line-height: 20px; color: var(--sxr-ink); padding: 0 !important; }
/* R8: the textarea is flat inside the rounded box, so keyboard focus rings the box (like the 상황실 search field). */
#supportChatbotPanel .sxa-box:has(textarea:focus-visible) { outline: 2px solid var(--ui-focus-color, #111827) !important; outline-offset: 0 !important; }
#supportChatbotPanel .sxa-box-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
#supportChatbotPanel .sxa-clip { display: inline-flex !important; align-items: center; gap: 6px; width: auto !important; height: 30px !important; padding: 0 8px 0 4px !important; border: 0 !important; border-radius: 8px; background: transparent !important; color: var(--sxr-sub) !important; font: inherit; font-size: 11px; cursor: pointer; }
#supportChatbotPanel .sxa-clip svg { width: 18px; height: 18px; padding: 5px; box-sizing: content-box; border-radius: 7px; border: 1px solid var(--sxr-line); }
#supportChatbotPanel .sxa-send { width: 34px !important; height: 34px !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 50% !important; background: var(--sxr-accent) !important; color: #fff !important; display: inline-flex !important; align-items: center; justify-content: center; cursor: pointer; transition: transform 120ms var(--sxr-ease); }
#supportChatbotPanel .sxa-send:active { transform: scale(.94); } #supportChatbotPanel .sxa-send:disabled { opacity: .45; }
/* roster cards (SX-Chat-A) keep their structure but sit in the same bubble language */
#supportChatbotPanel .soc-support-chatbot__msg.is-card { --sxa-card-indent: 38px; margin-left: var(--sxa-card-indent); width: calc(100% - var(--sxa-card-indent)); min-width: 0; border-radius: 4px 14px 14px 14px !important; background: var(--sxr-card) !important; box-shadow: inset 0 0 0 1px var(--sxr-line) !important; }
@media (max-width: 1023.98px) { html body #supportChatbotPanel#supportChatbotPanel { width: min(420px, calc(100vw - 32px)) !important; } }
/* D10 (2026-10-27): 1024–1439 floats over the page at 360px; from 1440 the 470px panel docks — support-chatbot.js sets
   body.soc-support-chatbot-docked and the page scroller gives up the panel's width + 32px, so no page text sits under it. */
@media (min-width: 1024px) and (max-width: 1439.98px) { html body #supportChatbotPanel#supportChatbotPanel { width: 360px !important; } }
@media (min-width: 1440px) {
  html body.soc-support-chatbot-docked:not(.soc-auth-shell-active):not(#sxa-dock):not(#sxa-dock) .soc-app-shell > main.container.admin-layout { padding-right: calc(470px + 32px) !important; box-sizing: border-box !important; }
}

/* 상황실 list (Alerts-Final): 지점 · 사건 유형 read left-aligned like the board; 제목 sits in the middle of its wide
   column, and the short columns (ECI · 상태 · 보고 시간) centre the header and the value on the same axis (11-01 webux:
   header ↔ value centre gap 20/28px → 0). The ECI and 상태 cells are content-width badges, so the cell itself centres. */
html body #alertsView#alertsView#alertsView#alertsView#alertsView :is(.soc-situation-row, .soc-pc-incident-header) > :is(:nth-child(2), :nth-child(3)) { text-align: left !important; justify-content: flex-start !important; justify-self: stretch !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView :is(.soc-situation-row, .soc-pc-incident-header) > :nth-child(4) { text-align: center !important; justify-content: center !important; justify-self: stretch !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView :is(.soc-situation-row, .soc-pc-incident-header) > :nth-child(n+5) { text-align: center !important; justify-content: center !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-pc-incident-header > :nth-child(n+5) { justify-self: stretch !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row > :nth-child(n+5) { justify-self: center !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-title { display: flex !important; align-items: center !important; gap: 6px; min-width: 0 !important; overflow: hidden; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-title .incident-title-text { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .sxr-todo-badge { flex: 0 0 auto; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-severity { justify-self: center !important; } /* 11-01 webux: under the centred ECI header */
/* filter row sits on the canvas, no tinted strip */
html body #alertsView#alertsView#alertsView#alertsView#alertsView :is(.soc-situation-filter-bar, .soc-situation-filters, section:has(> .soc-situation-filter-field)) { background: transparent !important; box-shadow: none !important; border: 0 !important; }

/* ======================= 보고하기 4단계 · 차후 조치 / 후속 할 일 / 사건 상태 (Report-Final-Step4, W4F) ======================= */
form.w4f-on .w4f-legacy-check { display: none !important; }
.w4f-mount[hidden] { display: none !important; }
.w4f-mount { display: flex; flex-direction: column; gap: 12px; }
.w4f-row .w4-row-head { margin-bottom: 10px; }
.w4f-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.w4f-mount .w4f-choices { grid-template-columns: minmax(0, 1fr); max-width: 420px; }
.w4f-check {
  display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 12px; border-radius: 8px;
  border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink-2); font: inherit; font-size: 14px; text-align: left; cursor: pointer;
  transition: border-color 140ms var(--sxr-ease), background-color 140ms var(--sxr-ease);
}
.w4f-check:hover { border-color: var(--sxr-line-strong); }
.w4f-check.is-on { border-color: var(--sxr-accent); background: var(--sxr-accent-fill); color: var(--sxr-ink); font-weight: 700; }
.w4f-check:focus-visible, .w4f-seg:focus-visible, .w4f-todo-add:focus-visible, .w4f-todo-remove:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.w4f-box { flex: 0 0 auto; width: 16px; height: 16px; border-radius: 4px; border: 1.5px solid var(--sxr-line-strong); background: var(--sxr-card); display: inline-flex; align-items: center; justify-content: center; transition: background-color 140ms var(--sxr-ease); }
.w4f-check.is-on .w4f-box { background: var(--sxr-accent); border-color: var(--sxr-accent); }
.w4f-check.is-on .w4f-box::after { content: ""; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg) translate(1px, -1px); }
.w4f-todos { margin-top: 10px; padding: 12px; border-radius: 10px; background: var(--sxr-head); display: flex; flex-direction: column; gap: 8px; animation: sxr-pop-in 180ms var(--sxr-ease); }
.w4f-todos-title { margin: 0; font-size: 12px; font-weight: 700; color: var(--sxr-ink-2); }
.w4f-todo-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 150px) 140px 28px; gap: 6px; align-items: center; }
.w4f-todo-row :is(input, select) { min-width: 0; height: 38px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--sxr-line-strong); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 14px; }
.w4f-todo-row input[data-w4f-todo-field="content"]:focus { border-color: var(--sxr-ink); outline: none; box-shadow: 0 0 0 1px var(--sxr-ink); }
.w4f-todo-remove { width: 28px; height: 28px; border: 0; border-radius: 6px; background: transparent; color: var(--sxr-muted); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.w4f-todo-remove:hover { background: var(--sxr-chip); color: var(--sxr-red); }
.w4f-todo-add { display: flex; align-items: center; gap: 10px; min-height: 38px; padding: 0 12px; border-radius: 8px; border: 1px dashed var(--sxr-accent-line); background: var(--sxr-accent-fill); color: var(--sxr-sub); font: inherit; font-size: 13px; text-align: left; cursor: pointer; }
.w4f-todo-add:hover { border-color: var(--sxr-accent); color: var(--sxr-ink-2); }
.w4f-plus { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; background: var(--sxr-accent); color: #fff; font-weight: 700; line-height: 1; }
.w4f-error { margin: 0; font-size: 12px; color: var(--sxr-red); }
.w4f-status { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 12px; margin-top: 12px; }
.w4f-mount .w4f-status { margin-top: 0; }
.w4f-status-label { font-size: 14px; font-weight: 700; color: var(--sxr-ink); }
.w4f-segs { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--sxr-chip); }
/* RP-06: 공통 분할 버튼 — 비선택 #4B5563 600(6.9:1), 선택 칸 카드 + 1px #D1D5DB · #111827 800 */
.w4f-seg { min-width: 64px; height: 32px; padding: 0 14px; border: 0; border-radius: 7px; background: transparent; color: #4b5563; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; transition: background-color 160ms var(--sxr-ease), color 160ms var(--sxr-ease), box-shadow 160ms var(--sxr-ease); }
.w4f-seg.is-on { background: var(--sxr-card); color: var(--sxr-ink); font-weight: 800; box-shadow: inset 0 0 0 1px var(--sxr-line-strong); }
:is(html[data-theme="dark"] body, html body.dark) .w4f-seg:not(.is-on) { color: var(--sxr-sub); }
.w4f-hint { font-size: 12px; color: var(--sxr-sub); }
.w4f-summary { margin: 0 0 8px; font-size: 12px; line-height: 18px; color: var(--sxr-sub); }
.w4f-summary:empty { display: none; }
@media (max-width: 1500px) { .w4f-todo-row { grid-template-columns: minmax(0, 1fr) minmax(0, 120px) 132px 28px; } }
@media (max-width: 900px) { .w4f-choices { grid-template-columns: minmax(0, 1fr); } .w4f-todo-row { grid-template-columns: minmax(0, 1fr) 28px; } .w4f-todo-row :is(select, input[type="date"]) { grid-column: 1 / 2; } }
@media (prefers-reduced-motion: reduce) { .w4f-todos { animation: none; } .w4f-seg, .w4f-check, .w4f-box { transition: none; } }
#supportChatbotPanel .sxa-list { background: var(--sxr-card) !important; }
#supportChatbotPanel .sxa-context button svg { width: 14px !important; height: 14px !important; display: block; }

/* 티켓 상세: ARLS 전달 상태 (Tickets-Types 초과근무) · 답변 요청 */
.sxr-arls { display: flex; align-items: center; gap: 8px; margin: 12px 0 0; padding: 10px 12px; border-radius: 9px; font-size: 12px; font-weight: 600; line-height: 18px; }
.sxr-arls-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.sxr-arls.is-ok { background: color-mix(in srgb, var(--sxr-green) 9%, transparent); color: var(--sxr-green); }
.sxr-arls.is-wait { background: var(--sxr-chip); color: var(--sxr-sub); }
.sxr-arls.is-warn { background: var(--sxr-warn-fill); color: var(--sxr-amber-strong); }
.sxr-arls.is-error { background: color-mix(in srgb, var(--sxr-red) 9%, transparent); color: var(--sxr-red); }
.sxr-reply { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--sxr-line-soft); }
.sxr-reply[hidden] { display: none !important; }
.sxr-reply .sxr-section-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.sxr-reply-list { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.sxr-reply-item { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 9px; box-shadow: inset 0 0 0 1px var(--sxr-line); }
.sxr-reply-item.is-mine { background: var(--sxr-accent-fill); box-shadow: inset 0 0 0 1px var(--sxr-accent-line); }
.sxr-reply-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: var(--sxr-red); }
.sxr-reply-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.sxr-reply-copy strong { font-size: 13px; color: var(--sxr-ink); }
.sxr-reply-copy span { font-size: 12px; color: var(--sxr-sub); overflow-wrap: anywhere; }
.sxr-reply-btn { flex: 0 0 auto; height: 30px; padding: 0 12px; border: 0; border-radius: 8px; background: var(--sxr-accent); color: #ffffff; font-size: 12px; font-weight: 700; cursor: pointer; } /* R17: 주 액션 = 주황 */
.sxr-reply-btn:disabled { opacity: .5; }
.sxr-reply-form { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr); gap: 6px; margin-top: 8px; padding: 10px; border-radius: 9px; background: var(--sxr-head); box-shadow: inset 0 0 0 1px var(--sxr-line); animation: sxr-pop-in 180ms var(--sxr-ease); }
.sxr-reply-form :is(input, select) { min-width: 0; height: 34px; padding: 0 10px; border: 1px solid var(--sxr-line-strong); border-radius: 8px; background: var(--sxr-card); color: var(--sxr-ink); font-size: 13px; }
.sxr-reply-form .sxr-note { grid-column: 1 / -1; margin: 0; font-size: 11px; color: var(--sxr-sub); }
@media (prefers-reduced-motion: reduce) { .sxr-reply-form { animation: none; } }
/* 티켓 list: 지점 · 티켓 유형 left-aligned, 제목 centred in its wide column, 요청 인원 · 상태 · 제출 시간 centre the
   header and the value on the same axis (11-01 webux); 작업 취소 · 반려 rows read as closed (Tickets-Final) */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView :is(.soc-ticket-reference-row, .soc-ticket-reference-table-header) > :is(:nth-child(2), :nth-child(3)) { text-align: left !important; justify-content: flex-start !important; justify-self: stretch !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row > :nth-child(2) { padding-left: 0 !important; margin-left: 0 !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView :is(.soc-ticket-reference-row, .soc-ticket-reference-table-header) > :nth-child(4) { text-align: center !important; justify-content: center !important; justify-self: stretch !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row > .soc-ticket-reference-cell--title > .soc-ticket-reference-title-text { flex: 0 1 auto !important; width: auto !important; min-width: 0; text-align: center !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView :is(.soc-ticket-reference-row, .soc-ticket-reference-table-header) > :nth-child(n+5) { text-align: center !important; justify-content: center !important; padding-left: 0 !important; padding-right: 0 !important; margin-left: 0 !important; margin-right: 0 !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-table-header > :nth-child(n+5) { justify-self: stretch !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row > :nth-child(n+5) { justify-self: center !important; }
/* TK-02·TK-03·D3: 반려는 흐림 없이 #6B7280, 작업 취소는 시안 C 흐림(.6, components.css) 위 잉크 글자(겹친 결과 ≈4.6:1) — 둘 다 제목 1.5px 취소선 */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row:is(.status-rejected, [data-status="반려"]) :is(.soc-ticket-reference-cell--site, .soc-ticket-reference-cell--type, .soc-ticket-reference-cell--requested, .soc-ticket-reference-title-no) { color: var(--sxr-sub) !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row:is(.status-cancelled, .status-canceled, [data-status="작업취소"]) :is(.soc-ticket-reference-cell--site, .soc-ticket-reference-cell--type, .soc-ticket-reference-cell--time, .soc-ticket-reference-cell--type .sxr-kind-icon) { color: var(--sxr-ink) !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row:is(.status-cancelled, .status-canceled, .status-rejected, [data-status="작업취소"], [data-status="반려"]) .soc-ticket-reference-cell--title :is(strong, b, .soc-ticket-reference-title-text, span:last-child) { text-decoration-line: line-through !important; text-decoration-thickness: 1.5px !important; color: var(--sxr-sub) !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-row:is(.status-cancelled, .status-canceled, [data-status="작업취소"]) .soc-ticket-reference-cell--title :is(.soc-ticket-reference-title-text, span:last-child) { color: var(--sxr-ink) !important; }

/* 지원근무자 현황: KPI 아이콘·칩 상태 톤은 위 「지원근무자 현황」 블록(E1·E2·E3)이 소유 */
html body #opsSupportReferenceRoot#opsSupportReferenceRoot .ops-ref-list-status .support-status-chip { display: inline-flex !important; align-items: center; background: transparent !important; border: 0 !important; padding: 0 !important; font-weight: 700; }

/* 직원 상세 · 동작 (People-Actions): status menu, 휴직 / 퇴사 popovers, 계정 연동 안내 */
.soc-people-idcard-head { position: relative; }
.sxp-status-btn { display: inline-flex !important; align-items: center; gap: 5px; margin-left: auto; padding: 3px 8px 3px 10px !important; border-radius: 999px !important; border: 1px solid rgba(255,255,255,.18) !important; background: rgba(255,255,255,.08) !important; color: inherit; font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.sxp-status-btn:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.soc-people-idcard { position: relative; overflow: visible !important; }
.sxp-menu, .sxp-pop { position: absolute; z-index: 30; top: 44px; right: 12px; width: min(300px, calc(100% - 24px)); padding: 6px; border-radius: 12px; background: var(--sxr-card); color: var(--sxr-ink); box-shadow: 0 16px 40px rgba(17,24,39,.2), 0 0 0 1px var(--sxr-line); animation: sxr-pop-in 160ms var(--sxr-ease); }
.sxp-pop { width: min(340px, calc(100% - 24px)); padding: 14px; display: flex; flex-direction: column; gap: 10px; }
.sxp-menu-item { width: 100%; display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 0; border-radius: 8px; background: transparent; color: var(--sxr-ink); text-align: left; font: inherit; cursor: pointer; }
.sxp-menu-item:hover:not([disabled]), .sxp-menu-item:focus-visible { background: var(--sxr-chip); outline: none; }
.sxp-menu-item[disabled]:not(.is-current) { opacity: .45; cursor: not-allowed; }
.sxp-menu-item.is-current { background: var(--sxr-chip); }
.sxp-menu-item svg { margin-left: auto; color: var(--sxr-accent); }
.sxp-dot { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--sxr-green); }
.sxp-menu-item.is-leave .sxp-dot { background: var(--sxr-amber-strong); } .sxp-menu-item.is-danger .sxp-dot { background: var(--sxr-neutral); }
.sxp-menu-item.is-danger strong { color: var(--sxr-red); }
.sxp-menu-copy { display: flex; flex-direction: column; } .sxp-menu-copy strong { font-size: 13px; } .sxp-menu-copy span { font-size: 11px; color: var(--sxr-sub); }
.sxp-menu-sep { display: block; height: 1px; margin: 4px 6px; background: var(--sxr-line-soft); }
.sxp-pop-title { margin: 0; font-size: 14px; font-weight: 800; }
.sxp-pop.is-danger .sxp-pop-title { color: var(--sxr-red); }
.sxp-pop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.sxp-pop label, .sxp-one { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--sxr-sub); }
.sxp-pop input { height: 36px; padding: 0 10px; border: 1px solid var(--sxr-line-strong); border-radius: 8px; background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; }
.sxp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.sxp-chip { height: 30px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink-2); font: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.sxp-chip.is-on { border-color: var(--sxr-accent); color: var(--sxr-accent-ink); background: var(--sxr-accent-fill); }
.sxp-note { margin: 0; font-size: 11px; line-height: 16px; color: var(--sxr-sub); } .sxp-note.is-danger { color: var(--sxr-red); }
.sxp-error { margin: 4px 6px; font-size: 12px; line-height: 17px; color: var(--sxr-red); }
.sxp-pop-actions { display: flex; justify-content: flex-end; gap: 6px; }
.sxp-btn { height: 34px; padding: 0 14px; border-radius: 8px; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sxp-btn.is-primary { border-color: var(--sxr-accent); background: var(--sxr-accent); color: #fff; }
.sxp-btn.is-danger { border-color: var(--sxr-red); background: var(--sxr-red); color: #fff; }
.sxp-btn:disabled { opacity: .5; cursor: not-allowed; }
.sxp-btn:focus-visible, .sxp-chip:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.sxp-invite { margin: 12px 0; padding: 12px; border-radius: 10px; border: 1px dashed var(--sxr-accent-line); background: var(--sxr-accent-fill); display: flex; flex-direction: column; gap: 8px; }
.sxp-invite-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 12px; font-weight: 700; color: var(--sxr-attention); }
.sxp-guide { display: flex; flex-direction: column; gap: 6px; font-size: 12px; color: var(--sxr-ink-2); }
.sxp-guide p { margin: 0; } .sxp-guide ul { margin: 0; padding-left: 18px; }
@media (prefers-reduced-motion: reduce) { .sxp-menu, .sxp-pop { animation: none; } }

/* ======================= 직원 점수 (Score-Final SC1) ======================= */
html body #employeeScorePanel.sx-score-on #employeeScoreContent { display: none !important; }
html body #employeeScorePanel.sx-score-on .soc-employee-score-filter-bar { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html body #employeeScorePanel.sx-score-on .soc-employee-score-filter-bar { display: flex !important; align-items: flex-end; gap: 16px; }
.sx-score-formula { margin: 0 0 6px auto; font-size: 12px; color: var(--sxr-sub); white-space: nowrap; }
.sx-score-formula::before { content: "ⓘ "; }
.sx-score-board { display: flex; flex-direction: column; gap: 16px; margin-top: 16px; animation: sxr-pop-in 220ms var(--sxr-ease); }
@media (prefers-reduced-motion: reduce) { .sx-score-board { animation: none; } }
.sx-score-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.sx-score-card { min-width: 0; padding: 18px 20px; border-radius: var(--sxr-radius); background: var(--sxr-card); border: 1px solid var(--sxr-line); }
.sx-score-card-title { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--sxr-ink-2); }
.sx-score-big { display: block; font-size: 28px; line-height: 34px; font-weight: 800; color: var(--sxr-ink); font-variant-numeric: tabular-nums; }
.sx-score-hist { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; height: 92px; margin-top: 10px; align-items: end; }
.sx-score-hist-col { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; gap: 6px; }
.sx-score-hist-col i { display: block; width: 100%; border-radius: 3px 3px 0 0; background: var(--sxr-line-strong); transform-origin: bottom; animation: sx-score-rise 520ms var(--sxr-ease) both; }
.sx-score-hist-col i:not(.is-avg):not(.is-zero) { background: #8b929c; } /* SC-6: 일반 막대 3.14:1 (0명 칸 바닥선은 연한 선 그대로) */
html[data-theme="dark"] .sx-score-hist-col i:not(.is-avg):not(.is-zero), body.dark .sx-score-hist-col i:not(.is-avg):not(.is-zero) { background: #5b6b8c; } /* SC-8 */
.sx-score-hist-col i.is-avg { background: var(--sxr-ink); }
.sx-score-hist-col em { font-style: normal; font-size: 11px; color: var(--sxr-sub); text-align: center; }
@keyframes sx-score-rise { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@media (prefers-reduced-motion: reduce) { .sx-score-hist-col i { animation: none; } }
.sx-score-caption { margin: 10px 0 0; font-size: 12px; color: var(--sxr-sub); }
.sx-score-sites { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.sx-score-sites li { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 52px; gap: 12px; align-items: center; font-size: 13px; }
.sx-score-sites li > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--sxr-ink); }
.sx-score-site-track { height: 7px; border-radius: 99px; background: var(--sxr-chip); overflow: hidden; }
.sx-score-site-track i { display: block; height: 100%; border-radius: inherit; background: var(--sxr-ink); }
.sx-score-sites b { text-align: right; font-weight: 600; color: var(--sxr-ink-2); font-variant-numeric: tabular-nums; }
.sx-score-top { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-direction: column; }
.sx-score-top button { width: 100%; display: flex; align-items: center; gap: 12px; padding: 6px 0; border: 0; background: none; font: inherit; color: var(--sxr-ink); cursor: pointer; text-align: left; }
.sx-score-top button:hover .sx-score-name { text-decoration: underline; }
.sx-score-rank { width: 16px; color: var(--sxr-sub); font-size: 13px; }
.sx-score-name { flex: 1 1 auto; min-width: 0; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-score-top b { font-weight: 800; }
.sx-score-avatar { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; width: 24px; height: 24px; margin-right: 8px; border-radius: 50%; background: var(--sxr-chip); color: var(--sxr-ink-2); font-size: 11px; font-weight: 800; vertical-align: middle; }
.sx-score-avatar.is-lg { width: 44px; height: 44px; margin: 0; font-size: 18px; }
.sx-score-main { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-items: stretch; } /* SC-4: 랭킹·상세 높이 맞춤 */
.sx-score-main.has-detail { grid-template-columns: minmax(0, 1fr) 400px; }
.sx-score-ranking { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.sx-score-ranking-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 18px; }
.sx-score-ranking-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--sxr-ink); } .sx-score-ranking-head h3 span { font-size: 12px; font-weight: 500; color: var(--sxr-sub); margin-left: 4px; }
.sx-score-legend { display: flex; gap: 14px; margin: 0; font-size: 12px; color: var(--sxr-sub); } /* SC-5 */
.sx-score-legend span { display: inline-flex; align-items: center; gap: 5px; } .sx-score-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; }
.sx-score-table { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; font-size: 13px; } /* separate: 선택 행 칸 모서리 8 · SC-1 고정 배치(표 폭 = 카드 폭) */
.sx-score-table th:nth-child(1) { width: 44px; padding-left: 8px; padding-right: 8px; text-align: center; }
.sx-score-table th:nth-child(3) { width: 20%; } .sx-score-table th:nth-child(4) { width: 96px; } .sx-score-table th:nth-child(5) { width: 22%; }
.sx-score-table th:nth-child(6) { width: 64px; } .sx-score-table th:nth-child(7) { width: 92px; } .sx-score-table th:nth-child(8) { width: 56px; }
@media (max-width: 1279.98px) {
  .sx-score-table th:nth-child(3) { width: 17%; } .sx-score-table th:nth-child(5) { width: 20%; }
  .sx-score-table :is(th, td):not(:first-child) { padding-left: 10px; padding-right: 10px; }
}
.sx-score-table th { padding: 10px 12px; background: var(--sxr-head); color: var(--sxr-sub); font-size: 12px; font-weight: 600; text-align: left; border-top: 1px solid var(--sxr-line-soft); border-bottom: 1px solid var(--sxr-line-soft); }
.sx-score-table td { padding: 11px 12px; border-bottom: 1px solid var(--sxr-line-soft); color: var(--sxr-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } /* SC-1: 사이트·이름 말줄임(전문은 title) */
.sx-score-table td:nth-child(1) { padding-left: 8px; padding-right: 8px; }
.sx-score-table td:nth-child(2) strong { display: inline-block; max-width: calc(100% - 32px); overflow: hidden; text-overflow: ellipsis; vertical-align: middle; }
.sx-score-table td strong { color: var(--sxr-ink); }
.sx-score-table td:nth-child(5) .sx-score-bar { width: 100%; }
.sx-score-table .is-num { text-align: right; font-variant-numeric: tabular-nums; }
.sx-score-table td.is-num b { font-size: 15px; color: var(--sxr-ink); }
.sx-score-table .is-muted { color: var(--sxr-muted); }
.sx-score-table tbody tr { cursor: pointer; transition: background-color 140ms var(--sxr-ease); }
.sx-score-table tbody tr:hover { background: var(--sxr-row-hover); }
.sx-score-table tbody tr.is-selected { background: transparent; box-shadow: none; } /* 표 선택 행: 칸마다 2px 링 조각(아래) */
.sx-score-table tbody tr.is-selected > td { background: var(--sxr-card); box-shadow: inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line); border-bottom-color: transparent; }
.sx-score-table tbody tr.is-selected > td:first-child { box-shadow: inset 2px 0 0 var(--sxr-select-line), inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line); border-radius: 8px 0 0 8px; }
.sx-score-table tbody tr.is-selected > td:last-child { box-shadow: inset -2px 0 0 var(--sxr-select-line), inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line); border-radius: 0 8px 8px 0; }
.sx-score-table tbody tr:has(+ tr.is-selected) > td { border-bottom-color: transparent; }
.sx-score-table tbody tr:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: -2px; }
.sx-score-rankcell { color: var(--sxr-sub); text-align: center; width: 44px; } .sx-score-rankcell.is-top { color: var(--sxr-ink); font-weight: 800; }
.sx-score-bar { display: flex; height: 8px; border-radius: 99px; background: var(--sxr-chip); overflow: hidden; }
.sx-score-bar i, .sx-score-legend i { display: block; height: 100%; }
.sx-score-bar .is-lead, .sx-score-legend .is-lead { background: var(--sxr-ink); }
.sx-score-bar .is-lead-critical, .sx-score-legend .is-lead-critical { background: repeating-linear-gradient(135deg, var(--sxr-ink) 0 3px, #9ca3af 3px 6px); } /* SC-5 6.99:1 */
.sx-score-bar .is-support, .sx-score-legend .is-support { background: #6b7280; } /* SC-5 */
.sx-score-bar .is-support-critical { background: repeating-linear-gradient(135deg, #6b7280 0 3px, #d1d5db 3px 6px); }
.sx-score-bar i + i { box-shadow: inset 1px 0 0 var(--sxr-card); } /* SC-5 구간 사이 1px */
.sx-score-bar i { transform-origin: left; animation: sxa-grow 520ms var(--sxr-ease) both; }
@media (prefers-reduced-motion: reduce) { .sx-score-bar i { animation: none; } }
.sx-score-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding: 12px 18px; font-size: 12px; color: var(--sxr-sub); } /* SC-4: 카드 바닥 */
.sx-score-pager { display: flex; gap: 4px; } .sx-score-pager button { width: 30px; height: 30px; border-radius: 7px; border: 1px solid var(--sxr-line); background: var(--sxr-card); cursor: pointer; } .sx-score-pager button.is-on { background: var(--sxr-accent); border-color: var(--sxr-accent); color: #fff; font-weight: 800; }
.sx-score-detail { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 12px; }
.sx-score-detail-head { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--sxr-sub); }
.sx-score-detail-head .sxr-link-btn { margin-left: auto; text-decoration: none; color: var(--sxr-ink); font-weight: 700; }
.sx-score-close { flex: 0 0 32px; width: 32px; height: 32px; min-width: 32px; padding: 0 !important; border: 0; border-radius: 7px; background: transparent; color: var(--sxr-ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; } /* SC-2: 아이콘이 눌리지 않게 */
.sx-score-close svg { width: 16px; height: 16px; min-width: 16px; flex-shrink: 0; }
.sx-score-close:hover { background: var(--sxr-chip); }
.sx-score-person { display: flex; align-items: center; gap: 12px; }
.sx-score-person > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; flex: 1 1 auto; }
.sx-score-person strong { font-size: 17px; color: var(--sxr-ink); } .sx-score-person em { font-style: normal; font-size: 12px; color: var(--sxr-sub); display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; word-break: keep-all; overflow-wrap: anywhere; } /* SC-3 */
.sx-score-total { display: block; flex: 0 0 auto; white-space: nowrap; text-align: right; font-size: 14px; color: var(--sxr-sub); } .sx-score-total b { font-size: 28px; line-height: 30px; color: var(--sxr-ink); margin-right: 2px; } .sx-score-total em { display: block; margin-top: 2px; font-style: normal; font-size: 12px; line-height: 17px; } /* SC-3: 「11점」 한 줄 + 「1위 / 8명」 */
.sx-score-section { margin: 4px 0 0; font-size: 13px; font-weight: 800; color: var(--sxr-ink); display: flex; justify-content: space-between; } .sx-score-section span { font-size: 11px; font-weight: 500; color: var(--sxr-sub); }
.sx-score-parts { margin: 0; display: flex; flex-direction: column; }
.sx-score-parts > div { display: grid; grid-template-columns: 1fr auto 56px; gap: 10px; padding: 8px 0; border-top: 1px solid var(--sxr-line-soft); font-size: 13px; line-height: 20px; } /* SC-8: 라벨·배수·점수 13px */
.sx-score-parts dt { color: var(--sxr-ink-2); } .sx-score-parts dd { margin: 0; color: var(--sxr-sub); text-align: right; } .sx-score-parts dd b { color: var(--sxr-ink); }
.sx-score-parts :is(dt, dd, dd b) { font-size: 13px; line-height: 20px; } /* SC-8 */
.sx-score-incidents { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.sx-score-incidents button { width: 100%; display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 44px 28px; gap: 8px; align-items: center; padding: 8px 0; border: 0; border-top: 1px solid var(--sxr-line-soft); background: none; font: inherit; font-size: 12px; color: var(--sxr-ink-2); cursor: pointer; text-align: left; }
.sx-score-incidents button:hover strong { text-decoration: underline; }
.sx-score-no { color: var(--sxr-muted); } .sx-score-incidents strong { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sxr-ink); }
.sx-score-role { padding: 1px 6px; border-radius: 5px; background: var(--sxr-chip); font-size: 11px; font-weight: 700; } .sx-score-role.is-lead { background: var(--sxr-ink); color: var(--sxr-card); }
.sx-score-date { color: var(--sxr-sub); } .sx-score-incidents b { text-align: right; color: var(--sxr-ink); }
.sx-score-more { align-self: flex-start; border: 0; background: none; padding: 0; font: inherit; font-size: 12px; font-weight: 700; color: var(--sxr-ink); cursor: pointer; }
@media (max-width: 1500px) { .sx-score-main.has-detail { grid-template-columns: minmax(0, 1fr) 340px; } .sx-score-table td:nth-child(5) { width: 22%; } }
@media (max-width: 1279px) { .sx-score-cards { grid-template-columns: 1fr 1fr; } .sx-score-main.has-detail { grid-template-columns: minmax(0, 1fr); } .sx-score-detail { position: static; }
  .sx-score-cards > .sx-score-card:nth-child(3) { grid-column: 1 / -1; } .sx-score-cards > .sx-score-card:nth-child(3) .sx-score-top { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 40px; } /* SC-9 */ }
html body #employeeScorePanel.sx-score-on .soc-employee-score-controls { display: flex !important; flex-wrap: nowrap !important; align-items: flex-end !important; gap: 12px !important; grid-template-columns: none !important; }
html body #employeeScorePanel.sx-score-on .soc-employee-score-controls > * { flex: 0 0 auto !important; width: auto !important; margin: 0 !important; }
html body #employeeScorePanel.sx-score-on .soc-employee-score-controls select { width: 190px !important; min-width: 0 !important; }
html body #employeeScorePanel.sx-score-on .soc-employee-score-controls .is-role select { width: 150px !important; }
.sx-score-table th { white-space: nowrap; }

/* ======================= Apple 주간보고 표지 (AW-Cover-Final / Link / Exc) ======================= */
html body .sx-aw-cover.sx-aw-cover { position: relative; display: flex !important; flex-direction: column !important; gap: 16px !important; }
html body .sx-aw-cover .sx-aw-toolbar { position: absolute; top: -52px; right: 0; display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--sxr-sub); z-index: 5; }
html body .sx-aw-cover .sx-aw-deadline-btn { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
html body .sx-aw-cover .sx-aw-deadline-btn:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
html body .sx-aw-cover .sx-aw-deadline-pop { position: absolute; top: 42px; right: 0; width: 320px; padding: 14px; border-radius: 12px; background: var(--sxr-card); box-shadow: 0 16px 40px rgba(17,24,39,.2), 0 0 0 1px var(--sxr-line); display: flex; flex-direction: column; gap: 10px; animation: sxr-pop-in 160ms var(--sxr-ease); color: var(--sxr-ink); }
html body .sx-aw-cover .sx-aw-pop-title { margin: 0; font-size: 14px; font-weight: 800; }
html body .sx-aw-cover .sx-aw-pop-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
html body .sx-aw-cover .sx-aw-pop-row label { display: flex; flex-direction: column; gap: 4px; font-size: 11px; color: var(--sxr-sub); }
html body .sx-aw-cover .sx-aw-pop-row :is(select, input) { height: 36px; padding: 0 10px; border: 1px solid var(--sxr-line-strong); border-radius: 8px; background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; }
html body .sx-aw-cover .sx-aw-pop-note { margin: 0; font-size: 11px; line-height: 16px; color: var(--sxr-sub); }
html body .sx-aw-cover .sx-aw-hero.sx-aw-hero { position: relative; overflow: hidden; display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; grid-template-rows: 1fr auto; gap: 0 24px !important; min-height: 520px; padding: 52px 52px 32px !important; border-radius: 16px !important; background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important; }
html body .sx-aw-cover .sx-aw-rings { position: absolute; top: -110px; right: -40px; width: 340px; height: 340px; pointer-events: none; }
html body .sx-aw-cover .sx-aw-rings i { position: absolute; border-radius: 50%; border: 1px solid var(--sxr-line); }
html body .sx-aw-cover .sx-aw-rings i:first-child { inset: 0; } html body .sx-aw-cover .sx-aw-rings i:last-child { inset: 60px; }
html body .sx-aw-cover .sx-aw-hero-copy { align-self: center; display: flex; flex-direction: column; gap: 0; z-index: 1; }
html body .sx-aw-cover .sx-aw-eyebrow { margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--sxr-accent-ink); }
html body .sx-aw-cover .sx-aw-hero-copy h2 { display: flex; flex-direction: column; margin: 0; font-size: 42px !important; line-height: 54px !important; font-weight: 800 !important; letter-spacing: -0.02em; color: var(--sxr-ink) !important; }
html body .sx-aw-cover .sx-aw-sub { margin: 14px 0 0; font-size: 14px; color: var(--sxr-sub); }
html body .sx-aw-cover .sx-aw-big { align-self: center; justify-self: end; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; z-index: 1; }
html body .sx-aw-cover .sx-aw-big strong { font-size: 96px; line-height: 1; font-weight: 900; letter-spacing: -0.04em; color: var(--sxr-accent); font-variant-numeric: tabular-nums; animation: sxr-pop-in 320ms var(--sxr-ease); }
html body .sx-aw-cover .sx-aw-big span { font-size: 12px; color: var(--sxr-sub); }
html body .sx-aw-cover .sx-aw-rail { grid-column: 1 / -1; display: flex; align-items: center; gap: 24px; padding-top: 24px; margin-top: 32px; border-top: 1px solid var(--sxr-line-soft); z-index: 1; }
html body .sx-aw-cover .sx-aw-steps { flex: 1 1 0; display: flex; align-items: center; margin: 0; padding: 0; list-style: none; min-width: 0; } /* SET-19: 단계 줄은 시작 버튼 옆에 남고 연결선이 먼저 짧아짐 */
html body .sx-aw-cover .sx-aw-steps li:last-child { flex: 0 0 auto; }
@media (max-width: 1365.98px) { html body .sx-aw-cover .sx-aw-steps { min-width: max-content; } } /* 단계 글자가 다 안 들어가는 폭에서는 버튼이 다음 줄로(겹침 없음) */
html body .sx-aw-cover .sx-aw-steps li { flex: 1 1 0; display: flex; align-items: center; gap: 10px; min-width: 0; position: relative; }
html body .sx-aw-cover .sx-aw-steps li:not(:last-child)::after { content: ""; flex: 1 1 auto; height: 1px; margin: 0 16px; background: var(--sxr-line-strong); }
html body .sx-aw-cover .sx-aw-step-no { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--sxr-line-strong); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; color: var(--sxr-sub); background: var(--sxr-card); }
html body .sx-aw-cover .sx-aw-steps li.is-first .sx-aw-step-no { border-color: var(--sxr-accent); background: var(--sxr-accent); color: #fff; box-shadow: 0 0 0 5px var(--sxr-accent-fill); }
html body .sx-aw-cover .sx-aw-step-copy { display: flex; flex-direction: column; white-space: nowrap; } html body .sx-aw-cover .sx-aw-step-copy strong { font-size: 14px; color: var(--sxr-ink); } html body .sx-aw-cover .sx-aw-step-copy span { font-size: 12px; color: var(--sxr-sub); } /* SET-19: 11 → 12 */
html body .sx-aw-cover .sx-aw-actions { flex: 0 0 auto; display: flex; gap: 10px; }
html body .sx-aw-cover .sx-aw-start { height: 52px !important; padding: 0 22px !important; border-radius: 10px !important; font-size: 15px !important; font-weight: 800 !important; display: inline-flex !important; align-items: center; gap: 8px; box-shadow: 0 8px 20px rgba(255,107,0,.28) !important; }
html body .sx-aw-cover .soc-aw6-guide-btn { height: 52px !important; padding: 0 20px !important; border-radius: 10px !important; font-weight: 800 !important; }
html body .sx-aw-cover .soc-aw6-cards { display: grid !important; grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 16px !important; }
html body .sx-aw-cover .soc-aw6-card { border-radius: 16px !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important; background: var(--sxr-card) !important; padding: 20px 22px !important; min-height: 300px; }
html body .sx-aw-cover .soc-aw6-card-head { display: flex; align-items: center; gap: 10px; border: 0 !important; padding: 0 0 8px !important; }
html body .sx-aw-cover .soc-aw6-card-head h3 { margin: 0; font-size: 15px !important; font-weight: 800 !important; color: var(--sxr-ink); } html body .sx-aw-cover .soc-aw6-card-head h3 svg { display: none; }
html body .sx-aw-cover .sx-aw-card-meta { margin-left: auto; font-size: 11px; color: var(--sxr-sub); }
html body .sx-aw-cover .soc-aw6-card-head .soc-aw6-more { margin-left: auto; }
.sx-aw-rows { list-style: none; margin: 0; padding: 0; }
.sx-aw-row { display: grid; grid-template-columns: 10px minmax(0, 72px) minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--sxr-line-soft); font-size: 13px; }
.sx-aw-row strong { color: var(--sxr-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-aw-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--sxr-muted); } .sx-aw-dot.is-ok { background: var(--sxr-green); } .sx-aw-dot.is-warn { background: var(--sxr-accent); }
.sx-aw-status { font-weight: 700; color: var(--sxr-muted); } .sx-aw-status.is-ok { color: var(--sxr-green); } .sx-aw-status.is-warn { color: var(--sxr-accent-ink); }
.sx-aw-right { font-size: 11px; color: var(--sxr-sub); white-space: nowrap; }
.sx-aw-chart-lead { margin: 0 0 12px; font-size: 13px; color: var(--sxr-ink-2); } .sx-aw-chart-lead b { font-size: 26px; color: var(--sxr-ink); } .sx-aw-chart-lead span { font-size: 11px; color: var(--sxr-sub); margin-left: 6px; }
.sx-aw-chart { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; height: 230px; align-items: end; }
.sx-aw-col { display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; min-width: 0; }
.sx-aw-col em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--sxr-attention); } .sx-aw-col em small { font-size: 10px; font-weight: 500; }
.sx-aw-col.is-full em { color: var(--sxr-ink); }
.sx-aw-col i { display: block; width: 72%; border-radius: 3px 3px 0 0; background: #9ca3af; transform-origin: bottom; animation: sx-score-rise 520ms var(--sxr-ease) both; }
.sx-aw-col.is-full i { background: var(--sxr-ink); } .sx-aw-col.is-current i { background: var(--sxr-accent); }
.sx-aw-col > span { font-size: 10px; line-height: 13px; text-align: center; color: var(--sxr-sub); } .sx-aw-col.is-current > span { color: var(--sxr-ink); font-weight: 800; }
@media (prefers-reduced-motion: reduce) { .sx-aw-col i, html body .sx-aw-cover .sx-aw-big strong { animation: none; } }
.sx-aw-checks { list-style: none; margin: 0; padding: 0; }
.sx-aw-check { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--sxr-line-soft); font-size: 13px; }
.sx-aw-check strong { flex: 1 1 auto; color: var(--sxr-ink); font-weight: 700; }
.sx-aw-check-mark { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1.5px solid var(--sxr-line-strong); position: relative; }
.sx-aw-check.is-done .sx-aw-check-mark { background: var(--sxr-ink); border-color: var(--sxr-ink); }
.sx-aw-check.is-done .sx-aw-check-mark::after { content: ""; position: absolute; left: 6px; top: 6px; width: 8px; height: 4px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.sx-aw-pill { padding: 2px 8px; border-radius: 6px; background: var(--sxr-chip); font-size: 11px; font-weight: 800; color: var(--sxr-ink); white-space: nowrap; }
.sx-aw-pill.is-warn { background: var(--sxr-accent-fill); color: var(--sxr-accent-ink); } .sx-aw-pill.is-muted { color: var(--sxr-sub); }
.sx-aw-links { list-style: none; margin: 0; padding: 0; } .sx-aw-links li { display: flex; align-items: center; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--sxr-line-soft); }
.sx-aw-file { width: 34px; height: 34px; border-radius: 8px; background: color-mix(in srgb, var(--sxr-green) 10%, transparent); color: var(--sxr-green); display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.sx-aw-links span:not(.sx-aw-file) { display: flex; flex-direction: column; min-width: 0; } .sx-aw-links strong { font-size: 13px; color: var(--sxr-ink); } .sx-aw-links em { font-style: normal; font-size: 11px; color: var(--sxr-sub); }
.sx-aw-account { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin-bottom: 4px; border-radius: 10px; background: var(--sxr-head); } .sx-aw-account code { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-size: 12px; font-weight: 700; color: var(--sxr-ink); }
.sx-aw-exc { list-style: none; margin: 0; padding: 0; } .sx-aw-exc li { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--sxr-line-soft); font-size: 13px; }
.sx-aw-exc-date { font-weight: 700; color: var(--sxr-ink); } .sx-aw-exc li > span:nth-child(2) { display: flex; flex-direction: column; min-width: 0; } .sx-aw-exc strong { color: var(--sxr-ink); } .sx-aw-exc em { font-style: normal; font-size: 11px; color: var(--sxr-sub); }
.sx-aw-bars { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.sx-aw-bars li { display: grid; grid-template-columns: 70px minmax(0, 1fr) 24px; gap: 12px; align-items: center; font-size: 13px; } .sx-aw-bars li > span:first-child { font-weight: 700; color: var(--sxr-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-aw-bars li.is-zero > span:first-child, .sx-aw-bars li.is-zero b { color: var(--sxr-muted); }
.sx-aw-track { height: 8px; border-radius: 99px; background: var(--sxr-chip); overflow: hidden; } .sx-aw-track i { display: block; height: 100%; border-radius: inherit; background: var(--sxr-ink); }
.sx-aw-bars b { text-align: right; color: var(--sxr-ink); }
@media (max-width: 1500px) { html body .sx-aw-cover .sx-aw-hero.sx-aw-hero { min-height: 440px; padding: 40px 36px 28px !important; } html body .sx-aw-cover .sx-aw-big strong { font-size: 76px; } html body .sx-aw-cover .sx-aw-hero-copy h2 { font-size: 34px !important; line-height: 44px !important; } html body .sx-aw-cover .sx-aw-rail { flex-wrap: wrap; } }
@media (max-width: 1279px) { html body .sx-aw-cover .soc-aw6-cards { grid-template-columns: 1fr !important; } }
html body .sx-aw-cover .sx-aw-hero-copy .sx-aw-eyebrow { color: var(--sxr-accent-ink) !important; font-weight: 800 !important; font-size: 13px !important; }
html body .sx-aw-cover .sx-aw-hero-copy .sx-aw-sub { color: var(--sxr-sub) !important; }

/* ======================= 설정 (Settings-Final / Settings-Final-Remind) ======================= */
/* tabs row on top; the old left menu becomes the board's tab bar */
html body .sx-settings-a.sx-settings-a { display: grid !important; grid-template-columns: minmax(0, 1fr) !important; grid-template-areas: none !important; gap: 16px !important; align-content: start; }
html body .sx-settings-a.sx-settings-a > * { grid-column: 1 / -1 !important; grid-row: auto !important; }
html body .sx-settings-a .sx-settings-nav.sx-settings-tabs { position: static !important; display: flex !important; flex-direction: row !important; align-items: stretch; gap: 22px !important; width: auto !important; padding: 0 !important; margin: 0 !important; border: 0 !important; border-bottom: 1px solid var(--sxr-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-item { position: relative; display: inline-flex !important; align-items: center; gap: 8px; width: auto !important; min-height: 0 !important; height: 44px; padding: 0 2px !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--sxr-sub) !important; font-size: 15px; font-weight: 600; cursor: pointer; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-item::before { display: none !important; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-item.is-active { color: var(--sxr-ink) !important; font-weight: 800; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-item.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--sxr-accent); }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-item:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-icon { width: 18px; height: 18px; color: currentColor; background: transparent !important; display: inline-flex; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-icon svg { width: 16px; height: 16px; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-copy { display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 6px; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-label { font-size: 15px !important; color: inherit !important; font-weight: inherit !important; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-value { font-size: 10px !important; font-weight: 800; color: var(--sxr-muted) !important; letter-spacing: .02em; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-value:empty { display: none; }
html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-chevron { display: none !important; }
.sx-settings-nav-badge { display: inline-flex; align-items: center; justify-content: center; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--sxr-accent); color: #fff; font-size: 11px; font-weight: 800; }
html body .sx-settings-a .sx-settings-a-head { display: none !important; }
/* two columns: 보낼 알림 | 받는 방법 + 알림 보관 */
html body #notificationSettingsPanel #notificationSettingsForm { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-rows: auto 1fr; gap: 16px !important; align-items: start; }
html body #notificationSettingsPanel .soc-settings-dispatch-card { grid-column: 1; grid-row: 1 / span 2; }
html body #notificationSettingsPanel .soc-notification-delivery-card { grid-column: 2; grid-row: 1; }
html body #notificationSettingsPanel .soc-notification-etc-card { grid-column: 2; grid-row: 2; }
html body #notificationSettingsPanel .soc-settings-reference-card { border-radius: var(--sxr-radius) !important; border: 1px solid var(--sxr-line) !important; box-shadow: none !important; background: var(--sxr-card) !important; padding: 20px 20px 8px !important; }
html body #notificationSettingsPanel .soc-settings-reference-card > h3 { margin: 0 0 6px !important; font-size: 16px !important; font-weight: 800 !important; color: var(--sxr-ink) !important; }
html body #notificationSettingsPanel .soc-notification-setting-row { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; padding: 14px 0 !important; border-top: 1px solid var(--sxr-line-soft) !important; margin: 0 !important; }
html body #notificationSettingsPanel .soc-notification-reference-copy strong { font-size: 14px; color: var(--sxr-ink); }
html body #notificationSettingsPanel .soc-notification-reference-copy .meta { margin: 2px 0 0; font-size: 12px; color: var(--sxr-sub); }
html body #notificationSettingsPanel .sx-settings-chips { display: flex; gap: 8px; }
html body #notificationSettingsPanel .sx-settings-chips label { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--sxr-line); font-size: 13px; font-weight: 700; color: var(--sxr-ink-2); cursor: pointer; }
/* E6·파스텔 금지: 고른 받을 곳 칩은 카드 바탕 + #D1D5DB 선(연주황 채움 없음), 체크는 검정 */
html body #notificationSettingsPanel .sx-settings-chips label:has(input:checked) { border-color: var(--sxr-line-strong); background: var(--sxr-card); color: var(--sxr-ink); }
html body #notificationSettingsPanel .sx-settings-chips input { accent-color: var(--sxr-accent); width: 16px; height: 16px; margin: 0; }
html body #notificationSettingsPanel .soc-notification-quiet-controls { display: flex !important; align-items: center !important; gap: 8px !important; flex-wrap: nowrap !important; }
html body #notificationSettingsPanel .soc-notification-quiet-controls input[type="time"] { height: 36px !important; width: 116px !important; padding: 0 10px !important; border-radius: 8px !important; border: 1px solid var(--sxr-line) !important; font-size: 13px !important; }
html body #notificationSettingsPanel .soc-notification-test-btn { display: inline-flex !important; align-items: center; gap: 6px; height: 36px !important; padding: 0 14px !important; border-radius: 9px !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; color: var(--sxr-ink) !important; font-size: 13px !important; font-weight: 700 !important; }
html body #notificationSettingsPanel .soc-notification-permission-badge { font-size: 11px; color: var(--sxr-sub); font-weight: 600; }
html body #notificationSettingsPanel .soc-notification-select { height: 36px !important; min-width: 156px; border-radius: 8px !important; border: 1px solid var(--sxr-line) !important; font-size: 13px !important; }
html body #notificationSettingsPanel .sx-settings-savebar { position: static !important; margin: 0 !important; padding: 4px 4px !important; background: transparent !important; border: 0 !important; box-shadow: none !important; justify-content: flex-start !important; }
html body #notificationSettingsPanel .sx-settings-savebar .soc-settings-savebar-actions { display: none !important; }
html body #notificationSettingsPanel .sx-settings-savebar #notificationSettingsSaveRowText { font-size: 13px; font-weight: 600; color: #4b5563; }
:is(html[data-theme="dark"] body, html body.dark) #notificationSettingsPanel .sx-settings-savebar #notificationSettingsSaveRowText { color: var(--sxr-sub); }
html body #notificationSettingsPanel .sx-settings-savebar #notificationSettingsSaveRowText::before { content: "ⓘ "; }
/* device approvals view replaces the notification form while open */
html body #notificationSettingsPanel.sx-devices-open > :is(#notificationSettingsForm, #notificationSettingsSaveRow, #notificationSettingsStatus) { display: none !important; }
.sx-devices[hidden] { display: none !important; }
.sx-devices-card { padding: 20px; border-radius: var(--sxr-radius); border: 1px solid var(--sxr-line); background: var(--sxr-card); display: flex; flex-direction: column; gap: 12px; animation: sxr-pop-in 180ms var(--sxr-ease); }
.sx-devices-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.sx-devices-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--sxr-ink); } .sx-devices-head h3 span { margin-left: 6px; font-size: 12px; color: var(--sxr-attention); }
.sx-devices-head p { margin: 4px 0 0; font-size: 12px; color: var(--sxr-sub); max-width: 760px; }
.sx-devices-bulk { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px; border-radius: 9px; background: var(--sxr-head); font-size: 13px; color: var(--sxr-ink-2); }
.sx-devices-bulk label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.sx-devices-list { list-style: none; margin: 0; padding: 0; }
.sx-device { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--sxr-line-soft); }
.sx-device.is-rejecting { background: color-mix(in srgb, var(--sxr-red) 5%, transparent); }
.sx-device-check input, .sx-devices-bulk input { width: 16px; height: 16px; margin: 0; accent-color: var(--sxr-check); }
.sx-device-icon { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 9px; background: var(--sxr-chip); color: var(--sxr-ink-2); display: inline-flex; align-items: center; justify-content: center; }
.sx-device-copy { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; } .sx-device-copy strong { font-size: 14px; color: var(--sxr-ink); } .sx-device-copy > span { font-size: 12px; color: var(--sxr-sub); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sx-device-own { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--sxr-accent-fill); color: var(--sxr-accent-ink); font-size: 11px; font-weight: 800; }
/* r17h 등록된 기기: 같은 카드 안 아랫부분. 대기·등록 행 모두 긴 기기 이름은 줄여 숨기지 않고 줄바꿈한다. 좁은 폭의 대기 행은 버튼을 아랫줄로 내려 글자 폭을 확보한다. */
.sx-devices-registered { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; border-top: 1px solid var(--sxr-line); }
.sx-devices-registered h3:focus { outline: none; } .sx-devices-registered h3:focus-visible { outline: 2px solid var(--ui-focus-color, #111827); outline-offset: 2px; }
.sx-devices-head h3 .sx-devices-count { color: var(--sxr-sub); }
.sx-devices .sx-device-copy > span { white-space: normal; overflow: visible; overflow-wrap: anywhere; }
.sx-devices .sxr-link-btn { flex: 0 0 auto; white-space: nowrap; }
.sx-devices .sxr-todo-error > span { flex: 1 1 auto; min-width: 0; }
.sx-devices-card, .sx-device-copy { min-width: 0; }
.sx-devices .sx-device-copy strong { overflow-wrap: anywhere; }
/* 탭 바(1024 미만)가 스크롤 끝을 덮으므로 이 화면의 마지막 행과 찾기 0건 안내가 그 위로 올라오게 한다. */
@media (max-width: 1023.98px) { html body #notificationSettingsPanel #sxDevicesSection:not([hidden]) { padding-bottom: calc(var(--sx-r6-tabbar-reserve, 56px) + 12px); } }
@media (max-width: 560px) {
  .sx-device:has(.sx-device-check) { flex-wrap: wrap; }
  .sx-device:has(.sx-device-check) .sx-device-copy { flex: 1 1 calc(100% - 90px); }
  .sx-device:has(.sx-device-check) :is(.sx-device-actions, .sx-device-reject) { width: 100%; justify-content: flex-end; }
  .sx-device-reject { flex-wrap: wrap; }
  .sx-device-reject input { flex: 1 1 100%; width: auto; min-width: 0; }
}
.sx-devices-registered .sx-device[hidden], .sx-devices-none[hidden] { display: none; }
.sx-device .sxp-btn { flex: 0 0 auto; white-space: nowrap; }
:is(.sx-devices-notice, .sx-device-feedback):focus:not(:focus-visible) { outline: none; }
.sx-devices-list:has(+ .sx-devices-registered) > .sx-device:last-child, .sx-devices-registered .sx-device:last-child { border-bottom: 0; }
.sx-device.is-target { background: var(--sxr-accent-fill); border-radius: 9px; }
.sx-device-tag { font-style: normal; margin-left: 6px; padding: 1px 6px; border-radius: 5px; background: var(--sxr-chip); color: var(--sxr-ink-2); font-size: 11px; font-weight: 800; }
.sx-devices-notice { margin: 0; padding: 8px 12px; border-radius: 9px; background: var(--sxr-head); font-size: 13px; color: var(--sxr-ink); }
.sx-devices-none { margin: 0; padding: 12px; font-size: 13px; color: var(--sxr-ink-2); }
.sx-devices-filter { height: 36px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--sxr-line-strong); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; }
.sx-device-actions, .sx-device-reject { display: flex; align-items: center; gap: 6px; flex: 0 0 auto; }
.sx-device-reject input { height: 34px; width: 220px; padding: 0 10px; border-radius: 8px; border: 1px solid var(--sxr-line-strong); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; }
@media (max-width: 1279px) { html body #notificationSettingsPanel #notificationSettingsForm { grid-template-columns: minmax(0, 1fr) !important; } html body #notificationSettingsPanel :is(.soc-settings-dispatch-card, .soc-notification-delivery-card, .soc-notification-etc-card) { grid-column: 1 !important; grid-row: auto !important; } }
@media (prefers-reduced-motion: reduce) { .sx-devices-card { animation: none; } }
html body #notificationSettingsPanel#notificationSettingsPanel.sx-devices-open :is(#notificationSettingsForm, #notificationSettingsSaveRow, #notificationSettingsStatus) { display: none !important; }
/* 11-01 webux 06: with 기기 승인 open the card fills the page down to 24px above the bottom and an empty list centres its
   note in the card (same as the 직원 목록 empty state). Narrower than 1024 the card keeps its own height. */
@media (min-width: 1024px) {
  html body main.container:has(#notificationSettingsPanel.sx-devices-open:not(.hidden)) { padding-bottom: 24px !important; }
  html body #notificationSettingsPanel#notificationSettingsPanel#notificationSettingsPanel.sx-devices-open:not(.hidden) { display: flex !important; flex-direction: column !important; gap: 16px !important; min-height: 100% !important; padding-bottom: 0 !important; box-sizing: border-box !important; }
  html body #notificationSettingsPanel.sx-devices-open > #sxDevicesSection:not([hidden]) { flex: 1 1 auto; display: flex; min-height: 0; }
  html body #notificationSettingsPanel.sx-devices-open .sx-devices-card { flex: 1 1 auto; min-height: 0; }
  html body #notificationSettingsPanel.sx-devices-open .sx-devices-card > .sx-board-empty { flex: 1 1 auto; display: grid; place-content: center; justify-items: center; }
}
/* 11-01 webux 06: 내 정보 · 비밀번호 carries the same settings bar as the other settings tabs */
html body #myProfileView > .sx-profile-settings-bar { margin: 0 0 8px; }
/* SET-08: 「변경하면 바로 적용됩니다.」 is a quiet band right under the first card (moved there in index.html) */
html body #notificationSettingsPanel#notificationSettingsPanel #notificationSettingsSaveRow#notificationSettingsSaveRow { position: static !important; inset: auto !important; left: auto !important; right: auto !important; bottom: auto !important; width: auto !important; transform: none !important; margin: 0 !important; padding: 10px 14px !important; background: var(--soc-table-head-bg, #f9fafb) !important; border: 1px solid var(--sxr-line) !important; border-radius: 10px !important; box-shadow: none !important; }
html body #notificationSettingsPanel #notificationSettingsSaveRow { grid-column: 1; }
:is(html[data-theme="dark"] body, html body.dark) #notificationSettingsPanel#notificationSettingsPanel #notificationSettingsSaveRow#notificationSettingsSaveRow { background: rgba(234, 240, 255, 0.04) !important; border-color: var(--sxr-line-strong) !important; }
/* 리마인드 (Settings-Final-Remind) */
html body #hqReminderPanel#hqReminderPanel :is(.soc-settings-shell-bar, .soc-settings-page-header) { display: none !important; }
html body #hqReminderPanel#hqReminderPanel .soc-settings-single-column { display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 16px !important; max-width: none !important; }
html body #hqReminderPanel#hqReminderPanel .soc-reminder-config-card { margin: 0 !important; padding: 20px !important; border-radius: var(--sxr-radius) !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; box-shadow: none !important; display: flex !important; flex-direction: column !important; }
/* F02 (11-16): a card the page hides (SLA 리마인드 for a company HQ) stays hidden over the flex rule above. */
html body #hqReminderPanel#hqReminderPanel .soc-reminder-config-card:is(.hidden, [hidden]) { display: none !important; }
html body #hqReminderPanel .soc-reminder-card-head { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px; padding: 0 0 6px !important; margin: 0 !important; border: 0 !important; }
html body #hqReminderPanel .soc-reminder-card-copy > .meta { display: none !important; }
html body #hqReminderPanel .soc-reminder-title-row { display: flex !important; align-items: baseline !important; gap: 8px !important; }
html body #hqReminderPanel .soc-reminder-title-row h3 { margin: 0 !important; font-size: 16px !important; font-weight: 800 !important; color: var(--sxr-ink) !important; }
html body #hqReminderPanel .soc-reminder-title-row .soc-settings-scope-label { order: 2; padding: 0 !important; background: none !important; border: 0 !important; font-size: 11px !important; font-weight: 500 !important; color: var(--sxr-sub) !important; }
html body #hqReminderPanel .sx-remind-toggle { display: flex; align-items: center; gap: 10px; }
html body #hqReminderPanel .sx-remind-toggle .soc-settings-summary-chip { padding: 0 !important; border: 0 !important; background: none !important; font-size: 13px !important; font-weight: 700 !important; color: var(--sxr-ink-2) !important; }
html body #hqReminderPanel .sx-remind-toggle .soc-reminder-row--toggle { padding: 0 !important; margin: 0 !important; border: 0 !important; min-height: 0 !important; }
html body #hqReminderPanel .soc-reminder-form { display: flex !important; flex-direction: column !important; gap: 0 !important; }
html body #hqReminderPanel .soc-reminder-row { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; padding: 13px 0 !important; margin: 0 !important; border-top: 1px solid var(--sxr-line-soft) !important; grid-template-columns: none !important; }
html body #hqReminderPanel .soc-reminder-label { font-size: 14px !important; font-weight: 700 !important; color: var(--sxr-ink) !important; }
html body #hqReminderPanel .soc-reminder-static-value { font-size: 13px !important; font-weight: 600 !important; color: var(--sxr-ink-2) !important; text-align: right; }
html body #hqReminderPanel .soc-reminder-inline-group--stacked { display: flex !important; flex-direction: row !important; align-items: center !important; gap: 8px !important; }
/* SET-03·SET-04·RP-06 공통 분할 버튼(리마인드 재알림 간격 · 알림 설정 반복 간격 · 보고하기 사건 상태): 트랙 #F3F4F6,
   비선택 #4B5563 600, 선택 칸 카드 + 1px #D1D5DB · #111827 800 (다크: 선택 칸 카드 + #33466A, 비선택 보조색) */
html body :is(#hqReminderPanel .soc-reminder-preset-group, #notificationSettingsPanel .soc-notification-repeat-seg) { display: inline-flex !important; gap: 2px !important; padding: 3px !important; border: 0 !important; border-radius: 10px !important; background: var(--sxr-chip) !important; }
html body :is(#hqReminderPanel .soc-reminder-preset-group .ds-btn, #notificationSettingsPanel .soc-notification-repeat-seg .soc-notification-choice-btn) { height: 32px !important; min-height: 32px !important; min-width: 56px; padding: 0 12px !important; border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important; color: #4b5563 !important; font-size: 13px !important; font-weight: 600 !important; }
html body :is(#hqReminderPanel .soc-reminder-preset-group .ds-btn.is-active, #notificationSettingsPanel .soc-notification-repeat-seg .soc-notification-choice-btn.is-active) { background: var(--sxr-card) !important; color: var(--sxr-ink) !important; font-weight: 800 !important; box-shadow: inset 0 0 0 1px var(--sxr-line-strong), 0 1px 2px rgba(17, 24, 39, .06) !important; }
:is(html[data-theme="dark"] body, html body.dark) :is(#hqReminderPanel .soc-reminder-preset-group .ds-btn, #notificationSettingsPanel .soc-notification-repeat-seg .soc-notification-choice-btn):not(.is-active) { color: var(--sxr-sub) !important; }
html body #hqReminderPanel .soc-reminder-inline-custom { display: inline-flex !important; align-items: center !important; gap: 6px !important; font-size: 12px; color: var(--sxr-sub); }
html body #hqReminderPanel .soc-reminder-number-input, html body #hqReminderPanel .soc-reminder-counter-input { width: 64px !important; height: 34px !important; text-align: center; border-radius: 8px !important; border: 1px solid var(--sxr-line) !important; font-weight: 700 !important; }
html body #hqReminderPanel .soc-reminder-stepper { display: inline-flex !important; align-items: center; border: 1px solid var(--sxr-line); border-radius: 9px; overflow: hidden; }
html body #hqReminderPanel .soc-reminder-stepper .ds-btn { width: 34px; height: 34px !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; font-size: 16px; }
html body #hqReminderPanel .soc-reminder-stepper .soc-reminder-counter-input { border: 0 !important; border-radius: 0 !important; width: 44px !important; }
/* 파스텔 금지·E7: '이렇게 동작해요' — 글자에 붙은 점선 대신 중립 상자 하나(#F9FAFB + 1px #E5E7EB, HQ·SLA 같음) */
html body #hqReminderPanel .soc-reminder-row--preview { flex-direction: column !important; align-items: stretch !important; gap: 8px !important; margin-top: 4px !important; border: 0 !important; }
html body #hqReminderPanel#hqReminderPanel .soc-reminder-preview-box { padding: 12px 14px !important; border: 1px solid var(--sxr-line) !important; border-radius: 10px !important; background: var(--soc-table-head-bg, #f9fafb) !important; }
html body #hqReminderPanel .soc-reminder-preview-box .meta { margin: 0; font-size: 13px !important; color: #374151 !important; }
:is(html[data-theme="dark"] body, html body.dark) #hqReminderPanel#hqReminderPanel .soc-reminder-preview-box { border-color: var(--sxr-line-strong) !important; background: rgba(234, 240, 255, 0.04) !important; }
:is(html[data-theme="dark"] body, html body.dark) #hqReminderPanel .soc-reminder-preview-box .meta { color: var(--sxr-ink) !important; }
html body #hqReminderPanel .sx-sla-targets { margin: 16px 0 0 !important; padding: 20px !important; border-radius: var(--sxr-radius) !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; box-shadow: none !important; }
html body #hqReminderPanel .sx-sla-targets-head { display: flex; align-items: baseline; gap: 8px; margin-bottom: 10px; } .sx-sla-targets-head h3 { margin: 0; font-size: 16px; font-weight: 800; color: var(--sxr-ink); } .sx-sla-targets-head p { margin: 0; font-size: 12px; color: var(--sxr-sub); }
html body #hqReminderPanel .sx-sla-targets #slaAdvancedSettings > summary { display: none !important; }
html body #hqReminderPanel .sx-sla-targets .soc-reminder-advanced { border: 0 !important; padding: 0 !important; background: none !important; }
html body #hqReminderPanel .sx-sla-targets .soc-reminder-advanced-head { display: none !important; }
/* SET-02: the save row rests on the bottom of the page scroller (always in view), a soft shadow above it */
html body #hqReminderPanel #settingsReminderSaveBar#settingsReminderSaveBar { position: sticky !important; bottom: 0 !important; z-index: 6 !important; inset: auto auto 0 auto !important; transform: none !important; width: auto !important; margin: 16px 0 0 !important; padding: 14px 18px !important; border-radius: var(--sxr-radius) !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; box-shadow: 0 -6px 18px rgba(17, 24, 39, 0.08) !important; animation: sxr-pop-in 200ms var(--sxr-ease); }
html body #hqReminderPanel #settingsReminderSaveBar .soc-settings-savebar-copy strong::before { content: ""; display: inline-block; width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--soc-status-done-dot); vertical-align: 1px; }
/* 저장 줄 점: 「변경 사항 없음」은 회색(끝남), 바뀐 항목이 있을 때만 주황(지금 처리) */
html body #hqReminderPanel #settingsReminderSaveBar.is-dirty .soc-settings-savebar-copy strong::before { background: var(--sxr-accent); }
@media (max-width: 1279px) { html body #hqReminderPanel#hqReminderPanel .soc-settings-single-column { grid-template-columns: minmax(0, 1fr) !important; } }
html body #hqReminderPanel#hqReminderPanel .soc-reminder-form { width: 100% !important; max-width: none !important; }
html body #hqReminderPanel#hqReminderPanel .soc-reminder-card-copy { flex: 1 1 auto; }
html body #hqReminderPanel#hqReminderPanel .sx-remind-toggle { margin-left: auto; }
html body #hqReminderPanel#hqReminderPanel .soc-reminder-stepper .soc-reminder-counter-input { padding: 0 !important; }
html body #hqReminderPanel#hqReminderPanel .soc-reminder-preview-box .meta { border: 0 !important; outline: 0 !important; padding: 0 !important; background: none !important; }
html body #hqReminderPanel#hqReminderPanel .soc-settings-single-column { min-height: 0 !important; height: auto !important; align-items: start !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .soc-reminder-advanced-body { display: flex !important; flex-direction: column; gap: 12px; padding: 0 !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets :is(#slaSettingsRows, .sla-settings-rows, .soc-sla-rows) { display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 8px !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .sla-setting-row { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 10px; padding: 8px 10px 8px 12px !important; border-radius: 9px !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .sla-setting-row > span { font-size: 13px !important; font-weight: 600 !important; color: var(--sxr-ink) !important; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .sla-setting-row::after { content: "분"; font-size: 11px; color: var(--sxr-sub); margin-left: -6px; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .sla-minutes-input { width: 56px !important; height: 30px !important; padding: 0 6px !important; border-radius: 7px !important; border: 1px solid var(--sxr-line) !important; text-align: right; font-weight: 700 !important; font-size: 13px !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .soc-reminder-danger-zone { display: flex !important; justify-content: flex-end; align-items: center; gap: 10px; padding: 0 !important; border: 0 !important; background: none !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .soc-reminder-danger-copy { display: none !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets #slaResetBtn { height: 30px !important; padding: 0 12px !important; border-radius: 8px !important; background: transparent !important; color: var(--sxr-sub) !important; border: 1px solid var(--sxr-line) !important; font-size: 12px !important; font-weight: 700 !important; }
@media (max-width: 1500px) { html body #hqReminderPanel#hqReminderPanel .sx-sla-targets :is(#slaSettingsRows, .sla-settings-rows, .soc-sla-rows) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; } }
html body #hqReminderPanel#hqReminderPanel .soc-reminder-card-head { display: flex !important; flex-direction: row !important; align-items: center !important; width: 100% !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets { background: var(--sxr-card) !important; border: 1px solid var(--sxr-line) !important; border-radius: var(--sxr-radius) !important; margin-top: 0 !important; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .sla-setting-row > span { flex: 1 1 auto; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .sla-setting-row::after { margin-left: -4px; }
html body #hqReminderPanel#hqReminderPanel { row-gap: 16px !important; }
/* r3i23 fix (D2): 좁은 폭에서 3열 고정이라 칸 96px - 입력 56px로 유형 이름 폭이 0이 됐다. 폭에 맞춰 2·1열로 줄이고, 이름은 생략 없이 줄바꿈해 전부 보인다. */
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .sla-setting-row > span { white-space: normal !important; text-overflow: clip !important; overflow: visible !important; overflow-wrap: anywhere; word-break: keep-all; line-height: 1.35; }
html body #hqReminderPanel#hqReminderPanel .sx-sla-targets .sla-minutes-input { flex: 0 0 auto; }
@media (max-width: 1023px) { html body #hqReminderPanel#hqReminderPanel .sx-sla-targets :is(#slaSettingsRows, .sla-settings-rows, .soc-sla-rows) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 599px) { html body #hqReminderPanel#hqReminderPanel .sx-sla-targets :is(#slaSettingsRows, .sla-settings-rows, .soc-sla-rows) { grid-template-columns: minmax(0, 1fr) !important; } }

/* ======================= 공지사항 (Notice-Final-List / Read) ======================= */
html body #noticesWorkspace .workspace-tab-count { margin-left: 4px; font-size: 12px; font-weight: 500; color: var(--sxr-muted); }
html body #noticesWorkspace .workspace-tab.active .workspace-tab-count { color: var(--sxr-sub); }
html body #noticesWorkspace .notices-search-form.notices-search-form { display: inline-flex !important; align-items: center; width: 280px !important; height: 38px; padding: 0 10px !important; border: 1px solid var(--sxr-line) !important; border-radius: 9px !important; background: var(--sxr-card) !important; flex-direction: row-reverse; }
html body #noticesWorkspace .notices-search-input-wrap { display: block !important; flex: 1 1 auto; width: auto !important; max-width: none !important; opacity: 1 !important; visibility: visible !important; }
html body #noticesWorkspace #noticesSearchInput { width: 100% !important; height: 34px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; padding: 0 0 0 6px !important; font-size: 13px !important; }
html body #noticesWorkspace .notices-search-toggle { width: 22px !important; height: 22px !important; border: 0 !important; background: transparent !important; box-shadow: none !important; color: var(--sxr-muted) !important; padding: 0 !important; }
html body #noticesWorkspace #noticesCreateBtn { display: inline-flex; align-items: center; gap: 6px; height: 38px; border-radius: 9px; }
html body #noticesWorkspace #noticesCreateBtn.hidden { display: none !important; }
html body #noticesWorkspace .notices-table-host { border: 1px solid var(--sxr-line); border-radius: var(--sxr-radius); background: var(--sxr-card); overflow: hidden; list-style: none; }
html body #noticesWorkspace .notices-table-scroll { border: 0 !important; border-radius: 0 !important; }
html body #noticesWorkspace .notices-table th { background: var(--sxr-head) !important; /* R17 (2026-10-31): L2 head token */ color: var(--sxr-sub) !important; font-weight: 600 !important; font-size: 13px !important; } /* SET-11·E7 */
html body #noticesWorkspace col.notices-table-col-pin { width: 44px; }
html body #noticesWorkspace .notices-table-cell-pin { text-align: center; }
html body #noticesWorkspace .notices-table-cell-pin svg { display: inline-block; vertical-align: middle; }
html body #noticesWorkspace .notices-table-row.is-pinned { background: var(--sxr-card) !important; } /* R17 (2026-10-31): pinned rows stay white; the 고정 marker alone says pinned (no grey row fill) */
html body #noticesWorkspace .notices-table-cell-category { color: var(--sxr-sub) !important; }
html body #noticesWorkspace .notices-table-title-text { font-weight: 700 !important; color: var(--sxr-ink) !important; }
html body #noticesWorkspace .notice-kind-icon { display: inline-flex; margin-left: 6px; color: var(--sxr-muted); vertical-align: middle; }
html body #noticesWorkspace .notice-meta-tag-accent { margin-left: 8px; padding: 1px 6px !important; border-radius: 5px !important; background: var(--sxr-accent) !important; color: #fff !important; border: 0 !important; font-size: 10px !important; font-weight: 800 !important; line-height: 16px !important; width: auto !important; height: auto !important; }
html body #noticesWorkspace .notices-table-foot { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 12px 16px; border-top: 1px solid var(--sxr-line-soft); }
html body #noticesWorkspace .notices-table-foot .notices-table-total { margin: 0 !important; font-size: 12px; color: var(--sxr-sub); }
html body #noticesWorkspace .notices-table-foot .notices-table-pager { margin: 0 !important; }
/* Read page: back + breadcrumb, one 760px reading column in a sheet */
html body #announcementPanel#announcementPanel #noticesDetailPanel#noticesDetailPanel { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
.sx-notice-crumbs { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sx-notice-back { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; }
.sx-notice-back:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.sx-notice-crumb { font-size: 12px; color: var(--sxr-sub); }
html body #announcementPanel#announcementPanel .sx-notice-sheet { padding: 44px 24px 48px; border-radius: 16px; border: 1px solid var(--sxr-line); background: var(--sxr-card); }
html body #announcementPanel#announcementPanel .sx-notice-sheet > * { max-width: 760px; margin-left: auto !important; margin-right: auto !important; }
html body #announcementPanel#announcementPanel .sx-notice-sheet .notices-section-head { display: flex !important; align-items: flex-start !important; justify-content: space-between; gap: 16px; padding: 0 0 18px !important; border-bottom: 1px solid var(--sxr-line-soft) !important; margin-bottom: 22px !important; }
.sx-notice-eyebrow { display: flex; gap: 10px; margin: 0 0 8px; font-size: 12px; color: var(--sxr-sub); }
.sx-notice-pin { display: inline-flex; align-items: center; gap: 4px; color: var(--sxr-accent-ink); font-weight: 800; } /* SET-12: line pin SVG (no 📌 emoji) */
.sx-notice-pin-icon { flex: 0 0 15px; width: 15px; height: 15px; display: block; }
.sx-notice-sheet #noticesDetailTitle { margin: 0 !important; font-size: 24px !important; line-height: 32px !important; font-weight: 800 !important; color: var(--sxr-ink) !important; overflow-wrap: anywhere; }
.sx-notice-sheet #noticesDetailMeta { margin: 8px 0 0 !important; font-size: 12px !important; color: var(--sxr-sub) !important; }
.sx-notice-menu-wrap { position: relative; }
/* R17 (2026-10-31): ⋯ is a ghost icon button — no border or fill at rest, a subtle fill on hover/open, 36px hit area, focus ring kept. */
.sx-notice-more { width: 36px; height: 36px; border-radius: 8px; border: 0; background: transparent; color: var(--sxr-ink-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background-color 120ms var(--sxr-ease); }
.sx-notice-more:hover, .sx-notice-more[aria-expanded="true"] { background: var(--sxr-chip); }
.sx-notice-more.hidden { display: none !important; }
.sx-notice-menu { position: absolute; right: 0; top: 38px; z-index: 20; min-width: 120px; padding: 4px; border-radius: 10px; background: var(--sxr-card); box-shadow: 0 12px 30px rgba(17,24,39,.18), 0 0 0 1px var(--sxr-line); display: flex; flex-direction: column; animation: sxr-pop-in 150ms var(--sxr-ease); }
.sx-notice-menu.hidden { display: none !important; }
.sx-notice-menu .btn { justify-content: flex-start !important; width: 100%; height: 34px; border-radius: 7px !important; font-size: 13px !important; }
.sx-notice-menu #noticesDetailDeleteBtn { color: var(--sxr-red) !important; }
.sx-notice-sheet .notices-detail-body { font-size: 15px; line-height: 27px; color: var(--sxr-ink-2); }
.sx-notice-extras { display: flex; flex-direction: column; gap: 22px; margin-top: 28px !important; }
.sx-notice-files { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sx-notice-files a { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--sxr-line); color: var(--sxr-sub); text-decoration: none; }
.sx-notice-files a:hover { border-color: var(--sxr-line-strong); } .sx-notice-files strong { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sxr-ink); font-size: 13px; } .sx-notice-files span { font-size: 11px; }
/* R17 (2026-10-31): 이전/다음 공지 = plain text-link rows under one top hairline (no card box, no dashed empty side). */
.sx-notice-neighbours { display: flex; flex-direction: column; gap: 0; padding-top: 4px; border-top: 1px solid var(--sxr-line-soft); }
.sx-notice-neighbour { display: flex; align-items: baseline; gap: 12px; min-width: 0; width: 100%; padding: 10px 0; border: 0; border-radius: 4px; background: transparent; text-align: left; font: inherit; cursor: pointer; }
.sx-notice-neighbour.is-empty { display: none; }
.sx-notice-neighbour small { flex: 0 0 auto; min-width: 56px; font-size: 12px; color: var(--sxr-sub); } .sx-notice-neighbour > span { display: flex; align-items: baseline; gap: 8px; min-width: 0; } .sx-notice-neighbour em { flex: 0 0 auto; font-style: normal; font-size: 12px; color: var(--sxr-sub); } .sx-notice-neighbour strong { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; font-weight: 600; color: var(--sxr-ink); text-decoration: underline; text-decoration-color: transparent; text-underline-offset: 3px; transition: text-decoration-color 120ms var(--sxr-ease); }
.sx-notice-neighbour:hover strong { text-decoration-color: currentColor; }
.sx-notice-neighbour:focus-visible, .sx-notice-files a:focus-visible, .sx-notice-more:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
html body #noticesWorkspace#noticesWorkspace .notices-table-title-btn .notice-meta-tag.notice-meta-tag-accent { background: var(--sxr-accent) !important; color: #fff !important; border-color: var(--sxr-accent) !important; }
html body #noticesWorkspace#noticesWorkspace .notices-table-host { background: var(--sxr-card) !important; }
html body #noticesWorkspace#noticesWorkspace .notices-table-foot { background: var(--sxr-card) !important; }
html body #announcementPanel#announcementPanel #noticesDetailPanel#noticesDetailPanel .sx-notice-more svg { width: 16px !important; height: 16px !important; display: block; color: var(--sxr-ink-2); }
html body #announcementPanel#announcementPanel #noticesDetailPanel#noticesDetailPanel .notices-detail-body { min-height: 0 !important; }
html body #announcementPanel#announcementPanel #noticesDetailPanel#noticesDetailPanel html body #announcementPanel#announcementPanel .sx-notice-sheet .notices-section-head { border-bottom-color: var(--sxr-line-soft) !important; }
/* Notice-Final-Write */
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel { background: transparent !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; display: flex; flex-direction: column; gap: 14px; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel.hidden { display: none !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-crumbs { margin: 0; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-settings-panel { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 16px !important; max-width: 760px; width: 100%; margin: 0 auto !important; padding: 36px 0 0 !important; border: 0 !important; background: transparent !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-cat-select { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; }
html body #announcementPanel#announcementPanel .sx-notice-cat-seg { display: inline-flex; padding: 3px; border-radius: 9px; background: var(--sxr-chip); }
html body #announcementPanel#announcementPanel .sx-notice-cat { height: 30px; padding: 0 12px; border: 0; border-radius: 7px; background: transparent; color: var(--sxr-sub); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
html body #announcementPanel#announcementPanel .sx-notice-cat.is-on { background: var(--sxr-card); color: var(--sxr-ink); font-weight: 800; box-shadow: 0 1px 2px rgba(17,24,39,.12); }
.sx-notice-cat:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 1px; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-setting-field-inline { display: inline-flex !important; align-items: center; gap: 8px; margin: 0 !important; }
/* SET-13: 「상단 고정」 = line pin + ink label (no 📌 emoji) */
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-setting-field-inline .notices-compose-setting-label { display: inline-flex; align-items: center; gap: 4px; color: var(--sxr-ink) !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-setting-switchrow { flex-direction: row-reverse; gap: 8px !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-switch-copy { display: none !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel #noticesComposePinnedCaption { font-size: 12px; color: var(--sxr-sub); }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-document { max-width: 760px; width: 100%; margin: 0 auto !important; padding: 0 !important; background: transparent !important; border: 0 !important; box-shadow: none !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel :is(.notices-compose-settings-panel, .notices-compose-document) { position: relative; z-index: 1; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel #noticesComposeTitle { font-size: 26px !important; font-weight: 800 !important; padding: 14px 0 !important; border: 0 !important; border-bottom: 1px solid var(--sxr-line-soft) !important; background: transparent !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar { margin-top: 18px !important; border: 1px solid var(--sxr-line) !important; border-bottom: 0 !important; border-radius: 12px 12px 0 0 !important; background: var(--sxr-card) !important; padding: 6px 10px !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-document-flow { border: 1px solid var(--sxr-line) !important; border-radius: 0 0 12px 12px !important; background: var(--sxr-card) !important; min-height: 340px; padding: 18px 20px !important; }
.sx-notice-compose-files { display: flex; flex-direction: column; gap: 8px; margin-top: 22px; }
.sx-notice-compose-files.is-dragging .sx-notice-file-drop { border-color: var(--sxr-accent); background: color-mix(in srgb, var(--sxr-accent) 14%, var(--sxr-card)); }
.sx-notice-compose-files-title { margin: 0; font-size: 14px; font-weight: 800; color: var(--sxr-ink); }
.sx-notice-file-row { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; border: 1px solid var(--sxr-line); background: var(--sxr-card); color: var(--sxr-sub); }
.sx-notice-file-row strong { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--sxr-ink); font-size: 13px; } .sx-notice-file-row span { font-size: 11px; } .sx-notice-file-row em { font-style: normal; font-size: 11px; color: var(--sxr-muted); }
.sx-notice-file-x { width: 24px; height: 24px; border: 0; border-radius: 6px; background: transparent; color: var(--sxr-muted); font-size: 16px; cursor: pointer; } .sx-notice-file-x:hover { color: var(--sxr-red); background: var(--sxr-chip); }
.sx-notice-file-drop { display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 46px; border-radius: 10px; border: 1px dashed var(--sxr-accent-line); background: var(--sxr-accent-fill); color: var(--sxr-accent-ink); font: inherit; font-size: 13px; font-weight: 800; cursor: pointer; } .sx-notice-file-drop small { font-weight: 500; color: var(--sxr-sub); margin-left: 6px; }
.sx-notice-file-drop:focus-visible, .sx-notice-file-x:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.sx-notice-file-error { margin: 0; font-size: 12px; color: var(--sxr-red); } .sx-notice-file-error[hidden] { display: none; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-footer { display: flex !important; align-items: center !important; gap: 8px !important; padding: 14px 18px !important; border-radius: var(--sxr-radius) !important; border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; position: sticky; bottom: 0; z-index: 6; box-shadow: 0 -6px 18px rgba(17, 24, 39, 0.08) !important; }
/* SET-14: 발행 바는 페이지 스크롤 영역 맨 아래(도우미 띠 위)에 붙음 — 작성 중에는 본문 아래 여백을 두지 않음 */
/* SET-15: 스크롤은 페이지 하나 — 공지 패널·작성 패널은 자체 세로 스크롤을 만들지 않음(가로는 clip이라 세로가 auto로 바뀌지 않음) */
html body #announcementPanel#announcementPanel#announcementPanel:has(#noticesComposePanel:not(.hidden)),
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel { overflow-x: clip !important; overflow-y: visible !important; max-height: none !important; }
html body.soc-support-chatbot-on main.container.admin-layout:has(> #announcementPanel:not(.hidden) #noticesComposePanel:not(.hidden)) { padding-bottom: 0 !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-footer .sx-notice-footer-spacer { flex: 1 1 auto; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-footer .notices-compose-draft-meta { margin: 0 !important; font-size: 12px; color: var(--sxr-sub); }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-footer .btn { height: 38px !important; padding: 0 18px !important; border-radius: 9px !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-footer .btn-ghost { border: 1px solid var(--sxr-line) !important; background: var(--sxr-card) !important; color: var(--sxr-ink) !important; }
html body #noticesWorkspace#noticesWorkspace:has(#noticesComposePanel:not(.hidden)), html body #noticesWorkspace#noticesWorkspace:has(#noticesDetailPanel:not(.hidden)) { background: transparent !important; box-shadow: none !important; border: 0 !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel { display: flex !important; flex-direction: column !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel > :is(.notices-compose-settings-panel, .notices-compose-document) { margin-left: auto !important; margin-right: auto !important; width: min(760px, 100%) !important; max-width: 760px !important; justify-self: center; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel > .notices-compose-settings-panel { padding: 30px 0 0 !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel::before { content: ""; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel html body #announcementPanel#announcementPanel .sx-notice-cat { white-space: nowrap !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar { flex-wrap: nowrap !important; overflow-x: auto; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar .notices-toolbar-item span:not([aria-hidden]) { display: none; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar .notices-toolbar-item:is([data-action="notices-insert-image-block"], [data-action="notices-insert-table-block"], [data-action="notices-insert-poll-block"], [data-action="notices-insert-divider"]) span:not([aria-hidden]) { display: inline; }
/* white sheet behind settings + document (board: one card) */
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel { position: relative; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-sheet-bg { display: none; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel > .notices-compose-settings-panel { border-radius: 16px 16px 0 0 !important; background: var(--sxr-card) !important; box-shadow: 0 0 0 1px var(--sxr-line) !important; width: 100% !important; max-width: none !important; padding: 34px max(24px, calc((100% - 760px) / 2)) 0 !important; clip-path: inset(-1px -1px 0 -1px); }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel#noticesComposePanel > .notices-compose-document { width: 100% !important; max-width: none !important; padding: 16px max(24px, calc((100% - 760px) / 2)) 34px !important; background: var(--sxr-card) !important; border-radius: 0 0 16px 16px !important; box-shadow: 0 0 0 1px var(--sxr-line) !important; clip-path: inset(0 -1px -1px -1px); margin-top: 0 !important; } /* SET-13: 제목칸이 −14px로 분류 칩 아래를 덮던 것 → 칩 아래 +16 */
html body #announcementPanel#announcementPanel #noticesWorkspace#noticesWorkspace:has(#noticesComposePanel:not(.hidden), #noticesDetailPanel:not(.hidden)) { background: transparent !important; box-shadow: none !important; border: 0 !important; padding: 0 !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar { flex-wrap: nowrap !important; gap: 2px !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar .notices-compose-toolbar-group { flex-wrap: nowrap !important; gap: 2px !important; }
html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar .notices-toolbar-item { padding: 0 7px !important; min-width: 0 !important; white-space: nowrap !important; word-break: keep-all !important; } /* SET-15: 「사/진」처럼 글자 단위로 줄바꿈하지 않음 */
/* SET-15: 1279 이하에서는 삽입 도구를 아이콘만(이름은 화면낭독기로) */
@media (max-width: 1279.98px) {
  html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar .notices-toolbar-item:is([data-action="notices-insert-image-block"], [data-action="notices-insert-table-block"], [data-action="notices-insert-poll-block"], [data-action="notices-insert-divider"]) span:not([aria-hidden]) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; white-space: nowrap !important; }
  html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar .notices-toolbar-item:is([data-action="notices-insert-image-block"], [data-action="notices-insert-table-block"], [data-action="notices-insert-poll-block"], [data-action="notices-insert-divider"]) { min-width: 34px !important; justify-content: center !important; }
}
html body #supportChatbotLauncher#supportChatbotLauncher.hidden, html body #supportChatbotPanel#supportChatbotPanel.hidden { display: none !important; }
/* Web-Login2 · 5번 틀려서 잠김: grey countdown button with a lock above the fields */
html body.sx-login-locked #authView#authView#authView #loginSubmitBtn#loginSubmitBtn { background: var(--sxr-chip, #f3f4f6) !important; color: var(--sxr-sub, #6b7280) !important; border-color: transparent !important; box-shadow: none !important; font-variant-numeric: tabular-nums; cursor: not-allowed; opacity: 1 !important; }
html body.sx-login-locked #authView .auth-c2-panel-credentials::before { content: ""; display: block; width: 22px; height: 22px; margin: 0 auto 12px; background: currentColor; color: var(--sxr-ink, #111827); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Crect x='5' y='10.5' width='14' height='10' rx='2'/%3E%3Cpath d='M8 10.5V7.5a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E") center / contain no-repeat; }
html body.sx-login-locked #authView#authView#authView #loginSubmitBtn#loginSubmitBtn { background: #eceef1 !important; background-image: none !important; color: #6b7280 !important; }
html[data-theme="dark"] body.sx-login-locked #authView#authView#authView #loginSubmitBtn#loginSubmitBtn { background: #1e293b !important; color: #a3b0c6 !important; }
/* 코멘트 수정 · 삭제 (Alerts-Actions ④) */
.soc-detail-comment-item .soc-detail-comment-edit, .soc-detail-comment-item .soc-detail-comment-more.is-text { align-self: flex-start; height: 24px; padding: 0 6px; border: 0; border-radius: 6px; background: transparent; color: var(--sxr-sub); font-size: 11px; font-weight: 700; cursor: pointer; opacity: 0; transition: opacity 140ms var(--sxr-ease); }
.soc-detail-comment-item .soc-detail-comment-more.is-text:hover { color: var(--sxr-red); }
.soc-detail-comment-item:hover :is(.soc-detail-comment-edit, .soc-detail-comment-more.is-text), .soc-detail-comment-item :is(.soc-detail-comment-edit, .soc-detail-comment-more.is-text):focus-visible { opacity: 1; }
@media (hover: none) { .soc-detail-comment-item :is(.soc-detail-comment-edit, .soc-detail-comment-more.is-text) { opacity: 1; } }
.sxr-comment-edit { display: flex; flex-direction: column; gap: 6px; margin-top: 4px; }
.sxr-comment-edit textarea { width: 100%; min-height: 40px; padding: 8px 10px; border-radius: 8px; border: 1px solid var(--sxr-ink); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; resize: none; }
.sxr-comment-edit-actions { display: flex; justify-content: flex-end; gap: 8px; align-items: center; }
/* 상황실 filters wrap instead of clipping the 「할 일 남은 사건만」 toggle; titles keep room next to the todo badge */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card { flex-wrap: wrap !important; row-gap: 8px !important; overflow: visible !important; background: transparent !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-reference-controls { background: transparent !important; box-shadow: none !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-title .incident-title-text { flex: 0 1 auto; width: auto; min-width: 5em; text-align: center; }
/* r16w VQA D3: the centred 제목 (11-01 webux 03) is a desktop table rule — on a phone the title starts at its left edge so the # number and the start stay readable */
@media (max-width: 767px) {
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row > :nth-child(4) { text-align: left !important; justify-content: flex-start !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-title .incident-title-text { flex: 1 1 auto; text-align: left; }
}
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-title .incident-title-tag { flex: 0 0 auto; }
@media (max-width: 1600px) { html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .sxr-todo-badge svg { display: none; } html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .sxr-todo-badge { padding: 1px 5px; margin-left: 4px; } }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card.soc-situation-filter-card { grid-template-columns: minmax(160px, 1.5fr) repeat(5, minmax(96px, 1fr)) auto !important; column-gap: 10px !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card > * { min-width: 0 !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card select { width: 100% !important; min-width: 0 !important; }
/* the title column takes the remaining width (board: 제목 is the widest column) */
html body #alertsView#alertsView#alertsView#alertsView#alertsView :is(#incidentList .soc-situation-row, .soc-pc-incident-header) { grid-template-columns: 44px minmax(72px, 0.8fr) minmax(80px, 0.9fr) minmax(0, 3fr) 72px 76px 118px !important; }
/* SX-M6 (C8 VQA 관찰, 768 제목 7자 안팎): 표 폭 700 미만(768 화면)은 components.css 좁은 표 규칙이 지점·보고 시간 칸을 숨기고 그 칸 폭을
   0으로 두는데, 위 줄(id 5개)이 그 폭을 72px·118px로 되살려 빈 칸이 190px를 먹고 제목은 165px만 남았다. 같은 좁은 표에서는 숨긴 두 칸을
   0으로 두어 그 폭이 제목으로 간다(칸 순서·숨김은 그대로). */
@media (min-width: 768px) {
  @container situation-table (max-width: 699.98px) {
    html body #alertsView#alertsView#alertsView#alertsView#alertsView :is(#incidentList .soc-situation-row, .soc-pc-incident-header) { grid-template-columns: 44px 0px minmax(80px, 0.9fr) minmax(0, 3fr) 72px 76px 0px !important; }
  }
}
/* AL-14·AL-16·AL-19: 상황실 필터 줄 — 라벨 띠 = 화면 바탕, 라벨 12/500, 입력 36 · 값 13/400 잉크, 검색 안내 #6B7280/400, 칸 아래 끝 맞춤 */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-reference-controls > .soc-situation-filter-card::before { background: var(--sxr-canvas) !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card .soc-situation-filter-field > span { font-size: 12px !important; font-weight: 500 !important; letter-spacing: 0 !important; }
html:not([data-theme="dark"]) body:not(.dark) #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card .soc-situation-filter-field > span { color: var(--soc-text-soft-2, #4b5563) !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card.soc-situation-filter-card > :is(.soc-situation-filter-field, #situationTodoOnlyWrap) { align-self: end !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card select { height: 36px !important; min-height: 36px !important; font-size: 13px !important; font-weight: 400 !important; color: var(--sxr-ink) !important; }
/* SX-M6 D-SX-001: 검색 칸도 옆 고르기 칸(768 이상 40px)과 같은 40px. 767 이하는 휴대폰 규칙(44px)이 그대로 이김.
   SX-M7 D-SX-001(768): 1024 미만 좁은 데스크톱(768)에서는 감싸는 칸 테두리가 없고 입력이 테두리를 그려 입력 38px가 보이는 상자였다.
   입력은 감싸는 칸 안쪽 높이를 채운다(테두리가 감싸는 칸이면 38, 입력이면 40 — 어느 쪽이든 보이는 상자 40). 감싸는 칸 40px은
   768 이상만(767 이하는 높이 auto라 44px 입력이 칸 밖으로 4px 넘치지 않는다). */
@media (min-width: 768px) {
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card .soc-situation-search-field.soc-situation-search-field { height: 40px !important; min-height: 40px !important; box-sizing: border-box !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card #situationIncidentSearchInput { height: 100% !important; min-height: 0 !important; box-sizing: border-box !important; }
}
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card #situationIncidentSearchInput { font-size: 13px !important; font-weight: 400 !important; color: var(--sxr-ink) !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationIncidentSearchInput::placeholder { color: var(--sxr-sub) !important; font-weight: 400 !important; opacity: 1 !important; }
/* AL-15: 빈 목록 안내 #6B7280 */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-empty-copy.sx-empty-state-hint { color: var(--sxr-sub) !important; }
/* AL-17: 목록 행 — 지점·유형 14/400 #374151, 보고 시간 13/400 #6B7280, 제목 14/700, #번호 #6B7280, 표 머리 600 */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row :is(.incident-location, .incident-type) { font-size: 14px !important; font-weight: 400 !important; color: var(--sxr-ink-2) !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-created-at { font-size: 13px !important; font-weight: 400 !important; color: var(--sxr-sub) !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-title-text { font-size: 14px !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-row .incident-title-tag { color: var(--sxr-sub) !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-pc-incident-header > span { font-weight: 600 !important; }
html body .sx-aw-cover.sx-aw-cover .sx-aw-hero .sx-aw-hero-copy p.sx-aw-eyebrow { color: var(--sxr-accent-ink) !important; font-weight: 800 !important; }
html[data-theme="dark"] body .sx-aw-cover.sx-aw-cover .sx-aw-hero .sx-aw-hero-copy p.sx-aw-eyebrow { color: #fb923c !important; }
.sx-aw-row { grid-template-columns: 10px minmax(0, 1.4fr) minmax(0, 1fr) auto !important; }
html body .sx-aw-cover .sx-aw-steps li { flex: 1 1 auto; }
html body .sx-aw-cover .sx-aw-steps li:not(:last-child)::after { min-width: 24px; }
html body #announcementPanel#announcementPanel #noticesDetailMoreBtn.sx-notice-more { color: var(--sxr-ink-2) !important; font-size: 0 !important; padding: 0 !important; }
html body #announcementPanel#announcementPanel #noticesDetailMoreBtn.sx-notice-more svg { width: 16px !important; height: 16px !important; min-width: 16px !important; display: block !important; fill: currentColor !important; }
html body #hqReminderPanel#hqReminderPanel#hqReminderPanel .soc-reminder-preview-box :is(p, .meta) { border: 0 !important; outline: 0 !important; box-shadow: none !important; background: none !important; padding: 0 !important; }
html body #hqReminderPanel#hqReminderPanel#hqReminderPanel .sx-remind-toggle .soc-reminder-row { border: 0 !important; padding: 0 !important; box-shadow: none !important; }
html body #hqReminderPanel#hqReminderPanel#hqReminderPanel .sx-remind-toggle .soc-reminder-row::before, html body #hqReminderPanel#hqReminderPanel#hqReminderPanel .sx-remind-toggle .soc-reminder-row::after { display: none !important; }
html body #hqReminderPanel#hqReminderPanel#hqReminderPanel .soc-reminder-form > .soc-reminder-row:first-of-type { border-top: 1px solid var(--sxr-line-soft) !important; }
/* 티켓 KPI: column count by D1a container rule (shared KPI-B block); KPI-B v2 keeps one cell size at every width */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid { overflow: visible !important; }
/* settings: two columns only where the board's width allows it */
@media (max-width: 1599px) {
  html body #notificationSettingsPanel #notificationSettingsForm { grid-template-columns: minmax(0, 1fr) !important; }
  html body #notificationSettingsPanel :is(.soc-settings-dispatch-card, .soc-notification-delivery-card, .soc-notification-etc-card) { grid-column: 1 !important; grid-row: auto !important; }
}
#supportChatbotPanel .sxa-starters .sxa-starter { margin: 0 !important; width: 100% !important; }
/* 티켓 filters: one row like 상황실 (검색 · 기간 · 지점 · 티켓 유형 · 상태 · 요청 인원) */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar.soc-ticket-reference-filterbar { grid-template-columns: minmax(160px, 1.5fr) repeat(5, minmax(96px, 1fr)) !important; column-gap: 10px !important; background: transparent !important; border: 0 !important; padding: 0 !important; box-shadow: none !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar > * { min-width: 0 !important; grid-column: auto !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar :is(select, input) { width: 100% !important; min-width: 0 !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-controls { overflow: visible !important; max-height: none !important; height: auto !important; flex: 0 0 auto !important; padding-bottom: 0 !important; } /* TK-06: 필터 → 목록 16px */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-shell { gap: 16px !important; row-gap: 16px !important; } /* TK-06 */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid { flex: 0 0 auto !important; margin-bottom: 4px !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid#ticketSummaryGrid { height: auto !important; min-height: 0 !important; max-height: none !important; grid-auto-rows: auto !important; align-items: stretch !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid#ticketSummaryGrid .sxr-kpi-card { height: auto !important; min-height: 72px !important; max-height: none !important; } /* E12 */
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar.soc-ticket-reference-filterbar { height: auto !important; min-height: 0 !important; align-content: start !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-controls { min-height: 0 !important; gap: 12px !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView :is(.soc-ticket-reference-row, .soc-ticket-reference-table-header) { grid-template-columns: 44px minmax(72px, 1fr) minmax(84px, 0.9fr) minmax(0, 3fr) 72px 84px 104px !important; } /* TK-01: 시간 칸 104('MM-DD HH:mm'), 남는 폭은 제목 */
/* collapsed detail panels (nothing selected) stay out of the layout; the list takes the full width */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel.is-situation-collapsed, #ticketCommentPanel.is-ticket-collapsed).sxr-detail-panel { display: none !important; }
/* r3i23 fix (A2): the PC detail panels are PC-only (renderAlertsDesktopPanel marks them .hidden below 768px, as components.css
   hides them). The display:flex rule above outranks both, so a panel opened at 1366 stayed under the list after narrowing to 402. */
@media (max-width: 767.98px) { html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel).sxr-detail-panel { display: none !important; } }
/* r3i23 fix (M1): components.css hides #menuToggleBtn for every body.role-hq and gives it back only at 768–1199px, so an HQ or
   master account at phone width had no way into the menu sheet (OPS 전용 › 순찰 기록 only by typed address). Same button as 팀장. */
@media (max-width: 767.98px) { html body.role-hq #menuToggleBtn:not(.hidden) { display: inline-flex !important; } }
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-alerts-two-col-shell.is-detail-collapsed { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto !important; }
html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-tickets-two-col-shell:has(> #ticketCommentPanel.is-ticket-collapsed) { grid-template-columns: minmax(0, 1fr) !important; }

/* ── Web-Login2 기본 · Google / 네이버 (web-social-bridge v1). Provider brand fills are provider-mandated, not theme tokens. ── */
/* r3i23 fix (D1): 회사 코드 정리 중(TENANT_CODE_PENDING) 안내 — 보이는 동안 폼·간편 로그인·한 줄 안내는 숨기고 이 카드 하나만 */
html body #authView#authView#authView.auth-c2[data-tenant-pending="on"] :is(#authMessage, .sx-pw-recovery-row, #sxSessionRestoreRow, #sxSocialPanel, #loginForm) { display: none !important; }
html body #authView#authView#authView.auth-c2 #sxTenantPendingNotice[hidden] { display: none !important; }
html body #authView#authView#authView.auth-c2 #sxTenantPendingNotice { display: flex; flex-direction: column; gap: 10px; min-width: 0; padding: 6px 0 2px; }
html body #authView#authView#authView.auth-c2 #sxTenantPendingNotice .auth-c2-sub { margin: 0; overflow-wrap: anywhere; }
html body #authView#authView#authView.auth-c2 #sxTenantPendingNotice .auth-c2-title { overflow-wrap: anywhere; word-break: keep-all; }
html body #authView#authView#authView.auth-c2 #sxTenantPendingNotice .auth-c2-title:focus { outline: none; }
html body #authView#authView#authView.auth-c2 #sxTenantPendingNotice .auth-c2-title:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; border-radius: 4px; }
html body #authView#authView#authView.auth-c2[data-sx-login-method="social"] #loginForm { display: none !important; }
html body #authView#authView#authView.auth-c2 .sx-social[hidden],
html body #authView#authView#authView.auth-c2 .sx-social-back-row[hidden],
html body #authView#authView#authView.auth-c2 .sx-social [hidden] { display: none !important; }
html body #authView#authView#authView.auth-c2 .sx-social { display: flex; flex-direction: column; align-items: stretch; gap: 10px; width: 100%; min-width: 0; }
html body #authView#authView#authView.auth-c2 .sx-social-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%; min-width: 0; height: 48px; min-height: 48px;
  padding: 0 18px; border-radius: 24px; font: inherit; font-size: 15px; font-weight: 700; line-height: 1; cursor: pointer;
  transition: filter 140ms var(--sxr-ease), transform 140ms var(--sxr-ease), box-shadow 160ms var(--sxr-ease);
}
html body #authView#authView#authView.auth-c2 .sx-social-btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
html body #authView#authView#authView.auth-c2 .sx-social-btn.is-google { background: #ffffff; color: var(--sxr-ink); border: 1px solid var(--sxr-line-strong); }
html body #authView#authView#authView.auth-c2 .sx-social-btn.is-naver { background: #03c75a; color: #ffffff; border: 1px solid #03c75a; }
html[data-theme="dark"] body #authView#authView#authView.auth-c2 .sx-social-btn.is-google,
body.dark #authView#authView#authView.auth-c2 .sx-social-btn.is-google { background: #131314; color: #e3e3e3; border-color: #8e918f; }
html body #authView#authView#authView.auth-c2 .sx-social-btn:not(:disabled):active { transform: translateY(1px); }
html body #authView#authView#authView.auth-c2 .sx-social-btn:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
html body #authView#authView#authView.auth-c2 .sx-social-btn:disabled { cursor: not-allowed; filter: grayscale(1); opacity: .5; }
/* The provider whose popup is open stays legible while both buttons are locked. */
html body #authView#authView#authView.auth-c2 .sx-social-btn.is-running:disabled { filter: none; opacity: 1; box-shadow: 0 0 0 3px var(--sxr-accent-fill), 0 0 0 4px var(--sxr-accent-line); }
html body #authView#authView#authView.auth-c2 .sx-social-status { min-height: 18px; margin: 2px 0 0; text-align: center; font-size: 13px; line-height: 1.4; color: var(--sxr-sub); overflow-wrap: anywhere; word-break: keep-all; }
html body #authView#authView#authView.auth-c2 .sx-social-status:empty { display: none; }
html body #authView#authView#authView.auth-c2 .sx-social-status[data-tone="error"] { color: var(--sxr-red); font-weight: 600; }
html body #authView#authView#authView.auth-c2 .sx-social[data-sx-social-state="busy"] .sx-social-status { color: var(--sxr-ink-2); animation: sx-social-status-in 220ms var(--sxr-ease) both; }
html body #authView#authView#authView.auth-c2 .sx-social-actions { display: flex; justify-content: center; gap: 16px; }
html body #authView#authView#authView.auth-c2 .sx-social-actions:not(:has(> :not([hidden]))) { display: none; }
html body #authView#authView#authView.auth-c2 .sx-social-other,
html body #authView#authView#authView.auth-c2 .sx-social-back { align-self: center; min-height: 32px; padding: 4px 8px; font-size: 13px; color: var(--sxr-sub); background: none; border: 0; cursor: pointer; text-decoration: none !important; }
html body #authView#authView#authView.auth-c2 :is(.sx-social-other, .sx-social-back):not(:disabled):hover { color: var(--sxr-ink-2); text-decoration: underline !important; text-underline-offset: 3px; }
html body #authView#authView#authView.auth-c2 :is(.sx-social-other, .sx-social-back, .sx-social-retry, .sx-social-cancel):focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; border-radius: 6px; }
html body #authView#authView#authView.auth-c2 .sx-social-other:disabled { opacity: .5; cursor: not-allowed; }
@keyframes sx-social-status-in { from { opacity: 0; transform: translateY(2px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  html body #authView#authView#authView.auth-c2 .sx-social-btn { transition: none; }
  html body #authView#authView#authView.auth-c2 .sx-social[data-sx-social-state="busy"] .sx-social-status { animation: none; }
}

/* ── Notice-Final-Write 「미리보기」: modal dialog, same 760 reading column as Notice-Final-Read. ── */
dialog.sx-notice-preview { width: min(820px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 48px); padding: 0; border: 0; border-radius: 16px; background: var(--sxr-card); color: var(--sxr-ink); box-shadow: 0 24px 64px rgba(17, 24, 39, .24); overflow: hidden; }
dialog.sx-notice-preview[open] { display: flex; flex-direction: column; animation: sx-notice-preview-in 200ms var(--sxr-ease) both; }
dialog.sx-notice-preview::backdrop { background: rgba(17, 24, 39, .42); }
.sx-notice-preview-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: 0 0 auto; padding: 10px 12px 10px 24px; border-bottom: 1px solid var(--sxr-line); background: var(--sxr-accent-fill); }
.sx-notice-preview-flag { font-size: 13px; font-weight: 700; color: var(--sxr-accent-ink); }
.sx-notice-preview-close { display: inline-grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 10px; background: transparent; color: var(--sxr-ink-2); cursor: pointer; }
.sx-notice-preview-close:hover { background: var(--sxr-chip); }
.sx-notice-preview-close:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.sx-notice-preview-doc { flex: 1 1 auto; min-height: 0; overflow-x: hidden; overflow-y: auto; width: 100%; max-width: 760px; margin: 0 auto; padding: 28px 32px 36px; box-sizing: border-box; overscroll-behavior: contain; }
.sx-notice-preview-cat { margin: 0 0 8px; font-size: 13px; font-weight: 700; color: var(--sxr-accent-ink); }
.sx-notice-preview-title { margin: 0; font-size: 24px; line-height: 1.35; font-weight: 800; color: var(--sxr-ink); overflow-wrap: anywhere; word-break: keep-all; }
.sx-notice-preview-meta { margin: 8px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--sxr-line); font-size: 13px; color: var(--sxr-sub); }
.sx-notice-preview-body { min-height: 0 !important; height: auto !important; margin-top: 20px; font-size: 15px; line-height: 1.75; color: var(--sxr-ink-2); overflow-wrap: anywhere; }
.sx-notice-preview-files { margin: 24px 0 0; padding: 16px 0 0; border-top: 1px solid var(--sxr-line); list-style: none; }
.sx-notice-preview-files[hidden] { display: none; }
@keyframes sx-notice-preview-in { from { opacity: 0; transform: translateY(8px) scale(.99); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { dialog.sx-notice-preview[open] { animation: none; } }

/* ── Slot-Flow G9: 목록에 없는 외부 인력 등록 (external-person-register.js). Dashed orange entry like board ①. ── */
.cw-xreg { margin-top: 12px; min-width: 0; }
.cw-xreg-toggle { display: inline-flex; align-items: center; gap: 6px; width: 100%; min-height: 40px; padding: 8px 12px; border: 1.5px dashed var(--sxr-accent-line); border-radius: 10px; background: transparent; color: var(--sxr-accent-ink); font: inherit; font-size: 13px; font-weight: 700; cursor: pointer; text-align: left; }
.cw-xreg-toggle:hover:not(:disabled) { background: var(--sxr-accent-fill); }
.cw-xreg-toggle:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.cw-xreg-toggle:disabled { opacity: .5; cursor: not-allowed; }
.cw-xreg.is-open .cw-xreg-toggle { border-style: solid; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.cw-xreg-plus { font-size: 16px; line-height: 1; }
.cw-xreg-panel { display: grid; gap: 8px; padding: 12px; border: 1.5px solid var(--sxr-accent-line); border-top: 0; border-radius: 0 0 10px 10px; background: var(--sxr-card); min-width: 0; }
.cw-xreg-title, .cw-xreg-count, .cw-xreg-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--sxr-sub); overflow-wrap: anywhere; }
.cw-xreg-title { font-weight: 700; color: var(--sxr-ink-2); }
.cw-xreg-names input, .cw-xreg-phone input { width: 100%; min-width: 0; height: 36px; padding: 0 10px; border: 1px solid var(--sxr-line-strong); border-radius: 8px; background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 13px; box-sizing: border-box; }
.cw-xreg-names input:focus-visible, .cw-xreg-phone input:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 1px; }
.cw-xreg-phone input[aria-invalid="true"] { border-color: var(--sxr-red); }
.cw-xreg-rows { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.cw-xreg-row { display: grid; grid-template-columns: minmax(64px, 1fr) minmax(120px, 1.4fr); align-items: center; gap: 4px 8px; min-width: 0; }
.cw-xreg-name { min-width: 0; font-size: 13px; font-weight: 700; color: var(--sxr-ink); overflow-wrap: anywhere; word-break: keep-all; }
.cw-xreg-row > :is(.cw-xreg-ok, .cw-xreg-fail, .cw-xreg-msg) { grid-column: 1 / -1; font-size: 12px; line-height: 1.4; }
.cw-xreg-msg:empty { display: none; }
.cw-xreg-ok { color: var(--sxr-green); font-weight: 600; }
.cw-xreg-fail { color: var(--sxr-red); font-weight: 600; }
.cw-xreg-row.is-done .cw-xreg-name::before { content: "✓ "; color: var(--sxr-green); }
.cw-xreg-actions { display: flex; justify-content: flex-end; gap: 8px; }

/* R6 F8: the 2단계 인증 dot shows only for a confirmed true value. */
.soc-profile-security-dot[hidden] { display: none; }

/* R8 T1–T5 (DESIGN "Focus ring"): one shared keyboard indicator, a 2px line in --ui-focus-color (light #b64000,
   dark #fff). Many view rules flatten their controls with `box-shadow: none !important`, which also removed the
   shared --ui-focus-ring, so the indicator is an outline those resting resets never touch. The default offset 0 lands
   exactly on the ring where the ring survives (one line, not two); a control's own offset still applies. :where()
   keeps this at a single pseudo-class of weight, so every deliberate control rule with !important still wins (inset
   sidebar rings, search-field wrappers that draw the ring around the field, offset-2 r61 rings). The login screen
   keeps its own focus treatment. */
:where(body:not(.soc-auth-shell-active)) :where(button, a[href], input:not([type="hidden"]), select, textarea, summary, [role="button"], [role="tab"], [role="radio"], [role="checkbox"], [role="menuitem"], [role="option"], [tabindex]:not([tabindex="-1"])):focus-visible {
  outline: 2px solid var(--ui-focus-color, #111827) !important;
  outline-offset: 0;
}
/* Rows, cards and fields that sit flush against a clipping or scrolling parent draw the same line inset, as DESIGN
   asks for controls inside clipping containers (otherwise the parent cuts the ring on that side). */
:where(body:not(.soc-auth-shell-active)) :where(tr, .soc-analytics-v2-site-row, .soc-profile-kpi-card, #noticesSearchInput):focus-visible {
  outline-offset: -2px !important;
}

/* ======================= R4 repair (2026-10-25, capture D1–D16 of the R3 final wave) ======================= */
/* D1: a hidden settings/reminder panel must leave the layout at every width. The Settings-Final grid rule above
   (display: grid !important) outranked the hidden rule below 768, so two 808px invisible panels pushed 공지사항 /
   설정 / Apple 주간보고 below the first screen. */
html body .sx-settings-a.sx-settings-a:is([hidden], .hidden) { display: none !important; }

/* D10: 직원 점수 filters stack on phones; the builder track no longer grows to the filter row's min-content width. */
@media (max-width: 767px) {
  html body #employeeScorePanel.sx-score-on .soc-employee-score-builder { grid-template-columns: minmax(0, 1fr) !important; }
  html body #employeeScorePanel.sx-score-on .soc-employee-score-filter-bar { flex-direction: column !important; align-items: stretch !important; min-width: 0 !important; }
  html body #employeeScorePanel.sx-score-on .soc-employee-score-controls { flex-wrap: wrap !important; align-items: stretch !important; min-width: 0 !important; }
  html body #employeeScorePanel.sx-score-on .soc-employee-score-controls > * { flex: 1 1 100% !important; min-width: 0 !important; }
  html body #employeeScorePanel.sx-score-on .soc-employee-score-controls select,
  html body #employeeScorePanel.sx-score-on .soc-employee-score-controls .is-role select { width: 100% !important; }
  html body #employeeScorePanel.sx-score-on .soc-employee-score-filter-bar .sx-score-formula { white-space: normal !important; word-break: keep-all !important; text-align: left !important; margin-left: 0 !important; }
}

/* D8: the onboarding switches keep the shared 44 x 24 track on phones (the mobile 44px control min-height made them
   round; its 10px mobile input padding also set the height). The whole row stays the touch target. */
html body #notificationOnboardingModal .soc-switch-input.soc-switch-input { width: 44px !important; min-width: 44px !important; height: 24px !important; min-height: 0 !important; max-height: 24px !important; padding: 0 !important; flex: 0 0 44px !important; }

/* D9: 「처음부터 다시」 wraps only between words. */
html body #w4RestartBtn, html body #reportFlowBackBtn { word-break: keep-all !important; overflow-wrap: normal !important; flex-shrink: 0; }

/* D13: dark topbar search — one field surface; the input sits transparent on it on every page. */
html[data-theme="dark"] body:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar #topbarGlobalSearchBtn#topbarGlobalSearchBtn,
body.dark:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar #topbarGlobalSearchBtn#topbarGlobalSearchBtn { background: var(--soc-control-bg, #0f1828) !important; }
html[data-theme="dark"] body:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar #topbarGlobalSearchInput#topbarGlobalSearchInput,
body.dark:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar #topbarGlobalSearchInput#topbarGlobalSearchInput { background: transparent !important; }

/* D14: Home 오늘 지점 상태 요약 / 지원근무자 현황 cells wrap (Korean words kept whole) instead of hiding text without
   a disclosure. 실시간 운영 현황 keeps its one-line titles; each row opens its full detail. Six IDs outrank the
   board's #homeView x 5 nowrap rule. */
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-table-card:not(.sentrix-home-operation-card):not(.sentrix-home-site-card) .sentrix-home-table :is(th, td),
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-table-card:not(.sentrix-home-operation-card):not(.sentrix-home-site-card) .sentrix-home-table td .sentrix-home-site-name {
  white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: keep-all !important; overflow-wrap: anywhere !important;
}
/* HS-01·HS-02 (Home-Final colgroup): 오늘 지점 상태 요약 rows stay one 40px line — 지점 auto (long names end in an
   ellipsis, the cell title carries the full name) / 상태 84 / 사건 60 / 티켓 60 / 업데이트 84, numbers right-aligned. */
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td),
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table td .sentrix-home-site-name {
  white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; word-break: normal !important; overflow-wrap: normal !important;
}
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table td .sentrix-home-site-name { display: block !important; max-width: 100% !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table tbody td { height: 40px !important; vertical-align: middle !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):nth-child(2) { width: 84px !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):is(:nth-child(3), :nth-child(4)) { width: 60px !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):nth-child(5) { width: 84px !important; }
/* 11-01 webux: 상태 · 사건 · 티켓 · 업데이트 centre the header and the value on the same axis (they were right-aligned
   under left headers); the last column keeps 24px from the card edge. */
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):nth-child(n+2) { text-align: center !important; font-variant-numeric: tabular-nums !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):nth-child(5) { padding-right: 24px !important; }
/* SXV-1 (2026-10-31): in the 1366 three-card row the card is ~346px and the fixed columns left the site name 32px
   (「데…」, the full name only in the title). The site name now wraps between words (a long word may break) so the
   whole name is on screen; the row grows past 40px only for long names. Where the table is narrower than 480px the
   number columns take their content width (상태 72 / 사건·티켓 44 / 업데이트 74) and give the rest to 지점 (below 480px
   the A7-1 auto layout sizes them, so they shrink to their content there). */
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table td:first-child:not(#sxv),
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table td .sentrix-home-site-name:not(#sxv) {
  white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: keep-all !important; overflow-wrap: anywhere !important;
}
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table tbody td:not(#sxv) { height: 40px !important; padding-top: 8px !important; padding-bottom: 8px !important; line-height: 1.35 !important; }
html body #homeView .sentrix-home-site-card .sentrix-home-table-scroll { container-type: inline-size; }
@media (min-width: 480px) { @container (max-width: 479.98px) {
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):nth-child(2):not(#sxv) { width: 72px !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):is(:nth-child(3), :nth-child(4)):not(#sxv) { width: 44px !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):nth-child(5):not(#sxv) { width: 74px !important; }
} }
@media (max-width: 479.98px) {
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-site-card .sentrix-home-table :is(th, td):nth-child(n+2):not(#sxv) { width: 1px !important; }
}

/* D16: notices search placeholder at the board's quiet text (#6b7280 on white = 4.8:1). */
html body #noticesWorkspace #noticesSearchInput::placeholder { color: var(--sxr-sub) !important; opacity: 1 !important; }

/* D15: short viewports (200% zoom of 1366 x 768 = 683 x 384): the phone topbar stays one 56px row instead of two
   (113px), so with the 56px bottom tab bar the page keeps 272 of 384px. */
@media (max-width: 767px) and (max-height: 480px) {
  html body:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar.topbar { --soc-topbar-height: 56px !important; flex-wrap: nowrap !important; min-height: 56px !important; height: 56px !important; max-height: 56px !important; padding: 6px 10px !important; }
  html body #appShellTopbar#appShellTopbar > .topbar-left { flex: 0 1 auto !important; height: 44px !important; min-width: 0 !important; }
  html body #appShellTopbar#appShellTopbar > .topbar-right { flex: 1 1 auto !important; width: auto !important; }
  html body #appShellTopbar#appShellTopbar #topbarGlobalSearchPanel { top: 64px !important; max-height: calc(100dvh - 88px) !important; }
}

/* HS-19: 계정 메뉴 = a 300px popover under the account button (was a full-height 352px drawer over a dimmed page).
   No title row; the two actions are 40px menu rows; outside click / Esc close it; the ring is :focus-visible only (E8). */
html body #topbarDrawerBackdrop.soc-drawer-backdrop.is-clear { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover {
  top: calc(var(--soc-safe-top, 0px) + 58px) !important; right: 12px !important; bottom: auto !important; left: auto !important;
  width: 300px !important; max-width: calc(100vw - 24px) !important; height: auto !important; max-height: calc(100dvh - 80px) !important;
  display: block !important; transform: none !important; overflow: hidden auto !important;
  border: 1px solid var(--sxr-line) !important; border-radius: 12px !important; background: var(--sxr-card) !important;
  box-shadow: 0 12px 32px rgba(17, 24, 39, 0.14), 0 2px 6px rgba(17, 24, 39, 0.06) !important;
}
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover.hidden { display: none !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-drawer-head { display: none !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-drawer-body { display: flex !important; flex-direction: column !important; gap: 0 !important; height: auto !important; padding: 6px !important; overflow: visible !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-card { display: flex !important; align-items: center !important; gap: 12px !important; margin: 0 !important; padding: 10px 10px 12px !important; border: 0 !important; border-bottom: 1px solid var(--sxr-line) !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-drawer-avatar { flex: 0 0 40px !important; width: 40px !important; height: 40px !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-card strong { color: var(--sxr-ink) !important; font-size: 14px !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-card .meta { margin: 2px 0 0 !important; color: var(--sxr-sub) !important; font-size: 12px !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-actions { display: flex !important; flex-direction: column !important; gap: 0 !important; margin: 0 !important; padding: 6px 0 0 !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-actions .ds-btn {
  justify-content: flex-start !important; width: 100% !important; height: 40px !important; min-height: 40px !important; padding: 0 10px !important;
  border: 0 !important; border-radius: 8px !important; background: transparent !important; box-shadow: none !important;
  color: var(--sxr-ink) !important; -webkit-text-fill-color: currentColor !important; font-size: 14px !important; font-weight: 600 !important; text-align: left !important;
}
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-actions .ds-btn:is(:hover, :focus) { background: var(--sxr-chip) !important; } /* focused row reads as the current menu row */
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-actions .ds-btn:not(:focus-visible) { outline: none !important; }
html body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-actions .ds-btn:focus-visible { outline: 2px solid var(--ui-focus-color, #111827) !important; outline-offset: -2px !important; }
html[data-theme="dark"] body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover, html body.dark #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover { box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45) !important; border-color: var(--sxr-line-strong) !important; }
html[data-theme="dark"] body #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-drawer-avatar, html body.dark #topbarProfileDrawer#topbarProfileDrawer.topbar-account-popover .topbar-profile-drawer-avatar { background: #16213a !important; color: var(--sxr-ink) !important; border-color: var(--sxr-line-strong) !important; }

/* D3 (USER-DECISIONS 13): the approved Home-Final shell supersedes the 69215c8 chrome — brand cell on the sidebar
   column, 「⌂ 홈 | 대시보드」 breadcrumb, 52 x 28 toggle without icons, board sidebar glyphs (ui.js). */
:root { --sxr-shell-line: #e5e7eb; } /* E7 */
html[data-theme="dark"], body.dark { --sxr-shell-line: #23324e; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarBreadcrumb:not(.hidden):not([hidden]) { display: flex !important; align-items: center !important; gap: 10px !important; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarBreadcrumb .topbar-breadcrumb-link { color: var(--sxr-ink) !important; -webkit-text-fill-color: currentColor !important; background: none !important; font-weight: 500 !important; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarBreadcrumb .topbar-breadcrumb-link.is-active { color: var(--sxr-accent-ink) !important; font-weight: 700 !important; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarBreadcrumb .topbar-breadcrumb-home-link { display: inline-flex !important; align-items: center !important; gap: 10px !important; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarBreadcrumb .topbar-breadcrumb-home-glyph { width: 18px; height: 18px; flex: 0 0 18px; color: var(--sxr-accent); }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarBreadcrumb .topbar-breadcrumb-divider { color: var(--sxr-line-strong) !important; font-weight: 400 !important; }
@media (min-width: 768px) {
  html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarBreadcrumb :is(.topbar-breadcrumb-link, .topbar-breadcrumb-divider) { font-size: 15px !important; line-height: 20px !important; }
  html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarCurrentTitle { font-size: 17px !important; line-height: 22px !important; font-weight: 700 !important; color: var(--sxr-ink) !important; }
}
/* toggle: 52 x 28 track, 22px thumb 3px inside, no sun/moon artwork (board); the button keeps the 40 / 44px hit height */
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarThemeToggleBtn { width: 52px !important; min-width: 52px !important; max-width: 52px !important; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarThemeToggleBtn .topbar-theme-track { width: 52px !important; height: 28px !important; border-radius: 14px !important; border-width: 0 !important; background: #ff6b00 !important; background-image: none !important; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarThemeToggleBtn .topbar-theme-thumb { width: 22px !important; height: 22px !important; left: 3px !important; transform: translateY(-50%) !important; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarThemeToggleBtn[data-theme="dark"] .topbar-theme-thumb { transform: translate(24px, -50%) !important; }
html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarThemeToggleBtn .topbar-theme-icon { display: none !important; }
@media (min-width: 1024px) {
  /* brand cell = the 214px sidebar column with the sidebar line; wordmark 17px tall (128px wide, 7.52:1 kept) at the board's 20px inset */
  html body:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar#appShellTopbar.topbar { padding-left: 0 !important; }
  html body.soc-desktop-shell:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar#appShellTopbar > .topbar-left,
  html body:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar#appShellTopbar > .topbar-left { padding-left: 0 !important; margin-left: 0 !important; gap: 24px !important; align-self: stretch !important; align-items: center !important; }
  html body #appShellTopbar#appShellTopbar#appShellTopbar .topbar-brand-heading { display: flex !important; align-items: center !important; flex: 0 0 214px !important; width: 214px !important; max-width: 214px !important; height: 64px !important; min-height: 64px !important; max-height: 64px !important; padding: 0 0 0 20px !important; box-sizing: border-box !important; border-right: 1px solid var(--sxr-shell-line) !important; }
  html body #appShellTopbar#appShellTopbar#appShellTopbar .topbar-brand-link { display: inline-flex !important; align-items: center !important; width: auto !important; max-width: 100% !important; height: 44px !important; }
  html body #appShellTopbar#appShellTopbar#appShellTopbar .topbar-brand-wordmark { width: auto !important; height: 17px !important; max-height: 17px !important; }
  /* UIHFS (2026-10-31): one divider = this border-right, continuous with the sidebar line at x 213 (the older inset 12px ::after
     drew a second, shorter line 1px left of it); the 17px wordmark is vertically centred in its 25px link instead of top-pinned */
  html body #appShellTopbar#appShellTopbar#appShellTopbar .topbar-brand-heading::after { content: none !important; display: none !important; }
  html body #appShellTopbar#appShellTopbar#appShellTopbar .topbar-brand-wordmark { top: 0 !important; bottom: 0 !important; margin-top: auto !important; margin-bottom: auto !important; }
  /* page title / breadcrumb start 24px after the brand cell, as on the board (the old 40px / 24px left margins assumed the 160px logo) */
  html body:not(.soc-auth-shell-active) #appShellTopbar#appShellTopbar#appShellTopbar :is(#topbarBreadcrumb, #topbarCurrentTitle) { margin-left: 0 !important; }
  html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarProfileName { font-size: 12px !important; line-height: 15px !important; font-weight: 700 !important; }
  html body #appShellTopbar#appShellTopbar#appShellTopbar #topbarProfileRole { font-size: 12px !important; line-height: 15px !important; }
  html body #appShellTopbar#appShellTopbar#appShellTopbar .topbar-admin-profile-copy { text-align: right !important; gap: 0 !important; }
}
/* sidebar / menu glyphs: the board set (20px on the 24 grid, 1.8 stroke, currentColor) in the existing 22px slot.
   The M27 22px rule carries seven IDs (:not(#r61m27) x 6), so this one carries eight. */
html body #menuSheetPanel :is(.soc-menu-sub-item-icon, .soc-menu-group-icon) svg[data-sx-board-glyph]:not(#r4bg):not(#r4bg):not(#r4bg):not(#r4bg):not(#r4bg):not(#r4bg):not(#r4bg) { width: 20px !important; height: 20px !important; stroke: currentColor !important; fill: none !important; stroke-width: 1.8 !important; }
html body #menuSheetPanel :is(.soc-menu-sub-item-icon, .soc-menu-group-icon) svg[data-sx-board-glyph] :is(path, circle, rect, line, polyline, polygon):not(#r4bg):not(#r4bg):not(#r4bg):not(#r4bg):not(#r4bg):not(#r4bg):not(#r4bg) { stroke-width: 1.8 !important; vector-effect: none !important; }

/* ======================= R5 repair (2026-10-25, capture N1–N4, D2@320, D4 rest, D7 of the R4 final wave) ======================= */
/* N1 / D4: while the closed 도우미 pill is shown on the desktop shell, the page scroller ends above a 72px bottom band and the
   pill sits in that band (support-chatbot.js centres it there). No page content, list footer, page-size select or
   Home row can lie under the pill at rest or while scrolling; it still steps left of the open notification drawer.
   One ID in :has() outranks the screen-fit height rules (1,5,2) on 티켓 / 상황실. */
:root { --sxa-shell-reserve: 72px; }
/* Desktop shell only (1024px and up). At 768–1023 the compact 티켓 layout has no height to give away (a band collapsed
   the 티켓 list to 0px at 1000 x 768); there the closed pill becomes a 44px icon button docked in a 64px slot that the
   fixed bottom tab bar reserves at its right end, so it never overlays page content either. It stacks above the tab bar
   and below the notification drawer (z 400), which covers the slot while open. The accessible name stays on the button. */
@media (min-width: 1024px) {
  html body.soc-support-chatbot-on:not(.soc-auth-shell-active):has(#supportChatbotLauncher:not(.hidden)) .soc-app-shell > main.container.ds-page.admin-layout {
    height: calc(100% - var(--sxa-shell-reserve)) !important; min-height: 0 !important; max-height: calc(100% - var(--sxa-shell-reserve)) !important;
  }
  /* SX-M7 (P-PROD40 관찰, 8ⓐ): the band under the page body is the app shell itself, white in the light theme, so every
     screen showed a 72px white strip below its grey canvas (상황실 1366: main 64–828, shell #fff 828–900). The band takes
     the page canvas; the top bar and the sidebar keep their own white. Dark: already the same colour. */
  html body.soc-support-chatbot-on:not(.soc-auth-shell-active):has(#supportChatbotLauncher:not(.hidden)) .soc-app-shell { background-color: var(--sxr-canvas) !important; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  html body.soc-support-chatbot-on:not(.soc-auth-shell-active):has(#supportChatbotLauncher:not(.hidden)) #bottomTabNav#bottomTabNav { padding-right: 64px !important; }
  html body #supportChatbotLauncher#supportChatbotLauncher.soc-support-chatbot-launcher { width: 44px !important; min-width: 44px !important; height: 44px !important; padding: 0 !important; gap: 0; justify-content: center; z-index: 130 !important; }
  html body #supportChatbotLauncher#supportChatbotLauncher .sxa-launch-label { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* N2: Apple 주간보고 cover on phones — one column: eyebrow, title and description use the full width (Korean words kept
   whole), the D-day / n/m figure stacks under them left-aligned, and the 「매주 월요일 09:00 마감」 / 마감 설정 toolbar
   leaves its absolute desktop slot (it sat on the 링크 등록 / 예외 요청 tab labels) and wraps in the flow above the hero. */
@media (max-width: 767px) {
  html body .sx-aw-cover.sx-aw-cover .sx-aw-toolbar { position: static !important; top: auto; right: auto; flex-wrap: wrap; justify-content: space-between; row-gap: 8px; word-break: keep-all; }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-deadline-pop { left: 0; right: auto; width: min(320px, 100%); }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-hero.sx-aw-hero { grid-template-columns: minmax(0, 1fr) !important; grid-template-rows: auto; gap: 20px 0 !important; min-height: 0; padding: 28px 20px 24px !important; }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-hero-copy { align-self: start; min-width: 0; word-break: keep-all; overflow-wrap: break-word; }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-big { align-self: start; justify-self: start; align-items: flex-start; }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-big strong { font-size: 56px; }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-rail { margin-top: 4px; padding-top: 20px; }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-steps { flex-direction: column; align-items: stretch; gap: 12px; }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-steps li:not(:last-child)::after { display: none; }
  html body .sx-aw-cover.sx-aw-cover .sx-aw-actions { flex-wrap: wrap; }
}

/* D2 at 320: two 132px columns left the 지원근무자 KPI labels 21px wide (one character per line); at 360px and
   below the six cards take one column each. */
@media (max-width: 360px) { html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary { grid-template-columns: minmax(0, 1fr) !important; } }

/* N3: 공지사항 on phones — the workspace column no longer grows to the toolbar's one-line width (499px), so the search
   field (x 268–496 at 402) comes back on screen; the category tabs keep their own horizontal scroll and the search
   field takes the full row under them. */
@media (max-width: 767px) {
  html body #announcementPanel#announcementPanel, html body #announcementPanel #noticesWorkspace#noticesWorkspace { grid-template-columns: minmax(0, 1fr) !important; min-width: 0 !important; }
  html body #noticesWorkspace#noticesWorkspace .notices-toolbar-row { min-width: 0 !important; }
  html body #noticesWorkspace#noticesWorkspace #noticesCategoryTabs { max-width: 100% !important; }
  /* the phone toolbar row is a column, so the field takes the row width rather than a flex basis */
  html body #noticesWorkspace#noticesWorkspace .notices-search-form.notices-search-form { flex: 0 0 auto !important; width: 100% !important; max-width: 100% !important; margin-left: 0 !important; align-self: stretch !important; }
}

/* N4: 설정 tabs on phones wrap between whole tabs; a label never breaks inside a word or gets clipped. */
@media (max-width: 767px) {
  html body .sx-settings-a .sx-settings-nav.sx-settings-tabs { flex-wrap: wrap !important; column-gap: 18px !important; row-gap: 0 !important; }
  html body .sx-settings-a .sx-settings-tabs .sx-settings-nav-item { flex: 0 0 auto !important; white-space: nowrap !important; }
}

/* ======================= R6 repair (2026-10-25, capture N8–N13 and N3' of the R5 final wave) ======================= */
/* Below 1024px the bottom tab bar (#bottomTabNav, 56px, fixed) covers the end of the page scroller. One reserve
   (bar + safe area) keeps scrolled-to content, focus and the report wizard bar above it. */
@media (max-width: 1023.98px) {
  :root { --sx-r6-tabbar-reserve: calc(56px + env(safe-area-inset-bottom, 0px)); }
  /* N9: Tab / focus scrolling treats the band under the tab bar as outside the scrollport (WCAG 2.4.11). */
  html body:not(.soc-auth-shell-active) .soc-app-shell > main.container.admin-layout { scroll-padding-bottom: calc(var(--sx-r6-tabbar-reserve) + 12px) !important; }
  /* N12: 보고하기 steps 1–3 rest their sticky 이전 / 다음 bar (.w4-wizard-nav, bottom:0) on the bottom edge of the
     scroller (main padding 0, kept). Below 1024 that edge lies under the tab bar, so the bar sticks the reserve higher
     and the step view's minimum height leaves the reserve out. With the scroller padding at 0 the offset holds whether
     or not an engine insets the sticky edge by the scroller's padding. */
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView:is([data-w4-step="1"], [data-w4-step="2"], [data-w4-step="3"]):not(#r6tb) { min-height: calc(100dvh - 64px - 24px - var(--sx-r6-tabbar-reserve)); }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-wizard-nav:not(#r6tb) { bottom: var(--sx-r6-tabbar-reserve) !important; }
}

/* r3j12 (vqa-final-A D3, 761–1023): the developer 조회 스코프 chip kept its desktop spot (bottom 24) and sat on the bottom
   tab bar and the 도우미 docked in it. As at 760 and below (components.css), it rests above the bar. */
@media (min-width: 761px) and (max-width: 1023.98px) {
  html body #myProfileScopeShell#myProfileScopeShell.soc-global-scope-overlay { right: 16px !important; bottom: calc(var(--sx-r6-tabbar-reserve) + 14px) !important; }
}
/* Below 1024 the chip (56px, 14px above the tab bar) also rests over the end of the page: while it shows, the page
   scroller reserves its height too, so the last control (상황실 detail 전송) scrolls clear of it. */
@media (max-width: 1023.98px) {
  html body:not(.soc-auth-shell-active):has(#myProfileScopeShell:not(.hidden)) .soc-app-shell > main.container.admin-layout:not(#r6tb):not(#r3j12) { padding-bottom: calc(var(--sx-r6-tabbar-reserve) + 86px) !important; scroll-padding-bottom: calc(var(--sx-r6-tabbar-reserve) + 86px) !important; } /* r3j12b (VQA R2-D2, 683 = 1366 at 200 %): focusing 코멘트 / bringing 전송 into view stopped at the tab-bar line, under the chip */
}
/* r3j12 (VQA-FINAL B advisory): after a mouse click advances the wizard, the card now under the resting pointer shows no hover
   border until the pointer moves (app.js is-w4-hover-stale); picked and candidate cards keep theirs. */
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView #reportFlowStart.is-w4-hover-stale .report-choice-card:hover:not(.active):not(.is-w4-candidate) { border-color: var(--w4-line); }

/* N12 at 1024 and up: the R5 band ends the page scroller 72px above the window while the 도우미 pill shows, but the
   step view still asked for the full window height, so at rest the bar sat in the clipped band (1024 x 768) and only
   came back after scrolling. The step view leaves the band out. */
@media (min-width: 1024px) {
  html body.soc-support-chatbot-on:not(.soc-auth-shell-active):has(#supportChatbotLauncher:not(.hidden)) #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView:is([data-w4-step="1"], [data-w4-step="2"], [data-w4-step="3"]):not(#r6tb) { min-height: calc(100dvh - 64px - 24px - var(--sxa-shell-reserve)); }
}

/* N12 at 620–1199: the shared panel rule clips the x axis with overflow-x:hidden, which turns #reportPanel into a scroll
   container (overflow-y computes to auto), so the sticky bar measured its edge from the panel, not the page scroller;
   at 1024 the panel ran into the clipped R5 band. clip keeps the x axis clipped without a scroll container. */
@media (min-width: 620px) and (max-width: 1199.98px) {
  html body:not(.soc-auth-shell-active) main.container.admin-layout > #reportPanel#reportPanel.admin-tab-content:not(#r6tb):not(#r6tb) { overflow-x: hidden !important; overflow-x: clip !important; overflow-y: visible !important; }
}

/* N11: 티켓 at 768–1023. The inline 620–1023 block sized #ticketReferenceFilterBar for a 2-column, 3-row layout
   (rows of 60px, min-height 246px), but the redesign puts all six fields in one row, so two empty rows (~148px of
   blank space) pushed the list card down to 110px and #ticketList to 2px. The bar takes its one row, the fields may
   shrink at 768, and the main padding drops the 104px floating-pill clearance that the R5 tab-bar dock made unneeded,
   so the list card (and an open detail panel beside it) gets the remaining height above the tab bar. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  html body.soc-desktop-adaptive:not(.soc-auth-shell-active) #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar#ticketReferenceFilterBar.soc-ticket-reference-filterbar {
    grid-template-columns: minmax(150px, 1.5fr) repeat(5, minmax(0, 1fr)) !important; grid-template-rows: auto !important; grid-auto-rows: auto !important;
    min-height: 0 !important; min-block-size: 0 !important;
  }
  html body.soc-desktop-adaptive.soc-support-chatbot-on:not(.soc-auth-shell-active) .soc-app-shell > main.container.admin-layout:not(#r6tb) { padding-bottom: calc(var(--sx-r6-tabbar-reserve) + 16px) !important; }
  /* The same inline block reserves three empty rows (min-height 246px) on the 상황실 filter card. Here its six fields
     share one row that may shrink, and 「할 일 남은 사건만」 takes the second row (at 768 the one-row layout cut the ECI
     select and the toggle at the card edge), as at 1024–1279 (N8). */
  html body.soc-desktop-adaptive:not(.soc-auth-shell-active) #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card.soc-situation-filter-card { grid-template-columns: minmax(140px, 1.5fr) repeat(5, minmax(0, 1fr)) !important; grid-template-rows: auto !important; grid-auto-rows: auto !important; min-height: 0 !important; min-block-size: 0 !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card #situationTodoOnlyWrap.sxr-todo-only { grid-column: 1 / -1; grid-row: 2; justify-self: start; align-self: start; }
  /* Rows keep their own height (as from 1024px up, align-content:start). Stretched rows fed the 화면 맞춤 count its
     own box height (one 180px row → 「1개씩 보기」, which then never grew back). */
  html body #ticketsView#ticketsView#ticketsView .soc-ticket-reference-list-card > #ticketList#ticketList { align-content: start !important; }
  /* The compact 760px table minimum sat on the list box itself, so at 768 the 제출 시간 column was cut by the card and
     could not be scrolled to. The list stays inside its card; without an open detail panel the title column takes up
     the difference, and beside an open panel the rows keep 760px and scroll inside the list, as from 1024px up. */
  html body #ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-list-card > #ticketList#ticketList { min-width: 0 !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-main:not(:has(#ticketCommentPanel:not(.hidden):not([hidden]):not(.is-ticket-collapsed):not(.is-empty-selection))) :is(.soc-ticket-reference-table-header, .soc-ticket-reference-row) { min-width: 0 !important; }
}

/* N13: the 티켓 / 상황실 search magnifier is a stroke icon; the fill:none / stroke rules only existed from 1024px up,
   so below that the circle filled solid black. */
@media (max-width: 1023.98px) {
  html body :is(#alertsView .soc-situation-search-icon, #ticketsView .soc-ticket-reference-search > span) svg[data-shared-icon="search"] { fill: none !important; stroke: currentColor !important; stroke-width: 2 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
}

/* N8: 상황실 filter row at 1024–1279 — the 할 일 남은 사건만 toggle got a 40px auto column and was cut at the right edge
   inside a 3px vertical scroller. It moves to the second row the inline 1024–1450 block already reserves, and the
   controls block no longer scrolls on its own. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  /* ALERT-11 (AL-02): 「할 일 남은 사건만」은 둘째 줄 대신 필터 줄 오른쪽 끝(필터 카드 한 줄) — 목록 화면 맞춤 행이 늘어난다 */
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card.soc-situation-filter-card { grid-template-columns: minmax(124px, 1.4fr) repeat(5, minmax(72px, 1fr)) max-content !important; column-gap: 8px !important; height: auto !important; min-height: 0 !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card #situationTodoOnlyWrap.sxr-todo-only { grid-column: 7 / 8; grid-row: 1; justify-self: end; align-self: end; padding: 0 10px; gap: 6px; font-size: 12px; }
  html body:not(.soc-auth-shell-active) #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-reference-controls.soc-situation-reference-controls { overflow: visible !important; max-height: none !important; }
  /* D9 (AL-01): 상세가 열려도 목록은 전체 폭 — 상세는 오른쪽 덮개 서랍(440, 그림자, 도우미 버튼 위) */
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-main-grid:not(.is-detail-collapsed) { grid-template-columns: minmax(0, 1fr) !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #opsCommentPanel.sxr-detail-panel:not(.hidden):not(.is-situation-collapsed) { position: fixed !important; top: 76px !important; right: 12px !important; bottom: 12px !important; left: auto !important; width: 440px !important; max-width: calc(100vw - 32px) !important; height: auto !important; max-height: none !important; z-index: 2147482000 !important; box-shadow: 0 18px 48px rgba(17, 24, 39, 0.22), 0 2px 8px rgba(17, 24, 39, 0.1) !important; }
  html[data-theme="dark"] body #alertsView#alertsView#alertsView#alertsView#alertsView #opsCommentPanel.sxr-detail-panel:not(.hidden):not(.is-situation-collapsed) { box-shadow: 0 18px 48px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--sxr-line-strong) !important; }
  /* TK-05: 상태 칸 최소 124px('승인 대기' 잘림 0), 검색 1.2fr */
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar.soc-ticket-reference-filterbar { grid-template-columns: minmax(140px, 1.2fr) minmax(96px, 1fr) minmax(96px, 1fr) minmax(96px, 1fr) minmax(124px, 1fr) minmax(96px, 1fr) !important; }
  /* D9 (TK-07): 티켓 상세도 덮개 서랍 — 목록은 한 칸 전체, 상세는 목록 위 오른쪽(폭 440), 안에서 스크롤 */
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-tickets-two-col-shell { grid-template-columns: minmax(0, 1fr) !important; position: relative !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-tickets-two-col-shell > .soc-ticket-reference-list-card { grid-column: 1 / -1 !important; grid-row: 1 !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-tickets-two-col-shell > #ticketCommentPanel:not(.is-ticket-collapsed) { grid-column: 1 / -1 !important; grid-row: 1 / -1 !important; position: absolute !important; top: 0 !important; right: 0 !important; bottom: 0 !important; left: auto !important; min-width: 0 !important; width: min(440px, calc(100% - 24px)) !important; max-width: none !important; height: auto !important; z-index: 40 !important; margin: 0 !important; box-shadow: -16px 0 40px rgba(17, 24, 39, 0.18), 0 0 0 1px var(--sxr-line) !important; }
  html[data-theme="dark"] body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-tickets-two-col-shell > #ticketCommentPanel:not(.is-ticket-collapsed) { box-shadow: -16px 0 40px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--sxr-line-strong) !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-main :is(.soc-ticket-reference-table-header, .soc-ticket-reference-row) { min-width: 0 !important; }
}
/* TK-06: 티켓 목록 하단 한 줄(전체 · 페이저 · 쪽수 선택, 위아래 4px) — 768–1279에서 화면 맞춤 행이 늘어난다 */
@media (min-width: 768px) and (max-width: 1279.98px) {
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-list-footer.sx-list-footer:not(.hidden) { grid-template-columns: auto minmax(0, 1fr) auto !important; grid-template-areas: "total pages size" !important; align-items: center !important; row-gap: 0 !important; padding-top: 4px !important; padding-bottom: 4px !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-list-footer .soc-ticket-reference-pagination { justify-self: center !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-list-footer .soc-ticket-reference-page-size { width: 188px !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-reference-list-footer .soc-ticket-reference-page-size select { width: 100% !important; }
}

/* N10: the topbar's empty middle column (240px minimum) left the page title 97px at 1024 (「Apple 주간보…」); below
   1280 it collapses so the title gets its 260px; app.js also mirrors the title into a title attribute. */
@media (min-width: 1024px) and (max-width: 1279.98px) {
  html body:not(.soc-auth-shell-active) .soc-app-shell > header#appShellTopbar#appShellTopbar.topbar:not(#r6tb) { grid-template-columns: minmax(300px, 1fr) 0 auto !important; }
}

/* N3': 공지 search on phones — the 44px tap-height input sat in a 38px rounded form, so its square box showed above and
   below the border, and the input wrap's own 1px underline (the desktop expanding-search style) drew a second line
   inside it. The form takes the 44px height, the input fills the inside of the border, the wrap has no underline. */
@media (max-width: 767px) {
  html body #noticesWorkspace#noticesWorkspace .notices-search-form.notices-search-form { height: auto !important; min-height: 44px !important; overflow: hidden !important; }
  html body #noticesWorkspace#noticesWorkspace .notices-search-form .notices-search-input-wrap { height: auto !important; align-self: stretch !important; display: flex !important; align-items: center !important; border-bottom: 0 !important; }
  html body #noticesWorkspace#noticesWorkspace .notices-search-form #noticesSearchInput { height: 42px !important; min-height: 42px !important; background: transparent !important; }
}

/* ======================= R7 repair (2026-10-25, visual-QA A/B of the R6 final wave) ======================= */
/* B-1: 홈 「실시간 운영 현황」 — the 76px status column (board) left 60px inside the cell padding for the 61px
   「● 승인 대기」 dot status, so the cell ellipsized every 4-character status. The column takes the status's width. */
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table :is(th, td):nth-child(4):not(#r7) { width: 88px; }
html body #homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table td:nth-child(4):not(#r7) { text-overflow: clip !important; }

/* B-2: 지원근무자 현황 date box — the toolbar rule drew a bordered 36px box on the wrapper span as well as on the
   month button inside it (two outlines, 13px apart). The button is the one control; the wrapper only positions
   the picker. */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-month-box:not(#r7) { height: auto !important; min-height: 0 !important; padding: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-month-label:hover:not(#r7) { border-color: var(--sxr-line-strong) !important; }

/* B-4 / A-F1: 보고하기 step 4 (티켓 접수 and the report composers) at 768–1023. The sticky footer (선택 다시하기 /
   다음 / 등록, bottom: 0) rests on the page scroller's bottom edge, which there lies under the fixed tab bar (N12
   class). It sticks the R6 reserve higher, and the form keeps the same room below it so its natural place at the
   end of the scroll is above the bar and nothing stays hidden under it. */
/* ORCA r3 X4: below 768 the same bar (티켓 접수) also lay under the fixed tab bar (hit-test = tab button); the reserve now
   applies to the whole tab-bar range (< 1024), as the R6 tab-bar reserve does. */
@media (max-width: 1023.98px) {
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .report-composer-form .report-form-sticky-footer:not(#r7):not(#r7) { bottom: var(--sx-r6-tabbar-reserve) !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .report-composer-form:not(.hidden):not(#r7):not(#r7) { padding-bottom: var(--sx-r6-tabbar-reserve) !important; }
}

/* F-4: 상황실 below 768 — the desktop rule keeps the filter card sticky at bottom: 0 inside the controls block, but
   there the controls block is display: contents, so the card stuck to the page bottom and lay over the KPI cards
   (접수 / 조치중 / 종결 hidden). On phones it stays in the flow below the KPI grid. */
@media (max-width: 767.98px) {
  html body #alertsView#alertsView#alertsView .soc-situation-reference-controls > .soc-situation-filter-card:not(#r7):not(#r7) { position: static !important; }
}

/* A-B1 (768–1279 icon/count over label stack) retired by KPI-B v2: no icon, the D1a container rule gives 3 + 3 / 2 columns. */

/* A-B3: 직원 목록 KPI — the labels may break anywhere (overflow-wrap: anywhere), so at 1024 they split inside words
   (「전체 직/원」); at 320 the 129px cards left them 20px beside the 36px icon and the count, and the count overlapped
   the caption. Labels break between words; at 479px and below the card stacks like the 티켓 KPI above. */
html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-label:not(#r7) { word-break: keep-all !important; overflow-wrap: break-word !important; }
@media (max-width: 479.98px) {
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-stat:not(#r7) {
    display: grid !important; grid-template-columns: auto minmax(0, 1fr) !important; grid-template-areas: "icon value" "copy copy" !important;
    align-items: center !important; align-content: start !important; column-gap: 8px !important; row-gap: 6px !important; padding: 12px 14px !important;
  }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-icon:not(#r7) { grid-area: icon !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-copy:not(#r7) { grid-area: copy !important; justify-self: stretch !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-value:not(#r7) { grid-area: value !important; justify-self: end; margin: 0 !important; }
  html body #peopleView#peopleView#peopleView#peopleView#peopleView #peopleOverviewKpiStrip .sx-people-kpi-stat .sxr-kpi-sub:not(#r7) { white-space: normal !important; word-break: keep-all !important; }
}

/* A-B2: 직원 점수 — the filter bar is one flex row, so the controls block shrank below its four controls and the
   「ⓘ 점수 = …」 note (nowrap, margin-left: auto) was drawn over the 정렬 select (768–1024, and 1366 for 팀장).
   The row and the controls wrap: the note moves to its own line when the controls need the width, and at 768–1024
   the 정렬 control moves under the others instead of running past the card edge. */
@media (min-width: 768px) {
  html body #employeeScorePanel.sx-score-on .soc-employee-score-filter-bar:not(#r7) { flex-wrap: wrap !important; row-gap: 8px !important; }
  html body #employeeScorePanel.sx-score-on .soc-employee-score-filter-bar > .soc-employee-score-controls:not(#r7) { flex: 0 1 auto !important; max-width: 100% !important; flex-wrap: wrap !important; row-gap: 8px !important; }
}

/* A-B4 (+ the same-class F6 items): quiet / secondary text on the redesign surfaces reaches 4.5:1 with existing
   tokens. Light: on white the quiet tone is --sxr-sub #6b7280 (4.83:1; DESIGN board palette) instead of #9ca3af
   (2.54:1); on the tinted chip / nav surfaces (#f3f4f6, #f6f5f3, where #6b7280 is 4.39–4.44:1) inactive labels use
   --soc-text-soft-2 #4b5563 (≥ 6.9:1). The large orange 「0/4」 / 「D-n」 figure uses the accent ink #b64000.
   Dark keeps its values except the 공지 category tabs, the filter labels and the desktop list headers (--sxr-sub). Decorative
   graphics (dots, bars) that read --sxr-muted get the light quiet tone too. */
:root { --sxr-muted: var(--sxr-sub); }
html[data-theme="dark"], body.dark { --sxr-muted: #8190a8; }
html:not([data-theme="dark"]) body:not(.dark) .sx-settings-a .sx-settings-tabs :is(.sx-settings-nav-item:not(.is-active), .sx-settings-nav-value):not(#r7) { color: var(--soc-text-soft-2, #4b5563) !important; }
html:not([data-theme="dark"]) body:not(.dark) #announcementPanel #noticesCategoryTabs .workspace-tab:not(.active):not(#r7),
html:not([data-theme="dark"]) body:not(.dark) #noticesWorkspace .workspace-tab .workspace-tab-count:not(#r7) { color: var(--soc-text-soft-2, #4b5563) !important; }
:is(html[data-theme="dark"], body.dark) #announcementPanel #noticesCategoryTabs .workspace-tab:not(.active):not(#r7) { color: var(--sxr-sub) !important; }
html:not([data-theme="dark"]) body:not(.dark) #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-view-toggle button:not(.is-active):not(#r7),
html:not([data-theme="dark"]) body:not(.dark) #employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel#employeeScorePanel #employeeScoreRangeQuick button:not(.active):not(#r7),
html:not([data-theme="dark"]) body:not(.dark) #peopleView#peopleView#peopleView#peopleView#peopleView .sx-people-view-btn:not(.is-active):not(#r7) { color: var(--soc-text-soft-2, #4b5563) !important; }
html:not([data-theme="dark"]) body:not(.dark) .sx-aw-cover .sx-aw-big strong:not(#r7) { color: var(--sxr-accent-ink) !important; }
/* Apple 주간보고 「매주 월요일 09:00 마감」: on desktop the toolbar sits over the #f6f5f3 sub-tab bar (#6b7280 = 4.44:1). */
html:not([data-theme="dark"]) body:not(.dark) .sx-aw-cover .sx-aw-toolbar .sx-aw-deadline-label:not(#r7) { color: var(--soc-text-soft-2, #4b5563) !important; }
html body:not(.soc-auth-shell-active) :is(#alertsView, #ticketsView) :is(.soc-situation-filter-field, .soc-ticket-reference-field) > span:not(#r7):not(#r7),
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-step[data-w4-state="todo"] :is(.w4-step-copy > strong, .w4-step-num):not(#r7),
html body #peopleView .soc-directory-sort-button:not(.is-active):not(#r7),
html:not([data-theme="dark"]) body:not(.dark) .sx-empty-state .sx-empty-state-hint:not(#r7):not(#r7):not(#r7):not(#r7):not(#r7):not(#r7):not(#r7) { color: var(--sxr-sub) !important; }
/* The list headers from 768px up (2.97–3.24:1 on #fafbfc at 1366; on the compact #f4f2ef header #6b7280 is 4.33:1, so
   light uses #4b5563); the phone list header keeps its own, already 4.5:1 colour. */
@media (min-width: 768px) {
  html body:not(.soc-auth-shell-active) :is(#alertsView, #ticketsView) :is(.soc-pc-list-header, .soc-situation-table-header, .soc-ticket-reference-table-header) > span:not(#r7):not(#r7) { color: var(--sxr-sub) !important; }
  html:not([data-theme="dark"]) body:not(.soc-auth-shell-active):not(.dark) :is(#alertsView, #ticketsView) :is(.soc-pc-list-header, .soc-situation-table-header, .soc-ticket-reference-table-header) > span:not(#r7):not(#r7) { color: var(--soc-text-soft-2, #4b5563) !important; }
}

/* ======================= R8 repair (2026-10-25, visual-QA A/B of the R7 final wave) ======================= */
/* A7-1: 홈 「실시간 운영 현황」 below 768 — five fixed columns (72 + 26% + 88 + 68) left the 제목 column 36px at 402
   and 0px at 320, so the row title disappeared. On phones each row is one stacked item: the title on its own line
   at the full width (wrapping, never cut), then 구분 · 지점 · 상태 · 시간 on the second line. The row stays the
   one focusable button that opens the detail. */
@media (max-width: 767.98px) {
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table thead:not(#r8) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table tbody tr[role="button"]:not(#r8) {
    display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto auto !important; grid-template-areas: "title title title title" "kind site status time" !important;
    align-items: center !important; column-gap: 10px !important; row-gap: 4px !important; padding: 10px 18px !important; border-top: 1px solid var(--sxr-line-soft) !important;
  }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table tbody tr[role="button"]:hover:not(#r8) { background: var(--sxr-row-hover) !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table tbody tr[role="button"] > td:not(#r8) { display: block !important; width: auto !important; height: auto !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table tbody tr[role="button"] > td:nth-child(1):not(#r8) { grid-area: kind; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table tbody tr[role="button"] > td:nth-child(2):not(#r8) { grid-area: site; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: keep-all !important; overflow-wrap: anywhere !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table tbody tr[role="button"] > td:nth-child(3):not(#r8) { grid-area: title; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: keep-all !important; overflow-wrap: anywhere !important; font-weight: 600 !important; line-height: 20px !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table tbody tr[role="button"] > td:nth-child(4):not(#r8) { grid-area: status; overflow: visible !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-operation-card .sentrix-home-table tbody tr[role="button"] > td:nth-child(5):not(#r8) { grid-area: time; text-align: right !important; }

  /* B7-1: 팀장 홈 「내 지원근무 현황」 (배정 일정) below 768 — at 320 the five equal columns were 55px, so 「● 승인 대기」
     (58px) was cut inside its cell and the times broke inside the number. Each schedule is one stacked item: 일정 ·
     근무 유형 · 상태 on the first line, 지점 · 시간 on the second. (The HQ variant of this card is a count table and
     stays a table.) */
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(tbody > tr > td:nth-child(5) > .sentrix-home-pill) thead:not(#r8) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill):not(#r8) {
    display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto !important; grid-template-areas: "date type status" "site site time" !important;
    align-items: center !important; column-gap: 10px !important; row-gap: 4px !important; padding: 10px 18px !important; border-top: 1px solid var(--sxr-line-soft) !important;
  }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:not(#r8) { display: block !important; width: auto !important; height: auto !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(1):not(#r8) { grid-area: date; white-space: nowrap !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(2):not(#r8) { grid-area: type; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(3):not(#r8) { grid-area: site; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(4):not(#r8) { grid-area: time; white-space: nowrap !important; text-align: right !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(5):not(#r8) { grid-area: status; white-space: nowrap !important; text-align: right !important; }
}
/* A7-1 (same card family at 320): 「오늘 지점 상태 요약」 and the HQ 「지원근무자 현황」 count table broke times and
   headers inside words (「12:2 / 5」, 「마지 / 막 / 업데 / 이트」). At 479px and below the columns take their content
   width: headers break between words only, times and counts stay on one line, and only a long site name may break
   inside a word; a table that is still wider than the card scrolls inside its own region. */
@media (max-width: 479.98px) {
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-table-card:not(.sentrix-home-operation-card) .sentrix-home-table:not(:has(.sentrix-home-empty-row)):not(:has(tbody > tr > td:nth-child(5) > .sentrix-home-pill)):not(#r8) { table-layout: auto !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-table-card:not(.sentrix-home-operation-card) .sentrix-home-table:not(:has(tbody > tr > td:nth-child(5) > .sentrix-home-pill)) th:not(#r8) { overflow-wrap: normal !important; word-break: keep-all !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-table-card:not(.sentrix-home-operation-card) .sentrix-home-table:not(:has(tbody > tr > td:nth-child(5) > .sentrix-home-pill)) td:not(:first-child):not(#r8) { white-space: nowrap !important; overflow-wrap: normal !important; }
}

/* A7-2: 홈 status dots — the shared M20 pill consumer (components.css, 5 ids + 2 classes) sets color from
   --sx-pill-fg, and the Home dot style set that to currentColor, so every status took the cell's grey ink. The
   dot status keeps the board tones (--sxr-sx-tone: 승인 대기 / 조치중 amber, 종결 / 승인 green, 반려 red, 접수 /
   지원 불가 / 작업 취소 neutral), all ≥ 4.5:1 on the card in both themes. */
/* E2·E3 (2026-10-27): the pill text is the status ink; the dot (--sxr-sx-tone) carries the tone. */
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-pill[data-tone]:not(#r8) { --sx-pill-fg: var(--soc-status-text) !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-pill[data-tone="danger"]:not(#r8) { --sx-pill-fg: var(--soc-status-danger-text) !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-pill[data-tone="muted"]:not(#r8) { --sx-pill-fg: var(--soc-status-cancel-text) !important; }

/* A7-3: 공지 search from 768px up — the input kept the desktop 40/44px control height (min-height) and the light
   white field fill, and its wrap kept the desktop underline, so a square box stuck out of the 38px rounded field.
   As N3' below 768: the transparent input fills the inside of the rounded border and the wrap has no underline. */
@media (min-width: 768px) {
  html body #noticesWorkspace#noticesWorkspace#noticesWorkspace .notices-search-form .notices-search-input-wrap:not(#r8) { display: flex !important; align-items: center !important; align-self: stretch !important; height: auto !important; border-bottom: 0 !important; }
  html body #noticesWorkspace#noticesWorkspace#noticesWorkspace .notices-search-form #noticesSearchInput:not(#r8) { height: 34px !important; min-height: 0 !important; background: transparent !important; background-color: transparent !important; border: 0 !important; box-shadow: none !important; }
}

/* A7-4 / B7-4: 보고하기 step 4 for field roles (팀장) from 1024px up — components.css makes the composer forms
   overflow-y: auto, so the form became the sticky footer's scroll container and the footer (선택 다시하기 / 다음)
   rested at the form's end, 8px below the page scroller's edge. The closed 도우미 pill then lifted over that hidden
   footer and lay on 「자체인원 선택」. The form no longer scrolls on its own: the footer sticks to the page scroller's
   bottom edge (visible at rest, above the R5 band), so the pill stays in its band and nothing is under it. */
@media (min-width: 1024px) {
  html body.role-field #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel:not(.report-selection-active) :is(#quickIncidentForm, #incidentForm, #ticketForm):not(#r8) { overflow-y: visible !important; }
}

/* B7-2: 보고하기 step 4 header at 320 — the side column (「처음부터 다시」, one 104px line since D9) could shrink to
   78px, so the button ran left over the breadcrumb. The side column keeps the button's width; the breadcrumb wraps. */
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-head-side:not(#r8) { flex-shrink: 0 !important; }

/* B7-3: Apple 주간보고 지점별 시트 연결 / 지점별 반영 lists — a long site name was ellipsized with no way to read it.
   The name wraps (Korean words whole; a name with no break point may break inside) so the full text is shown. */
html body .sx-aw-row > strong:not(#r8) { overflow: visible !important; text-overflow: clip !important; white-space: normal !important; word-break: keep-all !important; overflow-wrap: anywhere !important; }

/* FU-1: 상황실 phone feed cards in dark — the phone card rule fixes a white (critical: pink) light fill and light-theme
   meta colours, while the dark title ink is near white, so titles, labels and values were unreadable. In dark the
   cards take the dark surface tokens (critical: the dark danger tint) with the dark text tokens. In light the meta
   labels (#98a2b3, 2.35:1 on the pink critical fill) use the quiet text token for the tinted fill. Found in the same
   cards while repairing them: the dark 대응 지침 form fill and, in both themes, the title overflow and the cut
   status chip (below). */
@media (max-width: 767.98px) {
  :is(html[data-theme="dark"] body, body.dark):not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card:not(#r8) { background: var(--sxr-card) !important; background-color: var(--sxr-card) !important; border-color: var(--sxr-line) !important; }
  :is(html[data-theme="dark"] body, body.dark):not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card.is-critical-incident:not(#r8) { background: var(--sx-status-danger-weak, #2e1a1e) !important; background-color: var(--sx-status-danger-weak, #2e1a1e) !important; }
  :is(html[data-theme="dark"] body, body.dark):not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card .m-meta-label:not(#r8) { color: var(--sxr-sub) !important; }
  :is(html[data-theme="dark"] body, body.dark):not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card .m-meta-value:not(#r8) { color: var(--sxr-ink-2) !important; }
  :is(html[data-theme="dark"] body, body.dark):not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card :is(.incident-title, .m-card-title):not(#r8) { color: var(--sxr-ink) !important; -webkit-text-fill-color: var(--sxr-ink) !important; }
  html:not([data-theme="dark"]) body:not(.soc-auth-shell-active):not(.dark) #alertsView#alertsView#alertsView .incident-card.m-feed-card .m-meta-label:not(#r8) { color: var(--soc-text-soft-2, #4b5563) !important; }
  /* The 대응 지침 form inside the card kept its light fill in dark (「대상: …」 1.97:1). */
  :is(html[data-theme="dark"] body, body.dark):not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card .m-subcard:not(#r8) { background: var(--sxr-head) !important; background-color: var(--sxr-head) !important; border-color: var(--sxr-line) !important; }
  :is(html[data-theme="dark"] body, body.dark):not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card .incident-comment-target:not(#r8) { color: var(--sxr-sub) !important; }
  /* Both themes: the card title kept the 2-line clamp height (48px) but not its clipping, so a longer title ran
     over the 유형 / 사이트 / 시각 rows. The title wraps in full and the card grows. */
  html body:not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card .incident-title:not(#r8) { display: block !important; -webkit-line-clamp: unset !important; line-clamp: none !important; height: auto !important; max-height: none !important; overflow: visible !important; word-break: keep-all !important; overflow-wrap: anywhere !important; }
  /* Both themes: the status chip (「기록됨」 / 「접수」) shrank beside the title and was ellipsized (29 of 40px at 402).
     The chip keeps its width; the title (min-width 0) wraps instead, without the 104px right padding reserved for
     head actions that here are its flex siblings, not overlaid on it. */
  html body:not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card .incident-card-head > .incident-status:not(#r8) { flex-shrink: 0 !important; max-width: none !important; overflow: visible !important; text-overflow: clip !important; white-space: nowrap !important; }
  html body:not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card .incident-card-head > .incident-title:not(#r8) { min-width: 0 !important; flex: 1 1 auto !important; padding-right: 0 !important; }
}

/* ======================= R9 repair (2026-10-25, visual-QA A/B of the R8 final wave) ======================= */
/* A8-1: 지원근무자 현황 month calendar — where the calendar is narrower than 900px (container opsrefmonth: 1366, 1024,
   768, phones) components.css gives the site label `order: 3` for its two-line flex chip. The redesign chip is a
   3-column grid, so the reordered label took the last track and the count fell into the 0px middle track, drawn
   back over the 주/야 glyph (「0/2」 read as 「에2」). Here the chip is the baseline's wrapping two-line chip again:
   glyph and count on the first line (the count wraps to its own line before it could touch the glyph or leave the
   chip), the whole site name on the last line, so the glyph and the count never share pixels and the name is not cut. */
@container opsrefmonth (width < 900px) {
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar .ops-ref-calendar-line:not(.ops-ref-week-card):not(#r9) {
    display: flex !important; flex-wrap: wrap !important; align-items: center !important; column-gap: 6px !important; row-gap: 2px !important;
  }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar .ops-ref-calendar-line:not(.ops-ref-week-card) > .ops-ref-chip-shift:not(#r9) { order: 0 !important; flex: 0 0 18px !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar .ops-ref-calendar-line:not(.ops-ref-week-card) > .ops-ref-chip-count:not(#r9) { order: 1 !important; flex: 0 0 auto !important; margin-left: auto !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-calendar .ops-ref-calendar-line:not(.ops-ref-week-card) > .ops-ref-chip-site:not(#r9) {
    order: 2 !important; flex: 1 0 100% !important; min-width: 0 !important; white-space: normal !important; word-break: keep-all !important; overflow-wrap: break-word !important; line-height: 16px !important;
    display: -webkit-box !important; -webkit-box-orient: vertical !important; -webkit-line-clamp: 2 !important; overflow: hidden !important; text-overflow: ellipsis !important; /* D8: 2줄 말줄임, 전체 이름은 title·aria·상세 */
  }
}

/* A8-2: 지원근무자 현황 KPI caption (「반려·지원 불가 n 포함」) — the caption was nowrap with the flex default
   min-width, so at 402 it could not shrink to its 62px copy column and ran under the count. It wraps between words
   inside the copy column at every width (one line wherever it already fit). */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item .sxr-kpi-copy > .sxr-kpi-sub:not(#r9) {
  min-width: 0 !important; max-width: 100% !important; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: keep-all !important; overflow-wrap: anywhere !important;
}

/* B8-1: 상황실 filter card and 티켓 filter bar at 1024–1450px — an inline index.html rule reserves two 60px rows
   (`repeat(2, minmax(60px, auto))`) for a three-column layout the redesign replaced with one six-field row, so an
   empty 60px band sat between the filters and the list. Rows are created only for content: one row, and at
   1024–1279 the second row only while 「할 일 남은 사건만」 is shown there (N8). */
@media (min-width: 1024px) and (max-width: 1450px) {
  html body:not(.soc-auth-shell-active) #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card:not(#r9),
  html body:not(.soc-auth-shell-active) #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar#ticketReferenceFilterBar.soc-ticket-reference-filterbar:not(#r9) {
    grid-template-rows: none !important; grid-auto-rows: minmax(60px, auto) !important; min-height: 0 !important; min-block-size: 0 !important;
  }
}
/* B8-1 (티켓, same band at every desktop width): components.css fixes the filter bar at `flex: 0 0 82px` from 1024px
   up, sized for its earlier fields; the redesign fields are 60px, so 22px of empty bar sat above the list (board
   Tickets-Final: the list follows the filters). The bar takes the height of its row. */
@media (min-width: 1024px) {
  html body:not(.soc-auth-shell-active) #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar#ticketReferenceFilterBar.soc-ticket-reference-filterbar:not(#r9) { flex: 0 0 auto !important; }
}

/* B8-2: 팀장 홈 「오늘 내 지점 상태」 below 1024 — the definition list is styled only by the desktop-shell rules, so
   below 1024 it fell back to the browser defaults (each value under its label, indented 40px, no dividers). It uses
   the desktop list here too, compact: label and value on one row, 44px rows with the same dividers and type. */
@media (max-width: 1023.98px) {
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-my-site .sentrix-home-definition-list:not(#r9) { display: grid !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-my-site .sentrix-home-definition-list > div:not(#r9) {
    display: grid !important; grid-template-columns: minmax(84px, 112px) minmax(0, 1fr) !important; align-items: center !important; column-gap: 12px !important; min-height: 44px !important;
    border-bottom: 1px solid var(--sentrix-home-line, var(--border, var(--sxr-line))) !important;
  }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-my-site .sentrix-home-definition-list :is(dt, dd):not(#r9) { margin: 0 !important; color: var(--soc-text) !important; font-size: 14px !important; line-height: 20px !important; font-weight: 600 !important; min-width: 0 !important; overflow-wrap: anywhere !important; word-break: keep-all !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-my-site .sentrix-home-definition-list dt:not(#r9) { color: var(--soc-text-sub) !important; }
}

/* B8-3: 팀장 홈 「내 지원근무 현황」 (배정 일정) from 768px up — the card is 347–463px wide at 768–1366, split into
   five equal fixed columns, so 「10:00~19:00」 broke inside the number and the status pill ran into the cell padding.
   Wherever the table area is narrower than 520px, each schedule is the R8 B7-1 stacked item (일정 · 근무 유형 ·
   상태, then 지점 · 시간); the row wraps between these tokens and a time or status never breaks. Wider (1920) it
   stays the table, and the time cell never breaks there either. The HQ count table is unchanged. */
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table-scroll:not(#r9) { container: sxr9support / inline-size; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(4):not(#r9) { white-space: nowrap !important; }
@container sxr9support (max-width: 519.98px) {
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(tbody > tr > td:nth-child(5) > .sentrix-home-pill) thead:not(#r9) { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0 0 0 0) !important; clip-path: inset(50%) !important; white-space: nowrap !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill):not(#r9) {
    display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto !important; grid-template-areas: "date type status" "site site time" !important;
    align-items: center !important; column-gap: 10px !important; row-gap: 4px !important; padding: 10px 18px !important; border-top: 1px solid var(--sxr-line-soft) !important;
  }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:not(#r9) { display: block !important; width: auto !important; height: auto !important; min-width: 0 !important; padding: 0 !important; border: 0 !important; text-align: left !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(1):not(#r9) { grid-area: date; white-space: nowrap !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(2):not(#r9) { grid-area: type; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(3):not(#r9) { grid-area: site; word-break: keep-all !important; overflow-wrap: anywhere !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(4):not(#r9) { grid-area: time; white-space: nowrap !important; text-align: right !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table tbody tr:has(> td:nth-child(5) > .sentrix-home-pill) > td:nth-child(5):not(#r9) { grid-area: status; white-space: nowrap !important; text-align: right !important; }
}

/* FU-1 (remainder): 상황실 phone feed cards in dark — the status chip (「접수」 / 「기록됨」) and the 「ECI n」 chip
   kept their light amber fills (#fff6e8 / #fff2e2) while the dark text lock paints their text with
   -webkit-text-fill-color #eaf0ff, so they read 1.04–1.06:1. In dark they use the dark amber tint, line and text
   tokens for both color and text fill. Light is unchanged. */
@media (max-width: 767.98px) {
  :is(html[data-theme="dark"] body, body.dark):not(.soc-auth-shell-active) #alertsView#alertsView#alertsView .incident-card.m-feed-card .m-pill:is(.m-pill--status, .m-pill--eci):not(#r9) {
    background: var(--sxr-warn-fill) !important; background-color: var(--sxr-warn-fill) !important; border-color: var(--sxr-warn-line) !important;
    color: var(--sxr-amber-strong) !important; -webkit-text-fill-color: var(--sxr-amber-strong) !important;
  }
}

/* ======================= R10 repair (2026-10-25, visual-QA A/B of the R9 final wave) ======================= */
/* R10-1 (B9-1 / A9-2): HQ 홈 「지원근무자 현황」 count table (오늘 요청), populated. D14 let every cell wrap, so a long
   site name became a 3-character column (12 lines at 1024 / 1366, one character per line at 320); the card's fixed
   grid-row height then turned the table region into a nested vertical scroller, and the five equal fixed columns put
   the nowrap 「N명 ● 모집필요」 group past the card edge (seen only by scrolling sideways). The table sizes the four
   value columns to their content, the site column takes the rest: the site name is one line with an ellipsis (the full
   name stays in the cell's `title`, in the accessible name and in 전체보기 → 지원근무자 현황), headers break between
   words, values never break, so every row is one line and nothing leaves the card at rest. Where the table area is
   narrower than 420px the cells use less padding; narrower than 300px (phones at 320) 근무 유형 and the staffing
   group may wrap between words inside their cells, so the site keeps a readable width and no column scrolls away
   (the second :not(#r10) outranks the R8 479px rule that keeps value cells on one line). */
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell):not(#r10) { table-layout: auto !important; width: 100% !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) th:not(#r10) { white-space: normal !important; word-break: keep-all !important; overflow-wrap: normal !important; vertical-align: bottom !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) :is(th, td):not(:first-child):not(#r10) { width: 1% !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) td:not(:first-child):not(#r10) { white-space: nowrap !important; word-break: normal !important; overflow-wrap: normal !important; overflow: visible !important; text-overflow: clip !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) td:first-child:not(#r10) { width: 100% !important; max-width: 0 !important; overflow: hidden !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) td:first-child .sentrix-home-site-name:not(#r10) { display: block !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; word-break: normal !important; overflow-wrap: normal !important; }
html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) .sentrix-home-staffing-cell:not(#r10) { display: inline-flex !important; flex-wrap: nowrap !important; align-items: center !important; column-gap: 6px !important; row-gap: 2px !important; white-space: nowrap !important; }
@container sxr9support (max-width: 419.98px) {
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) :is(th, td):not(#r10) { padding-left: 6px !important; padding-right: 6px !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) :is(th, td):first-child:not(#r10) { padding-left: 14px !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) :is(th, td):last-child:not(#r10) { padding-right: 14px !important; }
}
@container sxr9support (max-width: 299.98px) {
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) td:nth-child(2):not(#r10):not(#r10) { white-space: normal !important; word-break: keep-all !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) .sentrix-home-staffing-cell:not(#r10) { flex-wrap: wrap !important; }
  html body #homeView#homeView#homeView#homeView#homeView#homeView .sentrix-home-support-card .sentrix-home-table:has(.sentrix-home-staffing-cell) td:nth-child(5) .sentrix-home-pill:not(#r10) { white-space: nowrap !important; }
}

/* R10-2 (B9-3): 티켓 compact list (768–1023, 「n개씩 보기 · 화면 맞춤」). The rows are grid items of #ticketList with auto
   tracks; their height was settled before the cells wrapped, so a long site or title row kept 60px (104px at 768)
   while its wrapped text ran into the next row and under the pager. The cells are one line with an ellipsis, as from
   1024px up; the full ticket opens in the detail panel beside the list from its title (R4), so the 화면 맞춤 count and
   the 60px rows stay as they are. */
@media (min-width: 768px) and (max-width: 1023.98px) {
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketList .soc-ticket-reference-row > .soc-ticket-reference-cell:not(.soc-ticket-reference-cell--importance):not(#r10) { min-width: 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketList .soc-ticket-reference-row > .soc-ticket-reference-cell--title:not(#r10) { flex-wrap: nowrap !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketList .soc-ticket-reference-row > .soc-ticket-reference-cell--title > :last-child:not(#r10) { min-width: 0 !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
}

/* R10-3 (A9-1 / B9-2): 지원근무자 현황 KPI cards. With a two-digit count the 402 card (136px inside) left the copy
   column 45px, so 「전체 요청」 / 「승인 대기」 broke inside the word. The label is one line (Korean words whole) at every
   width; a card whose inside is narrower than 150px (two cards per row on phones) stacks as the 티켓 KPI does (R7
   A-B1): icon and count on the first line, label and caption under them at the card's full width, the caption
   wrapping between words (A8-2 unchanged). */
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item:not(#r10) { container: sxr10kpi / inline-size; flex-wrap: wrap !important; row-gap: 6px !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item .sxr-kpi-copy:not(#r10) { flex: 1 1 0 !important; min-width: min-content !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item .ops-ref-summary-label:not(#r10) { white-space: nowrap !important; word-break: keep-all !important; }
@container sxr10kpi (max-width: 149.98px) {
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item .sxr-kpi-copy:not(#r10) { grid-area: 2 / 1 / 3 / 3 !important; }
  html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .ops-ref-summary-item > strong:not(#r10) { grid-area: 1 / 1 / 2 / 3 !important; justify-self: start !important; }
}

/* ======================= R11 repair (2026-10-26, visual-QA A/B of the R10 final wave; USER-DECISIONS 12, 17, 18) ======================= */
/* R11-1 (A10-1..A10-5, B10-1..B10-4; decision 12): every vivid orange fill (#ff6b00 family, any state) carries a pure white
   label, colour AND text fill, in both themes. Cause: -webkit-text-fill-color is inherited. Panel- and body-level light/dark
   locks (components.css, e.g. #announcementPanel `-webkit-text-fill-color: var(--soc-text) !important`) set it on containers,
   so a control that only declares `color: #fff` on its orange fill still paints the inherited navy / ink / #eaf0ff text fill.
   (1) Generated companions (tools/gen_r11_fill_companions.py over the CSSOM of the running candidate): every rule that paints
   a vivid orange background and declares a white label also declares `-webkit-text-fill-color: currentColor`, so the label
   paints its own colour. They never set `color`, so a later rule that restyles the same control keeps its own label colour.
   (2) Controls whose orange comes from the legacy base `button { background: var(--color-brand-600) }` (styles.css) declare no
   label colour and inherit the page ink: the phone 상황실 「공지 발송」, 티켓 「티켓 전체삭제」 and status chips (D5 layout,
   unchanged). (3) 대시보드 heat-map level 5: its `color: #fff` loses to the dark text lock (#eaf0ff). The fill is never
   darkened (DESIGN line 14: approved 2.86:1 exception). */
/* R11-1 (1): generated companions — 77 rules, 100 selectors (tools/gen_r11_fill_companions.py, input evidence/cssscan-r10.json). */
:is(.ds-btn-primary, .ds-nav-item.is-active, .ds-nav-item.active, #googleSheetsPanel.soc-apple-weekly-mode .soc-apple-weekly-exception-page.is-active, html[data-theme="dark"] body.dark:not(.soc-auth-shell-active) .ds-btn.ds-btn-primary:where(:not(:disabled):not(.is-disabled)), body.dark:not(.soc-auth-shell-active) .ds-btn.ds-btn-primary:where(:not(:disabled):not(.is-disabled)), html[data-theme="dark"] body.dark:is(.soc-desktop-shell, .soc-desktop-adaptive):not(.soc-auth-shell-active) #analyticsView #analyticsRefreshBtn.ds-btn-primary, body.dark:is(.soc-desktop-shell, .soc-desktop-adaptive):not(.soc-auth-shell-active) #analyticsView #analyticsRefreshBtn.ds-btn-primary, #excelAppleDownloadBtn, #mobileExcelDownloadBtn, .soc-profile-score-rank-pill, .soc-profile-account-badge, html[data-theme="light"] .soc-ticket-delete-recovery [data-delete-command-retry], html[data-theme="light"] #ticketCreateRecoveryRetry, #announcementPanel .btn-primary, #noticesPollModal .btn-primary, #noticesLinkModal .btn-primary, .notice-meta-tag-accent, .notices-poll-complete-pill, .notices-command-publish, .soc-employee-score-page-btn.is-active, #opsSupportPanel .worker-row-actions .worker-row-edit-btn, #opsSupportPanel .worker-row.is-over-assigned .worker-row-edit-btn, [data-theme="dark"] #opsSupportPanel .worker-row-actions .worker-row-edit-btn, [data-theme="dark"] #opsSupportPanel .worker-row.is-over-assigned .worker-row-edit-btn, #analyticsView .soc-analytics-pattern-cell.i5, [data-theme="dark"] body:is(.soc-desktop-shell, .soc-desktop-adaptive) #analyticsView :is(.soc-analytics-pattern-cell.i5, .soc-analytics-pattern-cell-board.i5, .soc-analytics-pattern-scale.i5), html body:not(.soc-auth-shell-active) #notificationSettingsPanel .soc-notification-choice-btn.is-active, html body:not(.soc-auth-shell-active) #notificationSettingsPanel .soc-notification-primary-btn, html[data-theme="dark"] body:not(.soc-auth-shell-active) :is(.ds-btn.primary, .ds-btn--primary, #topbarProfileDrawer .ds-btn-primary:not(:disabled):not(.is-disabled), .report-tab.active, .report-choice-card.active, .soc-ticket-reference-page-btn.is-active), html body:not(.soc-auth-shell-active) #announcementPanel#announcementPanel #noticesCreateBtn.btn.btn-primary, html[data-theme="dark"] body #googleSheetsPanel.soc-apple-weekly-mode .ds-btn.ds-btn-primary:not(:disabled):not(.is-disabled), html[data-theme="dark"] body #googleSheetsPanel.soc-apple-weekly-mode .ds-btn.ds-btn-primary:not(:disabled):not(.is-disabled):is(:hover, :focus-visible), html body :is(#situationPagination#situationPagination, #ticketReferencePagination#ticketReferencePagination, #peopleDirectoryPagination#peopleDirectoryPagination, #employeeScoreSitePager#employeeScoreSitePager, #employeeScoreRankingPager#employeeScoreRankingPager) button.is-active, html[data-theme="dark"] body:not(.soc-auth-shell-active) :is(#opsCommentPanel#opsCommentPanel, #ticketCommentPanel#ticketCommentPanel, #opsSupportPanel#opsSupportPanel) :is(#opsCommentPanelCloseBtn#opsCommentPanelCloseBtn#opsCommentPanelCloseBtn, #ticketCommentPanelCloseBtn#ticketCommentPanelCloseBtn#ticketCommentPanelCloseBtn, #opsCommentPanelSubmitBtn#opsCommentPanelSubmitBtn#opsCommentPanelSubmitBtn, #ticketCommentPanelSubmitBtn#ticketCommentPanelSubmitBtn#ticketCommentPanelSubmitBtn, #opsSupportSheetStatusBtn#opsSupportSheetStatusBtn#opsSupportSheetStatusBtn), html body:not(.soc-auth-shell-active) :is(#peopleView, #employeeScorePanel, #alertsView, #ticketsView) :is(.soc-situation-pagination button.is-active, .soc-ticket-reference-page-btn.is-active, .soc-employee-directory-page-btn.is-active, .soc-people-reference-page-btn.is-active, .soc-employee-score-page-btn.is-active), html body #reportPanel#reportPanel#reportPanel#reportPanel #ticketForm .ticket-stepper-item[data-state="current"] .ticket-stepper-no, html body #announcementPanel #noticesList .notices-table-page-btn.is-active:not(#c38), html body #ticketReferencePagination#ticketReferencePagination#ticketReferencePagination#ticketReferencePagination button:is(.is-active, [aria-current="page"]), html body #situationPagination#situationPagination#situationPagination#situationPagination button:is(.is-active, [aria-current="page"]), html body #peopleDirectoryPagination#peopleDirectoryPagination#peopleDirectoryPagination .sx-list-footer-pages button:is(.is-active, [aria-current="page"]), html body #managerStatusPagination#managerStatusPagination#managerStatusPagination .sx-list-footer-pages button:is(.is-active, [aria-current="page"]), html body .soc-w2-quick .soc-w2-quick-btn.ds-btn-primary, :is(html[data-theme="dark"] body, html body.dark) .soc-w2-quick .soc-w2-quick-btn.ds-btn-primary, html[data-theme="dark"] body.dark :is(#opsCommentPanel#opsCommentPanel#opsCommentPanel, #ticketCommentPanel#ticketCommentPanel#ticketCommentPanel) .soc-w2-quick .soc-w2-quick-btn.ds-btn-primary, html body.dark :is(#opsCommentPanel#opsCommentPanel#opsCommentPanel, #ticketCommentPanel#ticketCommentPanel#ticketCommentPanel) .soc-w2-quick .soc-w2-quick-btn.ds-btn-primary, #announcementPanel.sentrix-announcement-workspace .btn-primary, #announcementPanel.sentrix-announcement-workspace #noticesPollModal .btn-primary, #announcementPanel.sentrix-announcement-workspace #noticesLinkModal .btn-primary, #announcementPanel.sentrix-announcement-workspace .notice-meta-tag-accent, #announcementPanel.sentrix-announcement-workspace .notices-poll-complete-pill, #announcementPanel.sentrix-announcement-workspace .notices-command-publish, html[data-ui-theme="dark"] #view-notices .sentrix-announcement-workspace :where(.notices-tab.active, .notices-tab.is-active, .notices-category-tab.active, .notices-category-tab.is-active, .notices-compose-submit, .notices-primary-btn, .notice-write-button), :where(#view-notices, #view-feature-notices) :where(#noticesCreateBtn, #noticesPublishBtn, [data-action="notices-open-compose"], [data-action="notices-publish"], .notice-primary-action, .notice-compose-button, .notice-write-button, .notices-compose-submit, .notices-primary-btn, .btn-primary), :where(#view-notices, #view-feature-notices) :where(#noticesCreateBtn, #noticesPublishBtn, [data-action="notices-open-compose"], [data-action="notices-publish"], [data-action="notice-write"], .notice-primary-action, .notice-compose-button, .notice-write-button, .notices-write-button, .notices-command-publish, .notices-compose-submit, .notices-primary-btn, .btn-primary), :where(#view-notices, #view-feature-notices) :where(#noticesCreateBtn, #noticesPublishBtn, [data-action="notices-open-compose"], [data-action="notices-publish"], [data-action="notice-write"], .notice-primary-action, .notice-compose-button, .notice-write-button, .notices-write-button, .notices-command-publish, .notices-compose-submit, .notices-primary-btn, .btn-primary):where(:hover, :focus-visible, :active), :where(html[data-theme="dark"] body, html[data-ui-theme="dark"] body, body.dark, body.dark-mode) :where(#view-notices, #view-feature-notices) :where(#noticesCreateBtn, #noticesPublishBtn, [data-action="notices-open-compose"], [data-action="notices-publish"], [data-action="notice-write"], .notice-primary-action, .notice-compose-button, .notice-write-button, .notices-write-button, .notices-command-publish, .notices-compose-submit, .notices-primary-btn, .btn-primary), html[data-theme="dark"] body:is(.soc-desktop-shell, .soc-desktop-adaptive):not(.soc-auth-shell-active) #announcementPanel#announcementPanel.sentrix-announcement-workspace :is(#noticesCreateBtn, #noticesPublishBtn, [data-action="notices-open-compose"], [data-action="notices-publish"], [data-action="notice-write"], .notice-primary-action, .notice-compose-button, .notice-write-button, .notices-write-button, .notices-command-publish, .notices-compose-submit, .notices-primary-btn, .btn-primary), html body.dark:is(.soc-desktop-shell, .soc-desktop-adaptive):not(.soc-auth-shell-active) #announcementPanel#announcementPanel.sentrix-announcement-workspace :is(#noticesCreateBtn, #noticesPublishBtn, [data-action="notices-open-compose"], [data-action="notices-publish"], [data-action="notice-write"], .notice-primary-action, .notice-compose-button, .notice-write-button, .notices-write-button, .notices-command-publish, .notices-compose-submit, .notices-primary-btn, .btn-primary), html body #opsSupportPanel :is(#opsSupportSheet, #opsSupportWorkerModalBody, #opsSupportReferenceRoot) .soc-ops-support-confirmed-block.cw-editor[data-ops-worker-editor] .cw-editor-actions .ds-btn.ds-btn-primary.worker-save-btn, html[data-theme="dark"] body #opsSupportPanel :is(#opsSupportSheet, #opsSupportWorkerModalBody, #opsSupportReferenceRoot) .soc-ops-support-confirmed-block.cw-editor[data-ops-worker-editor] .cw-editor-actions .ds-btn.ds-btn-primary.worker-save-btn, html body #opsSupportPanel #opsSupportWorkerModal:has(.cw-editor) .soc-ops-support-worker-modal-foot .ds-btn.ds-btn-primary.worker-save-btn:not(:disabled), html body #opsSupportPanel :is(#opsSupportSheet, #opsSupportWorkerModalBody, #opsSupportReferenceRoot) .soc-ops-support-confirmed-block.cw-editor[data-ops-worker-editor] .cw-recover-actions .ds-btn.ds-btn-primary:not(:disabled), html[data-theme="dark"] body #opsSupportPanel :is(#opsSupportSheet, #opsSupportWorkerModalBody, #opsSupportReferenceRoot) .soc-ops-support-confirmed-block.cw-editor[data-ops-worker-editor] .cw-recover-actions .ds-btn.ds-btn-primary:not(:disabled), html[data-theme="dark"] body #opsSupportPanel :is(#opsSupportSheet, #opsSupportWorkerModalBody, #opsSupportReferenceRoot) .soc-ops-support-confirmed-block.cw-editor[data-ops-worker-editor] .cw-recover-actions .ds-btn.ds-btn-primary:not(:disabled):focus-visible, .soc-support-chatbot-launcher, .soc-support-chatbot-panel__send, html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-punch, .sxr-btn.is-primary, .sxr-todo-add-plus, .sxr-todo-add-btn, html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-composer-send, .sxr-slot-plus, .sxr-delta, html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-row.is-open .w4-row-no, html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel .w4-submit, .sxr-aw-steps li:first-child .sxr-aw-step-no, html body #authView#authView#authView.auth-c2 :is(#loginSubmitBtn, #loginTenantSubmitBtn), #supportChatbotPanel .sxa-primary, #supportChatbotPanel .sxa-send, .w4f-plus, .sxp-btn.is-primary, .sx-score-pager button.is-on, html body .sx-aw-cover .sx-aw-steps li.is-first .sx-aw-step-no, .sx-settings-nav-badge, html body #noticesWorkspace .notice-meta-tag-accent, html body #noticesWorkspace#noticesWorkspace .notices-table-title-btn .notice-meta-tag.notice-meta-tag-accent):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11) { -webkit-text-fill-color: currentColor !important; }
@media (min-width: 1024px) {
  :is(html body:is(.soc-desktop-shell, .soc-desktop-adaptive):not(.soc-auth-shell-active) #analyticsView #analyticsRefreshBtn, #googleSheetsPanel.soc-apple-weekly-mode .ds-btn.ds-btn-primary, html body.soc-desktop-shell #opsSupportPanel .soc-ops-support-view-toggle [data-action="ops-support-view"].is-active, html body.soc-desktop-shell:not(.soc-auth-shell-active) .topbar-notification-badge, body.soc-desktop-shell #peopleView .soc-people-reference-page-btn.is-active, body.soc-desktop-adaptive #peopleView .soc-people-reference-page-btn.is-active, html body:not(.soc-auth-shell-active):has(#alertsView.soc-situation-reference:not(.hidden)) #alertsView.soc-situation-reference #situationPagination.soc-situation-pagination button.is-active, html body:is(.soc-desktop-shell, .soc-desktop-adaptive):not(.soc-auth-shell-active):has(#ticketsView:not(.hidden)) #ticketsView #ticketReferencePagination.soc-ticket-reference-pagination .soc-ticket-reference-page-btn.is-active, html body:not(.soc-auth-shell-active) :is(#opsCommentPanelCloseBtn, #ticketCommentPanelCloseBtn, .soc-pc-status-menu-toggle), html[data-theme="dark"] body:is(.soc-desktop-shell, .soc-desktop-adaptive):not(.soc-auth-shell-active) #analyticsView :is(.soc-analytics-v2-range-btn.is-active, .soc-analytics-v2-range-btn.active, .soc-analytics-v2-refresh), html body.dark:is(.soc-desktop-shell, .soc-desktop-adaptive):not(.soc-auth-shell-active) #analyticsView :is(.soc-analytics-v2-range-btn.is-active, .soc-analytics-v2-range-btn.active, .soc-analytics-v2-refresh)):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11) { -webkit-text-fill-color: currentColor !important; }
}
@media (max-width: 900px) {
  :is(#mobileExcelDownloadBtn):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11) { -webkit-text-fill-color: currentColor !important; }
}
/* R11-1 (2): phones (< 768px), the 상황실 「공지 발송」 and 티켓 「티켓 전체삭제」 hidden controls and the 티켓 status chips keep
   the base button's orange (D5 layout, out of scope) with an inherited ink / #eaf0ff label. White label in both themes. */
@media (max-width: 767.98px) {
  html body :is(#openAnnouncementComposerBtn, #ticketBulkDeleteBtn, #ticketStatusFilterChips > button):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11) { color: #fff !important; -webkit-text-fill-color: currentColor !important; }
}
/* R11-1 (3): 대시보드 heat map, level 5 (#ff6b00) cell and legend swatch: white in dark too (the dark text lock painted #eaf0ff). */
html body #analyticsView #analyticsM2Board :is(.sx-m2-heat-cell, .sx-m2-heat-swatch)[data-level="5"]:not(#r11):not(#r11):not(#r11):not(#r11):not(#r11):not(#r11) { color: #fff !important; -webkit-text-fill-color: currentColor !important; }
/* R11-2 (USER-DECISIONS 17 / 18): orange text the approved boards draw in vivid #FF6B00 is not darkened for contrast (owner-approved
   exception, as decision 12). AW-Cover-Final 「D-6」 and AW-Cover-Link 「3/7」 (96px figure): the R7 rule above painted both covers'
   figure #b64000 in light; Notice-Final-Read 「상단 고정」 (12px): the redesign rule painted it --sxr-accent-ink and the 공지 panel's
   inherited text fill painted it navy #0f1b2d. Light uses #ff6b00; dark keeps its tokens (#fb923c pin). Everything the boards
   draw #B64000 (crumb 「홈」, selected menu, eyebrows, statuses, links) stays #b64000 (USER-DECISIONS 18). */
html:not([data-theme="dark"]) body:not(.dark) .sx-aw-cover .sx-aw-big strong:not(#r7):not(#r11) { color: var(--sxr-accent) !important; }
html:not([data-theme="dark"]) body:not(.dark) .sx-notice-pin:not(#r11) { color: var(--sxr-accent) !important; }
html body .sx-notice-pin:not(#r11):not(#r11):not(#r11):not(#r11) { -webkit-text-fill-color: currentColor !important; }
/* R11-3 (B10-5): 상황실 KPI captions below 1600px wrap (since R3) without keep-all, so at 1024 「★ 표시한 사건」 broke inside the
   word (「…사 / 건」). Korean words stay whole, as R10-3 did for the 지원근무자 현황 labels. */
@media (max-width: 1599px) {
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #realtimeSummaryGrid .sxr-kpi-sub:not(#r11) { word-break: keep-all !important; overflow-wrap: normal !important; }
}
/* ======================= R12 repair (2026-10-26, visual-QA A/B of the R11 final wave; USER-DECISIONS 17, 18) ======================= */
/* R12-1 (A11-1, item 18): the Apple 주간보고 cover eyebrow (「Apple 주간보고 · 링크 등록」 / 「· 이번 주 …」 / 「· 예외 요청」) is drawn #B64000
   on AW-Cover-Final / -Link / -Exc. components.css `#googleSheetsPanel #appleWeeklyWorkspaceMount .soc-aw6-hero-copy > p { color:
   var(--aw6-sub) !important }` (two IDs) outranked the redesign eyebrow rules, so it painted secondary grey. Scoped to the eyebrow
   only: the cover's sub copy (p.sx-aw-sub) keeps --aw6-sub. Dark keeps the redesign tint #fb923c. */
html body .sx-aw-cover .sx-aw-hero-copy > p.sx-aw-eyebrow:not(#r12):not(#r12):not(#r12) { color: var(--sxr-accent-ink) !important; -webkit-text-fill-color: currentColor !important; }
html[data-theme="dark"] body .sx-aw-cover .sx-aw-hero-copy > p.sx-aw-eyebrow:not(#r12):not(#r12):not(#r12) { color: #fb923c !important; }
/* R12-2 (FB11-3, item 17 "vivid orange stays vivid"): the 공지 primary family (공지 작성, 「발행」 and the other notice primary buttons)
   darkened to the tonal #9a3412 on hover / press / keyboard focus in dark (announcement-workspace.css dark state rules), and kept the
   rest fill in light. Every state now uses the DESIGN hover #e65f00 in both themes, with the white label; disabled stays as it was.
   R13 (r12 recheck A, A12-1): `filter: none` cancels the legacy styles.css `button:hover { filter: brightness(1.1) }`, which lifted the
   hover / press fill back to about #fd6800 (almost the rest #ff6b00), so the rendered state fill is exactly #e65f00. */
html body #announcementPanel :is(#noticesCreateBtn, #noticesPublishBtn, [data-action="notices-open-compose"], [data-action="notices-publish"], [data-action="notice-write"], .notice-primary-action, .notice-compose-button, .notice-write-button, .notices-write-button, .notices-command-publish, .notices-compose-submit, .notices-primary-btn, .btn-primary):is(:hover, :focus-visible, :active):not(:disabled):not(#r12):not(#r12):not(#r12) { background: #e65f00 !important; background-color: #e65f00 !important; background-image: none !important; border-color: #e65f00 !important; color: #ffffff !important; -webkit-text-fill-color: currentColor !important; filter: none !important; }


/* ======================= R17 surface ladder C (Mark 2026-10-31, UI/UX Pro Max) =======================
   L0 canvas #F0F0F0 (neutral) → L1 white cards with a 1px #DCDCDC line and one shadow step → L2 #F6F6F6 table heads.
   Tokens live in :root above and tokens.css; this block only gives the remaining white card families the L1 shadow
   and pulls the table/list heads onto the L2 token with a bottom line. Layout and spacing are unchanged. */
html body #homeView#homeView#homeView#homeView#homeView :is(.sentrix-home-kpi-card, .sxr-card, .soc-home-card) { box-shadow: var(--sxr-card-shadow) !important; }
html body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel :is(.ops-ref-summary-item, .ops-ref-calendar, .ops-ref-detail-panel, .ops-ref-list) { box-shadow: var(--sxr-card-shadow) !important; }
html body :is(#alertsView, #ticketsView) :is(.soc-situation-reference-surface, .soc-ticket-reference-surface, .soc-situation-table, .soc-ticket-reference-table):not(#r17) { box-shadow: var(--sxr-card-shadow); }
html body:not(.soc-auth-shell-active) :is(#alertsView, #ticketsView) :is(.soc-pc-list-header, .soc-situation-table-header, .soc-ticket-reference-table-header):not(#r17):not(#r17b) { background: var(--sxr-head) !important; border-bottom: 1px solid var(--sxr-line) !important; }

/* R17 (2026-10-31): 설정 → 알림 auto-save status line (replaces the always-disabled pinned save row). Not sticky. */
html body #notificationSettingsPanel .sx-settings-autosave-status { grid-column: 1 / -1; margin: 0 !important; padding: 0 4px; font-size: 13px; line-height: 20px; color: var(--sxr-sub); }
html body #notificationSettingsPanel .sx-settings-autosave-status.is-error { color: var(--sxr-red); font-weight: 600; }
html body #notificationSettingsPanel .sx-settings-autosave-status.hidden { display: none !important; }

/* r16l (2026-10-31, SB 후속·MAIN 결정): 행사모드 서버 스위치가 꺼지면 syncEventModeEntry가 [hidden]을 붙인다.
   데스크톱 사이드바 규칙 `.soc-menu-sub-item { display:flex !important }`가 이를 덮어 꺼져도 보였으므로(r16k), 숨김을 더 강하게 고정한다.
   스위치가 켜져 있으면 [hidden]이 없어 화면은 그대로. */
html body [data-action="openEventMode"][hidden]:not(#sxEvHid):not(#sxEvHid) { display: none !important; }
/* SXV2 (2026-10-31, VQA-B2 B-1·B-2 / VQA-A O1): phones (< 768). The 티켓·상황실 redesign rules were written for the desktop
   shell, so on a phone (no .soc-desktop-adaptive) three things broke:
   - the 티켓 KPI columns come from the `sxrtkkpi` container on .soc-ticket-reference-controls, which is display: contents
     here and so never a container — the 5-column fallback squeezed each cell to 60px (one letter per line);
   - the one-row filter grid (160 + 5 × 96) stayed on, pushing 지점 out of the card; 상황실 has no phone grid at all;
   - the search icon is placed only by desktop rules, so it took its own line and the input overlapped the next label.
   Phones get two columns (D1a: 2 KPI columns under 530), the search field across both, the icon inside the input. */
@media (max-width: 767.98px) {
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid.sxr-kpi-grid:not(#sxv2) { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
  html body :is(#ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar#ticketReferenceFilterBar.soc-ticket-reference-filterbar, #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card.soc-situation-filter-card):not(#sxv2) {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; grid-template-rows: none !important; grid-auto-rows: auto !important;
    align-items: end !important; gap: 10px !important; height: auto !important; min-height: 0 !important; min-block-size: 0 !important;
  }
  html body :is(#ticketReferenceFilterBar, #alertsView .soc-situation-filter-card) > :is(.soc-ticket-reference-field, .soc-situation-filter-field):not(#sxv2) {
    display: grid !important; gap: 4px !important; align-content: end !important; min-width: 0 !important; width: auto !important; flex: none !important; grid-column: auto !important;
  }
  html body :is(#ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar, #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card) > :is(.soc-ticket-reference-field, .soc-situation-filter-field):first-child:not(#sxv2) { grid-column: 1 / -1 !important; }
  html body #alertsView .soc-situation-filter-card > #situationTodoOnlyWrap:not(#sxv2) { justify-self: start !important; align-self: end !important; }
  html body :is(#ticketReferenceFilterBar, #alertsView .soc-situation-filter-card) select:not(#sxv2) { width: 100% !important; min-width: 0 !important; }
  html body :is(#ticketsView .soc-ticket-reference-search, #alertsView .soc-situation-search-field):not(#sxv2):not(#sxv2) {
    display: block !important; position: relative !important; height: auto !important; min-height: 0 !important; width: 100% !important; padding: 0 !important; border: 0 !important; background: transparent !important;
  }
  html body :is(#ticketsView .soc-ticket-reference-search, #alertsView .soc-situation-search-field) > span:not(#sxv2) {
    position: absolute !important; left: 12px !important; top: 50% !important; transform: translateY(-50%) !important; z-index: 1 !important;
    display: grid !important; place-items: center !important; width: 16px !important; height: 16px !important; color: var(--sxr-sub) !important; pointer-events: none !important;
  }
  html body :is(#ticketsView .soc-ticket-reference-search, #alertsView .soc-situation-search-field) > span svg:not(#sxv2) { width: 16px !important; height: 16px !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView :is(#ticketReferenceSearchInput, #situationIncidentSearchInput):not(#sxv2),
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card #situationIncidentSearchInput:not(#sxv2) {
    display: block !important; width: 100% !important; height: 36px !important; min-height: 36px !important; padding-left: 36px !important; box-sizing: border-box !important;
  }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceSearchInput:not(#sxv2) { height: 44px !important; min-height: 44px !important; } /* = the 44px 티켓 selects beside it */
  /* SXMISC (VQA SXV2 info 1): 상황실 search, selects and the 할 일 checkbox box were 36px on phones — 44px touch targets like 티켓. */
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card :is(#situationIncidentSearchInput, select, #situationTodoOnlyWrap):not(#sxv2):not(#sxmisc) {
    height: 44px !important; min-height: 44px !important; box-sizing: border-box !important;
  }
  /* 티켓 status chips: the buttons carry no .chip class, so they shrank to ~60px and broke inside words. Whole words, wrapped. */
  html body #ticketsView #ticketStatusFilterChips:not(#sxv2) { flex-wrap: wrap !important; overflow: visible !important; gap: 6px !important; }
  html body #ticketsView #ticketStatusFilterChips > button:not(#sxv2) { flex: 0 0 auto !important; white-space: nowrap !important; word-break: keep-all !important; }
  /* Phones list tickets as cards (renderTickets: not PC list mode), so the 7-column table header has nothing under it. */
  html body:not(.soc-desktop-adaptive) #ticketsView .soc-ticket-reference-table-header:not(#sxv2) { display: none !important; }
}
@media (max-width: 608.98px) {
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketSummaryGrid.sxr-kpi-grid:not(#sxv2) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
}
/* 상황실 KPI below a 530px band (phones): 3 + 2 cells of ~110px cut 「오늘 사건」·「중요사건」, so two columns with the total
   cell 「오늘 사건」 across the top (the container works here: .soc-situation-reference-surface keeps its box). */
@container sxralkpi (max-width: 529.98px) {
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #realtimeSummaryGrid.sxr-kpi-grid:not(#sxv2) { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #realtimeSummaryGrid .sxr-kpi-card:not(#sxv2) { grid-column: auto !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #realtimeSummaryGrid .sxr-kpi-card:first-child:not(#sxv2) { grid-column: 1 / -1 !important; }
}

/* WEB2 (2026-10-31, REPDEF-WEB2): 보고하기 4단계 (간편·사후) 하단 바 below 768. The 768–1179 rule puts 필수 n/m and the
   three buttons in two columns; on phones the button column (≈306px) took the whole bar, so 필수 항목 · 남은 항목 broke
   one letter per line in a 0px column (the bar grew to ≈750px and covered the form) and its min-content pushed the form
   47px past #reportView (등록 clipped). Below 768 the bar is one column — 필수 n/m · 남은 n on one line (the names stay
   for screen readers; each field still marks itself), the follow-up summary, then the three buttons sharing one row — and it sticks above the fixed
   tab bar like the 768–1023 B-4 rule. */
@media (max-width: 767.98px) {
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer.w4-composer:not(.hidden):not(#web2) { grid-template-columns: minmax(0, 1fr) !important; }
  /* Tab / focus scrolling keeps the field above the bar (bar ≈123–150px + tab bar), not only above the tab bar (N9). */
  html body:not(.soc-auth-shell-active) .soc-app-shell > main.container.admin-layout:has(> #reportPanel:not(.hidden) #reportView .w4-composer:not(.hidden)) { scroll-padding-bottom: calc(var(--sx-r6-tabbar-reserve) + 160px) !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer.report-form-sticky-footer:not(#web2):not(#web2) {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 8px !important;
    padding: 10px 12px 12px !important;
    bottom: var(--sx-r6-tabbar-reserve) !important;
  }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer > :is(.w4-required, .w4f-summary, .w4-footer-actions):not(#web2) {
    grid-column: 1 !important;
    grid-row: auto !important;
    min-width: 0;
  }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer > .w4-required:not(#web2) { flex-wrap: nowrap; white-space: nowrap; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer .w4-required-names:not(#web2) {
    position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer > .w4-footer-actions:not(#web2) { display: flex !important; flex-wrap: nowrap !important; gap: 6px !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer .w4-footer-actions > button:not([hidden]):not(#web2) {
    flex: 1 1 auto !important; width: auto !important; min-width: 0 !important; height: auto !important; min-height: 44px !important;
    padding: 4px 6px !important; font-size: 14px !important; line-height: 1.25 !important; white-space: normal !important; word-break: keep-all; text-align: center; justify-content: center;
  }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer .w4-footer-actions > .w4-submit:not(#web2) { flex-grow: 2 !important; }
  /* 이전 keeps its one word; at 360 the other two labels break between words instead of clipping. */
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer .w4-footer-actions > .w4-back:not(#web2) { flex-shrink: 0 !important; white-space: nowrap !important; }
}

/* WEB3 (2026-10-31, REPDEF-WEB3): 보고하기 4단계 below 768 and the shared toast position.
   (1) The head side (「처음부터 다시」 + 간편/사후 toggle, 263px) keeps its width since B7-2, so on phones the head's main
   column shrank to 8–50px and the breadcrumb 「고객 Escalation」 broke one letter per line. With a visible side the head
   wraps: the title and breadcrumb take the full width, the side sits on its own line under them. Each crumb stays on one
   line (an over-long name ellipsizes; the full name stays in the DOM and in its title). */
@media (max-width: 767.98px) {
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-head:has(> .w4-head-side > :is(#w4RestartBtn:not([hidden]), #reportModeTabs:not(.hidden))):not(#web3) { flex-wrap: wrap !important; align-items: flex-start !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-head:has(> .w4-head-side > :is(#w4RestartBtn:not([hidden]), #reportModeTabs:not(.hidden))) > .w4-head-main:not(#web3) { flex: 1 1 100% !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-head:has(> .w4-head-side > :is(#w4RestartBtn:not([hidden]), #reportModeTabs:not(.hidden))) > .w4-head-side:not(#web3) { flex: 1 1 100% !important; justify-content: space-between !important; margin-left: 0 !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-crumbs > .w4-crumb:not(#web3) { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
/* (2) Toasts stay off the fixed controls (top bar, report bar, tab bar). Below 1280 see WEB4 (above the lowest bottom bar).
   1280–1599: the toast stood under the 64px top bar over the page (보고하기 종료 시각 at 1366); it now sits in the top bar's
   empty middle like ≥1600 — centred between the page title / 「홈 | 대시보드」 (238–355px) and the right tools (≈498 / 504px
   wide). 1024–1279 keeps the under-bar position: that middle (≈233px) would wrap a toast to two lines past the bar. */
@media (min-width: 1280px) and (max-width: 1599.98px) {
  html body .soc-toast:not(#web3) { top: 10px !important; left: 371px !important; right: 514px !important; width: fit-content !important; max-width: none !important; margin-inline: auto !important; transform: translate3d(0, -12px, 0) !important; }
  html body .soc-toast.is-show:not(#web3) { transform: translate3d(0, 0, 0) !important; }
}
@media (min-width: 1440px) and (max-width: 1599.98px) { html body .soc-toast:not(#web3) { right: 520px !important; } }
@media (min-width: 1280px) and (max-width: 1599.98px) and (prefers-reduced-motion: reduce) {
  html body .soc-toast:not(#web3), html body .soc-toast.is-show:not(#web3) { transform: none !important; }
}
/* (3) Footer buttons keep one line each (WEB2's 이전 nowrap lost to the button rule's higher specificity, so at 360 it
   read 「이/전」 and the other two labels took two lines). The row wraps instead: when the three labels do not fit (360,
   or longer English labels), 등록 moves to its own full-width line under 이전 · 선택 다시하기.
   (4) 상황실 미리보기 below 768: its grid column took the content's min-content width (282px in a 233px box at 360), so
   the card ran past the box and #reportView clipped it; the columns now fit the box and long values wrap. */
@media (max-width: 767.98px) {
  html body:not(.soc-auth-shell-active) .soc-app-shell > main.container.admin-layout:has(> #reportPanel:not(.hidden) #reportView .w4-composer:not(.hidden)):not(#web3) { scroll-padding-bottom: calc(var(--sx-r6-tabbar-reserve) + 210px) !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer > .w4-footer-actions:not(#web3):not(#web3) { flex-wrap: wrap !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-composer-footer .w4-footer-actions > button:not([hidden]):not(#web3):not(#web3) { min-width: max-content !important; white-space: nowrap !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) :is(.w4-preview, .w4-pv-card, .w4-pv-desc):not(#web3) { grid-template-columns: minmax(0, 1fr) !important; }
  /* 상태 pill (종결로 등록 · 기본값) moves under the badges when both do not fit on one line. */
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-composer:not(.hidden) .w4-pv-top:not(#web3) { flex-wrap: wrap !important; }
}

/* WEB4 (2026-10-31, REPDEF-WEB4 · MAIN decision A): below 1280 the toast leaves the top. Under the 64px rule it covered
   the two-row mobile top bar (알림 / 테마 / 통합 검색 / 내 정보) and, at 1024–1279, the page under the bar (보고하기
   종료 시각). It now rests 8px above the lowest fixed bar in the lower half of the window — the 보고하기 bar, else the
   tab bar (below 1024) — or 24px off the window edge where neither shows; `socToastBarInset()` in app.js measures the
   bar when the toast opens. It slides up while fading in; with reduced motion it only fades. 1280 and up keep the
   top-bar positions (WEB3 1280–1599, r59 ≥1600). */
@media (max-width: 1279.98px) {
  html body .soc-toast:not(#web4) { top: auto !important; bottom: calc(var(--soc-toast-bar-inset, 16px) + 8px) !important; transform: translate3d(-50%, 12px, 0) !important; }
  html body .soc-toast.is-show:not(#web4) { transform: translate3d(-50%, 0, 0) !important; }
}
@media (max-width: 1279.98px) and (prefers-reduced-motion: reduce) {
  html body .soc-toast:not(#web4), html body .soc-toast.is-show:not(#web4) { transform: translate3d(-50%, 0, 0) !important; }
}

/* WEB5 (2026-11-01, REPDEF-WEB5 · MAIN: no toast covers a control). (1) A message longer than two lines stops at two
   with 「자세히」; the button (the toast's only pointer target, 24px tall) opens the whole message. The full text stays in
   the toast's status region either way. (2) Below 1280 `placeSocToast()` in app.js picks a spot clear of every showing
   control and fixed bar and writes it to --soc-toast-top (with no free spot: the 티켓 list's inline note, else above the bottom
   bar clear of fixed controls — REPDEF-FIX2 removed the band that stepped the page down). 1280 and up keep the WEB3 / r59
   top-bar positions; only an opened message is placed. */
html body .soc-toast > .soc-toast-text:not(#web5) { flex: 0 1 auto; min-width: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; line-clamp: 2; overflow: hidden; }
html body .soc-toast.is-expanded > .soc-toast-text:not(#web5) { display: block; -webkit-line-clamp: none; line-clamp: none; overflow: visible; }
html body .soc-toast > .soc-toast-more:not(#web5) { flex: none; align-self: flex-end; min-height: 24px; margin: -4px -6px -4px 0; padding: 2px 6px; border: 0; border-radius: 6px; background: transparent; color: inherit; font: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; white-space: nowrap; cursor: pointer; pointer-events: auto; }
html body .soc-toast > .soc-toast-more[hidden]:not(#web5) { display: none; }
html body .soc-toast > .soc-toast-more:focus-visible:not(#web5) { outline: 2px solid currentColor; outline-offset: 1px; }
@media (max-width: 1279.98px) {
  html body .soc-toast[data-soc-toast-place]:not(#web5) { top: var(--soc-toast-top) !important; bottom: auto !important; }
}
/* 1280 and up an opened 「자세히」 message (three lines or more) would run past the top bar onto the page, so it is placed
   the same way, centred at its own width. */
@media (min-width: 1280px) {
  html body .soc-toast.is-expanded[data-soc-toast-place]:not(#web5) { top: var(--soc-toast-top) !important; bottom: auto !important; left: 50% !important; right: auto !important; width: max-content !important; max-width: min(520px, calc(100vw - 32px)) !important; margin-inline: 0 !important; transform: translate3d(-50%, 0, 0) !important; }
}
/* REPDEF-FIX2 (2026-11-01, MAIN): no band mode. (1) The 티켓 list's inline note (#ticketsInlineNotice, role=status) takes a
   message the toast has no free spot for at the top of the list: in the page flow above the 요약 cards, no control under it,
   status icon as on the toast, body text in the page colour. (2) 보고하기 「어느 지점 사건인가요?」 note until a site is picked. */
html body #ticketsView .soc-tickets-inline-notice:not(#fix2) { display: flex; align-items: flex-start; gap: 8px; margin: 0 0 12px; padding: 10px 12px; border: 1px solid var(--soc-border); border-radius: 10px; background: var(--soc-surface-2); color: var(--soc-text-primary); font-size: 14px; font-weight: 600; line-height: 1.4; word-break: keep-all; overflow-wrap: anywhere; }
html body #ticketsView .soc-tickets-inline-notice[hidden]:not(#fix2) { display: none !important; }
html body #ticketsView .soc-tickets-inline-notice:not(#fix2)::before { content: ""; flex: 0 0 16px; width: 16px; height: 16px; margin-top: calc((1lh - 16px) / 2); background: var(--soc-toast-accent); -webkit-mask: var(--soc-toast-icon) center / 16px 16px no-repeat; mask: var(--soc-toast-icon) center / 16px 16px no-repeat; }
html body #ticketsView .soc-tickets-inline-notice:is(.is-warn, .is-error):not(#fix2) { border-color: var(--soc-toast-accent); color: var(--soc-text-primary); }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-site-hint:not(#fix2) { margin: 6px 0 0; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-site-hint.is-error:not(#fix2) { background: var(--w4-orange-soft); border: 1px solid var(--soc-danger); color: var(--w4-ink); }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-card select[aria-invalid="true"]:not(#fix2) { border-color: var(--soc-danger) !important; }
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-card select[aria-invalid="true"]:focus-visible:not(#fix2) { outline-color: var(--soc-danger) !important; }
/* RBF S11a (2026-11-01, X5 · 상속 후속). (1) 상황실 지점 칩: only for a field account with 담당 or 오늘 출근 sites (S8a
   `sites`); 「전체」 + one chip per site, the site name then its kind (소속·담당·오늘 출근). Same neutral chip as the
   notification drawer (F6: selected = ink border, not orange). One line; below 768 the row scrolls sideways. Accounts
   without those sites never render it (hidden). (2) 1366×768 사건 상세: from 1024 up the overlay root (z 88) sits under the
   sticky top bar (z 90), so the centred panel is capped to the height that keeps its top below the bar (1920 unchanged).
   (3) 보고하기 단계 이름 below 768: see the S11a ⑥ block below. */
html body #alertsView .sx-site-chips:not(#s11a) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 0 0 -8px; min-width: 0; }
html body #alertsView .sx-site-chips[hidden]:not(#s11a) { display: none !important; }
html body #alertsView .sx-site-chip:not(#s11a) {
  display: inline-flex; align-items: center; gap: 6px; min-height: 36px; max-width: 100%; padding: 0 14px; margin: 0;
  border: 1px solid var(--sxr-line); border-radius: 999px; background: var(--sxr-card);
  color: var(--sxr-ink) !important; -webkit-text-fill-color: currentColor !important; font: inherit; font-size: 14px; font-weight: 600;
  line-height: 20px; white-space: nowrap; cursor: pointer; box-shadow: none;
}
html body #alertsView .sx-site-chip:hover:not(#s11a) { background: var(--sxr-chip); }
html body #alertsView .sx-site-chip.is-active:not(#s11a) { border-color: var(--sxr-ink); font-weight: 700; }
html body #alertsView .sx-site-chip:focus-visible:not(#s11a) { outline: 2px solid var(--sxr-accent); outline-offset: 2px; }
html body #alertsView .sx-site-chip-name:not(#s11a) { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
html body #alertsView .sx-site-chip-tag:not(#s11a) { flex: none; color: var(--sxr-sub); -webkit-text-fill-color: currentColor; font-size: 12px; font-weight: 600; }
html body #alertsView .sx-site-chip-tag:not(#s11a)::before { content: "·"; margin-right: 6px; }
@media (max-width: 767.98px) {
  html body #alertsView .sx-site-chips:not(#s11a) { flex-wrap: nowrap; overflow-x: auto; margin: 0 0 12px; padding: 2px 0; scrollbar-width: none; }
  html body #alertsView .sx-site-chips:not(#s11a)::-webkit-scrollbar { display: none; }
  html body #alertsView .sx-site-chip:not(#s11a) { flex: none; min-height: 44px; }
}
@media (min-width: 1024px) {
  html body:not(.soc-auth-shell-active) #incidentDetailModal .incident-detail-modal-panel:not(#s11a) {
    max-height: min(92vh, calc(100dvh - 2 * (var(--soc-topbar-height, 64px) + 8px))) !important;
  }
}
/* S11a-R2 D1: the desktop 상황실 rules give the filter fields display:grid !important at up to two IDs
   (components.css `body:…:has(#alertsView…) #alertsView… .soc-situation-filter-field`, 2-5-2), so a one-ID [hidden] rule lost
   from 1024px up and the 지점 select stayed beside the chips. Three IDs win at every width. */
html body #alertsView#alertsView .soc-situation-filter-field[hidden]:not(#s11a) { display: none !important; }
@media (max-width: 767.98px) {
  /* The chosen value never fits beside the name in a quarter of a phone row (it was clipped to nothing); the name takes the room. */
  /* S11a-R2 L4: visually hidden, not display:none, so screen readers still read the chosen value. */
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-step-copy > .w4-step-chip:not(#s11a) {
    position: absolute !important; width: 1px !important; height: 1px !important; margin: -1px !important; padding: 0 !important;
    overflow: hidden !important; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap !important; border: 0 !important;
  }
}
/* S11a ⑥ (MAIN 11-01): below 768 a quarter-row step name is unreadable, so only the current step shows its name in full;
   the other steps show their number / check mark alone. Their names stay in the DOM as visually hidden text (read by
   screen readers) and in the step's title. The current step takes its natural width; the others share the rest. */
@media (max-width: 767.98px) {
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-steps:not(#s11a) { display: flex !important; gap: 14px !important; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-step:not(#s11a) { flex: 1 1 0; min-width: 22px; position: relative; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-step[data-w4-state="current"]:not(#s11a) { flex: 0 0 auto; }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-step:not([data-w4-state="current"]) .w4-step-copy > strong:not(#s11a) {
    position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden !important; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
  }
  html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-step[data-w4-state="current"] .w4-step-copy > strong:not(#s11a) { flex: none; overflow: visible !important; text-overflow: clip !important; }
}
/* S11a-R2 M3: a 오늘 출근 site row's 중요 star is a read-only mark — no hover, no pointer (clicks fall to the row). */
html body #alertsView#alertsView .soc-situation-star.is-readonly:not(#s11a) { pointer-events: none !important; cursor: default !important; }
/* S11a-R3: the Escalation 「중요사건 표시」 card has nothing to hold for a today-attendance report (no site tier, no ★). */
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-card.w4-card-s11a-empty:not(#s11a) { display: none !important; }

/* RBF S11b (X1–X3, §7.3): 플렉서에게만 붙는 칸. 다른 계정에는 이 클래스들이 생기지 않는다. */
html body .sx-flexer-blank.sx-flexer-blank:not(.hidden):not([hidden]) { display: flex !important; flex-direction: column; align-items: stretch; }
html body .sx-flexer-blank.sx-flexer-blank > .sx-att-home-mount { order: -1; }
html body .sx-flexer-duty.sx-flexer-duty { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; appearance: none; border: 0; text-align: start; cursor: pointer; }
html body .sx-flexer-duty.sx-flexer-duty.is-expanded { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; overflow: visible; }
html body .sx-flexer-duty--view.sx-flexer-duty--view { order: -2; display: inline-block; align-self: flex-start; width: fit-content; margin: 0 0 12px; }
html body .sx-flexer-duty--top.sx-flexer-duty--top { order: 9; flex: 0 1 auto; min-width: 72px; max-width: 320px; margin-left: 12px; }
html body:has(.sx-flexer-duty--top) #appShellTopbar#appShellTopbar#appShellTopbar #topbarCurrentTitle { flex: 0 0 auto !important; white-space: nowrap !important; overflow: visible !important; }
html body:is(.soc-desktop-shell, .soc-desktop-adaptive) .sx-flexer-duty--view { display: none !important; }
html body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) .sx-flexer-duty--top { display: none !important; }
html body .sx-flexer-empty.sx-flexer-empty.sx-flexer-empty.sx-flexer-empty { display: flex; flex: 0 0 auto; min-height: 0; flex-direction: column; align-items: center; justify-content: center; gap: 8px; margin: 0; padding: 40px 20px; text-align: center; }
html body .sx-flexer-empty .sx-flexer-empty-hint { font-size: 14px; line-height: 20px; color: var(--sxr-ink-2, #374151); }
html body .sx-flexer-blank.sx-flexer-blank:not(#r17f):not(#r17f):not(#r17f):not(#r17f):not(#r17f):not(#r17f):not(#r17f) { background: transparent !important; }
html body .sx-flexer-empty.sx-flexer-empty.sx-flexer-empty.sx-flexer-empty.sx-flexer-empty { background: transparent !important; border: 0 !important; box-shadow: none !important; word-break: keep-all; overflow-wrap: anywhere; }
html body .sx-flexer-empty.sx-flexer-empty:not(#r17f):not(#r17f):not(#r17f):not(#r17f):not(#r17f):not(#r17f):not(#r17f) .sx-empty-state-message { color: var(--sxr-ink, #111827) !important; -webkit-text-fill-color: var(--sxr-ink, #111827) !important; }
html body.sx-flexer-screen #myProfileView#myProfileView#myProfileView#myProfileView#myProfileView .soc-profile-kpi-card em#myProfileScoreMeta { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: keep-all; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-meta strong.sx-att-meta-site { white-space: normal; word-break: keep-all; overflow-wrap: anywhere; overflow: visible; }
html body.sx-flexer-screen #menuSheetPanel#menuSheetPanel#menuSheetPanel#menuSheetPanel :is([data-menu-item-key="field-ops-support-roster"], [data-menu-item-key="field-employee-score"], [data-menu-item-key="field-apple-weekly-sync"]),
html body.sx-flexer-screen #menuSheetPanel#menuSheetPanel#menuSheetPanel#menuSheetPanel .soc-menu-section:has(> .soc-menu-section-items > :is([data-menu-item-key="field-employee-score"], [data-menu-item-key="field-apple-weekly-sync"])) { display: none !important; }
html body .sx-flexer-empty .ds-btn { margin-top: 8px; }
/* r4b: the same three items also sit in the 402 menu sheet now (field-menu-*); a flexer sees neither them nor a group left empty. */
html body.sx-flexer-screen #menuSheetPanel#menuSheetPanel#menuSheetPanel#menuSheetPanel :is([data-menu-item-key="field-menu-ops-support-roster"], [data-menu-item-key="field-menu-employee-score"], [data-menu-item-key="field-menu-apple-weekly"], [data-menu-group-wrap="field-ops"], [data-menu-group-wrap="field-custom-reports"]),
html body.sx-flexer-screen #menuSheetPanel#menuSheetPanel#menuSheetPanel#menuSheetPanel [data-menu-group-wrap="field-org"]:not(:has([data-device-approvals-menu]:not(.hidden))) { display: none !important; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-card[data-variant="home"] .sx-att-meta > .sx-att-site-select--flexer { grid-column: 1 / -1; display: flex !important; width: 100%; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-site-select--flexer > span { flex: 0 0 auto; white-space: nowrap; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-site-select--flexer > select { flex: 1 1 auto; min-width: 0; max-width: 360px; }
html body #homeView#homeView#homeView#homeView#homeView .sx-att-site-select--flexer { flex-wrap: wrap; }
html body .sx-att-site-need { flex: 1 1 auto; white-space: normal; color: var(--sx-status-warning-strong, #b45309); font-size: 13px; }
html body .sx-att-punch[aria-disabled="true"][aria-describedby="sxAttSiteNeed"] { opacity: 0.55; cursor: not-allowed; }
html body .sx-work-type-tag.sx-att-pill { min-height: 20px; margin-left: 6px; padding: 0 8px; font-size: 12px; line-height: 18px; vertical-align: 1px; }

/* RBF S11b 후속: 402 사건·티켓 카드 왼쪽 세로 막대 제거(DESIGN 왼쪽 세로 막대 강조 금지). 참여자 행 밀림(button + button 여백) 제거. */
html body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) :is(#alertsView, #ticketsView) .incident-card.incident-card::before { content: none !important; }
html body #reportParticipantList > .soc-participant-row { margin-left: 0 !important; }

/* r17g: 최종 웨이브 2라운드.
   답변 요청 오류 칸은 폼 한 줄을 다 쓴다(좁은 칸에서 글자 중간이 끊겼다).
   지원근무자 화면의 다크 버튼 덮어쓰기에서 「다시 로그인」을 뺀다.
   402 보고 1단계: 「오늘 근무」 표식이 행을 하나 더 만들어 빈 칸이 생겼다. 플렉서는 카드가 하나라 한 줄을 쓴다.
   승인된 공통 수리(MAIN, 끈 회사·고정 근무자도 바뀜): 402 다크 내 정보 흰 카드, 402 티켓 카드 왼쪽 막대와 다크 표면,
   좁은 폭 내 정보 버튼 아이콘(크기 규칙이 넓은 화면에만 있어 카드를 채웠다), 빈 최근 활동의 가로 스크롤 띠. */
.sxr-reply-form .sxr-todo-error { grid-column: 1 / -1; word-break: keep-all; }
.sxr-reply-form .sxr-todo-error .sxr-link-btn { flex: 0 0 auto; white-space: nowrap; }
html[data-theme="dark"] body #opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel#opsSupportPanel .sx-flexer-empty .ds-btn.ds-btn-primary { background: var(--sxr-accent) !important; background-color: var(--sxr-accent) !important; border-color: var(--sxr-accent) !important; color: #fff !important; }
html body.sx-flexer-screen:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView#reportView:is([data-w4-step="1"], [data-w4-step="2"], [data-w4-step="3"]):has(> .sx-flexer-duty--view) { grid-template-rows: auto auto minmax(0, 1fr); }
html body.sx-flexer-screen:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView#reportView #reportFlowEntryStep .selectable-card-grid--pair { grid-template-columns: minmax(0, 1fr); }
html[data-theme="dark"] body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #myProfileView#myProfileView :is(.soc-profile-account-strip, .soc-profile-security-card, .soc-profile-activity-card, .soc-profile-operations-card, .soc-profile-messenger-card) { background: var(--soc-block-bg) !important; background-color: var(--soc-block-bg) !important; box-shadow: none !important; }
html[data-theme="dark"] body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #myProfileView#myProfileView :is(.soc-profile-identity-facts, .soc-profile-security-card dl > div, .soc-profile-operations-list > div) { border-top-color: var(--sxr-line) !important; }
html body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #ticketsView .ticket-card.ticket-card::before { content: none !important; }
html body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #myProfileView#myProfileView :is(.soc-profile-security-card, .soc-profile-identity-actions) > .ds-btn { display: flex !important; align-items: center !important; justify-content: center !important; gap: 9px !important; height: auto !important; }
html body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #myProfileView#myProfileView :is(.soc-profile-security-card, .soc-profile-identity-actions) > .ds-btn svg { display: block !important; width: 18px !important; height: 18px !important; flex: 0 0 18px !important; fill: none !important; stroke: currentColor !important; stroke-width: 1.9 !important; stroke-linecap: round !important; stroke-linejoin: round !important; }
html body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #myProfileView#myProfileView:not(.hidden) .soc-profile-activity-table:has(.soc-profile-activity-empty) { overflow-x: hidden !important; }
html body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #myProfileView#myProfileView:not(.hidden) .soc-profile-activity-table:has(.soc-profile-activity-empty) .soc-profile-activity-table-head { min-width: 0 !important; width: 100% !important; grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
html[data-theme="dark"] body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #ticketsView .ticket-card.ticket-card.m-feed-card { background: var(--soc-block-bg) !important; background-color: var(--soc-block-bg) !important; border-color: var(--sxr-line) !important; box-shadow: none !important; }
html[data-theme="dark"] body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #ticketsView .ticket-card.ticket-card.m-feed-card :is(.m-subcard--meta, .m-subcard--attachments) { background: var(--sxr-head) !important; background-color: var(--sxr-head) !important; border-color: var(--sxr-line) !important; }
html[data-theme="dark"] body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #ticketsView .ticket-card.ticket-card.m-feed-card .ticket-title { color: var(--sxr-ink) !important; -webkit-text-fill-color: var(--sxr-ink) !important; }
html[data-theme="dark"] body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #ticketsView .ticket-card.ticket-card.m-feed-card :is(.m-meta-value, .ticket-kv-value) { color: var(--sxr-ink-2) !important; -webkit-text-fill-color: var(--sxr-ink-2) !important; }
html[data-theme="dark"] body:not(.soc-desktop-shell):not(.soc-desktop-adaptive) #ticketsView .ticket-card.ticket-card.m-feed-card :is(.m-meta-label, .ticket-kv-label) { color: var(--sxr-sub) !important; -webkit-text-fill-color: var(--sxr-sub) !important; }

/* r17i 보고 입력칸 안내문: 라이트 대비 4.5 이상 */
html body #reportPanel#reportPanel#reportPanel#reportPanel#reportPanel #reportView .w4-card :is(input, select, textarea)::placeholder { color: var(--sxr-sub); }
/* r17i 보고 질문 「기타」: 그 항목 안에서 입력칸이 펼쳐지고 「다음」은 칸 옆(시안 3a). 긴 글은 값 줄에서 줄바꿈으로 다 보인다. */
html body #reportPanel #reportView .w4-other-field { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding-left: 32px; }
html body #reportPanel #reportView .w4f-other-field { padding-left: 0; }
html body #reportPanel #reportView .w4-other-input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--sxr-line-strong); background: var(--sxr-card); color: var(--sxr-ink); font: inherit; font-size: 14px; }
html body #reportPanel #reportView .w4-other-input:focus { border-color: var(--sxr-accent); outline: none; box-shadow: 0 0 0 1px var(--sxr-accent); }
html body #reportPanel #reportView .w4-other-next { flex: none; min-width: 64px; height: 40px; padding: 0 14px; border: 0; border-radius: 8px; background: var(--sxr-accent); color: #ffffff; font: inherit; font-size: 14px; font-weight: 700; cursor: pointer; }
html body #reportPanel #reportView .w4-other-next:disabled { background: var(--sxr-chip); color: var(--sxr-muted); cursor: not-allowed; }
html body #reportPanel #reportView .w4-other-next:focus-visible { outline: 2px solid var(--sxr-accent); outline-offset: 2px; }
html body #reportPanel #reportView .w4-row-value { white-space: normal; overflow-wrap: anywhere; }
@media (max-width: 600px) {
  html body #reportPanel #reportView .w4-other-field { padding-left: 0; }
  html body #reportPanel #reportView .w4-row-value-written { grid-column: 2 / -1; grid-row: 2; text-align: left; }
}

/* SX-402DEL (2026-11-04): 티켓 화면의 옛 조작부(상태 칩 6개·날짜 글자·본사 「티켓 전체삭제 (N)」)는 768px 이상에서만 숨겨져
   휴대폰 폭(402)에서 요약 카드 위에 그대로 보였다. 같은 필터는 요약 카드와 「상태」 선택칸이 맡는다. 모든 폭에서 숨긴다
   (768px 이상은 이미 숨김이라 변화 없음). 서버 일괄 삭제 권한(본사만)은 그대로다. */
html body #ticketsView#ticketsView :is(.soc-ticket-reference-hidden-controls, .soc-ticket-reference-hidden-actions):not(#sx402):not(#sx402) { display: none !important; }
/* SX-402DEL r17k4 (2026-11-04): 상황실 옛 조작부(날짜 버튼·「필터」·본사 「공지 발송」)도 데스크톱 셸에서만 숨겨져 휴대폰 폭에서
   본사에게 주황 「공지 발송」이 보였다. 휴대폰 공지 작성은 공지사항 화면 「공지 작성」이 맡는다. 모든 폭에서 숨긴다(PC는 이미 숨김). */
html body #alertsView#alertsView .soc-situation-reference-hidden-control:not(#sx402):not(#sx402) { display: none !important; }

/* r3j12b (VQA R2-D3): the 첨부 파일 없음 paperclip had its size and outline only from the desktop-shell rules (≤1280), so on a
   phone it drew at the svg default size as a black fill (100 px at 402·683). Everywhere it is the 26 px muted outline. */
html body :is(.soc-situation-attachment-empty, .soc-ticket-reference-attachment-empty) span { color: var(--soc-text-sub, #6b7280); line-height: 1; }
html body :is(.soc-situation-attachment-empty, .soc-ticket-reference-attachment-empty) svg {
  width: 26px !important; height: 26px !important; fill: none !important; stroke: currentColor !important;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
}

/* r3j12b (VQA-FINAL B R2-L2): the legacy styles.css `button:hover { filter: brightness(1.1) }` lifted the card under the pointer,
   so its #F2EFEB icon tile turned white (seen on Suspicious, which the pointer rested on). The hover border is the feedback. */
html body #reportPanel #reportView #reportFlowStart .report-choice-card:hover { filter: none; }

/* r3j13 (user decision 11-07): a developer account writes a report to the company picked in 조회 스코프. With none picked,
   보고하기 shows only this notice (app.js syncReportCompanyRequired); the wizard waits until a company is picked. */
html body #reportPanel #reportView[data-company-required] > :not(#reportCompanyRequired) { display: none !important; }
html body #reportPanel #reportView > #reportCompanyRequired {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  margin: 8px 0 0; padding: 16px 20px; border: 1px solid var(--sxr-line); border-radius: 12px; background: var(--sxr-card);
}
html body #reportPanel #reportView > #reportCompanyRequired[hidden] { display: none !important; }
html body #reportPanel #reportView > #reportCompanyRequired p { margin: 0; font-size: 15px; font-weight: 700; color: var(--sxr-ink); }
/* r3j14 (VQA 11-08 M5-L1): the company is picked right in the notice (the same 조회 스코프 choice) — a compact select. */
html body #reportPanel #reportView > #reportCompanyRequired select { width: auto; min-width: 200px; max-width: 100%; min-height: 44px; }
/* r3j15 (VQA 11-08 N5): the 내 보고 목록 list body (components.css) was #fff in both themes, so in dark the first row
   read as a white bar with light text. It and the row hover follow the card surface; light values are unchanged. */
.soc-profile-detail-sheet-body { background: var(--sxr-card); }
.soc-profile-detail-sheet-row:not(.is-static):hover { background: color-mix(in srgb, var(--soc-primary) 5%, var(--sxr-card)); }

/* sxui1 (user 11-09, 1안, master only): the 조회 스코프 window is one 회사 field; the chip and field show a long name in full. */
html body #myProfileScopeShell#myProfileScopeShell.soc-global-scope-overlay .soc-profile-scope-trigger { height: auto !important; }
html body #myProfileScopeShell#myProfileScopeShell.soc-global-scope-overlay .soc-profile-scope-trigger-copy small { overflow: visible !important; text-overflow: clip !important; white-space: normal !important; overflow-wrap: anywhere !important; }
html body #myProfileScopeShell#myProfileScopeShell.soc-global-scope-overlay .soc-profile-scope-popover { width: min(360px, calc(100vw - 32px)) !important; padding-bottom: 18px !important; }
html body #myProfileScopeShell#myProfileScopeShell.soc-global-scope-overlay .soc-master-query-scope-field { min-width: 0 !important; max-width: none !important; } /* an inline rule capped this field at 210px */
html body #myProfileScopeShell#myProfileScopeShell.soc-global-scope-overlay .soc-master-query-scope-field select { text-overflow: ellipsis; }

/* sxui1 (user 11-09): no caption under the map, so the map and the ECI box are the same height; the map opens large when pressed. */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelMap { position: relative; display: grid; min-height: 132px; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) #opsCommentPanelMapCanvas { position: absolute; inset: 0; width: auto; height: auto; box-sizing: border-box; }
.soc-w2-map-open { position: absolute; inset: 0; z-index: 2; margin: 0; padding: 0; border: 0; border-radius: 10px; background: transparent !important; cursor: zoom-in; } /* !important: a dark-theme button rule painted this over the map */
.soc-w2-map-open.hidden { display: none !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(.soc-w2-map-open, .sxr-attach-hint) { background: transparent !important; } /* above the dark-theme panel button rule */
.soc-w2-map-open:hover { box-shadow: inset 0 0 0 1px var(--sxr-line-strong); filter: none; }
.soc-w2-map-open:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: -2px; }
.sxr-map-viewer { width: min(960px, 92vw); height: min(720px, 86vh); padding: 0; border: 0; border-radius: 14px; background: var(--sxr-card); color: var(--sxr-ink); overflow: hidden; }
.sxr-map-viewer[open] { display: flex; flex-direction: column; }
.sxr-map-viewer::backdrop { background: rgba(15, 23, 42, .55); }
.sxr-map-viewer-head { flex: 0 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px 10px 18px; border-bottom: 1px solid var(--sxr-line-soft); }
.sxr-map-viewer-head h2 { margin: 0; font-size: 16px; font-weight: 700; line-height: 22px; }
.sxr-map-viewer-canvas { position: relative; flex: 1 1 auto; min-height: 0; }
.sxr-map-viewer-close { width: 44px; height: 44px; display: inline-grid; place-items: center; margin: 0; padding: 0; border: 0; border-radius: 8px; background: transparent !important; color: var(--sxr-ink-2) !important; cursor: pointer; filter: none; }
.sxr-map-viewer-close:hover { background: var(--sxr-head) !important; filter: none; }
.sxr-map-viewer-close:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: -2px; }
.sxr-map-viewer-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* sxui1 (user 11-09): 첨부 empty state and the add area are centred; the empty block sat in the first cell of the photo grid. The area is pressed to add. */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) .sxr-attach-section .soc-situation-attachment-empty,
html body :is(#ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) #ticketCommentPanel .soc-ticket-reference-attachment-empty { grid-column: 1 / -1 !important; width: 100% !important; display: flex !important; flex-direction: column !important; align-items: center !important; justify-content: center !important; text-align: center !important; }
.sxr-attach-hint { display: block; width: 100%; min-height: 44px; margin: 8px 0 0; background: transparent !important; text-align: center; line-height: 18px; cursor: pointer; font-family: inherit; }
.sxr-attach-hint:hover:not(:disabled) { border-color: var(--sxr-accent); color: var(--sxr-ink-2); filter: none; }
.sxr-attach-hint:focus-visible { outline: 2px solid var(--sxr-focus); outline-offset: 2px; }
.sxr-attach-hint:disabled { cursor: not-allowed; opacity: .55; }
/* sxui1: a 사건 삭제 only card button on the phone list */
.incident-more-btn.is-delete-only svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
/* sxui1: the panel 사건 삭제 button draws the outline trash, not the filled 더보기 dots */
html body #opsCommentPanelMoreBtn[data-sxr-delete-only] svg { fill: none !important; stroke: currentColor !important; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* sxui1b (compose r3i12 N1): the chip company name was a fixed #61708a, 3.40:1 on the dark chip. Dark follows the secondary text token; light is unchanged. */
:is(html[data-theme="dark"] body, html body.dark) #myProfileScopeShell#myProfileScopeShell.soc-global-scope-overlay .soc-profile-scope-trigger-copy small { color: var(--soc-text-sub) !important; }
/* sxui1b (N2): shown only after a failed read of the company list */
#myProfileScopeShell .soc-master-query-scope-retry { margin-top: 8px; min-height: 44px; }
#myProfileScopeShell .soc-master-query-scope-retry.hidden { display: none !important; }

/* sxui1c (VQA 11-09 S3-T1): the panel delete/more button keeps its 28px look; an invisible extension makes the press area 44×44. It grows
   left, into the empty head, and stops 2px short of the close button beside it (6px gap). */
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(#opsCommentPanelMoreBtn, #ticketCommentPanelMoreBtn) { position: relative !important; overflow: visible !important; }
html body :is(#alertsView#alertsView#alertsView#alertsView#alertsView, #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView) :is(#opsCommentPanel, #ticketCommentPanel) :is(#opsCommentPanelMoreBtn, #ticketCommentPanelMoreBtn)::after { content: ""; position: absolute; top: -9px; right: -3px; bottom: -9px; left: -15px; } /* offsets from the 26px padding box */
/* sxui1c: the phone card button is 32×44, widened the same way, leftwards.
   sxui1e (VQA 11-10 S3-T1b): every card 더보기 button, not only the delete-only one (「카드 메뉴 열기」 stayed 32×44). The extension is
   anchored to the button's right edge and centred on it, at least 44×44, so a smaller variant grows the same way. */
.incident-card .incident-more-btn { position: relative; overflow: visible; }
.incident-card .incident-more-btn::after { content: ""; position: absolute; top: 50%; right: 0; width: max(100%, 44px); height: max(100%, 44px); transform: translateY(-50%); }

/* D-SX-005 (SX-DEC, user decision 11-21): 상황실 filter row — 기간 「직접설정」 dates and 참여자 (대표·서포터) on a row of their own
   under the six fields, at every width (the old 「오늘」/「필터」 sheet buttons stay hidden since SX-402DEL). The row is one grid
   item across every column, so the six-field templates per width and the 「할 일 남은 사건만」 placement are untouched. Controls
   keep the row's heights: 36px from 768px up (AL-14), 44px below (SXMISC); the selects take those from the shared rules. */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card > #situationExtraFilters.sxr-situation-extra-filters:not(#sxdec) {
  grid-column: 1 / -1 !important; flex: 1 1 100% !important; display: flex !important; flex-wrap: wrap !important; align-items: flex-end !important;
  gap: 8px 10px !important; min-width: 0 !important; margin: 0 !important; padding: 0 !important;
}
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters > .soc-situation-filter-field:not([hidden]):not(#sxdec) {
  display: grid !important; gap: 4px !important; align-content: end !important; min-width: 0 !important; margin: 0 !important;
}
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters > .sxr-situation-participant-field:not(#sxdec) { flex: 0 1 240px !important; min-width: 180px !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters > .sxr-situation-participant-role-field:not(#sxdec) { flex: 0 1 150px !important; min-width: 128px !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters > .sxr-situation-date-range:not(#sxdec) { flex: 0 0 auto !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters .sxr-situation-date-inputs:not(#sxdec) { display: flex !important; align-items: center !important; gap: 6px !important; min-width: 0 !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters .sxr-situation-date-sep:not(#sxdec) { flex: 0 0 auto; color: var(--sxr-sub) !important; font-size: 13px !important; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters .sxr-situation-date-inputs > input[type="date"]:not(#sxdec) {
  box-sizing: border-box !important; width: 148px !important; min-width: 0 !important; height: 36px !important; min-height: 36px !important; margin: 0 !important; padding: 0 10px !important;
  border: 1px solid var(--sxr-line) !important; border-radius: 6px !important; background: var(--sxr-card) !important; color: var(--sxr-ink) !important; -webkit-text-fill-color: var(--sxr-ink) !important;
  font: inherit; font-size: 13px !important; font-weight: 400 !important; font-variant-numeric: tabular-nums; color-scheme: light;
}
html[data-theme="dark"] body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters .sxr-situation-date-inputs > input[type="date"]:not(#sxdec) { color-scheme: dark; }
html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters .sxr-situation-date-inputs > input[type="date"]:focus-visible:not(#sxdec) { outline: 2px solid var(--sxr-focus) !important; outline-offset: 1px !important; }
@media (max-width: 767.98px) {
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card > #situationExtraFilters.sxr-situation-extra-filters:not(#sxdec) {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; align-items: end !important; gap: 10px !important;
  }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters > .soc-situation-filter-field:not(#sxdec) { flex: none !important; width: auto !important; min-width: 0 !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters > .sxr-situation-date-range:not([hidden]):not(#sxdec) { grid-column: 1 / -1 !important; }
  /* 참여자 takes the whole row until a person is chosen and 참여 방식 appears beside it */
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters:not(:has(> #situationParticipantRoleField:not([hidden]))) > .sxr-situation-participant-field:not(#sxdec) { grid-column: 1 / -1 !important; }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters .sxr-situation-date-inputs > input[type="date"]:not(#sxdec) { flex: 1 1 0 !important; width: auto !important; height: 44px !important; min-height: 44px !important; }
}
/* SX-M5 r3 D-SX-154 (user report 11-27): from 1400px the inline desktop rule in index.html (`.soc-situation-filter-card` grid,
   min-height/height 82px !important, made for one filter row) still fixed the card at 82px after D-SX-005 added the 참여자 row, and
   the row had no `order` while the desktop rules give the fields order 2–7 and 「할 일 남은 사건만」 order 9, so it was placed second.
   The card grew three rows in an 82px box and the 기간…ECI row (and the 참여자 row) painted over the table header. The card now
   takes its content height whenever the extra row is in it, and from 1024px (where those desktop orders apply) the extra row is the
   last item, under the six fields. Below 1024px the existing order is kept (「할 일 남은 사건만」 stays where SXMISC put it). */
html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card:has(> #situationExtraFilters):not(#sxm5r3) {
  height: auto !important; max-height: none !important;
}
@media (min-width: 1024px) {
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card > #situationExtraFilters.sxr-situation-extra-filters:not(#sxm5r3) { order: 99 !important; }
}

/* ======================= SX-M1 repair (full QA 2026-11-22: D-SX-065, D-SX-063, D-SX-064, D-SX-053, D-SX-076) ======================= */
/* D-SX-065: below 1024px the bottom tab bar covers the scroller's bottom edge (R6). The sticky 미리보기 · 취소 · 발행 row of
   공지 작성/수정 sticks the tab-bar reserve higher, like the report wizard bar (N12), so 발행 is never under the bar. */
@media (max-width: 1023.98px) {
  html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-footer:not(#sxm1) { bottom: var(--sx-r6-tabbar-reserve, 56px) !important; }
  /* the row's labels stay whole words (「미리보기」, 「취소」 broke one letter per line at 402) */
  html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-footer .btn:not(#sxm1) { white-space: nowrap !important; flex: 0 0 auto; min-height: 44px !important; height: auto !important; }
  html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .sx-notice-compose-footer .notices-command-publish:not(#sxm1) { flex: 1 1 auto; min-width: 0; }
}
/* D-SX-065: the category tabs keep each word on one line (the earlier nowrap rule had a doubled selector and never applied);
   when six tabs do not fit, the tab row scrolls inside itself. */
html body #announcementPanel#announcementPanel #noticesComposePanel .sx-notice-cat-seg:not(#sxm1) { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
html body #announcementPanel#announcementPanel #noticesComposePanel .sx-notice-cat:not(#sxm1) { white-space: nowrap !important; flex: 0 0 auto !important; }
/* D-SX-065: on phones the format and insert tools wrap onto more rows instead of shrinking to 16px and overlapping
   (글자 크기 칸 over 글자색 · 배경색); every tool keeps a 44px touch area. */
@media (max-width: 767.98px) {
  html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar:not(#sxm1) { flex-wrap: wrap !important; overflow-x: visible !important; row-gap: 4px; }
  html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar-group:not(#sxm1) { flex-wrap: wrap !important; flex: 0 1 auto !important; min-width: 0 !important; max-width: 100%; }
  html body #announcementPanel#announcementPanel#announcementPanel #noticesComposePanel .notices-compose-toolbar :is(button, select, input, label.notices-toolbar-item):not([hidden]):not(#sxm1) { flex: 0 0 auto !important; min-width: 44px !important; min-height: 44px !important; }
}
/* D-SX-063: a line of exactly --- in a notice is drawn as a rule in the read views (detail, 미리보기). */
html body .notices-rich-content .notices-rich-divider { display: block; height: 0; margin: 12px 0; border: 0; border-top: 1px solid var(--sxr-line, #DCDCDC); }
/* D-SX-064: the link dialog's refusal line under the address field. */
html body #noticesLinkModal#noticesLinkModal .notices-link-modal-error { margin: 6px 0 0; color: #ba2538 !important; -webkit-text-fill-color: currentColor; font-size: 13px; line-height: 1.45; } /* DESIGN danger text tone (>= 4.5:1) */
:is(html[data-theme="dark"] body, html body.dark) #noticesLinkModal#noticesLinkModal .notices-link-modal-error { color: #ff9ca7 !important; }
html body #noticesLinkModal .notices-link-modal-error[hidden] { display: none; }
/* D-SX-053: on the phone shell (below 768px and at 200 % text, no soc-desktop-adaptive) the people filter row is a column
   (W6d). The <1280 wrap rule (PL-4) let that column wrap: the 목록형·카드형 toggle went to a second column right of the
   filters (x 380–729 at 402) and #peopleView scrolled sideways. The column stays one column; the toggle is its last row. */
@media (max-width: 1023.98px) {
  html body:not(.soc-desktop-adaptive):not(.soc-auth-shell-active) #peopleView#peopleView#peopleView#peopleView#peopleView #peopleHubEmployeesPane .soc-employee-directory-toolbar-row:not(#sxm1) { flex-wrap: nowrap !important; }
  html body:not(.soc-desktop-adaptive):not(.soc-auth-shell-active) #peopleView#peopleView#peopleView#peopleView#peopleView #peopleHubEmployeesPane .soc-employee-directory-toolbar-main:not(#sxm1) { flex: 0 0 auto !important; }
  html body:not(.soc-desktop-adaptive):not(.soc-auth-shell-active) #peopleView#peopleView#peopleView#peopleView#peopleView #peopleHubEmployeesPane .soc-employee-directory-toolbar-summary:not(#sxm1) { width: 100% !important; margin-left: 0 !important; }
}
/* D-SX-076: the ranking table is fixed layout with fixed and percentage columns; the 이름 column only got what was left
   (0px at 1366 with the detail open, 4px at 200 %, 0px at 402). The card is a size container; where it is narrow the
   columns the detail panel repeats go first, so the name always has room: below 900px of card 「점수 구성」, below 600px also
   사이트 · 직급 · 중요 (on a phone: 순위 · 이름 · 총점 · 대표/서포트; the row still opens the detail with the rest). */
html body #employeeScorePanel .sx-score-card.sx-score-ranking:not(#sxm1) { container: sxm1scorerank / inline-size; }
@container sxm1scorerank (max-width: 899.98px) {
  .sx-score-table :is(th, td):nth-child(5) { display: none; }
}
@container sxm1scorerank (max-width: 599.98px) {
  .sx-score-table :is(th, td):is(:nth-child(3), :nth-child(4), :nth-child(8)) { display: none; }
  .sx-score-table tbody tr.is-selected > td:nth-child(7) { box-shadow: inset -2px 0 0 var(--sxr-select-line), inset 0 2px 0 var(--sxr-select-line), inset 0 -2px 0 var(--sxr-select-line); border-radius: 0 8px 8px 0; }
}
/* D-SX-076: 상위 3명 below 768px is one column (three columns of a phone card left no room for the name). */
@media (max-width: 767.98px) {
  html body #employeeScorePanel .sx-score-cards > .sx-score-card:nth-child(3) .sx-score-top:not(#sxm1) { grid-template-columns: minmax(0, 1fr) !important; }
}
/* D-SX-079: a failed read hides the previous period's board (app.js sets [hidden]; .sx-score-board's display:flex outranked it). */
html body #employeeScorePanel #sxScoreBoard.sx-score-board[hidden] { display: none !important; }

/* ======================= SX-M2 repair (full QA 2026-11-22: D-SX-120, D-SX-122, D-SX-123, D-SX-127) ======================= */
/* D-SX-120: the hidden photo input (#ticketCommentPanelAttachInput, D-SX-008) is absolutely positioned. Its section had no
   position, so its containing block was the outer #ticketCommentPanel (overflow hidden) and its static place under the
   attachments made that panel 116px taller than its box. Tabbing to 「사진 첨부」 then scrolled the outer panel, the header
   (#번호 · 상태 변경 · ⋯ · ×) left the panel and stayed off until a reload. The section is the input's containing block now,
   inside the one scroll owner (.sxr-detail-scroll). */
html body #ticketsView #ticketCommentPanel .soc-ticket-attachment-panel-section:not(#sxm2) { position: relative; }
/* D-SX-123: the one-line filter summary above the 상황실 KPI cards belongs to the retired compact filter sheet. From 768px up
   the filter card itself shows every chosen value, and the extra line pushed the cards under the filter card (1366: cards
   127–199px, search field from 199px). It stays below 768px, where it now names the chosen person (ui.js). */
@media (min-width: 768px) {
  html body #alertsView#alertsView #alertsFilterSummary.soc-alerts-filter-compact-summary:not(#sxm2) { display: none !important; }
}
/* D-SX-122: in the dark theme from 1024px up the six fields take the dark control surface from an inline rule that names
   each select by id (index.html, 「html[data-theme=dark] body.dark… #situationStatusFilterSelect」). The 참여자 · 참여 방식
   selects added with the extra row (D-SX-005) were not in that list, so the shared light rule (white) won while the dark
   text stayed (about 1.1:1). They take the same dark values; the light theme is unchanged. */
html[data-theme="dark"] body.dark #alertsView#alertsView#alertsView#alertsView#alertsView #situationExtraFilters select:not(#sxm2) {
  background: var(--soc-control-bg) !important; background-color: var(--soc-control-bg) !important;
  border-color: var(--soc-control-border) !important; color: var(--soc-text-primary) !important;
  -webkit-text-fill-color: var(--soc-text-primary) !important; opacity: 1 !important; box-shadow: none !important; color-scheme: dark;
}
/* D-SX-020: on a phone the company detail tab strip scrolls sideways (overflow-x auto), so a focused tab's outside ring is
   cut by the strip. master-console.js now scrolls the focused tab into the strip; the ring is drawn inset like other
   controls inside clipping containers (DESIGN focus-ring rule). */
html body #masterConsolePanel .mcp-tabs .mcp-tab:focus-visible:not(#sxm2) { outline-offset: -2px !important; }

/* ======================= SX-M3 repair (full QA 2026-11-23: D-SX-063, 078, 130, 132, 134, 135) ======================= */
/* D-SX-063: inside the notice editor a divider line (the saved text line 「---」) is drawn as a rule as in the read views. The
   editor wraps that line in one non-editable span (announcement-workspace.js decorateEditorDividerLines); the text stays in
   the DOM for the saved value and is painted transparent. */
html body .notices-rich-divider-edit:not(#sxm3) {
  display: inline-block; width: 100%; height: 1.2em; vertical-align: middle; user-select: none; cursor: default;
  color: transparent !important; -webkit-text-fill-color: transparent !important; caret-color: transparent;
  background: linear-gradient(var(--sxr-line, #dcdcdc), var(--sxr-line, #dcdcdc)) center / 100% 1px no-repeat;
}
/* D-SX-078: the 「사이트별 평균」 rows are the way to one site (the old comparison block stays hidden); 「전체 보기」 goes back. */
html body #employeeScorePanel .sx-score-card-head:not(#sxm3) { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
html body #employeeScorePanel .sx-score-card-head .sx-score-card-title { margin-bottom: 6px; }
html body #employeeScorePanel .sx-score-sites li.has-pick:not(#sxm3) { display: block; }
html body #employeeScorePanel .sx-score-site-pick:not(#sxm3) {
  display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) 52px; gap: 12px; align-items: center; width: 100%;
  min-height: 44px; margin: -6px 0; padding: 0 6px; border: 0; border-radius: 8px; background: transparent; font: inherit;
  font-size: 13px; color: inherit; text-align: left; cursor: pointer;
}
html body #employeeScorePanel .sx-score-site-pick > span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 700; color: var(--sxr-ink); }
html body #employeeScorePanel .sx-score-site-pick:hover { background: var(--sxr-chip); }
html body #employeeScorePanel .sx-score-site-pick:focus-visible { outline: 2px solid var(--ui-focus-color, #111827); outline-offset: -2px; }
html body #employeeScorePanel .sx-score-site-all:not(#sxm3) { min-height: 44px; padding: 0 4px; }
@media (min-width: 768px) {
  html body #employeeScorePanel .sx-score-site-pick:not(#sxm3), html body #employeeScorePanel .sx-score-site-all:not(#sxm3) { min-height: 40px; }
}
/* D-SX-130: below 600px the people table's fixed columns (84 + 100 + 92 + 96px) took the whole card, so 직원명 and 사이트
   folded to 0px and the avatar sat over 직원번호. The table keeps a 640px floor there and its own wrapper
   (#peopleDirectoryGridWrap, overflow-x auto) scrolls sideways; the page itself does not. */
@media (max-width: 599.98px) {
  html body #peopleView#peopleView#peopleView#peopleView#peopleView#peopleView .soc-employee-directory-table:not(#sxm3) { min-width: 640px !important; }
}
/* D-SX-132 · D-SX-134 · D-SX-135: standard controls from 768px are 40px (DESIGN --ui-control-h-desktop). Below 768px they keep 44px. */
@media (min-width: 768px) {
  html body #employeeScorePanel#employeeScorePanel #employeeScoreErrorState button.ds-btn:not(#sxm3),
  html body #opsSupportPanel#opsSupportPanel #opsSupportCommandRecovery button.ds-btn:not(#sxm3) {
    height: 40px !important; min-height: 40px !important;
  }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card :is(
    #situationPeriodFilterSelect, #situationSiteFilterSelect, #situationTypeFilterSelect, #situationStatusFilterSelect,
    #situationEciFilterSelect, #situationParticipantFilterSelect, #situationParticipantRoleSelect,
    #situationDateFromInput, #situationDateToInput):not(#sxm3) {
    height: 40px !important; min-height: 40px !important;
  }
  html body #alertsView#alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-filter-card #situationTodoOnlyWrap:not(#sxm3) {
    min-height: 40px !important;
  }
}
/* D-SX-110: an exception whose sheet write failed shows 「시트 미반영」 in the exception list (danger tone, text + colour). */
html body #googleSheetsPanel.soc-apple-weekly-mode .soc-apple-weekly-exception-status.is-unsynced:not(#sxm3) {
  border-color: color-mix(in srgb, var(--soc-danger) 30%, transparent);
  background: color-mix(in srgb, var(--soc-danger) 10%, var(--soc-card-bg));
  color: var(--soc-danger-deep);
}
html[data-theme="dark"] body #googleSheetsPanel.soc-apple-weekly-mode .soc-apple-weekly-exception-status.is-unsynced:not(#sxm3) { color: #ff9ca7; }
/* D-SX-117: while the 주간 보고 「기간·범위 설정」 sheet is open the floating 도우미 pill (1366: over the 「KPI 요약」 switch)
   stays out of the way; it comes back when the sheet closes. */
html body.weekly-builder-open #supportChatbotLauncher:not(#sxm3) { visibility: hidden !important; pointer-events: none !important; }

/* ======================= SX-M4 repair (full QA 2026-11-23: D-SX-137, 138, 139) ======================= */
/* D-SX-137: from 1024px the 상황실 summary cards and filters sat in one column capped at 40% of the view (a scroll box). At
   1280–1439 the filters wrap to three rows (196px, 264px with 「직접설정」 dates), more than that cap, and the filter card's
   sticky bottom:0 pulled it up over the cards (numbers hidden, clicks went to the filters). The column now takes its full
   height (as 1024–1279 already did) and the filter card stays in flow; the incident list below takes the rest. */
@media (min-width: 1024px) {
  html body:not(.soc-auth-shell-active) #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-reference-controls.soc-situation-reference-controls:not(#sxm4) {
    max-height: none !important; overflow: visible !important;
  }
  html body:not(.soc-auth-shell-active) #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-reference-controls > .soc-situation-filter-card.soc-situation-filter-card:not(#sxm4) {
    position: relative !important; top: auto !important; bottom: auto !important;
  }
  /* with less room left for the list (1024–1439 × 768, 「직접설정」), the empty message starts at the top of its box and
     scrolls there instead of growing up over the table header */
  html body #alertsView#alertsView#alertsView#alertsView#alertsView .soc-situation-main-grid .soc-situation-empty-state.sx-empty-state:not(#sxm4) {
    justify-content: safe center !important; overflow-y: auto !important; min-height: 0 !important;
  }
}
/* D-SX-138: the chosen 기간 shows in the dark theme too (it looked like the other two), and the 범위 radios keep a small
   circle and one line of text (the radio took the input width and the text wrapped to 「전체 / 사이 / 트」). */
:is(html[data-theme="dark"] body, html body.dark) #weeklyBuilderPeriodChips#weeklyBuilderPeriodChips#weeklyBuilderPeriodChips .ds-btn:is(.active, [aria-pressed="true"]):not(#sxm4) {
  background: var(--sxr-accent-fill) !important; color: var(--sxr-accent-ink) !important; border-color: var(--sxr-accent) !important;
}
html body #weeklyBuilderScopeControls#weeklyBuilderScopeControls .soc-weekly-builder-scope-option:not(#sxm4) {
  display: inline-flex !important; align-items: center !important; gap: 8px !important; min-height: 40px !important; width: auto !important; cursor: pointer;
}
html body #weeklyBuilderScopeControls#weeklyBuilderScopeControls .soc-weekly-builder-scope-option > input[type="radio"]:not(#sxm4) {
  flex: 0 0 18px !important; width: 18px !important; height: 18px !important; min-width: 0 !important; min-height: 0 !important; margin: 0 !important; padding: 0 !important;
}
html body #weeklyBuilderScopeControls#weeklyBuilderScopeControls .soc-weekly-builder-scope-option > span:not(#sxm4) { white-space: nowrap !important; flex: 0 0 auto !important; }
@media (max-width: 767.98px) {
  html body #weeklyBuilderScopeControls#weeklyBuilderScopeControls .soc-weekly-builder-scope-option:not(#sxm4) { min-height: 44px !important; }
}
/* D-SX-139: ticket detail panel controls from 768px: 40px (head 「티켓 더보기」·「상세 패널 닫기」 were 28×28, the status pill and
   the attachments' 「다운로드」 32px tall). The icons keep their size; only the hit box grows. */
@media (min-width: 768px) {
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel#ticketCommentPanel .sxr-detail-head-actions .sxr-icon-btn:not(#sxm4) {
    width: 40px !important; height: 40px !important; min-width: 40px !important; min-height: 40px !important; max-height: none !important;
  }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel#ticketCommentPanel #ticketCommentPanelCloseBtn.sxr-status-pill:not(#sxm4) {
    height: auto !important; min-height: 40px !important; max-height: none !important;
  }
}
@media (min-width: 1024px) {
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketCommentPanel#ticketCommentPanel .attachment-actions > :is(button, a):not(#sxm4) {
    height: auto !important; min-height: 40px !important; max-height: none !important;
  }
}

/* SX-M6 (C8 VQA 관찰): 서버가 거절한 발생·종료 시각 문구를 그 칸 아래에 남김(app.js showIncidentTimeFieldError). 일반·행사 같은 양식. */
html body .report-form-field > .w4-field-error,
html body .w4-closed-field > .w4-field-error { display: block; margin-top: 4px; font-size: 13px; font-weight: 500; line-height: 18px; color: var(--sxr-red); }
html body .report-form-field > .w4-field-error[hidden],
html body .w4-closed-field > .w4-field-error[hidden] { display: none; }

/* SX-M7 D-SX-157: 이용 기간 띠 — HR과 같은 띠(HR-M7 BAND-SPEC §4·§5). 만료 임박·유예 = 주의색, 읽기 전용·정지 = 위험색, 네 변 1px 테두리
   (왼쪽 막대·밑줄 강조 없음), 아이콘·배경 칸 없음, 닫기 없음. 한국어는 낱말 단위로만 줄바꿈(keep-all). 토큰 값은 HR theme-system.css와 같다. */
html body #sxEntitlementBand.sx-entitlement-band {
  --sx-ent-warning-bg: #fffbeb; --sx-ent-warning-border: rgba(245, 158, 11, 0.28); --sx-ent-warning-text: #92400e;
  --sx-ent-danger-bg: #fef2f2; --sx-ent-danger-border: rgba(220, 38, 38, 0.24); --sx-ent-danger-text: #991b1b;
  display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; flex: 0 0 auto !important; box-sizing: border-box;
  /* 본문 상자 자식 공용 높이 규칙(.container.ds-page > * = 창 높이)을 받지 않는다: 띠 높이는 글 길이만큼 */
  height: auto !important; min-height: 0 !important; max-height: none !important; overflow: visible !important;
  margin: 0 0 12px; padding: 10px 14px; border: 1px solid var(--sx-ent-warning-border); border-radius: 8px;
  background: var(--sx-ent-warning-bg); color: var(--sx-ent-warning-text); font-size: 14px; line-height: 1.5;
}
html[data-theme="dark"] body #sxEntitlementBand.sx-entitlement-band,
body.dark #sxEntitlementBand.sx-entitlement-band {
  --sx-ent-warning-bg: rgba(245, 158, 11, 0.16); --sx-ent-warning-border: rgba(245, 158, 11, 0.32); --sx-ent-warning-text: #fcd58a;
  --sx-ent-danger-bg: rgba(248, 113, 113, 0.14); --sx-ent-danger-border: rgba(248, 113, 113, 0.30); --sx-ent-danger-text: #fecaca;
}
html body #sxEntitlementBand.sx-entitlement-band:is([data-notice="read_only"], [data-notice="suspended"]) {
  border-color: var(--sx-ent-danger-border); background: var(--sx-ent-danger-bg); color: var(--sx-ent-danger-text);
}
html body #sxEntitlementBand .sx-entitlement-band-title { font-weight: 800; }
html body #sxEntitlementBand :is(.sx-entitlement-band-title, .sx-entitlement-band-body) { min-width: 0; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty; }
/* 1024 이상: 본문 상자(main) 안 화면 칸은 창 높이에 맞춘 고정 높이라 띠 한 줄만큼 아래로 밀려 본문 상자가 따로 스크롤되었다(HR D-HR-198과 같은
   꼴). 띠가 있을 때만 본문 상자를 세로 줄 나눔(띠 auto · 화면 남은 높이)으로 바꿔, 보이는 화면 칸이 남은 높이를 채우고 그 안의 스크롤 주인이
   그대로 스크롤한다. 1023 이하는 블록 흐름(띠 · 머리 · 본문 순서로 쌓이고 본문 상자가 스크롤 주인) 그대로. */
@media (min-width: 1024px) {
  html body:not(.soc-auth-shell-active) main.container.admin-layout:has(> #sxEntitlementBand) { display: flex !important; flex-direction: column !important; }
  html body:not(.soc-auth-shell-active) main.container.admin-layout:has(> #sxEntitlementBand) > :not(#sxEntitlementBand):not(#menuSheetPanel):not(.hidden) {
    flex: 1 1 auto !important; min-height: 0 !important; height: auto !important; max-height: none !important;
  }
}

/* SX-M7 r3 D-SX-003: 티켓 「티켓 제목 검색」은 감싸는 칸(테두리)이 40px인데 안의 입력이 36px라 누르는 곳이 칸보다 작았고, 빈 목록
   「필터 초기화」가 1024 이상에서 38px였다. 768 이상: 감싸는 칸 40px·입력은 그 안쪽 높이를 채움(상황실 검색과 같은 규칙), 초기화 단추 40px.
   767 이하는 휴대폰 규칙(44px) 그대로. */
@media (min-width: 768px) {
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar .soc-ticket-reference-search.soc-ticket-reference-search { height: 40px !important; min-height: 40px !important; box-sizing: border-box !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView #ticketReferenceFilterBar #ticketReferenceSearchInput#ticketReferenceSearchInput { height: 100% !important; min-height: 0 !important; box-sizing: border-box !important; }
  html body #ticketsView#ticketsView#ticketsView#ticketsView#ticketsView .soc-ticket-empty-reset-btn.soc-ticket-empty-reset-btn { height: 40px !important; min-height: 40px !important; }
}
