/* Smart Guide Central — korporacyjny system wizualny */

:root {
  --sgcx-ink: #12151a;
  --sgcx-ink-muted: #3a4049;
  --sgcx-paper: #f4f3f0;
  --sgcx-paper-2: #ebeae6;
  --sgcx-white: #ffffff;
  --sgcx-panel: #161a20;
  --sgcx-panel-edge: #2a3038;
  --sgcx-accent: #8a7a5c;
  --sgcx-accent-deep: #6e6149;
  --sgcx-line: #d4d1ca;
  --sgcx-line-strong: #1c222b;
  --sgcx-rail-w: 248px;
  --sgcx-pad: clamp(1rem, 2.8vw, 2.5rem);
  --sgcx-body: 1.1875rem;
  --sgcx-lh: 1.65;
  --sgcx-serif: Georgia, "Times New Roman", Times, serif;
  --sgcx-sans: "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --sgcx-ease: ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

td, tr{
  border:1px solid black !important;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body.sgcx-shell {
  margin: 0;
  min-height: 100vh;
  background: var(--sgcx-paper);
  color: var(--sgcx-ink);
  font-family: var(--sgcx-sans);
  font-size: var(--sgcx-body);
  line-height: var(--sgcx-lh);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--sgcx-ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--sgcx-accent-deep);
}

h1,
h2,
h3,
h4 {
  font-family: var(--sgcx-serif);
  color: var(--sgcx-ink);
  line-height: 1.2;
  margin: 0 0 0.85rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(1.85rem, 4.2vw, 2.85rem);
}

h2 {
  font-size: clamp(1.45rem, 2.8vw, 2rem);
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
}

h4 {
  font-size: 1.125rem;
}

p {
  margin: 0 0 1.1rem;
  max-width: 70ch;
  font-size: 1.1875rem;
  line-height: var(--sgcx-lh);
  color: var(--sgcx-ink);
}

.sgcx-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--sgcx-white);
  color: var(--sgcx-ink);
  padding: 0.75rem 1rem;
  z-index: 100;
}

.sgcx-skip:focus {
  left: 1rem;
  top: 1rem;
}

/* Boczny panel — spokojny, ciemny */
.sgcx-spine {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sgcx-rail-w);
  z-index: 40;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: 1.75rem 1.15rem 1.5rem;
  background: var(--sgcx-panel);
  color: #e8e6e1;
  border-right: 1px solid var(--sgcx-panel-edge);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.sgcx-brandblock {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 0.75rem;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--sgcx-panel-edge);
}

.sgcx-brandmark {
  width: 44px;
  height: 44px;
  object-fit: contain;
  background: transparent;
  flex-shrink: 0;
}

.sgcx-brandword {
  font-family: var(--sgcx-serif);
  font-size: 1.05rem;
  line-height: 1.3;
  margin: 0;
  color: #f2f0eb;
  font-weight: 600;
}

.sgcx-brandword span {
  display: block;
  font-family: var(--sgcx-sans);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #a8a59c;
  margin-top: 0.25rem;
  font-weight: 500;
}

.sgcx-orbit {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sgcx-orbit a,
.sgcx-orbit a:link,
.sgcx-orbit a:visited,
.sgcx-orbit a:hover,
.sgcx-orbit a:active,
.sgcx-orbit a:focus,
.sgcx-orbit a:focus-visible {
  display: block;
  padding: 0.65rem 0.7rem;
  color: #f0eee8 !important;
  text-decoration: none;
  font-size: 0.98rem;
  border-left: 2px solid transparent;
  background: transparent;
  opacity: 1;
  visibility: visible;
  transition: background 0.15s var(--sgcx-ease), border-color 0.15s var(--sgcx-ease);
}

.sgcx-orbit a:hover,
.sgcx-orbit a:focus,
.sgcx-orbit a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-left-color: var(--sgcx-accent);
  color: #ffffff !important;
  outline: none;
}

.sgcx-orbit a[aria-current="page"],
.sgcx-orbit a.is-active {
  color: #ffffff !important;
  border-left-color: var(--sgcx-accent);
  background: rgba(255, 255, 255, 0.1);
}

