/* The expert welcome tour (owner design 2026-10-30): ds/welcome_tour.js. The design's own
   sizes, colours and fonts (Lora headings, Inter text); every class starts with cwt-. The real
   page sits behind the overlay. Narrow screens: the picture panel goes, the text stays. */
#cwt-root { position: fixed; inset: 0; z-index: 2000; }
.cwt-overlay { position: absolute; inset: 0; background: rgba(12, 28, 30, 0.5); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; padding: 16px; box-sizing: border-box;
  font-family: Inter, system-ui, sans-serif; color: #18201F; }
.cwt-dialog { width: 980px; height: 620px; max-width: 100%; max-height: 100%; background: #FFFFFF; border-radius: 28px;
  box-shadow: 0 30px 80px rgba(8, 24, 26, 0.32); display: flex; overflow: hidden; }
.cwt-dialog * { box-sizing: border-box; }
.cwt-visual { width: 420px; flex-shrink: 0; background: #EDF3F2; padding: 32px 30px; display: flex; flex-direction: column;
  justify-content: center; overflow: hidden; }
.cwt-pic { display: flex; flex-direction: column; gap: 12px; }
.cwt-pic-3 { gap: 10px; } .cwt-pic-4 { gap: 10px; }
.cwt-text { flex: 1; min-width: 0; padding: 30px 44px 30px 46px; display: flex; flex-direction: column; overflow-y: auto; }
.cwt-top { display: flex; align-items: center; justify-content: space-between; }
.cwt-welcome { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; color: #6E7C7A; }
.cwt-skip { height: 44px; padding: 0 16px; border: 0; border-radius: 999px; background: transparent;
  font: 500 15px Inter, system-ui, sans-serif; color: #4F5C5A; cursor: pointer; margin-right: -12px; }
.cwt-copy { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 16px; }
.cwt-title { margin: 0; font-family: Lora, Georgia, serif; font-weight: 600; font-size: 34px; line-height: 1.15; color: #18201F; }
.cwt-body { margin: 0; font-size: 16px; line-height: 1.6; color: #3E4947; }
.cwt-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cwt-progress { display: flex; gap: 10px; align-items: center; }
.cwt-dots { display: flex; gap: 6px; align-items: center; }
.cwt-dot { height: 6px; width: 8px; border-radius: 999px; background: #C9D6D4; transition: width .25s, background .25s; }
.cwt-dot-on { width: 28px; background: #123F44; }
.cwt-count { font-size: 13px; color: #6E7C7A; }
.cwt-buttons { display: flex; gap: 10px; align-items: center; }
.cwt-back { height: 48px; padding: 0 22px; border: 1px solid #C9D6D4; border-radius: 999px; background: #FFFFFF;
  font: 500 15px Inter, system-ui, sans-serif; color: #123F44; cursor: pointer; }
.cwt-next { height: 48px; padding: 0 24px; border: 0; border-radius: 999px; background: #123F44;
  font: 600 15px Inter, system-ui, sans-serif; color: #FFFFFF; cursor: pointer; }
.cwt-next:hover { filter: brightness(1.12); }
.cwt-skip:hover, .cwt-back:hover { background: #E9F1F1; }
.cwt-skip:focus-visible, .cwt-back:focus-visible, .cwt-next:focus-visible { outline: 2px solid #1D5C63; outline-offset: 2px; }

/* the pictures */
.cwt-card { background: #FFFFFF; border-radius: 14px; padding: 14px 16px; }
.cwt-shadow { box-shadow: 0 6px 18px rgba(18, 63, 68, 0.08); }
.cwt-outline { border: 1.5px solid #1D5C63; }
.cwt-row-between { display: flex; justify-content: space-between; align-items: center; }
.cwt-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: 0.12em; color: #6E7C7A; }
.cwt-eyebrow-tight { letter-spacing: 0.1em; }
.cwt-pill { font-size: 11px; font-weight: 600; color: #FFFFFF; background: #4C1D3D; border-radius: 999px; padding: 3px 8px; }
.cwt-story { display: grid; grid-template-columns: 76px 1fr; row-gap: 7px; column-gap: 10px; font-size: 13px; line-height: 1.4; margin-top: 10px; }
.cwt-story > span:nth-child(odd) { color: #6E7C7A; }
.cwt-deadline { font-weight: 600; color: #7A0E3A; }
.cwt-down { align-self: center; }
.cwt-suggested { padding: 12px 14px; display: flex; align-items: center; gap: 12px; }
.cwt-suggested svg { flex-shrink: 0; }
.cwt-strong { font-size: 14px; font-weight: 600; }
.cwt-13 { font-size: 13px; }
.cwt-small { font-size: 12px; color: #4F5C5A; }
.cwt-tiny { font-size: 11px; color: #4F5C5A; }
.cwt-path { padding: 12px 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; }
.cwt-path > div { display: flex; flex-direction: column; align-items: center; gap: 5px; text-align: center; font-size: 12px; line-height: 1.3; color: #24302E; }
.cwt-n { width: 24px; height: 24px; border-radius: 50%; background: #E6EFEE; color: #123F44; font-size: 12px; font-weight: 600;
  display: flex; align-items: center; justify-content: center; }
.cwt-n-on { background: #123F44; color: #FFFFFF; }
.cwt-file { display: flex; align-items: center; gap: 8px; }
.cwt-summary { margin: 10px 0 0; font-size: 13px; line-height: 2.1; color: #24302E; }
.cwt-swap { display: inline-grid; vertical-align: middle; }
.cwt-swap > span { grid-area: 1 / 1; align-self: center; white-space: nowrap; }
.cwt-swap > span:last-child { position: relative; justify-self: start; font-size: 11px; font-weight: 600; letter-spacing: 0.06em;
  color: #FFFFFF; background: #4C1D3D; border-radius: 999px; padding: 3px 12px 3px 9px; line-height: 1.4; }
.cwt-eye { position: absolute; top: -7px; right: -7px; width: 16px; height: 16px; border-radius: 50%; background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25); display: flex; align-items: center; justify-content: center; }
.cwt-lock { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #4F5C5A; padding-left: 4px; }
.cwt-kb { display: flex; flex-direction: column; gap: 10px; }
.cwt-kb-title { font-size: 13px; font-weight: 600; color: #123F44; }
.cwt-kb-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.cwt-kb-grid > div { background: #EDF3F2; border-radius: 10px; padding: 9px 10px; display: flex; flex-direction: column; gap: 6px;
  font-size: 12px; font-weight: 600; color: #123F44; }
.cwt-bar { height: 4px; border-radius: 2px; background: #C9D6D4; }
.cwt-q { position: relative; margin-left: 8px; background: #FFFFFF; border-radius: 0 14px 14px 14px; padding: 12px 14px;
  display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 1.45; }
.cwt-q-you { border: 1.5px solid #1F8FE0; }
.cwt-tail { position: absolute; left: -8px; top: 0; display: block; }
.cwt-tail-you { left: -10.5px; top: -1.5px; }
.cwt-answered, .cwt-yours { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: #1D5C63; line-height: 1.2; }
.cwt-yours { color: #4C1D3D; }
.cwt-rule { padding: 12px 14px; display: flex; gap: 10px; align-items: flex-start; }
.cwt-rule svg { flex-shrink: 0; margin-top: 1px; }
.cwt-source { font-size: 12px; color: #1D5C63; text-decoration: underline; }
.cwt-scan-box { padding: 12px; position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px; }
.cwt-scan { position: absolute; left: 0; right: 0; top: 34px; height: 2px; background: #1D5C63; opacity: 0.35; }
.cwt-hit { border: 1px solid #E3E8E6; border-radius: 10px; padding: 9px 10px; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; font-size: 12px; }
.cwt-muted { color: #4F5C5A; }
.cwt-risk { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; border-radius: 999px; padding: 3px 8px; white-space: nowrap; }
.cwt-risk > span { width: 7px; height: 7px; border-radius: 50%; }
.cwt-critical { color: #8E2A1F; background: #FBE3DF; } .cwt-critical > span { background: #C0392B; }
.cwt-low { color: #6A4A0C; background: #FBEBC0; } .cwt-low > span { background: #E0A400; }
.cwt-nochange { font-size: 11px; color: #6E7C7A; white-space: nowrap; }
.cwt-actions-sample { display: flex; gap: 8px; }
.cwt-actions-sample > span { flex: 1; text-align: center; font-size: 13px; font-weight: 600; border-radius: 999px; }
.cwt-update { color: #FFFFFF; background: #123F44; padding: 9px 0; }
.cwt-confirm { color: #123F44; background: #FFFFFF; border: 1px solid #C9D6D4; padding: 8px 0; }
.cwt-portfolio { border-radius: 16px; padding: 16px 18px; }
.cwt-sample { font-size: 11px; color: #6E7C7A; background: #F3F5F4; border-radius: 999px; padding: 3px 8px; }
.cwt-stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.cwt-stat { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 14px; }
.cwt-stat-icon { width: 36px; height: 36px; border-radius: 10px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cwt-stat-n { font-family: Lora, Georgia, serif; font-size: 26px; font-weight: 600; line-height: 1.1; font-variant-numeric: tabular-nums; }
.cwt-stat .cwt-small { color: #3E4947; }

/* the design's motion; none for an expert who asked for less */
@keyframes cwtIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@keyframes cwtScan { 0% { transform: translateY(0); } 50% { transform: translateY(118px); } 100% { transform: translateY(0); } }
@keyframes cwtRaw { 0%, 28% { opacity: 1; filter: blur(0); } 40%, 92% { opacity: 0; filter: blur(3px); } 100% { opacity: 1; filter: blur(0); } }
@keyframes cwtMask { 0%, 30% { opacity: 0; transform: scale(.85); } 42%, 90% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(.85); } }
.cwt-in { animation: cwtIn .38s ease-out both; }
.cwt-in2 { animation: cwtIn .38s .08s ease-out both; }
.cwt-d1 { animation: cwtIn .4s .5s ease-out both; }
.cwt-d2 { animation: cwtIn .4s 1s ease-out both; }
.cwt-d3 { animation: cwtIn .4s 1.5s ease-out both; }
.cwt-scan { animation: cwtScan 3s ease-in-out infinite; }
.cwt-swap > span:first-child { animation: cwtRaw 5s ease-in-out infinite; }
.cwt-swap > span:last-child { animation: cwtMask 5s ease-in-out infinite; }
.cwt-m2 { animation-delay: .25s !important; }
.cwt-m3 { animation-delay: .5s !important; }
@media (prefers-reduced-motion: reduce) {
  .cwt-in, .cwt-in2, .cwt-d1, .cwt-d2, .cwt-d3, .cwt-scan { animation: none; }
  .cwt-swap > span:first-child { animation: none; opacity: 0; }
  .cwt-swap > span:last-child { animation: none; opacity: 1; }
}
@media (max-width: 860px) {
  .cwt-visual { display: none; }
  .cwt-text { padding: 24px; }
  .cwt-title { font-size: 28px; }
  .cwt-dialog { height: auto; min-height: 420px; }
}

/* Help, in the top bar: "Product tour" shows the tour again */
.cw-help { position: relative; }
.cw-help-btn { height: 34px; padding: 0 14px; border: 1px solid var(--border, #C9D6D4); border-radius: 999px; background: var(--surface, #FFFFFF);
  font: inherit; font-size: 13px; font-weight: 500; color: var(--foreground, #123F44); cursor: pointer; }
.cw-help-menu { position: absolute; top: 42px; right: 0; width: 200px; background: var(--surface, #FFFFFF); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(8, 24, 26, 0.16); padding: 6px; z-index: 50; }
.cw-help-menu button { width: 100%; text-align: left; height: 40px; padding: 0 12px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; font-size: 14px; color: var(--foreground, #18201F); cursor: pointer; }
.cw-help-menu button:hover { background: var(--bg-hover, #E9F1F1); }
