/* Product screens: readable type, shared dimensional artwork and honest progress. */
.intro p,
.home-intro p,
.profile-card p,
.panel p,
.animated-promo p {
  font-size: 16px;
  line-height: 1.55;
}
.intro h1 { font-size: clamp(32px, 5vw, 40px); }
.eyebrow { font-size: 11px; letter-spacing: 1.2px; line-height: 1.5; }
.primary-button, .next-button { min-height: 56px; font-size: 17px; line-height: 1.3; }
.small-button { min-height: 44px; font-size: 15px; }
.text-button { min-height: 44px; font-size: 15px; line-height: 1.4; }
.note { font-size: 14px; line-height: 1.6; }
.home-intro h1 { font-size: clamp(36px, 5.8vw, 46px); }
.mentor-banner b, .mentor-banner.small b { font-size: 17px; line-height: 1.35; }
.mentor-banner p { font-size: 15px; line-height: 1.45; }
.home-intro + .mentor-banner { min-height: 106px; }
.home-intro + .mentor-banner .mentor-portrait { width: 104px; height: 104px; flex-basis: 104px; }
.home-intro + .mentor-banner .mentor-portrait .stepan {
  inset: 0;
  width: 104px;
  height: 104px;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.home-intro ~ .resume-card { padding: 20px; }
.resume-heading h2, .home-intro ~ .resume-card .resume-heading h2 { font-size: 20px; line-height: 1.35; }
.resume-percent { font-size: 16px; }
.home-intro ~ .action-group .action-row, .action-row { min-height: 104px; padding: 18px 20px; gap: 16px; }
.action-row b { font-size: 18px; line-height: 1.35; letter-spacing: -.3px; }
.action-row small { font-size: 15px; line-height: 1.45; margin-top: 4px; }
.action-icon { height: 64px; width: 64px; }
.action-icon.with-art { background: none; border-radius: 0; }
.action-icon .mode-art { height: 68px; width: 68px; object-fit: contain; }
.home-foot, .home-foot .text-button { font-size: 14px; }
.home-foot { flex-wrap: wrap; column-gap: 12px; row-gap: 0; }
.animated-promo { padding: 20px; gap: 16px; border: 1px solid #d7e6d9; }
.animated-promo b { font-size: 20px; line-height: 1.3; }
.animated-promo p { font-size: 15px; }
.mode-wheel { width: 76px; height: 76px; flex: 0 0 76px; overflow: hidden; border-radius: 22px; }
.mode-wheel img { display: block; height: 100%; width: 100%; object-fit: cover; }
.mode-grid { gap: 14px; margin: 20px 0; }
.mode-card { min-height: 230px; padding: 20px; gap: 8px; border-radius: 24px; background: linear-gradient(145deg, #fff 20%, #fafbf6); box-shadow: 0 6px 20px #163b2d04; }
.mode-card .mode-art { width: 94px; height: 94px; object-fit: contain; margin: -7px 0 4px -7px; }
.mode-card b { font-size: 19px; line-height: 1.3; letter-spacing: -.4px; }
.mode-card small { font-size: 15px; line-height: 1.4; }
.page-mentor { min-height: 112px; padding: 7px 20px 0; margin: 24px 0; gap: 18px; }
.page-mentor .mentor-portrait { position: relative; align-self: flex-end; flex: 0 0 110px; width: 110px; height: 110px; overflow: hidden; }
.page-mentor .mentor-portrait .stepan {
  position: absolute;
  inset: 0;
  width: 110px;
  height: 110px;
  max-width: 100%;
  object-fit: contain;
  object-position: center bottom;
}
.page-mentor b { display: block; }
.page-mentor p { margin: 7px 0 15px; }
.ticket { min-height: 118px; padding: 15px 12px; }
.ticket > span:first-child { font-size: 11px; }
.ticket b { font-size: 31px; }
.ticket small { font-size: 14px; }
.ticket-progress { margin-top: 10px; }
.sign-card b { font-size: 16px; line-height: 1.35; }
.sign-card > span { font-size: 14px; }
.profile-card { padding: 28px; }
.profile-card h2 { font-size: 25px; line-height: 1.3; }
.profile-card p { max-width: 520px; margin-inline: auto; }
.profile-card .login-button { min-height: 56px; font-size: 17px; }
.profile-card .inline-notice { font-size: 15px; }
.profile-card .small-button { margin: 5px; }
.profile-exit { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; }
.learning-overview { display: grid; grid-template-columns: 172px minmax(0, 1fr); align-items: center; column-gap: 26px; padding: 28px; border-radius: 28px; background: #173e34; color: #fff; position: relative; overflow: hidden; box-shadow: 0 12px 30px #173e3410; }
.learning-ring { width: 172px; height: 172px; padding: 11px; border-radius: 50%; background: conic-gradient(from -90deg, #b4d8b3 var(--coverage), #ffffff18 0); }
.learning-ring > div { width: 100%; height: 100%; border-radius: 50%; background: #173e34; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.learning-ring b { font-size: 48px; line-height: 1.05; letter-spacing: -2px; font-variant-numeric: tabular-nums; }
.learning-ring b small { font-size: 25px; letter-spacing: 0; }
.learning-ring span { font-size: 12px; color: #c5d8ce; }
.learning-overview-copy .eyebrow { color: #b4cfbd; }
.learning-overview-copy h2 { font-size: 29px; line-height: 1.2; margin: 10px 0; letter-spacing: -.8px; }
.learning-overview-copy p { font-size: 16px; line-height: 1.5; margin: 0; max-width: 390px; color: #c5d8ce; }
.progress-metrics { grid-column: 1/-1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 28px; padding-top: 24px; border-top: 1px solid #ffffff20; }
.progress-metrics > div { display: grid; grid-template-columns: 8px 1fr; column-gap: 7px; align-items: center; }
.progress-metrics b { font-size: 28px; line-height: 1.15; letter-spacing: -.6px; font-variant-numeric: tabular-nums; }
.progress-metrics > div > span:last-child { grid-column: 2; color: #c5d8ce; font-size: 13px; margin-top: 7px; }
.metric-dot { width: 7px; height: 7px; border-radius: 50%; background: #b4d8b3; }
.metric-dot.mistakes { background: #eda486; }
.metric-dot.accuracy { background: #f1d399; }
.progress-footnote { grid-column: 1/-1; color: #a8c2b5; font-size: 12px; line-height: 1.45; margin: 22px 0 0; }
.progress-mentor { margin-top: 20px; }
.progress-actions { margin: 20px 0; }
.panel-heading { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.panel-heading h2 { font-size: 23px; line-height: 1.25; letter-spacing: -.5px; margin: 5px 0 0; }
.panel-heading .text-button { flex: 0 0 auto; font-size: 14px; }
.topic-overview-list { display: grid; gap: 20px; }
.topic-overview-row > div:first-child { display: flex; align-items: baseline; gap: 18px; justify-content: space-between; margin-bottom: 9px; }
.topic-overview-row b { font-size: 16px; line-height: 1.4; font-weight: 650; }
.topic-overview-row span { font-size: 14px; white-space: nowrap; color: var(--muted); font-variant-numeric: tabular-nums; }
.topic-overview-row .progress-line { height: 7px; margin: 0; }
.topic-overview-row .progress-line i { background: #a3bea3; }
.stats-detail-button { width: 100%; display: flex; gap: 10px; align-items: center; min-height: 54px; border-radius: 14px; background: #eef3e9; padding: 12px 14px; margin-top: 25px; text-align: left; color: #244338; font-size: 15px; font-weight: 700; }
.stats-detail-button > span:nth-child(2) { flex: 1; }
.pro-label { font-size: 11px; padding: 4px 7px; background: #234d3e; color: #fff; border-radius: 6px; }
.pro-teaser { text-align: center; padding: 4px 2px 2px; }
.pro-teaser > img { display: block; width: min(210px, 58vw); aspect-ratio: 1; object-fit: contain; margin: -18px auto -4px; }
#modal-body .pro-teaser h3,
#modal-body .pro-slide h3,
#modal-body .pro-plans h3 { margin: 7px 0 9px; color: #173e34; font-size: 24px; line-height: 1.23; letter-spacing: -.65px; }
#modal-body .pro-teaser > p,
#modal-body .pro-slide > p,
#modal-body .pro-plans-heading p { margin: 0 auto; max-width: 430px; color: #687b70; font-size: 15px; line-height: 1.52; }
.pro-teaser ul,
.pro-slide ul { list-style: none; display: grid; gap: 9px; padding: 0; margin: 20px auto; max-width: 420px; text-align: left; }
.pro-teaser li,
.pro-slide li { display: flex; gap: 10px; align-items: center; color: #345044; font-size: 15px; line-height: 1.4; }
.pro-teaser li .ui-icon,
.pro-slide li .ui-icon { flex: 0 0 23px; width: 23px; height: 23px; padding: 4px; border-radius: 50%; background: #e2efe2; color: #38634c; }
.pro-teaser .primary-button { margin-top: 5px; }
.pro-access-status { display: flex; align-items: center; gap: 11px; padding: 13px 15px; margin-bottom: 9px; border-radius: 16px; background: #e3f0e3; color: #244d39; text-align: left; }
.pro-access-status > .ui-icon { flex: 0 0 31px; width: 31px; height: 31px; padding: 7px; border-radius: 50%; background: #fff; }
.pro-access-status b { display: block; font-size: 15px; }
.pro-access-status span { display: block; margin-top: 2px; color: #667b6e; font-size: 12px; }
.pro-carousel { display: flex; width: 100%; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: none; touch-action: pan-x pan-y; }
.pro-carousel::-webkit-scrollbar { display: none; }
.pro-slide { flex: 0 0 100%; min-width: 0; padding: 0 8px 3px; scroll-snap-align: start; text-align: center; }
.pro-slide > img { display: block; width: min(218px, 61vw); aspect-ratio: 1; object-fit: contain; margin: -18px auto -8px; }
.pro-slide ul { margin-top: 17px; margin-bottom: 8px; }
.pro-dots { display: flex; justify-content: center; gap: 7px; min-height: 34px; padding: 10px; }
.pro-dots button { width: 8px; height: 8px; padding: 0; border-radius: 99px; background: #cbd7cc; transition: width .2s ease, background .2s ease; }
.pro-dots button[aria-current="true"] { width: 25px; background: #315d49; }
.pro-showcase-action { position: sticky; bottom: -1px; z-index: 2; padding: 12px 0 2px; background: linear-gradient(180deg, #f7f8f500 0, #f7f8f5 20px); text-align: center; }
.pro-showcase-action .primary-button { margin: 0; }
#modal-body .pro-showcase-action p { margin: 7px 0 0; color: #829087; font-size: 12px; line-height: 1.4; }
.pro-plans-heading { display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center; gap: 9px; margin: -12px 0 13px; }
.pro-plans-heading > img { width: 122px; height: 122px; object-fit: contain; margin-left: -9px; }
#modal-body .pro-plans-heading h3 { font-size: 20px; margin-top: 4px; }
#modal-body .pro-plans-heading p { font-size: 13px; }
.pro-receipt-email { display: grid; gap: 7px; margin: 12px 0 16px; color: #425b4e; font-size: 13px; font-weight: 700; }
.pro-receipt-email input { min-height: 50px; border: 1px solid #d5dfd4; border-radius: 13px; background: #fff; padding: 0 14px; color: #173e34; font: inherit; font-weight: 500; }
.pro-tariff-list { display: grid; gap: 11px; margin: 14px 0 18px; }
.pro-tariff { position: relative; display: grid; grid-template-columns: 23px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 82px; padding: 15px 14px; border: 1px solid #d8e2d6; border-radius: 18px; background: #fff; color: #173e34; cursor: pointer; }
.pro-tariff.selected { border-color: #4a755e; background: #f0f6ee; box-shadow: 0 0 0 1px #4a755e; }
.pro-tariff > input { position: absolute; opacity: 0; pointer-events: none; }
.pro-tariff-radio { width: 21px; height: 21px; border: 2px solid #9caf9f; border-radius: 50%; box-shadow: inset 0 0 0 4px #fff; background: #fff; }
.pro-tariff.selected .pro-tariff-radio { border-color: #35614b; background: #35614b; }
.pro-tariff-copy { min-width: 0; }
.pro-tariff-copy b { display: block; font-size: 16px; line-height: 1.3; }
.pro-tariff-copy small { display: block; margin-top: 4px; color: #708178; font-size: 12px; line-height: 1.35; }
.pro-tariff > strong { font-size: 18px; line-height: 1; white-space: nowrap; }
.pro-tariff > em { position: absolute; top: -8px; right: 13px; padding: 4px 8px; border-radius: 99px; background: #e96d47; color: #fff; font-size: 9px; font-style: normal; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; }
.pro-plans .primary-button { margin: 0; }
#modal-body .pro-payment-note { margin: 11px 4px 0; color: #7d8c83; font-size: 12px; line-height: 1.5; text-align: center; }
.history-art { height: 64px; width: 64px; object-fit: contain; flex: 0 0 auto; }
.history-row { display: flex; gap: 14px; align-items: center; padding: 18px 0; }
.history-row > div { flex: 1; }
.history-row b { font-size: 16px; }
.history-row > div > span { display: block; font-size: 14px; color: var(--muted); margin-top: 5px; }
.history-row > strong { font-size: 23px; letter-spacing: -.5px; white-space: nowrap; }
.history-row > strong small { font-size: 14px; color: var(--muted); letter-spacing: 0; font-weight: 500; }
.history-status { display: flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; background: #edf4e9; color: #426854; flex: 0 0 auto; }
.history-status.retry { color: #9c694d; background: #fbefe7; }
.history-status .ui-icon { height: 20px; width: 20px; }
.exam-history > .muted { font-size: 16px; margin-top: 0; }
.exam-history > .small-button { margin-top: 5px; }
.exam-intro-art { display: block; width: 120px; height: 120px; object-fit: contain; margin: -4px 0 14px; }
.exam-intro h1 { margin-top: 10px; }
.exam-intro ul { font-size: 16px; line-height: 1.55; padding-left: 20px; }
.exam-intro li { padding-bottom: 14px; }
.exam-toolbar { display: flex; gap: 12px; margin: 0 0 20px; align-items: center; min-height: 56px; }
.exam-toolbar .session-back { width: 44px; height: 44px; padding: 0; display: flex; align-items: center; justify-content: center; border-radius: 14px; flex: 0 0 auto; background: #eff2e9; }
.exam-toolbar .session-back .ui-icon { width: 24px; height: 24px; }
.exam-title { min-width: 0; flex: 1; }
.exam-title > b { font-size: 19px; line-height: 1.25; letter-spacing: -.4px; display: block; }
.exam-title > span { display: block; font-size: 13px; color: var(--muted); margin-top: 3px; }
.exam-toolbar > .exam-clock { font-size: 17px; line-height: 1; padding: 12px 10px; font-variant-numeric: tabular-nums; flex: 0 0 auto; }
.exam-toolbar > .bookmark { height: 44px; width: 44px; flex: 0 0 auto; }
.exam-progress { font-size: 14px; margin-bottom: 12px; }
.exam-question h2 { font-size: 23px; line-height: 1.45; letter-spacing: -.4px; }
.exam-question .answer { font-size: 17px; line-height: 1.5; }
.exam-question .answer-index { width: 30px; height: 30px; font-size: 15px; flex: 0 0 30px; }
.exam-result .round-icon { width: 58px; height: 58px; }
.exam-result .round-icon .ui-icon { width: 28px; height: 28px; }
[data-exam-review] .round-icon { width: 40px; height: 40px; flex: 0 0 40px; }
[data-exam-review] .round-icon .ui-icon { width: 20px; height: 20px; }
[data-exam-review] > .ui-icon { flex: 0 0 20px; }
[data-exam-review] b { font-size: 16px; line-height: 1.4; }
[data-exam-review] small { font-size: 14px; }
.discussion-context { border-radius: 18px; padding: 18px; background: #eef3e9; margin-bottom: 20px; }
.discussion-context > span { font-size: 12px; color: #718176; }
.discussion-context p { font-size: 16px; line-height: 1.5; font-weight: 650; margin: 8px 0 0; }
.comment { padding: 20px 0; }
.comment > div:first-child b { font-size: 16px; }
.comment p, .empty-discussion { font-size: 16px; line-height: 1.6; }
.comment time { font-size: 12px; }
.comment-actions button { min-height: 40px; font-size: 14px; }
#comment-form { padding-top: 14px; }
.question-signs { display: grid; gap: 9px; margin: 16px 0; }
.question-signs-label { display: flex; align-items: center; gap: 8px; color: #6b7d73; font-size: 12px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.question-signs-label i { width: 8px; height: 8px; border-radius: 3px; background: var(--clay); }
.question-sign-card { width: 100%; min-height: 78px; padding: 11px 13px; display: flex; align-items: center; gap: 13px; border: 1px solid #dde5db; border-radius: 17px; background: #fff; color: var(--ink); text-align: left; }
.question-sign-card img { width: 56px; height: 56px; flex: 0 0 56px; object-fit: contain; }
.question-sign-card > span { flex: 1; min-width: 0; }
.question-sign-card b { display: block; font-size: 16px; line-height: 1.25; }
.question-sign-card small { display: block; margin-top: 4px; color: var(--muted); font-size: 14px; line-height: 1.35; }
.question-sign-card > .ui-icon { width: 19px; height: 19px; flex: 0 0 19px; color: #718176; }
.comment-button > span { flex: 1; }
.comment-button > strong { min-width: 25px; height: 25px; padding: 0 7px; display: inline-flex; align-items: center; justify-content: center; border-radius: 999px; background: #e8eee5; color: #486258; font-size: 12px; font-variant-numeric: tabular-nums; }
.sign-credits-button { width: 100%; justify-content: center; margin-top: 12px; }
.sign-credit-list { display: grid; gap: 12px; }
.sign-credit-row { padding: 13px 0; border-bottom: 1px solid var(--line); }
.sign-credit-row:last-child { border-bottom: 0; }
.sign-credit-row b { display: block; color: var(--ink); font-size: 15px; }
.sign-credit-row span { display: block; margin: 4px 0 7px; color: var(--muted); font-size: 13px; line-height: 1.45; }
.sign-credit-row a { display: inline; margin: 0 12px 0 0; font-size: 13px; }
@media (max-width: 600px) {
  .intro { margin-bottom: 24px; }
  .home-intro + .mentor-banner { padding-inline: 14px; gap: 12px; }
  .mentor-banner b, .mentor-banner.small b { font-size: 16px; }
  .mentor-banner p { font-size: 14px; }
  .home-intro ~ .action-group .action-row, .action-row { padding: 17px 16px; min-height: 103px; gap: 14px; }
  .action-row b { font-size: 18px; }
  .action-row small { font-size: 15px; }
  .action-icon, .action-icon.with-art { width: 56px; height: 56px; flex-basis: 56px; }
  .action-icon .mode-art { width: 62px; height: 62px; }
  .animated-promo { padding: 18px 15px; gap: 12px; }
  .animated-promo b { font-size: 18px; }
  .animated-promo p { font-size: 15px; line-height: 1.4; }
  .animated-promo > .ui-icon { width: 18px; flex: 0 0 18px; }
  .mode-wheel { width: 62px; height: 62px; flex-basis: 62px; border-radius: 17px; }
  .mode-grid { gap: 12px; }
  .mode-card { padding: 18px 15px; min-height: 237px; border-radius: 21px; }
  .mode-card .mode-art { width: 92px; height: 92px; margin: -5px 0 3px -7px; }
  .mode-card b { font-size: 18px; line-height: 1.3; }
  .mode-card small { font-size: 15px; line-height: 1.4; }
  .page-mentor { gap: 12px; padding-inline: 14px; }
  .home-intro + .mentor-banner .mentor-portrait,
  .page-mentor .mentor-portrait { width: 92px; height: 104px; flex-basis: 92px; }
  .home-intro + .mentor-banner .mentor-portrait .stepan,
  .page-mentor .mentor-portrait .stepan { width: 92px; height: 104px; }
  .learning-overview { padding: 24px 20px 20px; grid-template-columns: 126px minmax(0, 1fr); gap: 20px 16px; }
  .learning-ring { width: 126px; height: 126px; padding: 9px; }
  .learning-ring b { font-size: 39px; }
  .learning-ring b small { font-size: 21px; }
  .learning-ring span { font-size: 10px; }
  .learning-overview-copy h2 { font-size: 22px; letter-spacing: -.5px; margin: 8px 0; }
  .learning-overview-copy .eyebrow { font-size: 9px; }
  .learning-overview-copy p { font-size: 14px; line-height: 1.45; }
  .progress-metrics { gap: 12px; padding-top: 20px; margin-top: 0; }
  .progress-metrics b { font-size: 25px; }
  .progress-metrics > div { column-gap: 6px; }
  .progress-metrics > div > span:last-child { font-size: 12px; line-height: 1.4; }
  .progress-footnote { margin: -4px 0 0; font-size: 11px; }
  .panel { padding: 22px 20px; }
  .panel-heading { gap: 10px; }
  .panel-heading h2 { font-size: 22px; }
  .panel-heading .text-button { font-size: 13px; }
  .history-row { gap: 10px; }
  .history-row b { font-size: 15px; }
  .history-row > strong { font-size: 21px; }
  .history-row > strong small { font-size: 12px; }
  .profile-card { padding: 26px 20px; }
  .profile-card h2 { font-size: 25px; }
  .pro-teaser > img { width: min(194px, 56vw); }
  .pro-slide { padding-inline: 3px; }
  .pro-slide > img { width: min(204px, 59vw); }
  #modal-body .pro-teaser h3,
  #modal-body .pro-slide h3 { font-size: 22px; }
  .pro-plans-heading { grid-template-columns: 94px minmax(0, 1fr); }
  .pro-plans-heading > img { width: 105px; height: 105px; }
  #modal-body .pro-plans-heading h3 { font-size: 18px; }
  .pro-tariff { grid-template-columns: 21px minmax(0, 1fr) auto; gap: 9px; padding-inline: 12px; }
  .pro-tariff > strong { font-size: 17px; }
  .exam-toolbar { gap: 8px; }
  .exam-title > b { font-size: 17px; }
  .exam-title > span { font-size: 12px; }
  .exam-toolbar > .exam-clock { font-size: 16px; padding: 12px 8px; }
  .exam-question { padding: 18px 16px; }
  .exam-question h2 { font-size: 21px; }
  .exam-image { margin-bottom: 18px; }
  .exam-result h1 { font-size: 31px; }
}
@media (max-width: 360px) {
  .mode-card { padding: 16px 12px; min-height: 241px; }
  .mode-card b { font-size: 17px; }
  .mode-card small { font-size: 14px; }
  .action-row { gap: 10px; }
  .action-icon, .action-icon.with-art { width: 46px; height: 46px; flex-basis: 46px; }
  .action-icon .mode-art { width: 52px; height: 52px; }
  .action-row b { font-size: 17px; }
  .action-row small { font-size: 14px; }
  .learning-overview { grid-template-columns: 110px minmax(0, 1fr); padding: 20px 16px; gap: 18px 12px; }
  .learning-ring { width: 110px; height: 110px; }
  .learning-overview-copy h2 { font-size: 20px; }
  .learning-overview-copy p { font-size: 13px; }
  .progress-metrics { gap: 6px; }
  .progress-metrics > div > span:last-child { font-size: 11px; }
  .panel-heading { align-items: flex-start; }
  .panel-heading h2 { font-size: 20px; }
  .history-row { gap: 8px; }
  .history-status { width: 32px; height: 32px; }
  .exam-toolbar .session-back, .exam-toolbar > .bookmark { width: 40px; height: 44px; }
  .exam-toolbar { gap: 6px; }
}
@media (min-width: 760px) {
  .progress-intro ~ .learning-overview,
  .progress-intro ~ .progress-mentor,
  .progress-intro ~ .progress-actions,
  .progress-intro ~ .panel { max-width: 760px; }
  .mode-card:hover { border-color: #c3d4c3; box-shadow: 0 10px 25px #173e340a; }
  .exam-question { max-width: 900px; margin-inline: auto; }
}

/* Shared learning dashboard and Pro workspace; native navigation stays mobile. */
.dashboard-summary, .dashboard-focus { padding: 24px; border: 1px solid #dde5d8; border-radius: 24px; background: #fff; margin-top: 22px; }
.dashboard-summary h2, .dashboard-focus h2, .dashboard-pro h2 { margin: 6px 0; font-size: 22px; letter-spacing: -.5px; }
.dashboard-metrics { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 24px; margin-top: 24px; }
.dashboard-metrics > div, .dashboard-metrics > button { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; background: none; text-align: left; color: #173e34; padding: 0; }
.dashboard-metrics b { font-size: 34px; letter-spacing: -1px; }
.dashboard-metrics b small { font-size: 15px; color: #6e8074; letter-spacing: 0; }
.dashboard-metrics span { font-size: 13px; line-height: 1.4; color: #637a6b; }
.dashboard-metrics .ui-icon { width: 16px; height: 16px; vertical-align: middle; }
.dashboard-metrics .progress-line { width: 100%; }
.dashboard-topic { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 16px 0; border-bottom: 1px solid #edf0e9; background: none; width: 100%; color: #173e34; text-align: left; }
.dashboard-topic:last-child { border: 0; padding-bottom: 0; }
.dashboard-topic b, .dashboard-topic small { display: block; }
.dashboard-topic b { font-size: 15px; line-height: 1.4; }
.dashboard-topic small { font-size: 12px; color: #738576; margin-top: 5px; }
.dashboard-topic:hover b { text-decoration: underline; }
.dashboard-pro { background: #e4ecdc; border: 1px solid #d6e1cf; border-radius: 24px; padding: 24px; margin-top: 22px; display: grid; grid-template-columns: 1fr 100px; gap: 14px; align-items: center; }
.dashboard-pro > img { width: 110px; height: 110px; object-fit: contain; }
.dashboard-pro p { font-size: 14px; line-height: 1.6; color: #61725d; margin: 12px 0 0; }
.dashboard-pro .primary-button { grid-column: 1 / -1; margin: 0; }
.study-hero { background: #173e34; border-radius: 20px; padding: 24px; color: #fff; }
#modal-body .study-hero h3 { color: #fff; font-size: 26px; margin: 10px 0; }
#modal-body .study-hero p { color: #d3e2d3; margin: 8px 0; }
.study-hero .eyebrow { color: #b4caae; }
.study-goal { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 0; }
.study-goal strong { font-size: 42px; font-variant-numeric: tabular-nums; letter-spacing: -1px; }
.study-goal small { font-size: 18px; font-weight: 500; color: #bdcebd; }
.study-goal > span { font-size: 12px; color: #c7d9c7; max-width: 130px; }
.study-hero .progress-line { background: #ffffff25; }
.study-hero .progress-line i { background: #c0d7a8; }
.study-section-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; }
.study-section-heading > span { font-size: 13px; color: #6b7b68; }
.study-tasks { display: grid; gap: 10px; margin: 14px 0; }
.study-task { display: grid; grid-template-columns: 42px 1fr 20px; gap: 12px; align-items: center; width: 100%; padding: 16px; border: 1px solid #dfe6d8; border-radius: 16px; background: #fff; text-align: left; color: #173e34; }
.study-task:hover { border-color: #819b70; background: #f2f6ed; }
.study-task b, .study-task small { display: block; }
.study-task b { font-size: 15px; line-height: 1.4; }
.study-task small { color: #6b7d6c; font-size: 12px; margin-top: 5px; line-height: 1.45; }
.study-task-icon { width: 42px; height: 42px; display: grid; place-items: center; background: #edf2e5; border-radius: 12px; }
.study-task.completed .study-task-icon { background: #d9e8ce; }
.study-metrics { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; margin: 20px 0; }
.study-metrics > div { padding: 14px 12px; border-radius: 14px; background: #eaf0e3; }
.study-metrics b, .study-metrics span { display: block; }
.study-metrics b { font-size: 26px; color: #173e34; }
.study-metrics span { font-size: 11px; color: #66785f; margin-top: 6px; line-height: 1.4; }
.study-week { display: flex; gap: 12px; padding: 18px 12px; background: #edf2e7; border-radius: 18px; margin: 14px 0 22px; }
.study-day { flex: 1; text-align: center; min-width: 0; }
.study-day b { font-size: 13px; color: #335b43; }
.study-day > span { font-size: 10px; white-space: nowrap; color: #637958; }
.study-bar { height: 70px; display: flex; align-items: flex-end; justify-content: center; margin: 8px auto; border-bottom: 1px solid #c8d8bd; }
.study-bar > i { width: min(100%,26px); display: block; border-radius: 5px 5px 0 0; background: #789569; }
.sign-group-label { display: flex; align-items: center; gap: 12px; margin: 16px 0; color: #536b5e; font-size: 14px; }
.sign-group-label select { max-width: 100%; min-width: 0; flex: 1; padding: 12px; border: 1px solid #dce5d6; border-radius: 12px; color: #173e34; background: white; font: inherit; }
:where(button,a,input,select,textarea):focus-visible { outline: 3px solid #d47445; outline-offset: 4px; }
@media (max-width: 600px) {
  .dashboard-summary, .dashboard-focus, .dashboard-pro { padding: 18px; border-radius: 20px; }
  .dashboard-summary .panel-heading { align-items: flex-start; flex-direction: column; gap: 12px; }
  .dashboard-metrics { gap: 12px; grid-template-columns: 1fr 1fr; }
  .dashboard-metrics > div:first-child { grid-column: 1 / -1; }
  .dashboard-metrics b { font-size: 30px; }
  .dashboard-pro { grid-template-columns: 1fr 76px; }
  .dashboard-pro > img { width: 80px; height: 100px; }
  .dashboard-summary h2, .dashboard-focus h2, .dashboard-pro h2 { font-size: 21px; }
  .study-hero { padding: 20px; }
  #modal-body .study-hero h3 { font-size: 23px; }
  .study-week { gap: 5px; padding-inline: 8px; }
  .study-metrics { gap: 8px; }
  .study-metrics b { font-size: 23px; }
  .study-task { padding: 12px; grid-template-columns: 36px 1fr 18px; gap: 10px; }
  .study-task-icon { width: 36px; height: 36px; }
}

@keyframes web-dialog-in { from { opacity: 0; translate: 0 12px; scale: .985; } to { opacity: 1; translate: 0 0; scale: 1; } }

.practice-pro { border: 1px solid #d3dec9; background: #e8efdf; border-radius: 22px; padding: 24px; margin: 22px 0; }
.practice-pro h2 { font-size: 23px; margin: 8px 0 20px; letter-spacing: -.5px; }
.practice-pro-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.practice-pro-actions button { display: flex; align-items: center; gap: 8px; border-radius: 12px; padding: 13px 16px; background: #fff; color: #244d39; font-size: 14px; font-weight: 700; }
.practice-pro-actions button:hover { background: #f6f9f2; box-shadow: 0 0 0 1px #92a880; }
.mentor-step-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; margin: 22px 0 14px; color: #6a7d64; font-size: 12px; }
#modal-body .mentor-current-step { font-size: 20px; line-height: 1.7; color: #193f32; padding: 14px 0; min-height: 140px; }
.mentor-step-actions { display: flex; gap: 12px; align-items: center; }
.mentor-step-actions .primary-button { margin: 0; flex: 1; }
@media(max-width:600px){.practice-pro{padding:18px}.practice-pro-actions button{flex:1;justify-content:center;padding:12px 9px;font-size:12px}.practice-pro-actions button .ui-icon{width:17px;height:17px}#modal-body .mentor-current-step{font-size:18px}.mentor-step-actions .primary-button{font-size:14px;padding-inline:12px}}

/* Заявление о независимости от государственных органов в «Об учебной базе».
   Требование Google Play для приложений, использующих государственные данные. */
.about-disclaimer {
  margin: 10px 0 14px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(24, 24, 27, 0.12);
  background: rgba(247, 246, 240, 0.85);
  font-size: 13px;
  line-height: 1.45;
}
.about-disclaimer strong { display: block; margin-bottom: 4px; }
