:root{--text:#1a1a1a;--muted:#555;--border:#c8c8c8;--surface:#f5f6f8;--primary:#0b5394;--primary-text:#fff;--selected:#dbe9f7;--error-bg:#fdecea;--error-text:#8a1c12;--focus:#c05600;color:var(--text);background:#fff;font-family:system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;font-size:15px;line-height:1.4}*{box-sizing:border-box}body{margin:0}h1,h2,h3{margin:0 0 .5rem;line-height:1.2}h1{font-size:1.3rem}h2{font-size:1.1rem}h3{margin-top:1rem;font-size:1rem}button{font:inherit;border:1px solid var(--border);color:var(--text);cursor:pointer;background:#fff;border-radius:4px;padding:.35rem .8rem}button.primary{background:var(--primary);border-color:var(--primary);color:var(--primary-text)}input[type=search],input[type=date]{font:inherit;border:1px solid var(--border);border-radius:4px;width:100%;padding:.3rem .4rem}:focus-visible{outline:3px solid var(--focus);outline-offset:1px}.visually-hidden{clip:rect(0 0 0 0);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.muted{color:var(--muted)}.nowrap{white-space:nowrap}.app-header{background:var(--primary);color:var(--primary-text);justify-content:space-between;align-items:center;gap:1rem;padding:.6rem 1rem;display:flex}.app-header h1{margin:0}.identity{align-items:center;gap:1rem;display:flex}.identity .office{font-weight:600}.layout{grid-template-columns:270px minmax(0,1fr);align-items:start;gap:1rem;padding:1rem;display:grid}.layout.with-pane{grid-template-columns:270px minmax(0,1fr) 440px}.filter-panel{background:var(--surface);border:1px solid var(--border);border-radius:6px;padding:.8rem}.option-list{border:none;margin:0 0 .8rem;padding:0}.option-list legend{margin-bottom:.3rem;padding:0;font-weight:600}.option-count{color:var(--muted);font-weight:400}.option-search{margin-bottom:.3rem}.option-items{border:1px solid var(--border);background:#fff;border-radius:4px;max-height:11rem;padding:.3rem .4rem;overflow-y:auto}.option-item{align-items:center;gap:.4rem;padding:.1rem 0;display:flex}.field{margin-bottom:.8rem}.field label{margin-bottom:.3rem;font-weight:600;display:block}.date-range{grid-template-columns:auto 1fr;align-items:center;gap:.3rem .5rem;display:grid}.filter-actions{gap:.5rem;display:flex}.form-problem{color:var(--error-text);font-weight:600}.main-area{min-width:0}.table-scroll{overflow-x:auto}table{border-collapse:collapse;width:100%}th,td{text-align:left;border-bottom:1px solid var(--border);vertical-align:top;padding:.4rem .5rem}th{background:var(--surface);font-weight:600}table.compact th,table.compact td{padding:.25rem .4rem;font-size:.93rem}tr.selectable{cursor:pointer}tr.selectable:hover{background:var(--surface)}tr.selectable.selected{background:var(--selected)}tr.selectable:focus-visible{outline-offset:-3px}.results-footer{padding:.8rem 0}.empty{padding:1rem 0}.error-box{background:var(--error-bg);color:var(--error-text);border:1px solid var(--error-text);border-radius:4px;margin:.5rem 0;padding:.6rem .8rem}.error-box p{margin:0 0 .4rem}.page-error{margin:1rem}.notice{max-width:40rem;margin:3rem auto;padding:0 1rem}.detail-pane{border:1px solid var(--border);background:#fff;border-radius:6px;max-height:calc(100vh - 2rem);padding:.8rem;position:sticky;top:1rem;overflow-y:auto}.pane-header{justify-content:space-between;align-items:flex-start;gap:.5rem;display:flex}.fields{grid-template-columns:9rem 1fr;gap:.2rem .6rem;margin:0;display:grid}.fields dt{font-weight:600}.fields dd{margin:0}.fields .line{display:block}@media (width<=1023px){.layout,.layout.with-pane{grid-template-columns:240px minmax(0,1fr)}.detail-pane{z-index:10;border-radius:0;max-height:none;position:fixed;inset:0}}@media (width<=700px){.layout,.layout.with-pane{grid-template-columns:minmax(0,1fr)}}
