:root {
  --bg: #f5f7fb;
  --surface: #ffffff;
  --surface-2: #eef3fb;
  --ink: #17233a;
  --muted: #66758f;
  --line: #d8e1ef;
  --accent: #24539a;
  --accent-2: #f0b32e;
  --accent-3: #173e7e;
  --good: #24539a;
  --warn: #9f6b14;
  --shadow: 0 18px 45px rgba(28, 61, 112, 0.11);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

button {
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: linear-gradient(135deg, #f5f7fb 0%, #e9eef7 100%);
}

.login-panel {
  width: min(420px, 100%);
  display: grid;
  gap: 16px;
  padding: 32px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-logo {
  width: 150px;
  height: auto;
}

.login-panel h1 {
  margin: 0;
  font-size: 26px;
}

.login-panel p {
  margin: 0;
  color: var(--muted);
}

.login-panel label,
.compact-dialog label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.login-panel input,
.compact-dialog input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.login-error {
  min-height: 20px;
  color: #9f2f14 !important;
  font-weight: 700;
}

.compact-dialog {
  width: min(460px, calc(100vw - 32px));
}

.profile-layout {
  max-width: 720px;
}

.profile-panel {
  display: grid;
  gap: 20px;
}

.profile-fields {
  display: grid;
  gap: 12px;
  margin: 0;
}

.profile-fields div {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.profile-fields dt {
  color: var(--muted);
  font-weight: 800;
}

.profile-fields dd {
  margin: 0;
  font-weight: 700;
}

.profile-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
}

.sidebar {
  background: #173e7e;
  color: #eef4ff;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 34px;
  border-right: 5px solid var(--accent-2);
}

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

.brand-logo {
  width: 112px;
  max-width: 48%;
  height: auto;
  padding: 7px 8px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(10, 30, 70, 0.18);
  object-fit: contain;
}

.brand-block h1 {
  font-size: 20px;
  margin: 0 0 4px;
}

.brand-block p {
  margin: 0;
  color: #c8d6ed;
  font-size: 13px;
}

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

.nav-button {
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #dbe7fb;
  text-align: left;
  padding: 12px 14px;
}

.nav-button.is-active,
.nav-button:hover {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  box-shadow: inset 4px 0 0 var(--accent-2);
}

.workspace {
  padding: 28px;
  min-width: 0;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 20px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
}

.topbar h2 {
  margin: 0;
  font-size: 30px;
}

.topbar-actions,
.dialog-actions,
.form-actions,
.line-head {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.language-switch {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.language-switch select {
  min-width: 120px;
  padding: 8px 10px;
}

.primary-button,
.secondary-button,
.icon-button {
  border: 1px solid transparent;
  border-radius: 8px;
  min-height: 38px;
  padding: 8px 14px;
  font-weight: 700;
}

.primary-button {
  background: var(--accent);
  color: #fff;
}

.primary-button:hover {
  background: var(--accent-3);
}

.compact-button {
  padding: 8px 12px;
  font-size: 12px;
}

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

.secondary-button {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line);
}

.secondary-button:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.align-end {
  align-self: end;
}

.icon-button {
  width: 40px;
  padding: 0;
  background: var(--surface-2);
  font-size: 24px;
}

.view {
  display: none;
}

.view.is-active {
  display: block;
}

.toolbar,
.section-head {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  padding: 14px;
  margin-bottom: 12px;
  display: flex;
  gap: 14px;
  align-items: end;
  justify-content: space-between;
}

.search-field,
.select-field,
.panel-form label,
.order-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.search-field {
  flex: 1;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 11px;
  background: #fff;
  color: var(--ink);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(36, 83, 154, 0.14);
  outline: none;
}

.table-wrap,
.list-panel,
.panel-form,
.info-panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.table-wrap {
  overflow: auto;
}

.invoice-section {
  margin-top: 18px;
}

.invoice-section h4 {
  margin: 0;
  padding: 14px 14px 0;
  color: var(--ink);
}

.invoice-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 16px;
}

.invoice-summary div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px 12px;
  background: var(--surface-2);
}

.invoice-summary span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 4px;
}

.invoice-lines-wrap {
  margin-top: 16px;
  box-shadow: none;
}

.invoice-lines-wrap table {
  min-width: 620px;
}

.original-order-list {
  display: grid;
  gap: 16px;
}

.original-order-month {
  display: grid;
  gap: 10px;
}

.original-order-month h4 {
  margin: 0;
  color: var(--accent);
}

.original-order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.original-order-card {
  display: grid;
  gap: 6px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  padding: 12px;
  background: #ffffff;
}

.original-order-card span {
  color: var(--muted);
}

.print-frame {
  position: fixed;
  left: -220mm;
  top: 0;
  width: 210mm;
  height: 297mm;
  border: 0;
  opacity: 0;
  pointer-events: none;
}

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

th,
td {
  padding: 13px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

th {
  color: var(--muted);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0;
}

thead {
  background: #f8b82e14;
}

tbody tr:hover {
  background: #f8fbff;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-width: 92px;
  justify-content: center;
  border-radius: 999px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-2);
  color: var(--ink);
}

.status-pill.shipped,
.status-pill.invoiced,
.status-pill.accepted,
.status-pill.approved,
.status-pill.pushed,
.status-pill.paid,
.status-pill.order {
  background: #e4efff;
  color: var(--good);
}

.status-pill.draft,
.status-pill.sent,
.status-pill.submitted,
.status-pill.unpaid {
  background: #fff4d7;
  color: var(--warn);
}

.status-pill.rejected,
.status-pill.overdue {
  background: #f7e1dc;
  color: #a94128;
}

.status-pill.partially-paid {
  background: #eef0ff;
  color: #4f5fb8;
}

.status-pill.shipment-pending {
  background: #fff4d7;
  color: var(--warn);
}

.status-pill.shipment-booked {
  background: #eef0ff;
  color: #4f5fb8;
}

.status-pill.shipment-shipped {
  background: #e4efff;
  color: var(--good);
}

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

.empty-state {
  color: var(--muted);
  margin: 0;
  padding: 14px;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.bulk-product-panel {
  display: grid;
  gap: 10px;
  margin-top: 8px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.bulk-product-panel h4 {
  margin: 0;
}

.bulk-product-panel textarea {
  min-height: 128px;
  font-size: 13px;
}

.action-link {
  background: transparent;
  border: 0;
  color: var(--accent);
  font-weight: 800;
  padding: 0;
}

.compact-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.danger-link {
  color: #a94128;
}

.inline-link {
  color: var(--accent);
  text-decoration: none;
}

.inline-link:hover {
  text-decoration: underline;
}

.shipment-list {
  display: grid;
  gap: 12px;
}

.shipment-item,
.compact-row {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 8px;
}

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

.shipment-meta,
.compact-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 13px;
}

.shipment-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.shipment-leg {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  background: #f8fbff;
  color: var(--muted);
  font-size: 13px;
}

.shipment-leg strong {
  color: var(--ink);
  font-size: 14px;
}

.shipment-leg label {
  display: grid;
  gap: 4px;
  color: var(--muted);
  font-weight: 700;
}

.shipment-leg input {
  width: 100%;
  min-height: 34px;
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--ink);
}

.inventory-list {
  display: grid;
  gap: 10px;
}

.inventory-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

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

.inventory-summary strong {
  display: block;
  margin-bottom: 8px;
}

.inventory-batch-head,
.inventory-batch-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) 120px;
  gap: 12px;
  align-items: center;
}

