:root {
  --navy-950: #061522;
  --navy-900: #091d2e;
  --navy-850: #0b2437;
  --navy-800: #0e2d43;
  --navy-700: #15425d;
  --blue-600: #1d7fb2;
  --blue-500: #2e9ac9;
  --cyan-500: #20b8b0;
  --cyan-400: #39d2c6;
  --cyan-300: #83e3da;
  --ink-900: #142635;
  --ink-700: #435769;
  --ink-500: #708191;
  --ink-400: #91a0ad;
  --paper: #f3f7fa;
  --white: #ffffff;
  --line: #dce6ed;
  --line-soft: #eaf0f4;
  --success: #139b77;
  --warning: #d48b26;
  --danger: #c6555f;
  --shadow-sm: 0 2px 8px rgba(7, 31, 49, .05);
  --shadow-md: 0 14px 40px rgba(7, 31, 49, .09);
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --sidebar-width: 244px;
  font-family: "Segoe UI", "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
  color: var(--ink-900);
  background: var(--paper);
  font-synthesis: none;
}

/* V1.1 · relation-oriented prediction, real-name networks and model blueprint */
.prediction-modes {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.prediction-modes .mode-tab { padding-inline: 8px; }

.prediction-scope-card {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid #cfe3e7;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(32, 184, 176, .09), rgba(51, 137, 181, .035)),
    #fbfefe;
}

.scope-card-head { display: grid; gap: 5px; }
.scope-card-head span { color: #188f8a; font-size: 10px; font-weight: 800; letter-spacing: .13em; }
.scope-card-head b { color: #173b4d; font-size: 16px; }
.prediction-scope-card p { margin: 12px 0; color: #647e8b; font-size: 12px; line-height: 1.75; }

.scope-stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 14px;
}

.scope-stat-row > div {
  padding: 11px 8px;
  border: 1px solid rgba(111, 155, 170, .18);
  border-radius: 11px;
  background: rgba(255, 255, 255, .75);
  text-align: center;
}

.scope-stat-row strong { display: block; color: #153f53; font: 750 17px/1.2 "IBM Plex Mono", Consolas, monospace; }
.scope-stat-row span { color: #8196a0; font-size: 10px; }
.case-scope-card { border-color: #d4cdeb; background: linear-gradient(135deg, rgba(128, 103, 189, .1), rgba(32, 184, 176, .04)); }
.case-scope-card .scope-card-head span { color: #725bb2; }

.relation-cell { min-width: 250px; }
.relation-cell b { display: block; color: #173f52; font-size: 12px; line-height: 1.5; }
.relation-cell small { display: block; margin-top: 3px; color: #8aa0aa; font: 10px/1.45 "IBM Plex Mono", Consolas, monospace; }
.mapping-badge { display: inline-flex; align-items: center; padding: 4px 7px; border-radius: 7px; font-size: 10px; font-weight: 750; white-space: nowrap; }
.mapping-badge.verified, .mapping-badge.mapped { color: #087d77; background: #daf3ef; }
.mapping-badge.unmapped, .mapping-badge.anonymous, .mapping-badge.indexed { color: #866018; background: #fff1d6; }
.mapping-badge.archived { color: #68509f; background: #ece7f8; }

.graph-mode-tabs { display: grid; grid-template-columns: 1fr 1fr; margin-bottom: 17px; }
.verified-name-note { margin: 14px 0 18px; padding: 13px 14px; border-left: 3px solid #20b8b0; border-radius: 6px 12px 12px 6px; background: #f0faf9; }
.verified-name-note b { color: #158c86; font-size: 10px; letter-spacing: .12em; }
.verified-name-note p { margin: 5px 0 0; color: #58737f; font-size: 11px; line-height: 1.65; }

.mapping-import-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9px;
  margin-top: 18px;
  padding: 14px;
  border: 1px dashed #b8d1d9;
  border-radius: 14px;
  background: #f8fbfc;
}

.mapping-import-card > div { grid-column: 1 / -1; }
.mapping-import-card h4 { margin: 3px 0; color: #244c5f; }
.mapping-import-card p { margin: 4px 0 0; color: #78909b; font-size: 11px; line-height: 1.5; }
.mapping-upload { position: relative; display: flex; min-height: 36px; align-items: center; justify-content: center; border: 1px solid #c7dbe1; border-radius: 9px; background: white; color: #376478; font-size: 11px; font-weight: 700; cursor: pointer; }
.mapping-upload input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }
.mapping-import-card .template-link { grid-column: 1 / -1; margin: 2px 0 0; }

.graph-node text { font-size: 10px; font-weight: 700; paint-order: stroke; stroke: #fff; stroke-width: 3px; stroke-linejoin: round; }
.graph-node.entity-mirna text { fill: #087f7a; }
.graph-node.entity-gene text { fill: #7456a6; }
.graph-node.unmapped text { fill: #9a7228; font-style: italic; }
.graph-edge.case-edge { stroke: #6b9aad; marker-end: url(#case-edge-arrow); }
.graph-edge.high-probability { stroke: #20a8a1; stroke-width: 1.9; }

.data-panorama-panel { margin-top: 20px; }
.data-panorama-panel .panel-header p { max-width: 680px; margin: 5px 0 0; color: #728a95; font-size: 11px; }
.asset-flow { display: grid; gap: 18px; margin-top: 18px; }
.asset-dataset { position: relative; padding: 17px; overflow: hidden; border: 1px solid #d9e7eb; border-radius: 17px; background: #fbfdfd; }
.asset-dataset::before { content: ""; position: absolute; top: 49px; left: 7%; right: 7%; height: 1px; background: linear-gradient(90deg, transparent, #a9cad3, transparent); }
.asset-dataset-head { position: relative; display: flex; align-items: center; justify-content: space-between; z-index: 1; }
.asset-dataset-head h4 { margin: 0; color: #1d485b; }
.asset-dataset-head span { color: #79929d; font-size: 10px; }
.asset-lanes { position: relative; display: grid; grid-template-columns: repeat(5, minmax(110px, 1fr)); gap: 10px; margin-top: 17px; z-index: 1; }
.asset-lane { padding: 11px; border: 1px solid #d7e6ea; border-top: 3px solid var(--lane-color, #6a9fb2); border-radius: 12px; background: rgba(255, 255, 255, .93); }
.asset-lane > b { display: block; margin-bottom: 8px; color: #315c6f; font-size: 11px; }
.asset-file { display: flex; justify-content: space-between; gap: 7px; padding: 5px 0; border-top: 1px solid #edf3f5; color: #67808b; font-size: 9px; line-height: 1.35; }
.asset-file:first-of-type { border-top: 0; }
.asset-file span:first-child { overflow-wrap: anywhere; }
.asset-file small { flex: 0 0 auto; color: #9aabb2; }
.asset-lane.empty { opacity: .55; }

.architecture-flow-panel { padding: 0; overflow: hidden; }
.architecture-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 22px; border-bottom: 1px solid #dbe9ed; background: linear-gradient(90deg, #fafdfe, #f2faf9); }
.architecture-toolbar h3 { margin: 3px 0 0; color: #183f52; }
.architecture-toolbar p { max-width: 780px; margin: 5px 0 0; color: #718a95; font-size: 10px; line-height: 1.55; }
.architecture-toolbar > div:last-child { display: flex; align-items: center; gap: 9px; }
.architecture-toolbar select { min-width: 150px; padding: 9px 12px; border: 1px solid #c9dde3; border-radius: 9px; background: white; color: #315b6d; }
.architecture-blueprint { overflow-x: auto; background: radial-gradient(circle at 55% 35%, rgba(32, 184, 176, .055), transparent 33%), linear-gradient(#f7fbfc 1px, transparent 1px), linear-gradient(90deg, #f7fbfc 1px, transparent 1px), #fff; background-size: auto, 24px 24px, 24px 24px; }
#architecture-svg { display: block; min-width: 1440px; width: 100%; height: auto; }
.arch-zone rect { fill: rgba(230, 243, 246, .38); stroke: #c8dce2; stroke-width: 1.2; stroke-dasharray: 7 7; }
.arch-zone text { fill: #78919c; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.arch-wires path { fill: none; stroke: #769bac; stroke-width: 2; marker-end: url(#arch-arrowhead); opacity: .66; transition: .25s ease; }
.arch-wires path.wire-dashed { stroke: #b28a37; stroke-dasharray: 7 6; opacity: .72; }
.arch-wires path.wire-training { stroke: #8c70bb; stroke-dasharray: 4 5; opacity: .72; }
.arch-wires path.active { stroke: #15aaa3; stroke-width: 4; opacity: 1; filter: url(#arch-glow); stroke-dasharray: 9 6; animation: archDash .7s linear infinite; }
.arch-stage { cursor: pointer; outline: none; }
.arch-stage rect { fill: #fff; stroke: #bcd5dd; stroke-width: 1.5; transition: .22s ease; }
.arch-stage text { fill: #234e61; font-size: 13px; font-weight: 800; pointer-events: none; }
.arch-stage .arch-sub, .arch-objective .arch-sub { fill: #748d98; font-size: 10.5px; font-weight: 550; }
.arch-stage:hover rect, .arch-stage.selected rect { fill: #ecf9f8; stroke: #20b8b0; stroke-width: 2.5; filter: url(#arch-glow); }
.arch-objective:hover rect, .arch-objective.selected rect { fill: #f1ecfb; stroke: #8061b6; stroke-width: 2.4; filter: url(#arch-glow); }
.arch-stage.branch-topology rect { stroke: #6a9fba; }
.arch-stage.branch-attribute rect { stroke: #b98e55; }
.arch-stage.branch-ufe rect { stroke: #8168b9; }
.arch-stage.branch-training rect { stroke: #b38555; fill: #fffaf2; }
.arch-stage.output-stage rect { fill: #173e51; stroke: #173e51; }
.arch-stage.output-stage text { fill: #f4ffff; }
.arch-stage.output-stage .arch-sub { fill: #bcdde2; }
.arch-objective rect { fill: #faf8fd; stroke: #cfc3e8; stroke-width: 1.4; stroke-dasharray: 6 5; }
.arch-objective text { fill: #765caa; font-size: 12px; font-weight: 800; }
.arch-stage .arch-sub.strong { fill: #5f4b9d; font-weight: 800; }
.architecture-inspector { display: grid; grid-template-columns: 1fr auto; gap: 18px; align-items: center; padding: 17px 22px; border-top: 1px solid #dbe9ed; background: #f8fbfc; }
.architecture-inspector h4 { margin: 3px 0 5px; color: #244c60; }
.architecture-inspector p { margin: 0; color: #6c858f; font-size: 11px; line-height: 1.6; }
.arch-inspector-meta { display: grid; gap: 6px; min-width: 210px; }
.arch-inspector-meta span { padding: 7px 9px; border: 1px solid #d5e4e8; border-radius: 8px; background: white; color: #56727e; font: 10px/1.3 "IBM Plex Mono", Consolas, monospace; }
.architecture-flow-panel.playing .arch-stage rect { animation: archNodePulse 1.2s ease both; }

@keyframes archDash { to { stroke-dashoffset: -15; } }
@keyframes archNodePulse { 0%, 100% { opacity: 1; } 50% { opacity: .72; } }

@media (max-width: 1180px) {
  .prediction-modes { grid-template-columns: 1fr 1fr; }
  .asset-lanes { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 720px) {
  .prediction-modes, .scope-stat-row, .asset-lanes { grid-template-columns: 1fr; }
  .mapping-import-card { grid-template-columns: 1fr; }
  .architecture-toolbar, .architecture-inspector { align-items: stretch; flex-direction: column; grid-template-columns: 1fr; }
  .architecture-toolbar > div:last-child { flex-wrap: wrap; }
  .arch-inspector-meta { min-width: 0; }
}

/* V1.2 · visible name catalogue, five test sets and dataset explorer */
.test-set-library-panel { margin-bottom: 18px; }
.test-set-library-panel .panel-header p,
.dataset-visual-toolbar p { max-width: 760px; margin: 5px 0 0; color: #718994; font-size: 11px; line-height: 1.65; }
.test-library-badge { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border: 1px solid #cce3e6; border-radius: 12px; background: #eff9f8; }
.test-library-badge strong { color: #129b95; font: 800 22px/1 "IBM Plex Mono", Consolas, monospace; }
.test-library-badge span { color: #66818c; font-size: 10px; }
.test-set-library { display: grid; grid-template-columns: repeat(5, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }
.test-set-card { position: relative; display: grid; gap: 10px; min-width: 0; padding: 13px; border: 1px solid #d7e5ea; border-radius: 14px; background: linear-gradient(155deg, #fff, #f6fafb); transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.test-set-card:hover { transform: translateY(-2px); border-color: #97cbd0; box-shadow: 0 9px 20px rgba(16, 71, 91, .08); }
.test-set-card.active { border-color: #20b8b0; box-shadow: inset 0 0 0 1px rgba(32, 184, 176, .2), 0 8px 22px rgba(24, 135, 137, .1); background: linear-gradient(155deg, #effbf9, #fff); }
.test-set-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.test-set-card-head b { color: #204b5e; font-size: 13px; }
.test-set-card-head span { padding: 3px 6px; border-radius: 6px; color: #728a96; background: #edf3f5; font-size: 8px; font-weight: 800; }
.test-set-card.active .test-set-card-head span { color: #087d77; background: #d7f2ee; }
.test-set-counts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.test-set-counts div { min-width: 0; text-align: center; }
.test-set-counts strong { display: block; color: #244d60; font: 750 13px/1.2 "IBM Plex Mono", Consolas, monospace; }
.test-set-counts small { display: block; margin-top: 3px; overflow: hidden; color: #91a2aa; font-size: 8px; text-overflow: ellipsis; white-space: nowrap; }
.class-stack { display: flex; height: 6px; overflow: hidden; border-radius: 6px; background: #e6eef1; }
.class-stack .positive { width: var(--positive, 50%); background: #20b8b0; }
.class-stack .negative { flex: 1; background: #365e73; }
.mapping-mini-track { height: 3px; overflow: hidden; border-radius: 4px; background: #ece8f5; }
.mapping-mini-track i { display: block; width: var(--mapped, 0%); height: 100%; background: #8068bb; }
.test-set-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.test-set-card-actions button { padding: 0; color: #128f89; background: transparent; border: 0; font-size: 9px; font-weight: 750; }
.test-set-card-actions a { color: #66838f; font-size: 9px; text-decoration: underline; text-underline-offset: 2px; }

.mapped-relation-preview { grid-column: 1 / -1; padding-top: 11px; border-top: 1px solid #e1ebee; }
.mapped-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 9px; }
.mapped-preview-head b { color: #315b6d; font-size: 11px; }
.mapped-preview-head span { color: #7e69b4; font-size: 9px; font-weight: 750; }
.mapped-relation-list { display: grid; gap: 5px; max-height: 230px; margin-top: 9px; padding-right: 3px; overflow-y: auto; }
.mapped-relation-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 8px; border: 1px solid #e4edef; border-radius: 8px; background: #fff; }
.mapped-relation-item b { overflow: hidden; color: #244f61; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
.mapped-relation-item span { color: #8b9ea6; font: 8px/1.2 "IBM Plex Mono", Consolas, monospace; }
.mapped-preview-actions { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 9px; }
.mapped-preview-actions .template-link { margin: 0; }
.muted-inline { color: #8da0a8; font-size: 10px; }

.dataset-visualization-panel { margin-bottom: 20px; padding: 0; overflow: hidden; }
.dataset-visual-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 18px 20px; border-bottom: 1px solid #dde9ed; background: linear-gradient(90deg, #fafdfe, #f1faf9); }
.dataset-visual-toolbar h3 { margin: 3px 0 0; color: #193f52; }
.compact-field { min-width: 210px; margin: 0; }
.dataset-visual-summary { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid #e2ecef; }
.dataset-visual-summary > div { padding: 15px 18px; border-right: 1px solid #e2ecef; }
.dataset-visual-summary > div:last-child { border-right: 0; }
.dataset-visual-summary strong { display: block; color: #16465a; font: 780 19px/1.2 "IBM Plex Mono", Consolas, monospace; }
.dataset-visual-summary span { display: block; margin-top: 4px; color: #80949d; font-size: 9px; }
.visual-section-title { display: flex; align-items: end; justify-content: space-between; gap: 20px; padding: 18px 20px 10px; }
.visual-section-title span, .verified-catalog-head span { color: #198f8a; font-size: 9px; font-weight: 800; letter-spacing: .12em; }
.visual-section-title h4, .verified-catalog-head h4 { margin: 3px 0 0; color: #244c60; }
.visual-section-title small { color: #8397a0; font-size: 9px; }
.fold-visual-grid { display: grid; grid-template-columns: repeat(5, minmax(130px, 1fr)); gap: 10px; padding: 0 20px 20px; }
.fold-visual-card { padding: 13px; border: 1px solid #d9e7eb; border-radius: 13px; background: #fbfdfd; }
.fold-visual-card header { display: flex; align-items: baseline; justify-content: space-between; }
.fold-visual-card header b { color: #244e61; }
.fold-visual-card header span { color: #899ca4; font-size: 8px; }
.fold-bar { display: flex; height: 58px; align-items: end; gap: 5px; margin: 12px 0 9px; padding: 0 9px; border-bottom: 1px solid #dce8ec; }
.fold-bar i { display: block; flex: 1; min-height: 4px; border-radius: 5px 5px 0 0; }
.fold-bar .positive { height: var(--positive-height, 50%); background: #20b8b0; }
.fold-bar .negative { height: var(--negative-height, 50%); background: #355f74; }
.fold-bar .mapped { height: var(--mapped-height, 3%); background: #8068bb; }
.fold-visual-card dl { display: grid; grid-template-columns: 1fr auto; gap: 4px 7px; margin: 0; font-size: 8px; }
.fold-visual-card dt { color: #8a9da5; }
.fold-visual-card dd { margin: 0; color: #315a6c; font-family: "IBM Plex Mono", Consolas, monospace; }
.fold-use-button { width: 100%; margin-top: 10px; padding: 7px; color: #108d87; background: #edf9f7; border: 1px solid #cee9e6; border-radius: 7px; font-size: 9px; font-weight: 750; }
.verified-catalog-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 17px 20px 11px; border-top: 1px solid #e1ecef; }
.verified-catalog-head p { margin: 4px 0 0; color: #7b919a; font-size: 10px; }
.catalog-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.catalog-actions .secondary-btn { text-decoration: none; }
.catalog-actions button:disabled { cursor: not-allowed; opacity: .42; }
.catalog-index-jump { display: inline-flex; align-items: center; gap: 6px; padding: 4px 5px 4px 9px; border: 1px solid #d4e3e8; border-radius: 9px; background: #f8fbfc; }
.catalog-index-jump span { color: #66808b; font-size: 8px; letter-spacing: 0; }
.catalog-index-jump input { width: 76px; min-height: 29px; padding: 4px 7px; border: 1px solid #d3e2e7; border-radius: 6px; color: #1e5268; background: white; font: 700 10px/1 "IBM Plex Mono", Consolas, monospace; }
.catalog-index-jump button { min-height: 29px; padding: 4px 9px; border: 0; border-radius: 6px; color: white; background: #219c98; font-size: 9px; font-weight: 750; cursor: pointer; }
.verified-relation-table-wrap tr.catalog-focus td { background: #e8f8f6; box-shadow: inset 0 1px #58c7bf, inset 0 -1px #58c7bf; }
.verified-relation-table-wrap { max-height: 390px; margin: 0 20px 20px; border: 1px solid #e0eaed; border-radius: 11px; }
.verified-relation-table-wrap table { min-width: 880px; }
.verified-relation-table-wrap td { font-size: 10px; }
.verified-relation-table-wrap td strong { color: #194f62; }
.relation-arrow-cell { color: #18a19b; font-weight: 800; text-align: center; }

@media (max-width: 1250px) {
  .test-set-library, .fold-visual-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 760px) {
  .test-set-library, .fold-visual-grid, .dataset-visual-summary { grid-template-columns: 1fr; }
  .dataset-visual-toolbar, .visual-section-title, .verified-catalog-head { align-items: stretch; flex-direction: column; }
  .compact-field { min-width: 0; }
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; background: var(--paper); }

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink-900);
  background:
    linear-gradient(rgba(18, 64, 86, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 64, 86, .025) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p { margin-top: 0; }
.hidden { display: none !important; }

.app-shell { display: flex; min-height: 100vh; }

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  z-index: 30;
  display: flex;
  flex-direction: column;
  width: var(--sidebar-width);
  min-height: 100vh;
  padding: 26px 16px 18px;
  color: #c7d9e4;
  background:
    radial-gradient(circle at 15% 8%, rgba(48, 182, 187, .12), transparent 24%),
    linear-gradient(180deg, var(--navy-900), var(--navy-950));
  border-right: 1px solid rgba(126, 192, 209, .1);
  overflow-y: auto;
}

.sidebar::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .12;
  background-image:
    linear-gradient(rgba(117, 188, 205, .13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(117, 188, 205, .13) 1px, transparent 1px);
  background-size: 24px 24px;
  mask-image: linear-gradient(to bottom, #000, transparent 70%);
}

.sidebar > * { position: relative; z-index: 1; }

.brand { display: flex; align-items: center; gap: 12px; padding: 0 10px 28px; }
.brand-mark { position: relative; width: 38px; height: 38px; flex: 0 0 38px; }
.brand-orbit { position: absolute; inset: 2px; border: 1px solid rgba(71, 209, 200, .65); border-radius: 50%; }
.brand-orbit::before, .brand-orbit::after { content: ""; position: absolute; width: 5px; height: 5px; background: var(--cyan-400); border-radius: 50%; box-shadow: 0 0 10px rgba(57, 210, 198, .9); }
.brand-orbit::before { top: 2px; left: 8px; }
.brand-orbit::after { right: 1px; bottom: 8px; }
.orbit-b { transform: rotate(68deg) scale(.72); opacity: .7; }
.brand-core { position: absolute; inset: 14px; background: var(--cyan-400); border-radius: 50%; box-shadow: 0 0 12px rgba(57, 210, 198, .9); }
.brand strong { display: block; color: white; font-size: 19px; letter-spacing: 3px; line-height: 1.05; }
.brand span { display: block; margin-top: 4px; color: #67a5bc; font-size: 8px; letter-spacing: 3.5px; }

.workspace-label { margin: 0 11px 10px; color: #5f8599; font-size: 10px; letter-spacing: 2px; }
.main-nav { display: grid; gap: 4px; }
.nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 11px 13px;
  color: #91aabc;
  background: transparent;
  border: 0;
  border-radius: 8px;
  font-size: 13px;
  text-align: left;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.nav-item:hover { color: #dbeaf1; background: rgba(65, 139, 166, .1); transform: translateX(2px); }
.nav-item.active { color: white; background: linear-gradient(90deg, rgba(27, 150, 154, .24), rgba(25, 90, 117, .15)); }
.nav-item.active::before { content: ""; position: absolute; left: 0; top: 9px; bottom: 9px; width: 3px; background: var(--cyan-400); border-radius: 0 4px 4px 0; box-shadow: 0 0 12px rgba(57, 210, 198, .45); }
.nav-icon { display: grid; place-items: center; width: 21px; height: 21px; color: #75a0b5; font-family: Georgia, serif; font-size: 16px; }
.nav-item.active .nav-icon { color: var(--cyan-300); }
.sidebar-spacer { flex: 1; min-height: 24px; }
.system-mini-card { display: flex; align-items: center; gap: 10px; margin: 0 6px 10px; padding: 11px; background: rgba(31, 93, 116, .14); border: 1px solid rgba(92, 149, 169, .14); border-radius: 9px; }
.pulse-dot { position: relative; width: 8px; height: 8px; flex: 0 0 8px; background: var(--cyan-400); border-radius: 50%; box-shadow: 0 0 9px rgba(57, 210, 198, .7); }
.pulse-dot::after { content: ""; position: absolute; inset: -4px; border: 1px solid rgba(57, 210, 198, .35); border-radius: 50%; animation: pulse 2s infinite; }
.system-mini-card span { display: block; color: #5f8498; font-size: 7px; letter-spacing: 1.1px; }
.system-mini-card strong { display: block; margin-top: 3px; color: #b8d3df; font-size: 10px; font-weight: 500; }
.about-link { margin-top: 2px; }
.version-tag { padding: 9px 13px 0; color: #45687b; font-size: 9px; letter-spacing: .7px; }

.main-frame { width: calc(100% - var(--sidebar-width)); min-height: 100vh; margin-left: var(--sidebar-width); }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 13px clamp(22px, 3vw, 48px);
  background: rgba(247, 250, 252, .93);
  border-bottom: 1px solid rgba(205, 219, 228, .82);
  backdrop-filter: blur(16px);
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 18px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 5px; color: #8a9aa5; font-size: 8px; font-weight: 600; letter-spacing: 1.4px; }
.breadcrumb span:first-child { color: var(--blue-600); }
.breadcrumb b { color: #bdc8cf; }
.topbar h1 { margin: 0; color: #1b3141; font-size: 20px; font-weight: 650; letter-spacing: .5px; }
.mobile-menu { display: none; padding: 7px; color: var(--ink-700); background: transparent; border: 0; font-size: 20px; }
.runtime-pill { display: flex; align-items: center; gap: 7px; padding: 7px 11px; color: #4f6876; background: #edf5f6; border: 1px solid #d7e8e9; border-radius: 20px; font-size: 10px; }
.runtime-indicator { width: 6px; height: 6px; background: var(--success); border-radius: 50%; box-shadow: 0 0 0 3px rgba(19, 155, 119, .1); }
.date-box { padding-right: 16px; text-align: right; border-right: 1px solid var(--line); }
.date-box strong, .date-box span { display: block; }
.date-box strong { color: var(--ink-700); font-size: 13px; }
.date-box span { margin-top: 1px; color: var(--ink-400); font-size: 8px; letter-spacing: .8px; }
.avatar { display: grid; place-items: center; width: 35px; height: 35px; color: #dff7f4; background: linear-gradient(145deg, var(--navy-700), #176879); border: 2px solid white; border-radius: 50%; box-shadow: 0 2px 8px rgba(20, 71, 91, .2); font-size: 10px; font-weight: 700; letter-spacing: 1px; }

.content { max-width: 1760px; margin: 0 auto; padding: 28px clamp(22px, 3vw, 48px) 56px; }
.page-section { display: none; animation: pageIn .35s ease; }
.page-section.active { display: block; }

.hero-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(420px, .9fr) minmax(480px, 1.1fr);
  min-height: 430px;
  overflow: hidden;
  color: white;
  background:
    radial-gradient(circle at 72% 42%, rgba(31, 171, 172, .11), transparent 31%),
    linear-gradient(118deg, #071b2a, #0a273b 62%, #0a3244);
  border: 1px solid rgba(30, 108, 130, .3);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 50px rgba(4, 30, 47, .16);
}
.hero-panel::before { content: ""; position: absolute; inset: 0; opacity: .17; background-image: linear-gradient(rgba(117, 196, 205, .13) 1px, transparent 1px), linear-gradient(90deg, rgba(117, 196, 205, .13) 1px, transparent 1px); background-size: 30px 30px; mask-image: linear-gradient(90deg, #000, transparent 58%, #000); }
.hero-copy { position: relative; z-index: 3; display: flex; flex-direction: column; justify-content: center; padding: 48px 0 42px 54px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin-bottom: 17px; color: #4ebfbf; font-size: 8px; font-weight: 700; letter-spacing: 2.2px; }
.eyebrow span { width: 22px; height: 1px; background: var(--cyan-400); }
.hero-copy h2 { margin-bottom: 15px; font-family: "Microsoft YaHei UI", sans-serif; font-size: clamp(30px, 3vw, 44px); font-weight: 680; line-height: 1.3; letter-spacing: .8px; }
.hero-copy h2 em { color: var(--cyan-300); font-style: normal; font-weight: 440; }
.hero-copy > p { max-width: 610px; margin-bottom: 23px; color: #a9c0cd; font-size: 13px; line-height: 1.9; }
.hero-actions { display: flex; gap: 10px; }
.primary-btn, .ghost-btn, .secondary-btn, .danger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 39px;
  padding: 9px 17px;
  border-radius: 7px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .3px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primary-btn { color: #05262e; background: var(--cyan-400); border: 1px solid var(--cyan-400); box-shadow: 0 6px 18px rgba(32, 184, 176, .18); }
.primary-btn:hover { transform: translateY(-1px); background: #55ded3; box-shadow: 0 9px 22px rgba(32, 184, 176, .24); }
.primary-btn:disabled { cursor: wait; opacity: .55; transform: none; }
.ghost-btn { color: #c0d1da; background: rgba(255,255,255,.02); border: 1px solid rgba(161, 192, 204, .28); }
.ghost-btn:hover { background: rgba(255,255,255,.06); }
.secondary-btn { color: #335466; background: white; border: 1px solid #cfdee6; }
.secondary-btn:hover { color: #146b80; border-color: #8dc5d0; box-shadow: var(--shadow-sm); }
.danger-btn { width: 100%; margin-top: 9px; color: #9c3943; background: #fff5f5; border: 1px solid #edc5c9; }
.danger-btn:hover { background: #feecee; }
.primary-btn.full { width: 100%; justify-content: space-between; min-height: 46px; padding-inline: 19px; }
.hero-proof { display: flex; gap: 0; margin-top: 29px; }
.hero-proof div { min-width: 116px; padding-right: 22px; }
.hero-proof div + div { padding-left: 22px; border-left: 1px solid rgba(155, 197, 209, .17); }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { color: white; font-size: 15px; font-weight: 650; }
.hero-proof span { margin-top: 3px; color: #698da0; font-size: 8px; letter-spacing: .6px; }

.hero-visual { position: relative; min-height: 430px; overflow: hidden; }
.visual-grid { position: absolute; inset: 0; background: radial-gradient(circle at center, rgba(69, 202, 197, .06) 0 1px, transparent 1.5px); background-size: 17px 17px; mask-image: radial-gradient(circle at center, #000, transparent 70%); }
.network { position: absolute; top: 90px; right: 225px; width: 260px; height: 250px; opacity: .75; }
.network svg { width: 100%; height: 100%; overflow: visible; }
.network path { fill: none; stroke: rgba(83, 177, 189, .25); stroke-width: 1; }
.node { position: absolute; z-index: 2; width: 8px; height: 8px; background: #4ac5c1; border: 2px solid #b8f1eb; border-radius: 50%; box-shadow: 0 0 11px rgba(67, 213, 204, .85); }
.n1 { left: 44px; top: 49px; }.n2 { left: 116px; top: 28px; }.n3 { left: 184px; top: 63px; }.n4 { left: 218px; top: 135px; }.n5 { left: 170px; top: 200px; }.n6 { left: 83px; top: 212px; }
.fusion-core { position: absolute; right: 58px; top: 120px; width: 188px; height: 188px; }
.core-ring { position: absolute; border: 1px solid rgba(68, 207, 198, .3); border-radius: 50%; }
.ring-one { inset: 0; animation: rotate 18s linear infinite; }
.ring-one::before, .ring-one::after, .ring-two::before { content: ""; position: absolute; width: 7px; height: 7px; background: var(--cyan-400); border-radius: 50%; box-shadow: 0 0 10px rgba(57, 210, 198, .8); }
.ring-one::before { left: 21px; top: 25px; }.ring-one::after { right: 3px; top: 88px; }
.ring-two { inset: 23px; border-style: dashed; border-color: rgba(89, 174, 192, .28); animation: rotate 12s linear infinite reverse; }
.ring-two::before { left: 16px; bottom: 15px; }
.core-center { position: absolute; inset: 47px; display: grid; place-content: center; text-align: center; background: radial-gradient(circle, #154a58, #0a2839 70%); border: 1px solid rgba(74, 199, 195, .55); border-radius: 50%; box-shadow: inset 0 0 20px rgba(47, 193, 188, .09), 0 0 30px rgba(32, 184, 176, .11); }
.core-center span { color: #e8fbf9; font-size: 13px; font-weight: 700; letter-spacing: 1px; }
.core-center b { margin-top: 2px; color: var(--cyan-300); font-size: 8px; font-weight: 500; letter-spacing: 1.5px; }
.visual-label { position: absolute; z-index: 3; display: flex; align-items: center; gap: 8px; padding: 6px 9px; color: #8faebd; background: rgba(6, 28, 42, .75); border: 1px solid rgba(82, 147, 166, .18); border-radius: 5px; backdrop-filter: blur(4px); }
.visual-label b { color: #67d5d0; font-size: 8px; letter-spacing: .7px; }.visual-label span { font-size: 7px; }
.label-gcn { left: 80px; top: 62px; }.label-def { left: 60px; bottom: 50px; }.label-ufe { right: 45px; bottom: 55px; }
.signal-line { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, rgba(64, 214, 203, .7), transparent); transform-origin: left; }
.line-a { left: 290px; top: 183px; width: 170px; transform: rotate(-9deg); }.line-b { left: 275px; top: 249px; width: 175px; transform: rotate(11deg); }.line-c { right: 112px; bottom: 100px; width: 95px; transform: rotate(-59deg); }

.section-heading { display: flex; align-items: center; justify-content: space-between; margin: 30px 1px 15px; }
.section-heading > div:first-child { display: flex; align-items: center; gap: 11px; }
.section-heading h3 { margin: 0; color: var(--ink-900); font-size: 15px; font-weight: 650; }
.section-index { display: inline-grid; place-items: center; min-width: 29px; height: 22px; color: var(--blue-600); background: #e8f2f7; border-left: 2px solid var(--cyan-500); font-family: Georgia, serif; font-size: 9px; }
.source-chip { max-width: 420px; overflow: hidden; color: var(--ink-500); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }

.metrics-grid { display: grid; grid-template-columns: repeat(6, minmax(130px, 1fr)); gap: 12px; }
.metrics-grid.seven { grid-template-columns: repeat(7, minmax(110px, 1fr)); margin-bottom: 16px; }
.metric-card { position: relative; min-height: 112px; padding: 17px 17px 15px; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.metric-card::after { content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px; background: var(--cyan-500); transition: width .3s ease; }.metric-card:hover::after { width: 100%; }
.metric-top { display: flex; align-items: center; justify-content: space-between; }
.metric-name { color: var(--ink-500); font-size: 9px; font-weight: 650; letter-spacing: .9px; text-transform: uppercase; }
.metric-icon { display: grid; place-items: center; width: 22px; height: 22px; color: var(--blue-600); background: #edf6f8; border-radius: 5px; font-family: Georgia, serif; font-size: 11px; }
.metric-value { display: flex; align-items: baseline; gap: 4px; margin-top: 11px; }
.metric-value strong { color: #19384a; font-family: "Segoe UI", sans-serif; font-size: 27px; font-weight: 680; line-height: 1; letter-spacing: -.8px; }.metric-value b { color: var(--cyan-500); font-size: 12px; font-weight: 500; }.metric-value small { color: #8c9ca7; font-size: 9px; }
.metric-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 9px; color: #95a2aa; font-size: 7px; }.metric-foot i { width: 34px; height: 3px; background: #edf2f5; border-radius: 2px; }.metric-foot i::after { content: ""; display: block; width: var(--metric-progress, 80%); height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); border-radius: inherit; }
.skeleton-card { min-height: 112px; background: linear-gradient(100deg, #f6f8fa 30%, #eef2f5 45%, #f6f8fa 60%); background-size: 300% 100%; animation: shimmer 1.4s infinite; }

.dashboard-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; margin-top: 16px; }
.panel { background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.dataset-overview, .activity-panel, .record-table-panel, .checkpoint-panel, .chart-panel, .confusion-panel { padding: 20px; }
.panel-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; margin-bottom: 17px; }
.panel-header h3 { margin: 3px 0 0; color: var(--ink-900); font-size: 14px; font-weight: 650; }
.panel-kicker { color: var(--blue-600); font-size: 7px; font-weight: 700; letter-spacing: 1.7px; }
.text-btn { padding: 4px; color: var(--blue-600); background: transparent; border: 0; font-size: 9px; }
.text-btn:hover { color: var(--cyan-500); }
.dataset-list { display: grid; gap: 10px; }
.dataset-row { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 12px 13px; background: #f8fbfc; border: 1px solid var(--line-soft); border-radius: 8px; }
.dataset-glyph { display: grid; place-items: center; width: 40px; height: 40px; color: #187590; background: #e8f4f6; border-radius: 8px; font-family: Georgia, serif; font-size: 13px; font-weight: 700; }
.dataset-row:nth-child(2) .dataset-glyph { color: #5078a3; background: #edf2f8; }
.dataset-row h4 { margin: 0 0 4px; font-size: 11px; }.dataset-row p { margin: 0; color: var(--ink-500); font-size: 8px; }
.dataset-numbers { display: flex; gap: 20px; text-align: right; }.dataset-numbers strong, .dataset-numbers span { display: block; }.dataset-numbers strong { font-size: 13px; }.dataset-numbers span { margin-top: 3px; color: var(--ink-400); font-size: 7px; }
.activity-list { display: grid; gap: 3px; }
.activity-item { display: grid; grid-template-columns: 8px 1fr auto; align-items: center; gap: 10px; padding: 10px 5px; border-bottom: 1px solid var(--line-soft); }
.activity-item:last-child { border-bottom: 0; }.activity-marker { width: 7px; height: 7px; background: var(--cyan-500); border: 2px solid #d8f1ef; border-radius: 50%; }.activity-item b { display: block; margin-bottom: 2px; font-size: 9px; }.activity-item span { color: var(--ink-400); font-size: 7px; }.activity-count { color: var(--blue-600) !important; font-size: 9px !important; }
.loading-lines { min-height: 100px; background: repeating-linear-gradient(180deg, #f4f7f9 0 10px, transparent 10px 24px); opacity: .7; }

.page-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.page-intro > div:first-child { display: flex; align-items: flex-start; gap: 13px; }
.page-intro h2 { margin: 0 0 6px; color: #183447; font-size: 21px; font-weight: 650; }.page-intro p { margin: 0; color: var(--ink-500); font-size: 10px; line-height: 1.6; }
.notice-pill, .provenance-key, .quality-legend { display: flex; align-items: center; gap: 7px; padding: 8px 11px; color: #426473; background: #edf6f7; border: 1px solid #d5e8e9; border-radius: 20px; font-size: 8px; white-space: nowrap; }
.notice-pill span { display: grid; place-items: center; width: 15px; height: 15px; color: white; background: var(--blue-500); border-radius: 50%; font-size: 9px; font-weight: 700; }.notice-pill.warning { color: #815c26; background: #fff9ed; border-color: #f0dfbd; }.notice-pill.warning span { background: var(--warning); }
.provenance-key i { width: 7px; height: 7px; background: var(--warning); border-radius: 50%; }

.workbench-grid { display: grid; grid-template-columns: minmax(340px, 400px) minmax(580px, 1fr); gap: 16px; align-items: start; }
.control-panel { padding: 20px; }.result-panel { min-height: 640px; padding: 20px; }
.mode-tabs { display: flex; gap: 4px; margin: -5px -5px 18px; padding: 4px; background: #eef3f6; border-radius: 8px; }
.mode-tab { flex: 1; padding: 8px 10px; color: var(--ink-500); background: transparent; border: 0; border-radius: 6px; font-size: 9px; }.mode-tab.active { color: #1e596e; background: white; box-shadow: 0 1px 4px rgba(19, 52, 69, .08); font-weight: 650; }
.form-grid { display: grid; gap: 13px; }.form-grid.two-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 7px; margin-bottom: 14px; color: #334c5b; font-size: 9px; font-weight: 600; }
.field > span { display: flex; align-items: center; justify-content: space-between; }.field small { color: var(--ink-400); font-size: 7px; font-weight: 400; }
.field input:not([type="range"]), .field select, .field textarea, .table-toolbar input {
  width: 100%;
  color: #294657;
  background: #fbfdfe;
  border: 1px solid #d6e2e9;
  border-radius: 7px;
  outline: none;
  transition: border .18s ease, box-shadow .18s ease;
}
.field input:not([type="range"]), .field select { height: 39px; padding: 0 11px; font-size: 10px; }.field textarea { min-height: 110px; padding: 10px 11px; resize: vertical; font-family: Consolas, monospace; font-size: 10px; line-height: 1.65; }
.field input:focus, .field select:focus, .field textarea:focus, .table-toolbar input:focus { border-color: #7bbdc9; box-shadow: 0 0 0 3px rgba(32, 184, 176, .09); }
.engine-selector { display: grid; gap: 8px; margin-bottom: 15px; }
.engine-card { position: relative; display: grid; grid-template-columns: 17px 1fr auto; align-items: center; gap: 10px; padding: 11px; background: #fbfdfe; border: 1px solid #dce6ec; border-radius: 8px; cursor: pointer; transition: border .2s ease, background .2s ease; }.engine-card:hover, .engine-card.selected { background: #f4fbfb; border-color: #8cc9cb; }.engine-card input { position: absolute; opacity: 0; }.engine-radio { width: 14px; height: 14px; border: 1px solid #aabac4; border-radius: 50%; }.engine-card.selected .engine-radio { border: 4px solid var(--cyan-500); }.engine-copy b, .engine-copy small { display: block; }.engine-copy b { color: #294756; font-size: 9px; }.engine-copy small { margin-top: 3px; color: var(--ink-400); font-size: 7px; }.engine-state { padding: 3px 6px; border-radius: 8px; font-size: 7px; }.engine-state.ready { color: #147a61; background: #e7f7f2; }.engine-state.pending { color: #846128; background: #fff6e4; }.engine-state.offline { color: #9b4d56; background: #fceff0; }
.input-shortcuts { display: flex; gap: 6px; margin: -6px 0 15px; }.chip-btn { padding: 5px 8px; color: #557080; background: white; border: 1px solid var(--line); border-radius: 12px; font-size: 7px; }.chip-btn:hover { color: #16798d; border-color: #9acbd3; }
.threshold-field output, .threshold-compact output { padding: 2px 6px; color: #176a7c; background: #e8f5f6; border-radius: 9px; font-size: 8px; }.field input[type="range"] { width: 100%; height: 4px; accent-color: var(--cyan-500); }.range-labels { display: flex; justify-content: space-between; color: #a1adb5; font-size: 6px; font-weight: 400; }
.form-footnote { margin: 10px 3px 0; color: #8999a4; font-size: 7px; line-height: 1.55; text-align: center; }
.upload-zone { position: relative; display: grid; place-items: center; min-height: 150px; padding: 18px; color: var(--ink-500); background: #f8fbfc; border: 1px dashed #aac9d3; border-radius: 9px; text-align: center; transition: background .2s, border .2s; }.upload-zone.dragover { background: #edf9f8; border-color: var(--cyan-500); }.upload-zone input { position: absolute; inset: 0; width: 100%; opacity: 0; cursor: pointer; }.upload-symbol { display: grid; place-items: center; width: 33px; height: 33px; margin-bottom: 7px; color: var(--blue-600); background: #e5f2f5; border-radius: 50%; font-size: 16px; }.upload-zone strong { color: #335465; font-size: 10px; }.upload-zone span { margin-top: 4px; font-size: 7px; }.upload-zone small { margin-top: 7px; color: var(--cyan-500); font-size: 7px; }.template-link { display: inline-block; margin: 8px 0 12px; color: var(--blue-600); font-size: 8px; }.scope-warning { margin: 10px 0 15px; padding: 9px 10px; color: #755f3b; background: #fffaed; border-left: 2px solid var(--warning); border-radius: 4px; font-size: 7px; line-height: 1.6; }

.result-header { align-items: center; }.result-actions { display: flex; gap: 6px; }.result-actions .secondary-btn { min-height: 31px; padding: 6px 10px; font-size: 8px; }
.empty-state { display: grid; place-items: center; color: var(--ink-400); text-align: center; }.prediction-empty { min-height: 510px; }.empty-state h4 { margin: 15px 0 6px; color: #56707f; font-size: 12px; }.empty-state p { margin-bottom: 4px; font-size: 9px; }.empty-state span { font-size: 7px; }.empty-state.small { min-height: 100px; }.empty-icon { display: grid; place-items: center; width: 43px; height: 43px; color: #6da3b5; background: #eef6f8; border-radius: 50%; font-family: Georgia, serif; font-size: 19px; }
.empty-visual { position: relative; width: 110px; height: 70px; }.empty-visual i { position: absolute; width: 25px; height: 25px; border: 1px solid #b9d2da; border-radius: 50%; }.empty-visual i:nth-child(1) { left: 4px; top: 30px; }.empty-visual i:nth-child(2) { left: 44px; top: 2px; }.empty-visual i:nth-child(3) { right: 2px; top: 35px; }.empty-visual::before, .empty-visual::after { content: ""; position: absolute; height: 1px; background: #c4d8df; transform-origin: left; }.empty-visual::before { left: 26px; top: 38px; width: 31px; transform: rotate(-29deg); }.empty-visual::after { left: 65px; top: 24px; width: 31px; transform: rotate(31deg); }.empty-visual span { position: absolute; left: 48px; top: 36px; color: var(--cyan-500); font-size: 15px; }
.result-summary { display: grid; grid-template-columns: 1fr repeat(3, 90px); gap: 10px; padding: 14px; background: linear-gradient(100deg, #f5fafb, #f8fbfc); border: 1px solid var(--line-soft); border-radius: 9px; }.summary-main > span { display: inline-block; padding: 3px 6px; color: #167c82; background: #def3f1; border-radius: 8px; font-size: 6px; letter-spacing: .8px; }.summary-main h4 { margin: 7px 0 3px; font-size: 11px; }.summary-main p { margin: 0; color: var(--ink-500); font-size: 7px; line-height: 1.45; }.summary-stat { display: grid; place-content: center; text-align: center; border-left: 1px solid var(--line); }.summary-stat strong { color: #294b5d; font-size: 18px; }.summary-stat span { margin-top: 3px; color: var(--ink-400); font-size: 7px; }.summary-stat.accent strong { color: var(--cyan-500); }
.table-toolbar { display: flex; align-items: center; justify-content: space-between; margin: 14px 0 8px; }.table-toolbar input { max-width: 220px; height: 32px; padding: 0 10px; font-size: 8px; }.table-toolbar span { color: var(--ink-400); font-size: 7px; }
.table-wrap { width: 100%; overflow: auto; }.result-table-wrap { max-height: 430px; }
table { width: 100%; border-collapse: collapse; white-space: nowrap; } th { padding: 9px 10px; color: #6d7f8a; background: #f4f7f9; border-bottom: 1px solid var(--line); font-size: 7px; font-weight: 650; letter-spacing: .4px; text-align: left; } td { padding: 10px; color: #405a69; border-bottom: 1px solid var(--line-soft); font-size: 8px; } tbody tr:hover td { background: #fafcfd; }
.probability-cell { display: flex; align-items: center; gap: 8px; }.probability-bar { width: 58px; height: 5px; overflow: hidden; background: #e9eff2; border-radius: 3px; }.probability-bar i { display: block; width: var(--probability); height: 100%; background: linear-gradient(90deg, var(--blue-500), var(--cyan-400)); border-radius: inherit; }.result-badge, .confidence-badge, .split-badge, .status-badge { display: inline-block; padding: 3px 6px; border-radius: 8px; font-size: 7px; }.result-badge.positive { color: #08745d; background: #e4f6f0; }.result-badge.negative { color: #526b7a; background: #edf2f5; }.confidence-badge.high { color: #08745d; background: #e5f6f1; }.confidence-badge.medium { color: #8a6422; background: #fff4df; }.confidence-badge.low { color: #9f4c55; background: #fcebed; }.split-badge { color: #526d7d; background: #eef3f6; }

.evaluation-controls { margin-bottom: 16px; padding: 16px 18px 3px; }.form-inline { display: grid; grid-template-columns: 1fr 1fr 1.6fr auto; align-items: end; gap: 13px; }.form-inline .field { margin-bottom: 13px; }.threshold-compact { min-width: 190px; }.form-inline .primary-btn { margin-bottom: 13px; min-width: 130px; }
.evaluation-placeholder { min-height: 400px; }.analysis-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 16px; }.auc-badge { color: var(--ink-400); font-size: 8px; }.auc-badge strong { margin-left: 5px; color: var(--cyan-500); font-size: 16px; }.roc-chart { min-height: 310px; }.roc-chart svg { width: 100%; height: 310px; }.confusion-wrap { position: relative; padding: 15px 20px 25px 35px; }.confusion-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; }.matrix-cell { display: grid; place-items: center; min-height: 105px; padding: 10px; background: #f2f6f8; border: 1px solid #e1e9ee; border-radius: 8px; }.matrix-cell span { color: var(--ink-400); font-size: 7px; font-weight: 700; }.matrix-cell strong { margin: 5px 0 2px; color: #294b5d; font-size: 23px; }.matrix-cell small { color: var(--ink-400); font-size: 7px; }.matrix-cell.tp, .matrix-cell.tn { background: #eef9f6; border-color: #d5eee8; }.matrix-cell.tp strong, .matrix-cell.tn strong { color: var(--success); }.matrix-cell.fp, .matrix-cell.fn { background: #fdf4f4; border-color: #f1dddd; }.matrix-cell.fp strong, .matrix-cell.fn strong { color: var(--danger); }.axis-label { position: absolute; color: var(--ink-400); font-size: 7px; letter-spacing: .5px; }.axis-y { left: 5px; top: 50%; transform: rotate(-90deg) translateX(-50%); transform-origin: left top; }.axis-x { bottom: 6px; left: 50%; transform: translateX(-50%); }

.training-grid { display: grid; grid-template-columns: minmax(340px, 430px) 1fr; gap: 16px; align-items: stretch; }.training-actions { margin-top: 4px; }.read-only-field { align-content: center; min-height: 62px; padding: 8px 10px; background: #f7fafb; border: 1px solid var(--line-soft); border-radius: 7px; }.read-only-field strong { color: #285267; font-size: 9px; }.read-only-field small { color: var(--ink-400); font-size: 6px; }.terminal-panel { overflow: hidden; color: #a9c5d0; background: #071a29; border-color: #153c51; }.terminal-top { display: flex; align-items: center; gap: 12px; height: 43px; padding: 0 15px; background: #0b2233; border-bottom: 1px solid #174158; font-size: 7px; letter-spacing: .8px; }.terminal-top > span { flex: 1; color: #6f94a6; }.terminal-top > b { padding: 3px 7px; color: #72d6ce; background: rgba(49, 192, 183, .1); border-radius: 8px; font-size: 6px; }.terminal-dots { display: flex; gap: 5px; }.terminal-dots i { width: 7px; height: 7px; background: #c55b63; border-radius: 50%; }.terminal-dots i:nth-child(2) { background: #d8a148; }.terminal-dots i:nth-child(3) { background: #36ad8b; }.progress-block { padding: 16px 18px 11px; border-bottom: 1px solid #11374b; }.progress-meta { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 7px; }.progress-meta strong { color: var(--cyan-300); }.progress-track { height: 4px; overflow: hidden; background: #123549; border-radius: 3px; }.progress-track i { display: block; width: 0; height: 100%; background: linear-gradient(90deg, #2394b2, var(--cyan-400)); border-radius: inherit; transition: width .4s; }.fold-track { display: flex; justify-content: space-between; margin-top: 10px; }.fold-track span { display: grid; place-items: center; width: 22px; height: 16px; color: #547a8d; background: #0c2a3d; border-radius: 7px; font-size: 6px; }.fold-track span.active { color: #05262e; background: var(--cyan-400); }.fold-track span.done { color: #76cfc8; background: #114b52; }.terminal-panel pre { height: 325px; margin: 0; padding: 16px 18px; overflow: auto; color: #8db0bf; font-family: Consolas, "Courier New", monospace; font-size: 8px; line-height: 1.7; white-space: pre-wrap; }.checkpoint-panel { margin-top: 16px; }.checkpoint-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 11px; }.checkpoint-dataset { padding: 12px; background: #f8fbfc; border: 1px solid var(--line-soft); border-radius: 8px; }.checkpoint-dataset h4 { margin: 0 0 10px; font-size: 10px; }.fold-checks { display: flex; gap: 7px; }.fold-check { display: grid; place-items: center; min-width: 44px; padding: 6px 5px; color: #91a0aa; background: #edf2f5; border-radius: 6px; font-size: 7px; }.fold-check.ready { color: #08745d; background: #dff4ee; }.fold-check b { display: block; margin-bottom: 2px; font-size: 8px; }

.dataset-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }.dataset-card { padding: 21px; background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); }.dataset-card-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 17px; }.dataset-title { display: flex; align-items: center; gap: 12px; }.dataset-title .dataset-glyph { width: 45px; height: 45px; }.dataset-title h3 { margin: 0 0 4px; font-size: 14px; }.dataset-title p { margin: 0; color: var(--ink-500); font-size: 8px; }.quality-badge { padding: 5px 8px; border-radius: 11px; font-size: 7px; }.quality-badge.passed { color: #08745d; background: #e4f6f0; }.quality-badge.warning { color: #8b6222; background: #fff3dd; }.dataset-stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 15px; }.dataset-stat { padding: 10px; background: #f6f9fb; border-radius: 7px; text-align: center; }.dataset-stat strong, .dataset-stat span { display: block; }.dataset-stat strong { color: #254c60; font-size: 14px; }.dataset-stat span { margin-top: 3px; color: var(--ink-400); font-size: 6px; }.distribution-row { display: flex; align-items: center; gap: 10px; margin: 13px 0; }.distribution-row > span { min-width: 55px; color: var(--ink-500); font-size: 7px; }.distribution-track { display: flex; flex: 1; height: 7px; overflow: hidden; background: #edf2f5; border-radius: 4px; }.distribution-negative { background: #7b9bad; }.distribution-positive { background: var(--cyan-500); }.distribution-numbers { display: flex; gap: 9px; color: var(--ink-400); font-size: 6px; }.fold-table { display: grid; grid-template-columns: repeat(5, 1fr); gap: 5px; margin-top: 12px; }.fold-mini { padding: 7px 4px; color: #6f818c; background: #f7fafb; border: 1px solid var(--line-soft); border-radius: 6px; text-align: center; font-size: 6px; }.fold-mini b { display: block; margin-bottom: 3px; color: #31566a; font-size: 8px; }.warning-list { display: grid; gap: 5px; margin-top: 13px; }.warning-item { padding: 7px 8px; color: #805e2c; background: #fff9ec; border-left: 2px solid var(--warning); font-size: 7px; line-height: 1.45; }.quality-pass-note { margin-top: 13px; padding: 8px; color: #17755f; background: #eef9f5; border-left: 2px solid var(--success); font-size: 7px; }.methodology-note { display: flex; align-items: flex-start; gap: 14px; margin-top: 16px; padding: 18px 20px; }.note-symbol { display: grid; place-items: center; width: 31px; height: 31px; flex: 0 0 31px; color: white; background: var(--blue-600); border-radius: 50%; font-family: Georgia, serif; }.methodology-note h3 { margin: 1px 0 5px; font-size: 11px; }.methodology-note p { margin: 0; color: var(--ink-500); font-size: 8px; line-height: 1.7; }

.quality-legend { gap: 13px; }.quality-ok { color: var(--success); }.quality-warn { color: var(--warning); }.record-tabs { display: flex; gap: 8px; margin-bottom: 10px; }.record-tab { padding: 8px 13px; color: var(--ink-500); background: white; border: 1px solid var(--line); border-radius: 7px; font-size: 8px; }.record-tab.active { color: #126e7f; background: #eaf6f6; border-color: #a9d5d7; }.record-table-panel { min-height: 400px; }.record-table-panel td { padding-block: 12px; }.file-name { max-width: 360px; overflow: hidden; color: #31576a; text-overflow: ellipsis; }.status-badge.complete { color: #08745d; background: #e4f6f0; }.status-badge.incomplete { color: #8b6222; background: #fff3dd; }.export-link { color: var(--blue-600); font-size: 7px; }.export-link:hover { text-decoration: underline; }.empty-row td { padding: 55px; color: var(--ink-400); text-align: center; }

.model-param-chip { display: flex; align-items: center; gap: 9px; padding: 7px 11px; color: #365866; background: white; border: 1px solid var(--line); border-radius: 8px; }.model-param-chip b { color: var(--cyan-500); font-size: 15px; }.model-param-chip span { font-size: 7px; }.architecture-canvas { display: grid; grid-template-columns: 1fr 45px 1.25fr 45px 1.15fr 45px .9fr; gap: 6px; align-items: center; min-height: 350px; padding: 24px; overflow-x: auto; background: linear-gradient(120deg, #fbfdfe, #f5f9fb); }.arch-column { display: grid; gap: 9px; min-width: 150px; }.arch-label { margin-bottom: 3px; color: #7190a1; font-size: 6px; font-weight: 700; letter-spacing: 1.2px; text-align: center; }.arch-node { display: flex; align-items: center; gap: 9px; min-height: 57px; padding: 9px 10px; background: white; border: 1px solid #dce7ed; border-radius: 8px; box-shadow: 0 3px 8px rgba(19, 50, 66, .04); }.arch-node > i { display: grid; place-items: center; width: 29px; height: 29px; flex: 0 0 29px; color: #176e86; background: #e8f4f6; border-radius: 7px; font-family: Georgia, serif; font-size: 11px; font-style: normal; }.arch-node b, .arch-node small { display: block; }.arch-node b { color: #2b4a5b; font-size: 8px; }.arch-node small { margin-top: 3px; color: var(--ink-400); font-size: 6px; }.view-node { border-left: 2px solid #5ca7c2; }.def-node { border-left: 2px solid var(--cyan-500); }.ufe-node { border-left: 2px solid #738fc0; }.core-node { border-left: 2px solid #33aab0; }.output-node { border-left: 2px solid var(--success); }.arch-arrow { color: #77a4b4; font-family: Georgia, serif; font-size: 22px; text-align: center; }.module-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 16px; }.module-card { padding: 16px; background: white; border: 1px solid var(--line); border-radius: var(--radius); }.module-code { display: inline-grid; place-items: center; min-width: 38px; height: 22px; padding: 0 7px; color: #116d7f; background: #e8f5f6; border-radius: 5px; font-size: 7px; font-weight: 700; letter-spacing: .5px; }.module-card h3 { margin: 10px 0 6px; font-size: 10px; }.module-card p { margin: 0; color: var(--ink-500); font-size: 7px; line-height: 1.6; }.architecture-detail-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; margin-top: 16px; }.formula-panel, .hyperparameter-panel { padding: 20px; }.formula-panel h3, .hyperparameter-panel h3 { margin: 5px 0 13px; font-size: 13px; }.formula { padding: 18px; color: #235a6b; background: #f1f8f9; border: 1px solid #dceced; border-radius: 8px; font-family: Georgia, serif; font-size: 17px; text-align: center; }.formula-panel p { margin: 12px 0 0; color: var(--ink-500); font-size: 8px; line-height: 1.6; }.hyper-row { display: flex; align-items: center; justify-content: space-between; padding: 8px 2px; border-bottom: 1px solid var(--line-soft); font-size: 8px; }.hyper-row span { color: var(--ink-500); }.hyper-row b { color: #286177; }

.about-hero { display: flex; align-items: center; gap: 22px; margin-bottom: 18px; padding: 28px 30px; color: white; background: linear-gradient(110deg, #081d2d, #0b3445); border: 1px solid #164a5d; border-radius: var(--radius-lg); }.about-logo { display: grid; place-items: center; width: 73px; height: 73px; flex: 0 0 73px; border: 1px solid rgba(91, 217, 207, .4); border-radius: 50%; box-shadow: inset 0 0 20px rgba(47, 193, 188, .09); }.about-logo span { display: grid; place-items: center; width: 42px; height: 42px; color: #062b32; background: var(--cyan-400); border-radius: 50%; font-family: Georgia, serif; font-size: 21px; font-weight: 700; }.about-hero h2 { margin: 6px 0 7px; font-size: 21px; }.about-hero p { margin: 0; color: #8eb0bf; font-size: 8px; }.about-tags { display: flex; gap: 7px; margin-top: 13px; }.about-tags span { padding: 4px 8px; color: #79c9c6; background: rgba(45, 159, 159, .1); border: 1px solid rgba(64, 178, 179, .2); border-radius: 10px; font-size: 7px; }.about-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }.about-grid > .panel { padding: 21px; }.about-grid h3 { margin: 5px 0 15px; font-size: 13px; }.step-list { display: grid; gap: 12px; margin: 0; padding: 0; counter-reset: steps; list-style: none; }.step-list li { position: relative; padding-left: 34px; counter-increment: steps; }.step-list li::before { content: counter(steps); position: absolute; left: 0; top: 0; display: grid; place-items: center; width: 22px; height: 22px; color: #147489; background: #e7f4f6; border-radius: 50%; font-family: Georgia, serif; font-size: 8px; }.step-list b, .step-list span { display: block; }.step-list b { font-size: 9px; }.step-list span { margin-top: 3px; color: var(--ink-500); font-size: 7px; }.disclaimer { display: flex; gap: 10px; padding: 11px; color: #715c3a; background: #fff9ed; border: 1px solid #f0dfbd; border-radius: 7px; }.disclaimer i { display: grid; place-items: center; width: 19px; height: 19px; flex: 0 0 19px; color: white; background: var(--warning); border-radius: 50%; font-size: 8px; font-style: normal; }.disclaimer p { margin: 0; font-size: 7px; line-height: 1.65; }.about-grid h4 { margin: 14px 0 8px; font-size: 9px; }.plain-list { margin: 0; padding-left: 17px; color: var(--ink-500); font-size: 7px; line-height: 1.8; }.doc-list { display: grid; gap: 7px; }.doc-list a { padding: 8px 9px; color: #315b6e; background: #f6f9fb; border: 1px solid var(--line-soft); border-radius: 6px; font-size: 8px; pointer-events: none; }.doc-hint { margin: 10px 0 0; color: var(--ink-400); font-size: 7px; line-height: 1.5; }.system-info { margin: 0; }.system-info div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line-soft); font-size: 8px; }.system-info dt { color: var(--ink-500); }.system-info dd { margin: 0; color: #2c586d; font-weight: 600; }

.doc-list a { pointer-events: auto; }
.doc-list a:hover { color: #0a777d; border-color: #9cd9d7; background: #edf9f8; }

.graph-process-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(130px, 1fr) 28px) minmax(130px, 1fr);
  align-items: center;
  margin-bottom: 16px;
  padding: 12px 16px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.process-step { display: flex; align-items: center; gap: 9px; min-width: 0; }
.process-step i { display: grid; place-items: center; width: 28px; height: 28px; flex: 0 0 28px; color: #54798b; background: #edf3f6; border-radius: 50%; font-family: Georgia, serif; font-size: 7px; font-style: normal; }
.process-step.active i { color: #06333a; background: var(--cyan-400); box-shadow: 0 0 0 4px rgba(57, 210, 198, .1); }
.process-step b, .process-step span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.process-step b { color: #2c4c5d; font-size: 8px; }
.process-step span { margin-top: 2px; color: var(--ink-400); font-size: 6px; }
.process-arrow { color: #a9c0ca; font-family: Georgia, serif; text-align: center; }
.graph-workbench { display: grid; grid-template-columns: minmax(300px, 340px) minmax(620px, 1fr); gap: 16px; align-items: start; }
.graph-control-panel { padding: 20px; }
.graph-shortcuts { flex-wrap: wrap; }
.graph-node-inspector { margin-top: 17px; padding: 14px; background: #f7fafb; border: 1px solid var(--line-soft); border-radius: 8px; }
.graph-node-inspector h4 { margin: 6px 0 11px; color: #496775; font-size: 9px; }
.graph-node-inspector dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 7px; margin: 0; }
.graph-node-inspector dl div { padding: 8px; background: white; border: 1px solid var(--line-soft); border-radius: 6px; }
.graph-node-inspector dt { color: var(--ink-400); font-size: 6px; }
.graph-node-inspector dd { margin: 4px 0 0; color: #25556b; font-size: 10px; font-weight: 650; }
.graph-canvas-panel { overflow: hidden; }
.graph-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; min-height: 63px; padding: 14px 18px; border-bottom: 1px solid var(--line-soft); }
.graph-toolbar h3 { margin: 4px 0 0; color: #274757; font-size: 12px; }
.graph-tools { display: flex; gap: 5px; }
.graph-tools button { min-width: 30px; height: 30px; padding: 0 8px; color: #486776; background: #f7fafb; border: 1px solid var(--line); border-radius: 6px; font-size: 10px; }
.graph-tools button:hover { color: #0e7182; background: #edf8f8; border-color: #a8d2d5; }
.graph-tools button:last-child { padding-inline: 11px; font-size: 7px; }
.graph-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.graph-stats div { padding: 10px 12px; background: #fbfdfe; text-align: center; }
.graph-stats strong, .graph-stats span { display: block; }
.graph-stats strong { color: #22546a; font-size: 13px; }
.graph-stats span { margin-top: 2px; color: var(--ink-400); font-size: 6px; }
.graph-stage { position: relative; min-height: 590px; overflow: hidden; background: #f8fbfc; cursor: grab; user-select: none; }
.graph-stage.panning { cursor: grabbing; }
#graph-svg { display: block; width: 100%; min-width: 620px; height: 590px; touch-action: none; }
.graph-background { cursor: grab; }
.graph-edge { stroke: #9eb8c4; stroke-width: 1; stroke-opacity: .42; vector-effect: non-scaling-stroke; transition: stroke-opacity .15s; }
.graph-edge.highlight { stroke: var(--cyan-500); stroke-width: 1.7; stroke-opacity: .9; }
.graph-node { cursor: pointer; }
.graph-node circle { stroke: white; stroke-width: 2; vector-effect: non-scaling-stroke; transition: stroke-width .15s, filter .15s; }
.graph-node:hover circle, .graph-node.selected circle { stroke-width: 3.5; filter: url(#node-glow); }
.graph-node.center circle { stroke: #f4ad45; stroke-width: 4; filter: url(#node-glow); }
.graph-node text { fill: #3f5f6f; font-family: "Segoe UI", sans-serif; font-size: 8px; font-weight: 600; pointer-events: none; paint-order: stroke; stroke: rgba(255,255,255,.9); stroke-width: 3px; stroke-linejoin: round; }
.graph-node.center text { fill: #9b6416; font-size: 10px; }
.graph-legend { position: absolute; left: 13px; bottom: 13px; display: flex; gap: 11px; padding: 7px 9px; color: #607887; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 7px; box-shadow: var(--shadow-sm); backdrop-filter: blur(6px); font-size: 7px; }
.graph-legend span { display: flex; align-items: center; gap: 4px; }
.graph-legend i { width: 8px; height: 8px; border-radius: 50%; }
.legend-positive { background: #20b8b0; }.legend-negative { background: #6f90a2; }.legend-center { background: #f0a33b; box-shadow: 0 0 0 2px #fde6c3; }
.graph-help { position: absolute; right: 13px; bottom: 13px; padding: 7px 9px; color: #80939e; background: rgba(255,255,255,.9); border: 1px solid var(--line); border-radius: 7px; font-size: 6px; }

.loading-overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-content: center; justify-items: center; color: white; background: rgba(4, 22, 34, .78); backdrop-filter: blur(7px); text-align: center; }.loader-graphic { position: relative; width: 86px; height: 72px; margin-bottom: 14px; }.loader-graphic i { position: absolute; width: 17px; height: 17px; border: 2px solid var(--cyan-400); border-radius: 50%; animation: nodePulse 1.4s infinite ease-in-out; }.loader-graphic i:nth-child(1) { left: 1px; top: 42px; }.loader-graphic i:nth-child(2) { left: 34px; top: 4px; animation-delay: .2s; }.loader-graphic i:nth-child(3) { right: 1px; top: 42px; animation-delay: .4s; }.loader-graphic::before, .loader-graphic::after { content: ""; position: absolute; width: 43px; height: 1px; background: rgba(72, 211, 202, .6); transform-origin: left; }.loader-graphic::before { left: 14px; top: 47px; transform: rotate(-42deg); }.loader-graphic::after { left: 47px; top: 17px; transform: rotate(42deg); }.loader-graphic span { position: absolute; left: 36px; top: 39px; width: 13px; height: 13px; background: var(--cyan-400); border-radius: 50%; box-shadow: 0 0 18px rgba(57, 210, 198, .9); }.loading-overlay strong { font-size: 13px; letter-spacing: .6px; }.loading-overlay p { margin: 7px 0 0; color: #8eafbd; font-size: 8px; }
.toast-stack { position: fixed; right: 22px; bottom: 22px; z-index: 120; display: grid; gap: 8px; width: min(350px, calc(100vw - 44px)); }.toast { display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; padding: 12px 13px; color: #355363; background: white; border: 1px solid var(--line); border-left: 3px solid var(--success); border-radius: 8px; box-shadow: var(--shadow-md); animation: toastIn .25s ease; }.toast.error { border-left-color: var(--danger); }.toast.warning { border-left-color: var(--warning); }.toast-icon { display: grid; place-items: center; width: 22px; height: 22px; color: white; background: var(--success); border-radius: 50%; font-size: 9px; }.toast.error .toast-icon { background: var(--danger); }.toast.warning .toast-icon { background: var(--warning); }.toast b { display: block; font-size: 9px; }.toast p { margin: 2px 0 0; color: var(--ink-500); font-size: 7px; line-height: 1.4; }.toast button { padding: 3px; color: var(--ink-400); background: transparent; border: 0; }

@keyframes pageIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
@keyframes shimmer { 0% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes pulse { 0%, 100% { transform: scale(.7); opacity: .7; } 50% { transform: scale(1.2); opacity: 0; } }
@keyframes nodePulse { 0%, 100% { transform: scale(.8); opacity: .45; } 50% { transform: scale(1.15); opacity: 1; } }
@keyframes toastIn { from { opacity: 0; transform: translateX(18px); } to { opacity: 1; transform: none; } }

@media (max-width: 1280px) {
  :root { --sidebar-width: 220px; }
  .hero-panel { grid-template-columns: 1fr .95fr; }
  .hero-copy { padding-left: 38px; }
  .network { right: 185px; transform: scale(.83); }
  .fusion-core { right: 28px; transform: scale(.86); }
  .metrics-grid { grid-template-columns: repeat(3, 1fr); }
  .metrics-grid.seven { grid-template-columns: repeat(4, 1fr); }
  .module-grid { grid-template-columns: repeat(2, 1fr); }
  .workbench-grid { grid-template-columns: 360px 1fr; }
  .result-summary { grid-template-columns: 1fr repeat(3, 75px); }
}

@media (max-width: 1020px) {
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 10px 0 30px rgba(4, 22, 34, .2); }
  .sidebar.open { transform: none; }
  .main-frame { width: 100%; margin-left: 0; }
  .mobile-menu { display: block; }
  .hero-panel { grid-template-columns: 1fr; }.hero-visual { display: none; }.hero-copy { min-height: 410px; padding: 44px; }
  .dashboard-grid, .workbench-grid, .training-grid, .analysis-grid, .architecture-detail-grid { grid-template-columns: 1fr; }
  .dataset-cards, .about-grid { grid-template-columns: 1fr; }
  .architecture-canvas { grid-template-columns: repeat(7, minmax(max-content, 1fr)); }
  .result-panel { min-height: 500px; }.prediction-empty { min-height: 380px; }
}

@media (max-width: 720px) {
  .topbar { min-height: 68px; padding: 10px 16px; }.runtime-pill, .date-box { display: none; }.content { padding: 19px 14px 40px; }
  .page-intro { align-items: flex-start; }.page-intro > :not(:first-child) { display: none; }.page-intro h2 { font-size: 18px; }
  .hero-copy { min-height: 440px; padding: 30px 24px; }.hero-copy h2 { font-size: 29px; }.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); }.hero-proof div { min-width: 0; padding-right: 10px; }.hero-proof div + div { padding-left: 10px; }.hero-actions { flex-wrap: wrap; }
  .metrics-grid, .metrics-grid.seven { grid-template-columns: repeat(2, 1fr); }.dashboard-grid { grid-template-columns: 1fr; }.section-heading { align-items: flex-end; }.source-chip { max-width: 160px; }
  .form-grid.two-cols, .checkpoint-grid { grid-template-columns: 1fr; }.form-inline { grid-template-columns: 1fr; }.form-inline .primary-btn { width: 100%; }.threshold-compact { min-width: 0; }
  .result-summary { grid-template-columns: repeat(3, 1fr); }.summary-main { grid-column: 1 / -1; }.summary-stat { border-left: 0; border-top: 1px solid var(--line); padding-top: 8px; }
  .dataset-stat-grid { grid-template-columns: repeat(2, 1fr); }.fold-table { grid-template-columns: repeat(5, minmax(52px, 1fr)); overflow-x: auto; }.module-grid { grid-template-columns: 1fr; }
  .about-hero { align-items: flex-start; padding: 22px; }.about-logo { width: 53px; height: 53px; flex-basis: 53px; }.about-logo span { width: 32px; height: 32px; }.about-hero h2 { font-size: 16px; }
  .dataset-numbers { display: none; }.record-table-panel { padding: 12px; }.terminal-panel pre { height: 280px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

@media (max-width: 1280px) {
  .graph-workbench { grid-template-columns: 310px 1fr; }
}

@media (max-width: 1020px) {
  .graph-workbench { grid-template-columns: 1fr; }
  .graph-control-panel { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 14px; }
  .graph-control-panel > .panel-header,
  .graph-control-panel > .primary-btn,
  .graph-control-panel > .scope-warning,
  .graph-control-panel > .graph-node-inspector { grid-column: 1 / -1; }
  .graph-process-strip { overflow-x: auto; grid-template-columns: repeat(3, 155px 24px) 155px; }
}

@media (max-width: 720px) {
  .graph-control-panel { display: block; }
  .graph-process-strip { padding: 10px; }
  .graph-stats { grid-template-columns: repeat(2, 1fr); }
  .graph-stage, #graph-svg { min-height: 500px; height: 500px; }
  .graph-help { display: none; }
  .graph-toolbar { align-items: flex-start; }
  .graph-tools { flex-wrap: wrap; justify-content: flex-end; }
}
