:root {
  --blog-bg: #edf4fb;
  --blog-surface: rgba(255, 255, 255, 0.92);
  --blog-surface-strong: #ffffff;
  --blog-ink: #0f172a;
  --blog-muted: #58677f;
  --blog-line: rgba(180, 202, 232, 0.88);
  --blog-blue: #2d6dff;
  --blog-blue-dark: #1f4fd6;
  --blog-blue-soft: #e8f0ff;
  --blog-shadow: 0 26px 72px rgba(39, 66, 121, 0.14);
  --blog-max: 1120px;
}

/* Product proof used by the СОУТ feature page. */
.feature-proof-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  margin: 22px 0 38px;
}

.feature-proof {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--blog-line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 16px 36px rgba(39, 66, 121, 0.1);
}

.feature-proof img,
.feature-proof picture {
  display: block;
  width: 100%;
}

.feature-proof img {
  height: auto;
  background: #eef3fa;
}

.feature-proof figcaption {
  padding: 14px 16px 16px;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.55;
}

.feature-proof figcaption strong {
  color: var(--blog-ink);
}

@media (max-width: 760px) {
  .sout-funnel-page .blog-topbar {
    gap: 12px;
  }

  .sout-funnel-page .blog-brand {
    flex: 0 0 auto;
    gap: 8px;
  }

  .sout-funnel-page .blog-brand img {
    width: 36px;
    height: 36px;
  }

  .sout-funnel-page .blog-brand > span > span,
  .sout-funnel-page .blog-nav a:first-child {
    display: none;
  }

  .sout-funnel-page .blog-nav {
    flex-wrap: nowrap;
    gap: 6px;
  }

  .sout-funnel-page .blog-nav a {
    padding: 8px 10px;
    font-size: 13px;
  }

  .sout-funnel-page .blog-section-tabs {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
    margin-bottom: 14px;
  }

  .sout-funnel-page .blog-section-tab {
    place-items: center;
    min-height: 44px;
    padding: 9px 5px;
    text-align: center;
  }

  .sout-funnel-page .blog-section-tab span {
    display: none;
  }

  .feature-proof--sout-import img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
    object-position: top left;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body.blog-body {
  margin: 0;
  min-height: 100vh;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--blog-ink);
  background:
    radial-gradient(circle at top left, rgba(75, 131, 255, 0.22), transparent 24%),
    radial-gradient(circle at 88% 12%, rgba(31, 94, 255, 0.16), transparent 20%),
    linear-gradient(180deg, #f8fbff 0%, var(--blog-bg) 100%);
}

a {
  color: inherit;
}

.blog-shell {
  width: min(var(--blog-max), calc(100% - 32px));
  margin: 0 auto;
}

.blog-topbar {
  position: sticky;
  top: 16px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 14px auto 42px;
  padding: 14px 18px;
  border: 1px solid var(--blog-line);
  border-radius: 32px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 18px 46px rgba(39, 66, 121, 0.12);
  backdrop-filter: blur(18px);
}

.blog-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  min-width: 0;
}

.blog-brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
}

.blog-brand strong {
  display: block;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1;
  color: var(--blog-blue);
}

.blog-brand span {
  display: block;
  margin-top: 4px;
  color: var(--blog-muted);
  font-size: 12px;
}

.blog-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.blog-nav a,
.blog-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  color: var(--blog-ink);
  font-weight: 700;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.74);
}

.blog-section-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: -20px auto 28px;
  padding: 8px;
  border: 1px solid var(--blog-line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 36px rgba(39, 66, 121, 0.1);
}

.blog-section-tab {
  display: grid;
  gap: 4px;
  min-height: 66px;
  padding: 12px 14px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--blog-ink);
  text-decoration: none;
  transition: background-color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}

.blog-section-tab strong {
  font-size: 15px;
  line-height: 1.2;
}

.blog-section-tab span {
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.25;
}

.blog-section-tab:hover {
  border-color: rgba(45, 109, 255, 0.24);
  background: #f7faff;
}

.blog-section-tab:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.blog-section-tab.is-active {
  border-color: rgba(45, 109, 255, 0.34);
  background: var(--blog-blue-soft);
  box-shadow: inset 0 0 0 1px rgba(45, 109, 255, 0.08);
}

.blog-section-tab.is-active strong {
  color: var(--blog-blue-dark);
}

.blog-btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blog-blue) 0%, #4b83ff 100%);
  box-shadow: 0 12px 26px rgba(45, 109, 255, 0.24);
}

.blog-hero,
.blog-panel,
.blog-article,
.blog-cta {
  border: 1px solid var(--blog-line);
  border-radius: 32px;
  background: var(--blog-surface);
  box-shadow: var(--blog-shadow);
}

.blog-hero {
  padding: clamp(28px, 5vw, 56px);
  margin-bottom: 26px;
}

.blog-kicker,
.blog-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 0 16px;
  padding: 7px 12px;
  border-radius: 999px;
  color: #1f5eff;
  background: var(--blog-blue-soft);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.blog-kicker::before,
.blog-chip::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blog-blue);
  box-shadow: 0 0 0 5px rgba(45, 109, 255, 0.12);
}

.blog-hero h1,
.blog-article h1 {
  margin: 0;
  max-width: 900px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(38px, 6vw, 70px);
  line-height: 0.98;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.blog-hero p,
.blog-lead {
  max-width: 780px;
  margin: 22px 0 0;
  color: var(--blog-muted);
  font-size: 18px;
  line-height: 1.75;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 26px 0 34px;
}

.blog-topic-panel {
  display: grid;
  gap: 18px;
}

.blog-topic-panel p {
  max-width: 920px;
}

.blog-topic-controls {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.blog-topic-filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(45, 109, 255, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: var(--blog-ink);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.blog-topic-filter span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  border-radius: 999px;
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
  font-size: 12px;
}

.blog-topic-filter:hover,
.blog-topic-filter:focus-visible,
.blog-topic-filter.is-active {
  border-color: rgba(45, 109, 255, 0.62);
  background: var(--blog-blue);
  color: #fff;
  outline: none;
  box-shadow: 0 12px 28px rgba(45, 109, 255, 0.18);
}

.blog-topic-filter:hover span,
.blog-topic-filter:focus-visible span,
.blog-topic-filter.is-active span {
  color: var(--blog-blue-dark);
  background: #fff;
}

.blog-topic-search {
  display: grid;
  gap: 8px;
  max-width: 520px;
  color: var(--blog-muted);
  font-size: 14px;
  font-weight: 700;
}

.blog-topic-search input {
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid rgba(149, 171, 204, 0.88);
  border-radius: 14px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
}

.blog-topic-search input:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.14);
}

.blog-topic-empty {
  padding: 14px 16px;
  border: 1px dashed rgba(149, 171, 204, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--blog-muted);
}

.blog-card {
  display: flex;
  min-height: 270px;
  flex-direction: column;
  justify-content: space-between;
  padding: 24px;
  border: 1px solid var(--blog-line);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.86);
  text-decoration: none;
  box-shadow: 0 18px 48px rgba(39, 66, 121, 0.08);
}

.blog-card[hidden],
.blog-card.is-hidden {
  display: none !important;
}

.blog-card h2 {
  margin: 16px 0 10px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.blog-card p {
  margin: 0;
  color: var(--blog-muted);
  line-height: 1.65;
}

.blog-card small {
  margin-top: 20px;
  color: var(--blog-blue-dark);
  font-weight: 800;
}

.blog-card-static small {
  color: var(--blog-muted);
}

.blog-panel {
  padding: 28px;
  margin: 26px 0;
}

.blog-panel h2 {
  margin: 0 0 12px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 34px;
  line-height: 1.1;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.blog-panel p {
  margin: 0;
  max-width: 800px;
  color: var(--blog-muted);
  line-height: 1.7;
}

.blog-breadcrumbs {
  margin: 0 0 18px;
  color: var(--blog-muted);
  font-size: 14px;
}

.blog-breadcrumbs a {
  color: var(--blog-blue-dark);
  font-weight: 700;
  text-decoration: none;
}

.blog-article a,
.blog-panel a {
  overflow-wrap: anywhere;
}

.blog-back-link {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 40px;
  margin: 0 0 18px;
  padding: 9px 14px;
  border: 1px solid var(--blog-line);
  border-radius: 999px;
  color: var(--blog-blue-dark);
  background: rgba(255, 255, 255, 0.78);
  font-weight: 800;
  text-decoration: none;
}

.blog-back-link-bottom {
  margin: 26px 0 0;
}

.blog-article {
  max-width: 900px;
  padding: clamp(28px, 5vw, 64px);
  margin: 0 auto 28px;
}

.blog-article-wide {
  max-width: 1220px;
  padding: clamp(24px, 4vw, 44px);
}

.blog-article h1 {
  font-size: clamp(36px, 5vw, 62px);
}

.blog-article-wide h1 {
  max-width: 920px;
  font-size: clamp(30px, 3.2vw, 48px);
  letter-spacing: 0;
}

.blog-article h2 {
  margin: 44px 0 14px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 32px;
  line-height: 1.12;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}

.blog-article-wide h2 {
  font-size: 26px;
  letter-spacing: 0;
}

.blog-article h3 {
  margin: 30px 0 10px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 22px;
  line-height: 1.25;
}

.blog-article p,
.blog-article li {
  color: #34445d;
  font-size: 18px;
  line-height: 1.82;
}

.blog-article-wide p,
.blog-article-wide li {
  font-size: 16px;
  line-height: 1.68;
}

.blog-article p {
  margin: 14px 0;
}

.blog-article ul,
.blog-article ol {
  padding-left: 24px;
}

.blog-article li + li {
  margin-top: 0;
}

.article-cta {
  margin: 28px 0;
  padding: 22px;
  border: 1px solid rgba(45, 109, 255, 0.22);
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(232, 240, 255, 0.96), rgba(255, 255, 255, 0.86));
}

.article-cta strong {
  display: block;
  margin-bottom: 8px;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 20px;
}

.article-cta a {
  color: var(--blog-blue-dark);
  font-weight: 800;
}

.article-cta .blog-btn-primary {
  color: #fff;
}

.article-cta .blog-btn:not(.blog-btn-primary) {
  color: var(--blog-blue-dark);
}

.presentation-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}

.presentation-download-actions .blog-btn {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.presentation-download-group {
  margin-top: 18px;
}

.presentation-download-label {
  display: block;
  color: var(--blog-ink);
  font-weight: 800;
}

.presentation-preview {
  margin: 28px 0;
  padding: clamp(10px, 2vw, 18px);
  border: 1px solid var(--blog-line);
  border-radius: 24px;
  background: #f6f9fd;
}

.presentation-preview img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 16px;
}

.presentation-preview figcaption {
  margin-top: 12px;
  color: var(--blog-muted);
  font-size: 15px;
  line-height: 1.55;
}

.cluster-links {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 24px);
  border: 1px solid rgba(74, 116, 169, 0.2);
  border-radius: 18px;
  background: #f8fbff;
}

.cluster-links-head {
  display: grid;
  gap: 6px;
  margin-bottom: 16px;
}

.cluster-links h2 {
  margin: 0;
}

.cluster-links p {
  margin: 0;
  color: var(--blog-muted);
}

.cluster-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 10px;
}

.cluster-link-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 13px 14px;
  border: 1px solid rgba(180, 202, 232, 0.88);
  border-radius: 12px;
  color: var(--blog-ink);
  text-decoration: none;
  background: #fff;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.cluster-link-card:hover,
.cluster-link-card:focus-visible {
  border-color: rgba(45, 109, 255, 0.45);
  box-shadow: 0 10px 24px rgba(39, 66, 121, 0.12);
  transform: translateY(-1px);
}

.cluster-link-card strong {
  color: var(--blog-blue-dark);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.25;
}

.cluster-link-card span {
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.45;
}

.blog-table-wrap {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: auto;
  overflow-y: hidden;
  margin: 18px 0;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 16px;
  background: #fff;
  -webkit-overflow-scrolling: touch;
}

.blog-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}

.blog-table th,
.blog-table td {
  padding: 13px 14px;
  border-bottom: 1px solid rgba(180, 202, 232, 0.72);
  color: #26364f;
  font-size: 15px;
  line-height: 1.45;
  text-align: left;
  vertical-align: top;
}

.blog-table th {
  color: var(--blog-ink);
  background: #f4f8ff;
  font-weight: 800;
}

.blog-table tr:last-child td {
  border-bottom: 0;
}

.blog-faq details,
.training-help {
  margin: 12px 0;
  padding: 14px 16px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.82);
}

.blog-faq summary,
.training-help summary {
  cursor: pointer;
  color: var(--blog-ink);
  font-weight: 800;
}

.training-tool {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(45, 109, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(39, 66, 121, 0.1);
}

.training-tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.training-tool-head h2 {
  margin: 0 0 8px;
}

.training-tool-head p,
.training-tool-note,
.training-result-card p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.55;
}

.training-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.training-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 88px;
  padding: 14px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: #fff;
}

.training-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blog-blue);
}

.training-option strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blog-ink);
  font-size: 15px;
}

.training-option span {
  display: block;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.training-tool-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 18px 0 0;
}

.training-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 8px;
  color: var(--blog-ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.training-action-btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blog-blue) 0%, #4b83ff 100%);
  box-shadow: 0 12px 24px rgba(45, 109, 255, 0.22);
}

.training-action-btn:hover:not(:disabled) {
  border-color: rgba(45, 109, 255, 0.42);
  background: #f6f9ff;
}

.training-action-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #245fe6 0%, #3f77ef 100%);
}

.training-action-btn:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.training-results {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.training-result-card {
  padding: 16px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: rgba(248, 251, 255, 0.82);
}

.training-result-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.training-result-table {
  margin-top: 10px;
}

.training-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 10px;
  border: 1px solid rgba(45, 109, 255, 0.2);
  border-radius: 999px;
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
  font-weight: 800;
  white-space: nowrap;
}

.briefing-deadline-form {
  display: grid;
  gap: 18px;
}

.briefing-deadline-tool {
  scroll-margin-top: 112px;
}

.briefing-deadline-grid,
.briefing-deadline-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.briefing-deadline-field {
  display: grid;
  gap: 8px;
  color: var(--blog-ink);
  font-size: 14px;
  font-weight: 800;
}

