/* EndoCann DoctorSuite production redesign.
   Scoped to body.dsr so print/PDF documents and the wider site keep their
   existing production styling and capture geometry. */
@font-face{
  font-family:Manrope;
  src:url("../../assets/fonts/manrope-var.woff2") format("woff2");
  font-style:normal;
  font-weight:200 800;
  font-display:swap;
}

body.dsr{
  --ecu-ribbon-h:0px;
  --dsr-green-950:#052a1b;
  --dsr-green-900:#073d26;
  --dsr-green-800:#0a4c30;
  --dsr-green-700:#075f3b;
  --dsr-green-600:#0b6b45;
  --dsr-green-100:#dfeee6;
  --dsr-green-50:#eef6f1;
  --dsr-gold-500:#d6b45d;
  --dsr-gold-300:#ead38f;
  --dsr-gold-100:#fff3ce;
  --dsr-ink:#17231d;
  --dsr-muted:#5f7067;
  --dsr-line:#d7e2dc;
  --dsr-line-soft:#e8efeb;
  --dsr-control:#7b8c83;
  --dsr-page:#f6faf7;
  --dsr-card:#fff;
  --dsr-danger:#b3261e;
  --dsr-focus:#073d26;
  --dsr-shadow:0 18px 44px rgba(5,42,27,.08);
  --dsr-shadow-sm:0 8px 24px rgba(5,42,27,.07);
  margin:0;
  min-width:320px;
  background:var(--dsr-page);
  color:var(--dsr-ink);
  font-family:Manrope,Inter,system-ui,-apple-system,"Segoe UI",sans-serif;
  font-size:15px;
  line-height:1.55;
}

.dsr :where(button,a,input,select,textarea,summary):focus-visible{
  outline:3px solid var(--dsr-focus);
  outline-offset:3px;
}
.dsr :where(button,a,input,select,textarea)[disabled]{cursor:not-allowed}
.dsr button,.dsr input,.dsr select,.dsr textarea{font-family:inherit}
.dsr .dsr-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;
}

