/* Content blocks — ALL rules scoped under .article to avoid shell conflicts */

/* Content block tokens (scoped defaults) */
.article {
  --primary-blue: #0284C7;
  /* text safety */
  overflow-wrap: break-word;
  word-wrap: break-word;

  --primary-blue-dark: #0369A1;
  --primary-crimson: #E11D48;
  --primary-green: #166534;
  --primary-amber: #B45309;
  --text-main: #0F172A;
  --text-muted: #64748B;
  --border-color: #E2E8F0;
  --card-bg: #FFFFFF;
  --card-inner-bg: #F8FAFC;
  --radius-card: 16px;
  --radius-inner: 12px;
  --shadow-card: 0 4px 18px -4px rgba(15, 23, 42, .06);
}


.article .a4-print-cheatsheet-v3 {
  background: #F1F5F9;
  border-radius: 24px;
  padding: 26px;
  margin: 24px 0;
  color: #0F172A;
  box-shadow: 
    0 25px 50px -12px rgba(15, 23, 42, 0.08),
    inset 0 2px 0 rgba(255, 255, 255, 0.9);
  border: 1px solid #CBD5E1;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.article .callout-box {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-inner);
  padding: 20px 24px;
  margin-top: 14px;
}

.article .callout-box-danger {
  background: #FFF1F2;
  border-color: #FECDD3;
}

.article .callout-box-danger .callout-header {
  color: var(--primary-crimson);
}

.article .callout-box-global {
  background: #F8FAFC;
  border: 1px solid #CBD5E1;
  border-left: 5px solid #475569;
}

.article .callout-box-global .callout-header {
  color: #334155;
}

.article .callout-header {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-blue);
  margin-bottom: 8px;
}

.article .callout-text {
  font-size: 14.5px;
  color: var(--text-main);
  line-height: 1.65;
}

.article .card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.article .card-desc {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.article .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.article .card-title {
  font-family: 'e-UkraineHead', system-ui, sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--text-main);
}

.article .container {
  max-width: 1100px;
  margin: 0 auto;
}

.article .csv3-badge-glow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFF1F2;
  color: #E11D48;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  border: 1px solid rgba(225, 29, 72, 0.2);
}

.article .csv3-brand-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.article .csv3-card {
  background: #FFFFFF;
  border-radius: 18px;
  padding: 20px;
  box-shadow: 0 8px 24px -4px rgba(15, 23, 42, 0.04);
  border: 1px solid #E2E8F0;
}

.article .csv3-card, .article .csv3-header {
  box-shadow: none !important;
  border: 1px solid #CBD5E1 !important;
  padding: 10px 14px !important;
  border-radius: 8px !important;
}

.article .csv3-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.article .csv3-card-head h3 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0;
  color: #0F172A;
  text-transform: uppercase;
}

.article .csv3-card-sub {
  font-size: 11px;
  color: #64748B;
  font-weight: 600;
}

.article .csv3-doc-id {
  font-size: 11px;
  color: #64748B;
}

.article .csv3-header {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 18px 22px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.03);
  border: 1px solid #E2E8F0;
}

.article .csv3-icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.article .csv3-icon-badge.danger {
  background: #FFE4E6;
  color: #E11D48;
}

.article .csv3-icon-badge.primary {
  background: #E0F2FE;
  color: #0284C7;
}

.article .csv3-icon-badge.warning {
  background: #FEF3C7;
  color: #D97706;
}

.article .csv3-signal-card {
  background: #F8FAFC;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  box-shadow: inset 0 1px 0 #FFF;
}

.article .csv3-signal-card p {
  font-size: 11.5px;
  margin: 0;
  color: #475569;
  line-height: 1.4;
}

.article .csv3-signal-card.danger-border {
  border-left: 4px solid #EF4444;
  background: #FEF2F2;
}

.article .csv3-signal-card.full-span {
  grid-column: 1 / -1;
}

.article .csv3-signal-card.info-border {
  border-left: 4px solid #3B82F6;
  background: #EFF6FF;
}

.article .csv3-signal-card.warning-border {
  border-left: 4px solid #F59E0B;
  background: #FFFBEB;
}

.article .csv3-signal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.article .csv3-signal-head {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  margin-bottom: 4px;
  color: #0F172A;
}

.article .csv3-step-content h4 {
  font-size: 12.5px;
  font-weight: 800;
  color: #9F1239;
  margin: 0 0 2px;
}

.article .csv3-step-content p {
  font-size: 11.5px;
  color: #475569;
  margin: 0;
  line-height: 1.35;
}

.article .csv3-step-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: #FFFFFF;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid #FFE4E6;
  box-shadow: 0 3px 8px rgba(225, 29, 72, 0.03);
}

.article .csv3-step-item.highlight {
  border-color: #E11D48;
  background: #FFF1F2;
}

.article .csv3-step-num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E11D48;
  color: #FFF;
  font-size: 12px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(225, 29, 72, 0.3);
}

.article .csv3-steps-container {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.article .csv3-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.article .csv3-table td {
  padding: 9px 12px;
  border-bottom: 1px solid #F1F5F9;
}

.article .csv3-table th {
  background: #F8FAFC;
  padding: 10px 12px;
  font-weight: 700;
  color: #475569;
  border-bottom: 1px solid #E2E8F0;
}

.article .csv3-table-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E2E8F0;
}

.article .csv3-timeline-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 16px;
  background: #F8FAFC;
  padding: 8px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}

.article .csv3-title {
  font-size: 20px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
}

