:root {
  color-scheme: light;
  --bg: #f6f7f4;
  --panel: #ffffff;
  --panel-soft: #f1f4ef;
  --ink: #1f2420;
  --muted: #677066;
  --line: #d8ddd3;
  --strong-line: #bac4b5;
  --accent: #27715f;
  --accent-dark: #185344;
  --accent-soft: #dcebe5;
  --warn: #b26b16;
  --warn-soft: #fff1d8;
  --danger: #b23b3b;
  --danger-soft: #fae2df;
  --ok: #2f7d32;
  --ok-soft: #deeddf;
  --focus: #0e5f8f;
  --shadow: 0 14px 35px rgba(27, 36, 29, 0.08);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

input:disabled,
select:disabled,
textarea:disabled {
  background: #eef1eb;
  color: #7a8278;
  cursor: not-allowed;
}

:focus-visible {
  outline: 3px solid rgba(14, 95, 143, 0.28);
  outline-offset: 2px;
}

.app-shell {
  --detail-width: 52vw;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr) 12px minmax(500px, var(--detail-width));
  min-height: 100vh;
  max-width: 100vw;
  overflow: hidden;
}

.app-shell.detail-closed {
  grid-template-columns: 238px minmax(0, 1fr);
}

.app-shell.detail-fullscreen {
  display: block;
}

.app-shell.detail-closed .detail-resize-handle,
.app-shell.detail-closed .detail-panel {
  display: none;
}

.app-shell.detail-fullscreen .sidebar,
.app-shell.detail-fullscreen .workspace,
.app-shell.detail-fullscreen .detail-resize-handle {
  display: none;
}

.sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 22px 18px;
  border-right: 1px solid var(--line);
  background: #f9faf7;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 2px solid var(--accent);
  border-radius: 8px;
  color: var(--accent-dark);
  font-weight: 800;
}

.brand-title {
  margin: 0;
  font-size: 16px;
  font-weight: 800;
}

.brand-subtitle {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.field {
  display: grid;
  gap: 6px;
}

.field span,
.field-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.field.compact select,
.search-field input,
.form-grid input,
.form-grid select,
.form-grid textarea,
.price-form input,
.price-form select,
.user-form input,
.user-form select {
  min-height: 38px;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
}

.form-grid textarea {
  min-height: 74px;
  resize: vertical;
}

.nav-list {
  display: grid;
  gap: 6px;
}

.nav-button {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: transparent;
  color: var(--ink);
  padding: 9px 10px;
  text-align: left;
}

.nav-button:hover,
.nav-button.active {
  border-color: var(--line);
  background: var(--panel);
}

.nav-button.active {
  color: var(--accent-dark);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.03);
}

.nav-icon {
  display: inline-grid;
  min-width: 22px;
  min-height: 22px;
  place-items: center;
  border-radius: 6px;
  background: var(--panel-soft);
  color: var(--accent-dark);
  font-size: 14px;
  font-weight: 750;
}

.sidebar-actions {
  display: grid;
  gap: 8px;
  margin-top: auto;
}

.auth-panel {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
  font-size: 12px;
}

.auth-panel p {
  margin: 0;
  color: var(--muted);
  line-height: 1.35;
}

.login-form {
  display: grid;
  gap: 8px;
}

.login-form input {
  min-height: 34px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 7px 9px;
}

.storage-chip {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 22px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
}

.storage-chip.demo {
  background: var(--warn-soft);
  color: var(--warn);
}

.storage-chip.live {
  background: var(--ok-soft);
  color: var(--ok);
}

.workspace {
  min-width: 0;
  height: 100vh;
  overflow: auto;
  padding: 26px 28px 32px;
}

.workspace-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 22px;
}

h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.12;
  letter-spacing: 0;
}

h2,
h3 {
  margin: 0;
  letter-spacing: 0;
}

#viewHint {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-field {
  display: block;
  width: min(28vw, 320px);
}

.primary-button,
.secondary-button,
.ghost-button,
.icon-button {
  min-height: 38px;
  border-radius: 7px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  background: var(--panel);
  color: var(--ink);
  font-weight: 700;
}

.primary-button {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.primary-button:hover {
  background: var(--accent-dark);
}

.secondary-button:hover,
.ghost-button:hover,
.icon-button:hover {
  border-color: var(--strong-line);
  background: var(--panel-soft);
}

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

.ghost-button.danger {
  color: var(--danger);
}

.content {
  display: grid;
  gap: 18px;
}

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

.kpi-card {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
}

.kpi-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.kpi-value {
  margin-top: 10px;
  font-size: 30px;
  font-weight: 850;
  line-height: 1;
}

.kpi-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
}

.split-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  gap: 14px;
}

.section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 15px;
  border-bottom: 1px solid var(--line);
}

.section-header h2 {
  font-size: 17px;
}

.section-header p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  overflow: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.data-table th,
.data-table td {
  border-bottom: 1px solid var(--line);
  padding: 11px 12px;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
}