.sgcx-spine-note {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--sgcx-panel-edge);
  font-size: 0.88rem;
  line-height: 1.55;
  color: #b0ada4;
}

.sgcx-spine-note a {
  color: #e4dfd4;
}

.sgcx-rail-toggle {
  display: none;
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 50;
  min-height: 48px;
  min-width: 48px;
  padding: 0.6rem 0.95rem;
  border: 1px solid var(--sgcx-line-strong);
  border-radius: 0;
  background: var(--sgcx-white);
  color: var(--sgcx-ink);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
}

.sgcx-rail-toggle:hover {
  background: var(--sgcx-ink);
  color: var(--sgcx-white);
}

.sgcx-rail-toggle:active {
  opacity: 0.88;
}

.sgcx-stage {
  margin-left: var(--sgcx-rail-w);
  min-height: 100vh;
  padding: var(--sgcx-pad);
  padding-bottom: 3.5rem;
}

/* Hero */
.sgcx-skewframe {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(220px, 0.75fr);
  gap: 1.75rem 2rem;
  align-items: stretch;
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--sgcx-line);
}

.sgcx-kicker {
  display: inline-block;
  margin-bottom: 0.75rem;
  font-size: 0.78rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sgcx-accent-deep);
}

.sgcx-lede {
  font-size: clamp(1.1rem, 1.7vw, 1.25rem);
  max-width: 58ch;
  color: var(--sgcx-ink-muted);
}

.sgcx-hero-aside {
  padding: 1.25rem 0 1.25rem 1.25rem;
  border-left: 1px solid var(--sgcx-line-strong);
  background: transparent;
}

.sgcx-hero-aside h2 {
  font-size: 1.15rem;
  margin-bottom: 0.85rem;
}

.sgcx-hero-aside p {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: var(--sgcx-ink-muted);
}

.sgcx-vista {
  margin: 0 0 2.5rem;
  border: 1px solid var(--sgcx-line);
  background: var(--sgcx-white);
  overflow: hidden;
}

.sgcx-vista img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.sgcx-vista-caption {
  margin: 0;
  padding: 0.75rem 1rem;
  font-size: 0.92rem;
  color: var(--sgcx-ink-muted);
  border-top: 1px solid var(--sgcx-line);
  max-width: none;
}

.sgcx-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2.5rem;
}

.sgcx-gallery figure {
  margin: 0;
  border: 1px solid var(--sgcx-line);
  background: var(--sgcx-white);
  overflow: hidden;
}

.sgcx-gallery img {
  width: 100%;
  object-fit: cover;
  object-position: center;
}

.sgcx-gallery figcaption {
  margin: 0;
  padding: 0.7rem 0.85rem;
  font-size: 0.92rem;
  color: var(--sgcx-ink);
  border-top: 1px solid var(--sgcx-line);
  line-height: 1.45;
}

.sgcx-gallery--triple {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.sgcx-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.35rem;
}

.sgcx-pulse {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 52px;
  padding: 0.8rem 1.35rem;
  border-radius: 0;
  border: 1px solid transparent;
  font-family: var(--sgcx-sans);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s var(--sgcx-ease), color 0.15s var(--sgcx-ease), border-color 0.15s var(--sgcx-ease);
}

.sgcx-pulse--verdant {
  background: var(--sgcx-panel);
  color: #f4f3f0;
  border-color: var(--sgcx-panel);
}

.sgcx-pulse--verdant:hover {
  background: #0c0f13;
  color: #ffffff;
}

.sgcx-pulse--verdant:active {
  background: #000000;
}

.sgcx-pulse--ember {
  background: var(--sgcx-accent);
  color: #111418;
  border-color: var(--sgcx-accent);
}

.sgcx-pulse--ember:hover {
  background: var(--sgcx-accent-deep);
  color: #ffffff;
  border-color: var(--sgcx-accent-deep);
}

.sgcx-pulse--ember:active {
  opacity: 0.9;
}

.sgcx-pulse--ghost {
  background: transparent;
  border-color: var(--sgcx-line-strong);
  color: var(--sgcx-ink);
}

.sgcx-pulse--ghost:hover {
  background: var(--sgcx-ink);
  color: #ffffff;
}

