/* ═══════════════════════════════════════════════════════════════
   Shout Here – Common Stylesheet  v1.0
   Matches wireframe theme from wireframe.efasttrade.in/shout-hear-new/
   For use in Laravel Blade templates — class names prefixed with sh-
═══════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────── */
:root {
  --sh-dark: #0f172a;
  --sh-dark2: #1e293b;
  --sh-dark3: #334155;
  --sh-red: #dc2626;
  --sh-red-h: #b91c1c;
  --sh-orange: #ea580c;
  --sh-bg: #f1f5f9;
  --sh-white: #ffffff;
  --sh-text: #1e293b;
  --sh-muted: #64748b;
  --sh-light: #94a3b8;
  --sh-border: #e2e8f0;
  --sh-green: #16a34a;
  --sh-yellow: #d97706;
  --sh-gold: #f59e0b;
  --sh-blue: #2563eb;
  --sh-purple: #7c3aed;
  --sh-shadow: 0 1px 3px rgba(0, 0, 0, .08), 0 1px 2px rgba(0, 0, 0, .05);
  --sh-shadow-md: 0 4px 12px rgba(0, 0, 0, .1);
  --sh-shadow-lg: 0 10px 30px rgba(0, 0, 0, .15);
  --sh-r: 8px;
  --sh-r-sm: 4px;
  --sh-r-lg: 14px;
  --sidebar-w: 240px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  font-size: 14px;
  scroll-behavior: smooth
}

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  color: var(--sh-text);
  background: var(--sh-bg);
  line-height: 1.6
}

a {
  color: inherit;
  text-decoration: none
}

img {
  max-width: 100%;
  display: block
}

button {
  cursor: pointer;
  font-family: inherit
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit
}

ul {
  list-style: none
}

/* ════════════════════════════════════════════════
   PUBLIC SITE — Header / Nav / Ticker / Footer
════════════════════════════════════════════════ */

/* ── Site Header ─────────────────────────────── */
.sh-site-header {
  background: var(--sh-dark);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .4)
}

.sh-header-top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 24px;
  min-height: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.sh-logo {
  font-size: 2.25rem;
  font-weight: 900;
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: .32em;
  letter-spacing: .02em;
  line-height: 1.1
}

.sh-brand-shout {
  color: #fff
}

.sh-brand-here {
  color: var(--sh-red)
}

.sh-footer h4 .sh-brand-shout {
  color: #fff
}

.sh-footer h4 .sh-brand-here {
  color: var(--sh-red)
}

.sh-logo span {
  color: var(--sh-red)
}

.sh-header-ad {
  flex: 1;
  background: rgba(255, 255, 255, .06);
  border-radius: var(--sh-r-sm);
  padding: 6px 14px;
  font-size: .82rem;
  color: #aab;
  border: 1px dashed rgba(255, 255, 255, .15);
  min-height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
}

.sh-header-ad .ad-cta {
  background: var(--sh-orange);
  color: #fff;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: .76rem;
  font-weight: 700;
  white-space: nowrap;
  margin-left: 8px;
  line-height: 1.2;
}

.sh-header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0
}

.sh-search-btn {
  background: rgba(255, 255, 255, .1);
  border: none;
  color: #fff;
  padding: 6px 11px;
  border-radius: 16px;
  font-size: .95rem;
  transition: .2s;
  line-height: 1;
}

.sh-search-btn:hover {
  background: rgba(255, 255, 255, .2)
}

.sh-login-btn,
.sh-account-btn,
.sh-bday-pill,
.sh-bday-btn {
  background: var(--sh-red);
  color: #fff;
  border: none;
  padding: 5px 13px;
  border-radius: 16px;
  font-size: .82rem;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: .2s;
  text-decoration: none;
  line-height: 1.15;
}

.sh-login-btn:hover,
.sh-account-btn:hover,
.sh-bday-pill:hover,
.sh-bday-btn:hover {
  background: var(--sh-red-h);
  color: #fff
}

.sh-bday-pill {
  pointer-events: none;
  cursor: default
}

.sh-bday-pill:hover {
  background: var(--sh-red)
}

.sh-account-btn.active {
  background: #fff;
  color: var(--sh-red);
  border: none
}

.sh-account-btn.active:hover {
  background: #f8fafc;
  color: var(--sh-red-h)
}


/* ── Category Nav ─────────────────────────────── */
.sh-cat-nav-wrap {
  position: relative
}

.sh-cat-nav {
  background: var(--sh-dark);
  border-top: 1px solid rgba(255, 255, 255, .08);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch
}

.sh-cat-nav::-webkit-scrollbar {
  display: none
}

.sh-cat-list {
  display: flex;
  align-items: center;
  gap: 0;
  padding: 0 24px;
  white-space: nowrap
}

.sh-cat-nav-more {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 52px;
  display: none;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  border: none;
  background: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .65) 100%);
  color: rgba(255, 255, 255, .92);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2
}

.sh-cat-nav-more:hover {
  color: #fff
}

.sh-cat-nav-less {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 52px;
  display: none;
  align-items: center;
  justify-content: flex-start;
  padding-left: 10px;
  border: none;
  background: linear-gradient(270deg, transparent 0%, rgba(0, 0, 0, .35) 45%, rgba(0, 0, 0, .65) 100%);
  color: rgba(255, 255, 255, .92);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2
}

.sh-cat-nav-less:hover {
  color: #fff
}

.sh-cat-nav-wrap.has-more-right .sh-cat-nav-more {
  display: flex
}

.sh-cat-nav-wrap.has-more-left .sh-cat-nav-less {
  display: flex
}

.sh-cat-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 21px;
  color: rgba(255, 255, 255, .75);
  font-size: 1.2rem;
  font-weight: 500;
  border-bottom: 2px solid transparent;
  transition: .2s;
  cursor: pointer;
  line-height: 1.2
}

.sh-cat-item:hover {
  color: #fff;
  background: rgba(255, 255, 255, .06)
}

.sh-cat-item.active {
  color: #fff;
  border-bottom-color: var(--sh-red);
  background: rgba(220, 38, 38, .15)
}

/* ── Breaking News Ticker ─────────────────────── */
.sh-ticker {
  background: var(--sh-red);
  color: #fff;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 0
}

.sh-ticker-label {
  background: rgba(0, 0, 0, .25);
  padding: 6px 14px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 6px
}

.sh-ticker-track {
  flex: 1;
  overflow: hidden;
  padding: 6px 0
}

.sh-ticker-inner {
  display: inline-block;
  white-space: nowrap;
  animation: sh-tick 35s linear infinite;
  font-size: .8rem
}

.sh-ticker-inner span {
  margin-right: 60px
}

@keyframes sh-tick {
  0% {
    transform: translateX(0)
  }

  100% {
    transform: translateX(-50%)
  }
}

/* ── Time Slot Tabs ───────────────────────────── */
.sh-slots {
  background: var(--sh-dark2);
  padding: 8px 20px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  border-bottom: 1px solid rgba(255, 255, 255, .06)
}

.sh-slot-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  color: rgba(255, 255, 255, .7);
  padding: 7px 16px;
  border-radius: 20px;
  font-size: .78rem;
  white-space: nowrap;
  transition: .2s;
  cursor: pointer
}

.sh-slot-btn:hover {
  background: rgba(255, 255, 255, .14);
  color: #fff
}

.sh-slot-btn.active {
  background: var(--sh-red);
  border-color: var(--sh-red);
  color: #fff
}

.sh-slot-btn .slot-time {
  font-size: .7rem;
  opacity: .8
}

/* ── Page Container ───────────────────────────── */
.sh-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 16px
}

.sh-main {
  padding: 20px 0 40px
}

.sh-page-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start
}

.sh-page-grid>* {
  min-width: 0
}

@media(max-width:900px) {
  .sh-page-grid {
    grid-template-columns: 1fr
  }
}

/* ── Site Footer ──────────────────────────────── */
.sh-footer {
  background: var(--sh-dark);
  color: rgba(255, 255, 255, .65);
  padding: 30px 0 16px;
  margin-top: 40px
}

.sh-footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  padding: 0 20px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .08)
}

.sh-footer h4 {
  color: #fff;
  font-size: .85rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: .5px
}

.sh-footer ul li {
  margin-bottom: 6px
}

.sh-footer a {
  color: rgba(255, 255, 255, .6);
  font-size: .8rem;
  transition: .15s
}

.sh-footer a:hover {
  color: #fff
}

.sh-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px 0;
  font-size: .75rem;
  flex-wrap: wrap;
  gap: 8px
}

.sh-social-links {
  display: flex;
  gap: 10px
}

.sh-social-links a {
  background: rgba(255, 255, 255, .1);
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .8rem;
  transition: .2s
}

.sh-social-links a:hover {
  background: var(--sh-red)
}

/* ════════════════════════════════════════════════
   COMPONENTS
════════════════════════════════════════════════ */

/* ── Cards ─────────────────────────────────────── */
.sh-card {
  background: var(--sh-white);
  border-radius: var(--sh-r);
  box-shadow: var(--sh-shadow);
  overflow: hidden
}

.sh-card-header {
  padding: 14px 18px;
  border-bottom: 1px solid var(--sh-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap
}

.sh-card-header h3 {
  font-size: .95rem;
  font-weight: 700;
  color: var(--sh-text)
}

.sh-card-header .view-all {
  font-size: .78rem;
  color: var(--sh-red);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto
}

.sh-card-body {
  padding: 16px 18px
}

.sh-card-footer {
  padding: 10px 18px;
  background: #fafbfc;
  border-top: 1px solid var(--sh-border)
}

/* ── News Card ─────────────────────────────────── */
.sh-news-card {
  background: var(--sh-white);
  border-radius: var(--sh-r);
  box-shadow: var(--sh-shadow);
  overflow: hidden;
  transition: .2s;
  cursor: pointer
}

.sh-news-card:hover {
  box-shadow: var(--sh-shadow-md);
  transform: translateY(-2px)
}

.sh-news-card-img {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #1e293b, #334155);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .3);
  font-size: 2rem;
  position: relative
}

.sh-news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.sh-news-cat-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--sh-red);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 10px
}

