.sidebar{overflow:auto}.sidebar #navigation{padding-bottom:16px}.navitem{width:100%;cursor:pointer!important;font-size:12px;min-height:29px;padding-top:5px;padding-bottom:5px}.navgroup{padding-top:10px}.brand{padding-top:17px;padding-bottom:13px}.navfoot{position:sticky;bottom:0;background:#15263b}.navfoot button{color:#c6d5e5;background:transparent;font-size:11px;border-color:#49617a;margin-top:8px}.pageactions{display:flex;gap:7px;flex-wrap:wrap}.filters .grid{grid-template-columns:repeat(6,minmax(0,1fr))}.filters .checks{display:flex;flex-wrap:wrap;gap:16px;margin-top:12px}.filters .radios{font-size:12px}.tablewrap{max-height:none}.resultbar{position:relative}.resultbar>div{min-width:0}.searchtable th{white-space:normal;min-width:75px}.searchtable th:first-child{min-width:32px}.searchtable td{font-size:12px}.searchtable tbody tr:hover:not(.vp-row):not(.group){background:var(--stripe)}.field textarea{height:80px}.doc-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px;padding:15px;background:var(--panel);border:1px solid var(--line);border-radius:6px;margin-bottom:15px}.doc-summary label{color:var(--muted);font-size:11px;display:block;margin-bottom:5px}.doc-summary strong{font-size:13px;overflow-wrap:anywhere}.record-section{padding:16px;border:1px solid var(--line);border-radius:6px;background:var(--panel);margin:14px 0}.record-section h2{display:flex;justify-content:space-between;align-items:center;gap:10px}.record-grid{display:grid;grid-template-columns:1fr 2fr;gap:15px;align-items:start}.record-grid .record-section{margin:0}.facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.facts p{margin:3px 0;overflow-wrap:anywhere}.facts label{color:var(--muted);font-size:11px}.stack{display:grid;gap:15px}.mini-table{overflow:auto}.mini-table table{min-width:650px;font-size:12px}.mini-table th{background:var(--head);color:#fff;padding:9px}.mini-table td{padding:9px}.muted{color:var(--muted)}.groupmain strong a{font-weight:650}.substatus{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.substatus button.active{color:var(--blue);border-color:var(--blue);background:var(--group)}.substatus button{font-size:12px}.purchasers{position:relative}.purchasers summary{cursor:pointer;color:var(--blue);white-space:nowrap;list-style:none}.people-list{position:absolute;right:0;top:25px;background:var(--panel);border:1px solid var(--line);padding:12px;z-index:5;min-width:220px;box-shadow:0 8px 24px #0002;border-radius:5px;font-size:12px}.people-list p{margin:5px 0}.purchasers:hover .people-hover{display:block}.people-hover{display:none;position:absolute;right:0;top:20px;background:var(--panel);border:1px solid var(--line);padding:10px;z-index:5;min-width:230px;box-shadow:0 6px 20px #0002}.briefbox{background:var(--stripe);padding:12px;border-left:3px solid var(--blue);margin:10px 0}.briefbox .facts{grid-template-columns:repeat(3,minmax(0,1fr))}.warningtext{color:light-dark(#8e4714,#ffbe91)}.dialogbody{max-height:70vh;overflow:auto}dialog{width:min(1000px,calc(100% - 28px))}dialog .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.full{grid-column:1/-1}dialog .dialogfoot{position:sticky;bottom:0;background:var(--panel);padding:12px 0 0}.dialogline{border:1px solid var(--line);border-radius:5px;padding:12px;margin:12px 0}.dialogline .grid{grid-template-columns:repeat(4,minmax(0,1fr))}.checkgroup{display:flex;gap:15px;flex-wrap:wrap}.field small{font-weight:400}.activity{padding:10px 0;border-bottom:1px solid var(--line);font-size:12px}.totals{margin:16px 0 0 auto;max-width:320px}.totals div{display:flex;justify-content:space-between;gap:30px;padding:6px;border-bottom:1px solid var(--line)}.workflow-frame{border:0;width:100%;height:calc(100vh - 110px);min-height:700px;background:var(--bg)}.approval{display:flex;align-items:center;gap:9px;margin-top:8px}.upload-list{font-size:12px;line-height:1.8}.fileinput{max-width:100%;padding:6px}.brief-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.calendar{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));background:var(--panel);border:1px solid var(--line)}.calendar>div{padding:10px;border:1px solid var(--line);min-height:110px}.calendar>div.dayname{min-height:0;background:var(--group);font-weight:600}.event{display:block;font-size:11px;margin-top:7px;background:var(--group);padding:5px;color:var(--blue);text-align:left;width:100%;white-space:normal}.tabempty{padding:30px 15px;color:var(--muted);text-align:center}.vp-shell{width:var(--vp-width,100%)}.vp-table table{min-width:1100px}.part-toggle{white-space:nowrap}.rowlink{border:0;background:transparent;color:var(--blue);padding:0;min-height:0;font-weight:400;text-align:left}.readonlynote{font-size:11px;color:var(--muted);margin-top:8px}.filter-chip{font-size:12px;color:var(--muted)}.compactfilters{margin-bottom:8px}.tiny{font-size:11px}.recordtabs{overflow:auto;flex-wrap:nowrap}.recordtabs button{flex-shrink:0}.form-help{font-size:12px;color:var(--muted);margin-bottom:14px}.badge{padding:3px 6px;background:var(--group);border-radius:4px;font-size:11px}.selectedline td{background:var(--group)}

