:root {
  color-scheme: light;
  --bg: #ffffff;
  --panel: rgba(255, 255, 255, 0.86);
  --panel-solid: #ffffff;
  --panel-soft: rgba(0, 0, 0, 0.045);
  --line: rgba(16, 16, 16, 0.14);
  --line-strong: rgba(91, 214, 187, 0.36);
  --text: #101010;
  --muted: rgba(16, 16, 16, 0.58);
  --accent: #5bd6bb;
  --accent-soft: rgba(91, 214, 187, 0.15);
  --danger: #ff5c5c;
  --danger-soft: rgba(255, 92, 92, 0.16);
  --warn: #f0b84a;
  --shadow: 0 18px 48px rgba(0, 0, 0, 0.11);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
}

body {
  color: var(--text);
}

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

button,
select,
input,
textarea {
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.045);
  outline: none;
}

button {
  height: 32px;
  min-width: 62px;
  padding: 0 11px;
  font-weight: 800;
  cursor: pointer;
}

button:hover,
select:hover,
input:hover,
textarea:hover {
  border-color: rgba(91, 214, 187, 0.62);
  background: rgba(91, 214, 187, 0.12);
}

button:active {
  transform: translateY(1px);
}

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

button.danger {
  color: #7a1010;
  border-color: rgba(255, 92, 92, 0.7);
  background: rgba(255, 92, 92, 0.16);
}

button.ghost-button {
  background: rgba(0, 0, 0, 0.045);
}

input,
select,
textarea {
  width: 100%;
  min-width: 0;
  padding: 8px 10px;
  min-height: 32px;
}

input[type="file"] {
  padding: 6px 8px;
}

select option {
  color: #101010;
  background: #ffffff;
}

textarea {
  min-height: 54px;
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: rgba(91, 214, 187, 0.9);
  box-shadow: 0 0 0 2px rgba(91, 214, 187, 0.12);
}

label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr;
  background: #ffffff;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 56px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(10px);
}

.brand,
.login-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-link {
  color: inherit;
  text-decoration: none;
}

.brand-link:hover {
  color: inherit;
}

.brand-mark {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 3px solid var(--accent);
  border-radius: 50%;
  box-shadow:
    0 0 12px rgba(91, 214, 187, 0.35),
    inset 0 0 0 2px #ffffff;
}

.brand-copy,
.login-brand > span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.brand strong,
.login-brand strong {
  font-size: 15px;
  letter-spacing: 0;
}

.brand span span,
.login-brand span span,
.muted {
  color: var(--muted);
  font-size: 12px;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 6px;
}

.language-switcher label {
  white-space: nowrap;
}

.language-switcher select {
  width: 138px;
  min-height: 32px;
  padding: 4px 8px;
}

.login-page > .language-switcher {
  position: fixed;
  top: 14px;
  right: 14px;
}

.content {
  width: min(100%, 1760px);
  margin: 0 auto;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.workspace-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.workspace-title {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.eyebrow {
  color: var(--accent);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.workspace-title h1,
.section-header h2 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: 0;
}

.toolbar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.toolbar.is-readonly {
  pointer-events: none;
}

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

.field.compact {
  width: 220px;
}

.warehouse-toolbar {
  align-items: center;
  gap: 10px;
}

.warehouse-label {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.warehouse-select {
  width: 280px;
  height: 52px;
  min-height: 52px;
}

.readonly-value {
  min-height: 32px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0 10px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.04);
  font-weight: 800;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 8px;
}

.metric {
  min-height: 74px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.035), rgba(0, 0, 0, 0.018));
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.metric strong {
  display: block;
  margin-top: 7px;
  font-size: 22px;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

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

.transfer-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.transfer-card-head {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.03);
}

.transfer-card-head h3 {
  margin: 0;
  font-size: 16px;
  line-height: 1.15;
}

.transfer-row {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) auto 132px;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.07);
}

