/* Agent Command Center - ported from the Manus-designed React/TSX reference (agent
   dashboard/source/Home.tsx + agent-command-center.css). Class names kept verbatim from
   the original for fidelity; only the two Tailwind @import lines were dropped (nothing in
   this file actually uses a Tailwind utility class - every rule below is already
   framework-free and class-based, so no build step is needed).

   Loaded only on this page via <HeadContent>, not globally through App.razor, specifically
   so its element-level selectors (body, button, input, :root) don't bleed into the rest of
   the app's MudBlazor-based pages (Roadmap/Expenses/Ceo/Product/Login/AgentDetail). */

:root { font-family: Inter, ui-sans-serif, system-ui, sans-serif; color: #f3f4ff; background: #070a14; font-synthesis: none; }
* { box-sizing: border-box; }
html { min-width: 320px; background: #070a14; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: #070a14; color: #f3f4ff; }
button, input { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible { outline: 2px solid #a78bfa; outline-offset: 3px; }

.app-shell { min-height: 100vh; display: flex; background: radial-gradient(circle at 78% -10%, rgba(62, 48, 143, .24), transparent 30%), radial-gradient(circle at 20% 90%, rgba(21, 88, 108, .12), transparent 28%), #070a14; }
/* Sticky, not just min-height:100vh - on a page taller than the viewport (a long activity
   feed, Roadmap's table) the whole .app-shell used to scroll as one block, taking the nav,
   the recent-errors pulse, and the account row with it (flagged directly: "pin ... so it's
   always visible when at the top of the page and on scroll"). Sticky + its own height/
   overflow keeps the sidebar planted against the viewport while .main-content scrolls
   independently - overflow-y:auto is a safety net for a future taller nav list, not needed
   at today's 3 items. */
.sidebar { width: 238px; flex: 0 0 238px; height: 100vh; position: sticky; top: 0; overflow-y: auto; border-right: 1px solid rgba(156, 163, 255, .11); background: rgba(8, 11, 24, .78); padding: 26px 14px 18px; display: flex; flex-direction: column; }
.brand-lockup { display: flex; align-items: center; gap: 11px; padding: 0 10px 27px; }
.brand-mark { width: 31px; height: 31px; display: grid; place-items: center; position: relative; border-radius: 10px; color: #d7c8ff; background: linear-gradient(135deg, rgba(167,139,250,.19), rgba(103,232,249,.1)); box-shadow: 0 0 25px rgba(167,139,250,.19), inset 0 0 0 1px rgba(196,181,253,.2); }
.brand-mark-core { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #a78bfa; box-shadow: 0 0 9px #a78bfa; }
.brand-name { font-size: 15px; letter-spacing: -.03em; font-weight: 780; color: #f8f7ff; }
.brand-name span { color: #a78bfa; margin-left: 1px; }
.brand-caption { font-size: 9px; color: #767b9c; margin-top: 3px; letter-spacing: .14em; text-transform: uppercase; }
.workspace-switcher { display: flex; gap: 9px; align-items: center; padding: 10px; border: 1px solid rgba(156, 163, 255, .1); border-radius: 12px; background: rgba(255,255,255,.035); }
.workspace-avatar, .user-avatar { display: grid; place-items: center; font-weight: 800; color: #b9a4ff; background: linear-gradient(145deg, #23234e, #17192e); border: 1px solid rgba(167,139,250,.32); }
.workspace-avatar { width: 28px; height: 28px; border-radius: 8px; font-size: 12px; }
.workspace-copy, .user-row > div:nth-child(2) { display: flex; flex-direction: column; min-width: 0; }
.workspace-copy span, .user-row span { color: #e1e3f6; font-size: 11px; font-weight: 650; }
.workspace-copy small, .user-row small { color: #707694; font-size: 9px; margin-top: 3px; }
.sidebar-nav { margin-top: 29px; }
.nav-label { padding: 0 11px 9px; color: #555c7e; font-size: 9px; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.nav-label-spaced { margin-top: 26px; }
.nav-item { width: 100%; display: flex; align-items: center; gap: 11px; border: 0; border-radius: 9px; padding: 10px 11px; color: #777d9d; background: transparent; font-size: 11px; text-align: left; transition: .18s ease; text-decoration: none; }
.nav-item:hover { color: #e7e5ff; background: rgba(255,255,255,.045); }
.nav-item-active { color: #e6ddff; background: linear-gradient(90deg, rgba(133,96,230,.22), rgba(133,96,230,.03)); box-shadow: inset 2px 0 0 #a78bfa, 0 0 22px rgba(127, 90, 218, .08); }
.nav-count, .nav-plus { margin-left: auto; font-size: 9px; color: #c7bbff; background: rgba(167,139,250,.13); border-radius: 999px; padding: 2px 6px; }
.sidebar-bottom { margin-top: auto; position: sticky; bottom: 0; background: rgba(8, 11, 24, .92); backdrop-filter: blur(6px); padding-bottom: 4px; }
.system-pulse { display: flex; align-items: center; gap: 10px; padding: 12px 10px; border-top: 1px solid rgba(156,163,255,.09); border-bottom: 1px solid rgba(156,163,255,.09); margin-bottom: 14px; }
.system-pulse div { display: flex; flex-direction: column; gap: 3px; }
.system-pulse span:not(.pulse-ring):not(.pulse-ring span) { color: #a4aac4; font-size: 10px; }
.system-pulse small { color: #5d6583; font-size: 9px; }
.pulse-ring { width: 17px; height: 17px; border-radius: 50%; display: grid; place-items: center; background: rgba(74,222,128,.1); box-shadow: 0 0 0 4px rgba(74,222,128,.035); }
.pulse-ring.pulse-ring-warn { background: rgba(251,191,36,.1); box-shadow: 0 0 0 4px rgba(251,191,36,.035); }
.pulse-ring span, .live-indicator > span, .updated-dot, .meta-pulse { width: 5px; height: 5px; display: inline-block; border-radius: 50%; background: #4ade80; box-shadow: 0 0 9px #4ade80; }
.pulse-ring-warn span { background: #fbbf24; box-shadow: 0 0 9px #fbbf24; }
.user-row { display: flex; gap: 9px; align-items: center; padding: 15px 10px 0; }
.user-avatar { width: 28px; height: 28px; border-radius: 50%; font-size: 9px; }
.user-row > svg { margin-left: auto; color: #656b89; }

.main-content { min-width: 0; flex: 1; }
.topbar { height: 68px; border-bottom: 1px solid rgba(156,163,255,.095); display: flex; align-items: center; justify-content: space-between; padding: 0 38px; }
.breadcrumbs, .topbar-actions, .section-heading-actions { display: flex; align-items: center; gap: 9px; }
.breadcrumbs { color: #656c8b; font-size: 11px; }
.breadcrumbs strong { color: #d9daf2; font-weight: 600; }
.breadcrumbs svg { color: #434a68; }
.topbar-actions { gap: 11px; }
.icon-button, .help-button, .more-button { position: relative; display: grid; place-items: center; border: 0; color: #848aa6; background: transparent; border-radius: 8px; transition: .18s ease; }
.icon-button { width: 31px; height: 31px; }
.icon-button:hover, .help-button:hover, .more-button:hover { color: #e6ddff; background: rgba(255,255,255,.06); }
.notification-dot { position: absolute; top: 6px; right: 7px; width: 4px; height: 4px; border-radius: 50%; background: #f472b6; box-shadow: 0 0 7px #f472b6; }
.topbar-divider { width: 1px; height: 20px; background: rgba(156,163,255,.12); margin: 0 7px; }
.live-indicator { display: flex; gap: 8px; align-items: center; border: 0; color: #959bb8; background: transparent; font-size: 10px; }
.help-button { width: 28px; height: 28px; margin-left: 3px; }
.search-dock { position: absolute; right: 40px; top: 59px; z-index: 10; width: 310px; padding: 10px 12px; display: flex; align-items: center; gap: 9px; border: 1px solid rgba(167,139,250,.32); border-radius: 11px; background: rgba(18, 21, 42, .97); box-shadow: 0 15px 40px rgba(0,0,0,.28), 0 0 26px rgba(125,90,217,.12); color: #8b93b1; }
.search-dock input { min-width: 0; flex: 1; border: 0; outline: 0; background: transparent; color: #f4f2ff; font-size: 11px; }
.search-dock input::placeholder { color: #6a708e; }
.search-dock span { border: 1px solid rgba(156,163,255,.14); border-radius: 5px; padding: 3px 5px; color: #737a97; font-size: 8px; }

.page-wrap { max-width: 1390px; margin: 0 auto; padding: 42px 42px 56px; }
.hero-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.eyebrow, .section-kicker { display: flex; align-items: center; gap: 8px; color: #858cab; font-size: 10px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-line { width: 22px; height: 1px; background: #a78bfa; box-shadow: 0 0 9px #a78bfa; }
h1 { margin: 12px 0 10px; font-size: clamp(32px, 4vw, 48px); font-weight: 760; line-height: .98; letter-spacing: -.065em; color: #f6f5ff; }
h1 em { font-family: Georgia, serif; font-weight: 400; color: #a78bfa; font-style: normal; }
.hero-subtitle { max-width: 530px; margin: 0; color: #858cab; font-size: 12px; line-height: 1.65; }
.primary-button, .ghost-button { display: inline-flex; align-items: center; gap: 8px; border-radius: 8px; font-size: 11px; font-weight: 700; transition: .18s ease; border: 0; }
.primary-button { border: 1px solid rgba(193,173,255,.28); color: #f7f4ff; padding: 10px 11px 10px 13px; background: linear-gradient(135deg, #8062d9, #5f48ac); box-shadow: 0 8px 26px rgba(113,75,207,.28), inset 0 1px rgba(255,255,255,.18); }
.primary-button:hover { transform: translateY(-1px); box-shadow: 0 11px 30px rgba(113,75,207,.38), inset 0 1px rgba(255,255,255,.22); }
.primary-button:active, .ghost-button:active, .agent-card:active { transform: scale(.98); }
.button-kbd { color: #d8cdff; background: rgba(31,23,71,.35); border-radius: 4px; padding: 3px 5px; font-size: 9px; margin-left: 5px; }
.metrics-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; margin-top: 37px; }
.metric-card, .panel-card { position: relative; overflow: hidden; border: 1px solid rgba(156,163,255,.105); border-radius: 13px; background: linear-gradient(145deg, rgba(23,27,52,.78), rgba(14,17,35,.74)); box-shadow: 0 12px 36px rgba(0,0,0,.08), inset 0 1px rgba(255,255,255,.035); }
.metric-card { min-height: 122px; padding: 16px; display: grid; grid-template-columns: 30px 1fr auto; column-gap: 10px; align-items: start; }
.metric-card-highlight { background: radial-gradient(circle at 90% 5%, rgba(167,139,250,.14), transparent 45%), linear-gradient(145deg, rgba(31,27,63,.85), rgba(16,18,38,.82)); border-color: rgba(167,139,250,.2); }
.metric-icon { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 8px; color: #bda9ff; background: rgba(167,139,250,.1); }
.cyan-icon { color: #67e8f9; background: rgba(103,232,249,.09); } .pink-icon { color: #f472b6; background: rgba(244,114,182,.09); } .amber-icon { color: #fbbf24; background: rgba(251,191,36,.09); }
.metric-label { display: block; margin-top: 1px; color: #8087a4; font-size: 10px; } .metric-card strong { display: block; margin-top: 7px; color: #f6f4ff; font-size: 22px; letter-spacing: -.045em; } .metric-trend { margin-top: 3px; font-size: 10px; } .positive { color: #74e5a0; } .negative { color: #f294a8; } .neutral { color: #8e95b0; } .metric-caption { grid-column: 2 / -1; margin-top: 12px; color: #616983; font-size: 9px; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-top: 50px; } .section-kicker { color: #949ab5; letter-spacing: .1em; } .section-kicker svg { color: #a78bfa; } .section-heading h2, .panel-header h3 { margin: 8px 0 0; color: #f0effb; font-size: 20px; letter-spacing: -.04em; } .updated-label { display: flex; align-items: center; gap: 7px; color: #69718e; font-size: 10px; } .updated-dot { background: #67e8f9; box-shadow: 0 0 8px #67e8f9; } .ghost-button { padding: 8px 10px; border: 1px solid rgba(156,163,255,.13); color: #9da4bf; background: rgba(255,255,255,.025); } .ghost-button:hover { color: #f0edff; border-color: rgba(167,139,250,.32); background: rgba(167,139,250,.08); }
.org-chart-panel { margin-top: 20px; padding: 15px 16px 17px; border: 1px solid rgba(156,163,255,.1); border-radius: 15px; background: radial-gradient(circle at 50% 0%, rgba(111, 82, 192, .12), transparent 37%), rgba(13,16,32,.57); overflow: hidden; } .org-chart-meta { display:flex; justify-content:space-between; align-items:center; color:#8f96b1; font-size:10px; padding: 0 2px 10px; } .org-chart-meta > span:first-child { display:flex; align-items:center; gap:7px; color:#b6addf; font-size:9px; letter-spacing:.12em; text-transform:uppercase; font-weight:700; } .meta-pulse { background:#a78bfa; box-shadow:0 0 9px #a78bfa; } .org-chart-note { color:#606983; } .org-chart { position:relative; padding: 5px 0 0; } .org-connectors-wrap { position:relative; height:52px; } .org-connectors { position:absolute; inset:0; width:100%; height:100%; opacity:.68; pointer-events:none; } .ceo-node, .report-grid { position:relative; z-index:1; } .ceo-node { display:flex; justify-content:center; }

/* Portrait cards - the photo (75-85% of card height via flex:1 on the photo box against a
   fixed/minimal caption block) is the point, not a small coin avatar. Applies to the CEO
   card and every report card alike so the org-chart reads as one consistent card language. */
.ceo-card, .agent-card { display:flex; flex-direction:column; overflow:hidden; border-radius:14px; border:1px solid rgba(156,163,255,.11); background: linear-gradient(145deg, rgba(24,28,53,.86), rgba(16,19,38,.82)); color:#f3f3ff; text-align:left; transition:.2s ease; }
.ceo-card { width:280px; aspect-ratio: 3 / 4; border-color: rgba(167,139,250,.24); box-shadow: 0 0 34px rgba(129,92,222,.15), inset 0 1px rgba(255,255,255,.08); }
.ceo-card:hover { border-color: rgba(195,174,255,.63); box-shadow: 0 0 38px rgba(129,92,222,.24), inset 0 1px rgba(255,255,255,.1); }

.report-grid { display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:11px; margin: 0; }
.agent-card { min-width:0; position:relative; aspect-ratio: 3 / 4; padding:0; }
button.agent-card:hover, button.agent-card.agent-card-selected { border-color: color-mix(in srgb, var(--card-accent) 38%, transparent); transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0,0,0,.2), 0 0 24px color-mix(in srgb, var(--card-accent) 10%, transparent); }
.agent-card--chat:hover { border-color: color-mix(in srgb, var(--card-accent) 38%, transparent); }

.ceo-card-photo, .agent-card-photo { position:relative; flex:1 1 auto; min-height:0; overflow:hidden; }
.ceo-card-photo img, .agent-card-photo img { width:100%; height:100%; object-fit:cover; display:block; }
.ceo-card-photo::after, .agent-card-photo::after { content:""; position:absolute; inset:0; background: linear-gradient(180deg, rgba(8,10,22,.55) 0%, transparent 32%); pointer-events:none; }
.ceo-card-photo .status-chip, .agent-card-photo .status-chip { position:absolute; top:8px; right:8px; z-index:1; }
.card-photo-badge { position:absolute; top:8px; left:8px; z-index:1; padding:3px 7px; border-radius:999px; font-size:7px; font-weight:800; letter-spacing:.1em; color:#e0d4ff; background: rgba(43,35,83,.75); border:1px solid rgba(205,188,255,.25); }

.ceo-card-info, .agent-card-info { flex:0 0 auto; display:flex; flex-direction:column; gap:1px; padding:6px 9px 7px; }
.ceo-name { font-size:13px; font-weight:750; letter-spacing:-.03em; line-height:1.15; }
.ceo-title { color:#a4a9c0; font-size:12px; }
.ceo-card-info .chat-cta, .agent-card-info .chat-cta { margin-top:3px; padding:5px; font-size:9px; }

.agent-card-name-row { min-width:0; }
.agent-card-name { font-size:14px; font-weight:750; letter-spacing:-.03em; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; display:block; line-height:1.2; }
.agent-card-initials { display:none; }
.agent-card-role { display:block; color:#9298b3; font-size:12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.agent-card-scope { display:none; }
.agent-card-footer { display:flex; align-items:center; gap:4px; margin-top:3px; padding-top:4px; border-top:1px solid rgba(156,163,255,.08); color:#8189a8; font-size:10px; }
.agent-card-footer svg { color:var(--card-accent); width:12px; height:12px; }

/* Chat CTAs - Lisa's and Charley's cards get an explicit, always-visible "Chat with X"
   button rather than relying on a card click + a buried "Open chat" action inside a
   drawer, so the option to talk to them reads as obvious at a glance. */
.chat-cta { margin-top: 12px; width: 100%; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 10px; border-radius: 9px; font-size: 11px; font-weight: 700; border: 1px solid rgba(193,173,255,.28); color: #f7f4ff; background: linear-gradient(135deg, #8062d9, #5f48ac); box-shadow: 0 8px 22px rgba(113,75,207,.24), inset 0 1px rgba(255,255,255,.16); transition: .18s ease; }
.chat-cta:hover { transform: translateY(-1px); box-shadow: 0 11px 26px rgba(113,75,207,.34), inset 0 1px rgba(255,255,255,.2); }
.chat-cta:active { transform: scale(.98); }
.agent-card--chat { cursor: default; }
.agent-card--chat:hover { border-color: color-mix(in srgb, var(--card-accent) 30%, transparent); }

/* Selected-agent drawer - slides in from the right over a dim backdrop instead of a
   panel's content swapping in place, so picking a different agent reads as opening
   something rather than the page silently re-rendering underneath you. */
.agent-drawer-backdrop { position: fixed; inset: 0; z-index: 40; background: rgba(3,4,10,.55); backdrop-filter: blur(2px); opacity: 0; pointer-events: none; transition: opacity .25s ease; }
.agent-drawer-backdrop.agent-drawer-backdrop--open { opacity: 1; pointer-events: auto; }
.agent-drawer { position: fixed; top: 0; right: 0; bottom: 0; z-index: 41; width: 400px; max-width: 92vw; padding: 26px 24px; background: radial-gradient(circle at 90% 0%, rgba(167,139,250,.12), transparent 45%), linear-gradient(165deg, rgba(23,27,52,.97), rgba(11,13,28,.98)); border-left: 1px solid rgba(156,163,255,.14); box-shadow: -24px 0 60px rgba(0,0,0,.45); transform: translateX(100%); transition: transform .28s cubic-bezier(.23,1,.32,1); overflow-y: auto; }
.agent-drawer.agent-drawer--open { transform: translateX(0); }
.agent-drawer-close { position: absolute; top: 22px; right: 22px; width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid rgba(156,163,255,.14); border-radius: 8px; background: rgba(255,255,255,.03); color: #9da4bf; }
.agent-drawer-close:hover { color: #f0edff; border-color: rgba(167,139,250,.32); background: rgba(167,139,250,.08); }
.agent-drawer .inspector-glow { top: -60px; right: -80px; }
@media (max-width: 520px) { .agent-drawer { width: 100vw; max-width: 100vw; padding: 22px 18px; } }
.status-chip { display:inline-flex; align-items:center; gap:5px; padding:4px 6px; border-radius:999px; font-size:8px; line-height:1; white-space:nowrap; background: rgba(255,255,255,.05); color:#b2b6cf; } .status-dot { width:5px; height:5px; border-radius:50%; background:currentColor; box-shadow:0 0 7px currentColor; } .status-violet { color:#c4b5fd; background:rgba(167,139,250,.11); } .status-cyan { color:#8beaf5; background:rgba(103,232,249,.09); } .status-amber { color:#fcd37c; background:rgba(251,191,36,.09); } .status-green { color:#8cebb0; background:rgba(74,222,128,.09); } .status-pink { color:#f8a4c8; background:rgba(244,114,182,.09); }
/* Running now - the chip a Trigger Now click eventually turns into, once the agent's own
   process actually picks the trigger up. A pulsing dot is the one thing a static color chip
   can't say on its own: "this is happening right now," not just "this is the current state." */
.status-pulsing .status-dot { animation: status-pulse 1.3s ease-in-out infinite; }
@keyframes status-pulse { 0%, 100% { opacity: 1; box-shadow: 0 0 7px currentColor; } 50% { opacity: .4; box-shadow: 0 0 13px currentColor; } }
.agent-card-schedule { display:block; margin-top:2px; color:#7c83a1; font-size:10px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.inspector-schedule { margin-top:10px; padding:7px 9px; border:1px solid rgba(156,163,255,.09); border-radius:7px; background:rgba(255,255,255,.02); color:#9aa1bc; font-size:9px; }
.avatar-shell { position:relative; overflow:hidden; flex:0 0 auto; border-radius:50%; border:1px solid color-mix(in srgb, var(--avatar-accent) 48%, transparent); background:#12152c; box-shadow: 0 0 0 3px color-mix(in srgb, var(--avatar-accent) 8%, transparent), 0 0 18px color-mix(in srgb, var(--avatar-accent) 18%, transparent); } .avatar-shell img { width:100%; height:100%; display:block; object-fit:cover; } .avatar-sheen { position:absolute; inset:0; background:linear-gradient(135deg, rgba(255,255,255,.16), transparent 38%, rgba(103,232,249,.06)); pointer-events:none; } .avatar-sm { width:36px; height:36px; } .avatar-md { width:58px; height:58px; } .avatar-lg { width:54px; height:54px; }
.activity-card.panel-card { margin-top: 15px; } .panel-card { padding: 18px; } .panel-header { display:flex; align-items:flex-start; justify-content:space-between; gap:10px; } .panel-header h3 { font-size:16px; } .panel-action, .more-button { border:0; color:#7d86a3; background:transparent; font-size:10px; display:flex; align-items:center; gap:4px; } .panel-action:hover { color:#c7bcff; } .activity-list { margin-top: 17px; } .activity-item { display:flex; align-items:center; gap:11px; padding: 11px 0; border-top:1px solid rgba(156,163,255,.08); } .activity-item > div:nth-child(2) { display:flex; min-width:0; flex-direction:column; gap:4px; } .activity-item strong { color:#dcddef; font-size:13px; font-weight:600; } .activity-item span:not(.activity-status) { color:#69718d; font-size:11px; } .activity-status { margin-left:auto; font-size:9px; } .activity-status-success { color:#78dfa3; } .activity-status-error { color:#f29aae; } .activity-status-warning { color:#fcd37c; } .activity-status-default { color:#9aa1bc; } .activity-icon { width:30px; height:30px; display:grid; place-items:center; flex:0 0 auto; border-radius:8px; } .activity-icon-violet { color:#c4b5fd; background:rgba(167,139,250,.1); } .activity-icon-amber { color:#fcd37c; background:rgba(251,191,36,.1); } .activity-icon-pink { color:#f8a4c8; background:rgba(244,114,182,.1); } .activity-icon-green { color:#8cebb0; background:rgba(74,222,128,.1); } .activity-icon-cyan { color:#8beaf5; background:rgba(103,232,249,.1); } .inspector-card { border-color: color-mix(in srgb, var(--inspector-accent) 21%, rgba(156,163,255,.11)); } .inspector-glow { position:absolute; top:-90px; right:-60px; width:220px; height:170px; border-radius:50%; background: color-mix(in srgb, var(--inspector-accent) 14%, transparent); filter:blur(35px); pointer-events:none; } .inspector-agent { display:flex; align-items:center; gap:10px; margin-top:17px; } .inspector-agent > div:nth-child(2) { display:flex; flex-direction:column; gap:3px; } .inspector-agent strong { font-size:14px; } .inspector-agent div span { color:#777f9d; font-size:9px; } .inspector-agent .status-chip { margin-left:auto; } .inspector-description { margin: 15px 0 16px; color:#8c93ad; font-size:10px; line-height:1.65; } .inspector-metrics { display:grid; grid-template-columns:repeat(3, 1fr); gap:7px; } .inspector-metrics div { padding:10px 8px; border:1px solid rgba(156,163,255,.08); border-radius:8px; background:rgba(255,255,255,.025); } .inspector-metrics span { display:block; color:#707994; font-size:8px; line-height:1.25; } .inspector-metrics strong { display:block; margin-top:7px; color:#eae8f8; font-size:13px; } .inspector-activity { margin-top:15px; padding-top:13px; border-top:1px solid rgba(156,163,255,.08); } .inspector-activity-label { color:#a99be0; font-size:8px; letter-spacing:.12em; text-transform:uppercase; font-weight:750; } .inspector-activity p { margin:7px 0 0; color:#8c93ad; font-size:9px; line-height:1.55; } .inspector-actions { display: flex; gap: 8px; margin-top: 16px; } .toast { position:fixed; right:28px; bottom:24px; z-index:20; display:flex; align-items:center; gap:9px; padding:10px 13px; border:1px solid rgba(167,139,250,.25); border-radius:9px; color:#ece9ff; background:rgba(25,24,53,.94); box-shadow:0 12px 32px rgba(0,0,0,.3), 0 0 20px rgba(167,139,250,.12); font-size:11px; animation:toast-in .22s cubic-bezier(.23,1,.32,1); }.toast-check { width:16px; height:16px; display:grid; place-items:center; border-radius:50%; color:#80ebb0; background:rgba(74,222,128,.13); font-size:10px; }
@keyframes toast-in { from { opacity:0; transform:translateY(8px) scale(.97); } to { opacity:1; transform:translateY(0) scale(1); } }
@media (max-width: 1100px) { .sidebar { width:204px; flex-basis:204px; } .page-wrap { padding-left:27px; padding-right:27px; } .metrics-grid { grid-template-columns:repeat(2,1fr); } .report-grid { gap:8px; } }
@media (max-width: 820px) { .sidebar { width:64px; flex-basis:64px; padding:22px 8px; } .brand-lockup { justify-content:center; padding:0 0 26px; } .brand-lockup > div:last-child, .workspace-copy, .nav-label, .nav-item span, .system-pulse, .user-row > div:nth-child(2), .user-row > svg { display:none; } .workspace-switcher { justify-content:center; padding:9px 4px; } .sidebar-nav { margin-top:26px; } .nav-item { justify-content:center; padding:11px 0; } .nav-item-active { box-shadow:inset 2px 0 #a78bfa; } .sidebar-bottom .nav-item { padding:11px 0; } .user-row { justify-content:center; padding:15px 0 0; } .topbar { padding:0 22px; } .page-wrap { padding:32px 22px 44px; } .hero-row { align-items:flex-start; flex-direction:column; } .primary-button { margin-top:8px; } .report-grid { grid-template-columns:repeat(2,1fr); } .org-connectors-wrap { display:none; } }
@media (max-width: 520px) { .topbar { height:58px; padding:0 15px; } .breadcrumbs span, .topbar-divider, .live-indicator { display:none; } .page-wrap { padding:28px 15px 36px; } .metrics-grid { gap:8px; } .metric-card { padding:12px; min-height:114px; } .metric-card strong { font-size:19px; } .metric-trend { font-size:9px; } .section-heading { align-items:flex-start; flex-direction:column; margin-top:38px; } .section-heading-actions { width:100%; justify-content:space-between; } .org-chart-panel { padding:12px; } .org-chart-note { display:none; } .ceo-card { width:100%; } .report-grid { grid-template-columns:1fr; } .panel-card { padding:14px; } .activity-item strong { font-size:9px; } .inspector-metrics span { min-height:22px; } .search-dock { left:15px; right:15px; top:52px; width:auto; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