.data-table th {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.data-table tr {
  transition: background 120ms ease;
}

.data-table tbody tr:hover,
.data-table tbody tr.selected {
  background: #f4f7f1;
}

.data-table tbody tr {
  cursor: pointer;
}

.cell-main {
  display: grid;
  gap: 3px;
}

.cell-main strong {
  font-weight: 800;
}

.cell-main span {
  color: var(--muted);
  font-size: 12px;
}

.status-pill,
.severity-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 9px;
  background: var(--panel-soft);
  color: var(--ink);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

.status-pill.ok {
  border-color: #b5d7b8;
  background: var(--ok-soft);
  color: var(--ok);
}

.status-pill.warn,
.severity-pill.warn {
  border-color: #efc77d;
  background: var(--warn-soft);
  color: var(--warn);
}

.status-pill.danger,
.severity-pill.danger {
  border-color: #efb7b0;
  background: var(--danger-soft);
  color: var(--danger);
}

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

.severity-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.severity-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
}

.severity-item:last-child {
  border-bottom: 0;
}

.empty {
  padding: 24px 16px;
  color: var(--muted);
  text-align: center;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  gap: 8px;
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
}

.filter-field {
  display: grid;
  min-width: min(190px, 100%);
  gap: 4px;
}

.filter-field span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.filter-bar select {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 6px 9px;
}

.filter-reset {
  margin-left: auto;
}

.detail-panel {
  position: sticky;
  top: 0;
  container: detail / inline-size;
  height: 100vh;
  min-width: 0;
  overflow-x: hidden;
  overflow-y: auto;
  border-left: 1px solid var(--line);
  background: #fcfdfb;
}

.detail-resize-handle {
  position: sticky;
  top: 0;
  z-index: 3;
  height: 100vh;
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(90deg, transparent 0 3px, rgba(14, 95, 143, 0.3) 3px 5px, transparent 5px 100%),
    #eef4f2;
  cursor: col-resize;
}

.detail-resize-handle:hover {
  background:
    linear-gradient(90deg, transparent 0 3px, rgba(14, 95, 143, 0.7) 3px 5px, transparent 5px 100%),
    #e1ebe7;
}

body.detail-resizing {
  cursor: col-resize;
  user-select: none;
}

.app-shell.detail-fullscreen .detail-panel {
  position: fixed;
  inset: 0;
  z-index: 40;
  width: 100vw;
  height: 100vh;
  border-left: 0;
}

.app-shell.detail-fullscreen .detail-close {
  display: inline-grid;
  place-items: center;
}

.detail-empty {
  display: grid;
  min-height: 100%;
  place-items: center;
  padding: 24px;
  color: var(--muted);
  text-align: center;
}

.detail-head {
  display: grid;
  gap: 12px;
  padding: 22px;
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.detail-action-head {
  padding-top: 12px;
  padding-bottom: 12px;
  background: #fcfdfb;
}

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

.detail-title-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.compact-action {
  min-height: 32px;
  padding: 5px 9px;
  font-size: 12px;
}

.detail-close {
  display: inline-grid;
  width: 38px;
  place-items: center;
  padding: 0;
  font-size: 22px;
  line-height: 1;
}

.detail-title {
  margin: 0;
  font-size: 20px;
  line-height: 1.2;
}

.detail-kicker {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-subtitle {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.detail-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.detail-meta-grid div {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 8px 9px;
}

.detail-meta-grid dt {
  margin: 0 0 3px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.detail-meta-grid dd {
  margin: 0;
  overflow-wrap: anywhere;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.25;
}

.detail-body {
  display: grid;
  gap: 18px;
  padding: 18px 22px 28px;
}

.detail-section {
  display: grid;
  gap: 12px;
}

.detail-section h3 {
  font-size: 15px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 11px;
  min-width: 0;
}

.form-grid .wide {
  grid-column: 1 / -1;
}

.checkbox-line {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  color: var(--ink);
}

.checkbox-line input {
  width: 18px;
  height: 18px;
}

.warning-box {
  display: grid;
  gap: 7px;
}

.warning-row {
  border-radius: 7px;
  padding: 10px;
  font-size: 13px;
  line-height: 1.35;
}

.warning-row.warn {
  background: var(--warn-soft);
  color: #604111;
}

.warning-row.danger {
  background: var(--danger-soft);
  color: #6d2222;
}

.detail-save-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.save-status {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  padding: 5px 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.save-status.saved {
  border-color: rgba(48, 116, 85, 0.3);
  background: var(--ok-soft);
  color: var(--ok);
}

.save-status.dirty,
.save-status.saving {
  border-color: rgba(172, 111, 20, 0.32);
  background: var(--warn-soft);
  color: var(--warn);
}

.save-status.conflict,
.save-status.error {
  border-color: rgba(169, 69, 58, 0.32);
  background: var(--danger-soft);
  color: var(--danger);
}

.save-error-message {
  border: 1px solid rgba(169, 69, 58, 0.28);
  border-radius: 8px;
  background: var(--danger-soft);
  color: var(--danger);
  padding: 9px 11px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.contact-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 10px;
}

.contact-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
}

.contact-note {
  margin: 6px 0 0;
  font-size: 13px;
  line-height: 1.35;
}

.price-form {
  display: grid;
  grid-template-columns: repeat(4, minmax(150px, 1fr));
  gap: 10px;
  padding: 14px;
  border-bottom: 1px solid var(--line);
}

.user-form {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) minmax(190px, 1fr) minmax(150px, 0.8fr) auto;
  gap: 10px;
  padding: 0 14px 14px;
}

.price-form .wide-price {
  grid-column: span 2;
}

.table-input {
  min-height: 32px;
  width: 100%;
  min-width: 110px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 6px 8px;
}

.model-input {
  min-width: 170px;
}

.money-input {
  min-width: 100px;
  text-align: right;
}

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

.selected-price {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-soft);
  padding: 9px 10px;
  font-size: 13px;
}

.selected-price strong {
  color: var(--accent-dark);
}

.cross-offer-grid {
  display: grid;
  grid-template-columns: 54px minmax(105px, 1fr) minmax(150px, 1.25fr) minmax(95px, 0.8fr) minmax(110px, 0.9fr);
  gap: 8px;
  align-items: center;
  min-width: 0;
  margin-bottom: 12px;
}

.cross-offer-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.cross-offer-index {
  display: grid;
  min-height: 38px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--panel-soft);
  font-weight: 800;
}

.cross-offer-grid input,
.cross-offer-grid select {
  min-height: 38px;
  min-width: 0;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  color: var(--ink);
  padding: 8px 10px;
}

@container detail (max-width: 680px) {
  .detail-meta-grid,
  .cross-offer-grid {
    grid-template-columns: 1fr;
  }

  .cross-offer-head {
    display: none;
  }

  .cross-offer-index {
    justify-items: start;
    border-top: 1px solid var(--line);
    padding-top: 10px;
  }
}

.row-action {
  min-height: 30px;
  padding: 5px 9px;
}

.progress-bars {
  display: grid;
  gap: 10px;
  padding: 15px;
}

.progress-row {
  display: grid;
  grid-template-columns: 150px 1fr 38px;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.bar-track {
  height: 10px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--panel-soft);
}

.bar-fill {
  height: 100%;
  border-radius: inherit;
  background: var(--accent);
}

.mounting-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  padding: 14px;
}

