:root {
    --gst-bg: #f7f8fb;
    --gst-surface: rgba(255, 255, 255, 0.88);
    --gst-white: #ffffff;
    --gst-text: #172033;
    --gst-muted: #667085;
    --gst-border: #e4e7ec;
    --gst-orange: #f97316;
    --gst-orange-dark: #d95d0b;
    --gst-green: #15803d;
    --gst-green-bg: #ecfdf3;
    --gst-blue: #3157d5;
    --gst-shadow: 0 16px 45px rgba(16, 24, 40, 0.08);
    --gst-radius: 22px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(
            circle at 10% 0%,
            rgba(249, 115, 22, 0.08),
            transparent 28rem
        ),
        radial-gradient(
            circle at 100% 15%,
            rgba(49, 87, 213, 0.07),
            transparent 30rem
        ),
        var(--gst-bg);
    color: var(--gst-text);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input {
    font: inherit;
}

.gst-header {
    position: sticky;
    z-index: 50;
    top: 0;
    border-bottom: 1px solid rgba(228, 231, 236, 0.9);
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(18px);
}

.gst-header-inner {
    display: flex;
    width: min(1180px, calc(100% - 32px));
    min-height: 72px;
    margin: auto;
    align-items: center;
    gap: 28px;
}

.gst-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 20px;
    font-weight: 800;
}

.gst-brand-mark {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 14px;
    background: var(--gst-orange);
    color: white;
    font-size: 14px;
}

.gst-nav {
    display: flex;
    margin-left: auto;
    align-items: center;
    gap: 24px;
    color: #475467;
    font-size: 14px;
    font-weight: 650;
}

.gst-nav a {
    padding: 8px 0;
}

.gst-nav a:hover,
.gst-nav .active {
    color: var(--gst-orange-dark);
}

.language-button {
    min-width: 76px;
    padding: 10px 14px;
    border: 1px solid var(--gst-border);
    border-radius: 12px;
    background: white;
    color: var(--gst-text);
    cursor: pointer;
    font-weight: 700;
}

main {
    width: min(1180px, calc(100% - 32px));
    margin: auto;
}

.gst-hero {
    display: grid;
    padding: 72px 0 42px;
    grid-template-columns: minmax(0, 1.55fr) minmax(300px, 0.75fr);
    gap: 52px;
    align-items: center;
}

.gst-eyebrow,
.section-kicker {
    color: var(--gst-orange-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.gst-eyebrow {
    display: inline-flex;
    padding: 8px 12px;
    align-items: center;
    gap: 7px;
    border: 1px solid #fed7aa;
    border-radius: 999px;
    background: #fff7ed;
}

.gst-hero h1 {
    max-width: 760px;
    margin: 20px 0 18px;
    font-size: clamp(38px, 5vw, 68px);
    line-height: 1.02;
    letter-spacing: -0.045em;
}

.gst-hero-content > p {
    max-width: 720px;
    margin: 0;
    color: var(--gst-muted);
    font-size: 18px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    margin-top: 28px;
    flex-wrap: wrap;
    gap: 12px;
}

.primary-button,
.secondary-button {
    display: inline-flex;
    min-height: 48px;
    padding: 0 19px;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    font-weight: 750;
}

.primary-button {
    background: var(--gst-orange);
    color: white;
    box-shadow: 0 10px 25px rgba(249, 115, 22, 0.22);
}

.primary-button:hover {
    background: var(--gst-orange-dark);
}

.secondary-button {
    border: 1px solid var(--gst-border);
    background: white;
}

.gst-trust-strip {
    display: flex;
    margin-top: 30px;
    flex-wrap: wrap;
    gap: 18px;
    color: #475467;
    font-size: 13px;
}

.gst-trust-strip div {
    display: flex;
    align-items: center;
    gap: 6px;
}

.gst-trust-strip strong {
    color: var(--gst-green);
}

.gst-assistant-card {
    display: flex;
    min-height: 280px;
    padding: 28px;
    align-items: flex-start;
    gap: 18px;
    border: 1px solid rgba(228, 231, 236, 0.9);
    border-radius: 28px;
    background:
        linear-gradient(
            145deg,
            rgba(255, 255, 255, 0.98),
            rgba(255, 247, 237, 0.9)
        );
    box-shadow: var(--gst-shadow);
}

.assistant-orb {
    display: grid;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    place-items: center;
    border-radius: 22px;
    background:
        linear-gradient(
            135deg,
            var(--gst-orange),
            #ffb347
        );
    color: white;
    font-weight: 900;
}

.assistant-label {
    color: var(--gst-orange-dark);
    font-size: 11px;
    font-weight: 850;
    letter-spacing: 0.1em;
}

.gst-assistant-card h2 {
    margin: 10px 0;
    font-size: 27px;
}

.gst-assistant-card p {
    margin: 0;
    color: var(--gst-muted);
    line-height: 1.65;
}

.coming-badge {
    display: inline-block;
    margin-top: 18px;
    padding: 7px 10px;
    border-radius: 9px;
    background: #172033;
    color: white;
    font-size: 11px;
    font-weight: 800;
}

.gst-search-section {
    padding: 12px 0 42px;
}

.gst-search-box {
    display: flex;
    min-height: 62px;
    padding: 0 20px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gst-border);
    border-radius: 18px;
    background: white;
    box-shadow: 0 10px 35px rgba(16, 24, 40, 0.05);
}

.gst-search-box > span:first-child {
    color: var(--gst-muted);
    font-size: 28px;
}

.gst-search-box input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gst-text);
    font-size: 16px;
}