.article .csv3-tl-step {
  background: #FFFFFF;
  padding: 8px;
  border-radius: 8px;
  text-align: center;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.article .csv3-tl-step small {
  font-size: 9.5px;
  color: #64748B;
  font-weight: 600;
}

.article .csv3-tl-step span {
  display: block;
  font-size: 11px;
  font-weight: 800;
  color: #0F172A;
}

.article .csv3-tl-step.s2 {
  border-color: #FCD34D;
  background: #FFFBEB;
}

.article .emergency-v3 {
  background: linear-gradient(180deg, #FFF1F2 0%, #FFFFFF 100%);
  border: 1.5px solid #FECDD3;
}

.article .guideline-wrapper-iron {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'e-UkraineHead', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  -webkit-font-smoothing: antialiased;
}

.article .guideline-wrapper-iron *, .article .guideline-wrapper-iron *::before, .article .guideline-wrapper-iron *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.article .guideline-wrapper-iron .alert-card {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-left: 6px solid var(--primary-crimson);
  border-radius: var(--radius-inner);
  padding: 24px;
}

.article .guideline-wrapper-iron .alert-header {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-crimson);
  margin-bottom: 8px;
}

.article .guideline-wrapper-iron .alert-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

.article .guideline-wrapper-iron .box-heme {
  background: #FFF1F2;
  border-color: #FECDD3;
}

.article .guideline-wrapper-iron .box-heme h4 {
  color: var(--primary-crimson);
}

.article .guideline-wrapper-iron .box-nonheme {
  background: #F0FDF4;
  border-color: #BBF7D0;
}

.article .guideline-wrapper-iron .box-nonheme h4 {
  color: var(--primary-green);
}

.article .guideline-wrapper-iron .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.article .guideline-wrapper-iron .compare-box {
  border-radius: var(--radius-inner);
  padding: 22px;
  border: 1px solid var(--border-color);
}

.article .guideline-wrapper-iron .compare-box h4 {
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article .guideline-wrapper-iron .compare-box ul {
  padding-left: 18px;
  font-size: 13.5px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article .guideline-wrapper-iron .compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
}

.article .guideline-wrapper-iron .info-box-blue {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: var(--radius-inner);
  padding: 20px 24px;
}

.article .guideline-wrapper-iron .info-box-header {
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-blue-dark);
  margin-bottom: 8px;
}

.article .guideline-wrapper-iron .info-box-text {
  font-size: 14px;
  color: #0369A1;
  line-height: 1.6;
}

.article .guideline-wrapper-iron .inner-card {
  background: var(--card-inner-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-inner);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article .guideline-wrapper-iron .inner-card p {
  font-size: 14px;
  color: #334155;
  line-height: 1.55;
}

.article .guideline-wrapper-iron .inner-card ul {
  padding-left: 18px;
  font-size: 13.5px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article .guideline-wrapper-iron .inner-card-title {
  font-size: 16.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.article .guideline-wrapper-iron .inner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.article .guideline-wrapper-iron .resource-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article .guideline-wrapper-iron .resource-card-link:hover .resource-item {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
  transform: translateY(-2px);
}

.article .guideline-wrapper-iron .resource-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.article .guideline-wrapper-iron .resource-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.article .guideline-wrapper-iron .resource-info b {
  color: var(--primary-blue);
  display: block;
  margin-bottom: 3px;
  font-size: 13.5px;
}

.article .guideline-wrapper-iron .resource-item {
  background: var(--card-inner-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.article .guideline-wrapper-iron .resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.article .guideline-wrapper-iron .section-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.article .guideline-wrapper-iron .section-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article .guideline-wrapper-iron .subtitle {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 0;
}

.article .guideline-wrapper-iron .title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.25;
}

.article .guideline-wrapper-iron .tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.article .guideline-wrapper-iron .tool-card.hero-card {
  border-left: 6px solid var(--primary-blue);
}

.article .guideline-wrapper-iron h1, .article .guideline-wrapper-iron h2, .article .guideline-wrapper-iron h3, .article .guideline-wrapper-iron h4 {
  font-family: 'e-UkraineHead', system-ui, sans-serif;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.article .guideline-wrapper-pbm {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'e-UkraineHead', system-ui, -apple-system, sans-serif;
  line-height: 1.6;
  padding: 24px 16px;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  -webkit-font-smoothing: antialiased;
}

.article .guideline-wrapper-pbm *, .article .guideline-wrapper-pbm *::before, .article .guideline-wrapper-pbm *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.article .guideline-wrapper-pbm .alert-card {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
  border-left: 6px solid var(--primary-crimson);
  border-radius: var(--radius-inner);
  padding: 24px;
}

.article .guideline-wrapper-pbm .alert-header {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--primary-crimson);
  margin-bottom: 8px;
}

.article .guideline-wrapper-pbm .alert-text {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
}

.article .guideline-wrapper-pbm .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 18px;
}

.article .guideline-wrapper-pbm .inner-card {
  background: var(--card-inner-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-inner);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.article .guideline-wrapper-pbm .inner-card-desc {
  font-size: 14px;
  color: #334155;
  line-height: 1.6;
}

.article .guideline-wrapper-pbm .inner-card-list {
  padding-left: 18px;
  font-size: 13.5px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article .guideline-wrapper-pbm .inner-card-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary-blue-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.article .guideline-wrapper-pbm .inner-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.article .guideline-wrapper-pbm .pillars-box {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius-inner);
  padding: 24px;
}

.article .guideline-wrapper-pbm .pillars-header {
  font-size: 16px;
  font-weight: 800;
  color: var(--primary-green);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article .guideline-wrapper-pbm .pillars-list {
  padding-left: 20px;
  font-size: 14px;
  color: #166534;
  display: flex;
  flex-direction: column;
  gap: 10px;
  line-height: 1.6;
}

.article .guideline-wrapper-pbm .resource-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article .guideline-wrapper-pbm .resource-card-link:hover .resource-item {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
  transform: translateY(-2px);
}

.article .guideline-wrapper-pbm .resource-icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.article .guideline-wrapper-pbm .resource-info {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
}

.article .guideline-wrapper-pbm .resource-info b {
  color: var(--primary-blue);
  display: block;
  margin-bottom: 3px;
  font-size: 13.5px;
}

.article .guideline-wrapper-pbm .resource-item {
  background: var(--card-inner-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.article .guideline-wrapper-pbm .resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin-top: 16px;
}

.article .guideline-wrapper-pbm .section-desc {
  color: var(--text-muted);
  font-size: 14.5px;
  margin-bottom: 20px;
}

.article .guideline-wrapper-pbm .section-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  line-height: 1.3;
  display: flex;
  align-items: center;
  gap: 10px;
}

.article .guideline-wrapper-pbm .subtitle {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 0;
}

.article .guideline-wrapper-pbm .title {
  font-size: 28px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 8px;
  line-height: 1.25;
}

.article .guideline-wrapper-pbm .tool-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
}

.article .guideline-wrapper-pbm .tool-card.hero-card {
  border-left: 6px solid var(--primary-blue);
}

.article .guideline-wrapper-pbm h1, .article .guideline-wrapper-pbm h2, .article .guideline-wrapper-pbm h3, .article .guideline-wrapper-pbm h4 {
  font-family: 'e-UkraineHead', system-ui, sans-serif;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.article .inner-card {
  background: var(--card-inner-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-inner);
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
}

.article .inner-card p {
  font-size: 14.5px;
  color: #334155;
  line-height: 1.6;
}

.article .inner-card ul {
  padding-left: 18px;
  font-size: 13.5px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article .inner-card-title {
  font-size: 16.5px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-main);
}

.article .inner-card-title .icon {
  font-size: 22px;
  line-height: 1;
  flex-shrink: 0;
}

.article .param-list-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 10px;
}

.article .param-pill {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13.5px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.article .param-pill strong {
  font-size: 14.5px;
  color: var(--primary-crimson);
}

.article .pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #E11D48;
  box-shadow: 0 0 8px #E11D48;
}

.article .reaction-badge {
  margin-top: 18px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.article .reaction-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 8px;
  text-align: center;
  padding: 0 8px;
}

.article .resource-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article .resource-card-link:hover .resource-item {
  border-color: var(--primary-blue);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.article .resource-item {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 14px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.article .resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.article .section-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-card);
  padding: 36px;
  box-shadow: var(--shadow-subtle);
}

.article .section-desc {
  color: var(--text-muted);
  font-size: 15.5px;
  margin-bottom: 24px;
  font-weight: 500;
}

.article .section-title {
  font-size: 24px;
  font-weight: 800;
  margin-bottom: 8px;
  line-height: 1.3;
}

.article .single-container {
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
  width: 100% !important;
}

.article .st-amber {
  background: #FEF3C7;
  color: #B45309;
}

.article .st-blue {
  background: #E0F2FE;
  color: #0369A1;
}

.article .st-green {
  background: #DCFCE7;
  color: #15803D;
}

.article .st-purple {
  background: #F3E8FF;
  color: #7E22CE;
}

.article .status-indicator {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.article .status-indicator, .article .csv3-icon-badge, .article .csv3-step-num {
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.article .sub-heading {
  font-size: 17px;
  font-weight: 700;
  margin: 24px 0 12px 0;
}

.article .sub-heading-blue {
  color: var(--primary-blue);
}

.article .sub-heading-danger {
  color: var(--primary-crimson);
}

.article .svg-wrapper {
  width: 100%;
  background: var(--card-inner-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-inner);
  padding: 20px;
  margin-top: 12px;
  overflow: auto;
}

.article .svg-wrapper svg {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
}

/* Prevent any raw SVG / icon from blowing up the layout */
/* Only constrain decorative icons, not diagrams */
.article svg:not(.logo-shield-svg):not([width]):not([height]) {
  max-width: 64px;
  max-height: 64px;
  width: auto;
  height: auto;
  vertical-align: middle;
}
.article .svg-wrapper svg,
.article .scheme-block svg,
.article figure svg {
  max-width: 100% !important;
  max-height: none !important;
  width: 100%;
  height: auto;
}

/* Inline decorative icons next to headings */
.article h2 svg,
.article h3 svg,
.article .section-title svg,
.article .tool-card svg,
.article li svg,
.article p svg {
  width: 1.15em;
  height: 1.15em;
  max-width: 1.4em;
  max-height: 1.4em;
  flex-shrink: 0;
  display: inline-block;
  vertical-align: -0.15em;
  margin-right: 0.35em;
}

.article .timeline {
  position: relative;
  padding-left: 48px;
  border-left: 3px solid var(--timeline-line);
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.article .timeline-item {
  position: relative;
}

.article .timeline-item:hover .timeline-node {
  border-color: var(--primary-crimson);
}

.article .timeline-node {
  position: absolute;
  left: -61px;
  top: 32px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 4px solid var(--primary-crimson);
  box-shadow: 0 0 0 5px var(--bg-main);
  transition: border-color 0.2s;
}

.article .timeline-node-blue {
  border-color: var(--primary-blue);
}

.article .well-card {
  background: linear-gradient(145deg, #FFFFFF 0%, #F1F5F9 100%);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-inner);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: all 0.3s ease;
  position: relative;
}

.article .well-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(15, 23, 42, 0.12);
  border-color: #CBD5E1;
}

.article .well-svg-container {
  width: 130px;
  height: 130px;
  position: relative;
}

.article .well-title {
  font-family: 'e-UkraineHead', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: var(--text-main);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.article .wells-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.article h1, .article h2, .article h3, .article h4 {
  font-family: 'e-UkraineHead', system-ui, sans-serif;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

/* Guard: never let content styles restyle page chrome */
.hdr .card-title,
.hub-card .card-title {
  font-size: 13.5px !important;
  font-weight: 800 !important;
  margin: 0 !important;
}
.hub-card {
  /* ensure index/related cards stay compact if content-blocks loads */
  padding: 14px 16px;
}

/* ========== Structure & readability enhancements ========== */

/* Scope guideline leftovers inside article */
.article .guideline-wrapper,
.article .hub-container,
.article .container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

.article .hero-card {
  background: linear-gradient(135deg, #FFF1F2 0%, #F8FAFC 100%);
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 16px;
  padding: 18px 20px;
  margin: 0 0 1.4em;
}

body.audience-public .article .hero-card {
  background: linear-gradient(135deg, #CCFBF1 0%, #F8FAFC 100%);
}

.article .section-card {
  background: #fff;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 14px;
  padding: 18px 18px 12px;
  margin: 0 0 1.25em;
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, .05);
}

.article .section-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0 0 .4em;
  color: var(--text-dark, #0F172A);
}

.article .section-desc {
  font-size: .9rem;
  color: var(--text-muted, #64748B);
  margin: 0 0 1em;
  line-height: 1.5;
}

.article .card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin: 0 0 1em;
}

.article .inner-card {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 12px;
  padding: 14px;
}

.article .inner-card-title {
  font-weight: 700;
  font-size: .95rem;
  margin: 0 0 .35em;
}

.article .callout-box,
.article .callout-box-danger,
.article .callout-box-global,
.article .alert-card {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 1em 0;
  border: 1px solid var(--border-subtle, #E2E8F0);
  background: #F8FAFC;
}

.article .callout-box-danger,
.article .alert-card {
  background: #FFF1F2;
  border-color: #FECDD3;
}

.article .callout-header,
.article .alert-header {
  font-weight: 700;
  font-size: .9rem;
  margin: 0 0 .35em;
}

.article .timeline {
  margin: 1em 0 1.4em;
  padding-left: 0;
  list-style: none;
}

.article .timeline-item {
  position: relative;
  padding-left: 28px;
  margin-bottom: 14px;
}

.article .timeline-node {
  position: absolute;
  left: 0;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-red, #E11D48);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, .15);
}

.article .resources-grid {
  display: grid;
  gap: 10px;
  margin: 1em 0;
}

.article .resource-item,
.article .resource-card-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle, #E2E8F0);
  background: #F8FAFC;
  text-decoration: none;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}

.article .resource-card-link:hover {
  border-color: #FECACA;
  box-shadow: 0 4px 14px -6px rgba(225, 29, 72, .15);
}

/* TOC */
.hub-toc {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 1.5em;
}
.hub-toc-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted, #64748B);
  margin: 0 0 10px;
}
.hub-toc ol {
  margin: 0;
  padding-left: 1.2em;
}
.hub-toc li {
  margin: 0 0 6px;
  line-height: 1.35;
}
.hub-toc a {
  color: var(--text-dark, #0F172A);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  border-bottom: 1px solid transparent;
}
.hub-toc a:hover {
  color: var(--brand-red, #E11D48);
  border-bottom-color: currentColor;
}

/* Related block */
.hub-related {
  margin-top: 2em;
  padding-top: 1.25em;
  border-top: 1px solid var(--border-subtle, #E2E8F0);
}
.hub-related h2 {
  font-size: 1.05rem;
  margin: 0 0 .75em;
  padding-left: 0 !important;
}
.hub-related h2::before { display: none !important; }
.hub-related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.hub-related-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border-subtle, #E2E8F0);
  background: #F8FAFC;
  text-decoration: none;
  color: var(--text-dark, #0F172A);
  font-weight: 600;
  font-size: 13.5px;
  line-height: 1.35;
  transition: .15s ease;
}
.hub-related-list a:hover {
  border-color: #FECACA;
  background: #FFF1F2;
}

/* Numbered protocol steps */
.article ol.protocol-steps,
.article .protocol-steps {
  counter-reset: step;
  list-style: none;
  padding-left: 0;
}
.article ol.protocol-steps > li,
.article .protocol-steps > li {
  counter-increment: step;
  position: relative;
  padding: 12px 14px 12px 48px;
  margin-bottom: 10px;
  background: #F8FAFC;
  border-radius: 12px;
  border: 1px solid var(--border-subtle, #E2E8F0);
}
.article ol.protocol-steps > li::before,
.article .protocol-steps > li::before {
  content: counter(step);
  position: absolute;
  left: 12px;
  top: 12px;
  width: 26px;
  height: 26px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--brand-red, #E11D48), #BE123C);
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 640px) {
  .article .card-grid { grid-template-columns: 1fr; }
  .hub-related-list { grid-template-columns: 1fr; }
}

/* ========== Modern informational blocks (all tools) ========== */

.article .guideline-wrapper,
.article .guideline-wrapper-journey,
.article .guideline-wrapper-compatibility,
.article .hub-container {
  max-width: 100%;
  margin: 0;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

/* Hero intro inside article */
.article .tool-card.hero-card,
.article .hero-card {
  background: linear-gradient(145deg, #FFF1F2 0%, #F8FAFC 55%, #fff 100%);
  border: 1px solid #FECACA;
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 1.25em;
}
body.audience-public .article .hero-card {
  background: linear-gradient(145deg, #CCFBF1 0%, #F0FDFA 50%, #fff 100%);
  border-color: #99F6E4;
}
.article .hero-card .title,
.article .hero-card h1,
.article .hero-card h2 {
  font-size: 1.15rem !important;
  margin: 0 0 .5em !important;
  padding-left: 0 !important;
}
.article .hero-card .title::before,
.article .hero-card h2::before { display: none !important; }
.article .hero-card .subtitle,
.article .subtitle {
  font-size: .92rem;
  color: var(--text-muted, #64748B);
  line-height: 1.55;
  margin: 0;
}

/* Generic tool card surface */
.article .tool-card {
  background: #fff;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 16px;
  padding: 18px;
  margin: 0 0 1.1em;
  box-shadow: 0 2px 12px -4px rgba(15, 23, 42, .05);
}

/* Steps grid (donor path, protocols) */
.article .steps-grid,
.article .action-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 10px;
  margin: 0 0 1em;
}
.article .step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
  padding: 14px 10px;
  border-radius: 14px;
  border: 1.5px solid #E2E8F0;
  background: #F8FAFC;
  cursor: pointer;
  transition: .18s ease;
  font-weight: 700;
  font-size: 12.5px;
  color: #0F172A;
}
.article .step-card:hover,
.article .step-card.active {
  border-color: #FDA4AF;
  background: #FFF1F2;
  box-shadow: 0 6px 16px -6px rgba(225, 29, 72, .2);
  transform: translateY(-2px);
}
.article .step-icon {
  font-size: 1.45rem;
  line-height: 1;
}
.article .step-name,
.article .step-title {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.3;
}

/* Detail panel under steps */
.article .panel,
.article .detail-panel,
.article .step-panel,
.article #panel,
.article .info-panel {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 12px 0 0;
}
.article .panel-title,
.article .step-panel-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 .6em;
  color: #0F172A;
}
.article .panel p,
.article .step-body,
.article .step-desc {
  font-size: .92rem;
  line-height: 1.6;
  color: #334155;
  margin: 0 0 .75em;
}

/* Numbered step rows */
.article .step-row,
.article .pipeline-step,
.article .action-step,
.article .fm-step-item,
.article .em-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 14px 16px;
  margin: 0 0 10px;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
}
.article .step-number,
.article .step-num,
.article .flow-step-badge {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E11D48, #BE123C);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article .step-info,
.article .step-body {
  flex: 1;
  min-width: 0;
}

/* Timeline */
.article .timeline {
  margin: 1em 0;
  padding: 0;
  list-style: none;
  border-left: 2px solid #FECACA;
  margin-left: 8px;
}
.article .timeline-item {
  position: relative;
  padding: 0 0 18px 22px;
}
.article .timeline-node {
  position: absolute;
  left: -7px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #E11D48;
  box-shadow: 0 0 0 3px #FFF1F2;
}

/* Callouts */
.article .callout-box,
.article .alert-card,
.article .report-notice {
  border-radius: 14px;
  padding: 14px 16px;
  margin: 1em 0;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
}
.article .callout-box-danger,
.article .alert-card {
  background: #FFF1F2;
  border-color: #FECDD3;
}
.article .callout-header,
.article .alert-header {
  font-weight: 800;
  font-size: .78rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  margin: 0 0 6px;
  color: #E11D48;
}

/* Quiz */
.article .quiz-card,
.article .quiz-question {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px;
  margin: 0 0 12px;
}

/* Medicine / filter lists */
.article .med,
.article .med {
  display: block;
  padding: 12px 14px;
  margin: 0 0 8px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
}
.article .filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

/* Calc grids */
.article .calc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 12px;
  margin: 1em 0;
}

/* Soft section spacing inside long articles */
.article > h2 {
  margin-top: 1.75em;
}
.article > h2:first-child {
  margin-top: 0;
}

/* Key-value style blocks often left unstyled */
.article strong:first-child {
  color: #0F172A;
}

@media (max-width: 640px) {
  .article .steps-grid {
    grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  }
  .article .step-card {
    padding: 10px 6px;
  }
}

/* ========== Universal article typography ========== */
.article {
  font-size: 15px;
  line-height: 1.65;
  color: #1e293b;
}
.article p {
  margin: 0 0 0.9em;
  line-height: 1.65;
}
.article ul, .article ol {
  margin: 0 0 1em;
  padding-left: 1.35em;
}
.article li {
  margin: 0 0 0.4em;
  line-height: 1.55;
}
.article h2 {
  font-size: 1.2rem;
  font-weight: 800;
  margin: 1.6em 0 0.55em;
  color: #0f172a;
  line-height: 1.3;
}
.article h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 1.25em 0 0.4em;
  color: #0f172a;
}
.article h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin: 1em 0 0.35em;
}

/* ========== Hub / guideline headers ========== */
.article .hub-container,
.article .guideline-wrapper,
.article .guideline-wrapper-journey {
  max-width: 100%;
  margin: 0;
  padding: 0;
}
.article .hub-header,
.article .guideline-hero,
.article .section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px;
  margin: 0 0 1.2em;
  background: linear-gradient(135deg, #fff1f2 0%, #f8fafc 100%);
  border: 1px solid #fecaca;
  border-radius: 16px;
}
.article .hub-header-main h1,
.article .hub-header-main h2,
.article .guideline-hero h1,
.article .guideline-hero h2 {
  font-size: 1.2rem !important;
  margin: 0 0 0.4em !important;
  padding-left: 0 !important;
}
.article .hub-header-main h1::before,
.article .guideline-hero h1::before,
.article .hub-header-main h2::before {
  display: none !important;
}
.article .hub-header-main p,
.article .guideline-hero .subtitle {
  margin: 0;
  color: #64748b;
  font-size: 0.92rem;
}
.article .hub-badge,
.article .guideline-badge,
.article .status-badge,
.article .status-pill,
.article .doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 5px 12px;
  border-radius: 999px;
  background: #fff1f2;
  color: #e11d48;
  border: 1px solid #fecaca;
  white-space: nowrap;
}

/* ========== Generic content cards ========== */
.article .card-item,
.article .info-card-sub,
.article .c-card,
.article .process-item,
.article .doc-item,
.article .tech-card,
.article .food-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 10px;
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.04);
}
.article .card-grid,
.article .tips-grid,
.article .resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 12px;
  margin: 0 0 1.1em;
}
.article .card-content,
.article .c-text,
.article .tech-info,
.article .food-info {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #334155;
}
.article .c-title,
.article .tech-name,
.article .food-name,
.article .doc-title,
.article .block-title-row {
  font-weight: 700;
  font-size: 0.95rem;
  margin: 0 0 0.35em;
  color: #0f172a;
}

/* Tips */
.article .tip-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  margin: 0 0 8px;
}
.article .tip-icon {
  flex-shrink: 0;
  font-size: 1.2rem;
}
.article .tip-content {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Check / status rows */
.article .check-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #ecfdf5;
  color: #059669;
  flex-shrink: 0;
}
.article .c-m-item {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 0.88rem;
}
.article .c-m-lbl { color: #64748b; }
.article .c-m-val { font-weight: 700; color: #0f172a; }

/* Doc list */
.article .doc-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.article .doc-header {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 4px;
}
.article .doc-number {
  font-weight: 800;
  color: #e11d48;
  font-size: 0.85rem;
}

/* Tech / food timers */
.article .tech-header,
.article .food-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.article .tech-timer-box,
.article .food-timer-box {
  display: flex;
  gap: 8px;
  align-items: center;
  padding: 8px 10px;
  background: #f8fafc;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  margin-top: 8px;
}
.article .tech-timer-label,
.article .food-timer-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #64748b;
}
.article .tech-timer-text,
.article .food-timer-text {
  font-weight: 700;
  font-size: 0.9rem;
}

/* Action steps */
.article .action-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  margin: 0 0 8px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.article .action-num {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: #e11d48;
  color: #fff;
  font-weight: 800;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article .action-text {
  font-size: 0.9rem;
  line-height: 1.5;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: auto;
}
.article .action-steps-grid > .action-step {
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

/* Flow steps */
.article .flow-step-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 1em 0 0.75em;
  font-weight: 800;
  font-size: 0.85rem;
  color: #0f172a;
}
.article .flow-step-badge {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e11d48, #be123c);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 800;
}

/* Resources */
.article .resource-item,
.article .resource-card-link {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  text-decoration: none;
  color: inherit;
  margin: 0 0 8px;
}
.article .resource-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #fff1f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #e11d48;
}
.article .resource-info {
  font-size: 0.9rem;
  line-height: 1.45;
}

/* Poster blocks */
.article .poster-block {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 16px;
  margin: 0 0 12px;
}

/* Status colors */
.article .blue { color: #0284c7; }
.article .amber { color: #d97706; }
.article .status.ok,
.article .med[data-status="ok"] { border-left: 3px solid #059669; }
.article .med[data-status="warn"] { border-left: 3px solid #d97706; }
.article .med[data-status="no"] { border-left: 3px solid #e11d48; }

/* Tables inside article */
.article table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
  margin: 1em 0;
}
.article th,
.article td {
  border: 1px solid #e2e8f0;
  padding: 8px 10px;
  text-align: left;
}
.article th {
  background: #f8fafc;
  font-weight: 700;
}

/* Fix br-heavy content readability */
.article br {
  content: "";
  display: block;
  margin-bottom: 0.35em;
}

@media (max-width: 640px) {
  .article .hub-header,
  .article .guideline-hero {
    padding: 14px;
  }
  .article .card-grid {
    grid-template-columns: 1fr;
  }
}

/* Soft modern surfaces (override residual sharp corners) */
.article .section-card,
.article .tool-card,
.article .inner-card,
.article .hero-card,
.article .callout-box,
.article .callout-box-danger,
.article .hub-header,
.article .guideline-hero {
  border-radius: 16px !important;
}
.article .step-card {
  border-radius: 14px !important;
}
.article,
.article p, .article li, .article h2, .article h3 {
  font-family: 'e-Ukraine', 'e-UkraineHead', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

/* ========== Modern form controls (no square fields) ========== */
.article input[type="text"],
.article input[type="number"],
.article input[type="date"],
.article input[type="email"],
.article input[type="search"],
.article input[type="tel"],
.article select,
.article textarea,
.article .form-control,
.wrap input[type="text"],
.wrap input[type="number"],
.wrap input[type="date"],
.wrap select,
.wrap textarea,
.wrap .form-control {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  color: #0f172a;
  background: #fff;
  border: 1.5px solid #e2e8f0;
  border-radius: 12px !important;
  padding: 10px 14px;
  min-height: 42px;
  line-height: 1.3;
  box-sizing: border-box;
  transition: border-color .15s ease, box-shadow .15s ease;
  max-width: 100%;
}
.article select,
.wrap select,
.article .form-control[multiple],
.wrap select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2364748B' stroke-width='1.8' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
.article input:focus,
.article select:focus,
.article textarea:focus,
.article .form-control:focus,
.wrap input:focus,
.wrap select:focus,
.wrap .form-control:focus {
  outline: none;
  border-color: #fda4af;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}
.article textarea,
.wrap textarea {
  min-height: 96px;
  border-radius: 14px !important;
  resize: vertical;
}

/* Buttons */
.article button,
.article .btn,
.article .btn-calc,
.article .btn-primary,
.article .btn-option,
.wrap button.btn-calc,
.wrap .btn-calc,
.wrap .btn-primary {
  appearance: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #e11d48 0%, #be123c 100%);
  border: none;
  border-radius: 14px !important;
  padding: 12px 20px;
  min-height: 46px;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.25);
  transition: transform .15s ease, box-shadow .15s ease;
}
.article button:hover,
.article .btn-calc:hover,
.wrap .btn-calc:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(225, 29, 72, 0.32);
}
.article button:active,
.wrap .btn-calc:active {
  transform: translateY(0);
}

/* Calculator layout grid */
.article .calc-grid,
.article .form-grid,
.article .calculator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px 16px;
  margin: 1em 0;
  align-items: end;
}
.article .form-group,
.article .calc-field,
.article .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article .form-group label,
.article .calc-field label,
.article label {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
}

/* Result cards soft */
.article .result-card,
.article .calc-result,
.article .status-box {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px !important;
  padding: 14px 16px;
  margin: 10px 0;
}

/* Kill residual sharp corners on common wrappers */
.article [class*="card"],
.article [class*="panel"],
.article [class*="box"]:not([class*="icon"]) {
  border-radius: 14px;
}

/* Calculator shell + results */
.article .guideline-wrapper-calc {
  background: linear-gradient(160deg, #ecfeff 0%, #f0fdfa 40%, #ffffff 100%);
  border: 1px solid #a5f3fc;
  border-radius: 20px !important;
  padding: 22px 20px;
  margin: 0 0 1.5em;
}
.article .guideline-wrapper-calc .hero-card {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
  margin: 0 0 1em;
}
.article .form-label {
  font-size: 12.5px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 4px;
  display: block;
}
.article .btn-calc {
  width: 100%;
  align-self: stretch;
  border-radius: 14px !important;
}
.article .calc-grid .btn-calc,
.article .calc-grid > button {
  grid-column: span 1;
}
.article .result-section,
.article .results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 12px;
  margin-top: 16px;
}
.article .res-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px !important;
  padding: 14px 16px;
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, 0.06);
}
.article .res-card-title {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 8px;
}
.article .res-highlight {
  font-size: 1.25rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0 0 8px;
  letter-spacing: -0.02em;
}
.article .res-highlight-green { color: #059669; }
.article .res-highlight-amber { color: #d97706; }
.article .res-highlight-red { color: #e11d48; }

/* Soften tiny residual radii */
.article * {
  /* do not force on pseudo */
}

/* ===== Orphaned layout blocks used by several long-form tool pages ===== */
.article .axis-branch,
.axis-branch {
  position: relative;
  padding-left: 28px;
  margin: 28px 0;
  border-left: 2px solid #E2E8F0;
}

.article .axis-node,
.axis-node {
  position: absolute;
  left: -7px;
  top: 8px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-red, #E11D48);
  box-shadow: 0 0 0 4px rgba(225, 29, 72, 0.12);
}

.article .guide-card,
.guide-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 22px 18px;
  box-shadow: 0 4px 18px -6px rgba(15, 23, 42, 0.06);
  margin-bottom: 8px;
}

.article .guide-card h2,
.guide-card h2 {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.3;
  color: #0F172A;
}

.article .guide-card > p,
.guide-card > p {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 16px;
}

.article .content-grid,
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.article .content-box,
.content-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 16px 14px;
  transition: border-color .2s, box-shadow .2s;
}

.article .content-box:hover,
.content-box:hover {
  border-color: #FECACA;
  box-shadow: 0 4px 14px -4px rgba(225, 29, 72, 0.08);
}

.article .content-box > div:first-child,
.content-box > div:first-child {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--brand-red, #E11D48) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em;
  margin-bottom: 6px !important;
}

.article .box-title,
.box-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
  line-height: 1.35;
}

.article .box-desc,
.box-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

/* Resource cards that appear on many pages */
.article .resources-grid,
.resources-grid {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.article .resource-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.article .resource-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: border-color .2s, box-shadow .2s;
}

.article .resource-card-link:hover .resource-item {
  border-color: #BAE6FD;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.08);
}

.article .resource-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748B;
}

.article .resource-icon svg {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
}

.article .resource-info {
  flex: 1;
  min-width: 0;
}

.article .resource-info strong,
.article .resource-info .resource-title {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 2px;
}

.article .resource-info p,
.article .resource-info .resource-desc {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

/* Tables inside guide cards */
.article .table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
}

.article .guide-card table,
.guide-card table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}

.article .guide-card th,
.guide-card th {
  background: #F1F5F9;
  font-weight: 600;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
}

.article .guide-card td,
.guide-card td {
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
  color: #334155;
  vertical-align: top;
}

/* Prevent emoji / icon-only elements from scaling insanely */
.article img[src*="emoji"],
.article .emoji {
  width: 1.25em;
  height: 1.25em;
  vertical-align: -0.2em;
}

/* Soft warning / info callouts that appear as plain text + emoji */
.article p:has(> strong:first-child) {
  /* keep readable */
}

/* step-box pattern used on organisation pages */
.article .step-box,
.step-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 12px;
}
.article .step-box.success,
.step-box.success {
  background: #F0FDF4;
  border-color: #BBF7D0;
}
.article .step-box .step-title,
.step-box .step-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
}
.article .step-box .step-desc,
.step-box .step-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}
.article .arrow-down {
  text-align: center;
  color: #94A3B8;
  font-size: 18px;
  margin: 4px 0;
  line-height: 1;
}
.article .workflow-cell {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px;
}
.article .doc-list-title {
  font-size: 14px;
  font-weight: 800;
  margin: 12px 0 8px;
  color: #0F172A;
}

/* ===== Fix multi-column content cards (WBB comparison etc.) ===== */
.article .cards-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)) !important;
  gap: 16px !important;
  width: 100% !important;
  margin: 16px 0 24px !important;
}

.article .cards-grid > .card-item {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 18px 16px;
  margin: 0;
  box-shadow: 0 2px 10px -4px rgba(15, 23, 42, 0.06);
  display: flex;
  flex-direction: column;
  min-width: 0; /* critical: allow shrink without text overflow */
  overflow: hidden;
}

.article .card-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.article .card-header-row .card-title {
  font-size: 15px;
  font-weight: 800;
  color: #0F172A;
  margin: 0;
  line-height: 1.35;
  flex: 1 1 auto;
  min-width: 0;
  word-break: break-word;
}

.article .card-tag {
  flex-shrink: 0;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}
.article .card-tag.critical {
  background: #FFF1F2;
  color: #BE123C;
  border: 1px solid #FECDD3;
}
.article .card-tag.process {
  background: #F0F9FF;
  color: #0369A1;
  border: 1px solid #BAE6FD;
}

.article .card-desc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article .card-desc-list li {
  font-size: 13.5px;
  line-height: 1.55;
  color: #334155;
  padding-left: 0;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.article .card-desc-list li b {
  color: #0F172A;
  font-weight: 700;
}

/* Prevent any absolute/fixed badges from overlapping content in reader iframe */
.article .badge,
.article [class*="badge"] {
  position: static !important;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Reader iframe content safety */
html.is-embedded body,
body.is-embedded {
  background: #fff !important;
}
body.is-embedded .hdr,
body.is-embedded .wip-banner,
body.is-embedded .ft,
body.is-embedded .related-materials {
  display: none !important;
}
body.is-embedded .wrap {
  max-width: 100%;
  padding: 12px 16px 32px;
}
body.is-embedded .article {
  box-shadow: none;
  border: none;
  padding: 0;
}

/* Section titles and alert boxes used in long-form pages */
.article .hub-section-title,
.article h2.hub-section-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #0F172A;
  margin: 28px 0 14px;
  line-height: 1.35;
  padding-bottom: 8px;
  border-bottom: 2px solid #F1F5F9;
}

.article .alert-hero-box {
  background: linear-gradient(135deg, #FFF1F2 0%, #FFF7ED 100%);
  border: 1px solid #FECDD3;
  border-left: 4px solid #E11D48;
  border-radius: 14px;
  padding: 18px 20px;
  margin: 16px 0 24px;
  font-size: 14.5px;
  line-height: 1.65;
  color: #334155;
}
.article .alert-hero-box b {
  color: #0F172A;
}

.article .subtitle {
  font-size: 15px;
  color: #64748B;
  line-height: 1.6;
  margin: 0 0 16px;
}

/* Ensure lists never overflow */
.article ul, .article ol {
  padding-left: 1.35em;
  max-width: 100%;
}
.article li {
  overflow-wrap: anywhere;
}

/* ===== Batch layout fixes for remaining content patterns ===== */

/* Tool items (equipment lists etc.) */
.article .tool-item,
.tool-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 10px;
}
.article .tool-item-title,
.tool-item-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
}
.article .tool-item-desc,
.tool-item-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
}

