/* The Full Room: one conversation zooms out into a wall of them, which stacks into themes; dug deep, Elly then digs into the biggest theme */
.full-room { min-width: 0; }
/* Without the script the room has nothing to show, so the hero is the copy alone */
.no-js .full-room { display: none; }
.full-room-status { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; font: 700 13px/1.2 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: var(--muted-on-dark); }
.full-room-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--magenta); box-shadow: 0 0 0 4px rgba(226, 51, 107, .25); }
.full-room-status b { color: #fff; font-variant-numeric: tabular-nums; }
.full-room-stage { position: relative; height: 640px; overflow: hidden; border-radius: 24px; background: #EBE5F1; box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .7), 0 0 0 1px rgba(255, 255, 255, .08); }
html[data-hero="full-room"] .full-room-stage { height: 600px; }
.full-room-world { position: absolute; left: 0; top: 0; transform-origin: 0 0; will-change: transform; }

/* One conversation window, drawn at full size and scaled by the camera */
.full-room-tile { position: absolute; left: 0; top: 0; width: 520px; height: 360px; display: flex; flex-direction: column; padding: 22px 22px 18px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 24px 50px -34px rgba(39, 27, 54, .55), 0 0 0 1px rgba(39, 27, 54, .06); contain: layout paint; transition: box-shadow .4s; }
.tile-head { display: flex; align-items: center; gap: 12px; font-size: 18px; line-height: 1; white-space: nowrap; color: var(--muted); }
.tile-avatar { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--soft); color: var(--ink); font: 700 16px/1 var(--font-heading); }
.tile-name { font: 700 19px/1 var(--font-heading); color: var(--ink); }
.tile-mode { margin-left: auto; padding: 6px 9px; border-radius: 7px; background: var(--soft); font: 700 13px/1 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.tile-lines { flex: 1; min-height: 0; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 9px; margin-top: 12px; }
.tile-line { max-width: 92%; padding: 9px 15px; border-radius: 17px; font-size: 19px; line-height: 1.36; }
.tile-line.elly { align-self: flex-start; border-bottom-left-radius: 5px; background: var(--blush); }
.tile-line.person { align-self: flex-end; border-bottom-right-radius: 5px; background: var(--aubergine); color: #fff; }
.tile-follow-up { display: block; margin-bottom: 3px; font: 700 12px/1.2 var(--font-heading); letter-spacing: .1em; text-transform: uppercase; color: var(--magenta-deep); }
.tile-dots { display: none; gap: 4px; }
.tile-dots i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; opacity: .45; }
.tile-line.typing .tile-dots { display: inline-flex; }
.tile-line.typing .tile-text, .tile-line.typing .tile-follow-up { display: none; }
.tile-foot { height: 38px; margin-top: 12px; display: flex; align-items: center; }
.tile-theme { display: inline-flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: var(--theme); color: #fff; font: 700 16px/1 var(--font-heading); white-space: nowrap; opacity: 0; transition: opacity .3s; }
.tile-theme svg { flex: none; width: 15px; height: 11px; }
.full-room-tile.tagged { box-shadow: inset 0 7px 0 var(--theme), 0 24px 50px -34px rgba(39, 27, 54, .55); }
.full-room-tile.tagged .tile-theme { opacity: 1; }

/* The count under each stack of the bar chart */
.full-room-bar-labels { position: absolute; inset: 0; pointer-events: none; }
.bar-label { position: absolute; left: 0; top: 0; text-align: center; text-wrap: balance; overflow-wrap: break-word; font: 700 14px/1.2 var(--font-heading); color: var(--ink); }
.bar-label i { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 3px; background: var(--theme); }
.bar-label b { display: block; margin-top: 2px; font: 800 20px/1.1 var(--font-heading); color: var(--theme); font-variant-numeric: tabular-nums; }

/* Concept 3+: the root cause card over the chart */
.full-room-card { position: absolute; right: 16px; top: 16px; width: 320px; padding: 18px 20px; border-radius: 18px; background: var(--aubergine); color: #fff; box-shadow: 0 30px 60px -30px rgba(27, 19, 38, .8); visibility: hidden; }
.full-room-card-head, .root-card-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; font: 700 11.5px/1.2 var(--font-heading); letter-spacing: .1em; text-transform: uppercase; color: var(--mint); }
.full-room-card-cause { margin-top: 10px; font: 800 20px/1.28 var(--font-heading); text-wrap: balance; }
.full-room-card-trace { margin-top: 10px; font-size: 14px; line-height: 1.4; color: var(--muted-on-dark); }
.full-room-card-trace b { color: #fff; }

/* Dug deep: under the biggest theme, one layer per follow-up question, down to the root cause */
.dig-surface { position: absolute; left: 18px; right: 18px; top: 12px; display: flex; align-items: center; gap: 10px; font: 700 12px/1.2 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); opacity: 0; will-change: transform; }
.dig-surface b { color: var(--theme); }
.dig-shaft { position: absolute; left: 0; right: 0; top: 0; display: flex; flex-direction: column; visibility: hidden; will-change: transform; }
.dig-layer { position: relative; flex: none; display: flex; flex-direction: column; justify-content: flex-start; gap: 8px; padding: 40px 18px 12px 70px; opacity: 0; }
.dig-layer.layer-1 { background: #EFE2D4; }
.dig-layer.layer-2 { background: #7B566E; color: #fff; }
.dig-layer.layer-root { background: var(--aubergine); color: #fff; }
.dig-gauge { position: absolute; left: 8px; top: 14px; width: 48px; text-align: center; font: 700 10px/1.1 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; color: rgba(39, 27, 54, .5); }
.layer-2 .dig-gauge, .layer-root .dig-gauge { color: rgba(255, 255, 255, .55); }
.dig-stop { position: absolute; left: 70px; right: 18px; top: 0; transform: translateY(-50%); display: flex; align-items: center; gap: 10px; font: 700 10.5px/1.2 var(--font-heading); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; color: #8A5A00; }
.dig-stop > span { padding: 3px 8px; border-radius: 6px; border: 1px dashed rgba(138, 90, 0, .5); background: #FFF4DA; }
.dig-stop::after { content: ""; flex: 1; border-top: 1.5px dashed rgba(138, 90, 0, .5); }
.dig-stop, .dig-gauge, .dig-bubble { opacity: 0; }
.dig-bubble { max-width: 90%; padding: 8px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.38; }
.dig-bubble.elly { align-self: flex-start; border-top-left-radius: 4px; background: var(--magenta); color: #fff; font-weight: 600; }
.dig-follow-up { display: block; margin-bottom: 2px; font: 700 9.5px/1.2 var(--font-heading); letter-spacing: .1em; text-transform: uppercase; opacity: .8; }
.dig-bubble.person { align-self: flex-end; border-top-right-radius: 4px; background: #fff; color: var(--ink); box-shadow: 0 8px 20px -14px rgba(39, 27, 54, .6); }
.dig-root-card { padding: 13px 16px; border-radius: 16px; border: 1px solid rgba(6, 214, 160, .55); background: rgba(6, 214, 160, .12); opacity: 0; }
.dig-root-card .root-card-head { font-size: 11px; }
.root-card-cause { margin-top: 6px; font: 800 18px/1.28 var(--font-heading); text-wrap: balance; }
.root-card-action { margin-top: 6px; font-size: 14px; line-height: 1.4; color: var(--muted-on-dark); }
.root-card-action b { color: #fff; }

/* The finale: the root layer swallows the stage and every conversation in the theme streaks into one card */
.dig-finale { position: absolute; inset: 0; overflow: hidden; pointer-events: none; visibility: hidden; }
.finale-background { position: absolute; inset: 0; background: var(--aubergine); }
.finale-burst { position: absolute; left: 50%; top: 50%; width: 760px; height: 760px; margin: -380px 0 0 -380px; border-radius: 50%; background: radial-gradient(circle, rgba(6, 214, 160, .42), rgba(6, 214, 160, .1) 38%, rgba(6, 214, 160, 0) 66%); opacity: 0; }
.finale-wave { position: absolute; left: 50%; top: 50%; width: 200px; height: 200px; margin: -100px 0 0 -100px; border-radius: 50%; border: 2px solid var(--mint); opacity: 0; }
.finale-spark { position: absolute; left: 0; top: 0; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #6F5D84; opacity: 0; }
.finale-spark.hot { border-radius: 6px; background: #FF5A8E; box-shadow: 0 0 14px 3px rgba(226, 51, 107, .65); }
.finale-card { --glow: 0; position: absolute; left: 50%; top: 50%; width: min(460px, calc(100% - 48px)); padding: 18px 22px 16px; border-radius: 20px; border: 1px solid rgba(6, 214, 160, .75); background: #30233F; color: #fff; box-shadow: 0 0 0 1px rgba(6, 214, 160, var(--glow)), 0 0 70px rgba(6, 214, 160, calc(var(--glow) * .55)), 0 30px 60px -30px rgba(0, 0, 0, .6); opacity: 0; }
.finale-card .root-card-head { font-size: 12px; }
.finale-card .root-card-cause { margin-top: 8px; font-size: 25px; line-height: 1.22; }
.finale-card .root-card-action { margin-top: 8px; font-size: 15px; line-height: 1.45; }
.finale-count { display: flex; align-items: baseline; gap: 8px; margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255, 255, 255, .12); font: 700 12px/1.3 var(--font-heading); letter-spacing: .06em; text-transform: uppercase; color: #CFC6DA; }
.finale-count b { min-width: 1.3em; font: 800 26px/1 var(--font-heading); letter-spacing: 0; color: #FF5A8E; font-variant-numeric: tabular-nums; }

@media (max-width: 600px) {
  .full-room-status { margin-bottom: 10px; font-size: 11.5px; }
  .full-room-stage { height: 620px; border-radius: 20px; }
  html[data-hero="full-room"] .full-room-stage { height: 560px; }
  .full-room-tile { width: 400px; height: 330px; padding: 18px 18px 14px; border-radius: 24px; }
  .tile-head { font-size: 16px; }
  .tile-name { font-size: 17px; }
  .tile-line { font-size: 17.5px; }
  .bar-label { font-size: 11px; line-height: 1.15; }
  .bar-label b { font-size: 17px; }
  .full-room-card { left: 10px; right: 10px; top: auto; bottom: 10px; width: auto; padding: 16px 18px; }
  .full-room-card-cause { font-size: 18px; }
  .dig-surface { left: 12px; right: 12px; font-size: 10.5px; }
  .dig-layer { padding: 34px 12px 10px 52px; gap: 6px; }
  .dig-gauge { left: 2px; width: 44px; font-size: 8.5px; }
  .dig-stop { left: 52px; right: 12px; font-size: 9px; }
  .dig-bubble { max-width: 96%; padding: 7px 11px; font-size: 13px; }
  .dig-root-card { padding: 11px 12px; }
  .dig-root-card .root-card-cause { font-size: 15.5px; }
  .dig-root-card .root-card-action { font-size: 12.5px; }
  .finale-card { width: calc(100% - 28px); padding: 15px 16px 13px; border-radius: 18px; }
  .finale-card .root-card-cause { font-size: 19.5px; }
  .finale-card .root-card-action { font-size: 13.5px; }
  .finale-count { gap: 6px; font-size: 10px; letter-spacing: .04em; }
  .finale-count b { font-size: 22px; }
}
/* The longest status, in Dutch, has to fit on one line down to a 360 wide phone */
@media (max-width: 400px) {
  .full-room-status { gap: 6px; font-size: 10.5px; letter-spacing: .05em; }
}
