/* 5.0.69 — wspólne dopracowanie wszystkich sekcji w stylu nowych Nawyków. Tylko wygląd. */

/* Nagłówki, na które aplikacja przenosi fokus po otwarciu ekranu, nie są przyciskami: bez fioletowej ramki */
body h1[tabindex="-1"]:focus,body h2[tabindex="-1"]:focus,body h3[tabindex="-1"]:focus,body h4[tabindex="-1"]:focus{outline:none!important;box-shadow:none!important}

/* Wszystkie formularze kroków (zadanie, cel, blok, nawyk): etapy jako przełącznik segmentowy */
body form .editor-progress{margin:4px 24px 8px!important;padding:4px!important;display:grid!important;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:4px!important;border:0!important;border-radius:16px!important;background:var(--surface)!important;box-shadow:none!important}
body form .sheet-content .editor-progress{margin:4px 0 8px!important}
body form .editor-progress:before,body form .editor-progress:after{display:none!important}
body form .editor-progress>button{min-height:44px!important;padding:0 6px!important;border:0!important;border-radius:12px!important;background:transparent!important;color:var(--muted)!important;box-shadow:none!important}
body form .editor-progress>button:before,body form .editor-progress>button:after{display:none!important}
body form .editor-progress>button strong{font:600 14px/1.3 'DM Sans',sans-serif!important;color:inherit!important}
body form .editor-progress>button[aria-current=step]{background:var(--surface-3,var(--surface-2))!important;color:var(--text)!important}

/* Pasek dni w kalendarzu: ten sam wygląd co w Nawykach (bez widoku tygodnia) */
body .habit-week-strip:not(.is-week .habit-week-strip){padding:5px!important;border-radius:22px!important;background:var(--surface)}
body .habit-week-strip:not(.is-week .habit-week-strip) .week{gap:0!important}
body .habit-week-strip:not(.is-week .habit-week-strip) .day{min-height:72px!important;height:auto;padding:0!important;gap:1px!important;border-radius:17px!important;border:1px solid transparent;justify-content:center}
body .habit-week-strip:not(.is-week .habit-week-strip) .day>span:first-child{font-size:12px!important;font-weight:500;line-height:1.4}
body .habit-week-strip:not(.is-week .habit-week-strip) .day>strong{font:700 18px/1.3 Manrope,sans-serif!important;font-variant-numeric:tabular-nums}
body .habit-week-strip:not(.is-week .habit-week-strip) .day.is-today:not(.active){border-color:var(--accent-graphic,var(--accent))}
body .habit-week-strip:not(.is-week .habit-week-strip) .day .dots{display:flex!important;gap:0!important;width:22px;height:4px!important;min-height:0!important;margin-top:3px;padding:0!important;border:0!important;border-radius:4px;overflow:hidden;background:var(--line)}
body .habit-week-strip:not(.is-week .habit-week-strip) .day .dots>i{flex:1;width:auto!important;min-width:0!important;height:4px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;opacity:1!important}
body .habit-week-strip:not(.is-week .habit-week-strip) .day .dots>i.filled{background:var(--accent-graphic,var(--accent))!important}
body .habit-week-strip:not(.is-week .habit-week-strip) .day.active .dots{background:color-mix(in srgb,var(--bg) 22%,transparent)}
body .habit-week-strip:not(.is-week .habit-week-strip) .day.active .dots>i.filled{background:var(--accent)!important}

/* Miesiąc w kalendarzu: lżejsze pola bez ramek, wyraźny dzień wybrany */
body .calendar-month-grid .calendar-month-cell{border:0!important;border-radius:14px!important;background:var(--surface-2)!important;box-shadow:none!important}
body .calendar-month-grid .calendar-month-cell[aria-pressed=true],body .calendar-month-grid .calendar-month-cell.active,body .calendar-month-grid .calendar-month-cell.selected{box-shadow:inset 0 0 0 1.5px var(--accent-graphic,var(--accent))!important}
body .calendar-month-grid .calendar-month-cell strong{font:600 15px/1.3 Manrope,sans-serif!important;font-variant-numeric:tabular-nums}

/* Czat: tytuł rozmowy bez ramki i równy rozmiar */
body .assistant-chat-heading h2{font:600 18px/1.3 Manrope,sans-serif!important;letter-spacing:-.4px!important;border:0!important}
