/* Environments (environments.js and the environment parts of app.js): the list, the header and tabs of the
   selected environment, its Overview, the view for each state, and the frames of the regrouped tabs.
   Cards have a border and no drop shadow. Colours, radii and control sizes come from style.css. */

/* ── Toolbar: a filter that would show nothing recedes ── */
.env-toolbar .environment-status-filters button.is-empty { border-color: transparent; background: transparent; color: var(--muted); }
.env-toolbar .environment-status-filters button.is-empty .filter-dot { background: var(--border-strong); }
.env-toolbar .environment-status-filters button.is-empty:hover { background: transparent; }
#environment-no-results { margin-top: 16px; }
#empty { margin-top: 16px; }

/* ── List ── */
.env-list .env-item-text { gap: 8px; }
.env-list .env-item .badge { max-width: 100%; }
.env-list .env-item.status-attention { border-color: #FECACA; }
.env-list .env-item.status-attention.selected { border-color: var(--selected-border); }

/* ── Header of the selected environment ── */
.env-head { border-bottom: 1px solid var(--border); }
.env-head-top { display: flex; align-items: flex-start; gap: 16px; }
.env-head-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border: 1px solid var(--border); border-radius: 12px; background: var(--subtle); color: #667085; }
.env-head-icon.status-running { background: #ECFDF3; color: #067647; border-color: #ABEFC6; }
.env-head-icon.status-progress { background: #EFF8FF; color: #175CD3; border-color: #B2DDFF; }
.env-head-icon.status-approval { background: #F4F3FF; color: #6941C6; border-color: #D9D6FE; }
.env-head-icon.status-attention { background: #FEF3F2; color: #B42318; border-color: #FECDCA; }
.env-head-titles { display: flex; flex-direction: column; gap: 8px; flex: 1 1 auto; min-width: 0; }
.env-head-name { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -.2px; color: var(--text); overflow-wrap: anywhere; }
.env-head-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.env-head-workspace { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; line-height: 20px; color: var(--secondary); }
.env-head-actions { display: flex; align-items: center; gap: 8px; flex: none; margin-left: auto; }
.env-head-actions > button { min-height: var(--control-h); height: var(--control-h); }
.env-head-actions > .primary, .env-head-actions > .accent { min-width: 112px; }
.env-head-edit { padding: 0 16px; }

/* Tabs: text with an icon; the current one is marked by the brand line under it */
.env-tabs { display: flex; gap: 4px; margin: 16px -12px -1px; overflow-x: auto; scrollbar-width: none; }
.env-tabs::-webkit-scrollbar { display: none; }
.env-tab { display: inline-flex; align-items: center; gap: 8px; flex: none; min-height: 44px; height: 44px; padding: 0 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 8px 8px 0 0; background: transparent; color: var(--secondary); font-size: 14px; font-weight: 500; white-space: nowrap; }
.env-tab svg { flex: none; }
.env-tab:hover { background: var(--subtle); color: var(--text); }
.env-tab[aria-selected="true"] { border-bottom-color: var(--current-bar); color: var(--current-text); font-weight: 600; }
.env-tab[aria-selected="true"]:hover { background: transparent; color: var(--current-text); }
.env-tab:focus-visible { outline-offset: -2px; }
/* The selected environment sits on the page: no frame around it, only the header and the tab rule. */
#environment-detail.env-detail { min-height: 0; border: 0; border-radius: 0; background: transparent; }
.env-head { padding: 0; }
.env-body { padding: 24px 0 0; }
.env-body > .ui-state { margin: 0; }

/* ── State view: what state, since when, what it means, what next ── */
.env-overview { display: flex; flex-direction: column; gap: 16px; }
.env-state { --tone-border: var(--border); --tone-bg: var(--page); --tone-icon-bg: #ECEEF1; --tone-icon: #3F4654; display: flex; flex-direction: column; gap: 16px; min-width: 0; padding: 24px; border: 1px solid var(--tone-border); border-radius: var(--radius-card); background: var(--tone-bg); }
.env-state.tone-good { --tone-border: #ABEFC6; --tone-bg: #F6FEF9; --tone-icon-bg: #DCFCE7; --tone-icon: #166534; }
.env-state.tone-info { --tone-border: #B2DDFF; --tone-bg: #F5FAFF; --tone-icon-bg: #DBEAFE; --tone-icon: #1D4ED8; }
.env-state.tone-warn { --tone-border: var(--warn-border, #FDE68A); --tone-bg: var(--warn-bg, #FFFBEB); --tone-icon-bg: #FEF3C7; --tone-icon: var(--warn-text, #7A5900); }
.env-state.tone-bad { --tone-border: #FECACA; --tone-bg: #FEF2F2; --tone-icon-bg: #FEE2E2; --tone-icon: #991B1B; }
.env-state.tone-approval { --tone-border: #D9D6FE; --tone-bg: #FAF5FF; --tone-icon-bg: #F3E8FF; --tone-icon: #6B21A8; }
.env-state-head { display: flex; align-items: flex-start; gap: 16px; }
.env-state-icon { display: grid; place-items: center; flex: none; width: 44px; height: 44px; border-radius: 12px; background: var(--tone-icon-bg); color: var(--tone-icon); }
.env-state-words { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.env-state-title { margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--text); }
.env-state-since { font-size: 13px; line-height: 20px; color: var(--secondary); font-variant-numeric: tabular-nums; }
.env-state .env-state-text { max-width: 760px; margin: 4px 0 0; font-size: 14px; line-height: 20px; color: var(--text); overflow-wrap: anywhere; }
.env-state-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.env-facts { display: flex; flex-wrap: wrap; gap: 12px 24px; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--tone-border); list-style: none; }
.env-fact { display: flex; align-items: center; gap: 8px; min-width: 0; }
.env-tile { display: grid; place-items: center; flex: none; width: 28px; height: 28px; border-radius: 8px; background: var(--subtle); color: var(--secondary); }
.env-state .env-tile { background: var(--card); border: 1px solid var(--tone-border); }
.env-fact-words { display: flex; flex-direction: column; min-width: 0; font-size: 13px; line-height: 20px; color: var(--text); }
.env-fact-words strong { font-size: 12px; font-weight: 500; color: var(--secondary); }
.env-more { font-size: 13px; line-height: 20px; color: var(--secondary); }
.env-state .env-more p { max-width: 760px; margin: 4px 0 0; font-size: 13px; line-height: 20px; color: var(--secondary); }

/* Setting up and resuming: the steps, one under the other */
.env-steps-list { display: flex; flex-direction: column; margin: 0; padding: 16px 0 0; border-top: 1px solid var(--tone-border); list-style: none; }
.env-progress-step { position: relative; display: flex; align-items: flex-start; gap: 12px; min-height: 36px; padding-bottom: 12px; }
.env-progress-step:last-child { min-height: 24px; padding-bottom: 0; }
.env-progress-step:not(:last-child)::before { content: ""; position: absolute; left: 11px; top: 26px; bottom: 2px; width: 2px; border-radius: 1px; background: var(--border-strong); }
.env-progress-step.done:not(:last-child)::before { background: #15803D; }
.env-progress-dot { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1px solid var(--border-strong); border-radius: 50%; background: var(--card); color: var(--muted); font-size: 12px; font-weight: 600; font-variant-numeric: tabular-nums; }
.env-progress-step.done .env-progress-dot { border-color: #15803D; background: #15803D; color: #fff; }
.env-progress-step.now .env-progress-dot { border-color: #1D4ED8; background: #1D4ED8; color: #fff; outline: 3px solid #BFDBFE; }
.env-progress-step.error .env-progress-dot { border-color: var(--warn-icon, #A16207); background: var(--warn-icon, #A16207); color: #fff; outline: 3px solid #FDE68A; }
.env-progress-words { display: flex; flex-direction: column; gap: 4px; flex: 1 1 auto; min-width: 0; padding-top: 2px; }
.env-progress-label { font-size: 14px; line-height: 20px; color: var(--secondary); }
.env-progress-step.done .env-progress-label { color: var(--text); }
.env-progress-step.now .env-progress-label, .env-progress-step.error .env-progress-label { font-weight: 600; color: var(--text); }
.env-progress-task { font-size: 13px; line-height: 20px; color: var(--secondary); }
.env-progress-waiting { font-size: 13px; line-height: 20px; font-weight: 500; color: var(--warn-text, #7A5900); }
.env-progress-words .services-bar { max-width: 420px; background: #D1D5DB; }
/* The short form on the other tabs */
.env-state-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 8px; background: var(--page); color: var(--secondary); font-size: 14px; line-height: 20px; }
.env-state-note > svg { flex: none; color: var(--muted); }
.env-state-note > span { flex: 1 1 260px; min-width: 0; }
.env-state-note strong { font-weight: 600; color: var(--text); }
.env-state-note .text-button { min-height: 32px; padding: 0; }
.env-state-note + .service-group { margin-top: 24px; }

/* ── Overview cards ── */
.env-card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 16px; }
.env-card { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 16px; border: 1px solid var(--border); border-radius: var(--radius-card); background: var(--card); }
.env-card-title { margin: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--text); }
.env-card > button.secondary { align-self: flex-start; min-height: var(--control-h-compact); height: var(--control-h-compact); padding: 0 12px; font-size: 13px; }
.env-card .skeleton-block { margin: 0; }

/* ── Developer and People: the frames around the content moved into them ── */

@media (max-width: 1100px) {
  .env-head-edit { width: var(--control-h); padding: 0; font-size: 0; gap: 0; }
}
@media (max-width: 900px) {
  /* More tabs than fit: the row scrolls and fades at its end */
  .env-tabs { padding-right: 24px; -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent); }
}
@media (max-width: 600px) {
  .env-head { padding: 0; }
  .env-head-top { flex-wrap: wrap; }
  .env-head-icon { width: 40px; height: 40px; }
  .env-head-titles { flex: 1 1 0; }
  .env-head-actions { flex: 1 1 100%; margin-left: 0; }
  .env-head-actions > .primary, .env-head-actions > .accent { flex: 1 1 auto; }
  .env-body { padding: 16px 0 0; }
  .env-state { padding: 16px; }
  .env-state-icon { width: 40px; height: 40px; }
  .env-state-actions button { flex: 1 1 auto; }
}

/* ── Overview: one "At a glance" card, a row per tab that manages something ── */
.env-glance { gap: 4px; }
.env-glance-list { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.env-glance-row { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 8px 0; }
.env-glance-row + .env-glance-row { border-top: 1px solid var(--border); }
.env-glance { max-width: 880px; }
.env-glance-words { display: grid; grid-template-columns: 160px minmax(0, 1fr); align-items: baseline; gap: 2px 16px; flex: 1 1 auto; min-width: 0; }
.env-glance-label { font-size: 13px; line-height: 20px; color: var(--muted); }
.env-glance-value { min-width: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--text); overflow-wrap: anywhere; }
.env-glance-value .skeleton-block { margin: 0; max-width: 220px; }
.env-glance-row > button.secondary { flex: none; min-height: var(--control-h-compact); height: var(--control-h-compact); padding: 0 12px; font-size: 13px; }
.env-glance-go { flex: none; min-height: 32px; padding: 0; flex-direction: row-reverse; font-size: 13px; }
@media (max-width: 600px) {
  .env-glance-row { flex-wrap: wrap; align-items: flex-start; }
  .env-glance-words { grid-template-columns: 1fr; flex: 1 1 calc(100% - 100px); }
  .env-glance-row > button.secondary { order: 2; margin-left: 44px; }
  .env-glance-go { order: 1; font-size: 0; gap: 0; width: 32px; justify-content: center; }
}

/* Phone: the list and one environment are separate views. "Back to environments" returns to the list. */
.env-back { display: none; }
@media (max-width: 767px) {
  #environments-view.env-picked > .page-header, #environments-view.env-picked .env-header, #environments-view.env-picked #environment-list { display: none; }
  #environments-view:not(.env-picked) #environment-detail { display: none; }
  #environments-view.env-picked .env-back { display: inline-flex; align-items: center; gap: 8px; justify-self: start; min-height: 44px; padding: 0; font-size: 14px; font-weight: 500; color: var(--active-text); }
}
/* Loading: the status block and the five rows of At a glance. */
.skeleton-status { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 96px; margin-bottom: 16px; }
.skeleton-glance { display: flex; flex-direction: column; gap: 0; max-width: 880px; }
.skeleton-glance-row { display: grid; grid-template-columns: 160px minmax(0, 320px); align-items: center; gap: 16px; min-height: 44px; border-top: 1px solid var(--border); }
.skeleton-glance > .skeleton:first-child { margin-bottom: 12px; }

/* ── Setup in progress: a calm white card, one colour (blue) for progress, grey for what is still to come ── */
.env-state.tone-info { --tone-border: var(--border); --tone-bg: var(--card); --tone-icon-bg: #EFF6FF; --tone-icon: #1D4ED8; }
.env-steps-list { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 8px; padding: 20px 0 0; border-top: 1px solid var(--border); }
.env-progress-step { display: flex; flex-direction: column; align-items: stretch; gap: 12px; min-height: 0; padding: 0; }
.env-progress-step:not(:last-child)::before { content: none; }
.env-progress-seg { position: relative; display: block; height: 6px; border-radius: 999px; background: #E7E5E4; overflow: hidden; }
.env-progress-fill { position: absolute; inset: 0 auto 0 0; width: 0; border-radius: inherit; background: #1D4ED8; }
.env-progress-step.done .env-progress-fill { width: 100%; }
.env-progress-step.now .env-progress-seg { background: #DBEAFE; }
.env-progress-step.error .env-progress-seg { background: var(--warn-icon, #A16207); }
.env-progress-row { display: flex; align-items: flex-start; gap: 8px; min-width: 0; }
.env-progress-dot { width: 20px; height: 20px; font-size: 11px; outline: 0; }
.env-progress-step.done .env-progress-dot { border-color: #1D4ED8; background: #1D4ED8; color: #fff; }
.env-progress-step.now .env-progress-dot { border-color: #1D4ED8; background: #fff; color: #1D4ED8; outline: 0; box-shadow: 0 0 0 3px #DBEAFE; }
.env-progress-step.error .env-progress-dot { outline: 0; box-shadow: 0 0 0 3px #FDE68A; }
.env-progress-label { padding-top: 0; font-size: 13px; line-height: 20px; color: var(--muted); }
.env-progress-step.done .env-progress-label { color: var(--secondary); }
.env-progress-step.now .env-progress-label, .env-progress-step.error .env-progress-label { font-weight: 600; color: var(--text); }
.env-progress-detail { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; padding: 16px; border-radius: 8px; background: var(--subtle); }
.env-progress-facts { display: flex; flex-direction: column; gap: 8px; flex: 1 1 360px; min-width: 0; }
.env-progress-services { display: flex; flex-direction: column; gap: 8px; max-width: 560px; }
.env-progress-key { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 13px; line-height: 20px; color: var(--secondary); }
.env-progress-key strong { font-weight: 600; color: var(--text); }
.env-progress-key span { display: inline-flex; align-items: center; gap: 8px; }
.env-progress-key i { width: 8px; height: 8px; border-radius: 2px; background: #1D4ED8; }
.env-progress-key .key-started i { background: #93C5FD; }
.env-progress-detail .services-bar { height: 8px; background: #E7E5E4; }
.env-progress-detail .services-bar .healthy { background: #1D4ED8; }
.env-progress-detail .services-bar .started { background: #93C5FD; }
.env-progress-detail > button { flex: none; background: var(--card); }
@media (max-width: 900px) {
  .env-steps-list { gap: 4px; }
  .env-progress-step { gap: 8px; }
  .env-progress-row .env-progress-dot, .env-progress-step:not(.now):not(.error) .env-progress-label { display: none; }
  .env-progress-step.now, .env-progress-step.error { grid-column: span 1; }
  .env-steps-list { grid-template-columns: repeat(7, minmax(0, 1fr)); position: relative; padding-bottom: 28px; }
  .env-progress-step.now .env-progress-row, .env-progress-step.error .env-progress-row { position: absolute; left: 0; right: 0; bottom: 0; }
}

/* ── At a glance: the same width as the state card, two columns on wide screens, quiet arrows ── */
.env-glance { max-width: none; }
.env-glance-list { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
.env-glance-row { padding: 12px 0; border-top: 1px solid var(--border); }
.env-glance-row + .env-glance-row { border-top: 1px solid var(--border); }
.env-glance-row:first-child { border-top: 0; }
.env-glance-words { grid-template-columns: minmax(0, 1fr); gap: 2px; }
.env-glance-label { font-size: 12px; line-height: 16px; font-weight: 500; color: var(--secondary); }
.env-glance-list { margin: 0 -8px; }
.env-glance-row { padding-left: 8px; padding-right: 4px; }
.env-glance-row.is-link { cursor: pointer; border-radius: 8px; }
.env-glance-row.is-link:hover { background: var(--subtle); }
.env-glance-go { flex: none; width: 32px; height: 32px; min-height: 32px; color: var(--muted); font-size: inherit; }
.env-glance-row.is-link:hover .env-glance-go { color: var(--text); }
@media (min-width: 1100px) {
  .env-glance-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .env-glance-row:nth-child(2) { border-top: 0; }
}
@media (max-width: 720px) { .env-glance-go { order: 0; width: 32px; } }

/* ── Environment tabs stay in view under the top bar while the page scrolls ── */
.env-head { display: contents; }
.env-head-top { padding-bottom: 0; }
.env-tabs { position: sticky; top: var(--bar-h, 56px); z-index: 12; margin: 16px 0 0; padding: 0; background: var(--page); box-shadow: inset 0 -1px 0 var(--border); }
.env-tab { border-bottom-width: 3px; }
/* Row separators drawn inside the padding so a rounded hover never bends them */
.env-glance-row, .env-glance-row + .env-glance-row { position: relative; border-top: 0; }
.env-glance-row::before { content: ""; position: absolute; left: 8px; right: 8px; top: 0; height: 1px; background: var(--border); }
.env-glance-row:first-child::before { content: none; }
@media (min-width: 1100px) { .env-glance-row:nth-child(2)::before { content: none; } }
/* Narrow screens: the segments alone; the title above already names the current step and "Step 6 of 7" */
@media (max-width: 900px) {
  .env-steps-list { padding-bottom: 0; }
  .env-progress-step .env-progress-row, .env-progress-step.now .env-progress-row, .env-progress-step.error .env-progress-row { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* State cards are plain white like every other card; the tone shows only in the icon tile, and a warning or a
   failure also in the border. */
.env-state, .env-state.tone-good, .env-state.tone-info, .env-state.tone-paused, .env-state.tone-approval { --tone-border: var(--border); --tone-bg: var(--card); }
.env-state.tone-warn { --tone-bg: var(--card); }
.env-state.tone-bad { --tone-bg: var(--card); }

/* Environment list: keyboard focus thickens the card's own border instead of drawing a second ring around it */
.env-list .env-item:focus-visible { outline: 2px solid var(--focus); outline-offset: -1px; }

/* ── Environment list: compact cards in the same family as the Dashboard cards ── */
.env-list { gap: 8px; }
.env-list > .env-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: center; gap: 0 12px; min-height: 64px; padding: 12px; border-radius: 12px; overflow: hidden; }
.env-list .env-vm { width: 36px; height: 36px; margin: 0; border-radius: 10px; }
.env-list .env-vm svg { width: 18px; height: 18px; }
.env-list .env-item-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.env-list .env-item-name { font-size: 14px; line-height: 20px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.env-item-line { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12px; line-height: 16px; white-space: nowrap; }
.env-list .env-item-line .badge { flex: none; height: auto; min-height: 0; padding: 0; border: 0; background: transparent; font-size: 12px; line-height: 16px; font-weight: 500; transform: none; gap: 6px; }
.env-list .env-item-line .badge .status-dot { width: 6px; height: 6px; }
.env-list .env-item-meta { position: relative; min-width: 0; padding-left: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; line-height: 16px; color: var(--secondary); }
.env-list .env-item-meta::before { content: ""; position: absolute; left: 0; top: 7px; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); }
.env-item-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: #E7E5E4; }
.env-item-progress > span { display: block; height: 100%; background: #1D4ED8; }
.env-list > .env-item.selected { border-color: var(--selected-border); background: var(--selected-bg); }
.env-list > .env-item:hover:not(.selected) { background: var(--subtle); }
.env-item-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.env-item-top .env-item-name { flex: 1 1 auto; min-width: 0; }
.env-item-age { flex: none; font-size: 12px; line-height: 16px; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
/* Name with the status on the right; workspace under the name with the age on the right */
.env-item-top { align-items: center; }
.env-list .env-item-top .badge { flex: none; height: auto; min-height: 0; padding: 0; border: 0; background: transparent; font-size: 12px; line-height: 16px; font-weight: 500; gap: 6px; transform: none; }
.env-list .env-item-top .badge .status-dot { width: 6px; height: 6px; }
.env-item-line { justify-content: space-between; }
.env-list .env-item-line .env-item-meta { flex: 1 1 auto; padding-left: 0; }
.env-list .env-item-line .env-item-meta::before { content: none; }
/* Names and workspaces wrap instead of being cut off */
.env-list .env-item-name, .env-list .env-item-line .env-item-meta, .env-list .env-item-meta { overflow: visible; text-overflow: clip; white-space: normal; overflow-wrap: anywhere; }
.env-list > .env-item { align-items: start; }
.env-list .env-item-text { gap: 2px; }
.env-list .env-item-meta { padding-left: 0; }
.env-list .env-item-meta::before { content: none; }
.env-list .env-item-line { margin-top: 4px; }
/* A wider list so names and workspaces usually fit on one line */
@media (min-width: 1101px) { #environments-view .env-split { grid-template-columns: 300px minmax(0, 1fr); } }

/* Application management navigation stays separate from troubleshooting tools. */
.application-sections{display:flex;gap:8px;flex-wrap:wrap;margin:0 0 24px;border-bottom:1px solid var(--border);padding-bottom:8px}
.application-section{display:inline-flex;align-items:center;min-height:40px;padding:8px 16px;border-radius:8px;color:var(--secondary);text-decoration:none;font-weight:500}
.application-section:hover{background:var(--subtle);color:var(--text)}
.application-section[aria-current="page"]{background:var(--subtle);color:var(--current-text);box-shadow:inset 0 -2px var(--current-bar);font-weight:600}
.application-section:focus-visible{outline:2px solid var(--current-bar);outline-offset:2px}
.application-updates{min-width:0}
