/* [project]/src/app/globals.css [app-client] (css) */
:root {
  --bg: #f6f6f3;
  --surface: #fff;
  --surface-2: #efefea;
  --fg: #1d1d1b;
  --muted: #6b6b66;
  --line: #e2e2dc;
  --accent: #2f5bd3;
  --accent-fg: #fff;
  --accent-soft: #e7edfb;
  --turn: #9a5b00;
  --turn-soft: #fbefd9;
  --ai: #2f5bd3;
  --ai-soft: #e7edfb;
  --ok: #2e7d4f;
  --ok-soft: #e2f2e8;
  --quiet: #6b6b66;
  --quiet-soft: #ecece6;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 2px 8px rgba(0, 0, 0, .04);
  --nav-h: 64px;
  --lightningcss-light: initial;
  --lightningcss-dark: ;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121211;
    --surface: #1c1c1a;
    --surface-2: #252523;
    --fg: #ededea;
    --muted: #9b9b95;
    --line: #2f2f2c;
    --accent: #7c9cf0;
    --accent-fg: #0f1320;
    --accent-soft: #1f2840;
    --turn: #f0b45a;
    --turn-soft: #3a2c14;
    --ai: #8fabf3;
    --ai-soft: #1f2840;
    --ok: #6fcf97;
    --ok-soft: #18301f;
    --quiet: #9b9b95;
    --quiet-soft: #262624;
    --shadow: none;
    --lightningcss-light: ;
    --lightningcss-dark: initial;
    color-scheme: dark;
  }
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  color: var(--fg);
  background: var(--bg);
  margin: 0;
  font: 16px / 1.65 system-ui, -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Noto Sans, Ubuntu, Cantarell, Helvetica Neue, Hiragino Sans, Noto Sans JP, sans-serif;
}

a {
  color: var(--accent);
}

main {
  max-width: 640px;
  padding: 20px 16px calc(var(--nav-h)  + 32px);
  margin: 0 auto;
}

.tabbar {
  z-index: 10;
  height: calc(var(--nav-h)  + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--line);
  position: fixed;
  top: auto;
  bottom: 0;
  left: 0;
  right: 0;
}

.tabbar ul {
  max-width: 640px;
  height: var(--nav-h);
  grid-template-columns: repeat(4, 1fr);
  margin: 0 auto;
  padding: 0 8px;
  list-style: none;
  display: grid;
}

.tabbar a {
  height: 100%;
  color: var(--muted);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2px;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  position: relative;
}

.tabbar a svg {
  width: 22px;
  height: 22px;
}

.tabbar a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}

.badge {
  background: var(--turn);
  min-width: 18px;
  height: 18px;
  color: var(--surface);
  text-align: center;
  border-radius: 9px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: 700;
  line-height: 18px;
  position: absolute;
  top: 8px;
  left: calc(50% + 6px);
}

h1 {
  letter-spacing: .01em;
  margin: 4px 0 16px;
  font-size: 22px;
  line-height: 1.4;
}

h2 {
  color: var(--muted);
  letter-spacing: .04em;
  margin: 28px 0 10px;
  font-size: 14px;
  font-weight: 600;
}

.muted {
  color: var(--muted);
  font-size: 14px;
}

.small {
  font-size: 13px;
}

.eyebrow {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 6px;
  font-size: 13px;
  display: flex;
}

textarea, input[type="text"], input[type="password"] {
  width: 100%;
  font: inherit;
  color: var(--fg);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

textarea:focus, input:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: rgba(0, 0, 0, 0);
}

textarea {
  resize: vertical;
  min-height: 180px;
}

.throw textarea {
  border-radius: var(--radius);
  min-height: 220px;
  font-size: 18px;
}

button, .button {
  font: inherit;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  min-height: 44px;
  color: var(--fg);
  cursor: pointer;
  justify-content: center;
  align-items: center;
  gap: 6px;
  padding: 10px 16px;
  font-size: 15px;
  text-decoration: none;
  transition: background .12s, transform 60ms;
  display: inline-flex;
}

button:hover, .button:hover {
  background: var(--surface-2);
}

button:active {
  transform: scale(.99);
}

button:disabled {
  opacity: .6;
  cursor: default;
}

button.primary, .button.primary {
  background: var(--accent);
  color: var(--accent-fg);
  border-color: var(--accent);
  font-weight: 600;
}

