/* ========================================================================== 
   Sistema de Ventas · Shell de aplicación v33
   Sidebar, topbar, navegación por módulos y adaptación responsive.
   Este archivo está separado de app.css para no mezclar layout global con
   estilos funcionales de ventas, compras, caja, inventario, SUNAT, etc.
   ========================================================================== */

:root {
    --shell-bg: #f3f6fa;
    --shell-surface: #ffffff;
    --shell-border: #e2e8f0;
    --shell-text: #172033;
    --shell-muted: #667085;
    --shell-primary: #245fc5;
    --shell-primary-strong: #184ca7;
    --sidebar-width: 276px;
    --sidebar-bg-top: #0f1b31;
    --sidebar-bg-bottom: #0a1427;
    --sidebar-text: #cbd7e8;
    --sidebar-muted: #7587a3;
    --sidebar-active: #5d91ff;
    --topbar-height: 72px;
}

html {
    min-height: 100%;
    background: var(--shell-bg);
}

body.app-layout {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    color: var(--shell-text);
    background: var(--shell-bg);
    font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.app-shell {
    min-height: 100vh;
}

/* ---------- Sidebar ---------- */
.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    z-index: 70;
    width: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    color: var(--sidebar-text);
    background:
        radial-gradient(circle at 12% 8%, rgba(69, 119, 219, .18), transparent 28%),
        linear-gradient(180deg, var(--sidebar-bg-top) 0%, #101c33 58%, var(--sidebar-bg-bottom) 100%);
    border-right: 1px solid rgba(255, 255, 255, .07);
    box-shadow: 12px 0 36px rgba(15, 23, 42, .08);
}

.sidebar-brand {
    min-height: 82px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.sidebar-brand:focus-visible,
.sidebar a:focus-visible,
.sidebar summary:focus-visible,
.app-topbar button:focus-visible,
.user-menu summary:focus-visible,
.user-menu a:focus-visible {
    outline: 3px solid rgba(115, 162, 255, .45);
    outline-offset: 2px;
}

.brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 12px;
    color: #fff;
    background: linear-gradient(135deg, #3977ec, #2254b5);
    box-shadow: 0 8px 22px rgba(37, 99, 235, .28);
    font-size: .8rem;
    font-weight: 900;
    letter-spacing: .04em;
}

.brand-copy {
    min-width: 0;
    display: grid;
    gap: 2px;
}

.brand-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: .98rem;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.brand-copy span {
    overflow: hidden;
    color: #91a3be;
    font-size: .72rem;
    line-height: 1.2;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar-nav {
    flex: 1;
    padding: 13px 11px 18px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    scrollbar-width: thin;
    scrollbar-color: #354762 transparent;
}

.sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.sidebar-nav::-webkit-scrollbar-thumb {
    border-radius: 999px;
    background: #354762;
}

.sidebar-category {
    margin-top: 13px;
    padding: 5px 12px 7px;
    color: #71839f;
    font-size: .64rem;
    font-weight: 800;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.sidebar-category:first-child {
    margin-top: 0;
}

.nav-icon,
.sidebar-chevron,
.topbar-icon,
.user-menu-icon {
    display: block;
    flex: 0 0 auto;
}

.nav-icon {
    width: 20px;
    height: 20px;
}

.sidebar-direct-link,
.sidebar-group > summary {
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 12px;
    border-radius: 10px;
    color: #c5d1e3;
    font-size: .875rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    transition: color .16s ease, background-color .16s ease, box-shadow .16s ease;
}

.sidebar-direct-link:hover,
.sidebar-group > summary:hover {
    color: #fff;
    background: rgba(255, 255, 255, .06);
}

.sidebar-direct-link.is-active {
    color: #fff;
    background: linear-gradient(90deg, rgba(64, 117, 225, .34), rgba(64, 117, 225, .11));
    box-shadow: inset 3px 0 0 var(--sidebar-active);
}

.sidebar-group {
    margin: 2px 0;
}

.sidebar-group > summary {
    justify-content: space-between;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

.sidebar-group > summary::-webkit-details-marker {
    display: none;
}

.sidebar-summary-main {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 11px;
}

.sidebar-summary-main > span:last-child {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.sidebar-chevron {
    width: 16px;
    height: 16px;
    color: #7f91ad;
    transition: transform .18s ease;
}

.sidebar-group[open] .sidebar-chevron {
    transform: rotate(90deg);
}

.sidebar-group.is-current > summary {
    color: #fff;
    background: rgba(68, 113, 194, .13);
}

.sidebar-submenu {
    position: relative;
    margin: 2px 0 7px 20px;
    padding: 3px 0 3px 19px;
    border-left: 1px solid rgba(143, 162, 191, .22);
}

.sidebar-submenu-link {
    min-height: 36px;
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 7px 10px;
    border-radius: 8px;
    color: #94a7c1;
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.25;
    text-decoration: none;
    transition: color .14s ease, background-color .14s ease;
}

.sidebar-submenu-link:hover {
    color: #eef4ff;
    background: rgba(255, 255, 255, .055);
}

.sidebar-submenu-link.is-active {
    color: #fff;
    background: rgba(65, 116, 221, .20);
}

.submenu-dot {
    width: 5px;
    height: 5px;
    flex: 0 0 auto;
    border-radius: 50%;
    background: #566a88;
}

.sidebar-submenu-link.is-active .submenu-dot {
    background: #76a5ff;
    box-shadow: 0 0 0 4px rgba(118, 165, 255, .11);
}

.sidebar-footer {
    min-height: 66px;
    margin: 0 11px 11px;
    padding: 11px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .035);
}

.sidebar-footer-mark {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 9px;
    color: #8eb3ff;
    background: rgba(91, 143, 255, .16);
    font-size: .7rem;
    font-weight: 900;
}

.sidebar-footer-copy {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.sidebar-footer-copy strong {
    color: #d9e4f3;
    font-size: .76rem;
}

.sidebar-footer-copy small {
    color: #71829e;
    font-size: .66rem;
}

/* ---------- Main area / topbar ---------- */
.app-main {
    min-width: 0;
    min-height: 100vh;
    margin-left: var(--sidebar-width);
}

.app-topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--topbar-height);
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: rgba(255, 255, 255, .95);
    border-bottom: 1px solid var(--shell-border);
    box-shadow: 0 1px 0 rgba(15, 23, 42, .02);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.topbar-left {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
}

.sidebar-toggle {
    width: 40px;
    height: 40px;
    display: none;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    color: #334155;
    background: #fff;
    cursor: pointer;
}

.sidebar-toggle:hover {
    background: #f5f8fc;
}

.topbar-icon {
    width: 20px;
    height: 20px;
}

.topbar-context {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.topbar-kicker {
    color: #8391a6;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.topbar-context strong {
    overflow: hidden;
    color: #152238;
    font-size: 1rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ---------- User menu ---------- */
.user-menu {
    position: relative;
}

.user-menu > summary {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 7px;
    border-radius: 11px;
    list-style: none;
    cursor: pointer;
    transition: background-color .15s ease;
}

.user-menu > summary::-webkit-details-marker {
    display: none;
}

.user-menu > summary:hover,
.user-menu[open] > summary {
    background: #f3f6fb;
}

.user-avatar {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid #d7e4ff;
    border-radius: 10px;
    color: #2455b0;
    background: #e7efff;
    font-size: .84rem;
    font-weight: 900;
}

.user-summary-copy {
    min-width: 0;
    display: grid;
    gap: 0;
}

.user-summary-copy strong {
    max-width: 190px;
    overflow: hidden;
    color: #1e293b;
    font-size: .82rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user-summary-copy small {
    color: #7c8a9e;
    font-size: .69rem;
}

.user-menu-caret {
    margin-left: 1px;
    color: #8492a6;
    font-size: .9rem;
}

.user-menu-panel {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    z-index: 90;
    width: 252px;
    padding: 8px;
    border: 1px solid #e1e7f0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 18px 50px rgba(15, 23, 42, .16);
}

.user-menu-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 5px;
    padding: 10px 10px 12px;
    border-bottom: 1px solid #edf1f6;
}

.user-menu-heading > span:last-child {
    min-width: 0;
    display: grid;
    gap: 1px;
}

.user-menu-heading strong {
    overflow: hidden;
    font-size: .82rem;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.user-menu-heading small {
    color: #7b899b;
    font-size: .71rem;
}

.user-avatar-large {
    width: 40px;
    height: 40px;
}

.user-menu-panel > a,
.user-menu-panel button {
    width: 100%;
    min-height: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border: 0;
    border-radius: 9px;
    color: #334155;
    background: transparent;
    font: inherit;
    font-size: .81rem;
    font-weight: 700;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.user-menu-panel > a:hover,
.user-menu-panel button:hover {
    color: var(--shell-primary-strong);
    background: #f4f7fb;
}

.user-menu-panel form {
    margin: 0;
}

.user-menu-icon {
    width: 17px;
    height: 17px;
}

.logout-symbol {
    width: 17px;
    font-size: 1.05rem;
    text-align: center;
}

/* ---------- Content ---------- */
.app-content {
    width: min(100%, 1580px);
    min-width: 0;
    margin: 0 auto;
    padding: 32px 34px 56px;
}

.app-content > .alert:first-child {
    margin-top: 0;
}

.app-content .page-head {
    margin-bottom: 20px;
}

.app-content .page-head h1 {
    margin-top: 0;
    color: #182338;
    font-size: clamp(1.65rem, 2vw, 2.1rem);
    letter-spacing: -.025em;
}

.app-content .page-head p {
    color: #667085;
    font-size: .95rem;
}

.app-content .hero {
    border: 1px solid #e4eaf2;
    box-shadow: 0 10px 28px rgba(15, 23, 42, .05);
}

.app-content .hero.compact {
    padding: 28px 30px;
}

.app-content .hero h1 {
    font-size: clamp(1.75rem, 3vw, 2.45rem);
}

.app-content .card,
.app-content .metric {
    border-color: #e2e8f0;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .035);
}

.app-content .card {
    border-radius: 14px;
}

.app-content .metric {
    border-radius: 13px;
}

.app-content .button {
    border-radius: 9px;
    box-shadow: 0 2px 5px rgba(23, 78, 166, .11);
    transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease;
}

.app-content .button:hover {
    transform: translateY(-1px);
    box-shadow: 0 5px 12px rgba(23, 78, 166, .16);
}

.app-content .button.secondary {
    background: #475569;
}

.app-content .search {
    margin: 18px 0 20px;
    padding: 12px;
    border: 1px solid #e1e7ef;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 3px 12px rgba(15, 23, 42, .03);
}

.app-content .search input,
.app-content .search select {
    border-color: #d5dde8;
    background: #fff;
}

.app-content .table-wrap {
    overflow: auto;
    border: 1px solid #e2e8f0;
    border-radius: 13px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, .03);
}

.app-content .table-wrap table {
    margin: 0;
}

.app-content .table-wrap th {
    border-bottom-color: #e2e8f0;
    color: #475569;
    background: #f8fafc;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
    white-space: nowrap;
}

.app-content .table-wrap td {
    color: #334155;
}

.app-content .table-wrap tbody tr:hover {
    background: #fbfdff;
}

.app-content .alert {
    box-shadow: 0 3px 10px rgba(15, 23, 42, .025);
}

.sidebar-overlay {
    display: none;
}

/* ---------- Guest / login ---------- */
.guest-layout {
    background: var(--shell-bg);
}

.guest-topbar {
    height: 68px;
    display: flex;
    align-items: center;
    padding: 0 6vw;
    color: #fff;
    background: #111d35;
}

.guest-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    color: #fff;
    text-decoration: none;
}

.guest-brand .brand-mark {
    width: 38px;
    height: 38px;
    border-radius: 10px;
}

.guest-brand > span:last-child {
    display: grid;
    gap: 1px;
}

.guest-brand strong {
    font-size: .94rem;
}

.guest-brand small {
    color: #94a7c1;
    font-size: .68rem;
}

.guest-content {
    padding-top: 42px;
}

.guest-layout .auth-shell {
    min-height: calc(100vh - 150px);
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform .22s ease;
        box-shadow: 18px 0 50px rgba(15, 23, 42, .24);
    }

    body.sidebar-open {
        overflow: hidden;
    }

    body.sidebar-open .sidebar {
        transform: translateX(0);
    }

    .app-main {
        margin-left: 0;
    }

    .sidebar-toggle {
        display: inline-flex;
    }

    .sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 60;
        border: 0;
        background: rgba(15, 23, 42, .42);
        backdrop-filter: blur(2px);
        cursor: pointer;
    }

    body.sidebar-open .sidebar-overlay {
        display: block;
    }

    .app-topbar {
        padding: 0 22px;
    }

    .app-content {
        padding: 30px 24px 48px;
    }
}

@media (max-width: 760px) {
    :root {
        --topbar-height: 64px;
    }

    .app-topbar {
        padding: 0 14px;
    }

    .topbar-kicker {
        display: none;
    }

    .topbar-context strong {
        font-size: .91rem;
    }

    .user-summary-copy,
    .user-menu-caret {
        display: none;
    }

    .user-menu > summary {
        padding: 4px;
    }

    .user-menu-panel {
        position: fixed;
        top: 72px;
        right: 12px;
        width: min(280px, calc(100vw - 24px));
    }

    .app-content {
        padding: 24px 14px 42px;
    }

    .app-content .page-head {
        align-items: flex-start;
    }

    .app-content .page-head .actions {
        width: 100%;
    }

    .app-content .page-head .actions .button {
        flex: 1;
    }

    .app-content .search {
        flex-direction: column;
        align-items: stretch;
    }

    .app-content .search .button {
        width: 100%;
    }

    .app-content .hero.compact {
        padding: 23px;
    }

    .sidebar {
        width: min(88vw, 292px);
    }
}

@media (max-width: 480px) {
    .app-content {
        padding-right: 10px;
        padding-left: 10px;
    }

    .app-content .page-head h1 {
        font-size: 1.5rem;
    }

    .app-content .actions {
        gap: .55rem;
    }

    .app-content .button {
        padding: .68rem .8rem;
    }

    .guest-topbar {
        padding: 0 18px;
    }

    .guest-content {
        padding: 28px 14px;
    }

    .guest-layout .auth-card {
        padding: 24px 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .sidebar,
    .sidebar-chevron,
    .app-content .button,
    .sidebar a,
    .sidebar summary {
        transition: none !important;
    }
}

/* v98 · Accesos directos del header editables por usuario. */
.topbar-quick-edit {
    width: 36px;
    height: 36px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 1px solid var(--ui-border, #dfe4ed);
    border-radius: 8px;
    color: #52586a;
    background: #fff;
    cursor: pointer;
    transition: color .15s ease, border-color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.topbar-quick-edit:hover {
    color: var(--ui-primary, #35158a);
    border-color: #cfc5e4;
    background: #f7f4fc;
    box-shadow: 0 3px 10px rgba(53, 21, 138, .08);
}
.topbar-quick-edit:focus-visible {
    outline: 3px solid rgba(53, 21, 138, .14);
    outline-offset: 2px;
}

.quick-actions-dialog {
    width: min(92vw, 620px);
    max-width: 620px;
    padding: 0;
    border: 0;
    border-radius: 18px;
    background: transparent;
    box-shadow: 0 28px 80px rgba(24, 24, 38, .22);
}
.quick-actions-dialog::backdrop {
    background: rgba(26, 30, 42, .48);
    backdrop-filter: blur(2px);
}
.quick-actions-panel {
    overflow: hidden;
    border: 1px solid #e1e5ee;
    border-radius: 18px;
    background: #fff;
}
.quick-actions-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 22px;
    padding: 24px 26px 20px;
    border-bottom: 1px solid #e8ebf1;
}
.quick-actions-header > div {
    min-width: 0;
}
.quick-actions-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: var(--ui-primary, #35158a);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.quick-actions-header h2 {
    margin: 0;
    color: #17182b;
    font-size: 1.25rem;
    line-height: 1.3;
}
.quick-actions-header p {
    margin: 7px 0 0;
    color: #73798a;
    font-size: .86rem;
    line-height: 1.5;
}
.quick-actions-close {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    padding: 0;
    border: 0;
    border-radius: 9px;
    color: #7e8494;
    background: #f4f5f8;
    font: inherit;
    font-size: 1.25rem;
    cursor: pointer;
}
.quick-actions-close:hover { color: #2e3140; background: #eceef3; }
.quick-actions-fields {
    display: grid;
    gap: 14px;
    padding: 22px 26px 24px;
}
.quick-actions-fields label {
    display: grid;
    grid-template-columns: 105px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    color: #343849;
    font-size: .84rem;
    font-weight: 700;
}
.quick-actions-fields select {
    width: 100%;
    min-height: 42px;
    padding: 8px 36px 8px 12px;
    border: 1px solid #d7dce7;
    border-radius: 9px;
    color: #1f2333;
    background-color: #fff;
    font: inherit;
    font-weight: 500;
}
.quick-actions-fields select:focus {
    outline: 3px solid rgba(53, 21, 138, .10);
    border-color: #8d79bf;
}
.quick-actions-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 26px;
    border-top: 1px solid #e8ebf1;
    background: #fafbfc;
}
.quick-actions-footer > span {
    color: #858b99;
    font-size: .76rem;
}
.quick-actions-footer > div {
    display: flex;
    gap: 9px;
    flex: 0 0 auto;
}

@media (max-width: 920px) {
    .topbar-quick-edit { display: none; }
}
@media (max-width: 640px) {
    .quick-actions-fields label { grid-template-columns: 1fr; gap: 6px; }
    .quick-actions-footer { align-items: stretch; flex-direction: column; }
    .quick-actions-footer > div { justify-content: flex-end; }
}

/* v155 · acciones compactas dentro del módulo GRE */
.sidebar-submenu-row{display:flex;align-items:center;gap:6px;min-width:0}.sidebar-submenu-row .sidebar-submenu-link{flex:1;min-width:0}.sidebar-submenu-action{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:25px;padding:3px 9px;border-radius:7px;background:var(--ui-primary,#2f5f8f);color:#fff!important;font-size:.72rem;font-weight:700;text-decoration:none;box-shadow:0 1px 2px rgba(15,23,42,.08)}.sidebar-submenu-action:hover{filter:brightness(.94);transform:translateY(-1px)}


/* v178 · Branding superior del sidebar con logotipo */
.sidebar-brand.sidebar-brand--logo {
    justify-content: center;
    min-height: 92px;
    padding: 12px 18px;
}

.brand-logo-shell {
    width: 100%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
}

.brand-logo-shell img {
    display: block;
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
}


/* v179 · Logo del menú lateral con mejor aprovechamiento del espacio */
.sidebar-brand.sidebar-brand--logo{min-height:112px;padding:10px 16px}.sidebar-brand.sidebar-brand--logo .brand-logo-shell{width:100%;min-height:88px;padding:6px 10px;border-radius:14px;background:#fff;border:1px solid rgba(211,220,232,.85);box-shadow:0 5px 16px rgba(15,23,42,.045)}.sidebar-brand.sidebar-brand--logo .brand-logo-shell img{width:auto;max-width:220px;max-height:74px;object-fit:contain}


.sidebar-footer--logo-only {
    justify-content: center;
    align-items: center;
    min-height: 76px;
    padding: 18px 16px 20px;
}

.sidebar-footer-logo {
    display: block;
    width: min(170px, 100%);
    height: auto;
    object-fit: contain;
}

.brand-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 100%;
    color: #215ad6;
    font-family: "Montserrat", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.brand-wordmark__icon {
    position: relative;
    flex: 0 0 auto;
    width: 58px;
    height: 42px;
    border: 6px solid currentColor;
    border-right-width: 10px;
    border-radius: 6px 22px 22px 6px;
    box-sizing: border-box;
}

.brand-wordmark__icon::before,
.brand-wordmark__icon::after,
.brand-wordmark__icon-bar {
    content: "";
    position: absolute;
    left: 8px;
    height: 6px;
    border-radius: 999px;
    background: currentColor;
}

.brand-wordmark__icon::before {
    top: 6px;
    width: 28px;
}

.brand-wordmark__icon::after {
    bottom: 6px;
    width: 28px;
}

.brand-wordmark__icon-bar {
    top: 50%;
    width: 30px;
    transform: translateY(-50%);
}

.brand-wordmark__text {
    display: inline-block;
    color: currentColor;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 1;
    white-space: nowrap;
}

.brand-wordmark--sidebar {
    color: #215ad6;
}

.brand-wordmark--sidebar .brand-wordmark__icon {
    width: 54px;
    height: 38px;
    border-width: 5px;
    border-right-width: 9px;
}

.brand-wordmark--sidebar .brand-wordmark__icon::before,
.brand-wordmark--sidebar .brand-wordmark__icon::after,
.brand-wordmark--sidebar .brand-wordmark__icon-bar {
    left: 8px;
    height: 5px;
}

.brand-wordmark--sidebar .brand-wordmark__text {
    font-size: 2rem;
}
