:root {
  --wine: #7d2334;
  --wine-bright: #a82d46;
  --deep: #1b0c0f;
  --chocolate: #2f1716;
  --surface: #3b1d1e;
  --surface-soft: #482426;
  --gold: #d8aa65;
  --gold-light: #f0d4a5;
  --powder: #e4b5a7;
  --cream: #fff1df;
  --muted: #cdb7ab;
  --success: #8db991;
  --warning: #e7b86e;
  --danger: #ff8d9f;
  --radius: 20px;
  --nav-h: 76px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #11080a; }
body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: var(--cream);
  font-family: Manrope, sans-serif;
  background: radial-gradient(circle at 50% 0, #4a2222 0, #1a0d10 48%, #0d0608 100%);
  overscroll-behavior-y: none;
}
button, input, textarea { font: inherit; }
button { color: inherit; }
button, a, input, textarea, summary { -webkit-tap-highlight-color: transparent; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 2px;
}
[hidden] { display: none !important; }

.session-gate {
  width: min(calc(100% - 32px), 398px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  text-align: center;
}
.gate-mark { width: 64px; height: 64px; display: grid; place-items: center; border: 1px solid rgba(216,170,101,.4); border-radius: 50%; color: var(--gold-light); background: rgba(76,34,37,.55); font-size: 29px; box-shadow: 0 14px 36px rgba(0,0,0,.25); }
.session-gate h1 { margin: 20px 0 8px; }
.session-gate p { max-width: 310px; color: var(--muted); font-size: 13px; }
.session-gate button, .session-gate a { min-height: 48px; margin-top: 18px; padding: 0 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid rgba(216,170,101,.35); border-radius: 14px; color: var(--gold-light); background: rgba(74,34,36,.7); font-weight: 700; text-decoration: none; }
.session-gate a { margin-top: 10px; border-color: transparent; background: transparent; font-size: 12px; }

.app-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  position: relative;
  overflow-x: clip;
  background:
    radial-gradient(circle at 92% 3%, rgba(213, 153, 84, .11), transparent 29%),
    linear-gradient(180deg, #291216, #1c0d10 60%, #170a0d);
  box-shadow: 0 0 70px rgba(0, 0, 0, .55);
}

#app { min-height: 100vh; min-height: 100dvh; }
.screen {
  min-height: 100vh;
  min-height: 100dvh;
  padding: max(76px, calc(env(safe-area-inset-top) + 62px)) 16px calc(var(--nav-h) + env(safe-area-inset-bottom) + 28px);
  animation: enter .25s ease both;
}
@keyframes enter { from { opacity: 0; transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; } }

.app-return {
  position: fixed;
  z-index: 20;
  top: max(10px, env(safe-area-inset-top));
  left: max(16px, calc(50% - 199px));
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(216, 170, 101, .22);
  border-radius: 14px;
  color: var(--gold-light);
  background: rgba(32, 14, 17, .92);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .28);
  backdrop-filter: blur(14px);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.bottom-nav {
  position: fixed;
  z-index: 15;
  left: 50%;
  bottom: 0;
  width: min(100%, 430px);
  min-height: calc(var(--nav-h) + env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 8px 8px max(7px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(230, 185, 119, .18);
  background: rgba(37, 15, 18, .95);
  backdrop-filter: blur(18px);
}
.bottom-nav button { min-width: 0; min-height: 58px; display: grid; place-items: center; align-content: center; gap: 3px; border: 0; border-radius: 14px; color: #bba39a; background: transparent; }
.bottom-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.bottom-nav span { font-size: 10px; }
.bottom-nav button.active { color: var(--gold-light); background: rgba(149, 51, 65, .2); }

.brand-lockup { display: flex; align-items: center; gap: 10px; }
.brand-lockup svg { width: 31px; height: 31px; flex: 0 0 auto; fill: none; stroke: var(--gold); stroke-width: 1.25; }
.brand-lockup b { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 19px; font-weight: 600; letter-spacing: .14em; }
.brand-lockup span { display: block; margin-top: 1px; color: var(--muted); font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }

.screen-header { display: flex; align-items: center; gap: 10px; min-height: 48px; margin-bottom: 16px; }
.screen-header .header-copy { min-width: 0; flex: 1; }
.screen-header h1, .screen-header h2 { overflow: hidden; margin: 0; text-overflow: ellipsis; white-space: nowrap; }
.icon-button, .avatar-button { width: 48px; height: 48px; flex: 0 0 auto; display: grid; place-items: center; padding: 0; border: 1px solid rgba(222, 180, 115, .3); border-radius: 16px; background: rgba(87, 38, 40, .45); }
.icon-button svg { width: 22px; height: 22px; fill: none; stroke: var(--gold-light); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.avatar-button { overflow: hidden; border-radius: 50%; }
.avatar-button img { width: 100%; height: 100%; object-fit: cover; }

h1, h2, h3 { font-family: "Cormorant Garamond", Georgia, serif; }
h1 { margin: 0; font-size: clamp(32px, 9vw, 39px); font-weight: 600; line-height: .98; }
h2 { margin: 0; font-size: 27px; font-weight: 600; line-height: 1.05; }
h3 { margin: 0; font-size: 22px; line-height: 1.1; }
p { margin: 0; line-height: 1.55; }
.eyebrow { display: block; margin-bottom: 7px; color: var(--gold); font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.title-block { margin: 22px 0 18px; }
.title-block p { margin-top: 10px; color: var(--muted); font-size: 14px; }

.card {
  border: 1px solid rgba(224, 180, 116, .17);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(74, 34, 35, .94), rgba(49, 23, 25, .92));
  box-shadow: 0 14px 34px rgba(0, 0, 0, .18);
}
.card-pad { padding: 18px; }
.stack { display: grid; gap: 12px; }
.section-gap { margin-top: 24px; }

.primary, .secondary, .text-button {
  width: 100%; min-height: 52px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 16px; border-radius: 16px; font-weight: 700;
}
.primary { border: 1px solid #ce6475; background: linear-gradient(180deg, #bd4057, #8f2438); box-shadow: 0 10px 24px rgba(122, 25, 42, .36), inset 0 1px rgba(255,255,255,.15); }
.secondary { border: 1px solid rgba(222, 180, 115, .36); background: rgba(72, 34, 36, .6); color: var(--gold-light); }
.text-button { border: 0; background: transparent; color: var(--gold-light); }
.primary:disabled { opacity: .55; }
.primary svg, .secondary svg { width: 20px; height: 20px; flex: 0 0 auto; }

.home-head { display: flex; justify-content: space-between; align-items: center; }
.welcome { margin-top: 22px; padding: 20px; position: relative; overflow: hidden; }
.welcome::after { content: ""; position: absolute; width: 160px; height: 160px; right: -70px; top: -70px; border-radius: 50%; background: radial-gradient(circle, rgba(217, 168, 95, .16), transparent 68%); }
.guide-inline { display: flex; gap: 13px; align-items: center; }
.guide-inline img { width: 56px; height: 56px; flex: 0 0 auto; border: 1px solid var(--gold); border-radius: 50%; object-fit: cover; }
.guide-inline strong { display: block; font-family: "Cormorant Garamond", Georgia, serif; font-size: 20px; }
.guide-inline p { margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.next-step { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(232, 192, 132, .14); }
.next-step h2 { font-size: 25px; }
.next-step p { margin: 7px 0 14px; color: var(--muted); font-size: 13px; }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.quick-card { min-height: 124px; padding: 15px; text-align: left; border: 1px solid rgba(226, 181, 114, .17); border-radius: 18px; background: rgba(71, 33, 35, .62); }
.quick-card:first-child { grid-column: 1 / -1; min-height: 108px; }
.quick-card svg { width: 25px; height: 25px; margin-bottom: 12px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.quick-card strong { display: block; font-size: 13px; line-height: 1.35; }
.quick-card span { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; line-height: 1.4; }

.field { display: grid; gap: 7px; }
.field label, .field > span { color: #eadbd1; font-size: 12px; font-weight: 600; }
.input, .textarea { width: 100%; min-height: 52px; padding: 13px 14px; color: var(--cream); border: 1px solid rgba(219, 178, 116, .28); border-radius: 14px; background: rgba(25, 11, 14, .56); outline: none; }
.input::placeholder, .textarea::placeholder { color: #9c8580; }
.input:focus, .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(216, 170, 101, .09); }
.input.invalid { border-color: var(--danger); }
.textarea { min-height: 132px; resize: vertical; line-height: 1.5; }
.textarea.compact { min-height: 86px; }
.error { min-height: 16px; color: var(--danger); font-size: 11px; }
.hint { display: flex; gap: 9px; padding: 12px; border-radius: 14px; background: rgba(216, 170, 101, .09); color: var(--muted); font-size: 11px; line-height: 1.5; }
.hint svg { width: 20px; height: 20px; flex: 0 0 auto; fill: none; stroke: var(--gold); stroke-width: 1.7; }
.toggle-row { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.switch { width: 56px; height: 45px; position: relative; flex: 0 0 auto; border: 0; border-radius: 999px; background: #654145; }
.switch::after { content: ""; position: absolute; width: 24px; height: 24px; left: 4px; top: 10px; border-radius: 50%; background: var(--cream); transition: .2s ease; }
.switch[aria-checked="true"] { background: var(--wine-bright); }
.switch[aria-checked="true"]::after { transform: translateX(24px); }
.suggestions { display: none; margin-top: -2px; padding: 5px; border: 1px solid rgba(220, 177, 111, .22); border-radius: 14px; background: #2b1417; }
.suggestions.open { display: grid; }
.suggestions button { min-height: 44px; padding: 9px 10px; border: 0; border-radius: 10px; background: transparent; text-align: left; }
.suggestions button:hover { background: rgba(216, 170, 101, .1); }
.suggestions button small { display: block; margin-top: 3px; color: var(--muted); font-size: 9px; }
.suggestions-status { padding: 12px 10px; color: var(--muted); font-size: 11px; }
.calculation-error { min-height: 0; }

.chart-wrap { width: min(82vw, 330px); aspect-ratio: 1; margin: 4px auto 16px; position: relative; display: grid; place-items: center; }
.chart-wrap::before { content: ""; position: absolute; inset: 9%; border-radius: 50%; background: radial-gradient(circle, rgba(216,170,101,.12), transparent 68%); box-shadow: 0 0 50px rgba(170, 91, 58, .15); }
.chart-svg { width: 100%; height: 100%; filter: drop-shadow(0 12px 24px rgba(0,0,0,.3)); }
.chart-svg .ring { fill: none; stroke: #d9aa67; stroke-width: 1.5; opacity: .86; }
.chart-svg .fine { fill: none; stroke: #a76052; stroke-width: .65; opacity: .7; }
.chart-svg .aspect { fill: none; stroke: #b89573; stroke-width: .42; opacity: .48; }
.chart-svg .aspect-square, .chart-svg .aspect-opposition { stroke: #c46b79; }
.chart-svg .aspect-trine, .chart-svg .aspect-sextile { stroke: #83b194; }
.chart-svg .house-line { fill: none; stroke: #e3c087; stroke-width: 1.05; opacity: .88; }
.chart-svg .house-axis { stroke: #f0ce91; stroke-width: 1.35; opacity: 1; }
.chart-svg text { fill: #f2d7a8; font-family: Georgia, serif; font-size: 7px; text-anchor: middle; dominant-baseline: middle; }
.chart-svg .house-number { fill: #f5dcae; stroke: #2b1417; stroke-width: 2.4px; paint-order: stroke fill; font-size: 7.5px; font-weight: 700; letter-spacing: -.25px; }
.chart-svg .planet circle { fill: #3d1b20; stroke: #e2b66f; stroke-width: .8; }
.chart-svg .planet text { font-size: 8px; }
.chart-warning { margin-bottom: 9px; padding: 12px 13px; border: 1px solid rgba(231,184,110,.22); border-radius: 14px; background: rgba(231,184,110,.09); color: #ead2aa; font-size: 11px; line-height: 1.45; }
.chart-details { margin-top: 12px; }
.details-list { display: grid; gap: 0; padding-bottom: 12px; }
.details-list > div { min-height: 38px; display: grid; grid-template-columns: 100px 1fr; align-items: center; gap: 8px; border-top: 1px solid rgba(226,184,119,.1); font-size: 10px; }
.details-list > div:first-child { border-top: 0; }
.details-list b { color: #e5d3c7; font-weight: 500; text-align: right; }
.chart-meta { margin-top: 12px; color: var(--muted); font-size: 9px; text-align: center; }
.big-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 14px 0; }
.astro-stat { min-width: 0; padding: 12px 7px; text-align: center; }
.astro-stat b { display: block; margin-bottom: 3px; color: var(--gold-light); font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; }
.astro-stat span { display: block; font-size: 11px; }
.astro-stat small { color: var(--muted); font-size: 9px; }
details { border-top: 1px solid rgba(226, 184, 119, .15); }
details:first-of-type { border-top: 0; }
summary { min-height: 52px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--gold); font-size: 22px; font-weight: 400; }
details[open] summary::after { content: "−"; }
.details-copy { padding: 0 0 15px; color: var(--muted); font-size: 12px; line-height: 1.55; }

.guide-hero { margin: -6px -16px 0; height: 218px; position: relative; overflow: hidden; }
.guide-hero img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 38%; }
.guide-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(28,12,15,.05), #1c0d10 96%); }
.guide-hero .screen-header { position: absolute; z-index: 2; left: 16px; right: 16px; top: 0; }
.guide-name { position: absolute; z-index: 2; left: 17px; bottom: 8px; }
.guide-name h1 { font-size: 35px; }
.guide-name p { color: var(--gold-light); font-size: 11px; }
.chat-screen { padding-top: max(176px, calc(env(safe-area-inset-top) + 160px)); }
.chat { display: grid; gap: 10px; margin-top: 8px; }
.message { max-width: 87%; padding: 13px 14px; border-radius: 18px; font-size: 13px; line-height: 1.55; }
.message.guide { justify-self: start; border-bottom-left-radius: 6px; background: #482427; }
.message.user { justify-self: end; border-bottom-right-radius: 6px; background: #8d2b3e; }
.prompts, .topics { display: flex; gap: 8px; padding: 12px 0 4px; overflow-x: auto; scrollbar-width: none; }
.prompts::-webkit-scrollbar, .topics::-webkit-scrollbar { display: none; }
.chip { min-height: 46px; flex: 0 0 auto; max-width: 220px; padding: 9px 13px; border: 1px solid rgba(216,170,101,.3); border-radius: 999px; background: rgba(67, 30,33,.7); color: #e5d1c5; font-size: 11px; line-height: 1.3; }
.chip.selected { border-color: var(--gold); background: rgba(147, 48, 64, .5); color: var(--cream); }
.chat-compose { position: sticky; z-index: 5; bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 5px); display: grid; grid-template-columns: 1fr 50px; gap: 8px; margin-top: 14px; padding: 8px; border: 1px solid rgba(221,177,110,.18); border-radius: 18px; background: rgba(34, 15, 18, .94); backdrop-filter: blur(14px); }
.chat-compose input { min-width: 0; min-height: 46px; padding: 0 10px; border: 0; color: var(--cream); background: transparent; outline: 0; }
.send { width: 50px; height: 46px; display: grid; place-items: center; border: 0; border-radius: 13px; background: var(--wine-bright); }
.send svg { width: 20px; fill: none; stroke: white; stroke-width: 1.7; }

.question-card { padding: 14px; }
.question-card p { margin-bottom: 11px; font-size: 12px; }
.options { display: flex; flex-wrap: wrap; gap: 7px; }
.option { min-height: 44px; padding: 8px 12px; border: 1px solid rgba(218, 173, 105, .25); border-radius: 12px; background: rgba(31,14,17,.4); font-size: 11px; }
.option.selected { border-color: var(--gold); background: rgba(136, 42, 58, .4); }

.report-cover { padding: 22px; background: linear-gradient(145deg, rgba(115, 42, 49, .7), rgba(48, 22, 24, .95)); }
.report-cover h1 { margin-top: 16px; }
.report-cover p { margin-top: 12px; color: #e0cfc4; font-size: 13px; }
.report-meta { display: flex; gap: 10px; margin-top: 18px; color: var(--gold-light); font-size: 10px; }
.toc { padding: 18px; }
.toc ol { margin: 12px 0 0; padding-left: 22px; color: var(--muted); font-size: 12px; line-height: 2; }
.chapter { margin-top: 14px; padding: 20px; }
.chapter h2 { margin-bottom: 12px; }
.chapter p + p { margin-top: 12px; }
.chapter p, .chapter li { color: #dfd0c6; font-size: 14px; line-height: 1.7; text-align: left; }
.chapter ul { margin: 12px 0 0; padding-left: 20px; }
.chapter li + li { margin-top: 8px; }

.report-card { width: 100%; min-height: 92px; display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; padding: 14px; border: 1px solid rgba(222,179,112,.17); border-radius: 18px; background: rgba(70, 32, 34, .7); text-align: left; }
.report-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; background: rgba(218,170,101,.12); color: var(--gold-light); font-family: "Cormorant Garamond", Georgia, serif; font-size: 24px; }
.report-card strong { display: block; font-size: 12px; line-height: 1.4; }
.report-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 9px; }
.status { display: inline-flex; min-height: 25px; align-items: center; padding: 4px 7px; border-radius: 999px; background: rgba(141,185,145,.12); color: var(--success); font-size: 8px; font-weight: 700; text-transform: uppercase; }
.status.pending { background: rgba(231,184,110,.12); color: var(--warning); }
.status.question { background: rgba(255,141,159,.1); color: var(--danger); }
.empty { padding: 34px 20px; text-align: center; }
.empty .empty-mark { width: 74px; height: 74px; display: grid; place-items: center; margin: 0 auto 18px; border: 1px solid rgba(216,170,101,.25); border-radius: 50%; color: var(--gold); font-family: "Cormorant Garamond", Georgia, serif; font-size: 38px; }
.empty p { margin: 8px 0 20px; color: var(--muted); font-size: 12px; }

.consultation-card { padding: 17px; display: grid; gap: 16px; }
.consultation-card.locked { opacity: .72; }
.consultation-heading { display: grid; grid-template-columns: 44px 1fr; align-items: center; gap: 12px; }
.consultation-heading h3 { font-size: 21px; }
.consultation-heading p { margin-top: 4px; color: var(--muted); font-size: 11px; line-height: 1.4; }
.consultation-card .status { justify-self: start; }
.download-link { text-decoration: none; }
.consultation-progressive { padding-bottom: calc(var(--nav-h) + env(safe-area-inset-bottom) + 52px); }
.consultation-cover { padding-bottom: 20px; }
.consultation-cover p { max-width: 31ch; font-size: 14px; line-height: 1.55; }
.consultation-sections { display: grid; gap: 12px; margin-top: 14px; }
.consultation-accordion { overflow: hidden; }
.consultation-accordion h2 { margin: 0; }
.accordion-trigger { width: 100%; min-height: 60px; display: grid; grid-template-columns: 1fr 28px; align-items: center; gap: 12px; padding: 15px 16px; border: 0; background: transparent; color: var(--cream); font-family: "Cormorant Garamond", Georgia, serif; font-size: 22px; font-weight: 600; line-height: 1.1; text-align: left; }
.accordion-chevron { width: 24px; height: 24px; padding: 3px; border-radius: 50%; background: rgba(216,170,101,.1); fill: none; stroke: var(--gold-light); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.accordion-trigger[aria-expanded="true"] .accordion-chevron { transform: rotate(180deg); }
.accordion-panel { padding: 0 16px 18px; border-top: 1px solid rgba(224,180,116,.12); }
.consultation-key { border-color: rgba(216,170,101,.34); background: linear-gradient(145deg, rgba(112,44,49,.94), rgba(49,23,25,.96)); }
.consultation-key .accordion-trigger { min-height: 68px; color: var(--gold-light); font-size: 25px; }
.consultation-points { margin: 0; padding: 16px 0 0 20px; }
.consultation-points li { color: #efe0d5; font-size: 14px; line-height: 1.65; }
.consultation-points li + li { margin-top: 12px; }
.consultation-copy { display: grid; gap: 14px; padding-top: 16px; }
.consultation-copy p, .basis-intro { color: #e4d4ca; font-size: 14px; line-height: 1.7; }
.consultation-fields { display: grid; gap: 12px; padding-top: 16px; }
.consultation-field, .direction-field { padding: 13px 14px; border-radius: 14px; background: rgba(24,11,14,.32); }
.consultation-field strong, .direction-field strong { display: block; margin-bottom: 6px; color: var(--gold-light); font-size: 12px; line-height: 1.35; }
.consultation-field p, .direction-field p { color: #e1d1c7; font-size: 13px; line-height: 1.65; }
.direction-list { display: grid; gap: 14px; padding-top: 16px; }
.direction-card { position: relative; padding: 18px 14px 14px; border: 1px solid rgba(224,180,116,.18); border-radius: 18px; background: rgba(28,12,15,.36); }
.direction-card h3 { padding: 0 34px 14px 0; color: var(--gold-light); font-size: 22px; }
.direction-number { width: 28px; height: 28px; position: absolute; top: 14px; right: 14px; display: grid; place-items: center; border-radius: 50%; color: var(--gold-light); background: rgba(216,170,101,.14); font-size: 12px; font-weight: 800; }
.direction-field { padding: 11px 12px; background: rgba(82,39,41,.34); }
.direction-field + .direction-field { margin-top: 8px; }
.direction-field p + p { margin-top: 8px; }
.direction-field p span { color: var(--powder); font-weight: 700; }
.direction-field.risk { border-left: 2px solid rgba(231,184,110,.58); }
.inside-title { margin: 16px 0 0; color: var(--gold-light); font-family: Manrope, sans-serif; font-size: 12px; letter-spacing: .06em; text-transform: uppercase; }
.inside-title + .consultation-points { padding-top: 12px; }
.basis-intro { padding-top: 16px; }
.consultation-actions { margin-bottom: 18px; }
.action-item { padding: 15px; display: grid; gap: 12px; }
.action-item strong { display: block; font-size: 13px; line-height: 1.5; }
.action-item small { display: block; margin-top: 5px; color: var(--muted); font-size: 10px; }
.action-item .input { min-height: 46px; }

.profile-guide { display: grid; grid-template-columns: 76px 1fr; align-items: center; gap: 15px; }
.profile-guide > img { width: 76px; height: 76px; border: 1px solid var(--gold); border-radius: 24px; object-fit: cover; }
.guide-picker { display: flex; gap: 7px; margin-top: 10px; }
.guide-picker button { width: 44px; height: 44px; overflow: hidden; padding: 2px; border: 1px solid transparent; border-radius: 50%; background: transparent; }
.guide-picker button.selected { border-color: var(--gold); }
.guide-picker img { width: 100%; height: 100%; border-radius: inherit; object-fit: cover; }
.data-row { min-height: 60px; display: grid; grid-template-columns: 24px 1fr auto; align-items: center; gap: 10px; border-top: 1px solid rgba(222,178,111,.13); }
.data-row:first-child { border-top: 0; }
.data-row svg { width: 20px; fill: none; stroke: var(--gold); stroke-width: 1.5; }
.data-row strong { display: block; font-size: 11px; }
.data-row span { display: block; margin-top: 2px; color: var(--muted); font-size: 10px; }
.data-row button { min-height: 44px; padding: 0 8px; border: 0; background: transparent; color: var(--gold-light); font-size: 10px; }

.notice { margin-bottom: 12px; padding: 11px 13px; border-radius: 14px; background: rgba(141,185,145,.12); color: #bcd6bf; font-size: 11px; line-height: 1.45; }
@media (max-width: 340px) {
  .screen { padding-left: 12px; padding-right: 12px; }
  .brand-lockup b { font-size: 17px; }
  .quick-grid { gap: 8px; }
  .big-three { gap: 5px; }
  .astro-stat { padding-left: 4px; padding-right: 4px; }
  .bottom-nav span { font-size: 9px; }
}
@media (min-width: 700px) {
  .app-shell { margin-top: 18px; min-height: calc(100dvh - 36px); border: 1px solid rgba(220,177,109,.18); border-radius: 32px; overflow: hidden; }
  .screen { min-height: calc(100dvh - 36px); }
  .app-return { top: 28px; }
  .bottom-nav { bottom: 18px; border-radius: 0 0 31px 31px; }
  .consultation-progressive { padding-bottom: calc(var(--nav-h) + 76px); }
}
