:root {
    --bg-0: #06141a;
    --bg-1: #102833;
    --surface: rgba(10, 27, 36, 0.75);
    --surface-strong: rgba(13, 34, 45, 0.92);
    --line: rgba(167, 223, 255, 0.2);
    --text: #e7f6ff;
    --muted: #9ab4c2;
    --c-b2b: #64f4c2;
    --c-b2c: #ffcf88;
    --c-admin: #85d2ff;
    --c-sscc: #ffbf6a;
    --c-time: #ffc36d;
    --c-bc: #70ccff;
    --c-base: #ff8f66;
    --c-bdo: #9cf08f;
    --c-inventory: #8dd8ff;
    --shadow: 0 16px 44px rgba(0, 0, 0, 0.35);
    --stats-ring-1: #8fe3ff;
    --stats-ring-2: #6cf3c3;
    --stats-ring-3: #ffd07e;
    --stats-ring-4: #ffb07d;
    --stats-ring-5: #f4ee98;
    --stats-ring-6: #c8b2ff;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    min-height: 100%;
}

body {
    font-family: "Space Grotesk", sans-serif;
    color: var(--text);
    background:
        radial-gradient(1100px 480px at -15% -10%, rgba(106, 239, 190, 0.25), transparent 55%),
        radial-gradient(900px 500px at 110% -20%, rgba(133, 209, 255, 0.24), transparent 58%),
        linear-gradient(145deg, var(--bg-0), var(--bg-1));
    position: relative;
    overflow-x: hidden;
}

@keyframes b2b-orbit-ring {

    0%,
    100% {
        transform: rotate(0deg) scale(1);
        opacity: 0.78;
    }

    50% {
        transform: rotate(18deg) scale(1.05);
        opacity: 1;
    }
}

@keyframes b2b-route-sweep {
    0% {
        background-position: -340px 0, -260px 0;
    }

    100% {
        background-position: 340px 0, 260px 0;
    }
}

@keyframes b2b-network-breathe {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.82;
    }

    50% {
        transform: translateY(-2px) scale(1.03);
        opacity: 1;
    }
}

@keyframes b2b-signal-line {
    0% {
        transform: translateX(-175%) skewX(-6deg);
        opacity: 0;
    }

    22% {
        opacity: 0.74;
    }

    78% {
        opacity: 0.74;
    }

    100% {
        transform: translateX(250%) skewX(-6deg);
        opacity: 0;
    }
}

@keyframes b2b-panel-float {

    0%,
    100% {
        transform: rotate(-10deg) translate(0, 0) scale(1);
        opacity: 0.86;
    }

    50% {
        transform: rotate(-8deg) translate(-8px, 6px) scale(1.03);
        opacity: 1;
    }
}

@keyframes b2b-watermark-drift {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.19;
    }

    50% {
        transform: translate(-8px, -6px);
        opacity: 0.28;
    }
}

@keyframes b2c-spectrum-shift {

    0%,
    100% {
        background-position: 92% -22%, -12% 118%, 76% 14%, 0 0;
    }

    45% {
        background-position: 84% -14%, -4% 108%, 68% 30%, 0 0;
    }

    78% {
        background-position: 98% -30%, -18% 124%, 84% 6%, 0 0;
    }
}

@keyframes b2c-halo-spin {
    0% {
        transform: translate(0, 0) rotate(-10deg) scale(1);
        opacity: 0.66;
    }

    50% {
        transform: translate(-14px, 10px) rotate(-2deg) scale(1.08);
        opacity: 0.94;
    }

    100% {
        transform: translate(0, 0) rotate(-10deg) scale(1);
        opacity: 0.66;
    }
}

@keyframes b2c-watermark-drift {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(-8deg) scale(1);
        opacity: 0.22;
    }

    50% {
        transform: translate(calc(-50% - 11px), calc(-50% - 8px)) rotate(-11deg) scale(1.04);
        opacity: 0.34;
    }
}

@keyframes b2b-grid-pan {
    from {
        background-position: 0 0, 0 0, 0 0;
    }

    to {
        background-position: 56px 28px, -42px 0, 180px 0;
    }
}

@keyframes crm-watermark-drift {

    0%,
    100% {
        transform: translate(0, 0) rotate(-5deg);
        opacity: 0.18;
    }

    50% {
        transform: translate(-6px, -8px) rotate(-7deg);
        opacity: 0.26;
    }
}

@keyframes hr-watermark-drift {

    0%,
    100% {
        transform: translate(-50%, -50%) rotate(-6deg);
        opacity: 0.16;
    }

    50% {
        transform: translate(calc(-50% - 5px), calc(-50% - 7px)) rotate(-8deg);
        opacity: 0.24;
    }
}

@keyframes b2b-beam-scan {
    0% {
        transform: translateX(-170%) skewX(-8deg);
        opacity: 0;
    }

    18% {
        opacity: 0.86;
    }

    82% {
        opacity: 0.82;
    }

    100% {
        transform: translateX(250%) skewX(-8deg);
        opacity: 0;
    }
}

.bg-orb {
    position: fixed;
    border-radius: 999px;
    filter: blur(62px);
    z-index: 0;
    pointer-events: none;
}

.bg-orb--left {
    width: 360px;
    height: 360px;
    left: -120px;
    bottom: -60px;
    background: rgba(103, 255, 203, 0.2);
}

.bg-orb--right {
    width: 420px;
    height: 420px;
    right: -170px;
    top: 60px;
    background: rgba(105, 177, 255, 0.2);
}

.dashboard {
    position: relative;
    z-index: 1;
    width: min(1180px, 92vw);
    margin: 0 auto;
    padding: 20px 0 72px;
}

.dashboard-footer {
    margin-top: 22px;
    padding: 12px 16px;
    border: 1px solid rgba(167, 223, 255, 0.2);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(132, 221, 255, 0.1), rgba(114, 255, 209, 0.06));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px 16px;
}

.dashboard-footer__copy,
.dashboard-footer__owner {
    margin: 0;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
    color: #c5deec;
}

.dashboard__header {
    position: relative;
    margin-bottom: 24px;
}

.header-topbar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    padding: 15px 0;
    z-index: 1000;
    /*background: rgba(255, 255, 255, 0.04);*/
}


.weather-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 40px;
    padding: 0.42rem 0.68rem;
    border-radius: 14px;
    border: 1px solid rgba(179, 231, 255, 0.24);
    background: linear-gradient(145deg, rgba(132, 221, 255, 0.12), rgba(114, 255, 209, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    flex: 1 1 300px;
    max-width: 370px;
}

.weather-chip__icon {
    position: relative;
    width: 48px;
    height: 30px;
    flex: 0 0 auto;
}

.weather-chip__sun {
    position: absolute;
    left: 0;
    top: 2px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff7bf, #ffca63 70%);
    box-shadow: 0 0 18px rgba(255, 190, 104, 0.55);
    animation: weather-sun-pulse 2.3s ease-in-out infinite;
    transition: opacity 240ms ease;
}

.weather-chip__cloud {
    position: absolute;
    right: 0;
    top: 8px;
    width: 30px;
    height: 14px;
    border-radius: 999px;
    background: linear-gradient(145deg, #edf8ff, #b5d8ea);
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.16);
    animation: weather-cloud-float 3s ease-in-out infinite;
    transition: opacity 240ms ease;
}

.weather-chip__cloud::before,
.weather-chip__cloud::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: inherit;
}

.weather-chip__cloud::before {
    width: 14px;
    height: 14px;
    left: 4px;
    top: -7px;
}

.weather-chip__cloud::after {
    width: 12px;
    height: 12px;
    right: 4px;
    top: -5px;
}

.weather-chip__drop {
    position: absolute;
    bottom: -2px;
    width: 3px;
    height: 7px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(130, 220, 255, 0.95), rgba(74, 153, 232, 0.8));
    opacity: 0;
    transform: translateY(0);
}

.weather-chip__drop--one {
    left: 20px;
}

.weather-chip__drop--two {
    left: 28px;
}

.weather-chip__drop--three {
    left: 36px;
}

.weather-chip__text {
    display: inline-flex;
    flex-direction: column;
    min-width: 0;
}

.weather-chip__label {
    font-family: "Sora", sans-serif;
    font-size: 0.66rem;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: #bde6f8;
}

.weather-chip__value {
    font-size: 0.85rem;
    color: #f2fbff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.weather-chip[data-weather="clear"] .weather-chip__cloud {
    opacity: 0.65;
}

.weather-chip[data-weather="clear"] .weather-chip__drop {
    opacity: 0;
}

.weather-chip[data-weather="cloudy"] .weather-chip__sun,
.weather-chip[data-weather="fog"] .weather-chip__sun {
    opacity: 0.35;
}

.weather-chip[data-weather="rain"] .weather-chip__sun,
.weather-chip[data-weather="storm"] .weather-chip__sun,
.weather-chip[data-weather="snow"] .weather-chip__sun {
    opacity: 0.2;
}

.weather-chip[data-weather="rain"] .weather-chip__drop,
.weather-chip[data-weather="storm"] .weather-chip__drop,
.weather-chip[data-weather="snow"] .weather-chip__drop {
    opacity: 1;
    animation: weather-rain-fall 900ms ease-in infinite;
}

.weather-chip[data-weather="rain"] .weather-chip__drop--two,
.weather-chip[data-weather="storm"] .weather-chip__drop--two,
.weather-chip[data-weather="snow"] .weather-chip__drop--two {
    animation-delay: 120ms;
}

.weather-chip[data-weather="rain"] .weather-chip__drop--three,
.weather-chip[data-weather="storm"] .weather-chip__drop--three,
.weather-chip[data-weather="snow"] .weather-chip__drop--three {
    animation-delay: 240ms;
}

.weather-chip[data-weather="snow"] .weather-chip__drop {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(234, 247, 255, 0.92);
}

.weather-chip[data-weather="fog"] .weather-chip__drop {
    opacity: 0;
}

.weather-chip[data-daytime="night"] {
    border-color: rgba(150, 205, 255, 0.3);
    background: linear-gradient(145deg, rgba(108, 163, 231, 0.2), rgba(78, 114, 179, 0.14));
}

