*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-dark: #1A2B4A;
  --blue-mid: #2C4270;
  --blue-light: #3D5A8A;
  --orange: #F5A623;
  --orange-dark: #D4891A;
  --green: #27AE60;
  --red: #E74C3C;
  --bg: #F4F6FA;
  --card: #FFFFFF;
  --border: #E2E8F0;
  --text-main: #1A2B4A;
  --text-muted: #718096;
  --text-light: #A0AEC0;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(26,43,74,.08);
  --shadow-md: 0 8px 30px rgba(26,43,74,.16);
}

html, body {
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.6;
}

.phase { display: none; min-height: 100vh; }
.phase.active { display: block; }
.hidden { display: none !important; }

.topbar {
  height: 56px;
  background: var(--blue-dark);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.18);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 12px; }
.topbar-project { color: #fff; font-size: 15px; font-weight: 600; }
.topbar-brand { color: var(--orange); font-size: 13px; font-weight: 600; }
.header-points { color: rgba(255,255,255,.8); font-size: 12px; }
.header-points strong { color: var(--orange); font-size: 15px; }
.logo-icon { color: var(--orange); font-size: 28px; line-height: 1; }
.logo-icon.small { font-size: 16px; }

.btn-primary, .btn-ghost, .btn-link, .btn-run, .btn-rerun, .btn-next, .btn-export, .btn-auto-report, .auth-tab {
  border: none;
  cursor: pointer;
  transition: all .2s ease;
  font-family: inherit;
}

.btn-primary {
  background: var(--orange);
  color: #fff;
  border-radius: var(--radius);
  padding: 10px 22px;
  font-size: 14px;
  font-weight: 700;
}
.btn-primary:hover { background: var(--orange-dark); }
.btn-primary:disabled,
.btn-secondary:disabled,
.btn-auto-report:disabled {
  opacity: .55;
  cursor: not-allowed;
}
.btn-primary.btn-large { padding: 14px 30px; font-size: 15px; border-radius: 12px; }
.btn-secondary {
  background: #fff;
  color: var(--blue-dark);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
}
.btn-secondary:hover { background: #F8FAFF; }
.btn-secondary.btn-large { padding: 13px 24px; font-size: 15px; border-radius: 12px; }
.btn-danger {
  background: #FFF1F2;
  color: #B42318;
  border: 1px solid #FECDD3;
  border-radius: var(--radius);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 700;
}
.btn-danger:hover { background: #FFE4E6; }
.btn-danger:disabled { opacity: .55; cursor: not-allowed; }
.task-execution-control { white-space: nowrap; }
.task-execution-control.is-resume {
  background: #ECFDF3;
  color: #067647;
  border-color: #ABEFC6;
}
.task-execution-control.is-resume:hover { background: #D1FADF; }
.btn-small {
  padding: 7px 12px;
  font-size: 12px;
  border-radius: 8px;
  white-space: nowrap;
}

.btn-ghost {
  background: rgba(255,255,255,.10);
  color: #fff;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
}
.btn-ghost:hover { background: rgba(255,255,255,.18); }
.btn-ghost.on-dark { background: rgba(255,255,255,.08); }
.btn-ghost.light {
  background: #F8FAFF;
  color: var(--blue-dark);
  border: 1px solid var(--border);
}
.btn-ghost.light:hover { background: #EEF4FF; }

.btn-link {
  background: none;
  color: var(--orange);
  text-decoration: underline;
  font-size: 13px;
}

.btn-export {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #F8FAFF;
  color: var(--blue-dark);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-weight: 700;
}
.btn-export:hover { background: #EEF4FF; border-color: #C9D8F2; }
.btn-export.gallery-ready {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.btn-export.gallery-ready:hover {
  background: #059669;
  border-color: #059669;
}
.btn-export:disabled {
  opacity: .45;
  cursor: not-allowed;
  background: #F7F8FA;
}
.btn-export.compact {
  padding: 5px 8px;
  font-size: 12px;
  white-space: nowrap;
}
.btn-export.detail {
  width: 100%;
  padding: 10px 12px;
  font-size: 13px;
}
.btn-auto-report {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid rgba(39,174,96,.28);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.btn-auto-report:hover { background: #BBF7D0; }

.full-width { width: 100%; }

.landing-bg {
  position: fixed;
  inset: 0;
  background: linear-gradient(135deg, #0F1B30 0%, #1A2B4A 55%, #243860 100%);
  z-index: 0;
}

.auth-phase.active, #phase-landing.active {
  position: relative;
  display: flex;
  justify-content: center;
  padding: 40px 20px 60px;
}

.landing-center { position: relative; z-index: 1; width: 100%; max-width: 720px; }
.landing-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.logo-text { color: #fff; font-size: 28px; font-weight: 700; letter-spacing: .4px; }
.logo-sub { color: rgba(255,255,255,.45); font-size: 14px; }
.landing-desc { color: #94A3B8; font-size: 15px; margin-bottom: 28px; }

.setup-card, .dashboard-card, .mapping-card, .preview-card, .step-panel, .drop-zone {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.setup-card {
  padding: 30px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  backdrop-filter: blur(10px);
}

.reuse-project-context {
  margin: 0 0 20px;
  padding: 12px 14px;
  border: 1px solid rgba(72, 187, 120, .42);
  border-left: 4px solid #48BB78;
  border-radius: 8px;
  background: rgba(22, 101, 52, .18);
  color: #F0FFF4;
}
.reuse-project-context-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}
.reuse-project-context-meta {
  margin-top: 3px;
  color: rgba(240, 255, 244, .72);
  font-size: 12px;
  line-height: 1.6;
}

.setup-title { color: #fff; font-size: 20px; font-weight: 700; margin-bottom: 18px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.section-head.compact { margin-bottom: 18px; }
.section-head h3 { font-size: 18px; color: var(--text-main); }

.auth-card { max-width: 520px; margin: 0 auto; }
.auth-switch { display: flex; gap: 8px; margin-bottom: 22px; background: rgba(255,255,255,.04); padding: 6px; border-radius: 12px; }
.auth-tab {
  flex: 1;
  border-radius: 10px;
  background: transparent;
  color: rgba(255,255,255,.68);
  padding: 10px 14px;
  font-size: 13px;
  font-weight: 700;
}
.auth-tab.active { background: rgba(255,255,255,.12); color: #fff; }
.auth-panel { display: none; }
.auth-panel.active { display: block; }
.auth-tip { color: #94A3B8; font-size: 12px; margin-top: 12px; }

.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.form-grid.single-col { grid-template-columns: 1fr; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { color: #CBD5E0; font-size: 12px; font-weight: 600; letter-spacing: .2px; }
.form-group input, .form-group textarea, .form-group select, .toolbar-input {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 11px 12px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.toolbar-input {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group input::placeholder, .form-group textarea::placeholder { color: rgba(255,255,255,.35); }
.form-group input:disabled, .form-group select:disabled {
  opacity: .55;
  cursor: not-allowed;
  background: rgba(255,255,255,.04);
}
.inline-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  cursor: pointer;
}
.inline-check input {
  width: auto;
  min-width: 16px;
  margin: 0;
}
.price-band-range {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.category-filter-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.form-hint {
  color: rgba(255,255,255,.58);
  font-size: 12px;
  line-height: 1.5;
}
.form-hint.error { color: #FCA5A5; }
.form-hint.success { color: #86EFAC; }
.input-with-action { display: flex; align-items: stretch; gap: 8px; }
.input-with-action > input { min-width: 0; flex: 1; }
.input-with-action > button { flex: 0 0 auto; white-space: nowrap; }
.conditional-field { margin-top: 10px; }
.conditional-field > label { display: block; margin-bottom: 6px; }
.multi-select { position: relative; width: 100%; }
.multi-select > summary {
  list-style: none;
  min-height: 42px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.08);
  color: #fff;
  padding: 11px 38px 11px 12px;
  font-size: 14px;
  cursor: pointer;
  position: relative;
}
.multi-select > summary::-webkit-details-marker { display: none; }
.multi-select > summary::after {
  content: '▾';
  position: absolute;
  right: 13px;
  color: rgba(255,255,255,.64);
}
.multi-select[open] > summary { border-color: rgba(96,165,250,.7); }
.multi-select-menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  padding: 6px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: #18243A;
  box-shadow: 0 14px 28px rgba(0,0,0,.3);
}
.form-group .multi-select-option {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 8px;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}
.form-group .multi-select-option:hover { background: rgba(255,255,255,.08); }
.form-group .multi-select-option input { width: 16px; margin: 0; accent-color: var(--blue-light); }
.form-label-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.text-command { border: 0; background: transparent; color: var(--blue-light); padding: 2px 0; cursor: pointer; font-size: 12px; }
.text-command:hover { text-decoration: underline; }
.required { color: var(--orange); }
.year-stepper {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  gap: 8px;
}
.year-stepper-buttons {
  display: grid;
  gap: 4px;
}
.year-stepper-buttons button {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.10);
  color: #fff;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
}
.year-stepper-buttons button:hover { background: rgba(255,255,255,.18); }
.season-options {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}
.season-option {
  position: relative;
  display: block;
  cursor: pointer;
}
.season-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.season-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  color: #CBD5E0;
  font-size: 13px;
  font-weight: 700;
}
.season-option input:checked + span {
  border-color: rgba(245,166,35,.75);
  background: rgba(245,166,35,.18);
  color: #fff;
}
.tag-row { display: flex; gap: 10px; flex-wrap: wrap; }
.tag-check { display: flex; align-items: center; gap: 6px; color: #CBD5E0; font-size: 13px; }

.api-settings { margin-top: 18px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.10); }
.api-settings-toggle { color: #CBD5E0; font-size: 13px; cursor: pointer; user-select: none; display: inline-flex; gap: 8px; align-items: center; }
.api-settings-body { margin-top: 14px; display: grid; gap: 12px; }
.api-note {
  background: #f0f9ff;
  color: #0369a1;
  border: 1px solid #bae6fd;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
}
.btn-test-conn {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24);
  color: #fff;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 13px;
}
.conn-result {
  margin-top: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 13px;
  display: none;
}
.conn-result.success { display: block; background: #D1FAE5; color: #065F46; }
.conn-result.error { display: block; background: #FEE2E2; color: #991B1B; }

.dashboard-container { max-width: 1180px; margin: 0 auto; padding: 30px 24px 60px; }
.dashboard-container.narrow { max-width: 920px; }
.dashboard-container.report-detail-container { max-width: 1180px; }
.dashboard-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #fff 0%, #f8fbff 100%);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 32px;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}
.dashboard-hero h1 { font-size: 26px; margin-bottom: 6px; color: var(--blue-dark); }
.dashboard-hero p { color: var(--text-muted); max-width: 720px; }
.report-module-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
  margin-bottom: 22px;
}
.report-module-card {
  text-align: left;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  box-shadow: var(--shadow);
  cursor: pointer;
}
.report-module-card:hover { border-color: #C9D8F2; transform: translateY(-1px); }
.report-module-card.ready { border-left: 4px solid var(--green); }
.report-module-card.pending { border-left: 4px solid #94A3B8; }
.report-module-card.selected {
  border-color: var(--orange);
  box-shadow: 0 12px 26px rgba(245, 142, 33, .16);
}
.tasks-report-module-grid { margin-bottom: 18px; }
.module-title {
  display: block;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 800;
  margin-bottom: 6px;
}
.module-meta {
  display: block;
  color: var(--text-muted);
  font-size: 12px;
}
.report-module-empty { grid-column: 1 / -1; }
.dashboard-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.dashboard-card { padding: 22px; margin-bottom: 18px; }
.dashboard-card h3 { font-size: 16px; margin-bottom: 14px; color: var(--blue-dark); }
.dashboard-kpis { display: flex; gap: 16px; flex-wrap: wrap; }
.dashboard-kpi {
  min-width: 140px;
  background: #F8FAFF;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 18px 20px;
}
.dashboard-kpi .num { display: block; font-size: 28px; font-weight: 700; color: var(--orange); }
.dashboard-kpi .lbl { display: block; font-size: 12px; color: var(--text-muted); }
.empty-state {
  padding: 20px;
  background: #F8FAFF;
  border: 1px dashed var(--border);
  border-radius: 12px;
  color: var(--text-muted);
}
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}
.profile-item {
  background: #F8FAFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 16px;
}
.profile-item.profile-item-wide {
  grid-column: 1 / -1;
}
.profile-item .label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.profile-item .value { font-size: 15px; font-weight: 600; color: var(--blue-dark); }
.graphic-visual-detail-progress .value {
  display: block;
  color: var(--text);
  font-weight: 400;
}
.graphic-visual-progress-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #FFFFFF;
}
.graphic-visual-progress-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 13px;
}
.graphic-visual-progress-table th,
.graphic-visual-progress-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}
.graphic-visual-progress-table th {
  background: #F1F5F9;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
}
.graphic-visual-progress-table tbody tr:last-child td {
  border-bottom: 0;
}
.graphic-visual-progress-stage {
  width: 170px;
  color: var(--blue-dark);
  font-weight: 800;
}
.graphic-visual-progress-desc {
  min-width: 420px;
  color: var(--text);
  font-weight: 600;
  line-height: 1.55;
}
.graphic-visual-progress-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #E2E8F0;
  color: #475569;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12px;
  font-weight: 800;
  line-height: 1;
}
.graphic-visual-progress-status.done {
  background: #D1FAE5;
  color: #065F46;
}
.graphic-visual-progress-status.partial,
.graphic-visual-progress-status.running {
  background: #FEF3C7;
  color: #92400E;
}
.graphic-visual-progress-status.failed,
.graphic-visual-progress-status.error {
  background: #FEE2E2;
  color: #991B1B;
}
.toolbar { display: flex; align-items: center; gap: 10px; }
.toolbar.wrap { flex-wrap: wrap; }
.task-center-head {
  align-items: flex-start;
}
.task-center-head h3 {
  flex: 0 0 auto;
  padding-top: 7px;
}
.task-filter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 8px 12px;
  align-items: center;
  width: min(100%, 760px);
}
.task-filter-grid .toolbar-input {
  min-height: 34px;
  height: 34px;
  padding: 7px 10px;
  font-size: 13px;
}
.task-filter-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}
.task-filter-actions .btn-primary,
.task-filter-actions .btn-secondary {
  min-height: 34px;
  padding-top: 7px;
  padding-bottom: 7px;
}
.section-tip { color: var(--text-muted); font-size: 12px; }
.summary-strip {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.summary-pill {
  min-width: 120px;
  background: #F8FAFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
}
.summary-pill strong {
  display: block;
  font-size: 22px;
  color: var(--orange);
}
.summary-pill span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
}
.table-actions { white-space: nowrap; }
.model-cell {
  color: var(--blue-mid);
  font-size: 12px;
  font-weight: 700;
  white-space: nowrap;
}
.task-row-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  white-space: normal;
  min-width: 280px;
}
.table-footer-link { margin-top: 12px; text-align: right; }
.row-selected td { background: #FFF9F0; }
.admin-detail-grid { align-items: start; }
.admin-form { margin-bottom: 16px; }
.admin-setting-panel {
  display: grid;
  grid-template-columns: minmax(180px, 260px) auto 1fr;
  gap: 14px;
  align-items: end;
}
.input-with-unit {
  display: flex;
  align-items: center;
  gap: 8px;
}
.input-with-unit input { min-width: 0; }
.input-with-unit span {
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 700;
}
.admin-action-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.admin-light label { color: var(--text-muted); }
.admin-light input,
.admin-light textarea,
.admin-light select {
  background: #fff;
  color: var(--text-main);
  border: 1px solid var(--border);
}
.subsection { margin-top: 18px; }
.subsection-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 10px;
}
.permission-panel {
  background: #F8FAFF;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px;
}
.permission-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-dark);
  font-weight: 700;
  margin-bottom: 8px;
}
.permission-toggle input {
  width: 16px;
  height: 16px;
  accent-color: var(--orange);
}
.permission-tip {
  color: var(--text-muted);
  font-size: 12px;
  margin-bottom: 12px;
}
.admin-setting-panel .permission-tip {
  margin-bottom: 0;
  align-self: center;
}
.model-setting-panel {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  align-items: end;
}
.admin-model-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.model-field-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 10px;
}
.model-field-actions .permission-tip {
  margin-bottom: 0;
}
.model-setting-panel .admin-model-actions,
.model-setting-panel .permission-tip {
  grid-column: 1 / -1;
}
.model-test-result.success { color: var(--green); font-weight: 700; }
.model-test-result.error { color: var(--red); font-weight: 700; }
.empty-state.small { padding: 14px; }
.table-plain.compact th,
.table-plain.compact td {
  padding: 8px;
  font-size: 12px;
}
.detail-banner {
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
  background: #F8FAFF;
}
.detail-banner.success {
  background: #F0FFF4;
  border-color: #C6F6D5;
}
.detail-banner.running {
  background: #FFFBEB;
  border-color: #FDE68A;
}
.detail-banner.failed {
  background: #FEF2F2;
  border-color: #FECACA;
}
.detail-banner-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.detail-banner-desc {
  font-size: 13px;
  color: var(--text-muted);
}
.detail-action-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}
.detail-action-row .task-execution-control { margin-left: auto; }
.detail-banner.paused {
  background: #F8FAFC;
  border-color: #CBD5E1;
}
.reuse-task-control {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}
.reuse-task-error {
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}
.detail-link {
  color: var(--orange-dark);
  text-decoration: underline;
  cursor: pointer;
  font-size: 13px;
}
.continue-disabled {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 8px 12px;
  background: #F8FAFF;
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--text-muted);
  font-size: 13px;
}
.report-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 18px;
  align-items: start;
}
.report-detail-main,
.report-export-panel {
  margin-bottom: 18px;
}
.report-export-panel {
  position: sticky;
  top: 76px;
}
.report-export-title {
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.report-export-tip {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 14px;
}
.report-export-tip .progress-number-emphasis {
  color: var(--red);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}
.report-export-actions {
  display: grid;
  gap: 10px;
}
.detail-step-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.detail-step-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  background: #F8FAFF;
}
.detail-step-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.detail-step-no {
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}
.detail-step-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 8px;
}
.detail-step-preview {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.upload-container { max-width: 760px; margin: 40px auto; padding: 0 20px; }
.upload-header h2, .mapping-header h2 { font-size: 22px; margin-bottom: 6px; color: var(--blue-dark); }
.upload-header p, .mapping-header p { color: var(--text-muted); margin-bottom: 24px; }
.drop-zone {
  position: relative;
  text-align: center;
  padding: 54px 28px;
  background: #fff;
  border: 2px dashed var(--border);
}
.drop-zone.dragover, .drop-zone:hover { border-color: var(--orange); background: #FFF9F0; }
.drop-icon { font-size: 42px; margin-bottom: 12px; }
.drop-text { font-size: 16px; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
.drop-hint { font-size: 12px; color: var(--text-muted); margin-bottom: 14px; }
.drop-btn {
  display: inline-block;
  padding: 9px 20px;
  border-radius: 10px;
  background: var(--orange);
  color: #fff;
  font-weight: 700;
}
.uploaded-files { margin-top: 24px; }
.uploaded-files h3 { font-size: 15px; color: var(--blue-dark); margin-bottom: 12px; }
.upload-next-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 16px;
}
.file-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  margin-bottom: 8px;
}
.file-item-name { font-weight: 600; color: var(--blue-dark); }
.file-item-meta { font-size: 12px; color: var(--text-muted); }
.sample-section { display: flex; justify-content: center; gap: 8px; margin-top: 18px; color: var(--text-muted); flex-wrap: wrap; }

.mapping-container { max-width: 1120px; margin: 34px auto; padding: 0 20px; }
.mapping-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.mapping-card, .preview-card { padding: 20px; }
.mapping-card h3, .preview-card h3 { font-size: 15px; margin-bottom: 12px; color: var(--blue-dark); }
.mapping-table { width: 100%; border-collapse: collapse; }
.mapping-table th {
  background: #F8FAFF;
  color: var(--text-muted);
  font-size: 12px;
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid var(--border);
}
.mapping-table td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
  font-size: 13px;
}
.mapping-table select {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 8px 10px;
  font-size: 13px;
  background: #fff;
}
.mapping-table-wrap, .table-scroll, .table-container { overflow-x: auto; }
.sort-field-row { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border); display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.radio-label { display: flex; align-items: center; gap: 6px; }
.report-module-actions { margin-top: 22px; }
.report-module-action-panel {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.report-module-action-title {
  color: var(--blue-dark);
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 12px;
}
.report-module-button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.report-module-button-row .reuse-preferred-module {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  outline: 2px solid rgba(72, 187, 120, .35);
  outline-offset: 2px;
}
.reuse-preferred-label {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: 1px 6px;
  border-radius: 6px;
  background: rgba(255,255,255,.2);
  font-size: 11px;
  line-height: 1;
}
.report-module-action-tip {
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.7;
}
.analysis-mode-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.analysis-mode-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  border-radius: 8px;
  padding: 12px;
  cursor: pointer;
}
.analysis-mode-option input { margin-top: 3px; }
.analysis-mode-text { display: flex; flex-direction: column; gap: 4px; }
.analysis-mode-text strong { color: #fff; font-size: 13px; line-height: 1.35; }
.analysis-mode-text em { color: rgba(255,255,255,.62); font-style: normal; font-size: 12px; line-height: 1.45; }
.data-quality-box {
  margin-top: 12px;
  background: #F8FAFF;
  border-radius: 10px;
  padding: 12px;
  font-size: 12px;
}
.quality-item { display: flex; justify-content: space-between; padding: 4px 0; }
.quality-good { color: var(--green); }
.quality-warn { color: var(--orange); }
.quality-bad { color: var(--red); }

.workspace { display: flex; height: calc(100vh - 56px); overflow: hidden; }
.sidebar {
  width: 230px;
  min-width: 230px;
  background: var(--blue-dark);
  color: #fff;
  overflow-y: auto;
  padding: 16px 0;
}
.sidebar-progress { padding: 0 16px 16px; border-bottom: 1px solid rgba(255,255,255,.10); }
.progress-label { font-size: 11px; color: rgba(255,255,255,.55); text-transform: uppercase; margin-bottom: 8px; }
.progress-bar-track { background: rgba(255,255,255,.12); border-radius: 999px; height: 6px; margin-bottom: 6px; }
.progress-bar-fill { background: var(--orange); height: 6px; border-radius: 999px; transition: width .3s ease; }
.progress-text { font-size: 12px; color: rgba(255,255,255,.65); }
.progress-duration {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 11px;
  line-height: 1.7;
  color: rgba(255,255,255,.62);
}
.step-nav { padding: 12px 0; flex: 1; }
.step-nav-item { display: flex; gap: 10px; align-items: center; padding: 10px 16px; cursor: pointer; }
.step-nav-item:hover { background: rgba(255,255,255,.06); }
.step-nav-item.active { background: rgba(245,166,35,.15); border-right: 3px solid var(--orange); }
.step-dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  background: rgba(255,255,255,.14);
  color: rgba(255,255,255,.8);
}
.step-label { color: rgba(255,255,255,.88); font-size: 13px; }
.step-nav-item.done .step-dot { background: var(--green); color: #fff; }
.step-nav-item.gallery-ready {
  background: rgba(16,185,129,.12);
  border-right: 3px solid var(--green);
}
.step-nav-item.gallery-ready .step-dot { background: var(--green); color: #fff; }
.step-nav-item.gallery-ready .step-label { color: #D1FAE5; font-weight: 700; }
.step-nav-item.running .step-dot, .step-nav-item.active .step-dot { background: var(--orange); color: #fff; }
.sidebar-data-summary { display: flex; gap: 12px; padding: 16px; border-top: 1px solid rgba(255,255,255,.10); }
.summary-kpi { flex: 1; text-align: center; }
.kpi-num { display: block; font-size: 20px; font-weight: 700; color: var(--orange); }
.kpi-label { display: block; font-size: 11px; color: rgba(255,255,255,.6); }

.main-content { flex: 1; overflow-y: auto; background: var(--bg); }
#all-steps-container { max-width: 940px; margin: 0 auto; padding: 28px 24px 80px; }
.step-welcome-panel {
  text-align: center;
  padding: 72px 36px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.welcome-icon { font-size: 42px; color: var(--orange); margin-bottom: 12px; }
.step-welcome-panel h2 { font-size: 24px; margin-bottom: 8px; }
.step-welcome-panel p { color: var(--text-muted); margin-bottom: 22px; }
.auto-report-status {
  min-height: 22px;
  color: var(--text-muted);
  font-size: 13px;
  margin: -8px 0 16px;
}
.data-loaded-summary { display: flex; justify-content: center; gap: 32px; flex-wrap: wrap; margin-bottom: 24px; }
.loaded-kpi { text-align: center; }
.loaded-kpi .num { display: block; font-size: 28px; font-weight: 700; color: var(--orange); }
.loaded-kpi .lbl { font-size: 12px; color: var(--text-muted); }

.step-panel { overflow: hidden; margin-bottom: 24px; }
.step-panel-header {
  padding: 20px 24px;
  background: linear-gradient(to right, #F8FAFF, #fff);
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.step-panel-title { display: flex; gap: 12px; align-items: center; }
.step-num-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--blue-dark);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.step-num-badge.done { background: var(--green); }
.step-title-text h3 { font-size: 16px; color: var(--blue-dark); }
.step-title-text p { font-size: 12px; color: var(--text-muted); }
.step-actions { display: flex; gap: 8px; }
.btn-run { background: var(--blue-dark); color: #fff; padding: 8px 16px; border-radius: 8px; }
.btn-run.running { opacity: .7; cursor: not-allowed; }
.btn-rerun { background: #fff; border: 1px solid var(--border); color: var(--text-muted); padding: 8px 14px; border-radius: 8px; }
.btn-next { background: var(--orange); color: #fff; padding: 8px 16px; border-radius: 8px; }
.btn-next.gallery-ready { background: var(--green); }
.btn-next.gallery-ready:hover { background: #059669; }
.step-state-pending { padding: 40px 24px; text-align: center; color: var(--text-muted); }
.result-section { padding: 24px; border-bottom: 1px solid var(--border); }
.result-section:last-child { border-bottom: none; }
.result-section-title {
  display: inline-block;
  border-bottom: 2px solid var(--orange);
  padding-bottom: 6px;
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 12px;
}
.md-content h1, .md-content h2 { font-size: 16px; color: var(--blue-dark); margin: 16px 0 8px; }
.md-content h3 { font-size: 14px; color: var(--blue-mid); margin: 12px 0 6px; }
.md-content p { margin-bottom: 10px; color: var(--text-main); }
.md-content ul, .md-content ol { padding-left: 20px; margin-bottom: 10px; }
.md-content li { margin-bottom: 4px; }
.md-content table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 13px; }
.md-content th { background: var(--blue-dark); color: #fff; padding: 8px 10px; text-align: left; }
.md-content td { padding: 7px 10px; border-bottom: 1px solid var(--border); }
.md-content tr:nth-child(even) td { background: #F8FAFF; }
.md-content blockquote {
  border-left: 3px solid var(--orange);
  background: #FFF9F0;
  padding: 10px 14px;
  border-radius: 0 8px 8px 0;
  margin: 12px 0;
}
.report-board { color: #111827; }
.report-board .board-heading { letter-spacing: 0; }
.report-board .board-table-wrap {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #D7E0EA;
  border-radius: 8px;
  margin: 14px 0 22px;
  background: #fff;
}
.report-board .board-table {
  width: 100%;
  min-width: 840px;
  border-collapse: collapse;
  font-size: 13px;
  margin: 0;
  table-layout: auto;
}
.report-board .board-table th {
  background: #EEF3F7;
  color: #223043;
  font-weight: 700;
  padding: 9px 12px;
  text-align: left;
  border-bottom: 1px solid #DDE6EE;
  white-space: nowrap;
}
.report-board .board-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #E7EDF3;
  vertical-align: middle;
  color: #111827;
}
.report-board .board-table tr:last-child td { border-bottom: none; }
.report-board .compact-cell {
  width: 1%;
  white-space: nowrap;
}
.report-board .text-wide-cell {
  min-width: 260px;
  width: 34%;
  white-space: normal;
  line-height: 1.65;
}
.report-board th.text-wide-cell { white-space: nowrap; }
.report-board .metric-cell {
  min-width: 118px;
  width: 150px;
}
.report-board .metric-bar-track {
  position: relative;
  display: block;
  min-width: 104px;
  max-width: 160px;
  height: 22px;
  border-radius: 4px;
  background: #EAF2F5;
  overflow: hidden;
}
.report-board .metric-bar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: #78B8C7;
  border-radius: 4px 0 0 4px;
}
.report-board .metric-value {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  height: 22px;
  padding: 0 8px;
  font-weight: 700;
  color: #143241;
  white-space: nowrap;
}
.report-board .eff-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
}
.report-board .eff-high { background: #DCFCE7; color: #166534; }
.report-board .eff-mid { background: #EFF6FF; color: #1D4ED8; }
.report-board .eff-low { background: #FFF7ED; color: #C2410C; }
.report-board .insight-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0 20px;
}
.report-board .insight-card {
  border-left: 4px solid #17799A;
  background: #F6FAFC;
  border-radius: 7px;
  padding: 13px 15px;
}
.report-board .insight-card h4 { margin: 0 0 6px; font-size: 13px; color: #16324F; }
.report-board .insight-card p { margin: 0; color: #344256; line-height: 1.65; }
.report-board .keyword-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0 20px;
}
.report-board .keyword-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #E9F7FB;
  border: 1px solid #BFE5EF;
  color: #16435A;
  font-weight: 700;
}
.report-board .keyword-chip strong { color: #0F3140; }
.report-board .board-muted { color: #64748B; font-size: 13px; }
.stream-output { padding: 20px 24px; }
.charts-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
.chart-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px;
}
.step-nav-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: #FAFBFD;
  border-top: 1px solid var(--border);
}
.nav-hint { color: var(--text-muted); font-size: 13px; }

.status-panel { padding: 28px 24px; }
.status-step {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.status-step:last-child { border-bottom: none; }
.status-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.status-step.done .status-icon { background: #D1FAE5; color: var(--green); }
.status-step.running .status-icon { background: #FEF3C7; color: var(--orange); }
.status-step.pending .status-icon { background: #F1F5F9; color: var(--text-light); }
.status-step.error .status-icon { background: #FEE2E2; color: var(--red); }
.status-title { font-size: 15px; font-weight: 700; color: var(--blue-dark); }
.status-desc { font-size: 12px; color: var(--text-muted); }
.product-design-workbench-stage-progress {
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.product-design-workbench-stage-progress .status-title {
  margin-bottom: 10px;
}
.product-design-workbench-stage-progress .graphic-visual-progress-table {
  min-width: 680px;
}
.inline-spinner {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid rgba(245,166,35,.35);
  border-top-color: var(--orange);
  animation: spin .7s linear infinite;
}

.loading-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,43,74,.68);
  backdrop-filter: blur(4px);
}
.loading-box {
  background: #fff;
  border-radius: 18px;
  padding: 34px 40px;
  text-align: center;
  min-width: 280px;
  box-shadow: var(--shadow-md);
}
.loading-spinner {
  width: 44px;
  height: 44px;
  margin: 0 auto 16px;
  border-radius: 50%;
  border: 4px solid var(--border);
  border-top-color: var(--orange);
  animation: spin .8s linear infinite;
}
.loading-title { font-size: 16px; font-weight: 700; color: var(--blue-dark); margin-bottom: 6px; }
.loading-subtitle { color: var(--text-muted); font-size: 13px; margin-bottom: 12px; }
.loading-dots span { display: inline-block; font-size: 24px; color: var(--orange); animation: bounce 1.2s infinite; }
.loading-dots span:nth-child(2) { animation-delay: .2s; }
.loading-dots span:nth-child(3) { animation-delay: .4s; }

.toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1000;
  background: var(--blue-dark);
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }

.table-plain {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.table-plain th {
  background: #F8FAFF;
  color: var(--text-muted);
  text-align: left;
  padding: 10px;
  border-bottom: 2px solid var(--border);
}
.table-plain td {
  padding: 10px;
  border-bottom: 1px solid var(--border);
}
.pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.pill.success { background: #D1FAE5; color: #065F46; }
.pill.warning { background: #FEF3C7; color: #92400E; }
.pill.error { background: #FEE2E2; color: #991B1B; }
.pill.muted { background: #E2E8F0; color: #475569; }
.pill.module { background: #E0F2FE; color: #075985; }

.static-report-preview {
  width: 100%;
  min-height: 720px;
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.static-report-preview iframe {
  display: block;
  width: 100%;
  height: min(78vh, 960px);
  min-height: 720px;
  border: 0;
  background: #fff;
}

::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: #CBD5E0; border-radius: 999px; }
::-webkit-scrollbar-track { background: transparent; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes bounce { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

@media (max-width: 1024px) {
  .dashboard-grid, .mapping-layout, .charts-row, .detail-step-list, .report-detail-layout { grid-template-columns: 1fr; }
  .analysis-mode-options { grid-template-columns: 1fr; }
  .admin-setting-panel { grid-template-columns: 1fr; align-items: stretch; }
  .report-export-panel { position: static; }
  .task-center-head { flex-direction: column; align-items: stretch; }
  .task-center-head h3 { padding-top: 0; }
  .task-filter-grid { width: 100%; }
}

@media (max-width: 768px) {
  .workspace { display: block; height: auto; }
  .sidebar { width: 100%; min-width: 100%; }
  .topbar { padding: 0 14px; height: auto; min-height: 56px; flex-wrap: wrap; gap: 8px; padding-top: 10px; padding-bottom: 10px; }
  .topbar-left, .topbar-right { flex-wrap: wrap; }
  .form-grid { grid-template-columns: 1fr; }
  .category-filter-row,
  .price-band-range { grid-template-columns: 1fr; }
  .task-filter-grid { grid-template-columns: 1fr; width: 100%; }
  .task-filter-actions { justify-content: flex-start; }
  .dashboard-hero { flex-direction: column; align-items: flex-start; }
  .static-report-preview, .static-report-preview iframe { min-height: 560px; }
}

/* Product Design Taxonomy */
.product-design-taxonomy-box {
  padding: 12px 16px;
  border-radius: 8px;
  margin: 8px 0;
  font-size: 13px;
}
.taxonomy-status-ready { background: #e8f5e9; border: 1px solid #a5d6a7; }
.taxonomy-status-pending { background: #fff3e0; border: 1px solid #ffcc80; }
.taxonomy-status-matching { background: #e3f2fd; border: 1px solid #90caf9; }
.taxonomy-status-failed { background: #ffebee; border: 1px solid #ef9a9a; }
.taxonomy-status-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.taxonomy-status-label { font-weight: 500; color: #333; }
.taxonomy-status-badge { padding: 2px 10px; border-radius: 12px; font-size: 12px; background: rgba(255,255,255,0.7); }
.taxonomy-status-skill, .taxonomy-status-version { font-size: 12px; color: #666; }
.taxonomy-status-error { margin-top: 6px; color: #c62828; font-size: 12px; }
.product-design-taxonomy-box .btn-sm { margin-top: 6px; padding: 4px 12px; font-size: 12px; border: 1px solid var(--blue-light); background: #fff; border-radius: 4px; cursor: pointer; color: var(--blue-dark); }

.taxonomy-detail-meta { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; font-size: 13px; color: #666; }
.taxonomy-section-title { font-size: 15px; font-weight: 500; margin: 16px 0 8px; color: var(--blue-dark); border-bottom: 1px solid #eee; padding-bottom: 6px; }
.taxonomy-dim-group { margin-bottom: 12px; padding: 8px 12px; background: #f8f9fa; border-radius: 6px; }
.taxonomy-dim-name { font-weight: 500; font-size: 14px; margin-bottom: 6px; color: #333; }
.taxonomy-field-row { display: flex; gap: 8px; padding: 4px 0; border-bottom: 1px solid #f0f0f0; }
.taxonomy-field-row:last-child { border-bottom: none; }
.taxonomy-field-name { min-width: 140px; font-weight: 500; color: var(--blue-dark); font-size: 13px; }
.taxonomy-field-labels { color: #555; font-size: 13px; flex: 1; line-height: 1.6; }
