﻿html {
  font-size: 15px;
  min-height: 100%;
  position: relative;
}

body {
  background: #f6f7f8;
  color: #202428;
  font-family: Arial, Helvetica, sans-serif;
  margin-bottom: 64px;
}

.navbar {
  background: #ffffff !important;
}

.navbar-brand {
  font-weight: 700;
}

.nav-auth {
  align-items: center;
  display: flex;
  gap: 10px;
}

.nav-user {
  color: #4d5963;
  font-size: .85rem;
  font-weight: 700;
}

.logout-form {
  margin: 0;
}

.logout-button {
  height: 34px;
  min-width: 0;
  padding: 0 12px;
}

.container {
  max-width: 1320px;
}

.page-head,
.detail-head {
  align-items: flex-start;
  display: flex;
  gap: 24px;
  justify-content: space-between;
  margin: 22px 0 18px;
}

.detail-side {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.auth-shell {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 210px);
}

.auth-panel {
  background: #ffffff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  max-width: 460px;
  padding: 28px;
  width: 100%;
}

.auth-copy {
  color: #4d5963;
  margin: 10px 0 18px;
}

.auth-form {
  display: grid;
  gap: 14px;
}

.auth-field input {
  width: 100%;
}

.auth-submit {
  width: 100%;
}

.page-head h1,
.detail-head h1 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0;
  margin: 0;
}

.eyebrow {
  color: #65707a;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.metric-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.metric,
.price-panel,
.panel,
.data-shell,
.toolbar {
  background: #ffffff;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
}

.metric {
  min-width: 128px;
  padding: 12px 14px;
}

.metric span,
.price-panel span {
  color: #65707a;
  display: block;
  font-size: .8rem;
}

.metric strong,
.price-panel strong {
  display: block;
  font-size: 1.35rem;
  line-height: 1.2;
}

.toolbar {
  align-items: end;
  display: flex;
  gap: 14px;
  margin-bottom: 14px;
  padding: 14px;
}

.search-cluster {
  align-items: end;
  display: flex;
  flex: 1 1 520px;
  gap: 10px;
}

.toolbar-actions {
  display: inline-flex;
  gap: 10px;
}

.search-field {
  flex: 1 1 auto;
}

.search-field--compact {
  flex: 0 0 280px;
}

.search-submit {
  flex: 0 0 auto;
  height: 40px;
}

.search-field span {
  color: #65707a;
  display: block;
  font-size: .8rem;
  margin-bottom: 4px;
}

.search-field input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  height: 40px;
  padding: 0 12px;
  width: 100%;
}

.search-field select {
  background: #fff;
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  height: 40px;
  padding: 0 12px;
  width: 100%;
}

.toggle-field {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 40px;
  white-space: nowrap;
}

.btn-primary,
.btn-secondary,
.btn-danger {
  align-items: center;
  border-radius: 6px;
  display: inline-flex;
  font-weight: 700;
  height: 40px;
  justify-content: center;
  min-width: 92px;
  padding: 0 14px;
  text-decoration: none;
}

.btn-primary {
  background: #195a92;
  border: 1px solid #195a92;
  color: #ffffff;
}

.btn-secondary {
  background: #eef3f7;
  border: 1px solid #cdd8e2;
  color: #173a59;
}

.btn-danger {
  background: #8a2929;
  border: 1px solid #8a2929;
  color: #ffffff;
}

.data-shell {
  overflow: auto;
}

.data-table {
  border-collapse: collapse;
  min-width: 980px;
  width: 100%;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid #e7ecef;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.data-table th {
  background: #f1f4f6;
  color: #4d5963;
  font-size: .82rem;
  font-weight: 700;
}

.sort-button {
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  font: inherit;
  padding: 0;
  text-align: left;
}

.sort-button:hover {
  color: #1d4ed8;
}

.sort-link {
  align-items: center;
  color: inherit;
  display: inline-flex;
  gap: 6px;
  text-decoration: none;
}

.sort-link:hover {
  color: #1d4ed8;
}

.sort-indicator {
  color: #73808c;
  font-size: .85em;
  line-height: 1;
}

.product-name {
  font-weight: 700;
  max-width: 460px;
}

.muted,
.slug-line {
  color: #65707a;
}

.category-cell {
  max-width: 360px;
}

.action-cell {
  text-align: right !important;
}

.table-actions {
  display: inline-flex;
  gap: 8px;
}

.shipping-weight-form {
  margin: 0;
}

.shipping-weight-input {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  height: 28px;
  padding: 0 8px;
  width: 90px;
}

