/*
 * YBA Studio-Slides — המראיין החדש. פלטה כחולה, הדר, צ'אט מודרני.
 * פריסה: הדר · [rail שמאל · שקופית · טור-תצוגה · צ'אט ימין]. namespace yba-ss-.
 */
.yba-ss-app {
	--ss-navy: #1e3a8a;
	--ss-navy-d: #172554;
	--ss-blue: #2563eb;
	--ss-blue-500: #3b82f6;
	--ss-blue-100: #dbeafe;
	--ss-blue-50: #eff6ff;
	--ss-ink: #0f172a;
	--ss-muted: #64748b;
	--ss-line: #e6ebf3;
	--ss-bg: #eef2f9;
	/* תמונת-רקע לכל משטח כהה (בקשת גדעון) — עם שכבת-כיסוי כהה למיסוך-סימן ולקריאוּת */
	--ss-darkimg: url("/wp-content/uploads/2026/07/05.jpg");

	display: flex;
	flex-direction: column;
	height: 100vh;
	width: 100%;
	overflow: hidden;
	background: var(--ss-bg);
	font-family: "Assistant", "Rubik", -apple-system, "Segoe UI", sans-serif;
	color: var(--ss-ink);
	box-sizing: border-box;
	direction: rtl;
}
.yba-ss-app *, .yba-ss-app *::before, .yba-ss-app *::after { box-sizing: border-box; }

