:root{--page-bg:#f4f6f8;--card-bg:#fff;--border:#e2e8f0;--text:#0f172a;--text-muted:#64748b;--rel-bg:#f0fdf4;--rel-fg:#15803d;--rel-border:#bbf7d0;--part-bg:#fffbeb;--part-fg:#b45309;--part-border:#fde68a;--open-bg:#fef2f2;--open-fg:#b91c1c;--open-border:#fecaca;--neu-bg:#f8fafc;--neu-fg:#475569;--neu-border:#cbd5e1}*{box-sizing:border-box}html,body{margin:0;padding:0}body{background:var(--page-bg);color:var(--text);-webkit-font-smoothing:antialiased;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;font-size:15px;line-height:1.5}h1,h2{margin:0;font-weight:650}h1{font-size:1.35rem}h2{margin-bottom:.75rem;font-size:1rem}.muted{color:var(--text-muted);margin:.35rem 0 0}.card{background:var(--card-bg);border:1px solid var(--border);border-radius:10px;padding:1.25rem 1.5rem;box-shadow:0 1px 2px #0f172a0a}.landing{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.25rem;min-height:100vh;padding:2rem;display:flex}.landing p{color:var(--text-muted);max-width:34rem}.gate{justify-content:center;align-items:center;min-height:100vh;padding:1.5rem;display:flex}.gate-card{text-align:center;width:100%;max-width:24rem;padding:2rem}.gate-card form{flex-direction:column;gap:.75rem;margin-top:1.25rem;display:flex}.gate-card input{font:inherit;border:1px solid var(--border);text-align:center;color:var(--text);border-radius:8px;padding:.6rem .75rem}.gate-card input:focus{outline-offset:1px;border-color:#94a3b8;outline:2px solid #94a3b8}.gate-card button{font:inherit;color:#fff;cursor:pointer;background:#0f172a;border:1px solid #0f172a;border-radius:8px;padding:.6rem .75rem;font-weight:600}.gate-card button:hover{background:#1e293b}.gate-error{color:var(--open-fg);margin:0;font-size:.9rem}.report{flex-direction:column;gap:1.25rem;max-width:72rem;margin:0 auto;padding:2rem 1.5rem 4rem;display:flex}.report-header{padding-bottom:.25rem}.eyebrow{letter-spacing:.12em;text-transform:uppercase;color:var(--text-muted);margin:0 0 .3rem;font-size:.72rem;font-weight:700}.report-header h1{letter-spacing:-.015em;overflow-wrap:anywhere;font-size:1.75rem}.report-meta{flex-wrap:wrap;gap:.4rem 2.25rem;margin:.9rem 0 0;display:flex}.report-meta div{flex-direction:column;gap:.1rem;display:flex}.report-meta dt{letter-spacing:.05em;text-transform:uppercase;color:var(--text-muted);font-size:.72rem;font-weight:600}.report-meta dd{font-variant-numeric:tabular-nums;margin:0;font-size:.95rem;font-weight:600}.report-meta .meta-file{color:var(--text-muted);overflow-wrap:anywhere;font-weight:500}.invoice-card .report-meta{margin-bottom:1.1rem}.invoice-amount{font-variant-numeric:tabular-nums;font-size:1.35rem!important}.invoice-note{color:var(--text-muted);margin:.85rem 0 0;font-size:.82rem}.tiles{flex-wrap:wrap;gap:.75rem;display:flex}.tile{border:1px solid var(--border);background:var(--card-bg);min-width:8.5rem;font:inherit;text-align:left;cursor:pointer;border-radius:10px;flex-direction:column;flex:8.5rem;gap:.1rem;padding:.85rem 1rem;display:flex}.tile:hover{border-color:#94a3b8}.tile.is-on{box-shadow:inset 0 0 0 2px #0f172a66}.tiles.is-filtered .tile:not(.is-on){opacity:.5}.tile-count{font-size:1.4rem;font-weight:700;line-height:1.2}.tile-label{font-size:.85rem;font-weight:500}.tile-rel{background:var(--rel-bg);border-color:var(--rel-border);color:var(--rel-fg)}.tile-part{background:var(--part-bg);border-color:var(--part-border);color:var(--part-fg)}.tile-open{background:var(--open-bg);border-color:var(--open-border);color:var(--open-fg)}.tile-neu{background:var(--neu-bg);border-color:var(--neu-border);color:var(--neu-fg)}.download-buttons{flex-wrap:wrap;gap:.75rem;display:flex}.btn{font:inherit;border:1px solid var(--border);color:var(--text);background:#fff;border-radius:8px;padding:.55rem 1rem;font-size:.92rem;font-weight:600;text-decoration:none;display:inline-block}.btn:hover{background:var(--neu-bg)}.btn-primary{color:#fff;background:#0f172a;border-color:#0f172a}.btn-primary:hover{background:#1e293b}.table-card{padding-bottom:.5rem}.results-filter{flex-wrap:wrap;gap:.6rem;margin-bottom:.75rem;display:flex}.results-filter select,.results-filter input[type=search]{font:inherit;border:1px solid var(--border);color:var(--text);background:#fff;border-radius:8px;padding:.4rem .65rem;font-size:.88rem}.results-filter select{flex:none}.results-filter input[type=search]{flex:14rem;min-width:10rem}.results-filter select:focus,.results-filter input[type=search]:focus{outline-offset:1px;border-color:#94a3b8;outline:2px solid #94a3b8}.results-filter-note{color:var(--text-muted);margin:0 0 .75rem;font-size:.82rem}.results-filter-note button{font:inherit;font-size:inherit;color:var(--text);cursor:pointer;background:0 0;border:none;padding:0;text-decoration:underline}.table-scroll{overscroll-behavior:contain;max-height:75vh;overflow:auto}table{border-collapse:collapse;width:100%;font-size:.92rem}th{text-align:left;text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);white-space:nowrap;z-index:1;background:var(--card-bg);box-shadow:inset 0 -1px 0 var(--border);padding:.5rem .75rem;font-size:.72rem;font-weight:600;position:sticky;top:0}.th-sort{cursor:pointer;font:inherit;color:inherit;text-transform:inherit;letter-spacing:inherit;background:0 0;border:0;padding:0}.th-sort:after{content:"↕";opacity:.4;margin-left:4px}th[aria-sort=ascending] .th-sort:after{content:"↑";opacity:1}th[aria-sort=descending] .th-sort:after{content:"↓";opacity:1}th[aria-sort] .th-sort,.th-sort:hover{color:var(--text)}td{border-bottom:1px solid var(--border);vertical-align:top;padding:.6rem .75rem}tbody tr:hover td{background:var(--neu-bg)}tbody tr:last-child td{border-bottom:none}.cell-ref,.cell-bp{white-space:nowrap;font-variant-numeric:tabular-nums}.cell-status{white-space:nowrap}.cell-release{white-space:nowrap;font-variant-numeric:tabular-nums}.cell-sub{color:var(--text-muted);font-size:.82rem;display:block}.cell-correction{white-space:normal;font-variant-numeric:normal;max-width:15rem;font-style:italic}.cell-note{max-width:22rem;color:var(--text-muted)}.pill{white-space:nowrap;border:1px solid;border-radius:999px;padding:.15rem .6rem;font-size:.8rem;font-weight:600;display:inline-block}.pill-rel{background:var(--rel-bg);color:var(--rel-fg);border-color:var(--rel-border)}.pill-part{background:var(--part-bg);color:var(--part-fg);border-color:var(--part-border)}.pill-open{background:var(--open-bg);color:var(--open-fg);border-color:var(--open-border)}.pill-neu{background:var(--neu-bg);color:var(--neu-fg);border-color:var(--neu-border)}.verified-check{background:var(--rel-bg);border:1px solid var(--rel-border);width:1.05rem;height:1.05rem;color:var(--rel-fg);vertical-align:middle;border-radius:999px;justify-content:center;align-items:center;margin-left:.4rem;display:inline-flex}.cell-doc{white-space:nowrap;text-align:right}.btn-view{font:inherit;border:1px solid var(--border);color:var(--text-muted);cursor:pointer;background:0 0;border-radius:6px;padding:.25rem .7rem;font-size:.8rem;font-weight:600}.btn-view:hover{background:var(--neu-bg);color:var(--text);border-color:#cbd5e1}.viewer-scrim{z-index:50;background:#0f172a8c;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.viewer-sheet{background:var(--card-bg);text-align:left;white-space:normal;border-radius:12px;flex-direction:column;width:92vw;height:92vh;display:flex;overflow:hidden;box-shadow:0 20px 60px #0f172a59}.viewer-header{border-bottom:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;padding:.7rem 1rem;display:flex}.viewer-title{text-overflow:ellipsis;white-space:nowrap;font-size:.95rem;font-weight:650;overflow:hidden}.viewer-close{border:1px solid var(--border);width:1.8rem;height:1.8rem;color:var(--text-muted);cursor:pointer;background:0 0;border-radius:6px;flex-shrink:0;justify-content:center;align-items:center;padding:0;display:inline-flex}.viewer-close:hover{background:var(--neu-bg);color:var(--text)}.viewer-body{flex:1;min-height:0;display:flex}.viewer-frame{background:var(--neu-bg);border:none;flex:1;min-width:0}.viewer-record{border-left:1px solid var(--border);flex-shrink:0;width:300px;padding:1rem;overflow-y:auto}.record-heading{text-transform:uppercase;letter-spacing:.08em;color:var(--text-muted);margin:0 0 .85rem;font-size:.72rem;font-weight:700}.record-field{margin-bottom:.85rem}.record-label{text-transform:uppercase;letter-spacing:.06em;color:var(--text-muted);margin-bottom:.15rem;font-size:.68rem;font-weight:600;display:block}.record-value{font-size:.9rem}.record-mono{font-variant-numeric:tabular-nums;font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.88rem;display:block}.record-sub{color:var(--text-muted);font-size:.82rem;display:block}.record-note{white-space:pre-wrap;overflow-wrap:anywhere}@media (max-width:760px){.viewer-scrim{justify-content:stretch;align-items:stretch}.viewer-sheet{border-radius:0;width:100vw;height:100dvh}.viewer-body{flex-direction:column;overflow-y:auto}.viewer-frame{flex:0 0 60vh;width:100%}.viewer-record{border-left:none;border-top:1px solid var(--border);width:100%}}@media (max-width:640px){.report{padding:1.25rem .9rem 3rem}.card{padding:1rem}.tiles{grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.download-buttons{flex-direction:column}.btn{text-align:center}}@media print{body{background:#fff;font-size:11px}.report{gap:.75rem;max-width:none;padding:0}.card{box-shadow:none;border:none;padding:0}.downloads,.invoice-card .download-buttons,.invoice-note,.cell-doc,.doc-btn,.results-filter,.results-filter-note{display:none}th{position:static}.table-scroll{max-height:none;overflow:visible}tr{page-break-inside:avoid}thead{display:table-header-group}.tile,.pill{-webkit-print-color-adjust:exact;print-color-adjust:exact}}