.weather-chip[data-daytime="night"] .weather-chip__sun {
    background: radial-gradient(circle at 30% 30%, #f6f8ff, #b8c7ff 72%);
    box-shadow: 0 0 16px rgba(158, 181, 255, 0.5);
}

.header-utilities {
    margin-left: auto;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0;
    padding-right: 0;
}

.header-controls {
    margin-left: auto;
}

.header-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.user-orb {
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
    margin-left: 20px;
}

@media screen and (max-width: 1200px) {
    .user-orb {
        position: absolute;
        top: 5px;
        right: 10px;
    }

    .eyebrow {
        margin-bottom: 15px !important;
        font-size: 1em !important;
    }

    .eyebrow-logo {
        width: 46px;
        height: 46px;
    }

}

.user-orb__badge {
    position: absolute;
    top: -4px;
    right: -3px;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: linear-gradient(145deg, #ff856a, #ff4f59);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: "Sora", sans-serif;
    font-size: 0.64rem;
    line-height: 1;
    letter-spacing: 0.02em;
    padding: 0 4px;
    box-shadow: 0 6px 14px rgba(12, 2, 8, 0.42);
}

.user-orb__badge[hidden] {
    display: none;
}

.user-orb__avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(179, 231, 255, 0.34);
    background: linear-gradient(145deg, rgba(132, 221, 255, 0.18), rgba(114, 255, 209, 0.1));
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        0 8px 20px rgba(3, 13, 18, 0.34);
    color: #dff5ff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.user-orb__icon {
    width: 22px;
    height: 22px;
    display: block;
}

.user-orb__initials {
    font-family: "Sora", sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.04em;
}

.user-orb__avatar[data-state="guest"] .user-orb__initials,
.user-orb__avatar[data-state="user"] .user-orb__icon {
    display: none;
}

.user-orb__avatar[data-state="user"] {
    color: #081e28;
    border-color: rgba(179, 240, 213, 0.58);
    background: linear-gradient(145deg, #95f3cf, #7dc2ff);
}

.user-orb:hover .user-orb__avatar,
.user-orb:focus-visible .user-orb__avatar {
    transform: translateY(-1px) scale(1.02);
    border-color: rgba(190, 236, 255, 0.6);
    color: #ffffff;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.16),
        0 10px 24px rgba(2, 14, 20, 0.42);
}

.user-orb:focus-visible {
    outline: 2px solid rgba(140, 230, 255, 0.72);
    outline-offset: 2px;
}

.header-clock {
    width: clamp(278px, 24vw, 348px);
    height: clamp(278px, 24vw, 348px);
    border-radius: 50%;
    padding: 0;
    border: 0;
    background: transparent;
    backdrop-filter: none;
    box-shadow: none;
    position: absolute;
    top: clamp(86px, 12%, 125px);
    right: clamp(2%, 5.5vw, 4%);
    transform: translate(45px, -30px);
    z-index: 1000;
    pointer-events: auto;
}

.header-clock__face {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 0;
    background: transparent;
}

.header-clock__marker {
    --marker-size: 12px;
    position: absolute;
    left: 50%;
    top: 50%;
    width: 2px;
    height: var(--marker-size);
    border-radius: 999px;
    transform: translate(-50%, -50%) rotate(var(--marker-angle)) translateY(-123px);
    background: rgba(255, 238, 216, 0.78);
    box-shadow: 0 0 8px rgba(255, 214, 164, 0.45);
}

.header-clock__marker--major {
    --marker-size: 24px;
    width: 4px;
    background: rgba(255, 247, 236, 0.95);
    box-shadow: 0 0 10px rgba(255, 223, 182, 0.55);
}

.header-clock__timezone {
    position: absolute;
    left: 43%;
    top: 25%;
    transform: translate(-18%, -50%);
    z-index: 0;
}

.header-clock__timezone-select {
    min-width: 66px;
    height: 30px;
    padding: 0 26px 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 214, 164, 0.48);
    background: rgba(43, 25, 14, 0.52);
    color: #ffebd1;
    font-family: "Sora", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.06em;
    cursor: pointer;
    backdrop-filter: blur(6px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.24);
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, #ffdcb1 50%),
        linear-gradient(135deg, #ffdcb1 50%, transparent 50%);
    background-position:
        calc(100% - 14px) 12px,
        calc(100% - 9px) 12px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
}

.header-clock__timezone-select:focus-visible {
    outline: 2px solid rgba(247, 167, 54, 0.72);
    outline-offset: 1px;
}

.header-clock__hand {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -100%) rotate(0deg);
    transform-origin: 50% 100%;
    border-radius: 999px;
    box-shadow: 0 0 11px rgba(255, 217, 169, 0.46);
}

.header-clock__hand--hour {
    width: 5px;
    height: 66px;
    background: linear-gradient(180deg, rgba(255, 247, 235, 0.96), rgba(255, 205, 143, 0.95));
}

.header-clock__hand--minute {
    width: 3px;
    height: 100px;
    background: linear-gradient(180deg, rgba(255, 248, 238, 0.96), rgba(255, 215, 159, 0.92));
}

.header-clock__hand--second {
    width: 2px;
    height: 112px;
    background: linear-gradient(180deg, rgba(255, 243, 225, 0.98), rgba(255, 183, 109, 0.9));
    box-shadow: 0 0 10px rgba(255, 201, 132, 0.52);
}

.header-clock__center {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    background: #ffe5c5;
    box-shadow: none;
}

.quick-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.35rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(179, 231, 255, 0.24);
    background: linear-gradient(145deg, rgba(132, 221, 255, 0.12), rgba(114, 255, 209, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: #d8f0ff;
    text-decoration: none;
    font-family: "Sora", sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.03em;
    transition: transform 180ms ease, border-color 180ms ease, color 180ms ease;
}

.quick-link--button {
    appearance: none;
    line-height: 1;
    cursor: pointer;
}

.quick-link:hover,
.quick-link:focus-visible {
    transform: translateY(-1px);
    border-color: rgba(180, 235, 255, 0.5);
    color: #f4fdff;
}

.quick-link:focus-visible {
    outline: 2px solid rgba(140, 230, 255, 0.7);
    outline-offset: 2px;
}

.language-switch {
    display: inline-flex;
    gap: 6px;
    padding: 5px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(12px);
}

.language-switch__btn {
    border: 0;
    border-radius: 999px;
    padding: 0.32rem 0.72rem;
    font-family: "Sora", sans-serif;
    font-size: 0.76rem;
    letter-spacing: 0.06em;
    color: #d3e8f5;
    background: transparent;
    cursor: pointer;
    transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

.language-switch__btn:hover {
    color: #f4fdff;
    transform: translateY(-1px);
}

.language-switch__btn:focus-visible {
    outline: 2px solid rgba(140, 230, 255, 0.75);
    outline-offset: 1px;
}

.language-switch__btn.is-active {
    color: #07161d;
    background: linear-gradient(145deg, #8ce9ff, #6af4bf);
}

body.auth-lock {
    overflow: hidden;
}

.auth-popup {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(4, 12, 18, 0.72);
    backdrop-filter: blur(8px);
}

.auth-popup[hidden] {
    display: none !important;
}

.auth-popup__card {
    width: min(430px, 100%);
    border-radius: 18px;
    border: 1px solid rgba(154, 225, 255, 0.28);
    background:
        radial-gradient(460px circle at 0% -20%, rgba(107, 245, 197, 0.18), transparent 58%),
        radial-gradient(420px circle at 100% -20%, rgba(117, 201, 255, 0.16), transparent 58%),
        var(--surface-strong);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    overflow: hidden;
}

.auth-popup__header {
    display: block;
    align-items: start;
    padding: 16px 16px 12px;
    border-bottom: 1px solid rgba(146, 212, 240, 0.2);
}

.auth-popup__header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.language-switch--auth {
    gap: 4px;
    padding: 3px;
    border-color: rgba(163, 227, 255, 0.28);
    background: rgba(6, 23, 35, 0.44);
    flex-shrink: 0;
}

.language-switch--auth .language-switch__btn {
    font-size: 0.68rem;
    letter-spacing: 0.05em;
    padding: 0.24rem 0.58rem;
    min-width: 40px;
}

.auth-popup__tag {
    margin: 0;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ed2ea;
}

.auth-popup__header h2 {
    margin: 9px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    color: #f1fbff;
}

.auth-popup__desc {
    margin: 6px 0 0;
    font-size: 0.82rem;
    color: #a8c9d9;
}

.auth-popup__content {
    padding: 14px 16px 16px;
    display: grid;
    gap: 12px;
}

.auth-popup__form {
    display: grid;
    gap: 8px;
}

.auth-popup__label {
    font-size: 0.78rem;
    letter-spacing: 0.03em;
    color: #c5e2f0;
}

.auth-popup__input,
.auth-popup__submit {
    min-height: 44px;
    border-radius: 12px;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.9rem;
}

.auth-popup__input {
    border: 1px solid rgba(163, 227, 255, 0.26);
    background: rgba(255, 255, 255, 0.07);
    color: #eaf8ff;
    padding: 0 12px;
}

.auth-popup__input::placeholder {
    color: #9ec2d4;
}

.auth-popup__input:focus,
.auth-popup__submit:focus-visible {
    outline: 2px solid rgba(129, 227, 255, 0.6);
    outline-offset: 1px;
}

.auth-popup__submit {
    border: 0;
    color: #08202b;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: filter 180ms ease;
}

.auth-popup__submit {
    margin-top: 4px;
    background: linear-gradient(145deg, #95f3cf, #7dc2ff);
}

.auth-popup__submit:hover,
.auth-popup__submit:focus-visible {
    filter: brightness(1.04);
}

.auth-popup__status {
    margin: 0;
    min-height: 1.2em;
    color: #8ce9ff;
    font-size: 0.79rem;
}

.auth-popup__status.is-error {
    color: #ffb9b0;
}

.auth-popup__status.is-success {
    color: #b9ffde;
}

.notifications-popup {
    position: fixed;
    left: 20px;
    bottom: 20px;
    z-index: 32;
    width: min(430px, calc(100vw - 26px));
    max-height: min(78vh, 720px);
    border-radius: 18px;
    border: 1px solid rgba(154, 225, 255, 0.28);
    background:
        radial-gradient(460px circle at 0% -20%, rgba(107, 245, 197, 0.18), transparent 58%),
        radial-gradient(420px circle at 100% -20%, rgba(117, 201, 255, 0.16), transparent 58%),
        var(--surface-strong);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-rows: auto auto minmax(120px, 1fr);
    overflow: hidden;
}

.notifications-popup[hidden] {
    display: none;
}

.notifications-popup__header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 10px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(146, 212, 240, 0.2);
}

.notifications-popup__tag {
    margin: 0 0 5px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ed2ea;
}

.notifications-popup__header h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    color: #f1fbff;
}

.notifications-popup__subtitle {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: #a8c9d9;
}

.notifications-popup__close {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(189, 235, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: #dff5ff;
    font-size: 1rem;
    cursor: pointer;
}

.notifications-popup__close:hover,
.notifications-popup__close:focus-visible {
    border-color: rgba(188, 236, 255, 0.6);
    color: #ffffff;
}

.notifications-popup__close:focus-visible {
    outline: 2px solid rgba(140, 230, 255, 0.72);
    outline-offset: 1px;
}

.notifications-install {
    margin: 0 12px 10px;
    border: 1px solid rgba(164, 230, 255, 0.28);
    border-radius: 12px;
    background: linear-gradient(150deg, rgba(101, 217, 255, 0.1), rgba(112, 255, 198, 0.08));
    padding: 10px;
    display: grid;
    gap: 8px;
}

.notifications-install[hidden] {
    display: none;
}

.notifications-install__heading {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.8rem;
    color: #d8f3ff;
}

.notifications-install__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.notifications-install__primary,
.notifications-install__secondary {
    min-height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(188, 236, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #e7f8ff;
    font-family: "Sora", sans-serif;
    font-size: 0.73rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0 10px;
}

.notifications-install__primary:hover,
.notifications-install__primary:focus-visible,
.notifications-install__secondary:hover,
.notifications-install__secondary:focus-visible {
    border-color: rgba(188, 236, 255, 0.62);
    color: #ffffff;
}

.notifications-install__hint {
    margin: 0;
    min-height: 1.2em;
    color: #9ed9f4;
    font-size: 0.76rem;
}

.pwa-ios-guide {
    position: fixed;
    inset: 0;
    z-index: 2150;
    display: grid;
    place-items: center;
    padding: 16px;
    background: rgba(3, 14, 22, 0.66);
    backdrop-filter: blur(5px);
}

.pwa-ios-guide[hidden] {
    display: none;
}

.pwa-ios-guide__card {
    width: min(100%, 470px);
    border-radius: 16px;
    border: 1px solid rgba(161, 226, 255, 0.36);
    background: linear-gradient(165deg, rgba(14, 42, 56, 0.96), rgba(10, 26, 40, 0.95));
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
    padding: 14px;
    display: grid;
    gap: 10px;
}

.pwa-ios-guide__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.pwa-ios-guide__tag {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fd9ff;
}

.pwa-ios-guide__title {
    margin: 6px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    color: #ecf8ff;
}

.pwa-ios-guide__close {
    min-width: 32px;
    min-height: 32px;
    border-radius: 9px;
    border: 1px solid rgba(188, 236, 255, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #e7f8ff;
    cursor: pointer;
}

.pwa-ios-guide__close:hover,
.pwa-ios-guide__close:focus-visible {
    border-color: rgba(188, 236, 255, 0.62);
    color: #ffffff;
}

.pwa-ios-guide__desc {
    margin: 0;
    color: #b4d9ea;
    font-size: 0.86rem;
    line-height: 1.45;
}

.pwa-ios-guide__steps {
    margin: 0;
    padding-left: 18px;
    display: grid;
    gap: 6px;
    color: #d9f3ff;
    font-size: 0.82rem;
}

.pwa-ios-guide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pwa-ios-guide__primary,
.pwa-ios-guide__secondary {
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(188, 236, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #e7f8ff;
    font-family: "Sora", sans-serif;
    font-size: 0.77rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0 12px;
}

.pwa-ios-guide__primary {
    background: linear-gradient(135deg, rgba(101, 217, 255, 0.36), rgba(112, 255, 198, 0.24));
    border-color: rgba(153, 241, 255, 0.56);
}

.pwa-ios-guide__primary:hover,
.pwa-ios-guide__primary:focus-visible,
.pwa-ios-guide__secondary:hover,
.pwa-ios-guide__secondary:focus-visible {
    border-color: rgba(188, 236, 255, 0.62);
    color: #ffffff;
}

.pwa-ios-guide__hint {
    margin: 0;
    min-height: 1.2em;
    color: #9ed9f4;
    font-size: 0.78rem;
}

.system-notifications-prompt {
    position: fixed;
    inset: 0;
    z-index: 2200;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(3, 14, 22, 0.72);
    backdrop-filter: blur(6px);
}

.system-notifications-prompt[hidden] {
    display: none;
}

.system-notifications-prompt__card {
    width: min(100%, 460px);
    border-radius: 16px;
    border: 1px solid rgba(161, 226, 255, 0.36);
    background: linear-gradient(165deg, rgba(14, 42, 56, 0.96), rgba(10, 26, 40, 0.94));
    box-shadow: 0 20px 54px rgba(0, 0, 0, 0.42);
    padding: 16px;
    display: grid;
    gap: 10px;
}

.system-notifications-prompt__tag {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #8fd9ff;
}

.system-notifications-prompt__title {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    color: #ecf8ff;
}

.system-notifications-prompt__desc {
    margin: 0;
    color: #b4d9ea;
    font-size: 0.86rem;
    line-height: 1.45;
}

.system-notifications-prompt__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.system-notifications-prompt__primary,
.system-notifications-prompt__secondary {
    min-height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(188, 236, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
    color: #e7f8ff;
    font-family: "Sora", sans-serif;
    font-size: 0.77rem;
    letter-spacing: 0.02em;
    cursor: pointer;
    padding: 0 12px;
}

.system-notifications-prompt__primary {
    background: linear-gradient(135deg, rgba(101, 217, 255, 0.38), rgba(112, 255, 198, 0.26));
    border-color: rgba(153, 241, 255, 0.56);
}

.system-notifications-prompt__primary:hover,
.system-notifications-prompt__primary:focus-visible,
.system-notifications-prompt__secondary:hover,
.system-notifications-prompt__secondary:focus-visible {
    border-color: rgba(188, 236, 255, 0.62);
    color: #ffffff;
}

.system-notifications-prompt__hint {
    margin: 0;
    min-height: 1.2em;
    color: #9ed9f4;
    font-size: 0.78rem;
}

.notifications-popup__toolbar {
    padding: 12px;
    border-bottom: 1px solid rgba(146, 212, 240, 0.2);
    display: grid;
    gap: 10px;
}

.notifications-popup__unread {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.8rem;
    color: #c2e9ff;
}

.notifications-popup__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.notifications-popup__action {
    min-height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(188, 236, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
    color: #e3f6ff;
    font-family: "Sora", sans-serif;
    font-size: 0.73rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    padding: 0 10px;
}

.notifications-popup__action:hover,
.notifications-popup__action:focus-visible {
    border-color: rgba(188, 236, 255, 0.6);
    color: #fff;
}

.notifications-popup__action--danger {
    border-color: rgba(255, 180, 175, 0.3);
    color: #ffd8d0;
}

.notifications-popup__action:disabled {
    opacity: 0.58;
    cursor: not-allowed;
}

.notifications-popup__content {
    padding: 10px 12px 12px;
    display: grid;
    gap: 8px;
    min-height: 0;
}

.notifications-popup__status {
    margin: 0;
    min-height: 1.2em;
    color: #8ce9ff;
    font-size: 0.79rem;
}

.notifications-popup__status.is-error {
    color: #ffb9b0;
}

.notifications-popup__status.is-success {
    color: #b9ffde;
}

.notifications-popup__list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 8px;
    overflow-y: auto;
    min-height: 40px;
    max-height: min(48vh, 460px);
    scrollbar-width: thin;
    scrollbar-color: rgba(126, 219, 255, 0.7) rgba(8, 29, 39, 0.45);
}

.notifications-popup__list.is-busy {
    opacity: 0.8;
}

.notifications-popup__list::-webkit-scrollbar {
    width: 10px;
}

.notifications-popup__list::-webkit-scrollbar-track {
    background: rgba(8, 29, 39, 0.45);
    border-radius: 999px;
}

.notifications-popup__list::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid rgba(8, 29, 39, 0.45);
    background: linear-gradient(180deg, rgba(162, 229, 255, 0.95), rgba(76, 206, 255, 0.95));
}

.notifications-item {
    display: block;
}

.notifications-item__card {
    border: 1px solid rgba(160, 228, 255, 0.22);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    display: grid;
    gap: 8px;
}

.notifications-item:not(.is-read) .notifications-item__card {
    border-color: rgba(177, 240, 213, 0.4);
    background: linear-gradient(155deg, rgba(116, 237, 189, 0.16), rgba(117, 201, 255, 0.1));
}

.notifications-item__top {
    display: grid;
    gap: 3px;
}

.notifications-item__title {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.86rem;
    color: #f2fbff;
}

.notifications-item__meta {
    margin: 0;
    color: #9ec2d4;
    font-size: 0.74rem;
    letter-spacing: 0.02em;
}

.notifications-item__body {
    margin: 0;
    color: #cee5f2;
    font-size: 0.8rem;
    line-height: 1.4;
}

.notifications-item__actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.notifications-item__delete,
.notifications-item__open {
    min-height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(188, 236, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    color: #dcf1ff;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    padding: 0 9px;
}

.notifications-item__reply {
    min-height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(188, 236, 255, 0.28);
    background: rgba(255, 255, 255, 0.07);
    color: #dcf1ff;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    cursor: pointer;
    padding: 0 9px;
}

.notifications-item__reply-wrap {
    margin-top: 6px;
    border: 1px solid rgba(188, 236, 255, 0.2);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 8px;
    display: grid;
    gap: 7px;
}

.notifications-item__reply-wrap[hidden] {
    display: none !important;
}

.notifications-item__reply-input {
    min-height: 72px;
    width: 100%;
    resize: vertical;
    border-radius: 8px;
    border: 1px solid rgba(188, 236, 255, 0.26);
    background: rgba(255, 255, 255, 0.07);
    color: #e7f7ff;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.82rem;
    padding: 8px 9px;
}

.notifications-item__reply-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    flex-wrap: wrap;
}

.notifications-item__reply-send,
.notifications-item__reply-cancel {
    min-height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(188, 236, 255, 0.26);
    background: rgba(255, 255, 255, 0.08);
    color: #e3f6ff;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    cursor: pointer;
    padding: 0 10px;
}

.notifications-item__delete {
    border-color: rgba(255, 180, 175, 0.3);
    color: #ffd8d0;
}

.notifications-item__delete:hover,
.notifications-item__delete:focus-visible,
.notifications-item__open:hover,
.notifications-item__open:focus-visible,
.notifications-item__reply:hover,
.notifications-item__reply:focus-visible,
.notifications-item__reply-send:hover,
.notifications-item__reply-send:focus-visible,
.notifications-item__reply-cancel:hover,
.notifications-item__reply-cancel:focus-visible {
    border-color: rgba(188, 236, 255, 0.6);
    color: #fff;
}

.notifications-popup__empty {
    margin: 0;
    font-size: 0.8rem;
    color: #b6d5e5;
    text-align: center;
    padding: 8px;
}

.bcg-ai-popup {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 30;
    width: min(420px, calc(100vw - 26px));
    max-height: min(76vh, 720px);
    border-radius: 18px;
    border: 1px solid rgba(154, 225, 255, 0.28);
    background:
        radial-gradient(460px circle at 0% -20%, rgba(107, 245, 197, 0.18), transparent 58%),
        radial-gradient(420px circle at 100% -20%, rgba(117, 201, 255, 0.16), transparent 58%),
        var(--surface-strong);
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(14px);
    display: grid;
    grid-template-rows: auto minmax(180px, 1fr) auto;
    overflow: hidden;
}

.bcg-ai-popup[hidden] {
    display: none;
}

.bcg-ai-popup__header {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 10px;
    padding: 14px 14px 12px;
    border-bottom: 1px solid rgba(146, 212, 240, 0.2);
}

.bcg-ai-popup__staff-tag {
    margin: 0 0 5px;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ed2ea;
}

.bcg-ai-popup__header h2 {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 1.02rem;
    color: #f1fbff;
}

.bcg-ai-popup__expert {
    margin: 4px 0 0;
    font-size: 0.82rem;
    color: #a8c9d9;
}

.bcg-ai-popup__close {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(189, 235, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: #dff5ff;
    font-size: 1rem;
    cursor: pointer;
}

.bcg-ai-popup__close:hover,
.bcg-ai-popup__close:focus-visible {
    border-color: rgba(188, 236, 255, 0.6);
    color: #ffffff;
}

.bcg-ai-popup__close:focus-visible {
    outline: 2px solid rgba(140, 230, 255, 0.72);
    outline-offset: 1px;
}

.bcg-ai-popup__messages {
    padding: 12px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    scrollbar-width: thin;
    scrollbar-color: rgba(126, 219, 255, 0.7) rgba(8, 29, 39, 0.45);
}

.bcg-ai-popup__messages::-webkit-scrollbar,
.bcg-ai-popup__input::-webkit-scrollbar {
    width: 10px;
}

.bcg-ai-popup__messages::-webkit-scrollbar-track,
.bcg-ai-popup__input::-webkit-scrollbar-track {
    background: rgba(8, 29, 39, 0.45);
    border-radius: 999px;
}

.bcg-ai-popup__messages::-webkit-scrollbar-thumb,
.bcg-ai-popup__input::-webkit-scrollbar-thumb {
    border-radius: 999px;
    border: 2px solid rgba(8, 29, 39, 0.45);
    background: linear-gradient(180deg, rgba(130, 236, 255, 0.95), rgba(96, 239, 198, 0.95));
}

.bcg-ai-popup__messages::-webkit-scrollbar-thumb:hover,
.bcg-ai-popup__input::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(160, 243, 255, 1), rgba(115, 246, 212, 1));
}

.bcg-ai-message {
    width: 100%;
}

.bcg-ai-message__author {
    margin: 0 0 4px;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #9fcce1;
}

.bcg-ai-message__bubble {
    margin: 0;
    max-width: 95%;
    padding: 9px 11px;
    border-radius: 12px;
    font-size: 0.88rem;
    line-height: 1.35;
    color: #e6f8ff;
    white-space: pre-wrap;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(173, 230, 255, 0.18);
}

.bcg-ai-message--assistant .bcg-ai-message__bubble {
    background: linear-gradient(145deg, rgba(113, 200, 255, 0.14), rgba(113, 243, 201, 0.12));
}

.bcg-ai-message--user {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.bcg-ai-message--user .bcg-ai-message__author {
    color: #b8f2dc;
}

.bcg-ai-message--user .bcg-ai-message__bubble {
    background: linear-gradient(145deg, rgba(84, 227, 171, 0.18), rgba(85, 163, 218, 0.14));
    border-color: rgba(150, 245, 209, 0.32);
}

.bcg-ai-message--typing .bcg-ai-message__bubble {
    border-style: dashed;
}

.bcg-ai-popup__form {
    padding: 10px;
    border-top: 1px solid rgba(146, 212, 240, 0.2);
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 8px;
}

.bcg-ai-popup__attachment {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 54px 1fr auto;
    align-items: center;
    gap: 9px;
    border-radius: 12px;
    border: 1px solid rgba(170, 229, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    padding: 6px;
}

.bcg-ai-popup__attachment[hidden] {
    display: none !important;
}

.bcg-ai-popup__attachment-image {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border-radius: 9px;
    border: 1px solid rgba(179, 231, 255, 0.28);
    display: block;
}

.bcg-ai-popup__attachment-meta {
    color: #d9effb;
    font-size: 0.76rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.bcg-ai-popup__attachment-remove {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(189, 235, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
    color: #dbf1fc;
    cursor: pointer;
}

.bcg-ai-popup__attachment-remove:hover,
.bcg-ai-popup__attachment-remove:focus-visible {
    border-color: rgba(191, 236, 255, 0.58);
    color: #ffffff;
}

.bcg-ai-popup__attachment-remove:focus-visible {
    outline: 2px solid rgba(140, 230, 255, 0.68);
    outline-offset: 1px;
}

.bcg-ai-popup__hint {
    grid-column: 1 / -1;
    margin: 0;
    color: #9ec2d4;
    font-size: 0.74rem;
    letter-spacing: 0.01em;
}

.bcg-ai-popup__input,
.bcg-ai-popup__submit {
    min-height: 40px;
    border-radius: 12px;
    font-family: "Space Grotesk", sans-serif;
}

.bcg-ai-popup__input {
    border: 1px solid rgba(163, 227, 255, 0.26);
    background: rgba(255, 255, 255, 0.07);
    color: #eaf8ff;
    min-height: 64px;
    line-height: 1.35;
    padding: 10px 12px;
    resize: none;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(126, 219, 255, 0.7) rgba(8, 29, 39, 0.45);
}

.bcg-ai-popup__input::placeholder {
    color: #9ec2d4;
}

.bcg-ai-popup__input:focus {
    outline: 2px solid rgba(129, 227, 255, 0.6);
    outline-offset: 1px;
}

.bcg-ai-popup__submit {
    border: 0;
    padding: 0 14px;
    color: #08202b;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    background: linear-gradient(145deg, #95f3cf, #7dc2ff);
    cursor: pointer;
}

.bcg-ai-popup__submit:hover,
.bcg-ai-popup__submit:focus-visible {
    filter: brightness(1.04);
}

.bcg-ai-popup__submit:focus-visible {
    outline: 2px solid rgba(129, 227, 255, 0.6);
    outline-offset: 1px;
}

.eyebrow {
    margin: 0;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #a5d7ee;
    font-size: 0.76rem;
}

.eyebrow-logo {
    width: 70px;
    height: 70px;
    border-radius: 14px;
    object-fit: cover;
    flex: 0 0 auto;
}



.logo-wrap {
    position: relative;
    display: inline-block;
    border-radius: 14px;
    overflow: hidden;
    isolation: isolate;
    box-shadow: 0px 0px 11px #0000008f;
}

.logo-wrap .eyebrow-logo {
    display: block;
    position: relative;
    z-index: 1;
    filter: brightness(0.80) contrast(1.9);
    opacity: 0.94;
    box-shadow: 0px 0px 15px #000;
    transition: filter 220ms ease, transform 220ms ease;
}

.logo-wrap::before {
    content: "";
    position: absolute;
    top: -28%;
    left: -110%;
    width: 56%;
    height: 160%;
    pointer-events: none;
    z-index: 3;
    opacity: 0;
    background: linear-gradient(115deg,
            rgba(255, 255, 255, 0.0) 0%,
            rgba(255, 255, 255, 0.12) 38%,
            rgba(255, 255, 255, 0.62) 50%,
            rgba(255, 255, 255, 0.12) 62%,
            rgba(255, 255, 255, 0.0) 100%);
    transform: skewX(-18deg) translateX(0);
    transition: transform 620ms cubic-bezier(0.25, 0.9, 0.3, 1), opacity 200ms ease;
    mix-blend-mode: screen;
}

/* Ciepła, lekko przyciemniająca nakładka */
.logo-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;

    /* złoto/brąz jak w UI */
    background: linear-gradient(180deg,
            rgba(255, 198, 120, 0.20),
            rgba(120, 65, 10, 0.28));

    mix-blend-mode: multiply;
    /* najmocniej "wciąga" w tło */
}

.logo-wrap:hover::before,
.logo-wrap:focus-within::before {
    opacity: 1;
    transform: skewX(-18deg) translateX(340%);
}

.logo-wrap:hover .eyebrow-logo,
.logo-wrap:focus-within .eyebrow-logo {
    filter: brightness(0.92) contrast(2);
    transform: translateY(-1px);
}

.logo-time-wrap,
.logo-inventory-wrap,
.logo-crm-wrap,
.logo-sscc-wrap {
    display: none;
    position: absolute;
    bottom: 0px;
    right: 8px;
    box-shadow: 0px 0px 20px #0000008f;
    overflow: hidden;
    max-height: 52px;
    border-radius: 12px;
    opacity: .85;
}

.logo-crm-wrap {
    right: 8px;
    bottom: 10px;
}



h1 {
    margin: 8px 0 10px;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.8rem, 3.8vw, 3rem);
    line-height: 1.08;
}

.hero-heading-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    margin: 8px 0 10px;
}

.hero-heading-row h1 {
    margin: 0;
}

.fx-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 38px;
    padding: 0.4rem 0.62rem;
    border-radius: 13px;
    border: 1px solid rgba(179, 231, 255, 0.24);
    background: linear-gradient(145deg, rgba(132, 221, 255, 0.12), rgba(114, 255, 209, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    flex: 0 0 auto;
}

.fx-chip__label {
    font-family: "Sora", sans-serif;
    font-size: 0.62rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bde6f8;
    white-space: nowrap;
}

.fx-chip__rates {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.fx-rate {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    border: 1px solid rgba(174, 230, 255, 0.2);
    padding: 0.18rem 0.5rem;
    background: rgba(255, 255, 255, 0.06);
    min-width: 84px;
    justify-content: center;
}

.fx-rate__symbol {
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    color: #dff4ff;
}

.fx-rate__value {
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    color: #f4fbff;
}

.fx-rate__trend {
    font-size: 0.72rem;
    line-height: 1;
    color: #c4d8e4;
}

.fx-rate--up .fx-rate__trend {
    color: #ff7f88;
}

.fx-rate--down .fx-rate__trend {
    color: #59d98e;
}

.fx-chip[data-state="error"] {
    opacity: 0.85;
}

.subtitle {
    margin: 0;
    color: var(--muted);
    max-width: 700px;
}

.ask-ai {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto;
    gap: 8px;
    align-items: center;
    width: min(760px, 100%);
}

.ask-ai__sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.ask-ai__input,
.ask-ai__submit {
    height: 42px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.94rem;
}

.ask-ai__input {
    padding: 0 12px;
    color: #e6f7ff;
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
}

.ask-ai__input::placeholder {
    color: #9ec2d4;
}

.ask-ai__input:focus,
.ask-ai__submit:focus-visible {
    outline: 2px solid rgba(121, 223, 255, 0.55);
    outline-offset: 1px;
}

.ask-ai__submit {
    padding: 0 14px;
    border: 0;
    color: #08202b;
    font-family: "Sora", sans-serif;
    font-weight: 600;
    letter-spacing: 0.01em;
    cursor: pointer;
    background: linear-gradient(145deg, #95f3cf, #7dc2ff);
    transition: transform 180ms ease, filter 180ms ease;
}

.ask-ai__submit:hover {
    transform: translateY(-1px);
    filter: brightness(1.04);
}

.ask-ai__shortcut {
    grid-column: 1 / -1;
    color: #97bbce;
    font-size: 0.78rem;
    letter-spacing: 0.02em;
}

.ask-ai__status {
    grid-column: 1 / -1;
    min-height: 1.1em;
    color: #8ce9ff;
    font-size: 0.78rem;
}

.crm-spotlight-wrap {
    position: relative;
    width: min(820px, 100%);
}

.bc-tile-wrap {
    position: relative;
    grid-column: span 12;
    width: 100%;
}

.base-tile-wrap {
    position: relative;
    grid-column: span 12;
    width: 100%;
}

.bdo-tile-wrap {
    position: relative;
    grid-column: span 12;
    width: 100%;
}

.time-tile-wrap {
    position: relative;
    grid-column: span 12;
    width: 100%;
}

.sscc-tile-wrap {
    position: relative;
    grid-column: span 12;
    width: 100%;
}

.inventory-tile-wrap {
    position: relative;
    grid-column: span 12;
    width: 100%;
}

.bc-tile-wrap>.tile {
    display: block;
    width: 100%;
}

.base-tile-wrap>.tile {
    display: block;
    width: 100%;
}

.bdo-tile-wrap>.tile {
    display: block;
    width: 100%;
}

.time-tile-wrap>.tile {
    display: block;
    width: 100%;
}

.sscc-tile-wrap>.tile {
    display: block;
    width: 100%;
}

.inventory-tile-wrap>.tile {
    display: block;
    width: 100%;
}

.crm-spotlight__quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 8;
    display: inline-flex;
    gap: 8px;
}

.crm-spotlight__quick-actions .tile__quick-action {
    position: static;
}

.crm-spotlight {
    position: relative;
    margin-top: 14px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 10px;
    width: 100%;
    padding: 14px 118px 14px 16px;
    min-height: 140px;
    border-radius: 16px;
    border: 1px solid rgba(149, 227, 255, 0.3);
    background:
        radial-gradient(360px circle at -10% 50%, rgba(103, 246, 203, 0.23), transparent 68%),
        radial-gradient(280px circle at 110% -10%, rgba(132, 210, 255, 0.2), transparent 70%),
        linear-gradient(150deg, rgba(117, 223, 255, 0.16), rgba(107, 248, 197, 0.08)),
        rgba(255, 255, 255, 0.03);
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(10px);
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    isolation: isolate;
    transform: translateY(10px) scale(0.992);
    opacity: 0;
    animation: crm-spotlight-in 680ms cubic-bezier(0.2, 0.75, 0.2, 1) 140ms forwards;
    transition: transform 240ms ease, border-color 240ms ease, box-shadow 240ms ease;
}

.crm-spotlight::before,
.crm-spotlight::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.crm-spotlight::before {
    inset: -40% 64% -40% -48%;
    background: linear-gradient(110deg, rgba(255, 255, 255, 0), rgba(227, 248, 255, 0.28), rgba(255, 255, 255, 0));
    transform: translateX(-24%) rotate(5deg);
    transition: transform 720ms ease;
}

.crm-spotlight::after {
    content: "CRM";
    right: 22px;
    bottom: -16px;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(5rem, 16vw, 10rem);
    font-weight: 800;
    letter-spacing: 0.1em;
    line-height: 0.86;
    color: rgba(162, 232, 255, 0.2);
    text-shadow:
        0 0 18px rgba(138, 220, 255, 0.14),
        0 8px 26px rgba(11, 28, 36, 0.24);
    -webkit-text-stroke: 1px rgba(196, 241, 255, 0.26);
    animation: crm-watermark-drift 7.4s ease-in-out infinite;
    z-index: 1;
}

.crm-spotlight:hover,
.crm-spotlight:focus-visible {
    transform: translateY(-4px) scale(1.005);
    border-color: rgba(186, 238, 255, 0.58);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.38);
}

.crm-spotlight:hover::before,
.crm-spotlight:focus-visible::before {
    transform: translateX(168%) rotate(5deg);
}

.crm-spotlight:hover::after,
.crm-spotlight:focus-visible::after {
    opacity: 0.3;
}

.crm-spotlight:focus-visible {
    outline: 2px solid rgba(150, 233, 255, 0.78);
    outline-offset: 2px;
}

.crm-spotlight__tag {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(183, 222, 241, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: #d6edf9;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    align-self: flex-start;
}

.crm-spotlight__content {
    display: grid;
    gap: 4px;
    max-width: 760px;
}

.crm-spotlight__content h2 {
    margin: 0 0 3px;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.02rem, 2.2vw, 1.24rem);
    color: #eaf9ff;
}

.crm-spotlight__content p {
    margin: 0;
    color: #a9cadb;
    font-size: 0.89rem;
}

.crm-spotlight__cta {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 34px;
    padding: 0.4rem 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(179, 232, 255, 0.28);
    color: #d7eef9;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.04));
    font-family: "Sora", sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
    white-space: nowrap;
    align-self: flex-start;
    margin-top: auto;
    transition: border-color 220ms ease, background 220ms ease, color 220ms ease;
}

.crm-spotlight__cta::after {
    content: "->";
    margin-left: 8px;
    font-size: 0.76rem;
    transition: transform 220ms ease;
}

.crm-spotlight:hover .crm-spotlight__cta,
.crm-spotlight:focus-visible .crm-spotlight__cta {
    border-color: rgba(189, 236, 255, 0.45);
    background: linear-gradient(145deg, rgba(117, 223, 255, 0.22), rgba(106, 244, 199, 0.12));
    color: #eef9ff;
}

.crm-spotlight:hover .crm-spotlight__cta::after,
.crm-spotlight:focus-visible .crm-spotlight__cta::after {
    transform: translateX(3px);
}

.stats-hub {
    margin-top: 16px;
    width: 100%;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid rgba(168, 224, 255, 0.24);
    background:
        radial-gradient(360px circle at -8% 18%, rgba(110, 245, 200, 0.16), transparent 68%),
        radial-gradient(360px circle at 105% -10%, rgba(130, 206, 255, 0.14), transparent 70%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.3);
    transform: translateY(12px);
    opacity: 0;
    animation: crm-spotlight-in 720ms cubic-bezier(0.2, 0.75, 0.2, 1) 240ms forwards;
}

.stats-grid {
    margin-top: 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

.stats-hub__header h2 {
    margin: 6px 0;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.02rem, 2.15vw, 1.3rem);
    color: #edf9ff;
}

.stats-hub__eyebrow {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.7rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #a9d8ed;
}

.stats-hub__subtitle {
    margin: 0;
    max-width: 72ch;
    color: #a7c8d9;
    font-size: 0.88rem;
}

.stats-card {
    margin-top: 0;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 7px;
    align-items: stretch;
    border-radius: 16px;
    border: 1px solid rgba(165, 223, 255, 0.24);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(16px);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 12px 30px rgba(0, 0, 0, 0.24);
    padding: 10px;
    min-height: 210px;
    transition: transform 260ms cubic-bezier(0.22, 0.75, 0.2, 1),
        border-color 260ms ease,
        box-shadow 260ms ease,
        background 260ms ease;
}

@media (hover: hover) and (pointer: fine) {

    .stats-card:hover,
    .stats-card:focus-within {
        transform: translateY(-4px) scale(1.01);
        border-color: rgba(177, 235, 255, 0.55);
        background:
            radial-gradient(220px circle at 12% -20%, rgba(129, 225, 255, 0.2), transparent 68%),
            radial-gradient(220px circle at 96% 118%, rgba(110, 245, 200, 0.2), transparent 70%),
            linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04)),
            rgba(255, 255, 255, 0.03);
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.14),
            0 20px 42px rgba(0, 0, 0, 0.32),
            0 0 0 1px rgba(126, 224, 255, 0.16);
    }
}

.stats-card__title {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.98rem;
    color: #edf9ff;
}

.stats-card__content {
    display: flex;
    flex-direction: column;
    min-width: 0;
    justify-content: flex-start;
}

.stats-card__state {
    margin: 0 0 7px;
    min-height: 1.1em;
    font-size: 0.8rem;
    color: #9ec4d8;
}

.stats-metrics {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 6px;
    grid-template-columns: 1fr;
}

.stats-card--crm .stats-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-card--b2b .stats-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stats-metric {
    border-radius: 10px;
    border: 1px solid rgba(175, 229, 255, 0.18);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 6px 7px;
    min-height: 70px;
}

.stats-metric--commerce {
    background:
        linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.04)),
        radial-gradient(180px circle at 120% 20%, rgba(255, 219, 133, 0.18), transparent 72%);
    border-color: rgba(255, 214, 142, 0.32);
}

.stats-metric--commerce .stats-metric__score {
    font-size: 0.8rem;
    color: #fff3dc;
}

.stats-metric__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.stats-metric__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex: 0 0 auto;
    box-shadow: 0 0 10px currentColor;
}

.stats-metric__label {
    margin: 0;
    margin-right: auto;
    font-size: 0.6rem;
    line-height: 1.15;
    color: #e6f7ff;
}

.stats-metric__score {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.74rem;
    letter-spacing: 0.03em;
    color: #f4fbff;
}

.stats-metric__bar {
    margin-top: 5px;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.stats-metric__fill {
    display: block;
    height: 100%;
    border-radius: inherit;
    animation: stats-fill-in 680ms cubic-bezier(0.24, 0.7, 0.2, 1);
}

.stats-metric__meta {
    margin: 4px 0 0;
    font-size: 0.64rem;
    line-height: 1.2;
    color: #9dbfd2;
}

.stats-metric--commerce .stats-metric__meta {
    color: #efd3ad;
}

.stats-card__updated {
    margin: 10px 0 0;
    font-size: 0.76rem;
    letter-spacing: 0.02em;
    color: #98bccf;
}

@keyframes stats-fill-in {
    from {
        transform: scaleX(0);
    }

    to {
        transform: scaleX(1);
    }
}

.tiles {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(12, minmax(0, 1fr));
}

.tile {
    --mx: 50%;
    --my: 50%;
    --dx: 0px;
    --dy: 0px;
    position: relative;
    grid-column: span 12;
    min-height: 260px;
    border-radius: 24px;
    border: 1px solid var(--line);
    background:
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
    overflow: hidden;
    isolation: isolate;
    text-decoration: none;
    color: inherit;
    transform: translateY(18px) scale(0.985);
    opacity: 0;
    animation: card-in 760ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards;
}

.tile:nth-child(2) {
    animation-delay: 90ms;
}

.tile:nth-child(3) {
    animation-delay: 180ms;
}

.tile:nth-child(4) {
    animation-delay: 240ms;
}

.tile:nth-child(5) {
    animation-delay: 300ms;
}

.tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(140deg, rgba(255, 255, 255, 0.12), transparent 35%, transparent 70%, rgba(255, 255, 255, 0.06));
    pointer-events: none;
}

.tile__main {
    position: relative;
    z-index: 2;
    padding: 26px;
}

.tile__header-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 16px;
}

.tile__icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background: rgba(255, 255, 255, 0.08);
}

