/* 0.2.24 layout: navigation on the left, content on the right; overview cards side by side.
   Colours and shapes still come from the shared theme variables. */
.app-side,.app-content{display:contents}
@media (min-width:1000px){
  body .catch-app.app{display:grid;grid-template-columns:216px minmax(0,1fr);grid-template-rows:auto 1fr;column-gap:18px;align-content:start;max-width:1560px}
  .catch-app.app>.topbar{grid-column:1/-1;grid-row:1}
  .catch-app .app-side{display:flex;flex-direction:column;gap:12px;grid-column:1;grid-row:2;align-self:start;position:sticky;top:80px;max-height:calc(100dvh - 92px);overflow-y:auto;padding-bottom:6px}
  .catch-app .app-content{display:flex;flex-direction:column;gap:12px;grid-column:2;grid-row:2;min-width:0}
  .catch-app .app-side .instance-strip{flex-direction:column;align-items:stretch;gap:8px;margin:0;padding:12px}
  .catch-app .app-side .instance-strip select{min-width:0;width:100%;flex:none}
  .catch-app .app-side .instance-strip .note{margin:0;width:auto;font-size:11px}
  .catch-app .app-side .workspace-tabs{flex-direction:column;align-items:stretch;gap:2px;margin:0;overflow:visible;flex:none;padding:8px;border-radius:var(--r)}
  .catch-app .app-side .workspace-tabs .tab{justify-content:flex-start;width:100%;flex:none;text-align:left;white-space:nowrap}
  .catch-app .app-content .workshop-main{min-width:0;margin:0;padding:0}
  .catch-app .app-content .banner,.catch-app .app-content .notice{margin:0}
}
@media (min-width:1240px){
  .catch-app #view-overview.view:not([hidden]){display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-auto-rows:max-content;align-items:stretch;gap:14px}
  .catch-app #view-overview>*{grid-column:1/-1;margin:0}
  .catch-app #view-overview>.hero{grid-column:1}
  .catch-app #view-overview>.resource-budget:not([hidden]){grid-column:2}
  .catch-app #view-overview:has(>.resource-budget[hidden])>.hero{grid-column:1/-1}
  .catch-app #view-overview>.resource-budget .budget-amounts{gap:8px}
  .catch-app #view-overview>.resource-budget .budget-amounts dd{font-size:19px}
  .catch-app .daily-loop-view .loop-workspace{min-height:600px}
}