.inventory-batch-head {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.inventory-batches {
  display: grid;
  gap: 8px;
}

.inventory-batch-row {
  padding: 10px 0;
  border-top: 1px solid var(--line);
}

.stock-pill {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 9px;
  font-size: 12px;
  font-weight: 800;
}

.stock-pill-ok {
  color: #12643f;
  background: #ddf7ea;
}

.stock-pill-low {
  color: #9f3412;
  background: #ffedd5;
}

.stock-pill-unset {
  color: #56657d;
  background: #edf2f8;
}

.download-library {
  display: grid;
  gap: 16px;
}

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

.download-column {
  display: grid;
  align-content: start;
  gap: 10px;
}

.download-column h3 {
  margin: 0;
}

.download-product-group {
  display: grid;
  gap: 10px;
}

.download-product-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: flex-start;
  padding: 12px 14px;
  border-left: 4px solid var(--accent);
  background: #eef3fb;
  border-radius: 8px;
}

.download-product-head div {
  display: grid;
  gap: 4px;
}

.download-product-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.download-product-head strong {
  line-height: 1.3;
}

.download-doc-list {
  display: grid;
  gap: 10px;
}

.download-card {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.download-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

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

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

.order-coa-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 10px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.order-coa-card strong {
  overflow-wrap: anywhere;
}

.order-coa-card span {
  color: var(--muted);
  font-size: 12px;
}

.invoice-total-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 12px;
  margin: 0 0 14px;
}

.invoice-total-summary div {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.invoice-total-summary span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.invoice-total-summary strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  font-size: 22px;
}

.split-layout,
.xero-grid {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 16px;
}

.panel-form,
.list-panel,
.info-panel {
  padding: 18px;
}

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

.list-panel h3,
.panel-form h3,
.info-panel h3,
.section-head h3 {
  margin: 0 0 12px;
}

.section-head p,
.info-panel p,
.info-panel li {
  color: var(--muted);
  line-height: 1.6;
}