.tile__header-row .tile__icon {
    margin-bottom: 0;
}

.tile__icon svg {
    width: 40px;
    height: 40px;
}

.tile h2 {
    margin: 0 0 8px;
    font-family: "Sora", sans-serif;
    font-size: clamp(1.25rem, 2.1vw, 1.7rem);
}

.tile p {
    margin: 0 0 12px;
    color: var(--muted);
    max-width: 64ch;
}

.hint {
    display: inline-flex;
    padding: 0.36rem 0.66rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 0.79rem;
    color: #d2ecfc;
    background: rgba(255, 255, 255, 0.06);
}

.tile--b2b {
    grid-column: span 12;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(540px 240px at 88% -8%, rgba(83, 216, 168, 0.24), transparent 66%),
        radial-gradient(520px 260px at -6% 120%, rgba(111, 184, 255, 0.2), transparent 70%),
        linear-gradient(126deg,
            rgba(54, 163, 127, 0.2),
            rgba(20, 56, 44, 0.04) 38%,
            rgba(34, 99, 140, 0.16) 76%,
            rgba(16, 39, 56, 0.22));
}

.b2b-tile-wrap {
    position: relative;
    grid-column: span 12;
}

.b2c-tile-wrap {
    position: relative;
    grid-column: span 12;
}

