:root {
  --paper: #F4F6F5;
  --surface: #FFFFFF;
  --ink: #18201E;
  --muted: #5B6763;
  --rule: #D5DCD9;
  --y2026: #0B6B5E;
  --y2024: #7A8597;
  --fail: #A3361F;
  --pass: #0B6B5E;

  --radius-control: 6px;
  --radius-container: 10px;
  --font-sans: "Plus Jakarta Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

a {
  color: var(--y2026);
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

a:hover {
  text-decoration-thickness: 2px;
}

:focus-visible {
  outline: 2px solid var(--y2026);
  outline-offset: 2px;
}

button,
input,
select {
  font: inherit;
  color: inherit;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--y2026);
  color: var(--surface);
  padding: 0.625rem 1rem;
  border-radius: var(--radius-control);
  font-weight: 600;
  text-decoration: none;
  z-index: 100;
}

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

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 5rem;
}

.prose {
  max-width: 70ch;
}

.muted {
  color: var(--muted);
}

.num {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Header & hero */
.site-header {
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--rule);
}

.site-header h1 {
  margin: 0 0 0.875rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 24ch;
}

.hero-status {
  margin: 0 0 1.25rem;
  max-width: 70ch;
  font-size: 1.125rem;
  line-height: 1.55;
  font-variant-numeric: tabular-nums;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.875rem 1.25rem;
  margin-bottom: 2rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6875rem 1.25rem;
  border-radius: var(--radius-control);
  background-color: var(--y2026);
  color: var(--surface);
  font-weight: 600;
  text-decoration: none;
  border: 1px solid var(--y2026);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #08554B;
  border-color: #08554B;
  text-decoration: none;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 0.9375rem;
  border-radius: var(--radius-control);
  background-color: var(--surface);
  color: var(--ink);
  font-weight: 600;
  font-size: 0.9375rem;
  border: 1px solid var(--rule);
  cursor: pointer;
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--y2026);
  color: var(--y2026);
}

.btn-secondary:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.as-of {
  margin: 0;
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.section-nav {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  padding-bottom: 0.25rem;
}

.section-nav ul {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.375rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.section-nav a {
  display: inline-block;
  white-space: nowrap;
  padding: 0.4375rem 0.8125rem;
  border-radius: var(--radius-control);
  color: var(--ink);
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid transparent;
}

.section-nav a:hover {
  background-color: var(--surface);
  border-color: var(--rule);
  color: var(--y2026);
}

/* Sections */
.section {
  padding-top: 4rem;
  scroll-margin-top: 1.5rem;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: clamp(1.375rem, 2.6vw, 1.75rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.alert-error {
  margin-top: 1.5rem;
  padding: 0.875rem 1rem;
  border: 1px solid var(--fail);
  border-left-width: 4px;
  border-radius: var(--radius-control);
  background-color: var(--surface);
  color: var(--fail);
  font-weight: 600;
}

.alert-error[hidden] {
  display: none;
}

/* Tables common */
.table-scroll {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-container);
}

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 0.875rem 1rem;
  vertical-align: top;
  border-bottom: 1px solid var(--rule);
}

tbody tr:last-child td {
  border-bottom: none;
}

/* Section 2: Compare table */
.compare-table th {
  font-weight: 600;
  background-color: var(--surface);
  border-bottom-width: 2px;
}

.compare-table th.col-2024 {
  color: var(--y2024);
  font-size: 1.1875rem;
  font-weight: 800;
  border-bottom-color: var(--y2024);
  width: 34%;
}

.compare-table th.col-2026 {
  color: var(--y2026);
  font-size: 1.1875rem;
  font-weight: 800;
  border-bottom-color: var(--y2026);
  width: 36%;
}

.compare-topic {
  font-weight: 600;
  display: block;
}

.source-link {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: var(--muted);
}

.source-link:hover {
  color: var(--y2026);
}

/* Section 3: SKD score checker (the bold, memorable section) */
.skd-panel {
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-top: 4px solid var(--y2026);
  border-radius: var(--radius-container);
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(24, 32, 30, 0.04);
}

.skd-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.25rem 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--rule);
}

.skd-header h2 {
  margin-bottom: 0.375rem;
}