.backup-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.activity-log-list {
  display: grid;
  gap: 8px;
  max-height: 360px;
  overflow: auto;
}

.activity-log-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.activity-log-row div {
  display: grid;
  gap: 4px;
}

.activity-log-row span,
.activity-log-row time {
  color: var(--muted);
  font-size: 0.88rem;
}

.activity-log-row time {
  white-space: nowrap;
}

#customerList,
#productList {
  display: grid;
  gap: 10px;
}

.product-group-row {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

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

.product-variant-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 9px 10px;
  border-radius: 8px;
  background: var(--surface-2);
}

.product-variant-row div {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.product-variant-row span {
  color: var(--muted);
}

.customer-search,
.product-search {
  margin-bottom: 14px;
}

dialog {
  width: min(960px, calc(100vw - 28px));
  border: 0;
  border-radius: 8px;
  padding: 0;
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.35);
}

#quotePreviewDialog {
  width: min(1080px, calc(100vw - 28px));
}

#quoteItemDialog {
  width: min(720px, calc(100vw - 28px));
}

#pdfPreviewDialog {
  width: min(1100px, calc(100vw - 28px));
}

dialog::backdrop {
  background: rgba(15, 31, 58, 0.58);
}

.order-form {
  padding: 22px;
  display: grid;
  gap: 18px;
}

.dialog-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.dialog-head h3 {
  margin: 0;
  font-size: 22px;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.inline-panel {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent-2);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  background: #f8fbff;
}

.inline-panel.is-hidden {
  display: none;
}

.paste-zone {
  border: 1px dashed #9db3d8;
  border-radius: 8px;
  min-height: 92px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: #f8fbff;
  color: var(--muted);
  cursor: text;
}

.paste-zone:focus {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.paste-zone strong {
  color: var(--ink);
}

.shipping-label-thumb {
  grid-column: 1 / -1;
  max-height: 180px;
  max-width: 100%;
  object-fit: contain;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.shipping-label-thumb.is-hidden {
  display: none;
}

.po-match-panel {
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: 8px;
  padding: 14px;
  background: #ffffff;
}

.po-match-panel.is-hidden {
  display: none;
}

.po-match-panel h4 {
  margin: 0 0 12px;
}

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

.po-match-summary > div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 10px;
  background: #f8fbff;
  line-height: 1.35;
}

.po-match-table {
  min-width: 0;
  table-layout: fixed;
}

.po-match-table th:nth-child(1),
.po-match-table td:nth-child(1) {
  width: 30%;
}

.po-match-table th:nth-child(2),
.po-match-table td:nth-child(2) {
  width: 110px;
}

.po-match-table th,
.po-match-table td {
  padding: 9px 10px;
}

.po-match-picker {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 8px;
  align-items: center;
}

.po-match-picker select {
  min-width: 0;
}

.po-match-status {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-2);
}

.po-match-status.matched {
  background: #e4efff;
  color: var(--good);
}

.po-match-status.warning {
  background: #fff4d7;
  color: var(--warn);
}

.po-match-status.not,
.po-match-status.not-found {
  background: #f7e1dc;
  color: #a94128;
}

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

.checkbox-field {
  align-items: center;
  display: flex;
  flex-direction: row;
  gap: 8px;
  min-height: 42px;
}

.checkbox-field input {
  width: auto;
}

.line-editor {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
  display: grid;
  gap: 12px;
}

.line-head {
  justify-content: space-between;
}

.line-head h4 {
  margin: 0;
}

.order-line {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) 90px 110px 44px;
  gap: 10px;
  align-items: end;
  margin-bottom: 10px;
}

.quote-line {
  grid-template-columns: minmax(220px, 1.4fr) minmax(180px, 1fr) 90px 110px 44px;
}

.product-picker {
  display: grid;
  gap: 8px;
}

.form-total {
  margin-left: auto;
  font-size: 20px;
  font-weight: 800;
}

.preview-shell {
  background: #eef3fb;
  padding: 18px;
  max-height: min(90vh, 980px);
  overflow: auto;
}

.preview-toolbar {
  margin-bottom: 16px;
}

.preview-edit-bar {
  display: flex;
  align-items: end;
  gap: 12px;
  margin: 0 0 14px;
}

.preview-edit-bar label {
  max-width: 220px;
}

.pdf-preview-shell {
  background: #eef3fb;
  padding: 18px;
}