.briefing-deadline-field input,
.briefing-deadline-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 8px;
  color: var(--blog-ink);
  background: #fff;
  font: inherit;
  font-weight: 600;
}

.briefing-deadline-field input:focus-visible,
.briefing-deadline-field select:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.briefing-deadline-rule {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.briefing-deadline-rule legend {
  margin-bottom: 8px;
  color: var(--blog-ink);
  font-size: 14px;
  font-weight: 800;
}

.briefing-deadline-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 14px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.briefing-deadline-option:has(input:checked) {
  border-color: rgba(45, 109, 255, 0.62);
  background: rgba(236, 243, 255, 0.72);
}

.briefing-deadline-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blog-blue);
}

.briefing-deadline-option strong,
.briefing-deadline-option small {
  display: block;
}

.briefing-deadline-option strong {
  margin-bottom: 4px;
  color: var(--blog-ink);
  font-size: 15px;
}

.briefing-deadline-option small {
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.briefing-deadline-error {
  margin: 0;
  color: #a21919;
  font-size: 14px;
  font-weight: 700;
}

.briefing-deadline-result {
  margin-top: 24px;
  padding-top: 22px;
  border-top: 1px solid rgba(180, 202, 232, 0.9);
}

.briefing-deadline-result-label {
  margin: 0 0 4px;
  color: var(--blog-blue-dark);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.briefing-deadline-result h3 {
  margin: 0 0 8px;
  color: var(--blog-ink);
  font-size: clamp(24px, 3vw, 34px);
}

.briefing-deadline-result > p:not(.briefing-deadline-result-label) {
  margin: 6px 0 0;
  color: var(--blog-muted);
}

.document-check-tool {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(45, 109, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 46px rgba(39, 66, 121, 0.1);
}

.document-check-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.document-check-head h2 {
  margin: 0 0 8px;
}

.document-check-head p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.55;
}

.document-check-form {
  display: grid;
  gap: 16px;
}

.document-check-grid {
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 12px;
}

.document-check-field {
  display: grid;
  gap: 7px;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 700;
}

.document-check-field select,
.document-check-field input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-weight: 700;
}

.document-check-field select:focus-visible,
.document-check-field input:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.document-check-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.document-check-option {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 106px;
  padding: 14px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: #fff;
}

.document-check-option input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blog-blue);
}

.document-check-option strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blog-ink);
  font-size: 15px;
}

.document-check-option small {
  display: block;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.risk-lite-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.risk-lite-card,
.risk-lite-hazard {
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: #fff;
}

.risk-lite-card {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 96px;
  padding: 14px;
  cursor: pointer;
}

.risk-lite-card input,
.risk-lite-hazard input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blog-blue);
}

.risk-lite-card strong,
.risk-lite-hazard strong {
  display: block;
  color: var(--blog-ink);
  font-size: 15px;
}

.risk-lite-card small,
.risk-lite-hazard small {
  display: block;
  margin-top: 5px;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.risk-lite-hazards {
  display: grid;
  gap: 10px;
}

.risk-lite-hazard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  gap: 12px;
  align-items: center;
  padding: 14px;
}

.risk-lite-hazard.is-selected {
  border-color: rgba(45, 109, 255, 0.45);
  background: rgba(245, 249, 255, 0.92);
}

.risk-lite-hazard label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin: 0;
}

.risk-lite-hazard select {
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-weight: 700;
}

.risk-lite-hazard select:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.14);
}

.risk-lite-download-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding: 16px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.86);
}

.risk-lite-table td:nth-child(4) {
  min-width: 300px;
}

.document-check-results {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.document-check-summary,
.document-check-group {
  padding: 16px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.86);
}

.document-check-summary {
  display: grid;
  gap: 6px;
}

.sout-registry-panel {
  margin-top: 22px;
}

.sout-registry-meta,
.sout-workplace-list {
  display: grid;
  gap: 5px;
}

.sout-registry-meta strong {
  color: var(--blog-ink);
}

.sout-registry-meta span,
.sout-workplace-position {
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.sout-workplace-pair {
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(180, 202, 232, 0.42);
}

.sout-workplace-pair:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.document-check-summary strong {
  font-size: 18px;
}

.document-check-summary span {
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.55;
}

.document-check-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.document-check-group-head h3 {
  margin: 0;
  font-size: 20px;
}

.document-check-group-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  height: 30px;
  border-radius: 999px;
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
  font-weight: 800;
}

.document-check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.document-check-item {
  padding: 13px;
  border: 1px solid rgba(180, 202, 232, 0.72);
  border-radius: 12px;
  background: #fff;
  list-style: none;
}

.document-check-item::marker {
  content: "";
}

.document-check-status {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 8px;
  border-radius: 999px;
  color: #1f4fd6;
  background: rgba(45, 109, 255, 0.1);
  font-size: 12px;
  font-weight: 800;
}

.document-check-item h4 {
  margin: 0 0 6px;
  font-size: 16px;
}

.document-check-item p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.5;
}

.responsible-order-tool {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(45, 109, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(39, 66, 121, 0.1);
}

.responsible-order-head {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.responsible-order-head h2 {
  margin: 0 0 8px;
}

.responsible-order-head p,
.responsible-order-note {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.55;
}

.responsible-order-form {
  display: grid;
  gap: 18px;
}

.responsible-order-types {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.responsible-order-type {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  min-height: 96px;
  padding: 14px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: #fff;
}

.responsible-order-type input {
  width: 18px;
  height: 18px;
  margin-top: 3px;
  accent-color: var(--blog-blue);
}

.responsible-order-type strong {
  display: block;
  margin-bottom: 5px;
  color: var(--blog-ink);
  font-size: 15px;
}

.responsible-order-type span span {
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.responsible-order-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.responsible-order-field {
  display: grid;
  gap: 7px;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 700;
}

.responsible-order-field.is-wide {
  grid-column: 1 / -1;
}

.responsible-order-field input,
.responsible-order-field textarea,
.responsible-order-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-weight: 700;
}

.responsible-order-field textarea {
  min-height: 96px;
  line-height: 1.45;
  resize: vertical;
}

.responsible-order-field input:focus-visible,
.responsible-order-field textarea:focus-visible,
.responsible-order-field select:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.responsible-order-check {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  min-height: 40px;
  color: var(--blog-ink);
  font-size: 14px;
  font-weight: 800;
}

.responsible-order-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--blog-blue);
}

.responsible-order-check.is-wide {
  grid-column: 1 / -1;
}

.order-documents-dynamic-fields {
  display: grid;
  gap: 14px;
}

.order-documents-fieldset {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.86);
}

.order-documents-fieldset h3,
.order-documents-fieldset h4 {
  margin: 0;
  color: var(--blog-ink);
  font-family: "Manrope", system-ui, sans-serif;
  line-height: 1.2;
  letter-spacing: 0;
}

.order-documents-fieldset h3 {
  font-size: 20px;
}

.order-documents-fieldset h4 {
  font-size: 16px;
}

.order-documents-fieldset-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.order-documents-repeat-list {
  display: grid;
  gap: 10px;
}

.order-documents-repeat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 10px;
  align-items: end;
  padding: 12px;
  border: 1px solid rgba(180, 202, 232, 0.78);
  border-radius: 12px;
  background: #fff;
}

.order-documents-repeat-row.is-wide-row {
  grid-template-columns: repeat(5, minmax(0, 1fr)) auto;
}

.order-documents-row-title {
  grid-column: 1 / -1;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 900;
}

.order-documents-row-add,
.order-documents-row-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 8px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  white-space: nowrap;
}

.order-documents-row-add {
  border-color: rgba(45, 109, 255, 0.32);
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
}

.order-documents-row-remove:hover:not(:disabled),
.order-documents-row-add:hover:not(:disabled),
.order-documents-row-remove:focus-visible,
.order-documents-row-add:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.14);
}

.order-documents-row-remove:disabled {
  cursor: default;
  opacity: 0.52;
}

.responsible-order-extra {
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 16px;
  background: rgba(248, 251, 255, 0.86);
}

.responsible-order-extra summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 50px;
  padding: 0 14px;
  color: var(--blog-ink);
  cursor: pointer;
  font-weight: 800;
}

.responsible-order-extra-body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0 14px 14px;
}

.responsible-order-extra-body .responsible-order-note {
  grid-column: 1 / -1;
}

.responsible-order-preview {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.responsible-order-preview div {
  min-height: 76px;
  padding: 13px;
  border: 1px solid rgba(180, 202, 232, 0.78);
  border-radius: 14px;
  background: #fff;
}

.responsible-order-preview span {
  display: block;
  margin-bottom: 8px;
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 700;
}

.responsible-order-preview strong {
  display: block;
  color: var(--blog-ink);
  font-size: 14px;
  line-height: 1.35;
}

.responsible-order-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 4px;
}

.responsible-order-status {
  min-height: 24px;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.45;
}

.responsible-order-status-success {
  color: #087443;
}

.responsible-order-status-error {
  color: #b42318;
}

.responsible-order-status-warning {
  color: #9a5d00;
}

.responsible-order-download {
  position: relative;
  min-width: 210px;
}

.responsible-order-download.is-loading {
  color: transparent;
}

.responsible-order-download.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top-color: #fff;
  border-radius: 999px;
  animation: blog-spin 0.8s linear infinite;
}

.prescription-public-tool {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(45, 109, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 18px 46px rgba(39, 66, 121, 0.1);
}

.prescription-public-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.prescription-public-head h2 {
  margin: 0 0 8px;
}

.prescription-public-head p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.55;
}

.prescription-public-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(45, 109, 255, 0.2);
  border-radius: 999px;
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.prescription-public-form {
  display: grid;
  gap: 18px;
}

.prescription-public-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.6fr);
  gap: 14px;
  align-items: start;
}

.prescription-public-panel {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.82);
}

.prescription-main-panel,
.prescription-photo-panel {
  display: grid;
  gap: 14px;
}

.prescription-public-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.prescription-public-panel-head h3 {
  margin: 0;
  color: var(--blog-ink);
  font-size: 18px;
}

.prescription-public-panel-head span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 32px;
  min-height: 28px;
  padding: 4px 9px;
  border-radius: 999px;
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
  font-weight: 900;
  font-size: 13px;
}

.prescription-template-controls {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.prescription-public-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prescription-public-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 800;
}

.prescription-public-field.is-wide {
  grid-column: 1 / -1;
}

.prescription-public-field input,
.prescription-public-field textarea,
.prescription-public-field select {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-size: 15px;
}

.prescription-public-field textarea {
  min-height: 112px;
  line-height: 1.5;
  resize: vertical;
}

.prescription-public-field input:focus-visible,
.prescription-public-field textarea:focus-visible,
.prescription-public-field select:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.prescription-template-list {
  display: grid;
  gap: 8px;
  max-height: min(58vh, 560px);
  overflow: auto;
  padding: 2px 6px 2px 0;
}

.prescription-template-item {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 12px;
  width: 100%;
  min-height: auto;
  padding: 12px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: #fff;
  color: var(--blog-ink);
  text-align: left;
  cursor: pointer;
  transition: border-color 0.16s ease, box-shadow 0.16s ease, transform 0.16s ease;
}

.prescription-template-item:hover,
.prescription-template-item:focus-visible,
.prescription-template-item.is-active {
  outline: none;
  border-color: rgba(45, 109, 255, 0.72);
  box-shadow: 0 10px 24px rgba(39, 66, 121, 0.1);
}

.prescription-template-item:active {
  transform: translateY(1px);
}

.prescription-template-item-category {
  align-self: start;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 28px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.prescription-template-item-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.prescription-template-item-body strong,
.prescription-template-item-body em {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.prescription-template-item-body strong {
  color: var(--blog-ink);
  font-size: 14px;
  line-height: 1.35;
}

.prescription-template-item-body em {
  color: var(--blog-muted);
  font-size: 12px;
  font-style: normal;
  line-height: 1.35;
}

.prescription-template-empty,
.prescription-photo-empty,
.prescription-public-note {
  margin: 0;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.prescription-photo-dropzone {
  display: grid;
  place-items: center;
  gap: 6px;
  width: 100%;
  min-height: 130px;
  padding: 18px;
  border: 1.5px dashed rgba(45, 109, 255, 0.42);
  border-radius: 16px;
  background: #fff;
  color: var(--blog-blue-dark);
  cursor: pointer;
  text-align: center;
  transition: border-color 0.16s ease, background 0.16s ease, box-shadow 0.16s ease;
}

.prescription-photo-dropzone:hover,
.prescription-photo-dropzone:focus-visible,
.prescription-photo-dropzone.is-dragover {
  outline: none;
  border-color: var(--blog-blue);
  background: var(--blog-blue-soft);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.12);
}

.prescription-photo-dropzone strong {
  color: var(--blog-ink);
  font-size: 15px;
}

.prescription-photo-dropzone span {
  color: var(--blog-muted);
  font-size: 13px;
}

.prescription-photo-list {
  display: grid;
  gap: 10px;
}

.prescription-photo-thumb {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  padding: 8px;
  border: 1px solid rgba(180, 202, 232, 0.78);
  border-radius: 14px;
  background: #fff;
}

.prescription-photo-thumb img {
  width: 74px;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  object-fit: cover;
  background: #edf3ff;
}

.prescription-photo-thumb strong {
  display: block;
  color: var(--blog-ink);
  font-size: 13px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.prescription-photo-thumb button {
  min-height: 30px;
  margin-top: 7px;
  padding: 5px 9px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 999px;
  background: #fff;
  color: #9a1f1f;
  font: inherit;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.prescription-photo-thumb button:hover,
.prescription-photo-thumb button:focus-visible {
  outline: none;
  border-color: rgba(196, 58, 58, 0.44);
  background: #fff5f5;
}

.prescription-public-hints {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prescription-public-hints span {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid rgba(180, 202, 232, 0.82);
  border-radius: 999px;
  color: #26364f;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
}

.prescription-public-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.prescription-public-download {
  position: relative;
  min-width: 180px;
}

.prescription-public-download.is-loading {
  color: transparent;
}

.prescription-public-download.is-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.6);
  border-top-color: #fff;
  border-radius: 999px;
  animation: blog-spin 0.8s linear infinite;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.prescription-public-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 290px);
  gap: 16px;
  align-items: start;
}

.prescription-public-main {
  min-width: 0;
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.82);
}

.prescription-public-table-wrap {
  overflow: visible;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: #fff;
}

.prescription-public-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  color: var(--blog-ink);
  table-layout: fixed;
}

