/* Free result layout: data band, method disclosure and meaning, and its waiting states. Behavior in assets/js/result-kit.js; the band follows Saturn's report band. */
/* Cells share the row equally however many there are; the method row always spans it (auto-fit grid could not collapse under a full-span row). */
.orymera-result-band { display: flex; flex-wrap: wrap; margin: 8px 0 32px; border: 1px solid var(--orymera-rule-strong); border-radius: 16px; background: var(--orymera-paper-bright); overflow: hidden; }
.orymera-result-band__cell { flex: 1 1 180px; display: grid; grid-template-rows: auto auto 1fr; align-content: start; min-width: 0; padding: 22px 20px; border-top: 1px solid var(--orymera-rule); margin-top: -1px; }
.orymera-result-band__cell + .orymera-result-band__cell { border-left: 1px solid var(--orymera-rule); margin-left: -1px; }
.orymera-result-band__label { margin: 0; color: var(--orymera-text-muted); font-size: 14px; font-weight: 600; }
.orymera-result-band__value { margin: 10px 0 0; color: var(--orymera-ink); font: 400 28px/1.15 var(--orymera-display); letter-spacing: -.02em; font-variant-numeric: lining-nums; overflow-wrap: anywhere; }
.orymera-result-band__ruler { margin-top: 16px; }
.orymera-result-band__ruler .orymera-ruler__mark { top: -6px; width: 2px; height: 18px; }
.orymera-result-band__scale { display: flex; justify-content: space-between; margin: 4px 0 0; color: var(--orymera-text-muted); font: 13px/1.4 var(--orymera-mono); }
.orymera-result-band__foot { align-self: end; margin: 14px 0 0; color: var(--orymera-text-muted); font-size: 15px; line-height: 1.5; white-space: pre-line; }
.orymera-result-band__method { flex-basis: 100%; padding: 6px 20px; border-top: 1px solid var(--orymera-rule); }
.orymera-result-band__method summary { display: flex; min-height: 44px; align-items: center; color: var(--orymera-text-muted); font-size: 14px; font-weight: 600; cursor: pointer; }
.orymera-result-band__method dl { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 6px 20px; margin: 8px 0 12px; font-size: 14px; }
.orymera-result-band__method dt { color: var(--orymera-text-muted); font-weight: 600; }
.orymera-result-band__method dd { margin: 0; font-family: var(--orymera-mono); font-size: 13px; overflow-wrap: anywhere; }
.orymera-result-band__method p { margin: 0 0 12px; color: var(--orymera-text-muted); font-size: 14px; line-height: 1.7; }
/* Profile birthplace differs from the one just used: one question under the band, then gone. */
.orymera-profile-note { display: grid; gap: 10px; margin: -16px 0 32px; padding: 16px 20px; border: 1px solid var(--orymera-rule-strong); border-radius: 12px; background: var(--orymera-accent-wash); font-size: 15px; line-height: 1.5; }
.orymera-profile-note p { margin: 0; }
.orymera-profile-note__actions { display: flex; flex-wrap: wrap; gap: 8px 18px; align-items: center; }
.orymera-profile-note .orymera-button { min-height: 40px; padding: 0 16px; font-size: 14px; }
.orymera-profile-note .orymera-text-link { min-height: 40px; background: none; border: 0; padding: 0; font: inherit; font-weight: 600; cursor: pointer; }
.orymera-result-meaning { margin: 0 0 8px; }
.orymera-result-meaning + .orymera-result-meaning { margin-top: 40px; }
.orymera-result-meaning h2 { margin: 0 0 12px; font: 400 var(--orymera-type-card)/1.3 var(--orymera-display); }
.orymera-result-meaning p { margin: 0 0 14px; line-height: 1.7; }
.orymera-result-meaning__question { padding-left: 16px; border-left: 2px solid var(--orymera-accent); font-family: var(--orymera-display); font-size: 19px; font-style: italic; line-height: 1.5; }
.orymera-result-upsell__note span + span::before { content: " · "; }
[data-cycle-page] .orymera-result-upsell { margin-bottom: 28px; }
.orymera-result-upsell__layer .orymera-result-upsell__label { font-variant-numeric: tabular-nums; }
/* Optional sample paragraph (partials/result/upsell.php `sample`): the question-quote voice, on night. */
.orymera-result-upsell__sample { position: relative; z-index: 1; margin: 34px 0 0; padding-top: 24px; border-top: 1px solid rgb(232 219 210 / 18%); }
.orymera-result-upsell__sample blockquote { margin: 12px 0 0; padding-left: 16px; border-left: 2px solid var(--orymera-accent); }
.orymera-result-upsell .orymera-result-upsell__sample blockquote p { max-width: 62ch; margin: 0; color: var(--orymera-paper-bright); font-family: var(--orymera-display); font-size: 19px; font-style: italic; line-height: 1.5; }
.orymera-result-upsell .orymera-result-upsell__sample > p { margin-top: 12px; }
/* The block sits inside a paper section, whose kicker rule (.orymera-tool-section:not(...) .orymera-kicker) would turn the label dark on night. */
.orymera-result-upsell--on-night .orymera-result-upsell__sample figcaption.orymera-kicker { color: var(--orymera-accent); }

