:root {
    --bsh-ink: #0f172a;
    --bsh-muted: #64748b;
    --bsh-line: #dbe3ea;
    --bsh-panel: #ffffff;
    --bsh-soft: #f8fafc;
    --bsh-teal: #0f766e;
    --bsh-navy: #0b3558;
    --bsh-gold: #f59e0b;
    --bsh-rose: #be123c;
    --bsh-radius: 5px;
    --bsh-radius-sm: 4px;
    --bsh-shadow: 0 24px 70px rgba(15, 23, 42, .13);
}

.fi-body {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .08), rgba(245, 158, 11, .08) 38%, rgba(15, 23, 42, .04)),
        #f8fafc !important;
}

.fi-sidebar {
    border-right: 0 !important;
    background:
        linear-gradient(180deg, rgba(15, 23, 42, .98), rgba(11, 53, 88, .96) 58%, rgba(15, 118, 110, .94)) !important;
    box-shadow: 18px 0 60px rgba(15, 23, 42, .18);
}

.fi-sidebar .fi-sidebar-header {
    background: transparent !important;
    border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
    padding-bottom: .9rem !important;
}

.fi-sidebar .fi-sidebar-item-label,
.fi-sidebar .fi-sidebar-group-label,
.fi-sidebar .fi-sidebar-item-icon,
.fi-sidebar .fi-sidebar-collapse-button,
.fi-sidebar .fi-icon-btn-icon {
    color: rgba(255, 255, 255, .86) !important;
}

.fi-sidebar .fi-sidebar-item-active a,
.fi-sidebar .fi-sidebar-item a:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, .16), rgba(15, 118, 110, .24)) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12), 0 10px 26px rgba(0,0,0,.16);
}

.fi-sidebar .fi-sidebar-item a {
    border-radius: var(--bsh-radius) !important;
}

.fi-sidebar .fi-sidebar-item-icon {
    width: 2rem !important;
    height: 2rem !important;
    padding: .38rem;
    border-radius: var(--bsh-radius);
    background: rgba(255,255,255,.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.fi-sidebar .fi-sidebar-item-active .fi-sidebar-item-icon,
.fi-sidebar .fi-sidebar-item a:hover .fi-sidebar-item-icon {
    background: #f59e0b;
    color: #0f172a !important;
}

.fi-sidebar .fi-sidebar-group-icon {
    width: 2rem !important;
    height: 2rem !important;
    padding: .38rem;
    border-radius: var(--bsh-radius);
    background: rgba(255,255,255,.1);
    color: #bfdbfe !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.fi-sidebar .fi-sidebar-item-grouped-border {
    width: 2rem !important;
    height: 2rem !important;
    border-radius: var(--bsh-radius);
    background: rgba(255,255,255,.08);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.fi-sidebar .fi-sidebar-item-grouped-border > div:first-child {
    display: none;
}

.fi-sidebar .fi-sidebar-item-grouped-border > div:last-child {
    width: .55rem !important;
    height: .55rem !important;
    background: #5eead4 !important;
    box-shadow: 0 0 0 4px rgba(94, 234, 212, .12), 0 0 18px rgba(94, 234, 212, .4);
}

.fi-sidebar .fi-sidebar-item-active .fi-sidebar-item-grouped-border,
.fi-sidebar .fi-sidebar-item a:hover .fi-sidebar-item-grouped-border {
    background: #f59e0b;
}

.fi-sidebar .fi-sidebar-item-active .fi-sidebar-item-grouped-border > div:last-child,
.fi-sidebar .fi-sidebar-item a:hover .fi-sidebar-item-grouped-border > div:last-child {
    background: #0f172a !important;
    box-shadow: 0 0 0 4px rgba(15, 23, 42, .12);
}

.fi-sidebar .fi-sidebar-group-label {
    margin-top: .4rem;
    color: rgba(255,255,255,.72) !important;
    letter-spacing: .05em;
    font-weight: 900 !important;
}

.fi-topbar {
    background: rgba(248, 250, 252, .82) !important;
    border-bottom: 1px solid rgba(148, 163, 184, .22) !important;
    backdrop-filter: blur(18px);
}

.fi-main,
.fi-page {
    color: var(--bsh-ink);
}

.fi-sidebar-header .fi-logo {
    height: auto !important;
    min-height: 3.25rem;
    width: 100%;
}

.bsh-brand-lockup {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    width: 100%;
    min-width: 0;
}

.bsh-brand-mark {
    width: 44px;
    height: 44px;
    border-radius: var(--bsh-radius);
    background: white;
    object-fit: contain;
    padding: .08rem;
    box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

.bsh-brand-copy {
    display: grid;
    min-width: 0;
}

.bsh-brand-copy strong {
    color: #ffffff;
    font-size: .9rem;
    line-height: 1.05;
    font-weight: 900;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bsh-brand-copy small {
    margin-top: .28rem;
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .58rem;
    font-weight: 900;
    white-space: nowrap;
}

.bsh-cockpit-page .fi-header {
    display: none;
}

.bsh-cockpit {
    display: grid;
    gap: 1.25rem;
}

.bsh-ops-hero,
.bsh-panel,
.bsh-metric-card,
.bsh-quick-actions a {
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--bsh-radius);
    background: rgba(255, 255, 255, .88);
    box-shadow: var(--bsh-shadow);
}

.bsh-ops-hero {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 330px);
    gap: 1.25rem;
    padding: clamp(1.25rem, 3vw, 2rem);
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .98), rgba(11, 53, 88, .95) 62%, rgba(15, 23, 42, .94)),
        #0f172a;
    color: #ffffff;
}

.bsh-ops-hero::after {
    content: "";
    position: absolute;
    inset: auto -8% -35% 42%;
    height: 230px;
    transform: rotate(-10deg);
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.13) 0 2px, transparent 2px 16px);
}

