/* instance pages: structure styles (portal UX rework 2026-11-21). Loaded after app.css. */

/* ---------------------------------------------------------------- header */
.inst-head { margin-bottom: 12px; gap: 12px; }
.inst-head .title-row { gap: 8px; }
.inst-head .title-row h1 { margin: 0; }
.inst-badges { display: contents; }
.inst-head .title { min-width: 0; }
.inst-head .title-row h1 { overflow-wrap: anywhere; min-width: 0; }
/* long badges (firmware label) are cut with an ellipsis; the full text is in their title and on Overview */
.inst-badges .tag { max-width: min(100%, 44ch); overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.inst-badges .badge { max-width: 100%; overflow: hidden; }
.inst-desc { position: relative; margin-top: 6px; max-width: 980px; }
.inst-desc-txt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-width: 0; overflow-wrap: anywhere; }
.inst-desc.open .inst-desc-txt { display: inline; }
/* "more" sits at the end of the last clamped line (over a fade), "less" follows the full text */
.inst-desc-more[hidden] { display: none !important; }
.inst-desc-more { padding: 0 6px; font-size: 12px; min-height: 0; }
.inst-desc:not(.open) .inst-desc-more { position: absolute; right: 0; bottom: 0; background: var(--page); box-shadow: -14px 0 10px var(--page); line-height: 1.45; }
.inst-desc.open .inst-desc-more { margin-left: 6px; }
.inst-head-right { display: flex; align-items: flex-start; gap: 6px; flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
.inst-cli { position: relative; }
.inst-cli > summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; padding: 5px 11px; font-size: 13px; min-height: 30px; user-select: none; }
.inst-cli > summary::-webkit-details-marker { display: none; }
.inst-cli > summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.inst-cli[open] > summary { border-color: var(--accent); }
.inst-cli-pop { position: absolute; right: 0; top: calc(100% + 4px); z-index: 25; width: min(560px, calc(100vw - 32px)); max-height: 70vh; overflow: auto; padding: 10px 12px;
  background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.inst-cli-grp h4 { margin: 8px 0 2px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 600; }
.inst-cli-grp:first-child h4 { margin-top: 0; }
.inst-cli-pop .cli-row { margin-top: 4px; align-items: center; }
.inst-cli-pop .cli-cmd { padding: 4px 8px; overflow-wrap: anywhere; font-size: 12px; }
.inst-cli-foot { font-size: 12px; margin-top: 8px; }
.inst-actions { gap: 6px; }
.inst-actions > button, .inst-actions > .btn { padding: 5px 11px; font-size: 13px; }

/* ---------------------------------------------------------------- tab bar (+ More menu < 900 px) */
.tabs-bar { display: flex; align-items: flex-end; border-bottom: 1px solid var(--border-strong); margin-bottom: 16px; position: relative; }
.tabs-bar > .tabs { flex: 1; min-width: 0; border-bottom: 0; margin-bottom: 0; position: relative; overflow: hidden; }
.tabs-bar > .tabs a.tab-over { display: none; }
.tabs-bar > .tabs a { padding: 8px 11px; }
.tabs-bar > .tabs a:focus-visible, .tab-more-btn:focus-visible, .tab-more-menu a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.tab-more { position: relative; flex: none; }
.tab-more[hidden] { display: none; }
.tab-more-btn { background: none; border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 12px; margin-bottom: -1px;
  color: var(--text-secondary); font-weight: 500; white-space: nowrap; min-height: 40px; }
.tab-more-btn.active { color: var(--text-primary); border-bottom-color: var(--accent); }
.tab-more-menu { position: absolute; right: 0; top: calc(100% + 4px); z-index: 20; min-width: 190px; padding: 6px; display: flex; flex-direction: column;
  background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.3); }
.tab-more-menu[hidden] { display: none; }
.tab-more-menu a { padding: 9px 12px; border-radius: 6px; color: var(--text-primary); min-height: 40px; display: flex; align-items: center; }
.tab-more-menu a:hover, .tab-more-menu a:focus { background: var(--accent-wash); text-decoration: none; }
.tab-more-menu a.active { font-weight: 600; box-shadow: inset 2px 0 0 var(--accent); }
@media (max-width: 899px) { .tabs-bar > .tabs a { padding: 10px 10px; } }

