/* =====================================================================
   Product tour reels (js/reels.js)
   Not screenshots: each feature is a composed scene on a dark stage. A few of
   its key interface elements, drawn large, act out what the feature does in a
   10-second reel. Every scene sits on a fixed 1280 x 680 artboard scaled to
   the stage's width, so the composition, the motion paths and the type hold
   their proportions at any size. The markup is authored in its finished
   state: with no motion (reduced motion, or no GSAP) each scene simply shows
   the end of its reel.
   ===================================================================== */

/* ---------- Stage ---------- */
.browser--stage {
  background:
    radial-gradient(70% 75% at 10% 0%, rgba(21, 119, 168, 0.4), transparent 62%),
    radial-gradient(60% 70% at 100% 100%, rgba(127, 209, 234, 0.15), transparent 62%),
    linear-gradient(160deg, #061a2e 0%, #0b2d50 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.browser__viewport { aspect-ratio: 1280 / 680; overflow: hidden; background: none; }

/* Tab progress: a hairline that fills across the active tab over the 10s reel. */
.tabs__tab::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: 4px; height: 2px; border-radius: 2px;
  background: var(--accent); transform: scaleX(var(--p, 0)); transform-origin: left; opacity: 0; transition: opacity 0.3s;
}
.tabs.is-playing .tabs__tab.is-active::after { opacity: 1; }

.reel {
  --st: #1288b0; --st2: #0b6488; --sa: #7fd1ea; --sk: #0f1f2e; --sm: #627384; --sx: #8a99a6; --sl: #e5edf1;
  --sr: #e0484d; --sg: #1d9a62; --so: #e5850f; --sb: #3a6ee0; --sp: #7c5cdb;
  position: absolute; left: 0; top: 0; width: 1280px; height: 680px; overflow: hidden;
  transform: scale(var(--reel-scale, 1)); transform-origin: 0 0;
  font-family: var(--font-body); font-size: 14px; line-height: 1.45; color: var(--sk); text-align: left;
  user-select: none; pointer-events: none;
}
/* a faint dot grid, brightest behind the composition */
.reel::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.3px); background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(75% 80% at 50% 45%, #000 30%, transparent 85%); mask-image: radial-gradient(75% 80% at 50% 45%, #000 30%, transparent 85%);
}
.reel *, .reel *::before, .reel *::after { box-sizing: border-box; }
.reel h4, .reel h5 { margin: 0; font-family: inherit; color: inherit; letter-spacing: -0.015em; }
.reel i { font-style: normal; }
.reel i[class*="ph-"] { line-height: 1; }
.reel b { font-weight: 700; }
.reel p, .reel ul, .reel ol { margin: 0; padding: 0; list-style: none; }

.c-teal { --c: var(--st); } .c-green { --c: var(--sg); } .c-red { --c: var(--sr); }
.c-blue { --c: var(--sb); } .c-amber { --c: var(--so); } .c-grey { --c: var(--sx); } .c-purple { --c: var(--sp); }
/* text swaps driven by data-v="a" / "b" on the wrapper */
.sw > .a, .sw > .b { display: none; }
.sw[data-v="a"] > .a, .sw[data-v="b"] > .b { display: flex; }

