.delivery-dashboard{--delivery-blue:#5676a8;--delivery-green:#4f967c;--delivery-gold:#c38a31}
.delivery-wash{background:linear-gradient(125deg,rgba(255,255,255,.9),rgba(213,226,242,.68))}
.delivery-overall{display:grid;justify-items:end;min-width:210px}
.delivery-overall strong{font:800 clamp(2.6rem,5vw,4.5rem)/1 "Manrope",sans-serif;color:var(--plum)}
.delivery-overall span{margin:5px 0 12px;color:var(--muted);font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.08em}
.delivery-dashboard progress{width:100%;height:10px;border:0;border-radius:999px;overflow:hidden;background:rgba(44,35,48,.09)}
.delivery-dashboard progress::-webkit-progress-bar{border-radius:999px;background:rgba(44,35,48,.09)}
.delivery-dashboard progress::-webkit-progress-value{border-radius:999px;background:linear-gradient(90deg,var(--coral),var(--amber),var(--mint))}
.delivery-dashboard progress::-moz-progress-bar{border-radius:999px;background:linear-gradient(90deg,var(--coral),var(--amber),var(--mint))}
.delivery-metrics{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px;margin-bottom:26px}
.delivery-metrics article{display:flex;flex-direction:column;min-height:135px;padding:20px;border:1px solid rgba(255,255,255,.82);border-radius:20px;background:rgba(255,255,255,.65);box-shadow:var(--soft-shadow)}
.delivery-metrics article:nth-child(2){background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(246,221,194,.7))}
.delivery-metrics article:nth-child(3){background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(216,226,241,.72))}
.delivery-metrics article:nth-child(4){background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(239,226,191,.72))}
.delivery-metrics article:nth-child(5){background:linear-gradient(145deg,rgba(255,255,255,.82),rgba(203,231,218,.72))}
.delivery-metrics span{color:var(--muted);font-size:.75rem;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.delivery-metrics strong{margin:8px 0 4px;font:800 2rem/1 "Manrope",sans-serif}
.delivery-metrics small{margin-top:auto;color:var(--muted);font-size:.6875rem}
.delivery-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;align-items:start}
.delivery-actions details{padding:0;overflow:hidden}
.delivery-actions summary{display:flex;align-items:center;justify-content:space-between;min-height:76px;padding:18px 24px;cursor:pointer;list-style:none}
.delivery-actions summary::-webkit-details-marker,.delivery-inline-edit summary::-webkit-details-marker{display:none}
.delivery-actions summary span{display:grid;font:800 1rem "Manrope",sans-serif}
.delivery-actions summary small{margin-bottom:3px;color:var(--coral-dark);font:.6875rem "DM Sans",sans-serif;letter-spacing:.13em}
.delivery-actions summary b{display:grid;place-items:center;width:36px;height:36px;border-radius:12px;background:rgba(121,83,110,.08);font-size:1.2rem}
.delivery-actions details[open] summary{border-bottom:1px solid var(--line)}
.delivery-actions details[open] summary b{transform:rotate(45deg)}
.delivery-form{padding:22px}
.delivery-form label span{color:var(--muted);font-weight:500}
.delivery-module-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px}
.delivery-module-card{display:flex;flex-direction:column;min-height:315px;padding:23px;border:1px solid rgba(255,255,255,.84);border-radius:24px;background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(228,219,230,.56));box-shadow:var(--soft-shadow)}
.delivery-module-card:nth-child(3n+2){background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(245,223,193,.6))}
.delivery-module-card:nth-child(3n+3){background:linear-gradient(145deg,rgba(255,255,255,.86),rgba(207,231,220,.62))}
.delivery-module-heading{display:flex;align-items:start;justify-content:space-between;gap:15px}
.delivery-module-heading h3{margin:10px 0 0;font-size:1.15rem}
.delivery-module-heading>strong{font:800 1.7rem "Manrope",sans-serif;color:var(--plum)}
.delivery-module-card>p{min-height:44px;margin:14px 0;color:var(--muted);font-size:.8125rem}
.delivery-module-card>progress{margin:12px 0 17px}
.delivery-stage-counts{display:grid;grid-template-columns:repeat(2,1fr);gap:8px}
.delivery-stage-counts span{padding:8px 10px;border:1px solid rgba(121,83,110,.09);border-radius:11px;background:rgba(255,255,255,.48);color:var(--muted);font-size:.6875rem}
.delivery-stage-counts b{color:var(--ink);font-size:.8125rem}
.delivery-module-card>footer{display:flex;justify-content:space-between;gap:10px;margin-top:auto;padding-top:16px;color:var(--muted);font-size:.6875rem}
.delivery-inline-edit{margin-top:15px;border-top:1px solid var(--line)}
.delivery-inline-edit>summary{display:flex;align-items:center;min-height:44px;color:var(--coral-dark);font-size:.75rem;font-weight:800;cursor:pointer}
.delivery-inline-edit>form{padding:4px 0 8px}
.delivery-filters{display:grid;grid-template-columns:minmax(180px,1.3fr) repeat(3,minmax(135px,.8fr)) auto;align-items:end;gap:13px;margin-bottom:18px;padding:18px}
.delivery-filter-actions{display:flex;align-items:center;gap:12px;min-height:44px}
.delivery-filter-actions a{font-size:.75rem;font-weight:800}
.delivery-ticket-list{display:grid;gap:14px}
.delivery-ticket-card{position:relative;overflow:hidden;padding:22px 24px;border:1px solid rgba(255,255,255,.84);border-left:5px solid #9b8f98;border-radius:21px;background:rgba(255,255,255,.7);box-shadow:var(--soft-shadow)}
.delivery-ticket-card.developed{border-left-color:var(--coral)}
.delivery-ticket-card.deployed{border-left-color:var(--delivery-blue)}
.delivery-ticket-card.tested{border-left-color:var(--delivery-gold)}
.delivery-ticket-card.live{border-left-color:var(--delivery-green);background:linear-gradient(145deg,rgba(255,255,255,.84),rgba(211,235,224,.58))}
.delivery-ticket-card>header{display:flex;align-items:start;justify-content:space-between;gap:20px}
.delivery-ticket-identity{display:flex;align-items:center;gap:8px;flex-wrap:wrap;min-width:0}
.delivery-ticket-identity h3{flex-basis:100%;margin:6px 0 0;font-size:1.08rem}
.delivery-ticket-identity small{flex-basis:100%;color:var(--muted);font-size:.6875rem}
.delivery-type,.delivery-defect-type{display:inline-flex;padding:5px 9px;border-radius:999px;font-size:.625rem;font-weight:800;text-transform:uppercase;letter-spacing:.05em}
.delivery-type{background:rgba(86,118,168,.11);color:#3d5f92}
.delivery-type.changerequest{background:rgba(195,138,49,.13);color:#92641e}
.delivery-type.defect{background:rgba(188,78,67,.12);color:#a0443b}
.delivery-defect-type{background:rgba(121,83,110,.1);color:var(--plum)}
.delivery-ticket-progress{display:grid;justify-items:end;white-space:nowrap}
.delivery-ticket-progress strong{font:800 1.55rem "Manrope",sans-serif}
.delivery-ticket-progress span{color:var(--muted);font-size:.6875rem;font-weight:800}
.delivery-milestones{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;margin:18px 0}
.delivery-milestones span{display:flex;align-items:center;gap:7px;min-height:38px;padding:7px 9px;border-radius:10px;background:rgba(44,35,48,.04);color:var(--muted);font-size:.6875rem;font-weight:700}
.delivery-milestones i{width:9px;height:9px;border:2px solid #b8adb4;border-radius:50%}
.delivery-milestones span.complete{background:rgba(79,150,124,.09);color:#39735f}
.delivery-milestones span.complete i{border-color:var(--delivery-green);background:var(--delivery-green);box-shadow:0 0 0 4px rgba(79,150,124,.1)}
.delivery-story{margin:0;padding:14px 16px;border-radius:14px;background:rgba(255,255,255,.5);color:#4e414a;font-size:.8125rem;white-space:pre-wrap}
.delivery-root-cause{display:grid;grid-template-columns:105px minmax(0,1fr);gap:12px;margin-top:11px;padding:12px 15px;border:1px solid rgba(188,78,67,.12);border-radius:13px;background:rgba(250,225,217,.48);font-size:.75rem}
.delivery-root-cause span{color:var(--muted);white-space:pre-wrap}
.delivery-ticket-card>footer{display:flex;justify-content:space-between;gap:12px;margin-top:14px;color:var(--muted);font-size:.6875rem}
@media(max-width:1180px){.delivery-metrics{grid-template-columns:repeat(3,1fr)}.delivery-module-grid{grid-template-columns:repeat(2,1fr)}.delivery-filters{grid-template-columns:repeat(2,1fr)}.delivery-filter-actions{grid-column:1/-1}}
@media(max-width:800px){.delivery-actions,.delivery-module-grid{grid-template-columns:1fr}.delivery-milestones{grid-template-columns:repeat(2,1fr)}.delivery-ticket-card>header{align-items:flex-start}.delivery-overall{justify-items:start}.delivery-wash{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.delivery-metrics,.delivery-filters{grid-template-columns:1fr}.delivery-metrics article{min-height:110px}.delivery-ticket-card{padding:18px}.delivery-ticket-card>header,.delivery-ticket-card>footer{flex-direction:column}.delivery-ticket-progress{justify-items:start}.delivery-root-cause{grid-template-columns:1fr}.delivery-stage-counts{grid-template-columns:1fr}.delivery-module-card>footer{flex-direction:column}}
