.task-form .repeat-manage-link { display: flex; gap: 8px; align-items: center; margin-top: 10px; padding: 4px 0; background: transparent; color: #b50962; font-size: 13px; font-weight: 600; width: auto; min-height: 32px; border: 0; box-shadow: none; }
.repeat-manage-link:hover { text-decoration: underline; }
.repeating-drawer { box-sizing: border-box; position: fixed; inset: 0 0 0 auto; margin: 0; width: min(480px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; border: 0; padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom)); background: #fffaf8; color: #403834; box-shadow: -12px 0 50px #34202b26; overflow-y: auto; overscroll-behavior: contain; }
.repeating-drawer[open] { animation: repeating-slide-in .24s ease-out; }
.repeating-drawer::backdrop { background: #30252f66; backdrop-filter: blur(3px); }
.repeating-drawer header { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.repeating-drawer h2 { font-size: 24px; margin: 4px 0; }
.repeating-eyebrow { margin: 0; color: #b50962; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }
.repeating-drawer button { cursor: pointer; }
.repeating-drawer [data-close-repeating] { width: 44px; height: 44px; flex-shrink: 0; border: 0; background: #f2e9e6; border-radius: 50%; color: #63534f; display: grid; place-items: center; }
.repeating-intro, .repeating-status, .repeating-empty { color: #81716a; font-size: 13px; line-height: 1.6; }
.repeating-search { display: grid; gap: 8px; font-size: 12px; margin: 24px 0 12px; }
.repeating-search input { box-sizing: border-box; width: 100%; padding: 12px 14px; border: 1px solid #e3d4d4; border-radius: 10px; background: white; font: inherit; font-size: 16px; }
.repeating-group { margin: 16px 0; }
.repeating-group summary { cursor: pointer; padding: 12px 0; font-size: 14px; font-weight: 600; color: #9e235d; }
.repeating-group summary span { margin-left: 8px; border-radius: 20px; background: #f8e2eb; padding: 2px 8px; font-size: 11px; }
.repeating-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.repeating-card { display: grid; gap: 7px; padding: 16px; background: white; border: 1px solid #f0e3e1; border-radius: 12px; overflow-wrap: anywhere; }
.repeating-card strong { font-size: 14px; font-weight: 600; }
.repeating-card small { font-size: 11px; color: #8b7b74; }
.repeating-next { font-size: 12px; color: #685851; }
.repeating-next.is-today { color: #b50962; }
.repeating-card .repeating-overdue { color: #ab5c33; }
.repeating-drawer [hidden] { display: none !important; }
.repeating-drawer :focus-visible, .repeat-manage-link:focus-visible { outline: 2px solid #d9026f; outline-offset: 3px; }
@keyframes repeating-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .repeating-drawer[open] { animation: none; } }

.repeating-frequency { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 10px; margin-top: 8px; }
.repeating-frequency label { display: grid; gap: 6px; font-size: 12px; }
.repeating-frequency select { width: 100%; min-width: 0; min-height: 44px; border: 1px solid #e3d4d4; border-radius: 8px; background: #fff; padding: 8px; font: inherit; font-size: 16px; }
.repeating-frequency button { min-height: 44px; padding: 0 16px; border: 0; border-radius: 8px; background: #b50962; color: white; font: inherit; font-size: 13px; }
.repeating-frequency button:disabled { opacity: .4; cursor: default; }
