:root{--ink:var(--ml-ink);--ink-2:var(--ml-text);--muted:var(--ml-muted);--line:var(--ml-line);--line-strong:var(--ml-line-strong);--canvas:#f6f8fa;--navy:var(--ml-accent);--navy-dark:var(--ml-accent-strong);--sky:var(--ml-surface-muted);--shadow:0 1px 3px rgb(var(--ml-ink-rgb) / 0.0235)}
body{font-size:13px;-webkit-font-smoothing:antialiased;line-height:1.5}
button,input,select,textarea{font:inherit}
button{transition:background .15s,border-color .15s}
button:focus-visible,a:focus-visible{outline:3px solid var(--ml-accent-border);outline-offset:3px}
.ui-icon{width:18px;height:18px;flex:none;vertical-align:middle}
.app-shell{grid-template-columns:232px minmax(0,1fr)}
.sidebar{padding:26px 14px 16px;background:#fff;color:var(--ink);border-right:1px solid var(--line);z-index:3}
.brand{color:var(--ml-ink);font-size:23px;font-weight:750;gap:10px;padding:0 14px;line-height:1.1}
.brand small{display:block;font-size:8px;font-weight:600;letter-spacing:2.4px;color:var(--ml-muted);margin-top:7px}
.brand-mark{background:var(--ml-accent);color:white;width:36px;height:38px;border-radius:9px;font-size:23px;font-weight:750;box-shadow:0 2px 3px rgb(var(--ml-accent-rgb) / 0.0941)}
.brand-mark>span{display:none}
.workspace-card{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:7px;padding:12px 10px;margin:30px 0 25px;background:var(--ml-surface)}
.workspace-avatar{width:31px;height:31px;flex:none;background:var(--ml-surface-muted);color:var(--ml-muted);border:1px solid var(--ml-line);border-radius:7px;display:grid;place-items:center;font-weight:700;font-size:10px}
.workspace-card>div{min-width:0}.workspace-card strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:650}.workspace-card small{display:block;color:var(--muted);font-size:10px;margin-top:2px}
.workspace-label{font-size:9px;letter-spacing:1.6px;color:var(--ml-subtle);margin:0 12px 10px;font-weight:650}
.nav-list{gap:5px}.nav-item{display:flex;gap:12px;padding:11px 13px;color:var(--ml-muted);border-radius:6px;font-size:12px;font-weight:500;min-height:42px}
.nav-item:hover{background:var(--ml-surface-muted);color:var(--ink)}.nav-item.active{background:var(--ml-surface-muted);color:var(--ml-accent);box-shadow:none;font-weight:650}.nav-item.active:after{content:"";width:5px;height:5px;border-radius:50%;background:var(--ml-accent);margin-left:auto}.nav-icon{display:flex;color:inherit}
.sidebar-note{margin:auto 9px 23px;padding:18px 0 0;color:var(--ml-muted);font-size:11px}.sidebar-note>.ui-icon{color:var(--ml-muted);margin-bottom:10px}.sidebar-note strong{display:block;font-size:11px;font-weight:600;color:var(--ml-muted)}.sidebar-note p{font-size:10px;line-height:1.8;margin:6px 0 0;color:var(--ml-subtle);max-width:165px}
.sidebar-footer{margin-top:0;padding:17px 4px 0;border-color:var(--line);grid-template-columns:31px 1fr 24px;gap:8px}.sidebar-footer strong{font-size:11px;color:var(--ink)}.sidebar-footer small{font-size:10px;color:var(--muted)}.user-avatar{width:31px;height:31px;background:var(--ml-line);color:var(--ml-text);border:1px solid var(--ml-line);font-size:10px}.icon-button{padding:5px;color:var(--ml-muted);display:inline-flex;align-items:center;justify-content:center;border-radius:5px;min-width:30px;min-height:30px}.icon-button:hover{background:var(--ml-surface-muted);color:var(--ink)}
.main-content{padding:0;min-width:0}.workspace-bar{height:65px;border-bottom:1px solid var(--line);background:#fff;display:flex;align-items:center;justify-content:space-between;padding:0 32px;font-size:11px;color:var(--ml-subtle)}.workspace-bar>div{display:flex;gap:15px;align-items:center}.workspace-bar strong{font-weight:500;color:var(--ml-text)}.workspace-bar>div>span:not(.user-avatar):not(.environment-label){color:var(--ml-line-strong)}.environment-label{display:flex;align-items:center;gap:7px;color:var(--ml-muted);font-size:10px}.environment-label:before{content:"";width:5px;height:5px;border-radius:50%;background:var(--ml-accent)}
.page-content{padding:29px 32px 0;max-width:1800px;margin:0 auto}.topbar{gap:20px;align-items:center;min-height:54px}.eyebrow{font-size:9px;letter-spacing:1.5px;font-weight:650;color:var(--ml-subtle);margin-bottom:6px}h1{font-size:25px;letter-spacing:-.8px;font-weight:650;line-height:1.3}.top-actions{gap:9px}.page-description{margin:7px 0 23px;color:var(--ml-muted);font-size:12px}.page-footer{display:flex;justify-content:space-between;margin-top:34px;padding:19px 0;border-top:1px solid var(--line);font-size:10px;color:var(--ml-subtle)}.page-footer span>span{margin:0 8px}#view{margin-top:20px}#view:has(.page-description){margin-top:0}
.primary-button,.secondary-button,.text-button{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:36px;border-radius:6px;font-size:11px;font-weight:600;padding:0 13px;white-space:nowrap}.primary-button{box-shadow:0 1px 2px rgb(var(--ml-accent-rgb) / 0.1255)}.secondary-button{border-color:var(--ml-line);box-shadow:0 1px 2px rgb(var(--ml-ink-rgb) / 0.0157);background:#fff}.secondary-button:hover:not(:disabled){background:var(--ml-surface-muted);border-color:var(--ml-subtle)}.primary-button .ui-icon,.secondary-button .ui-icon{width:14px;height:14px}.compact-button{min-height:32px;padding:0 10px;font-size:10px}button:disabled{opacity:.45;cursor:not-allowed}.text-button{color:var(--ml-text)}.full{display:flex}.search{height:36px;border-radius:6px;font-size:11px}.search input{background:transparent}
.enterprise-metrics{border:0;box-shadow:none;background:none;border-radius:0;gap:16px;margin:0 0 27px;overflow:visible}.enterprise-metrics article{padding:17px 19px 15px;border:1px solid var(--line)!important;border-radius:8px;background:#fff;box-shadow:0 1px 3px rgb(var(--ml-ink-rgb) / 0.0157)}.enterprise-metrics .metric-label{display:flex;align-items:center;justify-content:space-between;gap:5px}.enterprise-metrics .metric-label span{font-size:11px;font-weight:500;text-transform:none;letter-spacing:0;color:var(--ml-muted)}.metric-label .ui-icon{color:var(--ml-subtle);width:16px;height:16px}.enterprise-metrics strong{font-size:29px;font-weight:600;margin:12px 0 3px;line-height:1.2;letter-spacing:-1px;font-variant-numeric:tabular-nums}.enterprise-metrics small{font-size:10px;color:var(--ml-subtle)}.enterprise-metrics .attention .metric-label .ui-icon{color:#c79752}
.inbox-panel{border-radius:8px;box-shadow:0 2px 6px rgb(var(--ml-ink-rgb) / 0.0157)}.inbox-title{padding:21px 22px 17px;display:flex;align-items:center;justify-content:space-between;gap:15px}.inbox-title h2{font-size:14px;font-weight:650;margin:0;display:flex;align-items:center;gap:9px}.inbox-title p{font-size:10px;color:var(--ml-subtle);margin:4px 0 0}.total-badge{border:1px solid var(--ml-line);background:var(--ml-surface-muted);color:var(--ml-muted);min-width:23px;text-align:center;border-radius:5px;font-size:10px;font-weight:500;padding:1px 6px}
.inbox-tabs{display:flex;gap:24px;border-bottom:1px solid var(--line);padding:0 22px;overflow-x:auto}.inbox-tabs button{padding:12px 1px 13px;background:none;border:0;border-bottom:2px solid transparent;font-size:11px;font-weight:500;color:var(--ml-muted);white-space:nowrap;cursor:pointer}.inbox-tabs button.active{color:var(--ml-accent);border-bottom-color:var(--ml-accent);font-weight:650}.inbox-tabs button:hover{color:var(--ml-accent)}
.queue-toolbar{display:flex;gap:9px;align-items:center;padding:16px 22px;border-bottom:1px solid var(--line);margin:0}.queue-search{display:flex;align-items:center;gap:9px;flex:0 1 375px;border:1px solid var(--ml-line);background:#fff;border-radius:6px;padding:0 11px;height:34px}.queue-search .ui-icon{color:var(--ml-subtle);width:15px;height:15px}.queue-search input{width:100%;min-width:0;border:0!important;box-shadow:none!important;outline:0!important;min-height:30px;padding:0;font-size:10px;background:transparent}.queue-search:focus-within{border-color:var(--ml-accent-border);box-shadow:0 0 0 2px rgb(var(--ml-accent-rgb) / 0.0510)}.queue-search input::placeholder{color:var(--ml-subtle)}.queue-sort{margin-left:auto;display:flex;align-items:center;gap:6px;color:var(--ml-subtle);font-size:10px;white-space:nowrap}.queue-sort .ui-icon{width:13px;height:13px}
.enterprise-table-wrap{overflow-x:auto;min-height:240px}.enterprise-table{width:100%;border-collapse:collapse;white-space:nowrap;text-align:left}.enterprise-table th{height:40px;padding:0 18px;background:#fafbfc;border-bottom:1px solid var(--line);color:var(--ml-subtle);font-size:9px;font-weight:600;letter-spacing:.2px}.enterprise-table th:first-child{padding-left:22px;min-width:225px}.enterprise-table td{padding:19px 18px;border-bottom:1px solid var(--ml-surface-muted);font-size:11px;vertical-align:middle;color:var(--ml-muted)}.enterprise-table td:first-child{padding-left:22px}.enterprise-table td:last-child{padding:0 14px}.enterprise-table tbody tr:hover{background:var(--ml-surface)}.enterprise-table td strong{font-weight:500;font-size:11px;color:var(--ml-text)}.enterprise-table td small{display:block;font-size:9px;color:var(--ml-subtle);margin-top:4px}.rfq-title{border:0;background:none;padding:0;font-size:12px;font-weight:600;color:var(--ml-ink);cursor:pointer;text-align:left}.rfq-title:hover{color:var(--ml-accent);text-decoration:underline;text-underline-offset:3px}.enterprise-table .table-reference{font-size:9px;font-variant-numeric:tabular-nums;color:var(--ml-subtle);margin-top:5px}.status{font-size:9px;font-weight:500;padding:3px 7px;border-radius:5px;display:inline-flex;gap:5px;align-items:center;border:1px solid #00000005}.status:before{content:"";width:4px;height:4px;border-radius:50%;background:currentColor}.status.violet{background:var(--ml-accent-soft);color:var(--ml-accent-strong)}.status.blue{background:#edf5fd;color:#4c89bd}.status.green{background:var(--ml-surface-muted);color:var(--ml-muted)}.due-critical{color:#c0744c}.response-label{display:inline-flex;gap:5px;align-items:center;font-size:10px;color:var(--ml-muted)}.response-label.responded{color:var(--ml-muted)}.response-label .ui-icon{width:12px;height:12px}.owner-cell{display:flex;align-items:center;font-size:10px}.mini-avatar{width:23px;height:23px;background:#edf1f6;color:#7d88a1;font-size:8px;margin-right:7px;font-weight:500}.row-open{display:grid;place-items:center;border:1px solid var(--ml-line);background:#fff;color:var(--ml-muted);border-radius:5px;width:26px;height:26px;cursor:pointer}.row-open .ui-icon{width:13px;height:13px}.row-open:hover{background:var(--ml-surface-muted);color:var(--ml-accent)}
.inbox-pagination{border-top:1px solid var(--line);padding:13px 22px;display:flex;justify-content:space-between;align-items:center;font-size:10px;color:var(--ml-subtle);background:#fff}.inbox-pagination>div{display:flex;align-items:center;gap:10px}.pagination-size{color:var(--ml-subtle);margin-left:6px}.page-number{font-size:10px;color:var(--ml-muted);min-width:35px;text-align:center}.workspace-guidance{display:flex;align-items:center;justify-content:space-between;margin-top:14px;font-size:9px;color:var(--ml-subtle);gap:12px}.workspace-guidance>span:first-child{display:flex;gap:6px;align-items:center}.workspace-guidance .ui-icon{width:12px;height:12px;color:var(--ml-subtle)}.queue-empty{padding:48px 20px;text-align:center;color:var(--ml-subtle)}.queue-empty>.ui-icon{width:29px;height:29px;color:var(--ml-subtle);margin-bottom:12px}.queue-empty h3{font-size:13px;font-weight:600;margin:0 0 5px;color:var(--ml-muted)}.queue-empty p{font-size:11px;margin:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.rfq-drawer{position:fixed;inset:0 0 0 auto;margin:0;width:610px;max-width:100%;height:100dvh;max-height:100dvh;padding:0;border:0;border-left:1px solid var(--ml-line);background:#fff;color:var(--ink);box-shadow:-18px 0 70px rgb(var(--ml-ink-rgb) / 0.1412)}.rfq-drawer[open]{display:flex;flex-direction:column}.rfq-drawer::backdrop{background:rgb(var(--ml-ink-rgb) / 0.3216);backdrop-filter:blur(2px)}.drawer-heading{padding:17px 28px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);font-size:9px;font-weight:650;letter-spacing:1.4px;color:var(--ml-muted)}.drawer-content{padding:26px 28px 30px;overflow-y:auto;flex:1}.drawer-content h2{font-size:27px;line-height:1.2;font-weight:650;letter-spacing:-.7px;margin:11px 0 7px}.drawer-content h3{font-size:12px;font-weight:650;margin:0 0 14px}.drawer-content .customer{font-size:12px;margin:0;color:var(--ml-muted)}.drawer-hero{padding-bottom:23px}.drawer-hero-meta{display:flex;align-items:center;justify-content:space-between;gap:16px}.drawer-hero-meta .status{flex:none}.drawer-workflow{padding:19px 0 5px;border-top:1px solid var(--line)}.drawer-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;font-size:10px;color:var(--ml-muted)}.drawer-section-heading>span{font-weight:650;color:var(--ml-text)}.drawer-section-heading strong{font-size:9px;font-weight:600;color:var(--ml-muted)}.drawer-facts{display:grid;grid-template-columns:145px 1fr;gap:13px 18px;font-size:11px}.drawer-facts dt{color:var(--ml-muted)}.drawer-facts dd{margin:0;color:var(--ml-text);font-weight:550;overflow-wrap:anywhere}.drawer-metrics{display:grid;grid-template-columns:1fr 1fr 1.25fr;gap:10px;margin:20px 0}.drawer-metrics article{min-width:0;padding:14px 15px;border:1px solid var(--ml-line);border-radius:9px;background:var(--ml-surface)}.drawer-metrics span,.drawer-metrics small{display:block;color:var(--ml-muted);font-size:9px}.drawer-metrics strong{display:block;margin:5px 0 2px;color:var(--ml-ink);font-size:20px;font-weight:650;line-height:1.15;letter-spacing:-.35px;overflow-wrap:anywhere}.drawer-metrics article:last-child strong{font-size:14px;letter-spacing:-.15px}.drawer-details{padding:17px 20px;border:1px solid var(--ml-line);border-radius:10px;background:#fff}.buyer-requirement-drawer .drawer-details .drawer-facts{grid-template-columns:82px minmax(0,1fr) 105px minmax(0,1fr);gap:11px 14px}.drawer-next{position:relative;background:linear-gradient(135deg,var(--ml-surface-muted),var(--ml-surface));border:1px solid var(--ml-line);padding:15px 20px;border-radius:10px;margin-top:12px}.drawer-next .section-kicker{font-size:8px;color:var(--ml-muted)}.drawer-next strong{display:block;margin-top:6px;color:var(--ml-text);font-size:13px}.drawer-next p{font-size:11px;line-height:1.55;color:var(--ml-muted);margin:4px 0 0}.drawer-actions{border-top:1px solid var(--line);padding:16px 28px;display:flex;gap:9px;justify-content:flex-end;background:#fff;box-shadow:0 -8px 24px rgb(var(--ml-ink-rgb) / 0.0314)}.drawer-actions .primary-button,.drawer-actions .secondary-button{min-height:40px}.buyer-requirement-drawer .drawer-actions .primary-button{min-width:150px}
.buyer-requirement-drawer .drawer-content{padding-top:22px}.buyer-requirement-drawer .drawer-hero{padding-bottom:17px}.buyer-requirement-drawer .drawer-workflow{padding-top:15px}.buyer-requirement-drawer .drawer-metrics{margin:14px 0}.buyer-requirement-drawer .drawer-metrics article{padding:11px 13px}.buyer-requirement-drawer .drawer-details{padding-block:14px}.buyer-requirement-drawer .drawer-next{padding-block:12px}
.panel,.request-card{box-shadow:0 1px 3px rgb(var(--ml-ink-rgb) / 0.0235);border-radius:8px}.record-head,.data-table th{font-size:10px;background:var(--ml-surface);color:var(--ml-subtle)}.record-row{font-size:12px;min-height:72px}.record-row strong{font-size:12px}.record-row small{font-size:10px}.record-row:not(.record-head):hover{background:var(--ml-surface)}.form-section h2,.document-header h2,.ocr-intro h2{font-size:19px;letter-spacing:-.4px;font-weight:600}.section-kicker{font-size:9px;letter-spacing:1.3px;color:var(--ml-muted)}.form-grid label,.item-line label,.commercial-fields label{font-size:11px;color:var(--ml-muted);font-weight:500}input,select,textarea{border-radius:5px}.data-table td{font-size:12px;padding:15px}.data-table td small{font-size:10px}.form-footer{background:var(--ml-surface);border-top:1px solid var(--line)}.request-card h2{font-size:18px}.quote-line{font-size:12px}.po-heading h2{font-size:25px}.award-bar{left:264px}.ocr-layout{gap:20px}.ocr-intro p,.ocr-privacy,.voice-box p{font-size:11px;line-height:1.8}.drop-zone{background:var(--ml-surface);border-color:var(--ml-line-strong)}.scan-icon{color:var(--ml-accent)}.ocr-empty{background:var(--ml-surface)}.login-brand{background:var(--ml-accent-strong)}.login-logo{color:#fff}.login-logo .brand-mark{background:#fff;color:var(--ml-accent-strong)}.login-brand h1{font-size:clamp(34px,4.3vw,60px);line-height:1.12}.login-brand p:not(.eyebrow){color:var(--ml-subtle)}.eyebrow.inverse{color:var(--ml-subtle)}.login-form h2{font-weight:600;font-size:29px}.security-note{font-size:11px;line-height:1.8;color:var(--ml-subtle)}.boot .brand-mark{background:var(--ml-accent)}#toast{background:var(--ml-ink)}
@media(min-width:1600px){.page-content{padding:38px 46px 0}.workspace-bar{padding:0 46px}.enterprise-table td{padding-top:22px;padding-bottom:22px}}
@media(max-width:1150px){.enterprise-metrics{gap:10px}.enterprise-metrics article{padding:15px}.page-content{padding:24px 22px 0}.workspace-bar{padding:0 22px}.queue-sort{display:none}.enterprise-table{min-width:910px}.top-actions .search{width:190px}.workspace-guidance{align-items:flex-start}.enterprise-metrics small{font-size:9px}}
@media(max-width:820px){.app-shell{grid-template-columns:1fr}.sidebar{position:relative;height:auto;flex-direction:row;align-items:center;gap:20px;padding:13px 16px;border-right:0;border-bottom:1px solid var(--line)}.sidebar .brand{padding:0;font-size:20px}.sidebar .brand small{display:none}.sidebar .brand-mark{width:30px;height:32px;font-size:19px}.workspace-card,.workspace-label,.sidebar-note,.sidebar-footer{display:none}.nav-list{display:flex;gap:5px;overflow:auto;margin-left:auto}.nav-item{width:auto;white-space:nowrap;min-height:34px;padding:8px 10px;font-size:11px}.nav-item.active:after{display:none}.nav-icon{display:none}.workspace-bar{height:48px}.page-content{padding:22px 18px 0}.enterprise-metrics{grid-template-columns:repeat(4,minmax(0,1fr))}.enterprise-metrics .metric-label span{font-size:10px}.metric-label .ui-icon{display:none}.enterprise-metrics strong{font-size:25px}.enterprise-metrics small{font-size:9px}.page-footer{margin-top:25px}.award-bar{left:16px}.topbar{align-items:center}}
@media(max-width:560px){.sidebar{gap:12px}.sidebar .brand>span:last-child{display:none}.nav-list{max-width:calc(100vw - 75px)}.workspace-bar{padding:0 16px}.workspace-bar-right .environment-label{display:none}.page-content{padding:23px 14px 0}.topbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap}h1{font-size:23px}.eyebrow{font-size:8px}.top-actions{margin:0;justify-content:flex-start;flex-wrap:wrap}.secondary-button{display:inline-flex}.page-description{font-size:11px;line-height:1.7;margin:11px 0 20px}.enterprise-metrics{grid-template-columns:1fr 1fr;gap:10px;margin-bottom:20px}.enterprise-metrics article{padding:14px}.enterprise-metrics strong{font-size:28px}.enterprise-metrics .metric-label span{font-size:11px}.enterprise-metrics small{font-size:9px}.inbox-title{padding:17px 14px}.inbox-title h2{font-size:13px}.inbox-title p{font-size:9px}.inbox-tabs{padding:0 14px;gap:22px}.inbox-tabs button{font-size:10px}.queue-toolbar{padding:13px 14px;flex-wrap:wrap}.queue-search{flex:1 1 200px}.queue-search input{font-size:10px}.enterprise-table-wrap{min-height:205px}.inbox-pagination{padding:13px 14px;gap:12px;flex-direction:column;align-items:flex-start}.inbox-pagination>div{align-self:flex-end}.workspace-guidance{font-size:9px;line-height:1.7}.workspace-guidance>span:last-child{display:none}.page-footer>span:last-child{display:none}.drawer-actions{padding:16px}.drawer-content{padding:22px}.drawer-facts{grid-template-columns:110px 1fr}.search{width:100%!important}.login-form-wrap{padding:24px}.top-actions .primary-button,.top-actions .secondary-button{min-height:34px}.brand-mark>span{display:none!important}}
.view-loading{min-height:260px;display:flex;align-items:center;justify-content:center;gap:10px;color:var(--ml-muted);font-size:12px}
.enterprise-table th{font-size:11px;color:var(--ml-muted)}.enterprise-table td{font-size:12px}.enterprise-table td strong{font-size:12px}.enterprise-table td small,.enterprise-table .table-reference{font-size:10px;color:var(--ml-muted)}.enterprise-table .status{font-size:10px}.rfq-title{font-size:13px}.owner-cell,.response-label{font-size:11px}.inbox-title p,.queue-sort,.inbox-pagination{font-size:11px;color:var(--ml-muted)}.queue-search input{font-size:11px}.enterprise-metrics small{color:var(--ml-muted)}.page-description{color:var(--ml-muted)}.workspace-guidance{color:var(--ml-muted)}.inbox-tabs button{color:var(--ml-muted)}.drawer-facts dt,.drawer-next p{color:var(--ml-muted)}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Requirement tracking, live product discovery and targeted vendor invitations. */
.process-stepper{display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:0;margin:0 0 22px;padding:20px 22px;background:#fff;border:1px solid var(--line);border-radius:8px;overflow:auto}.process-stepper>div{position:relative;display:grid;grid-template-columns:30px 1fr;grid-template-rows:auto auto;column-gap:9px;min-width:105px;color:var(--ml-subtle)}.process-stepper>div:before{content:"";position:absolute;height:2px;background:var(--ml-line);left:-50%;right:calc(100% - 15px);top:14px}.process-stepper>div:first-child:before{display:none}.process-stepper span{grid-row:1/3;position:relative;z-index:1;width:29px;height:29px;border:1px solid var(--ml-line);background:#fff;border-radius:50%;display:grid;place-items:center;font-size:10px}.process-stepper b{font-size:11px;font-weight:600;color:var(--ml-muted);white-space:nowrap}.process-stepper small{font-size:9px;margin-top:3px}.process-stepper .complete:before,.process-stepper .current:before{background:var(--ml-muted)}.process-stepper .complete span{background:var(--ml-surface-muted);border-color:var(--ml-accent-border);color:var(--ml-accent)}.process-stepper .current span{background:var(--ml-accent);border-color:var(--ml-accent);color:white;box-shadow:0 0 0 4px var(--ml-accent-soft)}.process-stepper .current b{color:var(--ml-accent)}.rfq-drawer .process-stepper{grid-template-columns:repeat(6,minmax(0,1fr));padding:16px 0 10px;border:0;border-radius:0;margin:9px 0 0;overflow:visible}.rfq-drawer .process-stepper.vendor-process{grid-template-columns:repeat(5,minmax(0,1fr))}.rfq-drawer .process-stepper>div{display:flex;align-items:center;flex-direction:column;gap:7px;min-width:0;text-align:center}.rfq-drawer .process-stepper>div:before{left:-50%;right:50%}.rfq-drawer .process-stepper b{font-size:8px;line-height:1.25;white-space:normal}.rfq-drawer .process-stepper small{display:none}
.product-discovery>p:not(.section-kicker){margin:-10px 0 18px;color:var(--ml-muted);font-size:11px}.product-search-bar{display:grid;grid-template-columns:1fr auto;gap:10px}.product-results{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:15px}.product-search-state{grid-column:1/-1;padding:22px;border:1px dashed var(--line-strong);border-radius:7px;color:var(--ml-muted);text-align:center;font-size:11px}.product-search-state.error{color:#9b443b;background:#fff5f3}.product-result{display:grid;grid-template-columns:76px 1fr auto;gap:13px;align-items:center;padding:13px;border:1px solid var(--ml-line);border-radius:8px;background:var(--ml-surface)}.product-result img,.product-placeholder{width:76px;height:76px;object-fit:contain;border-radius:6px;background:var(--ml-surface-muted);display:grid;place-items:center;color:var(--ml-muted);font-size:25px}.product-result span,.product-result small,.product-result a{display:block;font-size:9px;color:var(--ml-muted)}.product-result h3{font-size:12px;margin:4px 0;color:var(--ml-text)}.product-result p{font-size:10px;line-height:1.5;color:var(--ml-muted);margin:0 0 5px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.product-result a{margin-top:5px;color:var(--ml-accent);text-decoration:none}.product-result button{font-size:10px;padding:8px 10px;white-space:nowrap}.item-line{position:relative}.item-line:has(.bom-thumb:not([hidden])){padding-left:82px}.bom-thumb{position:absolute;left:36px;top:18px;width:39px;height:39px;object-fit:contain;border-radius:5px;background:white;border:1px solid var(--line)}.bom-source{position:absolute;right:52px;top:5px;color:var(--ml-accent);font-size:9px;text-decoration:none}.bom-item-cell{display:flex;align-items:flex-start;gap:10px;min-width:250px}.bom-item-cell img{width:46px;height:46px;object-fit:contain;border-radius:5px;border:1px solid var(--line)}.bom-item-cell strong,.bom-item-cell small,.bom-item-cell a{display:block}.bom-item-cell a,.requested-item a{font-size:9px;color:var(--ml-accent);text-decoration:none;margin-top:5px}.quote-item-thumb{float:left;width:40px;height:40px;object-fit:contain;margin:0 9px 6px 0;border:1px solid var(--line);border-radius:4px}
.vendor-picker{width:min(920px,calc(100% - 28px));max-height:88dvh;padding:0;border:0;border-radius:10px;box-shadow:0 25px 90px rgb(var(--ml-accent-rgb) / 0.2706)}.vendor-picker::backdrop{background:rgb(var(--ml-ink-rgb) / 0.4392);backdrop-filter:blur(2px)}.vendor-picker form{display:flex;flex-direction:column;max-height:88dvh}.vendor-picker header,.vendor-picker footer{padding:20px 24px;display:flex;justify-content:space-between;align-items:center;gap:16px;border-bottom:1px solid var(--line)}.vendor-picker header h2{margin:5px 0;font-size:21px}.vendor-picker header p:not(.section-kicker){margin:0;font-size:11px;color:var(--ml-muted)}.vendor-picker-filters{display:grid;grid-template-columns:220px 1fr auto;gap:12px;padding:16px 24px;background:var(--ml-surface)}.vendor-picker-filters label{font-size:10px;color:var(--ml-muted)}.vendor-options{padding:12px 24px;overflow:auto;display:grid;grid-template-columns:1fr 1fr;gap:10px}.vendor-options>label{display:grid;grid-template-columns:18px 1fr;gap:10px;padding:15px;border:1px solid var(--line);border-radius:7px;cursor:pointer}.vendor-options>label:has(input:checked){border-color:var(--ml-accent-border);background:var(--ml-surface-muted)}.vendor-options input{width:16px;height:16px;min-height:16px;accent-color:var(--ml-accent)}.vendor-options strong,.vendor-options small,.vendor-options em{display:block}.vendor-options strong{font-size:12px}.vendor-options small,.vendor-options em,.zone-list{font-size:9px;color:var(--ml-muted);margin-top:4px;font-style:normal}.vendor-options .zone-list{grid-column:2}.vendor-picker footer{border-top:1px solid var(--line);border-bottom:0}.vendor-picker footer>span{font-size:11px;color:var(--ml-muted)}.vendor-picker footer>div{display:flex;gap:9px}
@media(max-width:900px){.product-results,.vendor-options{grid-template-columns:1fr}.process-stepper{grid-template-columns:repeat(6,120px)}.vendor-picker-filters{grid-template-columns:1fr 1fr}.vendor-picker-filters button{grid-column:1/-1}.product-result{grid-template-columns:64px 1fr}.product-result img,.product-placeholder{width:64px;height:64px}.product-result button{grid-column:2;justify-self:start}}
@media(max-width:560px){.product-search-bar{grid-template-columns:1fr}.product-search-bar .secondary-button{display:block}.product-result{grid-template-columns:50px 1fr}.product-result img,.product-placeholder{width:50px;height:50px}.vendor-picker-filters{grid-template-columns:1fr}.vendor-picker header,.vendor-picker footer{padding:16px}.vendor-picker footer{align-items:flex-start;flex-direction:column}.vendor-options{padding:10px 16px}.rfq-drawer .process-stepper{grid-template-columns:repeat(6,88px);overflow-x:auto}.rfq-drawer .process-stepper.vendor-process{grid-template-columns:repeat(5,88px)}.drawer-metrics{grid-template-columns:1fr 1fr}.drawer-metrics article:last-child{grid-column:1/-1}.buyer-requirement-drawer .drawer-details .drawer-facts{grid-template-columns:110px 1fr}.drawer-actions{padding:14px;display:grid;grid-template-columns:1fr 1fr}.drawer-actions .primary-button,.drawer-actions .secondary-button{width:100%;padding-inline:8px}}
.process-stepper.vendor-process{grid-template-columns:repeat(5,minmax(100px,1fr))}
.commercial-heading{display:flex;justify-content:space-between;gap:24px;padding:24px;border-bottom:1px solid var(--line)}.commercial-heading h2{margin:10px 0 6px;font-size:21px;font-weight:600;letter-spacing:-.4px}.commercial-heading p{font-size:12px;color:var(--ml-muted);margin:0}.commercial-heading>div:last-child{text-align:right}.commercial-heading small{display:block;color:var(--ml-muted);font-size:10px;margin-top:8px}.commercial-heading strong{display:block;margin-top:7px;font-size:24px;color:var(--ml-accent)}.commercial-notice{padding:15px 24px;background:var(--ml-surface-muted);color:var(--ml-muted);font-size:12px}.quote-fields{border:0;padding:0;margin:0;min-width:0}.commercial-terms{padding:24px;display:grid;grid-template-columns:repeat(6,minmax(90px,1fr));gap:15px;background:var(--ml-surface)}.commercial-terms label,.commercial-bottom label,.counter-panel label{font-size:11px;color:var(--ml-muted);display:flex;flex-direction:column;gap:7px;font-weight:500}.commercial-terms input,.commercial-terms select{min-width:0;width:100%;font-size:12px;background:#fff}
.commercial-table-wrap{overflow:auto}.commercial-table{border-collapse:collapse;width:100%;min-width:1290px}.commercial-table th{background:var(--ml-surface-muted);font-size:10px;font-weight:500;color:var(--ml-muted);text-align:left;padding:12px;border-bottom:1px solid var(--line)}.commercial-table td{padding:15px 9px;font-size:11px;border-bottom:1px solid var(--ml-line);vertical-align:middle}.commercial-table th:first-child,.commercial-table td:first-child{padding-left:20px}.commercial-table td:nth-child(2){min-width:200px}.commercial-table td:nth-child(4){min-width:180px}.commercial-table td:nth-child(5){min-width:110px}.commercial-table td:nth-child(6){min-width:105px}.commercial-table td:nth-child(7){min-width:75px}.commercial-table td:nth-child(8){min-width:70px}.commercial-table td:nth-child(n+9){white-space:nowrap}.commercial-table input:not([type=checkbox]),.commercial-table select{width:100%;min-width:50px;padding:7px;min-height:34px;border:1px solid var(--ml-line);font-size:11px}.commercial-table input[type=checkbox]{accent-color:var(--ml-accent);width:15px;height:15px;min-height:15px}.requested-item strong{display:block;font-size:12px;color:var(--ml-text);font-weight:600}.requested-item small{display:block;font-size:10px;color:var(--ml-subtle);margin-top:3px}.requested-item>b{font-size:11px;color:var(--ml-text);display:block;margin-top:7px;font-weight:500}.not-available td:not(:nth-child(3)){opacity:.55}.extra-line{background:#fffcf1}.extra-quantity{display:flex;gap:7px;margin-top:6px}.extra-quantity input{max-width:80px}.line-total{font-weight:650;color:var(--ml-text)}.commercial-add{padding:11px 18px;display:flex;align-items:center;gap:18px;border-bottom:1px solid var(--line)}.commercial-add>span{font-size:10px;color:var(--ml-subtle)}.commercial-bottom{padding:24px;display:grid;grid-template-columns:1fr 330px;gap:70px}.quote-breakdown{display:grid;grid-template-columns:1fr auto;gap:10px;font-size:12px;margin:0}.quote-breakdown dt{color:var(--ml-muted)}.quote-breakdown dd{margin:0;text-align:right;font-variant-numeric:tabular-nums;color:var(--ml-text)}.quote-breakdown .grand-total{border-top:1px solid var(--line);padding-top:12px;margin-top:6px;color:var(--ml-accent-strong);font-weight:600;font-size:16px}.quote-submit-bar{border-top:1px solid var(--line);padding:18px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px;background:var(--ml-surface)}.quote-submit-bar>div:last-child{display:flex;gap:8px;align-items:center}.quote-submit-bar>div>small{display:block;font-size:9px;color:var(--ml-subtle);margin-top:4px}.quote-submit-bar>div>span{font-size:11px;font-weight:500;color:var(--ml-muted)}.quote-mobile-controls{display:none}
.award-options{display:grid;grid-template-columns:1fr 1fr 1.1fr;gap:16px;margin-bottom:24px}.award-option{background:#fff;border:1px solid var(--line);border-radius:8px;padding:21px;position:relative}.award-option>span{font-size:9px;letter-spacing:1.2px;color:var(--ml-muted)}.award-option>strong{display:block;margin:12px 0 5px;font-size:26px;font-weight:600;letter-spacing:-.7px}.award-option p{font-size:11px;color:var(--ml-muted);margin:0 0 6px}.award-option small{display:block;color:var(--ml-muted);font-size:10px;line-height:1.6;min-height:32px}.award-option button{margin-top:15px}.award-option.suggested{border-color:var(--ml-subtle);background:var(--ml-surface)}.split-explanation{padding:20px 15px}.split-explanation h2{font-size:19px;color:var(--ml-text);margin:12px 0}.split-explanation p{font-size:11px;line-height:1.8;color:var(--ml-muted)}.split-explanation small{color:var(--ml-muted);font-size:10px;line-height:1.6}.comparison-table th{vertical-align:top;padding:18px;min-width:200px}.comparison-table th small{margin-top:7px;font-size:10px;color:var(--ml-muted)}.comparison-table td{padding:18px;vertical-align:top}.comparison-table td .offer input{accent-color:var(--ml-accent)}.comparison-table tfoot{background:var(--ml-surface)}.comparison-table tfoot td{font-weight:600}.negotiate-link{border:0;background:none;padding:6px 0 0 27px;font-size:10px;color:var(--ml-muted);cursor:pointer}.negotiate-link:hover{text-decoration:underline}.award-review{display:grid;grid-template-columns:1fr 1fr;gap:35px;padding:25px;margin-top:22px}.award-review h2{font-size:17px;font-weight:600}.award-review p{font-size:11px;color:var(--ml-muted)}.award-review label{font-size:11px;color:var(--ml-muted);display:flex;flex-direction:column;gap:9px}.award-group{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:15px 0;border-bottom:1px solid var(--line);font-size:12px}.award-group strong{font-weight:600}.award-group small{display:block;color:var(--ml-muted);margin-top:4px;font-size:10px}.award-group b{font-weight:600;white-space:nowrap;color:var(--ml-text)}.award-final{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-top:24px}.award-final>span{font-size:10px;color:var(--ml-muted)}.award-final strong{display:block;font-size:23px;color:var(--ml-text);letter-spacing:-.5px;margin-top:6px}.extras-selection{padding:24px;margin-top:20px}.extras-selection h3{font-size:15px}.extras-selection>p{font-size:11px;color:var(--ml-muted)}.extras-selection label{display:flex;align-items:center;gap:12px;padding:12px;background:#fffdf5;border:1px solid #ebe7d5;border-radius:6px;margin-top:9px;font-size:12px}.extras-selection small{display:block;font-size:10px;color:var(--ml-muted);margin-top:4px}.extras-selection input{width:15px;min-height:15px;accent-color:var(--ml-accent)}.award-complete{padding:28px}.award-complete h2{font-size:23px;margin:15px 0 8px}.award-complete>p{font-size:12px;color:var(--ml-muted)}
.negotiation-layout{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:24px}.thread-messages{padding:24px}.thread-message{padding:18px;border:1px solid var(--ml-line);border-radius:8px;background:var(--ml-surface);margin-bottom:16px}.thread-message.vendor-message{background:var(--ml-surface-muted);border-color:var(--ml-accent-soft)}.thread-message>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:11px}.thread-message>div>span{color:var(--ml-muted);font-size:10px}.thread-message time{margin-left:auto;font-size:9px;color:var(--ml-subtle)}.thread-message>b{display:block;margin:15px 0 7px;font-size:18px;color:var(--ml-text);font-weight:550}.thread-message p{margin:0;font-size:12px;line-height:1.8;color:var(--ml-muted);white-space:pre-wrap}.counter-panel{padding:23px;height:fit-content}.counter-panel h2{font-size:17px}.counter-panel>p{font-size:11px;line-height:1.7;color:var(--ml-muted)}.counter-panel form{margin-top:25px}.counter-panel label{margin-top:16px}.performance-card{padding:28px}.performance-card h2{font-size:34px;font-weight:600;margin:16px 0 8px;color:var(--ml-text)}.performance-card p{font-size:12px;color:var(--ml-muted)}.po-delivery{display:flex;gap:28px;margin:0 0 25px;padding:18px;background:var(--ml-surface);border:1px solid var(--ml-line);border-radius:7px;align-items:center}.po-delivery small,.po-delivery strong{display:block;font-size:10px;color:var(--ml-muted)}.po-delivery strong{font-size:12px;font-weight:500;color:var(--ml-text);margin-top:6px}.po-delivery button{margin-left:auto}.pdf-button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:40px;padding:0 16px;border:1px solid #9a742f;border-radius:7px;background:linear-gradient(135deg,var(--ml-accent-strong),var(--ml-accent-strong));box-shadow:0 7px 18px rgb(var(--ml-accent-rgb) / 0.1412);color:#fff;font:600 11px/1 inherit;white-space:nowrap;cursor:pointer}@media(hover:hover) and (pointer:fine){.pdf-button:hover{box-shadow:0 9px 22px rgb(var(--ml-accent-rgb) / 0.1882)}}.pdf-button:disabled{opacity:.68;transform:none;cursor:wait}.pdf-button .ui-icon{width:16px;height:16px;color:#e8cb91}.button-spinner{width:14px;height:14px;border:2px solid #ffffff55;border-top-color:#fff;border-radius:50%;animation:pdf-spin .75s linear infinite}@keyframes pdf-spin{to{transform:rotate(360deg)}}
@media(max-width:1100px){.commercial-terms{grid-template-columns:repeat(3,1fr)}.award-options{grid-template-columns:1fr 1fr}.split-explanation{grid-column:1/-1;padding:10px 0}.split-explanation h2{margin:6px 0}.commercial-bottom{gap:25px;grid-template-columns:1fr 270px}.award-review{grid-template-columns:1fr}.negotiation-layout{grid-template-columns:1fr}.po-delivery{flex-wrap:wrap}}
@media(max-width:650px){.commercial-heading{padding:18px;flex-direction:column;gap:10px}.commercial-heading>div:last-child{text-align:left}.commercial-terms{padding:18px;grid-template-columns:1fr 1fr;gap:12px}.commercial-table-wrap{overflow:visible}.commercial-table{min-width:0;display:block}.commercial-table thead{display:none}.commercial-table tbody{display:block}.commercial-table tr{display:none;padding:15px;grid-template-columns:1fr 1fr;gap:12px}.commercial-table tr.mobile-active{display:grid}.commercial-table td{min-width:0!important;padding:0!important;border:0;display:block}.commercial-table td:nth-child(1){display:none}.commercial-table td:nth-child(2),.commercial-table td:nth-child(4){grid-column:1/-1}.commercial-table td:nth-child(3):before{content:'Available';margin-right:12px}.commercial-table td:nth-child(5):before{content:'Match type'}.commercial-table td:nth-child(6):before{content:'Unit rate ₹'}.commercial-table td:nth-child(7):before{content:'Discount %'}.commercial-table td:nth-child(8):before{content:'GST %'}.commercial-table td:nth-child(9):before{content:'Taxable: '}.commercial-table td:nth-child(10):before{content:'GST: '}.commercial-table td:nth-child(11):before{content:'Line total: '}.commercial-table td:before{font-size:10px;color:var(--ml-muted);display:inline-block;margin-bottom:5px}.commercial-table td:nth-child(11){grid-column:1/-1;font-size:18px}.commercial-table input:not([type=checkbox]),.commercial-table select{font-size:14px;min-height:40px}.quote-mobile-controls{display:flex;align-items:center;justify-content:space-between;padding:12px 15px;background:var(--ml-surface-muted);font-size:10px;color:var(--ml-text)}.commercial-add{flex-direction:column;align-items:flex-start;gap:4px}.commercial-bottom{grid-template-columns:1fr;padding:18px}.quote-submit-bar{padding:15px;flex-direction:column;align-items:stretch;gap:12px}.quote-submit-bar>div:last-child{justify-content:space-between;flex-wrap:wrap}.quote-submit-bar .text-button{font-size:10px}.award-options{gap:10px}.award-option{padding:15px}.award-option>strong{font-size:20px}.award-option>p{font-size:10px}.award-option button{font-size:10px;white-space:normal;min-height:37px}.award-review{padding:18px;gap:20px}.award-final{flex-wrap:wrap}.award-complete{padding:20px}.award-group{flex-wrap:wrap}.thread-messages{padding:16px}.thread-message{padding:15px}.thread-message time{margin-left:0}.po-delivery{gap:15px}.po-delivery button{margin-left:0}}
@media print{body{background:white}.sidebar,.workspace-bar,.topbar,.page-footer,.po-delivery button,.approval-note,.search,#toast{display:none!important}.app-shell{display:block}.main-content,.page-content{padding:0}.panel.po-document{border:0;box-shadow:none;padding:15px}.po-document .data-table{width:100%;min-width:0}.po-parties{grid-template-columns:1fr 1fr}.po-heading{grid-template-columns:1fr}.po-total,.po-delivery{break-inside:avoid}}
.comparison-table .offer small{min-height:0;margin:5px 0}.comparison-table .offer input{width:16px;height:16px;padding:0;margin:4px 0 0}.comparison-table td{padding:14px 18px}.commercial-table-wrap{max-height:65vh}.commercial-table thead th{position:sticky;top:0;z-index:1}.commercial-table td:nth-child(2),.commercial-table th:nth-child(2){position:sticky;left:0;background:#fff;z-index:1;border-right:1px solid var(--ml-line)}.commercial-table th:nth-child(2){z-index:2;background:var(--ml-surface-muted)}.commercial-table .extra-line td:nth-child(2){background:#fffcf1}
@media(max-width:650px){.commercial-table-wrap{max-height:none}.commercial-table td:nth-child(2){position:static;border:0}}

/* Procurement-quality product discovery. */
.product-search-hint{display:flex;justify-content:space-between;gap:12px;margin-top:9px;color:var(--ml-muted);font-size:9px}
.product-results-summary{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;padding:2px 1px;color:var(--ml-muted);font-size:10px}.product-results-summary strong{font-size:11px;color:var(--ml-text)}.product-results-summary span{font-variant-numeric:tabular-nums}
.product-search-state strong,.product-search-state small{display:block}.product-search-state strong{font-size:12px;color:var(--ml-text);margin-bottom:5px}.product-search-state small{color:var(--ml-muted);line-height:1.6}
.product-search-loading{padding:30px}.search-spinner{display:block;width:22px;height:22px;margin:0 auto 11px;border:2px solid var(--ml-line);border-top-color:var(--ml-accent);border-radius:50%;animation:product-spin .8s linear infinite}.product-search-loading b{font-variant-numeric:tabular-nums;color:var(--ml-muted)}
@keyframes product-spin{to{transform:rotate(360deg)}}
.product-image-frame{position:relative;width:76px;height:76px;border:1px solid var(--ml-line);border-radius:7px;background:var(--ml-surface-muted);overflow:hidden}.product-image-frame img{width:100%;height:100%;display:block;object-fit:contain;background:#fff}.product-image-frame .product-placeholder{display:none;width:100%;height:100%;padding:7px;text-align:center;place-content:center;background:linear-gradient(145deg,var(--ml-surface-muted),var(--ml-surface));color:var(--ml-muted)}.product-image-frame .product-placeholder b{display:block;font-size:18px;line-height:1}.product-image-frame .product-placeholder small{display:block;font-size:7px;margin-top:7px;color:var(--ml-muted)}.product-image-frame.image-missing img{display:none}.product-image-frame.image-missing .product-placeholder{display:grid}
.product-result-copy{min-width:0}.product-result-meta{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.product-result-meta>span:not(.match-badge){overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:260px}.match-badge{display:inline-flex!important;padding:2px 6px;border-radius:10px;background:#fff7df;color:#8a6a25!important;border:1px solid #f1e1ad;font-weight:650}.match-badge.strong{background:var(--ml-surface-muted);color:var(--ml-accent)!important;border-color:var(--ml-accent-border)}
.product-facts{display:flex;gap:6px;flex-wrap:wrap;margin:7px 0}.product-facts span{padding:3px 7px;border:1px solid var(--ml-line);border-radius:4px;background:#fff;color:var(--ml-muted)!important}.product-facts b{color:var(--ml-text);font-weight:650}.matched-terms{display:flex;gap:4px;flex-wrap:wrap}.matched-terms small{padding:1px 5px;border-radius:3px;background:var(--ml-surface-muted);color:var(--ml-muted)!important}
@media(max-width:900px){.product-image-frame{width:64px;height:64px}}
@media(max-width:560px){.product-search-hint{flex-direction:column;gap:2px}.product-results-summary{align-items:flex-start;flex-direction:column;gap:3px}.product-image-frame{width:50px;height:50px}.product-image-frame .product-placeholder small{display:none}}

/* Public vendor registration. */
.auth-switch{display:flex;align-items:center;justify-content:center;gap:5px;margin-top:18px;color:var(--ml-muted);font-size:11px}.auth-switch .text-button{padding:0 3px;min-height:28px;border:0;background:none;color:var(--ml-accent)}.auth-back{border:0;background:none;color:var(--ml-muted);font-size:11px;padding:0;margin:0 0 22px;cursor:pointer}.signup-page{grid-template-columns:minmax(390px,.86fr) minmax(570px,1.14fr)}.registration-form-wrap{align-items:start;overflow-y:auto}.vendor-register-form{width:min(620px,100%);padding:22px 0}.vendor-register-form .form-intro{margin-bottom:22px;line-height:1.7}.auth-form-grid{display:grid;gap:15px 17px}.auth-form-grid.two{grid-template-columns:1fr 1fr}.auth-form-grid .wide{grid-column:1/-1}.vendor-register-form .auth-form-grid label{margin-top:0;position:relative}.optional{position:absolute;right:0;color:var(--ml-subtle);font-size:9px;font-weight:500}.password-guidance{margin:9px 0 16px;color:var(--ml-muted);font-size:10px}.registration-consent{display:grid!important;grid-template-columns:17px 1fr;gap:10px!important;align-items:start;line-height:1.6!important;font-weight:500!important;color:var(--ml-muted)!important}.registration-consent input{width:16px;height:16px;min-height:16px;padding:0;margin-top:2px;accent-color:var(--ml-accent)}.registration-notice{display:grid;gap:3px;margin:16px 0 0;padding:12px 14px;border:1px solid var(--ml-line);border-radius:6px;background:var(--ml-surface-muted);color:var(--ml-muted);font-size:10px;line-height:1.55}.registration-notice strong{font-size:11px;color:var(--ml-text)}.registration-steps{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:17px 28px;max-width:620px;margin:0;padding:0;list-style:none}.registration-steps li{display:grid;grid-template-columns:30px 1fr;gap:10px;align-items:center;color:var(--ml-muted)}.registration-steps li>span{width:30px;height:30px;border:1px solid var(--ml-muted);border-radius:50%;display:grid;place-items:center;font-size:10px}.registration-steps strong,.registration-steps small{display:block}.registration-steps strong{font-size:11px;color:var(--ml-line-strong)}.registration-steps small{margin-top:2px;font-size:9px;color:var(--ml-muted)}.registration-steps .active>span{border-color:var(--ml-accent-border);background:var(--ml-surface-muted);color:var(--ml-accent-strong)}.registration-steps .active strong{color:#fff}
@media(max-width:980px){.signup-page{grid-template-columns:1fr}.registration-form-wrap{min-height:100vh}}
@media(max-width:560px){.auth-form-grid.two{grid-template-columns:1fr}.auth-form-grid .wide{grid-column:auto}.vendor-register-form{padding:4px 0 28px}.registration-form-wrap{padding:22px}.auth-back{margin-bottom:14px}}

/* Complete public empanelment application. */
.signup-page{grid-template-columns:minmax(300px,.65fr) minmax(0,1.35fr)}.signup-page .registration-brand{position:sticky;top:0;align-self:start;height:100vh;min-height:100vh}.signup-page .registration-brand h1{font-size:clamp(32px,3.7vw,52px)}.vendor-register-form{width:min(760px,100%)}.registration-form-wrap{padding-block:24px 50px}.registration-section{min-width:0;margin:0 0 18px;padding:19px;border:1px solid var(--ml-line);border-radius:8px;background:var(--ml-surface)}.registration-section legend{display:flex;align-items:center;gap:8px;padding:0 7px;color:var(--ml-text);font-size:12px;font-weight:650}.registration-section legend span{display:grid;place-items:center;width:24px;height:24px;border-radius:6px;background:var(--ml-surface-muted);color:var(--ml-accent);font-size:9px}.auth-form-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.auth-form-grid.three .wide{grid-column:1/-1}.registration-section textarea{min-height:64px}.registration-help{margin:12px 0 0;color:var(--ml-muted);font-size:10px;line-height:1.6}.application-documents{display:grid;grid-template-columns:1fr 1fr;gap:12px}.application-documents label{margin:0!important;padding:14px;border:1px dashed var(--ml-line-strong);border-radius:7px;background:#fff}.application-documents strong,.application-documents span{display:block}.application-documents strong{color:var(--ml-text);font-size:11px}.application-documents span{margin:4px 0 10px;color:var(--ml-muted);font-size:9px}.application-documents input{min-height:38px;padding:6px;background:var(--ml-surface);font-size:10px}.registration-honeypot{position:absolute!important;left:-10000px!important;width:1px!important;height:1px!important;opacity:0!important}.application-success .success-mark{display:grid;place-items:center;width:54px;height:54px;margin-bottom:24px;border-radius:50%;background:var(--ml-surface-muted);color:var(--ml-accent);font-size:24px}.application-success>p{color:var(--ml-muted);line-height:1.75}.application-success>p strong{color:var(--ml-text)}
@media(max-width:1100px){.signup-page{grid-template-columns:1fr}.auth-form-grid.three{grid-template-columns:1fr 1fr}.registration-brand{display:none}.registration-form-wrap{min-height:100vh}}
@media(max-width:620px){.auth-form-grid.three,.application-documents{grid-template-columns:1fr}.registration-section{padding:15px 13px}.registration-form-wrap{padding:20px 14px}.vendor-register-form{padding:4px 0 28px}}

/* Premium commercial decision system. */
:root{--canvas:var(--ml-surface-muted);--ink:var(--ml-ink);--ink-2:var(--ml-text);--line:var(--ml-line);--line-strong:var(--ml-line-strong);--navy:var(--ml-accent-strong);--navy-dark:var(--ml-accent-strong);--gold:#b78a3a;--shadow:0 1px 2px rgb(var(--ml-accent-rgb) / 0.0392),0 14px 34px rgb(var(--ml-accent-rgb) / 0.0627)}
body{background:radial-gradient(circle at 76% -10%,var(--ml-line) 0,transparent 31rem),var(--canvas)}
.panel{border-color:var(--ml-line);border-radius:11px;box-shadow:var(--shadow)}
.primary-button{border-color:var(--ml-accent-strong);background:linear-gradient(135deg,var(--ml-accent),var(--ml-accent-strong));box-shadow:0 5px 14px rgb(var(--ml-accent-rgb) / 0.1412)}
.primary-button:hover{background:linear-gradient(135deg,var(--ml-accent),var(--ml-accent-strong))}
.topbar h1{color:var(--ml-ink);font-weight:680}.page-description{font-size:13px;line-height:1.65}.commercial-heading h2{font-size:24px}.commercial-heading p{font-size:13px}.section-kicker{font-weight:700;color:var(--ml-muted)}
.decision-path-wrap{display:grid;grid-template-columns:190px minmax(0,1fr);gap:20px;align-items:center;margin:0 0 22px;padding:18px 22px;border:1px solid var(--ml-ink);border-radius:12px;background:linear-gradient(120deg,var(--ml-accent-strong),var(--ml-accent-strong) 62%,var(--ml-accent-strong));box-shadow:0 18px 42px rgb(var(--ml-accent-rgb) / 0.1608);color:#fff;overflow:auto}
.decision-path-wrap>div>span,.decision-path-wrap>div>strong{display:block}.decision-path-wrap>div>span{color:var(--ml-subtle);font-size:9px;font-weight:750;letter-spacing:1.6px}.decision-path-wrap>div>strong{margin-top:7px;font-size:15px;font-weight:620}
.decision-path{display:grid;grid-template-columns:repeat(5,minmax(112px,1fr));gap:0;min-width:600px;margin:0;padding:0;list-style:none}.decision-path li{position:relative;display:grid;grid-template-columns:31px 1fr;grid-template-rows:auto auto;gap:1px 9px;color:var(--ml-muted)}.decision-path li:before{content:"";position:absolute;top:15px;right:calc(100% - 1px);width:calc(100% - 31px);height:1px;background:var(--ml-text)}.decision-path li:first-child:before{display:none}.decision-path li>span{grid-row:1/3;position:relative;z-index:1;display:grid;place-items:center;width:31px;height:31px;border:1px solid var(--ml-text);border-radius:50%;background:var(--ml-accent-strong);color:var(--ml-subtle);font-size:11px}.decision-path li>span .ui-icon{width:14px;height:14px}.decision-path b{align-self:end;color:var(--ml-subtle);font-size:11px;font-weight:600;white-space:nowrap}.decision-path small{color:var(--ml-muted);font-size:9px}.decision-path .complete:before,.decision-path .current:before{background:var(--ml-accent-border)}.decision-path .complete>span{border-color:var(--ml-muted);background:var(--ml-accent);color:#fff}.decision-path .complete b{color:var(--ml-text)}.decision-path .current>span{border-color:#d2b16f;background:#b88b3e;color:#fff;box-shadow:0 0 0 4px #b88b3e26}.decision-path .current b{color:#fff}.decision-path .current small{color:#e0cda4}
.product-picker-trigger{display:inline-flex;align-items:center;gap:5px;margin-top:9px;padding:0;border:0;background:none;color:var(--ml-accent);font-size:11px;font-weight:650;cursor:pointer}.product-picker-trigger .ui-icon{width:13px;height:13px}.product-picker-trigger:hover{text-decoration:underline;text-underline-offset:3px}.selected-product-note{margin-top:7px!important;padding:5px 7px;border-left:2px solid #b78a3a;background:#fbf7ed;color:#6e654f!important;line-height:1.45!important}
.vendor-product-dialog{width:min(920px,calc(100vw - 28px));max-height:min(820px,calc(100dvh - 28px));padding:0;border:0;border-radius:14px;background:var(--ml-surface);color:var(--ink);box-shadow:0 32px 100px rgb(var(--ml-accent-rgb) / 0.3216);overflow:hidden}.vendor-product-dialog::backdrop{background:rgb(var(--ml-accent-rgb) / 0.4392);backdrop-filter:blur(3px)}.vendor-product-dialog form{display:flex;flex-direction:column;max-height:inherit}.vendor-product-dialog header{display:flex;justify-content:space-between;gap:20px;padding:24px 26px 18px;background:#fff;border-bottom:1px solid var(--line)}.vendor-product-dialog h2{margin:5px 0 6px;font-size:24px}.vendor-product-dialog header p:not(.section-kicker){max-width:650px;margin:0;color:var(--ml-muted);font-size:13px;line-height:1.55}.vendor-product-search{display:grid;grid-template-columns:1fr auto;gap:10px;padding:16px 26px;background:var(--ml-surface-muted);border-bottom:1px solid var(--ml-line)}.vendor-product-results{min-height:230px;padding:18px 26px;overflow:auto}.vendor-product-result{display:grid;grid-template-columns:76px 1fr auto;gap:16px;align-items:center;padding:16px;margin-bottom:11px;border:1px solid var(--ml-line);border-radius:10px;background:#fff;box-shadow:0 3px 12px rgb(var(--ml-accent-rgb) / 0.0353)}.vendor-product-result h3{margin:5px 0 4px;font-size:14px}.vendor-product-result p{margin:0;color:var(--ml-muted);font-size:11px;line-height:1.55}.vendor-product-result a{font-size:11px;color:var(--ml-accent)}.vendor-product-dialog footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding:15px 26px;border-top:1px solid var(--line);background:#fff}.vendor-product-dialog footer span{color:var(--ml-muted);font-size:11px}
.final-rate-label{display:inline-flex;align-items:center;gap:5px;margin:8px 0 0 27px;padding:4px 7px;border:1px solid var(--ml-line-strong);border-radius:5px;background:var(--ml-surface-muted);color:var(--ml-accent);font-size:10px;font-weight:650}.final-rate-label .ui-icon{width:12px;height:12px}.award-help{margin:12px 0 0!important;line-height:1.6}.award-review{border-top:3px solid #b78a3a}.award-final strong{font-size:27px;color:var(--ml-accent-strong)}
.comparison-table tfoot th small{display:block}.comparison-table tfoot .negotiate-link{display:block;padding-left:0;margin-top:7px}.comparison-table tfoot .final-rate-label{margin-left:0;line-height:1.35}
.accepted-message{border-color:var(--ml-accent-border)!important;background:var(--ml-surface-muted)!important;box-shadow:inset 3px 0 var(--ml-accent)}.decision-state{display:flex;gap:11px;padding:14px;border:1px solid var(--ml-line);border-radius:8px;background:var(--ml-surface)}.decision-state>span{display:grid;place-items:center;width:29px;height:29px;flex:none;border-radius:50%;background:var(--ml-accent-soft);color:var(--ml-accent)}.decision-state .ui-icon{width:15px;height:15px}.decision-state strong{font-size:13px;color:var(--ml-ink)}.decision-state p{margin:4px 0 0;color:var(--ml-muted);font-size:11px;line-height:1.6}.decision-state.success{border-color:var(--ml-accent-border);background:var(--ml-surface-muted)}.decision-state.waiting{border-color:#e7d7b8;background:#fcf8ee}.round-budget{display:flex;justify-content:space-between;gap:10px;margin:18px 0;padding:0 2px;color:var(--ml-muted);font-size:10px}.round-budget strong{color:var(--ml-text)}.counter-panel form{margin-top:18px;padding-top:18px;border-top:1px solid var(--line)}.counter-panel form h3{margin:0 0 8px;font-size:15px}.counter-rule{margin-top:20px;padding:14px;border-radius:8px;background:var(--ml-surface-muted)}.counter-rule strong{font-size:11px;color:var(--ml-text)}.counter-rule p{margin:4px 0 0;color:var(--ml-muted);font-size:10px;line-height:1.6}
.approval-note.issue-po{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:20px 24px;border-top:1px solid var(--ml-line);background:linear-gradient(90deg,var(--ml-surface-muted),#fff)}.approval-note.issue-po strong{display:block;font-size:14px;color:var(--ml-ink)}.approval-note.issue-po p{margin:5px 0 0;color:var(--ml-muted);font-size:12px}.po-document{border-top:3px solid #b78a3a}
@media(max-width:900px){.decision-path-wrap{grid-template-columns:1fr;padding:17px}.decision-path{min-width:560px}.vendor-product-dialog header,.vendor-product-search,.vendor-product-results,.vendor-product-dialog footer{padding-inline:18px}.vendor-product-result{grid-template-columns:64px 1fr}.vendor-product-result>.primary-button{grid-column:2;justify-self:start}.approval-note.issue-po{align-items:flex-start;flex-direction:column}.approval-note.issue-po .primary-button{width:100%}}
@media(max-width:560px){.decision-path-wrap{margin-inline:-2px;border-radius:9px}.decision-path-wrap>div{position:sticky;left:0}.decision-path{min-width:530px}.vendor-product-search{grid-template-columns:1fr}.vendor-product-result{grid-template-columns:50px 1fr;padding:13px}.vendor-product-result>.primary-button{grid-column:1/-1;width:100%}.vendor-product-dialog footer{align-items:flex-start;flex-direction:column}}

/* Compact, auditable buyer–vendor negotiation chat. */
.deal-chat{width:min(920px,100%);margin:0 auto;overflow:hidden;border-top:3px solid var(--gold);background:#fff}
.chat-header{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;padding:20px 22px 17px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#fff 55%,var(--ml-surface-muted))}
.chat-title-line{display:flex;align-items:center;gap:11px;flex-wrap:wrap}.chat-title-line h2{margin:0;color:var(--ink);font-size:18px;letter-spacing:-.3px}.chat-header p{margin:7px 0 0;color:var(--ml-muted);font-size:10px;line-height:1.5}
.presence{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border:1px solid var(--ml-line);border-radius:999px;background:var(--ml-surface-muted);color:var(--ml-muted);font-size:9px;font-weight:650;white-space:nowrap}.presence:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--ml-subtle)}.presence.online{border-color:var(--ml-accent-border);background:var(--ml-surface-muted);color:var(--ml-accent)}.presence.online:before{background:var(--ml-accent);box-shadow:0 0 0 3px rgb(var(--ml-accent-rgb) / 0.1216)}
.chat-rate{text-align:right;flex:none}.chat-rate small,.chat-rate strong{display:block}.chat-rate small{margin-bottom:5px;color:var(--ml-muted);font-size:9px;text-transform:uppercase;letter-spacing:.7px}.chat-rate strong{color:var(--ml-accent);font-size:20px;font-weight:680;letter-spacing:-.5px}
.chat-meta{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:9px 22px;border-bottom:1px solid var(--ml-line);background:var(--ml-surface);color:var(--ml-muted);font-size:9px}.chat-meta span:first-child{color:var(--ml-text);font-weight:650}
.chat-timeline{height:min(390px,48vh);min-height:240px;overflow-y:auto;padding:20px 22px 26px;background:linear-gradient(var(--ml-surface),var(--ml-surface-muted))}
.chat-bubble{position:relative;width:fit-content;max-width:min(72%,620px);margin:0 auto 12px 0;padding:10px 12px 18px;border:1px solid var(--ml-line);border-radius:4px 12px 12px 12px;background:#fff;box-shadow:0 3px 12px rgb(var(--ml-accent-rgb) / 0.0314);color:var(--ml-text)}.chat-bubble.own-message{margin-left:auto;margin-right:0;border-color:var(--ml-accent-border);border-radius:12px 4px 12px 12px;background:var(--ml-surface-muted)}.chat-bubble>div{display:flex;align-items:center;gap:8px;margin-bottom:5px}.chat-bubble>div strong{font-size:10px;font-weight:680;color:var(--ml-text)}.chat-bubble>div span{padding:2px 5px;border-radius:4px;background:var(--ml-surface-muted);color:var(--ml-muted);font-size:8px;font-weight:650;text-transform:uppercase;letter-spacing:.35px}.chat-bubble p{margin:0;white-space:pre-wrap;color:var(--ml-text);font-size:11px;line-height:1.55}.chat-bubble>b{display:block;margin-top:7px;color:var(--ml-accent);font-size:15px;font-weight:700}.chat-bubble time{position:absolute;right:10px;bottom:5px;color:var(--ml-subtle);font-size:8px}
.chat-bubble.counter-message{border-left:3px solid var(--gold)}.chat-bubble.counter-message>div span{background:#f7eedc;color:#866528}.chat-bubble.call-message{border-color:var(--ml-accent-border);background:var(--ml-surface-muted)}.chat-bubble.call-message>div span{background:var(--ml-accent-soft);color:var(--ml-text)}.chat-bubble.accept-message{border-color:var(--ml-accent-border);background:var(--ml-accent-soft);box-shadow:inset 3px 0 var(--ml-accent)}.chat-bubble.accept-message>div span{background:var(--ml-accent-border);color:var(--ml-accent)}.chat-bubble.message-message>div span{display:none}
.chat-final{display:grid;grid-template-columns:30px 1fr;align-items:center;gap:1px 10px;padding:12px 22px;border-top:1px solid var(--ml-accent-border);border-bottom:1px solid var(--ml-accent-border);background:var(--ml-surface-muted);color:var(--ml-accent)}.chat-final>span{grid-row:1/3;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:var(--ml-accent-soft)}.chat-final .ui-icon{width:15px;height:15px}.chat-final strong{font-size:12px}.chat-final small{font-size:9px;color:var(--ml-muted)}.chat-final.muted{display:block;border-color:var(--ml-line);background:var(--ml-surface-muted);color:var(--ml-text)}.chat-final.muted small{display:block;margin-top:3px}
.chat-composer{padding:14px 18px 13px;background:#fff}.chat-actions{display:flex;align-items:center;gap:5px;margin-bottom:10px;overflow-x:auto}.chat-actions button{min-height:28px;padding:0 9px;border:1px solid transparent;border-radius:5px;background:transparent;color:var(--ml-muted);font-size:9px;font-weight:650;white-space:nowrap;cursor:pointer}.chat-actions button:hover{background:var(--ml-surface-muted);color:var(--ml-text)}.chat-actions button.active{border-color:var(--ml-line-strong);background:var(--ml-surface-muted);color:var(--ml-accent)}.chat-actions .accept-chat{margin-left:auto;border-color:var(--ml-accent-border);background:var(--ml-surface-muted);color:var(--ml-accent)}.chat-actions .accept-chat:hover{background:var(--ml-accent-soft)}
.chat-composer form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px;align-items:end}.chat-composer textarea{min-height:48px;max-height:130px;resize:vertical;padding:11px 12px;border-color:var(--ml-line);background:var(--ml-surface);font-size:11px;line-height:1.45}.chat-composer form>.primary-button{height:38px;margin-bottom:5px}.chat-rate-input{grid-column:1/-1;display:flex;align-items:center;gap:9px;margin:0;padding:8px 10px;border:1px solid #e7d5ae;border-radius:6px;background:#fcf8ee;color:#75603a;font-size:10px;font-weight:650}.chat-rate-input[hidden]{display:none}.chat-rate-input input{width:150px;min-height:32px;margin-left:auto;background:#fff}.chat-audit-note{margin:7px 1px 0;color:var(--ml-subtle);font-size:8px}.chat-empty{display:grid;place-items:center;min-height:190px;text-align:center;color:var(--ml-muted)}.chat-empty strong{font-size:13px;color:var(--ml-text)}.chat-empty p{margin:5px 0 0;font-size:10px}
.nav-unread{display:inline-flex;align-items:center;justify-content:center;margin-left:auto;padding:2px 6px;border-radius:999px;background:#b78a3a;color:#fff;font-size:7px;font-weight:750;letter-spacing:.4px;text-transform:uppercase}.nav-item.active .nav-unread{background:var(--ml-accent)}
.thread-has-unread{background:var(--ml-surface)}.thread-has-unread td:first-child{box-shadow:inset 3px 0 var(--ml-accent)}.thread-unread{display:inline-flex;margin-left:7px;padding:2px 6px;border-radius:999px;background:var(--ml-accent-soft);color:var(--ml-accent);font-size:8px;font-weight:700;white-space:nowrap}
@media(max-width:700px){.deal-chat{margin-inline:0}.chat-header{padding:16px;gap:14px}.chat-header p{max-width:52vw}.chat-rate strong{font-size:17px}.chat-meta{padding-inline:16px;align-items:flex-start;flex-direction:column;gap:3px}.chat-timeline{height:min(430px,52vh);padding:15px 13px 20px}.chat-bubble{max-width:86%}.chat-composer{padding:12px}.chat-actions .accept-chat{margin-left:0}.chat-composer form{grid-template-columns:1fr}.chat-composer form>.primary-button{width:100%;margin:0}.chat-rate-input input{width:125px}}
@media(max-width:430px){.chat-header{flex-direction:column}.chat-header p{max-width:none}.chat-rate{text-align:left}.chat-title-line{align-items:flex-start}.chat-bubble{max-width:92%}.chat-actions{padding-bottom:2px}.presence{font-size:8px}}

/* Request detail: materials first, history on demand. */
.request-detail{display:grid;gap:14px;min-width:0}
.request-overview{padding:16px 20px}
.request-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.request-overview-heading p{margin:0;color:var(--ml-text);font-size:13px;overflow-wrap:anywhere}
.request-overview-heading .status{flex-shrink:0}
.request-overview .case-facts{grid-template-columns:repeat(4,minmax(0,1fr));margin:14px 0 0;gap:12px}
.request-overview .case-facts dd{font-size:12px;overflow-wrap:anywhere}
.request-detail .process-stepper{margin:0;padding:12px 16px;gap:16px}
.request-detail .process-stepper>div{grid-template-columns:22px 1fr;column-gap:7px;min-width:0;align-items:center}
.request-detail .process-stepper>div:before{display:none}
.request-detail .process-stepper span{width:22px;height:22px;grid-row:1}
.request-detail .process-stepper b{font-size:10px;white-space:normal}
.request-detail .process-stepper small{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.request-detail .document-card{padding:18px 20px;min-width:0;overflow:visible}
.request-materials-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.request-materials-heading h2{margin:0;font-size:17px;font-weight:650;letter-spacing:-.3px}
.request-detail .bom-category-host .bom-category-toolbar{margin:12px 0 8px;gap:8px}
.request-detail .bom-category-toolbar label{font-size:11px}
.request-detail .bom-category-toolbar button{font-size:12px;min-height:40px;padding:8px 12px}
.request-detail .bom-category-toolbar [data-flat][aria-pressed="true"]{background:var(--ml-surface-muted);border-color:var(--ml-subtle);color:var(--ml-accent)}
.request-detail .bom-category-toolbar [data-count]{font-size:11px}
.request-detail .bom-category-group{margin:8px 0 0;border-color:var(--ml-line);border-radius:7px;overflow:hidden}
.request-detail .bom-category-group>summary{padding:11px 14px;border-radius:0;background:var(--ml-surface-muted);color:var(--ml-text);font-size:12px}
.request-detail .bom-category-group>summary span{font-size:11px}
.request-detail .data-table{width:100%;table-layout:fixed;min-width:560px}
.request-detail .data-table th{padding:9px 12px;font-size:10px}
.request-detail .data-table td{padding:12px;vertical-align:top;overflow-wrap:anywhere}
.request-detail .data-table th:first-child{width:40px}
.request-detail .data-table th:nth-child(3){width:110px}
.request-detail .data-table th:nth-child(4){width:125px}
.request-detail .data-table td:nth-child(3){font-variant-numeric:tabular-nums}
.request-detail .bom-item-cell{min-width:0;gap:10px;line-height:1.5}
.request-detail .bom-item-cell img{width:42px;height:42px;flex-shrink:0}
.request-detail .bom-item-cell strong{font-size:12px;font-weight:600}
.request-detail .bom-item-cell small{font-size:11px}
.request-detail .bom-item-cell a{font-size:11px}
.request-detail .bom-category-choice{margin-top:5px;padding:0;border:0;background:none;color:var(--ml-muted);font-size:10px;line-height:1.5}
.request-detail .bom-category-choice.needs-review{background:none;color:#896422}
.request-history{overflow:hidden}
.request-history>summary{padding:16px 20px;cursor:pointer;font-size:13px;font-weight:600;color:var(--ml-text)}
.request-history>summary span{margin-left:12px;font-size:11px;font-weight:400;color:var(--ml-muted)}
.request-history-note{margin:0;padding:0 20px 10px;font-size:11px;color:var(--ml-muted)}
.request-history .activity-list{max-height:360px}
.request-detail summary:focus-visible,.request-detail .bom-category-toolbar button:focus-visible{outline:2px solid var(--ml-accent);outline-offset:-3px}
@media(max-width:700px){.request-detail .process-stepper,.request-detail .process-stepper.vendor-process{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 12px}.request-overview{padding:14px}.request-overview .case-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.request-detail .document-card{padding:14px}.request-materials-heading{flex-wrap:wrap}.request-detail .bom-category-toolbar button{min-height:44px;padding:8px}.request-overview-heading{align-items:flex-start}.request-history>summary{padding:16px 14px}}

/* A decision trail, not a wall of autosave telemetry. */
.action-card{position:sticky;top:18px;padding:0;overflow:hidden;background:#fff}
.position-summary{padding:20px 21px 0}.position-summary h3{margin:5px 0 0;color:var(--ml-ink);font-size:19px;font-weight:660}.action-card .case-facts{margin:17px 21px 20px}.action-card>.primary-button{width:calc(100% - 42px);margin:0 21px}
.activity{margin:20px 0 0;padding:0;border-top:1px solid var(--line);background:var(--ml-surface)}.activity-heading{display:flex;justify-content:space-between;gap:16px;align-items:flex-start;padding:18px 20px 13px}.activity-heading h3{margin:4px 0 0;font-size:14px;color:var(--ml-ink)}.activity-heading>span{max-width:145px;padding-top:2px;color:var(--ml-muted);font-size:9px;line-height:1.5;text-align:right}.activity-list{max-height:min(420px,48vh);margin:0;padding:0 12px 14px 20px;overflow-y:auto;overscroll-behavior:contain;list-style:none;scrollbar-width:thin;scrollbar-color:var(--ml-line-strong) transparent}.activity-event{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);gap:9px;min-height:55px;margin:0;padding:8px 7px 9px 0}.activity-event:not(:last-child):before{content:"";position:absolute;left:5px;top:22px;bottom:-8px;width:1px;background:var(--ml-line)}.activity-marker{position:relative;z-index:1;width:11px;height:11px;margin-top:4px;border:2px solid #fff;border-radius:50%;background:var(--ml-muted);box-shadow:0 0 0 1px var(--ml-line-strong)}.activity-event strong,.activity-event small{display:block}.activity-event strong{color:var(--ml-text);font-size:11px;font-weight:650;line-height:1.45}.activity-event strong em{display:inline-flex;margin-left:7px;padding:2px 6px;border-radius:999px;background:var(--ml-surface-muted);color:var(--ml-muted);font-size:8px;font-style:normal;font-weight:650;white-space:nowrap}.activity-event small{margin-top:3px;color:var(--ml-muted);font-size:9px}.activity-event .activity-range{color:var(--ml-subtle)}.activity-event.milestone .activity-marker{background:var(--ml-accent);box-shadow:0 0 0 1px var(--ml-accent-border)}.activity-event.milestone strong{color:var(--ml-accent)}.activity-event.success .activity-marker{background:#b58a3d;box-shadow:0 0 0 1px #d9c18f}.activity-event.success strong{color:#705625}.activity-event.system{min-height:48px}.activity-event.system .activity-marker{width:8px;height:8px;margin:6px 0 0 2px;background:var(--ml-subtle);box-shadow:none}.activity-event.system strong{color:var(--ml-muted);font-weight:560}.activity-empty{padding:0 20px 20px}
.audit-list-header{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;padding:22px 24px;border-bottom:1px solid var(--line);background:linear-gradient(135deg,#fff,var(--ml-surface-muted))}.audit-list-header h2{margin:5px 0 3px;font-size:18px}.audit-list-header p:not(.section-kicker){margin:0;color:var(--ml-muted);font-size:10px}.audit-list-header>span{padding:6px 9px;border:1px solid var(--ml-line);border-radius:999px;background:#fff;color:var(--ml-muted);font-size:9px;white-space:nowrap}.audit-list article strong em{display:inline-flex;margin-left:8px;padding:2px 6px;border-radius:999px;background:var(--ml-surface-muted);color:var(--ml-muted);font-size:8px;font-style:normal}.audit-list article.system{background:var(--ml-surface)}.audit-list article.success .audit-dot{background:#b58a3d;box-shadow:0 0 0 4px #f4ecdc}.audit-list article.milestone .audit-dot{background:var(--ml-accent);box-shadow:0 0 0 4px var(--ml-accent-soft)}
@media(max-width:980px){.action-card{position:static}.activity-list{max-height:360px}}
@media(max-width:560px){.activity-heading,.audit-list-header{align-items:flex-start;flex-direction:column}.activity-heading>span{text-align:left;max-width:none}.audit-list-header{padding:18px}.audit-list-header>span{white-space:normal}}

/* Specification-first product catalogue. Commercial rates belong in quotations. */
.product-discovery{position:relative;background:linear-gradient(180deg,#fff 0,var(--ml-surface) 100%)}
.product-search-bar input{min-height:44px;padding-inline:14px;border-color:var(--ml-line-strong);background:#fff;box-shadow:0 1px 2px rgb(var(--ml-accent-rgb) / 0.0314)}.product-search-bar input:focus{border-color:var(--ml-subtle);box-shadow:0 0 0 3px rgb(var(--ml-accent-rgb) / 0.0627)}.product-search-bar button{min-height:44px}
.product-results{gap:14px;margin-top:18px}.product-result{position:relative;grid-template-columns:88px minmax(0,1fr);grid-template-rows:1fr auto;gap:13px 16px;align-items:start;min-height:188px;padding:17px 17px 14px;border-color:var(--ml-line);border-radius:12px;background:linear-gradient(145deg,#fff 70%,var(--ml-surface));box-shadow:0 6px 22px rgb(var(--ml-accent-rgb) / 0.0353);overflow:hidden;transition:transform .15s ease,border-color .15s ease,box-shadow .15s ease}.product-result:before{content:"";position:absolute;inset:0 auto 0 0;width:3px;background:linear-gradient(var(--ml-accent),#b48b42);opacity:.72}@media(hover:hover) and (pointer:fine){.product-result:hover{border-color:var(--ml-line-strong);box-shadow:0 10px 26px rgb(var(--ml-accent-rgb) / 0.0667)}}
.product-result .product-image-frame{width:88px;height:88px;border-radius:9px;background:var(--ml-surface-muted)}.product-result-copy{align-self:start}.product-result h3{margin:7px 0 5px;color:var(--ml-ink);font-size:13px;line-height:1.42;font-weight:680}.product-result p{margin:0;color:var(--ml-muted);font-size:10px;line-height:1.6;-webkit-line-clamp:2}.product-result-meta>span:not(.match-badge){color:var(--ml-muted);font-size:9px}.product-result .product-facts{margin:9px 0 7px}.product-result .product-facts span{font-size:9px}.product-result .matched-terms small{font-size:8px}
.product-result-actions{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:12px;border-top:1px solid var(--ml-line)}.product-result-actions a{margin:0;color:var(--ml-accent);font-size:10px;font-weight:600;text-decoration:none}.product-result-actions a:hover{text-decoration:underline;text-underline-offset:3px}.product-result-actions .primary-button{min-height:32px;font-size:10px}
.product-pagination{grid-column:1/-1;display:flex;align-items:center;justify-content:center;gap:18px;padding:14px 16px;border:1px solid var(--ml-line);border-radius:10px;background:var(--ml-surface);color:var(--ml-muted);font-size:10px}.product-pagination span{min-width:82px;text-align:center;font-variant-numeric:tabular-nums}.product-pagination strong{color:var(--ml-accent)}.product-pagination .secondary-button{min-width:102px;min-height:34px}.product-pagination button:disabled{background:var(--ml-surface-muted);color:var(--ml-subtle)}
.product-not-found{padding:40px 24px!important;border-radius:12px!important;background:linear-gradient(145deg,var(--ml-surface),var(--ml-surface-muted))}.product-empty-icon{display:grid;width:42px;height:42px;margin:0 auto 13px;place-items:center;border:1px solid var(--ml-line-strong);border-radius:50%;background:#fff;color:var(--ml-accent);font-size:23px}.product-not-found strong{font-size:15px}.product-not-found small{max-width:510px;margin:6px auto 0}
.vendor-product-results>.product-results-summary{margin:0 0 12px}.vendor-product-result{grid-template-columns:82px minmax(0,1fr) auto;align-items:start;padding:17px;border-color:var(--ml-line);border-radius:12px;background:linear-gradient(145deg,#fff 72%,var(--ml-surface));box-shadow:0 6px 18px rgb(var(--ml-accent-rgb) / 0.0314)}.vendor-product-result .product-image-frame{width:82px;height:82px}.vendor-product-copy{min-width:0}.vendor-product-result h3{color:var(--ml-text);line-height:1.42}.vendor-product-result p{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.vendor-product-actions{align-self:stretch;display:flex;min-width:126px;flex-direction:column;align-items:stretch;justify-content:space-between;gap:14px;padding-left:15px;border-left:1px solid var(--ml-line)}.vendor-product-actions a{text-align:center;text-decoration:none}.vendor-product-actions a:hover{text-decoration:underline;text-underline-offset:3px}.vendor-product-results>.product-pagination{margin-top:15px}.vendor-product-results>.product-not-found{margin-top:5px}
@media(max-width:900px){.product-result{grid-template-columns:72px minmax(0,1fr)}.product-result .product-image-frame{width:72px;height:72px}.vendor-product-result{grid-template-columns:64px minmax(0,1fr)}.vendor-product-result .product-image-frame{width:64px;height:64px}.vendor-product-actions{grid-column:2;min-width:0;padding:11px 0 0;border-top:1px solid var(--ml-line);border-left:0;flex-direction:row;align-items:center}.vendor-product-actions .primary-button{width:auto}}
@media(max-width:680px){.product-results{grid-template-columns:1fr}.product-result{min-height:0}.product-pagination{gap:8px;justify-content:space-between}.product-pagination .secondary-button{min-width:0;padding-inline:10px}.product-pagination span{min-width:64px}}
@media(max-width:560px){.product-result{grid-template-columns:58px minmax(0,1fr);padding:14px}.product-result .product-image-frame{width:58px;height:58px}.product-result-actions{align-items:stretch;flex-direction:column}.product-result-actions .primary-button{width:100%}.vendor-product-result{grid-template-columns:54px minmax(0,1fr)}.vendor-product-result .product-image-frame{width:54px;height:54px}.vendor-product-actions{grid-column:1/-1}.vendor-product-actions .primary-button{flex:1}.product-pagination{font-size:9px}.product-pagination .secondary-button{font-size:9px}.product-not-found{padding:30px 18px!important}}

/* Intelligent document intake: extract, review, match, then create. */
.intake-steps{display:grid;grid-template-columns:repeat(4,1fr);gap:0;margin:4px 24px 18px;padding:12px 14px;border:1px solid var(--ml-line);border-radius:9px;background:var(--ml-surface)}.intake-steps span{position:relative;display:flex;align-items:center;gap:7px;color:var(--ml-muted);font-size:9px;font-weight:650}.intake-steps span:not(:first-child):before{content:"";position:absolute;right:calc(100% - 1px);width:22px;height:1px;background:var(--ml-line)}.intake-steps b{position:relative;z-index:1;display:grid;width:22px;height:22px;place-items:center;border:1px solid var(--ml-line-strong);border-radius:50%;background:#fff;color:var(--ml-muted);font-size:9px}.intake-steps .complete{color:var(--ml-text)}.intake-steps .complete b{border-color:var(--ml-accent-border);background:var(--ml-surface-muted);color:var(--ml-accent)}.intake-steps .current{color:#765a25}.intake-steps .current b{border-color:#d8bc81;background:#f7eedc;color:#765a25}
.intelligence-note{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 24px 18px;padding:11px 13px;border:1px solid var(--ml-line-strong);border-radius:8px;background:var(--ml-surface-muted);color:var(--ml-text);font-size:9px}.intelligence-note strong{color:var(--ml-accent);font-size:10px}.intelligence-note.warning{border-color:#ead8b4;background:#fff9ed;color:#7d6942}.intelligence-note.warning strong{color:#7a5d27}
.intelligent-bom{min-width:1260px}.intelligent-bom .bom-row.needs-review{background:#fffbf2}.intelligent-bom .bom-row.product-matched{background:var(--ml-surface-muted)}.bom-ai-note,.bom-source-text{display:block;max-width:260px;margin-top:5px;color:#9a6e23;font-size:8px;line-height:1.45;white-space:normal}.bom-ai-note.confident{color:var(--ml-muted)}.bom-source-text{color:var(--ml-muted)}.bom-match-cell{min-width:145px}.bom-match-cell img{display:block;width:36px;height:36px;margin:0 0 7px;object-fit:contain;border:1px solid var(--ml-line);border-radius:5px;background:#fff}.bom-match-cell img[hidden]{display:none}.bom-match-cell button{width:100%}.bom-match-cell small{display:block;max-width:145px;margin-top:5px;color:var(--ml-muted);font-size:8px;line-height:1.4;white-space:normal}.ocr-result-actions>span{max-width:440px}
@media(max-width:760px){.intake-steps{grid-template-columns:1fr 1fr;gap:10px;margin-inline:16px}.intake-steps span:not(:first-child):before{display:none}.intelligence-note{align-items:flex-start;flex-direction:column;gap:4px;margin-inline:16px}}

/* Intelligent intake lives inside New requirement. */
.requirement-intake-inline{background:linear-gradient(135deg,var(--ml-surface),#fff);border-block:1px solid var(--ml-line)}.requirement-intake-inline .section-heading{align-items:center}.requirement-intake-inline .section-heading p:not(.section-kicker){max-width:760px;margin:5px 0 0;color:var(--ml-muted);font-size:11px;line-height:1.6}.requirement-intake-inline #toggle-requirement-intake{flex:none}
#requirement-intake-panel{margin-top:20px;padding:18px;border:1px solid var(--ml-line);border-radius:12px;background:var(--ml-surface-muted)}#requirement-intake-panel[hidden]{display:none}.request-intake-grid{display:grid;grid-template-columns:minmax(310px,.9fr) minmax(310px,1.1fr);gap:14px}.request-intake-source,.request-voice-box{padding:16px;border:1px solid var(--ml-line);border-radius:10px;background:#fff}.request-intake-source .drop-zone{min-height:150px;padding:20px}.request-intake-source .scan-icon{width:42px;height:42px}.request-intake-source .selected-file{margin-top:10px}.request-intake-source>.primary-button{margin-top:10px}.request-voice-box{margin:0}.request-voice-box .voice-button{min-height:52px}.request-intake-result{margin-top:14px;border:1px solid var(--ml-line);border-radius:11px;background:#fff;overflow:hidden}.request-intake-result>.ocr-empty{min-height:180px}.request-intake-result .ocr-result-head{padding:20px}.request-intake-result .bom-table-wrap{margin:0;border-top:1px solid var(--ml-line)}.request-intake-result .ocr-result-actions{border-top:1px solid var(--ml-line)}
@media(max-width:800px){.request-intake-grid{grid-template-columns:1fr}.requirement-intake-inline .section-heading{align-items:flex-start;flex-direction:column}.requirement-intake-inline #toggle-requirement-intake{width:100%}#requirement-intake-panel{padding:12px}}

/* Image-first catalogue picker, shared by quotation and procurement entry. */
.vendor-product-dialog{width:min(1240px,calc(100vw - 40px));max-height:calc(100dvh - 40px);border:1px solid var(--ml-line);border-radius:16px;background:#fff}
.vendor-product-dialog form{height:min(850px,calc(100dvh - 42px));max-height:inherit;min-height:0}
.vendor-product-dialog header{flex:none;padding:18px 24px 12px;align-items:flex-start;border:0}
.vendor-product-dialog header .section-kicker{margin:0 0 5px;font-size:9px;letter-spacing:1.2px;color:var(--ml-muted)}
.vendor-product-dialog h2{font-size:21px;line-height:1.25;letter-spacing:-.55px;margin:0 0 7px;font-weight:650}
.vendor-product-dialog header p:not(.section-kicker){font-size:11px;line-height:1.4;color:var(--ml-muted)}
.vendor-product-dialog header .icon-button{width:36px;height:36px;border:1px solid var(--ml-line);background:#fff;flex:none}
.vendor-product-dialog .vendor-product-search{flex:none;grid-template-columns:minmax(0,1fr) auto;gap:12px;padding:0 24px 14px;background:#fff;border-bottom:1px solid var(--ml-line)}
.catalogue-search-field{display:flex;align-items:center;gap:10px;margin:0;padding:0 13px;border:1px solid var(--ml-line);border-radius:8px;background:var(--ml-surface);color:var(--ml-muted);min-width:0}
.catalogue-search-field:focus-within{outline:2px solid var(--ml-accent);outline-offset:2px}
.catalogue-search-field .ui-icon{width:17px;height:17px}
.vendor-product-dialog .catalogue-search-field input{min-width:0;min-height:44px;padding:0;border:0;background:transparent;box-shadow:none;outline:none;font-size:13px}
.vendor-product-dialog .vendor-product-search>.primary-button{min-height:44px;padding:0 20px;font-size:12px;border-radius:8px}
.vendor-product-dialog .vendor-product-results{flex:1;min-height:0;padding:16px 24px 24px;background:var(--ml-surface);overscroll-behavior:contain}
.vendor-product-dialog .product-results-summary{margin:0 0 12px;gap:12px;font-size:11px}
.vendor-product-dialog .product-results-summary strong{color:var(--ml-ink);font-size:13px;font-weight:600}
.product-catalogue-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;align-items:stretch}
.vendor-product-dialog .vendor-product-result{display:flex;flex-direction:column;align-items:stretch;gap:0;min-width:0;margin:0;padding:0;overflow:hidden;border:1px solid var(--ml-line);border-radius:10px;background:#fff;box-shadow:0 1px 2px rgb(var(--ml-ink-rgb) / 0.0157)}
.vendor-product-dialog .vendor-product-result .product-image-frame{width:100%;height:140px;flex:none;border:0;border-bottom:1px solid var(--ml-surface-muted);border-radius:0;background:var(--ml-surface-muted)}
.vendor-product-dialog .product-image-frame img{padding:17px;object-fit:contain;background:var(--ml-surface);mix-blend-mode:multiply}
.vendor-product-dialog .product-image-frame .product-placeholder{background:var(--ml-surface-muted)}
.vendor-product-dialog .product-image-frame .product-placeholder small{display:block;font-size:10px}
.vendor-product-dialog .vendor-product-copy{display:flex;flex-direction:column;flex:1;gap:0;padding:12px 15px 0;min-width:0;width:100%}
.catalogue-source-row{display:flex;align-items:center;justify-content:space-between;gap:8px;min-width:0;margin-bottom:8px}
.catalogue-source{display:inline-flex;align-items:center;gap:5px;min-width:0;max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;color:var(--ml-text);font-size:10px}
.catalogue-source>span{display:inline-grid;place-items:center;flex:none;width:22px;height:22px;border-radius:6px;background:var(--ml-surface-muted);color:var(--ml-text);font-size:9px;font-weight:650}
.catalogue-rating{flex:none;font-size:11px;color:#7c5e12;white-space:nowrap}
.catalogue-rating small{color:var(--ml-muted);font-size:10px}
.vendor-product-dialog .vendor-product-result h3{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:36px;margin:0 0 5px;font-size:13px;line-height:1.35;font-weight:600;color:var(--ml-ink);overflow-wrap:anywhere}
.vendor-product-dialog .vendor-product-result p{min-height:30px;max-width:none;margin:0 0 10px;font-size:10.5px;line-height:1.4;color:var(--ml-muted)}
.catalogue-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:auto 0 10px}
.catalogue-facts>div{min-width:0}
.catalogue-facts dt{color:var(--ml-muted);font-size:10px;margin-bottom:4px}
.catalogue-facts dd{margin:0;font-size:11px;font-weight:550;color:var(--ml-text);overflow-wrap:anywhere}
.catalogue-match{min-height:28px;padding:7px 0 0;border-top:1px solid var(--ml-surface-muted)}
.catalogue-match .match-badge{max-width:100%;font-size:9px;font-weight:500;white-space:normal}
.vendor-product-dialog .vendor-product-actions{display:grid;grid-template-columns:minmax(0,1fr) 38px;grid-column:auto;min-width:0;gap:8px;align-items:stretch;align-self:auto;padding:12px 15px;border:0}
.vendor-product-dialog .vendor-product-actions .primary-button{width:100%;min-height:38px;min-width:0;padding:0 10px;border-radius:6px;font-size:11px}
.vendor-product-dialog .catalogue-source-link{display:grid;place-items:center;width:38px;min-height:38px;border:1px solid var(--ml-line);border-radius:6px;background:#fff;color:var(--ml-text);text-decoration:none;font-size:18px}
.vendor-product-dialog>form>footer{flex:none;align-items:center;padding:14px 28px;gap:16px}
.vendor-product-dialog>form>footer span{max-width:850px;line-height:1.5;font-size:11px}
.vendor-product-dialog .catalogue-empty{display:grid;align-content:center;min-height:280px;border:1px dashed var(--ml-line);background:#fff}
.vendor-product-dialog .catalogue-empty strong{font-size:16px;color:var(--ml-text)}
.vendor-product-dialog .catalogue-empty small{font-size:12px}
.vendor-product-dialog .product-pagination{margin-bottom:0}
@media(hover:hover) and (pointer:fine){.vendor-product-dialog .vendor-product-result:hover{border-color:var(--ml-line-strong);box-shadow:0 3px 12px rgb(var(--ml-ink-rgb) / 0.0314)}.vendor-product-dialog .catalogue-source-link:hover{background:var(--ml-surface-muted);color:var(--ml-accent)}}
@media(pointer:coarse){.vendor-product-dialog .vendor-product-actions{grid-template-columns:minmax(0,1fr) 44px}.vendor-product-dialog .catalogue-source-link{width:44px;min-height:44px}}
@media(max-width:600px){
  .vendor-product-dialog{width:calc(100vw - 16px);max-height:calc(100dvh - 16px);border-radius:12px}
  .vendor-product-dialog form{height:calc(100dvh - 18px)}
  .vendor-product-dialog header{padding:18px 16px 16px;gap:12px}
  .vendor-product-dialog h2{font-size:20px}
  .vendor-product-dialog .vendor-product-search{padding:0 16px 16px;grid-template-columns:1fr}
  .vendor-product-dialog .vendor-product-results{padding:16px}
  .vendor-product-dialog>form>footer{padding:12px 16px;flex-direction:row}
  .vendor-product-dialog>form>footer span{font-size:10px}
  .vendor-product-dialog .vendor-product-result .product-image-frame{height:180px}
}

/* Compact, exception-first supplier comparison. */
.compact-comparison{overflow:visible}
.comparison-toolbar{display:flex;align-items:end;gap:14px;padding:0 20px 16px}
.comparison-toolbar label{display:grid;gap:5px;font-size:12px;color:var(--ml-text)}
.comparison-toolbar label:first-child{flex:1}
.comparison-toolbar input,.comparison-toolbar select{min-height:42px;width:100%}
.comparison-toolbar>span{padding-bottom:12px;font-size:12px;color:var(--ml-muted);white-space:nowrap}
.comparison-notice{margin:0;padding:10px 20px;background:#faf7ed;color:#75612f;font-size:12px;line-height:1.5;border-block:1px solid #ece3ce}
.comparison-scroll{max-height:68vh;overflow:auto;isolation:isolate}
.compact-comparison .comparison-table{min-width:760px;border-collapse:separate;border-spacing:0}
.compact-comparison .comparison-table th{position:sticky;top:0;z-index:2;background:var(--ml-surface);padding:12px 16px;min-width:240px}
.compact-comparison .comparison-table td{padding:12px 16px;font-weight:400;background:#fff;border-bottom:1px solid var(--ml-line)}
.compact-comparison .comparison-table :is(th,td):first-child{position:sticky;left:0;z-index:1;min-width:240px;max-width:310px;box-shadow:1px 0 var(--ml-line)}
.compact-comparison .comparison-table th:first-child{z-index:3}
.compact-comparison .comparison-table td:first-child>strong{font-size:13px;line-height:1.45;display:block}
.compact-comparison .comparison-table small{min-height:0;margin:3px 0;font-size:12px;line-height:1.4}
.compact-comparison .offer{grid-template-columns:20px 1fr;gap:10px}
.compact-comparison .offer input{width:18px;height:18px;margin-top:3px}
.compact-comparison .comparison-price{display:flex;gap:6px 10px;align-items:baseline;flex-wrap:wrap}
.compact-comparison .comparison-price b{font-size:15px;font-variant-numeric:tabular-nums}
.compact-comparison .comparison-price small{display:inline;color:var(--ml-muted)}
.compact-comparison .comparison-best{display:inline;font-size:10px;font-style:normal;color:var(--ml-accent);background:var(--ml-surface-muted);border-radius:4px;padding:2px 5px}
.compact-comparison .comparison-line-total{color:var(--ml-text)}
.comparison-cell-actions{margin-left:30px;display:flex;gap:5px 12px;align-items:center;flex-wrap:wrap}
.comparison-status{font-size:11px;color:#946011}
.comparison-confirmed{font-size:11px;color:var(--ml-accent)}
.compact-comparison .text-button{font-size:12px;padding:5px 0;min-height:32px}
.compact-comparison details{font-size:12px;line-height:1.5;font-weight:400}
.compact-comparison summary{cursor:pointer;color:var(--ml-text);padding:5px 0;min-height:30px}
.compact-comparison details p{margin:5px 0;color:var(--ml-muted);max-width:300px}
.compact-comparison .comparison-needs-review{background:#fffdf7!important}
.compact-comparison tfoot td{background:var(--ml-surface)}
.unit-review-dialog label{display:grid;gap:7px;font-size:13px;margin:16px 0;line-height:1.5;text-align:left}
.unit-review-dialog .unit-review-check{grid-template-columns:20px 1fr;align-items:start}
.unit-review-check input{min-height:18px;width:18px;margin-top:3px}
.unit-review-dialog p{line-height:1.5}
@media(max-width:600px){.comparison-toolbar{flex-wrap:wrap;padding-inline:12px}.comparison-toolbar label:first-child{flex-basis:100%}.compact-comparison .comparison-table :is(th,td):first-child{min-width:170px;max-width:170px}.compact-comparison .comparison-table th{min-width:220px}.comparison-scroll{max-height:72vh}}

/* Automatic Google verification and buyer preference questions. */
.bom-match-copy{margin:5px 0 0;color:var(--ml-muted);font-size:10px;line-height:1.55}.bom-match-summary{display:grid;grid-template-columns:auto 1fr;column-gap:10px;align-items:center;margin:0 0 12px;padding:12px 14px;border:1px solid var(--ml-line);border-radius:9px;background:var(--ml-surface-muted);color:var(--ml-text)}.bom-match-summary .search-spinner,.bom-match-summary .match-status-icon{grid-row:1/3}.bom-match-summary strong{font-size:11px}.bom-match-summary small{font-size:9px;color:var(--ml-muted)}.bom-match-summary.complete{border-color:var(--ml-accent-border);background:var(--ml-surface-muted)}.bom-google-match{grid-column:1/-1;display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:2px;padding:11px 13px;border:1px solid var(--ml-line);border-radius:8px;background:#fff;color:var(--ml-muted)}.bom-google-match[hidden]{display:none}.bom-google-match>div{display:flex;align-items:center;gap:10px}.bom-google-match p{margin:0}.bom-google-match strong,.bom-google-match small{display:block}.bom-google-match strong{font-size:10px;color:var(--ml-text)}.bom-google-match small{margin-top:3px;color:var(--ml-muted);font-size:8px}.bom-google-match .match-status-icon{display:grid;flex:none;width:27px;height:27px;place-items:center;border:1px solid var(--ml-line-strong);border-radius:50%;background:var(--ml-surface-muted);color:var(--ml-accent);font-size:12px}.bom-google-match.searching{justify-content:flex-start}.bom-google-match.needs-brand,.bom-google-match.needs-review{border-color:#e2c98f;background:#fffaf0}.bom-google-match.needs-brand .match-status-icon,.bom-google-match.needs-review .match-status-icon{border-color:#dfc486;background:#fff4d9;color:#8a6725}.bom-google-match.not-found,.bom-google-match.error{border-color:#e5c2bc;background:#fff7f5}.bom-google-match.not-found .match-status-icon,.bom-google-match.error .match-status-icon{border-color:#deb7b0;background:#fff0ed;color:#9a4d43}.match-question{width:100%;align-items:flex-start!important}.match-question>div{min-width:0;flex:1}.match-question p{margin:3px 0 9px;color:#766c55;font-size:9px}.brand-suggestions,.match-answer{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.brand-suggestions{margin-bottom:8px}.brand-suggestions button{min-height:27px;padding:5px 9px;border:1px solid var(--ml-line-strong);border-radius:999px;background:#fff;color:var(--ml-text);font-size:9px;cursor:pointer}.match-answer input{width:min(310px,100%);min-height:32px;padding:6px 9px;font-size:10px}.match-answer .compact-button{min-height:31px;padding:6px 10px;font-size:9px}.match-answer .text-button{font-size:9px}.item-line[data-match-state="matched"]{border-color:var(--ml-line-strong);background:var(--ml-surface)}.item-line[data-match-state="needs-brand"],.item-line[data-match-state="needs-review"]{border-color:#e1c98f}.item-line[data-match-state="not-found"],.item-line[data-match-state="error"]{border-color:#e2bdb7}
