:root {
  --ink: #111827;
  --muted: #5d6b7c;
  --line: #d6e0ea;
  --paper: #f3f7fb;
  --panel: #ffffff;
  --field: #f7f8fa;
  --green: #087ea4;
  --green-deep: #04566f;
  --gold: #2eaadc;
  --red: #b9483c;
  --blue: #1d4f91;
  --text: var(--ink);
  --accent: var(--green);
  --shadow: 0 16px 38px rgba(22, 45, 64, 0.1);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow: hidden;
  color: var(--ink);
  font-family: "Segoe UI", "Microsoft YaHei", "Noto Sans SC", "PingFang SC", sans-serif;
  background:
    linear-gradient(90deg, rgba(8, 126, 164, 0.05) 1px, transparent 1px),
    linear-gradient(rgba(17, 24, 39, 0.04) 1px, transparent 1px),
    var(--paper);
  background-size: 28px 28px;
}

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

button {
  cursor: pointer;
}

.app-shell {
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
}

.sidebar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 68px;
  padding: 10px 18px;
  background:
    linear-gradient(90deg, rgba(8, 126, 164, 0.1), transparent 42%),
    #f8fbfd;
  color: var(--ink);
  border-bottom: 1px solid rgba(182, 200, 216, 0.9);
  display: flex;
  align-items: center;
  gap: 18px;
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: linear-gradient(135deg, #0b8eb7, #1dd1a1);
  color: #fff;
  font-weight: 800;
}

.brand strong {
  display: block;
  font-size: 18px;
}

.brand small,
.quote-stamp span {
  color: var(--muted);
}

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

.nav-btn {
  border: 0;
  color: #506174;
  background: transparent;
  padding: 9px 12px;
  border-radius: 6px;
  border-bottom: 2px solid transparent;
}

.nav-btn.active,
.nav-btn:hover {
  color: var(--green-deep);
  background: rgba(8, 126, 164, 0.09);
  border-bottom-color: var(--gold);
}

.quote-stamp {
  margin-left: auto;
  padding: 8px 12px;
  background: #ffffff;
  border: 1px solid rgba(117, 208, 238, 0.32);
  color: var(--ink);
  min-width: 160px;
}

.quote-stamp strong {
  display: block;
  margin-top: 2px;
  font-size: 15px;
}

.user-panel {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-left: auto;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid rgba(182, 200, 216, 0.9);
  border-radius: 8px;
  white-space: nowrap;
}

.user-panel span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.top-login-form {
  display: none;
  align-items: center;
  gap: 6px;
}

.top-login-form input {
  width: 112px;
  min-height: 32px;
  padding: 5px 7px;
}

.top-login-form .btn {
  min-height: 32px;
  padding: 6px 9px;
}

.user-panel + .quote-stamp {
  margin-left: 0;
}

.auth-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  place-items: center;
  padding: 24px;
}

.auth-screen.active {
  display: grid;
}

.auth-card {
  position: relative;
  z-index: 1;
  width: min(420px, 100%);
  display: grid;
  gap: 14px;
  padding: 24px;
  background: #fff;
  border: 1px solid rgba(182, 200, 216, 0.9);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(22, 45, 64, 0.16);
}

.auth-card h1 {
  font-size: 24px;
}

.login-hint {
  padding: 10px 12px;
  border: 1px solid rgba(8, 126, 164, 0.18);
  border-radius: 6px;
  background: #f0f8fb;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.guest-locked .main {
  pointer-events: auto;
  user-select: auto;
  opacity: 1;
}

.auth-ok .main {
  pointer-events: auto !important;
  user-select: auto !important;
  opacity: 1 !important;
}

.guest-locked .main::before {
  content: "请先点击顶部登录按钮";
  display: block;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(8, 126, 164, 0.22);
  border-radius: 6px;
  background: #eef8fb;
  color: var(--green-deep);
  font-size: 12px;
  font-weight: 800;
}

.main {
  min-height: 0;
  overflow: hidden;
  padding: 12px 18px;
}

.auth-ok .main::before {
  display: none !important;
  content: none !important;
}

.guest-locked .main::before {
  display: none !important;
  content: none !important;
}

.guest-mode .main::before {
  display: none !important;
  content: none !important;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.page-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  min-height: 42px;
  margin-bottom: 10px;
}

.view-toolbar {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 12px;
}

.eyebrow {
  margin: 0 0 3px;
  color: var(--green);
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
}

h1 {
  font-size: 22px;
  line-height: 1.15;
}