/* T2827: page content follows the width #content has (container "main", base.css), not the viewport; the @media copy keeps dialogs/menus outside #content on the viewport */
@container main (max-width:956px){.filters .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.doc-summary{grid-template-columns:repeat(3,minmax(0,1fr))}.record-grid{grid-template-columns:1fr}.facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1200px){.filters .grid:where(:not(#content *)){grid-template-columns:repeat(3,minmax(0,1fr))}.doc-summary:where(:not(#content *)){grid-template-columns:repeat(3,minmax(0,1fr))}.record-grid:where(:not(#content *)){grid-template-columns:1fr}.facts:where(:not(#content *)){grid-template-columns:repeat(3,minmax(0,1fr))}}

@media (max-width:760px){dialog .grid,dialog .dialogline .grid{grid-template-columns:1fr}.navitem{min-height:38px}.navfoot{position:static}}
@container main (max-width:736px){.filters .grid,.doc-summary,.facts,.briefbox .facts{grid-template-columns:repeat(2,minmax(0,1fr))}.titlebar{flex-wrap:wrap}.pageactions{width:100%}.record-grid{display:block}.record-grid .record-section{margin-bottom:15px}.field input,.field select,.field textarea{font-size:16px;min-height:40px}.calendar{min-width:850px}.calendarwrap{overflow:auto}.workflow-frame{min-height:800px}.vp-shell .bulk{gap:6px}.bulk button{font-size:12px}.groupmain .total{margin-left:0}.record-section{padding:12px}}
@media (max-width:760px){.filters .grid:where(:not(#content *)),.doc-summary:where(:not(#content *)),.facts:where(:not(#content *)),.briefbox .facts:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}.titlebar:where(:not(#content *)){flex-wrap:wrap}.pageactions:where(:not(#content *)){width:100%}.record-grid:where(:not(#content *)){display:block}.record-grid .record-section:where(:not(#content *)){margin-bottom:15px}.field input:where(:not(#content *)),.field select:where(:not(#content *)),.field textarea:where(:not(#content *)){font-size:16px;min-height:40px}.calendar:where(:not(#content *)){min-width:850px}.calendarwrap:where(:not(#content *)){overflow:auto}.workflow-frame:where(:not(#content *)){min-height:800px}.vp-shell .bulk:where(:not(#content *)){gap:6px}.bulk button:where(:not(#content *)){font-size:12px}.groupmain .total:where(:not(#content *)){margin-left:0}.record-section:where(:not(#content *)){padding:12px}}

#modalbody{max-height:75vh;overflow:auto;padding:0 2px}#formerror{color:light-dark(#b22121,#ffaaaa);padding-top:8px}.checkgroup{margin:15px 0}.check{white-space:normal}#importpreview{max-height:350px;overflow:auto}.dialogline h3{display:flex;justify-content:space-between;margin:0 0 10px}.purchasers .people-list{z-index:6}.searchtable{min-width:1080px}.record-section .mini-table table{min-width:650px}#editform>hr{border:0;border-top:1px solid var(--line);margin:16px 0}.back{margin-top:0}

.record-grid{grid-template-columns:minmax(0,1fr) minmax(0,2fr)}.record-grid>*{min-width:0}.facts>*{min-width:0}.record-section,.stack{min-width:0}.record-grid .facts{grid-template-columns:repeat(2,minmax(0,1fr))}.record-section .mini-table{max-width:100%}

.focus-record>td{background:var(--group);border-top:2px solid var(--blue);border-bottom:2px solid var(--blue)}

.record-section:has(>table){overflow:auto}

@container main (max-width:956px){.record-grid{grid-template-columns:1fr}}
@media (max-width:1200px){.record-grid:where(:not(#content *)){grid-template-columns:1fr}}

@media(min-width:761px){.nav-open .sidebar{display:none}.nav-open main{margin-left:0}}

@media (max-width:760px){.nav-open .sidebar{display:flex}.top .crumb{display:inline-block;max-width:230px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle}#modalbody{max-height:72vh}.nav-open main{margin-left:0}}
@container main (max-width:736px){.record-section h2{flex-wrap:wrap}.facts{grid-template-columns:1fr 1fr}.doc-summary{gap:10px}.sample{display:none}.dialogline h3{font-size:14px}}
@media (max-width:760px){.record-section h2:where(:not(#content *)){flex-wrap:wrap}.facts:where(:not(#content *)){grid-template-columns:1fr 1fr}.doc-summary:where(:not(#content *)){gap:10px}.sample:where(:not(#content *)){display:none}.dialogline h3:where(:not(#content *)){font-size:14px}}

.top>div:first-child{min-width:0;flex:1}.header-tools{display:flex;align-items:center;gap:16px;flex-shrink:0}.top .crumb{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;vertical-align:middle;display:inline-block;max-width:calc(100% - 50px)}

.theme-toggle{position:relative;display:inline-flex;align-items:center;justify-content:space-around;width:80px;height:40px;min-height:40px;padding:0;flex-shrink:0;border-radius:24px;background:light-dark(#dae5f1,#101b29);border:1px solid var(--line);color:var(--muted)}

.theme-toggle::before{content:"";position:absolute;left:3px;top:3px;width:32px;height:32px;border-radius:50%;background:light-dark(#fff,#43678e);box-shadow:0 1px 4px #0003;transition:transform .16s ease}

.theme-toggle[aria-checked="true"]::before{transform:translateX(40px)}

.theme-toggle svg{position:relative;z-index:1;width:20px;height:20px;pointer-events:none}

.theme-toggle[aria-checked="false"] .theme-sun{color:#8b5600}.theme-toggle[aria-checked="true"] .theme-moon{color:#fff}

@media(prefers-reduced-motion:reduce){.theme-toggle::before{transition:none}}

@media(max-width:760px){.header-tools{gap:6px}.header-tools .avatar{margin:0}.top{gap:6px}.top .crumb{max-width:calc(100% - 42px)}}

.search-controls{background:var(--panel);border:1px solid var(--line);border-radius:7px;margin-bottom:10px;padding:12px}

.search-controls .filters{padding:0;border:0;border-radius:0;background:transparent}

.search-controls .grid{align-items:end;gap:10px 12px}

.search-controls .filter-options{grid-column:span 2;align-self:end;min-height:49px}

.search-controls .filter-options.wide-options{grid-column:span 4}

.search-controls .radios{min-height:34px;align-items:center;gap:5px 12px}

.search-controls .filter-checks{grid-column:span 2;display:flex;flex-wrap:wrap;gap:5px 14px;align-items:center;align-content:center;min-height:49px;font-size:12px}

.filter-toolbar{display:flex;align-items:center;justify-content:space-between;gap:8px 16px;padding-top:9px;margin-top:10px;border-top:1px solid var(--line)}

.filters[hidden]+.filter-toolbar{padding-top:0;margin-top:0;border-top:0}

.filter-context{display:flex;flex-wrap:wrap;align-items:center;gap:4px 12px;min-width:0}

.filter-context strong{font-size:13px;white-space:nowrap}.filter-context small{color:var(--muted);font-size:11px}

.filter-context .filtersummary{font-size:11px;overflow-wrap:anywhere}

.filter-toolbar .actionsright{flex-shrink:0;align-items:center}

@container main (width>736px) and (max-width:956px){.search-controls .filter-options.wide-options{grid-column:span 3}.search-controls .filter-options,.search-controls .filter-checks{grid-column:span 3}}
@media (min-width:761px) and (max-width:1200px){.search-controls .filter-options.wide-options:where(:not(#content *)){grid-column:span 3}.search-controls .filter-options:where(:not(#content *)),.search-controls .filter-checks:where(:not(#content *)){grid-column:span 3}}

@container main (max-width:736px){.search-controls{padding:10px}.search-controls .filter-options,.search-controls .filter-options.wide-options,.search-controls .filter-checks{grid-column:span 2;min-height:0}.search-controls .radios{min-height:36px}.filter-toolbar{flex-wrap:wrap}.filter-toolbar .actionsright{margin-left:auto}.filter-context small{flex-basis:100%}.search-controls .filter-checks{gap:4px 12px}}
@media (max-width:760px){.search-controls:where(:not(#content *)){padding:10px}.search-controls .filter-options:where(:not(#content *)),.search-controls .filter-options.wide-options:where(:not(#content *)),.search-controls .filter-checks:where(:not(#content *)){grid-column:span 2;min-height:0}.search-controls .radios:where(:not(#content *)){min-height:36px}.filter-toolbar:where(:not(#content *)){flex-wrap:wrap}.filter-toolbar .actionsright:where(:not(#content *)){margin-left:auto}.filter-context small:where(:not(#content *)){flex-basis:100%}.search-controls .filter-checks:where(:not(#content *)){gap:4px 12px}}



/* Search fields use widths appropriate to their content. */

.search-controls .grid{display:flex;flex-wrap:wrap;align-items:flex-end}

.search-controls .grid>.field{flex:1 1 185px;min-width:0;max-width:320px}

.search-controls .grid>.field:has(input[type="date"]){flex:0 0 140px}

.search-controls .grid>.field:has(select[name="limit"]){flex:0 0 108px}

.search-controls .grid>.field:has(input[name="mfr"]){max-width:260px}

.search-controls .filter-options{flex:1 1 260px;min-width:0}

.search-controls .filter-options.wide-options{flex-basis:500px}

.search-controls .filter-checks{flex:1 1 350px}

@container main (max-width:736px){

 .search-controls .grid>.field{flex:1 1 calc(50% - 6px);max-width:none}

 .search-controls .grid>.field:has(input[name="mfr"]){max-width:none}

 .search-controls .grid>.field:has(input[type="date"]){flex:0 1 150px}

 .search-controls .grid>.field:has(select[name="limit"]){flex:0 0 108px}

 .search-controls .filter-options,.search-controls .filter-options.wide-options,.search-controls .filter-checks{flex:1 1 100%}

}
@media (max-width:760px){.search-controls .grid>.field:where(:not(#content *)){flex:1 1 calc(50% - 6px);max-width:none}.search-controls .grid>.field:has(input[name="mfr"]):where(:not(#content *)){max-width:none}.search-controls .grid>.field:has(input[type="date"]):where(:not(#content *)){flex:0 1 150px}.search-controls .grid>.field:has(select[name="limit"]):where(:not(#content *)){flex:0 0 108px}.search-controls .filter-options:where(:not(#content *)),.search-controls .filter-options.wide-options:where(:not(#content *)),.search-controls .filter-checks:where(:not(#content *)){flex:1 1 100%}}



.floating-field{position:relative;display:block;padding-top:0;margin-top:6px}

.floating-field input,.floating-field select{height:40px;padding:9px 10px}

.floating-field textarea{padding:11px 10px}

.floating-field .field-label{position:absolute;left:10px;top:11px;max-width:calc(100% - 36px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;pointer-events:none;font-size:13px;font-weight:400;line-height:18px;color:var(--muted);transition:top .12s,font-size .12s}

.floating-field:focus-within .field-label,.floating-field.has-value .field-label{top:-8px;left:7px;padding:0 4px;font-size:11px;line-height:16px;background:var(--panel)}

.floating-field:focus-within .field-label{color:var(--blue)}

.floating-field:not(.has-value):not(:focus-within) select{color:transparent}

.floating-field select option{color:var(--text);background:var(--panel)}

.floating-field:not(.has-value):not(:focus-within) input[type="date"]::-webkit-datetime-edit{visibility:hidden}

.search-controls .filter-options,.search-controls .filter-checks{min-height:40px}

@container main (max-width:736px){.floating-field .field-label{font-size:16px}.floating-field:focus-within .field-label,.floating-field.has-value .field-label{font-size:11px}}
@media (max-width:760px){.floating-field .field-label:where(:not(#content *)){font-size:16px}.floating-field:focus-within .field-label:where(:not(#content *)),.floating-field.has-value .field-label:where(:not(#content *)){font-size:11px}}

@media(prefers-reduced-motion:reduce){.floating-field .field-label{transition:none}}

.floating-field:focus-within .field-label,.floating-field.has-value .field-label{max-width:calc(100% - 14px)}

.floating-field select{appearance:none;padding-right:28px}

.floating-field:has(>select)::after{content:"";position:absolute;right:13px;top:16px;width:6px;height:6px;border-right:1.5px solid var(--muted);border-bottom:1.5px solid var(--muted);transform:rotate(45deg);pointer-events:none}



/* Shared customer/contact row stays in the same position on sales searches. */

.search-controls .search-identity-row{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 12px;flex:0 0 100%;min-width:0}

.search-identity-row>.field{min-width:0}

.search-controls .search-identity-row.five-fields{grid-template-columns:repeat(5,minmax(0,1fr))}

@container main (width>736px) and (max-width:956px){.search-controls .search-identity-row,.search-controls .search-identity-row.five-fields{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (min-width:761px) and (max-width:1200px){.search-controls .search-identity-row:where(:not(#content *)),.search-controls .search-identity-row.five-fields:where(:not(#content *)){grid-template-columns:repeat(3,minmax(0,1fr))}}

@container main (max-width:736px){.search-controls .search-identity-row,.search-controls .search-identity-row.five-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.search-controls .search-identity-row:where(:not(#content *)),.search-controls .search-identity-row.five-fields:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}}

@container main (width>736px){.search-controls .grid:has(>.search-identity-row)>.field:nth-child(-n+4){flex:0 1 200px;max-width:200px}}
@media (min-width:761px){.search-controls .grid:has(>.search-identity-row)>.field:nth-child(-n+4):where(:not(#content *)){flex:0 1 200px;max-width:200px}}

.contact-heading{display:flex;justify-content:space-between;gap:12px;align-items:center;margin:6px 0 0}

.contact-heading h1{font-size:24px;margin:5px 0 0}.contact-company{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:14px}

.contact-company>a{font-weight:650}.contact-detail-toggle{margin:4px 0 8px}.contact-detail-toggle button{padding-left:0;font-size:12px}

.contact-rating{white-space:nowrap;font-size:18px;letter-spacing:1px;color:var(--muted);line-height:1}.contact-rating>span{color:light-dark(#ad6d00,#ffc75c)}

.danger-text{color:light-dark(#a92e30,#ffb0b0)}

.contact-overview{display:grid;grid-template-columns:minmax(285px,1fr) minmax(0,2.3fr);gap:12px;align-items:start}

.contact-left,.contact-right{display:grid;gap:12px;min-width:0}.contact-channels{display:grid;grid-template-columns:1fr 1fr;gap:12px;min-width:0}

.contact-card{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:12px;min-width:0}

.contact-card h2{font-size:13px;display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}

.contact-card h2 button{font-size:11px;min-height:27px;padding:4px 8px}

.contact-facts{margin:0;font-size:12px}.contact-facts>div{display:grid;grid-template-columns:155px 1fr;gap:8px;align-items:baseline;padding:4px 0;border-bottom:1px solid var(--stripe)}

.contact-facts>div:last-child{border-bottom:0}.contact-facts dt{color:var(--muted)}.contact-facts dd{margin:0;overflow-wrap:anywhere}

.contact-empty{color:var(--muted);padding:13px 8px;font-size:12px;margin:0;text-align:left}

.contact-notes{max-height:155px;overflow:auto}.contact-note{position:relative;padding:4px 50px 10px 0;border-bottom:1px solid var(--line)}.contact-note p{white-space:pre-wrap;margin:0 0 5px}.contact-note small{color:var(--muted)}.contact-note button{position:absolute;right:0;top:4px;font-size:11px;min-height:26px;padding:3px 7px}

.contact-channel-list{max-height:150px;overflow:auto}.contact-channel{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 0;border-top:1px solid var(--line);font-size:12px}.contact-channel>div:first-child{min-width:0}.contact-channel a{overflow-wrap:anywhere}.contact-channel small{display:block;color:var(--muted);font-size:11px;margin-bottom:2px}

.channel-actions{display:flex;gap:3px;align-items:center;flex-shrink:0}.channel-actions button{font-size:11px;min-height:27px;padding:3px 7px}.channel-actions .is-primary{color:light-dark(#a76a00,#ffcf69);font-size:17px}

.contact-task-filters{display:flex;gap:18px;padding:0 0 8px;font-size:12px}.contact-task-group{border-top:1px solid var(--line)}.contact-task-group summary{background:var(--stripe);padding:8px;font-weight:600;font-size:12px;cursor:pointer}.contact-task-group summary span{font-weight:400;color:var(--muted)}

.contact-task-list{max-height:210px;overflow:auto}.contact-task-row{display:grid;grid-template-columns:75px minmax(130px,1fr) minmax(120px,1.2fr) 95px 16px;align-items:center;width:100%;border:0;border-radius:0;border-bottom:1px solid var(--line);background:transparent;text-align:left;font-size:11px;font-weight:400;gap:8px;padding:9px 7px}.contact-task-row>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.contact-task-row strong{font-weight:500}.contact-task-row time{color:var(--muted)}

.contact-tabs{margin:14px 0 0;gap:0;flex-wrap:nowrap}.contact-tabs button{font-size:12px;padding:10px 12px;flex-shrink:0}

.contact-transactions{background:var(--panel);padding:12px;border:1px solid var(--line);border-radius:0 0 6px 6px;min-width:0}

.contact-transaction-tools{display:flex;align-items:center;gap:16px;margin:0 0 10px;flex-wrap:wrap}.contact-transaction-tools>.field{width:108px;flex-shrink:0}.contact-transaction-tools .checkgroup{margin:0;font-size:12px}.contact-record-search{margin-left:auto;width:230px}.contact-record-search>.field{min-width:0}

.contact-tablewrap{max-height:440px!important;min-height:0}.contact-document-table{min-width:1250px}.contact-document-table th{padding:9px 7px}.contact-document-table td{padding:10px 7px;font-size:12px}.contact-document-table td.notes{min-width:150px}.contact-transactions .bulk{margin-top:6px;padding:10px 0 0}.contact-transactions .bulk button{font-size:11px}.contact-transactions .footer{margin-bottom:4px}

.contact-dialog-search{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:18px}.contact-dialog-search>.field{flex:1 1 220px;min-width:0}.contact-dialog-search button{height:40px}

.contact-match-table{overflow:auto;max-height:330px;margin-top:12px;border:1px solid var(--line);border-radius:5px}.contact-match-table table{min-width:660px;font-size:12px}.contact-match-table th{padding:9px}.contact-match-table td{overflow-wrap:anywhere;max-width:300px;vertical-align:middle}.contact-match-table tbody tr:nth-child(even){background:var(--stripe)}

.contact-form-company{padding:9px 12px;background:var(--stripe);border-radius:5px;margin:0 0 16px;font-size:12px}

@container main (max-width:856px){.contact-overview{grid-template-columns:minmax(260px,.9fr) minmax(0,1.5fr)}.contact-channels{grid-template-columns:1fr}.contact-task-row{grid-template-columns:65px minmax(90px,1fr) 100px}.contact-task-row>span:nth-child(2){display:none}.contact-task-row strong{grid-column:2;grid-row:1}.contact-task-row time{grid-column:3;grid-row:1}.contact-task-row>span:last-child:not(:nth-child(2)){grid-column:3}}
@media (max-width:1100px){.contact-overview:where(:not(#content *)){grid-template-columns:minmax(260px,.9fr) minmax(0,1.5fr)}.contact-channels:where(:not(#content *)){grid-template-columns:1fr}.contact-task-row:where(:not(#content *)){grid-template-columns:65px minmax(90px,1fr) 100px}.contact-task-row>span:nth-child(2):where(:not(#content *)){display:none}.contact-task-row strong:where(:not(#content *)){grid-column:2;grid-row:1}.contact-task-row time:where(:not(#content *)){grid-column:3;grid-row:1}.contact-task-row>span:last-child:not(:nth-child(2)):where(:not(#content *)){grid-column:3}}

@container main (max-width:736px){.contact-heading{align-items:flex-start;flex-wrap:wrap}.contact-heading h1{font-size:22px}.contact-company{font-size:13px}.contact-heading .pageactions{width:auto}.contact-overview{display:flex;flex-direction:column}.contact-left,.contact-right{width:100%}.contact-channels{grid-template-columns:1fr}.contact-facts>div{grid-template-columns:150px 1fr}.contact-card{padding:10px}.contact-card h2 button,.channel-actions button{min-height:36px}.contact-tabs{max-width:100%;overflow:auto}.contact-transaction-tools{gap:10px}.contact-record-search{margin:0;width:100%}.contact-transactions{padding:8px}.contact-transaction-tools .checkgroup{gap:8px}.contact-detail-toggle button{min-height:40px}.contact-task-row{min-height:42px}}
@media (max-width:760px){.contact-heading:where(:not(#content *)){align-items:flex-start;flex-wrap:wrap}.contact-heading h1:where(:not(#content *)){font-size:22px}.contact-company:where(:not(#content *)){font-size:13px}.contact-heading .pageactions:where(:not(#content *)){width:auto}.contact-overview:where(:not(#content *)){display:flex;flex-direction:column}.contact-left:where(:not(#content *)),.contact-right:where(:not(#content *)){width:100%}.contact-channels:where(:not(#content *)){grid-template-columns:1fr}.contact-facts>div:where(:not(#content *)){grid-template-columns:150px 1fr}.contact-card:where(:not(#content *)){padding:10px}.contact-card h2 button:where(:not(#content *)),.channel-actions button:where(:not(#content *)){min-height:36px}.contact-tabs:where(:not(#content *)){max-width:100%;overflow:auto}.contact-transaction-tools:where(:not(#content *)){gap:10px}.contact-record-search:where(:not(#content *)){margin:0;width:100%}.contact-transactions:where(:not(#content *)){padding:8px}.contact-transaction-tools .checkgroup:where(:not(#content *)){gap:8px}.contact-detail-toggle button:where(:not(#content *)){min-height:40px}.contact-task-row:where(:not(#content *)){min-height:42px}}



.contact-task-row{grid-template-columns:75px minmax(130px,1fr) minmax(120px,1.2fr) 155px 16px}

@container main (max-width:856px){.contact-task-list{overflow:auto}.contact-task-row{min-width:680px;grid-template-columns:75px minmax(130px,1fr) minmax(120px,1.2fr) 155px 16px}.contact-task-row>span:nth-child(2){display:block}.contact-task-row strong,.contact-task-row time,.contact-task-row>span:last-child:not(:nth-child(2)){grid-column:auto;grid-row:auto}}
@media (max-width:1100px){.contact-task-list:where(:not(#content *)){overflow:auto}.contact-task-row:where(:not(#content *)){min-width:680px;grid-template-columns:75px minmax(130px,1fr) minmax(120px,1.2fr) 155px 16px}.contact-task-row>span:nth-child(2):where(:not(#content *)){display:block}.contact-task-row strong:where(:not(#content *)),.contact-task-row time:where(:not(#content *)),.contact-task-row>span:last-child:not(:nth-child(2)):where(:not(#content *)){grid-column:auto;grid-row:auto}}



.contact-identities{display:flex;align-items:center;gap:28px;flex-wrap:wrap;min-width:0}

.contact-heading .contact-company,.contact-heading h1{font-size:24px;font-weight:700;line-height:1.25;margin:0}

.contact-heading .contact-company>a{font-weight:700}

.contact-heading .contact-company button{font-size:12px}

@container main (max-width:736px){.contact-identities{gap:10px}.contact-heading .contact-company,.contact-heading h1{font-size:22px}}
@media (max-width:760px){.contact-identities:where(:not(#content *)){gap:10px}.contact-heading .contact-company:where(:not(#content *)),.contact-heading h1:where(:not(#content *)){font-size:22px}}



.contact-page>.contact-heading{margin:0 0 16px}

.company-page .company-note{font-size:12px;margin:0;white-space:pre-wrap;overflow-wrap:anywhere}

.company-page .contact-company{display:flex;align-items:center;gap:12px;flex-wrap:wrap}

.company-page .mini-table{overflow-x:auto}

.record-page-size{display:flex;align-items:center;gap:8px;font-size:12px;white-space:nowrap}

.record-page-size select{width:68px;min-height:36px;padding:6px 8px;background:var(--panel);color:var(--text);border:1px solid var(--line);border-radius:5px;font:inherit}

.contact-record-search{width:300px;max-width:100%}

@container main (max-width:736px){.record-page-size select{min-height:40px}.contact-record-search{width:100%}}
@media (max-width:760px){.record-page-size select:where(:not(#content *)){min-height:40px}.contact-record-search:where(:not(#content *)){width:100%}}

.company-domain-alias-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0}

@container main (max-width:736px){.company-domain-alias-row{grid-template-columns:1fr}}
@media (max-width:760px){.company-domain-alias-row:where(:not(#content *)){grid-template-columns:1fr}}

.company-page .contact-card .tabempty{padding:8px 0}

.company-page #recordbody>.record-section{padding:0;border:0;border-radius:0;margin:0;box-shadow:none}

.company-page #recordbody h2{font-size:13px;display:flex;align-items:center;justify-content:space-between;margin:0 0 8px}

.company-page #recordbody h2 button{font-size:11px;min-height:27px;padding:4px 8px}

.company-page #recordbody .facts{display:grid;grid-template-columns:1fr;gap:0;padding:0;font-size:12px}

.company-page #recordbody .facts>div{display:grid;grid-template-columns:155px 1fr;gap:8px;padding:4px 0;border-bottom:1px solid var(--stripe)}

/* Shared compact contact communication dialogs. */

#modal:has(.rfq-form){width:min(1280px,calc(100% - 28px));padding:16px}

#modal:has(.rfq-form) .dialoghead{margin-bottom:12px;padding:0}

#modal:has(.rfq-form) #modalbody{max-height:calc(100dvh - 130px);padding-top:7px}

.rfq-form-header{display:grid;grid-template-columns:1.2fr 1.1fr 1.5fr 1fr 1fr 1fr;gap:10px}

.rfq-header-readonly>div{min-width:0;display:grid;align-content:start;gap:4px}

.rfq-header-label{font-size:11px;color:var(--muted);font-weight:600}

.rfq-header-value{font-size:13px;overflow-wrap:anywhere}

.rfq-header-readonly select{width:100%;min-width:0;height:32px;padding:4px 8px;font-size:13px}

.searchtable td.part,.vp-table td.part{white-space:nowrap;max-width:none;overflow:visible}

.table-nowrap{white-space:nowrap}

.searchtable td.part a,.searchtable td.part .part-toggle,.vp-table td.part{white-space:nowrap;overflow:visible;text-overflow:clip}

.searchtable td.notes,.contact-document-table td.notes,.vp-table td.notes{width:100%;min-width:150px;max-width:0;white-space:nowrap}

.note-preview{display:block;width:100%;min-width:0;min-height:0;padding:0;border:0;border-radius:0;background:transparent;color:inherit;font:inherit;text-align:left;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;cursor:help}

.table-note-tooltip{position:fixed;z-index:1000;max-width:min(480px,calc(100vw - 16px));max-height:calc(100dvh - 16px);overflow:auto;padding:10px 12px;border:1px solid var(--line);border-radius:5px;background:var(--panel);color:var(--text);box-shadow:0 4px 18px #0003;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}

.rfq-form .field{min-width:0;margin:0}

.rfq-form .field input,.rfq-form .field select{height:36px;padding-top:7px;padding-bottom:7px}

.rfq-form .floating-field:has(>select)::after{top:14px}

.rfq-form>.rfq-header-divider{margin:16px 0 10px;border:0;border-top:1px solid var(--line)}

.rfq-form-section-title,.rfq-form-line-title{display:flex;align-items:center;justify-content:space-between;gap:10px}

.rfq-form-section-title{margin-bottom:8px}.rfq-form-section-title h3{font-size:13px;margin:0}

.rfq-customer-reference{display:flex;align-items:center;gap:10px;font-size:13px;font-weight:600;max-width:100%}

.rfq-customer-reference input{width:220px;min-width:0;height:32px;font-weight:400}

.rfq-add-line-row{display:flex;justify-content:flex-end}

.quote-reference{display:flex;gap:16px;align-items:center;font-size:12px;margin-bottom:12px;color:var(--muted)}

.quote-reference:empty{display:none}

.quote-document-fields{display:grid;grid-template-columns:1.2fr 1fr 1fr .6fr;gap:10px;margin:0 0 16px}

.quote-line-actions{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}

.quote-line-details,.quote-document-details{font-size:12px;color:var(--muted)}

.quote-line-details summary,.quote-document-details summary{cursor:pointer;padding:3px 0;width:fit-content}

.quote-additional-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px}

.quote-note-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin:12px 0}

.quote-form .quote-note-grid textarea{min-height:64px;height:64px}

.quote-files{display:inline-flex;align-items:center;gap:10px;margin-bottom:10px}

.quote-summary{display:flex;align-items:center;gap:10px;border-top:1px solid var(--line);padding:14px 0 12px;margin-top:10px}

.quote-summary>.field{width:140px}

#quote-total{display:flex;gap:24px;margin-left:auto;font-size:12px}

#quote-total span{display:flex;align-items:center;gap:10px}

#quote-total strong{font-size:15px}

@container main (max-width:736px){.quote-document-fields,.quote-additional-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-summary{flex-wrap:wrap}#quote-total{width:100%;margin-left:0;justify-content:space-between}.quote-note-grid{grid-template-columns:1fr}.quote-reference{flex-wrap:wrap}.quote-files{display:block}.quote-files input{max-width:100%}}
@media (max-width:760px){.quote-document-fields:where(:not(#content *)),.quote-additional-grid:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}.quote-summary:where(:not(#content *)){flex-wrap:wrap}#quote-total:where(:not(#content *)){width:100%;margin-left:0;justify-content:space-between}.quote-note-grid:where(:not(#content *)){grid-template-columns:1fr}.quote-reference:where(:not(#content *)){flex-wrap:wrap}.quote-files:where(:not(#content *)){display:block}.quote-files input:where(:not(#content *)){max-width:100%}}

.rfq-add-line-row button{min-height:30px;font-size:12px;padding:4px 10px}

.rfq-form .rfq-remove-line{display:grid;place-items:center;min-height:28px;width:28px;height:28px;padding:0;border:0;background:transparent;box-shadow:none;color:light-dark(#c62828,#ff8585);font-size:24px;line-height:1}

.rfq-form .rfq-remove-line:hover{background:#c6282814}

.rfq-form-line{display:grid;gap:10px;padding:10px;border:1px solid var(--line);border-radius:5px;background:var(--stripe);margin-bottom:10px;min-width:0}

.rfq-form-line-title{font-size:12px}

.rfq-internal-number{color:var(--muted);font-weight:400;margin-left:6px}

.rfq-line-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(240px,2fr);gap:12px}

.rfq-line-fields{display:grid;gap:14px;min-width:0}

.rfq-form-main,.rfq-form-commercial{display:grid;gap:10px;min-width:0}

.rfq-form-main{grid-template-columns:minmax(0,1.8fr) repeat(2,minmax(0,1fr))}

.rfq-form-commercial{grid-template-columns:minmax(0,1fr) minmax(0,1.4fr) minmax(0,1fr)}

.rfq-target-price{display:grid;grid-template-columns:minmax(0,1fr) 78px;gap:6px;min-width:0}

.rfq-form-requirements{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.8fr) minmax(0,1.5fr) minmax(0,.65fr);gap:10px}

.rfq-line-notes{display:flex;min-width:0}

.rfq-line-notes>.field{width:100%;display:flex}

.rfq-form .rfq-line-notes textarea{height:100%;min-height:136px;padding:8px 10px;resize:vertical;line-height:1.5}

.rfq-form #formerror:empty{display:none}.rfq-form .dialogfoot{padding-top:8px;margin-top:0}

@container main (max-width:756px){

 .rfq-form-header{grid-template-columns:repeat(3,minmax(0,1fr))}

 .rfq-line-layout{grid-template-columns:1fr}

 .rfq-form .rfq-line-notes textarea{height:72px;min-height:72px}

}
@media (max-width:1000px){.rfq-form-header:where(:not(#content *)){grid-template-columns:repeat(3,minmax(0,1fr))}.rfq-line-layout:where(:not(#content *)){grid-template-columns:1fr}.rfq-form .rfq-line-notes textarea:where(:not(#content *)){height:72px;min-height:72px}}

@media (max-width:520px){

 #modal:has(.rfq-form){padding:12px}

}
@container main (max-width:496px){

 .rfq-form-header{grid-template-columns:repeat(2,minmax(0,1fr))}

 .rfq-form-main,.rfq-form-commercial,.rfq-form-requirements{grid-template-columns:1fr}

 .rfq-form .field input,.rfq-form .field select{height:40px;font-size:16px}

 .rfq-form .floating-field:has(>select)::after{top:16px}

 .rfq-add-line-row button{min-height:38px}

 .rfq-form .rfq-remove-line{width:38px;height:38px}

}
@media (max-width:520px){.rfq-form-header:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}.rfq-form-main:where(:not(#content *)),.rfq-form-commercial:where(:not(#content *)),.rfq-form-requirements:where(:not(#content *)){grid-template-columns:1fr}.rfq-form .field input:where(:not(#content *)),.rfq-form .field select:where(:not(#content *)){height:40px;font-size:16px}.rfq-form .floating-field:has(>select):where(:not(#content *))::after{top:16px}.rfq-add-line-row button:where(:not(#content *)){min-height:38px}.rfq-form .rfq-remove-line:where(:not(#content *)){width:38px;height:38px}}

.contact-communication-link{overflow-wrap:anywhere;font:inherit;line-height:inherit}

.contact-communication-link:hover{text-decoration:underline}

#modal:has(.communication-dialog){width:min(920px,calc(100% - 28px));padding:14px}

#modal:has(.communication-dialog) .dialoghead{margin-bottom:10px;padding:0;min-height:28px}

#modal:has(.communication-dialog) .dialoghead h2{font-size:15px;margin:0}

#modal:has(.communication-dialog) #formerror:empty{display:none}

.communication-dialog{display:grid;grid-template-columns:minmax(0,1fr);gap:10px;min-width:0}

.communication-dialog>*{min-width:0;max-width:100%}

.communication-person{display:flex;align-items:center;gap:12px;background:var(--stripe);border:1px solid var(--line);border-radius:5px;padding:8px 10px}

.communication-person strong{font-size:14px;line-height:1.3}.communication-person a{text-decoration:none}

.communication-company{font-size:12px;margin-top:1px;color:var(--muted)}

.communication-channels{margin-left:auto;display:grid;gap:2px;font-size:12px;max-width:60%;overflow-wrap:anywhere}

.communication-channels>div>span{display:inline-block;width:40px;color:var(--muted)}

.communication-email-fields{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.communication-subject-row{display:grid;grid-template-columns:1fr 2fr;gap:10px}

.communication-dialog .field{margin:0;min-width:0}

.communication-dialog .field input,.communication-dialog .field select{height:34px;padding-top:6px;padding-bottom:6px}

.communication-dialog .floating-field:has(>select)::after{top:13px}

.communication-dialog textarea[name=body]{height:150px;min-height:100px;resize:vertical;line-height:1.5;padding:9px 10px}

.communication-call-notes{display:grid;grid-template-columns:1fr 1fr;gap:10px}

.communication-call-notes textarea{height:110px;min-height:70px;resize:vertical;line-height:1.5;padding:9px 10px}

.communication-call-outcomes{display:flex;gap:8px;flex-wrap:wrap}

.communication-call-outcomes .check{padding:5px 8px;border:1px solid var(--line);border-radius:4px;background:var(--panel);font-size:12px}

.communication-call-outcomes .check:has(input:checked){border-color:var(--blue);background:var(--stripe)}

.communication-attachments{display:flex;align-items:center;gap:8px;font-size:11px;min-width:0}

.communication-attach{cursor:pointer;display:inline-flex;align-items:center;padding:6px 9px;border:1px solid var(--line);border-radius:4px;font-weight:600;white-space:nowrap;min-height:31px}

.communication-attach:hover{background:var(--stripe)}

.communication-file-list{color:var(--muted);overflow-wrap:anywhere}

.communication-footer{display:flex;justify-content:space-between;align-items:center;gap:10px;border-top:1px solid var(--line);padding-top:8px}

.communication-footer .pageactions{justify-content:flex-end;flex-shrink:0;gap:6px}

.communication-footer button{min-height:31px;padding:5px 9px;font-size:12px}

.communication-prototype-note{font-size:10px;color:var(--muted);line-height:1.2}

@container main (max-width:736px){

 .communication-person{flex-wrap:wrap}.communication-channels{margin:0;width:100%;max-width:100%}

 .communication-email-fields,.communication-subject-row,.communication-call-notes{grid-template-columns:1fr}

 .communication-footer{flex-wrap:wrap}.communication-footer .pageactions{width:100%}

 .communication-dialog .field input,.communication-dialog .field select{height:40px;font-size:16px}

 .communication-dialog .floating-field:has(>select)::after{top:16px}

 .communication-dialog textarea[name=body]{height:140px}

 .communication-dialog .rowlink{min-height:28px}.communication-call-outcomes .check{min-height:36px}

 .communication-footer button,.communication-attach{min-height:38px}

 .communication-attachments{align-items:center}

}
@media (max-width:760px){.communication-person:where(:not(#content *)){flex-wrap:wrap}.communication-channels:where(:not(#content *)){margin:0;width:100%;max-width:100%}.communication-email-fields:where(:not(#content *)),.communication-subject-row:where(:not(#content *)),.communication-call-notes:where(:not(#content *)){grid-template-columns:1fr}.communication-footer:where(:not(#content *)){flex-wrap:wrap}.communication-footer .pageactions:where(:not(#content *)){width:100%}.communication-dialog .field input:where(:not(#content *)),.communication-dialog .field select:where(:not(#content *)){height:40px;font-size:16px}.communication-dialog .floating-field:has(>select):where(:not(#content *))::after{top:16px}.communication-dialog textarea[name=body]:where(:not(#content *)){height:140px}.communication-dialog .rowlink:where(:not(#content *)){min-height:28px}.communication-call-outcomes .check:where(:not(#content *)){min-height:36px}.communication-footer button:where(:not(#content *)),.communication-attach:where(:not(#content *)){min-height:38px}.communication-attachments:where(:not(#content *)){align-items:center}}



.quote-document-fields:has([name=company]){grid-template-columns:1.2fr 1fr 1fr .6fr 1fr}

@container main (max-width:736px){.quote-document-fields:has([name=company]){grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.quote-document-fields:has([name=company]):where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Shared dedicated-page and modal quote workflow. */

#modal.quote-workspace-modal{width:min(1440px,calc(100% - 28px));padding:16px}

#modal.quote-workspace-modal #modalbody{max-height:calc(100dvh - 110px);overflow:auto}

#modal.quote-workspace-modal .dialoghead{margin-bottom:10px}

.qw-workspace{min-width:0;color:var(--text);font-size:13px}

.qw-page{background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:16px}

.qw-title,.qw-title>div{display:flex;align-items:center;gap:14px}

.qw-title{justify-content:space-between;margin-bottom:16px}.qw-title h1{margin:0;font-size:22px}.qw-title span{font-size:12px;color:var(--muted)}

.qw-workspace .rfq-form-header{border-bottom:1px solid var(--line);padding-bottom:14px}

.qw-steps{display:flex;gap:18px;border-bottom:1px solid var(--line);margin-bottom:12px}

.qw-steps button{border:0;border-bottom:3px solid transparent;background:none;border-radius:0;padding:12px 3px 9px;font-size:13px;color:var(--muted)}

.qw-steps button.active{border-bottom-color:var(--blue,#086bbf);color:var(--text)}

.qw-steps b{display:inline-grid;place-items:center;border:1px solid var(--line);width:23px;height:23px;border-radius:50%;margin-right:6px}.qw-steps .active b{background:var(--blue,#086bbf);color:#fff;border-color:transparent}.qw-steps span{margin-left:6px;font-size:11px}

.qw-line-nav{display:flex;gap:6px;overflow:auto;margin-bottom:12px;padding-bottom:3px}.qw-line-nav button{white-space:nowrap;font-size:12px;padding:6px 10px;min-height:30px}.qw-line-nav button.active{border-color:var(--blue,#086bbf);color:var(--blue,#086bbf);background:var(--stripe)}.qw-line-nav span{font-size:10px;color:var(--muted);margin-right:5px}

.qw-line{padding:12px}.qw-request{display:flex;align-items:center;gap:12px;color:var(--muted);font-size:12px}

.qw-line-body{display:grid;grid-template-columns:minmax(0,2fr) minmax(300px,1fr);gap:16px}

.qw-grid{display:grid;gap:10px;min-width:0}.qw-grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.qw-grid.four{grid-template-columns:repeat(4,minmax(0,1fr))}.qw-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}

.qw-workspace [data-q-scope]{min-width:0}.qw-workspace .field{display:block}.qw-workspace input,.qw-workspace select,.qw-workspace textarea{width:100%;min-width:0}.qw-workspace input[type=checkbox]{width:16px;min-width:16px}

.qw-specs{display:grid;align-content:start;gap:14px}.qw-pricing{border-left:1px solid var(--line);padding-left:16px}.qw-pricing h3{font-size:13px;display:flex;justify-content:space-between;margin:0 0 12px}.qw-pricing h3 span{font-size:11px;color:var(--muted)}

.qw-metric{display:flex;flex-direction:column;gap:5px;min-height:36px;padding:1px 3px}.qw-metric>span,.qw-static{font-size:11px;color:var(--muted)}.qw-metric strong{font-size:13px;color:var(--text);font-variant-numeric:tabular-nums}

.qw-pricing>.qw-grid{row-gap:14px}.qw-sourcing-message{font-size:11px;color:var(--muted);margin:12px 0;line-height:1.4}

.qw-tool-buttons{display:flex;gap:6px;flex-wrap:wrap}.qw-tool-buttons button{font-size:11px;padding:5px 8px;min-height:28px}

.qw-description{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:6px}.qw-description button{font-size:11px;padding:5px 7px;min-height:30px}

.qw-notes-row{grid-template-columns:1fr auto;align-items:center}.qw-workspace textarea{height:65px;min-height:65px;resize:vertical;padding:8px 10px}

.qw-inline-tool{border:1px solid var(--line);border-left:3px solid var(--blue,#086bbf);padding:12px;margin:10px 0;background:var(--panel);border-radius:4px}.qw-inline-tool h3{display:flex;justify-content:space-between;align-items:center;font-size:13px;margin:0 0 12px}.qw-inline-tool h3 button{font-size:12px}.qw-break,.qw-cost{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:10px}.qw-field-choices{display:flex;gap:14px;flex-wrap:wrap;margin-bottom:12px}

.qw-vp{border:1px solid var(--line);border-radius:4px;margin-top:12px;overflow:hidden}.qw-vp>.tabs{overflow-x:auto}.qw-vp .tabs button{font-size:11px;white-space:nowrap;padding:9px 10px}.qw-vp-filters{display:flex;align-items:center;gap:12px;padding:12px}.qw-vp-filters>[data-q-scope]{width:240px}.qw-vp-count{margin-left:auto;font-size:11px;color:var(--muted)}

.qw-workspace table{width:100%;border-collapse:collapse;font-size:12px}.qw-workspace th{padding:9px;background:var(--thead,#3d536c);color:var(--thead-text,#fff);text-align:left;white-space:nowrap}.qw-workspace td{padding:8px;border-bottom:1px solid var(--line)}.qw-workspace tbody tr:nth-child(even){background:var(--stripe)}.qw-workspace .tablewrap{overflow:auto}.qw-workspace .mini-table{overflow:auto;margin:0}

.qw-footer{position:sticky;bottom:0;z-index:4;display:flex;align-items:center;justify-content:flex-end;gap:8px;background:var(--panel);border-top:1px solid var(--line);padding:12px 0 0;margin-top:14px}.qw-footer>span{margin-right:auto;color:var(--muted);font-size:12px}.qw-footer button{font-size:12px;min-height:33px}.qw-error{color:light-dark(#b42318,#ff9999)}.qw-error:empty{display:none}

.qw-review{display:grid;gap:14px}.qw-static{display:flex;flex-direction:column;justify-content:center;gap:5px}.qw-static strong{font-size:13px;color:var(--text)}.qw-addresses textarea{height:62px}.qw-full-part{white-space:nowrap}.qw-table-note{min-width:100px;max-width:160px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.qw-review-add{display:flex;gap:8px}.qw-review-add button{font-size:12px}.qw-review-bottom{display:grid;grid-template-columns:1fr 350px;gap:20px}.qw-total-card{background:var(--stripe);padding:12px;border:1px solid var(--line);border-radius:5px;display:grid;gap:14px}.qw-total-card .qw-metric{flex-direction:row;justify-content:space-between;align-items:center}.qw-total-card .qw-metric:last-child{border-top:1px solid var(--line);padding-top:10px}.qw-total-card .qw-metric:last-child strong{font-size:18px}.qw-files{display:flex;align-items:center;gap:10px;font-size:12px}.qw-files input{width:auto;max-width:250px}

@container main (max-width:856px){.qw-line-body{grid-template-columns:1fr}.qw-pricing{padding:12px 0 0;border-left:0;border-top:1px solid var(--line)}.qw-pricing>.qw-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.qw-workspace .rfq-form-header{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media (max-width:1100px){.qw-line-body:where(:not(#content *)){grid-template-columns:1fr}.qw-pricing:where(:not(#content *)){padding:12px 0 0;border-left:0;border-top:1px solid var(--line)}.qw-pricing>.qw-grid:where(:not(#content *)){grid-template-columns:repeat(4,minmax(0,1fr))}.qw-workspace .rfq-form-header:where(:not(#content *)){grid-template-columns:repeat(3,minmax(0,1fr))}}

@container main (max-width:576px){.qw-page{padding:10px}.qw-title{align-items:flex-start}.qw-title>div{display:block}.qw-title h1{font-size:19px}.qw-title button{font-size:11px}.qw-workspace .rfq-form-header{grid-template-columns:repeat(2,minmax(0,1fr))}.qw-grid.three,.qw-grid.four,.qw-pricing>.qw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.qw-grid.two,.qw-review-bottom{grid-template-columns:1fr}.qw-notes-row{grid-template-columns:1fr}.qw-description{grid-template-columns:1fr 1fr}.qw-description>[data-q-scope]{grid-column:1/-1}.qw-workspace .rfq-form-line-title{align-items:flex-start}.qw-request{flex-wrap:wrap;justify-content:flex-end}.qw-vp-filters{flex-wrap:wrap}.qw-vp-filters>[data-q-scope]{width:100%}.qw-vp-count{margin-left:0}.qw-footer{flex-wrap:wrap}.qw-footer>span{width:100%}.qw-footer button{flex:1}.qw-review-add{flex-wrap:wrap}.qw-steps{gap:10px}.qw-steps button{font-size:12px}.qw-review-bottom{gap:10px}.qw-files{display:block}.qw-files input{max-width:100%}.qw-workspace input,.qw-workspace select,.qw-workspace textarea{font-size:16px}}
@media (max-width:600px){.qw-page:where(:not(#content *)){padding:10px}.qw-title:where(:not(#content *)){align-items:flex-start}.qw-title>div:where(:not(#content *)){display:block}.qw-title h1:where(:not(#content *)){font-size:19px}.qw-title button:where(:not(#content *)){font-size:11px}.qw-workspace .rfq-form-header:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}.qw-grid.three:where(:not(#content *)),.qw-grid.four:where(:not(#content *)),.qw-pricing>.qw-grid:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}.qw-grid.two:where(:not(#content *)),.qw-review-bottom:where(:not(#content *)){grid-template-columns:1fr}.qw-notes-row:where(:not(#content *)){grid-template-columns:1fr}.qw-description:where(:not(#content *)){grid-template-columns:1fr 1fr}.qw-description>[data-q-scope]:where(:not(#content *)){grid-column:1/-1}.qw-workspace .rfq-form-line-title:where(:not(#content *)){align-items:flex-start}.qw-request:where(:not(#content *)){flex-wrap:wrap;justify-content:flex-end}.qw-vp-filters:where(:not(#content *)){flex-wrap:wrap}.qw-vp-filters>[data-q-scope]:where(:not(#content *)){width:100%}.qw-vp-count:where(:not(#content *)){margin-left:0}.qw-footer:where(:not(#content *)){flex-wrap:wrap}.qw-footer>span:where(:not(#content *)){width:100%}.qw-footer button:where(:not(#content *)){flex:1}.qw-review-add:where(:not(#content *)){flex-wrap:wrap}.qw-steps:where(:not(#content *)){gap:10px}.qw-steps button:where(:not(#content *)){font-size:12px}.qw-review-bottom:where(:not(#content *)){gap:10px}.qw-files:where(:not(#content *)){display:block}.qw-files input:where(:not(#content *)){max-width:100%}.qw-workspace input:where(:not(#content *)),.qw-workspace select:where(:not(#content *)),.qw-workspace textarea:where(:not(#content *)){font-size:16px}}

.qw-workspace .tablewrap{min-height:0;max-height:none}.qw-vp-flags{display:flex;flex-wrap:wrap;gap:18px;padding:0 12px 12px;font-size:11px}.qw-vp-filters>[data-q-scope]:nth-child(2){width:85px}.qw-address-text{margin:7px 0 0;min-height:16px;font-size:12px;color:var(--muted)}

/* Quote creation follows the RFQ results pattern: one expanded row at a time. */

.qw-lines-scroll{overflow-x:auto;border:1px solid var(--line);border-radius:5px}

.qw-workspace .qw-lines-table{table-layout:fixed;min-width:1160px;width:100%}

.qw-col-line{width:44px}.qw-col-rfq{width:76px}.qw-col-part{width:30ch}.qw-col-internal{width:95px}.qw-col-mfr{width:115px}.qw-col-qty{width:78px}.qw-col-price{width:92px}

.qw-lines-table>.qw-col-part{white-space:nowrap}

.qw-workspace .qw-line-row>td{padding:9px 8px;vertical-align:middle;font-size:12px}

.qw-line-row>td:nth-child(n+6):nth-child(-n+9){text-align:right;font-variant-numeric:tabular-nums}

.qw-line-row [data-q-line]{display:inline;padding:0;min-height:0;border:0;background:transparent;border-radius:0;box-shadow:none;color:var(--blue,#086bbf);font:inherit;white-space:nowrap;text-align:left;text-decoration:none}

.qw-line-row [data-q-line]:hover{text-decoration:underline}.qw-line-row [data-q-line]:focus-visible{outline:2px solid var(--blue,#086bbf);outline-offset:3px}

.qw-workspace{--qw-open-surface:light-dark(#f1f6fb,#203244);--qw-open-edge:light-dark(#85a9cc,#6389ad)}

.qw-workspace .qw-line-row.is-selected{background:var(--qw-open-surface)}

.qw-workspace .qw-line-row.is-selected>td{border-top:2px solid var(--qw-open-edge);border-bottom:0}

.qw-workspace .qw-line-row.is-selected>td:first-child{border-left:2px solid var(--qw-open-edge);box-shadow:none}

.qw-workspace .qw-line-row.is-selected>td:last-child{border-right:2px solid var(--qw-open-edge)}

.qw-line-row.is-selected [data-q-line]{font-weight:600}

.qw-row-note{overflow:hidden;white-space:nowrap}.qw-row-note .note-preview{font-size:12px}

.qw-workspace .qw-expanded-row>td{padding:0;background:var(--qw-open-surface);border-left:2px solid var(--qw-open-edge);border-right:2px solid var(--qw-open-edge);border-bottom:2px solid var(--qw-open-edge)}

.qw-expanded-line{padding:4px 12px 12px;border:0;background:var(--qw-open-surface);width:100%;box-sizing:border-box;white-space:normal}

.qw-expanded-line .qw-line{margin-bottom:0;padding:10px 0 8px;border:0;border-radius:0;background:transparent}.qw-expanded-line .qw-inline-actions{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:10px 0 0}.qw-line-save{display:flex;gap:6px;flex-wrap:wrap}.qw-line-save button{font-size:12px;min-height:30px;padding:5px 10px}.qw-expanded-line .qw-vp{margin-top:8px}.qw-expanded-line .qw-vp th{font-size:11px}

.qw-expanded-line .qw-vp td{font-size:12px}.qw-expanded-line .tablewrap{max-height:300px;overflow:auto}

@container main (max-width:1006px){.qw-expanded-line{width:calc(100vw - 255px);position:sticky;left:0}.qw-expanded-line .qw-line-body{grid-template-columns:1fr}.qw-expanded-line .qw-pricing{padding:12px 0 0;border-left:0;border-top:1px solid var(--line)}.qw-expanded-line .qw-pricing>.qw-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1250px){.qw-expanded-line:where(:not(#content *)){width:calc(100vw - 255px);position:sticky;left:0}.qw-expanded-line .qw-line-body:where(:not(#content *)){grid-template-columns:1fr}.qw-expanded-line .qw-pricing:where(:not(#content *)){padding:12px 0 0;border-left:0;border-top:1px solid var(--line)}.qw-expanded-line .qw-pricing>.qw-grid:where(:not(#content *)){grid-template-columns:repeat(4,minmax(0,1fr))}}

@container main (max-width:736px){.qw-expanded-line{width:calc(100vw - 58px);padding:8px}.qw-expanded-line .qw-inline-actions{align-items:stretch;flex-direction:column}.qw-expanded-line .qw-pricing>.qw-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.qw-expanded-line:where(:not(#content *)){width:calc(100vw - 58px);padding:8px}.qw-expanded-line .qw-inline-actions:where(:not(#content *)){align-items:stretch;flex-direction:column}.qw-expanded-line .qw-pricing>.qw-grid:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Keep pricing tools under pricing; Notes fills the matching column height. */

.qw-specs{grid-template-rows:repeat(5,auto) minmax(95px,1fr)}

.qw-notes-row>[data-q-scope]:first-child,.qw-notes-row>[data-q-scope]:first-child>.field{height:100%}

.qw-workspace .qw-notes-row textarea{height:100%;min-height:95px;box-sizing:border-box}

.qw-pricing{display:flex;flex-direction:column}.qw-pricing>.qw-tool-buttons{margin-top:auto;padding-top:2px}

@container main (max-width:1006px){.qw-expanded-line .qw-specs{grid-template-rows:none}}
@media (max-width:1250px){.qw-expanded-line .qw-specs:where(:not(#content *)){grid-template-rows:none}}

@container main (max-width:856px){.qw-specs{grid-template-rows:none}}
@media (max-width:1100px){.qw-specs:where(:not(#content *)){grid-template-rows:none}}



.qw-expanded-line .qw-vp{background:var(--panel)}

.qw-page>.qw-document-details{padding:16px 0 12px}.qw-page>.qw-review-add{margin:12px 0}.qw-page>.qw-document-summary{margin-top:14px}

/* Both quote entry surfaces share the same single-page order. */

.qw-workspace>.qw-document-details{padding:16px 0 12px}.qw-workspace>.qw-review-add{margin:12px 0}.qw-workspace>.qw-document-summary{margin-top:14px}

.qw-customer-summary{border-bottom:1px solid var(--line);padding-bottom:12px}.qw-customer-summary .rfq-form-header{border:0;padding-bottom:10px}.qw-customer-meta{display:flex;flex-wrap:wrap;gap:10px 28px;font-size:11px;color:var(--muted)}.qw-customer-meta b{font-weight:600}

.qw-summary-settings{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-width:500px;margin-bottom:12px}

#modal.quote-workspace-modal .qw-expanded-line{width:100%}

@media(max-width:1250px){#modal.quote-workspace-modal .qw-expanded-line{width:calc(100vw - 64px)}}

@container main (max-width:576px){.qw-summary-settings{grid-template-columns:1fr}}
@media (max-width:600px){.qw-summary-settings:where(:not(#content *)){grid-template-columns:1fr}}



/* Quote-level profitability, totals and closing actions form one compact block. */

.qw-document-summary .qw-review-bottom{grid-template-columns:minmax(240px,1fr) minmax(560px,680px);gap:24px;align-items:start}

.qw-financial-summary{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:12px 16px}

.qw-profit-card,.qw-financial-summary .qw-total-card{padding:14px;border:1px solid var(--line);border-radius:6px;background:var(--panel);align-self:start}

.qw-financial-summary h3{font-size:13px;margin:0 0 12px;display:flex;justify-content:space-between;gap:8px}

.qw-financial-summary h3 span{color:var(--muted);font-size:11px;font-weight:500}

.qw-financial-summary .qw-metric{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:12px;min-height:30px}

.qw-financial-summary .qw-metric strong{font-variant-numeric:tabular-nums;white-space:nowrap}

.qw-profit-card .qw-sourcing-message{font-size:12px;line-height:1.5;margin:10px 0 0;padding-top:10px;border-top:1px solid var(--line)}

.qw-financial-summary .qw-total-card{display:grid;gap:10px;background:var(--stripe)}

.qw-financial-summary .qw-total-card h3{margin-bottom:0}

.qw-financial-summary .qw-total-card input{text-align:right;font-variant-numeric:tabular-nums}

.qw-financial-summary .qw-total-card .qw-metric:last-child{padding-top:12px;margin-top:2px;border-top:1px solid var(--line)}

.qw-financial-summary .qw-total-card .qw-metric:last-child strong{font-size:22px;color:var(--text)}

.qw-financial-summary .qw-footer{grid-column:1/-1;position:static;padding:0;margin:0;border:0;background:none;gap:8px}

.qw-financial-summary .qw-footer button{min-height:36px;padding:7px 16px}

.qw-financial-summary .qw-error{grid-column:1/-1}

.qw-footer .qw-cancel{color:light-dark(#b42318,#ffb4b4);border-color:light-dark(#e5a9a5,#875252);background:var(--panel)}

.qw-summary-support .qw-files{flex-wrap:wrap;margin-top:16px}

@container main (max-width:756px){.qw-document-summary .qw-review-bottom{grid-template-columns:1fr}.qw-financial-summary{width:100%;max-width:680px;justify-self:end}}
@media (max-width:1000px){.qw-document-summary .qw-review-bottom:where(:not(#content *)){grid-template-columns:1fr}.qw-financial-summary:where(:not(#content *)){width:100%;max-width:680px;justify-self:end}}

@container main (max-width:576px){.qw-financial-summary{grid-template-columns:1fr}.qw-financial-summary .qw-footer{flex-wrap:nowrap}.qw-financial-summary .qw-footer button{padding:7px 10px;white-space:nowrap}.qw-summary-settings{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.qw-financial-summary:where(:not(#content *)){grid-template-columns:1fr}.qw-financial-summary .qw-footer:where(:not(#content *)){flex-wrap:nowrap}.qw-financial-summary .qw-footer button:where(:not(#content *)){padding:7px 10px;white-space:nowrap}.qw-summary-settings:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}}



.qw-summary-support .qw-files{display:inline-flex;width:auto;padding:8px 12px;border:1px solid var(--line);border-radius:5px;cursor:pointer;background:var(--panel);font-weight:600}.qw-files input[hidden]{display:none}.qw-files:focus-within{outline:2px solid var(--accent)}.qw-summary-support>[data-q-file-list]{display:block;margin-top:6px;color:var(--muted)}



.qw-workspace>.qw-document-summary{margin-top:0;padding-bottom:20px;margin-bottom:20px;border-bottom:1px solid var(--line)}



.qw-financial-summary{grid-template-columns:repeat(2,minmax(0,1fr))}

.qw-financial-summary .qw-profit-card,.qw-financial-summary .qw-total-card{display:grid;gap:0}

.qw-financial-summary h3,.qw-financial-summary .qw-total-card h3{margin:0;min-height:30px}

.qw-financial-summary .qw-metric{min-height:46px;padding:8px 0;border-bottom:1px solid var(--line)}

.qw-financial-summary .qw-total-card .qw-metric:last-child{min-height:46px;padding:8px 0;margin:0;border:0}

.qw-profit-card .qw-metric:nth-of-type(4){border-bottom:0}

.qw-profit-card .qw-sourcing-message{margin:0;padding-top:10px}

@container main (max-width:576px){.qw-financial-summary{grid-template-columns:1fr}}
@media (max-width:600px){.qw-financial-summary:where(:not(#content *)){grid-template-columns:1fr}}



/* Company/contact context carried over from the RFQ. */

.qw-workspace>.qw-customer-summary{padding:14px 16px;margin-top:12px;border:1px solid light-dark(#bdc4cc,#66707c);border-radius:6px;background:linear-gradient(180deg,light-dark(#e9ecef,#48535f),light-dark(#d5dbe1,#35404c))}

.qw-customer-summary .rfq-header-label,.qw-customer-summary .qw-customer-meta{color:light-dark(#465463,#d8e0e8)}

.qw-customer-summary .rfq-header-value{color:light-dark(#1f3042,#f4f6f8)}

/* Match the summary card headings to the company/contact header. */

.qw-financial-summary .qw-profit-card>h3,.qw-financial-summary .qw-total-card>h3{margin:-14px -14px 0;padding:10px 14px;min-height:40px;align-items:center;border-radius:5px 5px 0 0;border-bottom:1px solid light-dark(#bdc4cc,#66707c);background:linear-gradient(180deg,light-dark(#e9ecef,#48535f),light-dark(#d5dbe1,#35404c));color:light-dark(#263443,#f4f6f8)}

.qw-financial-summary h3 span{color:light-dark(#4d5b68,#e0e5eb)}



/* Compact document fields and notes beside the quote summary. */

.qw-document-fields{display:grid;grid-template-columns:.85fr 1fr 1.35fr .85fr .8fr .95fr 1.15fr 1.2fr;gap:12px;align-items:center}

.qw-document-fields>*{min-width:0}.qw-document-fields .field,.qw-document-fields input,.qw-document-fields select{width:100%;min-width:0;box-sizing:border-box}

.qw-created-by input[readonly]{cursor:default;background:var(--panel);color:var(--text)}

.qw-document-summary .qw-review-bottom{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px}

.qw-summary-support .qw-review-notes{display:grid;grid-template-columns:1fr;gap:12px}

.qw-workspace .qw-review-notes textarea{height:86px;min-height:70px}

.qw-document-summary .qw-financial-summary{width:100%;max-width:none;min-width:0}

.qw-address-text:empty{display:none}

@container main (max-width:1006px){.qw-document-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1250px){.qw-document-fields:where(:not(#content *)){grid-template-columns:repeat(4,minmax(0,1fr))}}

@container main (max-width:806px){.qw-document-summary .qw-review-bottom{grid-template-columns:1fr}.qw-document-summary .qw-financial-summary{max-width:680px}}
@media (max-width:1050px){.qw-document-summary .qw-review-bottom:where(:not(#content *)){grid-template-columns:1fr}.qw-document-summary .qw-financial-summary:where(:not(#content *)){max-width:680px}}

@container main (max-width:576px){.qw-document-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.qw-document-fields .qw-static{min-height:40px}}
@media (max-width:600px){.qw-document-fields:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}.qw-document-fields .qw-static:where(:not(#content *)){min-height:40px}}



/* Financial cards on the left; notes and closing actions on the right. */

.qw-financial-summary .qw-profit-card{background:var(--stripe)}

.qw-document-summary .qw-financial-summary{justify-self:start}

.qw-notes-actions{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:16px;flex-wrap:wrap}

.qw-notes-actions .qw-files{margin:0}

.qw-notes-actions .qw-footer{position:static;margin:0;padding:0;border:0;background:none;gap:8px;flex-wrap:nowrap}

.qw-notes-actions .qw-footer button{min-height:36px;padding:7px 16px;white-space:nowrap}

@container main (max-width:576px){.qw-notes-actions .qw-footer{width:100%}.qw-notes-actions .qw-footer button{padding:7px 10px}}
@media (max-width:600px){.qw-notes-actions .qw-footer:where(:not(#content *)){width:100%}.qw-notes-actions .qw-footer button:where(:not(#content *)){padding:7px 10px}}

/* Sales orders share the quote shell, with order and shipping fields. */

.so-main-fields{display:grid;grid-template-columns:.85fr 1fr 1.35fr .85fr .8fr .95fr 1.15fr 1.2fr;gap:12px;align-items:center}

.so-main-fields>*{min-width:0}.so-main-fields .field,.so-main-fields input,.so-main-fields select{width:100%;min-width:0;box-sizing:border-box}

.so-order-fields{display:grid;grid-template-columns:minmax(200px,2fr) minmax(150px,1fr) auto minmax(160px,1fr);gap:12px;align-items:center}.so-source{font-size:12px;color:var(--muted)}

.so-address-choice{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center}.so-address textarea{height:64px}

.so-shipping-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:center}.so-shipping-fields>.check{grid-column:1/-1}

.so-workspace .so-financial-summary{grid-template-columns:1fr;max-width:none}.so-order-summary>button{margin-top:10px}

.so-cost-row{display:grid;grid-template-columns:minmax(100px,2fr) minmax(90px,1fr) minmax(75px,1fr) 28px;gap:8px;align-items:center}.so-cost-panel{margin-top:10px}.so-cost-panel>button{margin-top:8px}

.so-line-specs{display:grid;gap:10px}.so-line-pricing{display:flex;flex-direction:column;gap:12px}.so-line-pricing .qw-metric{display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:10px;border-top:1px solid var(--line);padding-top:12px}.so-line-pricing .qw-metric strong{font-size:18px}

.so-workspace .qw-review-notes textarea{height:86px}.so-lines-table{min-width:1250px}

@container main (max-width:1006px){.so-main-fields{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:1250px){.so-main-fields:where(:not(#content *)){grid-template-columns:repeat(4,minmax(0,1fr))}}

@container main (max-width:736px){.so-main-fields,.so-order-fields,.so-shipping-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.so-cost-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.so-cost-row>div:first-child{grid-column:1/-1}.so-workspace .qw-line-save{flex-wrap:wrap}}
@media (max-width:760px){.so-main-fields:where(:not(#content *)),.so-order-fields:where(:not(#content *)),.so-shipping-fields:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}.so-cost-row:where(:not(#content *)){grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.so-cost-row>div:first-child:where(:not(#content *)){grid-column:1/-1}.so-workspace .qw-line-save:where(:not(#content *)){flex-wrap:wrap}}

.so-address>[data-so-scope]{margin-top:10px}

.qw-line-row [data-so-line]{display:inline;padding:0;min-height:0;border:0;background:transparent;border-radius:0;box-shadow:none;color:var(--blue,#086bbf);font:inherit;white-space:nowrap;text-align:left;text-decoration:none}

.qw-line-row [data-so-line]:hover{text-decoration:underline}.qw-line-row [data-so-line]:focus-visible{outline:2px solid var(--blue,#086bbf);outline-offset:3px}.qw-line-row.is-selected [data-so-line]{font-weight:600}



/* Search filters reopen only through explicit controls, never through scrolling. */

button.filter-context{flex:1;justify-content:flex-start;text-align:left;border:0;background:transparent;border-radius:4px;box-shadow:none;padding:4px 0;min-height:33px;font-weight:400;color:var(--text)}

button.filter-context[aria-expanded=false]:hover .filtersummary{text-decoration:underline;color:var(--blue)}

button.filter-context:focus-visible{outline:2px solid var(--blue);outline-offset:3px}



.sourcing-group-header{gap:6px 12px}.sourcing-group-header>span{border-left:1px solid var(--line);padding-left:12px}



/* Quote sourcing: charge all selected pieces and internal costs to the line. */

.qw-line-row{cursor:pointer}.qw-line-row:focus-visible{outline:2px solid var(--blue);outline-offset:-2px}.qw-line-row:hover{background:var(--stripe)}

.qw-price-break-list{display:flex;flex-direction:column;max-width:640px;gap:10px;margin-bottom:12px}.qw-price-break-list .qw-break{display:grid;grid-template-columns:24px minmax(0,1fr) minmax(0,1fr) 28px;align-items:center;margin:0}.qw-break-index{color:var(--muted)}

.qw-source-tabs{margin-bottom:12px}.qw-source-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;background:var(--stripe);padding:6px 12px;border-radius:4px}.qw-source-help{font-size:12px;color:var(--muted);margin:10px 0 14px}

.qw-source-table table{min-width:1050px;width:100%}.qw-source-table td small{display:block;color:var(--muted);margin-top:3px}.qw-source-table input[type=number]{width:130px;padding:8px;border:1px solid var(--line);border-radius:4px;background:var(--panel);color:var(--ink)}.qw-source-table input:disabled{opacity:.4}.qw-source-table td:last-child{white-space:nowrap;font-weight:600}

.qw-cost-toolbar{display:flex;align-items:center;gap:16px;margin:14px 0;font-size:12px}.qw-cost-toolbar label{display:flex;align-items:center;gap:8px}.qw-cost-toolbar select{padding:8px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:4px}.qw-cost-toolbar span{color:var(--muted)}.qw-cost-list{max-width:640px}.qw-cost-list .qw-cost{grid-template-columns:minmax(0,2fr) minmax(0,1fr) 28px;align-items:center}

@container main (max-width:576px){.qw-source-summary{grid-template-columns:1fr 1fr;gap:4px 14px}.qw-cost-toolbar{flex-wrap:wrap}.qw-source-tabs{overflow-x:auto}.qw-source-tabs button{white-space:nowrap}.qw-source-table{max-width:100%}}
@media (max-width:600px){.qw-source-summary:where(:not(#content *)){grid-template-columns:1fr 1fr;gap:4px 14px}.qw-cost-toolbar:where(:not(#content *)){flex-wrap:wrap}.qw-source-tabs:where(:not(#content *)){overflow-x:auto}.qw-source-tabs button:where(:not(#content *)){white-space:nowrap}.qw-source-table:where(:not(#content *)){max-width:100%}}


.qw-cost-toolbar label{white-space:nowrap}

/* Sales order documents follow the quote workspace's surfaces and spacing. */
.qw-title-actions{display:flex;gap:8px;align-items:center;flex-wrap:wrap}.so-compliance{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0 0 20px}.so-compliance-card{border:1px solid var(--line);border-radius:6px;overflow:hidden;background:var(--panel);min-width:0}.so-compliance-card h3{margin:0;padding:11px 14px;font-size:13px;border-bottom:1px solid var(--line);background:linear-gradient(light-dark(#e8edf1,#344455),light-dark(#d7dfe7,#293949))}.so-compliance-body{padding:12px 14px}.so-compliance-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}.so-compliance-actions button,.so-compliance-actions .qw-files{font-size:12px;min-height:32px;padding:7px 10px}.so-no-files{margin:0 0 12px;color:var(--muted);font-size:12px}.so-verification{margin-top:14px;align-items:flex-start!important;font-size:12px}.so-verification input{flex:none;margin-top:2px}.so-verified-by{display:block;color:var(--muted);font-size:11px;margin:7px 0 0 24px}.so-file-list{list-style:none;padding:0;margin:0 0 10px}.so-file-list li{display:flex;gap:6px;align-items:center;border-bottom:1px solid var(--line);padding:4px 0;min-width:0}.so-file-list li>span{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px}.so-file-list button{min-height:26px;padding:3px 7px}.so-file-list .rfq-remove-line{flex:none}.so-workspace .qw-notes-actions{flex-wrap:wrap}.so-workspace [data-so-file-list]{margin-top:8px}.so-workspace .qw-footer{flex-wrap:wrap}
@container main (max-width:736px){.so-compliance{grid-template-columns:1fr}.so-compliance-actions{align-items:stretch}.qw-title-actions{justify-content:flex-end}.so-workspace .qw-footer{gap:6px}}
@media (max-width:760px){.so-compliance:where(:not(#content *)){grid-template-columns:1fr}.so-compliance-actions:where(:not(#content *)){align-items:stretch}.qw-title-actions:where(:not(#content *)){justify-content:flex-end}.so-workspace .qw-footer:where(:not(#content *)){gap:6px}}

.allocation-status{display:block;min-width:70px;text-align:center;font-weight:600;white-space:nowrap;font-variant-numeric:tabular-nums}.allocation-complete{color:light-dark(#16733a,#73d698);font-size:19px;line-height:1}.allocation-empty{color:light-dark(#c02b32,#ff8a90);font-size:22px;line-height:1}

.so-line-purchasing{margin-top:12px;border:1px solid var(--line);border-radius:5px;background:var(--panel);min-width:0}.so-line-purchasing>.tabs{flex-wrap:nowrap;overflow:auto;margin:0}.so-line-purchasing>.tabs button{white-space:nowrap}.so-purchasing-content{overflow:auto;padding:12px}.so-purchasing-content>table{min-width:1250px;width:100%}.so-allocation-panel{padding:12px;min-width:0}.so-allocation-summary{display:flex;gap:28px;flex-wrap:wrap;padding:10px 12px;background:var(--stripe);border:1px solid var(--line);border-radius:4px;font-size:12px}.so-allocation-summary strong{margin-left:8px}.so-allocation-panel h3{font-size:13px;margin:16px 0 10px}.so-allocation-panel .tablewrap{overflow:auto}.so-allocation-panel table{min-width:1050px;width:100%}.so-allocation-panel input{width:105px;padding:7px;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:4px}.so-allocation-help{font-size:12px;color:var(--muted);margin:0 0 10px}.so-allocation-error{color:light-dark(#b8232c,#ff9298);font-size:12px;margin:10px 0 0}.so-quote-source td{background:light-dark(#edf5fc,#223c50)}.so-source-badge{font-size:11px;font-weight:600;color:var(--blue);white-space:nowrap}.so-purchasing-content th{background:var(--head);color:#fff}.so-purchasing-content td,.so-purchasing-content th{padding:9px;font-size:12px}

.vp-scroller:has(>.so-allocation-panel){max-height:520px}.vp-expanded .vp-scroller:has(>.so-allocation-panel){max-height:700px}
.so-allocation-panel .tablewrap{min-height:0;height:auto;max-height:none}

.so-purchasers-allocation{display:inline-flex;align-items:center;gap:12px}.so-header-allocation .allocation-status{display:inline-block;min-width:0;vertical-align:middle}

.so-allocation-sources{margin-top:16px!important}.so-allocation-search{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap;margin:12px 0}.so-allocation-search label{display:grid;gap:5px;flex:1 1 180px;font-size:12px;color:var(--muted)}.so-allocation-search input{width:100%;min-width:0}.so-allocation-search button{white-space:nowrap}

.po-main-fields{display:grid;grid-template-columns:1.6fr 1.25fr 1fr 1fr 1fr .8fr auto;gap:12px;align-items:center}.po-main-fields>*{min-width:0}.po-main-fields .check{white-space:nowrap}.po-workspace .po-header{grid-template-columns:1.25fr 2fr .75fr .85fr .85fr;gap:18px;align-items:start}.po-header .qw-address-text{margin:6px 0 0}.po-main-fields input,.po-main-fields select{width:100%;min-width:0}.po-workspace .qw-review-add{flex-wrap:wrap}
@container main (max-width:1006px){.po-main-fields{grid-template-columns:repeat(4,minmax(0,1fr))}.po-workspace .po-header{grid-template-columns:repeat(3,minmax(0,1fr))}.po-header>div:nth-child(2){grid-column:span 2}}
@media (max-width:1250px){.po-main-fields:where(:not(#content *)){grid-template-columns:repeat(4,minmax(0,1fr))}.po-workspace .po-header:where(:not(#content *)){grid-template-columns:repeat(3,minmax(0,1fr))}.po-header>div:nth-child(2):where(:not(#content *)){grid-column:span 2}}
@container main (max-width:736px){.po-main-fields,.po-workspace .po-header{grid-template-columns:repeat(2,minmax(0,1fr))}.po-header>div:nth-child(2){grid-column:auto}.po-main-fields .check{white-space:normal}.po-shipping-fields{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:760px){.po-main-fields:where(:not(#content *)),.po-workspace .po-header:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}.po-header>div:nth-child(2):where(:not(#content *)){grid-column:auto}.po-main-fields .check:where(:not(#content *)){white-space:normal}.po-shipping-fields:where(:not(#content *)){grid-template-columns:repeat(2,minmax(0,1fr))}}

.qw-line-row [data-po-line]{display:inline;padding:0;min-height:0;border:0;background:transparent;border-radius:0;box-shadow:none;color:var(--blue,#086bbf);font:inherit;white-space:nowrap;text-align:left;text-decoration:none}.qw-line-row [data-po-line]:hover{text-decoration:underline}.qw-line-row [data-po-line]:focus-visible{outline:2px solid var(--blue);outline-offset:3px}.qw-line-row.is-selected [data-po-line]{font-weight:600}.po-workspace [data-po-scope]{min-width:0}.po-workspace [data-po-file-list]{margin-top:8px}

/* Shared section headings, including standalone Dashboard and Calendar links. */
.sidebar .nav-heading{font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:1px;color:#c6d5e5;padding:12px 16px 6px;line-height:1.4}
.sidebar button.nav-heading{padding-bottom:12px}
.sidebar button.nav-heading.active{padding-left:13px;color:#fff}

/* Inventory totals live above lot rows; no repeated MPN/manufacturer/ID columns. */
#results.inventory-results{min-height:0}
#results .inventory-table{table-layout:fixed;width:100%;min-width:1360px;font-size:12px}
#results .inventory-table th{min-width:0;padding:9px 5px;white-space:normal;overflow-wrap:normal;vertical-align:middle;font-size:11px}
#results .inventory-table td{padding:9px 5px;min-width:0;vertical-align:middle}
#results .inventory-table .inventory-cell-text{display:block;min-width:0;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
#results .inventory-table .inventory-cell-text a,#results .inventory-table .inventory-cell-text button{max-width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;vertical-align:middle}
#results .inventory-table .inventory-notes{min-width:0;max-width:none}
#results .inventory-table .note-preview{max-width:100%;width:100%;min-width:0}
#results .inventory-table .inventory-group td{padding:9px 5px;background:var(--group);border-top:1px solid var(--line);font-weight:600}
#results .inventory-table .inventory-group td:first-child{padding-left:12px}
#results .inventory-group-title{display:flex;align-items:center;flex-wrap:wrap;gap:5px 17px;text-align:left}
#results .inventory-group-title .inventory-mpn{white-space:nowrap}
#results .inventory-group-title>span{font-size:11px;color:var(--muted);font-weight:400}
#results .inventory-group-title .inventory-lot-count{margin-left:auto}
.ipn-toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:14px}.ipn-toolbar h2{margin:0 0 4px}.ipn-toolbar p{margin:0;color:var(--muted);font-size:12px}.ipn-toggle{display:inline-flex;align-items:center;gap:8px;white-space:nowrap}.ipn-toggle small{color:var(--muted);font-size:11px}.ipn-toggle[aria-expanded=true]{font-weight:650}.ipn-mapping-table{border:1px solid var(--line);border-radius:6px}.ipn-mapping-table table{min-width:480px}.ipn-mapping-table td{vertical-align:middle}.ipn-mapping-table th:first-child{width:55%}.ipn-actions{width:80px;text-align:right}.ipn-open>td{background:var(--group)}.ipn-expansion>td{padding:0!important;border-left:0}.ipn-accepted{padding:12px 16px;background:var(--stripe);text-align:left}.ipn-accepted-heading{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:10px;font-size:12px}.ipn-accepted-heading span{color:var(--muted)}.ipn-accepted .ipn-mpn-table{min-width:0;width:100%;max-width:850px;font-size:13px;border:1px solid var(--line);background:var(--panel)}.ipn-accepted .ipn-mpn-table th{position:static;background:var(--group);color:var(--text);padding:8px 12px;width:50%;font-size:12px}.ipn-accepted .ipn-mpn-table td{padding:8px 12px;border-left:0;white-space:nowrap}.ipn-accepted .contact-empty{padding:10px 0;margin:0;text-align:left}.rfq-ipn-details{border:1px solid var(--line);border-radius:4px;overflow:hidden}.rfq-ipn-details>summary{color:var(--blue);padding:8px 10px;cursor:pointer;font-size:12px}.rfq-ipn-details>summary span{color:var(--muted)}.rfq-ipn-details[open]>summary{background:var(--group);border-bottom:1px solid var(--line)}.rfq-identification-help{font-size:12px;color:var(--muted);margin:0 0 12px}.rfq-form [data-rfq-ipn]:empty{display:none}.ipn-editor-list{padding:18px 15px 0;display:grid;gap:16px}.ipn-mpn-edit{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr) 32px;gap:12px;align-items:center}.ipn-editor-tools{padding:14px 15px}.ipn-remove{border:0;background:transparent;padding:0;font-size:24px;width:32px;min-height:32px}.form-family-record .ipn-identity-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center}.ipn-form-help{margin:0;font-size:12px;color:var(--muted)}
@container main (max-width:596px){.ipn-toolbar{align-items:flex-start;flex-direction:column}.ipn-accepted{padding:10px;overflow:auto}.ipn-mpn-edit{grid-template-columns:minmax(0,1fr) 32px}.ipn-mpn-edit>.field:first-child{grid-column:1/-1}.form-family-record .ipn-identity-fields{grid-template-columns:1fr}.ipn-toolbar button{min-height:40px}}
@media (max-width:620px){.ipn-toolbar:where(:not(#content *)){align-items:flex-start;flex-direction:column}.ipn-accepted:where(:not(#content *)){padding:10px;overflow:auto}.ipn-mpn-edit:where(:not(#content *)){grid-template-columns:minmax(0,1fr) 32px}.ipn-mpn-edit>.field:first-child:where(:not(#content *)){grid-column:1/-1}.form-family-record .ipn-identity-fields:where(:not(#content *)){grid-template-columns:1fr}.ipn-toolbar button:where(:not(#content *)){min-height:40px}}

/* Admin reuses the shared record form, table and header roles. */
.admin-tabs{margin-bottom:18px}.admin-layout{display:grid;grid-template-columns:205px minmax(0,1fr);gap:18px;align-items:start}.admin-content{min-width:0}.admin-categories{display:grid;background:var(--panel);border:1px solid var(--line);border-radius:6px;padding:6px;gap:2px}.admin-categories button{border:0;background:transparent;text-align:left;white-space:normal;padding:11px 12px;font-size:13px}.admin-categories button.active{background:var(--group);color:var(--blue);font-weight:650;box-shadow:inset 3px 0 var(--blue)}.admin-card{margin:0 0 16px}.admin-card>h2{font-size:17px;margin:0 0 12px}.admin-card>p{font-size:12px;margin-bottom:18px}.admin-table table{min-width:450px;width:100%;table-layout:auto}.admin-table td{vertical-align:middle}.admin-table td:last-child{width:65px;text-align:right}.admin-table th{white-space:nowrap}.admin-table .admin-notes{max-width:220px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.admin-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;align-items:start}.admin-catalog-grid .admin-card{margin:0}.admin-catalog-grid:has([data-admin-list=terms]){grid-template-columns:1fr}.admin-help{font-size:13px;background:var(--stripe)}.admin-help p{margin-bottom:0}.form-family-record .form-fields.admin-two-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.form-family-record .form-fields.admin-section-checks{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.admin-rule-mode{display:flex;gap:24px;flex-wrap:wrap;padding:15px;font-size:13px}.admin-rule-mode label{display:flex;align-items:center;gap:7px}.admin-form-note{font-size:12px;color:var(--muted);padding:0 15px;margin:0}.vendor-inspection-summary{border:1px solid var(--line);border-radius:6px;background:var(--panel);overflow:hidden;margin:16px 0}.vendor-inspection-summary>h3{margin:0;padding:12px 15px;font-size:14px;display:flex;justify-content:space-between;gap:12px}.vendor-inspection-summary>h3>span{font-weight:400;font-size:12px;color:var(--muted)}.vendor-inspection-body{padding:15px;font-size:13px}.vendor-inspection-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-bottom:14px}.vendor-inspection-facts span{display:block;font-size:11px;color:var(--muted);margin-bottom:4px}.inspection-instructions{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.vendor-inspection-body p:last-child{margin-bottom:0}#vendor-default-requirements .vendor-inspection-summary{margin:0 15px 15px}#vendor-custom-requirements[hidden]{display:none}
@container main (max-width:906px){.admin-catalog-grid{grid-template-columns:1fr}.admin-layout{grid-template-columns:170px minmax(0,1fr)}}
@media (max-width:1150px){.admin-catalog-grid:where(:not(#content *)){grid-template-columns:1fr}.admin-layout:where(:not(#content *)){grid-template-columns:170px minmax(0,1fr)}}
@container main (max-width:676px){.admin-layout{grid-template-columns:1fr}.admin-categories{display:flex;overflow:auto}.admin-categories button{flex:0 0 auto;white-space:nowrap}.form-family-record .form-fields.admin-two-fields,.form-family-record .form-fields.admin-section-checks,.vendor-inspection-facts{grid-template-columns:1fr}.admin-rule-mode{gap:12px}.admin-table table{min-width:550px}}
@media (max-width:700px){.admin-layout:where(:not(#content *)){grid-template-columns:1fr}.admin-categories:where(:not(#content *)){display:flex;overflow:auto}.admin-categories button:where(:not(#content *)){flex:0 0 auto;white-space:nowrap}.form-family-record .form-fields.admin-two-fields:where(:not(#content *)),.form-family-record .form-fields.admin-section-checks:where(:not(#content *)),.vendor-inspection-facts:where(:not(#content *)){grid-template-columns:1fr}.admin-rule-mode:where(:not(#content *)){gap:12px}.admin-table table:where(:not(#content *)){min-width:550px}}

.record-warning-card{margin-top:16px;scroll-margin-top:24px}.record-warning-summary{padding:12px 15px;border-top:1px solid var(--line)}.record-warning-summary p{margin:0 0 6px;white-space:pre-wrap;overflow-wrap:anywhere}.record-warning-summary small{color:var(--muted)}

/* T2768: generic search group headers sit on fixed columns so Company/Date/Due/Status line up row to row */
.groupmain.groupcols{display:grid;grid-template-columns:minmax(120px,170px) minmax(170px,280px) 130px 125px 95px minmax(90px,1fr);gap:6px 16px;align-items:baseline}.groupcols>*{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.groupcols>strong:first-child{white-space:normal;overflow-wrap:anywhere}.groupcols .total{justify-self:end;margin-left:0}@container main (max-width:736px){.groupmain.groupcols{display:flex}.groupcols>*{white-space:normal}}
@media (max-width:760px){.groupmain.groupcols:where(:not(#content *)){display:flex}.groupcols>*:where(:not(#content *)){white-space:normal}}

/* T2769: aligned group-header cells (align-groups.js) */
.ag-cell{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
@container main (max-width:736px){.ag-cell{width:auto!important;white-space:normal}}
@media (max-width:760px){.ag-cell:where(:not(#content *)){width:auto!important;white-space:normal}}

/* T2770: From/To stay together; date-range errors outline + shake the inputs */
.datepair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 12px;min-width:0}
.field input.date-error{border-color:#d62828;outline:2px solid #d62828;outline-offset:1px;box-shadow:0 0 0 4px #d6282833;animation:date-shake .45s ease-in-out 2}
@keyframes date-shake{0%,100%{transform:translateX(0)}20%{transform:translateX(-6px)}40%{transform:translateX(6px)}60%{transform:translateX(-4px)}80%{transform:translateX(4px)}}
@media(prefers-reduced-motion:reduce){.field input.date-error{animation:none}}

/* T2778: every row that reacts to a click shows the hand cursor (rows without a row-click handler keep the arrow) */
tr[data-vp-line],tr[data-q-row],tr[data-so-row],tr[data-po-row],tr[data-tl-open],tr[data-dashboard-task],tr[data-le-i],tr[data-u-row],tr[data-rp-row],tr[data-po],tr[data-line],tr[data-operations-row],tr[data-purchasing-row],[data-purchasing-part],[data-operations-line],tr[data-warning-row],tr[data-communication]{cursor:pointer}
tr[data-vp-line] td,tr[data-q-row] td,tr[data-so-row] td,tr[data-po-row] td,tr[data-tl-open] td,tr[data-dashboard-task] td,tr[data-le-i] td{cursor:pointer}
