:root {
  --bg: #f6f7f9;
  --surface: #ffffff;
  --surface-soft: #f1f3f5;
  --line: #e2e5e8;
  --text: #202428;
  --muted: #838990;
  --income: #2489c7;
  --outgo: #e35c52;
  --accent: #f25c54;
  --accent-dark: #d94b44;
  --green: #16805c;
  --amber: #9a6a12;
  --shadow: 0 12px 28px rgba(32, 36, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.muted,
.small-note {
  color: var(--muted);
  line-height: 1.6;
}

.small-note {
  margin-bottom: 0;
  font-size: 13px;
}

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

.login-view {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}

.login-card {
  width: min(100%, 420px);
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card h1 {
  margin: 0;
  font-size: 30px;
  line-height: 1.2;
}

.login-hint {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.app-view {
  min-height: 100vh;
  padding-bottom: 86px;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 18px 12px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.app-header h1,
.section-title h2 {
  margin: 0;
  line-height: 1.2;
}

.app-header h1 {
  font-size: 26px;
}

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

.section-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: flex-end;
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--text);
  font-size: 28px;
  line-height: 1;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.app-main {
  width: min(100%, 1120px);
  margin: 0 auto;
}

.view {
  display: none;
}

.view.active {
  display: grid;
  gap: 12px;
}

.top-numbers {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.number-cell {
  min-height: 76px;
  display: grid;
  place-items: center;
  padding: 10px 6px;
  text-align: center;
}

.number-cell span {
  color: var(--muted);
  font-size: 14px;
}

.number-cell strong {
  margin-top: 5px;
  font-size: 22px;
  line-height: 1.1;
  word-break: break-word;
}

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

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

.net.good {
  color: var(--green);
}

.net.bad {
  color: var(--outgo);
}

.page-tabs,
.segmented {
  display: flex;
  gap: 0;
  overflow-x: auto;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.page-tab,
.segment {
  min-height: 46px;
  flex: 1 0 auto;
  padding: 8px 14px;
  color: var(--muted);
  font-weight: 800;
  background: transparent;
  border: 0;
  border-bottom: 3px solid transparent;
  white-space: nowrap;
}

.page-tab.active,
.segment.active {
  color: var(--text);
  border-bottom-color: var(--accent);
}

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

.compact-panel {
  margin-top: 0;
}

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

.section-title h2 {
  font-size: 19px;
}

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

.soft-tag,
.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 9px;
  color: #555b61;
  font-size: 13px;
  font-weight: 800;
  background: var(--surface-soft);
  border-radius: 8px;
  white-space: nowrap;
}

.ledger-list {
  display: grid;
}

.day-group {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.day-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 13px 16px 9px;
  border-bottom: 1px solid var(--line);
}

.day-number {
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.day-meta {
  color: var(--muted);
  font-weight: 700;
}

.day-total {
  color: var(--outgo);
  font-size: 20px;
  font-weight: 900;
}

.ledger-row {
  display: grid;
  grid-template-columns: 84px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
}

.ledger-row:hover {
  background: #fbfbfc;
}

.ledger-row:not([data-record-id]) {
  cursor: default;
}

.ledger-row.warning-row {
  background: #fff7f0;
  border-left: 4px solid var(--outgo);
}

.ledger-row:last-child {
  border-bottom: 0;
}

.ledger-type {
  color: var(--muted);
  font-weight: 800;
}

.ledger-title {
  font-size: 17px;
  font-weight: 800;
}

.ledger-subtitle {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.4;
}

.ledger-amount {
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

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

.inner-grid {
  margin: 0;
}

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

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

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

.field input,
.field select {
  width: 100%;
  min-height: 48px;
  padding: 10px 11px;
  color: var(--text);
  background: #fcfcfd;
  border: 1px solid #ccd2d8;
  border-radius: 8px;
  outline: none;
}

.field input:focus,
.field select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(242, 92, 84, 0.14);
}

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

.total-line {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px;
  background: var(--surface-soft);
  border-radius: 8px;
}

.total-line strong {
  color: var(--accent-dark);
  font-size: 24px;
}

.primary-button {
  min-height: 50px;
  padding: 12px 16px;
  color: #ffffff;
  font-weight: 900;
  background: var(--accent);
  border: 1px solid var(--accent);
  border-radius: 8px;
}

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

.wide-button {
  width: 100%;
  margin-top: 14px;
}

.secondary-button,
.small-action,
.danger-button {
  min-height: 42px;
  padding: 9px 12px;
  color: var(--accent);
  font-weight: 900;
  background: #fff3f2;
  border: 1px solid #ffd1cd;
  border-radius: 8px;
}

.danger-button {
  color: #9f2d26;
  background: #fff7f6;
  border-color: #f0b8b3;
  font-weight: 900;
}

.small-action {
  min-height: 34px;
  white-space: nowrap;
}

.small-select {
  min-height: 38px;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.calc-note {
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 8px 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  background: #fbfbfc;
  border: 1px dashed var(--line);
  border-radius: 8px;
}

.native-file-input {
  position: absolute;
  width: 1px !important;
  min-height: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  opacity: 0;
  pointer-events: none;
}

.file-proxy {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.file-proxy-button {
  min-height: 46px;
  padding: 10px 13px;
  color: var(--accent);
  font-weight: 900;
  background: #fff3f2;
  border: 1px solid #ffd1cd;
  border-radius: 8px;
}

.file-proxy-name {
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.proof-alert {
  margin: 12px 12px 0;
  padding: 12px;
  color: #8d3b14;
  font-weight: 900;
  background: #fff7ed;
  border: 1px solid #ffd3aa;
  border-radius: 8px;
}

.proof-alert button {
  margin-left: 10px;
}

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

.choice {
  min-height: 46px;
  color: var(--text);
  font-weight: 900;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.choice.active {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
}

.inline-price {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
}

.inline-price input[readonly],
.field input[readonly] {
  color: #555b61;
  background: #f2f4f5;
}

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

.metric-card,
.info-card {
  padding: 14px;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.metric-card span,
.info-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.metric-card strong,
.info-card strong {
  display: block;
  margin-top: 7px;
  font-size: 22px;
  line-height: 1.2;
}

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

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

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

.entry-card {
  min-height: 96px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  text-align: left;
  color: var(--text);
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.entry-card strong {
  font-size: 18px;
}

.entry-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.entry-card:focus,
.entry-card:hover {
  border-color: #ffc4bf;
  box-shadow: 0 0 0 3px rgba(242, 92, 84, 0.1);
}

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

.product-section + .product-section {
  margin-top: 16px;
}

.product-section-title {
  color: var(--muted);
  font-size: 14px;
  font-weight: 900;
}

.data-table {
  display: grid;
  gap: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.data-row {
  display: grid;
  grid-template-columns: minmax(150px, 1.5fr) 0.65fr 0.8fr 0.9fr 0.9fr auto;
  gap: 10px;
  align-items: center;
  padding: 12px;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
}

.data-row:last-child {
  border-bottom: 0;
}

.data-row strong {
  display: grid;
  gap: 3px;
  font-size: 16px;
}

.data-row small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.data-row span {
  color: #4f565d;
  line-height: 1.35;
}

.data-head {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  background: #f4f6f7;
}

.data-row.inventory-row {
  grid-template-columns: minmax(150px, 1.4fr) 0.55fr 0.65fr 0.85fr 0.75fr 0.8fr auto;
}

.top-space {
  margin-top: 12px;
}

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

.clickable-card {
  cursor: pointer;
}

.clickable-card:hover {
  border-color: #ffc4bf;
  box-shadow: 0 0 0 3px rgba(242, 92, 84, 0.08);
}

.compact-filter {
  margin-bottom: 14px;
}

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

.card-head h3 {
  margin: 0;
  font-size: 18px;
}

.card-head p,
.business-card p {
  margin: 4px 0 0;
  color: var(--muted);
  line-height: 1.45;
}

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

.pill {
  padding: 5px 9px;
  color: #5d636a;
  font-size: 12px;
  font-weight: 800;
  background: var(--surface-soft);
  border-radius: 8px;
}

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

.check-item {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 10px;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.check-item input {
  width: 18px;
  height: 18px;
}

.check-item span {
  color: var(--text);
  font-size: 14px;
  font-weight: 800;
}

.report-table {
  display: grid;
  gap: 8px;
}

.report-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr 0.8fr;
  gap: 8px;
  align-items: center;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.report-row:last-child {
  border-bottom: 0;
}

.report-row.header {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.report-area {
  display: grid;
  gap: 12px;
}

.subhead {
  margin: 6px 0 0;
  font-size: 17px;
}

.trend-box {
  display: grid;
  gap: 14px;
}

.trend-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.trend-title span {
  color: var(--muted);
  font-weight: 800;
}

.trend-bars {
  min-height: 128px;
  display: flex;
  align-items: end;
  gap: 8px;
  padding: 12px;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow-x: auto;
}

.line-chart {
  width: 100%;
  min-height: 150px;
  display: block;
  padding: 8px 0;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.line-chart line {
  stroke: #e4e7ea;
  stroke-width: 1;
}

.line-chart polyline {
  fill: none;
  stroke: var(--income);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.line-chart circle {
  fill: #ffffff;
  stroke: var(--income);
  stroke-width: 2;
}

.line-chart text {
  fill: var(--muted);
  font-size: 10px;
  font-weight: 800;
}

.line-chart.empty {
  min-height: 92px;
  display: grid;
  place-items: center;
  color: var(--muted);
  font-weight: 800;
}

.bar-wrap {
  min-width: 34px;
  display: grid;
  align-items: end;
  justify-items: center;
  gap: 6px;
}

.bar {
  width: 20px;
  background: var(--accent);
  border-radius: 6px 6px 0 0;
}

.bar.purchase {
  background: var(--amber);
}

.bar.sale {
  background: var(--income);
}

.bar-wrap small {
  color: var(--muted);
  font-size: 11px;
  white-space: nowrap;
}

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

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

.proof-card {
  display: grid;
  gap: 12px;
  padding: 14px;
  background: #fff7f0;
  border: 1px solid #ffd3aa;
  border-radius: 8px;
}

.proof-card.normal {
  background: #fbfbfc;
  border-color: var(--line);
}

.proof-card h3 {
  margin: 0;
  font-size: 17px;
}

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

.record-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.record-row:last-child {
  border-bottom: 0;
}

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

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

.receipt-card {
  padding: 16px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.receipt-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--text);
}

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

.receipt-line span {
  color: var(--muted);
}

.receipt-line.total strong {
  color: var(--accent);
  font-size: 20px;
}

.setup-form,
.stock-editor {
  display: grid;
  gap: 12px;
}

.stock-edit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 120px;
  align-items: end;
  gap: 12px;
  padding: 12px;
  background: #fbfbfc;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.stock-edit-row p {
  margin: 4px 0 0;
  color: var(--muted);
}

.more-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 18px;
}

.more-item {
  min-height: 112px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 14px 8px;
  color: var(--text);
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.more-item strong {
  font-size: 18px;
}

.more-item span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.fab {
  position: fixed;
  right: 22px;
  bottom: 92px;
  z-index: 24;
  width: 66px;
  height: 66px;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  background: var(--accent);
  border: 0;
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.quick-panel {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  align-items: end;
  padding: 16px;
  background: rgba(32, 36, 40, 0.28);
}

.quick-card {
  width: min(100%, 520px);
  margin: 0 auto 74px;
  padding: 16px;
  background: var(--surface);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

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

.quick-actions button {
  min-height: 58px;
  color: var(--text);
  font-weight: 900;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.nav-button {
  min-height: 50px;
  padding: 4px 2px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
  overflow-wrap: anywhere;
  white-space: normal;
  background: transparent;
  border: 0;
  border-radius: 8px;
}

.nav-button.active {
  color: var(--accent);
  background: #fff0ef;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 166px;
  z-index: 40;
  width: min(92vw, 420px);
  padding: 12px 14px;
  color: #ffffff;
  text-align: center;
  background: #202428;
  border-radius: 8px;
  box-shadow: var(--shadow);
  transform: translateX(-50%) translateY(16px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}

.network-banner {
  position: sticky;
  top: 72px;
  z-index: 18;
  padding: 10px 16px;
  color: #8f241f;
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  background: #fff0ef;
  border-bottom: 1px solid #ffcbc8;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (min-width: 760px) {
  .app-main {
    padding: 0 18px;
  }

  .view[data-view="purchase"].active,
  .view[data-view="sale"].active,
  .view[data-view="productIn"].active,
  .view[data-view="payment"].active,
  .view[data-view="expense"].active {
    width: min(100%, 900px);
    margin: 0 auto;
  }

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

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

  .bottom-nav {
    left: 50%;
    width: min(100%, 760px);
    border: 1px solid var(--line);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    transform: translateX(-50%);
  }

  .fab {
    right: calc((100vw - min(100vw, 760px)) / 2 + 24px);
  }
}

@media (max-width: 460px) {
  .nav-button {
    font-size: 11px;
  }

  .form-grid,
  .date-range {
    grid-template-columns: 1fr;
  }

  .number-cell strong {
    font-size: 18px;
  }

  .ledger-row {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .ledger-amount {
    grid-column: 2;
  }

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

  .more-item {
    min-height: 98px;
  }

  .more-item strong {
    font-size: 15px;
  }

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

  .report-row.header {
    display: none;
  }

  .stock-edit-row {
    grid-template-columns: 1fr;
  }

  .entry-grid,
  .entry-grid.compact,
  .form-actions {
    grid-template-columns: 1fr;
  }

  .data-table {
    border: 0;
    gap: 10px;
    overflow: visible;
  }

  .data-head {
    display: none;
  }

  .data-row {
    grid-template-columns: 1fr 1fr;
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .data-row strong,
  .data-row .small-action {
    grid-column: 1 / -1;
  }

  .data-row.inventory-row {
    grid-template-columns: 1fr 1fr;
  }

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

  .proof-fields {
    grid-template-columns: 1fr;
  }
}

.photo-link {
  color: #1677b8;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.receipt-print-button {
  width: 100%;
  margin-top: 14px;
}

@media print {
  body.printing * {
    visibility: hidden !important;
  }

  body.printing .print-target,
  body.printing .print-target * {
    visibility: visible !important;
  }

  body.printing .print-target {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    max-width: none;
    background: #fff;
  }

  body.printing .print-target button,
  body.printing .print-target .text-button,
  body.printing .print-target .form-actions,
  body.printing .print-target .date-range {
    display: none !important;
  }
}