.prescription-public-table th,
.prescription-public-table td {
  border-right: 1px solid rgba(180, 202, 232, 0.72);
  border-bottom: 1px solid rgba(180, 202, 232, 0.72);
  padding: 10px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.prescription-public-table th:last-child,
.prescription-public-table td:last-child {
  border-right: 0;
}

.prescription-public-table tbody tr:last-child td {
  border-bottom: 0;
}

.prescription-public-table th {
  background: #f4f8ff;
  color: var(--blog-ink);
  font-size: 14px;
  font-weight: 900;
  text-align: left;
}

.prescription-public-col-num {
  width: 44px;
}

.prescription-public-col-photo {
  width: 190px;
}

.prescription-public-col-deadline {
  width: 150px;
}

.prescription-public-num {
  text-align: center;
  font-weight: 900;
}

.prescription-row-remove-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  min-width: 28px;
  min-height: 28px;
  margin-top: 8px;
  padding: 0;
  border: 1px solid rgba(196, 58, 58, 0.32);
  border-radius: 8px;
  background: #fff;
  color: #9a1f1f;
  font: inherit;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.prescription-row-remove-btn:hover,
.prescription-row-remove-btn:focus-visible {
  outline: none;
  border-color: rgba(196, 58, 58, 0.62);
  background: #fff5f5;
  box-shadow: 0 0 0 3px rgba(196, 58, 58, 0.12);
}

.prescription-photo-dropzone-compact {
  min-height: 92px;
  padding: 12px;
  border-radius: 12px;
}

.prescription-photo-cell-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  align-items: flex-start;
}

.prescription-row-photo-thumb {
  position: relative;
  width: 82px;
  min-height: 84px;
  padding: 5px;
  border: 1px solid rgba(180, 202, 232, 0.86);
  border-radius: 10px;
  background: #fff;
  cursor: grab;
}

.prescription-row-photo-thumb.is-dragging {
  opacity: 0.55;
}

.prescription-row-photo-thumb.is-dragover {
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.14);
}

.prescription-row-photo-thumb img {
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 7px;
  object-fit: cover;
  background: #edf3ff;
}

.prescription-row-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 5px;
}

.prescription-row-photo-actions button {
  min-height: 24px;
  padding: 3px 5px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 6px;
  background: #fff;
  color: var(--blog-blue-dark);
  font: inherit;
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
}

.prescription-row-photo-actions button:hover,
.prescription-row-photo-actions button:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  background: var(--blog-blue-soft);
}

.prescription-npa-toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 9px;
}

.prescription-npa-add-btn,
.prescription-template-chip,
.prescription-template-close,
.prescription-photo-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 8px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.prescription-npa-add-btn {
  border-color: rgba(45, 109, 255, 0.34);
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
}

.prescription-npa-add-btn:hover,
.prescription-npa-add-btn:focus-visible,
.prescription-template-chip:hover,
.prescription-template-chip:focus-visible,
.prescription-template-close:hover,
.prescription-template-close:focus-visible,
.prescription-photo-upload-btn:hover,
.prescription-photo-upload-btn:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.14);
}

.prescription-template-chip.is-active {
  border-color: transparent;
  color: #fff;
  background: var(--blog-blue);
  box-shadow: 0 8px 18px rgba(45, 109, 255, 0.18);
}

.prescription-selected-template {
  display: grid;
  gap: 2px;
  min-width: 0;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid rgba(180, 202, 232, 0.82);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.35;
}

.prescription-selected-template strong,
.prescription-selected-template span {
  display: block;
  min-width: 0;
  overflow-wrap: anywhere;
}

.prescription-selected-template strong {
  color: var(--blog-ink);
}

.prescription-public-textarea {
  width: 100%;
  min-height: 156px;
  padding: 11px 12px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-size: 15px;
  line-height: 1.5;
  resize: vertical;
}

.prescription-public-textarea:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.prescription-public-field-tight {
  gap: 0;
}

.prescription-row-details {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.prescription-row-inline-details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.prescription-row-inline-details .is-wide {
  grid-column: 1 / -1;
}

.prescription-public-table-actions {
  display: flex;
  justify-content: flex-start;
}

.prescription-add-row-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 9px 13px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-ink);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
}

.prescription-add-row-btn:hover,
.prescription-add-row-btn:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.14);
}

.prescription-photo-panel {
  position: sticky;
  top: 96px;
}

.prescription-photo-pool-dropzone {
  min-height: 70px;
  padding: 12px;
  border-radius: 12px;
}

.prescription-photo-upload-btn {
  width: 100%;
  min-height: 40px;
}

.prescription-photo-thumb {
  cursor: grab;
}

.prescription-photo-thumb.is-dragging {
  opacity: 0.55;
}

.prescription-pool-photo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 7px;
}

.prescription-pool-photo-actions button {
  margin-top: 0;
}

.prescription-template-dialog {
  width: min(1120px, calc(100vw - 28px));
  max-height: min(760px, calc(100vh - 40px));
  padding: 0;
  border: 0;
  border-radius: 20px;
  background: transparent;
  color: var(--blog-ink);
}

.prescription-template-dialog::backdrop {
  background: rgba(12, 22, 42, 0.44);
}

.prescription-template-dialog-card {
  display: grid;
  gap: 14px;
  padding: clamp(16px, 3vw, 22px);
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(16, 31, 64, 0.22);
}

.prescription-template-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.prescription-template-dialog-head h3 {
  margin: 0 0 6px;
  font-size: 22px;
  line-height: 1.2;
}

.prescription-template-dialog-head p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.45;
}

.prescription-template-close {
  width: 38px;
  min-width: 38px;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.prescription-template-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.prescription-template-list {
  max-height: min(58vh, 560px);
  padding: 2px 4px 2px 0;
}

.prescription-template-item {
  min-height: auto;
}

@keyframes blog-spin {
  to { transform: rotate(360deg); }
}

.blog-cta {
  display: grid;
  grid-template-columns: 1.5fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 5vw, 44px);
  margin: 34px auto 42px;
  background: linear-gradient(135deg, #1b347f 0%, #2d6dff 100%);
  color: #fff;
}

.blog-cta h2 {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.05;
  letter-spacing: -0.05em;
}

.blog-cta p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.blog-cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

.blog-cta .blog-btn {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.blog-cta .blog-btn-primary {
  background: #fff;
  color: #1f4fd6;
}

.blog-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0 0 40px;
  color: var(--blog-muted);
  font-size: 14px;
}

.blog-footer a {
  color: var(--blog-ink);
  font-weight: 700;
  text-decoration: none;
}

.public-siz-tool {
  margin: 30px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(45, 109, 255, 0.22);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 18px 46px rgba(39, 66, 121, 0.1);
}

.public-siz-tool-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.public-siz-tool-head h2 {
  margin: 0 0 8px;
}

.public-siz-tool-head p,
.public-siz-empty,
.public-siz-option p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.55;
}

.public-siz-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 11px;
  border: 1px solid rgba(45, 109, 255, 0.2);
  border-radius: 999px;
  color: var(--blog-blue-dark);
  background: var(--blog-blue-soft);
  font-weight: 800;
  white-space: nowrap;
}

.public-siz-form,
.public-siz-section {
  padding: 18px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 18px;
  background: rgba(248, 251, 255, 0.76);
}

.public-siz-section {
  margin-top: 16px;
}

.public-siz-section h3 {
  margin: 0 0 12px;
  font-size: 20px;
  line-height: 1.2;
}

.public-siz-section-hint {
  margin: -4px 0 12px;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.5;
}

.public-siz-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.public-siz-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: #26364f;
  font-size: 13px;
  font-weight: 800;
}

.public-siz-field input,
.public-siz-field select,
.public-siz-preview input {
  width: 100%;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 10px;
  color: var(--blog-ink);
  background: #fff;
  font: inherit;
  font-size: 15px;
}

.public-siz-field input:focus,
.public-siz-field select:focus,
.public-siz-preview input:focus {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.14);
}

.public-siz-mode {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.public-siz-mode label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-weight: 800;
}

.public-siz-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.public-siz-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 10px;
  color: var(--blog-ink);
  background: #fff;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease, box-shadow 0.15s ease;
}

.public-siz-btn-primary {
  border-color: transparent;
  color: #fff;
  background: linear-gradient(135deg, var(--blog-blue) 0%, #4b83ff 100%);
  box-shadow: 0 12px 24px rgba(45, 109, 255, 0.22);
}

.public-siz-btn:hover:not(:disabled) {
  border-color: rgba(45, 109, 255, 0.42);
  background: #f6f9ff;
}

.public-siz-btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #245fe6 0%, #3f77ef 100%);
}

.public-siz-btn:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.public-siz-btn:disabled {
  cursor: default;
  opacity: 0.55;
}

.public-siz-status {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  margin-top: 14px;
  padding: 10px 12px;
  border: 1px solid rgba(45, 109, 255, 0.2);
  border-radius: 12px;
  color: #174ea6;
  background: #edf4ff;
  font-weight: 700;
}

.public-siz-status.is-error {
  border-color: rgba(220, 38, 38, 0.24);
  color: #a11d1d;
  background: #fff1f1;
}

.public-siz-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(45, 109, 255, 0.24);
  border-top-color: var(--blog-blue);
  border-radius: 50%;
  animation: public-siz-spin 0.75s linear infinite;
}

@keyframes public-siz-spin {
  to {
    transform: rotate(360deg);
  }
}

.public-siz-option,
.public-siz-pick-panel,
.public-siz-selected-row {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid rgba(180, 202, 232, 0.82);
  border-radius: 12px;
  background: #fff;
}

.public-siz-option + .public-siz-option,
.public-siz-pick-panel + .public-siz-pick-panel {
  margin-top: 10px;
}

.public-siz-option strong,
.public-siz-pick-panel strong {
  color: var(--blog-ink);
}

.public-siz-check {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  color: #26364f;
  font-size: 14px;
  line-height: 1.35;
}

.public-siz-check input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
}

.public-siz-multiselect-option[hidden] {
  display: none !important;
}

.public-siz-multiselect {
  position: relative;
}

.public-siz-multiselect summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 10px;
  background: #fff;
  color: var(--blog-ink);
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}

.public-siz-multiselect summary::-webkit-details-marker {
  display: none;
}

.public-siz-multiselect summary::after {
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.15s ease;
}

.public-siz-multiselect[open] summary::after {
  transform: rotate(225deg);
}

.public-siz-multiselect summary:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.public-siz-multiselect summary strong {
  margin-left: auto;
  color: var(--blog-blue-dark);
  font-size: 13px;
  white-space: nowrap;
}

.public-siz-multiselect-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  z-index: 40;
  margin-top: 8px;
  padding: 10px;
  border: 1px solid rgba(180, 202, 232, 0.92);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 16px 34px rgba(39, 66, 121, 0.14);
}

.public-siz-multiselect-search {
  width: 100%;
  min-height: 38px;
  margin-bottom: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(149, 171, 204, 0.9);
  border-radius: 8px;
  font: inherit;
  font-size: 14px;
}

.public-siz-multiselect-search:focus {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.14);
}

.public-siz-multiselect-options {
  display: grid;
  gap: 8px;
  max-height: 260px;
  overflow: auto;
  padding-right: 4px;
}

.public-siz-two-columns {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px;
}

.public-siz-selected {
  display: grid;
  gap: 8px;
}

.public-siz-selected-row {
  grid-template-columns: 130px minmax(0, 1fr) auto;
  align-items: center;
}

.public-siz-selected-row span,
.public-siz-selected-row em {
  color: var(--blog-muted);
  font-size: 13px;
  font-style: normal;
}

.public-siz-preview {
  overflow: auto;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 12px;
  background: #fff;
}

.public-siz-preview-grid {
  min-width: 820px;
}

.public-siz-preview-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 54px;
  border-bottom: 1px solid rgba(180, 202, 232, 0.72);
}

.public-siz-preview-row:last-child {
  border-bottom: 0;
}

.public-siz-preview-side {
  display: grid;
}

.public-siz-preview-left {
  grid-template-columns: minmax(92px, 0.7fr) minmax(160px, 1.4fr) minmax(110px, 0.75fr);
  border-right: 1px solid rgba(180, 202, 232, 0.72);
}

.public-siz-preview-right {
  grid-template-columns: minmax(190px, 1.5fr) minmax(132px, 0.75fr);
}

.public-siz-preview-side > span {
  padding: 10px;
  border-right: 1px solid rgba(180, 202, 232, 0.46);
  color: #26364f;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.public-siz-preview-side > span:last-child {
  border-right: 0;
}

.public-siz-preview-head {
  min-height: 44px;
}

.public-siz-preview-head span {
  color: var(--blog-ink);
  background: #f4f8ff;
  font-weight: 800;
}

.public-siz-preview-empty {
  padding: 14px;
  color: var(--blog-muted);
  font-weight: 700;
}

.public-siz-download-panel {
  display: flex;
  justify-content: flex-end;
  padding-top: 4px;
}

.order-documents-tool {
  margin: 30px 0;
  scroll-margin-top: 112px;
}

.order-documents-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-documents-type {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 112px;
  padding: 14px;
  border: 1px solid rgba(180, 202, 232, 0.9);
  border-radius: 14px;
  background: #fff;
  cursor: pointer;
}

.order-documents-type.is-selected {
  border-color: rgba(45, 109, 255, 0.5);
  background: rgba(245, 249, 255, 0.94);
  box-shadow: 0 10px 24px rgba(45, 109, 255, 0.08);
}

.order-documents-type.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.order-documents-type input {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--blog-blue);
}

.order-documents-type strong {
  display: block;
  color: var(--blog-ink);
  font-size: 15px;
  line-height: 1.35;
}

