:root {
  color-scheme: light;
  --app-bg: #252440;
  --app-bg-deep: #1d1c33;
  --header: #202039;
  --panel: #ffffff;
  --panel-soft: #f7f9fc;
  --panel-tint: #f7f2df;
  --panel-border: #d8dee8;
  --text: #171923;
  --muted: #667085;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --gold: #f7b500;
  --gold-dark: #8a5a12;
  --danger: #b42318;
  --danger-soft: #fff1ef;
  --ok: #0f7a43;
  --ok-soft: #e9f8ef;
  --warn: #8a5a12;
  --warn-soft: #fff6d8;
  --error-soft: #fdeeee;
  --row: #f8fbff;
  --row-alt: #eef6ff;
  --focus: 0 0 0 3px rgba(247, 181, 0, 0.25);
  --shadow: 0 18px 34px rgba(9, 12, 22, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--app-bg);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(247, 181, 0, 0.16), transparent 310px),
    linear-gradient(180deg, var(--app-bg) 0, var(--app-bg-deep) 100%);
  color: var(--text);
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 14px;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  min-height: 38px;
  padding: 0 14px;
  transition: background 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

button:focus-visible,
input:focus,
textarea:focus,
a:focus-visible {
  outline: none;
  border-color: var(--gold);
  box-shadow: var(--focus);
}

button.primary {
  background: var(--gold);
  color: #171100;
  font-weight: 800;
}

button.primary:hover {
  background: #ffca2e;
}

button.secondary {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #111827;
  font-weight: 800;
}

.nav-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: #111827;
  font-weight: 800;
  text-decoration: none;
}

.icon-button {
  width: 36px;
  min-height: 34px;
  padding: 0;
  border-color: var(--panel-border);
  background: #fff;
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.danger {
  background: var(--danger-soft);
  border-color: #f0b8b2;
  color: var(--danger);
  min-height: 30px;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 800;
}

.app-header {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  align-items: center;
  gap: 14px;
  min-height: 78px;
  padding: 14px 22px;
  background: rgba(32, 32, 57, 0.96);
  color: #fff;
  border-bottom: 1px solid #4a4a76;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 13px;
  min-width: 0;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--gold);
  color: #251a00;
  font-size: 22px;
  font-weight: 900;
}

.app-header h1 {
  margin: 0;
  font-size: 23px;
  letter-spacing: 0;
  line-height: 1.1;
}

.app-header p {
  margin: 5px 0 0;
  color: #d8d8ee;
}

.status-badge {
  justify-self: end;
  max-width: 360px;
  border: 1px solid #4a4a76;
  border-radius: 6px;
  background: #34345f;
  color: #ffffff;
  padding: 8px 11px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.status-badge[data-status="saving"] {
  background: var(--warn-soft);
  border-color: #f0cf72;
  color: var(--warn);
}

.status-badge[data-status="saved"] {
  background: var(--ok-soft);
  border-color: #a8dfbd;
  color: var(--ok);
}

.status-badge[data-status="error"] {
  background: var(--error-soft);
  border-color: #f0b8b2;
  color: var(--danger);
}

.header-actions {
  display: flex;
  gap: 9px;
  flex: 0 0 auto;
}

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 16px;
}

.search-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 16px;
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: 16px;
}

.work-area,
.search-main,
.side-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 16px;
}

.search-panel {
  background: #f8fafc;
}

.panel-title {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.panel-title h2 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 0;
  line-height: 1.2;
}

.panel-title span {
  display: inline-block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.folio-chip,
.total-pill {
  border: 1px solid #ead8a3;
  border-radius: 6px;
  background: var(--panel-tint);
  color: var(--gold-dark);
  padding: 6px 9px;
  font-weight: 800;
}

.folio-chip.muted {
  background: #f3f4f6;
  border-color: #d9dde5;
  color: var(--muted);
}

.total-pill {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-width: 178px;
  justify-content: space-between;
}

.total-pill span {
  color: var(--muted);
  font-weight: 800;
}

.form-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.3fr) minmax(150px, 0.8fr) minmax(210px, 1fr) 130px;
  gap: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #4b5563;
  font-size: 12px;
  font-weight: 800;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--panel-border);
  border-radius: 6px;
  color: var(--text);
  background: #fff;
  min-height: 39px;
  padding: 8px 10px;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

input:hover,
textarea:hover {
  background: #fcfdff;
}

textarea {
  resize: vertical;
}

.notes {
  margin-top: 12px;
}

.search-form {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 110px 150px 110px;
  align-items: end;
  gap: 10px;
}

.product-search-form {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) 110px 150px 120px;
  align-items: end;
  gap: 10px;
}

.action-search {
  background: #ddebff;
  border-color: #b7cef4;
}

.action-quote {
  background: #f6e7c8;
  border-color: #ead094;
}

