:root {
  color-scheme: light;
  --ink: #07152b;
  --muted: #697489;
  --soft: #f4f7fc;
  --line: #e4e9f2;
  --blue: #164fa3;
  --blue-bright: #37a7f6;
  --navy: #06152b;
  --green: #159766;
  --red: #d5414c;
  --orange: #dd8a21;
  --shadow: 0 18px 60px rgba(7, 21, 43, .10);
  --radius: 26px;
  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; color: var(--ink); background: #f6f8fc; overflow-x: hidden; }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
.ambient { position: fixed; z-index: -1; width: 480px; height: 480px; border-radius: 50%; filter: blur(110px); opacity: .16; pointer-events: none; }
.ambient-one { top: -220px; right: 5%; background: #55b8ff; }
.ambient-two { bottom: -300px; left: 12%; background: #164fa3; }

.auth-shell { min-height: 100vh; display: grid; grid-template-columns: minmax(420px, 1.25fr) minmax(420px, .75fr); padding: 20px; }
.auth-brand { min-height: calc(100vh - 40px); padding: 58px 64px; border-radius: 34px; position: relative; overflow: hidden; color: white; background: linear-gradient(145deg, #05142a 0%, #0a2d5e 60%, #1475c7 125%); }
.auth-brand::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 78% 72%, rgba(85,184,255,.34), transparent 28%), linear-gradient(120deg, transparent 45%, rgba(255,255,255,.05)); }
.brand-wordmark, .sidebar-brand strong { font-weight: 1000; letter-spacing: -5px; transform: skew(-9deg); font-style: italic; line-height: .8; }
.brand-wordmark { display: inline-block; font-size: 46px; }
.brand-caption { margin-left: 13px; font-size: 12px; letter-spacing: .22em; font-weight: 800; color: #76caff; }
.auth-statement { position: relative; z-index: 1; margin-top: min(24vh, 220px); max-width: 640px; }
.auth-statement h1 { font-size: clamp(48px, 5.3vw, 84px); line-height: .98; letter-spacing: -.055em; margin: 18px 0 22px; }
.auth-statement p { max-width: 500px; font-size: 18px; line-height: 1.65; color: rgba(255,255,255,.68); }
.eyebrow { color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .16em; }
.eyebrow.light { color: #64c0ff; }
.signal-orbit { position: absolute; width: 290px; height: 290px; right: 5%; bottom: 2%; display: grid; place-items: center; }
.signal-orbit i { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.14); border-radius: 50%; animation: orbit 9s linear infinite; }
.signal-orbit i:nth-child(2) { inset: 42px; animation-duration: 7s; animation-direction: reverse; }
.signal-orbit i:nth-child(3) { inset: 88px; animation-duration: 5s; }
.signal-orbit i::after { content: ""; display: block; width: 8px; height: 8px; margin: 26px; border-radius: 50%; background: #55b8ff; box-shadow: 0 0 24px #55b8ff; }
.signal-orbit b { position: relative; font-size: 32px; }
@keyframes orbit { to { transform: rotate(360deg); } }
.auth-panel { display: grid; place-items: center; padding: 54px; }
.auth-card { width: min(440px, 100%); }
.auth-card h2 { font-size: 34px; line-height: 1.08; letter-spacing: -.035em; margin: 12px 0; }
.auth-card > p { color: var(--muted); line-height: 1.6; margin-bottom: 30px; }
.auth-card form { display: grid; gap: 16px; }
label { display: grid; gap: 8px; color: #344057; font-size: 13px; font-weight: 700; }
input, textarea, select { width: 100%; color: var(--ink); background: #fff; border: 1px solid var(--line); border-radius: 15px; padding: 13px 15px; outline: none; transition: border-color .2s, box-shadow .2s; }
input:focus, textarea:focus, select:focus { border-color: #5f91d4; box-shadow: 0 0 0 4px rgba(22,79,163,.09); }
textarea { resize: vertical; line-height: 1.55; }
label small { color: #8a94a6; font-weight: 500; }
.auth-footnote { display: flex; align-items: center; gap: 9px; font-size: 12px; margin-top: 22px; }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 5px rgba(21,151,102,.11); }

.button { border: 0; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 0 18px; border-radius: 14px; font-weight: 800; color: var(--ink); background: #eef2f8; transition: transform .18s, box-shadow .18s, background .18s; }
.button:hover { transform: translateY(-1px); }
.button.primary { color: white; background: var(--blue); box-shadow: 0 9px 25px rgba(22,79,163,.20); }
.button.primary:hover { background: #10438f; }
.button.ghost { background: transparent; border: 1px solid var(--line); }
.button.wide { width: 100%; justify-content: space-between; min-height: 52px; padding: 0 20px; }
.button svg, .icon-button svg, .nav-item svg, .logout-button svg { width: 20px; height: 20px; }
.button-arrow { font-size: 23px; font-weight: 400; }

.app-shell { min-height: 100vh; }
.sidebar { width: 274px; position: fixed; inset: 0 auto 0 0; z-index: 20; display: flex; flex-direction: column; padding: 36px 24px 24px; color: white; background: linear-gradient(180deg, #06152b 0%, #071a37 70%, #09234a 100%); border-right: 1px solid rgba(255,255,255,.07); }
.sidebar-brand { display: flex; align-items: flex-end; gap: 12px; padding: 4px 16px 48px; }
.sidebar-brand strong { font-size: 35px; }
.sidebar-brand span { color: #55b8ff; font-size: 10px; font-weight: 850; letter-spacing: .16em; }
.nav-list { display: grid; gap: 8px; }
.nav-item { appearance: none; width: 100%; border: 0; border-radius: 16px; padding: 14px 16px; display: flex; align-items: center; gap: 14px; text-align: left; color: #8f9caf; background: transparent; font-weight: 700; transition: .22s ease; }
.nav-item:hover { color: white; background: rgba(255,255,255,.05); }
.nav-item.active { color: white; background: linear-gradient(90deg, rgba(51,135,238,.25), rgba(85,184,255,.09)); box-shadow: inset 3px 0 #55b8ff; }
.nav-item.active svg { color: #55b8ff; }
.sidebar-system { margin-top: auto; display: grid; gap: 16px; }
.system-pulse { display: flex; gap: 12px; align-items: center; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 17px; background: rgba(255,255,255,.04); }
.system-pulse > span { width: 9px; height: 9px; border-radius: 50%; background: #35d29a; box-shadow: 0 0 0 6px rgba(53,210,154,.1); }
.system-pulse div { display: grid; gap: 3px; }
.system-pulse b { font-size: 12px; }
.system-pulse small { font-size: 10px; color: #7f8ea7; }
.logout-button { border: 0; display: flex; gap: 10px; align-items: center; padding: 12px 16px; color: #8997ad; background: transparent; font-weight: 700; }
.logout-button:hover { color: white; }
.workspace { min-height: 100vh; margin-left: 274px; }
.topbar { min-height: 96px; position: sticky; top: 0; z-index: 15; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 18px 38px; background: rgba(246,248,252,.83); border-bottom: 1px solid rgba(220,226,237,.78); backdrop-filter: blur(22px); }
.topbar-title span { color: #8a95a8; font-size: 10px; letter-spacing: .15em; font-weight: 850; }
.topbar-title h1 { margin: 3px 0 0; font-size: 25px; letter-spacing: -.03em; }
.topbar-actions { display: flex; align-items: center; gap: 10px; }
.icon-button { width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--line); border-radius: 14px; color: var(--ink); background: rgba(255,255,255,.78); transition: .18s; }
.icon-button:hover { color: var(--blue); background: white; transform: translateY(-1px); box-shadow: 0 7px 22px rgba(7,21,43,.08); }
.admin-chip { min-width: 150px; display: flex; align-items: center; gap: 10px; margin-left: 7px; padding: 6px 10px 6px 6px; border-radius: 15px; border: 1px solid var(--line); background: white; }
.admin-chip > span { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 11px; color: white; font-weight: 850; background: linear-gradient(135deg, var(--navy), var(--blue)); }
.admin-chip div { display: grid; }
.admin-chip b { font-size: 12px; }
.admin-chip small { color: var(--muted); font-size: 10px; }
.content { max-width: 1560px; margin: 0 auto; padding: 34px 38px 80px; }
.view-enter { animation: viewIn .36s cubic-bezier(.2,.8,.2,1); }
@keyframes viewIn { from { opacity: 0; transform: translateY(7px); } }

.hero-strip { min-height: 210px; display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; padding: 34px; border-radius: 28px; color: white; overflow: hidden; position: relative; background: linear-gradient(125deg, #06152b 0%, #0c3268 68%, #1987d6 140%); box-shadow: var(--shadow); }
.hero-strip::after { content: ""; position: absolute; width: 420px; height: 420px; right: -130px; top: -190px; border-radius: 50%; border: 50px solid rgba(85,184,255,.13); box-shadow: 0 0 0 35px rgba(255,255,255,.025); }
.hero-copy { position: relative; z-index: 1; max-width: 630px; }
.hero-copy h2 { margin: 10px 0 9px; font-size: 32px; letter-spacing: -.04em; }
.hero-copy p { margin: 0; color: rgba(255,255,255,.65); line-height: 1.55; }
.hero-health { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.hero-health div { min-width: 150px; padding: 14px 16px; border-radius: 17px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.10); backdrop-filter: blur(8px); }
.hero-health small { display: block; color: rgba(255,255,255,.58); font-size: 10px; text-transform: uppercase; letter-spacing: .12em; }
.hero-health b { display: block; margin-top: 5px; font-size: 16px; }
.metric-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin: 20px 0; }
.metric-card { min-height: 142px; display: flex; flex-direction: column; justify-content: space-between; padding: 22px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.88); box-shadow: 0 8px 30px rgba(7,21,43,.045); }
.metric-card header { display: flex; align-items: center; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 750; }
.metric-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 13px; color: var(--blue); background: #edf4ff; }
.metric-icon svg { width: 19px; }
.metric-card strong { font-size: 30px; letter-spacing: -.045em; }
.metric-card footer { color: #8993a5; font-size: 11px; }
.section-grid { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(300px, .75fr); gap: 20px; }
.panel { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.9); box-shadow: 0 8px 32px rgba(7,21,43,.045); overflow: hidden; }
.panel-header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 25px; border-bottom: 1px solid #edf0f5; }
.panel-header h2 { margin: 0; font-size: 18px; letter-spacing: -.025em; }
.panel-header p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.panel-body { padding: 10px 24px 22px; }
.release-row { display: grid; grid-template-columns: minmax(150px, 1fr) 110px 95px 100px auto; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid #edf0f5; }
.release-row:last-child { border: 0; }
.release-app { display: flex; align-items: center; gap: 12px; min-width: 0; }
.mini-app-icon { width: 42px; height: 42px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 13px; color: white; background: linear-gradient(135deg, var(--navy), #258dde); font-weight: 900; }
.mini-app-icon img { width: 100%; height: 100%; object-fit: cover; }
.release-app div { min-width: 0; }
.release-app b, .release-app small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.release-app b { font-size: 13px; }
.release-app small { color: var(--muted); font-size: 11px; margin-top: 4px; }
.badge { width: fit-content; display: inline-flex; align-items: center; gap: 6px; padding: 6px 9px; border-radius: 999px; font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .04em; }
.badge.published, .badge.system { color: #087850; background: #e7f8f1; }
.badge.draft { color: #8b641d; background: #fff4d8; }
.badge.paused { color: #9b6814; background: #fff0d3; }
.badge.revoked, .badge.archived { color: #b62937; background: #ffeaec; }
.badge.platform { color: var(--blue); background: #eaf2ff; }
.plain-value { color: #536077; font-size: 12px; font-weight: 700; }
.release-actions { display: flex; justify-content: flex-end; gap: 5px; }
.tiny-action { width: 34px; height: 34px; display: grid; place-items: center; border: 0; border-radius: 10px; color: #68758a; background: #f4f6fa; }
.tiny-action:hover { color: var(--blue); background: #eaf2ff; }
.tiny-action svg { width: 16px; height: 16px; }
.hub-status { display: grid; gap: 14px; padding: 20px; }
.hub-platform { padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fafbfe; }
.hub-platform header { display: flex; align-items: center; justify-content: space-between; }
.hub-platform header div { display: flex; gap: 9px; align-items: center; font-weight: 800; font-size: 13px; }
.hub-platform svg { width: 18px; }
.hub-platform strong { display: block; margin-top: 22px; font-size: 25px; letter-spacing: -.04em; }
.hub-platform p { margin: 5px 0 0; color: var(--muted); font-size: 11px; }

.view-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 24px; }
.view-heading h2 { margin: 6px 0 7px; font-size: 30px; letter-spacing: -.04em; }
.view-heading p { margin: 0; color: var(--muted); }
.toolbar { display: flex; gap: 10px; align-items: center; }
.search-field { width: min(320px, 42vw); position: relative; }
.search-field svg { width: 18px; position: absolute; left: 14px; top: 13px; color: #8490a3; }
.search-field input { padding-left: 42px; background: rgba(255,255,255,.88); }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card { min-width: 0; padding: 22px; border: 1px solid var(--line); border-radius: 24px; background: white; box-shadow: 0 8px 26px rgba(7,21,43,.045); transition: .22s ease; }
.app-card:hover { transform: translateY(-3px); box-shadow: 0 16px 42px rgba(7,21,43,.085); }
.app-card-top { display: flex; gap: 15px; align-items: flex-start; }
.app-icon { width: 66px; height: 66px; flex: 0 0 auto; display: grid; place-items: center; overflow: hidden; border-radius: 19px; color: white; font-size: 23px; font-weight: 950; background: linear-gradient(140deg, #071b3a, #1677cc); }
.app-icon img { width: 100%; height: 100%; object-fit: cover; }
.app-meta { min-width: 0; flex: 1; }
.app-meta h3 { margin: 2px 0 5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; letter-spacing: -.025em; }
.app-meta p { margin: 0 0 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--muted); font-size: 12px; }
.app-description { height: 42px; margin: 18px 0; overflow: hidden; color: #5f6b7e; font-size: 12px; line-height: 1.7; }
.app-release-pills { display: flex; gap: 7px; min-height: 30px; }
.release-pill { flex: 1; padding: 8px 10px; border-radius: 10px; color: #667287; background: #f5f7fa; font-size: 10px; font-weight: 750; }
.release-pill b { color: var(--ink); }
.release-pill.live { color: #087850; background: #e7f8f1; }
.release-pill.live b { color: #087850; }
.app-card-actions { display: grid; grid-template-columns: 1fr auto auto; gap: 8px; margin-top: 17px; padding-top: 17px; border-top: 1px solid #edf0f5; }
.app-card-actions .button { min-height: 39px; font-size: 12px; }
.empty-state { min-height: 420px; display: grid; place-items: center; text-align: center; border: 1px dashed #ccd5e2; border-radius: 27px; background: rgba(255,255,255,.5); }
.empty-state div { max-width: 420px; }
.empty-state .empty-icon { width: 72px; height: 72px; margin: 0 auto 18px; display: grid; place-items: center; border-radius: 23px; color: var(--blue); background: #e9f2ff; }
.empty-state svg { width: 31px; }
.empty-state h3 { margin: 0 0 8px; font-size: 21px; }
.empty-state p { margin: 0 0 22px; color: var(--muted); line-height: 1.55; }

.hub-hero { min-height: 245px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; padding: 38px; border-radius: 30px; color: white; background: radial-gradient(circle at 85% 15%, rgba(85,184,255,.35), transparent 30%), linear-gradient(135deg, #06152b, #123f7e); box-shadow: var(--shadow); }
.hub-logo { width: 112px; height: 112px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.14); border-radius: 32px; background: rgba(255,255,255,.07); box-shadow: inset 0 0 40px rgba(85,184,255,.12); font-size: 34px; font-weight: 950; font-style: italic; transform: skew(-5deg); }
.hub-hero h2 { font-size: 35px; letter-spacing: -.045em; margin: 10px 0; }
.hub-hero p { max-width: 600px; color: rgba(255,255,255,.65); line-height: 1.6; }
.platform-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 20px; }
.platform-card { padding: 25px; border: 1px solid var(--line); border-radius: 25px; background: white; }
.platform-card header { display: flex; justify-content: space-between; align-items: center; }
.platform-title { display: flex; align-items: center; gap: 12px; }
.platform-title span { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 15px; color: var(--blue); background: #eaf2ff; }
.platform-title svg { width: 22px; }
.platform-title h3 { margin: 0; font-size: 16px; }
.platform-title small { display: block; margin-top: 4px; color: var(--muted); }
.version-display { margin: 32px 0; }
.version-display small { color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .1em; }
.version-display strong { display: block; margin-top: 7px; font-size: 36px; letter-spacing: -.05em; }
.version-display p { margin: 7px 0 0; color: #7b879b; font-size: 11px; }
.platform-card .button { width: 100%; }

.release-table { overflow-x: auto; }
.release-table-header, .release-table .release-row { min-width: 800px; grid-template-columns: minmax(190px, 1fr) 110px 100px 100px 110px 90px auto; }
.release-table-header { display: grid; gap: 14px; padding: 11px 24px; color: #8792a4; background: #f7f9fc; font-size: 10px; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; }
.release-table .release-row { padding-left: 24px; padding-right: 24px; }
.status-select { width: auto; padding: 8px 27px 8px 9px; border-radius: 10px; font-size: 11px; font-weight: 700; }

.modal { width: min(720px, calc(100vw - 28px)); max-height: calc(100vh - 34px); padding: 0; overflow: hidden; border: 0; border-radius: 27px; color: var(--ink); background: transparent; box-shadow: 0 30px 90px rgba(5,18,38,.28); }
.modal::backdrop { background: rgba(3,13,29,.55); backdrop-filter: blur(9px); }
.modal-large { width: min(800px, calc(100vw - 28px)); }
.modal[open] { animation: modalIn .28s cubic-bezier(.2,.85,.2,1); }
@keyframes modalIn { from { opacity: 0; transform: translateY(16px) scale(.98); } }
.modal-card { max-height: calc(100vh - 34px); display: flex; flex-direction: column; background: #fff; border-radius: inherit; overflow: hidden; }
.modal-header { display: flex; justify-content: space-between; align-items: center; padding: 25px 27px 20px; border-bottom: 1px solid #edf0f5; }
.modal-header h2 { margin: 5px 0 0; font-size: 23px; letter-spacing: -.035em; }
.modal-body { flex: 1; min-height: 0; overflow-y: auto; overflow-x: hidden; padding: 25px 27px; }
.modal-footer { display: flex; justify-content: flex-end; gap: 10px; padding: 18px 27px 24px; border-top: 1px solid #edf0f5; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; }
.span-two { grid-column: 1 / -1; }
.stacked-fields { display: grid; gap: 20px; }
.switch-row { align-self: end; min-height: 48px; grid-template-columns: auto auto 1fr; align-items: center; gap: 10px; }
.switch-row input { position: absolute; opacity: 0; pointer-events: none; }
.switch { width: 42px; height: 24px; padding: 3px; border-radius: 99px; background: #ccd3de; transition: .2s; }
.switch::after { content: ""; display: block; width: 18px; height: 18px; border-radius: 50%; background: white; box-shadow: 0 2px 7px rgba(0,0,0,.18); transition: .2s; }
.switch-row input:checked + .switch { background: var(--blue); }
.switch-row input:checked + .switch::after { transform: translateX(18px); }
.file-drop { min-height: 150px; place-items: center; align-content: center; text-align: center; border: 1.5px dashed #b9c6d8; border-radius: 20px; background: #f8faff; transition: .2s; }
.file-drop:hover, .file-drop.dragover { border-color: var(--blue); background: #eef5ff; }
.file-drop input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-drop svg { width: 31px; height: 31px; color: var(--blue); }
.file-drop b { font-size: 14px; }
.file-drop small { color: var(--muted); }
.file-drop em { color: var(--blue); font-size: 11px; font-style: normal; font-weight: 700; }
.upload-progress { padding: 15px; border-radius: 15px; background: #f5f8fd; }
.upload-progress div { display: flex; justify-content: space-between; margin-bottom: 9px; font-size: 11px; }
.upload-progress progress { width: 100%; height: 8px; accent-color: var(--blue); }
.toast-region { position: fixed; z-index: 100; right: 24px; bottom: 24px; display: grid; gap: 10px; }
.toast { min-width: 300px; max-width: 410px; display: flex; align-items: center; gap: 11px; padding: 15px 17px; color: white; border-radius: 15px; background: #071a37; box-shadow: 0 15px 40px rgba(3,13,29,.24); animation: toastIn .25s ease; font-size: 12px; font-weight: 700; }
.toast.error { background: #8e2430; }
.toast.success::before { content: "✓"; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: #071a37; background: #55d4a5; }
@keyframes toastIn { from { opacity: 0; transform: translateX(15px); } }
.skeleton { border-radius: 11px; background: linear-gradient(90deg, #edf0f5 25%, #f8f9fc 45%, #edf0f5 65%); background-size: 300% 100%; animation: shimmer 1.4s infinite; }
.skeleton-hero { height: 220px; }
.compact-empty { padding: 42px 12px; text-align: center; color: #7a8699; font-size: 13px; }
@keyframes shimmer { to { background-position: -100% 0; } }
.rotating svg { animation: rotateControl .7s linear infinite; }
@keyframes rotateControl { to { transform: rotate(360deg); } }
.mobile-only { display: none; }

@media (max-width: 1180px) {
  .metric-grid { grid-template-columns: repeat(2, 1fr); }
  .app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .section-grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .auth-shell { grid-template-columns: 1fr; padding: 0; }
  .auth-brand { min-height: 310px; border-radius: 0 0 30px 30px; padding: 38px 30px; }
  .auth-statement { margin-top: 70px; }
  .auth-statement h1 { font-size: 42px; }
  .auth-statement p, .signal-orbit { display: none; }
  .auth-panel { padding: 45px 25px; }
  .sidebar { transform: translateX(-100%); transition: transform .25s ease; box-shadow: 20px 0 60px rgba(3,13,29,.22); }
  .app-shell.menu-open .sidebar { transform: translateX(0); }
  .workspace { margin-left: 0; }
  .mobile-only { display: inline-grid; }
  .topbar { padding: 14px 20px; }
  .topbar-title { margin-right: auto; }
  .topbar-actions .admin-chip { display: none; }
  .content { padding: 24px 20px 70px; }
  .hero-strip { align-items: flex-start; flex-direction: column; }
  .platform-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .topbar-actions .button span:not([data-icon]) { display: none; }
  .topbar-actions .button { width: 44px; padding: 0; }
  .metric-grid, .app-grid { grid-template-columns: 1fr; }
  .hero-health { width: 100%; }
  .hero-health div { min-width: 0; }
  .view-heading { align-items: stretch; flex-direction: column; }
  .toolbar { width: 100%; }
  .search-field { width: 100%; }
  .form-grid { grid-template-columns: 1fr; }
  .span-two { grid-column: auto; }
  .modal-footer { flex-direction: column-reverse; }
  .modal-footer .button { width: 100%; }
  .release-row { grid-template-columns: 1fr auto; }
  .release-row > *:not(.release-app):not(.release-actions) { display: none; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; } }