.order-documents-type small {
  display: block;
  margin-top: 6px;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.order-documents-empty {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.order-documents-mini-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  margin: 16px 0 0;
  padding-left: 20px;
}

.order-documents-mini-list li {
  margin: 0;
}

@media (max-width: 900px) {
  .order-documents-list,
  .order-documents-mini-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .order-documents-type {
    min-height: 0;
    padding: 12px;
  }
}

@media (max-width: 900px) {
  .blog-topbar,
  .blog-cta {
    grid-template-columns: 1fr;
  }

  .blog-topbar {
    align-items: flex-start;
    border-radius: 24px;
  }

  .blog-nav {
    justify-content: flex-start;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .blog-section-tabs {
    grid-template-columns: 1fr;
    margin-top: -22px;
  }

  .blog-cta {
    display: block;
  }

  .blog-cta-actions {
    justify-content: flex-start;
    margin-top: 22px;
  }

  .public-siz-tool-head,
  .public-siz-two-columns,
  .training-options,
  .briefing-deadline-grid,
  .briefing-deadline-options,
  .document-check-grid,
  .document-check-options,
  .document-check-list,
  .risk-lite-grid,
  .risk-lite-hazard,
  .responsible-order-types,
  .responsible-order-grid,
  .responsible-order-extra-body,
  .responsible-order-preview,
  .order-documents-repeat-row,
  .order-documents-repeat-row.is-wide-row,
  .prescription-public-workspace,
  .prescription-public-layout,
  .prescription-template-controls,
  .prescription-row-details,
  .prescription-row-inline-details,
  .prescription-public-grid {
    grid-template-columns: 1fr;
  }

  .public-siz-tool-head,
  .training-tool-head,
  .document-check-head,
  .responsible-order-head,
  .prescription-public-head {
    display: grid;
  }

  .responsible-order-field.is-wide,
  .responsible-order-check.is-wide,
  .prescription-public-field.is-wide {
    grid-column: auto;
  }

  .responsible-order-actions,
  .prescription-public-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .responsible-order-download,
  .prescription-public-download {
    width: 100%;
  }

  .prescription-photo-panel {
    position: static;
  }

  .prescription-template-item {
    grid-template-columns: 1fr;
  }

  .risk-lite-download-panel {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .blog-shell {
    width: min(100% - 20px, var(--blog-max));
  }

  .blog-topbar {
    top: 8px;
    margin-top: 8px;
  }

  .blog-brand strong {
    font-size: 20px;
  }

  .blog-nav a,
  .blog-btn {
    min-height: 38px;
    padding: 8px 12px;
    font-size: 14px;
  }

  .blog-article p,
  .blog-article li {
    font-size: 16px;
  }

  .blog-table {
    min-width: 0;
    table-layout: fixed;
  }

  .blog-table th,
  .blog-table td {
    padding: 10px 9px;
    font-size: 13px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }

  .blog-table.blog-table--stacked-mobile,
  .blog-table--stacked-mobile tbody,
  .blog-table--stacked-mobile tr,
  .blog-table--stacked-mobile td {
    display: block;
    width: 100%;
  }

  .blog-table--stacked-mobile thead {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }

  .blog-table--stacked-mobile tr {
    padding: 14px;
    border-bottom: 1px solid rgba(180, 202, 232, 0.72);
  }

  .blog-table--stacked-mobile tr:last-child {
    border-bottom: 0;
  }

  .blog-table--stacked-mobile td,
  .blog-table--stacked-mobile tr:last-child td {
    padding: 0;
    border-bottom: 0;
    font-size: 14px;
    line-height: 1.45;
    overflow-wrap: break-word;
  }

  .blog-table--stacked-mobile td + td {
    margin-top: 12px;
  }

  .blog-table--stacked-mobile td::before {
    display: block;
    margin-bottom: 3px;
    color: var(--blog-ink);
    content: attr(data-label);
    font-weight: 800;
  }

  .public-siz-field-grid,
  .public-siz-selected-row {
    grid-template-columns: 1fr;
  }

  .public-siz-form,
  .public-siz-section {
    padding: 14px;
  }

  .public-siz-download-panel .public-siz-btn {
    width: 100%;
  }

  .prescription-public-panel {
    padding: 14px;
  }

  .prescription-template-list {
    max-height: 360px;
  }

  .prescription-photo-thumb {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .prescription-photo-thumb img {
    width: 64px;
  }

  .prescription-public-table,
  .prescription-public-table thead,
  .prescription-public-table tbody,
  .prescription-public-table tr,
  .prescription-public-table td {
    display: block;
    width: 100%;
  }

  .prescription-public-table thead {
    display: none;
  }

  .prescription-public-table tr {
    border-bottom: 1px solid rgba(180, 202, 232, 0.72);
  }

  .prescription-public-table tr:last-child {
    border-bottom: 0;
  }

  .prescription-public-table td {
    border-right: 0;
  }

  .prescription-public-table td::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 7px;
    color: var(--blog-muted);
    font-size: 12px;
    font-weight: 900;
  }

  .prescription-public-num {
    text-align: left;
  }
}

.changes-2464-tool {
  scroll-margin-top: 110px;
  margin: 36px 0;
  padding: 24px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: var(--blog-surface-strong);
  box-shadow: 0 18px 44px rgba(39, 66, 121, 0.1);
}

.changes-2464-print-brand {
  display: none;
}

.changes-2464-tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: start;
}

.changes-2464-tool-head h2 {
  margin-top: 0;
}

.changes-2464-tool-head p:last-child {
  margin-bottom: 0;
}

.changes-2464-progress {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #f8fbff;
}

.changes-2464-progress strong {
  font-size: 18px;
}

.changes-2464-progress progress {
  width: 100%;
  height: 12px;
  accent-color: #176f48;
}

.changes-2464-form {
  margin-top: 24px;
  scroll-margin-top: 110px;
}

.changes-2464-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.changes-2464-form legend {
  margin-bottom: 14px;
  padding: 0;
  font-weight: 800;
}

.changes-2464-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.changes-2464-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-height: 94px;
  padding: 14px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.changes-2464-item:hover {
  border-color: #7aa2e8;
  background: #f8fbff;
}

.changes-2464-item:has(input:checked) {
  border-color: #5b9a77;
  background: #f1faf5;
}

.changes-2464-item input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #176f48;
}

.changes-2464-item strong,
.changes-2464-item small {
  display: block;
  overflow-wrap: anywhere;
}

.changes-2464-item strong {
  line-height: 1.35;
}

.changes-2464-item small {
  margin-top: 5px;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.45;
}

.changes-2464-status {
  min-height: 48px;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #176f48;
  background: #f1faf5;
}

.changes-2464-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.changes-2464-item input:focus-visible,
.changes-2464-actions button:focus-visible {
  outline: 3px solid rgba(45, 109, 255, 0.35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .changes-2464-tool {
    padding: 18px;
  }

  .changes-2464-tool-head,
  .changes-2464-grid {
    grid-template-columns: 1fr;
  }

  .changes-2464-progress {
    width: 100%;
  }

  .changes-2464-item {
    min-height: 0;
  }

  .changes-2464-form {
    scroll-margin-top: 150px;
  }
}

@media print {
  .changes-2464-tool {
    box-shadow: none;
  }

  .changes-2464-actions,
  .blog-topbar,
  .blog-back-link,
  .blog-footer {
    display: none !important;
  }

  body.print-changes-2464-checklist {
    background: #ffffff;
  }

  body.print-changes-2464-checklist .blog-article > :not(.changes-2464-tool) {
    display: none !important;
  }

  body.print-changes-2464-checklist main.blog-shell {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.print-changes-2464-checklist .blog-article,
  body.print-changes-2464-checklist .changes-2464-tool {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    break-inside: auto;
  }

  body.print-changes-2464-checklist .changes-2464-print-brand {
    display: block;
    margin: 0 0 12px;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
  }

  body.print-changes-2464-checklist .changes-2464-item {
    min-height: 0;
    break-inside: avoid;
  }
}

.contractor-admission-tool {
  scroll-margin-top: 110px;
  margin: 36px 0;
  padding: 24px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: var(--blog-surface-strong);
  box-shadow: 0 18px 44px rgba(39, 66, 121, 0.1);
}

.contractor-admission-print-brand {
  display: none;
}

.contractor-admission-tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 24px;
  align-items: start;
}

.contractor-admission-tool-head h2 {
  margin-top: 0;
}

.contractor-admission-tool-head p:last-child {
  margin-bottom: 0;
}

.contractor-admission-progress {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #f8fbff;
}

.contractor-admission-progress strong {
  font-size: 18px;
}

.contractor-admission-progress progress {
  width: 100%;
  height: 12px;
  accent-color: #176f48;
}

.contractor-admission-form {
  display: grid;
  gap: 24px;
  margin-top: 24px;
  scroll-margin-top: 110px;
}

.contractor-admission-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.contractor-admission-form legend {
  margin-bottom: 14px;
  padding: 0;
  font-weight: 800;
}

.contractor-admission-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contractor-admission-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-height: 104px;
  padding: 14px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.contractor-admission-item:hover {
  border-color: #7aa2e8;
  background: #f8fbff;
}

.contractor-admission-item:has(input:checked) {
  border-color: #5b9a77;
  background: #f1faf5;
}

.contractor-admission-item input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #176f48;
}

.contractor-admission-item strong,
.contractor-admission-item small {
  display: block;
  overflow-wrap: anywhere;
}

.contractor-admission-item strong {
  line-height: 1.35;
}

.contractor-admission-item small {
  margin-top: 5px;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.45;
}

.contractor-admission-status {
  min-height: 48px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #176f48;
  background: #f1faf5;
}

.contractor-admission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.contractor-admission-actions .blog-btn {
  min-height: 44px;
}

.contractor-admission-privacy {
  margin: 12px 0 0;
  color: var(--blog-muted);
  font-size: 14px;
}

.contractor-admission-item input:focus-visible,
.contractor-admission-actions button:focus-visible {
  outline: 3px solid rgba(45, 109, 255, 0.35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .contractor-admission-tool {
    padding: 18px;
  }

  .contractor-admission-tool-head,
  .contractor-admission-grid {
    grid-template-columns: 1fr;
  }

  .contractor-admission-progress {
    width: 100%;
  }

  .contractor-admission-item {
    min-height: 0;
  }

  .contractor-admission-form {
    scroll-margin-top: 150px;
  }

  .contractor-admission-actions .blog-btn {
    width: 100%;
  }
}

@media print {
  body.print-contractor-admission-checklist {
    background: #ffffff;
  }

  body.print-contractor-admission-checklist .blog-topbar,
  body.print-contractor-admission-checklist .blog-section-tabs,
  body.print-contractor-admission-checklist .blog-back-link,
  body.print-contractor-admission-checklist .blog-footer,
  body.print-contractor-admission-checklist .contractor-admission-actions,
  body.print-contractor-admission-checklist .contractor-admission-status,
  body.print-contractor-admission-checklist .contractor-admission-privacy,
  body.print-contractor-admission-checklist .contractor-admission-tool-head .blog-kicker,
  body.print-contractor-admission-checklist .contractor-admission-tool-head p {
    display: none !important;
  }

  body.print-contractor-admission-checklist .blog-article > :not(.contractor-admission-tool) {
    display: none !important;
  }

  body.print-contractor-admission-checklist main.blog-shell {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.print-contractor-admission-checklist .blog-article,
  body.print-contractor-admission-checklist .contractor-admission-tool {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
    break-inside: auto;
  }

  body.print-contractor-admission-checklist .contractor-admission-print-brand {
    display: block;
    margin: 0 0 12px;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
  }

  body.print-contractor-admission-checklist .contractor-admission-tool-head {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 16px;
  }

  body.print-contractor-admission-checklist .contractor-admission-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.print-contractor-admission-checklist .contractor-admission-item {
    min-height: 0;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

.winter-workwear-tool {
  scroll-margin-top: 110px;
  margin: 36px 0;
  padding: 24px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: var(--blog-surface-strong);
  box-shadow: 0 18px 44px rgba(39, 66, 121, 0.1);
}

.winter-workwear-print-brand {
  display: none;
}

.winter-workwear-tool-head h2 {
  margin-top: 0;
}

.winter-workwear-tool-head p:last-child {
  margin-bottom: 0;
}

.winter-workwear-form {
  margin-top: 24px;
}

.winter-workwear-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.winter-workwear-field {
  display: grid;
  align-content: start;
  gap: 7px;
  min-width: 0;
  color: var(--blog-text);
  font-weight: 700;
}

.winter-workwear-field input,
.winter-workwear-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid var(--blog-line);
  border-radius: 6px;
  background: #ffffff;
  color: var(--blog-text);
  font: inherit;
  font-weight: 500;
}

.winter-workwear-field input:focus-visible,
.winter-workwear-field select:focus-visible,
.winter-workwear-actions button:focus-visible,
.winter-workwear-result-actions button:focus-visible,
.winter-workwear-result-actions a:focus-visible {
  border-color: #2d6dff;
  outline: 3px solid rgba(45, 109, 255, 0.25);
  outline-offset: 2px;
}

.winter-workwear-field-help {
  min-height: 40px;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.winter-workwear-actions {
  margin-top: 16px;
}

.winter-workwear-error {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #b42318;
  background: #fff4f2;
  color: #7a271a;
  font-weight: 700;
}

.winter-workwear-result {
  margin-top: 24px;
  padding: 20px;
  border: 1px solid #a7d7bb;
  border-radius: 8px;
  background: #f1faf5;
}

.winter-workwear-result-label {
  margin: 0;
  color: #176f48;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.winter-workwear-result h3 {
  margin: 6px 0 8px;
  font-size: 36px;
  overflow-wrap: anywhere;
}

.winter-workwear-result > p:not(.winter-workwear-result-label) {
  margin: 0;
}

.winter-workwear-result-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.winter-workwear-result-grid div {
  min-width: 0;
  padding: 13px;
  border: 1px solid rgba(91, 154, 119, 0.5);
  border-radius: 6px;
  background: #ffffff;
}

.winter-workwear-result-grid span,
.winter-workwear-result-grid strong {
  display: block;
  overflow-wrap: anywhere;
}

.winter-workwear-result-grid span {
  min-height: 40px;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.4;
}

.winter-workwear-result-grid strong {
  margin-top: 6px;
  font-size: 17px;
}

.winter-workwear-print-summary {
  margin-top: 16px !important;
  color: var(--blog-muted);
  font-size: 14px;
}

.winter-workwear-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.winter-workwear-result-actions .blog-btn {
  min-height: 44px;
}

.winter-workwear-privacy {
  margin: 14px 0 0;
  color: var(--blog-muted);
  font-size: 14px;
}

@media (max-width: 760px) {
  .winter-workwear-tool {
    padding: 18px;
    scroll-margin-top: 150px;
  }

  .winter-workwear-tool-head h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  .winter-workwear-grid,
  .winter-workwear-result-grid {
    grid-template-columns: 1fr;
  }

  .winter-workwear-field-help,
  .winter-workwear-result-grid span {
    min-height: 0;
  }

  .winter-workwear-result h3 {
    font-size: 30px;
  }

  .winter-workwear-actions .training-action-btn,
  .winter-workwear-result-actions .blog-btn {
    width: 100%;
  }
}

@media print {
  body.print-winter-workwear-deadline {
    background: #ffffff;
  }

  body.print-winter-workwear-deadline .blog-topbar,
  body.print-winter-workwear-deadline .blog-section-tabs,
  body.print-winter-workwear-deadline .blog-back-link,
  body.print-winter-workwear-deadline .blog-footer,
  body.print-winter-workwear-deadline .winter-workwear-form,
  body.print-winter-workwear-deadline .winter-workwear-privacy,
  body.print-winter-workwear-deadline .winter-workwear-result-actions,
  body.print-winter-workwear-deadline .winter-workwear-tool-head .blog-kicker,
  body.print-winter-workwear-deadline .winter-workwear-tool-head p {
    display: none !important;
  }

  body.print-winter-workwear-deadline .blog-article > :not(.winter-workwear-tool) {
    display: none !important;
  }

  body.print-winter-workwear-deadline main.blog-shell {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.print-winter-workwear-deadline .blog-article,
  body.print-winter-workwear-deadline .winter-workwear-tool {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
  }

  body.print-winter-workwear-deadline .winter-workwear-print-brand {
    display: block;
    margin: 0 0 12px;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
  }

  body.print-winter-workwear-deadline .winter-workwear-result {
    border-color: #777777;
    background: #ffffff;
    break-inside: avoid;
  }

  body.print-winter-workwear-deadline .winter-workwear-result-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.siz-return-tool {
  scroll-margin-top: 110px;
  margin: 36px 0;
  padding: 24px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: var(--blog-surface-strong);
  box-shadow: 0 18px 44px rgba(39, 66, 121, 0.1);
}

.siz-return-print-brand {
  display: none;
}

.siz-return-tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.32fr);
  gap: 22px;
  align-items: end;
}

.siz-return-tool-head h2 {
  margin: 4px 0 10px;
}

.siz-return-tool-head p:last-child {
  margin-bottom: 0;
}

.siz-return-progress {
  display: grid;
  gap: 8px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #b8cfbf;
  border-radius: 8px;
  background: #f3faf5;
}

.siz-return-progress strong {
  font-size: 18px;
}

.siz-return-progress progress {
  width: 100%;
  height: 12px;
  accent-color: #176f48;
}

.siz-return-form {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.siz-return-form fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.siz-return-form legend {
  margin-bottom: 14px;
  padding: 0;
  font-weight: 800;
}

.siz-return-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.siz-return-item {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-height: 100px;
  padding: 14px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.siz-return-item:hover {
  border-color: #7aa2e8;
  background: #f8fbff;
}

.siz-return-item:has(input:checked) {
  border-color: #5b9a77;
  background: #f1faf5;
}

.siz-return-item input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: #176f48;
}

.siz-return-item strong,
.siz-return-item small {
  display: block;
  overflow-wrap: anywhere;
}

.siz-return-item strong {
  line-height: 1.35;
}

.siz-return-item small {
  margin-top: 5px;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.45;
}

.siz-return-status {
  min-height: 48px;
  margin: 18px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #176f48;
  background: #f1faf5;
}

.siz-return-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.siz-return-actions .blog-btn {
  min-height: 44px;
}

.siz-return-privacy {
  margin: 12px 0 0;
  color: var(--blog-muted);
  font-size: 14px;
}

.siz-return-item input:focus-visible,
.siz-return-actions button:focus-visible {
  outline: 3px solid rgba(45, 109, 255, 0.35);
  outline-offset: 3px;
}

@media (max-width: 760px) {
  .siz-return-tool {
    padding: 18px;
    scroll-margin-top: 150px;
  }

  .siz-return-tool-head,
  .siz-return-grid {
    grid-template-columns: 1fr;
  }

  .siz-return-progress {
    width: 100%;
  }

  .siz-return-item {
    min-height: 0;
  }

  .siz-return-actions .blog-btn {
    width: 100%;
  }
}

@media print {
  body.print-siz-return-checklist {
    background: #ffffff;
  }

  body.print-siz-return-checklist .blog-topbar,
  body.print-siz-return-checklist .blog-section-tabs,
  body.print-siz-return-checklist .blog-back-link,
  body.print-siz-return-checklist .blog-footer,
  body.print-siz-return-checklist .siz-return-actions,
  body.print-siz-return-checklist .siz-return-status,
  body.print-siz-return-checklist .siz-return-privacy,
  body.print-siz-return-checklist .siz-return-tool-head .blog-kicker,
  body.print-siz-return-checklist .siz-return-tool-head p {
    display: none !important;
  }

  body.print-siz-return-checklist .blog-article > :not(.siz-return-tool) {
    display: none !important;
  }

  body.print-siz-return-checklist main.blog-shell {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
  }

  body.print-siz-return-checklist .blog-article,
  body.print-siz-return-checklist .siz-return-tool {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
    break-inside: auto;
  }

  body.print-siz-return-checklist .siz-return-print-brand {
    display: block;
    margin: 0 0 12px;
    color: #111111;
    font-size: 12px;
    font-weight: 800;
  }

  body.print-siz-return-checklist .siz-return-tool-head {
    grid-template-columns: minmax(0, 1fr) 150px;
    gap: 16px;
  }

  body.print-siz-return-checklist .siz-return-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.print-siz-return-checklist .siz-return-item {
    min-height: 0;
    break-inside: avoid;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}

.action-plan-tool {
  scroll-margin-top: 110px;
  margin: 36px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: var(--blog-surface-strong);
  box-shadow: 0 18px 44px rgba(39, 66, 121, 0.1);
}

.action-plan-tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 210px;
  gap: 22px;
  align-items: end;
}

.action-plan-tool-head h2,
.action-plan-result-head h3 {
  margin: 4px 0 8px;
}

.action-plan-tool-head p:last-child,
.action-plan-result-head p,
.action-plan-categories > p {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.5;
}

.action-plan-tool-summary {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #bfd1ee;
  border-radius: 8px;
  background: #f4f8ff;
}

.action-plan-tool-summary span {
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 700;
}

.action-plan-tool-summary strong {
  color: var(--blog-ink);
  font-size: 18px;
}

.action-plan-form {
  display: grid;
  gap: 20px;
  margin-top: 24px;
}

.action-plan-year,
.action-plan-field {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--blog-muted);
  font-size: 13px;
  font-weight: 700;
}

.action-plan-year {
  width: min(240px, 100%);
}

.action-plan-year select,
.action-plan-field input,
.action-plan-field textarea,
.action-plan-field select {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 8px;
  background: #ffffff;
  color: var(--blog-ink);
  font: inherit;
  font-weight: 650;
}

.action-plan-field textarea {
  min-height: 86px;
  line-height: 1.45;
  resize: vertical;
}

.action-plan-year select:focus-visible,
.action-plan-field input:focus-visible,
.action-plan-field textarea:focus-visible,
.action-plan-field select:focus-visible,
.action-plan-category input:focus-visible,
.action-plan-remove:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.action-plan-categories {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.action-plan-categories legend {
  margin-bottom: 6px;
  padding: 0;
  color: var(--blog-ink);
  font-weight: 800;
}

.action-plan-category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.action-plan-category {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-height: 92px;
  padding: 14px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.action-plan-category:hover {
  border-color: #7aa2e8;
  background: #f8fbff;
}

.action-plan-category:has(input:checked) {
  border-color: #6b9b7d;
  background: #f2faf5;
}

.action-plan-category input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #176f48;
}

.action-plan-category strong,
.action-plan-category small {
  display: block;
  overflow-wrap: anywhere;
}

.action-plan-category strong {
  color: var(--blog-ink);
  font-size: 15px;
  line-height: 1.35;
}

.action-plan-category small {
  margin-top: 5px;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.4;
}

.action-plan-form-actions,
.action-plan-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.action-plan-form-actions .training-action-btn,
.action-plan-result-actions .training-action-btn {
  min-width: 142px;
}

.action-plan-result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--blog-line);
}

.action-plan-result-head .training-action-btn {
  flex: 0 0 auto;
}

.action-plan-rows {
  display: grid;
  margin-top: 16px;
  border-top: 1px solid var(--blog-line);
}

.action-plan-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--blog-line);
}

.action-plan-row-head {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 38px;
  gap: 11px;
  align-items: start;
}

.action-plan-row-number {
  display: inline-grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  color: #ffffff;
  background: var(--blog-blue);
  font-size: 13px;
  font-weight: 800;
}

.action-plan-row-head strong,
.action-plan-row-head small {
  display: block;
  overflow-wrap: anywhere;
}

.action-plan-row-head strong {
  color: var(--blog-ink);
  line-height: 1.4;
}

.action-plan-row-head small {
  margin-top: 4px;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.4;
}

.action-plan-remove {
  display: inline-grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #ffffff;
  color: #8c3340;
  font: inherit;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.action-plan-remove:hover {
  border-color: #c87582;
  background: #fff5f6;
}

.action-plan-row-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
  padding-left: 45px;
}

.action-plan-field-wide {
  grid-column: 1 / -1;
}

.action-plan-result-actions {
  margin-top: 18px;
}

.action-plan-download {
  min-width: 180px !important;
}

.action-plan-download.is-loading::after {
  width: 14px;
  height: 14px;
  border: 2px solid rgba(255, 255, 255, 0.45);
  border-top-color: #ffffff;
  border-radius: 50%;
  content: "";
  animation: public-btn-spin 0.8s linear infinite;
}

.action-plan-result-actions .training-action-btn:disabled {
  cursor: default;
  opacity: 0.55;
  box-shadow: none;
}

.action-plan-status {
  min-height: 46px;
  margin: 14px 0 0;
  padding: 11px 13px;
  border-left: 4px solid #91a2ba;
  background: #f6f8fb;
  color: var(--blog-ink);
  font-size: 14px;
  line-height: 1.45;
}

.action-plan-status-success {
  border-left-color: #176f48;
  background: #f1faf5;
}

.action-plan-status-error {
  border-left-color: #b33e4d;
  background: #fff5f6;
}

.action-plan-empty {
  margin: 16px 0 0;
  padding: 18px;
  border: 1px dashed var(--blog-line);
  border-radius: 8px;
  color: var(--blog-muted);
  text-align: center;
}

.action-plan-privacy {
  margin: 12px 0 0;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.45;
}

.action-plan-print-layout {
  display: none;
}

@media (max-width: 760px) {
  .action-plan-tool {
    padding: 18px;
    scroll-margin-top: 150px;
  }

  .action-plan-tool-head,
  .action-plan-category-grid,
  .action-plan-row-grid {
    grid-template-columns: 1fr;
  }

  .action-plan-tool-summary,
  .action-plan-year {
    width: 100%;
  }

  .action-plan-category {
    min-height: 0;
  }

  .action-plan-result-head {
    display: grid;
    align-items: stretch;
  }

  .action-plan-result-head .training-action-btn,
  .action-plan-form-actions .training-action-btn,
  .action-plan-result-actions .training-action-btn {
    width: 100%;
  }

  .action-plan-row-head {
    grid-template-columns: 32px minmax(0, 1fr) 36px;
  }

  .action-plan-row-grid {
    padding-left: 0;
  }

  .action-plan-field-wide {
    grid-column: auto;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 8mm;
  }

  body.print-action-plan {
    background: #ffffff;
  }

  body.print-action-plan .blog-topbar,
  body.print-action-plan .blog-section-tabs,
  body.print-action-plan .blog-footer,
  body.print-action-plan .action-plan-tool,
  body.print-action-plan .blog-article > :not(.action-plan-print-layout) {
    display: none !important;
  }

  body.print-action-plan main.blog-shell,
  body.print-action-plan .blog-article {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
  }

  body.print-action-plan .action-plan-print-layout {
    display: block;
    color: #111111;
    font-family: Arial, sans-serif;
  }

  body.print-action-plan .action-plan-print-layout header {
    margin-bottom: 10px;
  }

  body.print-action-plan .action-plan-print-layout header p,
  body.print-action-plan .action-plan-print-layout header span,
  body.print-action-plan .action-plan-print-note {
    margin: 0;
    color: #333333;
    font-size: 8pt;
    line-height: 1.3;
  }

  body.print-action-plan .action-plan-print-layout h1 {
    margin: 4px 0 6px;
    font-size: 14pt;
    line-height: 1.2;
  }

  body.print-action-plan .action-plan-print-layout table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
    font-size: 6.6pt;
    line-height: 1.22;
  }

  body.print-action-plan .action-plan-print-layout th,
  body.print-action-plan .action-plan-print-layout td {
    padding: 3px;
    border: 1px solid #777777;
    vertical-align: top;
    overflow-wrap: anywhere;
  }

  body.print-action-plan .action-plan-print-layout th {
    background: #e9eef6;
    font-weight: 700;
    text-align: center;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }

  body.print-action-plan .action-plan-print-layout th:nth-child(1) {
    width: 3%;
  }

  body.print-action-plan .action-plan-print-layout th:nth-child(2) {
    width: 11%;
  }

  body.print-action-plan .action-plan-print-layout th:nth-child(3) {
    width: 22%;
  }

  body.print-action-plan .action-plan-print-layout th:nth-child(4),
  body.print-action-plan .action-plan-print-layout th:nth-child(8) {
    width: 14%;
  }

  body.print-action-plan .action-plan-print-layout th:nth-child(5),
  body.print-action-plan .action-plan-print-layout th:nth-child(6),
  body.print-action-plan .action-plan-print-layout th:nth-child(9) {
    width: 9%;
  }

  body.print-action-plan .action-plan-print-layout th:nth-child(7) {
    width: 10%;
  }

  body.print-action-plan .action-plan-print-layout tr {
    break-inside: avoid;
  }

  body.print-action-plan .action-plan-print-note {
    margin-top: 8px;
  }
}

.sfr-financing-tool {
  scroll-margin-top: 110px;
  margin: 36px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: var(--blog-surface-strong);
  box-shadow: 0 18px 44px rgba(39, 66, 121, 0.1);
}

.sfr-financing-tool-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 230px;
  gap: 22px;
  align-items: end;
}

