/* Delivery-only working surface. Never resize the shared project card or sidebar. */
.project-context-content:has(> .delivery-desktop) { display: flex; flex-direction: column; overflow: hidden; }
.project-context-content:has(> .delivery-desktop) > .name-pool-identity { flex: 0 0 auto; }
.project-context-content > .delivery-desktop { flex: 1; height: auto; }
.delivery-desktop {
  height: 100%; min-height: 0; min-width: 0; display: flex; flex-direction: column;
  position: relative; color: rgba(var(--ui-source-1be27b3f5c173a-rgb, 31, 41, 51), var(--ui-source-1be27b3f5c173a-alpha, 1)); --delivery-line: #edf0ed;
}
body .delivery-desktop .delivery-page-head {
  flex: 0 0 auto; min-height: 52px; margin: 0; padding: 4px 0;
  align-items: center; gap: 20px; border: 0; background: transparent;
}
body .delivery-desktop .delivery-page-head h1 { margin: 0; font-size: 22px; }
.delivery-heading-group, .delivery-heading-actions { display: flex; align-items: center; gap: 22px; min-width: 0; }
.delivery-heading-actions { flex: none; font-size: 13px; color: rgba(var(--ui-source-bf22269061308c-rgb, 107, 114, 128), var(--ui-source-bf22269061308c-alpha, 1)); }
.delivery-heading-actions b { color: rgba(var(--ui-source-48ea13c04eaa39-rgb, 37, 99, 91), var(--ui-source-48ea13c04eaa39-alpha, 1)); font-weight: 600; }
body .delivery-desktop .delivery-record-tabs { display: flex; align-items: center; gap: 12px; margin: 0; padding: 0; border: 0; background: none; }
body .delivery-desktop .delivery-record-tabs > span { font-size: 13px; color: rgba(var(--ui-source-ade8320a693ab6-rgb, 107, 114, 128), var(--ui-source-ade8320a693ab6-alpha, 1)); }
body .delivery-desktop .delivery-record-tabs select { width: auto; max-width: 280px; min-width: 120px; border-color: transparent; background: transparent; font-size: 14px; padding: 5px 22px 5px 8px; }
body .delivery-desktop .delivery-heading-actions button { padding: 7px 0 7px 12px; font-size: 13px; border: 0; background: transparent; color: rgba(var(--ui-source-c586b6335dcf8e-rgb, 37, 99, 91), var(--ui-source-c586b6335dcf8e-alpha, 1)); box-shadow: none; }
.delivery-desktop-tabs { display: flex; flex: 0 0 auto; gap: 34px; height: 45px; margin-bottom: 12px; border-bottom: 1px solid rgba(var(--ui-source-f73179093ee969-rgb, 237, 240, 237), var(--ui-source-f73179093ee969-alpha, 1)); overflow-x: auto; }
body .delivery-desktop .delivery-desktop-tabs button { position: relative; flex: none; border: 0; border-radius: 0; padding: 0 2px; font-size: 16px; font-weight: 400; color: rgba(var(--ui-source-ade8320a693ab6-rgb, 107, 114, 128), var(--ui-source-ade8320a693ab6-alpha, 1)); background: transparent; box-shadow: none; }
body .delivery-desktop .delivery-desktop-tabs button.active { color: rgba(var(--ui-source-74c8a59e5bd796-rgb, 37, 99, 91), var(--ui-source-74c8a59e5bd796-alpha, 1)); font-weight: 600; }
.delivery-desktop-tabs button.active::after { content: ""; position: absolute; height: 3px; background: rgba(var(--ui-source-0970afd0f4fddb-rgb, 37, 99, 91), var(--ui-source-0970afd0f4fddb-alpha, 1)); bottom: 0; left: 0; right: 0; border-radius: 3px 3px 0 0; }
.delivery-desktop-tabs i { display: inline-block; width: 6px; height: 6px; margin: 0 0 4px 5px; border-radius: 50%; background: rgba(var(--ui-source-94d593c8a82d01-rgb, 185, 129, 50), var(--ui-source-94d593c8a82d01-alpha, 1)); }
body .delivery-desktop .delivery-workspace { flex: 1; min-height: 0; overflow: hidden; gap: 0; }
body .delivery-desktop .delivery-workspace > .delivery-section { height: 100%; min-height: 0; margin: 0; padding: 22px 24px; border: 0; border-radius: 9px; background: rgba(var(--ui-source-d89cb5294cfef4-rgb, 255, 255, 255), var(--ui-source-d89cb5294cfef4-alpha, 1)); box-shadow: none; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; }
body .delivery-desktop .delivery-workspace > .delivery-section:not(.active) { display: none; }
body .delivery-desktop .delivery-workspace > .delivery-section.active { display: block; }
body .delivery-desktop .section-head h2 { font-size: 20px; }
body .delivery-desktop .section-head p { font-size: 14px; }
body .delivery-desktop #delivery-build-zone.active { display: flex; flex-direction: column; padding: 16px 24px 0; overflow: hidden; }
body .delivery-desktop .delivery-report-round-toolbar { display: flex; align-items: center; flex: none; gap: 26px; min-height: 55px; padding: 0 0 15px; margin: 0; background: none; border: 0; border-bottom: 1px solid rgba(var(--ui-source-7e4fb1e89f884e-rgb, 237, 240, 237), var(--ui-source-7e4fb1e89f884e-alpha, 1)); border-radius: 0; }
.delivery-report-round-toolbar h2 { margin: 0; font-size: 20px; white-space: nowrap; }
body .delivery-desktop .delivery-report-round-toolbar label { display: flex; align-items: center; gap: 12px; font-size: 13px; white-space: nowrap; }
body .delivery-desktop .delivery-report-round-toolbar select { min-width: 185px; width: auto; font-size: 14px; padding: 7px 10px; background: rgba(var(--ui-source-f8f7c0b315bb50-rgb, 255, 255, 255), var(--ui-source-f8f7c0b315bb50-alpha, 1)); border-color: rgba(var(--ui-source-0b8a6ab714a138-rgb, 237, 240, 237), var(--ui-source-0b8a6ab714a138-alpha, 1)); }
.delivery-desktop .delivery-report-count { font-size: 13px; color: rgba(var(--ui-source-26f46063105f05-rgb, 107, 114, 128), var(--ui-source-26f46063105f05-alpha, 1)); white-space: nowrap; }
body .delivery-desktop .delivery-report-round-toolbar > .muted { margin-left: auto; font-size: 12px; }
body .delivery-desktop .delivery-report-list { display: block; flex: 1; min-height: 0; overflow: auto; overscroll-behavior: contain; scrollbar-gutter: stable; margin: 0; gap: 0; padding: 0; }
body .delivery-desktop .delivery-report-row { display: flex; align-items: center; gap: 28px; min-height: 65px; padding: 10px 0; border: 0; border-bottom: 1px solid rgba(var(--ui-source-7e4fb1e89f884e-rgb, 237, 240, 237), var(--ui-source-7e4fb1e89f884e-alpha, 1)); border-radius: 0; background: none; box-shadow: none; }
body .delivery-desktop .delivery-report-row > .delivery-report-info { display: block; flex: 1; min-width: 0; }
.delivery-desktop .delivery-report-title { display: flex; align-items: baseline; gap: 11px; min-width: 0; }
body .delivery-desktop .delivery-report-title strong { display: block; flex: 0 1 auto; margin: 0; font-size: 16px; line-height: 23px; font-weight: 600; color: rgba(var(--ui-source-1be27b3f5c173a-rgb, 31, 41, 51), var(--ui-source-1be27b3f5c173a-alpha, 1)); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
body .delivery-desktop .delivery-report-title > span { display: block; min-width: 0; margin: 0; font-size: 13px; color: rgba(var(--ui-source-26f46063105f05-rgb, 107, 114, 128), var(--ui-source-26f46063105f05-alpha, 1)); overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.delivery-desktop .delivery-report-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 3px; }
body .delivery-desktop .delivery-report-meta > span { font-size: 12px; line-height: 18px; margin: 0; color: rgba(var(--ui-source-26f46063105f05-rgb, 107, 114, 128), var(--ui-source-26f46063105f05-alpha, 1)); }
.delivery-desktop .delivery-report-meta > span + span::before { content: "·"; color: rgba(var(--ui-source-7492ee2444edb5-rgb, 176, 184, 179), var(--ui-source-7492ee2444edb5-alpha, 1)); margin-right: 10px; }
body .delivery-desktop .delivery-publication-status { display: flex; align-items: center; gap: 7px; flex: 0 0 176px; margin: 0; padding: 0; border: 0; border-radius: 0; background: transparent; font-size: 12px; font-style: normal; color: rgba(var(--ui-source-f60475c27b02b2-rgb, 128, 110, 76), var(--ui-source-f60475c27b02b2-alpha, 1)); white-space: nowrap; }
.delivery-desktop .delivery-publication-status::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; flex: none; }
body .delivery-desktop .delivery-publication-status.published { color: rgba(var(--ui-source-89ea35ab6fce0a-rgb, 84, 129, 108), var(--ui-source-89ea35ab6fce0a-alpha, 1)); }
body .delivery-desktop .delivery-publication-status.withdrawn { color: rgba(var(--ui-source-23801b20659285-rgb, 107, 114, 128), var(--ui-source-23801b20659285-alpha, 1)); }
body .delivery-desktop .delivery-report-actions { display: flex; align-items: center; flex: none; flex-wrap: nowrap; gap: 22px; }
body .delivery-desktop .delivery-report-actions button { min-height: 36px; padding: 7px 0; border: 0; background: none; color: rgba(var(--ui-source-c586b6335dcf8e-rgb, 37, 99, 91), var(--ui-source-c586b6335dcf8e-alpha, 1)); box-shadow: none; white-space: nowrap; font-size: 13px; font-weight: 400; }
body .delivery-desktop .delivery-report-actions .delivery-publish-action { min-width: 143px; padding: 9px 14px; border-radius: 5px; color: rgba(var(--ui-source-ee13f688c7d66c-rgb, 255, 255, 255), var(--ui-source-ee13f688c7d66c-alpha, 1)); background: rgba(var(--ui-source-4590ac3f31a678-rgb, 37, 99, 91), var(--ui-source-4590ac3f31a678-alpha, 1)); }
body .delivery-desktop .delivery-report-actions .danger { min-width: 143px; padding: 9px 14px; color: rgba(var(--ui-source-26f46063105f05-rgb, 107, 114, 128), var(--ui-source-26f46063105f05-alpha, 1)); }
body .delivery-desktop .delivery-report-actions button:hover:not(:disabled) { background: rgba(var(--ui-source-89b198f7175d06-rgb, 238, 243, 241), var(--ui-source-89b198f7175d06-alpha, 1)); }
body .delivery-desktop .delivery-report-actions .delivery-publish-action:hover:not(:disabled) { background: rgba(var(--ui-source-f25d9d06a76cca-rgb, 33, 90, 77), var(--ui-source-f25d9d06a76cca-alpha, 1)); }
.delivery-desktop .delivery-history-footer { display: flex; flex: 0 0 auto; align-items: center; justify-content: space-between; min-height: 32px; border-top: 1px solid rgba(var(--ui-source-7e4fb1e89f884e-rgb, 237, 240, 237), var(--ui-source-7e4fb1e89f884e-alpha, 1)); color: rgba(var(--ui-source-26f46063105f05-rgb, 107, 114, 128), var(--ui-source-26f46063105f05-alpha, 1)); font-size: 12px; }
.delivery-desktop .delivery-report-empty { flex: 1; display: grid; place-items: center; padding: 32px; font-size: 14px; }
.delivery-desktop .delivery-section-save { display: flex; align-items: center; justify-content: space-between; position: sticky; bottom: -22px; padding: 16px 0; margin-top: 18px; background: rgba(var(--ui-source-d89cb5294cfef4-rgb, 255, 255, 255), var(--ui-source-d89cb5294cfef4-alpha, 1)); border-top: 1px solid rgba(var(--ui-source-647373398c5d94-rgb, 237, 240, 237), var(--ui-source-647373398c5d94-alpha, 1)); }
.delivery-desktop .delivery-section-save > span { font-size: 13px; color: rgba(var(--ui-source-26f46063105f05-rgb, 107, 114, 128), var(--ui-source-26f46063105f05-alpha, 1)); }
body .delivery-desktop .delivery-template-builder { background: none; border: 0; border-radius: 0; padding: 0; margin: 0; }
body .delivery-desktop .delivery-template-builder > header small { display: none; }
body .delivery-desktop .delivery-template-builder > header h3 { font-size: 20px; }
body .delivery-desktop .delivery-template-builder > header p { font-size: 14px; }
body .delivery-desktop .delivery-template-module { border-color: rgba(var(--ui-source-647373398c5d94-rgb, 237, 240, 237), var(--ui-source-647373398c5d94-alpha, 1)); box-shadow: none; background: rgba(var(--ui-source-d89cb5294cfef4-rgb, 255, 255, 255), var(--ui-source-d89cb5294cfef4-alpha, 1)); }
body .delivery-desktop .delivery-template-module-copy strong { font-size: 16px; }
body .delivery-desktop .delivery-template-module-copy span, body .delivery-desktop .delivery-template-module-copy small { font-size: 13px; }
body .delivery-desktop .delivery-template-builder > footer { position: sticky; bottom: -22px; padding: 16px 0; background: rgba(var(--ui-source-d89cb5294cfef4-rgb, 255, 255, 255), var(--ui-source-d89cb5294cfef4-alpha, 1)); border-top: 1px solid rgba(var(--ui-source-7e4fb1e89f884e-rgb, 237, 240, 237), var(--ui-source-7e4fb1e89f884e-alpha, 1)); }
body .delivery-desktop .delivery-template-builder > footer span { font-size: 13px; }
body .delivery-desktop .delivery-name-group { border-color: rgba(var(--ui-source-87c875e915a26c-rgb, 237, 240, 237), var(--ui-source-87c875e915a26c-alpha, 1)); background: rgba(var(--ui-source-d89cb5294cfef4-rgb, 255, 255, 255), var(--ui-source-d89cb5294cfef4-alpha, 1)); box-shadow: none; }
body .delivery-desktop .delivery-name-group > header h3 { font-size: 18px; }
body .delivery-desktop .delivery-name-group > header p, body .delivery-desktop .delivery-name-group > footer span, body .delivery-desktop .delivery-name-groups-note { font-size: 13px; }
body .delivery-desktop .delivery-name-group > header small { font-size: 12px; }
body .delivery-desktop .delivery-name-group-chips span { font-size: 16px; }

