.nr-report { color: #273550; min-width: 0; font-size: 14px; }
.nr-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.nr-heading h2 { font-size: 22px; margin: 0 0 5px; }
.nr-heading p { color: #68758b; margin: 0; font-size: 13px; }
.nr-readonly { border: 1px solid #d8deed; border-radius: 5px; padding: 5px 10px; white-space: nowrap; color: #68758b; font-size: 12px; }
.nr-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 18px; padding: 20px; background: #f3f1fa; border: 1px solid #e3deef; border-radius: 8px; }
.nr-controls label { display: flex; flex-direction: column; gap: 6px; font-size: 12px; font-weight: 600; }
.nr-controls select, .nr-controls input { min-width: 0; width: 100%; height: 40px; padding: 8px 10px; border: 1px solid #d7dce7; border-radius: 5px; background: #fff; color: #273550; font: inherit; font-size: 13px; }
.nr-report :focus-visible { outline: 2px solid #6c58b0; outline-offset: 3px; }
.nr-context { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 20px 0 8px; }
.nr-context strong { color: #594690; }
.nr-status { color: #64748b; font-size: 12px; margin-bottom: 14px; }
.nr-warning { color: #80420b; background: #fff5df; padding: 12px; border: 1px solid #efd59b; margin-bottom: 12px; border-radius: 5px; }
.nr-scroll { overflow: auto; max-height: 65vh; border: 1px solid #cbc7da; border-radius: 6px; background: #fff; }
.nr-table { width: 100%; min-width: 740px; border-collapse: separate; border-spacing: 0; table-layout: fixed; font-variant-numeric: tabular-nums; }
.nr-table caption { text-align: left; padding: 10px 12px; color: #68758b; background: #faf9fd; font-size: 12px; caption-side: bottom; }
.nr-table th, .nr-table td { text-align: center; border-right: 1px solid #dcd8e7; border-bottom: 1px solid #dcd8e7; padding: 7px 6px; }
.nr-table tr > :last-child { border-right: 0; }
.nr-table thead th { position: sticky; top: 0; z-index: 2; background: #78718f; color: #fff; font-weight: 600; height: 54px; }
.nr-table thead th:first-child { width: 100px; left: 0; z-index: 3; }
.nr-table tbody th { position: sticky; left: 0; z-index: 1; font-weight: 400; background: #fff; color: #758098; }
.nr-table tbody tr:nth-child(odd) td, .nr-table tbody tr:nth-child(odd) th { background: #f4f2fa; }
.nr-table .nr-totals td, .nr-table .nr-totals th { background: #eeebf7; color: #4d3d7e; font-weight: 700; padding: 13px 6px; }
.nr-number { display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; background: transparent; cursor: pointer; min-height: 44px; min-width: 56px; padding: 3px 6px; font: inherit; }
.nr-number b { background: #76849a; color: #fff; border-radius: 3px; padding: 1px 7px; font-size: 14px; font-weight: 600; letter-spacing: .4px; }
.nr-number span { color: #334155; font-size: 13px; }
.nr-number:hover b { background: #66519d; }
.nr-number:hover { background: #e8e2f4; border-radius: 5px; }
.nr-blank { color: #ccd1de; }
.nr-empty { height: 110px; color: #76849a; }
.nr-footer { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 14px 0; font-size: 12px; color: #64748b; }
.nr-footer strong { color: #4d3d7e; font-size: 16px; margin-left: 5px; }
.nr-detail { margin-top: 12px; background: white; border: 1px solid #dcd8e7; border-radius: 8px; padding: 18px; }
.nr-detail header { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.nr-detail h3 { font-size: 16px; }
.nr-detail h3 span { color: #685093; margin-left: 12px; white-space: nowrap; }
.nr-report button[data-nr-close], .nr-report button[data-nr-retry] { font: inherit; padding: 7px 12px; border: 1px solid #dcd8e7; border-radius: 5px; background: #faf9fd; cursor: pointer; white-space: nowrap; }
.nr-person { display: flex; justify-content: space-between; gap: 10px; background: #f4f2fa; padding: 10px; margin-top: 12px; }
.nr-bill { padding: 10px; border-bottom: 1px solid #eef0f5; font-size: 12px; overflow-wrap: anywhere; }
.nr-bill summary { cursor: pointer; color: #5264a0; min-height: 30px; }
.nr-bill p { margin: 7px 0; }
.nr-bill-lines { display: flex; flex-wrap: wrap; gap: 6px; }
.nr-bill-lines span { padding: 5px 8px; background: #f7f8fb; border: 1px solid #e9ecf2; border-radius: 3px; }
@media (max-width: 650px) {
    .nr-controls { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 12px; gap: 12px; }
    .nr-heading h2 { font-size: 20px; }
    .nr-heading p { font-size: 12px; }
    .nr-context { font-size: 12px; gap: 6px 12px; }
    .nr-detail { padding: 12px; }
    .nr-detail header { flex-wrap: wrap; }
    .nr-table thead th:first-child { width: 78px; }
}