.mount-card {
  display: grid;
  gap: 11px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  padding: 14px;
}

.mount-card h3 {
  font-size: 16px;
}

.mount-meta {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 13px;
}

.mount-tire-box {
  display: grid;
  gap: 5px;
  border: 1px solid #b8d8cf;
  border-radius: 8px;
  background: #eef7f2;
  padding: 10px;
}

.mount-tire-box > span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mount-tire-box strong {
  font-size: 18px;
}

.mount-tire-box p {
  margin: 0;
}

.mount-tire-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mount-tire-tags span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  padding: 3px 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mount-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

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

.backup-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 1fr));
  gap: 12px;
  padding: 14px;
}

.backup-tile {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel-soft);
  padding: 13px;
}

.backup-tile span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.backup-tile p,
.backup-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.backup-copy {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 14px;
}

.backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 14px 14px;
}

.rule-list,
.admin-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 14px;
  list-style: none;
}

.rule-list li,
.admin-list li {
  border-bottom: 1px solid var(--line);
  padding-bottom: 9px;
  line-height: 1.35;
}

.rule-list li:last-child,
.admin-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.admin-controls {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
}

.admin-controls select {
  min-height: 34px;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: #fff;
  padding: 6px 8px;
}

.inline-checkbox {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}

.toast {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 20;
  max-width: min(360px, calc(100vw - 36px));
  transform: translateY(18px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .app-shell {
    grid-template-columns: 220px minmax(0, 1fr);
    overflow: visible;
  }

  .detail-resize-handle {
    display: none;
  }

  .detail-panel {
    position: fixed;
    inset: 0;
    z-index: 30;
    width: 100vw;
    height: 100vh;
    transform: translateX(100%);
    border-left: 0;
    box-shadow: -18px 0 36px rgba(27, 36, 29, 0.16);
    transition: transform 180ms ease;
  }

  .detail-panel.is-open {
    transform: translateX(0);
  }

  .detail-close {
    display: inline-grid;
    place-items: center;
  }

  .detail-title-actions [data-reset-detail-width] {
    display: none;
  }
}

@media (max-width: 860px) {
  .app-shell {
    display: block;
  }

  .sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .workspace {
    height: auto;
    min-height: 100vh;
    padding: 20px 14px;
  }

  .workspace-header,
  .header-actions {
    display: grid;
    width: 100%;
  }

  .search-field {
    width: 100%;
  }

  .kpi-grid,
  .split-grid,
  .admin-grid,
  .backup-grid,
  .form-grid,
  .price-form {
    grid-template-columns: 1fr;
  }

  .detail-panel {
    width: 100vw;
  }

  .detail-head,
  .detail-body {
    padding-inline: 16px;
  }

  .user-form {
    grid-template-columns: 1fr;
  }

  .cross-offer-grid {
    grid-template-columns: 1fr;
  }

  .cross-offer-head {
    display: none;
  }

  .price-form .wide-price {
    grid-column: auto;
  }
}
