/* International catalogue, offer comparison and trade case details */
.shop-work,.trade-case,.trade-ref-group,.trade-fieldset,.trade-disclose,.trade-payments,.trade-room-actions,.trade-room-personal,.trade-counters,.trade-review-group,.sim-page {
  --trade-ink:#173b37;--trade-muted:#50675f;--trade-line:#d7e3df;
  --trade-tint:#f1f7f4;--trade-primary:#16776b;--trade-cash:#a96b20;
}
.trade-source,.trade-selected,.trade-stock,.trade-spec,.trade-context,.trade-bill dt,.trade-bill dd,.trade-counters dt,.trade-threshold small,.trade-case-steps {font-size:.82rem}
.trade-stock,.trade-stage-count,.trade-threshold>div,.trade-threshold h3,.trade-disclose>summary,.trade-review-line {display:flex;align-items:center;justify-content:space-between;gap:.6rem}
.trade-source,.trade-context,.trade-stock span,.trade-spec,.trade-bill dt,.trade-threshold small,.trade-review-line small {color:var(--trade-muted,#50675f)}
.trade-source {font-weight:650;letter-spacing:.035em}
.shop-work .shop-product-body h3 {margin:0;line-height:1.4}
.shop-work .shop-product-body {display:flex;flex:1;flex-direction:column;gap:.36rem}
.shop-work .shop-product {display:flex;flex-direction:column;min-width:0;overflow:hidden}
.shop-work .shop-picture img {width:100%;height:100%;object-fit:cover}
.shop-work .shop-picture {background:#edf1ec}
.shop-work .shop-product .shop-mini-actions {padding-top:0;margin-top:0}
.shop-work .shop-product-action {margin-top:auto;padding-top:.3rem}
.shop-work .shop-product .shop-price {display:flex;align-items:baseline;flex-wrap:wrap;gap:.22rem}
.trade-stock,.trade-snap-line {font-variant-numeric:tabular-nums}
.trade-stock b {font-weight:650;overflow-wrap:anywhere}
.trade-selected {margin:0;color:#785323;font-weight:600}
.trade-context {margin:.55rem 0;padding:.55rem .72rem;line-height:1.5;border-inline-start:3px solid #81a89b;background:#f2f7f4;border-radius:3px}
.trade-spec {border-top:1px solid var(--trade-line);padding-top:.25rem}
.trade-spec summary,.trade-disclose summary,.trade-room-personal summary {cursor:pointer;font-weight:650}
.trade-spec small,.trade-review-line small {display:block;margin-top:.18rem}
.trade-bills,.trade-room-actions {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem}
.trade-payments {border:1px solid var(--trade-line);border-radius:.65rem;padding:.85rem;background:white}
.trade-payments h3 {margin:0 0 .65rem}
.trade-payments>small {display:block;color:var(--trade-muted);margin-top:.5rem}
.trade-bill {border:1px solid var(--trade-line);border-radius:.48rem;background:var(--trade-tint);padding:.7rem;min-width:0}
.trade-bill .trade-stock {align-items:flex-start;flex-wrap:wrap}
.trade-bill .trade-stock strong {font-size:1.05rem;overflow-wrap:anywhere}
.trade-stackbar {height:.5rem;background:#dce8e3;display:flex;border-radius:5px;overflow:hidden;margin:.55rem 0}
.trade-stackbar i:first-child {background:var(--trade-cash)}
.trade-stackbar i:nth-child(2) {background:var(--trade-primary)}
.trade-bill dl {margin:0}
.trade-bill dl>div {display:flex;align-items:baseline;justify-content:space-between;gap:.4rem}
.trade-bill dt:before {content:"";display:inline-block;width:.5rem;height:.5rem;border-radius:1px;margin-inline-end:.32rem;background:var(--trade-cash)}
.trade-bill dl>div+div dt:before {background:var(--trade-primary)}
.trade-bill dd {margin:0;font-weight:650;text-align:end;overflow-wrap:anywhere}
.trade-threshold {margin:.7rem 1rem 1rem;border-top:1px solid var(--trade-line);padding-top:.7rem}
.trade-threshold h3 {margin:0 0 .3rem;flex-wrap:wrap;font-size:.86rem}
.trade-threshold h3 b {font-variant-numeric:tabular-nums}
.trade-threshold>div,.trade-stage-count {flex-wrap:wrap;font-size:.82rem;gap:.22rem .5rem;margin:.48rem 0}
.trade-threshold progress,.trade-stage-count progress {display:block;width:100%;height:.49rem;accent-color:#16776b;border:0;border-radius:4px;overflow:hidden;background:#dce8e3}
.trade-threshold progress::-webkit-progress-bar,.trade-stage-count progress::-webkit-progress-bar {background:#dce8e3}
.trade-threshold progress::-webkit-progress-value,.trade-stage-count progress::-webkit-progress-value {background:#16776b}
.trade-threshold progress::-moz-progress-bar,.trade-stage-count progress::-moz-progress-bar {background:#16776b}
.trade-cart-photo {width:3.25rem;height:3.25rem;float:inline-start;margin-inline-end:.6rem;overflow:hidden;border-radius:.35rem}
.trade-cart-photo img,.trade-cart-photo .shop-image-fallback {display:block;width:100%;height:100%;object-fit:cover}
.trade-cart-photo .shop-image-fallback {display:grid;place-items:center}
.trade-review-group,.trade-disclose,.trade-room-personal {box-sizing:border-box;padding:.7rem .85rem;border:1px solid var(--trade-line);border-radius:.52rem;background:#fff}
.trade-disclose>summary {display:list-item;line-height:1.5}
.trade-disclose>summary>span {float:inline-end;color:var(--trade-muted);font-weight:500;font-size:.87rem}
.trade-disclose[open]>summary,.trade-room-personal[open]>summary {margin-bottom:.55rem}
.trade-review-group h3 {margin:0 0 .4rem}
.trade-review-line {padding:.4rem 0;border-top:1px solid var(--trade-line)}
.trade-review-line>div:last-child {text-align:end}
.trade-entry-leg h3 {display:flex;align-items:center;gap:.5rem}
.trade-side-code {display:inline-grid;place-items:center;min-width:2.3rem;padding:.23rem .3rem;border-radius:.35rem;background:var(--trade-tint,#f1f7f4);color:var(--trade-primary,#16776b);font-size:.83rem}
.trade-case-steps {display:grid;gap:0;list-style:none;padding:0;margin:.4rem 0 0}
.trade-case-steps li {display:flex;gap:.6rem;align-items:center;color:var(--trade-muted);padding:.28rem .3rem}
.trade-case-steps li span {width:1.4rem;height:1.4rem;display:grid;place-items:center;border-radius:50%;border:1px solid var(--trade-line);font-size:.74rem}
.trade-case-steps .is-current {font-weight:700;color:var(--trade-ink)}
.trade-case-steps .is-done span,.trade-case-steps .is-current span {background:var(--trade-tint);color:var(--trade-primary)}
.trade-case-steps .is-current span {background:var(--trade-primary);color:white}
.trade-fieldset,.trade-ref-group {margin:.4rem 0 .75rem;padding:.55rem .75rem .8rem;min-width:0;border:1px solid var(--trade-line);border-radius:.5rem}
.trade-fieldset legend,.trade-ref-group legend {padding:0 .28rem;font-weight:700;color:var(--trade-ink)}
.trade-ref-group .ref-grid {display:grid;grid-template-columns:repeat(auto-fit,minmax(min(14.5rem,100%),1fr));gap:.4rem}
.trade-ref-group .ref-item {display:grid;grid-template-columns:1rem 3rem minmax(0,1fr);align-items:center;gap:.5rem;padding:.45rem;border:1px solid var(--trade-line);border-radius:.4rem;margin:0;font-weight:400;cursor:pointer}
.trade-ref-group .ref-item:has(input:checked) {border-color:var(--trade-primary);background:var(--trade-tint)}
.trade-ref-group .ref-item img {width:3rem;height:3rem;object-fit:cover;border-radius:.3rem}
.trade-ref-group .ref-item small,.trade-ref-group .ref-item strong {display:block;line-height:1.4;overflow-wrap:anywhere}
.trade-ref-group .ref-item input {width:1rem;height:1rem;accent-color:var(--trade-primary)}
.trade-library-actions output {margin-inline-end:auto}
.trade-room-actions {align-items:start}
.trade-room-actions form {min-width:0}
.trade-room-actions .form-grid {grid-template-columns:1fr}
.trade-counters {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;margin:.25rem 0}
.trade-counters>div {border:1px solid var(--trade-line);border-radius:.48rem;padding:.55rem .65rem;background:var(--trade-tint)}
.trade-counters dt {color:var(--trade-muted)}
.trade-counters dd {margin:0;font-weight:700;font-size:1.3rem;font-variant-numeric:tabular-nums}
.trade-sim-photo {display:block;width:100%;height:clamp(4.5rem,12vw,8.8rem);border-radius:.35rem;object-fit:cover;margin:0 0 .6rem}
.sim-inspector .trade-disclose {margin:.6rem 0}
.trade-pair .kv-grid {grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:760px){
 .shop-work .shop-nav {display:flex;flex-wrap:wrap;gap:.12rem;margin-bottom:.1rem}
 .shop-work .shop-navbtn {min-height:2.6rem;padding:.45rem .6rem}
 .shop-work .shop-block-head,.shop-work .shop-controls {align-items:flex-start}
 .shop-work .shop-controls .shop-search {min-width:0;width:100%}
}
@media(max-width:580px){
 .trade-room-actions,.trade-bills {grid-template-columns:1fr}
 .trade-payments,.trade-bill {padding:.6rem}
 .trade-counters {gap:.25rem}
 .trade-counters>div {padding:.4rem}
 .trade-ref-group,.trade-fieldset {padding:.5rem}
 .trade-sim-photo {height:5.5rem}
 .trade-ref-group .ref-grid {grid-template-columns:1fr}
}
@media(max-width:390px){
 .shop-work .shop-grid {grid-template-columns:1fr}
 .shop-work .shop-product .shop-picture {aspect-ratio:2.2}
}

.wf-queue{padding:1rem 1.15rem;margin:.85rem 0;min-width:0}
.lc-overview>.wf-queue{margin:0}
.wf-head,.wf-row,.wf-step{display:flex;align-items:center;justify-content:space-between;gap:.75rem}
.wf-head{flex-wrap:wrap}
.wf-head h2{margin:0}
.wf-queue ul{margin:.55rem 0 0;padding:0;list-style:none}
.wf-queue li+li{border-top:1px solid #dce5df}
.wf-row{width:100%;padding:.7rem .25rem;color:#1b413e;background:transparent;border:0;border-radius:.25rem;text-align:start;min-height:3rem}
.wf-row:hover,.wf-row:focus-visible{background:#eff5f1}
.wf-main,.wf-step>div{display:grid;min-width:0;gap:.2rem;overflow-wrap:anywhere}
.wf-main small,.wf-step small{color:#4d6460;font-size:.82rem}
.wf-main>span{font-size:.94rem}
.wf-who{padding:.25rem .5rem;border-radius:.4rem;background:#e1eee7;color:#245044;font-size:.87rem;font-weight:650}
.wf-who.wf-wait{background:#eef0f2;color:#434f58}
.wf-step{padding:.7rem .85rem;margin:.55rem 0 .85rem;border-inline-start:3px solid #297668;background:#f0f5f2;border-radius:.25rem;font-size:.94rem}
@media(max-width:40rem){.wf-row,.wf-step{flex-wrap:wrap;align-items:start}.wf-main{flex:1 1 10rem}.wf-step small{flex:1 1 100%}}