/* ---------- Card language ---------- */
.s-card { position: absolute; background: #fff; border-radius: 18px; box-shadow: 0 34px 60px -30px rgba(0, 8, 20, 0.8), 0 2px 8px rgba(0, 8, 20, 0.2); }
.s-glass {
  position: absolute; border-radius: 18px; color: #e6f3f8;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.03)); border: 1px solid rgba(255, 255, 255, 0.13);
}
.s-label { font-family: var(--font-micro); font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sm); }
.s-glass .s-label, .s-label--light { color: var(--sa); }
.s-num { font-family: var(--font-display); font-weight: 700; line-height: 1; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }
.s-pill { position: absolute; display: inline-flex; align-items: center; gap: 9px; padding: 9px 15px; border-radius: 999px; font-size: 13px; font-weight: 700; white-space: nowrap; color: #dff3fa; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); }
.s-dot { width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--c, var(--sg)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, var(--sg)) 25%, transparent); }
.s-ico { width: 38px; height: 38px; display: grid; place-items: center; flex: none; border-radius: 11px; font-size: 18px; color: var(--c, var(--st)); background: color-mix(in srgb, var(--c, var(--st)) 12%, #fff); }
.s-src { display: inline-flex; align-items: center; gap: 6px; padding: 6px 11px; border-radius: 9px; font-size: 12.5px; font-weight: 700; color: var(--st2); background: #eaf6fa; border: 1px solid #cfe7f0; white-space: nowrap; }
.s-tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px; border-radius: 999px; font-size: 11.5px; font-weight: 700; color: var(--c); background: color-mix(in srgb, var(--c) 12%, #fff); white-space: nowrap; }
.r-orb { display: grid; place-items: center; flex: none; border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 30%, #4fc3e8, #1288b0 55%, #3b3f9e); }
.r-dots { display: inline-flex; gap: 4px; }
.r-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--st); animation: r-dot 1s infinite ease-in-out; }
.r-dots i:nth-child(2) { animation-delay: 0.15s; }
.r-dots i:nth-child(3) { animation-delay: 0.3s; }
@keyframes r-dot { 0%, 60%, 100% { opacity: 0.3; transform: none; } 30% { opacity: 1; transform: translateY(-2px); } }
@keyframes r-caret { 50% { opacity: 0; } }
.caret:not(:empty)::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: r-caret 1s steps(1) infinite; }
.s-btn { display: inline-flex; align-items: center; gap: 7px; height: 36px; padding: 0 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--st), var(--st2)); box-shadow: 0 10px 18px -10px rgba(11, 100, 136, 0.9); white-space: nowrap; transition: transform 0.2s, filter 0.2s; }
.s-btn[data-hover="1"] { transform: translateY(-1px); filter: brightness(1.1); }

/* Pointer and its click ring, moved by GSAP in artboard pixels. */
.r-cursor { position: absolute; left: 0; top: 0; z-index: 30; width: 26px; height: 26px; margin: -2px 0 0 -4px; opacity: 0; transform-origin: 4px 2px; filter: drop-shadow(0 3px 4px rgba(0, 8, 20, 0.45)); }
.r-cursor svg { display: block; }
.r-ring { position: absolute; left: 0; top: 0; z-index: 29; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 2px solid var(--sa); background: rgba(127, 209, 234, 0.18); opacity: 0; }

