/* procelo components — values come from tokens.css; nothing here re-declares a token value */

/* Unit accent: a product app may switch the primary action to its unit colour (see README „Akzent in Apps“).
   These rules only re-point role tokens to other tokens. */
[data-unit="tosca"] { --accent: var(--orange-tosca); --accent-hover: var(--orange-tosca-400); --accent-active: var(--orange-tosca-600); --on-accent: var(--navy); --chart-focus: var(--orange-tosca); --pc-indicator: var(--accent); --pc-bubble: var(--orange-tosca-100); }
[data-unit="procelo"] { --pc-bubble: var(--green-procelo-100); }
[data-unit="privat"] { --accent: var(--pink-privat-600); --accent-hover: var(--pink-privat-700); --accent-active: var(--pink-privat-800); --chart-focus: var(--pink-privat); --pc-indicator: var(--pink-privat-600); --pc-bubble: var(--pink-privat-100); }
[data-theme="dark"][data-unit="procelo"], [data-theme="dark"] [data-unit="procelo"] { --accent: var(--green-procelo); --accent-hover: var(--green-procelo-400); --accent-active: var(--green-procelo-600); --on-accent: var(--navy); --pc-indicator: var(--accent); }

.pc-root, .pc-root *, [class^="pc-"], [class*=" pc-"] { box-sizing: border-box; }

/* Icon (inline SVG from the icon set) */
.pc-icon { display: inline-flex; flex: none; width: 24px; height: 24px; }
.pc-icon svg { width: 100%; height: 100%; display: block; }
.pc-icon svg .primary { fill: var(--blue-200); }
.pc-icon svg .secondary { fill: var(--ink); }
.pc-icon--sm { width: 16px; height: 16px; }
.pc-icon--md { width: 20px; height: 20px; }
.pc-icon--lg { width: 32px; height: 32px; }
.pc-focusable:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }

/* Button */
.pc-btn { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-2); border: 1px solid transparent; border-radius: var(--radius-md); font-family: var(--font-display); font-weight: 600; cursor: pointer; text-decoration: none; white-space: nowrap; transition: background-color .12s, border-color .12s, color .12s; }
.pc-btn svg { width: 20px; height: 20px; flex: none; }
.pc-btn--sm { height: 32px; padding: 0 var(--space-3); font-size: 14px; }
.pc-btn--md { height: 40px; padding: 0 var(--space-4); font-size: 16px; }
.pc-btn--lg { height: 48px; padding: 0 var(--space-6); font-size: 18px; }
.pc-btn--primary { background: var(--accent); color: var(--on-accent); }
.pc-btn--primary:hover { background: var(--accent-hover); }
.pc-btn--primary:active { background: var(--accent-active); }
.pc-btn--primary svg .primary { fill: var(--on-accent); opacity: .45; } .pc-btn--primary svg .secondary { fill: var(--on-accent); }
.pc-btn--secondary { background: var(--surface); color: var(--ink); border-color: var(--border-strong); }
.pc-btn--secondary:hover { background: var(--grey-050); }
.pc-btn--secondary:active { background: var(--grey-100); }
.pc-btn--secondary svg .primary { fill: var(--blue-200); } .pc-btn--secondary svg .secondary { fill: var(--ink); }
.pc-btn--ghost { background: transparent; color: var(--ink-accent); }
.pc-btn--ghost:hover { background: var(--blue-050); color: var(--blue-700); }
.pc-btn--ghost:active { background: var(--blue-100); }
.pc-btn--ghost svg .primary { fill: var(--blue-200); } .pc-btn--ghost svg .secondary { fill: var(--ink-accent); }
.pc-btn--danger { background: var(--danger); color: var(--on-danger); }
.pc-btn--danger:hover, .pc-btn--danger:active { background: var(--danger-700); }
.pc-btn--danger svg .primary { fill: var(--danger-050); } .pc-btn--danger svg .secondary { fill: var(--on-danger); }
.pc-btn[disabled], .pc-btn[aria-disabled="true"] { background: var(--grey-100); color: var(--ink-subtle); border-color: var(--grey-200); cursor: not-allowed; }
.pc-btn--block { width: 100%; }

