/* Дела v3: лёгкая главная, заметки отдельно, Drag как в Keep */
#tasksHost .tv2-content .tv2-hub{margin-bottom:21px}
#tasksHost .tv2-hub-card{min-height:76px}
#tasksHost .tv2-section-head{margin-bottom:8px}
#tasksHost .tv2-section-head .tasks-refresh{margin-left:auto;border:0;background:transparent;color:var(--color-text-muted);font-size:21px;padding:5px 9px}
#tasksHost .tv3-archive-link{display:flex;align-items:center;justify-content:center;gap:6px;
 margin:18px auto 3px;padding:9px 14px;color:var(--color-text-muted);
 border:0;background:transparent;border-radius:14px;font-size:11.5px;font-weight:550}
#tasksHost .tv3-archive-link:active{background:var(--color-surface-2)}
#tasksHost .tv2-card.tv2-sortable{grid-template-columns:36px minmax(0,1fr) auto;gap:4px 9px;
 cursor:grab;user-select:none;-webkit-user-select:none;touch-action:auto}
#tasksHost .tv2-card.tv2-sortable .tv2-record-icon{grid-column:1}
#tasksHost .tv2-card.tv2-sortable .tv2-record-info{grid-column:2}
#tasksHost .tv2-card.tv2-sortable .tv2-actions{grid-column:3}
#tasksHost .tv2-card.tv2-sortable .tv2-record-title,
#tasksHost .tv2-card.tv2-sortable .tv2-meta,
#tasksHost .tv2-card.tv2-sortable .tv3-list-preview{user-select:none;-webkit-user-select:none}
#tasksHost .tv2-card.tv3-held,#tasksHost .tv2-card.tv2-moving{
 box-shadow:0 10px 30px var(--color-accent-shadow);border-color:var(--color-accent);cursor:grabbing;
 background:var(--color-accent-surface);transform:scale(1.025)}
#tasksHost .tv2-card.tv3-draggable:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}
#tasksHost .tv3-other-hint{font-size:11px;color:var(--color-text-muted);padding:3px 5px 11px;margin:0}
#tasksHost .tv3-notes-rows{display:flex;flex-direction:column;gap:9px}
#tasksHost .tv3-list-preview{display:flex;flex-direction:column;gap:3px;margin:8px 0 0;
 font-size:11.5px;line-height:1.35;color:var(--color-text-muted)}
#tasksHost .tv3-peek-item{margin:0;display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
#tasksHost .tv3-peek-more{margin:0;color:var(--color-accent-text);font-size:10.5px}
#tasksHost .tv3-interval{grid-column:1/-1;display:grid;grid-template-columns:1fr 1fr;gap:9px;
 border-radius:11px;background:var(--color-surface-2);padding:10px}
#tasksHost .tv3-interval[hidden]{display:none}
#tasksHost .tv3-interval label{min-width:0}
#tasksHost .tv3-interval input,#tasksHost .tv3-interval select{width:100%;box-sizing:border-box}
#tasksHost .tv3-done-dialog{box-sizing:border-box;overflow-y:auto;width:min(92vw,440px);max-width:440px;padding:22px;
 background:var(--color-surface);color:var(--color-text);border-radius:23px;max-height:80dvh}
#tasksHost .tv3-done-dialog h2{color:var(--color-text);font-size:19px;margin:0 0 7px}
#tasksHost .tv3-done-caption{font-size:12px;line-height:1.5;color:var(--color-text-muted);margin:0 0 16px}
#tasksHost .tv3-done-dialog label{display:flex;flex-direction:column;gap:7px;font-size:12px;
 color:var(--color-text-muted);font-weight:600}
#tasksHost .tv3-done-dialog input{min-height:46px;padding:10px 12px;border-radius:12px;
 background:var(--color-surface);color:var(--color-text);border:1px solid var(--color-border-input);
 color-scheme:light dark;font-size:15px}
#tasksHost .tv3-done-actions{display:flex;gap:7px;flex-wrap:wrap;margin-top:15px}
#tasksHost .tv3-done-actions button{flex:1;min-width:90px;min-height:42px;padding:7px 9px;
 font-size:12px;border-radius:11px;background:var(--color-surface-2);color:var(--color-text)}