.bsh-hero-copy,
.bsh-hero-panel,
.bsh-panel-head,
.bsh-metric-card {
    position: relative;
    z-index: 1;
}

.bsh-hero-copy {
    display: grid;
    align-content: center;
    gap: 1rem;
    min-width: 0;
}

.bsh-hero-brand-row {
    display: inline-grid;
    grid-template-columns: 46px auto;
    align-items: center;
    gap: .65rem;
    justify-self: start;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: var(--bsh-radius);
    padding: .52rem .7rem;
    background: rgba(255,255,255,.1);
}

.bsh-hero-mark {
    width: 46px;
    height: 46px;
    border-radius: var(--bsh-radius);
    background: white;
    object-fit: contain;
    padding: .08rem;
}

.bsh-hero-brand-row strong {
    display: block;
    line-height: 1.1;
    font-weight: 900;
}

.bsh-hero-brand-row small {
    display: block;
    margin-top: .2rem;
    color: #5eead4;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .62rem;
    font-weight: 900;
}

.bsh-kicker,
.bsh-panel-head span,
.bsh-metric-card span {
    margin: 0 0 .35rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    font-size: .64rem;
    font-weight: 900;
    color: var(--bsh-gold);
}

.bsh-ops-hero h1 {
    margin: 0;
    max-width: 760px;
    font-size: clamp(1.9rem, 3vw, 3.15rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0;
}

.bsh-ops-hero p {
    max-width: 760px;
    margin: .75rem 0 0;
    color: rgba(255, 255, 255, .78);
    font-size: .92rem;
}

.bsh-hero-panel {
    align-self: stretch;
    display: grid;
    align-content: center;
    gap: .7rem;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--bsh-radius);
    padding: .9rem;
    background: rgba(255, 255, 255, .12);
    backdrop-filter: blur(14px);
    min-width: 0;
}

.bsh-hero-panel span {
    color: rgba(255, 255, 255, .72);
    font-weight: 800;
}

.bsh-hero-panel strong {
    font-size: 1.08rem;
}

.bsh-hero-links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
}

.bsh-hero-links a,
.bsh-panel-head a,
.bsh-store-login-link {
    border-radius: 999px;
    padding: .45rem .72rem;
    background: rgba(255, 255, 255, .16);
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
}

.bsh-panel-head a {
    background: #ecfdf5;
    color: var(--bsh-teal);
}

.bsh-quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
    gap: .75rem;
}

.bsh-quick-actions a {
    display: grid;
    align-content: start;
    gap: .45rem;
    min-height: 92px;
    padding: .82rem;
    color: var(--bsh-ink);
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease;
}

.bsh-quick-actions a:hover {
    transform: translateY(-2px);
    box-shadow: 0 28px 80px rgba(15, 23, 42, .18);
}

.bsh-quick-actions span,
.bsh-metric-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: var(--bsh-radius);
    background: #ecfdf5;
    color: var(--bsh-teal);
}

