.fi-panel-admin {
    --portal-primary-shadow: var(--portal-btn-primary-shadow);
}

.bo-ic,
.fi-panel-admin svg.bo-ic {
    flex: none;
    stroke-width: var(--portal-icon-stroke);
}

.bo-ic-slot {
    display: inline-flex;
}

.bo-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.bo-grow {
    flex: 1;
}

.bo-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: var(--portal-control-h);
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: var(--portal-radius-btn);
    font: inherit;
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.12s, border-color 0.12s, color 0.12s, box-shadow 0.12s;
}

.bo-btn:active:not(:disabled):not([aria-disabled="true"]) {
    transform: translateY(0.5px);
}

.bo-btn:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-btn-primary {
    background: var(--portal-primary);
    color: var(--portal-on-primary);
    box-shadow: var(--portal-btn-primary-shadow);
}

.bo-btn-primary:hover {
    background: var(--portal-primary-hover);
}

.bo-btn-secondary {
    background: var(--portal-surface);
    color: var(--portal-ink);
    border-color: var(--portal-border-strong);
    box-shadow: var(--portal-btn-secondary-shadow);
}

.bo-btn-secondary:hover {
    background: var(--portal-surface-2);
}

.bo-btn-ghost {
    background: transparent;
    color: var(--portal-ink-2);
}

.bo-btn-ghost:hover {
    background: var(--portal-surface-2);
    color: var(--portal-ink);
}

.bo-btn-danger {
    background: var(--portal-danger-btn);
    color: var(--portal-on-danger);
}

.bo-btn-danger:hover {
    background: var(--portal-danger-btn-hover);
}

.bo-btn-sm {
    height: 28px;
    padding: 0 10px;
    font-size: 13px;
}

.bo-btn-xs {
    height: 24px;
    padding: 0 8px;
    font-size: 12.5px;
    border-radius: var(--portal-radius-control);
    gap: 4px;
}

.bo-btn-icon {
    width: var(--portal-control-h);
    padding: 0;
}

.bo-btn-sm.bo-btn-icon {
    width: 28px;
}

.bo-btn-xs.bo-btn-icon {
    width: 24px;
}

.bo-btn:disabled,
.bo-btn[aria-disabled="true"] {
    opacity: 0.42;
    cursor: not-allowed;
}

.bo-btn-count {
    padding: 0 6px;
    border-radius: 999px;
    background: var(--portal-surface-2);
    font-size: 11px;
}

[data-bo-tip]:hover::after,
[data-bo-tip]:focus-visible::after {
    content: attr(data-bo-tip);
    position: absolute;
    z-index: 95;
    bottom: calc(100% + 6px);
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 240px;
    padding: 5px 8px;
    border-radius: 6px;
    background: var(--portal-tip-bg);
    color: var(--portal-tip-fg);
    font-size: 12px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    pointer-events: none;
}

.bo-tip-below[data-bo-tip]::after {
    top: calc(100% + 6px);
    bottom: auto;
}

.bo-tip-start[data-bo-tip]::after {
    left: 0;
    transform: none;
}

.bo-tip-end[data-bo-tip]::after {
    left: auto;
    right: 0;
    transform: none;
}

.bo-pill {
    --bo-pill-bg: var(--portal-surface-2);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: var(--portal-pill-h);
    padding: 0 var(--portal-pill-pad-x);
    border: 1px solid color-mix(in oklab, currentColor var(--portal-pill-line), transparent);
    border-radius: 999px;
    background: color-mix(in oklab, var(--bo-pill-bg) var(--portal-pill-fill), transparent);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.bo-pill::before {
    content: "";
    flex: none;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
}

.bo-pill-ok {
    --bo-pill-bg: var(--portal-success-soft-bg);
    color: var(--portal-success-soft-text);
}

.bo-pill-warn {
    --bo-pill-bg: var(--portal-warning-soft-bg);
    color: var(--portal-warning-soft-text);
}

.bo-pill-danger {
    --bo-pill-bg: var(--portal-danger-soft-bg);
    color: var(--portal-danger-soft-text);
}

.bo-pill-info {
    --bo-pill-bg: var(--portal-info-soft-bg);
    color: var(--portal-info-soft-text);
}

.bo-pill-neutral {
    --bo-pill-bg: var(--portal-surface-2);
    border-color: var(--portal-pill-neutral-line);
    color: var(--portal-pill-neutral-text);
}

.bo-pill-neutral::before {
    background: var(--portal-ink-4);
}

.bo-av {
    --bo-av-h: var(--portal-avatar-1);
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: color-mix(in oklab, var(--bo-av-h) 16%, var(--portal-surface));
    color: color-mix(in oklab, var(--bo-av-h) 66%, var(--portal-ink));
    box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--bo-av-h) 18%, transparent);
    font-size: 10.5px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.bo-av-0 { --bo-av-h: var(--portal-avatar-0); }
.bo-av-1 { --bo-av-h: var(--portal-avatar-1); }
.bo-av-2 { --bo-av-h: var(--portal-avatar-2); }
.bo-av-3 { --bo-av-h: var(--portal-avatar-3); }
.bo-av-4 { --bo-av-h: var(--portal-avatar-4); }
.bo-av-5 { --bo-av-h: var(--portal-avatar-5); }
.bo-av-6 { --bo-av-h: var(--portal-avatar-6); }
.bo-av-7 { --bo-av-h: var(--portal-avatar-7); }

.bo-av-xs {
    width: 20px;
    height: 20px;
    font-size: 8.5px;
}

.bo-av-sm {
    width: 28px;
    height: 28px;
}

.bo-av-lg {
    width: 48px;
    height: 48px;
    font-size: 16px;
}

.bo-ctag {
    display: inline-grid;
    place-items: center;
    min-width: 26px;
    height: 18px;
    padding: 0 4px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-ctag-radius);
    background: var(--portal-surface-2);
    color: var(--portal-ink-2);
    font: 600 10.5px/1 var(--portal-font-mono);
    letter-spacing: 0.03em;
}

.bo-ctags {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 3px;
}

.bo-seg {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 2px;
    max-width: 100%;
    padding: 2px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface-2);
}

.bo-seg-o {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: calc(var(--portal-control-h) - 6px);
    padding: 0 10px;
    border: 0;
    border-radius: calc(var(--portal-radius-2) - 2px);
    background: none;
    color: var(--portal-muted);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    white-space: nowrap;
    cursor: pointer;
}

.bo-seg-o:hover {
    color: var(--portal-ink);
}

.bo-seg-o:focus-visible,
.bo-seg-o:has(input:focus-visible) {
    outline: 2px solid var(--portal-focus);
    outline-offset: 1px;
}

.bo-seg-o[aria-checked="true"],
.bo-seg-o[aria-pressed="true"],
.bo-seg-o:has(input:checked) {
    background: var(--portal-surface);
    color: var(--portal-ink);
    box-shadow: var(--portal-seg-on-shadow), 0 0 0 1px var(--portal-border);
}

.bo-seg-o input {
    position: absolute;
    inset: 0;
    margin: 0;
    opacity: 0;
    cursor: pointer;
}

.bo-seg-o[aria-disabled="true"],
.bo-seg-o:has(input:disabled) {
    opacity: 0.5;
    cursor: not-allowed;
}

.bo-seg-sm .bo-seg-o {
    height: 24px;
    padding: 0 7px;
}

.bo-pop {
    position: fixed;
    z-index: 90;
}

.bo-pop-veil {
    position: fixed;
    z-index: 89;
    inset: 0;
}

.bo-menu {
    max-height: min(440px, 70vh);
    padding: 4px;
    overflow-y: auto;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    background: var(--portal-raised);
    box-shadow: var(--portal-shadow-pop);
    color: var(--portal-ink);
    font-family: var(--portal-font-body);
    font-size: var(--portal-font-size);
    line-height: 1.5;
    text-align: left;
}

.bo-menu-h {
    display: block;
    padding: 8px 8px 4px;
    color: var(--portal-muted);
    font-size: 11.5px;
    font-weight: 500;
}