/* Wide application shell */
.dsr .app{
  width:100%;
  max-width:none;
  min-height:100vh;
  margin:0;
  padding:0;
  display:grid;
  grid-template-columns:232px minmax(0,1fr);
  align-items:start;
  overflow:visible;
  background:var(--dsr-page);
  box-shadow:none;
}
.dsr .hdr{
  --dsr-focus:var(--dsr-gold-500);
  position:sticky;
  top:0;
  z-index:120;
  grid-column:1;
  display:flex;
  flex-direction:column;
  height:100vh;
  padding:22px 14px 16px;
  overflow-y:auto;
  border:0;
  border-radius:0;
  background:
    radial-gradient(360px 280px at 110% 0,rgba(214,180,93,.17),transparent 64%),
    linear-gradient(180deg,var(--dsr-green-800),var(--dsr-green-950))!important;
  color:#fff;
  box-shadow:10px 0 35px rgba(5,42,27,.08);
}
.dsr .brandBar{
  display:grid;
  grid-template-columns:1fr 42px;
  gap:10px;
  align-items:center;
  margin:0 0 22px;
  padding:0 4px 18px;
  border-bottom:1px solid rgba(255,255,255,.12);
}
.dsr .brandLogo{
  min-width:0;
  min-height:48px;
  justify-content:flex-start;
  padding:0;
  background:transparent;
  color:#fff;
  text-align:left;
}
.dsr .brandWord{display:block}
.dsr .brandWord .brandEndo,.dsr .brandWord .brandCann{
  font-family:Manrope,system-ui,sans-serif;
  font-size:23px;
  font-weight:800;
  letter-spacing:-.045em;
}
.dsr .brandWord .brandCann{color:var(--dsr-gold-500)}
.dsr .hdr .brandLogo.brandLogoClear .brandEndo{color:#fff!important}
.dsr .hdr .brandLogo.brandLogoClear .brandCann{color:var(--dsr-gold-500)!important}
.dsr .hdr .brandLogo.brandLogoClear small{color:#d8e8df!important}
.dsr .brandWord small{
  display:block;
  margin-top:3px;
  color:#d8e8df;
  font-size:7px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.dsr .orderBadge{
  width:42px;
  min-width:42px;
  height:42px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:13px;
  background:rgba(255,255,255,.1);
  color:#fff;
}
.dsr .orderBadge b{background:var(--dsr-gold-500);color:var(--dsr-green-950)}
.dsr .topActions{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0;
}
.dsr .topActions .dsr-rail-label{
  display:block;
  margin:15px 10px 5px;
  color:rgba(243,230,196,.74);
  font-size:9px;
  font-weight:800;
  letter-spacing:.12em;
  text-transform:uppercase;
}
.dsr .topActions .dsr-rail-label:first-child{margin-top:0}
.dsr .topActions button{
  width:100%;
  min-height:46px;
  display:grid;
  grid-template-columns:34px minmax(0,1fr);
  align-items:center;
  gap:9px;
  padding:7px 10px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:#e5efe9;
  text-align:left;
  box-shadow:none;
}
.dsr .topActions button:hover{background:rgba(255,255,255,.08);color:#fff}
.dsr .topActions button.on{
  border-color:rgba(214,180,93,.48);
  background:linear-gradient(135deg,rgba(214,180,93,.18),rgba(255,255,255,.09));
  color:#fff;
  box-shadow:inset 3px 0 0 var(--dsr-gold-500);
}
.dsr .topActions button.on,.dsr .topActions button[aria-current="page"]{
  border-color:rgba(214,180,93,.48)!important;
  background:linear-gradient(135deg,rgba(214,180,93,.18),rgba(255,255,255,.09))!important;
  color:#fff!important;
  box-shadow:inset 3px 0 0 var(--dsr-gold-500)!important;
}
.dsr .topActions button b{
  color:inherit!important;
  font-size:12px;
  font-weight:700;
  line-height:1.2;
}
.dsr .topActions .railIcon{
  width:32px;
  height:32px;
  display:grid;
  place-items:center;
  margin:0;
  border-radius:10px;
  background:rgba(255,255,255,.08);
}
.dsr .topActions button.on .railIcon{background:rgba(214,180,93,.19);color:var(--dsr-gold-300)}
.dsr .topActions .ecRailIcon{width:18px;height:18px}
.dsr .dsr-rail-scope{
  margin:auto 2px 0;
  padding:12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  background:rgba(255,255,255,.07);
  color:#d8e5dd;
  font-size:9px;
  line-height:1.55;
}
.dsr .dsr-rail-scope b{
  display:block;
  margin-bottom:5px;
  color:var(--dsr-gold-300);
  font-size:8px;
  letter-spacing:.1em;
  text-transform:uppercase;
}

.dsr main{
  grid-column:2;
  width:min(1180px,100%);
  min-width:0;
  margin:0 auto;
  padding:34px 42px 72px;
}
.dsr .dockWrap{display:none}
.dsr .panel.on{animation:dsr-in .18s ease-out}
@keyframes dsr-in{from{opacity:0;transform:translateY(5px)}to{opacity:1;transform:none}}
.dsr .sectionTitle{
  gap:14px;
  align-items:center;
  margin:0 0 24px;
}
.dsr .sectionTitle i{
  width:48px;
  height:48px;
  border:1px solid var(--dsr-line-soft);
  border-radius:15px;
  background:var(--dsr-card);
  color:var(--dsr-green-700);
  box-shadow:var(--dsr-shadow-sm);
}
.dsr .sectionTitle h2{
  color:var(--dsr-green-900);
  font-size:clamp(25px,2.4vw,34px);
  font-weight:800;
  letter-spacing:-.045em;
}
.dsr .sectionTitle p{margin-top:5px;color:var(--dsr-muted);font-size:13px}
.dsr .ecSectionIcon{width:23px;height:23px}

/* Cards and controls */
.dsr .card,.dsr .prod,.dsr .early{
  border:1px solid var(--dsr-line);
  border-radius:18px;
  background:var(--dsr-card);
  box-shadow:var(--dsr-shadow-sm);
}
.dsr .card{margin-bottom:18px;padding:22px}
.dsr .cardHead{padding-bottom:15px;margin-bottom:18px;border-color:var(--dsr-line-soft)}
.dsr .cardHead b{color:var(--dsr-green-900);font-size:16px;font-weight:750}
.dsr .cardHead span{color:var(--dsr-muted);font-size:11px}
.dsr .pill{
  padding:6px 10px;
  background:var(--dsr-green-50);
  color:var(--dsr-green-800);
  font-size:9px;
  letter-spacing:.07em;
}
.dsr .pill.gold{background:var(--dsr-gold-100);color:#6b5110}
.dsr .row2{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px}
.dsr .row3{gap:14px}
.dsr .field{min-width:0;margin-bottom:3px}
.dsr .label,.dsr .dietChoiceLabel{
  margin-bottom:7px;
  color:#415148;
  font-size:10px;
  font-weight:800;
  letter-spacing:.075em;
}
.dsr input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
.dsr select,.dsr textarea{
  min-height:46px;
  padding:10px 12px;
  border:1.5px solid var(--dsr-control);
  border-radius:12px;
  background:#fff;
  color:var(--dsr-ink);
  font-size:13px;
  font-weight:550;
  box-shadow:none;
}
.dsr textarea{min-height:92px;line-height:1.55}
.dsr input::placeholder,.dsr textarea::placeholder{color:#78877f;opacity:1}
.dsr input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):hover,
.dsr select:hover,.dsr textarea:hover{border-color:var(--dsr-green-600)}
.dsr input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):focus,
.dsr select:focus,.dsr textarea:focus{
  border-color:var(--dsr-green-600);
  background:#fff;
  box-shadow:0 0 0 3px rgba(7,61,38,.09);
}
.dsr .hint{margin-top:6px;color:var(--dsr-muted);font-size:10px;line-height:1.5}
.dsr .note,.dsr .formula{
  border:1px solid var(--dsr-line);
  border-radius:13px;
  background:var(--dsr-green-50);
  color:#405249;
  font-size:11px;
}
.dsr .note b,.dsr .formula b{color:var(--dsr-green-900)}
.dsr .note.alert,.dsr .guardrail{border-color:#e6bcb7;background:#fff3f1;color:#74352f}
.dsr .btn{
  min-height:44px;
  padding:10px 15px;
  border-radius:12px;
  font-size:12px;
  font-weight:750;
  transition:transform .15s ease,box-shadow .15s ease,background .15s ease;
}
.dsr .btn:hover{transform:translateY(-1px)}
.dsr .btn.primary{background:var(--dsr-green-800);color:#fff;box-shadow:0 8px 18px rgba(7,61,38,.16)}
.dsr .btn.primary:hover{background:var(--dsr-green-900)}
.dsr .btn.gold{background:var(--dsr-gold-500);color:var(--dsr-green-950)}
.dsr .btn.ghost{border:1px solid var(--dsr-line);background:#fff;color:var(--dsr-green-800)}
.dsr .btn.wa{background:#157347;color:#fff}
.dsr .btn.red{background:#fff1ef;color:var(--dsr-danger)}
.dsr .btnrow{gap:10px;margin-top:14px}
.dsr .switchLine,.dsr .dietMiniSwitch{min-height:50px;background:var(--dsr-green-50);border-color:var(--dsr-line)}
.dsr input[type="checkbox"],.dsr input[type="radio"]{accent-color:var(--dsr-green-700)}

/* Home */
.dsr .hero.workspaceHero.homeHeroClean.workspaceHeroCompact{
  --dsr-focus:var(--dsr-gold-500);
  min-height:250px!important;
  padding:30px!important;
  border:0;
  border-radius:24px;
  background:
    radial-gradient(900px 440px at 88% -10%,rgba(214,180,93,.28),transparent 56%),
    radial-gradient(720px 440px at 3% 110%,rgba(11,107,69,.5),transparent 60%),
    linear-gradient(155deg,var(--dsr-green-700),var(--dsr-green-900) 57%,var(--dsr-green-950))!important;
  color:#fff;
  box-shadow:0 24px 50px rgba(5,42,27,.16);
}
.dsr .workspaceHero .eyebrow{
  border-color:rgba(234,211,143,.32);
  background:rgba(214,180,93,.12);
  color:var(--dsr-gold-300);
  font-size:9px;
}
.dsr .homeHero.workspaceHeroCompact h1{
  max-width:650px!important;
  margin:17px 0 13px!important;
  color:#fff!important;
  font-size:clamp(34px,4vw,52px)!important;
  line-height:1.02!important;
  letter-spacing:-.06em!important;
  white-space:normal!important;
}
.dsr .homeHero.workspaceHeroCompact :where(.heroStatusLine span,.workspaceHeroChips span){color:#fff!important}
.dsr .homeHero.workspaceHeroCompact .heroStatusLine>span{color:#fff!important}
.dsr .homeHero.workspaceHeroCompact .heroStatusLine{border-top-color:rgba(255,255,255,.18)!important}
.dsr .homeHero.workspaceHeroCompact .heroStatusLine button{
  min-height:40px!important;
  padding:0 13px!important;
  border-color:var(--dsr-gold-500)!important;
  background:var(--dsr-gold-500)!important;
  color:var(--dsr-green-950)!important;
}
.dsr .homeHero.workspaceHeroCompact .workspaceHeroChips span{
  border-color:rgba(255,255,255,.14)!important;
  background:rgba(255,255,255,.08)!important;
}
.dsr .workspaceHero h1{max-width:620px;margin:17px 0 13px;font-size:clamp(34px,4vw,52px);letter-spacing:-.06em}
.dsr .workspaceHeroChips{gap:8px}
.dsr .workspaceHeroChips span{
  min-height:34px;
  padding:7px 12px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.07);
  color:#eef8f2;
}
.dsr .workspaceHeroChips span:last-child{display:none}
.dsr .heroStatusLine button{min-height:44px;background:var(--dsr-gold-500);color:var(--dsr-green-950)}
.dsr .workspaceLabel{margin:34px 0 16px}
.dsr .workspaceLabel span{color:var(--dsr-green-600);font-size:10px;letter-spacing:.12em}
.dsr .workspaceLabel h2{color:var(--dsr-green-900);font-size:28px;letter-spacing:-.04em}
.dsr .workspaceActionGrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.dsr .workspaceAction{
  min-height:210px;
  padding:20px;
  border:1px solid var(--dsr-line);
  border-radius:18px;
  background:#fff;
  box-shadow:var(--dsr-shadow-sm);
}
.dsr .workspaceAction:hover{transform:translateY(-2px);box-shadow:var(--dsr-shadow)}
.dsr .workspaceAction.actionRx{
  border:0;
  background:linear-gradient(150deg,var(--dsr-green-700),var(--dsr-green-900));
  color:#fff;
}
.dsr .workspaceAction.actionRx :where(.workspaceCopy b,.workspaceCopy small,.workspaceCopy em,.workspaceIcon,.workspaceWatermark){color:#fff}
.dsr .workspaceAction.actionDose{background:linear-gradient(145deg,var(--dsr-green-50),#fff)}
.dsr .workspaceAction.actionProducts{background:linear-gradient(145deg,#fffaf0,var(--dsr-gold-100))}
.dsr .workspaceAction.actionAssist{
  grid-column:1/-1;
  min-height:104px;
  display:grid;
  grid-template-columns:50px minmax(0,1fr);
  align-items:center;
  background:#fff;
}
.dsr .workspaceAction .workspaceIcon{width:48px;height:48px;border-radius:14px}
.dsr .workspaceCopy b{font-size:17px}
.dsr .workspaceCopy small{font-size:12px;line-height:1.55}
.dsr .workspaceCopy em{font-size:10px;letter-spacing:.08em}
.dsr .workspaceEvidenceGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dsr .workspaceEvidenceGrid a{min-height:92px;border-color:var(--dsr-line);border-radius:16px;box-shadow:var(--dsr-shadow-sm)}
.dsr .dsBusinessFlow{border-color:var(--dsr-line);border-radius:20px;background:#fff;box-shadow:var(--dsr-shadow-sm)}
.dsr .faqList details{border-color:var(--dsr-line-soft)}
.dsr .faqList summary{min-height:44px;color:var(--dsr-green-900)}

/* Prescription steps */
.dsr .dsr-rx-steps{
  position:sticky;
  top:16px;
  z-index:60;
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:8px;
  margin:0 0 18px;
  padding:8px;
  border:1px solid var(--dsr-line);
  border-radius:16px;
  background:rgba(246,250,247,.94);
  box-shadow:0 8px 24px rgba(5,42,27,.07);
  backdrop-filter:blur(14px);
}
.dsr .dsr-rx-step{
  min-height:52px;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  padding:8px 12px;
  border:1px solid transparent;
  border-radius:12px;
  background:transparent;
  color:var(--dsr-muted);
  font-size:11px;
  font-weight:700;
}
.dsr .dsr-rx-step span{
  width:28px;
  height:28px;
  flex:0 0 28px;
  display:grid;
  place-items:center;
  border-radius:9px;
  background:#fff;
  color:var(--dsr-green-800);
  box-shadow:inset 0 0 0 1px var(--dsr-line);
}
.dsr .dsr-rx-step[aria-pressed="true"]{
  border-color:var(--dsr-green-700);
  background:var(--dsr-green-800);
  color:#fff;
  box-shadow:0 8px 20px rgba(7,61,38,.16);
}
.dsr .dsr-rx-step[aria-pressed="true"] span{background:rgba(255,255,255,.15);color:#fff;box-shadow:none}
.dsr .dsr-step-hidden{display:none!important}
.dsr [data-dsr-rx-step-panel]{scroll-margin-top:140px}
.dsr [data-dsr-rx-step-panel]:focus{outline:none}
.dsr [data-dsr-rx-step-panel]:focus-visible{outline:3px solid var(--dsr-focus);outline-offset:4px}
.dsr .dsr-step-actions{
  display:flex;
  justify-content:space-between;
  gap:10px;
  margin:-2px 0 18px;
}
.dsr .dsr-step-actions button{
  min-height:44px;
  padding:10px 17px;
  border:1px solid var(--dsr-line);
  border-radius:12px;
  background:#fff;
  color:var(--dsr-green-800);
  font-weight:750;
}
.dsr .dsr-step-actions .dsr-next{margin-left:auto;border-color:var(--dsr-green-800);background:var(--dsr-green-800);color:#fff}
.dsr .dsr-grade-ui{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;min-height:46px}
.dsr .dsr-grade-ui input[type="range"]{
  --dsr-range-pct:22%;
  width:100%;
  height:12px;
  min-height:44px;
  margin:0;
  padding:0;
  border:0;
  border-radius:999px;
  background:transparent;
  box-shadow:none;
  accent-color:var(--dsr-green-700);
  cursor:pointer;
}
.dsr .dsr-grade-ui input[type="range"]::-webkit-slider-runnable-track{
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--dsr-green-600) 0%,#3f7a33 24%,var(--dsr-gold-300) 52%,#b8752f 76%,var(--dsr-danger) 100%);
}
.dsr .dsr-grade-ui input[type="range"]::-moz-range-track{
  height:10px;
  border-radius:999px;
  background:linear-gradient(90deg,var(--dsr-green-600) 0%,#3f7a33 24%,var(--dsr-gold-300) 52%,#b8752f 76%,var(--dsr-danger) 100%);
}
.dsr .dsr-grade-ui input[type="range"]::-webkit-slider-thumb{
  width:23px;
  height:23px;
  margin-top:-6px;
  border:3px solid #fff;
  border-radius:50%;
  background:var(--dsr-green-900);
  box-shadow:0 2px 8px rgba(5,42,27,.28);
  -webkit-appearance:none;
}
.dsr .dsr-grade-ui input[type="range"]::-moz-range-thumb{
  width:19px;
  height:19px;
  border:3px solid #fff;
  border-radius:50%;
  background:var(--dsr-green-900);
  box-shadow:0 2px 8px rgba(5,42,27,.28);
}
.dsr .dsr-grade-output{
  min-width:58px;
  padding:8px 9px;
  border:1px solid var(--dsr-line);
  border-radius:11px;
  background:var(--dsr-green-50);
  color:var(--dsr-green-900);
  font-size:12px;
  font-weight:800;
  text-align:center;
}

/* Tool-specific production content */
.dsr #p-quick,.dsr #p-rx,.dsr #p-assistant,.dsr #p-pi,.dsr #p-support{max-width:980px;margin-inline:auto}
.dsr #p-products{max-width:1080px;margin-inline:auto}
.dsr .protocolGrid{gap:9px}
.dsr .proto{min-height:74px;border-color:var(--dsr-line);background:#fff;color:var(--dsr-muted)}
.dsr .proto.on{background:var(--dsr-green-800);color:#fff;border-color:var(--dsr-green-800)}
.dsr .productSlots{gap:12px}
.dsr .productSlot{padding:14px;border-color:var(--dsr-line);border-radius:15px;background:#fbfdfc}
.dsr .productMini{background:var(--dsr-green-50)}
.dsr .doseOverview,.dsr .doseProduct,.dsr .dietRxCard,.dsr .dietPreview{border-color:var(--dsr-line);box-shadow:var(--dsr-shadow-sm)}
.dsr .doseProdHead{background:linear-gradient(135deg,var(--dsr-green-50),#fffaf0)}
.dsr .doseTable th,.dsr .piCartMatrix th{background:var(--dsr-green-900)}
.dsr .summaryGrid{gap:10px}
.dsr .metric{border-color:var(--dsr-line);border-radius:13px;background:#fff}
.dsr .metric.gold{border-color:#e3d099;background:#fff9e7}
.dsr .productsGrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.dsr .prod{padding:16px}
.dsr .prodTop{grid-template-columns:92px minmax(0,1fr);gap:14px}
.dsr .prod img{width:92px;height:106px}
.dsr .prod b{font-size:16px}
.dsr .prod p{font-size:11px;line-height:1.55}
.dsr .piSkuCards{gap:12px}
.dsr .piSkuCard{border-color:var(--dsr-line);border-radius:16px;box-shadow:none}
.dsr .piPrintOptions{border-color:var(--dsr-line);border-radius:14px;background:var(--dsr-green-50)}
.dsr .assistantResult.show{display:grid;gap:12px}
.dsr .assistBlock{border-color:var(--dsr-line);border-radius:14px;background:#fff}
.dsr .assistBlock.gold{background:#fff9e8}
.dsr .assistBlock.warn{background:#fff3f1}
.dsr .early{padding:18px;background:linear-gradient(135deg,var(--dsr-gold-100),#fff)}
.dsr .toast{bottom:28px;background:var(--dsr-green-900);font-size:11px}

/* Menu sheet */
.dsr .headerMenu{--dsr-focus:var(--dsr-green-900)}
.dsr .headerMenu.show{display:block}
.dsr .menuScrim{background:rgba(5,42,27,.48)}
.dsr .menuSheet{
  width:min(720px,calc(100vw - 32px));
  max-height:min(820px,calc(100vh - 72px));
  border:1px solid var(--dsr-line);
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 80px rgba(5,42,27,.28);
}
.dsr .menuHead h2{color:var(--dsr-green-900)}
.dsr .menuKicker,.dsr .menuLabel{color:var(--dsr-green-600)}
.dsr .menuClose{min-width:44px;min-height:44px;background:var(--dsr-green-50);color:var(--dsr-green-900)}
.dsr .clinicalMenu button,.dsr .clinicalMenu a,.dsr .resourceMenu a,.dsr .menuSupportGrid button{min-height:56px;border-color:var(--dsr-line);background:#fff}

/* Tablet: compact sticky rail */
@media (min-width:768px) and (max-width:1179px){
  .dsr .app{grid-template-columns:92px minmax(0,1fr)}
  .dsr .hdr{padding:16px 10px 12px}
  .dsr .brandBar{display:block;padding:0 0 14px;margin-bottom:12px;text-align:center}
  .dsr .brandLogo{justify-content:center;min-height:44px}
  .dsr .brandWord .brandEndo,.dsr .brandWord .brandCann{font-size:15px}
  .dsr .brandWord small{display:none}
  .dsr .orderBadge{margin:8px auto 0}
  .dsr .topActions .dsr-rail-label,.dsr .dsr-rail-scope{display:none}
  .dsr .topActions button{min-height:60px;display:flex;flex-direction:column;gap:3px;justify-content:center;padding:6px 3px;text-align:center}
  .dsr .topActions button b{font-size:8px;line-height:1.15}
  .dsr .topActions .railIcon{width:30px;height:30px}
  .dsr main{padding:28px 28px 64px}
  .dsr .workspaceActionGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dsr .workspaceAction.actionAssist{grid-column:1/-1}
  .dsr .workspaceAction.actionProducts{grid-column:auto}
  .dsr .dsr-rx-step{justify-content:center;padding-inline:7px;font-size:9px}
}

/* Mobile: brand header, bottom dock and modal menu */
@media (max-width:767px){
  body.dsr{background:var(--dsr-page)}
  .dsr .app{display:block;min-height:100vh;padding-bottom:calc(78px + var(--safe));overflow:hidden}
  .dsr .hdr{
    position:sticky;
    top:0!important;
    z-index:120;
    display:block;
    width:100%;
    height:auto;
    padding:9px 14px;
    overflow:visible;
    border-radius:0;
    background:linear-gradient(135deg,var(--dsr-green-800),var(--dsr-green-950));
    box-shadow:0 8px 24px rgba(5,42,27,.16);
  }
  .dsr .brandBar{grid-template-columns:minmax(0,1fr) 44px;margin:0;padding:0;border:0}
  .dsr .hdr .orderBadge{
    border-color:rgba(255,255,255,.16)!important;
    background:rgba(255,255,255,.09)!important;
    color:#fff!important;
  }
  .dsr .brandLogo.brandLogoClear{justify-self:start;justify-content:flex-start!important;text-align:left}
  .dsr .brandLogo.brandLogoClear .brandWord{margin:0}
  .dsr .brandWord .brandEndo,.dsr .brandWord .brandCann{font-size:20px}
  .dsr .brandWord small{font-size:6px}
  .dsr .orderBadge{width:44px;height:44px}
  .dsr .topActions,.dsr .dsr-rail-scope{display:none}
  .dsr main{width:100%;padding:24px 16px 54px}
  .dsr .sectionTitle{align-items:flex-start;margin-bottom:20px}
  .dsr .sectionTitle i{width:42px;height:42px;flex:0 0 42px}
  .dsr .sectionTitle h2{font-size:27px}
  .dsr .sectionTitle p{font-size:12px}
  .dsr .card{padding:17px;border-radius:16px}
  .dsr .cardHead{gap:8px}
  .dsr .cardHead b{font-size:15px}
  .dsr .row2,.dsr .row3{grid-template-columns:1fr;gap:13px}
  .dsr .workspaceHero{min-height:0;padding:24px 20px;border-radius:19px}
  .dsr .workspaceHero h1{font-size:34px}
  .dsr .workspaceHeroArt{display:none}
  .dsr .workspaceHeroChips{flex-wrap:wrap}
  .dsr .heroStatusLine{align-items:flex-start;gap:12px}
  .dsr .workspaceLabel{margin-top:28px}
  .dsr .workspaceLabel h2{font-size:25px}
  .dsr .workspaceActionGrid{grid-template-columns:1fr}
  .dsr .workspaceAction,.dsr .workspaceAction.actionAssist{grid-column:auto;min-height:150px}
  .dsr .workspaceAction.actionAssist{grid-template-columns:48px minmax(0,1fr);min-height:104px}
  .dsr .workspaceEvidenceGrid,.dsr .productsGrid{grid-template-columns:1fr}
  .dsr .dsBusinessFlow{padding:16px}
  .dsr .dsr-rx-steps{
    position:relative;
    top:auto;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    padding:0;
    border:0;
    background:transparent;
    box-shadow:none;
    backdrop-filter:none;
  }
  .dsr .dsr-rx-step{min-height:48px;padding:7px 9px;border-color:var(--dsr-line);background:#fff;font-size:10px}
  .dsr .dsr-step-actions{margin-top:-4px}
  .dsr .dsr-step-actions button{flex:1}
  .dsr .protocolGrid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .dsr .productSlot{padding:12px}
  .dsr .btnrow{grid-template-columns:1fr}
  .dsr .summaryGrid{grid-template-columns:1fr}
  .dsr .prodTop{grid-template-columns:82px minmax(0,1fr)}
  .dsr .prod img{width:82px;height:94px}
  .dsr .dockWrap{display:block;padding:0 8px calc(7px + var(--safe))}
  .dsr .dock{
    max-width:560px;
    grid-template-columns:repeat(6,1fr);
    padding:6px;
    border:1px solid var(--dsr-line);
    border-radius:17px;
    background:rgba(255,255,255,.96);
    box-shadow:0 14px 34px rgba(5,42,27,.18);
    backdrop-filter:blur(16px);
  }
  .dsr .dock button{min-height:52px;color:var(--dsr-muted);font-size:8px}
  .dsr .dock button.on{background:var(--dsr-green-50);color:var(--dsr-green-900);box-shadow:none}
  .dsr .dock button span{color:var(--dsr-green-700)}
  .dsr .headerMenu{
    position:fixed;
    inset:0;
    z-index:220;
    margin:0;
    padding:0;
    background:transparent;
  }
  .dsr .menuScrim{position:absolute;inset:0;width:100%;height:100%;border-radius:0}
  .dsr .menuSheet{
    position:absolute;
    left:0;
    right:0;
    bottom:0;
    width:100%;
    max-height:min(84vh,760px);
    padding-bottom:calc(16px + var(--safe));
    border-radius:24px 24px 0 0;
    overflow-y:auto;
    transform:none!important;
  }
  .dsr .clinicalMenu{grid-template-columns:1fr 1fr}
  .dsr .toast{bottom:88px;max-width:calc(100vw - 28px)}
}

@media (max-width:390px){
  .dsr main{padding-inline:12px}
  .dsr .brandBar{gap:7px}
  .dsr .brandWord .brandEndo,.dsr .brandWord .brandCann{font-size:18px}
  .dsr .workspaceHero h1{font-size:30px}
  .dsr .card{padding:15px}
  .dsr .dsr-rx-step{font-size:9px}
  .dsr .dsr-rx-step span{width:26px;height:26px;flex-basis:26px}
  .dsr .protocolGrid{grid-template-columns:1fr 1fr}
  .dsr .dock{gap:1px;padding-inline:4px}
  .dsr .dock button{font-size:7px}
}

/* Application chrome never participates in direct printing. The exported
   .rxSheet/.pdfExport rules remain owned by the production page. */
@media print{
  body.dsr{background:#fff}
  .dsr .hdr,.dsr .dockWrap,.dsr .dsr-rx-steps,.dsr .dsr-step-actions{display:none!important}
  .dsr .app{display:block;min-height:0;background:#fff}
  .dsr main{width:100%;max-width:none;padding:0}
  .dsr .dsr-step-hidden{display:block!important}
}

/* Clinical light system. Keep the legacy calculation and document markup intact. */
body.dsr{
  --dsr-green-950:#102d20;
  --dsr-green-900:#17442f;
  --dsr-green-800:#075a3b;
  --dsr-green-700:#087047;
  --dsr-green-600:#087047;
  --dsr-green-100:#e3eee7;
  --dsr-green-50:#f0f6f1;
  --dsr-gold-500:#e8cb75;
  --dsr-gold-300:#e8cb75;
  --dsr-gold-100:#fff5d8;
  --dsr-ink:#14261d;
  --dsr-muted:#465a50;
  --dsr-line:#cbd9cf;
  --dsr-line-soft:#e0e8e1;
  --dsr-control:#82978a;
  --dsr-page:#f6f8f5;
  --dsr-card:#fff;
  --dsr-focus:#075a3b;
  --dsr-shadow:0 14px 36px rgba(20,50,31,.09);
  --dsr-shadow-sm:0 4px 16px rgba(20,50,31,.055);
  background:var(--dsr-page);
  color:var(--dsr-ink);
  font-size:16px;
  line-height:1.55;
}
body.dsr .app{background:var(--dsr-page)}
body.dsr .hdr{
  --dsr-focus:#075a3b;
  background:#fff!important;
  border-right:1px solid var(--dsr-line-soft);
  box-shadow:3px 0 20px rgba(20,50,31,.035);
  color:var(--dsr-ink);
}
body.dsr .brandBar{border-bottom-color:var(--dsr-line-soft)}
body.dsr .brandLogo,
body.dsr .hdr .brandLogo.brandLogoClear .brandEndo{color:var(--dsr-green-900)!important}
body.dsr .brandLogo.brandLogoClear{width:100%!important;justify-self:start!important;justify-content:flex-start!important;text-align:left!important}
body.dsr .brandWord{width:100%!important;min-width:0}
body.dsr .brandWord .brandCann,
body.dsr .hdr .brandLogo.brandLogoClear .brandCann{color:#8a6418!important}
body.dsr .brandWord small,
body.dsr .hdr .brandLogo.brandLogoClear small{color:var(--dsr-muted)!important;font-size:11px!important;letter-spacing:.04em}
body.dsr .brandWord small{position:static!important;transform:none!important;white-space:normal!important;line-height:1.25}
body.dsr .orderBadge{
  width:48px;min-width:48px;height:48px;
  border:1px solid var(--dsr-line);background:var(--dsr-green-50);color:var(--dsr-green-900);
}
body.dsr .orderBadge b{background:var(--dsr-green-800);color:#fff;font-size:12px}
body.dsr .topActions{padding:0!important;border:0!important;background:none!important;box-shadow:none!important}
body.dsr .topActions .dsr-rail-label{color:#596d60;font-size:12px;letter-spacing:.06em}
body.dsr .topActions button{
  min-height:52px;border-color:transparent!important;background:transparent!important;
  color:var(--dsr-ink)!important;transition:background .18s ease,box-shadow .18s ease,transform .18s ease;
}
body.dsr .topActions button:hover{background:var(--dsr-green-50)!important;transform:translateX(2px)}
body.dsr .topActions button.on,
body.dsr .topActions button[aria-current="page"]{
  border-color:#bad5c4!important;background:#eaf4ed!important;color:var(--dsr-green-900)!important;
  box-shadow:inset 3px 0 0 var(--dsr-green-800)!important;
}
body.dsr .topActions button b{font-size:16px!important;font-weight:750}
body.dsr .topActions button .railIcon{background:#e8f1eb!important;color:var(--dsr-green-900)!important}
body.dsr .topActions button .ecRailIcon{color:var(--dsr-green-900)!important;stroke-width:2.2}
body.dsr .topActions button.on .railIcon{background:#d8eadf!important;color:var(--dsr-green-900)!important}
body.dsr .dsr-rail-scope{
  border-color:var(--dsr-line);background:var(--dsr-green-50);color:var(--dsr-muted);
  font-size:12px;line-height:1.45;
}
body.dsr .dsr-rail-scope{display:none!important}
body.dsr .dsr-rail-scope b{color:var(--dsr-green-900);font-size:12px;letter-spacing:.04em}
body.dsr main{width:min(1220px,100%);padding-block:34px 76px}
body.dsr .panel.on{animation:dsr-clinical-in .18s ease-out}
@keyframes dsr-clinical-in{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:translateY(0)}}
body.dsr .sectionTitle h2{color:var(--dsr-ink)}
body.dsr .sectionTitle p{color:var(--dsr-muted);font-size:15px!important}
body.dsr .sectionTitle i{box-shadow:none;border-color:var(--dsr-line);background:#fff}
body.dsr .card,body.dsr .prod,body.dsr .early{
  border-color:var(--dsr-line);background:#fff;box-shadow:var(--dsr-shadow-sm);
}
body.dsr .cardHead b{color:var(--dsr-ink);font-size:19px!important;line-height:1.35}
body.dsr .cardHead span{color:var(--dsr-muted);font-size:14px!important;line-height:1.45}
body.dsr .label,body.dsr .dietChoiceLabel{
  color:#263f30!important;font-size:14px!important;font-weight:750!important;
  letter-spacing:0!important;text-transform:none!important;
}
body.dsr .field input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),
body.dsr .field select,body.dsr .field textarea,
body.dsr .productSlot :is(input,select),body.dsr .piSkuQty input{
  min-height:48px;font-size:16px!important;font-weight:550;color:var(--dsr-ink);
}
body.dsr input::placeholder,body.dsr textarea::placeholder{color:#617468}
body.dsr .hint,body.dsr .card .note,body.dsr .card .formula,
body.dsr .guardrail,body.dsr .piTotalsFormula,
body.dsr .unitLegend,body.dsr .localRouteNotice{
  color:var(--dsr-muted);font-size:14px!important;line-height:1.55;
}
body.dsr .note.alert,body.dsr .guardrail{color:#74352f}
body.dsr .unitLegend span{font-size:14px!important;line-height:1.45;color:#604a15}
body.dsr .pill,body.dsr .contextTag,
body.dsr .routeBadge,body.dsr .unitChip,body.dsr .unitMini{
  color:var(--dsr-green-900);font-size:12px!important;line-height:1.3;
  letter-spacing:0;text-transform:none;
}
body.dsr .contextTag{padding:3px 7px;background:#e9f1eb}
body.dsr .btn{min-height:48px;font-size:16px!important;font-weight:750}
body.dsr .btn.primary{background:var(--dsr-green-800)!important;color:#fff!important}
body.dsr .btn.gold{background:var(--dsr-gold-500)!important;color:#352a0d!important}
body.dsr .btn.ghost{background:#fff!important;color:var(--dsr-green-900)!important;border-color:var(--dsr-line)!important}
body.dsr .btn.wa{background:#146b47!important;color:#fff!important}
body.dsr :where(button,a,summary){transition:background-color .18s ease,color .18s ease,border-color .18s ease,transform .18s ease,box-shadow .18s ease}
body.dsr :where(button,a,summary):focus-visible,
body.dsr :where(input,select,textarea):focus-visible{outline:3px solid var(--dsr-focus);outline-offset:3px}

/* A single action set on Home, followed by a quiet workflow reminder. */
body.dsr .hero.workspaceHero.homeHeroClean.workspaceHeroCompact{
  --dsr-focus:#075a3b;
  min-height:0!important;padding:28px 32px!important;
  border:1px solid #cbded0!important;border-radius:22px;
  background:linear-gradient(120deg,#fff 4%,#f2f7f1 65%,#fff9e9)!important;
  color:var(--dsr-ink);box-shadow:var(--dsr-shadow-sm);
}
body.dsr .workspaceHero .eyebrow{
  border-color:#d7e6d9!important;background:#edf4ee!important;color:var(--dsr-green-900)!important;
  font-size:12px!important;letter-spacing:.06em;
}
body.dsr .homeHero.workspaceHeroCompact h1{color:var(--dsr-ink)!important;font-size:clamp(30px,3.4vw,46px)!important;line-height:1.12!important}
body.dsr .homeHero.workspaceHeroCompact :where(.heroStatusLine span,.workspaceHeroChips span){color:var(--dsr-green-900)!important}
body.dsr .homeHero.workspaceHeroCompact .workspaceHeroChips span{
  border-color:#d4e4d7!important;background:#fff!important;font-size:13px!important;
}
body.dsr .homeHero.workspaceHeroCompact .heroStatusLine{border-top-color:#d8e5db!important}
body.dsr .homeHero.workspaceHeroCompact .heroStatusLine>span{color:var(--dsr-muted)!important;font-size:14px!important}
body.dsr .homeHero.workspaceHeroCompact .heroStatusLine button{
  min-height:44px!important;background:var(--dsr-green-800)!important;
  border-color:var(--dsr-green-800)!important;color:#fff!important;font-size:14px;
}
body.dsr .workspaceLabel{margin-top:30px}
body.dsr .workspaceLabel span{color:var(--dsr-green-900);font-size:12px!important}
body.dsr .workspaceLabel h2{color:var(--dsr-ink)}
body.dsr .workspaceAction{min-height:180px;background:#fff!important;border:1px solid var(--dsr-line)!important;box-shadow:var(--dsr-shadow-sm)}
body.dsr .workspaceAction:hover{transform:translateY(-2px)}
body.dsr .workspaceAction.actionRx{border-color:#a7cbb2!important;background:#edf6ef!important;color:var(--dsr-ink)!important}
body.dsr .workspaceAction.actionRx :where(.workspaceCopy b,.workspaceCopy small,.workspaceCopy em,.workspaceIcon,.workspaceWatermark){color:var(--dsr-green-900)!important}
body.dsr .workspaceAction.actionAssist{min-height:112px}
body.dsr .workspaceCopy b{color:var(--dsr-ink);font-size:19px!important}
body.dsr .workspaceCopy small{color:var(--dsr-muted);font-size:14px!important;line-height:1.45}
body.dsr .workspaceCopy em{color:var(--dsr-green-900);font-size:14px!important;letter-spacing:0}
body.dsr .clinicalPath{
  display:flex;flex-wrap:wrap;align-items:center;gap:9px 12px;
  margin:20px 0 28px;padding:15px 18px;border:1px solid var(--dsr-line);
  border-radius:15px;background:#fff;color:var(--dsr-muted);font-size:14px;
}
body.dsr .clinicalPath span{display:inline-flex;align-items:center;gap:7px;color:var(--dsr-ink);font-weight:650}
body.dsr .clinicalPath span b{display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#e5f0e8;color:var(--dsr-green-900);font-size:12px}
body.dsr .clinicalPath i{color:#82968a;font-style:normal}
body.dsr .clinicalPath small{flex-basis:100%;color:var(--dsr-muted);font-size:14px}
body.dsr .workspaceEvidenceGrid a{background:#fff;box-shadow:var(--dsr-shadow-sm)}
body.dsr .workspaceEvidenceGrid :is(b,small){font-size:14px!important}
body.dsr .faqList :is(summary,p){font-size:16px!important;line-height:1.5}

/* The prescription steps and feedback remain visible and precise. */
body.dsr .dsr-rx-steps{border-color:var(--dsr-line);background:#f7faf7}
body.dsr .dsr-rx-step{min-height:54px;color:var(--dsr-muted);font-size:16px!important;font-weight:700}
body.dsr .dsr-rx-step[aria-pressed="true"]{background:var(--dsr-green-800);color:#fff}
body.dsr .dsr-step-actions button{min-height:46px;font-size:16px}
body.dsr .dsr-grade-output{font-size:16px;min-width:72px}
body.dsr .dsr-field-error{margin:6px 0 0;color:#a1231b;font-size:14px;font-weight:650}
body.dsr [aria-invalid="true"]{border-color:#b3261e!important;box-shadow:0 0 0 3px rgba(179,38,30,.12)!important}
body.dsr .proto{min-height:72px;color:var(--dsr-ink);font-size:14px!important}
body.dsr .productSlot{background:#fff;border-color:var(--dsr-line)}
body.dsr .productMini :is(b,span),body.dsr .slotHead :is(b,span){font-size:14px!important;color:var(--dsr-ink)}
body.dsr .metric b,body.dsr .allocTotal{font-size:14px!important;color:var(--dsr-muted)}
body.dsr .metric span{font-size:19px!important;color:var(--dsr-ink)}
body.dsr .doseProdHead :is(b,span),body.dsr .doseTable :is(th,td,small),
body.dsr .doseSummary :is(th,td),body.dsr .piMatrix :is(th,td),
body.dsr .piCartMatrix :is(th,td){font-size:14px!important;line-height:1.45}
body.dsr .doseTable :is(th,td),body.dsr .piCartMatrix :is(th,td){padding:9px!important}
body.dsr .prod :is(b,p,.role),body.dsr .prodMeta span,
body.dsr .qtyRow :is(button,span),body.dsr .routeBadge,
body.dsr .piSkuCard :is(.piSkuTitleRow b,.piSkuDescription,.piSkuRole,.piPackBadge,.piStrengthHero,.piTotalMgChip,.piSkuMetric>span,.piSkuMetric small,.piSkuMetric strong,.piSkuAmount strong,.piSkuQtyWrap>span,.piRequestNotice),
body.dsr .piSelectedCard :is(b,small,span),body.dsr .piProductCell :is(b,small),
body.dsr .piStrengthCell :is(b,small),body.dsr .piProdDesc,
body.dsr .piPrice,body.dsr .piPrintOption :is(b,small){
  font-size:14px!important;line-height:1.4;color:var(--dsr-ink);
}
body.dsr .piSkuCard .piSkuTitleRow b,body.dsr .prod b{font-size:17px!important}
body.dsr .piMatrixNote,body.dsr .piMatrixNote b,
body.dsr .piSelectedTitle :is(b,span),
body.dsr .piPrintOptionsHead :is(b,span){font-size:14px!important;line-height:1.45;color:var(--dsr-ink)}
body.dsr .switchLine label,body.dsr #p-support .early p,
body.dsr #p-support .note b{font-size:14px!important;line-height:1.45}
body.dsr .dietIntro,body.dsr .dietIntro b,
body.dsr .dietMiniSwitch div span{font-size:14px!important;line-height:1.5;color:var(--dsr-muted)}
body.dsr .dietIntro b{color:var(--dsr-green-900)}
body.dsr .dietToggle,body.dsr .dietPattern span,
body.dsr .dietMiniSwitch div b{font-size:16px!important;line-height:1.4;color:var(--dsr-ink)}
body.dsr .dietGrid :is(select,textarea){font-size:16px!important}
body.dsr .dietPreviewHead b{font-size:18px!important;line-height:1.3}
body.dsr .dietPreviewHead span:not(.dietEvidenceTier){font-size:14px!important;line-height:1.45}
body.dsr .dietEvidenceTier{font-size:12px!important;line-height:1.3}
body.dsr .dietSecLabel{font-size:14px!important;line-height:1.4;letter-spacing:.03em}
body.dsr .dietGoal,body.dsr .dietPriority,body.dsr .dietMeal span,
body.dsr .dietCaution,body.dsr .dietEvidence :is(summary,a){
  font-size:16px!important;line-height:1.5;color:var(--dsr-ink)
}
body.dsr .dietMeal b{font-size:14px!important;color:#614d0d}
body.dsr .dietCaution b{font-size:16px!important;color:#614d0d}
body.dsr .piSkuCard .piSkuDescription{display:block;-webkit-line-clamp:unset;overflow:visible;color:var(--dsr-muted)}
body.dsr .piSkuQty button,body.dsr .qtyBox button{min-width:44px;min-height:44px}
body.dsr .piSkuCommerce{grid-template-columns:minmax(95px,1fr) auto minmax(95px,1fr)}
body.dsr .piSkuQty{grid-template-columns:44px 50px 44px}
body.dsr .piSkuQty input{width:50px}
body.dsr .empty,body.dsr .assistantResult,body.dsr .assistBlock{font-size:16px;line-height:1.5}
body.dsr .toast{font-size:14px;background:var(--dsr-green-900);animation:dsr-clinical-in .18s ease-out}
body.dsr .menuSheet{border-color:var(--dsr-line);box-shadow:var(--dsr-shadow)}
body.dsr .headerMenu.show .menuSheet{animation:dsr-clinical-in .18s ease-out}
body.dsr .menuHead :is(h2,p),body.dsr .menuKicker,body.dsr .menuLabel,
body.dsr .clinicalMenu :is(b,small),body.dsr .resourceMenu :is(b,small),
body.dsr .menuSupportGrid :is(b,small),body.dsr .menuFooter :is(b,small){font-size:16px!important;line-height:1.4}
body.dsr .menuHead h2{font-size:24px!important}

/* Screen preview, A4 print, and html2pdf share one legible document scale. */
body.dsr .rxSheet{color:var(--dsr-ink);font-size:14px;line-height:1.45}
body.dsr .rxSheet :is(.rxDoctor span,.rxItem span,.rxBullet li,.rxIn,.rxFootNote,.rxBrandSupport,.rxLineTreatment,.piProdDesc,.piBrochureField span,.rxDietPriority,.rxDietCaution,.rxDietSource){font-size:13px!important;line-height:1.45}
body.dsr .rxSheet :is(.rxSection h3,.doseSummary th,.doseSummary td,.doseTable th,.doseTable td,.piCartMatrix th,.piCartMatrix td,.piBrochurePackRow strong,.rxDietMeals th,.rxDietMeals td){font-size:12px!important;line-height:1.4}
body.dsr .rxSheet :is(.rxHeaderKicker,.rxHeaderBrand small,.rxHeaderMetaAudit,.rxItem b,.rxBrandSupport b,.rxUnitNotice b,.doseSummary td small,.rxFollow b,.rxFollow span){font-size:12px!important;line-height:1.4}
body.dsr .rxSheet .rxHeaderDoctor p{font-size:13px!important;line-height:1.4}
body.dsr .rxSheet .rxItem b{font-size:12px!important}
body.dsr .rxSheet .rxUnitNotice{font-size:13px!important;line-height:1.45}
body.dsr .rxSheet :is(.doseSummary td b,.rxDietMetric b,.rxDietMetric span,.sig span){font-size:12px!important;line-height:1.4}
body.dsr .rxSheet :is(.rxLogo small,.rxMeta,.piProductCell b,.piProductCell small,.piPrintProduct small,.piStrengthCell b,.piStrengthCell small,.piStrengthCell span,.piBrochureHeader small,.piBrochureHeader p,.piBrochureTop span,.piBrochureTop small,.piBrochurePackRow b,.piBrochurePackRow strong,.piBrochureSection b,.piBrochureSection p,.piBrochureField b,.piBrochureField span,.piBrochureDisclaimer){font-size:12px!important;line-height:1.4}
body.dsr .rxSheet.pdfExport{font-size:10pt!important;line-height:1.42!important}
body.dsr .rxSheet.pdfExport :is(.rxDoctor span,.rxItem span,.rxBullet li,.rxIn,.rxBrandSupport,.rxLineTreatment,.piProdDesc,.piBrochureField span,.rxDietPriority,.rxDietCaution){font-size:9.5pt!important;line-height:1.4!important}
body.dsr .rxSheet.pdfExport :is(.rxSection h3,.doseSummary th,.doseSummary td,.doseTable th,.doseTable td,.piCartMatrix th,.piCartMatrix td,.piBrochurePackRow strong,.rxDietMeals th,.rxDietMeals td){font-size:9pt!important;line-height:1.35!important;padding:5px!important}
body.dsr .rxSheet.pdfExport :is(.rxFootNote,.rxDietSource,.rxHeaderKicker,.rxHeaderMetaAudit,.piBrochurePackRow b){font-size:8.5pt!important;line-height:1.35!important}
body.dsr .rxSheet.pdfExport :is(.rxHeaderBrand small,.rxItem b,.rxUnitNotice b,.doseSummary td small,.rxFollow b,.rxFollow span){font-size:8.5pt!important;line-height:1.35!important}
body.dsr .rxSheet.pdfExport .rxHeaderDoctor p{font-size:9pt!important;line-height:1.35!important}
body.dsr .rxSheet.pdfExport .rxUnitNotice{font-size:9.5pt!important;line-height:1.4!important}
body.dsr .rxSheet.pdfExport :is(.doseSummary td b,.rxDietMetric b,.rxDietMetric span,.sig span,.doseProdHead b,.doseProdHead span,.doseTable small,.doseAlert,.doseAlert b,.rxBadge){font-size:8.5pt!important;line-height:1.35!important}
body.dsr .rxSheet.pdfExport :is(.rxLogo small,.rxMeta,.piProductCell b,.piProductCell small,.piPrintProduct small,.piStrengthCell b,.piStrengthCell small,.piStrengthCell span,.piBrochureHeader small,.piBrochureHeader p,.piBrochureTop span,.piBrochureTop small,.piBrochurePackRow b,.piBrochurePackRow strong,.piBrochureSection b,.piBrochureSection p,.piBrochureField b,.piBrochureField span,.piBrochureDisclaimer){font-size:8.5pt!important;line-height:1.35!important}
body.dsr .rxSheet.pdfExport :is(.rxDoctor,.rxSection,.doseProduct,.piBrochureCard,.piBrochurePackRow,.piCartMatrix tr,.doseTable tr){break-inside:avoid;page-break-inside:avoid}
body.dsr .rxSheet.pdfExport :is(.doseSummary thead,.doseTable thead,.piCartMatrix thead){display:table-header-group!important}

@media (max-width:1000px){
  body.dsr .app{display:grid;grid-template-columns:minmax(0,1fr)!important;padding-bottom:calc(90px + var(--safe))}
  body.dsr .hdr{position:sticky;top:0;grid-column:1!important;display:block;width:100%!important;height:auto;padding:10px 16px!important;overflow:visible;border-right:0;border-bottom:1px solid var(--dsr-line-soft);border-radius:0;box-shadow:0 4px 18px rgba(20,50,31,.06)}
  body.dsr .brandBar{display:grid;grid-template-columns:minmax(0,1fr) 48px;gap:10px;align-items:center;margin:0;padding:0;border:0;text-align:left}
  body.dsr .brandWord .brandEndo,body.dsr .brandWord .brandCann{font-size:21px}
  body.dsr .topActions{display:none!important}
  body.dsr .dockWrap{display:block!important}
  body.dsr .headerMenu{position:fixed;inset:0;z-index:220;margin:0;padding:0;background:transparent}
  body.dsr .menuScrim{position:absolute;inset:0;width:100%;height:100%;border-radius:0}
  body.dsr .menuSheet{position:absolute;left:0;right:0;bottom:0;width:100%;max-height:min(84vh,760px);padding-bottom:calc(16px + var(--safe));border-radius:24px 24px 0 0;overflow-y:auto}
  body.dsr main{grid-column:1!important;width:100%!important;max-width:100%!important;padding:18px 14px 95px!important}
  body.dsr .sectionTitle h2{font-size:27px}
  body.dsr .card{padding:18px}
  body.dsr .hero.workspaceHero.homeHeroClean.workspaceHeroCompact{padding:23px 20px!important}
  body.dsr .workspaceAction{min-height:135px}
  body.dsr .workspaceAction.actionAssist{min-height:110px}
  body.dsr .clinicalPath{gap:8px;padding:13px}
  body.dsr .clinicalPath i{display:none}
  body.dsr .clinicalPath span{width:100%}
  body.dsr .dsr-rx-step{font-size:16px!important}
  body.dsr .dock{grid-template-columns:repeat(5,minmax(0,1fr));max-width:600px}
  body.dsr .dock button{min-height:61px;font-size:16px!important;font-weight:700;letter-spacing:-.035em;background:#fff!important;color:var(--dsr-muted)!important;box-shadow:none!important}
  body.dsr .dock button.on{background:#e6f1e9!important;color:var(--dsr-green-900)!important}
  body.dsr .dock button span{background:transparent!important;color:var(--dsr-green-900)!important}
  body.dsr .dock button.on .ecDockIcon{color:var(--dsr-green-900)!important;stroke-width:2.2;filter:none!important}
  body.dsr .doseSummary td::before,body.dsr .doseTable td::before,
  body.dsr .piMatrix td::before,body.dsr .piCartMatrix td::before{font-size:12px!important;color:var(--dsr-muted)}
  body.dsr .piSkuCommerce{grid-template-columns:1fr auto;gap:12px}
  body.dsr .piSkuMetric.piSkuCost{grid-column:1}
  body.dsr .piSkuQtyWrap{grid-column:2;grid-row:1/3}
  body.dsr .piSkuAmount{grid-column:1;text-align:left}
  body.dsr .dietMeal{grid-template-columns:28px minmax(0,1fr)}
  body.dsr .dietMeal span{grid-column:2}
}
@media (max-width:390px){
  body.dsr .brandWord .brandEndo,body.dsr .brandWord .brandCann{font-size:19px}
  body.dsr .dsr-rx-step{font-size:16px!important}
  body.dsr .dock button{font-size:16px!important}
  body.dsr .piSkuQty{grid-template-columns:44px 46px 44px}
  body.dsr .piSkuQty input{width:46px}
}
@media (prefers-reduced-motion:reduce){
  body.dsr *,body.dsr *::before,body.dsr *::after{
    scroll-behavior:auto!important;animation-duration:.01ms!important;
    animation-iteration-count:1!important;transition-duration:.01ms!important;
  }
}
@media print{
  @page{size:A4;margin:12mm}
  body.dsr.printDocument{background:#fff!important}
  body.dsr .rxSheet,body.dsr.printDocument .rxSheet{width:100%!important;max-width:none!important;border:0!important;box-shadow:none!important;font-size:10pt!important;line-height:1.42!important}
  body.dsr .rxSheet :is(.rxDoctor span,.rxItem span,.rxBullet li,.rxIn,.rxBrandSupport,.rxLineTreatment,.piProdDesc,.piBrochureField span,.rxDietPriority,.rxDietCaution),
  body.dsr.printDocument .rxSheet :is(.rxDoctor span,.rxItem span,.rxBullet li,.rxIn,.rxBrandSupport,.rxLineTreatment,.piProdDesc,.piBrochureField span,.rxDietPriority,.rxDietCaution){font-size:9.5pt!important;line-height:1.4!important}
  body.dsr .rxSheet :is(.rxSection h3,.doseSummary th,.doseSummary td,.doseTable th,.doseTable td,.piCartMatrix th,.piCartMatrix td,.piBrochurePackRow strong,.rxDietMeals th,.rxDietMeals td),
  body.dsr.printDocument .rxSheet :is(.rxSection h3,.doseSummary th,.doseSummary td,.doseTable th,.doseTable td,.piCartMatrix th,.piCartMatrix td,.piBrochurePackRow strong,.rxDietMeals th,.rxDietMeals td){font-size:9pt!important;line-height:1.35!important;padding:5px!important}
  body.dsr .rxSheet :is(.rxFootNote,.rxDietSource,.rxHeaderKicker,.rxHeaderMetaAudit,.piBrochurePackRow b),
  body.dsr.printDocument .rxSheet :is(.rxFootNote,.rxDietSource,.rxHeaderKicker,.rxHeaderMetaAudit,.piBrochurePackRow b){font-size:8.5pt!important;line-height:1.35!important}
  body.dsr .rxSheet :is(.rxHeaderBrand small,.rxItem b,.rxUnitNotice b,.doseSummary td small,.rxFollow b,.rxFollow span),
  body.dsr.printDocument .rxSheet :is(.rxHeaderBrand small,.rxItem b,.rxUnitNotice b,.doseSummary td small,.rxFollow b,.rxFollow span){font-size:8.5pt!important;line-height:1.35!important}
  body.dsr .rxSheet .rxHeaderDoctor p,body.dsr.printDocument .rxSheet .rxHeaderDoctor p{font-size:9pt!important;line-height:1.35!important}
  body.dsr .rxSheet .rxUnitNotice,body.dsr.printDocument .rxSheet .rxUnitNotice{font-size:9.5pt!important;line-height:1.4!important}
  body.dsr .rxSheet :is(.doseSummary td b,.rxDietMetric b,.rxDietMetric span,.sig span,.doseProdHead b,.doseProdHead span,.doseTable small,.doseAlert,.doseAlert b,.rxBadge),
  body.dsr.printDocument .rxSheet :is(.doseSummary td b,.rxDietMetric b,.rxDietMetric span,.sig span,.doseProdHead b,.doseProdHead span,.doseTable small,.doseAlert,.doseAlert b,.rxBadge){font-size:8.5pt!important;line-height:1.35!important}
  body.dsr .rxSheet :is(.rxLogo small,.rxMeta,.piProductCell b,.piProductCell small,.piPrintProduct small,.piStrengthCell b,.piStrengthCell small,.piStrengthCell span,.piBrochureHeader small,.piBrochureHeader p,.piBrochureTop span,.piBrochureTop small,.piBrochurePackRow b,.piBrochurePackRow strong,.piBrochureSection b,.piBrochureSection p,.piBrochureField b,.piBrochureField span,.piBrochureDisclaimer),
  body.dsr.printDocument .rxSheet :is(.rxLogo small,.rxMeta,.piProductCell b,.piProductCell small,.piPrintProduct small,.piStrengthCell b,.piStrengthCell small,.piStrengthCell span,.piBrochureHeader small,.piBrochureHeader p,.piBrochureTop span,.piBrochureTop small,.piBrochurePackRow b,.piBrochurePackRow strong,.piBrochureSection b,.piBrochureSection p,.piBrochureField b,.piBrochureField span,.piBrochureDisclaimer){font-size:8.5pt!important;line-height:1.35!important}
  body.dsr .rxSheet :is(.rxDoctor,.rxSection,.doseProduct,.piBrochureCard,.piBrochurePackRow,.piCartMatrix tr,.doseTable tr){break-inside:avoid;page-break-inside:avoid}
  body.dsr .rxSheet :is(.doseSummary thead,.doseTable thead,.piCartMatrix thead){display:table-header-group!important}
}
