/* Levers 1 to 3 (ch-levers-1-3.js). Every class starts with l13-. Google Ads pieces come from gads.css (gk-). */

/* ---------- shared ---------- */
.l13-stack { display: grid; }
.l13-stack__i { grid-area: 1 / 1; display: grid; gap: 10px; align-content: start; }
.l13-ex { display: flex; }
.l13-w .ga-note { color: rgb(255 255 255 / .86); }

/* labels over 3D (at least 15 px everywhere) */
.scene .l13-lab { font-size: 15px; line-height: 1.25; transition: opacity .45s; color: #fff; text-shadow: 0 1px 12px rgb(0 0 0 / .85), 0 0 2px rgb(0 0 0 / .6); }
.scene .l13-lab.is-off { opacity: 0; }
.l13-lab--o { color: #FFB27A !important; }
.l13-lab--gold { color: #FFD98A !important; }
.l13-lab--aqua { color: #A8F0E6 !important; }
.l13-lab--rose { color: #F6BFAF !important; }
.scene .l13-lab--neg { color: #3a1a12 !important; background: #F3C9BD; box-shadow: 0 0 22px rgb(240 160 140 / .55); text-shadow: none; backdrop-filter: none; }
.l13-lead { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; overflow: visible; }
.l13-lead line { stroke: rgb(255 255 255 / .42); stroke-width: 1; transition: opacity .3s; }
.l13-lead--soft line { stroke: rgb(200 225 255 / .5); stroke-dasharray: 3 3; }

/* ---------- l1-proof: the crowd and the two curves ---------- */
.l13-p1 .ga--split { grid-template-columns: minmax(0, .34fr) minmax(0, .66fr); }
.l13-p1__wrap { position: absolute; inset: 0; }
.l13-p1__cv { position: absolute; inset: 0; width: 100%; height: 100%; }
.l13-p1__stat { position: absolute; display: grid; gap: 8px; transform: translateY(-50%); transition: opacity .5s; }
.l13-p1__big { display: grid; gap: 2px; }
.l13-p1__v { font-size: clamp(52px, 6.4vw, 112px); line-height: .95; font-weight: 500; letter-spacing: -.04em; color: var(--cta); font-variant-numeric: tabular-nums; }
.l13-p1__u { font-size: clamp(20px, 1.9vw, 30px); font-weight: 500; color: var(--s-fg); }
.l13-p1__sub { font-size: clamp(15px, 1.2vw, 18px); color: var(--s-muted); }
.l13-p1__chart { position: absolute; left: 0; right: 0; opacity: 0; transition: opacity .5s .2s; }
.l13-p1--b1 .l13-p1__chart { opacity: 1; }
.l13-p1--b1 .l13-p1__stat { opacity: 0; }
.l13-p1__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.l13-p1__cpl, .l13-p1__rev { fill: none; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; }
.l13-p1__cpl { stroke: var(--cta); }
.l13-p1__rev { stroke: #111; }
.l13-p1--b1 .l13-p1__cpl { stroke-dashoffset: 0; transition: stroke-dashoffset 2s cubic-bezier(.45,.05,.3,1) .4s; }
.l13-p1--b1 .l13-p1__rev { stroke-dashoffset: 0; transition: stroke-dashoffset 2s cubic-bezier(.45,.05,.3,1) .6s; }
.l13-p1__div { stroke: #B9B4AC; stroke-width: 1.5; stroke-dasharray: 5 6; }
.l13-p1__base { stroke: var(--ll-line, #E4E2DD); stroke-width: 1.5; }
.l13-p1__lab { position: absolute; left: 0; top: 0; font-size: 16px; font-weight: 500; line-height: 1.25; white-space: nowrap; color: #111; }
.l13-p1__lab--o { color: #C4561A; }
.l13-p1__lab--g { color: var(--s-muted); }
.l13-p1__tag { position: absolute; left: 0; top: 0; }

/* ---------- Google Ads mocks: shared ---------- */
.l13-how .ga-vis { min-height: 0; }
.l13-how .gk-chrome { height: 100%; }

/* ---------- l1-how: the click ID's round trip ---------- */
.l13-trip { position: relative; height: 100%; display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.15fr) minmax(0, 1.2fr); gap: clamp(18px, 2.6vw, 44px); align-items: center; }
.l13-pane { transition: opacity .5s, transform .5s; }
.l13-pane--c.gk-chrome { height: auto; }
.l13-pane__h { font-size: 17px; font-weight: 500; color: #202124; min-height: 24px; margin-bottom: 12px; display: grid; }
.l13-pane__h > * { grid-area: 1 / 1; }
.l13-form { display: grid; gap: 10px; }
.l13-form .gk-btn { justify-self: start; margin-top: 4px; }
.l13-hid { display: grid; gap: 8px; max-height: 0; overflow: hidden; opacity: 0; padding: 0 10px; border-radius: 6px; background: #FFF4EC; box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .55); transition: max-height .6s cubic-bezier(.2,.7,.2,1), opacity .4s, padding .6s; }
.l13-hid.is-open { max-height: 90px; opacity: 1; padding: 10px; }
.l13-hid__l { font-size: 15px; font-weight: 500; color: #B54A0E; white-space: nowrap; }
.l13-slot { position: relative; display: inline-flex; align-items: center; justify-content: center; width: 62px; height: 22px; border-radius: 11px; box-shadow: inset 0 0 0 1.5px #DADCE0; flex: none; transition: box-shadow .4s; }
.l13-tok { display: inline-flex; align-items: center; width: 58px; height: 18px; padding: 0 7px; border-radius: 9px; background: #FFE3CF; }
.l13-tok i, .l13-fly i::after { display: block; width: 100%; height: 5px; border-radius: 3px; background: rgb(181 74 14 / .45); }
.l13-crm { display: grid; gap: 2px; }
.l13-crm__r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 42px; padding: 0 8px; border-radius: 6px; }
.l13-crm__r--h { min-height: 30px; grid-template-columns: 40px minmax(0, 1fr) auto; opacity: .7; }
.l13-crm__r--lead { background: #F1F6FE; box-shadow: inset 0 0 0 1px #D2E3FC; }
.is-got .l13-slot--b { box-shadow: inset 0 0 0 1.5px rgb(255 127 50 / .8), 0 0 0 4px rgb(255 127 50 / .12); }
.l13-steps { display: grid; grid-template-columns: .6fr 1fr 1fr; gap: 4px; margin: 6px 0 6px; }
.l13-step { display: grid; place-items: center; min-height: 32px; padding: 0 8px; border-radius: 4px; background: #F1F3F4; color: #5F6368; font-size: 15px; font-weight: 500; white-space: nowrap; transition: background .4s, color .4s; clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%, 8px 50%); }
.l13-step:first-child { clip-path: polygon(0 0, calc(100% - 8px) 0, 100% 50%, calc(100% - 8px) 100%, 0 100%); }
.l13-step > * { grid-area: 1 / 1; }
.l13-step.is-on { background: #D2E3FC; color: #174EA6; }
.l13-step.is-on:last-child { background: #CEEAD6; color: #0D652D; }
.l13-step__b--on .gk-bar { background: #fff; }
.l13-up { padding: 6px 8px; display: grid; gap: 2px; }
.l13-up__r { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 40px; padding: 0 8px; border-radius: 6px; transition: background .5s, box-shadow .5s; }
.l13-up__ic { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #F1F3F4; color: #80868B; }
.l13-up__ic svg { width: 16px; height: 16px; }
.l13-up__r .gk-cost { min-width: 72px; }
.l13-up__r--new { box-shadow: inset 0 0 0 1px #EBEDF0; }
.l13-up__r--new.is-lit { background: #E6F4EA; box-shadow: inset 0 0 0 1px #A8DAB5, 0 0 0 4px rgb(24 128 56 / .08); }
.l13-up__r--new.is-lit .l13-up__ic { background: #188038; color: #fff; }
.l13-pane__hb { align-self: center; }
.l13-fly { position: absolute; left: 0; top: 0; z-index: 5; pointer-events: none; opacity: 0; transition: opacity .3s; }
.l13-fly.is-on { opacity: 1; }
.l13-fly.is-moving { transition: transform .8s cubic-bezier(.55,.05,.25,1), opacity .3s; }
.l13-fly i { position: absolute; left: -31px; top: -11px; display: flex; align-items: center; width: 62px; height: 22px; padding: 0 9px; border-radius: 11px; background: linear-gradient(90deg, #FF9A55, #FF7F32); box-shadow: 0 0 0 3px rgb(255 127 50 / .18), 0 0 22px 4px rgb(255 127 50 / .55); }
.l13-fly i::after { content: ""; background: rgb(255 255 255 / .8); }
.l13-fly.is-moving i { animation: l13-pulse .8s ease-in-out; }
@keyframes l13-pulse { 50% { box-shadow: 0 0 0 6px rgb(255 127 50 / .15), 0 0 40px 10px rgb(255 127 50 / .6); } }

/* ---------- l2-how: the search terms report ---------- */
.l13-h2__grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.l13-h2__tcard { padding: 0; overflow: hidden; }
.l13-h2__tools { display: flex; align-items: center; gap: 12px; height: 44px; padding: 0 14px; color: #5F6368; border-bottom: 1px solid #EBEDF0; }
.l13-h2__sp { flex: 1; }
.l13-h2__table { box-shadow: none; border-radius: 0; }
.l13-h2__table .gk-tr { transition: transform .7s cubic-bezier(.3,.7,.2,1), background-color .5s; }
.l13-h2__table .gk-tr.l13-gone { display: none; }
.l13-h2__right { display: grid; gap: 0; align-content: start; }
.l13-h2__camp { display: grid; gap: 4px; padding: 10px 14px; }
.l13-h2__crow { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 10px; align-items: center; min-height: 34px; }
.l13-h2__cdot { width: 10px; height: 10px; border-radius: 50%; background: #BDC1C6; }
.l13-h2__cdot.is-on { background: #1A73E8; box-shadow: 0 0 0 4px #E8F0FE; }
.l13-h2__wire { justify-self: start; margin-left: 22px; width: 2px; height: 26px; border-radius: 1px; background: linear-gradient(#1A73E8, #D93025); box-shadow: 0 0 10px 1px rgb(26 115 232 / .55); transform: scaleY(0); transform-origin: top; transition: transform .6s .3s; }
.l13-h2__neg { opacity: 0; transform: translateX(24px); transition: opacity .5s, transform .6s cubic-bezier(.2,.7,.2,1); box-shadow: 0 0 0 1px #F6AEA9, 0 10px 30px -16px rgb(217 48 37 / .45); }
.l13-h2__negh { font-size: 17px; font-weight: 500; margin-bottom: 10px; color: #202124; white-space: nowrap; }
.l13-h2__chips { display: flex; flex-wrap: wrap; gap: 8px; min-height: 30px; }
.l13-h2__right.is-neg .l13-h2__neg { opacity: 1; transform: none; }
.l13-h2__right.is-neg .l13-h2__wire { transform: none; }
.l13-h2__ghosts { position: absolute; inset: 0; pointer-events: none; z-index: 4; }
.l13-ghost { position: absolute; left: 0; top: 0; transform-origin: 0 0; box-shadow: 0 12px 30px -10px rgb(217 48 37 / .45), 0 0 0 1px #F6AEA9; border-radius: 6px; transition: transform .85s cubic-bezier(.5,.05,.25,1), opacity .85s ease-in; }
.l13-h2 .gk-tr .gk-td--first { font-weight: 500; }

/* ---------- l3-how: the campaign settings screen ---------- */
.l13-h3 .gk-main { gap: 12px; }
.l13-h3 .gk-card { padding: 12px 18px 10px; }
.l13-set { position: relative; display: grid; padding: 2px 0; }
.l13-set__d { padding: 0 0 6px 34px; margin-top: -4px; }
.l13-drip { position: absolute; right: -24px; top: 6px; width: 14px; height: 70px; pointer-events: none; opacity: 0; transition: opacity .5s; }
.l13-set.is-drip .l13-drip { opacity: 1; }
.l13-drip i { position: absolute; left: 2px; top: 0; width: 10px; height: 10px; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #FFE7A3, #F0B429 60%, #B8860B); box-shadow: 0 0 6px rgb(240 180 41 / .7); opacity: 0; }
.l13-set.is-drip .l13-drip i { animation: l13-drip 1.5s ease-in infinite; }
.l13-drip i:nth-child(2) { animation-delay: .5s !important; left: 0; }
.l13-drip i:nth-child(3) { animation-delay: 1s !important; left: 4px; }
@keyframes l13-drip { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; transform: translateY(4px) scale(1); } 100% { transform: translateY(64px) scale(.8); opacity: 0; } }
.l13-h3 .gk-chrome .gk-main { padding-right: 40px; }
.l13-h3__big { font-size: clamp(56px, 6.4vw, 108px); line-height: .95; font-weight: 500; letter-spacing: -.04em; color: var(--cta); font-variant-numeric: tabular-nums; }
.l13-cal__w { width: 100%; max-width: 360px; margin-top: 6px; }
.l13-cal { display: block; width: 100%; height: auto; overflow: visible; }
.l13-cal__b { transform-box: fill-box; transform-origin: 50% 100%; transform: scaleY(0); transition: transform .7s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0ms); }
.l13-cal.is-on .l13-cal__b, .is-on > .l13-cal .l13-cal__b, .l13-cal__w.is-on .l13-cal__b { transform: none; }
.l13-cal__daily { stroke: #1A73E8; stroke-width: 1.4; stroke-dasharray: 4 4; }
.l13-cal__cap { stroke: #202124; stroke-width: 1.6; stroke-dasharray: 4 3; }
.l13-cal__base { stroke: #DADCE0; stroke-width: 1; }

/* ---------- compact landscape: the stage mocks put the side text in a left column ---------- */
@media (max-height: 619px) and (orientation: landscape), (max-width: 959px) and (orientation: landscape) {
  .l13-how .gk { --gk: .86; }
  .l13-how.l13-h1 .ga--stage, .l13-how.l13-h2 .ga--stage { grid-template-columns: minmax(0, .3fr) minmax(0, .7fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 22px; }
  .l13-how .ga--stage .ga-vis { grid-column: 2; grid-row: 2; }
  .l13-how .ga--stage .ga-side { grid-column: 1; grid-row: 2; grid-auto-flow: row; max-width: none; align-self: start; }
  .l13-trip { gap: 12px; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr) minmax(0, 1.1fr); }
  .l13-pane.gk-card { padding: 10px; }
  .l13-pane__h { font-size: 15px; margin-bottom: 6px; }
  .l13-crm__r, .l13-up__r { min-height: 34px; gap: 6px; padding: 0 4px; }
  .l13-step { min-height: 28px; font-size: 14px; padding: 0 4px; }
  .l13-form { gap: 6px; }
  .gk-field { height: 30px; }
  .l13-pane--c .gk-rail { display: none; }
  .l13-pane--c .gk-main { padding: 8px; }
  .l13-pane--c .gk-top { height: 38px; gap: 8px; }
  .l13-pane--c .gk-top > .gk-i:nth-of-type(n+3), .l13-pane--c .gk-top__date { display: none; }
  .l13-h2__negh { font-size: 15px; }
  .l13-h3 .gk-card { padding: 8px 14px 6px; }
  .l13-h3 .gk-card__h { min-height: 20px; margin-bottom: 2px; }
  .l13-h3 .gk-ctl { min-height: 28px; }
  .l13-h3 .gk-main { gap: 8px; padding: 10px 36px 10px 10px; }
  .l13-h3__big { font-size: clamp(40px, 6vw, 64px); }
  .l13-p1__lab { font-size: 15px; }
}
@media (max-height: 439px) and (orientation: landscape) {
  .l13-how .gk-top { height: 36px; }
  .l13-how .gk-rail { padding: 6px 4px; gap: 4px; }
  .l13-how .gk-rail__i { height: 26px; width: 32px; }
  .l13-how .gk-rail__i--new { height: 30px; width: 30px; }
  .l13-how .gk-rail__i:nth-child(n+5) { display: none; }
  .l13-h2 .gk-tr { min-height: 32px; }
  .l13-h2 .gk-tr--h { min-height: 30px; }
  .l13-h2__tools { height: 30px; }
  .l13-h3 .l13-set__d { display: none; }
  .l13-h3 .gk-card__h { min-height: 18px; }
  .l13-h3 .gk-ctl { min-height: 24px; }
  .l13-h3 .gk-main { gap: 6px; padding: 6px 30px 6px 8px; }
  .l13-h3 .gk-card { padding: 4px 12px 4px; }
  .l13-crm__r--h, .l13-crm__r:last-child { display: none; }
  .l13-up__r:nth-child(n+3) { display: none; }
}

/* ---------- phone: portrait under 760 ---------- */
@media (max-width: 759px) and (orientation: portrait) {
  .l13-w3 .l13-lab--gate { white-space: normal; max-width: 10.5em; }
  .l13-p1 .ga--split { grid-template-columns: minmax(0, 1fr); }
  .l13-p1__v { font-size: 52px; }
  .l13-p1__u { font-size: 18px; }
  .l13-p1__sub { font-size: 15px; }
  .l13-p1__lab { font-size: 15px; }
  .l13-trip { grid-template-columns: minmax(0, 1fr); gap: 14px; align-content: center; }
  .l13-trip.l13-b0 .l13-pane--c, .l13-trip.l13-b1 .l13-pane--a { display: none; }
  .l13-pane.gk-card { padding: 10px 12px; }
  .l13-pane__h { font-size: 15px; margin-bottom: 6px; }
  .l13-pane--c .gk-rail { display: none; }
  .l13-pane--c .gk-top { height: 40px; }
  .l13-pane--c .gk-top > .gk-i:nth-of-type(n+3), .l13-pane--c .gk-top__date { display: none; }
  .l13-pane--c .gk-main { padding: 8px; }
  .l13-crm__r, .l13-up__r { min-height: 34px; }
  .l13-step { font-size: 14px; min-height: 28px; }
  .l13-crm__r--h { display: none; }
  .l13-h2__grid { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .l13-h2__camp, .l13-h2__wire { display: none; }
  .l13-h2__neg { transform: translateY(16px); }
  .l13-how .gk-rail { display: none; }
  .l13-how .gk-top { height: 42px; gap: 10px; }
  .l13-how .gk-top__date, .l13-how .gk-top > .gk-i:nth-of-type(n+3) { display: none; }
  .l13-how .gk-main { padding: 10px; }
  .l13-h2 .gk-tr { min-height: 38px; }
  .l13-h2__tools { height: 34px; }
  .l13-h3 .gk-main { padding: 8px 30px 8px 8px; gap: 8px; }
  .l13-h3 .gk-card { padding: 8px 12px 6px; }
  .l13-h3 .l13-set__d { display: none; }
  .l13-h3 .gk-ctl { min-height: 30px; }
  .l13-h3 .gk-card__h { min-height: 20px; margin-bottom: 2px; }
  .l13-h3__big { font-size: 48px; }
  .l13-cal__w { max-width: 260px; }
}

/* ---------- additions ---------- */
.l13-w .ga-scrim--right { background: linear-gradient(270deg, color-mix(in srgb, var(--s-bg) 92%, transparent) 0, color-mix(in srgb, var(--s-bg) 78%, transparent) 26%, color-mix(in srgb, var(--s-bg) 30%, transparent) 40%, transparent 52%); }
.l13-wires { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; overflow: visible; }
.l13-trip > .gk-card, .l13-trip > .gk-chrome { position: relative; z-index: 1; }
.l13-wire { fill: none; stroke: #FF7F32; stroke-width: 2; stroke-dasharray: 5 6; opacity: 0; transition: opacity .5s; }
.l13-wire.is-on { opacity: .85; animation: l13-march 1.2s linear infinite; }
@keyframes l13-march { to { stroke-dashoffset: -22; } }
.gk-tr--rose .gk-cost__v { background: rgb(252 232 230 / .92); }
.l13-h2__x { opacity: .7; }
.l13-h3__more { padding-top: 8px; padding-bottom: 6px; }
.l13-h3__more .gk-card__h { margin-bottom: 0; }
@media (max-height: 619px) and (orientation: landscape), (max-width: 959px) and (orientation: landscape) { .l13-h3__more { display: none; } .l13-h2__x:nth-last-child(-n+2) { display: none; } }
@media (max-width: 759px) and (orientation: portrait) { .l13-wires, .l13-h3__more { display: none; } .l13-w .ga-scrim--right { display: none; } }
@media (prefers-reduced-motion: reduce) { .l13-wire.is-on { animation: none; } }

/* ---------- compact and phone fixes ---------- */
@media (max-height: 619px) and (orientation: landscape), (max-width: 959px) and (orientation: landscape) {
  .l13-w .ga--right { grid-template-columns: minmax(0, 1fr) minmax(0, 15.5em); }
  .l13-w .ga--right .ga-t { max-width: 100%; }
  /* l1-how: two panes per beat, side by side */
  .l13-trip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .l13-trip.l13-b0 .l13-pane--c, .l13-trip.l13-b1 .l13-pane--a { display: none; }
  .l13-form .gk-field:nth-child(n+2) { display: none; }
  .l13-form .gk-btn { height: 28px; }
  /* l2-how: one column, a wider table */
  .l13-how.l13-h2 .ga--stage { grid-template-columns: minmax(0, .26fr) minmax(0, .74fr); }
  .l13-h2 .gk-rail, .l13-h2__camp, .l13-h2__wire, .l13-h2__x { display: none !important; }
  .l13-h2__grid { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .l13-h2__neg { transform: translateY(12px); padding: 8px 12px; }
  .l13-h2__negh { margin-bottom: 6px; }
  .l13-h2 .gk-tr { grid-template-columns: 16px minmax(0, 1fr) 76px auto; padding-right: 10px; }
  .l13-h2 .gk-td--first { white-space: normal; line-height: 1.2; }
  .l13-h2 .gk-cost { min-width: 0; }
}
@media (max-height: 439px) and (orientation: landscape) {
  .l13-h2 .gk-top, .l13-h3 .gk-top { display: none; }
  .l13-h3 .gk-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .l13-h3 .gk-main > .gk-card:nth-child(3) { grid-column: 1 / -1; }
  .l13-h3 .gk-rail { display: none; }
  .l13-form .gk-btn { display: none; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .l13-trip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; align-items: start; align-content: center; }
  .l13-pane__h { white-space: normal; line-height: 1.2; }
  .l13-form .gk-field:nth-child(n+2) { display: none; }
  .l13-form .gk-btn { height: 28px; }
  .l13-hid__l { white-space: normal; }
  .l13-steps { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .l13-steps .l13-step:first-child { display: none; }
  .l13-step, .l13-step:first-child { clip-path: none; border-radius: 4px; }
  .l13-crm__r:last-child { display: none; }
  .l13-slot, .l13-tok { width: 52px; }
  .l13-up__r:nth-child(n+3) { display: none; }
  .l13-up__r .gk-cost { min-width: 34px; }
  .l13-up { padding: 4px; }
  .l13-pane--c .gk-top { padding: 0 8px; }
  .l13-pane--c .gk-crumbs { display: none; }
  .l13-h2 .gk-tr { grid-template-columns: 14px minmax(0, 1fr) 70px auto; padding-right: 8px; }
  .l13-h2 .gk-td--first { white-space: normal; line-height: 1.2; }
  .l13-h2 .gk-cost { min-width: 0; }
  .l13-h2__x { display: none !important; }
  .l13-h3 .gk-top, .l13-h3 .gk-rail { display: none; }
  .l13-h3 .gk-chrome .gk-main { padding: 6px 28px 6px 6px; gap: 6px; }
  .l13-h3 .gk-card { padding: 6px 10px 4px; }
  .l13-h3 .gk-ctl { min-height: 26px; }
  .l13-h3.l13-h3--late .gk-main > .gk-card:nth-child(-n+2) { display: none; }
  .l13-h3 .l13-stack__i:not(.is-on) { display: none; }
  .l13-h3 .ga--split .ga-vis { min-height: 90px; }
}
@media (max-height: 379px) and (orientation: landscape) {
  .l13-h2 .gk-tr { min-height: 27px; }
  .l13-h2 .gk-tr--h { min-height: 26px; }
  .l13-h2 .gk-main { padding: 4px 6px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .l13-h2 .gk-top { height: 36px; }
  .l13-h2 .gk-main { padding: 6px; gap: 6px; }
  .l13-h2__grid { gap: 6px; }
  .l13-h2__neg { padding: 8px 10px; }
  .l13-h2__negh { margin-bottom: 6px; }
  .l13-h2 .gk-tr { min-height: 34px; }
}
@media (max-height: 379px) and (orientation: landscape) {
  .l13-w .ga--right { grid-template-columns: minmax(0, 1fr) minmax(0, 13.5em); }
}
/* round 5: on desktop frames under 760 px tall the stage mocks keep the text in a column under the title, mock beside it */
@media (max-height: 759px) and (min-width: 960px) and (orientation: landscape) {
  .l13-how.l13-h1 .ga--stage, .l13-how.l13-h2 .ga--stage { grid-template-columns: minmax(0, .28fr) minmax(0, .72fr); grid-template-rows: auto minmax(0, 1fr); column-gap: 32px; }
  .l13-how .ga--stage .ga-vis { grid-column: 2; grid-row: 2; }
  .l13-how .ga--stage .ga-side { grid-column: 1; grid-row: 2; grid-auto-flow: row; max-width: none; align-self: start; }
}
@media (max-height: 759px) and (min-width: 960px) and (orientation: landscape) {
  .l13-h2 .gk-td--first { white-space: normal; line-height: 1.2; }
  .l13-h2__x:nth-last-child(-n+2) { display: none; }
}

/* ---------- fix round: real text in l1-how, Example tags on the visuals, the dam's labels and legend ---------- */
.l13-flab { font-size: 14px; font-weight: 500; color: #3C4043; margin-bottom: -4px; }
.l13-crm__n { display: grid; min-width: 0; }
.l13-crm__n > * { grid-area: 1 / 1; align-self: center; }
.l13-crm__n b { font-weight: 500; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l13-pane__h--ex { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.l13-pane__h--ex > * { grid-area: auto; }
.l13-up__t { font-weight: 500; white-space: nowrap; color: #0D652D; }
.l13-up__r--new { grid-template-columns: auto auto minmax(0, 1fr); }
.scene .l13-lab--ex { text-shadow: none; }
.l13-lab--ex .ga-tag--line { box-shadow: inset 0 0 0 1px rgb(255 255 255 / .35); color: #fff; background: rgb(5 5 6 / .6); }
.l13-h2__tools .ga-tag { height: 24px; }
.scene .l13-lab--gate { padding-left: 16px; }
.scene .l13-lab--gate::before { content: ""; position: absolute; left: 0; top: .42em; width: 9px; height: 9px; border-radius: 50%; background: var(--c); box-shadow: 0 0 8px var(--c); }
.l13-legend { position: absolute; left: 0; top: 0; z-index: 3; display: none; gap: 4px; padding: 7px 10px; border-radius: 6px; background: rgb(5 5 6 / .72); box-shadow: inset 0 0 0 1px rgb(255 255 255 / .12); pointer-events: none; }
.l13-w3--small .l13-legend { display: grid; }
.l13-legend__i { position: relative; padding-left: 16px; font-size: 14px; line-height: 1.3; color: #fff; white-space: nowrap; }
.l13-legend__i[hidden] { display: none; }
.l13-legend__i::before { content: ""; position: absolute; left: 0; top: .4em; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
@media (max-height: 619px) and (orientation: landscape), (max-width: 959px) and (orientation: landscape) {
  .l13-step, .l13-step:first-child { clip-path: none; border-radius: 4px; padding: 0 4px; }
  .l13-up__t { font-size: 14px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .l13-w3 .l13-lab--gate { white-space: nowrap; max-width: none; }
  .l13-legend__i { white-space: normal; }
  .l13-up__t { font-size: 14px; white-space: normal; }
}
.l13-cal__w { position: relative; padding-top: 26px; max-width: 380px; }
.l13-cal__l { position: absolute; top: 0; font-size: 14px; font-weight: 500; white-space: nowrap; opacity: 0; transition: opacity .5s .9s; }
.l13-cal__w.is-on .l13-cal__l { opacity: 1; }
.l13-cal__l--spike { left: 45%; transform: translateX(-50%); color: #C4561A; }
.l13-cal__l--cap { right: 0; color: #202124; }
/* the settings mock keeps all three cards visible on frames under 760 px tall */
@media (max-height: 759px) and (orientation: landscape) {
  .l13-h3__more { display: none; }
  .l13-h3 .l13-set__d { display: none; }
  .l13-h3 .gk-chrome .gk-main { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; padding: 10px 34px 10px 10px; }
  .l13-h3 .gk-chrome .gk-main > .gk-card:nth-child(3) { grid-column: 1 / -1; }
  .l13-h3 .gk-card { padding: 8px 12px 6px; }
  .l13-h3 .gk-card__h { min-height: 20px; margin-bottom: 2px; }
  .l13-h3 .gk-ctl { min-height: 28px; }
  .l13-h3 .gk-ctl span { white-space: normal; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .l13-cal__w { max-width: 320px; }
}
.l13-crm__n b { white-space: normal; line-height: 1.2; overflow: visible; }
.l13-up__t { white-space: normal; line-height: 1.2; }
.l13-p1__cv { transition: opacity .6s, visibility 0s; }
.l13-p1--b1 .l13-p1__cv { visibility: hidden; transition: visibility 0s .7s; }
@media (max-height: 619px) and (orientation: landscape), (max-width: 959px) and (orientation: landscape) {
  .l13-up__r:nth-child(n+3) { display: none; }
  .l13-slot, .l13-tok { width: 50px; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .l13-crm__r--lead { grid-template-columns: auto minmax(0, 1fr); }
  .l13-crm__r--lead .l13-slot { grid-column: 2; justify-self: start; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .l13-pane--c .gk-top { height: 32px; }
  .l13-pane--c .l13-pane__h { margin-bottom: 4px; }
  .l13-up__r { min-height: 30px; }
}
/* fix round, second pass */
.l13-trip > .l13-pane--c { height: auto !important; }
.l13-cal__w { padding-bottom: 22px; }
.l13-cal__l--cap { top: auto; bottom: 0; }
@media (max-height: 759px) and (orientation: landscape) {
  .l13-up__r:nth-child(n+3) { display: none; }
  .l13-up__t { font-size: 14px; }
}
@media (max-height: 499px) and (orientation: landscape) {
  .l13-h2 .gk-top { display: none; }
}
@media (max-height: 379px) and (orientation: landscape) {
  .l13-h2__tools { height: 26px; }
  .l13-h2 .gk-tr { min-height: 25px; }
  .l13-h2 .gk-tr--h { min-height: 24px; }
  .l13-h3 .gk-ctl { min-height: 22px; }
  .l13-h3 .gk-card { padding: 3px 10px 3px; }
  .l13-h3 .gk-chrome .gk-main { gap: 5px; padding: 5px 28px 5px 6px; }
  .l13-crm__r { min-height: 28px; }
  .l13-pane.gk-card { padding: 6px 8px; }
  .l13-steps { margin: 2px 0; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .l13-up__r:nth-child(n+2) { display: none; }
}
@media (max-height: 759px) and (min-width: 960px) and (orientation: landscape) {
  .l13-trip { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .l13-trip.l13-b0 .l13-pane--c, .l13-trip.l13-b1 .l13-pane--a { display: none; }
  .l13-pane--c .gk-rail { display: none; }
}
@media (max-width: 759px) and (orientation: portrait) {
  .l13-up__r--new { grid-template-columns: auto auto; }
  .l13-up__r--new .l13-up__t { grid-column: 1 / -1; padding-bottom: 4px; }
}
@media (max-height: 379px) and (orientation: landscape) {
  .l13-cal__w { max-width: 200px; padding-top: 20px; padding-bottom: 18px; }
  .l13-h3 .gk-chrome .gk-main { padding: 4px 28px 4px 6px; gap: 4px; }
}

/* ---------- audit round ---------- */
.l13-p1--b1 .l13-p1__cpl--b { transition: stroke-dashoffset 1.4s cubic-bezier(.45,.05,.3,1) 1.2s; }
.l13-slot--a { width: auto; padding: 0 10px; }
.l13-gclid { font-size: 14px; font-weight: 500; color: #B54A0E; font-variant-numeric: tabular-nums; letter-spacing: .01em; white-space: nowrap; }
.l13-gclid--up { color: #5F6368; margin-right: 4px; }
.l13-up__t { display: inline-flex; flex-wrap: wrap; column-gap: 6px; }
/* small frames: the beat's new card replaces the old one */
@media (max-height: 379px) and (orientation: landscape) {
  .l13-h2__chrome.is-b1 .l13-h2__tcard { display: none; }
  .l13-h3.l13-h3--late .gk-chrome .gk-main > .gk-card:nth-child(-n+2) { display: none; }
  .l13-h3 .gk-card__chev { display: none; }
  .l13-h3 .gk-ctl span { white-space: nowrap; }
}
.l13-up__r--new { grid-template-columns: auto auto minmax(0, 1fr); }
.l13-up__r--new .l13-up__t { grid-column: 1 / -1; padding-bottom: 4px; }
@media (max-height: 379px) and (orientation: landscape) {
  .l13-up__r:nth-child(n+2) { display: none; }
  .l13-pane--c .l13-pane__h { margin-bottom: 2px; }
}