/* ── הדר ─────────────────────────────────────────────────────────── */
.yba-ss-header {
	flex: 0 0 auto;
	height: 58px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 22px;
	background: linear-gradient(90deg, rgba(23,37,84,0.90) 0%, rgba(30,58,138,0.78) 55%, rgba(37,99,235,0.70) 100%), var(--ss-darkimg) center/cover;
	color: #fff;
	box-shadow: 0 2px 14px rgba(30, 58, 138, 0.28);
	z-index: 10;
}
.yba-ss-header__brand { display: flex; align-items: center; gap: 11px; }
/* בית-המערכת: מתאר (זהה לנעילה שבדשבורד ובסטודיו החופשי) */
.yba-ss-header__mitaar {
	display: inline-flex; align-items: center; gap: 6px; text-decoration: none;
	padding-inline-start: 11px; margin-inline-start: 3px; border-inline-start: 1px solid rgba(255,255,255,.22);
	opacity: .85; transition: opacity .14s ease;
}
.yba-ss-header__mitaar:hover { opacity: 1; }
.yba-ss-header__mitaarlbl { font-size: 10px; font-weight: 600; letter-spacing: .3px; opacity: .8; }
.yba-ss-header__mitaarimg { height: 20px; width: auto; display: block; }
.yba-ss-header__logo {
	width: 34px; height: 34px; border-radius: 10px;
	display: flex; align-items: center; justify-content: center;
	background: rgba(255,255,255,0.16); font-size: 18px;
}
.yba-ss-header__titles { display: flex; flex-direction: column; line-height: 1.15; }
.yba-ss-header__title { font-size: 16px; font-weight: 800; letter-spacing: .2px; }
.yba-ss-header__sub { font-size: 11px; opacity: .8; }
.yba-ss-header__meta { display: flex; align-items: center; gap: 16px; font-size: 13px; }
.yba-ss-header__pres { font-weight: 700; max-width: 320px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yba-ss-header__count { opacity: .82; font-size: 12.5px; }
.yba-ss-header__export {
	border: 0; border-radius: 999px; cursor: pointer;
	padding: 8px 18px; font-size: 13.5px; font-weight: 800; font-family: inherit;
	background: linear-gradient(135deg, #22c55e, #16a34a); color: #fff;
	box-shadow: 0 4px 14px rgba(22,163,74,0.45);
	transition: transform .1s ease, box-shadow .12s ease;
}
.yba-ss-header__export:hover { transform: translateY(-1px); box-shadow: 0 7px 20px rgba(22,163,74,0.55); }
.yba-ss-header__export:disabled { background: rgba(255,255,255,0.3); box-shadow: none; cursor: default; }
.yba-ss-header__status { display: flex; align-items: center; gap: 6px; font-size: 12.5px; background: rgba(255,255,255,0.14); border-radius: 999px; padding: 4px 12px; }
.yba-ss-header__dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 3px rgba(74,222,128,0.28); transition: background .15s ease; }
.yba-ss-header__status.is-saving .yba-ss-header__dot { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251,191,36,0.3); }
.yba-ss-header__status.is-saved .yba-ss-header__dot { background: #22c55e; }
.yba-ss-header__logo { box-shadow: 0 3px 10px rgba(0,0,0,0.25); }
.yba-ss-header__center { display: flex; align-items: center; gap: 8px; flex: 1 1 auto; justify-content: center; min-width: 0; }
.yba-ss-header__preslabel { font-size: 12px; opacity: .72; }
.yba-ss-header__actions { display: flex; align-items: center; gap: 10px; }
.yba-ss-hbtn {
	border: 0; border-radius: 999px; cursor: pointer; padding: 8px 15px;
	font-size: 13px; font-weight: 700; font-family: inherit;
	background: rgba(255,255,255,0.16); color: #fff;
	display: inline-flex; align-items: center; gap: 5px;
	transition: background .12s ease, transform .1s ease;
}
.yba-ss-hbtn:hover { background: rgba(255,255,255,0.30); transform: translateY(-1px); }
@media (max-width: 1240px) { .yba-ss-hbtn span, .yba-ss-header__preslabel { display: none; } }

/* מסך פתיחה (תיק הלקוח) */
.yba-ss-home {
	position: fixed; inset: 0; z-index: 60;
	background: rgba(15, 23, 42, 0.55); backdrop-filter: blur(3px);
	display: flex; align-items: center; justify-content: center; padding: 30px;
	direction: rtl; animation: yba-ss-fade .15s ease;
}
.yba-ss-home[hidden] { display: none; }
@keyframes yba-ss-fade { from { opacity: 0; } to { opacity: 1; } }
.yba-ss-home__panel {
	width: min(1000px, 96vw); max-height: 88vh; display: flex; flex-direction: column;
	background: #fff; border-radius: 20px; overflow: hidden;
	box-shadow: 0 30px 80px rgba(15, 23, 42, 0.45);
	animation: yba-ss-home-in .18s cubic-bezier(.2,.9,.3,1.1);
}
@keyframes yba-ss-home-in { from { transform: scale(.96) translateY(10px); opacity: 0; } to { transform: none; opacity: 1; } }
.yba-ss-home__head {
	display: flex; align-items: center; gap: 12px; padding: 18px 24px;
	background: linear-gradient(90deg, rgba(23,37,84,0.90), rgba(37,99,235,0.68)), var(--ss-darkimg) center/cover; color: #fff;
}
.yba-ss-home__logo { width: 40px; height: 40px; border-radius: 11px; background: rgba(255,255,255,0.18); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.yba-ss-home__titles { display: flex; flex-direction: column; flex: 1 1 auto; }
.yba-ss-home__title { font-size: 19px; font-weight: 800; }
.yba-ss-home__sub { font-size: 12.5px; opacity: .82; }
.yba-ss-home__close { border: 0; background: rgba(255,255,255,0.16); color: #fff; width: 34px; height: 34px; border-radius: 50%; font-size: 22px; line-height: 1; cursor: pointer; }
.yba-ss-home__close:hover { background: rgba(255,255,255,0.3); }
.yba-ss-home__grid { padding: 22px 24px; overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.yba-ss-home__loading { color: var(--ss-muted); padding: 20px; }
.yba-ss-home-card {
	border: 1px solid var(--ss-line); border-radius: 14px; overflow: hidden; cursor: pointer;
	background: #fff; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
	display: flex; flex-direction: column;
}
.yba-ss-home-card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(37,99,235,0.22); border-color: var(--ss-blue); }
.yba-ss-home-card.is-active { border-color: var(--ss-blue); box-shadow: 0 0 0 2px rgba(37,99,235,0.3); }
.yba-ss-home-card__thumb { aspect-ratio: 16/9; background: #f1f5f9 center/cover no-repeat; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 28px; }
.yba-ss-home-card__body { padding: 11px 13px; }
.yba-ss-home-card__name { font-size: 14px; font-weight: 800; color: var(--ss-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yba-ss-home-card__meta { font-size: 11.5px; color: var(--ss-muted); margin-top: 3px; }
.yba-ss-home-card__badge { display: inline-block; margin-top: 6px; font-size: 10.5px; font-weight: 700; color: var(--ss-blue); background: var(--ss-blue-50); border-radius: 999px; padding: 2px 9px; }
.yba-ss-home-new {
	border: 2px dashed var(--ss-blue); border-radius: 14px; cursor: pointer;
	display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
	background: var(--ss-blue-50); color: var(--ss-blue); min-height: 160px;
	transition: transform .12s ease, background .12s ease;
}
.yba-ss-home-new:hover { transform: translateY(-3px); background: var(--ss-blue-100); }
.yba-ss-home-new__plus { font-size: 40px; font-weight: 300; line-height: 1; }
.yba-ss-home-new__lbl { font-size: 14px; font-weight: 800; }

/* ══ ארכיטקטורת-תצוגות: בית (דשבורד מלא) ↔ סטודיו (המראיין) — עמודים נפרדים ══ */
.yba-ss-app[data-view="home"] .yba-ss-header,
.yba-ss-app[data-view="home"] .yba-ss-body { display: none !important; }
.yba-ss-app[data-view="studio"] #yba-ss-home-screen { display: none !important; }
/* הדשבורד = עמוד-בית מלא-מסך (edge-to-edge, לא כרטיס צף) */
.yba-ss-dash { background: linear-gradient(180deg, #eef3fc 0%, #e6ecf7 100%); backdrop-filter: none; padding: 0; display: block; overflow-y: auto; }
.yba-ss-dash__topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 13px 28px; background: rgba(255,255,255,0.72); border-bottom: 1px solid var(--ss-line); position: sticky; top: 0; z-index: 5; backdrop-filter: blur(6px); }
.yba-ss-dash__brand { display: flex; align-items: center; gap: 9px; font-size: 17px; font-weight: 900; color: var(--ss-navy); }
.yba-ss-dash__brandmark { width: 32px; height: 32px; border-radius: 9px; background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; }
.yba-ss-dash__brandlogo { height: 36px; width: auto; display: block; }
.yba-ss-dash__topact { display: flex; align-items: center; gap: 14px; }
.yba-ss-dash__toplink { color: var(--ss-muted); text-decoration: none; font-weight: 800; font-size: 13.5px; padding: 8px 15px; border-radius: 999px; border: 1px solid var(--ss-line); transition: color .12s ease, border-color .12s ease; }
.yba-ss-dash__toplink:hover { color: var(--ss-blue); border-color: var(--ss-blue); }
/* לוגו מתאר + כפתורי-הדר נוספים */
.yba-ss-dash__mitaar { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; color: var(--ss-muted); }
.yba-ss-dash__mitaarlbl { font-size: 10px; font-weight: 700; opacity: .7; }
.yba-ss-dash__mitaarimg { height: 24px; width: auto; display: block; }
/* מודאל מרכז-תמיכה */
.yba-ss-support__panel { width: min(480px, 96vw); position: relative; }
.yba-ss-support__close { position: absolute; top: 14px; inset-inline-start: 14px; background: rgba(15,23,42,0.1); color: #0f172a; }
.yba-ss-support__close:hover { background: rgba(15,23,42,0.2); }
.yba-ss-support__head { padding: 30px 24px 6px; text-align: center; }
.yba-ss-support__logo { height: 40px; width: auto; margin-bottom: 10px; }
.yba-ss-support__head h3 { margin: 6px 0 4px; font-size: 20px; font-weight: 900; color: var(--ss-ink); }
.yba-ss-support__head p { margin: 0; font-size: 13px; color: var(--ss-muted); }
.yba-ss-support__grid { display: flex; flex-direction: column; gap: 10px; padding: 18px 24px; }
.yba-ss-support__card { display: flex; align-items: center; gap: 12px; text-decoration: none; border: 1px solid var(--ss-line); border-radius: 14px; padding: 13px 16px; background: #fff; transition: border-color .12s ease, box-shadow .12s ease, transform .1s ease; }
.yba-ss-support__card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(37,99,235,0.16); border-color: var(--ss-blue); }
.yba-ss-support__card--wa:hover { border-color: #25d366; box-shadow: 0 10px 24px rgba(37,211,102,0.22); }
.yba-ss-support__ic { font-size: 24px; }
.yba-ss-support__txt { flex: 1 1 auto; text-align: start; display: flex; flex-direction: column; }
.yba-ss-support__txt b { font-size: 14.5px; color: var(--ss-ink); }
.yba-ss-support__txt span { font-size: 12px; color: var(--ss-muted); }
.yba-ss-support__arr { color: var(--ss-blue); font-weight: 900; }
.yba-ss-support__foot { padding: 0 24px 20px; font-size: 11.5px; color: var(--ss-muted); text-align: center; }
.yba-ss-dash__herowrap { max-width: none; margin: 0 auto; display: flex; align-items: center; gap: 24px; }
.yba-ss-dash__page { max-width: none; margin: 0 auto; padding: 10px 30px 40px; }
/* כפתורים גדולים במרכז הכחול (הירו) */
.yba-ss-dash__herocta { display: flex; gap: 12px; flex: 0 0 auto; flex-wrap: wrap; margin-inline-start: 8px; }
.yba-ss-dash__herobtn { border: 0; border-radius: 16px; padding: 18px 28px; cursor: pointer; font-weight: 900; font-size: 17px; white-space: nowrap; transition: transform .1s ease, box-shadow .12s ease; }
.yba-ss-dash__herobtn--primary { background: #fff; color: var(--ss-navy); box-shadow: 0 14px 34px rgba(0,0,0,0.34); }
.yba-ss-dash__herobtn:not(.yba-ss-dash__herobtn--primary) { background: rgba(255,255,255,0.15); color: #fff; border: 1px solid rgba(255,255,255,0.34); }
.yba-ss-dash__herobtn:hover { transform: translateY(-3px); }
/* כניסה-אחת (הכרעת-המאסטר): כפתור-היצירה גדול וברור, ומוביל לדף-הבחירה. */
.yba-ss-dash__herobtn--xl { padding: 24px 44px; font-size: 22px; border-radius: 20px; text-decoration: none; display: inline-block; box-shadow: 0 18px 44px rgba(0,0,0,0.38); }
.yba-ss-dash__herobtn--xl:hover { transform: translateY(-4px); box-shadow: 0 22px 52px rgba(0,0,0,0.42); }

/* ══ דשבורד-כניסה מכובד ══ */
.yba-ss-dash__hero { padding: 30px 28px 30px; background: linear-gradient(120deg, rgba(23,37,84,0.90) 0%, rgba(30,58,138,0.80) 100%), var(--ss-darkimg) 50% 28% / cover; color: #fff; }
.yba-ss-dash__avatar { width: 132px; height: 132px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: #eceff5; box-shadow: 0 12px 28px rgba(0,0,0,0.34); border: 3px solid rgba(255,255,255,0.75); }
.yba-ss-dash__avatar svg { width: 100%; height: 100%; display: block; }
.yba-ss-avatar-img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; display: block; }
.yba-ss-dash__hello { flex: 1 1 auto; min-width: 0; }
.yba-ss-dash__hi { margin: 0 0 5px; font-size: 27px; font-weight: 900; letter-spacing: -.3px; }
.yba-ss-dash__lead { margin: 0 0 15px; font-size: 13.5px; line-height: 1.55; opacity: .92; max-width: 640px; }
.yba-ss-dash__steps { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.yba-ss-dash__step { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.24); border-radius: 999px; padding: 5px 13px; }
.yba-ss-dash__stepic { font-size: 14px; }
.yba-ss-dash__stepar { opacity: .55; font-size: 13px; }
/* CTA ראשי — כפתורים גדולים */
.yba-ss-dash__cta { display: flex; gap: 12px; flex-wrap: wrap; padding: 4px 0 14px; }
.yba-ss-dash__ctabtn { border: 1px solid var(--ss-line); background: #fff; color: var(--ss-ink); border-radius: 14px; padding: 14px 26px; cursor: pointer; font-weight: 900; font-size: 16px; transition: transform .1s ease, box-shadow .12s ease; }
.yba-ss-dash__ctabtn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(15,23,42,0.12); }
.yba-ss-dash__ctabtn--primary { background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); color: #fff; border-color: transparent; box-shadow: 0 10px 24px rgba(37,99,235,0.32); }
/* שתי עמודות: התמונות שלי | המצגות שלי */
.yba-ss-dash__cols { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; padding: 0; align-items: stretch; }
@media (max-width: 1200px) { .yba-ss-dash__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
/* עמודת נתוני-השקיפות — stat-tiles גרפיים */
.yba-ss-dash__shkifut { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-inline-end: 2px; }
.yba-ss-shk__chapter { position: sticky; top: 0; z-index: 1; background: linear-gradient(90deg, var(--ss-navy), var(--ss-blue)); color: #fff; font-size: 12px; font-weight: 800; padding: 7px 12px; border-radius: 8px; margin: 14px 0 6px; }
.yba-ss-shk__chapter:first-child { margin-top: 0; }
.yba-ss-shk__row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 7px 6px; border-bottom: 1px solid var(--ss-line); font-size: 12.5px; }
.yba-ss-shk__rlbl { color: var(--ss-muted); flex: 1 1 auto; min-width: 0; line-height: 1.35; }
.yba-ss-shk__rval { color: var(--ss-navy); font-weight: 800; white-space: nowrap; flex: 0 0 auto; }
.yba-ss-shk__row--total { border-top: 2px solid var(--ss-line); }
.yba-ss-shk__row--total .yba-ss-shk__rlbl { font-weight: 800; color: var(--ss-ink); }
.yba-ss-shk__row--total .yba-ss-shk__rval { font-size: 14px; }
/* כותרת-עמודה עם כמה כפתורים */
.yba-ss-dash__headbtns { display: flex; gap: 6px; flex-wrap: wrap; }
/* תקציב — פרקים מתקפלים (כמו האקסל) */
.yba-ss-bud__sec { border-bottom: 1px solid var(--ss-line); }
.yba-ss-bud__sec > summary { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; padding: 8px 4px; cursor: pointer; list-style: none; }
.yba-ss-bud__sec > summary::-webkit-details-marker { display: none; }
.yba-ss-bud__sec > summary::before { content: "▸"; color: var(--ss-blue); font-size: 10px; transition: transform .12s ease; display: inline-block; }
.yba-ss-bud__sec[open] > summary::before { transform: rotate(90deg); }
.yba-ss-bud__stitle { flex: 1 1 auto; font-size: 12.5px; font-weight: 700; color: var(--ss-ink); }
.yba-ss-bud__stot { font-size: 13px; font-weight: 800; color: var(--ss-navy); white-space: nowrap; }
.yba-ss-bud__lines { padding: 2px 16px 8px; }
.yba-ss-bud__line { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; font-size: 11.5px; color: var(--ss-muted); border-top: 1px dashed var(--ss-line); }
.yba-ss-bud__lval { color: var(--ss-ink); font-weight: 700; white-space: nowrap; }
/* פופאפ "הצג הכל" — טבלאות שקיפות */
.yba-ss-shktables__panel { width: min(1040px, 96vw); }
.yba-ss-shktables__body { padding: 20px 24px; overflow-y: auto; max-height: 76vh; }
.yba-ss-shk__empty { text-align: center; color: var(--ss-muted); font-size: 13px; padding: 14px 8px; }
.yba-ss-shk__empty p { margin: 0 0 12px; }
.yba-ss-shk__chart { background: linear-gradient(160deg, var(--ss-blue-50), #fff); border: 1px solid var(--ss-line); border-radius: 13px; padding: 12px 10px 4px; margin-bottom: 10px; }
.yba-ss-shk__charttitle { font-size: 12.5px; font-weight: 800; color: var(--ss-navy); margin-bottom: 4px; }
.yba-ss-shk__svg { width: 100%; max-width: 300px; height: auto; display: block; margin: 0 auto; }
.yba-ss-shk__tablewrap { overflow-x: auto; margin: 0 0 8px; border: 1px solid var(--ss-line); border-radius: 10px; }
.yba-ss-shk__table { width: 100%; border-collapse: collapse; font-size: 11px; }
.yba-ss-shk__table th { background: var(--ss-blue-50); color: var(--ss-navy); font-weight: 800; padding: 5px 8px; text-align: start; white-space: nowrap; }
.yba-ss-shk__table td { padding: 4px 8px; border-top: 1px solid var(--ss-line); color: var(--ss-ink); white-space: nowrap; }
/* כרטיס-מדד עשיר (ערך + עמודות-השוואה + קווים רב-שנתי + הסבר) — בפורמט שקיפות */
.yba-ss-shk__metric { border: 1px solid var(--ss-line); border-radius: 13px; padding: 12px 12px 6px; margin-bottom: 10px; background: #fff; }
.yba-ss-shk__mhead { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.yba-ss-shk__mname { font-size: 13px; font-weight: 800; color: var(--ss-ink); line-height: 1.3; }
.yba-ss-shk__mval { font-size: 21px; font-weight: 900; color: var(--ss-blue); white-space: nowrap; }
.yba-ss-shk__mchart { margin-top: 2px; }
.yba-ss-shk__mchartt { font-size: 11px; font-weight: 700; color: var(--ss-muted); text-align: center; margin: 8px 0 2px; }
.yba-ss-shk__descr { margin-top: 6px; font-size: 11.5px; color: var(--ss-muted); }
.yba-ss-shk__descr summary { cursor: pointer; color: var(--ss-blue); font-weight: 700; list-style-position: inside; }
.yba-ss-shk__descr > div { margin-top: 5px; line-height: 1.5; }
/* בורר גרף-שקיפות */
.yba-ss-shkpick__panel { width: min(760px, 96vw); }
.yba-ss-shkpick__body { padding: 18px 22px; overflow-y: auto; max-height: 72vh; }
.yba-ss-shkpick__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; margin-bottom: 6px; }
.yba-ss-shkpick__item { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid var(--ss-line); background: #fff; border-radius: 12px; padding: 12px 14px; cursor: pointer; text-align: start; transition: border-color .12s ease, box-shadow .12s ease, transform .1s ease; }
.yba-ss-shkpick__item:hover { border-color: var(--ss-blue); box-shadow: 0 8px 20px rgba(37,99,235,0.16); transform: translateY(-1px); }
.yba-ss-shkpick__iname { font-size: 13px; font-weight: 700; color: var(--ss-ink); line-height: 1.3; }
.yba-ss-shkpick__ival { font-size: 16px; font-weight: 900; color: var(--ss-blue); white-space: nowrap; }
.yba-ss-dash__col { background: #fff; border: 1px solid var(--ss-line); border-radius: 18px; padding: 16px 18px; box-sizing: border-box; height: 520px; display: flex; flex-direction: column; }
.yba-ss-dash__colhead { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; flex: 0 0 auto; }
.yba-ss-dash__sec { margin: 0; font-size: 16px; font-weight: 900; color: var(--ss-ink); }
.yba-ss-dash__count { color: var(--ss-muted); font-weight: 700; font-size: 13px; }
.yba-ss-dash__addwrap { display: inline-flex; flex-direction: column; align-items: flex-end; gap: 3px; }
.yba-ss-dash__draghint { font-size: 10.5px; font-weight: 700; color: var(--ss-muted); white-space: nowrap; }
.yba-ss-dash__miniadd { border: 1px solid var(--ss-blue); background: var(--ss-blue-50); color: var(--ss-blue); border-radius: 999px; padding: 6px 14px; cursor: pointer; font-weight: 800; font-size: 13px; white-space: nowrap; }
.yba-ss-dash__miniadd:hover { background: var(--ss-blue-100); }
.yba-ss-dash__gallery { flex: 1 1 auto; min-height: 0; overflow-y: auto; border: 2px dashed transparent; border-radius: 12px; transition: border-color .12s ease, background .12s ease; }
.yba-ss-dash__gallery.is-dragover { border-color: var(--ss-blue); background: var(--ss-blue-50); }
.yba-ss-dash__gallery.is-dragover::after { content: "שחררו כאן להוספה לגלריה"; position: sticky; bottom: 6px; display: block; text-align: center; font-size: 12px; font-weight: 800; color: var(--ss-blue); }
.yba-ss-dash__gallery .yba-ss-gal { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 8px; }
.yba-ss-dash__preslist { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; gap: 9px; }
.yba-ss-dash__presrow { display: flex; align-items: center; gap: 10px; border: 1px solid var(--ss-line); border-radius: 13px; padding: 12px 14px; cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease, transform .1s ease; }
.yba-ss-dash__presrow:hover { border-color: var(--ss-blue); box-shadow: 0 8px 20px rgba(37,99,235,0.14); transform: translateY(-1px); }
.yba-ss-dash__presrow.is-active { border-color: var(--ss-blue); background: var(--ss-blue-50); }
.yba-ss-dash__presinfo { flex: 1 1 auto; min-width: 0; }
.yba-ss-dash__presname { font-size: 14.5px; font-weight: 800; color: var(--ss-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yba-ss-dash__presmeta { font-size: 12px; color: var(--ss-muted); margin-top: 2px; }
.yba-ss-dash__badge { display: inline-block; font-size: 10.5px; font-weight: 700; color: var(--ss-blue); background: var(--ss-blue-100); border-radius: 999px; padding: 1px 8px; vertical-align: middle; }
.yba-ss-dash__presgo { flex: 0 0 auto; font-size: 13px; font-weight: 800; color: var(--ss-blue); }
@media (max-width: 760px) {
	.yba-ss-dash__herowrap { flex-direction: column; text-align: center; }
	.yba-ss-dash__hero { padding: 24px 20px; }
	.yba-ss-dash__steps { justify-content: center; }
	.yba-ss-dash__page { padding-inline: 18px; }
	.yba-ss-dash__cols { grid-template-columns: 1fr; }
}

/* ══ פאנל הנתונים שלי ══ */
.yba-ss-datapanel__panel { width: min(880px, 96vw); }
.yba-ss-datapanel__body { padding: 22px 24px; overflow-y: auto; }
.yba-ss-datapanel__export { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ss-line); }
.yba-ss-datapanel__exportbtn {
	width: 100%; background: linear-gradient(135deg, #059669, #047857); color: #fff; border: 0; border-radius: 12px;
	padding: 14px 16px; cursor: pointer; font-weight: 800; font-size: 14.5px;
}
.yba-ss-datapanel__exportbtn:disabled { opacity: .6; cursor: default; }
.yba-ss-datapanel__exportnote { margin-top: 8px; font-size: 12px; color: var(--ss-muted); min-height: 16px; }
.yba-ss-datapanel__exportnote a { color: #0f766e; font-weight: 700; }
.yba-ss-datagrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; }
.yba-ss-datacard { border: 1px solid var(--ss-line); border-radius: 14px; padding: 16px; background: #fff; display: flex; flex-direction: column; }
.yba-ss-datacard__t { font-size: 14px; font-weight: 800; color: var(--ss-navy); margin-bottom: 4px; }
.yba-ss-datacard__d { margin: 0 0 12px; font-size: 12px; color: var(--ss-muted); line-height: 1.45; flex: 1 1 auto; }
.yba-ss-datacard__btn { border: 0; border-radius: 11px; padding: 12px 14px; cursor: pointer; font-weight: 800; font-size: 13.5px; background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); color: #fff; }
.yba-ss-datacard__btn--green { background: linear-gradient(135deg, #059669, #047857); }
.yba-ss-datacard__status { margin-top: 8px; font-size: 12px; min-height: 16px; color: var(--ss-muted); }

/* ══ אשף יצירת-מצגת — פלואו מדורג, כפתורים גדולים וטקסט כבד ══ */
.yba-ss-wiz__panel { position: relative; width: min(980px, 96vw); max-height: 92vh; display: flex; flex-direction: column; overflow: hidden; }
.yba-ss-wiz__close { position: absolute; top: 16px; inset-inline-start: 16px; z-index: 4; background: rgba(15,23,42,0.12); color: #0f172a; }
.yba-ss-wiz__close:hover { background: rgba(15,23,42,0.22); }
/* סטפר */
/* כותרת-האשף: אווטר + הסבר + סטפר, על באנר כהה */
.yba-ss-wiz__head { padding: 22px 30px 14px; background: linear-gradient(120deg, rgba(23,37,84,0.90), rgba(37,99,235,0.70)), var(--ss-darkimg) center/cover; color: #fff; }
.yba-ss-wiz__intro { display: flex; align-items: center; gap: 14px; max-width: 620px; margin: 0 auto 16px; }
.yba-ss-wiz__introav { width: 62px; height: 62px; flex: 0 0 auto; border-radius: 50%; overflow: hidden; background: #eceff5; border: 2px solid rgba(255,255,255,0.7); box-shadow: 0 6px 16px rgba(0,0,0,0.3); }
.yba-ss-wiz__introav img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 12%; display: block; }
.yba-ss-wiz__introt { font-size: 17px; font-weight: 900; }
.yba-ss-wiz__introd { font-size: 12.5px; opacity: .9; line-height: 1.45; margin-top: 2px; }
.yba-ss-wiz__stepper { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 0; color: #fff; }
.yba-ss-wiz__step { display: flex; align-items: center; gap: 9px; font-size: 15px; font-weight: 800; opacity: .55; transition: opacity .15s ease; }
.yba-ss-wiz__step.is-on { opacity: 1; }
.yba-ss-wiz__step.is-done { opacity: .9; }
.yba-ss-wiz__num { width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 15px; border: 2px solid transparent; }
.yba-ss-wiz__step.is-on .yba-ss-wiz__num { background: #fff; color: var(--ss-blue); }
.yba-ss-wiz__step.is-done .yba-ss-wiz__num { background: rgba(255,255,255,0.32); border-color: #fff; }
.yba-ss-wiz__line { width: 46px; height: 3px; border-radius: 2px; background: rgba(255,255,255,0.28); }
/* גוף */
.yba-ss-wiz__body { padding: 26px 34px; overflow-y: auto; flex: 1 1 auto; min-height: 260px; }
.yba-ss-wiz__h { margin: 0 0 6px; font-size: 27px; font-weight: 900; letter-spacing: -.4px; color: var(--ss-ink); }
.yba-ss-wiz__sub { margin: 0 0 20px; font-size: 14px; color: var(--ss-muted); line-height: 1.5; }
/* כרטיסי-תבנית גדולים */
.yba-ss-wiz__tpls { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.yba-ss-wiz__tpl { position: relative; text-align: start; border: 2.5px solid var(--ss-line); background: #fff; border-radius: 18px; padding: 18px 0 14px; overflow: hidden; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.yba-ss-wiz__tpl:hover { transform: translateY(-3px); box-shadow: 0 16px 34px rgba(37,99,235,0.2); }
.yba-ss-wiz__tpl.is-on { border-color: var(--ss-blue); box-shadow: 0 0 0 4px rgba(37,99,235,0.16); }
/* מניפת-שקפים — 2-3 שקפים חופפים */
.yba-ss-wiz__fan { position: relative; height: 128px; margin-bottom: 8px; display: flex; align-items: center; justify-content: center; }
.yba-ss-wiz__fanimg { position: absolute; width: 64%; aspect-ratio: 16/9; object-fit: cover; border-radius: 9px; border: 2px solid #fff; background: #eef2f9; box-shadow: 0 8px 20px rgba(15,23,42,0.24); transition: transform .18s ease; }
.yba-ss-wiz__fanimg--0 { z-index: 3; transform: rotate(0deg); }
.yba-ss-wiz__fanimg--1 { z-index: 2; transform: translateX(-17%) rotate(-8deg); }
.yba-ss-wiz__fanimg--2 { z-index: 1; transform: translateX(17%) rotate(8deg); }
.yba-ss-wiz__tpl:hover .yba-ss-wiz__fanimg--1 { transform: translateX(-24%) rotate(-11deg); }
.yba-ss-wiz__tpl:hover .yba-ss-wiz__fanimg--2 { transform: translateX(24%) rotate(11deg); }
.yba-ss-wiz__fanempty { font-size: 40px; color: #94a3b8; }
.yba-ss-wiz__tplname { font-size: 15.5px; font-weight: 800; color: var(--ss-ink); padding: 12px 14px 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yba-ss-wiz__tplmeta { font-size: 12px; color: var(--ss-muted); padding: 0 14px; }
.yba-ss-wiz__tplcheck { position: absolute; top: 10px; inset-inline-end: 10px; width: 30px; height: 30px; border-radius: 50%; background: var(--ss-blue); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; opacity: 0; transform: scale(.6); transition: .15s ease; }
.yba-ss-wiz__tpl.is-on .yba-ss-wiz__tplcheck { opacity: 1; transform: scale(1); }
/* אזור-גרירה גדול */
.yba-ss-wiz__drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; border: 3px dashed var(--ss-blue-100); border-radius: 20px; background: var(--ss-blue-50); padding: 40px 24px; cursor: pointer; text-align: center; transition: .15s ease; }
.yba-ss-wiz__drop:hover, .yba-ss-wiz__drop.is-drag { border-color: var(--ss-blue); background: var(--ss-blue-100); }
.yba-ss-wiz__dropic { font-size: 46px; line-height: 1; }
.yba-ss-wiz__dropt { font-size: 18px; font-weight: 900; color: var(--ss-navy); }
.yba-ss-wiz__dropd { font-size: 13px; color: var(--ss-muted); }
.yba-ss-wiz__datarow { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 18px; }
.yba-ss-wiz__databtn { flex: 1 1 200px; border: 0; border-radius: 14px; padding: 16px 18px; cursor: pointer; font-weight: 800; font-size: 15px; background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); color: #fff; }
.yba-ss-wiz__databtn--green { background: linear-gradient(135deg, #059669, #047857); }
.yba-ss-wiz__databtn:disabled { opacity: .6; cursor: default; }
.yba-ss-wiz__datastatus { margin-top: 12px; font-size: 13px; min-height: 18px; color: var(--ss-muted); font-weight: 600; }
/* מסך היצירה */
.yba-ss-wiz__ready { text-align: center; padding: 20px 10px; }
.yba-ss-wiz__readyic { font-size: 64px; line-height: 1; margin-bottom: 6px; }
.yba-ss-wiz__ready .yba-ss-wiz__h { font-size: 30px; }
.yba-ss-wiz__summary { max-width: 380px; margin: 22px auto 0; display: flex; flex-direction: column; gap: 10px; }
.yba-ss-wiz__sumrow { display: flex; justify-content: space-between; align-items: center; background: var(--ss-blue-50); border: 1px solid var(--ss-line); border-radius: 12px; padding: 13px 16px; font-size: 14px; color: var(--ss-muted); }
.yba-ss-wiz__sumrow b { color: var(--ss-ink); font-weight: 800; font-size: 15px; }
/* גרסאות קודמות מהתבנית — בחירה בין המשך-קיימת ליצירה-חדשה */
.yba-ss-wiz__prev { max-width: 560px; margin: 8px auto 0; text-align: center; }
.yba-ss-wiz__prevlist { display: flex; flex-direction: column; gap: 10px; margin-top: 14px; text-align: start; }
.yba-ss-wiz__prevrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; width: 100%; border: 1.5px solid var(--ss-line); border-radius: 14px; padding: 14px 18px; background: #fff; cursor: pointer; transition: border-color .12s ease, box-shadow .12s ease, transform .1s ease; text-align: start; }
.yba-ss-wiz__prevrow:hover { border-color: var(--ss-blue); box-shadow: 0 10px 24px rgba(37,99,235,0.16); transform: translateY(-2px); }
.yba-ss-wiz__previnfo { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.yba-ss-wiz__previnfo b { font-size: 16px; font-weight: 800; color: var(--ss-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yba-ss-wiz__prevmeta { font-size: 12.5px; color: var(--ss-muted); font-weight: 600; }
.yba-ss-wiz__prevgo { flex: 0 0 auto; color: var(--ss-blue); font-weight: 900; font-size: 14px; white-space: nowrap; }
.yba-ss-wiz__prevor { position: relative; margin: 22px auto 4px; color: var(--ss-muted); font-weight: 800; font-size: 13px; }
.yba-ss-wiz__prevor::before, .yba-ss-wiz__prevor::after { content: ""; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--ss-line); }
.yba-ss-wiz__prevor::before { inset-inline-start: 0; }
.yba-ss-wiz__prevor::after { inset-inline-end: 0; }
.yba-ss-wiz__prevor span { background: #fff; padding: 0 12px; }
.yba-ss-wiz__prev + .yba-ss-wiz__ready { padding-top: 4px; }
.yba-ss-wiz__prev + .yba-ss-wiz__ready .yba-ss-wiz__readyic { font-size: 46px; }
.yba-ss-wiz__prev + .yba-ss-wiz__ready .yba-ss-wiz__h { font-size: 22px; }
/* פוטר — כפתורים גדולים */
.yba-ss-wiz__foot { display: flex; align-items: center; gap: 12px; padding: 16px 34px 22px; border-top: 1px solid var(--ss-line); background: #fff; }
.yba-ss-wiz__footgap { flex: 1 1 auto; }
.yba-ss-wiz__btn { border: 0; border-radius: 14px; padding: 16px 26px; cursor: pointer; font-weight: 900; font-size: 16px; transition: transform .1s ease, box-shadow .12s ease, filter .12s ease; }
.yba-ss-wiz__btn:disabled { opacity: .5; cursor: default; }
.yba-ss-wiz__btn--ghost { background: #f1f5f9; color: var(--ss-ink); }
.yba-ss-wiz__btn--ghost:hover { background: #e2e8f0; }
.yba-ss-wiz__btn--primary { background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); color: #fff; box-shadow: 0 10px 24px rgba(37,99,235,0.32); }
.yba-ss-wiz__btn--primary:not(:disabled):hover { transform: translateY(-2px); }
.yba-ss-wiz__btn--create { background: linear-gradient(135deg, #10b981, #047857); color: #fff; font-size: 17px; padding: 17px 32px; box-shadow: 0 12px 28px rgba(5,150,105,0.4); }
.yba-ss-wiz__btn--create:hover { transform: translateY(-2px); }
@media (max-width: 640px) {
	.yba-ss-wiz__slbl { display: none; }
	.yba-ss-wiz__line { width: 26px; }
	.yba-ss-wiz__body, .yba-ss-wiz__foot { padding-inline: 20px; }
	.yba-ss-wiz__btn { padding: 14px 18px; font-size: 15px; }
}

/* ── גוף ─────────────────────────────────────────────────────────── */
.yba-ss-body { flex: 1 1 auto; min-height: 0; display: flex; direction: ltr; } /* סדר-עמודות פיזי */

/* פס-אייקונים (שמאל) */
.yba-ss-rail {
	position: relative;
	flex: 0 0 88px;
	direction: rtl;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	padding: 18px 8px;
	background: linear-gradient(180deg, var(--ss-navy) 0%, var(--ss-navy-d) 100%);
	z-index: 6;
}
.yba-ss-rail__btn {
	width: 70px; display: flex; flex-direction: column; align-items: center; gap: 5px;
	padding: 11px 4px; border: 0; border-radius: 16px;
	background: rgba(255,255,255,0.10); color: #eaf1ff; cursor: pointer;
	transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
}
.yba-ss-rail__btn:hover { background: rgba(255,255,255,0.22); transform: translateY(-2px); }
.yba-ss-rail__btn.is-active { background: #fff; color: var(--ss-blue); box-shadow: 0 6px 18px rgba(0,0,0,0.22); }
.yba-ss-rail__ico { font-size: 27px; line-height: 1; display: flex; align-items: center; justify-content: center; }
.yba-ss-rail__svg { width: 40px; height: 40px; display: block; filter: drop-shadow(0 3px 5px rgba(0,0,0,0.35)); transition: transform .12s ease; }
.yba-ss-rail__btn:hover .yba-ss-rail__svg { transform: translateY(-1px) scale(1.06); }
.yba-ss-rail__lbl { font-size: 11.5px; font-weight: 700; }

/* מגירה צפה — יוצאת מהאייקון (transform-origin שמאל) */
.yba-ss-pop {
	position: fixed;
	left: 92px;                       /* צמוד לימין פס-האייקונים */
	width: 300px;
	max-height: 74vh;
	direction: rtl;
	background: #fff;
	border: 1px solid var(--ss-line);
	border-radius: 16px;
	box-shadow: 0 18px 44px rgba(23, 37, 84, 0.28);
	z-index: 40;
	display: flex; flex-direction: column;
	transform-origin: left center;
	animation: yba-ss-pop-in .15s cubic-bezier(.2,.9,.3,1.2);
}
.yba-ss-pop[hidden] { display: none; }
.yba-ss-pop--data { width: 336px; }   /* מגירות-נתונים (תקציב/שקיפות) — מעט רחבות יותר לגרפים ולפירוט */
.yba-ss-pop::before {  /* חץ קטן לכיוון האייקון */
	content: ''; position: absolute; left: -7px; top: 26px;
	width: 14px; height: 14px; background: #fff; border-left: 1px solid var(--ss-line); border-bottom: 1px solid var(--ss-line);
	transform: rotate(45deg);
}
@keyframes yba-ss-pop-in { from { opacity: 0; transform: scale(.85) translateX(-8px); } to { opacity: 1; transform: none; } }
.yba-ss-pop.is-slot-anchored { transform-origin: center; }
.yba-ss-pop.is-slot-anchored::before { display: none; } /* מעוגן-לסלוט — בלי חץ-הרייל */
/* הסלוט שהגלריה נפתחה עבורו — הדגשה שמחברת ויזואלית */
.yba-ss-ovbox.is-picking, .ybse-hit.is-picking { border: 2px solid var(--ss-blue) !important; box-shadow: 0 0 0 3px rgba(37,99,235,0.35), 0 0 0 9999px rgba(15,23,42,0.12); animation: yba-ss-pick 1.1s ease infinite; z-index: 4; }
@keyframes yba-ss-pick { 0%,100% { box-shadow: 0 0 0 3px rgba(37,99,235,0.4), 0 0 0 9999px rgba(15,23,42,0.12); } 50% { box-shadow: 0 0 0 6px rgba(37,99,235,0.2), 0 0 0 9999px rgba(15,23,42,0.12); } }
.yba-ss-pop__head { display: flex; align-items: center; justify-content: space-between; padding: 13px 15px; border-bottom: 1px solid var(--ss-line); font-size: 14px; font-weight: 800; color: var(--ss-navy); }
.yba-ss-pop__headtools { display: inline-flex; align-items: center; gap: 6px; }
.yba-ss-pop__close { border: 0; background: transparent; font-size: 22px; line-height: 1; color: var(--ss-muted); cursor: pointer; }
.yba-ss-pop__close:hover { color: var(--ss-ink); }
.yba-ss-pop__add {
	width: 28px; height: 28px; border: 0; border-radius: 9px;
	background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); color: #fff;
	font-size: 18px; font-weight: 800; line-height: 1; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center;
	box-shadow: 0 3px 9px rgba(37,99,235,0.4); transition: transform .1s ease;
}
.yba-ss-pop__add:hover { transform: scale(1.1) rotate(90deg); }

/* מסמכים */
.yba-ss-docs { display: flex; flex-direction: column; gap: 7px; }
.yba-ss-doc { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border: 1px solid var(--ss-line); border-radius: 10px; background: var(--ss-blue-50); text-decoration: none; color: var(--ss-ink); transition: border-color .12s ease, transform .1s ease; }
.yba-ss-doc:hover { border-color: var(--ss-blue); transform: translateY(-1px); }
.yba-ss-doc__ico { font-size: 20px; }
.yba-ss-doc__name { font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yba-ss-pop__body { padding: 12px; overflow-y: auto; }
.yba-ss-pop__note { font-size: 13px; line-height: 1.6; color: var(--ss-muted); }

/* גלריה — תמונות קטנות בתוך המגירה הצפה */
.yba-ss-gal { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.yba-ss-gal__item {
	border: 1px solid var(--ss-line); border-radius: 9px; overflow: hidden; cursor: pointer;
	aspect-ratio: 1 / 1; background: #f1f5f9; padding: 0;
	display: flex; align-items: center; justify-content: center; font-size: 9px; color: var(--ss-muted);
}
.yba-ss-gal__item:hover { border-color: var(--ss-blue); box-shadow: 0 3px 10px rgba(37,99,235,0.28); }
.yba-ss-gal__item { position: relative; }
.yba-ss-gal__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.yba-ss-gal__x, .yba-ss-gal__i {
	position: absolute; top: 3px; width: 20px; height: 20px; border: 0; border-radius: 50%;
	font-size: 12px; line-height: 1; cursor: pointer; display: none; align-items: center; justify-content: center;
	color: #fff; padding: 0;
}
.yba-ss-gal__x { inset-inline-start: 3px; background: rgba(220,38,38,0.9); }
.yba-ss-gal__i { inset-inline-end: 3px; background: rgba(37,99,235,0.9); }
.yba-ss-gal__item:hover .yba-ss-gal__x, .yba-ss-gal__item:hover .yba-ss-gal__i { display: flex; }

/* מודאל פירוט-תמונה */
.yba-ss-galdetail {
	position: fixed; inset: 0; z-index: 70; direction: rtl;
	background: rgba(15,23,42,0.6); backdrop-filter: blur(3px);
	display: flex; align-items: center; justify-content: center; padding: 30px;
	animation: yba-ss-fade .15s ease;
}
.yba-ss-galdetail[hidden] { display: none; }
.yba-ss-galdetail__panel {
	position: relative; width: min(560px, 94vw); max-height: 90vh; overflow: auto;
	background: #fff; border-radius: 18px; box-shadow: 0 30px 80px rgba(15,23,42,0.5);
	animation: yba-ss-home-in .18s cubic-bezier(.2,.9,.3,1.1);
}
.yba-ss-galdetail__close {
	position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
	width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(15,23,42,0.55); color: #fff;
	font-size: 22px; line-height: 1; cursor: pointer;
}
.yba-ss-galdetail__imgwrap { background: #0f172a; display: flex; align-items: center; justify-content: center; max-height: 56vh; border-radius: 18px 18px 0 0; overflow: hidden; }
.yba-ss-galdetail__img { max-width: 100%; max-height: 56vh; object-fit: contain; display: block; }
.yba-ss-galdetail__body { padding: 18px 20px; }
.yba-ss-galdetail__lbl { display: block; font-size: 13px; font-weight: 800; color: var(--ss-navy); margin-bottom: 7px; }
.yba-ss-galdetail__desc { width: 100%; border: 1px solid var(--ss-line); border-radius: 10px; padding: 10px 12px; font-size: 14px; font-family: inherit; resize: vertical; box-sizing: border-box; }
.yba-ss-galdetail__desc:focus { outline: none; border-color: var(--ss-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.yba-ss-galdetail__actions { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.yba-ss-galdetail__btn { border: 1px solid var(--ss-line); border-radius: 10px; padding: 9px 15px; font-size: 13px; font-weight: 700; font-family: inherit; cursor: pointer; background: var(--ss-blue-50); color: var(--ss-navy); }
.yba-ss-galdetail__btn:hover { background: var(--ss-blue-100); }
.yba-ss-galdetail__btn--use { background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); color: #fff; border-color: transparent; }
.yba-ss-galdetail__btn--del { background: #fef2f2; color: #dc2626; border-color: rgba(220,38,38,0.2); margin-inline-start: auto; }

/* מידע-לקוח */
.yba-ss-info { display: flex; flex-direction: column; gap: 6px; }
.yba-ss-info__row { display: flex; justify-content: space-between; gap: 10px; padding: 7px 9px; border: 1px solid var(--ss-line); border-radius: 8px; background: var(--ss-blue-50); font-size: 12px; }
.yba-ss-info__key { font-weight: 700; color: #334155; word-break: break-word; }
.yba-ss-info__val { color: var(--ss-blue); text-align: start; word-break: break-word; }

/* ── מרכז — שקופית ────────────────────────────────────────────────── */
.yba-ss-center { flex: 1 1 auto; direction: rtl; display: flex; flex-direction: column; min-width: 0; padding: 12px 20px 18px; }

/* סרגל-כלים מעל השקופית — כפתורים כבדים, מעוגלים ומעוצבים */
.yba-ss-toolbar {
	flex: 0 0 auto;
	align-self: center;
	width: 100%;
	max-width: min(100%, calc((100vh - 230px) * 1.7778));
	display: flex; align-items: center; gap: 8px;
	background: linear-gradient(180deg, #fff, #f7f9fd);
	border: 1px solid var(--ss-line); border-radius: 16px;
	padding: 9px 12px; margin-bottom: 12px;
	box-shadow: 0 6px 20px rgba(30,58,138,0.10);
}
.yba-ss-tb {
	height: 40px; min-width: 40px; padding: 0 14px;
	border: 1px solid rgba(37,99,235,0.14); border-radius: 12px;
	background: linear-gradient(180deg, #eff5ff, #dbe8ff);
	color: var(--ss-navy);
	font-size: 17px; font-weight: 800; cursor: pointer;
	display: inline-flex; align-items: center; justify-content: center; gap: 6px;
	box-shadow: 0 2px 5px rgba(30,58,138,0.10), inset 0 1px 0 rgba(255,255,255,0.7);
	transition: transform .1s ease, box-shadow .12s ease, filter .12s ease;
}
.yba-ss-tb--wide { font-size: 14px; padding: 0 16px; }
.yba-ss-tb:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(37,99,235,0.22); filter: brightness(1.03); }
.yba-ss-tb:active { transform: translateY(0); }
.yba-ss-tb:disabled { opacity: .4; cursor: default; transform: none; box-shadow: none; }
.yba-ss-tb--primary {
	background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy));
	color: #fff; border-color: transparent; font-size: 14.5px; padding: 0 18px;
	box-shadow: 0 4px 14px rgba(37,99,235,0.4);
}
.yba-ss-tb--primary:hover { box-shadow: 0 8px 22px rgba(37,99,235,0.5); }
.yba-ss-tb--danger { background: linear-gradient(180deg, #fff1f1, #ffe1e1); color: #dc2626; border-color: rgba(220,38,38,0.18); }
.yba-ss-tb--danger:hover { box-shadow: 0 8px 18px rgba(220,38,38,0.22); }
.yba-ss-tb-sep { width: 1px; height: 26px; background: var(--ss-line); margin: 0 4px; }
.yba-ss-stagewrap { flex: 1 1 auto; min-height: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; }
.yba-ss-stage-host {
	width: 100%;
	max-width: min(100%, calc((100vh - 230px) * 1.7778));
	aspect-ratio: 16 / 9;
	border-radius: 14px; background: #fff;
	box-shadow: 0 12px 40px rgba(30, 58, 138, 0.16);
	overflow: hidden; display: flex; align-items: center; justify-content: center; position: relative;
}
.yba-ss-stage-host .yba-stage { border-radius: 14px; }
.yba-ss-stage-placeholder { color: #94a3b8; font-size: 14px; padding: 20px; text-align: center; }
.yba-ss-stage-caption { flex: 0 0 auto; font-size: 13.5px; font-weight: 700; color: #334155; min-height: 18px; text-align: center; }
.yba-ss-stage-caption.is-saving { color: var(--ss-blue); }

/* מטרת השקף — כרטיס מתחת לשקופית */
.yba-ss-purpose {
	flex: 0 0 auto;
	align-self: center;
	width: 100%;
	max-width: min(100%, calc((100vh - 230px) * 1.7778));
	display: flex; align-items: flex-start; gap: 9px;
	margin-top: 10px; padding: 11px 15px;
	background: linear-gradient(180deg, var(--ss-blue-50), #fff);
	border: 1px solid var(--ss-blue-100); border-radius: 12px;
	box-shadow: 0 3px 10px rgba(37,99,235,0.08);
}
.yba-ss-purpose[hidden] { display: none; }
.yba-ss-purpose__ico { font-size: 18px; line-height: 1.4; }
.yba-ss-purpose__txt { font-size: 13.5px; line-height: 1.55; color: #1e3a5c; font-weight: 600; }

/* ── טור תצוגה-מקדימה (בין שקופית לצ'אט) ──────────────────────────── */
.yba-ss-thumbs-col {
	flex: 0 0 154px;
	direction: rtl;
	display: flex; flex-direction: column; gap: 9px;
	overflow-y: auto; overflow-x: hidden;
	padding: 16px 10px;
	background: #f7f9fd;
	border-inline: 1px solid var(--ss-line);
}
.yba-ss-thumbs__loading { font-size: 12px; color: var(--ss-muted); padding: 6px; text-align: center; }
.yba-ss-thumb {
	flex: 0 0 auto; width: 100%; aspect-ratio: 16 / 9;
	border-radius: 9px; border: 2px solid transparent;
	background: #fff center / cover no-repeat; cursor: pointer; position: relative;
	box-shadow: 0 1px 4px rgba(15,23,42,0.10);
	transition: transform .1s ease, border-color .1s ease, box-shadow .1s ease;
	overflow: hidden;
}
.yba-ss-thumb:hover { transform: translateY(-1px) scale(1.02); box-shadow: 0 4px 12px rgba(37,99,235,0.20); }
.yba-ss-thumb.is-active { border-color: var(--ss-blue); box-shadow: 0 4px 14px rgba(37,99,235,0.35); }
.yba-ss-thumb__num { position: absolute; top: 4px; inset-inline-start: 4px; background: rgba(30,58,138,0.82); color: #fff; font-size: 10px; font-weight: 700; border-radius: 5px; padding: 1px 6px; }
.yba-ss-thumb__empty { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 10px; background: #f1f5f9; }
/* ➕ בין שקופיות: אזור-ריחוף דק שמגלה כפתור הוספת-שקף (חופשי ללקוח) */
.yba-ss-thumb-gap { flex: 0 0 auto; height: 12px; margin: -8px 0; position: relative; z-index: 2; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .12s ease; }
.yba-ss-thumb-gap:hover, .yba-ss-thumb-gap:focus-within { opacity: 1; }
.yba-ss-thumb-gap::before { content: ""; position: absolute; inset-inline: 6px; top: 50%; height: 2px; transform: translateY(-50%); background: var(--ss-blue); border-radius: 2px; opacity: .45; }
.yba-ss-thumb-gap__btn {
	position: relative; width: 22px; height: 22px; border: 0; border-radius: 50%;
	background: var(--ss-blue); color: #fff; font-size: 15px; font-weight: 800; line-height: 1;
	cursor: pointer; display: flex; align-items: center; justify-content: center;
	box-shadow: 0 3px 8px rgba(37,99,235,0.45); transition: transform .1s ease;
}
.yba-ss-thumb-gap__btn:hover { transform: scale(1.18); }
.yba-ss-thumb-gap__btn:disabled { opacity: .6; cursor: default; }

/* ── צ'אט מודרני (ימין) ───────────────────────────────────────────── */
.yba-ss-chat { flex: 0 0 356px; direction: rtl; display: flex; flex-direction: column; background: #fff; border-inline-start: 1px solid var(--ss-line); box-shadow: -3px 0 16px rgba(30,58,138,0.06); z-index: 4; }
.yba-ss-chat__head { flex: 0 0 auto; display: flex; align-items: center; gap: 11px; padding: 14px 18px; background: linear-gradient(90deg, var(--ss-blue-50), #fff); border-bottom: 1px solid var(--ss-line); }
.yba-ss-chat__avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 10px rgba(37,99,235,0.3); }
.yba-ss-chat__headtext { display: flex; flex-direction: column; line-height: 1.2; }
.yba-ss-chat__title { font-size: 15.5px; font-weight: 800; color: var(--ss-ink); }
.yba-ss-chat__subtitle { font-size: 12px; color: var(--ss-muted); display: flex; align-items: center; gap: 5px; }
.yba-ss-chat__online { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.yba-ss-chat__history { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 18px 16px; display: flex; flex-direction: column; gap: 12px; background: linear-gradient(180deg, #f8faff, #f2f6fd); }
.yba-ss-bubble { max-width: 84%; padding: 11px 14px; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; position: relative; animation: yba-ss-bubble-in .18s ease; box-shadow: 0 1px 3px rgba(15,23,42,0.07); }
@keyframes yba-ss-bubble-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.yba-ss-bubble--bot { align-self: flex-start; background: linear-gradient(135deg, var(--ss-blue), #1d4ed8); color: #fff; border-radius: 16px 16px 16px 5px; }
.yba-ss-bubble--user { align-self: flex-end; background: #fff; color: var(--ss-ink); border: 1px solid var(--ss-line); border-radius: 16px 16px 5px 16px; }
.yba-ss-bubble--typing { color: #e0e7ff; font-style: italic; }

/* מחבר-הודעה */
.yba-ss-chat__composer { flex: 0 0 auto; border-top: 1px solid var(--ss-line); padding: 10px 12px 12px; background: #fff; }
.yba-ss-chat__attachrow { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.yba-ss-chat__attachrow[hidden] { display: none; }
.yba-ss-chip { display: inline-flex; align-items: center; gap: 6px; background: var(--ss-blue-50); border: 1px solid var(--ss-blue-100); color: var(--ss-blue); border-radius: 999px; padding: 3px 10px; font-size: 12px; }
.yba-ss-chip button { border: 0; background: transparent; color: var(--ss-blue); cursor: pointer; font-size: 14px; line-height: 1; }
.yba-ss-chat__inputrow { display: flex; align-items: center; gap: 7px; background: var(--ss-bg); border: 1px solid var(--ss-line); border-radius: 999px; padding: 5px 6px 5px 12px; }
.yba-ss-chat__inputrow:focus-within { border-color: var(--ss-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.14); background: #fff; }
.yba-ss-chat__tool { flex: 0 0 auto; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; font-size: 17px; cursor: pointer; color: var(--ss-muted); display: flex; align-items: center; justify-content: center; transition: background .12s ease, color .12s ease; }
.yba-ss-chat__tool:hover { background: var(--ss-blue-50); color: var(--ss-blue); }
.yba-ss-chat__tool.is-recording { background: #fee2e2; color: #dc2626; animation: yba-ss-pulse 1s infinite; }
@keyframes yba-ss-pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(220,38,38,0.4);} 50% { box-shadow: 0 0 0 6px rgba(220,38,38,0);} }
.yba-ss-chat__input { flex: 1 1 auto; min-width: 0; border: 0; background: transparent; font-size: 14px; font-family: inherit; padding: 6px 2px; }
.yba-ss-chat__input:focus { outline: none; }
.yba-ss-chat__send { flex: 0 0 auto; width: 40px; height: 40px; border: 0; border-radius: 50%; background: linear-gradient(135deg, var(--ss-blue), var(--ss-navy)); color: #fff; font-size: 16px; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 10px rgba(37,99,235,0.35); transition: transform .1s ease; }
.yba-ss-chat__send:hover { transform: scale(1.06); }
.yba-ss-chat__send:disabled { background: #94a3b8; box-shadow: none; cursor: default; }

/* ── שכבת-עריכה על הבמה ────────────────────────────────────────────── */
.yba-ss-ov { position: absolute; inset: 0; z-index: 3; }
.yba-ss-ovbox { position: absolute; box-sizing: border-box; border: 1px solid transparent; border-radius: 5px; cursor: pointer; transition: background .1s ease, border-color .1s ease; }
.yba-ss-ovbox:hover { background: rgba(37,99,235,0.08); border-color: rgba(37,99,235,0.4); }
.yba-ss-ovbox.is-selected { border: 2px solid var(--ss-blue); background: rgba(37,99,235,0.06); cursor: move; box-shadow: 0 0 0 2px rgba(37,99,235,0.18); }
/* עריכת-טקסט במקום — הלקוח כותב על השדה עצמו */
.yba-ss-ovbox.is-editing {
	border: 2px solid var(--ss-blue); background: #fff; cursor: text;
	display: flex; align-items: center; justify-content: center; text-align: center;
	color: #0f172a; font-weight: 600; line-height: 1.25; padding: 2% 4%;
	box-shadow: 0 0 0 3px rgba(37,99,235,0.2); z-index: 5;
}
.yba-ss-ovbox.is-editing:focus { outline: none; }
/* אלמנטים שהלקוח הוסיף (authored) — מרונדרים בתוך שכבת-העריכה (לא בתמונת-הרנדר) */
.yba-ss-ovbox.is-authored { border-color: rgba(37,99,235,0.5); border-style: dashed; }
.yba-ss-ovbox.is-authored.is-selected { border-style: solid; }
.yba-ss-auth { position: absolute; inset: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.yba-ss-auth--text { padding: 4% 6%; color: #0f172a; font-weight: 700; text-align: center; line-height: 1.25; word-break: break-word; }
.yba-ss-auth--img { background-position: center; background-size: cover; background-repeat: no-repeat; }
.yba-ss-auth--imgph { flex-direction: column; gap: 4px; color: var(--ss-blue); background: var(--ss-blue-50); font-size: 12px; font-weight: 700; }
.yba-ss-auth--chart { align-items: flex-end; gap: 6%; padding: 8% 6% 6%; }
.yba-ss-auth--chart span { flex: 1; border-radius: 2px 2px 0 0; }
/* טבלת-נתונים בשכבת-העריכה — אותה טבלה שהייצוא מצייר בגוגל. */
.yba-ss-auth--table { align-items: stretch; padding: 0; }
.yba-ss-tbl { width: 100%; border-collapse: collapse; table-layout: fixed; }
.yba-ss-tbl td { padding: 0.6% 1.2%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.yba-ss-h { position: absolute; width: 13px; height: 13px; background: #fff; border: 2px solid var(--ss-blue); border-radius: 50%; z-index: 4; }
.yba-ss-h--nw { top: -7px; inset-inline-start: -7px; cursor: nwse-resize; }
.yba-ss-h--ne { top: -7px; inset-inline-end: -7px; cursor: nesw-resize; }
.yba-ss-h--sw { bottom: -7px; inset-inline-start: -7px; cursor: nesw-resize; }
.yba-ss-h--se { bottom: -7px; inset-inline-end: -7px; cursor: nwse-resize; }
.yba-ss-fieldedit { position: absolute; inset-inline-end: 12px; bottom: 12px; width: min(340px, 62%); background: #fff; border: 1px solid var(--ss-line); border-radius: 14px; box-shadow: 0 12px 34px rgba(30,58,138,0.25); padding: 12px; z-index: 6; direction: rtl; }
.yba-ss-fieldedit__lbl { font-size: 12px; font-weight: 800; color: var(--ss-blue); margin-bottom: 6px; }
.yba-ss-fieldedit__ta { width: 100%; border: 1px solid var(--ss-line); border-radius: 8px; padding: 8px 10px; font-size: 14px; font-family: inherit; resize: vertical; box-sizing: border-box; }
.yba-ss-fieldedit__ta:focus { outline: none; border-color: var(--ss-blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.15); }
.yba-ss-fieldedit__hint { font-size: 11px; color: #94a3b8; margin-top: 5px; }
.yba-ss-fieldedit__imgbtn { width: 100%; padding: 10px; border: 1px dashed var(--ss-blue); border-radius: 8px; background: var(--ss-blue-50); color: var(--ss-blue); font-weight: 700; font-size: 13px; cursor: pointer; }
.yba-ss-fieldedit__imgbtn:hover { background: var(--ss-blue-100); }
.yba-ss-fieldedit__close { margin-top: 8px; padding: 6px 14px; border: 0; border-radius: 8px; background: var(--ss-blue); color: #fff; font-weight: 700; font-size: 13px; cursor: pointer; }

@media (max-width: 1180px) {
	.yba-ss-chat { flex-basis: 310px; }
	.yba-ss-thumbs-col { flex-basis: 128px; }
}

/* ── עורך-השקפים המשותף (#17) על הבמה: חיבור לשפת-הסטודיו ── */
.yba-ss-editorbar { margin: 0 0 8px; }
.yba-ss-stage-host .ybse-hit { z-index: 3; }
.yba-ss-stage-host .ybse-hit.is-authored { border-color: rgba(37,99,235,0.5); border-style: dashed; }
.yba-ss-stage-host .ybse-hit.is-authored.is-sel { border-style: solid; }
.yba-ss-stage-host .ybse-hit.is-editing {
	border: 2px solid var(--ss-blue); background: #fff; cursor: text;
	display: flex; align-items: center; justify-content: center; text-align: center;
	color: #0f172a; font-weight: 600; line-height: 1.25; padding: 2% 4%;
	box-shadow: 0 0 0 3px rgba(37,99,235,0.2); z-index: 5;
}
.yba-ss-stage-host .ybse-hit.is-editing:focus { outline: none; }

/* ── עורך-נתוני-גרף בלחיצה (טבלה חיה על הקנווס) ── */
.yba-ss-charted { position: fixed; inset: 0; z-index: 100000; background: rgba(15,23,42,0.45); display: flex; align-items: center; justify-content: center; }
.yba-ss-charted[hidden] { display: none !important; } /* flex לא דורס hidden */
.yba-ss-charted__panel { position: relative; background: #fff; border-radius: 14px; box-shadow: 0 24px 64px rgba(2,6,23,0.35); padding: 18px 18px 14px; max-width: min(760px, 92vw); max-height: 82vh; overflow: auto; direction: rtl; }
.yba-ss-charted__close { position: absolute; top: 8px; left: 8px; border: 0; background: #f1f5f9; color: #334155; width: 28px; height: 28px; border-radius: 999px; cursor: pointer; font-size: 13px; }
.yba-ss-charted__close:hover { background: #e2e8f0; }
.yba-ss-charted .yba-chart-data-editor__title { font-size: 15px; font-weight: 700; color: #0f172a; margin: 0 0 4px; }
.yba-ss-charted .yba-chart-data-editor__source { font-size: 12px; color: #64748b; margin-bottom: 8px; }
.yba-ss-charted .yba-chart-data-editor__scroll { overflow-x: auto; margin-bottom: 10px; }
.yba-ss-charted .yba-chart-data-editor__table { border-collapse: collapse; }
.yba-ss-charted .yba-chart-data-editor__table th, .yba-ss-charted .yba-chart-data-editor__table td { border: 1px solid #e2e8f0; padding: 2px; }
.yba-ss-charted .yba-chart-data-editor__table input { border: 0; padding: 6px 8px; font-size: 13px; width: 92px; text-align: center; background: transparent; }
.yba-ss-charted .yba-chart-data-editor__table input:focus { outline: 2px solid #2563eb; border-radius: 4px; background: #eff6ff; }
.yba-ss-charted .yba-chart-data-editor__sername { font-weight: 600; }
.yba-ss-charted .yba-chart-data-editor__save { background: #2563eb; color: #fff; border: 0; border-radius: 8px; padding: 8px 16px; cursor: pointer; font-size: 13px; }
.yba-ss-charted .yba-chart-data-editor__save:hover { background: #1d4ed8; }
.yba-ss-charted .yba-chart-data-editor__status { display: inline-block; margin-inline-start: 10px; font-size: 12px; color: #16a34a; }
.yba-ss-charted .yba-chart-data-editor__hint { font-size: 11.5px; color: #94a3b8; margin: 8px 0 0; }

/* ── בורר-אייקונים (לחיצה על סלוט-אייקון) ── */
.yba-ss-iconpk { position: fixed; inset: 0; z-index: 100000; background: rgba(15,23,42,0.45); display: flex; align-items: center; justify-content: center; }
.yba-ss-iconpk[hidden] { display: none !important; }
.yba-ss-iconpk__panel { position: relative; background: #fff; border-radius: 14px; box-shadow: 0 24px 64px rgba(2,6,23,0.35); padding: 18px; width: min(640px, 92vw); max-height: 80vh; display: flex; flex-direction: column; direction: rtl; }
.yba-ss-iconpk__close { position: absolute; top: 8px; left: 8px; border: 0; background: #f1f5f9; color: #334155; width: 28px; height: 28px; border-radius: 999px; cursor: pointer; font-size: 13px; }
.yba-ss-iconpk__close:hover { background: #e2e8f0; }
.yba-ss-iconpk__title { font-size: 15px; font-weight: 700; color: #0f172a; margin-bottom: 10px; }
.yba-ss-iconpk__bar { display: flex; gap: 8px; margin-bottom: 10px; }
.yba-ss-iconpk__search { flex: 1; border: 1px solid #e2e8f0; border-radius: 8px; padding: 8px 10px; font-size: 13px; }
.yba-ss-iconpk__search:focus { outline: 2px solid #2563eb; }
.yba-ss-iconpk__gen { border: 0; background: linear-gradient(135deg, #7c3aed, #2563eb); color: #fff; border-radius: 8px; padding: 8px 12px; font-size: 12.5px; cursor: pointer; white-space: nowrap; }
.yba-ss-iconpk__gen:hover { filter: brightness(1.08); }
.yba-ss-iconpk__grid { overflow-y: auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 8px; padding: 2px; }
.yba-ss-iconpk__item { border: 1px solid #eef2f7; background: #fff; border-radius: 10px; padding: 8px; cursor: pointer; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.yba-ss-iconpk__item:hover { border-color: #2563eb; box-shadow: 0 2px 10px rgba(37,99,235,0.18); }
.yba-ss-iconpk__item img { max-width: 100%; max-height: 100%; object-fit: contain; }
.yba-ss-iconpk__loading { grid-column: 1 / -1; text-align: center; color: #94a3b8; font-size: 13px; padding: 22px 0; }
.yba-ss-iconpk__status { min-height: 18px; font-size: 12px; color: #7c3aed; margin-top: 8px; }
