:root {
    --runner-family-primary: #00A4A6;
    --runner-family-primary-dark: #008486;
    --runner-family-primary-focus: rgba(0, 164, 166, 0.2);
    --runner-family-primary-focus-soft: rgba(0, 164, 166, 0.12);
    --runner-family-primary-focus-faint: rgba(0, 164, 166, 0.1);
    --runner-family-primary-subtle: rgba(0, 164, 166, 0.08);
    --runner-family-primary-hover: rgba(0, 164, 166, 0.055);
    --runner-family-primary-faint: rgba(0, 164, 166, 0.04);
    --runner-family-primary-border: rgba(0, 164, 166, 0.2);
    --runner-family-primary-border-strong: rgba(0, 164, 166, 0.28);
    --runner-family-logo-dark: #002D30;
    --runner-family-logo-mid: #00686C;
    --runner-family-logo-bright: #009294;
    --runner-family-orange: #EF8441;
    --runner-family-orange-dark: #D6722E;
    --runner-family-canvas: #F8FAFC;
    --runner-family-canvas-warm: #F8FAFB;
    --runner-family-surface: #FFFFFF;
    --runner-family-surface-raised: #fbfdfe;
    --runner-family-border: #DDE4EB;
    --runner-family-border-light: #E8EEF3;
    --runner-family-border-translucent: rgba(221, 228, 235, 0.82);
    --runner-family-text: #2A3F5F;
    --runner-family-muted: #64748B;
    --runner-family-soft: #94A3B8;
    --runner-family-success: #059669;
    --runner-family-danger: #DC2626;
    --runner-family-warning: #D97706;
    --runner-family-warning-bg: #FFF8F3;
    --runner-family-warning-border: rgba(239, 132, 65, 0.34);
    --runner-family-error-bg: #FFF4F0;
    --runner-family-error-border: rgba(214, 114, 46, 0.34);
    --runner-family-error-text: #9A3412;
    --runner-family-neutral-tag-bg: #f8fafc;
    --runner-family-neutral-tag-border: rgba(221, 228, 235, 0.95);

    --runner-family-font-stack: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --runner-family-font-stack-compact: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Arial, sans-serif;
    --runner-family-font-xs: 11.5px;
    --runner-family-font-sm: 12.5px;
    --runner-family-font-base: 13px;
    --runner-family-font-md: 14px;
    --runner-family-font-lg: 18px;
    --runner-family-chrome-font-size: 0.8rem;
    --runner-family-label-size: 0.68rem;
    --runner-family-body-size: 0.8rem;
    --runner-family-body-line-height: 1.45;
    --runner-family-compact-line-height: 1.35;
    --runner-family-summary-label-line-height: 1.34;
    --runner-family-summary-value-line-height: 1.16;
    --runner-family-table-header-font-size: 0.63rem;
    --runner-family-table-body-font-size: 0.76rem;
    --runner-family-table-header-line-height: 1.24;
    --runner-family-table-row-line-height: 1.35;
    --runner-family-table-row-padding: 0.46rem 0.62rem;

    --runner-family-radius-tag: 5px;
    --runner-family-radius-pill: 7px;
    --runner-family-radius-strict: 8px;
    --runner-family-radius-control: 10px;
    --runner-family-radius-surface: 12px;
    --runner-family-radius-shell: 14px;
    --runner-family-shell-max-width: 1440px;
    --runner-family-header-min-height: 65px;
    --runner-family-header-padding: 8px 14px;
    --runner-family-header-gap: 12px;
    --runner-family-logo-size: 48px;
    --runner-family-logo-mark-width: 30px;
    --runner-family-logo-mark-height: 38px;
    --runner-family-control-size: 44px;
    --runner-family-icon-size: 16px;
    --runner-family-search-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.05' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3C/svg%3E");
    --runner-family-search-open-width: min(22rem, calc(100vw - 7.5rem));
    --runner-family-cell-min-height: 56px;
    --runner-family-cell-compact-min-height: 44px;
    --runner-family-cell-padding: 0.5rem 0.72rem;
    --runner-family-cell-compact-padding: 0.28rem 0.44rem;
    --runner-family-summary-cell-padding: 0.42rem 0.72rem;
    --runner-family-cell-gap: 0.16rem;
    --runner-family-cell-compact-gap: 0.2rem;
    --runner-family-cell-label-size: 0.66rem;
    --runner-family-cell-value-size: 0.88rem;
    --runner-family-workspace-title-size: var(--runner-family-chrome-font-size);
    --runner-family-workspace-title-weight: 560;
    --runner-family-workspace-title-line-height: 1.12;
    --runner-family-surface-title-size: var(--runner-family-chrome-font-size);
    --runner-family-surface-title-weight: 560;
    --runner-family-surface-title-line-height: 1.18;
    --runner-family-panel-label-size: 0.72rem;
    --runner-family-panel-label-weight: 600;
    --runner-family-panel-label-line-height: 1.24;
    --runner-family-control-label-size: var(--runner-family-cell-label-size);
    --runner-family-control-label-weight: 600;
    --runner-family-control-label-line-height: 1.12;
    --runner-family-data-value-size: var(--runner-family-chrome-font-size);
    --runner-family-data-value-weight: 560;
    --runner-family-data-value-line-height: var(--runner-family-summary-value-line-height);
    --runner-family-summary-label-size: var(--runner-family-chrome-font-size);
    --runner-family-summary-label-weight: 500;
    --runner-family-summary-value-size: var(--runner-family-chrome-font-size);
    --runner-family-summary-value-weight: 500;
    --runner-family-rail-item-min-height: 54px;
    --runner-family-rail-inset: 5px 6px;
    --runner-family-rail-top-inset: 12px;
    --runner-family-action-button-min-height: 24px;
    --runner-family-popover-shadow: 0 14px 30px rgba(42, 63, 95, 0.12), 0 2px 6px rgba(42, 63, 95, 0.05);

    --runner-family-shadow-header: 0 1px 0 rgba(42, 63, 95, 0.025);
    --runner-family-shadow-xs: 0 1px 4px rgba(42, 63, 95, 0.025);
    --runner-family-shadow-xs-neutral: 0 1px 4px rgba(0, 0, 0, 0.025);
    --runner-family-shadow-sm: 0 1px 3px rgba(42, 63, 95, 0.08);
    --runner-family-shadow-md: 0 10px 22px rgba(42, 63, 95, 0.075);
    --runner-family-shadow-md-neutral: 0 2px 8px rgba(0, 0, 0, 0.03);
    --runner-family-shadow-card: 0 14px 34px rgba(42, 63, 95, 0.06);
    --runner-family-shadow-logo: drop-shadow(0 8px 14px rgba(0, 45, 48, 0.12));
    --runner-family-shadow-logo-hover: 0 10px 22px rgba(0, 45, 48, 0.08);
    --runner-family-shadow-search: 0 9px 22px rgba(42, 63, 95, 0.07), inset 0 1px 0 rgba(255, 255, 255, 0.98);

    --runner-family-ease: cubic-bezier(0.16, 1, 0.3, 1);
    --runner-family-transition-fast: 0.18s ease;
    --runner-family-transition-standard: 0.22s var(--runner-family-ease);
    --runner-family-transition-search: 0.28s var(--runner-family-ease);
    --runner-family-focus-outline: 2px solid var(--runner-family-primary);
    --runner-family-focus-offset: 2px;
    --runner-family-focus-shadow: 0 0 0 4px var(--runner-family-primary-focus);
    --runner-family-focus-shadow-soft: 0 0 0 4px var(--runner-family-primary-focus-soft);
}