/* ---------- 1. SMS assistant ---------- */
.sms-idx { left: 70px; top: 46px; }
.sms-ask {
  position: absolute; right: 640px; top: 104px; max-width: 470px; padding: 13px 18px; border-radius: 18px 18px 6px 18px;
  font-size: 16px; font-weight: 600; color: #fff; background: linear-gradient(135deg, var(--st), var(--st2)); box-shadow: 0 18px 30px -18px rgba(0, 0, 0, 0.8);
}
.sms-ans { left: 70px; top: 172px; width: 570px; min-height: 90px; padding: 20px 22px 22px; }
.sms-ans header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.sms-ans header .r-orb { width: 34px; height: 34px; font-size: 16px; }
.sms-ans header b { font-size: 15px; }
.sms-ans header small { margin-left: auto; font-size: 11.5px; font-weight: 700; color: var(--sg); }
.sms-think { position: absolute; left: 22px; top: 72px; display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--sm); opacity: 0; visibility: hidden; }
.sms-text { min-height: 24px; font-size: 16px; line-height: 1.55; }
.reel .sms-steps { margin-top: 12px; display: flex; flex-direction: column; gap: 8px; }
.sms-steps li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.5; color: #2b3e50; }
.sms-steps li i { width: 20px; height: 20px; margin-top: 1px; display: grid; place-items: center; flex: none; border-radius: 50%; font-size: 11px; color: #fff; background: var(--sg); }
.sms-srcs { display: flex; gap: 8px; margin-top: 16px; }
.sms-comp {
  left: 70px; top: 548px; width: 570px; height: 60px; display: flex; align-items: center; gap: 12px; padding: 0 9px 0 20px;
  border-radius: 999px; font-size: 16px; transition: box-shadow 0.25s;
}
.sms-comp[data-focus="1"] { box-shadow: 0 0 0 4px rgba(127, 209, 234, 0.35), 0 34px 60px -30px rgba(0, 8, 20, 0.8); }
.sms-comp > i { font-size: 18px; color: var(--st); }
.sms-comp .caret { color: var(--sk); }
.sms-comp .sms-ph { color: var(--sx); }
.sms-comp .caret:not(:empty) + .sms-ph { display: none; }
.sms-send { width: 44px; height: 44px; margin-left: auto; display: grid; place-items: center; flex: none; border-radius: 50%; font-size: 17px; color: var(--sx); background: #f1f5f8; transition: all 0.25s; }
.sms-send[data-ready="1"] { color: #fff; background: linear-gradient(135deg, var(--st), var(--st2)); }
.sms-docs { position: absolute; left: 730px; top: 80px; width: 470px; height: 520px; }
.sms-doc { position: absolute; left: 30px; top: 30px; width: 400px; height: 460px; padding: 24px; border-radius: 16px; background: #fff; box-shadow: 0 30px 60px -30px rgba(0, 8, 20, 0.8); }
.sms-doc.d3 { transform: translate(34px, 14px) rotate(7deg); background: #dfe9ef; }
.sms-doc.d2 { transform: translate(16px, 6px) rotate(3.5deg); background: #edf3f7; }
.sms-doc.d1 { transform: rotate(-1.5deg); }
.sms-doc header { display: flex; align-items: center; gap: 12px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--sl); }
.sms-doc header b { display: block; font-size: 16px; }
.sms-doc header small { font-size: 12.5px; color: var(--sm); }
.sms-doc.d2 header, .sms-doc.d3 header { opacity: 0.55; }
.sms-doc .ln { display: block; height: 10px; margin-bottom: 13px; border-radius: 5px; background: #edf2f5; }
.sms-hl {
  display: block; margin: 4px -8px 17px; padding: 9px 10px; border-radius: 8px; font-size: 14px; font-weight: 600; line-height: 1.45;
  background-image: linear-gradient(90deg, rgba(255, 214, 102, 0.55), rgba(255, 214, 102, 0.55)); background-repeat: no-repeat; background-size: 100% 100%;
}
.sms-doc .page { position: absolute; right: 20px; bottom: 18px; }
.sms-beam { position: absolute; left: 30px; top: 40px; width: 400px; height: 80px; border-radius: 12px; opacity: 0; background: linear-gradient(180deg, transparent, rgba(127, 209, 234, 0.45), transparent); mix-blend-mode: multiply; }
.sms-link { position: absolute; inset: 0; width: 1280px; height: 680px; overflow: visible; }

/* ---------- 2. Dashboard ---------- */
.db-gauge { left: 80px; top: 70px; width: 420px; height: 540px; padding: 24px 26px; }
.db-ring { position: absolute; left: 70px; top: 76px; width: 280px; height: 280px; }
.db-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.db-ring-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.db-ring-in b { font-size: 68px; }
.db-ring-in b small { font-size: 30px; }
.db-ring-in > span { margin-top: 6px; font-family: var(--font-micro); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; color: var(--sx); }
.db-pulse { position: absolute; left: 70px; top: 76px; width: 280px; height: 280px; border-radius: 50%; border: 3px solid var(--sa); opacity: 0; }
.db-tones { position: absolute; left: 26px; right: 26px; bottom: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.db-tones div { padding: 12px 14px; border-radius: 12px; background: #f5f9fb; }
.db-tones b { display: block; font-size: 26px; color: var(--c); }
.db-tones div > span { display: flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 12px; font-weight: 600; color: var(--sm); }
.db-count { left: 540px; top: 70px; width: 300px; height: 180px; padding: 22px 24px; }
.db-count > .s-ico { position: absolute; right: 22px; top: 20px; }
.db-count .big { display: flex; align-items: baseline; gap: 10px; margin-top: 16px; }
.db-count .big b { font-size: 64px; color: var(--sk); }
.db-count .big > span { font-size: 18px; font-weight: 700; color: var(--sm); }
.db-count p { margin-top: 10px; font-size: 13px; color: var(--sm); }
.db-stat { left: 870px; width: 330px; height: 52px; display: flex; align-items: center; gap: 12px; padding: 0 18px; }
.db-stat b { font-size: 24px; min-width: 40px; color: #fff; }
.db-stat > span { font-size: 13.5px; color: rgba(230, 243, 248, 0.78); }
.db-stat .s-dot { margin-left: auto; }
.db-ch { left: 540px; top: 280px; width: 660px; height: 312px; padding: 22px 26px; }
.db-ch header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.db-ch header b { font-size: 16px; }
.db-legend { display: flex; gap: 14px; font-size: 12px; font-weight: 600; color: var(--sm); }
.db-legend span { display: inline-flex; align-items: center; gap: 6px; }
.db-legend span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.ch { display: grid; grid-template-columns: minmax(0, 1fr) 250px 46px; align-items: center; gap: 16px; height: 40px; font-size: 14px; }
.ch[data-tone="good"] { --c: var(--sg); } .ch[data-tone="fair"] { --c: var(--so); } .ch[data-tone="attn"] { --c: var(--sr); }
.ch > span:first-child em { margin-right: 8px; font-style: normal; font-weight: 800; color: var(--sx); }
.ch-bar { height: 9px; border-radius: 99px; background: #eef3f6; overflow: hidden; }
.ch-bar i { display: block; height: 100%; border-radius: inherit; background: var(--c); transition: background-color 0.4s; }
.ch > b { text-align: right; color: var(--c); font-variant-numeric: tabular-nums; transition: color 0.4s; }
.db-toast { left: 760px; top: 608px; width: 440px; height: 54px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 14px; }
.db-toast .s-ico { width: 32px; height: 32px; font-size: 16px; }
.db-toast b { font-size: 14px; }
.db-toast small { margin-left: auto; font-size: 12px; color: var(--sx); }
.db-spark { position: absolute; left: 0; top: 0; z-index: 20; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; opacity: 0; background: #fff; box-shadow: 0 0 0 4px rgba(127, 209, 234, 0.45), 0 0 24px 8px rgba(127, 209, 234, 0.7); }

/* ---------- 3. SIRE reports ---------- */
.rp-paper { left: 80px; top: 60px; width: 340px; height: 528px; padding: 22px 24px; border-radius: 14px; overflow: hidden; }
.rp-paper header { display: flex; align-items: center; gap: 12px; padding-bottom: 14px; margin-bottom: 18px; border-bottom: 1px solid var(--sl); }
.rp-paper header b { display: block; font-size: 15px; }
.rp-paper header small { font-size: 12px; color: var(--sm); }
.rp-paper .ln { display: block; height: 9px; margin-bottom: 12px; border-radius: 5px; background: #edf2f5; }
.rp-find { display: flex; align-items: center; gap: 8px; height: 30px; margin: -4px -8px 9px; padding: 0 8px; border-radius: 7px; font-size: 12.5px; font-weight: 700; color: var(--sx); transition: background-color 0.3s, color 0.3s; }
.rp-find::before { content: ""; width: 4px; height: 18px; border-radius: 2px; background: #dbe4ea; transition: background-color 0.3s; }
.rp-find[data-on="1"] { color: var(--c); background: color-mix(in srgb, var(--c) 10%, #fff); }
.rp-find[data-on="1"]::before { background: var(--c); }
.rp-beam { position: absolute; left: 0; right: 0; top: 70px; height: 60px; opacity: 0; background: linear-gradient(180deg, transparent, rgba(18, 136, 176, 0.25), transparent); border-bottom: 2px solid rgba(18, 136, 176, 0.7); }
.rp-colhead { position: absolute; left: 458px; top: 64px; }
.rp-chip { left: 456px; width: 290px; height: 66px; display: flex; align-items: center; gap: 12px; padding: 0 16px; border-radius: 14px; }
.rp-chip b { display: block; font-size: 14px; }
.rp-chip small { font-size: 12.5px; color: var(--sm); }
.rp-tot { left: 456px; top: 372px; width: 290px; height: 216px; padding: 20px 22px; display: flex; flex-direction: column; justify-content: space-between; }
.rp-tot div { display: flex; align-items: center; gap: 12px; }
.rp-tot b { width: 56px; font-size: 34px; color: #fff; }
.rp-tot div > span { font-size: 14px; color: rgba(230, 243, 248, 0.8); }
.rp-tot .s-dot { margin-left: auto; }
.rp-chart { left: 786px; top: 60px; width: 414px; height: 322px; padding: 20px 22px; }
.rp-chart header { display: flex; align-items: center; justify-content: space-between; }
.rp-chart header b { font-size: 15px; }
.rp-chart svg { display: block; width: 370px; height: 230px; margin-top: 14px; overflow: visible; }
.rp-chart text { font-family: var(--font-body); font-size: 11px; fill: var(--sx); }
.rp-ins { left: 786px; top: 410px; width: 414px; height: 110px; padding: 18px 22px; }
.reel .rp-ins p { min-height: 22px; margin-top: 8px; font-size: 17px; font-weight: 700; line-height: 1.4; color: #fff; }
.rp-done { left: 80px; top: 608px; }
.rp-done i { color: #6ee7a8; font-size: 16px; }

/* ---------- 4. Question analysis ---------- */
.qa-deck { position: absolute; left: 80px; top: 120px; width: 250px; height: 360px; }
.qa-sheet { position: absolute; inset: 0; border-radius: 18px; background: #dfe9ef; box-shadow: 0 24px 50px -28px rgba(0, 8, 20, 0.8); }
.qa-sheet.s2 { transform: translate(14px, 14px) rotate(4deg); background: #c9dbe5; }
.qa-sheet.s1 { transform: translate(7px, 7px) rotate(2deg); }
.qa-front { left: 0; top: 0; width: 250px; height: 360px; padding: 26px 24px; display: flex; flex-direction: column; }
.qa-front .s-num { margin-top: 22px; font-size: 78px; color: var(--sk); }
.reel .qa-front p { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--sm); }
.qa-chaps { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; margin-top: auto; }
.qa-chaps i { height: 24px; border-radius: 6px; background: #eaf3f7; }
.qa-flow { position: absolute; left: 372px; top: 120px; width: 230px; height: 400px; }
.qa-flow::before { content: ""; position: absolute; left: 22px; top: 22px; bottom: 120px; width: 2px; background: linear-gradient(180deg, rgba(127, 209, 234, 0.6), rgba(127, 209, 234, 0.1)); }
.qa-filter { position: absolute; left: 0; display: flex; align-items: center; gap: 10px; padding: 9px 14px 9px 10px; border-radius: 999px; font-size: 13px; font-weight: 700; color: #dff3fa; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.15); transition: background-color 0.3s, border-color 0.3s; white-space: nowrap; }
.qa-filter i { width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; font-size: 13px; color: var(--sa); background: rgba(127, 209, 234, 0.14); }
.qa-filter[data-on="1"] { border-color: rgba(127, 209, 234, 0.6); background: rgba(127, 209, 234, 0.16); }
.qa-result { left: 0; top: 248px; width: 230px; padding: 18px 20px; }
.qa-result .s-num { font-size: 52px; color: var(--st); }
.reel .qa-result p { margin-top: 4px; font-size: 13.5px; font-weight: 700; color: var(--sm); }
.qa-fly { position: absolute; left: 0; top: 0; width: 50px; height: 34px; border-radius: 8px; background: #fff; opacity: 0; box-shadow: 0 10px 20px -10px rgba(0, 8, 20, 0.7); }
.qa-fly::before, .qa-fly::after { content: ""; position: absolute; left: 8px; right: 14px; height: 4px; border-radius: 2px; background: #dbe6ec; }
.qa-fly::before { top: 10px; } .qa-fly::after { top: 19px; right: 22px; }
.qa-list { left: 640px; top: 60px; width: 560px; height: 560px; padding: 22px 24px; }
.qa-list > header { display: flex; align-items: baseline; justify-content: space-between; padding-bottom: 14px; border-bottom: 1px solid var(--sl); }
.qa-list > header b { font-size: 17px; }
.qa-list > header small { font-size: 12.5px; font-weight: 600; color: var(--sm); }
.qa-list > header small span { font-weight: 800; color: var(--sk); font-variant-numeric: tabular-nums; }
.qa-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 146px; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid #eef3f6; }
.qa-rank { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; background: linear-gradient(135deg, var(--st), var(--st2)); }
.qa-row h5 { font-size: 15px; font-weight: 700; line-height: 1.35; }
.qa-row h5 em { margin-right: 6px; font-style: normal; color: var(--st); }
.qa-why { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.qa-ans { display: flex; padding: 3px; border-radius: 999px; background: #f1f5f8; }
.qa-ans span { flex: 1; padding: 6px 0; border-radius: 999px; text-align: center; font-size: 12px; font-weight: 700; color: var(--sm); transition: background-color 0.2s, color 0.2s; }
.qa-ans[data-a="yes"] .y { color: #fff; background: var(--sg); }
.qa-ans[data-a="no"] .n { color: #fff; background: var(--sr); }
.qa-com { display: none; align-items: center; height: 34px; margin-top: 10px; padding: 0 12px; border-radius: 9px; border: 1px solid var(--sl); font-size: 13px; color: var(--sk); }
.qa-com[data-c="edit"], .qa-com[data-c="text"] { display: flex; }
.qa-com[data-c="edit"] { border-color: var(--st); box-shadow: 0 0 0 3px rgba(18, 136, 176, 0.14); }
.qa-ai { left: 760px; top: 452px; width: 470px; padding: 18px 20px; }
.qa-ai header { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.qa-ai header .r-orb { width: 30px; height: 30px; font-size: 14px; }
.qa-ai header b { font-size: 14.5px; }
.qa-ai p { min-height: 21px; font-size: 14px; line-height: 1.5; color: #2b3e50; }
.qa-ai .r-dots { position: absolute; left: 20px; top: 66px; opacity: 0; visibility: hidden; }
.qa-ai .s-src { margin-top: 12px; }

/* ---------- 5. Crew readiness ---------- */
.cw-links { position: absolute; inset: 0; width: 1280px; height: 680px; overflow: visible; }
.cw-core { position: absolute; left: 560px; top: 190px; width: 280px; height: 280px; border-radius: 50%; background: radial-gradient(circle, rgba(18, 136, 176, 0.32), rgba(6, 26, 46, 0.6) 70%); border: 1px solid rgba(127, 209, 234, 0.22); }
.cw-core svg { position: absolute; inset: 10px; width: 260px; height: 260px; transform: rotate(-90deg); }
.cw-core-in { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; }
.cw-core-in b { font-size: 64px; }
.cw-core-in b small { font-size: 28px; }
.cw-core-in > span { margin-top: 8px; font-family: var(--font-micro); font-size: 11.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sa); }
.cw-glow { position: absolute; left: 560px; top: 190px; width: 280px; height: 280px; border-radius: 50%; opacity: 0; box-shadow: 0 0 0 3px rgba(127, 209, 234, 0.7), 0 0 60px 10px rgba(127, 209, 234, 0.45); }
.cw-av { position: absolute; width: 76px; height: 76px; margin: -38px 0 0 -38px; }
.cw-av svg { position: absolute; inset: 0; width: 76px; height: 76px; transform: rotate(-90deg); }
.cw-av .face { position: absolute; inset: 9px; display: grid; place-items: center; border-radius: 50%; font-size: 15px; font-weight: 800; color: var(--st2); background: #fff; }
.cw-av .name { position: absolute; left: 50%; top: 82px; transform: translateX(-50%); font-size: 12px; font-weight: 700; color: #dff3fa; white-space: nowrap; }
.cw-av .name small { display: block; font-size: 11px; font-weight: 600; text-align: center; color: rgba(223, 243, 250, 0.6); }
.cw-av[data-tone="attn"] .arc { stroke: var(--so); }
.cw-av[data-tone="ok"] .arc { stroke: #4fd1a0; }
.cw-av .arc { stroke: var(--sa); transition: stroke 0.4s; }
.cw-detail { left: 60px; top: 130px; width: 320px; padding: 22px; display: flex; flex-direction: column; gap: 16px; }
.cw-detail header { display: flex; align-items: center; gap: 12px; }
.cw-detail header .face { width: 46px; height: 46px; display: grid; place-items: center; flex: none; border-radius: 50%; font-weight: 800; color: var(--st2); background: #e7f3f8; }
.cw-detail header b { display: block; font-size: 16px; }
.cw-detail header small { font-size: 12.5px; color: var(--sm); }
.cw-meter { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 12px; background: #f5f9fb; }
.cw-mini { position: relative; width: 64px; height: 64px; flex: none; }
.cw-mini svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.cw-mini b { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.cw-meter small { display: block; font-size: 12px; color: var(--sm); }
.cw-meter strong { font-size: 13.5px; }
.cw-train small { display: flex; justify-content: space-between; font-size: 12px; font-weight: 600; color: var(--sm); }
.cw-bar { height: 9px; margin-top: 8px; border-radius: 99px; background: #eef3f6; overflow: hidden; }
.cw-bar i { display: block; height: 100%; border-radius: inherit; background: var(--sb); }
.cw-item { display: block; }
.cw-item > div { align-items: center; gap: 12px; padding: 12px; border-radius: 12px; border: 1px solid var(--sl); }
.cw-item .s-ico { width: 34px; height: 34px; font-size: 16px; }
.cw-item p { flex: 1 1 140px; min-width: 0; }
.cw-item p b { display: block; font-size: 13.5px; }
.cw-item p small { font-size: 12px; color: var(--sm); }
.cw-item .s-btn { height: 32px; padding: 0 12px; font-size: 12px; }
.cw-side { left: 1012px; width: 208px; height: 104px; padding: 18px 20px; }
.cw-side b { display: block; margin-top: 10px; font-size: 34px; color: #fff; }
.cw-side b small { font-size: 16px; color: rgba(230, 243, 248, 0.6); }
.qa-ct { white-space: nowrap; overflow: hidden; }
.qa-com[data-c="edit"] .qa-ct:not(:empty)::after { content: ""; display: inline-block; width: 1.5px; height: 1em; margin-left: 1px; vertical-align: -2px; background: currentColor; animation: r-caret 1s steps(1) infinite; }
/* the overdue drill's button drops under its text instead of squeezing it */
.cw-item > div { flex-wrap: wrap; row-gap: 10px; }
.cw-item .s-btn { margin-left: 46px; }
