.asset-portfolio-root {
    color: var(--ink-strong);
}

.asset-meta-line {
    margin: 0 0 12px 2px;
    font-size: 13px;
    color: var(--ink-muted);
}

.asset-grid-3 {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 14px;
}

.concentration-donuts-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.concentration-donut-wrap {
    display: flex;
    flex-direction: column;
}

.concentration-donut-canvas-wrap {
    flex: 1;
    min-height: 220px;
    position: relative;
}

@media (max-width: 600px) {
    .concentration-donuts-grid {
        grid-template-columns: 1fr;
    }
}

/* 투자자산 탭은 배당정보/재무정보 탭과 같은 플랫 섹션 어법을 쓴다 — 24px 카드로
   감싸지 않고 제목(하단 헤어라인) + 바로 아래 컨텐츠. 2단 블록(Composition/Top
   Holdings, 임차인 집중도/업종별 집중도)도 박스 없이 좌우 배치를 유지하고 칸별로
   제목을 단다 — design_reference/스크린샷 2026-07-03 212046.png의 CapIQ Employee
   Movement / Peer Comparison 블록이 참조 레이아웃. */
.asset-section {
    margin-bottom: 24px;
}

.asset-section:last-child {
    margin-bottom: 0;
}

/* .dividend-panel-title(style.css)와 동일한 시각 규칙 — 탭 전환 시 스타일이 튀지
   않도록. 표 펼침 행 안의 중첩 소제목용 .asset-block-title과는 별개이며, 그쪽에는
   밑줄을 넣지 않는다. */
.asset-section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--ink-strong);
    margin: 0 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-soft);
}

.asset-card-sub {
    font-size: 12px;
    color: var(--ink-muted);
    margin-top: 4px;
}

.asset-row-2 {
    display: grid;
    gap: 12px;
    grid-template-columns: 1.2fr 1fr;
}

/* Nested sub-heading only (e.g. 표 펼침 행 안의 "임차인 현황" / "임차 만기 스케쥴") —
   top-level section titles use .asset-section-title above instead. */
.asset-block-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--ink-strong);
}

.asset-divider {
    margin: 12px 0 10px;
    border: 0;
    border-top: 1px solid var(--border-soft);
}

.asset-detail-grid {
    margin: 0;
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 6px 10px;
    font-size: 12px;
}

.asset-detail-grid dt {
    margin: 0;
    color: var(--ink-muted);
    font-weight: 600;
}

.asset-detail-grid dd {
    margin: 0;
    color: var(--ink-strong);
    overflow-wrap: anywhere;
}

.asset-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

/* Now that the section title lives in its own .asset-section-title line above
   (no longer sharing this row), the toolbar only holds the clear-filters
   button — right-align it, same convention as .financial-surface-head. */
.asset-toolbar > :only-child {
    margin-left: auto;
}

.asset-clear-btn {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 6px 10px;
    background: var(--surface-strong);
    color: var(--text-secondary-strong);
    font-size: 12px;
}

.asset-chip-row {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin: 10px 0 8px;
}

.asset-chip {
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: var(--surface-tint);
    color: var(--ink-strong);
    padding: 4px 9px;
    font-size: 12px;
}

.asset-controls {
    display: grid;
    gap: 8px;
    grid-template-columns: 1fr 140px 170px;
    margin-bottom: 10px;
}

.asset-controls input,
.asset-controls select {
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    padding: 8px 10px;
    font-size: 13px;
}

/* Summary metric strip (자산 수 / 총 자산가치 / Top1·Top5 집중도) reuses
   .financial-summary-grid; in the 재무정보 tab its spacing comes from the
   .financial-panel parent's grid gap, but here it's a bare child (no title,
   same as 배당정보's [data-dividend-streak-strip]), so it carries its own
   bottom margin matching the 24px .asset-section rhythm below it. */
.asset-portfolio-root .financial-summary-grid {
    margin-bottom: 24px;
}

.asset-table-wrap {
    overflow-x: auto;
    /* No border-radius: tables are not rounded (the 24px rule is for
       card/panel containers — see "Corner radius" in DESIGN.md);
       a radius here clips the thead fill into curved corners. */
    border: 1px solid var(--border-soft);
    background: var(--surface-strong);
}