.sh-news-card-body {
  padding: 12px 14px
}

.sh-news-card-title {
  font-size: .9rem;
  font-weight: 700;
  color: var(--sh-text);
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden
}

.sh-news-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .72rem;
  color: var(--sh-muted)
}

.sh-news-meta span {
  display: flex;
  align-items: center;
  gap: 3px
}

/* ── Breaking News Feature ─────────────────────── */
.sh-breaking-feature {
  background: var(--sh-dark);
  border-radius: var(--sh-r-lg);
  overflow: hidden;
  margin-bottom: 20px;
  position: relative
}

.sh-breaking-video {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0f172a, #1e293b, #0f172a);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative
}

.sh-breaking-video .play-btn {
  width: 64px;
  height: 64px;
  background: rgba(220, 38, 38, .9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: .2s;
  color: #fff
}

.sh-breaking-video .play-btn:hover {
  background: var(--sh-red);
  transform: scale(1.1)
}

.sh-breaking-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, .85));
  padding: 20px 18px 14px;
  color: #fff
}

.sh-breaking-badge {
  background: var(--sh-red);
  color: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 10px;
  display: inline-block;
  margin-bottom: 6px;
  letter-spacing: .5px
}

.sh-breaking-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 6px
}

.sh-breaking-meta {
  font-size: .75rem;
  color: rgba(255, 255, 255, .7);
  display: flex;
  gap: 12px
}

/* ── Opinion Bar ───────────────────────────────── */
/* ── Opinion bar (highlighted CTA strip) ─────── */
.sh-opinion-compact {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, rgba(220, 38, 38, .22) 0%, rgba(244, 162, 97, .14) 50%, rgba(220, 38, 38, .18) 100%);
  border-radius: 0 0 var(--sh-r-lg) var(--sh-r-lg);
  padding: 18px 20px;
  border: 2px solid rgba(244, 162, 97, .45);
  border-top: 3px solid var(--sh-red);
  margin-bottom: 20px;
  box-shadow: 0 8px 28px rgba(220, 38, 38, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden;
}

.sh-opinion-compact--standalone {
  border-radius: var(--sh-r-lg);
  border-top: 2px solid rgba(244, 162, 97, .45)
}

.sh-opinion-compact::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--sh-red), #f4a261);
  border-radius: 0 4px 4px 0;
}

.sh-opinion-compact .mic {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(220, 38, 38, .4));
  line-height: 1;
}

.sh-opinion-compact .obar-text {
  flex: 1;
  min-width: 0;
  padding-left: 4px
}

.sh-opinion-compact .obar-eyebrow {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #fde68a;
  background: rgba(220, 38, 38, .35);
  padding: 3px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
  border: 1px solid rgba(244, 162, 97, .35);
}

.sh-opinion-compact .obar-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin: 0 0 4px;
}

.sh-opinion-compact .obar-hint {
  font-size: .92rem;
  color: rgba(255, 255, 255, .88);
  line-height: 1.45;
  margin: 0;
}

.sh-opinion-compact .obar-hint strong {
  color: #fde68a;
  font-weight: 700
}

.sh-opinion-compact-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center
}

.sh-opinion-compact-btn {
  background: var(--sh-red);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 24px;
  font-size: .95rem;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
  transition: .2s;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(220, 38, 38, .45);
  letter-spacing: .2px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sh-opinion-compact-btn:hover {
  background: var(--sh-red-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, .5);
  color: #fff
}

.sh-opinion-compact-btn--blink {
  animation: opinion-btn-blink 1.4s ease-in-out infinite
}

.sh-opinion-compact-btn--blink:hover {
  animation-play-state: paused
}

@keyframes opinion-btn-blink {

  0%,
  100% {
    opacity: 1;
    box-shadow: 0 4px 14px rgba(220, 38, 38, .45);
    transform: scale(1)
  }

  50% {
    opacity: .88;
    box-shadow: 0 4px 26px rgba(220, 38, 38, .85), 0 0 18px rgba(253, 230, 138, .55);
    transform: scale(1.03)
  }
}

.sh-opinion-compact-btn-secondary {
  background: rgba(255, 255, 255, .06);
  border: 2px solid rgba(255, 255, 255, .55);
  color: #fff;
  box-shadow: none;
  padding: 11px 20px;
}

.sh-opinion-compact-btn-secondary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  transform: translateY(-1px)
}

/* Legacy aliases (news detail & older markup) */
.sh-opinion-bar {
  background: linear-gradient(135deg, rgba(220, 38, 38, .22) 0%, rgba(244, 162, 97, .14) 50%, rgba(220, 38, 38, .18) 100%);
  border-radius: var(--sh-r-lg);
  padding: 18px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
  color: #fff;
  border: 2px solid rgba(244, 162, 97, .45);
  box-shadow: 0 8px 28px rgba(220, 38, 38, .22), inset 0 1px 0 rgba(255, 255, 255, .08);
  position: relative;
  overflow: hidden
}

.sh-opinion-bar::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 5px;
  background: linear-gradient(180deg, var(--sh-red), #f4a261);
  border-radius: 0 4px 4px 0
}

.sh-opinion-bar .mic-icon {
  font-size: 2rem;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 6px rgba(220, 38, 38, .4))
}

.sh-opinion-bar-text {
  flex: 1;
  min-width: 0;
  padding-left: 4px
}

.sh-opinion-bar-text h4 {
  font-size: 1.05rem;
  font-weight: 800;
  margin: 0 0 4px;
  color: #fff
}

.sh-opinion-bar-text p {
  font-size: .92rem;
  color: rgba(255, 255, 255, .88);
  margin: 0;
  line-height: 1.45
}

.sh-opinion-cta-group {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
  align-items: center
}

.sh-opinion-cta {
  background: var(--sh-red);
  color: #fff;
  border: none;
  padding: 12px 22px;
  border-radius: 24px;
  font-weight: 800;
  font-size: .95rem;
  white-space: nowrap;
  transition: .2s;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(220, 38, 38, .45);
  letter-spacing: .2px
}

.sh-opinion-cta:hover {
  background: var(--sh-red-h);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(220, 38, 38, .5)
}

.sh-opinion-cta.sh-opinion-cta--blink {
  animation: opinion-btn-blink 1.4s ease-in-out infinite
}

.sh-opinion-cta.sh-opinion-cta--blink:hover {
  animation-play-state: paused
}

.sh-opinion-cta-secondary {
  background: rgba(255, 255, 255, .06);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .55);
  box-shadow: none;
  padding: 11px 20px
}

.sh-opinion-cta-secondary:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  transform: translateY(-1px)
}

.sh-opinions-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, .6);
  z-index: 10000;
  display: none;
  align-items: flex-start;
  justify-content: center;
  padding: 24px 16px;
  overflow: auto
}

.sh-opinions-modal-overlay.open {
  display: flex
}

.sh-opinions-modal {
  background: #fff;
  border-radius: var(--sh-r-lg);
  max-width: 900px;
  width: 100%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .25);
  margin: auto
}

.sh-opinions-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--sh-border)
}

.sh-opinions-modal-header h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0
}

.sh-opinions-modal-body {
  padding: 18px 20px 22px;
  max-height: 70vh;
  overflow: auto
}

.sh-opinions-fab {
  display: none !important;
  position: fixed;
  right: 16px;
  bottom: 72px;
  z-index: 850;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  border: none;
  cursor: pointer;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sh-red);
  color: #fff;
  box-shadow: 0 8px 24px rgba(220, 38, 38, .45);
  padding: 8px 6px 6px
}

.sh-opinions-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(220, 38, 38, .55)
}

.sh-opinions-fab-icon {
  font-size: 1.25rem;
  line-height: 1
}

.sh-opinions-fab-label {
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase
}

.sh-reels-overlay {
  position: fixed;
  inset: 0;
  z-index: 11000;
  background: #000;
  display: none
}

.sh-reels-overlay.open {
  display: block
}

.sh-reels-close {
  position: absolute;
  top: calc(10px + env(safe-area-inset-top, 0px));
  right: 12px;
  z-index: 2;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer
}

.sh-reels-hint {
  position: absolute;
  top: calc(18px + env(safe-area-inset-top, 0px));
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .7);
  pointer-events: none
}

.sh-reels-feed {
  height: 100%;
  overflow-y: auto;
  scroll-snap-type: y mandatory;
  -webkit-overflow-scrolling: touch
}

.sh-reel-slide {
  height: 100dvh;
  min-height: 100%;
  scroll-snap-align: start;
  scroll-snap-stop: always
}

body.sh-reels-open .sh-opinions-fab {
  display: none
}

.sh-reel-stage {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 72px 20px 40px;
  color: #fff;
  text-align: center
}

.sh-reel-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.3rem;
  border: 3px solid rgba(255, 255, 255, .9);
  margin-bottom: 12px
}

.sh-reel-mic {
  font-size: 4.5rem;
  margin: 8px 0 18px;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .4))
}

.sh-reel-play {
  border: none;
  cursor: pointer;
  background: rgba(220, 38, 38, .95);
  color: #fff;
  font-weight: 800;
  font-size: .95rem;
  border-radius: 999px;
  padding: 12px 22px;
  margin-bottom: auto
}

.sh-reel-meta {
  width: 100%;
  max-width: 420px;
  text-align: left;
  margin-top: auto
}

.sh-reel-name {
  font-size: .82rem;
  font-weight: 800;
  margin-bottom: 4px
}

.sh-reel-title {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.35;
  margin-bottom: 6px
}

.sh-reel-stats {
  font-size: .75rem;
  color: rgba(255, 255, 255, .7)
}

@media (max-width: 640px) {
  .sh-opinions-fab {
    right: 12px;
    bottom: 76px;
    width: 58px;
    height: 58px
  }
}

.sh-opinions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 14px
}

.sh-opinion-video-card {
  border: 1px solid var(--sh-border);
  border-radius: var(--sh-r);
  overflow: hidden;
  background: #fff;
  transition: .15s
}

