html, body { overflow: hidden; }
.catalog-shell {
  display: grid;
  grid-template-columns: 354px minmax(0, 1fr);
  height: 100vh;
}
.catalog-rail {
  background: #f4f8fc;
  border-right: 1px solid var(--line);
}
.catalog-rail-inner {
  position: sticky;
  top: 0;
  height: 100vh;
  padding: 18px 20px 28px;
  overflow-y: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.catalog-rail-inner::-webkit-scrollbar,
.catalog-workspace::-webkit-scrollbar { display: none; }
.catalog-workspace {
  min-width: 0;
  height: 100vh;
  overflow-y: auto;
  padding: 20px 28px 36px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.rail-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.rail-nav-title {
  font-size: 28px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text);
}
.rail-section + .rail-section {
  margin-top: 16px;
}
.rail-section--filters {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.rail-block-head,
.surface-card-head,
.parameters-toolbar,
.workspace-toolbar-top,
.workspace-toolbar-bottom {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}
.field-label,
.workspace-kicker {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 11px;
}
.rail-count {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.mode-swap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.action-button,
.tool-button,
.workspace-tab,
.category-tab,
.browser-card-action,
.parameter-toggle {
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.action-button {
  min-height: 42px;
  justify-content: center;
}
.action-button--ghost {
  background: transparent;
  color: var(--text);
}
.action-button:hover,
.action-button--ghost:hover,
.tool-button:hover,
.workspace-tab:hover,
.category-tab:hover,
.browser-card-action:hover,
.parameter-toggle:hover,
.result-row:hover,
.sidebar-chip-row:hover {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(47,111,179,0.18);
}
.action-button:active,
.tool-button:active,
.workspace-tab:active,
.category-tab:active,
.browser-card-action:active,
.parameter-toggle:active {
  transform: translateY(1px);
}
.sidebar-filter-summary {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}
.sidebar-chip-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid var(--line);
  background: var(--surface);
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease;
}
.sidebar-chip-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}
.sidebar-chip-row button,
.parameter-remove {
  min-height: auto;
  border: 0;
  background: transparent;
  padding: 0;
  color: var(--muted);
  box-shadow: none;
}
.workspace-toolbar {
  padding-bottom: 16px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
.workspace-toolbar-top {
  margin-bottom: 14px;
}
.workspace-title-block h2 {
  margin: 6px 0 0;
  font-size: 30px;
  line-height: 1;
}
.workspace-toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}
.tool-button {
  min-height: 36px;
  padding: 0 12px;
  border-color: var(--line);
  background: var(--surface);
  color: var(--muted);
}
.segmented-bar {
  display: inline-flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}
.workspace-tabs {
  flex: 0 0 auto;
}
.workspace-tab,
.category-tab {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}
.workspace-tab:last-child,
.category-tab:last-child {
  border-right: 0;
}
.workspace-tab.is-active,
.category-tab.is-active {
  background: var(--accent-soft);
  color: var(--text);
  box-shadow: inset 0 -2px 0 0 var(--accent);
}
.active-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  flex: 1 1 auto;
}
.summary-chip {
  min-height: 28px;
  padding: 0 8px;
  background: var(--surface-2);
}
.catalog-message {
  padding: 18px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
}
.catalog-message--error {
  color: var(--danger);
  border-color: #e0b2b2;
  background: #fff8f8;
}
.results-list {
  display: grid;
  gap: 10px;
}
.result-row {
  display: block;
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px 18px;
  cursor: default;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.result-row:hover {
  background: #fbfdff;
  transform: translateY(-1px);
}
.result-row.is-static:hover {
  transform: none;
  border-color: var(--line);
  box-shadow: none;
  background: var(--surface);
}
.result-row:focus-visible {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,111,179,0.14);
}
.result-row.is-expanded {
  border-color: rgba(47,111,179,0.32);
  background: #fbfdff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.04);
}
.result-main h3 {
  margin: 0;
  font-size: 22px;
  line-height: 1.05;
}
.result-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}
.result-title-wrap {
  display: grid;
  gap: 10px;
  min-width: 0;
}
.result-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.result-basket-button {
  font-weight: 700;
}
.result-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 14px;
}
.result-summary {
  display: grid;
  gap: 10px;
}
.result-summary.is-expandable {
  cursor: pointer;
}
.result-summary.is-expandable:focus-visible {
  outline: none;
}
.result-expand-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.result-match-count {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border: 1px solid rgba(47,111,179,0.16);
  background: rgba(47,111,179,0.06);
  color: var(--accent-strong);
}
.result-match-count.is-muted {
  border-color: var(--line);
  background: var(--surface-2);
  color: var(--muted);
}
.result-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: var(--accent-strong);
  transform: rotate(0deg);
  transition: transform .16s ease;
}
.result-row.is-expanded .result-chevron {
  transform: rotate(180deg);
}
.result-open-link {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--accent-strong);
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  transition: border-color .16s ease, background-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.result-open-link:hover {
  border-color: var(--accent);
  background: rgba(47,111,179,0.08);
  box-shadow: inset 0 0 0 1px rgba(47,111,179,0.14);
}
.result-open-link:active {
  transform: translateY(1px);
}
.result-details {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.result-details-note {
  padding: 12px 14px;
  border: 1px dashed var(--line);
  background: var(--surface-2);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}
.result-highlights-block {
  margin-top: 0;
}
.result-highlights-block.is-matched-only {
  margin-top: 0;
}
.result-highlights-title {
  margin-bottom: 8px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}
.result-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.result-highlight {
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--surface-2);
}
.result-highlight.is-matched {
  border-color: rgba(67, 122, 67, 0.28);
  background: rgba(102, 153, 102, 0.08);
}
.result-highlight-topline {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}
.result-highlight-label {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.result-highlight-badge {
  flex: 0 0 auto;
  min-height: 20px;
  padding: 0 6px;
  border: 1px solid rgba(67, 122, 67, 0.22);
  background: rgba(67, 122, 67, 0.08);
  color: #37653d;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.result-highlight-value {
  margin-top: 4px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
  word-break: break-word;
}
.result-highlight-compare {
  margin-top: 6px;
  font-size: 12px;
  color: #37653d;
  line-height: 1.35;
}
.result-highlight-notes {
  margin-top: 6px;
  font-size: 11px;
  color: var(--muted);
  line-height: 1.35;
}
.parameters-toolbar {
  margin-bottom: 14px;
  align-items: center;
}
.parameters-search-wrap {
  width: min(270px, 100%);
  flex: 0 0 auto;
}
.parameters-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 18px;
  align-items: start;
}
.surface-card {
  border: 1px solid var(--line);
  background: var(--surface);
  padding: 16px;
}
.surface-card-head {
  margin-bottom: 12px;
}
.surface-card-head--tight {
  margin-bottom: 8px;
}
.parameter-group-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.parameter-browser-card {
  border: 1px solid var(--line);
  background: var(--surface-2);
  padding: 14px 16px;
  transition: border-color .16s ease, box-shadow .16s ease, background-color .16s ease, transform .16s ease;
}
.parameter-browser-card:hover {
  border-color: var(--accent);
  background: #fbfdff;
  transform: translateY(-1px);
}
.parameter-browser-card-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.parameter-browser-card strong {
  display: block;
  font-size: 15px;
}
.parameter-browser-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}
.browser-card-action {
  min-height: 38px;
  padding: 0 14px;
  white-space: nowrap;
}
.browser-card-action.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.parameter-browser-empty,
.parameter-list-empty {
  padding: 16px;
  border: 1px dashed var(--line);
  color: var(--muted);
  background: var(--surface-2);
}
.parameter-list {
  display: grid;
  gap: 10px;
}
.parameter-group {
  border: 1px solid var(--line);
  background: var(--surface);
}
.parameter-group.is-collapsed .parameter-children {
  display: none;
}
.parameter-group-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}
.parameter-group.is-collapsed .parameter-group-head {
  border-bottom: 0;
}
.parameter-group-title {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.parameter-group-title strong { font-size: 15px; }
.parameter-group-title span,
.parameter-group-summary,
.parameter-child-head span,
.range-inputs label {
  color: var(--muted);
}
.parameter-group-summary {
  font-size: 12px;
  white-space: nowrap;
}
.parameter-toggle {
  min-height: 34px;
  min-width: 34px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
}
.parameter-toggle::before { content: '−'; font-size: 18px; line-height: 1; }
.parameter-group.is-collapsed .parameter-toggle::before { content: '+'; }
.parameter-children {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
}
.parameter-child {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}
.parameter-child:first-child {
  padding-top: 0;
  border-top: 0;
}
.parameter-child-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
}
.parameter-child-head strong { font-size: 13px; }
.range-wrap {
  position: relative;
  height: 22px;
  margin: 2px 0 10px;
}
.range-track,
.range-fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
}
.range-track { background: var(--line); }
.range-fill { background: var(--accent); }
.range-wrap input[type="range"] {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
  pointer-events: none;
  -webkit-appearance: none;
  appearance: none;
}
.range-wrap input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  background: var(--surface);
  border: 2px solid var(--accent);
  pointer-events: auto;
}
.range-wrap input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 0;
  pointer-events: auto;
}
.range-wrap input[type="range"]::-moz-range-track { background: transparent; }
.range-inputs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.range-inputs label {
  display: grid;
  gap: 6px;
  font-size: 12px;
}
@media (max-width: 1340px) {
  .parameters-layout { grid-template-columns: 1fr; }
}
@media (max-width: 1120px) {
  .catalog-shell { grid-template-columns: 314px minmax(0, 1fr); }
  .workspace-toolbar-top,
  .workspace-toolbar-bottom,
  .parameters-toolbar { display: block; }
  .workspace-toolbar-actions,
  .active-summary,
  .parameters-search-wrap { margin-top: 12px; }
}
@media (max-width: 980px) {
  html, body { overflow: auto; }
  .catalog-shell { grid-template-columns: 1fr; height: auto; }
  .catalog-rail { border-right: 0; border-bottom: 1px solid var(--line); }
  .catalog-rail-inner,
  .catalog-workspace { height: auto; overflow: visible; }
  .result-header { display: block; }
  .result-open-link { margin-top: 12px; }
  .result-highlights { grid-template-columns: 1fr; }
  .result-header { flex-direction: column; }
  .parameter-group-grid { grid-template-columns: 1fr; }
  .workspace-toolbar-actions { justify-content: flex-start; }
}

