@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@500;600;700;800&family=Oxanium:wght@400;500;600;700&family=Sora:wght@400;500;600;700&family=VT323&display=swap");

:root {
    --bg-0: #070806;
    --bg-1: #0d100c;
    --bg-2: #15170f;
    --bg-3: #232116;
    --panel: rgba(15, 16, 12, 0.8);
    --panel-strong: rgba(18, 18, 13, 0.94);
    --panel-soft: rgba(32, 31, 22, 0.84);
    --line: rgba(214, 168, 79, 0.18);
    --line-strong: rgba(214, 168, 79, 0.34);
    --text: #f7f0df;
    --muted: #c8bdab;
    --soft: #958d7e;
    --accent: #d6a84f;
    --accent-2: #9ab37a;
    --accent-3: #d57d52;
    --danger: #e2766f;
    --success: #a6d487;
    --shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
    --radius-xl: 4px;
    --radius-lg: 3px;
    --radius-md: 2px;
    --radius-sm: 2px;
    --font-body: "Sora", sans-serif;
    --font-heading: "Orbitron", sans-serif;
    --font-meta: "Oxanium", sans-serif;
    --font-display: "VT323", monospace;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    position: relative;
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--text);
    background:
        radial-gradient(circle at 12% 10%, rgba(214, 168, 79, 0.16), transparent 24%),
        radial-gradient(circle at 88% 12%, rgba(154, 179, 122, 0.14), transparent 20%),
        radial-gradient(circle at 72% 62%, rgba(82, 107, 70, 0.15), transparent 28%),
        radial-gradient(circle at 28% 82%, rgba(213, 125, 82, 0.08), transparent 24%),
        radial-gradient(circle at 48% 116%, rgba(222, 183, 101, 0.1), transparent 34%),
        conic-gradient(from 205deg at 50% 50%, rgba(9, 10, 7, 0.92), rgba(24, 25, 17, 0.96), rgba(7, 8, 6, 0.94), rgba(9, 10, 7, 0.92)),
        linear-gradient(180deg, #070806 0%, #10110c 32%, #050604 100%);
    overflow-x: hidden;
}

body::before,
body::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

body::before {
    inset: auto -12vw -8vh -12vw;
    height: 58vh;
    background:
        linear-gradient(rgba(214, 168, 79, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(154, 179, 122, 0.06) 1px, transparent 1px),
        linear-gradient(135deg, rgba(214, 168, 79, 0.06), transparent 55%);
    background-size: 60px 60px, 60px 60px, 100% 100%;
    transform: perspective(900px) rotateX(72deg);
    transform-origin: bottom center;
    opacity: 0.32;
    mask-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent 78%);
    animation: gridFloat 20s linear infinite;
}

body::after {
    top: 8%;
    right: -180px;
    width: 560px;
    height: 560px;
    border-radius: 50%;
    background:
        radial-gradient(circle at 34% 32%, rgba(214, 168, 79, 0.28), transparent 26%),
        radial-gradient(circle at 62% 42%, rgba(154, 179, 122, 0.18), transparent 28%),
        radial-gradient(circle at 56% 70%, rgba(213, 125, 82, 0.12), transparent 20%);
    filter: blur(28px);
    mix-blend-mode: screen;
    animation: orbitPulse 16s ease-in-out infinite;
}

img {
    display: block;
    max-width: 100%;
}

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

button,
input,
textarea {
    font: inherit;
}

.noise,
.scanlines,
.aurora,
.neural-bg,
.research-tape {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}

.noise {
    opacity: 0.08;
    background-image:
        radial-gradient(rgba(255, 255, 255, 0.75) 0.7px, transparent 0.7px),
        radial-gradient(rgba(255, 255, 255, 0.45) 0.55px, transparent 0.55px);
    background-position: 0 0, 17px 19px;
    background-size: 18px 18px, 23px 23px;
    mix-blend-mode: soft-light;
    animation: noiseShift 14s steps(5) infinite;
}

.noise::before {
    content: "";
    position: absolute;
    inset: -10vh -12vw auto;
    height: 42vh;
    background: linear-gradient(115deg, transparent 0%, rgba(255, 255, 255, 0.06) 46%, transparent 70%);
    transform: rotate(-6deg);
    opacity: 0.55;
    animation: beamSweep 24s ease-in-out infinite;
}

.scanlines {
    opacity: 0.07;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.05) 0,
        rgba(255, 255, 255, 0.05) 1px,
        transparent 1px,
        transparent 6px
    );
    animation: scanDrift 10s linear infinite;
}

.aurora {
    filter: blur(44px);
    opacity: 0.36;
    animation-duration: 18s;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
}

.aurora--left {
    inset: 100px auto auto -120px;
    width: 340px;
    height: 540px;
    background: linear-gradient(180deg, rgba(214, 168, 79, 0.2), transparent);
    animation-name: driftLeft;
}

.aurora--right {
    inset: 60px -80px auto auto;
    width: 380px;
    height: 420px;
    background: linear-gradient(180deg, rgba(154, 179, 122, 0.16), transparent);
    animation-name: driftRight;
}

.neural-bg {
    opacity: 0.44;
    mix-blend-mode: screen;
    mask-image:
        radial-gradient(circle at 50% 45%, rgba(0, 0, 0, 0.96), rgba(0, 0, 0, 0.34) 56%, transparent 82%);
}

.neuron,
.synapse {
    position: absolute;
    display: block;
}

.neuron {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(250, 229, 177, 0.95), rgba(214, 168, 79, 0.5) 45%, transparent 72%);
    box-shadow:
        0 0 22px rgba(214, 168, 79, 0.42),
        0 0 54px rgba(154, 179, 122, 0.16);
    animation: neuronPulse 5.8s ease-in-out infinite;
}

.neuron::before,
.neuron::after {
    content: "";
    position: absolute;
    inset: -22px;
    border-radius: 50%;
    border: 1px solid rgba(214, 168, 79, 0.13);
    transform: scale(0.68);
    opacity: 0;
    animation: neuronRing 5.8s ease-out infinite;
}

.neuron::after {
    animation-delay: 1.9s;
}

.neuron--1 { top: 19%; left: 13%; animation-delay: -0.4s; }
.neuron--2 { top: 30%; left: 38%; animation-delay: -1.6s; }
.neuron--3 { top: 18%; right: 22%; animation-delay: -2.8s; }
.neuron--4 { top: 57%; left: 23%; animation-delay: -3.6s; }
.neuron--5 { top: 63%; right: 18%; animation-delay: -1.1s; }
.neuron--6 { top: 78%; left: 52%; animation-delay: -4.4s; }

.synapse {
    height: 1px;
    width: 28vw;
    min-width: 220px;
    transform-origin: left center;
    background:
        linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.08), rgba(154, 179, 122, 0.28), rgba(214, 168, 79, 0.08), transparent);
    box-shadow: 0 0 18px rgba(154, 179, 122, 0.12);
    animation: synapseSignal 6.8s linear infinite;
}

.synapse::after {
    content: "";
    position: absolute;
    top: -1px;
    left: 0;
    width: 44px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(250, 229, 177, 0.9), transparent);
    filter: blur(1px);
    animation: synapseSpark 3.8s ease-in-out infinite;
}

.synapse--1 { top: 21%; left: 14%; transform: rotate(13deg); }
.synapse--2 { top: 31%; left: 39%; transform: rotate(-18deg); animation-delay: -1.2s; }
.synapse--3 { top: 45%; left: 17%; transform: rotate(31deg); animation-delay: -2.4s; }
.synapse--4 { top: 58%; left: 24%; transform: rotate(-8deg); animation-delay: -3.1s; }
.synapse--5 { top: 65%; left: 53%; transform: rotate(-28deg); animation-delay: -1.8s; }
.synapse--6 { top: 76%; left: 23%; transform: rotate(8deg); animation-delay: -4.2s; }

.research-tape {
    display: grid;
    grid-template-columns: minmax(120px, 0.32fr) minmax(120px, 0.32fr);
    justify-content: space-between;
    padding: 130px 28px 80px;
    opacity: 0.2;
    mask-image:
        linear-gradient(90deg, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.36) 24%, transparent 44%, transparent 56%, rgba(0, 0, 0, 0.34) 76%, rgba(0, 0, 0, 0.9)),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.84) 16%, rgba(0, 0, 0, 0.84) 78%, transparent);
    mask-composite: intersect;
}

.research-tape__column {
    display: grid;
    align-content: start;
    gap: 14px;
    color: rgba(230, 211, 168, 0.72);
    font-family: var(--font-meta);
    font-size: 0.76rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    animation: researchDrift 18s linear infinite;
}

.research-tape__column--slow {
    justify-self: end;
    animation-duration: 23s;
    animation-direction: reverse;
}

.research-tape__column span {
    width: max-content;
    max-width: 30vw;
    padding: 8px 10px;
    border-left: 1px solid rgba(214, 168, 79, 0.26);
    background: rgba(20, 19, 13, 0.32);
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.18);
}

.topbar,
.page {
    position: relative;
    z-index: 1;
}

.topbar {
    width: min(1240px, calc(100vw - 32px));
    margin: 18px auto 0;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-xl);
    background:
        linear-gradient(90deg, rgba(17, 14, 34, 0.76), rgba(8, 13, 23, 0.82)),
        rgba(9, 12, 18, 0.82);
    backdrop-filter: blur(18px);
    box-shadow: var(--shadow);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 14px;
}