.sh-opinion-video-card:hover {
  box-shadow: var(--sh-shadow-md);
  transform: translateY(-2px)
}

.sh-opinion-video-thumb {
  background: var(--sh-dark2);
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .35);
  font-size: 2rem;
  cursor: pointer;
  position: relative
}

.sh-opinion-video-thumb .ov-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .25);
  opacity: 0;
  transition: .15s
}

.sh-opinion-video-card:hover .ov-play {
  opacity: 1
}

.sh-opinion-video-thumb .ov-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, .7);
  color: #fff;
  font-size: .68rem;
  padding: 2px 8px;
  border-radius: 10px
}

.sh-opinion-video-body {
  padding: 10px 12px 12px
}

.sh-opinion-video-body .ov-name {
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: 2px
}

.sh-opinion-video-body .ov-meta {
  font-size: .72rem;
  color: var(--sh-muted)
}

.sh-opinions-empty {
  text-align: center;
  padding: 32px;
  color: var(--sh-muted);
  font-size: .88rem
}

/* ── Top Contributors ──────────────────────────── */
.sh-contributor-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sh-border)
}

.sh-contributor-item:last-child {
  border-bottom: none
}

.sh-contributor-rank {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sh-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  font-weight: 700;
  flex-shrink: 0
}

.sh-contributor-rank.gold {
  background: #fef3c7;
  color: #d97706
}

.sh-contributor-rank.silver {
  background: #f1f5f9;
  color: #64748b
}

.sh-contributor-rank.bronze {
  background: #fff7ed;
  color: #c2410c
}

.sh-contributor-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--sh-dark2);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0
}

.sh-contributor-info {
  flex: 1
}

.sh-contributor-name {
  font-size: .82rem;
  font-weight: 600
}

.sh-contributor-stats {
  font-size: .72rem;
  color: var(--sh-muted)
}

.sh-contributor-rating {
  font-size: .75rem;
  color: var(--sh-gold);
  font-weight: 700
}

/* ── Sidebar Widgets ───────────────────────────── */
.sh-widget {
  background: var(--sh-white);
  border-radius: var(--sh-r);
  box-shadow: var(--sh-shadow);
  overflow: hidden;
  margin-bottom: 16px
}

.sh-widget-header {
  background: var(--sh-dark);
  color: #fff;
  padding: 10px 14px;
  font-size: .82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 6px
}

.sh-widget-body {
  padding: 12px 14px
}

.sh-region-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px
}

.sh-region-btn {
  background: var(--sh-bg);
  border: 1px solid var(--sh-border);
  color: var(--sh-text);
  padding: 4px 10px;
  border-radius: 14px;
  font-size: .75rem;
  cursor: pointer;
  transition: .2s
}

.sh-region-btn:hover,
.sh-region-btn.active {
  background: var(--sh-red);
  border-color: var(--sh-red);
  color: #fff
}

/* ── Category News Grid ────────────────────────── */
.sh-cat-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 20px
}

@media(max-width:600px) {
  .sh-cat-grid {
    grid-template-columns: 1fr
  }
}

.sh-cat-box {
  background: var(--sh-dark);
  border-radius: var(--sh-r);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: .2s
}

.sh-cat-box:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-shadow-md)
}

.sh-cat-box-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  opacity: .6
}

.sh-cat-box-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 30%, rgba(0, 0, 0, .85));
  padding: 12px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end
}

.sh-cat-box-name {
  color: rgba(255, 255, 255, .8);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 3px
}

.sh-cat-box-title {
  color: #fff;
  font-size: .85rem;
  font-weight: 700;
  line-height: 1.3
}

/* ── Buttons ────────────────────────────────────── */
.sh-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  border-radius: var(--sh-r-sm);
  font-weight: 600;
  font-size: .85rem;
  border: none;
  cursor: pointer;
  transition: .2s;
  text-decoration: none
}

.sh-btn-primary {
  background: var(--sh-red);
  color: #fff
}

.sh-btn-primary:hover {
  background: var(--sh-red-h)
}

.sh-btn-secondary {
  background: var(--sh-dark2);
  color: #fff
}

.sh-btn-secondary:hover {
  background: var(--sh-dark3)
}

.sh-btn-outline {
  background: transparent;
  color: var(--sh-red);
  border: 1.5px solid var(--sh-red)
}

.sh-btn-outline:hover {
  background: var(--sh-red);
  color: #fff
}

.sh-btn-success {
  background: var(--sh-green);
  color: #fff
}

.sh-btn-success:hover {
  background: #15803d
}

.sh-btn-warning {
  background: var(--sh-yellow);
  color: #fff
}

.sh-btn-sm {
  padding: 5px 12px;
  font-size: .78rem
}

.sh-btn-lg {
  padding: 12px 26px;
  font-size: .95rem
}

.sh-btn-block {
  width: 100%;
  justify-content: center
}

.sh-btn-ghost {
  background: transparent;
  color: var(--sh-muted);
  border: 1px solid var(--sh-border)
}

.sh-btn-ghost:hover {
  background: var(--sh-bg);
  color: var(--sh-text)
}

/* ── Badges / Tags ─────────────────────────────── */
.sh-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 8px;
  border-radius: 20px;
  font-size: .7rem;
  font-weight: 600
}

.sh-badge-red {
  background: #fee2e2;
  color: var(--sh-red)
}

.sh-badge-green {
  background: #dcfce7;
  color: #15803d
}

.sh-badge-yellow {
  background: #fef9c3;
  color: #854d0e
}

.sh-badge-blue {
  background: #dbeafe;
  color: #1d4ed8
}

.sh-badge-dark {
  background: var(--sh-dark);
  color: #fff
}

.sh-badge-orange {
  background: #ffedd5;
  color: #c2410c
}

.sh-badge-live {
  background: var(--sh-red);
  color: #fff;
  animation: sh-pulse .8s ease infinite alternate
}

@keyframes sh-pulse {
  from {
    opacity: 1
  }

  to {
    opacity: .65
  }
}

/* ── Forms ─────────────────────────────────────── */
.sh-form-group {
  margin-bottom: 16px
}

.sh-label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--sh-text);
  margin-bottom: 5px
}

.sh-input,
.sh-select,
.sh-textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r-sm);
  font-size: .88rem;
  color: var(--sh-text);
  background: var(--sh-white);
  transition: .2s;
  outline: none
}

.sh-input:focus,
.sh-select:focus,
.sh-textarea:focus {
  border-color: var(--sh-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .1)
}

.sh-textarea {
  resize: vertical;
  min-height: 80px
}

.sh-input-icon {
  position: relative
}

.sh-input-icon .sh-input {
  padding-left: 36px
}

.sh-input-icon .icon {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sh-light)
}

.sh-form-hint {
  font-size: .75rem;
  color: var(--sh-muted);
  margin-top: 4px
}

.sh-form-error {
  font-size: .75rem;
  color: var(--sh-red);
  margin-top: 4px
}

/* ── Tables ─────────────────────────────────────── */
.sh-table-wrap {
  overflow-x: auto
}

.sh-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .85rem
}

.sh-table th {
  background: var(--sh-bg);
  color: var(--sh-muted);
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  padding: 10px 14px;
  text-align: left;
  border-bottom: 2px solid var(--sh-border)
}

.sh-table td {
  padding: 11px 14px;
  border-bottom: 1px solid var(--sh-border);
  vertical-align: middle;
  color: var(--sh-text)
}

.sh-table tr:last-child td {
  border-bottom: none
}

.sh-table tr:hover td {
  background: #f8fafc
}

.sh-table .actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap
}

/* ── Stat Cards ─────────────────────────────────── */
.sh-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 14px;
  margin-bottom: 22px
}

.sh-stat-card {
  background: var(--sh-white);
  border-radius: var(--sh-r);
  padding: 16px 18px;
  box-shadow: var(--sh-shadow);
  border-left: 4px solid var(--sh-red)
}

.sh-stat-card.green {
  border-color: var(--sh-green)
}

.sh-stat-card.yellow {
  border-color: var(--sh-yellow)
}

.sh-stat-card.blue {
  border-color: var(--sh-blue)
}

.sh-stat-card.purple {
  border-color: var(--sh-purple)
}

.sh-stat-card.orange {
  border-color: var(--sh-orange)
}

.sh-stat-label {
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .5px;
  color: var(--sh-muted);
  margin-bottom: 5px
}

.sh-stat-value {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--sh-text);
  line-height: 1
}

.sh-stat-change {
  font-size: .72rem;
  color: var(--sh-green);
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 3px
}

.sh-stat-change.down {
  color: var(--sh-red)
}

/* ── Progress Bar ───────────────────────────────── */
.sh-progress {
  background: var(--sh-border);
  border-radius: 10px;
  height: 8px;
  overflow: hidden;
  margin-top: 6px
}

.sh-progress-bar {
  height: 100%;
  border-radius: 10px;
  background: var(--sh-red);
  transition: width .4s
}

.sh-progress-bar.green {
  background: var(--sh-green)
}

.sh-progress-bar.gold {
  background: var(--sh-gold)
}

/* ── Alert ──────────────────────────────────────── */
.sh-alert {
  padding: 12px 16px;
  border-radius: var(--sh-r-sm);
  font-size: .85rem;
  margin-bottom: 14px;
  display: flex;
  gap: 10px;
  align-items: flex-start
}

.sh-alert-info {
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe
}

.sh-alert-success {
  background: #f0fdf4;
  color: #15803d;
  border: 1px solid #bbf7d0
}

.sh-alert-warning {
  background: #fffbeb;
  color: #92400e;
  border: 1px solid #fde68a
}

.sh-alert-danger {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca
}

/* ── Modal ──────────────────────────────────────── */
.sh-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px
}

.sh-modal {
  background: var(--sh-white);
  border-radius: var(--sh-r-lg);
  box-shadow: var(--sh-shadow-lg);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto
}

