body[data-service="ally"] { --navy: #071b3f; --navy-raised: #123c7c; }

.login-brand-mark { display: block; width: 72px; height: 72px; margin: 0 0 16px; border-radius: 0; background: transparent; box-shadow: none; object-fit: contain; }
.brand-lockup .brand-mark { border-radius: 0; background: transparent; object-fit: contain; }
.brand-product { margin: 3px 0 0; color: #5ea6ff; font-size: .73rem; font-weight: 750; }
.sidebar-footer { display: grid; gap: 10px; }
.environment-card, .production-separation { display: grid; gap: 6px; padding: 13px; border: 1px solid rgba(112,170,255,.44); border-radius: 8px; background: rgba(15,53,105,.52); }
.environment-card strong { color: #62a9ff; font-size: 1.02rem; }
.environment-card a { color: #fff; }
.environment-live { color: #c7d3e4; font-size: .72rem; }
.environment-live i { display: inline-block; width: 7px; height: 7px; margin-right: 5px; border-radius: 50%; background: #26b75c; }
.production-separation { border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.04); }
.production-separation span { color: #b8c5d8; font-size: .72rem; line-height: 1.45; }

.page-intro { margin: 5px 0 0; color: var(--muted); line-height: 1.45; }
.overview-layout { display: grid; grid-template-columns: minmax(0,1fr) 330px; gap: 14px; }
.overview-main, .overview-rail { min-width: 0; }
.overview-band { display: grid; grid-template-columns: .9fr 1.25fr .9fr; gap: 14px; }
.app-lifecycle { margin-bottom: 14px; }
.lifecycle-steps { display: grid; grid-template-columns: repeat(4,1fr); margin: 0; padding: 18px 20px; list-style: none; }
.lifecycle-steps li { position: relative; display: grid; grid-template-columns: 32px 1fr; column-gap: 9px; min-height: 60px; }
.lifecycle-steps li::after { content: ""; position: absolute; top: 15px; left: 32px; right: 10px; height: 1px; background: var(--line); }
.lifecycle-steps li:last-child::after { display: none; }
.lifecycle-steps li > span { z-index: 1; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid #aeb8c7; border-radius: 50%; background: #fff; font-weight: 800; }
.lifecycle-steps strong { align-self: start; padding-top: 3px; }
.lifecycle-steps small { grid-column: 2; color: var(--muted); }
.lifecycle-steps .is-complete > span { border-color: #146c2e; color: #146c2e; }
.lifecycle-steps .is-current > span { border: 3px solid #2563eb; color: #1859d3; box-shadow: 0 0 0 4px #edf3ff; }
.lifecycle-steps .is-current::after { background: linear-gradient(90deg,#2563eb 35%,var(--line) 35%); }

.health-lines { display: grid; }
.health-lines > span { display: flex; justify-content: space-between; gap: 12px; padding: 10px 12px; border-bottom: 1px solid var(--line-soft); }
.health-lines > span:last-child { border-bottom: 0; }
.health-lines.padded { padding: 6px 0; }
.ok-dot { color: var(--success); font-size: .75rem; }
.ok-dot::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: 6px; border-radius: 50%; background: #169447; }
.compact-table { min-width: 460px; }
.compact-table th, .compact-table td { padding: 8px 10px; font-size: .75rem; }
.coverage-visual { display: flex; gap: 18px; align-items: center; padding: 18px; }
.coverage-ring { display: grid; width: 110px; height: 110px; flex: 0 0 auto; place-content: center; border-radius: 50%; background: radial-gradient(circle at center,#fff 58%,transparent 59%),conic-gradient(#178442 0 100%,#e4e7ec 0); text-align: center; }
.coverage-ring strong { font-size: 1.45rem; }
.coverage-ring span { color: var(--muted); font-size: .72rem; }
.coverage-visual p { margin: 0; color: var(--muted); line-height: 1.8; }
.release-action-row { margin-top: 0; }
.detail-list { display: grid; grid-template-columns: 130px minmax(0,1fr); margin: 0; }
.detail-list.padded { padding: 8px 0; }
.detail-list dt, .detail-list dd { margin: 0; padding: 9px 12px; border-bottom: 1px solid var(--line-soft); line-height: 1.45; }
.detail-list dt { color: var(--muted); }
.detail-list dd { overflow-wrap: anywhere; }

.connection-panel, .rbac-mini { margin-bottom: 14px; }
.connection-flow { display: grid; justify-items: center; padding: 14px; }
.connection-node { width: 100%; padding: 12px; border: 1.5px solid #8d32ff; border-radius: 7px; background: #fff; }
.connection-node strong, .connection-node span, .connection-node b { display: block; }
.connection-node span { margin-top: 3px; color: var(--muted); font-size: .73rem; }
.connection-node b { margin-top: 5px; color: var(--success); font-size: .7rem; }
.connection-node.entra-node { border-color: #2563eb; }
.connection-node.service-node { border-color: #f15a24; }
.connection-link { position: relative; width: 2px; min-height: 34px; background: #2766e3; }
.connection-link span { position: absolute; top: 9px; left: 9px; width: 96px; padding: 2px 5px; border: 1px solid var(--line); border-radius: 4px; background: #fff; color: var(--muted); font-size: .58rem; }
.mini-rbac-table { width: 100%; min-width: 0; font-size: .72rem; }
.mini-rbac-table th, .mini-rbac-table td { padding: 7px 8px; text-align: center; }
.mini-rbac-table th:first-child, .mini-rbac-table td:first-child { text-align: left; }
.rbac-table td:not(:first-child), .rbac-table th:not(:first-child) { text-align: center; }
.rbac-table td:not(:first-child) { color: var(--success); font-weight: 850; }

.publishing-checklist { display: grid; grid-template-columns: repeat(4,1fr); }
.publish-step { min-height: 150px; padding: 20px; border-right: 1px solid var(--line); }
.publish-step:last-child { border-right: 0; }
.publish-step > span { display: grid; width: 30px; height: 30px; margin-bottom: 12px; place-items: center; border: 1px solid var(--line); border-radius: 50%; font-weight: 800; }
.publish-step.is-complete > span { border-color: var(--success); background: var(--success-soft); color: var(--success); }
.publish-step p { margin: 8px 0 0; color: var(--muted); line-height: 1.5; }
.panel-footer-actions { display: flex; justify-content: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line-soft); }

@media (max-width: 1350px) { .overview-layout { grid-template-columns: 1fr; } .overview-rail { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; } }
@media (max-width: 1050px) { .overview-band, .overview-rail { grid-template-columns: 1fr; } .publishing-checklist, .lifecycle-steps { grid-template-columns: 1fr 1fr; } .lifecycle-steps { row-gap: 16px; } }
@media (max-width: 640px) { .lifecycle-steps, .publishing-checklist { grid-template-columns: 1fr; } .lifecycle-steps li::after { width: 1px; height: 100%; left: 15px; top: 30px; right: auto; } .detail-list { grid-template-columns: 1fr; } .detail-list dt { padding-bottom: 2px; border-bottom: 0; } .detail-list dd { padding-top: 2px; } .coverage-visual { align-items: flex-start; flex-direction: column; } .panel-footer-actions { align-items: stretch; flex-direction: column; } }
