Files
sorsfonalak/services/frontend/src/app/globals.css
T
fecoandClaude Opus 5.5 e004ea696b
CI / test (push) Successful in 47s
CI / build (push) Successful in 4m19s
CI / deploy (push) Skipped
Packages: from one analysis to unlimited, admin can give them
A fixed catalog (packages.rs, reasoning in docs/csomagok.md): Egy elemzés
2 990 Ft, Páros 6 990 Ft, Család 11 990 Ft (featured), Korlátlan 17 990 Ft
for a year, and two top-ups. Every grant is a package_orders row; units are
credit_ledger rows with reason 'package' and never expire. The unlimited
package is a time-limited 'unlimited' entitlement: analyses use no unit and
persons have no limit, with a daily fair-use cap (UNLIMITED_DAILY_LIMIT, 5);
buying it again extends it by a year.

- GET /v1/packages, mock payment by package id, /v1/me unlimited_until
- POST /v1/admin/users/{id}/packages: give a package as a gift
- /csomagok page; the paid step of an analysis offers three packages with
  the bigger one featured; person packs use the catalog; admin user list
  has a package column
- PERSON_PACK_SIZE is replaced by the catalog's +5 személy top-up

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012vLHzh5qUhFtmJhzkcTbXL
2026-11-17 16:19:20 +00:00