.action-history {
  background: #fffdf6;
  border-color: #ead8a3;
}

.quick-services {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.quick-services button,
.quick-services a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border-color: #d5e4f8;
  background: #ffffff;
  color: #1f2937;
  text-align: left;
  text-decoration: none;
}

.quick-services strong {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--gold);
  color: #251a00;
  font-size: 13px;
  font-weight: 900;
}

.quick-services span {
  overflow: hidden;
  color: #374151;
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.provider-card {
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #ffffff;
  padding: 10px;
}

.provider-card strong,
.provider-card span {
  display: block;
}

.provider-card strong {
  color: #2f2e52;
  font-size: 12px;
}

.provider-card span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.provider-card[data-status="running"] {
  border-color: #f0cf72;
  background: #fff8db;
}

.provider-card[data-status="done"] {
  border-color: #a8dfbd;
  background: #eefaf2;
}

.results-table {
  min-width: 820px;
}

.table-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #ead094;
  border-radius: 6px;
  background: #f6e7c8;
  color: #4a3511;
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.pending-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pending-list p {
  margin: 0;
  color: var(--muted);
}

.pending-item {
  justify-content: flex-start;
  min-height: 34px;
  border-color: #d8dee8;
  background: #fff;
  color: #1f2937;
  text-align: left;
  font-size: 12px;
  font-weight: 800;
}

.line-form {
  display: grid;
  grid-template-columns: 110px minmax(320px, 1fr) 150px 100px;
  align-items: end;
  gap: 12px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--panel-border);
  border-radius: 8px;
  background: #fff;
}

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

th,
td {
  padding: 9px 10px;
  border-bottom: 1px solid var(--panel-border);
  text-align: left;
  vertical-align: middle;
}

th {
  position: sticky;
  top: 0;
  background: #e8f0fe;
  color: #2f2e52;
  font-size: 12px;
  font-weight: 900;
  z-index: 1;
}

td:nth-child(1),
td:nth-child(3),
td:nth-child(4),
th:nth-child(1),
th:nth-child(3),
th:nth-child(4) {
  text-align: right;
}

td:last-child,
th:last-child {
  text-align: center;
  width: 86px;
}

td[data-editable] {
  cursor: cell;
}

td[data-editable]:hover {
  box-shadow: inset 0 0 0 2px rgba(247, 181, 0, 0.42);
}

.cell-editor {
  width: 100%;
  min-height: 30px;
  padding: 5px 7px;
}

tbody tr:nth-child(odd) {
  background: #fff;
}

tbody tr:nth-child(even) {
  background: var(--row-alt);
}

tbody tr:hover {
  background: #fff8db;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tfoot td {
  background: #f7f2df;
  border-top: 2px solid #ead8a3;
  border-bottom: 0;
  color: #2f2e52;
  font-weight: 900;
}

tfoot td:first-child {
  text-align: right;
}

.amount,
#quoteTotal,
#quoteTotalFooter {
  color: var(--gold-dark);
  font-weight: 900;
}

.empty-row td {
  color: var(--muted);
  text-align: center;
  padding: 28px;
}

.last-quote {
  display: grid;
  gap: 6px;
}

.last-quote p {
  margin: 0;
  color: var(--muted);
}

.last-quote strong {
  font-size: 15px;
}

.ticket-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.ticket-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 11px;
  border-radius: 6px;
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #1f2937;
  text-decoration: none;
  font-size: 12px;
  font-weight: 900;
}

.ticket-actions a[href*="cliente"] {
  background: #ddebff;
  border-color: #b7cef4;
  color: #1f3b66;
}

.ticket-actions a[href*="interno"] {
  background: #c7f0d8;
  border-color: #95d8af;
  color: #0f5130;
}

.ticket-actions a:hover {
  filter: brightness(0.98);
}

.history-panel {
  background: #fffdf6;
}

.history-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 10px;
}

.history-tabs button {
  min-height: 34px;
  border-color: #ead8a3;
  background: #fff;
  color: #4b5563;
  font-size: 12px;
  font-weight: 900;
}

.history-tabs button.active {
  background: var(--gold);
  border-color: #d49a00;
  color: #251a00;
}

.history-type-label {
  display: inline-block;
  margin-top: 7px;
  border-radius: 6px;
  padding: 4px 7px;
  background: #f3f4f6;
  color: #4b5563;
  font-size: 11px;
  font-weight: 900;
}

.history-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: calc(100vh - 250px);
  overflow: auto;
  padding-right: 2px;
}

.history-list > p {
  margin: 0;
  color: var(--muted);
}

.history-item {
  border: 1px solid #ead8a3;
  border-radius: 8px;
  padding: 11px;
  background: #fff;
}

