:root {
  color-scheme: dark;
  --ground: #0c0913;
  --ink: #f8f0ff;
  --muted: #beb4cc;
  --gold: #e8c58a;
  --line: #3e334d;
  --serif: "Palatino Linotype", "Book Antiqua", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, monospace;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html:has(#member:not([hidden])) { overflow-anchor: none; }
body { margin: 0; background: var(--ground); color: var(--ink); font: 1rem/1.57 var(--sans); }
[hidden] { display: none !important; }
h1, h2, h3, p, ul, ol { margin-block: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; }
a { color: inherit; }
button, input { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .76; }
:focus-visible { outline: 3px solid #ffdf9c; outline-offset: 4px; }
.frame { width: min(1184px, calc(100% - clamp(36px, 10vw, 150px))); margin-inline: auto; }
.skip { position: fixed; z-index: 10; left: 1rem; top: 1rem; padding: .6rem 1rem; background: var(--gold); color: #1a1026; clip-path: inset(50%); }
.skip:focus { clip-path: none; }
.header { background: #100b19; border-bottom: 1px solid #3e304c; }
.header-inner { min-height: 75px; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.wordmark { display: inline-flex; align-items: center; gap: .7rem; font: 600 .79rem/1.2 var(--mono); letter-spacing: .11em; text-decoration: none; }
.wordmark b { color: var(--gold); }
.seal { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #b99a69; border-radius: 50%; font: 1.3rem var(--serif); color: var(--gold); }
.top-nav { display: flex; align-items: center; gap: clamp(.6rem, 3vw, 2.3rem); font-size: .87rem; }
.top-nav a { text-decoration: none; color: var(--muted); padding-block: .55rem; }
.top-nav a:hover, .footer a:hover { color: var(--gold); }
.top-nav .locale { padding: .52rem .82rem; color: var(--ink); border: 1px solid var(--line); border-radius: 2rem; }
.entry {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid #624650;
  background: #140e22;
}
.entry-sky, .entry-orbit { position: absolute; z-index: -1; pointer-events: none; }
.entry-sky {
  inset: 0;
  background:
    linear-gradient(0deg, #140e22 0%, #190f2aec 31%, #2011334d 100%),
    linear-gradient(95deg, #180e27 0%, #25133be6 31%, #33194d51 84%),
    url(carina.webp) 86% 32% / cover no-repeat;
}
.entry-orbit {
  top: -7%;
  right: max(6vw, 32px);
  width: clamp(260px, 34vw, 520px);
  aspect-ratio: 1;
  border: 1px solid #f2cb8c4c;
  border-radius: 50%;
}
.entry-orbit::before, .entry-orbit::after {
  position: absolute;
  inset: 12%;
  border: 1px solid #e9bd8940;
  border-radius: 50%;
  content: "";
}
.entry-orbit::after { inset: -7%; border-style: dashed; opacity: .65; }
.entry-inner { padding-block: clamp(1.35rem, 4vw, 3.4rem) 1.5rem; }
.entry-mast { text-align: center; text-shadow: 0 2px 26px #110916; }
.eyebrow { color: #f3d9a5; font: 600 .75rem/1.35 var(--mono); letter-spacing: .18em; }
.entry h1 {
  margin: .13em 0 .1em;
  font-size: clamp(3rem, 8.4vw, 7.6rem);
  font-weight: 400;
  line-height: .92;
  letter-spacing: -.069em;
}
.entry h1 span { color: #f0cb8d; }
.entry-promise { color: #fff3e3; font: 400 clamp(1.18rem, 3vw, 2.08rem)/1.2 var(--serif); text-wrap: balance; }
.entry-hook { margin: .65rem auto 0; color: #e1d5e9; font-size: clamp(.88rem, 1.5vw, 1rem); text-wrap: balance; }
.entry-pillars {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-block: clamp(1.2rem, 3.4vw, 2.65rem) 1.05rem;
  padding: .75rem .85rem;
  list-style: none;
  background: #1a1027c9;
  border-block: 1px solid #9c788075;
}
.entry-pillars li { display: flex; gap: .64rem; align-items: baseline; padding: .2rem .7rem; }
.entry-pillars li + li { border-left: 1px solid #806d924f; }
.entry-pillars strong { color: #f8dda9; font-size: .87rem; }
.entry-pillars p { color: #e1d5e9; font-size: .82rem; line-height: 1.4; }
.entry-point { width: 5px; height: 5px; flex: 0 0 5px; background: #ffd79b; transform: rotate(45deg); }
.entry-portals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.6rem, 2vw, 1.35rem); }
.entry-portal {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: start;
  padding: clamp(.85rem, 2.6vw, 1.65rem);
  border: 1px solid #8d7281;
  border-top-color: #d6af7d;
  border-radius: 7px;
  background: radial-gradient(ellipse at 100% 0, #51326380, transparent 60%), linear-gradient(155deg, #30203d, #181024 76%);
  box-shadow: 0 14px 34px #0b07115c;
}
.entry-portal:focus-within { border-color: #e6bd83; }
.portal-head { display: flex; align-items: center; gap: .85rem; }
.portal-head h2 {
  margin: .05rem 0 .15rem;
  color: #fff4e5;
  font: 400 clamp(1.5rem, 3.6vw, 2.65rem)/1 var(--serif);
  letter-spacing: -.04em;
}
.portal-seal {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  flex-shrink: 0;
  border: 1px solid #c29b74;
  border-radius: 50%;
  color: #f7dba7;
  background: radial-gradient(circle, #4b3448, #25182e 75%);
  font: 1.75rem var(--serif);
}
.portal-eligibility { margin: .8rem 0 .9rem; color: #eadfeb; font-size: .95rem; line-height: 1.45; }
.portal-eligibility span, .portal-eligibility strong { color: #fedda8; }
.entry-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  min-height: 46px;
  padding: .56rem .84rem;
  border: 1px solid #f9dcaa;
  border-radius: 4px;
  background: linear-gradient(110deg, #fbe2b4, #dfb46e);
  color: #271925;
  text-align: start;
  line-height: 1.2;
  font-weight: 750;
}
.entry-portal .entry-button { width: 100%; margin-top: auto; }
.entry-button:hover:not(:disabled) { background: #ffe7bc; }
.entry-button span { font-size: 1rem; }
.portal-rules { display: inline-grid; align-items: center; min-height: 35px; margin-top: .15rem; color: #e9c892; font-size: .78rem; text-underline-offset: .2em; }
.entry-form {
  display: grid;
  gap: .4rem;
  width: min(100%, 37rem);
  margin: .85rem auto 0;
  padding: 1rem;
  background: #241934;
  border: 1px solid #8d7281;
  border-radius: 6px;
}
.entry-form label { color: #f5d9a4; font-weight: 650; }
.entry-form-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.entry-form p { color: var(--muted); font-size: .84rem; }
.field { display: flex; align-items: center; flex: 1 1 14rem; min-width: 0; padding-right: .65rem; border-radius: 4px; border: 1px solid #8d789c; background: #100b19; }
.field input { flex: 1 1 auto; width: 100%; min-width: 0; min-height: 44px; padding: .6rem; border: 0; background: transparent; color: var(--ink); }
.field input::placeholder { color: #b4a7c0; }
.field span { flex: 0 0 auto; white-space: nowrap; color: #e6d7f3; font: .84rem var(--mono); }
.entry-status { text-align: center; }
.entry-foot { position: relative; font-size: .85rem; }
.entry-foot > p { margin: .85rem 0 .1rem; padding-top: .05rem; text-align: center; color: #e6ddee; }
.entry-help { text-align: center; }
.entry-help summary { display: inline list-item; min-height: 36px; padding-block: .25rem; color: #f0ce9a; cursor: pointer; }
.entry-help-body { display: grid; gap: .5rem; max-width: 50rem; margin: .45rem auto 0; padding: .75rem 1rem; text-align: start; color: #ded4e7; background: #1d142a; border: 1px solid #655072; border-radius: 5px; }
.entry-help-body a { color: var(--gold); text-underline-offset: .2em; }
.entry-help-body p:target { color: var(--ink); }
.quiet { display: inline-flex; align-items: center; gap: 1rem; min-height: 44px; border-radius: 4px; font-weight: 650; }
.research h2, .privacy h2, .workspace h2 { font-size: clamp(2.1rem, 5vw, 3.9rem); letter-spacing: -.05em; line-height: 1.05; }
.method-intro, .privacy p { color: var(--muted); max-width: 60ch; }
.status { min-height: 1.6rem; padding-top: .9rem; color: #dfc99f; font: .84rem/1.55 var(--mono); }
.status:empty { padding: 0; min-height: 0; }
.quiet { background: #21182d; border: 1px solid #755f80; color: var(--ink); padding: .4rem .75rem; }
.packet-evidence a { color: var(--gold); text-underline-offset: .22em; }
.watch-streams h3 { color: var(--gold); font-size: 1rem; }
.watch-results p { color: var(--muted); }
.watch-results { grid-column: 1 / -1; }
.watch-results h3 { margin-bottom: .4rem; }
.watch-streams { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 1.25rem; }
.watch-streams article { border: 1px solid var(--line); border-top-color: #927652; border-radius: 9px; padding: 1rem; background: #181122; overflow-wrap: anywhere; }
.watch-streams h3 + p, .watch-streams li p { font-size: .85rem; margin-top: .4rem; }
.watch-streams ul { list-style: none; padding: 0; }
.watch-streams li { border-top: 1px solid var(--line); padding-top: .8rem; margin-top: .8rem; }
.watch-streams li a { text-underline-offset: .2em; }
.brief-entry { padding: 1rem 1.4rem 0; }
.brief-entry > button { border-color: #f1d7a6; background: var(--gold); color: #21152b; }
.brief-entry > button:hover { color: #21152b; background: #ffdfab; }
.brief-content { max-width: 75ch; padding-block: 1.4rem .75rem; color: var(--muted); }
.brief-content h3 { color: var(--ink); font: 400 clamp(1.5rem, 3.2vw, 2.3rem)/1.15 var(--serif); }
.brief-content h4 { color: var(--gold); margin: 1.2rem 0 .35rem; }
.brief-content p + p { margin-top: .6rem; }
.brief-content ul { padding-left: 1.3rem; }
.brief-content a { color: var(--gold); text-underline-offset: .2em; }
.brief-content .packet-meta { margin-bottom: .45rem; }
.research { background: #130e1d; border-block: 1px solid var(--line); padding-block: clamp(2.8rem, 7vw, 5rem); }
.method-intro { margin-block: .85rem 2.2rem; }
.packets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.packet {
  display: flex; flex-direction: column; gap: .85rem; padding: clamp(1.15rem, 3.25vw, 1.9rem);
  border: 1px solid var(--line); border-top-color: #927652; border-radius: 9px;
  background: #181122; color: var(--muted); scroll-margin-block-start: 1rem;
}
.packet:target { border-color: var(--gold); }
.packet h3 { color: var(--ink); font: 400 clamp(1.45rem, 2.6vw, 2.1rem)/1.16 var(--serif); }
.packet-meta { color: var(--gold); font: .77rem/1.5 var(--mono); }
.packet code { font-size: .9em; color: #e0d0f2; }
.packet-evidence { display: grid; gap: .45rem; margin-top: auto; padding: .75rem 0 0; border-top: 1px solid var(--line); list-style: none; }
.methods { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 1.5rem; list-style: none; padding: 0; }
.methods li { border-top: 1px solid #52405f; padding-block: 1.05rem 1.4rem; }
.methods h3 { color: var(--gold); font-size: 1rem; margin-bottom: .21rem; }
.methods p { color: var(--muted); font-size: .88rem; }
.privacy { display: grid; grid-template-columns: 1fr 1.4fr; gap: 1.2rem 2.5rem; padding-block: 3rem; }
.privacy h2 { font-size: clamp(1.6rem, 3vw, 2.45rem); }
.privacy p + p { margin-top: .8rem; }
.footer { border-top: 1px solid var(--line); background: #100b18; color: var(--muted); font-size: .83rem; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 6rem; padding-block: 1rem; }
.footer strong { color: var(--ink); letter-spacing: .08em; }
.footer p { margin-top: .25rem; }
.footer a { text-underline-offset: .2em; }
@media (prefers-reduced-motion: no-preference) {
  .entry-button, .top-nav a { transition: color .18s, background-color .18s; }
  .workspace:not([hidden]) { animation: arrive .25s ease-out; }
  @keyframes arrive { from { opacity: .55; } to { opacity: 1; } }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
@media (max-width: 820px) {
  .methods { grid-template-columns: repeat(2, 1fr); }
  .packets { grid-template-columns: 1fr; }
  .watch-streams { grid-template-columns: 1fr; }
}
@media (max-width: 630px) {
  .header-inner { min-height: 62px; }
  .top-nav { font-size: .78rem; }
  .wordmark { font-size: .68rem; letter-spacing: .03em; gap: .44rem; }
  .seal { width: 27px; height: 27px; font-size: 1.05rem; }
  .top-nav { gap: .65rem; }
  .entry-inner { width: calc(100% - 28px); }
  .entry-orbit { top: -5%; right: -8%; }
  .entry-pillars { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: .35rem .1rem; }
  .entry-pillars li { gap: .35rem; padding: .28rem .48rem; }
  .entry-pillars li:nth-child(3) { border-left: 0; }
  .entry-pillars strong { font-size: .78rem; }
  .entry-pillars p { font-size: .74rem; }
  .portal-head { flex-wrap: wrap; gap: .35rem; }
  .portal-seal { width: 1.85rem; font-size: 1.1rem; }
  .portal-eligibility { margin-block: .55rem .75rem; font-size: .8rem; }
  .entry-portal .packet-meta { font-size: .65rem; }
  .entry-portal .entry-button { font-size: .83rem; padding-inline: .56rem; }
  .portal-rules { font-size: .73rem; }
  .privacy { grid-template-columns: 1fr; }
  .privacy { padding-block: 2.35rem; }
  .footer-inner { align-items: start; flex-direction: column; }
}
@media (max-width: 370px) {
  .top-nav .nav-member { display: none; }
  body:has(#member[data-public-view]) .top-nav .nav-member { display: inline; }
  .entry-pillars li p { display: none; }
  .portal-head h2 { font-size: 1.28rem; }
  .methods { grid-template-columns: 1fr; }
}

.native-controls {
  display: grid;
  gap: .75rem;
  margin-top: 1rem;
  padding: 1rem 1.25rem;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: #141020;
  color: var(--muted);
  overflow-wrap: anywhere;
}
.native-controls h3 { color: var(--gold); font-family: var(--serif); font-weight: 400; font-size: 1.42rem; }
.native-controls a { color: var(--gold); text-underline-offset: .2em; }
.native-controls button { justify-self: start; }
.native-controls code { color: var(--ink); overflow-wrap: anywhere; }

.member-preview { padding-block: clamp(2.2rem, 5vw, 4.3rem); border-bottom: 1px solid var(--line); }
.preview-heading { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: .5rem 1rem; margin-bottom: 1.3rem; }
.preview-heading h2 { color: #fff0db; font: 400 clamp(2rem, 4.8vw, 3.3rem)/1.09 var(--serif); letter-spacing: -.045em; }
.preview-heading a, .preview-card a { color: var(--gold); text-underline-offset: .22em; }
.preview-heading a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; }
.preview-heading p, .preview-card p, .preview-card li, .preview-card dd { color: var(--muted); }
.preview-heading p { margin-top: .35rem; }
.preview-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem; }
.preview-card { padding: clamp(.95rem, 2.7vw, 1.65rem); border: 1px solid #5f4c69; border-top-color: #a28464; border-radius: 6px; background: #191223; overflow-wrap: anywhere; }
.preview-card:first-child { background: linear-gradient(135deg, #30203e, #1a1325 76%); }
.preview-card h3 { margin-block: .3rem .55rem; color: var(--ink); font: 400 clamp(1.36rem, 2.7vw, 2.05rem)/1.13 var(--serif); }
.preview-card .packet-meta { color: var(--gold); }
.preview-card .preview-meta { margin-top: .65rem; font-size: .79rem; }
.preview-card ul, .preview-card ol { padding-left: 1.2rem; }
.preview-card li + li { margin-top: .3rem; }
.preview-card dl { margin-block: .55rem 0; }
.preview-card dt, .preview-card li strong { color: #f2d8ad; }
.preview-card dd { margin: 0 0 .4rem; }
.preview-card p + p { margin-top: .55rem; }
.atlas { padding-block: clamp(2.6rem, 5vw, 4.4rem); }
.atlas h2 { font-size: clamp(2.25rem, 5.5vw, 4.15rem); line-height: 1.05; letter-spacing: -.045em; }
.atlas-heading, .atlas-controls { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: end; gap: .8rem 2rem; }
.atlas-heading p, .atlas-health, .atlas-card { color: var(--muted); }
.atlas-heading p { max-width: 62ch; }
.atlas-health { display: flex; align-items: baseline; flex-wrap: wrap; gap: .35rem 1.2rem; margin: 1.4rem 0 1.6rem; padding: .8rem 0; border-block: 1px solid var(--line); font-size: .83rem; }
.atlas-health strong, .atlas-health a { color: var(--gold); }
.atlas-health a, .atlas-links a { text-underline-offset: .22em; }
.atlas-controls { grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr) minmax(0, 1fr); margin-bottom: 1.5rem; }
.atlas-controls label { display: grid; gap: .35rem; color: #f4d49c; font-size: .86rem; font-weight: 650; }
.atlas-controls input, .atlas-controls select { width: 100%; min-height: 44px; padding: .55rem .75rem; border: 1px solid #806d92; border-radius: 4px; background: #171121; color: var(--ink); font: inherit; }
.atlas-controls p { color: var(--muted); align-self: end; min-height: 44px; display: grid; align-items: center; font-size: .82rem; }
.atlas-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.atlas-card { display: flex; flex-direction: column; gap: .68rem; padding: clamp(1.05rem, 2.6vw, 1.65rem); background: linear-gradient(140deg, #1b1328, #14101f); border: 1px solid var(--line); border-top: 2px solid #8a6e57; border-radius: 6px; overflow-wrap: anywhere; scroll-margin-block-start: 1rem; }
.atlas-card:target { border-color: var(--gold); }
.atlas-card h3 { color: var(--ink); font: 400 clamp(1.45rem, 2.25vw, 1.95rem)/1.13 var(--serif); }
.atlas-card-meta { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: baseline; gap: .24rem .6rem; font: .76rem/1.4 var(--mono); }
.atlas-card-meta strong { color: var(--gold); text-transform: uppercase; letter-spacing: .055em; }
.atlas-evidence { color: #e7d2f5; font-size: .81rem; }
.atlas-card dl { display: grid; gap: .6rem; margin: .1rem 0 .25rem; }
.atlas-card dt { color: var(--ink); font-size: .84rem; font-weight: 650; }
.atlas-card dd { margin: 0; font-size: .9rem; }
.atlas-links { padding: .62rem 0 0; margin: auto 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-wrap: wrap; gap: .4rem 1.05rem; color: var(--gold); font-size: .86rem; }
.atlas-history { font-size: .84rem; }
.atlas-history summary { min-height: 36px; padding-block: .4rem; cursor: pointer; color: #e7d2f5; }
.atlas-history li + li { margin-top: .55rem; }
.atlas .watch-results { margin-top: 2.15rem; }
.atlas .watch-results > h3 { font: 400 clamp(1.55rem, 3.4vw, 2.45rem) var(--serif); }
@media (max-width: 700px) {
  .atlas-heading, .atlas-grid { grid-template-columns: 1fr; }
  .atlas-controls { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .65rem; }
  .atlas-controls p { grid-column: 1 / -1; min-height: 22px; }
}
@media (max-width: 420px) {
  .atlas-controls { grid-template-columns: 1fr; }
}

.workspace.frame { width: 100%; min-height: 100svh; background: #120c1c; }
#member[data-public-view] { display: none; }
body:has(#member:not([hidden]):not([data-public-view])) > :is(.header, .footer),
body:has(#member:not([hidden]):not([data-public-view])) #main > :not(#member) { display: none; }
.mv { --shell-width: min(1320px, calc(100% - clamp(32px, 8vw, 140px))); overflow-wrap: anywhere; }
.mf-bar { position: sticky; top: 0; z-index: 5; background: #171021; border-bottom: 1px solid #4e3b5c; }
.mf-bar-inner, .mf-destinations, .mf-view, .mv > .mv-section, .mf-disclosure {
  width: var(--shell-width);
  margin-inline: auto;
}
.mf-bar-inner { min-height: 64px; display: flex; align-items: center; justify-content: space-between; gap: .55rem 1.2rem; }
.mf-brand { display: flex; align-items: center; gap: .65rem; color: #f7e6bf; font: 600 .85rem/1.2 var(--mono); }
.mf-brand .seal { width: 31px; height: 31px; flex: none; }
.mf-session { display: flex; align-items: center; flex-wrap: wrap; gap: .25rem clamp(.45rem, 2vw, 1.35rem); justify-content: end; }
.mf-verified { display: inline-flex; align-items: center; gap: .45rem; color: #efd9ac; font-size: .79rem; }
.mf-verified::before { content: ""; width: .42rem; height: .42rem; border-radius: 50%; background: #eecb8f; flex: none; }
.mf-session a, .mf-session button { min-height: 44px; }
.mf-session a { display: inline-flex; align-items: center; gap: .26rem; color: #e9dce9; font-size: .85rem; }
.mf-session button { border-radius: 5px; font-size: .86rem; }
.mf-destinations { display: flex; gap: clamp(.45rem, 3vw, 2.5rem); }
.mf-destinations a {
  display: flex;
  align-items: center;
  min-height: 46px;
  color: #d9cde4;
  padding: .15rem .18rem 0;
  border-bottom: 2px solid transparent;
  font-weight: 640;
  text-decoration: none;
}
.mf-destinations a:hover, .mf-destinations a[aria-current] { color: #ffe2a9; border-color: #e7bc7c; }
.mf-view, .mv > .mv-section { padding-block: clamp(1.6rem, 4vw, 4rem) 2.25rem; }
.mf-arrival { margin-bottom: clamp(1.4rem, 3vw, 2.4rem); }
.mf-arrival #workspace-title { font-size: clamp(3rem, 6.9vw, 7.4rem); line-height: .99; color: #fff4ee; }
.mf-arrival h2 span { color: #f4cb83; }
.mf-arrival p { max-width: 60ch; margin-top: .75rem; color: #ded1e9; font-size: clamp(.98rem, 1.5vw, 1.22rem); }
.mf-canvas { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); align-items: stretch; gap: clamp(.8rem, 2vw, 1.5rem); }
.mv > .mv-section { min-height: 66vh; }
.mv-section > h3 { font: 400 clamp(2.15rem, 5vw, 4.2rem)/1.08 var(--serif); color: var(--ink); letter-spacing: -.035em; margin-bottom: .35rem; }
.mv-section p:not(.packet-meta), .mv-section dd { color: var(--muted); max-width: 85ch; }
.mv-section :is(a, summary), .mf-result-followup a { min-height: 44px; }
.mv { --member-scroll-offset: 8rem; }
.mv :is(.mf-view, .mv-section, .mv-decision, .mv-runner, .mv-tool, #edition-history, #mf-outcome, #mv-screen-result, #mv-run-status) {
  scroll-margin-block-start: var(--member-scroll-offset);
}
.mf-disclosure { padding-block: 1rem 1.6rem; color: #c0b4cb; font-size: .83rem; border-top: 1px solid var(--line); }
.mv .quiet { min-height: 44px; border-radius: 5px; }
.mv .mf-section-intro, .mv .mf-meta { color: var(--gold); font-size: .84rem; margin-block: .15rem .5rem; }
.mf-feature, .atlas-editorial { padding: clamp(1rem, 3vw, 1.9rem); border: 1px solid #846b58; border-radius: 6px; background: linear-gradient(155deg, #302043, #191224 70%); }
.atlas-editorial { margin-bottom: 1.4rem; }
.atlas-editorial p { color: var(--muted); }
.atlas-editorial p + p { margin-top: .4rem; }
.mf-feature h4, .atlas-editorial h3 { color: var(--ink); font: 400 clamp(1.6rem, 3.5vw, 2.65rem)/1.14 var(--serif); margin-block: .4rem; }
.mf-feature dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .85rem 1.4rem; margin-block: 1.1rem; }
.mf-feature dt, .mf-outcome-levels dt { color: var(--ink); font-weight: 650; }
.mf-feature dd, .mf-outcome-levels dd { margin: 0; color: var(--muted); }
.mf-feature .mf-action { color: #21152b; background: #efcc91; padding: .4rem .75rem; text-decoration: none; border-radius: 3px; font-weight: 650; }
.mf-subhead { margin: 1.25rem 0 .35rem; color: var(--ink); }
.mf-goal-link { display: grid; gap: .22rem; border-inline-start: 2px solid #d7ae75; padding: .45rem .9rem; margin-block: .65rem 1.15rem; }
.mf-goal-link a { display: inline-flex; align-items: center; color: var(--gold); }
.mv-timeline li { padding-block: .3rem; }
.mv-timeline span { color: var(--muted); font-size: .78rem; margin-inline-start: .3rem; }
.mf-instructions pre { white-space: pre-wrap; overflow-wrap: anywhere; padding: .55rem; background: #100b19; color: #f4dfa9; border-radius: 3px; }
.mf-outcome-levels { display: grid; gap: .55rem; }
.mv-runner p + p { margin-top: .5rem; }
.goal-studio, .mf-sample { padding: clamp(1.05rem, 3.4vw, 2.4rem); min-width: 0; border-radius: 10px; }
.goal-studio {
  border: 1px solid #866b81;
  background: radial-gradient(ellipse at 90% 0%, #62467180, transparent 65%),
    linear-gradient(137deg, #30203e, #21152e 78%);
}
.goal-studio h3, .mf-sample h3, .mf-outcome h3 { margin-bottom: .65rem; font: 400 clamp(1.65rem, 3.25vw, 3.3rem)/1.11 var(--serif); }
.goal-studio label { display: block; color: #f3e8f5; font-weight: 590; }
.goal-input { display: grid; gap: .7rem; margin-block: .45rem .55rem; }
.goal-input textarea {
  width: 100%;
  min-width: 0;
  min-height: 74px;
  resize: vertical;
  color: var(--ink);
  background: #160f20;
  border: 1px solid #9a80a5;
  border-radius: 5px;
  padding: .65rem .8rem;
  font: inherit;
}
.goal-input textarea::placeholder { color: #c7bad1; }
.goal-input .entry-button, .goal-result .entry-button, .mv-runner .entry-button {
  width: fit-content;
  min-height: 46px;
  justify-content: center;
  gap: 1.2rem;
  text-decoration: none;
  color: #271925;
}
.goal-input .entry-button:hover, .goal-result .entry-button:hover, .mv-runner .entry-button:hover { color: #271925; }
#goal-local { color: #d6c8e0; font-size: .83rem; }
.goal-presets { display: flex; flex-wrap: wrap; gap: .45rem .55rem; margin-top: .8rem; }
.goal-presets button {
  min-height: 44px;
  padding: .45rem .72rem;
  color: #fae0b0;
  background: #2b1e37;
  border: 1px solid #91799b;
  border-radius: 5px;
  text-align: start;
  line-height: 1.2;
  font-size: .88rem;
}
.goal-presets button[aria-pressed="true"] { border-color: #ffdfa8; background: #573b50; }
.goal-studio .goal-more summary { margin: .2rem 0 0; min-height: 44px; font-size: .85rem; }
.goal-more .goal-presets { margin-top: .25rem; }
.mf-sample {
  display: flex;
  flex-direction: column;
  align-items: start;
  border: 1px solid #b28a63;
  background: linear-gradient(165deg, #221631 10%, #291a36ed 55%, #171020f0),
    url("carina.webp") center 42% / cover;
}
.mf-sample .packet-meta { margin: 0 0 .65rem; }
.mf-sample h3 { color: #fff0d9; font-size: clamp(1.65rem, 3.1vw, 2.8rem); }
.mf-sample p:not(.packet-meta) { max-width: 42ch; color: #e5d6e9; margin-bottom: 1rem; }
.mf-sample a { display: inline-flex; align-items: center; gap: .5rem; min-height: 44px; margin-top: auto; color: #ffe1a8; font-weight: 640; text-underline-offset: .23em; }
.mf-journey { margin-block: 1.65rem 1rem; }
.mf-steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  gap: clamp(.25rem, 1vw, .8rem);
  color: #d3c4db;
}
.mf-steps li { display: grid; gap: .12rem; border-top: 2px solid #6f587e; padding: .48rem .2rem; line-height: 1.25; }
.mf-steps li[data-complete] { border-color: #b48c61; }
.mf-steps li[aria-current] { color: #ffe3a8; border-color: #f2ce89; }
.mf-steps span { font: .77rem var(--mono); }
.goal-result { padding: clamp(1rem, 3.45vw, 2.65rem); margin-top: .65rem; border: 1px solid #8c6b7e; border-radius: 9px; background: #21162b; }
.goal-result h4 { margin: .2rem 0 .55rem; font: 400 clamp(1.7rem, 3.4vw, 2.65rem)/1.13 var(--serif); }
#goal-ambition { margin-block: .2rem .65rem; color: #e6d2a5; }
.goal-result .goal-evidence-state { color: #f1cf93; font-size: .83rem; font-weight: 650; }
.goal-match { color: var(--muted); margin-block: .22rem .7rem; font-size: .9rem; }
.goal-evidence { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.8rem; margin-block: 1.15rem; }
.goal-evidence dt, .goal-next h5 { font-weight: 690; color: var(--ink); }
.goal-evidence dd { margin: .18rem 0 0; color: #dacfdf; max-width: 65ch; }
.goal-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .65rem 1.25rem; align-items: center; border-block: 1px solid #674d6a; margin-top: .65rem; padding-block: .8rem; }
.goal-next h5 { font-size: 1rem; margin: 0 0 .2rem; }
.goal-next p { color: #e6d9eb; }
.goal-next p + p { margin-top: .35rem; font-size: .9rem; }
#goal-action[aria-busy] { opacity: .78; cursor: progress; }
#goal-edit { margin-top: .7rem; }
.mv-tool .mf-tool-purpose { color: #f1d8a9; margin-block: .4rem; }
.workspace .brief-entry { padding: 1.1rem 0 .2rem; }
.mf-related { padding-block: .6rem; color: var(--muted); }
.mf-related summary, .mf-related a { color: var(--gold); cursor: pointer; }
.mv-timeline { padding-inline-start: 1.1rem; margin-block: .8rem; }
.mv-timeline time { display: inline-block; font: .83rem var(--mono); color: var(--gold); margin-inline-end: .6rem; }
.mv-timeline a { text-underline-offset: .2em; }
.mv-links a { display: inline-flex; align-items: center; min-height: 44px; color: var(--gold); text-underline-offset: .22em; }
.mv-links { display: flex; flex-wrap: wrap; gap: .1rem 1rem; margin-top: .7rem; }
.mv-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); align-items: start; gap: 1rem; margin-block: 1rem; }
.mv-decision, .mv-tool, .mv-runner { padding: clamp(.85rem, 2.4vw, 1.4rem); border: 1px solid var(--line); border-top-color: #a08462; border-radius: 6px; background: #191224; min-width: 0; }
.mv .packet-meta { color: var(--gold); }
.mv-decision h4, .mv-tool h4, .mv-runner h4 { font: 400 1.35rem/1.22 var(--serif); color: var(--ink); margin: .35rem 0 .5rem; }
.mv-decision dl { display: grid; gap: .7rem; }
.mv-decision dd, .mv-measures dd { margin: 0; color: var(--muted); }
.mv-decision dt, .mv-measures dt { font-weight: 650; }
.mv summary { margin-top: .65rem; padding-block: .35rem; color: var(--gold); cursor: pointer; }
.mv .mv-source-date { font-size: .86rem; margin-top: .5rem; }
.mv-filters, .mv-facets, .mv-measures { display: grid; gap: .75rem; margin-block: .9rem; }
.mv-facets, .mv-measures { grid-template-columns: repeat(2,minmax(0,1fr)); }
.mv-filters label, .mv-actions label { display: grid; gap: .3rem; min-width: 0; font-size: .87rem; color: #f4d49c; }
.mv-filters input, .mv-filters select, .mv-actions input[type=file] { width: 100%; min-height: 44px; border: 1px solid #806d92; border-radius: 4px; padding: .45rem; background: #100b19; color: var(--ink); font: inherit; }
.mv-actions { display: flex; flex-wrap: wrap; align-items: end; gap: .6rem; margin-block: .7rem; }
.mv-actions label { flex: 1 1 13rem; max-width: 100%; }
.mv-check { display: flex; align-items: start; gap: .45rem; margin-top: .8rem; color: var(--ink); }
.mv-check input { margin-top: .4rem; flex-shrink: 0; }
.mv-plan { white-space: pre-line; font-size: .86rem; }
.mv-measures > div { padding: .65rem; border-left: 2px solid #8e7055; background: #1b1426; }
.mf-outcome {
  margin-top: 1.2rem;
  padding: clamp(1rem, 3.5vw, 2.4rem);
  border: 1px solid #af895f;
  border-radius: 10px;
  background: radial-gradient(ellipse at 11% 10%, #5d3c493f, transparent 62%), #22172c;
}
#mv-screen-result {
  display: grid;
  grid-template-columns: minmax(0, .68fr) minmax(0, 1.35fr);
  gap: 1rem clamp(1rem, 4vw, 3rem);
  margin-block: 1.1rem .45rem;
  align-items: center;
}
#mv-screen-result details { grid-column: 1 / -1; border-top: 1px solid #6c526b; }
#mv-screen-result details :is(p, ul) { margin-bottom: .6rem; }
#mv-screen-result details a { color: #f6d498; }
.mf-result-metric { display: grid; align-items: baseline; gap: .1rem; color: #f9d8a0; }
.mf-result-metric strong { font: 400 clamp(4rem, 11vw, 7rem)/.95 var(--serif); font-variant-numeric: lining-nums; }
.mf-result-finding h4 { color: var(--ink); font: 400 clamp(1.4rem, 3.3vw, 2.2rem)/1.14 var(--serif); margin: 0 0 .45rem; }
.mf-result-verdict { color: #f8d396; font-weight: 690; margin-bottom: .4rem; }
.mf-result-followup { display: flex; gap: .4rem 1rem; flex-wrap: wrap; align-items: center; }
.mf-result-followup a { display: inline-flex; align-items: center; color: #fbdba3; text-underline-offset: .25em; }
#mf-keep-controls { margin-top: .8rem; max-width: 66ch; }
#mv-export { margin-top: .6rem; }
#mv-demo { margin-top: .7rem; }
#goal-keeper, #edition-history, .mf-reopen { padding-block: .35rem; max-width: 80ch; }
#goal-keeper summary, #edition-history summary { min-height: 44px; }
.mv #mf-result-empty { margin-top: .65rem; }
#mf-current-result { display: inline-flex; align-items: center; color: var(--gold); }
@media (max-width: 780px) {
  .mf-canvas { grid-template-columns: 1fr; }
  .goal-next { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .preview-grid, .mv-grid, .mv-measures, .mf-feature dl { grid-template-columns: 1fr; }
  .mv { --member-scroll-offset: 10.25rem; }
  .mf-bar-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; padding-top: .35rem; gap: 0 .45rem; }
  .mf-session { display: contents; }
  .mf-brand { grid-column: 1 / span 2; }
  .mf-session .mf-verified { grid-row: 2; grid-column: 1; }
  .mf-public-link { grid-row: 2; grid-column: 2; justify-self: end; }
  .mf-language { grid-row: 2; grid-column: 3; justify-self: end; min-width: 44px; justify-content: end; }
  #lock { grid-row: 1; grid-column: 3; justify-self: end; }
  .mf-destinations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .3rem; }
  .mf-destinations a { font-size: .81rem; justify-content: center; text-align: center; }
  .mf-view, .mv > .mv-section { padding-block: 1.35rem 1.65rem; }
  .mf-arrival { margin-bottom: 1rem; }
  .mf-arrival p { margin-top: .45rem; }
  .goal-studio h3 { font-size: clamp(1.55rem, 6vw, 2.05rem); }
  .goal-studio label { font-size: .9rem; }
  .goal-input .entry-button { width: 100%; }
  .goal-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .goal-presets button { padding: .35rem .5rem; font-size: .8rem; }
  .mf-sample p:not(.packet-meta) { font-size: .9rem; margin-bottom: .4rem; }
  .mf-steps { font-size: .73rem; }
  .goal-evidence, #mv-screen-result { grid-template-columns: 1fr; }
}
@media (max-width: 420px) { .mv-facets { grid-template-columns: 1fr; } }

.mf-bar-inner .mf-intelligence-link { color: #f4d38f; display: inline-flex; align-items: center; min-height: 44px; font-size: .85rem; }
.foundry-panel { max-width: 890px; }
.foundry-panel > h3 span { color: #f4d38f; }
.foundry-example, .foundry-entry {
  background: linear-gradient(135deg, #342146, #1d1428 68%);
  border: 1px solid #745b78;
  border-inline-start: 3px solid #e7c58c;
  border-radius: .7rem;
  padding: clamp(1rem, 3vw, 1.65rem);
  margin-block: 1rem 1.5rem;
}
.foundry-example { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .85rem 1.5rem; }
.foundry-example p { margin: 0; }
.foundry-example .packet-meta { margin-block-end: .35rem; }
.foundry-stage { border-block-start: 1px solid #594566; padding-block: 1rem; margin-block: 1rem; }
.foundry-stage summary, .foundry-stage label { color: #f9ebd6; }
.foundry-stage summary { cursor: pointer; padding: .6rem 0; }
.foundry-stage label:not(.mv-check) { display: block; margin-block: .85rem .3rem; }
.foundry-stage input:not([type=checkbox]), .foundry-stage textarea {
  width: 100%; max-width: 100%; box-sizing: border-box;
  color: #f9ebef; background: #21182b; border: 1px solid #886b93; border-radius: .4rem;
  padding: .55rem .75rem; margin-block: .25rem .6rem; font: inherit;
}
.foundry-stage input[type=file] { font-size: .88rem; }
.foundry-stage textarea { resize: vertical; }
.foundry-stage .foundry-fields { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .25rem 1rem; }
.foundry-stage .foundry-modes { display: grid; gap: .3rem; margin-block: .5rem; }
.foundry-stage pre, .foundry-stage .foundry-comparison { white-space: pre-wrap; overflow-wrap: anywhere; }
.foundry-stage pre:not(:empty) { padding: .85rem; border: 1px solid #594566; background: #21182b; border-radius: .4rem; max-height: 18rem; overflow: auto; }
.foundry-stage .foundry-binding { color: #e6cdaa; font-size: .88rem; }
.foundry-panel .mv-actions { align-items: start; }
.foundry-panel .mv-actions label { margin: 0; }
.foundry-library-items { padding: 0; list-style: none; }
.foundry-library-items li { padding: .85rem 0; border-top: 1px solid #594566; overflow-wrap: anywhere; }
.foundry-library-items p { margin: .35rem 0; color: #e6cdaa; font-size: .9rem; }
.foundry-pilot-table { max-width: 100%; overflow-x: auto; border: 1px solid #594566; border-radius: .4rem; }
.foundry-pilot-table table { width: 100%; border-collapse: collapse; text-align: left; }
.foundry-pilot-table th, .foundry-pilot-table td { padding: .55rem .7rem; overflow-wrap: anywhere; }
.foundry-pilot-table thead { background: #281b36; color: #f4d38f; }
.foundry-pilot-table tbody tr + tr { border-top: 1px solid #594566; }
.foundry-learning { border-top: 1px solid #987950; }
.foundry-learning-steps:not([hidden]) { display: grid; gap: .5rem; padding-left: 1.35rem; }
.foundry-learning-steps li { padding: .48rem .65rem; background: #20172c; border-radius: .35rem; }
.foundry-learning-steps li strong { color: #f4d38f; margin-right: .55rem; }
@media (max-width: 640px) {
  .mf-bar-inner .mf-intelligence-link { grid-row: 3; grid-column: 1 / -1; width: fit-content; min-height: 44px; }
  .foundry-example, .foundry-stage .foundry-fields { grid-template-columns: 1fr; }
  .foundry-example .entry-button { width: 100%; white-space: normal; }
}