/* Keep the three delivery groups in their original positions while making their roles immediately distinct. */
body .delivery-desktop .delivery-name-group.delivery-name-group--primaryNames {
  border: 2px solid rgba(var(--ui-source-e9c34b6a7b8148-rgb, 39, 115, 93), var(--ui-source-e9c34b6a7b8148-alpha, 1));
  background: linear-gradient(180deg, rgba(var(--ui-source-25299d18583d41-rgb, 240, 250, 245), var(--ui-source-25299d18583d41-alpha, 1)) 0%, rgba(var(--ui-source-b75337974be4bd-rgb, 255, 255, 255), var(--ui-source-b75337974be4bd-alpha, 1)) 56%);
  box-shadow: 0 8px 20px rgba(var(--ui-source-a5a23a986cc5a3-rgb, 31, 101, 78), var(--ui-source-a5a23a986cc5a3-alpha, 0.1));
}
body .delivery-desktop .delivery-name-group--primaryNames > header,
body .delivery-desktop .delivery-name-group--primaryNames > footer { border-color: rgba(var(--ui-source-8509c0c631f940-rgb, 189, 219, 206), var(--ui-source-8509c0c631f940-alpha, 1)); }
body .delivery-desktop .delivery-name-group--primaryNames > header h3,
body .delivery-desktop .delivery-name-group--primaryNames > header > strong { color: rgba(var(--ui-source-039e180af86d0c-rgb, 23, 97, 72), var(--ui-source-039e180af86d0c-alpha, 1)); }
body .delivery-desktop .delivery-name-group--primaryNames > header small { color: rgba(var(--ui-source-6d522368909eed-rgb, 41, 119, 95), var(--ui-source-6d522368909eed-alpha, 1)); }
body .delivery-desktop .delivery-name-group--primaryNames .delivery-name-group-chips span { border-color: rgba(var(--ui-source-3f56c3a2ad28a8-rgb, 169, 212, 192), var(--ui-source-3f56c3a2ad28a8-alpha, 1)); background: rgba(var(--ui-source-411163cb0b1e4a-rgb, 234, 247, 240), var(--ui-source-411163cb0b1e4a-alpha, 1)); color: rgba(var(--ui-source-dc5870217f24b4-rgb, 24, 90, 69), var(--ui-source-dc5870217f24b4-alpha, 1)); }

