:root {
  font-family: system-ui, -apple-system, "Segoe UI", Tahoma, Arial, sans-serif;
  color-scheme: dark;
  --bg: #060b13;
  --panel: #0c1421;
  --panel-2: #111c2d;
  --panel-3: #16243a;
  --line: #24344e;
  --line-soft: #1a273c;
  --text: #edf5ff;
  --muted: #92a3bc;
  --accent: #2dd4bf;
  --accent-2: #22c55e;
  --blue: #38bdf8;
  --danger: #fb7185;
  --warn: #fbbf24;
  --ok: #34d399;
  --shadow: 0 24px 80px rgb(0 0 0 / .45);
  --radius: 20px;
}
* { box-sizing: border-box; }
html, body, #app { min-height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 85% -10%, rgb(25 85 105 / .42), transparent 34%),
    radial-gradient(circle at 2% 108%, rgb(19 80 65 / .33), transparent 30%),
    linear-gradient(180deg, #07101b 0%, var(--bg) 55%);
}
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
a { color: inherit; text-decoration: none; }
code, pre { font-family: ui-monospace, SFMono-Regular, Consolas, monospace; }
h1, h2, h3, h4, p { overflow-wrap: anywhere; }
button:disabled { opacity: .55; cursor: not-allowed; }
.hidden { display: none !important; }