.sh-modal-header {
  padding: 18px 22px;
  border-bottom: 1px solid var(--sh-border);
  display: flex;
  align-items: center;
  justify-content: space-between
}

.sh-modal-header h3 {
  font-size: 1rem;
  font-weight: 700
}

.sh-modal-close {
  background: none;
  border: none;
  font-size: 1.2rem;
  color: var(--sh-muted);
  cursor: pointer;
  line-height: 1
}

.sh-modal-body {
  padding: 20px 22px
}

.sh-modal-footer {
  padding: 14px 22px;
  border-top: 1px solid var(--sh-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px
}

.sh-modal-overlay.hidden {
  display: none
}

/* ════════════════════════════════════════════════
   DASHBOARD PANEL LAYOUT (Intern / Admin / Mentor / Editor)
════════════════════════════════════════════════ */
.sh-dashboard-wrap {
  display: flex;
  min-height: 100vh;
  background: var(--sh-bg)
}

/* ── Sidebar ────────────────────────────────────── */
.sh-sidebar-nav {
  width: var(--sidebar-w);
  background: var(--sh-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  z-index: 500;
  overflow-y: auto;
  transition: .3s
}

.sh-sidebar-brand {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  font-size: 1.2rem;
  font-weight: 900;
  color: #fff;
  display: flex;
  align-items: baseline;
  gap: .32em;
  letter-spacing: .02em
}

.sh-sidebar-brand span {
  color: var(--sh-red)
}

.sh-sidebar-brand .sh-brand-shout {
  color: #fff
}

.sh-sidebar-brand .sh-brand-here {
  color: var(--sh-red)
}

.sh-sidebar-brand .brand-name {
  font-size: 1.2rem;
  font-weight: 900;
  letter-spacing: -1px
}

.sh-sidebar-brand .brand-name span {
  color: var(--sh-red)
}

.sh-sidebar-brand .brand-role {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
  margin-top: 2px
}

.sh-sidebar-user {
  padding: 14px 20px 10px;
  display: flex;
  align-items: center;
  gap: 10px
}

.sh-sidebar-avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--sh-red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0
}

.sh-sidebar-user-info .name {
  font-size: .85rem;
  font-weight: 600;
  color: #fff
}

.sh-sidebar-user-info .code {
  font-size: .72rem;
  color: rgba(255, 255, 255, .5)
}

.sh-sidebar-attendance {
  padding: 0 20px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .07)
}

.sh-sidebar-att-status {
  font-size: .68rem;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 8px;
  text-align: center;
  line-height: 1.3
}

.sh-sidebar-att-status.in {
  color: #86efac
}

.sh-sidebar-att-btns {
  display: flex;
  gap: 8px
}

.sh-sidebar-att-btn {
  flex: 1;
  padding: 7px 6px;
  border: none;
  border-radius: var(--sh-r-sm);
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
  transition: .15s;
  letter-spacing: .2px
}

.sh-sidebar-att-btn-in {
  background: var(--sh-green);
  color: #fff
}

.sh-sidebar-att-btn-in:hover:not(:disabled) {
  background: #15803d
}

.sh-sidebar-att-btn-out {
  background: var(--sh-red);
  color: #fff
}

.sh-sidebar-att-btn-out:hover:not(:disabled) {
  background: var(--sh-red-h)
}

.sh-sidebar-att-btn:disabled {
  opacity: .4;
  cursor: not-allowed
}

.sh-sidebar-search {
  padding: 10px 16px 10px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  position: relative;
  flex-shrink: 0;
}

.sh-sidebar-search::before {
  content: '🔍';
  position: absolute;
  left: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: .72rem;
  opacity: .45;
  pointer-events: none;
  line-height: 1;
}

.sh-sidebar-search-input {
  width: 100%;
  padding: 8px 10px 8px 30px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--sh-r-sm);
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: .8rem;
  outline: none;
  transition: border-color .15s, background .15s;
  box-sizing: border-box;
}

.sh-sidebar-search-input::placeholder {
  color: rgba(255, 255, 255, .38)
}

.sh-sidebar-search-input:focus {
  border-color: rgba(255, 255, 255, .28);
  background: rgba(255, 255, 255, .12);
}

.sh-sidebar-search-input::-webkit-search-cancel-button {
  cursor: pointer
}

.sh-sidebar-menu {
  flex: 1;
  padding: 10px 0;
  overflow-y: auto
}

.sh-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0;
  color: rgba(255, 255, 255, .65);
  font-size: .85rem;
  cursor: pointer;
  transition: .15s;
  border-left: 3px solid transparent
}

/* Full row is clickable — padding lives on the <a>, not only the text. */
.sh-nav-item > a {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 10px 20px;
  color: inherit;
  text-decoration: none;
  min-width: 0
}

.sh-nav-item:hover {
  background: rgba(255, 255, 255, .07);
  color: #fff
}

.sh-nav-item.active {
  background: rgba(220, 38, 38, .15);
  color: #fff;
  border-left-color: var(--sh-red)
}

.sh-nav-item .icon {
  width: 18px;
  text-align: center;
  font-size: .95rem;
  flex-shrink: 0
}

.sh-nav-section-label {
  list-style: none;
  margin: 10px 10px 4px;
  padding: 9px 12px 9px 10px;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .6px;
  text-transform: uppercase;
  border-radius: var(--sh-r-sm);
  border-left: 3px solid transparent;
  line-height: 1.2;
}

/* Parent menu groups — role colours */
.sh-nav-parent--central-admin {
  background: rgba(37, 99, 235, .22);
  color: #bfdbfe;
  border-left-color: #3b82f6
}

.sh-nav-parent--editor {
  background: rgba(124, 58, 237, .22);
  color: #ddd6fe;
  border-left-color: #8b5cf6
}

.sh-nav-parent--mentor {
  background: rgba(5, 150, 105, .22);
  color: #a7f3d0;
  border-left-color: #10b981
}

.sh-nav-parent--intern {
  background: rgba(217, 119, 6, .22);
  color: #fde68a;
  border-left-color: #f59e0b
}

.sh-nav-parent--super-admin {
  background: rgba(220, 38, 38, .24);
  color: #fecaca;
  border-left-color: #f87171
}

/* Active parent = section containing current page */
.sh-nav-parent--active {
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .12);
  font-size: .76rem;
}

.sh-nav-parent--active.sh-nav-parent--central-admin {
  background: rgba(37, 99, 235, .38);
  color: #fff;
  border-left-color: #60a5fa
}

.sh-nav-parent--active.sh-nav-parent--editor {
  background: rgba(124, 58, 237, .38);
  color: #fff;
  border-left-color: #a78bfa
}

.sh-nav-parent--active.sh-nav-parent--mentor {
  background: rgba(5, 150, 105, .38);
  color: #fff;
  border-left-color: #34d399
}

.sh-nav-parent--active.sh-nav-parent--intern {
  background: rgba(217, 119, 6, .38);
  color: #fff;
  border-left-color: #fbbf24
}

.sh-nav-parent--active.sh-nav-parent--super-admin {
  background: rgba(220, 38, 38, .42);
  color: #fff;
  border-left-color: #fca5a5
}

.sh-nav-parent:first-child {
  margin-top: 4px
}

.sh-sidebar-bottom {
  padding: 14px 20px;
  border-top: 1px solid rgba(255, 255, 255, .07)
}

.sh-nav-logout {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .5);
  font-size: .82rem;
  cursor: pointer;
  transition: .15s;
  padding: 0
}

.sh-nav-logout > a {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 10px 20px;
  color: inherit;
  text-decoration: none
}

.sh-nav-logout:hover {
  color: #fc8181
}

/* ── Dashboard Main Area ────────────────────────── */
.sh-dash-main {
  margin-left: var(--sidebar-w);
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 100vh
}

/* ── Dashboard Top Bar ──────────────────────────── */
.sh-dash-topbar {
  background: var(--sh-white);
  border-bottom: 1px solid var(--sh-border);
  padding: 18px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0, 0, 0, .04);
  min-height: 72px
}

.sh-dash-topbar h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--sh-text)
}

.sh-topbar-title {
  flex: 1;
  min-width: 0;
  font-size: 1.58rem;
  font-weight: 700;
  color: var(--sh-text);
  line-height: 1.2
}

.sh-topbar-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  flex-wrap: wrap
}

.sh-dash-topbar .topbar-right {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap
}

.sh-notif-btn {
  background: var(--sh-bg);
  border: none;
  padding: 7px 10px;
  border-radius: var(--sh-r-sm);
  color: var(--sh-muted);
  font-size: 1rem;
  position: relative;
  cursor: pointer
}

.sh-notif-btn .dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 8px;
  height: 8px;
  background: var(--sh-red);
  border-radius: 50%;
  border: 2px solid var(--sh-white)
}

.sh-online-dot {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .75rem;
  color: var(--sh-green)
}

.sh-online-dot::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sh-green);
  display: block
}

/* ── Dashboard Content Area ─────────────────────── */
.sh-dash-content {
  padding: 22px 24px;
  flex: 1
}

.sh-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--sh-text);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  flex: 1;
  min-width: 0
}

.sh-section-title .view-all {
  font-size: .78rem;
  color: var(--sh-red);
  font-weight: 600;
  white-space: nowrap;
  flex-shrink: 0;
  margin-left: auto
}

.sh-section-title .view-all:hover {
  text-decoration: underline
}

/* ── Queue Item ─────────────────────────────────── */
.sh-queue-item {
  background: var(--sh-white);
  border-radius: var(--sh-r);
  padding: 14px 16px;
  margin-bottom: 10px;
  box-shadow: var(--sh-shadow);
  display: flex;
  align-items: center;
  gap: 14px;
  transition: .2s
}

.sh-queue-item:hover {
  box-shadow: var(--sh-shadow-md)
}

.sh-queue-thumb {
  width: 70px;
  height: 50px;
  background: var(--sh-dark2);
  border-radius: var(--sh-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .4);
  font-size: 1.2rem;
  flex-shrink: 0;
  overflow: hidden
}

.sh-queue-info {
  flex: 1;
  min-width: 0
}