/* Data tables */
.article .data-table,
.article .table-responsive,
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 12px 0 20px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}
.article .data-table table,
.article table.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.article .data-table th,
.article .data-table td {
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
  text-align: left;
  vertical-align: top;
}
.article .data-table th {
  background: #F1F5F9;
  font-weight: 700;
}

/* Wells / callout wells */
.article .well {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px 18px;
  margin: 12px 0;
}

/* Message bubbles (communication scripts) */
.article .msg-bubble {
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  border-radius: 14px;
  padding: 12px 16px;
  margin: 8px 0;
  font-size: 14px;
  line-height: 1.55;
  color: #0F172A;
}
.article .msg-bubble.msg-recruiter {
  background: #FFF1F2;
  border-color: #FECDD3;
}
.article .msg-author {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
  margin-bottom: 4px;
}

/* Tech / food timer cards */
.article .tech-timer-icon,
.article .food-timer-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
}
.article .tech-timer-content,
.article .food-timer-content {
  flex: 1;
  min-width: 0;
}
.article .tech-source,
.article .food-source {
  font-size: 12px;
  color: #94A3B8;
  margin-top: 4px;
}

/* Metrics / bullets */
.article .c-metrics,
.article .fm-bullet {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}
.article .fm-badge {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 6px;
  background: #F1F5F9;
  color: #475569;
}

