.inet-empty {
    min-height: 100dvh;
    width: 100%;
}

.app-shell {
    --app-accent: #1f1f1f;
    --app-accent-contrast: #fffdf8;
    --shell-bg: #ffffff;
    --shell-surface: rgba(255, 255, 255, 0.96);
    --shell-surface-strong: #ffffff;
    --shell-border: rgba(43, 34, 19, 0.08);
    --shell-text: #221d17;
    --shell-text-muted: #6d6558;
    min-height: 100dvh;
    height: 100dvh;
    display: grid;
    grid-template-columns: 252px 1fr;
    background: #ffffff;
    color: var(--shell-text);
    position: relative;
    overflow: hidden;
    transition: grid-template-columns 180ms ease;
}

.shell-overlay {
    position: fixed;
    inset: 0;
    background: rgba(17, 17, 17, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 180ms ease;
    z-index: 45;
}

.shell-overlay--visible {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

.shell-overlay--sidebar {
    z-index: 75;
}

.shell-overlay--notifications {
    z-index: 85;
}

.shell-sidebar {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    height: 100dvh;
    padding: 22px 14px;
    background: var(--brand-primary-strong);
    color: #f5efe5;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.05);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
    overflow-x: hidden;
    transition: padding 180ms ease, gap 180ms ease;
}

.shell-sidebar__collapse {
    display: none;
    border: 0;
    cursor: pointer;
}

.shell-sidebar::-webkit-scrollbar {
    width: 8px;
}

.shell-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.shell-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    border: 2px solid transparent;
    background-clip: padding-box;
}

.shell-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.28);
    background-clip: padding-box;
}

.shell-brand {
    display: grid;
    grid-template-columns: 58px 1fr;
    gap: 14px;
    align-items: center;
    padding: 14px 46px 14px 14px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    min-width: 0;
    transition: grid-template-columns 180ms ease, padding 180ms ease, border-radius 180ms ease;
}

.shell-brand__copy {
    min-width: 0;
}

.shell-brand--loading {
    background: rgba(255, 255, 255, 0.08);
}

.shell-brand__badge {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: #1f1f1f;
    color: #fffdf8;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.22);
}

.shell-topbar__avatar {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: #1f1f1f;
    color: #fffdf8;
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 0.06em;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.18);
    overflow: hidden;
}

.shell-topbar__avatar--loading {
    background: rgba(34, 29, 23, 0.08);
    color: var(--shell-text);
    box-shadow: none;
}

.shell-topbar__avatar--logo {
    padding: 4px;
    background: #ffffff;
    border: 1px solid rgba(34, 29, 23, 0.08);
}

.shell-topbar__avatar--logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: auto;
    border-radius: 10px;
}

.shell-brand__badge i,
.shell-nav__icon i,
.shell-nav__sublink-icon i {
    font-size: 18px;
}

.shell-brand div:last-child div {
    color: rgba(245, 239, 229, 0.72);
    font-size: 13px;
}

.shell-sidebar__meta {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 0 6px;
    color: rgba(245, 239, 229, 0.66);
    font-size: 12px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.shell-alert {
    padding: 14px 16px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(245, 239, 229, 0.9);
    font-size: 14px;
}

.shell-alert--error {
    background: rgba(216, 68, 68, 0.2);
}

.shell-alert--loading {
    display: flex;
    align-items: center;
    gap: 10px;
}

.shell-alert--loading::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #f5efe5;
    box-shadow: 0 0 0 0 rgba(245, 239, 229, 0.45);
    animation: shell-pulse 1.4s ease infinite;
}