.sgcx-pulse--ghost:active {
  opacity: 0.9;
}

/* Sekcje */
.sgcx-band {
  margin: 0 0 2.5rem;
  padding: 0.35rem 0 0.5rem;
}

.sgcx-band--narrow {
  max-width: 780px;
}

.sgcx-band--wide {
  width: 100%;
}

.sgcx-band--offset {
  max-width: 900px;
  padding-left: clamp(0rem, 4vw, 2.5rem);
  border-left: 1px solid var(--sgcx-line);
}

.sgcx-band--split {
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2rem;
  align-items: start;
}

.sgcx-slab {
  background: var(--sgcx-white);
  border: 1px solid var(--sgcx-line);
  border-radius: 0;
  padding: 1.35rem 1.3rem;
}

.sgcx-slab--tilt,
.sgcx-slab--flat {
  transform: none;
  border-radius: 0;
}

.sgcx-diag {
  position: relative;
  padding: 2rem 0;
  margin: 2.25rem 0;
  background: #ffffff;
  color: var(--sgcx-ink);
  clip-path: none;
  border-top: 2px solid var(--sgcx-line-strong);
  border-bottom: 2px solid var(--sgcx-line-strong);
}

.sgcx-diag h2,
.sgcx-diag h3,
.sgcx-diag h4,
.sgcx-diag p,
.sgcx-diag li,
.sgcx-diag dt,
.sgcx-diag dd,
.sgcx-diag .sgcx-steps li,
.sgcx-diag .sgcx-bullets li {
  color: var(--sgcx-ink) !important;
}

.sgcx-diag a {
  color: var(--sgcx-ink) !important;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.sgcx-diag a:hover {
  color: var(--sgcx-accent-deep) !important;
}

.sgcx-diag-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0.5rem var(--sgcx-pad) 0.75rem;
}

/* Tabele */
.sgcx-matrix-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.15rem 0 0.35rem;
  border: 1px solid var(--sgcx-line-strong);
  background: var(--sgcx-white);
}

table.sgcx-matrix {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
  font-size: 1.05rem;
}

.sgcx-matrix th,
.sgcx-matrix td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--sgcx-line);
  vertical-align: top;
}

.sgcx-matrix thead th {
  background: var(--sgcx-panel);
  color: #f0eee8;
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--sgcx-accent);
}

.sgcx-matrix tbody tr:nth-child(even) {
  background: #f7f6f3;
}

.sgcx-matrix tbody tr:nth-child(odd) {
  background: var(--sgcx-white);
}

.sgcx-matrix tbody tr:hover {
  background: #efeee9;
}

/* Listy */
.sgcx-bullets,
.sgcx-steps {
  margin: 0 0 1.15rem;
  padding-left: 1.25rem;
  max-width: 72ch;
}

.sgcx-bullets li,
.sgcx-steps li {
  margin-bottom: 0.55rem;
  font-size: 1.15rem;
  line-height: var(--sgcx-lh);
  color: var(--sgcx-ink);
}

.sgcx-steps {
  list-style: decimal;
}

.sgcx-lexicon {
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.sgcx-lexicon dt {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--sgcx-ink);
  margin: 0;
}

.sgcx-lexicon dd {
  margin: 0.2rem 0 0.75rem;
  padding-left: 0.85rem;
  border-left: 2px solid var(--sgcx-accent);
  font-size: 1.1rem;
  line-height: var(--sgcx-lh);
  color: var(--sgcx-ink-muted);
}

/* Akordeon */
.sgcx-foldstack {
  display: grid;
  gap: 0.55rem;
}

.sgcx-fold {
  border: 1px solid var(--sgcx-line-strong);
  border-radius: 0;
  background: var(--sgcx-white);
  overflow: hidden;
}