.tile--b2c {
    grid-column: span 12;
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(620px 320px at 86% -28%, rgba(255, 218, 156, 0.34), transparent 64%),
        radial-gradient(560px 320px at -14% 122%, rgba(247, 148, 102, 0.24), transparent 68%),
        conic-gradient(from 220deg at 60% 48%, rgba(255, 214, 146, 0.05) 0deg, rgba(255, 170, 108, 0.22) 74deg, rgba(122, 70, 35, 0.18) 168deg, rgba(255, 202, 138, 0.03) 258deg, rgba(255, 214, 146, 0.05) 360deg),
        linear-gradient(126deg,
            rgba(170, 100, 41, 0.25),
            rgba(51, 29, 15, 0.1) 34%,
            rgba(132, 81, 40, 0.2) 72%,
            rgba(36, 23, 12, 0.24));
    background-size: auto, auto, 172% 172%, auto;
    animation: card-in 760ms cubic-bezier(0.2, 0.75, 0.2, 1) forwards, b2c-spectrum-shift 13.5s ease-in-out infinite;
}

.tile--b2c .tile__icon,
.tile--b2c {
    color: var(--c-b2c);
}

.tile--b2c::before,
.tile--b2c::after {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.tile--b2c::before {
    content: "";
    width: 370px;
    height: 250px;
    right: -94px;
    top: -44px;
    border-radius: 34% 66% 52% 48% / 44% 36% 64% 56%;
    border: 1px solid rgba(255, 226, 178, 0.24);
    clip-path: polygon(14% 7%, 84% 0, 100% 40%, 84% 100%, 18% 93%, 0 52%);
    background:
        linear-gradient(148deg, rgba(255, 238, 205, 0.24), rgba(255, 171, 106, 0.2) 46%, rgba(122, 69, 34, 0.08)),
        repeating-linear-gradient(132deg, rgba(255, 226, 178, 0.26) 0 3px, rgba(255, 226, 178, 0) 3px 13px);
    box-shadow:
        inset 0 0 0 18px rgba(255, 194, 116, 0.06),
        0 0 36px rgba(255, 184, 116, 0.22);
    mix-blend-mode: screen;
    opacity: 0.82;
    transition: opacity 220ms ease, filter 220ms ease;
    animation: b2c-halo-spin 11.6s linear infinite;
}

.tile--b2c::after {
    content: "B2C";
    left: 50%;
    top: 50%;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(7.2rem, 22vw, 14rem);
    font-weight: 800;
    letter-spacing: 0.11em;
    line-height: 0.86;
    color: rgba(255, 217, 156, 0.17);
    text-shadow:
        0 0 20px rgba(255, 210, 140, 0.16),
        0 8px 28px rgba(37, 22, 10, 0.28);
    -webkit-text-stroke: 1px rgba(255, 228, 183, 0.26);
    transform-origin: center;
    animation: b2c-watermark-drift 7.2s ease-in-out infinite;
}

.tile--b2c:hover::before,
.tile--b2c:focus-visible::before {
    opacity: 0.98;
    filter: saturate(1.12) brightness(1.08);
}

.tile--b2c:hover::after,
.tile--b2c:focus-visible::after {
    opacity: 0.32;
}

.tile--b2b .tile__icon,
.tile--b2b {
    color: var(--c-b2b);
}

.tile--b2b::before,
.tile--b2b::after {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.tile--b2b::before {
    content: "";
    width: 250px;
    height: 250px;
    right: -70px;
    top: -42px;
    border-radius: 50%;
    border: 2px dashed rgba(132, 244, 204, 0.34);
    box-shadow:
        inset 0 0 0 22px rgba(72, 192, 149, 0.08),
        0 0 28px rgba(88, 215, 170, 0.14);
    animation: b2b-orbit-ring 9.8s ease-in-out infinite;
}

.tile--b2b::after {
    content: "B2B";
    right: 20px;
    bottom: -18px;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(5.6rem, 17vw, 11rem);
    font-weight: 800;
    letter-spacing: 0.08em;
    line-height: 0.86;
    color: rgba(154, 244, 211, 0.2);
    text-shadow:
        0 0 20px rgba(126, 228, 194, 0.14),
        0 8px 28px rgba(11, 30, 23, 0.25);
    -webkit-text-stroke: 1px rgba(184, 248, 223, 0.26);
    animation: b2b-watermark-drift 7.2s ease-in-out infinite;
}

.tile--b2b:hover::before,
.tile--b2b:focus-visible::before {
    transform: translate(-8px, 6px) scale(1.04);
}

.tile--b2b:hover::after,
.tile--b2b:focus-visible::after {
    opacity: 0.32;
}

.tile__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0.36rem 0.72rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.26);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #e8f8ff;
    background: rgba(8, 26, 36, 0.55);
    backdrop-filter: blur(8px);
}

.tile__badge--online {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    border-color: rgba(177, 244, 216, 0.5);
    box-shadow: 0 8px 18px rgba(4, 16, 24, 0.36);
}

.tile__quick-action {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 1px solid rgba(242, 202, 122, 0.82);
    background:
        radial-gradient(120% 120% at 22% 20%, rgba(255, 243, 214, 0.5), rgba(255, 243, 214, 0) 48%),
        linear-gradient(155deg, rgba(242, 180, 71, 0.68), rgba(207, 126, 36, 0.64));
    color: #3b2410;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow:
        0 6px 12px rgba(20, 12, 5, 0.2),
        inset 0 1px 1px rgba(255, 246, 223, 0.65),
        inset 0 -2px 3px rgba(129, 69, 17, 0.24);
    transition: transform 180ms ease, border-color 180ms ease, filter 180ms ease, box-shadow 220ms ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(2px);
}

.tile__quick-action svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.tile__quick-action::before {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(120deg, rgba(255, 255, 255, 0), rgba(225, 247, 255, 0.78), rgba(255, 255, 255, 0));
    transform: translateX(-125%) rotate(18deg);
    transition: transform 520ms ease;
    pointer-events: none;
}

.b2c-tile-wrap .tile__quick-actions,
.b2b-tile-wrap .tile__quick-actions,
.bc-tile-wrap .tile__quick-actions,
.base-tile-wrap .tile__quick-actions,
.bdo-tile-wrap .tile__quick-actions,
.time-tile-wrap .tile__quick-actions,
.sscc-tile-wrap .tile__quick-actions,
.inventory-tile-wrap .tile__quick-actions {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    gap: 8px;
    z-index: 9;
}

.b2c-tile-wrap .tile__quick-action,
.b2b-tile-wrap .tile__quick-action,
.bc-tile-wrap .tile__quick-action,
.base-tile-wrap .tile__quick-action,
.bdo-tile-wrap .tile__quick-action,
.time-tile-wrap .tile__quick-action,
.sscc-tile-wrap .tile__quick-action,
.inventory-tile-wrap .tile__quick-action {
    position: static;
}

.tile__quick-action--info {
    border-color: rgba(165, 222, 255, 0.62);
    background:
        radial-gradient(120% 120% at 24% 22%, rgba(226, 245, 255, 0.52), rgba(226, 245, 255, 0) 48%),
        linear-gradient(155deg, rgba(88, 161, 218, 0.68), rgba(50, 109, 163, 0.64));
    color: #0f2e46;
}

.tile__quick-action--info:hover,
.tile__quick-action--info:focus-visible {
    border-color: rgba(196, 234, 255, 0.85);
    box-shadow:
        0 8px 14px rgba(6, 20, 32, 0.24),
        inset 0 1px 1px rgba(232, 247, 255, 0.72),
        inset 0 -2px 3px rgba(22, 65, 97, 0.28),
        0 0 10px rgba(128, 205, 255, 0.24);
}

.tile__quick-action--info[aria-expanded="true"] {
    border-color: rgba(178, 231, 255, 0.88);
    box-shadow:
        0 7px 12px rgba(6, 20, 32, 0.22),
        inset 0 1px 1px rgba(236, 249, 255, 0.7),
        inset 0 -2px 3px rgba(26, 68, 97, 0.28);
}

.time-tile-wrap .tile__quick-action--time-info {
    border-color: rgba(165, 222, 255, 0.62);
    background:
        radial-gradient(120% 120% at 24% 22%, rgba(226, 245, 255, 0.52), rgba(226, 245, 255, 0) 48%),
        linear-gradient(155deg, rgba(88, 161, 218, 0.68), rgba(50, 109, 163, 0.64));
    color: #0f2e46;
}

.time-tile-wrap .tile__quick-action--time-info:hover,
.time-tile-wrap .tile__quick-action--time-info:focus-visible,
.time-tile-wrap .tile__quick-action--time-info[aria-expanded="true"] {
    border-color: rgba(196, 234, 255, 0.85);
    box-shadow:
        0 8px 14px rgba(6, 20, 32, 0.24),
        inset 0 1px 1px rgba(232, 247, 255, 0.72),
        inset 0 -2px 3px rgba(22, 65, 97, 0.28),
        0 0 10px rgba(128, 205, 255, 0.24);
}

.bdo-tile-wrap .tile__quick-action--info {
    border-color: rgba(170, 236, 205, 0.66);
    background:
        radial-gradient(120% 120% at 24% 22%, rgba(226, 255, 242, 0.54), rgba(226, 255, 242, 0) 48%),
        linear-gradient(155deg, rgba(72, 176, 134, 0.7), rgba(40, 124, 95, 0.68));
    color: #0e3a2e;
}

.bdo-tile-wrap .tile__quick-action--info:hover,
.bdo-tile-wrap .tile__quick-action--info:focus-visible,
.bdo-tile-wrap .tile__quick-action--info[aria-expanded="true"] {
    border-color: rgba(194, 247, 224, 0.88);
    box-shadow:
        0 8px 14px rgba(6, 28, 22, 0.24),
        inset 0 1px 1px rgba(233, 255, 246, 0.74),
        inset 0 -2px 3px rgba(18, 75, 57, 0.3),
        0 0 10px rgba(127, 232, 191, 0.26);
}

.tile__quick-action:hover,
.tile__quick-action:focus-visible {
    transform: translateY(-3px) scale(1.04);
    border-color: #ffe2a2;
    filter: brightness(1.08);
    box-shadow:
        0 8px 14px rgba(20, 12, 5, 0.26),
        inset 0 1px 1px rgba(255, 246, 223, 0.72),
        inset 0 -2px 3px rgba(129, 69, 17, 0.3),
        0 0 10px rgba(255, 179, 77, 0.22);
}