.asset-table {
    width: 100%;
    min-width: 640px;
    border-collapse: separate;
    border-spacing: 0;
}

.asset-table th,
.asset-table td {
    padding: 10px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 13px;
    vertical-align: middle;
}

.asset-table th {
    text-align: left;
    height: var(--table-header-height);
    vertical-align: middle;
    position: sticky;
    top: 0;
    background: var(--table-header-bg);
    z-index: 1;
    color: var(--ink-strong);
    white-space: nowrap;
}

.asset-table th.asset-col-numeric,
.asset-table td.asset-col-numeric {
    text-align: right;
    font-variant-numeric: tabular-nums;
    /* 자산가치 · 토지분 · 건물분 sit side by side; a wrapped "7,632억 / 원" reads as two numbers. */
    white-space: nowrap;
}

.asset-table th.asset-col-name {
    width: 40%;
}

.asset-top-table th:first-child,
.asset-top-table td:first-child {
    width: 1%;
}

.asset-table tbody tr:hover {
    background: var(--highlight-soft);
}

/* Top Holdings reuses the .asset-table pattern above (see "Asset Table"
   below for the main table) instead of its own card-per-row layout -- see
   DESIGN.md "Use existing product patterns before inventing
   new ones". These overrides must stay after the shared .asset-table-wrap
   / .asset-table rules so they win the cascade (equal specificity, source
   order decides). Rows stay clickable (highlight + scroll into the main
   Asset Table), so add the pointer cursor the shared table doesn't need
   by default. */
.asset-top-table-wrap {
    /* .asset-table-wrap's shared overflow-x: auto is sized for the wider
       Asset Table card below; in this narrower asset-row-2 column
       (1.2fr/1fr split) a 3-column table doesn't need horizontal scroll,
       so drop it just for this instance. */
    overflow-x: visible;
}

.asset-top-table {
    /* .asset-table's shared min-width targets the wider main table; this
       3-column table is comfortably narrower than that floor. */
    min-width: 0;
}

.asset-top-table tbody tr {
    cursor: pointer;
}

.asset-name-cell {
    min-width: 0;
}

.asset-name-stack {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-width: 0;
}

/* Wraps .asset-name-lead + the vehicle subline so both stack vertically while
   staying one flex item beside the map chip in .asset-name-stack. */
.asset-name-block {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.asset-name-lead {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

button.asset-name-lead {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    text-align: left;
    color: inherit;
    cursor: pointer;
}

.asset-name-lead .chevron-icon {
    color: var(--ink-muted);
    flex-shrink: 0;
}

.asset-name-lead .chevron-icon svg {
    transform: rotate(-90deg);
}

.asset-name-lead[aria-expanded="true"] .chevron-icon svg {
    transform: rotate(0deg);
}

.asset-name-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink-strong);
}

/* Capital-structure tag (우선주 / 대출 / 보통주). Neutral muted pill by default
   (full pill radius per DESIGN.md); the preferred variant goes green to match
   the 가치평가 tab. Transparent border keeps the box metrics identical across
   variants so the preferred border doesn't shift row height. */
.asset-tranche-tag {
    flex-shrink: 0;
    font-size: 11px;
    font-weight: 600;
    color: var(--ink-muted);
    background: var(--surface-muted);
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 1px 7px;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    cursor: help;
}

/* Preferred (우선주) — mirrors the 가치평가 tab .ncf-asset-preferred green badge
   (valuation.css) for cross-tab consistency; carries the fixed dividend rate. */
.asset-tranche-tag--preferred {
    color: var(--brand-deep);
    background: var(--brand-soft);
    border-color: var(--border-soft);
}

/* 매각 상태 칩 (DESIGN.md Chips — 매각 상태 칩). 확정도를 색으로 인코딩한다:
   기본형(IR 발표, 미확정)은 amber, --closing 변형(DART 공시로 계약 확인)은
   중립 pill. 라벨 텍스트("매각예정" vs "매각계약")가 1차 신호이고 색은 보조라,
   색을 구분하지 못해도 확정도가 읽힌다. .asset-tranche-tag와 동일한 box
   metrics(투명 border 포함)라 변형 간 행 높이가 흔들리지 않는다. */