h2 {
  font-size: 16px;
}

.head-actions,
.form-actions,
.filter-row,
.save-preset {
  display: flex;
  gap: 10px;
}

.head-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  padding: 8px 11px;
  min-height: 36px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 700;
}

.btn.primary {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

.btn.dark {
  background: #e9f7fb;
  color: var(--green-deep);
  border-color: rgba(8, 126, 164, 0.26);
}

.btn.danger {
  color: var(--red);
  border-color: rgba(185, 72, 60, 0.28);
}

.btn.ghost {
  background: rgba(255, 255, 255, 0.58);
}

.workspace-grid {
  display: grid;
  grid-template-columns: minmax(300px, 0.72fr) minmax(620px, 1.87fr) minmax(250px, 0.63fr);
  gap: 12px;
  align-items: stretch;
  height: calc(100vh - 144px);
  min-height: 0;
}

.management-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

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

.panel {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(182, 200, 216, 0.85);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: 12px;
}

.product-picker,
.quote-editor,
.catalog-side,
.catalog-data {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

.product-picker,
.quote-editor {
  height: 100%;
  max-height: 100%;
}

.totals-panel {
  align-self: start;
  max-height: calc(100vh - 144px);
  overflow: auto;
}

.catalog-data {
  overflow: visible;
}

.catalog-side {
  overflow: auto;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(214, 224, 234, 0.7);
}

.product-picker .panel-head h2 {
  flex: 0 0 auto;
  white-space: nowrap;
}

.panel-title-actions {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.panel-title-actions h2 {
  margin-right: 2px;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  padding: 7px 8px;
  font-size: 13px;
  color: var(--ink);
  outline: 0;
}

textarea {
  resize: vertical;
}

#productSpec,
#productDesc {
  min-height: 34px;
  overflow: hidden;
  resize: none;
  line-height: 1.45;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(8, 126, 164, 0.1);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.filter-row,
.client-grid,
.setting-grid,
.form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.template-mode-row,
.template-round-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 10px;
  margin: 12px 0;
  align-items: end;
}

.form-check-option {
  min-height: 34px;
  justify-content: flex-start;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  padding: 7px 8px;
}

.form-check-option span {
  white-space: nowrap;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 14px;
}

.check-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

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

.backup-choice-option {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fbfdff;
  font-size: 13px;
}

.backup-choice-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--green);
}

.backup-choice-option span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 800;
}

.backup-choice-option strong {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.backup-choice-option.disabled {
  opacity: 0.55;
}

.mode-hint {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
  margin-top: -4px;
}

.preset-strip {
  display: flex;
  flex: 0 0 auto;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}

.product-picker .panel-head,
.product-picker .filter-row,
.product-picker .product-search-row {
  flex: 0 0 auto;
}

.product-search-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 100%;
}

.product-picker .product-search-row {
  margin-bottom: 10px;
}

.product-search-row input {
  flex: 1 1 auto;
  min-width: 0;
}

.add-quote-product-btn {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  min-height: 40px;
  padding: 0;
  justify-content: center;
  font-size: 22px;
  line-height: 1;
}