body .delivery-desktop .delivery-name-group.delivery-name-group--backupNames {
  border: 2px solid rgba(var(--ui-source-63e98b493133f7-rgb, 195, 154, 82), var(--ui-source-63e98b493133f7-alpha, 1));
  background: linear-gradient(180deg, rgba(var(--ui-source-b4b41c1c8a9564-rgb, 255, 250, 240), var(--ui-source-b4b41c1c8a9564-alpha, 1)) 0%, rgba(var(--ui-source-95158ab93e5a25-rgb, 255, 255, 255), var(--ui-source-95158ab93e5a25-alpha, 1)) 56%);
  box-shadow: 0 6px 16px rgba(var(--ui-source-2c469fc2a0655b-rgb, 151, 107, 36), var(--ui-source-2c469fc2a0655b-alpha, 0.07));
}
body .delivery-desktop .delivery-name-group--backupNames > header,
body .delivery-desktop .delivery-name-group--backupNames > footer { border-color: rgba(var(--ui-source-396f778d4fbeae-rgb, 234, 216, 182), var(--ui-source-396f778d4fbeae-alpha, 1)); }
body .delivery-desktop .delivery-name-group--backupNames > header h3,
body .delivery-desktop .delivery-name-group--backupNames > header > strong { color: rgba(var(--ui-source-64aaceb3d2de6d-rgb, 148, 107, 39), var(--ui-source-64aaceb3d2de6d-alpha, 1)); }
body .delivery-desktop .delivery-name-group--backupNames > header small { color: rgba(var(--ui-source-41aabfa757b5fc-rgb, 173, 124, 43), var(--ui-source-41aabfa757b5fc-alpha, 1)); }
body .delivery-desktop .delivery-name-group--backupNames .delivery-name-group-chips span { border-color: rgba(var(--ui-source-74e0025aee45ba-rgb, 234, 212, 170), var(--ui-source-74e0025aee45ba-alpha, 1)); background: rgba(var(--ui-source-40ed936efbefee-rgb, 255, 247, 231), var(--ui-source-40ed936efbefee-alpha, 1)); color: rgba(var(--ui-source-82506399416803-rgb, 114, 84, 35), var(--ui-source-82506399416803-alpha, 1)); }

