/* ======================================================================
   Geomatic Klimarisiko — frontend styles
   Brand: Royal Trust blue #0089cf · Dark Grey #3e3e3e · Lato
   ====================================================================== */
:root{
  --brand:#0089cf;          /* Royal Trust */
  --ink:#3e3e3e;            /* Dark Grey (body text) */
  --ink-strong:#2d2d2d;
  --muted:#939597;          /* Dark Smoke */
  --faint:#bbbdc0;          /* Pearl River */
  --line:#E4E6E8;
  --line-soft:#EDEEF0;
  --field-line:#DADDE0;
  --bg:#F1F2F4;
  --surface:#ffffff;
  /* risk scale — official additional colours */
  --risk-low:#409c46;       /* Into the Woods */
  --risk-mod:#f0a52f;       /* Summer of '69 */
  --risk-high:#e95b24;      /* Deep Amber */
  --risk-severe:#df3627;    /* Cheeky Scarlet */
  --maxw:1280px;
  --radius:16px;
}

*{box-sizing:border-box;}
[hidden]{display:none !important;}
html,body{margin:0;}
body{
  background:var(--bg);
  font-family:'Lato',system-ui,-apple-system,sans-serif;
  color:var(--ink);
  font-weight:400;
  -webkit-font-smoothing:antialiased;
}
.lnum{font-variant-numeric:tabular-nums;}
h2{margin:0;font-weight:900;color:var(--ink-strong);letter-spacing:-.3px;}
a{color:inherit;text-decoration:none;}

