:root {
  color-scheme: light;
  --ink: #17241d;
  --muted: #64736a;
  --line: #d9e2dc;
  --surface: #ffffff;
  --page: #f3f7f4;
  --green: #087a4d;
  --green-soft: #e6f5ed;
  --blue: #2f6fa5;
  --blue-soft: #eaf3fb;
  --amber: #9a6508;
  --amber-soft: #fff5df;
  --red: #b7352b;
  --red-soft: #fff0ee;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", sans-serif;
}

button, a { font: inherit; }

.operations-shell {
  display: grid;
  grid-template-columns: 236px minmax(0, 1fr);
  min-height: 100vh;
}
.operations-surface { min-width: 0; }
.global-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 24px;
  height: 100vh;
  padding: 24px 16px 18px;
  color: #dcebe3;
  background: #082f22;
  box-shadow: 8px 0 24px rgba(8, 47, 34, .12);
}
.sidebar-brand {
  display: grid;
  grid-template-columns: 38px 1fr;
  grid-template-rows: auto auto;
  gap: 1px 10px;
  align-items: center;
  color: #fff;
  text-decoration: none;
}
.sidebar-brand > span {
  grid-row: 1 / 3;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border-radius: 11px;
  background: #1f9b65;
  font-weight: 900;
}
.sidebar-brand strong { font-size: 13px; letter-spacing: .08em; }
.sidebar-brand small { color: #9fc7b4; font-size: 11px; }
.global-menu { display: grid; gap: 7px; }
.global-menu a {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 12px;
  color: #bcd2c6;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.global-menu a:hover, .global-menu a.active { color: #fff; background: #13543b; }
.global-menu a span { width: 18px; color: #6bd49f; text-align: center; }
.sidebar-boundary {
  display: grid;
  gap: 5px;
  margin-top: auto;
  padding: 12px;
  border: 1px solid #2b694e;
  border-radius: 10px;
  background: #0c3b2a;
}
.sidebar-boundary strong { color: #fff; font-size: 12px; }
.sidebar-boundary span { color: #ffdd8b; font-size: 11px; font-weight: 800; }
.sidebar-boundary small { color: #9fc7b4; line-height: 1.5; }
.menu-anchor { scroll-margin-top: 16px; }

.beta-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px clamp(20px, 4vw, 64px);
  color: #fff;
  background: #0b3828;
}

.beta-header h1 { margin: 3px 0 8px; font-size: clamp(27px, 3vw, 42px); }
.beta-header p { margin: 0; color: #cce3d7; }
.eyebrow { margin: 0; color: #35b878; font-size: 12px; font-weight: 800; letter-spacing: .16em; }

.legacy-link, .task-link, .process-node {
  text-decoration: none;
}

.legacy-link {
  flex: none;
  padding: 11px 15px;
  color: #fff;
  border: 1px solid #5b8b75;
  border-radius: 9px;
}

.program-panel {
  margin-top: 0;
}

.program-panel .program-center {
  background: var(--surface);
}

main {
  display: grid;
  width: 100%;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  margin: 0;
  padding: 18px clamp(14px, 3vw, 42px) 42px;
}
main > * { grid-column: 1; }
/* 2026-10-07 시안 v3 A: 본문을 계정 현황처럼 가운데(최대 1540px). styles.css 의 `body main`(왼쪽 붙음)을 더 구체적인 선택자로 덮어씀 */
body[data-dashboard-view] main { width: min(1540px, 100%); margin: 0 auto; }

.board-toolbar, .board-section {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.operator-priority {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.operator-priority-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.operator-priority-card {
  display: grid;
  min-width: 0;
  gap: 7px;
  padding: 14px;
  border: 1px solid var(--line);
  border-top: 4px solid #8c98a3;
  border-radius: 11px;
  background: #fff;
}

.operator-priority-card.action { border-top-color: var(--green); }
.operator-priority-card.schedule { border-top-color: var(--blue); }
.operator-priority-card.issue { border-top-color: var(--amber); }
.operator-priority-card.monthly { border-top-color: #7465aa; }
.operator-priority-card span { color: var(--muted); font-size: 11px; font-weight: 900; }
.operator-priority-card strong { font-size: 19px; }
.operator-priority-card p { min-height: 38px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.operator-priority-card a { justify-self: start; color: var(--green); font-size: 12px; font-weight: 900; text-decoration: none; }

.publication-availability { display: grid; gap: 14px; padding: 18px; }
.overview-tools-link { align-self: center; padding: 8px 11px; color: var(--green); border: 1px solid #b8d4c5; border-radius: 8px; text-decoration: none; font-size: 12px; font-weight: 900; }
.publication-summary-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.publication-summary-cards article { display: grid; gap: 7px; padding: 14px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.publication-summary-cards span { color: var(--muted); font-size: 11px; font-weight: 900; }
.publication-summary-cards strong { font-size: 22px; }
.publication-summary-cards small { color: var(--muted); line-height: 1.45; }
.availability-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 10px; }
.availability-table { width: 100%; min-width: 780px; border-collapse: collapse; }
.availability-table th, .availability-table td { padding: 11px; border-bottom: 1px solid var(--line); text-align: center; font-size: 12px; }
.availability-table th:first-child { text-align: left; }
.availability-table thead th { color: var(--muted); background: var(--paper); }
.availability-table a { color: var(--green); font-weight: 900; text-decoration: none; }
.availability-unknown { color: var(--amber); font-weight: 900; }

.board-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
}

.board-toolbar small { display: block; margin-top: 4px; color: var(--muted); }
.board-toolbar button {
  padding: 9px 12px;
  color: #fff;
  border: 0;
  border-radius: 8px;
  background: var(--green);
  cursor: pointer;
}
.board-toolbar button:disabled { opacity: .55; cursor: wait; }

.board-section { padding: 18px; }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 0 0 14px; }
.section-heading h2 { margin: 3px 0 0; font-size: 20px; }
.section-heading > p { margin: 0; color: var(--muted); font-size: 13px; }
.section-count { color: var(--green); font-weight: 800; }

.monthly-goal-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.monthly-card { position: relative; padding: 17px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; }
.monthly-card::before { position: absolute; inset: 0 auto 0 0; width: 5px; content: ""; background: var(--green); }
.monthly-card.warning::before { background: var(--amber); }
.monthly-card.danger::before { background: var(--red); }
.monthly-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.monthly-card h3 { margin: 0; font-size: 18px; }
.judgement { padding: 5px 9px; border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 12px; font-weight: 800; }
.warning .judgement { color: var(--amber); background: var(--amber-soft); }
.danger .judgement { color: var(--red); background: var(--red-soft); }
.monthly-product-list { display: grid; gap: 12px; }
.monthly-product-row { display: grid; gap: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.monthly-product-row:first-child { padding-top: 0; border-top: 0; }
.monthly-product-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.monthly-product-head > strong { font-size: 14px; }
.product-judgement { color: var(--green); font-size: 11px; font-weight: 800; }
.monthly-product-row.warning .product-judgement { color: var(--amber); }
.monthly-product-row.danger .product-judgement { color: var(--red); }
.monthly-product-row.optional .product-judgement { color: var(--muted); }
.monthly-numbers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.monthly-numbers span { display: grid; gap: 4px; padding: 10px; border-radius: 9px; background: #f6f8f7; color: var(--muted); font-size: 12px; }
.monthly-numbers strong { color: var(--ink); font-size: 18px; }

.work-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: 16px; align-items: start; }
.action-groups { display: grid; gap: 16px; }
.action-group h3 { margin: 0 0 8px; color: var(--muted); font-size: 14px; }
.task-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.task-card { padding: 14px; border: 1px solid var(--line); border-left: 4px solid var(--green); border-radius: 10px; background: #fff; }
.task-card.waiting { border-left-color: var(--amber); }
.task-card.in_progress { border-left-color: var(--blue); }
.task-card.partial_complete { border-left-color: var(--amber); background: var(--amber-soft); }
.task-card.blocked { border-left-color: var(--red); }
.task-top { display: flex; justify-content: space-between; gap: 10px; }
.task-top strong { font-size: 15px; }
.task-status { flex: none; color: var(--green); font-size: 12px; font-weight: 800; }
.task-card.waiting .task-status { color: var(--amber); }
.task-card.in_progress .task-status { color: var(--blue); }
.task-card.partial_complete .task-status { color: var(--amber); }
.task-card.blocked .task-status { color: var(--red); }
.task-card p, .task-card small { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.task-card small { display: block; font-size: 12px; }
.task-card .task-metric, .task-card small .metric-line { color: var(--green); font-weight: 800; }
.task-warning { margin-top: 9px; padding: 8px; color: var(--red); border-radius: 7px; background: var(--red-soft); font-size: 12px; }
.task-link { display: inline-block; margin-top: 11px; padding: 8px 10px; color: #fff; border-radius: 7px; background: var(--green); font-size: 12px; font-weight: 800; }
.task-link { border: 0; cursor: pointer; }
.primary-action { padding: 12px; border: 2px solid var(--green); border-radius: 12px; background: var(--green-soft); }
.primary-action > h3, .following-actions > h3 { margin: 0 0 10px; font-size: 14px; }
.primary-action .task-card { border-left-width: 6px; }
.following-actions { display: grid; gap: 14px; }

.bottleneck-section { position: sticky; top: 12px; }
.bottleneck-list { display: grid; gap: 9px; }
.bottleneck-item { padding: 12px; border-radius: 9px; background: var(--amber-soft); }
.bottleneck-item.danger { background: var(--red-soft); }
.bottleneck-item.waiting { background: var(--blue-soft); }
.bottleneck-item strong { display: block; color: var(--amber); font-size: 13px; }
.bottleneck-item.danger strong { color: var(--red); }
.bottleneck-item.waiting strong { color: var(--blue); }
.bottleneck-item p { margin: 5px 0 0; color: var(--ink); font-size: 13px; line-height: 1.5; }
.empty-good { padding: 16px; color: var(--green); border-radius: 9px; background: var(--green-soft); }

.process-overview { display: grid; gap: 16px; }
.process-lane h3 { margin: 0 0 9px; font-size: 15px; }
.process-track { display: grid; gap: 7px; overflow-x: auto; }
.process-track.steps-4 { grid-template-columns: repeat(4, minmax(180px, 1fr)); }
.process-track.steps-6 { grid-template-columns: repeat(6, minmax(160px, 1fr)); }
.process-track.steps-7 { grid-template-columns: repeat(7, minmax(150px, 1fr)); }
.process-stage { display: grid; align-content: start; gap: 5px; min-width: 0; }
.process-node { display: grid; min-width: 120px; min-height: 104px; padding: 12px; color: var(--ink); border: 1px solid var(--line); border-top: 4px solid #a8b3ad; border-radius: 9px; background: #fff; }
.process-node { width: 100%; text-align: left; cursor: pointer; }
.process-node.pending, .process-node.ready { border-top-color: var(--green); background: var(--green-soft); }
.process-node.in_progress { border-top-color: var(--blue); background: var(--blue-soft); }
.process-node.completed { border-top-color: var(--blue); background: var(--blue-soft); }
.process-node.partial_complete { border-top-color: var(--amber); background: var(--amber-soft); }
.process-node.waiting, .process-node.optional { border-top-color: var(--amber); background: var(--amber-soft); }
.process-node.blocked, .process-node.needs_review { border-top-color: var(--red); background: var(--red-soft); }
.process-node .node-status { color: var(--muted); font-size: 11px; font-weight: 800; }
.process-node strong { align-self: center; font-size: 14px; }
.process-node small { color: var(--muted); line-height: 1.35; white-space: pre-line; }
.detail-line { display: block; }
.detail-line + .detail-line { margin-top: 3px; }
.process-node small .metric-line { color: var(--green); font-weight: 800; }
.process-accounts { display: grid; gap: 6px; padding: 7px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.process-accounts div { display: flex; flex-wrap: wrap; gap: 4px; }
.process-accounts code { padding: 2px 5px; border-radius: 4px; background: var(--paper); color: var(--ink); font-size: 11px; overflow-wrap: anywhere; }
.copy-accounts { justify-self: stretch; padding: 6px 8px; border: 1px solid var(--green); border-radius: 6px; background: var(--green-soft); color: var(--green); font-weight: 800; cursor: pointer; }
.related-tabs { padding: 0 6px; color: var(--muted); font-size: 11px; }
.related-tabs summary { overflow: hidden; cursor: pointer; text-overflow: ellipsis; white-space: nowrap; }
.related-tabs span { display: block; margin-top: 3px; overflow-wrap: anywhere; }

.compact-section { padding-block: 13px; }
.compact-section summary { cursor: pointer; font-weight: 800; }
.completed-list { display: grid; gap: 6px; margin-top: 12px; }
.completed-row { display: flex; justify-content: space-between; gap: 12px; padding: 8px; border-bottom: 1px solid var(--line); font-size: 13px; }
.completed-row span:last-child { color: var(--muted); }

.workflow-section .steps {
  margin: 0 0 18px;
  border: 1px solid var(--line);
  box-shadow: none;
}
.workflow-heading-side { display: flex; align-items: center; gap: 12px; }
.workflow-heading-side p { margin: 0; color: var(--muted); font-size: 13px; }
.workflow-heading-side .connection,
.workflow-heading-side .connection.online { border-color: #8fc9ad; background: #e8f5ee; color: #087a4d; }
.workflow-section .connection { flex: none; }
.workflow-section .process-grid { margin-bottom: 18px; }
.workflow-section .workspace { margin-top: 0; }

.module-preparation {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
}

.manuscript-source { margin: 18px 0; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcff; }
.manuscript-source-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.manuscript-source-head h3, .manuscript-source-head p { margin: 0; }
.manuscript-source-head p:last-child { margin-top: 6px; color: var(--muted); font-size: 13px; }
.manuscript-source-status { margin-top: 12px; padding: 10px 12px; border-radius: 9px; background: #f0f3f8; font-size: 12px; }
.manuscript-source-controls { display: grid; grid-template-columns: minmax(260px, 1fr) 100px auto; gap: 10px; align-items: end; margin-top: 12px; }
.manuscript-source-controls label { display: grid; gap: 5px; font-size: 12px; font-weight: 800; }
.manuscript-source-controls select, .manuscript-source-controls input { min-height: 40px; padding: 8px; border: 1px solid var(--line); border-radius: 8px; background: white; }
.manuscript-rows { margin-top: 12px; overflow-x: auto; }
.manuscript-rows table { width: 100%; border-collapse: collapse; }
.manuscript-rows th, .manuscript-rows td { padding: 9px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 12px; }
.manuscript-selection { margin-top: 12px; padding: 14px; border: 1px solid #a9bddb; border-radius: 10px; background: white; }
.manuscript-selection h4 { margin: 0 0 8px; }
.manuscript-selection pre { margin: 10px 0; max-height: 320px; overflow: auto; white-space: pre-wrap; font: inherit; }
.manuscript-selection .refresh-required { color: #9b2c2c; font-weight: 900; }

.sync-state-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  margin: 0 0 14px;
  padding: 13px 15px;
  border: 1px solid #ead2a1;
  border-radius: 11px;
  background: #fff9ec;
}
.sync-state-main { display: grid; gap: 7px; min-width: 0; }
.sync-state-main > div { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sync-state-main > div > span { color: var(--muted); font-size: 11px; font-weight: 800; }
.sync-status { display: inline-flex; padding: 3px 7px; border-radius: 999px; font-size: 11px; }
.sync-status.blocked, .sync-status.failed { color: #9a5a00; background: #ffe9bd; }
.sync-status.succeeded { color: #087a4d; background: #e6f5ed; }
.sync-status.syncing { color: #2f6fa5; background: #eaf3fb; }
.sync-state-panel dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px 14px; min-width: 0; margin: 0; }
.sync-state-panel dl > div { min-width: 0; }
.sync-state-panel dt { color: var(--muted); font-size: 10px; font-weight: 800; }
.sync-state-panel dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 800; }
.sync-state-heading { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.sync-state-heading strong { font-size: 13px; }
.sync-state-grid { display: flex; flex-wrap: wrap; gap: 7px 14px; color: var(--muted); font-size: 11px; }
.sync-state-grid b { color: var(--ink); }
.sync-state-main p { margin: 0; overflow-wrap: anywhere; color: var(--muted); font-size: 11px; }
.sync-state-action { display: grid; justify-items: end; gap: 5px; }
.sync-state-action button { cursor: pointer; opacity: 1; }
.sync-state-action button:disabled { cursor: not-allowed; opacity: .58; }
.sync-state-action small { max-width: 190px; color: var(--muted); font-size: 10px; text-align: right; }
.sync-technical-details { grid-column: 1 / -1; border-top: 1px solid #ead2a1; padding-top: 9px; }
.sync-technical-details > summary { color: #6b5b39; cursor: pointer; font-size: 11px; font-weight: 800; }
.sync-technical-details > p { margin: 9px 0; color: var(--muted); font-size: 11px; }
.sync-technical-details > small { display: block; margin-top: 9px; color: var(--muted); }
.module-preparation-head { display: flex; justify-content: space-between; gap: 18px; align-items: flex-start; }
.module-preparation-head h3 { margin: 4px 0 0; font-size: 19px; }
.module-preparation-head p:last-child { margin: 7px 0 0; color: var(--muted); font-size: 13px; }
.tool-subnav { display: flex; flex-wrap: wrap; gap: 7px; }
.tool-subnav a {
  padding: 7px 10px;
  color: var(--green);
  border: 1px solid #bed6c9;
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}
.module-preparation-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.module-card {
  display: grid;
  align-content: start;
  gap: 9px;
  min-width: 0;
  padding: 14px;
  text-align: left;
  border: 1px solid var(--line);
  border-top: 4px solid var(--blue);
  border-radius: 11px;
  background: #fff;
}
.module-card.business-account { border-top-color: var(--green); }
.module-card.business-upgrade { border-top-color: var(--amber); }
.module-card.business-publish { border-top-color: var(--blue); }
.module-card.daily-review-packet { grid-column: 1 / -1; grid-template-columns: minmax(0, 1.4fr) minmax(280px, .9fr); align-items: center; }
.module-card.daily-review-packet .business-number,
.module-card.daily-review-packet h4 { grid-column: 1; }
.module-card.daily-review-packet > p { grid-column: 1; }
.module-card.daily-review-packet .packet-status-grid { grid-column: 2; grid-row: 1 / span 3; }
.module-card.daily-review-packet .business-boundary { grid-column: 1; }
.module-card.daily-review-packet .business-actions { grid-column: 2; justify-self: end; }
.packet-status-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.packet-status-grid span { padding: 7px 8px; border-radius: 7px; background: var(--paper); color: var(--muted); font-size: 11px; }
.packet-status-grid b { display: block; margin-top: 2px; color: var(--amber); }
.module-card .business-number { color: var(--muted); font-size: 11px; font-weight: 900; letter-spacing: .12em; }
.module-card .business-boundary { padding: 8px; border-radius: 8px; background: var(--paper); color: var(--muted); font-size: 11px; }
.module-card .business-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: auto; }
.module-card .business-actions button { background: var(--green); }
.module-card.business-upgrade .business-actions button { background: var(--amber); }
.module-card.business-publish .business-actions button { background: var(--blue); }
.module-card h4, .module-card p { margin: 0; }
.module-card p { color: var(--muted); font-size: 12px; line-height: 1.5; }
.module-card ol { margin: 0; padding-left: 20px; color: #53626c; font-size: 11px; line-height: 1.55; }
.module-card button { justify-self: start; padding: 8px 10px; color: #fff; border: 0; border-radius: 7px; background: var(--blue); font-weight: 800; cursor: pointer; }
.module-preparation-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 12px;
  padding-top: 4px;
}
.module-preparation-workspace.hidden { display: none; }
.tool-flow { grid-column: 1 / -1; display: grid; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.tool-flow > header h4, .tool-flow > header p { margin: 0; }
.tool-flow > header p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.tool-flow-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.tool-flow-grid label, .cafe-group-choice legend { color: var(--muted); font-size: 12px; font-weight: 800; }
.tool-flow-grid select { width: 100%; min-height: 42px; margin-top: 5px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: #fff; color: var(--ink); }
.cafe-group-choice { margin: 0; padding: 0; border: 0; }
.cafe-group-options { display: flex; gap: 7px; margin-top: 5px; }
.cafe-group-options label { flex: 1; display: flex; align-items: center; gap: 6px; min-height: 42px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 9px; background: var(--paper); color: var(--ink); }
.tool-flow-actions { display: flex; align-items: center; gap: 10px; }
.tool-flow-actions small { color: var(--muted); }
.selected-target-summary { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.selected-target-summary span { padding: 6px 9px; border-radius: 999px; background: var(--paper); color: var(--ink); font-size: 12px; font-weight: 800; }
.final-review { margin-top: 12px; padding: 14px; border: 2px solid #9bbba9; border-radius: 12px; background: #f8fcf9; }
.final-review h5, .final-review p { margin: 0; }
.final-review dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; margin: 10px 0; }
.final-review dl div { display: grid; grid-template-columns: 90px 1fr; gap: 8px; }
.final-review dt { color: var(--muted); font-size: 12px; }
.final-review dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 800; }
.development-records { margin-top: 16px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.development-records > summary { cursor: pointer; font-weight: 900; }
.development-records > p { color: var(--muted); font-size: 12px; }
.development-records .module-card { margin-top: 10px; }
.module-form, .module-result { padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fff; }
.review-packet-boundary { display: grid; gap: 5px; margin-bottom: 13px; padding: 11px; border: 1px solid #e4c77a; border-radius: 9px; background: var(--amber-soft); color: #6b4c00; }
.review-packet-boundary strong { font-size: 12px; }
.review-packet-boundary span, .review-packet-boundary small, .review-packet-boundary summary, .review-packet-boundary p { font-size: 11px; }
.review-packet-boundary details p { margin: 6px 0 0; line-height: 1.5; }
.module-form h4, .module-result h4 { margin: 0 0 6px; }
.module-form > p, .module-result > p { margin: 0 0 12px; color: var(--muted); font-size: 12px; }
.module-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.module-field { display: grid; gap: 5px; min-width: 0; color: var(--muted); font-size: 12px; font-weight: 800; }
.module-field.full { grid-column: 1 / -1; }
.module-field input, .module-field select, .module-field textarea { width: 100%; min-height: 39px; padding: 8px 10px; color: var(--ink); border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.module-field textarea { min-height: 88px; resize: vertical; }
.module-field small { color: #77857d; font-weight: 400; line-height: 1.45; }
.module-form-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.module-form-actions button { padding: 9px 12px; border-radius: 8px; font-weight: 800; cursor: pointer; }
.module-form-actions .primary { color: #fff; border: 0; background: var(--green); }
.module-form-actions .secondary { color: var(--muted); border: 1px solid var(--line); background: #fff; }
.module-result-status { display: inline-flex; padding: 5px 8px; border-radius: 999px; background: var(--amber-soft); color: var(--amber); font-size: 11px; font-weight: 900; }
.module-result-status.ready { background: var(--blue-soft); color: var(--blue); }
.module-result ul { margin: 10px 0 0; padding-left: 20px; color: #53626c; font-size: 12px; line-height: 1.6; }
.module-result .boundary { margin-top: 12px; padding: 10px; border-radius: 8px; background: var(--amber-soft); color: #6b4c00; font-size: 12px; font-weight: 800; }
.policy-onboarding-panel { display: grid; gap: 11px; margin: 14px 0; padding: 14px; border: 1px solid #e4c77a; border-radius: 10px; background: #fffaf0; }
.policy-onboarding-panel h5, .policy-onboarding-panel p { margin: 0; }
.policy-onboarding-panel h5 { font-size: 14px; }
.policy-onboarding-panel > p, .policy-onboarding-panel > small { color: var(--muted); font-size: 11px; line-height: 1.55; }
.policy-onboarding-panel .form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.policy-onboarding-panel label { display: grid; gap: 5px; min-width: 0; color: var(--muted); font-size: 11px; font-weight: 800; }
.policy-onboarding-panel label span { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px; }
.policy-onboarding-panel label small { color: #8a7660; font-weight: 500; }
.policy-onboarding-panel input, .policy-onboarding-panel select, .policy-onboarding-panel textarea { box-sizing: border-box; width: 100%; min-width: 0; min-height: 38px; padding: 8px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink); }
.policy-onboarding-panel textarea { min-height: 74px; resize: vertical; }
.policy-onboarding-panel [data-policy-preview] { justify-self: start; }
.policy-onboarding-panel [data-policy-preview-result] { overflow-x: auto; }
.policy-onboarding-panel [data-policy-preview-result] p { margin: 8px 0; }
.policy-onboarding-panel [data-policy-preview-result] table { min-width: 420px; }

.business-workspace-heading {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  border: 1px solid #bbd6c8;
  border-radius: 11px;
  background: var(--green-soft);
}
.business-workspace-heading h3, .business-workspace-heading p { margin: 0; }
.business-workspace-heading p { margin-top: 5px; color: var(--muted); font-size: 12px; }
.business-workspace-heading span { flex: none; color: var(--green); font-size: 11px; font-weight: 900; }
.publish-mode-choice { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.publish-mode-card { display: grid; gap: 9px; padding: 18px; text-align: left; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.publish-mode-card h4, .publish-mode-card p { margin: 0; }
.publish-mode-card p { color: var(--muted); font-size: 12px; line-height: 1.55; }
.publish-mode-card button { justify-self: start; padding: 9px 12px; color: #fff; border: 0; border-radius: 8px; background: var(--green); font-weight: 900; }
.publish-mode-card .mode-status { color: var(--amber); font-size: 11px; font-weight: 900; }
.publish-flow { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 14px; }
.publish-flow div { padding: 9px 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); color: var(--muted); font-size: 11px; }
.publish-flow strong { display: block; margin-bottom: 3px; color: var(--ink); }
.request-settings { grid-column: 1 / -1; padding: 13px; border: 1px solid #d7c9a5; border-radius: 10px; background: #fffaf0; }
.request-settings header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.request-settings h5, .request-settings p { margin: 0; }
.request-settings h5 { font-size: 13px; }
.request-settings p { color: var(--muted); font-size: 11px; }
.request-settings-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.request-settings-grid label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.request-settings-grid input { width: 100%; min-height: 38px; padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.settings-scope { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 10px; }
.settings-scope strong { color: var(--amber); font-size: 11px; }
.settings-scope button { padding: 7px 9px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 11px; font-weight: 800; }
.settings-scope button:disabled { cursor: not-allowed; opacity: .55; }
.settings-comparison { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.settings-comparison section { padding: 10px; border: 1px solid var(--line); border-radius: 8px; background: var(--paper); }
.settings-comparison h5 { margin: 0 0 6px; font-size: 12px; }
.settings-comparison dl { display: grid; gap: 4px; margin: 0; }
.settings-comparison dl div { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; }
.settings-comparison dt { color: var(--muted); }
.settings-comparison dd { margin: 0; font-weight: 900; }
.legacy-tool-library { padding: 14px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.legacy-tool-library > summary { cursor: pointer; font-weight: 900; }
.legacy-tool-library > p { margin: 8px 0 14px; color: var(--muted); font-size: 12px; }
.process-business-group { grid-column: 1 / -1; display: grid; gap: 9px; }
.process-business-group + .process-business-group { margin-top: 8px; padding-top: 12px; border-top: 1px solid var(--line); }
.process-business-group > header { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; }
.process-business-group > header h3, .process-business-group > header p { margin: 0; }
.process-business-group > header p { color: var(--muted); font-size: 11px; }
.process-business-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }

.monitor-summary { scroll-margin-top: 16px; }
.monitor-status-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.monitor-status-grid article { display: grid; gap: 6px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.monitor-status-grid span { color: var(--muted); font-size: 11px; font-weight: 800; }
.monitor-status-grid strong { color: var(--blue); font-size: 13px; }
.monitor-status-grid small { color: var(--muted); line-height: 1.45; }
.monitor-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.monitor-evidence-card { padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.monitor-evidence-card h3 { margin: 0 0 12px; font-size: 15px; }
.monitor-evidence-card dl { display: grid; gap: 9px; margin: 0; }
.monitor-evidence-card dl > div { display: grid; grid-template-columns: 115px minmax(0, 1fr); gap: 10px; }
.monitor-evidence-card dt { color: var(--muted); font-size: 12px; font-weight: 800; }
.monitor-evidence-card dd { margin: 0; overflow-wrap: anywhere; font-size: 13px; font-weight: 800; }
.monitor-evidence-card p { margin: 12px 0 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.monitor-detail-area { display: grid; gap: 16px; }
body[data-dashboard-view="monitor"] .monitor-detail-area > .program-panel,
body[data-dashboard-view="monitor"] .monitor-detail-area > .compact-section,
body[data-dashboard-view="monitor"] .monitor-detail-area > .recent-history { display: none !important; }
.tools-assignment-preview { display: grid; gap: 5px; margin-top: 12px; padding: 12px 14px; border: 1px solid #b7d7c5; border-radius: 10px; background: #f4fbf7; }
.tools-assignment-preview span, .tools-assignment-preview small { color: var(--muted); overflow-wrap: anywhere; }
.tools-assignment-bindings { display: grid; gap: 6px; margin-top: 10px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfb; }
.tools-assignment-bindings strong { font-size: 12px; }
.tools-assignment-bindings small { color: var(--muted); overflow-wrap: anywhere; }
.tools-assignment-bindings .value-ok { color: var(--green); }
.tools-assignment-bindings .value-issue { color: var(--red); }
.tools-flow-status { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 10px 0; }
.tools-flow-status article { display: grid; gap: 4px; min-width: 0; padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfb; }
.tools-flow-status span { color: var(--muted); font-size: 11px; font-weight: 800; }
.tools-flow-status b, .tools-flow-status small { overflow-wrap: anywhere; }
.tools-flow-status small { color: var(--muted); line-height: 1.4; }
.tools-flow-status article.ready, .tools-flow-status article.prepared, .tools-flow-status article.verified { border-color: #9bcab0; background: var(--green-soft); }
.tools-flow-status article.check { border-color: #e5c889; background: var(--amber-soft); }

.recent-history .section-heading { align-items: center; }
.recent-history .table-wrap { overflow-x: auto; }
.recent-history table { min-width: 760px; }
.history-result-link { color: var(--green); font-weight: 800; text-decoration: none; }
.execution-results table { min-width: 920px; }
.account-result-link { color: var(--blue); font-weight: 900; text-decoration: none; }
.history-error-text { display: block; max-width: 320px; margin-top: 5px; color: var(--red); white-space: normal; }
.history-detail { margin-top: 5px; max-width: 360px; }
.history-detail summary { cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 800; }
.history-detail p, .history-detail pre { margin: 6px 0 0; padding: 8px; overflow-wrap: anywhere; white-space: pre-wrap; border-radius: 7px; background: #f6f8f7; font-size: 11px; }
.history-detail.error summary, .history-detail.error pre { color: var(--red); }

.loading, .error-panel { padding: 24px; color: var(--muted); text-align: center; }
.error-panel { color: var(--red); background: var(--red-soft); border-radius: 9px; }
.toast { position: fixed; right: 20px; bottom: 20px; max-width: 360px; padding: 12px 15px; opacity: 0; pointer-events: none; color: #fff; border-radius: 9px; background: #15271e; transform: translateY(8px); transition: .18s ease; }
.toast.show { opacity: 1; transform: translateY(0); }

.review-banner {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-bottom: 1px solid #f0c36a;
  background: #fff4cf;
  color: #6b4c00;
  font-size: 13px;
  line-height: 1.45;
}
.review-banner strong { white-space: nowrap; }
.review-only-action {
  padding: 12px;
  border: 1px solid #f0c36a;
  border-radius: 9px;
  background: #fff8df;
  color: #6b4c00;
  font-weight: 700;
}

.workflow-monitor { display: grid; gap: 14px; margin-bottom: 18px; }
.workflow-source, .dispatch-boundary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--paper);
  color: var(--muted);
  font-size: 13px;
}
.workflow-chain { border: 1px solid var(--line); border-radius: 16px; padding: 16px; background: #fff; }
.workflow-chain > header { display: flex; justify-content: space-between; gap: 16px; align-items: flex-start; margin-bottom: 14px; }
.workflow-chain h3, .workflow-chain p { margin: 0; }
.workflow-chain header p { margin-top: 5px; color: var(--muted); font-size: 13px; }
.source-chip { padding: 6px 9px; border-radius: 999px; background: #fff0c2; color: #6e5000; font-size: 12px; font-weight: 800; white-space: nowrap; }
.workflow-stage-track { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.workflow-stage { position: relative; min-width: 0; border: 1px solid var(--line); border-top: 4px solid #8c98a3; border-radius: 12px; padding: 12px; background: #fbfcfd; }
.workflow-stage:not(:last-child)::after { content: "→"; position: absolute; right: -11px; top: 44%; z-index: 1; color: #8c98a3; background: white; }
.workflow-stage-top { display: flex; justify-content: space-between; gap: 8px; }
.workflow-stage-top span { font-weight: 900; color: #73808b; }
.workflow-stage-top em { font-style: normal; font-size: 11px; font-weight: 800; }
.workflow-stage > strong { display: block; margin-top: 10px; }
.workflow-stage p { min-height: 48px; margin: 7px 0; font-size: 12px; color: #596873; }
.workflow-stage small { display: block; margin-top: 5px; overflow-wrap: anywhere; }
.workflow-stage.status-ok, .workflow-stage.status-ready { border-top-color: var(--green); }
.workflow-stage.status-missing, .workflow-stage.status-failed, .workflow-stage.status-blocked { border-top-color: var(--red); }
.workflow-stage.status-check, .workflow-stage.status-waiting, .workflow-stage.status-stale { border-top-color: #c78916; }
.workflow-stage.status-not_run, .workflow-stage.status-unknown, .workflow-stage.status-recorded_only { border-top-color: #687580; }
.workflow-summary-chain { border-color: #aac6d9; background: #fbfdff; }
.workflow-stage-summary p { min-height: 34px; font-weight: 800; }
.workflow-details { border: 1px solid var(--line); border-radius: 14px; padding: 14px; background: #fff; }
.workflow-details > summary { cursor: pointer; font-weight: 900; }
.technical-inline-details { margin-top: 8px; color: var(--muted); font-size: 11px; }
.technical-inline-details > summary { cursor: pointer; font-weight: 800; }
.technical-inline-details small { display: block; margin-top: 6px; overflow-wrap: anywhere; }
.technical-issue-details { border: 1px solid var(--line); border-radius: 10px; padding: 11px; background: #fff; }
.technical-issue-details > summary { cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 900; }
.technical-issue-details > .bottleneck-list { margin-top: 10px; }
.technical-result-details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
.technical-result-details > summary { cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 900; }
.technical-evidence-details .workflow-source, .technical-evidence-details .dispatch-boundary { margin-top: 10px; }
.workflow-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 12px; margin: 16px 0; padding: 12px; border-radius: 12px; background: var(--paper); }
.workflow-filters label { display: grid; gap: 5px; min-width: 220px; color: var(--muted); font-size: 12px; font-weight: 800; }
.workflow-filters input, .workflow-filters select { min-height: 38px; border: 1px solid var(--line); border-radius: 9px; padding: 7px 10px; background: #fff; color: var(--ink); }
.workflow-filters span { margin-left: auto; color: var(--muted); font-size: 13px; font-weight: 800; }
.workflow-detail-list { display: grid; gap: 14px; }
.legacy-processes { margin-top: 6px; }
.legacy-processes > summary { cursor: pointer; font-weight: 800; }
.bottleneck-item small { display: block; margin-top: 7px; line-height: 1.45; }

@media (max-width: 980px) {
  .operations-shell { grid-template-columns: 1fr; }
  .global-sidebar { position: static; height: auto; padding: 12px; gap: 10px; }
  .sidebar-brand { width: max-content; }
  .global-menu { display: flex; overflow-x: auto; }
  .global-menu a { flex: none; }
  .sidebar-boundary { display: none; }
  .work-layout { grid-template-columns: 1fr; }
  .bottleneck-section { position: static; }
  .workflow-stage-track { grid-template-columns: 1fr; }
  .workflow-stage:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -13px; }
  .workflow-stage p { min-height: 0; }
  .operator-priority-grid, .module-preparation-grid, .monitor-status-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-business-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .request-settings-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .monitor-evidence { grid-template-columns: 1fr; }
  .sync-state-panel { grid-template-columns: 1fr; }
  .sync-state-panel dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sync-state-action { justify-items: start; }
  .sync-state-action small { max-width: none; text-align: left; }
  .module-preparation-workspace { grid-template-columns: 1fr; }
  .policy-onboarding-panel .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1250px) and (min-width: 981px) {
  .sync-state-panel { grid-template-columns: 220px minmax(0, 1fr); }
  .sync-state-panel dl { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sync-state-action { grid-column: 1 / -1; justify-items: start; }
  .sync-state-action small { max-width: none; text-align: left; }
}

@media (max-width: 700px) {
  .publication-summary-cards { grid-template-columns: 1fr; }
  .board-toolbar, .section-heading, .workflow-heading-side { align-items: flex-start; flex-direction: column; }
  .monthly-goal-grid, .task-grid { grid-template-columns: 1fr; }
  .operator-priority-grid, .module-preparation-grid, .monitor-status-grid, .module-fields, .publish-mode-choice, .publish-flow, .request-settings-grid, .settings-comparison, .process-business-cards, .tool-flow-grid, .final-review dl { grid-template-columns: 1fr; }
  .sync-state-panel dl { grid-template-columns: 1fr; }
  .module-field.full { grid-column: 1; }
  .module-preparation-head { flex-direction: column; }
  .manuscript-source-head { flex-direction: column; }
  .manuscript-source-controls { grid-template-columns: 1fr; }
  .module-card.daily-review-packet { grid-template-columns: 1fr; }
  .module-card.daily-review-packet .business-number,
  .module-card.daily-review-packet h4,
  .module-card.daily-review-packet > p,
  .module-card.daily-review-packet .packet-status-grid,
  .module-card.daily-review-packet .business-boundary,
  .module-card.daily-review-packet .business-actions { grid-column: 1; grid-row: auto; justify-self: stretch; }
  .monthly-numbers { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  main { padding-inline: 10px; }
  .account-check-toolbar, .monitor-subheading { align-items: flex-start; flex-direction: column; }
  .account-check-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Stage 3 /tools execution-preparation preview. This does not style the account-status page. */
body[data-dashboard-view="tools"] .steps,
body[data-dashboard-view="tools"] .manuscript-source,
body[data-dashboard-view="tools"] .legacy-tool-library,
body[data-dashboard-view="tools"] #workspace { display: none !important; }

.module-preparation.stage3-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
.module-preparation.stage3-tools:has(> .module-preparation-workspace:not(.hidden)) {
  grid-template-columns: minmax(0, 1fr) 300px;
}
.stage3-tools .module-preparation-head { grid-column: 1 / -1; }
.stage3-tools .module-preparation-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.stage3-tools .module-preparation-workspace { display: block; padding: 0; }
.stage3-tools .module-preparation-workspace.hidden { display: none; }
.tools-accordion { overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.tools-accordion.open { border-color: #9abfac; box-shadow: 0 8px 24px rgba(23, 74, 51, .08); }
.tools-accordion-toggle {
  display: grid;
  grid-template-columns: 40px minmax(120px, .42fr) minmax(0, 1fr) 24px;
  gap: 11px;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  color: var(--ink);
  border: 0;
  background: #fff;
  text-align: left;
  cursor: pointer;
}
.tools-accordion.open .tools-accordion-toggle { background: #f2f8f5; }
.tools-accordion-toggle > span { color: var(--green); font-size: 12px; font-weight: 900; letter-spacing: .1em; }
.tools-accordion-toggle > strong { font-size: 15px; }
.tools-accordion-toggle > small { color: var(--muted); line-height: 1.45; }
.tools-accordion-toggle > i { color: var(--green); font-size: 20px; font-style: normal; font-weight: 700; text-align: center; }
.tools-accordion-body { display: grid; gap: 12px; padding: 16px; border-top: 1px solid var(--line); }
.tools-source-selector { display: grid; grid-template-columns: minmax(190px, .85fr) minmax(220px, 1.15fr) minmax(190px, 1fr); gap: 10px; }
.tools-request-conditions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.tools-filter-row { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.tools-filter-row button, .tools-filter-row label { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 800; }
.tools-filter-row button.active { border-color: var(--green); background: var(--green-soft); color: var(--green); }
.tools-status-strip { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.tools-status-strip span { padding: 8px 10px; border-radius: 9px; background: var(--paper); color: var(--muted); font-size: 11px; }
.tools-status-strip b { color: var(--ink); }
.tools-status-strip small { flex: 1 1 280px; color: var(--amber); }
.tools-account-overrides { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfb; }
.tools-account-override-row { display: grid; grid-template-columns: minmax(120px, 1fr) 32px 32px repeat(3, minmax(105px, .75fr)); gap: 7px; align-items: end; }
.tools-account-override-row > span { align-self: center; font-size: 11px; font-weight: 900; overflow-wrap: anywhere; }
.tools-account-override-row button { height: 32px; border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.tools-account-override-row label { display: grid; gap: 3px; color: var(--muted); font-size: 10px; font-weight: 800; }
.tools-account-override-row input { min-width: 0; padding: 7px; border: 1px solid var(--line); border-radius: 7px; }
.state-ok { color: var(--green); font-weight: 900; }
.state-check { color: var(--amber); font-weight: 900; }
.state-pending { color: #8a5b00; font-weight: 900; }
.state-error { color: var(--red); font-weight: 900; }
/* 2026-10-16 D80 C안: 01 시작 전 중단 = 파란 라벨, 계정 표 상태 묶음 줄 */
.state-retry { color: var(--blue); font-weight: 900; }
.activity-table .activity-group-row td { background: #f7faf8; color: var(--muted); font-size: 11px; font-weight: 800; padding-top: 5px; padding-bottom: 5px; }
.tools-source-selector label, .tools-request-conditions label { display: grid; gap: 5px; color: var(--muted); font-size: 11px; font-weight: 800; }
.tools-source-selector fieldset { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin: 0; padding: 9px 11px; border: 1px solid var(--line); border-radius: 9px; }
.tools-source-selector legend { padding: 0 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.tools-source-selector fieldset label { display: flex; align-items: center; gap: 5px; color: var(--ink); white-space: nowrap; }
.tools-source-selector .tools-inline-check { align-self: end; display: flex; grid-template-columns: none; align-items: center; gap: 6px; width: max-content; padding: 9px 12px; border: 1px solid var(--line); border-radius: 999px; background: #fff; color: var(--muted); font-size: 11px; font-weight: 800; }
.tools-source-selector select, .tools-request-conditions input, .tools-request-conditions select, .tools-request-conditions textarea {
  box-sizing: border-box;
  width: 100%;
  min-height: 40px;
  padding: 8px 9px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.modify-source-selector { grid-template-columns: minmax(220px, 1fr) auto; align-items: end; }
.modify-source-selector button { min-height: 40px; padding: 8px 12px; color: var(--green); border: 1px solid #9abfac; border-radius: 8px; background: #fff; font-weight: 900; cursor: pointer; }
.modify-status-tabs { padding-bottom: 2px; overflow-x: auto; flex-wrap: nowrap; }
.modify-status-tabs button { flex: none; cursor: pointer; }
.modify-candidate-table a, .modify-preparation-results a { color: var(--green); font-weight: 900; text-decoration: none; }
.modify-candidate-table details summary { color: var(--muted); cursor: pointer; font-weight: 900; }
.modify-selection-bar { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: baseline; justify-content: space-between; padding: 10px 12px; border-radius: 9px; background: var(--green-soft); }
.modify-selection-bar strong { color: var(--green); }
.modify-selection-bar span { color: var(--muted); font-size: 11px; }
.modify-preparation-results { padding: 12px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcfb; }
.modify-preparation-results > summary { color: var(--ink); cursor: pointer; font-size: 12px; font-weight: 900; }
.modify-preparation-results[open] > summary { margin-bottom: 10px; }
.tools-request-conditions textarea { min-height: 92px; resize: vertical; }
.tools-request-conditions .full { grid-column: 1 / -1; }
.tools-request-conditions.single-row { grid-template-columns: minmax(180px, 320px); }
.tools-evidence-note { display: flex; gap: 10px; align-items: baseline; padding: 10px 12px; border-radius: 9px; background: #eef5fb; color: #34566d; font-size: 11px; }
.tools-evidence-note.request { background: #fff7e5; color: #73551a; }
.tools-evidence-note b { flex: none; }
.tools-source-gap { padding: 18px; border: 1px dashed #d2bf92; border-radius: 9px; background: #fffaf0; color: var(--muted); font-size: 12px; }
.tools-account-table-wrap, .tools-plan-table-wrap { max-width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-gutter: stable both-edges; border: 1px solid var(--line); border-radius: 9px; }
.tools-account-table { width: 100%; min-width: 920px; border-collapse: collapse; }
.tools-plan-table-wrap table { width: 100%; min-width: 760px; border-collapse: collapse; }
.tools-account-table th, .tools-account-table td, .tools-plan-table-wrap th, .tools-plan-table-wrap td { padding: 8px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; font-size: 11px; }
.tools-account-table th, .tools-plan-table-wrap th { color: var(--muted); background: var(--paper); font-weight: 900; white-space: nowrap; }
.tools-account-table td small { display: block; margin-top: 3px; color: var(--muted); }
.role-ready-table { min-width: 1040px; table-layout: auto; }
.role-ready-table th:nth-child(3), .role-ready-table td:nth-child(3) { min-width: 72px; white-space: nowrap; }
.role-ready-table th:nth-child(4), .role-ready-table td:nth-child(4) { min-width: 112px; }
.role-ready-table th:nth-child(5), .role-ready-table td:nth-child(5),
.role-ready-table th:nth-child(6), .role-ready-table td:nth-child(6) { min-width: 145px; }
.account-check-table { min-width: 760px; }
.account-check-table th:nth-child(3), .account-check-table td:nth-child(3) { min-width: 90px; white-space: nowrap; }
.tools-row-details summary { color: var(--green); cursor: pointer; font-weight: 900; white-space: nowrap; }
.tools-row-details p { margin: 7px 0 0; color: var(--muted); line-height: 1.5; }
.tools-filter-divider { width: 1px; align-self: stretch; background: var(--line); }
.tools-check-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.tools-check-actions button, .tools-check-actions a { padding: 10px 14px; border: 1px solid var(--green); border-radius: 9px; background: #fff; color: var(--green); font-weight: 900; text-decoration: none; }
.tools-check-actions button:not(:disabled) { background: var(--green); color: #fff; cursor: pointer; }
.tools-check-actions button:disabled { border-color: var(--line); color: var(--muted); }
.tools-check-actions span { color: var(--muted); font-size: 11px; }
.tools-table-selection { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; padding: 9px 10px; border-bottom: 1px solid var(--line); background: var(--paper); font-size: 11px; }
.tools-table-selection button { padding: 6px 9px; border: 1px solid var(--line); border-radius: 7px; background: #fff; color: var(--green); font-weight: 900; cursor: pointer; }
.tools-table-selection button:disabled { color: var(--muted); cursor: not-allowed; opacity: .6; }
.tools-table-selection span { color: var(--green); font-weight: 900; }
.tools-table-selection small { margin-left: auto; color: var(--muted); }
.tools-selected-target { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.tools-selected-target span { padding: 6px 9px; border-radius: 999px; background: var(--paper); font-size: 11px; font-weight: 800; }
.tools-selected-target button { margin-left: auto; padding: 7px 9px; color: var(--green); border: 1px solid #b8d4c5; border-radius: 8px; background: #fff; font-weight: 800; }
.tools-conditional-gap { display: none; padding: 9px 11px; border-radius: 8px; background: #fff2d8; color: #7a5916; font-size: 11px; }
.tools-conditional-gap.visible { display: block; }
.tools-binding-status { display: grid; gap: 3px; padding: 10px 12px; border-radius: 9px; font-size: 11px; }
.tools-binding-status.check { color: #7a5916; background: #fff2d8; }
.tools-binding-status.ok { color: var(--green); background: var(--green-soft); }
.tools-binding-status small { color: inherit; }
.tools-plan-button { justify-self: start; padding: 10px 13px; color: #fff; border: 0; border-radius: 8px; background: var(--green); font-weight: 900; cursor: pointer; }
.tools-plan-panel { position: sticky; top: 16px; display: grid; gap: 12px; padding: 16px; border: 1px solid #9abfac; border-radius: 13px; background: #fbfefc; box-shadow: 0 10px 28px rgba(23, 74, 51, .08); }
.tools-plan-panel header { display: grid; gap: 4px; }
.tools-plan-panel header p, .tools-plan-panel header h3 { margin: 0; }
.tools-plan-panel header span { color: var(--amber); font-size: 11px; font-weight: 900; }
.tools-plan-summary { display: grid; gap: 7px; margin: 0; }
.tools-plan-summary > div { display: grid; grid-template-columns: 105px minmax(0, 1fr); gap: 8px; }
.tools-plan-summary dt { color: var(--muted); font-size: 11px; }
.tools-plan-summary dd { margin: 0; overflow-wrap: anywhere; font-size: 11px; font-weight: 800; }
.tools-plan-warning, .tools-plan-ready { display: grid; gap: 3px; padding: 10px; border-radius: 8px; font-size: 11px; }
.tools-plan-warning { background: #fff2d8; color: #7a5916; }
.tools-plan-ready { background: var(--green-soft); color: var(--green); }
.tools-skipped-deficits { display: grid; gap: 4px; margin-top: 8px; padding: 10px; border-radius: 8px; background: #fff8e8; color: #7a5916; font-size: 11px; }
.tools-skipped-deficits ul { margin: 0; padding-left: 18px; }
.tools-execution-boundary { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.tools-execution-boundary button { padding: 10px; color: #777; border: 1px solid #ccc; border-radius: 8px; background: #eee; cursor: not-allowed; font-weight: 900; }
.tools-execution-boundary button:not(:disabled) { color: #fff; border-color: var(--green); background: var(--green); cursor: pointer; }
.tools-execution-boundary p { margin: 0; color: var(--muted); font-size: 11px; line-height: 1.5; }
.tools-execution-boundary a { color: var(--green); font-size: 11px; font-weight: 800; }
.tools-run-ack { display: flex; gap: 8px; align-items: flex-start; padding: 10px 12px; border: 1px solid #f0c36d; border-radius: 10px; background: #fff8e6; color: #5a4300; font-size: 12px; line-height: 1.45; cursor: pointer; }
.tools-run-ack input { margin-top: 2px; flex: none; }
.tools-run-ack b { display: block; }
.tools-run-ack.is-checked { border-color: var(--green); background: #eaf6ee; color: #1d4d33; }

@media (max-width: 1320px) {
  .module-preparation.stage3-tools,
  .module-preparation.stage3-tools:has(> .module-preparation-workspace:not(.hidden)) { grid-template-columns: 1fr; }
  .tools-plan-panel { position: static; }
}
@media (max-width: 700px) {
  .tools-accordion-toggle { grid-template-columns: 34px 1fr 24px; }
  .tools-accordion-toggle > small { grid-column: 2; }
  .tools-source-selector, .tools-request-conditions { grid-template-columns: 1fr; }
  .modify-source-selector { grid-template-columns: 1fr; }
  .tools-account-override-row { grid-template-columns: minmax(0, 1fr) 32px 32px; }
  .tools-account-override-row label { grid-column: 1 / -1; }
  .tools-request-conditions .full { grid-column: 1; }
}

/* Stage 4 /monitor source-bound execution readback. */
.monitor-task-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin: 14px 0; }
.monitor-task-tab { display: grid; gap: 4px; min-width: 0; padding: 12px 13px; border: 1px solid var(--line); border-radius: 11px; background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.monitor-task-tab span { font-weight: 900; }
.monitor-task-tab small { color: var(--muted); font-size: 11px; }
.monitor-task-tab.active { border-color: var(--blue); background: var(--blue-soft); box-shadow: 0 0 0 1px var(--blue) inset; }
.monitor-workspace-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(330px, .42fr); gap: 14px; align-items: start; }
.monitor-workspace-main { min-width: 0; display: grid; gap: 14px; }
.monitor-source-section, .monitor-account-section, .monitor-record-detail { min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.monitor-subheading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.monitor-subheading h3, .monitor-subheading p { margin: 0; }
.monitor-subheading h3 { font-size: 15px; }
.monitor-subheading p { color: var(--muted); font-size: 11px; text-align: right; }
.monitor-group-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 9px; }
.monitor-group-card { display: grid; gap: 5px; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #f9fbff; color: var(--ink); text-align: left; cursor: pointer; }
.monitor-group-card strong, .monitor-group-card span, .monitor-group-card small { overflow-wrap: anywhere; }
.monitor-group-card strong { font-size: 13px; }
.monitor-group-card span { color: var(--blue); font-size: 10px; font-weight: 900; }
.monitor-group-card small { color: var(--muted); }
.monitor-group-card.active { border-color: var(--green); background: var(--green-soft); box-shadow: 0 0 0 1px var(--green) inset; }
.monitor-empty { padding: 18px; border: 1px dashed var(--line); border-radius: 10px; background: #fafafa; }
.monitor-empty strong { display: block; margin-bottom: 6px; }
.monitor-empty p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.monitor-table-wrap { max-width: 100%; overflow-x: auto; overflow-y: hidden; scrollbar-gutter: stable both-edges; }
.monitor-account-table { min-width: 1080px; }
.monitor-account-table tr.selected td { background: var(--green-soft); }
.table-detail-button { white-space: nowrap; padding: 7px 9px; border: 1px solid var(--blue); border-radius: 8px; background: #fff; color: var(--blue); font-weight: 900; cursor: pointer; }
.monitor-record-detail { position: sticky; top: 14px; display: grid; gap: 13px; }
.monitor-record-detail > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.monitor-record-detail h3, .monitor-record-detail p { margin: 0; }
.monitor-record-identity { display: grid; gap: 8px; margin: 0; }
.monitor-record-identity > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 9px; }
.monitor-record-identity dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.monitor-record-identity dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; font-weight: 800; }
.monitor-log-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.monitor-log-list li { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 3px 9px; padding: 9px; border: 1px solid var(--line); border-radius: 9px; }
.monitor-log-list span { grid-row: 1 / span 2; color: var(--muted); font-size: 11px; font-weight: 800; }
.monitor-log-list strong { overflow-wrap: anywhere; font-size: 12px; }
.monitor-log-list small { color: var(--muted); }
.monitor-result-boundary { display: grid; gap: 7px; padding: 10px; border-radius: 9px; background: var(--amber-soft); }
.monitor-result-boundary > div { display: grid; grid-template-columns: 78px minmax(0, 1fr); gap: 9px; }
.monitor-result-boundary span { color: var(--muted); font-size: 11px; font-weight: 800; }
.monitor-result-boundary strong { overflow-wrap: anywhere; font-size: 12px; }
.monitor-evidence-refs summary { cursor: pointer; color: var(--muted); font-size: 12px; font-weight: 900; }
.monitor-evidence-refs ul { padding-left: 18px; }
.monitor-evidence-refs li { margin: 5px 0; overflow-wrap: anywhere; color: var(--muted); font-size: 10px; }
.monitor-result-link { display: inline-flex; justify-content: center; padding: 10px; border: 1px solid var(--green); border-radius: 9px; }
body[data-dashboard-view="monitor"] .page-technical-details,
body[data-dashboard-view="monitor"] .sidebar-boundary { display: none; }
.monitor-heading { margin-bottom: 6px; }
.source-chip.fixture { color: var(--amber); background: var(--amber-soft); }
.account-check-panel, .daily-check-history { padding: 18px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.account-check-panel { display: grid; gap: 16px; }
.account-check-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.account-check-toolbar h3, .daily-check-history h3 { margin: 0; font-size: 18px; }
.account-check-toolbar > div { display: flex; align-items: end; gap: 9px; }
.account-check-toolbar label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.account-check-toolbar select, .account-check-toolbar button { min-height: 40px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.account-check-summary { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.account-check-summary article { min-height: 108px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: #fff; }
.account-check-summary span { display: block; font-size: 13px; font-weight: 800; }
.account-check-summary strong { display: inline-block; margin-top: 13px; font-size: 33px; }
.account-check-summary small { margin-left: 12px; color: var(--muted); }
.account-check-summary .ok strong, .value-ok { color: #14945b; }
.account-check-summary .issue strong, .value-issue { color: #cf3434; }
.account-check-summary .unknown strong, .value-unknown { color: #d48a0b; }
.daily-check-history { display: grid; gap: 14px; }
.monitor-daily-table { min-width: 900px; }
.run-state { display: inline-flex; padding: 7px 12px; color: #875405; border-radius: 999px; background: var(--amber-soft); font-weight: 900; }
.account-result { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 11px; font-weight: 900; }
.account-result.ok { color: var(--green); background: var(--green-soft); }
.account-result.issue { color: var(--red); background: var(--red-soft); }
.account-result.unknown { color: var(--amber); background: var(--amber-soft); }
.cafe-check-detail { padding: 13px; border: 1px solid var(--line); border-radius: 10px; }
.cafe-check-detail + .cafe-check-detail { margin-top: 9px; }
.cafe-check-detail dl { display: grid; gap: 8px; margin: 12px 0 0; }
.cafe-check-detail dl > div { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 8px; }
.cafe-check-detail dt { color: var(--muted); font-size: 11px; font-weight: 800; }
.cafe-check-detail dd { margin: 0; font-size: 12px; }

@media (max-width: 1320px) {
  .monitor-workspace-grid { grid-template-columns: 1fr; }
  .monitor-record-detail { position: static; }
}

@media (max-width: 700px) {
  .monitor-task-tabs, .monitor-group-list { grid-template-columns: 1fr; }
  .monitor-subheading { align-items: flex-start; flex-direction: column; }
  .monitor-subheading p { text-align: left; }
  .tools-flow-status { grid-template-columns: 1fr; }
}
.tools-login-required { margin: 4px 0 14px; padding: 12px 14px; border: 2px dashed #e0a32e; border-radius: 10px; background: #fffaf0; }
.tools-login-required-title { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; color: #7a4b00; font-size: 14px; font-weight: 800; }
.tools-login-required-title span { padding: 1px 8px; border-radius: 999px; background: #e0a32e; color: #fff; font-size: 12px; }
.tools-login-actions { white-space: nowrap; }
.tools-login-actions button { margin-right: 4px; padding: 6px 10px; border: 1px solid var(--green); border-radius: 7px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.tools-login-actions button:disabled { border-color: #d5dbd7; background: #f1f3f2; color: #9aa49e; cursor: not-allowed; }
.tools-account-action-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 10px; }
.tools-account-action-chip { padding: 4px 10px; border: 1px solid #d9cfb8; border-radius: 999px; background: #fff; color: #5b4a26; font-size: 12px; font-weight: 700; cursor: pointer; }
.tools-account-action-chip.on { border-color: #7a4b00; background: #7a4b00; color: #fff; }
.tools-account-action-kind { display: inline-block; padding: 2px 8px; border-radius: 6px; font-size: 11.5px; font-weight: 800; }
.tools-account-action-kind.login { background: #fde8e6; color: #a1271b; }
.tools-account-action-kind.join { background: #e8f0fd; color: #1a4f9c; }
.tools-account-action-kind.upgrade { background: #eef6ea; color: #2e6b1e; }
.tools-account-action-kind.activity { background: #fff3c4; color: #7a4b00; }
.tools-account-action-kind.permission { background: #fde8e6; color: #a1271b; }
.tools-login-actions button.warn { border-color: #a1271b; background: #fff; color: #a1271b; }
.tools-login-actions button.sub { background: #fff; color: var(--green); }
.tools-login-actions small { display: block; margin-top: 3px; color: #8a6a2a; font-size: 11px; }

/* 2026-10-02 03 계정당 글 수 · 04 수정 발행 블록 (시안 v3) */
.daily-count-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafcfb; }
.daily-count-field { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.daily-step { display: inline-flex; align-items: center; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; }
.daily-step button { width: 30px; padding: 7px 0; border: 0; background: #f3f8f4; color: var(--green); font-size: 15px; font-weight: 800; cursor: pointer; }
.daily-step button:disabled { color: #aaa; cursor: not-allowed; }
.daily-step input { width: 56px; padding: 7px 0; border: 0; text-align: center; font-size: 14px; font-weight: 800; -moz-appearance: textfield; appearance: textfield; }
.daily-step input::-webkit-outer-spin-button, .daily-step input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.daily-count-summary { padding-bottom: 7px; font-size: 13px; }
.daily-count-note { max-width: 330px; margin-left: auto; padding-bottom: 4px; color: var(--muted); font-size: 11px; }
.daily-preview { display: grid; gap: 8px; padding: 10px 12px; border: 1px solid #dbe8df; border-radius: 10px; background: #fafcfb; }
.daily-preview-title { font-size: 13px; }
.daily-preview-title > span { color: var(--muted); font-size: 12px; }
.daily-pill, .modify-pill { display: inline-block; margin-left: 6px; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.daily-pill, .modify-pill.y { background: #fff1d6; color: #b07400; }
.modify-pill.g { background: #e3f3e8; color: #1e7a46; }
.modify-pill.x { background: #eceeed; color: #6d7872; }
.modify-pill { margin-left: 0; }
.daily-preview-table { min-width: 640px; }
.modify-block { display: grid; gap: 12px; }
.modify-selectors { display: flex; flex-wrap: wrap; gap: 12px; align-items: flex-end; }
.modify-selectors label { display: grid; gap: 4px; color: var(--muted); font-size: 11px; font-weight: 800; }
.modify-selectors select { min-width: 180px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; }
.modify-selectors button { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-weight: 700; cursor: pointer; }
.modify-selectors small { color: var(--muted); }
.modify-stats { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; }
.modify-stat { padding: 10px 12px; border: 1px solid #dbe8df; border-radius: 10px; background: #fafcfb; }
.modify-stat small { display: block; color: var(--muted); font-size: 11px; }
.modify-stat b { font-size: 22px; }
.modify-stat.hl { border-color: var(--green); background: #eef7f1; }
.modify-stat.hl b { color: #1e7a46; }
.modify-stat.check b { color: #b07400; }
.modify-stat.del b { color: #b42318; }
.modify-list-title { font-size: 13px; }
.modify-list-title span { color: var(--muted); font-size: 12px; }
.modify-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.modify-actions button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; }
.modify-actions button.primary { border-color: var(--green); background: var(--green); color: #fff; }
.modify-actions button:disabled { opacity: .5; cursor: not-allowed; }
.modify-note { padding: 8px 12px; border-radius: 8px; background: #eef5fb; color: #38506a; font-size: 12px; line-height: 1.6; }
.modify-note.check { background: #fff2d8; color: #7a5916; }
.modify-note.result { background: var(--green-soft); color: var(--green); }
/* 2026-10-05 04 수정발행 시안 A: 사진·발행 탭·발행 칸 */
.modify-pill.r { background: #fdecec; color: #b42318; }
.modify-mute { color: #9aa49e; font-size: 12px; }
.modify-reason { display: block; margin-top: 2px; color: #b42318; font-size: 11px; }
/* 피드백 허브 G02(2026-10-14): 04 표 칸 깨짐 — 짧은 이유 + 눌러서 원문, 표가 화면 폭에 맞게 */
.modify-reason-box { margin-top: 2px; font-size: 11px; color: #b42318; }
.modify-reason-box summary { cursor: pointer; font-weight: 700; white-space: nowrap; }
.modify-reason-box small { display: block; max-width: 260px; margin-top: 2px; color: #5b6b61; word-break: break-all; }
.modify-stock-table { min-width: 0; }
.modify-stock-table td, .modify-stock-table th { word-break: keep-all; }
.modify-thumbs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.modify-thumbs a { display: inline-flex; }
.modify-thumbs img, .modify-ph { width: 38px; height: 38px; object-fit: cover; border-radius: 6px; border: 1px solid #dbe3de; }
.modify-ph { display: inline-flex; align-items: center; justify-content: center; background: #f3f5f4; color: #9aa49e; font-size: 11px; }
.modify-ph.bad { background: #fdecec; color: #b42318; border-color: #f3c4c4; }
.modify-stock-table td > a { color: inherit; text-decoration: none; }
.modify-stock-table td > a:hover { text-decoration: underline; }
.modify-publish-btn { padding: 5px 12px; border: 1px solid var(--green); border-radius: 8px; background: var(--green); color: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.modify-publish-btn:disabled { border-color: var(--line); background: #fff; color: inherit; opacity: .4; cursor: not-allowed; }
/* 2026-10-12 하루 탭 묶음(대표 시안 v4 승인): 오늘 발행 탭 카드 + 실패 처리 줄 */
.modify-daytabs { display: grid; gap: 8px; padding: 12px; border: 1px solid #dbe8df; border-radius: 10px; background: #fff; }
.modify-daytab { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, .7fr) minmax(0, 1.2fr) auto; gap: 12px; align-items: center; padding: 10px 14px; border: 1px solid #dbe8df; border-radius: 10px; background: #fafcfb; }
.modify-daytab.open { border-color: var(--green); background: #f2f9f4; }
.modify-daytab.fail { border-color: #f3c4c4; background: #fff8f8; }
.modify-daytab .nm b { display: block; font-size: 13px; overflow-wrap: anywhere; }
.modify-daytab small { display: block; margin-top: 2px; color: var(--muted); font-size: 11px; }
.modify-daytab .cnt b { font-size: 16px; }
.modify-daytab button { padding: 8px 14px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 13px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.modify-daytab button.primary { border-color: var(--green); background: var(--green); color: #fff; }
.modify-daytab button:disabled { opacity: .4; cursor: not-allowed; }
.modify-fixrow { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin: -2px 0 2px 28px; padding: 8px 12px; border: 1px dashed #e8a0a0; border-radius: 8px; background: #fff; font-size: 12.5px; }
.modify-fixrow a { color: #1a56c4; }
.modify-fixrow button { padding: 5px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.modify-fixrow button.primary { border-color: var(--green); background: var(--green); color: #fff; }
.modify-fixrow button:disabled { opacity: .4; cursor: not-allowed; }
.modify-check { display: inline-flex; gap: 5px; align-items: center; color: #38506a; }
.modify-tabref { font-size: 12px; color: #38506a; white-space: nowrap; }
@media (max-width: 720px) { .modify-daytab { grid-template-columns: 1fr; } .modify-fixrow { margin-left: 0; } }
.modify-actions { align-items: center; }
.modify-actions button.sm { padding: 5px 12px; font-size: 12px; }
.modify-note pre { margin: 4px 0 0; white-space: pre-wrap; overflow-wrap: anywhere; font: inherit; font-size: 11px; max-height: 240px; overflow: auto; }
@media (max-width: 700px) {
  .modify-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .daily-count-note { margin-left: 0; max-width: none; }
}

/* 2026-10-02 02 준비 처리 필요 카드 (00 계정 처리 필요 카드와 같은 모양) */
.tools-account-action-kind.chk { background: #f1f1f1; color: #555; }
.tools-account-action-kind.like { background: #fff3c4; color: #7a4b00; }
.tools-account-action-kind.need { background: #fff3c4; color: #7a4b00; }
.tools-account-action-kind.run { background: #e8f0fd; color: #1a4f9c; }
.tools-account-action-kind.fail { background: #fde8e6; color: #a1271b; }
.tools-login-actions button.sub:disabled { border-color: #d5dbd7; background: #f1f3f2; color: #9aa49e; }
.prep-num { font-weight: 800; }
.prep-bad { color: #c2410c; }
.prep-gray { color: #9aa49e; }
.prep-hint { color: #8a6a2a; font-size: 11px; }
.tools-login-required td small { display: block; color: #8a958e; font-size: 11px; }

/* 일일 운영 기록 카드 (자동화 감시 맨 위) */
.daily-ops-card { margin: 0 0 16px; background: #fff; border: 1px solid #cfe0d5; border-radius: 14px; overflow: hidden; }
.daily-ops-head { display: flex; align-items: center; gap: 14px; padding: 12px 18px; background: #f3f8f4; border-bottom: 1px solid #dbe8df; }
.daily-ops-head b { font-size: 15px; }
.daily-ops-head span { color: #5b6b61; font-size: 12.5px; }
.daily-ops-inner { padding: 14px 18px; }
.daily-ops-empty { margin: 0; color: #5b6b61; font-size: 13px; }
.daily-ops-lab { font-size: 12px; font-weight: 700; margin: 0 0 6px; }
.daily-ops-leg span { display: inline-block; margin-right: 12px; font-size: 11.5px; }
.daily-ops-leg i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 4px; vertical-align: -1px; }
.daily-ops-tl { position: relative; height: 30px; background: #f6f8f7; border-radius: 6px; margin: 4px 0; }
.daily-ops-tl-empty { display: flex; align-items: center; justify-content: center; color: #6d7872; font-size: 12px; }
.daily-ops-tl i { position: absolute; top: 4px; height: 22px; border-radius: 5px; font-style: normal; font-size: 11px; font-weight: 700; color: #fff; line-height: 22px; text-align: center; overflow: hidden; white-space: nowrap; }
.daily-ops-k0 { background: #6d7872; }
.daily-ops-k1 { background: #2e7d4f; }
.daily-ops-k2 { background: #3c7fb5; }
.daily-ops-k3 { background: #8a6fc0; }
.daily-ops-k4 { background: #c98a1b; }
.daily-ops-k5 { background: #b3564e; }
.daily-ops-axis { display: flex; justify-content: space-between; font-size: 11px; color: #8a958e; margin: 2px 0 8px; }
.daily-ops-wrap { overflow-x: auto; }
.daily-ops-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.daily-ops-table th { background: #f6f8f7; color: #5b6b61; font-weight: 700; text-align: left; padding: 7px 8px; border-bottom: 1px solid #e3eae5; white-space: nowrap; }
.daily-ops-table td { padding: 7px 8px; border-bottom: 1px solid #eef2ef; vertical-align: middle; }
.daily-ops-table tbody tr { cursor: pointer; }
.daily-ops-table tr.daily-ops-today td { background: #eef7f1; }
.daily-ops-pill { display: inline-block; border-radius: 999px; padding: 1px 8px; font-size: 11.5px; font-weight: 700; }
.daily-ops-pill.g { background: #e3f3e8; color: #1e7a46; }
.daily-ops-pill.y { background: #fff1d6; color: #b07400; }
.daily-ops-pill.x { background: #eceeed; color: #6d7872; }
.daily-ops-pill.r { background: #fde7e5; color: #b3261e; }
.daily-ops-note { font-size: 12px; color: #6b776f; margin: 8px 0 0; }
/* 위치·너비 클래스(0~100%) */
.daily-ops-l0{left:0%} .daily-ops-l1{left:1%} .daily-ops-l2{left:2%} .daily-ops-l3{left:3%} .daily-ops-l4{left:4%} .daily-ops-l5{left:5%} .daily-ops-l6{left:6%} .daily-ops-l7{left:7%} .daily-ops-l8{left:8%} .daily-ops-l9{left:9%}
.daily-ops-l10{left:10%} .daily-ops-l11{left:11%} .daily-ops-l12{left:12%} .daily-ops-l13{left:13%} .daily-ops-l14{left:14%} .daily-ops-l15{left:15%} .daily-ops-l16{left:16%} .daily-ops-l17{left:17%} .daily-ops-l18{left:18%} .daily-ops-l19{left:19%}
.daily-ops-l20{left:20%} .daily-ops-l21{left:21%} .daily-ops-l22{left:22%} .daily-ops-l23{left:23%} .daily-ops-l24{left:24%} .daily-ops-l25{left:25%} .daily-ops-l26{left:26%} .daily-ops-l27{left:27%} .daily-ops-l28{left:28%} .daily-ops-l29{left:29%}
.daily-ops-l30{left:30%} .daily-ops-l31{left:31%} .daily-ops-l32{left:32%} .daily-ops-l33{left:33%} .daily-ops-l34{left:34%} .daily-ops-l35{left:35%} .daily-ops-l36{left:36%} .daily-ops-l37{left:37%} .daily-ops-l38{left:38%} .daily-ops-l39{left:39%}
.daily-ops-l40{left:40%} .daily-ops-l41{left:41%} .daily-ops-l42{left:42%} .daily-ops-l43{left:43%} .daily-ops-l44{left:44%} .daily-ops-l45{left:45%} .daily-ops-l46{left:46%} .daily-ops-l47{left:47%} .daily-ops-l48{left:48%} .daily-ops-l49{left:49%}
.daily-ops-l50{left:50%} .daily-ops-l51{left:51%} .daily-ops-l52{left:52%} .daily-ops-l53{left:53%} .daily-ops-l54{left:54%} .daily-ops-l55{left:55%} .daily-ops-l56{left:56%} .daily-ops-l57{left:57%} .daily-ops-l58{left:58%} .daily-ops-l59{left:59%}
.daily-ops-l60{left:60%} .daily-ops-l61{left:61%} .daily-ops-l62{left:62%} .daily-ops-l63{left:63%} .daily-ops-l64{left:64%} .daily-ops-l65{left:65%} .daily-ops-l66{left:66%} .daily-ops-l67{left:67%} .daily-ops-l68{left:68%} .daily-ops-l69{left:69%}
.daily-ops-l70{left:70%} .daily-ops-l71{left:71%} .daily-ops-l72{left:72%} .daily-ops-l73{left:73%} .daily-ops-l74{left:74%} .daily-ops-l75{left:75%} .daily-ops-l76{left:76%} .daily-ops-l77{left:77%} .daily-ops-l78{left:78%} .daily-ops-l79{left:79%}
.daily-ops-l80{left:80%} .daily-ops-l81{left:81%} .daily-ops-l82{left:82%} .daily-ops-l83{left:83%} .daily-ops-l84{left:84%} .daily-ops-l85{left:85%} .daily-ops-l86{left:86%} .daily-ops-l87{left:87%} .daily-ops-l88{left:88%} .daily-ops-l89{left:89%}
.daily-ops-l90{left:90%} .daily-ops-l91{left:91%} .daily-ops-l92{left:92%} .daily-ops-l93{left:93%} .daily-ops-l94{left:94%} .daily-ops-l95{left:95%} .daily-ops-l96{left:96%} .daily-ops-l97{left:97%} .daily-ops-l98{left:98%} .daily-ops-l99{left:99%}
.daily-ops-l100{left:100%}
.daily-ops-w1{width:1%} .daily-ops-w2{width:2%} .daily-ops-w3{width:3%} .daily-ops-w4{width:4%} .daily-ops-w5{width:5%} .daily-ops-w6{width:6%} .daily-ops-w7{width:7%} .daily-ops-w8{width:8%} .daily-ops-w9{width:9%} .daily-ops-w10{width:10%}
.daily-ops-w11{width:11%} .daily-ops-w12{width:12%} .daily-ops-w13{width:13%} .daily-ops-w14{width:14%} .daily-ops-w15{width:15%} .daily-ops-w16{width:16%} .daily-ops-w17{width:17%} .daily-ops-w18{width:18%} .daily-ops-w19{width:19%} .daily-ops-w20{width:20%}
.daily-ops-w21{width:21%} .daily-ops-w22{width:22%} .daily-ops-w23{width:23%} .daily-ops-w24{width:24%} .daily-ops-w25{width:25%} .daily-ops-w26{width:26%} .daily-ops-w27{width:27%} .daily-ops-w28{width:28%} .daily-ops-w29{width:29%} .daily-ops-w30{width:30%}
.daily-ops-w31{width:31%} .daily-ops-w32{width:32%} .daily-ops-w33{width:33%} .daily-ops-w34{width:34%} .daily-ops-w35{width:35%} .daily-ops-w36{width:36%} .daily-ops-w37{width:37%} .daily-ops-w38{width:38%} .daily-ops-w39{width:39%} .daily-ops-w40{width:40%}
.daily-ops-w41{width:41%} .daily-ops-w42{width:42%} .daily-ops-w43{width:43%} .daily-ops-w44{width:44%} .daily-ops-w45{width:45%} .daily-ops-w46{width:46%} .daily-ops-w47{width:47%} .daily-ops-w48{width:48%} .daily-ops-w49{width:49%} .daily-ops-w50{width:50%}
.daily-ops-w51{width:51%} .daily-ops-w52{width:52%} .daily-ops-w53{width:53%} .daily-ops-w54{width:54%} .daily-ops-w55{width:55%} .daily-ops-w56{width:56%} .daily-ops-w57{width:57%} .daily-ops-w58{width:58%} .daily-ops-w59{width:59%} .daily-ops-w60{width:60%}
.daily-ops-w61{width:61%} .daily-ops-w62{width:62%} .daily-ops-w63{width:63%} .daily-ops-w64{width:64%} .daily-ops-w65{width:65%} .daily-ops-w66{width:66%} .daily-ops-w67{width:67%} .daily-ops-w68{width:68%} .daily-ops-w69{width:69%} .daily-ops-w70{width:70%}
.daily-ops-w71{width:71%} .daily-ops-w72{width:72%} .daily-ops-w73{width:73%} .daily-ops-w74{width:74%} .daily-ops-w75{width:75%} .daily-ops-w76{width:76%} .daily-ops-w77{width:77%} .daily-ops-w78{width:78%} .daily-ops-w79{width:79%} .daily-ops-w80{width:80%}
.daily-ops-w81{width:81%} .daily-ops-w82{width:82%} .daily-ops-w83{width:83%} .daily-ops-w84{width:84%} .daily-ops-w85{width:85%} .daily-ops-w86{width:86%} .daily-ops-w87{width:87%} .daily-ops-w88{width:88%} .daily-ops-w89{width:89%} .daily-ops-w90{width:90%}
.daily-ops-w91{width:91%} .daily-ops-w92{width:92%} .daily-ops-w93{width:93%} .daily-ops-w94{width:94%} .daily-ops-w95{width:95%} .daily-ops-w96{width:96%} .daily-ops-w97{width:97%} .daily-ops-w98{width:98%} .daily-ops-w99{width:99%} .daily-ops-w100{width:100%}

/* 03 일상글 원클릭 발행 (2026-10-02 시안 v2 · C-2) */
.dp-sum { padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px; background: #fafcfb; font-size: 12px; line-height: 1.5; }
.dp-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(110px, 1fr)); gap: 6px; }
.dp-step { padding: 6px 8px; border: 1px solid var(--line); border-radius: 8px; background: var(--surface); color: var(--muted); font-size: 11px; font-weight: 700; }
.dp-step.done { border-color: #b7d7c5; background: var(--green-soft); color: var(--green); }
.dp-step.active { border-color: var(--green); background: #fff; color: var(--ink); }
.dp-step.stop { border-color: var(--red); background: var(--red-soft); color: var(--red); }
.dp-progress { width: 100%; height: 8px; }
.dp-job { display: grid; gap: 10px; }
.dp-note { margin: 0; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.dp-why, .dp-stop, .dp-confirm { padding: 10px 12px; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.dp-why { background: var(--amber-soft); color: #5a4300; }
.dp-stop { background: var(--red-soft); color: var(--red); }
.dp-confirm { background: var(--blue-soft); color: #1d3f5e; }
.dp-confirm-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.dp-manuscripts { display: grid; gap: 6px; margin-top: 8px; }
.dp-manuscripts summary { cursor: pointer; font-weight: 700; }
.dp-body { margin-top: 4px; padding: 8px; border-radius: 8px; background: #fff; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow: auto; }
.dp-pill { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 700; }
.dp-pill.g { background: var(--green-soft); color: var(--green); }
.dp-pill.y { background: #fff1d6; color: #b07400; }
.dp-pill.r { background: var(--red-soft); color: var(--red); }
.dp-pill.x { background: #eef1ef; color: var(--muted); }
.dp-table td { vertical-align: top; overflow-wrap: anywhere; }

/* ① 오늘 아침 (2026-10-03 시안 v2). 클래스만 사용(CSP: 인라인 style 금지). */
.morning-today { margin: 0 0 16px; background: #fff; border: 1px solid #cfe0d5; border-radius: 14px; overflow: hidden; }
.morning-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: 12px; padding: 14px 20px; background: var(--green-soft); border-bottom: 1px solid #cfe0d5; }
.morning-head h2 { margin: 0; font-size: 18px; }
.morning-meta { color: var(--muted); font-size: 12.5px; }
.morning-body { padding: 4px 20px 18px; }
.morning-label { margin: 16px 0 8px; font-size: 13px; font-weight: 800; }
.morning-label small { margin-left: 8px; color: var(--muted); font-weight: 500; }
.morning-banner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 16px 18px; border: 1px solid; border-radius: 12px; }
.morning-banner b { font-size: 20px; }
.morning-banner small { margin-left: 8px; color: var(--muted); font-size: 12.5px; }
.morning-banner.g, .morning-todo.g { background: var(--green-soft); border-color: #a9d6bd; }
.morning-banner.y, .morning-todo.y { background: var(--amber-soft); border-color: #f0d9a3; }
.morning-banner.r, .morning-todo.r { background: var(--red-soft); border-color: #f1b9b3; }
.morning-banner.x, .morning-todo.x { background: #eef1ef; border-color: #d3d9d5; }
.morning-todos { display: grid; gap: 8px; }
.morning-todo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 14px; border: 1px solid; border-radius: 10px; font-size: 13.5px; }
.morning-todo-btn { flex: none; padding: 5px 11px; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 7px; font-size: 12.5px; text-decoration: none; }
.morning-table-wrap { overflow-x: auto; }
.morning-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.morning-table th, .morning-table td { padding: 9px 10px; border-bottom: 1px solid var(--line); text-align: left; }
.morning-table thead th { background: #f3f7f4; color: var(--muted); font-weight: 700; }
.morning-table a { color: var(--green); font-weight: 700; text-decoration: none; }
.morning-unknown { color: var(--amber); font-weight: 700; }
.morning-muted { color: var(--muted); }
.legacy-overview { margin: 0 0 16px; padding: 10px 16px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.legacy-overview > summary { cursor: pointer; font-weight: 800; }

/* ② 주간 성과 (2026-10-05). 인라인 style 금지(CSP) -> 막대 너비는 단계 클래스(5% 단위). */
.weekly-kw-row { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; align-items: center; gap: 12px; margin: 6px 0; font-size: 13px; }
.weekly-bar { display: flex; height: 22px; overflow: hidden; background: #eef1ef; border-radius: 6px; }
.weekly-bar i { display: block; min-width: 0; }
.weekly-bar .k { background: #3f9d73; }
.weekly-bar .m { background: #e0a43a; }
.weekly-bar .u { background: #b9c2bd; }
.wk-w0 { flex: 0 0 0%; }
.wk-w1 { flex: 0 0 5%; }
.wk-w2 { flex: 0 0 10%; }
.wk-w3 { flex: 0 0 15%; }
.wk-w4 { flex: 0 0 20%; }
.wk-w5 { flex: 0 0 25%; }
.wk-w6 { flex: 0 0 30%; }
.wk-w7 { flex: 0 0 35%; }
.wk-w8 { flex: 0 0 40%; }
.wk-w9 { flex: 0 0 45%; }
.wk-w10 { flex: 0 0 50%; }
.wk-w11 { flex: 0 0 55%; }
.wk-w12 { flex: 0 0 60%; }
.wk-w13 { flex: 0 0 65%; }
.wk-w14 { flex: 0 0 70%; }
.wk-w15 { flex: 0 0 75%; }
.wk-w16 { flex: 0 0 80%; }
.wk-w17 { flex: 0 0 85%; }
.wk-w18 { flex: 0 0 90%; }
.wk-w19 { flex: 0 0 95%; }
.wk-w20 { flex: 0 0 100%; }
.weekly-legend { display: flex; flex-wrap: wrap; gap: 14px; margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.weekly-legend .wk-legend-k { background: #3f9d73; }
.weekly-legend .wk-legend-m { background: #e0a43a; }
.weekly-legend .wk-legend-u { background: #b9c2bd; }
.weekly-legend i { display: inline-block; width: 10px; height: 10px; margin-right: 5px; border-radius: 2px; vertical-align: -1px; }
.weekly-table td, .weekly-table th { white-space: nowrap; }
.weekly-table td.n { text-align: right; font-variant-numeric: tabular-nums; }
.weekly-table .grp { border-left: 2px solid var(--line); }
.weekly-table thead th { text-align: center; }
.weekly-table thead .wk-g-top { background: #e6f2ea; color: var(--green); }   /* 2026-10-16 가안: 상위노출 발행 / 준비 발행 묶음 */
.weekly-table thead .wk-g-prep { background: var(--amber-soft); color: #9a6a12; }
.weekly-table .wk-sum { background: #fdf6e7; font-weight: 800; }
.weekly-table td.wk-keep { text-align: center; color: var(--green); font-weight: 800; }
.weekly-table td.wk-role { text-align: center; }   /* D77 B안: 계정 본문·댓글 = 정상 · 비정상 */
.wk-chip { display: inline-flex; align-items: center; gap: 5px; padding: 1px 9px; border: 1px solid var(--line); border-radius: 999px; }
.wk-chip b { color: var(--green); }
.wk-bad { padding: 0 2px; color: #c0392b; background: none; border: 0; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.wk-pop { position: absolute; z-index: 50; width: min(470px, calc(100vw - 16px)); padding: 10px 12px; background: #fff; border: 1px solid #f1c9c2; border-radius: 12px; box-shadow: 0 8px 24px rgba(0, 0, 0, .14); }
.wk-pop-head { display: flex; align-items: center; justify-content: space-between; margin: 0 0 8px; color: #8b3a2e; font-size: 12.5px; }
.wk-pop-x { padding: 2px 6px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.wk-pop-table { width: 100%; border-collapse: collapse; font-size: 12px; }
.wk-pop-table th { padding: 6px 8px; background: #fbefec; color: #8b3a2e; text-align: left; }
.wk-pop-table td { padding: 6px 8px; border-bottom: 1px solid #f6e3df; }
.wk-st { display: inline-block; padding: 1px 8px; border-radius: 999px; font-size: 11px; font-weight: 800; }
.wk-st.j { background: #fde8e4; color: #b23a2a; }
.wk-st.u { background: #fff3d6; color: #9a6a00; }
.wk-st.c { background: #eef1f4; color: #4b5a66; }
.weekly-src { margin: 10px 0 0; color: var(--muted); font-size: 11.5px; line-height: 1.6; }
/* 2026-10-26 가-1: ③ 주간·월간 합침 — (가) 발행 글 노출 막대(미확인 = 빗금), 가·나 표식, PC 기준 표시, 그중 노출 칸 */
.weekly-bar .x { background: repeating-linear-gradient(135deg, #cfd6d2 0 4px, #f1f4f2 4px 8px); }
.weekly-legend .wk-legend-x { background: repeating-linear-gradient(135deg, #cfd6d2 0 3px, #f1f4f2 3px 6px); }
.wk-tag { display: inline-block; min-width: 22px; margin-right: 4px; padding: 0 8px; border: 1px solid var(--line); border-radius: 999px; background: #f3f7f4; color: var(--muted); font-size: 12px; font-weight: 700; text-align: center; }
.wk-pc { display: inline-block; padding: 0 6px; border: 1px solid #17241d; border-radius: 5px; font-size: 11px; font-weight: 800; line-height: 1.5; }
.weekly-kw-row.wk-exp-row { grid-template-columns: 132px minmax(0, 1fr) auto; white-space: nowrap; }
.wk-kw-label { margin-top: 16px; }
.weekly-table td.wk-exp { line-height: 1.25; }
.weekly-table .wk-exp-un { display: block; font-size: 11px; font-weight: 400; }
@media (max-width: 620px) { .weekly-table th, .weekly-table td { display: table-cell; } }   /* 좁은 화면 공용 규칙(4번째 칸 숨김)이 수정 칸을 가리지 않게 */

/* 2026-10-07 시안 v3 · 일일 운영 기록 표(날짜 | 카페 | 제품 | … ). 글자색은 클래스로(CSP). */
.daily-ops-c-g { color: #1e7a46; font-weight: 700; }
.daily-ops-c-o { color: #d9731a; font-weight: 700; }
.daily-ops-c-rd { color: #c62828; font-weight: 700; }
.daily-ops-c-bl { color: #1f5fbf; font-weight: 700; }
.daily-ops-c-pu { color: #7b3fb8; font-weight: 700; }
.daily-ops-c-n { color: #6d7872; }
.daily-ops-textleg { margin: 6px 0 8px; }
.daily-ops-textleg span { margin-right: 14px; }
.daily-ops-table td.daily-ops-sub { color: #33483b; font-weight: 700; white-space: nowrap; }
.daily-ops-table tr.daily-ops-day td { border-top: 2px solid #dbe8df; background: #fbfdfb; }
.daily-ops-table tr.daily-ops-day.daily-ops-today td { background: #eef7f1; }
.daily-ops-prod { display: inline-block; padding: 1px 8px; border-radius: 999px; background: #eef3f0; color: #33483b; font-size: 11.5px; font-weight: 700; }
.daily-ops-two > div { min-height: 22px; display: flex; align-items: center; flex-wrap: wrap; gap: 0 4px; }
.daily-ops-two > div + div { margin-top: 4px; padding-top: 4px; border-top: 1px dashed #e3eae5; }
.daily-ops-table td.daily-ops-prodcell, .daily-ops-table td.daily-ops-prodcell * { white-space: nowrap; }
/* 2026-10-07 좁은 폭 대응: 블록 본문이 칸보다 넓어져 잘리지 않게 / 입력칸 줄바꿈 / 표는 가로 스크롤 */
.module-preparation.stage3-tools > *, .tools-accordion, .tools-accordion-body, .tools-accordion-body > * { min-width: 0; }
@media (min-width: 701px) {
  .tools-source-selector:not(.modify-source-selector), .tools-request-conditions { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
}
.tools-plan-panel { min-width: 0; padding: 12px; overflow-wrap: anywhere; }
/* 2026-10-07 03 일상글 발행 패널만 넓게(520px). 01·02 는 300px 유지. 1320px 이하는 기존대로 1칸 */
.module-preparation.stage3-tools:has(> .module-preparation-workspace:not(.hidden) .dp-panel) { grid-template-columns: minmax(0, 1fr) 520px; }
@media (max-width: 1320px) {
  .module-preparation.stage3-tools:has(> .module-preparation-workspace:not(.hidden) .dp-panel) { grid-template-columns: 1fr; }
}
.dp-table { min-width: 0; }
.dp-table td:nth-child(3) { max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dp-table td:nth-child(5), .dp-table td:nth-child(6) { white-space: nowrap; }
/* ⚠ 준비 처리 필요 상자 표: 상자 폭에 맞추고 넘치면 가로 스크롤 */
.tools-login-required .tools-account-table-wrap { max-width: 100%; }
.tools-login-required .tools-account-table-wrap .tools-account-table { min-width: 0; }
/* 03 발행 현황표: 번호·계정 줄바꿈 안 함 */
.dp-panel .dp-table td:nth-child(1), .dp-panel .dp-table th:nth-child(1), .dp-panel .dp-table td:nth-child(2), .dp-panel .dp-table th:nth-child(2) { white-space: nowrap; }

/* 피드백 허브 A09(2026-10-14): 03 패널 맨 위 오늘 실행 한 줄 */
.dp-today { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin: 0 0 10px; padding: 8px 10px; border: 1px solid #dbe3de; border-radius: 10px; font-size: 12.5px; color: #38506a; }

/* 피드백 허브 G05(2026-10-14): 일자별 점검 기록 더 보기 줄 */
.table-more { text-align: center; padding: 10px; }

/* 2026-10-15 05 일반 발행 블록(승인 시안 A안): 04 블록 클래스를 그대로 쓰고 05 전용 칸만 더한다(인라인 style 없음) */
.general-table td { vertical-align: middle; }
.general-table .gen-pick { min-width: 150px; max-width: 220px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; }
.gen-lim { display: block; margin-top: 3px; color: var(--muted); font-size: 11px; font-weight: 800; }
.gen-lim.full { color: #b42318; }
.general-table button.sm { padding: 2px 8px; border: 1px solid #9abfac; border-radius: 8px; background: #fff; color: var(--green); font-size: 11.5px; font-weight: 700; cursor: pointer; }
.gen-ms-row td { background: #fafcfb; }
.gen-ms b { display: block; font-size: 13px; }
.gen-ms pre { margin: 6px 0; padding: 8px 10px; max-height: 260px; overflow: auto; border: 1px solid var(--line); border-radius: 8px; background: #fff; font: inherit; font-size: 12px; line-height: 1.6; white-space: pre-wrap; overflow-wrap: anywhere; }
.gen-ms-comments { display: grid; gap: 3px; margin: 4px 0 0 18px; padding: 0; font-size: 12px; }
.tools-account-table .gen-ms-comments small { display: inline; margin: 0 4px 0 0; color: var(--muted); font-weight: 800; }
.general-tab-table { min-width: 0; }
.general-tab-table td, .general-tab-table th { vertical-align: middle; }
.gen-tab-actions { white-space: nowrap; }
.gen-tab-actions button { margin-right: 6px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 8px; background: #fff; font-size: 12px; font-weight: 700; cursor: pointer; }
.gen-tab-actions button.primary { border-color: var(--green); background: var(--green); color: #fff; }
.gen-tab-actions button:disabled { opacity: .4; cursor: not-allowed; }
.gen-fix-row td { padding: 4px 8px 8px; background: #fff; }
.gen-fix-row .modify-fixrow { margin: 0; }

/* ---- 발행 대기열 2단계 (2026-10-15 사원 결정 D69 "B안": 업무 도구 오른쪽 접히는 패널. 색·크기는 시안 B안 그대로) ---- */
#tools.has-pq { display: grid; grid-template-columns: minmax(0, 1fr) 380px; column-gap: 18px; align-items: start; }
#tools.has-pq > * { grid-column: 1; min-width: 0; }
#tools.has-pq > .pq-panel { grid-column: 2; grid-row: 1 / span 40; position: sticky; top: 12px; }
#tools.has-pq.pq-collapsed { grid-template-columns: minmax(0, 1fr) 46px; }
/* 업무 도구 왼쪽 두 칸(목록 + 상세)은 약 1240px 가 필요하다. 화면이 좁으면(작업 PC 1920px 보다 좁은 창) 패널을 오른쪽에 떠 있는 서랍으로 둔다(접기 그대로) */
@media (max-width: 1699px) {
  #tools.has-pq, #tools.has-pq.pq-collapsed { display: block; }
  #tools.has-pq > .pq-panel { position: fixed; top: 76px; right: 14px; z-index: 40; width: 380px; max-height: calc(100vh - 92px); box-shadow: -10px 6px 30px rgba(8, 47, 34, .18); }
  #tools.has-pq.pq-collapsed > .pq-panel { width: 46px; box-shadow: none; }
}
@media (max-width: 900px) {
  #tools.has-pq > .pq-panel { position: static; width: auto; max-height: none; margin-bottom: 14px; }
  #tools.has-pq.pq-collapsed > .pq-panel { width: auto; }
  .pq-tab { flex-direction: row; width: 100%; justify-content: center; }
  .pq-tab span:not(.pq-pill), .pq-tab .pq-pill { writing-mode: horizontal-tb; }
}
.pq-panel { max-height: calc(100vh - 24px); overflow: auto; padding: 18px 16px 18px; border: 1px solid #cfe0d5; border-radius: 12px; background: #fff; box-shadow: -8px 0 24px rgba(8, 47, 34, .06); font-size: 12.5px; color: #17241d; }
.pq-collapsed .pq-panel { padding: 0; overflow: visible; border: 0; box-shadow: none; background: transparent; }
.pq-tab { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 46px; padding: 12px 0; border: 1px solid #cfe0d5; border-radius: 12px; background: #fff; color: #2e7d4f; font-weight: 800; cursor: pointer; }
.pq-tab span:not(.pq-pill) { writing-mode: vertical-rl; letter-spacing: .08em; color: #17241d; }
.pq-tab .pq-pill { writing-mode: vertical-rl; padding: 6px 2px; }
.pq-ph { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; }
.pq-ph h2 { margin: 0; font-size: 16px; }
.pq-sp { flex: 1; }
.pq-fold { border: 0; background: none; color: #64736a; font-weight: 800; cursor: pointer; }
.pq-meta { margin-bottom: 10px; color: #64736a; font-size: 11.5px; }
.pq-pill { display: inline-block; padding: 2px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; white-space: nowrap; }
.pq-pill.g { background: #e3f4ea; color: #1e7a46; }
.pq-pill.y { background: #fff4d6; color: #8a5a00; }
.pq-pill.s { background: #eceeed; color: #6b746f; }
.pq-pill.b { background: #e7f0fb; color: #2b5d9b; }
.pq-pill.r { background: #fff0ee; color: #b7352b; }
.pq-btn, .pq-03 .pq-btn { display: inline-block; padding: 6px 12px; border: 1px solid #9cc8ad; border-radius: 8px; background: #fff; color: #2e7d4f; font-size: 12.5px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.pq-btn.p { border-color: #3f9a63; background: #3f9a63; color: #fff; }
.pq-btn:disabled { border-color: #e1e6e2; background: #f7f9f8; color: #a7b0aa; cursor: not-allowed; }
.pq-btn.s { padding: 2px 8px; font-size: 11.5px; }
.pq-stop { margin-bottom: 12px; padding: 10px 12px; border: 1px solid #f1c5bf; border-radius: 10px; background: #fff6f4; word-break: keep-all; }
.pq-stop b { color: #b7352b; }
.pq-r { display: flex; gap: 8px; margin-top: 8px; }
.pq-ack { display: flex; align-items: center; gap: 6px; margin-top: 8px; font-weight: 700; }
.pq-wait { margin-bottom: 10px; padding: 8px 10px; border: 1px solid #e7f0fb; border-radius: 10px; background: #f5f9fe; color: #2b5d9b; }
.pq-basis { margin-bottom: 8px; color: #64736a; font-size: 11.5px; }
span.pq-basis, .pqo-grid3 small.pq-basis { margin: 0; }
.pq-msg { margin-bottom: 10px; padding: 8px 10px; border-radius: 10px; white-space: pre-line; }
.pq-msg.ok { border: 1px solid #cfe8d8; background: #f2faf5; }
.pq-msg.check { border: 1px solid #f1c5bf; background: #fff6f4; }
.pq-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.pq-tile { padding: 8px 10px; border: 1px solid #e1e8e3; border-radius: 10px; color: #64736a; font-size: 11px; }
.pq-tile b { display: block; margin-top: 2px; color: #17241d; font-size: 15px; }
.pq-tile small { color: #94a39a; font-size: 10.5px; }
.pq-tl { position: relative; margin-bottom: 12px; padding-left: 22px; }
.pq-tl::before { content: ""; position: absolute; top: 6px; bottom: 6px; left: 8px; width: 2px; background: #dbe8df; }
.pq-it { position: relative; margin-bottom: 8px; padding: 9px 11px; border: 1px solid #e1e8e3; border-radius: 10px; font-size: 12px; }
.pq-it::before { content: ""; position: absolute; top: 13px; left: -19px; width: 12px; height: 12px; border: 2px solid #fff; border-radius: 50%; background: #cfd8d2; box-shadow: 0 0 0 1px #cfd8d2; }
.pq-it.done::before { background: #3f9a63; box-shadow: 0 0 0 1px #3f9a63; }
.pq-it.run::before { background: #2b5d9b; box-shadow: 0 0 0 1px #2b5d9b; }
.pq-it.stopd { border-color: #f1c5bf; }
.pq-it.stopd::before { background: #b7352b; box-shadow: 0 0 0 1px #b7352b; }
.pq-t { display: flex; align-items: center; gap: 6px; }
.pq-t b { flex: 1; overflow: hidden; font-size: 12.5px; text-overflow: ellipsis; white-space: nowrap; }
.pq-k { color: #2b5d9b; font-size: 11.5px; font-weight: 800; white-space: nowrap; }
.pq-m { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 8px; margin-top: 4px; color: #64736a; font-size: 11.5px; }
.pq-mini { height: 6px; margin-top: 6px; overflow: hidden; border-radius: 99px; background: #e8eeea; }
.pq-mini i { display: block; height: 100%; background: #3f9a63; }
.pq-mini i.r { background: #b7352b; }
.pq-check { color: #b7352b; font-weight: 800; }
.pq-empty { margin: 6px 0 12px; color: #64736a; }
.pq-sec { margin: 10px 0 6px; color: #64736a; font-size: 12.5px; font-weight: 800; }
.pq-sec small { font-weight: 400; }
.pq-acct-wrap { overflow-x: auto; }
.pq-acct { width: 100%; border-collapse: collapse; font-size: 12px; }
.pq-acct th { padding: 5px 6px; border-bottom: 1px solid #e3eae5; background: #f6f8f7; color: #64736a; text-align: left; white-space: nowrap; }
.pq-acct td { padding: 5px 6px; border-bottom: 1px solid #eef2ef; white-space: nowrap; }
.pq-lim { color: #b7352b; font-weight: 700; }
.pq-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.pq-qo { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.pq-opt { display: inline-flex; align-items: center; gap: 5px; color: #64736a; font-size: 11.5px; white-space: nowrap; }
.pq-seg { display: inline-flex; overflow: hidden; border: 1px solid #9cc8ad; border-radius: 7px; background: #fff; }
.pq-seg button { padding: 2px 7px; border: 0; border-left: 1px solid #9cc8ad; background: #fff; color: #2e7d4f; font-size: 11.5px; cursor: pointer; }
.pq-seg button:first-child { border-left: 0; }
.pq-seg button.on { background: #3f9a63; color: #fff; font-weight: 800; }
.pq-seg button:disabled { cursor: not-allowed; opacity: .6; }
.pq-runs { margin-top: 12px; }
.pq-runs details { margin-bottom: 6px; padding: 6px 8px; border: 1px solid #e1e8e3; border-radius: 8px; }
.pq-runs summary { cursor: pointer; font-weight: 700; }
.pq-runs ul { margin: 6px 0 0; padding-left: 18px; color: #64736a; }
.pq-daytab-btns { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.pq-03 { margin: 10px 0; }
.pq-03-table td { vertical-align: middle; white-space: normal; overflow-wrap: anywhere; }
.pq-03-table td:last-child { width: 1%; white-space: nowrap; text-align: right; }
.pq-line { margin: 0 0 10px; padding: 8px 12px; border: 1px solid #dbe8df; border-radius: 10px; background: #fff; font-size: 13px; font-weight: 700; }
.pq-line a { color: inherit; text-decoration: none; }
.pq-line small { margin-left: 6px; color: #64736a; font-weight: 400; }
.pq-line.r { border-color: #f1c5bf; background: #fff6f4; color: #b7352b; }
.pq-line.b { border-color: #cfdff3; background: #f5f9fe; color: #2b5d9b; }
.pq-line.g { color: #1e7a46; }
.pq-line.y { border-color: #f0d28a; background: #fffaf0; color: #8a5a00; }
.pq-runs-log ul { margin: 6px 14px 12px; padding-left: 18px; font-size: 12.5px; }

/* D87 전체 현황 ② 발행 대기열(시안 v6)·패널 이어받는 중. 인라인 style 금지(CSP) -> 막대 너비는 JS 가 data-pct 로 넣는다 */
.pq-pill.v { background: #ece9fb; color: #4b3fa8; }
.deploy-line { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 10px; padding: 6px 14px; border: 1px solid #f0d9a3; border-radius: 999px; background: var(--amber-soft); color: #8a5a00; font-size: 12.5px; font-weight: 700; }
.deploy-line .dot { width: 7px; height: 7px; border-radius: 50%; background: #d18b00; }
.deploy-line small { color: #8a7a55; font-weight: 400; }
.pqo .morning-body { display: grid; gap: 12px; padding-top: 16px; }
.pqo-hero { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding: 16px 20px; border: 2px solid #d3d9d5; border-radius: 14px; background: #f7f9f8; }
.pqo-hero.run { border-color: #2b5d9b; background: #eef4fc; }
.pqo-hl { flex: 1 1 260px; min-width: 0; }
.pqo-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.pqo-badges .pq-pill { font-size: 13px; padding: 4px 12px; }
.pqo-chip { display: inline-block; padding: 3px 10px; border: 1px solid #c9c2f2; border-radius: 999px; background: #ece9fb; color: #4b3fa8; font-size: 12px; font-weight: 700; }
.pqo-tab { margin: 4px 0 8px; font-size: 20px; font-weight: 800; overflow-wrap: anywhere; }
.pqo-k { color: #2b5d9b; font-weight: 800; }
.pqo-prog { display: flex; align-items: center; gap: 12px; }
.pqo-prog b { white-space: nowrap; }
.pq-bar { display: block; flex: 1; height: 10px; overflow: hidden; border-radius: 99px; background: #d9e4f2; }
.pq-bar i { display: block; width: 0; height: 100%; background: #2b5d9b; }
.pqo-why { color: #5f6b64; font-size: 14px; }
.pqo-hr { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.pqo-n { font-size: 30px; font-weight: 800; line-height: 1; }
.pqo-n small { font-size: 15px; }
.pqo-hr > small { color: #64736a; font-size: 11.5px; }
.pq-steps { display: inline-flex; flex-wrap: wrap; gap: 3px; }
.pq-steps i { display: block; width: 20px; height: 8px; border-radius: 3px; background: #dcdfdd; }
.pq-steps i.d { background: #3f9a63; }
.pq-steps i.r { background: #2b5d9b; box-shadow: 0 0 0 2px #b8cdea; }
.pq-steps i.x { background: #b7352b; }
.pq-steps i.v { background: #7a6bd6; }
.pqo-grid3, .pqo-grid4 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid #dbe3de; border-radius: 12px; overflow: hidden; }
.pqo-grid4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.pqo-grid3 > div, .pqo-grid4 > div { padding: 10px 16px; border-right: 1px solid #e3e9e5; background: #f8faf9; }
.pqo-grid3 > div:last-child, .pqo-grid4 > div:last-child { border-right: 0; }
.pqo-grid3 small, .pqo-grid4 small { display: block; color: #64736a; font-size: 11.5px; }
.pqo-grid3 b, .pqo-grid4 b { font-size: 17px; }
.pqo-dots { color: #2b5d9b; letter-spacing: 2px; }
.pqo-box { padding: 12px 16px; border: 1px solid #dbe3de; border-radius: 12px; }
.pqo-box.r { border-color: #f1b9b3; background: #fff7f6; }
.pqo-sec { display: block; margin-bottom: 6px; color: #5f6b64; font-size: 12px; font-weight: 700; }
.pqo-cl { padding: 4px 0; font-size: 13px; overflow-wrap: anywhere; }
.pqo-cl a { color: #b7352b; font-weight: 700; }
.pqo-mute { color: #7c8a82; font-size: 11.5px; font-weight: 400; }
.pqo-next1 { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-bottom: 8px; border-bottom: 1px dashed #dbe3de; }
.pqo-next1 > div { min-width: 0; overflow-wrap: anywhere; }
.pqo-next1 small { display: block; color: #7c8a82; font-size: 11.5px; }
.pqo-next { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; padding-top: 6px; font-size: 12.5px; }
.pqo-next small { color: #7c8a82; white-space: nowrap; }
.pqo-out { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; padding: 10px 16px; font-size: 12.5px; }
.pqo-out .pqo-sec { margin: 0; }
.pqo-lh { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 8px; }
.pqo-tg, .pqo-fold { padding: 4px 12px; border: 1px solid #b9cdbf; border-radius: 8px; background: #fff; color: #1e7a46; font-size: 12px; font-weight: 700; cursor: pointer; }
.pqo-fold { display: block; width: 100%; margin-top: 8px; border-style: dashed; text-align: left; }
.pqo-summary { padding: 8px 12px; border: 1px dashed #cfd8d2; border-radius: 8px; background: #f7f9f8; font-size: 12.5px; font-weight: 700; }
.pqo-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pqo-table th { padding: 6px 8px; background: #f1f5f2; color: #5f6b64; font-weight: 700; text-align: left; }
.pqo-table td { padding: 6px 8px; border-bottom: 1px solid #eef2ef; overflow-wrap: anywhere; }
.pqo-table tr.dim td { color: #8a968f; }
.pqo-table tr.dim .pq-pill { background: #f1f3f2; color: #a3ada7; }
.pqo-table td.n, .pqo-table th.n { text-align: right; }
.pqo-table .pqo-late { color: #b42318; }
.pqo-table tr.dim .pqo-late { color: #d9a5a0; }
.pqo-res { display: inline-block; margin-right: 4px; padding: 1px 6px; border-radius: 6px; background: #e6f0fb; color: #1f6fb2; font-size: 11px; }
.pqo-table tr.dim .pqo-res { background: #f1f5f9; color: #9db4cc; }
.pqo-table .pqo-p1 { color: #1f7a45; font-weight: 600; }
.pqo-table .pqo-p2 { color: #7a3fb0; font-weight: 600; }
.pqo-table tr.dim .pqo-p1, .pqo-table tr.dim .pqo-p2 { color: inherit; font-weight: 400; }
.pqo-table tr.sub td:nth-child(3) { padding-left: 24px; font-size: 12px; }
.pq-cur { margin-bottom: 10px; padding: 10px 12px; border: 2px solid #2b5d9b; border-radius: 12px; background: #eef4fc; font-size: 12px; }
.pq-cur-t { margin: 4px 0; font-size: 13px; font-weight: 800; overflow-wrap: anywhere; }
.pq-cur small { color: #64736a; font-size: 11px; }
.pq-tabs { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin-bottom: 12px; }
.pq-tabs b { font-size: 18px; }
.pq-tabs small { color: #64736a; font-size: 11px; }
.pq-tabs .pq-steps { flex-basis: 100%; }
.pq-sub { margin-top: 6px; padding: 5px 8px; border: 1px dashed #c9c2f2; border-radius: 8px; background: #faf9ff; font-size: 11.5px; overflow-wrap: anywhere; }
@media (max-width: 720px) {
  .pqo-grid3, .pqo-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pqo-grid3 > div, .pqo-grid4 > div { border-bottom: 1px solid #e3e9e5; }
  .pqo-hr { align-items: flex-start; }
  .pqo-table th:nth-child(4), .pqo-table td:nth-child(4), .pqo-table th:nth-child(5), .pqo-table td:nth-child(5) { display: none; }
}