html {
    scrollbar-gutter: stable;
}

.runner-family-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    :root {
        --runner-family-transition-fast: 0.01ms linear;
        --runner-family-transition-standard: 0.01ms linear;
        --runner-family-transition-search: 0.01ms linear;
    }
}

.runner-family-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255, 255, 255, 0.94);
    border-bottom: 1px solid var(--runner-family-border-translucent);
    box-shadow: var(--runner-family-shadow-header);
    backdrop-filter: blur(16px) saturate(150%);
}

.runner-family-header__inner {
    max-width: var(--runner-family-shell-max-width);
    width: 100%;
    min-height: var(--runner-family-header-min-height);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--runner-family-header-gap);
    margin: 0 auto;
    padding: var(--runner-family-header-padding);
}

.runner-family-logo {
    width: var(--runner-family-logo-size);
    min-height: var(--runner-family-logo-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: start;
    color: inherit;
    text-decoration: none;
    border-radius: var(--runner-family-radius-shell);
    transition: background var(--runner-family-transition-standard), box-shadow var(--runner-family-transition-standard), transform var(--runner-family-transition-standard);
}

.runner-family-logo:hover {
    background: var(--runner-family-primary-hover);
    box-shadow: var(--runner-family-shadow-logo-hover);
    transform: translateY(-1px);
}

.runner-family-logo:active {
    transform: translateY(0);
}

.runner-family-logo__mark {
    width: var(--runner-family-logo-mark-width);
    height: var(--runner-family-logo-mark-height);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.runner-family-logo__mark img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    filter: var(--runner-family-shadow-logo);
}

.runner-family-header-spacer {
    min-width: 0;
}

.runner-family-header-tools {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    gap: 0.34rem;
    min-width: 0;
}

.runner-family-header-icon-button {
    position: relative;
    width: var(--runner-family-control-size);
    min-width: var(--runner-family-control-size);
    min-height: var(--runner-family-control-size);
    flex: 0 0 var(--runner-family-control-size);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: var(--runner-family-radius-shell);
    background: transparent;
    color: var(--runner-family-muted);
    cursor: pointer;
    padding: 0;
    transition: background var(--runner-family-transition-standard), color var(--runner-family-transition-standard), box-shadow var(--runner-family-transition-standard), transform var(--runner-family-transition-standard), opacity var(--runner-family-transition-fast);
}

.runner-family-header-icon-button svg {
    width: var(--runner-family-icon-size);
    min-width: var(--runner-family-icon-size);
    height: var(--runner-family-icon-size);
    flex: 0 0 var(--runner-family-icon-size);
    stroke: currentColor;
    stroke-width: 2.05;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.runner-family-header-icon-button:hover,
.runner-family-header-icon-button.active,
.runner-family-header-search.is-open .runner-family-search-toggle {
    color: var(--runner-family-primary-dark);
    background: var(--runner-family-primary-hover);
    box-shadow: inset 0 0 0 1px var(--runner-family-primary-focus-faint);
}

.runner-family-header-icon-button:hover {
    transform: translateY(-1px);
}

.runner-family-header-icon-button:active {
    box-shadow: inset 0 1px 3px rgba(42, 63, 95, 0.08);
    transform: translateY(0) scale(0.97);
}

.runner-family-header-icon-button:disabled {
    cursor: default;
    opacity: 0.64;
}

.runner-family-header-search {
    --runner-family-header-search-open-width: var(--runner-family-search-open-width);
    position: relative;
    width: var(--runner-family-control-size);
    min-width: var(--runner-family-control-size);
    min-height: var(--runner-family-control-size);
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
    transition: width var(--runner-family-transition-search);
}

.runner-family-header-search.is-open {
    width: var(--runner-family-header-search-open-width);
}

.runner-family-search-toggle {
    z-index: 2;
    flex: 0 0 var(--runner-family-control-size);
}

.runner-family-search-toggle::before {
    content: "";
    width: var(--runner-family-icon-size);
    height: var(--runner-family-icon-size);
    flex: 0 0 var(--runner-family-icon-size);
    background: currentColor;
    -webkit-mask: var(--runner-family-search-icon) center / contain no-repeat;
    mask: var(--runner-family-search-icon) center / contain no-repeat;
}

.runner-family-search-toggle > svg {
    display: none;
}

.runner-family-header-search.is-open .runner-family-search-toggle {
    position: absolute;
    left: 0;
    top: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
}

.runner-family-header-search.is-open .runner-family-search-toggle:hover {
    background: transparent;
    box-shadow: none;
    transform: none;
}

.runner-family-search-field {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: var(--runner-family-control-size);
    border: 1px solid transparent;
    border-radius: var(--runner-family-radius-shell);
    background: transparent;
    color: var(--runner-family-text);
    padding: 0;
    font-size: 13.5px;
    font-weight: 540;
    opacity: 0;
    pointer-events: none;
    transform: scaleX(0.96);
    transform-origin: right center;
    transition: background 0.24s var(--runner-family-ease), border-color 0.24s var(--runner-family-ease), box-shadow 0.24s var(--runner-family-ease), color var(--runner-family-transition-fast), opacity var(--runner-family-transition-fast), padding 0.24s var(--runner-family-ease), transform 0.24s var(--runner-family-ease);
}

.runner-family-header-search.is-open .runner-family-search-field {
    border-color: rgba(221, 228, 235, 0.9);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(249, 252, 253, 0.96));
    box-shadow: var(--runner-family-shadow-search);
    opacity: 1;
    padding: 0 12px 0 41px;
    pointer-events: auto;
    transform: scaleX(1);
}

.runner-family-header-search.is-open:hover .runner-family-search-field {
    border-color: rgba(0, 164, 166, 0.22);
}

.runner-family-header-search.is-open:focus-within .runner-family-search-field {
    border-color: rgba(0, 164, 166, 0.5);
    background: var(--runner-family-surface);
    box-shadow: 0 0 0 4px rgba(0, 164, 166, 0.09), 0 12px 26px rgba(42, 63, 95, 0.08);
}

.runner-family-search-field::placeholder {
    color: #7c8a9d;
    opacity: 1;
}

.runner-family-search-field::-webkit-search-decoration,
.runner-family-search-field::-webkit-search-cancel-button,
.runner-family-search-field::-webkit-search-results-button,
.runner-family-search-field::-webkit-search-results-decoration {
    display: none;
}

.runner-family-search-field:focus,
.runner-family-search-field:focus-visible {
    outline: none;
    box-shadow: none;
}

.runner-family-surface {
    border: 1px solid var(--runner-family-border);
    border-radius: var(--runner-family-radius-surface);
    background: var(--runner-family-surface);
    box-shadow: var(--runner-family-shadow-xs);
    overflow: hidden;
}

.runner-family-surface--visible {
    overflow: visible;
}

.runner-family-surface--strict {
    border-radius: var(--runner-family-radius-strict);
    box-shadow: none;
}

.runner-family-surface-grid {
    display: grid;
    align-items: stretch;
    gap: 0;
}

.runner-family-summary-grid {
    --runner-family-summary-grid-columns: 7;
    --runner-family-summary-primary-span: 4;
    --runner-family-summary-global-primary-span: 3;
    display: grid;
    grid-template-columns: repeat(var(--runner-family-summary-grid-columns), minmax(0, 1fr));
    grid-auto-rows: minmax(var(--runner-family-cell-compact-min-height), auto);
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

.runner-family-summary-grid > .runner-family-cell {
    min-height: var(--runner-family-cell-compact-min-height);
    gap: var(--runner-family-cell-compact-gap);
    border-right: 1px solid var(--runner-family-border-light);
    border-bottom: 1px solid var(--runner-family-border-light);
    background: var(--runner-family-surface);
    padding: var(--runner-family-summary-cell-padding);
}

.runner-family-summary-grid > .runner-family-cell:nth-child(7n) {
    border-right: 0;
}

.runner-family-summary-grid .runner-family-cell-label {
    color: var(--runner-family-muted);
    font-size: var(--runner-family-summary-label-size);
    font-weight: var(--runner-family-summary-label-weight);
    line-height: var(--runner-family-summary-label-line-height);
}

.runner-family-summary-grid .runner-family-cell-value {
    color: var(--runner-family-text);
    font-size: var(--runner-family-summary-value-size);
    font-weight: var(--runner-family-summary-value-weight);
    line-height: var(--runner-family-summary-value-line-height);
}

.runner-family-summary-primary {
    grid-column: span var(--runner-family-summary-primary-span);
}

.runner-family-summary-grid.global-mode .runner-family-summary-primary {
    grid-column: span var(--runner-family-summary-global-primary-span);
}

.runner-family-toolbar {
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.46rem;
    border-bottom: 1px solid var(--runner-family-border-light);
}

.runner-family-cell {
    min-height: var(--runner-family-cell-min-height);
    min-width: 0;
    display: grid;
    align-content: center;
    gap: var(--runner-family-cell-gap);
    border-right: 1px solid var(--runner-family-border-light);
    padding: var(--runner-family-cell-padding);
}

.runner-family-cell--compact {
    min-height: var(--runner-family-cell-compact-min-height);
    gap: var(--runner-family-cell-compact-gap);
    padding: var(--runner-family-cell-compact-padding);
}

.runner-family-cell--title {
    align-content: center;
}

.runner-family-cell--flush {
    padding: 0;
}

.runner-family-cell-label {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--runner-family-muted);
    font-size: var(--runner-family-cell-label-size);
    font-weight: 600;
    letter-spacing: 0;
    line-height: var(--runner-family-summary-label-line-height);
    text-overflow: ellipsis;
    text-transform: none;
    white-space: nowrap;
}

.runner-family-cell-value,
.runner-family-cell-heading {
    display: block;
    min-width: 0;
    overflow: hidden;
    color: var(--runner-family-text);
    font-size: var(--runner-family-cell-value-size);
    font-weight: 650;
    letter-spacing: 0;
    line-height: var(--runner-family-summary-value-line-height);
    text-overflow: ellipsis;
    white-space: nowrap;
}

.runner-family-cell-heading {
    margin: 0;
    font-size: var(--runner-family-font-lg);
    font-weight: 680;
    line-height: 1.08;
}

.runner-family-cell-value--numeric {
    font-variant-numeric: tabular-nums;
}

@media (max-width: 1100px) {
    .runner-family-summary-grid {
        --runner-family-summary-grid-columns: 3;
        --runner-family-summary-primary-span: 3;
        --runner-family-summary-global-primary-span: 2;
    }

    .runner-family-summary-grid > .runner-family-cell:nth-child(7n) {
        border-right: 1px solid var(--runner-family-border-light);
    }

    .runner-family-summary-grid > .runner-family-cell:nth-child(3n) {
        border-right: 0;
    }
}

@media (max-width: 760px) {
    .runner-family-summary-grid {
        --runner-family-summary-grid-columns: 2;
        --runner-family-summary-primary-span: 2;
        --runner-family-summary-global-primary-span: 2;
    }

    .runner-family-summary-grid > .runner-family-cell:nth-child(3n),
    .runner-family-summary-grid > .runner-family-cell:nth-child(7n) {
        border-right: 1px solid var(--runner-family-border-light);
    }

    .runner-family-summary-grid > .runner-family-cell:nth-child(2n) {
        border-right: 0;
    }
}

@media (max-width: 520px) {
    .runner-family-summary-grid {
        --runner-family-summary-grid-columns: 1;
        --runner-family-summary-primary-span: 1;
        --runner-family-summary-global-primary-span: 1;
    }

    .runner-family-summary-grid > .runner-family-cell:nth-child(2n),
    .runner-family-summary-grid > .runner-family-cell:nth-child(3n),
    .runner-family-summary-grid > .runner-family-cell:nth-child(7n) {
        border-right: 0;
    }
}

.runner-family-workspace-title {
    margin: 0;
    color: var(--runner-family-text);
    font-size: var(--runner-family-workspace-title-size);
    font-weight: var(--runner-family-workspace-title-weight);
    line-height: var(--runner-family-workspace-title-line-height);
    letter-spacing: 0;
    text-transform: none;
}

.runner-family-surface-title {
    color: var(--runner-family-text);
    font-size: var(--runner-family-surface-title-size);
    font-weight: var(--runner-family-surface-title-weight);
    line-height: var(--runner-family-surface-title-line-height);
    letter-spacing: 0;
    text-transform: none;
}

.runner-family-panel-label {
    color: var(--runner-family-muted);
    font-size: var(--runner-family-panel-label-size);
    font-weight: var(--runner-family-panel-label-weight);
    line-height: var(--runner-family-panel-label-line-height);
    letter-spacing: 0;
    text-transform: none;
}

.runner-family-control-label {
    color: var(--runner-family-muted);
    font-size: var(--runner-family-control-label-size);
    font-weight: var(--runner-family-control-label-weight);
    line-height: var(--runner-family-control-label-line-height);
    letter-spacing: 0;
    text-transform: none;
}

.runner-family-data-value {
    color: var(--runner-family-text);
    font-size: var(--runner-family-data-value-size);
    font-weight: var(--runner-family-data-value-weight);
    line-height: var(--runner-family-data-value-line-height);
    letter-spacing: 0;
    text-transform: none;
}

.runner-family-rail {
    display: grid;
    align-items: stretch;
    min-width: 0;
    overflow: hidden;
}

.runner-family-rail-header {
    min-height: var(--runner-family-rail-item-min-height);
    display: grid;
    align-content: center;
    gap: 0.28rem;
    min-width: 0;
    border-right: 1px solid var(--runner-family-border-light);
    padding: 0.56rem 0.72rem;
}

.runner-family-rail-item {
    position: relative;
    isolation: isolate;
    min-width: 0;
    min-height: var(--runner-family-rail-item-min-height);
    border: 0;
    border-right: 1px solid var(--runner-family-border-light);
    background: var(--runner-family-surface);
    color: var(--runner-family-muted);
    transition: background var(--runner-family-transition-standard), color var(--runner-family-transition-standard), box-shadow var(--runner-family-transition-standard), transform var(--runner-family-transition-standard);
}

.runner-family-rail-button {
    position: relative;
    isolation: isolate;
    width: 100%;
    min-height: inherit;
    display: grid;
    align-content: center;
    gap: 0.18rem;
    border: 0;
    background: transparent;
    color: inherit;
    cursor: pointer;
    padding: 0.56rem 0.72rem;
    text-align: left;
    transition: color var(--runner-family-transition-standard), transform var(--runner-family-transition-standard);
}

.runner-family-rail-button::before {
    content: "";
    position: absolute;
    inset: var(--runner-family-rail-inset);
    z-index: -1;
    border: 1px solid transparent;
    border-radius: var(--runner-family-radius-strict);
    background: transparent;
    box-shadow: none;
    opacity: 0;
    transform: scale(0.985);
    transition: background var(--runner-family-transition-standard), border-color var(--runner-family-transition-standard), box-shadow var(--runner-family-transition-standard), opacity var(--runner-family-transition-standard), transform var(--runner-family-transition-standard);
}

.runner-family-rail-button::after {
    content: "";
    position: absolute;
    top: 0;
    right: var(--runner-family-rail-top-inset);
    left: var(--runner-family-rail-top-inset);
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(0, 132, 134, 0.42), transparent);
    opacity: 0;
    transition: opacity var(--runner-family-transition-standard);
}

