/* resources tab: Shield Command styles for this tab only (shared pieces live in practice.css). */
/* Also the Patient Drop Request page (dr-), which lives next to Resources in Shield Command. */

/* Bootstrap gives headings, paragraphs and lists their own margins; Shield Command's Tailwind base has none. */
.rs-root :where(h2, h3, p, ul), .dr-root :where(h2, p, fieldset) { margin: 0; }
.rs-root :where(ul) { padding: 0; list-style: none; }
.rs-root { overflow-wrap: anywhere; }

/* ── Shared hero card (Program FAQs, How It Works) ─────────────────────────── */
.rs-hero { padding: 1.5rem; }
@media (min-width: 768px) { .rs-hero { padding: 2rem; } }
.rs-hero.violet { border-color: #ede9fe; background: linear-gradient(to bottom right, #f5f3ff, #fff); }
.rs-hero.sky { border-color: #e0f2fe; background: linear-gradient(to bottom right, #f0f9ff, #fff); }
.rs-hero-row { display: flex; align-items: flex-start; gap: 1rem; }
.rs-hero-row.wrap { flex-wrap: wrap; }
.rs-hero-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  border-radius: 1rem;
  color: #fff;
  font-size: 1.5rem;
}
.rs-hero.violet .rs-hero-icon { background: #7c3aed; }
.rs-hero.sky .rs-hero-icon { background: #0284c7; }
.rs-hero-text { min-width: 0; flex: 1 1 12rem; }
.rs-hero h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; letter-spacing: -.025em; }
.rs-hero p { max-width: 42rem; margin-top: .25rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted); }

/* ── Program FAQs: outer section accordions holding shadcn-style question accordions ── */
.rs-stack-6 > * + * { margin-top: 1.5rem; }
.rs-stack-8 > * + * { margin-top: 2rem; }
.rs-stack-4 > * + * { margin-top: 1rem; }
.rs-faq-sections > * + * { margin-top: .75rem; }

.rs-root summary { list-style: none; cursor: pointer; }
.rs-root summary::-webkit-details-marker { display: none; }
.rs-chevron { flex-shrink: 0; font-size: 1rem; transition: transform .2s; }
details[open] > summary > .rs-chevron { transform: rotate(180deg); }

.rs-faq-section {
  overflow: hidden;
  border: 1px solid #e2e8f0;
  border-radius: .75rem;
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.rs-faq-section > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 0;
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 500;
  transition: all .15s;
}
.rs-faq-section > summary:hover { background: rgb(240 253 250 / .7); }
.rs-faq-section > summary:focus-visible { outline: none; box-shadow: inset 0 0 0 2px var(--primary); }
.rs-faq-head { display: flex; align-items: center; gap: .75rem; min-width: 0; padding-right: .75rem; }
.rs-faq-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: .5rem;
  background: #0d9488;
  color: #fff;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.rs-faq-title { display: block; font-size: 1rem; line-height: 1.5rem; font-weight: 700; color: #0f172a; }
.rs-faq-count { display: block; margin-top: .125rem; font-size: .75rem; line-height: 1rem; font-weight: 500; color: var(--muted); }
.rs-faq-body { padding: .25rem 1.25rem .75rem; border-top: 1px solid #f1f5f9; font-size: .875rem; line-height: 1.25rem; }

.rs-faq-item { border-bottom: 1px solid var(--line); }
.rs-faq-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  text-align: left;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 500;
  transition: all .15s;
}
.rs-faq-item > summary:hover { text-decoration: underline; }
.rs-faq-item > summary:focus-visible { outline: none; box-shadow: var(--ring); }
.rs-faq-answer { padding-bottom: 1rem; font-size: .875rem; line-height: 1.625; color: var(--muted); }

/* ── How It Works: enrollment & consent workflow ───────────────────────────── */
.rs-workflow-head { margin-bottom: 1rem; }
.rs-workflow-head h3 { font-size: 1rem; line-height: 1.5rem; font-weight: 600; letter-spacing: -.025em; }
.rs-workflow-head p { max-width: 48rem; margin-top: .25rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted); }

.rs-pills { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.25rem; }
.rs-pill {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .375rem .75rem;
  border: 1px solid rgb(153 246 228 / .8);
  border-radius: 9999px;
  background: rgb(240 253 250 / .8);
  color: #115e59;
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 600;
}
.rs-pill [class*="icon-"] { font-size: .875rem; }