.bo-menu-i {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    min-height: 32px;
    padding: 4px 8px;
    border: 0;
    border-radius: calc(var(--portal-radius-3) - 4px);
    background: none;
    color: var(--portal-ink);
    font: inherit;
    font-size: 13px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.bo-menu-i > .bo-ic {
    color: var(--portal-muted);
}

.bo-menu-i:hover,
.bo-menu-i:focus-visible {
    background: var(--portal-surface-2);
    outline: none;
}

.bo-menu-i:focus-visible {
    box-shadow: inset 0 0 0 2px var(--portal-focus);
}

.bo-menu-i.is-danger,
.bo-menu-i.is-danger > .bo-ic {
    color: var(--portal-danger-soft-text);
}

.bo-menu-i[aria-disabled="true"] {
    opacity: 0.45;
    cursor: not-allowed;
}

.bo-menu-i > span:not(.bo-cbox, .bo-av, .bo-ctag, .bo-menu-n) {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bo-menu-n,
.bo-menu-check {
    flex: none;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-menu-i.has-detail {
    align-items: flex-start;
    padding-top: 6px;
    padding-bottom: 6px;
}

.bo-menu-i.has-detail > .bo-ic {
    margin-top: 2px;
}

.bo-menu-l {
    display: grid;
    gap: 1px;
}

.bo-menu-d {
    color: var(--portal-muted);
    font-size: 11.5px;
    line-height: 1.3;
}

.bo-menu-sep {
    height: 1px;
    margin: 4px 0;
    background: var(--portal-border);
}

.bo-menu-2 {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.bo-menu-2 small {
    color: var(--portal-muted);
    font-size: 12px;
    white-space: normal;
}

.bo-cbox {
    display: grid;
    flex: none;
    place-items: center;
    width: 16px;
    height: 16px;
    border: 1px solid var(--portal-border-strong);
    border-radius: 4px;
    background: var(--portal-surface);
    color: var(--portal-on-accent);
}

.bo-cbox-radio {
    border-radius: 50%;
}

[aria-checked="true"] > .bo-cbox {
    border-color: var(--portal-check);
    background: var(--portal-check);
}

.bo-menu-search {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: -4px -4px 4px;
    padding: 6px 12px;
    border-bottom: 1px solid var(--portal-border);
    color: var(--portal-muted);
}

.bo-menu-search input {
    flex: 1;
    min-width: 0;
    height: 30px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--portal-ink);
    font: inherit;
    font-size: 13px;
}

.bo-menu-scroll {
    max-height: 280px;
    overflow-y: auto;
}

.bo-menu-empty {
    padding: 10px 8px;
    color: var(--portal-muted);
    font-size: 13px;
}

.bo-menu-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 6px;
}

.bo-menu-form-a {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.bo-menu-note {
    margin: 4px 0 0;
    padding: 8px 8px 4px;
    border-top: 1px solid var(--portal-border);
    color: var(--portal-muted);
    font-size: 12px;
    line-height: 1.4;
}

.bo-menu-err {
    padding: 6px 8px 4px;
}

.bo-menu-me {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
}

.bo-menu-me > span:last-child {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.3;
}

.bo-menu-me-n {
    font-weight: 600;
}

.bo-menu-me-e {
    overflow: hidden;
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
    text-overflow: ellipsis;
}

.bo-menu-skins {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    padding: 2px 4px 6px;
}

.bo-menu-skins button,
.bo-menu-seg button {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 8px 4px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-2);
    background: none;
    color: var(--portal-ink-2);
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.bo-menu-skins button {
    gap: 6px;
}

.bo-menu-seg {
    display: flex;
    gap: 4px;
    padding: 2px 4px 6px;
}

.bo-menu-seg button {
    flex: 1;
    gap: 4px;
}

.bo-menu-skins button:hover,
.bo-menu-seg button:hover {
    background: var(--portal-surface-2);
}

.bo-menu-skins button:focus-visible,
.bo-menu-seg button:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 1px;
}

.bo-menu-skins [aria-checked="true"],
.bo-menu-seg [aria-checked="true"] {
    border-color: var(--portal-red);
    background: var(--portal-red-soft-bg);
    color: var(--portal-ink);
}

.bo-menu-skins [aria-checked="true"] {
    font-weight: 600;
}

.bo-menu-skins [aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
}

.bo-sksw {
    display: inline-flex;
    width: 30px;
    height: 18px;
    border-radius: 999px;
    box-shadow: 0 0 0 1px var(--portal-swatch-ring);
}

.bo-sksw-grafito {
    background: var(--portal-swatch-grafito);
}

.bo-sksw-carmin {
    background: var(--portal-swatch-carmin);
}

.bo-sksw-bruma {
    background: var(--portal-swatch-bruma);
}

.bo-skin-note {
    display: block;
    margin: 0 4px 6px;
    padding: 6px 8px;
    border-radius: var(--portal-radius-control);
    background: var(--portal-warning-soft-bg);
    color: var(--portal-warning-soft-text);
    font-size: 12px;
    line-height: 1.4;
}

.bo-skin-note[hidden] {
    display: none;
}

@media (prefers-reduced-motion: no-preference) {
    .bo-pop .bo-menu {
        animation: bo-pop 0.14s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .bo-pop.is-up .bo-menu {
        animation-name: bo-pop-up;
    }
}

@keyframes bo-pop {
    from {
        opacity: 0;
        transform: translateY(-4px) scale(0.985);
    }
}

@keyframes bo-pop-up {
    from {
        opacity: 0;
        transform: translateY(4px) scale(0.985);
    }
}

.fi-page-header-main-ctn:has(> .bo-ph),
.fi-page-header-main-ctn:has(> .bo-ehead) {
    row-gap: 0;
}

.bo-ph {
    margin-bottom: 16px;
}

.bo-ph-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 16px;
}

.bo-ph-text {
    flex: 1 1 360px;
    min-width: 0;
}

.bo-ph-title {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.bo-ph h1,
.bo-ehead h1 {
    margin: 0;
    color: var(--portal-ink);
    font-family: var(--portal-font-display);
    font-size: var(--portal-h1-size);
    font-weight: var(--portal-h1-weight);
    letter-spacing: var(--portal-h1-tracking);
    line-height: 1.2;
    text-wrap: balance;
}

.bo-ph h1:focus,
.bo-ehead h1:focus {
    outline: none;
}

.bo-ehead h1 {
    font-size: var(--portal-h1-ent-size);
    overflow-wrap: anywhere;
}

.bo-ehead {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 16px;
}

.bo-ehead-t {
    flex: 1 1 320px;
    min-width: 0;
}

.bo-ehead-m {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 14px;
    margin-top: 6px;
    color: var(--portal-muted);
    font-size: 13px;
}

.bo-ehead-m > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bo-ph-count {
    padding: 1px 8px;
    border-radius: 999px;
    background: var(--portal-surface-2);
    color: var(--portal-muted);
    font-family: var(--portal-count-font);
    font-size: 13px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.bo-ph-desc {
    max-width: 72ch;
    margin: 4px 0 0;
    color: var(--portal-muted);
    font-size: var(--portal-font-size);
    line-height: 1.5;
}

.bo-ph-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bo-ph-actions .fi-ac {
    gap: 8px;
}

.bo-ph-actions .fi-btn {
    gap: 6px;
    height: var(--portal-control-h);
    min-height: var(--portal-control-h);
    padding: 0 12px;
    border-radius: var(--portal-radius-btn);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
}

.bo-ph-actions .fi-btn .fi-icon {
    width: 16px;
    height: 16px;
}

.bo-list {
    min-width: 0;
    color: var(--portal-ink);
    font-family: var(--portal-font-body);
    font-size: var(--portal-font-size);
}

.bo-muted {
    color: var(--portal-muted);
}

.bo-nowrap {
    white-space: nowrap;
}

.bo-req {
    color: var(--portal-muted);
    font-size: 13px;
    font-weight: 400;
}

.bo-vtabs {
    display: flex;
    gap: var(--portal-vtab-gap);
    margin-bottom: 12px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bo-vtab {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: var(--portal-vtab-h);
    padding: 0 var(--portal-vtab-pad-x);
    border: 1px solid transparent;
    border-radius: var(--portal-vtab-radius);
    color: var(--portal-muted);
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.bo-vtab:hover {
    background: var(--portal-surface-2);
    color: var(--portal-ink);
}

.bo-vtab:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-vtab[aria-current="page"] {
    border-color: var(--portal-vtab-on-line);
    background: var(--portal-vtab-on);
    box-shadow: var(--portal-vtab-on-shadow);
    color: var(--portal-vtab-on-text);
}

.bo-vtab-n {
    color: var(--portal-muted);
    font-size: 12px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
}

.bo-vtab[aria-current="page"] .bo-vtab-n {
    color: var(--portal-vtab-on-text);
}

.bo-ptabs {
    display: flex;
    gap: 20px;
    margin: 16px 0 0;
    overflow-x: auto;
    border-bottom: 1px solid var(--portal-border);
    scrollbar-width: none;
}

.bo-ehead + .bo-ptabs {
    margin-top: 4px;
}

.bo-ptab {
    position: relative;
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 6px;
    height: 40px;
    padding: 0 2px;
    color: var(--portal-muted);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
}

.bo-ptab:hover,
.bo-ptab[aria-current="page"] {
    color: var(--portal-ink);
}

.bo-ptab[aria-current="page"]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--portal-tab-mark);
}

.bo-ptab:focus-visible {
    border-radius: 4px;
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-ptab-n {
    padding: 0 6px;
    border-radius: 999px;
    background: var(--portal-surface-2);
    color: var(--portal-muted);
    font-size: 11.5px;
}

.bo-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.bo-toolbar .bo-tsearch,
.bo-toolbar .bo-select {
    min-width: 0;
    max-width: 100%;
}

.bo-toolbar .bo-tsearch {
    flex: 1 1 220px;
    width: auto;
    max-width: var(--portal-tsearch-w);
}

.bo-tsearch {
    display: flex;
    align-items: center;
    gap: 8px;
    width: var(--portal-tsearch-w);
    max-width: 100%;
    height: var(--portal-control-h);
    padding: 0 var(--portal-tsearch-pad-x);
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-tsearch-radius);
    background: var(--portal-surface);
    color: var(--portal-muted);
    transition: border-color 0.12s, box-shadow 0.12s;
}

.bo-tsearch:hover {
    border-color: var(--portal-ink-4);
}

.bo-tsearch:focus-within {
    border-color: var(--portal-focus);
    box-shadow: 0 0 0 3px var(--portal-focus-ring);
}

.bo-tsearch .bo-tsearch-in[type="search"] {
    flex: 1;
    width: auto;
    min-width: 0;
    max-width: none;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 1px 2px;
    border: 0;
    border-radius: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    color: var(--portal-ink);
    font: inherit;
    font-size: 13.5px;
}

.bo-tsearch .bo-tsearch-in[type="search"]::placeholder {
    color: var(--portal-faint);
    opacity: 1;
}

.bo-fchips {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.bo-fchip {
    display: inline-flex;
    align-items: stretch;
    height: 28px;
    overflow: hidden;
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-fchip-radius);
    background: var(--portal-surface);
}

.bo-fchip-main {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 300px;
    padding: 0 var(--portal-fchip-pad-end) 0 var(--portal-fchip-pad-start);
    border: 0;
    background: none;
    color: var(--portal-muted);
    font: inherit;
    font-size: 12.5px;
    cursor: pointer;
}

.bo-fchip-main:hover,
.bo-fchip-x:hover {
    background: var(--portal-surface-2);
}

.bo-fchip-main:focus-visible,
.bo-fchip-x:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-fchip-v {
    overflow: hidden;
    color: var(--portal-ink);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-fchip-x {
    display: grid;
    place-items: center;
    width: 26px;
    border: 0;
    border-left: 1px solid var(--portal-border);
    background: none;
    color: var(--portal-muted);
    cursor: pointer;
}

.bo-fchip-x:hover {
    color: var(--portal-ink);
}

.bo-twrap {
    position: relative;
    overflow: clip;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-twrap:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-tbl {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    color: var(--portal-ink);
    font-size: 13.5px;
}

.bo-tbl thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    height: 36px;
    padding: 0 12px;
    border-bottom: 1px solid var(--portal-border);
    background: var(--portal-th-bg);
    color: var(--portal-muted);
    font-size: var(--portal-th-fs);
    font-weight: 500;
    letter-spacing: normal;
    text-align: left;
    text-transform: none;
    white-space: nowrap;
}

.bo-tbl tbody th,
.bo-tbl tbody td {
    height: var(--portal-row-h);
    padding: 6px 12px;
    border-bottom: 1px solid var(--portal-line-soft);
    font-weight: 400;
    text-align: left;
    vertical-align: middle;
}

.bo-tbl tbody tr:last-child > th,
.bo-tbl tbody tr:last-child > td {
    border-bottom: 0;
}

.bo-tbl tbody tr:hover {
    background: var(--portal-hover);
}

.bo-tbl tbody tr.is-selected {
    background: var(--portal-selected);
}

.bo-tbl .bo-c-sel {
    width: 40px;
    padding-right: 0;
}

.bo-tbl .bo-c-sel input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--portal-check);
    vertical-align: middle;
    cursor: pointer;
}

.bo-tbl .bo-c-sel input[type="checkbox"]:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-tbl .bo-c-act {
    width: 48px;
    padding-left: 0;
    text-align: right;
}

.bo-c-act .bo-btn-icon {
    opacity: 0;
}

.bo-tbl tr:hover .bo-c-act .bo-btn-icon,
.bo-c-act .bo-btn-icon:focus-visible,
.bo-c-act .bo-btn-icon[aria-expanded="true"] {
    opacity: 1;
}

@media (hover: none) {
    .bo-c-act .bo-btn-icon {
        opacity: 1;
    }
}

.bo-c-main {
    min-width: 260px;
}

.bo-ent {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bo-ent-t {
    display: flex;
    flex-direction: column;
    gap: 1px;
    min-width: 0;
}

.bo-ent-n {
    max-width: 52ch;
    overflow: hidden;
    color: var(--portal-ink);
    font-weight: 500;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-ent-n:hover {
    text-decoration: underline;
    text-decoration-color: var(--portal-ink-4);
    text-underline-offset: 3px;
}

.bo-ent-n:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-ent-s {
    max-width: 56ch;
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 12.5px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-ent-note {
    max-width: 56ch;
    color: var(--portal-muted);
    font-size: 12.5px;
    line-height: 1.4;
    overflow-wrap: anywhere;
}

.bo-ent-note.is-warn {
    color: var(--portal-warning-soft-text);
}

.bo-tico {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface-2);
    color: var(--portal-ink-2);
}

.bo-tico-lg {
    width: 36px;
    height: 36px;
}

.bo-tico-xl {
    width: 48px;
    height: 48px;
    border-radius: var(--portal-radius-3);
}

.bo-tico-danger {
    background: var(--portal-danger-soft-bg);
    color: var(--portal-danger-soft-text);
}

.bo-tbl tbody tr[data-bo-href] {
    cursor: pointer;
}

.bo-ent-n.is-quiet {
    color: var(--portal-muted);
    font-weight: 400;
}

.bo-tbl-matrix thead th {
    min-width: 96px;
    height: auto;
    padding-top: 8px;
    padding-bottom: 8px;
    line-height: 1.3;
    vertical-align: bottom;
    white-space: normal;
}

.bo-lv {
    display: inline-flex;
    flex-direction: column;
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.3;
}

.bo-lv small {
    color: var(--portal-muted);
    font-size: 11.5px;
    font-weight: 400;
}

.bo-lv-none {
    color: var(--portal-faint);
}

.bo-lv-view {
    color: var(--portal-ink-2);
}

.bo-lv-edit {
    color: var(--portal-info-soft-text);
}

.bo-lv-manage {
    color: var(--portal-success-soft-text);
}

.bo-who {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.bo-who > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-more {
    padding: 1px 5px;
    border-radius: 4px;
    background: var(--portal-surface-2);
    color: var(--portal-muted);
    font-size: 11.5px;
}

.bo-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.bo-num {
    font-family: var(--portal-count-font);
    font-weight: var(--portal-num-weight);
    font-variant-numeric: tabular-nums;
    letter-spacing: var(--portal-num-tracking);
    text-align: right;
}

.bo-tbl thead th.bo-num,
.bo-tbl tbody td.bo-num {
    text-align: right;
}

.bo-tbl tbody td.bo-num {
    font-weight: var(--portal-num-weight);
}

.bo-moment {
    position: relative;
}

.bo-rowmenu {
    display: inline-flex;
}

.bo-pager {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 10px 2px 0;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-pager .bo-btn:disabled {
    opacity: 0.42;
}

.bo-bulk {
    position: fixed;
    left: 50%;
    bottom: 20px;
    z-index: 30;
    display: flex;
    align-items: center;
    gap: 2px;
    max-width: calc(100% - 32px);
    padding: 5px 6px 5px 14px;
    overflow-x: auto;
    border-radius: var(--portal-radius-3);
    background: var(--portal-ink-bg);
    box-shadow: var(--portal-shadow-pop);
    color: var(--portal-ink-fg);
    white-space: nowrap;
    transform: translateX(-50%);
}

.bo-bulk-n {
    padding-right: 8px;
    font-size: 13px;
    font-weight: 600;
}

.bo-bulk-sep {
    width: 1px;
    height: 18px;
    margin: 0 6px;
    background: color-mix(in oklab, var(--portal-ink-fg) 22%, transparent);
}

.bo-bulk .bo-btn-ghost {
    color: var(--portal-ink-fg);
}

.bo-bulk .bo-btn-ghost:hover {
    background: color-mix(in oklab, var(--portal-ink-fg) 12%, transparent);
    color: var(--portal-ink-fg);
}

.bo-bulk .bo-btn-ghost:focus-visible {
    outline-color: var(--portal-ink-fg);
}

.bo-bulk .bo-btn-ghost.is-danger {
    color: var(--portal-ink-danger);
}

@media (min-width: 64rem) {
    .fi-main-ctn-sidebar-open .bo-bulk {
        left: calc(50% + var(--portal-side-w) / 2);
    }

    .fi-main-ctn:not(.fi-main-ctn-sidebar-open) .bo-bulk {
        left: calc(50% + 32px);
    }
}

@media (prefers-reduced-motion: no-preference) {
    .bo-bulk {
        animation: bo-rise 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
}

@keyframes bo-rise {
    from {
        opacity: 0;
        transform: translate(-50%, 8px);
    }
}

.bo-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 56px 24px;
    border: 1px dashed var(--portal-border-strong);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    color: var(--portal-muted);
    text-align: center;
}

.bo-empty-ic {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 8px;
    border-radius: 50%;
    background: var(--portal-surface-2);
    color: var(--portal-ink-2);
}

.bo-empty-t {
    margin: 0;
    color: var(--portal-ink);
    font-size: 14.5px;
    font-weight: 600;
}

.bo-empty-d {
    max-width: 52ch;
    margin: 0;
    font-size: 13.5px;
}

.bo-empty-a {
    margin-top: 12px;
}

.bo-callout {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border: 1px solid var(--portal-info-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-info-soft-bg);
    color: var(--portal-ink);
    font-size: 13.5px;
    line-height: 1.5;
}

.bo-callout > .bo-ic {
    margin-top: 1px;
    color: var(--portal-info-soft-text);
}

.bo-callout-warn {
    border-color: var(--portal-warn-line);
    background: var(--portal-warning-soft-bg);
}

.bo-callout-warn > .bo-ic {
    color: var(--portal-warning-soft-text);
}

.bo-callout-danger {
    border-color: var(--portal-danger-line);
    background: var(--portal-danger-soft-bg);
}

.bo-callout-danger > .bo-ic {
    color: var(--portal-danger-soft-text);
}

.bo-callout-b {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.bo-callout-b > *,
.bo-callout-b p {
    margin: 0;
}

.bo-callout-b :is(h2, p, ul) + :is(p, ul) {
    margin-top: 6px;
}

.bo-callout strong,
.bo-callout-t {
    font-size: 13.5px;
    font-weight: 600;
}

.bo-callout-a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.bo-callout a:not(.bo-btn) {
    color: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bo-callout a:not(.bo-btn):focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-callout ul {
    padding-left: 18px;
}

.bo-list > .bo-callout {
    margin-bottom: 12px;
}

.bo-card {
    min-width: 0;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-card-h {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px 0;
}

.bo-card-t {
    margin: 0;
    color: var(--portal-ink);
    font-family: var(--portal-font-body);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: -0.005em;
    line-height: 1.5;
}

.bo-card-s {
    margin: 2px 0 0;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-card-a {
    display: flex;
    gap: 6px;
    margin: -4px -6px 0 0;
}

.bo-card-b {
    padding: 12px 16px 16px;
}

.bo-card-b.is-flush {
    padding: 8px 0 6px;
}

.bo-card.is-props .bo-card-b {
    padding-top: 6px;
}

.bo-card-b > .bo-twrap {
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.bo-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    align-items: start;
    gap: 20px;
    margin-top: 16px;
}

.bo-ptabs + .bo-detail {
    margin-top: 20px;
}

.bo-detail-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.bo-detail-side {
    position: sticky;
    top: 16px;
    min-width: 0;
}

.bo-perm {
    display: flex;
    flex-direction: column;
}

.bo-perm-i {
    display: grid;
    grid-template-areas:
        "name ctl"
        "desc ctl";
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
    row-gap: 1px;
    min-width: 0;
    margin: 0;
    padding: 12px 16px;
    border: 0;
}

.bo-perm-i + .bo-perm-i {
    border-top: 1px solid var(--portal-line-soft);
}

.bo-perm-n {
    float: left;
    grid-area: name;
    align-self: end;
    padding: 0;
    color: var(--portal-ink);
    font-size: 13.5px;
    font-weight: 500;
}

.bo-perm-d {
    grid-area: desc;
    align-self: start;
    margin: 0;
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-perm-c {
    display: flex;
    grid-area: ctl;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.bo-select {
    position: relative;
    display: inline-flex;
}

.bo-select.is-block {
    display: flex;
    width: 100%;
}

.bo-select select {
    height: 30px;
    padding: 0 28px 0 10px;
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface);
    color: var(--portal-ink);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    appearance: none;
}

.bo-select.is-block select {
    width: 100%;
    height: var(--portal-control-h);
}

.bo-select > .bo-ic {
    position: absolute;
    top: 50%;
    right: 8px;
    color: var(--portal-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.bo-select.is-off {
    opacity: 0.4;
}

.bo-select select:disabled {
    cursor: not-allowed;
}

.bo-select select:focus {
    border-color: var(--portal-focus);
    outline: none;
    box-shadow: 0 0 0 3px var(--portal-focus-ring);
}

.bo-props {
    margin: 0;
}

.bo-prow {
    display: grid;
    grid-template-columns: 104px minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    min-height: 34px;
}

.bo-prow dt {
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-prow dd {
    min-width: 0;
    margin: 0;
    color: var(--portal-ink);
    font-size: 13.5px;
    overflow-wrap: anywhere;
}

.bo-prop-note {
    display: block;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-note {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 12px 0 0;
    color: var(--portal-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.bo-note-i {
    flex: none;
    color: var(--portal-muted);
}

.bo-suggest {
    min-width: 0;
}

.bo-suggest-wrp {
    position: relative;
}

.bo-suggest-wrp .fi-input {
    padding-inline-end: 32px;
}

.bo-suggest-busy {
    position: absolute;
    top: 50%;
    right: 10px;
    display: inline-flex;
    color: var(--portal-muted);
    transform: translateY(-50%);
    pointer-events: none;
}

.bo-suggest-pop {
    margin-top: 6px;
    padding: 4px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    background: var(--portal-raised);
    box-shadow: var(--portal-shadow-pop);
    color: var(--portal-ink);
}

.bo-suggest-list {
    display: flex;
    flex-direction: column;
    gap: 2px;
    max-height: min(560px, 70vh);
    margin: 0;
    padding: 0;
    overflow-y: auto;
    list-style: none;
}

.bo-suggest-opt {
    display: flex;
    flex: none;
    align-items: center;
    gap: 12px;
    min-height: 44px;
    padding: 6px 8px;
    border-radius: calc(var(--portal-radius-3) - 4px);
    cursor: pointer;
}

.bo-suggest-opt.is-active {
    background: var(--portal-surface-2);
    box-shadow: inset 0 0 0 2px var(--portal-focus);
}

.bo-suggest-opt[aria-disabled="true"] {
    cursor: default;
}

.bo-suggest-main {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    line-height: 1.35;
}

.bo-suggest-name {
    color: var(--portal-ink);
    font-size: 13.5px;
    font-weight: 500;
    overflow-wrap: anywhere;
}

.bo-suggest-mail {
    color: var(--portal-ink-2);
    font-size: 12.5px;
    overflow-wrap: anywhere;
}

.bo-suggest-meta {
    color: var(--portal-muted);
    font-size: 12px;
    overflow-wrap: anywhere;
}

.bo-suggest-side {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.bo-suggest-open {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: var(--portal-ink-2);
    font-size: 12px;
    font-weight: 500;
}

.bo-suggest-more {
    margin: 4px 0 0;
    padding: 8px 8px 4px;
    border-top: 1px solid var(--portal-border);
    color: var(--portal-muted);
    font-size: 12px;
    line-height: 1.4;
}

.bo-note.bo-suggest-note {
    margin: 6px 0 0;
}

.bo-note.bo-suggest-hint {
    margin: 0;
}

.bo-callout.bo-suggest-alert {
    margin-top: 8px;
}

.fi-modal .fi-modal-window.bo-dialog:has(.bo-suggest) {
    overflow-y: auto;
}

.bo-dialog:has(.bo-suggest) .fi-modal-header {
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .bo-suggest-opt {
        flex-wrap: wrap;
        row-gap: 6px;
    }

    .bo-suggest-side {
        flex-basis: 100%;
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: no-preference) {
    .bo-suggest-pop {
        animation: bo-pop 0.14s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .bo-suggest-busy > svg {
        animation: bo-suggest-spin 0.9s linear infinite;
    }
}

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

.bo-switch-l {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.bo-switch-l input {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: 0;
    opacity: 0;
}

.bo-switch {
    position: relative;
    display: inline-block;
    flex: none;
    width: 34px;
    height: 20px;
    border-radius: 999px;
    background: var(--portal-border-strong);
    transition: background-color 0.15s;
}

.bo-switch-k {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--portal-switch-knob);
    box-shadow: var(--portal-switch-knob-shadow);
    transition: transform 0.15s;
}

.bo-switch-l input:checked + .bo-switch {
    background: var(--portal-switch-on);
}

.bo-switch-l input:checked + .bo-switch .bo-switch-k {
    transform: translateX(14px);
}

.bo-switch-l input:focus-visible + .bo-switch {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-switch-l:has(input:disabled) {
    cursor: not-allowed;
}

.bo-switch-l input:disabled + .bo-switch {
    opacity: 0.45;
}

[aria-busy="true"] .bo-switch-l {
    cursor: progress;
}

[aria-busy="true"] .bo-switch {
    opacity: 0.6;
}

.bo-savebar {
    position: sticky;
    bottom: 16px;
    z-index: 10;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 7px 8px 7px 14px;
    border-radius: var(--portal-radius-3);
    background: var(--portal-ink-bg);
    box-shadow: var(--portal-shadow-pop);
    color: var(--portal-ink-fg);
    font-size: 13px;
}

.bo-savebar-t {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bo-savebar-a {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
}

.bo-savebar .bo-btn-ghost {
    color: var(--portal-ink-fg);
}

.bo-savebar .bo-btn-ghost:hover {
    background: color-mix(in oklab, var(--portal-ink-fg) 12%, transparent);
    color: var(--portal-ink-fg);
}

.bo-savebar :focus-visible {
    outline-color: var(--portal-ink-fg);
}

.fi-modal .fi-modal-window.bo-dialog {
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-container);
    background: var(--portal-raised);
    box-shadow: var(--portal-shadow-modal);
    color: var(--portal-ink);
    font-family: var(--portal-font-body);
}

.bo-dialog.fi-width-2xl {
    max-width: min(640px, 100%);
}

.bo-dialog .fi-modal-header {
    align-items: flex-start;
    gap: 12px;
    min-height: 50px;
    padding: 18px 20px 4px;
}

.bo-dialog .fi-modal-heading {
    margin-inline-end: 40px;
    color: var(--portal-ink);
    font-family: var(--portal-font-display);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    letter-spacing: -0.01em;
}

.bo-dialog .fi-modal-description {
    margin-top: 2px;
    margin-inline-end: 40px;
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
    line-height: 1.5;
}

.bo-dialog .fi-modal-close-btn {
    top: 18px;
    inset-inline-end: 20px;
    width: 28px;
    height: 28px;
    margin: 0;
    border-radius: var(--portal-radius-btn);
    color: var(--portal-ink-2);
}

.bo-dialog .fi-modal-close-btn svg {
    width: 16px;
    height: 16px;
}

.bo-dialog .fi-modal-close-btn:hover {
    background: var(--portal-surface-2);
    color: var(--portal-ink);
}

.bo-dialog .fi-modal-content {
    gap: 14px;
    padding: 14px 20px 20px;
}

.bo-dialog .fi-grid {
    column-gap: 12px;
    row-gap: 14px;
}

.bo-dialog .fi-fo-field {
    gap: 6px;
}

.fi-modal-window.bo-dialog .fi-fo-field-label-content {
    color: var(--portal-ink);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}

.fi-modal-window.bo-dialog .fi-input-wrp {
    min-height: var(--portal-control-h);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface);
    box-shadow: none;
    outline: 1px solid var(--portal-border-strong);
    outline-offset: -1px;
    transition: outline-color 0.12s, box-shadow 0.12s;
}

.fi-modal-window.bo-dialog .fi-input-wrp:hover {
    outline-color: var(--portal-ink-4);
}

.fi-modal-window.bo-dialog .fi-input-wrp:focus-within {
    outline-color: var(--portal-focus);
    box-shadow: 0 0 0 3px var(--portal-focus-ring);
}

.fi-modal-window.bo-dialog .fi-input-wrp.fi-invalid {
    outline-color: var(--portal-danger-solid);
}

.fi-modal-window.bo-dialog .fi-input,
.fi-modal-window.bo-dialog .fi-select-input {
    color: var(--portal-ink);
    font-size: 13.5px;
}

.fi-modal-window.bo-dialog .fi-badge {
    gap: 2px;
    min-height: 24px;
    padding: 0 0 0 8px;
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-fchip-radius);
    background: var(--portal-surface-2);
    box-shadow: none;
    color: var(--portal-ink);
    font-size: 12.5px;
    font-weight: 500;
}

.fi-modal-window.bo-dialog .fi-badge-delete-btn {
    width: 24px;
    height: 24px;
    margin: 0;
    padding: 0;
    border-radius: var(--portal-fchip-radius);
    color: var(--portal-muted);
}

.fi-modal-window.bo-dialog .fi-badge .fi-badge-delete-btn-icon {
    color: inherit;
}

.fi-modal-window.bo-dialog .fi-badge-delete-btn:hover,
.fi-modal-window.bo-dialog .fi-badge-delete-btn:focus-visible {
    color: var(--portal-ink);
}

.fi-modal-window.bo-dialog .fi-badge-delete-btn:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-dialog .fi-input-wrp:has(select.fi-select-input) {
    position: relative;
}

.bo-dialog .fi-input-wrp:has(select.fi-select-input)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: 10px;
    width: 14px;
    height: 14px;
    background: var(--portal-muted);
    transform: translateY(-50%);
    pointer-events: none;
    mask: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bo-dialog select.fi-select-input {
    padding-inline-end: 32px;
}

.fi-modal-window.bo-dialog .fi-input::placeholder {
    color: var(--portal-faint);
}

.bo-dialog .fi-fo-field-wrp-error-message {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--portal-danger-soft-text);
    font-size: 12.5px;
    font-weight: 500;
}

.bo-dialog .fi-modal-footer {
    padding: var(--portal-modal-foot-pad-top) 20px 12px;
    border-top: var(--portal-modal-foot-line-width) solid var(--portal-modal-foot-line);
    background: var(--portal-modal-foot-bg);
}

.bo-dialog .fi-modal-footer-actions {
    flex-direction: row;
    justify-content: flex-end;
    gap: 8px;
}

.bo-dialog .fi-modal-footer-actions .fi-btn:not(.fi-color) {
    background: transparent;
    box-shadow: none;
    color: var(--portal-ink-2);
    --tw-ring-color: transparent;
}

.bo-dialog .fi-modal-footer-actions .fi-btn:not(.fi-color):hover {
    background: var(--portal-surface-2);
    color: var(--portal-ink);
}

.bo-dialog .fi-modal-footer-actions .fi-btn.fi-color-primary {
    box-shadow: var(--portal-btn-primary-shadow);
}

.fi-modal:has(> .fi-modal-window-ctn > .bo-dialog) > .fi-modal-window-ctn {
    grid-template-rows: 0 auto 1fr;
    padding: 9vh 16px 16px;
}

.fi-modal:has(> .fi-modal-window-ctn > .bo-dialog) > .fi-modal-close-overlay {
    background: var(--portal-scrim);
}

.bo-dialog.fi-width-lg {
    max-width: min(520px, 100%);
}

.bo-dialog .fi-modal-icon-ctn {
    display: none;
}

.fi-modal-window.bo-dialog-danger .fi-modal-heading {
    color: var(--portal-danger-soft-text);
}

.bo-dialog .fi-modal-content > p,
.bo-dialog .fi-modal-content .fi-modal-text {
    margin: 0;
    color: var(--portal-ink);
    font-size: 13.5px;
}

.fi-panel-admin .fi-fo-field-label-ctn {
    align-items: baseline;
    column-gap: 4px;
}

.fi-panel-admin .fi-fo-field-label-ctn > .fi-sc {
    flex: none;
    justify-content: flex-start;
}

.bo-dialog .fi-fo-field-wrp-helper-text,
.bo-dialog .fi-fo-field-content .fi-fo-field-helper-text,
.bo-dialog .fi-sc-text {
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-dialog .fi-fo-field-wrp-error-message::before {
    content: "";
    flex: none;
    width: 14px;
    height: 14px;
    background: currentColor;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cline x1='12' x2='12' y1='8' y2='12'/%3E%3Cline x1='12' x2='12.01' y1='16' y2='16'/%3E%3C/svg%3E") center / contain no-repeat;
}

.bo-dialog textarea.fi-input {
    padding: 8px 10px;
    line-height: 1.5;
}

.fi-modal-window.bo-dialog .fi-checkbox-input {
    width: 16px;
    height: 16px;
    margin: 0;
    background: none;
    box-shadow: none;
    accent-color: var(--portal-check);
    appearance: auto;
    cursor: pointer;
}

.bo-dialog .fi-fo-checkbox .fi-fo-field-label,
.bo-dialog .fi-fo-field-label:has(.fi-checkbox-input) {
    align-items: center;
    gap: 8px;
    min-height: 28px;
}

.bo-dialog .fi-fo-field-label:has(.fi-checkbox-input) .fi-fo-field-label-content {
    font-size: 13.5px;
    font-weight: 400;
}

.bo-dialog .fi-modal-footer-actions .fi-btn {
    gap: 6px;
    height: var(--portal-control-h);
    min-height: var(--portal-control-h);
    padding: 0 12px;
    border: 1px solid transparent;
    border-radius: var(--portal-radius-btn);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1;
}

.bo-dialog .fi-modal-footer-actions .fi-btn .fi-icon {
    width: 16px;
    height: 16px;
}

.bo-dialog .fi-modal-footer-actions .fi-btn.fi-color-danger {
    --bg: var(--portal-danger-btn);
    --hover-bg: var(--portal-danger-btn-hover);
    --dark-bg: var(--portal-danger-btn);
    --dark-hover-bg: var(--portal-danger-btn-hover);
    --text: var(--portal-on-danger);
    --hover-text: var(--portal-on-danger);
    --dark-text: var(--portal-on-danger);
    --dark-hover-text: var(--portal-on-danger);
    box-shadow: none;
}

.bo-dialog .fi-modal-footer-actions .fi-btn.fi-color-danger .fi-icon,
.bo-dialog .fi-modal-footer-actions .fi-btn.fi-color-danger .fi-btn-label {
    color: var(--portal-on-danger);
}

.fi-panel-admin .fi-no {
    inset: 16px 16px 20px;
}

.fi-panel-admin .fi-no-notification:not(.fi-inline) {
    align-items: center;
    gap: 10px;
    width: max-content;
    max-width: min(560px, calc(100vw - 32px));
    padding: 10px 10px 10px 14px;
    border-radius: var(--portal-radius-3);
    background: var(--portal-ink-bg);
    box-shadow: var(--portal-shadow-pop);
    color: var(--portal-ink-fg);
    font-family: var(--portal-font-body);
    font-size: 13.5px;
    --tw-ring-color: transparent;
}

.fi-panel-admin .fi-no-notification .fi-no-notification-icon {
    width: 16px;
    height: 16px;
    color: var(--portal-ink-ok);
}

.fi-panel-admin .fi-no-notification.fi-status-danger .fi-no-notification-icon {
    color: var(--portal-ink-danger);
}

.fi-panel-admin .fi-no-notification-main {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 10px;
    margin-top: 0;
}

.fi-panel-admin .fi-no-notification-text {
    gap: 2px;
}

.fi-panel-admin .fi-no-notification-title {
    color: var(--portal-ink-fg);
    font-size: 13.5px;
    font-weight: 400;
}

.fi-panel-admin .fi-no-notification-body {
    color: color-mix(in oklab, var(--portal-ink-fg) 72%, transparent);
    font-size: 12.5px;
}

.fi-panel-admin .fi-no-notification:not(.fi-inline) .fi-no-notification-title {
    color: var(--portal-ink-fg);
}

.fi-panel-admin .fi-no-notification:not(.fi-inline) .fi-no-notification-body {
    color: color-mix(in oklab, var(--portal-ink-fg) 72%, transparent);
}

.fi-panel-admin .fi-no-notification-actions {
    gap: 4px;
}

.fi-panel-admin .fi-no-notification-actions .fi-btn {
    min-height: 0;
    height: auto;
    padding: 4px 8px;
    border-radius: 6px;
    background: transparent;
    box-shadow: none;
    color: var(--portal-ink-link);
    font-size: 13.5px;
    font-weight: 600;
    --tw-ring-color: transparent;
}

.fi-panel-admin .fi-no-notification-actions .fi-btn .fi-btn-label,
.fi-panel-admin .fi-no-notification-actions .fi-btn .fi-icon {
    color: var(--portal-ink-link);
}

.fi-panel-admin .fi-no-notification-actions .fi-btn:hover {
    background: color-mix(in oklab, var(--portal-ink-fg) 12%, transparent);
}

.fi-panel-admin .fi-no-notification-actions .fi-btn:focus-visible {
    outline: 2px solid var(--portal-ink-fg);
    outline-offset: 1px;
}

.fi-panel-admin .fi-no-notification-close-btn {
    color: color-mix(in oklab, var(--portal-ink-fg) 64%, transparent);
}

.fi-panel-admin .fi-no-notification-close-btn:hover {
    color: var(--portal-ink-fg);
}

.fi-panel-admin .fi-no-notification-close-btn:focus-visible {
    outline: 2px solid var(--portal-ink-fg);
    outline-offset: 1px;
}

.bo-kpis {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-kpis-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bo-kpis-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bo-kpis-1 {
    grid-template-columns: minmax(0, 1fr);
}

.bo-kpi-i {
    display: flex;
    min-width: 0;
}

.bo-kpi {
    position: relative;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
    color: var(--portal-ink);
    text-decoration: none;
}

.bo-kpi::before {
    content: "";
    position: absolute;
    top: 0;
    right: 16px;
    left: 16px;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: var(--portal-kpi-hover-mark);
    opacity: 0;
    transition: opacity 0.15s;
}

a.bo-kpi:hover::before {
    opacity: 1;
}

a.bo-kpi:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-kpi-l {
    color: var(--portal-muted);
    font-size: 12.5px;
    font-weight: 500;
}

.bo-kpi-v {
    margin-top: 2px;
    font-family: var(--portal-font-display);
    font-size: var(--portal-kpi-size);
    font-weight: var(--portal-kpi-weight);
    letter-spacing: -0.025em;
    line-height: 1.2;
}

.bo-kpi-f {
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-kpi-a {
    display: flex;
    margin-top: 10px;
}

.bo-meter {
    display: block;
    height: 6px;
    margin-top: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--portal-surface-2);
}

.bo-meter-fill {
    display: block;
    height: 100%;
    border-radius: 999px;
}

.bo-meter-fill.bo-tone-ok,
.bo-hseg.bo-tone-ok,
.bo-dot.bo-tone-ok {
    background: var(--portal-ok-solid);
}

.bo-meter-fill.bo-tone-warn,
.bo-hseg.bo-tone-warn,
.bo-dot.bo-tone-warn {
    background: var(--portal-warn-solid);
}

.bo-meter-fill.bo-tone-danger,
.bo-hseg.bo-tone-danger,
.bo-dot.bo-tone-danger {
    background: var(--portal-danger-solid);
}

.bo-meter-fill.bo-tone-accent {
    background: var(--portal-red);
}

.bo-meter-fill.bo-tone-neutral {
    background: var(--portal-chart-1);
}

.bo-hseg.bo-tone-neutral,
.bo-dot.bo-tone-neutral {
    background: var(--portal-border-strong);
}

.bo-grid-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    gap: 16px;
    margin-top: 16px;
}

.bo-grid-uneven {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
}

.bo-grid-wide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
}

.bo-alist,
.bo-feed,
.bo-bars,
.bo-hlist {
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-aitem,
.bo-feed-i {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 9px 16px;
    color: var(--portal-ink);
    text-decoration: none;
}

a.bo-aitem:hover,
a.bo-feed-i:hover {
    background: var(--portal-hover);
}

a.bo-aitem:focus-visible,
a.bo-feed-i:focus-visible {
    outline: none;
    box-shadow: inset 0 0 0 2px var(--portal-focus);
}

.bo-aitem-ic {
    display: grid;
    flex: none;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: var(--portal-radius-2);
}

.bo-aitem-ic.bo-tone-warn {
    background: var(--portal-warning-soft-bg);
    color: var(--portal-warning-soft-text);
}

.bo-aitem-ic.bo-tone-danger {
    background: var(--portal-danger-soft-bg);
    color: var(--portal-danger-soft-text);
}

.bo-aitem-ic.bo-tone-info {
    background: var(--portal-info-soft-bg);
    color: var(--portal-info-soft-text);
}

.bo-aitem-ic.bo-tone-ok {
    background: var(--portal-success-soft-bg);
    color: var(--portal-success-soft-text);
}

.bo-aitem-go {
    flex: none;
    color: var(--portal-ink-4);
}

.bo-aitem-t,
.bo-feed-t {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    font-size: 13.5px;
    line-height: 1.4;
}

.bo-aitem-s,
.bo-feed-s {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-feed-t strong {
    font-weight: 600;
}

.bo-hlist {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bo-hrow {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 12px;
    min-height: 30px;
}

.bo-hrow-n {
    overflow: hidden;
    color: var(--portal-ink);
    font-size: 13px;
    text-decoration: none;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.bo-hrow-n:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

a.bo-hrow-n:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-hrow-v,
.bo-bar-v {
    font-family: var(--portal-count-font);
    font-size: 12.5px;
    font-weight: var(--portal-num-weight);
    letter-spacing: var(--portal-num-tracking);
    text-align: right;
}

.bo-hrow-v {
    color: var(--portal-muted);
}

.bo-hbar {
    display: flex;
    gap: 2px;
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--portal-surface-2);
}

.bo-hseg {
    display: block;
    min-width: 4px;
}

.bo-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin: 14px 0 0;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin-right: 6px;
    border-radius: 50%;
}

.bo-bar-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) 72px;
    align-items: center;
    gap: 12px;
    min-height: 30px;
}

.bo-bar-row.is-dim .bo-bar-t {
    opacity: 0.4;
}

.bo-bar-row.is-dim .bo-bar-l,
.bo-bar-row.is-dim .bo-bar-v {
    color: var(--portal-muted);
}

.bo-bar-l {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    font-size: 13px;
    white-space: nowrap;
}

.bo-bar-l > span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
}

.bo-bar-t {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--portal-surface-2);
}

.bo-bar-f {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--portal-chart-1);
}

.bo-bar-v {
    color: var(--portal-ink-2);
}

.bo-card-empty {
    margin: 0;
    font-size: 13.5px;
}

.summary-notice {
    margin-bottom: 16px;
}

.bo-shortcuts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-shortcut {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-shortcut:hover {
    box-shadow: var(--portal-shadow-hover);
}

.bo-shortcut-t {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.bo-shortcut-n {
    color: var(--portal-ink);
    font-weight: 500;
    text-decoration: none;
}

.bo-shortcut-n::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.bo-shortcut-n:focus-visible {
    outline: none;
}

.bo-shortcut:has(.bo-shortcut-n:focus-visible) {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-shortcut-s {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-agroup + .bo-agroup {
    margin-top: 24px;
}

.bo-agroup-t {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 8px;
    color: var(--portal-ink-2);
    font-size: 13px;
    font-weight: 600;
}

.bo-agroup-n {
    color: var(--portal-muted);
    font-weight: 400;
}

.bo-inbox {
    margin: 0;
    padding: 0;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
    list-style: none;
}

.bo-inbox-i {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
}

.bo-inbox-i + .bo-inbox-i {
    border-top: 1px solid var(--portal-line-soft);
}

.bo-inbox-b {
    flex: 1;
    min-width: 0;
}

.bo-inbox-t {
    margin: 0;
    color: var(--portal-ink);
    font-size: 13.5px;
    line-height: 1.45;
}

.bo-inbox-t a {
    color: var(--portal-ink);
    font-weight: 600;
    text-decoration: none;
}

.bo-inbox-t a:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bo-inbox-t a:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-inbox-t strong {
    font-weight: 600;
}

.bo-inbox-s {
    margin: 2px 0 0;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-inbox-m {
    margin-top: 6px;
}

.bo-inbox-q {
    margin: 8px 0 0;
    padding: 4px 0 4px 10px;
    border-left: 2px solid var(--portal-border-strong);
    color: var(--portal-ink-2);
    font-size: 13px;
}

.bo-inbox-a {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
}

.approvals-body > .bo-callout {
    margin-bottom: 16px;
}

.fi-modal.bo-sheet > .fi-modal-close-overlay {
    background: var(--portal-scrim-light);
}

.fi-modal.bo-sheet > .fi-modal-window-ctn {
    padding: var(--portal-sheet-inset);
}

.fi-modal.bo-sheet > .fi-modal-window-ctn > .fi-modal-window {
    width: min(var(--portal-sheet-w), 100%);
    max-width: min(var(--portal-sheet-w), 100%);
    height: calc(100dvh - 2 * var(--portal-sheet-inset));
    overflow: hidden;
    border: 1px solid var(--portal-sheet-line);
    border-radius: var(--portal-sheet-radius);
    background: var(--portal-panel-raised);
    box-shadow: var(--portal-sheet-shadow);
}

.fi-modal.bo-sheet .fi-modal-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 0;
    padding: 0;
}

.bo-sheet-bar {
    display: flex;
    flex: none;
    align-items: center;
    gap: 2px;
    height: 48px;
    padding: 0 12px;
    border-bottom: 1px solid var(--portal-border);
}

.bo-sheet-sep {
    width: 1px;
    height: 18px;
    margin: 0 6px;
    background: var(--portal-border);
}

.bo-sheet-pos {
    margin-left: 6px;
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-sheet-body {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 20px 24px 64px;
}

.bo-sheet-body .bo-ehead h1 {
    font-size: var(--portal-h1-sheet-size);
}

.bo-sheet-body .bo-ptabs {
    margin-top: 12px;
}

.bo-sheet-main {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 16px;
}

.bo-props.is-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 24px;
    margin: 0 0 4px;
    padding: 10px 0;
    border-top: 1px solid var(--portal-border);
    border-bottom: 1px solid var(--portal-border);
}

.bo-copyable {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: all;
}

.bo-copy {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.bo-small {
    font-size: var(--portal-font-size-xs);
}

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

.bo-slist-i {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
}

.bo-thumb {
    --bo-thumb-s: 48px;
    display: inline-grid;
    flex: none;
    place-items: center;
    width: var(--bo-thumb-s);
    height: var(--bo-thumb-s);
    overflow: hidden;
    border: 1px solid var(--portal-line-soft);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface-2);
}

.bo-thumb-sm {
    --bo-thumb-s: 36px;
}

.bo-thumb-lg {
    --bo-thumb-s: 72px;
}

.bo-thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bo-thumb-ph {
    color: var(--portal-muted);
    font-size: 11px;
    font-weight: 600;
}

.bo-slist-i + .bo-slist-i {
    border-top: 1px solid var(--portal-line-soft);
}

.bo-slist-b {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
}

.bo-slist-n {
    color: var(--portal-ink);
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
}

a.bo-slist-n:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

a.bo-slist-n:focus-visible {
    align-self: flex-start;
    border-radius: 3px;
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-slist-s {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-agrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-agrid-i {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-2);
}

.bo-agrid-t {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bo-agrid-n {
    font-size: 13px;
    font-weight: 500;
}

.bo-agrid-s {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-tl {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-tl > li {
    position: relative;
    display: flex;
    gap: 12px;
    padding-bottom: 16px;
}

.bo-tl > li:not(:last-child)::before {
    content: "";
    position: absolute;
    top: 14px;
    bottom: 0;
    left: 4px;
    width: 1px;
    background: var(--portal-border);
}

.bo-tl-dot {
    flex: none;
    width: 9px;
    height: 9px;
    margin-top: 6px;
    border: 2px solid var(--portal-ink-4);
    border-radius: 50%;
    background: var(--portal-surface);
}

.bo-tl > li:first-child .bo-tl-dot {
    border-color: var(--portal-red);
}

.bo-tl-b p {
    margin: 0;
    font-size: 13.5px;
}

.bo-tl-b .bo-tl-note {
    color: var(--portal-ink-2);
    font-size: 13px;
}

.bo-tl-b time {
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-card .bo-empty {
    padding: 32px 16px;
    border: 0;
    background: none;
}

.bo-dialog .bo-dialog-note {
    margin-bottom: 4px;
}

.bo-callout code {
    font-family: var(--portal-font-mono);
    font-size: 0.92em;
}

.bo-txt-danger {
    color: var(--portal-danger-soft-text);
}

.bo-txt-warn {
    color: var(--portal-warning-soft-text);
}

.bo-txt-ok {
    color: var(--portal-success-soft-text);
}

.bo-tiles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-tile-i {
    display: flex;
    min-width: 0;
}

.bo-tile {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
    color: var(--portal-ink);
    text-decoration: none;
    transition: border-color 0.12s, box-shadow 0.12s;
}

a.bo-tile:hover {
    border-color: var(--portal-border-strong);
    box-shadow: var(--portal-shadow-hover);
}

a.bo-tile:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-tile-menu {
    position: relative;
}

.bo-tile-menu:hover {
    border-color: var(--portal-border-strong);
    box-shadow: var(--portal-shadow-hover);
}

.bo-tile-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.bo-tile-n {
    min-width: 0;
    font-size: 14px;
    font-weight: 600;
    overflow-wrap: anywhere;
}

.bo-tile-link {
    color: var(--portal-ink);
    text-decoration: none;
}

.bo-tile-link::after {
    position: absolute;
    inset: 0;
    border-radius: var(--portal-radius-3);
    content: "";
}

.bo-tile-link:focus-visible {
    outline: none;
}

.bo-tile-link:focus-visible::after {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-tile-b {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 4px;
}

.bo-tile-m {
    position: relative;
    margin-left: auto;
}

.bo-tile-d {
    display: -webkit-box;
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 12.5px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bo-tile-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-tile-stats strong {
    color: var(--portal-ink);
    font-weight: 600;
}

.bo-tile-stats .bo-txt-danger strong {
    color: var(--portal-danger-soft-text);
}

.bo-tile .bo-meter {
    margin-top: 2px;
}

.bo-tile-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--portal-line-soft);
    font-size: 12.5px;
}

.bo-sysgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-sys-i {
    display: flex;
    min-width: 0;
}

.bo-sys {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
    color: var(--portal-ink);
}

.bo-sys-top {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
}

.bo-sys-t {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.bo-sys-n {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--portal-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bo-sys-d {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 12.5px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bo-sys-m {
    position: relative;
    flex: none;
    margin-left: auto;
}

.bo-sys-dl {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
    margin: 0;
}

.bo-sys-dl dt {
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-sys-dl dd {
    margin: 0;
    color: var(--portal-ink);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.bo-sys-f {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--portal-line-soft);
    font-size: 12.5px;
}

.bo-sys-logo {
    --bo-sys-h: var(--portal-sys-0);
    display: grid;
    flex: none;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: var(--portal-radius-2);
    background: color-mix(in oklab, var(--bo-sys-h) 14%, var(--portal-surface));
    color: color-mix(in oklab, var(--bo-sys-h) 70%, var(--portal-ink));
    font-size: 12.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.bo-sys-logo-0 { --bo-sys-h: var(--portal-sys-0); }
.bo-sys-logo-1 { --bo-sys-h: var(--portal-sys-1); }
.bo-sys-logo-2 { --bo-sys-h: var(--portal-sys-2); }
.bo-sys-logo-3 { --bo-sys-h: var(--portal-sys-3); }
.bo-sys-logo-4 { --bo-sys-h: var(--portal-sys-4); }
.bo-sys-logo-5 { --bo-sys-h: var(--portal-sys-5); }

.bo-sysgrid-t {
    margin: 28px 0 12px;
    color: var(--portal-ink);
    font-family: var(--portal-font-display);
    font-size: 15px;
    font-weight: 600;
    line-height: 1.35;
}

.bo-sys-shorts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-sys-short-i {
    display: flex;
    min-width: 0;
}

.bo-sys-short {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 0;
    padding: 14px 8px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    color: var(--portal-ink);
    font-size: 12.5px;
    font-weight: 500;
    line-height: 1.35;
    text-align: center;
    text-decoration: none;
}

.bo-sys-short:hover {
    border-color: var(--portal-border-strong);
    background: var(--portal-hover);
}

.bo-sys-short:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-sys-short-n {
    display: -webkit-box;
    max-width: 100%;
    overflow: hidden;
    overflow-wrap: anywhere;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bo-screen {
    padding-block: 32px;
}

.bo-pval {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    min-height: 28px;
    margin-left: -7px;
    padding: 2px 6px;
    border: 1px solid transparent;
    border-radius: var(--portal-radius-control);
    background: none;
    color: var(--portal-ink);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
}

.bo-pval-v {
    display: inline-flex;
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
}

.bo-pval .bo-who,
.bo-prow dd > .bo-who {
    max-width: 100%;
}

.bo-pval-i {
    flex: none;
    color: var(--portal-ink-4);
    opacity: 0;
    transition: opacity 0.12s;
}

.bo-pval:hover,
.bo-pval[aria-expanded="true"] {
    border-color: var(--portal-border);
    background: var(--portal-surface-2);
}

.bo-pval:hover .bo-pval-i,
.bo-pval:focus-visible .bo-pval-i,
.bo-pval[aria-expanded="true"] .bo-pval-i {
    opacity: 1;
}

.bo-pedit {
    min-width: 0;
    max-width: 100%;
}

.bo-ent-t:has(> .bo-pedit) {
    flex: 1 1 auto;
}

.bo-pval:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 1px;
}

.bo-ptab[aria-selected="true"] {
    color: var(--portal-ink);
}

.bo-ptab[aria-selected="true"]::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: -1px;
    left: 0;
    height: 2px;
    border-radius: 2px;
    background: var(--portal-tab-mark);
}

button.bo-ptab {
    border: 0;
    background: none;
    font: inherit;
    font-size: 13.5px;
    font-weight: 500;
    cursor: pointer;
}

.bo-tabpanel {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bo-detail-main > .bo-tabpanel[hidden],
.bo-sheet-main > .bo-tabpanel[hidden] {
    display: none;
}

.bo-lede {
    max-width: 65ch;
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}

.bo-h-sub {
    margin: 18px 0 6px;
    color: var(--portal-muted);
    font-size: 12.5px;
    font-weight: 600;
}

.bo-toc {
    margin: 0;
    padding-left: 20px;
    font-size: 13.5px;
    line-height: 1.7;
}

.bo-toc .is-sub {
    padding-left: 16px;
    color: var(--portal-ink-2);
    font-size: 13px;
}

.bo-locked {
    display: block;
}

.bo-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bo-fgrid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 12px;
}

.bo-fld {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.bo-fld.is-wide {
    grid-column: 1 / -1;
}

.bo-flabel {
    padding: 0;
    color: var(--portal-ink);
    font-size: 13px;
    font-weight: 500;
}

.bo-in {
    width: 100%;
    height: var(--portal-control-h);
    padding: 0 10px;
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface);
    color: var(--portal-ink);
    font: inherit;
    font-size: 13.5px;
    transition: border-color 0.12s, box-shadow 0.12s;
}

textarea.bo-in {
    height: auto;
    padding: 8px 10px;
    line-height: 1.5;
    resize: vertical;
}

.bo-in::placeholder {
    color: var(--portal-faint);
}

.bo-in:hover {
    border-color: var(--portal-ink-4);
}

.bo-in:focus {
    border-color: var(--portal-focus);
    outline: none;
    box-shadow: 0 0 0 3px var(--portal-focus-ring);
}

.bo-in[aria-invalid="true"] {
    border-color: var(--portal-danger-soft-text);
}

.bo-fhelp {
    margin: 0;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-ferr {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--portal-danger-soft-text);
    font-size: 12.5px;
    font-weight: 500;
}

.bo-choices {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.bo-choice {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    height: 100%;
    padding: 12px;
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    color: var(--portal-ink);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.12s, background-color 0.12s;
}

.bo-choice strong {
    font-weight: 600;
}

.bo-choice-i {
    margin-bottom: 4px;
    color: var(--portal-muted);
}

.bo-choice-s {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-choice:hover:not(:disabled) {
    border-color: var(--portal-ink-4);
}

.bo-choice[aria-checked="true"] {
    border-color: var(--portal-red);
    background: var(--portal-red-soft-bg);
    box-shadow: inset 0 0 0 1px var(--portal-red);
}

.bo-choice[aria-checked="true"] .bo-choice-i {
    color: var(--portal-accent-text);
}

.bo-choice:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-choice:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.bo-drop {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    width: 100%;
    padding: 22px 16px;
    border: 1.5px dashed var(--portal-border-strong);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface-2);
    color: var(--portal-ink-2);
    text-align: center;
    cursor: pointer;
}

.bo-drop.is-off {
    cursor: not-allowed;
    opacity: 0.6;
}

.bo-drop:hover,
.bo-drop[data-dragging="true"] {
    border-color: var(--portal-muted);
    color: var(--portal-ink);
}

.bo-drop:focus-within {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-drop.has-file {
    border-style: solid;
    border-color: var(--portal-success-soft-text);
    background: var(--portal-success-soft-bg);
    color: var(--portal-success-soft-text);
}

.bo-drop strong {
    color: var(--portal-ink);
    font-weight: 600;
}

.bo-drop-s {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-drop-input {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

.bo-upload {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bo-upload-status:empty {
    display: none;
}

.bo-form-f {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin: 4px -20px -20px;
    padding: 14px 20px;
    border-top: var(--portal-modal-foot-line-width) solid var(--portal-border);
}

.bo-editor-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.bo-editor {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bo-editor-tools {
    display: flex;
    flex-wrap: wrap;
    gap: 2px;
    padding: 4px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface);
}

.bo-editor-text {
    min-height: 420px;
    font-family: var(--portal-font-mono);
}

.bo-pdf-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.bo-skins {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.bo-skin {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-container);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-skin.is-mine {
    border-color: var(--portal-red);
    box-shadow: 0 0 0 1px var(--portal-red);
}

.bo-skin-b {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.bo-skin-b p {
    margin: 0;
}

.bo-skin-h {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bo-skin-h h2 {
    margin: 0;
    color: var(--portal-ink);
    font-family: var(--portal-font-display);
    font-size: 16px;
    font-weight: 600;
}

.bo-skin-f {
    display: grid;
    gap: 4px;
    margin: 0;
    padding: 0;
    color: var(--portal-ink-2);
    font-size: 13px;
    list-style: none;
}

.bo-skin-f li {
    display: flex;
    align-items: flex-start;
    gap: 6px;
}

.bo-skin-f svg {
    flex: none;
    margin-top: 2px;
    color: var(--portal-success-soft-text);
}

.bo-skin-a {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: auto;
    padding-top: 6px;
}

.bo-smock {
    display: grid;
    grid-template-columns: 30% 1fr;
    height: 168px;
    overflow: hidden;
    border-bottom: 1px solid var(--portal-border);
    background: var(--portal-bg);
    color: var(--portal-ink);
    font-family: var(--portal-font-body);
    font-size: 8.5px;
}

.bo-smock-side {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 10px 6px;
    background: var(--portal-side-bg);
}

.bo-smock-logo {
    width: 18px;
    height: 18px;
    margin: 0 0 6px 4px;
    border-radius: 5px;
    background: var(--portal-red);
}

.bo-smock-n {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 5px;
    border-radius: 5px;
    color: var(--portal-side-text-2);
    white-space: nowrap;
}

.bo-smock-n i {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 2px;
    background: currentColor;
    opacity: 0.55;
}

.bo-smock-n.is-on {
    background: var(--portal-side-active);
    box-shadow: var(--portal-side-active-shadow);
    color: var(--portal-side-active-text);
    font-weight: 600;
}

.bo-smock-main {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: var(--portal-smock-main-margin);
    padding: 12px;
    border-radius: var(--portal-smock-main-radius);
    background: var(--portal-panel);
    box-shadow: 0 0 0 1px var(--portal-border);
}

.bo-smock-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.bo-smock-h {
    color: var(--portal-ink);
    font-size: 12px;
    font-weight: 700;
}

.bo-smock-btn {
    padding: 3px 8px;
    border-radius: var(--portal-radius-btn);
    background: var(--portal-primary);
    color: var(--portal-on-primary);
    font-weight: 600;
}

.bo-smock-chips {
    display: flex;
    gap: 4px;
}

.bo-smock-chips span {
    width: 30px;
    height: 10px;
    border-radius: var(--portal-radius-btn);
    background: var(--portal-surface);
    box-shadow: 0 0 0 1px var(--portal-border);
}

.bo-smock-tbl {
    display: grid;
    gap: 1px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--portal-border);
    box-shadow: 0 0 0 1px var(--portal-border);
}

.bo-smock-tr {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 6px;
    background: var(--portal-surface);
}

.bo-smock-tr i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--portal-border-strong);
}

.bo-smock-tr b {
    flex: 1;
    height: 5px;
    border-radius: 3px;
    background: var(--portal-surface-2);
}

.bo-smock-tr em {
    width: 22px;
    height: 7px;
    border-radius: 4px;
    background: color-mix(in oklab, var(--portal-primary) 18%, var(--portal-surface));
}

.bo-srow {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 24px;
    padding: 14px 16px;
}

.bo-srow + .bo-srow {
    border-top: 1px solid var(--portal-line-soft);
}

.bo-srow-t {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bo-srow-n {
    color: var(--portal-ink);
    font-size: 13.5px;
    font-weight: 500;
}

.bo-srow-c {
    display: flex;
    justify-content: flex-end;
    min-width: 0;
}

.approvals-body > .bo-pager {
    margin-top: 12px;
}

.bo-dgroup + .bo-dgroup {
    margin-top: 28px;
}

.bo-dgroup-h {
    display: flex;
    align-items: baseline;
    gap: 10px;
    margin-bottom: 10px;
}

.bo-dgroup-t {
    margin: 0;
    color: var(--portal-ink);
    font-family: var(--portal-font-body);
    font-size: 14px;
    font-weight: 600;
}

.bo-link-sm {
    border-radius: 3px;
    color: var(--portal-ink-2);
    font-size: var(--portal-font-size-xs);
    font-weight: 500;
    text-decoration: none;
}

.bo-link-sm:hover {
    color: var(--portal-ink);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bo-link-sm:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-dgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-dcard {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-shadow-soft);
    color: var(--portal-ink);
    transition: border-color 0.12s, box-shadow 0.12s;
}

.bo-dcard:hover {
    border-color: var(--portal-border-strong);
    box-shadow: var(--portal-shadow-hover);
}

.bo-dcard:focus-within {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-dcard-top {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bo-dcard-type {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-dcard-t {
    margin: 0;
    font-family: var(--portal-font-body);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.bo-dcard-t a {
    color: inherit;
    text-decoration: none;
    outline: none;
}

.bo-dcard-t a::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
}

.bo-dcard-d {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 12.5px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bo-dcard-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 22px;
}

.bo-dcard-open {
    z-index: 1;
}

.bo-dcard:has(.bo-dcard-open:focus) {
    outline: none;
}

.bo-dcard-foot {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--portal-line-soft);
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-dcard-uses {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.bo-board {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(240px, 1fr));
    gap: 12px;
    padding-bottom: 8px;
    overflow-x: auto;
}

.bo-bcol {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 320px;
    padding: 8px;
    border-radius: var(--portal-radius-3);
    background: var(--portal-board-bg);
}

.bo-bcol-h {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 4px 4px 2px;
}

.bo-bcol-t {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
}

.bo-bcol-h .bo-pill-ok {
    color: color-mix(in oklab, var(--portal-success-soft-text) 82%, var(--portal-ink));
}

.bo-bcol-n {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
    font-variant-numeric: tabular-nums;
}

.bo-bcol-b {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-bcard {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 10px 12px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface);
    box-shadow: var(--portal-shadow-soft);
}

.bo-bcard-t {
    border-radius: 3px;
    color: var(--portal-ink);
    font-size: 13.5px;
    font-weight: 500;
    line-height: 1.35;
    text-decoration: none;
}

.bo-bcard-t:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.bo-bcard-t:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-bcard-s {
    margin: 0;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-bcard-f {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-top: 2px;
    font-size: 12.5px;
}

.bo-bcol-empty {
    margin: 0;
    padding: 8px 4px;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-diff {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    gap: 12px;
    align-items: center;
}

.bo-diff-c {
    min-width: 0;
    min-height: 64px;
    margin: 0;
    padding: 12px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface-2);
    font-size: 13.5px;
}

.bo-diff-c.is-after {
    border-color: var(--portal-ok-line);
    background: var(--portal-success-soft-bg);
}

.bo-diff-l {
    display: block;
    margin-bottom: 4px;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-diff-v {
    margin: 0;
    color: var(--portal-ink);
    line-height: 1.5;
    overflow-wrap: anywhere;
}

.bo-diff-line {
    display: block;
}

.bo-diff-arrow {
    color: var(--portal-muted);
}

.bo-th-sort {
    padding-right: 6px;
}

.bo-tbl thead th.bo-th-sort {
    padding-left: 6px;
}

.bo-th-sort-b {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-height: 24px;
    padding: 2px 6px;
    border: 0;
    border-radius: var(--portal-radius-control);
    background: transparent;
    color: var(--portal-muted);
    font: inherit;
    font-size: var(--portal-th-fs);
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.12s, color 0.12s;
}

.bo-th-sort-b:hover {
    background: var(--portal-surface-2);
}

.bo-th-sort-b:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-th-sort.is-active .bo-th-sort-b {
    color: var(--portal-ink);
}

.bo-th-sort-ic {
    color: var(--portal-ink-4);
    opacity: 0;
    transition: opacity 0.12s;
}

.bo-th-sort.is-active .bo-th-sort-ic {
    color: var(--portal-ink-2);
    opacity: 1;
}

.bo-th-sort-b:hover .bo-th-sort-ic,
.bo-th-sort-b:focus-visible .bo-th-sort-ic {
    opacity: 1;
}

@media (hover: none) {
    .bo-th-sort-ic {
        opacity: 1;
    }
}

.bo-fperiod {
    min-width: 0;
}

.bo-fperiod-range {
    padding: 4px 8px 8px;
    border-top: 1px solid var(--portal-line-soft);
}

.bo-drange {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
}

.bo-drange-set {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
}

.bo-drange-legend {
    padding: 6px 0 0;
    color: var(--portal-muted);
    font-size: 11.5px;
    font-weight: 500;
}

.bo-drange-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.bo-drange-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.bo-drange .bo-in {
    border-color: var(--portal-border-strong);
    color-scheme: light;
}

.dark .bo-drange .bo-in {
    color-scheme: dark;
}

.bo-drange .bo-ferr {
    font-size: 12.5px;
}

.bo-drange-actions {
    display: flex;
    justify-content: flex-end;
    gap: 6px;
}

.bo-mono {
    font-family: var(--portal-font-mono);
    font-size: 12.5px;
    overflow-wrap: anywhere;
}

.fi-panel-directory .fi-breadcrumbs-item-label,
.fi-panel-directory .fi-breadcrumbs-item-separator {
    color: var(--portal-muted);
}

.fi-panel-directory .fi-breadcrumbs-item-label[aria-current="page"],
.fi-panel-directory a.fi-breadcrumbs-item-label:hover {
    color: var(--portal-ink-2);
}

.bo-av-md {
    width: 36px;
    height: 36px;
    font-size: 12.5px;
}

.bo-av-xl {
    width: 88px;
    height: 88px;
    font-size: 28px;
}

.bo-sec-l {
    margin: 14px 0 8px;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-sec-l:first-child {
    margin-top: 0;
}

.bo-fchip-static .bo-fchip-main {
    cursor: default;
}

.bo-fchip-static .bo-fchip-main:hover {
    background: none;
}

.bo-pgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: opacity 0.12s;
}

.bo-pgrid[aria-busy="true"],
.bo-pgrid.is-busy {
    opacity: 0.6;
}

.bo-pcard {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    padding: 14px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
    color: var(--portal-ink);
    text-decoration: none;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.bo-pcard:hover {
    border-color: var(--portal-border-strong);
    box-shadow: var(--portal-shadow-hover);
}

.bo-pcard:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-pcard-b {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.bo-pcard-n {
    overflow: hidden;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-pcard-c {
    overflow: hidden;
    color: var(--portal-ink-2);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-pcard-m {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-pcard-p {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-more {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 18px;
}

.bo-more-n {
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-phero {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 16px;
    padding: 28px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-phero-b {
    min-width: 0;
}

.bo-phero h1 {
    margin: 0;
    color: var(--portal-ink);
    font-family: var(--portal-font-display);
    font-size: var(--portal-h1-ent-size);
    font-weight: var(--portal-h1-weight);
    letter-spacing: var(--portal-h1-tracking);
    line-height: 1.2;
}

.bo-phero-c {
    margin: 2px 0;
    color: var(--portal-ink-2);
    font-size: 16px;
}

.bo-phero-p {
    margin: 0;
    color: var(--portal-muted);
}

.bo-phero-a {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.bo-copy {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.bo-copy-t {
    overflow-wrap: anywhere;
}

.bo-tperson {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 -8px 12px;
    padding: 8px;
    border-radius: var(--portal-radius-2);
    color: var(--portal-ink);
    text-decoration: none;
}

a.bo-tperson:hover {
    background: var(--portal-hover);
}

a.bo-tperson:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-tperson-b {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.bo-tperson-b strong {
    font-weight: 600;
}

.bo-tperson-d {
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-avstack {
    display: flex;
    flex-wrap: wrap;
    padding-left: 4px;
}

.bo-avstack-i,
.bo-avmore {
    position: relative;
    margin-left: -4px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--portal-surface);
}

.bo-avstack-i {
    display: inline-flex;
    text-decoration: none;
}

a.bo-avstack-i:hover {
    z-index: 1;
}

.bo-avstack-i:focus-visible,
.bo-avmore:focus-visible {
    z-index: 2;
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-avmore {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--portal-surface-2);
    color: var(--portal-ink-2);
    font-size: 11px;
    font-weight: 600;
    text-decoration: none;
}

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

.bo-drow {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-top: 1px solid var(--portal-line-soft);
    color: var(--portal-ink);
    text-decoration: none;
}

.bo-drow-i:first-child .bo-drow {
    border-top: 0;
}

.bo-drow:hover {
    background: var(--portal-hover);
}

.bo-drow:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-drow-ic {
    display: inline-grid;
    flex: none;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface-2);
    color: var(--portal-ink-2);
}

.bo-drow-b {
    display: grid;
    flex: 1;
    gap: 2px;
    min-width: 0;
}

.bo-drow-t {
    overflow: hidden;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-drow-s {
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-drow-go {
    flex: none;
    color: var(--portal-ink-4);
}

.bo-dot-new {
    display: inline-block;
    width: 7px;
    height: 7px;
    margin-left: 8px;
    border-radius: 50%;
    background: var(--portal-red);
    vertical-align: middle;
}

.bo-suggestions {
    position: relative;
}

.bo-suggestions .bo-tsearch {
    width: 340px;
    max-width: 100%;
}

.bo-suggestions-list {
    position: absolute;
    z-index: 20;
    top: calc(100% + 4px);
    left: 0;
    width: 360px;
    max-width: calc(100vw - 32px);
    margin: 0;
    padding: 4px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    background: var(--portal-raised);
    box-shadow: var(--portal-shadow-pop);
    list-style: none;
}

.bo-suggestions-list[hidden] {
    display: none;
}

.bo-suggestions-opt {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    column-gap: 8px;
    padding: 6px 8px;
    border-radius: var(--portal-radius-2);
    color: var(--portal-ink);
    font-size: 13.5px;
    cursor: pointer;
}

.bo-suggestions-opt .bo-av {
    grid-row: span 2;
}

.bo-suggestions-opt:hover {
    background: var(--portal-hover);
}

.bo-suggestions-opt.is-active {
    background: var(--portal-hover);
    box-shadow: inset 0 0 0 2px var(--portal-focus);
}

.bo-suggestions-s {
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-suggestions-empty {
    margin: 6px 0 0;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-org-wrap {
    overflow: auto;
    min-height: 420px;
    margin-top: 16px;
    padding: 24px 12px 48px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-container);
    background: var(--portal-board-bg);
}

.bo-org-wrap:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-org-wrap[aria-busy="true"] {
    opacity: 0.7;
}

.bo-org,
.bo-okids {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-org {
    width: max-content;
    min-width: 100%;
}

.bo-okids {
    position: relative;
    padding-top: 24px;
}

.bo-org > li,
.bo-okids > li {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px 8px 0;
}

.bo-org > li {
    padding-top: 0;
}

.bo-okids::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    height: 24px;
    border-left: 1.5px solid var(--portal-border-strong);
}

.bo-okids > li::before,
.bo-okids > li::after {
    content: "";
    position: absolute;
    top: 0;
    width: 50%;
    height: 24px;
    border-top: 1.5px solid var(--portal-border-strong);
}

.bo-okids > li::before {
    right: 50%;
}

.bo-okids > li::after {
    left: 50%;
    border-left: 1.5px solid var(--portal-border-strong);
}

.bo-okids > li:first-child::before,
.bo-okids > li:last-child::after {
    border-top: 0;
}

.bo-okids > li:first-child::after {
    border-top-left-radius: 8px;
}

.bo-okids > li:last-child::before {
    border-right: 1.5px solid var(--portal-border-strong);
    border-top-right-radius: 8px;
}

.bo-okids > li:only-child {
    padding-top: 0;
}

.bo-okids > li:only-child::before,
.bo-okids > li:only-child::after {
    display: none;
}

.bo-onode {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    width: 220px;
    padding: 10px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-onode.is-me {
    border-color: var(--portal-red);
    box-shadow: 0 0 0 1px var(--portal-red);
}

.bo-onode.is-focus {
    box-shadow: 0 0 0 3px var(--portal-focus-ring), 0 0 0 1.5px var(--portal-focus);
}

.bo-onode-p {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 0;
    border-radius: var(--portal-radius-2);
    color: var(--portal-ink);
    text-decoration: none;
}

.bo-onode-p:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-onode-t {
    display: grid;
    gap: 1px;
    min-width: 0;
    text-align: left;
}

.bo-onode-n {
    overflow: hidden;
    font-size: 13.5px;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-onode-c {
    display: -webkit-box;
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 12px;
    line-height: 1.3;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bo-onode-x {
    position: absolute;
    bottom: -12px;
    left: 50%;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 2px;
    min-width: 24px;
    height: 24px;
    padding: 0 8px 0 5px;
    border: 1px solid var(--portal-border-strong);
    border-radius: 999px;
    background: var(--portal-surface);
    color: var(--portal-ink-2);
    font: inherit;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transform: translateX(-50%);
}

.bo-onode-x:hover {
    border-color: var(--portal-ink-4);
    color: var(--portal-ink);
}

.bo-onode-x:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-oteam {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 220px;
    padding: 12px;
    border: 1px dashed var(--portal-border-strong);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    font-size: 13px;
    text-align: left;
}

.bo-oteam-n {
    font-weight: 600;
}

.bo-oteam-r {
    display: grid;
    gap: 3px;
    margin: 0;
    padding: 0;
    color: var(--portal-ink-2);
    font-size: 12px;
    list-style: none;
}

.bo-oteam-r li {
    display: flex;
    justify-content: space-between;
    gap: 8px;
}

.bo-oteam-me {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    padding: 2px 8px;
    border-radius: 999px;
    background: var(--portal-red-soft-bg);
    color: var(--portal-red-soft-text);
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
}

.bo-oteam-a {
    display: inline-flex;
    align-self: flex-start;
    align-items: center;
    min-height: 24px;
    color: var(--portal-accent-text);
    font-size: 12.5px;
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bo-oteam-me:focus-visible,
.bo-oteam-a:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-pfield {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
}

.bo-pfield-t {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    height: var(--portal-control-h);
    padding: 0 10px;
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface);
    color: var(--portal-ink);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.bo-pfield-t:focus-visible {
    border-color: var(--portal-focus);
    outline: none;
    box-shadow: 0 0 0 3px var(--portal-focus-ring);
}

.bo-pfield-t[aria-invalid="true"] {
    border-color: var(--portal-danger-soft-text);
}

.bo-pfield-t[aria-disabled="true"] {
    background: var(--portal-surface-2);
    color: var(--portal-muted);
    cursor: not-allowed;
}

.bo-pfield-v {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-checks {
    display: flex;
    flex-wrap: wrap;
    gap: 4px 18px;
}

.bo-chk {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 28px;
    color: var(--portal-ink);
    font-size: 13.5px;
    cursor: pointer;
}

.bo-chk input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--portal-primary);
    cursor: pointer;
}

.bo-chk.is-disabled {
    color: var(--portal-muted);
    cursor: not-allowed;
}

.bo-chk.is-disabled input {
    cursor: not-allowed;
}

.bo-srow-c > .bo-in,
.bo-srow-c > .bo-pfield {
    width: 100%;
}

.bo-srow-f {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: 100%;
    min-width: 0;
}

.bo-srow-f > .bo-in {
    width: 100%;
}

.bo-form-cards {
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-width: 0;
}

.bo-card-tt {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bo-look-stage {
    display: grid;
    place-items: center;
    min-height: 200px;
    padding: 16px;
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface-2);
}

.bo-look-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 12px;
}

.bo-look-chips .bo-btn[aria-pressed="true"] {
    border-color: var(--portal-border-strong);
    background: var(--portal-hover);
    color: var(--portal-ink);
}

.bo-look-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-look-card {
    display: flex;
    gap: 14px;
    min-width: 0;
    padding: 14px;
}

.bo-look-card-fig {
    display: grid;
    flex: none;
    place-items: center;
    width: 84px;
    min-height: 84px;
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface-2);
}

.bo-look-card-b {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bo-look-card-t {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.bo-look-card-t h3 {
    margin: 0;
    color: var(--portal-ink);
    font-size: 14px;
    font-weight: 600;
}

.bo-look-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 8px;
    margin-top: 6px;
}

.bo-look-field {
    display: grid;
    flex: 1 1 140px;
    gap: 4px;
    min-width: 0;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-look-field .bo-select,
.bo-look-field select {
    width: 100%;
    max-width: 100%;
}

.bo-look-acts {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 6px;
}

.bo-look-list .bo-slist-i {
    flex-wrap: wrap;
}

.bo-look-list .bo-slist-b {
    flex: 1 1 200px;
}

.bo-look-error {
    display: block;
}

.bo-bprev-h {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bo-bprev-h > div {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.bo-bprev-hello {
    margin: 14px 0 12px;
    color: var(--portal-ink);
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    overflow-wrap: anywhere;
}

.bo-bprev-msg {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 10px 12px;
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface-2);
    color: var(--portal-ink);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.bo-bprev-msg p {
    margin: 0;
}

.bo-card-b > .bo-card-note {
    margin: 12px 16px 0;
}

.bo-card-b > .bo-card-note + .bo-card-note {
    margin-top: 8px;
}

.bo-card-b > .bo-card-note:last-of-type:not(:last-child) {
    margin-bottom: 12px;
}

.bo-twrap.is-scroll {
    overflow-x: auto;
}

@media (min-width: 901px) {
    .bo-twrap:not(.is-scroll):has([data-bo-tip]:hover),
    .bo-twrap:not(.is-scroll):has([data-bo-tip]:focus-visible) {
        z-index: 40;
        overflow: visible;
    }
}

.bo-folder-name {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    white-space: nowrap;
}

.bo-folder-acts {
    display: inline-flex;
    justify-content: flex-end;
    gap: 6px;
    white-space: nowrap;
}

.bo-section {
    margin-top: 28px;
}

.bo-section-h {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.bo-section-t {
    min-width: 0;
}

.bo-section-t h2 {
    margin: 0;
    color: var(--portal-ink);
    font-family: var(--portal-font-display);
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.4;
}

.bo-section-d {
    margin: 2px 0 0;
    color: var(--portal-muted);
    font-size: 12.5px;
    line-height: 1.5;
}

.bo-section-n {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.bo-section > .bo-callout,
.bo-section > .bo-note {
    margin: 0 0 12px;
}

.bo-section > .bo-grid-2 {
    margin-top: 0;
}

.bo-section > .bo-card + .bo-card,
.bo-section > .bo-grid-2 + .bo-card {
    margin-top: 16px;
}

.bo-card-b.is-flush > .bo-note {
    margin: 0;
    padding: 8px 16px 2px;
}

.bo-card-b > .bo-callout {
    margin: 0;
}

.bo-tbl tr.is-total td {
    font-weight: 600;
}

.bo-cc {
    margin: 0;
}

.bo-cc-svg {
    display: block;
    width: 100%;
    height: auto;
}

.bo-cc-grid {
    stroke: var(--portal-border);
}

.bo-cc-axis {
    fill: var(--portal-muted);
    font-family: var(--portal-font-body);
    font-size: 11px;
}

.bo-cc-value {
    fill: var(--portal-ink);
    font-family: var(--portal-font-body);
    font-size: 12px;
    font-weight: 600;
}

.bo-cc-bar {
    fill: var(--portal-chart-1);
}

.bo-cc-stripe-bg {
    fill: var(--portal-surface-2);
}

.bo-cc-stripe {
    stroke: var(--portal-chart-1);
    stroke-width: 3;
}

.bo-cc-ref {
    stroke: var(--portal-warn-solid);
    stroke-dasharray: 4 4;
}

.bo-cc-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-cc-swatch {
    width: 12px;
    height: 12px;
    border: 1px solid var(--portal-chart-1);
    border-radius: 3px;
    background: repeating-linear-gradient(45deg, var(--portal-chart-1) 0 2px, var(--portal-surface-2) 2px 5px);
}

.bo-split-bar {
    display: flex;
    gap: 2px;
    height: 10px;
    margin: 6px 0 14px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--portal-surface-2);
}

.bo-split-seg {
    flex: 0 1 0;
    min-width: 0;
}

.bo-split-seg.is-1,
.bo-split-dot.is-1 {
    background: var(--portal-chart-1);
}

.bo-split-seg.is-2,
.bo-split-dot.is-2 {
    background: var(--portal-chart-3);
}

.bo-split-seg.is-3,
.bo-split-dot.is-3 {
    background: var(--portal-chart-2);
}

.bo-split-seg.is-4,
.bo-split-dot.is-4 {
    background: var(--portal-border-strong);
}

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

.bo-split-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    font-size: 13.5px;
}

.bo-split-row + .bo-split-row {
    border-top: 1px solid var(--portal-border);
}

.bo-split-dot {
    flex: none;
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.bo-split-name {
    flex: 1 1 auto;
    min-width: 0;
}

.bo-split-detail {
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-split-v {
    font-family: var(--portal-count-font);
    font-weight: var(--portal-num-weight);
    letter-spacing: var(--portal-num-tracking);
}

@media (max-width: 1240px) {
    .bo-h-lg {
        display: none;
    }
}

@media (max-width: 1100px) {
    .bo-skins {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-smock {
        height: 150px;
    }
}

@media (max-width: 1080px) {
    .bo-h-md {
        display: none;
    }

    .bo-detail {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-detail-side {
        position: static;
    }

    .bo-kpis,
    .bo-kpis-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bo-grid-2,
    .bo-grid-uneven,
    .bo-grid-wide {
        grid-template-columns: minmax(0, 1fr);
    }
}

@media (max-width: 900px) {
    .bo-twrap {
        overflow-x: auto;
    }

    .bo-tbl thead th {
        position: static;
    }
}

@media (max-width: 640px) {
    .bo-tsearch,
    .bo-toolbar .bo-tsearch,
    .bo-toolbar .bo-select {
        flex-basis: 100%;
        width: 100%;
        max-width: none;
    }

    .bo-toolbar .bo-select select {
        width: 100%;
    }

    .bo-ph-actions {
        width: 100%;
    }

    .bo-bulk {
        right: 16px;
        left: 16px;
        transform: none;
    }

    .bo-dialog .fi-modal-footer-actions .fi-btn {
        flex: 1;
        white-space: nowrap;
    }

    .bo-perm-i {
        grid-template-areas:
            "name"
            "desc"
            "ctl";
        grid-template-columns: minmax(0, 1fr);
        row-gap: 1px;
    }

    .bo-perm-c {
        justify-content: flex-start;
        margin-top: 15px;
    }

    .bo-hrow {
        grid-template-columns: 110px minmax(0, 1fr) 24px;
    }

    .bo-inbox-i {
        flex-wrap: wrap;
    }

    .bo-props.is-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-srow {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .bo-srow-c {
        justify-content: flex-start;
    }

    .bo-fgrid,
    .bo-choices,
    .bo-drange-fields,
    .bo-diff,
    .bo-sysgrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-sys-shorts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bo-diff-arrow {
        justify-self: center;
        transform: rotate(90deg);
    }

    .bo-sheet-body {
        padding: 16px 16px 64px;
    }

    .bo-inbox-a {
        justify-content: flex-end;
        width: 100%;
    }

    .bo-bar-row {
        grid-template-columns: 120px minmax(0, 1fr) 60px;
    }

    .bo-kpi-v {
        font-size: 22px;
    }

    .bo-pgrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-phero {
        flex-direction: column;
        align-items: center;
        padding: 24px 16px;
        text-align: center;
    }

    .bo-phero-a {
        justify-content: center;
    }

    .bo-suggestions,
    .bo-suggestions .bo-tsearch {
        width: 100%;
    }

    .bo-org-wrap {
        min-height: 320px;
    }

    .bo-section-h {
        flex-direction: column;
        align-items: flex-start;
    }

    .bo-section-n {
        justify-content: flex-start;
    }

    .bo-cc-axis {
        font-size: 16px;
    }

    .bo-cc-value {
        font-size: 17px;
    }

    @keyframes bo-rise {
        from {
            opacity: 0;
            transform: translateY(8px);
        }
    }
}

.bo-chat {
    --bo-chat-offset: 116px;
    --bo-chat-col: 1200px;
    --bo-chat-pad: max(24px, calc((100% - var(--bo-chat-col)) / 2));
    display: flex;
    flex-direction: column;
    width: 100%;
    height: calc(100dvh - var(--bo-chat-offset));
    min-height: 420px;
}

.bo-chat-log {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 18px;
    min-height: 0;
    padding: 28px var(--bo-chat-pad) 16px;
    overflow-y: auto;
    scrollbar-color: var(--portal-border-strong) transparent;
    scrollbar-width: thin;
}

.bo-chat-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: auto 0;
    padding: 24px 0;
    text-align: center;
}

.bo-chat-greet {
    margin: 8px 0 0;
    color: var(--portal-ink);
    font-family: var(--portal-font-display);
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.bo-chat-greet:focus-visible,
.bo-chat-ok:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-chat-lead {
    max-width: 760px;
    margin: 0;
    color: var(--portal-muted);
    font-size: var(--portal-font-size);
    line-height: 1.5;
}

.bo-chat-sugg {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}

.bo-sugg {
    display: contents;
}

.bo-sugg-b {
    min-height: 30px;
    padding: 5px 12px;
    border: 1px solid var(--portal-border-strong);
    border-radius: 999px;
    background: var(--portal-surface);
    color: var(--portal-ink);
    font: inherit;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    text-align: left;
    white-space: normal;
    cursor: pointer;
    transition: background-color 0.12s, border-color 0.12s;
}

.bo-sugg-b:hover {
    background: var(--portal-surface-2);
}

.bo-sugg-b:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-chat-pair {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.bo-chat-turn {
    display: flex;
    justify-content: flex-end;
}

.bo-chat-bubble {
    max-width: 75%;
    margin: 0;
    padding: 10px 14px;
    border-radius: 18px 18px 4px 18px;
    background: var(--portal-ink);
    color: var(--portal-surface);
    font-size: var(--portal-font-size);
    line-height: 1.5;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.bo-chat-answer,
.bo-typing {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 100%;
}

.bo-chat-answer-b {
    flex: 1;
    min-width: 0;
    padding-top: 6px;
    color: var(--portal-ink);
    font-size: var(--portal-font-size);
    line-height: 1.55;
}

.bo-chat-msg > p,
.bo-chat-md p {
    margin: 0 0 8px;
}

.bo-chat-md ul,
.bo-chat-md ol {
    margin: 0 0 10px;
    padding-left: 20px;
}

.bo-chat-md ul {
    list-style: disc;
}

.bo-chat-md ol {
    list-style: decimal;
}

.bo-chat-md li {
    margin: 2px 0;
}

.bo-chat-md strong {
    font-weight: 600;
}

.bo-chat-md table {
    margin: 0 0 10px;
    border-collapse: collapse;
    font-size: 13px;
}

.bo-chat-md th,
.bo-chat-md td {
    padding: 6px 8px;
    border: 1px solid var(--portal-border);
    text-align: left;
}

.bo-chat-md a,
.bo-chat-link,
.bo-ctx-back {
    color: var(--portal-accent-text);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bo-chat-md a:focus-visible,
.bo-chat-link:focus-visible,
.bo-ctx-back:focus-visible,
.bo-chat-rel-i:focus-visible,
.bo-cite-m:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-chat-warn {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin: 0 0 8px;
    color: var(--portal-warning-soft-text);
    font-weight: 500;
}

.bo-chat-warn svg {
    flex: none;
    margin-top: 3px;
}

.bo-chat-act {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.bo-chat-ok {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--portal-success-soft-text);
    font-size: var(--portal-font-size-xs);
    font-weight: 500;
}

.bo-chat-ok svg {
    flex: none;
}

.bo-chat-answer-fb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
    margin-top: 4px;
}

.bo-chat-answer-fb .bo-btn-ghost {
    color: var(--portal-muted);
}

.bo-chat-answer-fb .bo-btn-ghost:hover {
    color: var(--portal-ink);
}

.bo-chat-answer-fb .bo-btn[aria-pressed="true"] {
    background: var(--portal-red-soft-bg);
    color: var(--portal-red-soft-text);
}

.bo-chat-soon {
    margin-left: 4px;
}

.bo-chat-rel-h {
    margin: 10px 0 6px;
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-chat-rel {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bo-chat-rel-i {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 28px;
    padding: 4px 10px;
    border: 1px solid var(--portal-border);
    border-radius: 999px;
    color: var(--portal-ink);
    font-size: 12.5px;
    text-decoration: none;
}

.bo-chat-rel-i:hover {
    background: var(--portal-surface-2);
}

.bo-cite {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin: 10px 0 6px;
    padding: 10px 12px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
}

.bo-cite-m {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 10px;
    min-width: 200px;
    color: var(--portal-ink);
    text-decoration: none;
}

.bo-cite.is-linked .bo-cite-m:hover .bo-cite-t {
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bo-cite-b {
    display: grid;
    gap: 1px;
    min-width: 0;
}

.bo-cite-t {
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.bo-cite-s {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
    line-height: 1.4;
}

.bo-cite-a {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.bo-chat-foot {
    padding: 8px var(--bo-chat-pad) 18px;
}

.bo-composer-in {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    padding: 8px 8px 8px 16px;
    border: 1px solid var(--portal-border-strong);
    border-radius: 24px;
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-composer-in:focus-within {
    border-color: var(--portal-focus);
    box-shadow: 0 0 0 3px var(--portal-focus-ring);
}

.bo-composer-in.is-invalid {
    border-color: var(--portal-danger-solid);
}

.bo-composer-in textarea {
    flex: 1;
    min-width: 0;
    max-height: 180px;
    padding: 9px 0;
    border: 0;
    outline: 0;
    background: none;
    color: var(--portal-ink);
    font: inherit;
    font-size: 15px;
    line-height: 1.45;
    resize: none;
}

.bo-composer-in textarea::placeholder {
    color: var(--portal-faint);
}

.bo-composer-tools {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bo-composer-mic {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bo-composer-send.bo-btn-icon {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.bo-composer-err {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 6px 0 0;
    color: var(--portal-danger-soft-text);
    font-size: 12.5px;
    font-weight: 500;
}

.bo-chat-note {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 8px 0 0;
    color: var(--portal-muted);
    font-size: 12px;
    text-align: center;
}

.bo-btn-link {
    height: auto;
    padding: 0;
    border: 0;
    background: none;
    color: var(--portal-accent-text);
    font-size: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bo-btn-link.bo-btn-xs {
    height: auto;
    min-height: 24px;
    padding: 0 2px;
}

.bo-ctx {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    max-width: 100%;
    margin-bottom: 8px;
    padding: 4px 4px 4px 10px;
    border-radius: 999px;
    background: var(--portal-red-soft-bg);
    color: var(--portal-red-soft-text);
    font-size: 12.5px;
}

.bo-ctx-t {
    min-width: 0;
    overflow-wrap: anywhere;
}

.bo-ctx-back {
    color: inherit;
    font-weight: 600;
}

.bo-ctx .bo-btn-ghost {
    color: inherit;
}

.bo-topic .bo-btn-link {
    color: inherit;
    font-weight: 600;
}

.bo-topic-i {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bo-topic-i strong {
    font-weight: 600;
}

.bo-chat-start {
    display: grid;
    gap: 12px;
    width: 100%;
    margin-top: 22px;
    text-align: left;
}

.bo-chat-start-h {
    margin: 0;
    color: var(--portal-ink);
    font-size: 14px;
    font-weight: 600;
    text-align: center;
}

.bo-chat-starters {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.bo-starter {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    min-height: 92px;
    padding: 14px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    color: var(--portal-ink);
    font: inherit;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.15s, border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}

.bo-starter:hover {
    border-color: var(--portal-border-strong);
    background: var(--portal-surface-2);
    box-shadow: var(--portal-shadow-hover);
    transform: translateY(-1px);
}

.bo-starter:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-starter.is-on {
    border-color: var(--portal-red-deep);
    background: var(--portal-red-soft-bg);
    color: var(--portal-red-soft-text);
    box-shadow: var(--portal-shadow-hover);
}

.bo-starter-ic {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: 9px;
    background: var(--portal-surface-2);
    color: var(--portal-accent-text);
}

.bo-starter.is-on .bo-starter-ic {
    background: var(--portal-surface);
}

.bo-chat-topic {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 16px;
    padding: 14px 16px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
}

.bo-chat-topic-h {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bo-chat-topic-d {
    margin: 0;
    color: var(--portal-ink);
    font-size: var(--portal-font-size);
    line-height: 1.5;
}

.bo-chat-topic-link {
    display: inline-flex;
    grid-row: 1;
    grid-column: 2;
    align-items: center;
    gap: 6px;
    justify-self: end;
    color: var(--portal-accent-text);
    font-size: 13px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.bo-chat-topic-link:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-chat-exs {
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2px 8px;
}

.bo-chat-ex {
    display: contents;
}

.bo-chat-ex-b {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 36px;
    padding: 7px 10px;
    border: 0;
    border-radius: var(--portal-radius-2);
    background: none;
    color: var(--portal-ink);
    font: inherit;
    font-size: 13.5px;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
    transition: background-color 0.12s;
}

.bo-chat-ex-b svg {
    flex: none;
    color: var(--portal-accent-text);
}

.bo-chat-ex-b:hover {
    background: var(--portal-surface-2);
}

.bo-chat-ex-b:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-chat-trust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    color: var(--portal-success-soft-text);
    font-size: var(--portal-font-size-xs);
    font-weight: 600;
}

.bo-chat-trust svg {
    flex: none;
}

.bo-chat-answer[data-kind="answered"] .bo-chat-msg {
    padding-left: 14px;
    border-left: 3px solid var(--portal-red-deep);
}

.bo-chat-src {
    margin: 10px 0 2px;
}

.bo-chat-src > summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 6px 4px 2px;
    border-radius: var(--portal-radius-2);
    color: var(--portal-ink);
    font-size: 13px;
    font-weight: 600;
    list-style: none;
    cursor: pointer;
}

.bo-chat-src > summary::-webkit-details-marker {
    display: none;
}

.bo-chat-src > summary:hover {
    background: var(--portal-surface-2);
}

.bo-chat-src > summary:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-chat-src-chev {
    flex: none;
    color: var(--portal-muted);
    transition: transform 0.15s;
}

.bo-chat-src[open] .bo-chat-src-chev {
    transform: rotate(90deg);
}

.bo-chat-src-sum {
    color: var(--portal-muted);
    font-weight: 500;
}

.bo-chat-src-h {
    margin: 8px 0 2px;
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
    font-weight: 600;
}

.bo-chat-src-list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: bo-src;
}

.bo-chat-src-list > li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    counter-increment: bo-src;
}

.bo-chat-src-list > li::before {
    content: counter(bo-src);
    display: grid;
    flex: none;
    place-items: center;
    width: 22px;
    height: 22px;
    margin-top: 20px;
    border-radius: 50%;
    background: var(--portal-surface-2);
    color: var(--portal-ink);
    font-size: 12px;
    font-weight: 600;
}

.bo-chat-src-list > li > .bo-cite {
    flex: 1;
    min-width: 0;
}

.bo-chat-regen {
    display: none;
}

.bo-chat-log > .bo-chat-pair:last-child .bo-chat-regen {
    display: inline-flex;
}

.bo-chat-model {
    flex-basis: 100%;
    margin: 2px 0 0 4px;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-chat-model strong {
    color: var(--portal-ink);
    font-weight: 600;
}

.bo-composer-lead {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.bo-composer-bar {
    display: flex;
    flex: none;
    align-items: center;
    gap: 6px;
}

.bo-composer-in.has-options {
    flex-wrap: wrap;
    padding-top: 10px;
}

.bo-composer-in.has-options textarea {
    flex-basis: 100%;
}

.bo-composer-in.has-options .bo-composer-bar {
    flex: 1 1 100%;
}

.bo-composer-opts {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    margin-right: auto;
}

.bo-composer-model {
    color: var(--portal-muted);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
}

.bo-composer-opts .bo-select {
    min-width: 0;
    max-width: 260px;
}

.has-history {
    position: relative;
}

.has-history > .bo-nitem {
    padding-right: 38px;
}

.has-history:has(.has-fresh):is(:hover, :focus-within) > .bo-nitem {
    padding-right: 66px;
}

.bo-nhist-new {
    position: absolute;
    top: calc((var(--portal-nav-h) - 26px) / 2);
    right: 34px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 6px;
    color: var(--portal-side-text-3);
    opacity: 0;
    pointer-events: none;
}

.has-history:is(:hover, :focus-within) .bo-nhist-new {
    opacity: 1;
    pointer-events: auto;
}

@media (hover: none) {
    .has-history:has(.has-fresh) > .bo-nitem {
        padding-right: 66px;
    }

    .bo-nhist-new {
        opacity: 1;
        pointer-events: auto;
    }
}

.bo-nhist-new:hover {
    background: var(--portal-side-hover);
    color: var(--portal-side-text);
}

.bo-nhist-new:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-nhist-tg {
    position: absolute;
    top: calc((var(--portal-nav-h) - 26px) / 2);
    right: 6px;
    display: grid;
    place-items: center;
    width: 26px;
    height: 26px;
    padding: 0;
    border: 0;
    border-radius: 6px;
    background: none;
    color: var(--portal-side-text-3);
    cursor: pointer;
}

.bo-nhist-tg:hover {
    background: var(--portal-side-hover);
    color: var(--portal-side-text);
}

.bo-nhist-tg:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-nhist-tg svg {
    transition: transform 0.15s;
}

.bo-nhist-tg[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.bo-nhist-p {
    margin: 2px 0 8px 18px;
    white-space: normal;
}

.bo-nhist-h {
    margin: 6px 10px 4px;
    color: var(--portal-side-faint);
    font-size: 12px;
    font-weight: 600;
}

.bo-nhist-s {
    margin: 4px 10px;
    color: var(--portal-side-faint);
    font-size: 12px;
    line-height: 1.4;
}

.bo-nhist-l {
    display: flex;
    flex-direction: column;
    gap: 1px;
    max-height: 320px;
    margin: 0;
    padding: 0 0 0 8px;
    overflow-y: auto;
    border-left: 1px solid var(--portal-side-divider);
    list-style: none;
    scrollbar-width: thin;
}

.bo-nhist-i {
    display: grid;
    gap: 1px;
    padding: 5px 10px;
    border-radius: var(--portal-radius-2);
    color: var(--portal-side-text-2);
    font-size: 12.5px;
    line-height: 1.35;
    text-decoration: none;
}

.bo-nhist-i:hover {
    background: var(--portal-side-hover);
    color: var(--portal-side-text);
}

.bo-nhist-i:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-nhist-i.is-on {
    background: var(--portal-side-active);
    color: var(--portal-side-active-text);
    font-weight: 600;
}

.bo-nhist-t {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-nhist-w {
    color: var(--portal-side-faint);
    font-size: 11px;
    font-weight: 500;
}

.bo-typing-fig .bo-mascot {
    display: none;
}

.bo-typing[data-moment="thinking"] .bo-mascot[data-for="thinking"],
.bo-typing[data-moment="searching"] .bo-mascot[data-for="searching"],
.bo-typing[data-moment="noting"] .bo-mascot[data-for="noting"] {
    display: inline-grid;
}

.bo-typing-dots {
    display: inline-flex;
    gap: 4px;
    padding: 16px 0 10px;
}

.bo-typing-dots span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--portal-muted);
}

.bo-mascot {
    --bo-mascot-s: 72px;
    position: relative;
    display: inline-grid;
    flex: none;
    place-items: center;
    width: var(--bo-mascot-s);
    height: var(--bo-mascot-s);
}

.bo-mascot-xs {
    --bo-mascot-s: 28px;
}

.bo-mascot-sm {
    --bo-mascot-s: 40px;
}

.bo-mascot-lg {
    --bo-mascot-s: 112px;
}

.bo-mascot-xl {
    --bo-mascot-s: 168px;
}

.bo-mascot-in {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    transform-origin: 50% 85%;
}

.bo-mascot-in img,
.bo-mascot-in video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.bo-mascot-live {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

.bo-mascot-live svg,
.bo-mascot-live canvas {
    width: 100%;
    height: 100%;
}

.bo-mascot.is-live .bo-mascot-in > img {
    visibility: hidden;
}

.bo-mascot-acc {
    position: absolute;
    pointer-events: none;
}

.bo-mascot-acc-gorro {
    top: -24%;
    left: 30%;
    width: 64%;
    transform: rotate(14deg);
}

.bo-mascot-acc-antifaz {
    top: 30%;
    left: 19%;
    width: 62%;
}

.bo-mascot-acc-a {
    fill: var(--portal-red);
}

.bo-mascot-acc-b {
    fill: var(--portal-danger-soft-text);
}

.bo-mascot-acc-c {
    fill: var(--portal-surface);
    stroke: var(--portal-line-soft);
    stroke-width: 2px;
}

.bo-mascot-acc-d {
    fill: var(--portal-ink);
}

.bo-toasts {
    position: fixed;
    z-index: 90;
    bottom: 24px;
    left: 50%;
    display: grid;
    justify-items: center;
    gap: 8px;
    transform: translateX(-50%);
    pointer-events: none;
}

.bo-toast {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: min(440px, calc(100vw - 32px));
    padding: 10px 14px;
    border-radius: var(--portal-radius-3);
    background: var(--portal-ink-bg);
    color: var(--portal-ink-fg);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: var(--portal-shadow-pop);
    pointer-events: auto;
}

.bo-toast svg {
    flex: none;
    color: var(--portal-ink-ok);
}

.dark .bo-composer-in,
.dark .bo-toast {
    box-shadow: none;
}

.dark .bo-composer-in:focus-within {
    box-shadow: 0 0 0 3px var(--portal-focus-ring);
}

@media (prefers-reduced-motion: no-preference) {
    .bo-mascot-m-flotar .bo-mascot-in {
        animation: bo-mascot-float 3.2s ease-in-out infinite;
    }

    .bo-mascot-m-inclinar .bo-mascot-in {
        animation: bo-mascot-tilt 3s ease-in-out infinite;
    }

    .bo-mascot-m-rebote .bo-mascot-in {
        animation: bo-mascot-bounce 1.6s cubic-bezier(0.3, 0, 0.3, 1) infinite;
    }

    .bo-mascot-m-latido .bo-mascot-in {
        animation: bo-mascot-beat 1.4s ease-in-out infinite;
    }

    .bo-mascot-m-saludar .bo-mascot-in {
        animation: bo-mascot-wave 2.4s ease-in-out infinite;
    }

    .bo-mascot.is-once .bo-mascot-in {
        animation-iteration-count: 1;
    }

    .bo-mascot-m-ninguno.is-once .bo-mascot-in {
        animation: bo-mascot-pop 0.5s ease 1;
    }

    .bo-mascot.is-still .bo-mascot-in {
        animation: none;
    }

    .bo-mascot.is-still.is-play .bo-mascot-in {
        animation-iteration-count: 2;
    }

    .bo-mascot.is-still.is-play.bo-mascot-m-flotar .bo-mascot-in {
        animation-name: bo-mascot-float;
        animation-duration: 3.2s;
    }

    .bo-mascot.is-still.is-play.bo-mascot-m-inclinar .bo-mascot-in {
        animation-name: bo-mascot-tilt;
        animation-duration: 3s;
    }

    .bo-mascot.is-still.is-play.bo-mascot-m-rebote .bo-mascot-in {
        animation-name: bo-mascot-bounce;
        animation-duration: 1.6s;
    }

    .bo-mascot.is-still.is-play.bo-mascot-m-latido .bo-mascot-in {
        animation-name: bo-mascot-beat;
        animation-duration: 1.4s;
    }

    .bo-mascot.is-still.is-play.bo-mascot-m-saludar .bo-mascot-in {
        animation-name: bo-mascot-wave;
        animation-duration: 2.4s;
    }

    .bo-mascot.is-still.is-play.bo-mascot-m-ninguno .bo-mascot-in {
        animation-name: bo-mascot-pop;
        animation-duration: 0.5s;
    }

    .bo-typing-dots span {
        animation: bo-typing-dot 1.1s infinite;
    }

    .bo-typing-dots span:nth-child(2) {
        animation-delay: 0.15s;
    }

    .bo-typing-dots span:nth-child(3) {
        animation-delay: 0.3s;
    }

    .bo-toast {
        animation: bo-toast-rise 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
    }
}

@keyframes bo-mascot-float {
    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-7%);
    }
}

@keyframes bo-mascot-tilt {
    0%,
    100% {
        transform: rotate(0);
    }

    35%,
    65% {
        transform: rotate(-10deg);
    }
}

@keyframes bo-mascot-bounce {
    0%,
    100% {
        transform: translateY(0) scale(1, 1);
    }

    30% {
        transform: translateY(-16%) scale(0.97, 1.03);
    }

    55% {
        transform: translateY(0) scale(1.05, 0.95);
    }

    70% {
        transform: translateY(-4%) scale(1, 1);
    }
}

@keyframes bo-mascot-pop {
    50% {
        transform: scale(1.08);
    }
}

@keyframes bo-mascot-beat {
    0%,
    100% {
        transform: scale(1);
    }

    20% {
        transform: scale(1.07);
    }

    40% {
        transform: scale(0.98);
    }

    60% {
        transform: scale(1.04);
    }
}

@keyframes bo-mascot-wave {
    0%,
    60%,
    100% {
        transform: rotate(0);
    }

    10%,
    30% {
        transform: rotate(-9deg);
    }

    20%,
    40% {
        transform: rotate(9deg);
    }
}

@keyframes bo-typing-dot {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

@keyframes bo-toast-rise {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
}

@media (max-height: 880px) {
    .bo-chat-log {
        gap: 14px;
        padding-top: 16px;
        padding-bottom: 8px;
    }

    .bo-chat-empty {
        gap: 6px;
        padding: 8px 0;
    }

    .bo-chat-empty .bo-mascot {
        --bo-mascot-s: 80px;
    }

    .bo-chat-start {
        gap: 10px;
        margin-top: 14px;
    }

    .bo-chat-topic {
        gap: 8px 16px;
        padding: 12px 14px;
    }

    .bo-chat-ex-b {
        min-height: 32px;
        padding-block: 5px;
    }

    .bo-chat-foot {
        padding-bottom: 12px;
    }
}

@media (max-height: 760px) {
    .bo-chat-log {
        padding-top: 12px;
        padding-bottom: 4px;
    }

    .bo-chat-empty {
        padding: 4px 0;
    }

    .bo-chat-empty .bo-mascot {
        --bo-mascot-s: 64px;
    }

    .bo-chat-greet {
        margin-top: 0;
    }

    .bo-starter {
        flex-direction: row;
        align-items: center;
        min-height: 0;
        padding: 12px;
    }
}

@media (max-width: 640px) {
    .bo-chat {
        --bo-chat-offset: 132px;
        --bo-chat-pad: 16px;
    }

    .bo-chat-bubble {
        max-width: 88%;
    }

    .bo-cite-a {
        width: 100%;
    }

    .bo-composer-in {
        flex-wrap: wrap;
    }

    .bo-composer-in textarea {
        flex-basis: 100%;
    }

    .bo-composer-bar {
        flex: 1 1 100%;
        justify-content: flex-end;
    }

    .bo-composer-model,
    .bo-composer-mic .bo-pill {
        display: none;
    }

    .bo-composer-opts {
        flex: 1 1 auto;
    }

    .bo-composer-opts .bo-select {
        width: 100%;
        max-width: none;
    }

    .bo-composer-opts .bo-select select {
        width: 100%;
        min-width: 0;
        text-overflow: ellipsis;
    }

    .bo-chat-starters {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bo-starter {
        min-height: 0;
        padding: 12px;
    }

    .bo-chat-topic {
        grid-template-columns: minmax(0, 1fr);
        padding: 12px;
    }

    .bo-chat-topic-link {
        grid-row: auto;
        grid-column: 1;
        justify-self: start;
    }
}

.bo-hub {
    display: grid;
    gap: 16px;
    min-width: 0;
}

.bo-docgrid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-docgrid-i {
    display: flex;
    min-width: 0;
}

.bo-doccard {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
    padding: 16px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
    color: var(--portal-ink);
    text-decoration: none;
    transition: border-color 0.12s, box-shadow 0.12s;
}

.bo-doccard:hover {
    border-color: var(--portal-border-strong);
    box-shadow: var(--portal-shadow-hover);
}

.bo-doccard:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-doccard-top {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    color: var(--portal-muted);
    font-size: 12.5px;
}

.bo-doccard-type {
    font-weight: 500;
}

.bo-doccard-saved {
    display: inline-flex;
    margin-left: auto;
    color: var(--portal-accent-text);
}

.bo-doccard-t {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    overflow-wrap: anywhere;
}

.bo-doccard-d {
    display: -webkit-box;
    overflow: hidden;
    color: var(--portal-ink-2);
    font-size: 13px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bo-doccard-f {
    display: flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
    margin-top: auto;
    padding-top: 6px;
    color: var(--portal-muted);
    font-size: 12px;
}

.bo-doccard-space {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-doccard-open {
    align-self: flex-start;
    margin-top: 2px;
}

.bo-doccard:hover .bo-doccard-open {
    background: var(--portal-surface-2);
}

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

.bo-dtree a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border-radius: var(--portal-radius-2);
    color: var(--portal-ink-2);
    font-size: 13.5px;
    text-decoration: none;
}

.bo-dtree a:hover {
    background: var(--portal-hover);
}

.bo-dtree a:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-dtree a[aria-current] {
    background: var(--portal-selected);
    color: var(--portal-ink);
    font-weight: 600;
}

.bo-wikis {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 14px;
}

.bo-lock {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    max-width: 520px;
    margin: 48px auto;
    text-align: center;
}

.bo-lock-t {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: 600;
}

.bo-lock-d,
.bo-lock-b {
    margin: 0;
    color: var(--portal-ink-2);
}

.bo-lock-a {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 8px;
}

.bo-rhead {
    margin-bottom: 28px;
    padding: 8px 0 24px;
    border-bottom: 1px solid var(--portal-border);
}

.bo-rhead-k {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--portal-ink-2);
    font-size: 13px;
    font-weight: 500;
}

.bo-rhead-t {
    max-width: 860px;
    margin: 10px 0 8px;
    font-size: 32px;
    letter-spacing: -0.03em;
    line-height: 1.12;
    overflow-wrap: anywhere;
}

.bo-rhead-lead {
    max-width: 720px;
    margin: 0 0 18px;
    color: var(--portal-ink-2);
    font-size: 16px;
    line-height: 1.55;
}

.bo-rhead-a {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hub-content:has(.bo-rhead),
.fi-main-ctn:has(.bo-rhead) {
    --bo-rhead-stuck-h: calc(var(--portal-control-h) + 22px);
    scroll-padding-top: calc(var(--bo-reader-top, 0px) + var(--bo-rhead-stuck-h) + 8px);
}

.fi-main-ctn:has(.bo-rhead) {
    --bo-reader-top: var(--portal-top-h);
}

:is(.hub-content, .fi-main-ctn) .bo-rhead[data-sticky] {
    position: sticky;
    top: var(--bo-reader-top, 0px);
    z-index: 5;
    background: var(--portal-panel);
}

.bo-rhead.is-stuck {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    column-gap: 16px;
    box-sizing: border-box;
    height: var(--bo-rhead-stuck-h);
    margin-bottom: calc(28px + var(--bo-rhead-gap, 0px));
    padding: 0;
}

.bo-rhead.is-stuck .bo-rhead-k {
    flex-wrap: nowrap;
}

.bo-rhead.is-stuck .bo-rhead-k > .bo-muted,
.bo-rhead.is-stuck .bo-rhead-k > .bo-pill,
.bo-rhead.is-stuck .bo-rhead-lead {
    display: none;
}

.bo-rhead.is-stuck .bo-rhead-t {
    max-width: none;
    margin: 0;
    overflow: hidden;
    font-size: 17px;
    letter-spacing: -0.01em;
    line-height: 1.3;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow-wrap: normal;
}

.bo-rhead.is-stuck .bo-rhead-a {
    flex-wrap: nowrap;
}

:is(.hub-content, .fi-main-ctn):has(.bo-rhead) .library-prose :is(h1, h2, h3) {
    scroll-margin-top: 16px;
}

.bo-inline-form {
    display: inline-flex;
    margin: 0;
}

.bo-reader {
    container: bo-reader / inline-size;
}

.bo-reader-cols {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
}

.bo-reader-toc {
    min-width: 0;
}

.bo-rbody {
    justify-self: center;
    width: 100%;
    min-width: 0;
    max-width: 720px;
    font-size: 15.5px;
    line-height: 1.7;
}

.bo-rside {
    display: grid;
    justify-self: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    max-width: 720px;
}

.bo-rtoc {
    padding: 4px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-3);
    font-size: 13px;
}

.bo-rtoc-h {
    display: none;
    margin: 0 0 8px;
    color: var(--portal-muted);
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 0.06em;
}

.bo-rtoc-toggle {
    width: 100%;
    justify-content: space-between;
}

.bo-rtoc.is-open .bo-rtoc-toggle > svg {
    transform: rotate(180deg);
}

.bo-rtoc:not(.is-open) ol {
    display: none;
}

.bo-rtoc.is-open ol {
    margin: 4px 8px 8px;
}

.bo-rtoc ol {
    margin: 0;
    padding: 0;
    border-left: 1px solid var(--portal-border);
    list-style: none;
}

.bo-rtoc a {
    display: block;
    margin-left: -1px;
    padding: 5px 0 5px 12px;
    border-left: 2px solid transparent;
    color: var(--portal-ink-2);
    text-decoration: none;
}

.bo-rtoc a:hover {
    border-left-color: var(--portal-border-strong);
    color: var(--portal-ink);
}

.bo-rtoc a:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-rtoc a.is-sub {
    padding-left: 24px;
    font-size: 12.5px;
}

.bo-rtoc a.is-on {
    border-left-color: var(--portal-red);
    color: var(--portal-ink);
    font-weight: 500;
}

@container bo-reader (min-width: 760px) {
    .bo-reader.has-toc > .bo-reader-cols {
        grid-template-columns: 208px minmax(0, 1fr);
        align-items: start;
        column-gap: 40px;
        row-gap: 32px;
    }

    .bo-reader.has-toc:not(.has-side) > .bo-reader-cols {
        grid-template-columns: 208px minmax(0, 720px);
        justify-content: center;
    }

    .bo-reader.has-toc .bo-reader-toc {
        align-self: stretch;
    }

    .bo-reader.has-toc.has-side .bo-reader-toc {
        grid-row: 1 / span 2;
    }

    .bo-reader.has-toc .bo-rbody,
    .bo-reader.has-toc .bo-rside {
        grid-column: 2;
    }

    .bo-rtoc {
        position: sticky;
        top: calc(var(--bo-reader-top, 0px) + var(--bo-rhead-stuck-h, 0px) + 8px);
        max-height: calc(100dvh - var(--portal-top-h) - var(--bo-rhead-stuck-h, 0px) - 48px);
        padding: 0;
        overflow-y: auto;
        border: 0;
        border-radius: 0;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .bo-rtoc-h {
        display: block;
    }

    .bo-rtoc-toggle {
        display: none;
    }

    .bo-rtoc:not(.is-open) ol,
    .bo-rtoc.is-open ol {
        display: block;
        margin: 0;
    }
}

@container bo-reader (min-width: 1180px) {
    .bo-reader.has-toc:not(.has-side) > .bo-reader-cols {
        grid-template-columns: 240px minmax(0, 720px);
    }

    .bo-reader.has-side > .bo-reader-cols {
        grid-template-columns: minmax(0, 1fr) 300px;
        align-items: start;
        column-gap: 40px;
    }

    .bo-reader.has-toc.has-side > .bo-reader-cols {
        grid-template-columns: 240px minmax(0, 1fr) 300px;
    }

    .bo-reader.has-toc.has-side .bo-reader-toc {
        grid-row: 1;
    }

    .bo-reader.has-side .bo-rside {
        position: sticky;
        top: calc(var(--bo-reader-top, 0px) + var(--bo-rhead-stuck-h, 0px) + 8px);
        grid-row: 1;
        grid-column: -2;
        max-width: none;
    }
}

.bo-readcard {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px;
    border: 1px solid var(--portal-primary);
    border-radius: var(--portal-radius-3);
    background: var(--portal-red-soft-bg);
}

.bo-readcard p {
    margin: 2px 0 0;
}

.bo-readcard-t {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
}

.bo-readcard.is-done {
    flex-direction: row;
    align-items: center;
    border-color: var(--portal-ok-line);
    background: var(--portal-success-soft-bg);
}

.bo-rfoot {
    position: relative;
    display: grid;
    gap: 12px;
    margin-top: 32px;
}

.bo-rend + .bo-rfoot {
    margin-top: 14px;
}

.bo-rfb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.bo-rfb-rate {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin-right: 8px;
}

.bo-rfb-why {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bo-rfb-q {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.bo-rfb .bo-btn {
    color: var(--portal-muted);
}

.bo-rfb .bo-btn:hover,
.bo-rfb .bo-btn[aria-pressed="true"] {
    background: var(--portal-surface-2);
    color: var(--portal-ink);
}

.bo-rfb-act > span {
    display: inline-flex;
}

.bo-rfb-act .bo-rfb-i-done,
.bo-rfb-act[data-state="done"] .bo-rfb-i-idle {
    display: none;
}

.bo-rfb-act[data-state="done"] .bo-rfb-i-done {
    display: block;
}

.bo-rfb-count {
    margin-left: 10px;
}

.bo-rend {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 36px;
    padding-top: 18px;
    border-top: 1px solid var(--portal-border);
}

.bo-rend .bo-btn {
    min-width: 0;
    max-width: 100%;
    height: auto;
    min-height: var(--portal-control-h);
    padding-block: 6px;
    line-height: 1.35;
    white-space: normal;
    text-align: right;
    text-wrap: balance;
}

.bo-rend-next {
    flex-direction: row-reverse;
}

.bo-rfb-sent {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    color: var(--portal-success-soft-text);
}

.bo-hub-more {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
}

.bo-readbar {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bo-readbar .bo-meter {
    flex: 1;
}

.bo-okline {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--portal-ink-2);
}

@media (max-width: 760px) {
    .bo-rhead-t {
        font-size: 24px;
    }

    .bo-rhead.is-stuck {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-rhead.is-stuck .bo-rhead-k {
        display: none;
    }

    .bo-rhead.is-stuck .bo-rhead-t {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .bo-rhead.is-stuck .bo-rhead-a {
        overflow-x: auto;
        scrollbar-width: none;
    }

    .bo-docgrid,
    .bo-wikis {
        grid-template-columns: minmax(0, 1fr);
    }
}

.bo-skip {
    position: absolute;
    z-index: 100;
    top: 8px;
    left: 8px;
    padding: 8px 12px;
    border-radius: var(--portal-radius-2);
    background: var(--portal-raised);
    box-shadow: var(--portal-shadow-pop);
    color: var(--portal-ink);
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transform: translateY(-200%);
}

.bo-skip:focus {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
    transform: none;
}

.bo-ngroup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 6px 10px 4px;
    border: 0;
    border-radius: var(--portal-radius-control);
    background: none;
    color: var(--portal-side-faint);
    font: inherit;
    font-size: 11.5px;
    font-weight: 500;
    letter-spacing: 0.01em;
    text-align: left;
}

.bo-ngroup-ic {
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    padding: 3px;
    border: 0;
    border-radius: 5px;
    background: none;
    color: inherit;
    cursor: pointer;
    transition: transform 0.15s;
}

.bo-ngroup-ic:hover {
    background: var(--portal-side-hover);
    color: var(--portal-side-text);
}

.bo-ngroup-ic:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-ngroup-ic[aria-expanded="false"] {
    transform: rotate(180deg);
}

.bo-nitem {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    height: var(--portal-nav-h);
    padding: 0 10px;
    border-radius: var(--portal-radius-2);
    color: var(--portal-side-text-2);
    font-size: var(--portal-nav-fs);
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
}

.bo-nitem > svg {
    flex: none;
    color: var(--portal-side-icon);
}

.bo-nitem:hover {
    background: var(--portal-side-hover);
    color: var(--portal-side-text);
}

.bo-nitem:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-nitem.is-on {
    background: var(--portal-side-active);
    box-shadow: var(--portal-side-active-shadow);
    color: var(--portal-side-active-text);
    font-weight: var(--portal-nav-active-weight);
}

.bo-nitem.is-on > svg {
    color: var(--portal-side-active-icon);
}

.bo-nitem-l {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bo-ncount {
    display: inline-grid;
    flex: none;
    place-items: center;
    min-width: 20px;
    height: 18px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--portal-side-count-bg);
    color: var(--portal-side-count);
    font-size: 11px;
    font-weight: 600;
}

.bo-ncount.is-warn {
    background: var(--portal-warning-soft-bg);
    color: var(--portal-warning-soft-text);
}

.bo-nitem.is-on .bo-ncount {
    background: var(--portal-side-count-on-bg);
    color: var(--portal-side-count-on);
}

.bo-back {
    margin-right: 4px;
}

.bo-back[hidden] {
    display: none;
}

.bo-strigger {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    height: 32px;
    padding: 0 10px;
    border: 1px solid transparent;
    border-radius: var(--portal-radius-2);
    font: inherit;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
    cursor: pointer;
}

.bo-strigger > svg {
    flex: none;
}

.bo-strigger:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-strigger-side {
    width: 100%;
    border-color: var(--portal-side-line-2);
    background: var(--portal-side-input);
    color: var(--portal-side-search-text);
}

.bo-strigger-side:hover {
    border-color: var(--portal-side-text-3);
    color: var(--portal-side-text);
}

.bo-strigger-top {
    width: min(440px, 40vw);
    height: 36px;
    padding: 0 12px;
    border-color: var(--portal-border);
    background: var(--portal-surface-2);
    color: var(--portal-muted);
    font-size: 13.5px;
    cursor: text;
}

.bo-strigger-top:hover {
    border-color: var(--portal-border-strong);
    color: var(--portal-ink-2);
}

.bo-strigger-l {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bo-pal-veil {
    position: fixed;
    z-index: 70;
    inset: 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 14vh 16px 16px;
    overflow-y: auto;
    background: var(--portal-scrim);
}

.bo-pal {
    width: min(620px, 100%);
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-container);
    background: var(--portal-raised);
    box-shadow: var(--portal-shadow-modal);
    color: var(--portal-ink);
    font-family: var(--portal-font-body);
}

.bo-pal-in {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 16px;
    border-bottom: 1px solid var(--portal-border);
    color: var(--portal-muted);
}

.bo-pal-in > svg {
    flex: none;
}

.bo-pal-field {
    flex: 1;
    min-width: 0;
    height: 56px;
    border: 0;
    outline: none;
    background: transparent;
    color: var(--portal-ink);
    font: inherit;
    font-size: 16px;
}

.bo-pal-field::placeholder {
    color: var(--portal-faint);
    opacity: 1;
}

.bo-pal-list {
    max-height: min(420px, 60vh);
    padding: 6px;
    overflow-y: auto;
}

.bo-pal-g {
    margin: 0;
    padding: 10px 10px 4px;
    color: var(--portal-muted);
    font-size: 11.5px;
    font-weight: 500;
}

.bo-pal-empty {
    margin: 0;
    padding: 10px 8px;
    color: var(--portal-muted);
    font-size: 13px;
}

.bo-pal-i {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 38px;
    padding: 6px 10px;
    border: 0;
    border-radius: var(--portal-radius-2);
    background: none;
    color: var(--portal-ink);
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.bo-pal-i > svg {
    flex: none;
    color: var(--portal-muted);
}

.bo-pal-i:hover,
.bo-pal-i[aria-selected="true"] {
    background: var(--portal-surface-2);
}

.bo-pal-i[aria-selected="true"] {
    box-shadow: inset 0 0 0 1px var(--portal-border-strong);
}

.bo-pal-i[aria-selected="true"] > svg {
    color: var(--portal-ink);
}

.bo-pal-i.is-soon {
    cursor: default;
}

.bo-pal-i.is-soon > svg,
.bo-pal-i.is-soon .bo-pal-l {
    opacity: 0.45;
}

.bo-pal-l {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.bo-pal-s,
.bo-pal-n {
    flex: none;
    color: var(--portal-muted);
    font-size: 12.5px;
    white-space: nowrap;
}

.bo-pal-n {
    font-size: 11.5px;
}

.bo-hero {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    padding: 36px 40px;
    overflow: hidden;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-container);
    background: radial-gradient(120% 140% at 100% 0%, var(--portal-red-soft-bg) 0%, transparent 55%), var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-hero-b {
    flex: 1;
    min-width: 0;
}

.bo-hero-k {
    margin: 0 0 4px;
    color: var(--portal-accent-text);
    font-size: 14px;
    font-weight: 600;
}

.bo-hero-t {
    margin: 0 0 18px;
    color: var(--portal-ink);
    font-family: var(--portal-font-display);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: var(--portal-h1-weight);
    letter-spacing: -0.025em;
    line-height: 1.15;
}

.bo-hero-t:focus {
    outline: none;
}

.bo-hero-bz {
    flex: none;
    margin: -12px -8px -20px 0;
}

.bo-ask {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 640px;
    padding: 6px 6px 6px 18px;
    border: 1px solid var(--portal-border-strong);
    border-radius: 999px;
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-ask:focus-within {
    border-color: var(--portal-focus);
    box-shadow: 0 0 0 4px var(--portal-focus-ring);
}

.bo-ask-in {
    flex: 1;
    min-width: 0;
    height: 40px;
    border: 0;
    outline: 0;
    background: none;
    color: var(--portal-ink);
    font: inherit;
    font-size: 15.5px;
}

.bo-ask-in::placeholder {
    color: var(--portal-faint);
    opacity: 1;
}

.bo-ask.is-soon .bo-ask-in {
    cursor: default;
}

.bo-ask .bo-ask-go {
    flex: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.bo-ask-mic {
    display: contents;
}

.bo-ask-note {
    display: inline-flex;
    flex: none;
}

.bo-ask-sugg {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.bo-okline {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--portal-ink-2);
}

.bo-home-leader {
    margin: 0 -8px 12px;
}

.bo-grid-2.bo-hgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    margin-top: 0;
}

.bo-hgrid > .bo-card,
.bo-hgrid > * > .bo-card {
    height: 100%;
    margin: 0;
}

@media (max-width: 900px) {
    .bo-grid-2.bo-hgrid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-hero {
        padding: 24px;
    }

    .bo-hero-bz {
        display: none;
    }
}

@media (max-width: 640px) {
    .bo-back .bo-back-t {
        display: none;
    }

    .bo-back {
        width: 28px;
        padding: 0;
    }

    .bo-ask {
        flex-wrap: wrap;
        border-radius: 24px;
    }

    .bo-ask-note {
        order: 9;
        flex-basis: 100%;
        padding: 0 0 4px;
    }
}

.bo-mic-btn[data-state="listening"] {
    background: var(--portal-surface-2);
    color: var(--portal-primary);
}

.bo-mic-btn[data-state="listening"]::before {
    content: "";
    position: absolute;
    inset: -2px;
    border: 2px solid var(--portal-primary);
    border-radius: inherit;
    pointer-events: none;
}

.bo-mic-btn[data-state="asking"] {
    color: var(--portal-ink);
}

.bo-listen {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.bo-listen-btn > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.bo-listen-i {
    display: none;
}

.bo-listen-btn[data-state="idle"] .bo-listen-i-play,
.bo-listen-btn[data-state="error"] .bo-listen-i-play,
.bo-listen-btn[data-state="soon"] .bo-listen-i-play,
.bo-listen-btn[data-state="playing"] .bo-listen-i-stop {
    display: block;
}

.bo-listen-btn[data-state="loading"] .bo-listen-dots {
    display: inline-flex;
    gap: 2px;
}

.bo-listen-dots span {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: currentColor;
}

.bo-chat-answer-fb .bo-listen-btn.is-hint,
.bo-chat-answer-fb .bo-listen-btn[data-state="playing"] {
    color: var(--portal-primary);
}

.bo-voice {
    position: relative;
    z-index: 3;
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 4px;
    max-width: 100%;
    margin: -6px auto 14px;
    padding: 4px;
    border: 1px solid var(--portal-border);
    border-radius: 999px;
    background: var(--portal-surface);
    color: var(--portal-ink);
    font-family: var(--portal-font-body, inherit);
}

.bo-voice .bo-btn {
    color: var(--portal-ink);
}

.bo-voice .bo-btn[hidden] {
    display: none;
}

.bo-voice .bo-btn > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.bo-voice-i {
    display: none;
}

.bo-voice-listen[data-state="idle"] .bo-voice-i-play,
.bo-voice-listen[data-state="playing"] .bo-voice-i-stop,
.bo-voice-mute[aria-pressed="false"] .bo-voice-i-on,
.bo-voice-mute[aria-pressed="true"] .bo-voice-i-off {
    display: block;
}

.bo-voice-mute[aria-pressed="true"] {
    background: var(--portal-surface-2);
}

@media (prefers-reduced-motion: no-preference) {
    .bo-mic-btn[data-state="listening"]::before {
        transform: scale(calc(1 + var(--bz-mic-level, 0) * 0.15));
        transition: transform 80ms linear;
    }

    .bo-mascot[data-bz-speaking] .bo-mascot-in {
        animation: none;
        transform: scale(calc(1 + var(--bz-voice-level, 0) * 0.03));
        transform-origin: 50% 100%;
        transition: transform 60ms linear;
    }
}

.bo-tag {
    display: inline-flex;
    flex: none;
    align-items: center;
    gap: 4px;
    height: 20px;
    padding: 0 6px;
    border: 1px solid var(--portal-border);
    border-radius: var(--portal-radius-control);
    background: var(--portal-surface);
    color: var(--portal-ink-2);
    font-size: 11.5px;
    font-weight: 500;
    line-height: 1;
    white-space: nowrap;
}

.bo-tag-brand {
    border-color: color-mix(in oklab, var(--portal-red) 30%, var(--portal-border));
    color: var(--portal-ink);
}

.bo-tag-warn {
    border-color: var(--portal-warn-line);
    background: var(--portal-warning-soft-bg);
    color: var(--portal-warning-soft-text);
}

.bo-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 12px 0;
}

.bo-chip {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-fchip-radius);
    background: var(--portal-surface);
    color: var(--portal-ink-2);
    font: inherit;
    font-size: 12.5px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 120ms cubic-bezier(.2, .8, .2, 1), border-color 120ms cubic-bezier(.2, .8, .2, 1);
}

.bo-chip:hover {
    background: var(--portal-surface-2);
}

.bo-chip[aria-pressed="true"] {
    border-color: var(--portal-ink);
    background: var(--portal-selected);
    color: var(--portal-ink);
}

.bo-chip:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.bo-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-cat-i {
    display: flex;
    min-width: 0;
}

.bo-cat {
    display: flex;
    flex: 1;
    align-items: flex-start;
    gap: 12px;
    min-width: 0;
    padding: 14px;
    border: 1px solid var(--portal-card-line);
    border-radius: var(--portal-radius-3);
    background: var(--portal-surface);
    box-shadow: var(--portal-card-shadow);
}

.bo-cat-b {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.bo-cat-h {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.bo-cat-n {
    margin: 0;
    color: var(--portal-ink);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.bo-cat-d {
    display: -webkit-box;
    margin: 0;
    overflow: hidden;
    color: var(--portal-muted);
    font-size: 12.5px;
    line-height: 1.4;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.bo-cat-a {
    display: flex;
    flex: none;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
}

.bo-sys-logo-lg {
    width: 48px;
    height: 48px;
    border-radius: var(--portal-radius-3);
    font-size: 16px;
}

.bo-srow.is-compact {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 16px;
}

.bo-srow.is-off .bo-srow-t {
    opacity: .6;
}

.bo-srow-n {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.bo-srow-d {
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
    overflow-wrap: anywhere;
}

.bo-slist-h {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.bo-slist-m {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 2px;
    color: var(--portal-muted);
    font-size: var(--portal-font-size-xs);
}

.bo-slist-m.is-warn {
    color: var(--portal-warning-soft-text);
}

.bo-slist-a {
    display: flex;
    flex: none;
    align-items: center;
    gap: 8px;
}

.bo-slist-i.is-btn {
    padding: 0;
}

.bo-slist-btn {
    display: flex;
    flex: 1;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 12px 16px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.bo-slist-btn:hover {
    background: var(--portal-hover);
}

.bo-slist-btn:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: -2px;
}

.bo-slist-btn[aria-disabled="true"] {
    cursor: not-allowed;
}

.bo-slist-btn[aria-disabled="true"] .bo-slist-b,
.bo-slist-btn[aria-disabled="true"] .bo-tico {
    opacity: .6;
}

.bo-slist-chev {
    flex: none;
    margin-left: auto;
    color: var(--portal-ink-4);
}

.bo-secret {
    display: block;
    padding: 10px 12px;
    border: 1px solid var(--portal-border-strong);
    border-radius: var(--portal-radius-2);
    background: var(--portal-surface-2);
    color: var(--portal-ink);
    font-family: var(--portal-font-mono);
    font-size: 13px;
    overflow-wrap: anywhere;
}

.bo-mono {
    font-family: var(--portal-font-mono);
}

.bo-toollist {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bo-toollist li {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    color: var(--portal-ink-2);
    font-size: 13px;
}

@media (max-width: 640px) {
    .bo-cat-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .bo-cat {
        flex-wrap: wrap;
    }

    .bo-cat-a {
        flex-direction: row;
        align-items: center;
        width: 100%;
    }

    .bo-slist-i.is-integ {
        flex-wrap: wrap;
    }

    .bo-slist-i.is-integ .bo-slist-a {
        flex-wrap: wrap;
        width: 100%;
        padding-left: 48px;
    }

    .bo-srow.is-compact {
        grid-template-columns: minmax(0, 1fr) auto;
    }

    .bo-srow.is-compact .bo-srow-c {
        justify-content: flex-end;
    }
}

.bo-check {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 24px;
    color: var(--portal-ink);
    font-size: var(--portal-font-size);
    cursor: pointer;
}

.bo-check input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--portal-primary);
}

.bo-check input:focus-visible {
    outline: 2px solid var(--portal-focus);
    outline-offset: 2px;
}

.fi-modal .fi-modal-window.bo-dialog:has(.bo-form) {
    overflow-y: auto;
}

.bo-dialog:has(.bo-form) .fi-modal-header {
    flex-shrink: 0;
}