.result-count {
    white-space: nowrap;
    color: var(--gst-muted);
    font-size: 12px;
}

.gst-directory {
    padding: 20px 0 70px;
}

.section-heading {
    display: flex;
    margin-bottom: 26px;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
}

.section-heading h2,
.official-section h2 {
    margin: 8px 0 0;
    font-size: clamp(27px, 3vw, 38px);
    letter-spacing: -0.025em;
}

.free-legend,
.free-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.free-legend {
    color: var(--gst-muted);
    font-size: 12px;
}

.free-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #22c55e;
    box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.12);
}

.gst-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.gst-service-card {
    display: flex;
    min-height: 285px;
    padding: 22px;
    flex-direction: column;
    border: 1px solid var(--gst-border);
    border-radius: var(--gst-radius);
    background: var(--gst-surface);
    box-shadow: 0 8px 26px rgba(16, 24, 40, 0.04);
    transition:
        transform 160ms ease,
        box-shadow 160ms ease,
        border-color 160ms ease;
}

.gst-service-card:hover {
    transform: translateY(-3px);
    border-color: #fdba74;
    box-shadow: 0 16px 35px rgba(16, 24, 40, 0.08);
}

.card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.service-icon {
    display: grid;
    width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: #fff7ed;
    font-size: 23px;
}

.free-badge {
    padding: 7px 9px;
    border-radius: 999px;
    background: var(--gst-green-bg);
    color: var(--gst-green);
    font-size: 10px;
    font-weight: 800;
}

.gst-service-card h3 {
    margin: 20px 0 9px;
    font-size: 20px;
}

.gst-service-card p {
    margin: 0 0 20px;
    color: var(--gst-muted);
    font-size: 14px;
    line-height: 1.65;
}

.guidance-button {
    margin-top: auto;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gst-orange-dark);
    cursor: pointer;
    text-align: left;
    font-weight: 800;
}

.gst-empty {
    padding: 60px 20px;
    text-align: center;
}

.gst-empty > div {
    font-size: 38px;
}

.gst-empty h3 {
    margin-bottom: 6px;
}

.gst-empty p {
    margin-top: 0;
    color: var(--gst-muted);
}

