.home-daily-tools {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-block: clamp(13px, 2vw, 22px);
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
}

.home-daily-tools[hidden] {
  display: none;
}

.home-daily-tools a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 46px;
  min-width: 0;
  padding: 10px 13px;
  border-radius: 9px;
  background: var(--soft);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.home-daily-tools a:hover {
  background: color-mix(in srgb, var(--green) 14%, var(--soft));
}

.home-daily-tools a:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 2px;
}

.home-daily-tools a b {
  flex: none;
  color: var(--green);
  font-weight: 400;
}

html[dir="rtl"] .home-daily-tools a b {
  transform: scaleX(-1);
}

.start-nav.start-nav--grouped {
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.start-nav-unit {
  display: grid;
  gap: 6px;
}

.start-nav-unit p {
  margin: 0;
  color: var(--green);
  font-size: .85rem;
  font-weight: 650;
  line-height: 1.45;
}

.start-nav-unit button {
  min-height: 44px;
}

.course-study {
  margin-block-start: 16px;
  padding: 4px clamp(10px, 2vw, 20px);
  scroll-margin-block-start: 5rem;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
}

.course-study__body {
  margin-block-end: 15px;
}

.course-study__jump {
  display: grid;
  gap: 4px;
  width: min(100%, 36rem);
  font-weight: 600;
}

.course-study__jump select {
  min-height: 44px;
  width: 100%;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--bg);
  color: var(--ink);
}

.course-study__answers {
  display: grid;
  gap: 8px;
}

.course-study__answers label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  line-height: 1.55;
}

.course-study__answers input {
  flex: none;
  margin-block-start: 4px;
  accent-color: var(--green);
}

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

.course-study__feedback {
  padding-inline-start: 10px;
  border-inline-start: 3px solid var(--gold);
}

.course-study__feedback[data-correct="true"] {
  border-color: var(--green);
}

@media (max-width: 700px) {
  .home-daily-tools {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-daily-tools a {
    padding: 8px 10px;
    font-size: .86rem;
  }
}