.disposal-chip {
    flex-shrink: 0;
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    line-height: 1.4;
    border-radius: 999px;
    padding: 1px 7px;
    white-space: nowrap;
    cursor: help;
    background: var(--warning-soft);
    color: var(--warning);
    border: 1px solid transparent;
}

/* DART 공시로 계약이 확인된 건 — 주의를 뜻하는 amber를 뗀다. 초록은 쓰지 않는다
   (DESIGN.md 토큰 규칙: 초록은 품질 축이라 "좋은 매각"으로 읽힌다). */
.disposal-chip--closing {
    background: var(--surface-muted);
    color: var(--ink-muted);
    border-color: var(--border-soft);
}

.asset-map-chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    flex-shrink: 0;
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    background: var(--surface-tint);
    color: var(--ink-strong);
    padding: 4px 9px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.asset-map-chip:hover,
.asset-map-chip:focus {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand-deep);
}

.asset-map-chip-icon {
    width: 14px;
    height: 14px;
    display: block;
}

.asset-row-highlight {
    background: var(--highlight-soft);
}

.asset-empty {
    font-size: 14px;
    color: var(--ink-muted);
    margin: 0;
    padding: 10px 2px;
}

.asset-subtype {
    font-size: 11px;
    color: var(--ink-muted);
    background: var(--surface-muted);
    border-radius: 3px;
    padding: 1px 5px;
    margin-left: 4px;
    vertical-align: middle;
    white-space: nowrap;
}

.asset-chart-wrap {
    height: 260px;
    max-width: 520px;
    margin: 0 auto;
}

@media (max-width: 900px) {
    .asset-grid-3 {
        grid-template-columns: 1fr;
    }

    .asset-row-2 {
        grid-template-columns: 1fr;
    }

    .asset-controls {
        grid-template-columns: 1fr 1fr;
    }

    .asset-concentration {
        gap: 8px;
    }

    .asset-concentration-value {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .asset-col-desktop {
        display: none;
    }

    .asset-table {
        min-width: 420px;
    }

    /* Re-assert the Top Holdings override inside this media query: a bare
       .asset-table rule declared later in the cascade (this block) beats
       the base-level .asset-top-table rule above regardless of viewport,
       so without this the 420px floor would return on narrow screens and
       could reintroduce horizontal scroll in the narrower asset-row-2
       column. */
    .asset-top-table {
        min-width: 0;
    }
}

.asset-card-value-text {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}

.lease-detail-row td {
    background: var(--surface-tint);
    padding: 14px 16px;
}

.lease-detail-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1.3fr 1fr;
}

.lease-tenant-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    border-radius: 8px;
    overflow: hidden;
}

.lease-tenant-table th,
.lease-tenant-table td {
    padding: 8px 10px;
    border-bottom: 1px solid var(--border-soft);
    font-size: 12px;
    text-align: left;
}

.lease-tenant-table th.asset-col-numeric,
.lease-tenant-table td.asset-col-numeric {
    text-align: right;
}

.lease-tenant-table th {
    background: var(--table-header-bg);
    color: var(--ink-strong);
    white-space: nowrap;
}

.lease-tenant-table tr:last-child td {
    border-bottom: none;
}

.lease-chart-caption {
    text-align: center;
    font-style: italic;
    font-size: 12px;
    color: var(--ink-muted);
    margin: 0 0 6px;
    line-height: 1.4;
}

.lease-chart-caption strong {
    font-style: normal;
    font-size: 15px;
    color: var(--ink-strong);
}

.lease-chart-wrap {
    height: 200px;
}

.lease-chart-wrap-lg {
    height: 240px;
}

