/* Two routes from the selected symptoms, with reset subordinate. */
.studio-page .guided-views{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 22px;padding:5px;width:fit-content;max-width:100%;border:1px solid #cddce6;border-radius:9px;background:#eef4f8;font:600 14px/1.35 system-ui,-apple-system,sans-serif}
.studio-page .guided-views a{display:flex;align-items:center;min-height:44px;padding:10px 16px;border-radius:6px;color:#36566b;font-weight:600}
.studio-page .guided-views a[aria-current=page]{background:#fff;color:#204965;box-shadow:0 1px 4px #203c3212}
.studio-page .guided-views a:hover{background:#e0edf6}
.studio-page .guided-views a:focus-visible{outline:2px solid #21629b;outline-offset:3px}
.studio-page .guided-views a,.studio-page .guided-views a:is(:hover,:focus,:visited,:active){text-decoration:none!important;text-shadow:none!important;border-bottom:0!important}
@media(max-width:480px){.studio-page .guided-views{font-size:13px}.studio-page .guided-views a{padding:9px 12px}}
html body.studio-page .symptom-bottom-actions{display:none!important}
html body.studio-page .HPSelectedColumn .symptom-start-actions{display:flex!important;flex-direction:column!important;gap:12px!important}
html body.studio-page .HPSelectedColumn .symptom-paths{display:grid;gap:10px;width:100%}
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .HPSelectedColumn .symptom-paths>.button{width:100%!important;min-height:44px!important;margin:0!important;padding:10px 12px!important;border-radius:6px!important;font-size:16px!important;line-height:22px!important;white-space:nowrap!important}
html body.studio-page .HPSelectedColumn .symptom-compare-button:not(.button-primary){background:#fff!important;border:1px solid #9bbcd6!important;color:#2568a0!important;box-shadow:none!important}
html body.studio-page .HPSelectedColumn .symptom-compare-button:not(.button-primary):hover:not(:disabled){background:#e6f0f8!important;border-color:#6d9ec5!important}
html body.studio-page .HPSelectedColumn .selection-actions{display:flex!important;justify-content:flex-end!important;margin:0!important;padding:0!important}
html body.studio-page .HPSelectedColumn [data-clear-selected-symptoms]{width:auto!important;min-height:40px!important;background:transparent!important;border-color:transparent!important;padding:6px 5px!important;color:#526a79!important;font-size:13px!important;text-decoration:none!important;box-shadow:none!important}
html body.studio-page .HPSelectedColumn [data-clear-selected-symptoms]:hover{color:#173f58!important;background:#e6eef4!important}
html body.studio-page .HPSelectedColumn button:focus-visible{outline:3px solid #b77335!important;outline-offset:3px!important}
html body.studio-page .symptom-paths>[hidden]{display:none!important}
html body.studio-page #follow-up-next[hidden],html body.studio-page #follow-up-show-remedies[hidden],html body.studio-page .case-undo-notice[hidden]{display:none!important}
html body.studio-page .case-undo-notice{display:flex;position:sticky;top:12px;z-index:20;align-items:center;justify-content:space-between;gap:16px;padding:10px 14px;margin:0 0 18px;background:#edf5fb;border:1px solid #c6d9e6;border-radius:6px;font-size:15px}
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .case-undo-notice [data-case-undo]{width:auto!important;min-width:0!important;flex:0 0 auto!important;padding:10px 16px!important}
html body.studio-page .case-undo-notice [data-case-undo-text]{min-width:0}
html body.studio-page .panel-actions-secondary{flex-wrap:wrap}
html body.studio-page [data-follow-up-edit]{text-decoration:none!important;text-shadow:none!important}
/* Reuse the three revision tiles' geometry and type; isolate this action at right. */
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-revision-nav-top{flex-wrap:wrap!important}
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-refine-actions{display:flex!important;width:auto!important;max-width:100%!important;flex:0 0 auto!important;margin-left:auto!important;align-self:stretch!important}
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-refine-actions[hidden]{display:none!important}
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-refine-actions>button{border-color:#7ca6c7!important;background:#eef5fb!important}
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-refine-actions>button>span:first-child{background:#286ba5!important}
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-refine-actions>button:hover{background:#deedf8!important;border-color:#397aaa!important}
html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-refine-actions>button:focus-visible{outline:2px solid #21629b!important;outline-offset:3px!important}
@media(max-width:760px){html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-refine-actions{width:calc((100% - 16px)/3)!important;flex-basis:calc((100% - 16px)/3)!important}html body[data-homeopati-design][data-homeopati-design][data-homeopati-design].studio-page .result-refine-actions>button{width:100%!important}}
/* Compact controls within the overview tool; keep readable type and touch targets. */
#studio .follow-up-question.is-current .answer-options {
  display: flex !important;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px !important;
  padding: 12px 18px 16px 64px !important;
}
#studio #suggested-symptom-options {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
}
#studio :is(.answer-option, .suggested-option) {
  flex: 0 1 auto !important;
  min-width: 0 !important;
  width: auto !important;
  max-width: 100%;
  height: auto !important;
  min-height: 44px !important;
}
#studio :is(.answer-option, .suggested-option) > span {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: auto !important;
  min-height: 44px !important;
  height: auto !important;
  padding: 9px 12px !important;
  font-size: 16px !important;
  line-height: 24px !important;
  white-space: normal;
}
#studio :is(.answer-option, .suggested-option) > span::after {
  position: static !important;
  flex: 0 0 18px;
  width: 18px !important;
  height: 18px !important;
  transform: none !important;
}
#studio :is(.button, .selected-chip, .remedy-title-button) {
  width: auto !important;
  min-width: 0 !important;
  max-width: 100%;
  min-height: 44px !important;
  padding: 9px 14px !important;
  line-height: 24px !important;
}
#studio .HPSelectedColumn .symptom-paths {
  width: fit-content !important;
  max-width: 100%;
  gap: 8px;
}
#studio .HPSelectedColumn .symptom-paths > .button {
  width: 100% !important;
  white-space: normal !important;
}
#studio .panel-actions-secondary {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px !important;
  width: auto !important;
}
#studio .panel-actions { align-items: center; gap: 12px; }
@media (min-width: 761px) {
#studio .studio-step-button {
  min-height: 44px !important;
  height: auto !important;
  padding: 7px 10px !important;
  gap: 8px !important;
}
#studio .studio-step-button > span:first-child {
  width: 28px !important;
  height: 28px !important;
  flex-basis: 28px !important;
}
}
#studio .studio-step-button b { text-decoration: none !important; }
#studio .result-revision-steps > button {
  min-width: 0 !important;
  min-height: 44px !important;
  padding: 6px 12px !important;
}
#studio .result-revision-steps > button > span:first-child {
  width: 28px !important;
  height: 28px !important;
}
@media (max-width: 760px) {
  #studio .follow-up-question.is-current .answer-options { padding: 12px !important; }
  #studio :is(.answer-option, .suggested-option) > span { font-size: 15px !important; }
  #studio .panel-actions { align-items: flex-start; }
  #studio .result-revision-steps > button { padding: 6px !important; }
}

/* Keep the mobile sticky navigation readable over scrolling content. */
@media (max-width: 760px) {
  #studio .studio-steps { background: #fff !important; border-bottom: 1px solid #dde5e6 !important; }
  #studio .follow-up-question, #studio #follow-up-next { scroll-margin-top: 190px !important; }
}
/* Keep contextual help beside its heading, with the symptom selection below. */
#studio .results-heading { display: block !important; }
#studio .result-title-row {
  display: flex !important;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin-bottom: 10px;
  position: relative;
}
#studio .result-title-row > h3 {
  min-width: 0;
  margin: 0 !important;
  flex: 0 1 auto;
}
#studio .result-title-row > .ls-context-info { flex: 0 0 44px; position: static !important; }
@media (min-width: 701px) {
  #studio .result-title-row .ls-info-content { left: 0; right: auto; }
}
@media (max-width: 700px) {
  #studio .result-title-row .ls-info-content {
    position: absolute !important;
    left: 0 !important;
    right: auto !important;
    top: calc(100% + 6px) !important;
    bottom: auto !important;
    width: min(34rem, calc(100vw - 36px)) !important;
    max-height: 50vh;
  }
}

