/* GO CHAT — fullscreen glass overlay in Aigence hero style */

.go-chat-trigger,
#go-chat-open {
    position: relative;
    z-index: 20;
    pointer-events: auto;
    cursor: pointer;
}

.hero-one__image,
.hero-one__image img,
.hero-one__image__shape,
.hero-one__shape,
.hero-one__content__shape,
.hero-one__name,
.hero-one__name__shape,
.hero-one__title img {
    pointer-events: none;
}

.go-chat-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.go-chat-overlay.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.go-chat-overlay__backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 15% 20%, rgba(208, 50, 175, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 70% 55% at 85% 75%, rgba(62, 93, 255, 0.4) 0%, transparent 50%),
        linear-gradient(135deg, rgba(8, 20, 53, 0.92) 0%, rgba(13, 26, 66, 0.88) 45%, rgba(34, 34, 48, 0.9) 100%);
    backdrop-filter: blur(22px) saturate(1.4);
    -webkit-backdrop-filter: blur(22px) saturate(1.4);
}

.go-chat-overlay__backdrop::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/shapes/hero-bg-shape-1-1.png");
    background-size: cover;
    background-position: center;
    opacity: 0.18;
    mix-blend-mode: screen;
    pointer-events: none;
}

.go-chat-overlay__backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.015) 2px,
        rgba(255, 255, 255, 0.015) 4px
    );
    pointer-events: none;
}

/* floating decor from hero */
.go-chat-overlay__decor {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.go-chat-overlay__decor img {
    position: absolute;
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 1s ease, transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.go-chat-overlay.is-active .go-chat-overlay__decor img {
    opacity: 1;
    transform: scale(1);
}

.go-chat-overlay__decor-shape-1 {
    top: -8%;
    left: -6%;
    width: min(420px, 38vw);
    animation: goChatFloat 8s ease-in-out infinite;
}

.go-chat-overlay__decor-shape-2 {
    bottom: -5%;
    right: -4%;
    width: min(380px, 34vw);
    animation: goChatFloat 10s ease-in-out infinite reverse;
    transition-delay: 0.15s;
}

.go-chat-overlay__decor-shape-3 {
    top: 18%;
    right: 8%;
    width: min(120px, 14vw);
    animation: goChatSpin 12s linear infinite;
    transition-delay: 0.25s;
}

.go-chat-overlay__decor-shape-4 {
    bottom: 22%;
    left: 6%;
    width: min(90px, 10vw);
    animation: goChatSpin 9s linear infinite reverse;
    transition-delay: 0.35s;
}

.go-chat-overlay__decor-robot {
    right: -4%;
    bottom: -8%;
    width: min(620px, 52vw);
    max-height: 95vh;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0 !important;
    transform: translateX(60px) scale(0.92) !important;
    filter:
        drop-shadow(0 0 55px rgba(208, 50, 175, 0.55))
        drop-shadow(0 0 90px rgba(62, 93, 255, 0.35));
    z-index: 1;
}

.go-chat-overlay.is-active .go-chat-overlay__decor-robot {
    opacity: 0.92 !important;
    transform: translateX(0) scale(1) !important;
    transition-delay: 0.45s;
}

.go-chat-overlay__decor-robot-glow {
    position: absolute;
    right: 0;
    bottom: 0;
    width: min(520px, 46vw);
    height: min(520px, 70vh);
    background:
        radial-gradient(ellipse at 70% 80%, rgba(208, 50, 175, 0.45) 0%, transparent 58%),
        radial-gradient(ellipse at 85% 60%, rgba(62, 93, 255, 0.35) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 1s ease, transform 1.2s ease;
    z-index: 0;
}

.go-chat-overlay.is-active .go-chat-overlay__decor-robot-glow {
    opacity: 1;
    transform: scale(1);
    transition-delay: 0.35s;
    animation: goChatPulse 5s ease-in-out infinite;
}

@media (max-width: 1199px) {
    .go-chat-overlay__decor-robot {
        width: min(480px, 46vw);
        right: -6%;
        bottom: -6%;
    }
}

@media (max-width: 991px) {
    .go-chat-overlay__decor-robot,
    .go-chat-overlay__decor-robot-glow {
        display: none !important;
    }

    .go-chat-panel__hero-bg img {
        right: -14%;
        bottom: -4%;
        width: 108%;
    }
}

@media (min-width: 992px) {
    .go-chat-panel__hero-bg {
        display: none;
    }
}

/* designer sparkles */
.go-chat-overlay__stars {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.go-chat-sparkle {
    position: absolute;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: opacity 0.9s ease, transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.go-chat-overlay.is-active .go-chat-sparkle {
    opacity: 1;
    transform: scale(1) rotate(15deg);
    animation: goChatSparkleFloat 4s ease-in-out infinite;
}

.go-chat-sparkle__halo {
    position: absolute;
    inset: -80%;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(208, 50, 175, 0.55) 0%, rgba(62, 93, 255, 0.25) 35%, transparent 70%);
    filter: blur(8px);
    animation: goChatSparkleHalo 3s ease-in-out infinite;
}

.go-chat-sparkle__core {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #fff 0%, #c4d4ff 35%, #D032AF 70%, #3E5DFF 100%);
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
    box-shadow:
        0 0 12px rgba(255, 255, 255, 0.9),
        0 0 28px rgba(208, 50, 175, 0.65),
        0 0 40px rgba(62, 93, 255, 0.45);
}

.go-chat-sparkle__core::before {
    content: "";
    position: absolute;
    inset: 22%;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 0 10px #fff, 0 0 20px rgba(208, 50, 175, 0.8);
}

.go-chat-sparkle__flare {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220%;
    height: 2px;
    transform: translate(-50%, -50%);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.85), transparent);
    border-radius: 999px;
}

.go-chat-sparkle__flare--v {
    width: 2px;
    height: 220%;
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.85), transparent);
}

.go-chat-sparkle__dot {
    position: absolute;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px #fff, 0 0 14px rgba(62, 93, 255, 0.8);
    animation: goChatTwinkle 2.2s ease-in-out infinite;
}

.go-chat-sparkle--sm { width: 22px; height: 22px; }
.go-chat-sparkle--md { width: 32px; height: 32px; }
.go-chat-sparkle--lg { width: 44px; height: 44px; }
.go-chat-sparkle--xl { width: 56px; height: 56px; }

.go-chat-sparkle--1 { top: 10%; left: 14%; transition-delay: 0.15s; animation-delay: 0s; }
.go-chat-sparkle--2 { top: 22%; left: 78%; transition-delay: 0.3s; animation-delay: 0.6s; }
.go-chat-sparkle--3 { top: 48%; left: 8%; transition-delay: 0.4s; animation-delay: 1.1s; }
.go-chat-sparkle--4 { top: 68%; left: 62%; transition-delay: 0.5s; animation-delay: 0.3s; }
.go-chat-sparkle--5 { top: 6%; left: 48%; transition-delay: 0.25s; animation-delay: 1.4s; }
.go-chat-sparkle--6 { top: 78%; left: 28%; transition-delay: 0.55s; animation-delay: 0.9s; }
.go-chat-sparkle--7 { top: 38%; left: 88%; transition-delay: 0.45s; animation-delay: 1.8s; }

