/**
 * ============================================
 * SoulOS — The Operating System of Your Soul
 * ============================================
 *
 * @product    SoulOS API
 * @module     Janma Shell Styles
 * @file       janma.css
 * @version    1.3.0
 * @since      2026-05-05
 * @modified   2026-05-11
 *
 * @company    Kohli Media LLP
 * @author     Dr. Sahil Kohli
 * @copyright  2026 Kohli Media LLP. All rights reserved.
 *
 * @website    https://soulmapbysahil.in
 * @api        https://kundli.soulmapbysahil.in
 * @email      care@kohli.tel
 *
 * CONFIDENTIAL — Proprietary Source Code
 * ============================================
 */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600;700&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
    --bg:        #0e1424;
    --bg2:       #111827;
    --bg3:       #1a2238;
    --surface:   #0c1220;
    --border:    #1e2840;
    --border-h:  #2a3a55;
    --gold:      #d9b24a;
    --gold-lt:   #f5e08c;
    --gold-h:    #e8c96a;
    --gold-dim:  rgba(217,178,74,0.08);
    --gold-bdr:  rgba(217,178,74,0.18);
    --text:      #e8e0d0;
    --muted:     #8090a8;
    --font-cin:  'Cinzel', serif;
    --font-cor:  'Cormorant Garamond', Georgia, serif;
    --font-ui:   'Inter', -apple-system, sans-serif;
}

html, body {
    overflow-x: hidden;
    max-width: 100vw;
}

body {
    font-family: var(--font-ui);
    background: var(--bg);
    color: var(--text);
    margin: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

.jn-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 58px; /* Account for fixed nav */
}

.jn-shell-main {
    flex: 1;
    min-width: 0;
    overflow-x: hidden;
}

/* ====== NAVIGATION ====== */
.jn-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 300;
    background: rgba(14,20,36,0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

.jn-nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.25rem;
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.jn-logo {
    display: flex;
    align-items: center;
    gap: 0.25rem; /* Reduced from default to tighten SoulOS Kundli spacing */
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    flex-shrink: 0;
}

.jn-logo-emoji {
    font-size: 1.2rem;
}

.jn-logo-white {
    color: #fff;
}

.jn-logo-gold {
    color: var(--gold);
}

.jn-nav-links {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.jn-nav-link {
    color: #d1d5db;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.4rem 0.75rem;
    border-radius: 6px;
    transition: color 0.15s, background 0.15s;
    white-space: nowrap;
}

.jn-nav-link:hover {
    color: rgba(232,224,208,0.7);
    background: rgba(255,255,255,0.04);
}

.jn-nav-link.active {
    color: var(--gold);
    background: transparent;
}

.jn-nav-btn {
    color: var(--gold);
    background: transparent;
    border: 1px solid rgba(217,178,74,0.35);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 0.85rem;
    border-radius: 6px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    white-space: nowrap;
}

.jn-nav-btn:hover {
    background: var(--gold-dim);
    border-color: rgba(217,178,74,0.6);
    color: var(--gold-lt);
}

.jn-nav-desktop {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    min-width: 0;
    flex-wrap: wrap;
}

.jn-nav-menu-btn {
    display: none;
    width: 32px;
    height: 32px;
    border: none;
    border-radius: 6px;
    background: transparent;
    color: #d1d5db;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    touch-action: manipulation;
    font-size: 1.1rem;
    padding: 0;
    transition: color 0.15s, background 0.15s;
}

.jn-nav-menu-btn:hover {
    color: var(--gold);
    background: var(--gold-dim);
}

.jn-mobile-menu {
    display: none;
    width: 100%;
    overflow-x: hidden;
    padding: 1rem 1.25rem 1rem;
}

.jn-mobile-menu.is-open {
    display: block;
}

.jn-mobile-menu-inner {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 0.85rem;
}

.jn-mobile-link,
.jn-mobile-btn {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    text-align: left;
    text-decoration: none;
    border-radius: 10px;
    padding: 0.8rem 0.95rem;
    font-size: 0.92rem;
    font-weight: 600;
    min-height: 44px;
    touch-action: manipulation;
    transition: background 0.15s;
}

.jn-mobile-link {
    color: #d1d5db;
    background: var(--surface);
    border: 1px solid var(--border);
}

.jn-mobile-link:hover {
    background: var(--bg3);
}

.jn-mobile-link.active {
    color: var(--gold);
    background: var(--gold-dim);
    border-color: var(--gold-bdr);
}

.jn-mobile-btn {
    color: var(--gold);
    background: transparent;
    justify-content: center;
    border: 1px solid rgba(217,178,74,0.35);
}

.jn-mobile-btn:hover {
    background: var(--gold-dim);
    border-color: rgba(217,178,74,0.6);
}

/* ====== FOOTER ====== */
.jn-footer {
    background: rgba(14,20,36,0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding: 2rem 1.25rem;
    text-align: center;
    font-size: 0.8rem;
    color: var(--muted);
    margin-top: 2rem;
}

.jn-footer a {
    color: var(--gold);
    text-decoration: none;
    transition: color 0.15s;
}

.jn-footer a:hover {
    color: var(--gold-lt);
}

/* ====== FORMS & INPUTS ====== */
.jn-input, 
input[type="text"], 
input[type="date"], 
input[type="time"], 
input[type="email"], 
input[type="number"],
input[type="tel"],
textarea, 
select {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem 0.8rem;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    border-radius: 8px;
    background: var(--surface);
    border: 1px solid var(--border);
    color: var(--text);
    transition: border 0.2s, background 0.2s;
    touch-action: manipulation;
    box-sizing: border-box;
}

.jn-input::placeholder, 
input::placeholder {
    color: #6b7280;
}

.jn-input::-webkit-calendar-picker-indicator {
    filter: invert(0.6);
}

.jn-input:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold);
    background: var(--bg2);
    box-shadow: 0 0 0 3px var(--gold-dim);
}

.jn-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

.jn-place-row {
    display: flex;
    gap: 0.65rem;
    align-items: flex-end;
}

.jn-place-row .jn-input {
    flex: 1;
    min-width: 0;
}

.jn-place-row button {
    flex-shrink: 0;
    white-space: nowrap;
}

/* ====== CHART MODAL ====== */
.jn-chart-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(14,20,36,0.9);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    overflow-y: auto;
}