/* ---------------------------------------------------------------- overview */
.inst-tiles { grid-template-columns: repeat(auto-fit, minmax(112px, 1fr)); gap: 8px; margin-bottom: 14px; }
.inst-tiles .tile { padding: 8px 9px; min-width: 0; }
.inst-tiles .tile .label { font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.inst-tiles .tile .value { font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-variant-numeric: tabular-nums; letter-spacing: -.02em; }
.inst-tiles .tile .delta { font-size: 11px; line-height: 1.3; overflow-wrap: anywhere; }
.inst-ov-top { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 16px; align-items: start; margin-bottom: 16px; }
.inst-ov-side { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.inst-ov-side > .sec + .sec { margin-top: 0; }
.inst-body > .sec + .sec, .inst-body > .inst-ov-top + .sec, .inst-body > .sec + .grid, .inst-body > .grid + .sec { margin-top: 16px; }
.inst-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 12px 24px; }
.inst-facts h3, .inst-charts h3 { margin: 0 0 6px; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-muted); font-weight: 600; }
.inst-facts .kv { gap: 5px 14px; font-size: 12.5px; }
.inst-ov-top .where-path { margin-bottom: 12px; }
.inst-ov-top .where-path .hop { padding: 6px 9px; }
.inst-alert { margin: 0 0 10px; }
.inst-ov-side .life-hero .big { font-size: 22px; }
.inst-ov-side .timeline { margin-bottom: 14px; }
.inst-ov-side .kv { font-size: 12.5px; gap: 5px 14px; }
.inst-ov-side .led-panel { padding: 10px; }
.inst-charts { gap: 20px; }
.inst-body .sec .events { max-height: 340px; }
@media (max-width: 1100px) { .inst-ov-top { grid-template-columns: minmax(0, 1fr); } }
.inst-ov-top > *, .inst-tests > * { min-width: 0; }
.inst-ov-top .where-path { flex-wrap: wrap; }
@media (max-width: 700px) {
  .inst-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
  .inst-tiles .tile { padding: 7px 8px; }
  .inst-tiles .tile .value { font-size: 16px; }
  .inst-actions { width: 100%; }
}

/* ---------------------------------------------------------------- network & clients */
.inst-ports { gap: 8px; }
.inst-ports .port { min-width: 132px; padding: 8px 10px; }
.inst-ports .port .plabel { margin: 1px 0 4px; }
.inst-ports .port .members { margin-top: 4px; }
.inst-ports .port .members:empty { display: none; }
.inst-ports .port button.small { padding: 3px 8px; }
.inst-links { margin-top: 16px; align-items: start; }
.inst-links + .sec { margin-top: 16px; }
.inst-airsim { margin-top: 10px; }
.inst-airsim[hidden] { display: none; }
.sec .adv[hidden] { display: none; }
.sec[hidden] { display: none; }
.provider > summary { cursor: pointer; padding: 4px 0; }
@media (max-width: 700px) {
  .inst-ports .port { flex: 1 1 calc(50% - 8px); min-width: 0; }
}

/* definition lists inside sections: no browser margins; status grids align to the top */
.inst-body dl.kv { margin: 0; align-self: start; }
.inst-body .grid > dl.kv { align-content: start; }

/* ---------------------------------------------------------------- factory data */
.inst-fac-intro { display: flex; align-items: center; gap: 8px; color: var(--text-secondary); font-size: 13px; margin-bottom: 10px; }
.inst-fac.no-off .fac-off { display: none; }
.inst-fac .fac-inp { width: 34%; }
.inst-fac .fac-inp input, .inst-fac .fac-inp select { width: 100%; }
.inst-fac tr.fac-group th { text-align: left; font-size: 11.5px; text-transform: uppercase; letter-spacing: .05em; color: var(--text-secondary);
  background: var(--surface-2); padding: 6px 10px; }
.inst-fac tbody + tbody tr.fac-group th { border-top: 8px solid var(--surface-1); }
.inst-fac td { vertical-align: top; }
.inst-fname { display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.inst-fkey { font-size: 11px; margin-top: 1px; }
.inst-note { font-size: 12px; margin-top: 4px; max-width: 520px; }
.small-check { font-size: 12.5px; }
.inst-fac-more { margin-top: 16px; align-items: start; }
.inst-body .action-bar { margin-bottom: 0; }
@media (max-width: 700px) {
  .inst-fac thead { display: none; }
  .inst-fac, .inst-fac tbody, .inst-fac tr, .inst-fac td, .inst-fac th { display: block; width: 100%; }
  .inst-fac tr:not(.fac-group) { padding: 8px 0; border-bottom: 1px solid var(--border); }
  .inst-fac td { border: 0; padding: 3px 4px; }
  .inst-fac .fac-inp { width: 100%; }
  .inst-fac.no-off .fac-off { display: none; }
}
.inst-fac .tag.on { border-color: var(--accent); color: var(--text-primary); }

/* ---------------------------------------------------------------- configuration */
.inst-danger .actions { align-items: center; }
.inst-danger-gap { flex: 1; }
.inst-danger.collapsed .sec-sum { color: var(--text-muted); }

/* ---------------------------------------------------------------- tab toolbars (console, web UI, logs) */
.inst-toolbar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.inst-toolbar-gap { flex: 1; }
.inst-toolbar-note { font-size: 12px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; flex: 1 1 200px; }
.inst-toolbar + .about { margin-top: -2px; }
.inst-login-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; padding: 6px 10px; margin-bottom: 10px; border-radius: 6px;
  background: var(--accent-wash); font-size: 13px; }