.sh-queue-title {
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 3px
}

.sh-queue-meta {
  font-size: .75rem;
  color: var(--sh-muted);
  display: flex;
  gap: 10px;
  flex-wrap: wrap
}

.sh-queue-actions {
  display: flex;
  gap: 6px;
  flex-shrink: 0
}

/* ── AI Flag Indicator ──────────────────────────── */
.sh-ai-flag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: .72rem;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px
}

.sh-ai-flag.green {
  background: #dcfce7;
  color: #15803d
}

.sh-ai-flag.yellow {
  background: #fef9c3;
  color: #854d0e
}

.sh-ai-flag.red {
  background: #fee2e2;
  color: var(--sh-red)
}

/* ── Video Flag Timeline ────────────────────────── */
.sh-flag-timeline {
  background: var(--sh-bg);
  border-radius: var(--sh-r-sm);
  padding: 12px;
  margin-bottom: 14px
}

.sh-flag-bar-wrap {
  position: relative;
  height: 10px;
  background: var(--sh-border);
  border-radius: 5px;
  margin: 8px 0
}

.sh-flag-bar-fill {
  position: absolute;
  left: 0;
  height: 100%;
  background: var(--sh-green);
  border-radius: 5px;
  width: 35%
}

.sh-flag-marker {
  position: absolute;
  top: -26px;
  transform: translateX(-50%);
  min-width: 24px;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: .72rem;
  line-height: 1.2;
  background: #fff;
  color: var(--sh-text);
  border: 1px solid var(--sh-border);
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
}

.sh-flag-marker.yellow {
  background: rgba(254, 249, 195, .95);
  color: #854d0e;
  left: 55%
}

.sh-flag-marker.red {
  background: rgba(254, 226, 226, .95);
  color: var(--sh-red);
  left: 72%
}

.sh-flag-note {
  font-size: .75rem;
  color: var(--sh-muted);
  margin-top: 4px
}

.sh-flag-note.red {
  color: var(--sh-red)
}

.sh-flag-note.yellow {
  color: var(--sh-yellow)
}

/* ── Points / Earnings Display ──────────────────── */
.sh-points-big {
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--sh-gold);
  line-height: 1
}

.sh-points-label {
  font-size: .78rem;
  color: var(--sh-muted);
  margin-top: 2px
}

.sh-points-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fef3c7;
  color: #92400e;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: .8rem;
  font-weight: 700
}

/* ── Activity Log ───────────────────────────────── */
.sh-activity-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--sh-border)
}

.sh-activity-item:last-child {
  border-bottom: none
}

.sh-activity-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .85rem;
  flex-shrink: 0
}

.sh-activity-icon.red {
  background: #fee2e2;
  color: var(--sh-red)
}

.sh-activity-icon.green {
  background: #dcfce7;
  color: var(--sh-green)
}

.sh-activity-icon.blue {
  background: #dbeafe;
  color: var(--sh-blue)
}

.sh-activity-icon.gold {
  background: #fef3c7;
  color: var(--sh-gold)
}

.sh-activity-icon.gray {
  background: var(--sh-bg);
  color: var(--sh-muted)
}

.sh-activity-body {
  flex: 1;
  min-width: 0
}

.sh-activity-text {
  font-size: .85rem;
  color: var(--sh-text)
}

.sh-activity-time {
  font-size: .72rem;
  color: var(--sh-light);
  margin-top: 2px
}

/* ── Chart Placeholder ──────────────────────────── */
.sh-chart-placeholder {
  background: var(--sh-bg);
  border-radius: var(--sh-r-sm);
  height: 180px;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  padding: 16px;
  overflow: hidden
}

.sh-bar {
  flex: 1;
  background: linear-gradient(to top, var(--sh-red), #f87171);
  border-radius: var(--sh-r-sm) var(--sh-r-sm) 0 0;
  min-height: 10px;
  transition: .4s;
  position: relative
}

.sh-bar:nth-child(2n) {
  background: linear-gradient(to top, #374155, #64748b)
}

.sh-bar-label {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  font-size: .65rem;
  color: var(--sh-muted);
  white-space: nowrap
}

/* ── Recording Page ─────────────────────────────── */
.sh-recording-frame {
  background: var(--sh-dark);
  border-radius: var(--sh-r-lg);
  aspect-ratio: 9/16;
  max-width: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden
}

.sh-recording-frame video {
  width: 100%;
  height: 100%;
  object-fit: cover
}

.sh-mic-logo {
  font-size: 5rem;
  color: rgba(255, 255, 255, .2)
}

.sh-rec-indicator {
  position: absolute;
  top: 14px;
  left: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 0, 0, .6);
  padding: 4px 10px;
  border-radius: 20px;
  color: #fff;
  font-size: .75rem
}

.sh-rec-dot {
  width: 8px;
  height: 8px;
  background: var(--sh-red);
  border-radius: 50%;
  animation: sh-pulse .6s ease infinite alternate
}

.sh-ai-monitor {
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 1.5rem
}

.sh-rec-timer {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, .7);
  color: #fff;
  padding: 6px 20px;
  border-radius: 20px;
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums
}

/* ── SHIP Stage Display ─────────────────────────── */
.sh-ship-stages {
  display: flex;
  gap: 0;
  counter-reset: stage;
  position: relative;
  margin: 24px 0
}

.sh-ship-stages::before {
  content: '';
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 3px;
  background: var(--sh-border);
  z-index: 0
}

.sh-stage-item {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 1
}

.sh-stage-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--sh-border);
  background: var(--sh-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .9rem;
  margin: 0 auto 8px;
  color: var(--sh-muted);
  transition: .2s
}

.sh-stage-item.done .sh-stage-circle {
  background: var(--sh-green);
  border-color: var(--sh-green);
  color: #fff
}

.sh-stage-item.active .sh-stage-circle {
  background: var(--sh-red);
  border-color: var(--sh-red);
  color: #fff;
  box-shadow: 0 0 0 5px rgba(220, 38, 38, .2)
}

.sh-stage-label {
  font-size: .75rem;
  font-weight: 600;
  color: var(--sh-muted)
}

.sh-stage-item.active .sh-stage-label {
  color: var(--sh-red);
  font-weight: 700
}

.sh-stage-item.done .sh-stage-label {
  color: var(--sh-green)
}

/* Vertical SHIP list (e.g. Intern dashboard sidebar card) */
.sh-ship-stages.sh-ship-stages-vertical {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  margin: 0
}

.sh-ship-stages.sh-ship-stages-vertical::before {
  display: none
}

.sh-ship-stages.sh-ship-stages-vertical .sh-stage-item {
  flex: none;
  display: flex;
  align-items: center;
  gap: 10px;
  text-align: left
}

.sh-ship-stages.sh-ship-stages-vertical .sh-stage-circle {
  margin: 0;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  font-size: .8rem
}

.sh-ship-stages.sh-ship-stages-vertical .sh-stage-item:not(.done):not(.active) .sh-stage-circle {
  background: var(--sh-white);
  border-color: var(--sh-border);
  color: var(--sh-muted)
}

/* ── Admin News Table ───────────────────────────── */
.sh-news-row-img {
  width: 50px;
  height: 36px;
  background: var(--sh-dark2);
  border-radius: var(--sh-r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .3);
  font-size: .8rem;
  flex-shrink: 0
}

.sh-type-toggle {
  display: flex;
  gap: 4px
}

.sh-type-toggle label {
  display: flex;
  align-items: center;
  gap: 3px;
  font-size: .72rem;
  cursor: pointer
}

.sh-type-toggle input[type=checkbox] {
  accent-color: var(--sh-red)
}

/* ── Inline Notification Box ────────────────────── */
.sh-instr-box {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: var(--sh-r-sm);
  padding: 12px 14px;
  font-size: .82rem;
  color: #78350f
}

.sh-instr-box .instr-from {
  font-weight: 700;
  margin-bottom: 3px
}

/* ── Chat UI ──────────────────────────────────── */
.sh-chat-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r);
  overflow: hidden;
  background: #fff;
  min-height: 520px
}

@media(max-width:800px) {
  .sh-chat-layout {
    grid-template-columns: 1fr;
    min-height: auto
  }
}

.sh-chat-threads {
  border-right: 1px solid var(--sh-border);
  background: #f8fafc;
  display: flex;
  flex-direction: column;
  min-height: 520px
}

.sh-chat-threads-hdr {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sh-border);
  font-size: .78rem;
  font-weight: 800;
  color: var(--sh-dark)
}

.sh-chat-thread-list {
  flex: 1;
  overflow-y: auto
}

.sh-chat-thread-item {
  padding: 12px 14px;
  border-bottom: 1px solid var(--sh-border);
  cursor: pointer;
  transition: .12s
}

.sh-chat-thread-item:hover,
.sh-chat-thread-item.active {
  background: #fff
}

.sh-chat-thread-item.active {
  border-left: 3px solid var(--sh-red);
  padding-left: 11px
}

.sh-chat-thread-name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--sh-dark);
  margin-bottom: 2px
}

.sh-chat-thread-meta {
  font-size: .68rem;
  color: var(--sh-muted);
  margin-bottom: 4px
}

.sh-chat-thread-preview {
  font-size: .74rem;
  color: var(--sh-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sh-chat-pane {
  display: flex;
  flex-direction: column;
  min-height: 520px
}

.sh-chat-pane-hdr {
  padding: 12px 16px;
  border-bottom: 1px solid var(--sh-border);
  background: #fff
}

.sh-chat-pane-hdr h4 {
  margin: 0 0 2px;
  font-size: .9rem;
  font-weight: 800
}

.sh-chat-pane-hdr p {
  margin: 0;
  font-size: .72rem;
  color: var(--sh-muted)
}

.sh-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  background: #fafafa
}

.sh-chat-compose {
  padding: 12px 16px;
  border-top: 1px solid var(--sh-border);
  background: #fff
}

.sh-chat-compose textarea {
  width: 100%;
  min-height: 72px;
  padding: 10px 12px;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r-sm);
  font-size: .84rem;
  font-family: inherit;
  resize: vertical;
  box-sizing: border-box
}