#pdfPreviewFrame {
  width: 100%;
  height: min(76vh, 900px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.quote-document {
  display: grid;
  place-items: center;
}

.quote-page {
  width: min(100%, 840px);
  min-height: 1080px;
  background: #ffffff;
  color: #17233a;
  padding: 44px;
  border: 1px solid #d8e1ef;
  box-shadow: 0 20px 60px rgba(28, 61, 112, 0.16);
}

.invoice-document {
  display: grid;
  place-items: center;
  padding: 18px;
  background: #eef3f8;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: auto;
}

.tax-invoice-page {
  width: min(100%, 840px);
  min-height: 1080px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  color: #17233a;
  font-size: 13px;
  padding: 34px 40px;
  border: 1px solid #d8e1ef;
  box-shadow: 0 20px 60px rgba(28, 61, 112, 0.16);
}

.tax-invoice-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 390px;
  gap: 18px;
  align-items: stretch;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--accent);
}

.tax-invoice-header > div {
  display: flex;
  flex-direction: column;
}

.tax-invoice-company {
  padding-left: 14px;
}

.tax-invoice-company p {
  padding-left: 22px;
}

.tax-invoice-logo {
  width: 195px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.tax-invoice-header p,
.tax-invoice-parties p,
.tax-invoice-notes p {
  color: #5c6d86;
  line-height: 1.3;
  margin: 0;
}

.tax-invoice-title {
  text-align: right;
  justify-content: flex-start;
}

.tax-invoice-title h2 {
  margin: 0;
  color: var(--accent);
  font-size: 28px;
}

.tax-invoice-registration {
  margin: 4px 0 12px;
  color: #5c6d86;
  line-height: 1.3;
}

.tax-invoice-title dl {
  align-self: flex-end;
  margin: 18px 0 0;
  display: grid;
  gap: 4px;
  width: max-content;
}

.tax-invoice-title dl div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 8px;
  align-items: baseline;
  text-align: left;
}

.tax-invoice-title dl dt {
  text-align: left;
  white-space: nowrap;
}

.tax-invoice-title dl dd {
  text-align: left;
  white-space: nowrap;
}

.tax-invoice-totals div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.tax-invoice-title dt,
.tax-invoice-totals span {
  color: #5c6d86;
  font-weight: 700;
}

.tax-invoice-title dt,
.tax-invoice-title dd {
  margin: 0;
  color: #5c6d86;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: 0;
}

.tax-invoice-parties {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 14px;
  align-items: start;
  margin: 16px 0;
}

.tax-invoice-parties > div {
  padding: 11px 13px;
  border: 1px solid #d8e1ef;
  border-left: 5px solid var(--accent-2);
  border-radius: 8px;
}

.tax-invoice-parties span {
  display: block;
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 5px;
}

.tax-invoice-parties strong {
  display: block;
  margin-bottom: 5px;
}

.tax-invoice-detail-heading {
  margin-top: 12px;
}

.tax-invoice-items {
  flex: 1 1 auto;
  display: grid;
  align-content: start;
}

.tax-invoice-lines {
  width: 100%;
  min-width: 0;
  table-layout: fixed;
}

.invoice-description-col {
  width: 45%;
}

.invoice-pack-col {
  width: 17%;
}

.invoice-price-col {
  width: 16%;
}

.invoice-gst-col {
  width: 8%;
}

.invoice-amount-col {
  width: 14%;
}

.tax-invoice-lines th {
  color: #17233a;
  background: #f8b82e24;
}

.tax-invoice-lines th,
.tax-invoice-lines td {
  padding: 8px 10px;
}

.tax-invoice-lines th:nth-child(2),
.tax-invoice-lines td:nth-child(2) {
  text-align: left;
}

.tax-invoice-lines th:nth-child(n + 3),
.tax-invoice-lines td:nth-child(n + 3) {
  text-align: right;
}

.tax-invoice-lines td:first-child span {
  display: block;
  margin-top: 5px;
  color: #66758f;
  font-size: 11px;
}

.tax-invoice-bottom {
  flex: 0 0 auto;
  display: block;
  padding-top: 12px;
}

.tax-invoice-payment-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  border: 1px solid #d8e1ef;
  border-radius: 8px;
  padding: 8px 10px;
  border-left: 5px solid var(--accent-2);
  font-size: 12px;
  line-height: 1.28;
}

.tax-invoice-payment-block h3 {
  margin: 0 0 3px;
  color: var(--accent);
  font-size: 12px;
}

.tax-invoice-payment-block p {
  margin: 0;
  color: #5c6d86;
}

.tax-invoice-notes-block {
  grid-column: 1 / -1;
}

.tax-invoice-proforma-note {
  grid-column: 1 / -1;
}

.tax-invoice-totals {
  display: grid;
  gap: 6px;
  align-content: start;
  width: 280px;
  margin: 12px 0 0 auto;
}

.tax-invoice-grand-total {
  padding-top: 8px;
  border-top: 2px solid #17233a;
  font-size: 16px;
}

.tax-invoice-gst-note {
  margin: 0;
  color: #66758f;
  font-size: 10px;
  line-height: 1.25;
}

