/*
 * הדשבורד במבנה האיזומטרי (15.11.2026) — בית · המידע שלי · הגלריה · המצגות שלי.
 * שפת-העיצוב מאיג'נט-המכרזים: משטח לבן על רקע בהיר, דיו כחול-כהה, מבטא אחד לפעולות, צבעי-מצב סמנטיים, איור איזומטרי
 * אחד ברור בכל אזור. רוחב-הקריאה מוגבל (1200) — המידע לא נמרח על כל המסך.
 * namespace: yba-hx-. רכיבים ותיקים (שורת-מצגת, דרישת-רשת, לוח-שקיפות, צינור-הקליטה) ממשיכים לחיות מ-yba-studio-slides.css.
 */
.yba-ss-dash {
	--hx-bg: #F2F5FA; --hx-surface: #FFFFFF; --hx-surface-2: #F7F9FC; --hx-line: #DFE5EE; --hx-line-2: #EDF0F5;
	--hx-ink: #14233F; --hx-body: #3A4558; --hx-muted: #687386;
	--hx-accent: #2F6FDE; --hx-accent-ink: #1D4DB0; --hx-accent-soft: #E6EEFF;
	--hx-green: #169E6B; --hx-green-ink: #0F7A51; --hx-green-soft: #E1F6EA;
	--hx-amber: #F2B01E; --hx-amber-ink: #8A6100; --hx-amber-soft: #FFF1CF;
	--hx-orange: #E8692B; --hx-red-ink: #B42318;
	--hx-navy: #12264A; --hx-navy-2: #1F4FA8;
	--hx-shadow: 0 1px 2px rgba(18,38,74,.06), 0 6px 18px rgba(18,38,74,.07);
	--hx-shadow-2: 0 14px 34px rgba(18,38,74,.16);
	--hx-r: 16px;
	background: var(--hx-bg);
}

/* ───────── מסגרת-הדף: רוחב-קריאה, גלילה טבעית ───────── */
.yba-hx.yba-ss-dash__page { max-width: 1200px; margin: 0 auto; padding: 22px 24px 64px; gap: 20px; flex: 0 0 auto; color: var(--hx-body); font-size: 15px; line-height: 1.5; }
.yba-hx.yba-ss-dash__page[hidden] { display: none; }
.yba-hx h2, .yba-hx h3, .yba-hx h4, .yba-hx p { margin: 0; }
.yba-hx-h { font-size: 17px; font-weight: 800; color: var(--hx-ink); line-height: 1.3; }
.yba-hx-h--big { font-size: 22px; font-weight: 900; }
.yba-hx-h4 { font-size: 15px; font-weight: 800; color: var(--hx-ink); display: block; }
.yba-hx-p { font-size: 13.5px; color: var(--hx-muted); display: block; }
.yba-hx-none { font-size: 14px; color: var(--hx-muted); padding: 6px 0; }
.yba-hx :focus-visible { outline: 2px solid var(--hx-accent); outline-offset: 2px; border-radius: 8px; }

