/* Scoped component geometry overrides legacy page rules. */
body .native47,body #customDate,body #todoCustomDate{display:none!important}
body .select47{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;width:100%!important;min-width:0!important;height:52px!important;min-height:52px!important;margin:0!important;padding:7px 10px 7px 7px!important;border:1px solid var(--line)!important;border-radius:15px!important;background:var(--paper)!important;color:var(--ink)!important;font:700 14px/1.5 Vazirmatn,Tahoma,sans-serif!important;text-align:right!important;cursor:pointer!important}
body .select47[hidden]{display:none!important}.select47>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.select47>i{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:11px;background:#237cf1;color:white}.select47 svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s}.select47[aria-expanded=true] svg{transform:rotate(180deg)}
body .modal47{z-index:65000!important;padding:16px!important}.modal47 .modal-box{width:min(460px,100%)!important;max-height:calc(100dvh - 32px)!important;overflow:auto!important;padding:22px!important;background:var(--white)!important}.modal47 h2{padding-left:44px!important;font-size:23px!important}.picker47{display:grid!important;gap:12px!important;min-width:0!important}.picker47 input{box-sizing:border-box!important;width:100%!important;height:48px!important;padding:10px 14px!important;border:1px solid var(--line)!important;border-radius:13px!important;background:var(--paper)!important;color:var(--ink)!important;font:inherit!important}.choices47{display:grid;gap:9px;max-height:42dvh;overflow:auto;scrollbar-width:none;overscroll-behavior:contain}.choices47::-webkit-scrollbar{display:none}
body .choice47{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:12px!important;min-height:56px!important;height:auto!important;margin:0!important;padding:12px 14px!important;width:100%!important;border:1px solid var(--line)!important;border-radius:16px!important;background:var(--paper)!important;color:var(--ink)!important;font:700 14px/1.7 Vazirmatn,Tahoma!important;text-align:right!important;cursor:pointer;transition:background .16s,border-color .16s}.choice47 i{font-style:normal;display:grid;place-items:center;width:28px;height:28px;flex:0 0 28px;border:2px solid var(--line);border-radius:9px;color:white}.choice47[aria-selected=true]{border-color:#61a8ff!important;background:var(--soft)!important}.choice47[aria-selected=true] i{background:#5874ff;border-color:#5874ff}.choice47:disabled{opacity:.4}.custom47,.apply47{height:48px!important;min-height:48px!important;padding:0 18px!important;border:0!important;border-radius:13px!important;background:#1677ff!important;color:white!important;font-weight:800!important;margin:0!important}.custom47[hidden]{display:none!important}
.date-preview47{text-align:center;line-height:1.8;color:var(--ink);font-family:Vazirmatn,Arial,sans-serif;font-variant-numeric:lining-nums tabular-nums}.shortcuts47{display:flex;gap:8px;justify-content:center}.shortcuts47 button,.month47 button{width:auto!important;min-width:42px!important;height:38px!important;padding:0 14px!important;margin:0!important;border:1px solid var(--line)!important;border-radius:11px!important;background:var(--paper)!important;color:var(--ink)!important;font-family:Vazirmatn,Arial,sans-serif}.month47{display:flex;align-items:center;justify-content:space-between;gap:8px}.month47 b{font-family:Vazirmatn,Arial,sans-serif;font-variant-numeric:lining-nums tabular-nums}.days47{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px;direction:rtl}.days47 small{text-align:center;color:var(--muted);padding:6px 0;font-family:Vazirmatn,Arial,sans-serif}.days47 button{width:100%!important;min-width:0!important;height:42px!important;margin:0!important;padding:0!important;border:1px solid transparent!important;border-radius:50%!important;background:transparent!important;color:var(--ink)!important;font:750 15px/1 Vazirmatn,Arial,sans-serif!important;font-variant-numeric:lining-nums tabular-nums}.days47 button.today{border-color:#1677ff!important}.days47 button.selected{background:#1677ff!important;color:white!important}.days47 button.selected::after{content:'✓';font-size:9px;margin-right:2px}.apply47{justify-self:center;width:160px!important}
/* Source of the white bar: unstyled mobile close button on desktop. */
body .mobile-nav-close-v45,body .mobile-nav-backdrop-v45{display:none!important}
@media(max-width:860px){body .mobile-nav-close-v45{display:grid!important;position:absolute!important;inset:16px auto auto 14px!important;width:38px!important;height:38px!important;margin:0!important;padding:0!important;min-height:0!important;background:var(--paper)!important;color:var(--ink)!important;border:1px solid var(--line)!important}body .mobile-nav-backdrop-v45.open{display:block!important}}
/* Exact geometry beats old .site-dialog button spacing. */
body .modal .modal-box .dialog-body .actions47,body .actions47{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:center!important;gap:12px!important;margin-top:20px!important;width:100%!important}
body .modal .modal-box .dialog-body .actions47>button,body .actions47>button{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:50px!important;min-height:50px!important;max-height:50px!important;margin:0!important;padding:0 8px!important;align-self:center!important;transform:none!important;display:flex!important;align-items:center!important;justify-content:center!important;line-height:1.5!important;font-size:13px!important;border-radius:14px!important}
body #taskForm>button.blue{width:180px!important;min-width:0!important;max-width:100%!important;height:50px!important;min-height:50px!important;max-height:50px!important;padding:0 18px!important;margin:16px auto 0!important;align-self:center!important;justify-self:center!important;grid-column:1/-1!important}
body .todo-card #todoForm{display:grid!important;grid-template-columns:minmax(0,1fr) 180px!important;gap:12px!important;align-items:start!important}body .todo-card #todoForm>*{height:auto!important;min-width:0!important}body #todoForm>#todoInput{height:52px!important;margin:0!important;box-sizing:border-box!important}body #todoForm>.todo-details{display:grid!important;grid-template-columns:1fr 1fr!important;grid-column:1/-1!important;gap:12px!important;height:auto!important;min-height:0!important;margin:0!important;padding:0!important;position:static!important}body #todoForm .todo-time{display:block!important;margin:0!important;position:static!important}body #todoForm .todo-time>span{display:none!important}body #todoForm .lerno-time-button{width:100%!important;height:52px!important;min-height:52px!important;margin:0!important;position:static!important}body #todoForm>.blue{grid-column:1/-1!important;justify-self:center!important;width:160px!important;height:50px!important;min-height:50px!important;margin:0!important;padding:0 18px!important}
body .profile-settings-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:14px!important}body .profile-setting{box-sizing:border-box!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;min-width:0!important;padding:16px!important}body .profile-setting>span{min-width:0;flex:1}body .profile-setting:has(.select47){flex-direction:column!important;align-items:stretch!important}
body #profileSettingsV36 .profile-setting input[type=checkbox]{box-sizing:border-box!important;appearance:none!important;position:relative!important;display:block!important;flex:0 0 46px!important;width:46px!important;min-width:46px!important;max-width:46px!important;height:26px!important;min-height:26px!important;max-height:26px!important;margin:0!important;padding:0!important;border:0!important;border-radius:99px!important;background:#65758a!important;box-shadow:none!important;direction:ltr!important}
body #profileSettingsV36 .profile-setting input[type=checkbox]::before{position:absolute!important;top:3px!important;left:3px!important;width:20px!important;height:20px!important;margin:0!important;transform:none!important;transition:left .18s ease!important}body #profileSettingsV36 .profile-setting input[type=checkbox]:checked{background:#237cf1!important}body #profileSettingsV36 .profile-setting input[type=checkbox]:checked::before{left:23px!important;transform:none!important}body #profileSettingsV36 input[type=checkbox]::after{display:none!important}
body .clock-wheel-list{box-sizing:border-box!important;height:270px!important;padding:108px 0!important;scroll-snap-type:y mandatory!important}.clock-wheel-list::before,.clock-wheel-list::after{display:none!important}body .clock-wheel-list button{box-sizing:border-box!important;height:54px!important;min-height:54px!important;margin:0!important;padding:0!important;scroll-snap-align:center!important}body .clock-wheel-list button.selected{transform:none!important;color:var(--ink)!important}
@media(max-width:600px){body .profile-settings-grid{grid-template-columns:1fr!important}body .todo-card #todoForm{grid-template-columns:1fr!important}body #todoForm>.todo-details{grid-template-columns:1fr!important}body .page-title>.page-back{position:relative!important;top:auto!important;right:auto!important;margin:0 0 14px!important}body .modal47 .modal-box{padding:18px 14px!important}body .actions47>button{font-size:12px!important}}
@media(prefers-reduced-motion:reduce){.select47 svg,.choice47,body #profileSettingsV36 input[type=checkbox]::before{transition:none!important}}
