.sd-shop .sd-metrics{grid-template-columns:repeat(5,minmax(0,1fr))!important}.rd-metric{background:#eef8f3;border:1px solid #a9c9b9;border-radius:9px!important;color:#173c31;padding:12px 15px;text-align:right;display:flex;flex-direction:column;justify-content:center;min-width:0}.rd-metric>span{font-size:14px;font-weight:600}.rd-metric>strong{font-size:27px;line-height:1.2}.rd-metric>small{font-size:11px;color:#416958}.rd-metric[aria-pressed=true]{outline:2px solid #235b43;outline-offset:1px}
.sd-shop .sd-columns{grid-template-columns:minmax(170px,1.6fr) minmax(65px,.55fr) minmax(115px,1fr) minmax(135px,1.1fr) minmax(145px,1.15fr) minmax(85px,.7fr) minmax(105px,.85fr) minmax(120px,1fr)!important;min-width:1100px}.rd-product-state+.rd-product-state{margin-top:12px;padding-top:10px;border-top:1px solid #e0e8e5}.rd-product-state>strong{display:block;font-size:12px;font-weight:500;white-space:normal;line-height:1.4;margin-bottom:4px}.rd-product-state small{font-size:11px;white-space:normal;line-height:1.4}.rd-product-state .sd-pill{white-space:normal;line-height:1.4}.sd-row>summary.sd-columns{align-items:start}
.rd-active.sd-shop .sd-table-card,.rd-active.sd-shop .sd-attention,.rd-active.sd-shop .sd-count-note{display:none!important}.rd-panel{background:#fff;border:1px solid #dbe5e0;border-radius:10px;padding:20px;margin:14px 0;min-width:0;overflow:auto}.rd-panel-head{display:flex;justify-content:space-between;align-items:start;gap:12px;flex-wrap:wrap}.rd-panel-head h2{font-size:23px;margin:0 0 5px}.rd-panel-head p{font-size:13px;color:#4f685d;margin:0}.rd-controls{display:flex;gap:20px;align-items:center;flex-wrap:wrap;padding:15px 0;border-bottom:1px solid #e0e7e2;margin-bottom:12px}.rd-controls label{font-size:13px}.rd-controls select{display:inline-block;width:auto;min-width:180px;margin-inline-start:8px}.rd-confirm{display:flex!important;align-items:center;gap:8px;font-size:13px!important}.rd-confirm input{width:17px!important;height:17px;min-height:0!important;accent-color:#225b43}.rd-entry{border:1px solid #dbe5e0;border-radius:7px;margin:10px 0;background:#fff}.rd-entry>summary{display:grid;grid-template-columns:1.5fr 1fr .8fr 1fr;gap:14px;padding:16px;cursor:pointer;background:#f4f8f6;list-style:none}.rd-entry>summary>span{min-width:0}.rd-entry small{display:block;font-size:12px;color:#5a7166;margin-top:4px}.rd-entry-body{padding:18px}.rd-entry-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.rd-entry h3{font-size:17px;margin:0 0 10px}.rd-entry p{font-size:14px}.rd-products{padding-right:20px}.rd-products li{margin-bottom:10px}.rd-photos{display:flex;gap:12px;flex-wrap:wrap;margin:12px 0 18px}.rd-photos a{display:block;max-width:230px}.rd-photos img{width:200px;height:145px;object-fit:cover;border-radius:5px;border:1px solid #d6e1db}.rd-photo-label{display:inline-flex;align-items:center;gap:10px;font-size:13px;margin:0}.rd-photo-label input{max-width:240px;font-size:12px}.rd-correction{background:#f1f6f2;padding:18px;border:1px solid #b6cbbd;border-radius:7px;margin-top:16px}.rd-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.rd-correction label{font-size:13px;margin:8px 0;display:block}.rd-correction input,.rd-correction select,.rd-correction textarea{width:100%}.rd-error{color:#a4312c;white-space:pre-wrap}.rd-warning{background:#fff4dc;padding:12px;color:#704d13}
@media(min-width:1151px){body.sd-dashboard .sd-columns{grid-template-columns:minmax(150px,1.4fr) minmax(60px,.5fr) minmax(105px,.9fr) minmax(125px,1.05fr) minmax(130px,1.1fr) minmax(75px,.65fr) minmax(95px,.8fr) minmax(110px,.95fr)!important;min-width:0!important}body.sd-dashboard .sd-row>summary{height:auto!important;min-height:78px!important;padding-block:10px!important}body.sd-dashboard .rd-product-state{overflow:visible!important}body.sd-dashboard .rd-product-state>strong{display:block!important;white-space:normal!important;overflow:visible!important;max-height:none!important;-webkit-line-clamp:unset!important}body.sd-dashboard .rd-product-state small{display:block!important;white-space:normal!important;overflow:visible!important;max-height:none!important;font-size:11px!important}body.sd-dashboard .rd-panel{flex:1;overflow-y:auto}body.sd-dashboard .rd-metric{padding:10px 13px}body.sd-dashboard .rd-metric>strong{font-size:25px}}
@media(max-width:760px){.sd-shop .sd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}.rd-entry>summary{grid-template-columns:1fr 1fr}.rd-entry-grid,.rd-form-grid{grid-template-columns:1fr}.rd-panel{padding:13px}.rd-controls{gap:10px}.rd-photo-label{flex-wrap:wrap}}
/* Compact dashboard: summary rows, full products remain in order details. */
body.sd-dashboard .sd-metrics{align-items:stretch!important}
body.sd-dashboard .sd-metric,body.sd-dashboard .rd-metric{height:auto!important;min-height:122px!important;max-height:none;box-sizing:border-box;padding:10px 14px!important;overflow:hidden}
body.sd-dashboard .sd-metric>span{font-size:13px!important;line-height:19px}
body.sd-dashboard .sd-metric b,body.sd-dashboard .rd-metric>strong{font-size:26px!important;line-height:29px!important;margin-top:2px}
body.sd-dashboard .rd-metric>span{font-size:13px;line-height:19px}
body.sd-dashboard .rd-metric>small{font-size:11px;line-height:17px}
body.sd-dashboard .sd-production-metric{display:grid!important;grid-template-rows:minmax(52px,auto) auto;height:auto!important;min-height:122px!important;border:1px solid #dce5ed!important;border-top:2px solid #225fa0!important;border-radius:7px;background:#fff!important;overflow:hidden!important}
body.sd-dashboard .sd-production-metric .sd-metric{height:auto!important;min-height:52px!important;max-height:none!important;border:0!important;box-shadow:none!important;padding:5px 14px!important;align-items:center!important}
body.sd-dashboard .sd-production-chips{position:static!important;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:4px!important;flex-wrap:wrap;padding:0 8px 8px!important;min-width:0}
body.sd-dashboard .sd-production-chips button{font-size:11px!important;line-height:16px!important;min-height:24px!important;padding:2px 5px!important;white-space:normal;justify-content:space-between}
body.sd-dashboard .sd-row>summary.sd-columns{height:60px!important;min-height:60px!important;max-height:60px!important;padding-block:7px!important;align-items:center!important;box-sizing:border-box;overflow:hidden}
body.sd-dashboard .sd-row>summary.sd-columns>span{min-width:0;max-height:46px;overflow:hidden}
body.sd-dashboard .rd-domain-summary{display:flex;flex-direction:column;align-items:flex-start;gap:3px;min-width:0;max-width:100%}
body.sd-dashboard .rd-domain-summary .sd-pill{display:block!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis;max-width:100%;box-sizing:border-box;font-size:11px!important;line-height:17px!important}
body.sd-dashboard .rd-domain-summary small{display:block;font-size:10px!important;line-height:14px!important;color:#637d88;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
body.sd-dashboard .sd-row>summary .sd-client strong{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;display:block;font-size:13px!important}
body.sd-dashboard .sd-row>summary .sd-client small{white-space:nowrap!important;overflow:hidden;text-overflow:ellipsis;display:block;font-size:10px!important}
@media(max-width:760px){body.sd-dashboard .sd-metrics{grid-template-columns:repeat(2,minmax(0,1fr))!important}}

body.sd-dashboard .sd-production-chips .sd-approved-waiting{grid-column:1/-1}body.sd-dashboard .sd-production-chips button>span{min-width:0}body.sd-dashboard .sd-production-chips bdi{white-space:nowrap;flex-shrink:0}