/* ---------- Header ---------- */
.topbar{
  position:sticky;top:0;z-index:1000;
  display:flex;align-items:center;gap:24px;
  padding:14px 28px;
  background:rgba(255,255,255,.94);
  backdrop-filter:saturate(1.4) blur(8px);
  border-bottom:1px solid var(--line);
}
.brand{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.brand-logo{height:26px;width:auto;display:block;}
.brand-divider{width:1px;height:22px;background:#D4D7DB;}
.brand-sub{font-weight:700;font-size:13px;color:#656565;letter-spacing:.05em;text-transform:uppercase;}

.search{flex:1;max-width:640px;position:relative;}
.search-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);color:var(--faint);}
.search input{
  width:100%;font-family:inherit;font-size:14.5px;font-weight:400;color:var(--ink);
  padding:11px 14px 11px 40px;border:1px solid var(--field-line);border-radius:24px;background:#fff;
}
.search input::placeholder{color:var(--faint);}
.search input:focus{outline:2px solid rgba(0,137,207,.4);outline-offset:1px;}
.search-results{
  position:absolute;top:calc(100% + 6px);left:0;right:0;margin:0;padding:6px;list-style:none;
  background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 12px 32px rgba(0,0,0,.12);
  max-height:340px;overflow:auto;z-index:60;
}
.search-results li{padding:10px 12px;border-radius:9px;cursor:pointer;font-size:14px;}
.search-results li:hover,.search-results li.active{background:#F2F6F9;color:var(--brand);}

/* ---------- Buttons ---------- */
.btn-outline,.btn-primary{
  font-family:inherit;font-size:13.5px;font-weight:700;cursor:pointer;border-radius:24px;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:10px 16px;
}
.btn-outline{color:var(--ink);background:#fff;border:1px solid var(--field-line);}
.btn-outline:hover{background:#F4F6F8;border-color:var(--brand);}
.btn-primary{color:#fff;background:var(--brand);border:none;}
.btn-primary:hover{filter:brightness(.96);}
.grow{flex:1;}
.icon-btn{width:32px;height:32px;border-radius:50%;border:1px solid var(--line);background:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#656565;}
.icon-btn:hover{border-color:var(--brand);color:var(--brand);}

/* ---------- Layout ---------- */
.container{max-width:var(--maxw);margin:0 auto;padding:26px 28px 56px;}
.state-msg{padding:80px 0;text-align:center;color:var(--muted);font-size:15px;}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);}

/* ---------- No-building empty state (#70122) ----------
   Replaces the score card when BBR has no building at the address: calm and
   factual, not an error. Occupies the score card's hero grid cell. */
.no-building-card{
  padding:24px;border-radius:18px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;gap:12px;
}
.no-building-card svg{color:var(--muted);}
.no-building-main{margin:0;font-size:14.5px;line-height:1.6;color:var(--ink-strong);max-width:34ch;}
.no-building-sub{margin:0;font-size:13px;line-height:1.55;color:var(--muted);max-width:34ch;}
/* The score card sets display:flex, which would defeat the UA's [hidden]
   rule; make hidden authoritative for both hero cards. */
.score-card[hidden],.no-building-card[hidden]{display:none;}

/* ---------- Address strip ---------- */
.addr-strip{
  display:flex;flex-wrap:wrap;align-items:center;gap:18px 28px;
  padding:16px 20px;background:#fff;border:1px solid var(--line);border-radius:var(--radius);margin-bottom:20px;
}
.addr-main{display:flex;align-items:center;gap:13px;flex:1;min-width:280px;}
.addr-pin{width:40px;height:40px;border-radius:50%;background:rgba(0,137,207,.1);color:var(--brand);display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.addr-title{font-weight:700;font-size:17px;color:var(--ink-strong);}
.addr-coords{font-size:12.5px;color:var(--muted);}
.addr-meta{display:flex;gap:28px;}
.meta-label{font-size:11px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;margin-bottom:3px;}
.meta-value{font-weight:700;font-size:15px;color:var(--ink);}

/* ---------- Hero ---------- */
.hero{display:grid;grid-template-columns:360px 1fr;gap:20px;margin-bottom:24px;}
.card-eyebrow{font-size:12.5px;font-weight:700;color:var(--muted);text-transform:uppercase;letter-spacing:.07em;}
.card-title{font-weight:700;font-size:14.5px;color:var(--ink-strong);}

.score-card{padding:24px 24px 22px;display:flex;flex-direction:column;border-radius:18px;}
.gauge-wrap{position:relative;width:220px;margin:14px auto 6px;}
.gauge{width:220px;height:auto;display:block;overflow:visible;}
#gauge-arc{transition:stroke-dasharray .7s ease, stroke .3s ease;}
.gauge-num{position:absolute;left:0;right:0;bottom:2px;text-align:center;line-height:1;}
.gauge-num>span:first-child{font-size:50px;font-weight:900;letter-spacing:-2px;color:var(--ink-strong);}
.gauge-den{font-size:19px;font-weight:700;color:var(--faint);}
.score-pill-wrap{text-align:center;margin-bottom:16px;}
.score-pill{display:inline-flex;align-items:center;gap:7px;font-weight:700;font-size:14px;padding:6px 15px;border-radius:99px;}
.score-pill::before{content:"";width:8px;height:8px;border-radius:99px;background:currentColor;}
.score-drivers{border-top:1px solid var(--line-soft);padding-top:14px;}
.drivers-text{font-size:14.5px;font-weight:700;line-height:1.4;color:var(--ink);margin-top:6px;}
.score-note{margin:auto 0 0;padding-top:16px;font-size:12px;color:var(--muted);line-height:1.5;}
.score-note b{color:#656565;}

.map-card{overflow:hidden;display:flex;flex-direction:column;min-height:440px;border-radius:18px;}
.map-head{display:flex;align-items:center;justify-content:space-between;padding:13px 18px;border-bottom:1px solid var(--line-soft);}
.map-layer-select{font:inherit;font-size:12.5px;color:var(--ink-strong);background:#fff;border:1px solid var(--line-soft);border-radius:8px;padding:5px 8px;max-width:56%;}
.map-layer-select:disabled{color:#8a93a0;}
/* Full-width strip below the hero: horizontal layout, wraps on narrow
   screens. display:flex would defeat the hidden attribute, hence the
   explicit [hidden] rule. */
.sea-map-panel{display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px;padding:12px 18px;margin:-10px 0 24px calc(360px + 20px);}
.sea-map-panel[hidden]{display:none;}
.sea-slider-head{display:flex;gap:8px;font-size:12.5px;font-weight:700;white-space:nowrap;}
.sea-map-panel input[type=range]{flex:1;min-width:160px;margin:0;}
.sea-slider-verdict{font-size:13px;line-height:1.4;color:var(--ink-strong);flex-basis:min(52%,560px);flex-grow:1;}
.sea-slider-verdict.is-flooded{color:#df3627;font-weight:700;}
.sea-slider-verdict.is-unknown{color:var(--muted);font-weight:400;}
.sea-slider-legend{display:flex;gap:12px;font-size:11.5px;color:var(--muted);white-space:nowrap;}
.sea-slider-legend-item{display:flex;align-items:center;gap:4px;}
.sea-slider-swatch{width:10px;height:10px;flex:none;border:1px solid rgba(0,0,0,.2);border-radius:2px;}
#map{flex:1;width:100%;background:#E6E9EC;}
.map-layer{padding:10px 18px;border-top:1px solid var(--line-soft);font-size:12.5px;color:#656565;display:flex;align-items:center;gap:8px;}
.map-layer b{color:var(--ink);}
.dot-accent{width:9px;height:9px;border-radius:50%;background:var(--brand);}

/* ---------- Factors ---------- */
.factors-head{display:flex;align-items:baseline;justify-content:space-between;margin:4px 2px 14px;flex-wrap:wrap;gap:10px;}
.factors-head h2{font-size:22px;}
.factors-sub{font-size:13.5px;color:var(--muted);margin-top:2px;}
.legend{display:flex;align-items:center;gap:16px;font-size:12px;color:var(--muted);font-weight:700;}
.legend span{display:inline-flex;align-items:center;gap:6px;}
.dot{width:10px;height:10px;border-radius:50%;display:inline-block;}

.factors-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.factor{background:#fff;border:1px solid var(--line);border-radius:14px;padding:15px 16px;}
.factor-top{display:flex;align-items:center;gap:13px;}
.factor-badge{width:40px;height:40px;border-radius:12px;color:#fff;font-weight:900;font-size:17px;display:flex;align-items:center;justify-content:center;flex-shrink:0;}
.factor-name{font-weight:700;font-size:14.5px;color:var(--ink-strong);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.factor-cat{font-size:11.5px;color:var(--muted);margin-top:1px;}
.factor-info{flex:1;min-width:0;}
.factor-toggle{display:inline-flex;align-items:center;gap:6px;font-family:inherit;font-size:12.5px;font-weight:700;padding:7px 12px;border-radius:20px;cursor:pointer;white-space:nowrap;flex-shrink:0;border:1px solid var(--field-line);background:#fff;color:#656565;transition:all .15s;}
.factor-toggle::before{content:"";width:7px;height:7px;border-radius:50%;background:currentColor;opacity:.85;}
.factor-toggle.is-active{color:#fff;}
.factor-bar{margin-top:13px;height:7px;border-radius:99px;background:#ECEDEF;overflow:hidden;}
.factor-bar>span{display:block;height:100%;border-radius:99px;transition:width .6s ease;}
.factor.is-unavailable{opacity:.72;}
.factor.is-unavailable .factor-name{color:var(--muted);}
.factor-nodata{margin-top:13px;font-size:12px;font-weight:700;color:var(--muted);font-style:italic;letter-spacing:.02em;}
/* Per-factor no-data explanation (#70122): sentence-length text, so drop the
   shouty bold-italic of the bare "Ingen data" label. */
.factor-nodata.has-reason{font-weight:400;font-style:normal;line-height:1.5;letter-spacing:0;}
.factor-info-wrap{position:relative;display:inline-block;vertical-align:middle;margin-left:5px;}
.factor-label-tail{white-space:nowrap;}
/* Inside the beta chips the button sits near the page's left edge, so the
   right-anchored 300px tooltip would clip off-viewport — anchor left there.
   The button itself scales down to match the chips' 12.5px text. */
.pathway-context-chip .factor-tooltip{left:0;right:auto;max-width:min(300px,calc(100vw - 24px));}
.pathway-context-chip .factor-tooltip::after{left:5px;right:auto;}
.pathway-context-chip .factor-info-btn{width:13px;height:13px;font-size:8.5px;}
.factor-info-btn{width:16px;height:16px;border-radius:50%;background:#e2e4e8;border:none;cursor:pointer;font-size:10px;font-style:italic;font-weight:700;color:#666;line-height:1;padding:0;display:inline-flex;align-items:center;justify-content:center;transition:background .15s;}
.factor-info-btn:hover{background:#c8cbd2;color:#333;}
.factor-tooltip{display:none;position:absolute;z-index:1100;bottom:calc(100% + 8px);right:0;width:300px;background:#1c2333;color:#e8eaf0;border-radius:12px;padding:14px 16px;font-size:12.5px;line-height:1.6;box-shadow:0 8px 32px rgba(0,0,0,.3);pointer-events:none;white-space:normal;text-align:left;}
.factor-tooltip::after{content:"";position:absolute;top:100%;right:5px;border:6px solid transparent;border-top-color:#1c2333;}
.factor-info-wrap:hover .factor-tooltip,
.factor-info-wrap.is-open .factor-tooltip{display:block;}
.factor-info-btn:focus-visible{outline:2px solid #0089cf;outline-offset:2px;}

/* ---------- Risk narrative ---------- */
#risk-narrative{
  background:#f5f9fd;
  border-left:4px solid var(--brand);
  border-radius:0 10px 10px 0;
  padding:14px 18px;
  margin:0 0 16px;
}
#risk-narrative .narrative-text{
  font-size:15.5px;
  line-height:1.65;
  color:var(--ink);
  margin:0;
}
#risk-narrative .narrative-disclaimer{
  font-size:12px;
  color:var(--muted);
  margin:6px 0 0;
  line-height:1.4;
}

/* ---------- Tier contribution breakdown ---------- */
#tier-breakdown{
  margin:0 0 20px;
  width:100%;
  overflow:hidden;
}
.tier-bar{
  display:flex;
  width:100%;
  height:20px;
  border-radius:6px;
  overflow:hidden;
}
.tier-segment{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:0;
  overflow:visible;
  cursor:pointer;
  transition:filter .15s;
}
.tier-segment:hover,.tier-segment:focus{filter:brightness(.9);outline:none;}
.tier-segment-label{
  font-size:11.5px;
  font-weight:700;
  color:#fff;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  padding:0 6px;
  pointer-events:none;
}
#tier-tooltip{
  display:none;
  position:fixed;
  z-index:1100;
  min-width:200px;
  max-width:300px;
  background:#1c2333;
  color:#e8eaf0;
  border-radius:10px;
  padding:10px 14px;
  font-size:13px;
  line-height:1.6;
  box-shadow:0 6px 24px rgba(0,0,0,.3);
  pointer-events:none;
  white-space:normal;
}

/* ---------- Data source ---------- */
.datasource{margin-top:30px;padding:18px 20px;}
.ds-head{display:flex;align-items:center;gap:9px;margin-bottom:6px;color:var(--brand);font-weight:700;font-size:14px;}
.ds-head span{color:var(--ink-strong);}
.datasource p{margin:0;font-size:13px;color:#656565;line-height:1.6;}

/* ---------- Drawer ---------- */
.drawer-backdrop{position:fixed;inset:0;background:rgba(45,45,45,.42);z-index:1150;}
.drawer{
  position:fixed;top:0;right:0;bottom:0;width:392px;max-width:90vw;background:#fff;z-index:1200;
  box-shadow:-16px 0 50px rgba(0,0,0,.16);display:flex;flex-direction:column;
}
.drawer-head{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid var(--line-soft);}
.drawer-title{font-weight:900;font-size:17px;color:var(--ink-strong);}
.drawer-body{flex:1;overflow:auto;padding:22px 24px;}
.filter-group{font-size:12px;font-weight:700;color:var(--brand);text-transform:uppercase;letter-spacing:.08em;margin-bottom:14px;}
.field{display:block;margin-bottom:16px;}
.field>span{display:block;font-size:13px;font-weight:700;color:var(--ink);margin-bottom:6px;}
.field-row{display:flex;justify-content:space-between;}
.field-row b{color:var(--brand);}
.field select{width:100%;font-family:inherit;font-size:14px;font-weight:400;padding:10px 12px;border:1px solid var(--field-line);border-radius:12px;background:#fff;color:var(--ink);}
.field input[type=range]{width:100%;accent-color:var(--brand);}
.drawer-divider{border:none;height:1px;background:var(--line-soft);margin:22px 0;}
.drawer-foot{padding:16px 24px;border-top:1px solid var(--line-soft);display:flex;gap:10px;}

/* ---------- Climate scenarios (today / likely / worst) ---------- */
.scenarios-panel{margin:22px 0 4px;}
.scenarios-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;}
.scenarios-sub{font-size:13px;color:var(--muted);margin-top:4px;}
.scenarios-tag{flex-shrink:0;font-size:11.5px;font-weight:700;color:#8a6d1a;background:rgba(240,165,47,.16);padding:5px 11px;border-radius:99px;letter-spacing:.02em;}
.scenarios-row{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;}
.scenario-card{background:var(--surface);border:1px solid var(--line);border-radius:14px;padding:16px 18px;display:flex;flex-direction:column;gap:4px;}
.scenario-card.is-today{border-color:var(--brand);box-shadow:0 0 0 1px rgba(0,137,207,.25);}
.scenario-card.is-unavailable{background:#fafbfc;}
.scenario-label{font-weight:700;font-size:14px;color:var(--ink-strong);}
.scenario-horizon{font-size:12px;color:var(--muted);margin-bottom:6px;}
.scenario-num{font-size:38px;font-weight:900;letter-spacing:-1.5px;line-height:1.05;color:var(--ink-strong);}
.scenario-den{font-size:15px;font-weight:700;color:var(--muted);margin-left:2px;letter-spacing:0;}
.scenario-num.scenario-na{color:#b7bcc4;}
.scenario-namsg{font-size:12.5px;font-weight:700;color:var(--muted);margin-top:2px;}
.scenario-bar{height:7px;border-radius:99px;background:var(--line-soft);overflow:hidden;margin:8px 0 2px;}
.scenario-bar>span{display:block;height:100%;border-radius:99px;}
.scenario-tone{font-size:12.5px;font-weight:700;color:var(--ink);}
.scenario-disclaimer{font-size:11px;color:var(--muted);margin-top:6px;font-style:italic;}
.scenarios-note{font-size:12.5px;color:var(--muted);margin:12px 0 0;line-height:1.5;}

/* ---------- Sea level what-if (havvand på land) ---------- */
.sealevel-panel{margin:22px 0 4px;padding:18px 20px;}
.sealevel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:12px;}
.sealevel-sub{font-size:13px;color:var(--muted);margin-top:4px;}
.sealevel-panel .field{max-width:420px;}
.sealevel-verdict{font-size:15px;font-weight:700;color:var(--ink-strong);margin:6px 0 2px;}
.sealevel-verdict.is-flooded{color:#df3627;}
.sealevel-verdict.is-unknown{color:var(--muted);font-weight:400;}
.sealevel-note{font-size:12px;color:var(--muted);margin:8px 0 0;line-height:1.5;}

/* ---------- Responsive ---------- */
@media (max-width:880px){
  .hero{grid-template-columns:1fr;}
  .sea-map-panel{margin-left:0;}
  .factors-grid{grid-template-columns:1fr;}
  .scenarios-row{grid-template-columns:1fr;}
  .addr-meta{gap:18px;}
  .legend{display:none;}
  .search{order:3;flex-basis:100%;max-width:none;}
  .topbar{flex-wrap:wrap;}
}

/* ---------- Model-view toggle + Risikoveje (beta) shadow view (AB#69846) ---------- */
.model-toggle{display:flex;gap:0;border:1px solid #d7dbe0;border-radius:99px;overflow:hidden;flex-shrink:0;}
.model-toggle-btn{border:0;background:#fff;color:#5a6472;font:inherit;font-size:12.5px;font-weight:700;padding:7px 14px;cursor:pointer;white-space:nowrap;}
.model-toggle-btn.is-active{background:#0089cf;color:#fff;}
/* Disabled for a no-building report (#70122): everything score-derived is
   suppressed, so the score-derived Risikoveje view is unreachable too. */
.model-toggle-btn:disabled{opacity:.45;cursor:not-allowed;}
.model-toggle-btn:focus-visible{outline:2px solid #0089cf;outline-offset:-2px;}

/* View switching: the 18-factor presentation is the default; the Risikoveje
   view replaces it (score gauge, map, scenarios and sea-level stay shared). */
#pathways-panel{display:none;}
#report.view-pathways #pathways-panel{display:block;}
/* No-building suppression (#70122) must beat the view rule above, so it
   carries at least the same specificity. */
#report.view-pathways #pathways-panel[hidden],
#pathways-panel[hidden]{display:none;}
#report.view-pathways .factors-head,
#report.view-pathways .factors-grid,
#report.view-pathways #tier-breakdown,
#report.view-pathways #risk-narrative{display:none;}

/* Section layout mirrors .scenarios-panel: heading on the page background,
   content in a white card body. */
.pathways-panel{margin:22px 0 4px;}
.pathways-head{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;margin-bottom:14px;}
.pathways-head h2{margin:0;}
.pathways-sub{font-size:13px;color:var(--muted);margin-top:4px;}
.pathways-body{padding:18px 20px;}
.pathways-tag{flex-shrink:0;font-size:11.5px;font-weight:700;color:#8a6d1a;background:rgba(240,165,47,.16);padding:5px 11px;border-radius:99px;letter-spacing:.02em;}
.pathways-index{margin:6px 0 16px;}
.pathways-index-num{font-size:40px;font-weight:900;line-height:1.1;}
.pathways-index-note{font-size:12px;color:#8a93a0;margin-top:4px;max-width:56ch;}
.pathways-rows{display:flex;flex-direction:column;gap:10px;margin-bottom:12px;}
.pathway-row{display:grid;grid-template-columns:180px 1fr 72px;align-items:center;gap:12px;}
.pathway-name{font-weight:700;font-size:14px;}
.pathway-bar{height:10px;border-radius:99px;background:#eceded;overflow:hidden;}
.pathway-bar span{display:block;height:100%;border-radius:99px;}
.pathway-value{font-size:13.5px;font-weight:700;text-align:right;}
.pathway-row.is-unavailable .pathway-name,
.pathway-row.is-unavailable .pathway-value{color:#8a93a0;}
.pathways-coverage{font-size:12.5px;color:#8a6d1a;background:rgba(240,165,47,.10);border-radius:8px;padding:8px 11px;margin:6px 0;}
.pathways-context-head{font-size:12px;font-weight:700;color:var(--ink);text-transform:uppercase;letter-spacing:.05em;margin:16px 0 8px;padding-top:12px;border-top:1px solid #e6e8eb;}
.pathways-context{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:8px;}
/* Flex column so the risk bar pins to the chip bottom: grid rows stretch
   chips to equal height, so bars on the same row always align even when
   one label wraps to two lines and another does not. */
.pathway-context-chip{background:#f5f6f7;border-radius:8px;padding:8px 11px;display:flex;flex-direction:column;}
.pathway-context-chip:has(.pathway-chip-bar) .pathway-context-value{margin-bottom:7px;}
.pathway-chip-bar{margin-top:auto;height:5px;border-radius:99px;background:#ECEDEF;overflow:hidden;}
.pathway-chip-bar>span{display:block;height:100%;border-radius:99px;transition:width .6s ease;}
.pathway-context-name{font-size:12.5px;color:var(--ink);}
.pathway-context-value{font-size:13.5px;font-weight:700;}
@media (max-width: 760px){
  .pathway-row{grid-template-columns:1fr 72px;}
  .pathway-bar{grid-column:1 / -1;}
  .model-toggle{order:2;}
}
