/* DialogLab v1.69.37 — visual refinement without layout modifications.
   Scope: Home + Learning Courses + narrowly-scoped interactive states.
   No DOM, positioning, dimensions, font metrics, padding, overflow, stacking,
   transform, transitions, opacity, or responsive-grid overrides.
   Paint only: background, foreground, border colors, shadows, focus outlines.
*/
:root {
  --dl37-canvas: #061522;
  --dl37-surface: #071c28;
  --dl37-surface-raised: #092431;
  --dl37-stroke: rgba(115, 218, 222, .38);
  --dl37-stroke-bright: rgba(116, 239, 218, .78);
  --dl37-mint: #83eee2;
  --dl37-amber: #f2c96a;
  --dl37-body-text: #eaf7f7;
  --dl37-secondary-text: #c2d6db;
  --dl37-focus: #fbd57c;
  --dl37-shadow: rgba(0, 8, 17, .35);
}
/* Navigational geometry is untouched. Paint focus only, including keyboard input. */
body.app-body :is(a, button, input, select, textarea, [role="button"]):focus-visible {
  outline: 2px solid var(--dl37-focus);
  outline-offset: 3px;
}
body.app-body .site-header.pro-top-header,
body.app-body .mobile-app-tabbar {
  border-color: rgba(121, 218, 231, .32);
}
/* Home: existing positions, four tiles, and the search form all stay intact. */
body.user-mode .dialog-home-modal-v16704 {
  border-color: rgba(81, 195, 211, .38);
  box-shadow: 0 30px 100px rgba(0, 5, 14, .48), inset 0 1px rgba(182, 244, 250, .055);
}
body.user-mode .dialog-home-search-v16704 {
  border-color: rgba(245, 195, 91, .88);
  box-shadow: 0 12px 39px rgba(0, 8, 18, .28), 0 0 0 1px rgba(245, 195, 91, .075);
}
body.user-mode .dialog-home-search-v16704:focus-within {
  border-color: var(--dl37-focus);
  box-shadow: 0 0 0 2px rgba(253, 209, 117, .19), 0 14px 42px rgba(0, 9, 18, .3);
}
body.user-mode .dialog-home-search-v16704 input::placeholder {
  color: #b5c7d4;
}
body.user-mode .dialog-home-register-v16704 {
  background: linear-gradient(135deg, #36dfd8, #15b4bd);
  color: #05202b;
  box-shadow: 0 8px 24px rgba(25, 196, 196, .18);
}
body.user-mode .dialog-home-login-v16704 {
  background: rgba(5, 20, 34, .83);
  color: #f5faff;
  box-shadow: inset 0 1px rgba(255,255,255,.07);
}
body.user-mode .dialog-home-feature-v16704 {
  background: linear-gradient(145deg, rgba(7, 27, 42, .91), rgba(3, 17, 28, .97));
  box-shadow: 0 19px 47px rgba(0, 6, 16, .29), inset 0 1px rgba(188, 242, 242, .045);
}
body.user-mode .dialog-home-feature-v16704.cyan-v16704 {
  border-color: rgba(71, 219, 229, .54);
}
body.user-mode .dialog-home-feature-v16704.gold-v16704 {
  border-color: rgba(242, 193, 95, .55);
}
body.user-mode .dialog-home-feature-v16704:hover {
  box-shadow: 0 22px 57px rgba(0, 5, 14, .46), 0 0 24px rgba(77, 225, 228, .11);
}
body.user-mode .dialog-home-feature-v16704.gold-v16704:hover {
  box-shadow: 0 22px 57px rgba(0, 5, 14, .46), 0 0 24px rgba(245, 190, 92, .1);
}
body.user-mode .dialog-home-feature-v16704 p {
  color: var(--dl37-secondary-text);
}
/* Education course cards: honor each course's accent, media, layout and links. */
body.user-mode .edu-course-card-v16835 {
  background: linear-gradient(145deg, rgba(5, 36, 44, .97), rgba(3, 23, 31, .97));
  border-color: rgba(116, 217, 221, .37);
  box-shadow: 0 23px 70px rgba(0, 7, 17, .36), inset 0 1px rgba(255,255,255,.045);
}
body.user-mode .edu-course-card-v16835.phrase-v16835 {
  border-color: rgba(239, 198, 121, .43);
}
body.user-mode .edu-course-card-v16835:hover {
  border-color: rgba(112, 236, 225, .75);
  box-shadow: 0 28px 74px rgba(0, 6, 16, .43), 0 0 25px rgba(73, 220, 219, .1);
}
body.user-mode .edu-course-card-v16835.phrase-v16835:hover {
  border-color: rgba(245, 209, 140, .79);
}
body.user-mode .edu-course-chips-v16835 span {
  color: #e5f6f4;
  border-color: rgba(123, 219, 223, .3);
  background: rgba(4, 26, 36, .84);
}
body.user-mode .phrase-hero-v16835,
body.user-mode .phrase-level-card-v16833 {
  border-color: rgba(114, 220, 216, .34);
  background: linear-gradient(145deg, rgba(5, 37, 45, .96), rgba(3, 20, 29, .97));
  box-shadow: 0 15px 48px rgba(0, 9, 19, .27);
}
body.user-mode .phrase-stats-v16835 article,
body.user-mode .phrase-lesson-v16833 {
  border-color: rgba(111, 211, 217, .25);
  background: rgba(9, 42, 50, .84);
}
body.user-mode .phrase-level-head-v16833:focus-visible {
  outline-color: var(--dl37-focus);
}
/* Grammar lesson states: preserve current lesson positioning and all labels. */
body.user-mode .grammar-home-v16873 .grammar-game-level.is-current {
  border-color: rgba(75, 233, 211, .60) !important;
}
body.user-mode .grammar-home-v16873 .grammar-game-lesson.in_progress {
  border-color: rgba(99, 231, 208, .48) !important;
  background: rgba(25, 144, 135, .14) !important;
}
body.user-mode .grammar-home-v16873 .grammar-game-lesson.completed {
  border-color: rgba(110, 222, 158, .42) !important;
  background: rgba(56, 152, 111, .12) !important;
}
@media (forced-colors: active) {
  body.app-body :is(a,button,input,select,textarea):focus-visible {
    outline-color: Highlight;
  }
}