.skd-header p {
  margin: 0;
}

.skd-summary {
  text-align: left;
}

.skd-total-score {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.skd-total-max {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--muted);
}

.skd-verdict {
  margin: 0.375rem 0 0;
  font-size: 0.9375rem;
  font-weight: 600;
}

.skd-verdict.is-pass {
  color: var(--pass);
}

.skd-verdict.is-fail {
  color: var(--fail);
}

.skd-reset-btn {
  margin-top: 0.25rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--y2026);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.skd-reset-btn:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.skd-reset-btn[hidden] {
  display: none;
}

.skd-controls {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--rule);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-width: 0;
}

.field label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--ink);
}

.field input,
.field select {
  width: 100%;
  min-height: 2.625rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background-color: var(--surface);
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.skd-controls input[type="number"] {
  font-size: 1.1875rem;
  font-weight: 800;
  background-color: var(--paper);
}

.field input:focus,
.field select:focus {
  border-color: var(--y2026);
}

.skd-bars {
  display: flex;
  flex-direction: column;
  gap: 1.375rem;
  padding: 1.5rem 0 1.25rem;
}

.skd-bar-row {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.skd-bar-row.is-total {
  padding-top: 1.125rem;
  border-top: 1px solid var(--rule);
}

.skd-bar-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.375rem 1rem;
  font-variant-numeric: tabular-nums;
}

.skd-bar-label {
  font-weight: 800;
  font-size: 1rem;
}

.skd-bar-label-sub {
  font-weight: 400;
  color: var(--muted);
  margin-left: 0.5rem;
  font-size: 0.875rem;
}

.skd-thr-input {
  width: 4.5rem;
  display: inline-block;
  padding: 0.125rem 0.375rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background-color: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.skd-thr-input:focus {
  border-color: var(--y2026);
}

.skd-thr-input[hidden] {
  display: none;
}

.skd-bar-status {
  display: inline-flex;
  align-items: baseline;
  gap: 0.75rem;
  font-size: 0.9375rem;
}

.skd-score-val {
  font-weight: 800;
}

.skd-badge {
  display: inline-block;
  padding: 0.125rem 0.5rem;
  border-radius: var(--radius-control);
  font-size: 0.8125rem;
  font-weight: 600;
  border: 1px solid var(--rule);
}

.skd-badge.is-pass {
  color: var(--pass);
  border-color: var(--pass);
  background-color: #EDF6F4;
}

.skd-badge.is-fail {
  color: var(--fail);
  border-color: var(--fail);
  background-color: #FBF1EE;
}

.skd-badge.is-neutral {
  color: var(--muted);
  border-color: var(--rule);
  background-color: var(--paper);
}

.skd-track-bar {
  position: relative;
  height: 1.125rem;
  background-color: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  overflow: visible;
}

.skd-fill {
  height: 100%;
  width: 0%;
  border-radius: 5px;
  background-color: var(--pass);
  transition: width 220ms cubic-bezier(0.22, 1, 0.36, 1), background-color 180ms ease;
}

.skd-fill.is-fail {
  background-color: var(--fail);
}

.skd-fill.is-neutral {
  background-color: var(--y2024);
}

.skd-tick {
  position: absolute;
  top: -5px;
  bottom: -5px;
  width: 2px;
  background-color: var(--ink);
  transform: translateX(-1px);
  pointer-events: none;
}

.skd-tick::after {
  content: "";
  position: absolute;
  top: -3px;
  left: -3px;
  width: 8px;
  height: 3px;
  background-color: var(--ink);
}

.skd-cutoff-summary {
  margin: 0.25rem 0 0.75rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}

.skd-cutoff-summary[hidden] {
  display: none;
}

.skd-note {
  margin: 0.75rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.9375rem;
  color: var(--muted);
}

/* Section 4: Quota 2026 */
.quota-groups {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
  margin-top: 1.5rem;
}

.quota-group {
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-container);
  padding: 1.25rem 1.5rem;
}

.quota-group-header {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem 1rem;
  padding-bottom: 0.875rem;
  margin-bottom: 0.875rem;
  border-bottom: 1px solid var(--rule);
}

.quota-group-header h3 {
  margin: 0;
  font-size: 1.0625rem;
  font-weight: 800;
}

.quota-group-total {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.quota-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.quota-row {
  display: grid;
  grid-template-columns: minmax(140px, 280px) minmax(80px, 1fr) 5.5rem;
  align-items: center;
  gap: 0.75rem 1rem;
  font-variant-numeric: tabular-nums;
}

.quota-row.is-cyber .quota-sector {
  font-weight: 800;
  color: var(--y2026);
}

.quota-sector {
  font-size: 0.9375rem;
  line-height: 1.35;
}

.quota-bar-track {
  height: 0.625rem;
  background-color: var(--paper);
  border-radius: 3px;
  overflow: hidden;
}

.quota-bar-fill {
  height: 100%;
  min-width: 3px;
  background-color: var(--y2026);
  border-radius: 3px;
}

.quota-row.is-cyber .quota-bar-fill {
  background-color: var(--ink);
}

.quota-seats {
  text-align: right;
  font-weight: 600;
  font-size: 0.9375rem;
}

/* Section 5: IT formations explorer */
.filter-bar {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 1.25rem;
  padding: 1.25rem;
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-container);
}

.sort-group {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem 1rem;
}

.sort-level {
  flex: 1 1 190px;
  max-width: 260px;
}

.sort-level[hidden],
.btn-sort-add[hidden] {
  display: none;
}

.sort-control {
  display: flex;
  align-items: stretch;
  gap: 0.375rem;
}

.sort-control select {
  flex: 1 1 auto;
  min-width: 0;
}

.btn-sort-remove {
  flex: 0 0 auto;
  min-width: 2.625rem;
  min-height: 2.625rem;
  padding: 0 0.5rem;
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  background-color: var(--surface);
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.btn-sort-remove:hover {
  border-color: var(--fail);
  color: var(--fail);
}

.btn-sort-add {
  align-self: flex-end;
  min-height: 2.625rem;
  padding: 0.5rem 0.25rem;
  border: none;
  background: none;
  color: var(--y2026);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
}

.btn-sort-add:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.field-check {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.25rem;
}

.field-check input[type="checkbox"] {
  width: 1.125rem;
  height: 1.125rem;
  accent-color: var(--y2026);
  cursor: pointer;
}

.field-check label {
  font-size: 0.9375rem;
  font-weight: 600;
  cursor: pointer;
}

.results-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.75rem;
}

.summary-line {
  margin: 0;
  font-weight: 600;
  font-size: 0.9375rem;
  font-variant-numeric: tabular-nums;
}

.formations-region[aria-busy="true"] .formations-table {
  opacity: 0.55;
}

.formations-table {
  min-width: 820px;
}

.formations-table th {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--muted);
  background-color: var(--surface);
  white-space: nowrap;
}

