:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #242a28;
  background: transparent;
  font-synthesis: none;
}
body.hero-graphic {
  overflow: hidden;
}
.hero-graphic main {
  background: transparent;
  padding: 0;
  border-radius: 0;
}
.hero-graphic .calendar-layout {
  display: block;
}
.hero-graphic .wheel-card {
  padding: 0;
  background: transparent;
}
.hero-graphic .demo-header,
.hero-graphic .back,
.hero-graphic .tour-key,
.hero-graphic .controls,
.hero-graphic .perspectives,
.hero-graphic .map-controls,
.hero-graphic .wheel-footer,
.hero-graphic .disclaimer,
.hero-graphic .detail,
.hero-graphic #map-context,
.hero-graphic #revenue-legend {
  display: none;
}
.hero-graphic #wheel {
  aspect-ratio: 1;
  pointer-events: none;
}
.hero-graphic #wheel svg {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
}
.tour-key {
  display: none;
}
.guided-tour .tour-key {
  display: none;
  gap: 12px;
  flex-wrap: wrap;
  font-size: 11px;
  margin: 0 0 8px;
}
.tour-key i {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 4px;
}
.guided-tour main {
  padding: 6px 0;
  max-width: none;
  background: transparent;
  overflow-x: clip;
}
.guided-tour .detail {
  opacity: 1;
}
.guided-tour[data-tour-step="0"] .calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(calc(260px * var(--tour-panel, 0)), calc((100% - 24px) / 2.6 * var(--tour-panel, 0)));
  gap: calc(24px * var(--tour-panel, 0));
}
.guided-tour[data-tour-step="0"] .detail {
  overflow: hidden;
  min-width: 0;
  padding: calc(20px * var(--tour-panel, 0));
  border-width: calc(1px * var(--tour-panel, 0));
  /* Give the column its space before revealing readable information. */
  opacity: clamp(0, calc((var(--tour-panel, 0) - 0.6) / 0.4), 1);
}
.guided-tour[data-tour-step="0"] .disclaimer { opacity: var(--tour-panel, 0); }
.guided-tour .year-control { cursor: default; }
.event-measures { border-top: 1px solid #242a2820; padding-top: 16px; }
.guided-tour .demo-header,
.guided-tour .controls,
.guided-tour .perspectives,
.guided-tour .map-controls,
.guided-tour .wheel-footer,
.guided-tour .planning {
  display: none;
}
.guided-tour #revenue-legend,
.guided-tour #map-context {
  display: none;
}
.guided-tour #wheel {
  touch-action: pan-y;
  cursor: default;
  height: calc(100vh - 40px);
}
.guided-tour #wheel svg {
  height: 100%;
  max-height: none;
}
.guided-tour .detail {
  height: calc(100vh - 40px);
  max-height: none;
  padding: 20px;
}
.guided-tour .detail h2 {
  font-size: 26px;
}
.guided-tour .disclaimer {
  margin-top: 6px;
}
.guided-tour #revenue-legend {
  margin-bottom: 6px;
}
@media (max-width: 650px) {
  .guided-tour #wheel {
    height: 340px;
  }
  .guided-tour #wheel svg {
    max-height: 340px;
  }
  .guided-tour .detail {
    height: auto;
    max-height: 480px;
  }
}
#wheel {
  touch-action: none;
  cursor: grab;
}
#wheel:active {
  cursor: grabbing;
}
#wheel:focus-visible {
  outline: 2px solid #242a28;
  outline-offset: 3px;
  border-radius: 12px;
}
.wheel-map {
  position: relative;
}
.map-controls {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}
.map-controls button {
  width: 44px;
  height: 44px;
  padding: 0;
  font-size: 20px;
  border-radius: 50%;
}
.day-label {
  display: none;
}
.map-close .day-label {
  display: inline;
}
.segment.time-highlight,
.current-year.time-highlight {
  stroke: #625080;
  stroke-width: 1.8px;
  paint-order: stroke fill;
}
.segment.time-highlight { fill: #dfd1f0; }
.time-guide { list-style: none; padding: 0; margin: 24px 0; }
.time-guide-item { padding: 10px 0; margin: 0 0 8px; }
.time-guide-item h3 { margin: 0 0 5px; }
.time-guide-item p { margin: 0; }
.time-guide-item[aria-current="step"] { animation: time-guide-reveal 280ms ease-out; }
@keyframes time-guide-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .time-guide-item[aria-current="step"] { animation: none; } }
.ring-base.ring-introduced { stroke-opacity: 0.9; }
.introduced-ring { display: flex; gap: 10px; align-items: center; }
.introduced-ring i { width: 12px; height: 12px; border-radius: 50%; }
.introduced-ring[aria-current="step"] { font-weight: 700; }
.goal-shine {
  fill: #fff9db;
  stroke: #bc9a54;
  stroke-width: 0.7;
  pointer-events: none;
}
.revenue-zero {
  fill: none;
  stroke: #625080;
  stroke-width: 1;
  stroke-dasharray: 1 3;
  pointer-events: none;
}
.revenue-area {
  fill: #625080;
  opacity: 0.12;
  pointer-events: none;
}
.revenue-line {
  fill: none;
  stroke: #625080;
  stroke-width: 2;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}
