.app-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
}

.app-main {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
}

.app-main--auth {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 0;
}

.page-shell--compact {
    display: grid;
    place-items: center;
    min-height: min(720px, calc(100dvh - 28px));
    padding: clamp(18px, 4vw, 44px);
}

.empty-state {
    display: grid;
    gap: 18px;
    width: min(100%, 620px);
    padding: clamp(22px, 4vw, 36px);
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 14px 34px rgba(0, 18, 0, 0.08);
}

.empty-state__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 999px;
    color: #b42318;
    background: #fff0ed;
}

.empty-state__icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.empty-state h1 {
    margin: 0;
    color: var(--ink);
    font-size: clamp(1.7rem, 3vw, 2.35rem);
    line-height: 1.05;
}

.empty-state p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.55;
}

.empty-state__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.empty-state__actions .button {
    min-height: 44px;
}

.app-shell--workspace {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    height: 100dvh;
    min-height: 0;
    background: var(--brand);
    overflow: hidden;
}

.app-main--workspace {
    min-width: 0;
    min-height: 0;
    height: 100%;
    padding: 14px;
    max-width: none;
    overflow: auto;
    scroll-padding-bottom: 96px;
}

.workspace-topbar {
    display: none;
}

.workspace-sidebar {
    position: sticky;
    top: 0;
    display: grid;
    grid-template-rows: auto auto auto auto minmax(0, 1fr);
    gap: 18px;
    height: 100vh;
    min-height: 0;
    padding: 28px 20px 20px;
    color: #ffffff;
    background: var(--brand);
    overflow: hidden;
}

.workspace-sidebar::before,
.workspace-sidebar::after,
.workspace-sidebar__art::before,
.workspace-sidebar__art::after {
    content: "";
    position: absolute;
    border: 1px solid rgba(255, 196, 0, 0.2);
    border-radius: 4px;
    transform: rotate(45deg);
    pointer-events: none;
}

.workspace-sidebar::before {
    left: -22px;
    bottom: 176px;
    width: 92px;
    height: 92px;
    border-color: rgba(0, 130, 75, 0.42);
}

.workspace-sidebar::after {
    left: 22px;
    bottom: 118px;
    width: 76px;
    height: 76px;
}

.workspace-sidebar__art {
    display: none;
    position: relative;
    min-height: 0;
}

.workspace-sidebar__art::before {
    left: 16px;
    top: 38px;
    width: 24px;
    height: 24px;
}

.workspace-sidebar__art::after {
    left: 74px;
    top: 52px;
    width: 20px;
    height: 20px;
    background: rgba(255, 196, 0, 0.18);
    border: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    min-width: 0;
}

.workspace-sidebar__brand {
    position: relative;
    z-index: 1;
    margin: 0 0 8px;
}

.workspace-sidebar__mobile-head {
    display: none;
}

.brand__logo {
    display: block;
    width: 150px;
    height: auto;
}

.brand__logo--light {
    width: 178px;
}

.company-switcher {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 7px;
}

.company-switcher__label {
    color: rgba(255, 255, 255, 0.64);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1;
    text-transform: uppercase;
}

.company-switcher__control {
    position: relative;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 28px;
    align-items: center;
    width: 100%;
    min-height: 42px;
    padding: 0 6px;
    border: 1px solid rgba(255, 196, 0, 0.28);
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.055);
    text-align: left;
    cursor: pointer;
    transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.company-switcher__control:focus-within,
.company-switcher__control:hover {
    border-color: rgba(255, 196, 0, 0.58);
    background: rgba(255, 255, 255, 0.075);
    box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.1);
}

.company-switcher__icon,
.company-switcher__chevron {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.78);
    pointer-events: none;
}

.company-switcher__icon svg,
.company-switcher__chevron svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.company-switcher__icon {
    color: var(--brand-accent);
}

.company-switcher__text {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.company-switcher__text strong,
.company-switcher__text small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-switcher__text strong {
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 800;
    line-height: 1.1;
}

.company-switcher__text small {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.7rem;
    font-weight: 700;
}

.company-switcher option {
    color: var(--ink);
    background: #ffffff;
}

.topbar-company {
    display: none;
}

.company-picker[hidden] {
    display: none !important;
}

.company-picker {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: grid;
    place-items: center;
    padding: 18px;
}

.company-picker__scrim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 15, 0, 0.56);
    backdrop-filter: blur(4px);
}

.company-picker__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    gap: 14px;
    width: min(520px, 100%);
    height: min(640px, calc(100dvh - 36px));
    padding: 18px;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 72px rgba(0, 18, 0, 0.28);
}

.company-picker__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.company-picker__head span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.company-picker__head h2 {
    margin: 0;
    font-size: 1.35rem;
    line-height: 1.1;
}

.company-picker__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    cursor: pointer;
}

.company-picker__close svg,
.company-picker__search svg,
.company-picker__check {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.company-picker__search {
    display: grid;
    grid-template-columns: 22px minmax(0, 1fr);
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--muted);
    background: #fbfcfb;
}

.company-picker__search input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: var(--ink);
    background: transparent;
    font: inherit;
    font-weight: 700;
}

.company-picker__list {
    display: grid;
    align-content: start;
    gap: 8px;
    min-height: 0;
    overflow: auto;
    overscroll-behavior: contain;
}

.company-picker__item-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    align-items: center;
    gap: 6px;
    margin: 0;
}

.company-picker__item-form[hidden] {
    display: none;
}

.company-picker__item-form.is-switching .company-picker__item {
    border-color: #9fcdb0;
    background: #f0f8f3;
}

.company-picker__item-form.is-switching .company-picker__item-icon {
    position: relative;
    font-size: 0;
}

.company-picker__item-form.is-switching .company-picker__item-icon::after {
    content: "";
    position: absolute;
    inset: 10px;
    border: 2px solid #c9ddcf;
    border-top-color: #087d32;
    border-radius: 50%;
    animation: company-switch-spin .7s linear infinite;
}

@keyframes company-switch-spin { to { transform: rotate(360deg); } }

.company-picker__item {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 58px;
    padding: 9px 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    text-align: left;
    cursor: pointer;
}

.company-picker__item:hover,
.company-picker__item.is-selected {
    border-color: rgba(0, 130, 75, 0.36);
    background: #f3fbf4;
}

.company-picker__item-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: var(--brand);
    background: #e8f6ea;
    font-weight: 850;
}

.company-picker__item strong,
.company-picker__item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.company-picker__item strong {
    font-size: 0.94rem;
}

.company-picker__item small {
    margin-top: 2px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 650;
}

.company-picker__check {
    color: var(--success);
}

.company-picker__favorite {
    display: inline-grid;
    width: 34px;
    height: 34px;
    padding: 0;
    place-items: center;
    border: 0;
    border-radius: 8px;
    color: #98a39c;
    background: transparent;
    cursor: pointer;
}

.company-picker__favorite:hover {
    color: #9a7300;
    background: #fff8df;
}