/* Input fields (calculators) */
.article .input-wrapper,
.input-wrapper {
  margin: 0 0 14px;
}
.article .input-field,
.input-field {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px 14px;
  border: 1.5px solid #E2E8F0;
  border-radius: 10px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: #0F172A;
  transition: border-color .15s;
}
.article .input-field:focus,
.input-field:focus {
  outline: none;
  border-color: #E11D48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.12);
}
.article .unit-badge,
.unit-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: #64748B;
  background: #F1F5F9;
  padding: 4px 8px;
  border-radius: 6px;
  margin-left: 6px;
}

/* Quiz / options */
.article .options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 200px), 1fr));
  gap: 10px;
  margin: 12px 0;
}
.article .feedback-box {
  border-radius: 12px;
  padding: 14px 16px;
  margin: 12px 0;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
}
.article .feedback-title {
  font-weight: 800;
  font-size: 14px;
  margin: 0 0 4px;
}
.article .feedback-text {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}

/* Badges MOZ / ban */
.article .badge-moz {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #EFF6FF;
  color: #1D4ED8;
  border: 1px solid #BFDBFE;
}
.article .badge-ban {
  display: inline-flex;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 999px;
  background: #FEF2F2;
  color: #B91C1C;
  border: 1px solid #FECACA;
}