.go-chat-sparkle--1 .go-chat-sparkle__dot { top: -18px; right: -10px; }
.go-chat-sparkle--2 .go-chat-sparkle__dot { bottom: -14px; left: -8px; animation-delay: 0.5s; }
.go-chat-sparkle--3 .go-chat-sparkle__dot { top: -12px; left: -16px; animation-delay: 1s; }
.go-chat-sparkle--5 .go-chat-sparkle__dot { bottom: -10px; right: -14px; animation-delay: 0.7s; }

/* legacy star cleanup — replaced by sparkles */
.go-chat-overlay__star {
    display: none;
}

/* main panel */
.go-chat-panel {
    position: relative;
    z-index: 3;
    width: min(920px, 100%);
    max-width: 100%;
    min-width: 0;
    max-height: min(88vh, 780px);
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    box-shadow:
        0 0 0 1px rgba(208, 50, 175, 0.12) inset,
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(62, 93, 255, 0.15);
    overflow: hidden;
    transform: translateY(40px) scale(0.94);
    opacity: 0;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.55s ease;
}

.go-chat-overlay.is-active .go-chat-panel {
    transform: translateY(0) scale(1);
    opacity: 1;
    transition-delay: 0.12s;
}

/* mobile: robot inside chat panel as background */
.go-chat-panel__hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
}

.go-chat-panel__hero-bg img {
    position: absolute;
    right: -18%;
    bottom: -6%;
    width: 115%;
    max-width: none;
    height: auto;
    object-fit: contain;
    object-position: bottom right;
    opacity: 0.72;
    filter:
        drop-shadow(0 0 40px rgba(208, 50, 175, 0.5))
        drop-shadow(0 0 60px rgba(62, 93, 255, 0.3));
    transform: scale(1.05);
}

.go-chat-panel__hero-bg-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(8, 20, 53, 0.92) 0%, rgba(8, 20, 53, 0.55) 38%, rgba(8, 20, 53, 0.25) 62%, rgba(8, 20, 53, 0.72) 100%),
        linear-gradient(90deg, rgba(8, 20, 53, 0.75) 0%, transparent 45%);
}

.go-chat-panel__hero-bg-glow {
    position: absolute;
    right: -10%;
    bottom: 0;
    width: 80%;
    height: 70%;
    background: radial-gradient(ellipse at 70% 80%, rgba(208, 50, 175, 0.35) 0%, transparent 60%);
}

.go-chat-panel__header,
.go-chat-panel__body,
.go-chat-panel__footer {
    position: relative;
    z-index: 1;
}

.go-chat-panel__glow {
    position: absolute;
    top: -60%;
    left: 50%;
    width: 120%;
    height: 120%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(208, 50, 175, 0.25) 0%, transparent 55%);
    pointer-events: none;
    animation: goChatPulse 4s ease-in-out infinite;
    z-index: 0;
}

.go-chat-panel__header {
    position: relative;
    padding: 28px 32px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}

.go-chat-panel__titles {
    flex: 1;
    min-width: 0;
}

.go-chat-panel__header-tools {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    flex: 0 0 auto;
    min-width: 188px;
    max-width: 240px;
    width: auto;
    margin-left: auto;
    padding-top: 2px;
}