.quote-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 32px;
  padding-bottom: 28px;
  border-bottom: 5px solid var(--accent-2);
}

.quote-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 18px;
}

.quote-company,
.quote-to p,
.quote-terms p {
  color: #5c6d86;
  line-height: 1.55;
  margin: 0;
}

.quote-title-block {
  text-align: right;
}

.quote-title-block h2 {
  margin: 0 0 18px;
  color: var(--accent);
  font-size: 36px;
}

.quote-title-block dl {
  margin: 0;
  display: grid;
  gap: 8px;
}

.quote-title-block dl div,
.quote-totals div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
}

.quote-title-block dt,
.quote-totals span {
  color: #66758f;
  font-weight: 700;
}

.quote-title-block dd {
  margin: 0;
  font-weight: 800;
}

.quote-to {
  margin: 14px 0 12px;
  padding: 8px 10px;
  border: 1px solid #d8e1ef;
  border-left: 3px solid var(--accent);
  border-radius: 6px;
}

.quote-to span {
  display: block;
  color: var(--accent);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 3px;
}

.quote-to strong {
  display: block;
  font-size: 12px;
  margin-bottom: 3px;
}

.quote-to p {
  font-size: 10px;
  line-height: 1.25;
}

.quote-page:not(.order-confirmation-page) .quote-header {
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 28px;
  align-items: start;
  padding-bottom: 24px;
  border-bottom: 0;
}

.quote-page:not(.order-confirmation-page) .quote-logo {
  width: 260px;
  margin-bottom: 4px;
}

.quote-page:not(.order-confirmation-page) .quote-company {
  color: #000000;
  font-size: 9px;
  line-height: 1.18;
}

.quote-page:not(.order-confirmation-page) .quote-company div {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  color: var(--accent);
}

.quote-page:not(.order-confirmation-page) .quote-company span {
  display: block;
}

.quote-page:not(.order-confirmation-page) .quote-company .quote-website {
  color: var(--accent-2);
  font-weight: 800;
}

.quote-page:not(.order-confirmation-page) .quote-title-block h2 {
  margin: 12px 0 8px;
  color: var(--accent);
  font-size: 28px;
  line-height: 1;
  letter-spacing: 0;
}

.quote-page:not(.order-confirmation-page) .quote-title-block dl {
  gap: 6px;
}

.quote-page:not(.order-confirmation-page) .quote-title-block dl div {
  align-items: baseline;
  gap: 12px;
}

.quote-page:not(.order-confirmation-page) .quote-title-block dt {
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
}

.quote-page:not(.order-confirmation-page) .quote-title-block dd {
  min-width: 88px;
  color: #000000;
  font-size: 10px;
  font-weight: 400;
  text-align: left;
}

.quote-page:not(.order-confirmation-page) .quote-title-block .quote-number {
  color: var(--accent-2);
  font-weight: 800;
}

.order-confirmation-page .quote-header {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 24px;
  align-items: start;
  padding-bottom: 16px;
  border-bottom: 4px solid var(--accent-2);
}

.order-confirmation-page .quote-logo {
  width: 220px;
  margin-bottom: 10px;
}

.order-confirmation-page .quote-company {
  font-size: 13px;
  line-height: 1.28;
}

.order-confirmation-page .quote-title-block h2 {
  margin: 0 0 10px;
  font-size: 34px;
  line-height: 1.08;
}

.order-confirmation-page .quote-title-block dl {
  gap: 5px;
}

.order-confirmation-page .quote-title-block dl div {
  gap: 12px;
}

.quote-project-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 800;
  text-align: left;
}

.quote-project-row strong {
  min-width: 88px;
  color: #000000;
  font-weight: 400;
}

.quote-address-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  margin: 8px 0 24px;
  padding-bottom: 18px;
  border-bottom: 5px solid var(--accent-2);
}

.quote-address-block {
  color: #000000;
  font-size: 10px;
  line-height: 1.22;
}

.quote-address-block span {
  display: block;
}

.quote-address-block > span:first-child {
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  margin-bottom: 9px;
}

.quote-address-block strong {
  display: block;
  font-weight: 800;
}

.quote-lines {
  min-width: 0;
  font-size: 14px;
}

.quote-lines th {
  background: var(--accent);
  color: #ffffff;
}

.quote-line-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.quote-line-sku {
  display: block;
  color: #66758f;
  margin-top: 4px;
}

.quote-line-note {
  color: #1f2f4d;
  font-size: 13px;
}

.quote-line-note::before {
  content: "·";
  margin-right: 6px;
  color: #94a1b8;
}

.quote-accessory-row td {
  padding-top: 0;
  color: #1f2f4d;
  font-size: 13px;
}

.quote-parent-row td {
  padding-bottom: 2px;
  border-bottom: 0;
}