/* Stand / divider */
.article .stand-divider-line {
  height: 1px;
  background: #E2E8F0;
  margin: 20px 0;
  border: none;
}

/* Tag buttons */
.article .tag-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid #E2E8F0;
  background: #fff;
  color: #334155;
  cursor: pointer;
}

/* Generic desc */
.article .desc {
  font-size: 14px;
  color: #475569;
  line-height: 1.6;
  margin: 0 0 12px;
}

/* Ensure all images in article are responsive */
.article img {
  max-width: 100%;
  height: auto;
  display: block;
}
.article figure {
  margin: 16px 0;
  max-width: 100%;
}

/* Prevent horizontal scroll from any child */
.article,
.wrap,
main.wrap {
  overflow-x: clip;
  max-width: 100%;
}

/* tool-card consistency */
.article .tool-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 16px;
  box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.05);
}
.article .tool-card.hero-card {
  background: linear-gradient(165deg, #FFF1F2 0%, #fff 55%);
  border-color: #FECDD3;
}
.article .tool-card .section-title,
.article .section-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
  line-height: 1.35;
}

/* Inner cards */
.article .inner-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 10px;
}
.article .inner-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Callout boxes already partially styled - reinforce */
.article .callout-box {
  border-radius: 12px;
  padding: 16px 18px;
  margin: 12px 0;
}

/* ===== Medications page: search + filters + cards ===== */
.article .tools {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0 0 16px;
}
.article .sw {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 10px 14px;
}
.article .sw svg {
  width: 20px !important;
  height: 20px !important;
  max-width: 20px !important;
  max-height: 20px !important;
  flex-shrink: 0;
  color: #94A3B8;
}
.article .sw input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 15px;
  font-family: inherit;
  background: transparent;
  color: #0F172A;
  min-width: 0;
}
.article .filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article .fchip {
  appearance: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  background: #FEE2E2;
  color: #BE123C;
  transition: background .15s, color .15s, transform .15s;
}
.article .fchip:hover { background: #FECACA; }
.article .fchip.active {
  background: #E11D48;
  color: #fff;
}
.article .legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 20px;
  font-size: 12.5px;
  color: #64748B;
  margin: 0 0 16px;
  font-weight: 600;
}
.article .legend .dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}
.article .legend .dot.ok { background: #059669; }
.article .legend .dot.temp { background: #D97706; }
.article .legend .dot.no { background: #E11D48; }

.article .med-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article .med {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #fff !important;
  border: 1px solid #E2E8F0 !important;
  border-radius: 14px !important;
  padding: 16px 18px !important;
  margin: 0 !important;
}
.article .med .status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 8px;
  white-space: nowrap;
}
.article .med .status.ok {
  background: #ECFDF5;
  color: #047857;
}
.article .med .status.temp {
  background: #FFFBEB;
  color: #B45309;
}
.article .med .status.no {
  background: #FEF2F2;
  color: #B91C1C;
}
.article .med h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #0F172A;
}
.article .med .desc {
  font-size: 13.5px;
  color: #475569;
  margin: 0 0 8px;
  line-height: 1.5;
}
.article .med .defer {
  font-size: 13px;
  color: #334155;
  margin: 0 0 4px;
  line-height: 1.45;
}
.article .med .src {
  font-size: 11.5px;
  color: #94A3B8;
  font-weight: 600;
}
.article .med .db {
  color: #64748B;
  font-weight: 500;
}
.article .med[data-status="ok"] { border-left: 4px solid #059669 !important; }
.article .med[data-status="temp"] { border-left: 4px solid #D97706 !important; }
.article .med[data-status="no"] { border-left: 4px solid #E11D48 !important; }

/* ===== Sources as cards (screenshot 4 style) ===== */
.article .sources-grid,
.article .resources-grid.sources-style {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 12px;
  margin: 16px 0 8px;
}
.article .source-card,
.article .resources-grid .resource-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px;
  min-width: 0;
}
.article .source-card .source-icon,
.article .resource-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
}
.article .source-card h4,
.article .source-card .source-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 4px;
  line-height: 1.35;
}
.article .source-card p,
.article .source-card .source-desc {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.45;
}

/* Tool-card section titled "Джерела" — upgrade plain lists to cards */
.article .tool-card .section-title + ul:not(.sources-list),
.article h2.section-title + ul:not(.sources-list) {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
  gap: 10px;
}
.article .tool-card .section-title + ul:not(.sources-list) > li,
.article h2.section-title + ul:not(.sources-list) > li {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
  margin: 0;
}

/* ===== Fix narrow step columns (screenshot 5) ===== */
/* Prefer fewer wider columns so text doesn't break mid-word */
.article .steps-row,
.article .steps-grid,
.article .bio-probe-steps,
.article .numbered-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
  margin: 12px 0 16px;
}
.article .steps-row > *,
.article .steps-grid > *,
.article .bio-probe-steps > *,
.article .numbered-steps > * {
  min-width: 0;
  overflow: visible;
  word-break: normal;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Never clip text inside content cards */
.article .cards-grid > .card-item,
.article .content-box,
.article .step-box,
.article .tool-card,
.article .inner-card {
  overflow: visible !important;
}

/* Softer min for comparison grids — allow 2 cols on tablet instead of crushing to 4 narrow */
@media (max-width: 900px) {
  .article .cards-grid {
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)) !important;
  }
}
@media (max-width: 560px) {
  .article .cards-grid {
    grid-template-columns: 1fr !important;
  }
  .article .steps-row,
  .article .steps-grid,
  .article .numbered-steps {
    grid-template-columns: 1fr;
  }
}

/* Good example blocks (screenshot 6): two equal comparison cards */
.article .compare-grid,
.article .duo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 14px;
  margin: 14px 0 20px;
}
.article .compare-card {
  border-radius: 16px;
  padding: 18px 20px;
  min-width: 0;
}
.article .compare-card.heme {
  background: #FFF1F2;
  border: 1px solid #FECDD3;
}
.article .compare-card.nonheme {
  background: #ECFDF5;
  border: 1px solid #A7F3D0;
}
.article .compare-card h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.35;
}

/* ===== Modern calculator UI ===== */
.article .container {
  max-width: 100%;
  margin: 0 auto;
}
.article .hero-header {
  text-align: center;
  margin: 0 0 20px;
  padding: 8px 0 4px;
}
.article .hero-title {
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.3;
}
.article .hero-subtitle {
  font-size: 14.5px;
  color: #64748B;
  margin: 0 auto;
  max-width: 52ch;
  line-height: 1.55;
}
.article .notice-banner {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 100%);
  border: 1px solid #FCD34D;
  border-left: 4px solid #D97706;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 20px;
  text-align: left;
}
.article .notice-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  line-height: 1.2;
}
.article .notice-text {
  font-size: 13.5px;
  color: #78350F;
  line-height: 1.55;
}
.article .notice-text strong {
  color: #92400E;
}

/* Two-column calc: inputs | results */
.article .calc-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)) !important;
  gap: 18px !important;
  margin: 0 0 20px !important;
  align-items: start !important;
}
.article .section-card {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 20px 20px 18px;
  box-shadow: 0 4px 16px -6px rgba(15, 23, 42, 0.06);
  min-width: 0;
}
.article .section-card > .section-title {
  text-align: left;
  font-size: 1rem;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #F1F5F9;
}
.article .form-group {
  margin: 0 0 14px;
}
.article .form-group:last-child {
  margin-bottom: 0;
}
.article .form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #475569;
  margin: 0 0 6px;
}
.article .input-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  padding: 4px 4px 4px 12px;
  transition: border-color .15s, box-shadow .15s;
}
.article .input-wrapper:focus-within {
  border-color: #E11D48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
  background: #fff;
}
.article .input-wrapper .input-field {
  flex: 1;
  border: none !important;
  background: transparent !important;
  box-shadow: none !important;
  padding: 8px 0 !important;
  min-width: 0;
  font-size: 15px;
  font-weight: 600;
  color: #0F172A;
}
.article .input-wrapper .unit-badge {
  flex-shrink: 0;
  background: #fff;
  border: 1px solid #E2E8F0;
  color: #64748B;
  font-size: 12px;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 8px;
  margin: 0;
}
.article .select-field {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  font-weight: 600;
  color: #0F172A;
  background: #F8FAFC;
  cursor: pointer;
}
.article .select-field:focus {
  outline: none;
  border-color: #E11D48;
  background: #fff;
}
.article .radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.article .radio-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  color: #334155;
  transition: border-color .15s, background .15s;
}
.article .radio-label:has(input:checked) {
  border-color: #E11D48;
  background: #FFF1F2;
  color: #BE123C;
}
.article .radio-label input {
  accent-color: #E11D48;
}