.transfer-item {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.transfer-item span,
.transfer-empty {
  color: var(--muted);
  font-size: 12px;
}

.transfer-empty {
  padding: 14px 12px;
}

.merge-note {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.transfer-form {
  display: block;
}

.transfer-error {
  margin: 12px 14px 0;
  border: 1px solid rgba(255, 91, 91, 0.45);
  border-radius: 8px;
  padding: 10px 12px;
  color: #8a2020;
  background: rgba(255, 91, 91, 0.09);
  font-weight: 850;
}

.transfer-qty {
  display: grid;
  grid-template-columns: auto 104px;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.transfer-qty span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.transfer-qty input {
  width: 100%;
  min-height: 46px;
  padding: 8px 10px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.transfer-commit {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) 132px;
  align-items: flex-end;
  gap: 14px;
  padding: 14px;
}

.transfer-commit input {
  min-height: 46px;
}

.transfer-row .ghost-button,
.transfer-commit button {
  width: 100%;
  height: 46px;
}

.section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 48px;
  padding: 11px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(0, 0, 0, 0.035);
}

.search-form {
  display: grid;
  grid-template-columns: minmax(260px, 520px);
  align-items: center;
  gap: 8px;
}

.ghost-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  background: rgba(0, 0, 0, 0.045);
  font-weight: 800;
  text-decoration: none;
}

.status-chip,
.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 22px;
  border: 1px solid rgba(91, 214, 187, 0.24);
  border-radius: 6px;
  padding: 2px 8px;
  color: #101010;
  background: var(--accent);
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.pill {
  color: var(--text);
  background: rgba(91, 214, 187, 0.12);
}

.repair-pill {
  border-color: rgba(214, 96, 96, 0.34);
  color: #8b2f2f;
  background: rgba(214, 96, 96, 0.12);
}

.movement-pill {
  border-color: var(--movement-border);
  color: var(--movement-text);
  background: var(--movement-pill-bg);
}

.movement-row {
  --movement-row-bg: rgba(0, 0, 0, 0.012);
  --movement-row-hover: rgba(91, 214, 187, 0.07);
  --movement-pill-bg: rgba(91, 214, 187, 0.12);
  --movement-border: rgba(91, 214, 187, 0.28);
  --movement-text: #101010;
  background: var(--movement-row-bg);
}

.movement-row:hover {
  background: var(--movement-row-hover);
}

.movement-create {
  --movement-row-bg: rgba(91, 214, 187, 0.075);
  --movement-row-hover: rgba(91, 214, 187, 0.14);
  --movement-pill-bg: rgba(91, 214, 187, 0.2);
  --movement-border: rgba(91, 214, 187, 0.42);
  --movement-text: #0f5c4e;
}

.movement-update {
  --movement-row-bg: rgba(111, 142, 170, 0.08);
  --movement-row-hover: rgba(111, 142, 170, 0.15);
  --movement-pill-bg: rgba(111, 142, 170, 0.18);
  --movement-border: rgba(111, 142, 170, 0.38);
  --movement-text: #34536b;
}

.movement-delete {
  --movement-row-bg: rgba(255, 91, 91, 0.07);
  --movement-row-hover: rgba(255, 91, 91, 0.13);
  --movement-pill-bg: rgba(255, 91, 91, 0.16);
  --movement-border: rgba(255, 91, 91, 0.4);
  --movement-text: #8a2020;
}

.movement-merge {
  --movement-row-bg: rgba(151, 116, 214, 0.075);
  --movement-row-hover: rgba(151, 116, 214, 0.14);
  --movement-pill-bg: rgba(151, 116, 214, 0.17);
  --movement-border: rgba(151, 116, 214, 0.4);
  --movement-text: #574184;
}

.movement-issue {
  --movement-row-bg: rgba(240, 184, 74, 0.085);
  --movement-row-hover: rgba(240, 184, 74, 0.16);
  --movement-pill-bg: rgba(240, 184, 74, 0.2);
  --movement-border: rgba(240, 184, 74, 0.42);
  --movement-text: #775019;
}

.movement-return {
  --movement-row-bg: rgba(87, 144, 214, 0.075);
  --movement-row-hover: rgba(87, 144, 214, 0.14);
  --movement-pill-bg: rgba(87, 144, 214, 0.17);
  --movement-border: rgba(87, 144, 214, 0.4);
  --movement-text: #285d91;
}

.movement-incoming {
  --movement-row-bg: rgba(68, 190, 117, 0.075);
  --movement-row-hover: rgba(68, 190, 117, 0.14);
  --movement-pill-bg: rgba(68, 190, 117, 0.18);
  --movement-border: rgba(68, 190, 117, 0.4);
  --movement-text: #236b3e;
}

.movement-write-off {
  --movement-row-bg: rgba(150, 105, 70, 0.075);
  --movement-row-hover: rgba(150, 105, 70, 0.14);
  --movement-pill-bg: rgba(150, 105, 70, 0.18);
  --movement-border: rgba(150, 105, 70, 0.38);
  --movement-text: #654329;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(110px, 1fr));
  gap: 10px;
  padding: 14px;
}

.item-detail {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 14px;
  padding: 14px;
}

.item-detail-media {
  width: 180px;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-detail-media .item-photo,
.item-detail-photo.item-photo-link,
.item-detail-photo.item-photo-empty {
  width: 180px;
  height: 180px;
}

.item-detail-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(120px, 1fr));
  gap: 10px;
  min-width: 0;
}