/* TextField */
.pc-field { display: flex; flex-direction: column; gap: var(--space-1); font-family: var(--font-body); }
.pc-field__label { font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink); }
.pc-field__req { color: var(--danger-700); margin-left: 2px; }
.pc-field__input { height: 40px; padding: 0 var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16px; }
textarea.pc-field__input { height: auto; min-height: 96px; padding: var(--space-2) var(--space-3); line-height: 24px; resize: vertical; }
.pc-field__input::placeholder { color: var(--ink-subtle); }
.pc-field__input:hover { border-color: var(--grey-500); }
.pc-field__input:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.pc-field__input[disabled] { background: var(--grey-050); color: var(--ink-subtle); border-color: var(--grey-200); }
.pc-field__hint { font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.pc-field--error .pc-field__input { border-color: var(--danger); }
.pc-field--error .pc-field__input:focus { outline-color: var(--danger); }
.pc-field__error { display: flex; align-items: center; gap: var(--space-1); font-size: 14px; line-height: 20px; color: var(--danger-700); }
.pc-field__error svg { width: 16px; height: 16px; flex: none; }
.pc-field__error svg .primary { fill: var(--danger); } .pc-field__error svg .secondary { fill: var(--surface); }

/* Alert */
.pc-alert { display: flex; gap: var(--space-3); padding: var(--space-4); border-radius: var(--radius-md); border: 1px solid; font-family: var(--font-body); font-size: 16px; line-height: 24px; color: var(--ink); }
.pc-alert__icon { width: 24px; height: 24px; flex: none; }
.pc-alert__body { flex: 1; min-width: 0; }
.pc-alert__title { font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 24px; margin: 0; }
.pc-alert__text { margin: 0; }
.pc-alert__close { flex: none; width: 32px; height: 32px; margin: -4px -4px 0 0; border: 0; border-radius: var(--radius-sm); background: transparent; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.pc-alert__close svg { width: 20px; height: 20px; }
.pc-alert__close svg .secondary { fill: var(--ink-muted); }
.pc-alert__close:hover { background: var(--surface); }
.pc-alert--success { background: var(--success-050); border-color: var(--success); }
.pc-alert--success .pc-alert__title { color: var(--success-700); }
.pc-alert--success .pc-alert__icon .primary { fill: var(--success); } .pc-alert--success .pc-alert__icon .secondary { fill: var(--surface); }
.pc-alert--warning { background: var(--warning-050); border-color: var(--warning); }
.pc-alert--warning .pc-alert__title { color: var(--warning-700); }
.pc-alert--warning .pc-alert__icon .primary { fill: var(--warning); } .pc-alert--warning .pc-alert__icon .secondary { fill: var(--surface); }
.pc-alert--danger { background: var(--danger-050); border-color: var(--danger); }
.pc-alert--danger .pc-alert__title { color: var(--danger-700); }
.pc-alert--danger .pc-alert__icon .primary { fill: var(--danger); } .pc-alert--danger .pc-alert__icon .secondary { fill: var(--surface); }
.pc-alert--info { background: var(--info-050); border-color: var(--blue-200); }
.pc-alert--info .pc-alert__title { color: var(--info-700); }
.pc-alert--info .pc-alert__icon .primary { fill: var(--info); } .pc-alert--info .pc-alert__icon .secondary { fill: var(--surface); }

/* StatusPill */
.pc-pill { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: var(--radius-round); font-family: var(--font-display); font-weight: 500; font-size: 13px; line-height: 16px; white-space: nowrap; }
.pc-pill__dot { width: 8px; height: 8px; border-radius: var(--radius-round); flex: none; }
.pc-pill--success { background: var(--success-050); color: var(--success-700); } .pc-pill--success .pc-pill__dot { background: var(--success); }
.pc-pill--warning { background: var(--warning-050); color: var(--warning-700); } .pc-pill--warning .pc-pill__dot { background: var(--warning); }
.pc-pill--danger { background: var(--danger-050); color: var(--danger-700); } .pc-pill--danger .pc-pill__dot { background: var(--danger); }
.pc-pill--info { background: var(--info-050); color: var(--info-700); } .pc-pill--info .pc-pill__dot { background: var(--info); }
.pc-pill--neutral { background: var(--grey-100); color: var(--grey-700); } .pc-pill--neutral .pc-pill__dot { background: var(--grey-500); }

/* Card */
.pc-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); font-family: var(--font-body); color: var(--ink); display: flex; flex-direction: column; overflow: hidden; }
.pc-card__header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) var(--space-6) 0; }
.pc-card__eyebrow { font-family: var(--font-display); font-weight: 500; font-size: 13px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin: 0 0 var(--space-1); }
.pc-card__title { font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 28px; margin: 0; }
.pc-card__body { padding: var(--space-4) var(--space-6) var(--space-6); font-size: 16px; line-height: 24px; color: var(--ink-muted); flex: 1; }
.pc-card__footer { padding: var(--space-4) var(--space-6); border-top: 1px solid var(--border); background: var(--surface-muted); display: flex; gap: var(--space-2); justify-content: flex-end; }
.pc-card--interactive { cursor: pointer; transition: box-shadow .15s, border-color .15s; }
.pc-card--interactive:hover { box-shadow: var(--shadow-md); border-color: var(--grey-300); }

/* Table */
.pc-table-wrap { border: 1px solid var(--border); border-radius: var(--radius-md); overflow-x: auto; background: var(--surface); }
.pc-table { width: 100%; border-collapse: collapse; font-family: var(--font-body); font-size: 16px; line-height: 24px; color: var(--ink); }
.pc-table th { background: var(--surface-muted); font-family: var(--font-display); font-weight: 600; font-size: 14px; line-height: 20px; color: var(--ink-muted); text-align: left; padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); white-space: nowrap; }
.pc-table td { padding: var(--space-3) var(--space-4); border-bottom: 1px solid var(--border); vertical-align: middle; }
.pc-table tbody tr:last-child td { border-bottom: 0; }
.pc-table--compact th, .pc-table--compact td { padding: var(--space-2) var(--space-3); font-size: 14px; line-height: 20px; }
.pc-table--hover tbody tr:hover td { background: var(--grey-050); }
.pc-table .pc-num { text-align: right; font-variant-numeric: tabular-nums; }
.pc-table .pc-muted { color: var(--ink-muted); }

/* HeaderBand */
.pc-band { position: relative; font-family: var(--font-display); }
.pc-band__bar { background: var(--band); color: var(--on-band); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); height: 64px; padding: 0 var(--space-6); }
.pc-band__number { font-weight: 600; font-size: 18px; }
.pc-band__title { font-weight: 500; font-size: 15px; letter-spacing: 0.12em; text-transform: uppercase; margin: 0; }
.pc-band__stripe { height: 6px; }
.pc-band--procelo .pc-band__stripe { background: var(--green-procelo); }
.pc-band--tosca .pc-band__stripe { background: var(--orange-tosca); }
.pc-band__dot { position: absolute; left: var(--pc-band-dot, 33%); top: 51px; width: 38px; height: 38px; border-radius: var(--radius-round); background: var(--blue); }

