:root {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f8fafc;
  background: #050c16;
  font-synthesis: none;
  --surface: rgba(11, 24, 41, .86);
  --surface-strong: #0b192a;
  --border: rgba(148, 163, 184, .17);
  --accent: #26c6f3;
  --accent-soft: rgba(38, 198, 243, .13);
}
* { box-sizing: border-box; }
html { min-height: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 7% -8%, rgba(14,165,233,.2), transparent 34rem), radial-gradient(circle at 94% 5%, rgba(245,158,11,.09), transparent 28rem), linear-gradient(180deg,#07111e 0,#050c16 42%,#050b14 100%);
}
button, input, select { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
.hidden { display: none !important; }
.bootstrap-view { min-height: 100vh; display: grid; place-content: center; justify-items: center; gap: 18px; padding: 24px; background: radial-gradient(circle at 50% 45%,rgba(38,198,243,.09),transparent 21rem); text-align: center; }
.bootstrap-copy { display: grid; gap: 5px; }
.bootstrap-copy strong { font-size: 1.15rem; }
.bootstrap-copy span { color: #91a4ba; font-size: .84rem; }
.brand-symbol { display: grid; width: 68px; height: 68px; place-items: center; border: 1px solid rgba(56,189,248,.3); border-radius: 20px; background: linear-gradient(145deg,rgba(255,255,255,.09),rgba(14,165,233,.07)); box-shadow: 0 16px 48px rgba(14,165,233,.18), inset 0 1px 0 rgba(255,255,255,.08); }
.brand-symbol img { width: 74%; height: 74%; object-fit: contain; filter: drop-shadow(0 7px 12px rgba(0,0,0,.25)); }
.brand-symbol-small { width: 42px; height: 42px; border-radius: 13px; }
.brand-symbol-loading { width: 78px; height: 78px; border-radius: 23px; }
.progress-line, .module-loading-bar { position: relative; overflow: hidden; width: 190px; height: 3px; border-radius: 999px; background: rgba(148,163,184,.14); }
.progress-line span, .module-loading-bar span { position: absolute; inset: 0 auto 0 0; width: 42%; border-radius: inherit; background: #38bdf8; animation: progress 1.05s ease-in-out infinite; }
.app-shell { min-height: 100vh; }
.app-header { position: sticky; top: 0; z-index: 1000; display: grid; grid-template-columns: minmax(210px,1fr) auto minmax(210px,1fr); align-items: center; gap: 24px; min-height: 78px; padding: 12px clamp(18px,4vw,58px); border-bottom: 1px solid rgba(148,163,184,.14); background: rgba(5,12,22,.9); box-shadow: 0 14px 44px rgba(0,0,0,.22); backdrop-filter: blur(20px); }
.brand { display: inline-flex; align-items: center; gap: 12px; width: fit-content; color: #f8fafc; text-decoration: none; }
.brand > span:last-child { display: grid; gap: 1px; }
.brand strong { font-size: 1rem; letter-spacing: -.015em; }
.brand small { color: #91a4ba; font-size: .68rem; letter-spacing: .025em; }
.workspace-nav { display: flex; align-items: center; gap: 4px; border: 1px solid rgba(148,163,184,.14); border-radius: 15px; padding: 5px; background: rgba(11,23,39,.8); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.workspace-nav button { border: 0; border-radius: 10px; padding: 9px 14px; color: #91a4ba; background: transparent; font-size: .8rem; font-weight: 800; transition: color .18s ease, background .18s ease; }
.workspace-nav button:hover { color: #e0f2fe; }
.workspace-nav button[aria-current="page"] { color: #e0f2fe; background: linear-gradient(145deg,rgba(56,189,248,.18),rgba(14,165,233,.1)); box-shadow: inset 0 0 0 1px rgba(56,189,248,.2),0 7px 18px rgba(0,0,0,.16); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.environment-badge { border: 1px solid rgba(245,158,11,.6); border-radius: 999px; padding: 6px 10px; color: #fed7aa; background: rgba(154,52,18,.48); font-size: .66rem; font-weight: 900; letter-spacing: .08em; }
.workspace { width: 100%; }
.workspace-view { width: min(1220px,calc(100% - 36px)); margin: 0 auto; padding: 52px 0 78px; }
.login-layout { width: min(1160px,calc(100% - 36px)); min-height: calc(100vh - 78px); margin: 0 auto; display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: clamp(42px,8vw,110px); padding: 54px 0 76px; }
.login-brand-line { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; color: #7dd3fc; font-size: .68rem; font-weight: 900; letter-spacing: .18em; }
.login-brand-line img { width: 30px; height: 38px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(14,165,233,.2)); }
.login-intro h1 { margin: 14px 0 16px; font-size: clamp(2.7rem,7vw,5.3rem); line-height: .96; letter-spacing: -.065em; }
.login-intro p { max-width: 520px; color: #91a4ba; font-size: 1.05rem; line-height: 1.7; }
.panel, .product-card { border: 1px solid var(--border); border-radius: 22px; background: linear-gradient(155deg,rgba(15,31,51,.91),rgba(9,21,36,.84)); box-shadow: 0 24px 70px rgba(0,0,0,.23),inset 0 1px 0 rgba(255,255,255,.025); backdrop-filter: blur(16px); }
.login-card { display: grid; gap: 26px; padding: clamp(26px,5vw,46px); }
.login-card h2 { margin-bottom: 7px; font-size: 1.65rem; }
.badge, .status { display: inline-flex; align-items: center; border-radius: 999px; padding: 6px 10px; font-size: .75rem; font-weight: 800; }
.badge { margin-bottom: 15px; color: #7dd3fc; background: rgba(14,165,233,.12); }
.status.online { color: #6ee7b7; background: rgba(16,185,129,.12); }
.status.offline { color: #fca5a5; background: rgba(239,68,68,.12); }
form { display: grid; gap: 16px; }
label { display: grid; gap: 7px; color: #cbd5e1; font-size: .84rem; }
input, select { width: 100%; border: 1px solid #29405a; border-radius: 11px; padding: 13px; color: white; background: rgba(6,18,31,.86); outline: none; transition: border-color .18s ease,box-shadow .18s ease,background .18s ease; }
input:focus, select:focus { border-color: #38bdf8; box-shadow: 0 0 0 3px rgba(56,189,248,.12); }
.password-field { position: relative; display: block; }
.password-field input { padding-right: 84px; }
.password-toggle { position: absolute; top: 50%; right: 7px; transform: translateY(-50%); border: 0; border-radius: 8px; padding: 7px 9px; color: #7dd3fc; background: transparent; font-size: .72rem; font-weight: 800; }
.password-toggle:hover, .password-toggle:focus-visible { color: #e0f2fe; background: rgba(56,189,248,.1); outline: none; }
label small { color: #71859c; font-size: .7rem; line-height: 1.45; }
button, .button-link { border: 0; border-radius: 11px; padding: 12px 16px; color: #04121e; background: linear-gradient(135deg,#48d2f7,#25b8eb); box-shadow: 0 9px 22px rgba(14,165,233,.16); font-weight: 850; text-decoration: none; text-align: center; transition: transform .18s ease,box-shadow .18s ease,filter .18s ease,border-color .18s ease; }
button:not(:disabled):hover, .button-link:hover { transform: translateY(-1px); box-shadow: 0 13px 28px rgba(14,165,233,.23); filter: brightness(1.04); }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid rgba(56,189,248,.28); outline-offset: 3px; }
button:disabled { cursor: not-allowed; opacity: .55; }
.login-submit { display: inline-flex; min-height: 46px; align-items: center; justify-content: center; gap: 10px; }
.button-spinner { width: 17px; height: 17px; border: 2px solid rgba(5,17,29,.28); border-top-color: #05111d; border-radius: 50%; animation: spin .72s linear infinite; }
.login-card form.is-loading input { opacity: .72; }
.secondary { border: 1px solid #29405a; color: #dbeafe; background: rgba(15,30,48,.78); box-shadow: none; }
.secondary:not(:disabled):hover { border-color: rgba(56,189,248,.5); background: rgba(19,40,64,.92); }
.compact { padding: 9px 13px; }
.error { min-height: 20px; margin: 0; color: #fca5a5; font-size: .86rem; }
.muted, .subtitle { color: #91a4ba; }
.eyebrow { color: #38bdf8; font-size: .7rem; font-weight: 900; letter-spacing: .18em; }
.dashboard-hero { position: relative; isolation: isolate; display: flex; min-height: 190px; align-items: end; justify-content: space-between; gap: 28px; overflow: hidden; border: 1px solid rgba(148,163,184,.13); border-radius: 24px; padding: clamp(26px,4vw,42px); background: linear-gradient(120deg,rgba(11,31,51,.9),rgba(7,18,31,.7) 60%,rgba(14,165,233,.08)); box-shadow: 0 22px 64px rgba(0,0,0,.2); }
.dashboard-hero::after { content: ""; position: absolute; z-index: -1; top: 50%; right: clamp(120px,18vw,250px); width: 170px; height: 210px; transform: translateY(-50%) rotate(8deg); background: url('/public/assets/colossal-logo.png') center/contain no-repeat; opacity: .055; filter: saturate(.9); pointer-events: none; }
.dashboard-hero h1 { margin: 11px 0 8px; font-size: clamp(2.35rem,5vw,4rem); letter-spacing: -.055em; }
.dashboard-hero p { max-width: 620px; margin-bottom: 0; line-height: 1.6; }
.update-time { margin: 18px 4px 0; font-size: .82rem; }
.product-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 22px; margin-top: 26px; }
.product-card { position: relative; overflow: hidden; padding: 26px; transition: transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.product-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: linear-gradient(90deg,transparent,#24c7f3 30%,rgba(36,199,243,.18) 76%,transparent); opacity: .72; }
.product-card[data-product="beauty"]::before { background: linear-gradient(90deg,transparent,#a78bfa 30%,rgba(167,139,250,.16) 76%,transparent); }
.product-card:hover { transform: translateY(-3px); border-color: rgba(56,189,248,.3); box-shadow: 0 30px 78px rgba(0,0,0,.28); }
.card-head, .card-foot { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.card-head h3 { margin-bottom: 0; }
.product-identity { display: flex; min-width: 0; align-items: center; gap: 12px; }
.product-icon { display: grid; width: 42px; height: 42px; flex: 0 0 auto; place-items: center; border: 1px solid rgba(56,189,248,.22); border-radius: 13px; color: #7dd3fc; background: rgba(14,165,233,.11); box-shadow: inset 0 1px 0 rgba(255,255,255,.04); font-size: .78rem; font-weight: 950; }
.product-icon svg { width: 21px; height: 21px; }
.product-card[data-product="beauty"] .product-icon { border-color: rgba(167,139,250,.25); color: #c4b5fd; background: rgba(139,92,246,.11); }
.status::before { content: ""; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 12px currentColor; }
.metrics { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; margin: 24px 0; }
.metric { min-width: 0; border: 1px solid rgba(148,163,184,.08); border-radius: 15px; padding: 16px; background: rgba(5,16,29,.6); }
.metric strong { display: block; font-size: 1.65rem; letter-spacing: -.04em; }
.metric span { color: #91a4ba; font-size: .75rem; }
.card-foot { align-items: end; }
.card-foot p { margin: 0; font-size: .78rem; }
.button-link { display: inline-flex; align-items: center; justify-content: center; gap: 9px; }
.button-arrow { font-size: 1.1rem; line-height: 1; transition: transform .18s ease; }
.button-link:hover .button-arrow { transform: translateX(3px); }
.skeleton { min-height: 240px; animation: pulse 1.2s ease-in-out infinite alternate; }
.portfolio-metrics { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 12px; margin-top: 26px; }
.portfolio-metric { min-width: 0; border: 1px solid rgba(148,163,184,.13); border-radius: 17px; padding: 18px; background: rgba(7,20,35,.72); box-shadow: inset 0 1px 0 rgba(255,255,255,.025); }
.portfolio-metric strong { display: block; font-size: 1.7rem; letter-spacing: -.045em; }
.portfolio-metric span { color: #91a4ba; font-size: .73rem; }
.portfolio-metric.is-warning strong { color: #fbbf24; }
.portfolio-metric.is-danger strong { color: #fca5a5; }
.portfolio-metric.is-success strong { color: #6ee7b7; }
.operations-panel { margin-top: 26px; padding: clamp(22px,3vw,30px); }
.operations-panel h2, .insight-card h2 { margin: 7px 0 6px; }
.operations-filters { display: grid; grid-template-columns: minmax(240px,1.4fr) repeat(2,minmax(160px,.55fr)); gap: 12px; margin-top: 22px; }
.operations-table-wrap { overflow-x: auto; margin-top: 22px; }
.operations-table { width: 100%; min-width: 820px; border-collapse: collapse; text-align: left; }
.operations-table th { padding: 0 12px 12px; color: #71859c; font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.operations-table td { padding: 15px 12px; border-top: 1px solid rgba(148,163,184,.1); color: #cbd5e1; font-size: .82rem; vertical-align: middle; }
.operations-company { display: grid; gap: 3px; }
.operations-company strong { color: #f8fafc; font-size: .88rem; }
.operations-company span { color: #71859c; font-size: .72rem; }
.operations-chip { display: inline-flex; width: fit-content; align-items: center; border-radius: 999px; padding: 5px 9px; color: #bae6fd; background: rgba(14,165,233,.11); font-size: .69rem; font-weight: 800; }
.operations-chip.beauty { color: #fde68a; background: rgba(245,158,11,.11); }
.operations-chip.draft { color: #fde68a; background: rgba(245,158,11,.12); }
.operations-chip.blocked { color: #fecaca; background: rgba(239,68,68,.12); }
.operations-chip.active { color: #a7f3d0; background: rgba(16,185,129,.12); }
.operations-issues { display: flex; max-width: 360px; flex-wrap: wrap; gap: 5px; }
.issue-chip { border-radius: 999px; padding: 4px 8px; color: #fcd34d; background: rgba(245,158,11,.1); font-size: .66rem; font-weight: 750; }
.operations-action { padding: 8px 11px; font-size: .72rem; white-space: nowrap; }
.operations-empty { padding: 34px 12px 10px; color: #91a4ba; text-align: center; }
.insights-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 18px; margin-top: 22px; }
.insight-card { padding: 24px; }
.insight-content { display: grid; gap: 10px; margin-top: 18px; }
.insight-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; border-top: 1px solid rgba(148,163,184,.09); padding-top: 10px; color: #91a4ba; font-size: .78rem; }
.insight-row strong { color: #f8fafc; font-size: .86rem; }
.compact-heading { align-items: start; }
.activity-list { display: grid; gap: 9px; margin-top: 16px; }
.activity-item { display: grid; gap: 3px; border-top: 1px solid rgba(148,163,184,.09); padding-top: 10px; }
.activity-item strong { color: #dbeafe; font-size: .78rem; }
.activity-item span { color: #71859c; font-size: .68rem; }
.activity-empty { color: #91a4ba; font-size: .78rem; }
.access-view h1 { margin: 11px 0 8px; font-size: clamp(2.35rem,5vw,4rem); letter-spacing: -.055em; }
.access-layout { display: grid; grid-template-columns: minmax(300px,.78fr) minmax(460px,1.35fr); align-items: start; gap: 22px; margin-top: 30px; }
.access-form, .access-list-panel { padding: clamp(22px,3vw,30px); }
.access-form h2, .access-list-panel h2 { margin-bottom: 8px; }
.access-form fieldset { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin: 0; border: 0; padding: 0; }
.access-form legend { margin-bottom: 9px; color: #cbd5e1; font-size: .84rem; }
.access-check { display: flex; align-items: center; gap: 9px; border: 1px solid #29405a; border-radius: 11px; padding: 11px 12px; background: #091827; }
.access-check input, .access-user-products input { width: auto; margin: 0; accent-color: #38bdf8; }
.form-message { min-height: 20px; margin: 0; color: #7dd3fc; font-size: .8rem; }
.form-message.is-error { color: #fca5a5; }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.access-help { margin-bottom: 20px; font-size: .78rem; }
.access-list { display: grid; gap: 12px; }
.access-empty { border: 1px dashed #29405a; border-radius: 14px; padding: 28px; color: #91a4ba; text-align: center; }
.access-user { display: grid; grid-template-columns: minmax(180px,1.2fr) minmax(190px,1fr) auto; align-items: center; gap: 16px; border: 1px solid rgba(148,163,184,.16); border-radius: 15px; padding: 15px; background: rgba(8,19,33,.74); }
.access-user.is-inactive { opacity: .68; }
.access-user-identity { min-width: 0; }
.access-user-identity strong, .access-user-identity span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.access-user-identity span { margin-top: 4px; color: #91a4ba; font-size: .75rem; }
.access-user-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 9px; }
.access-chip { display: inline-flex; border-radius: 999px; padding: 4px 8px; color: #bae6fd; background: rgba(14,165,233,.12); font-size: .66rem; font-weight: 800; }
.access-chip.owner { color: #fde68a; background: rgba(245,158,11,.12); }
.access-chip.inactive { color: #fca5a5; background: rgba(239,68,68,.12); }
.access-user-products { display: flex; flex-wrap: wrap; gap: 9px; }
.access-user-products label { display: flex; align-items: center; gap: 6px; color: #cbd5e1; font-size: .75rem; }
.access-user-products .access-level-control { width: 100%; align-items: center; justify-content: space-between; }
.access-level-control select { width: auto; min-width: 130px; padding: 7px 9px; font-size: .72rem; }
.access-user-actions { display: flex; align-items: center; gap: 8px; }
.access-user-actions button { white-space: nowrap; padding: 9px 11px; font-size: .72rem; }
.danger { border: 1px solid rgba(239,68,68,.4); color: #fecaca; background: rgba(127,29,29,.24); }
.module-view { padding: 18px clamp(12px,2vw,24px) 24px; }
.module-header { display: flex; align-items: end; justify-content: space-between; gap: 20px; max-width: 1600px; margin: 0 auto 12px; padding: 0 4px; }
.module-header > div { display: flex; align-items: center; gap: 14px; }
.module-header h1 { margin: 0; font-size: 1rem; }
.back-button { border: 1px solid #29405a; padding: 8px 11px; color: #dbeafe; background: #0c192a; font-size: .75rem; }
.back-button::before { content: "\2190"; margin-right: 6px; }
.module-actions { display: flex; align-items: center; justify-content: flex-end; gap: 12px; }
.module-status { color: #91a4ba; font-size: .72rem; }
.module-expand-button { display: inline-grid; width: 34px; height: 34px; flex: 0 0 34px; place-items: center; border: 1px solid #29405a; border-radius: 9px; padding: 0; color: #dbeafe; background: #0c192a; box-shadow: none; }
.module-expand-button svg { display: block; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.module-expand-button:not(:disabled):hover { border-color: rgba(56,189,248,.5); background: #10233a; box-shadow: none; }
.module-stage { position: relative; overflow: hidden; width: min(1600px,100%); height: calc(100vh - 132px); min-height: 620px; margin: 0 auto; border: 1px solid rgba(148,163,184,.16); border-radius: 18px; background: #070c13; box-shadow: 0 22px 64px rgba(0,0,0,.24); }
.module-frame { display: block; width: 100%; height: 100%; border: 0; background: #070c13; }
.module-frame[hidden] { display: none; }
.module-loading { position: absolute; inset: 0; z-index: 4; display: grid; place-content: center; justify-items: center; gap: 10px; color: #dbeafe; background: radial-gradient(circle at 50% 42%,rgba(56,189,248,.08),transparent 18rem),#070c13; text-align: center; }
.module-loading > span { color: #91a4ba; font-size: .78rem; }
.module-loading .brand-symbol { margin-bottom: 5px; animation: loading-breathe 1.35s ease-in-out infinite alternate; }
.module-loading-bar { margin-top: 10px; }
body.module-expanded { overflow: hidden; }
body.module-expanded .app-header { display: none; }
body.module-expanded .module-view { position: fixed; z-index: 2000; inset: 0; display: grid; grid-template-rows: 52px minmax(0,1fr); padding: 0; background: #050c16; }
body.module-expanded .module-header { z-index: 2; width: 100%; max-width: none; height: 52px; margin: 0; padding: 7px 14px; align-items: center; border-bottom: 1px solid rgba(148,163,184,.16); background: rgba(5,12,22,.96); box-shadow: 0 8px 28px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
body.module-expanded .module-stage { width: 100%; height: 100%; min-height: 0; margin: 0; border: 0; border-radius: 0; box-shadow: none; }
@keyframes pulse { from { opacity: .45; } to { opacity: .82; } }
@keyframes progress { 0% { transform: translateX(-110%); } 55% { transform: translateX(110%); } 100% { transform: translateX(260%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loading-breathe { from { transform: scale(.94); box-shadow: 0 8px 28px rgba(56,189,248,.12); } to { transform: scale(1); box-shadow: 0 14px 42px rgba(56,189,248,.28); } }
@media (prefers-reduced-motion: reduce) {
  .progress-line span, .module-loading-bar span, .button-spinner, .module-loading .brand-symbol, .skeleton { animation: none; }
}
@media (max-width: 900px) {
  .app-header { grid-template-columns: auto 1fr auto; gap: 12px; padding-inline: 14px; }
  .workspace-nav { justify-self: center; }
  .workspace-nav button { padding-inline: 10px; }
  .brand small { display: none; }
  .login-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }
  .access-layout { grid-template-columns: 1fr; }
  .product-grid { grid-template-columns: 1fr; }
  .access-user { grid-template-columns: 1fr auto; }
  .access-user-products { grid-column: 1 / -1; grid-row: 2; }
  .portfolio-metrics { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .insights-grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .app-header { grid-template-columns: 1fr auto; }
  .workspace-nav { grid-column: 1 / -1; grid-row: 2; width: 100%; }
  .workspace-nav button { flex: 1; }
  .header-actions .environment-badge { display: none; }
  .workspace-view { padding-top: 38px; }
  .dashboard-hero { align-items: flex-start; flex-direction: column; }
  .product-grid { grid-template-columns: 1fr; }
  .portfolio-metrics { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .operations-filters { grid-template-columns: 1fr; }
  .access-form fieldset { grid-template-columns: 1fr; }
  .access-user { grid-template-columns: 1fr; }
  .access-user-products, .access-user-actions { grid-column: auto; grid-row: auto; }
  .access-user-actions { justify-content: flex-start; }
  .module-view { padding: 10px 8px 14px; }
  .module-header { align-items: flex-start; flex-direction: column; gap: 8px; }
  .module-actions { width: 100%; justify-content: space-between; }
  .module-stage { height: calc(100vh - 176px); min-height: 520px; border-radius: 14px; }
  body.module-expanded .module-header { height: 58px; align-items: center; flex-direction: row; gap: 10px; }
  body.module-expanded .module-header h1, body.module-expanded .module-status { display: none; }
  body.module-expanded .module-actions { width: auto; }
  body.module-expanded .module-view { grid-template-rows: 58px minmax(0,1fr); }
}