.go-chat-desc-btn {
    align-self: stretch;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid rgba(192, 132, 255, 0.35);
    border-radius: 10px;
    background: rgba(88, 28, 135, 0.28);
    color: rgba(237, 233, 254, 0.95);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.01em;
    white-space: nowrap;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.go-chat-desc-btn[hidden] {
    display: none !important;
}

.go-chat-desc-btn:hover,
.go-chat-desc-btn.is-open {
    background: rgba(124, 58, 237, 0.42);
    border-color: rgba(216, 180, 254, 0.7);
    box-shadow: 0 0 18px rgba(124, 58, 237, 0.28);
}

.go-chat-selfdev-btn {
    align-self: stretch;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 10px;
    background: rgba(8, 47, 73, 0.5);
    color: rgba(224, 242, 254, 0.96);
    font-size: 11px;
    font-weight: 650;
    letter-spacing: 0.01em;
    line-height: 1.25;
    white-space: normal;
    text-align: center;
    cursor: pointer;
    transition: background 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.go-chat-selfdev-btn[hidden] {
    display: none !important;
}

.go-chat-selfdev-btn:hover {
    background: rgba(14, 116, 144, 0.55);
    border-color: rgba(125, 211, 252, 0.75);
    box-shadow: 0 0 18px rgba(14, 165, 233, 0.28);
}

.go-chat-selfdev-btn.is-active {
    background: rgba(8, 145, 178, 0.55);
    border-color: rgba(165, 243, 252, 0.85);
    box-shadow: 0 0 18px rgba(34, 211, 238, 0.35);
    animation: goChatSelfDevPulse 1.8s ease-in-out infinite;
}

.go-chat-selfdev-btn.is-wrapping {
    animation: none;
    background: rgba(113, 63, 18, 0.55);
    border-color: rgba(250, 204, 21, 0.7);
    box-shadow: 0 0 16px rgba(250, 204, 21, 0.22);
    color: rgba(254, 243, 199, 0.96);
}

@keyframes goChatSelfDevPulse {
    0%,
    100% {
        box-shadow: 0 0 10px rgba(34, 211, 238, 0.22);
    }
    50% {
        box-shadow: 0 0 20px rgba(34, 211, 238, 0.48);
    }
}

.go-chat-desc-popup {
    position: absolute;
    inset: 0;
    z-index: 24;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 76px 22px 28px;
    pointer-events: auto;
}

.go-chat-desc-popup[hidden] {
    display: none !important;
}

.go-chat-desc-popup__backdrop {
    position: absolute;
    inset: 0;
    border: 0;
    margin: 0;
    padding: 0;
    background: rgba(4, 6, 22, 0.72);
    cursor: pointer;
}

.go-chat-desc-popup__card {
    position: relative;
    z-index: 1;
    width: min(540px, 100%);
    max-height: min(68vh, 560px);
    display: flex;
    flex-direction: column;
    border-radius: 18px;
    border: 1px solid rgba(192, 132, 255, 0.32);
    background:
        linear-gradient(160deg, rgba(28, 16, 56, 0.96) 0%, rgba(10, 12, 32, 0.98) 100%);
    box-shadow:
        0 24px 60px rgba(0, 0, 0, 0.45),
        0 0 40px rgba(124, 58, 237, 0.18);
    overflow: hidden;
}

.go-chat-desc-popup__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 18px 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.go-chat-desc-popup__title {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.25;
}

.go-chat-desc-popup__body {
    padding: 14px 18px 20px;
    overflow: auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 14px;
    line-height: 1.55;
}

.go-chat-desc__empty {
    margin: 0;
    color: rgba(255, 255, 255, 0.62);
}

.go-chat-desc__summary {
    margin: 0 0 14px;
    white-space: pre-wrap;
}

.go-chat-desc__points {
    margin: 0;
    padding-left: 1.2em;
    display: grid;
    gap: 10px;
}

.go-chat-desc__points li {
    padding-left: 4px;
}

.go-chat-desc__points strong {
    display: block;
    color: #e9d5ff;
    font-weight: 650;
    margin-bottom: 2px;
}

.go-chat-desc__points span {
    display: block;
    color: rgba(255, 255, 255, 0.78);
    white-space: pre-wrap;
}

.go-chat-db-btn {
    position: relative;
    isolation: isolate;
    align-self: flex-end;
    width: 46px;
    height: 28px;
    margin: 0 0 2px;
    padding: 0;
    border: 0;
    border-radius: 8px;
    background: rgba(8, 10, 28, 0.62);
    cursor: pointer;
    overflow: hidden;
}

.go-chat-db-btn::before {
    content: "";
    position: absolute;
    inset: 0;
    padding: 1.5px;
    border-radius: inherit;
    background: linear-gradient(120deg, #c084ff, #7c3aed, #3e5dff, #d032af, #c084ff);
    background-size: 280% 280%;
    animation: goChatDbGlow 2.8s linear infinite;
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.go-chat-db-btn.is-open {
    background: rgba(48, 16, 72, 0.72);
}

.go-chat-db-btn__text {
    position: relative;
    z-index: 1;
    display: block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.4px;
    line-height: 28px;
    text-transform: uppercase;
    background: linear-gradient(120deg, #e9d5ff, #c084ff, #818cf8, #f0abfc, #e9d5ff);
    background-size: 280% 280%;
    animation: goChatDbGlow 2.8s linear infinite;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

@keyframes goChatDbGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.go-chat-panel__header-tools .go-chat-panel__setting {
    gap: 6px;
}

.go-chat-panel__header-tools .go-chat-panel__model-label {
    min-width: 42px;
    font-size: 9px;
    letter-spacing: 0.8px;
    color: rgba(255, 255, 255, 0.42);
}

.go-chat-panel__header-tools .go-chat-panel__model-select {
    height: 30px;
    font-size: 12px;
    padding: 0 26px 0 10px;
    border-radius: 8px;
    background-position: right 8px center;
}

.go-chat-panel__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--aigence-white, #fff);
    background: linear-gradient(90deg, rgba(208, 50, 175, 0.35), rgba(62, 93, 255, 0.35));
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.go-chat-link {
    color: #f5a3ff;
    text-decoration: underline;
    text-underline-offset: 3px;
    word-break: break-all;
    transition: color 0.2s ease;
}

.go-chat-link:hover,
.go-chat-link:focus-visible {
    color: #fff;
}

.go-chat-role-picker {
    position: relative;
    z-index: 20;
    margin-bottom: 10px;
}

.go-chat-consultant {
    margin-bottom: 0;
}

.go-chat-role {
    font-family: inherit;
    line-height: inherit;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.go-chat-role:hover,
.go-chat-role:focus-visible {
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 0 14px rgba(208, 50, 175, 0.35);
    outline: none;
}

.go-chat-dialogs.is-role-menu-open .go-chat-files__title {
    display: none;
}

.go-chat-dialogs.is-role-menu-open .go-chat-files__header {
    border-bottom-color: transparent;
}

.go-chat-role-menu {
    position: relative;
    z-index: 2;
    flex: 1;
    min-height: 0;
    overflow: auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 4px 16px 16px;
    margin: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
}

.go-chat-role-menu[hidden] {
    display: none !important;
}

.go-chat-role-menu__item {
    width: 100%;
    margin-bottom: 0;
    justify-content: flex-start;
    text-align: left;
    white-space: normal;
    background: linear-gradient(90deg, rgba(208, 50, 175, 0.2), rgba(62, 93, 255, 0.2));
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: none;
}

.go-chat-role-menu__item:hover,
.go-chat-role-menu__item:focus-visible {
    background: linear-gradient(90deg, rgba(208, 50, 175, 0.3), rgba(62, 93, 255, 0.3));
    border-color: rgba(255, 255, 255, 0.22);
}

.go-chat-role-menu__item.is-active {
    border-color: rgba(74, 222, 128, 0.55);
    box-shadow: 0 0 16px rgba(74, 222, 128, 0.25);
}

.go-chat-panel__eyebrow--static {
    margin-bottom: 10px;
}

.go-chat-panel__eyebrow-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
    animation: goChatPulse 2s ease-in-out infinite;
}

.go-chat-panel__title-row {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 12px 16px;
    margin-bottom: 4px;
}

.go-chat-panel__badges {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    min-width: 0;
    flex: 1 1 180px;
}

.go-chat-panel__title {
    margin: 0;
    font-size: clamp(28px, 5vw, 48px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--aigence-white, #fff);
}

.go-chat-panel__title-outline {
    margin: 0;
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -3px;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.85);
    opacity: 0.7;
}

.go-chat-panel__mode-badge {
    display: inline-flex;
    align-items: center;
    flex-shrink: 1;
    max-width: min(420px, 55vw);
    margin: 0;
    padding: 6px 12px;
    border: 1.5px solid rgba(255, 255, 255, 0.92);
    border-radius: 8px;
    background: rgba(8, 10, 28, 0.35);
    backdrop-filter: blur(8px);
}

.go-chat-panel__mode-badge-text {
    font-size: clamp(12px, 2vw, 22px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.9);
    opacity: 0.92;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.go-chat-panel__mode-badge[data-mode="planning"] {
    border-color: rgba(192, 132, 255, 0.95);
}

.go-chat-overlay.is-planning .go-chat-panel__prog-badge {
    border-color: rgba(192, 132, 255, 0.9);
}

.go-chat-panel__mode-badge[data-mode="project"] {
    border-color: rgba(255, 255, 255, 0.92);
}

.go-chat-panel__mode-badge[data-mode="business"] {
    border-color: rgba(62, 93, 255, 0.95);
}

.go-chat-panel__mode-badge[data-mode="browser"] {
    border-color: rgba(255, 59, 48, 0.95);
}

.go-chat-panel__prog-badge {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, 0.88);
    border-radius: 6px;
    background: rgba(8, 10, 28, 0.28);
    backdrop-filter: blur(8px);
}

.go-chat-panel__prog-badge-text {
    font-size: 10px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: transparent;
    -webkit-text-stroke: 0.7px rgba(255, 255, 255, 0.92);
    opacity: 0.95;
}

.go-chat-overlay.is-programming .go-chat-panel {
    width: min(920px, 100%);
}

.go-chat-stage {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 18px;
    width: 100%;
    max-width: min(1280px, 100%);
    max-height: min(88vh, 780px);
    min-height: 0;
}

.go-chat-files {
    position: relative;
    z-index: 3;
    flex: 0 0 320px;
    width: 320px;
    min-width: 260px;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%);
    backdrop-filter: blur(28px) saturate(1.6);
    -webkit-backdrop-filter: blur(28px) saturate(1.6);
    box-shadow:
        0 0 0 1px rgba(208, 50, 175, 0.12) inset,
        0 32px 80px rgba(0, 0, 0, 0.45),
        0 0 60px rgba(62, 93, 255, 0.15);
    overflow: hidden;
    transform: translateX(-28px) scale(0.96);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.45s ease;
}

.go-chat-overlay.is-active.is-programming .go-chat-files:not([hidden]) {
    transform: translateX(0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.go-chat-files[hidden] {
    display: none;
}

.go-chat-files__glow {
    position: absolute;
    top: -50%;
    left: 40%;
    width: 140%;
    height: 120%;
    transform: translateX(-50%);
    background: radial-gradient(circle, rgba(62, 93, 255, 0.22) 0%, transparent 55%);
    pointer-events: none;
    z-index: 0;
}

.go-chat-files .go-chat-panel__close {
    width: 40px;
    height: 40px;
}

.go-chat-files__header {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 22px 20px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.go-chat-files__titles {
    min-width: 0;
}

.go-chat-workspace__toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    cursor: pointer;
    text-align: left;
}

.go-chat-files__title {
    margin: 8px 0 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.8px;
    text-transform: uppercase;
    color: #fff;
}

.go-chat-workspace__arrow {
    flex: 0 0 auto;
    width: 0;
    height: 0;
    margin-top: 8px;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 7px solid #fff;
    opacity: 0.92;
    transition: transform 0.2s ease;
}

.go-chat-files.is-workspace-open .go-chat-workspace__arrow {
    transform: rotate(180deg);
}

.go-chat-workspace__menu {
    position: absolute;
    z-index: 8;
    left: 10px;
    right: 10px;
    top: 76px;
    max-height: min(280px, calc(100% - 92px));
    overflow: auto;
    isolation: isolate;
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background-color: #080a1c;
    background-image:
        linear-gradient(160deg, rgba(8, 10, 28, 0.98) 0%, rgba(14, 12, 42, 0.97) 55%, rgba(18, 10, 36, 0.98) 100%);
    backdrop-filter: blur(64px) saturate(1.5);
    -webkit-backdrop-filter: blur(64px) saturate(1.5);
    box-shadow:
        0 0 0 1px rgba(8, 10, 28, 0.7) inset,
        0 18px 44px rgba(0, 0, 0, 0.62);
}

.go-chat-workspace__menu[hidden] {
    display: none;
}

.go-chat-workspace__list {
    list-style: none;
    margin: 0;
    padding: 8px;
}

.go-chat-workspace__item {
    display: block;
    width: 100%;
    margin: 0 0 4px;
    padding: 9px 12px;
    border: 0;
    border-radius: 12px;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font: inherit;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: left;
    cursor: pointer;
}

.go-chat-workspace__item:last-child {
    margin-bottom: 0;
}

.go-chat-workspace__item:hover,
.go-chat-workspace__item.is-active {
    background: rgba(208, 50, 175, 0.22);
    color: #fff;
}

.go-chat-workspace__empty {
    margin: 0;
    padding: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 13px;
}

.go-chat-files__tabs {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 6px;
    padding: 0 16px 10px;
}

.go-chat-files__tab {
    flex: 1;
    margin: 0;
    padding: 7px 8px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 999px;
    background: rgba(8, 10, 28, 0.28);
    color: rgba(255, 255, 255, 0.72);
    font: inherit;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    cursor: pointer;
}

.go-chat-files__tab.is-active {
    border-color: rgba(255, 255, 255, 0.85);
    background: rgba(208, 50, 175, 0.22);
    color: #fff;
}

.go-chat-files__pane {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    flex: 1;
    min-height: 0;
}

.go-chat-files__pane[hidden] {
    display: none;
}

.go-chat-plan {
    flex: 1;
    overflow: auto;
    padding: 4px 16px 16px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.45;
}

.go-chat-plan__design {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 14px;
    padding: 12px 12px 14px;
    border-radius: 14px;
    border: 1px solid rgba(167, 139, 250, 0.22);
    background: rgba(12, 18, 42, 0.72);
}

.go-chat-plan__design-label {
    margin: 0;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.go-chat-plan__design-input {
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    background: rgba(6, 10, 28, 0.9);
    color: #fff;
    font-size: 13px;
    line-height: 1.4;
    padding: 10px 12px;
    outline: none;
}

.go-chat-plan__design-input:focus {
    border-color: rgba(167, 139, 250, 0.55);
}

.go-chat-plan__design-input.is-error {
    border-color: rgba(248, 113, 113, 0.8);
}

.go-chat-plan__design-hint {
    margin: 0;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    line-height: 1.45;
}

.go-chat-plan__design-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.go-chat-plan__design-btn {
    border: 0;
    border-radius: 10px;
    background: linear-gradient(180deg, #8b7cf6 0%, #6d5ef5 100%);
    color: #fff;
    font: inherit;
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    padding: 10px 14px;
    cursor: pointer;
}

.go-chat-plan__design-btn:disabled {
    opacity: 0.55;
    cursor: wait;
}

.go-chat-plan__design-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.go-chat-plan__design-btn--ghost.is-needed {
    background: rgba(74, 222, 128, 0.16);
    box-shadow: inset 0 0 0 1px rgba(74, 222, 128, 0.55);
}

.go-chat-plan__design-mark {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #4ade80;
    font-size: 13px;
    font-weight: 700;
}

.go-chat-plan__design-mark[hidden] {
    display: none;
}

.go-chat-plan__design-mark::before {
    content: "✓";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(74, 222, 128, 0.2);
    border: 1.5px solid rgba(74, 222, 128, 0.9);
    font-size: 12px;
}

.go-chat-plan__design-creds {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.go-chat-plan__design-creds[hidden] {
    display: none;
}

.go-chat-plan__design-status {
    margin: 0;
    color: rgba(196, 181, 253, 0.95);
    font-size: 12px;
    line-height: 1.45;
}

.go-chat-plan__design-status.is-error {
    color: #fca5a5;
}

.go-chat-plan__design[data-clone-status="running"] .go-chat-plan__design-btn:first-child {
    background: linear-gradient(180deg, #7c6cf0 0%, #5646d8 100%);
}

.go-chat-plan__goal {
    margin: 0 0 12px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
}

.go-chat-plan__step {
    display: flex;
    gap: 8px;
    margin: 0 0 10px;
}

.go-chat-plan__mark {
    flex: 0 0 18px;
    font-weight: 800;
    color: rgba(74, 222, 128, 0.95);
}

.go-chat-plan__step.is-todo .go-chat-plan__mark {
    color: rgba(255, 255, 255, 0.4);
}

.go-chat-plan__step.is-doing .go-chat-plan__mark {
    color: #fbbf24;
}

.go-chat-plan__mark.is-todo {
    color: rgba(255, 255, 255, 0.4);
}

.go-chat-plan__mark.is-doing {
    color: #fbbf24;
}

.go-chat-plan__title {
    font-weight: 700;
}

.go-chat-plan__dialog {
    margin: 0 0 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 14px;
    background: rgba(8, 10, 28, 0.35);
    overflow: hidden;
}

.go-chat-plan__dialog.is-open {
    background: rgba(8, 10, 28, 0.55);
    border-color: rgba(255, 255, 255, 0.22);
}

.go-chat-plan__dialog-head {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    width: 100%;
    margin: 0;
    padding: 10px 10px 10px 8px;
    border: 0;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.go-chat-plan__dialog-titles {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1;
}

.go-chat-plan__summary,
.go-chat-plan__empty {
    display: block;
    font-size: 11px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
}

.go-chat-plan__caret {
    flex: 0 0 auto;
    margin-top: 2px;
    color: rgba(255, 255, 255, 0.7);
}

.go-chat-plan__dialog-body {
    padding: 0 8px 10px 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.go-chat-plan__items {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.go-chat-plan__map {
    margin: 8px 0 2px 2px;
}

.go-chat-plan__tree {
    list-style: none;
    margin: 0;
    padding: 0 0 0 2px;
}

.go-chat-plan__tree .go-chat-plan__tree {
    margin: 0 0 0 11px;
    padding-left: 0;
}

.go-chat-plan__tree-node {
    position: relative;
    padding: 0 0 4px 16px;
}

.go-chat-plan__tree-node::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1.5px;
    background: linear-gradient(180deg, rgba(192, 132, 255, 0.85), rgba(62, 93, 255, 0.45));
    box-shadow: 0 0 6px rgba(192, 132, 255, 0.35);
}

.go-chat-plan__tree-node::after {
    content: "";
    position: absolute;
    left: 0;
    top: 13px;
    width: 14px;
    height: 1.5px;
    background: linear-gradient(90deg, rgba(192, 132, 255, 0.9), rgba(240, 171, 252, 0.55));
    box-shadow: 0 0 6px rgba(192, 132, 255, 0.35);
}

.go-chat-plan__tree-node.is-last::before {
    bottom: auto;
    height: 13px;
}

.go-chat-plan__map > .go-chat-plan__tree > .go-chat-plan__tree-node:first-child::before {
    top: 13px;
}

.go-chat-plan__tree-node > .go-chat-plan__item {
    position: relative;
    z-index: 1;
}

.go-chat-plan__item {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding: 0;
}

.go-chat-plan__branch {
    flex: 0 0 auto;
    margin-left: auto;
    color: rgba(255, 255, 255, 0.55);
    font-size: 11px;
}

.go-chat-plan__item.is-active .go-chat-plan__item-title,
.go-chat-plan__item.is-discussed .go-chat-plan__item-title {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #c084fc;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.go-chat-map .go-chat-plan__item.is-active .go-chat-plan__item-title,
.go-chat-map .go-chat-plan__item.is-discussed .go-chat-plan__item-title,
.go-chat-map .go-chat-plan__item-title:hover {
    color: #fff;
    text-decoration: underline;
    text-decoration-color: #c084fc;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}

.go-chat-browser-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    cursor: pointer;
    user-select: none;
}

.go-chat-browser-toggle[hidden] {
    display: none !important;
}

.go-chat-browser-toggle__label {
    color: rgba(255, 255, 255, 0.78);
    font-size: 11px;
    font-weight: 600;
    white-space: nowrap;
}

.go-chat-browser-toggle__input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.go-chat-browser-toggle__track {
    position: relative;
    width: 36px;
    height: 20px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.18);
    transition: background 0.18s ease;
}

.go-chat-browser-toggle__thumb {
    position: absolute;
    top: 2px;
    left: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.18s ease;
}

.go-chat-browser-toggle__input:checked + .go-chat-browser-toggle__track {
    background: rgba(168, 85, 247, 0.55);
    border-color: rgba(192, 132, 255, 0.7);
}

.go-chat-browser-toggle__input:checked + .go-chat-browser-toggle__track .go-chat-browser-toggle__thumb {
    transform: translateX(16px);
}

.go-chat-site-preview {
    margin-top: 14px;
    border-radius: 14px;
    border: 1px solid rgba(192, 132, 255, 0.28);
    overflow: hidden;
    background: rgba(6, 10, 28, 0.92);
}

.go-chat-site-preview[hidden] {
    display: none !important;
}

.go-chat-site-preview__bar {
    padding: 8px 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(12, 18, 42, 0.9);
}

.go-chat-site-preview__url {
    color: rgba(216, 180, 254, 0.95);
    font-size: 12px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.go-chat-site-preview__frame {
    display: block;
    width: 100%;
    height: min(48vh, 420px);
    border: 0;
    background: #fff;
}

.go-chat-plan__check {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    padding: 0;
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    background: transparent;
    color: #4ade80;
    font-size: 11px;
    line-height: 14px;
    cursor: pointer;
}

.go-chat-plan__check.is-done {
    border-color: rgba(74, 222, 128, 0.85);
    background: rgba(74, 222, 128, 0.18);
}

.go-chat-plan__item-title {
    flex: 1;
    min-width: 0;
    margin: 0;
    padding: 5px 6px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: rgba(255, 255, 255, 0.88);
    font: inherit;
    font-size: 12px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
}

.go-chat-plan__item-title:hover {
    background: rgba(255, 255, 255, 0.08);
}

.go-chat-spec,
.go-chat-db-panel {
    gap: 10px;
}

.go-chat-panel__body[hidden],
.go-chat-spec[hidden],
.go-chat-map[hidden],
.go-chat-db-panel[hidden] {
    display: none !important;
}

.go-chat-spec__kicker {
    margin: 0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
    color: rgba(224, 180, 255, 0.82);
}

.go-chat-spec__title {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.6px;
    color: #fff;
}

.go-chat-spec__text {
    margin: 0;
    white-space: pre-wrap;
    font-size: 14px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}

.go-chat-map {
    gap: 12px;
}

.go-chat-map__hint {
    margin: 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.55);
}

.go-chat-map__tree {
    margin-top: 6px;
}

.go-chat-map .go-chat-plan__map {
    margin: 0;
}

.go-chat-map .go-chat-plan__tree .go-chat-plan__tree {
    margin-left: 18px;
}

.go-chat-map .go-chat-plan__tree-node {
    padding: 0 0 10px 26px;
}

.go-chat-map .go-chat-plan__tree-node::before {
    width: 2px;
}

.go-chat-map .go-chat-plan__tree-node::after {
    top: 18px;
    width: 22px;
    height: 2px;
}

.go-chat-map .go-chat-plan__tree-node.is-last::before,
.go-chat-map .go-chat-plan__map > .go-chat-plan__tree > .go-chat-plan__tree-node:first-child::before {
    height: 18px;
}

.go-chat-map .go-chat-plan__map > .go-chat-plan__tree > .go-chat-plan__tree-node:first-child::before {
    top: 18px;
}

.go-chat-map .go-chat-plan__check {
    flex-basis: 22px;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
}

.go-chat-map .go-chat-plan__item-title {
    padding: 8px 12px;
    font-size: 18px;
    font-weight: 700;
    border-radius: 12px;
}

.go-chat-map .go-chat-plan__item.is-active .go-chat-plan__item-title,
.go-chat-map .go-chat-plan__item.is-discussed .go-chat-plan__item-title,
.go-chat-map .go-chat-plan__item-title:hover {
    background: rgba(192, 132, 255, 0.16);
    text-decoration: underline;
    text-decoration-color: #c084fc;
    text-decoration-thickness: 2px;
    text-underline-offset: 5px;
}

.go-chat-db-panel__name {
    margin: 0;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.55);
}

.go-chat-db-panel__list {
    list-style: none;
    margin: 8px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.go-chat-db-panel__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border: 1px solid rgba(192, 132, 255, 0.28);
    border-radius: 12px;
    background: rgba(24, 12, 48, 0.45);
}

.go-chat-db-panel__item strong {
    font-size: 13px;
    font-weight: 700;
}

.go-chat-db-panel__item span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.go-chat-plan__section-label {
    margin: 10px 0 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
}

.go-chat-plan__notes {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 160px;
    overflow: auto;
}

.go-chat-plan__note {
    padding: 6px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
}

.go-chat-plan__note.is-ai {
    background: rgba(62, 93, 255, 0.16);
}

.go-chat-plan__note span {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.5);
}

.go-chat-plan__note p {
    margin: 2px 0 0;
    font-size: 12px;
}

.go-chat-plan__note-form {
    display: flex;
    gap: 6px;
    margin: 8px 0 4px;
}

.go-chat-plan__note-input {
    flex: 1;
    min-width: 0;
    padding: 6px 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    background: rgba(8, 10, 28, 0.45);
    color: #fff;
    font: inherit;
    font-size: 12px;
}

.go-chat-plan__note-form button {
    flex: 0 0 32px;
    border: 0;
    border-radius: 8px;
    background: rgba(208, 50, 175, 0.45);
    color: #fff;
    cursor: pointer;
}

.go-chat-plan__links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.go-chat-plan__link {
    margin: 0 0 6px;
    padding: 7px 8px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    font-size: 12px;
}

.go-chat-plan__link small,
.go-chat-plan__link code {
    display: block;
    margin-top: 2px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.45);
}

.go-chat-plan__files {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
}

.go-chat-files__folder {
    display: none;
}

.go-chat-files__folder,
.go-chat-explorer__folder {
    display: block;
    margin: 8px 0 0;
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.72);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.go-chat-files__tree {
    position: relative;
    z-index: 1;
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 12px 10px 16px;
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
}

.go-chat-files__tree::-webkit-scrollbar {
    width: 4px;
}

.go-chat-files__tree::-webkit-scrollbar-thumb {
    background: rgba(208, 50, 175, 0.55);
    border-radius: 999px;
}

.go-chat-tree {
    list-style: none;
    margin: 0;
    padding: 0;
}

.go-chat-tree .go-chat-tree {
    padding-left: 14px;
}

.go-chat-tree__item {
    margin: 0;
}

.go-chat-tree__row {
    display: flex;
    align-items: center;
    gap: 6px;
    width: 100%;
    padding: 4px 8px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: inherit;
    text-align: left;
    cursor: pointer;
    font: inherit;
}

.go-chat-tree__row:hover,
.go-chat-tree__row.is-active {
    background: rgba(208, 50, 175, 0.18);
}

.go-chat-tree__row.is-writing {
    background: rgba(168, 85, 247, 0.38);
    box-shadow: inset 3px 0 0 #ff4fd8;
}

.go-chat-tree__row.is-writing .go-chat-tree__name {
    color: #fff;
    font-weight: 600;
}

.go-chat-tree__caret {
    flex: 0 0 10px;
    font-size: 9px;
    color: rgba(255, 255, 255, 0.45);
}

.go-chat-tree__icon {
    flex: 0 0 14px;
    font-size: 11px;
    opacity: 0.85;
}

.go-chat-tree__name {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.go-chat-files__preview {
    position: relative;
    z-index: 1;
    max-height: 180px;
    margin: 0;
    padding: 10px 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    overflow: auto;
    font-size: 11px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
    white-space: pre-wrap;
    word-break: break-word;
}

.go-chat-panel__active-project {
    margin: 10px 0 0;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
}

.go-chat-panel__subtitle {
    margin: 12px 0 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.55);
    max-width: 420px;
}

.go-chat-panel__close {
    position: relative;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    color: var(--aigence-white, #fff);
    cursor: pointer;
    transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.go-chat-panel__close::before,
.go-chat-panel__close::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 1.5px;
    background: currentColor;
    border-radius: 1px;
}

.go-chat-panel__close::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.go-chat-panel__close::after {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.go-chat-panel__close:hover {
    background: rgba(208, 50, 175, 0.35);
    border-color: rgba(208, 50, 175, 0.6);
    transform: rotate(90deg);
}

.go-chat-panel__body {
    position: relative;
    flex: 1;
    min-height: 280px;
    max-height: 420px;
    min-width: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 24px 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.go-chat-panel__body::-webkit-scrollbar {
    width: 5px;
}

.go-chat-panel__body::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--aigence-base, #D032AF), var(--aigence-primary, #3E5DFF));
    border-radius: 999px;
}

.go-chat-message {
    display: flex;
    gap: 12px;
    max-width: 100%;
    min-width: 0;
    width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(16px);
    animation: goChatMessageIn 0.5s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.go-chat-message--ai {
    align-self: flex-start;
    max-width: 100%;
}

.go-chat-message--user {
    align-self: flex-end;
    flex-direction: row-reverse;
    max-width: 85%;
}

.go-chat-message__avatar {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--aigence-base, #D032AF), var(--aigence-primary, #3E5DFF));
    box-shadow: 0 4px 16px rgba(208, 50, 175, 0.35);
}

.go-chat-message--user .go-chat-message__avatar {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: none;
}

.go-chat-message__bubble {
    padding: 14px 18px;
    border-radius: 18px 18px 18px 6px;
    font-size: 15px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    min-width: 0;
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: pre-wrap;
}

.go-chat-message__bubble p,
.go-chat-message__bubble li,
.go-chat-message__bubble a,
.go-chat-message__bubble code {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
}

.go-chat-message__bubble p {
    margin: 0 0 12px;
}

.go-chat-message__bubble p:last-child {
    margin-bottom: 0;
}

.go-chat-message__bubble ul,
.go-chat-message__bubble ol {
    margin: 0 0 12px;
    padding-left: 1.25em;
}

.go-chat-message__bubble ul:last-child,
.go-chat-message__bubble ol:last-child {
    margin-bottom: 0;
}

.go-chat-message__bubble li {
    margin: 0 0 8px;
}

.go-chat-message__bubble li:last-child {
    margin-bottom: 0;
}

.go-chat-message__bubble strong {
    color: #fff;
    font-weight: 700;
}

.go-chat-trace {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0 0 10px;
}

.go-chat-tool {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin: 0;
    padding: 5px 9px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    font-size: 11px;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.78);
    background: rgba(8, 20, 53, 0.45);
}

.go-chat-tool code {
    color: #9ec5ff;
    font-size: 11px;
}

.go-chat-diff {
    margin: 0 0 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    overflow: hidden;
    background: rgba(4, 10, 28, 0.72);
}

.go-chat-diff__path {
    padding: 7px 10px;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.04);
}

.go-chat-diff__body {
    margin: 0;
    max-height: 240px;
    overflow: auto;
    font-family: ui-monospace, SFMono-Regular, Consolas, "Liberation Mono", Menlo, monospace;
    font-size: 12px;
    line-height: 1.45;
}

.go-chat-diff__line {
    padding: 0 10px;
    white-space: pre-wrap;
    word-break: break-word;
}

.go-chat-diff__line.is-add {
    color: #8ef0b8;
    background: rgba(46, 160, 87, 0.18);
}

.go-chat-diff__line.is-del {
    color: #ff9aa8;
    background: rgba(218, 54, 51, 0.18);
}

.go-chat-diff__line.is-meta {
    color: rgba(255, 255, 255, 0.45);
}

.go-chat-message--user .go-chat-message__bubble {
    border-radius: 18px 18px 6px 18px;
    background: linear-gradient(135deg, rgba(208, 50, 175, 0.45), rgba(62, 93, 255, 0.35));
    border-color: rgba(255, 255, 255, 0.15);
}

.go-chat-message--typing .go-chat-message__bubble {
    display: flex;
    gap: 5px;
    align-items: center;
    padding: 16px 20px;
}

.go-chat-message--typing span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    animation: goChatTyping 1.2s ease-in-out infinite;
}

.go-chat-message--typing span:nth-child(2) { animation-delay: 0.15s; }
.go-chat-message--typing span:nth-child(3) { animation-delay: 0.3s; }

.go-chat-panel__footer {
    position: relative;
    padding: 20px 32px 28px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 0;
}

.go-chat-mode-switch {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    margin: 0 0 10px;
    padding: 3px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    background: rgba(8, 10, 28, 0.45);
}

.go-chat-mode-switch__btn {
    appearance: none;
    border: 0;
    margin: 0;
    padding: 6px 12px;
    border-radius: 999px;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    cursor: pointer;
}

.go-chat-mode-switch__btn.is-active {
    background: rgba(62, 93, 255, 0.55);
    color: #fff;
}

.go-chat-mode-switch__btn[data-mode="ask"].is-active {
    background: rgba(46, 160, 87, 0.55);
}

.go-chat-mode-switch__btn[data-mode="plan"].is-active {
    background: rgba(168, 85, 247, 0.55);
}

.go-chat-panel__form {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
    max-width: 100%;
}

.go-chat-panel__input-wrap {
    flex: 1;
    position: relative;
    min-width: 0;
}

.go-chat-panel__input {
    width: 100%;
    height: 56px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--aigence-white, #fff);
    font-family: var(--aigence-font, "Plus Jakarta Sans", sans-serif);
    font-size: 15px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.go-chat-panel__input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.go-chat-panel__input:focus {
    border-color: rgba(208, 50, 175, 0.6);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 0 0 3px rgba(208, 50, 175, 0.15), 0 0 30px rgba(62, 93, 255, 0.12);
}

.go-chat-panel__send {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0;
    border: none;
    cursor: pointer;
    padding: 0;
    background: transparent;
}

.go-chat-panel__send .aigence-btn__text {
    min-width: 100px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(208, 50, 175, 0.5), rgba(62, 93, 255, 0.45));
    box-shadow:
        0 0 0 1px rgba(208, 50, 175, 0.15) inset,
        0 8px 24px rgba(208, 50, 175, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.go-chat-panel__send .aigence-btn__text::after {
    display: none;
}

.go-chat-panel__send:hover .aigence-btn__text {
    border-color: rgba(255, 255, 255, 0.35);
    background: linear-gradient(145deg, rgba(208, 50, 175, 0.5), rgba(62, 93, 255, 0.45));
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 0 28px rgba(208, 50, 175, 0.45);
    transform: translateY(-1px);
    color: #fff;
}

.go-chat-panel__send .aigence-btn__icon {
    display: none !important;
}

.go-chat-panel__voice {
    flex-shrink: 0;
    position: relative;
    width: 56px;
    height: 56px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    background: linear-gradient(145deg, rgba(208, 50, 175, 0.5), rgba(62, 93, 255, 0.45));
    box-shadow:
        0 0 0 1px rgba(208, 50, 175, 0.15) inset,
        0 8px 24px rgba(208, 50, 175, 0.2);
    color: #fff;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.go-chat-panel__voice:hover {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.12) inset,
        0 0 28px rgba(208, 50, 175, 0.45);
    transform: translateY(-1px);
}

.go-chat-panel__voice.is-active {
    border-color: rgba(74, 222, 128, 0.65);
    background: linear-gradient(145deg, rgba(74, 222, 128, 0.4), rgba(62, 93, 255, 0.5));
    box-shadow:
        0 0 0 3px rgba(74, 222, 128, 0.18),
        0 0 32px rgba(208, 50, 175, 0.35);
    animation: goChatVoicePulse 2s ease-in-out infinite;
}

.go-chat-panel__voice.is-speaking {
    border-color: rgba(208, 50, 175, 0.85);
    background: linear-gradient(145deg, rgba(208, 50, 175, 0.65), rgba(62, 93, 255, 0.55));
}

.go-chat-panel__voice-waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 22px;
}

.go-chat-panel__voice-waveform span {
    display: block;
    width: 3px;
    border-radius: 999px;
    background: linear-gradient(180deg, #fff 0%, rgba(241, 243, 255, 0.85) 100%);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.45);
    transform-origin: center bottom;
}

.go-chat-panel__voice-waveform span:nth-child(1) { height: 9px; }
.go-chat-panel__voice-waveform span:nth-child(2) { height: 14px; }
.go-chat-panel__voice-waveform span:nth-child(3) { height: 20px; }
.go-chat-panel__voice-waveform span:nth-child(4) { height: 14px; }
.go-chat-panel__voice-waveform span:nth-child(5) { height: 9px; }

.go-chat-panel__voice.is-active .go-chat-panel__voice-waveform span,
.go-chat-panel__voice.is-speaking .go-chat-panel__voice-waveform span {
    animation: goChatVoiceWave 1.1s ease-in-out infinite;
}

.go-chat-panel__voice.is-active .go-chat-panel__voice-waveform span:nth-child(1),
.go-chat-panel__voice.is-speaking .go-chat-panel__voice-waveform span:nth-child(1) { animation-delay: 0s; }
.go-chat-panel__voice.is-active .go-chat-panel__voice-waveform span:nth-child(2),
.go-chat-panel__voice.is-speaking .go-chat-panel__voice-waveform span:nth-child(2) { animation-delay: 0.12s; }
.go-chat-panel__voice.is-active .go-chat-panel__voice-waveform span:nth-child(3),
.go-chat-panel__voice.is-speaking .go-chat-panel__voice-waveform span:nth-child(3) { animation-delay: 0.24s; }
.go-chat-panel__voice.is-active .go-chat-panel__voice-waveform span:nth-child(4),
.go-chat-panel__voice.is-speaking .go-chat-panel__voice-waveform span:nth-child(4) { animation-delay: 0.36s; }
.go-chat-panel__voice.is-active .go-chat-panel__voice-waveform span:nth-child(5),
.go-chat-panel__voice.is-speaking .go-chat-panel__voice-waveform span:nth-child(5) { animation-delay: 0.48s; }

.go-chat-voice-status {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.75);
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.25);
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
}

.go-chat-voice-status span:last-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.go-chat-voice-status[hidden] {
    display: none !important;
}

.go-chat-voice-status.is-speaking {
    background: rgba(208, 50, 175, 0.12);
    border-color: rgba(208, 50, 175, 0.3);
}

.go-chat-voice-status__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 10px #4ade80;
    animation: goChatPulse 1.5s ease-in-out infinite;
    flex-shrink: 0;
}

.go-chat-voice-status.is-speaking .go-chat-voice-status__dot {
    background: #D032AF;
    box-shadow: 0 0 10px #D032AF;
}

.go-chat-panel__model-row {
    display: none;
}

.go-chat-panel__setting {
    flex: 1;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.go-chat-panel__model-label {
    flex-shrink: 0;
    margin: 0;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

.go-chat-panel__model-select {
    flex: 1;
    min-width: 0;
    height: 44px;
    padding: 0 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--aigence-white, #fff);
    font-family: var(--aigence-font, "Plus Jakarta Sans", sans-serif);
    font-size: 14px;
    outline: none;
    cursor: pointer;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23D032AF' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.go-chat-panel__model-select:focus {
    border-color: rgba(208, 50, 175, 0.6);
    box-shadow: 0 0 0 3px rgba(208, 50, 175, 0.15);
}

.go-chat-panel__model-select option {
    background: #0D1A42;
    color: #fff;
}

.go-chat-panel__model-tag {
    display: none;
}

body.go-chat-open {
    overflow: hidden;
}

@keyframes goChatVoicePulse {
    0%, 100% { box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.15), 0 0 20px rgba(208, 50, 175, 0.25); }
    50% { box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.08), 0 0 35px rgba(208, 50, 175, 0.45); }
}

@keyframes goChatVoiceWave {
    0%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    50% { transform: scaleY(1.2); opacity: 1; }
}

@keyframes goChatFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-18px) rotate(3deg); }
}

@keyframes goChatSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes goChatSparkleFloat {
    0%, 100% { transform: scale(1) rotate(15deg) translateY(0); }
    50% { transform: scale(1.08) rotate(20deg) translateY(-8px); }
}

@keyframes goChatSparkleHalo {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.15); }
}

@keyframes goChatTwinkle {
    0%, 100% { opacity: 0.4; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.1); }
}

@keyframes goChatPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes goChatMessageIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes goChatTyping {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-6px); opacity: 1; }
}

@media (max-width: 767px) {
    .go-chat-overlay {
        padding: 12px;
        align-items: center;
        justify-content: center;
    }

    .go-chat-panel {
        border-radius: 20px;
        max-height: 92vh;
        width: 100%;
    }

    .go-chat-overlay.is-programming .go-chat-panel {
        width: 100%;
    }

    .go-chat-stage {
        flex-direction: column;
        max-height: 92vh;
        gap: 12px;
    }

    .go-chat-files {
        flex: 0 0 auto;
        width: 100%;
        max-width: 100%;
        min-width: 0;
        max-height: 34vh;
        transform: translateY(-16px) scale(0.98);
    }

    .go-chat-overlay.is-active.is-programming .go-chat-files:not([hidden]) {
        transform: translateY(0) scale(1);
    }

    .go-chat-files__header {
        padding: 16px 20px 12px;
    }

    .go-chat-panel__hero-bg img {
        right: -22%;
        bottom: -2%;
        width: 130%;
        opacity: 0.78;
    }

    .go-chat-panel__header,
    .go-chat-panel__body,
    .go-chat-panel__footer {
        padding-left: 20px;
        padding-right: 20px;
    }

    .go-chat-panel__title-outline {
        display: none;
    }

    .go-chat-panel__form {
        flex-wrap: wrap;
        justify-content: center;
    }

    .go-chat-panel__voice {
        width: 48px;
        height: 48px;
        border-radius: 14px;
    }

    .go-chat-panel__input-wrap {
        flex: 1 1 100%;
    }

    .go-chat-panel__send .aigence-btn__text {
        min-width: 72px;
        font-size: 13px;
    }

    .go-chat-panel__header {
        flex-wrap: wrap;
    }

    .go-chat-panel__header-tools {
        order: 3;
        flex: 1 1 100%;
        width: 100%;
        max-width: none;
        flex-direction: row;
        gap: 8px;
    }

    .go-chat-panel__header-tools .go-chat-panel__setting {
        flex: 1;
    }

    .go-chat-panel__close {
        order: 2;
    }

    .go-chat-panel__model-row {
        display: none;
    }

    .go-chat-message {
        max-width: 92%;
    }

    .go-chat-message__bubble {
        background: rgba(8, 20, 53, 0.55);
    }
}

.go-chat-overlay.is-picking .go-chat-stage {
    display: none;
}

.go-chat-picker {
    position: relative;
    z-index: 6;
    width: min(560px, 100%);
    max-height: min(82vh, 720px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.go-chat-picker[hidden] {
    display: none;
}

.go-chat-picker__card {
    width: 100%;
    padding: 28px 26px 22px;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 20, 53, 0.72);
    backdrop-filter: blur(18px);
}

.go-chat-picker__eyebrow {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.go-chat-picker__title {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    line-height: 1.2;
}

.go-chat-picker__hint {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.72);
    font-size: 14px;
    line-height: 1.45;
}

.go-chat-picker__list {
    list-style: none;
    margin: 0 0 16px;
    padding: 0;
    max-height: 320px;
    overflow: auto;
}

.go-chat-picker__item {
    display: block;
    width: 100%;
    margin: 0 0 8px;
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.04);
    color: #fff;
    text-align: left;
    cursor: pointer;
}

.go-chat-picker__item:hover,
.go-chat-picker__item.is-last {
    border-color: rgba(158, 197, 255, 0.45);
    background: rgba(62, 93, 255, 0.18);
}

.go-chat-picker__empty {
    margin: 0 0 12px;
    color: rgba(255, 255, 255, 0.6);
}

.go-chat-picker__create {
    display: flex;
    gap: 8px;
}

.go-chat-picker__input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(8, 20, 53, 0.45);
    color: #fff;
}

.go-chat-improve {
    margin: 10px 0 0;
    padding: 12px 12px 10px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(8, 20, 53, 0.4);
}

.go-chat-improve.is-done {
    opacity: 0.55;
}

.go-chat-improve.is-rejected {
    opacity: 0.4;
}

.go-chat-improve__title {
    margin: 0 0 4px;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
}

.go-chat-improve__why {
    margin: 0 0 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
    line-height: 1.4;
}

.go-chat-improve__stars {
    display: flex;
    gap: 4px;
    margin: 0 0 8px;
}

.go-chat-improve__star {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    cursor: pointer;
}

.go-chat-improve__star.is-on {
    background: rgba(208, 50, 175, 0.35);
    border-color: rgba(208, 50, 175, 0.7);
    color: #fff;
}

.go-chat-improve__actions {
    display: flex;
    gap: 8px;
}

.go-chat-improve__btn {
    padding: 6px 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(62, 93, 255, 0.25);
    color: #fff;
    cursor: pointer;
    font-size: 12px;
}

.go-chat-improve__btn.is-no {
    background: transparent;
}