.brand__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    flex: 0 0 64px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.14);
    background:
        radial-gradient(circle at 30% 30%, rgba(154, 179, 122, 0.22), transparent 34%),
        radial-gradient(circle at 74% 70%, rgba(214, 168, 79, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(10, 13, 21, 0.98), rgba(5, 8, 15, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(214, 168, 79, 0.12),
        0 0 28px rgba(154, 179, 122, 0.12);
}

.brand__mark::before {
    content: "Q";
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 2.8rem;
    line-height: 1;
    color: #f7f2ff;
    text-shadow:
        0 0 10px rgba(214, 168, 79, 0.4),
        0 0 20px rgba(154, 179, 122, 0.18);
}

.brand__mark::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent 50%),
        repeating-linear-gradient(
            to bottom,
            rgba(255, 255, 255, 0.03) 0,
            rgba(255, 255, 255, 0.03) 1px,
            transparent 1px,
            transparent 5px
        );
}

.brand__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.brand__text strong {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #f7f0df 0%, #e2c77f 50%, #b7c58b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    text-shadow: 0 0 18px rgba(214, 168, 79, 0.14);
}

.brand__text small {
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.topbar__nav,
.topbar__actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.topbar__nav {
    justify-self: center;
    margin: 0;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.025);
}

.topbar__tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    color: var(--muted);
    font-family: var(--font-meta);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.topbar__tab:hover,
.topbar__tab:focus-visible {
    color: var(--text);
    background: rgba(154, 179, 122, 0.08);
    outline: none;
    transform: translateY(-2px);
}

.topbar__actions {
    justify-self: end;
    justify-content: flex-end;
    flex-wrap: wrap;
}

.topbar__actions .chip {
    min-height: 40px;
    padding: 0 13px;
    font-size: 0.72rem;
}

.chip--external {
    color: var(--accent-2);
}

.lang-toggle {
    min-width: 78px;
}

body[data-authenticated="true"] [data-account-guest] {
    display: none !important;
}

body[data-authenticated="false"] [data-account-auth] {
    display: none !important;
}

body[data-authenticated="false"] #logoutButton {
    display: none !important;
}

.page {
    width: min(1240px, calc(100vw - 32px));
    margin: 20px auto 56px;
    display: grid;
    gap: 24px;
    isolation: isolate;
}

.page::before,
.page::after {
    content: "";
    position: fixed;
    pointer-events: none;
    z-index: -1;
}

.page::before {
    top: 24vh;
    left: -140px;
    width: 420px;
    height: 420px;
    border-radius: 37% 63% 57% 43% / 42% 39% 61% 58%;
    background:
        radial-gradient(circle at 28% 28%, rgba(154, 179, 122, 0.18), transparent 34%),
        linear-gradient(135deg, rgba(214, 168, 79, 0.16), rgba(36, 31, 18, 0));
    filter: blur(28px);
    opacity: 0.56;
    animation: floatBlob 20s ease-in-out infinite;
}

.page::after {
    right: -100px;
    bottom: 10vh;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    border: 1px solid rgba(154, 179, 122, 0.1);
    background:
        radial-gradient(circle at center, rgba(255, 255, 255, 0.04) 0, transparent 58%),
        repeating-radial-gradient(circle at center, rgba(154, 179, 122, 0.07) 0 2px, transparent 2px 28px);
    box-shadow:
        inset 0 0 0 1px rgba(214, 168, 79, 0.08),
        0 0 90px rgba(154, 179, 122, 0.08);
    opacity: 0.42;
    animation: haloSpin 28s linear infinite;
}

.panel {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(16, 21, 34, 0.92), rgba(7, 10, 17, 0.94)),
        var(--panel);
    box-shadow: var(--shadow);
}

.panel::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(214, 168, 79, 0.08), transparent 28%),
        radial-gradient(circle at bottom left, rgba(154, 179, 122, 0.06), transparent 24%);
    pointer-events: none;
}

.panel::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.14), transparent 34%, rgba(214, 168, 79, 0.18));
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    pointer-events: none;
}

.panel > * {
    position: relative;
    z-index: 1;
}

.panel__header {
    display: grid;
    gap: 8px;
    margin-bottom: 18px;
}

.panel__header h2,
.panel__header h3,
.identity-card strong,
.stat-card strong,
.market-card h3,
.pricing-card h3,
.analysis-card h3 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: 0.01em;
}

.eyebrow {
    margin: 0;
    color: var(--accent-2);
    font-family: var(--font-meta);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.28em;
    font-size: 0.74rem;
}

.muted,
.caption {
    color: var(--muted);
}

.caption {
    font-size: 0.88rem;
}

.dashboard {
    display: grid;
    gap: 22px;
}

.dashboard--priority {
    position: relative;
    overflow: hidden;
    padding: 28px;
    background:
        radial-gradient(circle at top left, rgba(154, 179, 122, 0.1), transparent 22%),
        linear-gradient(180deg, rgba(16, 20, 34, 0.96), rgba(7, 10, 17, 0.96));
}

.dashboard--priority::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    opacity: 0.36;
    background:
        radial-gradient(circle at 12% 18%, rgba(247, 228, 177, 0.54) 0 2px, transparent 5px),
        radial-gradient(circle at 26% 42%, rgba(154, 179, 122, 0.48) 0 2px, transparent 5px),
        radial-gradient(circle at 52% 22%, rgba(214, 168, 79, 0.48) 0 2px, transparent 5px),
        radial-gradient(circle at 76% 46%, rgba(154, 179, 122, 0.5) 0 2px, transparent 5px),
        radial-gradient(circle at 88% 18%, rgba(247, 228, 177, 0.42) 0 2px, transparent 5px),
        linear-gradient(18deg, transparent 11%, rgba(154, 179, 122, 0.18) 11.2%, transparent 11.8%),
        linear-gradient(146deg, transparent 24%, rgba(214, 168, 79, 0.16) 24.2%, transparent 24.8%),
        linear-gradient(31deg, transparent 44%, rgba(154, 179, 122, 0.14) 44.2%, transparent 44.8%),
        linear-gradient(159deg, transparent 62%, rgba(214, 168, 79, 0.14) 62.2%, transparent 62.8%);
    background-size:
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        620px 320px,
        520px 360px,
        700px 420px,
        640px 380px;
    filter: blur(0.15px);
    mask-image: radial-gradient(circle at 62% 34%, rgba(0, 0, 0, 0.9), transparent 72%);
    animation: brainMapDrift 18s ease-in-out infinite;
}

.dashboard--priority::after {
    content: "[research] cluster merge  //  [edge] fair probability sweep  //  [risk] resolution filter  //  [wallet] behavior rank";
    position: absolute;
    right: 22px;
    bottom: 20px;
    z-index: 0;
    max-width: min(640px, 70%);
    color: rgba(230, 211, 168, 0.18);
    font-family: var(--font-meta);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    line-height: 1.8;
    text-transform: uppercase;
    text-align: right;
    animation: researchBlink 5.4s ease-in-out infinite;
}

.dashboard--priority > * {
    position: relative;
    z-index: 1;
}

.dashboard__headline {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
}

.dashboard__intro {
    max-width: 720px;
    display: grid;
    gap: 14px;
}

.dashboard__intro h1 {
    margin: 0;
    position: relative;
    font-family: var(--font-display);
    font-size: clamp(3rem, 7vw, 5.6rem);
    line-height: 0.92;
    letter-spacing: 0.04em;
    text-transform: lowercase;
    text-shadow:
        0 0 2px rgba(255, 255, 255, 0.86),
        0 0 24px rgba(214, 168, 79, 0.18),
        0 0 54px rgba(154, 179, 122, 0.1);
    animation: heroPulse 9s ease-in-out infinite;
}

.dashboard__intro h1::after {
    content: "";
    position: absolute;
    left: 0;
    right: 18%;
    bottom: -14px;
    height: 22px;
    border-radius: var(--radius-sm);
    background: linear-gradient(90deg, rgba(154, 179, 122, 0.22), rgba(214, 168, 79, 0.24), transparent 82%);
    filter: blur(18px);
    opacity: 0.65;
}

.dashboard__intro p {
    margin: 0;
    max-width: 680px;
    line-height: 1.7;
    font-size: 1.02rem;
}

.dashboard__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.app-workspace {
    min-height: calc(100vh - 118px);
    align-content: start;
}

.app-workspace__headline {
    align-items: center;
}

.app-workspace__intro {
    max-width: 780px;
}

.app-workspace__intro h1 {
    font-family: var(--font-heading);
    font-size: 3.9rem;
    line-height: 1;
    letter-spacing: 0;
    text-transform: none;
}

.app-workspace__intro h1::after {
    right: 32%;
    bottom: -12px;
}

.app-command-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(340px, 0.65fr);
    gap: 16px;
    align-items: start;
}

.app-command-side {
    display: grid;
    gap: 16px;
}

.market-link-panel {
    min-height: 460px;
    display: grid;
    align-content: start;
    gap: 20px;
    border-color: rgba(154, 179, 122, 0.2);
    background:
        radial-gradient(circle at top right, rgba(66, 211, 189, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(214, 168, 79, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(14, 22, 30, 0.92), rgba(6, 9, 13, 0.96));
}

.market-link-panel__header h2 {
    font-size: 2rem;
}

.market-link-panel__header .muted,
.trader-link-panel .panel__header .muted {
    margin: 0;
    line-height: 1.6;
}

.input-window {
    position: relative;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(232, 206, 148, 0.13);
    background:
        linear-gradient(180deg, rgba(255, 247, 224, 0.05), rgba(255, 247, 224, 0.018)),
        rgba(5, 6, 4, 0.46);
    box-shadow:
        inset 0 1px 0 rgba(255, 244, 212, 0.06),
        0 18px 44px rgba(0, 0, 0, 0.28);
}

.input-window__bar {
    display: flex;
    gap: 7px;
    margin-bottom: 16px;
}

.input-window__bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--accent);
    opacity: 0.72;
}