.bsh-quick-actions svg,
.bsh-metric-icon svg,
.bsh-panel-head svg {
    width: 18px;
    height: 18px;
}

.bsh-quick-actions strong {
    font-size: .9rem;
    line-height: 1.2;
}

.bsh-control-hub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: .75rem;
}

.bsh-control-card {
    display: grid;
    align-content: start;
    gap: .62rem;
    min-height: 184px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--bsh-radius);
    padding: .78rem;
    background: #ffffff;
}

.bsh-control-main {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .68rem;
    color: var(--bsh-ink);
    text-decoration: none;
}

.bsh-control-main small,
.bsh-launch-item small {
    display: block;
    color: var(--bsh-gold);
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: .58rem;
    font-weight: 900;
}

.bsh-control-main strong {
    display: block;
    margin-top: .16rem;
    font-size: 1.22rem;
    line-height: 1.05;
    font-weight: 950;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bsh-control-main b,
.bsh-launch-item b {
    display: inline-flex;
    width: fit-content;
    max-width: 100%;
    margin-top: .28rem;
    border-radius: 999px;
    padding: .22rem .48rem;
    background: #f8fafc;
    color: var(--bsh-muted);
    font-size: .62rem;
    line-height: 1.2;
    font-weight: 900;
}

.bsh-control-card p {
    margin: 0;
    color: var(--bsh-muted);
    font-size: .74rem;
    line-height: 1.35;
    font-weight: 800;
}

.bsh-control-links {
    display: flex;
    flex-wrap: wrap;
    gap: .36rem;
    margin-top: auto;
}

.bsh-control-links a {
    border-radius: 999px;
    padding: .28rem .48rem;
    background: #f8fafc;
    color: var(--bsh-ink);
    font-size: .64rem;
    font-weight: 900;
    text-decoration: none;
}

.bsh-launch-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(156px, 1fr));
    gap: .62rem;
}

.bsh-launch-item {
    display: grid;
    gap: .48rem;
    min-height: 96px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--bsh-radius);
    padding: .68rem;
    background: #ffffff;
    color: var(--bsh-ink);
    text-decoration: none;
}

