/* Sentinel stays in its own surface; no workspace or report nodes are replaced. The banner sticks just below the
   status bar and island (the inset is 0 in a desktop browser); the app's status-bar scrim covers the band above it. */
.sentinel-alert-banner{margin-left:var(--rail-width,224px);position:sticky;top:var(--safe-top);z-index:19;background:var(--panel);border-bottom:1px solid var(--accent-edge);box-shadow:0 7px 20px #142c4010}
.sentinel-alert-banner[hidden]{display:none}
.sentinel-banner-inner{max-width:1480px;margin:0 auto;padding:18px 42px;display:flex;align-items:center;justify-content:space-between;gap:24px;border-left:4px solid var(--accent)}
.sentinel-banner-copy{display:flex;flex-direction:column;min-width:0;gap:3px}.sentinel-banner-copy strong{font-size:18px;font-weight:650;line-height:1.35;overflow-wrap:anywhere}.sentinel-banner-copy>span:not(.eyebrow){font-size:14px;color:var(--muted)}.sentinel-banner-copy small{font-size:11px;color:var(--muted);line-height:1.5}.sentinel-banner-actions{display:flex;gap:16px;align-items:center;flex-shrink:0}.sentinel-details-link{font-size:13px;color:var(--accent);font-weight:600}.sentinel-dismiss{width:42px;height:42px;border:1px solid var(--line-2);border-radius:50%;background:var(--panel);color:var(--muted);font-size:24px;cursor:pointer;flex-shrink:0}.sentinel-dismiss:hover{background:var(--panel-2);color:var(--text)}.sentinel-banner-unavailable{border-left-color:var(--warn)}
.sentinel-link{max-width:1370px}.sentinel-link .w-heading h1{letter-spacing:-.045em}.sentinel-link .w-panel{padding:28px}.sentinel-status{margin-bottom:24px;border-left:3px solid var(--accent)}.sentinel-status-head{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}.sentinel-state{font-size:17px;font-weight:650;color:var(--accent)}.sentinel-state[data-state="stale"],.sentinel-state[data-state="disconnected"],.sentinel-state[data-state="misconfigured"]{color:var(--warn)}.sentinel-state[data-state="disabled"],.sentinel-state[data-state="connecting"]{color:var(--muted)}.sentinel-status p{margin:9px 0;color:var(--muted)}.sentinel-status small{font-size:12px;color:var(--muted)}.sentinel-status-error{font-weight:550;color:var(--warn)!important}.sentinel-connection-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:24px}.sentinel-link h2{font-size:24px;letter-spacing:-.035em;line-height:1.25;margin:12px 0 18px}.sentinel-source-label{font-size:17px;font-weight:550}.sentinel-source p,.sentinel-guide li{color:var(--muted);line-height:1.7}.sentinel-guide ol{padding-left:24px;margin:0 0 22px}.sentinel-guide li{padding:0 0 11px 6px}.sentinel-source-address{margin-top:22px;font-size:13px;color:var(--muted)}.sentinel-source-address p{overflow-wrap:anywhere}.sentinel-received{margin-top:34px}.sentinel-received .w-section-title h2{margin:0;font-size:21px}.sentinel-incident{margin-bottom:18px}.sentinel-incident header{display:flex;align-items:center;justify-content:space-between;gap:20px}.sentinel-incident h3{font-size:23px;letter-spacing:-.035em;line-height:1.25;margin:8px 0 0;overflow-wrap:anywhere}.sentinel-incident header .btn{flex-shrink:0}.sentinel-location{margin:18px 0;color:var(--text)}.sentinel-location span{color:var(--muted);font-size:13px}.sentinel-incident dl{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 28px;margin:22px 0;padding-top:20px;border-top:1px solid var(--line-3)}.sentinel-incident dt{font-size:12px;color:var(--muted);margin-bottom:5px}.sentinel-incident dd{margin:0;font-size:14px;overflow-wrap:anywhere}.sentinel-versions{margin-bottom:0}.sentinel-empty h3{font-size:20px;margin:0 0 10px}.sentinel-empty p{color:var(--muted);max-width:65ch;line-height:1.7}.sentinel-boundary{margin-top:24px;max-width:90ch;line-height:1.7}
@media(max-width:1000px){.sentinel-connection-grid{grid-template-columns:1fr}.sentinel-banner-inner{padding:17px 24px;align-items:flex-start;gap:16px}.sentinel-banner-actions{flex-wrap:wrap;max-width:230px;justify-content:flex-end;gap:10px}.sentinel-banner-copy small{max-width:52ch}}
@media(max-width:760px){.sentinel-alert-banner{top:var(--safe-top)}.sentinel-banner-inner{padding:16px 20px;display:block}.sentinel-banner-actions{margin-top:13px;max-width:none;justify-content:flex-start}.sentinel-dismiss{margin-left:auto}.sentinel-banner-copy strong{font-size:17px}.sentinel-link .w-panel{padding:22px}.sentinel-incident header{align-items:flex-start;flex-wrap:wrap}.sentinel-incident dl{grid-template-columns:1fr}.sentinel-link .w-heading{margin-bottom:24px}.sentinel-link .w-heading h1{font-size:36px}}
@media(prefers-reduced-motion:reduce){.sentinel-alert-banner,.sentinel-link{scroll-behavior:auto}}