.chip {
  border: 1px solid rgba(15, 123, 99, 0.28);
  background: #edf7f3;
  color: var(--green-deep);
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.product-list,
.preset-list,
.record-list,
.party-list,
.template-list {
  display: grid;
  gap: 10px;
}

.product-list {
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  overflow: auto;
  padding-right: 4px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  align-content: start;
  align-items: stretch;
}

.catalog-row,
.preset-row,
.record-row,
.party-row,
.template-row {
  display: grid;
  gap: 8px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.product-card {
  display: grid;
  grid-template-rows: auto auto minmax(32px, auto) auto;
  gap: 3px;
  min-height: 132px;
  padding: 11px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: visible;
}

.product-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
  min-width: 0;
}

.product-card-name {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-add {
  align-self: start;
  min-width: 52px;
  padding: 6px 10px;
  white-space: nowrap;
}

.product-card-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.25;
}

.product-card-meta span,
.product-card-price {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card-spec {
  display: -webkit-box;
  min-width: 0;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  white-space: normal;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-card-foot {
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  padding-top: 2px;
  padding-bottom: 3px;
}

.product-card-price {
  max-width: 100%;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  line-height: 1.25;
}

.record-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fbfd;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.row-title {
  font-weight: 800;
  font-size: 13px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.row-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 4px 8px;
  border-radius: 999px;
  background: #f2ede2;
  color: #7b5a17;
  font-size: 12px;
  font-weight: 800;
}

.quote-table-wrap {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
}

.quote-editor .empty-state {
  flex: 0 0 auto;
}

.quick-table-wrap {
  overflow: auto;
  scrollbar-width: none;
}

.quick-table-wrap::-webkit-scrollbar {
  display: none;
}

.catalog-list {
  display: block;
  max-height: calc(100vh - 230px);
  min-height: 220px;
  overflow: auto;
  padding-right: 4px;
}

.catalog-list .catalog-group + .catalog-group {
  margin-top: 10px;
}

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

.catalog-actions {
  display: grid;
  gap: 8px;
}

.quick-edit-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  table-layout: fixed;
}

.quick-edit-table .col-select { width: 34px; }
.quick-edit-table .col-name { width: 16%; }
.quick-edit-table .col-cat { width: 12%; }
.quick-edit-table .col-spec { width: 16%; }
.quick-edit-table .col-unit { width: 7%; }
.quick-edit-table .col-price { width: 10%; }
.quick-edit-table .col-cost { width: 10%; }
.quick-edit-table .col-desc { width: 22%; }
.quick-edit-table .col-actions { width: 10%; }

.quick-edit-table th,
.quick-edit-table td {
  border-bottom: 1px solid #e2eaf1;
  padding: 5px;
  text-align: left;
  vertical-align: top;
}

.quick-edit-table th {
  color: #3d5062;
  font-size: 12px;
  background: #f3f7fa;
}

.quick-edit-table tbody tr {
  cursor: pointer;
}

.quick-edit-table tbody tr:hover,
.quick-edit-table tbody tr.active,
.quick-edit-table tbody tr.selected {
  background: #eef8fb;
}

.quick-edit-table td {
  color: #263747;
}

.quick-edit-table td,
.quick-edit-table th {
  white-space: nowrap;
}

.quick-edit-table td:nth-child(4),
.quick-edit-table td:nth-child(8) {
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-edit-table td:nth-child(4)[contenteditable="true"]:focus,
.quick-edit-table td:nth-child(8)[contenteditable="true"]:focus {
  overflow-x: auto;
  text-overflow: clip;
  white-space: pre;
  scrollbar-width: none;
}

.quick-edit-table td:nth-child(4)[contenteditable="true"]:focus::-webkit-scrollbar,
.quick-edit-table td:nth-child(8)[contenteditable="true"]:focus::-webkit-scrollbar {
  display: none;
}

.quick-edit-table .select-cell {
  text-align: center;
}

.quick-edit-table .select-cell input {
  width: 16px;
  height: 16px;
  accent-color: var(--green);
}

.quick-edit-table .money-cell {
  text-align: right;
  white-space: nowrap;
  padding-right: 14px;
  border-right: 1px solid #d7e0e8;
}

.quick-edit-table td:nth-child(8),
.quick-edit-table th:nth-child(8) {
  padding-left: 14px;
}

.quick-edit-table [contenteditable="true"] {
  border-radius: 4px;
  cursor: text;
  outline: 0;
}

.quick-edit-table [contenteditable="true"]:focus {
  overflow-x: auto;
  white-space: pre;
  background: #fff;
  box-shadow: inset 0 0 0 2px rgba(8, 126, 164, 0.28);
  scrollbar-width: none;
}

.quick-edit-table [contenteditable="true"]:focus::-webkit-scrollbar {
  display: none;
}

.quick-edit-table td[contenteditable="true"] {
  min-height: 32px;
}

.quick-edit-table td[contenteditable="true"] strong {
  display: block;
  width: 100%;
}

.catalog-add-row td {
  padding: 5px;
  background: #f7fbfd;
}

.catalog-add-line {
  width: 100%;
  min-height: 28px;
  border: 1px dashed #9fb7c8;
  border-radius: 6px;
  background: #fff;
  color: #0a6f9f;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.catalog-add-line:hover {
  border-color: #0a6f9f;
  background: #edf8fb;
}

.guest-mode .quick-edit-table tbody tr {
  cursor: default;
}

.guest-mode .quick-edit-table [data-inline-field] {
  cursor: default;
}

.quick-edit-table input,
.quick-edit-table select,
.quick-edit-table textarea {
  min-width: 0;
  padding: 6px;
  background: #fff;
}

.quick-edit-table textarea {
  min-width: 0;
}

.catalog-group {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}

.catalog-group-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 11px;
  background: #f4f8fb;
  border-bottom: 1px solid var(--line);
}

.catalog-group-head div {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.catalog-group-head strong {
  color: var(--green-deep);
}

.catalog-group-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  user-select: none;
  white-space: nowrap;
  width: 100%;
}

.catalog-group-check input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--green);
}