.input-window__bar span:nth-child(2) {
    background: var(--accent-2);
}

.input-window__bar span:nth-child(3) {
    background: #42d3bd;
}

.form-shell--market {
    gap: 10px;
}

.url-control {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: stretch;
}

.url-control input {
    min-height: 58px;
    font-size: 1rem;
}

.url-control .button {
    min-width: 190px;
}

.trader-link-panel,
.account-panel {
    min-height: 0;
}

.trader-link-panel h2,
.account-panel h2 {
    font-size: 1.24rem;
}

.app-market-pulse {
    padding: 22px;
}

.market-grid--compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.market-grid--compact .market-card {
    min-height: 180px;
}

.workspace-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    padding: 10px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
}

.workspace-tab {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.035);
    color: var(--muted);
    font-family: var(--font-meta);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition:
        transform 180ms ease,
        background 180ms ease,
        color 180ms ease;
}

.workspace-tab:hover,
.workspace-tab:focus-visible {
    color: var(--text);
    background: rgba(154, 179, 122, 0.09);
    outline: none;
    transform: translateY(-2px);
}

.identity-card {
    min-width: 300px;
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(25, 31, 51, 0.94), rgba(10, 14, 24, 0.94));
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.03);
}

.identity-card__label,
.stat-card__label {
    display: block;
    margin-bottom: 8px;
    color: var(--soft);
    font-family: var(--font-meta);
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
}

.identity-card strong,
.stat-card strong {
    display: block;
    font-size: 1.2rem;
}

.identity-card small,
.stat-card span {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.5;
}

.dashboard__grid {
    display: grid;
    gap: 16px;
}

.dashboard__grid--priority {
    grid-template-columns: 1.12fr 0.88fr;
}

.dashboard__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.analysis-panel,
.tracking-panel,
.referral-panel,
.auth-panel,
.about-panel,
.market-panel,
.news-panel,
.pricing-panel,
.research-panel,
.bot-panel {
    padding: 26px;
}

.analysis-panel {
    background:
        radial-gradient(circle at top right, rgba(154, 179, 122, 0.14), transparent 32%),
        linear-gradient(180deg, rgba(17, 24, 39, 0.95), rgba(6, 10, 18, 0.96));
}

.tracking-panel {
    background:
        radial-gradient(circle at top left, rgba(214, 168, 79, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(19, 22, 38, 0.96), rgba(7, 10, 17, 0.96));
}

.auth-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 180, 106, 0.1), transparent 28%),
        linear-gradient(180deg, rgba(15, 20, 33, 0.95), rgba(8, 12, 20, 0.96));
}

.auth-page {
    gap: 24px;
}

.auth-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(390px, 0.72fr);
    gap: 18px;
    align-items: start;
}

.auth-page__copy {
    display: grid;
    gap: 18px;
    align-content: start;
}

.auth-page__intro {
    max-width: none;
}

.auth-page__intro h1 {
    font-size: 4.25rem;
}

.auth-brief {
    position: relative;
    overflow: hidden;
    display: grid;
    gap: 18px;
    padding: 26px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(232, 206, 148, 0.12);
    background:
        radial-gradient(circle at top left, rgba(154, 179, 122, 0.1), transparent 32%),
        radial-gradient(circle at bottom right, rgba(214, 168, 79, 0.08), transparent 34%),
        rgba(10, 11, 8, 0.46);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.auth-brief::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(214, 168, 79, 0.08) 1px, transparent 1px),
        linear-gradient(rgba(154, 179, 122, 0.055) 1px, transparent 1px);
    background-size: 42px 42px;
    opacity: 0.24;
    mask-image: linear-gradient(135deg, rgba(0, 0, 0, 0.86), transparent 76%);
}

.auth-brief > * {
    position: relative;
    z-index: 1;
}

.auth-brief__header {
    display: grid;
    gap: 10px;
    max-width: 620px;
}

.auth-brief__header strong {
    font-family: var(--font-heading);
    font-size: 1.42rem;
    line-height: 1.3;
}

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

.auth-brief__metrics div,
.auth-brief__timeline article {
    padding: 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.035);
}

.auth-brief__metrics span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.6rem;
    line-height: 1;
}

.auth-brief__metrics strong,
.auth-brief__timeline strong {
    display: block;
    font-family: var(--font-heading);
    line-height: 1.35;
}

.auth-brief__metrics small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.55;
}

.auth-brief__timeline {
    display: grid;
    gap: 12px;
}

.auth-brief__timeline article {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
}

.auth-brief__timeline p {
    margin: 6px 0 0;
    color: var(--muted);
    line-height: 1.62;
}

.status-dot--warm {
    background: var(--accent-2);
    box-shadow: 0 0 12px rgba(154, 179, 122, 0.68);
}

.status-dot--amber {
    background: var(--accent);
    box-shadow: 0 0 12px rgba(214, 168, 79, 0.7);
}

.auth-card {
    padding: 26px;
    align-self: start;
}

.auth-mode-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
    padding: 6px;
    margin-bottom: 18px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.025);
}

.auth-mode-switch button {
    min-height: 42px;
    border: 0;
    border-radius: var(--radius-sm);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-family: var(--font-meta);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    transition:
        background 180ms ease,
        color 180ms ease,
        transform 180ms ease;
}

.auth-mode-switch button:hover,
.auth-mode-switch button:focus-visible {
    color: var(--text);
    outline: none;
    transform: translateY(-1px);
}

.auth-mode-switch button.is-active {
    background:
        linear-gradient(135deg, rgba(214, 168, 79, 0.2), rgba(154, 179, 122, 0.08));
    color: var(--text);
    box-shadow: inset 0 0 0 1px rgba(214, 168, 79, 0.18);
}

.auth-form {
    display: grid;
    gap: 14px;
}

.auth-field-group {
    display: grid;
    gap: 8px;
}

.auth-field-group label {
    color: var(--soft);
    font-size: 0.9rem;
}

.auth-form input:not([type="checkbox"]) {
    width: 100%;
    min-height: 50px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 6, 4, 0.42);
    color: var(--text);
    outline: none;
}

.auth-form input:not([type="checkbox"]):focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px rgba(214, 168, 79, 0.1);
}

.auth-form__meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.auth-form__meta a {
    color: var(--accent-2);
    font-family: var(--font-meta);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.auth-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--muted);
    line-height: 1.55;
}

.auth-check input {
    width: 16px;
    height: 16px;
    margin-top: 3px;
    accent-color: var(--accent);
    flex: 0 0 auto;
}

.auth-divider {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin: 20px 0 14px;
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.26));
}

.auth-divider::after {
    background: linear-gradient(90deg, rgba(154, 179, 122, 0.24), transparent);
}

.auth-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 14px;
}

.auth-card__status {
    min-height: 22px;
    margin: 0;
}

.about-panel {
    background:
        radial-gradient(circle at top left, rgba(128, 255, 199, 0.1), transparent 28%),
        radial-gradient(circle at bottom right, rgba(154, 179, 122, 0.08), transparent 30%),
        linear-gradient(180deg, rgba(16, 22, 35, 0.96), rgba(7, 10, 17, 0.96));
}

.news-panel {
    background:
        radial-gradient(circle at top right, rgba(255, 180, 106, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(17, 18, 29, 0.97), rgba(7, 10, 16, 0.98));
}

.referral-panel {
    background:
        radial-gradient(circle at top left, rgba(154, 179, 122, 0.1), transparent 26%),
        linear-gradient(180deg, rgba(15, 18, 30, 0.95), rgba(7, 10, 17, 0.96));
}

.form-shell {
    display: grid;
    gap: 12px;
}

.form-shell label {
    color: var(--soft);
    font-size: 0.9rem;
}

.form-shell input,
.form-shell textarea,
.referral-shell input {
    width: 100%;
    padding: 15px 16px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.28);
    color: var(--text);
    outline: none;
}

.form-shell textarea {
    resize: vertical;
    min-height: 120px;
}

.form-shell input:focus,
.form-shell textarea:focus,
.referral-shell input:focus {
    border-color: var(--line-strong);
    box-shadow: 0 0 0 3px rgba(214, 168, 79, 0.1);
}

.result-shell,
.tracked-list {
    margin-top: 18px;
}

.auth-panel__mini {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    margin: 12px 0 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    line-height: 1.5;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 18px 0;
}

.account-choice-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.account-choice-grid article {
    padding: 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.account-choice-grid span,
.about-card span,
.news-card span {
    display: inline-flex;
    margin-bottom: 10px;
    color: var(--accent-2);
    font-family: var(--font-meta);
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.account-choice-grid strong,
.about-card strong,
.news-card strong {
    display: block;
    font-family: var(--font-heading);
    line-height: 1.35;
}

.account-choice-grid p,
.about-card p,
.news-card p {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.62;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 1px;
    background: var(--success);
    box-shadow: 0 0 12px rgba(128, 255, 199, 0.8);
}

.widget-shell {
    min-height: 74px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
}

.widget-shell:empty {
    display: none;
}

.widget-shell__note {
    width: 100%;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
    line-height: 1.6;
}

.auth-panel__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 16px;
}

.app-referral-box {
    display: grid;
    gap: 12px;
    margin: 16px 0;
    padding: 14px;
    border: 1px solid rgba(72, 214, 200, 0.13);
    border-radius: var(--radius-lg);
    background: rgba(5, 12, 18, 0.38);
}

.app-referral-box__summary span {
    display: block;
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.72rem;
    text-transform: uppercase;
}

.app-referral-box__summary strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.35rem;
}