.sh-chat-compose textarea:focus {
  outline: none;
  border-color: var(--sh-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .06)
}

.sh-chat-compose-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px
}

.sh-chat-bubble-row {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  align-items: flex-end
}

.sh-chat-bubble-row.mine {
  flex-direction: row-reverse
}

.sh-chat-av {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .65rem;
  font-weight: 800;
  flex-shrink: 0
}

.sh-chat-bubble {
  max-width: 75%;
  border-radius: 10px;
  padding: 8px 12px;
  font-size: .78rem;
  line-height: 1.5
}

.sh-chat-text {
  word-break: break-word
}

.sh-chat-time {
  font-size: .65rem;
  color: var(--sh-muted);
  margin-top: 4px
}

.sh-chat-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  color: var(--sh-muted);
  font-size: .84rem;
  padding: 40px;
  text-align: center
}

.sh-chat-audit {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--sh-r-sm);
  padding: 10px 14px;
  font-size: .78rem;
  color: #1e40af;
  margin-bottom: 16px
}

/* ── Notification bell & panel ────────────────── */
.sh-notify-wrap {
  position: relative;
  display: inline-block
}

.sh-notify-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 4px 6px;
  position: relative;
  line-height: 1
}

.sh-notify-badge {
  position: absolute;
  top: 0;
  right: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  background: var(--sh-red);
  color: #fff;
  font-size: .58rem;
  font-weight: 800;
  border-radius: 10px;
  border: 1.5px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center
}

.sh-notify-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 320px;
  max-width: 92vw;
  background: #fff;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .15);
  z-index: 600;
  display: none;
  overflow: hidden
}

.sh-notify-panel.open {
  display: block
}

.sh-notify-panel-hdr {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid var(--sh-border);
  background: #f8fafc;
  font-size: .8rem
}

.sh-notify-mark-all {
  background: none;
  border: none;
  color: var(--sh-red);
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer
}

.sh-notify-list {
  max-height: 360px;
  overflow-y: auto
}

.sh-notify-item {
  padding: 10px 12px;
  border-bottom: 1px solid var(--sh-border);
  cursor: pointer;
  transition: .12s
}

.sh-notify-item:hover {
  background: #f8fafc
}

.sh-notify-item.unread {
  background: #fff7f7;
  border-left: 3px solid var(--sh-red);
  padding-left: 9px
}

.sh-notify-item-top {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px
}

.sh-notify-pri {
  font-size: .62rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 2px 6px;
  border-radius: 8px
}

.sh-notify-pri.normal {
  background: #f1f5f9;
  color: #64748b
}

.sh-notify-pri.high {
  background: #fef9c3;
  color: #92400e
}

.sh-notify-pri.urgent {
  background: #fee2e2;
  color: #b91c1c
}

.sh-notify-time {
  font-size: .65rem;
  color: var(--sh-muted)
}

.sh-notify-item-title {
  font-size: .8rem;
  font-weight: 800;
  color: var(--sh-dark);
  margin-bottom: 3px
}

.sh-notify-item-body {
  font-size: .74rem;
  color: var(--sh-text);
  line-height: 1.45
}

.sh-notify-item-from {
  font-size: .66rem;
  color: var(--sh-muted);
  margin-top: 5px
}

.sh-notify-item-link {
  display: inline-block;
  margin-top: 6px;
  font-size: .72rem;
  font-weight: 700;
  color: var(--sh-red);
  text-decoration: none
}

.sh-notify-empty {
  padding: 24px;
  text-align: center;
  font-size: .78rem;
  color: var(--sh-muted)
}

/* ── Notification admin compose ───────────────── */
.ntf-compose {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px
}

@media(max-width:900px) {
  .ntf-compose {
    grid-template-columns: 1fr
  }
}

.ntf-recipients {
  max-height: 280px;
  overflow-y: auto;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r-sm);
  padding: 8px
}

.ntf-rec-group {
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--sh-muted);
  margin: 10px 0 6px;
  padding-top: 6px;
  border-top: 1px dashed var(--sh-border)
}

.ntf-rec-group:first-child {
  border-top: none;
  margin-top: 0;
  padding-top: 0
}

.ntf-rec-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 6px;
  font-size: .78rem;
  cursor: pointer
}

.ntf-rec-item:hover {
  background: #f8fafc
}

.ntf-rec-item input {
  accent-color: var(--sh-red)
}

.ntf-field {
  margin-bottom: 14px
}

.ntf-field label {
  display: block;
  font-size: .73rem;
  font-weight: 700;
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: .3px;
  color: var(--sh-muted)
}

.ntf-field input,
.ntf-field select,
.ntf-field textarea {
  width: 100%;
  padding: 8px 11px;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r-sm);
  font-size: .84rem;
  font-family: inherit;
  box-sizing: border-box
}

.ntf-field textarea {
  resize: vertical;
  min-height: 90px
}

.ntf-hint {
  font-size: .78rem;
  color: var(--sh-muted);
  padding: 10px 14px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--sh-r-sm);
  margin-bottom: 16px
}

.ntf-perm {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--sh-r-sm);
  padding: 10px 14px;
  font-size: .78rem;
  color: #1e40af;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap
}

/* ════════════════════════════════════════════════
   MOBILE RESPONSIVE — Complete
════════════════════════════════════════════════ */

/* ── Hamburger Button ───────────────────────────── */
.sh-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
  background: transparent;
  border: none;
  padding: 9px 12px;
  cursor: pointer;
  border-radius: var(--sh-r-sm);
  transition: .15s;
  flex-shrink: 0
}

.sh-hamburger:hover {
  background: var(--sh-bg)
}

.sh-hamburger span {
  display: block;
  width: 30px;
  height: 3px;
  background: var(--sh-dark);
  border-radius: 2px;
  transition: .25s
}

.sh-hamburger.open span:nth-child(1) {
  transform: translateY(10px) rotate(45deg)
}

.sh-hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0)
}

.sh-hamburger.open span:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg)
}

/* ── Sidebar Overlay (mobile) ───────────────────── */
.sh-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  z-index: 499;
  backdrop-filter: blur(2px)
}

.sh-sidebar-overlay.open {
  display: block
}

/* ── Visibility Helpers ─────────────────────────── */
.sh-hide-mobile {
  display: block
}

.sh-show-mobile {
  display: none
}

/* ════════════ BREAKPOINT: ≤900px (tablet) ════════ */
@media(max-width:900px) {
  .sh-page-grid {
    grid-template-columns: 1fr
  }
}

/* ════════════ BREAKPOINT: ≤768px (mobile) ════════ */
@media(max-width:768px) {

  /* Dashboard layout */
  .sh-dashboard-wrap {
    overflow-x: hidden
  }

  .sh-sidebar-nav {
    transform: translateX(-100%);
    z-index: 500
  }

  .sh-sidebar-nav.open {
    transform: translateX(0);
    box-shadow: 4px 0 20px rgba(0, 0, 0, .4)
  }

  .sh-dash-main {
    margin-left: 0;
    width: 100%
  }

  .sh-dash-topbar {
    padding: 14px 18px;
    gap: 12px;
    min-height: 60px
  }

  .sh-dash-topbar h1 {
    font-size: 1.2rem
  }

  .sh-dash-content {
    padding: 14px
  }

  .sh-hamburger {
    display: flex
  }

  /* Show/hide helpers */
  .sh-hide-mobile {
    display: none
  }

  .sh-show-mobile {
    display: block
  }

  /* Stats */
  .sh-stats-row {
    grid-template-columns: 1fr 1fr
  }

  /* Two/three col grids */
  .sh-two-col {
    grid-template-columns: 1fr
  }

  .sh-three-col {
    grid-template-columns: 1fr 1fr
  }

  /* Queue item wrap on medium mobile */
  .sh-queue-item {
    flex-wrap: wrap;
    gap: 10px
  }

  .sh-queue-actions {
    margin-left: auto
  }

  /* Opinion bar — stack vertically */
  .sh-opinion-compact,
  .sh-opinion-bar {
    flex-wrap: wrap;
    gap: 12px;
    padding: 14px 16px
  }

  .sh-opinion-compact .mic,
  .sh-opinion-bar .mic-icon {
    font-size: 1.6rem
  }

  .sh-opinion-compact .obar-title,
  .sh-opinion-bar-text h4 {
    font-size: .95rem
  }

  .sh-opinion-compact .obar-hint,
  .sh-opinion-bar-text p {
    font-size: .85rem
  }

  .sh-opinion-compact-btn,
  .sh-opinion-cta {
    width: 100%;
    justify-content: center;
    font-size: .9rem;
    padding: 13px 18px
  }

  .sh-opinion-compact-actions,
  .sh-opinion-cta-group {
    width: 100%;
    flex-direction: column
  }

  /* Category banner overlap */
  .sh-breaking-meta {
    flex-wrap: wrap;
    gap: 6px
  }

  .sh-breaking-title {
    font-size: .9rem
  }

  /* SHIP stages — smaller circles */
  .sh-stage-circle {
    width: 38px;
    height: 38px;
    font-size: .8rem
  }

  .sh-stage-label {
    font-size: .68rem
  }

  /* Section title */
  .sh-section-title {
    font-size: .9rem
  }
}

