:root {
  color: #153a35;
  background: #f0fafb;
  font-family: "Trebuchet MS", sans-serif;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { min-width: min(320px, 100%); min-height: 100vh; margin: 0; }
a { color: #17665c; }
a:hover { color: #28756c; }
a:focus-visible { outline: 3px solid #ee7554; outline-offset: 3px; }

.guide-shell { width: min(100% - 2rem, 48rem); margin: 0 auto; padding: 1.25rem 0 4rem; }
.guide-page-full-matrix .guide-shell { width: min(100% - 2rem, 86rem); }
.guide-header { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; }
.guide-brand { display: inline-flex; align-items: center; gap: 0.55rem; color: #153a35; font-size: 1.1rem; font-weight: 800; text-decoration: none; }
.guide-brand img { width: 2.5rem; height: 2.5rem; }
.guide-home-link { font-weight: 700; }
.guide-content { margin-top: clamp(2rem, 7vw, 4rem); padding: clamp(1.25rem, 5vw, 3rem); border: 1px solid #d9e6e1; border-radius: 12px; background: #fffdf8; }
.guide-kicker { margin: 0; color: #28756c; font-size: 0.8rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }
h1, h2, h3 { color: #153a35; font-family: Georgia, serif; font-weight: 400; line-height: 1.15; }
h1 { margin: 0.65rem 0 0.8rem; font-size: clamp(2.1rem, 7vw, 3.6rem); }
h2 { margin: 2rem 0 0.65rem; font-size: clamp(1.45rem, 4vw, 2rem); }
h3 { margin: 1.5rem 0 0.5rem; font-size: 1.3rem; }
p, li { color: #31534e; font-size: 1rem; line-height: 1.7; }
.guide-intro { max-width: 42rem; font-size: 1.15rem; }
.guide-content ul, .guide-content ol { padding-left: 1.4rem; }
.guide-content li + li { margin-top: 0.4rem; }
.guide-nav { display: grid; gap: 0.75rem; margin: 1.5rem 0; padding: 0; list-style: none; }
.guide-nav a { display: block; padding: 1rem; border: 1px solid #a9c5bd; border-radius: 8px; color: #153a35; background: #f0fafb; font-weight: 800; text-decoration: none; }
.guide-nav a:hover { border-color: #28756c; background: #e7f2ed; }
.guide-nav span { display: block; margin-top: 0.25rem; color: #41615e; font-size: 0.9rem; font-weight: 400; line-height: 1.5; }
.guide-callout { margin: 1.5rem 0; padding: 1rem 1.2rem; border-left: 4px solid #ee7554; border-radius: 0 6px 6px 0; background: #fff3e9; }
.guide-callout p { margin: 0; }
.guide-table-wrap { margin: 1rem 0 1.5rem; overflow-x: auto; }
table { width: 100%; min-width: 58rem; border-collapse: collapse; background: #fff; }
caption { padding: 0.6rem; color: #41615e; font-size: 0.9rem; text-align: left; }
th, td { padding: 0.7rem; border: 1px solid #d9e6e1; color: #31534e; line-height: 1.5; text-align: left; vertical-align: top; }
th { color: #153a35; background: #e7f2ed; }
.temperature-boundary { display: block; margin-top: 0.25rem; font-size: 0.8rem; font-weight: 400; }
.guide-table-wrap:first-of-type th,
.guide-table-wrap:first-of-type td { min-width: 8.5rem; }
.guide-table-wrap:first-of-type th:first-child { min-width: 13rem; }
.guide-footer { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid #d9e6e1; }
.guide-footer p { margin: 0.5rem 0; font-size: 0.9rem; }
.guide-footer-contacts { display: grid; gap: 0.25rem; }
.guide-footer-contacts p { margin: 0; }
.guide-footer-company { color: #41615e; font-size: 0.8rem; }

@media (max-width: 520px) {
  .guide-header { align-items: flex-start; }
  .guide-home-link { padding-top: 0.7rem; }
  .guide-content { padding: 1.15rem; }
  .guide-table-wrap:first-of-type table { min-width: 0; }
  .guide-table-wrap:first-of-type thead { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }
  .guide-table-wrap:first-of-type tbody,
  .guide-table-wrap:first-of-type tr,
  .guide-table-wrap:first-of-type th,
  .guide-table-wrap:first-of-type td { display: block; width: 100%; }
  .guide-table-wrap:first-of-type tr { margin-bottom: 0.85rem; overflow: hidden; border: 1px solid #d9e6e1; border-radius: 8px; background: #fff; }
  .guide-table-wrap:first-of-type tbody th { padding: 0.75rem; border: 0; border-bottom: 1px solid #d9e6e1; font-size: 1rem; }
  .guide-table-wrap:first-of-type td { display: grid; grid-template-columns: minmax(5.5rem, 0.65fr) minmax(0, 1fr); gap: 0.6rem; min-width: 0; padding: 0.65rem 0.75rem; border: 0; font-size: 0.9rem; }
  .guide-table-wrap:first-of-type td + td { border-top: 1px solid #edf3f0; }
  .guide-table-wrap:first-of-type td::before { content: attr(data-label); color: #153a35; font-weight: 800; }
  th, td { padding: 0.55rem; font-size: 0.9rem; }
}
