:root {
  --bg: #f5f6f2;
  --surface: #ffffff;
  --surface-2: #eef3f4;
  --text: #182022;
  --muted: #607074;
  --line: #d8e0de;
  --primary: #0f766e;
  --primary-dark: #115e59;
  --accent: #b45309;
  --danger: #b42318;
  --shadow: 0 8px 24px rgba(20, 32, 34, 0.08);
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
}

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

button {
  min-height: 36px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--surface);
  color: var(--text);
  padding: 0 14px;
  cursor: pointer;
}

button:hover {
  border-color: var(--primary);
}

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

button.primary:hover,
.segment.active:hover {
  background: var(--primary-dark);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 4;
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

h1,
h2,
p {
  margin: 0;
}

h1 {
  font-size: 22px;
  font-weight: 700;
}

h2 {
  font-size: 16px;
}

.topbar p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}

.top-actions {
  display: flex;
  align-items: end;
  gap: 10px;
}

.top-actions[hidden] {
  display: none;
}

.layout {
  display: grid;
  grid-template-columns: minmax(340px, 0.95fr) minmax(520px, 1.35fr);
  gap: 16px;
  padding: 16px;
}

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

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

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

.section-controls {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
}

.pricing-mode .segment {
  min-width: 88px;
}

.pricing-mode .segment[data-pricing-mode="custom"] {
  min-width: 190px;
}

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

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

.field input,
.field textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  color: var(--text);
  padding: 9px 10px;
}

.field textarea {
  resize: vertical;
  line-height: 1.55;
}

.field.compact {
  width: 150px;
}

.key-field {
  width: min(32vw, 340px);
}

.customer-id-field {
  margin-bottom: 12px;
}

.customer-id-field span {
  color: var(--danger);
  font-weight: 700;
}

.customer-id-field input {
  border-color: #fca5a5;
  color: var(--danger);
  font-size: 18px;
  font-weight: 700;
  background: #fff7f7;
}

.customer-id-field input::placeholder {
  color: #d46b63;
}

.customer-id-field input:focus {
  outline: 2px solid rgba(180, 35, 24, 0.16);
  border-color: var(--danger);
}

.quote-note-field {
  margin-bottom: 12px;
}

.quote-note-field span {
  color: var(--accent);
  font-weight: 700;
}

.quote-note-field textarea {
  min-height: 62px;
  border-color: #f59e0b;
  background: #fffaf0;
  color: #7c2d12;
  font-weight: 600;
}

.quote-note-field textarea:focus {
  outline: 2px solid rgba(180, 83, 9, 0.16);
  border-color: var(--accent);
}

.line-color-note {
  color: var(--danger);
  font-weight: 700;
}

.quote-memory-panel {
  margin-bottom: 12px;
  padding: 10px;
  border: 1px solid #d6e6e1;
  border-radius: 8px;
  background: #f7fbfa;
}

.quote-memory-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 8px;
}

.quote-memory-head strong {
  color: var(--primary-dark);
  font-size: 14px;
}

.quote-memory-head span,
.quote-memory-empty {
  color: var(--muted);
  font-size: 12px;
}

.quote-memory-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px;
}

.quote-memory-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px;
  align-items: stretch;
}

.quote-memory-main {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 7px 9px;
  text-align: left;
  background: #fff;
}

.quote-memory-main strong,
.quote-memory-main span,
.quote-memory-main small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-memory-main strong {
  color: var(--text);
  font-size: 13px;
}

.quote-memory-main span {
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 700;
}

.quote-memory-main small {
  color: var(--muted);
  font-size: 12px;
}

.quote-memory-delete {
  min-width: 44px;
  padding: 0 8px;
  color: var(--danger);
  font-size: 12px;
  background: #fff7f7;
  border-color: #f1c5c1;
}

.dropzone {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 128px;
  border: 1px dashed #9aa8aa;
  border-radius: 8px;
  background: var(--surface-2);
  cursor: pointer;
  margin-bottom: 12px;
}

.dropzone input {
  display: none;
}

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

.drop-subtitle {
  color: var(--muted);
  font-size: 13px;
}

.preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(96px, 1fr));
  gap: 10px;
  margin-bottom: 12px;
}