.sfr-financing-tool-head h2,
.sfr-financing-result-head h3 {
  margin: 4px 0 8px;
}

.sfr-financing-tool-head p:last-child {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sfr-financing-privacy {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #b7d8c4;
  border-radius: 8px;
  background: #f2faf5;
}

.sfr-financing-privacy strong {
  font-size: 14px;
}

.sfr-financing-privacy span {
  color: #456454;
  font-size: 12px;
  line-height: 1.45;
}

#sfrFinancingForm {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.sfr-financing-section {
  min-width: 0;
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--blog-line);
}

.sfr-financing-section legend {
  padding: 0 10px 0 0;
  color: var(--blog-ink);
  font-size: 18px;
  font-weight: 800;
}

.sfr-financing-hint {
  margin: 8px 0 0;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.5;
}

.sfr-financing-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.sfr-financing-choice,
.sfr-financing-thirty {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.sfr-financing-choice:hover,
.sfr-financing-thirty:hover {
  border-color: #7aa2e8;
  background: #f8fbff;
}

.sfr-financing-choice:has(input:checked),
.sfr-financing-thirty:has(input:checked) {
  border-color: #6b9b7d;
  background: #f2faf5;
}

.sfr-financing-choice input,
.sfr-financing-thirty input,
.sfr-financing-measure input[type="checkbox"] {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #176f48;
}

.sfr-financing-choice strong,
.sfr-financing-choice small,
.sfr-financing-thirty strong,
.sfr-financing-thirty small,
.sfr-financing-measure strong,
.sfr-financing-measure small {
  display: block;
  overflow-wrap: anywhere;
}

.sfr-financing-choice small,
.sfr-financing-thirty small,
.sfr-financing-measure small {
  margin-top: 4px;
  color: var(--blog-muted);
  font-size: 12px;
  line-height: 1.4;
}

.sfr-financing-year-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 22px;
  margin-top: 16px;
}