/* NavBar */
.pc-nav { display: flex; align-items: center; gap: var(--space-8); height: 64px; padding: 0 var(--space-6); background: var(--surface); border-bottom: 1px solid var(--border); font-family: var(--font-display); }
.pc-nav__logo { display: flex; align-items: center; flex: none; }
.pc-nav__logo img { height: 28px; width: auto; display: block; }
.pc-nav__logo-dark { display: none !important; }
[data-theme="dark"] .pc-nav__logo-light { display: none !important; }
[data-theme="dark"] .pc-nav__logo-dark { display: block !important; }
.pc-nav__links { display: flex; align-items: stretch; gap: var(--space-6); height: 100%; margin: 0; padding: 0; list-style: none; flex: 1; }
.pc-nav__link { display: flex; align-items: center; height: 100%; font-weight: 500; font-size: 16px; color: var(--ink-muted); text-decoration: none; border-bottom: 3px solid transparent; padding-top: 3px; }
.pc-nav__link:hover { color: var(--ink); }
.pc-nav__link[aria-current="page"] { color: var(--ink); }
.pc-nav--procelo .pc-nav__link[aria-current="page"] { border-bottom-color: var(--green-procelo); }
.pc-nav--tosca .pc-nav__link[aria-current="page"] { border-bottom-color: var(--orange-tosca); }
.pc-nav__actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }

/* IconButton */
.pc-iconbtn { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; padding: 0; border: 1px solid transparent; border-radius: var(--radius-md); background: transparent; color: var(--ink); cursor: pointer; }
.pc-iconbtn--sm { width: 32px; height: 32px; }
.pc-iconbtn:hover { background: var(--grey-100); }
.pc-iconbtn:active { background: var(--grey-200); }
.pc-iconbtn--secondary { background: var(--surface); border-color: var(--border-strong); }
.pc-iconbtn--secondary:hover { background: var(--grey-050); }
.pc-iconbtn svg { width: 20px; height: 20px; }
.pc-iconbtn > svg .primary { fill: var(--blue-200); }
.pc-iconbtn > svg .secondary { fill: var(--ink-muted); }
.pc-iconbtn:hover > svg .secondary { fill: var(--ink); }
.pc-iconbtn[disabled] { cursor: not-allowed; }
.pc-iconbtn[disabled] svg { opacity: .45; }

/* Avatar */
.pc-avatar { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 32px; height: 32px; border-radius: var(--radius-round); background: var(--grey-200); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 14px; overflow: hidden; }
.pc-avatar--sm { width: 24px; height: 24px; font-size: 12px; }
.pc-avatar--lg { width: 40px; height: 40px; font-size: 16px; }
.pc-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Count */
.pc-count { display: inline-flex; align-items: center; justify-content: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: var(--radius-round); background: var(--grey-200); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 12px; line-height: 1; font-variant-numeric: tabular-nums; }

/* AppBar */
.pc-appbar { display: flex; align-items: center; gap: var(--space-6); height: 56px; padding: 0 var(--space-4); background: var(--surface); border-bottom: 1px solid var(--border); font-family: var(--font-display); color: var(--ink); }
.pc-appbar__brand { display: flex; align-items: center; flex: none; color: inherit; text-decoration: none; font-weight: 700; font-size: 20px; }
.pc-appbar__brand img { height: 24px; width: auto; display: block; }
.pc-appbar__nav { display: flex; align-items: center; flex: 1; min-width: 0; height: 100%; }
.pc-appbar__actions { display: flex; align-items: center; gap: var(--space-2); flex: none; }
.pc-logo-dark { display: none !important; }
[data-theme="dark"] .pc-logo-light { display: none !important; }
[data-theme="dark"] .pc-logo-dark { display: block !important; }

/* SideNav */
.pc-sidenav { display: flex; flex-direction: column; width: 264px; height: 100%; background: var(--surface); border-right: 1px solid var(--border); font-family: var(--font-body); color: var(--ink); }
.pc-sidenav__header { padding: var(--space-3); }
.pc-sidenav__body { flex: 1; overflow-y: auto; padding: 0 var(--space-2) var(--space-3); }
.pc-sidenav__section + .pc-sidenav__section { margin-top: var(--space-3); padding-top: var(--space-3); border-top: 1px solid var(--border); }
.pc-sidenav__label { font-family: var(--font-display); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin: 0; padding: var(--space-1) var(--space-2); }
.pc-sidenav__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; }
.pc-sidenav__item { display: flex; align-items: center; gap: var(--space-2); width: 100%; min-height: 36px; padding: var(--space-1) var(--space-2); border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink-muted); font: inherit; font-size: 15px; line-height: 20px; text-align: left; text-decoration: none; cursor: pointer; }
.pc-sidenav__item:hover { background: var(--grey-050); color: var(--ink); }
.pc-sidenav__item[aria-current="page"] { background: var(--grey-100); color: var(--ink); font-weight: 700; }
.pc-sidenav__text { flex: 1; min-width: 0; }
.pc-sidenav__title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-sidenav__meta { display: block; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--ink-subtle); }
.pc-sidenav__item svg { width: 20px; height: 20px; flex: none; }
.pc-sidenav__footer { padding: var(--space-3); border-top: 1px solid var(--border); font-size: 12px; line-height: 16px; color: var(--ink-subtle); }