.preview {
  position: relative;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: #f2f4f3;
}

.preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preview button {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 28px;
  height: 28px;
  min-height: 28px;
  padding: 0;
  background: rgba(255, 255, 255, 0.92);
}

.file-preview {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 104px;
  padding: 10px;
}

.file-preview-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 6px;
  background: #e6f4ea;
  color: #166534;
  font-size: 12px;
  font-weight: 700;
}

.file-preview-meta {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding-right: 24px;
}

.file-preview-meta strong,
.file-preview-meta span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-preview-meta span {
  color: var(--muted);
  font-size: 12px;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.inline-select {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 36px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.inline-select span {
  color: var(--muted);
  font-size: 13px;
}

.inline-select select {
  min-width: 104px;
  border: 0;
  background: transparent;
  color: var(--text);
  outline: 0;
}

.button-row.tight {
  margin-top: 0;
}

.parts-table-actions {
  margin-top: 10px;
  margin-bottom: 4px;
}

.segmented {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.segment {
  border: 0;
  border-radius: 0;
}

.notes {
  display: grid;
  gap: 8px;
  margin-top: 14px;
  color: var(--muted);
  font-size: 13px;
}

.note {
  padding: 10px;
  border-radius: 6px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  color: #7c2d12;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

.parts-table {
  table-layout: fixed;
  min-width: 820px;
}

.parts-col-name {
  width: 24%;
}

.parts-col-quantity {
  width: 78px;
}

.parts-col-color {
  width: 92px;
}

.parts-col-evidence {
  width: 42%;
}

.parts-col-action {
  width: 56px;
}

th,
td {
  border-bottom: 1px solid var(--line);
  padding: 8px;
  text-align: left;
  vertical-align: middle;
  font-size: 14px;
}

th {
  background: #f7faf9;
  color: #405155;
  font-weight: 700;
}

td input,
td select,
td textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 7px;
}

td textarea {
  min-height: 68px;
  resize: vertical;
  line-height: 1.35;
}

td .mini-btn {
  min-height: 30px;
  padding: 0 9px;
}

.part-name-input {
  min-width: 0;
}

.parts-table input[data-field="quantity"] {
  min-width: 64px;
}

.parts-table tr.staff-modified input[data-field="name"],
.parts-table tr.staff-modified .part-name-input {
  border-color: #d6a63a;
  background: #fff8d8;
}

.parts-table tr.quantity-modified input[data-field="quantity"] {
  border-color: #d6a63a;
  background: #fff8d8;
}

.parts-table tr.temporary-priced-row input[data-field="name"] {
  border-color: #2563eb;
  background: #eff6ff;
}

.part-badge {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  margin-top: 5px;
  padding: 0 6px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

.temporary-price-badge {
  color: #1d4ed8;
  background: #dbeafe;
}

.parts-table tr.needs-quantity-confirmation input[data-field="quantity"] {
  border-color: #d44b3a;
  color: #b42318;
  background: #fff0ed;
}

.parts-table tr.unavailable-part-row textarea[data-field="evidence"],
.parts-table textarea.unavailable-evidence {
  color: var(--danger);
  border-color: #fca5a5;
  background: #fff1f2;
  font-weight: 700;
}

.parts-table input[data-field="color"] {
  min-width: 5em;
  padding-left: 4px;
  padding-right: 4px;
}

.parts-table textarea[data-field="evidence"] {
  min-width: 220px;
}

.part-combobox {
  position: relative;
}

.part-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  z-index: 12;
  display: grid;
  width: max(260px, 100%);
  max-height: 260px;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  box-shadow: var(--shadow);
}

.part-suggestions[hidden] {
  display: none;
}

.part-suggestions button {
  display: grid;
  justify-items: start;
  height: auto;
  min-height: 38px;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  padding: 7px 10px;
  text-align: left;
}

.part-suggestions button:last-child {
  border-bottom: 0;
}

.part-suggestions button:hover {
  background: #e6f4f1;
}

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

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

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

.metric {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #f9fbfb;
}

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

.metric strong {
  display: block;
  margin-top: 6px;
  font-size: 22px;
}

.quote-details {
  display: grid;
  gap: 6px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
}

.quote-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
}

.quote-line strong {
  white-space: nowrap;
  color: var(--text);
}

.recommendations {
  display: grid;
  gap: 12px;
}

.recommendation {
  display: grid;
  grid-template-columns: 220px 1fr 170px;
  gap: 12px;
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfc;
}

.recommendation h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  border-radius: 999px;
  background: #e6f4f1;
  color: #115e59;
  padding: 0 9px;
  font-size: 12px;
}

.pill-button {
  border: 0;
  cursor: pointer;
  font-family: inherit;
}

.pill-button:hover {
  background: #ccebe5;
}

.pill.warn {
  background: #fff7ed;
  color: #9a3412;
}

.missing-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.missing-list span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 3px 8px;
  color: #405155;
  font-size: 12px;
}

