.sawlt {
  max-width: 1080px;
  margin: 0 auto 2.5rem;
  color: #1c1917;
  font-size: 1.02rem;
  line-height: 1.55;
}

.sawlt a { color: #c2410c; }
.sawlt a:hover { color: #9a3412; }

.sawlt-hero h1 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
}
.sawlt-kicker {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c2410c;
}
.sawlt-lede { max-width: 44rem; color: #44403c; margin: 0.4rem 0 0; }
.sawlt-cert {
  margin: 1.25rem 0 0;
  max-width: 720px;
}
.sawlt-cert img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 8px;
}
.sawlt-hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1rem; }

.sawlt-btn, .sawlt-btn-ghost {
  appearance: none;
  border-radius: 10px;
  padding: 0.55rem 0.9rem;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.sawlt-btn { background: #1c1917; color: #fff; }
.sawlt-btn:hover { background: #292524; color: #fff; }
.sawlt-btn[disabled] { opacity: 0.45; cursor: not-allowed; }
.sawlt-btn-ghost { background: #fff; color: #1c1917; border-color: #d6d3d1; }
.sawlt-btn-ghost:hover { border-color: #a8a29e; color: #1c1917; }

.sawlt-meter { margin: 1rem 0 1.25rem; }
.sawlt-meter-track {
  height: 8px;
  background: #e7e5e4;
  border-radius: 99px;
  overflow: hidden;
}
.sawlt-meter-fill {
  display: block;
  height: 100%;
  width: 0;
  background: #e85d04;
  border-radius: 99px;
}
.sawlt-meter p { margin: 0.4rem 0 0; color: #57534e; font-size: 0.92rem; }

.sawlt-program {
  background: #fff;
  border: 1px solid #ece7e2;
  border-radius: 16px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  padding: 1.35rem 1.35rem 0.4rem;
  margin: 0.5rem 0 1.25rem;
}
.sawlt-program-head {
  border-left: 3px solid #e85d04;
  padding: 0 0 0.15rem 0.85rem;
  margin-bottom: 1rem;
}
.sawlt-program-head .sawlt-kicker { margin-bottom: 0.35rem; }
.sawlt-program-head h2 {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.01em;
  margin: 0 0 0.35rem;
  text-transform: uppercase;
}
.sawlt-program-head p { margin: 0; color: #78716c; font-size: 0.95rem; }

.sawlt-flow {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem 1rem;
  scrollbar-width: thin;
}
.sawlt-pill {
  flex: 0 0 auto;
  min-width: 104px;
  background: #fff;
  border: 1px solid #e7e5e4;
  border-radius: 10px;
  box-shadow: 0 1px 2px rgba(28, 25, 23, 0.04);
  text-decoration: none;
  color: inherit;
  text-align: center;
  padding: 0.72rem 0.55rem 0.62rem;
  line-height: 1.15;
}
.sawlt-pill:hover { border-color: #fdba74; color: inherit; }
.sawlt-pill .code {
  display: block;
  color: #e85d04;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}
.sawlt-pill .lvl {
  display: block;
  margin-top: 0.28rem;
  color: #a8a29e;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.sawlt-pill.is-done { box-shadow: inset 0 -3px 0 #e85d04; }
.sawlt-arrow { flex: 0 0 auto; color: #d6d3d1; font-size: 1rem; padding: 0 0.1rem; }

.sawlt-table-wrap { overflow-x: auto; margin: 0 -0.2rem; }
.sawlt-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  font-size: 0.98rem;
}
.sawlt-table caption {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.sawlt-table th {
  text-align: left;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #a8a29e;
  font-weight: 700;
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid #e7e5e4;
}
.sawlt-table th.num, .sawlt-table td.num { text-align: center; }
.sawlt-table th.lvl, .sawlt-table td.lvl { text-align: right; }
.sawlt-table td {
  padding: 0.85rem;
  border-bottom: 1px solid #f1eeeb;
  color: #44403c;
}
.sawlt-table td.course a {
  color: #e85d04;
  font-weight: 800;
  text-decoration: none;
}
.sawlt-table td.course a:hover { text-decoration: underline; }
.sawlt-table tfoot td {
  border-bottom: 0;
  border-top: 1px solid #d6d3d1;
  font-weight: 800;
  color: #1c1917;
  padding-top: 0.95rem;
  padding-bottom: 1rem;
}
.sawlt-table td.engine {
  color: #78716c;
  font-size: 0.82rem;
  text-align: right;
  white-space: nowrap;
}

.sawlt-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
@media (max-width: 860px) {
  .sawlt-grid { grid-template-columns: 1fr; }
}

.sawlt-card {
  background: #fff;
  border: 1px solid #ece7e2;
  border-radius: 16px;
  padding: 1.1rem 1.15rem 1.15rem;
}
.sawlt-card h2, .sawlt-card h3 { margin: 0 0 0.35rem; font-size: 1.05rem; font-weight: 800; }
.sawlt-card > p, .sawlt-muted { color: #57534e; }

.sawlt-conc { margin: 1.4rem 0; }
.sawlt-conc h2 { font-size: 1.25rem; margin: 0 0 0.25rem; }
.sawlt-conc .meta { color: #78716c; margin: 0 0 0.4rem; font-size: 0.92rem; }

.sawlt-course {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.4rem 1rem;
  background: #fff;
  border: 1px solid #ece7e2;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  margin-top: 0.7rem;
}
.sawlt-course h3 { margin: 0; font-size: 1.02rem; }
.sawlt-course h3 a { text-decoration: none; }
.sawlt-course .facts { color: #78716c; font-size: 0.88rem; margin: 0.15rem 0 0; }
.sawlt-badge {
  justify-self: end;
  align-self: start;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 99px;
  padding: 0.2rem 0.55rem;
}
.sawlt-badge.live { background: #ffedd5; color: #c2410c; }
.sawlt-badge.wait { background: #f5f5f4; color: #78716c; }
.sawlt-ch-list { grid-column: 1 / -1; list-style: none; margin: 0.35rem 0 0; padding: 0; }
.sawlt-ch-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.38rem 0;
  border-top: 1px solid #f5f5f4;
  font-size: 0.95rem;
}
.sawlt-ch-list a { text-decoration: none; }
.sawlt-status { color: #a8a29e; font-size: 0.82rem; white-space: nowrap; }
.sawlt-status.is-done { color: #c2410c; font-weight: 700; }

.sawlt-locker-item {
  border-top: 1px solid #f1eeeb;
  padding: 0.7rem 0;
}
.sawlt-locker-item h3 { font-size: 0.98rem; margin: 0 0 0.2rem; }
.sawlt-locker-item pre {
  white-space: pre-wrap;
  font-family: inherit;
  background: #fafaf9;
  border-radius: 10px;
  padding: 0.75rem 0.8rem;
  margin: 0.45rem 0 0;
  font-size: 0.92rem;
  color: #292524;
}
.sawlt-queued { color: #78716c; font-size: 0.9rem; margin: 0.15rem 0 0; }

.sawlt-crumb-inline { font-size: 0.88rem; color: #78716c; margin-bottom: 0.6rem; }
.sawlt-crumb-inline a { text-decoration: none; }

.sawlt-lesson h1 { font-size: clamp(1.45rem, 2.5vw, 1.9rem); font-weight: 800; letter-spacing: -0.02em; margin: 0 0 0.3rem; }
.sawlt-lesson .byline { color: #78716c; margin: 0 0 1rem; }
.sawlt-prose h3 { font-size: 1.08rem; margin: 1.15rem 0 0.35rem; }
.sawlt-prose p { margin: 0.4rem 0 0.7rem; }
.sawlt-prose ul { margin: 0.2rem 0 0.8rem; padding-left: 1.15rem; }
.sawlt-prose li { margin: 0.25rem 0; }
.sawlt-edge {
  background: #fff7ed;
  border-left: 3px solid #e85d04;
  border-radius: 0 12px 12px 0;
  padding: 0.7rem 0.9rem;
  margin: 1rem 0;
}
.sawlt-edge-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c2410c;
}
.sawlt-unfinished {
  background: #fafaf9;
  border: 1px dashed #d6d3d1;
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
  color: #57534e;
}

.sawlt-checks { margin-top: 1.2rem; }
.sawlt-checks fieldset {
  border: 1px solid #e7e5e4;
  border-radius: 12px;
  margin: 0 0 0.7rem;
  padding: 0.7rem 0.85rem 0.8rem;
  background: #fff;
}
.sawlt-checks legend { font-weight: 700; padding: 0 0.25rem; }
.sawlt-checks label { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0.35rem 0; cursor: pointer; }
.sawlt-checks fieldset.is-right { border-color: #86efac; background: #f0fdf4; }
.sawlt-checks fieldset.is-wrong { border-color: #fecaca; background: #fef2f2; }
.sawlt-why { margin: 0.45rem 0 0; color: #44403c; font-size: 0.92rem; }

.sawlt-complete-row { display: flex; flex-wrap: wrap; gap: 0.6rem; align-items: center; margin-top: 0.8rem; }
.sawlt-prereq {
  background: #fff7ed;
  border: 1px solid #fdba74;
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  margin: 0.8rem 0;
}

.sawlt-nav {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1.3rem;
}
.sawlt-nav a { text-decoration: none; font-weight: 700; }

.sawlt-toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 40;
  max-width: 22rem;
  background: #1c1917;
  color: #fff;
  border-radius: 12px;
  padding: 0.8rem 0.95rem;
  box-shadow: 0 10px 30px rgba(28, 25, 23, 0.25);
}
.sawlt-toast[hidden] { display: none; }

.sawlt-lock {
  background: #fff;
  border: 1px dashed #d6d3d1;
  border-radius: 16px;
  padding: 1.1rem 1.15rem;
}
.sawlt-facts { color: #57534e; }
.sawlt-disclaimer { color: #78716c; font-size: 0.88rem; margin-top: 1.4rem; }

.sawlt-overview {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.7rem;
  margin: 1rem 0 1.4rem;
}
.sawlt-overview div {
  background: #fff;
  border: 1px solid #ece7e2;
  border-radius: 14px;
  padding: 0.85rem 0.95rem;
}
.sawlt-overview strong { display: block; font-size: 0.95rem; }
.sawlt-overview span { color: #57534e; font-size: 0.9rem; }
@media (max-width: 720px) {
  .sawlt-overview { grid-template-columns: 1fr; }
}

.sawlt-course-link {
  display: block;
  background: #fff;
  border: 1px solid #ece7e2;
  border-radius: 14px;
  padding: 0.95rem 1rem;
  margin-top: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.sawlt-course-link:hover { border-color: #fdba74; color: inherit; }
.sawlt-course-link h3 { margin: 0; font-size: 1.02rem; }
.sawlt-course-link h3 span { color: #e85d04; }
.sawlt-course-link p { margin: 0.35rem 0 0; color: #44403c; }
.sawlt-course-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  align-items: flex-start;
}

@media (prefers-reduced-motion: reduce) {
  .sawlt-meter-fill { transition: none; }
}