.shell-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.shell-nav__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shell-nav__children {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.shell-nav__children--nested {
    margin-left: 8px;
    padding-left: 10px;
    border-left: 1px dashed rgba(245, 239, 229, 0.15);
}

.shell-nav__link,
.shell-nav__sublink {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 0;
    padding: 9px 11px;
    border-radius: 16px;
    color: #f5efe5;
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.shell-nav__branch {
    display: flex;
    align-items: stretch;
    gap: 6px;
}

.shell-nav__branch-link {
    flex: 1 1 auto;
    min-width: 0;
}

.shell-nav__branch-toggle {
    flex: 0 0 36px;
    width: 36px;
    border: 0;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.045);
    color: #f5efe5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 160ms ease, transform 160ms ease;
}

.shell-nav__branch-toggle:hover {
    background: rgba(255, 255, 255, 0.09);
    transform: translateX(1px);
}

.shell-nav__branch-toggle .shell-nav__chevron {
    margin-left: 0;
    transform: translateX(-1px);
}

.shell-nav__branch-toggle .shell-nav__chevron.shell-nav__chevron--open {
    transform: translateX(-1px) rotate(180deg);
}

.shell-nav__link:hover,
.shell-nav__sublink:hover {
    transform: translateX(2px);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.shell-nav__link.active,
.shell-nav__sublink.active {
    background: rgba(255, 255, 255, 0.09);
    color: #fffdf8;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.shell-nav__link.active .shell-nav__icon,
.shell-nav__sublink.active .shell-nav__sublink-icon {
    color: #fffdf8;
}

.shell-nav__link--group {
    background: rgba(255, 255, 255, 0.045);
}

.shell-nav__toggle {
    width: 100%;
    text-align: left;
}

.shell-nav__link strong,
.shell-nav__sublink strong {
    display: block;
}

.shell-nav__link small {
    display: block;
    color: inherit;
    opacity: 0.66;
}

.shell-nav__icon {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.11);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.shell-nav__sublink {
    margin-left: 12px;
    padding-left: 14px;
    color: rgba(245, 239, 229, 0.82);
    font-size: 14px;
}

.shell-nav__sublink-icon {
    display: inline-flex;
    width: 16px;
    justify-content: center;
}

.shell-nav__chevron {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    opacity: 0.7;
    transition: transform 160ms ease, opacity 160ms ease;
}

.shell-nav__chevron--open {
    transform: rotate(180deg);
    opacity: 1;
}

.shell-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
}

.shell-topbar {
    position: sticky;
    top: 0;
    z-index: 12;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    transition: transform 220ms ease, opacity 220ms ease, padding 220ms ease;
}

.shell-topbar__panel {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: center;
    padding: 14px 24px;
    border-radius: 0;
    background: var(--shell-surface);
    border: none;
    border-bottom: 1px solid var(--shell-border);
    box-shadow: 0 18px 48px rgba(56, 45, 27, 0.1);
    backdrop-filter: blur(18px);
}

.shell-topbar__account {
    display: flex;
    gap: 14px;
    align-items: center;
    min-width: 0;
    flex: 1 1 auto;
    max-width: min(720px, 100%);
}

.shell-topbar__identity {
    min-width: 280px;
    flex: 1 1 auto;
    overflow: hidden;
}

.shell-topbar__company-name {
    display: block;
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    color: var(--shell-text);
    font-size: 21px;
    line-height: 1.08;
    font-weight: 800;
}

.shell-topbar__user-name {
    margin-top: 4px;
    color: var(--shell-text-muted);
    font-size: 15px;
    line-height: 1.2;
}

.shell-mobile-toggle {
    display: none;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: none;
    border-radius: 14px;
    background: rgba(34, 29, 23, 0.08);
    cursor: pointer;
}

.shell-mobile-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    margin: 4px auto;
    border-radius: 999px;
    background: currentColor;
}

.app-chip,
.shell-command {
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: transform 160ms ease, opacity 160ms ease;
}

.app-chip:hover,
.shell-command:hover {
    transform: translateY(-1px);
}

.app-chip {
    padding: 12px 18px;
    background: rgba(34, 29, 23, 0.08);
    color: var(--shell-text);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.app-chip--active {
    box-shadow: 0 16px 28px rgba(45, 36, 21, 0.16);
}

.shell-topbar__actions {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
    margin-left: 0;
    white-space: nowrap;
    position: relative;
    justify-self: end;
}

.shell-notifications {
    position: relative;
}

.shell-notifications .shell-command--icon {
    position: relative;
    z-index: 46;
}

.shell-notifications--open .shell-command--icon {
    background: rgba(242, 122, 21, 0.14);
    color: var(--app-accent-strong);
}

.shell-notifications__badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #d62d2d;
    color: #fffdf8;
    font-size: 0.72rem;
    font-weight: 800;
    line-height: 1;
    border: 2px solid #fff;
}

.shell-command {
    padding: 12px 16px;
    background: rgba(34, 29, 23, 0.08);
    color: var(--shell-text);
    font-weight: 700;
}

.shell-command--home {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding-inline: 16px;
    border-radius: 16px;
}

.shell-command__home-label {
    font-weight: 800;
}

.shell-command--icon {
    width: 48px;
    height: 48px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    flex: 0 0 48px;
}

.shell-command--menu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding-inline: 18px;
}