.app-referral-box__summary small {
    display: block;
    margin-top: 5px;
    color: var(--muted);
    line-height: 1.45;
}

.about-layout {
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    gap: 18px;
    align-items: stretch;
}

.about-panel__lead {
    margin: 0;
    padding: 22px;
    border-radius: var(--radius-lg);
    background:
        linear-gradient(135deg, rgba(154, 179, 122, 0.08), rgba(255, 255, 255, 0.025));
    border: 1px solid rgba(154, 179, 122, 0.1);
    color: var(--muted);
    line-height: 1.78;
}

.about-grid,
.news-grid {
    display: grid;
    gap: 14px;
}

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

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

.about-card,
.news-card {
    padding: 18px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.hero {
    padding: 28px;
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 18px;
    align-items: stretch;
    background:
        linear-gradient(180deg, rgba(19, 18, 34, 0.94), rgba(8, 11, 19, 0.95));
}

.hero__copy {
    display: grid;
    align-content: start;
    gap: 14px;
    padding: 12px 6px 12px 2px;
}

.hero__copy h2 {
    margin: 0;
    font-size: clamp(2rem, 4.2vw, 3.45rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
}

.hero__lead {
    margin: 0;
    line-height: 1.7;
    font-size: 1rem;
}

.hero__signal-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hero__signal-strip span,
.tag,
.market-card__pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.84rem;
}

.hero__signal-strip span {
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}

.hero__media {
    display: grid;
    gap: 16px;
}

.hero__console {
    padding: 20px 22px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(154, 179, 122, 0.16);
    background:
        radial-gradient(circle at top right, rgba(154, 179, 122, 0.14), transparent 30%),
        linear-gradient(180deg, rgba(11, 17, 28, 0.98), rgba(6, 9, 15, 0.98));
    box-shadow: inset 0 0 0 1px rgba(154, 179, 122, 0.06);
}

.hero__console-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.hero__console-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--success);
    font-family: var(--font-meta);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero__console-status::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 1px;
    background: currentColor;
    box-shadow: 0 0 12px rgba(128, 255, 199, 0.8);
    animation: statusPulse 1.8s ease-in-out infinite;
}

.research-feed {
    display: grid;
    gap: 12px;
}

.research-feed__item {
    display: grid;
    gap: 10px;
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.research-feed__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.research-feed__top strong,
.event-radar__item strong,
.research-step strong,
.bot-matrix__item strong {
    font-family: var(--font-heading);
}

.research-feed__top span {
    color: var(--accent-2);
    font-family: var(--font-meta);
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.research-feed__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.research-feed__meta span {
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
    font-size: 0.78rem;
}

.research-feed__bar,
.research-step__bar {
    height: 8px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.research-feed__bar span,
.research-step__bar span {
    display: block;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--accent-2), var(--accent), var(--accent-2));
    background-size: 200% 100%;
    animation: progressShift 3.4s linear infinite;
}

.hero__media-stack {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
    gap: 16px;
}

.signal-card {
    padding: 18px 20px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(16, 20, 33, 0.96), rgba(9, 13, 22, 0.96));
    border: 1px solid rgba(154, 179, 122, 0.14);
}

.signal-card__label {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: rgba(154, 179, 122, 0.08);
    color: var(--accent-2);
    font-family: var(--font-meta);
    font-size: 0.84rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.14em;
}

.signal-card--workflow {
    min-height: 100%;
}

.signal-card--events {
    background:
        radial-gradient(circle at top right, rgba(255, 180, 106, 0.1), transparent 30%),
        linear-gradient(135deg, rgba(17, 21, 34, 0.96), rgba(8, 12, 20, 0.96));
}

.stack-list {
    display: grid;
    gap: 12px;
}

.stack-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.stack-item span {
    display: grid;
    place-items: center;
    border-radius: var(--radius-md);
    background: rgba(214, 168, 79, 0.12);
    color: var(--accent);
    font-family: var(--font-display);
    font-size: 1.8rem;
}

.stack-item strong {
    display: block;
    margin-bottom: 6px;
}

.stack-item p {
    margin: 0;
    color: var(--muted);
    line-height: 1.58;
}

.event-radar,
.research-loop,
.bot-matrix {
    display: grid;
    gap: 12px;
}

.event-radar__item,
.research-step,
.bot-matrix__item {
    padding: 14px 16px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.event-radar__item p,
.research-step p,
.bot-matrix__item small {
    margin: 8px 0 0;
    color: var(--muted);
    line-height: 1.58;
}

.event-radar__tag {
    display: inline-flex;
    margin-top: 10px;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: rgba(255, 180, 106, 0.12);
    color: var(--accent-3);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.grid {
    display: grid;
    gap: 22px;
}

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

.research-panel,
.bot-panel {
    display: grid;
    gap: 16px;
}

.research-panel {
    background:
        radial-gradient(circle at top left, rgba(154, 179, 122, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(16, 22, 36, 0.96), rgba(7, 11, 18, 0.96));
}

.bot-panel {
    background:
        radial-gradient(circle at top right, rgba(214, 168, 79, 0.12), transparent 28%),
        linear-gradient(180deg, rgba(18, 20, 34, 0.96), rgba(8, 11, 18, 0.96));
}

.research-step {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    align-items: start;
}

.research-step span {
    display: grid;
    place-items: center;
    min-height: 52px;
    border-radius: var(--radius-md);
    background: rgba(154, 179, 122, 0.1);
    color: var(--accent-2);
    font-family: var(--font-display);
    font-size: 1.75rem;
}

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

.bot-matrix__item span {
    display: block;
    margin-bottom: 8px;
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bot-matrix__item strong {
    display: block;
    font-size: 2rem;
    line-height: 1;
}

.market-panel,
.pricing-panel {
    padding: 28px;
}

.market-grid,
.pricing-grid {
    display: grid;
    gap: 16px;
}

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

.market-card,
.market-placeholder,
.pricing-card,
.stat-card,
.tracked-item,
.analysis-card {
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.market-card,
.pricing-card,
.stat-card,
.tracked-item {
    padding: 18px;
}

.stat-card {
    background:
        linear-gradient(180deg, rgba(18, 22, 35, 0.86), rgba(9, 12, 18, 0.92));
}

.market-placeholder {
    padding: 24px;
    color: var(--muted);
    grid-column: 1 / -1;
}

.market-card {
    min-height: 214px;
    display: grid;
    align-content: space-between;
    gap: 16px;
}

.market-card h3,
.pricing-card h3,
.analysis-card h3 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.market-card__meta,
.pricing-card__meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    color: var(--muted);
    font-size: 0.88rem;
}

.market-card__meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    word-break: break-word;
}

.market-card__pill {
    background: rgba(214, 168, 79, 0.12);
    color: var(--accent);
}

.market-card:nth-child(3n + 1) .market-card__pill {
    background: rgba(154, 179, 122, 0.12);
    color: var(--accent-2);
}

.market-card:nth-child(3n + 2) .market-card__pill {
    background: rgba(255, 180, 106, 0.12);
    color: var(--accent-3);
}

.pricing-panel {
    background:
        linear-gradient(180deg, rgba(14, 18, 29, 0.98), rgba(7, 10, 16, 0.98));
}

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

.pricing-card {
    position: relative;
    display: grid;
    gap: 18px;
    padding: 24px;
    background:
        linear-gradient(180deg, rgba(12, 15, 24, 0.98), rgba(8, 10, 16, 0.98));
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

.pricing-card::before {
    content: "";
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.16), transparent 55%);
}

.pricing-card__header {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: 14px;
    align-items: start;
}

.pricing-card__index {
    display: grid;
    place-items: center;
    min-height: 52px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.02);
    font-family: var(--font-display);
    font-size: 1.9rem;
    line-height: 1;
    color: var(--text);
}

.pricing-card__heading {
    display: grid;
    gap: 8px;
}

.pricing-card h3 {
    margin: 0;
    font-size: 1.24rem;
    line-height: 1.2;
}

.pricing-card__badge {
    align-self: start;
    grid-column: 2;
    justify-self: start;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.02);
    color: var(--text);
    font-family: var(--font-meta);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    white-space: normal;
}

.pricing-card__price-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    align-items: start;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.pricing-card__price-main {
    font-family: var(--font-heading);
    font-size: clamp(2.3rem, 4vw, 3.2rem);
    line-height: 0.92;
    color: var(--text);
}