#tasksHost .tv3-done-actions #tv3DoneSubmit{background:var(--color-accent);color:var(--color-text-on-accent)}
#tasksHost #tv3DoneMessage{min-height:0;margin:11px 0 0;font-size:12px;color:var(--color-danger-text)}
#tv3HomeSoon:empty{display:none}
#tv3HomeSoon .tv3-home-group{margin-top:0}
#tv3HomeSoon .tv3-home-row{cursor:pointer}
@media(max-width:720px){
 #tasksHost .tv2-card.tv2-sortable{grid-template-columns:29px minmax(0,1fr) auto;gap:5px 6px}
 #tasksHost .tv2-card.tv2-sortable .tv2-record-icon{width:29px;height:29px}
 #tasksHost .tv2-card.tv2-sortable .tv2-record-title{font-size:13px}
 #tasksHost .tv3-done-dialog{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;
  max-height:80dvh;border-radius:22px 22px 0 0;padding:22px 16px max(18px,env(safe-area-inset-bottom))}
}

/* Alpha v69 — calm note reminder status and Keep-like drag feedback. */
#tasksHost .tv3-reminder-meta{font-size:11px;line-height:1.5;color:var(--color-text-muted);margin:7px 0 0}
#tasksHost .tv3-reminder-zone{font-size:11px;line-height:1.45;color:var(--color-text-muted);margin:6px 0 0}
#tasksHost .tv3-note-reminder-label:not([hidden]){display:flex;align-items:center;gap:8px}
#tasksHost .tv3-note-reminder-label input{width:18px;height:18px;flex-shrink:0}
#tasksHost #tv3ReminderMessage{font-size:12px;color:var(--color-danger-text);margin-top:10px}
#tasksHost .tv2-card.tv2-moving{position:relative;z-index:2}
@media(prefers-reduced-motion:reduce){
 #tasksHost .tv2-card.tv2-moving{transition:none}
}

/* v70: editing a note is the primary action; Telegram configuration is secondary. */
#tasksHost .tv3-note-editor{box-sizing:border-box;width:min(92vw,560px);max-width:560px;
 max-height:min(84dvh,750px);overflow:auto;border-radius:23px;padding:23px;
 background:var(--color-surface);color:var(--color-text)}
#tasksHost .tv3-note-editor form{display:flex;flex-direction:column;gap:11px}
#tasksHost .tv3-note-editor h2{margin:0 0 3px;font-size:21px;color:var(--color-text)}
#tasksHost .tv3-note-editor label{font-size:12px;font-weight:600;color:var(--color-text-muted)}
#tasksHost .tv3-note-editor textarea{min-height:185px;width:100%;resize:vertical;box-sizing:border-box;
 padding:13px;border:1px solid var(--color-border-input);border-radius:13px;font:inherit;
 font-size:15px;line-height:1.5;color:var(--color-text);background:var(--color-surface)}
#tasksHost .tv3-note-editor textarea:focus-visible{outline:2px solid var(--color-accent);outline-offset:2px}
#tasksHost #tv3NoteEditorMessage{font-size:12px;color:var(--color-danger-text);margin:0;min-height:0}
#tasksHost .tv3-note-notification{align-self:flex-start;background:var(--color-surface-2);
 border:0;border-radius:12px;min-height:40px;padding:8px 13px;color:var(--color-text);
 font-size:13px;font-weight:600}
#tasksHost .tv3-note-editor-actions{display:flex;gap:9px;justify-content:flex-end;margin-top:4px}
#tasksHost .tv3-note-editor-actions button{min-height:43px;padding:9px 14px;border-radius:12px;
 font-size:13px;font-weight:600;border:0;background:var(--color-surface-2);color:var(--color-text)}
#tasksHost #tv3NoteEditorSave{background:var(--color-accent);color:var(--color-text-on-accent)}
#tasksHost .tv3-note-alert{background:transparent;border:0;color:var(--color-text-muted);
 border-radius:10px;font-size:19px;min-width:32px;min-height:35px;cursor:pointer}
#tasksHost .tv3-note-alert:hover{background:var(--color-surface-2)}
@media(max-width:720px){
 #tasksHost .tv3-note-editor{position:fixed;inset:auto 0 0;margin:0;width:100%;max-width:none;
  max-height:84dvh;border-radius:22px 22px 0 0;padding:22px 16px max(18px,env(safe-area-inset-bottom))}
}