.shell-command__avatar {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #1f1f1f;
    color: #fffdf8;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    flex-shrink: 0;
}

.shell-command__label {
    max-width: 280px;
    overflow: visible;
    text-overflow: clip;
    white-space: nowrap;
}

.shell-notifications__dropdown {
    position: fixed;
    top: 86px;
    right: 22px;
    width: min(380px, calc(100vw - 28px));
    max-height: min(72dvh, 640px);
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.985);
    border: 1px solid rgba(43, 34, 19, 0.12);
    box-shadow: 0 28px 70px rgba(27, 21, 15, 0.24);
    overflow: hidden;
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.985);
    transform-origin: top right;
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 0s linear 180ms;
    backdrop-filter: blur(14px);
}

.shell-notifications__dropdown--open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition:
        opacity 180ms ease,
        transform 180ms ease,
        visibility 0s linear 0s;
}

.shell-notifications__header {
    padding: 18px 18px 14px;
    border-bottom: 1px solid rgba(43, 34, 19, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    background:
        linear-gradient(180deg, rgba(242, 122, 21, 0.08), rgba(242, 122, 21, 0.03));
}

.shell-notifications__header-copy {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.shell-notifications__header strong {
    color: var(--shell-text);
    font-size: 1rem;
}

.shell-notifications__header span {
    color: var(--shell-text-muted);
    font-size: 0.8rem;
    font-weight: 700;
}

.shell-notifications__close {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 14px;
    background: rgba(39, 31, 20, 0.07);
    color: var(--shell-text);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
}

.shell-notifications__close:hover {
    background: rgba(39, 31, 20, 0.12);
}

.shell-notifications__empty {
    min-height: 180px;
    display: grid;
    place-items: center;
    padding: 24px;
    color: var(--shell-text-muted);
    text-align: center;
    font-size: 0.94rem;
}

.shell-notifications__list {
    max-height: min(60dvh, 540px);
    overflow-y: auto;
    display: grid;
    overscroll-behavior: contain;
    scrollbar-gutter: stable;
}

.shell-notifications__item {
    width: 100%;
    border: 0;
    background: transparent;
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    padding: 14px 16px;
    text-align: left;
    color: var(--shell-text);
    border-bottom: 1px solid rgba(43, 34, 19, 0.08);
    transition: background 160ms ease, transform 160ms ease;
}

.shell-notifications__item:hover {
    background: rgba(39, 31, 20, 0.04);
    transform: translateY(-1px);
}

.shell-notifications__item--unread {
    background:
        linear-gradient(90deg, rgba(242, 122, 21, 0.14), rgba(242, 122, 21, 0.05));
}

.shell-notifications__item-icon {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: rgba(39, 31, 20, 0.08);
    color: var(--app-accent-strong);
    font-size: 0.95rem;
}

.shell-notifications__item-content {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.shell-notifications__item-topline {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.shell-notifications__item-topline strong {
    font-size: 0.92rem;
    line-height: 1.35;
    min-width: 0;
}

.shell-notifications__item-topline small {
    flex-shrink: 0;
    color: var(--shell-text-muted);
    font-size: 0.74rem;
    font-weight: 700;
}

.shell-notifications__item-message {
    color: var(--shell-text-muted);
    font-size: 0.84rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.shell-notifications__item-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.shell-notifications__item-meta span {
    display: inline-flex;
    align-items: center;
    min-height: 24px;
    padding: 0 8px;
    border-radius: 999px;
    background: rgba(39, 31, 20, 0.08);
    color: var(--shell-text-muted);
    font-size: 0.72rem;
    font-weight: 700;
}

.shell-command--danger {
    background: rgba(179, 44, 44, 0.12);
    color: #8d1d1d;
}

.shell-actions {
    position: relative;
}

.shell-actions__caret {
    transition: transform 180ms ease;
}

.shell-actions__caret--open {
    transform: rotate(180deg);
}

.shell-actions__dropdown {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 220px;
    display: none;
    padding: 10px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid var(--shell-border);
    /*box-shadow: 0 24px 48px rgba(38, 30, 19, 0.16);*/
}

.shell-actions__dropdown--open {
    display: grid;
    gap: 8px;
}

.shell-actions__dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 0 14px;
    border: none;
    border-radius: 16px;
    background: rgba(34, 29, 23, 0.06);
    color: var(--shell-text);
    font-weight: 700;
    text-align: left;
    cursor: pointer;
}

.shell-actions__dropdown-item--danger {
    background: rgba(179, 44, 44, 0.12);
    color: #8d1d1d;
}

.shell-action-drawer {
    display: none;
}

.shell-banner {
    padding: 14px 18px;
    border-radius: 0;
    background: color-mix(in srgb, var(--app-accent) 12%, white);
    color: var(--shell-text);
    border: none;
    border-bottom: 1px solid color-mix(in srgb, var(--app-accent) 20%, transparent);
}

.shell-banner--blocked {
    background: rgba(181, 35, 35, 0.12);
    color: #7b1010;
    border-color: rgba(181, 35, 35, 0.2);
}

.shell-content {
    flex: 1;
    margin: 8px 12px 16px;
    /*padding: 28px;*/
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    border-radius: 28px;
    background: var(--shell-surface-strong);
    border: 1px solid rgba(255, 255, 255, 0.72);
    /*box-shadow: 0 22px 60px rgba(56, 45, 27, 0.08);*/
    overflow: visible;
}

.shell-content > * {
    width: 100%;
    max-width: none;
}

.shell-content__guard {
    width: 100%;
    min-height: 100%;
}

.shell-loading-state {
    min-height: clamp(340px, 60vh, 640px);
    display: grid;
    place-content: center;
    justify-items: center;
    gap: 14px;
    padding: 36px 24px;
    text-align: center;
    color: var(--shell-text-muted);
}

.shell-loading-state strong {
    color: var(--shell-text);
    font-size: clamp(1.15rem, 1.3vw, 1.4rem);
}

.shell-loading-state p {
    max-width: 420px;
    margin: 0;
    line-height: 1.6;
}

.shell-loading-spinner {
    width: 18px;
    height: 18px;
    display: inline-block;
    border-radius: 999px;
    border: 2px solid rgba(34, 29, 23, 0.16);
    border-top-color: var(--app-accent, var(--brand-primary));
    animation: shell-spin 0.85s linear infinite;
}

.shell-loading-spinner--brand {
    width: 26px;
    height: 26px;
    border-color: rgba(255, 253, 248, 0.22);
    border-top-color: #fffdf8;
}

.shell-loading-spinner--large {
    width: 42px;
    height: 42px;
    border-width: 3px;
}

@keyframes shell-spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes shell-pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 239, 229, 0.38);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 8px rgba(245, 239, 229, 0);
    }

    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(245, 239, 229, 0);
    }
}