.revenue-hit {
  fill: none;
  stroke: transparent;
  stroke-width: 22;
  cursor: pointer;
  vector-effect: non-scaling-stroke;
}
.revenue-plan {
  fill: none;
  stroke: #8a709e;
  stroke-width: 1.8;
  stroke-dasharray: 6 5;
  pointer-events: none;
  vector-effect: non-scaling-stroke;
}
.today-dot {
  fill: #625080;
  stroke: white;
  stroke-width: 1.5;
  pointer-events: none;
}
.plan-note {
  font-size: 13px;
  color: #625080;
}
#as-of {
  margin-left: auto;
  font-size: 11px;
}
.revenue-summary {
  border-block: 1px solid #e6e8e3;
  margin: 16px 0;
}
.event .attribution {
  margin-top: 10px;
  font-size: 11px;
  color: #69716b;
}
#revenue-legend {
  font-size: 11px;
  margin: 6px 0 14px;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
main {
  background: white;
  padding: 24px;
  border-radius: 20px;
  max-width: 1600px;
  margin: auto;
}
button,
select {
  font: inherit;
  color: inherit;
  border: 1px solid #d9ded9;
  background: white;
  border-radius: 24px;
  padding: 9px 14px;
  cursor: pointer;
}
button:focus-visible,
select:focus-visible,
a:focus-visible,
input:focus-visible {
  outline: 2px solid #242a28;
  outline-offset: 3px;
}
button:hover {
  background: #f5f6f3;
}
.back {
  display: inline-block;
  color: inherit;
  margin: 0 0 24px;
  text-decoration: none;
}
.back[hidden] {
  display: none;
}
.demo-header {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}
.business-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.business-menu button {
  font-size: 14px;
  min-height: 44px;
  border: 1.5px solid #1a1a1a;
  border-radius: 99px;
  background: #fff;
  color: #1a1a1a;
}
.business-menu button[aria-pressed="true"] {
  background: #1a1a1a;
  color: #fff;
}
.calendar-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(260px, 1fr);
  gap: 24px;
  align-items: start;
}
.wheel-card {
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 0;
}
.controls {
  display: flex;
  gap: 9px 15px;
  flex-wrap: wrap;
  min-height: 32px;
  align-items: center;
  font-size: 12px;
}
.controls label {
  display: flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
}
.controls input {
  accent-color: #665280;
  margin: 0;
}
.swatch {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
  border: 1px solid #0002;
}
#wheel svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 560px;
  overflow: hidden;
}
svg text {
  pointer-events: none;
}
.segment {
  stroke: white;
  stroke-width: 1.3;
  cursor: pointer;
}
.segment:focus {
  outline: none;
}
.segment:hover,
.segment.selected {
  filter: brightness(0.96);
}
.outline {
  fill: none;
  stroke: #242a28;
  stroke-width: 2;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.ring-base {
  fill: none;
  stroke: #f1f3ef;
  stroke-width: 14;
  opacity: 0.2;
}
.revenue-guide {
  fill: none;
  stroke: #242a28;
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
}
.revenue-dot {
  fill: #242a28;
  pointer-events: none;
}
.perspectives {
  margin: 8px 0 12px;
  font-size: 12px;
}
.perspectives summary,
.planning summary {
  cursor: pointer;
}
.perspectives .controls {
  margin-top: 12px;
}
.planning {
  border-top: 1px solid #e6e8e3;
  margin-top: 18px;
  padding-top: 8px;
  font-size: 13px;
}
.planning details {
  margin-top: 14px;
}
.planning form {
  display: grid;
  gap: 12px;
  padding: 16px 0;
}
.planning label {
  display: grid;
  gap: 5px;
}
.planning input,
.planning select {
  width: 100%;
  min-width: 0;
  font: inherit;
  border: 1px solid #d9ded9;
  padding: 9px 12px;
  border-radius: 12px;
}
.planning [data-measure-fields] {
  display: grid;
  gap: 12px;
}
.planning [hidden] {
  display: none;
}
.planning button {
  background: #e7c8fc;
}
.wheel-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  color: #69716b;
}
.disclaimer {
  font-size: 11px;
  text-align: center;
  color: #69716b;
  margin: 18px 0 0;
  line-height: 1.5;
}
.detail {
  min-width: 0;
  padding: 24px;
  border: 1px solid #dde1dc;
  border-radius: 18px;
  max-height: 630px;
  overflow: auto;
  scrollbar-width: thin;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}
