/* Live cartography: static hub, independently moving evidence cards. */
body.client-app:has(.rm-layout){background:#fcfcff!important}
body.client-app:has(.rm-layout) .client-footer{display:none}
body.client-app:has(.rm-layout) .app-header{height:72px;min-height:72px;padding-block:0;display:flex;flex-direction:row;flex-wrap:nowrap;align-items:center;gap:32px}
body.client-app:has(.rm-layout) .app-header>a{width:auto}
body.client-app:has(.rm-layout) #client-navigation{display:flex;flex:1;min-width:0;width:auto;margin:0;height:100%;align-items:center}
body:has(.rm-layout) .sp-nav-tools{position:static}
body:has(.rm-layout) #client-navigation .sp-tabs{height:100%}
body.client-app #app-view:has(.rm-layout){zoom:1;padding:0;max-width:none;width:100%;min-height:calc(100svh - 72px)}
.client-app .ix-analysis:has(.rm-layout){max-width:none;margin:0}
.rm-layout{--rm-ink:#172340;--rm-muted:#687590;--rm-purple:#6951e8;position:relative;isolation:isolate;min-height:calc(100svh - 72px);display:flex;flex-direction:column;padding:26px clamp(24px,4vw,72px) 18px;box-sizing:border-box;background:radial-gradient(ellipse at 20% 65%,#cbdcff44,transparent 55%),radial-gradient(ellipse at 90% 70%,#d8caff55,transparent 65%);color:var(--rm-ink);-webkit-font-smoothing:antialiased}
.rm-layout:before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(152deg,#ffffffb0,transparent 45%,#eae6ff33);pointer-events:none}
.rm-heading{text-align:center;max-width:1000px;margin-inline:auto}
.rm-domain{display:flex;justify-content:center;align-items:center;gap:12px;font-size:13px;color:var(--rm-muted);margin-bottom:16px}
.rm-domain>svg{width:17px;height:17px;flex:none}
.rm-live{font-size:12px;padding:6px 11px;border-radius:20px;background:#eeedf6;color:#686081;white-space:nowrap}
.rm-live.is-live{color:#237457;background:#e5f3ec}.rm-live.is-live:before{content:'';display:inline-block;width:6px;height:6px;background:#28865f;border-radius:50%;margin-inline-end:7px}
.client-app .rm-heading h1{font-size:clamp(28px,4.3svh,42px);font-weight:680;line-height:1.15;letter-spacing:-.04em;margin:0;text-wrap:balance;color:var(--rm-ink)}
.client-app .rm-heading p{font-size:14px;line-height:1.5;color:var(--rm-muted);margin:12px 0 0;text-wrap:pretty}
.rm-phases{display:flex;justify-content:center;gap:40px;list-style:none;padding:0;margin:22px auto 12px;font-size:12px;color:#8590a4}
.rm-phases li{display:flex;align-items:center;gap:10px;position:relative}
.rm-phases li:not(:last-child):after{content:'';height:1px;background:#dcddec;width:22px;position:absolute;right:-31px}
.rm-phases li>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:#eeeff8;font-variant-numeric:tabular-nums}
.rm-phases svg{width:16px;height:16px}.rm-phases .is-current{color:#5534cf;font-weight:650}.rm-phases .is-current>span{background:#ebe5ff;box-shadow:0 0 0 4px #f2eeff}.rm-phases .is-complete{color:#26816b}.rm-phases .is-complete>span{background:#e5f4ee}
.rm-map{display:grid;grid-template-columns:minmax(0,1fr) minmax(150px,.76fr) minmax(0,1fr);grid-template-rows:minmax(0,1fr) minmax(0,1fr);gap:30px clamp(30px,5vw,90px);position:relative;align-items:center;width:100%;max-width:1370px;min-height:260px;height:clamp(260px,calc(100svh - 425px),460px);margin:auto;flex:none}
.client-app .rm-connections{position:absolute;width:100%;height:100%;inset:0;pointer-events:none;overflow:visible}
.rm-wire{fill:none;stroke:#cec8f7;stroke-width:1.5;vector-effect:non-scaling-stroke;transition:stroke 300ms}
.rm-signal{fill:none;stroke:#9978f2;stroke-width:2.3;vector-effect:non-scaling-stroke;stroke-linecap:round;stroke-dasharray:9 91;opacity:0}
.rm-layout[data-running=true] [data-state=active] .rm-signal,.rm-layout[data-running=true] [data-state=found] .rm-signal{opacity:1;animation:rm-flow 4.8s linear infinite}
[data-rm-wire=offer] .rm-signal{animation-delay:-1.1s!important}[data-rm-wire=languages] .rm-signal{animation-delay:-2.3s!important}[data-rm-wire=audiences] .rm-signal{animation-delay:-3.4s!important}
.rm-center{grid-column:2;grid-row:1/3;position:relative;display:grid;place-items:center;aspect-ratio:1;width:100%;max-width:260px;justify-self:center;border-radius:50%;background:linear-gradient(150deg,#fff,#f7f6ff);border:1px solid #fff;box-shadow:0 0 0 10px #eae5fc77,0 14px 35px #a99ed12b;z-index:1}
.client-app .rm-orbit{position:absolute;inset:-7%;width:114%;height:114%;overflow:visible;pointer-events:none;transform:rotate(-90deg)}
.rm-orbit-track{fill:none;stroke:#e3dcfb;stroke-width:2}.rm-orbit-sweep{fill:none;stroke:#a37cf1;stroke-width:5;stroke-linecap:round;stroke-dasharray:21 29;opacity:.45}
.rm-layout[data-running=true] .rm-orbit-sweep{animation:rm-flow 14s linear infinite;opacity:1}
.rm-center-content{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;max-width:90%;padding:12px 3px}
.rm-center-symbol{display:grid;place-items:center;width:43px;height:43px;border:1px solid #e0d9ff;box-shadow:0 0 0 4px #f5f2ff;border-radius:14px;background:white;color:#7656e5}
.rm-center-symbol svg{width:27px;height:27px}
.rm-center-content strong{font-size:clamp(15px,1.6vw,24px);line-height:1.25;letter-spacing:-.025em;overflow-wrap:anywhere;max-width:100%}
.rm-center-label{font-size:11px;color:var(--rm-muted);line-height:1.4;max-width:95%}
.rm-center-content>svg{width:30px;height:30px;color:#a29acd}
.rm-card{position:relative;z-index:2;min-width:0;animation:rm-appear 560ms cubic-bezier(.16,.8,.2,1) both;animation-delay:calc(var(--order)*140ms)}
.rm-card-company{grid-column:1;grid-row:1}.rm-card-offer{grid-column:3;grid-row:1}.rm-card-languages{grid-column:1;grid-row:2}.rm-card-audiences{grid-column:3;grid-row:2}
.rm-card-float{border-radius:20px;background:#fff;box-shadow:0 18px 30px -14px #8584bc40,0 2px 5px #8c8bab0a;transition:box-shadow 350ms,background-color 350ms}
.rm-layout[data-running=true] .rm-card-float{animation:rm-float 7s ease-in-out infinite;animation-delay:calc(var(--order)*-1.65s)}
.rm-card[data-state=active] .rm-card-float{background:#fefeff;box-shadow:0 0 0 1px #dcd3ff,0 18px 30px -14px #8f79be50}
.rm-card-content{display:flex;align-items:center;gap:18px;padding:24px 22px;min-height:110px;box-sizing:border-box}
.rm-card-icon{width:52px;height:56px;display:grid;place-items:center;flex:none;color:#7760dd;background:linear-gradient(145deg,#f5f2ff,#ede9fc);border-radius:15px}
.rm-card-icon svg{width:30px;height:30px}
.rm-card-text{min-width:0}.client-app .rm-card h2{font-size:clamp(16px,1.6vw,22px);line-height:1.25;letter-spacing:-.025em;font-weight:650;color:var(--rm-ink);margin:0 0 10px}
.rm-card-detail{display:flex;align-items:center;gap:8px;font-size:12px;line-height:1.4;color:#758197;font-variant-numeric:tabular-nums}
.rm-state-icon{width:23px;height:23px;display:grid;place-items:center;flex:none;border-radius:50%;color:#939bb1;background:#f3f4f8}.rm-state-icon svg{width:15px;height:15px}
[data-state=found] .rm-state-icon{color:#278269;background:#e6f4ed}[data-state=found] .rm-card-detail{color:#486478}[data-state=active] .rm-state-icon{background:#eeebfd;color:#7252df}[data-state=active] .rm-card-detail{color:#6850c8}
.rm-spinner{display:block;width:15px;height:15px;border:2px solid #d7cef9;border-top-color:#7858e8;border-radius:50%}.rm-layout[data-running=true] .rm-spinner{animation:rm-spin 1.5s linear infinite}
.client-app .rm-card-extra{font-size:11px;line-height:1.4;margin:7px 0 0;color:var(--rm-muted);overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical}
.rm-activity{display:flex;align-items:center;justify-content:center;gap:14px;min-height:44px;margin:8px auto 12px;max-width:100%;font-size:12px;color:#525f7a}
.rm-activity-text{display:flex;align-items:center;gap:10px;min-width:0}.rm-activity-text span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:min(70vw,720px)}
.rm-activity-text>i{width:7px;height:7px;flex:none;border-radius:50%;background:#b1b4c8}
.rm-layout[data-running=true] .rm-activity-text>i{background:#8559e9;box-shadow:0 0 0 5px #eee8fc;animation:rm-pulse 2.5s ease-in-out infinite}
.rm-activity .ix-clock{font-size:11px;font-variant-numeric:tabular-nums;color:#8b92a5;white-space:nowrap}
.rm-motion{width:40px;height:40px;display:grid;place-items:center;border:0;background:transparent;color:#8c7fb7;border-radius:50%;flex:none}.rm-motion:hover{background:#f0ebfc}.rm-motion svg{width:16px;height:16px}
.rm-footer{display:flex;align-items:center;gap:24px;padding-top:12px;border-top:1px solid #e0deee;max-width:1370px;width:100%;margin-inline:auto;position:relative}
.client-app .rm-footer>p{font-size:11px;line-height:1.5;color:var(--rm-muted);margin:0;margin-inline-end:auto;max-width:440px}
.rm-pages{position:relative;flex:none}.rm-pages summary{display:flex;align-items:center;gap:9px;min-height:44px;cursor:pointer;list-style:none;font-size:12px;color:#596486}.rm-pages summary::-webkit-details-marker{display:none}.rm-pages summary>span[data-rm-part]{font-size:11px;background:#eeecf7;border-radius:10px;padding:2px 7px;font-variant-numeric:tabular-nums}.rm-chevron{font-size:18px;transition:transform 180ms}.rm-pages[open] .rm-chevron{transform:rotate(180deg)}
.rm-page-panel{position:absolute;bottom:calc(100% + 12px);right:0;width:min(530px,80vw);padding:20px;border:1px solid #e1ddef;border-radius:16px;background:#fff;box-shadow:0 16px 60px #332b5a25;z-index:5;box-sizing:border-box}
.rm-page-panel>strong{font-size:14px}.rm-page-panel ul{display:grid;gap:14px;list-style:none;margin:16px 0 0;padding:0;max-height:min(280px,45svh);overflow:auto}.rm-page-panel li{display:flex;gap:10px;font-size:12px;line-height:1.4}.rm-page-panel li>svg{width:16px;height:16px;flex:none;color:#37977e}.rm-page-panel li>span{min-width:0}.rm-page-panel li strong{font-weight:550}.rm-page-panel small{display:block;overflow-wrap:anywhere;color:#8b94a8;margin-top:3px}
.rm-actions{display:flex;align-items:center;gap:16px;flex:none}.rm-actions button{font-size:12px!important;min-height:44px;white-space:nowrap}.rm-actions svg{width:18px;height:18px}.rm-actions .sp-button{display:flex;align-items:center;gap:10px}
.rm-layout[data-motion-paused=true] *,.client-app[data-page-hidden=true] .rm-layout *{animation-play-state:paused!important}
@keyframes rm-appear{from{opacity:0;transform:translateY(12px) scale(.94)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes rm-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes rm-flow{from{stroke-dashoffset:100}to{stroke-dashoffset:0}}
@keyframes rm-spin{to{transform:rotate(360deg)}}
@keyframes rm-pulse{50%{opacity:.45}}
@media(max-height:720px) and (min-width:761px){.rm-layout{padding-top:16px;padding-bottom:12px}.rm-domain{margin-bottom:10px}.client-app .rm-heading h1{font-size:30px}.client-app .rm-heading p{margin-top:9px;font-size:13px}.rm-phases{margin:16px auto 8px}.rm-map{min-height:210px;height:calc(100svh - 400px);max-height:320px;gap:20px 50px}.rm-center{max-width:190px}.rm-center-content{gap:8px}.rm-center-symbol{width:32px;height:32px}.rm-center-symbol svg{width:22px;height:22px}.rm-center-content>svg{width:24px;height:24px}.rm-card-content{min-height:95px;padding:16px 18px;gap:14px}.rm-card-icon{width:42px;height:46px}.rm-card-icon svg{width:26px;height:26px}.client-app .rm-card h2{font-size:17px;margin-bottom:8px}.rm-activity{margin:4px auto}.rm-footer{padding-top:8px}}
@media(max-width:1100px) and (min-width:761px){.rm-layout{padding-inline:26px}.rm-map{grid-template-columns:minmax(0,1fr) 180px minmax(0,1fr);column-gap:35px}.rm-card-content{padding:18px 16px;gap:12px}.rm-card-icon{width:40px;height:46px;border-radius:12px}.rm-card-icon svg{width:25px;height:25px}.client-app .rm-card h2{font-size:17px}.rm-card-detail{font-size:11px}.rm-center-content strong{font-size:17px}.rm-footer{gap:16px}.client-app .rm-footer>p{max-width:280px}.rm-actions{gap:10px}}
@media(max-width:760px){
 body.client-app:has(.rm-layout) .app-header{height:64px;min-height:64px;padding-inline:18px;gap:16px}
 body:has(.rm-layout) #client-navigation .sp-tabs{display:none}
 body.client-app:has(.rm-layout) #client-navigation{justify-content:flex-end}
 body.client-app #app-view:has(.rm-layout){min-height:calc(100svh - 64px)}
 .rm-layout{min-height:calc(100svh - 64px);padding:22px 18px 20px}.rm-domain{font-size:12px;gap:8px;margin-bottom:15px}.rm-live{font-size:11px}
 .client-app .rm-heading h1{font-size:28px}.client-app .rm-heading p{font-size:13px;margin-top:10px}
 .rm-phases{gap:8px;width:100%;margin:20px 0 8px;font-size:10px}.rm-phases li{flex:1;justify-content:center;gap:7px;flex-direction:column;text-align:center}.rm-phases li:not(:last-child):after{width:25%;right:-16%;top:14px}
 .rm-map{grid-template-columns:1fr 1fr;grid-template-rows:170px auto auto;height:auto;min-height:0;gap:16px 12px;margin:8px auto 0;max-width:560px}
 .rm-center{grid-column:1/3;grid-row:1;max-width:152px}.rm-center-content{gap:6px}.rm-center-symbol{width:28px;height:28px;border-radius:9px;box-shadow:none}.rm-center-symbol svg{width:20px;height:20px}.rm-center-content strong{font-size:16px}.rm-center-label{font-size:10px}.rm-center-content>svg{width:22px;height:22px}
 .rm-card-company{grid-column:1;grid-row:2}.rm-card-offer{grid-column:2;grid-row:2}.rm-card-languages{grid-column:1;grid-row:3}.rm-card-audiences{grid-column:2;grid-row:3}
 .rm-card-content{display:block;padding:15px 13px;min-height:142px}.rm-card-icon{width:32px;height:32px;border-radius:9px;margin-bottom:10px}.rm-card-icon svg{width:21px;height:21px}.rm-card-float{border-radius:15px}
 .client-app .rm-card h2{font-size:15px;margin-bottom:8px}.rm-card-detail{font-size:11px;gap:5px}.rm-state-icon{width:19px;height:19px}.rm-state-icon svg{width:13px;height:13px}.client-app .rm-card-extra{font-size:10px;margin-top:6px}
 .rm-activity{font-size:11px;gap:7px;margin:16px auto 10px}.rm-activity-text span{max-width:58vw}.rm-activity .ix-clock{font-size:10px}
 .rm-footer{flex-wrap:wrap;gap:8px 16px;padding-top:10px}.client-app .rm-footer>p{max-width:none;width:100%;font-size:11px}.rm-pages{flex:1}.rm-pages summary{font-size:11px}.rm-actions button{font-size:11px!important;padding-inline:12px}.rm-actions{gap:10px}.rm-page-panel{right:auto;left:0;width:calc(100vw - 36px)}
}
@media(max-width:360px){.rm-layout{padding-inline:14px}.client-app .rm-heading h1{font-size:25px}.rm-domain{gap:6px}.rm-live{padding-inline:8px}.rm-card-content{padding:13px 10px}.client-app .rm-card h2{font-size:14px}.rm-footer{gap:4px}.rm-actions{flex-wrap:wrap}.rm-actions button{padding-inline:9px}.rm-pages summary{gap:5px}}
@media(prefers-reduced-motion:reduce){.rm-layout *{animation:none!important;transition:none!important}.rm-motion{display:none}.rm-card{opacity:1;transform:none}.rm-signal{opacity:0!important}}

.rm-page-token rect{fill:#fff;stroke:#e0d7fc;stroke-width:1;filter:drop-shadow(0 3px 5px #8c7ac72a)}
.rm-page-token path{fill:none;stroke:#b2a0ee;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
[data-state=pending] .rm-page-token{opacity:.5}

.rm-layout[data-motion-paused=true] .rm-card{animation:none;opacity:1;transform:none}
@media(max-width:760px){
 .rm-layout{padding:16px 14px 12px}.rm-domain{margin-bottom:10px}
 .client-app .rm-heading h1{font-size:26px;line-height:1.12}.client-app .rm-heading p{font-size:12px;line-height:1.4;margin-top:8px}
 .rm-phases{margin:14px 0 4px}.rm-map{grid-template-rows:134px auto auto;gap:12px;margin-top:4px}
 .rm-center{max-width:120px}.rm-center-content{padding:5px 2px;gap:5px}.rm-center-symbol{width:24px;height:24px}.rm-center-symbol svg{width:18px;height:18px}.rm-center-content strong{font-size:14px}.rm-center-label{font-size:9px}.rm-center-content>svg{width:18px;height:18px}
 .rm-card-content{display:flex;align-items:flex-start;gap:8px;padding:13px 11px;min-height:106px}.rm-card-icon{width:24px;height:26px;border-radius:7px;margin:0}.rm-card-icon svg{width:18px;height:18px}
 .client-app .rm-card h2{font-size:14px;line-height:1.2;margin-bottom:8px}.rm-card-detail{font-size:10px;align-items:flex-start}.rm-state-icon{width:16px;height:16px}.rm-state-icon svg{width:11px;height:11px}.rm-spinner{width:12px;height:12px}
 .rm-activity{margin:9px auto 4px}.rm-footer{gap:4px 10px;padding-top:8px}.client-app .rm-footer>p{font-size:10px}.rm-page-panel{width:calc(100vw - 28px)}
}

@media(max-width:760px){.rm-actions{max-width:100%;flex-wrap:wrap;flex-shrink:1}.rm-actions button{white-space:normal;min-width:0}}
@media(min-width:761px) and (max-height:720px){.client-app .rm-card-extra{-webkit-line-clamp:1}}

/* Keep long hostnames on one line; the full address stays in the heading and title. */
.rm-center-content{width:90%;min-width:0}
.rm-center-content strong{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media(min-width:761px) and (max-height:720px){.rm-center-content strong{font-size:17px}}
