:root {
  --bg: #06061a;
  --bg2: #0c0c26;
  --glass: rgba(255, 255, 255, .055);
  --glass-2: rgba(255, 255, 255, .09);
  --line: rgba(255, 255, 255, .10);
  --line-2: rgba(255, 255, 255, .18);
  --text: #eef0ff;
  --muted: #9ea3c9;
  --faint: #6b6f96;
  --violet: #8b6cff;
  --violet-2: #b49cff;
  --cyan: #2dd4ef;
  --pink: #f472b6;
  --amber: #fbbf24;
  --green: #34d399;
  --red: #fb7185;
  --radius: 22px;
  --radius-s: 14px;
  --shadow: 0 20px 60px -20px rgba(0, 0, 0, .7);
  --safe-b: env(safe-area-inset-bottom, 0px);
  --safe-t: env(safe-area-inset-top, 0px);
  --font: "Heebo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-d: "Rubik", "Heebo", system-ui, sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { margin: 0; height: 100%; }
body {
  font-family: var(--font); color: var(--text); background: var(--bg);
  overflow-x: hidden; -webkit-font-smoothing: antialiased; font-size: 16px;
}
button { font: inherit; color: inherit; border: 0; background: none; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
svg.i { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- רקע אורורה ---------- */
.aurora { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, transparent 30%, var(--bg) 75%); }
.blob { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; mix-blend-mode: screen; animation: drift 26s ease-in-out infinite alternate; }
.blob.b1 { width: 60vmax; height: 60vmax; background: radial-gradient(circle, #6d4dff 0%, transparent 65%); top: -25vmax; right: -15vmax; }
.blob.b2 { width: 50vmax; height: 50vmax; background: radial-gradient(circle, #0ea5c6 0%, transparent 65%); bottom: -20vmax; left: -15vmax; animation-duration: 32s; }
.blob.b3 { width: 38vmax; height: 38vmax; background: radial-gradient(circle, #db2777 0%, transparent 65%); top: 30%; left: 30%; opacity: .28; animation-duration: 40s; }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(6vmax, 4vmax) scale(1.1); } 100% { transform: translate(-4vmax, 7vmax) scale(.95); } }
.grain { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* ---------- שלד ---------- */
.app { position: relative; z-index: 1; min-height: 100%; display: grid; grid-template-columns: minmax(0, 1fr); }
html { overflow-x: hidden; }
.side { display: none; }
.main { padding: calc(14px + var(--safe-t)) 16px calc(120px + var(--safe-b)); max-width: 760px; width: 100%; margin: 0 auto; min-width: 0; }
.aside { display: none; }

@media (min-width: 1024px) {
  .app { grid-template-columns: 250px minmax(0, 1fr) 330px; gap: 0; }
  .side { display: flex; flex-direction: column; gap: 6px; padding: 26px 16px; position: sticky; top: 0; height: 100vh; border-inline-start: 1px solid var(--line); background: rgba(6, 6, 26, .35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .aside { display: block; padding: 26px 20px; position: sticky; top: 0; height: 100vh; overflow: auto; border-inline-end: 1px solid var(--line); background: rgba(6, 6, 26, .35); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
  .main { padding: 30px 34px 60px; max-width: 900px; }
  .tabbar, .mobile-head { display: none !important; }
}

.brand { display: flex; align-items: center; gap: 10px; padding: 4px 10px 22px; }
.logo { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: conic-gradient(from 200deg, var(--violet), var(--cyan), var(--pink), var(--violet)); box-shadow: 0 8px 30px -6px rgba(139, 108, 255, .8); }
.logo svg { width: 22px; height: 22px; stroke: #fff; }
.brand b { font-family: var(--font-d); font-size: 22px; letter-spacing: .5px; }
.brand small { display: block; color: var(--muted); font-size: 12px; margin-top: -2px; }
.navbtn { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 14px; color: var(--muted); font-weight: 500; transition: .2s; text-align: start; }
.navbtn:hover { background: var(--glass); color: var(--text); }
.navbtn.on { background: linear-gradient(90deg, rgba(139, 108, 255, .22), rgba(139, 108, 255, .05)); color: #fff; box-shadow: inset 0 0 0 1px rgba(139, 108, 255, .35); }
.navbtn .count { margin-inline-start: auto; font-size: 12px; background: var(--glass-2); padding: 2px 8px; border-radius: 99px; }
.side .spacer { flex: 1; }
.side-mic { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 18px; background: linear-gradient(135deg, rgba(139, 108, 255, .35), rgba(45, 212, 239, .2)); border: 1px solid var(--line-2); font-weight: 600; }
.side-mic .orb-mini { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 35% 30%, #fff 0, #c9b8ff 18%, var(--violet) 55%, #3b1fb8 100%); box-shadow: 0 0 24px rgba(139, 108, 255, .9); }
.side-mic small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; }

/* ---------- כותרת ושעון ---------- */
.mobile-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.mobile-head .brand { padding: 0; }
.iconbtn { width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); transition: .2s; }
.iconbtn:hover { background: var(--glass-2); }
.iconbtn:active { transform: scale(.94); }

.hero-clock { padding: 18px 4px 6px; }
.greet { color: var(--muted); font-size: 15px; display: flex; align-items: center; gap: 8px; }
.clock { font-family: var(--font-d); font-weight: 300; font-size: clamp(64px, 17vw, 104px); line-height: 1; letter-spacing: -2px; direction: ltr; text-align: right; background: linear-gradient(180deg, #fff 30%, #b9b3ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; margin: 6px 0 4px; font-variant-numeric: tabular-nums; }
.clock .colon { animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.date-line { display: flex; flex-wrap: wrap; gap: 6px 14px; color: var(--muted); font-size: 15px; }
.date-line b { color: var(--text); font-weight: 500; }
.hebdate { color: var(--violet-2); }

/* ---------- כרטיסים ---------- */
.card { background: var(--glass); border: 1px solid var(--line); border-radius: var(--radius); backdrop-filter: blur(22px) saturate(140%); -webkit-backdrop-filter: blur(22px) saturate(140%); box-shadow: var(--shadow); }
.section-h { display: flex; align-items: center; justify-content: space-between; margin: 26px 4px 10px; }
.section-h h2 { font-family: var(--font-d); font-size: 18px; font-weight: 600; margin: 0; display: flex; gap: 8px; align-items: center; }
.section-h .sub { color: var(--muted); font-size: 13px; }
.pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 99px; background: var(--glass); border: 1px solid var(--line); font-size: 13px; color: var(--muted); transition: .15s; white-space: nowrap; }
.pill:hover { color: var(--text); background: var(--glass-2); }
.pill.on { color: #fff; background: rgba(139, 108, 255, .3); border-color: rgba(139, 108, 255, .6); }

.next-card { position: relative; overflow: hidden; padding: 22px; margin-top: 18px; display: grid; grid-template-columns: 1fr auto; gap: 16px; align-items: center; }
.next-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(139, 108, 255, .28), rgba(45, 212, 239, .08) 60%, transparent); pointer-events: none; }
.next-card .lbl { font-size: 12px; letter-spacing: 1.5px; color: var(--violet-2); font-weight: 600; }
.next-card h3 { font-family: var(--font-d); font-size: 24px; margin: 6px 0 6px; font-weight: 600; line-height: 1.25; }
.next-card .meta { color: var(--muted); font-size: 14px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.ring { width: 92px; height: 92px; position: relative; }
.ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring .t { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; font-family: var(--font-d); font-size: 20px; font-weight: 600; line-height: 1.05; }
.ring .t small { display: block; font-size: 11px; color: var(--muted); font-weight: 400; }
.empty-hero { padding: 26px; text-align: center; color: var(--muted); margin-top: 18px; }
.empty-hero b { display: block; color: var(--text); font-family: var(--font-d); font-size: 19px; margin-bottom: 6px; }

/* ---------- רשימת פריטים ---------- */
.list { display: flex; flex-direction: column; gap: 10px; }
.item { display: grid; grid-template-columns: auto 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 18px; background: var(--glass); border: 1px solid var(--line); transition: .2s; position: relative; overflow: hidden; animation: rise .35s ease both; }
.item:hover { background: var(--glass-2); border-color: var(--line-2); }
.item::before { content: ""; position: absolute; inset-block: 12px; inset-inline-start: 0; width: 3px; border-radius: 3px; background: var(--k, var(--violet)); }
.item.done { opacity: .5; }
.item.done .ttl { text-decoration: line-through; }
.item.over { border-color: rgba(251, 113, 133, .35); }
@keyframes rise { from { opacity: 0; transform: translateY(8px); } }
.check { width: 28px; height: 28px; border-radius: 50%; border: 2px solid var(--k, var(--violet)); display: grid; place-items: center; transition: .2s; }
.check:hover { background: color-mix(in srgb, var(--k, var(--violet)) 25%, transparent); }
.check svg { width: 15px; height: 15px; opacity: 0; stroke-width: 3; }
.item.done .check { background: var(--k); }
.item.done .check svg { opacity: 1; stroke: #0b0b20; }
.kicon { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--k) 20%, transparent); color: var(--k); }
.body { min-width: 0; cursor: pointer; }
.ttl { font-weight: 500; font-size: 16px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sub { color: var(--muted); font-size: 13px; margin-top: 3px; display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.sub .tag { display: inline-flex; align-items: center; gap: 4px; }
.sub svg.i { width: 13px; height: 13px; }
.time-big { font-family: var(--font-d); font-weight: 600; font-size: 17px; direction: ltr; font-variant-numeric: tabular-nums; }
.acts { display: flex; gap: 4px; }
.acts .iconbtn { width: 34px; height: 34px; border-radius: 10px; background: transparent; border-color: transparent; color: var(--muted); }
.acts .iconbtn:hover { color: var(--text); background: var(--glass-2); }
.over-badge { color: var(--red); font-weight: 600; }

/* ציר זמן */
.timeline { position: relative; padding-right: 30px; }
.timeline::before { content: ""; position: absolute; right: 9px; top: 8px; bottom: 8px; width: 2px; background: linear-gradient(var(--line-2), transparent); }
.tl-row { position: relative; margin-bottom: 10px; }
.tl-row .tl-time { display: none; }
.tl-row .tl-dot { position: absolute; right: -26px; top: 20px; width: 12px; height: 12px; border-radius: 50%; background: var(--k); box-shadow: 0 0 0 4px var(--bg), 0 0 16px var(--k); }
.now-line { position: relative; height: 0; margin: 22px 0 14px; }
.now-line::before { content: ""; position: absolute; right: -24px; left: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--pink)); }
.now-line span { position: absolute; left: 0; top: -18px; font-size: 11px; color: var(--pink); font-weight: 700; }
.now-line::after { content: ""; position: absolute; right: -28px; top: -4px; width: 10px; height: 10px; border-radius: 50%; background: var(--pink); box-shadow: 0 0 12px var(--pink); }

/* ---------- לוח שנה ---------- */
.cal { padding: 18px; }
.cal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cal-head h2 { font-family: var(--font-d); margin: 0; font-size: 22px; font-weight: 600; }
.cal-head .hm { color: var(--violet-2); font-size: 13px; display: block; font-weight: 400; }
.cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; }
.cal-dow { text-align: center; color: var(--faint); font-size: 12px; padding-bottom: 4px; font-weight: 600; }
.cal-day { aspect-ratio: 1 / 1.05; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: flex-start; padding-top: 8px; gap: 5px; font-size: 15px; border: 1px solid transparent; transition: .15s; position: relative; }
.cal-day:hover { background: var(--glass-2); }
.cal-day.other { color: var(--faint); }
.cal-day.today { border-color: rgba(139, 108, 255, .7); color: #fff; font-weight: 700; }
.cal-day.sel { background: linear-gradient(160deg, var(--violet), #5a3fe0); color: #fff; box-shadow: 0 10px 30px -8px rgba(139, 108, 255, .8); }
.cal-day.shabbat:not(.sel) { color: var(--violet-2); }
.dots { display: flex; gap: 3px; flex-wrap: wrap; justify-content: center; max-width: 80%; }
.dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--k); }
.cal-day.sel .dots i { background: #fff; }
.hday { font-size: 9px; color: var(--faint); line-height: 1; }
.cal-day.sel .hday { color: rgba(255, 255, 255, .75); }

/* ---------- בורר מקטעים ---------- */
.seg { display: flex; padding: 4px; border-radius: 14px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); gap: 4px; }
.seg button { flex: 1; padding: 9px 10px; border-radius: 10px; color: var(--muted); font-size: 14px; font-weight: 500; display: flex; align-items: center; justify-content: center; gap: 6px; transition: .2s; }
.seg button.on { background: var(--glass-2); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .3), inset 0 0 0 1px var(--line-2); }

/* ---------- שעונים מעוררים ---------- */
.alarm { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; gap: 14px; }
.alarm .big { font-family: var(--font-d); font-size: 46px; font-weight: 300; direction: ltr; line-height: 1; font-variant-numeric: tabular-nums; }
.alarm .big small { font-size: 16px; color: var(--muted); }
.alarm.off .big, .alarm.off .lbl2 { opacity: .4; }
.alarm .lbl2 { color: var(--muted); font-size: 14px; margin-top: 6px; }
.days-mini { display: flex; gap: 4px; margin-top: 8px; }
.days-mini span { width: 22px; height: 22px; border-radius: 50%; font-size: 11px; display: grid; place-items: center; color: var(--faint); background: rgba(255, 255, 255, .04); }
.days-mini span.on { color: #1a1205; background: var(--amber); font-weight: 700; }
.switch { width: 54px; height: 32px; border-radius: 99px; background: rgba(255, 255, 255, .15); position: relative; transition: .25s; flex: none; }
.switch::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 26px; height: 26px; border-radius: 50%; background: #fff; transition: .25s; box-shadow: 0 2px 6px rgba(0, 0, 0, .4); }
.switch.on { background: linear-gradient(90deg, var(--green), #10b981); }
.switch.on::after { inset-inline-start: 25px; }

/* ---------- סרגל תחתון (נייד) ---------- */
.tabbar { position: fixed; z-index: 20; inset-inline: 12px; bottom: calc(12px + var(--safe-b)); height: 70px; border-radius: 26px; display: grid; grid-template-columns: 1fr 1fr 86px 1fr 1fr; align-items: center; background: rgba(16, 16, 44, .72); border: 1px solid var(--line-2); backdrop-filter: blur(26px) saturate(160%); -webkit-backdrop-filter: blur(26px) saturate(160%); box-shadow: 0 20px 50px -10px rgba(0, 0, 0, .8); }
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--muted); padding: 6px 0; transition: .2s; }
.tab.on { color: #fff; }
.tab.on svg.i { stroke: var(--violet-2); filter: drop-shadow(0 0 8px rgba(180, 156, 255, .9)); }
.fab { justify-self: center; width: 72px; height: 72px; margin-top: -34px; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle at 35% 28%, #fff 0, #d6c9ff 12%, var(--violet) 48%, #3a1db5 100%);
  box-shadow: 0 0 0 6px rgba(6, 6, 26, .9), 0 12px 40px rgba(139, 108, 255, .9), inset 0 -6px 16px rgba(0, 0, 0, .35); }
.fab svg.i { width: 30px; height: 30px; stroke: #fff; stroke-width: 2.2; }
.fab::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; border: 2px solid rgba(180, 156, 255, .5); animation: pulse 2.6s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(.9); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.add-fab { position: fixed; z-index: 19; inset-inline-end: 22px; bottom: calc(100px + var(--safe-b)); width: 52px; height: 52px; border-radius: 18px; display: grid; place-items: center; background: linear-gradient(135deg, var(--cyan), #0891b2); box-shadow: 0 12px 30px -6px rgba(45, 212, 239, .7); color: #032; }
.add-fab svg.i { width: 26px; height: 26px; stroke-width: 2.6; }
@media (min-width: 1024px) { .add-fab { bottom: 30px; inset-inline-end: 360px; } }

/* ---------- גיליונות ---------- */
.scrim { position: fixed; inset: 0; z-index: 40; background: rgba(3, 3, 14, .6); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: .25s; }
.scrim.show { opacity: 1; pointer-events: auto; }
.sheet { position: fixed; z-index: 41; inset-inline: 0; bottom: 0; max-height: 92vh; overflow: auto; padding: 10px 18px calc(24px + var(--safe-b)); border-radius: 28px 28px 0 0; background: linear-gradient(180deg, rgba(28, 26, 66, .96), rgba(12, 12, 34, .98)); border: 1px solid var(--line-2); border-bottom: 0; transform: translateY(105%); transition: transform .38s cubic-bezier(.2, .9, .2, 1); box-shadow: 0 -30px 80px rgba(0, 0, 0, .6); }
.sheet.show { transform: none; }
.grab { width: 44px; height: 5px; border-radius: 9px; background: rgba(255, 255, 255, .25); margin: 4px auto 14px; }
@media (min-width: 760px) {
  .sheet { inset-inline: auto; left: 50%; bottom: auto; top: 50%; width: 560px; border-radius: 28px; border-bottom: 1px solid var(--line-2); transform: translate(-50%, -46%) scale(.96); opacity: 0; pointer-events: none; transition: .3s; max-height: 88vh; }
  .sheet.show { transform: translate(-50%, -50%); opacity: 1; pointer-events: auto; visibility: visible; }
  .sheet:not(.show) { visibility: hidden; transition: .3s, visibility 0s .3s; }
}
.sheet h3 { font-family: var(--font-d); font-size: 22px; margin: 0 0 16px; display: flex; align-items: center; justify-content: space-between; }
.field { margin-bottom: 14px; }
.field > label, .flabel { display: block; font-size: 13px; color: var(--muted); margin-bottom: 7px; font-weight: 500; }
.inp { width: 100%; padding: 13px 15px; border-radius: 14px; background: rgba(0, 0, 0, .28); border: 1px solid var(--line); outline: none; transition: .2s; font-size: 16px; }
.inp:focus { border-color: rgba(139, 108, 255, .8); box-shadow: 0 0 0 4px rgba(139, 108, 255, .18); }
.inp.title-inp { font-size: 20px; font-weight: 500; padding: 15px; }
select.inp { appearance: none; -webkit-appearance: none; background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8'><path d='M1 1l5 5 5-5' stroke='%239ea3c9' stroke-width='2' fill='none'/></svg>"); background-repeat: no-repeat; background-position: left 14px center; }
input[type=datetime-local].inp, input[type=time].inp, input[type=date].inp { direction: ltr; text-align: right; color-scheme: dark; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.chips .pill { padding: 6px 11px; }
.dayspick { display: flex; gap: 6px; margin-top: 8px; }
.dayspick button { flex: 1; height: 38px; border-radius: 12px; background: rgba(0, 0, 0, .25); border: 1px solid var(--line); color: var(--muted); font-weight: 600; }
.dayspick button.on { background: var(--violet); color: #fff; border-color: transparent; }
.toggle-row { display: flex; align-items: center; justify-content: space-between; padding: 12px 2px; border-bottom: 1px solid var(--line); gap: 12px; }
.toggle-row:last-child { border-bottom: 0; }
.toggle-row .tl { display: flex; align-items: center; gap: 10px; }
.toggle-row small { color: var(--muted); display: block; font-size: 12px; }
.box { padding: 6px 14px; border-radius: 18px; background: rgba(0, 0, 0, .2); border: 1px solid var(--line); margin-bottom: 14px; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 13px 20px; border-radius: 14px; font-weight: 600; transition: .15s; }
.btn:active { transform: scale(.97); }
.btn.primary { background: linear-gradient(135deg, var(--violet), #5b3df0); color: #fff; box-shadow: 0 10px 30px -8px rgba(139, 108, 255, .9); }
.btn.ghost { background: var(--glass); border: 1px solid var(--line); }
.btn.danger { color: var(--red); background: rgba(251, 113, 133, .1); }
.btn-row { display: flex; gap: 10px; margin-top: 18px; }
.btn-row .btn.primary { flex: 1; }
.colors { display: flex; gap: 8px; }
.colors button { width: 30px; height: 30px; border-radius: 50%; background: var(--c); border: 3px solid transparent; }
.colors button.on { border-color: #fff; box-shadow: 0 0 12px var(--c); }
.native-note { font-size: 12px; color: var(--faint); margin-top: 6px; }

/* ---------- עוזר קולי ---------- */
.assistant { text-align: center; }
.orb-wrap { position: relative; width: 170px; height: 170px; margin: 6px auto 8px; display: grid; place-items: center; }
.orb { width: 120px; height: 120px; border-radius: 50%; position: relative; cursor: pointer;
  background: radial-gradient(circle at 34% 28%, #fff 0, #e2d8ff 9%, #9b80ff 38%, #5a37e8 70%, #24127a 100%);
  box-shadow: 0 0 60px rgba(139, 108, 255, .8), inset 0 -10px 30px rgba(0, 0, 0, .35); transition: transform .3s; }
.orb::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, transparent, rgba(45, 212, 239, .55), transparent 40%, rgba(244, 114, 182, .5), transparent 75%); mix-blend-mode: screen; animation: spin 6s linear infinite; opacity: .7; }
@keyframes spin { to { transform: rotate(360deg); } }
.orb-wrap .wave { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(180, 156, 255, .55); opacity: 0; }
.listening .orb { transform: scale(1.08); }
.listening .wave { animation: wave 1.8s ease-out infinite; }
.listening .wave:nth-child(2) { animation-delay: .6s; }
.listening .wave:nth-child(3) { animation-delay: 1.2s; }
@keyframes wave { 0% { transform: scale(.7); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.thinking .orb::after { animation-duration: 1.2s; }
.speaking .orb { animation: talk .5s ease-in-out infinite alternate; }
@keyframes talk { to { transform: scale(1.06); filter: brightness(1.15); } }
.as-status { color: var(--violet-2); font-size: 14px; min-height: 20px; font-weight: 500; }
.transcript { font-family: var(--font-d); font-size: 22px; min-height: 32px; margin: 8px 0 4px; line-height: 1.35; }
.transcript.interim { color: var(--muted); }
.reply { color: var(--text); background: var(--glass); border: 1px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 12px 0; text-align: start; font-size: 15px; line-height: 1.5; display: none; }
.reply.show { display: block; animation: rise .3s both; }
.cmd-bar { display: flex; gap: 8px; margin-top: 10px; }
.cmd-bar .inp { flex: 1; }
.examples { display: flex; gap: 6px; overflow-x: auto; padding: 10px 0 2px; scrollbar-width: none; }
.examples::-webkit-scrollbar { display: none; }
.examples .pill { flex: none; }
.hint { font-size: 12px; color: var(--faint); margin-top: 8px; line-height: 1.5; }

/* ---------- צלצול ---------- */
.ringer { position: fixed; inset: 0; z-index: 60; display: none; flex-direction: column; align-items: center; justify-content: center; padding: 30px 22px calc(30px + var(--safe-b)); text-align: center;
  background: radial-gradient(ellipse at 50% 35%, rgba(139, 108, 255, .55), rgba(6, 6, 26, .97) 65%); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.ringer.show { display: flex; animation: fadein .3s both; }
@keyframes fadein { from { opacity: 0; } }
.ringer .bell { width: 150px; height: 150px; border-radius: 50%; display: grid; place-items: center; position: relative; background: radial-gradient(circle at 35% 30%, #fff, var(--k, var(--violet)) 55%, #1d0f6b); box-shadow: 0 0 90px var(--k, var(--violet)); }
.ringer .bell svg.i { width: 64px; height: 64px; stroke: #fff; animation: shake .9s ease-in-out infinite; }
@keyframes shake { 0%, 100% { transform: rotate(0); } 15% { transform: rotate(-14deg); } 30% { transform: rotate(12deg); } 45% { transform: rotate(-8deg); } 60% { transform: rotate(5deg); } 75% { transform: rotate(0); } }
.ringer .bell::before, .ringer .bell::after { content: ""; position: absolute; inset: -10px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .45); animation: wave 2s ease-out infinite; }
.ringer .bell::after { animation-delay: 1s; }
.ringer .rk { margin-top: 30px; letter-spacing: 2px; font-size: 13px; color: var(--violet-2); font-weight: 600; }
.ringer h1 { font-family: var(--font-d); font-size: clamp(30px, 8vw, 46px); margin: 10px 0 4px; line-height: 1.2; }
.ringer .rt { font-family: var(--font-d); font-size: 22px; color: var(--muted); direction: ltr; }
.ringer .rnotes { color: var(--muted); max-width: 520px; margin-top: 10px; }
.ring-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; width: 100%; max-width: 420px; margin-top: 36px; }
.ring-acts .btn { padding: 17px; font-size: 17px; border-radius: 18px; }
.ring-acts .btn.done { grid-column: 1 / -1; background: linear-gradient(135deg, var(--green), #059669); color: #03251a; }
.snz { display: flex; gap: 8px; justify-content: center; margin-top: 14px; flex-wrap: wrap; }
.ringer .more { color: var(--faint); font-size: 13px; margin-top: 16px; }

/* ---------- הודעות ---------- */
.toast { position: fixed; z-index: 70; left: 50%; bottom: calc(166px + var(--safe-b)); transform: translate(-50%, 30px); opacity: 0; transition: .3s; padding: 12px 16px; border-radius: 16px; background: rgba(30, 28, 70, .95); border: 1px solid var(--line-2); box-shadow: var(--shadow); display: flex; align-items: center; gap: 12px; max-width: calc(100% - 32px); font-size: 14px; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast button { color: var(--violet-2); font-weight: 700; }
.banner { display: flex; gap: 12px; align-items: center; padding: 14px 16px; margin-top: 14px; border-radius: 18px; background: linear-gradient(90deg, rgba(45, 212, 239, .16), rgba(139, 108, 255, .12)); border: 1px solid rgba(45, 212, 239, .3); font-size: 14px; }
.banner .x { margin-inline-start: auto; color: var(--muted); }
.banner b { display: block; }

/* aside */
.aside h4 { font-family: var(--font-d); margin: 0 0 12px; font-size: 15px; color: var(--muted); font-weight: 500; }
.mini-clock { font-family: var(--font-d); font-size: 54px; font-weight: 300; direction: ltr; text-align: right; line-height: 1; margin-bottom: 4px; font-variant-numeric: tabular-nums; }
.stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.stat { padding: 14px; border-radius: 16px; background: var(--glass); border: 1px solid var(--line); }
.stat b { font-family: var(--font-d); font-size: 26px; display: block; }
.stat span { font-size: 12px; color: var(--muted); }
.qa { display: flex; flex-direction: column; gap: 8px; }

.settings .card { padding: 6px 18px; margin-bottom: 14px; }
.settings h3.sh { font-family: var(--font-d); font-size: 15px; color: var(--muted); font-weight: 500; margin: 22px 4px 10px; }
.kbd { display: inline-block; padding: 1px 7px; border-radius: 6px; background: var(--glass-2); border: 1px solid var(--line); font-size: 12px; }
.empty { text-align: center; color: var(--muted); padding: 30px 10px; }
.empty .big-i { width: 64px; height: 64px; margin: 0 auto 10px; border-radius: 20px; display: grid; place-items: center; background: var(--glass); border: 1px solid var(--line); }
.empty .big-i svg.i { width: 30px; height: 30px; color: var(--violet-2); }
.fade-in { animation: rise .35s both; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

.sub .tag.proj { padding: 1px 8px; border-radius: 99px; background: color-mix(in srgb, var(--k) 22%, transparent); color: #fff; font-weight: 600; }
a.iconbtn { color: var(--muted); text-decoration: none; }
a.btn { text-decoration: none; }