.runner-family-rail-button:hover::before,
.runner-family-rail-button:focus-visible::before {
    border-color: rgba(0, 132, 134, 0.16);
    background: linear-gradient(180deg, rgba(0, 164, 166, 0.052), rgba(0, 164, 166, 0.018));
    box-shadow: 0 8px 18px rgba(42, 63, 95, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    opacity: 1;
    transform: scale(1);
}

.runner-family-rail-button:hover::after,
.runner-family-rail-button:focus-visible::after,
.runner-family-rail-item.is-active .runner-family-rail-button::after,
.runner-family-rail-item.is-selected .runner-family-rail-button::after,
.runner-family-rail-button.is-active::after,
.runner-family-rail-button.is-selected::after {
    opacity: 0.46;
}

.runner-family-rail-button:active {
    transform: translateY(1px);
}

.runner-family-rail-button:active::before {
    background: rgba(0, 164, 166, 0.055);
    box-shadow: inset 0 1px 3px rgba(42, 63, 95, 0.1);
    transform: scale(0.985);
}

.runner-family-rail-item.is-active,
.runner-family-rail-item.is-selected,
.runner-family-rail-button.is-active,
.runner-family-rail-button.is-selected {
    background: #fbfdfd;
    color: var(--runner-family-primary-dark);
    box-shadow: inset 0 1px 0 rgba(0, 132, 134, 0.24);
}

.runner-family-rail-item.is-active .runner-family-rail-button::before,
.runner-family-rail-item.is-selected .runner-family-rail-button::before,
.runner-family-rail-button.is-active::before,
.runner-family-rail-button.is-selected::before {
    border-color: rgba(0, 132, 134, 0.16);
    background: linear-gradient(180deg, rgba(0, 164, 166, 0.058), rgba(0, 164, 166, 0.018));
    opacity: 1;
    transform: scale(1);
}

.runner-family-rail-item__label,
.runner-family-rail-item__value {
    display: block;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.runner-family-rail-item__label {
    color: var(--runner-family-muted);
    font-size: 0.72rem;
    font-weight: 560;
    line-height: 1.32;
}

.runner-family-rail-item__value {
    color: var(--runner-family-text);
    font-size: var(--runner-family-cell-value-size);
    font-weight: 650;
    line-height: 1.18;
    font-variant-numeric: tabular-nums;
}

.runner-family-rail-item.is-active .runner-family-rail-item__label,
.runner-family-rail-item.is-active .runner-family-rail-item__value,
.runner-family-rail-item.is-selected .runner-family-rail-item__label,
.runner-family-rail-item.is-selected .runner-family-rail-item__value,
.runner-family-rail-button:hover .runner-family-rail-item__label,
.runner-family-rail-button:hover .runner-family-rail-item__value {
    color: var(--runner-family-primary-dark);
}

.runner-family-segmented-control {
    min-height: 34px;
    display: inline-grid;
    align-items: center;
    border: 1px solid var(--runner-family-border);
    border-radius: var(--runner-family-radius-control);
    background: #f4f8fa;
    padding: 2px;
}

.runner-family-segment-button {
    min-height: 28px;
    border: 1px solid transparent;
    border-radius: calc(var(--runner-family-radius-control) - 3px);
    background: transparent;
    color: var(--runner-family-muted);
    cursor: pointer;
    font-size: 0.76rem;
    font-weight: 560;
    padding: 0.3rem 0.72rem;
    transition: background 0.2s var(--runner-family-ease), border-color 0.2s var(--runner-family-ease), box-shadow 0.2s var(--runner-family-ease), color 0.2s var(--runner-family-ease), transform 0.2s var(--runner-family-ease);
}

.runner-family-segment-button:hover {
    color: var(--runner-family-text);
    background: rgba(255, 255, 255, 0.78);
}

.runner-family-segment-button.is-active {
    color: var(--runner-family-primary-dark);
    border-color: rgba(0, 132, 134, 0.16);
    background: rgba(0, 164, 166, 0.055);
    box-shadow: inset 0 0 0 1px rgba(0, 132, 134, 0.035), 0 1px 4px rgba(42, 63, 95, 0.04);
}

.runner-family-segment-button:active {
    transform: scale(0.98);
}

.runner-family-choice-button {
    min-width: 0;
    display: grid;
    align-items: center;
    border: 1px solid transparent;
    border-radius: var(--runner-family-radius-control);
    background: transparent;
    color: var(--runner-family-text);
    cursor: pointer;
    text-align: left;
    transition: background var(--runner-family-transition-standard), border-color var(--runner-family-transition-standard), box-shadow var(--runner-family-transition-standard), color var(--runner-family-transition-standard), transform var(--runner-family-transition-standard);
}

.runner-family-choice-button:hover,
.runner-family-choice-button.is-open,
[aria-expanded="true"].runner-family-choice-button {
    border-color: rgba(0, 164, 166, 0.2);
    background: linear-gradient(180deg, rgba(0, 164, 166, 0.065), rgba(0, 164, 166, 0.025));
    box-shadow: 0 9px 20px rgba(42, 63, 95, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
    color: var(--runner-family-primary-dark);
}

.runner-family-choice-button:active {
    box-shadow: inset 0 1px 3px rgba(42, 63, 95, 0.08);
    transform: scale(0.99);
}

.runner-family-popover-shell {
    border: 1px solid rgba(199, 211, 223, 0.86);
    border-radius: var(--runner-family-radius-shell);
    background: var(--runner-family-surface);
    box-shadow: var(--runner-family-popover-shadow);
}

.runner-family-popover-option {
    min-height: 38px;
    display: grid;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 9px;
    background: transparent;
    color: var(--runner-family-text);
    cursor: pointer;
    text-align: left;
    transition: background var(--runner-family-transition-fast), border-color var(--runner-family-transition-fast), color var(--runner-family-transition-fast), box-shadow var(--runner-family-transition-fast), transform var(--runner-family-transition-fast);
}

.runner-family-popover-option:hover,
.runner-family-popover-option:focus-visible {
    border-color: rgba(0, 164, 166, 0.16);
    background: rgba(0, 164, 166, 0.055);
    color: var(--runner-family-primary-dark);
}

.runner-family-popover-option:active {
    transform: scale(0.985);
}

.runner-family-popover-option.is-active {
    border-color: rgba(0, 164, 166, 0.24);
    background: rgba(0, 164, 166, 0.09);
    color: var(--runner-family-primary-dark);
    box-shadow: inset 0 0 0 1px rgba(0, 164, 166, 0.05);
}

.runner-family-row {
    position: relative;
    min-width: 0;
    display: grid;
    align-items: center;
    border: 1px solid transparent;
    border-bottom-color: var(--runner-family-border-light);
    color: var(--runner-family-text);
    text-decoration: none;
    transition: color var(--runner-family-transition-standard), background var(--runner-family-transition-standard), border-color var(--runner-family-transition-standard), box-shadow var(--runner-family-transition-standard), transform var(--runner-family-transition-standard);
}

.runner-family-row--link:hover {
    border-color: var(--runner-family-primary-border-strong);
    background: linear-gradient(180deg, rgba(0, 164, 166, 0.052), rgba(0, 164, 166, 0.018));
    box-shadow: 0 10px 22px rgba(42, 63, 95, 0.065), inset 0 1px 0 rgba(255, 255, 255, 0.94);
    color: var(--runner-family-primary-dark);
    transform: translateY(-1px);
}

.runner-family-row__label {
    min-width: 0;
    overflow: hidden;
    color: var(--runner-family-text);
    font-size: var(--runner-family-font-md);
    font-weight: 620;
    line-height: 1.25;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.runner-family-row--link:hover .runner-family-row__label {
    color: var(--runner-family-primary-dark);
}

.runner-family-status-pill {
    min-height: 25px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    max-width: 180px;
    padding: 0 8px;
    border: 1px solid var(--runner-family-border-light);
    border-radius: var(--runner-family-radius-strict);
    background: rgba(255, 255, 255, 0.84);
    color: var(--runner-family-muted);
    overflow: hidden;
    font-size: 11.5px;
    font-weight: 560;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.runner-family-action-rail {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.2rem;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    border: 1px solid rgba(221, 228, 235, 0.82);
    border-radius: var(--runner-family-radius-strict);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.9), rgba(248, 250, 252, 0.72));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 1px 2px rgba(42, 63, 95, 0.03);
    padding: 0.12rem;
}

.runner-family-action-rail::-webkit-scrollbar {
    display: none;
}

.runner-family-action-button {
    min-height: 28px;
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.28rem;
    flex: 0 0 auto;
    border: 1px solid rgba(221, 228, 235, 0.66);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.68);
    color: var(--runner-family-muted);
    box-shadow: none;
    padding: 0.22rem 0.52rem;
    font-family: inherit;
    font-size: var(--runner-family-chrome-font-size);
    font-weight: 560;
    line-height: 1.05;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background var(--runner-family-transition-fast), border-color var(--runner-family-transition-fast), color var(--runner-family-transition-fast), box-shadow var(--runner-family-transition-fast), transform var(--runner-family-transition-fast);
}

.runner-family-action-rail > .runner-family-action-button:not(:first-child) {
    margin-left: 0;
}

.runner-family-action-rail > .runner-family-action-button:not(:first-child)::before {
    content: none;
}

.runner-family-action-button:hover {
    border-color: rgba(0, 164, 166, 0.22);
    background: var(--runner-family-surface);
    color: var(--runner-family-primary-dark);
    box-shadow: 0 1px 2px rgba(42, 63, 95, 0.06);
    transform: translateY(-1px);
}

.runner-family-action-button:focus-visible {
    outline: var(--runner-family-focus-outline);
    outline-offset: var(--runner-family-focus-offset);
}

.runner-family-action-button:active {
    border-color: rgba(0, 164, 166, 0.28);
    background: rgba(0, 164, 166, 0.08);
    color: var(--runner-family-primary-dark);
    box-shadow: inset 0 1px 2px rgba(0, 76, 78, 0.1);
    transform: translateY(0) scale(0.98);
}

.runner-family-action-button.active,
.runner-family-action-button.is-active {
    border-color: var(--runner-family-primary-border);
    background: var(--runner-family-primary-subtle);
    color: var(--runner-family-primary-dark);
    box-shadow: inset 0 0 0 1px rgba(0, 164, 166, 0.04);
}

.runner-family-toggle-mark {
    width: 24px;
    height: 14px;
    position: relative;
    display: inline-block;
    flex: 0 0 24px;
    border-radius: 999px;
    background: #DDE6EC;
    box-shadow: inset 0 0 0 1px rgba(100, 116, 139, 0.18);
    transition: background 0.2s var(--runner-family-ease), box-shadow 0.2s var(--runner-family-ease);
}

.runner-family-toggle-mark span {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 10px;
    height: 10px;
    display: block;
    border-radius: 999px;
    background: var(--runner-family-surface);
    box-shadow: 0 1px 2px rgba(42, 63, 95, 0.2);
    transform: translateX(0);
    transition: transform 0.2s var(--runner-family-ease), box-shadow 0.2s var(--runner-family-ease);
}

.runner-family-action-button.active .runner-family-toggle-mark,
.runner-family-action-button.is-active .runner-family-toggle-mark {
    background: var(--runner-family-primary);
    box-shadow: inset 0 0 0 1px rgba(0, 96, 98, 0.12);
}

.runner-family-action-button.active .runner-family-toggle-mark span,
.runner-family-action-button.is-active .runner-family-toggle-mark span {
    box-shadow: 0 1px 3px rgba(0, 76, 78, 0.22);
    transform: translateX(10px);
}

.runner-family-action-button:hover .runner-family-toggle-mark {
    box-shadow: inset 0 0 0 1px rgba(0, 164, 166, 0.22), 0 0 0 3px rgba(0, 164, 166, 0.08);
}

.runner-family-data-scroll {
    width: 100%;
    max-width: 100%;
    overflow: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: rgba(100, 116, 139, 0.28) transparent;
    background: var(--runner-family-surface);
}

.runner-family-data-scroll::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.runner-family-data-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.runner-family-data-scroll::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: rgba(100, 116, 139, 0.24);
}

.runner-family-data-grid {
    border-collapse: separate;
    border-spacing: 0;
    table-layout: fixed;
    font-variant-numeric: tabular-nums;
}

.runner-family-data-grid th,
.runner-family-data-grid td {
    border-bottom: 1px solid rgba(221, 228, 235, 0.74);
    padding: var(--runner-family-table-row-padding);
    vertical-align: middle;
    white-space: nowrap;
}

.runner-family-data-grid th {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fbfdfe;
    color: var(--runner-family-muted);
    font-size: var(--runner-family-table-header-font-size);
    font-weight: 620;
    line-height: var(--runner-family-table-header-line-height);
    letter-spacing: 0;
    text-align: left;
    text-transform: none;
    box-shadow: inset 0 -1px 0 rgba(221, 228, 235, 0.92);
}

.runner-family-data-grid td {
    color: var(--runner-family-text);
    font-size: var(--runner-family-table-body-font-size);
    line-height: var(--runner-family-table-row-line-height);
}

.runner-family-data-grid .num,
.runner-family-data-grid td.num,
.runner-family-data-cell--numeric {
    text-align: right;
    font-variant-numeric: tabular-nums;
}

.runner-family-data-row {
    --runner-family-row-bg: #ffffff;
    transition: background var(--runner-family-transition-fast), box-shadow var(--runner-family-transition-fast);
}

.runner-family-data-row > td {
    background: var(--runner-family-row-bg);
    transition: background var(--runner-family-transition-fast), box-shadow var(--runner-family-transition-fast);
}

.runner-family-data-row:nth-child(even) {
    --runner-family-row-bg: rgba(248, 251, 252, 0.44);
}

.runner-family-data-row:hover {
    --runner-family-row-bg: rgba(0, 164, 166, 0.055);
}

.runner-family-data-row:hover > td:first-child {
    box-shadow: inset 2px 0 0 rgba(0, 164, 166, 0.28);
}

.runner-family-data-grid .type-badge,
.runner-family-data-grid .status-badge,
.runner-family-data-grid .type-label,
.runner-family-data-grid .status-text,
.runner-family-data-grid .fee-context,
.runner-family-data-grid .af-badge {
    max-width: 100%;
    min-width: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    border: 1px solid rgba(221, 228, 235, 0.95);
    border-radius: 5px;
    background: #f8fafc;
    box-shadow: none;
    color: var(--text-secondary);
    padding: 0.14rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 560;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
    overflow: hidden;
}

.runner-family-data-grid .type-badge.initial-balance,
.runner-family-data-grid .type-label.initial-balance {
    background: #f8fafc;
    color: var(--text-secondary);
}

.runner-family-data-grid .type-badge.client-payment,
.runner-family-data-grid .type-label.client-payment {
    border-color: rgba(0, 164, 166, 0.2);
    background: #f8fafc;
    color: var(--primary-dark);
}

.runner-family-data-grid .type-badge.creditor-payment,
.runner-family-data-grid .type-badge.client-advance,
.runner-family-data-grid .type-label.creditor-payment,
.runner-family-data-grid .type-label.client-advance {
    border-color: rgba(203, 213, 225, 0.95);
    background: #f8fafc;
    color: var(--text-secondary);
}

.runner-family-data-grid .type-badge.refund,
.runner-family-data-grid .type-label.refund {
    border-color: rgba(148, 163, 184, 0.44);
    border-style: dashed;
    background: #f8fafc;
    color: var(--text-secondary);
}

.runner-family-data-grid .type-badge.settlement-fee,
.runner-family-data-grid .type-badge.projected-fee,
.runner-family-data-grid .type-label.settlement-fee,
.runner-family-data-grid .type-label.projected-fee {
    border-color: rgba(148, 163, 184, 0.42);
    background: #f8fafc;
    color: var(--text-secondary);
}

.runner-family-data-grid .type-badge.settlement-fee.projected,
.runner-family-data-grid .type-badge.projected-fee,
.runner-family-data-grid .type-label.settlement-fee.projected,
.runner-family-data-grid .type-label.projected-fee {
    border: 1px dashed rgba(148, 163, 184, 0.44);
    background: #f8fafc;
    color: var(--text-light);
}

.runner-family-data-grid .type-badge.fee-placeholder,
.runner-family-data-grid .type-badge.other,
.runner-family-data-grid .type-label.fee-placeholder,
.runner-family-data-grid .type-label.other {
    background: #f8fafc;
    color: var(--text-secondary);
    border-color: var(--border-light);
}

.runner-family-data-grid .type-badge.fee-reflected,
.runner-family-data-grid .type-label.fee-reflected {
    border-color: rgba(203, 213, 225, 0.95);
    background: #f8fafc;
    color: var(--text-secondary);
}

.runner-family-data-grid .type-badge.skipped-type,
.runner-family-data-grid .type-label.skipped-type {
    border-color: rgba(148, 163, 184, 0.42);
    border-style: dashed;
    background: #f8fafc;
    color: var(--text-light);
}

.runner-family-data-grid .projected-indicator {
    margin-left: 0.26rem;
    color: var(--text-light);
    font-size: 0.68rem;
    font-style: normal;
    font-weight: 560;
}

.runner-family-data-grid .fee-context {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    border: 1px solid rgba(221, 228, 235, 0.9);
    border-radius: 7px;
    background: #fbfdfe;
    color: var(--text-secondary);
    padding: 0.12rem 0.34rem;
    font-size: 0.66rem;
    font-weight: 620;
    line-height: 1.1;
    white-space: nowrap;
}

.runner-family-data-grid .fee-context-same-day-placeholder,
.runner-family-data-grid .fee-context-already-reflected {
    background: #f8fafc;
    color: var(--text-secondary);
}

.runner-family-data-grid .fee-context-projected-collection {
    border-color: rgba(148, 163, 184, 0.38);
    border-style: dashed;
    color: var(--text-light);
}

.runner-family-data-grid [data-fee-tooltip] {
    position: relative;
    overflow: visible;
    cursor: help;
}

.runner-family-data-grid [data-fee-tooltip]::after {
    content: attr(data-fee-tooltip);
    position: absolute;
    z-index: 30;
    bottom: calc(100% + 8px);
    left: 50%;
    width: max-content;
    max-width: min(260px, calc(100vw - 32px));
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 7px;
    background: #fbfdfe;
    box-shadow: 0 12px 26px rgba(42, 63, 95, 0.12);
    color: var(--runner-family-text);
    padding: 0.42rem 0.52rem;
    font-size: var(--runner-family-control-label-size);
    font-weight: 560;
    line-height: 1.28;
    text-align: left;
    white-space: normal;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity var(--runner-family-transition-fast), transform var(--runner-family-transition-fast);
}

.runner-family-data-grid [data-fee-tooltip]:hover::after,
.runner-family-data-grid [data-fee-tooltip]:focus-visible::after {
    opacity: 1;
    transform: translate(-50%, 0);
}

.runner-family-data-grid--sticky-identity th:nth-child(1),
.runner-family-data-grid--sticky-identity th:nth-child(2),
.runner-family-data-grid--sticky-identity td:nth-child(1),
.runner-family-data-grid--sticky-identity td:nth-child(2) {
    position: sticky;
}

.runner-family-data-grid--sticky-identity th:nth-child(1),
.runner-family-data-grid--sticky-identity td:nth-child(1) {
    left: 0;
}

.runner-family-data-grid--sticky-identity th:nth-child(1),
.runner-family-data-grid--sticky-identity th:nth-child(2) {
    z-index: 6;
    background: #fbfdfe;
}

.runner-family-data-grid--sticky-identity td:nth-child(1),
.runner-family-data-grid--sticky-identity td:nth-child(2) {
    z-index: 3;
    background: var(--runner-family-row-bg, var(--runner-family-surface));
}

.runner-family-neutral-tag {
    max-width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 22px;
    border: 1px solid rgba(221, 228, 235, 0.95);
    border-radius: var(--runner-family-radius-tag);
    background: #f8fafc;
    box-shadow: none;
    color: var(--runner-family-muted);
    padding: 0.14rem 0.4rem;
    font-size: 0.68rem;
    font-weight: 560;
    line-height: 1.1;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}

.runner-family-neutral-tag--teal {
    border-color: rgba(0, 164, 166, 0.2);
    color: var(--runner-family-primary-dark);
}

.runner-family-neutral-tag--dashed {
    border-color: rgba(148, 163, 184, 0.44);
    border-style: dashed;
    color: var(--runner-family-light);
}

.runner-family-neutral-tag--pill {
    min-height: 18px;
    border-radius: 999px;
    background: rgba(0, 164, 166, 0.09);
    color: var(--runner-family-primary-dark);
    padding: 0.08rem 0.38rem;
    font-size: 0.62rem;
    font-weight: 590;
}

.runner-family-loading {
    display: grid;
    gap: 0.55rem;
    padding: 0.65rem;
}

.runner-family-skeleton-row {
    min-height: 2rem;
    border-radius: var(--runner-family-radius-control);
    background: linear-gradient(90deg, #eef2f7 0%, #f8fafc 45%, #eef2f7 100%);
    background-size: 200% 100%;
    animation: runnerFamilySkeleton 1.4s var(--runner-family-ease) infinite;
}

.runner-family-state-message {
    display: grid;
    place-items: center;
    min-height: 72px;
    padding: 2.2rem 1rem;
    color: var(--runner-family-muted);
    text-align: center;
    font-weight: 560;
}

.runner-family-alert {
    border: 1px solid var(--runner-family-warning-border);
    border-radius: var(--runner-family-radius-surface);
    background: var(--runner-family-warning-bg);
    color: var(--runner-family-orange-dark);
    box-shadow: var(--runner-family-shadow-xs);
}

.runner-family-error-state {
    border: 1px solid var(--runner-family-warning-border);
    border-radius: var(--runner-family-radius-surface);
    background: var(--runner-family-warning-bg);
    box-shadow: var(--runner-family-shadow-xs);
}

.runner-family-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.42);
    backdrop-filter: blur(8px);
    padding: 1rem;
}

