@font-face {
  font-family: Lexend;
  src: url("/assets/lexend.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --canvas: #fff;
  --ink: #211c28;
  --ink-soft: #443c4c;
  --muted: #625a6c;
  --line: #eae6ec;
  --line-strong: #ddd6e2;
  --pink: #eda6d6;
  --pink-soft: #fbedf7;
  --pink-deep: #882a67;
  --blue-soft: #edf7fd;
  --blue-deep: #285d7a;
  --violet-soft: #f3f0fa;
  --violet-deep: #65518b;
  --neutral-soft: #f8f7fa;
  --shadow: 0 2px 4px rgb(33 28 40 / 3%);
  --rail-width: 240px;
  --header-height: 75px;
  font-family: Lexend, system-ui, sans-serif;
  color: var(--ink);
  background: var(--canvas);
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
button:disabled { cursor: default; opacity: .5; }
button, a, input, select, textarea, summary {
  -webkit-tap-highlight-color: transparent;
}
:focus-visible { outline: 3px solid #416b9a; outline-offset: 3px; }
a { color: var(--pink-deep); text-decoration-thickness: 1px; text-underline-offset: 3px; }
p, h1, h2, h3, h4 { margin: 0; }
img { max-width: 100%; }
.icon-definitions {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}
.icon {
  display: inline-block;
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  vertical-align: middle;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  padding: 0;
  border: 0;
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  inset: 12px auto auto 12px;
  z-index: 20;
  padding: 12px 16px;
  background: white;
  border-radius: 8px;
}

.masthead {
  min-height: var(--header-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px 0 15px;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 4;
  background: var(--canvas);
}
.brand { display: block; flex: 0 1 308px; text-decoration: none; }
.brand img { width: 100%; height: auto; display: block; }
.masthead-actions, .workspace-scope, .btn, .inline-actions, .panel-actions, .detail-actions {
  display: flex;
  align-items: center;
  gap: 9px;
}
.masthead-actions { justify-content: flex-end; flex-wrap: wrap; gap: 10px; }
.workspace-scope {
  margin-right: 4px;
  font-size: .74rem;
  color: var(--muted);
  white-space: nowrap;
}
.workspace-scope .icon { width: 15px; height: 15px; }
.btn, .icon-button, .small-action {
  justify-content: center;
  display: inline-flex;
  align-items: center;
  min-height: 39px;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 8px;
  padding: 8px 13px;
  font-size: .78rem;
  font-weight: 500;
  text-decoration: none;
  line-height: 1.25;
  white-space: nowrap;
  transition: background .14s ease, border-color .14s ease;
}
.btn .icon { width: 17px; height: 17px; }
.btn-primary { background: var(--pink); color: #39172f; border-color: #e699ce; }
.btn-primary:hover { background: #e997cc; }
.btn-secondary { background: #fff; color: var(--ink-soft); border-color: var(--line-strong); }
.btn-secondary:hover, .btn-quiet:hover, .small-action:hover, .icon-button:hover { background: var(--neutral-soft); }
.btn-quiet, .small-action, .icon-button { background: transparent; color: var(--ink-soft); }
.icon-button { min-width: 40px; padding: 5px; }

.app-shell { display: grid; grid-template-columns: var(--rail-width) minmax(0, 1fr); min-height: calc(100dvh - var(--header-height)); }
.sidebar {
  position: sticky;
  top: var(--header-height);
  align-self: start;
  min-height: calc(100dvh - var(--header-height));
  border-right: 1px solid var(--line);
  background: var(--canvas);
  padding: 30px 15px;
}
.sidebar-title {
  margin: 0 12px 18px;
  font-size: .86rem;
  font-weight: 650;
  letter-spacing: -.015em;
}
.side-navigation { display: grid; gap: 5px; }
.nav-item {
  display: flex;
  align-items: center;
  text-align: left;
  width: 100%;
  gap: 12px;
  padding: 11px 12px;
  min-height: 43px;
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: .81rem;
  font-weight: 440;
  text-decoration: none;
}
.nav-item:hover { background: var(--neutral-soft); color: var(--ink); }
.nav-item:is([aria-current="page"], [aria-selected="true"], .active) {
  color: #6a2050;
  border-color: #f3e5f0;
  background: var(--pink-soft);
  font-weight: 600;
}
.nav-item .icon { width: 18px; height: 18px; }
.nav-count {
  margin-left: auto;
  border-radius: 12px;
  padding: 2px 6px;
  background: #f3e7f1;
  color: #6a2050;
  font-weight: 600;
  font-size: .66rem;
}

.workspace {
  width: 100%;
  max-width: 1600px;
  margin-inline: auto;
  padding: clamp(24px, 3vw, 49px) clamp(20px, 3.1vw, 52px) 55px;
  min-width: 0;
}
.view-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 28px;
}
.view-header h1, .auth-card h1 {
  color: var(--ink);
  font-size: clamp(1.95rem, 3.65vw, 2.85rem);
  font-weight: 600;
  letter-spacing: -.06em;
  line-height: 1.1;
}
.view-header p {
  margin-top: 10px;
  color: var(--muted);
  font-size: .91rem;
  line-height: 1.6;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-bottom: 25px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  padding: 17px 16px;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.metric-icon {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border-radius: 10px;
}
.metric-icon .icon { width: 22px; height: 22px; }
.tint-pink, .thumb-pink, .tag-pink { background: var(--pink-soft); color: var(--pink-deep); }
.tint-blue, .thumb-blue, .tag-blue { background: var(--blue-soft); color: var(--blue-deep); }
.tint-violet { background: var(--violet-soft); color: var(--violet-deep); }
.metric p { font-size: .76rem; color: var(--muted); line-height: 1.45; }
.metric strong {
  display: block;
  margin-top: 3px;
  font-size: 1.42rem;
  font-weight: 620;
  letter-spacing: -.04em;
  line-height: 1.14;
}

.library-panel, .panel {
  border: 1px solid var(--line);
  border-radius: 13px;
  background: white;
  box-shadow: var(--shadow);
  min-width: 0;
}
.library-panel { overflow: clip; }
.library-audience {
  display: flex;
  flex-wrap: nowrap;
  gap: 24px;
  border-bottom: 1px solid var(--line);
  padding: 0 17px;
  overflow-x: auto;
}
.library-audience button {
  border: 0;
  border-bottom: 2px solid transparent;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  min-height: 49px;
  padding: 0 2px;
  margin: 0;
  white-space: nowrap;
  background: transparent;
  color: var(--muted);
  font-size: .8rem;
  font-weight: 470;
}
.library-audience button:is([aria-pressed="true"], [aria-current="page"], .active) {
  border-bottom-color: #ca6cab;
  color: #7c245e;
  font-weight: 610;
}
.library-audience button:hover { color: #7c245e; }
.library-audience .icon { width: 14px; height: 14px; }
.catalog-tools {
  display: grid;
  gap: 11px;
  padding: 16px 17px 9px;
}
.search-line, .filter-line {
  display: flex;
  align-items: center;
  gap: 12px;
}
.search-box, .sort-box {
  display: flex;
  align-items: center;
  min-height: 41px;
  gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding-inline: 12px;
  background: white;
}
.search-box { flex: 1; min-width: 0; }
.search-box .icon { color: var(--muted); }
.search-box:focus-within, .sort-box:focus-within, .filter:focus-within { outline: 2px solid #416b9a; outline-offset: 1px; }
.search-box input {
  height: 38px;
  width: 100%;
  min-width: 0;
  border: 0;
  background: transparent;
  outline: 0;
  font-size: .83rem;
}
.search-box input::placeholder { color: #6a6174; }
.sort-box { position: relative; white-space: nowrap; padding-right: 10px; }
.sort-box span { font-size: .72rem; color: var(--muted); }
.sort-box select {
  appearance: none;
  outline: 0;
  border: 0;
  background: white;
  color: var(--ink-soft);
  padding: 8px 17px 8px 1px;
  font-size: .76rem;
}
.sort-box .icon {
  pointer-events: none;
  width: 12px;
  height: 12px;
  position: absolute;
  right: 10px;
  color: var(--muted);
}
.filter-line { align-items: flex-start; }
.filter-fields { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.filter-label {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: var(--muted);
  font-size: .72rem;
  white-space: nowrap;
}
.filter-label .icon { width: 16px; height: 16px; }
.filter {
  position: relative;
  display: inline-flex;
  height: 32px;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--neutral-soft);
}
.filter::after {
  content: "";
  pointer-events: none;
  position: absolute;
  right: 9px;
  top: 11px;
  width: 6px;
  height: 6px;
  border: solid var(--muted);
  border-width: 0 1px 1px 0;
  transform: rotate(45deg);
}
.filter select {
  max-width: 170px;
  appearance: none;
  border: 0;
  outline: 0;
  padding: 4px 21px 4px 8px;
  color: var(--ink-soft);
  background: transparent;
  font-size: .72rem;
  border-radius: 6px;
}
.filter:has(select option:checked:not([value=""])) { background: var(--blue-soft); border-color: #d6e9f5; }
.text-button {
  min-height: 32px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: var(--pink-deep);
  padding: 2px 4px;
  font-weight: 540;
  font-size: .72rem;
}
.text-button:hover { text-decoration: underline; }
.results-line {
  padding: 7px 17px 11px;
  color: var(--muted);
  font-size: .74rem;
}

.table-wrap { overflow-x: auto; }
table {
  width: 100%;
  min-width: 810px;
  border-collapse: collapse;
  text-align: left;
  font-size: .77rem;
}
thead { background: #f8f7fb; color: #554a60; }
th, td { padding: 12px 10px; vertical-align: middle; }
th:first-child, td:first-child { padding-left: 17px; }
th:last-child, td:last-child { padding-right: 14px; }
th {
  font-size: .71rem;
  font-weight: 580;
  white-space: nowrap;
}
th:first-child { width: 33%; }
th:last-child { width: 1%; }
tbody tr + tr { border-top: 1px solid var(--line); }
tbody tr:hover { background: #fdfbfe; }
td { height: 65px; line-height: 1.45; color: var(--ink-soft); }
td:nth-child(5) { font-variant-numeric: tabular-nums; white-space: nowrap; }
.material-cell, .source-label {
  display: flex;
  gap: 9px;
  align-items: center;
}
.material-thumb {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  flex: 0 0 34px;
}
.material-thumb .icon, .source-label .icon { width: 16px; height: 16px; }
.material-title {
  border: 0;
  background: none;
  color: var(--ink);
  font-size: .8rem;
  font-weight: 560;
  text-decoration: none;
  text-align: left;
  padding: 0;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.material-title:hover { text-decoration: underline; text-underline-offset: 3px; color: var(--pink-deep); }
.material-subtitle {
  display: block;
  overflow-wrap: anywhere;
  margin-top: 3px;
  color: var(--muted);
  font-size: .69rem;
  font-weight: 390;
  line-height: 1.4;
}
.source-label { gap: 5px; white-space: nowrap; }
.source-label .icon { color: var(--muted); }
.tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border-radius: 6px;
  padding: 4px 7px;
  font-size: .67rem;
  font-weight: 510;
  line-height: 1.45;
}
.tag .icon { width: 12px; height: 12px; }
.tag-neutral, .tag:not(.tag-pink, .tag-blue) { color: #51465c; background: #f1eef5; }
.small-action { min-height: 31px; min-width: 31px; padding: 5px 7px; }
.small-action .icon { width: 16px; height: 16px; }
.empty-panel {
  padding: 45px 18px;
  text-align: center;
  font-size: .87rem;
  line-height: 1.6;
  color: var(--muted);
}
.empty-panel > .icon {
  width: 35px;
  height: 35px;
  padding: 7px;
  border-radius: 9px;
  background: var(--blue-soft);
  color: var(--blue-deep);
  margin-bottom: 9px;
}
.empty-panel h3 { color: var(--ink); font-size: .97rem; font-weight: 590; }
.empty-panel p { margin-top: 4px; }
.empty-panel .material-thumb { margin: 0 auto 10px; }
.empty-panel .btn { margin-top: 12px; }
.pagination-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex-wrap: wrap;
  min-height: 50px;
  border-top: 1px solid var(--line);
  padding: 8px 14px;
  color: var(--muted);
  font-size: .75rem;
}
.pagination-row:empty { display: none; }

.panel { padding: 20px; }
.panel:not(:last-child), .notice:not(:last-child) { margin-bottom: 14px; }
.panel-heading, .detail-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.panel h2, .detail-heading h2 { font-size: 1.2rem; font-weight: 600; letter-spacing: -.025em; }
.panel h3, .step-card h3 { font-size: .98rem; font-weight: 590; }
.panel-heading h2 { flex: 1 1 100%; }
.panel h2 + p, .panel h3 + p, .detail-heading h2 + p { margin-top: 6px; }
.panel-heading h2 + p { flex: 1 1 100%; margin-top: -6px; }
.detail-actions, .panel-actions, .inline-actions { flex-wrap: wrap; }
.detail-actions { margin-top: 20px; padding-top: 15px; border-top: 1px solid var(--line); }
.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  overflow-wrap: anywhere;
  margin: 15px 0;
  padding: 14px;
  background: var(--neutral-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: .84rem;
}
.detail-meta dt { font-size: .72rem; color: var(--muted); margin-bottom: 3px; }
.detail-meta dd { margin: 0; }
.stack { display: grid; gap: 12px; }
.stack > * { margin-block: 0; }
.subtle { color: var(--muted); font-size: .8rem; line-height: 1.56; }
.notice {
  border-radius: 8px;
  border: 1px solid #dcebf4;
  padding: 10px 12px;
  background: var(--blue-soft);
  color: #234a5e;
  font-size: .81rem;
  line-height: 1.5;
}
.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.compare-grid > * { min-width: 0; overflow-wrap: anywhere; }
.comparison-material { padding: 14px; border: 1px solid var(--line); border-radius: 9px; }
.comparison-material .tag, .comparison-material .btn { justify-self: start; }
.source-card .detail-meta { margin: 0; }
.source-card h2 { font-size: 1rem; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.field-row > .btn { justify-self: start; align-self: end; margin-bottom: 10px; }
.field {
  display: grid;
  align-content: start;
  gap: 5px;
  margin-bottom: 10px;
  color: var(--ink-soft);
  font-size: .78rem;
  line-height: 1.45;
}
.field :is(input, select, textarea), .step-card textarea {
  display: block;
  width: 100%;
  min-height: 39px;
  min-width: 0;
  border: 1px solid var(--line-strong);
  border-radius: 8px;
  padding: 8px 10px;
  background: white;
  color: var(--ink);
  font-size: .84rem;
  line-height: 1.4;
}
.field textarea, .step-card textarea { resize: vertical; }
.step-card {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: white;
  line-height: 1.5;
}
.step-card p { font-size: .8rem; color: var(--muted); }
.step-card textarea { margin-top: 7px; }
.steps-list, .workflow-list, .history-list { margin: 0; }
.steps-list, .workflow-list { padding: 0; list-style: none; }
.steps-list { display: grid; gap: 8px; }
.steps-list li, .step-summary, .workflow-list li, .check-row { display: flex; align-items: center; gap: 10px; }
.steps-list .step-card { background: #fff; }
.step-number {
  display: grid;
  place-items: center;
  flex: 0 0 29px;
  height: 29px;
  border-radius: 8px;
  color: var(--pink-deep);
  background: var(--pink-soft);
  font-size: .73rem;
  font-weight: 620;
}
.step-number .icon { width: 15px; height: 15px; }
.step-summary { list-style: none; }
.step-summary::-webkit-details-marker { display: none; }
.step-summary::after {
  content: "";
  margin-left: auto;
  width: 8px;
  height: 8px;
  border: solid var(--muted);
  border-width: 0 1.5px 1.5px 0;
  transform: rotate(45deg);
}
details[open] .step-summary::after { transform: rotate(225deg); }
.step-summary strong { font-size: .85rem; }
.check-row { font-size: .79rem; margin-block: 5px; cursor: pointer; }
input[type="checkbox"] { accent-color: var(--pink-deep); width: 17px; height: 17px; margin: 0; }
.practice-progress { accent-color: #bc589a; height: 12px; width: min(220px, 100%); }
.workflow-list li { justify-content: space-between; padding: 11px 0; font-size: .85rem; }
.workflow-list li + li { border-top: 1px solid var(--line); }
.workflow-list li .tag { margin-top: 4px; }
.history-list { padding-left: 20px; font-size: .82rem; line-height: 1.6; }
.form-error { color: #8d2c45; font-size: .8rem; line-height: 1.5; }
.form-error:empty { display: none; }
.toast-error { background: #7c2a46; }
.filters-active { color: var(--pink-deep); }
summary { cursor: pointer; }

dialog {
  width: min(620px, 100%);
  height: 100dvh;
  max-height: 100dvh;
  max-width: 100%;
  margin: 0 0 0 auto;
  border: 0;
  border-left: 1px solid var(--line);
  padding: 25px;
  color: var(--ink);
  background: white;
  box-shadow: -15px 0 55px rgb(33 28 40 / 10%);
}
dialog::backdrop { background: rgb(37 30 46 / 27%); }
.dialog-close { display: flex; justify-content: flex-end; margin-bottom: 10px; }
.dialog-close button { border: 1px solid var(--line); }
#details-body form { display: grid; gap: 8px; }
.toast {
  position: fixed;
  right: 20px;
  bottom: 21px;
  z-index: 7;
  max-width: min(430px, calc(100% - 40px));
  padding: 12px 16px;
  background: #34263c;
  color: #fff;
  border-radius: 9px;
  font-size: .83rem;
  line-height: 1.45;
  box-shadow: 0 7px 26px #241c3550;
}
.auth-gate {
  min-height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: white;
}
.auth-gate > img { margin: 8px 15px 0; height: auto; }
.auth-card {
  place-self: center;
  text-align: center;
  margin: 20px 18px 65px;
  width: min(490px, calc(100% - 36px));
  padding: 34px 25px;
  border: 1px solid var(--line);
  border-radius: 15px;
  box-shadow: 0 8px 40px rgb(67 44 73 / 7%);
}
.auth-card .metric-icon { margin: 0 auto 16px; }
.auth-card h1 { font-size: clamp(1.8rem, 4.4vw, 2.55rem); }
.auth-card p { margin: 12px auto 0; color: var(--muted); max-width: 340px; line-height: 1.58; font-size: .9rem; }
.auth-card button { margin-top: 23px; }
.auth-card .auth-error { color: #8d2c45; font-size: .8rem; }

@media (max-width: 1190px) {
  :root { --rail-width: 207px; }
  .sidebar { padding-inline: 9px; }
  .workspace { padding-inline: 24px; }
}
@media (max-width: 930px) {
  :root { --header-height: 68px; }
  .masthead { padding: 0 18px 0 8px; }
  .brand { flex-basis: 250px; }
  .workspace-scope { display: none; }
  .app-shell { display: block; }
  .sidebar {
    position: static;
    border-right: 0;
    border-bottom: 1px solid var(--line);
    min-height: 0;
    padding: 8px 14px;
    overflow-x: auto;
  }
  .sidebar-title { display: none; }
  .side-navigation { display: flex; flex-wrap: nowrap; }
  .nav-item { width: auto; gap: 7px; }
  .workspace { padding-top: 24px; }
}
@media (max-width: 615px) {
  :root { --header-height: 58px; }
  .masthead { gap: 4px; padding: 3px 9px 3px 4px; flex-wrap: wrap; }
  .brand { flex: 0 1 176px; }
  .brand img { min-width: 150px; }
  .masthead-actions { gap: 4px; }
  .masthead-actions .btn { min-height: 32px; padding-inline: 6px; font-size: .68rem; gap: 3px; }
  .masthead-actions .btn .icon { width: 14px; height: 14px; }
  .nav-item { min-height: 37px; padding: 7px 8px; font-size: .72rem; white-space: nowrap; }
  .nav-item .icon { width: 15px; height: 15px; }
  .sidebar { padding: 6px 10px; }
  .workspace { padding: 21px 12px 35px; }
  .view-header { margin-bottom: 17px; }
  .view-header h1 { font-size: 1.97rem; }
  .view-header p { margin-top: 6px; font-size: .79rem; }
  .metrics { gap: 6px; margin-bottom: 15px; }
  .metric { padding: 9px 7px; align-items: flex-start; flex-direction: column; gap: 6px; }
  .metric-icon { width: 31px; height: 31px; flex-basis: 31px; border-radius: 8px; }
  .metric-icon .icon { width: 16px; height: 16px; }
  .metric p { font-size: .63rem; }
  .metric strong { margin-top: 2px; font-size: 1.08rem; }
  .library-audience { padding-inline: 9px; gap: 13px; }
  .library-audience button { min-height: 41px; font-size: .71rem; }
  .catalog-tools { padding: 10px 9px 6px; }
  .search-line, .filter-line { gap: 6px; }
  .search-line { align-items: stretch; }
  .search-box { padding-inline: 7px; gap: 5px; }
  .search-box .icon { width: 15px; }
  .search-box input, .sort-box select { font-size: .73rem; }
  .sort-box { padding-inline: 6px; }
  .sort-box span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .sort-box .icon { right: 5px; }
  .filter-label { display: none; }
  .results-line { padding-inline: 9px; }
  table { min-width: 0; }
  th, td { padding-inline: 4px; }
  th:first-child, td:first-child { padding-left: 8px; }
  th:last-child, td:last-child { padding-right: 7px; }
  th:first-child { width: auto; }
  th:is(:nth-child(2), :nth-child(4), :nth-child(5), :nth-child(6)),
  td:is(:nth-child(2), :nth-child(4), :nth-child(5), :nth-child(6)) { display: none; }
  .material-cell { gap: 6px; }
  .material-cell .material-thumb { display: none; }
  .material-title { font-size: .76rem; }
  .panel { padding: 14px; }
  .compare-grid, .field-row { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  dialog { padding: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0s !important; }
}