.yba-hx-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid var(--hx-line); background: var(--hx-surface); color: var(--hx-ink); border-radius: 10px; padding: 8px 14px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; white-space: nowrap; text-decoration: none; transition: border-color .12s ease, background .12s ease; }
.yba-hx-btn:hover { border-color: var(--hx-accent); color: var(--hx-accent-ink); }
.yba-hx-btn:disabled { opacity: .55; cursor: default; }
.yba-hx-btn--primary { background: var(--hx-accent); border-color: var(--hx-accent); color: #fff; }
.yba-hx-btn--primary:hover { background: var(--hx-accent-ink); border-color: var(--hx-accent-ink); color: #fff; }

.yba-hx-cta { display: inline-flex; align-items: center; gap: 10px; background: var(--hx-accent); color: #fff; border: 0; border-radius: 14px; padding: 15px 26px; font: inherit; font-size: 18px; font-weight: 900; text-decoration: none; cursor: pointer; box-shadow: 0 10px 24px rgba(47,111,222,.32); transition: transform .12s ease, box-shadow .12s ease, background .12s ease; }
.yba-hx-cta:hover { background: var(--hx-accent-ink); color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(47,111,222,.38); }

/* ───────── הבית: מצגת חדשה + מצגות להגשה ───────── */
.yba-hx__top { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 18px; align-items: stretch; }
.yba-hx-new { display: flex; align-items: center; gap: 22px; background: linear-gradient(135deg, #0B1A3A 0%, var(--hx-navy-2) 100%); color: #fff; border-radius: 20px; padding: 26px 28px; box-shadow: var(--hx-shadow-2); min-width: 0; }
.yba-hx-new__avatar { flex: none; width: 168px; height: 190px; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(closest-side at 50% 60%, rgba(255,255,255,.2) 0%, rgba(255,255,255,0) 100%); }
.yba-hx-new__avatar .yba-ss-avatar-img { width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; filter: drop-shadow(0 12px 18px rgba(0,0,0,.3)); }
.yba-hx-new__body { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.yba-hx-new__hello { font-size: 14px; font-weight: 700; color: #C9D8F5; }
.yba-hx-new__title { font-size: 28px; font-weight: 900; line-height: 1.2; color: #fff; text-wrap: balance; }
.yba-hx-new__lead { font-size: 14.5px; color: #DCE6FA; max-width: 52ch; margin-bottom: 8px !important; }
.yba-hx-new .yba-hx-cta { background: #fff; color: var(--hx-navy); box-shadow: 0 10px 26px rgba(4,11,32,.4); }
.yba-hx-new .yba-hx-cta:hover { background: #F2F6FF; color: var(--hx-navy); }

.yba-hx-due { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 20px; box-shadow: var(--hx-shadow); padding: 20px 22px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.yba-hx-due .yba-ss-req { margin: 0; gap: 10px; }
.yba-hx-due .yba-ss-req__row { flex-wrap: wrap; gap: 12px; padding: 12px; border-color: var(--hx-line); border-inline-start: 4px solid var(--hx-accent); box-shadow: none; }
.yba-hx-due .yba-ss-req__row.is-urgent { border-inline-start-color: var(--hx-orange); background: #FFF8F3; }
.yba-hx-due .yba-ss-req__thumb { width: 92px; }
.yba-hx-due .yba-ss-req__kicker { display: none; }
.yba-hx-due .yba-ss-req__title { font-size: 16px; font-weight: 800; color: var(--hx-ink); }
.yba-hx-due .yba-ss-req__meta { font-size: 13px; color: var(--hx-body); }
.yba-hx-due .yba-ss-req__acts { flex-direction: row; flex: 1 1 100%; }
.yba-hx-due .yba-ss-req__cta { background: var(--hx-accent); border-radius: 10px; padding: 9px 16px; font-size: 14px; flex: 1 1 auto; text-align: center; }
.yba-hx-due .yba-ss-req__cta:hover { background: var(--hx-accent-ink); }
.yba-hx-due .yba-ss-req__again { padding: 9px 12px; border-color: var(--hx-line); background: var(--hx-surface); color: var(--hx-body); }

/* ───────── הבית: שלושה כרטיסים איזומטריים ───────── */
.yba-hx__three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.yba-hx-card { display: flex; flex-direction: column; align-items: stretch; gap: 6px; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 20px; box-shadow: var(--hx-shadow); padding: 14px 20px 18px; text-align: start; font: inherit; color: inherit; min-width: 0; transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease; }
button.yba-hx-card { cursor: pointer; }
button.yba-hx-card:hover, .yba-hx-card--decks:hover { transform: translateY(-3px); box-shadow: var(--hx-shadow-2); border-color: #BFD3F7; }
.yba-hx-card__art { display: block; width: 100%; max-width: 250px; height: 172px; object-fit: contain; margin: 0 auto 2px; }
.yba-hx-card__body { display: flex; flex-direction: column; gap: 5px; flex: 1 1 auto; min-width: 0; }
.yba-hx-card__title { font-size: 23px; font-weight: 900; color: var(--hx-ink); line-height: 1.2; }
.yba-hx-card__sub { font-size: 13.5px; color: var(--hx-muted); }
.yba-hx-card__stat { font-size: 14px; font-weight: 800; color: var(--hx-accent-ink); margin-top: 4px; }
.yba-hx-card__go { align-self: flex-start; margin-top: 10px; display: inline-flex; align-items: center; gap: 6px; background: var(--hx-accent-soft); color: var(--hx-accent-ink); border: 0; border-radius: 10px; padding: 9px 16px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.yba-hx-card:hover .yba-hx-card__go, .yba-hx-card__go:hover { background: var(--hx-accent); color: #fff; }
.yba-hx-card__strip { display: flex; gap: 6px; margin-top: 6px; min-height: 46px; }
.yba-hx-card__strip img { width: 46px; height: 46px; object-fit: cover; border-radius: 9px; border: 1px solid var(--hx-line); background: var(--hx-surface-2); }
.yba-hx-card__list { display: flex; flex-direction: column; gap: 4px; margin-top: 6px; }
.yba-hx-dot { display: flex; align-items: baseline; gap: 7px; font-size: 13px; color: var(--hx-muted); }
.yba-hx-dot b { color: var(--hx-ink); font-weight: 700; }
.yba-hx-dot i { flex: none; width: 9px; height: 9px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px #9AA6B8; transform: translateY(1px); }
.yba-hx-dot.is-on i { background: var(--hx-green); box-shadow: none; }
.yba-hx-dot.is-warn i { background: var(--hx-amber); box-shadow: none; }
.yba-hx-card--data.is-warn { border-color: #F3D48B; background: linear-gradient(180deg, #FFFBF0 0%, #fff 46%); }
.yba-hx-card--data.is-warn .yba-hx-card__stat { color: var(--hx-amber-ink); }
.yba-hx-card--data.is-warn .yba-hx-card__go { background: var(--hx-amber); color: #3B2A00; }
.yba-hx-card--data.is-ok .yba-hx-card__stat { color: var(--hx-green-ink); }
.yba-hx-card__recent { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.yba-hx-card__recent .yba-ss-dash__presrow { padding: 8px 10px; border-radius: 11px; border-color: var(--hx-line); }
.yba-hx-card__recent .yba-ss-dash__presname { font-size: 13.5px; }
.yba-hx-card__recent .yba-ss-dash__presmeta { font-size: 11.5px; }
.yba-hx-card__recent .yba-ss-home__loading { padding: 4px 0; font-size: 13px; }

/* ───────── דף פנימי: שורת-כותרת + פס (איור מימין, הפעולה הראשית משמאל) ───────── */
.yba-hx-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.yba-hx-back { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--hx-line); background: var(--hx-surface); color: var(--hx-body); border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 13.5px; font-weight: 700; cursor: pointer; }
.yba-hx-back:hover { border-color: var(--hx-accent); color: var(--hx-accent-ink); }
.yba-hx-bar__title { font-size: 28px; font-weight: 900; color: var(--hx-ink); line-height: 1.2; }
.yba-hx-bar__acts { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-inline-start: auto; }

.yba-hx-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 18px; align-items: stretch; }
.yba-hx-band--data { grid-template-columns: minmax(0, .9fr) minmax(0, 1.25fr); }
.yba-hx-band__art { background: linear-gradient(160deg, #EAF1FF 0%, #F7F9FC 70%); border: 1px solid var(--hx-line); border-radius: 20px; padding: 18px 22px 22px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; min-width: 0; }
.yba-hx-band__art > img { display: block; width: 100%; max-width: 360px; height: auto; max-height: 250px; object-fit: contain; }
.yba-hx-band__txt { display: flex; flex-direction: column; gap: 6px; text-align: start; align-self: stretch; }
.yba-hx-band__title { font-size: 20px; font-weight: 900; color: var(--hx-ink); line-height: 1.25; text-wrap: balance; }
.yba-hx-band__txt p { font-size: 14px; color: var(--hx-body); max-width: 60ch; }
.yba-hx-band__panel { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 20px; box-shadow: var(--hx-shadow); padding: 20px 22px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.yba-hx-band__panel--cta { justify-content: center; align-items: flex-start; gap: 10px; }
.yba-hx-band__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.yba-hx-ready { font-size: 14px; font-weight: 800; border-radius: 12px; padding: 10px 14px; margin-top: 4px !important; }
.yba-hx-ready:empty { display: none; }
.yba-hx-ready.is-ok { background: var(--hx-green-soft); color: var(--hx-green-ink); }
.yba-hx-ready.is-mid { background: var(--hx-accent-soft); color: var(--hx-accent-ink); }
.yba-hx-ready.is-warn { background: var(--hx-amber-soft); color: var(--hx-amber-ink); }

/* חלון-ההעלאה של הגלריה */
.yba-hx-drop { flex: 1 1 auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center; border: 2px dashed #B9C8E4; border-radius: 16px; background: var(--hx-surface-2); padding: 20px 18px; cursor: pointer; transition: border-color .12s ease, background .12s ease; min-height: 210px; }
.yba-hx-drop:hover, .yba-hx-drop.is-over { border-color: var(--hx-accent); background: var(--hx-accent-soft); }
.yba-hx-drop__art { width: 96px; height: auto; }
.yba-hx-drop__t { font-size: 19px; font-weight: 900; color: var(--hx-ink); }
.yba-hx-drop__d { font-size: 13.5px; color: var(--hx-muted); margin-bottom: 8px; }
.yba-hx-sec { display: flex; flex-direction: column; gap: 12px; }
.yba-hx-sechead { display: flex; flex-direction: column; gap: 2px; }
.yba-hx-gallery.yba-ss-dash__gallery { flex: 0 0 auto; overflow: visible; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 20px; padding: 16px; box-shadow: var(--hx-shadow); }
.yba-hx-gallery .yba-ss-gal { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.yba-hx-gallery .yba-ss-gal__item { border-radius: 12px; aspect-ratio: 4 / 3; overflow: hidden; }
.yba-hx .yba-ss-gal__filters { display: flex; gap: 6px; flex-wrap: wrap; }
.yba-hx-preslist.yba-ss-dash__preslist { flex: 0 0 auto; overflow: visible; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 20px; padding: 16px; box-shadow: var(--hx-shadow); gap: 8px; }

/* ───────── המידע שלי: לוח-החיבור ───────── */
.yba-hx-src { gap: 14px; }
.yba-hx-src__main { display: flex; flex-direction: column; gap: 12px; }
.yba-hx-src__head { display: flex; align-items: center; gap: 12px; }
.yba-hx-src__head img { flex: none; width: 64px; height: auto; }
.yba-hx-src__guide { display: flex; flex-direction: column; gap: 10px; background: var(--hx-surface-2); border: 1px solid var(--hx-line-2); border-radius: 14px; padding: 14px 16px; }
.yba-hx-src__guide[hidden] { display: flex; }
.yba-hx-src__guide p { margin: 0; }
.yba-hx-src__guide .yba-ss-home__loading { padding: 4px 0; }
.yba-ss-gd__state { display: flex; align-items: center; gap: 6px 14px; flex-wrap: wrap; font-size: 14px; color: var(--hx-body); border-radius: 12px; padding: 10px 14px; }
.yba-ss-gd__state i { flex: none; width: 11px; height: 11px; border-radius: 50%; }
.yba-ss-gd__state b { color: var(--hx-ink); }
.yba-ss-gd__state.is-on { background: var(--hx-green-soft); }
.yba-ss-gd__state.is-on i { background: var(--hx-green); }
.yba-ss-gd__state.is-off { background: var(--hx-amber-soft); }
.yba-ss-gd__state.is-off i { background: var(--hx-amber); }
.yba-hx-src__guide .yba-ss-gd__open { display: inline-flex; align-items: center; justify-content: center; border: 0; background: var(--hx-accent); color: #fff; border-radius: 12px; padding: 12px 26px; font: inherit; font-size: 16px; font-weight: 900; cursor: pointer; box-shadow: 0 8px 20px rgba(47,111,222,.28); }
.yba-hx-src__guide .yba-ss-gd__open:hover { background: var(--hx-accent-ink); }
.yba-hx-src__guide .yba-ss-gd__open:disabled { opacity: .5; cursor: default; box-shadow: none; }
.yba-hx-src__guide .yba-ss-fold__tg { border-color: var(--hx-line); color: var(--hx-body); font-weight: 700; margin-inline-start: 6px; }
.yba-hx-src__guide input[type="text"], .yba-hx-src__guide input[type="password"] { border: 1px solid var(--hx-line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; margin-top: 4px; background: #fff; }
.yba-hx-src__guide .yba-ss-gd__click { font-size: 13px; color: var(--hx-body); line-height: 1.5; }
.yba-hx-src__guide .yba-ss-gd__how { margin: 0; font-size: 13.5px; }
.yba-hx-src__guide .yba-ss-xl__msg { font-size: 13.5px; font-weight: 700; }
.yba-ss-gd__manual { border-top: 1px solid var(--hx-line); padding-top: 10px; }
.yba-ss-gd__manual > summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--hx-accent-ink); }
.yba-ss-gd__manual[open] > summary { margin-bottom: 8px; }
.yba-ss-gd__manual .yba-ss-gd__open { padding: 6px 14px; font-size: 13px; border-radius: 999px; box-shadow: none; }
.yba-hx-src__more { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.yba-hx-src__item { display: grid; grid-template-columns: auto minmax(0, 1fr); grid-template-areas: "art txt" "btn btn"; gap: 8px 10px; align-items: center; border: 1px solid var(--hx-line); border-radius: 14px; padding: 12px 14px; background: var(--hx-surface); margin: 0; }
.yba-hx-src__item img { grid-area: art; width: 52px; height: auto; }
.yba-hx-src__txt { grid-area: txt; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yba-hx-src__item .yba-hx-btn { grid-area: btn; }
.yba-hx-src__drop { border: 2px dashed #B9C8E4; background: var(--hx-surface-2); cursor: pointer; transition: border-color .12s ease, background .12s ease; }
.yba-hx-src__drop:hover, .yba-hx-src__drop.is-over { border-color: var(--hx-accent); background: var(--hx-accent-soft); }
.yba-hx-src__drop.is-busy { opacity: .6; pointer-events: none; }
.yba-ss-data.is-xl-over .yba-hx-src__drop { border-color: var(--hx-accent); background: var(--hx-accent-soft); }
.yba-hx-report:empty { display: none; }
.yba-hx-report { background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 16px; padding: 16px 18px; box-shadow: var(--hx-shadow); }

/* ───────── המידע שלי: אריחי-הנושאים ───────── */
.yba-hx-topics { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.yba-hx-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; text-align: start; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 16px; padding: 12px 16px 14px; box-shadow: var(--hx-shadow); font: inherit; color: inherit; cursor: pointer; min-width: 0; transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease; }
.yba-hx-tile:hover { transform: translateY(-2px); box-shadow: var(--hx-shadow-2); border-color: #BFD3F7; }
.yba-hx-tile.is-on { border-color: var(--hx-accent); box-shadow: 0 0 0 2px var(--hx-accent), var(--hx-shadow-2); }
.yba-hx-tile img { width: 84px; height: auto; margin-bottom: 2px; }
.yba-hx-tile__t { font-size: 17px; font-weight: 900; color: var(--hx-ink); line-height: 1.25; }
.yba-hx-tile__s { font-size: 13px; color: var(--hx-muted); }
.yba-hx-tile__st { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--hx-green-ink); background: var(--hx-green-soft); border-radius: 999px; padding: 3px 10px; }
.yba-hx-tile__st i { width: 8px; height: 8px; border-radius: 50%; background: var(--hx-green); }
.yba-hx-tile.is-empty img { filter: grayscale(1); opacity: .6; }
.yba-hx-tile.is-empty .yba-hx-tile__st { color: var(--hx-muted); background: #EAEEF4; }
.yba-hx-tile.is-empty .yba-hx-tile__st i { background: transparent; box-shadow: inset 0 0 0 1.5px #9AA6B8; }

/* ───────── המידע שלי: נושא פתוח ───────── */
.yba-hx-topic { display: flex; flex-direction: column; gap: 16px; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 20px; box-shadow: var(--hx-shadow); padding: 20px 22px 24px; scroll-margin-top: 76px; }
.yba-hx-topic[hidden] { display: none; }
.yba-hx-topic__head { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; border-bottom: 1px solid var(--hx-line-2); padding-bottom: 14px; }
.yba-hx-topic__head img { flex: none; width: 84px; height: auto; }
.yba-hx-topic__ht { flex: 1 1 260px; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.yba-hx-topic__cards { display: flex; flex-direction: column; gap: 16px; }
.yba-hx-topic__cards:empty, .yba-hx-topic__files:empty { display: none; }
.yba-hx-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
.yba-hx-fact { display: flex; flex-direction: column; gap: 1px; background: var(--hx-surface-2); border: 1px solid var(--hx-line-2); border-radius: 14px; padding: 12px 14px; }
.yba-hx-fact b { font-size: 30px; font-weight: 900; color: var(--hx-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
.yba-hx-fact span { font-size: 13.5px; font-weight: 700; color: var(--hx-body); }
.yba-hx-fact small { font-size: 11.5px; color: var(--hx-muted); }
.yba-hx-dcs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.yba-hx-dc { border: 1px solid var(--hx-line); border-radius: 14px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; min-width: 0; background: var(--hx-surface); }
.yba-hx-dc.is-wide { grid-column: 1 / -1; }
.yba-hx-dc__t { font-size: 15px; font-weight: 800; color: var(--hx-ink); line-height: 1.3; }
.yba-hx-dc__m { font-size: 12px; color: var(--hx-muted); margin-top: auto !important; }
.yba-hx-ch { display: block; width: 100%; height: auto; }
.yba-hx-ch__v { font-size: 11px; font-weight: 700; fill: var(--hx-ink); font-variant-numeric: tabular-nums; }
.yba-hx-ch__c { font-size: 11.5px; fill: var(--hx-muted); }
.yba-hx-ch__lg { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12.5px; color: var(--hx-body); }
.yba-hx-ch__lg span { display: inline-flex; align-items: center; gap: 5px; }
.yba-hx-ch__lg i { width: 10px; height: 10px; border-radius: 3px; }
.yba-hx-bars { display: flex; flex-direction: column; gap: 6px; }
.yba-hx-bars__r { display: grid; grid-template-columns: minmax(0, 11em) minmax(0, 1fr) auto; gap: 10px; align-items: center; font-size: 13px; }
.yba-hx-bars__l { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--hx-body); }
.yba-hx-bars__t { height: 12px; background: #EAEEF4; border-radius: 6px; overflow: hidden; display: block; }
.yba-hx-bars__f { display: block; height: 100%; background: var(--hx-accent); border-radius: 6px; }
.yba-hx-bars__v { font-weight: 800; color: var(--hx-ink); font-variant-numeric: tabular-nums; }
.yba-hx-tblw { overflow-x: auto; }
.yba-hx-tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.yba-hx-tbl th { text-align: start; font-weight: 800; color: var(--hx-ink); background: var(--hx-surface-2); padding: 7px 10px; border-bottom: 1px solid var(--hx-line); white-space: nowrap; }
.yba-hx-tbl td { padding: 7px 10px; border-bottom: 1px solid var(--hx-line-2); color: var(--hx-body); vertical-align: top; }
.yba-hx-tbl td:first-child { font-weight: 700; color: var(--hx-ink); max-width: 34ch; }
.yba-hx-tbl td.is-n { font-variant-numeric: tabular-nums; white-space: nowrap; }
.yba-hx-more > summary { cursor: pointer; font-size: 13px; font-weight: 700; color: var(--hx-accent-ink); padding: 4px 0; }
.yba-hx-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; background: var(--hx-surface-2); border: 1px dashed #B9C8E4; border-radius: 14px; padding: 16px 18px; font-size: 14px; }
.yba-hx-empty b { color: var(--hx-ink); font-size: 15px; }
.yba-hx-box { display: flex; flex-direction: column; gap: 10px; border: 1px solid var(--hx-line); border-radius: 14px; padding: 14px 16px; }
.yba-hx-box[hidden] { display: none; }
.yba-hx-box__head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.yba-hx-box .yba-ss-dash__shkifut { max-width: 860px; }
.yba-hx-box .yba-ss-shk__row { font-size: 13.5px; }
.yba-hx-topic__files { display: flex; flex-direction: column; gap: 10px; }
.yba-hx-sets { display: grid; grid-template-columns: 5.5em minmax(0, 1fr); gap: 10px; align-items: start; }
.yba-hx-sets__y { font-weight: 900; color: var(--hx-ink); padding-top: 9px; }
.yba-hx-sets ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.yba-hx-sets li { border: 1px solid var(--hx-line); border-radius: 12px; padding: 9px 12px; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.yba-hx-sets li > b { font-size: 14px; color: var(--hx-ink); }
.yba-hx-sets li > small { font-size: 12px; color: var(--hx-muted); }
.yba-hx-sets__m { display: flex; flex-direction: column; font-size: 12.5px; color: var(--hx-body); }

/* ───────── מסכים צרים ───────── */
@media (max-width: 1020px) {
	.yba-hx__top, .yba-hx-band, .yba-hx-band--data { grid-template-columns: minmax(0, 1fr); }
	.yba-hx__three { grid-template-columns: minmax(0, 1fr); }
	.yba-hx-card { flex-direction: row; flex-wrap: wrap; align-items: center; }
	.yba-hx-card__art { width: 140px; height: 120px; margin: 0; }
	.yba-hx-card__body { flex: 1 1 220px; }
	.yba-hx-topics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.yba-hx-dcs { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
	.yba-hx.yba-ss-dash__page { padding: 16px 16px 48px; }
	.yba-hx-new { flex-direction: column; text-align: center; padding: 20px; }
	.yba-hx-new__body { align-items: center; }
	.yba-hx-new__avatar { width: 120px; height: 136px; }
	.yba-hx-new__title { font-size: 23px; }
	.yba-hx-src__more { grid-template-columns: minmax(0, 1fr); }
	.yba-hx-topics { grid-template-columns: minmax(0, 1fr); }
	.yba-hx-sets { grid-template-columns: minmax(0, 1fr); }
	.yba-hx-sets ul { grid-template-columns: minmax(0, 1fr); }
	.yba-hx-bar__title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
	.yba-hx-card, .yba-hx-tile, .yba-hx-cta { transition: none; }
}

/* ───────── כרטיס-האמת: מעמד של כל מספר, ממצאים לבדיקה, תובנות ───────── */
.yba-hx-fact { position: relative; }
.yba-hx-fact em { position: absolute; top: 10px; inset-inline-end: 12px; font-style: normal; font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 2px 9px; background: #EAEEF4; color: var(--hx-body); }
.yba-hx-fact.is-ok em { background: var(--hx-green-soft); color: var(--hx-green-ink); }
.yba-hx-fact.is-old em { background: var(--hx-amber-soft); color: var(--hx-amber-ink); }
.yba-hx-fact.is-bad em { background: #FDE5E5; color: var(--hx-red-ink); }
.yba-hx-fact.is-bad { border-color: #F3B4B4; background: #FFF8F8; }
.yba-hx-fact b { padding-inline-end: 78px; font-size: 27px; }
.yba-hx-fact__alt { color: var(--hx-body) !important; }
.yba-hx-facts { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.yba-hx-truth { display: flex; flex-direction: column; gap: 12px; background: var(--hx-surface); border: 1px solid var(--hx-line); border-radius: 20px; box-shadow: var(--hx-shadow); padding: 20px 22px; }
.yba-hx-truth[hidden] { display: none; }
.yba-hx-finds { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.yba-hx-find { display: flex; gap: 10px; border: 1px solid var(--hx-line); border-radius: 14px; padding: 12px 14px; min-width: 0; }
.yba-hx-find > i { flex: none; width: 10px; height: 10px; border-radius: 50%; margin-top: 6px; background: var(--hx-accent); }
.yba-hx-find.is-warn { border-color: #F3D48B; background: #FFFBF0; }
.yba-hx-find.is-warn > i { background: var(--hx-amber); }
.yba-hx-find > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.yba-hx-find b { font-size: 14.5px; color: var(--hx-ink); }
.yba-hx-find span { font-size: 13.5px; color: var(--hx-body); }
.yba-hx-find__acts { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 4px; }
.yba-hx-reading > summary { cursor: pointer; font-size: 13.5px; font-weight: 700; color: var(--hx-accent-ink); }
.yba-hx-reading ul, .yba-hx-insights ul { margin: 8px 0 0; padding-inline-start: 20px; display: flex; flex-direction: column; gap: 5px; font-size: 13.5px; color: var(--hx-body); max-width: 95ch; }
.yba-hx-insights { background: var(--hx-accent-soft); border-radius: 14px; padding: 12px 16px; }
.yba-hx-insights ul { margin-top: 4px; color: var(--hx-ink); }
.yba-hx-pair { display: flex; gap: 24px; flex-wrap: wrap; margin: 4px 0 !important; }
.yba-hx-pair span { display: flex; flex-direction: column; font-size: 13px; color: var(--hx-muted); }
.yba-hx-pair b { font-size: 26px; font-weight: 900; color: var(--hx-ink); line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 1020px) { .yba-hx-finds { grid-template-columns: minmax(0, 1fr); } }
.yba-hx-fact.is-long b { font-size: 20px; padding-inline-end: 0; padding-top: 22px; }

/* מה שרק המוסד יודע לספר (15.11): כרטיס-בקשה בתוך נושא — רשימה שמדביקים */
.yba-hx-ask { display: flex; flex-direction: column; gap: 8px; background: #FFF8EC; border: 1px solid #F2D9A6; border-radius: 14px; padding: 16px 18px; margin: 0 0 12px; font-size: 14px; color: var(--hx-ink-2, #33415C); }
.yba-hx-ask.is-done { background: var(--hx-surface-2, #F5F8FD); border-color: #D5E0F2; }
.yba-hx-ask > b { color: var(--hx-ink, #12223F); font-size: 15px; }
.yba-hx-ask__form { display: flex; flex-direction: column; gap: 8px; }
.yba-hx-ask__form[hidden] { display: none; }
.yba-hx-ask textarea { width: 100%; box-sizing: border-box; min-height: 96px; border: 1px solid #C9D5EA; border-radius: 10px; padding: 10px 12px; font: inherit; line-height: 1.6; background: #fff; resize: vertical; }
.yba-hx-ask textarea:focus { outline: 2px solid #2F6FDE; outline-offset: 1px; }
.yba-hx-ask__row { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.yba-hx-ask__row small { color: #5B6B88; font-size: 13px; }

/* ליד "מצגת חדשה" (15.11): בלי המידע של המוסד המצגת יוצאת בלי הנתונים שלו */
.yba-hx-new__need { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 14px 0 0 !important; padding: 10px 14px; border-radius: 12px; background: rgba(255, 196, 87, .16); border: 1px solid rgba(255, 196, 87, .55); color: #FFF3D6; font-size: 14px; max-width: 60ch; }
.yba-hx-new__need[hidden] { display: none; }
.yba-hx-new__needgo { background: #FFC457; color: #1B2A4A; border: 0; border-radius: 10px; padding: 8px 14px; font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.yba-hx-new__needgo:hover, .yba-hx-new__needgo:focus-visible { background: #FFD27D; outline: 2px solid #fff; outline-offset: 2px; }

/* משיכה לכל מוסדות-הרשת (16.11) — בלוק של מנהל-הרשת מתחת ללוח-החיבור */
.yba-ss-net { margin-top: 14px; padding: 14px 16px; border: 1px solid var(--hx-line, #e3e8f0); border-radius: 14px; background: var(--hx-card, #fff); }
.yba-ss-net[hidden] { display: none; }
.yba-ss-net__h { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--hx-ink, #14213d); }
.yba-ss-net__p { margin: 0 0 10px; font-size: 13.5px; line-height: 1.6; color: var(--hx-body, #44506a); max-width: 70ch; }
.yba-ss-net__log { margin: 10px 0 0; }
.yba-ss-net__line { margin: 0; padding: 3px 0; font-size: 13.5px; color: var(--hx-body, #44506a); }
.yba-ss-net__line.is-bad { color: #b3261e; font-weight: 600; }
.yba-ss-net__sum { margin: 12px 0 6px; font-size: 14px; color: var(--hx-ink, #14213d); }
.yba-ss-net__det summary { cursor: pointer; font-size: 13.5px; color: var(--hx-body, #44506a); }
.yba-ss-net__tbl { width: 100%; margin-top: 8px; border-collapse: collapse; font-size: 13px; font-variant-numeric: tabular-nums; }
.yba-ss-net__tbl th, .yba-ss-net__tbl td { padding: 5px 8px; text-align: right; border-bottom: 1px solid var(--hx-line, #e3e8f0); }
.yba-ss-net__tbl tr.is-empty td { color: #b3261e; }