.gst-info-section {
    display: grid;
    padding: 0 0 70px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.gst-info-card {
    display: flex;
    padding: 25px;
    gap: 17px;
    border: 1px solid #bbf7d0;
    border-radius: 20px;
    background: #f0fdf4;
}

.gst-info-card.warning {
    border-color: #fed7aa;
    background: #fff7ed;
}

.info-icon {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border-radius: 14px;
    background: white;
    font-weight: 850;
}

.gst-info-card h2 {
    margin: 0 0 8px;
    font-size: 18px;
}

.gst-info-card p {
    margin: 0;
    color: #475467;
    font-size: 14px;
    line-height: 1.65;
}

.official-section {
    display: grid;
    padding: 0 0 70px;
    grid-template-columns: 0.7fr 1.3fr;
    gap: 40px;
    align-items: center;
}

.official-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.official-links a {
    display: flex;
    min-height: 92px;
    padding: 16px;
    align-items: center;
    gap: 12px;
    border: 1px solid var(--gst-border);
    border-radius: 17px;
    background: white;
}

.official-links a > span {
    font-size: 25px;
}

.official-links strong,
.official-links small {
    display: block;
}

.official-links small {
    margin-top: 4px;
    color: var(--gst-muted);
}

.gst-disclaimer {
    margin-bottom: 60px;
    padding: 18px 20px;
    border: 1px solid var(--gst-border);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.7);
    color: #667085;
    font-size: 12px;
    line-height: 1.65;
}

.gst-disclaimer strong {
    color: #344054;
}

.gst-footer {
    display: flex;
    width: min(1180px, calc(100% - 32px));
    min-height: 80px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    border-top: 1px solid var(--gst-border);
    color: var(--gst-muted);
    font-size: 13px;
}

.gst-footer a {
    color: var(--gst-orange-dark);
    font-weight: 750;
}

.gst-modal[hidden] {
    display: none;
}

.gst-modal {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 20px;
}

.gst-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(6px);
}

.gst-modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    padding: 30px;
    border-radius: 24px;
    background: white;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.2);
}

.modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 12px;
    background: #f2f4f7;
    cursor: pointer;
    font-size: 23px;
}

.modal-icon {
    margin-bottom: 16px;
    font-size: 36px;
}

.gst-modal-card h2 {
    margin: 8px 0 10px;
    font-size: 28px;
}

.gst-modal-card > p {
    color: var(--gst-muted);
    line-height: 1.65;
}

.modal-notice {
    display: grid;
    margin: 20px 0;
    padding: 15px;
    gap: 5px;
    border-radius: 14px;
    background: #fff7ed;
    color: #7c2d12;
    font-size: 13px;
    line-height: 1.55;
}

.modal-official {
    width: 100%;
}

body.modal-open {
    overflow: hidden;
}

