/* Keep the normal view lean; a narrow CSS viewport uses one switchable work area. */
body #app .products-offers-heading{display:flex;align-items:center;flex-wrap:wrap;gap:.35rem .6rem;min-width:0;margin:.5rem 0 .7rem}
body #app .products-offers-heading>div:first-child{flex:1 1 11rem;min-width:0}
body #app .products-offers-heading h1{margin:0;font-size:1.4rem;line-height:1.25}
body #app .products-offers-heading .performance-eyebrow{margin:0 0 .18rem;line-height:1.2}
body #app .products-offers-tools{display:flex;align-items:center;justify-content:flex-end;flex:0 1 auto;flex-wrap:wrap;gap:.3rem .55rem;min-width:0;max-width:100%;margin-left:auto}
body #app #offers-help-slot,body #app #idealo-upload-slot{min-width:0;max-width:100%}
body #app #offers-help-slot .compact-help{position:relative;margin:0}
body #app #offers-help-slot .compact-help-content{position:absolute;top:100%;right:0;z-index:5;box-sizing:border-box;width:min(25rem,calc(100vw - 2rem));max-height:50vh;overflow:auto;box-shadow:0 8px 24px #18334d26}
body #app .customer-offers-upload{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:.25rem .4rem;max-width:100%;margin:0;padding:0;border:0;background:transparent}
body #app .customer-offers-upload strong{font-size:.82rem;white-space:normal;color:#24384f}
body #app .customer-offers-admin-note{padding:.1rem .35rem;border-radius:999px;background:#e7eef7;color:#244b70;font-size:.69rem;font-weight:700;white-space:nowrap}
body #app .customer-offers-upload input[type=file]{flex:0 1 12rem;min-width:8rem;max-width:100%;min-height:32px;padding:.15rem;font-size:.78rem;line-height:1.2}
body #app .customer-offers-upload input[type=file]::file-selector-button{min-height:28px;margin-right:.35rem;padding:.2rem .45rem;border:1px solid #9db3cc;border-radius:6px;background:#edf3fb;color:#24496d;font:inherit;font-weight:650;cursor:pointer}
body #app .customer-offers-upload #offer-upload{min-height:32px;white-space:normal;font-size:.78rem}
body #app #offer-feed-status{color:#38566e;font-size:.82rem;line-height:1.3;overflow-wrap:anywhere}
body #app #offer-feed-status[data-idle=true]{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}

