/* Small hand-written component layer on top of the Tailwind CDN build. */
[x-cloak] { display: none !important; }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { scrollbar-width: none; }

.field {
  display: block; width: 100%;
  min-height: 48px; padding: 10px 12px;
  border: 1.5px solid rgba(12, 12, 12, .15); border-radius: 12px;
  background: #fff; font-size: 16px; /* 16px stops iOS/Android zoom-on-focus */
  font-family: inherit; color: #0C0C0C;
}
.field:focus { outline: none; border-color: #D98D37; box-shadow: 0 0 0 3px rgba(217, 141, 55, .25); }
.field.money { text-align: right; font-variant-numeric: tabular-nums; font-weight: 600; }
select.field { appearance: auto; }
.field-sm { min-height: 38px; padding: 6px 8px; font-size: 14px; border-radius: 8px; }

.btn-primary, .btn-secondary, .btn-danger {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 12px 18px; border-radius: 12px;
  font-weight: 700; font-size: 16px; line-height: 1.2;
  transition: background-color .15s, opacity .15s;
}
.btn-primary { background: #D98D37; color: #0C0C0C; }
.btn-primary:hover { background: #C97F2C; }
.btn-secondary { background: #fff; color: #0C0C0C; border: 1.5px solid rgba(12, 12, 12, .2); }
.btn-secondary:hover { background: #FAEBD4; }
.btn-danger { background: #fff; color: #B91C1C; border: 1.5px solid #FCA5A5; }
.btn-primary:disabled, .btn-secondary:disabled { opacity: .5; }
.btn-sm { min-height: 36px; padding: 6px 12px; font-size: 14px; border-radius: 10px; }

.card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 1px 2px rgba(12, 12, 12, .06); }
.section-head { display: flex; width: 100%; align-items: center; justify-content: space-between; font-size: 18px; font-weight: 800; text-align: left; min-height: 40px; }
.section-letter { display: inline-flex; width: 28px; height: 28px; margin-right: 8px; border-radius: 8px; background: #FAEBD4; align-items: center; justify-content: center; font-size: 14px; }
.check { width: 24px; height: 24px; accent-color: #D98D37; flex-shrink: 0; }

table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th { text-align: left; font-size: 12px; text-transform: uppercase; letter-spacing: .03em; color: rgba(12, 12, 12, .55); padding: 8px; border-bottom: 1px solid rgba(12, 12, 12, .1); white-space: nowrap; background: #FAEBD4; position: sticky; top: 0; }
table.data td { padding: 8px; border-bottom: 1px solid rgba(12, 12, 12, .06); vertical-align: top; }
table.data td.num, table.data th.num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
table.data tr.total td { font-weight: 800; background: #F7F3EC; }
.tabular-nums { font-variant-numeric: tabular-nums; }

@media print {
  header, .no-print { display: none !important; }
  body { background: #fff; }
  main { padding: 0 !important; max-width: none !important; }
  .card { box-shadow: none; padding: 0; }
  select { appearance: none; border: 0 !important; background: transparent !important; }
  @page { size: landscape; margin: 10mm; }
}
