:root {
    --sb-ink: #111827;
    --sb-muted: #667085;
    --sb-line: #d8dee8;
    --sb-panel: #ffffff;
    --sb-soft: #f3f6fb;
    --sb-blue: #1769ff;
    --sb-blue-dark: #0b4fd8;
    --sb-green: #12805c;
    --sb-amber: #b7791f;
}

body {
    color: var(--sb-ink);
    background: #f6f8fb !important;
}

main {
    min-height: calc(100vh - 150px);
}

.sb-page-shell {
    max-width: 1180px;
}

.sb-hero {
    background:
        linear-gradient(135deg, rgba(13, 42, 86, .94), rgba(22, 79, 150, .9)),
        url("https://images.unsplash.com/photo-1519389950473-47ba0277781c?auto=format&fit=crop&w=1600&q=80");
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    color: #fff;
    overflow: hidden;
}

.sb-dashboard-hero {
    background:
        linear-gradient(135deg, rgba(239, 246, 255, .98), rgba(240, 253, 250, .96)),
        #fff;
    border: 1px solid #cfe0ff;
    border-radius: 8px;
    box-shadow: 0 14px 44px rgba(23, 105, 255, .08);
    color: #0f172a;
    display: grid;
    gap: 0;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
    overflow: hidden;
}

.sb-dashboard-hero-main,
.sb-dashboard-hero-side {
    padding: clamp(24px, 5vw, 48px);
}

.sb-dashboard-hero-main .lead {
    color: #475569;
    max-width: 720px;
}

.sb-dashboard-hero .sb-kicker {
    color: #1769ff;
}

.sb-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.sb-dashboard-actions .btn-light {
    background: #1769ff;
    border-color: #1769ff;
    color: #fff;
}

.sb-dashboard-actions .btn-outline-light {
    border-color: #9dbdff;
    color: #0b4fd8;
}

.sb-dashboard-actions .btn-outline-light:hover {
    background: #eef4ff;
    color: #0b4fd8;
}

.sb-dashboard-hero-side {
    align-items: stretch;
    background: rgba(255, 255, 255, .64);
    border-left: 1px solid #dbe7ff;
    display: flex;
}

.sb-live-card {
    background: #fff;
    border: 1px solid #d8e5f8;
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, .07);
    color: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 220px;
    padding: 18px;
    width: 100%;
}

.sb-progress-on-dark {
    background: #e8edf5;
}

.sb-dashboard-metrics {
    background: rgba(255, 255, 255, .72);
    border-top: 1px solid #dbe7ff;
    display: grid;
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.sb-dashboard-metrics > div {
    border-right: 1px solid #dbe7ff;
    padding: 16px 18px;
}

.sb-dashboard-metrics > div:last-child {
    border-right: 0;
}

.sb-dashboard-metrics strong {
    display: block;
    font-size: 1.55rem;
    line-height: 1;
}

.sb-metric-eyebrow {
    color: #64748b;
    display: block;
    font-size: .76rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.sb-hero-inner {
    padding: clamp(24px, 5vw, 46px);
}

.sb-kicker {
    color: rgba(255, 255, 255, .74);
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.sb-stat-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: rgba(255, 255, 255, .2);
    border-top: 1px solid rgba(255, 255, 255, .22);
}

.sb-stat-strip > div {
    background: rgba(7, 20, 40, .22);
    padding: 14px 18px;
}

.sb-hero-focus {
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 8px;
    padding: 14px;
}

.sb-stat-value {
    font-size: 1.35rem;
    font-weight: 800;
    line-height: 1.1;
}

.sb-stat-label {
    color: rgba(255, 255, 255, .72);
    font-size: .78rem;
}

.sb-action-card,
.sb-admin-card,
.sb-panel-card,
.sb-lesson-card,
.sb-question-panel {
    background: var(--sb-panel);
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
}

.sb-action-card,
.sb-admin-card {
    display: flex;
    gap: 14px;
    padding: 16px;
    text-decoration: none;
    color: inherit;
    min-height: 100%;
}

.sb-action-card:hover,
.sb-admin-card:hover {
    border-color: #b8c7dd;
    color: inherit;
    transform: translateY(-1px);
}

.sb-icon-tile {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #e8f0ff;
    color: var(--sb-blue);
    font-weight: 800;
    flex: 0 0 auto;
}

.sb-icon-tile i {
    font-size: 1.05rem;
    line-height: 1;
}

.sb-lesson-card {
    padding: 18px;
    min-height: 100%;
}

.sb-lesson-title {
    font-size: 1.05rem;
    font-weight: 750;
    line-height: 1.25;
}

.sb-progress {
    height: 8px;
    background: #e8edf5;
    border-radius: 999px;
    overflow: hidden;
}

.sb-progress > span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--sb-blue), #12a594);
    border-radius: inherit;
}

