/* Compact task editor; the calendar and notification policy stay in a separate view. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.editor-dialog{max-width:520px;padding:24px;background:#fff}
.editor-eyebrow{font-size:13px;font-weight:500;color:#66766e;margin:0 0 12px}
.task-title-field{display:block}
.task-title-field textarea{font-size:23px;font-weight:550;letter-spacing:-.5px;line-height:1.35;min-height:76px;padding:8px 0;border:0;border-radius:4px;resize:vertical;background:transparent}
.task-title-field textarea:focus{outline:0;box-shadow:0 2px 0 #80bba3}
.task-properties{margin:18px 0;grid-template-columns:1.2fr 1fr;gap:12px}
.task-properties .field{font-size:12px;gap:5px}
.task-properties input,.task-properties select{background:#f7f9f8;border-color:#e5eae7;font-size:14px;min-height:44px}
.editor-disclosure{border-top:1px solid var(--line);margin:0;padding:0}
.editor-disclosure>summary{display:flex;align-items:center;gap:10px;list-style:none;cursor:pointer;color:#405449;min-height:50px;padding:13px 0;font-size:14px;line-height:1.45}
.editor-disclosure>summary::-webkit-details-marker{display:none}
.disclosure-marker{margin-left:auto;color:#6d7f73;font-size:19px;font-weight:400;flex-shrink:0}
.editor-disclosure[open]>summary>.disclosure-marker{transform:rotate(45deg)}
.editor-disclosure>summary small{display:block;color:#738078;font-size:12px;line-height:1.5;font-weight:400;margin-top:3px}
.editor-disclosure .field{margin-top:4px;margin-bottom:16px}
.editor-disclosure .editor-disclosure{margin-left:12px}
.text-action{font-size:14px;color:var(--accent);min-height:44px;padding:10px 0;text-align:left}
.text-action.danger{color:#a14139}
.reminder-entry{display:flex;align-items:center;width:100%;gap:14px;text-align:left;padding:17px 15px;background:#f0f6f2;border:1px solid #e0eae4;border-radius:12px;margin:7px 0 16px;min-height:84px}
.reminder-entry:hover{background:#e8f2ec;border-color:#b8d2c2}
.reminder-entry-copy{display:flex;flex:1;min-width:0;flex-direction:column;gap:5px;overflow-wrap:anywhere}
.entry-caption{font-size:12px;color:#61786a}
.reminder-entry strong{font-size:16px;font-weight:550;color:#245b40;line-height:1.35}
#reminder-summary-detail{font-size:12px;line-height:1.6;color:#63776a}
#reminder-summary-detail:empty{display:none}
.entry-action{color:var(--accent);font-size:12px;flex-shrink:0}
.reminder-header{display:flex;align-items:flex-start;gap:16px;justify-content:space-between;margin-bottom:22px}
.reminder-header h2{font-size:21px;letter-spacing:-.4px;margin:0 0 6px;line-height:1.3;outline:none}
.reminder-header p{font-size:13px;color:#68776e;margin:0;line-height:1.45;overflow-wrap:anywhere}
.reminder-header .text-action{padding:0;min-height:32px;flex-shrink:0;color:#6d7872}
.quick-dates{display:flex;gap:7px;flex-wrap:wrap;margin:0 0 16px}
.quick-dates button{padding:9px 12px;min-height:44px;border:1px solid #dfe7e2;background:#fff;color:#4a6254;border-radius:9px;font-size:13px}
.quick-dates button[aria-pressed=true]{color:#155b3e;border-color:#aacbb8;background:#eaf4ee}
.date-time-pair{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px}
#rem-settings .field{font-size:13px;margin:16px 0}
#rem-settings .field-pair .field{margin:0}
#rem-settings input,#rem-settings select{min-height:44px}
.interval-row{display:flex;align-items:center;gap:10px;font-size:14px;color:#4c5d51;margin:15px 0}
.interval-row input{font:inherit;width:78px;padding:10px;border:1px solid #d4dce1;border-radius:9px;color:#202a31;background:white}
.interval-row input:focus{outline:2px solid #80bba3;outline-offset:1px}
.weekday-field{margin:14px 0 8px}
.weekdays{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:5px}
.weekdays span{padding:10px 0;min-height:44px;text-align:center}
.weekdays input:checked+span{font-weight:600}
#rem-workdays{font-size:12px;padding:8px 0}
.date-add{margin:12px 0 16px;gap:8px}
.date-add input{font:inherit;font-size:15px;border:1px solid #d4dce1;border-radius:9px;padding:10px;min-width:0;width:100%}
.date-add button{white-space:nowrap;min-height:44px}
.date-chips{display:flex;gap:7px;flex-wrap:wrap;margin:6px 0 10px}
.date-chip{padding:9px 12px;background:#edf4ef;border:1px solid #d7e6dc;border-radius:8px;color:#316149;font-size:14px;min-height:44px}
.next-reminder{color:#3e6952;background:#f3f7f4;border-radius:8px;padding:10px 12px;font-size:13px;line-height:1.6;margin:18px 0 14px;overflow-wrap:anywhere}
.next-reminder:empty,.field-note:empty,.form-error:empty{display:none}
.advanced-root>summary{min-height:60px}
.advanced-root>.option-group{margin-left:0;padding:0 12px;background:#f8faf9;border-color:#e5eae6}
.advanced-root>.option-group[open]{padding-bottom:12px}
#rem-settings .toggle-label{align-items:center;min-height:44px;margin:8px 0;color:#3f5347;font-size:14px}
#rem-settings .toggle-label input{min-height:18px;width:18px;height:18px;margin:0}
#rem-settings .field-note{font-size:12px;line-height:1.55;color:#66766d}
.reminder-web-note{font-size:11px;color:#77817b;margin:16px 0 0;line-height:1.5}
.editor-dialog .dialog-actions,#snooze-dialog .dialog-actions{margin:20px -24px -24px;padding:14px 24px;background:#fff;bottom:-24px;border-top:1px solid #e6ece8;gap:10px;flex-wrap:nowrap}
.editor-dialog .dialog-actions button,#snooze-dialog .dialog-actions button{min-height:44px;padding:12px 15px}
.editor-dialog .dialog-actions .danger{font-size:12px;padding-left:0;padding-right:0}
.editor-dialog .dialog-actions .primary{min-width:102px}
.form-error{font-size:13px;line-height:1.5;color:#a33f30;background:#fff4f0;border-radius:8px;padding:10px 12px;margin:12px 0}
#snooze-dialog{padding:24px;max-width:450px;background:#fff}
#snooze-dialog h2{margin-bottom:8px}
#snooze-task-name{margin:0 0 20px;font-size:13px}
.snooze-presets{display:grid;gap:8px;margin:12px 0 20px}
.snooze-presets button{display:flex;align-items:center;justify-content:space-between;width:100%;background:#f0f6f2;border:1px solid #dfeae3;color:#275e40;padding:16px;min-height:54px;border-radius:10px;text-align:left;font-size:15px}
.snooze-presets button:hover{background:#e7f0ea}
.snooze-presets small{font-size:13px;color:#6c8174}
.reminder-more{position:relative;font-size:13px;color:#3f6b55}
.reminder-more>summary{cursor:pointer;min-height:36px;padding:9px 10px;list-style:none;border-radius:8px;border:1px solid #e1e8e3;background:#fff}
.reminder-more>button{display:block;width:100%;margin-top:5px;text-align:left}
@media(max-width:600px){
  .editor-dialog,#snooze-dialog{width:100%;max-width:100%;max-height:calc(100dvh - 16px);inset:auto 0 0;margin:0;border-radius:20px 20px 0 0;padding:24px 20px max(24px,env(safe-area-inset-bottom))}
  .task-title-field textarea{font-size:22px;min-height:72px}
  .editor-dialog .dialog-actions,#snooze-dialog .dialog-actions{margin:20px -20px -24px;padding:12px 20px max(12px,env(safe-area-inset-bottom));bottom:-24px}
  .task-properties{grid-template-columns:1.15fr 1fr;gap:10px}
  .date-time-pair{grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:10px}
  .reminder-entry{padding:15px 12px;gap:8px}
  .entry-action{font-size:11px}
  .quick-dates{gap:6px}.quick-dates button{padding:9px 10px}
}