/* ════════════ BREAKPOINT: ≤640px (small mobile) ═══ */
@media(max-width:640px) {

  /* Public header */
  .sh-header-ad {
    display: none
  }

  .sh-bday-btn {
    display: none
  }

  .sh-logo {
    font-size: 1.8rem
  }

  .sh-header-top {
    padding: 8px 14px;
    gap: 10px;
    min-height: 50px
  }

  .sh-login-btn,
  .sh-account-btn,
  .sh-bday-pill {
    padding: 5px 11px;
    font-size: .78rem;
    border-radius: 14px
  }

  .sh-search-inline input {
    padding: 7px 14px 7px 36px;
    font-size: .82rem
  }

  .sh-search-inline .srch-icon {
    left: 11px;
    font-size: .9rem
  }

  /* Reduce main padding */
  .sh-main {
    padding: 12px 0 28px
  }

  .sh-container {
    padding: 0 10px
  }

  /* Category nav */
  .sh-cat-list {
    padding: 0 12px
  }

  .sh-cat-item {
    padding: 12px 16px;
    font-size: 1.05rem
  }

  /* Slot tabs */
  .sh-slots {
    padding: 6px 10px;
    gap: 6px
  }

  .sh-slot-btn {
    padding: 5px 10px;
    font-size: .72rem
  }

  .sh-slot-btn .slot-time {
    display: none
  }

  /* News grids */
  .sh-cat-grid {
    grid-template-columns: 1fr
  }

  /* Breaking overlay */
  .sh-breaking-overlay {
    padding: 12px 12px 10px
  }

  /* Cards */
  .sh-card-header {
    padding: 12px 14px
  }

  .sh-card-body {
    padding: 12px 14px
  }

  /* Stats row */
  .sh-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 10px
  }

  .sh-stat-card {
    padding: 12px 14px
  }

  .sh-stat-value {
    font-size: 1.35rem
  }

  /* Tables — full horizontal scroll, reasonable min-width */
  .sh-table-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--sh-r)
  }

  .sh-table {
    min-width: 540px
  }

  /* Queue item full-width actions */
  .sh-queue-item {
    padding: 10px 12px
  }

  .sh-queue-thumb {
    width: 56px;
    height: 42px
  }

  .sh-queue-actions {
    width: 100%;
    justify-content: flex-end;
    border-top: 1px solid var(--sh-border);
    padding-top: 8px;
    margin-top: 4px
  }

  /* Dashboard topbar */
  .sh-dash-topbar .topbar-right .sh-online-dot {
    display: none
  }

  .sh-dash-content {
    padding: 12px
  }

  /* Moderation split — stack */
  .sh-mod-split {
    flex-direction: column !important
  }

  .sh-mod-queue-panel {
    width: 100% !important;
    border-right: none !important;
    border-bottom: 1px solid var(--sh-border)
  }

  .sh-mod-detail-panel {
    width: 100% !important
  }

  /* Flag timeline */
  .sh-flag-timeline {
    padding: 10px
  }

  /* Contributor items */
  .sh-contributor-avatar {
    width: 30px;
    height: 30px;
    font-size: .78rem
  }

  /* Footer */
  .sh-footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 16px
  }

  .sh-footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 6px
  }

  /* Three col → single col */
  .sh-three-col {
    grid-template-columns: 1fr
  }

  /* Buttons full-width in forms */
  .sh-btn-block-mobile {
    width: 100%;
    justify-content: center
  }

  /* SHIP stages - compact */
  .sh-ship-stages {
    margin: 16px 0
  }

  .sh-ship-stages::before {
    top: 18px
  }

  .sh-stage-circle {
    width: 34px;
    height: 34px;
    font-size: .75rem
  }

  .sh-stage-label {
    font-size: .62rem
  }
}

/* ════════════ BREAKPOINT: ≤480px (xs phones) ══════ */
@media(max-width:480px) {

  html {
    font-size: 13px
  }

  /* Single stat column if very tight */
  .sh-stats-row {
    grid-template-columns: 1fr 1fr
  }

  /* Header actions — compact pills on xs */
  .sh-login-btn,
  .sh-account-btn,
  .sh-bday-pill {
    padding: 5px 10px;
    font-size: .76rem;
    border-radius: 14px
  }

  /* Opinion bar */
  .sh-opinion-bar {
    border-radius: var(--sh-r-sm)
  }

  /* Points big */
  .sh-points-big {
    font-size: 1.8rem
  }

  /* Footer single column */
  .sh-footer-grid {
    grid-template-columns: 1fr
  }

  /* Chart bars */
  .sh-chart-placeholder {
    gap: 4px;
    padding: 12px
  }

  /* Dash content */
  .sh-dash-content {
    padding: 10px
  }

  .sh-dash-topbar {
    padding: 12px 16px;
    min-height: 54px
  }

  .sh-dash-topbar h1 {
    font-size: 1.05rem
  }

  .sh-dash-topbar .sh-topbar-title {
    font-size: 1.05rem
  }

  /* Table min-width tighter */
  .sh-table {
    min-width: 420px
  }

  .sh-table th,
  .sh-table td {
    padding: 8px 10px
  }

  /* Activity item */
  .sh-activity-icon {
    width: 28px;
    height: 28px;
    font-size: .78rem
  }

  /* Ticker label short */
  .sh-ticker-label {
    font-size: .68rem;
    padding: 5px 10px;
    letter-spacing: .5px
  }

  .sh-ticker-inner {
    font-size: .75rem
  }
}

/* ── Responsive grid utilities ─────────────────── */
.sh-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.sh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px
}

.sh-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px
}

.sh-grid-main-side {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 20px;
  align-items: start
}

.sh-grid-main-side-lg {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 20px;
  align-items: start
}

/* ── Admin master toolbar (shared) ─────────────── */
.master-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px
}

.master-toolbar .search-wrap {
  position: relative;
  flex: 1;
  min-width: 140px;
  max-width: 280px
}

.master-toolbar .search-wrap input {
  width: 100%;
  padding: 8px 12px 8px 34px;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r-sm);
  font-size: .83rem;
  outline: none;
  transition: .2s;
  background: #fff;
  box-sizing: border-box
}

.master-toolbar .search-wrap input:focus {
  border-color: var(--sh-red);
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .08)
}

.master-toolbar .search-wrap .si {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--sh-muted);
  font-size: .82rem;
  pointer-events: none
}

.master-toolbar select {
  padding: 8px 10px;
  border: 1.5px solid var(--sh-border);
  border-radius: var(--sh-r-sm);
  font-size: .83rem;
  color: var(--sh-text);
  background: #fff;
  outline: none;
  cursor: pointer;
  max-width: 100%
}

.sh-main-content {
  padding: 20px 0 40px
}

/* ── Global mobile polish (all pages) ──────────── */
@media(max-width:768px) {
  body {
    overflow-x: clip
  }

  .sh-dashboard-wrap {
    overflow-x: clip;
    max-width: 100vw
  }

  .sh-header-top {
    flex-wrap: wrap
  }

  .sh-header-actions {
    gap: 8px
  }

  .sh-dash-topbar .sh-topbar-title {
    font-size: 1.15rem
  }

  .sh-dash-topbar .sh-topbar-actions {
    width: 100%;
    justify-content: flex-end;
    margin-left: auto
  }

  .sh-card-header {
    flex-wrap: wrap;
    gap: 8px
  }

  .sh-flex-between {
    flex-wrap: wrap;
    gap: 8px
  }

  .sh-grid-2,
  .sh-grid-3,
  .sh-grid-4,
  .sh-grid-main-side,
  .sh-grid-main-side-lg {
    grid-template-columns: 1fr !important
  }

  .master-toolbar .search-wrap {
    max-width: none;
    flex: 1 1 100%
  }

  .master-toolbar select {
    flex: 1;
    min-width: 120px
  }

  .master-toolbar>div[style*="margin-left:auto"] {
    margin-left: 0 !important;
    width: 100%;
    justify-content: flex-end
  }

  .sh-stats-row[style*="repeat(4"],
  .sh-stats-row[style*="repeat(3"] {
    grid-template-columns: 1fr 1fr !important
  }

  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns: 1fr 340px"],
  [style*="grid-template-columns:1fr 340px"] {
    grid-template-columns: 1fr !important
  }

  [style*="grid-template-columns:repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(4,1fr)"],
  [style*="grid-template-columns:repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"] {
    grid-template-columns: 1fr 1fr !important
  }

  .sh-opinions-modal,
  .sh-contributor-modal {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    max-height: 100vh !important
  }

  .sh-opinions-modal-overlay {
    padding: 0 !important;
    align-items: stretch !important
  }

  .detail-panel {
    width: 100% !important;
    max-width: 100vw !important
  }

  .debate-stage {
    grid-template-columns: 1fr 1fr !important
  }

  .ship-metrics {
    grid-template-columns: 1fr 1fr !important
  }

  .decision-cards {
    grid-template-columns: 1fr !important
  }

  .careers-hero {
    padding: 24px 18px
  }

  .careers-hero h1 {
    font-size: 1.3rem
  }

  .bulk-bar {
    flex-wrap: wrap;
    gap: 8px
  }

  .region-hero {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 16px;
    gap: 10px
  }

  .region-hero-info h1 {
    font-size: 1.15rem
  }

  .region-stats {
    flex-wrap: wrap;
    gap: 12px
  }

  .news-list-thumb {
    width: 72px;
    height: 52px;
    font-size: 1.1rem
  }

  .confirm-hero {
    padding: 28px 16px
  }

  .step-flow {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 2px
  }

  .step-label {
    font-size: .62rem
  }

  .step-num {
    width: 32px;
    height: 32px;
    font-size: .78rem
  }

  .sh-dash-topbar h2 {
    font-size: .92rem
  }

  .m-form-row {
    grid-template-columns: 1fr !important
  }

  .rec-page {
    padding: 12px
  }

  .rec-action-btn {
    padding: 10px 6px;
    font-size: .78rem
  }
}

@media(max-width:640px) {

  .sh-stats-row,
  .sh-stats-row[style*="repeat(4"],
  .sh-stats-row[style*="repeat(3"] {
    grid-template-columns: 1fr 1fr !important
  }

  [style*="grid-template-columns:repeat(4"],
  [style*="grid-template-columns:repeat(3"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important
  }

  .sh-table {
    min-width: 480px;
    font-size: .78rem
  }

  .debate-stage {
    grid-template-columns: 1fr !important
  }

  .ship-metrics {
    grid-template-columns: 1fr !important
  }
}

@media(max-width:480px) {
  .sh-stats-row {
    grid-template-columns: 1fr !important
  }

  .sh-account-btn span,
  .sh-account-btn .acct-label {
    display: none
  }

  .master-toolbar .search-wrap {
    flex: 1 1 100%
  }
}

