body { margin: 0; font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif; color: #1e2420; background: #ffffff; -webkit-font-smoothing: antialiased; }
@media (max-width: 920px) {
  .m-hero { grid-template-columns: 1fr !important; gap: 44px !important; padding: 60px 32px 80px !important; }
  .m-2col { grid-template-columns: 1fr !important; gap: 40px !important; }
  .m-grid4 { grid-template-columns: repeat(2, 1fr) !important; }
  .m-grid3 { grid-template-columns: repeat(2, 1fr) !important; }
  .m-foot { grid-template-columns: repeat(2, 1fr) !important; }
  .m-nav { height: auto !important; flex-wrap: nowrap; justify-content: flex-start; padding: 12px 20px !important; gap: 14px !important; }
  .m-links { display: none !important; }
  .m-cta { margin-left: auto; }
  .m-burger { display: flex !important; flex: none; }
  .m-logo { height: 32px !important; }
  .m-cta { padding: 10px 16px !important; font-size: 12.5px !important; }
}
@media (max-width: 600px) {
  .m-grid4, .m-grid3, .m-grid2, .m-foot { grid-template-columns: 1fr !important; }
  h1 { font-size: 36px !important; }
  h2 { font-size: 27px !important; }
  .m-hero-img-wrap { margin-bottom: 0 !important; }
  .m-repcard { position: static !important; margin-top: 14px; min-width: 0 !important; box-shadow: 0 8px 20px rgba(0,0,0,.3) !important; }
  .m-hide-sm { display: none !important; }
  .m-team { flex-direction: column; }
  .m-team .m-team-photo { height: 300px !important; }
  .m-row { flex-wrap: wrap; }
  .m-test { flex-wrap: wrap; }
  .m-tl-row { grid-template-columns: 26px 1fr !important; column-gap: 10px !important; }
  .m-tl-rail { left: 12px !important; }
  .m-cta { display: none !important; }
  .m-burger { margin-left: auto; }
}

@media (max-width: 640px) {
  .m-ptable { display: block; min-width: 0 !important; width: 100%; }
  .m-ptable thead { display: none; }
  .m-ptable tbody { display: block; }
  .m-ptable tr { display: grid; grid-template-columns: 1fr auto; column-gap: 18px; padding: 13px 0; border-bottom: 1px solid #d4dbd3; }
  .m-ptable td { display: block; border-bottom: none !important; padding: 1px 0 !important; white-space: normal !important; }
  .m-ptable td:nth-child(1) { grid-column: 1 / -1; padding-bottom: 5px !important; }
  .m-ptable td:nth-child(2), .m-ptable td:nth-child(3), .m-ptable td:nth-child(4) { grid-column: 1; }
  .m-ptable td:nth-child(5) { grid-column: 2; grid-row: 2 / span 3; align-self: center; font-size: 16.5px !important; }
}
@media (max-width: 640px) {
  .m-cta-row { justify-content: stretch !important; flex-wrap: nowrap !important; gap: 10px !important; }
  .m-cta-row a { flex: 1 1 0; text-align: center; padding: 14px 8px !important; font-size: 12.5px !important; letter-spacing: .05em !important; white-space: nowrap; }
}
@media (max-width: 920px) {
  .m-2col > .m-form-col { order: -1; }
}

/* Quality page — accreditation timeline on small screens */
@media (max-width: 920px) {
  .m-tl-grid { gap: 18px !important; }
}
@media (max-width: 600px) {
  .m-acc-num { font-size: 42px !important; }
  .sl-pdf-pages { max-height: 480px !important; }
  .m-tl-card { gap: 14px !important; padding: 14px !important; }
  .m-tl-thumb { width: 54px !important; height: 70px !important; }
  .m-tl-flag { width: 45px !important; height: 30px !important; }
  .m-tl-title { font-size: 16px !important; }
  .m-tl-meta { font-size: 11px !important; letter-spacing: .04em !important; }
  .m-tl-open { flex: 1 1 100% !important; text-align: right; margin-top: 2px; }
  .m-pts-btn { padding: 7px 11px !important; font-size: 12.5px !important; }
}

/* Test form — parameter checklist rows: name on line 1, standard code + badge on line 2 */
@media (max-width: 600px) {
  .m-test .m-test-name { flex: 1 1 calc(100% - 28px) !important; }
  .m-test .m-test-code { margin-left: 28px; }
  .m-test .m-test-badge { margin-left: 28px; }
}

/* Home — material quick-links: compact 2x2 on phones (overrides the .m-grid4 1-col rule) */
@media (max-width: 600px) {
  .m-quick4 { grid-template-columns: repeat(2, 1fr) !important; gap: 12px !important; }
  .m-quick4 a { padding: 15px 10px !important; gap: 8px !important; }
  .m-quick4 a span:first-child { font-size: 15px !important; letter-spacing: .07em !important; }
  .m-quick4 a span:last-child { font-size: 15px !important; }
}


/* CMS rich-text bodies (Quill output): match the hardcoded paragraph styling they replaced */
.m-rich p { font-size: 16px; line-height: 1.7; color: #3f4842; margin: 0 0 18px; }
.m-rich p:last-child { margin-bottom: 0; }
.m-rich-lg p { font-size: 16px; line-height: 1.7; color: #3f4842; margin: 0 0 24px; }
.m-rich-lg p:last-child { margin-bottom: 0; }

/* sitelab-credit-mark:start — SiteLab logo in front of the SiteLab credit link (2026-11-05, .claude/scripts/credit-mark-sweep.mjs in skills-app-mannagement; re-run replaces this block) */
:is(a[href^="https://sitelab.lv"],a[href^="https://www.sitelab.lv"],a[href^="https://sitelabsites.com"],a[href^="https://www.sitelabsites.com"],a[href^="https://sitelabsites.hu"],a[href^="https://www.sitelabsites.hu"])::before{content:""!important;display:inline-block!important;flex:none!important;position:static!important;width:1.3em!important;height:1.3em!important;margin:0!important;margin-inline-end:.42em!important;padding:0!important;vertical-align:-.32em!important;border:0!important;border-radius:29%!important;opacity:1!important;transform:none!important;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 38 38'%3E%3Cpath fill='%23fff' d='M15.42 24.24L15.42 24.24Q14.15 24.24 13.21 23.85Q12.27 23.47 11.74 22.69Q11.21 21.91 11.19 20.74L11.19 20.74L13.51 20.74Q13.54 21.23 13.78 21.56Q14.02 21.90 14.43 22.07Q14.84 22.23 15.40 22.23L15.40 22.23Q15.90 22.23 16.26 22.10Q16.62 21.96 16.81 21.71Q17.01 21.47 17.01 21.14L17.01 21.14Q17.01 20.85 16.83 20.64Q16.65 20.44 16.28 20.28Q15.92 20.12 15.36 20.00L15.36 20.00L14.28 19.75Q12.96 19.44 12.21 18.76Q11.46 18.08 11.46 16.93L11.46 16.93Q11.46 15.99 11.97 15.27Q12.48 14.56 13.38 14.17Q14.27 13.78 15.42 13.78L15.42 13.78Q16.61 13.78 17.47 14.18Q18.34 14.58 18.82 15.29Q19.30 16.01 19.31 16.95L19.31 16.95L17.00 16.95Q16.95 16.40 16.54 16.09Q16.14 15.78 15.42 15.78L15.42 15.78Q14.94 15.78 14.61 15.91Q14.28 16.03 14.12 16.26Q13.95 16.48 13.95 16.77L13.95 16.77Q13.95 17.08 14.14 17.29Q14.32 17.51 14.66 17.65Q15.01 17.80 15.46 17.90L15.46 17.90L16.34 18.10Q17.08 18.26 17.66 18.53Q18.23 18.80 18.63 19.18Q19.03 19.55 19.24 20.05Q19.45 20.54 19.45 21.15L19.45 21.15Q19.45 22.11 18.97 22.80Q18.49 23.50 17.59 23.87Q16.69 24.24 15.42 24.24ZM27.13 24.10L20.45 24.10L20.45 13.91L22.87 13.91L22.87 22.13L27.13 22.13L27.13 24.10Z'/%3E%3C/svg%3E") center/100% 100% no-repeat,linear-gradient(rgba(43,89,255,.12),rgba(43,89,255,.12)),conic-gradient(from 210deg at 70% 30%,#7a4dff,#2b59ff 30%,#1592e6 45%,#0f9f62 60%,#d98a00 75%,#f0484f 88%,#7a4dff)!important;box-shadow:inset 0 0 0 .034em rgba(255,255,255,.25)!important}
:is(a[href^="https://sitelab.lv"],a[href^="https://www.sitelab.lv"],a[href^="https://sitelabsites.com"],a[href^="https://www.sitelabsites.com"],a[href^="https://sitelabsites.hu"],a[href^="https://www.sitelabsites.hu"]) svg[viewBox="3 5 26 22"]{display:none!important}
/* sitelab-credit-mark:end */