/* Results */
.article .result-card {
  background: linear-gradient(165deg, #F8FAFC 0%, #fff 100%);
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px 18px;
  margin: 0 0 12px;
  text-align: center;
}
.article .result-card.highlight {
  background: linear-gradient(165deg, #FFF1F2 0%, #fff 70%);
  border-color: #FECDD3;
}
.article .result-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
  margin: 0 0 6px;
}
.article .result-card [id^="res"],
.article .result-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.2;
}

/* Sources card under calculators */
.article .sources-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 18px 20px;
  margin: 8px 0 0;
  text-align: left;
}
.article .sources-title {
  font-size: 14px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 12px;
}
.article .sources-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article .sources-list li {
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
  padding: 12px 14px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  margin: 0;
}
.article .sources-list .tag-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 3px 8px;
  border-radius: 6px;
  background: #EEF2FF;
  color: #4338CA;
  margin-right: 6px;
  vertical-align: middle;
}

/* ===== Centered content where appropriate ===== */
.article .hero-header,
.article .badge,
.article .toc-box,
.article .scheme-caption,
.article .result-card,
.article .action-num,
.article .step-num,
.article .csv3-step-num {
  text-align: center;
}
/* Step numbers / badges centered in their boxes */
.article .action-steps-grid > .action-step {
  text-align: left;
}
.article .action-steps-grid > .action-step .action-num {
  align-self: flex-start;
}
/* Comparison / duo cards: title can stay left, emoji headers centered feel */
.article .compare-card h3,
.article .content-box .box-title {
  text-align: left;
}
/* Poster step cards with big numbers — center the number row */
.article .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Scheme / illustration integration */
.article .scheme-block {
  margin: 20px auto;
  max-width: 100%;
  text-align: center;
}
.article .scheme-block + p,
.article p + .scheme-block {
  margin-top: 16px;
}
.article figure.scheme-block img {
  margin: 0 auto;
  border-radius: 12px;
}

/* Modern section rhythm */
.article .tool-card.hero-card {
  text-align: left;
}
.article .tool-card.hero-card .title,
.article .tool-card.hero-card h2 {
  text-align: left;
}

/* ===== Ethics / recruiter communication pages ===== */
.article .ethics-wrapper { max-width: 100%; }
.article .ethics-hero {
  text-align: center;
  margin: 0 0 24px;
  padding: 8px 0;
}
.article .ethics-badge {
  display: inline-flex;
  margin-bottom: 10px;
}
.article .ethics-badge span {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 999px;
  background: #EEF2FF;
  color: #4338CA;
}
.article .ethics-hero h2 {
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0 0 8px;
  text-align: center;
}
.article .ethics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
  margin: 14px 0 8px;
}
.article .ethics-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 16px;
  min-width: 0;
}
.article .ethics-item-title {
  font-size: 14.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.35;
}
.article .ethics-item-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}
.article .dialogue-box {
  margin: 10px 0 16px;
}
.article .clinical-axis {
  position: relative;
}

/* ===== Guideline / section-block pattern (bacterial control etc.) ===== */
.article .guideline-wrapper {
  max-width: 100%;
}
.article .header-card {
  background: linear-gradient(165deg, #FFF1F2 0%, #fff 55%);
  border: 1px solid #FECDD3;
  border-radius: 18px;
  padding: 22px 24px;
  margin: 0 0 20px;
}
.article .header-card .badge-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #BE123C;
  background: #FFE4E6;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 10px;
}
.article .section-block {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 22px;
  margin: 0 0 16px;
  box-shadow: 0 2px 12px -4px rgba(15, 23, 42, 0.05);
}
.article .section-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 14px;
}
.article .section-header .step-number {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, #E11D48, #BE123C);
  color: #fff;
  font-weight: 800;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.article .section-header .section-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  border: none;
  padding: 0;
}
.article .info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
  gap: 12px;
  margin: 12px 0;
}
.article .info-card-sub {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  min-width: 0;
}
.article .process-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.article .process-item {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.55;
  margin: 0;
}