/* ── Utilities ──────────────────────────────────── */
.sh-flex {
  display: flex;
  align-items: center
}

.sh-flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between
}

.sh-flex-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px
}

.sh-text-muted {
  color: var(--sh-muted)
}

.sh-text-red {
  color: var(--sh-red)
}

.sh-text-green {
  color: var(--sh-green)
}

.sh-text-gold {
  color: var(--sh-gold)
}

.sh-text-sm {
  font-size: .8rem
}

.sh-text-xs {
  font-size: .72rem
}

.sh-text-bold {
  font-weight: 700
}

.sh-mb-0 {
  margin-bottom: 0
}

.sh-mb-8 {
  margin-bottom: 8px
}

.sh-mb-16 {
  margin-bottom: 16px
}

.sh-mb-24 {
  margin-bottom: 24px
}

.sh-mt-8 {
  margin-top: 8px
}

.sh-mt-16 {
  margin-top: 16px
}

.sh-divider {
  border: none;
  border-top: 1px solid var(--sh-border);
  margin: 16px 0
}

.sh-truncate {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis
}

.sh-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px
}

.sh-three-col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px
}

@media(max-width:640px) {

  .sh-two-col,
  .sh-three-col {
    grid-template-columns: 1fr
  }
}

@media(max-width:600px) {
  .form-grid-2 {
    grid-template-columns: 1fr
  }
}

/* ════════════════════════════════════════════════
   SHARED HEADER — Inline Search + Birthday pill
════════════════════════════════════════════════ */
.sh-search-inline {
  flex: 1;
  max-width: 510px;
  position: relative
}

.sh-search-inline input {
  width: 100%;
  padding: 7px 16px 7px 38px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  color: #fff;
  font-size: .86rem;
  outline: none;
  transition: .2s;
  line-height: 1.2;
}

.sh-search-inline input::placeholder {
  color: rgba(255, 255, 255, .45)
}

.sh-search-inline input:focus {
  background: rgba(255, 255, 255, .16);
  border-color: rgba(255, 255, 255, .35)
}

.sh-search-inline .srch-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .5);
  font-size: .95rem;
  pointer-events: none;
}

.sh-search-drop {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--sh-dark2);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--sh-r);
  padding: 10px 14px;
  z-index: 300;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .4);
}

.sh-search-drop.open {
  display: block
}

.sh-search-drop .trending-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px
}

.sh-search-drop .trending-tags span {
  font-size: .72rem;
  color: rgba(255, 255, 255, .4)
}

.sh-search-drop .trending-tags a {
  background: rgba(255, 255, 255, .1);
  color: #93c5fd;
  font-size: .75rem;
  padding: 2px 8px;
  border-radius: 10px;
  transition: .15s;
}

.sh-search-drop .trending-tags a:hover {
  background: rgba(255, 255, 255, .2)
}

.sh-search-keyword-results {
  display: none;
  margin-top: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, .1)
}

.sh-search-kw-label {
  font-size: .68rem;
  font-weight: 700;
  color: rgba(255, 255, 255, .45);
  margin-bottom: 6px
}

.sh-search-kw-item {
  display: block;
  font-size: .78rem;
  font-weight: 600;
  color: #e2e8f0;
  padding: 5px 0;
  line-height: 1.35
}

.sh-search-kw-item:hover {
  color: #fff
}

.sh-search-kw-empty {
  font-size: .75rem;
  color: rgba(255, 255, 255, .45)
}

@media(max-width:900px) {
  .sh-search-inline {
    max-width: 330px;
    min-width: 0
  }
}

@media(max-width:640px) {
  .sh-bday-pill {
    display: none
  }

  .sh-header-top {
    position: relative;
    padding: 12px 18px;
    min-height: 60px
  }

  .sh-search-inline {
    flex: 0 0 auto;
    max-width: 51px;
    min-width: 51px;
    overflow: visible;
  }

  .sh-search-inline:not(.open) input {
    display: none
  }

  .sh-search-inline:not(.open) .sh-search-drop {
    display: none !important
  }

  .sh-search-inline .srch-icon {
    cursor: pointer;
    pointer-events: auto
  }

  .sh-search-inline.open {
    position: absolute;
    left: 10px;
    right: 10px;
    top: calc(100% + 4px);
    max-width: none;
    z-index: 1100;
    background: var(--sh-dark2);
    padding: 8px 10px;
    border-radius: var(--sh-r);
    border: 1px solid rgba(255, 255, 255, .12);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .45);
  }

  .sh-search-inline.open input {
    display: block;
    width: 100%
  }
}

/* ════════════════════════════════════════════════
   FTT ADVERTISEMENT CAROUSEL (sidebar widget)
════════════════════════════════════════════════ */
.ftt-ad-box {
  border: 1.5px dashed rgba(255, 255, 255, .18);
  border-radius: var(--sh-r);
  background: var(--sh-dark2);
  padding: 14px 14px 10px;
  margin-top: 14px;
}

.ftt-ad-label {
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: rgba(255, 255, 255, .35);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 10px;
}

.ftt-ad-carousel {
  position: relative;
  overflow: hidden
}

.ftt-ad-slide {
  display: none;
  text-align: center;
  animation: fttin .3s ease
}

.ftt-ad-slide.active {
  display: block
}

@keyframes fttin {
  from {
    opacity: 0;
    transform: translateY(8px)
  }

  to {
    opacity: 1;
    transform: none
  }
}

.ftt-ad-slide a {
  display: block;
  text-decoration: none;
  color: inherit
}

.ftt-ad-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
}

.ftt-ad-product {
  font-size: .62rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--sh-red);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.ftt-ad-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--sh-text);
  line-height: 1.3;
  margin-bottom: 5px;
}

.ftt-ad-sub {
  font-size: .73rem;
  color: var(--sh-muted);
  line-height: 1.4;
  margin-bottom: 10px;
}

.ftt-ad-cta {
  display: inline-block;
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .8);
  padding: 5px 18px;
  border-radius: 20px;
  font-size: .76rem;
  font-weight: 600;
  transition: .2s;
}

.ftt-ad-slide a:hover .ftt-ad-cta {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .5);
  color: #fff
}

.ftt-ad-dots {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-top: 10px;
  padding-bottom: 2px;
}

.ftt-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .2);
  cursor: pointer;
  transition: .2s;
}

.ftt-dot.active {
  background: var(--sh-red);
  width: 14px;
  border-radius: 3px
}
/* ── Form validation (SH_VALIDATE) ─────────────────────────── */
.sh-invalid,
input.sh-invalid,
select.sh-invalid,
textarea.sh-invalid {
  border-color: var(--sh-red) !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, .12) !important
}

.sh-field-error {
  color: var(--sh-red);
  font-size: .74rem;
  font-weight: 600;
  margin-top: 4px;
  line-height: 1.35
}

.sh-field-error::before {
  content: "⚠ "
}

/* ── Help: ? button + iframe modal (SH_HELP) ───────────────── */
.shh-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.5px solid var(--sh-border);
  background: var(--sh-white);
  color: var(--sh-blue);
  font: 800 1rem/1 "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background .15s, border-color .15s, color .15s
}

.shh-btn:hover,
.shh-btn:focus-visible {
  background: #eff6ff;
  border-color: var(--sh-blue);
  outline: none
}

.shh-btn.shh-float {
  position: fixed;
  right: 16px;
  bottom: 70px;
  z-index: 900;
  width: 42px;
  height: 42px;
  font-size: 1.15rem;
  background: var(--sh-blue);
  border-color: var(--sh-blue);
  color: #fff;
  box-shadow: var(--sh-shadow-lg)
}

.shh-btn.shh-float:hover {
  background: #1d4ed8;
  color: #fff
}

body:has(> .shh-float) .sh-opinions-fab {
  bottom: 124px
}

.shh-slot {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto
}

html.shh-lock,
html.shh-lock body {
  overflow: hidden
}

.shh-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: rgba(15, 23, 42, .55);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2vh 2vw;
  opacity: 0;
  transition: opacity .15s
}

.shh-overlay.open {
  opacity: 1
}

.shh-dialog {
  background: var(--sh-white);
  border-radius: var(--sh-r-lg);
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
  display: flex;
  flex-direction: column;
  width: min(760px, 96vw);
  height: min(640px, 92vh);
  overflow: hidden
}

.shh-dialog.shh-md {
  width: min(560px, 96vw);
  height: min(560px, 92vh)
}

.shh-dialog.shh-xl {
  width: min(1180px, 96vw);
  height: 90vh
}

.shh-head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--sh-dark), var(--sh-dark3));
  color: #fff
}

.shh-head h3 {
  font-size: .95rem;
  font-weight: 700;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap
}

.shh-open {
  font-size: .74rem;
  color: #bfdbfe;
  white-space: nowrap
}

.shh-open:hover {
  color: #fff;
  text-decoration: underline
}

.shh-x {
  background: rgba(255, 255, 255, .12);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: .9rem
}

.shh-x:hover {
  background: rgba(255, 255, 255, .25)
}

.shh-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: var(--sh-bg)
}

.shh-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translate(-50%, 20px);
  background: var(--sh-dark);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--sh-r);
  font-size: .84rem;
  font-weight: 600;
  z-index: 3100;
  opacity: 0;
  transition: opacity .2s, transform .2s;
  pointer-events: none
}

.shh-toast.show {
  opacity: 1;
  transform: translate(-50%, 0)
}

@media (max-width: 640px) {
  .shh-overlay {
    padding: 0
  }

  .shh-dialog,
  .shh-dialog.shh-md,
  .shh-dialog.shh-xl {
    width: 100vw;
    height: 100vh;
    border-radius: 0
  }

  .shh-open {
    display: none
  }

  .shh-btn.shh-float {
    right: 12px;
    width: 36px;
    height: 36px;
    font-size: 1rem
  }

  body:has(> .shh-float) .sh-opinions-fab {
    bottom: 118px
  }
}
