:root {
  --ink: #111d2b;
  --ink-2: #273548;
  --muted: #66758a;
  --soft: #8c99aa;
  --line: #dfe5ec;
  --line-2: #edf1f5;
  --surface: #ffffff;
  --canvas: #f3f6f9;
  --nav: #0b1623;
  --nav-2: #142235;
  --orange: #ff681d;
  --orange-2: #ff8b4d;
  --cyan: #00a8c5;
  --cyan-dark: #007f99;
  --blue: #4358d0;
  --green: #14a971;
  --red: #df4c51;
  --amber: #e9a329;
  --purple: #7966d4;
  --shadow: 0 14px 36px rgba(16, 30, 48, 0.08);
  --radius: 12px;
  --font: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--canvas); }
body { margin: 0; color: var(--ink); font-family: var(--font); font-size: 14px; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(0, 168, 197, .22); outline-offset: 2px; }
[hidden] { display: none !important; }

.login-view { min-height: 100vh; display: grid; grid-template-columns: minmax(520px, 1.18fr) minmax(420px, .82fr); background: #fff; }
.login-story { position: relative; overflow: hidden; min-height: 720px; padding: 52px clamp(48px, 6vw, 108px); color: white; background: radial-gradient(circle at 90% 18%, rgba(0,168,197,.22), transparent 30%), linear-gradient(138deg, #091421 0%, #12243a 68%, #0b1b2b 100%); display: flex; flex-direction: column; }
.story-brand { position: relative; z-index: 2; display: flex; align-items: center; gap: 22px; height: 44px; }
.story-brand img { object-fit: contain; filter: brightness(0) invert(1); max-height: 34px; width: auto; }
.story-brand img:first-child { height: 36px; }
.story-brand img:last-child { height: 20px; padding: 5px 8px; background: white; border-radius: 3px; filter: none; mix-blend-mode: normal; }
.brand-divider { width: 1px; height: 34px; background: rgba(255,255,255,.28); }
.story-copy { position: relative; z-index: 2; margin: auto 0 46px; max-width: 760px; }
.eyebrow { display: block; color: var(--cyan-dark); font-size: 11px; line-height: 1.3; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow.light { color: #73d9ea; }
.story-copy h1 { max-width: 720px; margin: 22px 0; font-size: clamp(44px, 5.1vw, 76px); line-height: 1.03; letter-spacing: -.046em; font-weight: 680; }
.story-copy p { max-width: 660px; margin: 0; color: #b9c8d9; font-size: 18px; line-height: 1.7; }
.story-points { position: relative; z-index: 2; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.14); }
.story-points article { display: grid; grid-template-columns: 38px 1fr; gap: 12px; padding: 26px 24px 8px 0; border-right: 1px solid rgba(255,255,255,.12); }
.story-points article + article { padding-left: 24px; }
.story-points article:last-child { border-right: 0; }
.story-points b { color: var(--orange); font-size: 13px; }
.story-points span { color: #91a4bb; font-size: 12px; line-height: 1.55; }
.story-points strong { display: block; margin-bottom: 4px; color: #fff; font-size: 13px; }
.story-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.08) 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(to bottom, rgba(0,0,0,.7), transparent 78%); transform: perspective(900px) rotateX(58deg) translateY(58%); transform-origin: bottom; }
.login-panel { display: grid; place-items: center; padding: 48px 9%; background: #fbfcfd; position: relative; }
.login-card { width: min(440px, 100%); }
.status-line { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 36px; color: var(--green); font-size: 10px; font-weight: 800; letter-spacing: .14em; }
.status-line i { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(20,169,113,.1); }
.login-card h2 { margin: 0; font-size: 34px; letter-spacing: -.035em; }
.login-card > p { margin: 10px 0 36px; color: var(--muted); font-size: 15px; }
.login-card label { display: block; margin: 18px 0 8px; color: var(--ink-2); font-size: 12px; font-weight: 700; }
.login-card input { width: 100%; height: 52px; margin-top: 9px; padding: 0 15px; color: var(--ink); background: white; border: 1px solid #cfd7e1; border-radius: 8px; transition: border .2s, box-shadow .2s; }
.login-card input:focus { border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(0,168,197,.08); }
.password-field { display: flex; position: relative; }
.password-field button { position: absolute; right: 12px; top: 25px; color: var(--cyan-dark); background: none; border: 0; font-size: 11px; font-weight: 750; }
.form-error { min-height: 18px; margin: 12px 0 2px; color: var(--red); font-size: 12px; }
.primary-button, .secondary-button, .ghost-button, .danger-button { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 42px; padding: 0 17px; border-radius: 8px; font-weight: 720; border: 1px solid transparent; transition: transform .14s, box-shadow .14s, background .14s; }
.primary-button { color: white; background: var(--orange); }
.primary-button:hover { background: #ed570f; box-shadow: 0 8px 18px rgba(255,104,29,.22); transform: translateY(-1px); }
.secondary-button { color: white; background: var(--ink-2); }
.ghost-button { color: var(--ink-2); background: white; border-color: var(--line); }
.ghost-button:hover { background: var(--canvas); }
.danger-button { color: white; background: var(--red); }
.button-sm { height: 34px; padding: 0 12px; font-size: 11px; }
.login-button { width: 100%; height: 52px; justify-content: space-between; margin-top: 3px; padding: 0 19px; }
.ldap-button { width: 100%; height: 50px; margin-top: 12px; color: var(--ink-2); background: white; border: 1px solid var(--line); border-radius: 8px; font-weight: 680; }
.ldap-mark { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 8px; color: white; background: var(--ink-2); border-radius: 5px; font-size: 11px; }
.demo-accounts { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 22px; color: var(--soft); font-size: 10px; }
.demo-accounts button { padding: 5px 8px; color: var(--ink-2); background: var(--canvas); border: 0; border-radius: 4px; font-size: 10px; }
.login-foot { position: absolute; bottom: 22px; color: var(--soft); font-size: 10px; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 248px minmax(0, 1fr); background: var(--canvas); }
.sidebar { position: sticky; top: 0; z-index: 20; height: 100vh; display: flex; flex-direction: column; color: #ccd5df; background: var(--nav); border-right: 1px solid #17263a; }
.sidebar-brand { height: 132px; padding: 23px 24px 18px; border-bottom: 1px solid rgba(255,255,255,.07); }
.logo-lockup { display: flex; align-items: center; gap: 13px; height: 34px; }
.logo-lockup img { width: auto; max-width: 92px; max-height: 24px; object-fit: contain; filter: brightness(0) invert(1); }
.logo-lockup img:last-child { max-width: 68px; max-height: 17px; padding: 3px 5px; background: white; border-radius: 2px; opacity: .94; filter: none; mix-blend-mode: normal; }
.product-name { margin-top: 16px; }
.product-name strong { display: block; color: white; font-size: 16px; letter-spacing: -.015em; }
.product-name span { display: block; margin-top: 3px; color: #73849a; font-size: 9px; letter-spacing: .08em; text-transform: uppercase; }
.main-nav { flex: 1; padding: 18px 12px; overflow-y: auto; }
.nav-section { display: block; padding: 13px 12px 8px; color: #5d7087; font-size: 9px; font-weight: 800; letter-spacing: .15em; }
.main-nav button { position: relative; width: 100%; height: 44px; display: flex; align-items: center; gap: 12px; padding: 0 12px; color: #91a0b2; background: transparent; border: 0; border-radius: 7px; text-align: left; font-size: 12px; font-weight: 620; }
.main-nav button:hover { color: white; background: rgba(255,255,255,.045); }
.main-nav button.active { color: white; background: #17273b; box-shadow: inset 3px 0 var(--orange); }
.main-nav button em { margin-left: auto; color: #8291a3; font-size: 10px; font-style: normal; }
.nav-icon { width: 23px; height: 23px; display: grid; place-items: center; color: #9caabc; border: 1px solid #435168; border-radius: 6px; font-size: 9px; font-weight: 800; }
.main-nav button.active .nav-icon { color: var(--orange); border-color: rgba(255,104,29,.4); background: rgba(255,104,29,.08); }
.ai-icon { color: #68cddd; border-color: rgba(0,168,197,.45); }
.nav-alert { margin-left: auto; width: 6px; height: 6px; background: var(--orange); border-radius: 50%; box-shadow: 0 0 0 4px rgba(255,104,29,.09); }
.sidebar-health { margin: 0 17px 14px; padding: 14px; color: #8999aa; background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; font-size: 10px; }
.health-head, .health-meta { display: flex; justify-content: space-between; align-items: center; }
.health-head strong { color: #d7e0ea; }
.health-bar { height: 4px; margin: 10px 0; background: #233349; border-radius: 4px; overflow: hidden; }
.health-bar i { display: block; width: 96%; height: 100%; background: linear-gradient(90deg, var(--cyan), #49d7b1); }
.health-meta .dot { margin-right: 5px; }
.sidebar-footer { display: flex; justify-content: space-between; padding: 15px 19px; color: #52677d; border-top: 1px solid rgba(255,255,255,.06); font-size: 8px; letter-spacing: .08em; }
.sidebar-footer span:last-child { color: #398f76; }

.workspace { min-width: 0; }
.topbar { position: sticky; top: 0; z-index: 15; height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 30px; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: blur(10px); }
.topbar-left, .topbar-actions { display: flex; align-items: center; gap: 13px; }
.environment span, .environment strong { display: block; }
.environment span { margin-bottom: 2px; color: var(--soft); font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .09em; }
.environment strong { font-size: 12px; }
.global-search { width: min(260px, 23vw); height: 38px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--soft); background: var(--canvas); border: 1px solid var(--line-2); border-radius: 7px; }
.global-search input { min-width: 0; flex: 1; color: var(--ink); background: transparent; border: 0; outline: 0; font-size: 11px; }
.live-pill { display: flex; align-items: center; gap: 7px; padding: 7px 9px; color: #09815b; background: #eaf8f3; border: 1px solid #d3f0e5; border-radius: 6px; font-size: 9px; font-weight: 800; letter-spacing: .1em; }
.live-pill i { width: 6px; height: 6px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(20,169,113,.1); }
.icon-button { width: 36px; height: 36px; display: grid; place-items: center; color: var(--muted); background: white; border: 1px solid var(--line); border-radius: 7px; }
.notification { position: relative; }
.notification i { position: absolute; right: 7px; top: 6px; width: 5px; height: 5px; background: var(--orange); border: 1px solid white; border-radius: 50%; }
.user-chip { display: flex; align-items: center; gap: 9px; padding: 4px 4px 4px 5px; background: transparent; border: 0; text-align: left; }
.user-chip > span:first-child { width: 34px; height: 34px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--ink-2), #52637a); border-radius: 8px; font-size: 10px; font-weight: 800; }
.user-chip strong, .user-chip small { display: block; max-width: 145px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user-chip strong { font-size: 11px; }
.user-chip small { margin-top: 2px; color: var(--soft); font-size: 9px; }
.user-chip b { color: var(--soft); font-size: 10px; }
.mobile-menu { display: none; }
.page-content { max-width: 1640px; margin: 0 auto; padding: 28px 30px 48px; }

.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.page-heading h1 { margin: 4px 0 7px; font-size: 29px; line-height: 1.1; letter-spacing: -.035em; }
.page-heading p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.55; }
.page-heading-actions { display: flex; align-items: center; gap: 9px; }
.time-filter { height: 38px; padding: 0 34px 0 12px; color: var(--ink-2); background: white; border: 1px solid var(--line); border-radius: 7px; font-size: 11px; font-weight: 650; }
.last-update { display: block; color: var(--soft); font-size: 9px; text-align: right; margin-top: 5px; }

.metric-grid { display: grid; grid-template-columns: repeat(6, minmax(140px, 1fr)); gap: 11px; margin-bottom: 16px; }
.metric-card { position: relative; min-height: 124px; padding: 17px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.metric-card:after { content: ""; position: absolute; left: 0; top: 17px; width: 3px; height: 42px; background: var(--accent, var(--cyan)); }
.metric-card .metric-label { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 10px; font-weight: 700; }
.metric-card .metric-icon { color: var(--accent, var(--cyan)); }
.metric-value { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 8px; }
.metric-value strong { font-size: 28px; line-height: 1; letter-spacing: -.045em; }
.metric-value span { color: var(--soft); font-size: 10px; }
.metric-note { display: flex; align-items: center; gap: 5px; color: var(--soft); font-size: 9px; }
.trend-up { color: var(--green); }
.trend-down { color: var(--red); }

.panel { background: var(--surface); border: 1px solid var(--line); border-radius: 9px; box-shadow: 0 1px 1px rgba(12,24,38,.015); }
.panel-head { min-height: 56px; display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 13px 16px; border-bottom: 1px solid var(--line-2); }
.panel-head h2 { margin: 0; font-size: 13px; letter-spacing: -.012em; }
.panel-head p { margin: 3px 0 0; color: var(--soft); font-size: 9px; }
.panel-link { color: var(--cyan-dark); background: transparent; border: 0; font-size: 10px; font-weight: 700; }
.overview-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(310px, .78fr); gap: 15px; }
.overview-main { display: grid; gap: 15px; }
.chart-panel { min-height: 302px; }
.chart-wrap { height: 226px; padding: 10px 16px 15px; }
.chart-wrap svg { width: 100%; height: 100%; overflow: visible; }
.chart-legend { display: flex; gap: 13px; color: var(--soft); font-size: 9px; }
.chart-legend span { display: flex; align-items: center; gap: 5px; }
.chart-legend i { width: 7px; height: 7px; border-radius: 2px; background: var(--cyan); }
.chart-legend i.fail { background: var(--red); }
.operations-row { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(270px, .65fr); gap: 15px; }
.live-process-list { padding: 4px 16px 10px; }
.live-process { display: grid; grid-template-columns: minmax(170px, 1fr) 90px 76px 88px; align-items: center; gap: 12px; min-height: 62px; border-bottom: 1px solid var(--line-2); }
.live-process:last-child { border-bottom: 0; }
.entity-title { min-width: 0; }
.entity-title strong, .entity-title span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.entity-title strong { font-size: 11px; }
.entity-title span { margin-top: 4px; color: var(--soft); font-size: 9px; }
.mini-progress { height: 4px; background: var(--line-2); border-radius: 4px; overflow: hidden; }
.mini-progress i { display: block; height: 100%; background: var(--cyan); border-radius: 4px; }
.time-cell { color: var(--muted); font-size: 9px; }
.platform-tag { display: inline-flex; align-items: center; justify-content: center; min-width: 58px; padding: 5px 7px; color: #4a596c; background: var(--canvas); border: 1px solid var(--line); border-radius: 5px; font-size: 8px; font-weight: 750; }
.donut-wrap { display: grid; place-items: center; height: 218px; padding: 14px; }
.donut { position: relative; width: 142px; height: 142px; border-radius: 50%; background: conic-gradient(var(--orange) 0 41.7%, var(--cyan) 41.7% 75%, var(--purple) 75% 100%); }
.donut:after { content: ""; position: absolute; inset: 26px; background: white; border-radius: 50%; }
.donut-center { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; text-align: center; }
.donut-center strong { font-size: 25px; }
.donut-center span { color: var(--soft); font-size: 8px; }
.platform-legend { width: 100%; display: flex; justify-content: center; gap: 13px; margin-top: 15px; color: var(--muted); font-size: 8px; }
.platform-legend i { display: inline-block; width: 6px; height: 6px; margin-right: 4px; border-radius: 50%; }
.side-stack { display: grid; align-content: start; gap: 15px; }
.attention-card { color: white; background: linear-gradient(145deg, #172538, #0d1928); border: 0; overflow: hidden; }
.attention-card .panel-head { border-color: rgba(255,255,255,.08); }
.attention-card .panel-head p { color: #7f91a6; }
.attention-list { padding: 3px 15px 14px; }
.attention-item { padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.07); }
.attention-item:last-child { border-bottom: 0; }
.attention-item-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.attention-item strong { font-size: 10px; }
.attention-item p { margin: 6px 0; color: #a9b6c5; font-size: 9px; line-height: 1.5; }
.attention-item button { padding: 0; color: #60ccdf; background: none; border: 0; font-size: 9px; font-weight: 700; }
.severity { display: inline-flex; align-items: center; padding: 4px 6px; border-radius: 4px; font-size: 8px; font-weight: 800; }
.severity.critical, .status-badge.error { color: #b2252c; background: #fdebed; }
.severity.high, .status-badge.warning { color: #a96807; background: #fff3dd; }
.severity.medium { color: #485aba; background: #edf0ff; }
.severity.low, .status-badge.success { color: #087f58; background: #e8f7f1; }
.activity-list { padding: 6px 16px 12px; }
.activity-item { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 9px; padding: 10px 0; }
.activity-item:before { content: ""; position: absolute; left: 10px; top: 31px; bottom: -7px; width: 1px; background: var(--line); }
.activity-item:last-child:before { display: none; }
.activity-icon { z-index: 1; width: 22px; height: 22px; display: grid; place-items: center; color: var(--cyan-dark); background: #e9f8fb; border-radius: 6px; font-size: 8px; font-weight: 800; }
.activity-item p { margin: 0; color: var(--ink-2); font-size: 9px; line-height: 1.45; }
.activity-item time { display: block; margin-top: 3px; color: var(--soft); font-size: 8px; }

.toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 13px; }
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 8px; }
.filter-input { height: 38px; min-width: 210px; padding: 0 12px; background: white; border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.filter-select { height: 38px; min-width: 130px; padding: 0 10px; color: var(--ink-2); background: white; border: 1px solid var(--line); border-radius: 7px; font-size: 10px; }
.segmented { display: flex; padding: 3px; background: #e9eef3; border-radius: 7px; }
.segmented button { height: 30px; padding: 0 10px; color: var(--muted); background: transparent; border: 0; border-radius: 5px; font-size: 9px; font-weight: 700; }
.segmented button.active { color: var(--ink); background: white; box-shadow: 0 1px 4px rgba(20,32,46,.08); }
.robot-grid { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 12px; }
.robot-card { padding: 16px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.robot-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.robot-avatar { width: 38px; height: 38px; display: grid; place-items: center; color: var(--cyan-dark); background: #eaf8fb; border-radius: 8px; font-size: 10px; font-weight: 850; }
.robot-title { flex: 1; min-width: 0; }
.robot-title h3 { margin: 2px 0 4px; font-size: 12px; }
.robot-title p { margin: 0; color: var(--soft); font-size: 8px; }
.status-badge { display: inline-flex; align-items: center; gap: 5px; padding: 4px 7px; color: #596778; background: #edf1f4; border-radius: 5px; font-size: 8px; font-weight: 800; white-space: nowrap; }
.status-badge.running { color: #067853; background: #e7f7f0; }
.status-badge.queue { color: #a96807; background: #fff3dd; }
.status-badge.offline { color: #7c8794; background: #edf0f3; }
.status-badge.human { color: #7244ae; background: #f3ebfb; }
.robot-process { min-height: 55px; margin: 15px 0; padding: 10px 11px; background: var(--canvas); border-radius: 7px; }
.robot-process span { display: block; color: var(--soft); font-size: 8px; }
.robot-process strong { display: block; margin-top: 5px; font-size: 10px; }
.robot-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.robot-stats span { color: var(--soft); font-size: 8px; }
.robot-stats strong { display: block; margin-top: 4px; color: var(--ink-2); font-size: 11px; }
.robot-foot { display: flex; justify-content: space-between; margin-top: 14px; padding-top: 11px; color: var(--soft); border-top: 1px solid var(--line-2); font-size: 8px; }

.table-panel { overflow: hidden; }
.data-table { width: 100%; border-collapse: collapse; }
.data-table th { height: 40px; padding: 0 13px; color: var(--soft); background: #f8fafc; border-bottom: 1px solid var(--line); font-size: 8px; font-weight: 800; letter-spacing: .05em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { height: 54px; padding: 8px 13px; color: var(--ink-2); border-bottom: 1px solid var(--line-2); font-size: 10px; vertical-align: middle; }
.data-table tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fbfcfd; }
.table-id { color: var(--cyan-dark); font-weight: 750; }
.table-actions { display: flex; gap: 6px; }
.icon-action { height: 30px; padding: 0 9px; color: var(--ink-2); background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 9px; font-weight: 700; }
.icon-action.danger { color: var(--red); }
.process-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .65fr); gap: 14px; }
.process-summary { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 14px; }
.small-kpi { min-height: 82px; padding: 13px 15px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.small-kpi span { color: var(--soft); font-size: 8px; font-weight: 700; }
.small-kpi strong { display: block; margin-top: 9px; font-size: 21px; letter-spacing: -.04em; }
.queue-list { padding: 3px 14px 13px; }
.queue-item { display: grid; grid-template-columns: 28px minmax(0,1fr) 28px; align-items: center; gap: 9px; padding: 12px 0; border-bottom: 1px solid var(--line-2); }
.queue-item:last-child { border: 0; }
.queue-pos { width: 26px; height: 26px; display: grid; place-items: center; color: var(--cyan-dark); background: #eaf8fb; border-radius: 6px; font-size: 9px; font-weight: 800; }
.queue-item strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9px; }
.queue-item span { display: block; margin-top: 3px; color: var(--soft); font-size: 8px; }
.queue-delete { width: 27px; height: 27px; color: var(--red); background: transparent; border: 1px solid #f1d5d7; border-radius: 5px; }

.ai-hero { position: relative; min-height: 134px; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-bottom: 15px; padding: 23px 26px; color: white; background: radial-gradient(circle at 75% 0, rgba(0,168,197,.22), transparent 35%), linear-gradient(120deg, #0c1725, #14263b); border-radius: 10px; overflow: hidden; }
.ai-hero:after { content: ""; position: absolute; right: 4%; top: -90px; width: 280px; height: 280px; border: 1px solid rgba(255,255,255,.06); border-radius: 50%; box-shadow: 0 0 0 42px rgba(255,255,255,.02), 0 0 0 84px rgba(255,255,255,.015); }
.ai-hero-copy { z-index: 2; }
.ai-hero h1 { margin: 5px 0 8px; font-size: 27px; letter-spacing: -.035em; }
.ai-hero p { max-width: 710px; margin: 0; color: #9fb0c3; font-size: 11px; line-height: 1.55; }
.ai-score { z-index: 2; display: grid; grid-template-columns: repeat(3, 86px); gap: 9px; }
.ai-score div { padding: 12px; background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.08); border-radius: 8px; }
.ai-score strong { display: block; color: #fff; font-size: 18px; }
.ai-score span { display: block; margin-top: 4px; color: #8194aa; font-size: 8px; }
.ai-layout { display: grid; grid-template-columns: minmax(0, 1.38fr) minmax(320px, .62fr); gap: 15px; }
.vision-stage { overflow: hidden; }
.vision-toolbar { min-height: 56px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; border-bottom: 1px solid var(--line-2); }
.vision-toolbar-left { display: flex; align-items: center; gap: 8px; }
.camera-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 0 4px rgba(20,169,113,.1); }
.vision-toolbar strong { font-size: 11px; }
.vision-toolbar span { color: var(--soft); font-size: 8px; }
.vision-canvas { position: relative; height: 467px; padding: 24px; background: #172234; overflow: hidden; }
.desktop-scene { position: relative; width: 100%; height: 100%; background: #e9edf2; border: 6px solid #263448; border-radius: 6px; box-shadow: 0 14px 24px rgba(0,0,0,.22); overflow: hidden; }
.desktop-bar { height: 33px; display: flex; align-items: center; gap: 7px; padding: 0 10px; background: #f8fafc; border-bottom: 1px solid #d6dce4; }
.desktop-bar i { width: 7px; height: 7px; border-radius: 50%; background: #c3cad4; }
.fake-app { padding: 19px 22px; }
.fake-app-head { width: 38%; height: 13px; background: #c8d1dc; border-radius: 3px; }
.fake-app-row { display: grid; grid-template-columns: 1.3fr .8fr .7fr; gap: 10px; margin-top: 16px; }
.fake-app-row i { height: 9px; background: #d7dde5; border-radius: 2px; }
.screen-dim { position: absolute; inset: 33px 0 0; background: rgba(15,25,39,.58); }
.mock-popup { position: absolute; left: 25%; top: 24%; width: 53%; min-height: 245px; padding: 0 22px 20px; background: white; border-radius: 5px; box-shadow: 0 18px 44px rgba(8,16,28,.34); }
.mock-popup-head { height: 49px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.mock-popup-head strong { font-size: 12px; }
.mock-popup-head span { color: var(--soft); }
.mock-popup-content { display: grid; grid-template-columns: 48px 1fr; gap: 14px; padding: 24px 0 19px; }
.popup-warning { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: var(--orange); border-radius: 50%; font-size: 20px; font-weight: 850; }
.mock-popup-content h3 { margin: 0 0 8px; font-size: 13px; }
.mock-popup-content p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.55; }
.mock-popup-actions { display: flex; justify-content: flex-end; gap: 9px; }
.mock-popup-actions button { height: 35px; min-width: 94px; border-radius: 5px; font-size: 9px; font-weight: 750; }
.mock-popup-actions button:first-child { color: var(--ink-2); background: white; border: 1px solid var(--line); }
.mock-popup-actions button:last-child { color: white; background: var(--orange); border: 1px solid var(--orange); }
.detection-box { position: absolute; z-index: 5; border: 2px solid #51d6eb; pointer-events: none; }
.detection-box:before { content: attr(data-label); position: absolute; left: -2px; top: -21px; padding: 4px 7px; color: #07141f; background: #51d6eb; border-radius: 3px 3px 0 0; font-size: 8px; font-weight: 850; letter-spacing: .04em; }
.popup-detection { left: 24.5%; top: 23.3%; width: 54%; height: 60%; }
.button-detection { left: 61.7%; top: 69.5%; width: 15.4%; height: 9.5%; border-color: #ffaf72; }
.button-detection:before { background: #ffaf72; }
.vision-footer { min-height: 52px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 14px; background: white; border-top: 1px solid var(--line); }
.vision-footer-meta { display: flex; gap: 17px; color: var(--soft); font-size: 8px; }
.vision-footer-meta b { display: block; margin-top: 2px; color: var(--ink-2); font-size: 9px; }
.upload-control input { display: none; }
.analysis-stack { display: grid; align-content: start; gap: 13px; }
.analysis-card { padding: 16px; }
.analysis-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.analysis-card-head h2 { margin: 0; font-size: 12px; }
.confidence { color: var(--green); font-size: 10px; font-weight: 800; }
.classification-block { padding: 13px; background: #f7f9fb; border-left: 3px solid var(--orange); border-radius: 5px; }
.classification-block span { color: var(--soft); font-size: 8px; }
.classification-block strong { display: block; margin: 5px 0; font-size: 11px; }
.classification-block p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.detected-options { margin: 15px 0 2px; }
.detected-options > span { display: block; margin-bottom: 7px; color: var(--soft); font-size: 8px; font-weight: 750; }
.option-chip { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; margin-top: 6px; background: white; border: 1px solid var(--line); border-radius: 6px; font-size: 9px; }
.option-chip b { color: var(--green); font-size: 8px; }
.decision-card { color: white; background: #14243a; border-color: #14243a; }
.decision-card .analysis-card-head h2 { color: white; }
.decision-card p { color: #a7b5c5; font-size: 9px; line-height: 1.55; }
.decision-policy { display: flex; gap: 10px; margin: 12px 0; padding: 10px; color: #c8d3df; background: rgba(255,255,255,.05); border-radius: 6px; font-size: 8px; line-height: 1.45; }
.decision-policy i { color: #68d2e4; font-style: normal; font-weight: 850; }
.decision-actions { display: grid; grid-template-columns: 1fr 1.3fr; gap: 7px; }
.decision-actions button { height: 37px; border-radius: 6px; font-size: 9px; font-weight: 750; }
.decision-actions button:first-child { color: #cbd5df; background: transparent; border: 1px solid #43536a; }
.decision-actions button:last-child { color: white; background: var(--orange); border: 0; }
.feedback-card { padding: 14px 16px; }
.feedback-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.feedback-line div strong { display: block; font-size: 10px; }
.feedback-line div span { color: var(--soft); font-size: 8px; }
.feedback-badge { padding: 5px 7px; color: #5b4cb2; background: #eeebfb; border-radius: 4px; font-size: 8px; font-weight: 800; }
.incident-table-wrap { margin-top: 15px; }

.report-grid { display: grid; grid-template-columns: 1.45fr .55fr; gap: 15px; }
.report-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 15px; }
.report-kpi { min-height: 94px; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 8px; }
.report-kpi span { color: var(--soft); font-size: 8px; }
.report-kpi strong { display: block; margin: 9px 0 5px; font-size: 24px; letter-spacing: -.045em; }
.report-kpi small { color: var(--green); font-size: 8px; }
.success-ring-wrap { display: grid; place-items: center; min-height: 250px; }
.success-ring { position: relative; width: 154px; height: 154px; border-radius: 50%; background: conic-gradient(var(--green) 0 94.8%, #e8edf2 94.8%); }
.success-ring:after { content: ""; position: absolute; inset: 16px; background: white; border-radius: 50%; }
.success-ring div { position: absolute; z-index: 2; inset: 0; display: grid; place-content: center; text-align: center; }
.success-ring strong { font-size: 30px; }
.success-ring span { color: var(--soft); font-size: 8px; }
.target-line { margin-top: 14px; color: var(--muted); font-size: 9px; text-align: center; }

.pdd-layout { display: grid; grid-template-columns: minmax(0, 1.14fr) minmax(360px, .86fr); gap: 15px; margin-bottom: 15px; }
.pdd-upload-panel, .pdd-result-panel { min-height: 390px; padding: 20px; }
.pdd-ai-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; background: linear-gradient(135deg, var(--cyan), var(--blue)); border-radius: 10px; font-size: 11px; font-weight: 850; }
.pdd-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 24px; }
.pdd-form-grid label { color: var(--ink-2); font-size: 10px; font-weight: 750; }
.pdd-form-grid input { width: 100%; height: 48px; margin-top: 8px; padding: 0 13px; color: var(--ink); background: white; border: 1px solid var(--line); border-radius: 7px; }
.pdd-file-picker { height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 8px; padding: 0 13px; color: var(--muted); background: #f8fafc; border: 1px dashed #bfcbd8; border-radius: 7px; cursor: pointer; }
.pdd-file-picker input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.pdd-file-picker b { max-width: 68%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--cyan-dark); font-size: 10px; }
.pdd-file-picker em { color: var(--soft); font-size: 8px; font-style: normal; }
.pdd-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 20px; }
.pdd-trust { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 28px; padding-top: 17px; color: var(--muted); border-top: 1px solid var(--line-2); font-size: 9px; }
.pdd-trust span:before { color: var(--green); }
.pdd-empty { min-height: 345px; display: grid; place-content: center; justify-items: center; text-align: center; }
.pdd-empty > span { width: 54px; height: 54px; display: grid; place-items: center; color: var(--cyan-dark); background: #eaf8fb; border-radius: 50%; font-size: 22px; }
.pdd-empty strong { margin-top: 17px; font-size: 14px; }
.pdd-empty p { max-width: 340px; color: var(--muted); font-size: 10px; line-height: 1.6; }
.pdd-result-head { display: grid; grid-template-columns: 1fr 76px; gap: 16px; }
.pdd-result-head h2 { margin: 6px 0; font-size: 18px; }
.pdd-result-head p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.complexity-score { width: 72px; height: 72px; display: grid; place-content: center; color: var(--cyan-dark); background: #eaf8fb; border-radius: 50%; text-align: center; font-size: 8px; }
.complexity-score.high { color: var(--orange); background: #fff0e8; }
.complexity-score b { font-size: 21px; line-height: 1; }
.complexity-score em { display: block; margin-top: 3px; font-size: 7px; font-style: normal; font-weight: 800; text-transform: uppercase; }
.pdd-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 18px 0 13px; }
.pdd-kpis div { padding: 11px; background: var(--canvas); border-radius: 7px; }
.pdd-kpis span { color: var(--soft); font-size: 7px; font-weight: 750; }
.pdd-kpis strong { display: block; margin-top: 5px; font-size: 15px; }
.effort-breakdown { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 7px; overflow: hidden; }
.effort-breakdown span { padding: 10px; border-right: 1px solid var(--line); }
.effort-breakdown span:last-child { border: 0; }
.effort-breakdown b, .effort-breakdown em { display: block; font-size: 8px; font-style: normal; }
.effort-breakdown b { color: var(--soft); }
.effort-breakdown em { margin-top: 4px; color: var(--ink); font-weight: 800; }
.pdd-signals { display: flex; justify-content: space-between; gap: 6px; margin: 13px 0; }
.pdd-signals span { flex: 1; padding: 8px; color: var(--ink); background: #f8fafc; border-radius: 6px; font-size: 13px; font-weight: 800; text-align: center; }
.pdd-signals b { display: block; margin-top: 2px; color: var(--soft); font-size: 7px; font-weight: 650; }
.pdd-assumption { padding: 11px 13px; background: #fff8f3; border-left: 3px solid var(--orange); border-radius: 5px; }
.pdd-assumption strong { font-size: 9px; }
.pdd-assumption p { margin: 5px 0; color: var(--ink-2); font-size: 8px; }
.pdd-assumption small { color: var(--muted); font-size: 7px; line-height: 1.4; }
.pdd-history { margin-top: 15px; }

.provider-callout { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 15px; }
.provider-callout > div { display: grid; grid-template-columns: 46px 1fr; gap: 13px; align-items: center; padding: 15px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.provider-callout p { margin: 0; color: var(--muted); font-size: 9px; line-height: 1.5; }
.provider-callout strong { display: block; margin-bottom: 3px; color: var(--ink); font-size: 11px; }
.provider-mark { width: 42px; height: 42px; display: grid; place-items: center; color: white; border-radius: 9px; font-size: 10px; font-weight: 850; }
.provider-mark.uipath { background: var(--orange); }
.provider-mark.genrpa { background: var(--cyan); }

.integration-grid { display: grid; grid-template-columns: repeat(3, minmax(250px, 1fr)); gap: 12px; }
.integration-card { padding: 17px; background: white; border: 1px solid var(--line); border-radius: 9px; }
.integration-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.integration-logo { width: 43px; height: 43px; display: grid; place-items: center; color: white; background: var(--ink-2); border-radius: 9px; font-size: 10px; font-weight: 850; }
.integration-title { flex: 1; }
.integration-title h3 { margin: 0 0 4px; font-size: 11px; }
.integration-title span { color: var(--soft); font-size: 8px; }
.integration-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 16px 0; padding: 12px 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.integration-metrics span { color: var(--soft); font-size: 8px; }
.integration-metrics strong { display: block; margin-top: 4px; font-size: 10px; }
.integration-foot { display: flex; align-items: center; justify-content: space-between; }
.integration-foot { gap: 6px; flex-wrap: wrap; }
.integration-profile-line { display: flex; align-items: center; flex-wrap: wrap; gap: 7px; margin-top: 12px; color: var(--soft); font-size: 8px; }
.mode-badge { padding: 4px 6px; color: var(--cyan-dark); background: #eaf8fb; border-radius: 4px; font-size: 7px; font-weight: 850; }
.mode-badge.live { color: #087958; background: #e9f8f2; }
.secret-ok { color: var(--green); }
.secret-missing { color: var(--amber); }
.architecture-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-bottom: 15px; background: white; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.architecture-step { position: relative; min-height: 105px; display: grid; place-content: center; padding: 15px; text-align: center; border-right: 1px solid var(--line); }
.architecture-step:last-child { border-right: 0; }
.architecture-step:not(:last-child):after { content: "→"; position: absolute; right: -10px; top: 42px; z-index: 2; width: 20px; height: 20px; display: grid; place-items: center; color: var(--cyan-dark); background: white; border: 1px solid var(--line); border-radius: 50%; font-size: 9px; }
.architecture-step b { color: var(--orange); font-size: 9px; }
.architecture-step strong { margin: 5px 0; font-size: 10px; }
.architecture-step span { color: var(--soft); font-size: 8px; line-height: 1.4; }

.document-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 15px; }
.document-row { display: grid; grid-template-columns: 42px minmax(180px,1.5fr) minmax(120px,.7fr) 70px 90px 90px; align-items: center; gap: 12px; min-height: 68px; padding: 8px 15px; border-bottom: 1px solid var(--line-2); }
.document-row:last-child { border: 0; }
.file-icon { width: 34px; height: 40px; display: grid; place-items: center; color: var(--cyan-dark); background: #eaf8fb; border-radius: 5px; font-size: 8px; font-weight: 850; }
.doc-meta strong { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; }
.doc-meta span, .document-row > span { color: var(--soft); font-size: 8px; }
.document-progress { padding: 16px; }
.progress-stage { display: grid; grid-template-columns: 26px 1fr; gap: 10px; padding: 11px 0; }
.progress-stage i { width: 24px; height: 24px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 50%; font-style: normal; font-size: 8px; font-weight: 800; }
.progress-stage.pending i { color: var(--soft); background: var(--line-2); }
.progress-stage strong { display: block; font-size: 9px; }
.progress-stage span { display: block; margin-top: 3px; color: var(--soft); font-size: 8px; }

.admin-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; }
.role-matrix { width: 100%; border-collapse: collapse; }
.role-matrix th, .role-matrix td { height: 44px; padding: 8px 11px; border-bottom: 1px solid var(--line-2); font-size: 9px; text-align: center; }
.role-matrix th:first-child, .role-matrix td:first-child { text-align: left; }
.check { color: var(--green); font-weight: 850; }
.dash { color: #b6c0cb; }
.audit-list { max-height: 360px; overflow-y: auto; padding: 5px 15px 12px; }
.audit-row { display: grid; grid-template-columns: 70px 1fr 86px; gap: 10px; padding: 11px 0; border-bottom: 1px solid var(--line-2); font-size: 8px; }
.audit-row strong { font-size: 9px; }
.audit-row span { color: var(--soft); }

.empty-state { min-height: 220px; display: grid; place-items: center; color: var(--soft); text-align: center; }
.loading { min-height: 360px; display: grid; place-items: center; color: var(--soft); }
.loading:before { content: ""; width: 24px; height: 24px; margin-right: 10px; border: 3px solid var(--line); border-top-color: var(--cyan); border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.toast-region { position: fixed; z-index: 100; right: 22px; bottom: 22px; display: grid; gap: 8px; }
.toast { width: min(360px, calc(100vw - 44px)); display: grid; grid-template-columns: 30px 1fr auto; align-items: start; gap: 10px; padding: 13px 14px; color: var(--ink-2); background: white; border: 1px solid var(--line); border-radius: 8px; box-shadow: var(--shadow); animation: toast-in .25s ease-out; }
.toast-icon { width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--green); border-radius: 6px; font-size: 10px; font-weight: 800; }
.toast.error .toast-icon { background: var(--red); }
.toast strong { display: block; font-size: 10px; }
.toast p { margin: 4px 0 0; color: var(--muted); font-size: 9px; line-height: 1.4; }
.toast button { padding: 0; color: var(--soft); background: none; border: 0; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } }
.modal-backdrop { position: fixed; z-index: 90; inset: 0; display: grid; place-items: center; padding: 20px; background: rgba(8,17,28,.58); backdrop-filter: blur(3px); }
.modal { width: min(520px, 100%); max-height: min(720px, calc(100vh - 40px)); overflow: auto; padding: 21px; background: white; border-radius: 11px; box-shadow: 0 28px 70px rgba(7,16,27,.3); }
.modal-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.modal-head h2 { margin: 4px 0 0; font-size: 20px; letter-spacing: -.025em; }
.modal-body { padding: 18px 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.modal-body label { display: block; margin: 14px 0 6px; color: var(--ink-2); font-size: 10px; font-weight: 750; }
.modal-body textarea, .modal-body input, .modal-body select { width: 100%; min-height: 42px; padding: 10px; background: white; border: 1px solid var(--line); border-radius: 6px; }
.modal-body textarea { min-height: 90px; resize: vertical; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 16px; border-top: 1px solid var(--line); }
.modal-note { margin-bottom: 15px; padding: 11px 12px; color: var(--ink-2); background: #eef8fb; border-left: 3px solid var(--cyan); border-radius: 5px; font-size: 9px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
.form-help { margin: 13px 0 0; color: var(--soft); font-size: 8px; line-height: 1.5; }
.modal-body label small { display: block; margin-top: 2px; color: var(--soft); font-size: 7px; font-weight: 500; }

@media (max-width: 1260px) {
  .metric-grid { grid-template-columns: repeat(3, 1fr); }
  .overview-grid, .ai-layout, .report-grid, .pdd-layout { grid-template-columns: 1fr; }
  .side-stack { grid-template-columns: 1fr 1fr; }
  .robot-grid { grid-template-columns: repeat(2, 1fr); }
  .integration-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 980px) {
  .login-view { grid-template-columns: 1fr; }
  .login-story { min-height: 540px; }
  .login-panel { min-height: 620px; }
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; left: -260px; transition: left .2s; box-shadow: var(--shadow); }
  .sidebar.open { left: 0; }
  .mobile-menu { display: grid; }
  .global-search { display: none; }
  .process-layout, .document-layout, .admin-grid { grid-template-columns: 1fr; }
  .page-content { padding: 22px 20px 40px; }
}
@media (max-width: 720px) {
  .story-points { grid-template-columns: 1fr; }
  .story-points article { border-right: 0; }
  .story-points article + article { padding-left: 0; }
  .metric-grid, .robot-grid, .integration-grid, .report-kpis, .process-summary, .architecture-strip { grid-template-columns: 1fr 1fr; }
  .overview-main .operations-row, .side-stack { grid-template-columns: 1fr; }
  .topbar { padding: 0 14px; }
  .environment { display: none; }
  .user-chip > span:nth-child(2), .user-chip b, .live-pill { display: none; }
  .page-heading { align-items: flex-start; flex-direction: column; }
  .page-heading-actions { width: 100%; }
  .live-process { grid-template-columns: 1fr 60px; }
  .live-process > :nth-child(2), .live-process > :nth-child(3) { display: none; }
  .ai-score { display: none; }
  .vision-canvas { height: 360px; padding: 12px; }
  .mock-popup { left: 11%; width: 78%; }
  .popup-detection { left: 10%; width: 80%; }
  .document-row { grid-template-columns: 36px 1fr 70px; }
  .document-row > :nth-child(3), .document-row > :nth-child(5), .document-row > :nth-child(6) { display: none; }
  .data-table { min-width: 780px; }
  .table-panel { overflow-x: auto; }
  .provider-callout, .pdd-form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .login-story { padding: 34px 25px; }
  .story-copy h1 { font-size: 39px; }
  .story-copy p { font-size: 15px; }
  .login-panel { padding: 36px 25px 70px; }
  .metric-grid, .robot-grid, .integration-grid, .report-kpis, .process-summary, .architecture-strip { grid-template-columns: 1fr; }
  .toolbar { align-items: stretch; flex-direction: column; }
  .toolbar-left { flex-wrap: wrap; }
  .filter-input, .filter-select { min-width: 0; flex: 1; }
  .vision-footer { align-items: flex-start; flex-direction: column; }
  .form-grid, .pdd-kpis, .effort-breakdown { grid-template-columns: 1fr 1fr; }
}