.sfr-financing-year {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  min-width: 0;
}

.sfr-financing-year[hidden],
.sfr-financing-result[hidden] {
  display: none;
}

.sfr-financing-year h3 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: 15px;
}

.sfr-financing-year h3 small {
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 600;
}

.sfr-financing-year label,
.sfr-financing-measure > label:last-child {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 700;
}

.sfr-financing-year input,
.sfr-financing-measure input[type="number"] {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 8px;
  background: #ffffff;
  color: var(--blog-ink);
  font: inherit;
  font-weight: 650;
}

.sfr-financing-year-current {
  padding-left: 20px;
  border-left: 3px solid #8eb2ef;
}

.sfr-financing-measures {
  display: grid;
  gap: 0;
  margin-top: 14px;
  border-top: 1px solid var(--blog-line);
}

.sfr-financing-measure {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 220px);
  gap: 16px;
  align-items: center;
  min-width: 0;
  padding: 14px 0;
  border-bottom: 1px solid var(--blog-line);
}

.sfr-financing-measure > label:first-child {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  cursor: pointer;
}

.sfr-financing-measure input:disabled {
  cursor: default;
  background: #f1f4f8;
  color: #7e899b;
}

.sfr-financing-thirty {
  margin-top: 16px;
}

.sfr-financing-choice input:focus-visible,
.sfr-financing-thirty input:focus-visible,
.sfr-financing-measure input:focus-visible,
.sfr-financing-year input:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.sfr-financing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sfr-financing-actions .training-action-btn {
  min-width: 180px;
}

.sfr-financing-status {
  min-height: 46px;
  margin: -8px 0 0;
  padding: 11px 13px;
  border-left: 4px solid #91a2ba;
  background: #f6f8fb;
  color: var(--blog-ink);
  font-size: 14px;
  line-height: 1.45;
}

.sfr-financing-status-success {
  border-left-color: #176f48;
  background: #f1faf5;
}

.sfr-financing-status-error {
  border-left-color: #b33e4d;
  background: #fff5f6;
}

.sfr-financing-result {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--blog-line);
  outline: none;
}

.sfr-financing-result:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.sfr-financing-result-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.sfr-financing-result-head .training-action-btn:disabled,
.sfr-financing-actions .training-action-btn:disabled {
  cursor: default;
  opacity: 0.55;
  box-shadow: none;
}

.sfr-financing-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.sfr-financing-summary > div {
  display: grid;
  gap: 5px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #bfd1ee;
  border-radius: 8px;
  background: #f4f8ff;
}

.sfr-financing-summary span {
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 700;
}

.sfr-financing-summary strong {
  overflow-wrap: anywhere;
  font-size: clamp(17px, 2.2vw, 22px);
}

.sfr-financing-explanation {
  margin-top: 14px;
}

.sfr-financing-explanation p {
  margin: 5px 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.5;
}

.sfr-financing-warnings {
  margin: 14px 0 24px;
  padding: 13px 13px 13px 34px;
  border-left: 4px solid #d19a33;
  background: #fff9ec;
  color: #5b461d;
}

.sfr-financing-warnings li + li {
  margin-top: 6px;
}

.sfr-financing-result h3:not(#sfrFinancingResultTitle) {
  margin: 26px 0 10px;
  font-size: 19px;
}

.sfr-financing-result td strong,
.sfr-financing-result td small {
  display: block;
}

.sfr-financing-result td small {
  margin-top: 4px;
  color: var(--blog-muted);
  font-size: 12px;
}

@media (max-width: 760px) {
  .sfr-financing-tool {
    padding: 18px;
    scroll-margin-top: 150px;
  }

  .sfr-financing-tool-head,
  .sfr-financing-choice-grid,
  .sfr-financing-year-grid,
  .sfr-financing-year,
  .sfr-financing-measure,
  .sfr-financing-summary {
    grid-template-columns: 1fr;
  }

  .sfr-financing-year h3 {
    grid-column: auto;
  }

  .sfr-financing-year-current {
    padding: 14px 0 0;
    border-top: 3px solid #8eb2ef;
    border-left: 0;
  }

  .sfr-financing-result-head {
    display: grid;
    align-items: stretch;
  }

  .sfr-financing-actions .training-action-btn,
  .sfr-financing-result-head .training-action-btn {
    width: 100%;
  }
}

.psych-referral-tool {
  scroll-margin-top: 110px;
  margin: 36px 0;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: var(--blog-surface-strong);
  box-shadow: 0 18px 44px rgba(39, 66, 121, 0.1);
}

.psych-referral-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  gap: 22px;
  align-items: end;
}

.psych-referral-head h2,
.psych-referral-result-actions h3 {
  margin: 4px 0 8px;
}

.psych-referral-head h2 {
  font-size: 30px;
  line-height: 1.18;
  overflow-wrap: normal;
  word-break: normal;
}

.psych-referral-head p:last-child {
  margin: 0;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.5;
}

.psych-referral-privacy {
  display: grid;
  gap: 5px;
  padding: 14px;
  border: 1px solid #b7d8c4;
  border-radius: 8px;
  background: #f2faf5;
}

.psych-referral-privacy strong {
  font-size: 14px;
}

.psych-referral-privacy span {
  color: #456454;
  font-size: 12px;
  line-height: 1.45;
}

#psychReferralForm {
  display: grid;
  gap: 22px;
  margin-top: 24px;
}

.psych-referral-section {
  min-width: 0;
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  border-top: 1px solid var(--blog-line);
}

.psych-referral-section legend {
  padding: 0 10px 0 0;
  color: var(--blog-ink);
  font-size: 18px;
  font-weight: 800;
}

.psych-referral-hint,
.psych-referral-subtitle {
  margin: 8px 0 0;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.5;
}

.psych-referral-subtitle {
  margin-top: 22px;
  color: var(--blog-ink);
  font-weight: 800;
}

.psych-referral-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.psych-referral-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.psych-referral-grid label,
.psych-referral-textarea {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 700;
}

.psych-referral-wide {
  grid-column: 1 / -1;
}

.psych-referral-grid input,
.psych-referral-grid select,
.psych-referral-textarea textarea {
  width: 100%;
  min-height: 44px;
  padding: 10px 11px;
  border: 1px solid rgba(180, 202, 232, 0.95);
  border-radius: 8px;
  background: #ffffff;
  color: var(--blog-ink);
  font: inherit;
  font-weight: 600;
}

.psych-referral-textarea {
  margin-top: 16px;
}

.psych-referral-textarea textarea {
  min-height: 94px;
  resize: vertical;
  line-height: 1.5;
}

.psych-referral-grid input:focus-visible,
.psych-referral-grid select:focus-visible,
.psych-referral-textarea textarea:focus-visible,
.psych-referral-activities input:focus-visible {
  outline: none;
  border-color: var(--blog-blue);
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.psych-referral-activities {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.psych-referral-activities > label {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 13px;
  border: 1px solid var(--blog-line);
  border-radius: 8px;
  background: #ffffff;
  cursor: pointer;
}

.psych-referral-activities > label:hover {
  border-color: #7aa2e8;
  background: #f8fbff;
}

.psych-referral-activities > label:has(input:checked) {
  border-color: #6b9b7d;
  background: #f2faf5;
}

.psych-referral-activities input {
  width: 19px;
  height: 19px;
  margin: 2px 0 0;
  accent-color: #176f48;
}

.psych-referral-activities strong,
.psych-referral-activities small {
  display: block;
  overflow-wrap: anywhere;
}

.psych-referral-activities small {
  margin-top: 4px;
  color: var(--blog-muted);
  font-size: 12px;
  line-height: 1.4;
}

.psych-referral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.psych-referral-actions .training-action-btn {
  min-width: 180px;
}

.psych-referral-actions .training-action-btn:disabled {
  cursor: default;
  opacity: 0.55;
  box-shadow: none;
}

.psych-referral-status {
  min-height: 46px;
  margin: -8px 0 0;
  padding: 11px 13px;
  border-left: 4px solid #91a2ba;
  background: #f6f8fb;
  color: var(--blog-ink);
  font-size: 14px;
  line-height: 1.45;
}

.psych-referral-status-success {
  border-left-color: #176f48;
  background: #f1faf5;
}

.psych-referral-status-error {
  border-left-color: #b33e4d;
  background: #fff5f6;
}

.psych-referral-result {
  margin-top: 30px;
  padding-top: 24px;
  border-top: 1px solid var(--blog-line);
  outline: none;
  scroll-margin-top: 120px;
}

.psych-referral-result[hidden] {
  display: none;
}

.psych-referral-result:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.psych-referral-result-actions {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
}

.psych-referral-document {
  max-width: 820px;
  margin: 20px auto 0;
  padding: clamp(22px, 4vw, 42px);
  border: 1px solid #aeb9c8;
  background: #ffffff;
  color: #111111;
  font-family: Arial, sans-serif;
  font-size: 14px;
  line-height: 1.45;
  box-shadow: 0 14px 36px rgba(26, 37, 56, 0.08);
}

.psych-referral-document h2 {
  margin: 18px 0 0;
  text-align: center;
  font-family: Arial, sans-serif;
  font-size: 22px;
  letter-spacing: 0;
}

.psych-referral-document h3 {
  margin: 24px 0 10px;
  font-family: Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0;
}

.psych-referral-document-org,
.psych-referral-document-subtitle,
.psych-referral-document-date {
  text-align: center;
}

.psych-referral-document-org {
  margin: 0;
  font-weight: 700;
}

.psych-referral-document-subtitle {
  margin: 4px 0;
  font-weight: 700;
}

.psych-referral-document-date {
  margin: 4px 0 20px;
}

.psych-referral-document dl {
  margin: 0;
  border: 1px solid #777777;
}

.psych-referral-document dl > div {
  padding: 10px 12px;
}

.psych-referral-document dl > div + div {
  border-top: 1px solid #aaaaaa;
}

.psych-referral-document dt {
  margin-bottom: 3px;
  font-weight: 700;
}

.psych-referral-document dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.psych-referral-document ol {
  padding-left: 22px;
}

.psych-referral-document li + li {
  margin-top: 5px;
}

.psych-referral-signatures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
  margin-top: 28px;
}

.psych-referral-document-note {
  margin: 28px 0 0;
  color: #555555;
  font-size: 11px;
}

@media (max-width: 760px) {
  .psych-referral-article > h1 {
    font-size: 30px;
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
  }

  .psych-referral-tool {
    padding: 18px;
    scroll-margin-top: 150px;
  }

  .psych-referral-head h2 {
    font-size: 24px;
  }

  .psych-referral-head,
  .psych-referral-grid-2,
  .psych-referral-activities,
  .psych-referral-signatures {
    grid-template-columns: 1fr;
  }

  .psych-referral-wide {
    grid-column: auto;
  }

  .psych-referral-result-actions {
    display: grid;
    align-items: stretch;
  }

  .psych-referral-actions,
  .psych-referral-actions .training-action-btn {
    width: 100%;
  }

  .psych-referral-document {
    padding: 20px 16px;
    font-size: 13px;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 12mm;
  }

  body.print-psych-referral {
    background: #ffffff;
  }

  body.print-psych-referral .blog-topbar,
  body.print-psych-referral .blog-section-tabs,
  body.print-psych-referral .blog-footer,
  body.print-psych-referral .sa-cookie-consent,
  body.print-psych-referral .psych-referral-head,
  body.print-psych-referral #psychReferralForm,
  body.print-psych-referral .psych-referral-result-actions,
  body.print-psych-referral .blog-article > :not(.psych-referral-tool) {
    display: none !important;
  }

  body.print-psych-referral main.blog-shell,
  body.print-psych-referral .blog-article,
  body.print-psych-referral .psych-referral-tool,
  body.print-psych-referral .psych-referral-result {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
  }

  body.print-psych-referral .psych-referral-document {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    font-size: 10pt;
    line-height: 1.35;
  }

  body.print-psych-referral .psych-referral-document h2 {
    font-size: 16pt;
  }

  body.print-psych-referral .psych-referral-document h3 {
    font-size: 11pt;
  }

  body.print-psych-referral .psych-referral-document dl > div {
    padding: 6px 8px;
    break-inside: avoid;
  }

  body.print-psych-referral .psych-referral-document li {
    break-inside: avoid;
  }

  body.print-psych-referral .psych-referral-signatures {
    gap: 18px;
  }

body.print-psych-referral .psych-referral-document-note {
    font-size: 8pt;
  }
}

/* SUOT effectiveness self-assessment */
.suot-assessment-tool {
  margin: 42px 0;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid #cbd9ea;
  border-radius: 8px;
  background: #f7faff;
  scroll-margin-top: 120px;
}

.suot-assessment-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(210px, 0.34fr);
  gap: 28px;
  align-items: end;
}

