:root {
  color-scheme: light;
  --ink: #1c2733;
  --muted: #617080;
  --line: #dce3e9;
  --paper: #ffffff;
  --surface: #f5f7f9;
  --brand: #2d63aa;
  --brand-dark: #214d89;
  --accent: #df7226;
  --danger: #b42318;
  --shadow: 0 4px 16px rgba(28, 39, 51, 0.04);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

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

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

button {
  cursor: pointer;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.app-shell {
  display: grid;
  grid-template-columns: 208px minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr);
  column-gap: 28px;
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 0 24px 32px;
}

.topbar {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 86px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

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

.app-logo {
  width: 68px;
  height: 50px;
  object-fit: contain;
}

.eyebrow {
  margin: 2px 0 0;
  color: var(--accent);
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0;
  font-size: 1.35rem;
  line-height: 1.1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.05rem;
}

.topbar-actions,
.form-actions,
.share-stack {
  display: flex;
  gap: 10px;
}

.icon-button,
.primary-button,
.secondary-button,
.danger-button,
.tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 6px;
  padding: 0 14px;
  font-weight: 700;
}

.icon-button {
  width: 44px;
  padding: 0;
}

.icon-button,
.secondary-button,
.tab {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.primary-button {
  background: var(--brand);
  color: white;
}

.primary-button:hover {
  background: var(--brand-dark);
}

.danger-button {
  background: #fff4f2;
  border-color: #ffc9c2;
  color: var(--danger);
}

.tabbar {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  flex-direction: column;
  align-self: start;
  gap: 4px;
  position: sticky;
  top: 18px;
  min-height: calc(100vh - 126px);
  padding: 6px 12px 0 0;
  border-right: 1px solid var(--line);
}

.tab {
  justify-content: flex-start;
  width: 100%;
  background: transparent;
  border-color: transparent;
  color: var(--muted);
}

.tab.active {
  background: #eaf1fb;
  border-color: #dce9f8;
  color: var(--brand-dark);
}

main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
}

.view {
  display: none;
}

.view.active {
  display: block;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 12px;
}

.metric,
.panel,
.document-card,
.record-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.metric {
  padding: 16px;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
}

.metric strong {
  display: block;
  margin-top: 8px;
  font-size: 1.55rem;
  overflow-wrap: anywhere;
}

.compact-metric strong {
  font-size: 1.45rem;
}

.progress-panel {
  display: grid;
  gap: 10px;
  margin-top: 12px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.progress-panel span {
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
}

.progress-panel strong {
  display: block;
  margin-top: 3px;
  font-size: 1.2rem;
}

.progress-track {
  height: 12px;
  overflow: hidden;
  background: #e6edf1;
  border-radius: 999px;
}

.progress-track span {
  display: block;
  width: 0%;
  height: 100%;
  background: var(--brand);
  border-radius: inherit;
}

.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 22px 0 10px;
}

.section-heading h2 {
  margin: 0;
}

.item-count {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.csv-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 14px;
}

.secondary-link {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
}

.section-heading.compact {
  margin-top: 10px;
}

.search-field {
  position: relative;
  display: block;
  margin: 0 0 12px;
}

.search-field .icon {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: var(--muted);
  pointer-events: none;
}

.search-field input {
  min-height: 44px;
  padding-left: 39px;
  background: var(--paper);
}

.form-row .search-field {
  margin: 0;
}

.builder-grid,
.editor-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.65fr) minmax(286px, 0.8fr);
  gap: 14px;
  align-items: start;
}

.panel {
  padding: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
  background: #fbfcfd;
  color: var(--ink);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(45, 99, 170, 0.13);
}

.form-row {
  display: grid;
  gap: 12px;
  margin-bottom: 12px;
}

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

.line-items {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
}

.line-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) 70px 96px 44px;
  gap: 8px;
  align-items: end;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfcfd;
}

.line-item-field {
  display: grid;
  gap: 6px;
}