/* Offer the view choice only once a comparison is being shown. */
.studio-page #studio:has(#case-app:not([data-current-step="4"])) .guided-views { display: none !important; }
/* View choices belong to the result heading, separate from the workflow. */
:is(#studio, .guided-page) .result-view-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  margin-bottom: 18px;
}
#studio .result-view-heading .result-title-row { margin-bottom: 0; }
.guided-page .result-view-heading h1 {
  font-size: 28px;
  letter-spacing: -.4px;
  margin: 0;
}
:is(#studio, .guided-page) .guided-views {
  display: inline-flex;
  flex: 0 0 auto;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 3px;
  max-width: 100%;
  width: fit-content;
  padding: 3px;
  margin: 0;
  border: 1px solid #dbe4e8;
  border-radius: 7px;
  background: #f5f8f9;
  font: 500 14px/1.35 system-ui, -apple-system, sans-serif;
}
:is(#studio, .guided-page) .guided-views a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid transparent;
  border-radius: 4px;
  color: #486373;
  background: transparent;
  font-weight: 500;
  box-shadow: none;
}
:is(#studio, .guided-page) .guided-views a[aria-current="page"] {
  color: #203f50;
  background: #e5eff4;
  border-color: #aec6d3;
  font-weight: 650;
  box-shadow: none;
}
:is(#studio, .guided-page) .guided-views a:hover { background: #eaf1f5; }
:is(#studio, .guided-page) .guided-views a:is(:link, :visited, :hover, :active, :focus),
.guided-page .view-return:is(:link, :visited, :hover, :active, :focus) {
  text-decoration: none !important;
  text-shadow: none !important;
}
:is(#studio, .guided-page) .guided-views a:focus-visible,
.guided-page .view-return:focus-visible { outline: 2px solid #21629b; outline-offset: 3px; }
#studio .result-context-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 20px;
  padding-bottom: 18px;
  margin-bottom: 20px;
  border-bottom: 1px solid #dce5e9;
}
#studio .result-context-row .result-symptoms { margin: 0; min-width: 0; }
html body[data-homeopati-design].studio-page #studio .result-context-row .result-refine-actions {
  width: auto !important;
  flex: 0 0 auto !important;
  align-self: center !important;
}
html body[data-homeopati-design].studio-page #studio .result-context-row .result-refine-actions > button {
  display: flex !important;
  flex-direction: row !important;
  gap: 12px !important;
  padding: 6px 12px !important;
}
.guided-page .guided-result-context {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}
.guided-page .guided-result-context .case-strip { flex: 1; margin: 0; }
.guided-page .guided-refine { flex: 0 0 auto; min-height: 44px; }
.guided-page .view-return { display: inline-flex; align-items: center; min-height: 44px; color: #36566b; font-size: 14px; font-weight: 600; margin-bottom: 14px; }
.guided-page main:has(.result-view-heading) > .view-return { display: none; }
@media (max-width: 800px) {
  :is(#studio, .guided-page) .result-view-heading { flex-direction: column; align-items: flex-start; gap: 12px; }
  #studio .result-context-row { flex-wrap: wrap; }
  .guided-page .guided-result-context { flex-direction: column; align-items: stretch; }
  .guided-page .guided-refine { align-self: flex-end; }
}
/* Keep the existing symptom actions together beside the workflow. */
#studio .studio-steps { flex-wrap: wrap !important; }
@media (min-width: 1101px) {
  #studio .studio-steps > nav { width: fit-content !important; flex: 0 0 auto !important; }
}
#studio .case-toolbar-actions,
#studio .case-toolbar-actions .symptom-paths {
  display: flex !important;
  align-items: center;
  gap: 10px !important;
  width: auto !important;
  max-width: 100%;
}
#studio .case-toolbar-actions { margin-left: auto; }
#studio .case-toolbar-actions > .HPResetSearch { order: 0 !important; }
#studio #case-app:not([data-current-step="2"]) .case-toolbar-actions .symptom-paths {
  display: none !important;
}
#studio .case-toolbar-actions .button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-height: 44px !important;
  margin: 0 !important;
  padding: 9px 12px !important;
  border: 1px solid #b7cbd4 !important;
  border-radius: 5px !important;
  background: #fff !important;
  color: #234758 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 24px !important;
  white-space: nowrap !important;
  box-shadow: none !important;
}
#studio .case-toolbar-actions .button[hidden] { display: none !important; }
#studio .case-toolbar-actions .button:disabled { opacity: .5 !important; cursor: not-allowed; }
#studio .case-toolbar-actions .button:hover:not(:disabled) { background: #edf4f7 !important; border-color: #8daebf !important; }
#studio .case-toolbar-actions .symptom-compare-button { background: #2375b6 !important; border-color: #2375b6 !important; color: #fff !important; }
#studio .case-toolbar-actions .symptom-compare-button:hover:not(:disabled) { background: #1b6097 !important; border-color: #1b6097 !important; }
#studio .case-toolbar-actions .button:focus-visible { outline: 2px solid #21629b !important; outline-offset: 3px !important; }
#studio .case-toolbar-actions .button::before {
  content: '';
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  background: currentColor;
  mask: var(--action-icon) center / contain no-repeat;
}
#studio .case-toolbar-actions [data-start-new-case] {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='black' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/g%3E%3C/svg%3E");
}
#studio .case-toolbar-actions #symptom-next {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='2' stroke-linejoin='round' d='m4 16-1 5 5-1L21 7l-4-4L4 16Zm10-10 4 4'/%3E%3C/svg%3E");
}
#studio .case-toolbar-actions .symptom-compare-button {
  --action-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' d='M4 21V11M10 21V3M16 21V8M22 21V13'/%3E%3C/svg%3E");
}
@media (max-width: 1100px) {
  #studio .case-toolbar-actions { flex-basis: 100%; justify-content: flex-end; }
}
@media (max-width: 760px) {
  #studio .case-toolbar-actions { flex-wrap: wrap; gap: 8px !important; }
  #studio .case-toolbar-actions .symptom-paths { flex-wrap: wrap; justify-content: flex-end; gap: 8px !important; }
  #studio .case-toolbar-actions .button { white-space: normal !important; }
  #studio #case-app[data-current-step="2"] .studio-steps { position: static !important; }
  #studio #case-app[data-current-step="2"] .case-toolbar-actions {
    display: grid !important;
    grid-template-columns: auto minmax(0, 1fr);
  }
  #studio #case-app[data-current-step="2"] .case-toolbar-actions .symptom-paths { display: contents !important; }
  #studio #case-app[data-current-step="2"] .case-toolbar-actions .button {
    width: 100% !important;
    padding: 8px !important;
    font-size: 13px !important;
  }
  #studio #case-app[data-current-step="2"] .case-toolbar-actions .symptom-compare-button { grid-column: 1 / -1; }
}

