:root {
  --ink: #17344a;
  --ink-soft: #637986;
  --paper: #edf4f7;
  --paper-deep: #e8eef2;
  --white: #ffffff;
  --forest: #174f63;
  --forest-light: #174f63;
  --sage: #a8bbc6;
  --moss: #d9e5eb;
  --amber: #c8893f;
  --danger: #9c382f;
  --line: #cbdce5;
  --shadow: 0 16px 44px rgba(34, 52, 68, .10);
  --radius-lg: 14px;
  --radius-md: 10px;
  --sans: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: "Source Sans 3", "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
button, input, select, textarea { font: inherit; }
textarea[readonly] { color: var(--ink); background: #f8f5ee; cursor: default; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }

.skip-link { position: fixed; z-index: 100; left: 16px; top: -80px; padding: 12px 18px; background: var(--white); border-radius: 10px; }
.skip-link:focus { top: 12px; }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }

.site-header {
  height: 86px;
  padding: 0 clamp(22px, 4.5vw, 72px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  z-index: 10;
  background: rgba(244, 241, 233, .94);
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 13px; text-decoration: none; min-width: max-content; }
.brand-copy { display: grid; line-height: 1; gap: 5px; letter-spacing: .14em; }
.brand-copy strong { font-size: 13px; }
.brand-copy small { font-size: 8px; letter-spacing: .28em; color: var(--forest-light); }

.desktop-nav { display: flex; gap: clamp(20px, 3vw, 46px); margin-left: auto; }
.desktop-nav a { font-size: 13px; font-weight: 650; text-decoration: none; color: var(--ink-soft); }
.desktop-nav a:hover { color: var(--forest); }

.button { display: inline-flex; align-items: center; justify-content: center; min-height: 47px; padding: 0 21px; border: 1px solid transparent; border-radius: 100px; font-weight: 700; font-size: 13px; letter-spacing: .015em; text-align: center; text-decoration: none; cursor: pointer; transition: transform .2s, background .2s, color .2s, border .2s; }
.button:hover:not(:disabled) { transform: translateY(-2px); }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid rgba(200, 128, 70, .4); outline-offset: 3px; }
.button:disabled { cursor: not-allowed; opacity: .45; }
.button-primary { color: white; background: var(--forest); box-shadow: 0 10px 24px rgba(24, 63, 53, .18); }
.button-primary:hover:not(:disabled) { background: #34495c; }
.button-quiet { color: var(--forest); background: transparent; border-color: rgba(24, 63, 53, .35); }
.header-login { min-height: 39px; padding: 0 17px; }
.button-full { width: 100%; }
.text-link { font-size: 13px; font-weight: 750; text-underline-offset: 5px; }
.text-link span { margin-left: 5px; }
.text-link.light { color: white; }

.hero {
  min-height: 710px;
  padding: 85px clamp(24px, 7vw, 112px) 100px;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(390px, .82fr);
  align-items: center;
  gap: clamp(50px, 8vw, 130px);
  position: relative;
  overflow: hidden;
}
.hero::before { content: ""; position: absolute; width: 570px; height: 570px; border: 1px solid rgba(24, 63, 53, .1); border-radius: 50%; right: -250px; top: -170px; }
.hero-grain { position: absolute; inset: 0; opacity: .18; pointer-events: none; background-image: radial-gradient(rgba(24,34,31,.18) .55px, transparent .55px); background-size: 5px 5px; mask-image: linear-gradient(90deg, transparent 10%, black 80%); }
.hero-copy { position: relative; z-index: 1; max-width: 720px; }
.eyebrow, .step-overline { margin: 0 0 19px; color: var(--forest-light); font-size: 11px; font-weight: 800; letter-spacing: .2em; text-transform: uppercase; }
.hero h1, .section-heading h2, .safety-copy h2, .about-statement h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
.hero h1 { max-width: 760px; font-size: clamp(40px, 4.2vw, 60px); line-height: 1.02; letter-spacing: -.045em; margin: 0 0 28px; }
.hero h1 em { font-weight: 400; color: var(--forest-light); }
.hero-lead { max-width: 620px; margin: 0; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.56; color: var(--ink-soft); }
.hero-lead strong { display: block; margin-bottom: 8px; color: var(--ink); font-weight: 700; }
.hero-actions { display: flex; align-items: center; gap: 12px; margin-top: 34px; flex-wrap: wrap; }
.hero-evidence {
  position: relative;
  z-index: 1;
  padding: clamp(28px, 4vw, 44px);
  background: rgba(255,255,255,.92);
  border: 1px solid #cbdce5;
  border-radius: 12px;
  box-shadow: 0 18px 55px rgba(40,56,70,.10);
}
.hero-evidence .eyebrow { margin-bottom: 10px; }
.hero-evidence h2 { margin: 0; color: #17344a; font-size: clamp(27px, 3vw, 38px); line-height: 1.12; }
.example-flow { display: grid; gap: 9px; margin: 28px 0 20px; }
.example-flow > div { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; align-items: center; padding: 12px 14px; background: #f2f6f8; border-radius: 7px; }
.example-flow > div > span { display: grid; place-items: center; width: 28px; height: 28px; color: #fff; background: var(--forest); border-radius: 50%; font-size: 12px; font-weight: 750; }
.example-flow p, .example-flow b, .example-flow small { display: block; margin: 0; }
.example-flow b { color: var(--ink); font-size: 13px; }
.example-flow small { margin-top: 2px; color: #627783; font-size: 11px; line-height: 1.4; }
.hero-evidence-note { margin: 0; color: #526774; font-size: 12px; line-height: 1.6; }
.trust-row { display: flex; gap: clamp(22px, 3vw, 43px); margin-top: 58px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); font-size: 11px; letter-spacing: .03em; text-transform: uppercase; }
.trust-row b { color: var(--amber); margin-right: 5px; }

.hero-visual { position: relative; min-height: 520px; display: grid; place-items: center; }
.hero-visual::before { content: ""; position: absolute; width: 540px; height: 540px; border-radius: 50%; background: #d9ded0; }
.case-card { position: relative; z-index: 2; width: min(100%, 440px); min-height: 472px; background: var(--white); border: 1px solid rgba(24,63,53,.12); border-radius: 8px; padding: 30px 32px 25px; box-shadow: var(--shadow); transform: rotate(-1.6deg); }
.case-card-back { position: absolute; z-index: 1; background: var(--forest); transform: rotate(5deg) translate(13px, 1px); opacity: .92; }
.case-card-head, .case-card-foot { display: flex; align-items: center; justify-content: space-between; color: #6c7771; font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.status-dot { display: inline-flex; align-items: center; gap: 7px; color: var(--forest-light); }
.status-dot::before { content: ""; width: 6px; height: 6px; background: var(--forest-light); border-radius: 50%; }
.case-card blockquote { margin: 58px 0 45px; font-family: var(--serif); font-size: 32px; line-height: 1.18; }
.question-preview > p { color: #7a847e; font-size: 9px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.question-preview > div { display: grid; grid-template-columns: 27px 1fr; gap: 8px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); }
.question-preview span { color: var(--amber); font-size: 10px; }
.question-preview b { font-size: 12px; line-height: 1.45; }
.case-card-foot { margin-top: 27px; }
.case-card-foot i { width: 100px; height: 3px; background: var(--paper-deep); }
.case-card-foot i b { display: block; width: 43%; height: 100%; background: var(--forest-light); }

.boundary-strip { padding: 18px clamp(24px, 7vw, 112px); background: var(--forest); color: white; display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.boundary-strip p { margin: 0; font-size: 12px; line-height: 1.5; }
.boundary-strip strong { color: #d8e2d5; margin-right: 4px; }
.boundary-strip a { font-size: 11px; font-weight: 800; min-width: max-content; text-underline-offset: 4px; }

.studio-section, .method-section, .value-section, .membership-section, .quality-section, .about-section { padding: 115px clamp(24px, 7vw, 112px); }
.section-heading { margin-bottom: 58px; }
.section-heading h2 { margin: 0; font-size: clamp(43px, 5vw, 66px); line-height: 1; }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr); gap: 70px; align-items: end; }
.split-heading > p { color: var(--ink-soft); line-height: 1.7; margin: 0; }

.studio-shell { display: grid; grid-template-columns: 270px minmax(0, 1fr); min-height: 760px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.studio-steps { display: flex; flex-direction: column; padding: 34px 25px; background: #e8e6dd; border-right: 1px solid var(--line); }
.case-kicker { padding: 0 8px 25px; border-bottom: 1px solid var(--line); }
.case-kicker span { display: block; color: #77817c; font-size: 9px; font-weight: 800; letter-spacing: .15em; margin-bottom: 7px; }
.case-kicker strong { font-family: var(--serif); font-size: 20px; font-weight: 400; }
.studio-steps ol { list-style: none; padding: 22px 0; margin: 0; display: grid; gap: 3px; }
.studio-steps li { display: grid; grid-template-columns: 30px 1fr; gap: 11px; align-items: center; padding: 14px 9px; border-radius: 12px; color: #7d8581; }
.studio-steps li > span { width: 27px; height: 27px; display: grid; place-items: center; border: 1px solid #abb1ac; border-radius: 50%; font-size: 10px; }
.studio-steps li b, .studio-steps li small { display: block; }
.studio-steps li b { font-size: 12px; margin-bottom: 3px; }
.studio-steps li small { font-size: 9px; }
.studio-steps li.is-active { background: var(--white); color: var(--forest); box-shadow: 0 5px 16px rgba(29,42,36,.06); }
.studio-steps li.is-active > span { color: white; background: var(--forest); border-color: var(--forest); }
.studio-steps li.is-complete > span { font-size: 0; background: var(--forest-light); border-color: var(--forest-light); }
.studio-steps li.is-complete > span::after { content: "✓"; color: white; font-size: 11px; }
.privacy-note { margin-top: auto; display: grid; grid-template-columns: 25px 1fr; gap: 10px; padding: 16px 12px; background: rgba(255,255,255,.45); border-radius: 12px; color: #616c66; }
.lock-mark { width: 18px; height: 14px; margin-top: 7px; border: 1.5px solid currentColor; border-radius: 3px; position: relative; }
.lock-mark::before { content: ""; position: absolute; width: 10px; height: 9px; left: 2.5px; top: -9px; border: 1.5px solid currentColor; border-bottom: 0; border-radius: 8px 8px 0 0; }
.privacy-note p { font-size: 9px; line-height: 1.55; margin: 0; }

.studio-panel { padding: clamp(36px, 5vw, 72px); position: relative; overflow: hidden; }
.app-step { animation: stepIn .35s ease both; }
@keyframes stepIn { from { opacity: 0; transform: translateY(8px); } }
.studio-panel h3 { font-family: var(--serif); font-size: clamp(33px, 4vw, 48px); line-height: 1.05; font-weight: 400; letter-spacing: -.025em; margin: 0 0 16px; }
.step-intro { max-width: 770px; margin: 0 0 34px; color: var(--ink-soft); line-height: 1.65; }
.guardrail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin-bottom: 32px; }
.guardrail-grid article { padding: 20px; background: #f1efe7; border-radius: 14px; }
.guardrail-grid span, .method-grid > article > span { color: var(--amber); font-size: 10px; font-weight: 800; }
.guardrail-grid h4 { font-size: 13px; margin: 23px 0 7px; }
.guardrail-grid p { color: #3f4b46; font-size: 12px; line-height: 1.55; margin: 0; }
fieldset { border: 0; padding: 0; margin: 0; }
.checklist { border-top: 1px solid var(--line); padding-top: 24px; }
.checklist legend, .stop-checks legend { font-size: 12px; font-weight: 800; margin-bottom: 15px; }
.checklist label { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; margin: 12px 0; color: #38453f; font-size: 13px; line-height: 1.5; }
input[type="checkbox"], input[type="radio"] { accent-color: var(--forest); width: 16px; height: 16px; margin: 1px 0 0; }
.panel-actions { display: flex; justify-content: space-between; gap: 14px; padding-top: 32px; margin-top: 35px; border-top: 1px solid var(--line); }
.panel-actions-end { justify-content: flex-end; }
.field-label, .form-grid label, dialog > label { display: grid; gap: 9px; font-size: 11px; font-weight: 800; letter-spacing: .03em; }
textarea, select, input[type="email"], input[type="text"] { width: 100%; color: var(--ink); background: #f4f2eb; border: 1px solid transparent; border-radius: 12px; padding: 14px 16px; }
textarea { resize: vertical; min-height: 134px; line-height: 1.55; font-size: 16px; }
textarea:focus, select:focus, input:focus { border-color: var(--forest-light); background: white; outline: 0; box-shadow: 0 0 0 3px rgba(46,103,86,.12); }
.field-meta { display: flex; justify-content: space-between; margin: 8px 2px 25px; color: #7a837e; font-size: 10px; }
.inline-button { padding: 0; border: 0; background: none; color: var(--forest-light); font-weight: 800; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.stop-checks { margin-top: 30px; padding: 22px; border-radius: 15px; border: 1px solid #dbc8b4; background: #fbf6ec; }
.stop-checks > p { margin: -8px 0 17px; font-size: 11px; color: #75685b; }
.stop-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stop-grid label { display: grid; grid-template-columns: 18px 1fr; gap: 8px; font-size: 10px; line-height: 1.45; }
.safety-alert { margin-bottom: 28px; padding: 18px 20px; background: #fae9e5; color: #6f211c; border: 1px solid #e3b9b3; border-radius: 13px; font-size: 12px; line-height: 1.55; }
.safety-alert strong { display: block; margin-bottom: 4px; }
.source-safety-notice { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; margin: -7px 0 22px; padding: 11px 13px; color: #5d4930; background: #fff9ed; border: 1px solid #ead8b8; border-left: 3px solid #c28b3c; border-radius: 7px; font-size: 12px; line-height: 1.5; }
.source-safety-notice[hidden] { display: none; }
.source-safety-notice strong, .source-safety-notice span { display: block; }
.source-safety-notice strong { margin-bottom: 1px; color: #463725; font-size: 12px; }
.source-safety-mark { display: grid !important; place-items: center; width: 19px; height: 19px; margin-top: 1px; color: #fff; background: #a9712a; border-radius: 50%; font-size: 12px; font-weight: 800; line-height: 1; }
.safety-flag-banner { margin-bottom: 22px; padding: 16px 18px; background: #fff2ef; color: #6f211c; border: 1px solid #e5bdb5; border-radius: 7px; font-size: 13px; line-height: 1.55; display: flex; gap: 16px; align-items: flex-start; justify-content: space-between; }
.safety-flag-banner[hidden] { display: none; }
.safety-flag-banner p { margin: 0; }
.safety-flag-banner.is-soon { background: #fff6e8; color: #6a3f12; border-color: #e4c9a0; }
.safety-flag-dismiss { flex: 0 0 auto; min-height: 32px; padding: 0 12px; border: 1px solid currentColor; border-radius: 100px; background: transparent; color: inherit; font-size: 12px; font-weight: 700; cursor: pointer; }
.expander-option small { display: none; }
.step-title-row, .results-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 25px; }
.question-count, .demo-badge { min-width: max-content; color: var(--forest-light); background: #e8efe8; border-radius: 100px; padding: 8px 12px; font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.dynamic-questions { display: grid; gap: 14px; }
.question-card { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; }
.question-card-head { display: grid; grid-template-columns: 34px 1fr; gap: 12px; padding: 17px 19px; background: #f5f3ec; }
.question-card-head > span { color: var(--amber); font-size: 10px; font-weight: 800; }
.question-card-head h4 { margin: 0 0 4px; font-size: 13px; }
.question-card-head p { margin: 0; color: #748078; font-size: 10px; }
.answer-options { display: flex; flex-wrap: wrap; gap: 7px; padding: 13px 18px 18px 64px; }
.answer-options label { cursor: pointer; }
.answer-options input { position: absolute; opacity: 0; pointer-events: none; }
.answer-options span { display: block; padding: 9px 12px; border: 1px solid var(--line); border-radius: 100px; color: var(--ink-soft); font-size: 10px; }
.answer-options input:checked + span { background: var(--forest); color: white; border-color: var(--forest); }
.answer-options input:focus-visible + span { outline: 3px solid rgba(200,128,70,.4); outline-offset: 2px; }
.review-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: 14px; }
.review-card { padding: 25px; background: #f3f1e9; border-radius: 15px; }
.card-label { font-size: 9px; font-weight: 800; letter-spacing: .13em; opacity: .65; }
.review-card blockquote { font-family: var(--serif); font-size: 24px; line-height: 1.25; margin: 30px 0; }
.review-card dl { display: flex; flex-wrap: wrap; gap: 13px 25px; margin: 0; }
.review-card dl div { display: grid; gap: 3px; }
.review-card dt { color: #77827c; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; }
.review-card dd { font-size: 11px; margin: 0; }
.summary-list { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 23px; }
.summary-item { display: grid; grid-template-columns: 9px 1fr; gap: 11px; padding: 12px 14px; background: #faf8f3; border: 1px solid var(--line); border-radius: 11px; }
.summary-item::before { content: ""; width: 6px; height: 6px; margin-top: 5px; border-radius: 50%; background: var(--forest-light); }
.summary-item b, .summary-item span { display: block; }
.summary-item b { font-size: 10px; margin-bottom: 4px; }
.summary-item span { color: #737e78; font-size: 9px; }
.result-boundary { margin: 18px 0 23px; padding: 16px 18px; background: #fbf4e6; border-left: 3px solid var(--amber); }
.result-boundary strong { font-size: 11px; }
.result-boundary p { margin: 5px 0 0; color: #75685b; font-size: 10px; line-height: 1.5; }
.source-index { display: grid; gap: 9px; }
.source-row { display: grid; grid-template-columns: 33px minmax(120px, .65fr) minmax(170px, 1fr) 80px; gap: 14px; align-items: center; padding: 14px 17px; border: 1px solid var(--line); border-radius: 12px; }
.source-row > span { color: var(--amber); font-size: 11px; }
.source-name b, .source-name small { display: block; }
.source-name b { font-family: var(--serif); font-size: 18px; font-weight: 400; }
.source-name small { color: #7a847f; font-size: 8px; margin-top: 3px; }
.source-answer { color: #34413b; font-size: 12px; line-height: 1.45; }
.source-matches { text-align: right; font-size: 9px; color: #6e7872; }
.trace-details { margin-top: 17px; border: 1px solid var(--line); border-radius: 12px; }
.trace-details summary { padding: 15px 17px; cursor: pointer; font-size: 10px; font-weight: 800; }
.trace-details > div { padding: 0 17px 17px; color: #65716b; font-size: 9px; line-height: 1.65; }
.trace-table { width: 100%; border-collapse: collapse; }
.trace-table th, .trace-table td { padding: 8px 5px; text-align: left; border-top: 1px solid var(--line); }

.method-section { background: #e9e5da; }
.method-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.method-grid article { display: grid; grid-template-columns: 45px 1fr; gap: 13px; min-height: 205px; padding: 34px; background: var(--paper); }
.method-grid h3 { margin: 0 0 15px; font-family: var(--serif); font-size: 28px; font-weight: 400; }
.method-grid p { margin: 0; color: var(--ink-soft); font-size: 12px; line-height: 1.65; }

.value-section { background: var(--white); }
.value-section .section-heading > p:last-child { max-width: 920px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.benefit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.benefit-grid article { padding: clamp(26px, 3.5vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-md); background: #f7fafb; }
.benefit-grid article > span { color: var(--forest); font-size: 10px; font-weight: 750; letter-spacing: .14em; }
.benefit-grid h3 { margin: 15px 0 10px; font-size: 24px; font-weight: 600; }
.benefit-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.section-cta { display: flex; align-items: stretch; justify-content: center; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.section-cta .button { min-height: 50px; }
.result-preview-section { padding: 72px clamp(28px, 7vw, 96px); background: #edf4f7; border-top: 1px solid #dbe3e8; }
.result-preview-section .section-heading > p:last-child { max-width: 820px; color: var(--ink-soft); font-size: 16px; line-height: 1.65; }
.result-preview-shell { overflow: hidden; background: #fff; border: 1px solid #c8d7df; border-radius: 12px; box-shadow: 0 18px 45px rgba(40,56,70,.09); }
.result-preview-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 15px 20px; color: #60717d; background: #f7f9fa; border-bottom: 1px solid #dbe3e8; font-size: 11px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.result-preview-toolbar span:last-child { color: #7a8b95; font-weight: 600; }
.result-preview-summary { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr); gap: 28px; align-items: center; padding: clamp(26px, 4vw, 42px); background: #f8fbfc; border-bottom: 1px solid #dbe3e8; }
.result-preview-summary .eyebrow { margin-bottom: 10px; }
.result-preview-summary h3 { max-width: 650px; margin: 0 0 10px; color: #17344a; font-size: clamp(24px, 3vw, 34px); line-height: 1.15; }
.result-preview-summary p:not(.eyebrow) { margin: 0; color: #60717d; font-size: 14px; line-height: 1.6; }
.result-preview-summary ul { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.result-preview-summary li { padding: 11px 13px; color: #264b5d; background: #e7f0f4; border-radius: 7px; font-size: 13px; font-weight: 650; }
.result-preview-candidates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: clamp(20px, 3vw, 30px); }
.result-preview-candidates article { min-width: 0; padding: 21px; background: #fff; border: 1px solid #dbe3e8; border-radius: 9px; }
.result-preview-candidates header { display: flex; align-items: center; gap: 12px; }
.result-preview-candidates header > span { display: grid; width: 32px; height: 32px; flex: 0 0 32px; place-items: center; color: #fff; background: #174f63; border-radius: 50%; font-size: 12px; font-weight: 750; }
.result-preview-candidates h4, .result-preview-candidates header p { margin: 0; }
.result-preview-candidates h4 { color: #17344a; font-size: 18px; }
.result-preview-candidates header p { margin-top: 2px; color: #71808d; font-size: 11px; }
.result-preview-candidates dl { display: grid; gap: 12px; margin: 20px 0 16px; }
.result-preview-candidates dl div { padding-top: 11px; border-top: 1px solid #e1e8ec; }
.result-preview-candidates dt { color: #174f63; font-size: 10px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.result-preview-candidates dd { margin: 4px 0 0; color: #526774; font-size: 12px; line-height: 1.5; }
.result-preview-candidates article > small { display: block; color: #7a8b95; font-size: 10px; line-height: 1.4; }
.result-preview-note { margin: 0; padding: 15px 20px; color: #5b6265; background: #fff9e4; border-top: 1px solid #e4d6a1; font-size: 11px; line-height: 1.55; }
.result-preview-note strong { color: #33424a; }
.quality-section { background: #f7f9fa; border-top: 1px solid #e2e8f0; }
.quality-section .section-heading > p:last-child { max-width: 920px; color: var(--ink-soft); font-size: 17px; line-height: 1.7; }
.quality-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.quality-grid article { padding: clamp(26px, 3.5vw, 42px); border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.quality-grid article > span { color: var(--forest); font-size: clamp(36px, 4vw, 54px); font-weight: 700; line-height: 1; }
.quality-grid h3 { margin: 18px 0 10px; font-size: 24px; font-weight: 600; }
.quality-grid p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }
.coverage-details { margin-top: 22px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #f7fafb; }
.coverage-details summary { padding: 20px 22px; color: var(--ink); font-weight: 700; cursor: pointer; }
.coverage-details p { margin: 0; padding: 0 22px 22px; color: var(--ink-soft); line-height: 1.65; }
.source-overview { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 1.45fr); gap: clamp(28px, 5vw, 72px); margin-top: 24px; padding: clamp(28px, 4vw, 46px); border: 1px solid var(--line); border-radius: var(--radius-md); background: #f7fafb; }
.source-overview h3 { margin: 8px 0 0; color: var(--ink); font-size: clamp(24px, 3vw, 34px); font-weight: 600; line-height: 1.16; }
.source-overview ul { display: grid; gap: 13px; margin: 0; padding-left: 20px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.source-overview b { color: var(--ink); }

.safety-section { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 10vw, 150px); padding: 115px clamp(24px, 7vw, 112px); color: white; background: var(--forest); }
.safety-copy h2 { font-size: clamp(42px, 5vw, 65px); line-height: 1.02; margin: 0 0 27px; }
.safety-copy > p:not(.eyebrow) { color: #c6d3cd; line-height: 1.7; margin-bottom: 27px; }
.safety-copy .eyebrow { color: #bdcdbf; }
.safety-list { border-top: 1px solid rgba(255,255,255,.22); }
.safety-list article { display: grid; grid-template-columns: 45px 1fr; gap: 17px; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.22); }
.safety-list article > b { color: #d9b387; font-size: 10px; }
.safety-list h3 { font-family: var(--serif); font-size: 22px; font-weight: 400; margin: 0 0 7px; }
.safety-list p { color: #c6d3cd; font-size: 11px; line-height: 1.6; margin: 0; }

.centered-heading { text-align: center; }
.centered-heading > p:last-child { color: var(--ink-soft); }
.billing-toggle { width: max-content; margin: -25px auto 35px; padding: 4px; border: 1px solid var(--line); border-radius: 100px; background: var(--paper-deep); }
.billing-toggle button { border: 0; border-radius: 100px; padding: 10px 16px; background: transparent; color: var(--ink-soft); font-size: 10px; font-weight: 800; cursor: pointer; }
.billing-toggle button.is-active { color: white; background: var(--forest); }
.billing-toggle span { color: #d9b387; margin-left: 5px; }
.membership-card { max-width: 910px; margin: 0 auto; display: grid; grid-template-columns: .9fr 1.1fr; overflow: hidden; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.membership-main, .membership-features { padding: clamp(32px, 5vw, 57px); }
.membership-main { color: white; background: var(--forest); }
.plan-tag { display: inline-block; padding: 7px 10px; border-radius: 100px; background: rgba(255,255,255,.11); color: #d9e4dd; font-size: 8px; font-weight: 800; letter-spacing: .15em; }
.membership-main h3 { font-family: var(--serif); font-size: 45px; font-weight: 400; margin: 35px 0 13px; }
.membership-main p { color: #c8d7d0; font-size: 12px; line-height: 1.6; }
.price-placeholder { margin: 32px 0 22px; }
.price-placeholder strong { font-family: var(--serif); font-size: 27px; font-weight: 400; }
.price-placeholder span { margin-left: 7px; color: #bac9c2; font-size: 10px; }
.membership-main .button { color: var(--forest); background: #e6dfcd; box-shadow: none; }
.membership-main > small { display: block; margin-top: 13px; color: #acbeb5; font-size: 8px; line-height: 1.45; }
.membership-features h4 { margin: 5px 0 28px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.membership-features ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 17px; }
.membership-features li { position: relative; padding-left: 27px; color: var(--ink-soft); font-size: 12px; }
.membership-features li::before { content: "✓"; position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 17px; height: 17px; border-radius: 50%; color: white; background: var(--forest-light); font-size: 8px; }

.about-section { background: var(--white); }
.about-statement { max-width: 900px; }
.about-statement h2 { margin: 0; font-size: clamp(43px, 5vw, 68px); line-height: 1.03; }
.founder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 70px; }
.founder-grid-three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.founder-grid article { display: grid; grid-template-columns: 180px 1fr; align-items: end; gap: 25px; }
.portrait-placeholder { height: 230px; display: grid; place-items: end start; padding: 17px; overflow: hidden; position: relative; background: #d9d6ca; }
.portrait-placeholder::after { content: ""; position: absolute; width: 140px; height: 210px; left: 22px; top: 28px; border-radius: 70px 70px 0 0; background: rgba(24,63,53,.15); }
.founder-two { background: #c9d4c8; }
.portrait-placeholder span { position: relative; z-index: 1; color: rgba(24,34,31,.55); font-size: 8px; font-weight: 800; letter-spacing: .14em; }
.founder-grid article > div:last-child > span { color: var(--forest-light); font-size: 8px; font-weight: 800; letter-spacing: .13em; }
.founder-grid h3 { font-family: var(--serif); font-size: 31px; font-weight: 400; margin: 8px 0; }
.founder-grid p { color: var(--ink-soft); font-size: 11px; line-height: 1.55; margin: 0; }
.founder-note { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line); color: #7a847f; font-size: 9px; }
.founder-note strong { color: var(--ink); }
.boundary-heading { margin-top: 62px; padding-top: 52px; border-top: 1px solid var(--line); }

footer { min-height: 155px; padding: 45px clamp(24px, 7vw, 112px); display: flex; align-items: center; gap: 35px; background: #152c26; color: white; }
.footer-brand .brand-copy small { color: #adbbb4; }
footer > p { margin: 0 auto; color: #aebbb5; font-size: 9px; }
footer nav { display: flex; gap: 20px; }
footer nav a { color: #d4ddd8; font-size: 9px; text-underline-offset: 4px; }

.member-session { display: flex; align-items: center; gap: 13px; }
.member-session > a { color: var(--forest); font-size: 10px; font-weight: 750; text-underline-offset: 4px; }
.member-session span { max-width: 180px; color: var(--ink-soft); font-size: 9px; line-height: 1.35; text-align: right; }
.member-session form { margin: 0; }

.safety-disposition { display: grid; gap: 10px; }
.safety-disposition label,
.privacy-ack label { display: grid; grid-template-columns: 20px 1fr; gap: 11px; align-items: start; padding: 13px 14px; color: #35423d; background: #f5f2ea; border: 1px solid var(--line); border-radius: 11px; font-size: 12px; line-height: 1.5; }

.access-page { min-height: 100vh; background: linear-gradient(145deg, var(--paper) 0 65%, #dbe1d5 65%); }
.access-shell { width: min(1080px, calc(100% - 36px)); margin: 0 auto; padding: 42px 0 80px; }
.access-shell-narrow { width: min(620px, calc(100% - 36px)); }
.access-shell-terms { width: min(780px, calc(100% - 36px)); }
.access-card { margin-top: 48px; padding: clamp(30px, 6vw, 64px); background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.access-card-wide { max-width: 870px; }
.access-card h1 { max-width: 790px; margin: 0 0 22px; font-family: var(--serif); font-size: clamp(42px, 7vw, 74px); font-weight: 400; line-height: .99; letter-spacing: -.035em; }
.access-shell-narrow .access-card h1,
.access-shell-terms .access-card h1 { font-size: clamp(38px, 6vw, 58px); }
.access-card > p { color: var(--ink-soft); line-height: 1.65; }
.access-lead { max-width: 720px; font-size: 18px; }
.access-boundary { margin: 28px 0; padding: 18px 20px; color: #5d422d; background: #fbf0df; border-left: 4px solid var(--amber); }
.access-boundary strong { font-size: 14px; }
.access-boundary p { margin: 6px 0 0; font-size: 12px; line-height: 1.55; }
.access-button { display: inline-grid; place-items: center; text-decoration: none; }
.access-footnote { font-size: 10px; }
.access-form { margin: 28px 0 12px; }
.form-error { margin: 20px 0; padding: 14px 16px; color: #70251f; background: #f9e5e1; border: 1px solid #e8beb7; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.terms-form { margin-top: 30px; }
.terms-form .checklist { margin-bottom: 28px; }
.privacy-notice { margin: 0 0 28px; padding: 22px; color: #34413b; background: #f2efe6; border: 1px solid var(--line); border-radius: 12px; }
.privacy-notice h2 { margin: 0 0 14px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.privacy-notice p { margin: 10px 0 0; font-size: 12px; line-height: 1.6; }
.privacy-ack { margin: 0 0 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.privacy-ack legend { margin-bottom: 14px; font-size: 12px; font-weight: 800; }
.terms-proof { margin: 25px 0 0; padding-top: 20px; border-top: 1px solid var(--line); font-size: 9px; overflow-wrap: anywhere; }

.ops-topline { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.ops-card { max-width: none; }
.ops-summary { margin: 30px 0 18px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 20px; border-radius: 13px; }
.ops-summary.is-ready { color: #12382e; background: #dce9de; border: 1px solid #b9d0bd; }
.ops-summary.is-local-demo { color: #174f63; background: #edf4f7; border: 1px solid #bfd2dc; }
.ops-summary.is-paused { color: #6b2d27; background: #f4ded9; border: 1px solid #dfb4ac; }
.ops-summary strong { font-family: var(--serif); font-size: 23px; font-weight: 400; }
.ops-summary span { font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.ops-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.ops-grid article { display: grid; grid-template-columns: 12px 1fr; gap: 11px; align-items: center; padding: 18px; background: #f2efe7; border: 1px solid var(--line); border-radius: 12px; }
.ops-grid b, .ops-grid small { display: block; }
.ops-grid b { font-size: 13px; text-transform: capitalize; }
.ops-grid small { margin-top: 4px; color: #65716b; font-size: 9px; letter-spacing: .1em; }
.ops-dot { width: 9px; height: 9px; border-radius: 50%; }
.ops-dot.is-on { background: #2e765d; box-shadow: 0 0 0 4px rgba(46,118,93,.12); }
.ops-dot.is-off { background: #ad493f; box-shadow: 0 0 0 4px rgba(173,73,63,.12); }
.ops-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px; }
.ops-detail-grid article { min-width: 0; padding: 22px; background: var(--forest); color: white; border-radius: 13px; }
.ops-detail-grid strong, .ops-detail-grid span, .ops-detail-grid code { display: block; }
.ops-detail-grid strong { margin: 19px 0 7px; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.ops-detail-grid span { color: #c6d3cd; font-size: 10px; }
.ops-detail-grid code { color: #d9b387; font-size: 9px; overflow-wrap: anywhere; }
.ops-actions { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 27px; padding-top: 24px; border-top: 1px solid var(--line); }
.ops-boundary { margin: 0 0 18px; color: #637986; font-size: 12px; line-height: 1.5; }
.ops-release-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 18px; }
.ops-release-grid article { padding: 17px 18px; background: #fff; border: 1px solid #cbdce5; border-radius: 9px; }
.ops-release-grid span, .ops-release-grid strong { display: block; }
.ops-release-grid span { color: #637986; font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.ops-release-grid strong { margin-top: 8px; color: #17344a; font-size: 12px; }

.readiness-card { max-width: none; }
.readiness-global-block { margin: 28px 0 18px; padding: 19px 21px; color: #6b2d27; background: #fff2ef; border: 1px solid #e5bdb5; border-radius: 9px; }
.readiness-global-block strong { display: block; font-size: 15px; }
.readiness-global-block p { margin: 7px 0 0; font-size: 12px; line-height: 1.5; }
.readiness-boundary { margin: 0 0 20px; padding: 14px 16px; color: #526774; background: #edf4f7; border-left: 3px solid #174f63; font-size: 12px; line-height: 1.55; }
.readiness-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.readiness-gate { min-width: 0; padding: 20px; background: #fff; border: 1px solid #cbdce5; border-radius: 9px; }
.readiness-gate-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.readiness-gate-head h2 { margin: 0; color: #17344a; font-size: 18px; line-height: 1.2; }
.readiness-gate-head > span { min-width: max-content; padding: 6px 8px; color: #6b2d27; background: #f4ded9; border-radius: 4px; font-size: 9px; font-weight: 800; letter-spacing: .07em; }
.readiness-gate > p { margin: 13px 0; color: #637986; font-size: 12px; line-height: 1.5; }
.readiness-gate dl { display: grid; gap: 7px; margin: 0; }
.readiness-gate dl div { display: grid; grid-template-columns: 88px 1fr; gap: 10px; }
.readiness-gate dt { color: #7a8b95; font-size: 10px; }
.readiness-gate dd { margin: 0; color: #34495c; font-size: 11px; overflow-wrap: anywhere; }
.readiness-caveat { padding: 11px 12px; background: #fff7d6; border-radius: 6px; color: #655638 !important; }
.readiness-impact { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 15px; padding-top: 13px; border-top: 1px solid #dbe3e8; }
.readiness-impact span { padding: 6px 8px; color: #6b2d27; background: #fff2ef; border: 1px solid #e5bdb5; border-radius: 4px; font-size: 9px; font-weight: 750; }
.readiness-meta { display: flex; flex-wrap: wrap; gap: 10px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid #cbdce5; color: #637986; font-size: 10px; overflow-wrap: anywhere; }

dialog { width: min(520px, calc(100% - 30px)); padding: 37px; color: var(--ink); background: var(--white); border: 0; border-radius: 20px; box-shadow: 0 30px 120px rgba(0,0,0,.35); }
dialog::backdrop { background: rgba(11,27,22,.68); backdrop-filter: blur(5px); }
dialog h2 { margin: 0 0 12px; font-family: var(--serif); font-size: 39px; font-weight: 400; }
dialog > p:not(.eyebrow) { color: var(--ink-soft); font-size: 12px; line-height: 1.6; }
.dialog-close { position: absolute; right: 17px; top: 13px; border: 0; background: none; font-size: 25px; cursor: pointer; }
.dialog-notice { margin: 20px 0; padding: 13px 15px; background: #fbf4e6; border-radius: 10px; color: #755c42; font-size: 10px; }
dialog > label { margin: 13px 0; }
.dialog-check { grid-template-columns: 18px 1fr; font-weight: 500; line-height: 1.4; }
dialog > small { display: block; margin-top: 13px; color: #77817c; font-size: 8px; line-height: 1.5; }

[hidden] { display: none !important; }

@media (max-width: 1000px) {
  .desktop-nav { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 65px; }
  .hero-copy { max-width: 780px; }
  .hero-visual { min-height: 560px; }
  .studio-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .studio-panel { padding: 40px 32px; }
  .guardrail-grid { grid-template-columns: 1fr; }
  .guardrail-grid article { display: grid; grid-template-columns: 30px 120px 1fr; align-items: center; gap: 10px; }
  .guardrail-grid h4 { margin: 0; }
  .method-grid { grid-template-columns: 1fr 1fr; }
  .safety-section { grid-template-columns: 1fr; }
  .founder-grid article { grid-template-columns: 125px 1fr; }
  .founder-grid-three { grid-template-columns: 1fr 1fr; }
  .portrait-placeholder { height: 180px; }
}

@media (max-width: 760px) {
  .site-header { height: 74px; padding: 0 20px; }
  .header-login { font-size: 0; width: 42px; padding: 0; }
  .header-login::after { content: "Konto"; font-size: 10px; }
  .hero { min-height: auto; padding: 58px 22px 72px; gap: 45px; }
  .hero h1 { font-size: clamp(34px, 9vw, 44px); }
  .hero-lead { font-size: 16px; }
  .hero-evidence { padding: 24px 20px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; min-height: 50px; }
  .hero-evidence dl { grid-template-columns: 1fr 1fr; }
  .trust-row { display: grid; gap: 8px; margin-top: 40px; }
  .hero-visual { min-height: 440px; }
  .hero-visual::before { width: 390px; height: 390px; }
  .case-card { width: min(92%, 390px); min-height: 404px; padding: 24px; }
  .case-card blockquote { margin: 40px 0 30px; font-size: 27px; }
  .question-preview > div { padding: 10px 0; }
  .case-card-foot { margin-top: 18px; }
  .boundary-strip { align-items: flex-start; flex-direction: column; padding: 18px 22px; gap: 8px; }
  .studio-section, .method-section, .membership-section, .about-section { padding: 78px 20px; }
  .split-heading { grid-template-columns: 1fr; gap: 22px; }
  .section-heading { margin-bottom: 38px; }
  .studio-shell { display: block; min-height: 0; border-radius: 18px; }
  .studio-steps { padding: 16px; border-right: 0; border-bottom: 1px solid var(--line); }
  .case-kicker, .privacy-note, .studio-steps li div { display: none; }
  .studio-steps ol { display: flex; justify-content: space-between; padding: 0; }
  .studio-steps li { display: block; padding: 4px; background: transparent !important; box-shadow: none !important; }
  .studio-panel { padding: 30px 20px; }
  .guardrail-grid article { grid-template-columns: 25px 1fr; }
  .guardrail-grid p { grid-column: 2; }
  .form-grid, .stop-grid, .review-layout, .summary-list { grid-template-columns: 1fr; }
  .answer-options { padding-left: 18px; }
  .source-row { grid-template-columns: 25px 1fr 64px; }
  .source-answer { grid-column: 2 / -1; grid-row: 2; }
  .method-grid { grid-template-columns: 1fr; }
  .section-cta { align-items: stretch; flex-direction: column; }
  .section-cta .button { width: 100%; }
  .result-preview-section { padding: 48px 20px; }
  .result-preview-toolbar { align-items: flex-start; flex-direction: column; gap: 5px; }
  .result-preview-summary { grid-template-columns: 1fr; gap: 20px; padding: 24px 18px; }
  .result-preview-candidates { grid-template-columns: 1fr; padding: 16px; }
  .method-grid article { min-height: 160px; padding: 27px 23px; }
  .safety-section { padding: 78px 20px; gap: 55px; }
  .membership-card { grid-template-columns: 1fr; }
  .billing-toggle span { display: none; }
  .founder-grid { grid-template-columns: 1fr; }
  .founder-grid-three { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
  footer > p { margin: 0; }
  .member-session span { display: none; }
  .member-session > a { display: none; }
  .access-shell { padding-top: 26px; }
  .access-card { margin-top: 30px; padding: 28px 22px; }
  .ops-topline { align-items: flex-start; flex-direction: column; }
  .ops-summary { align-items: flex-start; flex-direction: column; }
  .ops-grid, .ops-detail-grid, .ops-release-grid, .readiness-grid { grid-template-columns: 1fr; }
  .readiness-gate-head { flex-direction: column; }
  .readiness-gate dl div { grid-template-columns: 1fr; gap: 2px; }
}

/* v4.8.2.35: kompakt mobil arbetsyta och stabil sökfokusplacering. */
.compact-step-status { display: none; }
.brand-mobile-name { display: none; }

@media (max-width: 760px) {
  body.studio-page .site-header {
    position: sticky;
    z-index: 30;
    top: 0;
    min-height: 46px !important;
    height: 46px;
    padding: 0 16px !important;
  }

  body.studio-page .brand-housemark,
  body.studio-page .brand-copy small,
  body.studio-page .member-session .header-login {
    display: none !important;
  }

  body.studio-page .member-session .header-login::after {
    content: none !important;
  }

  body.studio-page .brand-copy strong {
    font-size: 17px;
    letter-spacing: -.01em;
  }

  body.studio-page .brand-desktop-name {
    display: none;
  }

  body.studio-page .brand-mobile-name {
    display: inline;
    color: #17344a;
    font-weight: 650;
  }

  body.studio-page .member-session > a:first-child {
    display: inline-flex !important;
    align-items: center;
    min-height: 36px;
    color: #17344a;
    font-size: 14px;
    font-weight: 650;
    text-decoration: none;
  }

  body.studio-page .studio-section {
    padding: 0 16px 48px !important;
  }

  body.studio-page .studio-shell:not(.is-starting) {
    min-height: 0;
  }

  body.studio-page .studio-shell:not(.is-starting) .studio-steps {
    position: sticky;
    z-index: 20;
    top: 46px;
    padding: 4px 0 5px;
    background: #fff;
    border: 0;
  }

  body.studio-page .studio-shell:not(.is-starting) .compact-step-status {
    display: block;
    margin: 0 0 4px;
    color: #17344a;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.2;
  }

  body.studio-page .studio-shell:not(.is-starting) .studio-steps ol {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    padding: 0;
  }

  body.studio-page .studio-shell:not(.is-starting) .studio-steps ol::before,
  body.studio-page .studio-shell:not(.is-starting) .studio-steps ol::after {
    display: none;
  }

  body.studio-page .studio-shell:not(.is-starting) .studio-step-button {
    position: relative;
    min-height: 3px !important;
    height: 3px;
    padding: 0;
    overflow: hidden;
    color: transparent !important;
    background: #d7dfdf !important;
    border: 0 !important;
    border-radius: 999px !important;
    box-shadow: none !important;
  }

  body.studio-page .studio-shell:not(.is-starting) .studio-steps li.is-active .studio-step-button,
  body.studio-page .studio-shell:not(.is-starting) .studio-steps li.is-complete .studio-step-button {
    background: #4f7e78 !important;
  }

  body.studio-page .studio-shell:not(.is-starting) .studio-step-button > span {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
  }

  body.studio-page .studio-shell:not(.is-starting) .studio-panel {
    padding: 4px 0 32px;
    border: 0;
    border-radius: 0;
  }

  body.studio-page .app-step[data-step="2"] .step-title-row {
    display: block;
    margin: 0 0 4px;
  }

  body.studio-page .app-step[data-step="2"] .step-overline,
  body.studio-page .app-step[data-step="2"] .question-count {
    display: none;
  }

  body.studio-page .app-step[data-step="2"] .step-title-row h3 {
    margin: 0;
    font-size: 19px;
    font-weight: 650;
    line-height: 1.2;
  }

  body.studio-page .app-step[data-step="3"] .step-title-row {
    display: none;
  }

  body.studio-page .symptom-start-grid {
    gap: 0 !important;
    margin: 0 0 4px !important;
  }

  body.studio-page .symptom-start-primary {
    scroll-margin-top: 98px;
  }

  body.studio-page .search-field,
  body.studio-page .search-field input {
    min-height: 44px !important;
  }

  body.studio-page .search-field {
    margin-top: 0 !important;
  }

  body.studio-page .symptom-start-actions {
    display: none !important;
  }

  body.studio-page .symptom-bottom-actions {
    display: flex !important;
  }

  body.studio-page .symptom-fieldset {
    margin-top: 10px;
    padding-top: 10px;
  }

  body.studio-page .symptom-fieldset legend {
    margin-bottom: 8px;
  }

  body.studio-page .symptom-option {
    min-height: 50px !important;
    padding: 0 !important;
  }

  body.studio-page .symptom-option span {
    min-height: 50px !important;
    padding: 8px 38px 8px 12px !important;
    line-height: 1.25;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* Lugnare medlemsdialog i samma färgfamilj som homeopati.se */
body {
  color: #17344a;
  background: #edf4f7;
  font-size: 16px;
  line-height: 1.55;
}

.page-frame {
  width: min(1388px, calc(100% - 32px));
  min-height: 100vh;
  margin: 16px auto;
  background: #fff;
  border: 1px solid #cbdce5;
  border-radius: 16px;
  box-shadow: 0 14px 48px rgba(40, 56, 70, .10);
  overflow: hidden;
}

.site-header {
  height: auto;
  min-height: 112px;
  padding: 15px 34px;
  background: #fff;
  border-bottom: 1px solid #dbe3e8;
}

.brand { gap: 16px; }
.brand-housemark {
  width: 74px;
  height: 78px;
  flex: 0 0 74px;
  display: block;
  background-image: url('/assets/finder-family-housemark.png');
  background-position: left center;
  background-repeat: no-repeat;
  background-size: 310px 78px;
}
.brand-copy { color: #225766; gap: 7px; }
.brand-copy strong { font-size: 27px; font-weight: 620; letter-spacing: .17em; }
.brand-copy small { color: #6f8792; font-size: 10px; font-weight: 600; letter-spacing: .31em; }
.desktop-nav { gap: 28px; }
.desktop-nav a { padding: 10px 0; color: #52606d; font-size: 14px; font-weight: 600; border-bottom: 2px solid transparent; }
.desktop-nav a:hover { color: #17344a; border-bottom-color: #174f63; }

.member-session { display: flex; align-items: center; gap: 13px; }
.member-session > a { color: #52606d; font-size: 12px; }
.member-session > span { color: #71808d; font-size: 11px; }
.member-session form { margin: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  box-shadow: none;
}
.button:hover:not(:disabled) { transform: none; }
.button-primary { background: #174f63; box-shadow: none; }
.button-quiet { color: #174f63; background: #fff; border-color: #aebdc6; }
.button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid rgba(2, 132, 199, .24);
  outline-offset: 2px;
}

body.studio-page .button-primary {
  color: #fff;
  background: #2d7488;
  border-color: #27697c;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 7px 18px rgba(45,116,136,.18);
}
body.studio-page .button-primary:hover:not(:disabled) {
  background: #26687b;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14), 0 9px 20px rgba(45,116,136,.22);
}
body.studio-page .button-primary:active:not(:disabled) {
  background: #225f71;
  box-shadow: inset 0 1px 2px rgba(9,47,61,.22);
}
body.studio-page .button-primary:focus-visible {
  outline-color: rgba(45,116,136,.34);
}

.tool-hero {
  padding: 26px 34px 21px;
  border-bottom: 1px solid #dbe3e8;
}
.tool-hero .eyebrow { margin-bottom: 5px; }
.tool-hero h1 {
  margin: 0 0 2px;
  color: #17384a;
  font-size: 32px;
  font-weight: 540;
  letter-spacing: -.018em;
  line-height: 1.08;
}
.tool-hero > p:not(.eyebrow) { max-width: 760px; margin: 0; color: #637986; font-size: 16px; }
.eyebrow, .step-overline { color: #174f63; font-size: 11px; letter-spacing: .14em; }

.boundary-strip {
  margin: 0 34px;
  padding: 13px 16px;
  justify-content: flex-start;
  align-items: center;
  gap: 11px;
  color: #34495c;
  background: #edf4f7;
  border-bottom: 0;
  border-radius: 0 0 8px 8px;
}
.boundary-strip p { color: #34495c; font-size: 13px; }
.boundary-strip strong { color: #263746; }
.info-mark {
  width: 20px;
  height: 20px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  color: #174f63;
  border: 1px solid #8faebb;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

.studio-section, .method-section, .value-section, .membership-section, .quality-section, .homeopathy-section, .about-section { padding: 62px 34px; }
.studio-section { padding: 24px 34px 88px; background: #fff; }
.section-heading { margin-bottom: 28px; }
.tool-heading, .compact-heading { max-width: 760px; }
.section-heading h2, .compact-heading h2 {
  margin: 0 0 9px;
  color: #17344a;
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.section-heading > p:not(.eyebrow) { margin: 0; color: #5c6974; line-height: 1.6; }

.studio-shell {
  min-height: 690px;
  grid-template-columns: 268px minmax(0, 1fr);
  border: 0;
  border-radius: 9px;
  box-shadow: none;
}
.studio-shell.is-starting {
  display: block;
  width: min(900px, 100%);
  min-height: 0;
  margin: 0;
  border: 1px solid #cbdce5;
  overflow: visible;
}
.studio-shell.is-starting .studio-steps { display: none; }
.studio-shell.is-starting .studio-panel {
  padding: 36px 40px 40px;
  border: 0;
  border-radius: 0;
  overflow: visible;
  position: relative;
  z-index: 1;
}
.studio-shell:not(.is-starting) { overflow: visible; }
.studio-shell:not(.is-starting) .studio-panel { border: 1px solid #cbdce5; border-radius: 9px; }
.studio-steps {
  padding: 30px 24px;
  background: #fff;
  border-right-color: #dbe3e8;
}
.studio-steps nav { order: 1; }
.studio-steps ol { position: relative; gap: 0; padding: 0 0 24px; }
.studio-steps ol::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 18px;
  bottom: 45px;
  width: 1px;
  background: #cbd6dc;
}
.studio-steps li {
  position: relative;
  z-index: 1;
  grid-template-columns: 34px 1fr;
  gap: 11px;
  padding: 10px 0 15px;
  color: #71808d;
  border-radius: 0;
}
.studio-steps li > span {
  width: 34px;
  height: 34px;
  color: #657683;
  background: #fff;
  border-color: #b8c5cd;
  font-size: 12px;
}
.studio-steps li b { color: inherit; font-size: 14px; }
.studio-steps li small { font-size: 11px; }
.studio-steps li.is-active { color: #2d4658; background: transparent; box-shadow: none; }
.studio-steps li.is-active > span { background: #174f63; border-color: #174f63; }
.studio-steps li.is-active > span { background: #174f63; border-color: #174f63; }
.studio-steps li.is-complete > span { background: #174f63; border-color: #174f63; }
.case-kicker {
  order: 2;
  margin-top: 2px;
  padding: 24px 0;
  border-top: 1px solid #dbe3e8;
  border-bottom: 0;
}
.case-kicker span { color: #71808d; font-size: 10px; }
.case-kicker strong { color: #263746; font-size: 18px; font-weight: 650; }
.case-kicker p { margin: 9px 0 0; color: #71808d; font-size: 12px; line-height: 1.45; }
.privacy-note {
  order: 3;
  margin-top: auto;
  padding: 15px;
  color: #52606d;
  background: #edf4f7;
  border-radius: 8px;
}
.privacy-note p { font-size: 11px; }

.studio-panel { padding: clamp(34px, 5vw, 58px); }
.app-step { max-width: 900px; }
.studio-panel h3 {
  color: #173743;
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 540;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.intro-gate h3 { max-width: 530px; font-size: 26px; font-weight: 540; line-height: 1.2; }
.step-intro { color: #5c6974; font-size: 16px; line-height: 1.6; }
.batch-search-note {
  margin: 10px 0 14px;
  padding: 11px 13px;
  color: #34495c;
  background: #edf4f7;
  border-left: 3px solid #174f63;
  border-radius: 5px;
  font-size: 12px;
  line-height: 1.5;
}
.plain-warning {
  margin: 24px 0;
  padding: 17px 18px;
  color: #5a4a2d;
  background: #fff7d6;
  border: 1px solid #eadca9;
  border-radius: 7px;
}
.plain-warning strong { color: #493b24; font-size: 14px; }
.plain-warning p { margin: 6px 0 0; font-size: 13px; line-height: 1.55; }
.data-handling-statement {
  margin: 20px 0 13px;
  padding: 16px 17px;
  color: #334b58;
  background: #edf5f4;
  border: 1px solid #c9ded9;
  border-radius: 7px;
}
.data-handling-statement h4 { margin: 0 0 7px; color: #173743; font-size: 14px; }
.data-handling-statement p { margin: 5px 0 0; font-size: 13px; line-height: 1.55; }
.professional-boundary { margin: 13px 0; color: #52606d; font-size: 13px; line-height: 1.55; }
.terms-reminder { margin: 25px 0 14px; color: #52606d; font-size: 13px; }
.checklist { padding-top: 19px; border-top-color: #dbe3e8; }
.checklist legend, .stop-checks legend { color: #263746; font-size: 14px; }
.checklist label,
.checklist .start-confirm-row {
  margin: 9px 0;
  padding: 12px 13px;
  color: #3d4e5c;
  background: #f8fafb;
  border: 1px solid #dbe3e8;
  border-radius: 7px;
  font-size: 13px;
  cursor: pointer;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.checklist input[type="checkbox"] {
  pointer-events: auto;
  cursor: pointer;
}
.checklist input[type="checkbox"]:focus-visible + span {
  outline: 3px solid rgba(2, 132, 199, .24);
  outline-offset: 4px;
  border-radius: 2px;
}
.case-gate-reminder {
  margin: 18px 0 0;
  padding: 14px 15px;
  color: #334b58;
  background: #f4f7f8;
  border-left: 3px solid #174f63;
  border-radius: 5px;
  font-size: 13px;
  line-height: 1.55;
}
.intro-gate,
.panel-actions-start,
#accept-guardrails {
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
input[type="checkbox"], input[type="radio"] { accent-color: #2d7488; }
.panel-actions { border-top-color: #dbe3e8; }
.panel-actions-start { justify-content: flex-end; }
#accept-guardrails { min-height: 50px; padding-inline: 26px; }
.panel-actions-progress { align-items: center; justify-content: space-between; }
.panel-actions-secondary { display: flex; flex-wrap: wrap; gap: 9px; }

.field-label, .form-grid label, dialog > label { color: #263746; font-size: 14px; letter-spacing: 0; }
.field-label > span, .form-grid label > span {
  display: inline-block;
  width: max-content;
  margin-top: -2px;
  padding: 2px 7px;
  color: #536875;
  background: #edf4f7;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
}
textarea, select, input[type="email"], input[type="text"] {
  color: #263746;
  background: #fff;
  border: 1px solid #b9c8d1;
  border-radius: 7px;
  padding: 13px 14px;
}
textarea[readonly] { color: #263746; background: #f8fafb; }
input[type="text"][readonly] { color: #465866; background: #f8fafb; cursor: default; }
textarea:focus, select:focus, input:focus { border-color: #174f63; box-shadow: 0 0 0 3px rgba(23,79,99,.12); }
.field-meta { color: #71808d; font-size: 11px; }
.inline-button { color: #174f63; font-size: 13px; }
.stop-checks {
  margin-top: 28px;
  padding: 20px;
  background: #fbfcfc;
  border-color: #dbe3e8;
  border-radius: 8px;
}
.stop-checks > p { color: #60707c; font-size: 13px; }
.safety-disposition label, .privacy-ack label {
  color: #3d4e5c;
  background: #fff;
  border-color: #dbe3e8;
  border-radius: 7px;
  font-size: 13px;
}
.safety-examples { margin: 16px 0 0 !important; padding-top: 14px; border-top: 1px solid #dbe3e8; font-size: 12px !important; }
.safety-alert { background: #fff2ef; border-color: #e5bdb5; border-radius: 7px; font-size: 13px; }

.question-count, .demo-badge { color: #2f596d; background: #edf4f7; border-radius: 999px; font-size: 10px; }
.question-progress-track { height: 5px; margin: 18px 0 10px; overflow: hidden; background: #dbe7ed; border-radius: 999px; }
.question-progress-track i { display: block; height: 100%; width: 0; background: #174f63; transition: width .25s ease; }
.question-progress-track i[data-level="1"] { width: 10%; }
.question-progress-track i[data-level="2"] { width: 20%; }
.question-progress-track i[data-level="3"] { width: 30%; }
.question-progress-track i[data-level="4"] { width: 40%; }
.question-progress-track i[data-level="5"] { width: 50%; }
.question-progress-track i[data-level="6"] { width: 60%; }
.question-progress-track i[data-level="7"] { width: 70%; }
.question-progress-track i[data-level="8"] { width: 80%; }
.question-progress-track i[data-level="9"] { width: 90%; }
.question-progress-track i[data-level="10"] { width: 100%; }
.question-path-note { min-height: 20px; margin: 0 0 14px; color: #637986; font-size: 12px; line-height: 1.45; }
.question-card { border-color: #dbe3e8; border-radius: 8px; }
.question-card.is-follow-up { border-color: #9bb8c6; }
.question-card-head { padding: 17px 18px; background: #f8fafb; }
.question-card-head { width: 100%; max-width: 100%; }
.question-card-head > span { color: #174f63; }
.question-card-head small { display: block; margin-bottom: 6px; color: #4d7182; font-size: 9px; font-weight: 750; letter-spacing: .12em; }
.question-card-head h4 { color: #263746; font-size: 15px; }
.question-card-head p { color: #71808d; font-size: 12px; }
.question-boundary { margin: 0; padding: 14px 18px 0 64px; color: #637986; font-size: 12px; line-height: 1.45; }
.answer-options { clear: both; display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px 18px 18px 64px; }
.answer-options span { min-height: 48px; display: flex; align-items: center; padding: 11px 13px; border-color: #cbd6dc; border-radius: 6px; color: #465866; font-size: 13px; }
.answer-options input:checked + span { background: #2d7488; border-color: #27697c; }

.review-card { background: #f8fafb; border: 1px solid #dbe3e8; border-radius: 8px; }
.review-card blockquote { color: #263746; font-size: 22px; font-weight: 600; }
.review-counts { display: grid !important; grid-template-columns: 1fr; gap: 10px !important; margin-top: 22px !important; }
.review-counts div { display: flex !important; grid-template-columns: none !important; align-items: baseline; justify-content: space-between; gap: 18px !important; padding-bottom: 9px; border-bottom: 1px solid #dbe3e8; }
.review-counts dt { color: #526774; font-size: 11px; text-transform: none; letter-spacing: 0; }
.review-counts dd { color: #17344a; font-size: 20px; font-weight: 700; }
.review-history { margin: 16px 0 0; color: #637986; font-size: 11px; line-height: 1.45; }
.summary-item { background: #fff; border-color: #dbe3e8; border-radius: 7px; }
.summary-item b { color: #34495c; font-size: 12px; }
.summary-item span { color: #687984; font-size: 11px; }
.summary-item small { display: block; margin-top: 5px; color: #7a8b95; font-size: 10px; line-height: 1.4; }
.result-boundary { background: #fff7d6; border-left-color: #c8893f; }
.result-boundary strong { font-size: 14px; }
.result-boundary p { color: #655638; font-size: 12px; }
.contextual-support { margin: 12px 0; padding: 11px 13px; background: #edf4f7; border: 1px solid #cbdce5; border-radius: 7px; }
.contextual-support summary { color: #264b5d; cursor: pointer; font-size: 12px; font-weight: 650; }
.contextual-support ul { margin: 9px 0; padding-left: 18px; color: #465866; font-size: 12px; }
.contextual-support li small { color: #71808d; }
.contextual-support > small { display: block; color: #637986; font-size: 10px; line-height: 1.45; }
.source-row { border-color: #dbe3e8; border-radius: 7px; }
.source-row > span { color: #174f63; }
.source-name b { color: #263746; font-size: 15px; font-weight: 650; }
.source-name small { color: #71808d; font-size: 10px; }
.source-answer { color: #465866; font-size: 13px; }
.source-matches { color: #71808d; font-size: 11px; }
.trace-details { border-color: #dbe3e8; border-radius: 7px; }
.trace-details summary { color: #34495c; font-size: 13px; }
.trace-details > div { color: #60707c; font-size: 12px; }

.method-section, .about-section { background: #f7f9fa; border-top: 1px solid #e2e8f0; }
.homeopathy-section { background: #fff; border-top: 1px solid #e2e8f0; }
.homeopathy-section .section-heading { max-width: 920px; margin-bottom: 0; }
.homeopathy-section .section-heading > p:not(.eyebrow) + p { margin-top: 16px; }
.method-grid { gap: 12px; background: transparent; border: 0; }
.method-grid article { min-height: 150px; padding: 25px; background: #fff; border: 1px solid #dbe3e8; border-radius: 8px; }
.method-grid article > span { color: #174f63; font-size: 13px; }
.method-grid h3 { margin-bottom: 8px; color: #263746; font-size: 20px; font-weight: 650; }
.method-grid p { grid-column: 2; color: #60707c; font-size: 13px; }
.method-explainer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 28px;
}
.method-explainer article {
  padding: 24px;
  background: #fff;
  border: 1px solid #cbdce5;
  border-radius: 8px;
}
.method-explainer h3 { margin: 0 0 8px; color: #17344a; font-size: 19px; }
.method-explainer p { margin: 0; color: #526774; font-size: 13px; line-height: 1.65; }
.method-examples { margin-top: 34px; padding: 30px; background: #fff; border: 1px solid #cbdce5; border-radius: 9px; }
.method-examples-heading { max-width: 760px; margin-bottom: 22px; }
.method-examples-heading h3 { margin: 0 0 8px; color: #17344a; font-size: 27px; }
.method-examples-heading > p:not(.eyebrow) { margin: 0; color: #60707c; font-size: 13px; line-height: 1.6; }
.method-example-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.method-example-grid article { padding: 24px; background: #f7f9fa; border: 1px solid #dbe3e8; border-radius: 8px; }
.method-example-grid h4 { margin: 10px 0 14px; color: #17344a; font-size: 24px; }
.method-example-grid p { color: #465866; font-size: 13px; line-height: 1.6; }
.method-example-grid details { margin-top: 16px; padding-top: 14px; border-top: 1px solid #dbe3e8; }
.method-example-grid summary { color: #174f63; cursor: pointer; font-size: 12px; font-weight: 700; }
.method-example-grid ul { padding-left: 18px; color: #526774; font-size: 11px; line-height: 1.55; }
.method-tier { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: 9px; font-weight: 750; letter-spacing: .08em; }
.method-tier.is-clear { color: #245744; background: #e6f3ec; }
.method-tier.is-limited { color: #73581d; background: #fff4d5; }
.method-caution { margin: 18px 0 0; padding: 14px 16px; color: #5a4a2d; background: #fff7d6; border-radius: 7px; font-size: 12px; line-height: 1.55; }
.substance-parallel { margin: 12px 0; padding: 11px 13px; border-radius: 7px; }
.substance-parallel b { font-size: 12px; }
.substance-parallel p { margin: 4px 0 0; font-size: 11px; line-height: 1.5; }
.substance-parallel.is-clear { color: #245744; background: #e6f3ec; }
.substance-parallel.is-possible { color: #73581d; background: #fff4d5; }
.substance-parallel.is-unclear { color: #5d566c; background: #f1eef5; }
.grade12-note { margin: 10px 0; color: #71808d; font-size: 10px; line-height: 1.45; }

.membership-section { border-top: 1px solid #e2e8f0; }
.billing-toggle { margin-bottom: 18px; }
.billing-toggle button { border-radius: 6px; }
.membership-period-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 910px; margin: 0 auto 18px; }
.membership-period-grid article { display: flex; flex-direction: column; padding: 24px; background: #fff; border: 1px solid #dbe3e8; border-radius: 9px; }
.membership-period-grid span { color: #637986; font-size: 9px; font-weight: 750; letter-spacing: .1em; }
.membership-period-grid h3 { margin: 15px 0 9px; color: #17344a; font-size: 22px; }
.membership-period-grid p { color: #526774; font-size: 12px; line-height: 1.55; }
.membership-period-grid strong { display: block; margin-top: 16px; color: #6b2d27; font-size: 10px; }
.membership-period-grid .membership-choice { display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 64px; height: 64px; margin-top: auto; line-height: 1.25; text-decoration: none; }
@media (min-width: 840px) {
  .membership-period-grid .membership-choice { white-space: nowrap; }
}
.membership-dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 20px; }
.membership-dialog-actions .button { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; text-align: center; }
.membership-card { border-color: #dbe3e8; border-radius: 9px; box-shadow: none; }
.membership-main { background: #174f63; }
.membership-main h3 { font-size: 30px; font-weight: 650; }
.membership-features { margin: 0; padding: 32px; list-style: none; }
.membership-features li { color: #465866; }
.membership-features li::before { content: "—"; width: auto; height: auto; color: #637986; background: none; border-radius: 0; }
.membership-preview-boundaries { display: grid; gap: 9px; margin: 18px 0 24px; padding-left: 20px; color: #526774; font-size: 11px; line-height: 1.5; }
.dialog-close { width: 44px; height: 44px; }
dialog { max-height: 90dvh; overflow-y: auto; }

.trial-assurance {
  max-width: 720px;
  margin: 15px 0 0;
  padding-left: 15px;
  border-left: 3px solid #6e9e8b;
  color: #526774;
  font-size: 12px;
  line-height: 1.55;
}
.trial-assurance strong { color: #2e5e4e; }

.trial-card {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(180px, .65fr) minmax(210px, .7fr);
  gap: 28px;
  align-items: center;
  max-width: 910px;
  margin: 0 auto 18px;
  padding: 28px;
  border: 1px solid #b8d3c7;
  border-radius: 10px;
  background: linear-gradient(135deg, #f1f8f4 0%, #f8fbfc 100%);
}
.trial-card span {
  color: #386a5a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}
.trial-card h3 { margin: 8px 0; color: #17344a; font-size: 24px; line-height: 1.15; }
.trial-card p { margin: 0; color: #526774; font-size: 12px; line-height: 1.55; }
.trial-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.trial-card li { position: relative; padding-left: 21px; color: #315e50; font-size: 12px; font-weight: 650; }
.trial-card li::before { content: "✓"; position: absolute; left: 0; color: #4f8874; }
.trial-card > div:last-child { display: grid; gap: 9px; }
.trial-card .button { width: 100%; }
.trial-card small { color: #687d87; font-size: 10px; line-height: 1.4; text-align: center; }

.feedback-section {
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 6vw, 72px);
  padding: 72px clamp(28px, 7vw, 96px);
  border-top: 1px solid #dbe3e8;
  border-bottom: 1px solid #dbe3e8;
  background: #edf4f7;
}
.feedback-copy h2 { max-width: 560px; margin: 12px 0 16px; color: #17344a; font-size: clamp(30px, 4vw, 44px); line-height: 1.08; }
.feedback-copy > p:not(.eyebrow) { max-width: 610px; margin: 0 0 22px; color: #526774; font-size: 15px; line-height: 1.65; }
.feedback-copy .button { margin-bottom: 10px; }
.feedback-copy small { display: block; max-width: 520px; color: #687d87; font-size: 10px; line-height: 1.45; }
.feedback-themes { display: grid; gap: 10px; }
.feedback-themes article { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 2px 14px; padding: 19px 21px; border: 1px solid #cbdce5; border-radius: 8px; background: #fff; }
.feedback-themes span { grid-row: 1 / 3; display: grid; width: 34px; height: 34px; place-items: center; color: #fff; background: #174f63; border-radius: 50%; font-size: 10px; font-weight: 750; }
.feedback-themes h3 { margin: 0; color: #263746; font-size: 18px; }
.feedback-themes p { margin: 4px 0 0; color: #60707c; font-size: 12px; line-height: 1.5; }

.about-section .founder-grid { gap: 12px; }
.founder-grid article { display: block; padding: 25px; background: #fff; border: 1px solid #dbe3e8; border-radius: 8px; }
.founder-grid article > span { color: #174f63; font-size: 10px; font-weight: 700; letter-spacing: .1em; }
.founder-grid h3 { margin: 8px 0 6px; color: #263746; font-size: 21px; }
.founder-grid p { margin: 0; color: #60707c; font-size: 13px; }
.founder-note { margin-top: 28px; padding: 16px 18px; border: 1px solid #e4d6a1; border-radius: 6px; background: #fff9e4; color: #5b6265; font-size: 12px; line-height: 1.6; }
.founder-note strong { color: #33424a; }

.page-frame > footer {
  display: block;
  min-height: 0;
  padding: 0;
  color: #71808d;
  background: #fff;
  border-top: 1px solid #dbe3e8;
}
.page-frame > footer p { font-size: 11px; }
.footer-company {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 34px;
  color: #526774;
  background: #e7edf0;
  font-size: 12px;
}
.footer-company span,
.footer-company a { white-space: nowrap; }
.footer-company a { color: inherit; text-underline-offset: 3px; }
.footer-separator { color: #a2afb5; }
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 34px;
}
.footer-legal p { margin: 0; }
.footer-legal a { color: inherit; text-underline-offset: 3px; }

.access-page { background: #edf4f7; }
.access-card { border-radius: 12px; box-shadow: 0 14px 40px rgba(40,56,70,.09); }
.access-card h1, .access-shell-narrow .access-card h1, .access-shell-terms .access-card h1 {
  color: #17344a;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.12;
}
.access-boundary { color: #5a4a2d; background: #fff7d6; border-left-color: #c8893f; }
.privacy-notice { background: #f8fafb; border-color: #dbe3e8; }
.privacy-notice h2 { color: #263746; font-size: 23px; font-weight: 650; }

dialog { border-radius: 10px; }
dialog h2 { color: #17344a; font-size: 30px; font-weight: 600; }
.dialog-notice { color: #5a4a2d; background: #fff7d6; }

@media (max-width: 1080px) {
  .desktop-nav { display: none; }
  .studio-shell { grid-template-columns: 220px minmax(0, 1fr); }
}

@media (max-width: 760px) {
  .page-frame { width: 100%; margin: 0; border: 0; border-radius: 0; }
  .site-header { min-height: 82px; padding: 12px 18px; }
  .site-header > .header-login { width: auto; min-width: 72px; padding: 0 12px; font-size: 12px; }
  .site-header > .header-login::after { content: none; }
  .brand { gap: 11px; }
  .brand-housemark { width: 54px; height: 56px; flex-basis: 54px; background-size: 222px 56px; }
  .brand-copy strong { font-size: 20px; }
  .brand-copy small { font-size: 8px; }
  .member-session { margin-left: auto; }
  .member-session > a, .member-session > span { display: none; }
  .member-session .header-login { width: auto; min-width: 64px; padding: 0 12px; font-size: 0; }
  .member-session .header-login::after { content: "Konto"; font-size: 12px; }
  .tool-hero { padding: 32px 20px 24px; }
  .tool-hero > p:not(.eyebrow) { font-size: 15px; }
  .boundary-strip { margin: 0 20px; align-items: flex-start; flex-direction: row; padding: 13px; }
  .studio-section, .method-section, .value-section, .membership-section, .quality-section, .homeopathy-section, .about-section { padding: 46px 20px; }
  .trial-card { grid-template-columns: 1fr; gap: 20px; padding: 22px 18px; }
  .feedback-section { grid-template-columns: 1fr; padding: 46px 20px; }
  .method-explainer, .method-example-grid { grid-template-columns: 1fr; }
  .method-examples { padding: 22px 16px; }
  .studio-shell { display: block; border-radius: 9px; }
  .studio-steps { padding: 16px; }
  .studio-steps nav { display: block; }
  .studio-steps ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; padding: 0; }
  .studio-steps ol::before { display: none; }
  .studio-steps li { display: grid; grid-template-columns: 1fr; justify-items: center; padding: 0; text-align: center; }
  .studio-steps li div { display: block; }
  .studio-steps li b { font-size: 10px; }
  .studio-steps li small { display: none; }
  .case-kicker, .privacy-note { display: none; }
  .studio-panel { padding: 28px 18px; }
  .form-grid, .review-layout, .summary-list { grid-template-columns: 1fr; }
  .question-card-head h4 { font-size: 16px; }
  .question-boundary, .answer-options { padding-left: 18px; }
  .panel-actions { align-items: stretch; flex-direction: column-reverse; }
  .panel-actions .button { width: 100%; }
  .panel-actions-progress { flex-direction: column; }
  .panel-actions-secondary { display: grid; grid-template-columns: 1fr 1fr; width: 100%; }
  .step-title-row, .results-heading { align-items: flex-start; flex-direction: column; }
  .source-row { grid-template-columns: 25px 1fr; }
  .source-answer, .source-matches { grid-column: 2; text-align: left; }
  .method-grid { grid-template-columns: 1fr; }
  .benefit-grid, .quality-grid { grid-template-columns: 1fr; }
  .source-overview { grid-template-columns: 1fr; }
  .membership-period-grid { grid-template-columns: 1fr; }
  .membership-card { grid-template-columns: 1fr; }
  .membership-main .button { width: 100%; }
  dialog { width: min(100% - 28px, 520px); padding: 28px 22px; }
  .founder-grid { grid-template-columns: 1fr; }
  .footer-company,
  .footer-legal { align-items: flex-start; flex-direction: column; gap: 8px; padding: 20px; }
  .footer-company span,
  .footer-company a { white-space: normal; }
  .footer-separator { display: none; }
}

.button.is-waiting {
  opacity: .45;
  cursor: not-allowed;
}
.button.is-waiting:hover { transform: none; }
#accept-guardrails:not(.is-waiting) {
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
}

/* landing-scandi, scoped — studio body is not landing-page */

/* Landing-only visual layer for den äldre interna /fallstudio/-katalogen.
   Source of truth. Scoped under body.landing-page so /studio is untouched.
   Pass 9 — catalog result preview, two surfaces, merged legal line. Gold and petrol forbidden. */

body.landing-page {
  --lp-navy: #17344a;       /* ink, headings, PRIMARY buttons, wordmark */
  --lp-navy-hover: #102536;
  --lp-tint: #eef2f4;       /* secondary buttons, soft fills — neutral grey, no blue-green */
  --lp-tint-strong: #e2e7ea;
  --lp-panel: #f6f7f8;
  --lp-line: #dce3e6;       /* all structural lines, neutral */
  --lp-ink-soft: #3d4e5c;
  --lp-muted: #6b7680;      /* small icons only, grey not teal */
  --lp-radius: 13px;
  --ink-soft: var(--lp-ink-soft);
  color: var(--lp-navy);
}

body.landing-page .page-frame {
  overflow: visible;
}

body.landing-page main > section[id] {
  scroll-margin-top: 120px;
}

/* 12. Thin sticky header */
body.landing-page .site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: auto;
  min-height: 112px;
  padding: 22px 34px;
  align-items: center;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: saturate(1.1) blur(12px);
  -webkit-backdrop-filter: saturate(1.1) blur(12px);
  border-bottom: 1px solid var(--lp-line);
  box-shadow: none;
}

body.landing-page .desktop-nav a,
body.landing-page .desktop-nav a:hover,
body.landing-page .desktop-nav a:focus,
body.landing-page .desktop-nav a:last-child {
  border: 0;
  border-bottom: 0;
  box-shadow: none;
  text-decoration: none;
  background-image: none;
}

body.landing-page .desktop-nav a {
  color: var(--lp-ink-soft);
}

body.landing-page .desktop-nav a:hover {
  color: var(--lp-navy);
}

body.landing-page .desktop-nav a::before,
body.landing-page .desktop-nav a::after {
  content: none;
  display: none;
}

body.landing-page .hero::before {
  content: none;
  display: none;
}

body.landing-page .header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

body.landing-page .header-login,
body.landing-page a.button.header-login,
body.landing-page .landing-menu summary {
  min-height: 38px;
  height: 38px;
  padding: 0 16px;
  border: 1px solid var(--lp-navy);
  border-radius: var(--lp-radius);
  background: #fff;
  color: var(--lp-navy);
  font-size: 13px;
  font-weight: 650;
  box-shadow: none;
}

body.landing-page .header-login:hover:not(:disabled),
body.landing-page .landing-menu summary:hover {
  background: var(--lp-tint);
  color: var(--lp-navy);
  transform: none;
}

body.landing-page .header-login::after {
  content: none;
}

/* 1. Mobile Meny — hidden on desktop, shown below 1080px */
body.landing-page .landing-menu {
  display: none;
  position: relative;
}

body.landing-page .landing-menu summary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  list-style: none;
  cursor: pointer;
  user-select: none;
}

body.landing-page .landing-menu summary::-webkit-details-marker {
  display: none;
}

body.landing-page .landing-menu nav {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 50;
  min-width: 248px;
  padding: 8px;
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  box-shadow: 0 14px 36px rgba(40, 56, 70, .12);
}

body.landing-page .landing-menu nav a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--lp-navy);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

body.landing-page .landing-menu nav a:hover {
  background: var(--lp-tint);
}

/* 2. One button family for the whole landing */
body.landing-page .button,
body.landing-page .button-primary,
body.landing-page .button-quiet,
body.landing-page .button-secondary,
body.landing-page .membership-choice,
body.landing-page .section-cta .button,
body.landing-page .trial-card .button,
body.landing-page .feedback-cta .button {
  min-height: 50px;
  height: 50px;
  padding: 0 24px;
  border: 0;
  border-radius: var(--lp-radius);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  box-shadow: none;
}

body.landing-page .button-primary,
body.landing-page a.button-primary {
  color: #fff;
  background: var(--lp-navy);
}

body.landing-page .button-primary:hover:not(:disabled) {
  background: var(--lp-navy-hover);
  transform: none;
}

body.landing-page .button-quiet,
body.landing-page .button-secondary,
body.landing-page a.button-quiet,
body.landing-page a.button-secondary {
  color: var(--lp-navy);
  background: var(--lp-tint);
  border: 0;
}

body.landing-page .hero-actions .button-secondary,
body.landing-page a.hero-actions .button-secondary,
body.landing-page .hero-actions a.button-secondary {
  background: #fff;
  border: 1px solid var(--lp-line);
  border-radius: 18px;
  box-shadow: 0 8px 24px rgba(40, 56, 70, .05);
}

body.landing-page .button-quiet:hover:not(:disabled),
body.landing-page .button-secondary:hover:not(:disabled) {
  background: var(--lp-tint-strong);
  color: var(--lp-navy);
  transform: none;
}

body.landing-page .button:focus-visible,
body.landing-page a:focus-visible,
body.landing-page summary:focus-visible {
  outline: 3px solid rgba(23, 52, 74, .35);
  outline-offset: 3px;
}

/* Compact header controls stay compact after the family rule */
body.landing-page .header-login,
body.landing-page .landing-menu summary {
  min-height: 38px;
  height: 38px;
  padding: 0 16px;
  font-size: 13px;
  border: 1px solid var(--lp-navy);
  background: #fff;
}

body.landing-page .hero h1,
body.landing-page .hero-evidence h2,
body.landing-page .section-heading h2 {
  color: var(--lp-navy);
}

body.landing-page .hero-grain {
  opacity: .045;
}

/* 3. Hero refinements — restore pass-1 air */
body.landing-page .hero {
  min-height: 680px;
  padding: 88px clamp(24px, 7vw, 112px) 80px;
  align-items: center;
  gap: clamp(56px, 8vw, 120px);
}

body.landing-page .hero .eyebrow {
  margin-bottom: 22px;
}

body.landing-page .hero h1 {
  margin-bottom: 32px;
}

body.landing-page .hero-lead {
  margin-top: 0;
}

body.landing-page .hero-cta-block {
  max-width: 640px;
  margin-top: 36px;
}

body.landing-page .hero-actions {
  align-items: stretch;
  gap: 12px;
  margin-top: 0;
}

body.landing-page .hero-actions .button {
  min-height: 53px;
  height: 53px;
  padding: 0 26px;
}

body.landing-page .hero-actions .button-primary {
  gap: 10px;
}

body.landing-page .hero-actions .button-secondary {
  gap: 8px;
}

body.landing-page .cta-icon {
  display: inline-block;
  flex: 0 0 auto;
  background: currentColor;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

body.landing-page .cta-arrow {
  width: 13px;
  height: 13px;
  opacity: .82;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M2.5 7h8.2M7.4 3.6 11.2 7 7.4 10.4' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 14' fill='none'><path d='M2.5 7h8.2M7.4 3.6 11.2 7 7.4 10.4' stroke='black' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'/></svg>");
}

body.landing-page .cta-view {
  width: 12px;
  height: 12px;
  color: var(--lp-muted);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M3.1 2.15v7.7L10.1 6 3.1 2.15z' stroke='black' stroke-width='1.25' stroke-linejoin='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' fill='none'><path d='M3.1 2.15v7.7L10.1 6 3.1 2.15z' stroke='black' stroke-width='1.25' stroke-linejoin='round'/></svg>");
}

body.landing-page .trial-assurance {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  max-width: none;
  margin: 16px 0 0;
  padding: 14px 16px;
  border: 1px solid var(--lp-line);
  border-left: 1px solid var(--lp-line);
  border-radius: 18px;
  background: var(--lp-panel);
  box-shadow: 0 8px 24px rgba(40, 56, 70, .05);
  color: var(--lp-ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

body.landing-page .trial-assurance strong {
  color: var(--lp-navy);
  font-weight: 700;
}

body.landing-page .trial-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 16px;
  background: var(--lp-muted);
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M8 1.6 13.4 3.8v4.1c0 3.3-2.2 5.4-5.4 6.5-3.2-1.1-5.4-3.2-5.4-6.5V3.8L8 1.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/></svg>") center / contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M8 1.6 13.4 3.8v4.1c0 3.3-2.2 5.4-5.4 6.5-3.2-1.1-5.4-3.2-5.4-6.5V3.8L8 1.6z' stroke='black' stroke-width='1.3' stroke-linejoin='round'/></svg>") center / contain no-repeat;
}

body.landing-page .hero-evidence {
  padding: clamp(24px, 3.5vw, 36px);
  background: var(--lp-panel);
  border: 1px solid var(--lp-line);
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(40, 56, 70, .05);
}

body.landing-page .hero-work-figure {
  margin: 0 0 18px;
}
body.landing-page .hero-work-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
}

body.landing-page .example-flow {
  position: relative;
  display: grid;
  gap: 0;
  margin: 22px 0 0;
}

body.landing-page .example-flow::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: var(--lp-line);
  pointer-events: none;
}

body.landing-page .example-step,
body.landing-page .example-flow > div {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 12px 6px 12px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--lp-line);
  pointer-events: none;
}

body.landing-page .example-step:last-child,
body.landing-page .example-flow > div:last-child {
  border-bottom: 0;
  padding-bottom: 2px;
}

body.landing-page .example-step > span,
body.landing-page .example-flow > div > span {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  margin-top: 1px;
  color: var(--lp-navy);
  background: var(--lp-tint);
  border: 1px solid var(--lp-muted);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

body.landing-page .example-flow p,
body.landing-page .example-flow b,
body.landing-page .example-flow small {
  display: block;
  margin: 0;
}

body.landing-page .example-flow b {
  color: var(--lp-navy);
  font-size: 13px;
}

body.landing-page .example-flow small {
  margin-top: 3px;
  color: var(--lp-ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

body.landing-page .trust-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1px minmax(0, 1fr);
  align-items: start;
  gap: 0 28px;
  margin-top: 40px;
  padding-top: 22px;
  border-top: 1px solid var(--lp-line);
  color: var(--lp-ink-soft);
  font-size: 12px;
  letter-spacing: .01em;
  text-transform: none;
}

body.landing-page .trust-row > span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

body.landing-page .trust-divider {
  display: block;
  width: 1px;
  align-self: stretch;
  min-height: 28px;
  background: var(--lp-line);
}

body.landing-page .trust-icon {
  display: inline-block;
  width: 15px;
  height: 15px;
  margin-top: 4px;
  flex: 0 0 15px;
  background: var(--lp-muted);
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

body.landing-page .trust-icon-catalog {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><rect x='2.4' y='2.6' width='11.2' height='3' rx='.7' stroke='black' stroke-width='1.2'/><rect x='2.4' y='6.5' width='11.2' height='3' rx='.7' stroke='black' stroke-width='1.2'/><rect x='2.4' y='10.4' width='11.2' height='3' rx='.7' stroke='black' stroke-width='1.2'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><rect x='2.4' y='2.6' width='11.2' height='3' rx='.7' stroke='black' stroke-width='1.2'/><rect x='2.4' y='6.5' width='11.2' height='3' rx='.7' stroke='black' stroke-width='1.2'/><rect x='2.4' y='10.4' width='11.2' height='3' rx='.7' stroke='black' stroke-width='1.2'/></svg>");
}

body.landing-page .trust-icon-sources {
  background: var(--lp-muted);
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.2 2.6h6.4c1.4 0 2.4 1 2.4 2.3v8.5H5.4c-1.2 0-2.2-.9-2.2-2.1V2.6z' stroke='black' stroke-width='1.2'/><path d='M5.6 5.1h4.6M5.6 7.4h4.6M5.6 9.7h3.2' stroke='black' stroke-width='1.2' stroke-linecap='round'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'><path d='M3.2 2.6h6.4c1.4 0 2.4 1 2.4 2.3v8.5H5.4c-1.2 0-2.2-.9-2.2-2.1V2.6z' stroke='black' stroke-width='1.2'/><path d='M5.6 5.1h4.6M5.6 7.4h4.6M5.6 9.7h3.2' stroke='black' stroke-width='1.2' stroke-linecap='round'/></svg>");
}

body.landing-page .trust-copy {
  display: grid;
  gap: 2px;
}

body.landing-page .trust-row b {
  color: var(--lp-navy);
  margin-right: 0;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  text-transform: none;
}

body.landing-page .hero-legal {
  max-width: 68ch;
  margin: 16px 0 0;
  color: var(--lp-ink-soft);
  font-size: 12px;
  line-height: 1.5;
}

body.landing-page .section-heading > p:not(.eyebrow),
body.landing-page .hero-lead {
  color: var(--lp-ink-soft);
}

body.landing-page .eyebrow {
  color: var(--lp-navy);
}

/* Shared below-fold rhythm */
body.landing-page .method-section,
body.landing-page .value-section,
body.landing-page .membership-section,
body.landing-page .quality-section,
body.landing-page .homeopathy-section,
body.landing-page .about-section,
body.landing-page .result-preview-section {
  padding: 56px clamp(24px, 7vw, 112px);
}

body.landing-page .result-preview-section {
  background: var(--lp-panel);
}

body.landing-page .section-heading {
  margin-bottom: 28px;
}

body.landing-page .section-cta {
  margin-top: 28px;
}

/* 4. Method — compact horizontal row, not four cards */
body.landing-page .method-section {
  background: var(--lp-panel);
}

body.landing-page .method-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

body.landing-page .method-row article {
  min-height: 0;
  padding: 4px 40px 4px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
}

body.landing-page .method-row article + article {
  padding: 4px 0 4px 40px;
  border-left: 1px solid var(--lp-line);
}

body.landing-page .method-row article > span,
body.landing-page .benefit-list article > span {
  color: var(--lp-navy);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
}

body.landing-page .method-row h3,
body.landing-page .benefit-list h3 {
  margin: 8px 0 8px;
  color: var(--lp-navy);
  font-size: 22px;
  font-weight: 650;
}

body.landing-page .method-row p,
body.landing-page .benefit-list p {
  margin: 0;
  color: var(--lp-ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

/* 5. Result preview — unified frame, thin candidate dividers */
body.landing-page .result-preview-shell {
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(40, 56, 70, .08);
}

body.landing-page .result-preview-summary {
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, .55fr);
  padding: clamp(28px, 4vw, 48px);
  background: #fff;
}

body.landing-page .result-preview-summary h3 {
  max-width: 720px;
  font-size: clamp(26px, 3.2vw, 38px);
  font-weight: 650;
}

body.landing-page .result-preview-summary p:not(.eyebrow) {
  color: var(--lp-ink-soft);
}

body.landing-page .result-preview-summary ul,
body.landing-page .result-preview-summary ul li,
body.landing-page .result-preview-summary li {
  color: var(--lp-navy);
  background: none;
  background-color: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 2px 0;
  cursor: default;
  pointer-events: none;
}

body.landing-page .result-preview-candidates {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0;
}

body.landing-page .result-preview-candidates h4 {
  font-size: 16px;
  font-weight: 650;
  line-height: 1.25;
}

body.landing-page .result-preview-candidates article {
  display: grid;
  grid-template-columns: minmax(200px, 26%) 1fr minmax(140px, 18%);
  gap: 8px 28px;
  align-items: start;
  min-width: 0;
  padding: 16px 22px 18px;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--lp-line);
}

body.landing-page .result-preview-candidates article:last-child {
  border-bottom: 0;
}

body.landing-page .result-preview-candidates header > span {
  color: #fff;
  background: var(--lp-navy);
}

body.landing-page .result-preview-candidates header p,
body.landing-page .result-preview-candidates dd,
body.landing-page .result-preview-candidates article > small {
  color: var(--lp-ink-soft);
}

body.landing-page .result-preview-candidates dt {
  color: var(--lp-navy);
}

body.landing-page .result-preview-candidates dl div {
  border-top-color: var(--lp-line);
}

/* 6. Values — open two-column list */
body.landing-page .value-section {
  background: #fff;
}

body.landing-page .benefit-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 56px;
}

body.landing-page .benefit-list article {
  padding: 20px 0 22px;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--lp-line);
}

body.landing-page .benefit-list article::before {
  content: none;
  display: none;
}

/* 7. Membership — trial emphasized, equal prices, open checklist */
body.landing-page .membership-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

body.landing-page .trial-card {
  max-width: none;
  margin: 0 0 18px;
  padding: 24px 28px;
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
  background: var(--lp-tint);
}

body.landing-page .trial-card span {
  color: var(--lp-navy);
}

body.landing-page .trial-card p,
body.landing-page .trial-card small {
  color: var(--lp-ink-soft);
}

body.landing-page .trial-card li {
  color: var(--lp-navy);
}

body.landing-page .trial-card li::before {
  color: var(--lp-navy);
}

body.landing-page .membership-period-grid {
  max-width: none;
  margin: 0 0 8px;
  gap: 16px;
}

body.landing-page .membership-period-grid article {
  display: flex;
  flex-direction: column;
  padding: 22px 24px 24px;
  background: var(--lp-panel);
  border: 1px solid var(--lp-line);
  border-radius: var(--lp-radius);
}

body.landing-page .membership-period-grid span {
  color: var(--lp-navy);
}

body.landing-page .membership-period-grid p,
body.landing-page .membership-period-grid strong {
  color: var(--lp-ink-soft);
}

body.landing-page .membership-period-grid .membership-choice {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 72px;
  height: 72px;
  margin-top: auto;
  gap: 3px;
  line-height: 1.2;
  text-align: center;
}

body.landing-page .membership-period-grid .membership-choice-label,
body.landing-page .membership-period-grid .membership-choice-price {
  color: inherit;
  letter-spacing: 0;
}

body.landing-page .membership-period-grid .membership-choice-label {
  font-size: 14px;
  font-weight: 700;
}

body.landing-page .membership-period-grid .membership-choice-price {
  font-size: 12px;
  font-weight: 550;
}

body.landing-page .membership-period-grid .button-quiet,
body.landing-page .membership-period-grid a.button-quiet {
  color: #17344a;
  background: #fff;
  border: 1px solid #17344a;
}

body.landing-page .membership-period-grid .button-quiet:hover:not(:disabled),
body.landing-page .membership-period-grid a.button-quiet:hover:not(:disabled) {
  color: #17344a;
  background: #fff;
  border-color: #17344a;
}

body.landing-page .membership-period-grid .price-vat {
  margin: 4px 0 8px;
  color: var(--lp-muted);
  font-size: 12px;
  font-weight: 500;
}

body.landing-page .membership-tax-note {
  margin: 10px 0 0;
  color: var(--lp-muted);
  font-size: 11px;
  line-height: 1.5;
}

body.landing-page .membership-includes {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--lp-navy);
}

body.landing-page .membership-includes h3 {
  margin: 6px 0 8px;
  color: var(--lp-navy);
  font-size: 24px;
  font-weight: 650;
}

body.landing-page .membership-includes > p {
  max-width: 68ch;
  margin: 0 0 18px;
  color: var(--lp-ink-soft);
  font-size: 14px;
  line-height: 1.6;
}

body.landing-page .membership-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

body.landing-page .membership-features li {
  position: relative;
  padding: 8px 0 8px 22px;
  color: var(--lp-ink-soft);
  font-size: 13px;
  line-height: 1.5;
}

body.landing-page .membership-features li::before {
  content: "–";
  position: absolute;
  left: 0;
  top: 8px;
  width: auto;
  height: auto;
  color: var(--lp-navy);
  background: none;
  border-radius: 0;
  font-size: 14px;
}

body.landing-page .membership-features li b {
  color: var(--lp-navy);
}

/* 8. Feedback — compact rows, ~300–350px */
body.landing-page .feedback-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px clamp(24px, 7vw, 112px);
  background: var(--lp-panel);
}

body.landing-page .feedback-copy h2 {
  max-width: 40ch;
  margin: 6px 0 8px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.2;
  font-weight: 650;
}

body.landing-page .feedback-copy > p:not(.eyebrow) {
  max-width: 68ch;
  margin: 0;
  color: var(--lp-ink-soft);
  font-size: 14px;
}

body.landing-page .feedback-themes {
  display: grid;
  gap: 0;
}

body.landing-page .feedback-themes article {
  display: grid;
  grid-template-columns: minmax(150px, 220px) minmax(0, 1fr);
  align-items: baseline;
  gap: 4px 16px;
  min-width: 0;
  padding: 8px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  border-bottom: 1px solid var(--lp-line);
}

body.landing-page .feedback-themes h3 {
  margin: 0;
  color: var(--lp-navy);
  font-size: 13px;
  font-weight: 700;
}

body.landing-page .feedback-themes p {
  margin: 0;
  color: var(--lp-ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

body.landing-page .feedback-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}

body.landing-page .feedback-cta small {
  display: block;
  max-width: 42ch;
  color: var(--lp-ink-soft);
  font-size: 12px;
  line-height: 1.45;
}

body.landing-page .feedback-text-link,
body.landing-page a.feedback-text-link {
  display: inline;
  min-height: 0;
  height: auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  color: var(--lp-navy);
  font-size: 14px;
  font-weight: 650;
  letter-spacing: .01em;
  text-decoration: none;
  box-shadow: none;
}

body.landing-page .feedback-text-link:hover {
  color: var(--lp-navy-hover);
}

/* 9. Method & sources — horizontal stats, compact sources */
body.landing-page .quality-section .section-heading {
  max-width: none;
}

body.landing-page .quality-section .section-heading h2 {
  max-width: none;
  font-size: clamp(22px, 2.6vw, 30px);
  line-height: 1.25;
}

body.landing-page .quality-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 8px 0 28px;
  padding: 8px 0 4px;
  border-top: 1px solid var(--lp-line);
  border-bottom: 1px solid var(--lp-line);
}

body.landing-page .quality-stats article {
  padding: 18px 28px 18px 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  border-right: 1px solid var(--lp-line);
}

body.landing-page .quality-stats article:last-child {
  border-right: 0;
  padding-right: 0;
}

body.landing-page .quality-stats article:not(:first-child) {
  padding-left: 28px;
}

body.landing-page .quality-stats article > span {
  color: var(--lp-navy);
  font-size: clamp(32px, 3.4vw, 44px);
  font-weight: 700;
  line-height: 1;
}

body.landing-page .quality-stats h3 {
  margin: 10px 0 6px;
  color: var(--lp-navy);
  font-size: 16px;
  font-weight: 650;
}

body.landing-page .quality-stats p {
  margin: 0;
  color: var(--lp-ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

body.landing-page .source-overview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 8px;
  padding: 0;
  border: 0;
  background: transparent;
}

body.landing-page .source-overview h3 {
  max-width: none;
  margin: 4px 0 0;
  font-size: 20px;
  line-height: 1.25;
}

body.landing-page .source-overview ul {
  gap: 8px;
  color: var(--lp-ink-soft);
  font-size: 13px;
}

body.landing-page .coverage-details {
  margin-top: 12px;
  border: 0;
  border-top: 1px solid var(--lp-line);
  border-radius: 0;
  background: transparent;
}

body.landing-page .coverage-details + .coverage-details {
  margin-top: 0;
}

body.landing-page .coverage-details summary {
  padding: 14px 0;
  color: var(--lp-navy);
  font-size: 14px;
}

body.landing-page .coverage-details p {
  padding: 0 0 16px;
  color: var(--lp-ink-soft);
  font-size: 13px;
}

/* 10. About / boundaries / disclaimer */
body.landing-page .homeopathy-section {
  padding-bottom: 28px;
  background: #fff;
}

body.landing-page .homeopathy-section .section-heading,
body.landing-page .about-section .section-heading,
body.landing-page .founder-bio {
  max-width: 68ch;
}

body.landing-page .about-section {
  padding-top: 28px;
  background: #fff;
}

body.landing-page .about-section .section-heading {
  margin-bottom: 16px;
}

body.landing-page .founder-bio {
  padding: 0;
}

body.landing-page .founder-bio h3 {
  margin: 4px 0 16px;
  color: var(--lp-navy);
  font-size: 28px;
  font-weight: 650;
}

body.landing-page .founder-signature {
  display: none;
}

body.landing-page .founder-bio p {
  margin: 0 0 12px;
  color: var(--lp-ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

body.landing-page .homeopathy-figure {
  max-width: 720px;
  margin: 0 0 28px;
}
body.landing-page .homeopathy-figure img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

body.landing-page .founder-row {
  display: grid;
  grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
  max-width: 960px;
}
body.landing-page .founder-portrait {
  margin: 0;
}
body.landing-page .founder-portrait img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: 50% 18%;
}
body.landing-page .founder-row .founder-bio {
  max-width: none;
}


body.landing-page .founder-note {
  max-width: 68ch;
  margin-top: 20px;
  padding: 14px 0 0;
  border: 0;
  border-top: 1px solid var(--lp-line);
  border-radius: 0;
  background: transparent;
  color: var(--lp-ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

body.landing-page .founder-note strong {
  color: var(--lp-navy);
}

body.landing-page .boundary-heading {
  max-width: 68ch;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid var(--lp-line);
}

/* 11. Contrast leftovers */
body.landing-page .result-preview-toolbar,
body.landing-page .result-preview-toolbar span:last-child {
  color: var(--lp-ink-soft);
}

body.landing-page .page-frame > footer,
body.landing-page .site-footer {
  display: block;
  min-height: 0;
  padding: 20px 34px;
  color: var(--lp-ink-soft);
  background: var(--lp-panel);
  border-top: 1px solid var(--lp-line);
  box-shadow: none;
  text-align: center;
}

body.landing-page .footer-company {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 0 8px;
  padding: 0;
  color: var(--lp-ink-soft);
  background: transparent;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
}

body.landing-page .footer-company strong {
  color: var(--lp-navy);
  font-size: 14px;
  font-weight: 700;
}

body.landing-page .footer-company span,
body.landing-page .footer-company a {
  white-space: nowrap;
}

body.landing-page .footer-company a {
  color: inherit;
  text-decoration: none;
}

body.landing-page .footer-company a:hover {
  color: var(--lp-navy);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.landing-page .footer-separator {
  display: inline;
  color: var(--lp-muted);
}

body.landing-page .footer-company,
body.landing-page .page-frame > footer {
  color: var(--lp-ink-soft);
}

@media (max-width: 1080px) {
  body.landing-page .site-header {
    height: auto;
    min-height: 112px;
    padding: 18px 22px;
  }

  body.landing-page .landing-menu {
    display: block;
  }

  body.landing-page .header-actions {
    margin-left: auto;
  }

  body.landing-page .result-preview-candidates {
    grid-template-columns: 1fr;
  }

  body.landing-page .result-preview-candidates article {
    grid-template-columns: 1fr;
    gap: 6px;
    border-right: 0;
    border-bottom: 1px solid var(--lp-line);
  }

  body.landing-page .result-preview-candidates article:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 760px) {
  body.landing-page .site-header {
    height: auto;
    min-height: 88px;
    padding: 16px;
    gap: 8px;
  }

  body.landing-page .header-actions {
    gap: 6px;
  }

  body.landing-page .header-login,
  body.landing-page a.button.header-login,
  body.landing-page .landing-menu summary {
    width: auto;
    min-width: 0;
    min-height: 36px;
    height: 36px;
    padding: 0 10px;
    font-size: 12px;
    border: 1px solid var(--lp-navy);
    background: #fff;
  }

  body.landing-page .header-login::after {
    content: none;
  }

  body.landing-page .hero {
    padding: 56px 20px 48px;
    gap: 40px;
  }

  body.landing-page .hero-actions {
    align-items: stretch;
    flex-direction: column;
  }

  body.landing-page .hero-actions .button {
    width: 100%;
    min-height: 53px;
    height: 53px;
  }

  body.landing-page .trust-row {
    grid-template-columns: 1fr;
    gap: 14px;
    margin-top: 32px;
  }

  body.landing-page .trust-divider {
    width: 100%;
    height: 1px;
    min-height: 0;
  }

  body.landing-page .example-flow::before {
    left: 13px;
  }

  body.landing-page .method-section,
  body.landing-page .value-section,
  body.landing-page .membership-section,
  body.landing-page .quality-section,
  body.landing-page .homeopathy-section,
  body.landing-page .about-section,
  body.landing-page .result-preview-section {
    padding: 40px 20px;
  }

  body.landing-page .method-row,
  body.landing-page .benefit-list,
  body.landing-page .quality-stats,
  body.landing-page .membership-features,
  body.landing-page .result-preview-candidates {
    grid-template-columns: 1fr;
  }
  body.landing-page .founder-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body.landing-page .founder-portrait {
    max-width: 200px;
  }


  body.landing-page .method-row article,
  body.landing-page .method-row article + article {
    padding: 16px 0;
    border-left: 0;
    border-bottom: 1px solid var(--lp-line);
  }

  body.landing-page .quality-stats article,
  body.landing-page .quality-stats article:not(:first-child),
  body.landing-page .quality-stats article:last-child {
    padding: 16px 0;
    border-right: 0;
    border-bottom: 1px solid var(--lp-line);
  }

  body.landing-page .result-preview-candidates article {
    grid-template-columns: 1fr;
    border-right: 0;
    border-bottom: 1px solid var(--lp-line);
  }

  body.landing-page .result-preview-candidates article:last-child {
    border-bottom: 0;
  }

  body.landing-page .feedback-section {
    padding: 28px 20px;
  }

  body.landing-page .feedback-themes article {
    grid-template-columns: 1fr;
    padding: 8px 0;
  }

  body.landing-page .feedback-cta {
    align-items: stretch;
    flex-direction: column;
  }

  body.landing-page .feedback-cta .button {
    width: 100%;
  }

  body.landing-page .trial-card {
    padding: 20px 18px;
  }

  body.landing-page .page-frame > footer,
  body.landing-page .site-footer {
    padding: 20px;
    text-align: center;
  }

  body.landing-page .footer-company {
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

.runtime-status{display:grid;gap:.25rem;margin:0 0 1rem;padding:.85rem 1rem;border:1px solid #c9dadd;border-radius:.65rem;background:#eef5f6;color:#214b5a}.runtime-status strong{font-weight:750}.runtime-status span{color:#526b75}.runtime-status.is-error{border-color:#d9a5a5;background:#fff4f2;color:#7c2828}.runtime-status.is-error span{color:#7c2828}

/* v4.8.2.36: en tillgänglig följdfråga i taget, med kompakta sammanfattningar. */
body.studio-page .follow-up-list {
  display: grid;
  gap: 10px;
}

body.studio-page .follow-up-question {
  min-width: 0;
  margin: 0;
  padding: 0;
  scroll-margin-top: 112px;
  border: 1px solid #cbd8de;
  border-radius: 8px;
  background: #fff;
  box-shadow: none;
}

body.studio-page .follow-up-question.is-current {
  border-color: #7fa6aa;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(79, 126, 120, .08);
}

body.studio-page .follow-up-question.is-current:focus-visible {
  outline: 3px solid rgba(79, 126, 120, .26);
  outline-offset: 3px;
}

body.studio-page .follow-up-question.is-current .question-card-head {
  width: 100%;
  padding: 17px 18px;
  background: #f3f7f6;
}

body.studio-page .follow-up-question.is-current .answer-options {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 224px));
  justify-content: start;
  gap: 8px;
  padding: 14px 18px 18px 64px;
}

body.studio-page .question-editing-label {
  display: inline-flex;
  margin-top: 9px;
  padding: 3px 8px;
  color: #3d6767;
  background: #e7f0ed;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
}

body.studio-page .question-summary-row {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 68px;
  padding: 10px 13px;
}

body.studio-page .follow-up-question.is-answered {
  border-color: #bfd6cc;
  background: #f4f8f6;
}

body.studio-page .question-status-check,
body.studio-page .question-pending-number {
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
}

body.studio-page .question-status-check {
  color: #fff;
  background: #5d887b;
}

body.studio-page .question-pending-number {
  color: #71828a;
  background: #edf1f2;
  border: 1px solid #d5dfe2;
}

body.studio-page .question-summary-copy {
  display: grid;
  min-width: 0;
  gap: 2px;
}

body.studio-page .question-summary-copy small {
  color: #71828a;
  font-size: 9px;
  font-weight: 750;
  letter-spacing: .1em;
  text-transform: uppercase;
}

body.studio-page .question-summary-copy h4 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #294755;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

body.studio-page .question-answer-summary {
  overflow-wrap: anywhere;
  color: #55706f;
  font-size: 12px;
  line-height: 1.35;
}

body.studio-page .question-edit-button {
  min-width: 60px;
  min-height: 40px;
  padding: 0 10px;
  color: #35646a;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.studio-page .question-edit-button:hover {
  background: #e8f1ee;
  border-color: #bfd6cc;
}

body.studio-page .question-edit-button:focus-visible {
  outline: 3px solid rgba(79, 126, 120, .26);
  outline-offset: 2px;
}

body.studio-page .follow-up-question.is-pending {
  color: #71808a;
  background: #f7f9f9;
  border-color: #dce4e6;
}

body.studio-page .follow-up-question.is-pending .question-summary-row {
  min-height: 58px;
  opacity: .76;
}

body.studio-page .question-pending-label {
  color: #7d8b91;
  font-size: 10px;
  font-weight: 700;
}

body.studio-page #follow-up-next {
  scroll-margin-top: 112px;
}

@media (max-width: 760px) {
  body.studio-page .app-step[data-step="3"] .step-title-row {
    display: flex;
    justify-content: flex-end;
    margin: 3px 0 8px;
  }

  body.studio-page .app-step[data-step="3"] .step-title-row > div {
    display: none;
  }

  body.studio-page .follow-up-list {
    gap: 8px;
  }

  body.studio-page .follow-up-question,
  body.studio-page #follow-up-next {
    scroll-margin-top: 98px;
  }

  body.studio-page .follow-up-question.is-current .question-card-head {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 9px;
    padding: 14px 13px;
  }

  body.studio-page .follow-up-question.is-current .answer-options {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 10px 13px 14px;
  }

  body.studio-page .follow-up-question.is-current .answer-options span {
    min-height: 48px;
  }

  body.studio-page .question-summary-row {
    grid-template-columns: 26px minmax(0, 1fr) auto;
    gap: 9px;
    min-height: 62px;
    padding: 8px 10px;
  }

  body.studio-page .question-summary-copy h4 {
    font-size: 12px;
  }

  body.studio-page .question-edit-button {
    min-width: 54px;
    min-height: 44px;
    padding-inline: 7px;
  }

  body.studio-page .question-pending-label {
    display: none;
  }
}

/* v4.8.2.38-r2: kanoniska medellänkar och fördjupning utan att lämna fallet. */
body.studio-page .remedy-reference-button {
  display: inline;
  padding: 0;
  color: #2f6268;
  background: transparent;
  border: 0;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  font: inherit;
  font-style: inherit;
  line-height: inherit;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.studio-page .remedy-reference-button:hover {
  color: #183f4a;
}

body.studio-page .remedy-reference-button:focus-visible {
  outline: 3px solid rgba(79, 126, 120, .28);
  outline-offset: 3px;
}

body.studio-page .related-remedy-dialog {
  width: min(820px, calc(100% - 32px));
  max-height: min(86vh, 900px);
  padding: 0;
  overflow: hidden;
  color: #263c45;
  background: #fff;
  border: 1px solid #b9cdca;
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(24, 52, 62, .24);
}

body.studio-page .related-remedy-dialog::backdrop {
  background: rgba(22, 42, 48, .42);
  backdrop-filter: blur(2px);
}

body.studio-page .related-remedy-dialog-card {
  display: flex;
  max-height: inherit;
  flex-direction: column;
}

body.studio-page .related-remedy-dialog-card > header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid #d8e2e1;
}

body.studio-page .related-remedy-dialog-card h2 {
  margin: 2px 0 0;
  color: #173e4b;
  font-size: clamp(22px, 4vw, 30px);
  line-height: 1.14;
}

body.studio-page .related-remedy-close {
  min-height: 40px;
  padding: 0 12px;
  color: #315d63;
  background: #f5f8f7;
  border: 1px solid #c8d7d5;
  border-radius: 5px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

body.studio-page .related-remedy-close:focus-visible {
  outline: 3px solid rgba(79, 126, 120, .28);
  outline-offset: 2px;
}

body.studio-page .related-remedy-dialog-body {
  padding: 22px 24px 28px;
  overflow: auto;
  overscroll-behavior: contain;
}

body.studio-page .related-remedy-dialog-body section + section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e1e8e7;
}

body.studio-page .related-remedy-dialog-body h3 {
  margin: 0 0 7px;
  color: #294755;
  font-size: 16px;
}

body.studio-page .related-remedy-dialog-body p,
body.studio-page .related-remedy-dialog-body li {
  font-size: 15px;
  line-height: 1.58;
}

body.studio-page .related-remedy-context {
  margin: 0 0 18px;
  padding: 12px 14px;
  background: #f1f6f4;
  border-left: 3px solid #5e8881;
}

body.studio-page .related-remedy-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 260px);
  align-items: start;
  gap: 24px;
  margin-bottom: 24px;
}

body.studio-page .related-remedy-lead .remedy-illustration {
  margin: 0;
}

body.studio-page .related-remedy-lead .remedy-illustration img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

@media (max-width: 620px) {
  body.studio-page .related-remedy-dialog {
    width: 100%;
    max-width: none;
    max-height: 88vh;
    margin: auto 0 0;
    border-width: 1px 0 0;
    border-radius: 14px 14px 0 0;
  }

  body.studio-page .related-remedy-dialog-card > header,
  body.studio-page .related-remedy-dialog-body {
    padding-right: 18px;
    padding-left: 18px;
  }

  body.studio-page .related-remedy-lead {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  body.studio-page .related-remedy-lead .remedy-illustration {
    max-width: 360px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.studio-page .related-remedy-dialog {
    scroll-behavior: auto;
  }
}

.source-retry-actions { display:flex; justify-content:flex-end; margin-top:1rem; }
.source-retry-actions button { border:1px solid currentColor; }

/* Membership action: readable in every interaction state. */
.studio-page #comparison-gate a.button{color:#fff!important;background-color:#32689e!important;text-decoration:none!important}
.studio-page #comparison-gate a.button:hover,.studio-page #comparison-gate a.button:active{color:#fff!important;background-color:#245482!important}
.studio-page #comparison-gate a.button:focus-visible{color:#fff!important;outline:3px solid #143e5b;outline-offset:3px}

/* v3.5.0.0: fokuserad fallstart med aktiv bekräftelse för varje nytt fall. */

.intro-gate {
  max-width: 760px;
}

.intro-gate .step-intro {
  max-width: 720px;
  margin-bottom: 18px;
}

.plain-warning-compact {
  margin: 18px 0 14px;
  padding: 14px 16px;
}

.start-data-summary {
  margin: 0 0 18px;
  color: #526774;
  font-size: 13px;
  line-height: 1.55;
}

.intro-gate .checklist {
  margin: 0;
}

.intro-gate .panel-actions-start {
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}

.start-details {
  margin-top: 22px;
  padding-top: 16px;
  color: #526774;
  border-top: 1px solid #dbe3e8;
  font-size: 12px;
  line-height: 1.55;
}

.start-details summary {
  width: max-content;
  max-width: 100%;
  color: #31566a;
  cursor: pointer;
  font-weight: 650;
}

.start-details p {
  max-width: 720px;
  margin: 10px 0 0;
}

.profile-choice,
.symptom-fieldset {
  min-width: 0;
  margin: 26px 0;
  padding: 0;
  border: 0;
}

.profile-choice legend,
.symptom-fieldset legend {
  margin-bottom: 12px;
  color: #263746;
  font-size: 14px;
  font-weight: 750;
}

.profile-choice legend span {
  margin-left: 6px;
  color: #6b7d89;
  font-size: 10px;
  font-weight: 650;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.profile-row {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 16px;
  align-items: end;
  margin: 26px 0 12px;
}

.profile-row .profile-choice { margin: 0; }
.profile-age-group { width: max-content; }
.profile-age-group .age-field { max-width: 72px; }

.choice-pair {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  width: max-content;
}

.choice-pair label,
.symptom-option {
  cursor: pointer;
}

.choice-pair input,
.symptom-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice-pair span {
  box-sizing: border-box;
  display: inline-grid;
  place-items: center;
  min-width: 88px;
  width: max-content;
  min-height: 40px;
  padding: 0 16px;
  color: #3f5563;
  background: #fff;
  border: 1px solid #c9d5dc;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 700;
}

.choice-pair input:checked + span,
.symptom-option input:checked + span {
  color: #fff;
  background: #2d7488;
  border-color: #27697c;
}

.choice-pair input:focus-visible + span,
.symptom-option input:focus-visible + span {
  outline: 3px solid rgba(2, 132, 199, .24);
  outline-offset: 2px;
}

.age-field,
.search-field {
  position: relative;
  display: flex;
  align-items: center;
  margin-top: 9px;
}

.age-field { width: 72px; max-width: 72px; }
.age-field input,
.search-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 54px 0 15px;
  color: #263746;
  background: #fff;
  border: 1px solid #bfcdd5;
  border-radius: 8px;
  font: inherit;
}

.age-field input {
  width: 72px;
  min-height: 40px;
  padding: 0 28px 0 10px;
}

.age-field span,
.search-field span {
  position: absolute;
  right: 16px;
  color: #6b7d89;
  font-size: 13px;
  pointer-events: none;
}

.age-field span { right: 8px; }

.search-field span { font-size: 22px; transform: rotate(-15deg); }

.selection-boundary {
  margin: 12px 0 0;
  color: #607480;
  font-size: 12px;
  line-height: 1.55;
}

.symptom-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.symptom-option span {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  padding: 13px 15px;
  color: #344a58;
  background: #fff;
  border: 1px solid #cbd6dc;
  border-radius: 8px;
}

.symptom-option b { font-size: 14px; line-height: 1.3; }
.symptom-option small { color: #748894; font-size: 10px; }
.symptom-option input:checked + span small { color: #cfe2e8; }

.guided-details {
  margin-top: 29px;
  padding-top: 24px;
  border-top: 1px solid #dbe3e8;
}

.guided-details > p {
  margin: -4px 0 14px;
  color: #607480;
  font-size: 12px;
  line-height: 1.55;
}

.guided-details h4 {
  margin: 22px 0 10px;
  color: #263746;
  font-size: 13px;
}

.guided-details .field-label { margin-top: 24px; }
.suggested-option span { background: #f7fbfc; }

.detail-options { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.detail-option span { min-height: 58px; }

.empty-message {
  margin: 0;
  padding: 18px;
  color: #637986;
  background: #f4f7f9;
  border: 1px solid #dbe3e8;
  border-radius: 8px;
  font-size: 13px;
}

.selected-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 13px 15px;
  color: #536975;
  background: #f4f7f9;
  border: 1px solid #dbe3e8;
  border-radius: 8px;
  font-size: 12px;
  line-height: 1.55;
}

.selected-strip b { color: #263746; }

.selected-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 5px 8px 5px 10px;
  color: #174f63;
  background: #e9f2f5;
  border: 1px solid #c4d4dc;
  border-radius: 100px;
  font: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

.selected-chip span { color: #6b7d89; font-size: 13px; line-height: 1; }

.selection-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 8px 0 0;
}

.follow-up-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 12px;
  margin: 18px 0 0;
  color: #607480;
  font-size: 12px;
  line-height: 1.55;
}

.follow-up-preview[hidden] { display: none; }
.follow-up-preview strong { color: #194e58; }

.symptom-start-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .35fr);
  align-items: end;
  gap: 16px;
  margin: 18px 0 22px;
}

.symptom-start-primary,
.symptom-start-actions {
  display: grid;
  align-content: end;
  min-width: 0;
}

.symptom-search-label {
  color: #425b68;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.symptom-search-label small {
  font: inherit;
}

.symptom-start-primary .search-field { margin-top: 8px; }
.symptom-start-primary .selected-strip { min-height: 58px; margin-top: 12px; }

.symptom-start-actions {
  gap: 12px;
}

.symptom-start-actions .selection-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin: 0;
}

.symptom-start-actions .selection-actions .button {
  width: 100%;
  min-width: 0;
  white-space: nowrap;
}

.symptom-start-actions > .button-primary {
  width: 100%;
  min-height: 58px;
  padding-inline: 18px;
}

.question-count.is-ready { color: #fff; background: #2d6c60; border-color: #2d6c60; }

.locked-selection {
  display: grid;
  gap: 5px;
  margin: 18px 0 22px;
  padding: 15px 17px;
  color: #46616c;
  background: #eef6f3;
  border: 1px solid #bfd6cc;
  border-radius: 8px;
}

.locked-selection strong { color: #194e58; font-size: 13px; }
.locked-selection span { font-size: 12px; line-height: 1.5; }
.locked-selection small { color: #6d827f; font-size: 10px; }

.follow-up-list { display: grid; gap: 12px; }
.compact-question { border-color: #cbd8de; }
.compact-question .question-card-head { grid-template-columns: 38px 1fr; }
.compact-question .answer-options { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-left: 64px; }

.remedy-comparison {
  margin-top: 18px;
  padding: 21px;
  background: #fff;
  border: 1px solid #dbe3e8;
  border-radius: 9px;
}

.remedy-comparison h4,
.corpus-review h4 {
  margin: 5px 0 10px;
  color: #173f50;
  font-size: 18px;
}

.candidate-section { margin: 13px 0; }
.candidate-section h6 { margin: 0 0 6px; color: #254f60; font-size: 12px; }
.candidate-section p { line-height: 1.55; }
.candidate-follow-up { margin-top: 8px !important; padding-left: 11px; border-left: 2px solid #9bb8c6; }
.candidate-evidence { color: #415866; font-size: 12px; line-height: 1.55; }
.candidate-evidence ul { margin: 5px 0 0; padding-left: 19px; }
.candidate-evidence li + li { margin-top: 3px; }
.candidate-gap { padding: 8px 10px; color: #6b5542 !important; background: #faf5e9; border-radius: 6px; }

.term-chips { display: flex; flex-wrap: wrap; gap: 7px; }
.term-chips span {
  padding: 7px 10px;
  color: #174f63;
  background: #e9f2f5;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
}

.result-symptoms {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.result-symptoms > span {
  color: #657986;
  font-size: 11px;
  font-weight: 700;
}

.result-count {
  min-width: max-content;
  padding: 7px 10px;
  color: #174f63;
  background: #edf4f7;
  border-radius: 5px;
  font-size: 11px;
}

.result-data-basis {
  margin: 15px 0 0;
  padding: 11px 13px;
  color: #415866;
  background: #f4f8f9;
  border-left: 3px solid #77a4b5;
  border-radius: 0 6px 6px 0;
  font-size: 12px;
  line-height: 1.55;
}

.result-data-basis strong { color: #174f63; }

.studio-step-button {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  width: 100%;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.studio-steps li { display: block; }

.studio-step-button > span:first-child {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid #9eb1ba;
  border-radius: 50%;
  font-size: 12px;
}

.studio-steps li.is-active .studio-step-button > span:first-child,
.studio-steps li.is-complete .studio-step-button > span:first-child {
  color: #fff;
  background: #174f63;
  border-color: #174f63;
}

.studio-steps li.is-complete .studio-step-button > span:first-child {
  font-size: 0;
}

.studio-steps li.is-complete .studio-step-button > span:first-child::after {
  content: "✓";
  font-size: 13px;
}

.studio-step-button:disabled { cursor: default; }
.studio-step-button:not(:disabled):hover b,
.studio-step-button:not(:disabled):focus-visible b { text-decoration: underline; text-underline-offset: 3px; }
.studio-step-button:focus-visible { outline: 3px solid rgba(2, 132, 199, .24); outline-offset: 4px; border-radius: 6px; }

.result-revision-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 0;
}

.result-revision-nav-top { margin-top: 17px; border-top: 1px solid #dbe3e8; border-bottom: 1px solid #dbe3e8; }
.result-revision-nav-bottom { margin-top: 16px; border-bottom: 1px solid #dbe3e8; }
.result-revision-steps { display: flex; align-items: stretch; gap: 8px; }
.result-revision-steps > button {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  min-width: 130px;
  padding: 8px 11px;
  color: #526975;
  background: #fff;
  border: 1px solid #cdd9df;
  border-radius: 7px;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.result-revision-steps > button > span:first-child {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  color: #fff;
  background: #174f63;
  border-radius: 50%;
  font-size: 11px;
}

.result-revision-steps b,
.result-revision-steps small { display: block; }
.result-revision-steps b { color: #254f60; font-size: 11px; }
.result-revision-steps small { margin-top: 2px; color: #6f818b; font-size: 9px; }
.result-revision-steps > button:not(:disabled):hover,
.result-revision-steps > button:not(:disabled):focus-visible { border-color: #174f63; background: #f4f8f9; }
.result-revision-steps > button:focus-visible { outline: 3px solid rgba(2, 132, 199, .24); outline-offset: 2px; }
.result-revision-steps > button[aria-current="step"] { background: #edf4f7; cursor: default; }
.result-start-over { flex: 0 0 auto; min-height: 48px; }

.comparison-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.comparison-heading > strong {
  min-width: max-content;
  padding: 7px 10px;
  color: #174f63;
  background: #edf4f7;
  border-radius: 5px;
  font-size: 11px;
}

.comparison-grid { display: grid; gap: 8px; margin-top: 13px; }
.comparison-slot {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
  padding: 14px 15px;
  border: 1px solid #cdd9df;
  border-radius: 7px;
}

.comparison-slot > span { color: #174f63; font-size: 11px; font-weight: 800; }
.comparison-slot b,
.comparison-slot small { display: block; }
.comparison-slot b { color: #526975; font-size: 12px; }
.comparison-slot small { margin-top: 3px; color: #80909a; font-size: 10px; }
.comparison-slot h5 { margin: 0 0 8px; color: #173f50; font-size: 16px; }
.remedy-title-button {
  display: inline;
  margin: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 3px;
  font: inherit;
  font-weight: inherit;
  text-align: left;
  cursor: pointer;
}
.remedy-title-button:hover { color: #24758a; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.remedy-title-button:focus-visible { outline: 3px solid rgba(36, 117, 138, .24); outline-offset: 3px; }
.remedy-title-button[aria-expanded="true"] { color: #24758a; }
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
.comparison-slot p { margin: 5px 0; color: #526975; font-size: 12px; }
.comparison-slot.is-empty { background: #f8fafb; border-style: dashed; }

.candidate-references { margin-top: 11px; border-top: 1px solid #dbe5e1; }
.candidate-references summary { padding: 10px 0 4px; color: #174f63; cursor: pointer; font-size: 11px; font-weight: 750; }
.candidate-reference-body { max-width: 100%; overflow-x: auto; }
.candidate-reference-body .trace-table { min-width: 520px; margin-top: 5px; }
.candidate-reference-body .trace-table th,
.candidate-reference-body .trace-table td { color: #607580; font-size: 10px; line-height: 1.4; vertical-align: top; }
.candidate-reference-body > small { margin: 8px 0 2px; color: #73858e; line-height: 1.45; }

.boericke-depth { margin-top: 11px; border-top: 1px solid #dbe5e1; }
.boericke-depth summary { padding: 11px 0 5px; color: #174f63; cursor: pointer; font-size: 11px; font-weight: 750; }
.boericke-depth-body { max-height: 700px; margin-top: 6px; padding: 15px; overflow-y: auto; background: #f7f9fa; border: 1px solid #dbe3e8; border-radius: 7px; }
.boericke-depth-body section + section { margin-top: 16px; padding-top: 14px; border-top: 1px solid #dbe3e8; }
.boericke-depth-body h6 { margin: 0 0 6px; color: #173f50; font-size: 12px; }
.boericke-depth-body p { margin: 0; color: #526975; font-size: 12px; line-height: 1.65; }
.boericke-depth-body ul { margin: 7px 0 0; padding-left: 18px; color: #526975; font-size: 12px; line-height: 1.6; }
.boericke-depth-body li + li { margin-top: 4px; }
.source-grounded-depth[data-reading-depth="limited"] .boericke-frame { background: #f2f6f8; color: #526975 !important; }
.boericke-depth-body em { color: #254f60; font-style: normal; font-weight: 700; }

.candidate-source-chain { margin-top: 12px; border-top: 1px solid #dbe5e1; }
.candidate-source-chain > summary { padding: 11px 0 5px; color: #174f63; cursor: pointer; font-size: 11px; font-weight: 750; }
.candidate-source-chain-body { display: grid; gap: 9px; margin-top: 6px; }
.source-evidence-card { padding: 12px 13px; background: #f7f9fa; border: 1px solid #dbe3e8; border-radius: 7px; }
.source-evidence-card.is-exact { background: #f2faf6; border-color: #b9d9c8; }
.source-evidence-card.is-source-traced { background: #f7f9fc; border-color: #cad8e4; }
.source-evidence-card.is-incomplete { background: #fff8f2; border-color: #e2c7ad; }
.source-evidence-level { margin: 0 0 3px !important; color: #174f63 !important; font-size: 10px !important; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }
.source-evidence-citation { margin: 0 !important; color: #173f50 !important; font-size: 12px !important; font-weight: 700; line-height: 1.45; }
.source-evidence-card blockquote { margin: 9px 0 0; padding: 0 0 0 10px; color: #405965; border-left: 3px solid #bdd0d8; font-size: 12px; line-height: 1.55; }
.source-evidence-card.is-exact blockquote { border-left-color: #79ad8e; }
.source-locator-status { margin: 8px 0 0 !important; color: #6d7d85 !important; font-size: 10px !important; }
.source-evidence-meta { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 8px 0 0 !important; color: #6d7d85 !important; font-size: 10px !important; }
.source-loading,
.source-unavailable { margin: 0 !important; padding: 10px 12px; color: #657985 !important; background: #f7f9fa; border-radius: 7px; font-size: 11px !important; }
.boericke-source { margin-bottom: 8px !important; color: #6b7d89 !important; font-size: 10px !important; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.boericke-frame { margin-bottom: 15px !important; padding: 10px 11px; color: #655638 !important; background: #fff7d6; border-radius: 6px; }
.boericke-common-name { margin-bottom: 8px !important; color: #173f50 !important; font-weight: 700; }
.remedy-depth-lead.has-illustration { display: grid; grid-template-columns: minmax(0, 1fr) minmax(190px, 240px); gap: 18px; align-items: start; margin-bottom: 16px; }
.remedy-depth-lead.has-illustration .boericke-frame { margin-bottom: 0 !important; }
.remedy-illustration { margin: 0; }
.remedy-illustration img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #edf2f2; border: 1px solid #d5dfdc; border-radius: 7px; }
.remedy-illustration figcaption { margin-top: 6px; color: #778890; font-size: 10px; line-height: 1.4; }

.comparison-gate {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: #6b2d27;
  background: #fff2ef;
  border-left: 3px solid #9b4a3c;
  font-size: 12px;
  line-height: 1.55;
}

.corpus-review {
  display: grid;
  gap: 18px;
  margin-top: 18px;
  padding: 22px;
  color: #4f6471;
  background: #f5f8f7;
  border: 1px solid #cbdcd5;
  border-radius: 9px;
}

.corpus-review p { margin: 0; font-size: 12px; line-height: 1.6; }
.corpus-review dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; margin: 0; }
.corpus-review dl div { display: grid; gap: 4px; padding: 13px; background: #fff; border: 1px solid #dbe5e1; border-radius: 7px; }
.corpus-review dt { color: #637986; font-size: 9px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.corpus-review dd { margin: 0; color: #174f63; font-size: 19px; font-weight: 800; }
.corpus-review .corpus-gate { padding: 11px 13px; color: #6b2d27; background: #fff7f3; border-left: 3px solid #9b4a3c; }
.source-about { display: block; }
.source-about summary { color: #174f63; cursor: pointer; font-size: 13px; font-weight: 750; }
.source-about[open] summary { margin-bottom: 13px; }
.source-about p + p { margin-top: 9px; }

.membership-period-grid h3 small { color: #637986; font-size: 12px; font-weight: 600; }
.membership-period-grid strong { color: #6b2d27; }
.method-grid-four { grid-template-columns: repeat(2, minmax(0, 1fr)); }

@media (max-width: 900px) {
  .detail-options { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .compact-question .answer-options { grid-template-columns: 1fr; }
  .corpus-review dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
  .studio-steps ol { display: grid; grid-template-columns: repeat(3, 1fr); }
  .studio-steps li b { font-size: 9px; line-height: 1.2; }
  .symptom-options,
  .detail-options,
  .method-grid-four { grid-template-columns: 1fr; }
  .compact-question .answer-options { padding-left: 18px; }
  .comparison-heading { flex-direction: column; }
  .corpus-review dl { grid-template-columns: 1fr 1fr; }
  .profile-row { grid-template-columns: max-content max-content; align-items: end; }
  .symptom-start-grid { grid-template-columns: 1fr; align-items: stretch; }
  .symptom-start-actions { gap: 10px; }
  .symptom-start-actions > .button-primary { min-height: 54px; }
  .remedy-depth-lead.has-illustration { grid-template-columns: 1fr; gap: 13px; }
  .remedy-depth-lead.has-illustration .remedy-illustration { order: -1; }
  .studio-step-button { grid-template-columns: 1fr; justify-items: center; gap: 4px; text-align: center; }
  .studio-step-button > span:first-child { width: 34px; height: 34px; }
  .result-revision-nav { align-items: stretch; flex-direction: column; }
  .result-revision-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .result-revision-steps > button { grid-template-columns: 1fr; justify-items: center; min-width: 0; padding: 8px 5px; text-align: center; }
  .result-start-over { width: 100%; }
}

/* v4.8.2.9: tydlig åtgärdshierarki och två synkroniserade fortsättningsknappar. */
body.studio-page .button-primary {
  background: #39798a;
  border-color: #326f7f;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 7px 18px rgba(57,121,138,.16);
}
body.studio-page .button-primary:hover:not(:disabled) { background: #326f7f; }
body.studio-page .button-primary:active:not(:disabled) { background: #2c6574; }
body.studio-page .choice-pair input:checked + span,
body.studio-page .symptom-option input:checked + span,
body.studio-page .answer-options input:checked + span {
  color: #244b55;
  background: #dceff2;
  border-color: #75a8b1;
  box-shadow: inset 4px 0 0 #5b98a5;
}
body.studio-page .symptom-option input:checked + span small { color: #486872; }
body.studio-page .question-count.is-ready {
  color: #245b55;
  background: #e2f1ed;
  border-color: #96c2b6;
}
.symptom-bottom-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
  padding-top: 4px;
}
.symptom-bottom-actions .button {
  width: min(100%, 320px);
  min-height: 58px;
  padding-inline: 18px;
}
@media (max-width: 760px) {
  .symptom-bottom-actions .button { width: 100%; }
}

/* v4.8.2.11: kompakt symtomval, tydliga kryss och aktiv grafisk orientering. */
body.studio-page .button,
body.studio-page .studio-step-button,
body.studio-page .selected-chip,
body.studio-page .remedy-title-button {
  border-style: solid;
  border-width: 1px;
}

body.studio-page .button-quiet { border-color: #a9bcc6; }
body.studio-page .button:disabled { border-color: #aebfc7; }
body.studio-page .symptom-next-button:disabled {
  color: #6b655d;
  background: #f3efe7;
  border-color: #b7aa96;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.72);
  opacity: 1;
}
body.studio-page .remedy-title-button { border-color: transparent; }

.symptom-start-grid {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 18px;
}

.symptom-start-actions { min-width: 320px; }
.symptom-start-actions .selection-actions { grid-template-columns: repeat(2, minmax(142px, 1fr)); }
.symptom-start-actions .symptom-next-button-top:disabled { display: none; }
.symptom-start-actions .symptom-next-button-top:not(:disabled) { display: inline-flex; }
.selected-strip[hidden] { display: none !important; }

.symptom-options {
  grid-template-columns: repeat(auto-fit, minmax(144px, 158px));
  justify-content: start;
  align-items: stretch;
  gap: 8px;
}

.symptom-option {
  min-width: 0;
  height: 100%;
}
.symptom-option.is-wide { grid-column: span 2; }
.symptom-option span {
  position: relative;
  width: 100%;
  min-height: 54px;
  height: 100%;
  padding: 10px 38px 10px 12px;
  justify-content: center;
}

.symptom-option b,
.symptom-option small {
  overflow-wrap: anywhere;
}

.symptom-option span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 11px;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  color: #fff;
  background: #fff;
  border: 1.5px solid #91a9b4;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1;
  transform: translateY(-50%);
}

.symptom-option input[type="radio"] + span::after { border-radius: 50%; }
.symptom-option input:checked + span::after {
  content: "✓";
  color: #fff;
  background: #5b98a5;
  border-color: #4b8693;
}
.symptom-option input[type="radio"]:checked + span::after {
  content: "";
  background: #5b98a5;
  border: 5px solid #dceff2;
  box-shadow: 0 0 0 1.5px #4b8693;
}
.symptom-option input:focus-visible + span::after { box-shadow: 0 0 0 4px rgba(69, 139, 156, .2); }

.studio-steps ol {
  --progress-height: 0%;
  display: grid;
  gap: 10px;
  padding-bottom: 24px;
}
.studio-steps ol::before {
  left: 21px;
  top: 31px;
  bottom: 55px;
  width: 2px;
  background: #d6e1e6;
}
.studio-steps ol::after {
  content: "";
  position: absolute;
  z-index: 0;
  left: 21px;
  top: 31px;
  width: 2px;
  height: var(--progress-height);
  max-height: calc(100% - 86px);
  background: #6fa7a3;
  transition: height .22s ease;
}
#case-app[data-current-step="2"] .studio-steps ol { --progress-height: 0%; }
#case-app[data-current-step="3"] .studio-steps ol { --progress-height: 50%; }
#case-app[data-current-step="4"] .studio-steps ol { --progress-height: 100%; }

.studio-steps li {
  padding: 0;
  border: 0;
}
.studio-step-button {
  position: relative;
  z-index: 1;
  min-height: 62px;
  padding: 9px 11px;
  color: #607581;
  background: #fff;
  border-color: #c7d5dc;
  border-radius: 9px;
}
.studio-step-button > span:first-child {
  width: 34px;
  height: 34px;
  background: #fff;
}
.studio-step-button b,
.studio-step-button small { display: block; }
.studio-step-button small { margin-top: 2px; }
.studio-steps li.is-active .studio-step-button {
  color: #234d59;
  background: #eef7f8;
  border-color: #74a8b2;
  box-shadow: inset 3px 0 0 #74a8b2;
}
.studio-steps li.is-complete .studio-step-button {
  color: #315c57;
  background: #f0f8f5;
  border-color: #a9cbc1;
}
.studio-steps li.is-active .studio-step-button > span:first-child {
  color: #fff;
  background: #39798a;
  border-color: #326f7f;
}
.studio-steps li.is-complete .studio-step-button > span:first-child {
  color: #fff;
  background: #6fa7a3;
  border-color: #61958f;
}
.studio-steps li.is-active .studio-step-button small {
  color: #2f6d7b;
  font-weight: 800;
}
.studio-steps li.is-complete .studio-step-button small {
  color: #4f7e76;
  font-weight: 750;
}

@media (max-width: 760px) {
  .symptom-start-grid { grid-template-columns: 1fr; gap: 12px; }
  .symptom-start-actions { min-width: 0; }
  .symptom-start-actions .selection-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .symptom-options { grid-template-columns: 1fr; }
  .symptom-option.is-wide { grid-column: auto; }
  .symptom-option span { width: 100%; }
  .studio-steps ol {
    position: relative;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .studio-steps ol::before {
    display: block;
    top: 25px;
    right: calc(16.666% + 20px);
    bottom: auto;
    left: calc(16.666% + 20px);
    width: auto;
    height: 2px;
  }
  .studio-steps ol::after {
    top: 25px;
    bottom: auto;
    left: calc(16.666% + 20px);
    width: var(--progress-height);
    max-width: calc(66.666% - 40px);
    height: 2px;
    transition: width .22s ease;
  }
  #case-app[data-current-step="2"] .studio-steps ol { --progress-height: 0%; }
  #case-app[data-current-step="3"] .studio-steps ol { --progress-height: calc(33.333% - 20px); }
  #case-app[data-current-step="4"] .studio-steps ol { --progress-height: calc(66.666% - 40px); }
  .studio-step-button {
    grid-template-columns: 1fr;
    min-height: 82px;
    padding: 8px 4px;
  }
  .studio-steps .studio-step-button small { display: block; font-size: 9px; }
}

/*
 * v4.8.2.12 — akvarellinspirerat färglager.
 * Inspiration: vatten, pigment, nordiskt ljus och dämpade jordtoner.
 * Ingen färg är hämtad direkt från eller avsedd att efterlikna ett enskilt konstverk.
 */
body.studio-page {
  --lerinsk-havsblatt: #3f6f7b;
  --lerinsk-havsblatt-mork: #315b67;
  --lerinsk-havsblatt-tryckt: #294f5a;
  --lerinsk-regnljus: #d9e8e7;
  --lerinsk-regnkant: #7f9fa3;
  --lerinsk-papper: #f8f7f2;
  --lerinsk-sand: #f1ece2;
  --lerinsk-sandkant: #b6aa97;
  --lerinsk-blackage: #284a53;
  --lerinsk-mjuk-linje: #9aadb0;
  --lerinsk-ockra: #ae7046;
}

/* Varje knapp har en permanent fysisk kant; fokusmarkeringen är ett separat lager. */
body.studio-page button,
body.studio-page a.button,
body.studio-page .button,
body.studio-page .studio-step-button,
body.studio-page .selected-chip,
body.studio-page .remedy-title-button {
  border-style: solid;
  border-width: 1px;
  border-color: var(--lerinsk-mjuk-linje);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .62);
}

body.studio-page .button-primary {
  color: #fff;
  background: var(--lerinsk-havsblatt);
  border-color: var(--lerinsk-havsblatt-mork);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .2),
    0 7px 18px rgba(49, 91, 103, .15);
}
body.studio-page .button-primary:hover:not(:disabled) {
  background: var(--lerinsk-havsblatt-mork);
  border-color: #294f5a;
}
body.studio-page .button-primary:active:not(:disabled) {
  background: var(--lerinsk-havsblatt-tryckt);
  border-color: #23454f;
  box-shadow: inset 0 1px 2px rgba(18, 46, 54, .25);
}

body.studio-page .button-quiet,
body.studio-page .button-secondary {
  color: var(--lerinsk-blackage);
  background: var(--lerinsk-papper);
  border-color: var(--lerinsk-mjuk-linje);
}
body.studio-page .button-quiet:hover:not(:disabled),
body.studio-page .button-secondary:hover:not(:disabled) {
  background: #eef2ef;
  border-color: #81999c;
}

/* Begriplig vilande knapp: dämpad, men aldrig urtvättad eller utan ram. */
body.studio-page .button:disabled,
body.studio-page .button.is-waiting,
body.studio-page .symptom-next-button:disabled {
  color: #665f55;
  background: var(--lerinsk-sand);
  border-color: var(--lerinsk-sandkant);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
  opacity: 1;
}

body.studio-page button:focus-visible,
body.studio-page a.button:focus-visible,
body.studio-page .button:focus-visible,
body.studio-page .studio-step-button:focus-visible,
body.studio-page .selected-chip:focus-visible,
body.studio-page .remedy-title-button:focus-visible {
  outline: 3px solid rgba(174, 112, 70, .32);
  outline-offset: 3px;
}

body.studio-page .choice-pair input:checked + span,
body.studio-page .symptom-option input:checked + span,
body.studio-page .answer-options input:checked + span {
  color: var(--lerinsk-blackage);
  background: var(--lerinsk-regnljus);
  border-color: var(--lerinsk-regnkant);
  box-shadow: inset 4px 0 0 #5d8790;
}
body.studio-page .symptom-option input:checked + span::after {
  background: #466f78;
  border-color: #365d66;
}
body.studio-page .symptom-option input[type="radio"]:checked + span::after {
  background: #466f78;
  border-color: var(--lerinsk-regnljus);
  box-shadow: 0 0 0 1.5px #365d66;
}

body.studio-page .studio-step-button,
body.studio-page .remedy-title-button {
  background: #fff;
  border-color: #b7c4c3;
}
body.studio-page .studio-steps li.is-active .studio-step-button {
  color: var(--lerinsk-blackage);
  background: #edf4f2;
  border-color: #789aa0;
  box-shadow: inset 3px 0 0 #5d8790;
}
body.studio-page .studio-steps li.is-active .studio-step-button > span:first-child {
  color: #fff;
  background: var(--lerinsk-havsblatt);
  border-color: var(--lerinsk-havsblatt-mork);
}
body.studio-page .studio-steps li.is-complete .studio-step-button {
  color: #3f5f55;
  background: #f0f4ed;
  border-color: #9bb1a3;
}
body.studio-page .studio-steps li.is-complete .studio-step-button > span:first-child {
  color: #fff;
  background: #6e9282;
  border-color: #5d7f71;
}

@media (prefers-reduced-motion: reduce) {
  body.studio-page .button,
  body.studio-page .studio-step-button {
    transition: none;
  }
}

/* v4.8.2.15: följdfrågornas enkelval följer symtomrutornas mått och valmarkering. */
body.studio-page .compact-question .answer-options {
  grid-template-columns: repeat(auto-fit, minmax(144px, 158px));
  justify-content: start;
  align-items: stretch;
  gap: 8px;
}

body.studio-page .answer-option {
  min-width: 0;
  height: 100%;
}

body.studio-page .answer-option.is-wide { grid-column: auto; }

body.studio-page .answer-option > span {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  min-height: 54px;
  height: 100%;
  padding: 10px 38px 10px 12px;
  color: #344a58;
  background: #fff;
  border: 1px solid #b7c7ce;
  border-radius: 8px;
  overflow-wrap: anywhere;
}

body.studio-page .answer-option > span::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 11px;
  width: 20px;
  height: 20px;
  background: #fff;
  border: 1.5px solid #91a9b4;
  border-radius: 50%;
  transform: translateY(-50%);
}

body.studio-page .answer-option input:checked + span {
  color: var(--lerinsk-blackage);
  background: var(--lerinsk-regnljus);
  border-color: var(--lerinsk-regnkant);
  box-shadow: none;
}

body.studio-page .answer-option input:checked + span::after {
  background: #466f78;
  border: 5px solid var(--lerinsk-regnljus);
  box-shadow: 0 0 0 1.5px #365d66;
}

body.studio-page .answer-option input:focus-visible + span::after {
  box-shadow: 0 0 0 4px rgba(69, 139, 156, .2);
}

@media (max-width: 760px) {
  body.studio-page .compact-question .answer-options {
    grid-template-columns: 1fr;
    padding-left: 18px;
  }
  body.studio-page .answer-option.is-wide { grid-column: auto; }
}

/*
 * v4.8.2.19 — konsoliderad handlingspalett utan brun reservfärg.
 * Den dämpade blågrå riktningen kommer från den lokalt verifierade
 * Wisteria-referensen; inget bildmaterial ingår i webbpaketet.
 */
body.studio-page {
  --wisteria-dimbla: #416f79;
  --wisteria-dimbla-mork: #365f69;
  --wisteria-dimbla-tryckt: #2c515a;
  --wisteria-dimbla-ram: #305963;
  --wisteria-vilande: #edf2f4;
  --wisteria-vilande-ram: #a7bac2;
  --wisteria-vilande-text: #596a72;
}

/* Samma aktiva palett används på start, symtom och följdfrågor. */
body.studio-page .button-primary,
body.studio-page #accept-guardrails.button-primary:not(.is-waiting),
body.studio-page #follow-up-next.button-primary:not(:disabled),
body.studio-page .symptom-next-button.button-primary:not(:disabled) {
  color: #fff;
  background: var(--wisteria-dimbla);
  border-color: var(--wisteria-dimbla-ram);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 7px 18px rgba(48, 89, 99, .16);
}
body.studio-page .button-primary:hover:not(:disabled) {
  background: var(--wisteria-dimbla-mork);
  border-color: var(--wisteria-dimbla-tryckt);
}
body.studio-page .button-primary:active:not(:disabled) {
  background: var(--wisteria-dimbla-tryckt);
  border-color: #25464e;
  box-shadow: inset 0 1px 2px rgba(24, 55, 62, .24);
}

/* Vilande knappar är svalt neutrala och har alltid synlig ram. */
body.studio-page .button:disabled,
body.studio-page .button.is-waiting,
body.studio-page .symptom-next-button:disabled {
  color: var(--wisteria-vilande-text);
  background: var(--wisteria-vilande);
  border-color: var(--wisteria-vilande-ram);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
  opacity: 1;
}

body.studio-page button:focus-visible,
body.studio-page a.button:focus-visible,
body.studio-page .button:focus-visible,
body.studio-page .studio-step-button:focus-visible,
body.studio-page .selected-chip:focus-visible,
body.studio-page .remedy-title-button:focus-visible {
  outline: 3px solid rgba(65, 111, 121, .4);
  outline-offset: 3px;
}

/* I symtomsteget räcker en avgränsad återställningshandling. */
.symptom-start-actions {
  min-width: 286px;
}
.symptom-start-actions .selection-actions {
  grid-template-columns: minmax(0, 1fr);
}

/* Källkedjan är kompakt och stängd tills användaren vill läsa beviset. */
.candidate-source-chain > summary {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 2px 8px;
  font-size: 13px;
  line-height: 1.45;
}
.candidate-source-chain[open] > summary { margin-bottom: 7px; }
.candidate-source-chain-body { gap: 10px; margin-top: 7px; }
.source-evidence-card { padding: 14px 15px; }
.source-evidence-level {
  font-size: 11px !important;
  line-height: 1.4;
  letter-spacing: .035em;
}
.source-evidence-card.is-exact .source-evidence-level { color: #3f6f57 !important; }
.source-evidence-card.is-source-traced .source-evidence-level { color: #315b67 !important; }
.source-evidence-card.is-incomplete .source-evidence-level { color: #5f6770 !important; }
.source-evidence-citation {
  font-size: 14px !important;
  line-height: 1.5;
}
.source-evidence-card blockquote {
  font-size: 13px;
  line-height: 1.65;
}
.source-locator-status,
.source-evidence-meta {
  font-size: 12px !important;
  line-height: 1.55;
}
.source-loading,
.source-unavailable {
  font-size: 12px !important;
  line-height: 1.55;
}

@media (max-width: 760px) {
  .symptom-start-actions {
    min-width: 0;
  }
  .symptom-start-actions .selection-actions {
    grid-template-columns: minmax(0, 1fr);
  }
  .candidate-source-chain > summary { font-size: 12px; }
  .source-evidence-card { padding: 12px; }
  .source-evidence-citation { font-size: 13px !important; }
  .source-evidence-card blockquote { font-size: 13px; line-height: 1.6; }
}

/*
 * v4.8.2.20 — sidavslut och tydligare ytterram.
 * Sidfoten är alltid det sista visuella blocket i ramen. Inga UI-färger,
 * källdata eller interaktionsregler ändras i detta lager.
 */

body.studio-page .page-frame {
  display: flex;
  min-height: calc(100vh - 32px);
  flex-direction: column;
  border-color: #aebfc8;
}

body.studio-page .page-frame > main {
  flex: 1 0 auto;
}

body.studio-page .page-frame > .site-footer {
  flex: 0 0 auto;
  margin-top: auto;
}

@media (max-width: 760px) {
  body.studio-page .page-frame {
    min-height: 100vh;
    border: 0;
  }
}

/*
 * v4.8.2.21 — sammanhållen och kompakt symtomstart.
 * Sökning, valda symtom och nästa handling bildar en stabil tvåkolumnsyta.
 * Källdata, rankning, följdfrågelogik och terminologi ändras inte här.
 */

body.studio-page .symptom-start-grid {
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
  align-items: end;
  gap: 22px;
  margin-top: 22px;
  margin-bottom: 28px;
}

body.studio-page .symptom-start-actions {
  grid-template-rows: repeat(2, minmax(58px, auto));
  gap: 12px;
  min-width: 300px;
}

body.studio-page .symptom-start-actions .selection-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
}

body.studio-page .symptom-start-actions .selection-actions .button,
body.studio-page .symptom-start-actions > .button-primary {
  min-height: 58px;
  border-radius: 8px;
}

/* En enda fortsattknapp med fast placering förhindrar visuella hopp. */
body.studio-page .symptom-start-actions .symptom-next-button-top,
body.studio-page .symptom-start-actions .symptom-next-button-top:disabled,
body.studio-page .symptom-start-actions .symptom-next-button-top:not(:disabled) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body.studio-page .symptom-bottom-actions {
  display: none;
}

body.studio-page .symptom-start-primary .selected-strip {
  min-height: 58px;
  margin-top: 12px;
  padding: 11px 15px;
  background: #f4f7f8;
  border-color: #d2dde2;
}

body.studio-page .guided-details {
  margin-top: 34px;
  margin-bottom: 0;
  padding-top: 28px;
  border-top-color: #ccd9df;
}

body.studio-page .guided-details > legend {
  margin-bottom: 5px;
  color: #183b4b;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.3;
}

body.studio-page .guided-details > .selection-boundary {
  margin: 0 0 18px;
  color: #607480;
  font-size: 13px;
}

body.studio-page #suggested-symptom-group {
  margin-top: 0;
}

body.studio-page #suggested-symptom-options {
  grid-template-columns: repeat(auto-fit, minmax(158px, 224px));
  gap: 10px;
}

body.studio-page #suggested-symptom-options .symptom-option span {
  min-height: 72px;
  padding: 12px 42px 12px 15px;
}

body.studio-page .follow-up-preview {
  margin-top: 30px;
}

@media (max-width: 980px) {
  body.studio-page .symptom-start-grid {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.42fr);
    gap: 16px;
  }

  body.studio-page .symptom-start-actions {
    min-width: 260px;
  }
}

@media (max-width: 760px) {
  body.studio-page .symptom-start-grid {
    grid-template-columns: 1fr;
    align-items: stretch;
    gap: 12px;
    margin-top: 18px;
  }

  body.studio-page .symptom-start-actions {
    grid-template-rows: none;
    min-width: 0;
  }

  body.studio-page .symptom-start-actions .selection-actions,
  body.studio-page #suggested-symptom-options {
    grid-template-columns: 1fr;
  }

  body.studio-page .guided-details {
    margin-top: 26px;
    padding-top: 22px;
  }

  body.studio-page .guided-details > legend {
    font-size: 17px;
  }

  body.studio-page #suggested-symptom-options .symptom-option span {
    min-height: 58px;
  }
}

/* v4.8.2.22: tydlig inloggad startvy med verifierad kontostatus och en fallspecifik spärr. */

.studio-shell.is-starting {
  width: min(1060px, 100%);
  border-color: #c2d2da;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 44px rgba(23, 63, 80, .08);
}

.studio-shell.is-starting .studio-panel {
  padding: clamp(28px, 4vw, 48px);
}

.intro-gate {
  max-width: none;
}

.new-case-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 42px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 1px solid #d7e1e6;
}

.new-case-heading h3 {
  max-width: none;
  margin-bottom: 9px;
  color: #173746;
  font-size: clamp(28px, 3.2vw, 38px);
  font-weight: 640;
  letter-spacing: -.025em;
}

.new-case-heading .step-intro {
  max-width: 600px;
  margin: 0;
  font-size: 15px;
  line-height: 1.55;
}

.start-progress {
  display: grid;
  grid-template-columns: repeat(3, 72px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.start-progress li {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #607582;
  font-size: 12px;
}

.start-progress li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 16px;
  left: calc(50% + 17px);
  width: calc(100% - 34px);
  height: 1px;
  background: #ccd9df;
}

.start-progress span {
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: #335565;
  background: #edf3f5;
  border: 1px solid #d7e2e7;
  border-radius: 50%;
  font-weight: 750;
}

.start-progress .is-current span {
  color: #fff;
  background: #14566d;
  border-color: #14566d;
}

.start-progress small {
  color: inherit;
  font-size: inherit;
}

.start-safety-note {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  margin: 22px 0 18px;
  padding: 16px 17px;
  color: #35556a;
  background: #f1f7fb;
  border-color: #c8ddea;
}

.start-safety-note > span:last-child {
  display: grid;
  gap: 3px;
}

.start-safety-note strong {
  color: #173e54;
}

.start-safety-note > span:last-child > span {
  font-size: 13px;
  line-height: 1.55;
}

.start-note-icon {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  font-size: 18px;
  font-weight: 800;
}

.start-note-icon {
  color: #fff;
  background: #2474ad;
}

.start-storage-note {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  margin: 0;
  padding: 9px 15px 14px;
  color: #536874;
  border-bottom: 1px solid #d7e1e6;
}

.start-storage-note > span:last-child {
  display: grid;
  gap: 2px;
}

.start-storage-note strong {
  color: #244558;
  font-size: 14px;
}

.start-storage-note > span:last-child > span {
  font-size: 12px;
}

.intro-gate .checklist {
  margin-top: 16px;
  padding-top: 0;
  border-top: 0;
}

.intro-gate .checklist .start-confirm-row {
  margin: 8px 0;
  padding: 12px 14px;
  background: #fff;
  border-color: #c8d5dc;
}

.intro-gate .checklist .start-confirm-row:hover {
  background: #f8fbfc;
  border-color: #9eb6c2;
}

.intro-gate .checklist .start-confirm-row > span {
  display: grid;
  gap: 3px;
}

.intro-gate .checklist .start-confirm-row strong {
  color: #263f4d;
  font-size: 13px;
  line-height: 1.45;
}

.intro-gate .checklist .start-confirm-row small {
  color: #5d717c;
  font-size: 12px;
  line-height: 1.45;
}

.intro-gate .panel-actions-start {
  justify-content: center;
  margin-top: 18px;
}

#accept-guardrails {
  width: min(480px, 100%);
  min-height: 54px;
  color: #fff;
  background: #0f5b74;
  border: 1px solid #0b485c;
  box-shadow: 0 10px 24px rgba(15, 91, 116, .14);
}

#accept-guardrails:hover:not(:disabled) {
  background: #0b5066;
  border-color: #083e50;
}

#accept-guardrails:disabled {
  color: #6d7e87;
  background: #eaf0f2;
  border-color: #bacbd3;
  box-shadow: none;
}

.intro-gate .start-details {
  margin-top: 18px;
}

@media (max-width: 760px) {
  .studio-shell.is-starting .studio-panel {
    padding: 24px 18px 28px;
  }

  .new-case-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .start-progress {
    grid-template-columns: repeat(3, minmax(62px, 1fr));
    width: min(300px, 100%);
  }

  .start-safety-note {
    grid-template-columns: 30px minmax(0, 1fr);
    padding: 14px;
  }

  .start-storage-note {
    padding-inline: 12px;
  }
}

/* v4.8.2.28: naturlig svensk radbrytning och sammanhållen stegnavigering. */
body.studio-page .brand-housemark {
  background-image: url('/homeopatverktyget/assets/homeopati-favicon.png');
  background-size: contain;
}

body.studio-page .answer-option > span {
  overflow-wrap: normal;
  word-break: normal;
  hyphens: none;
  text-wrap: pretty;
}

body.studio-page .panel-actions-progress {
  margin-top: 35px;
  padding-top: 0;
  border-top: 0;
}

@media (max-width: 760px) {
  body.studio-page .panel-actions-progress {
    margin-top: 26px;
  }
}

/* v4.8.2.29: en ensam, obruten kontur per studioyta och frågekort. */

/* Innehållspanelens vänsterkant är den enda avdelaren mot stegkolumnen. */
body.studio-page .studio-shell:not(.is-starting) .studio-steps {
  border-right: 0;
}

/*
 * Frågerubriken är ett legend-element. När ett legend fyller hela bredden gör
 * webbläsarens inbyggda fieldset-layout annars ett avbrott i överkanten och
 * sidlinjerna. Som flytande block behåller rubriken sin semantik och bredd,
 * medan fieldset ritar en obruten ram runt hela kortet.
 */
body.studio-page .question-card {
  border-color: #cbd8de;
}

body.studio-page .question-card.is-follow-up {
  border-color: #9bb8c6;
}

body.studio-page .question-card-head {
  float: left;
}

body.studio-page .question-card-head + .answer-options {
  clear: both;
}

/* v4.8.2.31: källärlig lässtruktur och en återhållsam, Rosso-inspirerad röd tråd. */

:root {
  --rosso-thread: #8c1d2c;
  --rosso-thread-dark: #701723;
  --rosso-thread-soft: #f8ecee;
  --rosso-thread-border: #bd727a;
}

.red-thread-title {
  color: var(--rosso-thread);
}

.result-symptoms {
  padding-left: 11px;
  border-left: 3px solid var(--rosso-thread);
}

.result-symptoms > span {
  color: var(--rosso-thread-dark);
}

#red-thread-items.term-chips span {
  color: var(--rosso-thread-dark);
  background: var(--rosso-thread-soft);
  border: 1px solid var(--rosso-thread-border);
}

.boericke-depth-body em.legacy-keynote {
  color: var(--rosso-thread-dark);
  background: linear-gradient(transparent 62%, rgba(140, 29, 44, .13) 62%);
}

.reading-provenance,
.reading-evidence-level {
  max-width: 74ch;
  color: #49616d !important;
  font-size: 11px !important;
  line-height: 1.55 !important;
}

.reading-provenance {
  margin-bottom: 7px !important;
  padding-left: 10px;
  border-left: 2px solid #9bb8c6;
}

.reading-evidence-level {
  margin-bottom: 11px !important;
}

@media (forced-colors: active) {
  .red-thread-title,
  .result-symptoms > span,
  #red-thread-items.term-chips span,
  .boericke-depth-body em.legacy-keynote {
    color: CanvasText;
  }

  .result-symptoms,
  #red-thread-items.term-chips span,
  .reading-provenance {
    border-color: CanvasText;
  }
}