@media (max-width: 940px) {
    .gst-nav {
        display: none;
    }

    .language-button {
        margin-left: auto;
    }

    .gst-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .gst-assistant-card {
        min-height: 0;
    }

    .gst-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .official-section {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

@media (max-width: 680px) {
    .gst-header-inner,
    main,
    .gst-footer {
        width: min(100% - 22px, 1180px);
    }

    .gst-header-inner {
        min-height: 64px;
    }

    .gst-hero {
        padding-top: 42px;
    }

    .gst-hero h1 {
        font-size: 40px;
    }

    .gst-hero-content > p {
        font-size: 16px;
    }

    .hero-actions {
        display: grid;
    }

    .primary-button,
    .secondary-button {
        width: 100%;
    }

    .gst-trust-strip {
        display: grid;
        gap: 9px;
    }

    .gst-assistant-card {
        padding: 21px;
    }

    .assistant-orb {
        width: 52px;
        height: 52px;
        flex-basis: 52px;
        border-radius: 16px;
    }

    .section-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .gst-grid,
    .gst-info-section,
    .official-links {
        grid-template-columns: 1fr;
    }

    .gst-service-card {
        min-height: 255px;
    }

    .gst-info-card {
        padding: 20px;
    }

    .gst-search-box {
        min-height: 56px;
        padding: 0 14px;
    }

    .result-count {
        display: none;
    }

    .gst-footer {
        min-height: 90px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: center;
        gap: 7px;
    }

    .gst-modal-card {
        padding: 25px 20px;
    }
}

/* =====================================================
   GST-002 — Detailed Guidance
   ===================================================== */

.gst-modal {
    overflow-y: auto;
    align-items: start;
}

.gst-modal-card {
    width: min(760px, 100%);
    margin: 32px auto;
    max-height: none;
}

.gst-detail-status {
    display: grid;
    margin: 18px 0 4px;
    gap: 6px;
}

.gst-detail-status > span {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: 0.04em;
}

.gst-detail-status small {
    color: var(--gst-muted);
    line-height: 1.5;
}

.freshness-check {
    background: #fff7ed;
    color: #c2410c;
}

.freshness-live {
    background: #ecfdf3;
    color: #15803d;
}

.freshness-high {
    background: #fef2f2;
    color: #b42318;
}

.modal-section {
    margin-top: 22px;
    padding-top: 20px;
    border-top: 1px solid var(--gst-border);
}

.modal-section h3 {
    margin: 0 0 10px;
    font-size: 16px;
}

.modal-section p {
    margin: 0;
    color: #475467;
    line-height: 1.7;
}

.modal-section ul,
.modal-section ol {
    display: grid;
    margin: 0;
    padding-left: 22px;
    gap: 9px;
    color: #475467;
    line-height: 1.65;
}

.modal-section li::marker {
    color: var(--gst-orange);
    font-weight: 800;
}

.danger-section {
    padding: 18px;
    border: 1px solid #fecaca;
    border-radius: 15px;
    background: #fef2f2;
}

.danger-section h3 {
    color: #b42318;
}

.help-section {
    padding: 18px;
    border: 1px solid #bfdbfe;
    border-radius: 15px;
    background: #eff6ff;
}

.help-section h3 {
    color: #1d4ed8;
}

.modal-official {
    margin-top: 4px;
}

@media (max-width: 680px) {
    .gst-modal {
        padding: 10px;
    }

    .gst-modal-card {
        margin: 10px auto;
        border-radius: 20px;
    }

    .modal-section {
        margin-top: 18px;
        padding-top: 17px;
    }
}

/* =====================================================
   GST-003 — Smart GST Wizard
   ===================================================== */

.gst-wizard-section {
    margin: 10px 0 44px;
    padding: 30px;
    border: 1px solid #fed7aa;
    border-radius: 26px;
    background:
        linear-gradient(
            135deg,
            rgba(255,255,255,.98),
            rgba(255,247,237,.94)
        );
    box-shadow: var(--gst-shadow);
}

.wizard-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.wizard-heading h2 {
    margin: 8px 0;
    font-size: clamp(25px, 3vw, 36px);
}

.wizard-heading p {
    max-width: 680px;
    margin: 0;
    color: var(--gst-muted);
    line-height: 1.65;
}

.wizard-start-button {
    flex: 0 0 auto;
}

.wizard-panel {
    margin-top: 30px;
    padding-top: 26px;
    border-top: 1px solid var(--gst-border);
}

.wizard-progress {
    margin-bottom: 28px;
}

.wizard-progress-top {
    display: flex;
    margin-bottom: 9px;
    justify-content: space-between;
    color: var(--gst-muted);
    font-size: 12px;
    font-weight: 700;
}

.wizard-reset {
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--gst-orange-dark);
    cursor: pointer;
    font-weight: 750;
}

.wizard-progress-track {
    height: 7px;
    overflow: hidden;
    border-radius: 999px;
    background: #f2f4f7;
}

.wizard-progress-bar {
    width: 16.666%;
    height: 100%;
    border-radius: inherit;
    background: var(--gst-orange);
    transition: width .2s ease;
}

.wizard-step h3 {
    margin: 0 0 20px;
    font-size: 22px;
}

.wizard-options {
    display: grid;
    grid-template-columns:
        repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.wizard-options label {
    cursor: pointer;
}

.wizard-options input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wizard-options span {
    display: flex;
    min-height: 62px;
    padding: 14px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--gst-border);
    border-radius: 14px;
    background: white;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    transition: .15s ease;
}

.wizard-options input:checked + span {
    border-color: var(--gst-orange);
    background: #fff7ed;
    color: var(--gst-orange-dark);
    box-shadow:
        0 0 0 3px rgba(249,115,22,.10);
}

.wizard-select,
.wizard-field input {
    width: 100%;
    min-height: 52px;
    padding: 0 14px;
    border: 1px solid var(--gst-border);
    border-radius: 13px;
    outline: 0;
    background: white;
}

.wizard-select:focus,
.wizard-field input:focus {
    border-color: var(--gst-orange);
    box-shadow:
        0 0 0 3px rgba(249,115,22,.10);
}

.wizard-field {
    display: grid;
    margin-bottom: 20px;
    gap: 8px;
}

.wizard-field label {
    font-size: 13px;
    font-weight: 750;
}

.wizard-checks {
    display: grid;
    gap: 10px;
}

.wizard-checks label,
.wizard-inline-options label {
    display: flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
}

.wizard-checks input,
.wizard-inline-options input {
    width: 18px;
    height: 18px;
    accent-color: var(--gst-orange);
}

.wizard-notice-question {
    display: flex;
    padding: 20px;
    align-items: flex-start;
    gap: 14px;
    border: 1px solid #fed7aa;
    border-radius: 16px;
    background: #fff7ed;
}

.wizard-notice-question > span {
    font-size: 24px;
}

.wizard-inline-options {
    display: flex;
    margin-top: 16px;
    gap: 24px;
}

.wizard-actions {
    display: flex;
    margin-top: 28px;
    justify-content: space-between;
    gap: 12px;
}

.wizard-results h3 {
    margin: 8px 0 20px;
    font-size: 26px;
}

.wizard-warnings {
    display: grid;
    margin-bottom: 20px;
    gap: 9px;
}

.wizard-warning {
    display: flex;
    padding: 13px 15px;
    align-items: flex-start;
    gap: 10px;
    border-radius: 13px;
    font-size: 13px;
}

.wizard-warning p {
    margin: 0;
    line-height: 1.55;
}

.wizard-warning-info {
    background: #eff6ff;
    color: #1e40af;
}

.wizard-warning-verify {
    background: #fff7ed;
    color: #9a3412;
}

.wizard-warning-high {
    background: #fef2f2;
    color: #b42318;
}

.wizard-recommendations {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.wizard-recommendation-card {
    padding: 20px;
    border: 1px solid var(--gst-border);
    border-radius: 17px;
    background: white;
}

.wizard-recommendation-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.wizard-result-icon {
    font-size: 27px;
}

.wizard-rank {
    padding: 6px 9px;
    border-radius: 999px;
    background: #fff7ed;
    color: var(--gst-orange-dark);
    font-size: 10px;
    font-weight: 850;
}

.wizard-recommendation-card h4 {
    margin: 14px 0 7px;
    font-size: 18px;
}

.wizard-recommendation-card p {
    min-height: 44px;
    margin: 0 0 14px;
    color: var(--gst-muted);
    font-size: 13px;
    line-height: 1.55;
}

.wizard-safety {
    display: grid;
    margin-top: 20px;
    padding: 15px;
    gap: 4px;
    border: 1px solid var(--gst-border);
    border-radius: 13px;
    background: #f9fafb;
    color: var(--gst-muted);
    font-size: 12px;
    line-height: 1.55;
}

.wizard-safety strong {
    color: var(--gst-text);
}

@media (max-width: 760px) {
    .gst-wizard-section {
        padding: 21px;
    }

    .wizard-heading {
        align-items: stretch;
        flex-direction: column;
    }

    .wizard-options,
    .wizard-recommendations {
        grid-template-columns: 1fr;
    }

    .wizard-options span {
        min-height: 54px;
        justify-content: flex-start;
        text-align: left;
    }

    .wizard-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .wizard-actions .primary-button,
    .wizard-actions .secondary-button {
        width: 100%;
    }

    .wizard-recommendation-card p {
        min-height: 0;
    }
}

/* =====================================================
   GST-004 — Ask GST AI
   ===================================================== */

.gst-ai-section {
    position: relative;
    margin: 10px 0 30px;
    padding: 30px;
    overflow: hidden;
    border: 1px solid #ddd6fe;
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 95% 0%,
            rgba(139,92,246,.10),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            #ffffff,
            #faf8ff
        );
    box-shadow: var(--gst-shadow);
}

.gst-ai-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.gst-ai-heading h2 {
    margin: 8px 0;
    font-size: clamp(25px, 3vw, 36px);
}

.gst-ai-heading p {
    max-width: 720px;
    margin: 0;
    color: var(--gst-muted);
    line-height: 1.65;
}

.gst-ai-badge {
    display: inline-flex;
    flex: 0 0 auto;
    padding: 9px 12px;
    align-items: center;
    gap: 7px;
    border: 1px solid #ddd6fe;
    border-radius: 999px;
    background: #f5f3ff;
    color: #6d28d9;
    font-size: 11px;
    font-weight: 800;
}

.gst-ai-input-wrap {
    margin-top: 24px;
    padding: 7px;
    border: 1px solid var(--gst-border);
    border-radius: 18px;
    background: white;
    box-shadow:
        0 8px 28px rgba(15,23,42,.06);
}

.gst-ai-input-wrap textarea {
    width: 100%;
    min-height: 115px;
    padding: 14px;
    resize: vertical;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--gst-text);
    font: inherit;
    line-height: 1.6;
}