.jn-chart-modal.is-open {
    display: flex;
}

.jn-chart-modal-content {
    background: var(--bg2);
    border-radius: 12px;
    padding: 1.5rem;
    max-width: 90vw;
    max-height: 90vh;
    overflow: auto;
    position: relative;
}

.jn-chart-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: var(--border);
    border: none;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    z-index: 10000;
}

.jn-chart-modal-close:hover {
    background: #253553;
    color: var(--gold);
}

.jn-chart-img {
    max-width: 100%;
    height: auto;
    display: block;
    cursor: pointer;
}

.jn-chart-img:hover {
    opacity: 0.9;
}

/* ====== API SECTION ====== */
.jn-api-section {
    background: var(--bg2);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.jn-api-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.jn-api-header i {
    font-size: 1rem;
}

.jn-api-desc {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.jn-api-buttons {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.jn-api-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.15s;
    display: inline-block;
}

.jn-api-btn-primary {
    background: var(--gold);
    color: #000;
    border-color: var(--gold);
}

.jn-api-btn-primary:hover {
    background: var(--gold-lt);
    border-color: var(--gold-lt);
}

.jn-api-btn-secondary {
    background: transparent;
    color: var(--gold);
    border-color: var(--gold);
}

.jn-api-btn-secondary:hover {
    background: var(--gold-dim);
}

.jn-api-endpoint {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.9rem;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    color: #d1d5db;
    line-height: 1.4;
    word-break: break-all;
    overflow-x: auto;
}

.jn-api-endpoint-label {
    display: block;
    color: #888;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    margin-bottom: 0.4rem;
}

.jn-find-btn, 
.jn-btn, 
button[type="submit"], 
button[type="button"]:not(.jn-nav-menu-btn),
input[type="button"],
input[type="reset"] {
    min-height: 44px;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    border: none;
    transition: background 0.15s, transform 0.1s;
    touch-action: manipulation;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
}

.jn-find-btn:active,
button:active {
    transform: scale(0.98);
}

.jn-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.jn-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: #aaa;
    letter-spacing: 0.02em;
}

.jn-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.jn-geo-status {
    font-size: 0.76rem;
    color: #666;
    margin-top: 0.35rem;
    min-height: 1em;
}

.jn-geo-status.ok {
    color: #34d399;
}

.jn-geo-status.err {
    color: #f87171;
}

.jn-geo-results {
    margin-top: 0.4rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    display: none;
}

.jn-geo-result-item {
    padding: 0.65rem 0.85rem;
    font-size: 0.84rem;
    color: #ccc;
    cursor: pointer;
    border-bottom: 1px solid var(--border);
    transition: background 0.1s;
}

.jn-geo-result-item:last-child {
    border-bottom: none;
}

.jn-geo-result-item:hover {
    background: var(--bg3);
    color: var(--gold);
}

.jn-coords-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-top: 0.5rem;
}

.jn-coord-box {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 0.5rem 0.75rem;
}

.jn-coord-label {
    font-size: 0.68rem;
    color: var(--gold);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.1rem;
}

.jn-coord-val {
    font-size: 0.85rem;
    color: var(--text);
    font-weight: 600;
}

.jn-submit {
    width: 100%;
    background: var(--gold);
    color: #0e1424;
    border: none;
    border-radius: 8px;
    padding: 0.9rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    font-family: var(--font-ui);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: background 0.2s, transform 0.15s;
    margin-top: 1.5rem;
    letter-spacing: 0.3px;
}

.jn-submit:hover {
    background: var(--gold-lt);
    transform: translateY(-1px);
}

.jn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* ====== CHART MODAL / NEW WINDOW ====== */
.jn-chart-link {
    color: var(--gold);
    text-decoration: none;
    cursor: pointer;
    transition: color 0.15s;
}

.jn-chart-link:hover {
    color: var(--gold-lt);
    text-decoration: underline;
}

.jn-chart-svg-box,
.jp-transit svg {
    position: relative;
}

.jn-chart-svg-box svg,
.jp-transit svg {
    cursor: zoom-in;
}

.jn-chart-modal-content svg {
    display: block;
    width: min(92vw, 900px);
    height: auto;
    max-height: 82vh;
    margin: 0 auto;
}

