.s21-service-page {
  width: min(1180px, calc(100% - 48px));
  margin: 38px auto 96px;
  color: #172e4d;
}
.s21-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: #53657c;
  font-size: 15px;
}
.s21-breadcrumbs a { text-decoration: underline; text-underline-offset: 3px; }
.s21-hero {
  display: block;
  min-width: 0;
}
.s21-hero-copy,
.s21-example-panel,
.s21-package-state {
  min-width: 0;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid #dce4ef;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 40px -32px rgb(23 46 77 / 30%);
}
.s21-hero-copy { display: flex; flex-direction: column; justify-content: center; }
.s21-eyebrow {
  margin: 0 0 18px;
  color: #205baa;
  font-size: 14px;
  font-weight: 700;
}
.s21-hero h1 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  letter-spacing: -.045em;
}
.s21-lead {
  max-width: 70ch;
  margin: 0;
  color: #53657c;
  font-size: 19px;
  line-height: 1.65;
}
.s21-example-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #edf3fc;
}
.s21-example-panel h2 { margin: 0 0 12px; font-size: 23px; line-height: 1.25; }
.s21-example-panel p { margin: 0 0 22px; color: #53657c; font-size: 16px; line-height: 1.6; }
.s21-example-link,
.s21-kwork-link {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid #205baa;
  border-radius: 11px;
  background: #205baa;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  overflow-wrap: normal;
}
.s21-example-link:hover,
.s21-kwork-link:hover { background: #173f73; border-color: #173f73; }
.s21-example-link:focus-visible,
.s21-kwork-link:focus-visible { outline: 3px solid #172e4d; outline-offset: 4px; }
.s21-copy-blocks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}
.s21-content-block {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dce4ef;
  border-radius: 18px;
  background: #fff;
}
.s21-content-block h2,
.s21-content-block h3 { margin: 0 0 12px; color: #172e4d; line-height: 1.25; }
.s21-content-block h2 { font-size: 23px; }
.s21-content-block h3 { font-size: 19px; }
.s21-content-block p { margin: 0; color: #53657c; font-size: 17px; line-height: 1.65; }
.s21-content-block p + p { margin-top: 12px; }
.s21-content-block--result { border-left: 5px solid #ffdc76; }
.s21-content-block--cta { display: flex; align-items: center; justify-content: center; border: 0; background: transparent; }
.s21-package-state { margin-top: 24px; background: #fff6da; }
.s21-package-state p { margin: 0; color: #172e4d; font-size: 16px; line-height: 1.55; }
.s21-package-state a { color: #173f73; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.s21-kwork-row { display: flex; justify-content: flex-start; margin-top: 28px; }
.s21-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.s21-service-cards {
  margin: 0 0 34px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid #dce4ef;
  border-radius: 22px;
  background: #fff;
  color: #172e4d;
  box-shadow: 0 14px 40px -34px rgb(23 46 77 / 35%);
}
.s21-service-cards-heading { max-width: 760px; margin: 0 0 22px; }
.s21-service-cards-heading h2,
.s21-service-cards-heading h3 { margin: 0 0 10px; font-size: clamp(25px, 3vw, 36px); line-height: 1.15; }
.s21-service-cards-heading > p:last-child { margin: 0; color: #53657c; font-size: 17px; line-height: 1.55; }
.s21-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.s21-service-card {
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid #cfdaea;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 4px 0 #dce6f3;
}
.s21-card-visual { aspect-ratio: 16 / 9; overflow: hidden; background: #edf3fc; }
.s21-card-visual img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s21-service-card-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 18px; }
.s21-service-card-copy h3 { margin: 0 0 10px; color: #172e4d; font-size: 20px; line-height: 1.25; }
.s21-card-pain,.s21-card-help,.s21-card-result { margin: 0 0 10px; color: #53657c; font-size: 16px; line-height: 1.5; }
.s21-card-result { color: #172e4d; font-weight: 650; }
.s21-card-details { margin: 0 0 14px; color: #344f71; font-size: 15px; line-height: 1.45; }
.s21-card-details summary { min-height: 44px; display: flex; align-items: center; cursor: pointer; color: #174e95; font-size: 16px; font-weight: 700; }
.s21-card-details ul { margin: 8px 0 10px; padding-left: 20px; }
.s21-card-details li + li { margin-top: 6px; }
.s21-card-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-top: auto; }
.s21-card-actions .s21-action--primary { width: 100%; }
.s21-card-secondary-link,.s21-related-link,.s21-crumb-link { color: #174e95; font-size: 16px; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.s21-service-cards-status { margin: 16px 0 0; color: #6a4a16; font-size: 16px; }
.s21-service-page.s21-rendered { display: block; }
.s21-service-page-content { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; width: 100%; margin: 0; }
.s21-service-page > .s21-service-page-content { width: 100%; margin: 0; }
.s21-service-page-content > .s21-hero,
.s21-service-page-content > .s21-content-block--example,
.s21-service-page-content > .s21-faq,
.s21-service-page-content > #brief,
.s21-service-page-content > .s21-content-block--final,
.s21-service-page-content > .s21-related { grid-column: 1 / -1; }
.s21-service-page-content > .s21-preserved-example { grid-column: 1 / -1; width: 100%; margin-inline: 0; }
.s21-service-page-content > #brief.wrap { width: 100%; margin-inline: 0; }
.s21-hero-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr); gap: 20px; }
.s21-hero-copy,.s21-example-panel { min-width: 0; padding: clamp(24px, 4vw, 42px); border: 1px solid #dce4ef; border-radius: 22px; background: #fff; }
.s21-hero-copy { display: flex; flex-direction: column; align-items: flex-start; }
.s21-hero-copy .s21-route-title { margin: 0 0 16px; color: #172e4d; font-size: clamp(34px, 5vw, 58px); line-height: 1.07; letter-spacing: -.04em; }
.s21-detail,.s21-terms { margin: 15px 0 0; color: #344f71; font-size: 17px; line-height: 1.55; }
.s21-terms { color: #53657c; font-size: 16px; }
.s21-brief-unknown-option{display:inline-flex;align-items:center;min-height:44px;margin:2px 0 10px;padding:8px 12px;border:1px solid #9ab7df;border-radius:9px;background:#f2f7ff;color:#174e95;font:inherit;font-size:16px;font-weight:650;cursor:pointer}
.s21-brief-unknown-option:hover{background:#e4efff;border-color:#7198d0}
.s21-brief-unknown-option:focus-visible{outline:3px solid #174e95;outline-offset:3px}
.s21-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.s21-action {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 11px 17px;
  border: 1px solid #205baa;
  border-radius: 11px;
  background: #205baa;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}
.s21-action--secondary,.s21-action--example { border-color: #9bb9e2; background: #fff; color: #174e95; }
.s21-action:hover { filter: brightness(.94); }
.s21-action:focus-visible,.s21-card-secondary-link:focus-visible,.s21-related-link:focus-visible,.s21-crumb-link:focus-visible,.s21-card-details summary:focus-visible { outline: 3px solid #122c4b; outline-offset: 3px; }
.s21-example-panel { display: flex; flex-direction: column; justify-content: center; background: #edf3fc; }
.s21-example-panel h2 { margin: 0 0 10px; color: #172e4d; font-size: 25px; line-height: 1.2; }
.s21-example-kicker { margin: 0 0 12px; color: #205baa; font-size: 13px; font-weight: 800; letter-spacing: .1em; }
.s21-example-note { margin: 0 0 18px; color: #53657c; font-size: 16px; line-height: 1.55; }
.s21-content-block { min-width: 0; padding: 23px; border: 1px solid #dce4ef; border-radius: 18px; background: #fff; }
.s21-content-block h2 { margin: 0 0 12px; color: #172e4d; font-size: 23px; line-height: 1.25; }
.s21-content-block h3 { margin: 16px 0 8px; color: #172e4d; font-size: 18px; }
.s21-content-block p,.s21-content-block li { color: #344f71; font-size: 16px; line-height: 1.55; }
.s21-content-block p { margin: 0 0 12px; }
.s21-content-block ul,.s21-content-block ol { margin: 10px 0 16px; padding-left: 23px; }
.s21-content-block li + li { margin-top: 7px; }
.s21-content-block--example { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 14px 22px; align-items: start; }
.s21-content-block--example h2 { grid-column: 1 / -1; }
.s21-example-figure { min-width: 0; margin: 0; }
.s21-example-figure img { display: block; width: 100%; height: auto; border-radius: 12px; }
.s21-example-figure figcaption { margin-top: 8px; color: #53657c; font-size: 14px; line-height: 1.45; }
.s21-disclosure,.s21-boundary-note { padding: 12px 14px; border-left: 3px solid #b9dc43; border-radius: 6px; background: #f3f8e3; color: #344b16 !important; }
.s21-muted { color: #53657c !important; font-size: 15px !important; }
.s21-content-block--result { border-left: 5px solid #b9dc43; }
.s21-workflow { counter-reset: s21step; list-style: none; padding: 0 !important; }
.s21-workflow li { position: relative; padding-left: 42px; counter-increment: s21step; }
.s21-workflow li::before { position: absolute; left: 0; top: 0; color: #176eea; font-size: 20px; font-weight: 800; content: counter(s21step, decimal-leading-zero); }
.s21-faq details { padding: 14px 0; border-top: 1px solid #dce4ef; }
.s21-faq summary { color: #172e4d; cursor: pointer; font-size: 17px; font-weight: 700; }
.s21-faq details p { margin: 10px 0 0; }
.s21-related-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.s21-related-grid article { padding: 18px; border: 1px solid #dce4ef; border-radius: 14px; background: #f8fafc; }
.s21-related-grid h3 { margin: 0 0 8px; }
.s21-related-grid p { margin: 0 0 12px; }
.s21-package-state { margin: 0 0 18px; padding: 12px 16px; border: 1px solid #e8d49d; border-radius: 10px; background: #fff6da; color: #4e3a18; font-size: 16px; }
@media (max-width: 760px) {
  .s21-service-page { width: min(100% - 32px, 620px); margin-top: 24px; margin-bottom: 64px; }
  .s21-hero-copy,
  .s21-example-panel,
  .s21-package-state { padding: 23px 20px; border-radius: 18px; }
  .s21-hero h1 { font-size: clamp(34px, 9vw, 46px); }
  .s21-lead { font-size: 17px; }
  .s21-copy-blocks { grid-template-columns: 1fr; gap: 12px; margin-top: 14px; }
  .s21-content-block { padding: 20px; }
  .s21-content-block p { font-size: 16px; }
  .s21-kwork-row { justify-content: stretch; }
  .s21-kwork-link { width: 100%; }
  .s21-service-cards { padding: 19px 16px; margin-bottom: 24px; border-radius: 18px; }
  .s21-service-grid { grid-template-columns: 1fr; gap: 13px; }
  .s21-service-card-copy { padding: 17px; }
  .s21-service-page-content { grid-template-columns: 1fr; gap: 13px; }
  .s21-service-page-content > * { grid-column: 1; }
  .s21-hero-grid { grid-template-columns: 1fr; gap: 12px; }
  .s21-hero-copy,.s21-example-panel { padding: 22px 19px; border-radius: 17px; }
  .s21-content-block { padding: 19px; }
  .s21-content-block--example { grid-template-columns: 1fr; }
  .s21-content-block--example h2 { grid-column: 1; }
  .s21-related-grid { grid-template-columns: 1fr; }
  .s21-actions { width: 100%; }
  .s21-actions .s21-action { flex: 1 1 100%; }
}

@media (min-width: 761px) and (max-width: 1050px) {
  .s21-service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .s21-hero-grid { grid-template-columns: 1fr; }
}

.s21-route-actions,
.s21-route-group-links,
.s21-industry-card-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}
.s21-route-action,
.s21-route-group-link,
.s21-industry-action,
.s21-industry-secondary {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 14px;
  border: 1px solid #205baa;
  border-radius: 11px;
  background: #205baa;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
  overflow-wrap: normal;
}
.s21-route-action:hover,
.s21-industry-action:hover { background: #173f73; border-color: #173f73; }
.s21-route-action:focus-visible,
.s21-route-group-link:focus-visible,
.s21-industry-action:focus-visible,
.s21-industry-secondary:focus-visible { outline: 3px solid #172e4d; outline-offset: 3px; }
.s21-route-group-link,
.s21-industry-secondary { background: #fff; color: #173f73; }
.s21-route-group-link:hover,
.s21-industry-secondary:hover { background: #edf3fc; }
.s21-route-lead,
.s21-route-detail { display: block; }
.s21-route-detail { margin-top: 10px; color: #53657c; }
.s21-route-example-body,
.s21-proof-boundary,
.s21-route-disclosure,
.s21-route-catalog-note,
.s21-industry-disclosure { color: #53657c; font-size: 16px; line-height: 1.55; }
.s21-route-example-links,
.s21-route-extra-examples { margin-top: 16px; }
.s21-route-example-links summary,
.s21-route-extra-examples summary { cursor: pointer; font-weight: 700; }
.s21-route-example-links ul,
.s21-route-extra-examples ul { display: grid; gap: 8px; margin: 10px 0 0; padding-left: 22px; }
.s21-route-example-link { color: #173f73; font-size: 16px; line-height: 1.45; text-decoration: underline; text-underline-offset: 3px; }
.s21-route-faq { max-width: 1180px; margin: 32px auto; }
.s21-route-faq h2 { margin: 0 0 14px; font-size: clamp(25px, 3vw, 34px); }
.s21-route-faq details { padding: 14px 0; border-top: 1px solid #dce4ef; }
.s21-route-faq summary { color: #172e4d; cursor: pointer; font-size: 17px; font-weight: 700; }
.s21-route-faq details p { margin: 10px 0 0; color: #53657c; font-size: 16px; line-height: 1.55; }
.s21-industry-catalog { width: min(1180px, calc(100% - 48px)); margin: 36px auto; }
.s21-industry-catalog .s21-service-cards-heading { max-width: 880px; }
.s21-industry-catalog .s21-industry-subtitle { margin: 0 0 8px; color: #205baa; font-size: 20px; font-weight: 700; }
.s21-industry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.s21-industry-card { display: flex; min-width: 0; flex-direction: column; overflow: hidden; border: 1px solid #cfdaea; border-radius: 17px; background: #fff; box-shadow: 0 4px 0 #dce6f3; }
.s21-industry-card-image { aspect-ratio: 16 / 9; overflow: hidden; background: #edf3fc; }
.s21-industry-card-image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.s21-industry-card-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 18px; }
.s21-industry-card-copy h3 { margin: 0 0 8px; color: #172e4d; font-size: 21px; line-height: 1.25; }
.s21-industry-card-copy p { margin: 0; color: #53657c; font-size: 16px; line-height: 1.5; }
.s21-industry-card-actions { margin-top: auto; padding-top: 14px; }
.s21-catalog-conditions { margin-top: 24px; background: #f8fafc; }
.s21-catalog-conditions h3 { margin: 0 0 10px; font-size: 20px; }
.s21-catalog-conditions p { margin: 0 0 10px; color: #53657c; font-size: 16px; line-height: 1.55; }
.s21-text-step { min-width: 0; }
@media (max-width: 760px) {
  .s21-route-actions { align-items: stretch; }
  .s21-route-action,
  .s21-route-group-link,
  .s21-industry-action,
  .s21-industry-secondary { flex: 1 1 100%; width: 100%; }
  .s21-route-faq,
  .s21-industry-catalog { width: min(100% - 32px, 620px); margin: 24px auto; }
  .s21-industry-grid { grid-template-columns: 1fr; gap: 13px; }
  .s21-industry-card-copy { padding: 16px; }
}

/* R01 first-screen sequence: compact offer, then the nine service choices. */
.s21-home-offer{width:min(1180px,calc(100% - 40px));margin:20px auto 16px;padding:22px clamp(20px,3.2vw,38px);border:1px solid #dce4ef;border-radius:22px;background:#fff;color:#172e4d;box-shadow:0 14px 40px -34px rgb(23 46 77 / 30%)}
.s21-home-offer-copy{max-width:880px;margin:0 auto}
.s21-home-offer .s21-eyebrow{margin:0 0 8px}
.s21-home-offer h1{max-width:820px;margin:0 0 10px;color:#172e4d;font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.035em}
.s21-home-offer-lead{max-width:78ch;margin:0;color:#344f71;font-size:17px;line-height:1.45}
.s21-home-offer-detail{margin:8px 0 0;color:#53657c;font-size:16px;line-height:1.45}
.s21-home-offer-actions{margin-top:13px}
.s21-home-offer-actions .s21-route-action{min-height:44px}
.s21-home-offer-actions .s21-home-picker-link{background:#fff;color:#174e95;border-color:#9bb9e2}
.s21-service-cards--home{width:min(1180px,calc(100% - 40px));margin:0 auto 26px}
@media(max-width:650px){
 .s21-home-offer{width:calc(100% - 28px);margin:12px auto 12px;padding:17px 16px;border-radius:17px}
 .s21-home-offer h1{margin-bottom:8px;font-size:clamp(28px,8vw,34px);line-height:1.08}
 .s21-home-offer-lead{font-size:16px;line-height:1.4}
 .s21-home-offer-detail{margin-top:7px;font-size:16px;line-height:1.4}
 .s21-home-offer-actions{gap:8px;margin-top:11px}
 .s21-home-offer-actions .s21-route-action{flex:0 1 auto;width:auto;min-width:0;min-height:44px;padding-inline:10px;white-space:nowrap}
 .s21-service-cards--home{width:calc(100% - 28px);margin:0 auto 18px;padding:17px 14px}
}


/* 2026-11-05: stable anchors, scoped Bitrix24 explainer, and compact brief actions. */
#package, #work, #bitrix24, #lab { scroll-margin-top: 132px; }
.s21-content-block--bitrix24 { border: 1px solid #b9c9e1; border-radius: 22px; background: linear-gradient(145deg, #f5f8ff, #fffdf8); padding: clamp(22px, 4vw, 42px); }
.s21-content-block--bitrix24 > h2 { color: #102442; }
.s21-bitrix-intro { max-width: 78ch; color: #294568; }
.s21-bitrix-flow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; padding: 0; list-style: none; margin: 24px 0 30px; counter-reset: bitrix; }
.s21-bitrix-flow li { min-height: 96px; padding: 14px; border: 1px solid #c8d5e8; border-radius: 14px; background: #fff; color: #16345d; font-weight: 700; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; }
.s21-bitrix-flow li span { color: #1764ed; font-size: .8rem; letter-spacing: .08em; }
.s21-content-block--bitrix24 > h3 { margin-top: 24px; }
.s21-bitrix-disclosure { margin: 20px 0; padding: 14px 16px; border-left: 4px solid #1764ed; background: #edf3ff; color: #294568; }
.s21-bitrix-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
#brief .brief-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
#brief .brief-actions > * { max-width: 100%; }
.odl-process-outcome span { overflow-wrap: anywhere; }
.s21-generated-brief { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); align-items: start; gap: clamp(22px, 3vw, 40px); padding: clamp(22px, 3.5vw, 40px); border: 1px solid #b9c9e1; border-radius: 22px; background: linear-gradient(145deg, #f2f6ff, #fffdf8); }
.s21-generated-brief > div:first-child { min-width: 0; padding: 8px 0; }
.s21-generated-brief .eyebrow { margin: 0 0 10px; color: #205baa; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.s21-generated-brief h2 { margin: 0 0 14px; color: #172e4d; font-size: clamp(28px, 3vw, 38px); line-height: 1.12; letter-spacing: -.025em; }
.s21-generated-brief > div:first-child > p:not(.eyebrow) { color: #405a79; font-size: 16px; line-height: 1.55; }
.s21-generated-brief .brief-box { min-width: 0; padding: 24px; border: 1px solid #c8d5e8; border-radius: 16px; background: #fff; box-shadow: 5px 5px 0 #dbe5f2; color: #172e4d; }
.s21-generated-brief #request-builder { display: grid; gap: 14px; }
.s21-generated-brief .brief-box label { display: block; color: #233f63; font-size: 14px; font-weight: 700; line-height: 1.5; }
.s21-generated-brief .brief-box textarea { box-sizing: border-box; display: block; width: 100%; max-width: 100%; min-height: 78px; margin-top: 7px; padding: 12px; border: 1px solid #b9c9e1; border-radius: 9px; background: #f8faff; color: #172e4d; font: 400 15px/1.5 system-ui, sans-serif; resize: vertical; }
.s21-generated-brief .brief-box textarea:focus-visible { outline: 3px solid #79a9f5; outline-offset: 2px; }
.s21-generated-brief .brief-box button,
.s21-generated-brief .brief-box .button { min-height: 46px; padding: 11px 16px; border: 1px solid #205baa; border-radius: 10px; background: #205baa; color: #fff; font: 700 15px/1.35 system-ui, sans-serif; cursor: pointer; }
.s21-generated-brief .brief-box button:hover,
.s21-generated-brief .brief-box .button:hover { background: #173f73; }
.s21-generated-brief #brief-result[hidden],
.s21-generated-brief #request-builder[hidden] { display: none !important; }
.s21-generated-brief #brief-result h3 { margin: 0 0 14px; color: #172e4d; font-size: 24px; line-height: 1.25; }
.s21-generated-brief #brief-result h3:focus { border-radius: 3px; outline: 3px solid #79a9f5; outline-offset: 4px; }
.s21-generated-brief #brief-result > label { display: block; margin-bottom: 8px; }
.s21-generated-brief #brief-result textarea { min-height: 250px; }
.s21-generated-brief .brief-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.s21-generated-brief .brief-actions > * { flex: 1 1 210px; text-align: center; }
.s21-generated-brief .small { color: #526883; font-size: 13px; line-height: 1.55; }
.s21-generated-brief .edit-brief { margin-top: 4px; background: #edf3fc; color: #173f73; }
@media (max-width: 760px) {
  #package, #work, #bitrix24, #lab { scroll-margin-top: 112px; }
  .s21-bitrix-flow { grid-template-columns: 1fr; gap: 8px; }
  .s21-bitrix-flow li { min-height: auto; flex-direction: row; align-items: center; justify-content: flex-start; }
  #brief .brief-actions { align-items: stretch; }
  #brief .brief-actions > * { width: 100%; justify-content: center; text-align: center; }
  .s21-generated-brief { grid-template-columns: 1fr; gap: 18px; }
  .s21-generated-brief .brief-box { padding: 20px; }
}
