@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&display=swap');
@import url('/quantdesk-dashboard.css');
:root{--paper:#f7f6f2;--ink:#252722;--muted:#71736b;--line:#d9d9d0;--accent:#667767;--width:1120px;--ease:cubic-bezier(.22,.7,.25,1)}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-snap-type:y proximity;scroll-padding-top:0}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:15px;line-height:1.5}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}a:focus-visible,button:focus-visible,summary:focus-visible{outline:2px solid var(--accent);outline-offset:5px}button:disabled{opacity:.4;cursor:default}.skip{position:fixed;top:-100px;left:20px;z-index:99;background:var(--ink);color:white;padding:12px}.skip:focus{top:10px}.site-header{position:fixed;z-index:10;left:0;right:0;top:0;display:flex;justify-content:space-between;align-items:center;padding:20px max(5vw,24px);background:linear-gradient(var(--paper) 65%,transparent);pointer-events:none}.site-header a,.site-header button{pointer-events:auto}.brand{font-size:14px;font-weight:600;letter-spacing:-.03em}.brand span{color:var(--accent)}.header-links{display:flex;gap:22px;align-items:center;font-size:12px}.header-links button{color:var(--muted);font-size:11px}.header-links a:hover,.text-link:hover,.tag:hover{text-decoration:underline;text-underline-offset:4px}main{display:block}.chapter{min-height:100svh;scroll-snap-align:start;display:flex;flex-direction:column;justify-content:center;padding:90px 85px 64px 50px;position:relative}.wrap{width:min(100%,var(--width));margin:0 auto}.intro-wrap{max-width:1000px}.eyebrow{font-size:10px;letter-spacing:.12em;text-transform:uppercase;color:var(--muted);font-weight:500}h1,h2,h3,p{margin:0}h1,h2{font-size:clamp(38px,4.5vw,66px);font-weight:400;letter-spacing:-.065em;line-height:1.07}h3{font-weight:500}.lead{margin-top:14px;color:var(--muted);max-width:680px;font-size:15px}.section-head{display:flex;align-items:baseline;justify-content:space-between;gap:20px;margin-bottom:26px}.text-link{font-size:12px;white-space:nowrap}.arrow{display:inline-block;transition:transform .23s var(--ease)}a:hover .arrow{transform:translate(2px,-2px)}.intro-line{font-size:clamp(16px,2vw,24px);margin-top:12px;letter-spacing:-.035em;line-height:1.8}.slot{display:inline-flex;vertical-align:baseline;justify-content:center;overflow:hidden;border-bottom:1px solid #a4ada0;color:var(--accent);white-space:nowrap;line-height:1.25;height:1.45em;align-items:center}.slot span,.skill-slot span{display:block;animation:word-in .48s var(--ease)}@keyframes word-in{from{opacity:0;transform:translateY(80%)}to{opacity:1;transform:translateY(0)}}.resume-grid{display:grid;grid-template-columns:1fr 1fr;gap:58px;margin-top:35px;align-items:start}.column-label{font-size:11px;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;margin-bottom:9px}.resume-item{border-top:1px solid var(--line)}.resume-item:last-child{border-bottom:1px solid var(--line)}.resume-item summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:1fr auto 12px;gap:4px 12px;padding:13px 0;align-items:baseline}.resume-item summary::-webkit-details-marker{display:none}.org{font-weight:600;font-size:14px}.date,.role,.summary,.tags{font-size:12px;color:var(--muted)}.role,.summary{grid-column:1/-1}.summary{color:#53574e}.plus:before{content:'+';font-size:17px;color:var(--muted)}details[open] .plus:before{content:'−'}.resume-item summary:hover .org{text-decoration:underline;text-underline-offset:4px}.resume-detail{padding:0 16px 16px 0;animation:fade .25s ease}.resume-detail ul{padding-left:17px;margin:5px 0 12px;font-size:13px;line-height:1.7}.resume-detail li+li{margin-top:6px}.related{display:flex;flex-wrap:wrap;gap:9px 15px;font-size:12px}.related a:hover{text-decoration:underline}.intro-footer{margin-top:20px}.chapter-footer{display:flex;align-items:center;justify-content:space-between;margin-top:28px;color:var(--muted);font-size:10px;letter-spacing:.08em}.next{font-size:23px;line-height:1;transition:transform .2s}.next:hover{transform:translateY(3px)}#chapters{position:fixed;z-index:11;right:28px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:4px}#chapters a{position:relative;display:flex;align-items:center;justify-content:center;width:28px;height:34px}#chapters .marker{width:4px;height:25px;background:#d1d3c9;transition:width .25s,background .25s}#chapters a[aria-current=true] .marker{width:8px;background:var(--ink)}#chapters .nav-label{position:absolute;right:32px;font-size:11px;white-space:nowrap;opacity:0;transform:translateX(4px);transition:opacity .2s,transform .2s;background:var(--paper);padding:3px 6px}#chapters a:hover .nav-label,#chapters a:focus-visible .nav-label{opacity:1;transform:translateX(0)}.project-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));column-gap:17px;row-gap:24px;align-items:start}.project-grid .group-head{grid-column:span 2;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--line);padding-bottom:9px;font-size:12px}.project-grid .group-head:nth-child(2){margin-left:22px}.project-grid.home .project:nth-of-type(4n+3),.project-grid.home .project:nth-of-type(4n+4){margin-left:0}.project-grid.home{grid-template-columns:repeat(2,minmax(0,1fr)) 22px repeat(2,minmax(0,1fr));column-gap:14px}.project-grid.home .group-head:first-child{grid-column:1/3}.project-grid.home .group-head:nth-child(2){grid-column:4/6;margin-left:0}.project-grid.home .project:nth-child(4n+3){grid-column:1}.project-grid.home .project:nth-child(4n+4){grid-column:2}.project-grid.home .project:nth-child(4n+5){grid-column:4}.project-grid.home .project:nth-child(4n+6){grid-column:5}.project{min-width:0;position:relative;display:flex;flex-direction:column;align-self:stretch}.media{aspect-ratio:16/9;background:#e0e1d8;overflow:hidden;display:block;position:relative}.media img,.media video,.media svg{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s var(--ease)}.project:hover .media img,.project:hover .media svg{transform:scale(1.03)}.project-title{display:flex;justify-content:space-between;gap:6px;margin-top:8px;font-size:13px;font-weight:600;line-height:1.3}.project:hover .project-title .name{text-decoration:underline;text-underline-offset:3px}.project .role{font-size:11px;margin-top:3px}.project .description{font-size:11px;line-height:1.45;margin-top:4px;min-height:2.9em;color:#4c5048}.tags{display:flex;flex-wrap:wrap;gap:0 6px;font-size:10px;margin-top:auto;padding-top:5px}.tag+.tag:before{content:'/';margin-right:6px;color:#b0b2a8}.project-link:after{content:'';position:absolute;inset:0;z-index:1}.tags a{position:relative;z-index:2}.placeholder-note{font-size:10px;color:var(--muted);margin-top:10px}.thought-list{max-width:740px;margin-top:32px}.thought{display:flex;justify-content:space-between;gap:20px;align-items:center;border-bottom:1px solid var(--line);padding:18px 0;font-size:clamp(15px,1.9vw,21px);letter-spacing:-.02em}.thought:first-child{border-top:1px solid var(--line)}.thought:hover .name{text-decoration:underline;text-underline-offset:5px}.about-grid,.skills-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px 54px;margin-top:30px;max-width:1000px}.personal{border-top:1px solid var(--line);padding-top:11px}.personal p{margin-top:6px;font-size:14px}.skills-title{margin-top:35px}.skills-grid{margin-top:15px;gap:16px 54px}.skill-pair{display:grid;grid-template-columns:1fr 1fr;gap:13px}.skill-slot{font-size:13px;height:32px;border-bottom:1px solid var(--line);overflow:hidden;display:flex;align-items:center;white-space:nowrap}.skill-all{margin-top:16px;font-size:12px}.skill-all summary{cursor:pointer;color:var(--muted)}.skill-all p{margin-top:8px}.contact{border-top:1px solid var(--line);margin-top:30px;padding-top:14px;display:flex;justify-content:space-between;gap:20px;font-size:13px}.contact-links{display:flex;gap:20px;flex-wrap:wrap}.subpage{min-height:100svh;padding:110px 6vw 60px;max-width:1320px;margin:auto;animation:fade .3s ease}.subpage h1{margin-top:22px}.back{font-size:12px;color:var(--muted)}.filterbar{margin:30px 0;display:grid;gap:12px}.filterrow{display:flex;flex-wrap:wrap;gap:7px}.filter{border:1px solid var(--line);padding:6px 12px;font-size:12px}.filter[aria-pressed=true]{background:var(--ink);border-color:var(--ink);color:var(--paper)}.filter:hover{border-color:var(--ink)}.result-count{font-size:12px;color:var(--muted)}.archive-grid{margin-top:22px;row-gap:35px}.detail-media{max-width:900px;margin:30px 0}.detail-meta{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;color:var(--muted);margin-top:15px}.detail-body{max-width:700px;line-height:1.8}.detail-body h2{font-size:25px;letter-spacing:-.035em;margin:26px 0 10px}.detail-body p{margin-bottom:14px}.empty{grid-column:1/-1;padding:50px 0;color:var(--muted)}.art-motion{animation:orbit 14s linear infinite;transform-origin:center;animation-play-state:paused}.media.playing .art-motion{animation-play-state:running}@keyframes orbit{to{transform:rotate(360deg)}}@keyframes fade{from{opacity:0}to{opacity:1}}body.motion-paused *{animation-play-state:paused!important}body.motion-paused .slot span,body.motion-paused .skill-slot span{animation:none}
@media(max-width:1100px){.chapter{padding-left:40px;padding-right:70px}.project-grid.home{grid-template-columns:repeat(2,minmax(0,1fr)) 10px repeat(2,minmax(0,1fr));column-gap:10px}.resume-grid{gap:35px}}@media(max-width:760px){html{scroll-snap-type:none}.site-header{padding:15px 20px}.header-links{gap:12px}#chapters{right:5px}#chapters a{width:20px;height:26px}#chapters .marker{height:18px}.chapter{min-height:100svh;padding:85px 34px 48px 20px;justify-content:flex-start}.resume-grid,.about-grid,.skills-grid{grid-template-columns:1fr;gap:24px}.project-grid.home{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px 10px}.project-grid.home .group-head:first-child{grid-column:1/-1;grid-row:1}.project-grid.home .group-head:nth-child(2){grid-column:1/-1;grid-row:4}.project-grid.home .project{grid-column:auto!important;grid-row:var(--mobile-row)}.project-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.section-head{align-items:flex-start}.contact{flex-direction:column}.intro-line{font-size:16px}.subpage{padding:85px 20px 40px}.date{font-size:10px}.thought{font-size:16px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto;scroll-snap-type:none}*,*:before,*:after{animation:none!important;transition:none!important}}

/* Preserve the complete uploaded diagrams within the shared thumbnail frame. */
.media-contain { background: #fafafa; }
.media-contain img, .media-contain video { object-fit: contain; }
.project:hover .media-contain img { transform: none; }
.detail-media .media-contain { aspect-ratio: 16 / 9; }

/* Seven columns by six rows. Frame offsets follow the approved loop's timing. */
.agent-frames {
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  background-size: 700% 600%;
  animation: agent-frames 8370ms steps(1, end) infinite paused;
}

.media.playing .agent-frames { animation-play-state: running; }

@media (prefers-reduced-motion: reduce) {
  .agent-frames { display: none; }
}

@keyframes agent-frames {
  0% { background-position: 0% 0%; }
  14.336918% { background-position: 16.666667% 0%; }
  15.651135% { background-position: 33.333333% 0%; }
  16.965352% { background-position: 50% 0%; }
  18.27957% { background-position: 66.666667% 0%; }
  19.593787% { background-position: 83.333333% 0%; }
  20.908005% { background-position: 100% 0%; }
  22.222222% { background-position: 0% 20%; }
  23.53644% { background-position: 16.666667% 20%; }
  24.850657% { background-position: 33.333333% 20%; }
  26.164875% { background-position: 50% 20%; }
  27.479092% { background-position: 66.666667% 20%; }
  28.793309% { background-position: 83.333333% 20%; }
  35.961768% { background-position: 100% 20%; }
  37.275986% { background-position: 0% 40%; }
  38.590203% { background-position: 16.666667% 40%; }
  39.904421% { background-position: 33.333333% 40%; }
  41.218638% { background-position: 50% 40%; }
  42.532855% { background-position: 66.666667% 40%; }
  43.847073% { background-position: 83.333333% 40%; }
  45.16129% { background-position: 100% 40%; }
  46.475508% { background-position: 0% 60%; }
  47.789725% { background-position: 16.666667% 60%; }
  49.103943% { background-position: 33.333333% 60%; }
  50.41816% { background-position: 50% 60%; }
  51.732378% { background-position: 66.666667% 60%; }
  59.498208% { background-position: 83.333333% 60%; }
  60.812425% { background-position: 100% 60%; }
  62.126643% { background-position: 0% 80%; }
  63.44086% { background-position: 16.666667% 80%; }
  64.755078% { background-position: 33.333333% 80%; }
  66.069295% { background-position: 50% 80%; }
  67.383513% { background-position: 66.666667% 80%; }
  68.69773% { background-position: 83.333333% 80%; }
  70.011947% { background-position: 100% 80%; }
  71.326165% { background-position: 0% 100%; }
  72.640382% { background-position: 16.666667% 100%; }
  73.9546% { background-position: 33.333333% 100%; }
  75.268817% { background-position: 50% 100%; }
  76.583035% { background-position: 66.666667% 100%; }
  77.897252% { background-position: 83.333333% 100%; }
  100% { background-position: 83.333333% 100%; }
}

/* Shared chapter grid and reading rhythm */
:root {
  --paper: #f6f5f0;
  --ink: #232722;
  --muted: #5d6359;
  --line: #d5d8ce;
  --accent: #465f4b;
  --gutter: clamp(44px, 7vw, 120px);
}
.site-header {
  padding-inline: var(--gutter);
}
.header-links button {
  min-height: 32px;
  padding-inline: 6px;
}
.header-links button:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.chapter {
  padding: clamp(82px, 11svh, 112px) var(--gutter) clamp(38px, 6svh, 64px);
}
.wrap {
  max-width: var(--width);
}
.chapter h1,
.chapter h2 {
  letter-spacing: -.058em;
  font-size: clamp(42px, 4.7vw, 72px);
}
#greeting {
  margin-bottom: 6px;
}
.chapter .lead {
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  max-width: 61ch;
}
.intro-line {
  margin-top: 16px;
  line-height: 1.55;
}
.slot {
  display: inline-grid;
  vertical-align: baseline;
  height: 1.23em;
  justify-items: center;
}
.slot span {
  align-self: start;
}
.resume-grid {
  gap: clamp(28px, 5vw, 72px);
  margin-top: clamp(25px, 4svh, 39px);
}
.resume-item summary {
  grid-template-columns: minmax(0, 1fr) auto 16px;
  gap: 2px 12px;
  padding: clamp(9px, 1.25svh, 13px) 0;
}
.resume-item[open] {
  border-top-color: var(--accent);
}
.resume-item .plus {
  text-align: center;
}
.resume-item .date {
  font-variant-numeric: tabular-nums;
}
.chapter-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  border-top: 1px solid var(--line);
  margin-top: clamp(20px, 3svh, 32px);
  padding-top: 8px;
  font-variant-numeric: tabular-nums;
}
.chapter-footer > :last-child {
  justify-self: end;
}
.next {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 18px;
}
.next:hover {
  border-color: var(--accent);
  color: var(--accent);
}
#chapters {
  right: clamp(10px, 2vw, 32px);
  gap: 0;
}
#chapters::before {
  content: '';
  position: absolute;
  inset: 17px auto 17px calc(50% - .5px);
  width: 1px;
  background: var(--line);
  pointer-events: none;
}
#chapters:empty {
  display: none;
}
#chapters a {
  width: 40px;
  height: 36px;
}
#chapters .marker {
  width: 8px;
  height: 8px;
  background: var(--paper);
  border: 1px solid var(--muted);
  border-radius: 50%;
  transition: height .2s var(--ease), background-color .2s var(--ease), border-color .2s var(--ease);
}
#chapters a[aria-current=true] .marker {
  height: 19px;
  border-color: var(--accent);
  background: var(--accent);
}
#chapters a:hover .marker,
#chapters a:focus-visible .marker {
  border-color: var(--ink);
}
#chapters .nav-label {
  right: 36px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 3px;
  font-size: 12px;
  pointer-events: none;
}
.section-head {
  align-items: end;
  margin-bottom: 26px;
}
.text-link {
  font-size: 13px;
  text-underline-offset: 4px;
}
.project-grid.home {
  grid-template-columns: repeat(2, minmax(0, 1fr)) clamp(0px, 1vw, 16px) repeat(2, minmax(0, 1fr));
  gap: 20px clamp(12px, 1.25vw, 19px);
}
.project-grid .group-head {
  font-size: 13px;
  font-weight: 600;
}
.group-head .text-link {
  font-size: 12px;
  font-weight: 400;
}
.project-title {
  margin-top: 10px;
  font-size: 15px;
}
.project .role,
.project .description {
  font-size: 12px;
}
.project .description {
  min-height: 0;
  margin-top: 2px;
  padding-bottom: 6px;
}
.tags {
  font-size: 11px;
  padding-top: 0;
}
.project-link:focus-visible {
  outline: none;
}
.project-link:focus-visible::after {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.project:focus-within .project-title .arrow,
.thought:focus-visible .arrow {
  transform: translate(2px, -2px);
}
.thought-list {
  max-width: min(100%, 760px);
}
.thought {
  padding: 14px 1px;
}
.thought:hover,
.thought:focus-visible {
  color: var(--accent);
}
.about-grid,
.skills-grid {
  max-width: none;
  gap: 20px clamp(28px, 5vw, 72px);
}
.skill-slot {
  height: auto;
  min-height: 36px;
  white-space: normal;
  padding-block: 4px;
}
.skill-all summary {
  width: fit-content;
  padding-block: 4px;
}
.skill-all summary:hover {
  color: var(--ink);
}
.motion-paused .resume-detail,
.motion-paused .subpage {
  animation: none;
}
.motion-paused .arrow,
.motion-paused .marker,
.motion-paused .nav-label,
.motion-paused .next,
.motion-paused .media > * {
  transition: none;
}
.motion-paused .next:hover,
.motion-paused a:hover .arrow,
.motion-paused .project:focus-within .arrow,
.motion-paused .project:hover .media > * {
  transform: none;
}
html:has(.motion-paused) {
  scroll-behavior: auto;
  scroll-snap-type: none;
}
@media (min-width: 761px) and (max-height: 780px) {
  .chapter {
    padding-block: 75px 28px;
  }
  .chapter h1,
  .chapter h2 {
    font-size: clamp(42px, 4.5vw, 57px);
  }
  .intro-wrap .lead {
    margin-top: 8px;
  }
  .intro-wrap .intro-footer {
    margin-top: 12px;
  }
  .intro-wrap .chapter-footer {
    margin-top: 14px;
  }
}
@media (max-width: 760px) {
  .site-header {
    padding: 12px 20px;
  }
  .chapter {
    padding-inline: 20px 42px;
  }
  .resume-grid,
  .about-grid,
  .skills-grid {
    gap: 22px;
  }
  #chapters {
    right: 2px;
  }
  #chapters a {
    width: 33px;
  }
  .project-grid.home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .section-head {
    align-items: start;
    flex-wrap: wrap;
    gap: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .next:hover,
  a:hover .arrow,
  .project:focus-within .arrow,
  .project:hover .media > * {
    transform: none;
  }
}
.resume-note {
  margin: 4px 0 12px;
  font-size: 13px;
  line-height: 1.6;
  max-width: 46ch;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
  padding: 12px 0;
  border-block: 1px solid var(--line);
}
.metrics div {
  min-width: 0;
}
.metrics dt {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -.05em;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.metrics dd {
  margin: 5px 0 0;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.4;
}


/* Building: professional work first, personal projects second. */
.building-group + .building-group { margin-top: 28px; }
.building-group-head { display: flex; justify-content: space-between; align-items: baseline; border-bottom: 1px solid var(--line); padding-bottom: 9px; margin-bottom: 16px; }
.building-group-head h3 { font-size: 13px; font-weight: 600; }
.building-group-head .text-link { font-size: 12px; }
.project-grid.featured-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
@media (max-width: 760px) {
  .project-grid.featured-grid { grid-template-columns: 1fr; gap: 28px; }
  .building-group + .building-group { margin-top: 36px; }
}

/* Event space dashboard, sized against its own frame. */
.event-media {
  container: event-media / inline-size;
  background: color-mix(in srgb, var(--line) 28%, var(--paper));
  border-radius: 6px;
}
.event-dash {
  --dash-ink: #25312b;
  --dash-muted: #68736c;
  --dash-line: #d9ded8;
  --dash-green: #3f7555;
  --dash-red: #a34d45;
  position: absolute;
  inset: 4% 2.25%;
  padding: 1.4% 2.4%;
  border: 1px solid var(--dash-line);
  border-radius: 5px;
  background: #f7f8f5;
  color: var(--dash-ink);
  font-size: min(2.55cqw, 12px);
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.event-media-detail .event-dash {
  font-size: min(2.6cqw, 19px);
  border-radius: 10px;
}
.event-dash strong { font-weight: 650; }
.event-top {
  display: grid;
  grid-template-columns: 21% minmax(0, 1fr);
  align-items: stretch;
  height: 23%;
  border-bottom: 1px solid var(--dash-line);
  padding-bottom: 1%;
}
.event-site {
  display: grid;
  grid-template-columns: auto .55em;
  justify-content: start;
  align-content: center;
  align-items: center;
  gap: .2em .5em;
  min-width: 0;
  padding-right: 9%;
  border-right: 1px solid var(--dash-line);
}
.event-site span,
.event-kpis span,
.demand-panel header span,
.supply-panel header span,
.supply-head,
.sf-total > span { color: var(--dash-muted); }
.event-site > span { grid-column: 1 / -1; font-size: .82em; }
.event-site strong { font-size: 1.12em; white-space: nowrap; }
.event-site i {
  width: .55em;
  height: .55em;
  border-right: 1px solid var(--dash-muted);
  border-bottom: 1px solid var(--dash-muted);
  /* The visible strokes sit below the center of the rotated square. */
  transform: translateY(-.16em) rotate(45deg);
}
.event-kpis {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 2%;
  padding-left: 3.2%;
}
.event-kpis div { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.event-kpis span { font-size: .82em; white-space: nowrap; margin-bottom: 12%; }
.event-kpis strong { font-size: 1.12em; white-space: nowrap; }
.event-body {
  display: grid;
  grid-template-columns: 53% 47%;
  height: 77%;
  padding-top: 2%;
}
.demand-panel { min-width: 0; padding-right: 5%; border-right: 1px solid var(--dash-line); }
.supply-panel { min-width: 0; padding-left: 5%; }
.demand-panel header,
.supply-panel header { display: flex; justify-content: space-between; align-items: baseline; gap: 4%; height: 15%; white-space: nowrap; }
.demand-panel header strong,
.supply-panel header strong { font-size: 1.06em; }
.demand-panel header span,
.supply-panel header span { display: none; font-size: .76em; }
@container event-media (min-width: 560px) {
  .event-media-detail .demand-panel header span,
  .event-media-detail .supply-panel header span { display: inline; }
}
.booking-chart { height: 66%; position: relative; border-bottom: 1px solid #aeb7b0; }
.booking-chart::before,
.booking-chart::after { content: ''; position: absolute; left: 0; right: 0; border-top: 1px solid var(--dash-line); }
.booking-chart::before { top: 33%; }
.booking-chart::after { top: 66%; }
.booking-bars { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(var(--booking-days), minmax(0, 1fr)); align-items: end; }
.booking-col { height: 100%; position: relative; display: flex; flex-direction: column; justify-content: flex-end; gap: 0; }
.booking-col i,
.booking-col b { display: block; width: 100%; transition: height .65s var(--ease); }
.booking-col i { height: var(--ext); background: #6e8776; }
.booking-col b { height: var(--self); background: #b7c3b7; }
.booking-axis { position: absolute; inset: calc(100% + .35em) 0 auto; display: flex; justify-content: space-between; color: var(--dash-muted); font-size: .62em; white-space: nowrap; }
.threshold { position: absolute; z-index: 2; left: 0; right: 0; bottom: var(--level); border-top: 1px dashed; transition: bottom .65s var(--ease); pointer-events: none; }
.threshold span { position: absolute; right: 0; bottom: .2em; padding-left: .4em; background: #f7f8f5; font-size: .62em; font-weight: 650; }
.threshold-total { color: #455149; }
.threshold-large { color: #78827b; }
.chart-key { display: flex; gap: 9%; align-items: end; height: 19%; padding-top: 6%; color: var(--dash-muted); font-size: .68em; }
.chart-key span { display: flex; align-items: center; gap: .4em; }
.chart-key i { width: .65em; height: .65em; background: #6e8776; }
.chart-key span + span i { background: #b7c3b7; }
.supply-head,
.supply-row { display: grid; grid-template-columns: 1.8fr .7fr .75fr .45fr; align-items: center; column-gap: 3%; }
.supply-head { height: 14%; font-size: .68em; border-bottom: 1px solid var(--dash-line); }
.supply-head span:not(:first-child),
.supply-row > :not(:first-child) { text-align: right; }
.supply-row { height: 15%; border-bottom: 1px solid var(--dash-line); font-size: .84em; }
.supply-row > span:first-child { white-space: nowrap; }
.supply-row b { font-size: .95em; }
.positive { color: var(--dash-green); }
.negative { color: var(--dash-red); }
.sf-total { height: 26%; display: flex; align-items: end; justify-content: space-between; gap: 5%; padding-bottom: 1%; }
.sf-total > span { font-size: .72em; }
.sf-total strong { font-size: 1.22em; white-space: nowrap; letter-spacing: -.02em; }
.event-site strong,
.event-kpis strong,
.supply-row > :not(:first-child),
.sf-total strong,
.threshold span { transition: opacity .16s ease, transform .3s var(--ease); }
.event-dash.changing .event-site strong,
.event-dash.changing .event-kpis strong,
.event-dash.changing .supply-row > :not(:first-child),
.event-dash.changing .sf-total strong,
.event-dash.changing .threshold span { opacity: 0; transform: translateY(18%); }
.motion-paused .event-dash * { transition: none !important; }
@media (prefers-reduced-motion: reduce) {
  .event-dash * { transition: none !important; }
}