body .delivery-desktop .delivery-name-group.delivery-name-group--extendedNames {
  border: 2px solid rgba(var(--ui-source-15b45f51d09fbc-rgb, 158, 175, 176), var(--ui-source-15b45f51d09fbc-alpha, 1));
  background: linear-gradient(180deg, rgba(var(--ui-source-a0d4491bc7588d-rgb, 245, 248, 247), var(--ui-source-a0d4491bc7588d-alpha, 1)) 0%, rgba(var(--ui-source-20aa725d9ac82a-rgb, 255, 255, 255), var(--ui-source-20aa725d9ac82a-alpha, 1)) 56%);
  box-shadow: none;
}
body .delivery-desktop .delivery-name-group--extendedNames > header,
body .delivery-desktop .delivery-name-group--extendedNames > footer { border-color: rgba(var(--ui-source-ead37f56355a07-rgb, 217, 226, 224), var(--ui-source-ead37f56355a07-alpha, 1)); }
body .delivery-desktop .delivery-name-group--extendedNames > header h3,
body .delivery-desktop .delivery-name-group--extendedNames > header > strong { color: rgba(var(--ui-source-86bda691499d76-rgb, 97, 119, 121), var(--ui-source-86bda691499d76-alpha, 1)); }
body .delivery-desktop .delivery-name-group--extendedNames > header small { color: rgba(var(--ui-source-60733e57b4805a-rgb, 125, 146, 147), var(--ui-source-60733e57b4805a-alpha, 1)); }
body .delivery-desktop .delivery-name-group--extendedNames .delivery-name-group-chips span { border-color: rgba(var(--ui-source-b25998fe9067aa-rgb, 213, 223, 221), var(--ui-source-b25998fe9067aa-alpha, 1)); background: rgba(var(--ui-source-32e0bb957d809f-rgb, 242, 246, 245), var(--ui-source-32e0bb957d809f-alpha, 1)); color: rgba(var(--ui-source-4079d9c828109b-rgb, 94, 116, 117), var(--ui-source-4079d9c828109b-alpha, 1)); }