.suot-assessment-head h2 {
  max-width: 780px;
  margin: 6px 0 8px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
  letter-spacing: 0;
}

.suot-assessment-head p:last-child {
  margin: 0;
  color: var(--blog-muted);
}

.suot-assessment-progress {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.suot-assessment-progress span {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: var(--blog-muted);
  font-size: 13px;
}

.suot-assessment-progress progress {
  width: 100%;
  height: 12px;
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background: #dfe7f2;
  accent-color: #176f48;
}

.suot-assessment-progress progress::-webkit-progress-bar {
  background: #dfe7f2;
}

.suot-assessment-progress progress::-webkit-progress-value {
  background: #176f48;
}

.suot-assessment-progress progress::-moz-progress-bar {
  background: #176f48;
}

.suot-assessment-privacy {
  display: grid;
  gap: 3px;
  margin-top: 22px;
  padding: 13px 15px;
  border-left: 4px solid #176f48;
  background: #eef8f2;
}

.suot-assessment-privacy strong {
  font-size: 14px;
}

.suot-assessment-privacy span {
  color: #456454;
  font-size: 12px;
  line-height: 1.5;
}

#suotAssessmentForm {
  margin-top: 28px;
}

.suot-assessment-section + .suot-assessment-section {
  margin-top: 34px;
}

.suot-assessment-section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
  gap: 22px;
  align-items: baseline;
  padding-bottom: 12px;
  border-bottom: 2px solid #9bb3cf;
}

.suot-assessment-section-head h3,
.suot-assessment-section-head p {
  margin: 0;
}

.suot-assessment-section-head h3 {
  font-size: 20px;
  line-height: 1.25;
}

.suot-assessment-section-head p {
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.5;
}

.suot-assessment-criteria {
  display: grid;
}

.suot-assessment-criterion {
  min-width: 0;
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--blog-line);
}

.suot-assessment-criterion.is-unanswered {
  margin-inline: -12px;
  padding-inline: 12px;
  background: #fff3f4;
  box-shadow: inset 4px 0 0 #b33e4d;
}

.suot-assessment-criterion legend {
  display: flex;
  width: 100%;
  gap: 12px;
  padding: 0;
  color: var(--blog-ink);
}

.suot-assessment-criterion legend > span:last-child {
  min-width: 0;
}

.suot-assessment-criterion legend strong,
.suot-assessment-criterion legend small {
  display: block;
}

.suot-assessment-criterion legend strong {
  font-size: 15px;
  line-height: 1.45;
}

.suot-assessment-criterion legend small {
  margin-top: 4px;
  color: var(--blog-muted);
  font-size: 11px;
}

.suot-assessment-number {
  display: grid;
  flex: 0 0 28px;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: #173b6b;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
}

.suot-assessment-evidence {
  margin: 10px 0 12px 40px;
  color: var(--blog-muted);
  font-size: 13px;
  line-height: 1.5;
}

.suot-assessment-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin-left: 40px;
}

.suot-assessment-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.suot-assessment-options label {
  display: grid;
  min-height: 38px;
  place-items: center;
  padding: 8px 9px;
  border: 1px solid #b9c8da;
  border-radius: 6px;
  background: #ffffff;
  color: #31455f;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.suot-assessment-options label:hover {
  border-color: #6487b1;
  background: #f2f7fd;
}

.suot-assessment-options input:focus-visible + label {
  outline: 3px solid rgba(45, 109, 255, 0.22);
  outline-offset: 1px;
}

.suot-assessment-options input[value="yes"]:checked + label {
  border-color: #176f48;
  background: #e9f7ef;
  color: #11583a;
}

.suot-assessment-options input[value="partial"]:checked + label {
  border-color: #b07816;
  background: #fff7e4;
  color: #74500e;
}

.suot-assessment-options input[value="no"]:checked + label {
  border-color: #b33e4d;
  background: #fff0f2;
  color: #8e2937;
}

.suot-assessment-options input[value="na"]:checked + label {
  border-color: #6f7d90;
  background: #eef1f5;
  color: #47566a;
}

.suot-assessment-actions,
.suot-assessment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.suot-assessment-actions {
  margin-top: 24px;
}

.suot-assessment-actions .training-action-btn,
.suot-assessment-result-actions .training-action-btn {
  min-width: 180px;
}

.suot-assessment-result-actions .training-action-btn:disabled {
  cursor: default;
  opacity: 0.55;
}

.suot-assessment-status {
  min-height: 46px;
  margin: 14px 0 0;
  padding: 11px 13px;
  border-left: 4px solid #91a2ba;
  background: #f2f5f9;
  color: var(--blog-ink);
  font-size: 14px;
  line-height: 1.45;
}

.suot-assessment-status-success {
  border-left-color: #176f48;
  background: #eef8f2;
}

.suot-assessment-status-error {
  border-left-color: #b33e4d;
  background: #fff3f4;
}

.suot-assessment-result {
  margin-top: 34px;
  padding-top: 28px;
  border-top: 2px solid #9bb3cf;
  outline: none;
  scroll-margin-top: 120px;
}

.suot-assessment-result[hidden] {
  display: none;
}

.suot-assessment-result:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 109, 255, 0.16);
}

.suot-assessment-result-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
}

.suot-assessment-result-head h3 {
  margin: 5px 0 7px;
  font-size: 28px;
}

.suot-assessment-result-head p:last-child {
  margin: 0;
  color: var(--blog-muted);
}

.suot-assessment-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 24px 0 0;
  overflow: hidden;
  border: 1px solid #ccd7e4;
  border-radius: 8px;
  background: #ccd7e4;
}

.suot-assessment-metrics div {
  padding: 15px;
  background: #ffffff;
}

.suot-assessment-metrics dt {
  color: var(--blog-muted);
  font-size: 12px;
}

.suot-assessment-metrics dd {
  margin: 5px 0 0;
  color: var(--blog-ink);
  font-size: 22px;
  font-weight: 800;
}

.suot-assessment-critical-warning {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-left: 4px solid #b33e4d;
  background: #fff0f2;
  color: #7d2632;
  font-weight: 700;
}

.suot-assessment-result h4 {
  margin: 30px 0 12px;
  font-size: 18px;
}

.suot-assessment-groups {
  border-top: 1px solid var(--blog-line);
}

.suot-assessment-group-row {
  display: grid;
  grid-template-columns: minmax(0, 0.55fr) minmax(180px, 1fr);
  gap: 20px;
  align-items: center;
  padding: 13px 0;
  border-bottom: 1px solid var(--blog-line);
}

.suot-assessment-group-row > div:first-child {
  display: grid;
  gap: 3px;
}

.suot-assessment-group-row span {
  color: var(--blog-muted);
  font-size: 12px;
}

.suot-assessment-group-track {
  height: 10px;
  overflow: hidden;
  border-radius: 5px;
  background: #dfe7f2;
}

.suot-assessment-group-track span {
  display: block;
  height: 100%;
  background: #176f48;
}

.suot-assessment-priorities {
  border-top: 1px solid var(--blog-line);
}

.suot-assessment-priority {
  padding: 18px 0;
  border-bottom: 1px solid var(--blog-line);
}

.suot-assessment-priority header {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.suot-assessment-priority header span {
  padding: 4px 7px;
  border-radius: 5px;
  background: #eef1f5;
  color: #47566a;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.suot-assessment-priority header span[data-priority="высокий"] {
  background: #fff0f2;
  color: #8e2937;
}

.suot-assessment-priority header span[data-priority="средний"] {
  background: #fff7e4;
  color: #74500e;
}

.suot-assessment-priority p {
  margin: 10px 0;
}

.suot-assessment-priority > div {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 12px;
  padding-top: 7px;
  color: var(--blog-muted);
  font-size: 13px;
}

.suot-assessment-priority > div strong {
  color: var(--blog-ink);
}

.suot-assessment-no-issues {
  margin: 0;
  padding: 18px 0;
}

.suot-assessment-print-layout {
  display: none;
}

@media (max-width: 760px) {
  .suot-effectiveness-article > h1 {
    font-size: 30px;
    line-height: 1.12;
    overflow-wrap: normal;
    word-break: normal;
  }

  .suot-assessment-tool {
    padding: 18px;
    scroll-margin-top: 150px;
  }

  .suot-assessment-head,
  .suot-assessment-section-head,
  .suot-assessment-result-head,
  .suot-assessment-group-row {
    grid-template-columns: 1fr;
  }

  .suot-assessment-head h2 {
    font-size: 24px;
    overflow-wrap: normal;
    word-break: normal;
  }

  .suot-assessment-options {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-left: 0;
  }

  .suot-assessment-evidence {
    margin-left: 0;
  }

  .suot-assessment-actions,
  .suot-assessment-result-actions,
  .suot-assessment-actions .training-action-btn,
  .suot-assessment-result-actions .training-action-btn {
    width: 100%;
  }

  .suot-assessment-metrics {
    grid-template-columns: 1fr;
  }

  .suot-assessment-priority > div {
    grid-template-columns: 1fr;
    gap: 3px;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 10mm;
  }

  body.print-suot-assessment {
    background: #ffffff;
  }

  body.print-suot-assessment .blog-topbar,
  body.print-suot-assessment .blog-section-tabs,
  body.print-suot-assessment .blog-footer,
  body.print-suot-assessment .sa-cookie-consent,
  body.print-suot-assessment .blog-article > :not(.suot-assessment-print-layout) {
    display: none !important;
  }

  body.print-suot-assessment main.blog-shell,
  body.print-suot-assessment .blog-article,
  body.print-suot-assessment .suot-assessment-print-layout {
    display: block !important;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
  }

  body.print-suot-assessment .suot-assessment-print-layout {
    color: #111111;
    font-family: Arial, sans-serif;
    font-size: 9pt;
    line-height: 1.35;
  }

  body.print-suot-assessment .suot-assessment-print-layout header {
    margin-bottom: 5mm;
    text-align: center;
  }

  body.print-suot-assessment .suot-assessment-print-layout header p,
  body.print-suot-assessment .suot-assessment-print-layout header h1,
  body.print-suot-assessment .suot-assessment-print-layout header span {
    margin: 0 0 2mm;
  }

  body.print-suot-assessment .suot-assessment-print-layout h1 {
    font-family: Arial, sans-serif;
    font-size: 17pt;
    letter-spacing: 0;
  }

  body.print-suot-assessment .suot-assessment-print-layout h2 {
    margin: 5mm 0 2mm;
    font-family: Arial, sans-serif;
    font-size: 12pt;
    letter-spacing: 0;
  }

  body.print-suot-assessment .suot-assessment-print-summary {
    padding: 3mm;
    border: 1px solid #777777;
  }

  body.print-suot-assessment .suot-assessment-print-summary strong {
    font-size: 14pt;
  }

  body.print-suot-assessment .suot-assessment-print-summary p {
    margin: 1.5mm 0 0;
  }

  body.print-suot-assessment .suot-assessment-print-layout table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  body.print-suot-assessment .suot-assessment-print-layout th,
  body.print-suot-assessment .suot-assessment-print-layout td {
    padding: 1.8mm;
    border: 1px solid #777777;
    vertical-align: top;
    overflow-wrap: anywhere;
  }

  body.print-suot-assessment .suot-assessment-print-layout th {
    background: #e8edf3;
  }

  body.print-suot-assessment .suot-assessment-print-layout tr {
    break-inside: avoid;
  }

  body.print-suot-assessment .suot-assessment-print-note {
    margin-top: 3mm;
    font-size: 8pt;
  }
}

/* Three-stage occupational-safety control builder. */
.three-stage-tool {
  margin: 34px 0;
  padding: clamp(20px, 4vw, 34px);
  border: 1px solid rgba(53, 100, 147, 0.28);
  border-radius: 8px;
  background: #f6f9fc;
  scroll-margin-top: 120px;
}

.three-stage-tool-head,
.three-stage-result-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 26px;
  align-items: start;
}

.three-stage-tool-head h2,
.three-stage-result-head h3 {
  margin: 4px 0 10px;
}

.three-stage-tool-head > div > p:last-child,
.three-stage-result-head > div > p:last-child {
  margin: 0;
}

.three-stage-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(86px, 1fr));
  gap: 1px;
  min-width: 190px;
  margin: 0;
  overflow: hidden;
  border: 1px solid #c5d1de;
  border-radius: 8px;
  background: #c5d1de;
}

.three-stage-summary div {
  display: grid;
  gap: 3px;
  padding: 12px;
  background: #ffffff;
}

.three-stage-summary dt {
  color: var(--blog-muted);
  font-size: 12px;
  font-weight: 700;
}

.three-stage-summary dd {
  margin: 0;
  color: #175c43;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 18px;
  font-weight: 800;
}

.three-stage-privacy {
  display: grid;
  gap: 4px;
  margin: 22px 0;
  padding: 13px 15px;
  border-left: 4px solid #1f7a59;
  background: #edf7f2;
}

.three-stage-privacy strong {
  color: #164c3a;
  font-size: 14px;
}

.three-stage-privacy span {
  color: #385c50;
  font-size: 13px;
  line-height: 1.45;
}

.three-stage-config {
  display: grid;
  gap: 18px;
}

.three-stage-config-card {
  padding: 0 0 20px;
  border-bottom: 1px solid #c9d5e2;
}

.three-stage-config-card:last-child {
  border-bottom: 0;
}

.three-stage-config-card.is-missing {
  padding: 16px;
  border: 2px solid #bb3143;
  border-radius: 8px;
  background: #fff7f8;
}

