:root{font-family:Arial,Helvetica,sans-serif;color:#183b49;background:#f3f8fa}*{box-sizing:border-box}body{margin:0}header{height:76px;background:#073b4a;color:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 max(28px,calc((100vw - 1280px)/2));gap:18px}.brand{display:flex;gap:14px;align-items:center}.brand strong{font-size:18px;letter-spacing:-.3px}.brand small{display:block;color:#aed1d8;font-size:12px;margin-top:4px}.logo{display:grid;place-items:center;width:42px;height:42px;background:#02a9d2;color:white;border-radius:11px;font-size:30px;font-weight:900;font-style:italic}.pill{border:1px solid #396b78;border-radius:50px;padding:8px 14px;color:#c2e3e8;font-size:12px}main{max-width:1336px;margin:auto;padding:32px 28px 70px}.hero{min-height:194px;border-radius:20px;background:linear-gradient(110deg,#073b4a,#08617a 72%,#0288ab);padding:34px 42px;color:white;display:flex;justify-content:space-between;align-items:center;gap:20px;box-shadow:0 14px 35px #07546a23}.eyebrow{letter-spacing:2px;font-size:10px;font-weight:800;color:#2ed1e8}.hero h1{margin:12px 0 8px;font-family:Georgia,serif;font-size:36px;font-weight:600}.hero p{margin:0;color:#c6e5eb;font-size:14px}.hero-stat{padding:20px 28px;border:1px solid #7adce860;border-radius:15px;min-width:160px;text-align:center}.hero-stat strong{font-size:36px;display:block}.hero-stat span{font-size:11px;color:#bbdfe5}.columns{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin-top:22px}.panel{background:white;border:1px solid #dae9ed;border-radius:16px;padding:24px;box-shadow:0 5px 20px #093d4809}.section-heading{display:flex;align-items:center;gap:13px;margin-bottom:20px}.step{display:grid;place-items:center;width:34px;height:34px;border-radius:10px;color:#0783a1;background:#e6f6f9;font-size:12px;font-weight:800}.section-heading h2{margin:0;font-size:19px}.section-heading p{margin:4px 0 0;color:#748c95;font-size:12px}.drop{border:2px dashed #aad6df;background:#f7fcfd;min-height:201px;border-radius:13px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:8px;cursor:pointer;text-align:center;padding:20px}.drop:hover,.drop.over{border-color:#008fb4;background:#edfaff}.drop input{position:absolute;opacity:0;width:1px;height:1px}.drop-icon{font-size:27px;color:#0699b9;background:#dff4f8;border-radius:10px;width:42px;height:42px;display:grid;place-items:center}.drop strong{font-size:14px}.drop span:not(.drop-icon),.drop small{font-size:12px;color:#738d98}.selection{font-size:12px;color:#496b76;min-height:21px;margin:11px 0}.primary{border:0;background:#058eaf;color:white;border-radius:9px;padding:12px 17px;font-weight:700;cursor:pointer;display:flex;gap:26px;align-items:center;justify-content:space-between}.primary:hover{background:#05738e}.upload-panel .primary{width:100%}.message{font-size:12px;margin-top:10px;white-space:pre-line;line-height:1.5}.message.error{color:#b94e43}.message.ok{color:#06765d}.fields{display:grid;gap:9px}.field-row{display:grid;grid-template-columns:39% 1fr;gap:9px}input{min-width:0;border:1px solid #d4e1e6;padding:12px;border-radius:8px;background:white;font-size:13px;color:#173b48}input:focus{outline:2px solid #91dae8;border-color:#078cad}.search-actions{margin-top:16px;display:flex;justify-content:space-between;align-items:center;gap:10px}.link-button{color:#0784a3;border:0;background:none;font-size:13px;font-weight:700;cursor:pointer}.hint{margin-top:20px;background:#f3f9fb;border-left:3px solid #42bcd2;padding:13px 16px;border-radius:5px}.hint strong{font-size:12px}.hint p{font-size:11px;line-height:1.6;color:#617b83;margin:6px 0 0}.results{margin-top:20px;padding-bottom:12px}.tabs{display:flex;gap:24px;border-bottom:1px solid #e4edf0;margin-bottom:2px}.tab{border:0;background:transparent;color:#778c95;font-weight:700;font-size:13px;padding:0 0 13px;cursor:pointer}.tab.active{border-bottom:2px solid #0693b1;color:#075773}.tab span{background:#eaf5f8;border-radius:10px;padding:2px 7px;margin-left:4px}.table-scroll{overflow-x:auto}table{width:100%;border-collapse:collapse;font-size:12px}th{text-align:left;color:#6d8891;background:#f7fafb;font-size:11px;text-transform:uppercase;letter-spacing:.5px;padding:13px 12px;white-space:nowrap}td{padding:14px 12px;border-bottom:1px solid #edf2f4;vertical-align:top}td:first-child{font-weight:700}td.empty{text-align:center;color:#859aa0;padding:42px;font-weight:400}.muted{font-size:11px;color:#789099;margin-top:4px}.badge{display:inline-block;border-radius:30px;font-size:11px;padding:5px 9px;background:#ebf4f5;color:#4f737b;white-space:nowrap}.badge.verified{background:#e6f7ef;color:#087a4e}.badge.partial{background:#fff5df;color:#a46e08}.badge.failed{background:#ffebea;color:#b84940}.action{border:1px solid #badce4;background:white;border-radius:7px;padding:7px 10px;color:#087d99;cursor:pointer;font-size:11px;font-weight:700;white-space:nowrap}.action:hover{background:#eaf9fc}.preview{max-width:420px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#54707a;font-weight:400}.hidden{display:none!important}.modal{position:fixed;inset:0;background:#062e3caa;display:flex;align-items:center;justify-content:center;padding:20px;z-index:10}.modal-card{width:min(820px,100%);max-height:90vh;display:flex;flex-direction:column;background:white;border-radius:16px;padding:26px;box-shadow:0 30px 70px #042b3b70}.modal-head{display:flex;justify-content:space-between;gap:15px}.modal-head h2{margin:8px 0;font-size:21px}.modal-head p{color:#667f89;font-size:13px;margin:0}.close{border:0;background:#edf5f7;border-radius:8px;width:34px;height:34px;font-size:23px;cursor:pointer}.modal-fields{display:flex;gap:8px;flex-wrap:wrap;margin:19px 0 12px}.raw-text{white-space:pre-wrap;overflow:auto;line-height:1.8;font-family:Consolas,monospace;font-size:13px;background:#f5f9fa;border:1px solid #dfebee;border-radius:9px;padding:20px;margin:0;min-height:140px}.raw-text mark{background:#ffe27c;border-radius:3px;padding:1px 2px;color:#263c43}.modal footer{color:#82969d;font-size:11px;margin-top:16px}@media(max-width:800px){.columns{grid-template-columns:1fr}.hero{padding:28px}.hero h1{font-size:28px}.hero-stat{display:none}.pill{display:none}header{padding:0 20px}main{padding:18px 14px}.panel{padding:18px}.search-actions{flex-wrap:wrap}}
.primary:disabled{opacity:.65;cursor:wait}.search-panel .message{min-height:18px;margin-top:11px}
.load-more{display:block;margin:18px auto 5px;min-width:170px;padding:10px 18px}.load-more:disabled{opacity:.6;cursor:wait}
/* Compact desktop layout: sized to approximate the former 80% browser zoom at 100%. */
@media (min-width:900px){
  header{height:58px}
  .brand strong{font-size:16px}.brand small{font-size:10px;margin-top:2px}
  .logo{width:34px;height:34px;font-size:24px;border-radius:8px}
  .pill{font-size:10px;padding:6px 10px}
  main{max-width:1400px;padding:12px 20px 24px}
  .hero{min-height:104px;padding:17px 26px;border-radius:13px}
  .hero h1{font-size:26px;margin:7px 0 4px}
  .hero p{font-size:12px}.eyebrow{font-size:9px}
  .hero-stat{padding:10px 18px;min-width:125px}.hero-stat strong{font-size:26px}
  .columns{gap:12px;margin-top:12px}
  .panel{padding:15px;border-radius:12px}
  .section-heading{gap:9px;margin-bottom:11px}
  .section-heading h2{font-size:16px}.section-heading p{margin-top:2px;font-size:11px}
  .step{width:28px;height:28px;border-radius:7px;font-size:10px}
  .drop{min-height:119px;padding:10px;gap:4px;border-radius:9px}
  .drop-icon{width:30px;height:30px;font-size:20px;border-radius:7px}
  .drop strong{font-size:12px}.drop span:not(.drop-icon),.drop small{font-size:10px}
  .selection{margin:5px 0;min-height:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .primary{padding:8px 12px;font-size:12px;border-radius:7px}
  .fields{gap:6px}.field-row{gap:6px}
  input{padding:8px 9px;font-size:12px;border-radius:6px}
  .search-actions{margin-top:10px}.link-button{font-size:11px}
  .hint{margin-top:10px;padding:8px 11px}.hint strong{font-size:11px}.hint p{font-size:10px;line-height:1.4;margin-top:3px}
  .message{font-size:11px;margin-top:6px}.search-panel .message{min-height:14px;margin-top:6px}
  .results{margin-top:12px;padding-bottom:7px}
  .results .section-heading{margin-bottom:10px}
  .tabs{gap:18px}.tab{font-size:11px;padding-bottom:8px}
  .table-scroll{max-height:220px;overflow:auto}
  th{position:sticky;top:0;z-index:1;padding:8px 10px;font-size:10px}
  td{padding:8px 10px;font-size:11px}
  td.empty{padding:23px}
  .action{font-size:10px;padding:6px 8px}
  .badge{font-size:10px;padding:4px 7px}
  .load-more{margin:9px auto 4px}
}
@media (min-width:900px) and (max-height:820px){
  .hero{min-height:94px}.table-scroll{max-height:170px}
}
/* Quiet, dismissible notifications that leave the page usable. */
.toast-stack{position:fixed;top:70px;right:18px;z-index:100;display:grid;gap:9px;width:min(360px,calc(100vw - 28px));pointer-events:none}
.toast{--toast-accent:#249477;display:flex;align-items:flex-start;gap:10px;padding:12px 11px;border:1px solid #cceae0;border-left:3px solid var(--toast-accent);border-radius:10px;background:#f4fcf8;color:#225c4b;box-shadow:0 8px 25px #1638451b;pointer-events:auto;animation:toast-enter .2s ease-out;overflow-wrap:anywhere}
.toast-alert{--toast-accent:#c89139;background:#fffaf0;border-color:#f2e1be;color:#745526}
.toast-error{--toast-accent:#ce786f;background:#fff7f6;border-color:#f1d7d3;color:#813f3b}
.toast-icon{display:grid;place-items:center;flex:none;width:23px;height:23px;border-radius:50%;background:var(--toast-accent);color:#fff;font-size:13px;font-weight:800}
.toast-body{display:grid;gap:3px;min-width:0;flex:1;font-size:12px;line-height:1.4}
.toast-body strong{font-size:12px}.toast-body span{white-space:pre-line}
.toast-close{align-self:flex-start;border:0;background:transparent;color:inherit;cursor:pointer;font-size:19px;line-height:1;padding:0 2px;opacity:.65}
.toast-close:hover{opacity:1}
@keyframes toast-enter{from{opacity:0;transform:translateY(-7px)}to{opacity:1;transform:translateY(0)}}
@media (min-width:900px){.toast-stack{top:67px}}
@media (max-width:800px){.toast-stack{top:68px;right:14px}}
@media (prefers-reduced-motion:reduce){.toast{animation:none}}
.toast-success{--toast-accent:#249477}
.selection{white-space:normal;max-height:78px;overflow:auto}
.queue-count{display:block;font-weight:700;margin-bottom:5px;color:#41707a}
.queue-list{display:flex;gap:5px;flex-wrap:wrap}
.queue-file{display:inline-flex;align-items:center;gap:6px;max-width:100%;border:1px solid #c8e5ea;background:#f0fafb;border-radius:16px;padding:3px 7px;font-size:11px;color:#326372;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.remove-file{border:0;background:transparent;color:#758f96;font-size:15px;line-height:1;cursor:pointer;padding:0 2px;flex:none}
.remove-file:hover{color:#ba514a}
.grid-title{margin:12px 0 7px;font-size:12px;color:#327386;letter-spacing:.2px}
#fileResults table{margin-bottom:10px}
@media (min-width:900px){.selection{max-height:65px}.grid-title{margin:8px 0 5px}}