/* Tabs */
.pc-tabs { display: flex; align-items: stretch; gap: var(--space-6); font-family: var(--font-display); }
.pc-tabs--underline { border-bottom: 1px solid var(--border); }
.pc-tabs--bare { border-bottom: 0; height: 100%; }
.pc-tab { display: inline-flex; align-items: center; gap: var(--space-2); border: 0; background: transparent; cursor: pointer; font: inherit; font-weight: 500; font-size: 16px; color: var(--ink-muted); text-decoration: none; white-space: nowrap; }
.pc-tab:hover { color: var(--ink); }
.pc-tab[aria-selected="true"], .pc-tab[aria-current="page"] { color: var(--ink); }
.pc-tabs--underline .pc-tab, .pc-tabs--bare .pc-tab { padding: var(--space-3) 0; border-bottom: 3px solid transparent; margin-bottom: -1px; }
.pc-tabs--underline .pc-tab[aria-selected="true"], .pc-tabs--underline .pc-tab[aria-current="page"], .pc-tabs--bare .pc-tab[aria-selected="true"], .pc-tabs--bare .pc-tab[aria-current="page"] { border-bottom-color: var(--pc-indicator, var(--ink-accent)); font-weight: 600; }
.pc-tabs--pill { gap: var(--space-1); }
.pc-tabs--pill .pc-tab { height: 32px; padding: 0 var(--space-3); border-radius: var(--radius-round); font-size: 15px; }
.pc-tabs--pill .pc-tab:hover { background: var(--grey-050); }
.pc-tabs--pill .pc-tab[aria-selected="true"], .pc-tabs--pill .pc-tab[aria-current="page"] { background: var(--grey-200); font-weight: 600; }

/* SegmentedControl */
.pc-seg { display: inline-flex; align-items: center; gap: 2px; padding: 2px; border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--grey-050); font-family: var(--font-display); }
.pc-seg__opt { display: inline-flex; align-items: center; justify-content: center; gap: var(--space-1); height: 34px; min-width: 34px; padding: 0 var(--space-3); border: 1px solid transparent; border-radius: calc(var(--radius-md) - 2px); background: transparent; color: var(--ink-muted); font: inherit; font-weight: 500; font-size: 15px; cursor: pointer; white-space: nowrap; }
.pc-seg--sm .pc-seg__opt { height: 26px; min-width: 26px; padding: 0 var(--space-2); font-size: 14px; }
.pc-seg__opt:hover { color: var(--ink); }
.pc-seg__opt[aria-checked="true"] { background: var(--surface-raised); border-color: var(--border); color: var(--ink); font-weight: 600; box-shadow: var(--shadow-sm); }
.pc-seg__opt svg { width: 18px; height: 18px; }

/* Menu */
.pc-menu { position: relative; display: inline-block; font-family: var(--font-body); }
.pc-menu__trigger svg.pc-menu__chev { width: 20px; height: 20px; margin-right: -4px; }
.pc-menu__chev .secondary { fill: currentColor; }
.pc-menu__list { position: absolute; z-index: 10; top: calc(100% + var(--space-1)); left: 0; min-width: 200px; margin: 0; padding: var(--space-1); list-style: none; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); }
.pc-menu--end .pc-menu__list { left: auto; right: 0; }
.pc-menu__item { display: flex; align-items: center; gap: var(--space-2); width: 100%; min-height: 36px; padding: var(--space-1) var(--space-3); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink); font: inherit; font-size: 15px; line-height: 20px; text-align: left; text-decoration: none; cursor: pointer; white-space: nowrap; }
.pc-menu__item:hover, .pc-menu__item:focus-visible { background: var(--grey-200); outline: none; }
.pc-menu__item--danger { color: var(--danger-700); }
.pc-menu__item[aria-checked="true"] { font-weight: 700; }
.pc-menu__mark { flex: none; width: 16px; text-align: center; }
.pc-menu__item svg { width: 20px; height: 20px; flex: none; }
.pc-menu__sep { height: 1px; margin: var(--space-1) 0; background: var(--border); }

/* Select */
.pc-select { position: relative; display: block; }
.pc-select select { appearance: none; -webkit-appearance: none; width: 100%; height: 40px; padding: 0 var(--space-8) 0 var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16px; cursor: pointer; }
.pc-select select:hover { border-color: var(--grey-500); }
.pc-select select:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.pc-select select[disabled] { background: var(--grey-050); color: var(--ink-subtle); border-color: var(--grey-200); cursor: not-allowed; }
.pc-select svg { position: absolute; right: var(--space-2); top: 50%; width: 20px; height: 20px; margin-top: -10px; pointer-events: none; }
.pc-select svg .secondary { fill: var(--ink-muted); }
.pc-field--error .pc-select select { border-color: var(--danger); }

/* Checkbox */
.pc-check { display: inline-flex; align-items: flex-start; gap: var(--space-2); font-family: var(--font-body); font-size: 16px; line-height: 24px; color: var(--ink); cursor: pointer; }
.pc-check input { appearance: none; -webkit-appearance: none; flex: none; position: relative; width: 20px; height: 20px; margin: 2px 0 0; border: 1px solid var(--border-strong); border-radius: var(--radius-sm); background: var(--surface); cursor: pointer; }
.pc-check input:hover { border-color: var(--grey-500); }
.pc-check input:checked { background: var(--accent); border-color: var(--accent); }
.pc-check input:checked::after { content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px; border: solid var(--on-accent); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.pc-check input[disabled] { background: var(--grey-100); border-color: var(--grey-200); cursor: not-allowed; }
.pc-check--disabled { color: var(--ink-subtle); cursor: not-allowed; }
.pc-check__hint { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); }

