/* sprint map-signal T6: /parent «Прогресс на этом устройстве» + «Напоминание» (sg-parent.js). Own file, scoped to .sg-par-*. */
.sg-parent-block { width: 100%; max-width: 900px; margin-inline: auto; box-sizing: border-box; padding: 24px 20px; background: var(--sg-surface, #fff);
  border: 1px solid var(--sg-border, #dce2ec); border-radius: var(--sg-radius, 24px); box-shadow: var(--sg-shadow, 0 8px 28px rgb(24 36 59 / 7%)); color: var(--sg-ink, #18243b); scroll-margin-top: 88px; }
.sg-parent-block .sg-par-eyebrow { margin: 0 0 4px; font-size: .78rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; color: var(--sg-accent, #b93850); }
.sg-parent-block h2 { margin: 0 0 12px; font-family: var(--sg-heading-font, "Nunito", sans-serif); font-size: 1.5rem; line-height: 1.25; font-weight: 900; }
.sg-par-inner { display: flex; flex-direction: column; gap: 14px; font-size: 1rem; line-height: 1.5; }
.sg-par-inner p { margin: 0; }
.sg-par-summary, .sg-par-lead, .sg-par-empty { font-size: 1.06rem; font-weight: 700; }
.sg-par-muted, .sg-par-privacy, .sg-par-tip { color: var(--sg-muted, #526078); font-weight: 600; }
.sg-par-privacy { font-size: .95rem; }
.sg-par-privacy::before { content: "🔒 "; }
.sg-par-notice { padding: 10px 14px; border-radius: 14px; background: #fff6e0; color: #6b4b00; font-weight: 700; }
.sg-par-stats { display: grid; grid-template-columns: 1fr; gap: 10px; margin: 0; }
@media (min-width: 720px) { .sg-par-stats { grid-template-columns: 1fr 1fr; } .sg-par-stat.sg-par-week, .sg-par-stat.sg-par-today { grid-column: 1 / -1; } }
.sg-par-stat { padding: 12px 14px; border-radius: 16px; background: var(--sg-bg, #f6f7fb); min-width: 0; }
.sg-par-stat dt { font-size: .9rem; font-weight: 800; color: var(--sg-muted, #526078); margin-bottom: 2px; }
.sg-par-stat dd { margin: 0; font-size: 1rem; overflow-wrap: anywhere; }
.sg-par-stat dd strong { font-size: 1.15rem; font-weight: 900; }
.sg-par-stat dd a { font-weight: 800; color: var(--sg-accent, #b93850); text-decoration: underline; text-underline-offset: 3px; }
.sg-par-note { display: block; margin-top: 4px; color: var(--sg-muted, #526078); font-weight: 600; }
.sg-par-bar { display: block; height: 8px; margin-top: 8px; border-radius: 99px; background: #dfe5ef; overflow: hidden; }
.sg-par-bar > span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #2e4a7a, #4f7bd0); }
.sg-par-dots { display: inline-flex; gap: 6px; vertical-align: middle; flex-wrap: wrap; }
.sg-par-dot { display: inline-flex; flex-direction: column; align-items: center; gap: 2px; min-width: 30px; }
.sg-par-dot i { width: 22px; height: 22px; border-radius: 50%; border: 2px solid #b9c3d4; background: #fff; box-sizing: border-box; }
.sg-par-dot b { font-size: .78rem; font-weight: 800; color: var(--sg-muted, #526078); }
.sg-par-dot.is-caught i { background: #f5b82e; border-color: #d99a0b; }
.sg-par-dot.is-freeze i { background: repeating-linear-gradient(45deg, #cfe3ff 0 4px, #fff 4px 8px); border-color: #7aa7e8; }
.sg-par-dot.is-today i { border-color: #2e4a7a; border-style: dashed; }
.sg-par-dot.is-future i { opacity: .45; }
.sg-par-count { display: block; font-weight: 800; margin-top: 6px; }
@media (min-width: 480px) { .sg-par-count { display: inline; margin: 0 0 0 8px; } }
.sg-par-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.sg-par-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 18px; border-radius: 999px; box-sizing: border-box;
  border: 2px solid var(--sg-border, #dce2ec); background: #fff; color: var(--sg-ink, #18243b); font: inherit; font-size: 1rem; font-weight: 800; text-decoration: none; cursor: pointer; }
.sg-par-btn:hover { border-color: #b9c3d4; }
.sg-par-btn:focus-visible, .sg-par-chip input:focus-visible + span, .sg-par-stat dd a:focus-visible { outline: 3px solid var(--sg-focus, #245edb); outline-offset: 2px; }
.sg-par-btn.is-primary { background: var(--sg-accent, #b93850); border-color: var(--sg-accent, #b93850); color: #fff; }
.sg-par-btn.is-primary:hover { background: var(--sg-accent-hover, #982b40); border-color: var(--sg-accent-hover, #982b40); }
.sg-par-btn.is-quiet { min-height: 44px; border-color: transparent; background: transparent; color: var(--sg-muted, #526078); text-decoration: underline; text-underline-offset: 3px; padding-inline: 8px; }
.sg-par-btn.is-danger { background: #8f2333; border-color: #8f2333; color: #fff; }
.sg-par-confirm { padding: 14px; border-radius: 16px; border: 2px solid #f0c4cc; background: #fff5f7; display: flex; flex-direction: column; gap: 10px; }
.sg-par-confirm[hidden] { display: none; }
.sg-par-confirm-title { font-weight: 900; }
.sg-par-status:empty { display: none; }
.sg-par-status { padding: 10px 14px; border-radius: 14px; background: #eaf7ef; color: #1d5e3a; font-weight: 700; }
.sg-par-hours { border: 0; margin: 0; padding: 0; min-width: 0; }
.sg-par-hours legend { padding: 0; margin-bottom: 8px; font-weight: 800; }
.sg-par-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.sg-par-chip { position: relative; }
.sg-par-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sg-par-chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: 999px; border: 2px solid var(--sg-border, #dce2ec);
  background: #fff; font-weight: 800; cursor: pointer; box-sizing: border-box; }
.sg-par-chip input:checked + span { background: #2e4a7a; border-color: #2e4a7a; color: #fff; }
@media (max-width: 420px) { .sg-parent-block { padding: 20px 14px; border-radius: 20px; } .sg-par-actions .sg-par-btn { flex: 1 1 100%; } }
.sg-parent-wrap { width: 100%; box-sizing: border-box; padding-inline: 16px; display: flex; flex-direction: column; gap: 24px; }
