:root { --release-bar-height: 32px; }
.app-shell { grid-template-rows: var(--topbar-height) minmax(0, 1fr) var(--release-bar-height); }
.app-release-bar { grid-column: 1 / -1; grid-row: 3; display: flex; align-items: center; gap: 12px; min-width: 0; height: var(--release-bar-height); padding: 0 12px; border-top: 1px solid var(--line); background: var(--surface-soft); color: var(--muted); z-index: 35; font-size: 11px; }
.release-version-button { display: inline-flex; align-items: center; gap: 8px; min-height: 28px; flex: none; padding: 0 4px; border: 0; border-radius: 3px; background: transparent; font-size: 11px; }
.release-version-button:hover { background: var(--surface-strong); }
#release-version { font-family: var(--font-data); font-weight: 600; color: var(--ink); }
#release-state { color: var(--amber); }
#release-scope { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.project-launcher, .drawer { bottom: var(--release-bar-height); }
.toast { bottom: calc(var(--release-bar-height) + 16px); }
.release-dialog { width: min(520px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); padding: 0; border: 1px solid var(--line-strong); border-radius: 8px; background: var(--surface); color: var(--text); box-shadow: var(--shadow); overflow: auto; }
.release-dialog::backdrop { background: rgb(0 0 0 / .35); }
.release-dialog header, .release-dialog footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 20px; }
.release-dialog header { border-bottom: 1px solid var(--line); }
.release-dialog header h2 { font-size: 16px; }
.release-dialog .release-body { padding: 16px 20px; }
.release-dialog dl { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px 12px; margin: 0 0 20px; line-height: 1.6; }
.release-dialog dt { color: var(--muted); }
.release-dialog dd { margin: 0; overflow-wrap: anywhere; }
.release-dialog ul { padding-left: 18px; line-height: 1.7; }
.release-dialog footer { border-top: 1px solid var(--line); flex-wrap: wrap; }
.release-dialog .button { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
#release-copy-status { color: var(--muted); font-size: 12px; flex: 1; min-width: 120px; }
#release-warning { margin-bottom: 16px; padding: 12px; background: var(--amber-soft); color: var(--amber); }
#release-copy-fallback { width: 100%; min-height: 130px; margin-top: 12px; background: var(--surface-soft); color: var(--text); }
@media (max-width: 600px) {
  #release-scope { display: none; }
  .app-release-bar { padding: 0 8px; }
  .release-dialog dl { grid-template-columns: 80px minmax(0, 1fr); }
}