/* Four phases: stacked with down arrows on small screens, one row with right arrows from lg */
.rs-phases { display: flex; flex-direction: column; gap: .75rem; }
@media (min-width: 1024px) { .rs-phases { flex-direction: row; align-items: stretch; } }

.rs-phase {
  display: flex;
  flex: 1 1 0%;
  flex-direction: column;
  min-width: 0;
  padding: .75rem;
  border: 1px solid rgb(226 232 240 / .8);
  border-radius: 1rem;
  background: rgb(248 250 252 / .6);
}
.rs-phase.safeguard { border: 2px solid #c4b5fd; background: rgb(245 243 255 / .6); box-shadow: var(--shadow-sm); }
.rs-phase-head { margin-bottom: .75rem; }
.rs-phase-title { display: flex; align-items: center; gap: .5rem; }
.rs-phase-label { font-size: .75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; }
.rs-phase-desc { margin-top: .375rem; font-size: 11px; line-height: 1.375; color: var(--muted); }
.rs-safeguard-pill {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  flex-shrink: 0;
  margin-left: auto;
  padding: .125rem .5rem;
  border-radius: 9999px;
  background: #7c3aed;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
}
.rs-safeguard-pill [class*="icon-"] { font-size: .75rem; }

/* Colored icon squares: phase header (h-7) and step cards (h-8) */
.rs-node {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border-radius: .5rem;
  color: #fff;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
}
.rs-node.sm { width: 1.75rem; height: 1.75rem; }
.rs-node.md { width: 2rem; height: 2rem; }

.rs-steps { display: flex; flex-direction: column; gap: .625rem; }
.rs-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .375rem;
  height: 100%;
  padding: .75rem;
  border-radius: .75rem;
  background: rgb(255 255 255 / .8);
  box-shadow: 0 0 0 1px rgb(226 232 240 / .7);
}
.rs-phase.safeguard .rs-step { box-shadow: 0 0 0 1px rgb(221 214 254 / .7); }
.rs-step-top { display: flex; align-items: center; gap: .5rem; min-width: 0; }
.rs-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 1.25rem;
  min-width: 1.25rem;
  padding: 0 .375rem;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 700;
}
.rs-step-badge {
  display: inline-flex;
  align-items: center;
  margin-left: auto;
  padding: .125rem .5rem;
  border-radius: 9999px;
  background: #f1f5f9;
  color: #334155;
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}
.rs-step-badge.consent { background: #ccfbf1; color: #115e59; }
.rs-step-badge.recorded { background: #e0f2fe; color: #075985; }
.rs-step-badge.review { background: #ede9fe; color: #5b21b6; }
.rs-step-badge.qa { background: #fef3c7; color: #92400e; }
.rs-step-title { font-size: .875rem; line-height: 1.375; font-weight: 600; }
.rs-step-text { font-size: .75rem; line-height: 1.625; color: var(--muted); }

/* Phase accents (Shield Command's PHASE_ACCENTS) */
.rs-phase.blue .rs-node { background: #0284c7; }
.rs-phase.blue .rs-phase-label { color: #075985; }
.rs-phase.blue .rs-step-num { background: #e0f2fe; color: #0369a1; }
.rs-phase.teal .rs-node { background: #0d9488; }
.rs-phase.teal .rs-phase-label { color: #115e59; }
.rs-phase.teal .rs-step-num { background: #ccfbf1; color: #0f766e; }
.rs-phase.violet .rs-node { background: #7c3aed; }
.rs-phase.violet .rs-phase-label { color: #5b21b6; }
.rs-phase.violet .rs-step-num { background: #ede9fe; color: #6d28d9; }
.rs-phase.green .rs-node { background: #059669; }
.rs-phase.green .rs-phase-label { color: #065f46; }
.rs-phase.green .rs-step-num { background: #d1fae5; color: #047857; }

/* Consent checklist sits under the Consent Documented step */
.rs-checklist { padding: .75rem; border: 1px dashed rgb(94 234 212 / .8); border-radius: .75rem; background: rgb(240 253 250 / .7); }
.rs-checklist-head { display: flex; align-items: center; gap: .5rem; margin-bottom: .5rem; }
.rs-checklist-head [class*="icon-"] { flex-shrink: 0; font-size: 1rem; color: #0d9488; }
.rs-checklist-head p { font-size: .75rem; line-height: 1rem; font-weight: 700; text-transform: uppercase; letter-spacing: .025em; color: #115e59; }
.rs-checklist li { display: flex; align-items: flex-start; gap: .375rem; font-size: 11px; line-height: 1.375; color: var(--muted); }
.rs-checklist li + li { margin-top: .25rem; }
.rs-checklist li [class*="icon-"] { flex-shrink: 0; margin-top: .125rem; font-size: .75rem; color: #0d9488; vertical-align: 0; }

.rs-connector { display: flex; align-items: center; justify-content: center; flex-shrink: 0; align-self: center; padding: .125rem 0; }
@media (min-width: 1024px) { .rs-connector { flex-direction: column; padding: 0; } }
.rs-connector span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 9999px;
  background: #fff;
  color: #94a3b8;
  font-size: .875rem;
  box-shadow: var(--shadow-sm);
}
.rs-connector .icon-arrow-right { display: none; }
@media (min-width: 1024px) {
  .rs-connector .icon-arrow-down { display: none; }
  .rs-connector .icon-arrow-right { display: inline-block; }
}

.rs-checkpoint {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1rem;
  padding: .75rem 1rem;
  border: 1px solid #6ee7b7;
  border-radius: .75rem;
  background: #ecfdf5;
  box-shadow: var(--shadow-sm);
}
.rs-checkpoint .rs-node { background: #059669; box-shadow: none; }
.rs-checkpoint-text { min-width: 0; }
.rs-checkpoint-text p:first-child { font-size: .875rem; line-height: 1.25rem; font-weight: 700; color: #065f46; }
.rs-checkpoint-text p + p { font-size: .75rem; line-height: 1.375; color: rgb(4 120 87 / .8); }
.rs-note { margin-top: 1rem; font-size: .75rem; line-height: 1rem; font-style: italic; color: var(--muted); }

/* Sample scripts */
.rs-scripts-label { margin-bottom: .75rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: var(--muted); }
.rs-scripts { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; }
@media (min-width: 1280px) { .rs-scripts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.rs-script { padding: 1.25rem; }
@media (min-width: 768px) { .rs-script { padding: 1.5rem; } }
.rs-script > * + * { margin-top: .75rem; }
.rs-script-head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; }
.rs-script-name { display: flex; align-items: center; gap: .5rem; font-size: .875rem; line-height: 1.25rem; font-weight: 600; }
.rs-script-name [class*="icon-"] { font-size: 1rem; color: #7c3aed; }
/* shadcn Badge, secondary variant */
.rs-badge {
  display: inline-flex;
  align-items: center;
  padding: .125rem .625rem;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  background: #f1f5f9;
  color: #0f172a;
  font-size: .75rem;
  line-height: 1rem;
  font-weight: 600;
  transition: background-color .15s;
}
.rs-badge:hover { background: rgb(241 245 249 / .8); }
.rs-script-lines > * + * { margin-top: .625rem; }
.rs-script-line { display: flex; gap: .5rem; font-size: .875rem; line-height: 1.625; color: var(--muted); }
.rs-script-line [class*="icon-"] { flex-shrink: 0; margin-top: .25rem; font-size: .875rem; color: #a78bfa; vertical-align: 0; }
.rs-script-line p { font-style: italic; }
.rs-scripts-note { margin-top: .5rem; font-size: .75rem; line-height: 1rem; color: var(--muted); }

/* ── CCM Compliance ────────────────────────────────────────────────────────── */
.rs-compliance-head { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; min-width: 0; }
.rs-compliance-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border-radius: .75rem;
  background: #0d9488;
  color: #fff;
  font-size: 1.125rem;
}
.rs-compliance-title { min-width: 0; }
.rs-compliance-head h2 { font-size: 1.125rem; line-height: 1.25; font-weight: 700; letter-spacing: -.025em; }
.rs-compliance-head p { font-size: .75rem; line-height: 1rem; color: var(--muted); }

/* Filled star (Lucide's Star with fill), which the outline icon font can't draw */
.rs-star {
  display: inline-block;
  flex-shrink: 0;
  width: .875rem;
  height: .875rem;
  vertical-align: -2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23f59e0b' stroke='%23f59e0b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.rs-star.xs { width: .75rem; height: .75rem; }
.rs-star.light {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fcd34d' stroke='%23fcd34d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z'/%3E%3C/svg%3E");
}

/* Requirements card. No overflow:hidden (unlike Shield Command's Card) so the hover cards can hang
   below it; the banner and body round their own corners instead. */
.rs-req-card { border-color: #ccfbf1; }
.rs-req-banner { padding: 1rem; border-radius: calc(.5rem - 1px) calc(.5rem - 1px) 0 0; background: #0d9488; }
@media (min-width: 768px) { .rs-req-banner { padding: 1rem 1.5rem; } }
.rs-req-banner-row { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; }
.rs-req-count {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  padding: .375rem .75rem;
  border-radius: 9999px;
  background: rgb(255 255 255 / .15);
  color: #fff;
  font-size: .875rem;
  line-height: 1.25rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.rs-req-count [class*="icon-"] { font-size: 1rem; }
.rs-req-banner-text { min-width: 0; }
.rs-req-banner-text p:first-child { font-size: .875rem; line-height: 1.375; font-weight: 600; color: #fff; }
.rs-req-banner-text p + p { margin-top: .125rem; font-size: .75rem; line-height: 1rem; color: #ccfbf1; }
.rs-req-body { padding: 1rem; border-radius: 0 0 calc(.5rem - 1px) calc(.5rem - 1px); background: rgb(240 253 250 / .4); }
@media (min-width: 768px) { .rs-req-body { padding: 1.25rem; } }
.rs-req-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .5rem; }
@media (min-width: 640px) { .rs-req-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .rs-req-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* One requirement chip plus its hover card. Pure CSS: opens on hover or keyboard focus (and on tap,
   which focuses the button), with Shield Command's 150ms open / 100ms close delays. */
.rs-req { position: relative; }
.rs-req-chip {
  display: flex;
  align-items: center;
  gap: .625rem;
  width: 100%;
  padding: .5rem .75rem;
  border: 1px solid #ccfbf1;
  border-radius: .5rem;
  background: #fff;
  font: inherit;
  text-align: left;
  cursor: help;
  transition: background-color .2s, border-color .2s, opacity .2s;
}
.rs-req.further .rs-req-chip { border-color: rgb(252 211 77 / .7); }
.rs-req-chip:focus-visible { outline: none; box-shadow: 0 0 0 2px #14b8a6; }
.rs-req-chip > [class*="icon-"] { flex-shrink: 0; font-size: 1rem; color: #0d9488; transition: color .2s; }
.rs-req-name { flex: 1; min-width: 0; font-size: .75rem; line-height: 1.375; font-weight: 500; color: #134e4a; transition: color .2s; }
@media (min-width: 768px) { .rs-req-name { font-size: .875rem; } }
.rs-req:is(:hover, :focus-within) .rs-req-chip { border-color: #0d9488; background: #0d9488; }
.rs-req:is(:hover, :focus-within) .rs-req-chip > [class*="icon-"],
.rs-req:is(:hover, :focus-within) .rs-req-name { color: #fff; }

.rs-req-pop {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 50;
  width: 20rem;
  max-width: calc(100vw - 5rem);
  margin-top: 2px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  transition: opacity .15s .1s, visibility 0s .25s;
}
@media (min-width: 640px) { .rs-req-pop { width: 24rem; } }
/* Bridges the 2px gap so moving the mouse into the card keeps it open */
.rs-req-pop::before { content: ""; position: absolute; top: -4px; left: 0; right: 0; height: 4px; }
.rs-req:is(:hover, :focus-within) .rs-req-pop { visibility: visible; opacity: 1; transition: opacity .15s .15s, visibility 0s .15s; }
.rs-req-pop-body { padding: 1rem; }
.rs-req-pop-body > * + * { margin-top: .75rem; }
.rs-pop-label { margin-bottom: .25rem; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: var(--muted); }
.rs-pop-label.teal { color: #0f766e; }
.rs-pop-text { font-size: .75rem; line-height: 1.625; }
.rs-pop-further { padding: .625rem; border: 1px solid #fde68a; border-radius: .5rem; background: rgb(255 251 235 / .6); }
.rs-pop-further .rs-pop-label { display: flex; align-items: center; gap: .375rem; margin-bottom: .375rem; color: #b45309; }
.rs-pop-chips { display: flex; flex-wrap: wrap; gap: .375rem; }
.rs-pop-chip {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  padding: .125rem .5rem;
  border: 1px solid #fde68a;
  border-radius: 9999px;
  background: #fff;
  color: #92400e;
  font-size: 11px;
  font-weight: 500;
}
.rs-pop-chip [class*="icon-"] { font-size: .75rem; color: #d97706; }
.rs-pop-foot { margin-top: .375rem; font-size: 10px; color: var(--muted); }

/* While a hover card is open, everything else fades back (Shield Command's focusedArea dimming) */
.rs-dim, .rs-req-banner { transition: opacity .2s; }
.rs-compliance:has(.rs-req:is(:hover, :focus-within)) :is(.rs-dim, .rs-req-banner) { opacity: .3; }
.rs-req-grid:has(.rs-req:is(:hover, :focus-within)) .rs-req:not(:hover):not(:focus-within) .rs-req-chip { opacity: .3; }

/* Where Shield Goes Further */
.rs-further-card { overflow: hidden; border-color: #fde68a; }
.rs-further-head { display: flex; align-items: center; gap: .5rem; padding: .875rem 1rem; border-bottom: 1px solid #fde68a; background: #fffbeb; }
@media (min-width: 768px) { .rs-further-head { padding: .875rem 1.5rem; } }
.rs-further-head span:last-child { font-size: .75rem; line-height: 1rem; font-weight: 600; text-transform: uppercase; letter-spacing: .025em; color: #b45309; }
.rs-further-body { padding: 1rem; background: rgb(255 251 235 / .3); }
@media (min-width: 768px) { .rs-further-body { padding: 1.25rem; } }
.rs-further-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: .75rem; }
@media (min-width: 768px) { .rs-further-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1280px) { .rs-further-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.rs-further-item {
  position: relative;
  padding: .875rem;
  border: 1px solid #fef3c7;
  border-radius: .5rem;
  background: #fff;
  transition: background-color .15s;
}
.rs-further-item:hover { background: rgb(255 251 235 / .7); }
.rs-further-row { display: flex; flex-wrap: wrap; gap: .75rem; min-width: 0; }
.rs-further-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  flex-shrink: 0;
  border-radius: .5rem;
  background: #fef3c7;
  color: #d97706;
  font-size: 1rem;
}
.rs-further-text { flex: 1 1 8rem; min-width: 0; padding-right: 1rem; }
.rs-further-text p:first-child { margin-bottom: .125rem; font-size: .75rem; line-height: 1.375; font-weight: 600; }
@media (min-width: 768px) { .rs-further-text p:first-child { font-size: .875rem; } }
.rs-further-text p + p { font-size: .75rem; line-height: 1.625; color: var(--muted); }
.rs-disclaimer { font-size: .75rem; line-height: 1.625; color: var(--muted); }

/* ── Patient Drop Request (Shield Command's DropRequestForm) ───────────────── */
.dr-card { max-width: 42rem; padding: 1.25rem; }
@media (min-width: 768px) { .dr-card { padding: 1.5rem; } }
.dr-card h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 600; }
.dr-intro { margin: .25rem 0 1.25rem; font-size: .875rem; line-height: 1.25rem; color: var(--muted); }
.dr-fields { min-width: 0; padding: 0; border: 0; }
.dr-fields > * + * { margin-top: 1rem; }
.dr-field > * + * { margin-top: .375rem; }
/* shadcn Label */
.dr-label { display: block; margin: 0; font-size: .875rem; line-height: 1; font-weight: 500; }
/* shadcn Textarea */
.dr-textarea {
  display: flex;
  width: 100%;
  min-height: 80px;
  padding: .5rem .75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.5rem;
}
@media (min-width: 768px) { .dr-textarea { font-size: .875rem; line-height: 1.25rem; } }
.dr-textarea::placeholder { color: var(--muted); }
.dr-textarea:focus-visible { outline: none; box-shadow: var(--ring); }
.practice-input.dr-readonly { cursor: default; }
.dr-error { font-size: .875rem; line-height: 1.25rem; color: #ef4444; }
/* Turbo disables the submit button while the form posts; show Shield Command's pending label then */
.dr-submit:disabled .dr-idle, .dr-submit:not(:disabled) .dr-busy { display: none; }

/* Confirmation after a request is sent (styled like Shield Command's toast, shown in place) */
.dr-toast {
  max-width: 42rem;
  padding: 1rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: var(--shadow-lg);
}
.dr-toast p:first-child { font-size: .875rem; line-height: 1.25rem; font-weight: 600; }
.dr-toast p + p { font-size: .875rem; line-height: 1.25rem; opacity: .9; }
.dr-note { font-size: .875rem; line-height: 1.25rem; color: var(--muted); }