/* The initial page has no active case to restart. */
#studio #case-app.is-starting .case-toolbar-actions,
#studio #case-app.is-starting [data-start-new-case] {
  display: none !important;
}

.case-recovery-status{margin:12px 0;padding:10px 14px;border:1px solid #ccdbe2;border-radius:6px;background:#f1f6f8;color:#284c5c;font:15px/1.5 system-ui,sans-serif}

/* One active workspace edge, shared with the site header and status notices. */
html body.studio-page #studio #case-app:not(.is-starting) {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}
/* Preserve navigation while reading, without making the entire site header sticky. */
html body.studio-page #studio #case-app:not(.is-starting) .studio-steps,
html body.guided-page #app > nav[aria-label="Arbetsgång"] {
  position: sticky !important;
  top: 0 !important;
  z-index: 30 !important;
  align-self: start;
  background: #fff !important;
  box-shadow: 0 1px 0 #dce5e9;
  padding-block: 8px !important;
}
html body.studio-page #studio .case-undo-notice { position: static; }
html body.studio-page #studio :is(.app-step, .follow-up-question, #follow-up-next, .focus-target),
html body.guided-page :is(.focus-target, .question-card, .comparison-table) {
  scroll-margin-top: var(--case-nav-height, 120px) !important;
}
html body.studio-page #studio .studio-step-button:focus-visible,
html body.guided-page .steps button:focus-visible {
  outline: 2px solid #21629b !important;
  outline-offset: 3px !important;
}
@media (max-width: 760px) {
  /* Named, reachable steps replace the previous unlabeled progress slivers. */
  html body.studio-page #studio #case-app:not(.is-starting) .studio-steps {
    gap: 8px !important;
  }
  html body.studio-page #studio .studio-steps nav { width: 100% !important; flex-basis: 100% !important; }
  html body.studio-page #studio .studio-steps #step-list {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 !important;
  }
  html body.studio-page #studio #case-app:not(.is-starting) .compact-step-status { display: none !important; }
  html body.studio-page #studio #case-app:not(.is-starting) .studio-step-button {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 5px !important;
    min-height: 44px !important;
    height: auto !important;
    padding: 7px 4px !important;
    overflow: visible !important;
    background: #fff !important;
    color: #234758 !important;
    border: 1px solid #b7cbd4 !important;
    border-radius: 5px !important;
  }
  html body.studio-page #studio #case-app:not(.is-starting) .studio-step-button > span {
    position: static !important;
    width: auto !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    clip: auto !important;
    white-space: normal !important;
  }
  html body.studio-page #studio #case-app:not(.is-starting) .studio-step-button > span:first-child { display: none !important; }
  html body.studio-page #studio #case-app:not(.is-starting) .studio-step-button b { font-size: 13px !important; line-height: 1.3 !important; }
  html body.studio-page #studio #case-app:not(.is-starting) .is-active .studio-step-button {
    background: #e5eff4 !important;
    border-color: #5f8e9b !important;
    font-weight: 700 !important;
  }
  html body.studio-page #studio #case-app:not(.is-starting) .is-complete .studio-step-button { border-color: #83aaa6 !important; }
  html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps { margin-block: 0; }
}
/* Routine confirmations remain available to assistive technology without a banner. */
html body [data-case-recovery-kind="routine"],
html body.studio-page #studio .case-toolbar-actions [data-case-undo-text] {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  border: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}
html body.studio-page #studio .case-toolbar-actions .case-undo-notice {
  display: flex;
  flex: 0 0 auto;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  order: 0;
}
html body.studio-page #studio .case-toolbar-actions .case-undo-notice[hidden] { display: none !important; }
html body.studio-page #studio .case-toolbar-actions [data-case-undo] { padding: 9px 12px !important; }
@media (max-width: 760px) {
  html body.studio-page #studio #case-app[data-current-step="2"] .case-toolbar-actions:has(.case-undo-notice[data-undo-available="true"]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  html body.studio-page #studio #case-app[data-current-step="2"] .case-toolbar-actions:has(.case-undo-notice[data-undo-available="true"]) .symptom-compare-button { grid-column: auto; }
}
/* A restart returns to the opening step: keep its Undo reachable there too. */
html body.studio-page #studio #case-app.is-starting .case-toolbar-actions:has([data-case-undo-notice][data-undo-available="true"]) {
  display: flex !important;
}
html body.studio-page #studio .case-toolbar-actions [data-case-undo]::before { content: none; }
/* The deeper view keeps its existing return link beside the workflow steps. */
html body.guided-page #app > nav[aria-label="Arbetsgång"] {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0 16px;
}
html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps { margin: 0; }
html body.guided-page #app > nav[aria-label="Arbetsgång"] .view-return { margin: 0 0 0 auto; }
/* Follow-up cards and their actions share the same workspace edges. */
html body.studio-page #studio #case-app:not(.is-starting) .app-step[data-step="3"] {
  width: 100% !important;
  max-width: none !important;
}
/* Use recognizable step controls in both result views. */
html body.guided-page #app > nav[aria-label="Arbetsgång"] {
  margin-bottom: 16px;
}
html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps { gap: 10px; }
html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps button {
  min-height: 44px;
  padding: 7px 12px;
  border: 1px solid #b7cbd4;
  border-radius: 5px;
  background: #fff;
  color: #234758;
  font-size: 14px;
}
html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps button[aria-current="step"] {
  background: #e5eff4;
  border-color: #5f8e9b;
  font-weight: 700;
}
@media (max-width: 760px) {
  html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }
  html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps li { min-width: 0; }
  html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps button {
    width: 100%;
    justify-content: center;
    padding: 7px 4px;
    font-size: 13px;
  }
  html body.guided-page #app > nav[aria-label="Arbetsgång"] .steps .num { display: none; }
}

/* One persistent toolbar for all active steps. Menus stay above it. */
html body.studio-page #studio #case-app:not(.is-starting) .studio-steps {
  position: sticky !important; top: 0 !important; z-index: 20 !important;
  background: #fff !important;
}
html body.studio-page #studio #case-app:not(.is-starting) .case-toolbar-actions .symptom-paths {
  display: flex !important;
}
html body.studio-page #studio .case-toolbar-actions .button {
  background: #fff !important; color: #234758 !important; border-color: #b7cbd4 !important;
}
html body.studio-page #studio .case-toolbar-actions .button.is-next-action {
  background: #2375b6 !important; border-color: #2375b6 !important; color: #fff !important;
}
html body.studio-page #studio .case-toolbar-actions .button:focus-visible {
  outline: 2px solid #21629b !important; outline-offset: 2px !important;
}
html body.studio-page #studio #case-app:not(.is-starting) .case-toolbar-actions .case-undo-notice { display: flex !important; }
@media (max-width: 760px) {
  html body.studio-page #studio #case-app:not(.is-starting) .case-toolbar-actions {
    display: grid !important; width: 100% !important; grid-template-columns: repeat(2,minmax(0,1fr)) !important; gap: 6px !important;
  }
  html body.studio-page #studio #case-app:not(.is-starting) .case-toolbar-actions .symptom-paths { display: contents !important; }
  html body.studio-page #studio #case-app:not(.is-starting) .case-toolbar-actions .button {
    width: 100% !important; min-height: 44px !important; padding: 7px 9px !important;
    font-size: 13px !important; line-height: 18px !important; white-space: normal !important; grid-column: auto !important; align-self: stretch !important;
  }
  html body.studio-page #studio #case-app:not(.is-starting) .case-toolbar-actions .case-undo-notice { width: 100% !important; }
}