/* Stage 6 polish */
.rail-nav {
  border-bottom: 1px solid var(--line);
}
.rail-section--modes {
  margin-top: 14px;
}
.mode-swap {
  display: inline-flex;
  gap: 0;
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface);
}
.action-button {
  flex: 1 1 50%;
  min-height: 44px;
  border: 0;
  border-right: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
}
.action-button:last-child { border-right: 0; }
.action-button.is-active {
  background: var(--accent-soft);
  color: var(--text);
  box-shadow: inset 0 -2px 0 0 var(--accent);
}
.action-button:not(.is-active) {
  background: transparent;
  color: var(--muted);
}
.action-button:hover,
.action-button.is-active:hover {
  box-shadow: inset 0 -2px 0 0 var(--accent), inset 0 0 0 1px rgba(47,111,179,0.12);
}
.sidebar-chip-row button,
.parameter-remove,
.parameter-icon-button {
  min-height: auto;
  box-shadow: none;
}
.workspace-toolbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  margin-bottom: 16px;
}
.workspace-title-block h2 {
  margin: 4px 0 0;
}
.parameters-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.parameters-search-wrap {
  width: 260px;
  flex: 0 0 260px;
}
.parameters-search-wrap input {
  min-height: 46px;
  background: rgba(255,255,255,0.7);
}
.category-tabs {
  flex-wrap: nowrap;
  overflow-x: auto;
  scrollbar-width: none;
}
.category-tabs::-webkit-scrollbar { display: none; }
.surface-card-head {
  margin-bottom: 10px;
}
.parameter-browser-card.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px rgba(47,111,179,0.12);
}
.parameter-browser-card strong {
  font-size: 15px;
}
.parameter-browser-card p {
  margin-top: 4px;
}
.parameter-browser-card:active {
  transform: translateY(1px);
}
.parameter-list {
  gap: 8px;
}
.parameter-group {
  overflow: hidden;
  border-color: var(--line);
  background: var(--surface);
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.parameter-group:hover {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px rgba(47,111,179,0.1);
}
.parameter-group-head {
  display: grid;
  grid-template-columns: minmax(0,1fr) auto;
  gap: 12px;
  padding: 12px 14px;
  cursor: pointer;
  border-bottom: 0;
}
.parameter-group-main {
  min-width: 0;
}
.parameter-group-title-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.parameter-group-title-row strong {
  font-size: 15px;
}
.parameter-group-title-row span {
  color: var(--muted);
  font-size: 12px;
}
.parameter-group-summary-lines {
  display: grid;
  gap: 3px;
  margin-top: 4px;
}
.parameter-group-summary-lines span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.parameter-group-actions {
  display: inline-flex;
  align-items: flex-start;
  gap: 6px;
}
.parameter-icon-button {
  width: 30px;
  height: 30px;
  min-height: 30px;
  padding: 0;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--muted);
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease;
}
.parameter-icon-button:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
  background: var(--accent-soft);
}
.parameter-icon-button:active { transform: translateY(1px); }
.parameter-group-body {
  display: grid;
  grid-template-rows: 1fr;
  transition: grid-template-rows .22s ease, opacity .22s ease;
}
.parameter-group-body-inner {
  overflow: hidden;
}
.parameter-group.is-collapsed .parameter-group-body {
  grid-template-rows: 0fr;
  opacity: 0.82;
}
.parameter-group.is-collapsed .parameter-group-head {
  border-bottom: 0;
}
.parameter-group.is-collapsed .parameter-group-body-inner {
  border-top: 0;
}
.parameter-children {
  display: grid;
  gap: 10px;
  padding: 0 14px 14px;
  border-top: 1px solid var(--line);
}
.parameter-child-head strong {
  font-size: 13px;
}
.parameter-child-head span {
  font-size: 12px;
}
.range-wrap input[type="range"]::-webkit-slider-thumb,
.range-wrap input[type="range"]::-moz-range-thumb {
  transition: transform .14s ease, background-color .14s ease, border-color .14s ease;
}
.range-wrap input[type="range"]:active::-webkit-slider-thumb,
.range-wrap input[type="range"]:active::-moz-range-thumb {
  transform: scale(1.06);
  background: var(--accent-soft);
}
@media (max-width: 1120px) {
  .workspace-toolbar,
  .parameters-toolbar { display: block; }
  .workspace-tabs,
  .parameters-search-wrap { margin-top: 12px; }
}

