/* Employee Central (#/staff) */
.sh-hero { display: flex; align-items: center; gap: 16px; padding: 18px 20px; margin: 0 0 6px; background: linear-gradient(135deg, #1B2159 0%, #2A327A 100%); color: rgba(255,255,255,.85); border: 0; }
.sh-hero small { font-size: var(--fs-xs); font-weight: 800; text-transform: uppercase; letter-spacing: .05em; opacity: .8; }
.sh-hero h2 { font-family: var(--font-display); font-size: 28px; line-height: 1.1; margin: 4px 0 6px; color: #fff; }
.sh-hero p { margin: 0; font-weight: 600; font-size: var(--fs-sm); }
.sh-warn { color: #FFB4A8; }
.sh-hero-ico { flex: none; width: 56px; height: 56px; border-radius: 16px; background: rgba(255,255,255,.12); display: grid; place-items: center; color: #fff; }
.sh-sec { display: flex; align-items: center; gap: 8px; margin: 18px 2px 10px; font-size: var(--fs-md); font-weight: 800; color: var(--ink); text-transform: uppercase; letter-spacing: .04em; }
.sh-count { display: inline-grid; place-items: center; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 10px; background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0; }

.sh-desk { display: grid; grid-template-columns: repeat(5, 1fr); gap: 8px; }
.sh-desk > .card { margin: 0; }
.sh-tile { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; padding: 12px 14px; text-align: left; cursor: pointer; color: var(--text); border-left: 4px solid var(--teal); }
.sh-tile b { font-family: var(--font-display); font-size: 26px; line-height: 1; color: var(--ink); }
.sh-tile small { font-size: var(--fs-xs); color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .03em; }
.sh-tile em { font-style: normal; font-size: 11px; font-weight: 800; color: var(--coral); }
.sh-tile.is-hot { border-left-color: var(--coral); } .sh-tile.is-hot b { color: var(--coral); }

.sh-cols { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0 18px; align-items: start; }
.sh-col > .card { margin: 0; }
.sh-week { padding: 6px 0 0; overflow: hidden; }
.sh-day { display: flex; align-items: center; gap: 12px; padding: 9px 14px; border-bottom: 1px solid var(--line); }
.sh-day.is-today { background: var(--teal-soft); }
.sh-dd { flex: none; width: 44px; text-align: center; line-height: 1.05; }
.sh-dd small { display: block; font-size: 10px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sh-dd b { font-family: var(--font-display); font-size: 20px; color: var(--ink); }
.sh-day.is-today .sh-dd b { color: var(--teal-strong); }
.sh-dmain { display: flex; flex-direction: column; min-width: 0; }
.sh-dmain b { color: var(--ink); font-size: var(--fs-sm); }
.sh-dmain small { color: var(--muted); font-weight: 600; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-off { color: var(--muted); font-weight: 600; font-size: var(--fs-sm); }
.sh-more { display: flex; align-items: center; justify-content: center; gap: 4px; width: 100%; padding: 11px; border: 0; background: none; color: var(--teal-strong); font: inherit; font-weight: 800; font-size: var(--fs-sm); cursor: pointer; }
.sh-more:hover { background: var(--surface-2); }
.sh-list { padding: 0; overflow: hidden; }
.sh-row { display: flex; align-items: center; gap: 10px; padding: 11px 14px; border-bottom: 1px solid var(--line); }
.sh-row:last-of-type { border-bottom: 0; }
.sh-row > span.grow { display: flex; flex-direction: column; min-width: 0; }
.sh-row b { color: var(--ink); font-size: var(--fs-sm); }
.sh-row small { color: var(--muted); font-weight: 600; }
.sh-row .pill { flex: none; font-size: 10.5px; }
.sh-note { margin: 0; padding: 8px 14px 10px; border-top: 1px solid var(--line); }
.sh-empty { display: flex; align-items: center; gap: 10px; padding: 14px 16px; color: var(--muted); font-weight: 600; }
.sh-empty .ico { color: var(--teal-strong); }

.sh-news { display: flex; flex-direction: column; gap: 8px; }
.sh-news > .card { margin: 0; }
.sh-post { display: flex; align-items: center; gap: 12px; padding: 10px; text-align: left; color: var(--text); cursor: pointer; }
.sh-pimg { flex: none; width: 72px; height: 56px; border-radius: 10px; overflow: hidden; background: var(--surface-3); }
.sh-pimg img { width: 100%; height: 100%; object-fit: cover; }
.sh-pmain { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.sh-pmain small { color: var(--muted); font-weight: 700; font-size: 11px; }
.sh-pmain b { color: var(--ink); font-size: var(--fs-sm); line-height: 1.3; }
.sh-post.is-lead { flex-direction: column; align-items: stretch; padding: 0; overflow: hidden; }
.sh-post.is-lead .sh-pimg { width: 100%; height: 160px; border-radius: 0; background: #fff; }
.sh-post.is-lead .sh-pimg img { object-fit: contain; }
.sh-post.is-lead .sh-pmain { padding: 12px 14px 14px; }
.sh-post.is-lead .sh-pmain b { font-size: var(--fs-md); }
.sh-addnews { margin-top: 8px; }
.sh-links { padding: 12px; display: flex; flex-direction: column; gap: 12px; }
.sh-lgroup > small { display: block; margin: 0 2px 6px; font-size: 10.5px; font-weight: 800; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.sh-lgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sh-link { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; background: var(--surface-2); border: 0; color: var(--ink); font: inherit; font-weight: 700; font-size: var(--fs-sm); text-align: left; text-decoration: none; cursor: pointer; line-height: 1.25; }
.sh-link:hover { background: var(--teal-soft); }
.sh-link > .ico:first-child { color: var(--teal-strong); flex: none; }
.sh-link span { flex: 1; min-width: 0; }
.sh-ext { color: var(--faint); flex: none; }

.sh-article small { color: var(--muted); font-weight: 700; }
.sh-article h2 { font-family: var(--font-display); font-size: 24px; color: var(--ink); margin: 4px 0 12px; }
.sh-aimg { margin: -4px 0 12px; border-radius: 14px; overflow: hidden; }
.sh-aimg { background: #fff; }
.sh-aimg img { width: 100%; max-height: 320px; object-fit: contain; display: block; }

@media (max-width: 1000px) { .sh-desk { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) { .sh-cols { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
  .sh-desk { grid-template-columns: repeat(2, 1fr); }
  .sh-hero h2 { font-size: 23px; }
  .sh-hero-ico { display: none; }
  .sh-lgrid { grid-template-columns: 1fr; }
}

/* Staff forms & handbooks (#/staff-form) */
.sh-form-title { font-family: var(--font-display); color: var(--ink); font-size: 24px; margin: 4px 2px 10px; }
.sh-frame { padding: 0; overflow: hidden; position: relative; min-height: 70vh; }
.sh-frame iframe { display: block; width: 100%; height: 2500px; min-height: 70vh; border: 0; opacity: 0; transition: opacity .25s; background: #fff; }
.sh-frame iframe.on { opacity: 1; }
.sh-frame-load { position: absolute; inset: 14px; }
.sh-form-note { display: flex; gap: 6px; align-items: center; color: var(--muted); font-size: 12.5px; font-weight: 600; margin: 8px 2px 20px; }

/* Employee Central → Team Central switch for coaches with gymnasts (owner 11/12) */
.sh-team { flex: none; gap: 8px; align-self: center; background: rgba(255,255,255,.14); color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.sh-team:hover { background: rgba(255,255,255,.22); }

/* Quick Actions right under the greeting (owner 11/12) */
.sh-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 12px 0 4px; }
@media (min-width: 640px) { .sh-actions { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .sh-actions { grid-template-columns: repeat(7, minmax(0, 1fr)); } }
.sh-act { margin: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 3px; padding: 14px; border: 1px solid var(--line); background: var(--surface); color: var(--text); font: inherit; text-align: left; cursor: pointer; }
.sh-act:hover { border-color: var(--ink); box-shadow: var(--shadow-1); }
.sh-act-ic { width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center; background: var(--ink); color: #fff; margin-bottom: 6px; }
:root[data-theme="dark"] .sh-act-ic { background: #3A46A8; }
.sh-act b { font-size: var(--fs-sm); line-height: 1.2; }
.sh-act small { font-size: var(--fs-xs); color: var(--muted); line-height: 1.3; }
.sh-allnews { width: 100%; justify-content: center; margin-top: 6px; }
.sh-sheetlinks { padding: 0; }
.sh-actions > .sh-act { margin: 0; }   /* the global .card + .card gap pushed every tile but the first down */
