.delivery-screen { font-size: 12px; }
.delivery-screen h3 { margin: 0; font-size: 16px; }
.delivery-screen h4 { margin: 0; font-size: 14px; }
.delivery-toolbar,.delivery-toolbar-actions,.delivery-section-head,.delivery-dialog-actions { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.delivery-toolbar { margin-bottom:14px; }
.delivery-toolbar-actions { justify-content:flex-end; }
.delivery-toolbar button,.delivery-filters button,.delivery-command button,.delivery-dialog button { min-height:34px; padding:7px 11px; border:1px solid var(--border); border-radius:8px; background:rgba(255,255,255,.04); }
.delivery-icon-button { width:34px; padding:0 !important; border-radius:50% !important; font-weight:700; }
.delivery-message { min-height:36px; margin-bottom:12px; padding:9px 12px; border-left:3px solid var(--blue); background:rgba(96,165,250,.08); color:var(--muted); }
.delivery-message[data-kind="success"] { border-color:var(--green); color:#8ff0ce; }
.delivery-message[data-kind="warning"] { border-color:var(--amber); color:#ffd571; }
.delivery-message[data-kind="error"] { border-color:var(--red); color:#ff9f9f; }
.delivery-summary { display:grid; grid-template-columns:repeat(7,minmax(100px,1fr)); gap:8px; margin-bottom:12px; }
.delivery-summary-item { min-height:68px; padding:10px; border:1px solid var(--border); border-radius:8px; background:rgba(255,255,255,.025); }
.delivery-summary-item span { display:block; color:var(--muted); font-size:10px; }
.delivery-summary-item strong { display:block; margin-top:6px; font-size:16px; }
.delivery-filters { display:grid; grid-template-columns:1fr 1fr 180px auto; gap:10px; align-items:end; margin-bottom:12px; }
.delivery-filters label,.delivery-command label { display:grid; gap:5px; color:var(--muted); font-size:10px; }
.delivery-filters input,.delivery-filters select,.delivery-command select { min-width:0; min-height:34px; padding:6px 8px; border:1px solid var(--border); border-radius:8px; background:var(--panel); color:var(--text); }
.delivery-layout { display:grid; grid-template-columns:minmax(0,1.65fr) minmax(300px,.8fr); border:1px solid var(--border); border-radius:8px; overflow:hidden; }
.delivery-list-region,.delivery-detail-region { min-width:0; padding:14px; background:var(--panel); }
.delivery-detail-region { border-left:1px solid var(--border); }
.delivery-table-wrap { max-height:465px; overflow:auto; }
.delivery-table { width:100%; border-collapse:collapse; table-layout:fixed; }
.delivery-table th,.delivery-table td { padding:9px 7px; border-bottom:1px solid rgba(255,255,255,.06); text-align:left; overflow-wrap:anywhere; }
.delivery-table th { color:var(--muted); font-size:10px; }
.delivery-table tr[data-delivery-id] { cursor:pointer; }
.delivery-table tr[data-delivery-id]:hover,.delivery-table tr.is-selected { background:rgba(96,165,250,.1); }
.delivery-empty { color:var(--muted); }
.delivery-detail { display:grid; grid-template-columns:110px minmax(0,1fr); gap:8px 10px; margin:14px 0; }
.delivery-detail dt { color:var(--muted); }
.delivery-detail dd { margin:0; overflow-wrap:anywhere; }
.delivery-command { display:flex; align-items:end; justify-content:space-between; gap:10px; padding-top:12px; border-top:1px solid var(--border); }
.delivery-command label { flex:1; }
.delivery-dialog { width:min(420px,calc(100vw - 32px)); padding:16px; border:1px solid var(--border); border-radius:8px; background:var(--panel-2); color:var(--text); }
.delivery-dialog::backdrop { background:rgba(0,0,0,.6); }
.delivery-dialog-actions { justify-content:flex-end; margin-top:16px; }
@media(max-width:1100px){.delivery-summary{grid-template-columns:repeat(3,1fr)}.delivery-filters,.delivery-layout{grid-template-columns:1fr}.delivery-detail-region{border-left:0;border-top:1px solid var(--border)}}
