/* Advantage Voice & Data · Log Portal 4.3.0 UI RC2
 * Readability-first Aurora accent pass. CSS only; no API/DB changes.
 * The Advantage orange accent is for identity/IP/policy emphasis, NOT severity.
 * Existing status/severity colors must remain semantically distinct.
 */
:root{
  --v432-orange:#ffb347;
  --v432-orange-strong:#ffc36a;
  --v432-orange-glow:rgba(255,163,45,.22);
  --v432-orange-muted:rgba(255,170,63,.12);
}
/* DEVICE INVENTORY: restore the earlier large, Advantage-orange IP identifiers. */
.v42-devices .source-card .source-name{
  font-size:clamp(20px,1.5vw,24px);font-weight:850;line-height:1.25;
  color:#f6fbff;letter-spacing:-.025em;
}
.v42-devices .source-card .source-ip{
  display:inline-flex;gap:9px;align-items:center;max-width:100%;
  color:var(--v432-orange);font-size:clamp(17px,1.35vw,21px);
  font-weight:850;line-height:1.4;letter-spacing:.006em;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  font-variant-numeric:tabular-nums;
  margin-top:9px;text-shadow:0 0 13px var(--v432-orange-glow);
}
.v42-devices .source-card .source-ip>span{min-width:0;overflow-wrap:anywhere}
.v42-devices .source-card .source-ip-icon{
  color:var(--v432-orange);width:21px;height:21px;flex:0 0 21px;
  filter:drop-shadow(0 0 6px var(--v432-orange-glow));
}
/* No IP assigned is intentionally not highlighted as if it were a real address. */
.v42-devices .source-card .source-ip--missing{
  color:#a5bed0;font-size:14px;font-weight:650;text-shadow:none;
}
.v42-devices .source-card .source-ip--missing .source-ip-icon{
  color:#8dabbf;filter:none;
}
.v42-devices .source-card .metric-label{
  font-size:11px;letter-spacing:.065em;color:#b5d4e7;
}
.v42-devices .source-card .metric-value{font-size:clamp(19px,1.5vw,25px)}
.v42-devices .source-card .source-seen{
  font-size:13px;line-height:1.7;color:#afccdd;
}
.v42-devices .source-card .source-seen strong{
  color:#e5f5ff;font-weight:800;
}
/* DEVICE PROFILE + ASSOCIATED PHONES: IP should be visible immediately. */
.v42-device-profile .profile-ip{
  color:var(--v432-orange);font-size:clamp(18px,1.5vw,23px);
  font-weight:850;line-height:1.4;letter-spacing:.015em;
  overflow-wrap:anywhere;text-shadow:0 0 12px var(--v432-orange-glow);
}
.v42-device-profile .phone-item .phone-name{
  color:#f1faff;font-size:15px;line-height:1.4;font-weight:830;
}
.v42-device-profile .phone-item .phone-ip{
  color:var(--v432-orange);font-size:clamp(14px,1.1vw,17px);
  line-height:1.5;font-weight:820;overflow-wrap:anywhere;
  text-shadow:0 0 9px rgba(255,163,45,.13);
}
.v42-device-profile .detail-row .detail-label{
  color:#b0d0e2;font-size:12px;letter-spacing:.04em;
}
.v42-device-profile .detail-row .detail-value{
  color:#ecf9ff;font-size:14px;font-weight:740;line-height:1.55;
}
.v42-device-profile .detail-row:first-child .detail-value{
  color:var(--v432-orange-strong);font-weight:850;
}
/* IP links elsewhere: make identities discoverable while preserving interaction. */
.v41-dashboard .v41-source-info .source-ip-link,
.v41-dashboard .v41-recent-events .v41-ip,
#log-explorer .explorer-table td.mono a.source-link,
.v42-audit .v432-ip-value,
.v42-blocked-ips .blocked-card tbody td:first-child strong,
.v42-blocked-ips .v43-hbar-label{
  color:var(--v432-orange);font-weight:820;
  font-size:clamp(13px,1.05vw,16px);
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  line-height:1.45;overflow-wrap:anywhere;
  text-shadow:0 0 8px rgba(255,159,33,.11);
}
.v41-dashboard .v41-source-info .source-ip-link:hover,
.v41-dashboard .v41-recent-events .v41-ip:hover,
#log-explorer .explorer-table td.mono a.source-link:hover{
  color:#ffe0aa;text-decoration:underline;
}
#log-explorer #detail-ip{
  color:var(--v432-orange);font-weight:820;font-size:15px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono",monospace;
  overflow-wrap:anywhere;
}
.v41-dashboard .v41-event-source{font-size:13px;font-weight:760;color:#eaf7ff}
/* Other values that must pop: counts, retention policy, key health headings. */
.v42-retention .v43-policy-value{
  color:var(--v432-orange-strong);text-shadow:0 0 14px rgba(255,163,45,.12);
}
.v42-retention .retention-stat-label{
  color:#b7d6e8;font-size:12px;
}
.v42-retention .retention-stat-value{font-weight:850}
.v42-system-health .health-summary .summary-label{
  font-size:11px;color:#bcd9e8;
}
.v42-system-health .health-summary .summary-value{font-weight:850}
/* Semantic priority: actual warning/error/online statuses retain the existing colors.
 * Do not recolor .status-*, .severity-*, .health-badge or failure banners. */
/* Light theme uses dark orange for accessible contrast against pale panels. */
html[data-theme='light']{
  --v432-orange:#955000;
  --v432-orange-strong:#8b4400;
  --v432-orange-glow:rgba(173,89,0,.08);
}
html[data-theme='light'] .v42-devices .source-card .source-name,
html[data-theme='light'] .v42-device-profile .phone-item .phone-name{
  color:#13334c;
}
html[data-theme='light'] .v42-devices .source-card .source-ip--missing{
  color:#61798b;
}
html[data-theme='light'] .v42-device-profile .detail-row .detail-label{
  color:#486c80;
}
html[data-theme='light'] .v42-device-profile .detail-row .detail-value{
  color:#143b53;
}
html[data-theme='light'] .v42-device-profile .detail-row:first-child .detail-value{
  color:var(--v432-orange-strong);
}
html[data-theme='light'] .v41-dashboard .v41-source-info .source-ip-link:hover,
html[data-theme='light'] .v41-dashboard .v41-recent-events .v41-ip:hover,
html[data-theme='light'] #log-explorer .explorer-table td.mono a.source-link:hover{
  color:#703000;
}
html[data-theme='light'] .v42-devices .source-card .source-seen{
  color:#476b83;
}
html[data-theme='light'] .v42-devices .source-card .source-seen strong{
  color:#143b53;
}
/* Compact layouts: labels remain readable without forcing overflow. */
@media(max-width:760px){
  .v42-devices .source-card .source-ip{font-size:17px}
  .v42-device-profile .profile-ip{font-size:19px}
  .v42-device-profile .phone-item .phone-ip{font-size:15px}
  .v42-devices .source-card .metric-label{font-size:10px}
}
@media(max-width:420px){
  .v42-devices .source-card .source-ip{font-size:16px}
  .v42-devices .source-card .source-name{font-size:20px}
}
@media(prefers-reduced-motion:reduce){
  .v42-devices .source-card .source-ip,
  .v42-device-profile .profile-ip{animation:none!important;transition:none!important}
}