.line-description {
  margin: 0;
  min-height: 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.line-card .search-field {
  margin-bottom: 0;
}

.remove-line {
  min-width: 44px;
  width: 44px;
  padding: 0;
}

.totals-panel {
  position: sticky;
  top: 12px;
}

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

.share-stack .primary-button {
  grid-column: 1 / -1;
}

.share-stack button {
  min-width: 0;
  white-space: normal;
  line-height: 1.2;
}

.totals-list {
  margin: 0 0 16px;
}

.totals-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.totals-list dt {
  color: var(--muted);
  font-weight: 800;
}

.totals-list dd {
  margin: 0;
  font-weight: 900;
}

.grand-total dd,
.grand-total dt {
  color: var(--brand);
  font-size: 1.15rem;
}

.profit-total dd,
.profit-total dt {
  color: var(--accent);
}

.document-list,
.record-list {
  display: grid;
  gap: 10px;
}

.document-card,
.record-card {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.card-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.card-row > div {
  min-width: 0;
}

.card-title {
  font-weight: 900;
  overflow-wrap: anywhere;
}

.card-meta {
  color: var(--muted);
  font-size: 0.87rem;
}

.card-description {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.card-actions .icon-button {
  width: 40px;
  min-height: 40px;
}

.load-more {
  width: 100%;
  margin-top: 12px;
}

.app-notice {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  max-width: min(400px, calc(100vw - 36px));
  padding: 12px 16px;
  border: 1px solid #bfd1e8;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(28, 39, 51, 0.16);
  color: var(--ink);
  font-size: 0.9rem;
}

.app-notice[hidden],
.load-more[hidden] {
  display: none;
}

.settings-form {
  max-width: 760px;
}

.sync-panel {
  max-width: 760px;
  margin-top: 14px;
}

.sync-panel p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 0.9rem;
}

.sync-panel p[data-tone="success"] {
  color: #176b50;
}

.sync-panel p[data-tone="error"] {
  color: #a63b33;
}

.sync-connect {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.sync-connect[hidden] {
  display: none;
}

.sync-key-file {
  grid-column: 1 / -1;
}

#copyPhoneLink[hidden] {
  display: none;
}

.settings-form label,
#customerForm label,
#itemForm label {
  margin-bottom: 12px;
}

.import-field {
  margin-bottom: 14px;
}

.logo-field {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-bottom: 14px;
}

.logo-field label {
  margin-bottom: 0;
}

.logo-preview {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 96px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  background: #fbfcfd;
  overflow: hidden;
}

.logo-preview.has-logo {
  border-style: solid;
  background: white;
}

.logo-preview img {
  max-width: min(260px, 100%);
  max-height: 86px;
  object-fit: contain;
}

.empty-state {
  padding: 20px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.print-page {
  display: none;
}

.invoice-sheet {
  box-sizing: border-box;
  position: relative;
  width: 210mm;
  min-height: 297mm;
  padding: 15mm 12mm 17mm;
  background: white;
  color: #111827;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  line-height: 1.25;
  overflow: hidden;
}

.invoice-header {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(130px, 1fr) minmax(260px, 1fr);
  gap: 18px;
  align-items: start;
  min-height: 54mm;
  padding: 0 0 8mm;
  border-bottom: 1px solid #d7dce1;
}

.invoice-brand-block {
  display: grid;
  gap: 5px;
}

.invoice-brand-block strong {
  display: block;
  margin-top: 5mm;
  font-size: 15px;
  font-weight: 900;
}

.invoice-brand-block p {
  margin: 0;
  color: #050505;
  font-size: 14px;
}

.invoice-logo-wrap {
  min-height: 32mm;
  display: flex;
  align-items: center;
}

.invoice-logo {
  width: 38mm;
  max-height: 30mm;
  object-fit: contain;
  object-position: left center;
  flex: 0 0 auto;
}

.invoice-logo-placeholder {
  display: grid;
  place-items: center;
  width: 112px;
  height: 72px;
  border: 0;
  color: #2563b8;
  font-size: 21px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  text-align: center;
}

.invoice-logo-placeholder span {
  color: #f97316;
  font-size: 12px;
  letter-spacing: 2px;
}

.invoice-watermark {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(112mm, 58%);
  max-height: 112mm;
  object-fit: contain;
  opacity: 0.09;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.invoice-info-grid,
.invoice-items-table,
.invoice-totals,
.invoice-notes,
.document-footer {
  position: relative;
  z-index: 1;
}

.invoice-company {
  text-align: right;
}

.invoice-company h2 {
  margin: 0;
  color: #050505;
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.invoice-company strong {
  display: block;
  margin-top: 14mm;
  font-size: 13px;
  font-weight: 900;
}

.invoice-company p {
  margin: 3px 0 0;
  color: #050505;
  font-size: 12px;
}

.invoice-info-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(240px, 0.9fr);
  gap: 18px;
  padding: 6mm 0 5mm;
}

.invoice-bill-to span {
  display: block;
  margin: 0 0 2px;
  color: #8a949e;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.invoice-bill-to p {
  margin: 0;
  color: #050505;
  font-size: 12px;
}

.invoice-bill-to p::first-line {
  font-weight: 900;
}

.invoice-meta-card {
  display: grid;
  align-content: start;
  gap: 8px;
  text-align: right;
}

.invoice-meta-card div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  font-size: 12px;
}

.invoice-meta-card strong {
  font-weight: 900;
}

.invoice-meta-card .amount-due {
  margin-top: -2px;
  padding: 6px 10px;
  background: #f1f1f1;
  font-weight: 900;
}

.invoice-items-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 0;
}

.invoice-items-table th {
  padding: 9px 12px;
  background: #444;
  border-bottom: 0;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-align: left;
}

.invoice-items-table th:not(:first-child),
.invoice-items-table td:not(:first-child) {
  text-align: right;
}

.invoice-items-table td {
  border-bottom: 2px solid #e5e7eb;
  padding: 6px 12px;
  color: #050505;
  vertical-align: top;
  font-size: 12px;
}

.invoice-items-table td:first-child {
  width: 46%;
}

.invoice-items-table td strong {
  font-weight: 900;
}

.invoice-items-table td span {
  color: #4f5963;
}

.invoice-items-table .numeric {
  text-align: center;
}

.invoice-totals {
  width: min(66mm, 100%);
  margin: 7mm 0 0 auto;
  padding-top: 0;
  border-top: 0;
}

.invoice-total-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 9mm;
  align-items: center;
  padding: 4px 0;
  border-bottom: 0;
  font-size: 12px;
}