.history-item strong {
  display: block;
  font-size: 13px;
  color: #2f2e52;
}

.history-item span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 4px;
}

@media (max-width: 1120px) {
  .app-header {
    grid-template-columns: 1fr auto;
  }

  .status-badge {
    grid-column: 1 / -1;
    justify-self: stretch;
    order: 3;
  }

  .layout,
  .search-layout {
    grid-template-columns: 1fr;
  }

  .history-list {
    max-height: none;
  }
}

@media (max-width: 860px) {
  .form-grid,
  .line-form,
  .search-form,
  .product-search-form {
    grid-template-columns: 1fr 1fr;
  }

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

  .search-form label,
  .product-search-form label {
    grid-column: 1 / -1;
  }

  .quick-services,
  .provider-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 620px) {
  .app-header {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    padding: 14px;
  }

  .brand-block {
    align-items: flex-start;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

  .header-actions,
  .form-grid,
  .line-form,
  .search-form,
  .product-search-form,
  .quick-services,
  .provider-grid {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .header-actions button {
    flex: 1;
  }

  .layout {
    padding: 12px;
  }

  .panel {
    padding: 14px;
  }

  .panel-title {
    flex-direction: column;
  }

  .total-pill {
    width: 100%;
  }
}

/* Buscador principal estilo ERP local */
.search-app {
  overflow-x: hidden;
  overflow-y: scroll;
  background: #252440;
  color: #ffffff;
  font-size: 12px;
}

.desktop-menu {
  display: flex;
  align-items: center;
  gap: 0;
  height: 18px;
  border-bottom: 1px solid #05050c;
  background: #f5f5f5;
  color: #000;
  position: sticky;
  top: 0;
  z-index: 30;
}

.desktop-menu button {
  min-height: 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #000;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 400;
}

.search-toolbar {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 8px;
  height: 56px;
  padding: 7px 10px;
  background: #2f2e52;
  border-bottom: 1px solid #4a4a76;
  position: sticky;
  top: 18px;
  z-index: 29;
}

.toolbar-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  min-width: 0;
}

.tool-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 94px;
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: #f8fafc;
  color: #111;
  padding: 0 10px;
  text-decoration: none;
  font-size: 12px;
  font-weight: 800;
}

.tool-button span {
  color: #1d4ed8;
  font-size: 17px;
  font-weight: 900;
}

.action-add span,
.action-run span {
  color: #16a34a;
}

.action-history span {
  color: #c75b00;
}

.toolbar-providers {
  display: grid;
  grid-template-columns: repeat(7, minmax(72px, 1fr));
  gap: 7px;
  align-items: center;
  min-width: 0;
}

.provider-status {
  min-width: 0;
  padding: 3px 2px;
  color: #fff;
}

.provider-status strong,
.provider-status span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.provider-status strong {
  font-size: 11px;
}

.provider-status span {
  margin-top: 5px;
  color: #f4f0ff;
  font-size: 11px;
}

.provider-status[data-status="running"] span {
  color: #fde68a;
}

.provider-status[data-status="done"] span {
  color: #bbf7d0;
}

.provider-status[data-status="error"] span {
  color: #fecaca;
}

.finder-shell {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  grid-template-rows: 48px auto;
  gap: 0 10px;
  min-height: calc(100vh - 74px);
  padding: 8px 10px 18px;
  background: #252440;
}

.finder-search {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 114px minmax(460px, 680px) minmax(290px, 1fr) 172px;
  align-items: center;
  gap: 10px;
  position: sticky;
  top: 74px;
  z-index: 28;
  margin: -8px -10px 8px;
  padding: 8px 10px 9px;
  background: #252440;
  border-bottom: 1px solid #4a4a76;
}

.finder-search label {
  color: #fff;
  font-size: 13px;
  font-weight: 400;
}

.finder-search input {
  min-height: 31px;
  border-radius: 0;
  border-color: #d8d8d8;
  padding: 3px 6px;
  font-size: 13px;
}

.finder-search > span {
  color: #fff;
  font-size: 12px;
  opacity: 0.92;
}

.finder-status {
  justify-self: end;
  min-width: 152px;
  min-height: 27px;
  background: #34345f;
  color: #fff;
  padding: 7px 10px;
  text-align: center;
  font-size: 12px;
}

.finder-status[data-status="saving"] {
  color: #fde68a;
}

.finder-status[data-status="saved"] {
  color: #bbf7d0;
}

.finder-status[data-status="error"] {
  color: #fecaca;
}

.finder-sidebar,
.finder-results {
  min-height: 0;
}

.finder-sidebar {
  position: sticky;
  top: 122px;
  align-self: start;
  height: calc(100vh - 134px);
}

.side-box,
.result-section {
  border: 1px solid #9b9bb7;
  background: #252440;
  color: #fff;
}

