/* 29.10.2026. «Орбиты»: спокойнее рабочие поверхности, Луна и напутствие сохранены. */
:root {
  --bg: #F3F4F7;
  --ground: linear-gradient(180deg, #F3F4F7, #EEF0F4);
  --glass: #FFFFFF;
  --glass-t: #FFFFFF;
  --glass-soft: #F8F9FB;
  --field: #FFFFFF;
  --panel: #FFFFFF;
  --glass-shadow: 0 2px 8px rgba(28, 30, 39, .025);
  --blur: none;
  --r-card: 18px;
}
.orbits::before { opacity: .32; }
/* Independent award categories; names remain legible without the accent colors. */
.leaders { margin: 0; padding: 0; list-style: none; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 198px), 1fr)); }
.leaders .leader {
  --leader-accent: #555768; --leader-tint: #F3F4F7;
  min-width: 0; align-items: stretch; gap: 0; padding: 20px 18px 0; text-align: left;
  border: 1px solid var(--line-2); border-top: 4px solid var(--leader-accent); border-radius: 14px;
  background: var(--leader-tint); box-shadow: 0 2px 4px rgba(28,30,39,.025);
}
.leader.leader-came { --leader-accent: #8E3E1C; --leader-tint: #FCF2EC; }
.leader.leader-revenue { --leader-accent: #315D8A; --leader-tint: #EDF3FA; }
.leader.leader-check { --leader-accent: #765515; --leader-tint: #FAF5E8; }
.leader.leader-quality { --leader-accent: #2A6A4A; --leader-tint: #EDF6F0; }
.leader.leader-game { --leader-accent: #68518E; --leader-tint: #F3EFF9; }
.leader-category { display: flex; align-items: center; gap: 10px; min-height: 40px; }
.leader-category h3 { font: 600 14px/1.35 var(--font-body); color: var(--leader-accent); text-wrap: balance; }
.leader .leader-icon { display: flex; flex: 0 0 36px; width: 36px; height: 36px; align-items: center; justify-content: center; border: 1px solid currentColor; border-radius: 10px; color: var(--leader-accent); background: #FFFFFF; }
.leader-icon svg.i { width: 20px; height: 20px; }
.leader .leader-result { display: block; height: auto; margin: 20px 0 8px; font: 500 34px/1.15 var(--font-head); color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; letter-spacing: -.015em; }
.leader .leader-result.long { font-size: clamp(22px, 14cqi, 34px); }
.leader .leader-caption { display: block; min-height: 40px; margin-bottom: 16px; font-size: 12px; line-height: 1.5; letter-spacing: .01em; color: var(--muted); }
.leader-winner { display: flex; align-items: center; gap: 8px; margin: auto -18px 0; padding: 14px 18px; min-height: 64px; border-top: 1px solid var(--line); border-radius: 0 0 13px 13px; background: rgba(255,255,255,.72); }
.leader-winner svg.i { width: 16px; height: 16px; flex-shrink: 0; color: var(--leader-accent); }
.leader .leader-winner span { font-size: 13px; line-height: 1.5; color: var(--ink); overflow-wrap: anywhere; }
.orbits .comet { display: none; animation: none; }
.orbits > i { opacity: .25; }
.glass { background: var(--glass); }
.sidebar { background: #FAFBFC; gap: 14px; }
.nav { gap: 10px; }
.nav-link[aria-current="page"] { background: #F6EAE3; border-color: rgba(var(--acc-rgb), .28); box-shadow: none; }
.nav-link[aria-current="page"] svg.i { color: var(--acc-text); }
.nav-legend { display: none; }
.nav-management > summary { cursor: pointer; min-height: 44px; display: flex; align-items: center; gap: 8px; padding: 0 12px; color: var(--muted); font-size: 13px; }
.nav-management > summary::after { content: '+'; margin-left: auto; font-size: 18px; }
.nav-management[open] > summary::after { content: '−'; }
.nav-management > summary::marker { content: ''; }
.nav-management > summary::-webkit-details-marker { display: none; }
.hero { background: #FFFFFF; }
.hero::before, .dc-hero::before { opacity: .25; }
.hero::after, .dc-hero::after { opacity: .2; }
.hero-top { min-height: 132px; padding: 18px 22px; gap: 18px; }
.hero.compact .hero-top { padding: 16px 22px; }
.hero h1, .hero.compact h1, .page-head h1, .dc-hero h1 {
  font-family: var(--font-head); font-weight: 400; font-size: 30px; line-height: 1.18;
  letter-spacing: .015em; text-transform: none;
}
.hero.compact h1 { font-size: 28px; }
.hero .copy { gap: 8px; }
.hero p { font-size: 15px; line-height: 1.5; }
.hero .bot.pose-sit, .hero .bot.pose-blink, .hero .bot.pose-tail,
.hero.compact .bot.pose-sit, .hero.compact .bot.pose-blink, .hero.compact .bot.pose-tail { width: 94px; height: 126px; margin-bottom: -17px; }
.hero-orbit { flex: 0 0 194px; width: 194px; margin: -6px -4px -12px 0; }
.hero-say { font-family: var(--font-body); font-size: 13px; }
.kicker, .cap, .aside-note, .nav-group { letter-spacing: .07em; }
.kicker, .cap, .nav-group { font-size: 11px; }
.card-head h2, .sec-head h2, .section-title, .hints-card .card-head h2, .qa-card .card-head h2 {
  font-family: var(--font-body); font-weight: 600; text-transform: none; letter-spacing: 0;
}
.qx { min-height: 48px; padding: 9px 36px 9px 14px; flex-direction: row; align-items: center; justify-content: flex-start; gap: 9px; }
.qx:first-child { padding-left: 20px; }
.qx-ar { top: 12px; right: 8px; width: 20px; height: 20px; }
.qi { min-height: 48px; padding: 0 16px; }
.hero .qlinks .qx > svg.i { width: 18px; height: 18px; }
.route-item .txt span { font-size: 13px; line-height: 1.5; }
.route-when b { letter-spacing: .04em; }
.workday-explanation { font-size: 13px; line-height: 1.6; color: var(--muted); }
.day-standards { display: block; padding: 0; }
.standards-summary { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; min-height: 64px; padding: 18px 22px; cursor: pointer; list-style: none; border-radius: inherit; }
.standards-summary::-webkit-details-marker { display: none; }
.standards-summary::marker { content: ''; }
.standards-summary h2 { font: 600 15px/1.4 var(--font-body); text-transform: none; letter-spacing: 0; }
.standards-summary:hover { background: var(--glass-soft); }
.standards-summary:focus-visible { outline: 2px solid var(--acc-text); outline-offset: 3px; }
.standards-meta { font-size: 12px; color: var(--muted); }
.standards-toggle { display: flex; align-items: center; gap: 10px; margin-left: auto; font-size: 12px; color: var(--acc-text); }
.standards-toggle::after { content: '+'; font-size: 20px; line-height: 1; }
.day-standards[open] > .standards-summary .standards-toggle::after { content: '−'; }
.day-standards .when-open, .day-standards[open] .when-closed { display: none; }
.day-standards[open] .when-open { display: inline; }
.standards-body { padding: 0 22px 20px; }
.standards-body > .workday-explanation { margin: 0 0 14px; }
.standard-list { display: flex; flex-direction: column; }
.standard-item { display: grid; grid-template-columns: 24px minmax(0, 1fr) auto; align-items: start; gap: 12px; padding: 16px 0; border-top: 1px solid var(--line); }
.standard-item:first-child { border-top: 0; padding-top: 4px; }
.standard-item:last-child { padding-bottom: 0; }
.standard-icon { color: var(--muted); padding-top: 2px; }
.standard-item .txt { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.standard-item .txt b { font-weight: 500; font-size: 14px; line-height: 1.5; }
.standard-item .standard-hint { font-size: 13px; line-height: 1.6; color: var(--muted); }
.standard-item .ri-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.standard-item .pill-link { align-self: start; }
.route-item .box:disabled { cursor: progress; opacity: .65; }
@media (max-width: 700px) {
  .standards-summary { padding: 16px; }
  .standards-body { padding: 0 16px 16px; }
  .standards-toggle { flex-basis: 100%; margin-left: 0; }
  .standard-item { grid-template-columns: 20px minmax(0, 1fr); gap: 8px 10px; }
  .standard-item > .pill-link { grid-column: 2; justify-self: start; }
}
.sec, .toc, .side-card { box-shadow: none; }
.side-dark { background: #F1EEF7; color: var(--ink); }
.side-dark p, .side-dark h3 { color: var(--ink); }
.scenario-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.scenario-card { min-height: 0; padding: 18px 20px; gap: 9px; }
.scenario-card h3 { font-size: 16px; line-height: 1.4; }
.scenario-card p { font-size: 14px; line-height: 1.5; }
.scenario-card .chips { margin-top: 0; }
.dc-hero { padding: 16px 22px; gap: 20px; background: #FFFFFF; }
.dc-hero .copy { gap: 6px; }
.dc-hero .dc-chips { margin-top: 0; }
.dc-hero .dc-acts { margin-top: 2px; }
.dc-hero .doc-photo { width: 100px; height: 100px; }
.dc-quick { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--r-card); background: var(--line); }
.dc-quick-item { display: flex; flex-direction: column; gap: 6px; padding: 15px 18px; background: #FFFFFF; text-decoration: none; min-width: 0; }
a.dc-quick-item:hover { background: #F9F4EF; }
.dc-quick-label { font-size: 12px; color: var(--muted); }
.dc-quick-value { font-size: 14px; font-weight: 600; line-height: 1.5; overflow-wrap: anywhere; }
.dc-quick-item b { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; overflow: hidden; }
.dc-detail { background: #FFFFFF; border: 1px solid var(--line); border-radius: var(--r-card); padding: 0; }
.dc-detail-summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 10px; padding: 18px 20px; font-weight: 600; min-height: 52px; }
.dc-detail-summary::-webkit-details-marker { display: none; }
.dc-detail-summary::marker { content: ''; }
.dc-detail-summary::after { content: '+'; margin-left: auto; font-size: 20px; font-weight: 400; color: var(--muted); }
.dc-detail[open] > .dc-detail-summary::after { content: '−'; }
.dc-detail-body { display: flex; flex-direction: column; gap: 14px; padding: 0 20px 20px; }
.dc-detail-summary h2 { font: 600 16px/1.4 var(--font-body); text-transform: none; letter-spacing: 0; }
.dc-sub h3 { font-family: var(--font-body); font-size: 13px; font-weight: 600; text-transform: none; letter-spacing: 0; }
.dc-price { background: #F6F3EF; }
/* Напутствие — отдельный весёлый блок, фото питомца не обрезаем до аватарки. */
.motd { display: grid; grid-template-columns: 180px minmax(0, 1fr); padding: 16px; gap: 22px; align-items: center; }
.motd .mood-photo { display: block; width: 180px; height: 144px; object-fit: cover; border-radius: 12px; border: 1px solid var(--line); box-shadow: none; margin: 0; }
.motd .mood-kind { display: block; font-size: 12px; margin: 6px 0 8px; color: var(--muted); }
.motd p { font: 500 21px/1.45 var(--font-body); color: var(--ink); }
.motd .kicker { font-size: 11px; }
@media (max-width: 1100px) {
  .dc-quick { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-orbit { flex-basis: 176px; width: 176px; }
}
@media (max-width: 900px) {
  .hero h1, .hero.compact h1, .page-head h1, .dc-hero h1 { font-size: 26px; }
  .hero-top, .hero.compact .hero-top { padding: 18px; }
  .hero:has(.hero-orbit) .hero-top { display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 10px; }
  .hero-orbit { width: 150px; margin: 0; }
  .qx { min-width: 0; }
  .motd { grid-template-columns: 144px minmax(0, 1fr); gap: 16px; }
  .motd .mood-photo { width: 144px; height: 136px; }
  .motd p { font-size: 18px; }
}
@media (max-width: 600px) {
  .scenario-grid { grid-template-columns: minmax(0, 1fr); }
  .hero h1, .hero.compact h1, .dc-hero h1 { font-size: 24px; }
  .hero:has(.hero-orbit) .hero-top { grid-template-columns: minmax(0, 1fr) 112px; }
  .hero-orbit { width: 112px; }
  .hero:has(.hero-orbit) .copy > p:not(.hero-say) { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
  .hero:has(.hero-orbit) .hero-say { font-size: 12px; line-height: 1.45; }
  .hero .qlinks { flex-direction: row; flex-wrap: nowrap; overflow-x: auto; align-items: stretch; }
  .hero .qlinks .qx-row, .hero .qlinks .qi-row { display: contents; }
  .hero .qlinks .qx { flex: 0 0 116px; min-width: 116px; }
  .hero .qlinks .qx:first-child { padding-left: 14px; }
  .hero .qlinks .qi { flex: 0 0 auto; width: auto; }
  .hero .bot.pose-sit, .hero.compact .bot.pose-sit { width: 70px; height: 98px; }
  .hero .bot { margin-right: 0; }
  .hero .copy .kicker { font-size: 10px; letter-spacing: .03em; }
  .dc-hero { flex-direction: row; align-items: flex-start; padding: 16px; gap: 12px; }
  .dc-hero .doc-photo { width: 72px; height: 72px; }
  .dc-hero h1 { font-size: 22px; }
  .dc-quick-item { padding: 12px; }
  .dc-detail-summary, .dc-detail-body { padding-left: 16px; padding-right: 16px; }
  .motd { grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 14px; }
  .motd .mood-photo { width: 112px; height: 128px; }
  .motd p { font-size: 16px; }
  .motd .kicker { letter-spacing: .02em; font-size: 10px; }
}
@media print {
  .dc-detail > .dc-detail-body { display: block !important; }
  .dc-detail-summary::after, .nav-management { display: none; }
}