@media (max-width: 900px) {
    .lease-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* Row-expand panel holding both 임차인 현황 (existing) and 보유구조 (new) when an
   asset has both -- see asset_portfolio.js renderAssetDetailContent. */
.asset-detail-sections {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* 자산 특성 게이지 (역 접근성 / 연식 / ..., plus 업무권역 as the district's name without a
   bar, only for an asset inside one, since 2026-11-16). Each row is a 5-cell bar
   showing an absolute band, or where this asset sits within the distribution of
   OTHER assets of the same (main type, country) -- a position, never a quality
   grade, so the fill color below is the app's ordinary "filled/active" brand
   tone (same one used for links and active nav states), not a good/bad
   semantic color. See asset_portfolio.js renderAssetFactorMarkup. */
/* One grid for the whole list (label, bar, value), 2026-11-16: the fixed 72px label
   column broke 고속도로 접근성 onto two lines on every logistics asset. max-content
   widens the column to the longest label and keeps the bars in line. */
.asset-factor-list {
    display: grid;
    grid-template-columns: max-content max-content minmax(0, 1fr);
    column-gap: 12px;
    row-gap: 9px;
    align-items: center;
    font-size: 12px;
}

.asset-factor-label {
    color: var(--ink-muted);
    white-space: nowrap;
}

.asset-factor-bar {
    display: inline-flex;
    gap: 3px;
    position: relative;
}

/* A gauge whose 칸 기준 can be opened (hover, focus, tap). */
.asset-factor-bar--scaled {
    cursor: help;
    border-radius: 2px;
}

.asset-factor-bar--scaled:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
}

/* The legend itself: plain white with a hairline, no shadow, tint or accent bar
   (DESIGN.md Do's and Don'ts). Opens below the bar, or above it (is-up) when the
   table wrap would clip it. */
.asset-factor-scale {
    display: none;
    position: absolute;
    left: -6px;
    top: calc(100% + 8px);
    z-index: 20;
    grid-template-columns: auto auto;
    gap: 3px 12px;
    padding: 8px 10px;
    background: var(--surface-strong);
    border: 1px solid var(--border-soft);
    font-size: 11px;
    line-height: 1.4;
    color: var(--ink-muted);
    white-space: nowrap;
}

.asset-factor-bar.is-open .asset-factor-scale {
    display: grid;
}

.asset-factor-scale.is-up {
    top: auto;
    bottom: calc(100% + 8px);
}

.asset-factor-scale-title {
    grid-column: 1 / -1;
    margin-bottom: 2px;
    color: var(--ink-strong);
    font-weight: 600;
}

.asset-factor-scale .is-current {
    color: var(--ink-strong);
    font-weight: 600;
}

.asset-factor-cell {
    width: 16px;
    height: 8px;
    border-radius: 2px;
    background: var(--surface-muted);
    border: 1px solid var(--border-soft);
}

.asset-factor-cell--filled {
    background: var(--brand);
    border-color: var(--brand);
}

.asset-factor-value {
    color: var(--ink-strong);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    white-space: normal;
}

/* Measurement basis under the gauges, one line per note. */
.asset-factor-note {
    margin: 8px 0 0;
    font-size: 11px;
    color: var(--ink-muted);
    /* Korean breaks at spaces (DESIGN.md Typography), not mid-word. */
    word-break: keep-all;
    overflow-wrap: break-word;
}

.asset-factor-note + .asset-factor-note {
    margin-top: 2px;
}

/* 자산 특성 | 공시지가 추이 side by side, on the columns of .lease-detail-grid below so
   the 공시지가 block lines up with 임차 만기 스케쥴 (2026-11-16). */
.asset-overview-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: 1.3fr 1fr;
    align-items: start;
}

@media (max-width: 900px) {
    .asset-overview-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    /* Same reason as .asset-underlying-list below: the table is laid out 420px wide and
       scrolls sideways, so a block as wide as the table puts the chart's latest years
       off-screen on a phone. */
    .asset-overview-grid,
    .asset-factor-block,
    .asset-land-price-block {
        max-width: calc(100vw - 92px);
    }
}

/* 기초자산: the buildings behind a 수익증권 row (asset_portfolio.js renderUnderlyingMarkup).
   A name line with the type and map chip, a muted address / size line, then the three
   figures the totals are built from -- 자산가치 (the whole asset), 리츠 지분, 지분가치 --
   and the building's own 자산 특성 gauges below. Plain text on the page background: no
   card, border or fill (DESIGN.md, REIT detail tabs are flat). */