.weight-chip {
  background: #eef1f3;
  border-radius: 999px;
  color: #3f4b55;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 9px;
  white-space: nowrap;
}

.weight-chip--missing {
  background: #fff1d8;
  color: #8a5a00;
}

.table-actions .btn-secondary,
.table-actions .btn-danger {
  font-size: .85rem;
  height: 28px;
  min-width: 64px;
  padding: 0 10px;
}

.inline-form {
  margin: 0;
}

.badge-stack,
.status-strip,
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.status-strip {
  margin-bottom: 16px;
}

.status-badge,
.chip {
  border-radius: 999px;
  display: inline-flex;
  font-size: .78rem;
  font-weight: 700;
  line-height: 1;
  padding: 7px 9px;
}

.status-badge.ok {
  background: #e4f4ec;
  color: #216242;
}

.status-badge.neutral,
.chip {
  background: #eef1f3;
  color: #3f4b55;
}

.status-badge.danger {
  background: #fae7e7;
  color: #8a2929;
}

.chip.primary {
  background: #e4eef7;
  color: #195a92;
}

.empty-state {
  color: #65707a;
  padding: 24px;
}

.status-message {
  background: #e4f4ec;
  border: 1px solid #b6dcc4;
  border-radius: 8px;
  color: #216242;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 12px 14px;
}

.back-link {
  color: #195a92;
  display: inline-block;
  font-weight: 700;
  margin-bottom: 14px;
  text-decoration: none;
}

.price-panel {
  min-width: 220px;
  padding: 16px;
}

.action-summary-panel {
  display: grid;
  gap: 14px;
}

.action-summary-panel.compact {
  margin-top: 16px;
  padding: 14px;
}

.action-summary-head {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.action-summary-head h2,
.action-summary-head h3 {
  margin: 0;
}

.action-summary-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.action-summary-item {
  background: #f7f9fa;
  border: 1px solid #e1e7eb;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-height: 72px;
  padding: 12px;
}

.action-summary-item span {
  color: #65707a;
  font-size: .8rem;
  font-weight: 700;
}

.action-summary-item strong {
  line-height: 1.35;
}

.detail-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 16px;
}

.panel {
  padding: 18px;
}

.panel h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin: 0 0 14px;
}

.panel h3 {
  color: #4d5963;
  font-size: .9rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.edit-form {
  display: grid;
  gap: 16px;
}

.edit-head {
  margin: 22px 0 18px;
}

.edit-head-main {
  display: grid;
  gap: 10px;
}

.edit-head-meta {
  color: #65707a;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  font-size: .95rem;
}

.edit-toolbar {
  align-items: center;
  display: flex;
  gap: 14px;
  padding: 14px 16px;
}

.edit-section-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.section-chip {
  background: #f3f6f8;
  border: 1px solid #dbe3e8;
  border-radius: 999px;
  color: #334155;
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 12px;
  text-decoration: none;
}

.section-chip:hover {
  border-color: #1d4ed8;
  color: #1d4ed8;
}

.section-chip.is-active {
  background: #e4eef7;
  border-color: #9dbbd4;
  color: #195a92;
}

.edit-layout {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1fr) 320px;
}

.edit-main {
  display: grid;
  gap: 16px;
}

.edit-sidebar {
  display: grid;
  gap: 16px;
  align-content: start;
}

.side-panel {
  display: grid;
  gap: 14px;
}

.side-panel-head h2,
.section-head h2 {
  margin-bottom: 0;
}

.side-actions {
  display: grid;
  gap: 10px;
}

.side-note {
  margin: 0;
}

.section-panel {
  display: grid;
  gap: 16px;
}

.section-form {
  display: block;
}

.edit-tab-panel {
  display: none;
}

.edit-tab-panel.is-active {
  display: block;
}

.section-status-banner {
  margin-bottom: 16px;
}

.section-head,
.subsection-head {
  display: grid;
  gap: 4px;
}

.section-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.content-stack,
.assignment-section {
  display: grid;
  gap: 14px;
}

