.zs-app {
    --zs-ink: #172033;
    --zs-muted: #677189;
    --zs-line: #e7e9f0;
    --zs-soft: #f7f8fc;
    --zs-violet: #6d4aff;
    --zs-violet-dark: #4a2cd0;
    --zs-gold: #c6942e;
    --zs-green: #16896b;
    --zs-amber: #a76516;
    --zs-white: #ffffff;
    color: var(--zs-ink);
    font-family: inherit;
    max-width: 1220px;
    margin: 0 auto;
    padding: 24px 18px 72px;
}

.zs-app *, .zs-app *::before, .zs-app *::after { box-sizing: border-box; }
.zs-app button, .zs-app input { font: inherit; }
.zs-app [hidden] { display: none !important; }

.zs-hero { text-align: center; padding: 50px 12px 28px; }
.zs-kicker, .zs-section-title > div > span, .zs-highlight-card > span, .zs-overall-copy > span,
.zs-daily-guidance span, .zs-big-meta > span {
    display: block;
    color: var(--zs-violet);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.zs-hero h1 { margin: 10px auto 8px; max-width: 820px; font-size: clamp(36px, 6vw, 68px); line-height: 1.02; letter-spacing: -.045em; }
.zs-hero p { margin: 0; color: var(--zs-muted); font-size: clamp(17px, 2vw, 21px); }

.zs-panel, .zs-form-panel {
    background: var(--zs-white);
    border: 1px solid var(--zs-line);
    border-radius: 24px;
    box-shadow: 0 14px 45px rgba(29, 37, 60, .07);
}
.zs-form-panel { max-width: 980px; margin: 22px auto 0; padding: clamp(22px, 4vw, 42px); }
.zs-form-grid { display: grid; grid-template-columns: 1fr 1fr 1.5fr; gap: 18px; }
.zs-field { position: relative; display: block; }
.zs-field > span, .zs-time-knowledge legend { display: block; margin: 0 0 8px; font-size: 13px; font-weight: 750; color: #394158; }
.zs-field input {
    width: 100%; min-height: 52px; border: 1px solid #d8dce7; border-radius: 13px; padding: 0 14px;
    color: var(--zs-ink); background: #fff; outline: none; transition: .2s ease;
}
.zs-field input:focus { border-color: var(--zs-violet); box-shadow: 0 0 0 4px rgba(109, 74, 255, .11); }
.zs-field input:disabled { background: #f0f1f5; color: #9299a8; }
.zs-location-results {
    position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px); background: #fff; border: 1px solid var(--zs-line);
    border-radius: 14px; box-shadow: 0 18px 50px rgba(29, 37, 60, .18); padding: 6px; max-height: 300px; overflow: auto;
}
.zs-location-option { width: 100%; border: 0; background: transparent; text-align: left; padding: 12px; border-radius: 9px; cursor: pointer; color: var(--zs-ink); line-height: 1.35; }
.zs-location-option:hover, .zs-location-option:focus { background: #f2efff; color: var(--zs-violet-dark); }
.zs-location-empty { padding: 14px; color: var(--zs-muted); }

.zs-location-input-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.zs-location-search-btn {
    appearance: none; border: 1px solid #d8dce7; border-radius: 13px; min-height: 52px; padding: 0 18px;
    background: #f7f5ff; color: var(--zs-violet-dark); font-weight: 800; cursor: pointer; transition: .2s ease;
}
.zs-location-search-btn:hover, .zs-location-search-btn:focus { border-color: var(--zs-violet); background: #eee9ff; }
.zs-location-search-btn:disabled { opacity: .65; cursor: wait; }
.zs-timezone-fallback { max-width: 560px; margin-top: 18px; padding: 16px; border: 1px solid #f1d8ad; border-radius: 14px; background: #fff9ed; }
.zs-timezone-fallback small { display: block; margin-top: 8px; color: #75511f; line-height: 1.5; font-size: 12px; }

.zs-time-knowledge { border: 0; margin: 24px 0 12px; padding: 0; display: flex; flex-wrap: wrap; gap: 10px 24px; }
.zs-time-knowledge legend { width: 100%; }
.zs-time-knowledge label, .zs-remember { display: inline-flex; align-items: center; gap: 8px; color: #4f586d; font-size: 14px; }
.zs-time-knowledge input, .zs-remember input { accent-color: var(--zs-violet); }
.zs-remember { margin: 4px 0 22px; }
.zs-primary-btn {
    appearance: none; border: 0; border-radius: 14px; min-height: 54px; padding: 0 24px; background: linear-gradient(135deg, var(--zs-violet), var(--zs-violet-dark));
    color: #fff; font-weight: 800; cursor: pointer; box-shadow: 0 12px 28px rgba(89, 55, 222, .25); transition: transform .2s ease, box-shadow .2s ease;
}
.zs-primary-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 34px rgba(89, 55, 222, .32); }
.zs-provider-note { margin: 15px 0 0; color: var(--zs-muted); font-size: 11px; }

.zs-message { max-width: 980px; margin: 0 auto 16px; border-radius: 14px; padding: 14px 17px; font-weight: 650; }
.zs-message-error { background: #fff3f1; color: #9b3328; border: 1px solid #ffd8d1; }
.zs-message-success { background: #effaf6; color: #176a56; border: 1px solid #c9ecdf; }

.zs-loading { min-height: 330px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; }
.zs-loading strong { font-size: 21px; }
.zs-loading span:last-child { color: var(--zs-muted); }
.zs-spinner { width: 42px; height: 42px; border-radius: 50%; border: 4px solid #e4e0ff; border-top-color: var(--zs-violet); animation: zs-spin .8s linear infinite; }
@keyframes zs-spin { to { transform: rotate(360deg); } }

.zs-results { margin-top: 30px; }
.zs-results-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; padding: 20px 2px 22px; }
.zs-results-head h2 { margin: 6px 0 3px; font-size: clamp(32px, 4vw, 48px); letter-spacing: -.035em; }
.zs-results-head p { margin: 0; color: var(--zs-muted); }
.zs-text-btn { border: 0; background: transparent; color: var(--zs-violet-dark); font-weight: 750; cursor: pointer; padding: 8px 0; }

.zs-big-three-section { margin: 4px 0 22px; }
.zs-big-three-section > h3 { margin: 0 0 13px; font-size: 17px; }
.zs-big-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.zs-big-card { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 19px; background: linear-gradient(150deg, #fff, #f8f6ff); border: 1px solid #e7e1ff; border-radius: 18px; }
.zs-big-icon { width: 50px; height: 50px; border-radius: 15px; display: grid; place-items: center; background: #eee9ff; color: var(--zs-violet-dark); font-size: 27px; }
.zs-big-meta small, .zs-big-sign small { display: block; color: var(--zs-muted); margin-top: 3px; font-size: 12px; }
.zs-big-sign { text-align: right; }
.zs-big-sign strong { display: block; font-size: 19px; }
.zs-warning { margin-top: 13px; border: 1px solid #f1d8ad; background: #fff9ed; color: #75511f; padding: 13px 15px; border-radius: 13px; line-height: 1.5; font-size: 13px; }

.zs-dashboard-grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr); gap: 20px; }
.zs-panel { padding: clamp(20px, 3vw, 30px); }
.zs-section-title { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-bottom: 22px; }
.zs-section-title h3 { margin: 4px 0 0; font-size: 23px; letter-spacing: -.02em; }
.zs-live-pill, .zs-date-pill, .zs-ai-pill { display: inline-flex; align-items: center; min-height: 28px; border-radius: 999px; padding: 0 10px; font-size: 10px; font-weight: 800; letter-spacing: .08em; }
.zs-live-pill { color: #166b56; background: #eaf8f3; }
.zs-date-pill { color: #51447d; background: #f1edff; }
.zs-ai-pill { color: #65470f; background: #fff3d9; }

.zs-chart-wheel { max-width: 630px; margin: 0 auto; }
.zs-wheel-svg { display: block; width: 100%; height: auto; overflow: visible; }
.zs-wheel-bg { fill: #fbfaff; }
.zs-wheel-ring, .zs-wheel-ring-strong { fill: none; stroke: #dadbea; stroke-width: 1; }
.zs-wheel-ring-strong { stroke: #aaa1d6; stroke-width: 1.5; }
.zs-wheel-zodiac-line { stroke: #ddd9ef; stroke-width: 1; }
.zs-wheel-house-line { stroke: #e8e9f1; stroke-width: 1; stroke-dasharray: 3 4; }
.zs-wheel-sign { fill: #5f45c3; font-size: 26px; font-weight: 700; }
.zs-wheel-planet { fill: #162039; font-size: 25px; font-weight: 700; paint-order: stroke; stroke: #fbfaff; stroke-width: 5px; }
.zs-wheel-house-number { fill: #969caf; font-size: 12px; font-weight: 700; }
.zs-wheel-angle-label { fill: #a36f17; font-size: 12px; font-weight: 900; paint-order: stroke; stroke: #fbfaff; stroke-width: 4px; }
.zs-wheel-aspect { stroke-width: 1.3; }
.zs-aspect-trine, .zs-aspect-sextile { stroke: #4e9b83; }
.zs-aspect-square, .zs-aspect-opposition { stroke: #bf6d66; }
.zs-aspect-conjunction { stroke: #8d7acb; }
.zs-wheel-center-main { fill: #36216e; font-size: 15px; font-weight: 900; letter-spacing: .12em; }
.zs-wheel-center-sub { fill: #9d8fbd; font-size: 10px; font-weight: 800; letter-spacing: .22em; }

.zs-overall-signal { display: grid; grid-template-columns: 170px 1fr; align-items: center; gap: 22px; margin-bottom: 22px; }
.zs-overall-ring {
    --zs-score: 50; width: 166px; aspect-ratio: 1; border-radius: 50%; padding: 12px;
    background: conic-gradient(var(--zs-violet) calc(var(--zs-score) * 1%), #eceaf5 0);
    position: relative;
}
.zs-overall-ring::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; background: #fff; }
.zs-overall-ring > div { position: relative; z-index: 1; width: 100%; height: 100%; display: grid; place-content: center; text-align: center; }
.zs-overall-ring strong { display: block; font-size: 51px; line-height: .95; letter-spacing: -.05em; }
.zs-overall-ring span { color: var(--zs-violet-dark); font-size: 13px; font-weight: 800; text-transform: uppercase; margin-top: 8px; }
.zs-overall-copy h4 { margin: 6px 0; font-size: 23px; }
.zs-overall-copy p { margin: 0; color: var(--zs-muted); line-height: 1.55; }

.zs-score-list { display: grid; gap: 14px; }
.zs-score-top { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; margin-bottom: 6px; }
.zs-score-top > span { font-size: 14px; font-weight: 700; }
.zs-score-top strong { font-size: 15px; }
.zs-score-top strong small { color: var(--zs-muted); font-size: 11px; font-weight: 650; margin-left: 4px; }
.zs-score-track { height: 8px; border-radius: 999px; overflow: hidden; background: #ececf3; }
.zs-score-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #9178ff, #5c3edf); }

.zs-highlights-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 20px 0; }
.zs-highlight-card { border-radius: 22px; padding: 27px; border: 1px solid; }
.zs-highlight-card h3 { margin: 7px 0 8px; font-size: 27px; }
.zs-highlight-card p { margin: 0; line-height: 1.65; color: #4c5568; }
.zs-strong-card { background: linear-gradient(135deg, #effaf6, #f9fdfb); border-color: #cbeadf; }
.zs-strong-card > span { color: var(--zs-green); }
.zs-caution-card { background: linear-gradient(135deg, #fff8eb, #fffcf5); border-color: #f2ddb7; }
.zs-caution-card > span { color: var(--zs-amber); }

.zs-score-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 13px; }
.zs-score-card { background: var(--zs-soft); border: 1px solid #eceef4; border-radius: 15px; padding: 15px; }

.zs-reading-panel { margin-top: 20px; }
.zs-reading-content { columns: 2; column-gap: 38px; }
.zs-reading-section { break-inside: avoid; margin: 0 0 24px; }
.zs-reading-section h4 { margin: 0 0 7px; font-size: 18px; }
.zs-reading-section p, .zs-reading-section li { color: #4e576b; line-height: 1.72; }
.zs-reading-section p { margin: 0; }
.zs-reading-section ul { margin: 8px 0 0; padding-left: 20px; }
.zs-daily-guidance { column-span: all; display: grid; grid-template-columns: 1fr 1fr; gap: 15px; border-top: 1px solid var(--zs-line); padding-top: 22px; margin-top: 4px; }
.zs-daily-guidance > div { background: #f8f7fc; border-radius: 14px; padding: 17px; }
.zs-daily-guidance p { margin: 6px 0 0; color: #4e576b; line-height: 1.55; }

.zs-data-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 20px; margin-top: 20px; }
.zs-table-wrap { overflow-x: auto; }
.zs-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.zs-table th { text-align: left; color: var(--zs-muted); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--zs-line); padding: 9px 8px; }
.zs-table td { border-bottom: 1px solid #eff0f5; padding: 11px 8px; }
.zs-aspect-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.zs-aspect-row { display: flex; align-items: center; gap: 11px; padding: 11px; border-radius: 13px; background: var(--zs-soft); }
.zs-aspect-symbol { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: #eee9ff; color: var(--zs-violet-dark); font-size: 19px; }
.zs-aspect-row strong, .zs-aspect-row small { display: block; }
.zs-aspect-row strong { font-size: 13px; }
.zs-aspect-row small { color: var(--zs-muted); margin-top: 2px; }

.zs-transits-panel { margin-top: 20px; }
.zs-transit-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.zs-transit-row { display: grid; grid-template-columns: 1fr auto 1fr auto; align-items: center; gap: 9px; padding: 13px 14px; background: var(--zs-soft); border-radius: 13px; font-size: 13px; }
.zs-transit-row strong { color: var(--zs-violet-dark); }
.zs-transit-row small { color: var(--zs-muted); }

.zs-actions { display: flex; align-items: center; justify-content: center; gap: 14px; margin: 28px 0 14px; }
.zs-share-status { color: var(--zs-muted); font-size: 13px; }
.zs-disclaimer { max-width: 860px; margin: 0 auto; color: #7b8292; font-size: 12px; line-height: 1.55; text-align: center; }

@media (max-width: 980px) {
    .zs-form-grid { grid-template-columns: 1fr 1fr; }
    .zs-field-location { grid-column: 1 / -1; }
    .zs-dashboard-grid, .zs-data-grid { grid-template-columns: 1fr; }
    .zs-score-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
    .zs-app { padding-left: 14px; padding-right: 14px; }
    .zs-hero { padding-top: 30px; }
    .zs-hero h1 { font-size: 39px; }
    .zs-form-grid, .zs-big-three, .zs-highlights-grid, .zs-score-grid, .zs-transit-list, .zs-daily-guidance { grid-template-columns: 1fr; }
    .zs-field-location { grid-column: auto; }
    .zs-results-head { align-items: start; flex-direction: column; }
    .zs-big-card { grid-template-columns: auto 1fr; }
    .zs-big-sign { grid-column: 2; text-align: left; }
    .zs-dashboard-grid { grid-template-columns: 1fr; }
    .zs-overall-signal { grid-template-columns: 1fr; text-align: center; }
    .zs-overall-ring { margin: 0 auto; }
    .zs-reading-content { columns: 1; }
    .zs-aspect-list { grid-template-columns: 1fr; }
    .zs-transit-row { grid-template-columns: 1fr auto; }
    .zs-transit-row span:nth-child(3) { grid-column: 1; }
    .zs-transit-row small { grid-column: 2; grid-row: 2; }
}

@media (max-width: 430px) {
    .zs-panel, .zs-form-panel { border-radius: 18px; padding: 18px; }
    .zs-time-knowledge { display: grid; gap: 11px; }
    .zs-primary-btn { width: 100%; }
    .zs-location-input-row { grid-template-columns: 1fr; }
    .zs-location-search-btn { width: 100%; }
    .zs-section-title { align-items: flex-start; }
    .zs-overall-ring { width: 145px; }
    .zs-overall-ring strong { font-size: 44px; }
}