.boot-screen, .auth-screen { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.boot-screen { text-align: center; color: var(--muted); }
.brand-mark {
  width: 64px; height: 64px; border-radius: 21px; display: grid; place-items: center;
  font-size: 2rem; font-weight: 950; color: #03120f;
  background: linear-gradient(135deg, var(--accent), #0ea5e9);
  box-shadow: 0 18px 55px rgb(45 212 191 / .24);
}
.auth-card {
  width: min(490px, 100%); padding: 30px; border: 1px solid var(--line); border-radius: 28px;
  background: rgb(12 20 33 / .94); box-shadow: var(--shadow); backdrop-filter: blur(18px);
}
.auth-card h1 { margin: 18px 0 7px; }
.auth-card p { color: var(--muted); line-height: 1.7; }

.app-shell { min-height: 100vh; display: grid; grid-template-columns: 278px 1fr; }
.sidebar {
  position: sticky; top: 0; height: 100vh; overflow-y: auto; padding: 18px 14px;
  border-left: 1px solid var(--line-soft); background: rgb(7 13 23 / .91); backdrop-filter: blur(22px); z-index: 30;
}
.sidebar-brand { display: flex; gap: 12px; align-items: center; padding: 7px 7px 20px; }
.sidebar-brand .brand-mark { width: 46px; height: 46px; border-radius: 15px; font-size: 1.4rem; flex: 0 0 auto; }
.sidebar-brand strong, .sidebar-brand small { display: block; }
.sidebar-brand small { color: var(--muted); margin-top: 2px; }
.nav { display: grid; gap: 4px; }
.nav .group { padding: 18px 13px 6px; font-size: .72rem; color: #64748b; letter-spacing: .08em; }
.nav button {
  display: flex; align-items: center; gap: 11px; width: 100%; padding: 11px 13px; border: 0; border-radius: 12px;
  text-align: right; color: #afbdd2; background: transparent;
}
.nav button b { font-weight: 650; }
.nav button:hover, .nav button.active { color: #fff; background: linear-gradient(135deg, #17243a, #13253a); }
.nav button.active { box-shadow: inset -3px 0 var(--accent); }
.nav button span { width: 22px; text-align: center; color: var(--accent); }
.sidebar-footer { margin-top: 25px; padding-top: 15px; border-top: 1px solid var(--line-soft); }
.user-mini { display: flex; gap: 10px; align-items: center; padding: 4px 6px 13px; }
.user-mini strong, .user-mini small { display: block; }
.user-mini small { color: var(--muted); }
.avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: #14574e; font-weight: 800; }
.main { min-width: 0; }
.topbar {
  position: sticky; top: 0; z-index: 20; min-height: 76px; display: flex; align-items: center; justify-content: space-between;
  gap: 15px; padding: 10px 26px; border-bottom: 1px solid var(--line-soft); background: rgb(6 11 19 / .8); backdrop-filter: blur(20px);
}
.topbar h1 { margin: 0; font-size: 1.25rem; }
.topbar small { color: var(--muted); }
.top-actions { display: flex; gap: 8px; }
.content { width: min(1540px, 100%); margin: 0 auto; padding: 25px; }
.mobile-toggle { display: none !important; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 9px 15px;
  border: 1px solid var(--line); border-radius: 12px; color: var(--text); background: #162239; transition: .18s ease;
}
.btn:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn.primary { border-color: transparent; color: #03120f; font-weight: 850; background: linear-gradient(135deg, var(--accent), #22c55e); }
.btn.danger { border-color: #843044; color: #ffe4e6; background: #3c1520; }
.btn.warn { border-color: #78611d; color: #fef3c7; background: #382c0d; }
.btn.ghost { background: transparent; }
.btn.small { min-height: 34px; padding: 6px 10px; font-size: .86rem; }
.btn.tiny { min-height: 29px; padding: 4px 8px; font-size: .78rem; }
.btn.icon { width: 41px; padding: 0; }
.btn.block { width: 100%; }
.close { width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; color: var(--text); background: var(--panel-3); }

.card {
  padding: 19px; border: 1px solid var(--line); border-radius: var(--radius);
  background: linear-gradient(145deg, rgb(15 25 41 / .98), rgb(10 18 30 / .98)); box-shadow: 0 12px 40px rgb(0 0 0 / .22);
}
.card.subtle { background: #0a1320; box-shadow: none; }
.card h2, .card h3 { margin-top: 0; }
.card-head, .page-heading, .modal-head, .split, .meta-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.split.compact { justify-content: flex-start; }
.page-heading { margin: 0 0 19px; align-items: flex-end; flex-wrap: wrap; }
.page-heading h2 { margin: 0 0 5px; font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
.page-heading p, .modal-head p { margin: 0; color: var(--muted); line-height: 1.65; }
.toolbar-actions, .row-actions, .project-actions, .button-grid, .modal-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.modal-actions { justify-content: flex-end; margin-top: 20px; }
.grid { display: grid; gap: 17px; margin-bottom: 17px; }
.grid.two { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin: 0 0 17px; }
.stats-grid.small .stat-card { min-height: 116px; }
.stat-card {
  position: relative; min-height: 138px; overflow: hidden; padding: 19px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(145deg, #101c2d, #0b1523);
}
.stat-card::after { content: ""; position: absolute; width: 110px; height: 110px; left: -35px; top: -40px; border-radius: 50%; background: var(--accent); opacity: .07; }
.stat-card span, .stat-card small { display: block; color: var(--muted); }
.stat-card strong { display: block; margin: 8px 0 4px; font-size: 2rem; }

.field { display: grid; gap: 7px; margin: 13px 0; }
.field > span { font-size: .9rem; color: #bfcbdd; }
.field small { color: var(--muted); line-height: 1.5; }
.field input, .field select, .field textarea, .input, .search input {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 12px; outline: none;
  color: var(--text); background: #07101b;
}
.field textarea { min-height: 105px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus, .input:focus, .search input:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgb(45 212 191 / .12); }
.check { display: flex; align-items: center; gap: 9px; margin: 10px 0; color: #c2cee0; }
.check input { width: 18px; height: 18px; accent-color: var(--accent); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 15px; }
.form-grid .full { grid-column: 1 / -1; }
.compact-select { width: auto; min-width: 190px; }
.search { position: relative; min-width: min(440px, 100%); }
.search span { position: absolute; right: 13px; top: 10px; color: var(--muted); }
.search input { padding-right: 36px; }

.status {
  display: inline-flex; align-items: center; gap: 7px; width: max-content; padding: 5px 9px; border-radius: 999px;
  font-size: .78rem; color: #cbd5e1; background: #172238; white-space: nowrap;
}
.status i { width: 7px; height: 7px; border-radius: 50%; background: #94a3b8; }
.status.running, .status.active, .status.completed, .status.published, .status.up, .status.healthy { color: #a7f3d0; background: #0e302b; }
.status.running i, .status.active i, .status.completed i, .status.published i, .status.up i, .status.healthy i { background: var(--ok); }
.status.failed, .status.down, .status.trashed { color: #fecdd3; background: #36131f; }
.status.failed i, .status.down i, .status.trashed i { background: var(--danger); }
.status.queued, .status.pending, .status.scheduled, .status.review, .status.building, .status.deploying, .status.uploading { color: #fde68a; background: #35270a; }
.status.queued i, .status.pending i, .status.scheduled i, .status.review i, .status.building i, .status.deploying i, .status.uploading i { background: var(--warn); }
.pill { display: inline-flex; align-items: center; max-width: 100%; padding: 4px 8px; border-radius: 999px; font-size: .76rem; color: #aec0d8; background: #17243a; }
.pill.link { color: #99f6e4; }
.pill.warning { color: #fde68a; }
.score { min-width: 38px; height: 38px; display: inline-grid; place-items: center; border-radius: 12px; font-weight: 850; background: #2f260c; color: #fde68a; }
.score.good { background: #10342c; color: #a7f3d0; }
.score.large { min-width: 60px; height: 60px; font-size: 1.3rem; border-radius: 18px; }

.meter { margin: 17px 0; }
.meter > div:first-child { display: flex; justify-content: space-between; margin-bottom: 7px; color: #bac7d9; }
.progress { position: relative; height: 9px; overflow: hidden; border-radius: 999px; background: #19253a; }
.progress span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--accent), var(--blue)); }
.meta-row { color: var(--muted); font-size: .87rem; }
.steps { display: grid; gap: 15px; margin: 0; padding-right: 24px; }
.steps li { padding-right: 5px; }
.steps b, .steps span { display: block; }
.steps span { margin-top: 4px; color: var(--muted); }

.simple-list { display: grid; gap: 7px; }
.simple-list > button, .list-row {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px 12px;
  border: 1px solid transparent; border-radius: 12px; color: var(--text); text-align: right; background: #0a1321;
}
.simple-list > button:hover { border-color: var(--line); background: #101c2d; }
.simple-list strong, .simple-list small, .list-row strong, .list-row small { display: block; }
.simple-list small, .list-row small { margin-top: 3px; color: var(--muted); }

.project-controls { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 16px; flex-wrap: wrap; }
.project-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(295px, 1fr)); gap: 14px; }
.project-card { position: relative; padding: 17px; border: 1px solid var(--line); border-radius: 18px; background: linear-gradient(145deg, #0f1929, #0a1320); transition: .18s; }
.project-card:hover { transform: translateY(-2px); border-color: #3a526f; }
.project-card.trashed { border-color: #713246; }
.project-select { position: absolute; left: 13px; top: 13px; }
.project-select input { width: 18px; height: 18px; accent-color: var(--accent); }
.project-head { display: grid; grid-template-columns: 46px 1fr auto; gap: 11px; align-items: center; padding-left: 20px; }
.project-head h3, .project-head p { margin: 0; }
.project-head p { margin-top: 3px; color: var(--muted); font-size: .85rem; }
.project-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; color: #99f6e4; font-size: 1.3rem; font-weight: 900; background: #113d39; }
.project-meta { display: flex; gap: 7px; flex-wrap: wrap; margin: 15px 0; }
.project-actions { border-top: 1px solid var(--line-soft); padding-top: 13px; }
.mini-error, .mini-issue { padding: 9px 10px; margin: 8px 0; border-radius: 10px; font-size: .84rem; color: #fecdd3; background: #35131e; }

.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.table { width: 100%; min-width: 760px; border-collapse: collapse; background: #0a1320; }
.table th, .table td { padding: 12px 13px; text-align: right; vertical-align: middle; border-bottom: 1px solid var(--line-soft); }
.table th { color: #99aac2; font-size: .8rem; background: #101a2a; }
.table tr:last-child td { border-bottom: 0; }
.table strong, .table small { display: block; }
.table small { color: var(--muted); margin-top: 3px; }

.modal-backdrop { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; background: rgb(0 0 0 / .72); backdrop-filter: blur(5px); }
.modal { width: min(720px, 100%); max-height: 92vh; overflow-y: auto; padding: 22px; border: 1px solid var(--line); border-radius: 23px; background: #0b1422; box-shadow: var(--shadow); }
.modal.wide { width: min(1100px, 100%); }
.modal-head { align-items: flex-start; margin-bottom: 14px; }
.modal-head h2 { margin: 0 0 5px; }
.tabs { display: flex; gap: 5px; overflow-x: auto; margin: 8px 0 17px; border-bottom: 1px solid var(--line); }
.tabs button { flex: 0 0 auto; padding: 10px; border: 0; border-bottom: 2px solid transparent; color: var(--muted); background: transparent; }
.tabs button.active { color: #fff; border-color: var(--accent); }
.detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin: 14px 0; }
.detail-grid > div { padding: 12px; border: 1px solid var(--line-soft); border-radius: 12px; background: #08111d; }
.detail-grid span, .detail-grid strong { display: block; }
.detail-grid span { color: var(--muted); font-size: .82rem; margin-bottom: 5px; }
.inline-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: var(--muted); }
.timeline { display: grid; gap: 0; }
.timeline > div { position: relative; padding: 4px 27px 18px 0; border-right: 1px solid var(--line); }
.timeline i { position: absolute; right: -5px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--accent); }
.timeline strong, .timeline small { display: block; }
.timeline small { color: var(--muted); margin-top: 4px; }
.file-browser { display: grid; gap: 5px; }
.file-path { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.file-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 10px 12px; border: 1px solid var(--line-soft); border-radius: 10px; color: var(--text); text-align: right; background: #08111d; }
button.file-row:hover { border-color: var(--accent); }
.file-row small { color: var(--muted); }

.assistant-layout { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 16px; height: calc(100vh - 126px); min-height: 610px; }
.assistant-main { display: grid; grid-template-rows: auto minmax(0, 1fr) auto auto; min-height: 0; padding: 0; overflow: hidden; }
.assistant-header { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; padding: 20px 22px 15px; border-bottom: 1px solid var(--line-soft); }
.assistant-header h2 { margin: 4px 0 5px; }
.assistant-header p { margin: 0; color: var(--muted); line-height: 1.6; }
.eyebrow { color: var(--accent); font-size: .7rem; letter-spacing: .14em; font-weight: 800; }
.messages { min-height: 0; overflow-y: auto; display: grid; align-content: start; gap: 13px; padding: 18px 20px; }
.message { max-width: min(820px, 88%); padding: 13px 15px; border: 1px solid var(--line); border-radius: 17px; background: #121e31; }
.message.user { justify-self: start; border-color: #17776c; color: #fff; background: #0e625a; border-bottom-right-radius: 5px; }
.message.ai { justify-self: end; border-bottom-left-radius: 5px; }
.message-role { margin-bottom: 5px; font-size: .72rem; color: #8fa6c2; }
.message-content { line-height: 1.75; }
.message-files, .attachment-strip { display: flex; gap: 7px; flex-wrap: wrap; }
.message-files { margin-top: 9px; }
.message-files span, .attachment-chip { display: inline-flex; align-items: center; gap: 7px; padding: 6px 9px; border-radius: 10px; font-size: .8rem; background: rgb(3 15 25 / .45); }
.message-files small, .attachment-chip small { color: var(--muted); }
.attachment-strip { padding: 0 20px 10px; }
.attachment-chip button { width: 22px; height: 22px; border: 0; border-radius: 50%; color: #fff; background: #712033; }
.assistant-composer { padding: 0 18px 18px; }
.drop-zone { padding: 11px; border: 1px solid var(--line); border-radius: 16px; background: #08111d; transition: .18s; }
.drop-zone.dragging { border-color: var(--accent); box-shadow: 0 0 0 4px rgb(45 212 191 / .1); }
.drop-zone textarea { width: 100%; min-height: 78px; max-height: 170px; resize: vertical; padding: 5px; border: 0; outline: none; color: var(--text); line-height: 1.7; background: transparent; }
.composer-tools { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.upload-progress { position: relative; height: 20px; margin-top: 10px; overflow: hidden; border-radius: 999px; color: #fff; background: #18253a; }
.upload-progress span { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--blue)); }
.upload-progress b { position: absolute; inset: 1px 0 auto; text-align: center; font-size: .72rem; text-shadow: 0 1px 2px #000; }
.assistant-side { display: grid; align-content: start; gap: 13px; overflow-y: auto; }
.compact-card { padding: 15px; }
.compact-card h3 { font-size: 1rem; }
.prompt-chip { width: 100%; margin: 4px 0; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 10px; color: #cbd8e8; text-align: right; background: #091321; }
.prompt-chip:hover { border-color: var(--accent); }
.check-list { display: grid; gap: 9px; margin: 0; padding-right: 20px; color: #becbdd; }
.check-list li::marker { color: var(--ok); }
.action-list, .result-list { display: grid; gap: 8px; margin-top: 10px; }
.action-card { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 11px; border: 1px dashed #45607f; border-radius: 12px; background: #091522; }
.action-card.critical { border-color: #a33a51; }
.action-card strong, .action-card small { display: block; }
.action-card small { color: var(--muted); margin-top: 3px; }
.risk-label { display: inline-flex; margin-top: 7px; padding: 3px 7px; border-radius: 999px; font-size: .7rem; color: #fde68a; background: #372b0b; }
.result { padding: 8px 10px; border-radius: 9px; font-size: .84rem; }
.result.ok { color: #a7f3d0; background: #0d3028; }
.result.bad { color: #fecdd3; background: #36131f; }

.integration-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 14px; }
.integration-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: start; padding: 16px; border: 1px solid var(--line); border-radius: 17px; background: #0c1625; }
.integration-card h3, .integration-card p { margin: 0; }
.integration-card p { margin-top: 5px; color: var(--muted); font-size: .84rem; line-height: 1.5; }
.integration-card .project-actions { grid-column: 1 / -1; }
.integration-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #99f6e4; background: #123e3a; }

.notice { padding: 12px 13px; margin: 12px 0; border-right: 4px solid var(--blue); border-radius: 11px; color: #c8e7f6; background: #0b2533; line-height: 1.65; }
.notice.error, .danger-note { border-color: var(--danger); color: #fecdd3; background: #31131d; }
.notice.success { border-color: var(--ok); color: #a7f3d0; background: #0d2d26; }
.success-panel { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 14px 0; padding: 13px; border: 1px solid #1b6b5b; border-radius: 13px; background: #0d2e28; }
.secret-box { direction: ltr; padding: 13px; overflow-wrap: anywhere; border: 1px dashed var(--accent); border-radius: 12px; color: #99f6e4; background: #07151a; }
.log { max-height: 470px; overflow: auto; padding: 13px; border: 1px solid var(--line); border-radius: 12px; color: #c7d5e8; text-align: left; direction: ltr; white-space: pre-wrap; background: #040811; }
.empty-state { grid-column: 1 / -1; display: grid; justify-items: center; gap: 8px; padding: 54px 20px; color: var(--muted); text-align: center; }
.empty-state h3, .empty-state p { margin: 0; }
.empty-icon { width: 56px; height: 56px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 18px; color: var(--accent); font-size: 1.5rem; background: #0c1727; }
.loading { display: flex; justify-content: center; align-items: center; gap: 10px; min-height: 220px; color: var(--muted); }
.loading span { width: 22px; height: 22px; border: 3px solid #25415a; border-top-color: var(--accent); border-radius: 50%; animation: spin .8s linear infinite; }
.toast { position: fixed; left: 20px; bottom: 20px; z-index: 200; max-width: min(480px, calc(100vw - 40px)); padding: 13px 16px; border: 1px solid #166b5b; border-radius: 13px; color: #eafff9; background: #0d2c26; box-shadow: var(--shadow); }
.toast.error { border-color: #853049; color: #ffe4e6; background: #35131d; }

@keyframes spin { to { transform: rotate(360deg); } }
@media (max-width: 1180px) {
  .assistant-layout { grid-template-columns: 1fr; height: auto; min-height: 0; }
  .assistant-main { min-height: 680px; }
  .assistant-side { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 970px) {
  .app-shell { grid-template-columns: 1fr; }
  .sidebar { position: fixed; right: 0; width: min(290px, 86vw); transform: translateX(105%); transition: .22s; box-shadow: var(--shadow); }
  .sidebar.open { transform: none; }
  .mobile-toggle { display: inline-flex !important; }
  .topbar { padding: 10px 15px; }
  .content { padding: 16px; }
  .grid.two { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .top-actions .btn:not(.primary) { display: none; }
  .stats-grid, .assistant-side, .form-grid, .detail-grid { grid-template-columns: 1fr; }
  .page-heading { align-items: stretch; }
  .toolbar-actions { width: 100%; }
  .toolbar-actions .btn, .toolbar-actions .input { flex: 1 1 auto; }
  .project-controls { align-items: stretch; }
  .search { min-width: 100%; }
  .assistant-header { display: block; }
  .assistant-header > button { margin-top: 10px; }
  .assistant-main { min-height: calc(100vh - 115px); }
  .message { max-width: 95%; }
  .action-card, .success-panel { align-items: stretch; flex-direction: column; }
  .composer-tools { align-items: stretch; flex-direction: column; }
  .composer-tools > div, .composer-tools > button { width: 100%; }
  .composer-tools > div { display: flex; gap: 7px; }
  .composer-tools > div .btn { flex: 1; }
  .modal-backdrop { padding: 8px; }
  .modal { padding: 17px; border-radius: 17px; }
  .table { min-width: 680px; }
}

/* Assistant-first quick panels (also used by the offline preview). */
.quick-prompts { display: grid; gap: 7px; }
.quick-prompts button { width: 100%; padding: 9px 10px; border: 1px solid var(--line-soft); border-radius: 11px; color: #cbd8e9; text-align: right; background: #0c1726; }
.quick-prompts button:hover { border-color: var(--accent); }
.mini-list { display: grid; gap: 8px; margin: 0; padding: 0 20px 0 0; color: var(--muted); line-height: 1.55; }

.auth-session-note{margin:14px 0 0;color:var(--muted);font-size:.84rem;line-height:1.8;text-align:center}

/* Mihna Manager 2.3 — Simple Deploy + Smart Maintenance */
.version-footer{display:block;margin-top:8px;color:var(--muted);font-size:.72rem;text-align:center}
.quick-action-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:18px}
.quick-action{display:grid;grid-template-columns:50px 1fr;gap:3px 12px;align-items:center;padding:18px;border:1px solid var(--line);border-radius:18px;color:#e7eef8;text-align:right;background:#0b1626;box-shadow:0 10px 30px rgba(0,0,0,.12)}
.quick-action:hover{border-color:var(--accent);transform:translateY(-1px)}
.quick-action.primary{border-color:#1a806d;background:linear-gradient(145deg,#0b2c29,#0b1c2c)}
.quick-action>span{grid-row:1/3;width:50px;height:50px;display:grid;place-items:center;border-radius:15px;color:#99f6e4;font-size:1.6rem;background:#123b39}
.quick-action strong{font-size:1rem}.quick-action small{color:var(--muted);line-height:1.5}
.wizard-steps{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:0 0 15px}
.wizard-steps span{padding:10px 12px;border:1px solid var(--line);border-radius:12px;color:var(--muted);text-align:center;background:#0b1523}
.wizard-steps span.active{border-color:#1b7d6d;color:#a7f3d0;background:#0e2c28}
.wizard-card,.wizard-result{max-width:1180px;margin-inline:auto}
.wizard-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}
.env-panel{margin-top:18px;padding-top:15px;border-top:1px solid var(--line-soft)}
.env-table input{min-width:220px;padding:9px 10px;border:1px solid var(--line);border-radius:9px;color:#e9f1fb;background:#07111d}
.env-table td code{display:block}.env-table td small{display:block;margin-top:4px;color:var(--muted)}
.env-missing{background:rgba(127,29,29,.12)}
.advanced-box{margin-top:14px;padding:12px;border:1px dashed var(--line);border-radius:12px;background:#081321}
.advanced-box summary{cursor:pointer;color:#cbd8e8;font-weight:750}
.advanced-box textarea{width:100%;margin-top:10px}
.credentials-list{display:grid;gap:10px}.credential-item{display:grid;grid-template-columns:180px 1fr auto;gap:10px;align-items:center;padding:11px;border:1px solid var(--line);border-radius:12px;background:#081321}.credential-item code{direction:ltr;overflow-wrap:anywhere;color:#99f6e4}
@media(max-width:1100px){.quick-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.quick-action-grid,.wizard-steps{grid-template-columns:1fr}.credential-item{grid-template-columns:1fr}.wizard-actions{align-items:stretch;flex-direction:column}.env-table input{min-width:170px}}