.quote-accessory-row td:first-child {
  padding-left: 24px;
}

.quote-lines th:nth-child(2),
.quote-lines td:nth-child(2) {
  text-align: left;
}

.quote-lines th:nth-child(n + 3),
.quote-lines td:nth-child(n + 3) {
  text-align: right;
}

.packing-page {
  width: min(100%, 840px);
  min-height: 1080px;
  background: #ffffff;
  color: #222222;
  padding: 44px;
  border: 1px solid #d8d8d8;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  font-family: Arial, Helvetica, sans-serif;
}

.packing-page h2 {
  margin: 0 0 8px;
  text-align: center;
  font-size: 24px;
  letter-spacing: 0;
  color: #222222;
}

.packing-edit-note {
  margin: 0 0 28px;
  text-align: center;
  color: #777777;
  font-size: 12px;
}

.packing-page [contenteditable="true"] {
  border-radius: 4px;
  outline: 1px dashed transparent;
}

.packing-page [contenteditable="true"]:hover,
.packing-page [contenteditable="true"]:focus {
  outline-color: #b8b8b8;
  background: #fffbe8;
}

.packing-ship-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 28px;
  margin-bottom: 26px;
}

.packing-ship-row span,
.packing-meta-grid span,
.packing-comments span {
  display: block;
  color: #555555;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.packing-ship-row strong,
.packing-meta-grid strong {
  display: block;
  color: #222222;
  font-size: 14px;
}

.packing-ship-row p {
  margin: 4px 0 0;
  color: #333333;
  line-height: 1.45;
}

.packing-meta-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px 20px;
  margin-bottom: 32px;
  padding-bottom: 18px;
  border-bottom: 1px solid #d0d0d0;
}

.packing-lines {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 13px;
}

.packing-lines th,
.packing-lines td {
  border-bottom: 1px solid #d8d8d8;
  padding: 10px 8px;
  text-align: left;
  vertical-align: top;
}

.packing-lines th {
  color: #333333;
  background: #f2f2f2;
  font-size: 12px;
  text-transform: uppercase;
}

.packing-lines th:nth-child(n + 3),
.packing-lines td:nth-child(n + 3) {
  text-align: right;
  width: 110px;
}

.packing-comments {
  margin-top: 34px;
}

.packing-comments p {
  min-height: 72px;
  margin: 0;
  padding: 10px 0;
  color: #333333;
  line-height: 1.5;
  border-bottom: 1px solid #d0d0d0;
}

.packing-footer {
  margin-top: 22px;
  padding-top: 14px;
  border-top: 1px solid #d0d0d0;
  color: #333333;
  font-size: 13px;
  line-height: 1.35;
}

.packing-footer p {
  margin: 0 0 8px;
}

.packing-footer strong {
  display: block;
  color: #222222;
  font-size: 15px;
}

.quote-bottom {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  margin-top: 30px;
}

.quote-terms h3 {
  color: var(--accent);
  font-size: 14px;
  margin: 0 0 8px;
}

.quote-terms h3 + p {
  margin-bottom: 18px;
}

.quote-totals {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: 18px;
  border-radius: 8px;
  background: #f5f7fb;
  border: 1px solid #d8e1ef;
}

.quote-grand-total {
  padding-top: 12px;
  border-top: 3px solid var(--accent-2);
  color: var(--accent);
  font-size: 18px;
}

