body { font-family: Arial, Helvetica, sans-serif; }
input, select, textarea { width: 100%; border: 1px solid #d4d4d4; background: #fff; padding: 8px 12px; font-size: 16px; color: #171717; border-radius: 0; min-height: 42px; }
select { padding-right: 32px; }
input:focus, select:focus, textarea:focus { outline: 2px solid #404040; outline-offset: 1px; }
button, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid #737373; outline-offset: 2px; }
button:disabled { cursor: not-allowed; opacity: .4; }
th, td { white-space: nowrap; border-bottom: 1px solid #e5e5e5; padding: 12px 16px; }
thead, tfoot { background: #f5f5f5; font-size: 12px; }
[x-cloak] { display: none !important; }
.panel { border: 1px solid #d4d4d4; background: white; }
.brand-mark { display: flex; height: 40px; width: 40px; flex-shrink: 0; align-items: center; justify-content: center; background: #171717; font-size: 14px; font-weight: 700; letter-spacing: .1em; color: white; }
.eyebrow { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: #737373; }
.nav-link { border-bottom: 2px solid transparent; padding: 12px 16px; font-size: 14px; color: #a3a3a3; }
.nav-link:hover { color: white; }
.nav-active { border-color: white; color: white; }
.field { display: flex; min-width: 0; flex-direction: column; gap: 4px; font-size: 12px; font-weight: 600; color: #525252; }
.help { font-size: 12px; font-weight: 400; color: #737373; }
.button { display: inline-flex; min-height: 42px; align-items: center; justify-content: center; gap: 12px; border: 1px solid #171717; background: #171717; padding: 8px 16px; font-size: 14px; font-weight: 500; color: white; }
.button:hover { background: #404040; }
.button-secondary { border-color: #d4d4d4; background: white; color: #171717; }
.button-secondary:hover { background: #f5f5f5; }
.notice { border-left: 4px solid #262626; background: #e5e5e5; padding: 12px 16px; font-size: 14px; color: #262626; }
.badge { border: 1px solid #d4d4d4; background: white; padding: 4px 8px; font-size: 11px; font-weight: 500; color: #525252; }
.expense-row { display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 12px; border-bottom: 1px solid #e5e5e5; padding: 16px; }
.expense-row:last-child { border-bottom: 0; }
@media print {
    @page { margin: 12mm; }
    body { background: white !important; font-size: 10pt; }
    main { max-width: none !important; padding: 0 !important; }
    .panel, .settlement-detail { break-inside: avoid; }
    .settlement-detail, .settlement-detail > * { display: block; }
    th, td { padding: 6px; font-size: 9px; }
    .overflow-x-auto { overflow: visible; }
}