button.primary:hover {
  filter: brightness(1.05);
}

button.ghost {
  color: var(--muted);
  background: none;
  border-color: rgba(0, 0, 0, 0);
}

button.block {
  width: 100%;
}

.choices {
  gap: 8px;
  margin: 16px 0;
  display: grid;
}

.choices button {
  text-align: left;
  justify-content: flex-start;
  width: 100%;
  min-height: 52px;
  padding: 12px 16px;
  font-size: 16px;
}

.choices form {
  margin: 0;
}

.row {
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  display: flex;
}

.row > .grow {
  flex: 1;
  min-width: 0;
}

.spacer {
  flex: 1;
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: inherit;
  box-shadow: var(--shadow);
  margin: 10px 0;
  padding: 14px 16px;
  text-decoration: none;
  display: block;
}

a.card:hover {
  border-color: color-mix(in srgb, var(--accent) 40%, var(--line));
}

.card-title {
  font-weight: 600;
  line-height: 1.5;
}

.meta {
  color: var(--muted);
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
  margin-top: 6px;
  font-size: 13px;
  display: flex;
}

.empty {
  text-align: center;
  color: var(--muted);
  padding: 48px 16px;
}

.empty strong {
  color: var(--fg);
  margin-bottom: 4px;
  font-size: 17px;
  display: block;
}

.chip {
  white-space: nowrap;
  background: var(--quiet-soft);
  color: var(--quiet);
  border-radius: 999px;
  align-items: center;
  gap: 4px;
  padding: 5px 9px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
}

.chip:before {
  content: "";
  background: currentColor;
  border-radius: 50%;
  width: 6px;
  height: 6px;
}

.chip.turn {
  background: var(--turn-soft);
  color: var(--turn);
}

.chip.ai {
  background: var(--ai-soft);
  color: var(--ai);
}

.chip.ok {
  background: var(--ok-soft);
  color: var(--ok);
}

.chip.plain:before {
  display: none;
}

.progress {
  background: var(--surface-2);
  border-radius: 2px;
  height: 4px;
  margin: 0 0 16px;
  overflow: hidden;
}

.progress > span {
  background: var(--accent);
  height: 100%;
  display: block;
}

.option {
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  width: 100%;
  min-height: 0;
  padding: 14px 16px;
  display: block;
}

.option.recommended {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent) inset;
}

.option-head {
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  display: flex;
}

.option-desc {
  color: var(--muted);
  margin: 2px 0 8px;
  font-size: 14px;
}

.option ol {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
}

.option li {
  margin: 2px 0;
}

.who {
  vertical-align: 1px;
  border-radius: 4px;
  margin-left: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
}

.who.human {
  background: var(--turn-soft);
  color: var(--turn);
}

.who.ai {
  background: var(--ai-soft);
  color: var(--ai);
}

.artifact {
  white-space: pre-wrap;
  word-break: break-word;
  font: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 12px 0;
  padding: 16px;
  font-size: 15px;
  line-height: 1.75;
}

.notice {
  background: var(--turn-soft);
  color: var(--fg);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 14px;
}

.notice ul {
  margin: 6px 0 0;
  padding-left: 20px;
}

.next-link {
  text-align: center;
  color: var(--muted);
  padding: 12px;
  display: block;
}

details.section {
  margin: 8px 0 20px;
}

details.section > summary {
  cursor: pointer;
  color: var(--muted);
  padding: 6px 0;
  font-size: 14px;
  font-weight: 600;
  list-style: none;
}

details.section > summary::-webkit-details-marker {
  display: none;
}

details.section > summary:before {
  content: "▸ ";
}

details.section[open] > summary:before {
  content: "▾ ";
}

.tree {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  margin: 10px 0;
  overflow: hidden;
}

.tree > summary, .tree > .tree-head {
  cursor: pointer;
  padding: 14px 16px;
  list-style: none;
  display: block;
}

.tree > summary::-webkit-details-marker {
  display: none;
}

.tree-head-row {
  align-items: flex-start;
  gap: 8px;
  display: flex;
}

.tree-head-row .caret {
  color: var(--muted);
  flex: none;
  width: 14px;
  transition: transform .15s;
}

.tree[open] .caret {
  transform: rotate(90deg);
}