/* Waiting, synchronous results (partials/result/skeleton.php): the band and meaning shapes, replaced in place by the result. */
.orymera-skeleton { display: block; height: 14px; margin: 0 0 12px; border-radius: var(--orymera-r-sm); background: color-mix(in srgb, var(--orymera-ink) 9%, transparent); animation: orymera-skeleton-pulse 1.4s ease-in-out infinite alternate; }
.orymera-skeleton--label { width: 45%; height: 12px; margin: 5px 0; }
.orymera-skeleton--value { width: 70%; height: 26px; margin: 13px 0 3px; }
.orymera-skeleton--foot { width: 55%; height: 12px; margin: 19px 0 5px; }
.orymera-skeleton--summary { width: 168px; height: 12px; margin: 0; }
.orymera-skeleton--heading { width: 38%; height: 26px; margin-bottom: 20px; }
.orymera-skeleton--short { width: 62%; }
.orymera-skeleton--question { width: 72%; height: 22px; margin-top: 22px; border-left: 2px solid var(--orymera-accent); border-radius: 0 var(--orymera-r-sm) var(--orymera-r-sm) 0; }
.orymera-result-skeleton__status { display: flex; grid-column: 1 / -1; min-height: 44px; align-items: center; padding: 6px 20px; border-top: 1px solid var(--orymera-rule); }
.orymera-result-skeleton__status p { display: none; margin: 0; color: var(--orymera-text-muted); font-size: 14px; font-weight: 600; }
.orymera-result-skeleton__status p::before { content: ""; display: inline-block; width: 6px; height: 6px; margin: 0 10px 1px 0; border-radius: 50%; background: var(--orymera-accent); vertical-align: middle; animation: orymera-skeleton-pulse .9s ease-in-out infinite alternate; }
.orymera-result-skeleton.is-waiting .orymera-skeleton--summary { display: none; }
.orymera-result-skeleton.is-waiting .orymera-result-skeleton__status p { display: block; }
.orymera-result-skeleton__meaning { margin: 0 0 28px; }
@keyframes orymera-skeleton-pulse { from { opacity: .45; } to { opacity: 1; } }

/* Waiting, readings written by AI (partials/result/loading.php): one fixed night screen on the calculator and the report, as Saturn's. */
.orymera-processing.orymera-processing--screen { --orymera-ink: var(--orymera-paper-bright); --orymera-label: var(--orymera-mauve-soft); --orymera-text-muted: var(--orymera-mauve-soft); --orymera-rule: rgb(232 219 210 / 18%); position: fixed; z-index: 4; inset: 0; grid-template-rows: 1fr auto; align-content: stretch; min-height: 0; overflow-y: auto; padding: calc(82px + env(safe-area-inset-top)) clamp(20px, 6vw, 80px) calc(20px + env(safe-area-inset-bottom)); background: var(--orymera-night); color: var(--orymera-paper-on-night); animation: none; }
.orymera-processing.orymera-processing--screen[hidden] { display: none; }
.orymera-processing__center { display: grid; align-content: center; justify-items: center; padding: 24px 0; }
.orymera-processing--screen .orymera-processing__kicker { font-size: 12px; }
.orymera-processing--screen .orymera-processing__note { font-size: 14px; }
.orymera-processing__disclaimer { width: min(100%, 780px); margin: 0 auto; color: var(--orymera-text-muted); font-size: 14px; line-height: 1.7; }
body:has(.orymera-processing--screen:not([hidden])) .orymera-header .orymera-header__cta { display: none; }

@media (max-width: 560px) {
    .orymera-result-band__cell { flex-basis: 100%; }
    .orymera-result-band__cell + .orymera-result-band__cell { border-left: 0; margin-left: 0; }
    .orymera-result-band__method dl { grid-template-columns: 1fr; gap: 2px; }
    .orymera-result-band__method dd { margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
    .orymera-skeleton, .orymera-result-skeleton__status p::before, .orymera-processing--screen .orymera-processing__progress span { animation: none; }
}
