/*
 * Base/reset — สกัดจาก _reference/orgcare360_design_system_preview_v4_motion_progress_standalone.html
 * (บรรทัด 88-118) ต้องโหลดหลัง tokens.css
 * หมายเหตุ: font-size/line-height ที่นี่เป็นค่าตรงในต้นฉบับ ไม่ได้ทำเป็น CSS variable
 * จึงคงไว้แบบเดิม ไม่สร้าง token ใหม่เอง
 */

* {
  box-sizing: border-box;
}
html {
  font-family: var(--font-sans);
  color-scheme: light dark;
  background-color: var(--canvas);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: 54px;
}
body {
  margin: 0;
  background: var(--canvas);
  color: var(--text);
  font-family:
    "Noto Sans Thai",
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-size: 14.5px;
  line-height: 1.6;
  letter-spacing: -0.01em;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
}
::selection {
  background: var(--primary-soft);
  color: var(--primary);
}

th,
td {
  padding: 12px 14px;
  text-align: left;
}
th {
  font-weight: 750;
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: var(--surface-muted);
  white-space: nowrap !important;
}

.skip-link {
  position: fixed;
  left: 12px;
  top: -90px;
  z-index: 999;
  padding: 10px 14px;
  color: #fff;
  background: var(--brand-900);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}
.skip-link:focus {
  top: 12px;
}
