:root{--ink:#153348;--muted:#607484;--blue:#1477bd;--green:#118344;--line:#dbe4eb;--paper:#fff;--surface:#f3f6f9;--nav:#112d40;--danger:#ad3341}*{box-sizing:border-box}body{margin:0;font:15px/1.5 Inter,Segoe UI,Arial,sans-serif;color:var(--ink);background:var(--surface)}button,input,select,textarea{font:inherit}button,a,input,select,textarea{outline-offset:4px}button{cursor:pointer;border:1px solid var(--line);background:#fff;color:var(--ink);border-radius:6px;padding:9px 14px;font-weight:600;white-space:nowrap}button:hover{background:#edf4f9;border-color:#8aabbf}button:disabled{opacity:.5;cursor:not-allowed}button.primary{background:var(--blue);border-color:var(--blue);color:#fff}button.primary:hover{background:#0966a6}.quiet{background:transparent;border-color:transparent}.wide{width:100%}a{color:var(--blue)}input,select,textarea{width:100%;border:1px solid #bfced9;padding:9px 11px;border-radius:5px;color:var(--ink);background:white;min-width:0}input[type=checkbox]{width:17px;height:17px;accent-color:var(--blue)}label{display:flex;flex-direction:column;gap:6px;font-size:14px;font-weight:600}.check{flex-direction:row;align-items:center;font-weight:400}.muted{color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:1.7px;font-weight:700;color:var(--blue)}h1{font-size:28px;line-height:1.25;letter-spacing:-.6px;margin:0 0 7px}h2{font-size:20px;margin:0 0 16px}h3{font-size:16px;margin:14px 0 9px}.sidebar{width:238px;position:fixed;inset:0 auto 0 0;background:var(--nav);color:#c5d5df;display:flex;flex-direction:column;padding:27px 17px;z-index:5}.brand{display:block;background:white;padding:12px 13px;border-radius:6px;margin:0 5px 31px}.brand img{width:100%;display:block}.sidebar-label{font-size:11px;letter-spacing:1.5px;color:#8da9bb;margin:15px 14px 8px}.sidebar nav button{display:flex;align-items:center;gap:10px;text-align:left;white-space:normal;width:100%;border:0;background:transparent;color:#d0dee7;font-size:14px;font-weight:500;padding:12px;border-radius:5px;margin:3px 0}.sidebar nav button span{font-size:20px;line-height:1;width:20px}.sidebar nav button.active{background:#23506c;color:white;box-shadow:inset 3px 0 #5dc497}.sidebar nav button:hover{background:#1b4159}.sidebar-bottom{margin-top:auto;padding:18px 12px 0;border-top:1px solid #2a495c;font-size:13px}.secure-mark{color:#a6d9c2;font-size:12px}.sidebar-bottom p{margin-bottom:0}.sidebar-bottom small{color:#90aaba}.workspace{margin-left:238px;min-height:100vh;display:flex;flex-direction:column}.topbar{min-height:72px;background:white;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 32px;font-size:14px}.breadcrumb{color:var(--muted)}.slash{padding:0 15px;color:#b7c6d1}.identity{display:flex;align-items:center;gap:12px}.badge{font-size:12px;text-transform:capitalize;background:#edf3f7;padding:3px 9px;border-radius:4px;color:#3b5d73}.badge.Completed,.badge.Ready{background:#e3f3e9;color:#216d45}.badge.Failed,.badge.Exception{background:#fff0e5;color:#975722}main#content{padding:30px 32px 40px;flex:1;min-width:0}.page-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:25px;gap:16px}.page-heading p{margin:0;color:var(--muted)}.panel{background:var(--paper);border:1px solid var(--line);border-radius:9px;margin-bottom:22px;box-shadow:0 2px 5px #18374d03}.panel-pad{padding:23px}.tabs{display:flex;border-bottom:1px solid var(--line);gap:26px;padding:0 24px}.tabs button{border:0;background:none;border-radius:0;padding:17px 1px;color:var(--muted);font-weight:600}.tabs button.active{color:var(--blue);box-shadow:inset 0 -3px var(--blue)}.form-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px 22px}.form-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.range{display:flex;gap:8px}.form-actions{display:flex;align-items:center;gap:12px;margin-top:24px;padding-top:18px;border-top:1px solid var(--line)}.form-actions .spacer{flex:1}.advanced{padding-top:20px;margin-top:15px;border-top:1px solid var(--line)}.filter-row{display:grid;grid-template-columns:2fr 1fr 2fr auto;gap:10px;margin:10px 0}.toolbar{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:16px 20px;border-bottom:1px solid var(--line)}.toolbar h2{margin:0;font-size:17px}.toolbar .spacer{flex:1}.table-scroll{overflow:auto;max-width:100%}table{border-collapse:collapse;width:100%;font-size:14px}th{font-size:12px;letter-spacing:.2px;background:#f5f8fa;font-weight:600;color:#587081;text-align:left;border-bottom:1px solid var(--line);white-space:nowrap;padding:12px 14px}td{border-bottom:1px solid #e8edf1;padding:13px 14px;vertical-align:top}td.wrap{white-space:normal;min-width:220px}.data-grid td{white-space:nowrap}.data-grid tbody tr:hover{background:#f2f8fc}.data-grid th{resize:horizontal;overflow:auto;min-width:110px}.data-grid th:first-child{min-width:40px;width:40px}.data-grid a{font-weight:600;text-decoration:none}.table-footer{display:flex;justify-content:space-between;align-items:center;padding:14px 20px;color:var(--muted);font-size:13px}.table-footer button{padding:5px 12px}.empty{padding:58px 25px;text-align:center;color:var(--muted)}.empty-symbol{font-size:35px;line-height:1.5;color:#6e9dbd}.empty h2{margin:9px 0 6px;color:var(--ink)}.empty p{margin:0}.notice{background:#f0f6fa;border:1px solid #d7e7f1;border-radius:6px;padding:12px 15px;font-size:13px;color:#416278}.warning{background:#fff8e9;border-color:#eeddae;color:#7d5a1e}.error{padding:12px;background:#fff0f1;color:var(--danger);border-radius:6px}.success{padding:12px;background:#e8f6ee;color:#236741;border-radius:6px}#alert:empty{display:none}#alert:not(:empty){margin-bottom:18px}.app-footer{display:flex;justify-content:space-between;padding:17px 32px;font-size:12px;color:#6c8393;border-top:1px solid var(--line)}.stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:14px;margin-bottom:22px}.stat{padding:18px;background:#fff;border:1px solid var(--line);border-radius:7px}.stat strong{display:block;font-size:26px}.stat span{color:var(--muted);font-size:13px}.report-toolbar{display:flex;flex-wrap:wrap;gap:9px;margin-bottom:20px}.report{max-width:980px;margin:auto;background:white;border:1px solid var(--line);padding:40px;box-shadow:0 4px 20px #2345600a}.report-head{display:flex;justify-content:space-between;border-bottom:3px solid var(--blue);padding-bottom:24px;margin-bottom:25px}.report-head img{width:185px}.report-head h2{margin:10px 0 0}.report-section{margin-top:28px}.report-section h3{padding:10px 13px;background:#eaf0f4;border-left:3px solid var(--blue)}.key-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:17px}.key-grid .key{font-size:11px;color:var(--muted);text-transform:uppercase;letter-spacing:.5px}.key-grid .value{font-size:15px;word-break:break-word}.source-segment{border-bottom:1px solid var(--line);padding:8px 0;overflow-wrap:anywhere;font-size:13px}.source-segment strong{display:inline-block;min-width:90px;color:var(--blue)}.raw{white-space:pre-wrap;overflow-wrap:anywhere;font:13px/1.6 ui-monospace,monospace;background:#122c3e;color:#d6e4ed;padding:22px;border-radius:6px;max-height:70vh;overflow:auto}.document-frame{width:100%;height:75vh;border:1px solid var(--line)}dialog{max-width:min(850px,95vw);width:750px;max-height:90vh;border:1px solid var(--line);border-radius:10px;padding:24px;box-shadow:0 15px 80px #00182d33}dialog::backdrop{background:#0c233e66}.dialog-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.dialog-head h2{margin:0}.column-row{display:flex;gap:8px;align-items:center;padding:7px 0;border-bottom:1px solid var(--line)}.column-row label{flex:1}.column-row input[type=number]{width:85px}.column-row button{padding:4px 9px}.login-page{min-height:100vh;display:flex;align-items:center;justify-content:center;background:linear-gradient(125deg,#102e43 0%,#194b67 55%,#166358 100%);padding:24px}.login-card{max-width:440px;width:100%;background:white;border-radius:12px;padding:38px;box-shadow:0 16px 80px #04172640}.login-logo{width:230px;max-width:100%;margin-bottom:26px}.login-card h1{font-size:30px}.login-card form{display:grid;gap:18px;margin-top:24px}.login-card footer{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:26px}.skip{position:fixed;top:-100px;left:260px;background:white;padding:10px;z-index:20}.skip:focus{top:10px}.row-actions{display:flex;gap:7px}.row-actions button{padding:5px 9px;font-size:12px}.hidden{display:none!important}pre{white-space:pre-wrap;overflow-wrap:anywhere}.section-note{font-size:13px;color:var(--muted);margin:0 0 17px}#session-warning{max-width:440px}.status-line{display:flex;gap:15px;flex-wrap:wrap}details summary{cursor:pointer;color:var(--blue);padding:10px 0;font-weight:600}.admin-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.admin-grid .panel{margin:0}.inline-fields{display:flex;gap:10px;align-items:end;flex-wrap:wrap}.inline-fields label{flex:1;min-width:130px}.pdf-page-break{border-top:3px solid #ccd9e2;margin-top:40px;padding-top:30px}@media (max-width:1050px){.sidebar{width:205px;padding:20px 10px}.workspace{margin-left:205px}.topbar{padding:14px 20px}main#content{padding:23px 20px}.form-grid.four{grid-template-columns:repeat(2,1fr)}.identity{gap:6px}.admin-grid{grid-template-columns:1fr}}@media (max-width:760px){.sidebar{position:static;width:100%;padding:12px}.brand{width:170px;margin:0 0 10px;padding:8px}.sidebar nav{display:flex;flex-wrap:wrap}.sidebar nav button{width:auto;font-size:12px;padding:8px}.sidebar-label,.sidebar-bottom{display:none}.workspace{margin-left:0}.topbar{flex-wrap:wrap;padding:12px 16px}.form-grid,.form-grid.four{grid-template-columns:1fr 1fr}.page-heading{align-items:start}.report{padding:20px}.key-grid{grid-template-columns:1fr 1fr}.filter-row{grid-template-columns:1fr 1fr}.app-footer{padding:15px}.tabs{gap:17px;padding:0 15px}.tabs button{font-size:13px}.report-head{flex-direction:column;gap:15px}}@media (max-width:430px){.form-grid,.form-grid.four,.key-grid{grid-template-columns:1fr}.login-card{padding:25px}.form-actions{flex-wrap:wrap}}@media  print{.sidebar,.topbar,.app-footer,.report-toolbar,.page-heading,.no-print,#alert,dialog{display:none!important}.workspace{margin:0}main#content{padding:0}.report{box-shadow:none;border:none;max-width:none;padding:0}.report-section{break-inside:auto}.report-section h3{break-after:avoid}thead{display:table-header-group}tr{break-inside:avoid}.table-scroll{overflow:visible}.report-head{break-after:avoid}.pdf-page-break{break-before:page}.panel{border:none;box-shadow:none}.toolbar,.table-footer{display:none!important}}
label{min-width:0}.range input{flex:1;width:0;min-width:0}.tabs{max-width:100%;overflow-x:auto;flex-shrink:0}.table-footer{gap:10px;flex-wrap:wrap}.table-footer>div{display:flex;gap:5px}@media (max-width:430px){.form-grid,.form-grid.four,.key-grid{grid-template-columns:minmax(0,1fr)}.tabs button{font-size:12px}.tabs{gap:15px}.report-toolbar button{white-space:normal}}
/* ArchiveSpot 1.2 - compact DSE workspace */
:root{--blue:#1477bd;--green:#10a04b;--ink:#20394b;--muted:#718493;--line:#dce5ec;--surface:#f1f5f9;--nav:#102e43}body{font-family:"Segoe UI",Arial,sans-serif;font-size:13px;line-height:1.45}body:not(.login-page){height:100dvh;overflow:hidden}button,input,select,textarea{font-size:12px}button{min-height:32px;padding:5px 10px;display:inline-flex;align-items:center;justify-content:center;gap:6px;border-radius:5px;font-weight:600}input,select{height:32px;padding:5px 9px}textarea{padding:7px 9px}label{font-size:11px;gap:4px;color:#536b7d;font-weight:600}input[type=checkbox]{width:14px;height:14px;flex-shrink:0}h1{font-size:20px;letter-spacing:-.45px;margin:0 0 3px}h2{font-size:15px;margin:0 0 12px}h3{font-size:13px}.icon{width:17px;height:17px;flex-shrink:0;vertical-align:middle}.icon-button{min-width:32px;padding:5px 7px}.sidebar{position:fixed;inset:0 auto 0 0;width:206px;padding:18px 12px;z-index:30;background:linear-gradient(175deg,#12394f,#102c40 65%)}.brand{margin:0 6px 22px;padding:11px 12px;border-radius:7px;box-shadow:0 3px 12px #00182d20}.sidebar-label{font-size:9px;letter-spacing:1.7px;margin:17px 12px 7px}.sidebar nav{display:block;overflow-y:auto;min-height:0}.sidebar nav button{width:100%;font-size:12px;padding:10px 12px;gap:9px;min-height:39px;margin:2px 0}.sidebar nav button span{display:flex;width:18px;font-size:16px}.sidebar nav button.active{background:#21516e;box-shadow:inset 3px 0 var(--green)}.sidebar-bottom{font-size:11px;padding:13px 10px 0}.secure-mark{font-size:10px}.workspace{margin-left:206px;height:100dvh;min-height:0;overflow:hidden}.topbar{height:52px;min-height:52px;padding:0 22px;font-size:12px;flex-shrink:0;box-shadow:0 1px 5px #163c5504}.identity{gap:9px}.identity>span:first-child{font-size:12px}.badge{font-size:10px;border-radius:4px;padding:3px 7px}.slash{padding:0 10px}.app-footer{height:29px;padding:6px 22px;flex-shrink:0;font-size:10px;background:#fff}main#content{padding:16px 20px 0;min-height:0;overflow:hidden;display:flex;flex-direction:column;flex:1}#view{min-height:0;flex:1;overflow:auto;padding-bottom:16px}.page-heading{margin-bottom:13px;gap:10px}.page-heading p{font-size:12px}.panel{border-radius:7px;margin-bottom:14px;box-shadow:0 2px 4px #18374d03}.panel-pad{padding:14px 16px}.form-grid{gap:10px 14px;grid-template-columns:repeat(3,minmax(0,1fr))}.form-actions{margin-top:10px;padding-top:10px;gap:8px;font-size:11px}.form-grid.four{gap:10px 14px}.tabs{gap:22px;padding:0 16px}.tabs button{padding:10px 0;font-size:12px;min-height:38px}.filter-row{gap:7px;margin:7px 0}.toolbar{padding:9px 12px;gap:8px}.toolbar h2{font-size:13px}.toolbar button{min-height:29px}table{font-size:12px}th{font-size:10px;padding:9px 10px;letter-spacing:.1px;color:#657d8f}td{padding:9px 10px;line-height:1.4}.data-grid td{padding:9px 10px;max-width:260px;overflow:hidden;text-overflow:ellipsis}.data-grid th{resize:none;overflow:visible;min-width:100px}.data-grid th:first-child{min-width:34px;width:34px}.data-grid th:nth-child(2){min-width:48px;width:48px}.data-grid th[data-sort]{cursor:pointer}.data-grid tbody tr:nth-child(even){background:#fafcfe}.data-grid tbody tr:hover{background:#edf6fc}.data-grid a{display:inline-flex;align-items:center;justify-content:center;width:27px;height:26px;border-radius:4px;background:#edf5fb}.numeric{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.table-footer{padding:8px 12px;font-size:11px;flex-shrink:0;background:#fff;border-top:1px solid var(--line);gap:8px}.grid-footer-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.table-footer button{font-size:11px;min-height:28px;padding:4px 8px}.empty{padding:30px 18px}.empty h2{font-size:15px}.empty p{font-size:12px}.empty-symbol{font-size:28px}.notice,.section-note{font-size:11px}.notice{padding:9px 12px}.section-note{margin-bottom:10px}.error,.success{font-size:12px;padding:9px 12px}#alert:not(:empty){margin-bottom:10px;flex-shrink:0}.stats{gap:10px;margin-bottom:14px}.stat{padding:12px 15px}.stat strong{font-size:22px}.stat span{font-size:11px}.stat h3{font-size:14px;margin:5px 0}.admin-grid{gap:14px;margin-bottom:14px}.admin-grid .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.inline-fields{gap:10px}.inline-fields label{min-width:110px}.row-actions button{min-height:27px;padding:4px 7px;font-size:11px}details summary{padding:7px 0;font-size:11px}.column-row{padding:5px 0}.column-row input[type=number]{width:72px}.dialog-head h2{font-size:16px}dialog{padding:20px;border-radius:8px}.key-grid .value{font-size:12px}.key-grid{gap:10px}
/* Search has one scrolling results region; filters and actions remain anchored. */
.grid-filters input{height:26px;font-size:11px;min-width:90px;border-color:#e0e8ef;background:#f8fafc}.grid-filters .icon-button{height:26px;min-height:26px;width:26px;padding:3px}
/* Report canvas with pinned, compact command bar. */
#view.page-claim{display:flex;flex-direction:column;overflow:hidden;padding-bottom:0}.claim-heading{display:flex;align-items:center;gap:13px;margin:0 0 12px;flex-shrink:0}.back-link{height:29px;min-height:29px;background:white;font-size:11px;padding:4px 9px}.claim-heading-title{flex:1;min-width:0}.claim-heading-title h1{font-size:19px;margin:0}.claim-heading-title>span{font-size:11px;color:var(--muted);display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.claim-heading-title i{font-style:normal;margin:0 6px;color:#abbac6}.report-toolbar{margin:0;background:#fff;border:1px solid var(--line);border-radius:7px 7px 0 0;display:flex;align-items:center;flex-wrap:nowrap;padding:7px 10px;gap:10px;flex-shrink:0;box-shadow:0 2px 4px #18374d05;z-index:4}.view-tabs{display:flex;gap:3px;background:#f0f4f8;border-radius:5px;padding:3px;flex-shrink:0}.view-tabs button{font-size:11px;min-height:28px;border:none;background:transparent;color:#6b8294;padding:4px 8px}.view-tabs button.active{background:#fff;color:var(--blue);box-shadow:0 1px 4px #1c3e5c18}.view-tabs .icon{width:14px;height:14px}.report-find-box{display:flex;align-items:center;gap:5px;background:#f8fafc;border:1px solid var(--line);border-radius:5px;max-width:280px;min-width:150px;margin-left:auto;padding:0 6px;height:31px}.report-find-box>.icon{width:14px;color:#8096a5}.report-find-box input{border:0;background:none;height:28px;padding:3px 2px;font-size:11px;width:140px;flex:1}.report-find-box #find-count{font-size:10px;color:var(--muted);white-space:nowrap}.report-find-box button{border:0;background:none;min-height:25px;min-width:22px;width:22px;padding:2px}.report-actions{display:flex;gap:4px;border-left:1px solid var(--line);padding-left:9px}.report-actions button{font-size:10px;min-height:30px;background:#fff}.report-actions .icon{width:15px;height:15px}#report-zoom{width:68px;flex-shrink:0;font-size:11px;height:30px;padding:3px}.report-warning{margin:0;border-radius:0;flex-shrink:0}#report-scroll{flex:1;min-height:0;overflow:auto;background:#e9eff5;border:1px solid var(--line);border-top:0;padding:18px 24px 30px;scrollbar-gutter:stable}.report{max-width:1120px;width:100%;margin:0 auto;background:#fff;border:1px solid #d7e1ea;border-top:3px solid var(--blue);border-radius:2px;padding:22px 27px;box-shadow:0 4px 16px #1b3c5910;font-size:12px}.report-head{padding-bottom:13px;margin-bottom:13px;border-bottom:1px solid var(--line);align-items:center;gap:20px}.report-brand{font-size:24px;letter-spacing:-1px;font-weight:500;line-height:1;color:var(--blue)}.report-brand span{color:var(--green)}.report-head p{font-size:9px;color:var(--muted);margin:6px 0 0}.report-stamp{display:flex;align-items:flex-end;flex-direction:column;gap:4px}.report-stamp strong{font-size:14px;font-weight:600}.report-stamp small{font-size:10px;color:var(--muted)}.report-person{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:15px}.report-person h2{font-size:17px;font-weight:600;margin:3px 0}.report-person .eyebrow{font-size:9px;letter-spacing:1.3px}.report-person span:not(.eyebrow){font-size:11px;color:var(--muted)}.read-only{display:flex;align-items:center;gap:5px;color:#258453!important;font-size:10px!important}.read-only .icon{width:14px;height:14px}.financial-strip{display:grid;grid-template-columns:repeat(4,1fr);background:#f6f9fc;border:1px solid #e1e9f0;border-radius:5px;margin-bottom:16px}.financial-strip>div{padding:10px 14px;border-right:1px solid #e1e9f0}.financial-strip>div:last-child{border:0}.financial-strip span{display:block;font-size:10px;color:#728596}.financial-strip strong{display:block;font-size:17px;font-weight:600;font-variant-numeric:tabular-nums;margin-top:3px;letter-spacing:-.3px}.financial-strip>div:nth-child(2) strong{color:#14894a}.report-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.fact-card h3{margin:0 0 9px;padding:0 0 6px;border-bottom:2px solid #e9f0f6;font-size:11px;font-weight:700;color:var(--blue)}.fact-card dl{margin:0}.fact-card dl>div{margin-bottom:7px;display:grid;grid-template-columns:43% 57%;gap:5px}.fact-card dt{font-size:10px;color:#7b8b99}.fact-card dd{font-size:11px;margin:0;overflow-wrap:anywhere;padding-right:5px;font-weight:500}.report-section{margin-top:17px}.section-heading{display:flex;justify-content:space-between;align-items:center;background:#eef4f9;border-top:1px solid #d9e5ef;border-bottom:1px solid #d9e5ef;padding:7px 9px}.report-section .section-heading h3{font-size:11px;padding:0;margin:0;background:none;border:0;color:#234b68}.section-heading span{font-size:9px;color:#7c90a0}.report table{font-size:10px}.report th{font-size:9px;padding:7px 8px;background:#f8fafc}.report td{padding:7px 8px}.service-table th:nth-last-child(-n/**/+2){text-align:right}.transaction-note{display:flex;justify-content:space-between;align-items:center;gap:15px;background:#f3f9f6;border-left:3px solid var(--green);padding:9px 11px;margin:16px 0;font-size:10px}.transaction-note strong{font-weight:600}.transaction-note span{color:#667d71}.source-details{border:1px solid var(--line);border-radius:4px;margin:8px 0;overflow:hidden}.source-details>summary{font-size:11px;padding:8px 10px;color:#4b6578;background:#fafcfe}.source-details>summary span{float:right;color:#8a9daa;font-size:10px;font-weight:400}.source-table{table-layout:fixed}.source-table th:first-child{width:60px}.source-table th:nth-child(2){width:65px}.source-table td{overflow-wrap:anywhere}.edi-element{display:inline-block;margin:1px 7px 2px 0;max-width:100%;overflow-wrap:anywhere}.edi-element small{color:#91a4b2;font-size:8px}.segment-code{color:var(--blue);font-weight:600}.report-foot{display:flex;justify-content:space-between;gap:12px;font-size:9px;color:#889aa8;border-top:1px solid var(--line);padding-top:12px;margin-top:18px}.related-records{max-width:1120px;margin:15px auto 0;font-size:11px;display:flex;gap:12px;flex-wrap:wrap}.related-records span{color:var(--muted)}.raw-heading{display:flex;align-items:center;justify-content:space-between;gap:15px}.raw{font-size:11px;line-height:1.8;max-height:none;border-radius:4px;padding:16px}.source-segment{font-size:10px;padding:6px 8px}.report.pdf-mode{padding:0;border:0;max-width:none;height:100%;min-height:500px}.pdf-viewer{width:100%;height:100%;min-height:500px;border:0;display:block}.current-match{background:#f7c956;outline:1px solid #d89f22}mark{background:#fff0b1;color:inherit}.login-card{border-top:4px solid var(--green);padding:32px;max-width:410px}.login-card h1{font-size:24px}.login-card .eyebrow{font-size:10px}.login-card form{gap:13px}.login-card input{height:36px}.login-card input[type=checkbox]{height:14px}.login-card footer{font-size:10px}.login-card .login-logo{width:200px;margin-bottom:18px}
@media (max-width:1200px){.sidebar{width:180px;padding:15px 9px}.workspace{margin-left:180px}.sidebar nav button{font-size:11px;padding:10px}.report-toolbar{gap:6px;padding:6px}.view-tabs button{font-size:10px;padding:4px 6px}.report-find-box{max-width:220px;min-width:110px}.report-find-box input{width:90px}.report-actions{gap:2px;padding-left:6px}.report-actions button{min-width:27px;padding:4px 5px}#report-scroll{padding:14px}.report{padding:18px}.report-facts{gap:12px}.fact-card dl>div{display:block}.fact-card dd{margin-top:2px}}
@media (max-width:850px){.sidebar{width:156px;padding:12px 7px}.workspace{margin-left:156px}.sidebar nav button{font-size:10px;padding:9px 7px}.brand{padding:9px 5px;margin-bottom:15px}.topbar{padding:0 12px}main#content{padding:12px 12px 0}.report-toolbar{flex-wrap:wrap}.report-find-box{margin-left:0;max-width:none;flex:1}.report-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.financial-strip strong{font-size:15px}.financial-strip>div{padding:9px}.identity>span:first-child{max-width:120px;overflow:hidden;text-overflow:ellipsis}.page-heading p{font-size:11px}}
@media (max-width:600px){.sidebar{position:relative;inset:auto;flex-shrink:0;width:100%;height:47px;padding:4px 8px;display:flex;flex-direction:row;align-items:center;gap:8px}.sidebar .brand{width:105px;min-width:105px;margin:0;padding:6px}.sidebar nav{display:flex;flex-wrap:nowrap;flex:1;overflow-x:auto}.sidebar nav button{font-size:0;min-width:34px;width:34px;padding:7px;white-space:nowrap}.sidebar nav button span{display:flex}.sidebar-label,.sidebar-bottom{display:none}body:not(.login-page){display:flex;flex-direction:column}.workspace{margin:0;flex:1;height:auto;min-height:0}.topbar{height:43px;min-height:43px;flex-wrap:nowrap}.identity{gap:3px}.identity>span:first-child{display:none}.app-footer{height:25px;font-size:9px;padding:5px 12px}.tabs{gap:16px;padding:0 11px}.tabs button{font-size:10px}.page-heading{margin-bottom:9px}.page-heading h1{font-size:18px}.page-heading p{font-size:10px}.report-actions{margin-left:auto}.report-facts{grid-template-columns:1fr}.report-facts .fact-card dl>div{display:grid}.financial-strip{grid-template-columns:repeat(2,1fr)}.financial-strip>div{border-bottom:1px solid #e1e9f0}.report-person{align-items:flex-start}.read-only{display:none}.report-head{flex-direction:row;align-items:center}.report-stamp strong{font-size:11px}.report-brand{font-size:20px}.report-head p{max-width:130px}.report-stamp small{font-size:9px}.report{padding:12px;min-width:0}.report .table-scroll{overflow:auto}.service-table{min-width:550px}.transaction-note{display:block}.transaction-note span{display:block;margin-top:4px}.claim-heading{gap:9px;margin-bottom:9px}.claim-heading-title h1{font-size:16px}.claim-heading-title>span{font-size:10px}.report-find-box{min-width:120px}.report-toolbar{gap:6px}.view-tabs{flex:1}.view-tabs button{flex:1;font-size:10px}.report-find-box{order:2}.report-actions{order:3}#report-zoom{order:3}#report-scroll{padding:9px}.grid-footer-controls{gap:5px}.grid-footer-controls #selection-count{display:none}.source-table th:first-child{width:42px}.source-table th:nth-child(2){width:49px}.report-foot{flex-direction:column;gap:4px}}
@media  print{html,body,body:not(.login-page),.workspace,main#content,#view,#view.page-claim,#report-scroll{height:auto!important;overflow:visible!important;display:block!important;margin:0!important;padding:0!important}.sidebar,.topbar,.app-footer,.report-toolbar,.claim-heading,.page-heading,.related-records,.report-warning,#alert,.no-print{display:none!important}.report{width:100%;max-width:none;padding:0;border:0;box-shadow:none;zoom:1!important}.report-head{display:flex}.report-facts{grid-template-columns:repeat(3,1fr)}.fact-card dl>div{display:block}.financial-strip{grid-template-columns:repeat(4,1fr)}.financial-strip,.report-person,.fact-card{break-inside:avoid}.source-details{break-inside:auto}.source-details>summary{break-after:avoid}.report .table-scroll{overflow:visible}.service-table{min-width:0}.grid-filters{display:none!important}thead{display:table-header-group}tr{break-inside:avoid}.report-foot{display:flex}#report-container details>summary{list-style:none}}
.report.pdf-mode{background:transparent;box-shadow:none;height:auto;min-height:0;max-width:none}.pdf-sheet{position:relative;background:white;margin:0 auto 18px;box-shadow:0 3px 14px #193b5520;overflow:hidden}.pdf-sheet canvas{display:block}.pdf-loading{background:white;padding:20px;text-align:center;color:var(--muted)}.textLayer{position:absolute;text-align:initial;inset:0;overflow:clip;opacity:1;line-height:1;text-size-adjust:none;forced-color-adjust:none;transform-origin:0 0;caret-color:CanvasText;z-index:1}.textLayer :is(span,br){color:transparent;position:absolute;white-space:pre;cursor:text;transform-origin:0 0}.textLayer> :not(.markedContent),.textLayer .markedContent span:not(.markedContent){z-index:1}.textLayer span.markedContent{top:0;height:0}.textLayer mark{color:transparent;background:#ffe77488}.textLayer .current-match{background:#ffc02699;outline:1px solid #db9d21}.textLayer ::selection{background:#1477bd44}
:focus-visible{outline:2px solid var(--blue);outline-offset:2px}.report-find-box:focus-within{border-color:var(--blue);box-shadow:0 0 0 2px #1477bd15}.report-find-box input:focus{outline:0}
/* v1.3: full-width fixed brand header and compact remittance statement. */
:root{--green:#10a04b;--sidebar-width:206px}
body:not(.login-page) .topbar{position:fixed;inset:0 0 auto 0;height:52px;min-height:52px;padding:0 20px 0 0;z-index:10;justify-content:flex-start;gap:20px}
.header-brand{width:var(--sidebar-width);height:52px;display:flex;align-items:center;padding:0 20px;flex-shrink:0;border-right:1px solid var(--line)}.header-brand img{width:158px;max-width:100%;height:auto}.header-location{flex:1;font-size:12px}.topbar .identity{margin-left:auto}
body:not(.login-page) .sidebar{top:52px;padding-top:14px;overflow-y:auto;width:var(--sidebar-width)}body:not(.login-page) .workspace{padding-top:52px;margin-left:var(--sidebar-width)}
.statement-heading{display:flex;justify-content:space-between;gap:20px;align-items:center;padding-bottom:12px;border-bottom:1px solid var(--line);font-size:11px;color:var(--muted)}.statement-heading h2{font-size:16px;margin:0 0 4px;color:var(--ink);letter-spacing:0}.statement-heading>span{white-space:nowrap}.statement-section{margin-top:12px}.statement-section>h3{font-size:11px;margin:0 0 5px;padding:5px 8px;background:#eff2f4;border:1px solid #dce3e8;border-left:2px solid var(--blue);color:#244457;letter-spacing:.1px;break-after:avoid}.statement-facts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px;margin:0;padding:2px 6px}.statement-facts>div{display:grid;grid-template-columns:40% 60%;gap:0;padding:4px 0;break-inside:avoid}.statement-facts dt{font-size:10px;color:#637888;padding-right:8px}.statement-facts dd{font-size:11px;line-height:1.5;font-weight:500;margin:0;overflow-wrap:anywhere}.statement-table{table-layout:fixed;font-size:11px}.report .statement-table th{white-space:normal;font-size:10px;padding:5px 7px}.report .statement-table td{font-size:11px;padding:6px 7px;overflow-wrap:anywhere}.statement-table:has(th:nth-child(8)):not(:has(th:nth-child(9))){min-width:650px}.statement-table:has(th:nth-child(8)):not(:has(th:nth-child(9))) th:nth-child(1){width:4%}.statement-table:has(th:nth-child(8)):not(:has(th:nth-child(9))) th:nth-child(2){width:23%}.statement-table:has(th:nth-child(8)):not(:has(th:nth-child(9))) th:nth-child(3){width:14%}.statement-table:has(th:nth-child(8)):not(:has(th:nth-child(9))) th:nth-child(4){width:9%}.statement-table:has(th:nth-child(8)):not(:has(th:nth-child(9))) th:nth-child(5){width:6%}.statement-table .numeric{text-align:right;font-variant-numeric:tabular-nums}.statement-note{font-size:10px;color:#637888;margin:5px 7px 0}.report{max-width:1050px;padding:20px 24px}.report-find-box{max-width:245px}.report-find-box input{width:115px}
@media (max-width:1200px){:root{--sidebar-width:180px}.header-brand{padding:0 16px}.statement-facts{gap:0 14px}}
@media (max-width:850px){:root{--sidebar-width:156px}.header-brand{padding:0 12px}.statement-facts{grid-template-columns:1fr}.statement-heading h2{font-size:14px}}
@media (max-width:600px){body:not(.login-page){padding-top:52px}body:not(.login-page) .topbar{height:52px;padding-right:8px;gap:8px}.header-brand{width:145px;padding:0 12px}.header-location{display:none}body:not(.login-page) .sidebar{top:auto;width:100%;height:43px;padding:4px 10px;overflow:hidden}body:not(.login-page) .workspace{padding-top:0;margin-left:0}.sidebar nav{justify-content:space-around}.report{padding:12px}.statement-heading{align-items:flex-start;flex-direction:column;gap:5px}.statement-section{margin-top:10px}}
@media  print{body:not(.login-page),body:not(.login-page) .workspace{padding:0!important;margin:0!important}.statement-heading{display:flex;flex-direction:row}.statement-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.statement-section{break-inside:auto}.statement-section>h3{break-after:avoid}.report .statement-table{min-width:0;table-layout:fixed}.report .statement-table th,.report .statement-table td{font-size:8pt}.statement-note{break-before:avoid}.report{max-width:none;padding:0}}

.view-tabs button{white-space:nowrap}.view-tabs button .icon{flex-shrink:0}
@page{size:A4;margin:12mm}
@media  print{.skip{display:none!important}html,body,.workspace,main#content,#view,#report-scroll{background:#fff!important;min-height:0!important;border:0!important}.statement-section{margin-top:7px}.statement-section>h3{padding:3px 6px;margin-bottom:3px}.statement-facts>div{padding:2px 0}.report .statement-table th,.report .statement-table td{padding:4px 5px}.statement-heading{padding-bottom:8px}.report-foot{margin-top:9px;padding-top:7px}.statement-note{margin-top:3px}}
/* v1.4 compact additional filters and saved preferences */
.filter-help{font-size:10px;color:var(--muted);margin:0 0 4px}#advanced-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px 12px;max-height:90px;overflow:auto;padding-right:4px}#advanced-rows .filter-row{display:grid;grid-template-columns:1.4fr .8fr 1.1fr 25px;gap:5px;margin:0}#advanced-rows input,#advanced-rows select{height:27px;padding:3px 5px;font-size:11px}#advanced-rows button{min-height:27px;height:27px;padding:2px}#add-filter{min-height:25px;height:25px;font-size:11px;margin-top:5px}.preset-list>div{display:flex;gap:7px;align-items:center;border-top:1px solid var(--line);padding:8px 0}.preset-list>div>span{flex:1}.preset-list{margin-top:16px}#save-filter-preset{display:flex;flex-direction:column;gap:10px}#save-filter-preset .check input{width:14px}
@media (max-width:1400px){}
@media (max-width:850px){#advanced-rows{grid-template-columns:1fr}}
@media (max-width:600px){}
.report.form-mode{padding:0;border:0;box-shadow:none;background:transparent;max-width:none}.form-context{padding:8px 12px;margin-bottom:12px;background:#fff;border:1px solid var(--line);font-size:11px;color:var(--muted)}
@media  print{body:has(.form-mode){page:claim-form}.form-mode .pdf-sheet{width:100%!important;height:auto!important;box-shadow:none;margin:0!important;break-after:page}.form-mode .pdf-sheet:last-child{break-after:auto}.form-mode .pdf-sheet canvas{width:100%!important;height:auto!important}.form-mode .textLayer{display:none}}
@page claim-form{size:letter;margin:0}
@media  print{.report.form-mode{margin:0!important}.form-mode .pdf-sheet{width:8.5in!important;height:10.98in!important;break-inside:avoid;overflow:hidden}.form-mode .pdf-sheet canvas{width:100%!important;height:100%!important;object-fit:contain}}
@media  print{.hiddenCanvasElement{display:none!important}}

.badge.Review{background:#fff3d6;color:#663f09}.badge.Held{background:#fdecef;color:#8e2739}



/* One screen title and one scrolling result region. */
#view.page-search{display:flex;flex-direction:column;min-height:0;overflow:hidden;padding-bottom:4px;gap:7px}
.header-location #page-label{font-size:18px;font-weight:650;color:var(--ink)}
.page-search .search-panel{flex:none;margin:0;overflow:auto;max-height:45%;border-radius:5px}
.page-search .tabs{padding:0 10px;gap:18px;align-items:center;height:32px;min-height:32px}
.page-search .tabs button{font-size:11px;min-height:30px;padding:5px 0}
.page-search .tabs #toggle-search{margin-left:auto;border:1px solid var(--line);border-radius:4px;padding:3px 7px;min-height:24px;font-size:10px;box-shadow:none}
.page-search #search-form-area{padding:6px 10px}
.page-search .form-grid{grid-template-columns:repeat(6,minmax(0,1fr)) 210px;gap:5px 8px}
.page-search label{font-size:10px;gap:3px}
.page-search input,.page-search select{height:28px;font-size:11px;padding:3px 6px}
.page-search .range{gap:4px}.page-search #advanced{margin-top:2px}.page-search #advanced summary{font-size:10px;padding:3px 0}.page-search #advanced[open]{max-height:110px;overflow:auto}
.page-search .form-actions{padding-top:5px;margin-top:5px;gap:6px}.page-search .form-actions button{height:27px;min-height:27px;padding:3px 8px;font-size:11px}.page-search .form-actions .muted{font-size:10px}
.page-search #results{display:flex;flex-direction:column;flex:1 1 0;min-height:0;margin:0;overflow:hidden}
.page-search #results>.toolbar{flex:none;padding:5px 9px;min-height:35px}.page-search #results>.toolbar button{min-height:25px;height:25px;padding:3px 7px;font-size:10px}
.page-search #results>.table-scroll{flex:1 1 0;min-height:0;overflow:auto;scrollbar-gutter:stable}
.page-search #results thead th{position:sticky;top:0;z-index:2;height:27px;padding:4px 7px}.page-search #results thead .grid-filters th{top:27px;height:31px;padding:2px 6px;background:#fff}.page-search #results .grid-filters input{height:25px;font-size:10px}
.page-search #results tbody td{height:28px;padding:4px 7px;font-size:11px;line-height:18px}.page-search #results tbody td a{height:20px;width:24px}.page-search #results input[type=checkbox]{height:14px;width:14px}
.page-search #results .table-footer{flex:none;min-height:33px;padding:4px 8px;font-size:10px}.page-search #results .table-footer button{height:24px;min-height:24px;padding:3px 6px;font-size:10px}
.page-search.results-expanded #search-form-area{display:none}
.finding-review{padding:4px 10px;max-height:130px;overflow:auto}.finding-review summary{font-size:11px;padding:3px 0}.finding-review ul{margin:5px 0;padding-left:18px}.finding-review small{color:var(--muted);display:block}
@media(max-width:1400px){.page-search .form-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:850px){.page-search .form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.page-search .form-actions .muted{display:none}}
@media(max-width:600px){.page-search .form-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.page-search .search-panel{max-height:42%}.header-location #page-label{font-size:15px}}
@media print{#view.page-search,.page-search #results{height:auto!important;overflow:visible!important;display:block!important}.page-search .search-panel,.grid-filters{display:none!important}.page-search #results>.table-scroll{overflow:visible!important}.page-search #results thead th{position:static}}

.page-context{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:28px;margin-bottom:8px;color:var(--muted,#536B7D);font-size:12px}.claim-heading{min-height:34px;padding-top:0;padding-bottom:0}.report td{vertical-align:top;white-space:pre-line}.report .report-table-wrap{overflow:auto}

/* Wide service rows keep financial values, adjustments and remarks associated. */
.report:not(.form-mode){max-width:1400px}
.statement-table:has(th:nth-child(10)){min-width:1050px}
.statement-table:has(th:nth-child(10)) th:nth-child(1){width:3%}
.statement-table:has(th:nth-child(10)) th:nth-child(2){width:12%}
.statement-table:has(th:nth-child(10)) th:nth-child(3){width:11%}
.statement-table:has(th:nth-child(10)) th:nth-child(4){width:4%}
.statement-table:has(th:nth-child(10)) th:nth-child(5){width:6%}
.statement-table:has(th:nth-child(10)) th:nth-child(6){width:10%}
.statement-table:has(th:nth-child(10)) th:nth-child(7){width:7%}
.statement-table:has(th:nth-child(10)) th:nth-child(8){width:7%}
.statement-table:has(th:nth-child(10)) th:nth-child(9){width:17%}
.statement-table:has(th:nth-child(10)) th:nth-child(10){width:23%}
@media(min-width:1200px){.statement-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@page business-report{size:A4 landscape;margin:10mm}
@media print{body:has(.page-claim .report:not(.form-mode)){page:business-report}.page-context{display:none!important}.report .statement-table:has(th:nth-child(10)){min-width:0}.statement-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Factual client notes; diagnostics are available within Source EDI for processing staff. */
.record-note{font-size:12px;line-height:1.4;padding:5px 10px;background:#f4f8fb;border-bottom:1px solid var(--line);color:#536b7d;margin:0}
.record-note.needs-attention{background:#fff3d6;color:#663f09;border-color:#ead2a3}
.record-note summary,.processing-details summary{padding:0;font-size:12px}
.record-note ul{margin:5px 0;padding-left:18px}
.processing-details{font-size:12px;margin:0 0 10px;border:1px solid var(--line);padding:8px 10px;background:white}
.processing-details small{display:block;color:var(--muted);font-size:10px}

/* Compact, always-visible record provenance distinguishes source occurrences. */
.record-source-heading,.record-source-filter,.record-source{min-width:210px;width:250px;max-width:310px}.source-record-button{min-height:0;line-height:1.1;display:flex;flex-direction:column;align-items:flex-start;gap:1px;border:0;background:transparent;padding:0;max-width:290px;text-align:left;color:var(--text,#183b50);font-size:11px}.source-record-button span{display:-webkit-box;max-width:285px;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;white-space:normal}.source-record-button small{color:#5d7488;font-size:10px;white-space:nowrap}.source-record-details{display:grid;grid-template-columns:140px 1fr;gap:8px 12px;font-size:12px}.source-record-details dt{color:#5d7488}.source-record-details dd{margin:0;overflow-wrap:anywhere}

/* Compact source notices stay outside printed/downloaded forms. */
.record-note[hidden]{display:none!important}.form-source-summary{display:inline}.form-field-status{display:inline;margin-left:10px}.form-field-status>summary{display:inline-block;color:var(--blue);cursor:pointer;text-decoration:underline}.form-field-status[open]{display:block;margin:5px 0 0}.form-status-scroll{max-height:210px;overflow:auto;border:1px solid var(--line);background:#fff}.form-status-scroll table{font-size:11px}.form-status-scroll th,.form-status-scroll td{padding:4px 7px;white-space:normal;vertical-align:top}.form-status-scroll th{position:sticky;top:0;background:#edf4f9}.form-status-scroll .field-gap{background:#fff8e8}.form-field-status .section-note{margin:4px 0;font-size:11px}

@media(max-width:600px){.payment-range-filter{grid-column:1/-1}.payment-range-filter .range input{min-width:0}}

.source-information{display:flex;gap:8px;align-items:baseline;background:#fff8e8;color:#624709}.source-information strong{white-space:nowrap}.source-information span{overflow-wrap:anywhere}@media(max-width:600px){.source-information{display:block}}

/* Original document catalog and fixed PDF workspace. */
.document-grid{table-layout:auto}.document-grid th,.document-grid td{padding:7px 10px;font-size:12px;vertical-align:middle}.document-grid .document-filename{min-width:240px;max-width:460px;overflow-wrap:anywhere;white-space:normal}.document-filename a{font-weight:600;text-decoration:none}.document-grid .doc-size{white-space:nowrap}.document-grid .row-actions{flex-wrap:nowrap}.document-grid svg{width:14px;height:14px}.document-title{min-width:0;overflow-wrap:anywhere}.document-title strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.page-document{display:flex;flex-direction:column;height:100%;min-height:0;gap:0}.page-document .claim-heading{flex-shrink:0}.document-toolbar{flex-shrink:0;align-items:center;margin-bottom:0}.document-toolbar .spacer{flex:1}.document-navigation{display:flex;align-items:center;gap:7px}.doc-page-label{display:flex;flex-direction:row;align-items:center;gap:5px;font-size:12px}.doc-page-label input{width:62px;height:29px;padding:3px 5px}.document-toolbar select{width:110px}.document-toolbar button{min-height:30px}.page-document .record-note{flex-shrink:0}#document-scroll{overflow:auto;flex:1;min-height:0;background:#e9f0f5;padding:16px}.document-pdf-host{width:max-content;min-width:100%;text-align:center}.document-pdf-host .pdf-sheet{margin:0 auto;background:white;box-shadow:0 2px 12px #20384a18;text-align:left}.document-pdf-host .empty{max-width:720px;margin:auto;white-space:normal}.document-toolbar .icon-button svg{width:15px;height:15px}@media(max-width:700px){.document-toolbar{gap:5px}.document-toolbar .spacer{display:none}.page-document .claim-heading{flex-wrap:wrap}.document-grid .document-filename{min-width:200px}.document-title{flex-basis:65%}#document-scroll{padding:8px}}

/* Original source and PDF share one fixed document workspace. */
.document-view-tabs{display:flex;gap:3px;padding:3px;background:var(--canvas,#f4f7fb);border-radius:5px}
.document-view-tabs button{border-color:transparent;background:transparent;color:var(--muted);padding:4px 10px}
.document-view-tabs button[aria-selected=true]{background:white;color:var(--blue);border-color:var(--line);box-shadow:0 1px 3px #20384a0c}
.document-view-tabs svg{width:14px;height:14px}
.document-subtoolbar{display:flex;align-items:center;flex-wrap:wrap;gap:8px;background:#fff;border:1px solid var(--line);border-top:0;padding:6px 10px;flex-shrink:0}
.document-subtoolbar .spacer{flex:1}.document-subtoolbar select{width:80px;height:29px;padding:3px 7px}.document-subtoolbar .document-navigation{font-size:12px}
.document-subtoolbar button{min-height:29px;padding:3px 7px}.document-subtoolbar .source-wrap{display:flex;flex-direction:row;align-items:center;gap:5px;white-space:nowrap;font-size:12px}
.source-wrap input{width:14px;height:14px;margin:0}.source-find{display:flex;align-items:center;gap:3px}.source-find input{width:175px;height:29px;padding:3px 8px;font-size:12px}
.source-find span{font-size:11px;color:var(--muted);max-width:55px}.source-find svg{width:14px;height:14px}
#document-scroll.source-active{padding:0;overflow:hidden;background:#fff}#doc-source-panel{display:flex;flex-direction:column;height:100%;min-height:0}
#source-text{width:100%;height:100%;min-height:0;flex:1;resize:none;border:0;border-radius:0;padding:12px 16px;margin:0;outline-offset:-2px;background:#fff;color:var(--ink);font:13px/1.55 Consolas,"DejaVu Sans Mono",ui-monospace,monospace;tab-size:8;overflow:auto;white-space:pre}
#source-text[wrap=soft]{white-space:pre-wrap;overflow-wrap:anywhere}#source-text::selection{background:#cce7f8;color:#123f5a}
.source-statusbar{flex-shrink:0;border:1px solid var(--line);border-top:0;background:var(--canvas,#f4f7fb);color:var(--muted);padding:4px 10px;font-size:11px}
.document-view-tabs button:focus-visible{outline:2px solid var(--blue);outline-offset:1px}
@media(max-width:700px){.document-subtoolbar{gap:5px;padding:5px}.document-subtoolbar .spacer{display:none}.source-find{flex:1}.source-find input{width:130px;max-width:100%}.document-view-tabs button{padding:4px 7px}.source-statusbar{overflow-wrap:anywhere}}

/* Source provenance stays in the compact source-details dialog. */
.source-location{padding:0 0 8px;margin:0 0 8px;border-bottom:1px solid var(--border,#d9e6ef)}.source-location:last-of-type{border-bottom:0;padding-bottom:0;margin-bottom:0}.source-path-line{display:flex;align-items:flex-start;gap:8px;min-width:0}.source-path-text{font-family:Consolas,"Courier New",monospace;font-size:12px;line-height:1.6;overflow-wrap:anywhere;white-space:pre-wrap;user-select:text;min-width:0;flex:1}.source-path-separator{color:#536b7d;font-family:inherit}.source-path-copy{flex:0 0 auto;min-height:28px;padding:3px 8px;font-size:12px}.source-path-account,.source-path-status{display:block;font-size:11px;color:#536b7d;line-height:1.5;margin-top:3px}.source-path-status:empty{display:none}
@media(max-width:600px){.source-record-details{grid-template-columns:minmax(0,1fr);gap:4px}.source-record-details dt{margin-top:8px}.source-record-details dt:first-child{margin-top:0}.source-record-details dd{min-width:0}.source-path-text{font-size:12px}.source-path-copy{padding:3px 6px}}

/* Non-EDI filenames open source metadata; Open retains the document viewer. */
.document-filename .document-source-button{display:block;max-width:100%;padding:0;border:0;background:transparent;color:var(--blue);font-size:inherit;font-weight:600;line-height:1.4;white-space:normal;text-align:left;overflow-wrap:anywhere}.document-filename .document-source-button:hover{text-decoration:underline}