.bsh-launch-item strong {
    display: block;
    margin-top: .18rem;
    font-size: .98rem;
    line-height: 1.08;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.tone-emerald .bsh-control-main b,
.tone-emerald.bsh-launch-item b { background: #dcfce7; color: #15803d; }
.tone-blue .bsh-control-main b,
.tone-blue.bsh-launch-item b { background: #dbeafe; color: #1d4ed8; }
.tone-amber .bsh-control-main b,
.tone-amber.bsh-launch-item b { background: #fef3c7; color: #b45309; }
.tone-cyan .bsh-control-main b,
.tone-cyan.bsh-launch-item b { background: #cffafe; color: #0e7490; }
.tone-violet .bsh-control-main b,
.tone-violet.bsh-launch-item b { background: #ede9fe; color: #7c3aed; }
.tone-slate .bsh-control-main b,
.tone-slate.bsh-launch-item b { background: #e2e8f0; color: #334155; }

.bsh-metric-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(148px, 1fr));
    gap: .75rem;
}

.bsh-metric-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .7rem;
    min-height: 106px;
    padding: .82rem;
    min-width: 0;
}

.bsh-metric-card strong {
    display: block;
    font-size: clamp(1.05rem, 1.35vw, 1.3rem);
    line-height: 1.04;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bsh-metric-card small {
    display: block;
    margin-top: .32rem;
    color: var(--bsh-muted);
    font-size: .75rem;
    line-height: 1.25;
    font-weight: 800;
}

.tone-emerald .bsh-metric-icon { background: #dcfce7; color: #15803d; }
.tone-blue .bsh-metric-icon { background: #dbeafe; color: #1d4ed8; }
.tone-amber .bsh-metric-icon { background: #fef3c7; color: #b45309; }
.tone-rose .bsh-metric-icon { background: #ffe4e6; color: #be123c; }
.tone-cyan .bsh-metric-icon { background: #cffafe; color: #0e7490; }
.tone-violet .bsh-metric-icon { background: #ede9fe; color: #7c3aed; }
.tone-slate .bsh-metric-icon { background: #e2e8f0; color: #334155; }

.bsh-ops-grid,
.bsh-command-grid,
.bsh-data-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
    gap: 1rem;
}

.bsh-command-grid {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, .55fr) minmax(280px, .65fr);
}

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

.bsh-panel {
    padding: .9rem;
}

.bsh-panel-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bsh-panel-head h2 {
    margin: 0;
    font-size: .98rem;
    font-weight: 900;
}

.bsh-panel-head svg {
    color: var(--bsh-teal);
}

.bsh-bar-chart {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: .62rem;
    min-height: 220px;
    align-items: end;
}

.bsh-bar-item {
    display: grid;
    gap: .35rem;
    align-items: end;
    text-align: center;
    color: var(--bsh-muted);
    font-size: .66rem;
    font-weight: 800;
}

.bsh-bar-track {
    position: relative;
    height: 148px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.bsh-bar-track span {
    position: absolute;
    inset: auto 0 0;
    min-height: 8px;
    border-radius: inherit;
    background: linear-gradient(180deg, var(--bsh-gold), var(--bsh-teal));
}

.bsh-bar-item strong {
    color: var(--bsh-ink);
    font-size: .68rem;
}

.bsh-pipeline-list,
.bsh-table {
    display: grid;
    gap: .65rem;
}

.bsh-pipeline-row {
    display: grid;
    grid-template-columns: 130px minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
}

.bsh-pipeline-row strong,
.bsh-table-row strong {
    display: block;
    color: var(--bsh-ink);
}

.bsh-pipeline-row span,
.bsh-table-row small {
    color: var(--bsh-muted);
    font-size: .72rem;
    font-weight: 800;
}

.bsh-progress {
    height: 9px;
    border-radius: 999px;
    background: #e2e8f0;
    overflow: hidden;
}

.bsh-progress span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--bsh-teal), var(--bsh-gold));
}

.bsh-table-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: .7rem;
    align-items: center;
    padding: .68rem;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: var(--bsh-radius);
    background: #ffffff;
    color: var(--bsh-ink);
    text-decoration: none;
}

.bsh-badge {
    white-space: nowrap;
    border-radius: 999px;
    padding: .26rem .5rem;
    background: #ecfdf5;
    color: var(--bsh-teal);
    font-size: .66rem;
    font-weight: 900;
}

.bsh-badge.danger {
    background: #fff1f2;
    color: var(--bsh-rose);
}

.bsh-empty {
    border: 1px dashed var(--bsh-line);
    border-radius: var(--bsh-radius);
    padding: .82rem;
    color: var(--bsh-muted);
    font-weight: 800;
    background: #f8fafc;
}

.bsh-queue-list,
.bsh-payment-mix {
    display: grid;
    gap: .58rem;
}

.bsh-queue-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: .68rem;
    align-items: center;
    padding: .68rem;
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: var(--bsh-radius);
    background: #ffffff;
    color: var(--bsh-ink);
    text-decoration: none;
}

.bsh-queue-item strong,
.bsh-payment-mix strong {
    display: block;
    font-weight: 900;
}

.bsh-queue-item small,
.bsh-payment-mix span,
.bsh-readiness-grid span {
    display: block;
    color: var(--bsh-muted);
    font-size: .72rem;
    font-weight: 800;
}

.bsh-queue-item b {
    display: grid;
    place-items: center;
    min-width: 32px;
    height: 32px;
    border-radius: var(--bsh-radius);
    background: #f8fafc;
    color: var(--bsh-ink);
    font-size: .98rem;
}

.bsh-readiness-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .58rem;
}

.bsh-readiness-grid div {
    border: 1px solid rgba(148, 163, 184, .18);
    border-radius: var(--bsh-radius);
    padding: .68rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
}

.bsh-readiness-grid strong {
    display: block;
    font-size: 1.2rem;
    line-height: 1;
}

.bsh-payment-mix > div {
    display: grid;
    gap: .55rem;
}

.bsh-import-page .fi-header {
    display: none;
}

.bsh-import-shell {
    display: grid;
    gap: 1rem;
}

.bsh-import-hero {
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: end;
    border-radius: var(--bsh-radius);
    padding: clamp(1rem, 2.4vw, 1.5rem);
    color: #ffffff;
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .98), rgba(11, 53, 88, .94) 58%, rgba(15, 23, 42, .96)),
        #0f172a;
    box-shadow: var(--bsh-shadow);
}

.bsh-import-hero h1 {
    max-width: 880px;
    margin: 0;
    font-size: clamp(1.7rem, 2.8vw, 3.25rem);
    line-height: .98;
    font-weight: 900;
    letter-spacing: 0;
}

.bsh-import-hero p:last-child {
    max-width: 760px;
    margin: .8rem 0 0;
    color: rgba(255,255,255,.78);
    font-size: .92rem;
    font-weight: 700;
}

.bsh-import-hero-actions,
.bsh-import-actions,
.bsh-export-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}

.bsh-import-hero-actions {
    justify-content: flex-end;
}

.bsh-import-hero-actions a,
.bsh-export-grid a {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: var(--bsh-radius);
    padding: .58rem .75rem;
    font-size: .84rem;
    background: rgba(255,255,255,.14);
    color: #ffffff;
    font-weight: 900;
    text-decoration: none;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.bsh-import-hero-actions svg {
    width: 1.1rem;
    height: 1.1rem;
}

.bsh-import-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, .8fr);
    gap: 1rem;
}

.bsh-import-form {
    display: grid;
    gap: 1rem;
}

.bsh-template-cards,
.bsh-template-strip {
    display: grid;
    gap: .7rem;
}

.bsh-template-cards a,
.bsh-template-strip a {
    display: grid;
    gap: .28rem;
    border: 1px solid rgba(148, 163, 184, .2);
    border-radius: var(--bsh-radius);
    padding: .72rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    color: var(--bsh-ink);
    text-decoration: none;
}

.bsh-template-cards a:hover,
.bsh-template-strip a:hover,
.bsh-export-grid a:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 44px rgba(15, 23, 42, .1);
}