552 lines
30 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
/* Sorsfonalak – night sky with gold accents (from the design canvas). */
:root {
--bg: #0d1220;
--panel: #111729;
--panel-2: #0f1426;
--line: #1f2740;
--line-2: #2c3654;
--ink: #ece6d8;
--ink-2: #c9cfdc;
--muted: #a3abc0;
--gold: #d9b46a;
--gold-hover: #e6c482;
--gold-ink: #141a2c;
--danger: #f2a0a0;
--ok: #9fd8b0;
--harmonic: #7fb0e0;
--tense: #e38b8b;
--square: #f0a35e;
--p2: #c3a6f0; /* the second person of a comparison */
--radius: 10px;
--font-display: var(--font-cormorant), "Cormorant Garamond", Georgia, serif;
--font-body: var(--font-inter), Inter, system-ui, sans-serif;
--font-symbols: "Noto Sans Symbols", "Segoe UI Symbol", "DejaVu Sans", sans-serif;
color-scheme: dark;
}
* { box-sizing: border-box; }
html, body { margin: 0; }
body {
min-height: 100vh;
background: var(--bg);
color: var(--ink);
font: 400 15px/1.55 var(--font-body);
}
a { color: var(--gold); }
a:hover { color: var(--gold-hover); }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.1; margin: 0; }
h1 { font-size: 40px; }
h2 { font-size: 28px; }
h3 { font-size: 20px; }
p { margin: 0; }
.muted { color: var(--muted); }
.sym { font-family: var(--font-symbols); }
/* Header */
.site-header {
position: sticky; top: 0; z-index: 10;
display: flex; align-items: center; gap: 24px; flex-wrap: wrap;
padding: 12px 24px; background: rgba(13, 18, 32, 0.94);
border-bottom: 1px solid var(--line); backdrop-filter: blur(6px);
}
.logo { font-family: var(--font-display); font-size: 28px; font-weight: 600; color: var(--ink); text-decoration: none; letter-spacing: 0.3px; }
.logo span { color: var(--gold); }
.logo:hover { color: var(--ink); }
.nav { display: flex; gap: 4px; flex: 1; }
.nav a { color: var(--ink-2); text-decoration: none; padding: 10px 12px; border-radius: 8px; min-height: 44px; display: inline-flex; align-items: center; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--gold); background: rgba(217, 180, 106, 0.08); }
.who { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 14px; }
/* Layout */
.page { max-width: 960px; margin: 0 auto; padding: 32px 16px 64px; display: flex; flex-direction: column; gap: 24px; }
.page-head { display: flex; flex-direction: column; gap: 6px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }
.facts { display: grid; grid-template-columns: max-content 1fr; gap: 8px 20px; margin: 0; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; }
/* Forms */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label, .label { font-size: 14px; font-weight: 500; }
.hint { font-size: 13px; color: var(--muted); }
.inp {
width: 100%; min-height: 48px; padding: 0 14px; border-radius: var(--radius);
border: 1px solid var(--line-2); background: var(--panel-2); color: var(--ink);
font: 400 15px var(--font-body);
}
select.inp { padding-right: 32px; }
.inp::placeholder { color: #8a93ab; }
.inp:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 180, 106, 0.25); }
.inp:disabled { opacity: 0.55; }
.check { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); min-height: 32px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--gold); margin: 0; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.form-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn {
min-height: 44px; padding: 0 18px; border-radius: var(--radius); border: 1px solid var(--line-2);
background: transparent; color: var(--ink); font: 500 15px var(--font-body); cursor: pointer;
display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none;
}
.btn:hover { border-color: #5a6790; background: rgba(255, 255, 255, 0.03); color: var(--ink); }
.btn:disabled { opacity: 0.55; cursor: default; }
.btn-primary { background: var(--gold); border-color: var(--gold); color: var(--gold-ink); font-weight: 600; }
.btn-primary:hover { background: var(--gold-hover); border-color: var(--gold-hover); color: var(--gold-ink); }
.btn-ghost { border-color: transparent; color: var(--muted); padding: 0 12px; }
.btn-ghost:hover { color: var(--ink); border-color: transparent; }
.btn-sm { min-height: 36px; padding: 0 12px; font-size: 14px; }
.msg { font-size: 14px; }
.msg-error { color: var(--danger); }
.msg-ok { color: var(--ok); }
.badge {
display: inline-flex; align-items: center; min-height: 24px; padding: 0 10px; border-radius: 999px;
border: 1px solid var(--line-2); font-size: 12px; color: var(--ink-2); white-space: nowrap;
}
.badge-gold { border-color: rgba(217, 180, 106, 0.5); color: var(--gold); }
/* Place search */
.combo { position: relative; }
.combo-list {
position: absolute; z-index: 5; left: 0; right: 0; top: calc(100% + 4px); margin: 0; padding: 4px;
list-style: none; background: var(--panel-2); border: 1px solid var(--line-2); border-radius: var(--radius);
max-height: 280px; overflow-y: auto;
}
.combo-list button {
width: 100%; text-align: left; background: transparent; border: 0; color: var(--ink); cursor: pointer;
padding: 10px 12px; border-radius: 8px; font: inherit; min-height: 44px;
}
.combo-list button:hover, .combo-list button[aria-selected="true"] { background: rgba(217, 180, 106, 0.1); }
.combo-list small { color: var(--muted); }
/* Tables */
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.retro { color: var(--gold); font-size: 12px; margin-left: 4px; }
/* Big three */
.big3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.big3 > div { background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; display: flex; flex-direction: column; gap: 4px; }
.big3 .glyph { font-size: 26px; color: var(--gold); line-height: 1; }
.big3 strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
/* Login */
.auth { min-height: 100vh; display: flex; flex-wrap: wrap; }
.auth-aside {
flex: 1 1 480px; min-height: 320px; background: var(--panel); border-right: 1px solid var(--line);
padding: 40px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
}
.auth-main { flex: 1 1 480px; display: flex; align-items: center; justify-content: center; padding: 48px 24px; }
.auth-box { width: 100%; max-width: 420px; display: flex; flex-direction: column; gap: 28px; }
.wheel { width: min(440px, 80%); aspect-ratio: 1; margin: 0 auto; }
.tagline { font-family: var(--font-display); font-size: 38px; font-weight: 600; line-height: 1.1; }
.auth-foot { font-size: 15px; color: var(--muted); text-align: center; }
/* Social login buttons; Google's own button lies invisibly on top (.gsi-overlay). */
.social-login { position: relative; }
.btn-social {
position: relative; width: 100%; min-height: 48px; padding: 0 52px;
display: flex; align-items: center; justify-content: center; gap: 12px;
border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent;
color: var(--ink); font: 500 15px var(--font-body);
}
.btn-social-icon { position: absolute; left: 16px; top: 50%; margin-top: -10px; width: 20px; height: 20px; display: flex; }
.social-login:hover .btn-social { border-color: #5a6790; background: rgba(255, 255, 255, 0.03); }
.social-login:focus-within .btn-social { outline: 2px solid var(--gold); outline-offset: 2px; }
.social-login[data-ready="false"] .btn-social { opacity: 0.6; }
.gsi-overlay {
position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
opacity: 0.001; overflow: hidden; cursor: pointer;
}
.gsi-overlay > div, .gsi-overlay iframe { transform: scale(1.06, 1.2); }
/* Detailed analysis */
.analysis-card { display: flex; flex-direction: column; gap: 16px; }
.analysis-offer { padding: 8px 0 4px; }
.analysis-offer .offer-head { display: flex; flex-direction: column; gap: 8px; }
.analysis-offer p.muted { max-width: 64ch; line-height: 1.7; }
.analysis-offer .form-actions, .analysis-offer .pay-box { margin-top: 12px; }
.analysis-offer .form-actions { gap: 12px 16px; }
.analysis { display: flex; flex-direction: column; gap: 28px; }
.analysis-head { display: flex; flex-direction: column; gap: 12px; }
.analysis-head h2 { font-size: 34px; }
.analysis-lead { font-size: 17px; line-height: 1.7; color: var(--ink-2); font-style: italic; }
.analysis-section { display: flex; flex-direction: column; gap: 12px; }
.analysis-section h3 { font-size: 24px; color: var(--gold); }
.analysis-section p, .analysis-lists li { font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.analysis strong { color: var(--ink); font-weight: 600; }
.analysis-lists { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.analysis-lists h3 { font-size: 22px; margin-bottom: 8px; }
.analysis-lists ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; }
.analysis-advice { border-top: 1px solid var(--line); padding-top: 24px; }
/* Chart page */
.summary-card { gap: 10px; border-color: rgba(217, 180, 106, 0.35); }
.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--gold); }
.summary-title { font-size: 26px; }
.summary-text { font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.summary-more {
margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line); width: 100%;
color: var(--gold); font-weight: 500; text-decoration: none;
}
.summary-more:hover { text-decoration: underline; text-underline-offset: 3px; }
.summary-text strong { color: var(--ink); font-weight: 600; }
.skeleton { display: flex; flex-direction: column; gap: 8px; }
.skeleton span { height: 12px; border-radius: 6px; background: var(--line); animation: pulse 1.4s ease-in-out infinite; }
.skeleton span:last-child { width: 60%; }
@keyframes pulse { 50% { opacity: 0.45; } }
@media (prefers-reduced-motion: reduce) { .skeleton span { animation: none; } }
/* Loading while the LLM writes */
.loading { display: flex; align-items: center; gap: 24px; padding: 8px 0; }
.loading-wheel { width: 120px; height: 120px; flex: none; animation: spin 24s linear infinite; }
.loading-compact .loading-wheel { width: 64px; height: 64px; }
.loading-text { display: flex; flex-direction: column; gap: 6px; }
.loading-text strong { font-family: var(--font-display); font-size: 24px; font-weight: 600; }
.loading-text .muted { animation: pulse 2.4s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-wheel, .loading-text .muted { animation: none; } }
@media (max-width: 640px) { .loading { flex-direction: column; text-align: center; } }
/* Payment step */
.pay-box { display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--panel-2); }
.pay-lead { margin: 0; }
.chart-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(280px, 1fr); gap: 24px; align-items: stretch; }
.chart-side { gap: 16px; }
.chart-side .summary-card { flex: 1 1 auto; }
.chart-wheel-card { padding: 16px; gap: 10px; justify-content: center; }
.chart-wheel { width: 100%; height: auto; display: block; max-width: 680px; margin: 0 auto; }
.chart-layout .big3 {
grid-template-columns: repeat(3, 1fr); gap: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
}
.chart-layout .big3 > div { background: none; border: 0; border-radius: 0; padding: 14px 16px; min-width: 0; }
.chart-layout .big3 > div + div { border-left: 1px solid var(--line); }
.chart-layout .big3 .glyph { font-size: 20px; }
.chart-layout .big3 strong { font-size: 21px; }
.chart-layout .big3 .muted { font-size: 13px; }
.wheel-legend { display: flex; flex-direction: column; align-items: center; gap: 4px; text-align: center; }
.wheel-legend-items { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 16px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend-line { display: inline-block; width: 24px; height: 2px; border-radius: 1px; }
.legend-trine { background: var(--harmonic); }
.legend-sextile { background: repeating-linear-gradient(90deg, var(--harmonic) 0 5px, transparent 5px 9px); }
.legend-square { background: var(--square); }
.legend-opposition { background: var(--tense); }
.aspect-tag { white-space: nowrap; }
/* Aspect grid */
.aspect-grid-wrap { overflow-x: auto; }
.aspect-grid { width: auto; border-collapse: collapse; font-size: 16px; }
.aspect-grid td, .aspect-grid th {
width: 30px; min-width: 30px; height: 30px; padding: 0; text-align: center; vertical-align: middle;
border: 1px solid var(--line); line-height: 1;
}
.aspect-grid th { color: var(--ink); font-weight: 400; font-size: 17px; background: var(--panel-2); }
.aspect-grid .grid-angle { font: 600 11px var(--font-body); color: var(--gold); letter-spacing: 0.3px; }
.aspect-grid td.corner { border: 0; background: none; }
.aspect-grid td.diag { background: var(--line); }
.aspect-grid tbody td:not(.diag):hover { background: var(--panel-2); }
.grid-legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-2); }
.grid-legend .sym { font-size: 17px; }
.asp-conjunction { color: var(--gold); }
.asp-trine, .asp-sextile { color: var(--harmonic); }
.asp-square { color: var(--square); }
.asp-opposition { color: var(--tense); }
.details > summary { cursor: pointer; color: var(--gold); min-height: 44px; display: flex; align-items: center; }
.details[open] > summary { margin-bottom: 8px; }
@media (max-width: 640px) {
.aspect-grid { font-size: 12px; }
.aspect-grid td, .aspect-grid th { width: 19px; min-width: 19px; height: 19px; }
.aspect-grid th { font-size: 13px; }
.aspect-grid .grid-angle { font-size: 8px; letter-spacing: 0; }
.chart-tabs { padding: 4px 12px 16px; }
}
.aspect-harmonic { color: var(--harmonic); }
.aspect-tense { color: var(--tense); }
.aspect-neutral { color: var(--gold); }
.w-ring { fill: none; stroke: var(--line-2); stroke-width: 1.2; }
.w-faint { stroke: var(--line); }
.w-inner { fill: var(--panel-2); }
.w-sign { stroke: var(--line-2); stroke-width: 1; }
.w-fire { fill: rgba(227, 139, 106, 0.09); }
.w-earth { fill: rgba(159, 216, 176, 0.07); }
.w-air { fill: rgba(217, 180, 106, 0.08); }
.w-water { fill: rgba(127, 176, 224, 0.09); }
.w-sign-glyph { fill: var(--gold); font-family: var(--font-symbols); font-size: 22px; }
.w-tick { stroke: var(--line-2); stroke-width: 1; }
.w-cusp { stroke: var(--line-2); stroke-width: 1; }
.w-axis { stroke: var(--gold); stroke-width: 1.8; }
.w-axis-label { fill: var(--gold); font: 600 14px var(--font-body); letter-spacing: 0.5px; }
.w-house-num { fill: var(--muted); font: 500 12px var(--font-body); }
.w-aspect { stroke-linecap: round; }
.w-asp-trine { stroke: var(--harmonic); }
.w-asp-sextile { stroke: var(--harmonic); stroke-dasharray: 5 4; }
.w-asp-square { stroke: var(--square); }
.w-asp-opposition { stroke: var(--tense); }
.w-point-tick { stroke: var(--ink); stroke-width: 1.6; }
.w-leader { stroke: var(--muted); stroke-width: 0.7; stroke-opacity: 0.6; }
.w-point-glyph { fill: var(--ink); font-family: var(--font-symbols); font-size: 22px; }
.w-point-deg { fill: var(--muted); font: 500 10.5px var(--font-body); }
.w-end { fill: var(--ink-2); }
.w-point-glyph, .w-point-deg, .w-house-num, .w-axis-label { paint-order: stroke; stroke: var(--panel); stroke-width: 4px; stroke-linejoin: round; }
.w-point:hover .w-point-glyph { fill: var(--gold); }
@media (max-width: 900px) {
.chart-layout { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
h1 { font-size: 32px; }
.site-header { padding: 10px 16px; gap: 12px; }
.nav { order: 3; flex-basis: 100%; }
.card { padding: 18px; }
.auth-aside { padding: 28px 20px; min-height: 0; }
.wheel { width: 60%; }
.big3 { grid-template-columns: 1fr; }
.chart-layout .big3 > div { padding: 12px 10px; }
.chart-layout .big3 strong { font-size: 18px; }
.chart-wheel-card { padding: 8px; }
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
/* Tabs */
.chart-tabs { padding-top: 8px; }
.tab-list { display: flex; gap: 4px; border-bottom: 1px solid var(--line); overflow-x: auto; scrollbar-width: none; }
.tab {
background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; padding: 12px 16px; min-height: 44px;
color: var(--muted); font: 500 15px var(--font-body); cursor: pointer; white-space: nowrap;
}
.tab:hover { color: var(--ink); }
.tab[aria-selected="true"] { color: var(--gold); border-bottom-color: var(--gold); }
.tab:focus-visible, .tab-panel:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
.tabs { scroll-margin-top: 88px; }
.tab-panel { padding-top: 20px; }
@media (max-width: 640px) { .tab { padding: 12px 10px; font-size: 14px; } .tabs { scroll-margin-top: 120px; } }
/* Charts list, persons */
.chart-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.chart-card {
background: var(--panel); border: 1px solid var(--line); border-radius: 14px; display: flex; flex-direction: column;
transition: border-color 0.15s;
}
.chart-card:hover { border-color: var(--line-2); }
.chart-card-link, .chart-card-new { display: flex; flex-direction: column; gap: 6px; padding: 20px; color: inherit; text-decoration: none; flex: 1; }
.chart-card-name { font-family: var(--font-display); font-size: 24px; font-weight: 600; color: var(--ink); }
.chart-card-tag { margin: 0 20px 16px; font-size: 13px; color: var(--gold); }
.chart-card-new { border-style: dashed; justify-content: center; align-items: flex-start; min-height: 150px; }
.chart-card-new:hover { border-color: var(--gold); }
.chart-card-plus { font-size: 28px; line-height: 1; color: var(--gold); }
.sign-trio { display: flex; gap: 16px; margin-top: 8px; }
.sign-trio > span { display: inline-flex; align-items: baseline; gap: 4px; }
.sign-trio .sym:first-child, .trio-ac { color: var(--muted); font-size: 14px; }
.trio-ac { font: 600 11px var(--font-body); letter-spacing: 0.3px; }
.trio-sign { color: var(--gold); font-size: 20px; }
.person-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding: 0 12px 12px; border-top: 1px solid var(--line); padding-top: 8px; margin: 0 8px; }
.btn-danger { border-color: var(--danger); color: var(--danger); }
.btn-danger:hover { background: rgba(242, 160, 160, 0.08); color: var(--danger); border-color: var(--danger); }
/* Chart switcher (the chart page title) */
.switcher { position: relative; align-self: flex-start; }
.switcher h1 { margin: 0; }
.switcher-button {
font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: left;
display: inline-flex; align-items: baseline; gap: 10px;
}
.switcher-button:hover .switcher-caret, .switcher-button[aria-expanded="true"] .switcher-caret { color: var(--gold); }
.switcher-button:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; border-radius: 4px; }
.switcher-caret { font-size: 0.55em; color: var(--muted); transition: color 0.15s; }
.switcher-menu {
position: absolute; z-index: 20; top: calc(100% + 8px); left: 0; min-width: 280px; max-width: min(360px, calc(100vw - 32px));
background: var(--panel); border: 1px solid var(--line-2); border-radius: 12px; box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
padding: 6px; font-family: var(--font-body);
}
.switcher-menu ul { list-style: none; margin: 0; padding: 0; max-height: 320px; overflow-y: auto; }
.switcher-menu li a {
display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 12px; min-height: 44px;
border-radius: 8px; color: var(--ink); text-decoration: none; font-size: 15px;
}
.switcher-menu li a strong { font-weight: 500; }
.switcher-menu li a .muted { font-size: 13px; white-space: nowrap; }
.switcher-menu li a:hover { background: var(--panel-2); }
.switcher-menu li a[aria-current="page"] { background: var(--panel-2); }
.switcher-menu li a[aria-current="page"] strong { color: var(--gold); }
.switcher-foot { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--line); margin-top: 6px; padding: 10px 12px 6px; font-size: 14px; }
.switcher-foot a { color: var(--gold); text-decoration: none; }
.switcher-foot a:hover { text-decoration: underline; }
.persons-tile { position: relative; gap: 4px; padding: 16px 48px 16px 20px; color: inherit; text-decoration: none; transition: border-color 0.15s; }
.persons-tile:hover { border-color: var(--gold); }
.persons-tile strong { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.persons-tile .muted { font-size: 14px; }
.persons-tile-arrow { position: absolute; right: 20px; top: 50%; transform: translateY(-50%); color: var(--gold); font-size: 20px; }
/* Legal pages */
.legal { max-width: 820px; gap: 28px; }
.legal section { display: flex; flex-direction: column; gap: 10px; }
.legal h2 { font-size: 24px; }
.legal p, .legal li { line-height: 1.7; color: var(--ink-2); }
.legal ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.legal a { color: var(--gold); }
.legal-table td { vertical-align: top; line-height: 1.5; }
.danger-box { display: flex; flex-direction: column; gap: 12px; padding: 16px; border: 1px solid var(--danger); border-radius: var(--radius); }
/* Admin */
.admin-nav { display: flex; gap: 4px; border-bottom: 1px solid var(--line); margin-bottom: 4px; overflow-x: auto; }
.admin-nav a {
padding: 10px 14px; min-height: 44px; display: inline-flex; align-items: center; color: var(--muted);
text-decoration: none; border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap;
}
.admin-nav a:hover { color: var(--ink); }
.admin-nav a[aria-current="page"] { color: var(--gold); border-bottom-color: var(--gold); }
.prompt-kind { display: flex; flex-direction: column; gap: 20px; }
.prompt-kind-head { display: flex; gap: 16px 24px; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; }
.prompt-kind-head > p { flex: 1 1 360px; margin: 0; }
.prompt-lang { width: 200px; }
.prompt-editor { display: flex; flex-direction: column; gap: 16px; }
.prompt-status { display: flex; gap: 8px 12px; align-items: center; flex-wrap: wrap; }
.prompt-text {
min-height: 420px; padding: 12px 14px; resize: vertical; line-height: 1.55;
font: 400 13.5px/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
.prompt-extra { display: flex; flex-direction: column; gap: 10px; }
.prompt-pre {
margin: 0; padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel-2);
white-space: pre-wrap; overflow-wrap: anywhere; font: 400 13px/1.5 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
color: var(--ink-2);
}
.prompt-history { list-style: none; margin: 0 0 8px; padding: 0; display: flex; flex-direction: column; }
.prompt-history li {
display: grid; grid-template-columns: 1fr auto auto; gap: 12px; align-items: center;
padding: 8px 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 640px) {
.prompt-text { min-height: 320px; font-size: 13px; }
.prompt-lang { width: 100%; }
.prompt-history li { grid-template-columns: 1fr auto; }
.prompt-history li .hint { grid-column: 1; }
.prompt-history li .btn { grid-column: 2; grid-row: 1 / span 2; }
}
.prompt-trial {
display: flex; flex-direction: column; gap: 16px; padding: 20px; border: 1px solid var(--line);
border-radius: var(--radius); background: rgba(255, 255, 255, 0.015);
}
.prompt-trial-head { display: flex; flex-direction: column; gap: 6px; }
.prompt-trial-head h2 { font-size: 18px; margin: 0; }
.prompt-trial-head .hint { margin: 0; }
.prompt-trial-form { display: flex; gap: 12px; align-items: flex-end; flex-wrap: wrap; }
.prompt-trial-form .field { flex: 0 1 360px; }
.trial { display: flex; flex-direction: column; gap: 14px; padding-top: 16px; border-top: 1px solid var(--line); }
.trial-head { display: flex; gap: 8px 12px; align-items: center; justify-content: space-between; flex-wrap: wrap; }
.trial-summary { display: flex; flex-direction: column; gap: 8px; }
.trial-summary .summary-title, .trial-summary .summary-text { margin: 0; }
@media (max-width: 640px) {
.prompt-trial { padding: 16px; }
.prompt-trial-form .field { flex-basis: 100%; }
.prompt-trial-form .btn { width: 100%; }
}
/* Comparisons (synastry) */
.w-p2 .w-point-glyph { fill: var(--p2); }
.w-p2 .w-point-tick { stroke: var(--p2); }
.w-p2 .w-point:hover .w-point-glyph { fill: var(--gold); }
.w-end-p2 { fill: var(--p2); }
.w-p2-band { stroke-dasharray: 2 4; }
.legend-dot, .pair-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; flex: none; }
.legend-p1 { background: var(--ink); }
.legend-p2 { background: var(--p2); }
.p2-text, .cross-grid th.p2-head { color: var(--p2); }
.cross-grid td.cross-corner { position: relative; min-width: 76px; height: 44px; font: 500 11px var(--font-body); color: var(--muted); }
.cross-col { position: absolute; top: 2px; right: 4px; color: var(--p2); white-space: nowrap; }
.cross-row { position: absolute; bottom: 2px; left: 2px; white-space: nowrap; }
.nature { display: flex; flex-direction: column; gap: 12px; }
.nature-bar { display: flex; gap: 3px; height: 10px; border-radius: 999px; overflow: hidden; }
.nature-bar-sm { height: 6px; margin-top: 4px; }
.nature-seg { flex-basis: 0; min-width: 4px; }
.nature-harmonious { background: var(--harmonic); }
.nature-challenging { background: var(--tense); }
.nature-neutral { background: var(--gold); }
.nature-list { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.nature-list > div { display: grid; grid-template-columns: 128px 1fr; gap: 8px; align-items: baseline; }
.nature-list dt { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--ink-2); }
.nature-list dd { margin: 0; }
.nature-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.pair-card { gap: 4px; }
.pair-row {
display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 10px 0;
color: inherit; text-decoration: none; border-bottom: 1px solid var(--line);
}
.pair-row:last-child { border-bottom: 0; padding-bottom: 0; }
a.pair-row:hover strong { color: var(--gold); }
.pair-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.pair-text strong { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.compare-new { gap: 16px; }
.compare-form { display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 12px; align-items: end; }
.compare-swap { font-size: 20px; padding: 0 10px; }
.compare-tile { gap: 6px; padding: 16px 20px; }
.compare-tile strong { font-family: var(--font-display); font-size: 21px; font-weight: 600; }
.compare-tile .muted { font-size: 14px; }
.compare-tile .form-actions { margin-top: 6px; }
.back-link { font-size: 14px; text-decoration: none; align-self: flex-start; }
@media (max-width: 640px) {
.compare-form { grid-template-columns: 1fr auto; }
.compare-form .field:first-child { grid-column: 1; }
.compare-swap { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.compare-form .field:nth-child(3) { grid-column: 1; }
.compare-form > .btn-primary { grid-column: 1 / -1; width: 100%; }
.nature-list > div { grid-template-columns: 1fr; gap: 2px; }
.nav { overflow-x: auto; scrollbar-width: none; }
.nav a { white-space: nowrap; padding: 10px 9px; }
.cross-grid td.cross-corner { min-width: 56px; font-size: 9px; }
}
/* Packages */
.pkg-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; align-items: stretch; }
.pkg-grid-compact { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.pkg {
position: relative; display: flex; flex-direction: column; gap: 10px; padding: 22px 20px 20px;
background: var(--panel); border: 1px solid var(--line-2); border-radius: var(--radius);
}
.pkg-grid-compact .pkg { padding: 18px 16px 16px; gap: 8px; background: var(--panel-2); }
.pkg-featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 12px 32px rgba(217, 180, 106, 0.12); }
.pkg-tags { display: flex; gap: 6px; min-height: 22px; flex-wrap: wrap; }
.pkg-badge, .pkg-save {
display: inline-flex; align-items: center; min-height: 22px; padding: 0 9px; border-radius: 999px;
font-size: 12px; font-weight: 600; letter-spacing: 0.3px;
}
.pkg-badge { background: var(--gold); color: var(--gold-ink); }
.pkg-save { border: 1px solid rgba(159, 216, 176, 0.5); color: var(--ok); }
.pkg-name { font-size: 26px; }
.pkg-grid-compact .pkg-name { font-size: 22px; }
.pkg-tagline { margin: 0; font-size: 14px; min-height: 42px; }
.pkg-price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.pkg-price strong { font-family: var(--font-display); font-size: 32px; font-weight: 600; color: var(--ink); }
.pkg-grid-compact .pkg-price strong { font-size: 26px; }
.pkg-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--ink-2); flex: 1; }
.pkg-list li { padding-left: 22px; position: relative; }
.pkg-list li::before { content: "✓"; position: absolute; left: 0; color: var(--gold); }
.pkg-per { margin: 0; }
.pkg-step { margin: 0; font-size: 13px; color: var(--gold); }
.pkg .btn { margin-top: 4px; width: 100%; }
.holdings { gap: 6px; padding: 16px 20px; }
.holdings p { margin: 0; color: var(--ink-2); }
.faq { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.faq dt { font-weight: 600; margin-bottom: 4px; }
.faq dd { margin: 0; }
@media (max-width: 1000px) { .pkg-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
.pkg-grid, .pkg-grid-compact { grid-template-columns: 1fr; }
.pkg-tagline { min-height: 0; }
}