.tree-children {
  border-top: 1px solid var(--line);
  margin: 0;
  padding: 0 0 6px;
  list-style: none;
}

.tree-children li a {
  color: inherit;
  align-items: center;
  gap: 10px;
  padding: 10px 16px 10px 38px;
  text-decoration: none;
  display: flex;
}

.tree-children li a:hover {
  background: var(--surface-2);
}

.tree-children .name {
  flex: 1;
  min-width: 0;
}

.tree-children .after {
  color: var(--muted);
  font-size: 12px;
}

.bar {
  background: var(--surface-2);
  border-radius: 2px;
  height: 4px;
  margin-top: 8px;
  overflow: hidden;
}

.bar > span {
  background: var(--ok);
  height: 100%;
  display: block;
}

.facts {
  grid-template-columns: max-content 1fr;
  gap: 6px 16px;
  margin: 0;
  font-size: 15px;
  display: grid;
}

.facts dt {
  color: var(--muted);
  padding-top: 2px;
  font-size: 13px;
}

.facts dd {
  margin: 0;
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.steps li {
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  display: flex;
}

.steps .dot {
  border: 2px solid var(--line);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  display: grid;
}

.steps .done .dot {
  background: var(--ok);
  border-color: var(--ok);
  color: var(--surface);
}

.steps .now .dot {
  border-color: var(--accent);
}

.lanes {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  display: grid;
}

.lanes > div {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}

.lanes strong {
  color: var(--muted);
  font-size: 13px;
}

.error {
  background: var(--turn-soft);
  border-radius: var(--radius-sm);
  word-break: break-word;
  padding: 12px 14px;
  font-size: 14px;
}

.actions {
  bottom: calc(var(--nav-h)  + 12px);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border-radius: var(--radius);
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding: 10px;
  display: flex;
  position: -webkit-sticky;
  position: sticky;
}

.actions form {
  margin: 0;
}

.score-line {
  font-variant-numeric: tabular-nums;
}

.toast {
  background: var(--ok-soft);
  color: var(--fg);
  border-radius: var(--radius-sm);
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 12px 14px;
  font-size: 14px;
  display: flex;
}

.kbd {
  color: var(--muted);
  font-size: 12px;
}

kbd {
  font: inherit;
  border: 1px solid var(--line);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 11px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
  }
}

.artifact-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 12px 0;
  overflow: hidden;
}

.artifact-bar {
  border-bottom: 1px solid var(--line);
  background: var(--surface-2);
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  display: flex;
}

.artifact-bar button {
  min-height: 32px;
  padding: 4px 12px;
  font-size: 13px;
}

.seg {
  border: 1px solid var(--line);
  background: var(--surface);
  border-radius: 8px;
  display: inline-flex;
  overflow: hidden;
}

.seg button {
  color: var(--muted);
  background: none;
  border: 0;
  border-radius: 0;
}

.seg button[aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 600;
}

.artifact-box .raw {
  white-space: pre-wrap;
  word-break: break-word;
  margin: 0;
  padding: 16px;
  font: 13px / 1.7 ui-monospace, SFMono-Regular, Consolas, monospace;
}

.md {
  word-break: break-word;
  padding: 4px 18px 14px;
  font-size: 15px;
  line-height: 1.8;
}

.md p, .md li {
  white-space: pre-line;
}

.md > :first-child {
  margin-top: 12px;
}

.md h1, .md h2, .md h3, .md h4 {
  color: var(--fg);
  letter-spacing: 0;
  margin: 1.4em 0 .5em;
  font-weight: 700;
  line-height: 1.45;
}

.md h1 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  font-size: 20px;
}

.md h2 {
  border-bottom: 1px solid var(--line);
  padding-bottom: 4px;
  font-size: 17px;
}

.md h3 {
  font-size: 15px;
}

.md h4 {
  color: var(--muted);
  font-size: 14px;
}

.md p {
  margin: .6em 0;
}

.md ul, .md ol {
  margin: .5em 0;
  padding-left: 1.4em;
}

.md li, .md li > p {
  margin: .2em 0;
}

.md li:has( > input[type="checkbox"]) {
  margin-left: -1.3em;
  list-style: none;
}

.md input[type="checkbox"] {
  vertical-align: -1px;
  margin-right: 6px;
}

.md strong {
  font-weight: 700;
}