/* StatTile */
.pc-stat { display: flex; flex-direction: column; gap: var(--space-1); padding: var(--space-4); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); font-family: var(--font-body); color: var(--ink); min-width: 0; }
.pc-stat__label { display: flex; align-items: center; gap: var(--space-1); font-family: var(--font-display); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); margin: 0; }
.pc-stat__value { font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 36px; font-variant-numeric: tabular-nums; margin: 0; }
.pc-stat__unit { font-size: 18px; font-weight: 600; margin-left: 2px; color: var(--ink-muted); }
.pc-stat__delta { display: flex; flex-wrap: wrap; align-items: baseline; column-gap: var(--space-2); font-size: 14px; line-height: 20px; font-variant-numeric: tabular-nums; color: var(--ink-muted); }
.pc-stat__delta b { font-family: var(--font-display); font-weight: 600; white-space: nowrap; }
.pc-stat__delta--positive b { color: var(--success-700); }
.pc-stat__delta--negative b { color: var(--danger-700); }

/* FilterBar */
.pc-filterbar { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); font-family: var(--font-display); }
.pc-chip { display: inline-flex; align-items: center; gap: var(--space-2); height: 32px; padding: 0 var(--space-1) 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-round); background: var(--surface); color: var(--ink); font-size: 14px; white-space: nowrap; }
.pc-chip__label { font-weight: 500; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.pc-chip__value { font-weight: 600; }
.pc-chip__remove { display: inline-flex; align-items: center; justify-content: center; width: 24px; height: 24px; padding: 0; border: 0; border-radius: var(--radius-round); background: transparent; cursor: pointer; }
.pc-chip__remove:hover { background: var(--grey-200); }
.pc-chip__remove svg { width: 16px; height: 16px; }
.pc-chip__remove svg .secondary { fill: var(--ink-muted); }
.pc-filterbar__reset { height: 32px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-md); background: transparent; color: var(--ink-accent); font: inherit; font-weight: 600; font-size: 14px; cursor: pointer; }
.pc-filterbar__reset:hover { background: var(--blue-050); }

