@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body { background: #f8faf7; -webkit-font-smoothing: antialiased; }
:focus-visible { outline: 3px solid #ca8a04; outline-offset: 2px; }
input, select, textarea { min-height: 44px; }
textarea { min-height: 88px; }

.field { width: 100%; border: 1px solid #d1d5db; border-radius: .5rem; padding: .5rem .75rem; background: #fff; }
.field:focus { border-color: #166534; outline: 3px solid #bbf7d0; }
.field[readonly] { background: #f3f4f6; color: #4b5563; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 44px; padding: .5rem 1.1rem; border-radius: .5rem; font-weight: 600; transition: background .15s; cursor: pointer; }
.btn-primary { background: #166534; color: #fff; }
.btn-primary:hover { background: #14532d; }
.btn-outline { border: 1px solid #166534; color: #166534; background: #fff; }
.btn-outline:hover { background: #f0fdf4; }
.btn-danger { background: #b91c1c; color: #fff; }
.btn-danger:hover { background: #991b1b; }
.btn-warn { background: #ea580c; color: #fff; }
.btn-warn:hover { background: #c2410c; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: .75rem; }

/* Surat (pratinjau cetak) */
.surat { font-family: 'Times New Roman', Times, serif; color: #000; line-height: 1.55; }
.surat table td { vertical-align: top; padding: 1px 0; }

@media print {
  aside, header, footer, .no-print { display: none !important; }
  body { background: #fff; }
  #slot { padding: 0 !important; }
  .surat-wrap { box-shadow: none !important; border: 0 !important; padding: 0 !important; }
  @page { size: A4; margin: 18mm; }
}
