#admClientDetail.ops-detail .adm-evolution{--ae-ink:#edf4ff;--ae-muted:#bac8dc;--ae-card:#101f36;--ae-track:#314864;--ae-line:#36516b;color:var(--ae-ink);min-width:0}
html[data-theme=light] #admClientDetail.ops-detail .adm-evolution{--ae-ink:#07173c;--ae-muted:#586c82;--ae-card:#fff;--ae-track:#dfecfa;--ae-line:#dce5ef}
body #admClientDetail.ops-detail .adm-evolution h2{color:var(--ae-ink)!important;margin:28px 0 8px!important;font-size:clamp(1.5rem,4vw,2rem)!important}
body #admClientDetail.ops-detail .adm-client{color:var(--ae-muted)!important;margin:0 0 20px!important}
body #admClientDetail.ops-detail .adm-evolution-card{background:var(--ae-card)!important;border:1px solid var(--ae-line)!important;border-radius:28px!important;padding:clamp(18px,4vw,36px)!important;box-shadow:0 12px 40px #12355b12!important;min-width:0;overflow:hidden}
body #admClientDetail.ops-detail .adm-evolution-card header{display:flex;justify-content:space-between;gap:12px;flex-wrap:wrap;color:var(--ae-ink)!important}
body #admClientDetail.ops-detail .adm-evolution-card header strong{font-size:clamp(1.25rem,4vw,1.75rem)!important}
.adm-dial{position:relative;width:min(100%,360px);aspect-ratio:1;margin:30px auto}
.adm-dial svg{position:absolute;inset:0;width:100%;height:100%;transform:rotate(-90deg)}
.adm-dial circle{fill:none;stroke-width:16}.adm-track{stroke:var(--ae-track)}.adm-arc{stroke:url(#admArc);stroke-linecap:round;transition:stroke-dashoffset .35s ease}
.adm-dial>div{position:absolute;inset:12%;border-radius:50%;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:8px;background:radial-gradient(circle,var(--ae-card),var(--ae-track))}
body #admClientDetail.ops-detail .adm-dial strong{font-size:clamp(3.5rem,12vw,5.75rem)!important;line-height:1.1!important;color:var(--ae-ink)!important}
body #admClientDetail.ops-detail .adm-dial span{font-size:1.15rem!important;color:var(--ae-muted)!important}
.adm-caption{display:flex;justify-content:space-between;gap:12px;align-items:center;font-size:1.1rem}.adm-caption b{color:#1684ed}
.adm-bar{height:12px;background:var(--ae-track);border-radius:20px;overflow:hidden;margin:14px 0}.adm-bar i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#0874ee,#974cff);transition:width .35s ease}
body #admClientDetail.ops-detail .adm-legend{font-size:.9rem!important;color:var(--ae-muted)!important;line-height:1.5;margin:12px 0 24px}
.adm-metrics{border-block:1px solid var(--ae-line);padding:24px 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:24px 0}
.adm-metrics>div{position:relative;background:var(--ae-card);border:1px solid var(--ae-line);border-radius:14px;padding:16px;min-width:0}
.adm-metrics strong{display:block;font-size:1.75rem;color:var(--ae-ink)}.adm-metrics span{font-size:.9rem;color:var(--ae-muted)}.adm-metrics i{position:absolute;right:12px;top:16px;width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#dff6e8;color:#08753f}.adm-metrics .pending i{background:#fff0cb;color:#af7400}.adm-metrics .total i{background:#e0efff;color:#0764d6}.adm-metrics svg{width:22px;height:22px}
body #admClientDetail.ops-detail .adm-evolution h3{font-size:1.3rem!important;color:var(--ae-ink)!important;margin:20px 0!important}
body #admClientDetail.ops-detail .adm-step{display:grid!important;grid-template-columns:40px minmax(0,1fr) auto!important;align-items:center;gap:14px;width:100%!important;height:auto!important;min-height:76px!important;background:transparent!important;color:var(--ae-ink)!important;border:0!important;border-bottom:1px solid var(--ae-line)!important;border-radius:0!important;box-shadow:none!important;padding:16px 0!important;margin:0!important;text-align:left;cursor:pointer}
.adm-number{display:grid;place-items:center;width:36px;height:36px;border-radius:50%;background:var(--ae-track);font-weight:700;font-size:.9rem}
.adm-label{display:flex;flex-direction:column;gap:5px;min-width:0}.adm-label strong{font-size:1rem}.adm-label>span{font-size:.9rem;color:var(--ae-muted);font-weight:400;line-height:1.4;overflow-wrap:anywhere}
.adm-state{font-size:.8rem;display:flex;align-items:center;gap:4px;border-radius:8px;padding:7px 9px;background:#78899f21;color:var(--ae-muted);max-width:160px}.adm-state svg{width:16px;height:16px;flex-shrink:0}.adm-step.complete .adm-state{background:#dff6e8;color:#08753f}.adm-step.current .adm-state{background:#e0efff;color:#0764d6}
body #admClientDetail.ops-detail .adm-continue{display:block!important;width:100%!important;min-height:52px!important;margin:24px 0 0!important;padding:14px 18px!important;border-radius:16px!important;background:#0868df!important;color:#fff!important;border:1px solid #0868df!important;font-weight:750!important;cursor:pointer}
body #admClientDetail.ops-detail .adm-evolution button:focus-visible{outline:3px solid #2caaf5!important;outline-offset:3px}.adm-step:hover .adm-label{text-decoration:underline}
@media(max-width:540px){body #admClientDetail.ops-detail .adm-step{grid-template-columns:36px minmax(0,1fr)!important}.adm-state{grid-column:2;justify-self:start}.adm-metrics>div{padding:12px 8px}.adm-metrics i{position:static;margin-top:10px}.adm-dial{margin:20px auto}}
@media(prefers-reduced-motion:reduce){.adm-arc,.adm-bar i{transition:none!important}}
#admClientDetail.ops-detail .adm-step-record{border:0;margin:0;padding:0;background:transparent}
#admClientDetail.ops-detail .adm-step-record>summary{list-style:none;cursor:pointer}
#admClientDetail.ops-detail .adm-step-record>summary::-webkit-details-marker{display:none}
#admClientDetail.ops-detail .adm-step-record[open]>summary{border-bottom:0!important}
#admClientDetail.ops-detail .adm-step-detail{padding:16px;margin:0 0 16px;border:1px solid var(--ae-line);border-radius:14px;color:var(--ae-ink);background:var(--ae-card);overflow-wrap:anywhere;font-size:1rem}
#admClientDetail.ops-detail .adm-step-detail p{color:var(--ae-muted)!important;line-height:1.5}
#admClientDetail.ops-detail .adm-step-detail details{padding:12px 0;max-width:100%}
#admClientDetail.ops-detail .adm-step-detail article{border-top:1px solid var(--ae-line);padding:12px 0}
/* Exact reference hierarchy; scoped to the selected client's ADM summary. */
body #admClientDetail.ops-detail .adm-evolution{font-family:Inter,Arial,sans-serif!important}
body #admClientDetail.ops-detail .adm-evolution h2{font-size:clamp(1.8rem,4vw,2.65rem)!important;font-weight:800!important;line-height:1.15!important;letter-spacing:-.025em!important;margin:28px 0 20px!important}
body #admClientDetail.ops-detail .adm-evolution-card{padding:clamp(18px,4vw,32px)!important;border-radius:30px!important}
body #admClientDetail.ops-detail .adm-evolution-card header strong{font-size:clamp(1.25rem,3.3vw,1.9rem)!important;font-weight:800!important;line-height:1.25!important}
body #admClientDetail.ops-detail .adm-evolution-card header>span{font-size:clamp(1rem,2.8vw,1.4rem)!important;color:var(--ae-muted)!important}
body #admClientDetail.ops-detail .adm-dial{width:min(100%,360px)!important;margin:26px auto 18px!important;filter:drop-shadow(0 10px 28px #187aee18)}
body #admClientDetail.ops-detail .adm-dial strong{font-size:clamp(4rem,14vw,7.5rem)!important;font-weight:800!important;letter-spacing:-.04em!important}
body #admClientDetail.ops-detail .adm-dial span{font-size:clamp(1rem,2.8vw,1.4rem)!important;line-height:1.35!important}
body #admClientDetail.ops-detail .adm-caption{font-size:clamp(1rem,3vw,1.45rem)!important;line-height:1.35!important;gap:12px}
body #admClientDetail.ops-detail .adm-caption b{font-size:clamp(1.5rem,4vw,2.1rem)!important;color:#0668ff!important}
body #admClientDetail.ops-detail .adm-bar{height:20px!important;margin:16px 0 12px!important;border-radius:999px!important;background:#e0e6ef}
body #admClientDetail.ops-detail .adm-legend{font-size:clamp(.9rem,2.5vw,1.1rem)!important;margin:12px 0 22px!important}
body #admClientDetail.ops-detail .adm-metrics{gap:18px!important;margin:24px 0!important;padding:24px 0!important;border-color:var(--ae-line)!important}
body #admClientDetail.ops-detail .adm-metrics>div{min-height:106px!important;padding:18px 20px!important;border:1px solid #45627e!important;border-radius:16px!important;background:#1d3551!important}
body #admClientDetail.ops-detail .adm-metrics strong{font-size:2.1rem!important;line-height:1.15!important;color:var(--ae-ink)!important}
body #admClientDetail.ops-detail .adm-metrics span{display:block!important;margin-top:8px!important;font-size:1rem!important;line-height:1.25!important;color:var(--ae-muted)!important}
body #admClientDetail.ops-detail .adm-metrics i{width:46px!important;height:46px!important;right:14px!important;top:18px!important}
body #admClientDetail.ops-detail .adm-metrics svg{width:27px!important;height:27px!important}
body #admClientDetail.ops-detail .adm-evolution h3{font-size:clamp(1.25rem,3vw,1.7rem)!important;font-weight:800!important;margin:24px 0 12px!important;line-height:1.3!important}
body #admClientDetail.ops-detail .adm-step-record{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;margin:0!important;border-radius:0!important}
body #admClientDetail.ops-detail summary.adm-step{display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;align-items:center!important;gap:22px!important;min-height:96px!important;background:transparent!important;border-bottom:1px solid var(--ae-line)!important;padding:16px 0!important;font:inherit!important;box-shadow:none!important}
body #admClientDetail.ops-detail .adm-number{width:52px!important;height:52px!important;border-radius:50%!important;display:grid!important;place-items:center!important;background:#e9edf2!important;color:#657287!important;font-size:1.25rem!important;font-weight:750!important}
body #admClientDetail.ops-detail .adm-step.complete>.adm-number{background:#dff6e8!important;color:#087d38!important}
body #admClientDetail.ops-detail .adm-step.current>.adm-number{background:#dcecff!important;color:#0764ef!important}
body #admClientDetail.ops-detail .adm-label strong{display:block!important;font-size:1.25rem!important;font-weight:750!important;line-height:1.3!important;color:var(--ae-ink)!important}
body #admClientDetail.ops-detail .adm-label>span{display:block!important;font-size:1rem!important;line-height:1.4!important;color:var(--ae-muted)!important}
body #admClientDetail.ops-detail .adm-state{font:600 1rem/1.25 Inter,Arial,sans-serif!important;display:flex!important;align-items:center!important;gap:9px!important;padding:10px 14px!important;max-width:190px!important;border-radius:999px!important;background:#e9edf2!important;color:#59667d!important;flex-shrink:0}
body #admClientDetail.ops-detail .adm-state svg{width:23px!important;height:23px!important;flex-shrink:0!important}
body #admClientDetail.ops-detail .complete .adm-state{background:#dff6e8!important;color:#087d38!important}
body #admClientDetail.ops-detail .current .adm-state{background:#e0efff!important;color:#0764ef!important}
body #admClientDetail.ops-detail button.adm-continue{min-height:70px!important;font:750 clamp(1rem,3vw,1.4rem)/1.3 Inter,Arial,sans-serif!important;border-radius:22px!important;background:#0668ff!important;color:#fff!important;border:1px solid #0668ff!important;box-shadow:0 8px 16px #0668ff16!important}
body #admClientDetail.ops-detail button.adm-continue:hover{background:#0757d5!important;border-color:#0757d5!important}
html[data-theme=light] body #admClientDetail.ops-detail .adm-evolution{--ae-ink:#040f39;--ae-muted:#566585;--ae-card:#fff;--ae-track:#dcecfb;--ae-line:#e2e8f1}
html[data-theme=light] body #admClientDetail.ops-detail .adm-evolution-card{box-shadow:0 18px 44px #244e7b20!important}
html[data-theme=light] body #admClientDetail.ops-detail .adm-metrics>div{background:#F1F3F5!important;border-color:#DDE2E7!important}
html:not([data-theme=light]) body #admClientDetail.ops-detail .adm-bar{background:#314864}
@media(max-width:540px){body #admClientDetail.ops-detail summary.adm-step{grid-template-columns:40px minmax(0,1fr) auto!important;gap:10px!important;min-height:90px!important}body #admClientDetail.ops-detail .adm-number{width:40px!important;height:40px!important;font-size:1rem!important}body #admClientDetail.ops-detail .adm-state{grid-column:auto!important;max-width:106px!important;font-size:.8125rem!important;padding:7px 9px!important;gap:5px!important}body #admClientDetail.ops-detail .adm-state svg{width:18px!important;height:18px!important}body #admClientDetail.ops-detail .adm-label strong{font-size:1rem!important}body #admClientDetail.ops-detail .adm-label>span{font-size:.875rem!important}body #admClientDetail.ops-detail .adm-metrics{gap:8px!important}body #admClientDetail.ops-detail .adm-metrics>div{padding:12px 10px!important;min-height:100px!important}body #admClientDetail.ops-detail .adm-metrics i{position:static!important;width:30px!important;height:30px!important;margin-top:8px!important}body #admClientDetail.ops-detail .adm-metrics strong{font-size:1.6rem!important}body #admClientDetail.ops-detail .adm-metrics span{font-size:.875rem!important}body #admClientDetail.ops-detail button.adm-continue{min-height:56px!important}}

/* State colors are scoped to the actual ADM summary, above generic controls. */
html:not([data-theme=light]) body #admClientDetail.ops-detail .adm-step>.adm-number{background:#2b3a50!important;color:#c3cedd!important}
html:not([data-theme=light]) body #admClientDetail.ops-detail .adm-step.complete>.adm-number{background:#163f35!important;color:#75e5a3!important}
html:not([data-theme=light]) body #admClientDetail.ops-detail .adm-step.current>.adm-number{background:#183b60!important;color:#80c6ff!important}
body #admClientDetail.ops-detail .adm-metrics .complete i{background:#dff6e8!important;color:#08753f!important}
body #admClientDetail.ops-detail .adm-metrics .pending i{background:#fff0cb!important;color:#956100!important}
body #admClientDetail.ops-detail .adm-metrics .total i{background:#dcecff!important;color:#0764d6!important}

/* White canvas in the light ADM client detail; colored metrics stay distinct. */
html[data-theme=light] body #admClientDetail.ops-detail,
html[data-theme=light] body #admClientDetail.ops-detail [data-pane],
html[data-theme=light] body #admClientDetail.ops-detail .adm-evolution,
html[data-theme=light] body #admClientDetail.ops-detail .adm-dial>div{background:#fff!important}

/* Exact light palette and non-shrinking circular step markers in ADM. */
html[data-theme=light] body #admClientDetail.ops-detail .adm-evolution-card,
html[data-theme=light] body #admClientDetail.ops-detail .adm-steps,
html[data-theme=light] body #admClientDetail.ops-detail summary.adm-step{background:#FFFFFF!important;background-image:none!important}
html[data-theme=light] body #admClientDetail.ops-detail .ops-facts>div,
html[data-theme=light] body #admClientDetail.ops-detail .adm-step-detail{background:#F1F3F5!important;background-image:none!important;border:1px solid #DDE2E7!important;border-radius:14px!important}
html[data-theme=light] body #admClientDetail.ops-detail summary.adm-step{grid-template-columns:40px minmax(0,1fr) auto!important;border-bottom-color:#DDE2E7!important}
html[data-theme=light] body #admClientDetail.ops-detail summary.adm-step>.adm-number{box-sizing:border-box!important;width:40px!important;min-width:40px!important;max-width:40px!important;height:40px!important;min-height:40px!important;max-height:40px!important;aspect-ratio:1!important;border-radius:50%!important;border:0!important;padding:0!important;margin:0!important;display:grid!important;place-items:center!important;line-height:1!important;font-size:1rem!important;font-weight:750!important;transform:none!important;background:#F1F3F5!important;background-image:none!important;color:#596579!important}
html[data-theme=light] body #admClientDetail.ops-detail summary.adm-step.complete>.adm-number{background:#DFF6E8!important;color:#087D38!important}
html[data-theme=light] body #admClientDetail.ops-detail summary.adm-step.current>.adm-number{background:#DCECFF!important;color:#0764EF!important}