.parameter-group.is-collapsed .parameter-children { display: grid; }

/* v5 interaction polish */
.surface-card-head--editor {
  align-items: center;
}
.show-results-button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--accent);
  background: var(--accent-soft);
  color: var(--text);
  transition: border-color .16s ease, background-color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.show-results-button:hover {
  box-shadow: inset 0 0 0 1px rgba(47,111,179,0.14);
  background: #dfeafb;
}
.show-results-button:active { transform: translateY(1px); }

.parameter-group-grid {
  grid-template-columns: 1fr;
}
.parameter-browser-card {
  padding: 0;
  background: var(--surface);
  overflow: hidden;
}
.parameter-browser-card.is-flash {
  background: var(--accent-soft);
  animation: browserCardFlash .75s ease;
}
@keyframes browserCardFlash {
  0% { box-shadow: inset 0 0 0 0 rgba(47,111,179,0); }
  30% { box-shadow: inset 0 0 0 999px rgba(47,111,179,0.10), 0 0 0 1px rgba(47,111,179,0.28); }
  100% { box-shadow: inset 0 0 0 0 rgba(47,111,179,0), 0 0 0 0 rgba(47,111,179,0); }
}
.parameter-browser-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 18px;
}
.parameter-browser-card-main {
  min-width: 0;
}
.parameter-browser-card p {
  margin-top: 4px;
}
.parameter-browser-variants {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 0;
  padding: 0;
  border-top: 1px solid var(--line);
}
.parameter-variant-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 68px;
  padding: 10px 16px;
  margin: -1px 0 0 -1px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--muted);
  text-align: center;
  transition: border-color .16s ease, background-color .16s ease, color .16s ease, transform .16s ease, box-shadow .16s ease;
}
.parameter-variant-chip.is-flash {
  background: var(--accent-soft);
  animation: browserCardFlash .75s ease;
}
.parameter-variant-chip:hover {
  border-color: var(--accent);
  color: var(--text);
  background: #fbfdff;
}
.parameter-variant-chip.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent-strong);
}
.parameter-variant-chip:active { transform: translateY(1px); }

