.boxes-groups{display:grid;gap:28px}.boxes-group-title{font-size:18px;font-weight:600;margin:0 0 14px;overflow-wrap:anywhere}
.boxes-summary{margin:0 0 20px;font-size:14px;color:var(--muted);overflow-wrap:anywhere}.boxes-orders{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;align-items:start}.boxes-order{min-width:0;width:100%;padding:0;text-align:left;font:inherit;color:inherit;cursor:pointer}.boxes-order:hover{border-color:#b8c8df}.boxes-order:focus-visible{outline:2px solid var(--primary);outline-offset:3px}.boxes-address-heading{display:block;padding:20px 20px 12px}.boxes-address{display:block;font-size:16px;line-height:1.5;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.boxes-order-summary{display:block;padding:0 20px 20px;font-size:13px;color:var(--muted)}.boxes-metrics{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:14px}.boxes-metrics strong{font-weight:600;color:#475569;font-variant-numeric:tabular-nums}@media(max-width:600px){.boxes-orders{grid-template-columns:minmax(0,1fr)}}
.order-bookmarks{display:flex;gap:8px;overflow-x:auto;padding:2px 2px 6px;margin:0 -2px 18px}.order-bookmark{flex-shrink:0;border:1px solid var(--border);border-radius:7px;background:#fff;padding:9px 14px;font:inherit;font-size:14px;color:#64748b;cursor:pointer}.order-bookmark[aria-pressed=true]{background:#eaf1ff;border-color:#b8cdf8;color:#1d4ed8;font-weight:600}.order-bookmark:focus-visible{outline:2px solid var(--primary);outline-offset:1px}.order-bookmark:disabled{opacity:.6;cursor:wait}.order-bookmark-error:not(:empty){margin-bottom:16px;color:#a36a54;font-size:14px}
.order-content{padding-bottom:20px}
.boxes-order-name{display:block;margin-bottom:6px;font-size:13px;color:var(--muted);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

dialog:has(.boxes-detail){--order-dialog-gutter:clamp(16px,5vw,24px);max-width:500px;max-height:calc(100dvh - 24px);overscroll-behavior:contain}
dialog:has(.boxes-detail) .dialog-heading{position:sticky;top:0;z-index:1;align-items:center;padding:12px var(--order-dialog-gutter);background:var(--surface)}
dialog:has(.boxes-detail) .dialog-heading h2{display:flex;align-items:center;gap:10px;font-size:19px;font-weight:650}
dialog:has(.boxes-detail) .dialog-heading p:empty{display:none}
dialog:has(.boxes-detail) .dialog-heading .icon-button{flex:none;width:42px;height:42px}
.boxes-detail-icon{display:grid;place-items:center;width:36px;height:36px;border-radius:8px;background:var(--soft);color:var(--primary)}.boxes-detail-icon svg{width:19px;height:19px}
dialog:has(.boxes-detail) .dialog-content{padding:16px var(--order-dialog-gutter) 20px}
.boxes-detail{display:grid;gap:16px}.boxes-detail dl,.boxes-detail dd{margin:0}.boxes-detail dt{color:#53647c;font-size:12px;font-weight:600}.boxes-detail dd{overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.boxes-detail-overview{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px;padding:12px;border:1px solid #e1eafa;border-radius:9px;background:#f7faff}
.boxes-detail-number{flex:1 1 110px;min-width:0}.boxes-detail-number dd{margin-top:3px;font-size:21px;font-weight:650;line-height:1.3}
.boxes-detail-count.boxes-metrics{display:grid;gap:1px;min-width:76px;max-width:100%;padding:5px 10px;border-radius:7px;background:#eaf1ff;text-align:center;color:#2558a5}.boxes-detail-count dt,.boxes-detail-count strong{color:inherit}.boxes-detail-count strong{font-size:19px;font-weight:650;line-height:1.3}
.boxes-detail-fields{display:grid;gap:12px}.boxes-detail-fields dd{margin-top:3px}.boxes-detail-address dd{font-size:16px;font-weight:600}
.boxes-detail-note{padding:10px 12px;border-radius:8px;background:#f4f7fb}.boxes-comment{white-space:pre-wrap}.boxes-comment-empty{color:#64748b}