.bsh-template-cards span {
    justify-self: start;
    border-radius: var(--bsh-radius-sm);
    padding: .22rem .5rem;
    background: #fef3c7;
    color: #b45309;
    font-size: .68rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
}

.bsh-template-cards strong,
.bsh-template-strip strong {
    font-weight: 900;
}

.bsh-template-cards small,
.bsh-template-strip small {
    color: var(--bsh-muted);
    font-weight: 800;
}

.bsh-template-strip {
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}

.bsh-import-media-guide {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .75rem;
}

.bsh-import-media-guide article {
    display: grid;
    grid-template-columns: 2.1rem minmax(0, 1fr);
    gap: .18rem .7rem;
    align-items: start;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--bsh-radius);
    padding: .78rem;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    box-shadow: 0 16px 42px rgba(15, 23, 42, .08);
}

.bsh-import-media-guide svg {
    grid-row: span 2;
    width: 2.1rem;
    height: 2.1rem;
    border-radius: var(--bsh-radius);
    padding: .42rem;
    background: #ecfdf5;
    color: var(--bsh-teal);
}

.bsh-import-media-guide strong {
    font-size: .86rem;
    font-weight: 900;
}

.bsh-import-media-guide span {
    color: var(--bsh-muted);
    font-size: .74rem;
    line-height: 1.35;
    font-weight: 800;
}

.bsh-import-media-guide code {
    color: var(--bsh-navy);
    font-weight: 900;
}

.bsh-import-summary {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: .85rem;
}

.bsh-import-summary .bsh-metric-card {
    display: block;
    min-height: 0;
}

.bsh-import-summary .bsh-metric-card > span {
    display: block;
}

.bsh-integrations-page .fi-header {
    display: none;
}

.bsh-integrations-shell {
    display: grid;
    gap: 1.25rem;
}

.bsh-integration-summary {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
}

.bsh-integration-summary article {
    min-height: 118px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--bsh-radius);
    padding: .9rem;
    background: #ffffff;
    box-shadow: var(--bsh-shadow);
}

.bsh-integration-summary span,
.bsh-integration-card span {
    display: block;
    margin-bottom: .34rem;
    color: var(--bsh-gold);
    text-transform: uppercase;
    letter-spacing: .11em;
    font-size: .62rem;
    font-weight: 900;
}

.bsh-integration-summary strong {
    display: block;
    color: var(--bsh-ink);
    font-size: 1.65rem;
    line-height: 1;
    font-weight: 950;
}

.bsh-integration-summary small,
.bsh-integration-card small {
    display: block;
    margin-top: .42rem;
    color: var(--bsh-muted);
    font-size: .76rem;
    line-height: 1.35;
    font-weight: 800;
}

.bsh-integration-card-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .75rem;
}

.bsh-integration-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: .75rem;
    align-items: start;
    min-height: 112px;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--bsh-radius);
    padding: .85rem;
    background: #ffffff;
}