.inst-tests { align-items: start; }
.inst-tests > .sec + .sec { margin-top: 0; }
button.chip { font: inherit; font-size: 12.5px; cursor: pointer; background: transparent; color: var(--text-secondary); min-height: 30px; }
button.chip.on { color: var(--text-primary); }
button.chip:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.inst-fac td { padding-top: 6px; padding-bottom: 6px; }
@media (max-width: 700px) { button.chip { min-height: 36px; } }
.inst-phone-title { display: inline-flex; align-items: center; gap: 10px; }
@media (max-width: 700px) {
  /* section summaries move under the title instead of being cut off */
  .inst-body .sec-toggle, #main .sec-toggle.inst-wrap { flex-wrap: wrap; }
  .inst-body .sec-sum { flex-basis: 100%; white-space: normal; padding-left: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .inst-body .sec:not(.collapsed):not(.sum-always) .sec-sum { display: none; }
  .inst-ov-top .where-path { flex-wrap: wrap; }
  .inst-ov-top .where-path .hop { flex: 1 1 40%; }
  .inst-ov-top .where-path .arrow { display: none; }
  .inst-toolbar-note { flex-basis: 100%; white-space: normal; }
  .inst-head-right { width: 100%; justify-content: flex-start; }
  .inst-cli > summary { min-height: 40px; }
  .inst-cli-pop { position: fixed; left: 16px; right: 16px; width: auto; top: auto; }
}

/* ---------------------------------------------------------------- client row "..." menu */
.row-menu-btn { min-width: 34px; font-weight: 700; letter-spacing: .05em; }
.row-menu { position: fixed; z-index: 60; min-width: 170px; padding: 6px; display: flex; flex-direction: column; gap: 2px;
  background: var(--surface-1); border: 1px solid var(--border-strong); border-radius: 8px; box-shadow: 0 8px 24px rgba(0,0,0,.35); }
.row-menu button { text-align: left; border: 0; border-radius: 6px; padding: 8px 12px; min-height: 36px; background: transparent; color: var(--text-primary); }
.row-menu button:hover, .row-menu button:focus { background: var(--accent-wash); }
.row-menu button:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.row-menu button.danger { color: var(--critical-text); }
@media (max-width: 700px) { .row-menu-btn { min-height: 40px; min-width: 44px; } .row-menu button { min-height: 44px; } }

/* phones: every button in the pages (phone screen controls, app actions, form rows) is a 40 px touch target */
@media (max-width: 700px) {
  #main button:not(.inst-desc-more), #main .btn, .phone-nav button { min-height: 40px; }
}

/* phones: primary action + "Actions ▾" on one row; the CLI popover opens from that menu */
@media (max-width: 700px) {
  .inst-head { gap: 6px; margin-bottom: 8px; }
  .inst-actions { flex-wrap: nowrap; }
  .inst-actions > button:not(.inst-actions-btn), .inst-actions > .btn { flex: 1 1 0; }
  .inst-actions .inst-actions-btn { flex: 1 1 0; min-width: 120px; }
  .inst-cli.in-menu { position: static; width: 0; height: 0; }
  .inst-cli.in-menu > summary { display: none; }
  .inst-cli.in-menu .inst-cli-pop { bottom: 12px; max-height: 75vh; }
}

/* ---------------------------------------------------------------- phone overview: health / location / access first */
.inst-glance[hidden] { display: none; }
.inst-glance { padding: 10px 12px; margin-bottom: 12px; }
.inst-glance .glance-row { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.inst-glance .glance-where { margin-top: 8px; overflow-wrap: anywhere; }
.inst-glance .inst-alert { margin: 8px 0 0; }
.inst-glance .glance-btns { display: flex; gap: 8px; margin-top: 10px; }
.inst-glance .glance-btns .btn { flex: 1 1 0; justify-content: center; text-align: center; min-height: 40px; display: inline-flex; align-items: center; }
.inst-glance .glance-login { margin-top: 8px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; font-size: 13px; }
.inst-glance .glance-login .mono { overflow-wrap: anywhere; }
.inst-reach { max-width: 100%; white-space: normal; }

/* ---------------------------------------------------------------- system diagram on phones */
.topo-bar { display: none; }
.topo-scroller { position: relative; }
@media (max-width: 700px) {
  .topo-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
  .topo-hint { font-size: 12px; }
  .topo-hint[hidden] { display: none; }
  .topo-scroller::before, .topo-scroller::after { content: ""; position: absolute; top: 0; bottom: 0; width: 28px; pointer-events: none; opacity: 0; transition: opacity .15s; z-index: 1; }
  .topo-scroller::after { right: 0; background: linear-gradient(to right, transparent, var(--surface-1)); }
  .topo-scroller::before { left: 0; background: linear-gradient(to left, transparent, var(--surface-1)); }
  .topo-scroller.fade-r::after, .topo-scroller.fade-l::before { opacity: 1; }
  .topo-scroller .topo-wrap:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
}

/* ---------------------------------------------------------------- Multi-WAN: tables become labelled cards on phones */
@media (max-width: 700px) {
  .mw-cards, .mw-cards tbody, .mw-cards tr, .mw-cards td { display: block; width: 100%; }
  .mw-cards thead { display: none; }
  .mw-cards { min-width: 0; }
  .mw-cards tr { border: 1px solid var(--border); border-radius: 8px; padding: 8px 10px; margin-bottom: 8px; background: var(--surface-1); }
  .mw-cards td, .mw-cards td.hide-sm { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 3px 0; border: 0; text-align: right; min-width: 0; }
  .mw-cards td::before { content: attr(data-label); flex: none; color: var(--text-muted); font-size: 12px; text-align: left; }
  .mw-cards td.mw-title { display: block; text-align: left; padding-bottom: 4px; }
  .mw-cards td.mw-title::before { content: none; }
  .mw-cards td > .actions { justify-content: flex-end; }
  .mw-cards td > div:not(.actions) { text-align: right; }
  /* a section heading with an action: the heading takes its own line, the action wraps below it */
  .inst-body .sec-head:has(.sec-actions) .sec-h { flex: 1 1 100%; }
  .inst-body .sec-head .sec-actions { margin-left: 26px; }
}

/* Logs (and other toolbars): the source switch wraps instead of cutting a label off */
.inst-toolbar .seg { flex-wrap: wrap; max-width: 100%; }
.inst-toolbar .seg button { white-space: nowrap; }
@media (max-width: 700px) {
  .mw-cards td.mw-title > div { text-align: left; }
  .inst-body .provider > summary, .inst-body details > summary { min-height: 40px; display: flex; align-items: center; }
}

/* --- redesign (2026-11): header facts, live system, overview grid, health, tests --- */
.inst-head .title-row h1 { font: 650 24px var(--mono); letter-spacing: -.02em; }
.inst-facts-line { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-top: 8px; font-size: 13px; }
.inst-facts-line .fact { white-space: nowrap; }
.inst-facts-line .fk { color: var(--text-muted); }
.inst-facts-line b { font-weight: 600; }
.inst-actions .inst-con-btn { padding-left: 14px; padding-right: 14px; }
.inst-actions .inst-actions-btn { min-width: 34px; justify-content: center; }
.inst-cli.in-menu { width: 0; height: 0; }
.inst-cli.in-menu > summary { display: none; }

.live-sys { display: grid; grid-template-columns: minmax(150px, 1fr) 96px minmax(260px, 1.25fr) 96px minmax(170px, 1.1fr); align-items: center; }
.sec.live-off .live-sys { opacity: .55; }
.live-side { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.live-box { display: block; padding: 9px 12px; border: 1px solid var(--border-strong); border-radius: 9px; background: var(--surface-2); color: inherit; min-width: 0; }
a.live-box:hover { border-color: var(--accent); text-decoration: none; }
.live-box .lb-t { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: 13px; }
.live-box .lb-t .ico { width: 15px; height: 15px; color: var(--text-muted); }
.live-box .lb-s { color: var(--text-muted); font-size: 12px; font-family: var(--mono); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.live-box.live-empty .lb-s { font-family: var(--font); }
.live-wire { position: relative; height: 2px; background: color-mix(in srgb, var(--good) 55%, transparent); align-self: center; }
.live-off .live-wire { background: var(--border-strong); }
.live-rate { position: absolute; left: 50%; bottom: 6px; transform: translateX(-50%); font: 11px var(--mono); color: var(--text-muted); white-space: nowrap;
  max-width: calc(100% - 8px); overflow: hidden; text-overflow: ellipsis; }
.live-router { border: 1px solid var(--border-strong); border-radius: 12px; padding: 10px 12px; background: var(--surface-1);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 7%, transparent), 0 8px 24px rgba(0,0,0,.25); min-width: 0; }
.lr-top { display: flex; align-items: baseline; gap: 8px; min-width: 0; }
.lr-top .muted { font-size: 12px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lr-top .lr-lan { margin-left: auto; flex: none; }
.lr-sub { font-size: 12px; margin-top: 4px; }
.live-leds { margin-top: 8px; }
.live-leds .led-panel { padding: 6px 4px 2px; gap: 4px 6px; background: none; border: 0; box-shadow: none; justify-content: space-between; flex-wrap: wrap; }
.live-leds .led { min-width: 44px; }
.live-leds .led-glyph { transform: scale(.8); }
.live-leds .led-caption { display: none; }
.live-client { display: flex; align-items: center; gap: 8px; padding: 7px 10px; border: 1px solid var(--border-strong); border-radius: 8px; background: var(--surface-2);
  color: inherit; font-size: 12.5px; min-width: 0; }
.live-client:hover { border-color: var(--accent); text-decoration: none; }
.live-client .ico { width: 14px; height: 14px; color: var(--text-muted); }
.live-client .muted { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: var(--mono); font-size: 11.5px; }
.live-more { font-size: 12px; padding-left: 4px; }

.inst-ov-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; align-items: start; }
.inst-ov-grid > .sec + .sec { margin-top: 0; }
.inst-body > .inst-ov-grid + .sec { margin-top: 16px; }
.inst-body > .sec + .sec { margin-top: 12px; }
.inst-kv-note { font-size: 12px; }
.health { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: 8px 24px; align-items: start; }
.health-lines { display: grid; gap: 6px; }
.hl { display: grid; grid-template-columns: 82px minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 12.5px; }
.hl-k { color: var(--text-muted); }
.hl .spark { width: 100%; height: 22px; }
.hl-v { font-weight: 600; white-space: nowrap; }
.hl-none { font-size: 12px; }
.inst-jobs { display: grid; }
.inst-job { display: grid; grid-template-columns: auto auto minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 7px 4px; border: 0; border-bottom: 1px solid var(--border);
  border-radius: 0; background: none; text-align: left; font-weight: 400; font-size: 13px; color: var(--text-primary); width: 100%; }
.inst-job:hover { background: var(--hover); }
.inst-job-r { font-size: 12.5px; justify-self: end; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 260px; }
.inst-jobs-empty { font-size: 12.5px; padding: 4px 0 8px; }
.inst-quick { display: flex; gap: 8px; align-items: center; margin-top: 12px; flex-wrap: wrap; font-size: 12.5px; }

@media (max-width: 1280px) {
  .live-sys { grid-template-columns: minmax(0, 1fr) 96px minmax(0, 1.3fr); row-gap: 14px; }
  .live-sys > .live-wire:nth-child(4), .live-sys > .live-clients { grid-column: 1 / -1; }
  .live-sys > .live-wire:nth-child(4) { display: none; }
  .live-clients { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
}
@media (max-width: 1100px) { .inst-ov-grid { grid-template-columns: minmax(0, 1fr); } }
.health-links { overflow-x: auto; }
@media (max-width: 700px) {
  .live-sys { grid-template-columns: 1fr; }
  .live-sys > .live-wire { display: none; }
  .health { grid-template-columns: 1fr; }
  .inst-facts-line { gap: 2px 14px; font-size: 12.5px; }
  .inst-head .title-row h1 { font-size: 20px; }
  .inst-job-r { max-width: 140px; }
}
.inst-facts-line .fw-fact { display: inline-block; max-width: 420px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
.health-links { margin-top: 14px; }
.health-links h3 { margin: 0 0 6px; }
@media (min-width: 1281px) { .inst-head .crumbs { display: none; } }
@media (max-width: 700px) {
  .inst-head .title, .inst-head .title-row { max-width: 100%; }
  .inst-head .title-row { flex-wrap: wrap; }
  .inst-facts-line .fact { white-space: normal; min-width: 0; overflow-wrap: anywhere; }
  .inst-facts-line .fw-fact { max-width: 100%; }
}