.company-picker__favorite.is-favorite {
    color: #d39a00;
}

.company-picker__favorite svg {
    width: 19px;
    height: 19px;
    fill: transparent;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linejoin: round;
}

.company-picker__favorite.is-favorite svg {
    fill: #ffd760;
}

.support-picker[hidden] {
    display: none !important;
}

.support-picker {
    position: fixed;
    inset: 0;
    z-index: 92;
    display: grid;
    place-items: center;
    padding: 18px;
}

.support-picker__scrim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 15, 0, 0.56);
    backdrop-filter: blur(4px);
}

.support-picker__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 16px;
    width: min(480px, 100%);
    max-height: calc(100dvh - 36px);
    padding: 18px;
    overflow: auto;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 24px 72px rgba(0, 18, 0, 0.28);
}

.support-picker__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 40px;
    gap: 14px;
    align-items: start;
}

.support-picker__head span {
    display: block;
    margin-bottom: 4px;
    color: var(--brand);
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.support-picker__head h2 {
    margin: 0;
    color: var(--ink);
    font-size: 1.35rem;
    line-height: 1.1;
}

.support-picker__head p {
    margin: 7px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

.support-picker__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    background: #ffffff;
    cursor: pointer;
}

.support-picker__options {
    display: grid;
    gap: 10px;
}

.support-picker__option {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr) 20px;
    gap: 12px;
    align-items: center;
    min-height: 78px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 10px;
    color: var(--ink);
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 18, 0, 0.05);
    text-align: left;
    font: inherit;
    cursor: pointer;
    width: 100%;
}

.support-picker__option:hover,
.support-picker__option:focus-visible {
    border-color: rgba(0, 130, 75, 0.28);
    background: #f7fcf7;
    outline: none;
}

.support-picker__option-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 10px;
}

.support-picker__option--docs .support-picker__option-icon {
    color: #1262b5;
    background: #e8f1ff;
}

.support-picker__option--ticket .support-picker__option-icon {
    color: #f2a900;
    background: #fff0cd;
}

.support-picker__option--phone .support-picker__option-icon {
    color: var(--brand);
    background: #e8f6ea;
}

.support-picker__option strong,
.support-picker__option small {
    display: block;
    min-width: 0;
}

.support-picker__option strong {
    font-size: 0.98rem;
    line-height: 1.2;
}

.support-picker__option small {
    margin-top: 3px;
    color: var(--muted);
    font-size: 0.8rem;
    font-weight: 650;
    line-height: 1.35;
}

.support-picker__close svg,
.support-picker__option svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.support-picker__option-icon img {
    width: 24px;
    height: 24px;
    display: block;
}

.support-picker__arrow {
    justify-self: end;
    color: var(--muted);
}

.support-picker__option--eddy .support-picker__option-icon {
    color: var(--brand);
    background: var(--brand-tint);
}

/* Ask Eddy floating button */
.eddy-fab {
    position: fixed;
    right: 34px;
    bottom: 24px;
    z-index: 90;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 8px 8px 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.eddy-fab__bubble {
    position: relative;
    padding: 9px 14px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid var(--line);
    box-shadow: 0 8px 22px rgba(0, 18, 0, 0.14);
    color: var(--ink);
    font-size: 0.86rem;
    font-weight: 750;
    white-space: nowrap;
}

/* Little speech-balloon tail pointing at the icon. */
.eddy-fab__bubble::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -6px;
    width: 12px;
    height: 12px;
    transform: translateY(-50%) rotate(45deg);
    background: #ffffff;
    border-right: 1px solid var(--line);
    border-top: 1px solid var(--line);
}

.eddy-fab__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    flex: none;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 10px 26px rgba(0, 18, 0, 0.28);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.eddy-fab__icon img {
    width: 32px;
    height: 32px;
}

.eddy-fab:hover .eddy-fab__icon,
.eddy-fab:focus-visible .eddy-fab__icon {
    transform: scale(1.06);
    box-shadow: 0 14px 30px rgba(0, 18, 0, 0.34);
    outline: none;
}

/* Hide the launcher while the chat itself is open. */
body.has-eddy-chat-open .eddy-fab {
    display: none;
}

@media (max-width: 720px) {
    .eddy-fab {
        right: 18px;
        bottom: 18px;
    }

    .eddy-fab__bubble {
        padding: 7px 12px;
        font-size: 0.82rem;
    }

    .eddy-fab__icon {
        width: 52px;
        height: 52px;
    }

}

body.installation-overview-active .eddy-fab {
    right: 18px;
    bottom: 18px;
}

body.installation-overview-active .eddy-fab__bubble {
    display: none;
}

body.installation-overview-active .eddy-fab__icon {
    width: 50px;
    height: 50px;
}


/* The wizard has a sticky footer with Back/Finish; on narrow screens lift the launcher
   above it (icon only) so it never covers those buttons. */
@media (max-width: 900px) {
    body.wizard-active .eddy-fab {
        right: 14px;
        bottom: 84px;
    }

    body.wizard-active .eddy-fab__bubble {
        display: none;
    }

    body.wizard-active .eddy-fab__icon {
        width: 48px;
        height: 48px;
    }
}

/* Ask Eddy chat */
.eddy-chat[hidden] {
    display: none !important;
}

.eddy-chat {
    position: fixed;
    inset: 0;
    z-index: 94;
    display: grid;
    place-items: end center;
    padding: 0;
}

.eddy-chat__scrim {
    position: absolute;
    inset: 0;
    border: 0;
    background: rgba(0, 15, 0, 0.5);
    backdrop-filter: blur(4px);
    cursor: pointer;
}

.eddy-chat__dialog {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-rows: auto 1fr auto auto;
    width: min(440px, 100%);
    height: min(640px, 100dvh);
    background: #ffffff;
    border: 1px solid var(--line);
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -8px 60px rgba(0, 18, 0, 0.3);
    overflow: hidden;
}

@media (min-width: 720px) {
    .eddy-chat {
        place-items: end;
        padding: 24px;
    }

    .eddy-chat__dialog {
        border-radius: 16px;
        height: min(600px, calc(100dvh - 48px));
    }
}

.eddy-chat__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    background: linear-gradient(135deg, var(--brand), var(--brand-strong));
    color: #ffffff;
}

.eddy-chat__badge {
    color: var(--brand-accent);
}

.eddy-chat__head-copy {
    display: flex;
    align-items: center;
    gap: 12px;
}

.eddy-chat__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.16);
}

.eddy-chat__badge img {
    width: 22px;
    height: 22px;
    display: block;
}

.eddy-chat__badge svg {
    width: 22px;
    height: 22px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eddy-chat__eyebrow {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    opacity: 0.75;
}

.eddy-chat__head h2 {
    margin: 0;
    font-size: 1.12rem;
    line-height: 1.1;
}

.eddy-chat__close {
    display: inline-flex;
    padding: 6px;
    border: 0;
    border-radius: 8px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.12);
    cursor: pointer;
}

