.portal-flow li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; align-items: start; padding: 12px 0; border-top: 1px solid var(--line); }
.portal-flow li + li { border-top: 0; }
.portal-flow li > span { grid-column: 2; grid-row: 1; color: var(--teal); font-size: 12px; font-weight: 750; line-height: 1.4; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.portal-flow li > div { grid-column: 2; grid-row: 2; }
.portal-flow li:not(:last-child)::after { content: ""; position: absolute; top: 66px; bottom: -6px; left: 23px; width: 2px; border-radius: 1px; background: var(--teal); opacity: .35; }
.portal-flow-note { margin-top: 11px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.flow-glyph { grid-column: 1; grid-row: 1 / span 2; display: block; width: 48px; height: 48px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.flow-glyph .glyph-node { fill: var(--white); stroke: var(--line); }
.flow-glyph .glyph-dim { stroke: var(--muted); stroke-width: 1.8; opacity: .7; }
.flow-glyph .glyph-base { stroke: var(--muted); stroke-width: 1.4; opacity: .35; }
.flow-glyph .glyph-key { stroke: var(--teal); stroke-width: 2.4; }
.flow-glyph .glyph-dash { stroke-dasharray: 3 3; }
.flow-glyph .glyph-dot { fill: var(--teal); }
.flow-glyph .glyph-lens { fill: var(--white); }

.resource-figure { display: block; width: 156px; height: auto; aspect-ratio: 120 / 56; margin-top: 14px; border: 1px solid var(--line); border-radius: 8px; background: var(--white); fill: none; stroke-linecap: round; stroke-linejoin: round; }
.resource-figure .fig-base { stroke: var(--muted); stroke-width: 1.4; opacity: .35; }
.resource-figure .fig-sub { stroke: var(--muted); stroke-width: 1.6; opacity: .7; }
.resource-figure .fig-dash { stroke-dasharray: 4 3; }
.resource-figure .fig-key { stroke: var(--teal); stroke-width: 2.2; }
.resource-figure .fig-span { stroke: var(--teal); stroke-width: 4; }
.resource-figure .fig-ink { stroke: var(--ink); stroke-width: 1.7; }
.resource-figure .fig-pin { fill: var(--white); }
.resource-figure .fig-dot, .resource-figure .fig-flag { fill: var(--teal); }
.resource-figure .fig-dot-sub { fill: var(--muted); opacity: .7; }
.resource-figure-note { margin-top: 26px; color: var(--muted); font-size: 12px; line-height: 1.7; }

.portal-yado-brand { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 245px; padding: 25px 20px; border-radius: 14px; background: var(--canvas); text-align: center; }
.portal-yado-brand > strong { margin-top: 10px; font-size: 31px; letter-spacing: .07em; }
.portal-yado-brand > span { margin-top: 6px; color: var(--muted); font-size: 14px; }
.portal-yado-flow { --yad-mark: #b5562e; --yad-ink: #783c22; --yad-line: #e1bca9; --yad-surface: #fff9f6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 8px; align-self: stretch; margin: 18px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); list-style: none; }
.portal-yado-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.portal-yado-flow li:not(:last-child)::after { content: ""; position: absolute; top: 21px; left: calc(50% + 28px); width: calc(100% - 48px); height: 2px; border-radius: 1px; background: var(--yad-line); }
.yado-flow-glyph { display: block; width: 44px; height: 44px; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.yado-flow-glyph .yg-node { fill: var(--yad-surface); stroke: var(--yad-line); }
.yado-flow-glyph .yg-key { stroke: var(--yad-mark); stroke-width: 2.2; }
.yado-flow-glyph .yg-draft { stroke: var(--yad-mark); stroke-width: 1.8; stroke-dasharray: 3 2.5; }
.yado-flow-glyph .yg-front { fill: var(--yad-surface); }
.yado-flow-glyph .yg-sub { stroke: var(--yad-ink); stroke-width: 1.8; opacity: .55; }
.yado-flow-glyph .yg-ink { stroke: var(--yad-ink); stroke-width: 2.2; }
.yado-flow-glyph .yg-badge { fill: var(--yad-ink); }
.yado-flow-glyph .yg-check { stroke: var(--white); stroke-width: 2; }
.portal-yado-brand .yado-flow-label { margin-top: 0; color: var(--ink); font-size: 13px; font-weight: 650; line-height: 1.45; text-align: center; }
.portal-yado-brand .yado-flow-label > span { display: inline-block; margin-top: 0; color: inherit; font-size: inherit; white-space: nowrap; }

.portal-lead, .home-page .resource-tile > p:not(.freshness), .portal-yado-copy > p:not(.portal-eyebrow) { word-break: auto-phrase; text-wrap: pretty; }
@media (max-width: 1100px) and (min-width: 721px), (max-width: 380px) {
  .portal-yado-brand .yado-flow-label { font-size: 12px; }
}
@media (max-width: 720px) {
  .portal-flow li { grid-template-columns: 44px minmax(0, 1fr); column-gap: 12px; }
  .flow-glyph { width: 44px; height: 44px; }
  .portal-flow li:not(:last-child)::after { top: 62px; left: 21px; }
  .home-page .resource-tile { display: grid; grid-template-columns: minmax(0, 1fr) 112px; column-gap: 14px; align-items: start; }
  .home-page .resource-tile > * { grid-column: 1 / -1; justify-self: start; }
  .home-page .resource-tile > .resource-title { justify-self: stretch; }
  .home-page .resource-tile > p:not(.freshness) { grid-column: 1; grid-row: 2; margin-top: 12px; }
  .home-page .resource-tile > .resource-figure { grid-column: 2; grid-row: 2; width: 112px; margin-top: 14px; }
  .home-page .resource-tile > p.freshness br { display: inline; }
  .resource-figure-note { margin-top: 20px; }
}
@media (max-width: 380px) {
  .home-page .resource-tile { grid-template-columns: minmax(0, 1fr) 92px; column-gap: 12px; }
  .home-page .resource-tile > .resource-figure { width: 92px; }
}