.tile__quick-action:hover::before,
.tile__quick-action:focus-visible::before {
    transform: translateX(120%) rotate(18deg);
}

.tile__quick-action:focus-visible {
    outline: 2px solid rgba(140, 230, 255, 0.72);
    outline-offset: 1px;
}

.b2b-stats-popup {
    position: fixed;
    z-index: 150;
    top: 50%;
    left: 50%;
    width: min(980px, calc(100vw - 32px));
    max-height: min(80vh, 760px);
    transform: translate(-50%, -50%);
    border-radius: 20px;
    border: 1px solid rgba(168, 224, 255, 0.3);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(110, 245, 200, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(130, 206, 255, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(13, 34, 46, 0.92);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
    display: grid;
    grid-template-rows: auto 1fr;
}

.b2b-stats-popup[hidden] {
    display: none !important;
}

.b2b-stats-popup__header {
    padding: 14px 16px 10px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(150, 214, 244, 0.2);
}

.b2b-stats-popup__tag {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bde6f8;
}

.b2b-stats-popup__header h2 {
    margin: 3px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
    color: #ecf9ff;
}

.b2b-stats-popup__title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 2px;
}

.b2b-stats-popup__title-row h2 {
    margin: 0;
}

.b2b-stats-popup__subtitle {
    margin: 4px 0 0;
    color: #a8c9d9;
    font-size: 0.83rem;
}

.tile__badge--popup-online {
    position: static;
    margin-top: 0;
    margin-left: 4px;
    background: rgba(8, 26, 36, 0.36);
    border-color: rgba(177, 244, 216, 0.4);
    box-shadow: 0 4px 10px rgba(4, 16, 24, 0.2);
}

.b2b-stats-popup__close {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(189, 235, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: #dff5ff;
    font-size: 1rem;
    cursor: pointer;
}

.b2b-stats-popup__close:hover,
.b2b-stats-popup__close:focus-visible {
    border-color: rgba(188, 236, 255, 0.6);
    color: #ffffff;
}

.b2b-stats-popup__close:focus-visible {
    outline: 2px solid rgba(140, 230, 255, 0.72);
    outline-offset: 1px;
}

.b2b-stats-popup__content {
    padding: 12px;
    overflow: auto;
}

.b2b-stats-popup__status {
    margin: 0 0 10px;
    min-height: 1.2em;
    color: #8ce9ff;
    font-size: 0.79rem;
}

.b2b-stats-popup__topline {
    margin: 0 0 10px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.b2b-stats-popup__mini-grid {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
}

.b2b-mini-stat {
    border-radius: 12px;
    border: 1px solid rgba(175, 229, 255, 0.22);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 8px 10px;
}

.b2b-mini-stat__label {
    margin: 0;
    font-size: 0.72rem;
    color: #a8c9d9;
    letter-spacing: 0.02em;
}

.b2b-mini-stat__value {
    margin: 5px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    color: #ecf9ff;
}

.b2b-stats-popup__info {
    margin: 0 0 10px;
    border-radius: 12px;
    border: 1px solid rgba(175, 229, 255, 0.24);
    background: rgba(8, 26, 36, 0.36);
    padding: 10px;
}

.b2b-project-info__section+.b2b-project-info__section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(175, 229, 255, 0.18);
}

.b2b-project-info__heading {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.82rem;
    color: #dcf3ff;
    letter-spacing: 0.02em;
}

.b2b-project-info__subheading {
    margin: 8px 0 0;
    font-size: 0.75rem;
    color: #b8dcf1;
    letter-spacing: 0.02em;
}

.b2b-project-info__list {
    margin: 6px 0 0;
    padding-left: 16px;
    display: grid;
    gap: 4px;
}

.b2b-project-info__list li {
    font-size: 0.78rem;
    color: #e9f8ff;
    line-height: 1.35;
}

.b2b-project-info__list a {
    color: #9dd8ff;
    text-decoration: none;
}

.b2b-project-info__list a:hover,
.b2b-project-info__list a:focus-visible {
    text-decoration: underline;
}

.b2b-stats-popup__ranges {
    margin: 0 0 10px;
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(160, 218, 247, 0.24);
    background: rgba(8, 26, 36, 0.45);
}

.b2b-stats-popup__range {
    min-width: 44px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(172, 227, 253, 0.24);
    background: rgba(255, 255, 255, 0.05);
    color: #d6edf9;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.b2b-stats-popup__range:hover,
.b2b-stats-popup__range:focus-visible {
    border-color: rgba(188, 236, 255, 0.62);
    filter: brightness(1.05);
}

.b2b-stats-popup__range.is-active {
    border-color: rgba(255, 220, 150, 0.85);
    background: linear-gradient(155deg, #f2b447, #cf7e24);
    color: #3b2410;
}

.b2b-stats-popup__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.b2b-chart-card {
    border-radius: 14px;
    border: 1px solid rgba(175, 229, 255, 0.2);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 10px;
}

.b2b-chart-card__title {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: #d8effb;
    letter-spacing: 0.02em;
}

.b2b-chart-card__canvas-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.4 / 1;
}

.b2b-chart-card canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.crm-stats-popup {
    position: fixed;
    z-index: 150;
    top: 50%;
    left: 50%;
    width: min(980px, calc(100vw - 32px));
    max-height: min(82vh, 780px);
    transform: translate(-50%, -50%);
    border-radius: 20px;
    border: 1px solid rgba(168, 224, 255, 0.3);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(110, 245, 200, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(130, 206, 255, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(13, 34, 46, 0.92);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
    display: grid;
    grid-template-rows: auto 1fr;
}

.crm-stats-popup[hidden] {
    display: none !important;
}

.crm-stats-popup__header {
    padding: 14px 16px 10px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(150, 214, 244, 0.2);
}

.crm-stats-popup__tag {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bde6f8;
}

.crm-stats-popup__title {
    margin: 4px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
    color: #ecf9ff;
}

.crm-stats-popup__subtitle {
    margin: 4px 0 0;
    color: #a8c9d9;
    font-size: 0.83rem;
}

.crm-stats-popup__close {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(189, 235, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: #dff5ff;
    font-size: 1rem;
    cursor: pointer;
}

.crm-stats-popup__content {
    padding: 12px;
    overflow: auto;
}

.crm-stats-popup__status {
    margin: 0 0 10px;
    min-height: 1.2em;
    color: #8ce9ff;
    font-size: 0.79rem;
}

.crm-stats-popup__topline {
    margin: 0 0 10px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.crm-mini-stat {
    border-radius: 12px;
    border: 1px solid rgba(175, 229, 255, 0.22);
    background: linear-gradient(165deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 8px 10px;
}

.crm-mini-stat__label {
    margin: 0;
    font-size: 0.72rem;
    color: #a8c9d9;
    letter-spacing: 0.02em;
}

.crm-mini-stat__value {
    margin: 5px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    color: #ecf9ff;
}

.crm-stats-popup__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.crm-chart-card {
    border-radius: 14px;
    border: 1px solid rgba(175, 229, 255, 0.2);
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 10px;
}

.crm-chart-card--wide {
    grid-column: auto;
}

.crm-chart-card__title {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: #d8effb;
    letter-spacing: 0.02em;
}

.crm-chart-card__canvas-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.4 / 1;
}

.crm-chart-card--wide .crm-chart-card__canvas-wrap {
    aspect-ratio: 1.4 / 1;
    max-height: none;
}

.crm-chart-card canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.crm-stats-popup__info {
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(175, 229, 255, 0.24);
    background: rgba(8, 26, 36, 0.36);
    padding: 10px;
}

.crm-project-info__section+.crm-project-info__section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(175, 229, 255, 0.18);
}

.crm-project-info__heading {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.82rem;
    color: #dcf3ff;
    letter-spacing: 0.02em;
}

.crm-project-info__list {
    margin: 6px 0 0;
    padding-left: 16px;
    display: grid;
    gap: 4px;
}

.crm-project-info__list li {
    font-size: 0.78rem;
    color: #e9f8ff;
    line-height: 1.35;
}

.base-stats-popup {
    position: fixed;
    z-index: 150;
    top: 50%;
    left: 50%;
    width: min(980px, calc(100vw - 32px));
    max-height: min(82vh, 780px);
    transform: translate(-50%, -50%);
    border-radius: 20px;
    border: 1px solid rgba(246, 201, 132, 0.36);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(247, 167, 54, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(255, 202, 126, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(255, 245, 230, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(43, 28, 18, 0.94);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.44);
    backdrop-filter: blur(16px);
    display: grid;
    grid-template-rows: auto 1fr;
}

.base-stats-popup[hidden] {
    display: none !important;
}

.base-stats-popup__header {
    padding: 14px 16px 10px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(255, 214, 162, 0.22);
}

.base-stats-popup__tag {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #ffd8aa;
}

.base-stats-popup__title {
    margin: 4px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
    color: #fff0db;
}

.base-stats-popup__subtitle {
    margin: 4px 0 0;
    color: #e2c6a7;
    font-size: 0.83rem;
}

.base-stats-popup__close {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(255, 214, 163, 0.32);
    background: rgba(255, 255, 255, 0.08);
    color: #ffe9cf;
    font-size: 1rem;
    cursor: pointer;
}

.base-stats-popup__content {
    padding: 12px;
    overflow: auto;
}

.base-stats-popup__status {
    margin: 0 0 10px;
    min-height: 1.2em;
    color: #ffd8aa;
    font-size: 0.79rem;
}

.base-stats-popup__topline {
    margin: 0 0 10px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
}

.base-stats-popup__ranges {
    margin: 0 0 10px;
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(246, 201, 132, 0.32);
    background: rgba(51, 31, 20, 0.52);
}

.base-stats-popup__range {
    min-width: 44px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 219, 168, 0.28);
    background: rgba(255, 255, 255, 0.05);
    color: #ffe9cf;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.base-stats-popup__range:hover,
.base-stats-popup__range:focus-visible {
    border-color: rgba(255, 229, 194, 0.72);
    filter: brightness(1.06);
}

.base-stats-popup__range.is-active {
    border-color: rgba(255, 220, 150, 0.88);
    background: linear-gradient(155deg, #f2b447, #cf7e24);
    color: #3b2410;
}

.base-stats-popup__range-anchor {
    margin: -2px 0 10px;
    display: inline-flex;
    align-items: center;
    padding: 3px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255, 210, 140, 0.46);
    background: rgba(83, 49, 25, 0.5);
    color: #ffd6a4;
    font-size: 0.72rem;
    letter-spacing: 0.02em;
}

.base-mini-stat {
    border-radius: 12px;
    border: 1px solid rgba(255, 213, 158, 0.24);
    background: linear-gradient(165deg, rgba(255, 224, 186, 0.13), rgba(255, 255, 255, 0.03));
    padding: 8px 10px;
}

.base-mini-stat__label {
    margin: 0;
    font-size: 0.72rem;
    color: #e2c6a7;
    letter-spacing: 0.02em;
}

.base-mini-stat__value {
    margin: 5px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1rem;
    color: #fff0db;
}

.base-stats-popup__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.base-chart-card {
    border-radius: 14px;
    border: 1px solid rgba(255, 214, 160, 0.2);
    background: linear-gradient(160deg, rgba(255, 232, 202, 0.13), rgba(255, 255, 255, 0.03));
    padding: 10px;
}

.base-chart-card__title {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: #ffe9cf;
    letter-spacing: 0.02em;
}

.base-chart-card__canvas-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.4 / 1;
}

.base-chart-card canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.base-stats-popup__info {
    margin: 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 214, 163, 0.26);
    background: rgba(42, 25, 14, 0.44);
    padding: 10px;
}

.base-project-info__section+.base-project-info__section {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 214, 162, 0.2);
}

.base-project-info__heading {
    margin: 0;
    font-family: "Sora", sans-serif;
    font-size: 0.82rem;
    color: #ffeed8;
    letter-spacing: 0.02em;
}

.base-project-info__list {
    margin: 6px 0 0;
    padding-left: 16px;
    display: grid;
    gap: 5px;
    color: #e2c7aa;
    font-size: 0.78rem;
    line-height: 1.4;
}

.bdo-info-popup {
    width: min(920px, calc(100vw - 24px));
}

.bdo-info-popup__body {
    padding: 12px;
}

.bdo-info-popup__section+.bdo-info-popup__section {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 214, 162, 0.2);
}

.bdo-info-popup__lead {
    margin: 8px 0 0;
    color: #e2c7aa;
    font-size: 0.8rem;
    line-height: 1.5;
}

.bdo-info-popup__sublist {
    margin: 6px 0 0;
    padding-left: 16px;
    display: grid;
    gap: 4px;
    color: #e2c7aa;
    font-size: 0.76rem;
    line-height: 1.45;
}

#bdoInfoPopup {
    border-color: rgba(152, 236, 197, 0.34);
    background:
        radial-gradient(380px circle at -8% -20%, rgba(124, 246, 198, 0.22), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(118, 224, 174, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(217, 255, 238, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(12, 42, 33, 0.92);
}

#bdoInfoPopup .base-stats-popup__tag {
    color: #b5f0cf;
}

#bdoInfoPopup .base-stats-popup__title {
    color: #ecfff4;
}

#bdoInfoPopup .base-stats-popup__subtitle {
    color: #b8e8d1;
}

#bdoInfoPopup .base-stats-popup__info {
    border-color: rgba(168, 240, 206, 0.26);
    background: rgba(8, 36, 27, 0.42);
}

#bdoInfoPopup .base-project-info__heading {
    color: #d3fce5;
}

#bdoInfoPopup .base-project-info__list,
#bdoInfoPopup .bdo-info-popup__lead,
#bdoInfoPopup .bdo-info-popup__sublist {
    color: #c6ecd8;
}

#bdoInfoPopup .bdo-info-popup__section+.bdo-info-popup__section {
    border-top-color: rgba(167, 238, 203, 0.22);
}

