.shell {
  width: min(1460px, calc(100% - 24px));
  margin: 12px auto 28px;
  border: 1px solid var(--line);
  background: rgba(8,11,16,.9);
  box-shadow: 0 18px 48px rgba(0,0,0,.32);
}
.topbar {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 20px; border-bottom: 1px solid var(--line);
  background: rgba(13,17,23,.96); backdrop-filter: blur(12px);
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px; height: 38px; display: grid; place-items: center;
  border: 1px solid var(--line2); border-radius: 8px;
  color: var(--accent); background: rgba(124,243,198,.06);
  font-family: var(--mono); font-weight: 700;
}
.brand h1 { margin: 0; font-size: 1rem; text-transform: uppercase; }
.brand p { margin: 3px 0 0; color: var(--muted); font-size: .82rem; }
.top-actions, .actions { display: flex; gap: 8px; flex-wrap: wrap; }
.status-strip {
  display: grid; grid-template-columns: 1.4fr repeat(3, .7fr);
  gap: 1px; background: var(--line); border-bottom: 1px solid var(--line);
}
.status-box { padding: 14px 16px; background: rgba(11,15,22,.96); min-width: 0; }
.status-box > span, .hero-metrics span {
  display: block; margin-bottom: 6px; color: var(--muted2);
  font: .68rem var(--mono); text-transform: uppercase; letter-spacing: .12em;
}
.status-box strong { display: flex; align-items: center; gap: 8px; overflow: hidden; text-overflow: ellipsis; }
.hero-band {
  display: grid; grid-template-columns: 1.2fr .8fr; gap: 1px;
  background: var(--line); border-bottom: 1px solid var(--line);
}
.hero-band > div { padding: 28px 20px; background: rgba(10,14,20,.98); }
.eyebrow { color: var(--accent); font: .7rem var(--mono); letter-spacing: .12em; }
.hero-band h2 { max-width: 760px; margin: 12px 0; font-size: 2rem; line-height: 1.12; }
.hero-band p { max-width: 76ch; margin: 0; color: var(--muted); line-height: 1.7; }
.hero-metrics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hero-metrics div { padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); }
.section { padding: 20px; background: rgba(9,13,19,.96); border-bottom: 1px solid var(--line); min-width: 0; }
.section-head { display: flex; justify-content: space-between; align-items: start; gap: 14px; margin-bottom: 16px; }
.section-head h2 { margin: 0; font-size: 1rem; text-transform: uppercase; letter-spacing: .03em; }
.section-head p { margin: 5px 0 0; color: var(--muted); font-size: .85rem; line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.workspace { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(340px,.55fr); gap: 1px; background: var(--line); }
.main-column, .side-column { min-width: 0; }
.knowledge-tools { display: grid; grid-template-columns: 1.2fr .8fr; gap: 12px; }
.sticky-panel { position: sticky; top: 71px; }
.footer-bar {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding: 16px 20px; color: var(--muted2); font: .72rem var(--mono);
}
@media (max-width: 1050px) {
  .status-strip, .hero-band, .workspace { grid-template-columns: 1fr; }
  .sticky-panel { position: static; }
}
@media (max-width: 720px) {
  .shell { width: calc(100% - 12px); margin-top: 6px; }
  .topbar, .section, .hero-band > div { padding-left: 14px; padding-right: 14px; }
  .topbar, .section-head { flex-direction: column; }
  .form-grid, .knowledge-tools, .hero-metrics { grid-template-columns: 1fr; }
}