.side-box {
  display: flex;
  flex-direction: column;
  height: 100%;
  margin: 0;
  padding: 8px 7px;
}

.side-box legend,
.result-section legend {
  padding: 0 3px;
  color: #fff;
  font-size: 13px;
}

.section-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  min-height: 18px;
  margin-left: 6px;
  border-radius: 9px;
  background: #f7b500;
  color: #251a00;
  font-size: 11px;
  font-weight: 900;
}

.pending-table-wrap {
  flex: 1;
  min-height: 0;
  overflow: scroll;
  background: #fff;
}

.pending-table,
.finder-table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  background: #fff;
  color: #000;
}

.pending-table th,
.pending-table td,
.finder-table th,
.finder-table td {
  height: 24px;
  padding: 4px 7px;
  border-right: 1px solid #e6e6e6;
  border-bottom: 0;
  color: #000;
  font-size: 11px;
  vertical-align: top;
}

.pending-table th,
.finder-table th {
  position: sticky;
  top: 0;
  background: #fff;
  color: #000;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.pending-table tr.selected td {
  background: #fff8db;
}

.pending-table tr:focus {
  outline: 2px solid #f7b500;
  outline-offset: -2px;
}

.pending-table tr:focus td {
  background: #fff1b8;
}

.finder-table tbody tr:hover td {
  background: #fff8db;
}

.pending-table .empty-row td,
.finder-table .empty-row td {
  color: #777;
  text-align: center;
}

.side-actions {
  display: flex;
  gap: 7px;
  margin: 4px 0 10px;
}

.side-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  min-height: 34px;
  border: 0;
  border-radius: 0;
  background: #f8fafc;
  color: #1f2937;
  padding: 0;
}

.side-actions button:hover,
.side-actions button:focus-visible {
  background: #f7f2df;
}

.side-actions svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

#editPendingBtn {
  color: #1f4f9a;
}

#deletePendingBtn {
  color: #b42318;
}

#clearSearchBtn {
  color: #4b5563;
}

.side-box p {
  margin: 5px 2px;
  color: #fff;
  font-size: 12px;
}

.side-box .prelim {
  color: #fde68a;
  font-weight: 800;
}

.next-action {
  border-top: 1px solid #4a4a76;
  padding-top: 8px;
}

.next-action span {
  color: #bbf7d0;
  font-weight: 800;
}

.quote-summary {
  margin-top: 10px;
  background: #3b3970;
  color: #fff;
  padding: 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 900;
}

.finder-results {
  display: grid;
  grid-template-rows: repeat(3, 326px);
  gap: 14px;
  min-width: 0;
}

.result-section {
  min-height: 0;
  min-width: 0;
  margin: 0;
  padding: 4px;
}

.finder-table-wrap {
  height: 100%;
  min-width: 0;
  overflow: scroll;
  background: #fff;
}

.finder-table {
  min-width: 940px;
}

.finder-table th:nth-child(1),
.finder-table td:nth-child(1) {
  width: 48px;
  text-align: center;
}

.finder-table th:nth-child(2),
.finder-table td:nth-child(2) {
  width: 50px;
  text-align: center;
}

.finder-table th:nth-child(3),
.finder-table td:nth-child(3) {
  width: 94px;
}

.finder-table th:nth-child(4),
.finder-table td:nth-child(4) {
  width: 110px;
}

.finder-table th:nth-child(5),
.finder-table td:nth-child(5) {
  width: 120px;
}

.finder-table th:nth-child(7),
.finder-table td:nth-child(7),
.finder-table th:nth-child(8),
.finder-table td:nth-child(8) {
  width: 110px;
  text-align: right;
}

.cot-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 42px;
  border: 1px solid #ead094;
  background: #f6e7c8;
  color: #3b2a09;
  text-decoration: none;
  font-size: 11px;
  font-weight: 900;
}

.cot-link:hover {
  background: #f7b500;
  color: #251a00;
}

.cot-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

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

.cot-check span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  min-width: 42px;
  border: 1px solid #ead094;
  background: #f6e7c8;
  color: #3b2a09;
  font-size: 11px;
  font-weight: 900;
}

.cot-check input:checked + span {
  background: #f7b500;
  border-color: #c88d00;
  color: #251a00;
}

@media (max-width: 1100px) {
  .search-app {
    overflow: auto;
  }

  .search-toolbar,
  .finder-shell {
    height: auto;
  }

  .search-toolbar,
  .finder-shell,
  .finder-search {
    grid-template-columns: 1fr;
  }

  .toolbar-actions,
  .toolbar-providers {
    overflow: auto;
  }

  .finder-shell {
    grid-template-rows: auto;
  }

  .finder-results {
    grid-template-rows: repeat(3, 220px);
  }

  .side-box {
    min-height: 320px;
  }
}