.eddy-chat__close svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eddy-chat__messages {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 18px;
    overflow-y: auto;
    background: #f3f7f1;
}

.eddy-msg {
    max-width: 85%;
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.eddy-msg p {
    margin: 0 0 8px;
}

.eddy-msg > :last-child {
    margin-bottom: 0;
}

.eddy-msg ul,
.eddy-msg ol {
    margin: 0 0 8px;
    padding-left: 20px;
}

.eddy-msg li {
    margin-bottom: 4px;
}

.eddy-msg h1,
.eddy-msg h2,
.eddy-msg h3,
.eddy-msg h4 {
    margin: 10px 0 6px;
    font-size: 0.95rem;
    font-weight: 800;
    line-height: 1.25;
}

.eddy-msg--bot a {
    color: var(--brand);
    font-weight: 650;
    text-decoration: underline;
    overflow-wrap: anywhere;
}

.eddy-msg code {
    padding: 1px 5px;
    border-radius: 5px;
    background: #eef2ec;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 0.82em;
}

.eddy-msg pre {
    margin: 0 0 8px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #f0f3ee;
    overflow-x: auto;
}

.eddy-msg pre code {
    padding: 0;
    background: none;
}

.eddy-msg blockquote {
    margin: 0 0 8px;
    padding-left: 10px;
    border-left: 3px solid var(--line);
    color: var(--muted);
}

.eddy-msg table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 8px;
    font-size: 0.84rem;
}

.eddy-msg th,
.eddy-msg td {
    padding: 5px 8px;
    border: 1px solid var(--line);
    text-align: left;
}

.eddy-msg--bot {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid var(--line);
    border-bottom-left-radius: 4px;
    color: var(--ink);
}

.eddy-msg--user {
    align-self: flex-end;
    background: var(--brand);
    border-bottom-right-radius: 4px;
    color: #ffffff;
}

.eddy-msg--error {
    background: #fdecec;
    border-color: #f5c2c2;
    color: #a12626;
}

.eddy-msg__refs {
    margin-top: 10px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.eddy-msg__refs span {
    display: block;
    margin-bottom: 4px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--muted);
}

.eddy-msg__refs ul {
    margin: 0;
    padding-left: 16px;
    display: grid;
    gap: 3px;
}

.eddy-msg__refs a {
    color: var(--brand);
    font-weight: 650;
    text-decoration: underline;
}

.eddy-msg__support {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
}

.eddy-msg__support span {
    width: 100%;
    font-size: 0.78rem;
    font-weight: 800;
    color: var(--muted);
}

.eddy-msg__support-btn {
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: var(--brand);
    color: #ffffff !important;
    font-size: 0.82rem;
    font-weight: 700;
    text-decoration: none !important;
}

.eddy-msg__support-btn--ghost {
    background: #ffffff;
    color: var(--brand) !important;
    border: 1px solid var(--line);
}

.eddy-chat__disclaimer a {
    color: var(--brand);
    font-weight: 700;
}

.eddy-typing {
    display: inline-flex;
    gap: 4px;
}

.eddy-typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9db8a1;
    animation: eddy-bounce 1.2s infinite ease-in-out;
}

.eddy-typing span:nth-child(2) { animation-delay: 0.15s; }
.eddy-typing span:nth-child(3) { animation-delay: 0.3s; }

@keyframes eddy-bounce {
    0%, 80%, 100% { transform: translateY(0); opacity: 0.5; }
    40% { transform: translateY(-4px); opacity: 1; }
}

.eddy-chat__form {
    display: flex;
    gap: 8px;
    padding: 12px 14px;
    border-top: 1px solid var(--line);
    background: #ffffff;
}

.eddy-chat__input {
    flex: 1;
    min-width: 0;
    padding: 11px 14px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 0.9rem;
}

.eddy-chat__input:focus-visible {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(0, 36, 0, 0.14);
}

.eddy-chat__send {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex: none;
    border: 0;
    border-radius: 50%;
    color: #ffffff;
    background: var(--brand);
    cursor: pointer;
}

.eddy-chat__send:disabled {
    opacity: 0.5;
    cursor: default;
}

.eddy-chat__send svg {
    width: 20px;
    height: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.eddy-chat__disclaimer {
    margin: 0;
    padding: 0 16px 12px;
    background: #ffffff;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.4;
    text-align: center;
}

.side-nav {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 6px;
}

.side-nav__label {
    display: block;
    margin: 0 2px 10px;
    color: var(--brand-accent);
    font-size: 0.78rem;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.side-nav__label--section {
    margin-top: 14px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.side-nav .side-nav__label--primary {
    margin-top: 12px;
}

.side-nav .side-nav__label--section {
    margin-top: 14px;
}

.side-nav__link {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    min-height: 42px;
    padding: 9px 10px;
    border: 1px solid transparent;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.1;
}

.side-nav__link:hover,
.side-nav__link.is-active {
    border-color: rgba(255, 196, 0, 0.62);
    background: rgba(0, 18, 0, 0.42);
}

.side-nav__link--admin:hover,
.side-nav__link--admin.is-active {
    transform: none;
}

.side-nav__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: #ffffff;
}

.side-nav__icon svg,
.support-card svg,
.portal-link svg,
.sidebar-user__logout svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.75;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.side-nav__icon svg {
    width: 20px;
    height: 20px;
}

.support-card {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 10px;
    align-content: start;
    margin: 4px 0 0;
    padding: 16px 14px;
    border: 1px solid rgba(255, 196, 0, 0.46);
    border-radius: 7px;
    background: rgba(0, 18, 0, 0.24);
}

.support-card__title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
    font-size: 0.92rem;
}

.support-card p {
    margin: 0;
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.82rem;
    line-height: 1.45;
}

.support-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 36px;
    align-self: start;
    padding: 0 16px;
    border: 1px solid var(--brand-accent);
    border-radius: 4px;
    color: var(--brand-accent);
    background: transparent;
    font-size: 0.82rem;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
}

.support-card__button:hover,
.support-card__button:focus-visible {
    color: #061106;
    background: var(--brand-accent);
    outline: none;
}

.workspace-sidebar__footer {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 12px;
    align-content: end;
}

.portal-link,
.side-signout {
    color: #ffffff;
    font-size: 0.92rem;
    font-weight: 700;
}

.portal-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 4px 6px;
}

.push-notification-link {
    display: none;
    align-items: center;
    gap: 8px;
    width: fit-content;
    min-height: 34px;
    padding: 4px 6px;
    border: 0;
    border-radius: 7px;
    color: rgba(255, 255, 255, 0.86);
    background: transparent;
    box-shadow: none;
    cursor: pointer;
    text-align: left;
}

.push-notification-link:hover,
.push-notification-link:focus-visible {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.07);
    outline: none;
}

.push-notification-link:disabled {
    cursor: default;
    opacity: 0.82;
}

.push-notification-link[hidden] {
    display: none !important;
}