@media (max-width: 1460px) {
    .app-shell {
        grid-template-columns: 1fr;
    }

    .shell-action-drawer {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(320px, 86vw);
        max-width: 320px;
        display: flex;
        flex-direction: column;
        gap: 20px;
        padding: 20px 18px;
        background: rgba(255, 255, 255, 0.98);
        border-left: 1px solid var(--shell-border);
        /*box-shadow: -18px 0 40px rgba(38, 30, 19, 0.14);*/
        transform: translateX(100%);
        transition: transform 220ms ease;
        z-index: 31;
    }

    .shell-action-drawer--open {
        transform: translateX(0);
    }

.shell-action-drawer__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .shell-action-drawer__identity {
        display: grid;
        gap: 4px;
    }

    .shell-action-drawer__identity strong {
        font-size: 1rem;
        color: var(--shell-text);
    }

    .shell-action-drawer__identity span {
        color: var(--shell-text-muted);
        font-size: 0.9rem;
    }

    .shell-action-drawer__close {
        width: 42px;
        height: 42px;
        border: none;
        border-radius: 14px;
        background: rgba(34, 29, 23, 0.08);
        color: var(--shell-text);
        cursor: pointer;
    }

    .shell-action-drawer__body {
        display: grid;
        gap: 10px;
    }

    .shell-action-drawer__item {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        min-height: 50px;
        padding: 0 16px;
        border: none;
        border-radius: 18px;
        background: rgba(34, 29, 23, 0.06);
        color: var(--shell-text);
        font-weight: 700;
        text-align: left;
        cursor: pointer;
    }

    .shell-action-drawer__item--danger {
        background: rgba(179, 44, 44, 0.12);
        color: #8d1d1d;
    }

    .shell-topbar__panel {
        display: flex;
        align-items: center;
        justify-content: space-between;
        flex-wrap: nowrap;
        gap: 14px;
        padding: 12px 14px;
        background: var(--app-accent);
        border-bottom: 1px solid color-mix(in srgb, var(--app-accent-contrast) 16%, transparent);
        box-shadow: 0 18px 48px color-mix(in srgb, var(--app-accent) 42%, rgba(0, 0, 0, 0.1));
    }

    .shell-topbar__account {
        display: grid;
        grid-template-columns: 46px minmax(0, 1fr);
        justify-self: stretch;
    }

    .shell-topbar__actions {
        justify-content: flex-end;
    }

    .shell-topbar__company-name {
        color: var(--app-accent-contrast);
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .shell-mobile-toggle {
        background: color-mix(in srgb, var(--app-accent-contrast) 14%, transparent);
    }

    .shell-mobile-toggle span,
    .shell-command,
    .shell-command i,
    .shell-command__label,
    .shell-actions__caret {
        color: var(--app-accent-contrast);
    }

    .shell-command {
        background: color-mix(in srgb, var(--app-accent-contrast) 14%, transparent);
    }

    .shell-command__avatar {
        background: color-mix(in srgb, var(--app-accent-contrast) 18%, transparent);
        color: var(--app-accent-contrast);
        border: 1px solid color-mix(in srgb, var(--app-accent-contrast) 16%, transparent);
        box-shadow: none;
    }

    .shell-topbar__avatar--logo {
        background: color-mix(in srgb, var(--app-accent-contrast) 12%, transparent);
        border-color: color-mix(in srgb, var(--app-accent-contrast) 16%, transparent);
    }

    .shell-actions__dropdown {
        display: none !important;
    }

    .shell-command--icon[aria-label="Actualizar"] {
        display: none;
    }

    .shell-topbar {
        background: linear-gradient(180deg,
            color-mix(in srgb, var(--app-accent) 96%, white 4%) 0%,
            color-mix(in srgb, var(--app-accent) 88%, transparent) 82%,
            rgba(255, 255, 255, 0) 100%);
        padding-bottom: 0;
        overflow: hidden;
        max-height: 420px;
        opacity: 1;
    }

}

@media (min-width: 1181px) {
    .app-shell {
        grid-template-columns: 252px minmax(0, 1fr);
    }

    .shell-sidebar__collapse {
        position: absolute;
        top: 24px;
        right: 18px;
        z-index: 2;
        width: 34px;
        height: 34px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
        color: #f5efe5;
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
        transition: background 160ms ease, transform 160ms ease, right 180ms ease, top 180ms ease;
    }

    .shell-sidebar__collapse:hover {
        background: rgba(255, 255, 255, 0.16);
        transform: translateX(-1px);
    }

    .app-shell--sidebar-collapsed {
        grid-template-columns: 76px minmax(0, 1fr);
    }

    .app-shell--sidebar-collapsed .shell-sidebar {
        gap: 12px;
        padding: 18px 10px;
    }

    .app-shell--sidebar-collapsed .shell-sidebar__collapse {
        top: 84px;
        right: 50%;
        width: 40px;
        height: 40px;
        border-radius: 14px;
        transform: translateX(50%);
    }

    .app-shell--sidebar-collapsed .shell-sidebar__collapse:hover {
        transform: translateX(50%) scale(1.03);
    }

    .app-shell--sidebar-collapsed .shell-brand {
        grid-template-columns: 1fr;
        justify-items: center;
        padding: 7px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.055);
    }

    .app-shell--sidebar-collapsed .shell-brand__badge {
        width: 48px;
        height: 48px;
        border-radius: 16px;
        font-size: 16px;
    }

    .app-shell--sidebar-collapsed .shell-brand__copy,
    .app-shell--sidebar-collapsed .shell-sidebar__meta,
    .app-shell--sidebar-collapsed .shell-alert {
        display: none;
    }

    .app-shell--sidebar-collapsed .shell-nav {
        align-items: center;
        gap: 10px;
        padding-top: 44px;
    }

    .app-shell--sidebar-collapsed .shell-nav__group {
        align-items: center;
        width: 100%;
    }

    .app-shell--sidebar-collapsed .shell-nav__link,
    .app-shell--sidebar-collapsed .shell-nav__sublink {
        width: 48px;
        min-height: 48px;
        justify-content: center;
        gap: 0;
        margin-left: 0;
        padding: 4px;
        border-radius: 16px;
    }

    .app-shell--sidebar-collapsed .shell-nav__branch {
        display: block;
        width: 48px;
    }

    .app-shell--sidebar-collapsed .shell-nav__branch-link {
        width: 48px;
        min-width: 48px;
        flex: 0 0 48px;
    }

    .app-shell--sidebar-collapsed .shell-nav__icon {
        width: 40px;
        height: 40px;
        border-radius: 14px;
    }

    .app-shell--sidebar-collapsed .shell-nav__link > span:not(.shell-nav__icon),
    .app-shell--sidebar-collapsed .shell-nav__sublink > span:not(.shell-nav__sublink-icon),
    .app-shell--sidebar-collapsed .shell-nav__children,
    .app-shell--sidebar-collapsed .shell-nav__branch-toggle,
    .app-shell--sidebar-collapsed .shell-nav__chevron {
        display: none;
    }

    .app-shell--sidebar-collapsed .shell-nav__link:hover,
    .app-shell--sidebar-collapsed .shell-nav__sublink:hover {
        transform: scale(1.03);
    }
}

