.delivery-groups{--dg-surface:#fff;--dg-warning:#79551f;--dg-success:#17664d;--dg-soft:var(--fa-soft,#f3f6fa);min-width:0;container-type:inline-size}.delivery-groups-heading,.delivery-groups-heading>div,.delivery-template-heading,.delivery-template-heading>div{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.delivery-groups-heading,.delivery-template-heading{justify-content:space-between;margin:4px 0 20px;gap:16px}.delivery-groups-heading>div>svg{color:var(--fa-accent)}.delivery-count{color:var(--fa-muted);font-variant-numeric:tabular-nums}.delivery-group-tabs{display:flex;gap:6px;padding:5px;background:var(--dg-soft);border:1px solid var(--fa-line);border-radius:8px;margin-bottom:22px;width:fit-content;max-width:100%;overflow:auto}.foundation-admin .delivery-group-tabs button{border:0;white-space:nowrap;padding:9px 15px;min-height:40px}.foundation-admin .delivery-group-tabs button[aria-pressed=true]{background:var(--dg-surface);color:var(--fa-accent);box-shadow:0 1px 5px #172f4810;font-weight:600}.delivery-unsaved{color:var(--dg-warning);margin:0 0 16px;font-size:14px}.delivery-template-layout{display:grid;grid-template-columns:218px minmax(0,1fr);gap:24px;align-items:start}.delivery-group-list{display:grid;gap:10px;position:sticky;top:90px}.foundation-admin .delivery-group-list>button{display:grid;grid-template-columns:26px minmax(0,1fr);justify-content:start;align-items:start;text-align:left;gap:10px;padding:16px 12px;min-height:100px;background:var(--dg-surface);border-radius:8px;white-space:normal}.foundation-admin .delivery-group-list>button[aria-pressed=true]{border-color:var(--fa-accent);background:var(--dg-soft);box-shadow:inset 3px 0 var(--fa-accent)}.delivery-list-number{font-variant-numeric:tabular-nums;color:var(--fa-accent);font-weight:600}.delivery-group-list strong{font-size:15px;line-height:1.6;display:block;overflow-wrap:anywhere}.delivery-group-list strong+span{display:block;margin-top:8px;font-size:13px;color:var(--fa-muted);line-height:1.6}.delivery-template-state{grid-column:2;font-size:13px;color:var(--dg-warning)}.delivery-template-state.confirmed{color:var(--dg-success)}.delivery-template-editor{min-width:0}.delivery-template-heading h2{font-size:20px;line-height:1.5;overflow-wrap:anywhere;margin:0}.delivery-group-section{border:1px solid var(--fa-line);border-radius:8px;background:var(--dg-surface);padding:22px;margin:0 0 22px;min-width:0;overflow:visible}.delivery-group-section>header{display:flex;align-items:center;gap:10px;min-height:38px;margin-bottom:20px;flex-wrap:wrap}.delivery-group-section h3{margin:0;font-size:17px;line-height:1.5;font-weight:600}.delivery-section-number{display:grid;place-items:center;width:30px;height:30px;flex:0 0 30px;background:var(--dg-soft);color:var(--fa-accent);font-size:13px;font-weight:600;border-radius:6px}.delivery-section-action{margin-left:auto;min-width:0;color:var(--fa-muted)}.delivery-group-fields{display:grid;grid-template-columns:1fr 1fr;gap:18px 20px}.delivery-group-fields label,.delivery-scenario-fields label{display:grid;gap:9px;min-width:0;font-size:14px;line-height:1.5}.delivery-wide{grid-column:1/-1}.delivery-groups input:not([type=checkbox]),.delivery-groups select,.delivery-groups textarea{border:1px solid var(--fa-line);border-radius:6px;background:var(--dg-surface);color:inherit;width:100%;padding:9px 11px;min-height:40px;min-width:0;font:inherit}.delivery-groups textarea{resize:vertical}.delivery-groups select{cursor:pointer;padding-right:26px;max-width:100%}.delivery-groups input:focus-visible,.delivery-groups select:focus-visible,.delivery-groups textarea:focus-visible{outline:2px solid var(--fa-accent);outline-offset:2px}.delivery-number{display:flex;align-items:center;min-width:0;gap:6px}.delivery-number>span{white-space:nowrap;color:var(--fa-muted);font-size:13px}.delivery-number input{font-variant-numeric:tabular-nums}.delivery-group-fields output{display:flex;align-items:center;min-height:40px;font-weight:600;font-variant-numeric:tabular-nums}.delivery-groups .delivery-add-resource{width:190px;max-width:100%;font-size:13px;color:var(--fa-accent)}.delivery-group-table-scroll{overflow:auto;max-width:100%;border-radius:5px}.delivery-group-table{border-collapse:collapse;width:100%;min-width:920px;table-layout:fixed;font-size:13px}.delivery-group-table td,.delivery-group-table th{padding:14px 10px;border-bottom:1px solid var(--fa-line);text-align:left;vertical-align:middle;line-height:1.6;font-weight:400;overflow-wrap:anywhere}.delivery-group-table thead th{background:var(--dg-soft);font-weight:500;color:var(--fa-muted)}.delivery-group-table th:first-child{width:220px}.delivery-group-table tbody th{font-weight:600}.delivery-group-table th:nth-child(2){width:155px}.delivery-group-table th:last-child{width:42px}.delivery-group-table .delivery-number input{min-width:74px;padding:8px 7px;font-size:13px}.delivery-group-table td>button{border:0;min-height:40px;min-width:40px;padding:8px;color:var(--fa-muted)}.delivery-price{font-variant-numeric:tabular-nums;white-space:nowrap}.delivery-price>span,.delivery-source-tag{display:block;color:var(--fa-muted)}.delivery-source-tag{margin-top:6px;font-size:13px;font-weight:400}.delivery-equipment-table{min-width:790px}.delivery-equipment-table th:last-child{width:42px}.delivery-equipment-table th:nth-child(3){width:100px}.delivery-equipment-table th:nth-child(4){width:130px}.delivery-template-footer{display:flex;align-items:end;justify-content:space-between;gap:15px;margin:20px 0}.delivery-template-footer>label{display:grid;gap:8px;min-width:160px}.delivery-template-empty{display:grid;justify-items:center;gap:18px;padding:80px 20px;color:var(--fa-muted)}.delivery-staff-heading{display:flex;align-items:center;gap:12px;margin:30px 0 22px;color:var(--fa-accent)}.delivery-rule-flow{display:flex;align-items:center;gap:14px;flex-wrap:wrap;line-height:1.7}.delivery-rule-flow>span{display:flex;align-items:center;gap:8px}.delivery-rule-flow>b{font-weight:400;color:var(--fa-muted)}.delivery-rule-flow strong{color:var(--fa-accent);font-size:15px}.delivery-role-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:22px}.delivery-staff-table{min-width:900px}.delivery-staff-table th:first-child{width:110px}.delivery-staff-table th:nth-child(2){width:180px}.delivery-staff-table th:last-child{width:110px}.delivery-group-selection{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.delivery-group-selection>label{display:grid;grid-template-columns:20px minmax(0,1fr) 20px;gap:12px;align-items:center;position:relative;border:1px solid var(--fa-line);border-radius:8px;padding:18px;cursor:pointer;min-height:110px}.delivery-group-selection>label>input{width:17px;height:17px;margin:0;accent-color:var(--fa-accent)}.delivery-group-selection>label>svg:nth-child(2){display:none}.delivery-group-selection strong{font-size:15px;line-height:1.5}.delivery-group-selection label>span{grid-row:2;grid-column:2/-1;font-size:13px;color:var(--fa-muted)}.delivery-group-selection label[data-selected=true]{border-color:var(--fa-accent);background:var(--dg-soft)}.delivery-group-selection svg:last-child{color:var(--dg-success)}.delivery-preview-metrics,.delivery-scenario-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.delivery-preview-metrics{margin:26px 0}.delivery-preview-metrics>div{display:grid;gap:10px;padding:4px 0 10px;min-width:0}.delivery-preview-metrics svg{color:var(--fa-accent)}.delivery-preview-metrics>div:nth-child(2) svg{color:#8a72a0}.delivery-preview-metrics>div:nth-child(3) svg{color:#9a8059}.delivery-preview-metrics>div:nth-child(4) svg{color:#398b89}.delivery-preview-metrics span{font-size:14px;color:var(--fa-muted)}.delivery-preview-metrics strong{font-size:23px;line-height:1.4;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.delivery-preview-table{min-width:650px}.delivery-preview-table th:last-child{width:140px}.delivery-pending{color:var(--dg-warning)}.delivery-ready{color:var(--dg-success)}.delivery-missing-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:1fr 1fr;gap:14px 24px}.delivery-missing-list li{display:flex;align-items:start;gap:9px;line-height:1.6;overflow-wrap:anywhere}.delivery-missing-list svg{flex:0 0 16px;margin-top:3px;color:var(--dg-warning)}.delivery-remove-dialog{width:min(420px,94vw)}.group-manual-subsection{padding:16px 0}.group-manual-subsection+div{border-top:1px solid var(--fa-line)}.group-manual h4{display:flex;align-items:center;gap:8px;margin:0 0 16px;font-size:15px}.group-manual article{padding:12px 0}.group-manual article header{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.group-manual article p,.group-manual-text{line-height:1.8;white-space:pre-line;font-size:14px}.group-manual label{display:grid;gap:10px;margin-top:14px}.group-manual a{display:inline-flex;align-items:center;gap:7px;color:var(--fa-accent);text-decoration:none}.group-manual select{margin:10px 0}.group-manual button{margin:4px}.delivery-rule-sources{display:grid;gap:22px}.delivery-rule-sources article{border-bottom:1px solid var(--fa-line);padding-bottom:16px}.delivery-rule-sources h4{font-size:15px;margin:0 0 15px}.delivery-groups .delivery-remove-dialog{background:var(--dg-surface)}.workspace-runtime[data-theme=dark] .delivery-groups{--dg-surface:#151a20;--dg-warning:#dbb77e;--dg-success:#84cbb1;--dg-soft:#1c2530}@container(max-width:1100px){.delivery-template-layout{grid-template-columns:1fr}.delivery-group-list{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-template-heading{margin-top:10px}}@container(max-width:650px){.delivery-group-list{grid-template-columns:1fr}}@media(max-width:1200px){.delivery-template-layout{grid-template-columns:1fr}.delivery-group-list{position:static;grid-template-columns:repeat(3,minmax(0,1fr))}.delivery-template-heading{margin-top:10px}.delivery-preview-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.delivery-group-list,.delivery-group-selection{grid-template-columns:1fr}.delivery-group-section{padding:16px}.delivery-group-fields,.delivery-scenario-fields{grid-template-columns:1fr 1fr}.delivery-missing-list{grid-template-columns:1fr}.delivery-group-tabs,.delivery-groups-heading>div:last-child,.delivery-template-heading>div{width:100%}.delivery-group-tabs button{flex:1}.delivery-template-layout{gap:14px}.delivery-section-action{width:100%;margin:6px 0 0}.delivery-groups .delivery-add-resource{width:100%}}@media(max-width:400px){.delivery-group-fields,.delivery-scenario-fields{grid-template-columns:1fr}.delivery-preview-metrics strong{font-size:20px}.foundation-admin .delivery-group-tabs button{padding:8px;font-size:13px}}.delivery-group-switch{display:none}.delivery-unsaved{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.delivery-resource-picker{position:relative;color:var(--fa-accent);font-size:13px;min-width:190px}.delivery-resource-picker summary{cursor:pointer;list-style:none;border:1px solid var(--fa-line);border-radius:6px;min-height:40px;padding:9px 12px}.delivery-resource-picker>div{position:absolute;right:0;top:calc(100% + 6px);z-index:25;width:340px;max-width:calc(100vw - 64px);padding:12px;background:var(--dg-surface);border:1px solid var(--fa-line);border-radius:8px;box-shadow:0 12px 32px #0002;color:var(--chapter-ink)}.delivery-resource-picker label{display:grid;gap:6px}.delivery-resource-picker ul{list-style:none;margin:10px 0 0;padding:0;max-height:260px;overflow-y:auto;overscroll-behavior:contain}.foundation-admin .delivery-resource-picker li>button{display:grid;text-align:left;justify-content:stretch;gap:4px;width:100%;border:0;padding:10px;min-height:52px}.delivery-resource-picker button span{color:var(--fa-muted);font-size:12px}.delivery-resource-picker button strong{font-size:14px}.delivery-group-table tbody th:first-child{position:sticky;left:0;z-index:1;background:var(--dg-surface)}@container(max-width:1100px){.delivery-group-list{display:none}.delivery-group-switch{display:grid;gap:8px;font-size:14px}.delivery-template-layout{gap:16px}}@media(max-width:1200px){.delivery-group-list{display:none}.delivery-group-switch{display:grid;gap:8px}.delivery-template-layout{gap:16px}}@media(pointer:coarse){.delivery-group-table td>button{min-height:44px;min-width:44px}}