@media print{.sentinel-alert-banner{display:none!important}}

/* School alerts over the Knotworks bridge: full width over every route, words first, colour second.
 * Confirmed fills with --danger, an unverified hint with --warn, a retraction or resolution is a
 * panel with a warning edge. Failure to read the inbox is a --danger line, never a calm empty state. */
.signed-out .sentinel-alert-banner{margin-left:0}
.sentinel-line{max-width:1480px;margin:0 auto;padding:12px 42px;display:flex;align-items:center;justify-content:space-between;gap:18px;border-left:4px solid var(--warn);font-size:15px;line-height:1.5}
.sentinel-line p{margin:0;min-width:0;overflow-wrap:anywhere}.sentinel-line strong{font-weight:700}.sentinel-line span{color:var(--muted)}.sentinel-line .btn{flex-shrink:0}
.sentinel-line+.sentinel-line,.sentinel-alerts+.sentinel-line,.sentinel-line+.sentinel-alerts{border-top:1px solid var(--line-2)}
.sentinel-line-warn strong{color:var(--warn)}
.sentinel-line-danger{max-width:none;background:var(--danger);color:var(--on-alert);border-left-color:var(--danger)}.sentinel-line-danger span,.sentinel-line-danger strong{color:var(--on-alert)}.sentinel-line-link{color:var(--on-alert);font-weight:700;text-decoration:underline;flex-shrink:0}
.sentinel-alerts{display:block}
.sentinel-alert-row{padding:16px max(42px,calc((100% - 1480px)/2 + 42px));display:flex;align-items:center;justify-content:space-between;gap:24px;background:var(--danger);color:var(--on-alert)}
.sentinel-alert-row[data-status="unverified"]{background:var(--warn);color:var(--on-warn)}
.sentinel-alert-row[data-status="retracted"],.sentinel-alert-row[data-status="resolved"]{background:var(--panel);color:var(--text);border-left:6px solid var(--warn)}
.sentinel-alert-row+.sentinel-alert-row{border-top:2px solid var(--panel)}
.sentinel-alert-row .sentinel-banner-copy>span:not(.eyebrow),.sentinel-alert-row .sentinel-banner-copy small,.sentinel-alert-row .eyebrow{color:inherit}
.sentinel-alert-row .sentinel-banner-copy strong{font-size:21px}.sentinel-alert-row .sentinel-banner-copy>span:not(.eyebrow){font-size:15px;font-weight:600}.sentinel-alert-row .sentinel-banner-copy small{font-size:13px}
.sentinel-alert-word{display:inline-block;padding:1px 9px;margin-right:8px;border:2px solid currentColor;border-radius:6px;font-size:15px;letter-spacing:.05em;vertical-align:2px}
.sentinel-alert-row .sentinel-severe{display:block;font-size:26px;font-weight:900;letter-spacing:.06em;line-height:1.15;margin:2px 0 4px}
.sentinel-alert-row .sentinel-narrative{display:block;margin-top:4px;font-size:15px;font-weight:700;line-height:1.35;white-space:normal;overflow-wrap:anywhere}
.sentinel-alert-row .btn.primary{background:var(--panel);color:var(--text);border-color:var(--panel)}
.sentinel-alert-row[data-status="retracted"] .btn.primary,.sentinel-alert-row[data-status="resolved"] .btn.primary{background:var(--accent);color:var(--accent-ink);border-color:var(--accent)}
.sentinel-alert-row .sentinel-details-link{color:inherit;text-decoration:underline}
.sentinel-alert-more{padding:8px 42px;background:var(--danger)}.sentinel-alert-more a{color:var(--on-alert);font-weight:700}
.sentinel-state[data-state="other-agency"]{color:var(--warn)}
@media(max-width:1000px){.sentinel-alert-row{padding:16px 24px;align-items:flex-start}.sentinel-line{padding:12px 24px}.sentinel-alert-row .sentinel-banner-actions{flex-wrap:wrap;max-width:230px;justify-content:flex-end;gap:10px}}
@media(max-width:760px){.sentinel-alert-row{display:block;padding:14px 20px}.sentinel-alert-row .sentinel-banner-actions{margin-top:12px;max-width:none;justify-content:flex-start}.sentinel-alert-row .sentinel-banner-copy strong{font-size:18px}.sentinel-line{display:block;padding:12px 20px}.sentinel-line .btn,.sentinel-line-link{margin-top:10px;display:inline-flex}}

