:root {
  color-scheme: light;
  --brand: #087ea4;
  --brand-dark: #075e7a;
  --ink: #16333e;
  --muted: #59717a;
  --line: #d8e4e8;
  --surface: #ffffff;
  --background: #eff6f8;
  --warning: #fff7dc;
  --warning-ink: #624c05;
  --header-height: 92px;
  font-family: Inter, "Noto Sans Devanagari", "Mangal", system-ui, sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

body {
  margin: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(57, 186, 232, .16), transparent 28rem),
    var(--background);
}

body.home-view {
  display: block;
  height: auto;
  min-height: 100vh;
  overflow-y: auto;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: white;
  background: linear-gradient(120deg, var(--brand-dark), var(--brand));
  border-bottom: 4px solid #42bce7;
  box-shadow: 0 8px 24px rgba(7, 68, 89, .18);
}

.header-inner, main, footer {
  width: min(1480px, calc(100% - 40px));
  margin-inline: auto;
}

.header-inner { display: flex; min-height: var(--header-height); align-items: center; gap: 16px; padding: 16px 0 14px; }
.header-inner > div { min-width: 0; }
.home-button {
  flex: 0 0 auto;
  width: auto;
  min-height: 42px;
  margin: 0;
  padding: 0 15px;
  color: #fff;
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 10px;
  font: inherit;
  font-size: .86rem;
  font-weight: 800;
  cursor: pointer;
}
.home-button:hover { background: rgba(255, 255, 255, .23); }
.eyebrow, .step { margin: 0 0 6px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.app-header .eyebrow { color: #bfeeff; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 4px; font-size: clamp(1.55rem, 2.4vw, 2.25rem); line-height: 1.08; }
.app-header p:last-child { margin-bottom: 0; color: #dff7ff; }

main { height: 100%; min-height: 0; padding: 20px 0; overflow: hidden; }
.resource-view { height: 100%; min-height: 0; }
.language-picker { display: flex; align-items: center; justify-self: end; gap: 9px; margin-bottom: 16px; color: var(--muted); font-size: .8rem; font-weight: 900; }
.language-picker select { width: auto; min-width: 132px; min-height: 40px; padding: 7px 34px 7px 11px; font-size: .82rem; }
.section-language-picker { justify-content: flex-end; }
.resource-home {
  display: grid;
  align-content: start;
  height: 100%;
  min-height: 0;
  padding: clamp(12px, 4vw, 52px) 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
}
body.home-view main { height: auto; min-height: calc(100vh - var(--header-height)); overflow: visible; }
body.home-view .resource-home { height: auto; min-height: calc(100vh - var(--header-height) - 40px); overflow: visible; scrollbar-gutter: auto; }
.home-intro { max-width: 720px; margin-bottom: 30px; }
.home-intro .step { color: var(--brand); }
.home-intro h2 { margin-bottom: 10px; color: #102f3a; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.15; }
.home-intro > p:last-child { margin-bottom: 0; color: var(--muted); font-size: 1.05rem; line-height: 1.65; }
.resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.resource-tile {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 240px;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  margin: 0;
  padding: 25px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid rgba(8, 126, 164, .16);
  border-radius: 20px;
  box-shadow: 0 14px 36px rgba(21, 68, 84, .09);
  text-align: left;
}
button.resource-tile { cursor: pointer; }
.resource-tile-primary { border-top: 7px solid var(--brand); }
.resource-tile-irs { border-top-color: #d28b16; }
.resource-tile-irs .resource-icon { background: linear-gradient(135deg, #87550b, #d28b16); }
.resource-tile-space-spray { border-top-color: #6a55b5; }
.resource-tile-space-spray .resource-icon, .space-spray-icon { background: linear-gradient(135deg, #49378d, #806bd0); }
.resource-tile-outdoor-fogging { border-top-color: #387a50; }
.resource-tile-outdoor-fogging .resource-icon, .outdoor-fogging-icon { background: linear-gradient(135deg, #245437, #4f9a68); }
.resource-tile-larvicide { border-top-color: #17858a; }
.resource-tile-larvicide .resource-icon, .larvicide-icon { background: linear-gradient(135deg, #08666c, #2ca5a9); }
.resource-tile-primary:hover { transform: translateY(-3px); border-color: rgba(8, 126, 164, .45); box-shadow: 0 18px 42px rgba(21, 68, 84, .15); }
.resource-tile-planned { border-style: dashed; box-shadow: none; opacity: .72; }
.resource-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: 15px;
  font-size: 1rem;
  font-weight: 900;
}
.resource-tile-planned .resource-icon { color: var(--brand-dark); background: #e5f3f7; }
.resource-copy { display: grid; gap: 8px; }
.resource-copy strong { font-size: 1.2rem; line-height: 1.3; }
.resource-copy span { color: var(--muted); font-size: .9rem; line-height: 1.55; }
.resource-action, .resource-status { margin-top: auto; color: var(--brand-dark); font-size: .84rem; font-weight: 900; }
.resource-status { color: var(--muted); }
.irs-resource { overflow-y: auto; padding-bottom: 18px; scrollbar-width: thin; }
.irs-layout { display: grid; grid-template-columns: minmax(280px, 360px) minmax(0, 1fr); gap: 24px; align-items: start; }
.irs-selector-card { overflow: hidden; }
.irs-selector-card::before { content: ""; display: block; height: 7px; background: linear-gradient(90deg, #87550b, #d28b16, #f0b85f); }
.irs-selector-card .card-heading { display: block; padding: 22px 22px 17px; }
.irs-selector-card .step { color: #9b620d; }
.space-spray-selector-card::before { background: linear-gradient(90deg, #49378d, #806bd0, #b5a7ed); }
.space-spray-selector-card .step { color: #5b459e; }
.outdoor-fogging-selector-card::before { background: linear-gradient(90deg, #245437, #4f9a68, #93cca5); }
.outdoor-fogging-selector-card .step { color: #2f7047; }
.larvicide-selector-card::before { background: linear-gradient(90deg, #08666c, #2ca5a9, #8ad7d8); }
.larvicide-selector-card .step { color: #08666c; }
.updated-date { margin: 9px 0 0; color: var(--muted); font-size: .78rem; font-weight: 700; }
.irs-selector-card form { padding: 21px 22px 24px; }
.irs-selector-card label { display: grid; gap: 8px; color: var(--ink); font-size: .86rem; font-weight: 800; }
.live-update-hint { margin: 10px 0 0; color: var(--muted); font-size: .76rem; line-height: 1.45; }
.irs-result { overflow: hidden; min-height: 420px; background: #fff; border: 1px solid rgba(8, 126, 164, .12); border-radius: 18px; box-shadow: 0 14px 36px rgba(21, 68, 84, .09); }
.irs-empty { display: grid; min-height: 420px; place-content: center; justify-items: center; padding: 40px; text-align: center; }
.irs-empty h2 { margin: 18px 0 7px; }
.irs-empty p { max-width: 48ch; margin: 0; color: var(--muted); line-height: 1.55; }
.irs-information-card { min-height: 420px; }
.irs-result-header { padding: 28px 30px 24px; color: #fff; background: linear-gradient(120deg, #78500f, #b9750e); border-bottom: 5px solid #efb657; }
.irs-result-header p { margin: 0 0 7px; color: #ffe4b8; font-size: .75rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.irs-result-header h2 { margin: 0 0 7px; font-size: clamp(1.55rem, 3vw, 2.35rem); }
.irs-result-header span { color: #fff3df; font-weight: 700; }
.space-spray-result-header { background: linear-gradient(120deg, #49378d, #806bd0); border-bottom-color: #b5a7ed; }
.outdoor-fogging-result-header { background: linear-gradient(120deg, #245437, #4f9a68); border-bottom-color: #93cca5; }
.larvicide-result-header { background: linear-gradient(120deg, #08666c, #2ca5a9); border-bottom-color: #8ad7d8; }
.larvicide-summary { padding-bottom: 4px; }
.larvicide-applications { display: grid; gap: 16px; padding: 16px 20px 22px; }
.larvicide-application { overflow: hidden; border: 1px solid #b8dedf; border-radius: 14px; }
.larvicide-application h3 { margin: 0; padding: 12px 16px; color: #075b60; background: #e8f7f7; font-size: .9rem; }
.larvicide-application .irs-facts { padding: 14px; }
.irs-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 20px; gap: 13px; }
.irs-facts div { min-width: 0; padding: 17px 18px; background: #f7fafb; border: 1px solid var(--line); border-radius: 12px; }
.irs-facts div:last-child { grid-column: 1 / -1; background: #fff6e7; border-color: #e8c78c; }
.irs-facts dt { margin-bottom: 9px; color: var(--muted); font-size: .78rem; font-weight: 800; line-height: 1.4; }
.irs-facts dd { margin: 0; color: var(--ink); font-size: 1.35rem; font-weight: 900; }
.cib-note { margin-top: 18px; padding: 16px 19px; color: #65480d; background: #fff7e7; border: 1px solid #e7c885; border-radius: 13px; line-height: 1.5; }
.cib-note p { margin: 5px 0 0; font-size: .84rem; }

@media (min-width: 961px) {
  .irs-resource { scroll-padding-top: 70px; }
  .irs-resource .section-language-picker {
    position: sticky;
    top: 0;
    z-index: 60;
    width: max-content;
    margin-left: auto;
    padding: 8px 10px;
    background: rgba(239, 246, 248, .96);
    border: 1px solid rgba(8, 126, 164, .12);
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(21, 68, 84, .08);
    backdrop-filter: blur(8px);
  }
  .irs-layout > .irs-selector-card {
    position: sticky;
    top: 68px;
    z-index: 35;
    align-self: start;
  }
  .irs-result { overflow: clip; }
  .irs-result-header {
    position: sticky;
    top: 68px;
    z-index: 30;
    border-radius: 18px 18px 0 0;
    box-shadow: 0 9px 22px rgba(21, 68, 84, .13);
  }
}
.workspace-layout { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 24px; align-items: stretch; height: 100%; min-height: 0; }
.sidebar-stack { display: flex; flex-direction: column; gap: 14px; min-height: 0; overflow-y: auto; scrollbar-width: thin; }
.protocol-card, .result-card {
  overflow: hidden;
  margin-bottom: 0;
  background: var(--surface);
  border: 1px solid rgba(8, 126, 164, .12);
  border-radius: 18px;
  box-shadow: 0 14px 36px rgba(21, 68, 84, .09);
}
.filter-rail { flex: 0 0 auto; }
.filter-rail::before { content: ""; display: block; height: 7px; background: linear-gradient(90deg, var(--brand-dark), var(--brand), #42bce7); }

.card-heading, .result-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid var(--line);
}
.filter-rail .card-heading { display: block; padding: 15px 18px 12px; }
.filter-rail .card-heading h2 { font-size: 1.2rem; }
.filter-rail .verified { display: inline-block; margin-top: 8px; padding: 5px 9px; }

.step { color: var(--brand); }
h2 { margin-bottom: 0; font-size: 1.35rem; }
.verified { padding: 7px 10px; color: var(--brand-dark); background: #e6f7fc; border-radius: 999px; font-size: .8rem; font-weight: 800; white-space: nowrap; }

form { padding: 24px 26px 26px; }
.filter-rail form { padding: 14px 18px 16px; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.filter-rail .field-grid { grid-template-columns: 1fr; gap: 11px; }
.filter-rail label span { margin-bottom: 5px; font-size: .84rem; }
.filter-rail select { min-height: 44px; }
label span { display: block; margin: 0 0 8px; font-size: .92rem; font-weight: 800; }
select {
  width: 100%;
  min-height: 50px;
  padding: 0 42px 0 14px;
  color: var(--ink);
  background: white;
  border: 1px solid #9eb5bd;
  border-radius: 10px;
  font: inherit;
}
select:focus { outline: 3px solid rgba(57, 186, 232, .25); border-color: var(--brand); }
button {
  width: 100%;
  min-height: 52px;
  margin-top: 6px;
  color: white;
  background: var(--brand);
  border: 0;
  border-radius: 10px;
  font: inherit;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}
.filter-rail button { min-height: 46px; margin-top: 2px; box-shadow: 0 8px 18px rgba(8, 126, 164, .2); }
.filter-rail .form-error { min-height: 1em; margin-top: 8px; font-size: .78rem; }
button:hover { background: var(--brand-dark); }
button:focus-visible { outline: 3px solid rgba(57, 186, 232, .4); outline-offset: 2px; }
.form-error { min-height: 1.35em; margin: 14px 0 0; color: #a32626; font-weight: 700; }
.result-heading p:last-child { max-width: 52ch; margin: 0; color: var(--muted); text-align: right; }
.result-card { display: flex; flex-direction: column; min-width: 0; min-height: 0; }
.result-heading { flex: 0 0 auto; }
.export-toolbar { display: flex; flex: 0 0 auto; align-items: center; gap: 9px; padding: 10px 24px; background: #f8fbfc; border-bottom: 1px solid var(--line); }
.export-toolbar label { color: var(--muted); font-size: .78rem; font-weight: 800; }
.export-toolbar select { width: 150px; min-height: 38px; padding-left: 10px; font-size: .82rem; }
.export-toolbar .export-button { width: auto; min-height: 38px; margin: 0; padding: 0 14px; border-radius: 8px; font-size: .82rem; white-space: nowrap; }
.export-toolbar .export-share { color: #075e54; background: #dcf8e8; border: 1px solid #8ed3af; }
.export-toolbar .export-share:hover { color: #fff; background: #128c7e; }
.export-toolbar button:disabled { cursor: not-allowed; opacity: .5; }
.export-toolbar #export-status { min-width: 0; margin-left: auto; color: var(--muted); font-size: .74rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.coded-card-frame { flex: 1 1 auto; min-height: 0; padding: 24px; overflow: auto; background: #f5fafb; scrollbar-color: #8cb9c7 transparent; scrollbar-width: thin; }
.treatment-sheet { overflow: hidden; max-width: 920px; margin-inline: auto; background: #fff; border: 1px solid #cbdde3; border-radius: 14px; box-shadow: 0 14px 34px rgba(18, 65, 80, .12); }
.sheet-strip { display: flex; justify-content: space-between; gap: 16px; padding: 14px 22px; color: #fff; background: linear-gradient(120deg, var(--brand-dark), var(--brand)); border-bottom: 4px solid #42bce7; font-size: .82rem; font-weight: 800; letter-spacing: .04em; }
.sheet-header { padding: 26px 28px 22px; border-bottom: 1px solid var(--line); }
.sheet-header p { margin-bottom: 6px; color: var(--brand); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.sheet-header h3 { margin: 0 0 8px; color: #102f3a; font-size: clamp(1.35rem, 3vw, 2rem); line-height: 1.25; }
.sheet-header span { color: var(--muted); font-weight: 700; }
.sheet-body.has-visuals { display: grid; grid-template-columns: 190px minmax(0, 1fr); align-items: start; }
.sheet-content { min-width: 0; }
.blister-gallery { display: grid; gap: 14px; margin: 26px 0 24px 24px; padding: 14px; background: linear-gradient(180deg, #f4fafc, #fff); border: 1px solid #d5e5ea; border-radius: 12px; }
.blister-gallery figure { margin: 0; padding-bottom: 12px; border-bottom: 1px solid var(--line); text-align: center; }
.blister-gallery figure:last-child { padding-bottom: 0; border-bottom: 0; }
.blister-gallery img { display: block; width: 100%; height: auto; max-height: 330px; margin-inline: auto; object-fit: contain; border-radius: 8px; }
.blister-gallery figcaption { margin-top: 8px; color: var(--muted); font-size: .72rem; font-weight: 800; line-height: 1.35; }
.schedule { padding: 8px 28px 18px; }
.day-group { display: grid; grid-template-columns: minmax(96px, 130px) 1fr; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.day-group:last-child { border-bottom: 0; }
.day-label { align-self: start; padding: 8px 10px; color: var(--brand-dark); background: #e6f7fc; border-radius: 8px; font-weight: 900; text-align: center; }
.day-medicines { display: grid; gap: 12px; }
.medicine-row { display: grid; grid-template-columns: 5px minmax(0, 1fr) auto; gap: 12px; align-items: center; min-height: 62px; padding: 12px 14px 12px 0; background: #fbfdfe; border: 1px solid #dce8ec; border-radius: 10px; }
.medicine-mark { align-self: stretch; background: var(--brand); border-radius: 0 5px 5px 0; }
.medicine-main { display: grid; gap: 2px; }
.medicine-main strong { color: #143844; }
.medicine-main span, .medicine-main small { color: var(--muted); }
.medicine-main small { margin-top: 3px; line-height: 1.4; }
.medicine-quantity { min-width: 92px; padding: 8px 10px; color: #fff; background: var(--brand-dark); border-radius: 8px; text-align: center; }
.referral { margin: 24px 28px 8px; padding: 18px 20px; background: #fff7dc; border: 1px solid #ead78b; border-left: 5px solid #d79f00; border-radius: 10px; }
.referral p { margin: 6px 0 0; line-height: 1.6; }
.sheet-notes { margin: 0 28px 20px; padding: 18px 20px; background: #f7fafb; border: 1px solid var(--line); border-radius: 10px; }
.sheet-notes h4 { margin: 0 0 10px; color: var(--brand-dark); }
.sheet-notes ul { margin: 0; padding-left: 1.35rem; }
.sheet-notes li { margin: 7px 0; line-height: 1.55; }
.followup { display: grid; grid-template-columns: 100px 1fr; gap: 16px; margin: 0 28px 24px; padding: 15px 18px; color: #0d4e62; background: #e8f7fb; border-radius: 10px; line-height: 1.5; }
.sheet-footer { display: flex; justify-content: space-between; align-items: center; gap: 16px; width: auto; padding: 14px 22px; color: #5a7078; background: #edf4f6; border-top: 1px solid #d6e3e7; font-size: .76rem; }
.sheet-footer details { text-align: right; }
.sheet-footer summary { cursor: pointer; font-weight: 800; }
.sheet-footer code { display: block; margin-top: 4px; overflow-wrap: anywhere; }
.sheet-empty { display: grid; gap: 5px; min-height: 240px; place-content: center; padding: 36px; color: var(--muted); text-align: center; }
.sheet-empty strong { color: var(--ink); font-size: 1.25rem; }
.safety-note { padding: 10px 12px; color: var(--warning-ink); background: var(--warning); border: 1px solid #ead78b; border-radius: 12px; font-size: .76rem; line-height: 1.35; }
footer { display: flex; justify-content: space-between; gap: 16px; padding: 22px 0 30px; color: var(--muted); font-size: .82rem; }
body > footer { display: none; }

@media (max-width: 960px) {
  :root { --header-height: 84px; }
  body { display: block; height: auto; min-height: 100vh; overflow: auto; }
  main { height: auto; min-height: calc(100vh - var(--header-height)); overflow: visible; }
  .workspace-layout { grid-template-columns: 1fr; height: auto; }
  .sidebar-stack { overflow: visible; }
  .filter-rail .field-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .result-card { min-height: 620px; }
  .coded-card-frame { overflow: visible; }
  .export-toolbar { flex-wrap: wrap; }
  .export-toolbar #export-status { flex-basis: 100%; margin-left: 0; }
  body > footer { display: flex; }
  .resource-home { height: auto; min-height: calc(100vh - var(--header-height) - 40px); overflow: visible; scrollbar-gutter: auto; }
  .resource-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .resource-tile-primary { min-height: 210px; }
  .resource-tile-planned { grid-column: 1 / -1; }
  .irs-resource { overflow: visible; }
  .irs-layout { grid-template-columns: 1fr; }
  .irs-result { min-height: 0; }
}

@media (max-width: 1120px) and (min-width: 681px) {
  .sheet-body.has-visuals { grid-template-columns: 150px minmax(0, 1fr); }
  .blister-gallery { margin-left: 16px; padding: 10px; }
}

@media (max-width: 680px) {
  .header-inner, main, footer { width: min(100% - 20px, 1100px); }
  .header-inner { min-height: 78px; padding: 12px 4px 10px; }
  .home-button { min-height: 38px; padding-inline: 11px; }
  .app-header .eyebrow { display: none; }
  .app-header p:last-child { font-size: .82rem; }
  main { padding-top: 16px; }
  .resource-home { align-content: start; padding-top: 22px; }
  .language-picker { justify-self: stretch; justify-content: flex-end; }
  .home-intro { margin-bottom: 22px; }
  .home-intro > p:last-child { font-size: .94rem; }
  .resource-grid { grid-template-columns: 1fr; gap: 13px; }
  .resource-tile, .resource-tile-primary { grid-column: auto; min-height: 0; padding: 20px; }
  .resource-tile-planned { grid-column: auto; }
  .irs-facts { grid-template-columns: 1fr; padding: 13px; }
  .irs-facts div:last-child { grid-column: auto; }
  .irs-result-header { padding: 23px 20px 20px; }
  .field-grid, .filter-rail .field-grid { grid-template-columns: 1fr; gap: 16px; }
  .card-heading, .result-heading { display: block; padding: 20px 18px 15px; }
  .verified { display: inline-block; margin-top: 12px; }
  .result-heading p:last-child { margin-top: 10px; text-align: left; }
  form { padding: 20px 18px; }
  .coded-card-frame { padding: 10px; }
  .result-card { min-height: 480px; }
  .export-toolbar { padding: 10px 14px; }
  .export-toolbar label { display: none; }
  .export-toolbar select { flex: 1 1 120px; }
  .export-toolbar .export-button { flex: 1 1 auto; padding-inline: 10px; }
  .sheet-strip { padding: 12px 14px; }
  .sheet-header { padding: 21px 18px 18px; }
  .schedule { padding: 4px 18px 14px; }
  .sheet-body.has-visuals { grid-template-columns: 1fr; }
  .blister-gallery { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); margin: 16px 18px 4px; }
  .blister-gallery figure { padding: 0; border: 0; }
  .blister-gallery img { max-height: 190px; }
  .day-group { grid-template-columns: 1fr; gap: 10px; padding: 15px 0; }
  .day-label { text-align: left; }
  .medicine-row { grid-template-columns: 5px minmax(0, 1fr); }
  .medicine-quantity { grid-column: 2; justify-self: start; min-width: 0; }
  .referral, .sheet-notes, .followup { margin-left: 18px; margin-right: 18px; }
  .followup { grid-template-columns: 1fr; gap: 5px; }
  .sheet-footer { display: block; }
  .sheet-footer details { margin-top: 8px; text-align: left; }
  footer { display: block; }
  body > footer { display: block; }
  footer span { display: block; margin-top: 5px; }
}

@media print {
  body { background: #fff; }
  .app-header, .protocol-card, .safety-note, body > footer, .result-heading, .export-toolbar { display: none; }
  main, .result-card { width: 100%; margin: 0; padding: 0; box-shadow: none; border: 0; }
  .coded-card-frame { padding: 0; background: #fff; }
  .treatment-sheet { max-width: none; box-shadow: none; }
}