.runner-family-modal {
    width: min(100%, 30rem);
    max-height: min(90vh, 48rem);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr) auto;
    overflow: hidden;
    border: 1px solid var(--runner-family-border);
    border-radius: var(--runner-family-radius-surface);
    background: var(--runner-family-surface);
    box-shadow: 0 24px 58px rgba(42, 63, 95, 0.18), 0 4px 12px rgba(42, 63, 95, 0.08);
}

.runner-family-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    border-bottom: 1px solid var(--runner-family-border-light);
    background: #fbfdfe;
    padding: 0.72rem 0.82rem;
}

.runner-family-modal-title {
    color: var(--runner-family-text);
    font-size: 0.92rem;
    font-weight: 660;
    line-height: 1.18;
}

.runner-family-modal-body {
    min-width: 0;
    overflow: auto;
    padding: 0.82rem;
}

.runner-family-modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 0;
    border-top: 1px solid var(--runner-family-border-light);
    background: #fbfdfe;
    padding: 0.44rem;
}

.runner-family-form-group {
    display: grid;
    gap: 0.32rem;
    min-width: 0;
}

.runner-family-form-label {
    color: var(--runner-family-muted);
    font-size: var(--runner-family-label-size);
    font-weight: 600;
    line-height: 1.2;
}