.bsh-integration-card strong {
    display: inline-flex;
    max-width: 100%;
    border-radius: 999px;
    padding: .24rem .52rem;
    background: #f8fafc;
    color: var(--bsh-ink);
    font-size: .82rem;
    line-height: 1.25;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.bsh-integration-card.tone-emerald strong { background: #dcfce7; color: #15803d; }
.bsh-integration-card.tone-cyan strong { background: #cffafe; color: #0e7490; }
.bsh-integration-card.tone-amber strong { background: #fef3c7; color: #b45309; }
.bsh-integration-card.tone-slate strong { background: #e2e8f0; color: #334155; }

.bsh-integrations-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(320px, .95fr);
    gap: .95rem;
}

.bsh-integrations-form {
    display: grid;
    gap: 1rem;
}

.bsh-integration-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    align-items: center;
}

.bsh-integration-status-list {
    display: grid;
    gap: .65rem;
}

.bsh-integration-status-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: .75rem;
    align-items: start;
    padding: .72rem;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: var(--bsh-radius);
    background: #ffffff;
}

.bsh-integration-status-row strong,
.bsh-integration-status-row small {
    display: block;
}

.bsh-integration-status-row strong {
    color: var(--bsh-ink);
    font-weight: 900;
}

.bsh-integration-status-row small {
    margin-top: .22rem;
    color: var(--bsh-muted);
    font-size: .76rem;
    line-height: 1.35;
    font-weight: 800;
}

.bsh-integration-status-row b {
    white-space: nowrap;
    border-radius: 999px;
    padding: .28rem .52rem;
    background: #ecfdf5;
    color: var(--bsh-teal);
    font-size: .66rem;
    font-weight: 900;
}

.bsh-import-table-wrap {
    overflow-x: auto;
}

.bsh-import-table {
    min-width: 980px;
    width: 100%;
    border-collapse: collapse;
    font-size: .78rem;
}

.bsh-import-table th,
.bsh-import-table td {
    border-bottom: 1px solid rgba(148, 163, 184, .18);
    padding: .62rem;
    text-align: left;
    vertical-align: top;
}

.bsh-import-table th {
    color: var(--bsh-muted);
    font-size: .66rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.bsh-import-table code {
    display: block;
    max-width: 560px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: #334155;
}

.bsh-import-errors {
    color: var(--bsh-rose);
    font-weight: 800;
}

.bsh-export-grid a {
    background: #ecfdf5;
    color: var(--bsh-teal);
}

.bsh-import-page .bsh-export-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(138px, 1fr));
}

.fi-simple-layout {
    background:
        linear-gradient(135deg, rgba(15, 118, 110, .14), rgba(11, 53, 88, .12) 48%, rgba(245, 158, 11, .12)),
        #f8fafc;
}

.fi-simple-main {
    border-radius: var(--bsh-radius) !important;
    padding: 0 !important;
    overflow: hidden;
    background: transparent !important;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .18) !important;
}

.fi-simple-page > section > .fi-simple-header {
    display: none;
}

.bsh-admin-login-shell {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: min(560px, calc(100vh - 3rem));
    background: #ffffff;
}

.bsh-admin-login-visual {
    position: relative;
    overflow: hidden;
    display: grid;
    align-content: end;
    gap: 1rem;
    padding: clamp(1.4rem, 4vw, 3rem);
    color: #ffffff;
    background: linear-gradient(135deg, #0f766e, #0b3558 58%, #0f172a);
}

.bsh-admin-login-visual::after {
    content: "";
    position: absolute;
    inset: 12% -28% auto auto;
    width: 420px;
    height: 420px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255,255,255,.16), transparent 64%);
}

.bsh-login-logo {
    position: relative;
    z-index: 1;
    width: 300px;
    max-width: 80%;
    object-fit: contain;
    border-radius: var(--bsh-radius);
    padding: .55rem;
    background: rgba(255, 255, 255, .96);
}

.bsh-admin-login-visual h1 {
    position: relative;
    z-index: 1;
    max-width: 620px;
    margin: 0;
    font-size: clamp(1.9rem, 3.35vw, 3.35rem);
    line-height: 1;
    font-weight: 900;
}

.bsh-login-signal-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: .65rem;
}

.bsh-login-signal-grid span {
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--bsh-radius);
    padding: .62rem;
    background: rgba(255, 255, 255, .1);
    color: rgba(255,255,255,.86);
    font-size: .9rem;
    font-weight: 900;
}

