:root {
  color-scheme: light;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
  font-size: 13px;
  font-synthesis: none;
  font-variant-numeric: tabular-nums;
  color: #1e3140;
  background: #f2f5f8;
  --ink: #1e3140;
  --muted: #6d7f8d;
  --quiet: #91a0ab;
  --line: #dfe6ec;
  --surface: #fff;
  --canvas: #f2f5f8;
  --nav: #203447;
  --nav-active: #2b5669;
  --teal: #137e83;
  --teal-pale: #e5f3f3;
  --blue: #477aaa;
  --blue-pale: #eaf1f8;
  --green: #2b8062;
  --green-pale: #e8f4ee;
  --amber: #a86b13;
  --amber-pale: #fff4df;
  --red: #b44948;
  --red-pale: #fff0ef;
}

* { box-sizing: border-box; }
body { margin: 0; min-width: 800px; min-height: 100vh; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible,
a:focus-visible { outline: 3px solid #77c9cb; outline-offset: 2px; }
.app-shell { min-height: 100vh; display: grid; grid-template-columns: 214px minmax(0, 1fr); }
.sidebar { position: sticky; top: 0; height: 100vh; padding: 20px 12px 14px; display: flex; flex-direction: column; background: var(--nav); color: #eaf1f5; }
.brand { color: inherit; text-decoration: none; display: flex; align-items: center; gap: 10px; padding: 3px 8px 19px; border-bottom: 1px solid #ffffff1b; }
.brand-mark { flex: none; width: 34px; height: 34px; display: grid; place-items: center; border-radius: 8px; color: #e9f7f5; background: #227e81; font-size: 19px; font-weight: 700; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 14px; font-weight: 650; letter-spacing: .01em; }
.brand small { margin-top: 3px; color: #a9bac5; font-size: 8px; letter-spacing: .09em; }
.workspace-label { margin: 19px 8px 9px; color: #9dafba; font-size: 10px; letter-spacing: .06em; }
#nav { display: grid; gap: 3px; }
#nav button { border: 0; border-radius: 5px; padding: 10px 11px; text-align: left; color: #c7d3db; background: transparent; font-size: 12px; }
#nav button:hover { background: #ffffff12; color: white; }
#nav button.active { color: white; background: var(--nav-active); box-shadow: inset 3px 0 #55c0b7; font-weight: 650; }
.sidebar-bottom { margin-top: auto; border-top: 1px solid #ffffff1b; padding: 14px 7px 0; display: grid; grid-template-columns: 9px 1fr; align-items: center; gap: 5px 8px; color: #d2dee5; font-size: 10px; }
.sidebar-bottom small { grid-column: 2; color: #9dafba; font-size: 9px; }
.env-dot { width: 7px; height: 7px; border-radius: 50%; background: #54c4a1; }
.main-area { min-width: 0; padding: 0 27px 20px; }
.topbar { height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border-bottom: 1px solid var(--line); margin-bottom: 23px; }
.mobile-brand { display: none; }
.breadcrumb { display: flex; align-items: center; gap: 9px; color: var(--muted); font-size: 11px; }
.breadcrumb strong { color: var(--ink); font-weight: 650; }
.crumb-divider { color: #aab5bd; }
.top-actions, .heading-actions { display: flex; align-items: center; gap: 9px; }
.demo-pill { display: inline-flex; align-items: center; gap: 7px; border: 1px solid #cbdcde; border-radius: 99px; padding: 5px 9px; color: #35666a; background: #f4fbfb; font-size: 10px; white-space: nowrap; }
.demo-pill .dot { width: 7px; height: 7px; border-radius: 50%; background: #1a9995; }
.text-button, .row-link { border: 0; padding: 5px 3px; color: var(--teal); background: transparent; font-size: 11px; font-weight: 600; }
.page-content { max-width: 1480px; margin: 0 auto; }
.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; margin: 0 0 16px; }
.page-heading h1 { margin: 4px 0 5px; color: #203747; font-size: 25px; line-height: 1.3; font-weight: 650; letter-spacing: -.02em; }
.page-heading p { max-width: 800px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.65; }
.eyebrow { color: #52818a; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.button { min-height: 33px; border: 1px solid #cbd7df; border-radius: 5px; padding: 7px 12px; color: #304b5c; background: white; font-size: 11px; font-weight: 600; white-space: nowrap; }
.button:hover:not(:disabled) { border-color: #8fa8b8; background: #f7fafb; }
.button.primary { color: white; border-color: #177e83; background: #177e83; }
.button.primary:hover:not(:disabled) { border-color: #106c71; background: #106c71; }
.button.secondary { color: #126f77; border-color: #bfd9db; background: #f3f9f9; }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button.full { width: 100%; }
.badge { display: inline-flex; align-items: center; min-height: 21px; border-radius: 4px; padding: 3px 7px; color: #526472; background: #edf1f4; font-size: 9px; font-weight: 650; white-space: nowrap; }
.badge.blue { color: #416c95; background: var(--blue-pale); }
.badge.good, .badge.success { color: #236a4d; background: var(--green-pale); }
.badge.running { color: #316e91; background: var(--blue-pale); }
.badge.warning, .badge.pending, .badge.waiting { color: #94600e; background: var(--amber-pale); }
.badge.failed { color: #a43e3e; background: var(--red-pale); }
.badge.blocked { color: #76583a; background: #f4ede5; }
.panel { min-width: 0; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); box-shadow: 0 1px 2px #1e31400a; }
.panel-head { min-height: 59px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid #e8edf1; padding: 11px 15px; }
.panel-head h2 { margin: 0; color: #263e4e; font-size: 13px; line-height: 1.4; font-weight: 650; }
.panel-head p { margin: 3px 0 0; color: var(--muted); font-size: 10px; line-height: 1.45; }
.source-context { display: flex; align-items: center; gap: 14px; min-height: 37px; border: 1px solid #dfe8ee; border-radius: 5px; padding: 6px 11px; margin-bottom: 12px; background: #f8fafc; color: var(--muted); font-size: 10px; }
.source-context strong { color: #2c4657; font-size: 11px; }
.source-context .badge { margin-left: auto; }
.schema-layout { display: grid; grid-template-columns: 205px minmax(430px, 1fr) 265px; gap: 11px; align-items: start; }
.object-browser, .schema-diff, .inspector { min-height: 460px; }
.object-browser { overflow: hidden; }
.search-wrap { display: flex; align-items: center; gap: 7px; height: 32px; border: 1px solid #d7e0e6; border-radius: 5px; padding: 0 9px; background: white; color: #8193a0; }
.search-wrap span { font-size: 16px; }
.search-wrap input { width: 100%; min-width: 0; border: 0; outline: 0; color: var(--ink); background: transparent; font-size: 10px; }
.search-wrap input:focus-visible { outline: 0; }
.object-browser > .search-wrap { margin: 11px; }
.object-tree { max-height: 364px; overflow: auto; padding: 0 8px 9px; }
.object-group { padding: 2px 0 7px; }
.object-table, .object-field { width: 100%; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 4px; text-align: left; color: #344c5c; background: transparent; }
.object-table { padding: 7px 6px; }
.object-table > span { color: #56828a; }
.object-table strong { font-size: 10px; font-weight: 650; }
.object-table small { margin-left: auto; color: var(--quiet); font-size: 8px; }
.object-table.active, .object-field.active { color: #166e76; background: #eaf5f5; }
.object-field { padding: 5px 7px 5px 21px; color: #5f707e; font-size: 9px; }
.object-field > span { color: #91a0aa; font-family: Consolas, monospace; }
.object-field small { margin-left: auto; color: #8999a4; font: 8px Consolas, monospace; }
.data-table { width: 100%; border-collapse: collapse; table-layout: auto; font-size: 10px; }
.data-table th { position: sticky; top: 0; z-index: 1; padding: 8px 9px; border-bottom: 1px solid #dfe6ec; color: #6f808d; background: #f7f9fb; text-align: left; font-size: 9px; font-weight: 650; white-space: nowrap; }
.data-table td { padding: 8px 9px; border-bottom: 1px solid #edf1f4; color: #435563; vertical-align: middle; line-height: 1.5; }
.data-table tbody tr:hover { background: #f7fafb; }
.data-table tbody tr.selected { background: #eef7f6; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table .mono, .mono { color: #5c7483; font: 10px/1.45 Consolas, "Microsoft YaHei", monospace; }
.table-scroll { width: 100%; max-width: 100%; overflow: auto; scrollbar-width: thin; }
.schema-diff .table-scroll { max-height: 371px; }
.schema-diff .data-table { min-width: 600px; }
.row-link { font-size: 10px; }
.table-foot { display: flex; justify-content: space-between; gap: 10px; border-top: 1px solid #e8edf1; padding: 9px 12px; color: #6d7e8c; font-size: 9px; }
.table-foot span { color: #8b6b3b; }
.inspector { padding-bottom: 12px; overflow: hidden; }
.inspector-title { border-bottom: 1px solid #e8edf1; padding: 13px 13px 10px; }
.inspector-title h2 { margin: 5px 0 3px; color: #203b4c; font: 600 16px/1.35 Consolas, "Microsoft YaHei", monospace; }
.inspector-title p { margin: 0; color: var(--muted); font-size: 9px; }
.details-list { display: grid; grid-template-columns: 67px minmax(0, 1fr); gap: 7px 8px; margin: 0; padding: 12px 13px; font-size: 9px; line-height: 1.5; }
.details-list dt { color: #81919b; }
.details-list dd { min-width: 0; margin: 0; color: #334c5b; overflow-wrap: anywhere; }
.form-label { display: block; margin: 9px 13px 5px; color: #526a79; font-size: 9px; font-weight: 650; }
.inspector textarea, .inspector select, .form-label + input { width: calc(100% - 26px); margin: 0 13px; border: 1px solid #d4dfe5; border-radius: 4px; padding: 7px 8px; color: var(--ink); background: #fff; font-size: 10px; }
.inspector textarea { min-height: 54px; resize: vertical; line-height: 1.5; }
.inspector-actions, .mapping-block { padding: 0 13px; }
.inspector-actions { margin-top: 7px; }
.mapping-block { margin-top: 12px; padding-top: 10px; border-top: 1px solid #edf1f3; }
.mapping-block .form-label { margin: 0 0 5px; }
.mapping-block select { width: 100%; margin: 0; }
.helper { margin: 6px 0 9px; color: #7f8f99; font-size: 9px; line-height: 1.5; }
.notice { border-left: 3px solid #5d9b9e; border-radius: 0 4px 4px 0; margin: 10px 12px 0; padding: 8px 9px; color: #516875; background: #f1f7f8; font-size: 9px; line-height: 1.55; }
.notice.warning { border-color: #d2a14d; color: #805f2f; background: #fff8e9; }
.notice.error { border-color: #cd7770; color: #8a4845; background: #fff3f2; }
.notice.success { border-color: #56a27d; color: #386c52; background: #eff8f2; }
.lower-panel { margin-top: 11px; }
.catalog-strip { padding: 4px 13px 10px; }
.catalog-row { width: 100%; display: grid; grid-template-columns: 74px minmax(155px, 1fr) 150px 140px 145px; align-items: center; gap: 8px; border: 0; border-bottom: 1px solid #edf1f4; padding: 8px 3px; text-align: left; color: #627480; background: white; font-size: 9px; }
.catalog-row:last-child { border-bottom: 0; }
.catalog-row.selected { background: #f3f8f8; }
.catalog-row strong { color: #334c5b; font-size: 10px; }
.asset-code, .task-id { color: #497990; font: 10px Consolas, monospace; }
.lineage-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 12px; margin-bottom: 11px; }
.lineage-toolbar .search-wrap { flex: 1; max-width: 520px; }
.segmented { display: inline-flex; align-items: center; gap: 2px; border: 1px solid #dae3e9; border-radius: 5px; padding: 2px; background: #f7f9fb; }
.segmented button { border: 0; border-radius: 3px; padding: 5px 9px; color: #71828e; background: transparent; font-size: 9px; }
.segmented button.active { color: #216d75; background: white; box-shadow: 0 1px 3px #1b34441a; font-weight: 650; }
.lineage-layout { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 11px; align-items: stretch; }
.search-results, .graph-panel { min-height: 385px; }
.result-list { max-height: 319px; overflow: auto; padding: 6px; }
.result-row { width: 100%; display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; align-items: center; border: 0; border-radius: 4px; padding: 8px 7px; text-align: left; color: #536775; background: transparent; }
.result-row:hover, .result-row.active { background: #edf5f6; }
.result-kind { width: 20px; height: 20px; display: grid; place-items: center; border-radius: 4px; color: #347b80; background: #e0f0f0; font: 10px Consolas, monospace; }
.result-row strong, .result-row small { display: block; }
.result-row strong { overflow: hidden; color: #314b5a; font: 9px Consolas, "Microsoft YaHei", monospace; text-overflow: ellipsis; white-space: nowrap; }
.result-row small { margin-top: 3px; color: #83939d; font-size: 8px; line-height: 1.4; }
.graph-scroll { max-height: 315px; overflow: auto; padding: 10px 13px; }
.lineage-paths { display: grid; gap: 7px; }
.lineage-edge { display: grid; grid-template-columns: minmax(150px, 1fr) minmax(95px, .65fr) minmax(150px, 1fr); align-items: center; gap: 7px; }
.graph-node { min-width: 0; min-height: 59px; display: grid; align-content: center; gap: 3px; border: 1px solid #d8e2e9; border-left: 3px solid #78919f; border-radius: 4px; padding: 7px 9px; text-align: left; color: #304858; background: #fbfcfd; }
.graph-node:hover { border-color: #7bb7b6; background: #f2f9f8; }
.graph-node.field { border-left-color: #487da0; }
.graph-node.transform { border-left-color: #158488; background: #f5fbfb; }
.graph-node strong { overflow: hidden; font: 10px Consolas, "Microsoft YaHei", monospace; text-overflow: ellipsis; white-space: nowrap; }
.graph-node small { color: #638a90; font-size: 8px; text-transform: uppercase; }
.graph-node span { overflow: hidden; color: #788994; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.edge-label { display: grid; grid-template-columns: 16px minmax(0, 1fr); align-items: center; gap: 4px; color: #81929d; text-align: center; }
.edge-label > span { color: #2b8d8c; font-size: 19px; }
.edge-label small { color: #788d98; font-size: 8px; line-height: 1.35; }
.edge-label em { grid-column: 2; color: #9aa7b0; font: 8px Consolas, monospace; }
.graph-legend { display: flex; gap: 15px; border-top: 1px solid #edf1f3; padding: 8px 13px; color: #73848f; font-size: 8px; }
.graph-legend span { display: inline-flex; align-items: center; gap: 5px; }
.graph-legend i { width: 7px; height: 7px; border-radius: 2px; background: #487da0; }
.graph-legend .transform-dot { background: #158488; }
.graph-legend .ods-dot { background: #6a9f7f; }
.graph-legend .metric-dot { background: #8875aa; }
.graph-empty { display: grid; min-height: 180px; place-content: center; gap: 7px; color: #80909a; text-align: center; font-size: 10px; }
.graph-empty strong { color: #385262; }
.impact-panel { margin-top: 11px; padding-bottom: 12px; }
.impact-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-bottom: 1px solid #edf1f3; padding: 13px 15px; }
.impact-summary > div { display: grid; gap: 4px; border-right: 1px solid #e8edf0; padding: 0 13px; }
.impact-summary > div:first-child { padding-left: 0; }
.impact-summary > div:last-child { border-right: 0; }
.impact-summary small { color: #8796a0; font-size: 9px; }
.impact-summary strong { color: #334d5b; font-size: 11px; }
.impact-summary span { color: #748691; font-size: 9px; }
.impact-panel > .button { margin: 10px 15px 0; }
.source-dot { background: #487da0 !important; }
.metric-dot { background: #8875aa !important; }
.schedule-panel { margin-bottom: 11px; }
.schedule-fields { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; padding: 12px 14px; }
.schedule-fields label { display: grid; gap: 5px; color: #758692; font-size: 9px; }
.schedule-fields input, .schedule-fields select { width: 100%; height: 31px; border: 1px solid #d6e0e6; border-radius: 4px; padding: 5px 8px; color: #314a5a; background: white; font-size: 10px; }
.schedule-fields input:disabled { color: #9ba8b0; background: #f4f6f8; }
.schedule-status { display: grid; grid-template-columns: 1fr 1.45fr 1.2fr 1fr; border-top: 1px solid #edf1f4; padding: 9px 14px; }
.schedule-status > div { display: grid; gap: 3px; border-right: 1px solid #e9eef1; padding: 0 11px; }
.schedule-status > div:first-child { padding-left: 0; }
.schedule-status > div:last-child { border: 0; }
.schedule-status small { color: #8a98a1; font-size: 8px; }
.schedule-status strong { color: #3b5462; font-size: 9px; line-height: 1.45; }
.dag-panel { margin-bottom: 11px; }
.dag-board { display: grid; grid-template-columns: 1fr 22px 1.24fr 22px 1fr 22px 1fr; align-items: center; gap: 7px; overflow-x: auto; padding: 17px 14px; }
.dag-column { min-width: 140px; display: grid; gap: 10px; }
.dag-connector { color: #26878b; font-size: 20px; text-align: center; }
.dag-row { min-width: 0; display: grid; gap: 5px; border: 1px solid #dce5ea; border-left: 3px solid #8196a2; border-radius: 5px; padding: 9px; text-align: left; color: #304958; background: #fbfcfd; }
.dag-row:hover { border-color: #6faaa9; }
.dag-row.selected { box-shadow: 0 0 0 2px #d8eeee; }
.dag-row.success { border-left-color: #398663; background: #f4faf6; }
.dag-row.running { border-color: #b9d9db; border-left-color: #178489; background: #f2fafa; }
.dag-row.failed { border-color: #ebc4c0; border-left-color: #bb5450; background: #fff7f6; }
.dag-row.blocked { border-left-color: #bf8d3c; background: #fffaf0; }
.dag-row-top { display: flex; align-items: center; justify-content: space-between; gap: 5px; }
.dag-row > strong { font-size: 10px; }
.dag-row > small, .dependency-label { color: #82929c; font-size: 8px; line-height: 1.4; }
.dependency-label { border-top: 1px solid #e9eef1; padding-top: 5px; }
.dag-foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #edf1f3; padding: 8px 14px; color: #748590; font-size: 9px; }
.etl-bottom { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(245px, .75fr); gap: 11px; margin-bottom: 11px; }
.run-panel, .task-inspector { min-height: 190px; }
.run-log { max-height: 184px; overflow: auto; padding: 10px 14px; }
.log-entry { display: grid; grid-template-columns: 56px 8px minmax(0, 1fr); gap: 8px; align-items: start; padding: 5px 0; color: #526774; font-size: 9px; line-height: 1.5; }
.log-entry time { color: #8898a2; font: 9px Consolas, monospace; }
.log-mark { width: 6px; height: 6px; margin-top: 4px; border-radius: 50%; background: #6088aa; }
.log-mark.warning { background: #bd8730; }
.log-mark.error { background: #bd514f; }
.task-inspector { border: 1px solid var(--line); border-radius: 7px; background: #fff; }
.task-inspector > div:first-child { border-bottom: 1px solid #e8edf1; padding: 11px 13px; }
.task-inspector h3 { margin: 4px 0 0; color: #2e4858; font-size: 12px; }
.task-inspector .details-list { grid-template-columns: 67px minmax(0, 1fr); padding: 11px 13px; }
.history-panel { margin-bottom: 15px; }
.history-panel .data-table { min-width: 720px; }
.history-panel .table-scroll { max-height: 205px; }
.empty-state, .empty-row { color: #8796a0; font-size: 10px; line-height: 1.55; text-align: center; }
.empty-state { padding: 25px 12px; }
.empty-row { padding: 28px !important; }
.metric-panel { padding-bottom: 14px; }
.metric-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 15px; }
.metric-summary > div { display: grid; gap: 4px; border-right: 1px solid #e6ecef; padding: 0 16px; }
.metric-summary > div:first-child { padding-left: 0; }
.metric-summary > div:last-child { border: 0; }
.metric-summary small { color: #82929c; font-size: 9px; }
.metric-summary strong { color: #2e4858; font-size: 25px; font-weight: 650; }
.metric-summary span { color: #778893; font-size: 9px; }
.metric-summary .difference-value strong { color: #b06c23; }
.metric-panel > .notice { margin: 0 15px 13px; }
.member-table { min-width: 800px; }
.member-table tbody tr.attention-row { background: #fffaf0; }
.member-table tfoot th { border-top: 1px solid #dce5ea; padding: 9px; color: #455d6a; background: #f7f9fb; text-align: left; font-size: 9px; }
.metric-panel > .button-row { display: flex; justify-content: flex-end; gap: 8px; padding: 13px 15px 0; }
.button-row { display: flex; gap: 8px; }
.scenario-bar { display: flex; align-items: center; justify-content: space-between; gap: 15px; border: 1px solid #dbe5eb; border-left: 3px solid var(--teal); border-radius: 5px; padding: 11px 14px; margin-bottom: 11px; background: white; }
.scenario-bar > div:first-child { display: grid; gap: 4px; }
.scenario-bar strong { color: #2b4656; font-size: 12px; }
.scenario-bar small, .scenario-status > span { color: #7c8c97; font-size: 9px; }
.scenario-status { display: flex; align-items: center; gap: 12px; }
.journey-panel { margin-bottom: 11px; }
.journey-table { padding: 0 13px 7px; }
.journey-head, .journey-row { display: grid; grid-template-columns: 48px minmax(0, 1fr) 185px 24px; align-items: center; gap: 9px; }
.journey-head { border-bottom: 1px solid #e5ebef; padding: 8px 4px; color: #83929c; font-size: 8px; }
.journey-row { width: 100%; border: 0; border-bottom: 1px solid #edf1f3; padding: 9px 4px; text-align: left; color: inherit; background: white; }
.journey-row:last-child { border-bottom: 0; }
.journey-row:hover { background: #f7fafb; }
.journey-number { color: #39828a; font: 10px Consolas, monospace; }
.journey-main strong, .journey-main small { display: block; }
.journey-main strong { color: #304a59; font-size: 10px; }
.journey-main small { margin-top: 3px; color: #82919b; font-size: 9px; }
.journey-arrow { color: #56898d; text-align: right; }
.quick-diff { margin-bottom: 11px; }
.quick-diff .data-table { min-width: 740px; }
.workbench-bottom { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(260px, .75fr); gap: 11px; }
.mini-task-list { padding: 2px 13px 8px; }
.mini-task-list > div { display: grid; grid-template-columns: 47px minmax(125px, 1fr) minmax(110px, .8fr) auto; align-items: center; gap: 8px; border-bottom: 1px solid #edf1f3; padding: 8px 2px; }
.mini-task-list > div:last-child { border: 0; }
.mini-task-list strong { color: #3a5260; font-size: 9px; }
.mini-task-list > div > span:nth-child(3) { color: #8796a0; font-size: 8px; }
.metric-peek { padding-bottom: 10px; }
.metric-inline { display: flex; align-items: center; gap: 15px; padding: 13px 15px 5px; }
.metric-inline span { display: grid; gap: 2px; }
.metric-inline small { color: #8a99a2; font-size: 8px; }
.metric-inline strong { color: #284454; font-size: 21px; }
.metric-inline i { color: #95a3ad; font-style: normal; }
.metric-inline b { margin-left: auto; color: #a96a24; font-size: 17px; }
.metric-peek > p { margin: 0 15px 4px; color: #7a8993; font-size: 9px; line-height: 1.5; }
.service-panel { margin-bottom: 11px; }
.service-panel .data-table { min-width: 900px; }
.table-scroll-hint { display: none; margin: -3px 13px 7px; color: #617887; font-size: 10px; }
.modal { width: min(460px, calc(100vw - 40px)); border: 1px solid #d5e0e6; border-radius: 8px; padding: 17px; box-shadow: 0 18px 55px #18334740; }
.modal::backdrop { background: #182d3d77; }
.modal[open] { display: block; }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-head h2 { margin: 4px 0 0; color: #2a4555; font-size: 16px; }
.icon-button { width: 28px; height: 28px; border: 1px solid #d8e2e8; border-radius: 50%; color: #617784; background: white; font-size: 17px; }
#service-form > .form-label { display: grid; gap: 5px; margin: 10px 0; color: #657987; font-size: 10px; font-weight: 600; }
#service-form input, #service-form select { height: 34px; border: 1px solid #d5dfe5; border-radius: 4px; padding: 6px 8px; color: #304958; background: white; font-size: 10px; }
#service-form .notice { margin: 12px 0; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 14px; }
.toast { position: fixed; z-index: 10; right: 24px; top: 68px; max-width: 470px; border-radius: 5px; padding: 10px 13px; color: white; background: #274e5c; box-shadow: 0 8px 28px #142b3d33; font-size: 10px; line-height: 1.5; }
.toast.error { background: #914b49; }
.app-footer { display: flex; justify-content: space-between; gap: 15px; border-top: 1px solid var(--line); margin-top: 20px; padding-top: 10px; color: #8998a2; font-size: 8px; }

@media (max-width: 1200px) {
  .app-shell { grid-template-columns: 184px minmax(0, 1fr); }
  .main-area { padding-right: 17px; padding-left: 17px; }
  .service-panel .table-scroll-hint { display: block; }
  .schema-layout { grid-template-columns: 185px minmax(0, 1fr); }
  .field-inspector { grid-column: 1 / -1; }
  .inspector { min-height: 0; }
  .inspector-title, .inspector .details-list { display: inline-grid; vertical-align: top; }
  .inspector-title { width: 28%; min-height: 100%; border-bottom: 0; border-right: 1px solid #e8edf1; }
  .inspector .details-list { width: 33%; grid-template-columns: 65px 1fr; }
  .inspector > .form-label, .inspector > textarea, .inspector > .inspector-actions, .inspector > .mapping-block, .inspector > .notice { display: inline-block; vertical-align: top; }
  .inspector > .form-label { width: 22%; }
  .inspector > textarea { width: 25%; margin: 10px 0 0; }
  .inspector > .inspector-actions { width: 16%; margin: 10px 0 0; padding: 0 7px; }
  .inspector > .mapping-block { width: 100%; }
  .lineage-layout { grid-template-columns: 220px minmax(0, 1fr); }
  .catalog-row { grid-template-columns: 68px minmax(130px, 1fr) 115px 110px 120px; }
}
@media (max-width: 960px) {
  .main-area { padding-right: 12px; padding-left: 12px; }
  .page-heading h1 { font-size: 22px; }
  .schema-layout { grid-template-columns: 165px minmax(0, 1fr); gap: 8px; }
  .lineage-layout { grid-template-columns: 190px minmax(0, 1fr); gap: 8px; }
  .lineage-edge { grid-template-columns: minmax(120px, 1fr) minmax(65px, .45fr) minmax(120px, 1fr); gap: 4px; }
  .schedule-fields { gap: 7px; padding: 10px; }
  .schedule-status { grid-template-columns: 1fr 1.25fr 1fr 1fr; padding: 8px 10px; }
  .schedule-status > div { padding: 0 7px; }
  .dag-board { grid-template-columns: 130px 18px 1.1fr 18px 130px 18px 130px; padding: 13px 10px; }
  .dag-column { min-width: 130px; }
  .etl-bottom { grid-template-columns: minmax(0, 1fr) 245px; gap: 8px; }
  .workbench-bottom { grid-template-columns: minmax(0, 1fr) 250px; gap: 8px; }
  .impact-summary { padding-right: 10px; padding-left: 10px; }
  .impact-summary > div { padding: 0 8px; }
  .source-context { gap: 8px; font-size: 9px; }
  .catalog-row { grid-template-columns: 60px minmax(110px, 1fr) 102px 95px 100px; gap: 5px; font-size: 8px; }
}