.catalog-group-head span,
.catalog-group-head em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.report-format-box {
  margin: 12px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.setting-title {
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 900;
}

.check-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 8px;
}

.check-grid .check-option {
  font-size: 12px;
}

.quick-product-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.quick-product-form .form-pair {
  grid-template-columns: 1fr;
  gap: 8px;
}

.hidden-field {
  display: none;
}

.quote-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 900px;
  table-layout: fixed;
}

.quote-table .quote-col-product { width: 20%; }
.quote-table .quote-col-category { width: 13%; }
.quote-table .quote-col-spec { width: 15%; }
.quote-table .quote-col-price { width: 10%; }
.quote-table .quote-col-discount { width: 76px; }
.quote-table .quote-col-qty { width: 58px; }
.quote-table .quote-col-subtotal { width: 10%; }
.quote-table .quote-col-action { width: 74px; }
.quote-table .quote-col-group { width: 18%; }
.quote-table .quote-col-detail { width: 42%; }
.quote-table .quote-col-unit { width: 58px; }

.quote-panel-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

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

.quote-table th {
  color: var(--muted);
  font-size: 12px;
  background: #f4f8fb;
}

.quote-table input {
  min-width: 0;
  padding: 6px;
}

.quote-table input[type="number"],
.group-detail-line input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
}

.quote-table input[type="number"]::-webkit-outer-spin-button,
.quote-table input[type="number"]::-webkit-inner-spin-button,
.group-detail-line input[type="number"]::-webkit-outer-spin-button,
.group-detail-line input[type="number"]::-webkit-inner-spin-button {
  margin: 0;
  -webkit-appearance: none;
}

.quote-table input[type="text"] {
  min-width: 0;
}

.quote-table .qty-cell input {
  width: 48px;
  text-align: center;
}

.quote-table .discount-cell input {
  width: 60px;
  text-align: center;
}

.discount-control {
  display: block;
  min-width: 64px;
}

.quote-table .text-main,
.quote-table .detail-stack {
  white-space: normal;
}

.quote-table .text-nowrap,
.quote-table .money-cell {
  overflow: hidden;
  text-overflow: ellipsis;
}

.quote-table .money-cell {
  text-align: right;
}

.quote-category-cell {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.quote-category-cell span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}

.quote-category-cell em {
  color: var(--muted);
  font-style: normal;
}

.quote-product-name-btn {
  display: inline;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.quote-product-name-btn:hover,
.quote-product-name-btn:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}

.quote-unit-cell {
  text-align: center;
}

.quote-category-row td {
  padding: 8px 10px;
  background: #edf6f8;
  border-top: 1px solid rgba(154, 181, 194, 0.55);
  border-bottom: 1px solid rgba(154, 181, 194, 0.55);
}