.asset-underlying-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.asset-underlying-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.asset-underlying-head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    font-size: 13px;
}

.asset-underlying-name {
    font-weight: 600;
    color: var(--ink-strong);
}

.asset-underlying-meta {
    font-size: 12px;
    color: var(--ink-muted);
}

.asset-underlying-figures {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 24px;
    margin: 2px 0 4px;
    font-size: 12px;
}

.asset-underlying-figures > div {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.asset-underlying-figures dt {
    color: var(--ink-muted);
}

.asset-underlying-figures dd {
    margin: 0;
    color: var(--ink-strong);
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

@media (max-width: 480px) {
    /* .asset-table keeps a 420px minimum and scrolls sideways inside .asset-table-wrap, so an
       expand panel is laid out 420px wide while only the viewport less the page gutters is on
       screen. Hold the 기초자산 block to that visible width so no figure sits off-screen. */
    .asset-underlying-list {
        max-width: calc(100vw - 92px);
    }
}

/* 보유구조 breadcrumb (REIT -> vehicle -> vehicle -> asset). Vehicle hops are
   pills reusing .asset-tranche-tag's box metrics with a visible border (this is
   a chain of distinct entities, not a one-shot state tag); the REIT root and
   the trailing asset name stay plain muted text, never pills, so the physical
   asset keeps reading as the actual subject. */
.ownership-chain {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 12px;
}

.ownership-chain-node {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    flex-shrink: 0;
    color: var(--ink-strong);
    background: var(--surface-muted);
    border: 1px solid var(--border-soft);
    border-radius: 999px;
    padding: 2px 9px;
    white-space: nowrap;
}

.ownership-chain-node--plain {
    background: none;
    border-color: transparent;
    padding: 2px 2px;
    color: var(--ink-muted);
}

.ownership-chain-node-meta {
    color: var(--ink-muted);
    font-weight: 400;
}

.ownership-chain-arrow {
    flex-shrink: 0;
    color: var(--ink-muted);
    font-size: 11px;
}

/* 자산 편입·매각 현황 — the last section on the 투자자산 tab, below the Asset
   Table. .activity-panel carries no styling of its own (spacing comes from the
   shared .asset-section rhythm); kept as a semantic hook. Reuses .asset-table
   wholesale for each register (DESIGN.md "use existing product patterns before
   inventing new ones") — only the register-internal layout below is new. */
.activity-register {
    margin-top: 14px;
}

.activity-register-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-strong);
    margin-bottom: 6px;
}

/* Second line under a cell's primary value (소재지, subtype, 조달방법, 매각차익)
   — always muted and smaller, never its own row. */
.activity-cell-sub {
    margin-top: 2px;
    font-size: 11px;
    color: var(--ink-muted);
    font-weight: 400;
}

.activity-status-text {
    color: var(--ink-muted);
}

/* 상태 셀에서 "미확정" 배지(.disposal-chip)가 상태 텍스트와 겹치지 않도록. */
.activity-table td .disposal-chip {
    margin-left: 6px;
}

.activity-table .asset-col-numeric {
    white-space: nowrap;
}

