.trade-tool-page {
    min-height: 100vh;
    background:
        radial-gradient(circle at 12% 8%, rgba(37, 99, 235, 0.12), transparent 30%),
        radial-gradient(circle at 90% 18%, rgba(16, 185, 129, 0.12), transparent 27%),
        linear-gradient(180deg, #f8fbff 0%, #ffffff 50%, #eefdf8 100%);
    color: var(--text);
}

.trade-status {
    border-bottom: 1px solid var(--line);
    background: rgba(248, 251, 255, 0.92);
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.trade-status .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    min-height: 42px;
    overflow: hidden;
}

.trade-status-track {
    display: flex;
    align-items: center;
    gap: 20px;
    white-space: nowrap;
}

.trade-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: var(--emerald, #059669);
    box-shadow: 0 0 0 6px rgba(16, 163, 127, 0.1);
}

.trade-status a {
    color: var(--blue-600, #2563eb);
    text-decoration: none;
    white-space: nowrap;
}

.trade-shell {
    padding: 54px 0 42px;
}

.trade-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
    gap: 28px;
    align-items: stretch;
}

.trade-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    padding: 8px 14px;
    color: var(--blue-600, #2563eb);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.trade-kicker span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 999px;
    background: var(--blue-600, #2563eb);
    color: #fff;
}

.trade-hero h1 {
    max-width: 940px;
    margin: 22px 0 16px;
    color: var(--text);
    font-size: clamp(42px, 5.7vw, 74px);
    line-height: 0.98;
    letter-spacing: 0;
}

.trade-hero p {
    max-width: 780px;
    margin: 0;
    color: #475569;
    font-size: 18px;
    line-height: 1.75;
}

.trade-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.trade-primary,
.trade-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 14px;
    padding: 0 20px;
    font-weight: 950;
    text-decoration: none;
    cursor: pointer;
}

.trade-primary {
    border: 0;
    background: linear-gradient(135deg, var(--blue-600, #2563eb), var(--emerald, #059669));
    color: #fff;
    box-shadow: 0 18px 42px rgba(37, 99, 235, 0.2);
}

.trade-primary:hover {
    color: #fff;
    transform: translateY(-1px);
}

.trade-secondary {
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
}

.trade-hero-panel,
.trade-panel,
.expert-card,
.topic-card,
.trade-empty,
.hsn-search-panel,
.hsn-result-card {
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: var(--shadow);
}

.trade-hero-panel,
.trade-panel,
.hsn-search-panel {
    padding: 24px;
}

.trade-hero-panel h2,
.trade-panel h2 {
    margin: 0 0 18px;
    color: var(--text);
    font-size: 24px;
}

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

.trade-mini-list span {
    display: block;
    border: 1px solid #dbeafe;
    border-radius: 16px;
    background: linear-gradient(135deg, #fff, #f8fbff);
    color: #475569;
    line-height: 1.55;
    padding: 14px;
}

.trade-mini-list strong {
    color: var(--text);
}

.trade-section {
    padding-top: 42px;
}

.trade-section-head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 18px;
}

.trade-section-head span,
.trade-panel > span {
    color: var(--blue-600, #2563eb);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.trade-section-head h2,
.trade-panel h2 {
    margin: 8px 0 0;
    color: var(--text);
    font-size: clamp(30px, 3.7vw, 44px);
    line-height: 1.06;
}

.trade-section-head p {
    max-width: 600px;
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

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

.expert-card,
.topic-card {
    min-height: 230px;
    padding: 20px;
}

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

.expert-card-top b,
.topic-card b {
    display: grid;
    min-width: 48px;
    height: 48px;
    place-items: center;
    border-radius: 15px;
    background: #ecfeff;
    color: #0891b2;
    font-size: 14px;
}

.expert-card-top span {
    border-radius: 999px;
    background: #eff6ff;
    color: var(--blue-600, #2563eb);
    padding: 7px 10px;
    font-size: 12px;
    font-weight: 900;
}

.expert-card h3,
.topic-card h3 {
    margin: 18px 0 10px;
    color: var(--text);
    font-size: 22px;
}

.expert-card p,
.topic-card p,
.expert-card small {
    color: #475569;
    line-height: 1.65;
}

.expert-card p,
.topic-card p {
    margin: 0 0 10px;
}

.expert-card .expert-skill {
    color: var(--text);
    font-weight: 900;
}

.trade-empty {
    padding: 28px;
}

.trade-empty strong,
.trade-empty span {
    display: block;
}

.trade-empty span {
    margin-top: 8px;
    color: var(--muted);
}

.trade-two-column {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
    gap: 18px;
    padding-top: 42px;
}

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

.trade-form label {
    color: #334155;
    font-size: 13px;
    font-weight: 900;
}

.trade-form label:has(textarea),
.trade-form button,
.trade-form .notice {
    grid-column: 1 / -1;
}

.trade-form input,
.trade-form textarea,
.hsn-search-form input {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    color: var(--text);
    padding: 14px 15px;
    font: inherit;
    margin-top: 7px;
}

.trade-form textarea {
    min-height: 110px;
    resize: vertical;
}

.notice {
    border-radius: 16px;
    margin-bottom: 18px;
    padding: 14px 16px;
    font-weight: 850;
}

.notice.success {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #047857;
}

.notice.danger {
    border: 1px solid #fecaca;
    background: #fef2f2;
    color: #991b1b;
}

.notice.info {
    border: 1px solid #bfdbfe;
    background: #eff6ff;
    color: #1d4ed8;
}

.inline-link {
    color: var(--blue-600, #2563eb);
    font-weight: 950;
}

.hsn-hero-panel {
    align-self: center;
}

.hsn-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
}

.hsn-search-form input {
    margin-top: 0;
}

.hsn-quick-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

.hsn-quick-options form {
    margin: 0;
}

.hsn-quick-options button,
.hsn-quick-options a {
    border: 1px solid #dbeafe;
    border-radius: 999px;
    background: #f8fbff;
    color: #334155;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 850;
    text-decoration: none;
    cursor: pointer;
}

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

.hsn-result-card {
    padding: 18px;
}

.hsn-result-card strong {
    display: inline-flex;
    border-radius: 999px;
    background: #ecfeff;
    color: #0891b2;
    padding: 8px 12px;
    font-weight: 950;
}

.hsn-result-card h3 {
    margin: 14px 0 10px;
    color: var(--text);
    font-size: 18px;
    line-height: 1.35;
}

.hsn-result-card p,
.hsn-result-card small {
    color: var(--muted);
    line-height: 1.6;
}

.hsn-result-card p {
    margin: 0 0 8px;
}

@media (max-width: 1100px) {
    .trade-hero,
    .trade-two-column {
        grid-template-columns: 1fr;
    }

    .expert-grid,
    .topic-grid,
    .hsn-result-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .trade-status .container,
    .trade-section-head {
        align-items: stretch;
        flex-direction: column;
    }

    .trade-status-track {
        gap: 14px;
        max-width: 100%;
        overflow-x: auto;
        padding-bottom: 4px;
    }

    .trade-shell {
        padding-top: 34px;
    }

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

    .expert-grid,
    .topic-grid,
    .trade-form,
    .hsn-search-form,
    .hsn-result-grid {
        grid-template-columns: 1fr;
    }

    .trade-primary,
    .trade-secondary,
    .hsn-search-form button {
        width: 100%;
    }
}