.sgcx-fold > button {
  width: 100%;
  text-align: left;
  min-height: 56px;
  padding: 0.95rem 1.1rem;
  border: 0;
  background: var(--sgcx-paper-2);
  color: var(--sgcx-ink);
  font-family: var(--sgcx-sans);
  font-size: 1.05rem;
  font-weight: 650;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.sgcx-fold > button:hover {
  background: #e2e0da;
}

.sgcx-fold > button:active {
  background: #d8d5ce;
}

.sgcx-fold[data-open="true"] > button {
  background: var(--sgcx-panel);
  color: #f2f0eb;
}

.sgcx-fold-body {
  display: none;
  padding: 1.05rem 1.15rem 1.25rem;
}

.sgcx-fold[data-open="true"] .sgcx-fold-body {
  display: block;
}

.sgcx-fold-mark {
  font-size: 1.25rem;
  line-height: 1;
  flex-shrink: 0;
}

/* Kontakt */
.sgcx-contact-mosaic {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 1rem;
}

.sgcx-contact-mosaic .sgcx-slab:first-child {
  grid-row: 1 / span 2;
}

.sgcx-meta-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sgcx-meta-list li {
  margin-bottom: 0.9rem;
  font-size: 1.1rem;
}

.sgcx-meta-list strong {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sgcx-accent-deep);
  margin-bottom: 0.25rem;
  font-weight: 700;
}

/* Formularze */
.sgcx-fieldgrid {
  display: grid;
  gap: 1rem;
}

.sgcx-field label {
  display: block;
  font-weight: 650;
  margin-bottom: 0.35rem;
  font-size: 0.98rem;
}

.sgcx-field input,
.sgcx-field select,
.sgcx-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--sgcx-line-strong);
  border-radius: 0;
  font-family: var(--sgcx-sans);
  font-size: 1.05rem;
  color: var(--sgcx-ink);
  background: var(--sgcx-white);
}

.sgcx-field textarea {
  min-height: 130px;
  resize: vertical;
}

.sgcx-field input:focus,
.sgcx-field select:focus,
.sgcx-field textarea:focus {
  outline: 2px solid rgba(138, 122, 92, 0.45);
  border-color: var(--sgcx-accent-deep);
}

.sgcx-hint {
  font-size: 0.95rem;
  color: var(--sgcx-ink-muted);
  margin-top: 0.35rem;
}

.sgcx-form-status {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 0;
  background: #efeee9;
  border: 1px solid var(--sgcx-line-strong);
  color: var(--sgcx-ink);
  font-weight: 600;
}

.sgcx-form-status[data-visible="true"] {
  display: block;
}

/* Modal */
.sgcx-veil {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(12, 14, 18, 0.72);
}

.sgcx-veil[data-open="true"] {
  display: flex;
}

.sgcx-modal {
  width: min(600px, 100%);
  max-height: min(90vh, 900px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--sgcx-paper);
  border-radius: 0;
  border: 1px solid var(--sgcx-line-strong);
  padding: 1.4rem;
}

.sgcx-modal-top {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--sgcx-line);
}

.sgcx-modal-close {
  min-width: 44px;
  min-height: 44px;
  border-radius: 0;
  border: 1px solid var(--sgcx-line-strong);
  background: var(--sgcx-white);
  font-size: 1.35rem;
  cursor: pointer;
  font-weight: 600;
}

.sgcx-modal-close:hover {
  background: var(--sgcx-ink);
  color: #ffffff;
}

/* Cookies */
.sgcx-crumbbar {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  left: calc(var(--sgcx-rail-w) + 1rem);
  z-index: 70;
  display: none;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 1rem 1.15rem;
  background: var(--sgcx-white);
  border: 1px solid var(--sgcx-line-strong);
  border-radius: 0;
}

.sgcx-crumbbar[data-open="true"] {
  display: flex;
}

.sgcx-crumbbar p {
  margin: 0;
  max-width: 60ch;
  font-size: 0.98rem;
  color: var(--sgcx-ink-muted);
}

.sgcx-crumb-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* Stopka */
.sgcx-colophon {
  margin-top: 2.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--sgcx-line-strong);
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}

.sgcx-colophon p {
  font-size: 1rem;
  margin-bottom: 0.45rem;
  color: var(--sgcx-ink-muted);
}

.sgcx-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1.15rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sgcx-legal-links a {
  font-weight: 650;
  text-decoration: none;
  border-bottom: 1px solid var(--sgcx-accent);
}

.sgcx-legal-links a:hover {
  color: var(--sgcx-accent-deep);
}

.sgcx-prose-wide p {
  max-width: 75ch;
}

