.studio-shell {
  --studio-forest: var(--forest, #123f35);
  --studio-gold: var(--gold, #f4c44e);
  --studio-ink: #20362f;
  --studio-muted: #5d6a64;
  --studio-paper: var(--paper, #fff9ef);
  --studio-line: #d9dfd8;
  width: min(1240px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: clamp(1.4rem, 3vw, 2.8rem) 2rem;
  color: var(--studio-ink);
}
.studio-shell * { box-sizing: border-box; }
.studio-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-block: .6rem 1.5rem;
}
.studio-intro > div:first-child { max-width: 780px; }
.studio-shell .eyebrow,
.studio-shell .section-label {
  margin: 0 0 .55rem;
  color: var(--studio-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .13em;
  line-height: 1.4;
  text-transform: uppercase;
}
.live-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: .35rem;
  border-radius: 50%;
  background: #4d956e;
  box-shadow: 0 0 0 3px #4d956e22;
  vertical-align: 1px;
}
.studio-intro h1 {
  max-width: 21ch;
  margin: 0;
  color: var(--studio-forest);
  font: 700 clamp(2rem, 4.3vw, 3.25rem)/1.06 Georgia, "Times New Roman", serif;
  letter-spacing: -.025em;
}
.studio-lead {
  max-width: 72ch;
  margin: .65rem 0 0;
  color: var(--studio-muted);
  font-size: clamp(.98rem, 1.5vw, 1.08rem);
  line-height: 1.55;
}
.updated-chip {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: .65rem;
  padding: .7rem .9rem;
  border: 1px solid var(--studio-line);
  border-radius: .75rem;
  background: #fffefa;
  color: var(--studio-muted);
  font-size: .77rem;
  line-height: 1.4;
}
.updated-chip strong { color: var(--studio-ink); font-size: .82rem; }
.updated-mark { color: #9a741a; font-size: 1.3rem; }
.overview {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: .65rem;
  margin-block: .6rem 1.5rem;
}
.metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: .15rem .65rem;
  min-height: 76px;
  padding: .7rem .9rem;
  border: 1px solid var(--studio-line);
  border-radius: .75rem;
  background: #fffefa;
  color: var(--studio-ink);
  text-align: left;
}
.metric:focus-visible,
.filter-chip:focus-visible,
.graph-row:focus-visible,
.mobile-edge:focus-visible,
.cta:focus-visible { outline: 3px solid #b98b19; outline-offset: 3px; }
.metric.is-active { border-color: var(--studio-forest); box-shadow: inset 0 0 0 1px var(--studio-forest); }
.metric-all { background: var(--studio-forest); border-color: var(--studio-forest); color: white; }
.metric-all .metric-number,.metric-all .metric-label { color: white; }
.metric-all .metric-label { opacity: .85; }
.metric-number { grid-row: span 2; color: var(--studio-forest); font: 700 1.85rem/1 Georgia, serif; }
.metric-label { display: flex; align-items: center; gap: .35rem; color: var(--studio-muted); font-size: .77rem; font-weight: 700; line-height: 1.25; }
.metric-dot { width: 8px; height: 8px; border-radius: 50%; }
.metric-dot.observed { background: #2e7358; }
.metric-dot.partial { background: #a87516; }
.metric-dot.verify { background: #62637a; }
.metric-dot.goal { background: #a95639; }
.design-space {
  padding: clamp(1rem, 2.3vw, 1.55rem);
  border: 1px solid var(--studio-line);
  border-radius: 1rem;
  background: #fffefa;
  box-shadow: 0 8px 30px #123f3509;
}
.workspace-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .8rem;
}
.workspace-heading h2,
.development-copy h2,
.contribute-strip h2 {
  margin: 0;
  color: var(--studio-forest);
  font: 700 clamp(1.35rem, 2.4vw, 1.85rem)/1.15 Georgia, "Times New Roman", serif;
}
.workspace-heading .section-label { margin-bottom: .3rem; }
.map-explainer {
  max-width: 42ch;
  margin: 0;
  color: var(--studio-muted);
  font-size: .78rem;
  line-height: 1.45;
  text-align: right;
}
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem; margin-block: .7rem .85rem; }
.filter-chip {
  min-height: 36px;
  padding: .35rem .7rem;
  border: 1px solid #bdc9bf;
  border-radius: 999px;
  background: transparent;
  color: var(--studio-forest);
  font-family: inherit;
  font-size: .77rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
}
.filter-chip:hover { background: #eff3ed; }
.filter-chip.is-selected { border-color: var(--studio-forest); background: var(--studio-forest); color: white; }
.filter-result { margin-left: auto; color: var(--studio-muted); font-size: .75rem; }
.workspace-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(295px, .9fr); gap: 1rem; align-items: stretch; }
.graph-panel { min-width: 0; }
.graph-scroll { width: 100%; overflow-x: auto; border: 1px solid #e3e8e2; border-radius: .75rem; background: #fbfcf8; scrollbar-color: #a3b1a6 #edf0eb; }
.graph-scroll:focus-visible { outline: 3px solid #b98b19; outline-offset: 3px; }
.design-graph { display: none; width: 100%; min-width: 690px; height: auto; }
.js-ready .design-graph { display: block; }
.mobile-map { display: none; }
.graph-headings text { fill: #69786f; font: 800 11px/1 sans-serif; letter-spacing: 1.25px; }
.graph-row { cursor: pointer; }
.graph-row[hidden] { display: none; }
.graph-row .graph-edge { fill: none; stroke-width: 2.5; transition: stroke-width .14s ease, opacity .14s ease; }
.graph-row.status-observed .graph-edge { stroke: #2e7358; }
.graph-row.status-partial .graph-edge { stroke: #a87516; stroke-dasharray: 9 5; }
.graph-row.status-verify .graph-edge { stroke: #62637a; stroke-dasharray: 3 6; }
.graph-row.status-goal .graph-edge { stroke: #a95639; stroke-dasharray: 2 7; }
.graph-row:hover .graph-edge,
.graph-row.is-active .graph-edge { stroke-width: 4; }
.graph-row:focus { outline: none; }
.graph-row:focus .graph-edge { stroke-width: 5; }
.edge-label-bg { fill: #fbfcf8; stroke: #dce3db; stroke-width: 1; }
.edge-label { fill: #4c5d53; font: 700 11px/1 sans-serif; }
.graph-node rect { fill: #fff; stroke: #d3ddd4; stroke-width: 1.2; transition: stroke .14s ease, fill .14s ease; }
.graph-row.is-active .graph-node rect { fill: #fff9e7; stroke: #c29a35; stroke-width: 2; }
.graph-row:focus .graph-node rect { stroke: #9a741a; stroke-width: 2.5; }
.graph-node { cursor: pointer; }
.node-lane { fill: #728078; font: 500 9.5px/1 sans-serif; }
.node-title { fill: #20362f; font: 700 12px/1 sans-serif; }
.graph-hint { margin: .55rem .1rem 0; color: var(--studio-muted); font-size: .72rem; line-height: 1.4; }
.graph-hint span { color: #92701d; font-weight: 800; }
.detail-panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 1.1rem;
  border: 1px solid #dce3db;
  border-radius: .75rem;
  background: #f6f7f1;
}
.detail-topline { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .45rem; }
.detail-index { color: var(--studio-muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; }
.status-badge { display: inline-flex; align-items: center; width: fit-content; padding: .28rem .58rem; border: 1px solid currentColor; border-radius: 999px; font-size: .68rem; font-weight: 750; line-height: 1.2; }
.status-badge.observed { color: #245d48; background: #e8f1e9; }
.status-badge.partial { color: #735113; background: #fbf1d8; }
.status-badge.verify { color: #494b62; background: #eeedf5; }
.status-badge.goal { color: #7b3e2b; background: #f8eae3; }
.detail-panel h3 { margin: .75rem 0 .45rem; color: var(--studio-forest); font: 700 1.35rem/1.16 Georgia, "Times New Roman", serif; }
.detail-summary { margin: 0 0 .8rem; color: #45564c; font-size: .88rem; line-height: 1.5; }
.detail-block { padding-block: .65rem; border-top: 1px solid #dce3db; }
.detail-block h4 { margin: 0 0 .22rem; color: var(--studio-ink); font-size: .76rem; }
.detail-block p { margin: 0; color: var(--studio-muted); font-size: .77rem; line-height: 1.45; }
.limit-block { border-top-style: dashed; }
.next-check { display: flex; gap: .6rem; margin-top: auto; padding: .7rem; border-radius: .55rem; background: #edf1e9; }
.next-icon { flex: 0 0 auto; color: #947018; font-weight: 800; }
.next-check p { display: grid; gap: .2rem; margin: 0; font-size: .74rem; line-height: 1.4; }
.next-check p strong { color: var(--studio-ink); }
.next-check p span { color: var(--studio-muted); }
.detail-source { margin: .65rem 0 0; color: #748078; font-size: .65rem; line-height: 1.4; }
.graph-legend { display: flex; flex-wrap: wrap; gap: .55rem 1.1rem; margin: .85rem 0 0; color: var(--studio-muted); font-size: .7rem; }
.graph-legend > span { display: inline-flex; align-items: center; gap: .35rem; }
.legend-line { display: inline-block; width: 23px; height: 0; border-top: 2px solid; }
.legend-line.observed { border-color: #2e7358; }
.legend-line.partial { border-color: #a87516; border-top-style: dashed; }
.legend-line.verify { border-color: #62637a; border-top-style: dotted; }
.legend-line.goal { border-color: #a95639; border-top-style: dashed; }
.development-strip,
.contribute-strip { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; margin-top: 1rem; padding: 1.15rem 1.3rem; border: 1px solid var(--studio-line); border-radius: .85rem; }
.development-strip { background: #edf1eb; }
.development-copy { max-width: 72ch; }
.development-copy .section-label,.contribute-strip .section-label { margin-bottom: .28rem; }
.development-copy h2,.contribute-strip h2 { font-size: clamp(1.2rem, 2vw, 1.55rem); }
.development-copy > p:last-child,.contribute-strip div > p:last-child { margin: .45rem 0 0; color: var(--studio-muted); font-size: .82rem; line-height: 1.45; }
.future-tool { display: flex; flex: 0 0 auto; align-items: center; gap: .65rem; padding: .65rem .8rem; border: 1px dashed #aab6aa; border-radius: .7rem; background: #ffffff91; }
.future-icon { display: grid; width: 33px; height: 33px; place-items: center; border-radius: 50%; background: #e9eddf; color: #728051; font-size: 1.2rem; }
.future-tool > span:last-child { display: grid; gap: .18rem; }
.future-tool strong { color: var(--studio-ink); font-size: .75rem; }
.future-tool small { color: var(--studio-muted); font-size: .68rem; }
.contribute-strip { background: #fffefa; }
.contribute-strip > div { max-width: 70ch; }
.contribute-strip .cta { flex: 0 0 auto; }
.studio-disclaimer { margin: .85rem .15rem 0; color: var(--studio-muted); font-size: .74rem; line-height: 1.5; }
.studio-disclaimer strong { color: var(--studio-ink); }
.no-script-map { padding: 1rem; border: 1px solid var(--studio-line); border-radius: .75rem; background: white; }
.no-script-map > p { color: var(--studio-muted); font-size: .85rem; }
.no-script-map details { padding-block: .6rem; border-top: 1px solid var(--studio-line); }
.no-script-map summary { color: var(--studio-forest); font-weight: 700; cursor: pointer; }
.no-script-map details p { margin-bottom: 0; color: var(--studio-muted); font-size: .82rem; line-height: 1.5; }
.js-ready .no-script-map { display: none; }
.map-footer { background: var(--forest, #123f35); color: var(--paper, #fff9ef); }
.map-footer-inner { display: flex; width: min(1240px, calc(100% - 40px)); margin-inline: auto; padding-block: .75rem; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: .6rem 1.2rem; }
.map-footer a { display: inline-flex; min-height: 40px; align-items: center; color: inherit; }
.map-footer-inner > a { color: var(--gold, #f4c44e); font: 700 1.1rem Georgia, serif; text-decoration: none; }
.map-footer nav { display: flex; flex-wrap: wrap; gap: .2rem 1rem; font-size: .8rem; }
.map-footer a:focus-visible { outline: 2px solid var(--gold, #f4c44e); outline-offset: 3px; }
@media (max-width: 900px) {
  .overview { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .metric-all { grid-column: span 1; }
  .workspace-grid { grid-template-columns: minmax(0, 1.35fr) minmax(270px, .9fr); }
  .design-graph { min-width: 650px; }
}
@media (max-width: 700px) {
  .studio-shell { width: min(100% - 24px, 560px); padding-top: 1.2rem; }
  .studio-intro { align-items: flex-start; gap: .75rem; }
  .studio-intro h1 { font-size: clamp(1.9rem, 8vw, 2.6rem); }
  .studio-lead { font-size: .94rem; }
  .updated-chip { padding: .45rem .55rem; font-size: .65rem; }
  .updated-chip strong { font-size: .68rem; }
  .overview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .45rem; margin-bottom: 1rem; }
  .metric { min-height: 63px; padding: .55rem .7rem; }
  .metric-number { font-size: 1.55rem; }
  .metric-label { font-size: .7rem; }
  .workspace-heading { align-items: flex-start; flex-direction: column; }
  .map-explainer { max-width: none; text-align: left; }
  .filter-result { flex: 1 0 100%; margin-left: 0; }
  .workspace-grid { grid-template-columns: 1fr; }
  .graph-scroll { overflow: visible; border: 0; background: transparent; }
  .design-graph { display: none; }
  .js-ready .design-graph { display: none; }
  .mobile-map { display: grid; gap: .5rem; }
  .mobile-edge {
    display: grid;
    gap: .5rem;
    width: 100%;
    padding: .7rem .8rem;
    border: 1px solid var(--studio-line);
    border-inline-start: 4px solid #62637a;
    border-radius: .65rem;
    background: #fff;
    color: var(--studio-ink);
    text-align: left;
    cursor: pointer;
  }
  .mobile-edge.status-observed { border-inline-start-color: #2e7358; }
  .mobile-edge.status-partial { border-inline-start-color: #a87516; }
  .mobile-edge.status-verify { border-inline-start-color: #62637a; }
  .mobile-edge.status-goal { border-inline-start-color: #a95639; }
  .mobile-edge.is-active { box-shadow: inset 0 0 0 1px var(--studio-forest); background: #f6f8f3; }
  .mobile-edge[hidden] { display: none; }
  .mobile-edge-head { display: flex; justify-content: space-between; color: var(--studio-muted); font-size: .68rem; font-weight: 750; }
  .mobile-route { display: grid; grid-template-columns: minmax(0,1fr) auto minmax(0,1fr); align-items: center; gap: .45rem; }
  .mobile-route strong { font-size: .78rem; line-height: 1.25; }
  .mobile-route strong:last-child { text-align: right; }
  .mobile-route i { max-width: 7.5rem; color: var(--studio-muted); font-size: .65rem; font-style: normal; text-align: center; }
  .detail-panel { min-height: auto; }
  .next-check { margin-top: .35rem; }
  .development-strip,.contribute-strip { align-items: flex-start; flex-direction: column; padding: 1rem; }
  .future-tool { width: 100%; }
  .contribute-strip .cta { width: 100%; }
  .map-footer-inner { align-items: flex-start; flex-direction: column; }
}
@media (max-width: 380px) {
  .studio-intro { flex-direction: column; }
  .updated-chip { align-self: flex-start; }
  .metric { gap: .1rem .45rem; }
}
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