.formation-row {
  cursor: pointer;
}

.formation-row:hover {
  background-color: var(--paper);
}

.row-toggle {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0;
  border: none;
  background: none;
  text-align: left;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  line-height: 1.35;
}

.row-toggle:hover {
  color: var(--y2026);
}

.row-toggle-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.1rem;
  border: 1px solid var(--rule);
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1;
  color: var(--muted);
}

.row-toggle[aria-expanded="true"] .row-toggle-icon {
  border-color: var(--y2026);
  color: var(--y2026);
  background-color: #EDF6F4;
}

.formation-inst {
  display: block;
  margin-top: 0.25rem;
  padding-left: 1.75rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.location-cell {
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 0.9375rem;
}

.track-cell {
  white-space: nowrap;
  font-size: 0.9375rem;
}

.salary-cell,
.ratio-cell,
.cutoff-cell {
  white-space: nowrap;
}

.cutoff-analog {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--muted);
  border: 1px solid var(--rule);
  border-radius: 4px;
  padding: 0.0625rem 0.3125rem;
}

.details-row td {
  background-color: var(--paper);
  padding: 1rem 1.25rem 1.125rem 2.75rem;
  font-size: 0.9375rem;
}

.details-block {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.details-label {
  font-weight: 600;
  color: var(--ink);
}

.majors-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  list-style: none;
  margin: 0.25rem 0 0;
  padding: 0;
}

.majors-list li {
  padding: 0.1875rem 0.5625rem;
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-control);
  font-size: 0.8125rem;
}