/* In the installed app the banner holds one alert in full and every other as a line (sentinel-link.js
 * lineAlertHtml): two full rows were 687 px of an 874 px iPhone and left the incident a 21 px strip
 * (e2e 2026-10-30). A line is its door's 44 px and 6 px above and below, at every width: the severity
 * words, alert word and title in two lines at most beside an Open door, or "Shown below" on the alert's
 * own incident page. Its colors are the row's. Bounded by structure (one full row, two lines, then the
 * "N more" link), never by a cap on the view's height, which the keyboard changes under the finger.
 * Horizontal padding is the row's own, so a line lines up with the full row above it. */
html.bq-native .sentinel-alert-row[data-fold="line"]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:6px;padding-bottom:6px}
html.bq-native .sentinel-alert-row[data-fold="line"] .sentinel-banner-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex:1 1 auto;min-width:0;font-size:15px;line-height:1.3}
html.bq-native .sentinel-alert-row[data-fold="line"] .sentinel-banner-copy strong,
html.bq-native .sentinel-alert-row[data-fold="line"] .sentinel-severe{display:inline;margin:0;font-size:inherit;line-height:inherit}
html.bq-native .sentinel-alert-row[data-fold="line"] .sentinel-severe{margin-right:6px;font-weight:900;letter-spacing:.04em}
html.bq-native .sentinel-alert-row[data-fold="line"] .sentinel-alert-word{padding:0 5px;margin-right:6px;font-size:12px;line-height:1.3;vertical-align:1px}
html.bq-native .sentinel-alert-row[data-fold="line"] .sentinel-banner-actions{flex-wrap:nowrap;flex-shrink:0;max-width:none;margin-top:0;gap:8px}
html.bq-native .sentinel-alert-row[data-fold="line"] .btn{min-height:44px;padding-top:6px;padding-bottom:6px;white-space:nowrap}
html.bq-native .sentinel-alert-here{font-size:13px;font-weight:700;white-space:nowrap}
/* The rest past three are one tap away: the link is a full-size target in the app. */
html.bq-native .sentinel-alert-more{padding-top:2px;padding-bottom:2px}
html.bq-native .sentinel-alert-more a{display:inline-flex;align-items:center;min-height:44px}

/* While typing in the installed app on a view too short for the field and its button, keyboard-reveal.js
 * holds html.bq-native[data-kb-layout="compact"] (contract section 5; never a query on the view's
 * height, which the keyboard changes under the finger). The banner then folds to one row of about 55px:
 * the first alert's severity, alert word and title, two lines at most, and its door. A red line that says
 * alerts cannot be received or checked stays, as one line of its words. The rest (the other alerts, the
 * narrative, status and times, the watch line, the map and conversation links, the warnings) comes back
 * as the keyboard closes. Horizontal padding is left as it is, so the door does not slide sideways. */
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-line:not(.sentinel-line-danger),
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-line-danger p>span,
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-line-danger .sentinel-line-link,
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-alert-more,
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-alert-row~.sentinel-alert-row,
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-banner-copy>span:not(.sentinel-severe),
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-banner-copy>small,
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-details-link{display:none}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-alert-row,
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-banner-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-top:5px;padding-bottom:5px}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-banner-copy{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;flex:1 1 auto;min-width:0;font-size:14px;line-height:1.3}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-banner-copy strong,
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-alert-row .sentinel-severe{display:inline;margin:0;font-size:inherit;line-height:inherit}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-alert-row .sentinel-severe{margin-right:6px;font-weight:900;letter-spacing:.04em}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-alert-word{padding:0 5px;margin-right:6px;font-size:12px;line-height:1.3;vertical-align:1px}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-banner-actions{flex-wrap:nowrap;flex-shrink:0;max-width:none;margin-top:0;gap:8px}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-banner-actions .btn{min-height:44px;padding-top:6px;padding-bottom:6px;white-space:nowrap}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-line-danger{display:block;padding-top:4px;padding-bottom:4px;font-size:13px;line-height:1.35}
html.bq-native[data-kb-layout="compact"] .sentinel-alert-banner .sentinel-line-danger p{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