.quote-category-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quote-category-title,
.quote-category-actions {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.quote-category-actions {
  justify-content: flex-end;
  flex-wrap: wrap;
}

.quote-category-row[draggable="true"],
.quote-group-row[draggable="true"],
.quote-table tbody tr[data-drag-detail],
.group-detail-line[draggable="true"] {
  cursor: move;
}

.quote-category-row[draggable="true"]:active,
.quote-group-row[draggable="true"]:active,
.quote-table tbody tr[data-drag-detail]:active,
.group-detail-line[draggable="true"]:active {
  cursor: move;
}

.quote-table input,
.quote-table button,
.group-detail-line input,
.group-detail-line button {
  cursor: default;
}

.quote-category-row.drag-source,
.quote-group-row.drag-source,
.group-detail-line.drag-source,
.quote-table tbody tr.drag-source {
  opacity: 0.48;
}

.quote-category-row.drag-over td,
.quote-group-row.drag-over td,
.quote-table tbody tr.drag-over td {
  box-shadow: inset 0 2px 0 #0a6f9f;
}

.group-detail-line.drag-over {
  box-shadow: inset 0 2px 0 #0a6f9f;
}

.quote-category-head strong {
  color: var(--ink);
  font-size: 15px;
}

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

.quote-category-subtotal {
  color: var(--ink);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
}

.selected-custom-section td {
  background: #fff1dc;
  box-shadow: inset 4px 0 0 #f59e0b;
}

.custom-section-title {
  border-radius: 4px;
  padding: 2px 4px;
  cursor: text;
}

.custom-section-title[contenteditable="true"] {
  background: #fff;
  outline: 2px solid rgba(10, 111, 159, 0.35);
}

.quote-row-tools {
  display: grid;
  gap: 5px;
}

.quote-empty-section-row td {
  color: var(--muted);
  background: #fbfcfd;
  text-align: center;
  white-space: normal;
}

.quote-category-toggle {
  flex: 0 0 auto;
  font-size: 12px;
  white-space: nowrap;
}

.quote-category-toggle input {
  width: 16px;
  height: 16px;
}

.quote-group-row td {
  vertical-align: top;
}

.quote-group-summary {
  display: grid;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
  padding: 2px 0;
  background: transparent;
}

.quote-group-title {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px 82px 52px 42px;
  align-items: end;
  gap: 5px;
  border-bottom: 1px solid rgba(205, 218, 226, 0.72);
  padding-bottom: 4px;
}

.quote-group-title-main {
  display: flex;
  align-items: baseline;
  gap: 8px;
  min-width: 0;
}

.quote-group-title strong {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  color: var(--ink);
  font-size: 14px;
}

.quote-group-title span,
.quote-group-title em {
  color: #465766;
  font-size: 12px;
}

.quote-group-title em {
  flex: 0 0 auto;
  font-style: normal;
}

.group-detail-list {
  display: grid;
  gap: 0;
}

.detail-stack {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.editable-detail-stack {
  gap: 6px;
}

.group-detail-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 58px 82px 52px 42px;
  align-items: center;
  gap: 5px;
  min-width: 0;
  padding: 5px 0;
  border-bottom: 1px dashed rgba(205, 218, 226, 0.85);
  background: transparent;
}

.group-detail-line input {
  min-height: 28px;
  padding: 4px 5px;
}

.group-detail-column-head {
  color: #7b8da1;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.group-detail-qty {
  width: 48px;
  text-align: center;
}

.group-detail-discount {
  width: 54px;
  text-align: center;
}

.tooltip-target {
  cursor: help;
}

.cost-tooltip {
  position: fixed;
  z-index: 9999;
  min-width: 132px;
  max-width: 220px;
  padding: 9px 11px;
  border: 1px solid rgba(72, 171, 211, 0.48);
  border-radius: 6px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(236, 249, 253, 0.96)),
    #f4fbff;
  color: #16465e;
  box-shadow: 0 14px 30px rgba(24, 98, 130, 0.2);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  white-space: pre-line;
  pointer-events: none;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}

.cost-tooltip::before {
  content: "";
  position: absolute;
  left: -1px;
  top: 8px;
  bottom: 8px;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, #0b8eb7, #1dd1a1);
}

.cost-tooltip.active {
  opacity: 1;
  transform: translateY(0);
}

.group-detail-line .btn {
  width: 42px;
  min-height: 28px;
  padding: 4px 0;
  text-align: center;
}

.group-detail-name {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
  color: var(--ink);
  font-size: 13px;
}

.group-detail-price {
  color: var(--ink);
  font-size: 13px;
  text-align: right;
  white-space: nowrap;
}

.group-unit-input {
  width: 46px;
  text-align: center;
}

.empty-state {
  margin-top: 18px;
  padding: 24px;
  border: 1px dashed #c4ccd8;
  color: var(--muted);
  text-align: center;
  border-radius: 8px;
}

.note-box {
  margin: 8px 0;
}

#quoteNote {
  min-height: 54px;
  max-height: 88px;
  line-height: 1.35;
  resize: vertical;
}

.totals {
  display: grid;
  gap: 10px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 14px 0;
}

.total-line {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.total-line.final {
  color: var(--green-deep);
  font-size: 20px;
  font-weight: 900;
}

.total-line.uppercase {
  align-items: flex-start;
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
}

.total-line.uppercase strong {
  max-width: 72%;
  text-align: right;
  line-height: 1.45;
}

.save-preset {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 92px;
}

.save-preset input {
  min-width: 0;
}

.save-preset .btn {
  white-space: nowrap;
  padding-left: 10px;
  padding-right: 10px;
}

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

.field-designer {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 6px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.modal.active {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 20, 30, 0.56);
  backdrop-filter: blur(6px);
}

.modal-card {
  position: relative;
  z-index: 1;
  width: min(780px, 96vw);
  max-height: 88vh;
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(117, 208, 238, 0.32);
  border-radius: 10px;
  box-shadow: 0 24px 80px rgba(4, 24, 42, 0.35);
  padding: 16px;
}

.modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.manager-modal {
  display: grid;
  gap: 12px;
}

.manager-modal > input[type="search"] {
  background: #f7fbfd;
  border-color: rgba(87, 179, 214, 0.35);
}

.manager-list {
  display: grid;
  gap: 8px;
  max-height: min(54vh, 520px);
  overflow: auto;
  padding-right: 4px;
}

.manager-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(178, 204, 220, 0.78);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f7fbfd);
}