.v5-feedback{display:grid;gap:.4rem;padding:1rem;background:#edf5f2;border-radius:.75rem}.v5-feedback span{font-size:.95rem}.v5-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.v5-card{min-width:0;overflow-wrap:anywhere}@media(max-width:800px){.v5-cards{grid-template-columns:1fr}}

/* Optional source characteristics, selectable in the comparison itself. */
.v5-characteristics{margin:0 0 1.4rem;padding:1rem;background:#f2f7f7;border:1px solid #c8dadd;border-radius:10px}
.v5-characteristics h3{margin:0 0 .35rem;font-size:1.2rem}.v5-characteristics>p{font-size:.95rem;margin:.35rem 0 .8rem}
.v5-feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.v5-feature-card{min-width:0;background:#fff;border:1px solid #bdced3;border-radius:8px;overflow:hidden}
.v5-feature-card>button[data-characteristic]{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;width:100%;text-align:left;white-space:normal;padding:.8rem;border:0;background:transparent;color:#234b5b;font:inherit;cursor:pointer;min-height:44px}
.v5-feature-card>button:hover{background:#e7f0f4}.v5-feature-card strong{font-size:1rem;line-height:1.4}.v5-feature-card strong:first-letter{text-transform:uppercase}
.v5-feature-card small,.v5-feature-grade{font-size:.8rem;color:#476571}.v5-feature-match{font-size:.85rem;color:#285d6c;line-height:1.4}.v5-feature-card .v5-source-open{margin:0 .6rem .3rem;padding:.25rem .2rem;min-height:32px;border:0;background:transparent;font-size:.85rem}
.v5-feature-chips{display:flex;flex-wrap:wrap;gap:.5rem;margin:.7rem 0}.v5-feature-selected{font:inherit;font-size:.9rem;min-height:44px;padding:.5rem .7rem;color:#20564d;background:#e2efe8;border:1px solid #78a396;border-radius:7px;cursor:pointer;white-space:normal;text-align:left}
.v5-feature-selected span{margin-left:.4rem}.v5-feature-info{font-size:.84rem;margin-top:.7rem}.v5-feature-info summary{cursor:pointer;font-weight:600;padding:.4rem 0}
.v5-feature-info p{max-width:85ch;line-height:1.5}.v5-characteristics :focus-visible{outline:3px solid #2178ba;outline-offset:-3px}
@media(max-width:650px){.v5-feature-grid{grid-template-columns:1fr}.v5-characteristics{padding:.8rem}.v5-feature-card>button[data-characteristic]{padding:.65rem}}

/* Keep choices and their result visible together at desktop widths. */
#homeopati-layout .v5-feature-card>button[data-characteristic]{border:0!important;box-shadow:none!important;border-radius:0!important;min-width:0!important;line-height:1.4!important}
#homeopati-layout .v5-feature-card .v5-source-open{border:0!important;box-shadow:none!important;background:transparent!important;padding:.2rem .3rem!important;min-height:32px!important;margin:.1rem .5rem .25rem!important}
.v5-live-summary{display:flex;flex-direction:column;gap:.2rem;border-left:3px solid #8caaa8;padding:.45rem .7rem;background:#fff}.v5-live-summary strong{font-size:.85rem}.v5-live-summary span{font-size:.9rem;line-height:1.45}
.v5-workbench{display:grid;gap:1.2rem;align-items:start}.v5-comparison-body{min-width:0}
@media(min-width:1050px){.v5-workbench{grid-template-columns:minmax(0,.9fr) minmax(0,1.2fr)}.v5-workbench .v5-feature-grid{grid-template-columns:1fr}.v5-characteristics{padding:.8rem}.v5-feature-card>button[data-characteristic]{padding:.65rem}.v5-feature-grade{font-size:.75rem}.v5-characteristics>p{font-size:.88rem}}

/* Lundberg Selection compact components. Opt-in presentation only.
 * Legacy selectors are Homeopati adapters; ls-ui-* classes can be reused.
 * Source access, consent, ranking and symbol behavior are owned by each product. */
.ls-ui,#studio{--ls-ui-gap:8px;--ls-ui-radius:8px;--ls-ui-control-min:44px}
.ls-ui-choices{align-items:center}
.ls-ui-choice{box-sizing:border-box;display:inline-flex;align-items:center;font:inherit;text-align:start;white-space:normal;overflow-wrap:anywhere}
.compact-question .compact-question-heading{gap:8px}
.compact-question-heading .compact-question-prompt{flex:0 1 auto;min-width:0}
.ls-ui-selection-title,.ls-ui-selection-group,.ls-ui-selection-chips{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.ls-ui-selection-title{flex-wrap:nowrap}
.ls-ui-selection-title :is(h2,h3){margin:0;overflow-wrap:anywhere}
.ls-ui-result>summary,.ls-ui-result-preview{display:flex;align-items:center;justify-content:space-between;list-style:none}
.ls-ui-result>summary{cursor:pointer}
.ls-ui-result-marks{display:flex;flex-shrink:0;direction:ltr}
.ls-ui-result-marks>span{display:block;background:#e0eae7;border-radius:2px}
.ls-ui-result-marks>.is-filled{background:#53846d}
.ls-ui :is(button,summary,a):focus-visible{outline:3px solid #286795;outline-offset:3px}
#main-symptom-options,#suggested-symptom-options,.ls-ui-choices{display:flex!important;flex-wrap:wrap;align-items:stretch;gap:var(--ls-ui-gap,8px)}
#main-symptom-options>.symptom-option,#suggested-symptom-options>.symptom-option,.ls-ui-choices>.ls-ui-choice{flex:0 1 auto;width:auto!important;min-width:0!important;max-width:100%;min-height:var(--ls-ui-control-min,44px);height:auto;grid-column:auto;padding:10px 12px;gap:12px}
#main-symptom-options>.symptom-option>span,#suggested-symptom-options>.symptom-option>span,.ls-ui-choice>span{min-width:0;overflow-wrap:anywhere}
#main-symptom-options>.symptom-option input,#suggested-symptom-options>.symptom-option input,.ls-ui-choice input{flex-shrink:0}
#studio .results-heading>div:first-child,.ls-ui-selection{display:flex;flex-wrap:wrap;align-items:center;gap:var(--ls-ui-gap,8px) 14px;min-width:0}
#studio .results-heading .result-view-heading,.ls-ui-selection-heading{flex:0 0 auto;max-width:100%;margin:0}
#studio .results-heading .result-title-row,.ls-ui-selection-title{margin:0}
#studio .results-heading .result-context-row,.ls-ui-selection-values{flex:1 1 200px;min-width:0;margin:0;padding:0;border:0;justify-content:flex-start}
#studio .results-heading .result-context-row .result-symptoms,.ls-ui-selection-group{min-width:0;max-width:100%;margin:0;padding:0;border:0}
#studio .results-heading #red-thread-items,.ls-ui-selection-chips{min-width:0;max-width:100%;gap:7px}
#studio .results-heading #red-thread-items>span,.ls-ui-selection-chips>span{box-sizing:border-box;max-width:100%;white-space:normal;overflow-wrap:anywhere}
/* The container width, rather than the whole window, governs readable columns. */
.compact-results,.remedy-preview,.ls-ui-result-panel{container:remedy-panel / inline-size}
.compact-remedy-list,.remedy-preview-list,.ls-ui-results{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--ls-ui-gap,8px) 10px;align-items:start}
.compact-remedy,.remedy-preview-card,.ls-ui-result{min-width:0;margin:0;border:1px solid #dce7ed;border-radius:var(--ls-ui-radius,8px);background:#fafcfd;padding:0}
.compact-remedy>summary,.remedy-preview-card,.ls-ui-result>summary,.ls-ui-result-preview{box-sizing:border-box;min-height:52px;padding:10px 12px;gap:var(--ls-ui-gap,8px)}
.compact-remedy>summary::-webkit-details-marker,.ls-ui-result>summary::-webkit-details-marker{display:none}
.compact-remedy-name,.remedy-preview-static-name,.ls-ui-result-name{flex:1;overflow-wrap:anywhere}
.compact-match,.remedy-preview-symbol,.ls-ui-result-marks{gap:2px}
.compact-match>span,.remedy-preview-symbol>span,.ls-ui-result-marks>span{width:10px;height:10px}
.compact-remedy-chevron,.ls-ui-result-chevron{flex:0 0 auto;color:#466d83;font-size:22px;line-height:1}
.compact-remedy[open],.ls-ui-result[open]{grid-column:1/-1;background:white}
.compact-remedy[open] .compact-remedy-chevron,.ls-ui-result[open] .ls-ui-result-chevron{transform:rotate(90deg)}
.compact-remedy-details,.ls-ui-result-detail{padding:0 12px 14px}
@container remedy-panel (min-width:540px){.compact-remedy-list,.remedy-preview-list,.ls-ui-results{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* One visible square per multiple-choice answer; retain the native checkbox
 * for keyboard and assistive technology in both the member and guest flow. */
#studio .refinement-multiple .ls-ui-choice{position:relative;padding:0!important;gap:0;border:0;background:transparent}
#studio .refinement-multiple .ls-ui-choice>input[type=checkbox]{position:absolute!important;opacity:0!important;width:1px!important;height:1px!important;min-height:0!important;margin:0;clip-path:inset(50%)}
#studio .refinement-multiple .ls-ui-choice>span{box-sizing:border-box;min-height:44px;max-width:100%;cursor:pointer}
#studio .refinement-multiple .ls-ui-choice>span::after{border-radius:3px!important;box-sizing:border-box;display:grid;place-items:center;line-height:1;font-size:14px}
#studio .refinement-multiple .ls-ui-choice>input:checked+span{background:#e7f3ed!important;border-color:#53846d!important}
#studio .refinement-multiple .ls-ui-choice>input:checked+span::after{content:'✓'!important;color:white!important;background:#53846d!important;border-color:#53846d!important;box-shadow:none!important}
#studio .refinement-multiple .ls-ui-choice>input:focus-visible+span{outline:3px solid #286795!important;outline-offset:3px}
#studio .refinement-multiple>p{margin:0 0 8px}
#studio .refinement-multiple>button{margin-top:10px}

/* Intrinsic-width choices, scoped to this product's symptom selection. */
.refinement-search-list{display:flex;flex-wrap:wrap;gap:8px;width:100%}
.refinement-search-group{border:0;margin:0;padding:0;min-width:0;max-width:100%}
.refinement-search-group legend{font-size:.9em;margin-bottom:6px;padding:0;color:#526c7d}
.refinement-search-choices{display:flex;flex-wrap:wrap;gap:8px}
.refinement-search-choice{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;min-height:44px;max-width:100%;padding:10px 12px;text-align:start;border:1px solid #bacdd7;border-radius:8px;background:white;color:#244854;font:inherit}
.refinement-search-choice[aria-pressed=true]{background:#e7f3ed;border-color:#5c8b78}
.refinement-search-choice:focus-visible{outline:3px solid #226796;outline-offset:3px}
.refinement-search-choice small{font-size:.86em;color:#526c7d}
.refinement-search-note{flex-basis:100%;margin:4px 0;font-size:.9em}
.refinement-search-source{width:100%;font-size:.9em}
.refinement-search-source a{font-weight:600}
.refinement-search-source a:is(:link,:visited,:hover,:active,:focus){text-decoration:none;border-bottom:0}
.compact-answers{flex-wrap:wrap}
.compact-question-heading{display:flex;align-items:center;gap:4px;margin-bottom:10px}
.compact-question-heading .compact-question-prompt{margin:0;min-width:0;overflow-wrap:anywhere}
.compact-question-heading .compact-source-symbol{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:0;border:0;border-radius:50%;background:transparent;color:#315e76;box-shadow:none;cursor:pointer}
.compact-source-symbol>span{display:inline-flex;align-items:center;justify-content:center;font-size:20px;font-weight:400;line-height:1}
.compact-question-heading .compact-source-symbol:hover{color:#174b6d;background:#edf5f8}
.compact-question-heading .compact-source-symbol:focus-visible{outline:3px solid #226796;outline-offset:2px}
@layer ls-profile {
 #homeopati-layout .compact-question-heading .compact-source-symbol{border:0!important;padding:0!important;margin:0!important;background:transparent!important;min-height:44px!important;width:44px!important;box-shadow:none!important}
}
.remedy-panel-heading{display:flex;align-items:center;gap:8px;position:relative;margin-bottom:8px}
.remedy-panel-heading h3{margin:0!important;flex:0 1 auto}
.remedy-info{position:static;flex:0 0 auto}
.remedy-info>summary{display:flex;align-items:center;justify-content:center;list-style:none;cursor:pointer;width:30px;height:30px;padding:0!important;border:0!important;border-radius:50%;color:#315e76;font-size:20px;background:transparent!important}
.remedy-info>summary::-webkit-details-marker{display:none}
.remedy-info>summary:focus-visible{outline:3px solid #226796;outline-offset:2px}
.remedy-info-content{position:absolute;z-index:8;right:0;top:100%;box-sizing:border-box;width:min(340px,100%);max-height:60vh;overflow:auto;border:1px solid #b9ccd8;border-radius:8px;background:#fff;box-shadow:0 4px 18px #183c4b22;padding:14px;color:#456172;font-size:.9rem;line-height:1.55}
.remedy-info-content p{margin:0 0 8px}.remedy-info-content p:last-child{margin-bottom:0}
.remedy-preview-status:empty{display:none}.compact-question>p:empty{display:none}
.source-context-info .ls-info-content h4{margin:0 0 12px;font-size:1rem;line-height:1.4}
/* Keep the selection beside its heading; the chips wrap at their natural width. */
@media(max-width:480px){#main-symptom-options>.symptom-option,#suggested-symptom-options>.symptom-option{padding:9px 10px}.refinement-search-choice{font-size:.95rem}}

/* The guest flow keeps its existing access boundary and uses the same compact vocabulary. */
#studio .app-step[data-step="3"] .step-title-row{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}
#studio .app-step[data-step="3"] .step-title-row>div{display:block;min-width:0}
#studio .app-step[data-step="3"] .step-title-row h3{margin:0;line-height:1.3;overflow-wrap:anywhere}
#studio .app-step[data-step="3"] .step-overline{display:none}
#studio .guest-selection-inline{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;background:transparent;border:0;padding:0;margin:12px 0}
#studio .guest-selection-inline strong,#studio .guest-selection-inline span{margin:0}
#studio .guest-typed-refinements .question-card{width:fit-content;min-width:min(100%,340px);max-width:100%;margin:0 0 12px;padding:12px}
#studio .guest-typed-refinements .follow-up-question.is-current .answer-options{padding:0!important;display:flex;flex-wrap:wrap;gap:8px}
#studio .guest-typed-refinements .answer-option{width:auto;max-width:100%;flex:0 1 auto;min-height:44px;margin:0}
#studio .guest-saved-answer{display:inline-flex;max-width:100%;align-items:center;gap:3px;margin:6px 6px 0 0}
#studio .guest-saved-answer button{min-height:44px;white-space:normal;overflow-wrap:anywhere}

/* Scoped to this Swedish tool; source data and other pages remain intact. */
#homeopati-layout #lexical-source-credits{display:none!important}
#homeopati-layout #studio .hp-compact-layout{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:20px;align-items:start;margin-top:12px;grid-column:1/-1;width:100%}
#homeopati-layout #studio .hp-choice-pane,#homeopati-layout #studio .hp-remedy-pane{min-width:0;box-sizing:border-box;border:1px solid #d7e5ef;border-radius:12px;background:#fff;padding:20px;margin:0}
#homeopati-layout #studio .hp-choice-pane>.step-title-row{margin-top:0}
#homeopati-layout #studio .hp-choice-pane .step-title-row h3{margin-top:0}
#homeopati-layout #studio .hp-remedy-pane{container-type:inline-size}
#homeopati-layout #studio .hp-remedy-pane .remedy-panel-heading{gap:8px;flex-wrap:wrap;margin-bottom:16px}
#homeopati-layout #studio .hp-remedy-count{margin-inline-start:auto;color:#567184;font-size:.85rem;white-space:nowrap}
#homeopati-layout #studio .hp-remedy-count:empty{display:none}
#homeopati-layout #studio .hp-remedy-pane .remedy-preview-list{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px;margin:0;padding:0;list-style:none}
#homeopati-layout #studio .hp-remedy-item{padding:0;margin:0;min-width:0;border:0;list-style:none}
#homeopati-layout #studio .hp-remedy-card{margin:0;border:1px solid #d7e5ef;border-radius:9px;min-width:0;background:#fbfdfe}
#homeopati-layout #studio .hp-remedy-card>summary{display:flex;align-items:center;gap:10px;min-height:62px;box-sizing:border-box;padding:12px 14px;list-style:none;cursor:pointer;color:#174968;border-radius:8px}
#homeopati-layout #studio .hp-remedy-card>summary::-webkit-details-marker{display:none}
#homeopati-layout #studio .hp-remedy-card>summary>strong{min-width:0;flex:1;font-size:.95rem;line-height:1.35;overflow-wrap:anywhere}
#homeopati-layout #studio .hp-remedy-card>summary:hover{background:#eef6fa;color:#103955}
#homeopati-layout #studio .hp-remedy-card>summary:focus-visible{outline:3px solid #226796;outline-offset:3px}
#homeopati-layout #studio .hp-remedy-card .remedy-preview-symbol{display:inline-flex;flex:0 0 auto;gap:3px}
#homeopati-layout #studio .hp-remedy-card .remedy-preview-symbol>span{width:10px;height:12px;border-radius:2px;background:#e1ecea}
#homeopati-layout #studio .hp-remedy-card .remedy-preview-symbol>.remedy-match-fill-100{background:#538770}
#homeopati-layout #studio .hp-remedy-chevron{flex:0 0 auto;font-size:1.4rem;line-height:1}
#homeopati-layout #studio .hp-remedy-card[open] .hp-remedy-chevron{transform:rotate(90deg)}
#homeopati-layout #studio .hp-remedy-item:has(>.hp-remedy-card[open]){grid-column:1/-1}
#homeopati-layout #studio .hp-remedy-reading{padding:0 14px 14px;overflow-wrap:anywhere;font-size:.92rem}
#homeopati-layout #studio .hp-remedy-reading:empty{padding:0}
#homeopati-layout #studio .hp-access-list-item{grid-column:1/-1;list-style:none}
#homeopati-layout #studio .hp-access-message{padding:16px;border:1px solid #d7e5ef;border-radius:9px;background:#f4f9fc}
#homeopati-layout #studio .hp-access-message h4{margin:0 0 8px;font-size:1.08rem;color:#174968}
#homeopati-layout #studio .hp-access-message p{margin:0 0 16px;line-height:1.55}
#homeopati-layout #studio .hp-access-actions{display:flex;gap:10px;flex-wrap:wrap}
#homeopati-layout #studio .hp-access-actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;box-sizing:border-box;padding:10px 16px;border:1px solid #326b99;border-radius:7px;color:#fff;background:#326b99;font-weight:600}
#homeopati-layout #studio .hp-access-actions a.secondary{background:#fff;color:#245c86}
#homeopati-layout #studio .hp-access-actions a:is(:link,:visited,:hover,:active,:focus){text-decoration:none!important;text-shadow:none}
#homeopati-layout #studio .hp-access-actions a:hover{filter:brightness(.92)}
#homeopati-layout #studio .hp-access-actions a:focus-visible{outline:3px solid #226796;outline-offset:3px}
#homeopati-layout #studio .hp-choice-pane .symptom-selection-layout{display:block}
#homeopati-layout #studio .hp-choice-pane .selected-symptoms-panel{margin-top:16px}
@container(min-width:540px){#homeopati-layout #studio .hp-remedy-pane .remedy-preview-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:960px){#homeopati-layout #studio .hp-compact-layout{grid-template-columns:minmax(0,1fr);gap:14px}#homeopati-layout #studio .hp-choice-pane,#homeopati-layout #studio .hp-remedy-pane{padding:16px}}
@media(max-width:400px){#homeopati-layout #studio .hp-choice-pane,#homeopati-layout #studio .hp-remedy-pane{padding:12px}#homeopati-layout #studio .hp-remedy-card>summary{padding:10px;gap:7px}}

#homeopati-layout #studio .hp-choice-pane .HPSelectedColumn{width:auto;min-width:0;margin-top:14px;padding:14px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
#homeopati-layout #studio .hp-choice-pane .HPSelectedColumn h3{font-size:1rem;margin:0}
#homeopati-layout #studio .hp-choice-pane .HPSelectedColumn .question-count{display:none}
#homeopati-layout #studio .hp-choice-pane .HPSelectedColumn .selected-strip{display:flex;flex-wrap:wrap;gap:6px;margin:0}
#homeopati-layout #studio .hp-choice-pane .HPSelectedColumn .symptom-start-actions{margin:0 0 0 auto;padding:0}
#homeopati-layout #studio .hp-choice-pane .HPSelectedColumn .selection-actions{margin:0;padding:0}

@layer ls-profile {
 #homeopati-layout #studio .refinement-actions{display:flex!important;align-items:center;flex-wrap:wrap;gap:8px 12px!important;margin-top:8px!important}
 #homeopati-layout #studio [data-refinement-save-status]{display:inline!important;flex:1 1 auto;width:auto!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important;font-size:.85rem!important;line-height:1.4!important}
 #homeopati-layout #studio [data-refinement-save-status]:empty{display:none!important}
 #homeopati-layout #studio .hp-access-actions a:is(:link,:visited,:hover,:active,:focus){color:#fff!important;background:#326b99!important;border:1px solid #326b99!important;text-decoration:none!important}
 #homeopati-layout #studio .hp-access-actions a.secondary:is(:link,:visited,:hover,:active,:focus){color:#245c86!important;background:#fff!important}
 #homeopati-layout #studio .hp-choice-pane .HPSelectedColumn{padding:14px!important;gap:8px 12px!important}
 #homeopati-layout #studio .hp-choice-pane .HPSelectedColumn .question-count{display:none!important}
 #homeopati-layout #studio .hp-choice-pane .HPSelectedColumn .symptom-start-actions{margin:0 0 0 auto!important;padding:0!important}
 #homeopati-layout #studio .hp-choice-pane .HPSelectedColumn .selection-actions{margin:0!important;padding:0!important}
 #homeopati-layout #studio .hp-choice-pane .HPSelectedColumn .selected-strip{flex:1 1 auto!important;margin:0!important;padding:0!important}
}

@layer ls-profile {
 #homeopati-layout #studio .hp-refinement-intro{font-size:.85rem!important;color:#567184!important;margin:0 0 14px!important}
 #homeopati-layout #studio .hp-parallel-question{min-width:0!important;margin:0 0 18px!important;padding:0!important;border:0!important;background:transparent!important}
 #homeopati-layout #studio .hp-parallel-question>legend{display:flex!important;align-items:center;gap:8px!important;max-width:100%;margin:0 0 8px!important;padding:0!important;font-size:1rem!important;font-weight:650!important;color:#174968!important}
 #homeopati-layout #studio .hp-parallel-question>p,#homeopati-layout #studio .hp-parallel-question .refinement-multiple>p{margin:0 0 8px!important;font-size:.85rem!important}
 #homeopati-layout #studio .hp-parallel-question .ls-ui-choices{display:flex!important;flex-wrap:wrap!important;gap:6px!important}
 #homeopati-layout #studio .hp-parallel-question .answer-option{flex:0 1 auto!important;width:auto!important;max-width:100%!important;min-width:0!important;padding:0!important;min-height:44px!important;box-sizing:border-box!important}
 #homeopati-layout #studio .hp-parallel-question .answer-option span{overflow-wrap:anywhere}
 #homeopati-layout #studio .hp-refinement-clear{display:inline-flex!important;align-items:center;justify-content:center;min-width:28px!important;min-height:28px!important;margin:0!important;padding:2px 6px!important;border:0!important;border-radius:4px!important;background:transparent!important;color:#567184!important;font-size:1.1rem!important}
 #homeopati-layout #studio .hp-refinement-clear:hover{background:#eaf3f7!important}
 #homeopati-layout #studio .hp-parallel-question:focus-visible,#homeopati-layout #studio .hp-refinement-clear:focus-visible{outline:2px solid #226796!important;outline-offset:3px!important}
 #homeopati-layout #studio .hp-refinement-scope{margin:18px 0 12px!important;font-size:1.1rem!important}
}

@layer ls-profile {
 #homeopati-layout #studio .refinement-actions [data-refinement-retry][hidden]{display:none!important}
 #homeopati-layout #studio .hp-parallel-question .compact-source-symbol{display:inline-flex!important;align-items:center;justify-content:center;min-width:28px!important;min-height:28px!important;width:28px!important;height:28px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
 #homeopati-layout #studio .hp-parallel-question .answer-option>span{box-sizing:border-box!important;max-width:100%!important}
}

@layer ls-profile {
 #homeopati-layout #studio .hp-parallel-question{border:1px solid #d7e5ef!important;border-radius:9px!important;margin:0 0 12px!important;padding:12px!important;background:#fbfdfe!important}
 #homeopati-layout #studio .hp-question-heading{display:flex!important;align-items:center;gap:6px!important;min-width:0}
 #homeopati-layout #studio .hp-question-heading>h4{flex:1!important;min-width:0!important;margin:0!important;font-size:1rem!important}
 #homeopati-layout #studio .hp-question-toggle{display:flex!important;align-items:center;flex-wrap:wrap;gap:4px 8px!important;width:100%!important;min-height:36px!important;padding:2px 0!important;margin:0!important;border:0!important;border-radius:4px!important;background:transparent!important;box-shadow:none!important;color:#174968!important;text-align:start!important;text-transform:none!important;letter-spacing:normal!important;font:inherit!important;line-height:1.45!important;cursor:pointer}
 #homeopati-layout #studio .hp-question-toggle:hover{color:#236b96!important}
 #homeopati-layout #studio .hp-question-toggle:focus-visible{outline:2px solid #226796!important;outline-offset:3px!important}
 #homeopati-layout #studio .hp-question-label{font-weight:650;overflow-wrap:anywhere}
 #homeopati-layout #studio .hp-question-answer{display:none!important;font-weight:400;color:#486577;overflow-wrap:anywhere}
 #homeopati-layout #studio .is-collapsed .hp-question-answer{display:inline!important}
 #homeopati-layout #studio .hp-question-answer:before{content:'· ';}
 #homeopati-layout #studio .hp-question-chevron{margin-inline-start:auto;flex:0 0 auto;font-size:1.15rem!important;line-height:1}
 #homeopati-layout #studio .is-collapsed .hp-question-chevron{transform:rotate(180deg)}
 #homeopati-layout #studio .hp-question-body{padding-top:8px!important}
 #homeopati-layout #studio .hp-question-body[hidden],#homeopati-layout #studio #symptom-next[hidden],#homeopati-layout #studio #follow-up-next[hidden],#homeopati-layout #studio #follow-up-show-remedies[hidden],#homeopati-layout #studio #restart-case-follow-up{display:none!important}
 #homeopati-layout #studio .hp-question-body>fieldset{margin:0!important;padding:0!important;border:0!important;min-width:0!important}
 #homeopati-layout #studio .hp-question-body>fieldset>p{font-size:.9rem!important;margin:0 0 8px!important}
}

/* Source coverage is a neutral count, never a five-level strength scale. */
.hp-source-coverage{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:2.5em;padding:.18em .45em;border-radius:.35rem;background:#eef2f4;color:#4b6574;font-variant-numeric:tabular-nums;font-size:.85em;font-weight:500;white-space:nowrap}
/* This static empty-state node is inserted by the shared site shell. */
.studio-page .HPSelectedEmpty{display:none!important}

/* Source-driven refinements remain visible beside the existing remedy preview. */
#homeopati-layout .hp-inline-refinements{margin-top:1rem;padding-top:1rem;border-top:1px solid var(--border,#d8e2e7);min-width:0}
#homeopati-layout .hp-inline-refinements>h3{margin:0 0 .6rem;font-size:1.12rem}
#homeopati-layout .hp-inline-refinements .hp-refinement-questions{display:grid;gap:.7rem}
#homeopati-layout .hp-inline-refinements fieldset{min-width:0}
#homeopati-layout .hp-inline-refinements input[type="radio"]{position:absolute;width:1px;height:1px;opacity:0}
#homeopati-layout .hp-inline-refinements .answer-option:has(input:focus-visible){outline:2px solid #236397;outline-offset:3px}

/* One ordered DOM sequence for visual reading, keyboard and assistive technology.
 * Keep expanded readings in their own cell so positions never jump columns. */
#homeopati-layout #studio .hp-ordered-remedies:is(.compact-remedy-list,.remedy-preview-list){
 display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:none;
 grid-auto-flow:row;margin:0;padding:0;list-style:none;align-items:start;
}
#homeopati-layout #studio .hp-ordered-remedies>li,
#homeopati-layout #studio .hp-ordered-remedies>li:has(>details[open]),
#homeopati-layout #studio .hp-ordered-remedies>.hp-remedy-item:has(>.hp-remedy-card[open]){
 grid-column:auto;min-width:0;margin:0;padding:0;border:0;list-style:none;
}
#homeopati-layout #studio .hp-remedy-position{
 flex:0 0 auto;min-width:1.5em;color:#526b7b;font-size:.82em;
 font-weight:500;font-variant-numeric:tabular-nums;text-align:end;
}
@container remedy-panel (min-width:540px){
 #homeopati-layout #studio .hp-ordered-remedies[data-remedy-count]{
  grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:column;
  grid-template-rows:repeat(var(--hp-remedy-rows,1),auto);
 }
 #homeopati-layout #studio .hp-ordered-remedies[data-remedy-count="1"]{grid-template-columns:minmax(0,1fr)}
 #homeopati-layout #studio .hp-ordered-remedies:is([data-remedy-count="3"],[data-remedy-count="4"]){--hp-remedy-rows:2}
 #homeopati-layout #studio .hp-ordered-remedies:is([data-remedy-count="5"],[data-remedy-count="6"]){--hp-remedy-rows:3}
 #homeopati-layout #studio .hp-ordered-remedies:is([data-remedy-count="7"],[data-remedy-count="8"]){--hp-remedy-rows:4}
 #homeopati-layout #studio .hp-ordered-remedies:is([data-remedy-count="9"],[data-remedy-count="10"]){--hp-remedy-rows:5}
}

/* Presentation only: one source-backed group at a time, natural panel heights. */
@layer ls-profile {
 #homeopati-layout #studio .hp-refinement-pager {display:flex;align-items:center;gap:8px;margin:14px 0 16px;min-width:0}
 #homeopati-layout #studio .hp-refinement-pager .button {flex:0 0 auto;margin:0;padding:9px 12px;min-height:44px}
 #homeopati-layout #studio .hp-refinement-selector {flex:1;min-width:0;margin:0}
 #homeopati-layout #studio .hp-refinement-selector select {width:100%;min-width:0;min-height:44px;margin:0;padding:9px 28px 9px 10px;font:inherit;font-size:.9rem;color:var(--ls-ink,#244b5a);border:1px solid #bfd3dc;border-radius:7px;background:#fff;text-overflow:ellipsis}
 #homeopati-layout #studio .hp-question-heading h4[data-refinement-toggle] {margin:0;font-size:1rem;line-height:1.45}
 #homeopati-layout #studio .hp-parallel-question {margin:0}
 #homeopati-layout #studio .hp-question-body {padding-top:10px}
 #homeopati-layout #studio .refinement-actions {min-height:24px;margin-top:8px;gap:8px}
 #homeopati-layout #studio .refinement-actions[hidden] {display:none!important}
 #homeopati-layout #studio [data-refinement-save-status] {font-size:.82rem;color:#526e7a}
 #homeopati-layout #studio .hp-answer-summary {margin:10px 0 0;padding-top:10px;border-top:1px solid #d8e5ed}
 #homeopati-layout #studio .hp-answer-summary>summary {padding:6px 0;cursor:pointer;color:#254c5c;font-size:.92rem}
 #homeopati-layout #studio .hp-answer-scope {margin:12px 0 0}
 #homeopati-layout #studio .hp-answer-scope h4 {margin:0 0 4px!important;font-size:.88rem!important;font-weight:600!important}
 #homeopati-layout #studio .hp-answer-summary ul {list-style:none;margin:0!important;padding:0!important}
 #homeopati-layout #studio .hp-answer-summary li {margin:0!important;padding:0!important}
 #homeopati-layout #studio .hp-answer-summary button {display:grid!important;grid-template-columns:minmax(6rem,.8fr) minmax(0,1.6fr);align-items:start!important;text-align:left!important;gap:12px;width:100%;min-height:40px!important;margin:0!important;padding:8px 4px!important;border:0!important;border-radius:4px!important;box-shadow:none!important;background:transparent!important;color:#315b70!important;font:inherit;font-size:.88rem!important;font-weight:400!important;line-height:1.45!important}
 #homeopati-layout #studio .hp-answer-summary button>span {min-width:0;margin:0!important;text-align:left!important;white-space:normal;overflow-wrap:anywhere}
 #homeopati-layout #studio .hp-answer-summary button:hover {background:#f0f6f8!important}
 #homeopati-layout #studio .hp-remedy-card>summary>strong,
 #homeopati-layout #studio .compact-remedy-name {font-weight:400!important}
 #homeopati-layout #studio .hp-pane-jump {display:none!important}
 @media (min-width:1001px) {
  #homeopati-layout #studio .hp-sticky-fits {position:sticky;top:16px;align-self:start}
 }
 @media (max-width:1000px) {
  #homeopati-layout #studio .hp-pane-jump {display:inline-flex!important;margin:0 0 12px;min-height:40px;padding:6px 10px;align-items:center;font-size:.88rem}
 }
 @media (max-width:480px) {
  #homeopati-layout #studio .hp-refinement-pager {flex-wrap:wrap;justify-content:space-between}
  #homeopati-layout #studio .hp-refinement-selector {order:-1;flex:1 0 100%}
  #homeopati-layout #studio .hp-refinement-pager .button {padding:7px 12px}
 }
}

/* The initialized workspace is revealed once, after account/state recovery.
   No fixed heights or duplicate start form; no-JS content remains available. */
html[data-hp-startup="pending"] #case-app { visibility: hidden !important; }
html[data-hp-startup="pending"] #case-app * { visibility: hidden !important; }
.hp-startup-status { display:flex; align-items:center; flex-wrap:wrap; gap:12px; margin:20px 0; color:#36596c; }
.hp-startup-status.is-error { padding:16px; border:1px solid #cbdde5; border-radius:8px; background:#f2f7fa; }
.hp-startup-status button { flex:none; }

/* A question round ends with a choice, never an automatic clinical conclusion. */
.hp-refinement-round-actions{display:flex;flex-wrap:wrap;gap:.75rem;align-items:center}.hp-refinement-round>p{margin:0 0 1rem}.hp-refinement-round{padding-block:.5rem 1rem}

.hp-remedy-text{display:grid;gap:.2rem;min-width:0;flex:1;font-weight:400}.hp-remedy-difference{font-size:.82em;line-height:1.35;font-weight:400;color:#476575;overflow-wrap:anywhere}.hp-source-gap{font-size:.9em;color:#476575}

/* Pane jumps share the measured offset of the persistent case toolbar. */
html body.studio-page #studio :is(.hp-choice-pane,.hp-remedy-pane,.hp-inline-refinements,.compact-refinement,.compact-results){scroll-margin-top:var(--case-nav-height,120px)!important;}
