/* Земельный Практикум — универсальная плашка «Главное сейчас» v1.0
   Визуальный слой для главного экрана ученика.
   API, база, app.js и логика разделов не изменяются. */

body.dashboard-smart-hero-v1 .dashboard-grid .main-column > .event-hero.smart-main-hero {
  position: relative;
  min-height: 270px;
  overflow: hidden;
  border: 1px solid rgba(132, 255, 75, 0.22);
  border-radius: 20px;
  background-color: #071312;
  box-shadow:
    0 20px 48px rgba(3, 13, 12, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.dashboard-smart-hero-v1 .dashboard-grid .main-column > .event-hero.smart-main-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(4, 17, 16, 0.96) 0%, rgba(5, 17, 16, 0.82) 48%, rgba(4, 15, 15, 0.24) 100%),
    radial-gradient(circle at 22% 28%, rgba(154, 255, 66, 0.12), transparent 34%);
}

body.dashboard-smart-hero-v1 .dashboard-grid .main-column > .event-hero.smart-main-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -34px;
  height: 130px;
  pointer-events: none;
  opacity: 0.58;
  background:
    radial-gradient(circle at 12% 70%, rgba(176, 255, 68, 0.42) 0 1px, transparent 2px),
    radial-gradient(circle at 28% 54%, rgba(176, 255, 68, 0.38) 0 1px, transparent 2px),
    radial-gradient(circle at 47% 76%, rgba(176, 255, 68, 0.34) 0 1px, transparent 2px),
    radial-gradient(circle at 66% 56%, rgba(176, 255, 68, 0.32) 0 1px, transparent 2px),
    radial-gradient(circle at 83% 72%, rgba(176, 255, 68, 0.28) 0 1px, transparent 2px),
    linear-gradient(172deg, transparent 38%, rgba(157, 255, 60, 0.11) 39%, transparent 40%),
    linear-gradient(187deg, transparent 50%, rgba(157, 255, 60, 0.08) 51%, transparent 52%);
  background-size: 130px 70px, 170px 90px, 210px 100px, 190px 80px, 150px 90px, 100% 100%, 100% 100%;
}

body.dashboard-smart-hero-v1 .dashboard-grid .main-column > .event-hero.smart-main-hero > * {
  position: relative;
  z-index: 1;
}

body.dashboard-smart-hero-v1 .smart-main-hero .smart-hero-eyebrow {
  display: block;
  margin: 0 0 8px;
  color: rgba(233, 245, 236, 0.74);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.dashboard-smart-hero-v1 .smart-main-hero .hero-label {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border: 1px solid rgba(188, 255, 106, 0.24);
  border-radius: 9px;
  background: linear-gradient(135deg, rgba(49, 151, 69, 0.94), rgba(39, 124, 57, 0.92));
  color: #f6fff1;
  box-shadow: 0 0 18px rgba(112, 233, 80, 0.14);
  font-weight: 820;
}

body.dashboard-smart-hero-v1 .smart-main-hero h2 {
  max-width: 760px;
  margin-top: 14px;
  color: #fff;
  font-size: clamp(30px, 3vw, 47px);
  line-height: 1.04;
  letter-spacing: -0.035em;
  text-shadow: 0 8px 30px rgba(0, 0, 0, 0.34);
}

body.dashboard-smart-hero-v1 .smart-main-hero p {
  max-width: 780px;
  color: rgba(244, 248, 245, 0.84);
}

body.dashboard-smart-hero-v1 .smart-main-hero .smart-hero-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 10px 0 0;
  color: rgba(238, 246, 240, 0.82);
  font-size: 14px;
}

body.dashboard-smart-hero-v1 .smart-main-hero .smart-hero-description {
  margin: 8px 0 0;
  font-size: 16px;
  line-height: 1.5;
}

body.dashboard-smart-hero-v1 .smart-main-hero .row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

body.dashboard-smart-hero-v1 .smart-main-hero .row-actions .btn {
  min-height: 46px;
  border-radius: 11px;
  padding-inline: 18px;
}

body.dashboard-smart-hero-v1 .smart-main-hero .row-actions .btn:first-child {
  border-color: rgba(155, 255, 76, 0.42);
  background: linear-gradient(135deg, #4a9e49, #2d793b);
  color: #fff;
  box-shadow: 0 0 20px rgba(120, 234, 76, 0.18);
}

body.dashboard-smart-hero-v1 .smart-main-hero .smart-all-calls-btn,
body.dashboard-smart-hero-v1 .smart-main-hero .smart-secondary-action {
  border-color: rgba(223, 238, 226, 0.28) !important;
  background: rgba(5, 16, 15, 0.64) !important;
  color: #f5f8f5 !important;
  box-shadow: none !important;
}

body.dashboard-smart-hero-v1 .smart-main-hero .smart-all-calls-btn:hover,
body.dashboard-smart-hero-v1 .smart-main-hero .smart-secondary-action:hover {
  border-color: rgba(166, 255, 90, 0.46) !important;
  background: rgba(26, 62, 31, 0.66) !important;
}

body.dashboard-smart-hero-v1 .smart-main-hero .event-hero-side {
  align-self: flex-start;
}

body.dashboard-smart-hero-v1 .smart-main-hero .hero-host-card {
  border: 1px solid rgba(235, 245, 237, 0.28);
  background: rgba(19, 31, 29, 0.64);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

body.dashboard-smart-hero-v1 .smart-main-hero.smart-hero--homework {
  --smart-accent: #d7ff49;
}

body.dashboard-smart-hero-v1 .smart-main-hero.smart-hero--course {
  --smart-accent: #9dff46;
}

body.dashboard-smart-hero-v1 .smart-main-hero.smart-hero--idle {
  --smart-accent: #86e66a;
}

body.dashboard-smart-hero-v1 .smart-main-hero .smart-hero-symbol {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 10px;
  border: 1px solid rgba(174, 255, 88, 0.32);
  border-radius: 13px;
  background: rgba(86, 183, 55, 0.13);
  color: #baff57;
  box-shadow: 0 0 22px rgba(154, 255, 69, 0.12);
}

body.dashboard-smart-hero-v1 .smart-main-hero .smart-hero-symbol svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 1050px) {
  body.dashboard-smart-hero-v1 .dashboard-grid .main-column > .event-hero.smart-main-hero {
    min-height: 250px;
  }

  body.dashboard-smart-hero-v1 .smart-main-hero h2 {
    font-size: clamp(28px, 5vw, 42px);
  }
}

@media (max-width: 720px) {
  body.dashboard-smart-hero-v1 .dashboard-grid .main-column > .event-hero.smart-main-hero {
    min-height: 0;
    padding: 22px 18px;
  }

  body.dashboard-smart-hero-v1 .smart-main-hero .event-hero-side {
    margin-top: 18px;
  }

  body.dashboard-smart-hero-v1 .smart-main-hero .row-actions .btn {
    width: 100%;
  }
}