.pricing-card__price-note,
.pricing-card__stats span {
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.pricing-card__price-note {
    color: var(--muted);
    font-size: 0.78rem;
    letter-spacing: 0.12em;
}

.pricing-card__stats {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.pricing-card__stats div {
    padding: 12px 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    background: rgba(255, 255, 255, 0.02);
}

.pricing-card__stats strong {
    display: block;
    margin-top: 8px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    line-height: 1.4;
    word-break: break-word;
}

.pricing-card__features {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.pricing-card__features li {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--muted);
    line-height: 1.68;
}

.pricing-card--featured {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.pricing-card--featured::before {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.46), rgba(255, 255, 255, 0.12) 58%, transparent 100%);
}

.project-links {
    display: flex;
    justify-content: center;
    padding: 2px 0 18px;
}

.project-links__inner {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 10px 0;
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.project-links__label {
    color: rgba(200, 189, 171, 0.62);
}

.project-link {
    position: relative;
    color: var(--muted);
    transition:
        color 180ms ease,
        transform 180ms ease;
}

.project-link::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(214, 168, 79, 0.72), transparent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 180ms ease;
}

.project-link + .project-link::after {
    content: "";
    position: absolute;
    left: -10px;
    top: 50%;
    width: 1px;
    height: 12px;
    background: rgba(214, 168, 79, 0.24);
    transform: translateY(-50%);
}

.project-link:hover,
.project-link:focus-visible {
    color: var(--accent);
    outline: none;
    transform: translateY(-1px);
}

.project-link:hover::before,
.project-link:focus-visible::before {
    transform: scaleX(1);
}

.analysis-card {
    padding: 18px;
    display: grid;
    gap: 16px;
}

.analysis-card__stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.analysis-card__stats div {
    padding: 12px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.03);
}

.analysis-card__stats strong {
    display: block;
    margin-top: 4px;
    font-size: 1.12rem;
}

.analysis-card__section {
    display: grid;
    gap: 8px;
}

.analysis-card__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(255, 255, 255, 0.04);
    color: var(--muted);
}

.tag--good {
    background: rgba(128, 255, 199, 0.1);
    color: var(--success);
}

.tag--warn {
    background: rgba(255, 127, 151, 0.1);
    color: var(--danger);
}

.tracked-list {
    display: grid;
    gap: 12px;
}

.tracked-item {
    display: grid;
    gap: 12px;
}

.tracked-item__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.tracked-item__meta {
    display: grid;
    gap: 4px;
}

.tracked-item__meta small {
    color: var(--muted);
}

.referral-shell {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: center;
}

.button,
.chip {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 18px;
    border: 0;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-family: var(--font-meta);
    font-size: 0.84rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    backdrop-filter: blur(16px);
    will-change: transform, box-shadow;
    transition:
        transform 180ms ease,
        box-shadow 180ms ease,
        background 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.button::before,
.chip::before {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: linear-gradient(120deg, transparent 14%, rgba(255, 255, 255, 0.32) 38%, rgba(255, 255, 255, 0.08) 48%, transparent 68%);
    transform: translateX(-135%) skewX(-20deg);
    opacity: 0;
    transition: transform 420ms ease, opacity 200ms ease;
    pointer-events: none;
    z-index: -1;
}

.button::after,
.chip::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: inherit;
    border: 1px solid transparent;
    opacity: 0;
    transition: opacity 180ms ease, transform 180ms ease;
    pointer-events: none;
    z-index: -1;
}

.button:hover,
.chip:hover {
    transform: translateY(-3px) scale(1.015);
}

.button:hover::before,
.button:focus-visible::before,
.chip:hover::before,
.chip:focus-visible::before {
    transform: translateX(135%) skewX(-20deg);
    opacity: 1;
}

.button:hover::after,
.button:focus-visible::after,
.chip:hover::after,
.chip:focus-visible::after {
    opacity: 1;
    transform: scale(1.015);
}