.total-price {
  text-align: right;
}

.total-price strong {
  display: block;
  color: var(--primary-dark);
  font-size: 22px;
}

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

.recommendation-extra-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfcfc;
}

dialog {
  width: min(860px, calc(100vw - 32px));
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0;
  box-shadow: var(--shadow);
}

#quoteImageDialog {
  width: min(1440px, calc(100vw - 12px));
  max-height: calc(100vh - 12px);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.28);
}

.dialog-body {
  padding: 16px;
}

.dialog-hint {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.quote-customer-id-dialog-body {
  width: min(520px, calc(100vw - 32px));
}

.quote-customer-id-dialog-body .button-row {
  justify-content: flex-end;
}

.field-error {
  margin: 0;
  color: #b42318;
  font-size: 14px;
  font-weight: 600;
}

.quote-image-dialog-body {
  width: 100%;
  height: calc(100vh - 12px);
  max-height: calc(100vh - 12px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
}

.quote-image-dialog-body .section-title {
  flex: 0 0 auto;
  margin-bottom: 0;
}

.quote-image-dialog-body .button-row {
  flex: 0 0 auto;
  margin-top: 0;
}

.quote-image-preview-stage {
  flex: 1;
  min-height: 0;
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #eef4f2;
  padding: 8px;
  text-align: center;
}

.quote-image-preview {
  display: block;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0 auto;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}

.confirm-rows {
  display: grid;
  gap: 10px;
  max-height: 58vh;
  overflow: auto;
}

.owned-deduction-dialog {
  display: grid;
  gap: 12px;
}

.temporary-part-dialog {
  display: grid;
  gap: 12px;
}

.temporary-part-grid {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 110px 130px 120px;
  gap: 10px;
}

.owned-deduction-section {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfc;
}

.owned-deduction-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.owned-kit-rows {
  display: grid;
  gap: 8px;
  max-height: 180px;
  overflow: auto;
}

.owned-kit-row {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) 90px auto;
  gap: 8px;
  align-items: center;
}

.owned-kit-row select,
.owned-kit-row input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
}

.owned-import-list,
.diy-project-rows {
  display: grid;
  gap: 8px;
}

.owned-import-list {
  max-height: min(320px, 38vh);
  overflow: auto;
  padding-right: 4px;
}

.owned-import-summary ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.owned-import-summary li {
  margin: 3px 0;
  line-height: 1.35;
}

.diy-project-row {
  display: grid;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.diy-project-row .owned-kit-row {
  grid-template-columns: minmax(180px, 1fr) auto auto;
}

.diy-project-part-summary {
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
  background: #f7faf9;
}

.diy-project-part-summary ul {
  margin: 6px 0 0;
  padding-left: 18px;
}

.diy-project-part-summary li {
  margin: 3px 0;
  line-height: 1.35;
}

.diy-project-import-status,
.kit-import-status {
  border: 1px solid #f8c66a;
  border-radius: 6px;
  padding: 8px;
  background: #fff8e7;
  color: #8a4b00;
  font-size: 13px;
  font-weight: 700;
}

.owned-deduction-preview {
  min-height: 96px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f7faf9;
}

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

.owned-preview-grid section {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fff;
}

.owned-preview-grid h3 {
  margin: 0 0 8px;
  font-size: 14px;
}

.owned-preview-grid ul {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
}

.owned-preview-grid li {
  margin: 4px 0;
  line-height: 1.35;
}

.empty-state.small {
  padding: 8px;
  font-size: 12px;
}

.audit-confirm-rows {
  display: grid;
  gap: 10px;
  max-height: 58vh;
  overflow: auto;
}

.confirm-row {
  display: grid;
  grid-template-columns: minmax(180px, 0.8fr) minmax(220px, 1.2fr);
  gap: 12px;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #fbfcfc;
}

.audit-confirm-row {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-left: 4px solid #c83b2f;
  border-radius: 8px;
  padding: 10px;
  background: #fffafa;
}

.confirm-row strong,
.confirm-row span,
.audit-confirm-row strong,
.audit-confirm-row span {
  display: block;
}

.confirm-row span,
.audit-confirm-row span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.confirm-row select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
}