.field.wide {
  grid-column: span 2;
}

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

.readonly-block {
  min-height: 68px;
  align-items: flex-start;
  padding-top: 8px;
  white-space: pre-wrap;
}

.check-field {
  grid-column: span 2;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text);
  font-weight: 800;
}

.check-field input {
  width: auto;
  min-height: 0;
}

.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 10px;
}

.portal-links {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
}

.portal-link {
  min-width: 132px;
  height: 44px;
}

.telegram-login {
  display: flex;
  justify-content: center;
  padding-top: 10px;
}

.table-wrap {
  width: 100%;
  overflow: auto;
}

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

.settings-tree {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  overflow: hidden;
}

.settings-tree summary {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  font-weight: 900;
  cursor: pointer;
  list-style: none;
  border-bottom: 1px solid transparent;
}

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

.settings-tree summary::before {
  content: "";
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(-45deg);
  transition: transform 140ms ease;
}

.settings-tree[open] summary {
  border-bottom-color: var(--line);
}

.settings-tree[open] summary::before {
  transform: rotate(45deg);
}

.settings-tree summary > span:first-child {
  margin-right: auto;
}

.access-matrix table {
  min-width: 920px;
}

.access-matrix th:not(:first-child),
.access-matrix td:not(:first-child) {
  width: 132px;
  text-align: center;
}

.access-matrix td:first-child strong,
.access-matrix td:first-child .muted {
  display: block;
}

.access-check {
  width: 100%;
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.access-check input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.access-check span {
  width: 28px;
  height: 28px;
  border: 2px solid rgba(16, 16, 16, 0.2);
  border-radius: 7px;
  background: rgba(0, 0, 0, 0.035);
  box-shadow: inset 0 0 0 0 rgba(91, 214, 187, 0);
}

.access-check input:checked + span {
  border-color: rgba(91, 214, 187, 0.86);
  background: rgba(91, 214, 187, 0.28);
  box-shadow: inset 0 0 0 7px rgba(91, 214, 187, 0.38);
}

.access-check input:disabled + span {
  opacity: 0.45;
  cursor: not-allowed;
}

.access-actions {
  padding: 14px;
}

table {
  width: 100%;
  min-width: 1440px;
  border-collapse: collapse;
}

.movement-table {
  min-width: 1500px;
}

th,
td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(16, 16, 16, 0.085);
  text-align: left;
  vertical-align: middle;
}

th {
  position: sticky;
  top: 0;
  z-index: 1;
  color: rgba(16, 16, 16, 0.62);
  background: #f2f4f3;
  font-size: 12px;
  font-weight: 900;
}

tbody tr {
  background: rgba(0, 0, 0, 0.012);
}

tbody tr:hover {
  background: rgba(91, 214, 187, 0.07);
}

tbody tr.is-low {
  background: rgba(240, 184, 74, 0.07);
}

tbody tr.is-out {
  background: rgba(231, 76, 60, 0.075);
}

tbody tr.is-negative {
  background: rgba(132, 90, 190, 0.08);
}

tbody tr.needs-repair {
  background: rgba(214, 96, 96, 0.055);
}

tbody tr.needs-repair:hover {
  background: rgba(214, 96, 96, 0.105);
}

td strong {
  font-size: 14px;
}

.inline-edit-cell {
  cursor: text;
  border-radius: 6px;
  min-width: 72px;
}

.inline-edit-cell:hover {
  background: rgba(91, 214, 187, 0.12);
  box-shadow: inset 0 0 0 1px rgba(91, 214, 187, 0.45);
}

.inline-edit-cell.is-editing {
  padding: 4px 8px;
  background: rgba(91, 214, 187, 0.08);
  box-shadow: inset 0 0 0 2px var(--accent);
  overflow: hidden;
}

