/* Surrox overview and customer workspace. */
.dashboard-metrics{gap:18px;padding-bottom:0;perspective:none}
.dashboard-metrics .ratio-card{--tone:#956bc4;--soft:#e7dcf6;min-height:226px;padding:22px;border:1px solid #e7deef;border-bottom-width:1px;border-radius:24px;transform:none;background:linear-gradient(145deg,#fff,#f4edff);box-shadow:0 10px 30px #74608a0c;transition:translate .35s,box-shadow .35s,border-color .35s}
.dashboard-metrics .ratio-card:nth-child(2){--tone:#168654;--soft:#d3eadd;background:linear-gradient(145deg,#fff,#eaf8f0);border-color:#d9eade}
.dashboard-metrics .ratio-card:nth-child(3){--tone:#bf8b00;--soft:#f5e4b5;background:linear-gradient(145deg,#fff,#fff6dc);border-color:#f0e5c8}
.dashboard-metrics .ratio-card:nth-child(4){--tone:#df4059;--soft:#f5d6dd;background:linear-gradient(145deg,#fff,#fff0f3);border-color:#f0dfe3}
.dashboard-metrics .ratio-card:hover{transform:none;translate:0 -6px;border-color:var(--tone);box-shadow:0 20px 40px #74608a20}
.dashboard-metrics .ratio-card:before{inset:0;background:linear-gradient(110deg,transparent 25%,#fff6 50%,transparent 75%);translate:-100% 0;z-index:0;animation:metric-sheen 8s ease-in-out infinite}
.dashboard-metrics .ratio-card:nth-child(2):before{animation-delay:1s}.dashboard-metrics .ratio-card:nth-child(3):before{animation-delay:2s}.dashboard-metrics .ratio-card:nth-child(4):before{animation-delay:3s}
.dashboard-metrics .ratio-card:after{display:none}.dashboard-metrics .metric-top{color:#746581;font-weight:600;font-size:12px;position:relative;z-index:1}
.dashboard-metrics .metric-icon{color:var(--tone);background:var(--soft)!important;width:34px;height:34px;border:0;border-radius:12px;box-shadow:none;transform:none}
.dashboard-metrics .ratio-values{margin:20px 0;align-items:center;position:relative;z-index:1}.dashboard-metrics .ratio-values strong{font-size:47px;color:var(--tone);font-weight:650;letter-spacing:-2px;text-shadow:none}
.dashboard-metrics .ratio-percent{position:relative;width:84px;height:84px;display:flex;flex-direction:column;align-items:center;justify-content:center;flex:none}.dashboard-metrics .ratio-percent b{font-size:23px;color:var(--tone);letter-spacing:-1px;text-shadow:none;z-index:1}.dashboard-metrics .ratio-percent b span{font-size:13px}.dashboard-metrics .ratio-percent .ratio-unit{font-size:7px;z-index:1;margin-top:3px}
.metric-ring{position:absolute;inset:0;border-radius:50%;background:conic-gradient(var(--tone) var(--ratio),var(--soft) 0);mask:radial-gradient(farthest-side,transparent calc(100% - 4px),#000 0);rotate:-90deg;animation:ring-reveal .9s ease both}
.dashboard-metrics .ratio-track{height:5px;border:0;box-shadow:none;background:var(--soft)}.dashboard-metrics .ratio-track::-webkit-progress-bar{background:var(--soft)}.dashboard-metrics .ratio-track::-webkit-progress-value{background:var(--tone)}.dashboard-metrics .ratio-track::-moz-progress-bar{background:var(--tone)}.dashboard-metrics .ratio-card small{font-size:9px;color:#8c7c96;margin-top:12px;display:block}
.reference-donut{flex-direction:column;gap:0}.reference-donut .donut-stage{width:100%;max-width:470px;margin:0 auto}.reference-donut canvas{width:100%;height:auto;display:block}.reference-donut .legend{display:flex;flex-wrap:wrap;justify-content:center;gap:12px 22px;margin:0;width:100%;font-size:12px}.reference-donut .legend li{border:0;padding:4px 0}.reference-donut .legend li>span{color:#4e435e;font-weight:600;gap:8px}.reference-donut .legend b{display:none}.reference-donut .legend i{width:13px;height:13px}.reference-donut .green-bg{background:#168654}.reference-donut .amber-bg{background:#ffbe00}.reference-donut .red-bg{background:#e63249}.reference-donut .gray-bg{background:#8f78b8}
.job-back{display:inline-flex;font-size:12px;margin-bottom:24px;color:#8b6da9}.customer-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);border-radius:28px;overflow:hidden;background:#fff;border:1px solid #e7e0ee;box-shadow:0 18px 50px #55406d0d;margin-bottom:28px}
.globe-scene{position:relative;min-height:550px;overflow:hidden;background:radial-gradient(ellipse at 50% 40%,#343b80 0,#251747 55%,#15122c 100%);display:flex;flex-direction:column;justify-content:space-between;color:#cfc9f0;padding:30px;isolation:isolate}
.globe-scene:before{content:'';position:absolute;inset:0;background-image:radial-gradient(#a7bdfa55 1px,transparent 1px);background-size:32px 32px;opacity:.2;pointer-events:none}.globe-heading{display:flex;justify-content:space-between;align-items:center;position:relative;z-index:1}.globe-heading .eyebrow{color:#bcb4e8;font-size:8px;letter-spacing:2px;margin:0}.globe-orbit-mark{font-size:28px;color:#94bffa}
.customer-globe{width:100%;max-width:580px;align-self:center;aspect-ratio:1;position:relative;z-index:1;margin:-20px 0;filter:drop-shadow(0 0 24px #5ca8ff24)}
.globe-caption{display:flex;align-items:center;gap:15px;position:relative;z-index:1}.globe-caption-line{width:30px;height:2px;background:#75ceff;box-shadow:0 0 12px #75ceff;flex:none}.globe-caption strong{color:#f3edff;font-size:17px;font-weight:500}.globe-caption p{color:#aaa4d3;font-size:11px;line-height:1.8;margin:6px 0 0}
.customer-profile{padding:35px 38px;min-width:0}.profile-meta{display:flex;justify-content:space-between;align-items:center;gap:12px}.profile-meta .eyebrow{margin:0}.customer-profile h1{font-size:33px;letter-spacing:-1.3px;margin:22px 0 12px;line-height:1.3;overflow-wrap:anywhere}.profile-address{font-size:12px;line-height:1.8;color:#897794;margin:0}.profile-quick{display:grid;grid-template-columns:1fr 1fr;gap:18px;border-top:1px solid #eee7f4;border-bottom:1px solid #eee7f4;padding:22px 0;margin:24px 0}.profile-quick span{display:block;font-size:8px;letter-spacing:1.5px;color:#9d8aa9;margin-bottom:10px}.profile-quick strong{font-size:14px;color:#614a77;font-weight:600;overflow-wrap:anywhere}.customer-profile dl{grid-template-columns:115px 1fr;gap:15px;margin:20px 0;line-height:1.65}.customer-profile dd{overflow-wrap:anywhere}.profile-telus{font-size:11px;margin-top:8px}.job-actions-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.job-actions-grid>.panel{padding:28px;min-width:0}.job-actions-grid .communication{margin-top:0}
:is([data-theme=dark],[data-theme=midnight]) .dashboard-metrics .ratio-card{background:linear-gradient(140deg,#30243f,#241d32);border-color:#453452;box-shadow:0 12px 25px #0002;--soft:#433050}
:is([data-theme=dark],[data-theme=midnight]) .dashboard-metrics .ratio-card:nth-child(2){background:linear-gradient(140deg,#243d34,#1c2a27);--tone:#73caa4;--soft:#34564a}
:is([data-theme=dark],[data-theme=midnight]) .dashboard-metrics .ratio-card:nth-child(3){background:linear-gradient(140deg,#413723,#2e281f);--tone:#f6ca67;--soft:#594a2d}
:is([data-theme=dark],[data-theme=midnight]) .dashboard-metrics .ratio-card:nth-child(4){background:linear-gradient(140deg,#422936,#2d202d);--tone:#ed889d;--soft:#5b3849}
:is([data-theme=dark],[data-theme=midnight]) .dashboard-metrics .ratio-card:first-child{--tone:#c6a0f0}:is([data-theme=dark],[data-theme=midnight]) .dashboard-metrics .ratio-card:before{opacity:.12}
:is([data-theme=dark],[data-theme=midnight]) .customer-hero{background:#241e30;border-color:#3c314b}:is([data-theme=dark],[data-theme=midnight]) .profile-quick{border-color:#3c314b}:is([data-theme=dark],[data-theme=midnight]) .profile-quick strong{color:#dbc3f1}
html[data-theme=midnight]{background:#0a0e1c;--line:#29304f;color:#e8edff}html[data-theme=midnight] body{background:radial-gradient(ellipse at top right,#252054,transparent 55%),#0a0e1c}
[data-theme=midnight] .sidebar,[data-theme=midnight] .home-login-page .sidebar{background:linear-gradient(155deg,#211c45,#111b32);border-color:#29304f}[data-theme=midnight] .topbar{background:#111629ed;border-color:#29304f}
[data-theme=midnight] .panel,[data-theme=midnight] .chart-panel,[data-theme=midnight] .filters,[data-theme=midnight] .customer-hero,[data-theme=midnight] .table-heading{background:#141a2f;border-color:#29304f}[data-theme=midnight] .home-login-page .app-shell{background:#0d1223}
[data-theme=midnight] .dashboard-metrics .ratio-card:first-child{background:linear-gradient(135deg,#35205a,#171b37)}[data-theme=midnight] .dashboard-metrics .ratio-card:nth-child(2){background:linear-gradient(135deg,#153d3f,#121e31)}[data-theme=midnight] .dashboard-metrics .ratio-card:nth-child(3){background:linear-gradient(135deg,#3d3040,#171b31)}[data-theme=midnight] .dashboard-metrics .ratio-card:nth-child(4){background:linear-gradient(135deg,#422447,#171b31)}
[data-theme=midnight] input,[data-theme=midnight] select,[data-theme=midnight] textarea,[data-theme=midnight] .home-login-page .login input{background:#0e1426;border-color:#333653;color:#e8edff}[data-theme=midnight] .theme-toggle,[data-theme=midnight] .quiet{background:#262044;border-color:#41355d;color:#dbcaff}
@keyframes metric-sheen{0%,55%{translate:-110% 0}80%,100%{translate:110% 0}}@keyframes ring-reveal{from{opacity:0;scale:.8}to{opacity:1;scale:1}}
@media(max-width:1150px){.dashboard-metrics{grid-template-columns:repeat(2,1fr)}.customer-profile{padding:28px}.globe-scene{padding:24px}.customer-profile h1{font-size:28px}.customer-profile dl{grid-template-columns:100px 1fr}}
@media(max-width:800px){.customer-hero{grid-template-columns:1fr}.globe-scene{min-height:340px}.customer-globe{max-width:340px;margin:-35px 0}.job-actions-grid{grid-template-columns:1fr}.customer-profile{padding:28px}.reference-donut .legend{gap:10px 14px;font-size:11px}}
@media(max-width:450px){.dashboard-metrics .ratio-card{padding:17px;min-height:216px}.dashboard-metrics .ratio-values strong{font-size:36px}.dashboard-metrics .ratio-percent{width:68px;height:68px}.dashboard-metrics .ratio-percent b{font-size:18px}.dashboard-metrics .metric-top{font-size:10px}.dashboard-metrics .metric-icon{width:28px;height:28px}.customer-profile dl{grid-template-columns:90px 1fr}}
@media(prefers-reduced-motion:reduce){.dashboard-metrics .ratio-card:before,.metric-ring{animation:none}.dashboard-metrics .ratio-card:hover{translate:none}.customer-globe{filter:none}}

.globe-pause{align-self:center;background:#ffffff0a;color:#b9caed;border:1px solid #97b8f033;border-radius:20px;font-size:9px;padding:7px 12px;z-index:2;margin:-15px 0 20px}.globe-pause:hover{background:#ffffff18;color:#fff;transform:none}
:is([data-theme=dark],[data-theme=midnight]) .reference-donut .legend li>span{color:#d6c8e6}:is([data-theme=dark],[data-theme=midnight]) .card-glow{opacity:.1}:is([data-theme=dark],[data-theme=midnight]) .customer-profile dt,:is([data-theme=dark],[data-theme=midnight]) .profile-address{color:#ad9fbc}
