@font-face{font-family:Onest;src:url('/static/fonts/Onest.ttf') format('truetype');font-weight:100 900;font-display:swap}
:root{--ink:#181d27;--muted:#444c58;--line:#e9ebef;--surface:#f5f6f8;--red:#c62d2d;--green:#268252;color-scheme:light;background:#e1e5e9;font-family:Onest,Arial,sans-serif;-webkit-text-size-adjust:100%;text-size-adjust:100%;scrollbar-color:#b7bbc3 transparent}
*{box-sizing:border-box}body{margin:0;isolation:isolate;background:#e1e5e9;color:var(--ink);font:500 15px/1.5 Onest,Arial,sans-serif}button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a{color:inherit}button:disabled{opacity:.55;cursor:wait}[hidden]{display:none!important}:focus-visible{outline:2px solid var(--red);outline-offset:4px}.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:fixed;z-index:10;background:#fff;padding:12px}h1,h2,h3,p{margin:0}h1{font-size:clamp(28px,2.5vw,40px);line-height:1.2;letter-spacing:-.045em;font-weight:720}h2{font-size:21px;line-height:1.3;letter-spacing:-.03em;font-weight:720}h3{font-size:16px}button{border:0}svg{flex-shrink:0}.muted,.field-help,.eyebrow{color:var(--muted)}.field-help,.eyebrow{font-size:13px}.field-help:empty,.eyebrow:empty,.count:empty,.notice:empty{display:none}
.topbar{min-height:56px;padding:6px 3%;background:#fff;display:flex;align-items:center;gap:36px;border-bottom:1px solid var(--line)}.logo{font-size:28px;letter-spacing:-1.4px;font-weight:750;text-decoration:none;line-height:1.1;white-space:nowrap}.logo span{color:var(--red)}.topbar nav{display:flex;align-items:center;gap:28px;margin-left:auto}.topbar nav a{font-size:14px;text-decoration:none;padding:10px 0}.topbar nav .nav-active{font-weight:650;position:relative}.nav-active::after{content:'';position:absolute;height:2px;background:var(--red);left:0;right:0;bottom:-6px}.account{display:flex;gap:16px;align-items:center;font-size:14px;min-width:0}.account>span{max-width:180px;overflow-wrap:anywhere}.account form{margin:0}.text-button,.text-link{background:transparent;color:var(--muted);font-size:13px;padding:7px 0;text-decoration:underline;text-underline-offset:3px}.text-button:hover,.text-link:hover{color:var(--red)}.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 22px;border:0;border-radius:8px;text-decoration:none;font-size:14px;line-height:1.4;font-weight:600;white-space:nowrap}.primary{background:var(--red);color:#fff}.primary:hover{background:#b22424}.secondary{background:#252a32;color:#fff}.secondary:hover{background:#363d48;color:#fff}
.workspace{max-width:1720px;margin:0 auto;padding:32px 3% 12px}.page-heading{display:flex;justify-content:space-between;gap:24px;align-items:center;margin-bottom:28px}.page-heading .muted{margin-top:10px;font-size:14px}.quota{flex-shrink:0;font-size:12px;color:var(--muted);text-align:right}.quota strong{display:block;font-size:20px;font-weight:650;color:var(--ink);font-variant-numeric:tabular-nums}.batch-panel{background:#fff;box-shadow:0 2px 8px #18202c04;border-radius:10px;padding:20px 22px;margin-bottom:20px}.upload-toolbar{display:flex;align-items:center;gap:24px}.upload-toolbar form{display:flex;align-items:center;gap:20px;flex:1;min-width:0}.dropzone{position:relative;display:flex;align-items:center;gap:18px;min-width:0;max-width:600px;cursor:pointer;border-radius:7px;padding:4px}.dropzone:focus-within{outline:2px solid var(--red);outline-offset:3px}.dropzone.dragging{background:#e6e9ed}.dropzone input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}.file-symbol{width:38px;height:46px}.file-copy{display:grid;gap:3px;min-width:0}.file-copy strong{font-size:15px;font-weight:650;overflow-wrap:anywhere}.file-copy>span{font-size:12px;color:var(--muted)}#toggle-lookup{white-space:nowrap;flex-shrink:0}.notice{margin:14px 0 0;padding:12px;border-radius:6px;background:#eef2f7;font-size:13px}.notice.error{background:#fbeeea;color:#9d3027}.content-grid{display:grid;grid-template-columns:minmax(0,2.1fr) minmax(310px,1fr);align-items:start;gap:20px}.results-panel,.history-panel,.catalogues,.search-panel{min-width:0;border:1px solid var(--line);border-radius:10px;background:#fff;padding:24px}.results-panel{min-height:510px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.section-heading>div{min-width:0}.result-actions{display:flex;gap:10px}.result-actions .secondary{padding-inline:18px}.results-panel .muted{font-size:13px}.eyebrow{margin-top:5px;overflow-wrap:anywhere}.count{display:block;font-size:12px;color:var(--muted);margin-top:6px}.result-tools{display:flex;justify-content:flex-end;margin:16px 0}.result-tools input{max-width:290px}.table-scroll{overflow:auto;max-height:580px;margin-top:20px;border-radius:8px}table{width:100%;border-collapse:collapse;text-align:left;font-size:13px}th,td{padding:15px 12px;border-bottom:1px solid var(--line);vertical-align:top}th{position:sticky;top:0;background:var(--surface);color:var(--muted);font-size:12px;font-weight:500;white-space:nowrap}td{overflow-wrap:anywhere;max-width:240px}code{font:inherit;font-weight:550;white-space:nowrap}tbody tr:hover{background:#fafbfc}td .number-kind{display:block;color:var(--muted);font-size:11px}.filter-count,#filter-count{margin-top:12px}.empty-state{padding:75px 16px;text-align:center;color:var(--muted);display:grid;justify-items:center;gap:8px;font-size:13px}.empty-state svg{width:48px;height:48px;margin-bottom:8px;color:#a2a8b2}.empty-state strong{color:var(--ink);font-size:16px;font-weight:550}.workspace-side{display:grid;gap:20px}.history-panel h2,.catalogues h2{font-size:20px}.history-panel .section-heading{gap:10px}.history-panel .empty-state{padding:26px 4px}.job-row{padding:17px 10px;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;border-radius:6px}.job-row:last-child{border-bottom:0}.job-row.selected{background:var(--surface)}.job-name{font-size:13px;font-weight:600;overflow-wrap:anywhere}.job-date{display:block;font-size:11px;font-weight:500;color:var(--muted);margin-top:5px}.badge{font-size:11px;border-radius:20px;padding:4px 8px;align-self:start;white-space:nowrap}.badge.neutral{background:#f0f2f5;color:#687180}.badge.job-done{background:#eaf7ef;color:#268252}.badge.warning{background:#fff2dd;color:#875e1f}.job-progress{font-size:11px;color:var(--muted);grid-column:1/-1}.job-progress progress{display:block;width:100%;height:4px;margin:5px 0;accent-color:var(--green)}.job-actions{grid-column:1/-1;display:flex;justify-content:flex-end;gap:16px}.job-actions a,.job-actions button{font-size:12px;padding:4px 0}.catalogues .muted{font-size:12px;margin-bottom:18px}.catalogues .section-heading{flex-wrap:wrap}.catalogues #catalogue-count{font-size:11px}.catalogues #catalogue-count:not(:empty)::before{content:'●';color:var(--green);margin-right:6px}#coverage{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.catalog-card{display:flex;align-items:center;justify-content:center;min-height:56px;text-decoration:none;padding:8px;border-radius:6px;color:#343a44;text-align:center;transition:background .15s}.catalog-card:hover{background:var(--surface)}.catalog-card img{width:100%;max-width:106px;height:34px;object-fit:contain;filter:grayscale(1);opacity:.82}.catalog-card img[src$='.svg']{filter:brightness(0);opacity:.73}.catalog-brand{font-size:12px;overflow-wrap:anywhere}.catalog-card img[src*='hel.']{mix-blend-mode:multiply}.search-panel{margin-bottom:20px;background:#fafbfc}.lookup-fields{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,1fr) auto;gap:18px;align-items:end}label{display:block;font-size:13px;margin-bottom:7px}input:not([type=file]),select{font:500 15px Onest,Arial,sans-serif;border:1px solid #dfe3e9;background:#fff;color:var(--ink);border-radius:7px;width:100%;min-height:44px;padding:10px 12px;min-width:0}select{appearance:none;padding-right:34px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='m5 7 5 5 5-5' fill='none' stroke='%23697180' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:18px;background-position:right 12px center}.examples{display:flex;align-items:center;gap:12px;margin-top:18px;font-size:12px;color:var(--muted)}.group-choices{display:flex;flex-wrap:wrap;gap:8px}.group-example{background:#eef0f3;border:0;border-radius:6px;padding:8px 10px;color:var(--muted);font-size:12px}.group-example:hover,.group-example[aria-pressed=true]{background:#f8eae8;color:var(--red)}details{font-size:12px;color:var(--muted);margin-top:15px}summary{cursor:pointer;padding:5px 0}.source-reports{display:flex;flex-wrap:wrap;gap:8px;padding:10px 0}.source-reports .badge{white-space:normal}#detail-body{overflow:auto}#history-status{margin:8px 0}footer{max-width:1720px;margin:22px auto;padding:12px 3% 26px;display:flex;justify-content:space-between;gap:16px;color:var(--muted);font-size:11px}footer a{white-space:nowrap}
@media(min-width:1800px){body{font-size:16px}.workspace{padding-top:40px}.topbar{padding-inline:max(3%,calc((100vw - 1617px)/2))}}
@media(max-width:1100px){.topbar{gap:24px}.content-grid{grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr)}.upload-toolbar{flex-wrap:wrap;gap:8px}.upload-toolbar form{flex-basis:100%}#toggle-lookup{margin-left:auto}.results-panel,.history-panel,.catalogues{padding:18px}.job-row{grid-template-columns:1fr}.job-row>.badge{justify-self:start}.template-link{margin-left:auto}.page-heading .muted{max-width:630px}}
@media(max-width:800px){.content-grid{grid-template-columns:1fr}.workspace-side{grid-template-columns:1fr 1fr;align-items:start}.topbar{flex-wrap:wrap;gap:10px;padding:8px 20px}.logo{font-size:26px}.topbar nav{gap:18px}.account{font-size:12px;gap:10px}.account>span{max-width:100px}.workspace{padding:26px 20px}.page-heading{align-items:flex-start}.quota{padding-top:6px}.results-panel{min-height:380px}.empty-state{padding:48px 12px}.lookup-fields{grid-template-columns:1fr 1fr}.lookup-fields .primary{grid-column:1/-1}.examples{align-items:flex-start;flex-direction:column}.nav-active::after{bottom:-4px}}
@media(max-width:560px){.topbar{gap:12px}.topbar nav{order:3;width:100%;margin:0;justify-content:space-between}.topbar nav a{padding:4px 0}.account{margin-left:auto}.account>span{max-width:92px}.logo{font-size:25px}.workspace{padding:22px 16px}.page-heading{flex-direction:column;gap:12px;margin-bottom:20px}.page-heading .muted{font-size:13px}.quota{display:flex;align-items:center;gap:10px;text-align:left;padding:0}.quota strong{font-size:14px}h1{font-size:28px}h2{font-size:19px}.batch-panel{padding:16px}.upload-toolbar form{flex-wrap:wrap;gap:12px}.dropzone{flex-basis:100%;max-width:100%}.file-copy strong{font-size:14px}.file-copy>span{font-size:11px}.file-symbol{width:30px;height:38px}#btn-upload{flex:1}.template-link{padding:10px}.results-panel,.history-panel,.catalogues,.search-panel{padding:16px}.workspace-side{grid-template-columns:1fr}.section-heading{align-items:flex-start;flex-wrap:wrap;gap:10px}.result-actions .secondary{min-height:40px;padding:9px 14px;font-size:13px}.results-panel{min-height:340px}.lookup-fields{grid-template-columns:1fr;gap:12px}.lookup-fields .primary{grid-column:auto}.table-scroll table{min-width:590px}.result-tools input{max-width:none}.job-row{grid-template-columns:minmax(0,1fr) auto}.job-row>.badge{justify-self:end}.catalog-card{min-height:62px}.catalog-card img{max-width:100px}input:not([type=file]),select{font-size:16px}.empty-state{padding:30px 8px}footer{flex-direction:column;padding:0 16px 24px;margin-top:0}}
@media(prefers-reduced-motion:reduce){*{transition:none!important}}

/* The landing illustration stays behind opaque working surfaces. */
.workspace-backdrop{position:fixed;inset:0;z-index:-1;pointer-events:none;overflow:hidden;opacity:.3;background-image:linear-gradient(90deg,transparent,#e1e5e9dd 25%,#e1e5e9ee 74%,transparent),url('/static/images/welcome-automotive-expressive.png');background-size:100% 100%,cover;background-position:center;background-repeat:no-repeat}
.workspace-backdrop::before{content:'';position:absolute;inset:0;background:repeating-linear-gradient(150deg,transparent 0 100px,#89929b30 100px 101px,transparent 101px 200px);mask-image:linear-gradient(to right,#000,transparent 30%,transparent 70%,#000)}
.workspace-backdrop span{position:absolute;color:#c62d2d65;font-size:18px;font-weight:600;letter-spacing:.06em;transform:rotate(-25deg)}
.workspace-backdrop span:nth-child(1){left:2%;bottom:12%}.workspace-backdrop span:nth-child(2){right:3%;top:4%;transform:none}.workspace-backdrop span:nth-child(3){right:2%;bottom:7%}
.topbar nav a,.account,.text-button,.text-link,.field-help,.eyebrow,.file-copy>span,.count,.badge,.job-date,.job-progress,.catalogues .muted,.examples,details,footer{font-weight:550}
.primary,.secondary,.job-name,label,th{font-weight:650}
.results-panel,.history-panel,.catalogues,.search-panel{box-shadow:0 2px 8px #18202c04}
.search-panel{background:#fff}input:not([type=file]),select{background-color:#f7f8fa}
@media(max-width:560px){.topbar{gap:8px;padding-block:8px}.workspace-backdrop{inset:0;opacity:.2;background-size:100% 100%,auto 100%;background-position:center,left top}#toggle-lookup{width:100%;margin-top:4px}}

/* Selected combination: defined surfaces (04), separate charcoal actions (01). */
.batch-panel,.results-panel,.history-panel,.catalogues,.search-panel{border:1px solid #bcc5d0;box-shadow:0 2px 5px #2530410b;background:#fff}
.workspace-backdrop{opacity:.22}
.topbar{gap:24px}.topbar nav{gap:18px}.topbar nav a{padding:8px 9px}.nav-active::after{left:0;right:0;bottom:1px;height:2px}
.account{position:relative;flex-shrink:0}
.profile-toggle{display:flex;align-items:center;gap:10px;min-height:40px;padding:3px 0;background:transparent;color:var(--ink);font-size:14px;font-weight:550;border-radius:6px}
.profile-avatar{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#f3f4f7}.profile-avatar svg{width:22px;height:22px}
.profile-name{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.profile-chevron{width:19px;height:19px;transition:transform .15s}.profile-toggle[aria-expanded=true] .profile-chevron{transform:rotate(180deg)}
.profile-dropdown{position:absolute;top:calc(100% + 8px);right:0;z-index:20;width:180px;padding:6px;border:1px solid #cdd3db;border-radius:8px;background:#fff;box-shadow:0 8px 24px #18202c1a}
.profile-dropdown button{display:block;width:100%;padding:11px 14px;border-radius:5px;background:transparent;text-align:left;color:var(--ink);font-weight:600}.profile-dropdown button:hover{background:#eef0f3}
.job-row{margin-top:10px;padding:14px 12px;background:#f0f2f5;border:0;border-radius:8px;gap:9px 12px}.job-row.selected{background:#edf0f4}
.job-name{position:relative;padding-left:31px;font-weight:650}.job-name::before{content:'';position:absolute;left:0;top:1px;width:22px;height:29px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 36'%3E%3Cpath d='M5 2h12l7 7v25H5zM17 2v8h7M10 16h9m-9 6h9m-9 6h6' fill='none' stroke='%23252a32' stroke-width='1.6' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat}
.job-actions{gap:8px;flex-wrap:wrap}.job-actions a,.job-actions button{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:8px 12px;background:#252a32;color:#fff;border-radius:6px;font-size:12px;font-weight:650;line-height:1.4;text-decoration:none}.job-actions a:hover,.job-actions button:hover{background:#363d48;color:#fff}
.catalog-card img{opacity:.95}.catalog-card img[src$='.svg']{opacity:.85}
input::placeholder{color:#545d6b;opacity:1}th{color:#444c58}.empty-state strong{font-weight:650}
@media(max-width:800px){.topbar{gap:14px}.profile-name{max-width:140px}}
@media(max-width:560px){.topbar{gap:8px}.topbar nav a{padding:5px 9px}.profile-toggle{font-size:12px;gap:6px}.profile-avatar{width:30px;height:30px}.profile-name{max-width:95px}.profile-chevron{width:16px}.workspace-backdrop{opacity:.17}.job-actions a,.job-actions button{flex:1}.profile-dropdown{max-width:calc(100vw - 32px)}}

/* Navigation underline terminates on the header rule. */
.topbar{padding-block:0;align-items:stretch}.topbar>.logo,.topbar>.account{align-self:center}.topbar nav{align-items:stretch}.topbar nav a{display:flex;align-items:center;min-height:55px}.nav-active::after{bottom:-1px}
.profile-dropdown button{color:var(--red)}.profile-dropdown button:hover,.profile-dropdown button:focus-visible{background:#fbe8e8;color:#b22424}
.result-toolbar{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:18px 0 0}.result-tools{margin:0;justify-content:flex-start;flex:0 1 310px;min-width:0}.result-tools input{max-width:none;border:1px solid #aeb7c3;background:#fff}.result-tools input:focus-visible{outline:2px solid #8793a3;outline-offset:2px}
#source-details{position:relative;margin:0 0 0 auto;flex-shrink:0}#source-details summary{padding:9px 12px;border:1px solid #c7cdd5;border-radius:7px;background:#f5f7f9;white-space:nowrap;font-weight:600}#source-reports{position:absolute;top:calc(100% + 6px);right:0;z-index:12;display:grid;gap:6px;width:300px;max-width:calc(100vw - 64px);max-height:270px;overflow:auto;padding:10px;background:#fff;border:1px solid #c7cdd5;border-radius:8px;box-shadow:0 8px 24px #202b3c18}#source-reports .badge{border-radius:5px;padding:7px 9px}
@media(max-width:800px){.topbar{padding-block:0}.topbar nav a{min-height:55px}}
@media(max-width:560px){.topbar{padding-top:7px;row-gap:0}.topbar nav a{min-height:35px}.result-toolbar{gap:8px;flex-wrap:wrap}.result-tools{flex:1 1 160px}#source-details summary{font-size:11px;padding:10px 8px}}

/* Combined search, aligned catalogues and compact expandable history. */
.content-grid{grid-template-columns:minmax(0,2fr) minmax(320px,1fr);grid-template-areas:'search catalogues' 'results history';align-items:start}
.combined-search{grid-area:search;min-width:0;padding:24px;border:1px solid #bcc5d0;border-radius:10px;background:#fff;box-shadow:0 2px 5px #2530410b}
.combined-search .search-panel,.combined-search .batch-panel{padding:0;margin:0;border:0;box-shadow:none;background:transparent}
.combined-search .lookup-fields{grid-template-columns:minmax(0,1fr) auto;gap:12px}.combined-search .lookup-fields .primary{grid-column:auto;min-width:112px}
.combined-search .examples{margin:10px 0 22px;align-items:baseline;gap:8px}.combined-search .group-choices{gap:5px 12px}.combined-search .group-example{background:transparent;padding:2px 0;text-decoration:underline;text-underline-offset:3px;font-size:11px}
.combined-search .upload-toolbar,.combined-search .upload-toolbar form{display:block}.combined-search .dropzone{display:flex;flex-direction:column;justify-content:center;max-width:none;width:100%;min-height:148px;padding:20px 12px;gap:12px;text-align:center;background:#f3f5f7;border:1px dashed #c5ccd7;border-radius:8px;margin-bottom:12px}.combined-search .file-symbol{width:27px;height:34px;flex-shrink:0}.combined-search .file-copy{gap:6px}.combined-search #btn-upload{min-height:36px;padding:7px 16px;font-size:12px;margin-right:12px}.combined-search .template-link{font-size:12px;padding:0}.combined-search .file-copy strong{font-size:15px}
.catalogues{grid-area:catalogues;align-self:stretch;display:flex;flex-direction:column}.catalogues #coverage{flex:1;gap:4px 12px;align-content:space-evenly}.catalogues .catalog-card{min-height:42px;padding:5px}.catalogues .catalog-card img{height:28px;max-width:96px}.catalogues .muted{margin-bottom:12px}
.results-panel{grid-area:results}.history-panel{grid-area:history}.history-panel .job-row{padding:11px 12px;gap:6px 8px;margin-top:8px;grid-template-columns:minmax(0,1fr) auto}.history-panel .job-name{font-size:12px;padding-left:25px}.history-panel .job-name::before{width:17px;height:23px}.history-panel .job-date{font-size:11px;margin-top:3px}.history-panel .job-actions a,.history-panel .job-actions button{min-height:29px;padding:5px 10px;font-size:11px}.history-panel .badge{font-size:10px;padding:3px 6px}.history-panel #more-jobs{display:block;width:100%;margin-top:14px;background:#edf0f4;border-radius:6px;text-decoration:none;padding:10px;font-weight:650}.history-panel #collapse-jobs{display:block;margin:6px auto 0}
#result-table th{background:#252a32;color:#fff;font-weight:650;border-bottom:0}#result-table tbody tr:nth-child(odd){background:#fff}#result-table tbody tr:nth-child(even){background:#eef1f5}#result-table tbody tr:hover{background:#e3e8ee}.nav-active::after{height:2px;left:9px;right:9px}
@media(max-width:1100px){.content-grid{grid-template-columns:minmax(0,1.6fr) minmax(290px,1fr)}.combined-search{padding:18px}.combined-search .examples{flex-direction:column;gap:4px}}
@media(max-width:800px){.content-grid{grid-template-columns:1fr;grid-template-areas:'search' 'catalogues' 'results' 'history'}.catalogues #coverage{grid-template-columns:repeat(5,minmax(0,1fr))}.combined-search .lookup-fields{grid-template-columns:minmax(0,1fr) auto}.catalogues{align-self:auto}}
@media(max-width:560px){.combined-search{padding:16px}.combined-search .lookup-fields{gap:8px}.combined-search .lookup-fields .primary{min-width:72px;padding-inline:12px}.combined-search .template-link{display:inline-block;margin-top:8px}.catalogues #coverage{grid-template-columns:repeat(3,minmax(0,1fr))}}

/* Results follow the original upload-toolbar reference. */
.results-panel .section-heading{align-items:center;gap:16px;margin-bottom:16px}.results-panel .result-actions{align-items:center;flex:1;justify-content:flex-end;min-width:0}.results-panel .result-tools{margin:0;flex:1;max-width:270px}.results-panel .result-tools input{max-width:none;min-height:40px;font-size:12px;padding-left:35px;border-color:#e0e5ed;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%237a8497' stroke-width='1.6'%3E%3Ccircle cx='10' cy='10' r='7'/%3E%3Cpath d='m15 15 6 6'/%3E%3C/svg%3E") 11px center/17px no-repeat}.results-panel .result-actions .secondary{background:var(--red);min-height:40px;padding:10px 14px;font-size:12px}.results-panel .result-actions .secondary::before{content:'↓';font-size:18px;line-height:1;margin-right:8px}.results-panel .result-actions .secondary:hover{background:#b22424}.results-panel h2{font-size:21px;white-space:nowrap}.results-panel .count{font-size:12px;color:#758095;font-weight:450;margin-top:6px}#result-summary:empty,.result-toolbar:not(:has(details:not([hidden]))){display:none}
#result-table{margin-top:0;max-height:none;border-radius:7px}#result-table th{background:#f4f5f8;color:#727d91;font-size:12px;font-weight:450;padding:11px 8px;border:0}#result-table td{padding:10px 8px;font-size:12px;line-height:1.35;font-weight:450;border-bottom:1px solid #e8edf3;color:#29354a}#result-table td code{font-weight:450}#result-table th:first-child{width:9%}#result-table th:nth-child(2){width:24%}#result-table th:nth-child(3){width:20%}#result-table th:nth-child(4){width:25%}#result-table tbody tr:nth-child(n){background:#fff}#result-table tbody tr:hover{background:#f7f8fa}.table-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:22px}.table-footer #filter-count{margin:0;font-size:12px;font-weight:450;color:#758095}#result-pages{display:flex;align-items:center;gap:5px}#result-pages button{min-width:30px;min-height:34px;padding:5px;background:transparent;border-radius:6px;font-size:12px;color:#68758a}#result-pages button[aria-current]{background:#f0f2f6;color:#202936;font-weight:650}#result-pages button:disabled{opacity:.35}#result-pages button:hover:not(:disabled){background:#e9edf3}
@media(max-width:1200px){.results-panel .section-heading{flex-wrap:wrap}.results-panel .result-actions{flex-basis:100%;justify-content:flex-start}.results-panel .result-tools{max-width:none}.results-panel .result-actions .secondary{flex-shrink:0}}
@media(max-width:560px){.table-footer{flex-wrap:wrap}#result-pages{gap:2px}.results-panel h2{font-size:20px}.results-panel .result-tools input{font-size:16px}.results-panel .result-actions{gap:8px}.results-panel .result-actions .secondary{padding-inline:10px}}

/* Direct page access remains compact even for very large result sets. */
.table-footer{flex-wrap:wrap;row-gap:12px}#result-pages{flex-wrap:wrap;gap:12px 18px;min-width:0}.page-numbers{display:flex;align-items:center;gap:4px}#result-pages .page-numbers button{min-width:32px;height:34px;border:1px solid transparent;font-weight:550}#result-pages .page-numbers button[aria-current]{background:#252a32;color:#fff;box-shadow:0 2px 4px #252a3214}#result-pages .page-numbers button:hover:not(:disabled):not([aria-current]){border-color:#d5dce5;background:#f1f3f6}.page-jump{display:flex;align-items:center;gap:8px;margin:0;font-size:12px;color:#68758a}.page-jump label{margin:0;font-size:12px;font-weight:500}.page-jump span{white-space:nowrap}#result-pages .page-jump input{width:54px;min-height:34px;height:34px;padding:5px;text-align:center;font-size:13px;border:1px solid #d9dfe7;border-radius:6px;background:#fff;font-weight:600;appearance:textfield}#result-pages .page-jump input::-webkit-inner-spin-button,#result-pages .page-jump input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}#result-pages .page-go{padding:6px 12px;background:#edf0f4;color:#303c4c;font-weight:600;border:1px solid #e0e5ec}#result-pages .page-go:hover{background:#e2e7ee}.page-jump input:focus-visible{outline:2px solid #8793a3;outline-offset:2px}
@media(max-width:560px){#result-pages{gap:12px}.page-numbers{gap:2px}#result-pages .page-numbers button{min-width:30px}.page-jump{flex-wrap:wrap}#result-pages .page-jump input{font-size:16px}}

/* Focus follows the actual input edge; the fixed backdrop covers the viewport. */
#oe:focus-visible,#result-filter:focus-visible,#page-number:focus-visible{outline:2px solid #8793a3;outline-offset:-2px}

/* Keep upload actions inside the drop target without nesting controls in a label. */
.combined-search .dropzone{margin-bottom:0;padding:22px 16px;gap:16px;cursor:default}.upload-target{position:relative;display:flex;flex-direction:column;align-items:center;gap:12px;width:100%;margin:0;cursor:pointer}.upload-actions{display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;width:100%}.combined-search .upload-actions #btn-upload{margin:0}.combined-search .upload-actions .template-link{margin:0}.dropzone:focus-within{outline-offset:-2px}

/* Vertical workspace, centered like the approved reference. */
.workspace{max-width:1120px;padding:28px 24px 12px}.topbar{padding-left:max(24px,calc((100% - 1072px)/2));padding-right:max(24px,calc((100% - 1072px)/2))}footer{max-width:1120px;padding-inline:24px}.content-grid{grid-template-columns:minmax(0,1fr);grid-template-areas:'search' 'results' 'history' 'catalogues';gap:20px}.results-panel{min-height:0}.results-panel .section-heading{flex-wrap:nowrap}.results-panel .result-actions{flex-basis:auto}.results-panel .result-tools{max-width:240px}.combined-search .dropzone{min-height:180px}
.content-grid:has(.results-panel[hidden]):has(.history-panel[hidden]){grid-template-areas:'search' 'catalogues';grid-template-rows:auto auto}
.content-grid:has(.results-panel[hidden]):has(.history-panel:not([hidden])){grid-template-areas:'search' 'history' 'catalogues';grid-template-rows:auto auto auto}
.history-panel .job-row{display:grid;grid-template-columns:minmax(0,1fr) 160px 100px auto;align-items:center;padding:16px 12px;border-radius:0;border-bottom:1px solid #e5e9ef;background:transparent;gap:18px}.history-panel .job-row:last-child{border-bottom:0}.history-panel .job-row.selected{background:#f7f8fa}.history-panel .job-name{font-size:13px}.history-panel .job-progress{grid-column:2;grid-row:1;font-size:12px}.history-panel .job-progress progress{height:5px;margin:7px 0 0}.history-panel .job-row>.badge{grid-column:3;grid-row:1;align-self:center;justify-self:start}.history-panel .job-actions{grid-column:4;grid-row:1;flex-wrap:nowrap;align-items:center;gap:8px}.history-panel .job-actions a,.history-panel .job-actions button{font-size:12px;min-height:34px;white-space:nowrap}.history-panel #more-jobs{width:auto;min-width:200px;margin:16px auto 0}.catalogues #coverage{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px}.catalogues .catalog-card{min-height:48px}
select.export-format{width:82px;min-height:38px;flex-shrink:0;padding:7px 26px 7px 10px;font-size:12px;background-color:#f8f9fb;border-color:#d9dfe7;background-position:right 7px center;background-size:15px}.job-actions select.export-format{min-height:34px;width:76px;font-size:11px}select.export-format:focus-visible{outline:2px solid #8793a3;outline-offset:-2px}
@media(max-width:850px){.history-panel .job-row{grid-template-columns:minmax(0,1fr) 130px auto;gap:12px}.history-panel .job-progress{grid-column:2}.history-panel .job-row>.badge{grid-column:3}.history-panel .job-actions{grid-column:1/-1;grid-row:2}.results-panel .section-heading{flex-wrap:wrap}.results-panel .result-actions{flex-basis:100%;flex-wrap:wrap}.results-panel .result-tools{max-width:none}.catalogues #coverage{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:560px){.workspace{padding:22px 16px}.topbar{padding-inline:16px}footer{padding-inline:16px}.history-panel .job-row{padding:14px 0;grid-template-columns:minmax(0,1fr) auto}.history-panel .job-row>.badge{grid-column:2;grid-row:1}.history-panel .job-progress{grid-column:1/-1;grid-row:2}.history-panel .job-actions{grid-column:1/-1;grid-row:3}.results-panel .result-tools{flex-basis:100%}}

/* Alternating rows and consistent export menus. */
#result-table tbody tr:nth-child(even){background:#eef1f5}#result-table tbody tr:nth-child(odd){background:#fff}#result-table tbody tr:hover{background:#e4eaf1}
.format-native{display:none!important}.format-native[hidden]+.format-picker{display:none}.format-picker{position:relative;flex-shrink:0}.format-trigger,.history-panel .job-actions .format-trigger{display:flex;align-items:center;justify-content:space-between;gap:14px;min-width:86px;min-height:38px;padding:8px 11px;background:#f6f8fa;border:1px solid #d6dde6;border-radius:7px;color:#354153;font-size:12px;font-weight:600}.format-trigger::after{content:'';width:6px;height:6px;border-right:1.5px solid #667388;border-bottom:1.5px solid #667388;transform:rotate(45deg);margin-top:-3px}.format-trigger[aria-expanded=true]{border-color:#8793a3;background:#eef2f6}.format-trigger[aria-expanded=true]::after{transform:rotate(225deg);margin-top:3px}.format-options{position:absolute;top:calc(100% + 6px);right:0;width:232px;max-width:calc(100vw - 40px);z-index:30;padding:5px;background:#fff;border:1px solid #dce2ea;border-radius:10px;box-shadow:0 10px 28px #1c293524}.format-options .format-option,.history-panel .job-actions .format-option{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;position:relative;width:100%;gap:2px;padding:10px 30px 10px 11px;background:#fff;color:#263243;border:0;border-radius:6px;text-align:left;white-space:normal}.format-option strong{font-size:12px}.format-option span{font-size:11px;color:#778295;font-weight:450}.format-options .format-option:hover,.format-options .format-option:focus-visible,.format-options .format-option[aria-selected=true]{background:#eef2f6;color:#263243;outline:0}.format-option[aria-selected=true]::after{content:'✓';position:absolute;right:11px;color:#546779}.format-trigger:focus-visible{outline:2px solid #8793a3;outline-offset:-2px}

/* Compact format menu; paint cells as well as rows for a clear zebra pattern. */
.format-options{width:106px;padding:4px;border-radius:8px;top:calc(100% + 4px)}.format-options .format-option,.history-panel .job-actions .format-option{min-height:30px;padding:6px 26px 6px 9px;flex-direction:row;justify-content:flex-start;align-items:center;gap:0}.format-option strong{font-size:12px;font-weight:550}
#result-table tbody tr:nth-child(even),#result-table tbody tr:nth-child(even)>td{background:#e7ebf0}#result-table tbody tr:nth-child(odd),#result-table tbody tr:nth-child(odd)>td{background:#fff}#result-table tbody tr:hover>td{background:#dce3eb}

/* Brand and source filters live in the table header and float above the scroll region. */
.column-filter-trigger{display:inline-flex;align-items:center;gap:7px;margin:-7px -8px;padding:7px 8px;background:transparent;color:inherit;font:inherit;font-weight:inherit;border:0;border-radius:5px}.column-filter-trigger::after{content:'';width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:rotate(45deg);margin-top:-3px}.column-filter-trigger:hover,.column-filter-trigger:focus-visible,.column-filter-trigger.active{background:#e5e9ef;color:#3c485b}.column-filter-trigger.active::before{content:'';width:5px;height:5px;border-radius:50%;background:var(--red)}.column-filter-menu{position:fixed;z-index:100;width:230px;max-height:min(360px,calc(100vh - 24px));padding:7px;background:#fff;border:1px solid #d7dee7;border-radius:9px;box-shadow:0 12px 32px #1c29352c;color:#263243;font-size:12px}.column-filter-actions{display:flex;justify-content:space-between;gap:8px;padding:3px 4px 7px;border-bottom:1px solid #e7ebf0}.column-filter-actions button{padding:4px;background:transparent;color:#647187;font-size:11px}.column-filter-actions button:hover,.column-filter-actions button:focus-visible{color:var(--red);text-decoration:underline}.column-filter-options{max-height:280px;overflow:auto;padding:4px 0}.column-filter-options label{display:flex;align-items:center;gap:9px;margin:0;padding:7px 6px;border-radius:5px;cursor:pointer;color:#344154;font-size:12px;white-space:normal}.column-filter-options label:hover{background:#f0f3f6}.column-filter-options input{width:15px;height:15px;margin:0;accent-color:var(--red);flex:0 0 auto}.column-filter-options span{overflow-wrap:anywhere}

/* Browser chrome may change the visible height while scrolling. Keep the
   background canvas at the large viewport height so its image never rescales. */
@media(max-width:800px),(hover:none) and (pointer:coarse){
  .workspace-backdrop{inset:0 0 auto;height:100vh;height:100lvh;background-position:center top,left top}
}

/* Compact brand identity in result rows. */
.result-brand{display:flex;align-items:center;gap:8px;min-width:0;font-weight:550}.result-brand>img{width:auto;height:23px;max-width:64px;object-fit:contain;object-position:left center;filter:grayscale(1) contrast(1.5) brightness(.72);flex:0 0 auto}.result-brand>span:last-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.result-brand img[src*='/abs.svg'],.result-brand img[src*='/apec.svg']{transform:scale(1.12);transform-origin:left center}.result-brand img[src*='/beck-arnley.svg'],.result-brand img[src*='/bendix.svg'],.result-brand img[src*='/borg-beck.svg'],.result-brand img[src*='/ebc-brakes.svg'],.result-brand img[src*='/ferodo.svg'],.result-brand img[src*='/general-motors.svg'],.result-brand img[src*='/hitachi.svg'],.result-brand img[src*='/jaguar.svg'],.result-brand img[src*='/jurid.svg'],.result-brand img[src*='/lincoln.svg'],.result-brand img[src*='/lpr.svg'],.result-brand img[src*='/nisshinbo.svg'],.result-brand img[src*='/pagid.svg'],.result-brand img[src*='/quinton-hazell.svg'],.result-brand img[src*='/remsa.svg'],.result-brand img[src*='/roadhouse.svg'],.result-brand img[src*='/textar.svg']{width:54px;object-fit:cover;object-position:center;mix-blend-mode:multiply}.result-brand img[src*='/brands/hel.png'],.result-brand img[src*='/brands/kyb.png'],.result-brand img[src*='/result-brands/ate.png'],.result-brand img[src*='/result-brands/nibk.png'],.result-brand img[src*='/result-brands/sakura.png']{mix-blend-mode:multiply}
.result-brand img[src*='/beck-arnley.svg'],.result-brand img[src*='/bendix.svg'],.result-brand img[src*='/borg-beck.svg'],.result-brand img[src*='/ebc-brakes.svg'],.result-brand img[src*='/ferodo.svg'],.result-brand img[src*='/general-motors.svg'],.result-brand img[src*='/hitachi.svg'],.result-brand img[src*='/jaguar.svg'],.result-brand img[src*='/jurid.svg'],.result-brand img[src*='/lincoln.svg'],.result-brand img[src*='/lpr.svg'],.result-brand img[src*='/nisshinbo.svg'],.result-brand img[src*='/pagid.svg'],.result-brand img[src*='/quinton-hazell.svg'],.result-brand img[src*='/remsa.svg'],.result-brand img[src*='/roadhouse.svg'],.result-brand img[src*='/textar.svg']{filter:grayscale(1) contrast(1.5)}
.catalog-card img[src$='marshall.svg']{filter:none;opacity:1}

/* Account-specific trusted catalogue settings. */
.catalogue-heading-actions{display:flex;align-items:center;gap:10px;margin-left:auto}
.catalogue-settings{display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:6px 12px;border:1px solid #c7cdd5;border-radius:7px;background:#fff;color:#303b4a;font-size:12px;font-weight:650;text-decoration:none;white-space:nowrap}
.catalogue-settings:hover,.catalogue-settings:focus-visible{border-color:var(--red);color:var(--red);background:#fff5f5}
@media(max-width:560px){.topbar nav{gap:4px}.topbar nav a{padding-inline:3px;font-size:13px}.catalogues .section-heading{align-items:center}.catalogue-heading-actions{gap:7px}.catalogue-settings{min-height:32px;padding-inline:9px}}
.catalog-card img[src$='torr.png']{filter:invert(1);opacity:.78}
/* Keep the catalogue logo grid, with supported categories listed separately below it. */
.catalogues #coverage{flex:none}
.catalogue-categories{margin-top:18px;padding-top:16px;border-top:1px solid #e4e8ed}
.catalogue-categories h3{margin:0 0 10px;color:#253041;font-size:13px;font-weight:700}
.catalogue-categories ul{display:flex;flex-wrap:wrap;gap:7px;margin:0;padding:0;list-style:none}
.catalogue-categories li{padding:6px 9px;border-radius:6px;background:#f2f4f6;color:#455164;font-size:11px;line-height:1.35}
@media(max-width:560px){.result-brand{gap:6px}.result-brand>img{width:auto;height:19px;max-width:52px}.result-brand img[src*='/beck-arnley.svg'],.result-brand img[src*='/bendix.svg'],.result-brand img[src*='/borg-beck.svg'],.result-brand img[src*='/ebc-brakes.svg'],.result-brand img[src*='/ferodo.svg'],.result-brand img[src*='/general-motors.svg'],.result-brand img[src*='/hitachi.svg'],.result-brand img[src*='/jaguar.svg'],.result-brand img[src*='/jurid.svg'],.result-brand img[src*='/lincoln.svg'],.result-brand img[src*='/lpr.svg'],.result-brand img[src*='/nisshinbo.svg'],.result-brand img[src*='/pagid.svg'],.result-brand img[src*='/quinton-hazell.svg'],.result-brand img[src*='/remsa.svg'],.result-brand img[src*='/roadhouse.svg'],.result-brand img[src*='/textar.svg']{width:44px}}

/* Admin-only, explicitly requested applicability enrichment. */
.fitment-action{min-height:30px;padding:5px 9px;border:1px solid #d7dee7;border-radius:6px;background:#fff;color:var(--red);font-size:11px;font-weight:600}.fitment-action:hover,.fitment-action:focus-visible{background:#f8eae8}.fitment-action:disabled{opacity:.55;cursor:wait}.fitment-panel{margin-top:18px;padding:20px;border:1px solid #d5dde7;border-radius:9px;background:#f8f9fb}.fitment-panel>header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.fitment-actions{display:flex;align-items:center;gap:8px}.fitment-actions .secondary{min-height:32px;padding:6px 11px;font-size:11px}.fitment-panel h3{margin:0;font-size:19px}.fitment-panel .feature-label{margin:0 0 5px;color:var(--red);font-size:9px;font-weight:700;letter-spacing:.12em}.fitment-panel #fitment-close{width:32px;height:32px;padding:0;border-radius:50%;background:#e9edf2;color:#4c5869;font-size:21px;line-height:1}.fitment-panel #fitment-close:hover{background:#dfe5eb}.fitment-panel #fitment-status{margin:12px 0}.fitment-panel #fitment-product{display:flex;align-items:baseline;gap:10px 18px;flex-wrap:wrap;margin:14px 0}.fitment-panel #fitment-product>strong{font-size:15px}.fitment-panel #fitment-product>p{margin:0;font-size:12px}.fitment-source{color:var(--red);font-size:12px;font-weight:600}.fitment-source:hover{text-decoration:underline}#fitment-table{max-height:420px;margin-top:12px;background:#fff;border-radius:7px}#fitment-table table{min-width:1050px}#fitment-table th{z-index:1}#fitment-table th,#fitment-table td{padding:9px 8px;font-size:11px}#fitment-table td:last-child{white-space:nowrap}@media(max-width:560px){.fitment-panel{padding:15px;margin-inline:-4px}.fitment-panel #fitment-product{display:grid;gap:7px}#result-table table{min-width:720px}}

/* Guest access lives in the account menu; the workspace itself stays visible. */
.guest-account .profile-name{color:#6d7480}.guest-account .profile-dropdown{width:330px;padding:18px}.guest-title{display:block;font-size:16px;font-weight:700;color:var(--ink)}.guest-copy{margin:7px 0 16px;color:var(--muted);font-size:12px;line-height:1.45}.profile-dropdown #guest-options button,.profile-dropdown #guest-options .guest-action{display:flex;align-items:center;justify-content:center;width:100%;min-height:42px;margin-top:7px;padding:10px 12px;border-radius:5px;background:#f0f2f5;color:var(--ink);text-align:center;text-decoration:none;font-weight:600}.profile-dropdown #guest-options button:hover,.profile-dropdown #guest-options button:focus-visible,.profile-dropdown #guest-options .guest-action:hover,.profile-dropdown #guest-options .guest-action:focus-visible{background:#e5e9ee;color:var(--ink)}.profile-dropdown #guest-options .guest-trial{background:var(--red);color:#fff}.profile-dropdown #guest-options .guest-trial:hover,.profile-dropdown #guest-options .guest-trial:focus-visible{background:#b22424;color:#fff}.profile-dropdown .guest-back{width:auto;padding:2px 0 10px;color:var(--muted);font-size:12px}.profile-dropdown .guest-back:hover,.profile-dropdown .guest-back:focus-visible{background:transparent;color:var(--red)}.inline-login{display:grid;gap:7px}.inline-login label{margin:0;font-size:12px;font-weight:600}.inline-login input:not([type=file]){min-height:40px;padding:8px 10px;font-size:14px}.profile-dropdown .inline-login-submit{margin-top:7px;min-height:42px;background:var(--red);color:#fff;text-align:center}.profile-dropdown .inline-login-submit:hover,.profile-dropdown .inline-login-submit:focus-visible{background:#b22424;color:#fff}.inline-login-error{margin:2px 0;color:var(--red);font-size:12px;font-weight:600}.guest-account .profile-dropdown [hidden]{display:none}
.trial-form{margin:0}.profile-dropdown .inline-login input:focus,.profile-dropdown .inline-login input:focus-visible{border-color:var(--red);outline:2px solid var(--red);outline-offset:-2px;box-shadow:none}
@media(max-width:560px){.guest-account .profile-dropdown{position:fixed;top:62px;right:16px;left:16px;width:auto;max-width:none}.guest-account .profile-name{max-width:120px}}

/* Batch uploads show progress until the user explicitly opens the table. */
.batch-progress{grid-area:results;margin:0;padding:25px 28px;border:1px solid #bcc5d0;border-radius:10px;background:#fff;box-shadow:0 2px 8px #18202c0a}
.content-grid:has(#batch-progress:not([hidden])){grid-template-areas:'search' 'results' 'history' 'catalogues'}
.batch-progress h2{margin:0 0 8px;font-size:21px}
.batch-progress .muted{margin:0 0 18px;overflow-wrap:anywhere}
.batch-progress p[role=status]{margin:0 0 10px;font-size:14px;font-weight:600}
.batch-progress progress{display:block;width:100%;height:12px;accent-color:var(--red)}
.batch-progress-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:22px}
.batch-progress-actions .secondary{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:10px 16px;border-radius:6px;text-decoration:none}
.batch-progress-actions a[aria-disabled=true]{opacity:.5;pointer-events:none}
@media(max-width:560px){.batch-progress{padding:20px 16px}.batch-progress-actions>*{flex:1 1 100%}}
