/* ==========================================================================
 * Páginas de setor da IA Aplicada, 2.ª versão (11/11/2026)
 * ======================================================================== */
.sx { --sx-navy: #06102A; --sx-navy-2: #0B1730; --sx-card: #fff; overflow-x: clip; }
.sx h2 { font-family: var(--display); letter-spacing: -.035em; line-height: 1.06; text-wrap: balance; }
.sx-head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 48px); }
.sx-head h2 { margin: 0 0 12px; font-size: var(--step-3); }
.sx-head p { margin: 0; font-size: var(--step-1); line-height: 1.55; color: var(--slate-600); }
.sx-demo__tag { display: inline-block; padding: 2px 8px; border-radius: 99px; background: rgba(0,105,254,.12); color: var(--blue); font: 600 .72rem/1.5 var(--mono); letter-spacing: .02em; text-transform: uppercase; vertical-align: 1px; }

/* Hero ---------------------------------------------------------------------- */
.sx-hero { position: relative; color: #fff; padding: calc(var(--header-h) + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px); background: var(--sx-navy); isolation: isolate; }
.sx-hero__bg, .sx-hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.sx-hero__bg { z-index: -1; }
.sx-hero__bg img { object-fit: cover; object-position: center 40%; }
.sx-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6,16,42,.94) 0%, rgba(6,16,42,.8) 40%, rgba(6,16,42,.35) 75%, rgba(6,16,42,.55) 100%), linear-gradient(0deg, rgba(6,16,42,.6), transparent 40%); }
.sx-hero__grid { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sx-crumb { margin: 0 0 18px; font-size: .9rem; color: rgba(226,234,248,.75); }
.sx-crumb a { color: #fff; text-decoration-color: rgba(255,255,255,.35); text-underline-offset: 3px; }
.sx-hero__title { margin: 0 0 20px; font-family: var(--display); font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4.6rem); line-height: 1.01; letter-spacing: -.045em; text-wrap: balance; color: #fff; }
.sx-hero__lead { margin: 0 0 28px; max-width: 56ch; font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); line-height: 1.55; color: rgba(241,245,251,.9); }
.sx-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.sx-hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.sx-hero .btn--ghost:hover { background: rgba(255,255,255,.1); color: #fff; border-color: #fff; }
.sx-hero__for { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.16); max-width: 56ch; font-size: .98rem; color: rgba(226,234,248,.82); }
.sx-hero__for strong { color: #fff; }

/* Demo card */
.sx-demo { margin: 0; padding: 18px; border-radius: 22px; background: rgba(255,255,255,.97); color: var(--ink); box-shadow: 0 40px 80px -30px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.2); }
.sx-demo__bar { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-weight: 600; font-size: .95rem; }
.sx-demo__steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.sx-step { transition: opacity .45s var(--ease), transform .45s var(--ease); }
.sx-demo.is-animating .sx-step:not(.is-on) { opacity: 0; transform: translateY(8px); }
.sx-step__meta { display: flex; align-items: center; gap: 6px; margin-bottom: 6px; font: 600 .8rem/1.3 var(--font); color: var(--slate-500); }
.sx-step__meta .icon { width: 15px; height: 15px; }
.sx-step__meta--ok { color: var(--green-ink); margin: 0; }
.sx-step__text { margin: 0; padding: 10px 12px; border-radius: 12px; background: #ECFDF3; color: #054F31; font-size: .95rem; }
.sx-bubble { margin: 0; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: var(--slate-100); font-size: .98rem; line-height: 1.45; }
.sx-bubble--out { border-radius: 16px 16px 4px 16px; background: var(--blue); color: #fff; margin-left: 12%; }
.sx-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.sx-chips li { padding: 5px 10px; border-radius: 99px; background: #E7F0FF; color: #0B3D91; font: 600 .84rem/1.3 var(--font); }
.sx-demo__replay { margin-top: 12px; padding: 6px 12px; border: 1px solid var(--line-strong); border-radius: 99px; background: none; font: inherit; font-size: .85rem; cursor: pointer; }
.sx-demo__replay:hover { border-color: var(--blue); color: var(--blue); }

/* Situations --------------------------------------------------------------- */
.sx-situ { background: var(--paper); padding: clamp(64px, 8vw, 112px) 0 clamp(48px, 6vw, 80px); }
.sx-situ__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sx-situ__item { display: flex; flex-direction: column; padding: 26px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); }
.sx-situ__icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 14px; background: #FFF1E6; color: #B54708; }
.sx-situ__icon .icon { width: 22px; height: 22px; }
.sx-situ__item h3 { margin: 0 0 12px; font-family: var(--display); font-size: 1.32rem; letter-spacing: -.02em; line-height: 1.2; }
.sx-situ__ex { margin: 0 0 12px; padding: 12px 14px; border-left: 3px solid #F5A524; border-radius: 0 12px 12px 0; background: #FFFAF0; font-size: 1rem; line-height: 1.5; color: var(--ink-2); font-style: normal; }
.sx-situ__item p { margin: 0 0 18px; color: var(--slate-600); line-height: 1.55; }
.sx-situ__fix { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; padding-top: 16px; border-top: 1px solid var(--line); font-weight: 600; color: var(--blue); text-decoration: none; }
.sx-situ__fix span { width: 100%; font: 600 .76rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--slate-500); }
.sx-situ__fix b { font-weight: 600; }
.sx-situ__fix .icon { width: 16px; height: 16px; vertical-align: -3px; transition: transform .2s; }
.sx-situ__fix:hover .icon { transform: translateX(3px); }

/* Solutions ---------------------------------------------------------------- */
.sx-sol { padding: clamp(56px, 7vw, 104px) 0; background: var(--paper-2); scroll-margin-top: calc(var(--header-h) + 8px); }
.sx-sol + .sx-sol:not(.is-dark) { background: var(--paper); }
.sx-sol.is-dark { background: var(--sx-navy); color: var(--night-text); }
.sx-sol__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.sx-sol.is-flip .sx-sol__copy { order: 2; }
.sx-sol__n { margin: 0 0 10px; font: 600 .8rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--blue); }
.sx-sol.is-dark .sx-sol__n { color: #7FB1FF; }
.sx-sol h2 { margin: 0 0 14px; font-size: clamp(1.9rem, 1.4rem + 1.8vw, 2.8rem); }
.sx-sol.is-dark h2 { color: #fff; }
.sx-sol__what { margin: 0 0 22px; font-size: 1.12rem; line-height: 1.6; color: var(--ink-2); }
.sx-sol.is-dark .sx-sol__what { color: rgba(241,245,251,.88); }
.sx-sol__facts { display: grid; gap: 16px; margin: 0 0 18px; }
.sx-sol__facts dt { margin-bottom: 4px; font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .05em; color: var(--slate-500); }
.sx-sol.is-dark .sx-sol__facts dt { color: var(--night-muted); }
.sx-sol__facts dd { margin: 0; line-height: 1.6; }
.sx-links { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; }
.sx-links li { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 10px; padding: 8px 12px; border-radius: 10px; background: rgba(15,23,42,.04); font-size: .95rem; }
.sx-sol.is-dark .sx-links li { background: rgba(255,255,255,.06); }
.sx-badge { padding: 2px 9px; border-radius: 99px; font: 600 .74rem/1.6 var(--font); white-space: nowrap; }
.sx-badge.is-ok { background: #DCFAE6; color: #067647; }
.sx-badge.is-account { background: #E0EAFF; color: #1D4ED8; }
.sx-badge.is-eval { background: #FEF0C7; color: #93370D; }
.sx-human { display: flex; gap: 12px; align-items: flex-start; margin: 0 0 20px; padding: 14px 16px; border-radius: 14px; background: #FFF7E6; color: #5C3A00; line-height: 1.55; }
.sx-human .icon { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.sx-sol.is-dark .sx-human { background: rgba(245,165,36,.14); color: #FCE7C3; }
.sx-sol.is-dark .link-arrow { color: #9CC4FF; }

/* Visual: requests with tabs (the interaction) */
.sx-req { padding: 22px; border-radius: 24px; background: var(--sx-card); color: var(--ink); box-shadow: 0 40px 80px -36px rgba(0,0,0,.55); }
.sx-req__label { margin: 0 0 12px; font-weight: 600; font-size: .95rem; color: var(--slate-600); }
.sx-req__tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.sx-req__tabs button { min-height: 42px; padding: 8px 14px; border: 1.5px solid var(--slate-200); border-radius: 99px; background: #fff; font: inherit; font-weight: 600; font-size: .92rem; color: var(--ink-2); cursor: pointer; transition: border-color .15s, background-color .15s, color .15s; }
.sx-req__tabs button:hover { border-color: var(--blue-300); }
.sx-req__tabs button[aria-selected="true"] { border-color: var(--blue); background: var(--blue); color: #fff; }
.sx-req__tabs button:focus-visible, .sx-req__panel:focus-visible { outline: 3px solid rgba(0,105,254,.4); outline-offset: 2px; }
.sx-req__panel { animation: sx-in .3s var(--ease) both; border-radius: 12px; }
.sx-req__channel { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin: 0 0 8px; font: 600 .82rem var(--font); color: var(--slate-500); }
.sx-req__steps { margin: 16px 0 0; padding: 0; list-style: none; counter-reset: s; display: grid; gap: 0; }
.sx-req__steps li { counter-increment: s; position: relative; display: grid; gap: 2px; padding: 0 0 16px 42px; line-height: 1.45; }
.sx-req__steps li::before { content: counter(s); position: absolute; left: 0; top: -2px; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--blue-100); color: var(--blue); font: 700 .85rem var(--display); }
.sx-req__steps li::after { content: ""; position: absolute; left: 13px; top: 28px; bottom: 2px; width: 2px; background: var(--blue-100); }
.sx-req__steps li.is-last::after { display: none; }
.sx-req__steps li.is-last::before { background: var(--green); color: #fff; content: "✓"; }
.sx-req__steps strong { font-size: .98rem; }
.sx-req__steps span { color: var(--slate-600); font-size: .95rem; }
@keyframes sx-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

/* Visual: photo + card / phone */
.sx-photo { position: relative; margin: 0; }
.sx-photo img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); }
.sx-card { position: absolute; left: -18px; bottom: -22px; width: min(320px, 78%); padding: 16px 18px; border-radius: 16px; background: #fff; box-shadow: var(--shadow-l); }
.sx-card__t { display: block; margin-bottom: 8px; font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--blue); }
.sx-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 6px; font-size: .95rem; }
.sx-card li { display: flex; gap: 8px; align-items: flex-start; }
.sx-card .icon { flex: none; width: 16px; height: 16px; margin-top: 3px; color: var(--green-ink); }
.sx-phone { position: absolute; right: -16px; bottom: -26px; width: min(300px, 76%); display: grid; gap: 8px; padding: 16px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-l); }
.sx-phone .sx-bubble { font-size: .92rem; }
.sx-phone .sx-bubble--out { margin-left: 8%; }
.sx-phone__note { display: flex; gap: 6px; align-items: center; margin: 0; font: 600 .82rem var(--font); color: var(--green-ink); }
.sx-phone__note .icon { width: 15px; height: 15px; }

/* Extras ------------------------------------------------------------------- */
.sx-extras { padding: clamp(48px, 6vw, 80px) 0; background: var(--paper-2); }
.sx-extras__t { margin: 0 0 20px; font-size: var(--step-2); }
.sx-extras__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.sx-extras__list a { display: grid; gap: 4px; height: 100%; padding: 18px; border-radius: 16px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; transition: box-shadow .2s; }
.sx-extras__list a:hover { box-shadow: inset 0 0 0 1.5px var(--blue-300); }
.sx-extras__icon { display: grid; place-items: center; width: 38px; height: 38px; margin-bottom: 8px; border-radius: 11px; background: var(--blue-100); color: var(--blue); }
.sx-extras__icon .icon { width: 19px; height: 19px; }
.sx-extras__list strong { font-size: 1rem; line-height: 1.3; }
.sx-extras__list span:last-child { color: var(--slate-600); font-size: .92rem; line-height: 1.45; }

/* Proof -------------------------------------------------------------------- */
.sx-proof { padding: clamp(56px, 7vw, 96px) 0; background: var(--paper); }
.sx-proof__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.sx-proof__list a { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 14px 14px 20px; border-radius: 20px; background: #fff; box-shadow: var(--shadow-s), inset 0 0 0 1px var(--line); color: var(--ink); text-decoration: none; }
.sx-proof__img { display: block; margin-bottom: 10px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--slate-100); }
.sx-proof__img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s var(--ease); }
.sx-proof__list a:hover img { transform: scale(1.03); }
.sx-proof__kicker { padding: 0 6px; font: 600 .76rem var(--mono); color: var(--blue); }
.sx-proof__list strong { padding: 0 6px; font-family: var(--display); font-size: 1.2rem; letter-spacing: -.02em; }
.sx-proof__text { padding: 0 6px; color: var(--slate-600); font-size: .95rem; line-height: 1.5; }
.sx-proof__more { margin-top: auto; padding: 8px 6px 0; display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); }
.sx-proof__more .icon { width: 16px; height: 16px; }

/* CTA, FAQ, others --------------------------------------------------------- */
.sx-cta { padding: clamp(56px, 7vw, 96px) 0; background: radial-gradient(1000px 500px at 85% 0%, rgba(0,105,254,.35), transparent 60%), var(--sx-navy); color: var(--night-text); }
.sx-cta__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) auto; gap: 28px 56px; align-items: center; }
.sx-cta h2 { margin: 0 0 12px; font-size: var(--step-3); color: #fff; }
.sx-cta p { margin: 0; max-width: 62ch; font-size: var(--step-1); line-height: 1.55; color: rgba(226,234,248,.85); }
.sx-cta__actions { display: grid; gap: 12px; }
.sx-cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.4); }
.sx-cta .btn--ghost:hover { color: #fff; border-color: #fff; background: rgba(255,255,255,.08); }
.sx-faq { padding: clamp(56px, 7vw, 96px) 0; background: var(--paper); }
.sx-faq__grid { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: 24px 56px; }
.sx-faq h2 { margin: 0; font-size: var(--step-3); }
.sx-faq details { border-bottom: 1px solid var(--line); }
.sx-faq summary { padding: 18px 0; cursor: pointer; font-weight: 600; font-size: 1.08rem; }
.sx-faq details p { margin: 0 0 20px; color: var(--slate-700); line-height: 1.65; font-size: 1.02rem; }
.sx-others { padding: 32px 0 56px; background: var(--paper); }
.sx-others__t { margin: 0 0 14px; font-size: 1rem; font-family: var(--font); letter-spacing: 0; color: var(--slate-500); }
.sx-others__list { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.sx-others__list a { display: inline-block; padding: 9px 16px; border-radius: 99px; background: var(--paper-2); color: var(--ink); text-decoration: none; font-weight: 500; }
.sx-others__list a:hover { background: var(--blue-100); color: var(--blue); }

/* Responsive --------------------------------------------------------------- */
@media (max-width: 1000px) {
  .sx-hero__grid, .sx-sol__grid, .sx-cta__grid, .sx-faq__grid { grid-template-columns: 1fr; }
  .sx-sol.is-flip .sx-sol__copy { order: 0; }
  .sx-situ__list { grid-template-columns: 1fr; }
  .sx-hero::after { background: linear-gradient(180deg, rgba(6,16,42,.82) 0%, rgba(6,16,42,.9) 60%, rgba(6,16,42,.96) 100%); }
  .sx-card { left: 12px; bottom: 12px; }
  .sx-phone { right: 12px; bottom: 12px; }
  .sx-sol__visual { margin-bottom: 8px; }
}
@media (max-width: 760px) {
  /* Phones: the photograph stays visible as a band at the top and fades into the navy behind the text. */
  .sx-hero { padding-top: calc(var(--header-h) + 230px); }
  .sx-hero__bg { bottom: auto; height: 470px; }
  .sx-hero__bg img { object-position: center 30%; }
  .sx-hero::after { background: linear-gradient(180deg, rgba(6,16,42,.35) 0, rgba(6,16,42,.12) 140px, rgba(6,16,42,.7) 300px, #06102A 460px); }
}
@media (max-width: 600px) {
  .sx-hero__title { font-size: 2.3rem; }
  .sx-hero__actions .btn { flex: 1 1 100%; }
  .sx-demo { padding: 14px; border-radius: 18px; }
  .sx-situ__item { padding: 22px; }
  .sx-req { padding: 16px; border-radius: 18px; }
  .sx-photo img { aspect-ratio: 4 / 3.4; border-radius: 18px; }
  .sx-card, .sx-phone { position: relative; left: auto; right: auto; bottom: auto; width: auto; margin: -40px 12px 0; }
  .sx-links li { padding: 8px 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .sx-step, .sx-req__panel, .sx-proof__img img { transition: none; animation: none; }
}

/* The page already ends with its own invitation (sx-cta): no footer band. */
body:has(.sx-cta) .site-footer .site-footer__cta { display: none; }

/* ==========================================================================
   Situações do dia a dia em separadores (11/11/2026) — inc/sector-situations.php
   ========================================================================== */
.sxs { background: var(--paper); padding: clamp(64px, 8vw, 112px) 0 clamp(56px, 7vw, 96px); }
.sxs__head { max-width: 760px; margin-bottom: clamp(28px, 4vw, 44px); }
.sxs__eyebrow { margin: 0 0 12px; font: 600 .82rem/1.3 var(--mono); letter-spacing: .02em; color: var(--blue); }
.sxs__title { margin: 0 0 14px; font-family: var(--display); font-size: clamp(1.9rem, 1.35rem + 1.9vw, 2.8rem); line-height: 1.1; letter-spacing: -.035em; color: var(--ink); text-wrap: balance; }
.sxs__intro { margin: 0; max-width: 60ch; font-size: var(--step-1); line-height: 1.6; color: var(--slate-600); }

/* Tabs in one row; all panels share the cell below, so the height never jumps. */
.sxs__wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: auto auto; column-gap: 12px; }
.sxs__tabwrap { grid-row: 1; grid-column: var(--sxs-col); margin: 0; }
.sxs__tab { appearance: none; display: flex; flex-direction: column; gap: 6px; width: 100%; height: 100%; padding: 16px 18px 18px; border: 0; border-top: 3px solid var(--line-strong); background: none; color: var(--slate-600); font: inherit; text-align: left; cursor: pointer; transition: border-color .2s var(--ease), color .2s var(--ease), background-color .2s var(--ease); }
.sxs__tab:hover { color: var(--ink); background: rgba(0,105,254,.03); }
.sxs__tab:focus-visible { outline: 3px solid rgba(0,105,254,.4); outline-offset: 2px; border-radius: 6px; }
.sxs__tab.is-active { border-top-color: var(--blue); color: var(--ink); }
.sxs__tablabel { font: 600 .78rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); }
.sxs__tab.is-active .sxs__tablabel { color: var(--blue); }
.sxs__tabtitle { font-family: var(--display); font-weight: 600; font-size: 1.02rem; line-height: 1.35; letter-spacing: -.01em; }
@media (min-width: 761px) {
  .sxs__tab { flex-direction: row; align-items: center; padding: 16px 18px; }
  .sxs__tablabel { font: 700 1.02rem var(--display); text-transform: none; letter-spacing: -.01em; color: inherit; }
  .sxs__tabtitle { display: none; } /* desktop: the situation title is in the panel */
}

.sxs__panel { grid-row: 2; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 4vw, 64px); align-items: center; margin-top: clamp(24px, 3vw, 36px); visibility: hidden; opacity: 0; transform: translateY(6px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s .3s; }
.sxs__panel.is-open { visibility: visible; opacity: 1; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s; }
.sxs__ptitle { margin: 0 0 14px; font-family: var(--display); font-weight: 700; font-size: clamp(1.45rem, 1.15rem + 1vw, 2rem); line-height: 1.15; letter-spacing: -.03em; color: var(--ink); text-wrap: balance; }
.sxs__text { margin: 0 0 20px; font-size: 1.08rem; line-height: 1.65; color: var(--slate-700); max-width: 52ch; }
.sxs__link { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--blue); text-decoration: none; }
.sxs__link .icon { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.sxs__link:hover .icon { transform: translateX(3px); }
.sxs__disclaimer { margin: clamp(24px, 3vw, 32px) 0 0; font-size: .85rem; color: var(--slate-500); }

/* Demo card (illustrative) */
.sxs-demo { position: relative; margin: 0; padding: clamp(20px, 2.5vw, 28px); border-radius: var(--radius-xl); background: var(--paper-2); box-shadow: inset 0 0 0 1px var(--line); min-height: 300px; display: flex; flex-direction: column; gap: 14px; }
.sxs-demo__tag { position: absolute; top: 14px; right: 14px; padding: 3px 10px; border-radius: 99px; background: #fff; font: 600 .7rem var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--slate-500); box-shadow: var(--shadow-s); }
.sxs-demo__head { margin: 0; padding-right: 80px; font: 600 .8rem var(--mono); color: var(--slate-500); }
.sxs-demo__note { display: flex; gap: 8px; align-items: flex-start; margin: auto 0 0; padding-top: 12px; border-top: 1px dashed var(--line-strong); font-size: .9rem; line-height: 1.45; color: var(--slate-600); }
.sxs-demo__note .icon { flex: none; width: 18px; height: 18px; color: #12805C; margin-top: 1px; }

.sxs-chat { display: grid; gap: 10px; }
.sxs-msg { margin: 0; max-width: 86%; padding: 12px 15px; border-radius: 16px; font-size: .97rem; line-height: 1.5; }
.sxs-msg--in { justify-self: start; background: #fff; color: var(--ink-2); border-bottom-left-radius: 4px; box-shadow: var(--shadow-s); }
.sxs-msg--out { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 4px; }

.sxs-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.sxs-steps li { position: relative; display: grid; gap: 2px; padding: 0 0 16px 30px; }
.sxs-steps li::before { content: ""; position: absolute; left: 6px; top: 4px; width: 12px; height: 12px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 2px var(--slate-400); }
.sxs-steps li::after { content: ""; position: absolute; left: 11px; top: 18px; bottom: 0; width: 2px; background: var(--line-strong); }
.sxs-steps li:last-child { padding-bottom: 0; }
.sxs-steps li:last-child::after { display: none; }
.sxs-steps li.is-done::before { background: var(--blue); box-shadow: none; }
.sxs-steps li.is-done::after { background: var(--blue); }
.sxs-steps li.is-now::before { background: #fff; box-shadow: inset 0 0 0 3px var(--blue), 0 0 0 5px rgba(0,105,254,.15); }
.sxs-steps strong { font-family: var(--display); font-size: 1rem; color: var(--ink); }
.sxs-steps li.is-next strong { color: var(--slate-500); }
.sxs-steps span { font-size: .92rem; color: var(--slate-600); }

.sxs-rows, .sxs-agenda, .sxs-check { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.sxs-rows li, .sxs-check li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 12px; background: #fff; font-size: .95rem; color: var(--ink-2); box-shadow: var(--shadow-s); }
.sxs-rows b, .sxs-check b { flex: none; font-weight: 600; font-size: .86rem; }
.sxs-rows li.is-ok b, .sxs-check li.is-ok b { color: #12805C; }
.sxs-rows li.is-warn, .sxs-check li.is-warn { box-shadow: inset 3px 0 0 #F79009, var(--shadow-s); }
.sxs-rows li.is-warn b, .sxs-check li.is-warn b { color: #B54708; }
.sxs-check li.is-todo b { color: var(--blue); }
.sxs-alert { display: flex; gap: 10px; align-items: flex-start; margin: 0; padding: 12px 14px; border-radius: 12px; background: #FFF7E6; color: #7A4A00; font-size: .93rem; line-height: 1.5; }
.sxs-alert .icon { flex: none; width: 18px; height: 18px; margin-top: 1px; }

.sxs-agenda li { display: grid; grid-template-columns: 58px 1fr; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 12px; background: #fff; font-size: .95rem; box-shadow: var(--shadow-s); }
.sxs-agenda time { font: 600 .86rem var(--mono); color: var(--slate-500); }
.sxs-agenda li.is-busy span { color: var(--slate-600); }
.sxs-agenda li.is-free span { color: var(--slate-400); }
.sxs-agenda li.is-free { background: transparent; box-shadow: none; border: 1px dashed var(--line-strong); }
.sxs-agenda li.is-new { background: var(--blue-100); box-shadow: inset 3px 0 0 var(--blue); }
.sxs-agenda li.is-new span { color: var(--ink); font-weight: 600; }
.sxs-agenda li.is-warn { box-shadow: inset 3px 0 0 #F79009, var(--shadow-s); }
.sxs-agenda li.is-warn span { color: #B54708; font-weight: 600; }

.sxs-doc { margin: 0; display: grid; gap: 0; border-radius: 12px; background: #fff; box-shadow: var(--shadow-s); overflow: hidden; }
.sxs-doc div { display: grid; grid-template-columns: minmax(110px, .7fr) 1fr; gap: 12px; padding: 11px 14px; border-top: 1px solid var(--line); font-size: .95rem; }
.sxs-doc div:first-child { border-top: 0; }
.sxs-doc dt { color: var(--slate-500); }
.sxs-doc dd { margin: 0; color: var(--ink); font-weight: 600; }
.sxs-doc div:last-child dd { color: var(--blue); }

.sxs-demo--photo { padding: 0; overflow: hidden; background: var(--paper-2); }
.sxs-demo--photo img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.sxs-demo__note--float { position: absolute; left: 16px; right: 16px; bottom: 16px; margin: 0; padding: 12px 14px; border: 0; border-radius: 12px; background: #fff; color: var(--ink-2); box-shadow: var(--shadow); }

/* Phone: vertical accordion, text and demo together. */
@media (max-width: 760px) {
  .sxs__wrap { display: block; border-top: 1px solid var(--line); }
  .sxs__tabwrap { border-bottom: 1px solid var(--line); }
  .sxs__tab { position: relative; padding: 16px 36px 16px 0; border-top: 0; }
  .sxs__tab::after { content: ""; position: absolute; right: 6px; top: 50%; width: 10px; height: 10px; margin-top: -7px; border-right: 2px solid var(--slate-400); border-bottom: 2px solid var(--slate-400); transform: rotate(45deg); transition: transform .2s var(--ease); }
  .sxs__tab.is-active::after { transform: rotate(-135deg); margin-top: -2px; border-color: var(--blue); }
  .sxs__tab:hover { background: none; }
  .sxs__panel { display: none; margin: 0; padding: 4px 0 24px; border-bottom: 1px solid var(--line); }
  .sxs__panel.is-open { display: grid; grid-template-columns: 1fr; gap: 18px; }
  .sxs__ptitle { display: none; } /* the button already shows the situation */
  .sxs-demo { min-height: 0; }
  .sxs-demo--photo img { min-height: 220px; }
}
@media (prefers-reduced-motion: reduce) {
  .sxs__panel, .sxs__panel.is-open, .sxs__tab, .sxs__link .icon { transition: none; transform: none; }
}