.manager-row .row-title {
  font-weight: 900;
  color: var(--ink);
}

.manager-row .row-meta {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  white-space: normal;
}

.icon-btn {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #f5f9fc;
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
}

.field-designer strong {
  grid-column: 1 / -1;
  font-size: 13px;
}

.field-designer .check-option {
  font-size: 12px;
}

.field-designer .check-option input {
  width: 15px;
  height: 15px;
}

.catalog-row,
.preset-row,
.record-row,
.party-row,
.template-row {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

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

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.row-actions.nowrap {
  flex-wrap: nowrap;
}

.account-panel {
  margin-top: 12px;
}

.form-grid {
  display: grid;
  gap: 10px;
}

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

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

.password-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
  margin-bottom: 12px;
  border: 1px solid rgba(15, 123, 99, 0.18);
  border-radius: 8px;
  background: #f4faf7;
}

.password-panel strong,
.password-panel span {
  display: block;
}

.password-panel span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.account-form {
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(140px, 1fr) 130px auto;
  gap: 10px;
  align-items: center;
  margin-bottom: 12px;
}

#accountManagerModal .modal-card,
#productSyncManagerModal .modal-card {
  width: min(860px, 96vw);
}

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

.account-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(214, 224, 234, 0.9);
  border-radius: 6px;
  background: #fbfdff;
}

.product-sync-form textarea {
  min-height: 96px;
  font-family: "Consolas", "Courier New", monospace;
}

.site-info-settings {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(214, 224, 234, 0.9);
  border-radius: 8px;
  background: #fbfdff;
}

.site-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  padding: 8px 16px;
  color: var(--muted);
  font-size: 12px;
  background: #f7fafc;
  border-top: 1px solid rgba(214, 224, 234, 0.82);
}

.site-footer[hidden] {
  display: none;
}

.site-footer a {
  color: #2563a8;
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #0f4f91;
  text-decoration: underline;
}

.site-footer-sep {
  color: #b8c4d2;
}

.auth-site-footer {
  position: absolute;
  left: 50%;
  bottom: 18px;
  width: min(640px, calc(100% - 32px));
  transform: translateX(-50%);
  border: 1px solid rgba(214, 224, 234, 0.82);
  border-radius: 8px;
  background: rgba(247, 250, 252, 0.94);
}