.parameter-group {
  transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease, transform .18s ease, opacity .18s ease;
}
.parameter-group.is-entering {
  animation: parameterGroupIn .22s ease both;
}
.parameter-group.is-removing {
  animation: parameterGroupOut .18s ease both;
  pointer-events: none;
}
.parameter-group.is-flash {
  animation: parameterFlash .9s ease;
}
@keyframes parameterGroupIn {
  0% { opacity: 0; transform: translateY(8px); }
  100% { opacity: 1; transform: translateY(0); }
}
@keyframes parameterGroupOut {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(-6px); }
}
@keyframes parameterFlash {
  0% { box-shadow: 0 0 0 0 rgba(47,111,179,0); background: var(--surface); }
  25% { box-shadow: 0 0 0 2px rgba(47,111,179,0.22); background: var(--accent-soft); }
  100% { box-shadow: 0 0 0 0 rgba(47,111,179,0); background: var(--surface); }
}
.parameter-group-head {
  padding: 12px 14px 10px;
}
.parameter-group-summary-lines {
  margin-top: 6px;
}
.parameter-group-summary-lines span + span {
  margin-top: 2px;
}
.parameter-group-body-inner {
  overflow: hidden;
}
.parameter-children {
  padding: 12px 14px 14px;
}
.parameter-child {
  padding-top: 14px;
}
.parameter-child-head {
  margin-bottom: 12px;
}
.parameter-child-head strong {
  margin-top: 2px;
}
.parameter-icon-button {
  width: 34px;
  height: 34px;
}
.parameter-group.is-collapsed .parameter-group-head {
  padding-bottom: 12px;
}

@media (max-width: 720px) {
  .result-header-actions { width: 100%; justify-content: stretch; }
  .result-basket-button, .result-open-link { flex: 1 1 auto; }
}