.delivery-result-message:empty { display: none; }
.delivery-result-message { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); max-width: 80%; padding: 12px 20px; border-radius: 7px; background: rgba(var(--ui-source-42164d92c4bfb2-rgb, 36, 75, 62), var(--ui-source-42164d92c4bfb2-alpha, 1)); color: rgba(var(--ui-source-ee13f688c7d66c-rgb, 255, 255, 255), var(--ui-source-ee13f688c7d66c-alpha, 1)); font-size: 14px; box-shadow: 0 4px 20px rgba(var(--ui-source-eec5fc7423749f-rgb, 35, 57, 45), var(--ui-source-eec5fc7423749f-alpha, 0.149019608)); z-index: 15; }
body .delivery-desktop button:focus-visible, body .delivery-desktop select:focus-visible { outline: 2px solid rgba(var(--ui-source-d83cf09eb18759-rgb, 37, 99, 91), var(--ui-source-d83cf09eb18759-alpha, 1)); outline-offset: 3px; }
body[data-theme="tech"] .delivery-desktop { --delivery-line: #233d51; }
body[data-theme="tech"] .delivery-desktop .delivery-workspace > .delivery-section { background: #0b1826; }
body[data-theme="tech"] .delivery-desktop .delivery-publication-status.published { color: #7fc6af; }
@media (max-width: 1700px) {
  .delivery-desktop-tabs { gap: 25px; }
  body .delivery-desktop .delivery-report-row { gap: 16px; }
  body .delivery-desktop .delivery-report-actions { gap: 15px; }
  body .delivery-desktop .delivery-publication-status { flex-basis: 155px; }
  body .delivery-desktop .delivery-report-round-toolbar { gap: 18px; }
  body .delivery-desktop .delivery-report-round-toolbar > .muted { max-width: 270px; }
}
@media (max-width: 1200px) {
  .delivery-heading-group, .delivery-heading-actions { gap: 10px; }
  body .delivery-desktop .delivery-record-tabs > span { display: none; }
  body .delivery-desktop .delivery-report-row { flex-wrap: wrap; gap: 6px 14px; }
  body .delivery-desktop .delivery-report-info { flex-basis: calc(100% - 180px); }
  body .delivery-desktop .delivery-report-actions { width: 100%; justify-content: flex-end; }
  body .delivery-desktop .delivery-report-round-toolbar { flex-wrap: wrap; }
  body .delivery-desktop .delivery-report-round-toolbar > .muted { margin: 0; max-width: none; }
}
@media (max-width: 760px) {
  .delivery-desktop { min-height: 480px; }
  body .delivery-desktop .delivery-page-head { flex-wrap: wrap; }
  .delivery-heading-actions { flex-wrap: wrap; }
  body .delivery-desktop .delivery-workspace > .delivery-section { padding: 16px; }
  .delivery-desktop .delivery-report-title { flex-wrap: wrap; gap: 0 10px; }
  .delivery-desktop .delivery-history-footer { flex-wrap: wrap; gap: 5px; }
}