@media (max-width: 1180px) {
    .app-shell {
        grid-template-columns: minmax(0, 1fr);
    }

    .shell-main {
        grid-column: 1;
        width: 100%;
    }

    .shell-sidebar {
        position: fixed;
        inset: 0 auto 0 0;
        width: min(286px, 82vw);
        max-width: 286px;
        height: 100dvh;
        min-height: 100dvh;
        padding-bottom: 20px;
        transform: translateX(-100%);
        transition: transform 220ms ease;
        z-index: 90;
        overscroll-behavior: contain;
    }

    .shell-sidebar--open {
        transform: translateX(0);
    }

    .shell-mobile-toggle {
        display: inline-block;
    }

    .shell-topbar__panel {
        min-width: 0;
    }

    .shell-topbar__account {
        flex: 1 1 auto;
        min-width: 0;
        max-width: none;
    }

    .shell-topbar__identity {
        min-width: 0;
        flex: 1 1 auto;
    }

    .shell-content {
        width: min(calc(100% - 28px), 1080px);
        margin: 8px auto 16px;
        padding: 22px;
    }

    .shell-content > * {
        width: min(100%, 920px);
        margin-inline: auto;
    }
}

@media (max-width: 720px) {
    .shell-topbar {
        display: flex !important;
        position: sticky !important;
        top: 0;
        z-index: 80;
        flex: 0 0 auto;
        min-height: 56px;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        transform: none !important;
        overflow: visible;
    }

    .app-shell.shell-topbar-hidden .shell-topbar {
        opacity: 0 !important;
        pointer-events: none !important;
        transform: translateY(-100%) !important;
    }

    .shell-topbar__panel {
        gap: 10px;
        padding: 10px 12px;
        box-shadow: none;
    }

    .shell-content {
        width: 100%;
        /*width: min(calc(100% - 20px), 100%);*/
        /*margin: 12px auto 18px;*/
        margin: 0;
        padding: 0px;
        /*border-radius: 22px;*/
        border-radius: 0px;
    }

    .shell-content > * {
        width: 100%;
        max-width: 560px;
        margin-inline: auto;
    }

    .shell-topbar__account {
        gap: 10px;
        min-width: 0;
        width: 0;
    }

    .shell-command__label {
        display: none;
    }

    .shell-topbar__actions {
        gap: 8px;
    }

    .shell-command--home {
        width: 44px;
        height: 44px;
        min-height: 44px;
        padding: 0;
        justify-content: center;
        flex: 0 0 44px;
        border-radius: 14px;
    }

    .shell-command__home-label {
        display: none;
    }

    .shell-command--menu {
        padding-inline: 14px;
    }

    .shell-notifications__dropdown {
        top: auto;
        right: 12px;
        left: 12px;
        bottom: 12px;
        width: auto;
        max-height: min(82dvh, 680px);
        border-radius: 26px;
        transform: translateY(18px) scale(0.99);
        transform-origin: bottom center;
    }

    .shell-notifications__dropdown--open {
        transform: translateY(0) scale(1);
    }

    .shell-notifications__header {
        padding: 18px 18px 12px;
    }

    .shell-notifications__list {
        max-height: min(66dvh, 560px);
    }

    .shell-notifications__item {
        grid-template-columns: 34px 1fr;
        gap: 10px;
        padding: 14px;
    }

    .shell-notifications__item-icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
    }

    .shell-notifications__item-topline {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .shell-topbar__company-name {
        font-size: 1rem;
        line-height: normal;
        font-weight: 500;
    }
    .shell-topbar__avatar {
        display: none;
    }
    
}
