.learning-guide-launcher {
  position: fixed;
  z-index: 45;
  right: 22px;
  top: 124px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 12px 8px 8px;
  border: 1px solid #cbdcd1;
  border-radius: 14px;
  color: #18563f;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 10px 32px rgba(33, 74, 51, .12);
  cursor: pointer;
}
.learning-guide-launcher:hover { transform: translateY(-1px); border-color: #8db39d; }
.learning-guide-launcher > span:first-child { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; background: #d7ed89; color: #29402f; font-size: 17px; font-weight: 900; }
.learning-guide-launcher b, .learning-guide-launcher small { display: block; text-align: left; }
.learning-guide-launcher b { font-size: 11px; }
.learning-guide-launcher small { margin-top: 2px; color: #7a887f; font-size: 8px; }
.learning-guide-open { overflow: hidden; }
.learning-guide-backdrop { position: fixed; inset: 0; z-index: 100; padding: 18px; overflow-y: auto; background: rgba(21, 34, 27, .54); backdrop-filter: blur(7px); }
.learning-guide-backdrop[hidden] { display: none; }
.learning-guide-modal { width: min(760px, 100%); margin: auto; max-height: calc(100svh - 36px); overflow-y: auto; padding: 27px; border-radius: 24px; color: #17211d; background: white; box-shadow: 0 25px 80px rgba(18, 37, 26, .24); }
.learning-guide-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; }
.learning-guide-head small { color: #89948e; font-size: 9px; font-weight: 800; letter-spacing: 1.4px; }
.learning-guide-head h2 { margin: 7px 0 0; font-size: clamp(23px, 4vw, 31px); line-height: 1.15; }
.learning-guide-close { width: 36px; height: 36px; flex: 0 0 auto; border: 0; border-radius: 50%; color: #53635a; background: #eef2ef; font-size: 22px; cursor: pointer; }
.learning-guide-languages { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-top: 18px; padding: 5px; border-radius: 13px; background: #f1f4f2; }
.learning-guide-languages button { min-height: 38px; border: 0; border-radius: 9px; color: #718078; background: transparent; font-weight: 850; cursor: pointer; }
.learning-guide-languages button.active { color: white; background: #216b4f; box-shadow: 0 4px 12px rgba(33, 107, 79, .2); }
.learning-guide-lead { margin: 18px 0; padding: 15px 17px; border-left: 4px solid #d7ed89; border-radius: 0 12px 12px 0; color: #53635a; background: #f8faf8; font-size: 14px; line-height: 1.6; }
.learning-guide-modal[dir="rtl"] .learning-guide-lead { border-right: 4px solid #d7ed89; border-left: 0; border-radius: 12px 0 0 12px; }
.learning-guide-steps { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin: 0; padding: 0; list-style: none; }
.learning-guide-steps li { display: flex; align-items: flex-start; gap: 10px; padding: 12px; border: 1px solid #e1e7e3; border-radius: 12px; background: white; }
.learning-guide-steps li > span { width: 25px; height: 25px; flex: 0 0 auto; display: grid; place-items: center; border-radius: 8px; color: white; background: #216b4f; font-size: 10px; font-weight: 850; }
.learning-guide-steps p, .learning-guide-ratings p, .learning-guide-routine p { margin: 0; color: #65756c; font-size: 12px; line-height: 1.5; }
.learning-guide-copy h3 { margin: 20px 0 10px; font-size: 14px; }
.learning-guide-ratings { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.learning-guide-ratings article { min-height: 100px; padding: 12px; border: 1px solid currentColor; border-radius: 12px; }
.learning-guide-ratings article b { display: block; margin-bottom: 7px; font-size: 11px; }
.learning-guide-ratings article p { color: #65756c; font-size: 10px; }
.learning-guide-ratings .tone-0 { color: #b95449; background: #fff9f8; }
.learning-guide-ratings .tone-1 { color: #a36b29; background: #fffaf1; }
.learning-guide-ratings .tone-2 { color: #216b4f; background: #f6fbf8; }
.learning-guide-ratings .tone-3 { color: #4f628e; background: #f7f8fc; }
.learning-guide-algorithm { margin-top: 18px; padding: 4px 15px 14px; border: 1px solid #dfe9e3; border-radius: 16px; background: #f8fbf9; }
.learning-guide-algorithm h3 { color: #18563f; }
.learning-guide-algorithm ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.learning-guide-algorithm li { display: grid; grid-template-columns: 9px 1fr; align-items: start; gap: 9px; }
.learning-guide-algorithm li > span { width: 7px; height: 7px; margin-top: 6px; border-radius: 50%; background: #87ad41; box-shadow: 0 0 0 4px #e9f2d3; }
.learning-guide-algorithm p { margin: 0; color: #596a61; font-size: 11px; line-height: 1.55; }
.learning-guide-routine { display: flex; align-items: center; gap: 10px; margin-top: 14px; padding: 12px 14px; border-radius: 12px; background: #e3f0e9; }
.learning-guide-routine b { color: #216b4f; }
.learning-guide-reminder { margin: 14px 0 0; color: #18563f; font-size: 13px; line-height: 1.55; font-weight: 800; text-align: center; }
@media (max-width: 820px) {
  .learning-guide-launcher { top: 99px; right: 15px; }
}
@media (max-width: 560px) {
  .learning-guide-launcher { top: 92px; right: 12px; padding: 7px; border-radius: 13px; }
  .learning-guide-launcher > span:first-child { width: 30px; height: 30px; }
  .learning-guide-launcher > span:last-child { display: none; }
  .learning-guide-backdrop { display: flex; align-items: flex-end; padding: 0; }
  .learning-guide-modal { width: 100%; max-height: 92svh; margin: 0; padding: 22px 17px max(24px, env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; }
  .learning-guide-languages { gap: 4px; }
  .learning-guide-steps { grid-template-columns: 1fr; }
  .learning-guide-ratings { grid-template-columns: 1fr 1fr; }
  .learning-guide-ratings article { min-height: 88px; }
}
@media (prefers-reduced-motion: reduce) {
  .learning-guide-launcher { transition: none; }
}