.time-info-popup {
    border-color: rgba(246, 201, 132, 0.36);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(247, 167, 54, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(255, 202, 126, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(255, 245, 230, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(43, 28, 18, 0.94);
}

.time-info-popup .base-stats-popup__tag {
    color: #ffd8aa;
}

.time-info-popup .base-stats-popup__title {
    color: #fff0db;
}

.time-info-popup .base-stats-popup__subtitle {
    color: #e2c6a7;
}

.time-info-popup .base-stats-popup__info {
    border-color: rgba(255, 214, 163, 0.26);
    background: rgba(42, 25, 14, 0.44);
}

.time-info-popup .base-project-info__heading {
    color: #ffeed8;
}

.time-info-popup .base-project-info__list,
.time-info-popup .bdo-info-popup__lead,
.time-info-popup .bdo-info-popup__sublist {
    color: #e2c7aa;
}

.time-info-popup .bdo-info-popup__section+.bdo-info-popup__section {
    border-top-color: rgba(255, 214, 162, 0.2);
}

.bc-stats-popup {
    position: fixed;
    z-index: 150;
    top: 50%;
    left: 50%;
    width: min(980px, calc(100vw - 32px));
    max-height: min(80vh, 760px);
    transform: translate(-50%, -50%);
    border-radius: 20px;
    border: 1px solid rgba(122, 208, 255, 0.3);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(110, 200, 245, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(130, 180, 255, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(230, 245, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(13, 28, 46, 0.92);
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(16px);
    display: grid;
    grid-template-rows: auto 1fr;
}

.bc-stats-popup[hidden] {
    display: none !important;
}

.bc-stats-popup__header {
    padding: 14px 16px 10px;
    display: flex;
    justify-content: space-between;
    gap: 14px;
    border-bottom: 1px solid rgba(150, 200, 244, 0.2);
}

.bc-stats-popup__tag {
    margin: 0;
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #bddff8;
}

.bc-stats-popup__header h2 {
    margin: 3px 0 0;
    font-family: "Sora", sans-serif;
    font-size: 1.1rem;
    color: #ecf5ff;
}

.bc-stats-popup__title-row {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 2px;
}

.bc-stats-popup__title-row h2 {
    margin: 0;
}

.bc-stats-popup__subtitle {
    margin: 4px 0 0;
    color: #a8c5d9;
    font-size: 0.83rem;
}

.bc-stats-popup__close {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    border: 1px solid rgba(189, 225, 255, 0.26);
    background: rgba(255, 255, 255, 0.06);
    color: #dff3ff;
    font-size: 1rem;
    cursor: pointer;
}

.bc-stats-popup__close:hover,
.bc-stats-popup__close:focus-visible {
    border-color: rgba(188, 226, 255, 0.6);
    color: #ffffff;
}

.bc-stats-popup__close:focus-visible {
    outline: 2px solid rgba(140, 210, 255, 0.72);
    outline-offset: 1px;
}

.bc-stats-popup__content {
    padding: 12px;
    overflow: auto;
}

.bc-stats-popup__status {
    margin: 0 0 10px;
    min-height: 1.2em;
    color: #8cd8ff;
    font-size: 0.79rem;
}

.bc-stats-popup__kpis {
    margin: 0 0 10px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
}

.bc-kpi-card {
    border-radius: 12px;
    border: 1px solid rgba(122, 208, 255, 0.22);
    background: linear-gradient(165deg, rgba(122, 208, 255, 0.14), rgba(255, 255, 255, 0.04));
    padding: 8px 10px;
    min-height: 78px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bc-kpi-card__label {
    margin: 0;
    color: #aed3e9;
    font-size: 0.69rem;
    line-height: 1.28;
    letter-spacing: 0.02em;
}

.bc-kpi-card__value {
    margin: 6px 0 0;
    color: #f0fbff;
    font-family: "Sora", sans-serif;
    font-size: 1.18rem;
    letter-spacing: 0.01em;
}

.bc-stats-popup__ranges {
    margin: 0 0 10px;
    display: inline-flex;
    gap: 6px;
    padding: 4px;
    border-radius: 999px;
    border: 1px solid rgba(122, 208, 255, 0.24);
    background: rgba(8, 26, 36, 0.45);
}

.bc-stats-popup__range {
    min-width: 44px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    border: 1px solid rgba(122, 208, 255, 0.24);
    background: rgba(255, 255, 255, 0.05);
    color: #d6edf9;
    font-family: "Sora", sans-serif;
    font-size: 0.72rem;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: transform 160ms ease, border-color 160ms ease, filter 160ms ease;
}

.bc-stats-popup__range:hover,
.bc-stats-popup__range:focus-visible {
    border-color: rgba(122, 208, 255, 0.62);
    filter: brightness(1.05);
}

.bc-stats-popup__range.is-active {
    border-color: rgba(122, 208, 255, 0.85);
    background: linear-gradient(155deg, #7ad0ff, #4a9fd8);
    color: #0a2430;
}

.bc-stats-popup__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.bc-chart-card {
    border-radius: 14px;
    border: 1px solid rgba(122, 208, 255, 0.2);
    background: linear-gradient(160deg, rgba(230, 245, 255, 0.08), rgba(255, 255, 255, 0.03));
    padding: 10px;
}

.bc-chart-card__title {
    margin: 0 0 8px;
    font-size: 0.82rem;
    color: #d8e8fb;
    letter-spacing: 0.02em;
}

.bc-chart-card__canvas-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1.4 / 1;
}

.bc-chart-card canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
}

.bc-info-popup {
    border-color: rgba(122, 208, 255, 0.36);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(122, 208, 255, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(148, 220, 255, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(230, 245, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(18, 32, 43, 0.94);
}

.bc-info-popup .base-stats-popup__tag {
    color: #aae0ff;
}

.bc-info-popup .base-stats-popup__title {
    color: #dbf0ff;
}

.bc-info-popup .base-stats-popup__subtitle {
    color: #a7d5e2;
}

.bc-info-popup .base-stats-popup__info {
    border-color: rgba(122, 208, 255, 0.26);
    background: rgba(14, 25, 42, 0.44);
}

.bc-info-popup .base-project-info__heading {
    color: #d8eeff;
}

.bc-info-popup .base-project-info__list,
.bc-info-popup .bdo-info-popup__lead,
.bc-info-popup .bdo-info-popup__sublist {
    color: #aac7e2;
}

.bc-info-popup .bdo-info-popup__section+.bdo-info-popup__section {
    border-top-color: rgba(122, 208, 255, 0.2);
}

.sscc-info-popup {
    border-color: rgba(255, 200, 125, 0.36);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(255, 183, 78, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(255, 200, 120, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(255, 245, 230, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(43, 32, 18, 0.94);
}

.sscc-info-popup .base-stats-popup__tag {
    color: #ffd8aa;
}

.sscc-info-popup .base-stats-popup__title {
    color: #fff0db;
}

.sscc-info-popup .base-stats-popup__subtitle {
    color: #e2c6a7;
}

.sscc-info-popup .base-stats-popup__info {
    border-color: rgba(255, 200, 125, 0.26);
    background: rgba(42, 28, 14, 0.44);
}

.sscc-info-popup .base-project-info__heading {
    color: #ffeed8;
}

.sscc-info-popup .base-project-info__list,
.sscc-info-popup .bdo-info-popup__lead,
.sscc-info-popup .bdo-info-popup__sublist {
    color: #e2c7aa;
}

.sscc-info-popup .bdo-info-popup__section+.bdo-info-popup__section {
    border-top-color: rgba(255, 200, 125, 0.2);
}

.time-stats-popup {
    border-color: rgba(255, 214, 162, 0.36);
}

.time-stats-popup .base-stats-popup__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.time-stats-popup__toolbar {
    margin: 0 0 10px;
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.time-stats-popup__location-label,
.time-stats-popup__timezone-label {
    font-size: 0.76rem;
    color: #ffe2bf;
}

.time-stats-popup__location-select,
.time-stats-popup__timezone-select {
    min-height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 214, 163, 0.34);
    background: rgba(64, 37, 20, 0.58);
    color: #ffe9cf;
    font-family: "Space Grotesk", sans-serif;
    font-size: 0.74rem;
    padding: 3px 8px;
}

.inventory-info-popup {
    border-color: rgba(156, 224, 255, 0.34);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(101, 188, 255, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(131, 222, 255, 0.16), transparent 72%),
        linear-gradient(165deg, rgba(227, 245, 255, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(15, 33, 46, 0.94);
}

.inventory-info-popup .base-stats-popup__tag {
    color: #c7ecff;
}

.inventory-info-popup .base-stats-popup__title {
    color: #e9f8ff;
}

.inventory-info-popup .base-stats-popup__subtitle {
    color: #bedef0;
}

.inventory-info-popup .base-stats-popup__info {
    border-color: rgba(166, 226, 255, 0.24);
    background: rgba(10, 29, 41, 0.46);
}

.inventory-info-popup .base-project-info__heading {
    color: #d9f2ff;
}

.inventory-info-popup .base-project-info__list,
.inventory-info-popup .bdo-info-popup__lead,
.inventory-info-popup .bdo-info-popup__sublist {
    color: #c2dfee;
}

.inventory-info-popup .bdo-info-popup__section+.bdo-info-popup__section {
    border-top-color: rgba(166, 226, 255, 0.2);
}

.split-actions {
    position: absolute;
    inset: 0;
    z-index: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 320ms ease, transform 320ms ease;
    pointer-events: none;
}

.split-actions__side {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: #f3fbff;
    font-family: "Sora", sans-serif;
    letter-spacing: 0.015em;
}

.split-actions__side:first-child {
    border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.split-actions__side--front {
    background: linear-gradient(165deg, rgb(49, 191, 145), rgb(25, 87, 70));
}

.split-actions__side--admin {
    background: linear-gradient(165deg, rgb(62, 154, 208), rgb(31, 72, 112));
}

.split-actions__side--store {
    background: linear-gradient(165deg, rgb(222, 150, 84), rgb(116, 66, 32));
}

.split-actions__side--panel {
    background: linear-gradient(165deg, rgb(179, 116, 64), rgb(92, 50, 24));
}

.split-actions--b2c .split-actions__side {
    position: relative;
    overflow: hidden;
    transition: filter 220ms ease, transform 220ms ease;
}

.split-actions--b2c .split-actions__side--store {
    background:
        radial-gradient(180px circle at 16% 20%, rgba(255, 235, 203, 0.2), transparent 64%),
        linear-gradient(165deg, rgb(222, 137, 80), rgb(114, 65, 36));
}

.split-actions--b2c .split-actions__side--panel {
    background:
        radial-gradient(200px circle at 88% 14%, rgba(205, 231, 255, 0.2), transparent 66%),
        linear-gradient(165deg, rgb(93, 137, 188), rgb(42, 72, 114));
}

.split-actions--b2c .split-actions__side:hover,
.split-actions--b2c .split-actions__side:focus-visible {
    filter: brightness(1.08) saturate(1.08);
}

.split-actions__media {
    width: 84px;
    height: 84px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.35);
    background: rgba(11, 22, 31, 0.4);
    display: grid;
    place-items: center;
}

.split-actions__media svg {
    width: 58px;
    height: 58px;
}

.split-actions__side span {
    font-size: 1rem;
}

.split-actions__side:focus-visible {
    outline: 2px solid rgba(220, 245, 255, 0.8);
    outline-offset: -2px;
}

.tile--split:hover .split-actions,
.tile--split:focus-within .split-actions {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.tile--split:hover .tile__main,
.tile--split:focus-within .tile__main {
    opacity: 0;
    transform: scale(0.98);
}

.tile--split .tile__main {
    transition: opacity 280ms ease, transform 280ms ease;
}

.tile--clickable,
.tile--hover {
    transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.tile--clickable:hover,
.tile--clickable:focus-visible,
.tile--hover:hover {
    transform: translateY(-5px) scale(1.008);
    border-color: rgba(255, 255, 255, 0.32);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45);
}

.tile--disabled {
    cursor: not-allowed;
}

.tile__badge--soon {
    border-color: rgba(203, 226, 255, 0.28);
    background: linear-gradient(145deg, rgba(168, 212, 255, 0.2), rgba(110, 167, 212, 0.18));
    color: #eaf5ff;
    box-shadow: 0 6px 14px rgba(3, 15, 24, 0.3);
}

.tile--sscc {
    color: var(--c-sscc);
    background:
        radial-gradient(250px circle at var(--mx) var(--my), rgba(255, 200, 120, 0.18), transparent 68%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

.tile--bc {
    color: var(--c-bc);
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(122, 208, 255, 0.2), transparent 68%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

.tile--bc::before,
.tile--bc::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: transform 360ms ease, opacity 360ms ease;
}

.tile--bc::before {
    width: 170px;
    height: 170px;
    right: -28px;
    top: -34px;
    border-radius: 24px;
    border: 2px solid rgba(126, 204, 255, 0.32);
    transform: rotate(8deg);
}

.tile--bc::after {
    width: 200px;
    height: 42px;
    left: 20px;
    bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(120, 204, 255, 0.25), transparent);
    opacity: 0.7;
}

.tile--bc:hover::before,
.tile--bc:focus-visible::before {
    transform: rotate(-6deg) translate(-6px, 8px);
}

.tile--bc:hover::after,
.tile--bc:focus-visible::after {
    transform: translateX(16px);
    opacity: 1;
}

.tile--base {
    color: var(--c-base);
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 167, 130, 0.2), transparent 68%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

.tile--bc .tile__main,
.tile--base .tile__main,
.tile--sscc .tile__main,
.tile--bdo .tile__main,
.tile--inventory .tile__main {
    transform: translate3d(var(--dx), var(--dy), 0);
    transition: transform 220ms ease;
}

.tile--bc .tile__main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("/assets/img/BC%20ALL%20LOGOS/BC-logo.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: clamp(200px, 76%, 430px) auto;
    opacity: 0.16;
    filter: saturate(0.92) brightness(0.9);
    transform: scale(1);
    transition: opacity 220ms ease, transform 320ms ease;
    -webkit-mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95) 45%, rgba(0, 0, 0, 0.5) 74%, transparent 100%);
    mask-image: radial-gradient(circle at center, rgba(0, 0, 0, 0.95) 45%, rgba(0, 0, 0, 0.5) 74%, transparent 100%);
}

.tile--base .tile__main::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image: url("/assets/img/base-logo.svg");
    background-repeat: no-repeat;
    background-position: center top;
    background-size: clamp(220px, 72%, 420px) auto;
    opacity: 0.12;
    filter: saturate(0.78) brightness(0.86);
    transform: scale(1);
    transition: opacity 220ms ease, transform 320ms ease;
    -webkit-mask-image: radial-gradient(ellipse 120% 92% at 50% 34%, rgba(0, 0, 0, 0.95) 34%, rgba(0, 0, 0, 0.55) 66%, transparent 100%);
    mask-image: radial-gradient(ellipse 120% 92% at 50% 34%, rgba(0, 0, 0, 0.95) 34%, rgba(0, 0, 0, 0.55) 66%, transparent 100%);
}

.tile--bc .tile__main>*,
.tile--base .tile__main>* {
    position: relative;
    z-index: 1;
}

.tile--bc:hover .tile__main::before,
.tile--bc:focus-visible .tile__main::before {
    opacity: 0.24;
    transform: scale(1.03);
}

.tile--base:hover .tile__main::before,
.tile--base:focus-visible .tile__main::before {
    opacity: 0.19;
    transform: scale(1.02);
}

.tile--bc .tile__icon,
.tile--base .tile__icon,
.tile--sscc .tile__icon,
.tile--bdo .tile__icon,
.tile--inventory .tile__icon {
    transform: translate3d(calc(var(--dx) * -0.7), calc(var(--dy) * -0.7), 0);
    transition: transform 220ms ease, filter 220ms ease;
}

.tile--bc.is-pointer-inside .tile__icon,
.tile--base.is-pointer-inside .tile__icon,
.tile--sscc.is-pointer-inside .tile__icon,
.tile--bdo.is-pointer-inside .tile__icon,
.tile--inventory.is-pointer-inside .tile__icon {
    filter: brightness(1.06);
}

.tile--base::before,
.tile--base::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.tile--base::before {
    width: 230px;
    height: 230px;
    right: -72px;
    top: -54px;
    border-radius: 50%;
    background: conic-gradient(from 130deg, rgba(255, 159, 116, 0.28), rgba(255, 124, 84, 0.06), rgba(255, 179, 142, 0.32));
    filter: blur(0.5px);
    transition: transform 520ms ease;
}

.tile--base::after {
    width: 145px;
    height: 145px;
    left: -34px;
    bottom: -58px;
    border: 2px dashed rgba(255, 176, 142, 0.36);
    border-radius: 24px;
}

.tile--base:hover::before,
.tile--base:focus-visible::before {
    transform: rotate(24deg) scale(1.06);
}

.tile--base:hover::after,
.tile--base:focus-visible::after {
    animation: float-tilt 1.25s ease-in-out infinite alternate;
}

.tile--sscc::before {
    content: "";
    position: absolute;
    width: 220px;
    height: 220px;
    right: -40px;
    top: 20px;
    border-radius: 30px;
    border: 2px dashed rgba(255, 200, 125, 0.25);
    transform: rotate(12deg);
    transition: transform 320ms ease;
}

.tile--sscc .tile__main::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 44px;
    left: -28px;
    bottom: 18px;
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(255, 200, 120, 0.22), transparent);
    opacity: 0.75;
    pointer-events: none;
    transition: transform 320ms ease, opacity 320ms ease;
}

.tile--sscc:hover::before {
    transform: rotate(-5deg) translate(-10px, 10px);
}

.tile--sscc:hover .tile__main::before,
.tile--sscc:focus-visible .tile__main::before {
    transform: translateX(20px);
    opacity: 1;
}

.tile--bdo {
    color: var(--c-bdo);
    background:
        radial-gradient(250px circle at var(--mx) var(--my), rgba(170, 247, 139, 0.18), transparent 68%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

.tile--bdo::before,
.tile--bdo::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: transform 360ms ease, opacity 360ms ease;
}

.tile--bdo::before {
    width: 112px;
    height: 112px;
    right: 30px;
    top: 8px;
    border-radius: 50%;
    border: 2px solid rgba(186, 248, 164, 0.34);
    background: radial-gradient(circle at 35% 35%, rgba(209, 255, 193, 0.16), transparent 70%);
    transform: rotate(0deg);
    animation: bdo-outline-drift 8.5s ease-in-out infinite alternate;
}

.tile--bdo::after {
    width: 170px;
    height: 118px;
    right: -14px;
    bottom: -14px;
    border: 2px dashed rgba(174, 241, 152, 0.34);
    clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%);
    background: linear-gradient(180deg, rgba(174, 241, 152, 0.14), rgba(174, 241, 152, 0.03));
    opacity: 0.8;
    animation: bdo-ribbon-flow 5.8s ease-in-out infinite;
}

.tile--bdo .tile__main::before {
    content: "";
    position: absolute;
    left: -20%;
    top: 12px;
    width: 46%;
    height: 6px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(194, 249, 175, 0.38), transparent);
    filter: blur(0.4px);
    pointer-events: none;
    animation: bdo-scanline 4.9s ease-in-out infinite;
}

.tile--bdo .tile__main::after {
    content: "";
    position: absolute;
    right: 80px;
    top: 84px;
    width: 150px;
    border-top: 2px dashed rgba(184, 246, 162, 0.36);
    transform: rotate(16deg);
    transform-origin: right center;
    opacity: 0.56;
    pointer-events: none;
    animation: bdo-trajectory 6.6s ease-in-out infinite;
}

.tile--bdo:hover::before,
.tile--bdo:focus-visible::before {
    transform: translate(-8px, 6px) scale(1.05);
}

.tile--bdo:hover::after,
.tile--bdo:focus-visible::after {
    transform: translate(-8px, 2px) scale(1.03);
    opacity: 1;
}

.tile--inventory {
    color: var(--c-inventory);
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(146, 219, 255, 0.2), transparent 68%),
        linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

.tile--inventory::before,
.tile--inventory::after {
    content: "";
    position: absolute;
    pointer-events: none;
    transition: transform 360ms ease, opacity 360ms ease;
}

.tile--inventory::before {
    width: 228px;
    height: 152px;
    right: -58px;
    top: 6px;
    border: 2px solid rgba(147, 218, 255, 0.28);
    border-radius: 10px;
    clip-path: polygon(16% 0, 100% 0, 84% 100%, 0 100%);
}

.tile--inventory::after {
    width: 260px;
    height: 32px;
    left: -56px;
    bottom: 26px;
    border-radius: 999px;
    background: repeating-linear-gradient(90deg,
            rgba(161, 226, 255, 0.24) 0 10px,
            rgba(161, 226, 255, 0.02) 10px 26px);
    transform: rotate(-12deg);
    opacity: 0.7;
}

.tile--inventory:hover::before,
.tile--inventory:focus-visible::before {
    transform: scale(1.04) translate(-8px, 2px);
}

.tile--inventory:hover::after,
.tile--inventory:focus-visible::after {
    transform: rotate(-9deg) translate(12px, -4px);
}

.tile--inventory.tile--disabled {
    border-color: rgba(166, 202, 230, 0.24);
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(151, 206, 239, 0.12), transparent 68%),
        linear-gradient(160deg, rgba(210, 231, 248, 0.05), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

.tile--inventory.tile--disabled .tile__icon,
.tile--inventory.tile--disabled h2,
.tile--inventory.tile--disabled p,
.tile--inventory.tile--disabled .hint {
    opacity: 0.82;
}

.tile--inventory.tile--disabled .tile__badge--soon {
    animation: inventory-badge-pulse 2.8s ease-in-out infinite;
}

.tile--inventory.tile--disabled .tile__main::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(120deg,
            rgba(165, 206, 234, 0.06) 0 8px,
            transparent 8px 20px);
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.42), transparent 78%);
    pointer-events: none;
    animation: inventory-sheen 6.2s linear infinite;
}

.tile--inventory.tile--disabled::before {
    animation: inventory-orbit-wait 7.2s ease-in-out infinite alternate;
}

.tile--inventory.tile--disabled::after {
    animation: inventory-frame-breathe 6.5s ease-in-out infinite;
}

.tile--inventory.tile--disabled:hover::before,
.tile--inventory.tile--disabled:focus-visible::before {
    transform: none;
}

.tile--inventory.tile--disabled:hover::after,
.tile--inventory.tile--disabled:focus-visible::after {
    transform: rotate(-12deg);
}

.tile--time {
    color: var(--c-time);
}

.tile--time::before,
.tile--time::after {
    content: "";
    position: absolute;
    pointer-events: none;
}

.tile--time::before {
    width: 160px;
    height: 160px;
    right: -25px;
    bottom: -40px;
    border: 2px solid rgba(255, 199, 119, 0.22);
    border-radius: 999px;
    opacity: 0.6;
}

.tile--time::after {
    content: "HR";
    left: 50%;
    top: 50%;
    font-family: "Sora", "Space Grotesk", sans-serif;
    font-size: clamp(6rem, 18vw, 11rem);
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 0.86;
    color: rgba(255, 210, 140, 0.18);
    text-shadow:
        0 0 20px rgba(255, 200, 120, 0.12),
        0 8px 28px rgba(44, 26, 8, 0.24);
    -webkit-text-stroke: 1px rgba(255, 225, 170, 0.24);
    animation: hr-watermark-drift 8.2s ease-in-out infinite;
    z-index: 1;
}

.tile--time:hover::after,
.tile--time:focus-visible::after {
    opacity: 0.26;
}

.split-actions__side--manager {
    background: linear-gradient(165deg, rgba(255, 194, 102, 0.5), rgba(117, 73, 24, 0.6));
}

.split-actions__side--employee {
    background: linear-gradient(165deg, rgba(255, 228, 151, 0.45), rgba(138, 94, 30, 0.58));
}

#b2cStatsPopup {
    border-color: rgba(255, 213, 151, 0.34);
    background:
        radial-gradient(360px circle at -10% -18%, rgba(255, 183, 107, 0.2), transparent 68%),
        radial-gradient(360px circle at 108% 122%, rgba(245, 163, 106, 0.18), transparent 72%),
        linear-gradient(165deg, rgba(255, 244, 227, 0.08), rgba(255, 255, 255, 0.03)),
        rgba(45, 28, 16, 0.94);
}

#b2cStatsPopup .b2b-stats-popup__tag {
    color: #ffd7a9;
}

#b2cStatsPopup .b2b-stats-popup__title-row h2 {
    color: #fff1dc;
}

#b2cStatsPopup .b2b-stats-popup__subtitle,
#b2cStatsPopup .b2b-mini-stat__label {
    color: #e9c9a3;
}

#b2cStatsPopup .b2b-stats-popup__status {
    color: #ffd7a9;
}

#b2cStatsPopup .b2b-mini-stat,
#b2cStatsPopup .b2b-chart-card {
    border-color: rgba(255, 220, 171, 0.24);
    background: linear-gradient(160deg, rgba(255, 232, 200, 0.12), rgba(255, 255, 255, 0.03));
}

#b2cStatsPopup .b2b-mini-stat__value,
#b2cStatsPopup .b2b-chart-card__title,
#b2cStatsPopup .b2b-project-info__heading,
#b2cStatsPopup .b2b-project-info__list li,
#b2cStatsPopup .bdo-info-popup__lead {
    color: #fff0d9;
}

#b2cStatsPopup .b2b-stats-popup__info {
    border-color: rgba(255, 220, 171, 0.26);
    background: rgba(53, 31, 18, 0.46);
}