.runner-family-form-control {
    width: 100%;
    min-width: 0;
    min-height: 38px;
    border: 1px solid rgba(221, 228, 235, 0.95);
    border-radius: var(--runner-family-radius-strict);
    background: var(--runner-family-surface);
    color: var(--runner-family-text);
    padding: 0.48rem 0.58rem;
    font: inherit;
    font-size: var(--runner-family-body-size);
    outline: none;
    transition: border-color var(--runner-family-transition-fast), box-shadow var(--runner-family-transition-fast), background var(--runner-family-transition-fast);
}

.runner-family-form-control:hover {
    border-color: rgba(0, 164, 166, 0.22);
}

.runner-family-form-control:focus {
    border-color: rgba(0, 164, 166, 0.5);
    box-shadow: 0 0 0 4px rgba(0, 164, 166, 0.09);
}

.runner-family-input-prefix {
    position: relative;
    min-width: 0;
}

.runner-family-input-prefix .runner-family-form-control {
    padding-left: 1.55rem;
}

.runner-family-form-prefix {
    position: absolute;
    top: 50%;
    left: 0.58rem;
    color: var(--runner-family-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.runner-family-impact-preview {
    border: 1px solid var(--runner-family-border-light);
    border-radius: var(--runner-family-radius-strict);
    background: #fbfdfe;
    padding: 0.6rem;
}

.runner-family-preview-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    color: var(--runner-family-muted);
    font-size: 0.74rem;
}

.runner-family-preview-value {
    color: var(--runner-family-text);
    font-weight: 650;
    font-variant-numeric: tabular-nums;
}

.runner-family-calendar-panel {
    border: 1px solid rgba(199, 211, 223, 0.86);
    border-radius: var(--runner-family-radius-shell);
    background: var(--runner-family-surface);
    box-shadow: var(--runner-family-popover-shadow);
}

.runner-family-calendar-header {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) 32px;
    align-items: center;
    gap: 0.3rem;
}

