/* Clearwise skin: brings the three tools in line with the site design (clean, light, rounded cards, dark primary buttons).
   Loaded at the end of each tool page, so it overrides the tool's own styles. Scoped per tool by html[data-cw-tool]. */
@import url("/fonts/css2?family=Heebo:wght@300;400;500;700;800&family=Frank+Ruhl+Libre:wght@500;700&family=Bellefair&family=IBM+Plex+Mono:wght@500;600&family=Rubik:wght@500;600;700&display=swap");

/* ================= Compass ================= */
html[data-cw-tool="compass"],
html[data-cw-tool="compass"][data-theme="dark"]{
  --paper:#FFFFFF; --surface:#F6F6F3; --ink:#111111; --muted:#5B6170; --line:#E8E8E4;
  --flag:#D9612A; --flag-ink:#A8461A; --flag-soft:#FBEDE5; --on-flag:#FFFFFF;
  --course:#D9612A; --contour:#E6DCD2; --on-ink:#FFFFFF; --danger:#C2261B; --shade:rgba(17,17,17,.45);
  --display:"Heebo",system-ui,sans-serif; --body:"Heebo",system-ui,sans-serif; --mono:"Heebo",system-ui,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){html[data-cw-tool="compass"]:root:not([data-theme="light"]){
  --paper:#FFFFFF; --surface:#F6F6F3; --ink:#111111; --muted:#5B6170; --line:#E8E8E4;
  --flag:#D9612A; --flag-ink:#A8461A; --flag-soft:#FBEDE5; --on-flag:#FFFFFF;
  --course:#D9612A; --contour:#E6DCD2; --on-ink:#FFFFFF; --danger:#C2261B; --shade:rgba(17,17,17,.45); color-scheme:light}}
html[data-cw-tool="compass"] body{background:#FFFFFF}
html[data-cw-tool="compass"] h1,
html[data-cw-tool="compass"] h2,
html[data-cw-tool="compass"] h3,
html[data-cw-tool="compass"] .card h3,
html[data-cw-tool="compass"] .stagebtn b,
html[data-cw-tool="compass"] .stamp b,
html[data-cw-tool="compass"] .course b,
html[data-cw-tool="compass"] .dir-h b,
html[data-cw-tool="compass"] .fam b,
html[data-cw-tool="compass"] .pdfbox b{font-weight:800;letter-spacing:-.01em}
html[data-cw-tool="compass"] #welcome h1{font-size:clamp(40px,11vw,60px);line-height:1.05}
html[data-cw-tool="compass"] #onboard h2,
html[data-cw-tool="compass"] .phead h2{font-size:32px;line-height:1.1}
html[data-cw-tool="compass"] .stagebtn b{font-size:22px;line-height:1.1}
html[data-cw-tool="compass"] .card h3,
html[data-cw-tool="compass"] .panel h3,
html[data-cw-tool="compass"] .legend h2{font-size:22px;line-height:1.2}
html[data-cw-tool="compass"] .stamp b{font-size:19px}
html[data-cw-tool="compass"] .course b,
html[data-cw-tool="compass"] .dir-h b,
html[data-cw-tool="compass"] .fam b,
html[data-cw-tool="compass"] .pdfbox b{font-size:20px;line-height:1.2}
html[data-cw-tool="compass"] .r-hero h2{font-size:34px;line-height:1.05}
html[data-cw-tool="compass"] .sentence p{font-size:28px;line-height:1.15}
html[data-cw-tool="compass"] .quotes blockquote{font-size:20px;line-height:1.35}
html[data-cw-tool="compass"] .gift .t{font-size:46px}
html[data-cw-tool="compass"] #topo{opacity:.25}
html[data-cw-tool="compass"] .w-top,
html[data-cw-tool="compass"] .stagebtn small,
html[data-cw-tool="compass"] .ob-step{letter-spacing:0}

/* buttons */
html[data-cw-tool="compass"] .btn{border:0;border-radius:14px;background:#111111;color:#FFFFFF;box-shadow:none;min-height:50px;padding:12px 24px}
html[data-cw-tool="compass"] .btn:active{transform:scale(.98);box-shadow:none}
html[data-cw-tool="compass"] .btn-line{border:1px solid var(--line);border-radius:12px;background:#FFFFFF}
html[data-cw-tool="compass"] .btn-line:hover{background:var(--surface)}
html[data-cw-tool="compass"] .reportbtn{border:0;border-radius:12px;background:var(--flag-soft);color:var(--flag-ink)}
html[data-cw-tool="compass"] .iconbtn,
html[data-cw-tool="compass"] .xbtn{border:1px solid var(--line);border-radius:12px;background:#FFFFFF}
html[data-cw-tool="compass"] .langsel{border:1px solid var(--line);border-radius:999px;background-color:#FFFFFF;min-height:38px}

/* onboarding options */
html[data-cw-tool="compass"] .opt{border:1px solid var(--line);border-radius:18px;background:var(--surface)}
html[data-cw-tool="compass"] .opt:hover{border-color:#CFCFC8;box-shadow:0 8px 24px rgba(17,17,17,.07)}
html[data-cw-tool="compass"] .legend{border-top:1.5px solid #111111}

/* header + chat */
html[data-cw-tool="compass"] .bar{border-bottom:1px solid var(--line);background:#FFFFFF}
html[data-cw-tool="compass"] .msg.bot{background:var(--surface);border:0;border-radius:20px;border-start-start-radius:6px;padding:14px 16px 8px}
html[data-cw-tool="compass"] .msg.user{background:#111111;color:#FFFFFF;border-radius:20px;border-start-end-radius:6px;padding:12px 16px}
html[data-cw-tool="compass"] .pin{border:0;background:var(--flag-soft);border-radius:12px}
html[data-cw-tool="compass"] .flag{border:0;border-radius:50%;background:var(--flag)}
html[data-cw-tool="compass"] .card{border:1px solid var(--line);border-radius:22px;box-shadow:0 10px 30px rgba(17,17,17,.07);background:#FFFFFF}
html[data-cw-tool="compass"] .toast{border-radius:14px;box-shadow:0 10px 30px rgba(17,17,17,.2)}
html[data-cw-tool="compass"] .dots i{border-radius:50%}

/* composer */
html[data-cw-tool="compass"] .composer{border-top:1px solid var(--line);background:#FFFFFF;padding:10px 12px 12px}
html[data-cw-tool="compass"] #input{border:1px solid var(--line);border-radius:24px;background:var(--surface);padding:12px 16px;min-height:48px}
html[data-cw-tool="compass"] .sq{width:48px;height:48px;border-radius:50%}
html[data-cw-tool="compass"] .send{background:#111111;border:0}
html[data-cw-tool="compass"] .send svg{fill:#FFFFFF}
html[data-cw-tool="compass"] .mic{border:1px solid var(--line);background:#FFFFFF}
html[data-cw-tool="compass"] .chip{border:1px solid var(--line);border-radius:999px;background:#FFFFFF;padding:6px 14px}

/* sheets, menu, map */
html[data-cw-tool="compass"] .panel{border-top:0;border-radius:28px 28px 0 0;background:#FFFFFF}
html[data-cw-tool="compass"] .mitem .ic{border:0;border-radius:12px;background:var(--surface)}
html[data-cw-tool="compass"] .mitem:hover{background:var(--surface)}
html[data-cw-tool="compass"] .switch{border:0;border-radius:999px;background:#E2E2DD}
html[data-cw-tool="compass"] .switch::after{border-radius:50%;background:#FFFFFF}
html[data-cw-tool="compass"] .switch.on{background:#111111}
html[data-cw-tool="compass"] .switch.on::after{background:#FFFFFF}
html[data-cw-tool="compass"] .sizes button{border:1px solid var(--line);border-radius:10px}
html[data-cw-tool="compass"] .sizes button[aria-pressed="true"]{border-color:#111111;background:#FFFFFF}
html[data-cw-tool="compass"] .course .now .cp{border-color:var(--flag)}

/* report */
html[data-cw-tool="compass"] .reco{border:0;border-radius:20px;box-shadow:none;background:var(--flag-soft)}
html[data-cw-tool="compass"] .sentence{border-radius:22px;box-shadow:none;background:#111111}
html[data-cw-tool="compass"] .sentence small{color:#FFB547}
html[data-cw-tool="compass"] .seg{border:1px solid var(--line);border-radius:999px}
html[data-cw-tool="compass"] .seg button+button{border-inline-start:1px solid var(--line)}
html[data-cw-tool="compass"] .seg button[aria-pressed="true"]{background:#111111;color:#FFFFFF}
html[data-cw-tool="compass"] .dir,
html[data-cw-tool="compass"] .mst,
html[data-cw-tool="compass"] .quote{border:0;border-radius:18px;background:var(--surface)}
html[data-cw-tool="compass"] .fit{border:0;border-radius:999px;background:var(--flag-soft);color:var(--flag-ink);padding:3px 10px}
html[data-cw-tool="compass"] .trait,
html[data-cw-tool="compass"] .core div{border-top:1.5px solid #111111}
html[data-cw-tool="compass"] .vals span{border:0;border-radius:999px;background:var(--surface);padding:4px 12px}
html[data-cw-tool="compass"] .rate button{border:1px solid var(--line);border-radius:12px;background:#FFFFFF}
html[data-cw-tool="compass"] .rate button[data-v="bingo"][aria-pressed="true"]{background:var(--flag);border-color:var(--flag);color:#FFFFFF}
html[data-cw-tool="compass"] .rate button[data-v="partial"][aria-pressed="true"]{background:var(--flag-soft);border-color:var(--flag)}
html[data-cw-tool="compass"] .rate button[data-v="no"][aria-pressed="true"]{background:#111111;border-color:#111111}
html[data-cw-tool="compass"] .mnote,
html[data-cw-tool="compass"] #accText,
html[data-cw-tool="compass"] .copybox,
html[data-cw-tool="compass"] .fld input,
html[data-cw-tool="compass"] .fld textarea{border:1px solid var(--line);border-radius:14px;background:#FFFFFF}
html[data-cw-tool="compass"] .mfoot,
html[data-cw-tool="compass"] .family,
html[data-cw-tool="compass"] .share{border-top:1.5px solid #111111}
html[data-cw-tool="compass"] .acc,
html[data-cw-tool="compass"] .pdfbox{border:1px solid var(--line);border-radius:22px;background:var(--surface)}
html[data-cw-tool="compass"] .score button{border:1px solid var(--line);border-radius:12px;background:#FFFFFF}
html[data-cw-tool="compass"] .score button[aria-pressed="true"]{background:#111111;color:#FFFFFF;border-color:#111111}
html[data-cw-tool="compass"] .fam{border:1px solid var(--line);border-radius:20px;box-shadow:none;background:var(--surface)}
html[data-cw-tool="compass"] .fam:hover{box-shadow:0 10px 26px rgba(17,17,17,.08)}
html[data-cw-tool="compass"] .notfor div{border:1px dashed #D6D6D0;border-radius:14px}
html[data-cw-tool="compass"] .pills button{border:1px solid var(--line);border-radius:999px}
html[data-cw-tool="compass"] .pills button[aria-pressed="true"]{background:#111111;border-color:#111111}
html[data-cw-tool="compass"] .pay{border-radius:14px}
html[data-cw-tool="compass"] .gift{border-radius:22px;box-shadow:none;border:0}
html[data-cw-tool="compass"] .gift .in{border-radius:16px}

/* ================= Heart to Heart: warm blush, rose, soft serif headings ================= */
html[data-cw-tool="heart"],
html[data-cw-tool="heart"][data-theme="dark"]{
  --bg:#FFF6F7; --surface:#FFFFFF; --surface-2:#FCEFF2; --fg:#2A1A20; --muted:#6E5A61; --line:#F0DDE2;
  --accent:#C2456B; --accent-ink:#FFFFFF; --accent-soft:#FBE3EA;
  --rose:#8E2447; --rose-soft:#FBE3EA; --gold:#8A5A0B; --gold-soft:#FBF0DC;
  --shadow:0 1px 2px rgba(142,36,71,.05),0 8px 24px rgba(142,36,71,.08);
  --font-d:"Bellefair","Frank Ruhl Libre","Noto Serif","Noto Naskh Arabic",Georgia,serif;
  --font-b:"Heebo","Noto Sans Arabic",system-ui,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){html[data-cw-tool="heart"]:root:not([data-theme="light"]){
  --bg:#FFF6F7; --surface:#FFFFFF; --surface-2:#FCEFF2; --fg:#2A1A20; --muted:#6E5A61; --line:#F0DDE2;
  --accent:#C2456B; --accent-ink:#FFFFFF; --accent-soft:#FBE3EA;
  --rose:#8E2447; --rose-soft:#FBE3EA; --gold:#8A5A0B; --gold-soft:#FBF0DC;
  --shadow:0 1px 2px rgba(142,36,71,.05),0 8px 24px rgba(142,36,71,.08); color-scheme:light}}
html[data-cw-tool="heart"] body{background:var(--bg)}
html[data-cw-tool="heart"] .journey{border:0;border-radius:24px}
html[data-cw-tool="heart"] .dot.cur{background:#8E2447;border-color:#8E2447}
html[data-cw-tool="heart"] .bot .msg{border-radius:22px;border-end-start-radius:6px}
html[data-cw-tool="heart"] .me .msg{border-radius:22px;border-end-end-radius:6px}
html[data-cw-tool="heart"] .av{border:0;background:var(--accent-soft)}
html[data-cw-tool="heart"] .card{border-radius:24px}
html[data-cw-tool="heart"] .primary{border-radius:16px;min-height:48px}
html[data-cw-tool="heart"] .pick{border-radius:20px;border:1.5px solid var(--line)}
html[data-cw-tool="heart"] .note{border-inline-start:0;background:var(--surface-2);border-radius:16px}
html[data-cw-tool="heart"] footer textarea{border-radius:24px;border-color:var(--line);padding:12px 16px}
html[data-cw-tool="heart"] footer .primary{border-radius:24px}
html[data-cw-tool="heart"] .intro h1{font-size:clamp(2.2rem,8.4vw,3rem);line-height:1.12;font-weight:400}
/* Bellefair has one elegant weight: keep headings at 400 and a touch larger */
html[data-cw-tool="heart"] .brand{font-weight:400;font-size:1.6rem}
html[data-cw-tool="heart"] .now-t{font-weight:400;font-size:1.3rem}
html[data-cw-tool="heart"] .card h3{font-weight:400;font-size:1.55rem}
html[data-cw-tool="heart"] .msg h2{font-weight:400;font-size:1.55rem}
html[data-cw-tool="heart"] .msg h3{font-weight:400;font-size:1.35rem}
html[data-cw-tool="heart"] .msg h4{font-weight:400;font-size:1.2rem}
html[data-cw-tool="heart"] .tool b,html[data-cw-tool="heart"] .price{font-weight:400}
/* a couple walking hand in hand on a path, softly behind the opening */
html[data-cw-tool="heart"] .intro{position:relative}
html[data-cw-tool="heart"] .intro::before{content:"";position:absolute;top:-8px;left:-16px;right:-16px;height:250px;background:url("/cw/heart-walk.svg") center top/auto 100% no-repeat;pointer-events:none;z-index:0;
  -webkit-mask-image:linear-gradient(#000 85%,transparent);mask-image:linear-gradient(#000 85%,transparent)}
html[data-cw-tool="heart"] .intro>*{position:relative;z-index:1}
html[data-cw-tool="heart"] .intro .hero{padding-top:178px}

/* ================= From Thought to Action: architect's drafting table → construction.
   Black drafting band with a fine grid, graph-paper page, deep green ink, a chartreuse "marker" for the current stage. ================= */
html[data-cw-tool="idea"],
html[data-cw-tool="idea"][data-theme="dark"]{
  --bg:#F3F4F0; --surface:#FFFFFF; --soft:#E6EEE8; --ink:#121614; --muted:#4D5650; --line:#CDD3CC;
  --blue:#0E7A5A; --blue-ink:#FFFFFF; --band:#121614; --band-ink:#F3F4F0; --band-dim:rgba(243,244,240,.28);
  --spark:#C8F04B; --spark-ink:#121614;
  --hi:#0E7A5A; --mid:#C98A00; --lo:#C2412D; --danger:#B3261E; --wa:#128C4A;
  --display:"Heebo",system-ui,sans-serif; --body:"Heebo",system-ui,sans-serif; --tech:"IBM Plex Mono","Heebo",ui-monospace,monospace;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){html[data-cw-tool="idea"]:root:not([data-theme="light"]){
  --bg:#F3F4F0; --surface:#FFFFFF; --soft:#E6EEE8; --ink:#121614; --muted:#4D5650; --line:#CDD3CC;
  --blue:#0E7A5A; --blue-ink:#FFFFFF; --band:#121614; --band-ink:#F3F4F0; --band-dim:rgba(243,244,240,.28);
  --spark:#C8F04B; --spark-ink:#121614;
  --hi:#0E7A5A; --mid:#C98A00; --lo:#C2412D; --danger:#B3261E; --wa:#128C4A; color-scheme:light}}
html[data-cw-tool="idea"] body{background:var(--bg)}
/* the drafting band: black with a faint drawing grid */
html[data-cw-tool="idea"] .band{background-color:#121614;
  background-image:linear-gradient(rgba(200,240,75,.07) 1px,transparent 1px),linear-gradient(90deg,rgba(200,240,75,.07) 1px,transparent 1px);
  background-size:16px 16px}
html[data-cw-tool="idea"] h1,
html[data-cw-tool="idea"] .stage .h,
html[data-cw-tool="idea"] .intro h2,
html[data-cw-tool="idea"] .family h2,
html[data-cw-tool="idea"] .share h2,
html[data-cw-tool="idea"] .fam b,
html[data-cw-tool="idea"] .scores h3,
html[data-cw-tool="idea"] .msg h2,
html[data-cw-tool="idea"] .msg h3,
html[data-cw-tool="idea"] .out h2,
html[data-cw-tool="idea"] .out h3{font-weight:800;letter-spacing:-.01em}
html[data-cw-tool="idea"] .tag,
html[data-cw-tool="idea"] .nm,
html[data-cw-tool="idea"] .stage .n,
html[data-cw-tool="idea"] .badge,
html[data-cw-tool="idea"] .bv{font-family:var(--tech);letter-spacing:.02em}
/* stage nodes: drawn circles; done = green ink, current = marker */
html[data-cw-tool="idea"] .node{border-width:1.5px;background:#121614}
html[data-cw-tool="idea"] .track li.done .node{background:#0E7A5A;border-color:#0E7A5A;color:#FFFFFF}
html[data-cw-tool="idea"] .track li.current .node{box-shadow:0 0 0 6px rgba(200,240,75,.22)}
html[data-cw-tool="idea"] .track ol::before{height:0;border-top:1.5px dashed rgba(243,244,240,.35);background:none}
html[data-cw-tool="idea"] .badge{border-radius:4px;border-color:#121614}
/* graph-paper page */
html[data-cw-tool="idea"] .scroll{background-image:
  linear-gradient(#E1E5DE 1px,transparent 1px),linear-gradient(90deg,#E1E5DE 1px,transparent 1px),
  linear-gradient(#ECEFE9 1px,transparent 1px),linear-gradient(90deg,#ECEFE9 1px,transparent 1px);
  background-size:120px 120px,120px 120px,24px 24px,24px 24px}
html[data-cw-tool="idea"] .tabs-wrap{border-bottom:1.5px solid #121614}
html[data-cw-tool="idea"] nav button[aria-selected="true"]{background:#121614;color:#FFFFFF;border-radius:6px}
html[data-cw-tool="idea"] nav button{border-radius:6px}
html[data-cw-tool="idea"] .stage{background:#FFFFFF;border:1px solid var(--line);border-radius:6px}
html[data-cw-tool="idea"] .stage .ic{border-radius:4px}
html[data-cw-tool="idea"] .stage .n{color:#0E7A5A}
html[data-cw-tool="idea"] .vtoggle{border-radius:6px;border-width:1px}
html[data-cw-tool="idea"] .vtoggle[aria-pressed="true"]{background:#121614;border-color:#121614}
/* messages as drawing sheets */
html[data-cw-tool="idea"] .msg{border-radius:6px}
html[data-cw-tool="idea"] .msg.bot{border:1px solid var(--line);border-top-right-radius:2px;box-shadow:0 1px 0 rgba(18,22,20,.04)}
html[data-cw-tool="idea"] .msg.user{background:#121614;color:#F3F4F0;border-top-left-radius:2px}
html[data-cw-tool="idea"] .msg li::marker,html[data-cw-tool="idea"] .out li::marker{color:#0E7A5A}
html[data-cw-tool="idea"] .chip{border:1px solid #121614;color:#121614;border-radius:6px;background:#FFFFFF}
html[data-cw-tool="idea"] .chip:hover{background:#121614;color:#FFFFFF}
html[data-cw-tool="idea"] .say{color:#0E7A5A}
/* composer */
html[data-cw-tool="idea"] .composer textarea{border-radius:8px;border:1px solid var(--line);background:#FFFFFF}
html[data-cw-tool="idea"] .composer textarea:focus{border-color:#121614}
html[data-cw-tool="idea"] .mic,html[data-cw-tool="idea"] .send{border-radius:8px}
html[data-cw-tool="idea"] .send{background:#121614;color:#FFFFFF}
html[data-cw-tool="idea"] .mic{background:#C8F04B;color:#121614}
/* panels & results */
html[data-cw-tool="idea"] .out,
html[data-cw-tool="idea"] .scores,
html[data-cw-tool="idea"] .big,
html[data-cw-tool="idea"] pre.prompt,
html[data-cw-tool="idea"] ol.steps li{border-radius:6px}
html[data-cw-tool="idea"] ol.steps li::before{border-radius:4px}
html[data-cw-tool="idea"] .bt,html[data-cw-tool="idea"] .bf{border-radius:2px}
html[data-cw-tool="idea"] .family{border:1.5px solid #121614;border-radius:8px}
html[data-cw-tool="idea"] .fam{border-radius:6px}
html[data-cw-tool="idea"] .fam b,html[data-cw-tool="idea"] .fam em{color:#0E7A5A}
html[data-cw-tool="idea"] .share{border-radius:8px;background-color:#121614}
html[data-cw-tool="idea"] .primary{background:#121614;border-radius:6px}
html[data-cw-tool="idea"] .secondary,html[data-cw-tool="idea"] .wa{border-radius:6px}
html[data-cw-tool="idea"] .secondary:hover{border-color:#121614;color:#121614}
html[data-cw-tool="idea"] .reset.armed{background:#C8F04B;color:#121614;border-color:#C8F04B}

/* ================= Right For Me (מי בשבילי): two gold wedding bands with a diamond, a sign of shared life common to most cultures and faiths.
   Peach-blush paper, olive ink, a warm peach second line. Rounded, friendly sans for headings. ================= */
html[data-cw-tool="match"],
html[data-cw-tool="match"][data-theme="dark"]{
  --bg:#FBF3EE; --surface:#FFFFFF; --surface-2:#F6E8E0; --fg:#262A1C; --muted:#66685A; --line:#EEDFD6;
  --accent:#59642B; --accent-ink:#FFFFFF; --accent-soft:#E8EBD9;
  --rose:#D9775E; --rose-ink:#B4553C; --rose-soft:#FBE3D9; --gold:#8A5A0B; --gold-soft:#FBF0DC;
  --shadow:0 1px 2px rgba(38,42,28,.05),0 10px 26px rgba(38,42,28,.07);
  --font-d:"Rubik","Noto Sans Arabic",system-ui,sans-serif;
  --font-b:"Heebo","Noto Sans Arabic",system-ui,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){html[data-cw-tool="match"]:root:not([data-theme="light"]){
  --bg:#FBF3EE; --surface:#FFFFFF; --surface-2:#F6E8E0; --fg:#262A1C; --muted:#66685A; --line:#EEDFD6;
  --accent:#59642B; --accent-ink:#FFFFFF; --accent-soft:#E8EBD9;
  --rose:#D9775E; --rose-ink:#B4553C; --rose-soft:#FBE3D9; --gold:#8A5A0B; --gold-soft:#FBF0DC;
  --shadow:0 1px 2px rgba(38,42,28,.05),0 10px 26px rgba(38,42,28,.07); color-scheme:light}}
html[data-cw-tool="match"] body{background:var(--bg)}
html[data-cw-tool="match"] .brand{font-weight:700;font-size:1.5rem}
html[data-cw-tool="match"] .journey{border:0;border-radius:22px}
html[data-cw-tool="match"] .dot.done{background:var(--accent);border-color:var(--accent)}
html[data-cw-tool="match"] .dot.cur{background:var(--rose);border-color:var(--rose);color:#fff}
html[data-cw-tool="match"] .seg.done{background:var(--accent)}
html[data-cw-tool="match"] .now-k,html[data-cw-tool="match"] .route li.cur b{color:var(--rose-ink)}
html[data-cw-tool="match"] .now-t,html[data-cw-tool="match"] .card h3,html[data-cw-tool="match"] .msg h2,html[data-cw-tool="match"] .msg h3{font-weight:600}
html[data-cw-tool="match"] .av{border:0;background:var(--rose-soft)}
html[data-cw-tool="match"] .bot .msg{border-radius:22px;border-end-start-radius:6px}
html[data-cw-tool="match"] .me .msg{border-radius:22px;border-end-end-radius:6px}
html[data-cw-tool="match"] .msg h3{color:var(--accent)}
html[data-cw-tool="match"] .final .msg{border:0;box-shadow:var(--shadow),inset 0 3px 0 var(--rose)}
html[data-cw-tool="match"] .divider b{color:var(--rose-ink)}
html[data-cw-tool="match"] .card{border-radius:22px}
html[data-cw-tool="match"] .primary{border-radius:999px;min-height:50px;padding-inline:24px}
html[data-cw-tool="match"] .pick{border-radius:18px}
html[data-cw-tool="match"] .pick[aria-pressed="true"]{border-color:var(--accent);background:var(--accent-soft);color:var(--accent)}
html[data-cw-tool="match"] .note{border-inline-start:0;background:transparent;padding:0;font-size:.82rem}
html[data-cw-tool="match"] footer textarea{border-radius:24px;padding:12px 16px}
html[data-cw-tool="match"] footer .primary{border-radius:24px}
html[data-cw-tool="match"] .facts span{background:var(--surface);border-color:transparent}
html[data-cw-tool="match"] .intro{position:relative}
html[data-cw-tool="match"] .intro::before{content:"";position:absolute;top:0;left:-16px;right:-16px;height:220px;background:url("/cw/right-rings.svg") center top/auto 100% no-repeat;pointer-events:none;z-index:0}
html[data-cw-tool="match"] .intro>*{position:relative;z-index:1}
html[data-cw-tool="match"] .intro .hero{padding-top:214px}
html[data-cw-tool="match"] .intro h1{font-weight:700;font-size:clamp(2.2rem,9vw,3.2rem);line-height:1.08;letter-spacing:-.015em;max-width:16ch}

/* ================= One Step Up (מדרגה אחת): a staircase to the goal, one task at a time.
   Pale stone, deep petrol ink, marigold for the current step. Heavy sans headings; a petrol task board pinned on top. ================= */
html[data-cw-tool="next"],
html[data-cw-tool="next"][data-theme="dark"]{
  --bg:#F2F4F2; --surface:#FFFFFF; --surface-2:#EAEEEC; --fg:#0F2229; --muted:#4F6168; --line:#DAE1DE;
  --accent:#12404F; --accent-ink:#FFFFFF; --accent-soft:#DFEAEC;
  --rose:#12404F; --rose-soft:#DFEAEC; --gold:#8A5A0B; --gold-soft:#FFF4D6;
  --hi:#F2B21B; --hi-soft:#FFF5D6; --hi-ink:#6E5000;
  --shadow:0 1px 2px rgba(18,64,79,.05),0 8px 22px rgba(18,64,79,.07);
  --font-d:"Heebo","Noto Sans Arabic",system-ui,sans-serif;
  --font-b:"Heebo","Noto Sans Arabic",system-ui,sans-serif;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){html[data-cw-tool="next"]:root:not([data-theme="light"]){
  --bg:#F2F4F2; --surface:#FFFFFF; --surface-2:#EAEEEC; --fg:#0F2229; --muted:#4F6168; --line:#DAE1DE;
  --accent:#12404F; --accent-ink:#FFFFFF; --accent-soft:#DFEAEC;
  --rose:#12404F; --rose-soft:#DFEAEC; --gold:#8A5A0B; --gold-soft:#FFF4D6;
  --hi:#F2B21B; --hi-soft:#FFF5D6; --hi-ink:#6E5000;
  --shadow:0 1px 2px rgba(18,64,79,.05),0 8px 22px rgba(18,64,79,.07); color-scheme:light}}
html[data-cw-tool="next"] body{background:var(--bg)}
html[data-cw-tool="next"] .brand,html[data-cw-tool="next"] .now-t,
html[data-cw-tool="next"] .card h3,html[data-cw-tool="next"] .msg h2,html[data-cw-tool="next"] .msg h3{font-weight:800;letter-spacing:-.01em}
html[data-cw-tool="next"] .intro h1{font-weight:800;font-size:clamp(2.1rem,8.6vw,3.1rem);line-height:1.06;letter-spacing:-.02em;max-width:14ch}
html[data-cw-tool="next"] .journey{border-radius:14px}
html[data-cw-tool="next"] .dot{border-radius:6px}
html[data-cw-tool="next"] .dot.cur{background:var(--hi);border-color:var(--hi);color:#1A1400}
html[data-cw-tool="next"] .now-k{color:var(--accent)}
html[data-cw-tool="next"] .route li.cur b{color:var(--accent)}
html[data-cw-tool="next"] .av{border-radius:9px;border:0;background:var(--accent-soft)}
html[data-cw-tool="next"] .bot .msg{border-radius:14px;border-end-start-radius:4px}
html[data-cw-tool="next"] .me .msg{border-radius:14px;border-end-end-radius:4px}
html[data-cw-tool="next"] .card{border-radius:14px}
html[data-cw-tool="next"] .primary{border-radius:12px;min-height:50px}
html[data-cw-tool="next"] .pick{border-radius:14px}
html[data-cw-tool="next"] .note{border-inline-start:0;background:transparent;padding:0;font-size:.82rem}
html[data-cw-tool="next"] .msg ul{list-style:none;padding-inline-start:1.5em}
html[data-cw-tool="next"] .msg ul li{position:relative}
html[data-cw-tool="next"] .msg ul li::before{content:"";position:absolute;inset-inline-start:-1.35em;top:.42em;width:.78em;height:.78em;border:1.6px solid var(--accent);border-radius:3px;opacity:.7}
html[data-cw-tool="next"] .final .msg{border:0;box-shadow:var(--shadow),inset 0 3px 0 var(--hi)}
html[data-cw-tool="next"] .divider b{color:var(--accent)}
/* opening */
html[data-cw-tool="next"] .intro{position:relative}
html[data-cw-tool="next"] .intro::before{content:"";position:absolute;top:0;left:-16px;right:-16px;height:200px;background:url("/cw/one-step.svg") center top/auto 100% no-repeat;pointer-events:none;z-index:0}
html[data-cw-tool="next"][dir="rtl"] .intro::before{background-image:url("/cw/one-step-rtl.svg")}
html[data-cw-tool="next"] .intro>*{position:relative;z-index:1}
html[data-cw-tool="next"] .intro .hero{padding-top:196px}
html[data-cw-tool="next"] .facts span{background:transparent}
html[data-cw-tool="next"] .exs{display:flex;flex-direction:column;gap:8px}
html[data-cw-tool="next"] .exL{font-size:.86rem;color:var(--muted)}
html[data-cw-tool="next"] .exRow{display:flex;flex-wrap:wrap;gap:8px}
html[data-cw-tool="next"] .exb{background:var(--surface);border:1px solid var(--line);border-radius:10px;padding:7px 12px;font-size:.92rem;color:var(--fg)}
html[data-cw-tool="next"] .exb[aria-pressed="true"]{background:var(--accent);border-color:var(--accent);color:#fff}

/* ================= Money Clarity (בהירות כלכלית): from fog to a clear picture, from minus to plus.
   Clean paper, deep emerald ink, a fresh green for the plus and a soft red for the minus. Numbers in a calm mono. ================= */
html[data-cw-tool="money"],
html[data-cw-tool="money"][data-theme="dark"]{
  --bg:#F4F7F5; --surface:#FFFFFF; --surface-2:#ECF2EF; --fg:#0F2A22; --muted:#4E625B; --line:#D7E2DD;
  --accent:#0B5D4B; --accent-ink:#FFFFFF; --accent-soft:#DDEFE8;
  --rose:#0B5D4B; --rose-soft:#DDEFE8; --gold:#8A5A0B; --gold-soft:#FFF4D6;
  --hi:#1F9D61; --hi-soft:#E3F6EC; --hi-ink:#0B4D2E;
  --plus:#1F9D61; --plus-soft:#E3F6EC; --minus:#C2453D; --minus-soft:#FBE9E7;
  --shadow:0 1px 2px rgba(11,93,75,.05),0 8px 22px rgba(11,93,75,.07);
  --font-d:"Heebo","Noto Sans Arabic",system-ui,sans-serif;
  --font-b:"Heebo","Noto Sans Arabic",system-ui,sans-serif;
  --font-n:"IBM Plex Mono",ui-monospace,monospace;
  color-scheme:light;
}
@media (prefers-color-scheme:dark){html[data-cw-tool="money"]:root:not([data-theme="light"]){
  --bg:#F4F7F5; --surface:#FFFFFF; --surface-2:#ECF2EF; --fg:#0F2A22; --muted:#4E625B; --line:#D7E2DD;
  --accent:#0B5D4B; --accent-ink:#FFFFFF; --accent-soft:#DDEFE8;
  --rose:#0B5D4B; --rose-soft:#DDEFE8; --gold:#8A5A0B; --gold-soft:#FFF4D6;
  --hi:#1F9D61; --hi-soft:#E3F6EC; --hi-ink:#0B4D2E;
  --plus:#1F9D61; --plus-soft:#E3F6EC; --minus:#C2453D; --minus-soft:#FBE9E7;
  --shadow:0 1px 2px rgba(11,93,75,.05),0 8px 22px rgba(11,93,75,.07); color-scheme:light}}
html[data-cw-tool="money"] body{background:var(--bg)}
html[data-cw-tool="money"] .brand,html[data-cw-tool="money"] .now-t,
html[data-cw-tool="money"] .card h3,html[data-cw-tool="money"] .msg h2,html[data-cw-tool="money"] .msg h3{font-weight:800;letter-spacing:-.01em}
html[data-cw-tool="money"] .intro h1{font-weight:800;font-size:clamp(2rem,8.2vw,3rem);line-height:1.08;letter-spacing:-.02em;max-width:16ch}
html[data-cw-tool="money"] .journey{border-radius:16px}
html[data-cw-tool="money"] .dot.cur{background:var(--plus);border-color:var(--plus);color:#fff}
html[data-cw-tool="money"] .now-k,html[data-cw-tool="money"] .route li.cur b,html[data-cw-tool="money"] .divider b{color:var(--accent)}
html[data-cw-tool="money"] .av{border-radius:50%;border:0;background:var(--accent-soft)}
html[data-cw-tool="money"] .bot .msg{border-radius:16px;border-end-start-radius:5px}
html[data-cw-tool="money"] .me .msg{border-radius:16px;border-end-end-radius:5px}
html[data-cw-tool="money"] .card{border-radius:16px}
html[data-cw-tool="money"] .primary{border-radius:12px;min-height:50px}
html[data-cw-tool="money"] .pick{border-radius:14px}
html[data-cw-tool="money"] .note{border-inline-start:0;background:transparent;padding:0;font-size:.82rem}
html[data-cw-tool="money"] .build{background:var(--accent)}
html[data-cw-tool="money"] .build .go{background:var(--plus);color:#fff}
html[data-cw-tool="money"] .intro{position:relative}
html[data-cw-tool="money"] .intro::before{content:"";position:absolute;top:0;left:-16px;right:-16px;height:200px;background:url("/cw/money-clear.svg") center top/auto 100% no-repeat;pointer-events:none;z-index:0}
html[data-cw-tool="money"] .intro>*{position:relative;z-index:1}
html[data-cw-tool="money"] .intro .hero{padding-top:196px}
html[data-cw-tool="money"] .facts span{background:transparent}