/* 매수인 등 긴 문자열은 말줄임 — 전체 텍스트는 title 툴팁으로. */
.activity-buyer-cell {
    max-width: 220px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.activity-footnote {
    margin: 10px 2px 0;
    font-size: 12px;
    color: var(--text-secondary);
}

@media (max-width: 600px) {
    .activity-buyer-cell {
        max-width: 120px;
    }
}


/* 공시지가 추이 (asset_portfolio.js renderLandPriceTrendMarkup). Alone, a single-series
   line in chart-blue per DESIGN.md "Charts"; with the national comparison line the
   asset is the one subject against context, so brand-deep over a chart-rest gray line
   (DESIGN.md Charts, the subject/context rule). One vertical scale for every asset
   (first year -10% to +40%), with gridlines carrying the values. The CAGR stays in
   ink, not market-up/-down: a 공시지가 is not a traded price, and the drawer states
   facts without a good/bad colour (same stance as the 자산 특성 gauges above). */
.asset-land-price-unit {
    margin-left: 4px;
    font-size: 11px;
    font-weight: 500;
    color: var(--ink-muted);
}

.asset-land-price-summary {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 4px 8px;
    font-size: 12px;
    color: var(--ink-muted);
}

/* The figure the chart is about, so it leads the block. */
.asset-land-price-cagr {
    font-size: 17px;
    font-weight: 600;
    color: var(--ink-strong);
    font-variant-numeric: tabular-nums;
}

.asset-land-price-chart {
    display: block;
    width: 100%;
    max-width: 420px;
    height: auto;
    margin-top: 6px;
}

.asset-land-price-grid {
    stroke: var(--border-soft);
    stroke-width: 1;
}

/* The asset's line and points follow DESIGN.md Charts -> Line charts -> Weight in screen
   pixels (non-scaling stroke, so the viewBox's scaling to the column leaves them alone):
   a 3px line, and hollow points with a 2.5px ring at radius 4.5px, the latest at 5.5px.
   Each point is two round-capped zero-length strokes; the ring's width is its outer
   diameter, the core's its inner one. The gray national line stays lighter as context. */
.asset-land-price-line {
    fill: none;
    stroke: var(--chart-blue);
    stroke-width: 3px;
    stroke-linejoin: round;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.asset-land-price-line--subject {
    stroke: var(--brand-deep);
}

.asset-land-price-point path {
    fill: none;
    stroke-linecap: round;
    vector-effect: non-scaling-stroke;
}

.asset-land-price-point-ring {
    stroke: var(--chart-blue);
    stroke-width: 11.5px;
}

.asset-land-price-point--subject .asset-land-price-point-ring {
    stroke: var(--brand-deep);
}

.asset-land-price-point-core {
    stroke: var(--surface-strong);
    stroke-width: 6.5px;
}

.asset-land-price-point--latest .asset-land-price-point-ring {
    stroke-width: 13.5px;
}

.asset-land-price-point--latest .asset-land-price-point-core {
    stroke-width: 8.5px;
}

.asset-land-price-national {
    fill: none;
    stroke: var(--chart-rest);
    stroke-width: 1.6;
    stroke-linejoin: round;
    stroke-linecap: round;
}

/* Line key in the summary row: a short stroke of each line's colour before its figure,
   shown only when the national line is drawn (2026-11-17). */
.asset-land-price-key {
    display: inline-block;
    width: 16px;
    height: 8px;
    margin-right: 4px;
    vertical-align: middle;
}

/* Each key is as heavy as its line on screen: 3px for the asset, about 2px for the gray. */
.asset-land-price-key-line {
    stroke-width: 2;
    stroke-linecap: round;
}

.asset-land-price-key-line--subject {
    stroke: var(--brand-deep);
    stroke-width: 3;
}

.asset-land-price-key-line--national {
    stroke: var(--chart-rest);
}

.asset-land-price-axis-title {
    fill: var(--ink-muted);
    font-size: 9px;
}

.asset-land-price-label {
    fill: var(--ink-muted);
    font-size: 10px;
}

/* The end value carries a halo in the drawer's background, so it stays legible where it
   has to sit across the 0% line or a gridline. */
.asset-land-price-value {
    fill: var(--ink-strong);
    font-size: 10px;
    font-weight: 600;
    paint-order: stroke;
    stroke: var(--surface-tint);
    stroke-width: 3px;
    stroke-linejoin: round;
}

/* The one dark line among the hairline gridlines: the x axis's foot when the asset is
   drawn alone (2026-11-16), the 0% line from the first year when the national line is
   drawn beside it (2026-11-17). */
.asset-land-price-baseline {
    stroke: var(--ink-strong);
    stroke-width: 1;
    shape-rendering: crispEdges;
}

@media (max-width: 480px) {
    /* The viewBox stays 360 wide and scales down to ~280px on a phone, so the SVG text
       is set larger to land near 10px on screen. */
    .asset-land-price-chart text {
        font-size: 13px;
    }
}