.label {
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #69716b;
  line-height: 1.6;
}
.detail-top button {
  font-size: 11px;
  white-space: nowrap;
}
.detail h2 {
  font-family: Georgia, serif;
  font-weight: 400;
  font-size: 30px;
  line-height: 1.13;
  letter-spacing: -0.035em;
  margin: 18px 0 12px;
}
.note {
  font-size: 12px;
  color: #69716b;
  line-height: 1.6;
}
.event {
  border-top: 1px solid #e6e8e3;
  padding: 16px 0;
}
.event-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: #626b64;
}
.badge {
  padding: 4px 8px;
  border-radius: 20px;
  color: #242a28;
  font-size: 10px;
}
.event h3 {
  font-size: 15px;
  line-height: 1.35;
  margin: 10px 0 7px;
}
.event p {
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
  white-space: pre-line;
}
.event details {
  margin-top: 10px;
  font-size: 12px;
}
.event .state-label {
  font-size: 11px;
  color: #626b64;
  margin-bottom: 8px;
}
.event summary {
  cursor: pointer;
}
.event details p {
  padding-top: 10px;
}
.empty {
  padding: 20px 0;
  font-size: 13px;
  color: #69716b;
}
.metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 14px 0;
}
.metrics span {
  font-size: 11px;
  color: #626b64;
  display: block;
}
.metrics strong {
  font-size: 22px;
  display: block;
  margin-top: 6px;
  font-weight: 500;
}
@media (min-width: 1500px) {
  .detail {
    max-height: 850px;
  }
  .detail h2 {
    font-size: 36px;
  }
}
.year-control {
  cursor: pointer;
}
.year-control:hover circle,
.year-control:focus-visible circle {
  fill: #f2edf7;
  stroke: #625080;
  stroke-width: 1.5;
}
.year-control:focus {
  outline: none;
}
#year-picker {
  border: 1.5px solid #252a26;
  border-radius: 24px;
  padding: 28px;
  max-width: min(420px, calc(100vw - 48px));
  color: #252a26;
}
#year-picker::backdrop {
  background: #18201955;
}
#year-picker h2 {
  margin-top: 0;
}
#year-options {
  display: flex;
  gap: 12px;
  margin: 24px 0;
}
#year-options [aria-pressed="true"] {
  background: #252a26;
  color: white;
}
.history-moments {
  display: grid;
  gap: 10px;
}
.history-moments button {
  border-radius: 14px;
  text-align: left;
  padding: 12px 16px;
}
.history-moments span {
  display: block;
  font-size: 12px;
  color: #667168;
  margin-bottom: 4px;
}
.day-context {
  padding: 16px 0;
  border-top: 1px solid #dde0da;
}
.day-context details {
  padding: 10px 0;
}
@media (max-width: 650px) {
  main {
    padding: 16px;
  }
  .calendar-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .detail {
    max-height: 390px;
    padding: 20px;
  }
  .demo-header {
    gap: 8px;
    margin-bottom: 16px;
  }
  .controls {
    gap: 10px 14px;
  }
  .wheel-footer span {
    max-width: 190px;
  }
  .detail h2 {
    font-size: 28px;
  }
}