.md a {
  word-break: break-all;
}

.md blockquote {
  border-left: 3px solid var(--line);
  color: var(--muted);
  margin: .8em 0;
  padding: 4px 14px;
}

.md hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 1.4em 0;
}

.md code {
  background: var(--surface-2);
  border-radius: 4px;
  padding: 1px 5px;
  font: .9em ui-monospace, SFMono-Regular, Consolas, monospace;
}

.md pre {
  background: var(--surface-2);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  overflow-x: auto;
}

.md pre code {
  white-space: pre;
  background: none;
  padding: 0;
}

.md-table {
  margin: .8em 0;
  overflow-x: auto;
}

.md table {
  border-collapse: collapse;
  min-width: 100%;
  font-size: 14px;
}

.md th, .md td {
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  padding: 6px 10px;
}

.md th {
  background: var(--surface-2);
  font-weight: 600;
}

.md th:first-child, .md td:first-child {
  min-width: 5.5em;
}

.working {
  background: var(--ai-soft);
  border-radius: var(--radius-sm);
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 12px 0;
  padding: 10px 14px;
  font-size: 14px;
  display: flex;
}

.spinner {
  border: 2px solid var(--ai);
  border-right-color: rgba(0, 0, 0, 0);
  border-radius: 50%;
  flex: none;
  width: 14px;
  height: 14px;
  animation: .8s linear infinite spin;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.trail {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 12px 0;
}

.trail > summary {
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  list-style: none;
  display: flex;
}

.trail > summary::-webkit-details-marker {
  display: none;
}

.trail-head {
  font-size: 14px;
  font-weight: 600;
}

.trail-head:before {
  content: "▸ ";
  color: var(--muted);
}

.trail[open] .trail-head:before {
  content: "▾ ";
}

.chain {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.trail-sub {
  color: var(--muted);
  margin: 8px 16px 4px;
  font-size: 13px;
}

.trail-child {
  border-top: 1px solid var(--line);
}

.trail-child > summary {
  cursor: pointer;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  padding: 10px 16px;
  list-style: none;
  display: flex;
}

.trail-child > summary::-webkit-details-marker {
  display: none;
}

.trail-child > summary .chain {
  flex-basis: 100%;
}

.timeline {
  margin: 0;
  padding: 4px 16px 12px;
  list-style: none;
}

.ev {
  grid-template-columns: 42px 14px 1fr;
  gap: 0 8px;
  padding: 6px 0;
  display: grid;
  position: relative;
}

.ev:before {
  content: "";
  background: var(--line);
  width: 2px;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 56px;
}

.ev:first-child:before {
  top: 14px;
}

.ev:last-child:before {
  bottom: calc(100% - 14px);
}

.ev-time {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  padding-top: 2px;
  font-size: 12px;
}

.ev-dot {
  background: var(--ai);
  z-index: 1;
  width: 10px;
  height: 10px;
  box-shadow: 0 0 0 3px var(--surface);
  border-radius: 50%;
  margin: 6px 0 0 2px;
  position: relative;
}

.ev-body {
  min-width: 0;
}

.ev-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
}

.ev-sub {
  color: var(--muted);
  margin: 2px 0 0;
  padding-left: 0;
  font-size: 13px;
  line-height: 1.6;
}

ul.ev-sub, ol.ev-sub {
  padding-left: 1.2em;
}

.ev.quiet .ev-title {
  color: var(--muted);
  font-size: 12px;
  font-weight: 400;
}

.ev.quiet .ev-dot {
  background: var(--line);
  width: 8px;
  height: 8px;
  margin: 6px 0 0 3px;
}

.ev-answer .ev-dot, .ev-revise .ev-dot, .ev-review_points .ev-dot {
  background: var(--turn);
}

.ev-verify .ev-dot, .ev-external .ev-dot {
  background: var(--ok);
}

.ev-error .ev-dot {
  background: #c0392b;
}

.ev-error .ev-title {
  color: #c0392b;
}

.score-bar {
  background: var(--surface-2);
  border-radius: 3px;
  max-width: 240px;
  height: 6px;
  margin-top: 6px;
  display: block;
  position: relative;
}

.score-bar > span {
  background: var(--turn);
  border-radius: 3px;
  height: 100%;
  display: block;
}

.score-bar > span.ok {
  background: var(--ok);
}

.score-bar > i {
  background: var(--fg);
  opacity: .5;
  width: 2px;
  height: 12px;
  position: absolute;
  top: -3px;
}

.verdict {
  margin: 8px 0;
  font-size: 14px;
}

.trail-fallback {
  padding: 0 16px 12px;
}

.issues {
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.issues li {
  border-left: 3px solid var(--line);
  margin: 4px 0;
  padding: 4px 0 4px 10px;
}

.issues li.sev-blocker {
  border-left-color: #c0392b;
}

.issues li.sev-major {
  border-left-color: var(--turn);
}

.issues .sev {
  background: var(--surface-2);
  color: var(--fg);
  border-radius: 4px;
  padding: 1px 6px;
  font-size: 11px;
  font-weight: 700;
}

.issues .sev-blocker .sev {
  color: #a5281b;
  background: #fbe4e1;
}

.issues .sev-major .sev {
  background: var(--turn-soft);
  color: var(--turn);
}

.issues .fix {
  color: var(--fg);
  opacity: .8;
}

.flow {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 12px;
}

.flow-canvas {
  position: relative;
}

.flow-edges {
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  overflow: visible;
}

.edge {
  fill: none;
  stroke-width: 1.6px;
}

.edge-plain {
  stroke: var(--muted);
  opacity: .55;
}

.edge-in {
  stroke: var(--accent);
  stroke-width: 2.4px;
}

.edge-out {
  stroke: var(--ok);
  stroke-width: 2.4px;
}

.edge-dim {
  stroke: var(--line);
}

.arrow-plain {
  fill: var(--muted);
  opacity: .55;
}

.arrow-in {
  fill: var(--accent);
}

.arrow-out {
  fill: var(--ok);
}

.arrow-dim {
  fill: var(--line);
}

.flow-stage {
  padding-top: 14px;
  position: relative;
}

.flow-stage + .flow-stage {
  margin-top: 22px;
}

.flow-stage-label {
  color: var(--muted);
  letter-spacing: .04em;
  font-size: 11px;
  position: absolute;
  top: 0;
  left: 0;
}

.flow-row {
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  display: flex;
}

.flow-node {
  z-index: 1;
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  flex-direction: column;
  flex: 140px;
  align-items: flex-start;
  gap: 6px;
  max-width: 220px;
  min-height: 0;
  padding: 8px 10px;
  font-size: 13px;
  line-height: 1.45;
  display: flex;
  position: relative;
}

.flow-title {
  font-weight: 600;
  display: block;
}

.flow-n {
  background: var(--surface-2);
  vertical-align: 1px;
  border-radius: 50%;
  place-items: center;
  width: 18px;
  height: 18px;
  margin-right: 4px;
  font-size: 11px;
  display: inline-grid;
}

.flow-node.sel {
  border-color: var(--fg);
  box-shadow: 0 0 0 1px var(--fg) inset;
}

.flow-node.src {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.flow-node.dst {
  border-color: var(--ok);
  background: var(--ok-soft);
}

.flow-node.via {
  border-color: var(--accent);
  border-style: dashed;
}

.flow-node.dim {
  opacity: .45;
}

.flow-detail {
  border-top: 1px solid var(--line);
  margin-top: 14px;
  padding-top: 12px;
  font-size: 14px;
}

.flow-detail-head {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 6px;
  display: flex;
}

.flow-detail dl {
  grid-template-columns: max-content 1fr;
  gap: 6px 12px;
  margin: 0;
  display: grid;
}

.flow-detail dt {
  color: var(--muted);
  align-items: center;
  gap: 6px;
  font-size: 13px;
  display: flex;
}

.flow-detail dd {
  margin: 0;
}

.key {
  border-top: 3px solid;
  width: 14px;
  height: 0;
  display: inline-block;
}

.key-in {
  border-color: var(--accent);
}

.key-out {
  border-color: var(--ok);
}

.key-via {
  border-color: var(--accent);
  border-top-style: dashed;
}

.flow-hint {
  text-align: center;
  margin: 12px 0 0;
}

@media (max-width: 420px) {
  .flow-detail dl {
    grid-template-columns: 1fr;
  }

  .flow-detail dt {
    margin-top: 4px;
  }
}

/*# sourceMappingURL=src_app_globals_91e4631d.css.map*/