/* ====== RESULT PAGE (SCOPED) ====== */
.jn-wrap.jn-result-page {
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.25rem 4rem;
}

.jn-result-page .jn-result-header {
    background: rgba(14,20,36,0.6);
    border: 1px solid var(--gold-bdr);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    flex-wrap: wrap;
}

.jn-result-page .jn-result-name { font-size: clamp(1.3rem, 3vw, 1.9rem); font-weight: 800; color: #fff; margin: 0 0 0.25rem; }
.jn-result-page .jn-result-meta { color: #666; font-size: 0.88rem; }
.jn-result-page .jn-result-meta span { margin-right: 1rem; }
.jn-result-page .jn-result-meta i { color: var(--gold); margin-right: 0.3rem; }
.jn-result-page .jn-action-row { display: flex; gap: 0.65rem; flex-wrap: wrap; }

.jn-result-page .jn-btn { display: inline-flex; align-items: center; gap: 0.4rem; border-radius: 8px; padding: 0.55rem 1rem; font-size: 0.84rem; font-weight: 700; cursor: pointer; text-decoration: none; border: none; font-family: 'Inter', sans-serif; transition: all 0.15s; white-space: nowrap; }
.jn-result-page .jn-btn-gold { background: var(--gold); color: #000; }
.jn-result-page .jn-btn-gold:hover { background: var(--gold-lt); }
.jn-result-page .jn-btn-ghost { background: transparent; border: 1px solid rgba(217,178,74,0.25); color: rgba(232,224,208,0.7); }
.jn-result-page .jn-btn-ghost:hover { background: var(--gold-dim); border-color: rgba(217,178,74,0.5); color: var(--gold-lt); }
.jn-result-page .jn-btn-wa { background: #1a5c2a; border: 1px solid #1a5c2a; color: #fff; }
.jn-result-page .jn-btn-wa:hover { background: #16a34a; }

.jn-result-page .jn-section { background: rgba(14,20,36,0.6); border: 1px solid var(--gold-bdr); border-radius: 12px; padding: 1.25rem 1.5rem; margin-bottom: 1.25rem; }
.jn-result-page .jn-section-title { font-size: 0.95rem; font-weight: 700; color: #fff; margin: 0 0 1rem; display: flex; align-items: center; gap: 0.5rem; }
.jn-result-page .jn-section-title i { color: var(--gold); }

.jn-result-page .jn-info-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 0.75rem; }
.jn-result-page .jn-info-box { background: var(--bg); border: 1px solid var(--border); border-radius: 10px; padding: 0.75rem 0.9rem; }
.jn-result-page .jn-info-k { font-size: 0.7rem; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 0.2rem; }
.jn-result-page .jn-info-v { font-size: 0.95rem; color: var(--text); font-weight: 600; }

.jn-result-page .jn-table-wrap { overflow-x: auto; border-radius: 10px; border: 1px solid var(--border); }
.jn-result-page .jn-table { width: 100%; border-collapse: collapse; font-size: 0.87rem; min-width: 480px; }
.jn-result-page .jn-table th { background: var(--bg); padding: 0.7rem 0.9rem; text-align: left; font-weight: 600; color: #888; border-bottom: 1px solid var(--border); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.jn-result-page .jn-table td { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--border); color: #ccc; vertical-align: middle; }
.jn-result-page .jn-table tr:last-child td { border-bottom: none; }
.jn-result-page .jn-table tr:hover td { background: var(--gold-dim); }
.jn-result-page .jn-planet-name { font-weight: 700; color: #fff; }

.jn-result-page .jn-badge { display: inline-flex; align-items: center; padding: 0.18rem 0.55rem; border-radius: 999px; font-size: 0.73rem; font-weight: 700; white-space: nowrap; }
.jn-result-page .jn-badge-ok { background: rgba(52,211,153,0.12); color: #34d399; border: 1px solid rgba(52,211,153,0.2); }
.jn-result-page .jn-badge-warn { background: rgba(248,113,113,0.12); color: #f87171; border: 1px solid rgba(248,113,113,0.2); }
.jn-result-page .jn-badge-gold { background: var(--gold-dim); color: var(--gold); border: 1px solid var(--gold-bdr); }
.jn-result-page .jn-badge-blue { background: rgba(96,165,250,0.1); color: #60a5fa; border: 1px solid rgba(96,165,250,0.2); }

.jn-result-page #ds-tree { margin-top: 0.25rem; }
.jn-result-page .ds-row { display: grid; grid-template-columns: minmax(0, 1fr) auto 14px; align-items: center; column-gap: 0.75rem; row-gap: 0.3rem; padding: 0.65rem 0.6rem; border-radius: 6px; cursor: pointer; border-bottom: 1px solid var(--border); transition: background 0.12s; }
.jn-result-page .ds-row:hover { background: var(--bg2); }
.jn-result-page .ds-row:last-of-type { border-bottom: none; }
.jn-result-page .ds-label { display: flex; align-items: center; gap: 0.5rem; min-width: 0; }
.jn-result-page .ds-chain { font-size: 0.88rem; font-weight: 600; color: #d4d4d4; white-space: normal; line-height: 1.35; }
.jn-result-page .ds-dates { font-size: 0.75rem; color: #555; white-space: normal; line-height: 1.45; text-align: right; }
.jn-result-page .ds-chevron { font-size: 1rem; color: #444; width: 14px; text-align: center; }
.jn-result-page .ds-badge { font-size: 0.6rem; font-weight: 700; color: #0a0a0a; background: var(--gold); border-radius: 3px; padding: 0.1rem 0.35rem; letter-spacing: 0.03em; }
.jn-result-page .ds-active > .ds-label > .ds-chain { color: var(--gold); }
.jn-result-page .ds-active { background: var(--gold-dim); border-color: var(--gold-dim) !important; }
.jn-result-page .ds-on-path > .ds-label > .ds-chain { color: #9a8060; }
.jn-result-page .ds-children { padding-left: 1.1rem; border-left: 1px solid var(--border); margin-left: 0.4rem; }

.jn-result-page .jn-dasha-chain { background: var(--gold-dim); border: 1px solid var(--gold-dim); border-radius: 10px; padding: 1rem 1.1rem; margin-bottom: 1.25rem; }
.jn-result-page .jn-dasha-chain-title { font-size: 0.72rem; color: #666; letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 0.75rem; }
.jn-result-page .jn-dasha-level { display: grid; grid-template-columns: 56px minmax(0, 1fr); column-gap: 0.75rem; row-gap: 0.15rem; align-items: start; padding: 0.45rem 0; border-bottom: 1px solid rgba(255,255,255,0.04); }
.jn-result-page .jn-dasha-level:last-child { border-bottom: none; }
.jn-result-page .jn-dasha-level-label { font-size: 0.7rem; color: #555; grid-row: 1 / span 2; align-self: start; }
.jn-result-page .jn-dasha-level-planet { font-weight: 700; font-size: 0.9rem; color: var(--gold); min-width: 0; }
.jn-result-page .jn-dasha-level-dates { font-size: 0.75rem; color: #555; line-height: 1.45; }
.jn-result-page .jn-dasha-balance { font-size: 0.8rem; color: #666; margin-bottom: 1rem; padding-bottom: 0.75rem; border-bottom: 1px solid var(--border); }

.jn-result-page .jn-yoga-item { padding: 0.6rem 0; border-bottom: 1px solid var(--border); font-size: 0.88rem; }
.jn-result-page .jn-yoga-item:last-child { border-bottom: none; }
.jn-result-page .jn-yoga-name { font-weight: 700; color: var(--text); margin-bottom: 0.15rem; }
.jn-result-page .jn-yoga-desc { color: #666; font-size: 0.8rem; }

.jn-result-page .jn-error-card { background: var(--bg2); border: 1px solid #2a1a1a; border-radius: 14px; padding: 2.5rem; text-align: center; margin-top: 2rem; }
.jn-result-page .jn-error-icon { font-size: 2.5rem; color: #f87171; margin-bottom: 1rem; }
.jn-result-page .jn-error-title { font-size: 1.25rem; font-weight: 700; color: #fff; margin-bottom: 0.5rem; }
.jn-result-page .jn-error-msg { color: #888; font-size: 0.9rem; margin-bottom: 1.5rem; }

.jn-result-page .jn-cta-banner { background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%); border: 1px solid var(--gold-bdr); border-radius: 14px; padding: 1.75rem; text-align: center; margin-bottom: 1.25rem; }
.jn-result-page .jn-cta-title { font-size: 1.15rem; font-weight: 700; color: #fff; margin-bottom: 0.4rem; }
.jn-result-page .jn-cta-sub { font-size: 0.88rem; color: #888; margin-bottom: 1.25rem; }
.jn-result-page .jn-cta-btns { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; }

.jn-result-page .soul-rm-sheet { background: var(--bg2) !important; color: var(--text); }
.jn-result-page .jn-modal-title { font-size: 1.1rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.jn-result-page .jn-modal-sub { font-size: 0.85rem; color: #888; margin-bottom: 1.25rem; }
.jn-result-page .jn-m-input { width: 100%; background: var(--bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.75rem 0.9rem; font-size: 0.95rem; color: var(--text); font-family: 'Inter', sans-serif; outline: none; margin-bottom: 0.75rem; }
.jn-result-page .jn-m-input:focus { border-color: var(--gold); box-shadow: 0 0 0 3px var(--gold-dim); }

.jn-result-page .jn-chart-wrap { display: flex; flex-direction: column; align-items: center; gap: 1.25rem; }
.jn-result-page .jn-chart-svg-box { width: 100%; max-width: 800px; border-radius: 10px; overflow: hidden; background: #FEFCE8; box-shadow: 0 4px 32px rgba(0,0,0,0.18), 0 1px 8px rgba(154,111,30,0.12); }
.jn-result-page .jn-chart-svg-box svg { display: block; width: 100%; height: auto; }
.jn-result-page .jn-chart-legend { display: flex; flex-wrap: wrap; gap: 0.4rem 0.85rem; justify-content: center; font-size: 0.78rem; }
.jn-result-page .jn-legend-item { display: flex; align-items: center; gap: 0.3rem; color: var(--muted); }
.jn-result-page .jn-legend-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }

.jn-result-page .jn-wrap,
.jn-result-page form {
    max-width: 100%;
}

@media (max-width: 640px) {
    .jn-result-page .ds-row {
        grid-template-columns: minmax(0, 1fr) 14px;
        align-items: start;
    }

    .jn-result-page .ds-dates {
        grid-column: 1 / 2;
        text-align: left;
    }

    .jn-result-page .ds-chevron {
        grid-column: 2 / 3;
        grid-row: 1 / span 2;
        align-self: center;
    }

    .jn-result-page .jn-result-header {
        flex-direction: column;
    }

    .jn-result-page .jn-action-row {
        width: 100%;
    }

    .jn-result-page .jn-btn {
        flex: 1;
        justify-content: center;
    }

    .jn-result-page .jn-wrap {
        padding: 1.25rem 1rem 3rem;
    }

    .jn-result-page .jn-section {
        padding: 1rem;
    }
}

/* ====== MOBILE RESPONSIVE BREAKPOINT: 768px ====== */
@media (max-width: 768px) {
    .jn-shell {
        padding-top: 52px;
    }

    .jn-nav-desktop {
        display: none !important;
    }

    .jn-nav-menu-btn {
        display: inline-flex;
    }

    .jn-nav-inner {
        min-height: 52px;
        padding: 0 1rem;
    }

    .jn-logo {
        gap: 0.15rem;
    }

    .jn-grid-2 {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .jn-place-row {
        flex-direction: column;
        gap: 0.5rem;
        align-items: stretch;
    }

    .jn-place-row .jn-input {
        width: 100%;
    }

    .jn-place-row .jn-input {
        flex: unset !important;
        margin-bottom: 0.5rem;
    }

    .jn-place-row button {
        width: 100%;
        min-height: 48px;
        flex-shrink: unset;
    }

    .jn-mobile-menu {
        width: 100%;
        max-width: 100%;
        padding: 1rem 0.75rem 1rem;
    }

    .jn-mobile-menu-inner {
        max-width: 100%;
    }

    .jn-api-section {
        padding: 1rem;
    }

    .jn-api-endpoint {
        font-size: 0.75rem;
    }

    .jn-input, 
    input[type="text"], 
    input[type="date"], 
    input[type="time"], 
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    textarea, 
    select {
        font-size: 16px; /* Prevents zoom on iOS input focus */
        min-height: 48px;
        padding: 0.7rem 0.85rem;
    }

    button[type="submit"],
    button[type="button"]:not(.jn-nav-menu-btn),
    input[type="button"],
    input[type="reset"],
    .jn-btn,
    .jn-find-btn {
        width: 100%;
        min-height: 48px;
        font-size: 0.95rem;
        padding: 0.7rem 1rem;
    }

    .jn-shell-main {
        padding: 0 1rem;
    }

    /* Lock container width to prevent horizontal scroll */
    .jn-wrap, 
    .jm-grid, 
    .jn-hero,
    form {
        max-width: 100%;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .jn-mobile-menu {
        padding: 0 1rem 1rem;
    }

    .jn-nav-menu-btn {
        width: 32px !important;
        min-width: 32px !important;
        max-width: 32px !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        flex: 0 0 32px !important;
    }

    .jp-picker-row {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .jp-field,
    .jp-place-wrap,
    .jp-submit-wrap {
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 100% !important;
    }

    .jp-place-row {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .jp-place-row .jp-input,
    #jp-place-display,
    .jp-input {
        width: 100% !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
        min-height: 48px;
        font-size: 16px;
        padding: 0.7rem 0.85rem;
    }

    .jp-find-btn,
    .jp-submit {
        width: 100% !important;
        min-height: 48px;
        height: 48px;
        justify-content: center;
    }

    .jp-submit-wrap {
        padding-top: 0;
    }
}

/* ====== ULTRA-MOBILE RESPONSIVE BREAKPOINT: 480px ====== */
@media (max-width: 480px) {
    .jn-nav-inner {
        padding: 0 0.75rem;
    }

    .jn-logo {
        gap: 0.1rem;
    }

    .jn-logo-emoji {
        font-size: 1rem;
    }

    .jn-logo-white, 
    .jn-logo-gold {
        font-size: 0.85rem;
    }

    .jn-input, 
    input[type="text"], 
    input[type="date"], 
    input[type="time"], 
    input[type="email"],
    input[type="number"],
    input[type="tel"],
    textarea, 
    select {
        padding: 0.65rem 0.75rem;
        font-size: 16px;
    }

    button[type="submit"],
    button[type="button"]:not(.jn-nav-menu-btn),
    input[type="button"],
    input[type="reset"],
    .jn-btn,
    .jn-find-btn {
        padding: 0.65rem 0.9rem;
        font-size: 0.9rem;
    }

    .jp-input,
    #jp-place-display {
        padding: 0.65rem 0.75rem;
    }

    .jn-field {
        margin-bottom: 0.85rem;
    }

    .jn-shell-main {
        padding: 0 0.75rem;
    }
}

/* ── Engine Pill (shared across janma pages) ── */
.jn-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: var(--gold-dim);
    border: 1px solid var(--gold-bdr);
    border-radius: 999px;
    padding: 0.3rem 0.8rem;
    font-size: 0.78rem;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: 0.02em;
    margin-bottom: 1.25rem;
}
.jn-pill-dot {
    width: 0.45rem;
    height: 0.45rem;
    border-radius: 50%;
    background: #16a34a;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0.4; }
}

/* ── Free Kundli Hero + Card ── */
.jn-hero {
    max-width: 680px;
    margin: 0 auto;
    padding: 4rem 1.25rem 2rem;
    text-align: center;
}
.jn-h1 {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 800;
    line-height: 1.12;
    color: #ffffff;
    margin: 0 0 0.9rem;
}
.jn-h1 span { color: var(--gold); }
.jn-sub {
    font-size: 1rem;
    color: #888;
    line-height: 1.7;
    margin: 0 0 2rem;
}
.jn-card {
    max-width: 560px;
    margin: 0 auto 3rem;
    background: rgba(14,20,36,0.6);
    border: 1px solid var(--gold-bdr);
    border-radius: 12px;
    padding: 1.75rem;
    transition: border-color 0.22s;
}
.jn-card:hover {
    border-color: rgba(217,178,74,0.32);
}
.jn-card-title {
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.jn-card-title i { color: var(--gold); }
.jn-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    max-width: 680px;
    margin: 0 auto 3.5rem;
    padding: 0 1.25rem;
}
.jn-feat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    color: #666;
}
.jn-feat-item i { color: var(--gold); font-size: 0.75rem; }

/* ── Language Switcher Bar ── */
.jn-lang-bar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.45rem;
    max-width: 680px;
    margin: 0 auto 1.75rem;
    padding: 0 1.25rem;
}
.jn-lang-pill {
    display: inline-block;
    padding: 0.28rem 0.75rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 500;
    color: #7080a0;
    border: 1px solid var(--border);
    background: transparent;
    text-decoration: none;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    white-space: nowrap;
    line-height: 1.6;
}
.jn-lang-pill:hover {
    color: #ccc;
    border-color: #a0b0c8;
    text-decoration: none;
}
.jn-lang-pill.active {
    color: var(--gold);
    border-color: var(--gold-bdr);
    background: var(--gold-dim);
    font-weight: 600;
}

/* ============================================
   Milan Page — Kundli Milan
   .jm-* namespace (form + results)
   ============================================ */

.jn-wrap { max-width: 860px; margin: 0 auto; padding: 2.5rem 1.25rem 4rem; }

.jn-hero { text-align: center; margin-bottom: 2.5rem; }
.jn-hero h1 { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 800; color: #fff; margin: 0 0 0.5rem; }
.jn-hero h1 span { color: var(--gold); }
.jn-hero p { color: #888; font-size: 0.95rem; margin: 0; }

.jm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-bottom: 1.5rem; }
.jm-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; }
.jm-card-title { font-size: 0.9rem; font-weight: 700; color: #fff; margin: 0 0 1.25rem; display: flex; align-items: center; gap: 0.5rem; }
.jm-card-title i { color: var(--gold); }
.jm-card.boy .jm-card-title i { color: #60a5fa; }
.jm-card.girl .jm-card-title i { color: #f472b6; }
.jm-card.boy .jn-input:focus { border-color: #60a5fa; box-shadow: 0 0 0 3px rgba(96,165,250,0.12); }
.jm-card.girl .jn-input:focus { border-color: #f472b6; box-shadow: 0 0 0 3px rgba(244,114,182,0.12); }
.jm-card.boy .jn-find-btn { color: #60a5fa; }
.jm-card.girl .jn-find-btn { color: #f472b6; }
.jm-card.boy .jn-coord-label { color: #60a5fa; }
.jm-card.girl .jn-coord-label { color: #f472b6; }

.jm-submit-row { text-align: center; }
.jm-submit { display: inline-flex; align-items: center; gap: 0.5rem; background: var(--gold); color: #000; border: none; border-radius: 10px; padding: 0.9rem 2.5rem; font-size: 1rem; font-weight: 700; font-family: 'Inter', sans-serif; cursor: pointer; transition: background 0.15s; }
.jm-submit:hover { background: var(--gold-lt); }
.jm-submit:disabled { opacity: 0.5; cursor: not-allowed; }

.jm-score-banner { background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%); border: 1px solid var(--gold-bdr); border-radius: 16px; padding: 2rem; text-align: center; margin-bottom: 1.5rem; }
.jm-score-num { font-size: 3.5rem; font-weight: 900; color: var(--gold); line-height: 1; }
.jm-score-denom { font-size: 1.5rem; color: #555; font-weight: 400; }
.jm-score-label { font-size: 1rem; font-weight: 700; color: #fff; margin-top: 0.5rem; }
.jm-score-sub { font-size: 0.85rem; color: #888; margin-top: 0.25rem; }
.jm-score-bar { background: var(--border); border-radius: 999px; height: 8px; margin: 1rem auto 0; max-width: 320px; overflow: hidden; }
.jm-score-bar-fill { height: 100%; border-radius: 999px; background: var(--gold); transition: width 0.8s ease; }

.jm-gunas { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; overflow: hidden; margin-bottom: 1.25rem; }
.jm-guna-header { display: grid; grid-template-columns: 2fr 1fr 1fr 3fr; gap: 0.5rem; padding: 0.65rem 1.1rem; background: var(--bg); font-size: 0.72rem; font-weight: 700; color: #666; text-transform: uppercase; letter-spacing: 0.04em; border-bottom: 1px solid var(--border); }
.jm-guna-row { display: grid; grid-template-columns: 2fr 1fr 1fr 3fr; gap: 0.5rem; padding: 0.7rem 1.1rem; border-bottom: 1px solid var(--border); align-items: center; font-size: 0.87rem; }
.jm-guna-row:last-child { border-bottom: none; }
.jm-guna-name { font-weight: 700; color: var(--text); }
.jm-guna-score { font-weight: 800; }
.jm-guna-max { color: #555; }
.jm-guna-detail { font-size: 0.78rem; color: #666; }
.jm-guna-full { color: #34d399; }
.jm-guna-partial { color: var(--gold); }
.jm-guna-zero { color: #f87171; }

.jm-dosha-box { background: var(--bg2); border: 1px solid #2a1a1a; border-radius: 12px; padding: 1rem 1.25rem; margin-bottom: 1.25rem; }
.jm-dosha-title { font-size: 0.8rem; font-weight: 700; color: #f87171; margin: 0 0 0.5rem; display: flex; align-items: center; gap: 0.4rem; }
.jm-dosha-item { font-size: 0.85rem; color: #ccc; padding: 0.2rem 0; }

.jm-verdict { background: var(--bg2); border: 1px solid var(--border); border-radius: 14px; padding: 1.5rem; text-align: center; margin-bottom: 1.25rem; }
.jm-verdict-emoji { font-size: 2rem; margin-bottom: 0.5rem; }
.jm-verdict-text { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 0.25rem; }
.jm-verdict-sub { font-size: 0.85rem; color: #888; }

.jm-names-row { display: flex; justify-content: center; align-items: center; gap: 0.75rem; margin-bottom: 1.5rem; flex-wrap: wrap; }
.jm-person { background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 0.65rem 1.1rem; text-align: center; }
.jm-person-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 0.2rem; }
.jm-person-label.boy { color: #60a5fa; }
.jm-person-label.girl { color: #f472b6; }
.jm-person-name { font-weight: 700; color: #fff; font-size: 0.95rem; }
.jm-person-nak { font-size: 0.78rem; color: #888; }
.jm-vs { font-size: 1.5rem; color: #333; }

.jm-cta { background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%); border: 1px solid var(--gold-bdr); border-radius: 14px; padding: 1.5rem; text-align: center; margin-bottom: 1.25rem; }

@media (max-width: 640px) {
    .jm-grid { grid-template-columns: 1fr; }
    .jm-guna-header, .jm-guna-row { grid-template-columns: 1.5fr 0.7fr 0.7fr; gap: 0.35rem; }
    .jm-guna-detail { display: none; }
    .jm-score-num { font-size: 2.75rem; }
}

/* ============================================
   Graha-Sthiti / Synastry — Milan Page
   .jm-syn-* namespace
   ============================================ */

.jm-syn-wrap { margin-bottom: 1.25rem; }

.jm-syn-section-head { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 1rem; margin-top: 1.75rem; }
.jm-syn-section-head i { color: var(--gold); font-size: 0.9rem; }
.jm-syn-section-head h3 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin: 0; }
.jm-syn-section-head span { font-size: 0.72rem; color: #555; font-weight: 400; text-transform: uppercase; letter-spacing: 0.06em; }

.jm-syn-summary-card { background: var(--bg2); border: 1px solid var(--gold-bdr); border-radius: 14px; padding: 1.25rem 1.4rem; margin-bottom: 1.25rem; }
.jm-syn-summary-card p { margin: 0; font-size: 0.9rem; color: #ccc; line-height: 1.85; }

.jm-syn-dasha-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1.25rem; }
.jm-syn-dasha-card { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; padding: 1.1rem 1.25rem; }
.jm-syn-dasha-who { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--gold); margin-bottom: 0.2rem; }
.jm-syn-dasha-period { font-size: 0.82rem; font-weight: 700; color: var(--text); margin-bottom: 0.65rem; }
.jm-syn-dasha-narrative { font-size: 0.83rem; color: #aaa; line-height: 1.75; margin-bottom: 0.5rem; }
.jm-syn-dasha-natal { font-size: 0.78rem; color: #666; line-height: 1.65; border-top: 1px solid var(--border); padding-top: 0.5rem; margin-top: 0.35rem; }
.jm-syn-dasha-ad { font-size: 0.8rem; color: #6b7280; font-style: italic; margin-top: 0.4rem; line-height: 1.65; }

.jm-syn-tabs { display: flex; gap: 0.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }
.jm-syn-tab { background: var(--bg2); border: 1px solid var(--border); border-radius: 8px; padding: 0.5rem 1rem; font-size: 0.8rem; font-weight: 600; color: #888; cursor: pointer; transition: all 0.15s; font-family: 'Inter', sans-serif; }
.jm-syn-tab.active { background: var(--gold-dim); border-color: var(--gold-bdr); color: var(--gold); }
.jm-syn-tab:hover:not(.active) { border-color: #333; color: #ccc; }

.jm-syn-panel { background: var(--bg2); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.jm-syn-row { padding: 0.85rem 1.1rem; border-bottom: 1px solid var(--border); }
.jm-syn-row:last-child { border-bottom: none; }
.jm-syn-row-meta { display: flex; align-items: center; gap: 0.65rem; margin-bottom: 0.35rem; flex-wrap: wrap; }
.jm-syn-planet-pill { background: var(--surface); border: 1px solid var(--border); border-radius: 99px; padding: 0.15rem 0.65rem; font-size: 0.72rem; font-weight: 700; color: var(--text); }
.jm-syn-house-pill { background: var(--gold-dim); border: 1px solid var(--gold-bdr); border-radius: 99px; padding: 0.15rem 0.6rem; font-size: 0.72rem; font-weight: 700; color: var(--gold); }
.jm-syn-theme-pill { font-size: 0.67rem; color: #555; text-transform: uppercase; letter-spacing: 0.04em; }
.jm-syn-intensity-high { color: var(--gold); }
.jm-syn-intensity-medium { color: #6b7280; }
.jm-syn-intensity-low { color: #374151; }
.jm-syn-row-text { font-size: 0.83rem; color: var(--muted); line-height: 1.75; }
.jm-syn-retro { font-size: 0.65rem; color: #a78bfa; margin-left: 0.25rem; }

@media (max-width: 640px) {
    .jm-syn-dasha-grid { grid-template-columns: 1fr; }
}

/* ══ INTERPRETATION SECTION ══════════════════════════════════════════════ */

.jn-interp-section {}

.jn-interp-synthesis p {
  font-size: 0.9rem; color: var(--muted); line-height: 1.85;
  margin-bottom: 1.1rem;
}
.jn-interp-synthesis p:last-child { margin-bottom: 0; }

.jn-interp-detail { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid #1e1e1e; }

.jn-interp-group-title {
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; color: #4b5563; margin-bottom: 0.85rem;
}

.jn-interp-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 0.75rem; padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
}
.jn-interp-item:last-child { margin-bottom: 0; }

.jn-interp-item-head {
  display: flex; align-items: center; gap: 0.65rem;
  margin-bottom: 0.5rem; flex-wrap: wrap;
}
.jn-interp-planet {
  font-size: 0.78rem; font-weight: 700; color: var(--text);
}
.jn-interp-loc {
  font-size: 0.72rem; color: #4b5563; display: flex; align-items: center; gap: 0.4rem;
}
.jn-interp-dignity {
  background: var(--gold-dim); border: 1px solid var(--gold-bdr);
  color: var(--gold); font-size: 0.62rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
  border-radius: 999px; padding: 0.1rem 0.45rem;
}
.jn-interp-retro {
  color: #a78bfa; font-size: 0.7rem; font-weight: 600;
}
.jn-interp-text {
  font-size: 0.84rem; color: var(--muted); line-height: 1.75;
}
.jn-interp-nak {
  font-size: 0.8rem; color: #6b7280; line-height: 1.7;
  margin-top: 0.45rem; padding-top: 0.45rem; border-top: 1px solid var(--border);
  font-style: italic;
}

.jn-interp-toggle {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 1.25rem; padding: 0.5rem 1rem;
  background: var(--bg2); border: 1px solid var(--border);
  border-radius: 0.5rem; color: #6b7280; font-size: 0.78rem;
  font-weight: 600; cursor: pointer; transition: all 0.15s;
  font-family: inherit;
}
.jn-interp-toggle:hover { border-color: #333; color: var(--muted); }

/* ====== RESULT PAGE TABS ====== */

/* Horizontally scrollable pill-style tab bar */
.jn-tab-bar {
    display: flex;
    gap: 0.35rem;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.1rem;
    margin-bottom: 1.25rem;
}
.jn-tab-bar::-webkit-scrollbar { display: none; }

.jn-tab-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 1rem;
    border-radius: 8px;
    background: var(--bg2);
    border: 1px solid var(--border);
    color: #666;
    font-size: 0.82rem;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: color 0.15s, border-color 0.15s, background 0.15s;
    min-height: 36px;
    line-height: 1;
}
.jn-tab-btn i { font-size: 0.78rem; }
.jn-tab-btn:hover { color: #ccc; border-color: #333; background: var(--bg3); }
.jn-tab-btn.active {
    background: var(--gold-dim);
    border-color: var(--gold-bdr);
    color: var(--gold);
}

/* Tab panel — hidden via HTML hidden attribute */
.jn-tab-panel[hidden] { display: none; }

/* D-Charts coming-soon panel */
.jn-dcharts-soon {
    text-align: center;
    padding: 3rem 1.5rem;
}
.jn-dcharts-soon-icon {
    font-size: 2.5rem;
    color: #4a5a7a;
    margin-bottom: 1rem;
}
.jn-dcharts-soon-title {
    font-size: 1rem;
    font-weight: 700;
    color: #a0b0c8;
    margin-bottom: 0.4rem;
}
.jn-dcharts-soon-sub {
    font-size: 0.85rem;
    color: #8090a8;
    max-width: 360px;
    margin: 0 auto;
    line-height: 1.6;
}
.jn-dchart-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 0.75rem;
    margin-top: 1.5rem;
    text-align: left;
}
.jn-dchart-pill {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
}
.jn-dchart-pill-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #8090b0;
    margin-bottom: 0.15rem;
}
.jn-dchart-pill-desc {
    font-size: 0.65rem;
    color: #4a5a7a;
}
/* Available chart pill (D1 is live) */
.jn-dchart-pill.live {
    border-color: var(--gold-bdr);
}
.jn-dchart-pill.live .jn-dchart-pill-name { color: var(--gold); }
.jn-dchart-pill.live .jn-dchart-pill-desc { color: #666; }

@media (max-width: 480px) {
    .jn-tab-btn { padding: 0.5rem 0.8rem; font-size: 0.78rem; }
}