.runner-family-calendar-title {
    color: var(--runner-family-text);
    font-size: 0.78rem;
    font-weight: 640;
    text-align: center;
}

.runner-family-calendar-nav,
.runner-family-calendar-day {
    border: 0;
    background: transparent;
    color: var(--runner-family-muted);
    cursor: pointer;
    transition: background var(--runner-family-transition-fast), color var(--runner-family-transition-fast), box-shadow var(--runner-family-transition-fast), transform var(--runner-family-transition-fast);
}

.runner-family-calendar-nav {
    width: 30px;
    height: 30px;
    border-radius: var(--runner-family-radius-pill);
}

.runner-family-calendar-grid,
.runner-family-calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 0.18rem;
}

.runner-family-calendar-day {
    width: 100%;
    min-width: 0;
    height: 30px;
    border-radius: 6px;
    color: var(--runner-family-text);
    font-size: 0.72rem;
    font-weight: 500;
}

.runner-family-calendar-nav:hover,
.runner-family-calendar-day:hover:not(:disabled):not(.disabled):not(.other-month) {
    background: rgba(0, 164, 166, 0.055);
    color: var(--runner-family-primary-dark);
    box-shadow: inset 0 0 0 1px rgba(0, 164, 166, 0.11);
}

.runner-family-calendar-nav:active,
.runner-family-calendar-day:active:not(:disabled):not(.disabled) {
    transform: scale(0.94);
}

@keyframes runnerFamilySkeleton {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .runner-family-skeleton-row {
        animation: none;
    }
}

@media (max-width: 1180px) {
    .runner-family-header-search {
        --runner-family-header-search-open-width: min(20rem, calc(100vw - 7.5rem));
    }
}

@media (max-width: 760px) {
    .runner-family-header__inner {
        padding: 8px 10px;
    }

    .runner-family-logo {
        width: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .runner-family-logo__mark {
        width: 27px;
        height: 34px;
    }

    .runner-family-header-icon-button,
    .runner-family-header-search {
        width: 44px;
        min-width: 44px;
        min-height: 44px;
    }

    .runner-family-search-toggle {
        flex-basis: 44px;
    }

    .runner-family-search-field {
        min-height: 44px;
    }
}

@media (max-width: 640px) {
    .runner-family-header-tools {
        gap: 0.22rem;
    }

    .runner-family-header-search {
        --runner-family-header-search-open-width: min(16rem, calc(100vw - 6.8rem));
    }
}
