/* 🎯 מרכז כיתה – Begin grade hubs (generated by files/grade-hub/build_hubs.py) */
.gh-body{background:#f5f8fc;margin:0;font-family:Heebo,Arial,sans-serif;color:#1f2937;direction:rtl}
.gh-main{max-width:1120px;margin:0 auto;padding:12px 12px 28px;box-sizing:border-box}
.gh-main *{box-sizing:border-box}
.sr-only{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.gh-hero{background:linear-gradient(135deg,#1f3a73 0%,#0f766e 100%);color:#fff;border-radius:22px;padding:22px 16px 16px;margin:18px 0 14px;box-shadow:0 10px 28px rgba(15,40,90,.18)}
.gh-kicker{margin:0;font-size:.92rem;opacity:.9;font-weight:700;letter-spacing:.02em}
.gh-hero h1{margin:4px 0 6px;font-family:"Frank Ruhl Libre","Frank Ruhl",serif;font-size:clamp(1.9rem,7vw,2.8rem);line-height:1.15;color:#fff}
.gh-lead{margin:0 0 12px;font-size:1.02rem;line-height:1.6;max-width:62ch}
.gh-switch{display:grid;grid-template-columns:repeat(3,1fr);gap:6px}
@media(min-width:700px){.gh-switch{grid-template-columns:repeat(6,1fr)}}
.gh-sw{display:flex;align-items:center;justify-content:center;gap:4px;min-height:44px;border-radius:12px;background:rgba(255,255,255,.14);color:#fff;text-decoration:none;font-weight:700;border:1px solid rgba(255,255,255,.28)}
.gh-sw:hover,.gh-sw:focus-visible{background:rgba(255,255,255,.26)}
.gh-sw.on{background:#8cc63f;color:#10243f;border-color:#8cc63f}
.gh-today{background:#fff;border:3px solid #8cc63f;border-radius:20px;padding:16px;margin:0 0 16px;box-shadow:0 8px 22px rgba(20,60,30,.10)}
.gh-td-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px}
.gh-today h2{margin:0;color:#1f3a73;font-family:"Frank Ruhl Libre",serif;font-size:1.5rem}
.gh-td-date{color:#0f766e;font-weight:700;font-size:.95rem}
.gh-td-unit{margin:8px 0 2px;color:#475569;font-weight:700;font-size:.95rem}
.gh-td-week{display:inline-block;margin:0 0 6px;background:#eef6e4;border:1px solid #cfe3b4;border-radius:999px;padding:2px 10px;font-size:.85rem;color:#1f3a73}
.gh-td-title{margin:4px 0 10px;font-size:1.3rem;line-height:1.4}
.gh-td-title a{color:#10243f;text-decoration:none}
.gh-td-title a:hover{text-decoration:underline}
.gh-td-acts{display:grid;grid-template-columns:1fr;gap:8px}
@media(min-width:620px){.gh-td-acts{grid-template-columns:repeat(4,1fr)}}
.gh-btn{display:flex;align-items:center;justify-content:center;gap:6px;min-height:48px;padding:8px 12px;border-radius:14px;font-weight:700;text-decoration:none;border:0;font:inherit;font-weight:700;cursor:pointer;text-align:center}
.gh-btn.p{background:#1f3a73;color:#fff}.gh-btn.w{background:#0f766e;color:#fff}.gh-btn.g{background:#8cc63f;color:#10243f}.gh-btn.o{background:#fff;color:#1f3a73;border:2px solid #1f3a73}
.gh-btn[aria-disabled=true]{opacity:.45;pointer-events:none}
.gh-td-nav{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px;margin-top:10px}
.gh-ghost{background:#eef2f8;border:1px solid #d5deea;color:#1f3a73;border-radius:999px;min-height:40px;padding:4px 14px;font:inherit;font-weight:700;cursor:pointer}
.gh-ghost:disabled{opacity:.4;cursor:default}
.gh-td-hint{margin:8px 0 0;font-size:.85rem;color:#64748b}
.gh-seq{background:#fff;border:1px solid #dfe5ee;border-radius:18px;padding:14px;margin:0 0 16px}
.gh-seq h2,.gh-sec h2{margin:0 0 10px;color:#1f3a73;font-family:"Frank Ruhl Libre",serif;font-size:1.35rem}
.gh-unit-row{border-top:1px solid #edf1f6;padding:6px 0}
.gh-unit-row summary{cursor:pointer;list-style:none;display:flex;flex-wrap:wrap;gap:6px;align-items:center;min-height:44px;line-height:1.4}
.gh-unit-row summary::-webkit-details-marker{display:none}
.gh-unit-row summary::before{content:"◂";color:#0f766e;font-size:.9rem;transition:transform .15s}
.gh-unit-row[open] summary::before{transform:rotate(-90deg)}
.gh-unit-row.now{background:#f3faea;border-radius:12px;padding:6px 8px}
.gh-pill{background:#e8eef8;color:#1f3a73;border-radius:999px;padding:2px 10px;font-size:.82rem;font-weight:700}
.gh-now{background:#8cc63f;color:#10243f;border-radius:999px;padding:1px 9px;font-size:.8rem;font-weight:700}
.gh-lessons{margin:6px 0;padding-inline-start:22px;line-height:1.7}
.gh-lessons a,.gh-more a{color:#1f3a73}
.gh-mini{font-size:.86rem;color:#0f766e!important}
.gh-more summary{cursor:pointer;color:#0f766e;font-weight:700;min-height:40px;display:flex;align-items:center}
.gh-more ul{margin:4px 0;padding-inline-start:20px;line-height:1.7}
.gh-muted{color:#64748b;margin:4px 0}
.gh-filters{position:sticky;top:0;z-index:30;background:rgba(245,248,252,.97);backdrop-filter:blur(4px);padding:8px 0 6px;margin:0 0 6px;border-bottom:1px solid #e2e8f0}
.gh-chips{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}
.gh-chip{flex:none;min-height:40px;border-radius:999px;border:1px solid #cdd6e3;background:#fff;color:#1f3a73;padding:4px 12px;font:inherit;font-weight:700;font-size:.92rem;cursor:pointer;white-space:nowrap}
.gh-chip span{background:#eef2f8;border-radius:999px;padding:0 7px;font-size:.8rem;margin-inline-start:3px}
.gh-chip.on{background:#1f3a73;color:#fff;border-color:#1f3a73}.gh-chip.on span{background:rgba(255,255,255,.2)}
.gh-sub{font-size:.85rem;min-height:36px}.gh-sub.on{background:#0f766e;border-color:#0f766e}
.gh-search input{width:100%;min-height:44px;border-radius:12px;border:1px solid #cdd6e3;padding:6px 12px;font:inherit;font-size:1rem;margin-top:4px;background:#fff}
.gh-count{margin:4px 2px 0;font-size:.85rem;color:#475569;min-height:1.2em}
.gh-sec{margin:16px 0}
.gh-n{background:#e8eef8;border-radius:999px;padding:0 9px;font-size:.9rem;vertical-align:middle;font-family:Heebo,Arial,sans-serif}
.gh-note{margin:-4px 0 8px;font-size:.88rem;color:#7c2d12;background:#fff7ed;border:1px solid #fed7aa;border-radius:10px;padding:6px 10px}
.gh-grid{display:grid;grid-template-columns:1fr;gap:8px}
@media(min-width:620px){.gh-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:980px){.gh-grid{grid-template-columns:repeat(3,1fr)}}
.gh-card{display:flex;gap:10px;align-items:flex-start;background:#fff;border:1px solid #dfe5ee;border-inline-start:5px solid #0f766e;border-radius:14px;padding:10px 12px;text-decoration:none;color:#1f2937;min-height:56px;transition:box-shadow .15s,transform .15s}
.gh-card:hover,.gh-card:focus-visible{box-shadow:0 6px 16px rgba(20,40,80,.12);transform:translateY(-1px)}
.gh-card[data-c=sheet]{border-inline-start-color:#2563eb}.gh-card[data-c=game]{border-inline-start-color:#8cc63f}.gh-card[data-c=design]{border-inline-start-color:#d97706}.gh-card[data-c=read]{border-inline-start-color:#7c3aed}.gh-card[data-c=teacher]{border-inline-start-color:#9a3412;background:#fffaf5}
.gh-ic{font-size:1.5rem;line-height:1;flex:none;margin-top:2px}
.gh-ct{display:flex;flex-direction:column;gap:4px;min-width:0}
.gh-ct b{font-size:.98rem;line-height:1.45;overflow-wrap:anywhere}
.gh-tags{display:flex;flex-wrap:wrap;gap:4px}
.gh-tag{font-size:.74rem;background:#f1f5f9;border:1px solid #e2e8f0;border-radius:999px;padding:0 7px;color:#334155;font-weight:400}
.gh-tch{background:#ffedd5;border-color:#fdba74;color:#9a3412;font-weight:700}
.gh-unit{background:#ecfdf5;border-color:#a7f3d0;color:#065f46}
.gh-card.gh-hide,.gh-sec.gh-hide{display:none}
.gh-showmore{display:block;margin:10px auto 0;min-height:44px;border-radius:999px;border:2px solid #1f3a73;background:#fff;color:#1f3a73;font:inherit;font-weight:700;padding:4px 18px;cursor:pointer}
.gh-allg{text-align:center;margin:22px 0 6px}.gh-allg a{color:#1f3a73;font-weight:700}
.gh-bigs{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}
@media(min-width:760px){.gh-bigs{grid-template-columns:repeat(3,1fr)}}
.gh-big{display:flex;flex-direction:column;align-items:center;gap:4px;padding:18px 10px;border-radius:20px;background:#fff;border:2px solid #dfe5ee;text-decoration:none;color:#1f3a73;box-shadow:0 6px 16px rgba(20,40,80,.08);min-height:120px;justify-content:center}
.gh-big:hover,.gh-big:focus-visible{border-color:#8cc63f;transform:translateY(-2px)}
.gh-big-e{font-size:2.2rem}.gh-big b{font-size:1.4rem;font-family:"Frank Ruhl Libre",serif}.gh-big span:last-child{font-size:.85rem;color:#475569}
.gh-foot{text-align:center;padding:14px;color:#475569}
.gh-print-only{display:none}
@media print{
  @page{size:A4;margin:14mm}
  body.gh-print-today{background:#fff!important}
  body.gh-print-today>*:not(main):not(.bsd-mark){display:none!important}
  body.gh-print-today main>*:not(.gh-content),body.gh-print-today .gh-content>*:not(.gh-today){display:none!important}
  body.gh-print-today .gh-main{padding:0;max-width:none}
  body.gh-print-today .gh-today{margin:8mm 0 0;border:2px solid #000;box-shadow:none;border-radius:10px;break-inside:avoid}
  body.gh-print-today .gh-td-nav,body.gh-print-today .gh-td-hint,body.gh-print-today .gh-btn{display:none!important}
  .gh-print-only{display:block!important}
  .gh-filters,.gh-switch,.gh-showmore{display:none!important}
  .gh-card{break-inside:avoid}
}
.gh-plist{margin:8px 0 0;padding-inline-start:20px;line-height:1.8;font-size:11pt}
.gh-plist span{direction:ltr;unicode-bidi:embed;font-size:9pt;color:#333}
.gh-body .skip{position:absolute;right:8px;top:-60px;background:#1f3a73;color:#fff;padding:8px 14px;border-radius:10px;z-index:99999;text-decoration:none}.gh-body .skip:focus{top:8px}

/* ct:strip START – 🧰 כלים חדשים לכיתה (Nov 5) */
.gh-ct{margin:14px 0 6px;padding:12px 14px;border-radius:18px;background:linear-gradient(120deg,#0b1a36,#1f3a73 70%,#2f6b5a);color:#fff;box-shadow:0 8px 22px rgba(11,26,54,.16);box-sizing:border-box;max-width:100%;overflow:hidden}
.gh-ct *{box-sizing:border-box}
.gh-ct-head{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:8px}
.gh-ct h2{margin:0;font-size:1.25rem;color:#fff}
.gh-ct-n{color:#d9f99d;font-size:.9rem;flex:1}
.gh-ct-arr{display:none;gap:6px}
.gh-ct-b{min-width:40px;min-height:36px;border-radius:999px;border:1.5px solid rgba(255,255,255,.4);background:rgba(255,255,255,.12);color:#fff;font-size:1.1rem;cursor:pointer}
.gh-ct-b:hover{background:rgba(255,255,255,.22)}
.gh-ct-row{display:flex;gap:8px;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x proximity;padding:2px 2px 8px;scrollbar-width:thin;scrollbar-color:#8cc63f transparent;-webkit-overflow-scrolling:touch}
.gh-ct-c{flex:0 0 auto;scroll-snap-align:start;display:inline-flex;align-items:center;gap:6px;min-height:44px;padding:8px 13px;border-radius:999px;background:rgba(255,255,255,.12);border:1.5px solid rgba(255,255,255,.3);color:#fff!important;text-decoration:none!important;font-weight:700;font-size:.95rem;white-space:nowrap}
.gh-ct-c:hover{background:rgba(255,255,255,.22);border-color:#8cc63f}
.gh-ct-c:focus-visible,.gh-ct-row:focus-visible,.gh-ct-b:focus-visible{outline:3px solid #ffd166;outline-offset:2px}
.gh-ct-all{background:#8cc63f;border-color:#8cc63f;color:#13295a!important;font-weight:800}
@media(min-width:700px){.gh-ct-arr{display:inline-flex}}
@media print{.gh-ct{display:none!important}}
/* ct:strip END */