.push-notification-link__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    color: var(--brand-accent);
    background: rgba(255, 196, 0, 0.12);
}

.push-notification-link__icon svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.push-notification-link__text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
}

.push-notification-link__text strong,
.push-notification-link__text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.push-notification-link__text strong {
    font-size: 0.82rem;
    line-height: 1.15;
}

.push-notification-link__text span {
    color: rgba(255, 255, 255, 0.58);
    font-size: 0.68rem;
    font-weight: 650;
}

.sidebar-user {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) 34px;
    gap: 10px;
    align-items: center;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.sidebar-user__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 999px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.13);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    font-weight: 850;
}

.sidebar-user__meta {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.sidebar-user__meta strong,
.sidebar-user__meta span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user__meta strong {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.15;
}

.sidebar-user__meta span {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
}

.sidebar-user__logout-form {
    margin: 0;
}

.sidebar-user__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(0, 18, 0, 0.18);
    cursor: pointer;
}


.sidebar-legal {
    display: grid;
    gap: 3px;
    padding: 14px 6px 0;
    border-top: 1px solid rgba(255, 196, 0, 0.3);
}


.sidebar-user__meta strong,
.sidebar-user__meta span,
.sidebar-user__meta a {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user__meta strong {
    color: #ffffff;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
}

.sidebar-user__meta span,
.sidebar-user__meta a {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.72rem;
}

.sidebar-user__meta a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.sidebar-user__logout-form {
    margin: 0;
}

.sidebar-user__logout {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(0, 18, 0, 0.18);
    cursor: pointer;
}

.sidebar-user__logout:hover {
    color: #ffffff;
    border-color: rgba(255, 196, 0, 0.44);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-weight: 700;
    cursor: pointer;
    transition: color 150ms ease, background-color 150ms ease, border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.button--primary {
    color: #050806;
    background: linear-gradient(180deg, #ffd334 0%, #ffc400 100%);
}

.button--ghost {
    color: var(--ink);
    border-color: var(--line);
    background: #ffffff;
}

.button:hover:not(:disabled):not(.is-disabled) {
    transform: translateY(-1px);
}

.button--primary:hover:not(:disabled):not(.is-disabled) {
    color: #050806;
    background: linear-gradient(180deg, #ffdc55 0%, #f0b900 100%);
    box-shadow: 0 7px 16px rgba(130, 95, 0, 0.18);
}

.button--ghost:hover:not(:disabled):not(.is-disabled) {
    color: #075c21;
    border-color: #9dbda5;
    background: #eef7f0;
    box-shadow: 0 4px 12px rgba(0, 70, 24, 0.08);
}

.button--dark:hover:not(:disabled):not(.is-disabled) {
    color: #ffffff;
    border-color: #073b16;
    background: #073b16;
    box-shadow: 0 12px 22px rgba(0, 36, 0, 0.24);
}

.button--outline:hover:not(:disabled):not(.is-disabled) {
    color: #064f1c;
    border-color: #78a985;
    background: #eef7f0;
}

.button:focus-visible {
    outline: 3px solid rgba(0, 119, 42, 0.2);
    outline-offset: 2px;
}

.button:active:not(:disabled):not(.is-disabled) {
    transform: translateY(0);
}

.button:disabled,
.button.is-disabled {
    cursor: not-allowed;
}

.side-nav__badge {
    display: inline-flex;
    box-sizing: border-box;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    margin-left: auto;
    padding: 0 6px;
    border-radius: 6px;
    color: #17210c;
    background: var(--brand-accent, #ffc400);
    font-size: 12px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    line-height: 1;
    white-space: nowrap;
}

/* Keep the unread counter on the same row as its navigation label. */
.side-nav__link.side-nav__link--with-badge {
    grid-template-columns:30px minmax(0,1fr) auto;
}

.side-nav__link.side-nav__link--with-badge .side-nav__badge {
    grid-column:3;
    justify-self:end;
    align-self:center;
    margin-left:0;
}

@media (max-width:860px) {
    .side-nav__link.side-nav__link--with-badge {
        grid-template-columns:34px minmax(0,1fr) auto;
    }

}

.company-switcher__demo-badge {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    margin-top: .48rem;
    padding: .28rem .52rem;
    color: #b9f5cc;
    background: rgba(27, 156, 71, .18);
    border: 1px solid rgba(111, 218, 146, .38);
    border-radius: 999px;
    font-size: .66rem;
    font-weight: 800;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.company-switcher__demo-badge svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.button.is-loading {
    opacity: 0.72;
    cursor: wait;
    pointer-events: none;
}

.full-width {
    width: 100%;
}

/* Application confirmation dialog */
body.has-confirm-modal-open {
    overflow: hidden;
}

.confirm-modal[hidden] {
    display: none;
}

.confirm-modal {
    position: fixed;
    inset: 0;
    z-index: 1400;
    display: grid;
    place-items: center;
    padding: 20px;
}

.confirm-modal__scrim {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    background: rgba(7, 17, 10, 0.58);
    backdrop-filter: blur(3px);
    cursor: default;
}

.confirm-modal__dialog {
    position: relative;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 16px;
    width: min(100%, 470px);
    padding: 24px;
    border: 1px solid #d9e2dc;
    border-radius: 16px;
    background: #ffffff;
    box-shadow: 0 28px 70px rgba(0, 25, 5, 0.25);
    opacity: 0;
    transform: translateY(8px) scale(0.985);
    transition: opacity 150ms ease, transform 150ms ease;
}

.confirm-modal.is-open .confirm-modal__dialog {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.confirm-modal__dialog:focus {
    outline: none;
}

.confirm-modal__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    color: #075c21;
    background: #e8f4ea;
}

.confirm-modal__icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.confirm-modal.is-danger .confirm-modal__icon {
    color: #a12626;
    background: #fcecec;
}

.confirm-modal__copy {
    min-width: 0;
}

.confirm-modal__eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #637068;
    font-size: 0.72rem;
    font-weight: 850;
    letter-spacing: 0.065em;
    text-transform: uppercase;
}

.confirm-modal__copy h2 {
    margin: 0;
    color: #111512;
    font-size: 1.18rem;
    line-height: 1.25;
}

.confirm-modal__copy p {
    margin: 8px 0 0;
    color: #566159;
    font-size: 0.9rem;
    line-height: 1.5;
}

.confirm-modal__actions {
    display: flex;
    grid-column: 1 / -1;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 6px;
}

.confirm-modal__button {
    min-height: 42px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 9px;
    font: inherit;
    font-size: 0.88rem;
    font-weight: 800;
    cursor: pointer;
    transition: color 150ms ease, border-color 150ms ease, background-color 150ms ease, box-shadow 150ms ease;
}

.confirm-modal__button--cancel {
    border-color: #d9e2dc;
    color: #26332b;
    background: #ffffff;
}

.confirm-modal__button--cancel:hover {
    border-color: #b9ccb9;
    background: #f4f8f4;
}

.confirm-modal__button--confirm {
    color: #ffffff;
    background: #075c21;
}

.confirm-modal__button--confirm:hover {
    background: #064b1b;
    box-shadow: 0 7px 16px rgba(0, 55, 20, 0.18);
}

.confirm-modal.is-danger .confirm-modal__button--confirm {
    background: #a12626;
}

.confirm-modal.is-danger .confirm-modal__button--confirm:hover {
    background: #861d1d;
    box-shadow: 0 7px 16px rgba(120, 20, 20, 0.18);
}

.confirm-modal__button:focus-visible {
    outline: 3px solid rgba(0, 119, 42, 0.2);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .confirm-modal {
        align-items: end;
        padding: 12px;
    }

    .confirm-modal__dialog {
        grid-template-columns: 42px minmax(0, 1fr);
        gap: 13px;
        padding: 20px;
        border-radius: 15px;
    }

    .confirm-modal__icon {
        width: 42px;
        height: 42px;
    }

    .confirm-modal__actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
}

.stack-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.field-label {
    font-size: 0.96rem;
    font-weight: 720;
}

.form-input {
    width: 100%;
    min-height: 42px;
    padding: 0 13px;
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    background: #ffffff;
    color: var(--ink);
    box-shadow: none;
}

.form-input:focus {
    outline: none;
    border-color: var(--brand-accent);
    box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.16);
}

.alert {
    padding: 14px 16px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
}

.alert--error {
    color: var(--error-ink);
    background: var(--error-bg);
    border-color: var(--error-border);
}

.text-link {
    font-weight: 700;
    color: var(--brand);
}

.nav-toggle {
    display: none;
}

.pwa-install-trigger {
    display: none;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 10px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.pwa-install-trigger svg,
.pwa-install-link svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pwa-install-trigger:hover,
.pwa-install-trigger:focus-visible {
    border-color: rgba(255, 196, 0, 0.36);
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.pwa-install-trigger[hidden],
.pwa-install-link[hidden] {
    display: none !important;
}

.pwa-install-link {
    border: 0;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.nav-close {
    display: none;
}

.nav-scrim {
    display: none;
}

body.has-mobile-nav-open {
    overflow: hidden;
}

body.has-company-picker-open {
    overflow: hidden;
}

body.has-support-picker-open {
    overflow: hidden;
}

.pwa-install {
    position: fixed;
    right: max(18px, env(safe-area-inset-right));
    bottom: max(18px, env(safe-area-inset-bottom));
    z-index: 80;
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    width: min(420px, calc(100vw - 32px));
    padding: 12px;
    border: 1px solid rgba(255, 196, 0, 0.32);
    border-radius: 12px;
    color: #ffffff;
    background: #003b0b;
    box-shadow: 0 18px 42px rgba(0, 18, 0, 0.28);
}

.pwa-install__icon,
.pwa-install__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.pwa-install__icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    color: var(--brand-accent);
    background: rgba(255, 255, 255, 0.08);
}

.pwa-install svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pwa-install__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.pwa-install__body strong {
    font-size: 0.92rem;
    line-height: 1.15;
}

.pwa-install__body span,
.pwa-install__body small {
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.78rem;
    line-height: 1.3;
}

.pwa-install__actions {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.pwa-install__primary,
.pwa-install__close {
    min-height: 38px;
    border: 1px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}

.pwa-install__primary {
    padding: 0 14px;
    color: #061106;
    background: var(--brand-accent);
    font-weight: 850;
}

.pwa-install__close {
    width: 38px;
    padding: 0;
    color: rgba(255, 255, 255, 0.86);
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 860px) {
    .app-shell--workspace {
        grid-template-columns: 1fr;
        grid-template-rows: 68px minmax(0, 1fr);
        height: 100dvh;
        align-content: start;
        background: var(--brand);
    }

    .workspace-topbar {
        position: sticky;
        top: 0;
        z-index: 40;
        display: flex;
        align-items: center;
        justify-content: space-between;
        grid-row: 1;
        height: 68px;
        min-height: 0;
        max-height: 68px;
        padding: 0 16px;
        border-bottom: 1px solid rgba(255, 196, 0, 0.14);
        background: rgba(0, 36, 0, 0.92);
        backdrop-filter: blur(14px);
        box-shadow: 0 12px 24px rgba(8, 24, 18, 0.18);
    }

    .workspace-topbar__brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }

    .workspace-topbar__actions {
        display: flex;
        align-items: center;
        gap: 10px;
        min-width: 0;
    }

    .workspace-topbar .brand__logo--light {
        width: 126px;
    }

    .nav-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0;
        width: 44px;
        height: 44px;
        padding: 0;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
        color: #ffffff;
        transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    }

    .nav-toggle:hover,
    .app-shell--workspace.is-nav-open .nav-toggle {
        border-color: rgba(255, 196, 0, 0.34);
        background: rgba(255, 196, 0, 0.12);
    }

    .nav-toggle__icon {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 18px;
        width: 18px;
        height: 18px;
    }

    .nav-toggle__icon span {
        position: absolute;
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
        transition: transform 0.2s ease, opacity 0.2s ease;
    }

    .nav-toggle__icon span:first-child {
        transform: translateY(-5px);
    }

    .nav-toggle__icon span:last-child {
        transform: translateY(5px);
    }

    .app-shell--workspace.is-nav-open .nav-toggle__icon span:first-child {
        transform: rotate(45deg);
    }

    .app-shell--workspace.is-nav-open .nav-toggle__icon span:nth-child(2) {
        opacity: 0;
    }

    .app-shell--workspace.is-nav-open .nav-toggle__icon span:last-child {
        transform: rotate(-45deg);
    }

    .workspace-sidebar {
        position: fixed;
        inset: 12px auto 12px 12px;
        z-index: 45;
        width: min(calc(100vw - 24px), 390px);
        min-height: calc(100vh - 24px);
        max-height: calc(100vh - 24px);
        grid-template-rows: auto auto minmax(0, 1fr) auto auto;
        gap: 16px;
        padding: 12px 14px 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 16px;
        background:
            radial-gradient(circle at top right, rgba(255, 196, 0, 0.12), transparent 24%),
            linear-gradient(180deg, #062706 0%, #001800 100%);
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(-108%);
        opacity: 0;
        transition: transform 0.22s ease, opacity 0.22s ease;
        box-shadow: 18px 0 40px rgba(0, 0, 0, 0.28);
    }

    .app-shell--workspace.is-nav-open .workspace-sidebar {
        transform: translateX(0);
        opacity: 1;
    }

    .nav-scrim {
        position: fixed;
        inset: 0;
        z-index: 44;
        display: block;
        border: 0;
        background: rgba(1, 8, 4, 0.5);
        backdrop-filter: blur(4px);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.2s ease;
    }

    .app-shell--workspace.is-nav-open .nav-scrim {
        opacity: 1;
        pointer-events: auto;
    }

    .app-main--workspace {
        grid-row: 2;
        height: 100%;
        padding: 6px;
        overflow: auto;
        scroll-padding-bottom: max(96px, calc(env(safe-area-inset-bottom) + 84px));
    }

    .workspace-sidebar__art {
        display: none;
    }

    .workspace-sidebar__mobile-head {
        position: sticky;
        top: -12px;
        z-index: 1;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
        min-height: 56px;
        margin: -12px -14px 2px;
        padding: 14px 14px 12px;
        border-bottom: 1px solid rgba(255, 196, 0, 0.18);
        background: linear-gradient(180deg, rgba(6, 39, 6, 0.98), rgba(6, 39, 6, 0.9));
        backdrop-filter: blur(14px);
    }

    .workspace-sidebar__mobile-actions {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .nav-close {
        position: relative;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.08);
    }

    .nav-close span {
        position: absolute;
        width: 16px;
        height: 2px;
        border-radius: 999px;
        background: #ffffff;
    }

    .nav-close span:first-child {
        transform: rotate(45deg);
    }

    .nav-close span:last-child {
        transform: rotate(-45deg);
    }

    .workspace-sidebar__brand {
        display: none;
    }

    .side-nav {
        gap: 10px;
        padding-top: 4px;
    }

    .topbar-company {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        max-width: min(42vw, 190px);
        height: 38px;
        padding: 0 10px;
        border: 1px solid rgba(255, 196, 0, 0.26);
        border-radius: 10px;
        color: #ffffff;
        background: rgba(255, 255, 255, 0.06);
        font-size: 0.82rem;
        font-weight: 800;
        cursor: pointer;
    }

    .topbar-company__name {
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .topbar-company__icon {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 18px;
        color: var(--brand-accent);
    }

    .topbar-company__chevron {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 16px;
        margin-left: -1px;
        color: rgba(255, 255, 255, 0.7);
    }

    .topbar-company__icon svg,
    .topbar-company__chevron svg {
        width: 18px;
        height: 18px;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.9;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .topbar-company__chevron svg {
        width: 16px;
        height: 16px;
    }

    .company-switcher {
        gap: 5px;
        padding: 2px;
        align-self: start;
    }

    .side-nav__label {
        display: none;
    }

    .side-nav__link {
        position: relative;
        grid-template-columns: 32px minmax(0, 1fr);
        min-height: 54px;
        padding: 12px 14px;
        border: 1px solid rgba(255, 255, 255, 0.08);
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.04);
        color: rgba(255, 255, 255, 0.92);
        font-size: 0.96rem;
        transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
    }

    .side-nav__icon {
        width: 30px;
        height: 30px;
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }

    .side-nav__icon svg {
        width: 20px;
        height: 20px;
    }

    .side-nav__link:hover,
    .side-nav__link.is-active {
        transform: translateX(2px);
    }

    .side-nav__link.is-active {
        border-color: rgba(255, 196, 0, 0.52);
        background: linear-gradient(135deg, rgba(255, 196, 0, 0.16), rgba(255, 255, 255, 0.08));
        box-shadow: inset 0 0 0 1px rgba(255, 196, 0, 0.12);
    }

    .side-nav__link.is-active .side-nav__icon {
        background: rgba(255, 255, 255, 0.05);
        color: #ffffff;
    }

    .side-nav__link.is-active::before {
        content: none;
    }

    .side-nav__link > span:not(.side-nav__badge):last-child {
        font-weight: 700;
    }

    .support-card {
        margin-top: 0;
        padding: 16px;
        border: 1px solid rgba(255, 196, 0, 0.34);
        border-radius: 14px;
        background: rgba(0, 18, 0, 0.34);
    }

    .support-card__title {
        font-size: 0.96rem;
    }

    .support-card p {
        color: rgba(255, 255, 255, 0.84);
        font-size: 0.82rem;
    }

    .support-card__button {
        justify-content: center;
        min-height: 38px;
        padding: 0 12px;
        border: 1px solid var(--brand-accent);
        border-radius: 8px;
        color: var(--brand-accent);
        background: transparent;
        font-size: 0.84rem;
        font-weight: 800;
    }

    .portal-link,
    .side-signout {
        font-size: 0.9rem;
    }

    .workspace-sidebar__footer {
        gap: 10px;
        padding-top: 12px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .portal-link {
        padding: 0 4px;
        color: #ffffff;
    }

    .push-notification-link {
        display: inline-flex;
        width: fit-content;
    }

    .sidebar-user {
        grid-template-columns: 42px minmax(0, 1fr) 38px;
        padding: 12px;
        border: 1px solid rgba(255, 255, 255, 0.15);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.08);
    }

    .sidebar-user__avatar {
        width: 42px;
        height: 42px;
        background: rgba(255, 255, 255, 0.13);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    }

    .sidebar-user__logout {
        width: 38px;
        height: 38px;
        border-color: rgba(255, 255, 255, 0.13);
        background: rgba(0, 18, 0, 0.18);
    }
}

@media (max-width: 640px) {
    .app-main--workspace {
        padding: 4px;
    }

    .company-picker {
        align-items: end;
        padding: 0;
    }

    .support-picker {
        align-items: end;
        padding: 0;
    }

    .company-picker__dialog {
        width: 100%;
        height: 72dvh;
        max-height: none;
        padding: 16px;
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 16px 16px 0 0;
    }

    .support-picker__dialog {
        width: 100%;
        max-height: calc(100dvh - 18px);
        padding: 16px 14px max(18px, env(safe-area-inset-bottom));
        border-right: 0;
        border-bottom: 0;
        border-left: 0;
        border-radius: 16px 16px 0 0;
    }

    .company-picker__head h2 {
        font-size: 1.2rem;
    }

    .support-picker__head h2 {
        font-size: 1.2rem;
    }

    .support-picker__head p {
        font-size: 0.84rem;
    }

    .company-picker__item {
        min-height: 56px;
    }

    .support-picker__option {
        grid-template-columns: 44px minmax(0, 1fr) 18px;
        min-height: 72px;
        padding: 10px;
    }

    .support-picker__option-icon {
        width: 44px;
        height: 44px;
    }

    .support-picker__option small {
        font-size: 0.76rem;
    }
}

@media (hover: none) and (pointer: coarse) and (min-width: 861px) {
    .workspace-sidebar {
        grid-template-rows: auto auto auto auto minmax(24px, 1fr) auto;
        gap: 16px;
        height: 100dvh;
        padding: 22px 18px max(22px, env(safe-area-inset-bottom));
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .brand__logo--light {
        width: 154px;
    }

    .side-nav__link {
        min-height: 40px;
        padding: 8px 10px;
    }

    .support-card {
        gap: 8px;
        padding: 12px;
    }

    .support-card p {
        font-size: 0.78rem;
    }

    .support-card__button {
        min-height: 34px;
    }

    .workspace-sidebar__art {
        min-height: 48px;
    }

    .workspace-sidebar__footer {
        padding-bottom: max(8px, env(safe-area-inset-bottom));
    }

    .app-main--workspace {
        scroll-padding-bottom: max(128px, calc(env(safe-area-inset-bottom) + 112px));
    }
}

/* Mobile navigation polish */
@media (max-width: 860px) {
    .workspace-topbar {
        height: 64px;
        max-height: 64px;
        padding: 0 max(14px, env(safe-area-inset-left)) 0 max(14px, env(safe-area-inset-left));
        background:
            radial-gradient(circle at top right, rgba(255, 196, 0, 0.1), transparent 34%),
            rgba(0, 36, 0, 0.96);
    }

    .workspace-topbar .brand__logo--light {
        width: 132px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.1);
    }

    .workspace-sidebar {
        inset: max(8px, env(safe-area-inset-top)) auto max(8px, env(safe-area-inset-bottom)) max(8px, env(safe-area-inset-left));
        display: grid;
        grid-template-rows: auto auto minmax(0, 1fr) auto auto;
        width: min(calc(100vw - 16px), 410px);
        min-height: auto;
        max-height: calc(100dvh - max(8px, env(safe-area-inset-top)) - max(8px, env(safe-area-inset-bottom)));
        gap: 12px;
        padding: 10px;
        border-radius: 18px;
        background:
            radial-gradient(circle at top right, rgba(255, 196, 0, 0.1), transparent 28%),
            linear-gradient(180deg, var(--brand) 0%, var(--brand-strong) 100%);
        box-shadow: 24px 0 52px rgba(0, 0, 0, 0.34);
    }

    .workspace-sidebar__mobile-head {
        top: -10px;
        min-height: 58px;
        margin: -10px -10px 0;
        padding: 12px 12px 10px;
        border-radius: 18px 18px 0 0;
        background: rgba(0, 24, 0, 0.9);
    }

    .nav-close {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }

    .side-nav {
        align-content: start;
        gap: 8px;
        min-height: 0;
        padding: 2px;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .side-nav__link {
        grid-template-columns: 38px minmax(0, 1fr);
        min-height: 58px;
        padding: 10px 12px;
        border-color: rgba(255, 255, 255, 0.1);
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.045);
        box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.02);
    }

    .side-nav__link:hover,
    .side-nav__link.is-active {
        transform: none;
    }

    .side-nav__link.is-active {
        border-color: rgba(255, 196, 0, 0.48);
        background:
            linear-gradient(90deg, rgba(255, 196, 0, 0.16), rgba(255, 255, 255, 0.055));
    }

    .side-nav__link.is-active::after {
        content: "";
        position: absolute;
        right: 12px;
        width: 7px;
        height: 7px;
        border-radius: 999px;
        background: var(--brand-accent);
    }

    .side-nav__icon {
        width: 34px;
        height: 34px;
        border-radius: 12px;
        background: rgba(255, 255, 255, 0.08);
    }

    .side-nav__link > span:not(.side-nav__badge):last-child {
        padding-right: 18px;
        font-size: 0.98rem;
        line-height: 1.15;
    }

    .support-card {
        gap: 8px;
        padding: 13px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.055);
    }

    .support-card p {
        font-size: 0.8rem;
    }

    .support-card__button {
        min-height: 40px;
        border-radius: 10px;
    }

    .workspace-sidebar__footer {
        gap: 10px;
        margin: 0 -2px;
        padding: 10px 2px 0;
    }

    .portal-link {
        min-height: 38px;
        padding: 0 8px;
    }

    .sidebar-user {
        grid-template-columns: 42px minmax(0, 1fr) 40px;
        padding: 10px;
        border-radius: 14px;
        background: rgba(255, 255, 255, 0.085);
    }

    .sidebar-user__avatar {
        width: 42px;
        height: 42px;
    }

    .sidebar-user__logout {
        width: 40px;
        height: 40px;
        border-radius: 12px;
    }
}

/* Final mobile navigation direction: quiet app drawer, close to Calculus brand. */
@media (max-width: 860px) {
    .workspace-topbar {
        height: 62px;
        max-height: 62px;
        padding: 0 14px;
        border-bottom-color: rgba(255, 196, 0, 0.12);
        background: var(--brand);
        box-shadow: none;
    }

    .workspace-topbar .brand__logo--light {
        width: 128px;
    }

    .nav-toggle {
        width: 42px;
        height: 42px;
        border-color: rgba(255, 255, 255, 0.16);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
        box-shadow: none;
    }

    .nav-toggle:hover,
    .app-shell--workspace.is-nav-open .nav-toggle {
        border-color: rgba(255, 196, 0, 0.36);
        background: rgba(255, 255, 255, 0.1);
    }

    .workspace-sidebar {
        inset: 0 auto 0 0;
        width: min(86vw, 360px);
        max-height: 100dvh;
        padding: max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));
        grid-template-rows: auto auto minmax(0, 1fr) auto auto;
        border: 0;
        border-right: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        background: var(--brand);
        box-shadow: 18px 0 42px rgba(0, 0, 0, 0.28);
    }

    .workspace-sidebar__mobile-head {
        position: static;
        min-height: 0;
        margin: 0;
        padding: 4px 2px 12px;
        border: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 0;
        background: transparent;
        backdrop-filter: none;
    }

    .workspace-sidebar__mobile-brand {
        display: inline-flex;
        align-items: center;
        min-width: 0;
    }

    .workspace-sidebar__mobile-brand .brand__logo--light {
        width: 126px;
    }

    .nav-close {
        width: 38px;
        height: 38px;
        border-color: rgba(255, 255, 255, 0.14);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.06);
    }

    .side-nav {
        gap: 4px;
        padding: 8px 0;
    }

    .company-switcher {
        gap: 6px;
        padding: 2px 0 4px;
    }

    .company-switcher__label {
        margin: 0 2px;
        color: var(--brand-accent);
        font-size: 0.7rem;
        letter-spacing: 0.06em;
    }

    .company-switcher__control {
        grid-template-columns: 34px minmax(0, 1fr) 32px;
        min-height: 44px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.055);
    }

    .company-switcher__icon svg,
    .company-switcher__chevron svg {
        width: 18px;
        height: 18px;
    }

    .side-nav__label {
        display: block;
        margin: 4px 10px 8px;
        color: var(--brand-accent);
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .side-nav__link {
        grid-template-columns: 34px minmax(0, 1fr);
        min-height: 48px;
        padding: 7px 10px;
        border: 1px solid transparent;
        border-radius: 8px;
        background: transparent;
        color: rgba(255, 255, 255, 0.84);
        box-shadow: none;
    }

    .side-nav__link.is-active,
    .side-nav__link:hover {
        border-color: rgba(255, 196, 0, 0.3);
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
    }

    .side-nav__link.is-active::after {
        content: none;
    }

    .side-nav__icon {
        width: 30px;
        height: 30px;
        border-radius: 8px;
        color: currentColor;
        background: transparent;
    }

    .side-nav__link.is-active .side-nav__icon {
        color: var(--brand-accent);
        background: rgba(255, 196, 0, 0.1);
    }

    .side-nav__icon svg {
        width: 19px;
        height: 19px;
    }

    .side-nav__link > span:not(.side-nav__badge):last-child {
        padding-right: 0;
        font-size: 0.94rem;
        font-weight: 750;
    }

    .support-card {
        gap: 8px;
        margin: 0;
        padding: 12px;
        border-color: rgba(255, 196, 0, 0.24);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.045);
        box-shadow: none;
    }

    .support-card__title {
        font-size: 0.88rem;
    }

    .support-card p {
        color: rgba(255, 255, 255, 0.68);
        font-size: 0.78rem;
    }

    .support-card__button {
        min-height: 36px;
        border-radius: 6px;
        color: var(--brand-accent);
        background: transparent;
    }

    .workspace-sidebar__footer {
        gap: 8px;
        margin: 0;
        padding: 10px 0 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .portal-link {
        min-height: 36px;
        padding: 0 4px;
        color: rgba(255, 255, 255, 0.82);
        font-size: 0.84rem;
    }

    .sidebar-user {
        grid-template-columns: 38px minmax(0, 1fr) 38px;
        gap: 9px;
        padding: 9px;
        border-color: rgba(255, 255, 255, 0.1);
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.055);
    }

    .sidebar-user__avatar {
        width: 38px;
        height: 38px;
        background: rgba(255, 255, 255, 0.12);
    }

    .sidebar-user__meta strong {
        font-size: 0.84rem;
    }

    .sidebar-user__meta span,
    .sidebar-user__meta a {
        font-size: 0.7rem;
    }

    .sidebar-user__logout {
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: rgba(0, 18, 0, 0.18);
    }

    .pwa-install-trigger:not([hidden]) {
        display: inline-flex;
    }

    .pwa-install {
        right: 8px;
        bottom: max(8px, env(safe-area-inset-bottom));
        left: 8px;
        grid-template-columns: 38px minmax(0, 1fr) auto;
        width: auto;
        padding: 10px;
        border-radius: 10px;
    }

    .pwa-install__icon {
        width: 38px;
        height: 38px;
    }

    .pwa-install__body strong {
        font-size: 0.86rem;
    }

    .pwa-install__body span,
    .pwa-install__body small {
        font-size: 0.74rem;
    }
}
/* Installed mobile app launch screen */
.launch-splash {
    display: none;
}

html.show-launch-splash,
html.show-launch-splash body {
    overflow: hidden;
    background: #003b0b;
}

html.show-launch-splash .launch-splash {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    height: 100dvh;
    padding: max(28px, env(safe-area-inset-top)) 28px max(28px, env(safe-area-inset-bottom));
    color: #fff;
    background: #003b0b;
    opacity: 1;
    transition: opacity 280ms ease;
}

.launch-splash__brand {
    display: flex;
    align-items: center;
    flex-direction: column;
    width: min(230px, 64vw);
}

.launch-splash__brand img {
    display: block;
    width: 100%;
    height: auto;
}

.launch-splash__product {
    margin-top: 13px;
    color: rgba(255, 255, 255, 0.76);
    font-size: 0.76rem;
    font-weight: 750;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.launch-splash__loader {
    position: relative;
    width: 74px;
    height: 2px;
    margin-top: 34px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
}

.launch-splash__loader i {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 38%;
    border-radius: inherit;
    background: #fff;
    animation: launch-splash-progress 900ms ease-in-out infinite;
}

@keyframes launch-splash-progress {
    from { transform: translateX(-110%); }
    to { transform: translateX(300%); }
}

@media (prefers-reduced-motion: reduce) {
    .launch-splash__loader i {
        animation: none;
        transform: translateX(80%);
    }
}

/* Portal gateway import notification
   ------------------------------------------------------------------
   The import runs in a background worker, so this only reports on it. It sits in the
   app shell rather than on one page, so moving around keeps the same toast in view. */

.sync-toast {
    display: none !important;
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 60;
    max-width: min(380px, calc(100vw - 32px));
    pointer-events: none;
}

.sync-toast__card {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr) auto auto;
    align-items: center;
    gap: 12px;
    padding: 14px 14px 14px 16px;
    border: 1px solid #dfe5df;
    border-radius: 12px;
    background: #ffffff;
    box-shadow: 0 16px 40px rgba(0, 22, 0, 0.16);
    pointer-events: auto;
    animation: sync-toast-in 220ms cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes sync-toast-in {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
    .sync-toast__card { animation: none; }
}

.sync-toast__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
}

.sync-toast__glyph { display: none; width: 20px; height: 20px; fill: none; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.sync-toast__icon[data-state="done"] .sync-toast__glyph--done { display: block; stroke: #1f9d52; }
.sync-toast__icon[data-state="error"] .sync-toast__glyph--error { display: block; stroke: #c0392b; }
.sync-toast__icon[data-state="done"] .sync-toast__spinner,
.sync-toast__icon[data-state="error"] .sync-toast__spinner { display: none; }

.sync-toast__spinner {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #d9e4dc;
    border-top-color: #1f9d52;
    animation: sync-toast-spin 700ms linear infinite;
}

@keyframes sync-toast-spin {
    to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
    .sync-toast__spinner { animation-duration: 2.4s; }
}

.sync-toast__body {
    display: grid;
    gap: 2px;
    min-width: 0;
}

.sync-toast__body strong { font-size: 0.9rem; font-weight: 650; color: #0a0f0d; }
.sync-toast__body span { font-size: 0.82rem; color: #5a6b60; overflow-wrap: anywhere; }

.sync-toast__action {
    border: 1px solid #cfe0d4;
    border-radius: 8px;
    padding: 6px 12px;
    background: #f4faf5;
    color: #086c28;
    font: inherit;
    font-size: 0.82rem;
    font-weight: 650;
    cursor: pointer;
}

.sync-toast__action:hover { background: #e9f6ee; }

.sync-toast__close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border: 0;
    border-radius: 7px;
    background: transparent;
    color: #7b8a81;
    cursor: pointer;
}

.sync-toast__close:hover { background: #f0f3f0; color: #30413a; }
.sync-toast__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

@media (max-width: 720px) {
    .sync-toast { right: 12px; left: 12px; bottom: 12px; max-width: none; }
}
.demo-mode-badge {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .34rem .58rem;
    color: #dff7e7;
    background: rgba(31, 157, 77, .2);
    border: 1px solid rgba(126, 220, 158, .45);
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
    white-space: nowrap;
}

.demo-mode-badge svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Keep every sidebar section in normal flow, including the optional demo badge.
   Fixed grid tracks made the support card overflow into the footer on short screens. */
.app-shell--workspace .workspace-sidebar {
    display: flex;
    flex-direction: column;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
}
.app-shell--workspace .workspace-sidebar > * { flex-shrink: 0; }
.app-shell--workspace .workspace-sidebar .side-nav { overflow: visible; }
.app-shell--workspace .workspace-sidebar__footer { margin-top: auto; }
