:root {
  color-scheme: dark;
  --bg: #07090d;
  --bg-soft: #0c0f15;
  --panel: rgba(17, 21, 29, .88);
  --panel-solid: #11151d;
  --panel-light: #171c25;
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .14);
  --text: #f4f6f8;
  --muted: #8b93a3;
  --muted-2: #5e6675;
  --orange: #ff7a1a;
  --orange-2: #ff9b52;
  --orange-soft: rgba(255, 122, 26, .14);
  --green: #35d399;
  --green-soft: rgba(53, 211, 153, .12);
  --yellow: #f5c451;
  --red: #ff5e70;
  --violet: #9375ff;
  --cyan: #3bd5f5;
  --shadow: 0 24px 80px rgba(0, 0, 0, .35);
  --radius: 20px;
  --sidebar: 266px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
button, select { cursor: pointer; }
.hidden { display: none !important; }
.mobile-only { display: none !important; }
.noise { position: fixed; inset: 0; opacity: .025; pointer-events: none; z-index: 30; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.eyebrow { margin: 0 0 7px; color: var(--orange); font-size: 10px; line-height: 1.2; font-weight: 800; letter-spacing: .18em; text-transform: uppercase; }
.eyebrow.light { color: rgba(255,255,255,.64); }
.muted { color: var(--muted); line-height: 1.65; }

.login-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(360px, 1.05fr) minmax(400px, .95fr); background:
  radial-gradient(circle at 13% 20%, rgba(255,122,26,.16), transparent 28%),
  radial-gradient(circle at 84% 80%, rgba(147,117,255,.08), transparent 32%),
  #07090d; }
.login-brand { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 8vw; overflow: hidden; }
.login-brand::after { content: ""; position: absolute; width: 520px; height: 520px; border: 1px solid rgba(255,255,255,.05); border-radius: 50%; left: -210px; bottom: -270px; box-shadow: 0 0 0 75px rgba(255,255,255,.018), 0 0 0 150px rgba(255,255,255,.012); }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: white; font-weight: 900; font-size: 20px; background: linear-gradient(145deg, #ff9c4f, #ff6810); box-shadow: 0 12px 30px rgba(255,104,16,.25); }
.brand-mark.large { width: 58px; height: 58px; margin-bottom: 48px; border-radius: 17px; font-size: 27px; }
.login-brand h1 { max-width: 720px; margin: 0; font-size: clamp(52px, 6vw, 94px); line-height: .94; letter-spacing: -.065em; }
.login-brand h1 span { color: var(--orange); }
.login-copy { max-width: 610px; margin: 30px 0; color: #9ca3af; font-size: clamp(16px, 1.4vw, 20px); line-height: 1.65; }
.login-features { display: flex; flex-wrap: wrap; gap: 10px; }
.login-features span { padding: 9px 13px; border: 1px solid var(--line); border-radius: 999px; color: #aeb5c0; font-size: 12px; background: rgba(255,255,255,.025); }
.login-panel { display: grid; place-items: center; padding: 44px; border-left: 1px solid var(--line); background: rgba(10,12,17,.58); backdrop-filter: blur(18px); }
.login-card { width: min(440px, 100%); padding: 34px; border: 1px solid var(--line); border-radius: 26px; background: rgba(19,23,31,.86); box-shadow: var(--shadow); }
.login-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 32px; }
.login-card h2 { margin: 0; font-size: 26px; letter-spacing: -.03em; }
.secure-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 10px; border: 1px solid rgba(53,211,153,.22); border-radius: 999px; color: var(--green); background: var(--green-soft); font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.secure-pill i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 4px rgba(53,211,153,.08); }
label { display: block; margin-bottom: 19px; }
label > span { display: block; margin-bottom: 8px; color: #b8bec8; font-size: 12px; font-weight: 700; }
input, select, textarea { width: 100%; border: 1px solid var(--line); outline: 0; color: var(--text); background: rgba(4,6,10,.7); transition: border-color .2s, box-shadow .2s, background .2s; }
input, select { height: 48px; padding: 0 14px; border-radius: 12px; }
textarea { padding: 13px 15px; border-radius: 14px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: rgba(255,122,26,.7); box-shadow: 0 0 0 3px rgba(255,122,26,.1); background: #090c12; }
.password-field { position: relative; }
.password-field input { padding-right: 78px; }
.password-field button { position: absolute; right: 7px; top: 7px; height: 34px; padding: 0 9px; border: 0; color: var(--orange-2); background: transparent; font-size: 11px; font-weight: 750; }
.form-error { min-height: 18px; margin: -3px 0 12px; color: #ff8794; font-size: 12px; }
.primary-button, .light-button, .ghost-button, .text-button, .icon-button { border: 0; }
.primary-button { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; gap: 11px; padding: 0 16px; border-radius: 12px; color: white; background: linear-gradient(135deg, #ff8a34, #ff6810); font-weight: 800; font-size: 12px; box-shadow: 0 10px 24px rgba(255,104,16,.19); transition: transform .2s, filter .2s; }
.primary-button:hover { transform: translateY(-1px); filter: brightness(1.08); }
.primary-button.wide { width: 100%; min-height: 49px; justify-content: space-between; padding: 0 18px; }
.login-note { margin: 17px 0 0; color: var(--muted-2); text-align: center; font-size: 10px; line-height: 1.55; }

.app-shell { min-height: 100vh; }
.sidebar { position: fixed; z-index: 20; inset: 0 auto 0 0; width: var(--sidebar); display: flex; flex-direction: column; padding: 22px 17px; border-right: 1px solid var(--line); background: #0a0d12; }
.sidebar-brand { display: flex; align-items: center; gap: 12px; padding: 3px 7px 28px; }
.sidebar-brand strong, .sidebar-brand small { display: block; }
.sidebar-brand strong { font-size: 15px; letter-spacing: -.01em; }
.sidebar-brand small { margin-top: 2px; color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
nav { display: grid; gap: 5px; }
.nav-item { min-height: 46px; display: grid; grid-template-columns: 27px 1fr auto; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid transparent; border-radius: 12px; color: #8d95a3; background: transparent; text-align: left; font-size: 12px; font-weight: 670; transition: .2s; }
.nav-item:hover { color: #d8dce3; background: rgba(255,255,255,.035); }
.nav-item.active { color: white; border-color: rgba(255,122,26,.13); background: linear-gradient(90deg, rgba(255,122,26,.16), rgba(255,122,26,.05)); }
.nav-item.active .nav-icon { color: var(--orange); }
.nav-item b { min-width: 23px; padding: 3px 6px; border-radius: 999px; color: #9fa7b5; background: rgba(255,255,255,.06); font-size: 9px; text-align: center; }
.nav-item em { padding: 4px 6px; border-radius: 5px; color: var(--violet); background: rgba(147,117,255,.12); font-size: 7px; font-style: normal; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.nav-icon { font-size: 18px; font-weight: 400; }
.sidebar-bottom { margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); }
.server-mini { display: flex; align-items: center; gap: 11px; padding: 10px; }
.server-mini strong, .server-mini small { display: block; max-width: 165px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.server-mini strong { font-size: 11px; }
.server-mini small { margin-top: 3px; color: var(--muted); font-size: 9px; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(53,211,153,.09); }
.logout-button { width: 100%; margin-top: 6px; padding: 11px; border: 0; border-radius: 10px; color: #777f8d; background: transparent; text-align: left; font-size: 11px; }
.logout-button:hover { color: #ff8794; background: rgba(255,94,112,.06); }

.workspace { min-height: 100vh; margin-left: var(--sidebar); background:
  radial-gradient(circle at 70% -10%, rgba(255,122,26,.06), transparent 28%),
  #090c11; }
.topbar { position: sticky; z-index: 15; top: 0; min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 15px 34px; border-bottom: 1px solid var(--line); background: rgba(9,12,17,.84); backdrop-filter: blur(18px); }
.topbar-left, .topbar-actions, .user-chip { display: flex; align-items: center; }
.topbar h1 { margin: 0; font-size: 22px; letter-spacing: -.035em; }
.topbar-actions { gap: 9px; }
.last-update { color: var(--muted-2); font-size: 9px; }
.icon-button { width: 39px; height: 39px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 11px; color: #a8aeba; background: rgba(255,255,255,.025); font-size: 17px; }
.icon-button:hover { color: white; border-color: var(--line-strong); }
.icon-button.spinning svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.user-chip { gap: 9px; margin-left: 4px; padding-left: 13px; border-left: 1px solid var(--line); }
.user-chip > span { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: #101216; background: #f0f1f3; font-size: 12px; font-weight: 900; }
.user-chip strong, .user-chip small { display: block; }
.user-chip strong { font-size: 10px; }
.user-chip small { margin-top: 2px; color: var(--muted); font-size: 8px; }
.global-alert { margin: 18px 34px 0; padding: 12px 15px; border: 1px solid rgba(255,94,112,.2); border-radius: 11px; color: #ff9ca7; background: rgba(255,94,112,.08); font-size: 11px; }
.content { width: min(1580px, 100%); margin: 0 auto; padding: 28px 34px 50px; }
.view { display: none; animation: view-in .28s ease; }
.view.active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }

.hero-card { position: relative; min-height: 245px; display: flex; align-items: center; justify-content: space-between; overflow: hidden; padding: 36px 42px; border: 1px solid rgba(255,255,255,.08); border-radius: 24px; background:
  linear-gradient(110deg, rgba(11,14,20,.98) 0%, rgba(17,20,28,.95) 48%, rgba(42,24,14,.94) 100%);
  box-shadow: var(--shadow); }
.hero-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 55%, rgba(255,122,26,.1)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; max-width: 670px; }
.hero-content h2 { margin: 0; font-size: clamp(30px, 3vw, 45px); letter-spacing: -.05em; }
.hero-content h2 span { color: var(--orange-2); }
.hero-content > p:not(.eyebrow) { margin: 12px 0 22px; color: #959dab; line-height: 1.55; font-size: 13px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.light-button, .ghost-button { min-height: 42px; padding: 0 15px; border-radius: 11px; font-size: 11px; font-weight: 800; }
.light-button { color: #12151a; background: #f4f5f6; }
.light-button b { margin-left: 14px; }
.ghost-button { border: 1px solid var(--line-strong); color: #c8cdd5; background: rgba(255,255,255,.035); }
.hero-orbit { position: relative; width: 240px; height: 210px; flex: 0 0 260px; margin-right: 30px; }
.orbit { position: absolute; inset: 50%; border: 1px solid rgba(255,153,82,.16); border-radius: 50%; transform: translate(-50%,-50%) rotate(-24deg); }
.orbit-one { width: 190px; height: 105px; }
.orbit-two { width: 250px; height: 145px; transform: translate(-50%,-50%) rotate(32deg); }
.orbit-core { position: absolute; left: 50%; top: 50%; width: 74px; height: 74px; display: grid; place-items: center; border-radius: 22px; transform: translate(-50%,-50%); color: white; background: linear-gradient(145deg,#ff9c4f,#ff6810); box-shadow: 0 0 70px rgba(255,104,16,.38); font-size: 34px; font-weight: 950; }
.orbit-dot { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--orange-2); box-shadow: 0 0 15px currentColor; }
.orbit-dot.one { left: 15px; top: 82px; }.orbit-dot.two { right: 2px; top: 78px; }.orbit-dot.three { right: 61px; bottom: 5px; width: 5px; height: 5px; }

.stats-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin-top: 14px; }
.stat-card, .panel { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); box-shadow: 0 12px 35px rgba(0,0,0,.11); }
.stat-card { min-height: 174px; padding: 20px; }
.stat-top { display: flex; align-items: center; justify-content: space-between; }
.metric-icon { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; font-size: 15px; }
.metric-icon.cpu { color: var(--orange); background: var(--orange-soft); }.metric-icon.ram { color: var(--violet); background: rgba(147,117,255,.12); }.metric-icon.disk { color: var(--cyan); background: rgba(59,213,245,.1); }.metric-icon.apps { color: var(--green); background: var(--green-soft); }
.trend { padding: 5px 8px; border-radius: 999px; font-size: 8px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.trend.good { color: var(--green); background: var(--green-soft); }.trend.warn { color: var(--yellow); background: rgba(245,196,81,.1); }.trend.bad { color: var(--red); background: rgba(255,94,112,.1); }.trend.neutral { color: var(--muted); background: rgba(255,255,255,.04); }
.stat-card > p { margin: 17px 0 4px; color: var(--muted); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.stat-card > strong { display: block; font-size: 29px; letter-spacing: -.05em; }
.stat-card > small { display: block; min-height: 14px; margin-top: 5px; color: var(--muted-2); font-size: 9px; }
.meter { height: 3px; margin-top: 15px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.05); }
.meter i { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--orange),var(--orange-2)); transition: width .6s ease; }
.stack-dots { display: flex; gap: 4px; margin-top: 14px; }
.stack-dots i { width: 7px; height: 3px; border-radius: 4px; background: var(--green); }
.stack-dots i.off { background: var(--red); }
.dashboard-grid { display: grid; grid-template-columns: minmax(0,1.65fr) minmax(280px,.75fr); gap: 14px; margin-top: 14px; }
.panel { padding: 22px; }
.panel-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 19px; }
.panel h3, .panel-head h3 { margin: 0; font-size: 16px; letter-spacing: -.025em; }
.text-button { color: var(--muted); background: transparent; font-size: 10px; font-weight: 700; }
.text-button:hover { color: var(--orange); }
.health-summary { min-height: 74px; display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; }
.health-item { padding: 14px; border-radius: 13px; background: rgba(255,255,255,.025); }
.health-item span { display: block; color: var(--muted); font-size: 9px; }.health-item strong { display: block; margin-top: 7px; font-size: 21px; }.health-item strong.good { color: var(--green); }.health-item strong.bad { color: var(--red); }
.recent-apps { margin-top: 14px; border-top: 1px solid var(--line); }
.recent-row { display: grid; grid-template-columns: minmax(140px,1fr) 90px 80px; align-items: center; gap: 10px; padding: 11px 2px; border-bottom: 1px solid rgba(255,255,255,.045); font-size: 10px; }
.recent-row > span { color: var(--muted); }
.recent-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 750; }
.status-dot { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); }
.status-dot::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--green); }.status-dot.degraded::before { background: var(--red); }
.quick-actions { display: grid; gap: 8px; }
.quick-actions button { display: grid; grid-template-columns: 38px 1fr auto; align-items: center; gap: 11px; padding: 11px; border: 1px solid transparent; border-radius: 13px; color: inherit; background: rgba(255,255,255,.025); text-align: left; }
.quick-actions button:hover { border-color: var(--line); background: rgba(255,255,255,.045); }
.quick-actions strong, .quick-actions small { display: block; }.quick-actions strong { font-size: 10px; }.quick-actions small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.quick-actions b { color: var(--muted-2); font-size: 18px; }
.quick-icon { width: 36px; height: 36px; display: grid; place-items: center; border-radius: 10px; }.quick-icon.orange { color: var(--orange); background: var(--orange-soft); }.quick-icon.violet { color: var(--violet); background: rgba(147,117,255,.12); }.quick-icon.cyan { color: var(--cyan); background: rgba(59,213,245,.1); }

.section-tools { display: flex; align-items: center; gap: 10px; margin-bottom: 18px; }
.sticky-tools { position: sticky; z-index: 5; top: 97px; padding: 10px; border: 1px solid var(--line); border-radius: 16px; background: rgba(12,15,21,.92); backdrop-filter: blur(18px); }
.search-box { position: relative; width: min(380px,100%); }
.search-box.grow { flex: 1; width: auto; }
.search-box span { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { padding-left: 39px; }
.section-tools select { width: auto; min-width: 150px; }
.inline-summary { margin-bottom: 14px; color: var(--muted); font-size: 10px; }
.installed-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.installed-card { padding: 19px; border: 1px solid var(--line); border-radius: 17px; background: var(--panel); }
.installed-card-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.app-avatar { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; color: var(--orange); background: var(--orange-soft); font-weight: 900; }
.installed-card h3 { min-width: 0; margin: 14px 0 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 14px; }
.installed-card > p { margin: 0; color: var(--muted); font-size: 9px; }
.replica-bar { height: 3px; margin: 15px 0; border-radius: 3px; background: rgba(255,255,255,.05); }.replica-bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); }
.service-list { display: grid; gap: 7px; max-height: 150px; overflow: auto; }
.service-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 7px 9px; border-radius: 8px; background: rgba(255,255,255,.025); color: var(--muted); font-size: 8px; }.service-line span:first-child { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.empty-state { grid-column: 1/-1; padding: 60px 20px; border: 1px dashed var(--line-strong); border-radius: 18px; color: var(--muted); text-align: center; }

.catalog-intro { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; padding: 9px 2px 27px; }
.catalog-intro h2 { margin: 0; font-size: clamp(28px,4vw,48px); letter-spacing: -.055em; }.catalog-intro p:not(.eyebrow) { max-width: 680px; margin: 12px 0 0; color: var(--muted); line-height: 1.6; }
.catalog-total { display: flex; align-items: baseline; gap: 7px; color: var(--muted); }.catalog-total strong { color: var(--orange); font-size: 48px; letter-spacing: -.06em; }.catalog-total span { font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.result-count { margin: 16px 2px 12px; color: var(--muted); font-size: 10px; }
.catalog-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 13px; }
.catalog-card { min-height: 255px; display: flex; flex-direction: column; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: var(--panel); transition: transform .2s, border-color .2s; }
.catalog-card:hover { transform: translateY(-2px); border-color: rgba(255,122,26,.25); }
.catalog-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.catalog-card h3 { margin: 0; font-size: 15px; letter-spacing: -.025em; }
.type-label { flex: 0 0 auto; color: var(--orange); font-size: 8px; font-weight: 850; text-transform: uppercase; letter-spacing: .08em; }
.catalog-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 13px 0; }.catalog-tags span { padding: 5px 7px; border-radius: 6px; color: #9ea6b4; background: rgba(255,255,255,.04); font-size: 7px; }
.catalog-description { flex: 1; margin: 0; color: var(--muted); font-size: 9px; line-height: 1.6; }
.catalog-facts { display: flex; gap: 12px; margin: 14px 0; padding-top: 12px; border-top: 1px solid var(--line); color: var(--muted); font-size: 8px; }.catalog-facts b { color: #ccd1d8; }
.catalog-card .light-button { width: 100%; min-height: 38px; }

.assistant-layout { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(260px,.65fr); gap: 14px; }
.assistant-main { min-height: calc(100vh - 145px); display: flex; flex-direction: column; }
.assistant-identity { display: flex; align-items: center; gap: 13px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }.assistant-identity > span { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 13px; color: white; background: linear-gradient(145deg,var(--violet),#5c43d8); }.assistant-identity h2 { margin: 0; font-size: 18px; }.assistant-identity em { margin-left: auto; color: var(--green); font-size: 8px; font-style: normal; font-weight: 900; text-transform: uppercase; }
.conversation { flex: 1; min-height: 280px; padding: 22px 0; overflow-y: auto; }
.message { display: flex; align-items: flex-start; gap: 11px; margin-bottom: 17px; }.message-avatar { width: 29px; height: 29px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: white; background: var(--orange); font-size: 10px; font-weight: 900; }.message div { max-width: 760px; padding: 13px 15px; border-radius: 4px 14px 14px 14px; background: rgba(255,255,255,.04); }.message strong { font-size: 10px; }.message p { margin: 7px 0 0; color: var(--muted); font-size: 10px; line-height: 1.65; white-space: pre-line; }.user-message { flex-direction: row-reverse; }.user-message .message-avatar { background: #eef0f3; color: #11151a; }.user-message div { border-radius: 14px 4px 14px 14px; background: var(--orange-soft); }
.prompt-chips { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }.prompt-chips button { padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: transparent; font-size: 8px; }.prompt-chips button:hover { color: var(--orange); border-color: rgba(255,122,26,.25); }
.assistant-form { display: grid; grid-template-columns: 1fr 45px; align-items: end; gap: 9px; }.assistant-form textarea { min-height: 50px; }.assistant-form .primary-button { width: 45px; height: 45px; padding: 0; font-size: 17px; }
.assistant-side { display: grid; align-content: start; gap: 14px; }.guard-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 13px; color: var(--green); background: var(--green-soft); }.guardrail-card p { color: var(--muted); font-size: 10px; line-height: 1.6; }.guardrail-card ul { display: grid; gap: 8px; margin: 16px 0 0; padding: 0; list-style: none; color: #abb2bd; font-size: 9px; }.guardrail-card li::before { content: "✓"; margin-right: 8px; color: var(--green); }
.audit-list { display: grid; }.audit-row { display: grid; grid-template-columns: 130px 145px 1fr 120px; gap: 14px; padding: 13px 3px; border-bottom: 1px solid var(--line); color: var(--muted); font-size: 9px; }.audit-row strong { color: #d8dce2; }

.terminal-dialog { width: min(1180px, calc(100% - 40px)); height: min(780px, calc(100vh - 40px)); padding: 0; overflow: hidden; border: 1px solid var(--line-strong); border-radius: 19px; color: var(--text); background: #080b0f; box-shadow: 0 35px 120px rgba(0,0,0,.7); }
.terminal-dialog::backdrop { background: rgba(0,0,0,.78); backdrop-filter: blur(8px); }
.terminal-head { height: 62px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px 0 20px; border-bottom: 1px solid var(--line); background: #11151b; }.terminal-head > div { display: flex; align-items: center; gap: 15px; }.terminal-head strong, .terminal-head small { display: block; }.terminal-head strong { font-size: 11px; }.terminal-head small { margin-top: 3px; color: var(--muted); font-size: 8px; }
.terminal-lights { display: flex; gap: 5px; }.terminal-lights i { width: 8px; height: 8px; border-radius: 50%; background: #ff5e70; }.terminal-lights i:nth-child(2) { background: var(--yellow); }.terminal-lights i:nth-child(3) { background: var(--green); }
.terminal-warning { height: 39px; display: flex; align-items: center; gap: 8px; padding: 0 18px; color: #c6a567; background: rgba(245,196,81,.07); font-size: 9px; }
.terminal-dialog iframe { width: 100%; height: calc(100% - 101px); border: 0; background: #000; }
.toast { position: fixed; z-index: 100; right: 22px; bottom: 22px; max-width: 360px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 11px; color: #d9dde3; background: #151a22; box-shadow: var(--shadow); font-size: 10px; transform: translateY(80px); opacity: 0; transition: .25s; }.toast.show { transform: none; opacity: 1; }
.skeleton-block { position: relative; overflow: hidden; background: rgba(255,255,255,.02); }.skeleton-block::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background: linear-gradient(90deg,transparent,rgba(255,255,255,.05),transparent); animation: skeleton 1.5s infinite; }@keyframes skeleton { to { transform: translateX(100%); } }

@media (max-width: 1180px) {
  .stats-grid, .catalog-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .installed-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .hero-orbit { margin-right: 0; transform: scale(.85); }
}
@media (max-width: 900px) {
  .mobile-only { display: grid !important; }
  .desktop-only { display: none !important; }
  .sidebar { transform: translateX(-105%); transition: transform .25s ease; box-shadow: 30px 0 80px rgba(0,0,0,.55); }
  .sidebar.open { transform: none; }
  .sidebar-backdrop { position: fixed; z-index: 19; inset: 0; visibility: hidden; opacity: 0; background: rgba(0,0,0,.6); transition: .2s; }
  .sidebar-backdrop.open { visibility: visible; opacity: 1; }
  .sidebar-brand .icon-button { margin-left: auto; }
  .workspace { margin-left: 0; }
  .dashboard-grid, .assistant-layout { grid-template-columns: 1fr; }
  .assistant-main { min-height: 650px; }
  .login-shell { grid-template-columns: 1fr; }
  .login-brand { min-height: 44vh; padding: 55px 8vw 34px; }
  .login-brand h1 { font-size: clamp(44px,11vw,76px); }
  .brand-mark.large { margin-bottom: 30px; }
  .login-panel { border: 0; padding: 30px 20px 60px; }
}
@media (max-width: 650px) {
  .topbar { min-height: 72px; padding: 12px 15px; }
  .topbar .eyebrow, .last-update, .user-chip div { display: none; }
  .topbar h1 { font-size: 18px; }
  .user-chip { padding-left: 8px; }
  .content { padding: 18px 14px 40px; }
  .global-alert { margin: 12px 14px 0; }
  .hero-card { min-height: 330px; align-items: flex-start; padding: 27px 24px; }
  .hero-orbit { position: absolute; right: -55px; bottom: -85px; opacity: .52; }
  .stats-grid, .catalog-grid, .installed-grid { grid-template-columns: 1fr; }
  .stat-card { min-height: 154px; }
  .section-tools { align-items: stretch; flex-direction: column; }
  .section-tools select, .search-box { width: 100%; }
  .sticky-tools { position: static; }
  .catalog-intro { align-items: flex-start; flex-direction: column; }
  .catalog-total { align-self: flex-end; }
  .health-summary { grid-template-columns: 1fr; }
  .recent-row { grid-template-columns: 1fr 70px; }.recent-row > span:last-child { display: none; }
  .audit-row { grid-template-columns: 95px 1fr; }.audit-row span:nth-child(3), .audit-row span:nth-child(4) { grid-column: 2; }
  .terminal-dialog { width: 100%; height: 100%; max-width: none; max-height: none; border: 0; border-radius: 0; }
  .terminal-warning { height: auto; min-height: 45px; line-height: 1.4; }
  .terminal-dialog iframe { height: calc(100% - 107px); }
}