.sb-status-pill {
    border: 1px solid #d7deea;
    border-radius: 999px;
    color: #475467;
    display: inline-flex;
    font-size: .76rem;
    font-weight: 700;
    line-height: 1;
    padding: 6px 9px;
}

.sb-status-pill.done {
    border-color: #b7e3d5;
    color: var(--sb-green);
    background: #ecfdf6;
}

.sb-status-pill.active {
    border-color: #bfd3ff;
    color: var(--sb-blue-dark);
    background: #eef4ff;
}

.sb-login-wrap {
    min-height: calc(100vh - 150px);
    display: flex;
    align-items: center;
}

.sb-login-panel {
    overflow: hidden;
    border: 1px solid #dfe6ef;
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 16px 45px rgba(15, 23, 42, .1);
}

.sb-login-intro {
    background:
        linear-gradient(150deg, rgba(15, 23, 42, .94), rgba(22, 101, 216, .86)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80");
    background-position: center;
    background-size: cover;
    color: #fff;
    min-height: 100%;
    padding: clamp(26px, 5vw, 44px);
}

.sb-login-proof {
    border-top: 1px solid rgba(255, 255, 255, .18);
    color: rgba(255, 255, 255, .78);
    display: grid;
    gap: 10px;
    margin-top: 32px;
    padding-top: 18px;
}

.sb-landing-login {
    align-items: stretch;
}

.sb-landing-hero {
    background:
        linear-gradient(150deg, rgba(15, 23, 42, .96), rgba(23, 105, 255, .82)),
        url("https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1400&q=80");
    background-position: center;
    background-size: cover;
    border-radius: 8px;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 620px;
    padding: clamp(28px, 6vw, 58px);
}

.sb-landing-hero .lead {
    color: rgba(255, 255, 255, .82);
    max-width: 680px;
}

.sb-landing-proof {
    display: grid;
    gap: 12px;
}

.sb-landing-proof > div {
    align-items: center;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 8px;
    display: flex;
    gap: 12px;
    padding: 12px;
}

.sb-proof-icon {
    align-items: center;
    background: rgba(255, 255, 255, .16);
    border-radius: 8px;
    display: inline-flex;
    flex: 0 0 auto;
    height: 36px;
    justify-content: center;
    width: 36px;
}

.sb-landing-admin {
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(255, 255, 255, .34);
    border-radius: 8px;
    color: #1f2937;
    margin-top: auto;
    padding: 16px;
}

.sb-login-trust {
    border-top: 1px solid #e4e9f1;
    color: var(--sb-muted);
    display: grid;
    gap: 8px;
    padding-top: 16px;
}

.sb-login-trust i {
    color: var(--sb-green);
    margin-right: 6px;
}

.sb-admin-toolbar {
    background: #0f172a;
    border-radius: 8px;
    color: #dbeafe;
    padding: 12px;
}

.sb-admin-toolbar .btn {
    border-color: rgba(255, 255, 255, .24);
    color: #fff;
}

.sb-admin-command {
    background: #fff;
    border: 1px solid #dce5f2;
    border-radius: 8px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, .07);
    padding: clamp(18px, 3vw, 26px);
}

.sb-admin-command-head {
    align-items: flex-start;
    border-bottom: 1px solid #e4e9f1;
    display: flex;
    gap: 18px;
    justify-content: space-between;
    margin-bottom: 18px;
    padding-bottom: 18px;
}