.confirm-row input[type="number"] {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 8px;
}

.confirm-row input.input-error,
.needs-quantity-confirmation input[data-field="quantity"] {
  border-color: #c83b2f;
  background: #fffafa;
}

.kit-price-rows {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-height: 58vh;
  overflow: auto;
}

.kit-price-row {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
}

.kit-price-row strong {
  display: block;
  margin-bottom: 8px;
}

.kit-price-row .price-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.toast {
  position: fixed;
  right: 16px;
  bottom: 16px;
  max-width: min(360px, calc(100vw - 32px));
  background: #152021;
  color: #fff;
  border-radius: 8px;
  padding: 12px 14px;
  box-shadow: var(--shadow);
  transform: translateY(24px);
  opacity: 0;
  pointer-events: none;
  transition: 160ms ease;
}

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

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

@media (max-width: 960px) {
  .topbar,
  .top-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .key-field,
  .field.compact {
    width: 100%;
  }

  .layout,
  .recommendation,
  .kit-price-rows,
  .temporary-part-grid,
  .confirm-row {
    grid-template-columns: 1fr;
  }

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

  .total-price {
    text-align: left;
  }
}

.topbar-title-block {
  min-width: 0;
}

.topbar-title-row,
.topbar-session-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topbar-session-actions {
  justify-content: flex-end;
}

.quote-history-badge {
  min-height: 30px;
  padding: 0 10px;
  border-color: #99c8be;
  background: #eef9f6;
  color: var(--primary-dark);
  font-size: 13px;
  font-weight: 700;
}

.quote-history-badge[hidden],
.logout-btn[hidden] {
  display: none;
}

.logout-btn {
  flex: 0 0 auto;
}

.quote-history-dialog {
  width: min(920px, calc(100vw - 24px));
  max-height: calc(100vh - 24px);
}

.quote-history-dialog-body {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 24px);
  overflow: hidden;
}

.quote-history-filters {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) 210px;
  gap: 12px;
  margin-bottom: 12px;
}

.quote-history-list {
  display: grid;
  gap: 8px;
  min-height: 180px;
  overflow: auto;
}

.quote-history-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 10px 12px;
  text-align: left;
  background: #fff;
}

.quote-history-item-main {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.quote-history-item strong,
.quote-history-item span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-history-item span,
.quote-history-empty,
.quote-history-loading {
  color: var(--muted);
  font-size: 13px;
}

.quote-history-item-total {
  color: var(--primary-dark);
  font-size: 17px;
  font-weight: 700;
}

.quote-history-empty,
.quote-history-loading {
  padding: 36px 12px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  text-align: center;
}

.site-login-dialog {
  width: min(420px, calc(100vw - 24px));
}

.site-login-dialog::backdrop {
  background: rgba(20, 32, 34, 0.58);
}

.site-login-card {
  display: grid;
  gap: 16px;
}

.site-login-card h2 {
  font-size: 20px;
}

.site-login-error {
  min-height: 20px;
  color: var(--danger);
  font-size: 13px;
}

@media (max-width: 720px) {
  .topbar-title-row,
  .topbar-session-actions {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .quote-history-filters {
    grid-template-columns: 1fr;
  }

  .quote-history-item {
    grid-template-columns: 1fr;
  }

  .quote-history-item-total {
    font-size: 15px;
  }
}
