/* Native Offlabelfinder frame; account state and purchases remain with the app. */
body:has(.of-standard-header) #Whitebackground{box-sizing:border-box;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important}
html body header.of-standard-header{display:flex!important;flex-direction:column;align-items:stretch!important;gap:.4rem;box-sizing:border-box;width:calc(100% - 64px)!important;max-width:1340px!important;margin:0 auto!important;padding:.9rem 0 .6rem!important;border:0!important}
.of-standard-header :is(.of-header-top,.of-header-bottom){display:flex;align-items:center;justify-content:space-between;gap:.55rem 1rem;min-width:0}
.of-standard-header .of-header-top{flex-wrap:wrap}
.of-standard-header .fk-brand{display:grid!important;grid-template:auto auto / 60px minmax(0,1fr)!important;gap:.1rem 1rem;min-width:0}
.of-standard-header .fk-brand img{grid-area:1/1/3/2;width:60px!important;height:60px!important}
.of-standard-header .fk-brand-name{grid-area:1/2;font-family:"Source Sans 3",sans-serif!important;font-weight:520!important;font-size:31px!important;line-height:1.12!important;letter-spacing:.112em!important;white-space:nowrap}
.of-standard-header .fk-brand-tagline{grid-area:2/2;font-size:12px!important;letter-spacing:2px!important;line-height:1.2}
html body .of-standard-header .of-account-controls{display:flex!important;position:relative!important;inset:auto!important;align-items:center;justify-content:flex-end;gap:.55rem;margin:0 0 0 auto!important;padding:0!important;border:0!important}
.of-standard-header .of-header-main{display:flex!important;position:static!important;flex:1;flex-wrap:wrap;align-items:center;justify-content:flex-start!important;gap:.4rem 1.2rem;margin:0!important}
.of-standard-header .of-header-main a,.of-standard-header .of-directory-direct{display:inline-flex;align-items:center;min-height:44px}
.of-standard-header .of-directory-direct{flex:none;gap:.3em;margin-inline-start:auto;font-weight:600}
.of-standard-header .of-menu{display:none!important}
.of-standard-header a{text-decoration:none!important}
body:has(.of-standard-header) main#IFBody{box-sizing:border-box;width:calc(100% - 64px)!important;max-width:1340px!important;margin:0 auto!important;padding:2rem 0!important}
@media(max-width:760px){
 html body header.of-standard-header,body:has(.of-standard-header) main#IFBody{width:calc(100% - 32px)!important}
 .of-standard-header .fk-brand{grid-template-columns:34px minmax(0,1fr)!important;gap:.1rem .5rem}
 .of-standard-header .fk-brand img{width:34px!important;height:34px!important}
 .of-standard-header .fk-brand-name{font-size:clamp(20px,5.5vw,26px)!important;letter-spacing:.08em!important}
 .of-standard-header .fk-brand-tagline{font-size:10px!important;letter-spacing:1.2px!important}
 .of-standard-header .of-header-main{display:none!important}
 .of-standard-header .of-menu{display:block!important;position:relative}
 .of-standard-header .of-menu>summary{display:flex;align-items:center;min-height:44px;cursor:pointer;list-style:none}
 .of-standard-header .of-menu>nav{position:absolute;inset-block-start:100%;inset-inline-start:0;z-index:40;display:flex;flex-direction:column;align-items:stretch;width:min(22rem,calc(100vw - 32px));padding:.6rem;border:1px solid #c6dce9;border-radius:4px;background:#fff}
 .of-standard-header .of-menu:not([open])>nav{display:none}
 .of-standard-header .of-menu a{display:flex;align-items:center;min-height:44px}
 .of-standard-header .fk-language select{min-width:0!important;max-width:100%;width:100px!important}
 .of-standard-header .of-header-bottom{position:relative}
}

/* Offlabelfinder: same compact rows, with its own essential safety copy. */
@layer finder-presentation-coordination {
html body .of-entry-gate {
  display:grid!important;grid-template-columns:28px minmax(0,1fr) fit-content(48%)!important;
  grid-template-rows:auto auto auto auto!important;gap:4px 16px!important;align-items:start!important;
}
html body .of-entry-gate>.of-entry-copy,html body .of-entry-gate #entry-form {display:contents!important}
html body .of-entry-gate>.of-info-icon {grid-area:1/1!important;align-self:center!important}
html body .of-entry-gate .of-entry-copy>p:first-child {grid-area:1/2!important;align-self:center!important;margin:0!important;min-width:0}
html body .of-entry-gate .of-entry-copy>p:nth-child(2) {grid-area:2/2/3/-1!important;margin:0!important;min-width:0}
html body .of-entry-gate .of-entry-links {grid-area:1/3!important;align-self:center!important;justify-self:end!important;justify-content:flex-end!important;margin:0!important;min-width:0}
html body .of-entry-gate .of-check {grid-area:3/2/4/-1!important;align-self:center!important;margin:8px 0 0!important;padding-inline-start:0!important;padding-inline-end:216px!important;box-sizing:border-box;min-width:0}
html body .of-entry-gate #entry-submit {grid-area:3/3!important;align-self:center!important;justify-self:end!important;margin:8px 0 0!important;width:200px!important;max-width:100%;min-width:0}
html body .of-entry-gate #entry-error {grid-area:4/2/5/-1!important;min-width:0}
@media(max-width:1100px) {
  html body .of-entry-gate .of-entry-copy>p:first-child {grid-column:2/-1!important}
  html body .of-entry-gate .of-entry-links {grid-area:3/2/4/-1!important;justify-self:start!important;justify-content:flex-start!important}
  html body .of-entry-gate .of-check,html body .of-entry-gate #entry-submit {grid-row:4!important}
  html body .of-entry-gate #entry-error {grid-row:6!important}
}
@media(max-width:640px) {
  html body .of-entry-gate .of-check {padding-inline-end:0!important;grid-row:3!important}
  html body .of-entry-gate .of-entry-links {grid-row:4!important}
  html body .of-entry-gate #entry-submit {grid-area:5/2/6/-1!important;width:100%!important;justify-self:stretch!important}
}
}

[data-owner-content-protected] {
  -webkit-user-select: none !important;
  user-select: none !important;
  -webkit-touch-callout: none;
}
[data-owner-content-protected] :is(input, textarea, select, [contenteditable]:not([contenteditable="false"]), [data-copy-allowed], [data-copy-allowed] *) {
  -webkit-user-select: text !important;
  user-select: text !important;
  -webkit-touch-callout: default;
}
[data-owner-content-protected] :is(a, button) { -webkit-touch-callout: default; }
@media print {
  /* Hide the root too: native framed children can have stronger important display rules. */
  html:has(> body[data-owner-text-print-protected]) { display: none !important; }
  body[data-owner-text-print-protected] > * { display: none !important; }
}

/* Shared outer reference frame. Native fields, text and inner reading widths stay. */
@media screen {
 :root {
  --finder-frame-max:1240px;
  --finder-frame-gutter:24px;
 }
 html:root body.pc-site {
  --pc-gutter:var(--finder-frame-gutter);
  --pc-width:min(var(--finder-frame-max),calc(100% - 2 * var(--finder-frame-gutter)));
 }
 html:root body.pc-wh {
  --wh-site-width:var(--finder-frame-max);
  --wh-site-gutter:var(--finder-frame-gutter);
 }
 /* The native search route must expose its existing gate until accepted. */
 html:root body.wh-route-finder.customer-surface:not(.wh-session-ready)
  #panel-homeopathy[data-wh-entry-page="search"] #wh-session-consent {
  display:block !important;
 }
 html:root body#homeopati-layout {
  --hp-layout-max:var(--finder-frame-max);
  --hp-layout-gutter:var(--finder-frame-gutter);
  --hp-layout-width:min(var(--finder-frame-max),calc(100% - 2 * var(--finder-frame-gutter)));
  --clarity-frame:var(--hp-layout-width);
 }
 html:root body#homeopati-layout :is(header.HPHeader,main#main) {
  width:var(--hp-layout-width) !important;
  max-width:var(--finder-frame-max) !important;
  margin-inline:auto !important;
 }
 html:root body#homeopati-layout header.HPHeader :is(.HPHeaderMain,.HPSisterSites),
 html:root body#homeopati-layout main#main > .studio-section {
  width:100% !important;
  max-width:none !important;
  margin-inline:0 !important;
 }
 html:root body#homeopati-layout .HPFooter > .sb-footer-row {
  box-sizing:border-box;
  width:var(--hp-layout-width) !important;
  max-width:var(--finder-frame-max) !important;
  margin-inline:auto !important;
  padding-inline:0 !important;
 }
 html:root body:is(.pc-wh,.pc-beta) .page,
 html:root body.pc-classic #classic-shell {
  box-sizing:border-box;
  width:var(--pc-width) !important;
  max-width:var(--finder-frame-max) !important;
  margin-inline:auto !important;
 }
 html:root body:is(.pc-wh,.pc-beta) .page > main,
 html:root body:is(.pc-wh,.pc-beta) .page :is(section.tool,.legacy-page),
 html:root body.pc-wh header.wh-balanced-header,
 html:root body.pc-beta header.rf-header-balanced,
 html:root body.pc-classic :is(#Background,#Whitebackground,#MainBody) {
  box-sizing:border-box;
  width:100% !important;
  max-width:none !important;
  margin-inline:0 !important;
 }
 html:root body:is(.pc-wh,.pc-beta,.pc-classic) footer .sb-footer-row {
  box-sizing:border-box;
  width:100% !important;
  max-width:none !important;
  margin-inline:0 !important;
  padding-inline:0 !important;
 }
 html:root body.pc-beta .remedy-workspace-toolbar {
  width:100%;
  max-width:none;
 }
 html:root body.fk-page header.of-standard-header,
 html:root body.fk-page main#IFBody {
  box-sizing:border-box;
  width:min(var(--finder-frame-max),calc(100% - 2 * var(--finder-frame-gutter))) !important;
  max-width:var(--finder-frame-max) !important;
  margin-inline:auto !important;
 }
 html:root body.fk-page footer.fk-footer {
  box-sizing:border-box;
  padding-inline:max(var(--finder-frame-gutter),calc((100% - var(--finder-frame-max))/2)) !important;
 }
}
/* Extend the existing important-rule layers; retain their native structure. */
@layer finder-footer-access {
 @media screen {
  html:root body#homeopati-layout footer.HPFooter {
   box-sizing:border-box;
   width:100% !important;
   max-width:none !important;
   margin-inline:0 !important;
   padding-inline:max(var(--finder-frame-gutter),calc((100% - var(--finder-frame-max))/2)) !important;
  }
  html:root body#homeopati-layout .HPFooter > .sb-footer-row {
   padding-inline:0 !important;
  }
 }
}
@layer remedyfinder-simple-interface {
 @media screen {
  html:root body.pc-classic #classic-shell {
   width:min(var(--finder-frame-max),calc(100% - 2 * var(--finder-frame-gutter))) !important;
   max-width:var(--finder-frame-max) !important;
  }
 }
}
@layer finder-presentation-coordination {
 @media screen {
  html:root body#homeopati-layout.pc-san footer.HPFooter {
   padding-inline:max(var(--finder-frame-gutter),calc((100% - var(--finder-frame-max))/2)) !important;
  }
  html:root body#homeopati-layout.pc-home footer.HPFooter {
   width:100% !important;
   max-width:none !important;
   margin-inline:0 !important;
  }
  html:root body.pc-beta header.rf-header-balanced {
   box-sizing:border-box;
   width:min(var(--finder-frame-max),calc(100% - 2 * var(--finder-frame-gutter))) !important;
   max-width:var(--finder-frame-max) !important;
   margin-inline:auto !important;
  }
 }
}
@layer ls-profile.sanabit-approved {
 @media screen {
  html:root body#homeopati-layout.pc-san footer.HPFooter {
   box-sizing:border-box;
   width:100% !important;
   max-width:none !important;
   margin-inline:0 !important;
   padding-inline:max(var(--finder-frame-gutter),calc((100% - var(--finder-frame-max))/2)) !important;
  }
 }
}
@media screen and (max-width:600px) {
 :root { --finder-frame-gutter:20px; }
}