.account-row div {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.account-row strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.account-row span {
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.print-report {
  display: none;
}

@media (max-width: 1180px) {
  body,
  .app-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .workspace-grid,
  .management-grid {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 0;
  }

  .product-list {
    max-height: 360px;
  }

  .quote-table-wrap,
  .catalog-list {
    max-height: 520px;
  }

  .product-picker,
  .quote-editor {
    height: auto;
    max-height: none;
  }

  .totals-panel {
    max-height: none;
    overflow: visible;
  }
}

@media (max-width: 760px) {
  .product-search-row input {
    font-size: 12px;
    padding-inline: 7px;
  }

  .sidebar {
    position: sticky;
    height: auto;
    padding: 16px;
    align-items: stretch;
    flex-direction: column;
  }

  .nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .quote-stamp {
    margin-left: 0;
  }

  .user-panel {
    margin-left: 0;
    justify-content: space-between;
    flex-wrap: wrap;
  }

  .top-login-form {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
  }

  .top-login-form input {
    width: 100%;
  }

  .main {
    padding: 12px;
  }

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

  .view-toolbar {
    justify-content: stretch;
  }

  .filter-row,
  .client-grid,
  .setting-grid,
  .form-pair,
  .party-grid,
  .template-mode-row,
  .template-round-row,
  .catalog-tools,
  .check-grid,
  .account-form,
  .password-panel,
  .form-grid.two-col,
  .form-grid.three-col {
    grid-template-columns: 1fr;
  }

  .product-list {
    grid-template-columns: 1fr;
  }
}

@media print {
  body {
    background: #fff;
  }

  .app-shell,
  .auth-screen,
  .modal {
    display: none;
  }

  .print-report {
    display: block;
    padding: 18mm 16mm;
    color: #111;
    font-family: "Microsoft YaHei", "Noto Sans SC", sans-serif;
    font-size: 11px;
    line-height: 1.45;
  }

  .report-head {
    display: block;
    border-bottom: calc(var(--report-line-width, 1px) + 1px) var(--report-line-style, solid) var(--report-accent, #111);
    padding-bottom: 10px;
  }

  .report-head > div {
    width: 100%;
  }

  .report-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--report-accent, #111);
    line-height: 1.15;
  }

  .title-center .report-title {
    text-align: center;
  }

  .title-right .report-title {
    text-align: right;
  }

  .report-meta {
    margin: 10px 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px 18px;
  }

  .party-report-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin: 18px 0;
  }

  .party-report {
    border: 0;
    padding: 0;
    line-height: 1.2;
    max-width: 62%;
    font-size: 11px;
  }

  .party-report-top {
    margin: 10px 0 8px;
    display: flex;
    justify-content: flex-start;
  }

  .party-report-bottom {
    margin-top: 16px;
    display: flex;
    justify-content: flex-end;
    page-break-inside: avoid;
  }

  .party-report-bottom .party-report {
    min-width: 180px;
    text-align: right;
    max-width: none;
    font-size: 15px;
    line-height: 1.45;
  }

  .party-report-bottom .party-report strong {
    font-size: 15px;
    font-weight: 900;
  }

  .report-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
  }

  .report-table .report-col-index {
    width: var(--report-index-col, 5%) !important;
  }

  .report-table .report-col-product {
    width: var(--report-product-col, 15%) !important;
  }

  .report-table .report-col-spec {
    width: var(--report-spec-col, 47%) !important;
  }

  .report-table .report-col-price {
    width: var(--report-price-col, 13%) !important;
  }

  .report-table .report-col-qty {
    width: var(--report-qty-col, 5%) !important;
  }

  .report-table .report-col-unit {
    width: var(--report-unit-col, 6%) !important;
  }

  .report-table .report-col-subtotal {
    width: var(--report-subtotal-col, 15%) !important;
  }

  .report-category-section {
    margin-top: 12px;
    page-break-inside: avoid;
  }

  .report-category-section h2 {
    margin: 0 0 5px;
    padding: 5px 8px;
    border-left: calc(var(--report-line-width, 1px) + 3px) solid var(--report-line-color, #111);
    background: #f3f4f2;
    font-size: 13px;
  }

  .report-category-title th {
    background: color-mix(in srgb, var(--report-line-color, #111111) 10%, #ffffff) !important;
    border: var(--report-line-width, 1px) var(--report-line-style, solid) var(--report-line-color, #111111) !important;
    color: var(--report-line-color, #111111) !important;
    padding: 6px 8px 5px;
    text-align: left;
  }

  .report-category-title span {
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    color: var(--report-line-color, #111111) !important;
    letter-spacing: 0;
  }

  .report-table th,
  .report-table td {
    border: var(--report-line-width, 1px) var(--report-line-style, solid) var(--report-line-color, #111111);
    padding: 4px 5px;
    text-align: left;
    vertical-align: top;
    line-height: 1.35;
  }

  .report-table tfoot td {
    font-weight: 800;
    background: #fafafa;
  }

  .report-category-total td:last-child {
    text-align: right;
    white-space: nowrap;
  }

  .report-table th {
    white-space: nowrap;
    background: #f6f6f4;
  }

  .report-table td {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .report-table .field-index {
    width: var(--report-index-col, 5%) !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
    text-align: center;
    white-space: nowrap;
    font-size: 9px;
  }

  .report-table .field-product {
    width: var(--report-product-col, 15%);
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .report-table .field-spec {
    width: var(--report-spec-col, 47%);
    word-break: break-word;
    white-space: normal;
  }

  .report-table .field-price,
  .report-table .field-subtotal {
    width: var(--report-price-col, 13%);
    white-space: nowrap;
    text-align: right;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0;
    overflow: visible;
    padding-left: 4px;
    padding-right: 4px;
  }

  .report-table .field-subtotal {
    width: var(--report-subtotal-col, 15%);
  }

  .report-table .field-qty {
    width: var(--report-qty-col, 5%);
    white-space: nowrap;
    text-align: center;
    font-size: 9px;
  }

  .report-table .field-unit {
    width: var(--report-unit-col, 6%);
    white-space: nowrap;
    text-align: center;
    font-size: 9px;
  }

  .report-detail-summary {
    display: block;
    line-height: 1.35;
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
  }

  .detail-separator {
    color: #9aa6b2;
    padding: 0 4px;
  }

  .report-total {
    margin-left: auto;
    margin-top: 10px;
    width: 320px;
  }

  .report-note {
    margin-top: 14px;
    line-height: 1.55;
  }

  .template-compact {
    padding: 14px;
    font-size: 11px;
  }

  .template-compact .report-title {
    font-size: 24px;
  }

  .template-compact .report-meta,
  .template-compact .party-report-grid {
    margin: 10px 0;
  }

  .template-compact .report-category-section {
    margin-top: 10px;
  }

  .template-compact .report-category-section h2 {
    padding: 4px 7px;
    font-size: 13px;
  }

  .template-compact .report-table th,
  .template-compact .report-table td {
    padding: 5px;
  }

  .template-formal .report-head {
    border-bottom-width: 5px;
    padding-bottom: 18px;
  }

  .template-formal .report-title {
    font-size: 34px;
    letter-spacing: 0;
  }

  .template-formal .party-report {
    min-height: 120px;
  }

  .layout-stacked .party-report-top,
  .layout-stacked .party-report-bottom {
    justify-content: stretch;
  }

  .layout-stacked .party-report {
    max-width: none;
    width: 100%;
  }

  .layout-clean .party-report,
  .layout-clean .report-head {
    border-left: 0;
    border-right: 0;
  }

  .line-none .report-head,
  .line-none .party-report,
  .line-none .report-table th,
  .line-none .report-table td {
    border-color: transparent;
  }

  .print-report:not(.line-none) .report-table th + th,
  .print-report:not(.line-none) .report-table td + td {
    border-left-style: var(--report-vertical-line-style, solid);
  }

  .print-report:not(.line-none) .report-table th:not(:last-child),
  .print-report:not(.line-none) .report-table td:not(:last-child) {
    border-right-style: var(--report-vertical-line-style, solid);
  }

  .table-ruled .report-table th,
  .table-ruled .report-table td {
    border-left-color: transparent;
    border-right-color: transparent;
  }

  .table-ruled .report-table .report-category-title th {
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    border-top-color: transparent !important;
  }

  .table-soft .report-table th,
  .table-soft .report-table td {
    border-color: color-mix(in srgb, var(--report-line-color, #111111) 42%, #ffffff);
  }

  .table-soft .report-table th {
    background: #fafafa;
  }

  .table-boxed .report-table th,
  .table-boxed .report-table td {
    border-color: var(--report-line-color, #111111);
  }

  .density-compact {
    font-size: 10px;
  }

  .density-compact .report-table th,
  .density-compact .report-table td,
  .density-compact .party-report {
    padding: 3px 4px;
  }

  .density-spacious .report-table th,
  .density-spacious .report-table td {
    padding: 11px;
  }

  .density-spacious .party-report {
    padding: 14px;
    line-height: 1.8;
  }

  .print-report .report-table .report-category-title th,
  .print-report.table-soft .report-table .report-category-title th,
  .print-report.table-ruled .report-table .report-category-title th,
  .print-report.table-boxed .report-table .report-category-title th,
  .print-report.line-none .report-table .report-category-title th {
    background: color-mix(in srgb, var(--report-line-color, #111111) 10%, #ffffff) !important;
    color: var(--report-line-color, #111111) !important;
  }

  .print-report.table-soft .report-table .report-category-title th {
    border-color: color-mix(in srgb, var(--report-line-color, #111111) 42%, #ffffff) !important;
  }

  .print-report.table-boxed .report-table .report-category-title th {
    border-color: var(--report-line-color, #111111) !important;
  }

  .print-report.line-none .report-table .report-category-title th {
    border-color: transparent !important;
  }

  .print-report .report-table .report-category-title span {
    color: var(--report-line-color, #111111) !important;
    font-weight: 900;
  }

  .print-report .report-table th.field-index,
  .print-report .report-table td.field-index,
  .print-report.density-spacious .report-table th.field-index,
  .print-report.density-spacious .report-table td.field-index {
    width: var(--report-index-col, 5%) !important;
    min-width: 0 !important;
    max-width: none !important;
    padding-left: 1px !important;
    padding-right: 1px !important;
    font-size: 9px !important;
  }

  .print-report .report-table .field-product {
    width: var(--report-product-col, 15%) !important;
  }

  .print-report .report-table .field-spec {
    width: var(--report-spec-col, 47%) !important;
  }

  .print-report .report-table .field-unit {
    width: var(--report-unit-col, 6%) !important;
  }
}