.bsh-admin-login-form {
    display: grid;
    align-content: center;
    gap: 1rem;
    padding: clamp(1.35rem, 3.4vw, 2.55rem);
}

.bsh-admin-login-form h2 {
    margin: 0;
    color: var(--bsh-ink);
    font-size: clamp(1.7rem, 3vw, 2.6rem);
    font-weight: 900;
}

.bsh-admin-login-form p {
    margin: .45rem 0 0;
    color: var(--bsh-muted);
    font-weight: 700;
}

.bsh-admin-login-form form,
.bsh-admin-login-form .fi-form,
.bsh-admin-login-form .fi-form > div {
    display: grid;
    gap: .9rem;
}

.bsh-admin-login-form .fi-fo-field-wrp,
.bsh-admin-login-form .fi-input-wrp-input {
    min-width: 0;
}

.bsh-admin-login-form .fi-fo-field-wrp-label {
    color: #1e293b !important;
    font-size: .82rem !important;
    font-weight: 900 !important;
}

.bsh-admin-login-form .fi-input-wrp {
    min-height: 48px;
    border: 1px solid #cbd5e1 !important;
    border-radius: var(--bsh-radius) !important;
    background: #f8fafc !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, .05) !important;
    opacity: 1 !important;
}

.bsh-admin-login-form .fi-input-wrp:focus-within {
    border-color: var(--bsh-teal) !important;
    box-shadow: 0 0 0 3px rgba(15, 118, 110, .12), 0 10px 24px rgba(15, 23, 42, .06) !important;
}

.bsh-admin-login-form .fi-input {
    min-height: 46px !important;
    color: #0f172a !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: var(--bsh-teal);
    background: transparent !important;
    font-weight: 850 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.bsh-admin-login-form .fi-input::placeholder {
    color: #64748b !important;
    -webkit-text-fill-color: #64748b !important;
    opacity: 1 !important;
}

.bsh-admin-login-form input:-webkit-autofill,
.bsh-admin-login-form input:-webkit-autofill:hover,
.bsh-admin-login-form input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #edf4fb inset !important;
    -webkit-text-fill-color: #0f172a !important;
    caret-color: var(--bsh-teal);
    border-radius: var(--bsh-radius) !important;
    transition: background-color 9999s ease-out;
}

.bsh-admin-login-form .fi-input-wrp-suffix,
.bsh-admin-login-form .fi-input-wrp-prefix {
    color: #475569 !important;
}

.bsh-admin-login-form .fi-icon-btn,
.bsh-admin-login-form .fi-icon-btn-icon {
    color: #0b3558 !important;
    opacity: 1 !important;
}

.bsh-admin-login-form .fi-fo-field-wrp:has(.fi-checkbox-input) {
    margin-top: -.18rem;
}

.bsh-admin-login-form .fi-fo-field-wrp:has(.fi-checkbox-input) > div > div:first-child {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0 !important;
}

.bsh-admin-login-form .fi-fo-field-wrp:has(.fi-checkbox-input) .fi-fo-field-wrp-label {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: .48rem !important;
    min-height: 34px;
    width: max-content;
    max-width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: var(--bsh-radius);
    padding: .34rem .56rem .34rem .42rem;
    background: #f8fafc;
    cursor: pointer;
}

.bsh-admin-login-form .fi-checkbox-input {
    width: 1rem !important;
    height: 1rem !important;
    min-width: 1rem !important;
    margin: 0 !important;
    border: 1px solid #94a3b8 !important;
    border-radius: 4px !important;
    background-color: #ffffff !important;
    color: var(--bsh-teal) !important;
    box-shadow: none !important;
}

.bsh-admin-login-form .fi-checkbox-input:checked {
    border-color: var(--bsh-teal) !important;
    background-color: var(--bsh-teal) !important;
}

.bsh-admin-login-form .fi-checkbox-input + *,
.bsh-admin-login-form .fi-fo-field-wrp:has(.fi-checkbox-input) .fi-fo-field-wrp-label {
    color: #334155 !important;
    font-size: .88rem !important;
    line-height: 1 !important;
    font-weight: 850 !important;
}

.bsh-admin-login-form .fi-checkbox-input + span {
    display: inline-flex !important;
    align-items: center !important;
    min-height: 1rem;
    padding: 0 !important;
    white-space: nowrap;
}

.bsh-admin-login-form .fi-ac {
    margin-top: .05rem;
}