.three-stage-config-card > header {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}

.three-stage-config-card > header h3,
.three-stage-config-card > header p {
  margin: 0;
}

.three-stage-config-card > header h3 {
  font-size: 20px;
}

.three-stage-config-card > header p {
  margin-top: 4px;
  color: var(--blog-muted);
  font-size: 14px;
  line-height: 1.5;
}

.three-stage-number {
  display: inline-grid;
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #18283d;
  font-family: "Manrope", system-ui, sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.three-stage-frequency {
  display: grid;
  grid-template-columns: minmax(170px, 0.35fr) minmax(220px, 0.65fr);
  gap: 14px;
  align-items: center;
  margin: 16px 0 10px 47px;
}

.three-stage-frequency > span,
.three-stage-config-card legend {
  color: var(--blog-ink);
  font-size: 14px;
  font-weight: 800;
}

.three-stage-frequency select {
  width: 100%;
  min-height: 42px;
  padding: 8px 36px 8px 11px;
  border: 1px solid #aebdcd;
  border-radius: 6px;
  color: var(--blog-ink);
  background: #ffffff;
  font: inherit;
}

.three-stage-frequency select:focus-visible,
.three-stage-item input:focus-visible + span,
.three-stage-tool button:focus-visible {
  outline: 3px solid rgba(45, 109, 255, 0.28);
  outline-offset: 2px;
}

.three-stage-participants {
  margin: 0 0 14px 47px !important;
  color: #405169 !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.three-stage-config-card fieldset {
  min-width: 0;
  margin: 0 0 0 47px;
  padding: 0;
  border: 0;
}

.three-stage-config-card legend {
  margin-bottom: 9px;
}

.three-stage-item-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.three-stage-item {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  min-width: 0;
  padding: 11px 12px;
  border: 1px solid #c9d5e2;
  border-radius: 6px;
  cursor: pointer;
  background: #ffffff;
}

.three-stage-item:has(input:checked) {
  border-color: #82a9d1;
  background: #f3f8ff;
}

.three-stage-item input {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #176f48;
}

.three-stage-item span,
.three-stage-item strong,
.three-stage-item small {
  display: block;
  min-width: 0;
}

.three-stage-item strong {
  color: var(--blog-ink);
  font-size: 14px;
  line-height: 1.35;
}

.three-stage-item small {
  margin-top: 4px;
  color: #58677f;
  font-size: 12px;
  line-height: 1.45;
}

.three-stage-actions,
.three-stage-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.three-stage-actions {
  margin-top: 22px;
}

.three-stage-tool button {
  letter-spacing: 0;
}

.three-stage-status {
  min-height: 24px;
  margin: 12px 0 0 !important;
  padding: 9px 11px;
  border-radius: 6px;
  font-size: 14px !important;
  line-height: 1.45 !important;
}

.three-stage-status-muted {
  color: #526176 !important;
  background: #edf1f5;
}

.three-stage-status-error {
  color: #852534 !important;
  background: #fff0f2;
}

.three-stage-status-success {
  color: #175c43 !important;
  background: #eaf6f0;
}

.three-stage-result {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 2px solid #9aabbd;
  scroll-margin-top: 120px;
}

.three-stage-result:focus {
  outline: none;
}

.three-stage-result-actions {
  justify-content: flex-end;
}

.three-stage-result-grid {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.three-stage-result-card {
  padding: 17px;
  border: 1px solid #c5d1de;
  border-radius: 8px;
  background: #ffffff;
}

.three-stage-result-card > header {
  display: flex;
  gap: 12px;
  align-items: center;
}

.three-stage-result-card > header > span {
  display: inline-grid;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: #176f48;
  font-weight: 800;
}

.three-stage-result-card h4,
.three-stage-result-card p {
  margin: 0;
}

.three-stage-result-card h4 {
  font-size: 17px;
}

.three-stage-result-card header strong {
  color: #176f48;
  font-size: 13px;
}

.three-stage-result-card p,
.three-stage-result-card li {
  color: #405169;
  font-size: 14px;
  line-height: 1.55;
}

.three-stage-result-card p {
  margin-top: 12px;
}

.three-stage-result-card ul {
  margin: 10px 0 0;
}

.three-stage-result-note {
  margin: 14px 0 0 !important;
  color: #58677f !important;
  font-size: 13px !important;
  line-height: 1.5 !important;
}

.three-stage-print-layout {
  display: none;
}

@media (max-width: 760px) {
  .three-stage-control-page .blog-topbar {
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
  }

  .three-stage-control-page .blog-brand {
    gap: 8px;
  }

  .three-stage-control-page .blog-brand img {
    width: 36px;
    height: 36px;
  }

  .three-stage-control-page .blog-brand > span > span {
    display: none;
  }

  .three-stage-control-page .blog-nav {
    flex-wrap: nowrap;
    gap: 5px;
  }

  .three-stage-control-page .blog-nav a {
    min-height: 34px;
    padding: 6px 8px;
    font-size: 12px;
    white-space: nowrap;
  }

  .three-stage-tool {
    padding: 18px 14px;
    scroll-margin-top: 90px;
  }

  .three-stage-tool-head,
  .three-stage-result-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .three-stage-summary {
    width: 100%;
  }

  .three-stage-config-card > header {
    align-items: center;
  }

  .three-stage-frequency,
  .three-stage-participants,
  .three-stage-config-card fieldset {
    margin-left: 0 !important;
  }

  .three-stage-frequency {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .three-stage-item-grid {
    grid-template-columns: 1fr;
  }

  .three-stage-result {
    scroll-margin-top: 90px;
  }

  .three-stage-actions,
  .three-stage-result-actions,
  .three-stage-actions .training-action-btn,
  .three-stage-result-actions .training-action-btn {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .three-stage-control-page .blog-brand > span {
    display: none;
  }
}

@media print {
  @page {
    size: A4 landscape;
    margin: 9mm;
  }

  body.print-three-stage-control {
    background: #ffffff;
  }

  body.print-three-stage-control .blog-topbar,
  body.print-three-stage-control .blog-section-tabs,
  body.print-three-stage-control .blog-footer,
  body.print-three-stage-control .sa-cookie-consent,
  body.print-three-stage-control .blog-article > :not(.three-stage-print-layout) {
    display: none !important;
  }

  body.print-three-stage-control main.blog-shell,
  body.print-three-stage-control .blog-article,
  body.print-three-stage-control .three-stage-print-layout {
    display: block !important;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
  }

  body.print-three-stage-control .three-stage-print-layout {
    color: #111111;
    font-family: Arial, sans-serif;
    font-size: 8pt;
    line-height: 1.3;
  }

  body.print-three-stage-control .three-stage-print-layout header {
    margin-bottom: 4mm;
    text-align: center;
  }

  body.print-three-stage-control .three-stage-print-layout header p,
  body.print-three-stage-control .three-stage-print-layout header h1,
  body.print-three-stage-control .three-stage-print-layout header span {
    margin: 0 0 1.5mm;
  }

  body.print-three-stage-control .three-stage-print-layout h1 {
    font-family: Arial, sans-serif;
    font-size: 16pt;
    letter-spacing: 0;
  }

  body.print-three-stage-control .three-stage-print-layout h2 {
    margin: 4mm 0 2mm;
    font-family: Arial, sans-serif;
    font-size: 11pt;
    letter-spacing: 0;
  }

  body.print-three-stage-control .three-stage-print-layout table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  body.print-three-stage-control .three-stage-print-layout th,
  body.print-three-stage-control .three-stage-print-layout td {
    padding: 1.4mm;
    border: 1px solid #777777;
    vertical-align: top;
    overflow-wrap: anywhere;
  }

  body.print-three-stage-control .three-stage-print-layout th {
    background: #e8edf3;
  }

  body.print-three-stage-control .three-stage-print-layout tr {
    break-inside: avoid;
  }

  body.print-three-stage-control .three-stage-print-order th:nth-child(1),
  body.print-three-stage-control .three-stage-print-order td:nth-child(1) {
    width: 13%;
  }

  body.print-three-stage-control .three-stage-print-order th:nth-child(2),
  body.print-three-stage-control .three-stage-print-order td:nth-child(2) {
    width: 13%;
  }

  body.print-three-stage-control .three-stage-print-checklist th:nth-child(1),
  body.print-three-stage-control .three-stage-print-checklist td:nth-child(1) {
    width: 4%;
  }

  body.print-three-stage-control .three-stage-print-checklist th:nth-child(2),
  body.print-three-stage-control .three-stage-print-checklist td:nth-child(2) {
    width: 10%;
  }

  body.print-three-stage-control .three-stage-print-checklist th:nth-child(3),
  body.print-three-stage-control .three-stage-print-checklist td:nth-child(3) {
    width: 36%;
  }

  body.print-three-stage-control .three-stage-print-note {
    margin-top: 3mm;
    font-size: 7.5pt;
  }
}

/* Harmful conditions compensation navigator */
.harmful-compensation-tool {
  margin: 34px 0;
  padding: 28px;
  border: 1px solid #cfd8e3;
  border-radius: 8px;
  background: #f7f9fb;
  scroll-margin-top: 96px;
}

.harmful-compensation-tool-head,
.harmful-compensation-result-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.harmful-compensation-tool-head h2,
.harmful-compensation-result-head h2 {
  margin-top: 0;
}

.harmful-compensation-privacy {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) 1fr;
  gap: 16px;
  margin: 22px 0;
  padding: 14px 16px;
  border-left: 4px solid #147d64;
  background: #edf7f3;
  color: #23443b;
}

.harmful-compensation-form {
  display: grid;
  gap: 20px;
}

.harmful-compensation-field {
  display: grid;
  gap: 8px;
  font-weight: 700;
}

.harmful-compensation-field select {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #aebdca;
  border-radius: 6px;
  background: #ffffff;
  color: #17212b;
  font: inherit;
}

.harmful-compensation-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  border: 0;
}

.harmful-compensation-options legend {
  grid-column: 1 / -1;
  margin-bottom: 4px;
  font-weight: 700;
}

.harmful-compensation-options label,
.harmful-compensation-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #c9d4de;
  border-radius: 6px;
  background: #ffffff;
  cursor: pointer;
}

.harmful-compensation-options label:has(input:checked),
.harmful-compensation-check:has(input:checked) {
  border-color: #147d64;
  background: #edf7f3;
}

.harmful-compensation-options input,
.harmful-compensation-check input {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: #147d64;
}

.harmful-compensation-options span,
.harmful-compensation-check span {
  display: grid;
  min-width: 0;
  gap: 4px;
}

.harmful-compensation-options small,
.harmful-compensation-check small {
  color: #5a6772;
  font-size: 13px;
  line-height: 1.4;
}

.harmful-compensation-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.harmful-compensation-status {
  margin: 0;
  padding: 12px 14px;
  border-radius: 6px;
}

.harmful-compensation-status-muted {
  background: #e9eef3;
  color: #3f4d59;
}

.harmful-compensation-status-success {
  background: #e1f4eb;
  color: #155c47;
}

.harmful-compensation-status-error {
  background: #fbe8e8;
  color: #8b2929;
}

.harmful-compensation-result {
  margin-top: 26px;
  padding-top: 26px;
  border-top: 2px solid #17212b;
  scroll-margin-top: 96px;
}

.harmful-compensation-class {
  margin: 0 0 8px;
  color: #147d64;
  font-weight: 700;
}

.harmful-compensation-result h3 {
  margin: 0 0 10px;
  font-family: "Manrope", sans-serif;
  font-size: 23px;
  letter-spacing: 0;
}

.harmful-compensation-result h4 {
  margin: 22px 0 8px;
  font-size: 17px;
}

.harmful-compensation-result-lead {
  font-size: 17px;
}

.harmful-compensation-alert {
  padding: 14px 16px;
  border-left: 4px solid #b42318;
  background: #fff0ee;
  color: #74251f;
}

.harmful-compensation-note {
  margin-top: 22px;
  color: #56636f;
  font-size: 14px;
}

.harmful-compensation-print-layout {
  display: none;
}

@media (max-width: 720px) {
  .harmful-compensation-tool {
    padding: 18px 14px;
    scroll-margin-top: 90px;
  }

  .harmful-compensation-tool-head,
  .harmful-compensation-result-head,
  .harmful-compensation-privacy {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .harmful-compensation-options {
    grid-template-columns: 1fr;
  }

  .harmful-compensation-actions,
  .harmful-compensation-actions .blog-btn,
  .harmful-compensation-result-head .blog-btn {
    width: 100%;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 16mm;
  }

  body.print-harmful-compensation {
    background: #ffffff;
  }

  body.print-harmful-compensation .blog-topbar,
  body.print-harmful-compensation .blog-section-tabs,
  body.print-harmful-compensation .blog-footer,
  body.print-harmful-compensation .sa-cookie-consent,
  body.print-harmful-compensation .blog-article > :not(.harmful-compensation-print-layout) {
    display: none !important;
  }

  body.print-harmful-compensation main.blog-shell,
  body.print-harmful-compensation .blog-article,
  body.print-harmful-compensation .harmful-compensation-print-layout {
    display: block !important;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    background: #ffffff;
    box-shadow: none;
  }

  body.print-harmful-compensation .harmful-compensation-print-layout {
    color: #111111;
    font-family: Arial, sans-serif;
    font-size: 10pt;
    line-height: 1.45;
  }

  body.print-harmful-compensation .harmful-compensation-print-layout header {
    margin-bottom: 8mm;
    text-align: center;
  }

  body.print-harmful-compensation .harmful-compensation-print-layout h1 {
    margin: 2mm 0;
    font-family: Arial, sans-serif;
    font-size: 18pt;
    letter-spacing: 0;
  }

  body.print-harmful-compensation .harmful-compensation-print-layout h2 {
    margin: 6mm 0 2mm;
    font-family: Arial, sans-serif;
    font-size: 12pt;
    letter-spacing: 0;
  }

  body.print-harmful-compensation .harmful-compensation-print-alert {
    padding: 3mm;
    border: 1px solid #8a2323;
  }

  body.print-harmful-compensation .harmful-compensation-print-note {
    margin-top: 8mm;
    color: #333333;
    font-size: 8.5pt;
  }
}