.placements-toggle {
  margin-top: 0.375rem;
  padding: 0;
  border: none;
  background: none;
  color: var(--y2026);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

.placements-toggle:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.empty-state {
  padding: 2rem 1.5rem;
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-container);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.875rem;
}

.empty-state[hidden] {
  display: none;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

.pagination[hidden] {
  display: none;
}

.page-info {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Section 6: Timeline 2026 */
.timeline-list {
  list-style: none;
  counter-reset: timeline-step;
  margin: 0;
  padding: 0;
  background-color: var(--surface);
  border: 1px solid var(--rule);
  border-radius: var(--radius-container);
}

.timeline-item {
  counter-increment: timeline-step;
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 0.375rem 1rem;
  padding: 0.875rem 1.25rem;
  border-bottom: 1px solid var(--rule);
  font-variant-numeric: tabular-nums;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-item::before {
  content: counter(timeline-step);
  font-weight: 800;
  color: var(--muted);
}

.timeline-item.is-done {
  color: var(--muted);
}

.timeline-item.is-done::before {
  color: var(--pass);
}

.timeline-item.is-active {
  background-color: #F6FAF9;
}

.timeline-item.is-active::before {
  color: var(--y2026);
}

.timeline-step-name {
  font-weight: 600;
}

.timeline-when {
  font-size: 0.9375rem;
  color: var(--muted);
  text-align: right;
}

.timeline-status {
  display: inline-block;
  margin-left: 0.625rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

.timeline-status.is-done {
  color: var(--pass);
}

.timeline-status.is-active {
  color: var(--y2026);
}

/* Section 7: 2024 notes & sources */
.footer-notes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
}

.plain-list {
  margin: 0;
  padding-left: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.plain-list li {
  line-height: 1.6;
}

.source-meta {
  margin: 1.25rem 0 0;
  padding-top: 1rem;
  border-top: 1px solid var(--rule);
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .skd-controls {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .filter-bar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .field-search {
    grid-column: 1 / -1;
  }

  .footer-notes {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .page {
    padding: 1.75rem 1rem 4rem;
  }

  .section {
    padding-top: 3rem;
  }

  .skd-panel {
    padding: 1.25rem;
  }

  /* Stack compare table rows cleanly */
  .compare-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
  }

  .compare-table,
  .compare-table tbody,
  .compare-table tr,
  .compare-table td {
    display: block;
    width: 100%;
  }

  .compare-table tr {
    padding: 1rem;
    border-bottom: 1px solid var(--rule);
  }

  .compare-table tr:last-child {
    border-bottom: none;
  }

  .compare-table td {
    padding: 0.375rem 0;
    border-bottom: none;
  }

  .compare-table td[data-label]::before {
    content: attr(data-label);
    display: block;
    font-size: 0.875rem;
    font-weight: 800;
    margin-bottom: 0.125rem;
  }

  .compare-table td.cell-2024 {
    border-left: 3px solid var(--y2024);
    padding-left: 0.75rem;
    margin-top: 0.5rem;
  }

  .compare-table td.cell-2024::before {
    color: var(--muted);
  }

  .compare-table td.cell-2026 {
    border-left: 3px solid var(--y2026);
    padding-left: 0.75rem;
    margin-top: 0.5rem;
  }

  .compare-table td.cell-2026::before {
    color: var(--y2026);
  }

  .quota-group {
    padding: 1rem;
  }

  .quota-row {
    grid-template-columns: 1fr auto;
    gap: 0.375rem 0.75rem;
  }

  .quota-bar-track {
    grid-column: 1 / -1;
    order: 3;
  }

  .timeline-item {
    grid-template-columns: 1.75rem minmax(0, 1fr);
  }

  .timeline-when {
    grid-column: 2;
    text-align: left;
  }

  .sort-group {
    flex-direction: column;
    align-items: stretch;
  }

  .sort-level {
    flex: none;
    max-width: none;
  }

  .btn-sort-add {
    align-self: flex-start;
  }
}

@media (max-width: 480px) {
  .skd-controls,
  .filter-bar {
    grid-template-columns: 1fr;
  }
}

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

  .skd-fill {
    transition: none;
  }
}