.button--primary,
.chip--primary {
    background:
        linear-gradient(135deg, #f4e7c2 0%, #d9b25c 38%, #a87832 72%, #725122 100%);
    background-size: 220% 220%;
    color: #111008;
    box-shadow:
        0 18px 42px rgba(214, 168, 79, 0.24),
        inset 0 1px 0 rgba(255, 255, 255, 0.58);
    animation: buttonGlow 6s ease-in-out infinite;
}

.button--primary::before,
.chip--primary::before {
    opacity: 0.82;
    animation: buttonSweep 5.4s linear infinite;
}

.button--primary::after,
.chip--primary::after {
    border-color: rgba(247, 228, 177, 0.58);
    box-shadow: 0 0 34px rgba(214, 168, 79, 0.26);
}

.button--secondary {
    background:
        linear-gradient(135deg, rgba(85, 104, 57, 0.48), rgba(26, 32, 20, 0.88));
    color: var(--accent-2);
    border: 1px solid rgba(154, 179, 122, 0.2);
    box-shadow:
        0 12px 30px rgba(99, 119, 65, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.button--secondary::before {
    opacity: 0.42;
    animation: buttonSweep 7.2s linear infinite;
}

.button--secondary::after {
    border-color: rgba(154, 179, 122, 0.34);
    box-shadow: 0 0 24px rgba(154, 179, 122, 0.16);
}

.button--ghost,
.chip--ghost {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.button--ghost::after,
.chip--ghost::after {
    border-color: rgba(255, 255, 255, 0.14);
}

.button[disabled] {
    opacity: 0.62;
    cursor: wait;
}

.button:focus-visible,
.chip:focus-visible {
    outline: none;
    box-shadow: 0 0 0 3px rgba(214, 168, 79, 0.16);
}

/* Glass pass: keep structure readable while letting the animated research backdrop breathe. */
.topbar,
.panel,
.dashboard--priority,
.hero,
.analysis-panel,
.tracking-panel,
.auth-panel,
.auth-card,
.auth-brief,
.referral-panel,
.about-panel,
.news-panel,
.market-panel,
.pricing-panel,
.research-panel,
.bot-panel {
    border-color: rgba(232, 206, 148, 0.12);
    background:
        radial-gradient(circle at top left, rgba(214, 168, 79, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(154, 179, 122, 0.055), transparent 32%),
        linear-gradient(180deg, rgba(17, 18, 13, 0.68), rgba(7, 8, 6, 0.58));
    backdrop-filter: blur(22px) saturate(122%);
    -webkit-backdrop-filter: blur(22px) saturate(122%);
    box-shadow:
        0 24px 74px rgba(0, 0, 0, 0.34),
        inset 0 1px 0 rgba(255, 244, 212, 0.045);
}

.panel::before {
    background:
        radial-gradient(circle at top right, rgba(214, 168, 79, 0.075), transparent 28%),
        radial-gradient(circle at bottom left, rgba(154, 179, 122, 0.055), transparent 24%);
}

.panel::after {
    background: linear-gradient(135deg, rgba(255, 244, 212, 0.14), transparent 38%, rgba(214, 168, 79, 0.14));
}

.market-card,
.market-placeholder,
.pricing-card,
.stat-card,
.tracked-item,
.analysis-card,
.auth-brief__metrics div,
.auth-brief__timeline article,
.account-choice-grid article,
.about-card,
.news-card,
.event-radar__item,
.research-step,
.bot-matrix__item,
.research-feed__item,
.signal-card,
.hero__console,
.identity-card {
    border-color: rgba(232, 206, 148, 0.1);
    background:
        linear-gradient(180deg, rgba(255, 247, 224, 0.045), rgba(255, 247, 224, 0.018)),
        rgba(10, 11, 8, 0.44);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.pricing-card {
    background:
        radial-gradient(circle at top right, rgba(214, 168, 79, 0.06), transparent 34%),
        rgba(8, 9, 7, 0.48);
}

.pricing-card--featured {
    background:
        radial-gradient(circle at top right, rgba(214, 168, 79, 0.1), transparent 34%),
        rgba(9, 10, 7, 0.54);
}

.form-shell input,
.form-shell textarea,
.referral-shell input {
    background: rgba(5, 6, 4, 0.42);
}

.market-link-panel {
    background:
        radial-gradient(circle at top right, rgba(66, 211, 189, 0.13), transparent 34%),
        radial-gradient(circle at bottom left, rgba(214, 168, 79, 0.12), transparent 32%),
        linear-gradient(180deg, rgba(14, 22, 30, 0.76), rgba(6, 9, 13, 0.68));
}

.trader-link-panel {
    background:
        radial-gradient(circle at top left, rgba(214, 168, 79, 0.1), transparent 30%),
        linear-gradient(180deg, rgba(15, 18, 16, 0.7), rgba(7, 8, 6, 0.62));
}

body[data-page="app"] {
    --app-teal: #48d6c8;
    --app-teal-soft: #8de6da;
    --app-green: #7fc6a4;
    --app-line: rgba(72, 214, 200, 0.2);
    --app-line-strong: rgba(72, 214, 200, 0.38);
    --text: #edf8f4;
    --muted: #b7c9c1;
    --soft: #81948d;
    background:
        radial-gradient(circle at 18% 12%, rgba(72, 214, 200, 0.14), transparent 22%),
        radial-gradient(circle at 88% 20%, rgba(127, 198, 164, 0.12), transparent 24%),
        radial-gradient(circle at 62% 88%, rgba(214, 168, 79, 0.08), transparent 30%),
        linear-gradient(180deg, #030807 0%, #07100e 46%, #020504 100%);
}

body[data-page="app"]::before {
    background:
        linear-gradient(rgba(72, 214, 200, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(127, 198, 164, 0.045) 1px, transparent 1px),
        linear-gradient(135deg, rgba(72, 214, 200, 0.07), transparent 55%);
    opacity: 0.24;
}

body[data-page="app"]::after {
    background:
        radial-gradient(circle at 34% 32%, rgba(72, 214, 200, 0.18), transparent 26%),
        radial-gradient(circle at 62% 42%, rgba(127, 198, 164, 0.13), transparent 28%),
        radial-gradient(circle at 56% 70%, rgba(214, 168, 79, 0.08), transparent 20%);
    opacity: 0.74;
}

body[data-page="app"] .research-tape {
    opacity: 0.12;
}

body[data-page="app"] .research-tape__column span {
    color: rgba(141, 230, 218, 0.7);
    border-left-color: rgba(72, 214, 200, 0.22);
    background: rgba(3, 10, 9, 0.34);
}

body[data-page="app"] .topbar,
body[data-page="app"] .dashboard--priority,
body[data-page="app"] .panel,
body[data-page="app"] .market-link-panel,
body[data-page="app"] .trader-link-panel,
body[data-page="app"] .account-panel,
body[data-page="app"] .history-panel,
body[data-page="app"] .app-market-pulse {
    border-color: var(--app-line);
    background:
        radial-gradient(circle at top left, rgba(72, 214, 200, 0.07), transparent 30%),
        radial-gradient(circle at bottom right, rgba(127, 198, 164, 0.045), transparent 30%),
        linear-gradient(180deg, rgba(5, 14, 13, 0.76), rgba(2, 6, 5, 0.68));
    box-shadow:
        0 24px 72px rgba(0, 0, 0, 0.38),
        inset 0 1px 0 rgba(170, 255, 239, 0.045);
}

body[data-page="app"] .dashboard--priority::before {
    opacity: 0.28;
    background:
        radial-gradient(circle at 12% 18%, rgba(141, 230, 218, 0.44) 0 2px, transparent 5px),
        radial-gradient(circle at 26% 42%, rgba(127, 198, 164, 0.34) 0 2px, transparent 5px),
        radial-gradient(circle at 52% 22%, rgba(72, 214, 200, 0.36) 0 2px, transparent 5px),
        radial-gradient(circle at 76% 46%, rgba(127, 198, 164, 0.38) 0 2px, transparent 5px),
        linear-gradient(18deg, transparent 11%, rgba(72, 214, 200, 0.16) 11.2%, transparent 11.8%),
        linear-gradient(146deg, transparent 24%, rgba(127, 198, 164, 0.12) 24.2%, transparent 24.8%);
}

body[data-page="app"] .dashboard--priority::after {
    content: "[market] url parser ready  //  [preview] odds + liquidity  //  [risk] preflight scan  //  [trader] context optional";
    color: rgba(141, 230, 218, 0.16);
}

body[data-page="app"] .brand__text strong {
    background: linear-gradient(90deg, #edf8f4 0%, #8de6da 52%, #d6a84f 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

body[data-page="app"] .brand__mark {
    border-color: rgba(72, 214, 200, 0.18);
    background:
        radial-gradient(circle at 30% 30%, rgba(72, 214, 200, 0.24), transparent 34%),
        radial-gradient(circle at 74% 70%, rgba(214, 168, 79, 0.14), transparent 28%),
        linear-gradient(180deg, rgba(5, 14, 13, 0.98), rgba(2, 6, 5, 0.98));
}

body[data-page="app"] .eyebrow {
    color: var(--app-teal-soft);
}

body[data-page="app"] .button--secondary {
    color: var(--app-teal-soft);
    border-color: rgba(72, 214, 200, 0.22);
    background: linear-gradient(135deg, rgba(33, 101, 88, 0.46), rgba(6, 17, 15, 0.88));
}

body[data-page="app"] .button--ghost,
body[data-page="app"] .chip--ghost {
    border-color: rgba(72, 214, 200, 0.13);
    background: linear-gradient(135deg, rgba(72, 214, 200, 0.08), rgba(255, 255, 255, 0.02));
}

.account-strip {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 10px;
}

.account-strip__item {
    min-height: 78px;
    padding: 14px 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(72, 214, 200, 0.15);
    background:
        linear-gradient(180deg, rgba(170, 255, 239, 0.045), rgba(170, 255, 239, 0.015)),
        rgba(3, 10, 9, 0.42);
}

.account-strip__item span,
.analysis-skeleton span,
.market-preview__empty span,
.market-preview__stats span,
.history-item span {
    display: block;
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-strip__item strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.2;
}

.account-strip__item small,
.history-item small {
    display: block;
    margin-top: 6px;
    color: var(--muted);
    line-height: 1.4;
}

.account-page {
    min-height: calc(100vh - 118px);
    align-content: start;
}

.account-settings-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 16px;
    align-items: start;
}

.account-settings-panel {
    padding: 22px;
    border-color: rgba(72, 214, 200, 0.14);
    background:
        radial-gradient(circle at top right, rgba(72, 214, 200, 0.09), transparent 32%),
        linear-gradient(180deg, rgba(14, 22, 30, 0.72), rgba(6, 9, 13, 0.66));
}

.account-referral-panel {
    grid-column: 1 / -1;
}

.account-subscription-panel {
    grid-column: 1 / -1;
}

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

.subscription-summary > div {
    min-height: 94px;
    padding: 16px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(72, 214, 200, 0.13);
    background:
        linear-gradient(180deg, rgba(170, 255, 239, 0.04), rgba(170, 255, 239, 0.014)),
        rgba(2, 8, 7, 0.44);
}

.subscription-summary span {
    display: block;
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.subscription-summary strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.05rem;
    line-height: 1.25;
}

.subscription-summary small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.45;
}

.account-form-status {
    min-height: 22px;
    margin: 12px 0 0;
    color: var(--accent-2);
}

.account-panel-actions {
    margin-top: 16px;
}

.admin-page {
    min-height: calc(100vh - 118px);
    align-content: start;
}

.admin-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}

.admin-panel {
    padding: 22px;
    border-color: rgba(72, 214, 200, 0.14);
    background:
        radial-gradient(circle at top right, rgba(72, 214, 200, 0.08), transparent 32%),
        linear-gradient(180deg, rgba(14, 22, 30, 0.72), rgba(6, 9, 13, 0.66));
}

.admin-metric-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.admin-metric {
    min-height: 92px;
    padding: 14px;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(72, 214, 200, 0.13);
    background:
        linear-gradient(180deg, rgba(170, 255, 239, 0.04), rgba(170, 255, 239, 0.014)),
        rgba(2, 8, 7, 0.44);
}

.admin-metric span,
.admin-table th {
    color: var(--soft);
    font-family: var(--font-meta);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.admin-metric strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.25;
}

.admin-metric small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    line-height: 1.45;
}

.admin-table {
    overflow-x: auto;
}

.admin-table table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}

.admin-table th,
.admin-table td {
    padding: 12px 10px;
    border-bottom: 1px solid rgba(72, 214, 200, 0.11);
    text-align: left;
    vertical-align: top;
}

.admin-table td {
    color: var(--muted);
    font-size: 0.86rem;
    line-height: 1.45;
}

body[data-page="account"] {
    --app-teal: #48d6c8;
    --app-teal-soft: #8de6da;
}

body[data-page="admin"] {
    --app-teal: #48d6c8;
    --app-teal-soft: #8de6da;
}

body[data-page="account"] .dashboard--priority {
    border-color: rgba(72, 214, 200, 0.14);
    background:
        radial-gradient(circle at 22% 12%, rgba(72, 214, 200, 0.12), transparent 24%),
        radial-gradient(circle at 82% 20%, rgba(214, 168, 79, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(9, 18, 22, 0.94), rgba(5, 8, 12, 0.96));
}

body[data-page="admin"] .dashboard--priority {
    border-color: rgba(72, 214, 200, 0.14);
    background:
        radial-gradient(circle at 22% 12%, rgba(72, 214, 200, 0.12), transparent 24%),
        radial-gradient(circle at 82% 20%, rgba(214, 168, 79, 0.12), transparent 22%),
        linear-gradient(180deg, rgba(9, 18, 22, 0.94), rgba(5, 8, 12, 0.96));
}

body[data-page="account"] .identity-card {
    border-color: rgba(72, 214, 200, 0.13);
    background:
        linear-gradient(180deg, rgba(170, 255, 239, 0.04), rgba(170, 255, 239, 0.014)),
        rgba(2, 8, 7, 0.48);
}

body[data-page="admin"] .identity-card {
    border-color: rgba(72, 214, 200, 0.13);
    background:
        linear-gradient(180deg, rgba(170, 255, 239, 0.04), rgba(170, 255, 239, 0.014)),
        rgba(2, 8, 7, 0.48);
}

body[data-page="account"] .button--secondary {
    color: var(--app-teal-soft);
    border-color: rgba(72, 214, 200, 0.22);
    background: linear-gradient(135deg, rgba(33, 101, 88, 0.46), rgba(6, 17, 15, 0.88));
}

body[data-page="admin"] .button--secondary {
    color: var(--app-teal-soft);
    border-color: rgba(72, 214, 200, 0.22);
    background: linear-gradient(135deg, rgba(33, 101, 88, 0.46), rgba(6, 17, 15, 0.88));
}

body[data-page="account"] .button--ghost,
body[data-page="account"] .chip--ghost,
body[data-page="admin"] .button--ghost,
body[data-page="admin"] .chip--ghost {
    border-color: rgba(72, 214, 200, 0.13);
    background: linear-gradient(135deg, rgba(72, 214, 200, 0.08), rgba(255, 255, 255, 0.02));
}

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

.analysis-mode label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 10px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(72, 214, 200, 0.12);
    background: rgba(255, 255, 255, 0.025);
    color: var(--muted);
    cursor: pointer;
    font-family: var(--font-meta);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.analysis-mode input {
    width: 12px;
    height: 12px;
    margin: 0;
    accent-color: var(--app-teal);
}

.analysis-mode label:has(input:checked) {
    border-color: var(--app-line-strong);
    color: var(--text);
    background:
        linear-gradient(135deg, rgba(72, 214, 200, 0.16), rgba(214, 168, 79, 0.05)),
        rgba(2, 8, 7, 0.62);
}

.market-link-status {
    margin: 0;
    color: var(--muted);
    font-size: 0.84rem;
    line-height: 1.5;
}

.market-link-status[data-state="ready"] {
    color: var(--app-teal-soft);
}

.market-link-status[data-state="pending"] {
    color: var(--accent);
}

.market-link-status[data-state="error"] {
    color: var(--danger);
}

.market-preview {
    min-height: 122px;
}

.market-preview__empty,
.market-preview__card,
.analysis-skeleton,
.history-item {
    border-radius: var(--radius-md);
    border: 1px solid rgba(72, 214, 200, 0.13);
    background:
        linear-gradient(180deg, rgba(170, 255, 239, 0.038), rgba(170, 255, 239, 0.014)),
        rgba(2, 8, 7, 0.46);
}

.market-preview__empty {
    display: grid;
    gap: 8px;
    padding: 18px;
}

.market-preview__empty strong {
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.5;
}

.market-preview__empty--error {
    border-color: rgba(226, 118, 111, 0.24);
}

.market-preview__card {
    display: grid;
    gap: 16px;
    padding: 18px;
}

.market-preview__heading {
    display: grid;
    gap: 10px;
}

.market-preview__heading h3 {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 1.08rem;
    line-height: 1.35;
}

.market-preview__stats,
.analysis-skeleton {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.analysis-skeleton {
    padding: 12px;
}

.market-preview__stats div,
.analysis-skeleton div {
    min-height: 72px;
    padding: 12px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.045);
}

.market-preview__stats strong,
.analysis-skeleton strong {
    display: block;
    margin-top: 8px;
    color: var(--text);
    font-family: var(--font-heading);
    font-size: 0.98rem;
    line-height: 1.25;
}

.history-panel {
    padding: 22px;
}

.analysis-history {
    display: grid;
    gap: 10px;
}

.history-item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
}

.history-item strong {
    display: block;
    margin-top: 6px;
    color: var(--text);
    font-size: 0.92rem;
    line-height: 1.35;
}

.history-item .chip {
    min-height: 34px;
    padding: 0 10px;
    font-size: 0.66rem;
}

body[data-page="app"] .market-card,
body[data-page="app"] .market-placeholder,
body[data-page="app"] .tracked-item,
body[data-page="app"] .analysis-card,
body[data-page="app"] .identity-card {
    border-color: rgba(72, 214, 200, 0.13);
    background:
        linear-gradient(180deg, rgba(170, 255, 239, 0.04), rgba(170, 255, 239, 0.014)),
        rgba(2, 8, 7, 0.48);
}

body[data-page="auth"] {
    min-height: 100vh;
    overflow: hidden;
}

body[data-page="auth"] .research-tape {
    opacity: 0.12;
}

.auth-shell {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    width: 100vw;
    margin: 0;
}

.auth-split {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    background: rgba(7, 8, 6, 0.72);
}

.auth-split__left {
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100vh;
    padding: clamp(24px, 5vw, 72px);
    z-index: 2;
    background:
        radial-gradient(circle at 18% 20%, rgba(214, 168, 79, 0.12), transparent 28%),
        radial-gradient(circle at 86% 18%, rgba(154, 179, 122, 0.12), transparent 24%),
        radial-gradient(circle at 24% 92%, rgba(213, 125, 82, 0.12), transparent 30%),
        linear-gradient(145deg, rgba(18, 18, 13, 0.68), rgba(5, 6, 4, 0.86));
}

.auth-split__left::before,
.auth-split__left::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.auth-split__left::before {
    opacity: 0.26;
    background-image:
        radial-gradient(rgba(232, 206, 148, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(214, 168, 79, 0.05) 1px, transparent 1px),
        linear-gradient(rgba(154, 179, 122, 0.04) 1px, transparent 1px);
    background-size: 10px 10px, 52px 52px, 52px 52px;
    mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.95), transparent 92%);
}

.auth-split__left::after {
    background:
        linear-gradient(115deg, transparent 0%, rgba(214, 168, 79, 0.06) 44%, transparent 70%),
        radial-gradient(circle at 54% 46%, rgba(154, 179, 122, 0.1), transparent 32%);
    mix-blend-mode: screen;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: min(320px, calc(100vw - 40px));
    padding: 18px 18px 16px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(232, 206, 148, 0.14);
    background:
        radial-gradient(circle at top right, rgba(214, 168, 79, 0.08), transparent 34%),
        linear-gradient(180deg, rgba(17, 18, 13, 0.78), rgba(7, 8, 6, 0.68));
    box-shadow:
        0 28px 70px rgba(0, 0, 0, 0.42),
        inset 0 1px 0 rgba(255, 244, 212, 0.06);
    backdrop-filter: blur(22px) saturate(122%);
    -webkit-backdrop-filter: blur(22px) saturate(122%);
}

.auth-card__brand {
    display: grid;
    justify-items: center;
    gap: 5px;
    margin-bottom: 14px;
    text-align: center;
}

.auth-card__mark {
    position: relative;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.12);
    background:
        radial-gradient(circle at 30% 30%, rgba(154, 179, 122, 0.22), transparent 34%),
        radial-gradient(circle at 74% 70%, rgba(214, 168, 79, 0.2), transparent 28%),
        linear-gradient(180deg, rgba(10, 13, 21, 0.98), rgba(5, 8, 15, 0.98));
    box-shadow:
        inset 0 0 0 1px rgba(214, 168, 79, 0.12),
        0 0 28px rgba(154, 179, 122, 0.12);
}

.auth-card__mark::before {
    content: "Q";
    font-family: var(--font-display);
    font-size: 2.6rem;
    line-height: 1;
    color: var(--text);
    text-shadow:
        0 0 10px rgba(214, 168, 79, 0.42),
        0 0 20px rgba(154, 179, 122, 0.2);
}

.auth-card__brand strong {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #f7f0df 0%, #e2c77f 52%, #b7c58b 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.auth-card__brand small {
    color: var(--muted);
    font-family: var(--font-meta);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.auth-card .auth-mode-switch {
    min-height: 34px;
    gap: 5px;
    padding: 5px;
    margin-bottom: 8px;
}

.auth-card .auth-mode-switch button {
    min-height: 30px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
}

.auth-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 34px;
    margin-bottom: 8px;
    padding: 0 12px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(232, 206, 148, 0.12);
    background: rgba(5, 6, 4, 0.5);
    color: var(--text);
    font-family: var(--font-meta);
    font-size: 0.66rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.google-button-shell {
    width: 100%;
    min-height: 42px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.google-button-shell > div {
    width: 100%;
    display: flex;
    justify-content: center;
}

.google-fallback-button {
    width: 100%;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 4px;
    border: 1px solid rgba(232, 206, 148, 0.18);
    background: #ffffff;
    color: #1f1f1f;
    font: 600 0.78rem/1.2 Arial, sans-serif;
    cursor: pointer;
}

.google-fallback-button span {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #4285f4;
    font-weight: 800;
}

.auth-card .auth-form {
    gap: 7px;
}

.auth-card .auth-field-group {
    gap: 4px;
}

.auth-card .auth-field-group label {
    color: var(--soft);
    font-size: 0.66rem;
}

.auth-card .auth-form input:not([type="checkbox"]) {
    min-height: 38px;
    padding: 9px 10px;
    border-color: rgba(232, 206, 148, 0.12);
    background: rgba(5, 6, 4, 0.56);
    font-size: 0.78rem;
}

.auth-card .button {
    width: 100%;
    min-height: 36px;
    padding: 0 14px;
    margin-top: 2px;
    font-size: 0.68rem;
    letter-spacing: 0.1em;
}

.auth-card__terms,
.auth-card__status {
    margin: 8px 0 0;
    color: rgba(200, 189, 171, 0.78);
    font-size: 0.62rem;
    line-height: 1.55;
    text-align: center;
}

.auth-card__status {
    min-height: 0;
    color: var(--accent-2);
}

.auth-split__visual {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    min-height: 100vh;
    background:
        radial-gradient(circle at 18% 18%, rgba(214, 168, 79, 0.16), transparent 24%),
        radial-gradient(circle at 78% 24%, rgba(154, 179, 122, 0.14), transparent 24%),
        radial-gradient(circle at 66% 72%, rgba(213, 125, 82, 0.08), transparent 28%),
        linear-gradient(90deg, rgba(7, 8, 6, 0.9), rgba(13, 16, 12, 0.78)),
        #050604;
}

.auth-split__visual::before,
.auth-split__visual::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.auth-split__visual::before {
    background:
        radial-gradient(circle at 20% 28%, rgba(247, 228, 177, 0.38) 0 2px, transparent 5px),
        radial-gradient(circle at 48% 20%, rgba(154, 179, 122, 0.42) 0 2px, transparent 5px),
        radial-gradient(circle at 78% 42%, rgba(214, 168, 79, 0.34) 0 2px, transparent 5px),
        radial-gradient(circle at 35% 70%, rgba(154, 179, 122, 0.34) 0 2px, transparent 5px),
        linear-gradient(24deg, transparent 18%, rgba(214, 168, 79, 0.16) 18.2%, transparent 18.8%),
        linear-gradient(142deg, transparent 34%, rgba(154, 179, 122, 0.14) 34.2%, transparent 34.8%),
        linear-gradient(31deg, transparent 54%, rgba(214, 168, 79, 0.12) 54.2%, transparent 54.8%),
        linear-gradient(90deg, rgba(7, 8, 6, 0.42), transparent 26%);
    background-size:
        100% 100%,
        100% 100%,
        100% 100%,
        100% 100%,
        660px 360px,
        560px 420px,
        720px 440px,
        100% 100%;
    mask-image: radial-gradient(circle at 52% 45%, rgba(0, 0, 0, 0.9), transparent 76%);
}

.auth-split__visual::after {
    opacity: 0.16;
    background: repeating-linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.08) 0,
        rgba(255, 255, 255, 0.08) 1px,
        transparent 1px,
        transparent 7px
    );
}

.auth-split__hud {
    position: absolute;
    right: 28px;
    bottom: 24px;
    z-index: 1;
    display: grid;
    gap: 6px;
    color: var(--text);
    text-align: right;
}

.auth-split__hud span {
    color: var(--accent-2);
    font-family: var(--font-meta);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.auth-split__hud strong {
    font-family: var(--font-heading);
    font-size: 1rem;
    line-height: 1.2;
}

.hidden {
    display: none !important;
}

[hidden] {
    display: none !important;
}

@keyframes driftLeft {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(34px, 22px, 0) scale(1.08);
    }
}

@keyframes driftRight {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
    }
    50% {
        transform: translate3d(-28px, 26px, 0) scale(1.06);
    }
}

@keyframes floatBlob {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1) rotate(0deg);
    }
    50% {
        transform: translate3d(42px, -24px, 0) scale(1.1) rotate(16deg);
    }
}