/* List */
.pc-list { list-style: none; margin: 0; padding: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; font-family: var(--font-body); color: var(--ink); }
.pc-list__item + .pc-list__item { border-top: 1px solid var(--border); }
.pc-list__row { display: flex; align-items: center; gap: var(--space-3); width: 100%; padding: var(--space-3) var(--space-4); border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: none; }
a.pc-list__row, button.pc-list__row { cursor: pointer; }
a.pc-list__row:hover, button.pc-list__row:hover { background: var(--grey-050); }
.pc-list__leading { display: inline-flex; flex: none; }
.pc-list__text { flex: 1; min-width: 0; }
.pc-list__title { display: block; font-family: var(--font-display); font-weight: 600; font-size: 16px; line-height: 24px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-list__meta { display: block; font-size: 14px; line-height: 20px; color: var(--ink-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-list__trailing { flex: none; font-size: 14px; line-height: 20px; color: var(--ink-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
.pc-list__trailing--danger { color: var(--danger-700); font-weight: 700; }
.pc-list--compact .pc-list__row { padding: var(--space-2) var(--space-3); }

/* Native controls follow the theme */
[data-theme="dark"] .pc-field__input, [data-theme="dark"] .pc-select select, [data-theme="dark"] .pc-search input { color-scheme: dark; }

/* Divider */
.pc-divider { display: flex; align-items: center; gap: var(--space-3); margin: 0; border: 0; font-family: var(--font-display); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.pc-divider::before, .pc-divider::after { content: ""; flex: 1; height: 1px; background: var(--border); }
.pc-divider--plain { gap: 0; }

/* SearchField */
.pc-search { position: relative; display: flex; align-items: center; width: 100%; }
.pc-search input { width: 100%; height: 40px; padding: 0 var(--space-8) 0 40px; border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 16px; }
.pc-search input::placeholder { color: var(--ink-subtle); }
.pc-search input:hover { border-color: var(--grey-500); }
.pc-search input:focus { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.pc-search input::-webkit-search-cancel-button { -webkit-appearance: none; }
.pc-search__icon { position: absolute; left: 10px; width: 20px; height: 20px; pointer-events: none; }
.pc-search__icon .primary { fill: none; }
.pc-search__icon .secondary { fill: var(--ink-muted); }
.pc-search__clear { position: absolute; right: 6px; display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 0; border-radius: var(--radius-round); background: transparent; cursor: pointer; }
.pc-search__clear:hover { background: var(--grey-200); }
.pc-search__clear svg { width: 16px; height: 16px; }
.pc-search__clear svg .secondary { fill: var(--ink-muted); }
.pc-search--sm input { height: 32px; padding-left: 34px; font-size: 14px; }
.pc-search--sm .pc-search__icon { left: 8px; width: 18px; height: 18px; }

/* Tooltip */
.pc-tip { position: relative; display: inline-flex; }
.pc-tip__bubble { position: absolute; z-index: 20; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); width: max-content; max-width: 240px; padding: var(--space-1) var(--space-2); border-radius: var(--radius-sm); background: var(--grey-800); color: var(--surface); font-family: var(--font-body); font-size: 13px; line-height: 18px; font-weight: 400; letter-spacing: 0; text-transform: none; text-align: left; white-space: normal; opacity: 0; visibility: hidden; pointer-events: none; }
.pc-tip:hover .pc-tip__bubble, .pc-tip:focus-within .pc-tip__bubble, .pc-tip--open .pc-tip__bubble { opacity: 1; visibility: visible; }
.pc-tip--bottom .pc-tip__bubble { bottom: auto; top: calc(100% + 6px); }
.pc-help { display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; padding: 0; border: 1px solid var(--border-strong); border-radius: var(--radius-round); background: transparent; color: var(--ink-muted); font-family: var(--font-display); font-weight: 600; font-size: 11px; line-height: 1; letter-spacing: 0; cursor: help; }

/* EmptyState */
.pc-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-2); padding: var(--space-8) var(--space-6); font-family: var(--font-body); color: var(--ink-muted); }
.pc-empty__icon { display: inline-flex; margin-bottom: var(--space-2); }
.pc-empty__icon svg, .pc-empty__icon .pc-icon { width: 48px; height: 48px; }
.pc-empty__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 20px; line-height: 28px; color: var(--ink); }
.pc-empty__text { margin: 0; max-width: 44ch; font-size: 16px; line-height: 24px; }
.pc-empty__action { margin-top: var(--space-3); }

/* Dialog */
.pc-dialog-backdrop { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; padding: var(--space-4); background: var(--scrim); }
.pc-dialog { display: flex; flex-direction: column; width: 100%; max-width: 480px; max-height: 100%; background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-lg); box-shadow: var(--shadow-xl); font-family: var(--font-body); color: var(--ink); outline: none; }
.pc-dialog--lg { max-width: 720px; }
.pc-dialog__header { display: flex; align-items: flex-start; justify-content: space-between; gap: var(--space-4); padding: var(--space-6) var(--space-6) 0; }
.pc-dialog__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 28px; }
.pc-dialog__header .pc-iconbtn { margin: -6px -8px 0 0; }
.pc-dialog__body { padding: var(--space-3) var(--space-6) var(--space-2); overflow-y: auto; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.pc-dialog__footer { display: flex; justify-content: flex-end; gap: var(--space-2); padding: var(--space-4) var(--space-6) var(--space-6); }

/* Toast */
.pc-toasts { position: fixed; right: var(--space-4); bottom: var(--space-4); z-index: 60; display: grid; gap: var(--space-2); width: min(360px, calc(100% - 32px)); }
.pc-toast { display: flex; align-items: flex-start; gap: var(--space-3); padding: var(--space-3) var(--space-3) var(--space-3) var(--space-4); background: var(--surface-raised); border: 1px solid var(--border); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); font-family: var(--font-body); font-size: 15px; line-height: 22px; color: var(--ink); }
.pc-toast__icon { flex: none; width: 24px; height: 24px; }
.pc-toast__icon .secondary { fill: var(--surface-raised); }
.pc-toast--success .pc-toast__icon .primary { fill: var(--success); }
.pc-toast--warning .pc-toast__icon .primary { fill: var(--warning); }
.pc-toast--danger .pc-toast__icon .primary { fill: var(--danger); }
.pc-toast--info .pc-toast__icon .primary { fill: var(--info); }
.pc-toast__body { flex: 1; min-width: 0; }
.pc-toast__title { margin: 0; font-family: var(--font-display); font-weight: 600; }
.pc-toast__text { margin: 0; color: var(--ink-muted); }
.pc-toast__action { margin: var(--space-1) 0 0 calc(-1 * var(--space-3)); }
.pc-toast .pc-iconbtn { margin: -4px -4px 0 0; }

/* Spinner, Skeleton, TypingIndicator */
.pc-spinner { display: inline-block; flex: none; width: 24px; height: 24px; border: 3px solid var(--grey-200); border-top-color: var(--ink-accent); border-radius: var(--radius-round); animation: pc-spin .8s linear infinite; }
.pc-spinner--sm { width: 16px; height: 16px; border-width: 2px; }
.pc-spinner--lg { width: 40px; height: 40px; border-width: 4px; }
@keyframes pc-spin { to { transform: rotate(360deg); } }
.pc-skeleton { display: block; height: 16px; border-radius: var(--radius-sm); background: var(--grey-100); animation: pc-pulse 1.6s ease-in-out infinite; }
.pc-skeleton + .pc-skeleton { margin-top: var(--space-2); }
@keyframes pc-pulse { 50% { opacity: .5; } }
.pc-typing { display: inline-flex; align-items: center; gap: 4px; height: 24px; }
.pc-typing span { width: 6px; height: 6px; border-radius: var(--radius-round); background: var(--ink-subtle); animation: pc-bounce 1.2s ease-in-out infinite; }
.pc-typing span:nth-child(2) { animation-delay: .15s; }
.pc-typing span:nth-child(3) { animation-delay: .3s; }
@keyframes pc-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .pc-spinner { animation-duration: 2.4s; } .pc-skeleton, .pc-typing span { animation: none; } }

/* PageHeader */
.pc-pagehead { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--space-4) var(--space-6); font-family: var(--font-body); color: var(--ink); }
.pc-pagehead__main { min-width: 0; }
.pc-pagehead__eyebrow { margin: 0 0 var(--space-1); font-family: var(--font-display); font-weight: 500; font-size: 13px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }
.pc-pagehead__title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 40px; }
.pc-pagehead__text { margin: var(--space-1) 0 0; font-size: 16px; line-height: 24px; color: var(--ink-muted); }
.pc-pagehead__aside { display: flex; align-items: center; gap: var(--space-4); }
.pc-pagehead__stats { display: flex; }
.pc-pagehead__stat { display: flex; flex-direction: column; align-items: center; padding: 0 var(--space-4); }
.pc-pagehead__stat + .pc-pagehead__stat { border-left: 1px solid var(--border); }
.pc-pagehead__num { font-family: var(--font-display); font-weight: 700; font-size: 28px; line-height: 32px; font-variant-numeric: tabular-nums; }
.pc-pagehead__lab { font-family: var(--font-display); font-weight: 500; font-size: 12px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-muted); }