.sb-admin-command-badge {
    align-items: center;
    background: #eef4ff;
    border-radius: 999px;
    color: #0b4fd8;
    display: inline-flex;
    flex: 0 0 auto;
    font-size: .78rem;
    font-weight: 800;
    gap: 7px;
    padding: 8px 11px;
}

.sb-admin-grid {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(5, minmax(0, 1fr));
}

.sb-command-tile {
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    color: inherit;
    display: flex;
    gap: 12px;
    min-height: 100%;
    padding: 14px;
    text-decoration: none;
    transition: transform .14s ease, border-color .14s ease, box-shadow .14s ease;
}

.sb-command-tile:hover {
    border-color: #b8c7dd;
    box-shadow: 0 10px 26px rgba(15, 23, 42, .08);
    color: inherit;
    transform: translateY(-2px);
}

.sb-question-text {
    font-size: 1rem;
    line-height: 1.55;
}

.sb-question-meta {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sb-filter-bar {
    background: #fff;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    padding: 14px;
}

.sb-option-row {
    border: 1px solid #d8dee8;
    border-radius: 8px;
    padding: 12px;
}

.sb-option-row.correct {
    border-color: #9fd6c4;
    background: #f0fdf8;
}

.sb-editor-actions {
    position: sticky;
    bottom: 0;
    z-index: 5;
    background: rgba(255, 255, 255, .92);
    border-top: 1px solid #e4e9f1;
    margin: 18px -16px -16px;
    padding: 14px 16px;
    backdrop-filter: blur(10px);
}

.sb-global-flashes {
    left: 50%;
    max-width: min(720px, calc(100vw - 24px));
    position: fixed;
    top: 68px;
    transform: translateX(-50%);
    width: 100%;
    z-index: 2000;
}

.sb-metric-box {
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    padding: 14px;
}

.sb-metric-value {
    color: var(--sb-ink);
    font-size: 1.55rem;
    font-weight: 800;
    line-height: 1;
}

.sb-stats-card {
    min-height: 100%;
}

.sb-stats-explainer {
    border-color: #dbe7ff;
}

.sb-onboarding-panel {
    border-color: #cfe0ff;
}

.sb-explainer-steps {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sb-explainer-steps > div {
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    min-height: 100%;
    padding: 12px;
}

.sb-explainer-steps-stacked {
    grid-template-columns: 1fr;
}

.sb-step-number {
    align-items: center;
    background: #e8f0ff;
    border-radius: 999px;
    color: var(--sb-blue);
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    height: 24px;
    justify-content: center;
    margin-bottom: 8px;
    width: 24px;
}

.sb-stats-advice {
    align-items: center;
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px;
}

.sb-stats-mini {
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    padding: 10px;
}

.sb-toggle-box {
    background: #f8fafc;
    border: 1px solid #e4e9f1;
    border-radius: 8px;
    padding: 12px;
}

.sb-stage-grid {
    display: grid;
    gap: 9px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sb-stage-track {
    background: #e8edf5;
    border-radius: 999px;
    height: 7px;
    overflow: hidden;
}

.sb-stage-track > span {
    background: linear-gradient(90deg, #1769ff, #12a594);
    border-radius: inherit;
    display: block;
    height: 100%;
}

.sb-admin-card {
    background: #fff;
}

.sb-read-side-nav {
    z-index: 1040;
    padding: 12px;
}

.sb-read-side-nav-prev {
    left: max(8px, env(safe-area-inset-left));
}

.sb-read-side-nav-next {
    right: max(8px, env(safe-area-inset-right));
}

.sb-read-mobile-nav {
    display: none;
}

@media (max-width: 767px) {
    .sb-read-side-nav {
        display: none;
    }

    .sb-read-mobile-nav {
        position: sticky;
        bottom: 0;
        z-index: 1030;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
        margin: 18px -12px -16px;
        padding: 12px max(12px, env(safe-area-inset-left)) calc(12px + env(safe-area-inset-bottom)) max(12px, env(safe-area-inset-right));
        background: rgba(248, 250, 252, .96);
        border-top: 1px solid #e2e8f0;
        backdrop-filter: blur(10px);
    }
}

.sb-admin-card .sb-icon-tile {
    background: #edf4ff;
}

.sb-shopware-action {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(241, 247, 255, .96)),
        #fff;
    border: 1px solid #cfe0ff !important;
}

.sb-shopware-action {
    position: relative;
}

.sb-shopware-action::after {
    background: #12805c;
    border-radius: 999px;
    content: "";
    height: 8px;
    position: absolute;
    right: 12px;
    top: 12px;
    width: 8px;
}

.sb-shopware-action .sb-icon-tile {
    background: #e7f7ef;
    color: var(--sb-green);
}

.sb-shopware-panel {
    border-color: #cfe0ff;
    background:
        linear-gradient(135deg, rgba(23, 105, 255, .06), rgba(18, 128, 92, .06)),
        #fff;
}

.sb-commerce-bridge {
    background:
        linear-gradient(135deg, #ffffff, #eff6ff 58%, #ecfdf6);
    border: 1px solid #cfe0ff;
    border-radius: 8px;
    color: #0f172a;
    display: grid;
    gap: 18px;
    grid-template-columns: minmax(260px, .85fr) minmax(0, 1.15fr);
    overflow: hidden;
    padding: clamp(18px, 3vw, 26px);
}

.sb-commerce-bridge-copy p {
    color: #475569;
}

.sb-commerce-bridge .sb-kicker {
    color: #1769ff;
}

.sb-commerce-metrics {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sb-sync-state {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: .78rem;
    font-weight: 800;
    gap: 6px;
    padding: 7px 10px;
}

.sb-sync-state.success {
    background: #ecfdf6;
    color: var(--sb-green);
}

.sb-sync-state.danger {
    background: #fff1f2;
    color: #be123c;
}

.sb-sync-state.neutral {
    background: #eef4ff;
    color: var(--sb-blue-dark);
}

.sb-shopware-metric {
    background: #fff;
    border: 1px solid #dbe7ff;
    border-radius: 8px;
    color: #111827;
    padding: 14px;
}

.sb-shopware-metric span,
.sb-shopware-metric small {
    color: #667085;
    display: block;
}

.sb-shopware-metric strong {
    display: block;
    font-size: 1.75rem;
    line-height: 1.05;
    margin: 5px 0;
}

.sb-shopware-metric .sb-sync-date {
    font-size: 1.2rem;
}

.sb-shopware-log table {
    min-width: 860px;
}

.sb-empty-log {
    align-items: center;
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    color: var(--sb-muted);
    display: flex;
    gap: 10px;
    padding: 16px;
}

.sb-lesson-card-polished {
    border-top: 3px solid #1769ff;
}

.sb-footer {
    background: #0f172a;
    border-top: 1px solid #1e293b;
}

.sb-icon-btn {
    align-items: center;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    color: #334155;
    display: inline-flex;
    height: 36px;
    justify-content: center;
    padding: 0;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease, transform .14s ease;
    width: 36px;
}

.sb-icon-btn:hover,
.sb-icon-btn:focus-visible {
    background: #eef4ff;
    border-color: #9dbdff;
    color: #0b4fd8;
    transform: translateY(-1px);
}

.sb-icon-btn:focus-visible,
.sb-command-palette a:focus-visible,
.sb-mobile-panel a:focus-visible {
    outline: 3px solid #facc15;
    outline-offset: 2px;
}

.sb-menu-toggle {
    display: none;
    flex: 0 0 auto;
    margin-right: 10px;
}

.sb-command-trigger {
    background: #f8fafc;
}

.sb-command-trigger-admin,
.sb-mobile-panel-admin .sb-icon-btn {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.sb-command-trigger-admin:hover,
.sb-command-trigger-admin:focus-visible,
.sb-mobile-panel-admin .sb-icon-btn:hover,
.sb-mobile-panel-admin .sb-icon-btn:focus-visible {
    background: #1e3a8a;
    border-color: #3b82f6;
    color: #bfdbfe;
}

.sb-nav-link-user,
.sb-nav-link-admin,
.sb-avatar-btn,
.sb-admin-btn {
    position: relative;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease, transform .14s ease;
}

.sb-nav-link-user:hover,
.sb-nav-link-admin:hover,
.sb-avatar-btn:hover,
.sb-admin-btn:hover {
    transform: translateY(-1px);
}

.sb-nav-link-user.active::after,
.sb-nav-link-admin.active::after {
    background: currentColor;
    border-radius: 999px;
    bottom: -8px;
    content: "";
    height: 3px;
    left: 14px;
    position: absolute;
    right: 14px;
}

.sb-dropdown-user.show,
.sb-dropdown-admin.show,
.dropdown-menu.show.sb-dropdown-user,
.dropdown-menu.show.sb-dropdown-admin {
    animation: sb-menu-pop .16s ease-out;
    transform-origin: top right;
}

@keyframes sb-menu-pop {
    from {
        opacity: 0;
        transform: translateY(-6px) scale(.98);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sb-mobile-backdrop,
.sb-command-backdrop {
    background: rgba(15, 23, 42, .36);
    inset: 0;
    opacity: 0;
    pointer-events: none;
    position: fixed;
    transition: opacity .18s ease;
    z-index: 2050;
}

.sb-mobile-panel {
    background: #fff;
    border-left: 1px solid #e4e9f1;
    box-shadow: -18px 0 45px rgba(15, 23, 42, .16);
    display: flex;
    flex-direction: column;
    gap: 12px;
    height: 100vh;
    max-width: min(380px, calc(100vw - 34px));
    opacity: 0;
    overflow-y: auto;
    padding: 16px;
    pointer-events: none;
    position: fixed;
    right: 0;
    top: 0;
    transform: translateX(24px);
    transition: opacity .18s ease, transform .18s ease;
    width: 100%;
    z-index: 2060;
}

.sb-mobile-panel-admin {
    background: #0f172a;
    border-left-color: #1e293b;
    color: #e2e8f0;
}

.sb-menu-open {
    overflow: hidden;
}

.sb-menu-open .sb-mobile-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.sb-menu-open .sb-mobile-panel {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.sb-mobile-head {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 42px;
}

.sb-mobile-section {
    color: #667085;
    font-size: .72rem;
    font-weight: 800;
    padding: 8px 4px 0;
    text-transform: uppercase;
}

.sb-mobile-panel-admin .sb-mobile-section {
    color: #94a3b8;
}

.sb-mobile-links,
.sb-mobile-actions {
    display: grid;
    gap: 6px;
}

.sb-mobile-links a,
.sb-mobile-actions a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    color: #334155;
    display: flex;
    gap: 10px;
    padding: 10px 12px;
    text-decoration: none;
    transition: background-color .14s ease, border-color .14s ease, color .14s ease, transform .14s ease;
}

.sb-mobile-links a:hover,
.sb-mobile-actions a:hover,
.sb-mobile-links a.active {
    background: #eef4ff;
    border-color: #cfe0ff;
    color: #0b4fd8;
    transform: translateX(-2px);
}

.sb-mobile-panel-admin .sb-mobile-links a,
.sb-mobile-panel-admin .sb-mobile-actions a {
    color: #cbd5e1;
}

.sb-mobile-panel-admin .sb-mobile-links a:hover,
.sb-mobile-panel-admin .sb-mobile-actions a:hover,
.sb-mobile-panel-admin .sb-mobile-links a.active {
    background: #1e293b;
    border-color: #334155;
    color: #bfdbfe;
}

.sb-command-open {
    overflow: hidden;
}

.sb-command-open .sb-command-backdrop {
    opacity: 1;
    pointer-events: auto;
}

.sb-command-palette {
    background: #fff;
    border: 1px solid #dbe7ff;
    border-radius: 8px;
    box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
    left: 50%;
    max-height: min(640px, calc(100vh - 120px));
    max-width: min(640px, calc(100vw - 28px));
    opacity: 0;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    top: 72px;
    transform: translate(-50%, -10px) scale(.98);
    transition: opacity .16s ease, transform .16s ease;
    width: 100%;
    z-index: 2070;
}

.sb-command-open .sb-command-palette {
    opacity: 1;
    pointer-events: auto;
    transform: translate(-50%, 0) scale(1);
}

.sb-command-search {
    align-items: center;
    border-bottom: 1px solid #e4e9f1;
    display: grid;
    gap: 10px;
    grid-template-columns: 24px 1fr 36px;
    padding: 12px;
}

.sb-command-search i {
    color: #64748b;
    justify-self: center;
}

.sb-command-search input {
    border: 0;
    color: #0f172a;
    font-size: 1rem;
    min-width: 0;
    outline: 0;
    padding: 8px 0;
}

.sb-command-list {
    display: grid;
    gap: 4px;
    max-height: min(520px, calc(100vh - 210px));
    overflow-y: auto;
    padding: 8px;
}

.sb-command-list a {
    align-items: center;
    border: 1px solid transparent;
    border-radius: 8px;
    color: inherit;
    display: grid;
    gap: 12px;
    grid-template-columns: 38px 1fr;
    padding: 10px;
    text-decoration: none;
    transition: background-color .14s ease, border-color .14s ease, transform .14s ease;
}

.sb-command-list a:hover,
.sb-command-list a.is-active {
    background: #f0f7ff;
    border-color: #cfe0ff;
    transform: translateX(2px);
}

.sb-command-icon {
    align-items: center;
    background: #e8f0ff;
    border-radius: 8px;
    color: #1769ff;
    display: inline-flex;
    height: 38px;
    justify-content: center;
    width: 38px;
}

.sb-command-list strong,
.sb-command-list small {
    display: block;
}

.sb-command-list small {
    color: #667085;
    margin-top: 2px;
}

.sb-command-empty {
    color: #667085;
    padding: 18px;
    text-align: center;
}

.sb-select-card {
    align-items: flex-start;
    background: #fff;
    border: 1px solid #d8dee8;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    gap: 10px;
    height: 100%;
    padding: 12px;
    transition: border-color .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.sb-select-card:hover {
    border-color: #b8c7dd;
    box-shadow: 0 6px 18px rgba(15, 23, 42, .06);
}

.sb-select-card:has(input:checked) {
    background: #f0f7ff;
    border-color: #9dbdff;
}

@media (max-width: 767px) {
    .sb-menu-toggle {
        display: inline-flex;
    }

    .sb-command-trigger {
        display: inline-flex;
    }

    .sb-nav-link-user.active::after,
    .sb-nav-link-admin.active::after {
        display: none;
    }

    .sb-command-palette {
        bottom: 12px;
        max-height: calc(100vh - 84px);
        top: auto;
        transform: translate(-50%, 18px) scale(.98);
    }

    .sb-command-open .sb-command-palette {
        transform: translate(-50%, 0) scale(1);
    }

    .sb-stat-strip {
        grid-template-columns: 1fr;
    }

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

    .sb-explainer-steps {
        grid-template-columns: 1fr;
    }

    .sb-stats-advice {
        align-items: stretch;
        flex-direction: column;
    }

    .sb-hero-inner,
    .sb-login-intro,
    .sb-landing-hero {
        padding: 24px;
    }

    .sb-landing-hero {
        min-height: auto;
    }

    .sb-admin-toolbar {
        align-items: stretch !important;
    }

    .sb-global-flashes {
        top: 62px;
    }
}

@media (max-width: 1199px) {
    .sb-admin-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sb-dashboard-hero,
    .sb-commerce-bridge {
        grid-template-columns: 1fr;
    }

    .sb-dashboard-hero-side {
        border-left: 0;
        border-top: 1px solid #dbe7ff;
    }
}

@media (max-width: 767px) {
    .sb-admin-command-head {
        flex-direction: column;
    }

    .sb-admin-grid,
    .sb-commerce-metrics,
    .sb-dashboard-metrics {
        grid-template-columns: 1fr;
    }

    .sb-dashboard-metrics > div {
        border-bottom: 1px solid #dbe7ff;
        border-right: 0;
    }

    .sb-dashboard-metrics > div:last-child {
        border-bottom: 0;
    }
}