#b2cStatsPopup .b2b-project-info__section + .b2b-project-info__section {
    border-top-color: rgba(255, 214, 162, 0.2);
}

#b2cStatsPopup .b2b-stats-popup__range {
    border-color: rgba(255, 220, 171, 0.28);
    color: #ffe9cf;
}

#b2cStatsPopup .b2b-stats-popup__range:hover,
#b2cStatsPopup .b2b-stats-popup__range:focus-visible {
    border-color: rgba(255, 229, 194, 0.72);
}

#b2cStatsPopup .b2b-stats-popup__range.is-active {
    border-color: rgba(255, 220, 150, 0.88);
    background: linear-gradient(155deg, #f2b447, #cf7e24);
    color: #3b2410;
}

@keyframes card-in {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes float-tilt {
    from {
        transform: translateY(0) rotate(-4deg);
    }

    to {
        transform: translateY(-8px) rotate(5deg);
    }
}

@keyframes bdo-outline-drift {
    from {
        transform: translate(0, 0) scale(1);
    }

    to {
        transform: translate(-7px, 5px) scale(1.04);
    }
}

@keyframes bdo-ribbon-flow {

    0%,
    100% {
        transform: translate(0, 0);
        opacity: 0.72;
    }

    50% {
        transform: translate(-8px, 2px);
        opacity: 0.96;
    }
}

@keyframes bdo-trajectory {

    0%,
    100% {
        transform: rotate(16deg) translateX(0);
        opacity: 0.42;
    }

    50% {
        transform: rotate(16deg) translateX(9px);
        opacity: 0.82;
    }
}

@keyframes bdo-scanline {
    0% {
        transform: translateX(0);
        opacity: 0;
    }

    20% {
        opacity: 0.9;
    }

    100% {
        transform: translateX(260%);
        opacity: 0;
    }
}

@keyframes inventory-orbit-wait {
    from {
        transform: scale(1) translate(0, 0);
        opacity: 0.75;
    }

    to {
        transform: scale(1.04) translate(-4px, 4px);
        opacity: 0.95;
    }
}

@keyframes inventory-frame-breathe {

    0%,
    100% {
        opacity: 0.58;
    }

    50% {
        opacity: 0.9;
    }
}

@keyframes inventory-sheen {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 180px 0;
    }
}

@keyframes inventory-badge-pulse {

    0%,
    100% {
        transform: scale(1);
        filter: brightness(1);
    }

    50% {
        transform: scale(1.035);
        filter: brightness(1.08);
    }
}

@keyframes weather-sun-pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.08);
    }
}

@keyframes weather-cloud-float {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(2px);
    }
}

@keyframes weather-rain-fall {
    0% {
        transform: translateY(-2px);
        opacity: 0;
    }

    20% {
        opacity: 1;
    }

    100% {
        transform: translateY(8px);
        opacity: 0;
    }
}

@media (min-width: 840px) {

    .bc-tile-wrap {
        grid-column: span 6;
    }

    .base-tile-wrap {
        grid-column: span 6;
    }

    .bdo-tile-wrap {
        grid-column: span 6;
    }

    .time-tile-wrap {
        grid-column: span 6;
    }

    .sscc-tile-wrap {
        grid-column: span 6;
    }

    .inventory-tile-wrap {
        grid-column: span 6;
    }

    .tile--bc,
    .tile--base,
    .tile--sscc,
    .tile--time,
    .tile--bdo,
    .tile--inventory {
        grid-column: span 6;
    }

    .tile--b2b {
        grid-column: span 12;
    }

    .tile--b2c {
        grid-column: span 12;
    }
}

