.site-brand-logo{width:148px;max-height:54px;object-fit:contain;border-radius:6px;flex-shrink:0;background:white;padding:5px}
.workspace>header{flex-wrap:wrap;row-gap:12px}.workspace>header .search-wrap{flex:1;min-width:200px}
.proposal-grid>.compact-products{grid-column:1/-1;min-width:0;padding:18px!important}.compact-products h2{margin-bottom:10px}.compact-products .product-search-label{display:none}.compact-products #product-search{max-width:460px;height:40px;margin-bottom:10px}
.proposal-grid>.compact-products #quote-products{display:block!important;max-height:none!important;overflow:visible}
.product-strip{display:flex;gap:10px;overflow-x:auto;padding:2px 2px 12px;scroll-snap-type:x proximity;max-width:100%}.product-choice{flex:0 0 230px;scroll-snap-align:start;text-align:left;border:1px solid var(--line,#d3dce8);border-radius:10px;background:var(--surface,#f5f8fd);color:var(--ink,#1b314b);padding:10px 12px;cursor:pointer}.product-choice strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px}.product-choice span,.product-choice small{display:block;margin-top:5px;font-size:12px}.product-choice:hover{border-color:var(--blue,#3475c4)}
.compact-lines{width:100%;overflow-x:auto;border:1px solid var(--line,#d3dce8);border-radius:10px}.compact-lines table{width:100%;border-collapse:collapse;min-width:1200px;font-size:14px}.compact-lines th{text-align:left;font-size:12px;color:var(--muted,#64738a);padding:10px 8px;white-space:nowrap;border-bottom:1px solid var(--line,#d3dce8)}.compact-lines td{padding:9px 8px;border-bottom:1px solid var(--line,#d3dce8);vertical-align:middle}.compact-lines tr:last-child td{border-bottom:0}.compact-lines .control{height:36px;padding:6px 8px;font-size:14px;box-shadow:none;min-width:86px}.compact-lines input[type=number]{width:95px}.compact-lines select{width:190px}.compact-product-name{width:200px;min-width:175px}.compact-product-name strong{display:block;max-width:210px;overflow-wrap:anywhere}.compact-product-name small,.compact-line-total strong,.compact-line-total small{display:block;margin-top:4px}.compact-line-total{white-space:nowrap}.compact-instructions{min-width:220px}.compact-instructions input{width:100%;margin:2px 0}.compact-pricing-note{margin:9px 0 0!important;font-size:12px!important}.compact-products .repeat-art{margin-top:12px}.compact-products .repeat-art summary{cursor:pointer;padding:8px}
#proposal-new-customer{margin-top:9px;width:100%}.card-collection{display:flex;gap:8px;align-items:center;flex-wrap:wrap;margin-top:10px;border-top:1px solid var(--line,#d3dce8);padding-top:10px}.card-collection small{font-size:12px;line-height:1.5}.card-collection .button{min-height:34px;padding:7px 10px;font-size:13px}.collection-receipt-list>div{padding:16px;border:1px solid var(--line,#d3dce8);border-radius:12px;margin-bottom:12px;display:flex;gap:10px;flex-wrap:wrap;align-items:center}.collection-receipt-list small{flex:1}.payment-receipt-picker{margin:16px 0}.payment-receipt-picker .control{margin-top:8px}.payment-receipt-picker small{display:block;margin-top:8px;line-height:1.5}
html[data-theme=dark] .product-choice,body.dark .product-choice{background:var(--surface,#1c2a3c);color:var(--ink,#e5edf7)}
@media(max-width:760px){.site-brand-logo{width:115px;max-height:42px;margin-left:auto}.workspace>header .search-wrap{flex-basis:100%}.proposal-grid>.compact-products{padding:12px!important}.product-choice{flex-basis:210px}.compact-lines table{min-width:1120px}.compact-lines{max-height:520px}.compact-lines thead{position:sticky;top:0;background:var(--surface,#f5f8fd)}}
html[data-theme="dark"] .compact-lines thead{background:#1c2a3c}html[data-theme="dark"] .compact-lines :is(td,th),html[data-theme="dark"] .compact-lines,html[data-theme="dark"] .product-choice{border-color:#3b4d62}html[data-theme="dark"] .product-choice{color:#e5edf7;background:#233347}

.product-groups{display:flex;flex-direction:column;gap:8px}.product-group{border:1px solid var(--line,#d3dce8);border-radius:12px;background:var(--surface,#f5f8fd);overflow:hidden}.product-group-head{display:flex;align-items:center;gap:10px;width:100%;padding:11px 14px;background:transparent;border:0;color:inherit;cursor:pointer;text-align:left;font:inherit}.product-group-head strong{flex:1;font-size:14px}.product-group-head:hover{background:rgba(83,146,159,.08)}.cat-ico{width:20px;height:20px;flex-shrink:0;opacity:.85}.cat-chev{width:16px;height:16px;transition:transform .2s;opacity:.6}.product-group.open .cat-chev{transform:rotate(90deg)}.product-group-body{border-top:1px solid var(--line,#d3dce8)}.product-group-body[hidden]{display:none}.product-row{display:flex;align-items:center;gap:12px;padding:9px 14px;border-bottom:1px solid var(--line,#d3dce8)}.product-row:last-child{border-bottom:0}.prod-ico{width:17px;height:17px;flex-shrink:0;opacity:.6}.product-row-info{flex:1;min-width:0}.product-row-info strong{display:block;font-size:14px;overflow-wrap:anywhere}.product-row-info small,.product-row-meta small{display:block;font-size:12px;margin-top:3px;opacity:.8}.product-row-meta{text-align:right;white-space:nowrap;font-size:13px}.product-row .button{min-height:34px;padding:6px 12px;font-size:13px;flex-shrink:0}
html[data-theme=dark] .product-group{background:#233347;border-color:#3b4d62;color:#e5edf7}html[data-theme=dark] .product-group-body,html[data-theme=dark] .product-row{border-color:#3b4d62}
@media(max-width:760px){.product-row{flex-wrap:wrap;gap:8px}.product-row-info{flex-basis:calc(100% - 30px)}.product-row-meta{text-align:left;flex:1;padding-left:29px}}

/* Preserve the original transparent wordmark without cropping. */
:root{--petra-logo-plate:#ffffff}
.petra-login-mark{width:min(240px,100%)!important;height:auto!important;background:var(--petra-logo-plate)!important;padding:10px!important;border-radius:6px;box-sizing:border-box}
.petra-login-mark img{display:block;width:100%;height:auto;object-fit:contain}
.sidebar .brand>img.site-brand-logo{height:auto;max-height:none;aspect-ratio:2152/731;box-sizing:border-box;background:var(--petra-logo-plate)}
