/* Supplied brand art retains alpha; no white box, blending, or distortion. */
.dashboard-shell .title-block {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr);
  grid-template-areas: "brand eyebrow" "brand title" "brand lead";
  column-gap: 12px;
  align-items: center;
}
.ioc-brand-mark { grid-area: brand; width: 60px; height: 60px; object-fit: contain; background: transparent; }
.dashboard-shell .title-block .eyebrow { grid-area: eyebrow; }
.dashboard-shell .title-block h1 { grid-area: title; white-space: normal; }
.dashboard-shell .title-block .summary-lead { grid-area: lead; }
[data-theme="dark"] .ioc-brand-mark { filter: brightness(1.65); }
.web-app-button {
  color: var(--ink); background: transparent; border: 1px solid var(--line-strong);
  min-height: 44px; padding: 8px 12px; font: 600 13px/1.35 var(--font-sans);
  display: inline-flex; align-items: center; gap: 8px; cursor: pointer; text-align: left;
}
.web-app-button img { width: 24px; height: 24px; object-fit: contain; }
[data-theme="dark"] .web-app-button img { filter: brightness(0) invert(1); }
.web-app-button:focus-visible, .web-app-dialog button:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.web-app-dialog {
  box-sizing: border-box;
  max-width: 580px; width: calc(100% - 32px); max-height: calc(100svh - 40px);
  padding: 24px; background: var(--bg); color: var(--ink); border: 2px solid var(--line-strong);
  font: 16px/1.6 var(--font-sans); overflow-y: auto;
}
.web-app-dialog::backdrop { background: rgba(0,0,0,.65); }
.web-app-dialog header { display: flex; justify-content: space-between; align-items: start; gap: 16px; }
.web-app-dialog h2 { font-size: 24px; line-height: 1.25; margin: 16px 0; }
.web-app-dialog h3 { font-size: 18px; margin-bottom: 6px; }
.web-app-dialog p { margin: 6px 0 16px; }
.web-app-dialog button { min-height: 44px; padding: 8px 14px; font: inherit; color: var(--ink); background: var(--card-bg); border: 1px solid var(--line-strong); cursor: pointer; }
.web-app-lockup { width: min(280px, 70%); height: 145px; object-fit: contain; background: transparent; }
[data-theme="dark"] .web-app-lockup { filter: brightness(0) invert(1); }
.web-app-dialog nav { display: flex; gap: 8px; flex-wrap: wrap; }
.web-app-dialog nav button[aria-pressed="true"] { border-color: var(--cyan); font-weight: 700; }
.web-app-dialog [hidden] { display: none; }
@media (min-width: 1041px) {
  .dashboard-shell .web-app-button { font-size: 11px; min-height: 28px; padding: 3px 8px; }
  .dashboard-shell .web-app-button img { width: 20px; height: 20px; }
}
@media (max-width: 720px) {
  .dashboard-shell .title-block { grid-template-columns: 52px minmax(0, 1fr); column-gap: 10px; }
  .ioc-brand-mark { width: 52px; height: 52px; }
  .dashboard-shell .title-block h1 { font-size: 23px; }
  .dashboard-shell .operator-tools .web-app-button { grid-column: 1 / -1; width: 100%; min-width: 0; min-height: 48px; font-size: 15px; }
}