.inline-edit-cell.is-saving {
  opacity: 0.68;
  cursor: wait;
}

.inline-edit-input {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  height: 32px;
  max-height: 100%;
  padding: 4px 6px;
  font-weight: 850;
}

.inline-edit-cell-compact {
  min-width: 64px;
}

td.actions {
  width: 1%;
  white-space: nowrap;
}

td.actions .action-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

td.actions form {
  display: flex;
  margin: 0;
}

td.actions button,
td.actions .action-link {
  height: 34px;
  min-height: 34px;
}

.photo-cell {
  width: 76px;
}

.item-photo-link {
  display: inline-flex;
  width: 56px;
  height: 56px;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.04);
  vertical-align: middle;
}

.item-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.item-photo-empty {
  display: inline-block;
  width: 56px;
  height: 56px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.025);
  vertical-align: middle;
}

.edit-photo-preview {
  width: 76px;
  height: 76px;
}

.transaction-photo-link,
.transaction-photo-empty {
  width: 44px;
  height: 44px;
}

.lightbox,
.loading-overlay {
  position: fixed;
  inset: 0;
}

.lightbox[hidden],
.loading-overlay[hidden] {
  display: none !important;
}

.lightbox {
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.76);
  cursor: zoom-out;
}

.lightbox-image {
  display: block;
  max-width: 80vw;
  max-height: 80vh;
  object-fit: contain;
  background: transparent;
  border-radius: 8px;
  box-shadow: 0 22px 80px rgba(0, 0, 0, 0.42);
  cursor: default;
}

.loading-overlay {
  z-index: 110;
  display: grid;
  place-items: center;
  background: rgba(96, 96, 96, 0.42);
  backdrop-filter: blur(1px);
  cursor: wait;
}

.loading-panel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 180px;
  justify-content: center;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 8px;
  color: var(--text);
  font-weight: 900;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.loading-spinner {
  width: 22px;
  height: 22px;
  border: 3px solid rgba(0, 0, 0, 0.14);
  border-top-color: var(--accent);
  border-radius: 999px;
  animation: storage-spin 0.8s linear infinite;
}

@keyframes storage-spin {
  to {
    transform: rotate(360deg);
  }
}

.qty {
  font-variant-numeric: tabular-nums;
  font-weight: 850;
}

.low {
  color: var(--warn);
}

.out {
  color: #b51f1f;
}

.negative {
  color: #7b3db7;
}

.repair {
  color: #9b3434;
}

.empty-cell {
  height: 96px;
  color: var(--muted);
  text-align: center;
}

.flash,
.error {
  padding: 10px 12px;
  border-radius: 8px;
  font-weight: 800;
}

.flash {
  border: 1px solid rgba(91, 214, 187, 0.35);
  background: rgba(91, 214, 187, 0.1);
}

.error {
  border: 1px solid rgba(255, 92, 92, 0.42);
  background: var(--danger-soft);
}

.inline-form {
  display: inline;
}

.login-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background: #ffffff;
}

.login-box {
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.login-box p {
  margin: 0;
}

@media (max-width: 980px) {
  .workspace-head {
    align-items: stretch;
    flex-direction: column;
  }

  .toolbar {
    width: 100%;
    margin-left: 0;
  }

  .warehouse-toolbar {
    display: grid;
    grid-template-columns: auto minmax(180px, 1fr);
    width: 100%;
  }

  .warehouse-select {
    width: 100%;
  }

  .field.compact {
    width: 100%;
  }

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

  .transfer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

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

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

  .item-detail-media {
    width: 100%;
    justify-content: flex-start;
  }

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

  .field.wide {
    grid-column: span 2;
  }
}

@media (max-width: 560px) {
  .content {
    padding: 8px;
  }

  .metric-grid,
  .form-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .field.wide {
    grid-column: auto;
  }

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

  .transfer-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .transfer-row .ghost-button {
    grid-column: auto;
  }

  .transfer-qty {
    grid-template-columns: auto minmax(96px, 1fr);
  }

  .transfer-commit {
    grid-template-columns: minmax(0, 1fr);
  }

  .section-header {
    align-items: stretch;
    flex-direction: column;
  }

  .search-form {
    grid-template-columns: minmax(0, 1fr);
  }
}
