/* אולללה – shared design tokens + components (warm direction, GPT spec 06.12) */
@import url('https://fonts.googleapis.com/css2?family=Bellefair&family=Noto+Serif+Hebrew:wght@200;300;400;500;600&family=Frank+Ruhl+Libre:wght@300;400;500;700&family=Assistant:wght@400;500;600;700&display=swap');
@font-face{font-family:"Gveret Levin";font-display:swap;src:url(fonts/gveret-levin-hebrew-400.woff2) format("woff2");unicode-range:U+0590-05FF,U+200C-2010,U+20AA,U+25CC,U+FB1D-FB4F}
@font-face{font-family:"Gveret Levin";font-display:swap;src:url(fonts/gveret-levin-latin-400.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F}
:root{
  --script:"Noto Serif Hebrew",var(--display); --script-w:200; /* Gal 06.12: Noto Serif thin; Gveret Levin kept as fallback option */
  /* classic ivory + antique gold + deep ink (Gal 06.12: "קלאסי יפהפה") */
  --plum:#3E3A5B; --plum-hover:#312D4A; --plum-press:#26233A; --plum-soft:#F1EEF4; --plum-soft2:#E6E1EC;
  --gold:#A8843F; --gold-soft:#EFE4CC;
  --cream:#F6F1E7; --card:#FFFDF8; --line:#E6DCC8; --field:#B9AC94;
  --text:#2B2622; --muted:#6E6457; --danger:#9E2B2B; --danger-hover:#842323;
  --ok-fg:#2F5D46; --ok-bg:#E3EFE6; --part-fg:#7A5A12; --part-bg:#F6EBCF; --no-fg:#8A2E35; --no-bg:#F6E3E1; --wait-fg:#5E5650; --wait-bg:#EEE9E1;
  --serif:'Frank Ruhl Libre',serif; --display:'Bellefair','Frank Ruhl Libre',serif; --sans:'Assistant',Arial,sans-serif;
}
*{box-sizing:border-box}
body.k{margin:0;background:var(--cream) url("data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 width=%27240%27 height=%27240%27%3E%3Cfilter id=%27n%27%3E%3CfeTurbulence type=%27fractalNoise%27 baseFrequency=%27.85%27 numOctaves=%273%27 stitchTiles=%27stitch%27/%3E%3CfeColorMatrix values=%270 0 0 0 .42 0 0 0 0 .33 0 0 0 0 .19 0 0 0 .07 0%27/%3E%3C/filter%3E%3Crect width=%27100%25%27 height=%27100%25%27 filter=%27url(%23n)%27/%3E%3C/svg%3E") repeat;color:var(--text);font:16px/24px var(--sans)}
.k h1,.k h2,.k h3{font-family:var(--display);font-weight:400;margin:0 0 8px;letter-spacing:.2px}
.k-wrap{max-width:520px;margin:0 auto;padding:20px 16px 40px}
.k-card{background:var(--card);border:1px solid var(--line);border-radius:14px;box-shadow:0 1px 0 #fff inset,0 8px 24px #6b55300d;padding:16px;margin:0 0 16px}
.k-muted{color:var(--muted);font-size:14px;line-height:20px}
.k-label{display:block;font-weight:500;margin:14px 0 6px}
.k-input{width:100%;min-height:48px;padding:10px 12px;border:1px solid var(--field);border-radius:10px;background:#fff;font:inherit;color:inherit}
.k-input:focus{outline:2px solid var(--plum);outline-offset:2px;border-color:var(--plum)}
textarea.k-input{min-height:96px;resize:vertical}
.k-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:0 16px;border-radius:12px;border:1px solid var(--plum);background:var(--plum);color:#fff;font:600 16px/22px var(--sans);cursor:pointer;text-decoration:none}
.k-btn:hover{background:var(--plum-hover)} .k-btn:active{background:var(--plum-press)}
.k-btn:focus-visible{outline:2px solid var(--plum);outline-offset:2px}
.k-btn:disabled{background:#EEE7DA;border-color:#E6DCC8;color:var(--muted);cursor:not-allowed}
.k-btn.sec{background:#fff;color:var(--plum)} .k-btn.sec:hover{background:var(--plum-soft)}
.k-btn.danger{background:var(--danger);border-color:var(--danger)} .k-btn.danger:hover{background:var(--danger-hover)}
.k-btn.ghost{background:transparent;border-color:transparent;color:var(--plum);min-height:44px;padding:0 8px}
.k-btn.full{width:100%}
.k-tag{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;font:600 14px/20px var(--sans);white-space:nowrap}
.k-tag.ok{color:var(--ok-fg);background:var(--ok-bg)} .k-tag.part{color:var(--part-fg);background:var(--part-bg)}
.k-tag.no{color:var(--no-fg);background:var(--no-bg)} .k-tag.wait{color:var(--wait-fg);background:var(--wait-bg)}
.k-choice{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.k-choice .k-btn{background:#fff;color:var(--plum)}
.k-choice .k-btn[aria-pressed="true"]{background:var(--plum-soft);border-width:2px}
.k-choice .k-btn[aria-pressed="true"]::before{content:'✓'}
.k-brand{font-family:var(--display);font-weight:400;color:var(--gold);letter-spacing:1px}
.k-ornament{display:block;margin:0 auto;max-width:260px;width:70%;height:auto;mix-blend-mode:multiply}
.k-rule{border:0;height:1px;background:linear-gradient(90deg,transparent,var(--gold),transparent);margin:16px 0}
.k-foot{text-align:center;margin-top:24px;font-size:14px;color:var(--muted)}
.k-foot a{color:var(--plum)}

.k-script{font-family:var(--script);font-weight:var(--script-w)}