@keyframes haloSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.08);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}

@keyframes orbitPulse {
    0%, 100% {
        transform: scale(1) translate3d(0, 0, 0) rotate(0deg);
        opacity: 0.68;
    }
    50% {
        transform: scale(1.08) translate3d(-28px, 18px, 0) rotate(12deg);
        opacity: 1;
    }
}

@keyframes gridFloat {
    0% {
        background-position: 0 0, 0 0;
    }
    100% {
        background-position: 0 -60px, 60px 0;
    }
}

@keyframes neuronPulse {
    0%, 100% {
        transform: scale(0.92);
        opacity: 0.62;
    }
    45% {
        transform: scale(1.24);
        opacity: 1;
    }
}

@keyframes neuronRing {
    0% {
        transform: scale(0.42);
        opacity: 0;
    }
    22% {
        opacity: 0.65;
    }
    100% {
        transform: scale(1.28);
        opacity: 0;
    }
}

@keyframes synapseSignal {
    0%, 100% {
        opacity: 0.18;
        filter: blur(0);
    }
    48% {
        opacity: 0.52;
        filter: blur(0.3px);
    }
}

@keyframes synapseSpark {
    0% {
        transform: translateX(-16%);
        opacity: 0;
    }
    16% {
        opacity: 0.84;
    }
    82% {
        opacity: 0.62;
    }
    100% {
        transform: translateX(calc(28vw - 20px));
        opacity: 0;
    }
}