/* Owner-requested repairs. Native content, controls and access decisions remain. */
@layer ls-owner-single-frame {
 html:root :is(main,[role="main"]):not([contenteditable="true"]):is(:focus,:focus-visible){outline:none!important}

 /* The old first/last auto margins only centered the first wrapped footer line. */
 html:root body :is(.fk-footer,.site-footer,.HPFooter) .sb-footer-row {
  display:flex!important;flex-wrap:wrap!important;justify-content:center!important;
  align-items:center!important;gap:6px 0!important;white-space:normal!important;
  overflow:visible!important;padding-block:0!important;
 }
 html:root body :is(.fk-footer,.site-footer,.HPFooter) .sb-footer-row>li {
  flex:0 1 auto!important;margin:0!important;margin-inline:0!important;
  padding:0 9px!important;min-width:0!important;max-width:100%!important;
  white-space:normal!important;overflow-wrap:anywhere!important;
  border-inline-start:0!important;border-inline-end:0!important;
 }
 html:root body :is(.fk-footer,.site-footer,.HPFooter) .sb-footer-row>li>:is(span,address,a) {
  border-inline-start:0!important;border-inline-end:0!important;
 }
 html:root body :is(.fk-footer,.site-footer,.HPFooter) .sb-footer-row address {
  white-space:normal!important;font-style:normal!important;
 }
 html:root body :is(.fk-footer,.site-footer,.HPFooter) .sb-footer-row>li::before,
 html:root body :is(.fk-footer,.site-footer,.HPFooter) .sb-footer-row>li::after {
  content:none!important;
 }

 /* Natural panel heights, including the empty state on a phone. */
 html:root body:is(.pc-if,.pc-beta) .fe-workspace {align-items:stretch!important}
 html:root body:is(.pc-if,.pc-beta) .fe-workspace>.fe-card {
  height:auto!important;min-height:0!important;align-self:stretch!important;
 }
 html:root body.pc-beta #remedy-method {
  box-sizing:border-box!important;width:100%!important;max-width:none!important;
  padding-inline:0!important;margin-inline:0!important;
 }
 html:root body.pc-beta #remedy-method .rf-search-layout {align-items:stretch!important}
 html:root body.pc-beta #remedy-method .rf-search-layout :is(.rf-search-input,.rf-search-selected,.rf-search-results) {
  min-height:0!important;height:auto!important;align-self:stretch!important;
 }
 html:root body.pc-if #IFBody.if-overview-layout {align-items:stretch!important}
 html:root body.pc-if #IFBody.if-overview-layout :is(.if-search-card,.if-chosen-card,#if-ranked-results) {
  align-self:stretch!important;min-height:0!important;height:auto!important;
 }
 html:root body.pc-if header.if-coordinated-chrome .fk-nav-create:not([hidden]) {
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:44px!important;padding:10px 16px!important;border:1px solid #4b759e!important;
  border-radius:5px!important;background:#4b759e!important;color:white!important;
 }
 @media(min-width:1100px){
  html:root body.pc-if #IFBody.if-overview-layout:not(:has(#if-ranked-results:not([hidden]))) {
   grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
 }

 /* Offlabelfinder uses the same restrained name and tool-heading hierarchy. */
 html:root body:has(header.of-standard-header) header.of-standard-header .fk-brand-name::before {
  font:520 28px/1.12 "Source Sans 3",system-ui,sans-serif!important;letter-spacing:.16em!important;
 }
 html:root body:has(header.of-standard-header) main#IFBody h1 {
  font-size:clamp(28px,2.5vw,36px)!important;line-height:1.2!important;
 }
 html:root body:has(header.of-standard-header) main#IFBody .if-card-heading h2 {
  font-size:24px!important;line-height:1.3!important;
 }
 html:root body:has(header.of-standard-header) main#IFBody .of-results-empty {
  display:block!important;min-height:0!important;place-content:normal!important;
  text-align:start!important;padding-block:16px!important;
 }
 html:root body:has(header.of-standard-header) main#IFBody .of-results-empty p {
  text-align:start!important;max-width:70ch!important;margin:8px 0 0!important;
 }
 html:root body:has(header.of-standard-header) main#IFBody .if-grid {align-items:stretch!important}

 /* A short category keeps the same card columns as its neighbouring category. */
 html:root body#homeopati-layout main.SBDirectory {
  box-sizing:border-box!important;padding-inline:0!important;
 }
 html:root body#homeopati-layout:has(main.SBDirectory) header.HPHeader .HPHeaderMain {
  padding-block:0!important;min-height:0!important;height:auto!important;
 }
 html:root body#homeopati-layout main.SBDirectory .SBDirectoryList {
  display:grid!important;grid-template-columns:repeat(auto-fill,minmax(min(100%,250px),1fr))!important;
  gap:16px!important;align-items:stretch!important;
 }
 html:root body#homeopati-layout main.SBDirectory .SBDirectoryList>li {
  display:flex!important;min-width:0!important;max-inline-size:none!important;
 }
 html:root body#homeopati-layout main.SBDirectory a.SBDirectoryCard {
  background:#fff!important;border:1px solid #d4dfda!important;border-radius:6px!important;
  padding:18px!important;min-height:0!important;height:auto!important;
 }
 @media(max-width:760px){
  html:root body:is(.pc-if,.pc-beta) .fe-workspace>.fe-card,
  html:root body.pc-beta #remedy-method .rf-search-layout :is(.rf-search-input,.rf-search-selected,.rf-search-results) {
   min-height:0!important;height:auto!important;
  }
  html:root body:has(header.of-standard-header) header.of-standard-header .fk-brand-name::before {
   font-size:clamp(19px,5.1vw,26px)!important;letter-spacing:.08em!important;
  }
 }
}
