:root {
  --paper: #fffdf8;
  --cream: #f3ead8;
  --cream-deep: #e7dbc4;
  --ink: #12313c;
  --deep: #0c4655;
  --teal: #0f6c73;
  --coral: #db5a3c;
  --peach: #f4a261;
  --mint: #b9d7c8;
  --line: rgba(18, 49, 60, .18);
  --shadow: 0 24px 70px rgba(25, 45, 48, .12);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--cream);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); }
button, input, select, textarea { font: inherit; }
a { color: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: var(--ink); color: #fff; }
.skip-link:focus { top: 1rem; }

.site-header {
  position: sticky;
  z-index: 20;
  top: 0;
  min-height: 84px;
  display: grid;
  grid-template-columns: 260px 1fr 180px;
  align-items: center;
  padding: 0 clamp(1.2rem, 4vw, 4.2rem);
  background: rgba(243, 234, 216, .94);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}
.brand img { width: 176px; display: block; }
.site-header nav { display: flex; justify-content: center; gap: clamp(.55rem, 1vw, 1.1rem); }
.site-header nav a { font-size: .72rem; font-weight: 800; letter-spacing: .16em; text-decoration: none; text-transform: uppercase; }
.site-header nav a:hover, .site-header nav a:focus-visible { color: var(--coral); }
.site-header nav a[aria-current="page"] { color: var(--coral); }
.service-date { justify-self: end; text-align: right; }
.service-date span { display: block; font-size: .58rem; letter-spacing: .16em; text-transform: uppercase; }
.service-date b { font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }

.opening { min-height: calc(100vh - 84px); display: grid; grid-template-columns: 56% 44%; background: var(--cream); }
.opening-product {
  width: 100%;
  min-height: 620px;
  margin: 0;
  grid-template-columns: 45% 55%;
  border: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  overflow: hidden;
}
.opening-product .opening-photo { min-height: 620px; }
.opening-product .opening-copy { padding: clamp(2.3rem, 4.4vw, 4.8rem); }
.opening-product h1 { max-width: 620px; font-size: clamp(3.4rem, 4.7vw, 5.8rem); line-height: .96; }
.opening-photo { position: relative; min-height: 720px; overflow: hidden; background: var(--deep); }
.opening-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 48, 55, .04), rgba(8, 48, 55, .46));
  pointer-events: none;
}
.opening-photo img { width: 100%; height: 100%; display: block; object-fit: cover; filter: saturate(.75) contrast(1.06); }
.opening-product .opening-photo img { object-position: 38% center; filter: saturate(.88) contrast(1.04); }
.photo-index { position: absolute; z-index: 2; inset: auto 2rem 2rem; display: flex; justify-content: space-between; color: #fff; font-size: .65rem; letter-spacing: .13em; }
.opening-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: clamp(3rem, 7vw, 7rem); overflow: hidden; }
.opening-copy::before, .opening-copy::after { content: ""; position: absolute; border: 1px solid rgba(219, 90, 60, .5); border-radius: 50%; }
.opening-copy::before { width: 170px; height: 170px; right: -50px; top: 90px; }
.opening-copy::after { width: 78px; height: 78px; right: 0; top: 136px; }
.eyebrow, .section-heading span, .data-contract span, .zone-title span, .capacity-ledger > span,
.day-top span, .day-kpis span, .day-sources > span, .day-plan > span, .model-score span, .next-gate > span {
  color: var(--coral);
  font-size: .69rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { font-family: Georgia, "Times New Roman", serif; font-weight: 400; }
h1 { max-width: 720px; margin: 1.2rem 0 1.7rem; font-size: clamp(3.4rem, 5.2vw, 6.5rem); line-height: .92; letter-spacing: -.045em; }
.opening-copy > p { max-width: 610px; font-size: 1.08rem; line-height: 1.75; }
.primary-action { width: max-content; margin-top: 1.2rem; padding: 1rem 1.1rem; background: var(--deep); color: #fff; font-weight: 800; text-decoration: none; }
.primary-action span { margin-left: 1.5rem; color: var(--peach); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; margin-top: 1.2rem; }
.hero-actions .primary-action { margin-top: 0; }
.text-action { padding: .8rem .15rem; color: var(--deep); font-size: .78rem; font-weight: 900; letter-spacing: .09em; text-decoration-color: var(--coral); text-underline-offset: .35rem; text-transform: uppercase; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.opening-product .hero-proof { margin-top: 1.5rem; padding-top: 1rem; }
.hero-proof b { display: block; font-family: Georgia, serif; font-size: 1.85rem; font-weight: 400; }
.hero-proof span { display: block; margin-top: .25rem; color: rgba(18,49,60,.6); font-size: .66rem; line-height: 1.35; text-transform: uppercase; }
.truth-strip { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 2.2rem; font-size: .72rem; color: rgba(18, 49, 60, .72); }
.truth-strip span { display: inline-flex; align-items: center; gap: .5rem; }
i.measured, i.synthetic, i.derived { width: .7rem; height: .7rem; display: inline-block; border-radius: 50%; }
i.measured { background: var(--teal); }
i.synthetic { background: var(--peach); }
i.derived { background: var(--coral); }

.section { padding: clamp(5rem, 9vw, 9rem) clamp(1.2rem, 4vw, 4.2rem); }
.section-heading { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .8fr); align-items: end; gap: 4rem; max-width: 1440px; margin: 0 auto 3.5rem; }
.section-heading h2 { max-width: 900px; margin: .7rem 0 0; font-size: clamp(3.1rem, 5vw, 6rem); line-height: .96; letter-spacing: -.04em; }
.section-heading p { max-width: 590px; margin-bottom: .3rem; font-size: 1rem; line-height: 1.75; }

.evidence { background: var(--paper); }
.product-preview { background: var(--paper); }
.forecast-week { max-width: 1440px; margin: 0 auto 10px; display: grid; grid-template-columns: repeat(7,minmax(0,1fr)); border: 1px solid var(--line); background: #fff; }
.forecast-week button { min-width: 0; padding: 1rem .85rem .9rem; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; transition: background .18s,color .18s; }
.forecast-week button:last-child { border-right: 0; }
.forecast-week button:hover { background: var(--cream); }
.forecast-week button.is-active { background: var(--deep); color: #fff; }
.forecast-week span { display: block; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.forecast-week b { display: block; margin: .32rem 0 .18rem; font: 400 1.45rem/1 Georgia,serif; }
.forecast-week button.is-closed-day b { font-size: 1.12rem; line-height: 1.05; }
.forecast-week small { display: block; overflow: hidden; color: rgba(18,49,60,.58); font-size: .66rem; line-height: 1.3; text-overflow: ellipsis; white-space: nowrap; }
.forecast-week button.is-active small { color: rgba(255,255,255,.62); }
.forecast-showcase { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.35fr .65fr; box-shadow: var(--shadow); }
.forecast-main { min-height: 560px; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto 1fr auto auto; gap: 1.35rem 2rem; padding: clamp(2rem,5vw,5rem); background: var(--deep); color: #fff; }
.forecast-date span, .forecast-number span, .forecast-decisions span, .grounding-copy > span { color: var(--peach); font-size: .66rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.forecast-date b { display: block; margin-top: .55rem; font-family: Georgia,serif; font-size: clamp(1.75rem,2.55vw,2.85rem); font-weight: 400; line-height: 1.05; text-wrap: balance; }
.forecast-date small { display: block; margin-top: .55rem; color: rgba(255,255,255,.58); }
.forecast-number { text-align: right; }
.forecast-number strong { display: block; font-family: Georgia,serif; font-size: clamp(4rem,7vw,7rem); font-weight: 400; line-height: .82; }
.forecast-main.is-closed-forecast .forecast-number strong { font-size: clamp(2.8rem,4.5vw,4.8rem); line-height: .9; }
.forecast-number small { display: block; margin-top: 1.35rem; color: rgba(255,255,255,.55); }
.forecast-curve { position: relative; grid-column: 1 / -1; height: 280px; display: grid; grid-template-columns: repeat(var(--chart-columns,23),minmax(0,1fr)); align-items: end; gap: 4px; padding: 0 5.8rem; }
.forecast-curve::before,.timeline::before,.staff-curve::before { content: ""; position: absolute; z-index: 0; inset: 0 5.8rem; border-bottom: 1px solid rgba(255,255,255,.25); background: repeating-linear-gradient(to top,rgba(255,255,255,.07) 0 1px,transparent 1px 25%); pointer-events: none; }
.forecast-curve i { position: relative; z-index: 1; width: 100%; min-width: 0; background: linear-gradient(180deg,var(--peach),var(--coral)); transition: height .35s, filter .2s, transform .2s; }
.forecast-curve i.is-current { z-index: 2; filter: brightness(1.2); outline: 2px solid #fff; outline-offset: 2px; }
.forecast-curve i.is-current::after { content: attr(data-now); position: absolute; left: 50%; bottom: calc(100% + .7rem); transform: translateX(-50%); padding: .32rem .48rem; background: #fff; color: var(--deep); font-size: .58rem; font-style: normal; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.forecast-now { position: absolute; z-index: 3; bottom: 0; width: 3px; height: 122px; background: #fff; }
.forecast-now[data-edge="before"] { left: 5.35rem !important; }
.forecast-now[data-edge="after"] { left: calc(100% - 5.8rem) !important; }
.forecast-now::after { content: ""; position: absolute; top: 0; right: 0; width: 38px; height: 3px; background: #fff; }
.forecast-now span { position: absolute; bottom: calc(100% - 10px); right: 36px; padding: .42rem .58rem; border: 1px solid rgba(12,70,85,.22); background: #fff; box-shadow: 0 6px 18px rgba(5,31,38,.24); color: var(--deep); font: 900 .58rem/1 Inter,Arial,sans-serif; letter-spacing: .06em; white-space: nowrap; text-transform: uppercase; }
.forecast-now[data-edge="before"]::after { right: 0; left: auto; width: 14px; }
.forecast-now[data-edge="before"] span { right: 12px; left: auto; padding: .36rem .46rem; font-size: .52rem; transform: none; }
.forecast-now[data-edge="after"]::after { right: 0; left: auto; }
.forecast-now[data-edge="after"] span { right: 36px; left: auto; transform: none; }
.forecast-times { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12, 1fr); gap: 4px; padding: 0 5.8rem; color: rgba(255,255,255,.5); font-size: .62rem; }
.forecast-times span { display: grid; place-items: center; text-align: center; }
.forecast-hourly-weather { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(12,1fr); gap: 4px; padding: 0 5.8rem; color: rgba(255,255,255,.72); }
.forecast-hourly-weather article { min-width: 0; display: grid; justify-items: center; gap: .18rem; padding-top: .35rem; border-top: 1px solid rgba(255,255,255,.12); text-align: center; }
.forecast-hourly-weather article[data-severity="high"] { color: #ffd3c1; border-top-color: rgba(255,151,105,.72); }
.forecast-hourly-weather article[data-severity="medium"] { color: #f8d5a6; border-top-color: rgba(255,211,161,.42); }
.forecast-hourly-weather svg { width: 24px; height: 24px; overflow: visible; }
.forecast-hourly-weather b { font: 700 .62rem/1 Inter,"Segoe UI",Arial,sans-serif; }
.forecast-hourly-weather small { min-height: .75rem; color: currentColor; font-size: .5rem; line-height: 1; white-space: nowrap; }
.forecast-hourly-weather article[data-precipitation="0"] small { visibility: hidden; }
.chart-y-axis { position: absolute; z-index: 2; inset: 0 auto 0 0; width: 5.8rem; pointer-events: none; color: rgba(255,255,255,.72); font-style: normal; }
.chart-y-axis em { position: absolute; top: 50%; left: -.35rem; width: auto; transform: translateY(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: .5rem; font-style: normal; font-weight: 800; letter-spacing: .09em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.chart-y-axis b { position: absolute; right: .55rem; bottom: var(--axis-position); width: 2.45rem; transform: translateY(50%); font-family: Inter,"Segoe UI",Arial,sans-serif; font-size: .58rem; font-weight: 700; line-height: 1; text-align: right; }
.forecast-decisions { display: grid; background: var(--cream); }
.forecast-decisions article { padding: 1.7rem 2rem; border-bottom: 1px solid var(--line); }
.forecast-decisions article:last-child { border-bottom: 0; }
.forecast-decisions b { display: block; margin: .55rem 0 .25rem; font-family: Georgia,serif; font-size: 1.6rem; font-weight: 400; }
.forecast-decisions small { color: rgba(18,49,60,.55); line-height: 1.45; }
.forecast-decisions .forecast-reason { align-content: center; background: #fff8ec; }
.forecast-reason p { margin: .7rem 0 0; line-height: 1.65; }
.live-source { max-width: 1440px; margin: .85rem auto 0; color: rgba(18,49,60,.58); font-size: .72rem; text-align: right; }
.data-integrity-status { max-width: 1440px; margin: .5rem auto 0; color: rgba(18,49,60,.68); font: 800 .66rem/1.4 Inter,"Segoe UI",Arial,sans-serif; letter-spacing: .035em; text-align: right; }
.data-integrity-status::before { content: ""; display: inline-block; width: .58rem; height: .58rem; margin-right: .42rem; border-radius: 50%; background: #d69f38; vertical-align: -.04rem; }
.data-integrity-status.is-passed { color: #2f6955; }
.data-integrity-status.is-passed::before { background: #52a47f; box-shadow: 0 0 0 3px rgba(82,164,127,.14); }
.data-integrity-status.is-blocked { color: #ad3f2d; }
.data-integrity-status.is-blocked::before { background: #d9543d; box-shadow: 0 0 0 3px rgba(217,84,61,.14); }
.data-integrity-status.is-updating::before { animation: integrity-pulse 1s ease-in-out infinite alternate; }
@keyframes integrity-pulse { to { opacity: .35; transform: scale(.72); } }
.quality-system { margin: 1.6rem 0 2rem; border: 1px solid rgba(12,70,85,.18); background: var(--deep); color: #fff; box-shadow: var(--shadow); }
.quality-system-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: end; padding: 2.4rem 3rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.quality-system-heading span,.quality-system-layers span { color: var(--peach); font: 900 .64rem/1 Inter,"Segoe UI",Arial,sans-serif; letter-spacing: .11em; text-transform: uppercase; }
.quality-system-heading h2 { max-width: 720px; margin: .7rem 0 0; font: 400 clamp(2.2rem,4vw,4.4rem)/.95 Georgia,serif; }
.quality-system-heading p { margin: 0; color: rgba(255,255,255,.72); line-height: 1.7; }
.quality-system-kpis { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid rgba(255,255,255,.14); }
.quality-system-kpis article { padding: 1.5rem 2rem; border-right: 1px solid rgba(255,255,255,.14); }
.quality-system-kpis article:last-child { border-right: 0; }
.quality-system-kpis strong { display: block; font: 400 2.4rem/1 Georgia,serif; }
.quality-system-kpis span { display: block; margin-top: .4rem; color: rgba(255,255,255,.58); font-size: .7rem; line-height: 1.35; }
.quality-system-layers { display: grid; grid-template-columns: repeat(4,1fr); }
.quality-system-layers article { min-height: 235px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.14); }
.quality-system-layers article:last-child { border-right: 0; }
.quality-system-layers h3 { margin: .8rem 0; font: 400 1.45rem/1.05 Georgia,serif; }
.quality-system-layers p { margin: 0; color: rgba(255,255,255,.68); line-height: 1.6; }
.quality-system-layers p b { color: #fff; }
.quality-system-note { margin: 0; padding: 1.25rem 2rem; border-top: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: rgba(255,255,255,.62); font-size: .72rem; line-height: 1.6; }
.route-cta { max-width: 1440px; min-height: 104px; margin: 1rem auto 0; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 1.5rem; padding: 1.4rem 1.7rem; border: 1px solid var(--line); text-decoration: none; }
.route-cta span { padding: .5rem .7rem; background: var(--coral); color: #fff; font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.route-cta b { font-family: Georgia,serif; font-size: 1.35rem; font-weight: 400; }
.route-cta em { color: var(--coral); font-size: .7rem; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.capability-section { background: var(--cream); }
.capability-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); border: 1px solid var(--line); }
.capability-grid a { min-height: 340px; display: flex; flex-direction: column; padding: 2rem; border-right: 1px solid var(--line); background: rgba(255,253,248,.55); text-decoration: none; transition: transform .2s,background .2s; }
.capability-grid a:last-child { border-right: 0; }
.capability-grid a:hover { z-index: 1; transform: translateY(-7px); background: var(--paper); box-shadow: var(--shadow); }
.capability-grid span { color: var(--coral); font-size: .68rem; font-weight: 900; letter-spacing: .14em; }
.capability-grid h3 { margin: 2.2rem 0 .8rem; font-size: 2.2rem; }
.capability-grid p { color: rgba(18,49,60,.68); line-height: 1.65; }
.capability-grid em { margin-top: auto; color: var(--coral); font-size: .68rem; font-style: normal; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.grounding { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem,7vw,8rem); align-items: center; background: var(--deep); color: #fff; }
.grounding-copy { justify-self: end; max-width: 620px; }
.grounding-copy h2 { margin: .8rem 0 1.3rem; font-size: clamp(3rem,5vw,5.5rem); line-height: .95; }
.grounding-copy p { color: rgba(255,255,255,.68); line-height: 1.75; }
.grounding-copy .primary-action { display: inline-block; background: var(--coral); }
.grounding-list { max-width: 720px; border-top: 1px solid rgba(255,255,255,.16); }
.grounding-list article { display: grid; grid-template-columns: 170px 1fr; gap: 2rem; padding: 1.5rem 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.grounding-list b { font-family: Georgia,serif; font-size: 1.35rem; font-weight: 400; }
.grounding-list span { color: rgba(255,255,255,.62); line-height: 1.5; }

.route-hero { padding: clamp(4rem,8vw,8rem) clamp(1.2rem,4vw,4.2rem) 3rem; background: var(--cream); }
.route-hero-inner { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.1fr .65fr; gap: 4rem; align-items: end; }
.route-hero h1 { margin-bottom: 0; }
.route-hero h1 { max-width: 840px; line-height: 1.01; letter-spacing: -.035em; }
.route-hero p { max-width: 600px; margin-bottom: .5rem; font-size: 1.05rem; line-height: 1.75; }
.route-page .section { padding-top: 4rem; }
.proof-grid { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.proof-grid article { min-height: 210px; padding: 2rem; border-right: 1px solid var(--line); background: linear-gradient(145deg, #fff, var(--cream)); }
.proof-grid article:last-child { border-right: 0; }
.proof-grid span { display: block; margin-bottom: 2rem; color: var(--coral); font-size: .65rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.proof-grid strong { display: block; font-family: Georgia, serif; font-size: clamp(2.4rem, 4vw, 4.7rem); font-weight: 400; line-height: .9; }
.proof-grid small { display: block; margin-top: 1.2rem; line-height: 1.4; color: rgba(18, 49, 60, .62); }
.database-callout { max-width: 1440px; min-height: 118px; margin: 1rem auto 0; display: grid; grid-template-columns: auto 1fr auto; gap: 1.5rem; align-items: center; padding: 1.35rem 1.6rem; border: 1px solid var(--line); background: #fff7ea; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.database-callout:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.database-callout > span { padding: .55rem .7rem; background: var(--coral); color: #fff; font-size: .6rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.database-callout b { display: block; font-family: Georgia, serif; font-size: 1.45rem; font-weight: 400; }
.database-callout small { display: block; margin-top: .35rem; color: rgba(18,49,60,.6); }
.database-callout em { color: var(--coral); font-size: .68rem; font-style: normal; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.data-contract { max-width: 1440px; margin: 1.5rem auto 0; display: grid; grid-template-columns: .9fr 1.5fr; background: var(--deep); color: #fff; box-shadow: var(--shadow); }
.contract-intro { padding: clamp(2rem, 5vw, 4.5rem); border-right: 1px solid rgba(255,255,255,.15); }
.contract-intro span { color: var(--peach); }
.contract-intro h3 { margin: .8rem 0 1rem; font-size: clamp(2.3rem, 3vw, 4rem); line-height: 1; }
.contract-intro p { max-width: 500px; color: rgba(255,255,255,.72); line-height: 1.7; }
.contract-ledger { display: grid; }
.contract-ledger article { display: grid; grid-template-columns: 18px 1fr auto; align-items: center; gap: 1.3rem; padding: 1.6rem 2rem; border-bottom: 1px solid rgba(255,255,255,.14); }
.contract-ledger article:last-child { border-bottom: 0; }
.contract-ledger b { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.contract-ledger p { margin: .35rem 0 0; color: rgba(255,255,255,.64); line-height: 1.5; }
.contract-ledger em { color: var(--peach); font-size: .63rem; font-style: normal; letter-spacing: .12em; text-transform: uppercase; }

.table-section { background: var(--cream); }
.floor-shell { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1fr 330px; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.floor-plan { padding: clamp(2rem, 4vw, 4rem); }
.zone-title { display: flex; align-items: center; justify-content: space-between; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.zone-title b { font-family: Georgia, serif; font-size: 1.4rem; font-weight: 400; }
.terrace-title { margin-top: 2.8rem; }
.table-family { display: grid; grid-template-columns: repeat(11, minmax(36px, 1fr)); gap: .75rem; margin-top: 1.5rem; }
.table-token { position: relative; min-height: 72px; display: grid; place-items: center; padding: .5rem; border: 1px solid rgba(15, 108, 115, .42); background: #edf5f0; color: var(--deep); transition: transform .2s, background .2s; }
.table-token:hover { z-index: 2; transform: translateY(-4px); background: #d8ebe1; }
.table-token b { font-family: Georgia, serif; font-size: 1.25rem; font-weight: 400; }
.table-token small { position: absolute; bottom: .35rem; font-size: .5rem; letter-spacing: .08em; }
.table-token.is-joinable::after { content: "↔"; position: absolute; top: .2rem; right: .35rem; color: var(--coral); font-size: .7rem; }
.table-token.size-6 { grid-column: span 2; background: #f6e7da; border-color: rgba(219, 90, 60, .36); }
.table-token.size-10 { grid-column: span 3; background: var(--deep); color: #fff; }
.terrace-family .table-token { background: #fff7e8; border-color: rgba(244, 162, 97, .55); }
.capacity-ledger { padding: 2.5rem; background: var(--deep); color: #fff; }
.capacity-ledger > span { color: var(--peach); }
.capacity-ledger dl { margin: 2rem 0; }
.capacity-ledger dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid rgba(255,255,255,.15); }
.capacity-ledger dt { color: rgba(255,255,255,.65); }
.capacity-ledger dd { margin: 0; font-family: Georgia, serif; font-size: 1.45rem; }
.capacity-ledger p { color: rgba(255,255,255,.66); line-height: 1.7; }

.simulation { background: var(--paper); }
.scenario-tabs { max-width: 1440px; margin: 0 auto 10px; display: grid; grid-template-columns: repeat(5, 1fr); background: #fff; border: 1px solid var(--line); }
.scenario-tabs button { min-height: 100px; padding: 1.2rem; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.scenario-tabs button:last-child { border-right: 0; }
.scenario-tabs button b { display: block; margin-bottom: .4rem; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; }
.scenario-tabs button small { color: rgba(18,49,60,.6); }
.scenario-tabs button:hover, .scenario-tabs button:focus-visible { background: #fff2e7; }
.scenario-tabs button.is-active { background: var(--deep); color: #fff; }
.scenario-tabs button.is-active small { color: rgba(255,255,255,.65); }
.day-canvas { max-width: 1440px; margin: 0 auto; background: var(--deep); color: #fff; box-shadow: var(--shadow); }
.day-top { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: end; padding: clamp(2rem, 4vw, 4rem); border-bottom: 1px solid rgba(255,255,255,.14); }
.day-top h2, .day-top h3 { margin: .7rem 0 .8rem; font-size: clamp(2.7rem, 4.5vw, 5.5rem); line-height: .94; }
.day-top p { max-width: 800px; margin: 0; color: rgba(255,255,255,.65); line-height: 1.6; }
.day-verdict { min-width: 220px; text-align: right; }
.day-verdict span { color: var(--peach); }
.day-verdict b { display: block; font-family: Georgia, serif; font-size: 5.5rem; font-weight: 400; line-height: .9; }
.day-verdict small { display: block; margin-top: .85rem; color: rgba(255,255,255,.6); }
.day-canvas.is-closed .day-verdict b { margin-top: .8rem; font-size: clamp(2.4rem,4vw,4.2rem); }
.day-canvas.is-closed .timeline { min-height: 150px; }
.timeline .closed-service-marker { width: 100%; height: 7px !important; flex: 0 0 100%; background: rgba(255,255,255,.65); }
.timeline .closed-service-marker::after { content: "Gesloten volgens rooster"; position: absolute; left: 50%; bottom: 1rem; transform: translateX(-50%); color: rgba(255,255,255,.75); font: 900 .65rem/1 Inter,Arial,sans-serif; letter-spacing: .1em; text-transform: uppercase; }

.venue-plan { position: relative; max-width: 1440px; margin: 0 auto; padding: clamp(1.2rem,3vw,3rem); border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.venue-plan-head { display: grid; grid-template-columns: 1fr minmax(320px,.7fr); gap: 3rem; align-items: end; margin-bottom: 2rem; }
.venue-plan-head span { color: var(--coral); font-size: .66rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.venue-plan-head h2 { margin: .6rem 0 0; font-size: clamp(2.4rem,4vw,4.7rem); line-height: .98; }
.venue-plan-head p { margin: 0; color: rgba(18,49,60,.66); line-height: 1.65; }
.room-scroll { width: 100%; overflow-x: auto; border: 1px solid var(--line); background: #e9e1d2; }
.room-map { position: relative; min-width: 980px; height: 720px; overflow: hidden; background:
  linear-gradient(90deg, transparent 49.7%, rgba(12,70,85,.08) 49.7% 50.3%, transparent 50.3%),
  repeating-linear-gradient(90deg,rgba(18,49,60,.025) 0 1px,transparent 1px 44px),
  repeating-linear-gradient(0deg,rgba(18,49,60,.025) 0 1px,transparent 1px 44px),
  #fffdf8;
}
.room-map::after { content: ""; position: absolute; inset: 14px; z-index: 0; border: 2px solid rgba(18,49,60,.28); pointer-events: none; }
.room-fixture { position: absolute; z-index: 4; display: grid; align-content: center; padding: .8rem 1rem; border: 1px solid rgba(18,49,60,.25); background: var(--deep); color: #fff; }
.room-fixture b { font-family: Georgia,serif; font-size: 1.15rem; font-weight: 400; }
.room-fixture small { margin-top: .25rem; color: rgba(255,255,255,.58); font-size: .62rem; text-transform: uppercase; }
.room-fixture.kitchen { top: 14px; left: 14px; width: 250px; height: 82px; }
.room-fixture.dishwash { top: 14px; left: 278px; width: 168px; height: 82px; background: #557077; }
.room-fixture.bar { top: 14px; right: 14px; width: 250px; height: 82px; background: var(--coral); }
.room-fixture.station { width: 135px; height: 62px; background: #e7dbc4; color: var(--ink); }
.room-fixture.station small { color: rgba(18,49,60,.55); }
.station-a { top: 250px; left: 22px; }
.station-b { top: 430px; right: 22px; }
.room-door { position: absolute; z-index: 5; padding: .35rem .7rem; border: 1px solid var(--deep); background: #fff; color: var(--deep); font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.front-door { bottom: 2px; left: 44%; }
.terrace-door { right: -2px; top: 145px; transform: rotate(-90deg); transform-origin: right top; }
.route-line { position: absolute; z-index: 1; pointer-events: none; }
.route-line span { position: absolute; padding: .25rem .4rem; background: #fff; color: var(--teal); font-size: .55rem; font-weight: 900; letter-spacing: .08em; white-space: nowrap; text-transform: uppercase; }
.kitchen-route { top: 94px; bottom: 14px; left: 48.5%; width: 7%; border-right: 3px dashed var(--coral); border-left: 3px dashed var(--coral); background: rgba(244,162,97,.08); }
.kitchen-route span { top: 8px; left: 50%; transform: translateX(-50%); color: var(--coral); }
.service-loop { inset: 145px 105px 78px; border: 3px dotted rgba(15,108,115,.55); border-radius: 90px; }
.service-loop span { right: 50px; top: -13px; }
.spatial-tables { position: absolute; z-index: 3; inset: 0; margin: 0; display: grid; grid-template-columns: repeat(12,1fr); grid-template-rows: repeat(8,1fr); gap: 12px; padding: 115px 175px 55px; }
.spatial-tables .table-token { min-height: 0; grid-column: auto; padding: .3rem; border-radius: 46%; box-shadow: 0 5px 12px rgba(18,49,60,.08); }
.spatial-tables .table-token.size-6,
.spatial-tables .table-token.size-10 { grid-column: auto; }
.indoor-spatial .table-token:nth-child(1) { grid-area: 2 / 1; }
.indoor-spatial .table-token:nth-child(2) { grid-area: 2 / 3; }
.indoor-spatial .table-token:nth-child(3) { grid-area: 2 / 10; }
.indoor-spatial .table-token:nth-child(4) { grid-area: 2 / 12; }
.indoor-spatial .table-token:nth-child(5) { grid-area: 4 / 1; }
.indoor-spatial .table-token:nth-child(6) { grid-area: 4 / 3; }
.indoor-spatial .table-token:nth-child(7) { grid-area: 4 / 10; }
.indoor-spatial .table-token:nth-child(8) { grid-area: 4 / 12; }
.indoor-spatial .table-token:nth-child(9) { grid-area: 6 / 1; }
.indoor-spatial .table-token:nth-child(10) { grid-area: 6 / 12; }
.indoor-spatial .table-token:nth-child(11) { grid-area: 2 / 5 / 3 / 7; }
.indoor-spatial .table-token:nth-child(12) { grid-area: 2 / 7 / 3 / 9; }
.indoor-spatial .table-token:nth-child(13) { grid-area: 4 / 5 / 5 / 7; }
.indoor-spatial .table-token:nth-child(14) { grid-area: 4 / 7 / 5 / 9; }
.indoor-spatial .table-token:nth-child(15) { grid-area: 6 / 3 / 7 / 5; }
.indoor-spatial .table-token:nth-child(16) { grid-area: 6 / 9 / 7 / 11; }
.indoor-spatial .table-token:nth-child(17) { grid-area: 7 / 6 / 8 / 8; }
.indoor-spatial .table-token:nth-child(18) { grid-area: 8 / 1 / 9 / 4; }
.indoor-spatial .table-token:nth-child(19) { grid-area: 8 / 4 / 9 / 7; }
.indoor-spatial .table-token:nth-child(20) { grid-area: 8 / 7 / 9 / 10; }
.indoor-spatial .table-token:nth-child(21) { grid-area: 8 / 10 / 9 / 13; }
.indoor-spatial .table-token:nth-child(22) { grid-area: 1 / 5 / 2 / 9; border-radius: 18px; }
.map-legend { display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 1rem 0 2.2rem; color: rgba(18,49,60,.62); font-size: .7rem; }
.map-legend span { display: inline-flex; align-items: center; gap: .45rem; }
.map-legend i { width: 22px; height: 8px; display: inline-block; }
.map-legend .route { border-top: 3px dashed var(--coral); }
.map-legend .loop { border-top: 3px dotted var(--teal); }
.map-legend .join { border: 1px solid var(--coral); background: #edf5f0; }
.map-legend .station { background: var(--cream-deep); }
.terrace-map-title { margin: 0 0 1rem; }
.terrace-map { height: 560px; background:
  repeating-linear-gradient(90deg,rgba(18,49,60,.025) 0 1px,transparent 1px 44px),
  repeating-linear-gradient(0deg,rgba(18,49,60,.025) 0 1px,transparent 1px 44px),
  #f7efe0;
}
.terrace-edge { position: absolute; z-index: 4; top: 14px; left: 14px; right: 14px; height: 44px; display: grid; place-items: center; background: var(--deep); color: #fff; font-size: .65rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.terrace-buffet { top: 78px; left: 20px; width: 210px; height: 72px; }
.host { right: 20px; bottom: 20px; width: 150px; height: 68px; background: var(--coral); }
.planter { right: 20px; top: 78px; width: 170px; height: 72px; background: #557c6a; }
.street-door { bottom: 2px; left: 43%; }
.terrace-route { top: 60px; bottom: 14px; left: 46%; width: 8%; border-right: 3px dashed var(--coral); border-left: 3px dashed var(--coral); background: rgba(244,162,97,.08); }
.terrace-route span { top: 12px; left: 50%; transform: translateX(-50%); color: var(--coral); }
.terrace-loop { inset: 120px 95px 70px; border: 3px dotted rgba(15,108,115,.55); border-radius: 80px; }
.terrace-loop span { right: 45px; top: -13px; }
.terrace-spatial { grid-template-rows: repeat(6,1fr); padding: 95px 115px 55px; }
.terrace-spatial .table-token:nth-child(1) { grid-area: 2 / 1; }
.terrace-spatial .table-token:nth-child(2) { grid-area: 2 / 3; }
.terrace-spatial .table-token:nth-child(3) { grid-area: 2 / 5; }
.terrace-spatial .table-token:nth-child(4) { grid-area: 2 / 8; }
.terrace-spatial .table-token:nth-child(5) { grid-area: 2 / 10; }
.terrace-spatial .table-token:nth-child(6) { grid-area: 2 / 12; }
.terrace-spatial .table-token:nth-child(7) { grid-area: 4 / 1; }
.terrace-spatial .table-token:nth-child(8) { grid-area: 4 / 3; }
.terrace-spatial .table-token:nth-child(9) { grid-area: 4 / 5; }
.terrace-spatial .table-token:nth-child(10) { grid-area: 4 / 8; }
.terrace-spatial .table-token:nth-child(11) { grid-area: 4 / 10; }
.terrace-spatial .table-token:nth-child(12) { grid-area: 4 / 12; }
.terrace-spatial .table-token:nth-child(13) { grid-area: 6 / 2; }
.terrace-spatial .table-token:nth-child(14) { grid-area: 6 / 5; }
.terrace-spatial .table-token:nth-child(15) { grid-area: 6 / 10; }
.terrace-spatial .table-token:nth-child(16) { grid-area: 3 / 2 / 4 / 4; }
.terrace-spatial .table-token:nth-child(17) { grid-area: 3 / 5 / 4 / 7; }
.terrace-spatial .table-token:nth-child(18) { grid-area: 3 / 9 / 4 / 11; }
.terrace-spatial .table-token:nth-child(19) { grid-area: 5 / 2 / 6 / 4; }
.terrace-spatial .table-token:nth-child(20) { grid-area: 5 / 6 / 6 / 8; }
.terrace-spatial .table-token:nth-child(21) { grid-area: 5 / 10 / 6 / 12; }
.spatial-ledger { margin-top: 1.2rem; display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; align-items: start; }
.spatial-ledger > span, .spatial-ledger > p { grid-column: 1; }
.spatial-ledger dl { grid-column: 2; grid-row: 1 / span 2; margin: 0; display: grid; grid-template-columns: repeat(4,1fr); }
.spatial-ledger dl div { display: block; padding: 0 1.2rem; border: 0; border-left: 1px solid rgba(255,255,255,.15); }
.spatial-ledger dd { margin-top: .6rem; }

/* Operational floor plan: a clear 1.4 m centre aisle with tables in two service zones. */
.room-map { min-width: 1080px; }
.room-zone-label { position: absolute; z-index: 2; top: 110px; color: rgba(18,49,60,.48); font-size: .58rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.room-zone-label.zone-left { left: 84px; }
.room-zone-label.zone-right { right: 84px; }
.kitchen-route { top: 96px; bottom: 14px; left: calc(50% - 55px); width: 110px; border: 0; border-right: 2px dashed var(--coral); border-left: 2px dashed var(--coral); background: rgba(244,162,97,.09); }
.service-loop { inset: 138px 62px 54px; border-width: 2px; border-radius: 18px; }
.service-loop span { right: 36px; top: -13px; }
.spatial-tables { grid-template-columns: repeat(14,1fr); grid-template-rows: repeat(8,1fr); gap: 14px 10px; padding: 132px 78px 42px; }
.spatial-tables .table-token { min-width: 0; min-height: 0; border-radius: 4px; box-shadow: 0 4px 10px rgba(18,49,60,.08); }
.spatial-tables .table-token.size-2 { aspect-ratio: 1 / 1; justify-self: center; width: 68%; }
.spatial-tables .table-token.size-4,
.spatial-tables .table-token.size-6,
.spatial-tables .table-token.size-10 { border-radius: 4px; }

.indoor-spatial .table-token:nth-child(1) { grid-area: 2 / 1; }
.indoor-spatial .table-token:nth-child(2) { grid-area: 2 / 3; }
.indoor-spatial .table-token:nth-child(3) { grid-area: 2 / 10; }
.indoor-spatial .table-token:nth-child(4) { grid-area: 2 / 12; }
.indoor-spatial .table-token:nth-child(5) { grid-area: 4 / 1; }
.indoor-spatial .table-token:nth-child(6) { grid-area: 4 / 3; }
.indoor-spatial .table-token:nth-child(7) { grid-area: 4 / 10; }
.indoor-spatial .table-token:nth-child(8) { grid-area: 4 / 12; }
.indoor-spatial .table-token:nth-child(9) { grid-area: 6 / 1; }
.indoor-spatial .table-token:nth-child(10) { grid-area: 6 / 14; }
.indoor-spatial .table-token:nth-child(11) { grid-area: 2 / 5 / 3 / 7; }
.indoor-spatial .table-token:nth-child(12) { grid-area: 2 / 9 / 3 / 11; }
.indoor-spatial .table-token:nth-child(13) { grid-area: 4 / 5 / 5 / 7; }
.indoor-spatial .table-token:nth-child(14) { grid-area: 4 / 9 / 5 / 11; }
.indoor-spatial .table-token:nth-child(15) { grid-area: 6 / 3 / 7 / 6; }
.indoor-spatial .table-token:nth-child(16) { grid-area: 6 / 10 / 7 / 13; }
.indoor-spatial .table-token:nth-child(17) { grid-area: 7 / 4 / 8 / 7; }
.indoor-spatial .table-token:nth-child(18) { grid-area: 8 / 1 / 9 / 4; }
.indoor-spatial .table-token:nth-child(19) { grid-area: 8 / 4 / 9 / 7; }
.indoor-spatial .table-token:nth-child(20) { grid-area: 8 / 9 / 9 / 12; }
.indoor-spatial .table-token:nth-child(21) { grid-area: 8 / 12 / 9 / 15; }
.indoor-spatial .table-token:nth-child(22) { grid-area: 7 / 9 / 8 / 15; }

.terrace-map { height: 590px; }
.terrace-route { top: 58px; bottom: 14px; left: calc(50% - 55px); width: 110px; border: 0; border-right: 2px dashed var(--coral); border-left: 2px dashed var(--coral); background: rgba(244,162,97,.09); }
.terrace-loop { inset: 116px 62px 48px; border-width: 2px; border-radius: 18px; }
.terrace-spatial { grid-template-columns: repeat(14,1fr); grid-template-rows: repeat(6,1fr); padding: 112px 76px 42px; }
.room-zone-label.terrace-left { top: 88px; left: 84px; }
.room-zone-label.terrace-right { top: 88px; right: 84px; }
.terrace-spatial .table-token:nth-child(1) { grid-area: 2 / 1; }
.terrace-spatial .table-token:nth-child(2) { grid-area: 2 / 3; }
.terrace-spatial .table-token:nth-child(3) { grid-area: 2 / 5; }
.terrace-spatial .table-token:nth-child(4) { grid-area: 2 / 10; }
.terrace-spatial .table-token:nth-child(5) { grid-area: 2 / 12; }
.terrace-spatial .table-token:nth-child(6) { grid-area: 2 / 14; }
.terrace-spatial .table-token:nth-child(7) { grid-area: 4 / 1; }
.terrace-spatial .table-token:nth-child(8) { grid-area: 4 / 3; }
.terrace-spatial .table-token:nth-child(9) { grid-area: 4 / 5; }
.terrace-spatial .table-token:nth-child(10) { grid-area: 4 / 10; }
.terrace-spatial .table-token:nth-child(11) { grid-area: 4 / 12; }
.terrace-spatial .table-token:nth-child(12) { grid-area: 4 / 14; }
.terrace-spatial .table-token:nth-child(13) { grid-area: 6 / 2; }
.terrace-spatial .table-token:nth-child(14) { grid-area: 6 / 5; }
.terrace-spatial .table-token:nth-child(15) { grid-area: 6 / 12; }
.terrace-spatial .table-token:nth-child(16) { grid-area: 3 / 2 / 4 / 5; }
.terrace-spatial .table-token:nth-child(17) { grid-area: 3 / 5 / 4 / 7; }
.terrace-spatial .table-token:nth-child(18) { grid-area: 3 / 9 / 4 / 12; }
.terrace-spatial .table-token:nth-child(19) { grid-area: 3 / 12 / 4 / 15; }
.terrace-spatial .table-token:nth-child(20) { grid-area: 5 / 3 / 6 / 6; }
.terrace-spatial .table-token:nth-child(21) { grid-area: 5 / 10 / 6 / 13; }
.day-kpis { display: grid; grid-template-columns: repeat(4, 1fr); }
.day-kpis article { padding: 1.5rem 2rem; border-right: 1px solid rgba(255,255,255,.14); }
.day-kpis article:last-child { border-right: 0; }
.day-kpis span { color: rgba(255,255,255,.58); }
.day-kpis b { display: block; margin: .6rem 0 .25rem; font-family: Georgia, serif; font-size: 2.1rem; font-weight: 400; }
.day-kpis small { color: rgba(255,255,255,.48); }
.timeline-shell { padding: 2rem 3rem 3rem; }
.timeline-labels { display: grid; grid-template-columns: repeat(12, minmax(0,1fr)); margin-top: .65rem; padding: 0 5.8rem; color: rgba(255,255,255,.56); font-size: .58rem; }
.timeline-labels span { text-align: left; }
.timeline-labels span:last-child { text-align: right; }
.timeline { position: relative; height: 230px; margin-top: .7rem; display: grid; grid-template-columns: repeat(var(--chart-columns,23),minmax(0,1fr)); align-items: end; gap: 4px; padding: 0 5.8rem; }
.timeline i { position: relative; z-index: 1; width: 100%; min-width: 0; background: linear-gradient(180deg, var(--peach), var(--coral)); transition: height .45s ease; }
.timeline .closed-service-marker { grid-column: 1 / -1; }
.timeline i:hover::after { content: attr(data-value); position: absolute; left: 50%; bottom: calc(100% + .4rem); transform: translateX(-50%); padding: .25rem .4rem; background: #fff; color: var(--ink); font-size: .65rem; white-space: nowrap; }
.day-lower { display: grid; grid-template-columns: 1.25fr .75fr; border-top: 1px solid rgba(255,255,255,.14); }
.day-sources, .day-plan { padding: 2rem 3rem 3rem; }
.day-sources ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .8rem 2rem; padding: 0; list-style: none; }
.day-sources li { position: relative; padding-left: 1.1rem; color: rgba(255,255,255,.72); line-height: 1.5; }
.day-sources li::before { content: "→"; position: absolute; left: 0; color: var(--peach); }
.day-plan { background: rgba(255,255,255,.06); }
.day-plan h4 { margin: .7rem 0 .8rem; font-size: 2rem; }
.day-plan p { color: rgba(255,255,255,.66); line-height: 1.65; }

.staffing { background: #efe4cf; }
.staff-calibration { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr .6fr; box-shadow: var(--shadow); }
.calibration-main { padding: clamp(2rem, 4vw, 4rem); background: var(--deep); color: #fff; }
.calibration-intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 2rem 4rem; align-items: end; }
.calibration-intro > span, .staff-rules > span, .staff-day-head span, .requirement-board > span, .shift-board-title > span { color: var(--peach); font-size: .64rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.calibration-intro h2, .calibration-intro h3 { grid-column: 1; max-width: 720px; margin: .7rem 0 0; font-size: clamp(2.3rem, 3.5vw, 4.4rem); line-height: .98; }
.calibration-intro p { grid-column: 2; grid-row: 1 / span 2; margin: 0; color: rgba(255,255,255,.65); line-height: 1.7; }
.ratio-ladder { display: grid; grid-template-columns: repeat(6, 1fr); margin-top: 3rem; border: 1px solid rgba(255,255,255,.16); }
.ratio-ladder div { min-height: 150px; padding: 1.2rem; border-right: 1px solid rgba(255,255,255,.16); background: linear-gradient(180deg, rgba(255,255,255,.04), transparent); }
.ratio-ladder div:last-child { border-right: 0; background: rgba(219,90,60,.2); }
.ratio-ladder small { color: rgba(255,255,255,.55); }
.ratio-ladder b { display: block; margin: 1rem 0 .3rem; font-family: Georgia, serif; font-size: 3.2rem; font-weight: 400; line-height: .8; }
.ratio-ladder em { color: var(--peach); font-size: .7rem; font-style: normal; }
.calibration-facts { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 2rem; border-top: 1px solid rgba(255,255,255,.16); }
.calibration-facts div { padding: 1.5rem 1rem 0 0; }
.calibration-facts b { display: block; font-family: Georgia, serif; font-size: 2.5rem; font-weight: 400; }
.calibration-facts span { color: rgba(255,255,255,.55); font-size: .8rem; }
.staff-rules { padding: clamp(2rem, 4vw, 4rem); background: var(--paper); }
.staff-rules h2, .staff-rules h3 { margin: .8rem 0 2rem; font-size: clamp(2.2rem, 3vw, 3.5rem); line-height: 1; }
.staff-rules dl { margin: 0; border-top: 1px solid var(--line); }
.staff-rules dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.staff-rules dt { color: rgba(18,49,60,.65); }
.staff-rules dd { margin: 0; font-weight: 800; text-align: right; }
.staff-rules p { margin: 2rem 0 0; color: rgba(18,49,60,.67); line-height: 1.7; }
.staff-day { max-width: 1440px; margin: 1rem auto 0; background: var(--paper); border: 1px solid var(--line); box-shadow: var(--shadow); }
.staff-day-head { display: grid; grid-template-columns: 1fr minmax(280px, .55fr); gap: 2rem; align-items: end; padding: 2.2rem 3rem; }
.staff-day-head h2, .staff-day-head h3 { margin: .7rem 0 0; font-size: clamp(2.2rem, 3.5vw, 4rem); }
.staff-day-head p { margin: 0; color: rgba(18,49,60,.65); line-height: 1.6; }
.staff-kpis { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.staff-kpis article { padding: 1.3rem 1.5rem; border-right: 1px solid var(--line); }
.staff-kpis article:last-child { border-right: 0; }
.staff-kpis span { color: var(--coral); font-size: .63rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.staff-kpis b { display: block; margin: .55rem 0 .2rem; font-family: Georgia, serif; font-size: 2rem; font-weight: 400; }
.staff-kpis small { color: rgba(18,49,60,.5); }
.staff-board { display: grid; grid-template-columns: .85fr 1.15fr; }
.requirement-board, .shift-board { min-width: 0; padding: 2.5rem 3rem 3rem; }
.requirement-board { background: var(--deep); color: #fff; }
.staff-curve { position: relative; height: 280px; margin-top: 1.8rem; display: grid; grid-template-columns: repeat(var(--chart-columns,30),minmax(0,1fr)); align-items: end; gap: 4px; padding: 0 5.8rem; }
.staff-interval { position: relative; z-index: 1; width: 100%; height: 100%; display: flex; align-items: end; gap: 1px; min-width: 0; }
.staff-interval i { flex: 1; min-width: 2px; transition: height .35s ease; }
.staff-interval .floor { background: linear-gradient(180deg, #ec7657, var(--coral)); }
.staff-interval .kitchen { background: linear-gradient(180deg, #ffc07a, var(--peach)); }
.staff-axis { margin-top: .65rem; }
.curve-legend { display: flex; gap: .6rem; align-items: center; margin-top: 1.35rem; color: rgba(255,255,255,.68); font-size: .7rem; }
.curve-legend i { width: 10px; height: 10px; background: var(--coral); }
.curve-legend i:nth-of-type(2) { margin-left: .8rem; background: var(--peach); }
.shift-board-title { display: flex; justify-content: space-between; align-items: center; }
.shift-board-title small { color: rgba(18,49,60,.55); }
.shift-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: .6rem; margin-top: 1.4rem; }
.shift-row { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; min-height: 64px; padding: .8rem; border: 1px solid var(--line); background: #fff; }
.shift-row.is-open { border-color: rgba(219,90,60,.45); background: #fff2ea; }
.shift-row time { font-family: Georgia, serif; font-size: 1rem; white-space: nowrap; }
.shift-row div { min-width: 0; }
.shift-row b { display: block; overflow: hidden; font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.shift-row small { color: rgba(18,49,60,.52); }
.shift-row em { color: var(--coral); font-size: .62rem; font-style: normal; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.privacy-note { max-width: 1440px; margin: 1rem auto 0; padding: 1rem 1.2rem; border: 1px solid rgba(18,49,60,.12); color: rgba(18,49,60,.62); font-size: .8rem; }

.model { background: var(--cream); }
.model-shell { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: 1.3fr .7fr; box-shadow: var(--shadow); }
.model-score { padding: clamp(2rem, 5vw, 4.5rem); background: var(--paper); }
.score-pair { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.score-pair article { padding: 2rem; }
.score-pair article + article { border-left: 1px solid var(--line); }
.score-pair .winner { background: var(--deep); color: #fff; }
.score-pair .winner span { color: var(--peach); }
.score-pair b { display: block; margin: 1rem 0 .3rem; font-family: Georgia, serif; font-size: clamp(3rem, 5vw, 5.8rem); font-weight: 400; line-height: .9; }
.score-pair small { color: rgba(18,49,60,.58); }
.score-pair .winner small { color: rgba(255,255,255,.58); }
.improvement { margin: 2rem 0; }
.improvement b { float: right; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.improvement i { clear: both; display: block; height: 7px; margin-top: 1rem; background: var(--cream-deep); }
.improvement em { display: block; width: 0; height: 100%; background: var(--coral); transition: width .8s ease; }
.model-score > p { max-width: 720px; margin: 2rem 0 0; line-height: 1.7; }
.next-gate { padding: clamp(2rem, 4vw, 4rem); background: var(--deep); color: #fff; }
.next-gate > span { color: var(--peach); }
.next-gate h2, .next-gate h3 { margin: .8rem 0 2rem; font-size: clamp(2.3rem, 3vw, 4rem); line-height: 1; }
.next-gate ol { margin: 0; padding: 0; list-style: none; counter-reset: gate; }
.next-gate li { position: relative; padding: 1.2rem 0 1.2rem 3rem; border-top: 1px solid rgba(255,255,255,.15); counter-increment: gate; }
.next-gate li::before { content: "0" counter(gate); position: absolute; left: 0; color: var(--peach); font-size: .7rem; letter-spacing: .1em; }
.next-gate b { display: block; font-family: Georgia, serif; font-size: 1.3rem; font-weight: 400; }
.next-gate small { display: block; margin-top: .3rem; color: rgba(255,255,255,.55); line-height: 1.5; }

footer { display: grid; grid-template-columns: 220px 1fr auto; align-items: center; gap: 2rem; padding: 2.5rem clamp(1.2rem, 4vw, 4.2rem); background: #082f38; color: #fff; }
footer img { width: 160px; filter: brightness(0) invert(1); }
footer p { margin: 0; color: rgba(255,255,255,.7); }
footer small { color: rgba(255,255,255,.45); }
.toast { position: fixed; z-index: 30; right: 1rem; bottom: 1rem; transform: translateY(140%); padding: .85rem 1rem; background: var(--ink); color: #fff; transition: transform .25s; }
.toast.is-visible { transform: translateY(0); }

/* Interactive table studio */
.studio-hero { padding-bottom: 3rem; }
.studio-shell { padding-top: 0; }
.studio-topbar { max-width: 1540px; margin: 0 auto; display: grid; grid-template-columns: auto minmax(260px,1fr) auto; border: 1px solid var(--line); background: #fff; }
.studio-room-tabs { display: flex; overflow-x: auto; }
.studio-room-tabs button { min-width: 180px; padding: 1.1rem 1.35rem; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.studio-room-tabs button.is-active { background: var(--deep); color: #fff; }
.studio-room-tabs .studio-add-room { min-width: 170px; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; border-right: 1px dashed rgba(12,70,85,.28); background: #f7fbf8; }
.studio-room-tabs .studio-add-room svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.studio-room-tabs .studio-add-room span { color: var(--ink); font-size: .67rem; letter-spacing: .07em; }
.studio-room-tabs span,.studio-stats span,.studio-plan-meta span,.studio-palette-head span,.studio-selection > span,.studio-contract article > span { display: block; color: var(--coral); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.studio-room-tabs b { display: block; margin-top: .3rem; font: 400 1.25rem/1 Georgia,serif; }
.studio-plan-meta { min-width: 0; display: grid; grid-template-columns: minmax(150px,1fr) minmax(150px,1fr); align-items: stretch; }
.studio-plan-meta label { min-width: 0; display: grid; align-content: center; gap: .3rem; padding: .65rem 1rem; border-right: 1px solid var(--line); }
.studio-plan-meta input { width: 100%; min-width: 0; padding: .2rem 0; border: 0; border-bottom: 1px solid rgba(12,70,85,.22); background: transparent; color: var(--ink); font: 400 1rem/1.2 Georgia,serif; }
.studio-plan-meta input:focus { border-bottom-color: var(--coral); outline: 0; }
.studio-stats { display: grid; grid-template-columns: repeat(3,110px); }
.studio-stats div { display: grid; place-content: center; border-left: 1px solid var(--line); text-align: center; }
.studio-stats b { margin-top: .2rem; font: 400 1.4rem/1 Georgia,serif; }
.studio-workspace { max-width: 1540px; margin: 0 auto; display: grid; grid-template-columns: 320px minmax(0,1fr); border: 1px solid var(--line); border-top: 0; background: #fff; box-shadow: var(--shadow); }
.studio-palette { padding: 1.5rem; border-right: 1px solid var(--line); background: var(--cream); }
.studio-palette-head h2 { margin: .45rem 0 1.3rem; font: 400 1.55rem/1.1 Georgia,serif; }
.studio-library-section { display: block; margin-top: 1rem; }
.studio-library-section:first-of-type { margin-top: 0; }
.studio-palette-group { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin: 1rem 0 .55rem; color: rgba(18,49,60,.56); font-size: .58rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.studio-palette-group small { color: rgba(18,49,60,.38); font-size: .5rem; letter-spacing: .04em; }
.studio-palette-head + .studio-palette-group { margin-top: 0; }
.studio-palette-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.studio-palette-scroll { max-height: 472px; overflow-y: auto; overscroll-behavior: contain; padding-right: .25rem; scrollbar-color: rgba(12,70,85,.32) transparent; scrollbar-width: thin; }
.studio-palette-grid button { min-width: 0; min-height: 112px; display: grid; grid-template-rows: 72px auto; place-items: center; gap: .25rem; padding: .55rem; border: 1px solid rgba(12,70,85,.16); background: #fff; color: var(--ink); cursor: pointer; }
.studio-palette-grid button:hover { border-color: var(--coral); transform: translateY(-1px); }
.studio-palette-grid img { width: 100%; height: 68px; object-fit: contain; }
.studio-palette-grid button[data-add="plantSmall"] img { width: 38px; }
.studio-palette-grid button[data-add="plantMedium"] img { width: 52px; }
.studio-palette-grid button[data-add="plantLarge"] img { width: 66px; }
.studio-palette-grid button[data-add="decorBlock"] img { width: 58px; }
.studio-palette-grid button[data-add="decorLong"] img { width: 92%; }
.studio-palette-grid button[data-add="routePoint"] img { width: 34px; }
.studio-palette-grid button[data-add="entrance"] img,.studio-palette-grid button[data-add="pass"] img { width: 90%; }
.studio-palette-grid-route button:last-child img { height: 48px; }
.studio-palette-grid span { font-size: .68rem; font-weight: 800; }
.studio-selection { margin-top: 1.4rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }
.studio-selection > b { display: block; min-height: 2.8rem; margin: .4rem 0 .8rem; font: 400 1.05rem/1.3 Georgia,serif; }
.studio-object-metrics { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .45rem; margin: 0 0 .8rem; }
.studio-object-metrics[hidden] { display: none; }
.studio-object-metrics div { min-width: 0; padding: .5rem; border: 1px solid rgba(12,70,85,.13); background: rgba(255,255,255,.6); }
.studio-object-metrics dt { margin: 0 0 .2rem; color: rgba(18,49,60,.56); font-size: .5rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.studio-object-metrics dd { margin: 0; color: var(--ink); font-size: .66rem; line-height: 1.25; }
.studio-object-metrics dd.is-warning { color: var(--coral); font-weight: 800; }
.studio-table-code { display: grid; gap: .35rem; margin: 0 0 .85rem; }
.studio-table-code[hidden] { display: none; }
.studio-table-code > span { color: rgba(18,49,60,.56); font-size: .56rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.studio-table-code input { width: 100%; padding: .65rem .7rem; border: 1px solid rgba(12,70,85,.22); background: #fff; color: var(--ink); font: 700 .82rem/1 Arial,sans-serif; text-transform: uppercase; }
.studio-table-code input:focus { border-color: var(--coral); outline: 0; }
.studio-table-code input[aria-invalid="true"] { border-color: var(--coral); background: #fff2ea; }
.studio-table-code small { color: rgba(18,49,60,.58); font-size: .62rem; line-height: 1.4; }
.studio-table-code small.is-warning { color: var(--coral); font-weight: 800; }
.studio-table-assignment { display: grid; gap: .55rem; margin-top: .7rem; padding-top: .7rem; border-top: 1px solid rgba(12,70,85,.14); }
.studio-table-assignment[hidden] { display: none; }
.studio-table-assignment > label { display: grid; gap: .32rem; }
.studio-table-assignment label > span { color: rgba(18,49,60,.6); font-size: .54rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.studio-table-assignment select { min-height: 34px; padding: .48rem .55rem; border: 1px solid rgba(12,70,85,.22); background: #fff; color: var(--ink); font: 700 .68rem/1 Arial,sans-serif; }
.studio-table-assignment .studio-table-lock { display: flex; align-items: center; gap: .5rem; padding: .55rem; border: 1px solid rgba(12,70,85,.18); background: rgba(255,255,255,.62); cursor: pointer; }
.studio-table-lock input { width: 17px; height: 17px; accent-color: #327b68; }
.studio-file-actions button,.studio-object-actions button { position: relative; width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0; border: 1px solid rgba(12,70,85,.22); background: #fff; color: var(--ink); cursor: pointer; }
.studio-file-actions button:hover,.studio-object-actions button:hover { z-index: 8; border-color: var(--coral); color: var(--coral); }
.studio-file-actions button svg,.studio-object-actions button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.studio-file-actions button::after,.studio-object-actions button::after { content: attr(data-tooltip); position: absolute; z-index: 20; right: 0; top: calc(100% + .5rem); width: max-content; max-width: 180px; padding: .38rem .5rem; background: var(--deep); color: #fff; box-shadow: 0 6px 16px rgba(5,31,38,.2); font-size: .58rem; font-weight: 800; letter-spacing: .04em; line-height: 1.2; pointer-events: none; text-transform: none; opacity: 0; transform: translateY(-3px); transition: opacity .15s,transform .15s; }
.studio-file-actions button:hover::after,.studio-file-actions button:focus-visible::after,.studio-object-actions button:hover::after,.studio-object-actions button:focus-visible::after { opacity: 1; transform: translateY(0); }
.studio-file-actions button:disabled,.studio-object-actions button:disabled { cursor: not-allowed; opacity: .3; }
.studio-help { margin: 1.2rem 0 0; color: rgba(18,49,60,.58); font-size: .72rem; line-height: 1.55; }
.studio-canvas-column { min-width: 0; }
.studio-canvas-head { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.3rem; border-bottom: 1px solid var(--line); }
.studio-canvas-head span { display: block; color: var(--coral); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.studio-canvas-head b { display: block; margin-top: .25rem; font: 400 1.25rem/1 Georgia,serif; }
.studio-scale-note { display: block; margin-top: .35rem; color: rgba(18,49,60,.5); font-size: .58rem; line-height: 1.35; }
.studio-file-actions { display: flex; flex-wrap: nowrap; justify-content: flex-end; gap: .35rem; }
.studio-file-actions button[aria-pressed="true"] { border-color: #5d927f; background: #e3eee8; color: #315f50; }
.studio-file-actions button:last-child { border-color: var(--deep); background: var(--deep); color: #fff; }
.studio-room-editor { display: grid; grid-template-columns: minmax(150px,1fr) 105px 105px repeat(3,auto); align-items: end; gap: .55rem; padding: .75rem 1.3rem; border-bottom: 1px solid var(--line); background: #f8f5ed; }
.studio-room-editor label { display: grid; gap: .25rem; color: rgba(18,49,60,.6); font-size: .55rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.studio-room-editor input { width: 100%; min-width: 0; padding: .55rem .6rem; border: 1px solid rgba(12,70,85,.22); background: #fff; color: var(--ink); font: 700 .72rem/1 Arial,sans-serif; }
.studio-number-field { position: relative; display: block; }
.studio-number-field input { padding-right: 1.6rem; }
.studio-number-field em { position: absolute; top: 50%; right: .55rem; transform: translateY(-50%); color: rgba(18,49,60,.45); font-size: .65rem; font-style: normal; }
.studio-room-editor button { min-height: 34px; padding: .58rem .7rem; border: 1px solid rgba(12,70,85,.22); background: #fff; color: var(--ink); font-size: .58rem; font-weight: 900; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; }
.studio-room-editor button[aria-pressed="true"] { border-color: var(--coral); background: #fff0e8; color: var(--coral); }
.studio-room-editor button:disabled { cursor: not-allowed; opacity: .35; }
.studio-room-editor > small { grid-column: 1 / -1; color: rgba(18,49,60,.52); font-size: .6rem; }
.studio-numbering-panel { display: grid; grid-template-columns: minmax(230px,1fr) minmax(220px,1fr) 125px 145px auto; align-items: end; gap: .75rem; padding: .8rem 1.3rem; border-bottom: 1px solid var(--line); background: #f2f7f3; }
.studio-numbering-panel > div { display: grid; gap: .18rem; align-self: center; }
.studio-numbering-panel > div > span,.studio-numbering-panel label > span { color: #477967; font-size: .55rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.studio-numbering-panel > div > b { color: var(--ink); font: 400 1rem/1.2 Georgia,serif; }
.studio-numbering-panel > div > small { color: rgba(18,49,60,.58); font-size: .6rem; line-height: 1.35; }
.studio-numbering-panel label { display: grid; gap: .3rem; }
.studio-numbering-panel select,.studio-numbering-panel input { width: 100%; min-height: 36px; padding: .5rem .6rem; border: 1px solid rgba(12,70,85,.22); background: #fff; color: var(--ink); font: 700 .68rem/1 Arial,sans-serif; }
.studio-numbering-panel button { min-height: 36px; padding: .55rem .75rem; border: 1px solid #477967; background: #477967; color: #fff; font-size: .57rem; font-weight: 900; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.studio-validation-panel { display: grid; grid-template-columns: minmax(230px,1fr) minmax(210px,280px); align-items: center; gap: .75rem 1.2rem; padding: .8rem 1.3rem; border-bottom: 1px solid var(--line); background: #fffaf0; }
.studio-validation-panel[hidden] { display: none; }
.studio-validation-panel > div { display: grid; gap: .18rem; }
.studio-validation-panel > div span,.studio-validation-panel label > span { color: var(--coral); font-size: .55rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.studio-validation-panel > div b { color: var(--ink); font: 400 1rem/1.25 Georgia,serif; }
.studio-validation-panel > div b.has-errors { color: #a63227; font-weight: 700; }
.studio-validation-panel label { display: grid; gap: .3rem; }
.studio-validation-panel select { min-height: 36px; padding: .5rem .65rem; border: 1px solid rgba(12,70,85,.22); background: #fff; color: var(--ink); font: 700 .7rem/1 Arial,sans-serif; }
.studio-validation-panel p { grid-column: 1 / -1; display: flex; align-items: center; gap: .4rem; margin: 0; color: rgba(18,49,60,.58); font-size: .62rem; }
.validation-key { width: 11px; height: 11px; display: inline-block; margin-left: .55rem; border: 2px solid; }
.validation-key:first-child { margin-left: 0; }
.validation-key.is-error { border-color: #b92f25; background: rgba(185,47,37,.18); }
.validation-key.is-warning { border-color: #e28739; background: rgba(226,135,57,.16); }
.studio-layout-review { display: grid; gap: .9rem; padding: 1rem 1.3rem 1.2rem; border-bottom: 1px solid var(--line); background: #f7f1e5; }
.studio-layout-review[hidden] { display: none; }
.studio-layout-review > header { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.studio-layout-review > header div { display: grid; gap: .2rem; }
.studio-layout-review > header span { color: var(--coral); font-size: .55rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.studio-layout-review > header h3 { margin: 0; color: var(--ink); font: 400 1.2rem/1.2 Georgia,serif; }
.studio-layout-review > header button { min-height: 32px; padding: .4rem .65rem; border: 1px solid rgba(12,70,85,.22); background: transparent; color: var(--ink); font: 800 .56rem/1 Arial,sans-serif; letter-spacing: .07em; text-transform: uppercase; }
.studio-layout-review-summary { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border: 1px solid rgba(12,70,85,.14); background: rgba(255,255,255,.7); }
.studio-layout-review-summary span { display: flex; align-items: baseline; gap: .4rem; padding: .65rem .75rem; border-left: 1px solid rgba(12,70,85,.12); color: rgba(18,49,60,.62); font-size: .61rem; }
.studio-layout-review-summary span:first-child { border-left: 0; }
.studio-layout-review-summary b { color: var(--ink); font: 400 1.25rem/1 Georgia,serif; }
.studio-layout-review-summary .is-error b { color: #a63227; }
.studio-layout-review-summary .is-warning b { color: #b8661e; }
.studio-layout-review-summary .is-pass b { color: #327b68; }
.studio-layout-review-results { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; max-height: 310px; overflow-y: auto; padding-right: .2rem; }
.studio-review-card { display: grid; gap: .2rem; min-width: 0; padding: .72rem .8rem; border: 1px solid rgba(12,70,85,.14); border-left: 4px solid rgba(12,70,85,.25); background: rgba(255,255,255,.78); color: var(--ink); text-align: left; }
button.studio-review-card { cursor: pointer; }
button.studio-review-card:hover,button.studio-review-card:focus-visible { background: #fff; border-color: var(--coral); outline: 0; }
.studio-review-card > span { color: rgba(18,49,60,.55); font: 800 .5rem/1.2 Arial,sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.studio-review-card > b { font: 700 .72rem/1.25 Arial,sans-serif; }
.studio-review-card > p { margin: 0; color: rgba(18,49,60,.7); font-size: .61rem; line-height: 1.45; }
.studio-review-card.is-error { border-left-color: #b92f25; }
.studio-review-card.is-warning { border-left-color: #e28739; }
.studio-review-card.is-opportunity { border-left-color: #3d7f91; }
.studio-review-card.is-pass { border-left-color: #3c8d75; }
.studio-layout-review-note { margin: 0; color: rgba(18,49,60,.58); font-size: .58rem; line-height: 1.45; }
.studio-layout-proposal { display: grid; gap: .9rem; padding: 1rem 1.3rem 1.2rem; border-bottom: 1px solid var(--line); background: #eef5f1; }
.studio-layout-proposal[hidden] { display: none; }
.studio-layout-proposal > header { display: flex; justify-content: space-between; gap: 1rem; align-items: start; }
.studio-layout-proposal > header div { display: grid; gap: .2rem; }
.studio-layout-proposal > header span,.studio-proposal-controls label > span { color: #327b68; font-size: .55rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.studio-layout-proposal > header h3 { margin: 0; color: var(--ink); font: 400 1.2rem/1.2 Georgia,serif; }
.studio-layout-proposal > header button,.studio-proposal-controls button,.studio-proposal-actions button { min-height: 34px; padding: .48rem .72rem; border: 1px solid rgba(12,70,85,.24); background: #fff; color: var(--ink); font: 800 .56rem/1 Arial,sans-serif; letter-spacing: .06em; text-transform: uppercase; cursor: pointer; }
.studio-proposal-controls { display: grid; grid-template-columns: repeat(2,minmax(190px,1fr)) auto auto; align-items: end; gap: .55rem; }
.studio-proposal-controls label { display: grid; gap: .3rem; }
.studio-proposal-controls select { min-height: 36px; padding: .5rem .65rem; border: 1px solid rgba(12,70,85,.22); background: #fff; color: var(--ink); font: 700 .7rem/1 Arial,sans-serif; }
.studio-proposal-proof { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); border: 1px solid rgba(12,70,85,.15); background: rgba(255,255,255,.75); }
.studio-proposal-proof p { grid-column: 1 / -1; margin: 0; padding: .85rem; color: rgba(18,49,60,.68); font-size: .66rem; }
.studio-proposal-proof div { min-width: 0; display: grid; gap: .18rem; padding: .68rem .72rem; border-left: 1px solid rgba(12,70,85,.12); }
.studio-proposal-proof div:first-child { border-left: 0; }
.studio-proposal-proof span { color: rgba(18,49,60,.55); font-size: .5rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.studio-proposal-proof b { color: var(--ink); font: 400 1.05rem/1.1 Georgia,serif; }
.studio-proposal-proof small { color: rgba(18,49,60,.58); font-size: .55rem; line-height: 1.35; }
.studio-proposal-proof .is-improved b { color: #327b68; }
.studio-proposal-proof .is-blocked b { color: #a63227; }
.studio-proposal-actions { display: flex; justify-content: flex-end; gap: .55rem; }
.studio-proposal-actions button:first-child { border-color: #327b68; background: #327b68; color: #fff; }
.studio-proposal-actions button:disabled { cursor: not-allowed; opacity: .4; }
.studio-scroll { position: relative; overflow: auto; padding: 1rem; background: #e7e0d1; }
.studio-canvas-stage { width: max-content; min-width: 100%; display: flex; align-items: flex-start; gap: .65rem; }
.studio-object-actions { position: sticky; z-index: 9; top: 0; right: 0; display: grid; gap: .35rem; padding: .35rem; border: 1px solid rgba(12,70,85,.18); background: rgba(255,253,248,.96); box-shadow: 0 8px 24px rgba(5,31,38,.12); }
.studio-action-code { width: 68px; display: grid; gap: .22rem; padding: .25rem; border-bottom: 1px solid rgba(12,70,85,.14); }
.studio-action-code[hidden] { display: none; }
.studio-action-code span { color: rgba(18,49,60,.58); font-size: .48rem; font-weight: 900; letter-spacing: .08em; text-align: center; text-transform: uppercase; }
.studio-action-code input { width: 100%; min-width: 0; padding: .42rem .25rem; border: 1px solid rgba(12,70,85,.25); background: #fff; color: var(--ink); font: 800 .7rem/1 Arial,sans-serif; text-align: center; text-transform: uppercase; }
.studio-action-code input:focus { border-color: var(--coral); outline: 0; }
.studio-action-code input[aria-invalid="true"] { border-color: #b92f25; background: #fff0ed; }
.studio-floor { position: relative; overflow: hidden; background-color: #fbf7ee; background-image: linear-gradient(rgba(12,70,85,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(12,70,85,.055) 1px,transparent 1px); background-size: var(--studio-grid-x,24px) var(--studio-grid-y,24px); box-shadow: inset 0 0 0 3px #143f4b; outline: none; }
.studio-floor:focus-visible { box-shadow: inset 0 0 0 4px var(--coral); }
.studio-floor.is-terrace { background-color: #f2ead9; box-shadow: inset 0 0 0 3px #5f8978; }
.studio-contour-layer { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.studio-contour-layer polygon { fill: rgba(255,255,255,.12); stroke: var(--deep); stroke-width: 5px; vector-effect: non-scaling-stroke; }
.studio-contour-handle { position: absolute; z-index: 9; width: 30px; height: 30px; transform: translate(-50%,-50%); border: 3px solid #fff; border-radius: 50%; background: var(--coral); box-shadow: 0 2px 9px rgba(18,49,60,.24); color: #fff; font-size: .66rem; font-weight: 900; touch-action: none; cursor: grab; }
.studio-fixed { position: absolute; z-index: 1; color: rgba(18,49,60,.5); font-size: .62rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.studio-fixed-top { top: 15px; left: 50%; transform: translateX(-50%); }
.studio-route-layer { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.studio-route-layer[hidden] { display: none; }
.studio-route-zone,.studio-route-line { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.studio-route-zone { stroke: rgba(223,87,58,.12); }
.studio-route-line { stroke: rgba(223,87,58,.9); stroke-width: 2px; stroke-dasharray: 8 6; }
.studio-aisle { position: absolute; z-index: 1; top: 0; bottom: 0; left: 50%; width: 112px; transform: translateX(-50%); border-right: 2px dashed rgba(223,87,58,.82); border-left: 2px dashed rgba(223,87,58,.82); background: rgba(255,255,255,.55); pointer-events: none; }
.studio-aisle span { position: absolute; top: 56px; left: 50%; width: max-content; transform: translateX(-50%); padding: .28rem .4rem; background: #fff; color: var(--coral); font-size: .58rem; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.studio-door { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); padding: .3rem .55rem; border: 1px solid var(--deep); background: #fff; color: var(--deep); font-size: .58rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.studio-door-top { top: 0; }
.studio-door-bottom { bottom: 0; }
.studio-drop-hint { position: absolute; z-index: 0; top: 106px; left: 50%; transform: translateX(-50%); color: rgba(18,49,60,.35); font: italic 1rem Georgia,serif; pointer-events: none; }
.studio-object { position: absolute; z-index: 3; display: block; padding: 0; border: 0; background: transparent; container-type: size; touch-action: none; cursor: grab; transform-origin: center; }
.studio-object:active { cursor: grabbing; }
.studio-object img { position: absolute; left: 50%; top: 50%; width: var(--object-native-width,100%); height: var(--object-native-height,100%); max-width: none; max-height: none; object-fit: contain; transform: translate(-50%,-50%) rotate(var(--object-rotation,0deg)); pointer-events: none; user-select: none; }
.studio-object span { position: absolute; right: 2px; bottom: -9px; padding: .1rem .25rem; border: 1px solid rgba(12,70,85,.15); background: rgba(255,255,255,.92); color: var(--deep); font-size: .48rem; font-weight: 900; pointer-events: none; }
.studio-object > i { position: absolute; z-index: 8; left: -5px; top: -6px; width: 17px; height: 17px; display: grid; place-items: center; border-radius: 50%; background: #327b68; color: #fff; font: 900 .54rem/1 Arial,sans-serif; pointer-events: none; }
.studio-object.is-locked { cursor: not-allowed; }
.studio-object.is-selected::after { content: ""; position: absolute; inset: -5px; border: 2px solid var(--coral); box-shadow: 0 0 0 3px rgba(255,255,255,.8); pointer-events: none; }
.studio-floor.show-validation .studio-object.has-overlap::before,.studio-object.is-selected.has-overlap::before { content: ""; position: absolute; z-index: 7; inset: -5px; border: 3px solid #b92f25; background: rgba(185,47,37,.13); box-shadow: 0 0 0 3px rgba(255,255,255,.78); pointer-events: none; }
.studio-floor.show-validation .studio-object.has-clearance-warning::before,.studio-object.is-selected.has-clearance-warning::before { content: ""; position: absolute; z-index: 6; inset: -4px; border: 2px dashed #e28739; background: rgba(226,135,57,.08); pointer-events: none; }
.studio-object.object-routePoint,.studio-object.object-entrance,.studio-object.object-pass { z-index: 5; }
.studio-proposal-ghost { position: absolute; z-index: 8; border: 2px dashed #327b68; background: rgba(50,123,104,.14); box-shadow: 0 0 0 3px rgba(255,255,255,.72); pointer-events: none; }
.studio-proposal-ghost::after { content: attr(data-table-label); position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); padding: .15rem .28rem; background: #327b68; color: #fff; font-size: .48rem; font-weight: 900; white-space: nowrap; }
.studio-proposal-ghost.is-mix { border-style: solid; background: rgba(255,255,255,.9); overflow: hidden; }
.studio-proposal-ghost.is-mix img { width: 100%; height: 100%; object-fit: fill; opacity: .72; }
.studio-object.object-routePoint span { display: none; }
.studio-object.object-entrance span,.studio-object.object-pass span { right: 50%; bottom: -11px; transform: translateX(50%); border-color: rgba(223,87,58,.35); color: var(--coral); }
.studio-clearance-zone { position: absolute; z-index: 2; border: 1px dashed rgba(12,70,85,.6); background: rgba(93,146,127,.09); pointer-events: none; }
.studio-clearance-zone[hidden] { display: none; }
.studio-clearance-zone span { position: absolute; top: -20px; left: 0; width: max-content; padding: .12rem .3rem; background: rgba(255,255,255,.92); color: rgba(18,49,60,.72); font-size: .48rem; font-weight: 800; }
.studio-align-guide { position: absolute; z-index: 6; pointer-events: none; }
.studio-align-guide.is-vertical { top: 0; bottom: 0; width: 1px; border-left: 1px dashed #d34d32; }
.studio-align-guide.is-horizontal { right: 0; left: 0; height: 1px; border-top: 1px dashed #d34d32; }
.studio-status-row { min-height: 58px; display: grid; grid-template-columns: minmax(230px,.85fr) 1.15fr; align-items: stretch; border-top: 1px solid var(--line); }
.studio-save-note { display: flex; align-items: center; gap: .65rem; padding: .7rem 1.1rem; border-right: 1px solid var(--line); color: rgba(18,49,60,.7); }
.studio-save-note i { flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: #3a8871; box-shadow: 0 0 0 4px rgba(58,136,113,.1); }
.studio-save-note span { display: grid; gap: .12rem; }
.studio-save-note b { color: var(--ink); font-size: .68rem; }
.studio-save-note small { font-size: .58rem; line-height: 1.35; }
.studio-status { min-height: 44px; display: flex; align-items: center; padding: .85rem 1.25rem; color: rgba(18,49,60,.65); font-size: .72rem; }
.studio-contract { max-width: 1540px; margin: 1.4rem auto 0; display: grid; grid-template-columns: 1.1fr .8fr 1fr; background: var(--deep); color: #fff; }
.studio-contract article { min-height: 210px; padding: 2rem; border-right: 1px solid rgba(255,255,255,.15); }
.studio-contract article:last-child { border-right: 0; }
.studio-contract h2 { margin: .55rem 0 .8rem; font-size: clamp(2rem,3vw,3.4rem); line-height: .98; }
.studio-contract b { display: block; margin-bottom: .75rem; font: 400 1.4rem/1.1 Georgia,serif; }
.studio-contract p,.studio-contract li { color: rgba(255,255,255,.72); line-height: 1.65; }
.studio-contract ul { margin: 0; padding-left: 1.1rem; }

/* Canonical capacity, comparable charts and interactive shift inspection. */
.forecast-main { height: 750px; min-height: 750px; }
.forecast-date b { min-height: 2.2em; }
.chart-explainer { grid-column: 1 / -1; margin: 0; color: rgba(255,255,255,.58); font-size: .68rem; line-height: 1.5; }
.chart-capacity-line { position: absolute; z-index: 4; right: 5.8rem; left: 5.8rem; height: 0; border-top: 1px dashed rgba(255,255,255,.72); pointer-events: none; }
.chart-capacity-line b { position: absolute; top: .3rem; right: .35rem; padding: .25rem .4rem; background: rgba(12,70,85,.9); color: #fff; font: 800 .52rem/1 Inter,"Segoe UI",Arial,sans-serif; letter-spacing: .06em; text-transform: uppercase; }
.spatial-tables.is-spatial-plan { display: block; padding: 0; }
.spatial-tables.is-spatial-plan .table-token { position: absolute; min-width: 44px; min-height: 38px; margin: 0; transform-origin: center; }
.spatial-tables.is-spatial-plan .table-token:hover { translate: 0 -4px; }
.room-map.has-source-plan > .room-fixture,.room-map.has-source-plan > .room-door,.room-map.has-source-plan > .route-line,.room-map.has-source-plan > .room-zone-label,.room-map.has-source-plan > .terrace-edge { display: none; }
.source-floor-object,.source-plan-object { position: absolute; z-index: 4; display: block; min-width: 18px; min-height: 14px; padding: 0; border: 0; background: transparent; color: var(--ink); container-type: size; transform-origin: center; }
.source-floor-object img,.source-plan-object img { position: absolute; left: 50%; top: 50%; width: var(--object-native-width,100%); height: var(--object-native-height,100%); max-width: none; max-height: none; object-fit: contain; transform: translate(-50%,-50%) rotate(var(--object-rotation,0deg)); }
.source-floor-object small,.source-plan-object small { position: absolute; right: 0; bottom: -9px; padding: .05rem .18rem; border: 1px solid rgba(18,49,60,.14); background: rgba(255,255,255,.92); overflow: hidden; font-size: .43rem; font-weight: 900; letter-spacing: .04em; text-align: center; text-overflow: ellipsis; text-transform: uppercase; white-space: nowrap; }
.source-plan-table { z-index: 5; }
.source-plan-table.is-joinable::after { content: "↔"; position: absolute; top: -8px; right: -5px; color: var(--coral); font-size: .65rem; font-weight: 900; }
.source-plan-route-layer { position: absolute; z-index: 2; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.source-plan-route-zone,.source-plan-route-line { fill: none; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.source-plan-route-zone { stroke: rgba(223,87,58,.12); }
.source-plan-route-line { stroke: rgba(223,87,58,.9); stroke-width: 2px; stroke-dasharray: 8 6; }
.source-floor-object.type-routePoint { z-index: 2; }
.source-floor-object.type-entrance,.source-floor-object.type-pass { z-index: 6; }
.day-close { max-width: 1440px; margin: 1.5rem auto 0; border: 1px solid var(--line); background: var(--paper); box-shadow: var(--shadow); }
.day-close-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(320px,.65fr); gap: 3rem; align-items: end; padding: clamp(2rem,4vw,3.5rem); background: var(--deep); color: #fff; }
.day-close-heading span,.day-close-controls label > span,.day-close-state article > span,.day-close-comparison article > span,.day-close-proof > div > span,.day-close-ledger > span { display: block; color: var(--peach); font-size: .62rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.day-close-heading h2 { margin: .6rem 0 0; font-size: clamp(2.6rem,4vw,4.6rem); line-height: .97; }
.day-close-heading p { margin: 0; color: rgba(255,255,255,.7); line-height: 1.7; }
.day-close-controls { display: grid; grid-template-columns: minmax(180px,.8fr) minmax(220px,1.1fr) auto auto; gap: .7rem; align-items: end; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); background: #f7f0e2; }
.day-close-controls label { display: grid; gap: .42rem; }
.day-close-controls label > span { color: var(--coral); }
.day-close-controls input,.day-close-controls select,.day-close-controls button { min-height: 42px; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: 800 .67rem/1.2 Inter,"Segoe UI",Arial,sans-serif; }
.day-close-controls input,.day-close-controls select { width: 100%; padding: .62rem .72rem; }
.day-close-controls button { padding: .7rem 1rem; cursor: pointer; letter-spacing: .04em; text-transform: uppercase; }
.day-close-controls button.is-primary { border-color: var(--deep); background: var(--deep); color: #fff; }
.day-close-controls button:disabled { opacity: .42; cursor: not-allowed; }
.day-close-state { display: grid; grid-template-columns: repeat(4,1fr); border-bottom: 1px solid var(--line); }
.day-close-state article { min-height: 116px; display: grid; align-content: center; gap: .35rem; padding: 1.25rem 1.5rem; border-right: 1px solid var(--line); }
.day-close-state article:last-child { border-right: 0; }
.day-close-state article > span,.day-close-comparison article > span { color: var(--coral); }
.day-close-state b { overflow-wrap: anywhere; font: 400 1.45rem/1.08 Georgia,serif; }
.day-close-state small { color: rgba(18,49,60,.56); font-size: .65rem; }
.day-close-comparison { display: grid; grid-template-columns: repeat(3,1fr); background: #fff; border-bottom: 1px solid var(--line); }
.day-close-comparison article { min-height: 190px; padding: 1.7rem; border-right: 1px solid var(--line); }
.day-close-comparison article:last-child { border-right: 0; }
.day-close-comparison strong { display: block; margin: .65rem 0 .85rem; font: 400 clamp(2.2rem,3vw,3.7rem)/1 Georgia,serif; }
.day-close-comparison p { margin: 0; color: rgba(18,49,60,.62); font-size: .72rem; line-height: 1.55; }
.day-close-comparison p b { color: var(--ink); }
.day-close-proof { display: grid; grid-template-columns: minmax(280px,.65fr) 1.35fr; background: #f7f0e2; border-bottom: 1px solid var(--line); }
.day-close-proof > div { padding: 2rem; border-right: 1px solid var(--line); }
.day-close-proof > div > span { color: var(--coral); }
.day-close-proof h3 { margin: .55rem 0 .8rem; font: 400 2rem/1 Georgia,serif; }
.day-close-proof p { margin: 0; color: rgba(18,49,60,.62); font-size: .73rem; line-height: 1.6; }
.day-close-proof ol { display: grid; grid-template-columns: 1fr 1fr; margin: 0; padding: 0; list-style: none; }
.day-close-proof li { min-height: 68px; display: grid; grid-template-columns: 10px 1fr auto; gap: .65rem; align-items: center; padding: .7rem 1rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: .66rem; }
.day-close-proof li:nth-child(even) { border-right: 0; }
.day-close-proof li:nth-last-child(-n+2) { border-bottom: 0; }
.day-close-proof li i { width: 8px; height: 8px; border-radius: 50%; background: #3a8871; box-shadow: 0 0 0 4px rgba(58,136,113,.12); }
.day-close-proof li.is-blocked i { background: #d34d32; box-shadow: 0 0 0 4px rgba(211,77,50,.12); }
.day-close-proof li b { color: #3a8871; font-size: .52rem; letter-spacing: .07em; text-transform: uppercase; }
.day-close-proof li.is-blocked b { color: #d34d32; }
.day-close-ledger { display: grid; grid-template-columns: 220px 1fr; gap: 1rem; align-items: center; padding: .9rem 1.5rem; }
.day-close-ledger > span { color: var(--coral); }
.day-close-ledger p { margin: 0; color: rgba(18,49,60,.62); font-size: .68rem; line-height: 1.5; }
.table-operations { margin: 0 0 2rem; border: 1px solid var(--line); background: #fbf7ee; }
.table-operations-heading { display: grid; grid-template-columns: minmax(0,1fr) minmax(280px,.52fr); gap: 2rem; align-items: end; padding: 1.5rem; border-bottom: 1px solid var(--line); }
.table-operations-heading > div > span,.table-operations-scenario > span,.table-operations-time-head label,.table-operations-kpis span { color: var(--coral); font-size: .61rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.table-operations-heading h3 { margin: .38rem 0 .45rem; font: 400 clamp(1.7rem,2.6vw,2.8rem)/1.05 Georgia,serif; }
.table-operations-heading p { max-width: 760px; margin: 0; color: rgba(18,49,60,.65); font-size: .78rem; line-height: 1.55; }
.table-operations-controls { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; align-items: end; }
.table-operations-scenario { display: grid; gap: .45rem; }
.table-operations-scenario[hidden] { display: none !important; }
.table-operations-scenario select { width: 100%; min-height: 42px; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: 700 .73rem/1.3 Inter,"Segoe UI",Arial,sans-serif; }
.table-operations-time { padding: 1.05rem 1.5rem .85rem; border-bottom: 1px solid var(--line); background: var(--deep); color: #fff; }
.table-operations-time.is-pos-mode input,.table-operations-time.is-pos-mode .table-operations-ticks { display: none; }
.table-operations-time.is-pos-mode { padding-top: 1.15rem; padding-bottom: 1.15rem; }
.table-operations-time-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.table-operations-time-head label { color: var(--peach); }
.table-operations-time-head output { font: 400 1.65rem/1 Georgia,serif; }
.table-operations-time input[type="range"] { width: 100%; margin: .85rem 0 .35rem; accent-color: var(--peach); cursor: pointer; }
.table-operations-ticks { display: flex; justify-content: space-between; color: rgba(255,255,255,.58); font-size: .55rem; }
.table-operations-kpis { display: grid; grid-template-columns: repeat(6,1fr); border-bottom: 1px solid var(--line); }
.table-operations-kpis article { min-height: 108px; display: grid; align-content: center; gap: .28rem; padding: 1rem 1.35rem; border-right: 1px solid var(--line); }
.table-operations-kpis article:last-child { border-right: 0; }
.table-operations-kpis b { font: 400 2.1rem/1 Georgia,serif; }
.table-operations-kpis small { color: rgba(18,49,60,.56); font-size: .65rem; }
.table-operations-proof { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .75rem 1.5rem; border-bottom: 1px solid var(--line); }
.table-operations-proof p { margin: 0; color: rgba(18,49,60,.68); font-size: .68rem; font-weight: 750; line-height: 1.45; }
.table-operations-proof p::before { content: ""; display: inline-block; width: 7px; height: 7px; margin-right: .45rem; border-radius: 50%; background: #3a8871; box-shadow: 0 0 0 4px rgba(58,136,113,.12); }
.table-operations-proof p.is-blocked { color: #aa3425; }
.table-operations-proof p.is-blocked::before { background: #d34d32; box-shadow: 0 0 0 4px rgba(211,77,50,.12); }
.table-operations-legend { flex: 0 0 auto; display: flex; gap: .8rem; color: rgba(18,49,60,.58); font-size: .61rem; }
.table-operations-legend span { display: inline-flex; align-items: center; gap: .3rem; }
.table-operations-legend i { width: 9px; height: 9px; border-radius: 50%; border: 1px solid rgba(18,49,60,.24); }
.table-operations-legend .occupied { border-color: #1a7566; background: #1a7566; }
.table-operations-legend .attention { border-color: #be3f2c; background: #be3f2c; }
.table-operations-legend .cleaning { border-color: #3d7180; background: #b9d7dc; }
.table-operations-legend .reserved { border-color: #d78342; background: #f6c879; }
.table-operations-legend .free { background: #fff; }
.table-operations-detail { min-height: 86px; display: grid; grid-template-columns: minmax(170px,.35fr) minmax(220px,.5fr) 1fr; gap: 1rem; align-items: center; padding: 1rem 1.5rem; background: #fff; }
.table-operations-detail span { color: var(--coral); font-size: .62rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.table-operations-detail b { font: 400 1.15rem/1.2 Georgia,serif; }
.table-operations-detail p { margin: 0; color: rgba(18,49,60,.62); font-size: .7rem; line-height: 1.55; }
.table-operations-scenario input { width: 100%; min-height: 42px; padding: .6rem .75rem; border: 1px solid var(--line); border-radius: 0; background: #fff; color: var(--ink); font: 700 .73rem/1.3 Inter,"Segoe UI",Arial,sans-serif; }
.room-view-tabs { position: sticky; top: 0; z-index: 12; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); margin-top: 1.5rem; border: 1px solid var(--line); background: #fff; box-shadow: 0 12px 28px rgba(18,49,60,.08); }
.room-view-tabs button { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.25rem; border: 0; border-right: 1px solid var(--line); background: #fff; color: var(--ink); text-align: left; cursor: pointer; }
.room-view-tabs button:last-child { border-right: 0; }
.room-view-tabs button span { color: var(--coral); font-size: .66rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.room-view-tabs button b { font: 400 1rem/1.2 Georgia,serif; }
.room-view-tabs button.is-active { background: var(--deep); color: #fff; box-shadow: inset 0 -4px var(--coral); }
.room-view-stack { border-right: 1px solid var(--line); border-left: 1px solid var(--line); background: #e9e1d2; }
.room-view-panel[hidden] { display: none !important; }
.room-view-panel .room-scroll { border-right: 0; border-left: 0; }
.room-view-panel .terrace-map-title { margin: 0; padding: 1rem 1.25rem; background: #fbf7ee; }
.source-plan-table { cursor: pointer; transition: filter .18s, opacity .18s, transform .18s; }
.source-plan-table::before { content: ""; position: absolute; z-index: -1; inset: -5px; border: 1px solid transparent; background: transparent; box-shadow: none; pointer-events: none; transition: border-color .18s, background .18s, box-shadow .18s; }
.source-plan-table.is-forecast-free { opacity: .56; filter: saturate(.55); }
.source-plan-table.is-forecast-occupied::before { border-color: rgba(26,117,102,.84); background: rgba(49,145,123,.13); box-shadow: 0 0 0 2px rgba(49,145,123,.08); }
.source-plan-table.is-service-attention::before { border-color: rgba(190,63,44,.95); background: rgba(223,87,58,.16); box-shadow: 0 0 0 3px rgba(190,63,44,.12); }
.source-plan-table.is-forecast-cleaning::before { border-color: rgba(61,113,128,.92); background: repeating-linear-gradient(135deg,rgba(185,215,220,.38) 0 5px,rgba(255,255,255,.45) 5px 10px); box-shadow: 0 0 0 2px rgba(61,113,128,.1); }
.source-plan-table.is-forecast-reserved::before { border-color: rgba(215,131,66,.95); background: rgba(246,200,121,.2); box-shadow: 0 0 0 2px rgba(246,200,121,.1); }
.source-plan-table.is-forecast-selected { z-index: 8; opacity: 1; filter: none; }
.source-plan-table.is-forecast-selected::before { inset: -8px; border: 2px solid var(--coral); box-shadow: 0 0 0 4px rgba(223,87,58,.15), 0 9px 18px rgba(18,49,60,.2); }
.table-operation-dot { position: absolute; z-index: 8; top: -8px; left: -7px; width: 9px; height: 9px; border: 2px solid #fff; border-radius: 50%; background: #1a7566; box-shadow: 0 1px 5px rgba(18,49,60,.25); pointer-events: none; }
.source-plan-table.is-forecast-reserved .table-operation-dot { background: #d78342; }
.source-plan-table.is-forecast-cleaning .table-operation-dot { background: #3d7180; }
.source-plan-table.is-service-attention .table-operation-dot { background: #be3f2c; box-shadow: 0 0 0 4px rgba(190,63,44,.2), 0 1px 5px rgba(18,49,60,.25); }
.source-plan-table.is-origin-walkin .table-operation-dot { background: var(--coral); }
.shift-selection { margin: .7rem 0 0; color: rgba(18,49,60,.58); font-size: .7rem; line-height: 1.4; }
.shift-row { cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.shift-row:hover,.shift-row:focus-visible { border-color: var(--teal); outline: 0; }
.shift-row.is-selected { border-color: var(--coral); background: #fff1e8; transform: translateX(-3px); box-shadow: 0 8px 22px rgba(18,49,60,.1); }
.staff-interval { opacity: .62; transition: opacity .18s, filter .18s; }
.staff-interval.is-selected { opacity: 1; filter: brightness(1.28) saturate(1.12); }
.forecast-decisions b { overflow-wrap: anywhere; }

@media (max-width: 1540px) and (min-width: 1101px) {
  .site-header {
    grid-template-columns: 190px minmax(0,1fr);
    padding-inline: clamp(1.2rem,2.5vw,2.4rem);
  }
  .brand img { width: 150px; }
  .site-header nav {
    min-width: 0;
    justify-content: flex-start;
    overflow-x: auto;
  }
  .service-date { display: none; }
}

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 220px 1fr; }
  .site-header nav { min-width: 0; justify-content: flex-start; overflow-x: auto; }
  .service-date { display: none; }
  .quality-system-layers { grid-template-columns: repeat(2,1fr); }
  .quality-system-layers article:nth-child(2) { border-right: 0; }
  .quality-system-layers article { border-bottom: 1px solid rgba(255,255,255,.14); }
  .opening { grid-template-columns: 1fr; }
  .opening-photo { min-height: 60vh; }
  .opening-copy { min-height: 620px; }
  .opening-product { width: 100%; max-height: none; }
  .opening-product .opening-photo { min-height: 420px; }
  .opening-product .opening-copy { min-height: auto; }
  .section-heading { grid-template-columns: 1fr; gap: 1.5rem; }
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
  .proof-grid article:nth-child(2) { border-right: 0; }
  .proof-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .data-contract, .floor-shell, .staff-calibration, .staff-board, .model-shell { grid-template-columns: 1fr; }
  .forecast-showcase, .grounding, .route-hero-inner { grid-template-columns: 1fr; }
  .capability-grid { grid-template-columns: repeat(2,1fr); }
  .capability-grid a:nth-child(2) { border-right: 0; }
  .capability-grid a:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .grounding-copy { justify-self: start; }
  .venue-plan-head { grid-template-columns: 1fr; gap: 1rem; }
  .day-close-heading,.day-close-proof { grid-template-columns: 1fr; gap: 1rem; }
  .day-close-controls { grid-template-columns: 1fr 1fr; }
  .day-close-proof > div { border-right: 0; border-bottom: 1px solid var(--line); }
  .day-close-state { grid-template-columns: repeat(2,1fr); }
  .day-close-state article:nth-child(2) { border-right: 0; }
  .day-close-state article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .table-operations-heading { grid-template-columns: 1fr; gap: 1rem; }
  .table-operations-controls { grid-template-columns: 1fr 1fr; }
  .table-operations-kpis { grid-template-columns: repeat(2,1fr); }
  .table-operations-kpis article:nth-child(even) { border-right: 0; }
  .table-operations-kpis article:nth-child(-n+4) { border-bottom: 1px solid var(--line); }
  .table-operations-detail { grid-template-columns: 1fr 1fr; }
  .table-operations-detail p { grid-column: 1 / -1; }
  .spatial-ledger { grid-template-columns: 1fr; }
  .spatial-ledger > span, .spatial-ledger > p, .spatial-ledger dl { grid-column: 1; grid-row: auto; }
  .calibration-intro { grid-template-columns: 1fr; }
  .calibration-intro p { grid-column: 1; grid-row: auto; }
  .staff-kpis { grid-template-columns: repeat(3, 1fr); }
  .staff-kpis article:nth-child(3) { border-right: 0; }
  .contract-intro { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
  .table-family { grid-template-columns: repeat(8, minmax(36px, 1fr)); }
  .scenario-tabs { grid-template-columns: repeat(3, 1fr); }
  .studio-topbar { grid-template-columns: 1fr auto; }
  .studio-plan-meta { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid var(--line); }
  .studio-plan-meta label:last-child { border-right: 0; }
  .studio-workspace { grid-template-columns: 1fr; }
  .studio-palette { border-right: 0; border-bottom: 1px solid var(--line); }
  .studio-palette-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
  .studio-palette-scroll { max-height: calc(224px + .55rem); }
  .studio-room-editor { grid-template-columns: minmax(150px,1fr) 105px 105px repeat(3,auto); }
  .studio-numbering-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-numbering-panel > div { grid-column: 1 / -1; }
  .studio-selection { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 1rem; }
  .studio-selection > span { grid-column: 1 / -1; }
  .studio-selection > b { min-height: 0; margin: 0; }
  .studio-object-metrics { grid-column: 1 / -1; }
  .studio-table-code { grid-column: 1 / -1; }
  .studio-selection > div { grid-template-columns: repeat(3,auto); }
  .studio-contract { grid-template-columns: 1fr; }
  .studio-contract article { min-height: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.15); }
}

@media (max-width: 720px) {
  .site-header { min-height: 116px; grid-template-columns: 1fr; grid-template-rows: 62px 54px; padding: 0; }
  .brand img { width: 130px; }
  .brand { padding-left: 1rem; }
  .site-header nav { width: 100%; justify-content: flex-start; gap: 1.2rem; padding: 0 1rem; overflow-x: auto; border-top: 1px solid var(--line); }
  .site-header nav a { flex: 0 0 auto; }
  .forecast-week { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .forecast-week button { flex: 0 0 132px; scroll-snap-align: start; }
  .studio-topbar { grid-template-columns: 1fr; }
  .studio-stats { grid-template-columns: repeat(3,1fr); min-height: 70px; border-top: 1px solid var(--line); }
  .studio-stats div:first-child { border-left: 0; }
  .studio-room-tabs button { min-width: 155px; flex: 0 0 auto; }
  .studio-palette-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-palette-scroll { max-height: calc(448px + 1.65rem); }
  .studio-selection { display: block; }
  .studio-selection > b { margin: .4rem 0 .8rem; }
  .studio-selection > div { grid-template-columns: 1fr; }
  .studio-canvas-head { align-items: flex-start; flex-direction: column; }
  .studio-room-editor { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-room-editor label:first-child { grid-column: 1 / -1; }
  .studio-room-editor button { min-height: 42px; }
  .studio-room-editor > small { grid-column: 1 / -1; }
  .studio-file-actions { width: 100%; max-width: 100%; justify-content: flex-start; overflow-x: auto; }
  .studio-numbering-panel { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-numbering-panel > div { grid-column: 1 / -1; }
  .studio-layout-review-summary { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-layout-review-summary span:nth-child(3) { border-left: 0; border-top: 1px solid rgba(12,70,85,.12); }
  .studio-layout-review-summary span:nth-child(4) { border-top: 1px solid rgba(12,70,85,.12); }
  .studio-layout-review-results { grid-template-columns: 1fr; max-height: 360px; }
  .studio-proposal-controls { grid-template-columns: 1fr 1fr; }
  .studio-proposal-controls label { grid-column: 1 / -1; }
  .studio-proposal-proof { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .studio-proposal-proof div { border-top: 1px solid rgba(12,70,85,.12); }
  .studio-proposal-actions { justify-content: stretch; }
  .studio-proposal-actions button { flex: 1; }
  .studio-status-row { grid-template-columns: 1fr; }
  .studio-save-note { border-right: 0; border-bottom: 1px solid var(--line); }
  .opening { min-height: auto; }
  .opening-photo { min-height: 48vh; }
  .opening-copy { min-height: auto; padding: 3.4rem 1.25rem 4.5rem; }
  .opening-product { width: 100%; margin: 0; }
  .opening-product .opening-photo { min-height: 280px; }
  .opening-product .opening-photo img { object-position: 32% center; }
  .opening-product .opening-copy { padding: 2.5rem 1.25rem 3rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.8rem); }
  .truth-strip { display: grid; }
  .hero-proof { grid-template-columns: 1fr; }
  .section { padding: 4.5rem 1rem; }
  .section-heading { margin-bottom: 2.4rem; }
  .section-heading h2 { font-size: clamp(2.7rem, 14vw, 4.2rem); }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid article { min-height: 160px; border-right: 0; border-bottom: 1px solid var(--line); }
  .proof-grid article:last-child { border-bottom: 0; }
  .database-callout { grid-template-columns: 1fr; }
  .forecast-main { height: auto; min-height: 743px; grid-template-columns: 1fr; }
  .forecast-number { text-align: left; }
  .forecast-curve, .forecast-times, .forecast-hourly-weather { grid-column: 1; }
  .forecast-curve { height: 190px; gap: 3px; padding: 0 4.8rem; }
  .forecast-times, .forecast-hourly-weather, .timeline, .timeline-labels, .staff-curve { padding-right: 4.8rem; padding-left: 4.8rem; }
  .forecast-curve::before,.timeline::before,.staff-curve::before { right: 4.8rem; left: 4.8rem; }
  .chart-capacity-line { right: 4.8rem; left: 4.8rem; }
  .chart-y-axis { width: 4.8rem; }
  .chart-y-axis em { left: -.2rem; width: auto; font-size: .44rem; }
  .chart-y-axis b { right: .4rem; width: 2.2rem; }
  .live-source { text-align: left; }
  .data-integrity-status { text-align: left; }
  .quality-system-heading { grid-template-columns: 1fr; gap: 1.2rem; padding: 1.6rem; }
  .quality-system-kpis,.quality-system-layers { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .quality-system-kpis article:nth-child(2) { border-right: 0; }
  .quality-system-kpis article { border-bottom: 1px solid rgba(255,255,255,.14); }
  .quality-system-layers article { min-height: 0; padding: 1.4rem; }
  .forecast-times { grid-template-columns: repeat(6, 1fr); gap: 3px; padding-left: 4.8rem; }
  .forecast-hourly-weather { grid-template-columns: repeat(6,1fr); gap: 3px; }
  .forecast-hourly-weather article:nth-child(even) { display: none; }
  .forecast-hourly-weather svg { width: 22px; height: 22px; }
  .forecast-now[data-edge="before"] { left: 4.45rem !important; }
  .forecast-times span:nth-child(even) { display: none; }
  .route-cta { grid-template-columns: 1fr; }
  .route-cta span { width: max-content; }
  .capability-grid { grid-template-columns: 1fr; }
  .capability-grid a { min-height: 270px; border-right: 0; border-bottom: 1px solid var(--line); }
  .capability-grid a:last-child { border-bottom: 0; }
  .grounding-list article { grid-template-columns: 1fr; gap: .4rem; }
  .route-hero { padding-top: 3rem; }
  .route-hero h1 { line-height: 1.04; letter-spacing: -.025em; }
  .venue-plan { padding: 1rem; }
  .day-close-heading { padding: 2rem 1.25rem; }
  .day-close-controls,.day-close-comparison,.day-close-proof ol,.day-close-ledger { grid-template-columns: 1fr; }
  .day-close-state { grid-template-columns: 1fr 1fr; }
  .day-close-comparison article { min-height: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .day-close-comparison article:last-child { border-bottom: 0; }
  .day-close-proof li,.day-close-proof li:nth-child(even),.day-close-proof li:nth-last-child(-n+2) { border-right: 0; border-bottom: 1px solid var(--line); }
  .day-close-proof li:last-child { border-bottom: 0; }
  .day-close-ledger { gap: .4rem; }
  .table-operations-heading,.table-operations-time,.table-operations-proof,.table-operations-detail { padding-right: 1rem; padding-left: 1rem; }
  .table-operations-controls { grid-template-columns: 1fr; }
  .table-operations-kpis article { padding: .85rem 1rem; }
  .table-operations-kpis b { font-size: 1.7rem; }
  .table-operations-proof { align-items: flex-start; flex-direction: column; }
  .table-operations-legend { flex-wrap: wrap; }
  .table-operations-detail { grid-template-columns: 1fr; }
  .table-operations-detail p { grid-column: 1; }
  .room-map { min-width: 900px; }
  .spatial-ledger dl { grid-template-columns: repeat(2,1fr); gap: 1.2rem 0; }
  .database-callout > span { width: max-content; }
  .data-contract { margin-top: 1rem; }
  .contract-ledger article { grid-template-columns: 18px 1fr; }
  .contract-ledger em { grid-column: 2; }
  .floor-plan { padding: 1.5rem 1rem; }
  .table-family { grid-template-columns: repeat(4, minmax(42px, 1fr)); }
  .scenario-tabs { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
  .scenario-tabs button { min-width: 220px; scroll-snap-align: start; }
  .day-top { grid-template-columns: 1fr; }
  .day-verdict { text-align: left; }
  .day-kpis { grid-template-columns: repeat(2, 1fr); }
  .day-kpis article:nth-child(2) { border-right: 0; }
  .day-kpis article:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.14); }
  .timeline-shell { padding: 1.5rem 1rem 2rem; }
  .timeline { height: 170px; gap: 2px; }
  .timeline-labels { font-size: .48rem; }
  .timeline-labels span:nth-child(even) { visibility: hidden; }
  .day-lower, .score-pair { grid-template-columns: 1fr; }
  .day-sources, .day-plan { padding: 1.5rem; }
  .day-sources ul { grid-template-columns: 1fr; }
  .ratio-ladder { grid-template-columns: repeat(3, 1fr); }
  .ratio-ladder div:nth-child(3) { border-right: 0; }
  .ratio-ladder div:nth-child(-n+3) { border-bottom: 1px solid rgba(255,255,255,.16); }
  .calibration-facts, .staff-day-head, .staff-kpis, .shift-list { grid-template-columns: 1fr; }
  .staff-day-head, .requirement-board, .shift-board { padding: 1.5rem; }
  .staff-kpis article { border-right: 0; border-bottom: 1px solid var(--line); }
  .staff-kpis article:last-child { border-bottom: 0; }
  .score-pair article + article { border-left: 0; border-top: 1px solid var(--line); }
  footer { grid-template-columns: 1fr; text-align: left; }
}
@media (max-width: 520px) {
  .studio-numbering-panel { grid-template-columns: 1fr; }
  .studio-numbering-panel > div { grid-column: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* Backtest · aantoonbare kalibratie per cohort en horizon */
.calibration-evidence {
  max-width: 1440px;
  margin: 1rem auto 0;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.calibration-head {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: end;
  gap: 3rem;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: var(--cream);
}
.calibration-head h2 {
  max-width: 760px;
  margin: .8rem 0 0;
  font-size: clamp(3rem, 5vw, 5.8rem);
  line-height: .9;
}
.calibration-head p {
  max-width: 620px;
  margin: 0;
  line-height: 1.75;
}
.calibration-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.calibration-summary article {
  min-height: 170px;
  padding: 1.8rem 2rem;
}
.calibration-summary article + article { border-left: 1px solid var(--line); }
.calibration-summary span,
.calibration-table-head span,
.horizon-proof > div:first-child span {
  color: var(--coral);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.calibration-summary b {
  display: block;
  margin: 1rem 0 .4rem;
  font-family: Georgia, serif;
  font-size: clamp(2.2rem, 3.2vw, 3.8rem);
  font-weight: 400;
  line-height: .95;
}
.calibration-summary small { color: rgba(18,49,60,.58); line-height: 1.45; }
.calibration-summary.has-coverage-warning article:nth-child(3) b { color: var(--coral); }
.calibration-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.calibration-grid > section { padding: clamp(1.5rem, 3vw, 3rem); }
.calibration-grid > section + section { border-left: 1px solid var(--line); }
.calibration-table-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.2rem;
}
.calibration-table-head h3 {
  margin: .45rem 0 0;
  font-size: clamp(2rem, 3vw, 3.2rem);
  line-height: 1;
}
.calibration-table-head > small { color: rgba(18,49,60,.55); text-align: right; }
.calibration-table { border-top: 1px solid var(--line); }
.calibration-row {
  display: grid;
  grid-template-columns: 1.15fr 1.75fr auto;
  align-items: center;
  gap: 1rem;
  min-height: 92px;
  border-bottom: 1px solid var(--line);
}
.calibration-row > div > b { display: block; font-family: Georgia, serif; font-size: 1.15rem; font-weight: 400; }
.calibration-row > div > small { display: block; margin-top: .25rem; color: rgba(18,49,60,.5); }
.calibration-row dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin: 0;
}
.calibration-row dl div { min-width: 0; }
.calibration-row dt {
  color: rgba(18,49,60,.48);
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.calibration-row dd { margin: .25rem 0 0; font-weight: 800; }
.calibration-row > span {
  padding: .45rem .55rem;
  border: 1px solid currentColor;
  color: #2d7a67;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.calibration-row.is-warning > span { color: var(--coral); }
.calibration-row.is-blocked > span { color: #8c6d63; }
.horizon-proof {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 2rem 3rem;
  padding: clamp(2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  background: var(--deep);
  color: #fff;
}
.horizon-proof h3 { margin: .55rem 0 0; font-size: clamp(2rem, 3vw, 3.5rem); line-height: 1; }
.horizon-proof > p { max-width: 720px; margin: 0; color: rgba(255,255,255,.7); line-height: 1.7; }
.horizon-strip {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border: 1px solid rgba(255,255,255,.18);
}
.horizon-strip article {
  min-width: 0;
  padding: 1.2rem;
}
.horizon-strip article + article { border-left: 1px solid rgba(255,255,255,.18); }
.horizon-strip b { display: block; font-family: Georgia, serif; font-size: 1.7rem; font-weight: 400; }
.horizon-strip span { display: block; margin-top: .5rem; color: rgba(255,255,255,.55); font-size: .7rem; }
.horizon-strip small { display: block; margin-top: .7rem; color: #c8a96a; font-size: .55rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.horizon-strip .is-measured { background: rgba(255,255,255,.08); }
.horizon-strip .is-measured small { color: var(--peach); }
.horizon-strip .is-reconstructed { background: rgba(255,255,255,.035); }
.horizon-strip .is-reconstructed small { color: #c8a96a; }
.conformal-shadow {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 2.5rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.05);
}
.conformal-shadow > div > span {
  color: var(--peach);
  font-size: .6rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.conformal-shadow h3 { margin: .6rem 0 1rem; font-size: clamp(1.8rem, 2.5vw, 3rem); }
.conformal-shadow p { max-width: 620px; margin: 0; color: rgba(255,255,255,.65); line-height: 1.65; }
.conformal-shadow dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: 0;
  border: 1px solid rgba(255,255,255,.15);
}
.conformal-shadow dl div { min-width: 0; padding: 1.2rem; }
.conformal-shadow dl div + div { border-left: 1px solid rgba(255,255,255,.15); }
.conformal-shadow dt { color: rgba(255,255,255,.5); font-size: .55rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.conformal-shadow dd { margin: .8rem 0 .35rem; font-family: Georgia, serif; font-size: clamp(1.5rem, 2vw, 2.3rem); }
.conformal-shadow small { display: block; color: rgba(255,255,255,.5); font-size: .62rem; line-height: 1.4; }

@media (max-width: 900px) {
  .calibration-head,
  .horizon-proof,
  .conformal-shadow { grid-template-columns: 1fr; gap: 1.5rem; }
  .calibration-summary { grid-template-columns: 1fr 1fr; }
  .calibration-summary article:nth-child(3) { border-left: 0; }
  .calibration-summary article:nth-child(n+3) { border-top: 1px solid var(--line); }
  .calibration-grid { grid-template-columns: 1fr; }
  .calibration-grid > section + section { border-top: 1px solid var(--line); border-left: 0; }
}

@media (max-width: 620px) {
  .calibration-head { padding: 2rem 1.25rem; }
  .calibration-head h2 { font-size: 3rem; }
  .calibration-summary { grid-template-columns: 1fr; }
  .calibration-summary article { min-height: 0; padding: 1.4rem; }
  .calibration-summary article + article { border-top: 1px solid var(--line); border-left: 0; }
  .calibration-grid > section { padding: 1.5rem 1.25rem; }
  .calibration-table-head { align-items: flex-start; flex-direction: column; }
  .calibration-table-head > small { text-align: left; }
  .calibration-row { grid-template-columns: 1fr; gap: .8rem; padding: 1rem 0; }
  .calibration-row > span { width: max-content; }
  .horizon-proof { padding: 2rem 1.25rem; }
  .horizon-strip { grid-template-columns: repeat(2, 1fr); }
  .horizon-strip article + article { border-left: 0; }
  .horizon-strip article:nth-child(even) { border-left: 1px solid rgba(255,255,255,.18); }
  .horizon-strip article:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .conformal-shadow { padding: 1.25rem; }
  .conformal-shadow dl { grid-template-columns: 1fr 1fr; }
  .conformal-shadow dl div:nth-child(3) { border-left: 0; }
  .conformal-shadow dl div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.15); }
}