/* AuthCard */
.pc-auth { display: flex; flex-direction: column; align-items: center; gap: var(--space-6); width: 100%; max-width: 400px; margin: 0 auto; font-family: var(--font-body); color: var(--ink); }
.pc-auth__logo img { height: 40px; width: auto; display: block; }
.pc-auth__card { display: grid; gap: var(--space-4); width: 100%; padding: var(--space-6); background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); }
.pc-auth__title { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 32px; text-align: center; }
.pc-auth__text { margin: 0; font-size: 16px; line-height: 24px; text-align: center; color: var(--ink-muted); }
.pc-auth__footer { font-size: 14px; line-height: 20px; text-align: center; color: var(--ink-muted); }

/* Chat */
.pc-chat { display: flex; flex-direction: column; gap: var(--space-4); }
.pc-msg { display: flex; flex-direction: column; max-width: min(680px, 85%); font-family: var(--font-body); font-size: 16px; line-height: 24px; color: var(--ink); }
.pc-msg--user { align-self: flex-end; align-items: flex-end; }
.pc-msg--assistant { align-self: flex-start; align-items: flex-start; }
.pc-msg__bubble { padding: var(--space-3) var(--space-4); border-radius: var(--radius-lg); }
.pc-msg--user .pc-msg__bubble { background: var(--pc-bubble, var(--blue-100)); }
.pc-msg--assistant .pc-msg__bubble { background: var(--surface); border: 1px solid var(--border); }
.pc-msg__meta { display: flex; align-items: center; gap: var(--space-1); margin-top: var(--space-1); font-size: 13px; line-height: 18px; color: var(--ink-subtle); font-variant-numeric: tabular-nums; }
.pc-chatinput { display: flex; align-items: flex-end; gap: var(--space-2); padding: var(--space-2); border: 1px solid var(--border-strong); border-radius: var(--radius-lg); background: var(--surface); }
.pc-chatinput:focus-within { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.pc-chatinput textarea { flex: 1; height: 40px; min-height: 40px; max-height: 200px; padding: var(--space-2); border: 0; background: transparent; color: var(--ink); font-family: var(--font-body); font-size: 16px; line-height: 24px; resize: none; outline: none; }
.pc-chatinput textarea::placeholder { color: var(--ink-subtle); }
.pc-chatinput__send { display: inline-flex; align-items: center; justify-content: center; flex: none; width: 40px; height: 40px; padding: 0; border: 0; border-radius: var(--radius-md); background: var(--accent); cursor: pointer; }
.pc-chatinput__send:hover { background: var(--accent-hover); }
.pc-chatinput__send:active { background: var(--accent-active); }
.pc-chatinput__send svg { width: 20px; height: 20px; }
.pc-chatinput__send svg .primary, .pc-chatinput__send svg .secondary { fill: var(--on-accent); }
.pc-chatinput__send svg .primary { opacity: .6; }
.pc-chatinput__send[disabled] { background: var(--grey-100); cursor: not-allowed; }
.pc-chatinput__send[disabled] svg .primary, .pc-chatinput__send[disabled] svg .secondary { fill: var(--ink-subtle); }
.pc-suggest { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--space-2); }
.pc-suggest__item { height: 36px; padding: 0 var(--space-3); border: 1px solid var(--border-strong); border-radius: var(--radius-round); background: var(--surface); color: var(--ink); font-family: var(--font-body); font-size: 15px; cursor: pointer; white-space: nowrap; }
.pc-suggest__item:hover { background: var(--grey-050); border-color: var(--grey-500); }

/* Prose */
.pc-prose { font-family: var(--font-body); font-size: 17px; line-height: 28px; color: var(--ink); }
.pc-prose--compact { font-size: 16px; line-height: 24px; }
.pc-prose > :first-child { margin-top: 0; }
.pc-prose > :last-child { margin-bottom: 0; }
.pc-prose p { margin: 0 0 var(--space-4); }
.pc-prose h2 { margin: var(--space-8) 0 var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 28px; line-height: 32px; }
.pc-prose h3 { margin: var(--space-6) 0 var(--space-2); font-family: var(--font-display); font-weight: 600; font-size: 22px; line-height: 28px; }
.pc-prose h4 { margin: var(--space-4) 0 var(--space-1); font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 24px; }
.pc-prose strong { font-weight: 700; }
.pc-prose a { color: var(--ink-accent); text-decoration: underline; text-underline-offset: 2px; }
.pc-prose ul, .pc-prose ol { margin: 0 0 var(--space-4); padding-left: var(--space-6); }
.pc-prose li + li { margin-top: var(--space-1); }
.pc-prose code { padding: 1px 6px; border-radius: var(--radius-sm); background: var(--grey-100); font-family: var(--font-mono); font-size: .875em; font-weight: 500; }
.pc-prose pre { margin: 0 0 var(--space-4); padding: var(--space-3) var(--space-4); border: 1px solid var(--border); border-radius: var(--radius-md); background: var(--surface-muted); overflow-x: auto; font-family: var(--font-mono); font-size: 15px; line-height: 24px; }
.pc-prose pre code { padding: 0; background: none; font-size: inherit; font-weight: 400; }
.pc-prose blockquote { margin: 0 0 var(--space-4); padding-left: var(--space-4); border-left: 3px solid var(--border-strong); color: var(--ink-muted); }
.pc-prose table { width: 100%; margin: 0 0 var(--space-4); border-collapse: collapse; font-size: 15px; line-height: 22px; }
.pc-prose th { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border-strong); font-family: var(--font-display); font-weight: 600; font-size: 14px; text-align: left; color: var(--ink-muted); }
.pc-prose td { padding: var(--space-2) var(--space-3); border-bottom: 1px solid var(--border); font-variant-numeric: tabular-nums; }
.pc-prose hr { height: 1px; margin: var(--space-6) 0; border: 0; background: var(--border); }