@keyframes researchDrift {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-160px);
    }
}

@keyframes brainMapDrift {
    0%, 100% {
        transform: translate3d(0, 0, 0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translate3d(-18px, 10px, 0) scale(1.04);
        opacity: 0.48;
    }
}

@keyframes researchBlink {
    0%, 100% {
        opacity: 0.52;
    }
    50% {
        opacity: 0.92;
    }
}

@keyframes buttonGlow {
    0%, 100% {
        background-position: 0% 50%;
        box-shadow: 0 18px 42px rgba(214, 168, 79, 0.22);
    }
    50% {
        background-position: 100% 50%;
        box-shadow: 0 22px 52px rgba(214, 168, 79, 0.32);
    }
}

@keyframes buttonBob {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-1px);
    }
}

@keyframes buttonSweep {
    0% {
        transform: translateX(-145%) skewX(-20deg);
    }
    42%,
    100% {
        transform: translateX(145%) skewX(-20deg);
    }
}

@keyframes noiseShift {
    0% {
        transform: translate3d(0, 0, 0);
    }
    25% {
        transform: translate3d(6px, -5px, 0);
    }
    50% {
        transform: translate3d(-4px, 5px, 0);
    }
    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes scanDrift {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(6px);
    }
}

@keyframes beamSweep {
    0%, 100% {
        transform: translate3d(-3%, 0, 0) rotate(-6deg);
        opacity: 0.26;
    }
    50% {
        transform: translate3d(4%, 4%, 0) rotate(-3deg);
        opacity: 0.58;
    }
}

@keyframes heroPulse {
    0%, 100% {
        text-shadow:
            0 0 2px rgba(255, 255, 255, 0.86),
            0 0 24px rgba(214, 168, 79, 0.18),
            0 0 54px rgba(154, 179, 122, 0.1);
    }
    50% {
        text-shadow:
            0 0 3px rgba(255, 255, 255, 0.94),
            0 0 30px rgba(214, 168, 79, 0.24),
            0 0 72px rgba(154, 179, 122, 0.14);
    }
}

@keyframes statusPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.82;
    }
    50% {
        transform: scale(1.3);
        opacity: 1;
    }
}

@keyframes progressShift {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 100% 50%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition-duration: 0ms !important;
        scroll-behavior: auto !important;
    }
}

@media (max-width: 1080px) {
    .topbar {
        grid-template-columns: 1fr;
    }

    .brand,
    .topbar__nav,
    .topbar__actions {
        justify-self: center;
    }

    .topbar__nav,
    .topbar__actions {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 1180px) {
    .dashboard__grid--priority,
    .app-command-grid,
    .auth-page__grid,
    .about-layout,
    .about-grid,
    .news-grid,
    .workspace-tabs,
    .account-settings-grid,
    .admin-grid,
    .subscription-summary,
    .hero,
    .hero__media-stack,
    .grid--secondary,
    .market-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

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

    .app-command-grid {
        grid-template-columns: 1fr;
    }

    .account-strip,
    .subscription-summary,
    .market-preview__stats,
    .analysis-skeleton {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .bot-matrix {
        grid-template-columns: 1fr 1fr;
    }

    .pricing-card__header,
    .pricing-card__price-row,
    .pricing-card__stats {
        grid-template-columns: 1fr;
    }

    .pricing-card__badge {
        justify-self: start;
    }

    .auth-card {
        order: -1;
    }
}

@media (max-width: 820px) {
    body[data-page="auth"] {
        overflow: auto;
    }

    .auth-split {
        grid-template-columns: 1fr;
    }

    .auth-split__left {
        min-height: 62vh;
        padding: 24px;
    }

    .auth-split__visual,
    .auth-split__visual::before {
        min-height: 38vh;
    }

    .auth-split__visual {
        order: 2;
    }

    .auth-card {
        width: min(320px, calc(100vw - 32px));
    }

    .topbar,
    .page {
        width: min(100vw - 20px, 100%);
    }

    .topbar {
        margin-top: 10px;
        padding: 14px;
        flex-direction: column;
        align-items: stretch;
    }

    .topbar__nav,
    .topbar__actions {
        width: 100%;
        justify-content: space-between;
    }

    body[data-page="app"] .topbar__actions {
        flex-direction: row;
    }

    body[data-page="app"] .topbar__actions .chip {
        flex: 1 1 0;
        min-width: 0;
    }

    .topbar__nav {
        margin-left: 0;
        flex-wrap: wrap;
    }

    .topbar__tab {
        flex: 1 1 0;
    }

    .dashboard--priority,
    .analysis-panel,
    .tracking-panel,
    .referral-panel,
    .auth-panel,
    .auth-card,
    .auth-brief,
    .about-panel,
    .market-panel,
    .news-panel,
    .pricing-panel,
    .research-panel,
    .bot-panel,
    .hero {
        padding: 20px;
    }

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

    .identity-card {
        min-width: 0;
    }

    .dashboard__cards,
    .analysis-card__stats,
    .account-strip,
    .account-settings-grid,
    .admin-grid,
    .admin-metric-list,
    .subscription-summary,
    .account-choice-grid,
    .auth-brief__metrics,
    .market-grid,
    .pricing-grid,
    .grid--secondary {
        grid-template-columns: 1fr;
    }

    .app-workspace {
        min-height: auto;
        gap: 16px;
    }

    .app-workspace__intro h1 {
        font-size: 2rem;
        line-height: 1.08;
    }

    .app-workspace__intro p {
        font-size: 0.9rem;
        line-height: 1.55;
    }

    .app-workspace__headline .identity-card {
        display: none;
    }

    .market-link-panel {
        min-height: 0;
        gap: 14px;
    }

    .market-link-panel__header h2 {
        font-size: 1.45rem;
    }

    .market-link-panel__header .muted {
        display: none;
    }

    .input-window {
        padding: 12px;
    }

    .analysis-mode,
    .market-preview__stats,
    .analysis-skeleton {
        grid-template-columns: 1fr;
    }

    .history-item {
        grid-template-columns: 1fr;
        align-items: stretch;
    }

    .url-control {
        grid-template-columns: 1fr;
    }

    .url-control .button {
        width: 100%;
        min-width: 0;
    }

    .tracked-item__row,
    .referral-shell,
    .auth-form__meta,
    .project-links__inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: center;
    }

    .project-link + .project-link::after {
        display: none;
    }

    .hero__console-head,
    .research-feed__top,
    .topbar__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .pricing-card__header {
        grid-template-columns: 1fr;
    }

    .pricing-card__index {
        max-width: 56px;
    }

    .research-step {
        grid-template-columns: 1fr;
    }

    .bot-matrix {
        grid-template-columns: 1fr;
    }

    .dashboard__intro h1 {
        font-size: clamp(2.6rem, 15vw, 4.4rem);
    }

    .app-workspace__intro h1 {
        font-size: 2rem;
    }

    .auth-page__intro h1 {
        font-size: 3.1rem;
    }
}
