/* Atlas v0.11.13: restrained native-style performance inspection. */
@keyframes atlas-vitals-turn{to{transform:rotate(360deg)}}
@keyframes atlas-vitals-shimmer{0%{opacity:.45}50%{opacity:1}100%{opacity:.45}}
.atlas-vitals-spinner{display:inline-block;width:13px;height:13px;flex-shrink:0;border:1.8px solid currentColor;border-bottom-color:transparent;border-radius:50%;animation:atlas-vitals-turn 1s linear infinite;opacity:.62;vertical-align:middle}
.atlas-vitals-loading{display:inline-flex;align-items:center;justify-content:center;min-width:28px;min-height:24px;color:var(--muted,#777)}
.atlas-vitals-cell{white-space:nowrap;min-width:92px;font-variant-numeric:tabular-nums}
.atlas-vitals-muted{color:var(--muted,#888);font-size:12px}
.atlas-vitals-score{display:inline-flex;min-width:36px;height:26px;padding:0 7px;align-items:center;justify-content:center;border-radius:8px;background:var(--soft,#f3f3f3);font-size:12px;font-weight:600}
.atlas-vitals-score.is-good{color:#23875d}.atlas-vitals-score.is-warn{color:#ad7b2f}.atlas-vitals-score.is-bad{color:#c25555}
.atlas-vitals-panel{margin-top:14px;padding:14px;border:1px solid var(--line,#ddd);border-radius:14px;background:var(--panel,transparent);min-width:0;overflow:hidden}
.atlas-vitals-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.atlas-vitals-head strong{font-size:13px;font-weight:565}
.atlas-vitals-head .atlas-vitals-refresh{font-size:12px;display:inline-flex;align-items:center;gap:8px;min-height:35px;border-radius:10px;white-space:nowrap}
.atlas-vitals-head .atlas-vitals-refresh[disabled]{opacity:.65;cursor:default}
.atlas-vitals-device-tabs{display:flex;gap:3px;padding:3px;border-radius:10px;background:var(--soft,#f3f3f3);margin-bottom:13px}
.atlas-vitals-device-tabs button{flex:1;text-align:center;border:0;background:transparent;border-radius:8px;padding:7px 9px;font-size:12px;color:inherit;cursor:pointer}
.atlas-vitals-device-tabs button.is-active{background:var(--panel,#fff);box-shadow:0 1px 3px #00000018;font-weight:600}
.atlas-vitals-progress{display:flex;align-items:center;gap:13px;padding:23px 10px;color:inherit}.atlas-vitals-progress .atlas-vitals-spinner{width:22px;height:22px;border-width:2px}.atlas-vitals-progress div{display:flex;flex-direction:column;gap:4px;font-size:12px}.atlas-vitals-progress small,.atlas-vitals-empty{color:var(--muted,#888);font-size:12px}
.atlas-vitals-empty{padding:18px 5px}
.atlas-vitals-overview{display:flex;align-items:center;gap:12px;margin-bottom:12px}.atlas-vitals-overview-score{width:51px;height:51px;border-radius:50%;border:3px solid currentColor;display:grid;place-items:center;font-size:19px;font-weight:600}
.atlas-vitals-overview-score.is-good{color:#23875d}.atlas-vitals-overview-score.is-warn{color:#ad7b2f}.atlas-vitals-overview-score.is-bad{color:#c25555}
.atlas-vitals-overview>div{display:flex;flex-direction:column;gap:4px}.atlas-vitals-overview strong{font-size:13px}.atlas-vitals-overview small{font-size:11px;color:var(--muted,#888)}
.atlas-vitals-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:13px}
.atlas-vitals-metric{min-width:0;padding:10px;border-radius:10px;background:var(--soft,#f4f4f4)}.atlas-vitals-metric small{display:block;color:var(--muted,#888);font-size:11px;line-height:1.35}.atlas-vitals-metric strong{display:block;font-size:13px;font-weight:565;white-space:normal;overflow-wrap:anywhere;margin-top:6px}
.atlas-vitals-hint{font-size:11px;line-height:1.5;color:var(--muted,#888)}
.atlas-vitals-details{border-top:1px solid var(--line,#ddd);padding:12px 0 0;margin-top:12px}.atlas-vitals-details summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font-size:12px;font-weight:565;list-style:none}.atlas-vitals-details summary::-webkit-details-marker{display:none}.atlas-vitals-details summary small{font-weight:400;color:var(--muted,#888)}
.atlas-vitals-recommendations{display:grid;gap:12px;padding:12px 0 2px}.atlas-vitals-issue{display:flex;gap:9px;align-items:flex-start}.atlas-vitals-issue-dot{margin-top:6px;width:6px;height:6px;border-radius:50%;background:currentColor;opacity:.4;flex-shrink:0}.atlas-vitals-issue strong{font-size:12px;font-weight:565}.atlas-vitals-issue p{font-size:11px;line-height:1.5;color:var(--muted,#888);margin:4px 0 0}
.atlas-vitals-network{max-height:285px;overflow:auto;margin-top:11px;font-size:11px;max-width:100%}.atlas-vitals-network-head,.atlas-vitals-network-row{display:grid;grid-template-columns:minmax(100px,2fr) 64px 64px minmax(80px,2fr);align-items:center;gap:6px;padding:7px 4px;border-bottom:1px solid var(--line,#ddd);min-width:320px}
.atlas-vitals-network-head{position:sticky;top:0;background:var(--panel,#fff);z-index:1;color:var(--muted,#888);font-weight:565}.atlas-vitals-network-row>span{min-width:0}.atlas-vitals-filename{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.atlas-vitals-filename small{display:block;font-size:10px;color:var(--muted,#888)}.atlas-vitals-track{height:11px;border-radius:3px;background:var(--soft,#f3f3f3);position:relative}.atlas-vitals-bar{height:100%;position:absolute;background:currentColor;opacity:.40;border-radius:3px}.atlas-vitals-bar.is-error{opacity:.7;background:#be6060}
.atlas-record-menu-row button[aria-busy="true"] .atlas-vitals-spinner{color:var(--muted,#888)}.atlas-record-menu-row button[disabled]{opacity:.5;cursor:default}
@media(max-width:560px){.atlas-vitals-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.atlas-vitals-panel{padding:12px}.atlas-vitals-network-head,.atlas-vitals-network-row{grid-template-columns:minmax(92px,2fr) 54px 54px minmax(70px,2fr)}}
@media(prefers-reduced-motion:reduce){.atlas-vitals-spinner{animation:none;border-bottom-color:currentColor;opacity:.4}}

/* v0.11.14: Waterfall lives in its own scrollport; never grows across modal footer. */
.atlas-vitals-panel,.atlas-vitals-body,.atlas-vitals-details{min-width:0;max-width:100%;box-sizing:border-box}
.atlas-vitals-network{display:block;width:100%;max-width:100%;min-width:0;max-height:320px;overflow-x:auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable;isolation:isolate;border-radius:8px}
.atlas-vitals-network-head,.atlas-vitals-network-row{grid-template-columns:minmax(145px,2fr) 74px 72px minmax(130px,2fr);min-width:440px;box-sizing:border-box}
.atlas-vitals-network-head{z-index:3;background:var(--panel,#262626);box-shadow:0 1px 0 var(--line,#444);min-height:35px}
.atlas-vitals-network-row{min-height:46px;position:relative}
.atlas-vitals-filename{min-width:0;max-width:100%}
.atlas-vitals-filename small,.atlas-vitals-total{display:block;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.atlas-vitals-bar.is-limited{background:var(--muted,#888);opacity:.32}
.atlas-vitals-details[open]>summary{margin-bottom:4px}
@media(max-width:560px){.atlas-vitals-network-head,.atlas-vitals-network-row{grid-template-columns:minmax(125px,2fr) 63px 63px minmax(115px,2fr);min-width:410px}}

/* Atlas 0.11.16: match existing ZIP upload progress, without busy ring indicators. */
.atlas-vitals-progress{display:flex;flex-direction:column;align-items:stretch;gap:10px;padding:18px 0 20px;min-width:0}
.atlas-vitals-progress-header{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;font-size:12px}
.atlas-vitals-progress-header small{font-variant-numeric:tabular-nums;color:var(--muted)}
.atlas-vitals-progress-track{width:100%;height:2px;border-radius:2px;background:var(--line);overflow:hidden}
.atlas-vitals-progress-track>span{display:block;height:100%;background:var(--text);border-radius:2px;transition:width .25s ease-out}
.atlas-vitals-placeholder{display:inline-block;width:36px;height:4px;max-width:80%;border-radius:3px;background:var(--muted);opacity:.24;vertical-align:middle;animation:atlas-vitals-shimmer 1.7s ease-in-out infinite}
.atlas-vitals-loading{min-height:22px;min-width:36px}
.atlas-vitals-refresh[disabled]{cursor:default}
@media(prefers-reduced-motion:reduce){.atlas-vitals-placeholder{animation:none;opacity:.35}.atlas-vitals-progress-track>span{transition:none}}

.atlas-vitals-progress .atlas-vitals-progress-header{flex-direction:row;align-items:center}
.atlas-vitals-progress .atlas-vitals-progress-track{display:block;flex-direction:initial}

/* 0.11.17: filmstrip is internal to the canonical landing modal. */
.atlas-vitals-film-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin:12px 0;font-size:11px;color:var(--muted)}
.atlas-vitals-film-meta strong{font-weight:565;color:var(--text)}
.atlas-vitals-filmstrip{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-inline:contain;padding:5px 2px 12px;scroll-snap-type:x proximity;max-width:100%}
.atlas-vitals-film-frame{flex:0 0 95px;display:flex;flex-direction:column;gap:6px;scroll-snap-align:start;color:inherit;text-decoration:none;min-width:0}
.atlas-vitals-film-frame img{display:block;width:95px;height:135px;object-fit:contain;background:var(--soft);border:1px solid var(--line);border-radius:9px;box-sizing:border-box}
.atlas-vitals-film-frame time{color:var(--muted);font-size:11px;font-variant-numeric:tabular-nums;text-align:center}
.atlas-vitals-film-frame:focus-visible{outline:2px solid var(--text);outline-offset:3px;border-radius:9px}
@media(max-width:560px){.atlas-vitals-film-frame{flex-basis:82px}.atlas-vitals-film-frame img{width:82px;height:116px}}
/* v0.11.18: four compact result profiles and account-scoped history timeline. */
.atlas-vitals-four-profiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
.atlas-vitals-four-profiles button{min-width:0;font-size:calc(11px + var(--atlas-font-step,0px));white-space:normal;line-height:1.4}
.atlas-vitals-history{display:flex;gap:7px;overflow-x:auto;max-width:100%;padding:5px 1px 12px;scroll-snap-type:x proximity}
.atlas-vitals-history-item{flex:0 0 auto;display:flex;align-items:center;gap:6px;padding:7px 9px;border:1px solid var(--line);border-radius:9px;color:var(--muted);background:transparent;cursor:pointer;font-size:calc(11px + var(--atlas-font-step,0px));scroll-snap-align:start}
.atlas-vitals-history-item.is-active{background:var(--soft);color:var(--text);border-color:var(--muted)}
.atlas-vitals-history-item small{font-size:inherit;white-space:nowrap}
.atlas-vitals-history-dot{width:5px;height:5px;border-radius:99px;background:currentColor;opacity:.75}
.atlas-vitals-history-item:focus-visible{outline:2px solid var(--text);outline-offset:2px}
@media(max-width:560px){.atlas-vitals-four-profiles{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* Respect the shared account font scale without creating a separate density system. */
.atlas-vitals-panel .atlas-vitals-overview strong,
.atlas-vitals-panel .atlas-vitals-metric strong,
.atlas-vitals-panel .atlas-vitals-head strong{font-size:calc(13px + var(--atlas-font-step,0px))}
.atlas-vitals-panel .atlas-vitals-details summary,
.atlas-vitals-panel .atlas-vitals-issue strong,
.atlas-vitals-panel .atlas-vitals-history-item,
.atlas-vitals-panel .atlas-vitals-device-tabs button{font-size:calc(12px + var(--atlas-font-step,0px))}
.atlas-vitals-panel .atlas-vitals-metric small,
.atlas-vitals-panel .atlas-vitals-issue p,
.atlas-vitals-panel .atlas-vitals-hint,
.atlas-vitals-panel .atlas-vitals-film-frame time{font-size:calc(11px + var(--atlas-font-step,0px))}

/* ATLAS_V01119_ROW_DENSITY: Inline vitals respect canonical table row density.
   Never impose a fixed tr/td height. Generic density CSS owns row geometry. */
html body #content .table-wrap.local-landing-table tbody td.atlas-vitals-cell {
  vertical-align:middle!important;
  white-space:nowrap!important;
}
html body #content .table-wrap.local-landing-table tbody td.atlas-vitals-cell .atlas-vitals-score {
  box-sizing:border-box!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  height:18px!important;
  min-height:0!important;
  max-height:18px!important;
  padding:0 6px!important;
  line-height:18px!important;
  margin:0!important;
  vertical-align:middle!important;
  font-size:calc(12px + var(--atlas-font-step, 0px))!important;
}
html body #content .table-wrap.local-landing-table tbody td.atlas-vitals-cell .atlas-vitals-loading {
  display:inline-flex!important;
  align-items:center!important;
  min-height:0!important;
  max-height:18px!important;
  height:18px!important;
  line-height:18px!important;
  margin:0!important;
  vertical-align:middle!important;
}
html body #content .table-wrap.local-landing-table tbody td.atlas-vitals-cell .atlas-vitals-placeholder {
  margin:0!important;
  vertical-align:middle!important;
}

/* ATLAS_SAFE_R3_1121: restyle existing buttons; keep events and state unchanged. */
/* A quiet horizontal timeline replaces boxed history chips. */
.atlas-vitals-panel .atlas-vitals-history{
  position:relative;display:flex;gap:2px;max-width:100%;overflow-x:auto;
  padding:3px 2px 13px;scroll-snap-type:x proximity;
}
.atlas-vitals-panel .atlas-vitals-history-item{
  position:relative;display:inline-flex;align-items:center;gap:7px;flex:0 0 auto;
  border:0!important;background:transparent!important;box-shadow:none!important;
  border-radius:8px!important;padding:8px 11px!important;min-height:34px;
  color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px));
  transition:background-color .16s ease,color .16s ease;
}
.atlas-vitals-panel .atlas-vitals-history-item:hover{background:var(--soft)!important;color:var(--text)}
.atlas-vitals-panel .atlas-vitals-history-item.is-active{
  background:var(--soft)!important;color:var(--text);font-weight:600;
}
.atlas-vitals-panel .atlas-vitals-history-dot{width:6px;height:6px;flex:0 0 6px;opacity:.38;background:currentColor;border-radius:50%}
.atlas-vitals-panel .atlas-vitals-history-item.is-active .atlas-vitals-history-dot{opacity:1}
.atlas-vitals-panel .atlas-vitals-history-item small{font:inherit;white-space:nowrap}
/* A single compact segmented control instead of four oversized cards. */
.atlas-vitals-panel .atlas-vitals-four-profiles{
  display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;
  padding:4px!important;margin-bottom:14px;border-radius:12px;
  background:var(--soft)!important;
}
.atlas-vitals-panel .atlas-vitals-four-profiles button{
  flex:auto;min-width:0;min-height:38px;padding:8px 6px!important;
  border:0!important;border-radius:9px!important;
  background:transparent!important;box-shadow:none!important;
  color:var(--muted);font-size:calc(12px + var(--atlas-font-step,0px));
  line-height:1.25!important;white-space:normal;
  transition:background-color .16s ease,color .16s ease,box-shadow .16s ease;
}
.atlas-vitals-panel .atlas-vitals-four-profiles button:hover{color:var(--text)}
.atlas-vitals-panel .atlas-vitals-four-profiles button.is-active{
  color:var(--text);font-weight:600;
  background:var(--panel)!important;
  box-shadow:0 1px 3px color-mix(in srgb,var(--text) 10%,transparent)!important;
}
@media(max-width:650px){
  .atlas-vitals-panel .atlas-vitals-four-profiles{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
  .atlas-vitals-panel .atlas-vitals-history-item,.atlas-vitals-panel .atlas-vitals-four-profiles button{transition:none!important}
}