.invoice-total-row.strong {
  font-size: 13px;
  font-weight: 900;
}

.invoice-total-row.due {
  margin-top: 6px;
  padding-top: 10px;
  border-top: 3px solid #d8dde2;
  border-bottom: 0;
  font-size: 13px;
  font-weight: 900;
}

.invoice-notes {
  margin-top: 14mm;
  color: #4f5963;
  font-size: 11px;
  line-height: 1.35;
  white-space: pre-wrap;
}

.invoice-notes strong {
  display: block;
  margin-bottom: 6px;
  color: #4f5963;
  font-size: 13px;
}

.invoice-notes p {
  margin: 0;
}

.document-footer {
  position: absolute;
  right: 12mm;
  bottom: 7mm;
  left: 12mm;
  z-index: 1;
  color: #8a8f94;
  font-size: 12px;
  letter-spacing: 0;
  text-align: center;
}

.powered-by {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  justify-content: center;
  margin-top: 7px;
  color: #0b2b78;
  font-size: 16px;
  font-weight: 900;
}

.powered-logo {
  width: 32mm;
  max-height: 12mm;
  object-fit: contain;
}

.receipt-sheet {
  width: 80mm;
  min-height: auto;
  padding: 5mm 4mm 8mm;
  color: #000;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  -webkit-print-color-adjust: exact;
  print-color-adjust: exact;
}

.receipt-sheet * {
  color: #000;
  font-weight: 700;
}

.receipt-sheet .invoice-watermark {
  width: 58mm;
  max-height: 58mm;
  opacity: 0.045;
}

.receipt-sheet .invoice-header,
.receipt-sheet .invoice-info-grid,
.receipt-sheet .invoice-meta-card,
.receipt-sheet .invoice-meta-card div {
  display: block;
}

.receipt-sheet .invoice-header {
  padding: 0 0 4mm;
  border-bottom: 2px solid #000;
  text-align: center;
}

.receipt-sheet .invoice-logo-wrap {
  min-height: 0;
  justify-content: center;
}

.receipt-sheet .invoice-logo {
  width: 58mm;
  max-height: 24mm;
  object-position: center;
}

.receipt-sheet .invoice-brand-block {
  justify-items: center;
  text-align: center;
}

.receipt-sheet .invoice-brand-block strong {
  margin-top: 2mm;
  font-size: 10px;
}

.receipt-sheet .invoice-brand-block p {
  font-size: 9px;
}

.receipt-sheet .invoice-company {
  text-align: center;
}

.receipt-sheet .invoice-company h2 {
  margin-top: 2mm;
  font-size: 20px;
  font-weight: 900;
}

.receipt-sheet .invoice-bill-to p,
.receipt-sheet .invoice-meta-card {
  font-size: 9px;
}

.receipt-sheet .invoice-info-grid {
  padding: 4mm 0;
}

.receipt-sheet .invoice-bill-to {
  margin-bottom: 4mm;
}

.receipt-sheet .invoice-bill-to span {
  margin-bottom: 1mm;
  font-size: 9px;
}

