:root {
  color-scheme: light;
  --navy: #102a43;
  --navy-soft: #243b53;
  --blue: #1769aa;
  --blue-soft: #e7f3ff;
  --green: #14866d;
  --green-soft: #e7f6f1;
  --ink: #182b3a;
  --muted: #627d98;
  --line: #d9e2ec;
  --surface: #ffffff;
  --background: #f5f8fb;
  --shadow: 0 16px 40px rgba(16, 42, 67, 0.08);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--background);
  line-height: 1.5;
}

button, a { font: inherit; }
button { cursor: pointer; }

.topbar {
  min-height: 72px;
  padding: 0 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.brand { display: flex; align-items: center; gap: 11px; color: var(--navy); text-decoration: none; }
.brand-logo { display: block; width: 68px; height: 68px; object-fit: contain; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  color: white;
  background: var(--navy);
  font-weight: 800;
}
.brand-name, .brand-product { display: block; }
.brand-name { font-size: 0.84rem; font-weight: 800; letter-spacing: 0.03em; text-transform: uppercase; }
.brand-product { color: var(--muted); font-size: 0.78rem; }
.environment-badge {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  padding: 6px 13px;
  color: #8c5b00;
  background: #fff4d6;
  border: 1px solid #f3c96b;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  white-space: nowrap;
}
.topbar-meta { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 0.82rem; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #cbd5e1; }
.status-dot.online { background: var(--green); box-shadow: 0 0 0 4px var(--green-soft); }
.app-nav { position: sticky; top: 0; z-index: 5; display: flex; gap: 4px; width: 100%; padding: 8px 5vw; overflow-x: auto; background: rgba(255,255,255,0.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.app-nav a { flex: 0 0 auto; padding: 7px 10px; color: var(--muted); border-radius: 7px; font-size: 0.76rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.app-nav a:hover, .app-nav a.active { color: var(--blue); background: var(--blue-soft); }
.app-nav a:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 2px; }
.app-page[hidden] { display: none !important; }

.page-shell { width: calc(100% - 48px); max-width: none; margin: 0 auto; padding: 24px 0 54px; }
.intro { max-width: 720px; margin-bottom: 14px; }
.eyebrow { margin: 0 0 8px; color: var(--blue); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.13em; text-transform: uppercase; }
h1, h2, p { margin-top: 0; }
h1 { max-width: 650px; margin-bottom: 8px; color: var(--navy); font-size: clamp(1.8rem, 3.2vw, 2.75rem); line-height: 1.02; letter-spacing: -0.055em; }
h2 { margin-bottom: 5px; color: var(--navy); font-size: 1.22rem; letter-spacing: -0.02em; }
.intro-copy { max-width: 620px; margin-bottom: 0; color: var(--muted); font-size: 0.85rem; }

.workflow-card, .comparison-card, .portal-balance-card, .inbox-card, .small-card, .cumulative-card, .rules-card { background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.workflow-card { padding: 12px 16px; }
.card-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.pill, .integration-badge { display: inline-flex; align-items: center; border-radius: 999px; font-size: 0.72rem; font-weight: 800; }
.pill { padding: 6px 11px; color: var(--blue); background: var(--blue-soft); }
.pill.scanning { color: #8c5b00; background: #fff4d6; }
.pill.success { color: var(--green); background: var(--green-soft); }
.pill.error { color: #a33a3a; background: #fff0f0; }
.pill.inconclusive { color: #8c5b00; background: #fff4d6; }

.steps { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 16px 0 0; padding: 0; list-style: none; }
.step { display: flex; gap: 10px; min-height: 100px; padding: 10px; background: #f8fafc; border: 1px solid #e7edf3; border-radius: 14px; }
.step-number { display: grid; place-items: center; flex: 0 0 27px; height: 27px; border-radius: 50%; color: white; background: var(--navy); font-size: 0.78rem; font-weight: 800; }
.step-content { display: flex; flex-direction: column; align-items: flex-start; }
.step-content strong { color: var(--navy); }
.step-content p { margin: 4px 0 8px; color: var(--muted); font-size: 0.75rem; line-height: 1.35; }
.step-result { margin-top: auto; color: var(--green); font-size: 0.82rem; font-weight: 700; }

.button { border: 0; border-radius: 9px; padding: 10px 14px; font-size: 0.84rem; font-weight: 800; transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease; }
.button:hover { transform: translateY(-1px); }
.button:disabled { cursor: wait; opacity: 0.58; transform: none; }
.button.primary { color: white; background: var(--blue); box-shadow: 0 5px 12px rgba(23, 105, 170, 0.18); }
.button.primary:hover { background: #12598f; }
.button.secondary { color: var(--navy); background: white; border: 1px solid var(--line); }
.button.secondary:hover { background: #f4f8fb; }
.button.text-button { padding: 2px 0; color: var(--blue); background: transparent; }
.button.full-width { width: 100%; }
.notice { margin-top: 10px; padding: 8px 11px; color: var(--navy-soft); background: #f2f7fb; border-left: 3px solid var(--blue); border-radius: 8px; font-size: 0.76rem; }
.notice.success { color: #116653; background: var(--green-soft); border-left-color: var(--green); }
.notice.error { color: #8c3030; background: #fff1f1; border-left-color: #c24141; }
.import-progress { margin-top: 10px; padding: 11px 12px; background: #f8fafc; border: 1px solid #dce7ef; border-radius: 10px; }
.import-progress[hidden] { display: none; }
.import-progress.success { background: var(--green-soft); border-color: #bde7d8; }
.import-progress.error { background: #fff4f4; border-color: #efcaca; }
.import-progress-heading, .import-progress-meta { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.import-progress-heading { color: var(--navy); font-size: 0.78rem; }
.import-progress-heading span { color: var(--muted); font-variant-numeric: tabular-nums; }
.import-progress-track { height: 7px; margin-top: 8px; overflow: hidden; background: #e5edf3; border-radius: 99px; }
.import-progress-bar { display: block; width: 0; height: 100%; background: var(--blue); border-radius: inherit; transition: width 200ms ease; }
.import-progress.success .import-progress-bar { background: var(--green); }
.import-progress.error .import-progress-bar { background: #c24141; }
.import-progress:not(.success):not(.error) .import-progress-bar { animation: import-progress-pulse 1.6s ease-in-out infinite; }
.import-progress-meta { margin-top: 6px; color: var(--muted); font-size: 0.68rem; }
.import-activity-log { display: grid; gap: 3px; max-height: 90px; overflow: auto; margin: 8px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 0.68rem; }
.import-activity-log li { display: flex; gap: 8px; }
.import-activity-log time { flex: 0 0 32px; color: var(--blue); font-variant-numeric: tabular-nums; }
@keyframes import-progress-pulse { 0%, 100% { opacity: 0.72; } 50% { opacity: 1; } }
.workflow-help-row { display: flex; justify-content: flex-end; margin-top: 10px; }
.workflow-help-row .button { font-size: 0.76rem; padding: 7px 10px; }

.report-preview[hidden] { display: none; }
.report-preview { position: fixed; inset: 0; z-index: 30; display: grid; place-items: center; padding: 28px; }
.report-preview-backdrop { position: absolute; inset: 0; background: rgba(16, 42, 67, 0.52); }
.report-preview-panel { position: relative; display: flex; width: min(1180px, 100%); max-height: calc(100vh - 56px); flex-direction: column; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 70px rgba(16, 42, 67, 0.25); }
.report-preview-toolbar { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 24px 28px 18px; border-bottom: 1px solid var(--line); }
.report-preview-brand { display: flex; align-items: center; margin-bottom: 12px; }
.report-preview-logo { display: block; width: 72px; height: 72px; object-fit: contain; }
.report-preview-toolbar h2 { margin-bottom: 4px; }
.report-preview-toolbar .section-copy { margin-bottom: 0; }
.report-preview-content { overflow: auto; padding: 22px 28px 10px; }
.report-preview-table-wrap { overflow: auto; border: 1px solid var(--line); }
.report-preview-table { min-width: 980px; table-layout: fixed; }
.report-preview-table th, .report-preview-table td { padding: 10px 12px; white-space: normal; vertical-align: top; overflow-wrap: anywhere; }
.report-preview-table th { position: sticky; top: 0; z-index: 1; }
.report-preview-table th:nth-child(1), .report-preview-table td:nth-child(1) { width: 17%; }
.report-preview-table th:nth-child(2), .report-preview-table td:nth-child(2),
.report-preview-table th:nth-child(3), .report-preview-table td:nth-child(3),
.report-preview-table th:nth-child(4), .report-preview-table td:nth-child(4),
.report-preview-table th:nth-child(5), .report-preview-table td:nth-child(5) { width: 7%; }
.report-preview-table th:nth-child(6), .report-preview-table td:nth-child(6) { width: 13%; }
.report-preview-table th:nth-child(7), .report-preview-table td:nth-child(7) { width: 9%; }
.report-preview-table th:nth-child(8), .report-preview-table td:nth-child(8) { width: 11%; }
.report-preview-table th:nth-child(9), .report-preview-table td:nth-child(9) { width: 22%; }
.report-preview-table td small { display: block; margin-top: 4px; color: var(--muted); font-size: 0.68rem; line-height: 1.3; }
.report-preview-detail-row td { color: var(--muted); background: #fbfcfd; font-size: 0.75rem; }
.report-preview-empty { padding: 28px; color: var(--muted); text-align: center; border: 1px dashed var(--line); }
.report-preview-rental-summary { display: grid; gap: 9px; margin-bottom: 18px; padding: 18px; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; }
.report-preview-rental-summary h3 { margin: -2px 0 2px; color: var(--navy); font-size: 1rem; }
.report-preview-rental-summary .eyebrow { margin-bottom: 0; }
.rental-summary-list { display: grid; gap: 9px; }
.rental-summary-entry { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 11px; background: white; border-left: 3px solid #d97706; border-radius: 6px; }
.rental-summary-number { display: grid; place-items: center; width: 25px; height: 25px; color: white; background: #d97706; border-radius: 50%; font-size: 0.75rem; font-weight: 800; }
.rental-summary-body { min-width: 0; }
.rental-summary-heading { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.rental-summary-heading h4 { margin: 0; color: var(--navy); font-size: 0.82rem; }
.rental-summary-body p { margin: 5px 0 0; color: var(--navy-soft); font-size: 0.75rem; line-height: 1.4; }
.rental-summary-body strong { color: var(--navy); }
.rental-summary-notes { margin-top: 5px; color: var(--navy-soft); font-size: 0.75rem; line-height: 1.4; }
.rental-summary-notes p { margin: 4px 0 0 12px; }
.report-preview-feedback { display: grid; gap: 12px; margin: 14px 28px 0; padding: 18px; background: #f8fafc; border: 1px solid var(--line); border-radius: 12px; }
.report-preview-feedback h3 { margin: 0 0 3px; color: var(--navy); font-size: 1rem; }
.report-preview-feedback .section-copy { margin-bottom: 0; font-size: 0.78rem; }
.report-suggestion-form { display: grid; gap: 8px; }
.report-suggestion-form label { display: grid; gap: 5px; color: var(--blue); font-size: 0.7rem; font-weight: 800; }
.report-suggestion-form textarea { width: 100%; padding: 9px 10px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-size: 0.8rem; line-height: 1.4; resize: vertical; }
.report-suggestion-form textarea:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.report-suggestion-list { display: grid; gap: 7px; max-height: 150px; overflow: auto; }
.report-suggestion-entry { padding: 8px 10px; background: white; border-left: 3px solid var(--blue); border-radius: 5px; }
.report-suggestion-entry p { margin: 0; color: var(--navy-soft); font-size: 0.76rem; }
.report-suggestion-entry small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.65rem; }
.report-preview-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 28px 22px; border-top: 1px solid var(--line); }
.extension-help-modal[hidden] { display: none; }
.extension-help-modal { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 28px; }
.extension-help-backdrop { position: absolute; inset: 0; background: rgba(16, 42, 67, 0.52); }
.extension-help-panel { position: relative; width: min(620px, 100%); max-height: calc(100vh - 56px); overflow: auto; padding: 24px 28px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 70px rgba(16, 42, 67, 0.25); }
.extension-help-panel h2 { margin-bottom: 0; }
.extension-help-content { margin-top: 18px; color: var(--navy-soft); line-height: 1.55; }
.extension-help-content p { margin: 0 0 14px; }
.extension-help-content ol { margin: 0 0 14px; padding-left: 22px; }
.extension-help-content li + li { margin-top: 8px; }
.extension-help-content code { padding: 2px 5px; color: var(--navy); background: #eef2f6; border-radius: 5px; font-size: 0.9em; }
.extension-help-note { color: var(--muted); font-size: 0.84rem; }
.extension-help-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 24px; }

.comparison-card { margin-top: 20px; padding: 25px 0 0; overflow: hidden; }
.comparison-card > .card-heading, .comparison-card > .comparison-metrics { margin-right: 25px; margin-left: 25px; }
.comparison-heading { align-items: flex-start; }
.comparison-copy { margin: 10px 0 0; }
.comparison-actions {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) auto auto;
  grid-template-areas:
    "period run first"
    "period export print";
  align-items: start;
  justify-content: end;
  gap: 8px;
  min-width: min(100%, 560px);
}
.period-picker-group { display: grid; grid-area: period; gap: 5px; }
#refreshComparisonBtn { grid-area: run; }
#firstPeriodBtn { grid-area: first; }
#exportComparisonBtn { grid-area: export; }
#printComparisonBtn { grid-area: print; }
.period-control { display: grid; gap: 6px; color: var(--muted); font-size: 0.69rem; font-weight: 800; letter-spacing: 0.05em; text-transform: uppercase; }
.period-control input { padding: 9px 10px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; font-size: 0.82rem; font-weight: 600; letter-spacing: normal; text-transform: none; }
.period-control input:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.period-source { color: var(--blue); font-size: 0.68rem; font-weight: 800; white-space: nowrap; }
.comparison-metrics { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.comparison-metric { padding: 16px 18px; background: #fbfcfd; }
.comparison-metric span { display: block; color: var(--muted); font-size: 0.72rem; }
.comparison-metric strong { display: block; margin-top: 3px; color: var(--navy); font-size: 1.35rem; }
.alert-metric strong { color: #a33a3a; }
.comparison-card th, .comparison-card td { padding-right: 10px; padding-left: 10px; }
.comparison-card th { white-space: normal; line-height: 1.15; word-break: normal; letter-spacing: 0.04em; border-right: 1px solid var(--line); }
.comparison-card table { min-width: 1600px; table-layout: fixed; }
.comparison-card td { white-space: normal; overflow-wrap: anywhere; }
.comparison-card td.number-cell { white-space: nowrap; overflow-wrap: normal; }
.comparison-card th:nth-child(1), .comparison-card td:nth-child(1) { width: 190px; min-width: 190px; }
.comparison-card th:nth-child(2), .comparison-card td:nth-child(2),
.comparison-card th:nth-child(3), .comparison-card td:nth-child(3),
.comparison-card th:nth-child(4), .comparison-card td:nth-child(4),
.comparison-card th:nth-child(5), .comparison-card td:nth-child(5),
.comparison-card th:nth-child(6), .comparison-card td:nth-child(6),
.comparison-card th:nth-child(7), .comparison-card td:nth-child(7),
.comparison-card th:nth-child(9), .comparison-card td:nth-child(9),
.comparison-card th:nth-child(11), .comparison-card td:nth-child(11),
.comparison-card th:nth-child(12), .comparison-card td:nth-child(12),
.comparison-card th:nth-child(13), .comparison-card td:nth-child(13) { width: 64px; min-width: 64px; }
.comparison-card th:nth-child(8), .comparison-card td:nth-child(8) { width: 170px; min-width: 170px; }
.comparison-card th:nth-child(10), .comparison-card td:nth-child(10) { width: 136px; min-width: 136px; }
.comparison-card th:nth-child(14), .comparison-card td:nth-child(14),
.comparison-card th:nth-child(15), .comparison-card td:nth-child(15) { width: 108px; min-width: 108px; }
.comparison-card th:nth-child(3), .comparison-card td:nth-child(3),
.comparison-card th:nth-child(4), .comparison-card td:nth-child(4),
.comparison-card th:nth-child(5), .comparison-card td:nth-child(5) { width: 58px; min-width: 58px; }
.comparison-card th:nth-child(16), .comparison-card td:nth-child(16) { width: 100px; min-width: 100px; }
.comparison-card th:nth-child(17), .comparison-card td:nth-child(17) { width: 260px; min-width: 260px; }
.comparison-card td strong { display: block; color: var(--navy); }
.comparison-category-row td { background: #fbfcfd; }
.comparison-card .gc-primary-cell { background: #fff7f3; }
.comparison-card .ri-evidence-cell { background: #f2fbf5; }
.comparison-card th.gc-primary-cell { color: #a33a3a; background: #fff0ec; }
.comparison-card th.ri-evidence-cell { color: var(--green); background: #eaf8ef; }
.overcharge-cell { vertical-align: top; }
.overcharge-editor { display: grid; gap: 5px; min-width: 150px; }
.overcharge-inputs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; }
.overcharge-inputs label { display: grid; gap: 2px; color: #a33a3a; font-size: 0.58rem; font-weight: 800; line-height: 1.1; }
.overcharge-inputs input { width: 100%; min-width: 0; padding: 5px 4px; color: var(--ink); background: white; border: 1px solid #e5cfc7; border-radius: 5px; font: inherit; font-size: 0.72rem; font-weight: 700; }
.overcharge-inputs input:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.overcharge-amount { color: #a33a3a !important; font-size: 0.78rem !important; }
.overcharge-formula { color: var(--muted); font-size: 0.61rem; line-height: 1.25; }
.overcharge-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; }
.overcharge-actions .button { padding: 4px 7px; font-size: 0.61rem; }
.overcharge-actions .finding-note-status { font-size: 0.59rem; }
.qb-actions { grid-template-columns: minmax(170px, 1fr) auto; grid-template-areas: "period run"; min-width: min(100%, 380px); }
.qb-actions .period-control { grid-area: period; }
#qbRefreshComparisonBtn { grid-area: run; }
.qb-reconciliation-card .comparison-footnote { margin-bottom: 0; }
.qb-comparison-table {
  min-width: 1480px !important;
  table-layout: fixed;
}
.qb-comparison-table th,
.qb-comparison-table td {
  vertical-align: top;
  white-space: normal;
  overflow-wrap: anywhere;
}
.qb-comparison-table th {
  line-height: 1.2;
  word-break: normal;
}
.qb-comparison-table td.number-cell {
  white-space: nowrap;
  overflow-wrap: normal;
  vertical-align: middle;
}
.qb-comparison-table th:nth-child(1),
.qb-comparison-table td:nth-child(1) { width: 220px; min-width: 220px; }
.qb-comparison-table th:nth-child(2),
.qb-comparison-table td:nth-child(2) { width: 280px; min-width: 280px; }
.qb-comparison-table th:nth-child(3),
.qb-comparison-table td:nth-child(3),
.qb-comparison-table th:nth-child(4),
.qb-comparison-table td:nth-child(4),
.qb-comparison-table th:nth-child(5),
.qb-comparison-table td:nth-child(5),
.qb-comparison-table th:nth-child(6),
.qb-comparison-table td:nth-child(6),
.qb-comparison-table th:nth-child(7),
.qb-comparison-table td:nth-child(7) { width: 86px; min-width: 86px; }
.qb-comparison-table th:nth-child(8),
.qb-comparison-table td:nth-child(8) { width: 120px; min-width: 120px; }
.qb-comparison-table th:nth-child(9),
.qb-comparison-table td:nth-child(9) { width: 110px; min-width: 110px; }
.qb-comparison-table th:nth-child(10),
.qb-comparison-table td:nth-child(10) { width: 320px; min-width: 320px; }
.qb-comparison-table .table-mapping {
  width: 100%;
  min-width: 0;
  max-width: none;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.qb-comparison-table .explanation-cell {
  line-height: 1.35;
}
.warehouse-entry-card { margin: 25px; padding-top: 22px; border-top: 1px solid var(--line); }
.warehouse-entry-card > .card-heading { align-items: flex-start; }
.warehouse-form { display: grid; gap: 14px; margin-top: 18px; }
.warehouse-entry-rows { display: grid; gap: 10px; }
.warehouse-entry-row { display: grid; grid-template-columns: minmax(0, 1fr) 150px auto; gap: 10px; align-items: end; padding: 12px; background: #f7fafc; border: 1px solid var(--line); border-radius: 10px; }
.warehouse-entry-row label, .warehouse-form > label { display: grid; gap: 6px; color: var(--muted); font-size: 0.72rem; font-weight: 800; }
.warehouse-entry-row input, .warehouse-form > label input { width: 100%; padding: 10px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 7px; font: inherit; font-weight: 600; }
.warehouse-entry-row input:focus, .warehouse-form > label input:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.warehouse-form-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.category-label { display: block; }
.category-toggle { display: flex; width: 100%; align-items: flex-start; gap: 8px; padding: 0; color: inherit; text-align: left; background: transparent; border: 0; cursor: pointer; }
.category-toggle:hover strong { color: var(--blue); }
.category-toggle:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 3px; border-radius: 4px; }
.category-toggle-icon { flex: 0 0 12px; color: var(--blue); font-size: 0.86rem; line-height: 1.2; }
.category-toggle .table-subtext { color: var(--blue); }
.category-summary { min-width: 0; }
.category-subtext { max-width: 260px; line-height: 1.35; white-space: normal; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.category-subtext.is-expanded { display: block; overflow: visible; }
.subtext-expand { display: block; margin: 4px 0 0 20px; padding: 0; color: var(--blue); font: inherit; font-size: 0.68rem; font-weight: 700; background: transparent; border: 0; cursor: pointer; }
.subtext-expand[hidden] { display: none; }
.subtext-expand:hover { text-decoration: underline; }
.subtext-expand:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 2px; border-radius: 3px; }
.comparison-detail-row td { color: var(--muted); background: white; }
.comparison-detail-row .detail-product { display: block; padding-left: 12px; color: var(--navy-soft); font-size: 0.78rem; }
.comparison-detail-row .detail-explanation { font-size: 0.7rem; }
.comparison-detail-row[hidden] { display: none; }
.finding-explanation { color: var(--muted); }
.finding-notes, .review-completion { margin-top: 10px; padding-top: 9px; border-top: 1px solid var(--line); }
.finding-review-header { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.finding-notes-heading { color: var(--blue); font-size: 0.66rem; font-weight: 800; }
.finding-notes-indicator { display: block; margin-top: 2px; color: var(--muted); font-size: 0.64rem; }
.finding-notes-indicator.has-notes { color: var(--green); font-weight: 700; }
.finding-review-toggle { flex: 0 0 auto; padding: 5px 8px !important; font-size: 0.64rem !important; }
.finding-review-panel[hidden] { display: none; }
.finding-review-panel { margin-top: 8px; }
.finding-notes-empty { margin: 4px 0 7px; color: var(--muted); font-size: 0.68rem; }
.finding-note-list { display: grid; gap: 5px; margin: 6px 0 8px; }
.finding-note-entry { padding: 6px 7px; background: #f8fafc; border-left: 2px solid var(--blue-soft); border-radius: 4px; }
.finding-note-entry p { margin: 0; color: var(--navy-soft); font-size: 0.69rem; line-height: 1.35; }
.finding-note-entry small { display: block; margin-top: 3px; color: var(--muted); font-size: 0.61rem; }
.finding-note-form, .review-completion { display: grid; gap: 7px; }
.finding-note-form label, .review-completion label { display: grid; gap: 3px; color: var(--blue); font-size: 0.64rem; font-weight: 800; }
.finding-note-form input, .finding-note-form textarea, .review-completion input, .review-completion textarea { width: 100%; min-width: 0; padding: 6px 7px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 6px; font: inherit; font-size: 0.7rem; font-weight: 500; line-height: 1.35; resize: vertical; }
.finding-note-form input:focus, .finding-note-form textarea:focus, .review-completion input:focus, .review-completion textarea:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.finding-note-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; }
.finding-note-actions .button { padding: 6px 9px; font-size: 0.68rem; }
.finding-note-status { min-height: 1em; color: var(--green); font-size: 0.64rem; font-weight: 700; }
.comparison-unallocated-row td { color: #8c5b00; background: #fffaf0; }
.comparison-unallocated-row .detail-product { display: block; padding-left: 12px; color: #8c5b00; font-size: 0.78rem; font-weight: 800; }
.comparison-unallocated-row[hidden] { display: none; }
.table-subtext { display: block; max-width: 260px; overflow: hidden; color: var(--muted); font-size: 0.72rem; text-overflow: ellipsis; white-space: nowrap; }
.table-subtext.category-subtext { display: -webkit-box; overflow: hidden; line-height: 1.35; white-space: normal; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.table-subtext.category-subtext.is-expanded { display: block; overflow: visible; -webkit-line-clamp: unset; }
.table-source { display: block; max-width: 310px; overflow: hidden; color: var(--blue); font-size: 0.68rem; text-overflow: ellipsis; white-space: nowrap; }
.portal-balance-cell.not-comparable { color: #8c5b00; }
.portal-balance-cell .table-subtext { max-width: 100px; color: #8c5b00; font-size: 0.62rem; }
.number-cell { text-align: right; font-variant-numeric: tabular-nums; }
.positive-variance { color: #b13b3b; font-weight: 800; }
.negative-variance { color: #9a6800; font-weight: 800; }
.comparison-status { display: inline-flex; padding: 5px 8px; border-radius: 6px; font-size: 0.69rem; font-weight: 800; }
.comparison-status.matched { color: var(--green); background: var(--green-soft); }
.comparison-status.addressed { color: #075c4b; background: #b8eadb; }
.comparison-status.review { color: #8c5b00; background: #fff4d6; }
.comparison-status.review-high { color: #a33a3a; background: #fff0f0; }
.comparison-status.inconclusive { color: #8c5b00; background: #fff4d6; }
.comparison-status.overcharged { color: #a33a3a; background: #fff0f0; }
.comparison-status.underbilled { color: #8c5b00; background: #fff4d6; }
.evidence-cell { min-width: 150px; white-space: normal; color: var(--muted); font-size: 0.72rem; line-height: 1.35; }
.evidence-ok { color: var(--green); }
.evidence-problem { color: #a33a3a; font-weight: 800; }
.evidence-muted { color: #8c5b00; }
.explanation-cell { min-width: 310px; max-width: 430px; white-space: normal; color: var(--muted); font-size: 0.76rem; line-height: 1.4; }
.comparison-footnote { margin: 0 25px; padding: 14px 0 20px; color: var(--muted); font-size: 0.78rem; }
.error-text { color: #a33a3a; }
.cumulative-card, .rules-card { margin-top: 20px; padding: 25px 0 0; overflow: hidden; }
.cumulative-card > .card-heading, .cumulative-card > .comparison-metrics, .rules-card > .card-heading { margin-right: 25px; margin-left: 25px; }
.cumulative-card .section-copy { margin-top: 10px; margin-bottom: 0; }
.cumulative-card th, .cumulative-card td { padding-right: 16px; padding-left: 16px; }
.cumulative-card td strong { display: block; color: var(--navy); }
.cumulative-card .comparison-footnote { margin-bottom: 0; }
.cumulative-card .evidence-ok { color: var(--green); }
.cumulative-heatmap-section { margin: 25px; padding: 22px 0 0; border-top: 1px solid var(--line); }
.heatmap-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.heatmap-heading h3 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; }
.heatmap-heading .section-copy { margin: 0; font-size: 0.8rem; }
.heatmap-summary { flex: 0 0 auto; padding: 6px 10px; color: var(--muted); background: #f1f5f9; border-radius: 999px; font-size: 0.7rem; font-weight: 800; }
.cumulative-heatmap { margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; }
.heatmap-scroll { overflow-x: auto; }
.cumulative-heatmap-table { min-width: 860px; table-layout: fixed; }
.cumulative-heatmap-table th, .cumulative-heatmap-table td { padding: 8px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.cumulative-heatmap-table thead th { min-width: 112px; height: auto; min-height: 58px; padding-top: 12px; padding-bottom: 12px; color: var(--navy-soft); background: #f8fafc; font-size: 0.65rem; line-height: 1.25; text-align: center; text-transform: none; white-space: normal; overflow-wrap: anywhere; word-break: normal; vertical-align: middle; }
.cumulative-heatmap-table thead th:first-child, .cumulative-heatmap-table tbody th { width: 170px; min-width: 170px; text-align: left; }
.cumulative-heatmap-table tbody th { color: var(--muted); background: #fbfcfd; font-size: 0.7rem; font-weight: 700; line-height: 1.3; white-space: normal; }
.cumulative-heatmap-table tr:last-child th, .cumulative-heatmap-table tr:last-child td { border-bottom: 0; }
.cumulative-heatmap-table th:last-child, .cumulative-heatmap-table td:last-child { border-right: 0; }
.heatmap-cell-wrapper { height: 84px; padding: 5px !important; background: white; }
.heatmap-cell { display: grid; width: 100%; height: 100%; min-height: 72px; align-content: center; justify-items: center; gap: 2px; padding: 5px; color: var(--navy); border: 2px solid transparent; border-radius: 7px; font: inherit; cursor: pointer; }
.heatmap-cell:hover { border-color: var(--blue); transform: translateY(-1px); }
.heatmap-cell:focus-visible { outline: 3px solid var(--blue-soft); outline-offset: 1px; }
.heatmap-cell.is-selected { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue-soft); }
.heatmap-cell-symbol { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; font-size: 0.78rem; font-weight: 900; }
.heatmap-cell-values { font-size: 0.62rem; font-weight: 700; white-space: nowrap; }
.heatmap-cell-overcharge { color: #a33a3a; font-size: 0.58rem; font-weight: 800; white-space: nowrap; }
.heatmap-matched { color: var(--green); background: var(--green-soft); }
.heatmap-addressed { color: #075c4b; background: #b8eadb; }
.heatmap-review { color: #8c5b00; background: #fff4d6; }
.heatmap-problem { color: #a33a3a; background: #fff0f0; }
.heatmap-cell-empty, .heatmap-empty { color: var(--muted); background: #f8fafc; text-align: center; }
.heatmap-cell-empty { font-size: 0.9rem; }
.heatmap-empty { padding: 30px; font-size: 0.8rem; }
.heatmap-legend { display: flex; flex-wrap: wrap; gap: 14px; padding: 12px 4px 0; color: var(--muted); font-size: 0.7rem; font-weight: 700; }
.heatmap-legend span { display: inline-flex; align-items: center; gap: 5px; }
.heatmap-legend-swatch { display: inline-block; width: 10px; height: 10px; border-radius: 3px; }
.heatmap-detail { display: grid; grid-template-columns: minmax(250px, 1.25fr) minmax(300px, 1fr) auto; gap: 18px; align-items: center; margin-top: 16px; padding: 16px; background: #f8fafc; border: 1px solid var(--line); border-radius: 10px; }
.heatmap-detail > .finding-notes, .heatmap-detail > .review-completion { grid-column: 1 / -1; width: 100%; margin-top: 0; }
.review-completion { padding: 12px; background: #f1f8f5; border: 1px solid #c6e8dc; border-radius: 8px; }
.review-complete-toggle { display: flex !important; grid-template-columns: auto 1fr; align-items: center; gap: 7px; color: var(--navy) !important; font-size: 0.76rem !important; }
.review-complete-toggle input { width: 16px; height: 16px; margin: 0; accent-color: var(--green); }
.review-completion > p { margin: 0; color: var(--muted); font-size: 0.72rem; }
.heatmap-detail-copy h3 { margin: 0 0 4px; color: var(--navy); font-size: 0.92rem; }
.heatmap-detail-copy p:last-child { margin: 0; color: var(--muted); font-size: 0.75rem; line-height: 1.4; }
.heatmap-detail-copy .eyebrow { margin-bottom: 4px; font-size: 0.62rem; }
.heatmap-detail-values { display: grid; grid-template-columns: repeat(3, minmax(62px, 1fr)); gap: 8px; }
.heatmap-detail-values span { display: grid; gap: 1px; }
.heatmap-detail-values small { color: var(--muted); font-size: 0.62rem; }
.heatmap-detail-values strong { color: var(--navy); font-size: 0.82rem; }
.heatmap-detail-actions { display: grid; justify-items: end; gap: 8px; }
.heatmap-detail-actions .button { white-space: nowrap; }
.business-rules-list { display: grid; gap: 1px; margin-top: 24px; background: var(--line); border-top: 1px solid var(--line); }
.business-rule { display: grid; grid-template-columns: 36px 1fr; gap: 14px; padding: 18px 25px; background: #fbfcfd; }
.business-rule-number { display: grid; place-items: center; width: 28px; height: 28px; color: var(--blue); background: var(--blue-soft); border-radius: 50%; font-size: 0.76rem; font-weight: 800; }
.business-rule h3 { margin: 0 0 4px; color: var(--navy); font-size: 0.91rem; }
.business-rule p { margin: 0; color: var(--muted); font-size: 0.82rem; }
.quickbooks-card.app-page { margin-top: 20px; }
.invoice-review-card { margin-top: 20px; padding: 25px 0 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.invoice-review-card > .card-heading, .invoice-review-card > .invoice-review-metrics { margin-right: 25px; margin-left: 25px; }
.invoice-review-copy { margin-top: 10px; margin-bottom: 0; }
.invoice-review-metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.invoice-review-card th, .invoice-review-card td { padding-right: 16px; padding-left: 16px; }
.invoice-review-card td strong { display: block; color: var(--navy); }
.table-mapping { display: block; min-width: 190px; max-width: 280px; overflow: hidden; color: var(--blue); font-size: 0.73rem; line-height: 1.35; text-overflow: ellipsis; white-space: normal; }
.table-mapping.unmapped { color: #a33a3a; }
.invoice-review-card .comparison-footnote { margin-bottom: 0; }
.ri-evidence-card { margin-top: 20px; padding: 25px 0 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.ri-evidence-card > .card-heading, .ri-evidence-card > .ri-evidence-metrics { margin-right: 25px; margin-left: 25px; }
.ri-evidence-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 24px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--line); }
.ri-evidence-card td strong { display: block; color: var(--navy); }
.ri-evidence-card .comparison-footnote { margin-bottom: 0; }
.portal-balance-card { margin-top: 20px; padding: 25px 0 0; overflow: hidden; }
.portal-balance-card > .card-heading { margin-right: 25px; margin-left: 25px; }
.portal-balance-card .section-copy { margin-top: 10px; margin-bottom: 0; }

.content-grid { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(280px, 0.8fr); gap: 20px; margin-top: 20px; align-items: start; }
.mapping-card { margin-top: 20px; padding: 25px 0 0; overflow: hidden; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
.mapping-card > .card-heading, .mapping-card > .section-copy, .mapping-card > .mapping-form { margin-right: 25px; margin-left: 25px; }
.mapping-subsection { margin-top: 28px; padding: 25px 25px 0; border-top: 1px solid var(--line); }
.mapping-count { color: var(--muted); font-size: 0.8rem; font-weight: 800; }
.section-copy { max-width: 670px; margin-top: 15px; color: var(--muted); font-size: 0.87rem; }
.mapping-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto; gap: 12px; align-items: end; margin-top: 22px; margin-bottom: 24px; }
.ri-mapping-form { grid-template-columns: minmax(180px, 1.5fr) minmax(120px, 0.8fr) minmax(180px, 1fr) minmax(150px, 0.9fr) minmax(180px, 1fr) auto; }
.mapping-form label { display: grid; gap: 6px; color: var(--muted); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.mapping-form input, .mapping-form select { width: 100%; padding: 10px 11px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 8px; font-size: 0.84rem; font-weight: 500; letter-spacing: normal; text-transform: none; }
.mapping-form input:focus, .mapping-form select:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.mapping-input { width: min(100%, 360px); padding: 8px 10px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 7px; font-size: 0.82rem; }
.mapping-input:focus { outline: 3px solid var(--blue-soft); border-color: var(--blue); }
.mapping-actions { display: flex; align-items: center; gap: 8px; }
.mapping-actions .button { padding: 7px 10px; font-size: 0.76rem; }
.mapping-edit-button { font-size: 0.78rem; }
.inbox-card { padding: 25px 0 0; overflow: hidden; }
.inbox-card > .card-heading, .inbox-card > .metric-row { margin-left: 25px; margin-right: 25px; }
.metric-row { display: flex; gap: 32px; margin-top: 23px; padding: 17px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric span { display: block; color: var(--muted); font-size: 0.74rem; }
.metric strong { display: block; margin-top: 2px; color: var(--navy); font-size: 1.35rem; }
.balance-capture { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin: 20px 25px 24px; padding: 16px 18px; background: #f8fafc; border: 1px solid #e7edf3; border-radius: 12px; }
.balance-capture h2 { margin-bottom: 3px; font-size: 1rem; }
.balance-capture p:last-child { margin-bottom: 0; color: var(--muted); font-size: 0.78rem; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
th, td { padding: 13px 25px; text-align: left; white-space: nowrap; border-bottom: 1px solid #edf1f5; }
th { color: var(--muted); background: #fbfcfd; font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase; }
td { color: var(--navy-soft); }
.invoice-row-toggle { display: inline-flex; align-items: center; gap: 7px; padding: 0; color: var(--blue); background: transparent; border: 0; font: inherit; font-weight: 700; text-align: left; }
.invoice-row-toggle:hover, .invoice-row-toggle:focus-visible { color: var(--navy); text-decoration: underline; }
.invoice-row-toggle-icon { width: 12px; color: var(--muted); font-size: 0.9rem; text-decoration: none; }
.invoice-lines-row td { padding: 0; white-space: normal; background: #f8fafc; }
.invoice-lines-panel { padding: 14px 25px 18px; border-top: 1px solid var(--line); }
.invoice-lines-panel > .eyebrow { margin-bottom: 7px; font-size: 0.63rem; }
.invoice-lines-table { width: 100%; font-size: 0.76rem; }
.invoice-lines-table th, .invoice-lines-table td { padding: 8px 10px; white-space: normal; }
.invoice-lines-table th { background: #eef4f8; }
.invoice-lines-table th:first-child, .invoice-lines-table td:first-child { width: 70%; }
.invoice-lines-empty { margin: 0; color: var(--muted); font-size: 0.78rem; }
.table-sort-button { display: inline-flex; align-items: center; gap: 4px; padding: 0; color: inherit; background: transparent; border: 0; font: inherit; font-weight: inherit; letter-spacing: inherit; text-align: left; text-transform: inherit; }
.table-sort-button:hover, .table-sort-button:focus-visible { color: var(--blue); }
.table-sort-button::after { color: var(--blue); font-size: 0.8rem; }
.table-sort-button[data-sort-direction="asc"]::after { content: "↑"; }
.table-sort-button[data-sort-direction="desc"]::after { content: "↓"; }
.type-badge { display: inline-flex; padding: 4px 7px; color: var(--blue); background: var(--blue-soft); border-radius: 5px; font-size: 0.68rem; font-weight: 800; }
.empty-cell { padding: 28px 25px; color: var(--muted); text-align: center; }
.side-stack { display: grid; gap: 20px; }
.small-card { padding: 22px; box-shadow: none; }
.small-card p { color: var(--muted); font-size: 0.87rem; }
.small-card h2 { margin-bottom: 12px; }
.command { display: block; margin: 10px 0 15px; padding: 11px 12px; overflow-x: auto; color: #e7f3ff; background: var(--navy); border-radius: 8px; font-size: 0.77rem; }
.muted { margin-bottom: 0; font-size: 0.77rem !important; }
.muted code { color: var(--navy-soft); }
.quickbooks-header { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.button-row { display: flex; flex-wrap: wrap; gap: 8px; }
.integration-badge { padding: 5px 8px; color: var(--muted); background: #eef2f6; }
.integration-badge.connected { color: var(--green); background: var(--green-soft); }
.integration-badge.warning { color: #8c5b00; background: #fff4d6; }

.footer { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: 0 0 28px; display: flex; justify-content: space-between; color: var(--muted); font-size: 0.75rem; }
.footer a { color: inherit; }

@media (max-width: 800px) {
  .page-shell { padding-top: 24px; }
  .steps, .content-grid, .mapping-form, .comparison-metrics, .invoice-review-metrics, .ri-evidence-metrics { grid-template-columns: 1fr; }
  .comparison-heading { align-items: flex-start; flex-direction: column; }
  .comparison-actions { display: flex; width: 100%; min-width: 0; align-items: stretch; flex-direction: column; }
  .comparison-actions .button, .period-picker-group { width: 100%; }
  .warehouse-entry-card { margin-right: 18px; margin-left: 18px; }
  .warehouse-entry-row { grid-template-columns: 1fr; }
  .heatmap-heading, .heatmap-detail { align-items: flex-start; flex-direction: column; }
  .heatmap-detail { grid-template-columns: 1fr; }
  .heatmap-detail-actions { width: 100%; justify-items: start; }
  .warehouse-entry-row .button { width: 100%; }
  .step { min-height: auto; }
  .step-content p { max-width: 540px; }
}

@media (max-width: 520px) {
  .topbar { padding: 0 20px; }
  .topbar-meta { display: none; }
  .environment-badge { position: static; margin-left: auto; margin-right: 12px; transform: none; }
  .page-shell, .footer { width: min(100% - 28px, 1120px); }
  .workflow-card { padding: 12px 14px; }
  .workflow-help-row { justify-content: flex-start; }
  h1 { font-size: 2.2rem; }
  .footer { display: block; }
  .footer span { display: block; margin-top: 8px; }
  th, td { padding-right: 16px; padding-left: 16px; }
  .inbox-card > .card-heading, .inbox-card > .metric-row { margin-right: 18px; margin-left: 18px; }
  .mapping-card > .card-heading, .mapping-card > .section-copy, .mapping-card > .mapping-form { margin-right: 18px; margin-left: 18px; }
  .cumulative-card > .card-heading, .cumulative-card > .comparison-metrics, .rules-card > .card-heading { margin-right: 18px; margin-left: 18px; }
  .business-rule { padding-right: 18px; padding-left: 18px; }
  .button-row { flex-direction: column; }
  .button-row .button { width: 100%; }
  .balance-capture { align-items: flex-start; flex-direction: column; margin-right: 18px; margin-left: 18px; }
  .extension-help-modal { padding: 14px; }
  .extension-help-panel { padding: 20px; }
  .extension-help-panel .card-heading { align-items: flex-start; }
  .extension-help-actions { align-items: stretch; flex-direction: column; }
  .extension-help-actions .button { width: 100%; }
}

@media print {
  body.printing-report-preview { background: white; }
  body.printing-report-preview > *:not(#reportPreview) { display: none !important; }
  body.printing-report-preview #reportPreview { position: static; display: block !important; padding: 0; }
  body.printing-report-preview .report-preview-backdrop,
  body.printing-report-preview .report-preview-feedback,
  body.printing-report-preview .report-preview-actions,
  body.printing-report-preview .report-preview-toolbar button { display: none !important; }
  body.printing-report-preview .report-preview-panel { width: 100%; max-height: none; overflow: visible; border: 0; box-shadow: none; border-radius: 0; }
  body.printing-report-preview .report-preview-toolbar { padding: 0 0 16px; }
  body.printing-report-preview .report-preview-content { overflow: visible; padding: 0; }
  body.printing-report-preview .report-preview-table-wrap { overflow: visible; }
  body.printing-report-preview .report-preview-table { min-width: 0; font-size: 8px; }
  body.printing-report-preview .report-preview-table th,
  body.printing-report-preview .report-preview-table td { padding: 5px; }
}
