/* Approved task-step design, source201cc5; real product handlers. */
/* Cards are touch drag surfaces; their editors keep normal text selection. */
.task[draggable="true"],.note-card[draggable="true"]{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.task[draggable="true"] :is(input,textarea,[contenteditable="true"]),.note-card[draggable="true"] :is(input,textarea,[contenteditable="true"]){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}
body.touch-dragging,body.touch-dragging :is(.task-title,.today-time-heading){-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}
.dropzone.drag-over{outline:0;background:transparent}
#view-matrix :is(.task[data-sort-context^="matrix-"],.dropzone[data-quadrant]).drag-over{outline:2px solid var(--accent);outline-offset:-2px;box-shadow:none}
.study-steps{margin-top:9px;border-top:1px solid var(--line);padding-top:3px}
.study-step-toggle{background:transparent;border:0;padding:6px 0;min-height:36px;color:var(--muted);font-size:.8rem;text-align:left;cursor:pointer}
.study-step-list{padding:2px 0 3px}.study-step-row{display:grid;grid-template-columns:22px minmax(0,1fr) 36px;gap:8px;align-items:center;min-height:42px;padding:3px 0;font-size:.85rem;line-height:1.4}
.study-step-row input{width:18px;height:18px;accent-color:var(--accent);margin:0}.study-step-row.is-done>span{text-decoration:line-through;color:var(--muted)}
.study-step-row .study-step-play{width:34px;height:34px;min-height:34px;min-width:34px;padding:0;font-size:.85rem}.study-step-play:disabled{opacity:.35;cursor:default}.study-edit-link{font-size:.78rem;padding:7px 0;color:var(--muted)}
.study-editor{border:1px solid var(--line);border-radius:14px;padding:14px;margin:14px 0}.study-section-head{display:flex;justify-content:space-between;align-items:center}.study-section-head h3{margin:0;font-size:1rem}.study-editor .hint{margin:7px 0 12px;font-size:.78rem;line-height:1.5}.study-edit-row{display:grid;grid-template-columns:18px minmax(0,1fr) 34px;gap:5px;align-items:center;margin-bottom:8px}.study-edit-row>span{font-size:.75rem;color:var(--muted)}.study-edit-row input{width:100%;min-width:0;font-size:.9rem}.study-edit-row button{padding:5px;min-width:32px}.study-examples{border-top:1px solid var(--line);padding-top:12px;margin-top:10px}.study-examples summary{font-size:.82rem;cursor:pointer}.study-depth{display:flex;gap:5px}.study-depth button{padding:7px 12px;font-size:.8rem;border:1px solid var(--line);border-radius:8px;background:transparent}.study-depth button[aria-pressed=true]{background:var(--accent-soft);color:var(--accent);border-color:var(--accent)}#studyExampleRows{font-size:.82rem;line-height:1.65;padding-left:22px}
@media(max-width:600px){.study-step-row{grid-template-columns:22px minmax(0,1fr) 40px;gap:6px;min-height:46px}.study-step-row .study-step-play{width:40px;height:40px;min-height:40px}.study-edit-row input{font-size:16px}.study-editor{padding:11px}}
.study-edit-row input{border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:10px 11px;min-height:42px;font-family:inherit}
@media(max-width:760px){.task>.task-body>.study-steps{grid-column:2/4;grid-row:4;min-width:0}.study-step-toggle{max-width:100%}}
/* Study 03: direct editing in both desktop layouts; narrow screens always expand in place. */
.study-step-text{appearance:none;text-align:left;border:1px solid transparent;background:transparent;color:inherit;font:inherit;line-height:1.4;min-width:0;min-height:36px;padding:6px 4px;border-radius:7px;white-space:normal;overflow-wrap:anywhere;cursor:text}
.study-step-text:hover{background:var(--accent-soft);border-color:var(--line)}.study-step-text:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.study-step-row.is-done .study-step-text{text-decoration:line-through;color:var(--muted)}
.study-step-row .study-inline-input{display:block;resize:none;box-sizing:border-box;width:100%;height:auto;min-height:38px;max-height:180px;overflow:auto;margin:0;border:1px solid var(--accent);border-radius:7px;padding:7px 6px;background:var(--panel);color:var(--ink);font:inherit;line-height:1.4;accent-color:auto}
.study-add-inline{display:block;min-height:38px;padding:5px 4px;margin-left:26px;color:var(--muted);font-size:.8rem;text-align:left;border:0;background:transparent}
.study-add-inline:hover{color:var(--accent)}.study-inline-save{min-width:34px;min-height:36px;padding:3px;color:var(--accent)}
#studySideRows{margin-bottom:0}#studySideRows .study-add-inline{margin-top:6px}
@media(max-width:999px){#studySidePanel{display:none!important}.study-step-row .study-inline-input{font-size:16px;min-height:42px}.study-step-text{min-height:42px}.study-add-inline{min-height:44px}}

/* Study 07: disclosure belongs to the main task; one peer list for all steps. */
.study-step-family{border:0;padding:0;margin:3px 0 4px;min-width:0;max-width:100%}
.study-step-family:has(>.study-step-list[hidden]):not(:has(>.study-step-preview,>.study-step-row,>.study-add-first)){display:none}
.study-step-family:has(>.study-step-row),.study-step-family:has(>.study-add-first){display:block}
.study-step-family>.study-step-row{width:fit-content;max-width:100%}
.study-title-row .task-title{min-width:0;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.study-title-row .study-step-toggle{flex:0 0 auto}
.study-add-first{min-height:36px;padding:0;border:0;background:transparent;color:var(--muted);font-size:.84rem;text-align:left}
#editModal .modal-first-row[hidden]{display:none}
#todayLaterTitle[role=button]{cursor:pointer;display:flex;align-items:center;gap:8px}
#todayLaterTitle[role=button]::after{content:'⌄';font-size:.8em;color:var(--muted);transform:rotate(-90deg)}
#todayLaterTitle[aria-expanded=true]::after{transform:none}
#todayLaterTitle:focus-visible{outline:2px solid var(--accent);outline-offset:4px;border-radius:4px}
.study-step-preview{font-size:.84rem;line-height:1.4;color:var(--muted);margin:2px 0 4px;max-width:44ch;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.study-step-preview.is-done{text-decoration:line-through}
.study-step-list[hidden]{display:none}
.study-step-list{display:grid;width:fit-content;max-width:100%;padding:0}
.study-step-row{display:grid;grid-template-columns:22px minmax(0,1fr) 30px;gap:6px;min-height:36px;padding:1px 0;width:100%;max-width:100%;align-items:center}
.study-step-row>input[type=checkbox]{appearance:none;-webkit-appearance:none;position:relative;display:block;box-sizing:border-box;width:22px;height:32px;border:0;margin:0;background:transparent;cursor:pointer;accent-color:auto}
.study-step-row>input[type=checkbox]::before{content:'';position:absolute;width:12px;height:12px;box-sizing:border-box;left:5px;top:10px;border:1px solid #a6a29a;border-radius:3px;background:transparent}
.study-step-row>input[type=checkbox]:checked::before{border-color:var(--accent);background:var(--accent)}
.study-step-row>input[type=checkbox]:checked::after{content:'';position:absolute;width:6px;height:3px;border-left:1.4px solid var(--panel);border-bottom:1.4px solid var(--panel);transform:rotate(-45deg);left:8px;top:13px}
.study-step-row>input[type=checkbox]:focus-visible{outline:2px solid var(--accent);outline-offset:1px;border-radius:4px}
.study-step-family .study-step-play{width:30px;min-width:30px;height:30px;min-height:30px;font-size:.72rem;border-radius:8px;border-color:var(--line);background:transparent;color:var(--muted)}
.study-step-text{font-size:.84rem;min-height:34px;padding:4px 0;line-height:1.4;max-width:42ch}
.study-first-step .study-step-text{color:inherit}
.study-step-toggle{display:grid;place-items:center;min-height:32px;width:30px;min-width:30px;padding:0;border-radius:7px;background:transparent;border:0;color:var(--muted)}
.study-step-toggle svg{transition:transform .15s}.study-step-toggle[aria-expanded=true] svg{transform:rotate(180deg)}
.study-step-toggle:hover{background:var(--accent-soft)}.study-step-toggle:focus-visible{outline:2px solid var(--accent);outline-offset:1px}
.tasklist,.quad,.task,.quad .task.compact{min-width:0;max-width:100%}
.task>.task-body,.task .meta{min-width:0;max-width:100%}
@media(min-width:761px){.task,.quad .task.compact{grid-template-columns:auto minmax(0,1fr) auto}}
.study-title-row{display:flex;align-items:center;gap:5px;min-width:0;max-width:100%}.study-title-row .task-title{flex:0 1 auto;min-width:0}
.study-add-inline{display:grid;grid-template-columns:22px minmax(0,1fr) 30px;gap:6px;align-items:center;width:100%;margin:0;padding:0;min-height:34px;font-size:.78rem;line-height:1.4;color:var(--muted);border:0;background:transparent;text-align:left}
.study-add-plus{justify-self:center;font-size:.9rem;font-weight:400;line-height:1}
@media(max-width:760px){
 .task>.task-body>.study-title-row,.strategic-block .plan-focus-card>.plan-focus-body>.study-title-row{grid-column:2/4;grid-row:1;min-width:0}
 .task>.task-body>.study-step-family,.strategic-block .plan-focus-card>.plan-focus-body>.study-step-family{grid-column:2/4;grid-row:2;min-width:0;margin-top:2px;margin-bottom:0}
 .task:has(.study-step-family)>.task-body>.meta,.strategic-block .plan-focus-card:has(.study-step-family)>.plan-focus-body>.meta{grid-row:3}
 .task:has(.study-step-family)>.actions,.strategic-block .plan-focus-card:has(.study-step-family)>.contact-actions{grid-row:3}
 .study-step-preview{max-width:100%}
 .study-step-row,.study-add-inline{grid-template-columns:24px minmax(0,1fr) 34px;min-height:42px;gap:5px}
 .study-step-row>input[type=checkbox]{width:24px;height:40px}.study-step-row>input[type=checkbox]::before{left:6px;top:14px}.study-step-row>input[type=checkbox]:checked::after{left:9px;top:17px}
 .study-step-family .study-step-play{width:34px;min-width:34px;height:36px;min-height:36px}
 .study-step-toggle{width:32px;min-width:32px;min-height:38px}.study-step-text{min-height:38px}
}
@media(prefers-reduced-motion:reduce){.study-step-toggle svg{transition:none}}

/* Study 08: a black outline play icon without a visible button box. */
.study-step-family .study-step-play{display:grid;place-items:center;border:0!important;box-shadow:none!important;background:transparent;color:#272624;padding:0}
.study-step-family .study-step-play:hover:not(:disabled){background:var(--accent-soft)}
.study-step-family .study-step-play:focus-visible{outline:2px solid var(--accent);outline-offset:1px;background:var(--accent-soft)}
.study-step-play svg{width:16px;height:16px;display:block;pointer-events:none}

/* The same small outline triangle in Now, Later and Plan, on every screen size. */

/* Scoped to this comparison's task modal. Original v276 geometry is inherited. */
#editModal .modalhead{border-bottom:0}
/* Accepted Today time metadata and flat Plan focus, source201cc5/v13. */
#todayLaterList .today-time-heading{margin:9px 0 0;font-size:.82rem;font-weight:650;color:var(--muted)}
.today-context .today-task-tags{display:flex;align-items:center;flex:1 1 0;flex-wrap:nowrap;gap:6px;min-width:0;overflow-x:auto;overflow-y:hidden;scrollbar-width:none;overscroll-behavior-inline:contain}
.today-context>.task-body>.meta>.task-start-time,.today-context>.task-body>.meta>.task-estimate-chip{flex:0 0 auto;white-space:nowrap}
#strategicContactSection{padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
#strategicContactSection .contact-head{margin-bottom:6px}
#strategicContactSection .plan-focus-card{padding:12px;gap:10px;border-radius:16px;align-items:start}
#strategicContactSection .plan-focus-card>.done-circle{margin-top:0}
#todayDragPreview:not([hidden]){display:block;position:fixed;z-index:2147483646;pointer-events:none;box-sizing:border-box;width:min(280px,calc(100vw - 16px));height:36px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;padding:8px 12px;border:1px solid var(--line);border-radius:8px;background:var(--panel);color:var(--ink);font-size:14px;box-shadow:var(--card-shadow)}
@media (max-width:900px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:500px){
 .today-context>.task-body>.meta{overflow:visible;display:flex;flex-wrap:nowrap;gap:5px;min-width:0;max-width:100%}
 .today-context>.task-body>.meta>.task-start-time{display:inline-flex;justify-content:center;height:30px;min-height:30px;min-width:0;width:auto;padding:0 6px;font-size:.75rem}
 .today-context>.task-body>.meta>.task-start-time.has-time .task-start-time-value{display:inline}
 .today-context>.task-body>.meta>.task-start-time.has-time .task-start-clock{display:none}
 .today-context>.task-body>.meta>.task-start-time .task-start-time-input{position:absolute;inset:0;opacity:0;width:100%;min-width:0;height:100%;font-size:16px;cursor:pointer}
 .today-context>.task-body>.meta>.task-start-time.is-empty{border-style:dashed;width:30px;min-width:30px;padding:0}
 .today-context>.task-body>.meta>.task-estimate-chip{padding:3px 6px;font-size:.75rem}
 .today-context>.task-body>.meta>.today-task-tags{flex:1 1 0;width:0;min-width:0;max-width:100%;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;scrollbar-width:none;-webkit-overflow-scrolling:touch}
 .today-task-tags>*{flex:0 0 auto;white-space:nowrap}
 .today-task-tags::-webkit-scrollbar{display:none}
 #strategicContactSection .plan-focus-card{grid-template-columns:auto minmax(0,1fr) max-content;column-gap:8px;row-gap:4px}
}
#editModal .modal-step-group{border:0;border-radius:0;padding:0;margin:10px 0 14px}
#editModal .modal-step-group>summary{display:flex;align-items:center;gap:7px;list-style:none;font-weight:760;cursor:pointer;min-height:44px}
#editModal .modal-step-group>summary::-webkit-details-marker{display:none}
#editModal .modal-step-group>summary svg{color:var(--muted);transition:transform .15s}
#editModal .modal-step-group[open]>summary svg{transform:rotate(180deg)}
#editModal .modal-step-group>summary:focus-visible,#editModal #taskAddStep:focus-visible{outline:2px solid var(--accent);outline-offset:2px;border-radius:7px}
#editModal .modal-step-body{padding-top:3px}
#editModal .study-edit-row{grid-template-columns:18px minmax(0,1fr) 36px;gap:6px;align-items:start;margin-bottom:6px}
#editModal .study-edit-row>span{padding-top:13px;text-align:center}
#editModal .study-edit-row textarea{box-sizing:border-box;width:100%;min-width:0;min-height:44px;max-height:150px;resize:vertical;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fff;color:var(--ink);padding:10px 11px;font:inherit;font-size:.9rem;line-height:1.45}
#editModal .study-edit-row>button{min-height:44px;min-width:36px;padding:5px;color:var(--muted);font-size:1.15rem;border:0;background:transparent}
#editModal #taskAddStep{margin-left:24px;min-height:44px;padding:4px 0;font-size:.85rem;border:0;background:transparent;color:var(--muted);text-align:left}
#editModal .modal-study-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}
#editModal .modal-study-pair>.field{min-width:0}
#editModal .modal-study-pair input,#editModal .modal-study-pair select{width:100%;min-width:0;max-width:100%;font:inherit}
#editModal .recur-box{border:0;padding:0;margin:0}
#editModal .modal-study-rhythm .today-focus-toggle-field>label:first-child{display:none}
#editModal .modal-study-rhythm .today-focus-toggle{width:100%;font-size:.88rem;min-height:46px;font-weight:760;gap:6px}
#editModal .modal-study-rhythm .today-focus-star{width:28px;height:28px;border-radius:9px;flex-shrink:0}
#editModal .modal-study-minutes{display:flex;align-items:center;border:1px solid var(--line);border-radius:14px;background:#fff;min-width:0}
#editModal .modal-study-minutes input{border:0;background:transparent;padding-right:4px}
#editModal .modal-study-minutes span{padding:0 12px 0 4px;color:var(--muted);font-size:.85rem}
#editModal #editMaterialBox{padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);margin:8px 0 12px}
#editModal #editMaterialBox>summary{min-height:36px;font-weight:760;margin-bottom:3px}
#editModal #editMaterialBox textarea{min-height:72px}
#editModal #editMaterialBox .attachment-picker-row{margin:2px 0 0;display:flex;justify-content:flex-end}
#editModal .modal-study-paperclip{display:grid;place-items:center;border:0;background:transparent;min-width:44px;min-height:44px;padding:8px;color:var(--muted)}
#editModal .modal-study-paperclip svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
@media(max-width:600px){#editModal .modal-study-pair{gap:8px}#editModal .modal-study-pair label{font-size:.86rem}#editModal .modal-study-rhythm{grid-template-columns:minmax(0,1fr)}#editModal .study-edit-row textarea,#editModal .modal-study-pair input,#editModal .modal-study-pair select{font-size:16px}}
@media(prefers-reduced-motion:reduce){#editModal .modal-step-group>summary svg{transition:none}}

.study-step-family .study-step-play{color:var(--ink)}
#editModal .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}
/* Approved task detail arrangement; all existing inputs keep their handlers. */
#editModal .modalhead{border-bottom:0}
#editModal .task-detail-pair{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:12px;align-items:end}
#editModal .task-detail-pair:not(.task-detail-rhythm){align-items:start}
#editModal .task-detail-pair>.field{min-width:0}
#editModal .task-detail-pair input,#editModal .task-detail-pair select{width:100%;min-width:0;max-width:100%;font:inherit}
#editModal .task-detail-pair :is(input[type=date],input[type=time]){display:block;box-sizing:border-box;-webkit-appearance:none;appearance:none;min-inline-size:0;max-inline-size:100%;padding-inline:10px;text-align:left}
#editModal .task-detail-pair input::-webkit-date-and-time-value{min-width:0;text-align:left}
#editModal .task-detail-pair input::-webkit-datetime-edit{min-width:0;padding:0}
#editModal .recur-box{border:0;padding:0;margin:0}
#editModal .task-detail-rhythm .today-focus-toggle-field>label:first-child{display:none}
#editModal .task-detail-rhythm .today-focus-toggle{width:100%;font-size:.88rem;min-height:46px;gap:6px}
#editModal .task-estimate-input{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-width:0;gap:8px}
#editModal .task-estimate-input input{min-width:0}
#editEstimateHint{display:block;margin-top:4px;font-size:.75rem;line-height:1.35}
#editModal #editMaterialBox{padding:0;border:0;border-radius:0;background:transparent;color:var(--ink);margin:8px 0 12px}
#editModal #editMaterialBox>summary{min-height:36px;font-weight:760;margin-bottom:3px}
.task-estimate-chip{flex:none;white-space:nowrap;border:1px solid var(--line)}
.task-estimate-chip.is-proposal{border:1px dashed var(--muted);background:transparent;color:var(--muted);font-weight:400}
.task-estimate-chip.is-confirmed{font-weight:760}
@media(max-width:600px){#editModal .task-detail-pair{gap:8px}#editModal .task-detail-pair label{font-size:.86rem}#editModal .task-detail-rhythm{grid-template-columns:minmax(0,1fr)}#editModal .task-detail-pair input,#editModal .task-detail-pair select{font-size:16px}}
@media(max-width:420px){#editModal .task-detail-pair:not(.task-detail-rhythm)>.field>label{display:flex;align-items:flex-end;min-height:2.5em;line-height:1.25}}
:root[data-app-theme]:not([data-app-theme="classic"]) #editModal .study-edit-row textarea{background:var(--theme-control);color:var(--ink);border-color:var(--line)}
#editModal .today-focus-toggle{background:var(--theme-control,var(--panel));color:var(--ink);border-color:var(--line)}

/* Accepted continuous Now/Later rail, proposal/draft50/v13; no task connectors. */
.standard-focus{position:relative;isolation:isolate}
.standard-focus .today-free-gap{position:absolute;display:block;height:10px;border:0;border-radius:999px;transform:translateY(-50%);background:linear-gradient(90deg,transparent,hsl(150 50% 90%) 50%,transparent);-webkit-mask-image:linear-gradient(180deg,transparent,#000 35%,#000 65%,transparent);mask-image:linear-gradient(180deg,transparent,#000 35%,#000 65%,transparent);z-index:0;pointer-events:none}
@media (min-width:901px) and (hover:hover), (min-width:901px) and (pointer:fine), (min-width:901px) and (pointer:none), (min-width:901px) and (min-height:501px), (min-width:901px) and (orientation:portrait){.standard-focus .today-free-gap{height:32px;background:linear-gradient(90deg,transparent,#f3fbf7 50%,transparent)}}
:root[data-app-theme="dark"] .standard-focus .today-free-gap{background:linear-gradient(90deg,transparent,var(--theme-positive-bg) 50%,transparent)}
.standard-focus::before{content:'';position:absolute;left:12px;top:20px;bottom:24px;width:1px;background:var(--line);pointer-events:none}
.standard-focus #todayNowList,.standard-focus #todayLaterList{padding-left:28px!important;overflow:visible}
.standard-focus .today-section-head{position:relative;padding-left:28px;min-height:40px}
.standard-focus .today-section-head::before{content:'';position:absolute;left:9px;top:17px;width:7px;height:7px;box-sizing:border-box;border:1px solid var(--muted);border-radius:50%;background:var(--panel);pointer-events:none}
.standard-focus .today-context{position:relative;overflow:visible;z-index:1}
.standard-focus .today-context::before{content:'';position:absolute;left:var(--today-rail-x,-17px);top:var(--today-title-y,20px);width:6px;height:6px;box-sizing:border-box;border:1px solid var(--muted);border-radius:50%;background:var(--panel);transform:translate(-50%,-50%);pointer-events:none}
.standard-focus .today-context:has(.task-start-time.is-empty)::before{display:none}
#todayLaterList .today-time-heading{position:relative;display:flex;align-items:center;gap:10px;font-variant-numeric:tabular-nums;line-height:1.4}
#todayLaterList .today-time-heading::before{content:'';position:absolute;left:-19px;top:5px;width:5px;height:5px;box-sizing:border-box;border:1px solid var(--muted);border-radius:50%;background:var(--panel)}
#todayLaterList .today-time-heading::after{content:'';height:1px;flex:1;background:var(--line)}
#strategicContactSection{margin-left:28px;margin-right:0}
@media (max-width:900px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:500px){
 .standard-focus::before{left:3px}
 .standard-focus #todayNowList,.standard-focus #todayLaterList{padding-left:14px!important}
 .standard-focus .today-section-head{padding-left:18px}
 .standard-focus .today-section-head::before{left:0}
 .standard-focus .today-context::before{width:5px;height:5px}
 #todayLaterList .today-time-heading{font-size:.76rem;margin-left:4px}
 #todayLaterList .today-time-heading::before{left:-17px}
 #strategicContactSection{margin-left:14px;margin-right:0}
}

.today-context .today-task-tags>*{flex:0 0 auto;white-space:nowrap}
.today-context .today-task-tags::-webkit-scrollbar{display:none}
.task-start-time.is-proposal{border-style:dashed;opacity:.8}
.today-plan-feedback:not([hidden]){display:flex;gap:8px;align-items:center;flex-wrap:wrap;font-size:.82rem;color:var(--muted);margin-bottom:8px}
.standard-focus .today-plan-feedback:not([hidden]){margin:5px 0 9px 28px;font-size:.76rem;line-height:1.5;gap:9px}
.standard-focus .today-plan-feedback button{border:0;background:transparent;font:inherit;color:var(--muted);text-decoration:underline;text-underline-offset:3px;padding:3px 0;min-height:28px}
.standard-focus .today-title-tools{display:flex;align-items:center;gap:9px}
@media (max-width:900px), (orientation:landscape) and (hover:none) and (pointer:coarse) and (max-height:500px){.standard-focus .today-plan-feedback:not([hidden]){margin-left:18px}.standard-focus .today-title-tools{gap:5px}}
#todayLaterMore:not([hidden]){display:block;width:fit-content;max-width:100%;margin:8px auto 0}

/* R63: reserve actual grid cells for mobile actions; metadata stays unobscured. */
@media(max-width:760px){
 .today-context>.task-body>.meta{grid-column:2/3!important}
}
@media(max-width:360px){
 .today-context>.task-body>.study-title-row{grid-column:2/3!important}
 .today-context>.actions{grid-column:3;grid-row:1!important;align-self:center}
 .today-context>.task-body>.meta{grid-column:2/4!important}
}
.today-context>.task-body>.meta>.task-start-time.is-empty{display:inline-flex;justify-content:center;width:auto;min-width:0;padding:0 8px;color:var(--muted)}
.today-context>.task-body>.meta>.today-star-chip{flex:0 0 auto}
#editModal .task-detail-pair :is(input[type=date],input[type=time]){min-height:44px}
#editModal .modalhead{background:var(--panel);box-shadow:0 8px 0 var(--panel);z-index:3}

/* One shared metadata rail: every existing chip moves together. */
.task>.task-body>.meta,.today-context>.task-body>.meta,.pipeline-card .pipeline-meta,.strategic-block .plan-focus-card>.plan-focus-body>.meta{display:flex;align-items:center;flex-wrap:nowrap;min-width:0;max-width:100%;overflow-x:auto;overflow-y:hidden;overscroll-behavior-inline:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.task>.task-body>.meta>*,.pipeline-card .pipeline-meta>*,.strategic-block .plan-focus-card>.plan-focus-body>.meta>*{flex:0 0 auto;white-space:nowrap}
.task .meta::-webkit-scrollbar,.pipeline-card .pipeline-meta::-webkit-scrollbar,.plan-focus-card .meta::-webkit-scrollbar{display:none}
#editModal .task-detail-pair :is(input,select){box-sizing:border-box;height:3.2em;min-height:50px}
#fkDurBtn{color:var(--accent)}

.pipeline-card,.pipeline-card>div:not(.pipeline-actions){min-width:0;max-width:100%}

/* V288: the Today target uses the same theme accent as the Matrix outline. */
#view-today .task.drag-over{box-shadow:0 0 0 2px var(--accent)}