.receipt-sheet .invoice-meta-card {
  text-align: left;
}

.receipt-sheet .invoice-meta-card div {
  margin-top: 1mm;
}

.receipt-sheet .invoice-items-table th,
.receipt-sheet .invoice-items-table td {
  padding: 2mm 0.5mm;
  border-bottom-color: #000;
  font-size: 8.5px;
  font-weight: 800;
}

.receipt-sheet .invoice-items-table {
  table-layout: fixed;
}

.receipt-sheet .invoice-items-table th:first-child,
.receipt-sheet .invoice-items-table td:first-child {
  width: 38%;
}

.receipt-sheet .invoice-items-table th:nth-child(2),
.receipt-sheet .invoice-items-table td:nth-child(2) {
  width: 9%;
}

.receipt-sheet .invoice-items-table th:nth-child(3),
.receipt-sheet .invoice-items-table td:nth-child(3) {
  width: 23%;
}

.receipt-sheet .invoice-items-table th:nth-child(4),
.receipt-sheet .invoice-items-table td:nth-child(4) {
  width: 30%;
}

.receipt-sheet .invoice-items-table th:not(:first-child),
.receipt-sheet .invoice-items-table td:not(:first-child) {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.receipt-sheet .invoice-totals {
  width: 100%;
  margin-top: 3mm;
}

.receipt-sheet .invoice-total-row {
  padding: 1.5mm 0;
  font-size: 10px;
  font-weight: 900;
}

.receipt-sheet .invoice-total-row span,
.receipt-sheet .invoice-meta-card span {
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.receipt-sheet .invoice-notes {
  margin-top: 4mm;
  font-size: 9px;
}

.receipt-sheet .document-footer {
  position: static;
  margin-top: 5mm;
  color: #000;
  font-size: 9px;
  font-weight: 800;
}

.receipt-sheet .document-footer strong {
  margin-top: 2mm;
  font-size: 11px;
}

@media (max-width: 780px) {
  .app-shell {
    display: block;
    padding: 0 12px calc(94px + env(safe-area-inset-bottom));
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 12;
    min-height: 70px;
    margin: 0 -12px 16px;
    padding: 8px 12px;
    background: var(--paper);
  }

  .app-logo {
    width: 56px;
    height: 42px;
  }

  h1 {
    font-size: 1.12rem;
  }

  .tabbar {
    position: fixed;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 2px;
    min-height: 0;
    margin: 0;
    padding: 5px 6px calc(5px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    border-right: 0;
    background: var(--paper);
    box-shadow: 0 -3px 14px rgba(28, 39, 51, 0.07);
  }

  .tab {
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    min-height: 52px;
    padding: 5px 2px;
    border: 0;
    font-size: 0.68rem;
    line-height: 1.1;
    text-align: center;
  }

  .tab .icon {
    width: 20px;
    height: 20px;
  }

  .tab.active {
    border: 0;
    background: #eaf1fb;
  }

  .metrics-grid,
  .builder-grid,
  .editor-layout {
    grid-template-columns: 1fr;
  }

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

  .metric {
    padding: 12px;
  }

  .metric strong,
  .compact-metric strong {
    font-size: 1.16rem;
  }

  .line-card {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 44px;
  }

  .line-item-field {
    grid-column: 1 / -1;
  }

  .remove-line {
    grid-column: 3;
    width: 44px;
  }

  .form-actions {
    flex-direction: column;
  }

  .app-notice {
    right: 10px;
    bottom: calc(78px + env(safe-area-inset-bottom));
  }

  .logo-field {
    grid-template-columns: 1fr;
  }

  .sync-connect {
    grid-template-columns: 1fr;
  }

  .totals-panel {
    position: static;
  }
}

@media (max-width: 400px) {
  .brand-lockup {
    gap: 5px;
  }

  .app-logo {
    width: 48px;
  }

  .topbar-actions {
    gap: 5px;
  }

  .form-row.split {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4;
    margin: 0;
  }

  @page receipt {
    size: 80mm auto;
    margin: 0;
  }

  body {
    background: white;
    margin: 0;
  }

  .app-shell {
    display: none;
  }

  .app-notice {
    display: none;
  }

  .print-page {
    display: block;
  }

  .invoice-sheet {
    width: auto;
    min-height: 297mm;
    padding: 15mm 12mm 17mm;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .invoice-sheet .invoice-watermark {
    opacity: 0.11;
  }

  .receipt-sheet {
    page: receipt;
    width: 80mm;
    min-height: auto;
    padding: 5mm 4mm 8mm;
  }
}