.bsh-admin-login-form .fi-btn {
    min-height: 46px;
    border-radius: var(--bsh-radius) !important;
    background: linear-gradient(135deg, var(--bsh-teal), #14b8a6) !important;
    color: #ffffff !important;
    font-weight: 900 !important;
    box-shadow: 0 14px 28px rgba(15, 118, 110, .22) !important;
}

.bsh-store-login-link {
    justify-self: start;
    border-radius: var(--bsh-radius);
    background: #ecfdf5;
    color: var(--bsh-teal);
    padding: .72rem .9rem;
    font-weight: 900;
}

@media (max-width: 1280px) {
    .bsh-metric-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .bsh-quick-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 960px) {
    .bsh-ops-hero,
    .bsh-ops-grid,
    .bsh-command-grid,
    .bsh-data-grid,
    .bsh-import-hero,
    .bsh-import-grid,
    .bsh-import-media-guide,
    .bsh-integrations-grid,
    .bsh-admin-login-shell {
        grid-template-columns: 1fr;
    }

    .bsh-metric-grid,
    .bsh-quick-actions,
    .bsh-import-summary,
    .bsh-integration-summary,
    .bsh-integration-card-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bsh-import-hero-actions {
        justify-content: flex-start;
    }

    .fi-simple-main {
        width: min(100%, calc(100vw - 1rem)) !important;
        margin: .5rem auto !important;
    }

    .bsh-admin-login-shell {
        min-height: auto;
    }

    .bsh-admin-login-visual {
        align-content: start;
        gap: .72rem;
        padding: 1rem;
    }

    .bsh-login-logo {
        width: min(270px, 78vw);
        max-width: 100%;
        padding: .42rem;
    }

    .bsh-admin-login-visual h1 {
        max-width: 680px;
        font-size: clamp(1.65rem, 5.6vw, 2.45rem);
        line-height: 1.04;
    }

    .bsh-login-signal-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .45rem;
    }

    .bsh-login-signal-grid span {
        min-height: 36px;
        padding: .48rem;
        font-size: .72rem;
        line-height: 1.15;
    }

    .bsh-admin-login-form {
        align-content: start;
        gap: .82rem;
        padding: 1rem;
    }

    .bsh-admin-login-form h2 {
        font-size: clamp(1.45rem, 6vw, 2rem);
        line-height: 1.08;
    }

    .bsh-admin-login-form p {
        font-size: .88rem;
        line-height: 1.45;
    }
}

@media (max-width: 640px) {
    .fi-simple-layout {
        align-items: start !important;
        justify-content: center !important;
        padding: .5rem !important;
    }

    .fi-simple-main {
        box-shadow: 0 18px 48px rgba(15, 23, 42, .14) !important;
    }

    .bsh-login-signal-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bsh-admin-login-form .fi-input-wrp,
    .bsh-admin-login-form .fi-input {
        min-height: 44px !important;
    }

    .bsh-store-login-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .bsh-metric-grid,
    .bsh-quick-actions,
    .bsh-import-summary,
    .bsh-integration-summary,
    .bsh-integration-card-grid,
    .bsh-bar-chart {
        grid-template-columns: 1fr;
    }

    .bsh-bar-chart {
        min-height: auto;
    }

    .bsh-bar-track {
        height: 24px;
    }

    .bsh-bar-track span {
        width: 100%;
    }

    .bsh-pipeline-row,
    .bsh-table-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 380px) {
    .bsh-admin-login-visual {
        gap: .5rem;
        padding: .82rem;
    }

    .bsh-login-logo {
        width: min(230px, 76vw);
        padding: .32rem;
    }

    .bsh-admin-login-visual h1 {
        font-size: 1.58rem;
        line-height: 1.03;
    }

    .bsh-login-signal-grid {
        gap: .34rem;
    }

    .bsh-login-signal-grid span {
        min-height: 30px;
        padding: .36rem .42rem;
        font-size: .66rem;
    }

    .bsh-admin-login-form {
        gap: .66rem;
        padding: .82rem;
    }

    .bsh-admin-login-form .fi-input-wrp,
    .bsh-admin-login-form .fi-input {
        min-height: 42px !important;
    }

    .bsh-admin-login-form .fi-fo-field-wrp:has(.fi-checkbox-input) .fi-fo-field-wrp-label {
        min-height: 32px;
        padding: .3rem .5rem .3rem .38rem;
    }
}