.sgcx-toc {
  margin: 1rem 0 2rem;
  padding: 1.1rem 1.15rem;
  background: var(--sgcx-white);
  border: 1px solid var(--sgcx-line);
  border-left: 3px solid var(--sgcx-accent);
}

.sgcx-toc ol {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
}

.sgcx-toc li {
  margin-bottom: 0.35rem;
  font-size: 1.05rem;
}

.sgcx-split-local {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 1.25rem;
}

/* Tablet */
@media (max-width: 1100px) {
  .sgcx-skewframe,
  .sgcx-band--split,
  .sgcx-contact-mosaic,
  .sgcx-colophon,
  .sgcx-split-local {
    grid-template-columns: 1fr;
  }

  .sgcx-contact-mosaic .sgcx-slab:first-child {
    grid-row: auto;
  }

  .sgcx-hero-aside {
    padding: 1.1rem 0 0;
    border-left: 0;
    border-top: 1px solid var(--sgcx-line-strong);
  }

  .sgcx-band--offset {
    padding-left: 0;
    border-left: 0;
  }


  .sgcx-gallery,
  .sgcx-gallery--triple {
    grid-template-columns: 1fr;
  }


}

/* Mobile */
@media (max-width: 860px) {
  :root {
    --sgcx-rail-w: 0px;
    --sgcx-body: 1.125rem;
  }

  body.sgcx-shell {
    font-size: 1.125rem;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
  }

  p,
  .sgcx-bullets li,
  .sgcx-steps li {
    font-size: 1.125rem;
  }

  .sgcx-rail-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    top: max(0.75rem, env(safe-area-inset-top));
    left: max(0.75rem, env(safe-area-inset-left));
  }

  .sgcx-spine {
    transform: translateX(-105%);
    transition: transform 0.25s var(--sgcx-ease);
    width: min(88vw, 300px);
    box-shadow: 8px 0 24px rgba(0, 0, 0, 0.28);
  }

  body.sgcx-shell[data-rail="open"] .sgcx-spine {
    transform: translateX(0);
  }

  body.sgcx-shell[data-rail="open"]::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(10, 12, 16, 0.5);
    z-index: 35;
    pointer-events: auto;
  }

  .sgcx-spine {
    pointer-events: auto;
  }

  .sgcx-stage {
    margin-left: 0;
    padding: 4.25rem 1rem 3rem;
  }

  .sgcx-skewframe {
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.5rem;
  }

  .sgcx-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .sgcx-pulse {
    width: 100%;
    min-height: 50px;
  }

  .sgcx-vista {
    margin-bottom: 1.75rem;
  }

  .sgcx-band {
    margin-bottom: 1.85rem;
  }

  .sgcx-diag {
    margin: 1.75rem 0;
    padding: 1.5rem 0;
  }

  .sgcx-diag-inner {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .sgcx-matrix-wrap {
    margin-left: -0.15rem;
    margin-right: -0.15rem;
  }

  .sgcx-fold > button {
    font-size: 1rem;
    align-items: flex-start;
    min-height: 52px;
  }

  .sgcx-crumbbar {
    left: 0.65rem;
    right: 0.65rem;
    bottom: 0.65rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    max-height: 45vh;
    overflow: auto;
  }

  .sgcx-crumb-actions {
    flex-direction: column;
  }

  .sgcx-crumb-actions .sgcx-pulse {
    width: 100%;
  }

  .sgcx-modal {
    width: 100%;
    max-height: 88vh;
    padding: 1.1rem;
  }

  .sgcx-colophon {
    gap: 1.15rem;
  }

  .sgcx-legal-links {
    flex-direction: column;
    gap: 0.55rem;
  }
}

@media (max-width: 480px) {
  .sgcx-stage {
    padding: 4rem 0.85rem 2.75rem;
  }

  h1 {
    font-size: 1.7rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .sgcx-brandword {
    font-size: 0.98rem;
  }

  .sgcx-slab {
    padding: 1.1rem 0.95rem;
  }

  table.sgcx-matrix {
    min-width: 540px;
    font-size: 0.98rem;
  }

  .sgcx-matrix th,
  .sgcx-matrix td {
    padding: 0.7rem 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}