@media (max-width: 920px) {
  .app-shell,
  .split-layout,
  .xero-grid,
  .download-columns {
    grid-template-columns: 1fr;
  }

  .sidebar {
    position: sticky;
    top: 0;
    z-index: 5;
    padding: 16px;
  }

  .nav-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .nav-button {
    text-align: center;
    padding: 10px 6px;
  }

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

  .topbar,
  .toolbar {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .workspace {
    padding: 16px;
  }

  .brand-block p {
    display: none;
  }

  .form-grid,
  .inventory-row,
  .po-match-summary,
  .quote-header,
  .quote-bottom,
  .order-line {
    grid-template-columns: 1fr;
  }

  .nav-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

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

  html,
  body {
    width: 210mm;
    min-height: 297mm;
    margin: 0;
    background: #ffffff;
  }

  body * {
    visibility: hidden;
  }

  #quotePreviewContent,
  #quotePreviewContent *,
  #orderConfirmationContent,
  #orderConfirmationContent *,
  #packingPreviewContent,
  #packingPreviewContent *,
  #invoiceDocument,
  #invoiceDocument * {
    visibility: visible;
  }

  #quotePreviewDialog,
  #orderConfirmationDialog,
  #packingPreviewDialog,
  #invoiceDialog {
    position: static;
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
    overflow: visible;
  }

  #quotePreviewDialog::backdrop,
  #orderConfirmationDialog::backdrop,
  #packingPreviewDialog::backdrop,
  #invoiceDialog::backdrop,
  .preview-toolbar,
  .preview-edit-bar,
  .packing-edit-note,
  .invoice-edit-grid,
  #invoiceForm > .dialog-head,
  #invoiceForm > .dialog-actions {
    display: none;
  }

  .preview-shell,
  .quote-document,
  .invoice-document {
    display: block;
    padding: 0;
    background: #ffffff;
    overflow: visible;
    max-height: none;
  }

  #orderConfirmationDialog,
  #orderConfirmationDialog .preview-shell,
  #orderConfirmationContent,
  #orderConfirmationContent.quote-document {
    position: static;
    display: block;
    width: 210mm;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: visible;
  }

  #orderConfirmationContent {
    position: absolute;
    inset: 0 auto auto 0;
  }

  .printing-invoice #invoiceDocument {
    position: absolute;
    inset: 0 auto auto 0;
    width: 210mm;
    min-height: 297mm;
    border: 0;
    border-radius: 0;
  }

  .quote-page {
    width: 100%;
    min-height: auto;
    padding: 10mm 12mm;
    border: 0;
    box-shadow: none;
    break-after: auto;
    page-break-after: auto;
  }

  .quote-to {
    margin: 8px 0 10px;
    padding: 6px 8px;
    border-left-width: 3px;
  }

  .quote-to span {
    font-size: 7px;
    margin-bottom: 2px;
  }

  .quote-to strong {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .quote-to p {
    font-size: 8.5px;
    line-height: 1.18;
  }

  .quote-page:not(.order-confirmation-page) .quote-header {
    grid-template-columns: minmax(0, 1fr) 52mm;
    gap: 8mm;
    padding-bottom: 4mm;
  }

  .quote-page:not(.order-confirmation-page) .quote-logo {
    width: 58mm;
    margin-bottom: 0.5mm;
  }

  .quote-page:not(.order-confirmation-page) .quote-company {
    font-size: 6.8pt;
    line-height: 1.05;
  }

  .quote-page:not(.order-confirmation-page) .quote-company div {
    gap: 3mm;
  }

  .quote-page:not(.order-confirmation-page) .quote-title-block h2 {
    margin: 2mm 0 2mm;
    font-size: 18pt;
  }

  .quote-page:not(.order-confirmation-page) .quote-title-block dt,
  .quote-page:not(.order-confirmation-page) .quote-title-block dd,
  .quote-project-row,
  .quote-project-row strong {
    font-size: 6.8pt;
  }

  .quote-page:not(.order-confirmation-page) .quote-title-block dl {
    gap: 3px;
  }

  .order-confirmation-page {
    padding-top: 10mm;
  }

  .order-confirmation-page .quote-header {
    grid-template-columns: minmax(0, 1fr) 68mm;
    gap: 8mm;
    padding-bottom: 3mm;
    border-bottom-width: 1.2mm;
  }

  .order-confirmation-page .quote-logo {
    width: 48mm;
    margin-bottom: 2mm;
  }

  .order-confirmation-page .quote-company {
    font-size: 7.5pt;
    line-height: 1.12;
  }

  .order-confirmation-page .quote-title-block h2 {
    margin: 0 0 3mm;
    font-size: 24pt;
    line-height: 1.02;
  }

  .order-confirmation-page .quote-title-block dt,
  .order-confirmation-page .quote-title-block dd {
    font-size: 8.2pt;
  }

  .order-confirmation-page .quote-title-block dl {
    gap: 2px;
  }

  .order-confirmation-page .quote-to {
    margin-top: 4mm;
  }

  .quote-project-row {
    margin-top: 6mm;
  }

  .quote-address-grid {
    gap: 16mm;
    margin: 0 0 5mm;
    padding-bottom: 4mm;
    border-bottom-width: 1.5mm;
  }

  .quote-address-block {
    font-size: 7pt;
    line-height: 1.08;
  }

  .quote-address-block > span:first-child {
    font-size: 7.5pt;
    margin-bottom: 1.2mm;
  }

  .quote-lines {
    font-size: 8pt;
  }

  .quote-lines th,
  .quote-lines td {
    padding-top: 4px;
    padding-bottom: 4px;
  }

  .quote-line-sku {
    margin-top: 1px;
  }

  .quote-line-note {
    font-size: 7.5pt;
  }

  .quote-bottom {
    grid-template-columns: minmax(0, 1fr) 52mm;
    gap: 8mm;
    margin-top: 5mm;
  }

  .quote-terms h3 {
    font-size: 8pt;
    margin-bottom: 2px;
  }

  .quote-terms p {
    font-size: 7pt;
    line-height: 1.16;
  }

  .quote-terms h3 + p {
    margin-bottom: 4px;
  }

  .quote-totals {
    gap: 4px;
    padding: 6px;
    border-radius: 4px;
    font-size: 8pt;
  }

  .quote-grand-total {
    padding-top: 5px;
    border-top-width: 1.5px;
    font-size: 10pt;
  }

  .printing-quote html,
  .printing-quote body,
  .printing-quote #quotePreviewContent,
  .printing-quote .quote-document {
    width: 210mm;
    height: auto;
    min-height: 0;
    overflow: visible;
  }

  .packing-page {
    width: 198mm;
    min-height: 0;
    margin: 0 auto;
    padding: 8mm 9mm;
    border: 0;
    box-shadow: none;
    page-break-after: avoid;
    break-after: avoid;
  }

  body.printing-packing,
  body.printing-packing #packingPreviewContent,
  body.printing-packing .quote-document {
    width: 210mm;
    height: auto;
    min-height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
  }

  body.printing-packing #packingPreviewContent {
    position: absolute;
    inset: 0 auto auto 0;
    page-break-after: avoid;
    break-after: avoid;
  }

  body.printing-packing .packing-page h2 {
    margin-bottom: 3mm;
    font-size: 19pt;
    line-height: 1;
  }

  body.printing-packing .packing-ship-row {
    grid-template-columns: minmax(0, 1fr) 34mm;
    gap: 8mm;
    margin-bottom: 4mm;
  }

  body.printing-packing .packing-ship-row span,
  body.printing-packing .packing-meta-grid span,
  body.printing-packing .packing-comments span {
    margin-bottom: 1mm;
    font-size: 7pt;
  }

  body.printing-packing .packing-ship-row strong,
  body.printing-packing .packing-meta-grid strong {
    font-size: 9pt;
    line-height: 1.15;
  }

  body.printing-packing .packing-ship-row p {
    margin-top: 1mm;
    font-size: 9pt;
    line-height: 1.16;
  }

  body.printing-packing .packing-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2.5mm 7mm;
    margin-bottom: 4mm;
    padding-bottom: 3mm;
  }

  body.printing-packing .packing-lines {
    font-size: 9pt;
  }

  body.printing-packing .packing-lines th,
  body.printing-packing .packing-lines td {
    padding: 2mm 2mm;
    line-height: 1.18;
  }

  body.printing-packing .packing-lines th {
    font-size: 7.5pt;
  }

  body.printing-packing .packing-lines th:first-child,
  body.printing-packing .packing-lines td:first-child {
    width: 24mm;
  }

  body.printing-packing .packing-lines th:nth-child(n + 3),
  body.printing-packing .packing-lines td:nth-child(n + 3) {
    width: 18mm;
  }

  body.printing-packing .packing-comments {
    margin-top: 4mm;
  }

  body.printing-packing .packing-comments p {
    min-height: 10mm;
    padding: 1.5mm 0;
    font-size: 9pt;
    line-height: 1.2;
  }

  body.printing-packing .packing-footer {
    margin-top: 3mm;
    padding-top: 2mm;
    font-size: 8.5pt;
    line-height: 1.2;
  }

  body.printing-packing .packing-footer p {
    margin-bottom: 1.5mm;
  }

  body.printing-packing .packing-footer strong {
    font-size: 10pt;
  }

  .printing-invoice .tax-invoice-page {
    width: 210mm;
    min-height: 297mm;
    padding: 10mm 12mm;
    font-size: 12px;
    border: 0;
    box-shadow: none;
  }

  .printing-invoice .tax-invoice-logo {
    width: 175px;
  }

  .printing-invoice .tax-invoice-header {
    grid-template-columns: minmax(0, 1fr) 82mm;
    gap: 6mm;
  }

  .printing-invoice .tax-invoice-company p {
    padding-left: 7mm;
  }

  .printing-invoice .tax-invoice-company {
    padding-left: 5mm;
  }

  .printing-invoice .tax-invoice-title h2 {
    font-size: 26px;
  }

  .printing-invoice .tax-invoice-registration {
    margin: 1mm 0 4mm;
  }

  .printing-invoice .tax-invoice-title dl div {
    grid-template-columns: 23mm minmax(0, 1fr);
    gap: 2.5mm;
  }

  .printing-invoice .tax-invoice-title dl {
    margin-top: 5mm;
  }

  .printing-invoice .tax-invoice-title dt,
  .printing-invoice .tax-invoice-title dd {
    font-size: 12px;
    line-height: 1.3;
  }

  .printing-invoice .tax-invoice-title dl dd {
    padding-left: 0;
  }

  .printing-invoice .tax-invoice-parties {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
  }

  .printing-invoice .tax-invoice-totals {
    width: 68mm;
  }

  .printing-invoice .tax-invoice-lines {
    width: 100%;
    table-layout: fixed;
  }
}