/* PropertyChip */
.pc-prop { display: inline-flex; align-items: center; gap: var(--space-1); height: 32px; padding: 0 var(--space-2) 0 var(--space-3); border: 1px solid var(--border); border-radius: var(--radius-round); background: var(--surface); color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 14px; cursor: pointer; white-space: nowrap; }
.pc-prop:hover { background: var(--grey-050); border-color: var(--border-strong); }
.pc-prop svg { width: 16px; height: 16px; flex: none; }
.pc-prop .pc-icon { width: 16px; height: 16px; }
.pc-prop__label { font-weight: 500; color: var(--ink-muted); }
.pc-prop--empty .pc-prop__value { font-weight: 500; color: var(--ink-subtle); }
.pc-prop__chev .secondary { fill: var(--ink-muted); }

/* Disclosure */
.pc-disc { font-family: var(--font-body); color: var(--ink); }
.pc-disc__head { display: flex; align-items: center; gap: var(--space-2); width: 100%; padding: var(--space-2) 0; border: 0; background: transparent; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: 18px; line-height: 24px; text-align: left; cursor: pointer; }
.pc-disc__chev { width: 20px; height: 20px; flex: none; }
.pc-disc__chev .secondary { fill: var(--ink-muted); }
.pc-disc__head[aria-expanded="false"] .pc-disc__chev { transform: rotate(-90deg); }
.pc-disc__body { padding: var(--space-1) 0 var(--space-4); }

/* EditorShell */
.pc-editor { border: 1px solid var(--border-strong); border-radius: var(--radius-md); background: var(--surface); overflow: hidden; font-family: var(--font-body); color: var(--ink); }
.pc-editor:focus-within { outline: 2px solid var(--focus); outline-offset: 0; border-color: var(--focus); }
.pc-editor__bar { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; padding: var(--space-1); border-bottom: 1px solid var(--border); background: var(--surface-muted); }
.pc-editor__tool { display: inline-flex; align-items: center; justify-content: center; min-width: 32px; height: 32px; padding: 0 var(--space-2); border: 0; border-radius: var(--radius-sm); background: transparent; color: var(--ink-muted); font-family: var(--font-display); font-weight: 600; font-size: 15px; cursor: pointer; }
.pc-editor__tool:hover, .pc-editor__tool[aria-pressed="true"] { background: var(--grey-200); color: var(--ink); }
.pc-editor__tool svg { width: 18px; height: 18px; }
.pc-editor__sep { width: 1px; height: 20px; margin: 0 var(--space-1); background: var(--border); }
.pc-editor__area { min-height: 96px; padding: var(--space-3) var(--space-4); outline: none; font-size: 16px; line-height: 24px; }
.pc-editor__area:empty::before { content: attr(data-placeholder); color: var(--ink-subtle); }
.pc-editor__foot { display: flex; align-items: center; justify-content: space-between; gap: var(--space-3); padding: var(--space-2) var(--space-3); border-top: 1px solid var(--border); font-size: 13px; line-height: 18px; color: var(--ink-muted); }

/* FileDrop */
.pc-drop { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-3); padding: var(--space-4); border: 1px dashed var(--border-strong); border-radius: var(--radius-md); background: var(--surface); font-family: var(--font-body); font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.pc-drop--over { border-style: solid; border-color: var(--focus); background: var(--blue-050); color: var(--ink); }
.pc-drop input[type="file"] { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Comment */
.pc-comments { display: grid; gap: var(--space-4); margin: 0; padding: 0; list-style: none; }
.pc-comment { display: flex; gap: var(--space-3); font-family: var(--font-body); color: var(--ink); }
.pc-comment__body { flex: 1; min-width: 0; }
.pc-comment__head { display: flex; align-items: baseline; flex-wrap: wrap; gap: var(--space-2); }
.pc-comment__author { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 20px; }
.pc-comment__time { font-size: 13px; line-height: 18px; color: var(--ink-muted); }
.pc-comment__text { margin-top: 2px; font-size: 16px; line-height: 24px; }

/* SplitButton */
.pc-split { display: inline-flex; }
.pc-split > .pc-btn { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.pc-split .pc-menu__trigger { border-top-left-radius: 0; border-bottom-left-radius: 0; padding: 0 var(--space-2); margin-left: 1px; }
.pc-split--secondary .pc-menu__trigger { margin-left: -1px; }
.pc-split .pc-menu__trigger svg.pc-menu__chev { margin: 0; }

/* Breadcrumb */
.pc-crumbs { font-family: var(--font-body); font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.pc-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-1) var(--space-2); margin: 0; padding: 0; list-style: none; }
.pc-crumbs li { display: inline-flex; align-items: center; gap: var(--space-2); min-width: 0; }
.pc-crumbs li + li::before { content: "›"; content: "›" / ""; color: var(--ink-subtle); }
.pc-crumbs a { color: var(--ink-muted); text-decoration: underline; text-underline-offset: 2px; border-radius: 2px; }
.pc-crumbs a:hover { color: var(--ink); }
.pc-crumbs a:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.pc-crumbs [aria-current="page"] { color: var(--ink); }
.pc-crumbs [aria-current="page"] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 40ch; }
.pc-crumbs--band, .pc-crumbs--band a, .pc-crumbs--band a:hover, .pc-crumbs--band [aria-current="page"], .pc-crumbs--band li + li::before { color: var(--on-band); }
.pc-crumbs--band a:focus-visible { outline-color: var(--on-band); }