body #app .customer-offers{margin:.08rem 0 0;padding:0;border:0;background:transparent;color:#26384e}
body #app .customer-offers-intro{margin:0;color:#52647a;font-size:.82rem;line-height:1.4}
body #app #offers-status{min-height:0;margin:.2rem 0;color:#284862;font-size:.84rem;line-height:1.35;overflow-wrap:anywhere}
body #app #offers-status:empty{margin:0}
body #app .customer-offers #offer-progress{width:100%;height:7px;margin:.2rem 0 .4rem}
body #app .customer-offers #offer-progress[hidden]{display:none}
body #app .customer-offers-panel-switch{display:none}
body #app .customer-offers-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;column-gap:.65rem;row-gap:.35rem}
body #app .customer-offers-panel{display:grid;grid-template-rows:auto auto auto;row-gap:.32rem;min-width:0;padding:.65rem;border:1px solid #cbd8e6;border-radius:10px;background:#fff;box-shadow:0 2px 9px #1e38540a}
body #app .customer-offers-panel-head{display:flex;align-items:center;gap:.4rem;min-width:0;margin:0}
body #app .customer-offers-panel-head h3{margin:0;color:#203a56;font-size:1rem;line-height:1.25}
body #app .customer-offers-panel-head small{display:inline-block;margin-left:.25rem;padding:.12rem .45rem;border-radius:999px;background:#e6effa;color:#254a70;font-size:.82rem;vertical-align:middle}
body #app .customer-offers-workspace{min-width:0;align-content:start}
body #app #offer-panel-left>.customer-offers-workspace{display:flex;flex-direction:column;justify-content:space-between;gap:.35rem}
body #app .customer-offers-step{display:grid;place-items:center;flex:0 0 1.55rem;width:1.55rem;height:1.55rem;border-radius:50%;background:#305c88;color:#fff;font-size:.82rem;font-weight:800}
body #app .customer-offers-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(7rem,.72fr) auto;gap:.35rem;margin:0 0 .35rem}
body #app .customer-offers :is(button,input:not([type=checkbox]):not([type=file]),select){box-sizing:border-box;min-height:32px;font-size:.82rem;line-height:1.2}
body #app .customer-offers :is(input,select){min-width:0;max-width:100%}
body #app .customer-offers :is(button,input,select,a,label):focus-visible,body #app .customer-offers-upload :is(button,input):focus-visible{outline:3px solid #276fb1;outline-offset:2px}
body #app .customer-offers-list-toolbar{display:flex;align-items:center;gap:.3rem .5rem;min-height:32px}
body #app #offer-show-marked{flex:0 1 auto;min-height:29px;padding:.25rem .45rem;white-space:normal}
body #app #offer-show-marked[aria-pressed=true]{background:#dbeaf7;border-color:#7eabc8;color:#184b73}
body #app #offer-selection-count{flex:1 1 auto;text-align:center;color:#36546e;font-size:.78rem;font-weight:650;white-space:nowrap}
body #app #offer-add{flex:0 0 auto;white-space:normal}
body #app .customer-offers-primary{background:#2a5d87;color:#fff;border-color:#2a5d87;font-weight:750}
body #app .customer-offers-primary:hover:not(:disabled){background:#214d72;color:#fff;border-color:#214d72}
body #app .customer-offers-table{min-width:0;border:1px solid #aebfce;border-radius:6px;background:#fff;overflow-x:auto;overflow-y:hidden;container-type:inline-size}
body #app .customer-offers-table-head,body #app .customer-offers-item{display:grid;grid-template-columns:1.35rem minmax(3.7rem,1fr) minmax(4.1rem,1fr) repeat(3,minmax(2.2rem,.4fr)) minmax(3.6rem,.5fr) minmax(3.8rem,.85fr) minmax(5.3rem,.8fr) minmax(2.8rem,.42fr) minmax(2.5rem,.4fr);align-items:stretch;gap:0;padding:0}
body #app .customer-offers-table-head{box-sizing:border-box;height:29px;min-height:29px;overflow:hidden;scrollbar-gutter:stable;background:#eaf1f7;border-bottom:1px solid #aebfce;color:#2a4560;font-size:.72rem;font-weight:750}
body #app .customer-offers-table-head>span,body #app .customer-offers-item>span,body #app .customer-offers-item>label{display:flex;align-items:center;min-width:0;overflow:hidden;text-overflow:ellipsis;padding:.2rem .25rem;border-right:1px solid #d2dce6}
body #app .customer-offers-table-head>span{padding:0 .18rem;white-space:nowrap}
body #app .customer-offers-table-head>span:last-child,body #app .customer-offers-item>span:last-child{border-right:0}
body #app .customer-offers-sort-head{gap:.1rem}
body #app .customer-offers-sort-head[aria-sort=ascending],body #app .customer-offers-sort-head[aria-sort=descending]{background:#e0ebf6;color:#204b74}
body #app .customer-offers-sort-head>button{display:flex;align-items:center;gap:.08rem;min-width:0;min-height:27px!important;padding:0 .1rem;border:0;background:transparent;color:inherit;font-size:inherit!important;line-height:1!important;font-weight:750;text-align:left;overflow:hidden;white-space:nowrap;cursor:pointer}
body #app .customer-offers-sort-label{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body #app .customer-offers-sort-arrow{flex:0 0 auto;margin-left:auto}
body #app .customer-offers-sort-head>button:hover{background:#d7e6f4;color:#183e63}
body #app .customer-offers-sort-head>button:focus-visible{outline:2px solid #608bb5;outline-offset:-2px}
body #app .customer-offers-sort-head>button:first-child{flex:1 1 auto}
body #app .customer-offers-info-hint{display:inline-grid;place-items:center;flex:0 0 1rem;width:1rem;height:1rem;border-radius:50%;background:#dce8ff;color:#155eef;font-size:.72rem;cursor:help}
body #app .customer-offers-info-hint:focus-visible{outline:2px solid #155eef;outline-offset:1px}
body #app .customer-offers-table-head :is(.customer-offers-h-de,.customer-offers-h-tr,.customer-offers-h-fba,.customer-offers-h-total),body #app .customer-offers-stock{justify-content:flex-end;text-align:right}
body #app .customer-offers-table-head :is(.customer-offers-h-b2b,.customer-offers-h-special){font-size:.65rem}
body #app .customer-offers-table-head input[type=checkbox]{width:1.05rem;height:1.05rem;margin:0;vertical-align:middle;accent-color:#2b638f;cursor:pointer}
body #app .customer-offers-list{box-sizing:border-box;height:clamp(620px,80vh,1050px);overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-gutter:stable;background:#fff}
body #app .customer-offers-list>.muted{padding:1rem;color:#52657a;font-size:.86rem}
body #app .customer-offers-item{min-height:31px;border-bottom:1px solid #dce5ed;background:#fff;font-size:.74rem;line-height:1.12}
body #app .customer-offers-item:nth-child(even){background:#f8fbfe}
body #app .customer-offers-item:has(input:checked){background:#e9f3fc}
body #app .customer-offers-item:has(input:disabled){background:#f2f5f8}
body #app .customer-offers-item:hover,body #app .customer-offers-item:hover>:is(span,label){background:#eef4fa}
body #app .customer-offers-item>:is(span,label):hover{background:#e2edf8;box-shadow:inset 0 0 0 1px #acc3da}
body #app .customer-offers-item input[type=checkbox]{width:1.05rem;height:1.05rem;margin:0;vertical-align:middle;accent-color:#2b638f;cursor:pointer}
body #app .customer-offers-item-title{color:#183e63;font-size:.8rem;font-weight:750;white-space:nowrap;cursor:pointer}
body #app .customer-offers-item-title small{color:#5a6d7e;font-size:.68rem;font-weight:550}
body #app .customer-offers-row-category{color:#40566e;white-space:nowrap}
body #app .customer-offers-stock{font-weight:500;font-variant-numeric:tabular-nums;white-space:nowrap}
body #app .customer-offers-stock-de{font-weight:700}
body #app .customer-offers-stock-total{font-weight:800}
body #app .customer-offers-b2b{white-space:nowrap;font-variant-numeric:tabular-nums;font-size:.69rem;font-weight:750}
body #app .customer-offers-special{white-space:nowrap;font-variant-numeric:tabular-nums}
body #app .customer-offers-special input{box-sizing:border-box;width:100%;max-width:100%;min-width:0;min-height:24px!important;margin:0;padding:.12rem .15rem;text-align:right;font-size:.72rem!important;font-variant-numeric:tabular-nums}
body #app .customer-offers-special input[aria-invalid=true]{border-color:#bf3d43;background:#fff5f5}
body #app .customer-offers-link-cell{white-space:nowrap}
body #app .customer-offers-link-cell a{color:#1e5d91;text-decoration:underline;text-underline-offset:2px}
body #app .customer-offers-save{display:grid;grid-template-columns:minmax(0,1fr);gap:.4rem;margin:0;padding:.55rem;border:1px solid #c9dbe9;border-radius:8px;background:#edf4fb}
body #app .customer-offers-save-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;min-width:0}
body #app .customer-offers-saved-field,body #app .customer-offers-save label{display:grid;min-width:0;gap:.15rem;color:#354c65;font-size:.72rem;font-weight:650}
body #app .customer-offers-save :is(input,select){width:100%}
body #app .customer-offers-saved-menu{position:relative;min-width:0}
body #app .customer-offers-saved-menu summary{display:flex;align-items:center;justify-content:space-between;gap:.3rem;min-height:32px;box-sizing:border-box;padding:.35rem .5rem;border:1px solid #aebfce;border-radius:6px;background:#fff;color:#26384e;cursor:pointer;list-style:none;font-weight:500}
body #app .customer-offers-saved-menu summary::-webkit-details-marker{display:none}
body #app #offer-saved-current{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body #app .customer-offers-saved-list{position:absolute;top:calc(100% + 2px);left:0;right:0;z-index:10;max-height:18rem;overflow:auto;padding:.2rem;border:1px solid #b6c8d8;border-radius:7px;background:#fff;box-shadow:0 8px 24px #1b355b26}
body #app .customer-offers-saved-list>.muted{margin:.3rem;color:#5b6c7d;font-size:.78rem}
body #app .customer-offers-saved-row{display:grid;grid-template-columns:minmax(0,1fr) 2rem;gap:.2rem;align-items:center}
body #app .customer-offers-saved-row>button:first-child{text-align:left;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:transparent;color:#203d60}
body #app .customer-offers-saved-row>button:first-child:hover,body #app .customer-offers-saved-row>button[aria-current=true]{background:#e8f1f9}
body #app .customer-offers-saved-delete{display:grid;place-items:center;min-height:30px;padding:.25rem;border:0;background:transparent;color:#b13c41}
body #app .customer-offers-saved-delete:hover{background:#fff0f0}
body #app .customer-offers-saved-delete svg{width:1rem;height:1rem;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body #app .customer-offers-save-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-self:end;gap:.3rem}
body #app .customer-offers-save-actions button{min-width:0;white-space:normal}
body #app .customer-offers-export{display:grid;grid-template-columns:minmax(6rem,.8fr) minmax(6rem,.8fr) minmax(9rem,1.8fr);align-items:end;gap:.3rem;min-width:0}
body #app .customer-offers-export #offer-remove{min-width:0;min-height:32px!important}
body #app .customer-offers-export label{min-width:0}
body #app .customer-offers-export #offer-download{min-width:0;white-space:normal}
body #app .customer-offers-save-feedback{grid-column:1/-1;color:#38566e;font-size:.78rem}
body #app .customer-offers-save-feedback[hidden]{display:none}
body #app #offer-save-progress{display:block;width:100%;height:6px;margin:.2rem 0 0}
body #app #offer-save-progress[hidden]{display:none}
body #app #offer-special-progress{display:block;width:100%;height:6px;margin:.2rem 0 0}
body #app #offer-special-progress[hidden]{display:none}
body #app .customer-offers-danger{min-height:26px!important;padding:.2rem .3rem;border:1px solid #d8a2a4;border-radius:5px;background:#fff5f5;color:#a1373c;font-size:.72rem!important;font-weight:700;white-space:normal}
body #app .customer-offers-danger:hover:not(:disabled){background:#ffe5e6;border-color:#bd686e}
body #app .customer-offers-price-note{grid-column:1/-1;margin:0;color:#755626;font-size:.75rem;line-height:1.25}
@supports(grid-template-rows:subgrid){
  @media(min-width:901px){
    body #app .customer-offers-layout{grid-template-rows:auto auto auto}
    body #app .customer-offers-panel{grid-row:1/span 3;grid-template-rows:subgrid}
    body #app #offer-panel-left{grid-column:1}
    body #app #offer-panel-right{grid-column:2}
  }
}
@media(max-width:900px){
  body #app .customer-offers-panel-switch{display:flex;align-items:center;gap:.25rem;margin:0 0 .4rem;padding:.2rem;border:1px solid #cbd8e6;border-radius:8px;background:#edf3f9}
  body #app .customer-offers-panel-switch button{flex:1 1 0;min-width:0;border:0;background:transparent;color:#2b4d6d;font-weight:700}
  body #app .customer-offers-panel-switch button[aria-pressed=true]{background:#2a5d87;color:#fff}
  body #app .customer-offers-layout{grid-template-columns:minmax(0,1fr)}
  body #app .customer-offers-panel{grid-row:auto;grid-template-rows:auto auto auto}
  body #app .customer-offers-layout[data-offer-active=left] [data-offer-view=right],body #app .customer-offers-layout[data-offer-active=right] [data-offer-view=left]{display:none}
  body #app .customer-offers-list{height:min(68vh,760px);min-height:245px}
}
@media(max-width:680px){
  body #app #offers-help-slot .compact-help-content{left:0;right:auto}
  body #app .products-offers-heading:has(.customer-offers-upload) .products-offers-tools{width:100%;justify-content:flex-start;margin-left:0}
  body #app .customer-offers-upload{justify-content:flex-start}
  body #app .customer-offers-panel{padding:.55rem}
}
@container(max-width:660px){
  body #app .customer-offers-table-head,body #app .customer-offers-item{grid-template-columns:1.35rem minmax(3.7rem,1fr) minmax(4.1rem,1fr) minmax(2.2rem,.4fr) minmax(3.6rem,.5fr) minmax(3.8rem,.85fr) minmax(5.3rem,.8fr) minmax(2.8rem,.42fr) minmax(2.5rem,.4fr)}
  body #app .customer-offers-table-head>:is(.customer-offers-h-tr,.customer-offers-h-fba),body #app .customer-offers-item>:is(.customer-offers-stock-tr,.customer-offers-stock-fba){display:none}
}
@container(max-width:500px){
  body #app .customer-offers-table-head,body #app .customer-offers-list{min-width:500px}
}
@media(max-width:580px){
  body #app .customer-offers-controls{grid-template-columns:repeat(2,minmax(0,1fr))}
  body #app .customer-offers-controls #offer-import{grid-column:1/-1}
}
@media(max-width:450px){
  body #app .customer-offers-panel-head{flex-wrap:wrap}
  body #app .customer-offers-controls{grid-template-columns:minmax(0,1fr)}
  body #app .customer-offers-controls #offer-import{grid-column:auto}
  body #app .customer-offers-save{grid-template-columns:minmax(0,1fr)}
  body #app .customer-offers-save-actions,body #app .customer-offers-export{grid-column:1}
  body #app .customer-offers-export{grid-template-columns:repeat(2,minmax(0,1fr))}
  body #app .customer-offers-export #offer-download{grid-column:1/-1}
  body #app .customer-offers-list-toolbar{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1.25fr);gap:.25rem}
  body #app #offer-show-marked,body #app #offer-add{font-size:.73rem;line-height:1.12;padding:.2rem .3rem}
  body #app #offer-selection-count{font-size:.72rem}
  body #app .customer-offers-upload input[type=file]{flex-basis:11rem;min-width:0}
}
@media(max-width:360px){body #app .customer-offers-save-fields{grid-template-columns:minmax(0,1fr)}}