/* ===== Medications page — original-quality styles (global, not only .article) ===== */
.tools {
  background: #fff;
  border: 1.5px solid #E7E5E4;
  border-radius: 14px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sw { position: relative; }
.sw input {
  width: 100%;
  height: 46px;
  padding: 0 16px 0 44px;
  border: 1.5px solid #E7E5E4;
  border-radius: 999px;
  font-size: 14.5px;
  font-family: inherit;
  outline: none;
  background: #fff;
  box-sizing: border-box;
}
.sw input:focus {
  border-color: #E11D48;
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}
.sw svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  color: #78716C;
  pointer-events: none;
}
.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid #E7E5E4;
  background: #fff;
  cursor: pointer;
  color: #1C1917;
  font-family: inherit;
}
.fchip.active, .fchip:hover {
  border-color: #E11D48;
  color: #E11D48;
  background: #FFF1F2;
}
.fchip[data-f="ok"].active { border-color: #059669; color: #047857; background: #ECFDF5; }
.fchip[data-f="temp"].active { border-color: #D97706; color: #B45309; background: #FFFBEB; }
.fchip[data-f="no"].active { border-color: #DC2626; color: #B91C1C; background: #FEF2F2; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 14px;
  font-size: 12.5px;
  font-weight: 700;
  color: #57534E;
}
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.dot.ok { background: #059669; }
.dot.temp { background: #D97706; }
.dot.no { background: #DC2626; }
.med-list { display: grid; gap: 10px; }
.med {
  background: #fff !important;
  border: 1.5px solid #E7E5E4 !important;
  border-radius: 14px !important;
  padding: 14px 16px !important;
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  margin: 0 !important;
}
.med.hidden { display: none !important; }
.med .status, .status {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  height: fit-content;
  display: inline-block;
}
.status.ok { background: #ECFDF5 !important; color: #047857 !important; }
.status.temp { background: #FFFBEB !important; color: #B45309 !important; }
.status.no { background: #FEF2F2 !important; color: #B91C1C !important; }
.med[data-status="ok"] { border-left: 4px solid #059669 !important; }
.med[data-status="temp"] { border-left: 4px solid #D97706 !important; }
.med[data-status="no"] { border-left: 4px solid #E11D48 !important; }
.med h3 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #1C1917;
}
.med .desc {
  font-size: 13.5px;
  color: #78716C;
  margin: 0 0 6px;
  line-height: 1.4;
}
.med .defer {
  font-size: 13px;
  font-weight: 700;
  color: #1C1917;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.med .src {
  font-size: 11.5px;
  color: #78716C;
  margin-top: 4px;
}
.med .db, .db {
  background: #F5F5F4;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
}
@media (max-width: 600px) {
  .med { grid-template-columns: 1fr; }
  .status { width: fit-content; }
}

/* Ensure sources never appear after site footer */
.ft + #dzherela,
.ft ~ #dzherela {
  display: none; /* safety: sources must live inside article */
}

/* Quick search chips on medications page */
.quick-queries {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 10px 0 4px;
}
.qq-label {
  font-size: 12px;
  font-weight: 700;
  color: #78716C;
}
.qq-chip {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1.5px solid #E7E5E4;
  background: #fff;
  color: #1C1917;
  cursor: pointer;
  font-family: inherit;
}
.qq-chip:hover {
  border-color: #E11D48;
  color: #E11D48;
  background: #FFF1F2;
}

/* Print: poster / checklist only */
@media print {
  .hub-hdr, .wip-banner, .reader-chrome, .idea-btn,
  .related-materials, .ft, .disclaimer, .toc-box,
  .badge, .meta, .breadcrumb, .tools .sw,
  #readerPanel, .quick-queries, .filters, .legend {
    display: none !important;
  }
  body { background: #fff !important; }
  .article, .wrap, main.wrap {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
  }
  .poster-sheet, .poster-root, .tool-card {
    break-inside: avoid;
    page-break-inside: avoid;
  }
}

/* ===== QA: unified typography scale for tool pages ===== */
main.wrap .title,
.wrap > .title {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}
main.wrap .badge {
  margin-bottom: 10px;
}
main.wrap .meta {
  font-size: 13px;
  color: #64748B;
  margin: 0 0 18px;
}
.article {
  font-size: 15px;
  line-height: 1.6;
  color: #334155;
}
.article > .lead,
.article p.lead {
  font-size: 1.02rem;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 20px;
}
.article h2,
.article .section-title {
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.3;
  color: #0F172A;
  margin: 0 0 12px;
}
.article h3 {
  font-size: 0.98rem;
  font-weight: 800;
  line-height: 1.35;
  color: #0F172A;
  margin: 16px 0 8px;
}
.article p {
  margin: 0 0 12px;
  line-height: 1.6;
}
.article ul, .article ol {
  margin: 0 0 14px;
  padding-left: 1.25em;
  line-height: 1.55;
}
.article li {
  margin-bottom: 6px;
}

/* Vertical rhythm for cards */
.article .tool-card,
.article .section-card,
.article .section-block,
.article .callout-box {
  margin: 0 0 16px;
}
.article .tool-card,
.article .section-card {
  padding: 20px 22px;
}

/* Scheme captions */
.article .scheme-block {
  margin: 0 0 20px;
}
.article .scheme-caption {
  font-size: 13px;
  color: #64748B;
  text-align: center;
  margin-top: 8px;
  line-height: 1.4;
}

/* Related materials — clearer separation */
.related-materials {
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid #E2E8F0;
}
.related-materials > h2,
.related-materials .related-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 16px;
  text-align: center;
}

/* WIP banner — compact */
.wip-banner {
  font-size: 12.5px !important;
  padding: 8px 14px !important;
  gap: 8px !important;
}
.wip-banner strong {
  font-weight: 800;
}

/* Footer note — less wall-of-text */
.ft-note {
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

/* TOC */
.article-toc {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 14px;
  padding: 14px 18px;
  margin: 0 0 22px;
}
.article-toc-title {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748B;
  margin: 0 0 10px;
}
.article-toc ol {
  margin: 0;
  padding-left: 1.2em;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.article-toc a {
  color: #0F172A;
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.35;
}
.article-toc a:hover {
  color: #E11D48;
}

/* Index secondary hero head */
.hero-subhead {
  font-size: clamp(1.15rem, 2vw, 1.4rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
}

/* Empty med search hint */
.empty-msg.show {
  display: block;
  text-align: center;
  padding: 28px 16px;
  color: #78716C;
  font-size: 14.5px;
}

/* ===== Inline-style extraction: reusable utilities ===== */
.u-mt-32 { margin-top: 32px !important; }
.u-mb-16 { margin-bottom: 16px !important; }
.u-text-muted { color: #64748B !important; }
.u-text-body { color: #334155 !important; }
.u-text-heading { color: #0F172A !important; }
.u-text-sm { font-size: 0.875rem !important; line-height: 1.5 !important; }
.u-text-xs { font-size: 0.75rem !important; color: #64748B !important; }
.u-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}
.u-card-border {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 12px;
  padding: 16px;
}
.u-table-cell {
  border: 1px solid #000;
  padding: 8px;
}
.u-pad-sm { padding: 8px 12px; }
.u-center { text-align: center; }
.u-input {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}
.u-desc {
  font-size: 0.875rem;
  color: #475569;
  margin: 0;
  line-height: 1.5;
}
.u-lead-sm {
  font-size: 0.925rem;
  color: #334155;
  margin-bottom: 16px;
}
.u-h-accent { font-size: 1.2rem; }

/* Poster / SOP table polish */
.article table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 14px;
}
.article table th,
.article table td {
  border: 1px solid #CBD5E1;
  padding: 8px 10px;
  vertical-align: top;
  line-height: 1.4;
}
.article table th {
  background: #F8FAFC;
  font-weight: 800;
  color: #0F172A;
  text-align: left;
}

/* Soften legacy black borders on poster tables */
.article table[style*="border"],
.article td[style*="border:1px solid #000"],
.article th[style*="border:1px solid #000"] {
  border-color: #CBD5E1 !important;
}

.u-rotate-180 { transform: rotate(180deg); }
.u-mt-14 { margin-top: 14px !important; }

/* ===== SOP constructor form UI ===== */
.sop-label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}
.sop-label-strong {
  display: block;
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 8px;
}
.sop-input,
.sop-select,
.sop-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  box-sizing: border-box;
  background: #fff;
}
.sop-textarea { min-height: 88px; resize: vertical; }
.sop-panel {
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 16px;
  background: #FFF;
  margin-bottom: 12px;
}
.sop-table td,
.sop-table th {
  border: 1px solid #CBD5E1;
  padding: 6px 8px;
}
.sop-shell {
  background: #FFFFFF;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

/* ===== Generic data tables in guides ===== */
.guide-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 16px;
  font-size: 13.5px;
}
.guide-table th {
  background: #F8FAFC;
  font-weight: 800;
  color: #0F172A;
  text-align: left;
  padding: 10px 14px;
  border-bottom: 1px solid #E2E8F0;
}
.guide-table td {
  padding: 10px 14px;
  color: #334155;
  border-bottom: 1px solid #E2E8F0;
  vertical-align: top;
  line-height: 1.45;
}
.guide-table tr:last-child td { border-bottom: none; }
.guide-table td.center { text-align: center; }

.warn-soft {
  background: #FFF1F2;
  border: 1px solid #FDA4AF;
  border-radius: 12px;
  padding: 18px;
  margin: 0 0 14px;
}
.warn-soft-title {
  font-size: 14.5px;
  font-weight: 700;
  color: #9F1239;
  margin-bottom: 6px;
}
.warn-soft-text {
  font-size: 13.5px;
  color: #4C0519;
  margin: 0;
  line-height: 1.5;
}
.eyebrow-red {
  font-size: 11px;
  font-weight: 800;
  color: var(--brand-red, #E11D48);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.04em;
}

/* Semantic color utilities (replace repeated inline colors) */
.c-slate { color: #0F172A !important; }
.c-muted { color: #64748B !important; }
.c-body { color: #475569 !important; }
.c-blue { color: #0284C7 !important; }
.c-red { color: #E11D48 !important; }
.c-green { color: #166534 !important; }
.c-green-bright { color: #16A34A !important; }
.c-amber { color: #D97706 !important; }
.c-rose { color: #BE123C !important; }
.c-violet { color: #7C3AED !important; }
.c-brand { color: var(--brand-red, #E11D48) !important; }
.c-ok { color: var(--status-green, #16A34A) !important; }
.c-bad { color: var(--status-red, #E11D48) !important; }

.icon-line-red {
  color: #E11D48;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.icon-line-blue {
  color: #0284C7;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.icon-line-green {
  color: #166534;
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
}
.subhead-sm {
  color: #0F172A;
  font-size: 0.85rem;
}
.section-h {
  font-size: 1rem;
  font-weight: 700;
  margin: 20px 0 12px 0;
}
.caption-xs {
  font-size: 12px;
  color: #64748B;
  margin: 8px 0 0 0;
}
.w-25 { width: 25%; }
.w-22 { width: 22%; }
.w-23 { width: 23%; }
.w-30 { width: 30%; }
.card-soft {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  transition: all 0.2s;
}
.card-soft-blue {
  background: #F0F9FF;
  border-color: #E0F2FE;
}
.scroll-x { overflow-x: auto; }
.fw-600 { font-weight: 600; }
.fs-11 { font-size: 11px; font-weight: 600; }
.sub-note {
  font-size: 12.5px;
  color: #475569;
  margin-top: -8px;
  margin-bottom: 14px;
}
.status-title-ok {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--status-green, #16A34A);
}
.status-title-bad {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--status-red, #E11D48);
}

/* More shared patterns */
.warn-soft-sm {
  background: #FFF1F2;
  border: 1px solid #FDA4AF;
  border-radius: 12px;
  padding: 16px;
  margin: 0 0 12px;
}
.warn-soft-sm .t {
  font-size: 14px;
  font-weight: 700;
  color: #9F1239;
  margin-bottom: 6px;
}
.warn-soft-sm .d {
  font-size: 13px;
  color: #4C0519;
  margin: 0;
  line-height: 1.5;
}
.grid-auto-260 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.panel-muted {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle, #E2E8F0);
  border-radius: 12px;
  padding: 20px;
}
.list-clean {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #334155;
}
.accent-top-blue {
  border-top: 4px solid var(--brand-blue, #0284C7);
  margin-top: 0;
}
.chip-blue {
  background: #E0F2FE;
  color: #0369A1;
}
.chip-rose {
  background: #FFE4E6;
  color: #9F1239;
}
.h-block {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}
.h-block-lg {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
}
.icon-xl { font-size: 22px; }
.icon-lg { font-size: 18px; }
.meta-line {
  color: var(--primary-blue, #0284C7);
  font-size: 13px;
  display: block;
}
.meta-muted {
  font-size: 12px;
  color: var(--text-muted, #64748B);
}
.row-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  padding: 8px 12px;
}
.box-pad {
  background: var(--bg-main, #F8FAFC);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color, #E2E8F0);
}
.amber-box {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  border-radius: 12px;
  padding: 20px 24px;
}
.yellow-bg { background: #FEF9C3; }
.gray-bg { background: #F3F4F6; }
.w-15 { width: 15%; }
.w-35 { width: 35%; }
.w-40 { width: 40%; }
.w-65 { width: 65%; }
.w-88 { width: 88%; }
.fs-13-600 { font-size: 13px; font-weight: 600; }

.sop-tabs {
  display: inline-flex;
  background: #F1F5F9;
  padding: 4px;
  border-radius: 999px;
  border: 1px solid #CBD5E1;
  gap: 2px;
  flex-wrap: wrap;
}
.sop-tab {
  background: transparent;
  color: #64748B;
  border: none;
  padding: 8px 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
}
.sop-tab-active,
.sop-tab.active {
  background: #E11D48;
  color: #FFFFFF;
}
.w-18 { width: 18%; }

/* =========================================================
   BLOCK DESIGN SYSTEM — structured modern presentation
   ========================================================= */

/* --- Article canvas --- */
.article {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* --- Lead --- */
.article > .lead,
.article p.lead {
  font-size: 1.05rem;
  line-height: 1.6;
  color: #475569;
  padding: 14px 18px;
  background: linear-gradient(135deg, #F8FAFC 0%, #F1F5F9 100%);
  border-left: 3px solid #E11D48;
  border-radius: 0 12px 12px 0;
  margin: 0 0 22px !important;
}

/* --- Scheme / figure --- */
.article .scheme-block {
  margin: 0 0 24px;
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  overflow: hidden;
}
.article .scheme-block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}
.article .scheme-caption {
  font-size: 12.5px;
  color: #64748B;
  text-align: center;
  margin: 10px 4px 2px;
  line-height: 1.4;
}

/* --- Primary content card --- */
.article .tool-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 22px 24px !important;
  margin: 0 0 16px !important;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
  position: relative;
}
.article .tool-card > .section-title:first-child,
.article .tool-card > h2.section-title:first-child,
.article .tool-card > h2:first-child {
  margin-top: 0;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
}

/* --- Section card (alternate surface) --- */
.article .section-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  padding: 20px 22px !important;
  margin: 0 0 16px !important;
}

/* --- Content grid + boxes --- */
.article .content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
  margin: 12px 0 4px;
}
.article .content-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.article .content-box:hover {
  border-color: #CBD5E1;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
}
.article .content-box .box-title,
.article .box-title {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 8px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.article .content-box p,
.article .content-box li {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0 0 6px;
}
.article .content-box ul {
  margin: 0;
  padding-left: 1.15em;
}

/* --- Callouts --- */
.article .callout-box {
  border-radius: 14px !important;
  padding: 16px 18px !important;
  margin: 0 0 16px !important;
  border: 1px solid #E2E8F0;
  background: #F8FAFC;
  border-left: 4px solid #0284C7;
}
.article .callout-box.warn,
.article .callout-box-danger,
.article .callout-box.warn-soft {
  background: #FFF1F2;
  border-color: #FECDD3;
  border-left-color: #E11D48;
}
.article .callout-box strong {
  color: #0F172A;
}
.article .callout-header {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #0284C7;
  margin: 0 0 8px;
}
.article .callout-box-danger .callout-header,
.article .callout-box.warn .callout-header {
  color: #BE123C;
}

/* --- Inner cards (nested) --- */
.article .inner-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 14px 16px;
  margin: 0 0 10px;
}
.article .inner-card-title {
  font-size: 13.5px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.article .inner-card-desc {
  font-size: 13px;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}
.article .inner-card-list {
  margin: 8px 0 0;
  padding-left: 1.15em;
  font-size: 13.5px;
  color: #334155;
  line-height: 1.5;
}

/* --- Sources --- */
.article .sources-grid,
.article .resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: 12px 0 0;
}
.article .source-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 14px;
  transition: border-color 0.15s, background 0.15s;
}
.article .source-card:hover {
  border-color: #CBD5E1;
  background: #FFFFFF;
}
.article .source-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: linear-gradient(135deg, #FFF1F2, #FFE4E6);
  color: #BE123C;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  line-height: 1.1;
  padding: 4px;
}
.article .source-title {
  font-size: 13px;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 3px;
  line-height: 1.3;
}
.article .source-desc {
  font-size: 12.5px;
  color: #64748B;
  margin: 0;
  line-height: 1.4;
}

/* --- Medication cards --- */
.article .med,
.med {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: #FFFFFF;
  border: 1px solid #E7E5E4;
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 0 10px;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.article .med:hover,
.med:hover {
  border-color: #D6D3D1;
  box-shadow: 0 4px 14px rgba(28, 25, 23, 0.05);
}
.article .med .status,
.med .status {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 10px;
  border-radius: 999px;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.article .med .status.ok,
.med .status.ok {
  background: #DCFCE7;
  color: #166534;
}
.article .med .status.temp,
.med .status.temp {
  background: #FEF3C7;
  color: #92400E;
}
.article .med .status.no,
.med .status.no {
  background: #FEE2E2;
  color: #991B1B;
}
.article .med h3,
.med h3 {
  font-size: 14.5px;
  font-weight: 800;
  margin: 0 0 4px;
  color: #1C1917;
  line-height: 1.3;
}
.article .med .desc,
.med .desc {
  font-size: 13px;
  color: #57534E;
  margin: 0 0 6px;
  line-height: 1.45;
}
.article .med .defer,
.med .defer {
  font-size: 12.5px;
  color: #44403C;
  margin: 0 0 4px;
}
.article .med .src,
.med .src {
  font-size: 11.5px;
  color: #A8A29E;
  margin: 0;
}

/* --- Flow / process steps --- */
.article .flow-step-badge {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.article .action-step {
  border-radius: 12px;
  border: 1px solid #E2E8F0;
  background: #fff;
  padding: 14px 16px;
  margin: 0 0 10px;
}

/* --- Tables --- */
.article .table-scroll {
  overflow-x: auto;
  margin: 0 0 16px;
  border-radius: 12px;
  border: 1px solid #E2E8F0;
}
.article .table-scroll table {
  margin: 0;
}
.article .guide-table {
  border-radius: 12px;
  overflow: hidden;
}

/* --- Hero card inside article (light, high contrast) --- */
.article .hero-card,
.article .tool-card.hero-card {
  background: linear-gradient(135deg, #ECFEFF 0%, #F0FDFA 55%, #F8FAFC 100%) !important;
  color: #0F172A !important;
  border: 1px solid #99F6E4 !important;
  border-left: 6px solid #0D9488 !important;
  border-radius: 18px;
  padding: 24px 26px !important;
}
.article .hero-card .section-title,
.article .hero-card h2,
.article .hero-card h1,
.article .hero-card .title {
  color: #0F172A !important;
  border-bottom: none !important;
}
.article .hero-card p,
.article .hero-card li,
.article .hero-card .subtitle,
.article .tool-card.hero-card .subtitle {
  color: #334155 !important;
}

/* --- Related materials --- */
.related-materials {
  margin-top: 36px;
  padding: 28px 20px 8px;
  background: #F8FAFC;
  border-radius: 20px;
  border: 1px solid #E2E8F0;
}
.related-materials > h2,
.related-materials .related-title {
  text-align: center;
  margin-bottom: 18px !important;
}

/* --- Tech / timer cards --- */
.article .tech-card {
  border-radius: 14px;
  border: 1px solid #E2E8F0;
  background: #fff;
  padding: 16px;
  margin: 0 0 12px;
}
.article .tech-timer-box {
  border-radius: 10px;
  background: #F1F5F9;
  padding: 10px 12px;
  font-variant-numeric: tabular-nums;
}

/* --- Mobile tighten --- */
@media (max-width: 640px) {
  .article .tool-card,
  .article .section-card {
    padding: 16px !important;
    border-radius: 14px;
  }
  .article .content-grid {
    grid-template-columns: 1fr;
  }
  .article .med,
  .med {
    flex-direction: column;
    gap: 8px;
  }
  .article > .lead,
  .article p.lead {
    font-size: 0.98rem;
    padding: 12px 14px;
  }
}

/* Med page chrome */
.med-list { display: flex; flex-direction: column; gap: 0; margin: 12px 0 20px; }
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin: 10px 0 14px;
  font-size: 12.5px;
  color: #57534E;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0;
}
.fchip {
  font-size: 12.5px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1.5px solid #E7E5E4;
  background: #fff;
  color: #1C1917;
  cursor: pointer;
  font-family: inherit;
}
.fchip.active {
  border-color: #E11D48;
  background: #FFF1F2;
  color: #BE123C;
}
.fchip:hover { border-color: #F43F5E; }

/* FAQ blocks */
.article .faq details,
.faq details {
  background: #fff;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 12px 16px;
  margin: 0 0 8px;
}
.article .faq summary,
.faq summary {
  font-weight: 700;
  cursor: pointer;
  color: #0F172A;
}

/* poster-overflow-fix: prevent clipped fragments in reader */
body.is-embedded .poster-master-wrapper {
  overflow: visible;
  max-width: 100%;
}
body.is-embedded .poster-master-wrapper * {
  max-width: 100%;
  box-sizing: border-box;
}
.poster-master-wrapper {
  overflow-x: auto;
}
.poster-master-wrapper img {
  max-width: 100%;
  height: auto;
}
/* Hide broken decorative fragments that used absolute positioning */
.poster-master-wrapper .decor-fragment,
.poster-master-wrapper .floating-label {
  display: none !important;
}

/* Poster: hide orphaned decorative text fragments that clip in reader */
.poster-master-wrapper .floating-chip,
.poster-master-wrapper .stamp-label,
.poster-master-wrapper .watermark-frag,
.poster-master-wrapper [class*="float-label"],
.poster-master-wrapper [class*="decor-text"] {
  display: none !important;
}
body.is-embedded .poster-header-modern,
body.is-embedded .poster-master-wrapper {
  overflow: hidden;
}





/* ===== Structured definition / hub blocks (missing from WP export) ===== */
.article .hub-container { display: flex; flex-direction: column; gap: 18px; }
.article .hub-header {
  display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
  gap: 12px; padding: 18px 20px;
  background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 16px;
}
.article .hub-header-main h2 { margin: 0 0 6px !important; font-size: 1.15rem !important; color: #0F172A !important; }
.article .hub-header-main p { margin: 0; color: #475569; font-size: .9rem; line-height: 1.5; }
.article .hub-badge {
  flex-shrink: 0; font-size: 11px; font-weight: 800; letter-spacing: .04em;
  text-transform: uppercase; color: #0F766E; background: #CCFBF1;
  border: 1px solid #99F6E4; padding: 6px 10px; border-radius: 999px;
}

.article .def-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
}
.article .def-card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 12px;
  background: #fff; border: 1px solid #E2E8F0; border-radius: 16px;
  padding: 16px 18px; box-shadow: 0 2px 10px -4px rgba(15,23,42,.06);
  min-width: 0;
}
.article .def-card.regular { border-top: 4px solid #0284C7; }
.article .def-card.serious { border-top: 4px solid #E11D48; }
.article .def-title {
  display: flex; flex-wrap: wrap; align-items: center; gap: 8px;
  font-weight: 800; font-size: .95rem; color: #0F172A; line-height: 1.35;
}
.article .def-title small,
.article .def-chip {
  display: inline-flex; align-items: center;
  font-size: 11px !important; font-weight: 800 !important; letter-spacing: .02em;
  padding: 3px 8px; border-radius: 999px; line-height: 1.2;
}
.article .def-card.regular .def-title small,
.article .def-chip-info { color: #0369A1 !important; background: #E0F2FE; }
.article .def-card.serious .def-title small,
.article .def-chip-danger { color: #BE123C !important; background: #FFE4E6; }
.article .def-desc { font-size: .9rem; color: #334155; line-height: 1.55; }
.article .def-desc b { color: #0F172A; }
.article .def-example {
  font-size: .84rem; line-height: 1.5; color: #334155;
  background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 12px;
  padding: 10px 12px;
}
.article .def-example u { text-decoration: none; font-weight: 700; border-bottom: 1px dashed currentColor; }

.article .status-pill {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 12px; font-weight: 700; line-height: 1.35;
  padding: 5px 9px; border-radius: 999px; max-width: 100%;
}
.article .status-pill.yes { color: #9F1239; background: #FFE4E6; }
.article .status-pill.no { color: #166534; background: #DCFCE7; }

.article .decision-table { width: 100%; border-collapse: collapse; font-size: .86rem; }
.article .decision-table th {
  background: #F1F5F9; color: #0F172A; font-weight: 700; text-align: left;
  padding: 10px 12px; border: 1px solid #E2E8F0;
}
.article .decision-table td {
  padding: 10px 12px; border: 1px solid #E2E8F0; vertical-align: top; color: #334155;
}

.article .tips-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px;
}
.article .tip-item {
  display: flex; gap: 10px; align-items: flex-start;
  background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 14px; padding: 14px;
}
.article .tip-icon { font-size: 18px; line-height: 1; flex-shrink: 0; }
.article .tip-content { font-size: .88rem; color: #334155; line-height: 1.5; }
.article .tip-content b { display: block; color: #0F172A; margin-bottom: 4px; font-size: .9rem; }

.article .report-notice {
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between;
  background: #FFF7ED; border: 1px solid #FED7AA; border-radius: 14px; padding: 14px 16px;
}
.article .report-notice-text { font-size: .88rem; color: #9A3412; line-height: 1.5; flex: 1; min-width: 220px; }
.article .report-deadlines { font-size: .88rem; color: #7C2D12; }

@media (max-width: 640px) {
  .article .def-title { font-size: .9rem; }
  .article .hub-header { padding: 14px; }
}

.article .def-card.stage1 { border-top: 4px solid #0284C7; }
.article .def-card.stage2 { border-top: 4px solid #D97706; }
.article .def-card.stage3 { border-top: 4px solid #E11D48; }
.article .inner-card-desc { font-size: .9rem; color: #475569; line-height: 1.55; margin: 0 0 8px; }
.article .inner-card-list { margin: 0; padding-left: 1.15em; color: #334155; }
.article .inner-card-list li { margin: 4px 0; }
.article .symptoms-box, .article .actions-box, .article .scenario-box, .article .refusal-box, .article .biotest-box {
  background: #F8FAFC; border: 1px solid #E2E8F0; border-radius: 14px; padding: 14px 16px; margin: 12px 0;
}
.article .symptoms-header, .article .actions-header, .article .scenario-header, .article .refusal-header, .article .biotest-header {
  font-weight: 800; color: #0F172A; margin-bottom: 8px; font-size: .95rem;
}
.article .symptoms-text, .article .biotest-text { color: #334155; font-size: .9rem; line-height: 1.55; }