@media (max-width: 839px) {
    .dashboard {
        padding-top: 15px;
    }

    .header-topbar {
        flex-wrap: wrap;
        align-items: flex-start;
    }

    .hero-heading-row {
        align-items: flex-start;
    }

    .fx-chip {
        width: 100%;
        justify-content: space-between;
    }

    .weather-chip {
        order: 3;
        width: 100%;
        max-width: none;
    }

    .header-utilities {
        width: 100%;
        align-items: flex-start;
    }

    .header-controls {
        width: 100%;
        justify-content: flex-start;
        margin-left: 0;
    }

    .header-clock {
        display: none;
    }

    .dashboard-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .bcg-ai-popup {
        left: 12px;
        right: 12px;
        bottom: 12px;
        width: auto;
        max-height: min(72vh, 640px);
    }

    .auth-popup {
        padding: 14px;
    }

    .auth-popup__card {
        width: min(430px, 100%);
    }

    .notifications-popup {
        left: 12px;
        right: 12px;
        top: 12px;
        bottom: auto;
        width: auto;
        max-height: min(75vh, 640px);
    }

    .b2b-stats-popup {
        left: 12px;
        right: 12px;
        top: 12px;
        bottom: 12px;
        width: auto;
        max-height: none;
        transform: none;
    }

    .bc-stats-popup {
        left: 12px;
        right: 12px;
        top: 12px;
        bottom: 12px;
        width: auto;
        max-height: none;
        transform: none;
    }

    .b2c-tile-wrap .tile__quick-actions,
    .b2b-tile-wrap .tile__quick-actions,
    .bc-tile-wrap .tile__quick-actions,
    .base-tile-wrap .tile__quick-actions,
    .bdo-tile-wrap .tile__quick-actions,
    .time-tile-wrap .tile__quick-actions,
    .sscc-tile-wrap .tile__quick-actions,
    .inventory-tile-wrap .tile__quick-actions {
        top: 10px;
        right: 10px;
    }

    .b2b-stats-popup__title-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tile {
        min-height: 230px;
        border-radius: 20px;
    }

    .tile--b2b::after {
        right: 8px;
        bottom: -6px;
        font-size: clamp(4.2rem, 24vw, 7.2rem);
        opacity: 0.18;
    }

    .tile--b2c::after {
        left: 50%;
        top: 50%;
        right: auto;
        bottom: auto;
        font-size: clamp(5.6rem, 30vw, 9.2rem);
        opacity: 0.2;
    }

    .tile--b2c::before {
        width: 300px;
        height: 200px;
        right: -88px;
        top: -30px;
        opacity: 0.72;
    }

    .crm-spotlight::after {
        right: 10px;
        bottom: -10px;
        font-size: clamp(3.8rem, 22vw, 6.8rem);
        opacity: 0.16;
    }

    .tile--time::after {
        font-size: clamp(4.5rem, 26vw, 8rem);
        opacity: 0.14;
    }

    .ask-ai {
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }

    .ask-ai__submit,
    .ask-ai__input {
        width: 100%;
    }

    .crm-spotlight {
        grid-template-columns: 1fr;
        gap: 10px;
        align-items: flex-start;
        width: 100%;
        padding-right: 16px;
    }

    .crm-spotlight-wrap {
        width: 100%;
    }

    .crm-spotlight__quick-actions {
        top: 10px;
        right: 10px;
    }

    .stats-hub {
        width: 100%;
        padding: 13px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .stats-card {
        min-height: 190px;
    }

    .stats-card--crm .stats-metrics {
        grid-template-columns: 1fr;
    }

    .stats-card--b2b .stats-metrics {
        grid-template-columns: 1fr;
    }

    .crm-spotlight__cta {
        min-height: 32px;
    }

    .split-actions__media {
        width: 72px;
        height: 72px;
    }

    .split-actions__media svg {
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 620px) {
    .split-actions {
        grid-template-columns: 1fr;
    }

    .crm-stats-popup {
        border-radius: 15px;
        left: 12px;
        right: 12px;
        top: 12px;
        bottom: 12px;
        width: auto;
        max-height: none;
        transform: none;
    }

    .base-stats-popup {
        border-radius: 15px;
        left: 12px;
        right: 12px;
        top: 12px;
        bottom: 12px;
        width: auto;
        max-height: none;
        transform: none;
    }

    .base-stats-popup__topline {
        grid-template-columns: 1fr;
    }

    .base-stats-popup__grid {
        grid-template-columns: 1fr;
    }

    .time-stats-popup .base-stats-popup__grid {
        grid-template-columns: 1fr;
    }

    .crm-stats-popup__topline {
        grid-template-columns: 1fr;
    }

    .crm-stats-popup__grid {
        grid-template-columns: 1fr;
    }

    .b2b-stats-popup {
        border-radius: 15px;
    }

    .b2b-stats-popup__topline {
        flex-direction: column;
    }

    .b2b-stats-popup__grid {
        grid-template-columns: 1fr;
    }

    .bc-stats-popup {
        border-radius: 15px;
    }

    .bc-stats-popup__kpis {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bc-stats-popup__grid {
        grid-template-columns: 1fr;
    }

    .b2b-project-info__row {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .split-actions__side:first-child {
        border-right: 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.22);
    }

    .split-actions__side {
        min-height: 50%;
    }

    .bcg-ai-popup {
        border-radius: 15px;
        max-height: 75vh;
    }

    .auth-popup__card {
        border-radius: 15px;
    }

    .notifications-popup {
        border-radius: 15px;
    }

    .notifications-popup__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .notifications-popup__action {
        width: 100%;
    }

    .notifications-install__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .notifications-install__primary,
    .notifications-install__secondary {
        width: 100%;
    }

    .pwa-ios-guide {
        padding: 12px;
    }

    .pwa-ios-guide__card {
        border-radius: 14px;
        padding: 12px;
    }

    .pwa-ios-guide__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pwa-ios-guide__primary,
    .pwa-ios-guide__secondary {
        width: 100%;
    }

    .system-notifications-prompt {
        padding: 12px;
    }

    .system-notifications-prompt__card {
        border-radius: 14px;
        padding: 14px;
    }

    .system-notifications-prompt__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .system-notifications-prompt__primary,
    .system-notifications-prompt__secondary {
        width: 100%;
    }

    .notifications-item__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .notifications-item__delete,
    .notifications-item__open,
    .notifications-item__reply,
    .notifications-item__reply-send,
    .notifications-item__reply-cancel {
        width: 100%;
    }

    .bcg-ai-popup__form {
        grid-template-columns: 1fr;
    }

    .bcg-ai-popup__submit {
        width: 100%;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-card--crm .stats-metrics {
        grid-template-columns: 1fr;
    }

    .stats-card--b2b .stats-metrics {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }

    .tile--bc .tile__main,
    .tile--base .tile__main,
    .tile--bc .tile__icon,
    .tile--base .tile__icon,
    .tile--sscc .tile__main,
    .tile--sscc .tile__icon,
    .tile--bdo .tile__main,
    .tile--bdo .tile__icon,
    .tile--inventory .tile__main,
    .tile--inventory .tile__icon {
        transform: none !important;
    }

    .weather-chip__sun,
    .weather-chip__cloud,
    .weather-chip__drop {
        animation: none !important;
    }

}

@keyframes crm-spotlight-in {
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

/* Warm palette override (anchored on #f7a736) */
:root {
    --bg-0: #1d140a;
    --bg-1: #342315;
    --surface: rgba(42, 28, 16, 0.76);
    --surface-strong: rgba(49, 31, 18, 0.92);
    --line: rgba(247, 186, 110, 0.26);
    --text: #fff4e6;
    --muted: #d2bca7;
    --c-b2b: #f7c875;
    --c-admin: #f2b45a;
    --c-sscc: #ffc58a;
    --c-time: #ffd69a;
    --c-bc: #f7a736;
    --c-base: #ff9b63;
    --c-bdo: #c9f098;
    --c-inventory: #f2c978;
    --shadow: 0 16px 44px rgba(0, 0, 0, 0.42);
    --stats-ring-1: #f8c97d;
    --stats-ring-2: #f7a736;
    --stats-ring-3: #ffb972;
    --stats-ring-4: #ff9a62;
    --stats-ring-5: #f7d68f;
    --stats-ring-6: #f0b77b;
}

body {
    background:
        radial-gradient(1100px 480px at -15% -10%, rgba(247, 167, 54, 0.16), transparent 55%),
        radial-gradient(900px 500px at 110% -20%, rgba(255, 195, 118, 0.14), transparent 58%),
        linear-gradient(145deg, var(--bg-0), var(--bg-1));
}

.bg-orb--left {
    background: rgba(247, 167, 54, 0.2);
}

.bg-orb--right {
    background: rgba(230, 145, 72, 0.2);
}

.weather-chip {
    border: 1px solid rgba(255, 200, 127, 0.24);
    background: linear-gradient(145deg, rgba(247, 167, 54, 0.14), rgba(255, 193, 122, 0.08));
}

.weather-chip__label {
    color: #f3d2ac;
}

.weather-chip[data-daytime="night"] {
    border-color: rgba(240, 189, 126, 0.3);
    background: linear-gradient(145deg, rgba(139, 95, 52, 0.26), rgba(92, 62, 33, 0.2));
}

.quick-link {
    border-color: rgba(255, 200, 127, 0.24);
    background: linear-gradient(145deg, rgba(247, 167, 54, 0.14), rgba(255, 193, 122, 0.08));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    color: #ffe8cc;
}

.user-orb__avatar {
    border-color: rgba(255, 200, 127, 0.34);
    background: linear-gradient(145deg, rgba(247, 167, 54, 0.16), rgba(255, 193, 122, 0.1));
    color: #ffe8cc;
}

.user-orb__badge {
    border-color: rgba(255, 223, 182, 0.36);
    background: linear-gradient(145deg, #ffb06a, #f56d52);
}

.user-orb__avatar[data-state="user"] {
    color: #2f1c0d;
    border-color: rgba(255, 216, 170, 0.58);
    background: linear-gradient(145deg, #ffd39e, #f7a736);
}

.user-orb:hover .user-orb__avatar,
.user-orb:focus-visible .user-orb__avatar {
    border-color: rgba(255, 210, 155, 0.58);
    color: #fff4e5;
}

.user-orb:focus-visible {
    outline: 2px solid rgba(247, 167, 54, 0.56);
}

.language-switch {
    border-color: rgba(255, 210, 155, 0.22);
    background: rgba(255, 190, 124, 0.08);
}

.quick-link:hover,
.quick-link:focus-visible {
    border-color: rgba(255, 210, 155, 0.52);
    color: #fff4e5;
}

.quick-link:focus-visible,
.language-switch__btn:focus-visible,
.bcg-ai-popup__close:focus-visible,
.ask-ai__input:focus,
.ask-ai__submit:focus-visible,
.bcg-ai-popup__submit:focus-visible,
.bcg-ai-popup__input:focus {
    outline: 2px solid rgba(247, 167, 54, 0.56);
}

.language-switch__btn {
    color: #f4dcc3;
}

.language-switch__btn.is-active {
    color: #2f1c0d;
    background: linear-gradient(145deg, #f8c786, #f7a736);
}

.eyebrow {
    color: #f2c796;
}

.fx-chip {
    border-color: rgba(255, 198, 127, 0.3);
    background: linear-gradient(145deg, rgba(255, 210, 147, 0.16), rgba(247, 167, 54, 0.1));
}

.fx-chip__label {
    color: #f2cba1;
}

.fx-rate {
    border-color: rgba(255, 208, 147, 0.26);
    background: rgba(255, 206, 145, 0.09);
}

.fx-rate__symbol,
.fx-rate__value {
    color: #fff0dc;
}

.ask-ai__status {
    color: #ffd196;
}

.ask-ai__submit,
.bcg-ai-popup__submit {
    color: #2f1c0d;
    background: linear-gradient(145deg, #ffd39e, #f7a736);
}

.ask-ai__submit:hover,
.bcg-ai-popup__submit:hover,
.bcg-ai-popup__submit:focus-visible {
    filter: brightness(1.03);
}

.bcg-ai-popup {
    border-color: rgba(255, 198, 127, 0.3);
    background:
        radial-gradient(460px circle at 0% -20%, rgba(247, 167, 54, 0.16), transparent 58%),
        radial-gradient(420px circle at 100% -20%, rgba(255, 194, 117, 0.12), transparent 58%),
        var(--surface-strong);
}

.auth-popup__card {
    border-color: rgba(255, 198, 127, 0.3);
    background:
        radial-gradient(460px circle at 0% -20%, rgba(247, 167, 54, 0.16), transparent 58%),
        radial-gradient(420px circle at 100% -20%, rgba(255, 194, 117, 0.12), transparent 58%),
        var(--surface-strong);
}

.notifications-popup {
    border-color: rgba(255, 198, 127, 0.3);
    background:
        radial-gradient(460px circle at 0% -20%, rgba(247, 167, 54, 0.16), transparent 58%),
        radial-gradient(420px circle at 100% -20%, rgba(255, 194, 117, 0.12), transparent 58%),
        var(--surface-strong);
}

.bcg-ai-popup__header,
.bcg-ai-popup__form {
    border-color: rgba(255, 199, 130, 0.24);
}

.auth-popup__header {
    border-color: rgba(255, 199, 130, 0.24);
}

.notifications-popup__header,
.notifications-popup__toolbar {
    border-color: rgba(255, 199, 130, 0.24);
}

.notifications-install {
    border-color: rgba(255, 204, 142, 0.28);
    background: linear-gradient(145deg, rgba(255, 177, 95, 0.14), rgba(255, 215, 148, 0.08));
}

.bcg-ai-popup__staff-tag,
.bcg-ai-message__author {
    color: #f0c79a;
}

.auth-popup__tag {
    color: #f0c79a;
}

.notifications-popup__tag {
    color: #f0c79a;
}

.bcg-ai-message__bubble {
    border-color: rgba(255, 199, 130, 0.2);
    background: rgba(255, 180, 108, 0.08);
}

.bcg-ai-message--assistant .bcg-ai-message__bubble {
    background: linear-gradient(145deg, rgba(247, 167, 54, 0.15), rgba(198, 120, 67, 0.14));
}

.bcg-ai-message--user .bcg-ai-message__bubble {
    background: linear-gradient(145deg, rgba(255, 190, 118, 0.18), rgba(210, 126, 68, 0.16));
    border-color: rgba(255, 204, 143, 0.34);
}

.bcg-ai-popup__input,
.ask-ai__input {
    border-color: rgba(255, 199, 129, 0.26);
    background: rgba(255, 182, 110, 0.08);
}

.auth-popup__input {
    border-color: rgba(255, 199, 129, 0.26);
    background: rgba(255, 182, 110, 0.08);
}

.bcg-ai-popup__attachment {
    border-color: rgba(255, 202, 133, 0.3);
    background: rgba(255, 185, 116, 0.08);
}

.bcg-ai-popup__attachment-image {
    border-color: rgba(255, 205, 142, 0.3);
}

.bcg-ai-popup__attachment-meta,
.bcg-ai-popup__hint {
    color: #f1d0a6;
}

.auth-popup__desc,
.auth-popup__label {
    color: #f1d0a6;
}

.notifications-popup__subtitle,
.notifications-item__meta,
.notifications-popup__unread,
.notifications-popup__empty,
.notifications-item__body {
    color: #f1d0a6;
}

.notifications-item__title {
    color: #fff1dc;
}

.auth-popup__submit {
    color: #2f1c0d;
    background: linear-gradient(145deg, #ffd39e, #f7a736);
}

.auth-popup__status {
    color: #ffd196;
}

.notifications-popup__status {
    color: #ffd196;
}

.auth-popup__status.is-error {
    color: #ffc0b7;
}

.auth-popup__status.is-success {
    color: #d9ffcb;
}

.notifications-popup__status.is-success {
    color: #d9ffcb;
}

.notifications-popup__status.is-error {
    color: #ffc0b7;
}

.notifications-popup__action,
.notifications-install__primary,
.notifications-install__secondary,
.notifications-item__open,
.notifications-item__delete,
.notifications-item__reply,
.notifications-item__reply-send,
.notifications-item__reply-cancel {
    border-color: rgba(255, 204, 142, 0.34);
    background: rgba(255, 186, 119, 0.08);
}

.notifications-popup__action--danger,
.notifications-item__delete {
    border-color: rgba(255, 178, 159, 0.36);
    color: #ffd2c6;
}

.notifications-install__heading,
.notifications-install__hint {
    color: #f8d9b3;
}

.notifications-item__card {
    border-color: rgba(255, 205, 142, 0.22);
    background: rgba(255, 180, 108, 0.08);
}

.notifications-item__reply-wrap {
    border-color: rgba(255, 205, 142, 0.2);
    background: rgba(255, 180, 108, 0.06);
}

.notifications-item__reply-input {
    border-color: rgba(255, 204, 142, 0.34);
    background: rgba(255, 186, 119, 0.08);
    color: #fff0dc;
}

.notifications-item:not(.is-read) .notifications-item__card {
    border-color: rgba(255, 216, 158, 0.44);
    background: linear-gradient(155deg, rgba(247, 167, 54, 0.17), rgba(194, 117, 67, 0.13));
}

.bcg-ai-popup__attachment-remove {
    border-color: rgba(255, 208, 150, 0.34);
    color: #f8dfc5;
    background: rgba(255, 189, 125, 0.09);
}

.bcg-ai-popup__attachment-remove:focus-visible {
    outline: 2px solid rgba(247, 167, 54, 0.56);
}

.notifications-popup__close:focus-visible,
.notifications-popup__action:focus-visible,
.notifications-item__open:focus-visible,
.notifications-item__delete:focus-visible,
.notifications-item__reply:focus-visible,
.notifications-item__reply-send:focus-visible,
.notifications-item__reply-cancel:focus-visible,
.notifications-item__reply-input:focus {
    outline: 2px solid rgba(247, 167, 54, 0.56);
    outline-offset: 1px;
}

.bcg-ai-popup__messages,
.bcg-ai-popup__input {
    scrollbar-color: rgba(247, 167, 54, 0.75) rgba(38, 24, 13, 0.48);
}

.notifications-popup__list {
    scrollbar-color: rgba(247, 167, 54, 0.75) rgba(38, 24, 13, 0.48);
}

.bcg-ai-popup__messages::-webkit-scrollbar-track,
.bcg-ai-popup__input::-webkit-scrollbar-track {
    background: rgba(38, 24, 13, 0.48);
}

.notifications-popup__list::-webkit-scrollbar-track {
    background: rgba(38, 24, 13, 0.48);
}

.bcg-ai-popup__messages::-webkit-scrollbar-thumb,
.bcg-ai-popup__input::-webkit-scrollbar-thumb {
    border: 2px solid rgba(38, 24, 13, 0.48);
    background: linear-gradient(180deg, rgba(255, 199, 130, 0.95), rgba(247, 167, 54, 0.95));
}

.notifications-popup__list::-webkit-scrollbar-thumb {
    border: 2px solid rgba(38, 24, 13, 0.48);
    background: linear-gradient(180deg, rgba(255, 199, 130, 0.95), rgba(247, 167, 54, 0.95));
}

.crm-spotlight {
    border-color: rgba(255, 200, 130, 0.32);
    background:
        radial-gradient(360px circle at -10% 50%, rgba(247, 167, 54, 0.18), transparent 68%),
        radial-gradient(280px circle at 110% -10%, rgba(255, 192, 115, 0.15), transparent 70%),
        linear-gradient(150deg, rgba(191, 126, 72, 0.18), rgba(164, 99, 58, 0.1)),
        rgba(255, 255, 255, 0.03);
}

.stats-hub {
    border-color: rgba(255, 196, 126, 0.3);
    background:
        radial-gradient(360px circle at -8% 18%, rgba(247, 167, 54, 0.16), transparent 68%),
        radial-gradient(360px circle at 105% -10%, rgba(255, 199, 130, 0.11), transparent 70%),
        linear-gradient(165deg, rgba(255, 225, 190, 0.07), rgba(255, 255, 255, 0.02)),
        rgba(255, 255, 255, 0.02);
}

.stats-hub__eyebrow {
    color: #f0ca9e;
}

.stats-hub__subtitle {
    color: #d6baa0;
}

.stats-source {
    border-color: rgba(255, 208, 149, 0.24);
    background: rgba(255, 196, 132, 0.07);
    color: #f3d8bc;
}

.stats-source--active {
    border-color: rgba(255, 211, 153, 0.52);
    background: linear-gradient(145deg, rgba(255, 199, 128, 0.22), rgba(247, 167, 54, 0.16));
    color: #fff4e4;
}

.stats-card {
    border-color: rgba(255, 201, 134, 0.24);
    background:
        linear-gradient(160deg, rgba(255, 214, 164, 0.12), rgba(255, 255, 255, 0.03)),
        rgba(255, 185, 116, 0.04);
}

.stats-card__state,
.stats-card__updated,
.stats-metric__meta {
    color: #e2c6a8;
}

.stats-metric {
    border-color: rgba(255, 205, 142, 0.16);
    background: linear-gradient(160deg, rgba(255, 191, 125, 0.13), rgba(255, 200, 138, 0.05));
}

.crm-spotlight__tag,
.crm-spotlight__cta {
    border-color: rgba(255, 210, 154, 0.28);
    color: #f8dfc3;
}

.crm-spotlight:hover,
.crm-spotlight:focus-visible,
.tile--clickable:hover,
.tile--clickable:focus-visible,
.tile--hover:hover {
    border-color: rgba(255, 213, 160, 0.38);
}

.tile {
    background:
        linear-gradient(160deg, rgba(255, 225, 190, 0.08), rgba(255, 255, 255, 0.015) 45%),
        var(--surface);
}

.tile--bc {
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(247, 167, 54, 0.2), transparent 68%),
        linear-gradient(160deg, rgba(255, 226, 194, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

.tile--bc::before {
    border-color: rgba(247, 179, 98, 0.34);
}

.tile--bc::after {
    background: linear-gradient(90deg, rgba(247, 167, 54, 0.24), transparent);
}

.tile--base {
    background:
        radial-gradient(260px circle at var(--mx) var(--my), rgba(255, 169, 104, 0.2), transparent 68%),
        linear-gradient(160deg, rgba(255, 228, 197, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

.tile--sscc {
    background:
        radial-gradient(250px circle at var(--mx) var(--my), rgba(255, 196, 121, 0.2), transparent 68%),
        linear-gradient(160deg, rgba(255, 231, 205, 0.08), rgba(255, 255, 255, 0.02) 45%),
        var(--surface);
}

@media (max-width: 1100px) {
    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}