.assignment-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.status-toggle-grid {
  margin-top: 2px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.basics-grid {
  align-items: end;
}

.status-toggle-grid-inline {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.section-note {
  margin: 0;
}

.section-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.section-actions-start {
  justify-content: flex-start;
}

.catalog-layout {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.catalog-create-row,
.catalog-list,
.catalog-item-form,
.catalog-item-grid,
.catalog-item {
  display: grid;
  gap: 14px;
}

.catalog-item {
  border: 1px solid #dbe3e8;
  border-radius: 8px;
  padding: 14px;
}

.catalog-usage {
  align-content: center;
  background: #f8fafc;
  border: 1px solid #dbe3e8;
  border-radius: 6px;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
}

.catalog-usage span {
  color: #4d5963;
  font-size: .82rem;
  font-weight: 700;
}

.catalog-origin {
  color: #64748b;
  font-size: .85rem;
}

.catalog-delete-form {
  display: flex;
  justify-content: flex-end;
}

.catalog-group-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.catalog-group-card {
  border: 1px solid #dbe3e8;
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}

.catalog-group-meta {
  display: grid;
  gap: 4px;
}

.catalog-group-meta h3 {
  margin: 0;
}

.section-head-inline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.compact-table {
  min-width: 720px;
}

.table-title {
  font-weight: 700;
}

.table-subtle {
  color: #64748b;
  font-size: .9rem;
  margin-top: 2px;
}

.category-hint-panel {
  margin-top: 16px;
}

.btn-danger {
  background: #fff1f2;
  border: 1px solid #fda4af;
  border-radius: 6px;
  color: #be123c;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  justify-content: center;
  padding: 10px 14px;
  text-decoration: none;
}

.btn-danger:hover {
  background: #ffe4e6;
}

.side-field-list {
  margin: 0;
}

.edit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.full-span {
  grid-column: 1 / -1;
}

.form-field {
  display: grid;
  gap: 6px;
  margin-bottom: 14px;
}

.form-field span {
  color: #4d5963;
  font-size: .82rem;
  font-weight: 700;
}

.form-field input,
.form-field textarea,
.form-field select {
  border: 1px solid #cfd6dc;
  border-radius: 6px;
  padding: 10px 12px;
  width: 100%;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

.code-like {
  font-family: Consolas, monospace;
}

.html-editor {
  border: 1px solid #cfd6dc;
  border-radius: 8px;
  overflow: hidden;
}

.html-editor-toolbar {
  align-items: center;
  background: #f3f6f8;
  border-bottom: 1px solid #dfe4e8;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 8px;
}

.editor-tool,
.editor-view {
  align-items: center;
  background: #ffffff;
  border: 1px solid #ccd6de;
  border-radius: 6px;
  color: #173a59;
  cursor: pointer;
  display: inline-flex;
  font-size: .82rem;
  font-weight: 700;
  height: 34px;
  justify-content: center;
  min-width: 38px;
  padding: 0 10px;
}

.editor-tool:hover,
.editor-view:hover,
.editor-tool.is-active,
.editor-view.is-active {
  background: #e4eef7;
  border-color: #9dbbd4;
}

.editor-view-switch {
  display: inline-flex;
  gap: 6px;
  margin-left: auto;
}

.html-editor-surface {
  background: #ffffff;
}

.html-editor-visual,
.html-editor-source {
  border: 0;
  min-height: 320px;
  padding: 14px;
  width: 100%;
}

.html-editor-visual {
  outline: none;
  overflow-wrap: anywhere;
}

.html-editor-visual:empty::before {
  color: #93a0aa;
  content: "Inhalt eingeben";
}

.html-editor-source {
  display: none;
  min-height: 320px;
  resize: vertical;
}

.html-editor.is-html-mode .html-editor-visual {
  display: none;
}

.html-editor.is-html-mode .html-editor-source {
  display: block;
}

.html-editor-visual h1,
.html-editor-visual h2,
.html-editor-visual h3,
.html-editor-visual p,
.html-editor-visual ul,
.html-editor-visual ol,
.html-editor-visual blockquote {
  margin-bottom: 12px;
}

.html-editor-visual ul,
.html-editor-visual ol {
  padding-left: 24px;
}

.html-editor-visual blockquote {
  border-left: 3px solid #cfd6dc;
  color: #4d5963;
  padding-left: 12px;
}

.toggle-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.price-edit-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.price-mode-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.price-mode-card {
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  padding: 14px;
}

.price-mode-card.is-active {
  border-color: #9dbbd4;
  box-shadow: inset 0 0 0 1px #d7e7f5;
}

.price-mode-head {
  align-items: center;
  display: flex;
  gap: 8px;
  font-weight: 700;
  margin-bottom: 6px;
}

.promotion-grid {
  margin-top: 6px;
}

.toggle-field.boxed {
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  min-height: 46px;
  padding: 0 12px;
}

.assignment-list {
  display: grid;
  gap: 10px;
}

.assignment-row {
  align-items: center;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  padding: 10px 12px;
}

.package-component-row {
  align-items: end;
  display: grid;
  gap: 12px;
  grid-template-columns: minmax(240px, 1.4fr) minmax(240px, 1.2fr) repeat(4, minmax(110px, .65fr));
}

.package-component-row .form-field {
  margin-bottom: 0;
}

.package-component-result {
  background: #f7f9fa;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 6px;
  min-height: 74px;
  padding: 10px 12px;
}

.package-component-result__title {
  color: #202428;
  display: block;
  font-size: .95rem;
  line-height: 1.35;
}

.package-component-actions .btn-danger {
  width: 100%;
}

.package-component-candidates {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-component-candidate {
  background: #ffffff;
  border: 1px solid #cfd6dc;
  border-radius: 999px;
  color: #173a59;
  cursor: pointer;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.2;
  max-width: 100%;
  padding: 7px 10px;
  text-align: left;
}

.package-component-candidate:hover {
  background: #eef4fb;
  border-color: #9dbbd4;
}

.package-component-candidate.is-active {
  background: #e4eef7;
  border-color: #9dbbd4;
}

.package-component-result.is-selected {
  background: #eef6f0;
  border-color: #b7d7c1;
}

.package-component-result.is-empty {
  background: #f7f9fa;
}

.package-component-mode {
  background: #f7f9fa;
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: grid;
  gap: 4px;
  min-height: 74px;
  padding: 10px 12px;
}

.package-component-mode__value {
  color: #202428;
  display: block;
  font-size: .95rem;
  line-height: 1.35;
}

.package-component-mode.is-selected {
  background: #eef4fb;
  border-color: #bfd2e6;
}

.package-component-row .form-field.is-hidden {
  display: none;
}

.category-assignment-list {
  gap: 0;
}

.category-assignment-row {
  border: 0;
  border-bottom: 1px solid #dfe4e8;
  border-radius: 0;
  display: grid;
  gap: 12px;
  grid-template-columns: 180px minmax(0, 1fr);
  padding: 8px 0;
}

.category-assignment-row:first-child {
  border-top: 1px solid #dfe4e8;
}

.category-primary-radio,
.category-select-toggle {
  min-height: 0;
}

.category-select-toggle {
  white-space: normal;
}

.assignment-row small {
  color: #65707a;
  display: block;
  font-size: .78rem;
  font-weight: 400;
}

.radio-inline {
  align-items: center;
  color: #4d5963;
  display: inline-flex;
  gap: 8px;
  white-space: nowrap;
}

.compact-scroll {
  max-height: 3200px;
  overflow: auto;
  padding-right: 4px;
}

.assignment-list.compact-scroll {
  gap: 0;
}

.assignment-list.compact-scroll .assignment-row {
  border: 0;
  border-bottom: 1px solid #dfe4e8;
  border-radius: 0;
  padding: 8px 0;
}

.assignment-list.compact-scroll .assignment-row:first-child {
  border-top: 1px solid #dfe4e8;
}

.attribute-edit-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}

.attribute-editor-card {
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  padding: 14px;
}

.attribute-editor-card-wide {
  grid-column: 1 / -1;
}

.attribute-option-list {
  display: grid;
  gap: 0;
}

.attribute-option-row {
  align-items: start;
  border-bottom: 1px solid #dfe4e8;
  border-radius: 0;
  display: grid;
  gap: 10px;
  grid-template-columns: 20px minmax(0, 1fr);
  min-height: 0;
  padding: 8px 0;
  white-space: normal;
}

.attribute-option-row:first-child {
  border-top: 1px solid #dfe4e8;
}

.attribute-option-row input[type="checkbox"] {
  margin: 2px 0 0;
}

.attribute-option-row span {
  display: block;
  line-height: 1.35;
}

.media-slot-list,
.media-detail-grid {
  display: grid;
  gap: 12px;
}

.media-slot-card {
  border-top: 1px solid #dfe4e8;
  padding: 12px 0;
}

.media-slot-card:first-child {
  border-top: none;
  padding-top: 0;
}

.media-slot-card-image .media-preview-link {
  margin-top: 10px;
}

.media-pdf-layout .media-file-link {
  margin-top: 12px;
}

.media-image-layout {
  align-items: start;
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr);
}

.media-image-main {
  min-width: 0;
}

.media-image-side {
  min-width: 0;
}

.media-slot-title {
  align-items: baseline;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.media-slot-label {
  color: #4d5963;
  font-size: .82rem;
  font-weight: 700;
}

.media-slot-file-name {
  color: #1f2a33;
  font-size: .92rem;
  overflow-wrap: anywhere;
}

.media-upload-picker {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.media-upload-actions {
  display: grid;
  gap: 10px;
}

.media-upload-select {
  cursor: pointer;
}

.inline-action-form {
  margin: 0;
}

.media-upload-selected-name {
  color: #65707a;
  font-size: .82rem;
  overflow-wrap: anywhere;
}

.media-file-input {
  height: 1px;
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  position: absolute;
  width: 1px;
}

.media-detail-item {
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  padding: 12px;
}

.media-preview-link {
  display: block;
  margin-top: 8px;
}

.media-file-link {
  color: #195a92;
  align-items: center;
  display: inline-flex;
  font-weight: 700;
  margin-top: 8px;
  text-decoration: none;
}

.media-file-icon {
  display: block;
  height: 24px;
  width: 24px;
}

.media-file-link-large {
  display: inline-flex;
}

.media-file-icon-large {
  height: 64px;
  width: 64px;
}

.media-preview-image {
  border: 1px solid #dfe4e8;
  border-radius: 8px;
  display: block;
  height: auto;
  max-height: 220px;
  max-width: 100%;
  object-fit: contain;
}

.media-file-hint {
  color: #65707a;
  font-size: .82rem;
  margin-top: 8px;
  overflow-wrap: anywhere;
}

@media (max-width: 900px) {
  .media-image-layout {
    grid-template-columns: 1fr;
  }
}

.field-error {
  color: #8a2929;
  font-size: .8rem;
}

.edit-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

.full-width {
  margin-bottom: 16px;
}

.field-list {
  display: grid;
  gap: 10px;
  grid-template-columns: 150px minmax(0, 1fr);
  margin: 0;
}

.field-list.compact {
  grid-template-columns: 130px minmax(0, 1fr);
}

.field-list dt {
  color: #65707a;
  font-weight: 700;
}

.field-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.attribute-group + .attribute-group {
  margin-top: 14px;
}

.content-preview {
  border-top: 1px solid #e7ecef;
  max-height: 560px;
  overflow: auto;
  padding-top: 14px;
}

.content-preview img {
  height: auto;
  max-width: 100%;
}

.stack-list {
  display: grid;
  gap: 8px;
}

.stack-item {
  background: #f7f9fa;
  border: 1px solid #e1e7eb;
  border-radius: 8px;
  color: #202428;
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  text-decoration: none;
}

.stack-item span,
.stack-item small {
  color: #65707a;
}

.link-item:hover {
  border-color: #9dbbd4;
  color: #195a92;
}

@media (max-width: 820px) {
  .page-head,
  .detail-head,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .search-cluster {
    align-items: stretch;
    flex-direction: column;
  }

  .search-field--compact {
    flex-basis: auto;
    width: 100%;
  }

  .edit-toolbar,
  .edit-toolbar-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .metric-row {
    justify-content: stretch;
  }

  .metric {
    flex: 1 1 120px;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .edit-layout,
  .assignment-grid,
  .section-grid,
  .status-toggle-grid:not(.status-toggle-grid-inline) {
    grid-template-columns: 1fr;
  }

  .category-assignment-row {
    grid-template-columns: 1fr;
  }

  .action-summary-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-actions {
    flex-direction: column;
  }

  .edit-grid,
  .toggle-grid,
  .price-edit-grid {
    grid-template-columns: 1fr;
  }

  .package-component-row {
    grid-template-columns: 1fr;
  }

  .field-list,
  .field-list.compact {
    grid-template-columns: 1fr;
  }
}

.list-pager {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 14px;
}

.list-pager__status {
  color: #65707a;
  font-size: .95rem;
}

.btn-secondary.disabled {
  cursor: default;
  opacity: .55;
  pointer-events: none;
}



.assignment-collapsible {
  border: 1px solid #dbe3e8;
  border-radius: 8px;
  padding: 0;
}

.assignment-summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  margin: 0;
  padding: 14px 16px;
}

.assignment-summary::-webkit-details-marker {
  display: none;
}

.assignment-summary__title {
  font-size: 1.02rem;
  font-weight: 700;
}

.assignment-summary__toggle {
  border-right: 2px solid #65707a;
  border-bottom: 2px solid #65707a;
  display: inline-block;
  height: 10px;
  transform: rotate(45deg);
  transition: transform .18s ease;
  width: 10px;
}

.assignment-collapsible[open] .assignment-summary__toggle {
  transform: rotate(225deg);
}

.assignment-collapsible__body {
  border-top: 1px solid #eef2f5;
  display: grid;
  gap: 14px;
  padding: 0 16px 16px;
}