.gst-ai-actions {
    display: flex;
    padding: 7px;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.gst-ai-actions small {
    color: var(--gst-muted);
    font-size: 10px;
}

.gst-ai-result {
    margin-top: 20px;
    padding: 22px;
    border: 1px solid var(--gst-border);
    border-radius: 18px;
    background: white;
}

.gst-ai-result-head {
    display: flex;
    margin-bottom: 15px;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.gst-ai-result-head > div {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gst-ai-orb {
    display: grid;
    width: 31px;
    height: 31px;
    place-items: center;
    border-radius: 10px;
    background: #f5f3ff;
    color: #7c3aed;
}

.gst-ai-mode {
    padding: 5px 8px;
    border-radius: 999px;
    background: #f2f4f7;
    color: var(--gst-muted);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.gst-ai-answer {
    white-space: pre-wrap;
    color: var(--gst-text);
    font-size: 14px;
    line-height: 1.72;
}

.gst-ai-current-warning {
    display: grid;
    margin-top: 16px;
    padding: 13px;
    gap: 3px;
    border: 1px solid #fed7aa;
    border-radius: 12px;
    background: #fff7ed;
    color: #9a3412;
    font-size: 12px;
    line-height: 1.5;
}

.gst-ai-topics {
    display: flex;
    margin-top: 17px;
    flex-wrap: wrap;
    gap: 8px;
}

.gst-ai-topic {
    display: inline-flex;
    padding: 8px 10px;
    align-items: center;
    gap: 6px;
    border: 1px solid var(--gst-border);
    border-radius: 10px;
    background: white;
    color: var(--gst-text);
    cursor: pointer;
    font-size: 11px;
    font-weight: 750;
}

.gst-ai-topic:hover {
    border-color: var(--gst-orange);
    color: var(--gst-orange-dark);
}

.gst-ai-disclaimer {
    display: flex;
    margin-top: 14px;
    padding: 11px 13px;
    align-items: flex-start;
    gap: 8px;
    border-radius: 11px;
    background: #f9fafb;
    color: var(--gst-muted);
    font-size: 10px;
}

.gst-ai-disclaimer p {
    margin: 0;
    line-height: 1.55;
}

@media (max-width: 760px) {
    .gst-ai-section {
        padding: 21px;
    }

    .gst-ai-heading {
        flex-direction: column;
    }

    .gst-ai-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .gst-ai-actions .primary-button {
        width: 100%;
    }

    .gst-ai-badge {
        align-self: flex-start;
    }
}
