/* Literal color samples must remain true to the chosen color in every theme. */
html body :is(#modalRoot,#rowHighlightPopover) .row-highlight-palette{gap:6px}
html body :is(#modalRoot,#rowHighlightPopover) .row-highlight-palette button{display:grid;place-items:center;width:100%;height:auto;aspect-ratio:1;min-height:0!important;padding:0!important;border:1px solid #aeb8c6!important;border-radius:50%!important;background-color:var(--swatch)!important;background-image:none!important;box-shadow:none!important;transition:transform .12s,outline .12s}
html body :is(#modalRoot,#rowHighlightPopover) .row-highlight-palette button:hover{transform:scale(1.1)}
html body :is(#modalRoot,#rowHighlightPopover) .row-highlight-palette button[aria-pressed=true]{outline:2px solid #7198f5;outline-offset:2px}
html body :is(#modalRoot,#rowHighlightPopover) .row-highlight-palette button[aria-pressed=true]::after{content:'✓';color:var(--swatch-ink)!important;font-size:clamp(15px,3vw,22px);line-height:1;font-weight:700}
html body :is(#modalRoot,#rowHighlightPopover) .row-highlight-palette button:focus-visible{outline:3px solid #7198f5;outline-offset:2px}
html body :is(#modalRoot,#rowHighlightPopover) .row-highlight-preview{background:var(--highlight-preview,#fff)!important;color:var(--highlight-preview-ink,#14263f)!important}
html body :is(#modalRoot,#rowHighlightPopover) .project-color-picker i{background:var(--swatch)!important}
@media(prefers-reduced-motion:reduce){html body :is(#modalRoot,#rowHighlightPopover) .row-highlight-palette button{transition:none;transform:none}}
html body #rowHighlightPopover{position:fixed;inset:auto;margin:0;width:min(336px,calc(100vw - 20px));max-height:calc(100dvh - 20px);overflow-y:auto;box-sizing:border-box;padding:14px;border:1px solid #dce4f2;border-radius:16px;background:#fff!important;color:#243b5c!important;box-shadow:0 12px 40px #152b5030;z-index:1000;overscroll-behavior:contain;animation:highlight-pop-in .14s ease-out}
#rowHighlightPopover::backdrop{background:transparent;pointer-events:none}
#rowHighlightPopover .row-highlight-popover-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;font-size:13px}
html body #rowHighlightPopover .row-highlight-popover-heading button{display:grid;place-items:center;width:28px;height:28px;min-height:0;padding:0;border:0;border-radius:8px;background:#f0f4fa!important;color:#536b8f!important;font-size:20px;cursor:pointer}
html body #rowHighlightPopover .row-highlight-reset{width:100%;padding:8px 10px;text-align:left;border:0;border-radius:8px;background:#f6f8fc!important;color:#526b91!important;font-size:12px;cursor:pointer}
#rowHighlightPopover .row-highlight-palette{margin:12px 0}
#rowHighlightPopover .row-highlight-custom-details{border-top:1px solid #dce4f2;padding-top:10px}
#rowHighlightPopover .row-highlight-custom-details>summary{font-size:12px;font-weight:700;cursor:pointer;padding:4px 0}
#rowHighlightPopover .row-highlight-custom{gap:10px;margin:12px 0}
#rowHighlightPopover .row-highlight-custom input{box-sizing:border-box;height:38px;background:transparent!important;color:inherit!important}
html body #rowHighlightPopover .row-highlight-apply{width:100%;margin-top:10px;padding:9px 12px;border:0;border-radius:9px;background:#5f60e6!important;color:#fff!important;font-size:12px;font-weight:700;cursor:pointer}
#rowHighlightPopover [role=alert]:empty{display:none}
#rowHighlightPopover [role=alert]{font-size:12px;color:#d45d68}
#rowHighlightPopover[aria-busy=true]{cursor:progress}
html[data-theme=dark] body #rowHighlightPopover{background:#263247!important;color:#e2eaf8!important;border-color:#4c5b74}
html[data-theme=dark] body #rowHighlightPopover .row-highlight-reset,html[data-theme=dark] body #rowHighlightPopover .row-highlight-popover-heading button{background:#344259!important;color:#d8e5fa!important}
html[data-theme=dark] #rowHighlightPopover .row-highlight-custom-details{border-color:#4c5b74}
@keyframes highlight-pop-in{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#rowHighlightPopover{animation:none!important}}
@media print{#rowHighlightPopover{display:none!important}}
/* Status selection keeps the same semantic palette as the task table. */
#modalRoot .planner-status-options .planned{--status-bg:#eef2f8;--status-ink:#667891;--status-line:#ced8e4}
#modalRoot .planner-status-options .shooting{--status-bg:#eaf1ff;--status-ink:#3566c4;--status-line:#c6d8fa}
#modalRoot .planner-status-options .voice{--status-bg:#fff6e3;--status-ink:#a87a22;--status-line:#eedba9}
#modalRoot .planner-status-options .editing{--status-bg:#f2ecff;--status-ink:#8257b4;--status-line:#ddccf5}
#modalRoot .planner-status-options .review{--status-bg:#fff0e8;--status-ink:#b37345;--status-line:#efcfb8}
#modalRoot .planner-status-options .ready{--status-bg:#e6f6f5;--status-ink:#248c88;--status-line:#bde4df}
#modalRoot .planner-status-options .published{--status-bg:#e9f7ef;--status-ink:#338a62;--status-line:#c2e4d1}
html body #modalRoot .planner-status-options .planner-status{background:var(--status-bg)!important;color:var(--status-ink)!important;border:1px solid var(--status-line)!important;box-shadow:none!important;justify-content:flex-start;gap:12px;font-size:14px;border-radius:11px;padding:13px 16px;min-height:46px;transition:transform .15s,box-shadow .15s}
html body #modalRoot .planner-status-options .planner-status:before{content:'';display:block;width:9px;height:9px;flex-shrink:0;border-radius:50%;background:var(--status-ink)!important}
html body #modalRoot .planner-status-options .planner-status>span{margin-left:auto;color:inherit!important;font-weight:800}
html body #modalRoot .planner-status-options .planner-status[aria-pressed=true]{border-width:2px!important;font-weight:800}
html body #modalRoot .planner-status-options .planner-status:hover{transform:translateX(2px);filter:brightness(.98)}
html body #modalRoot .planner-status-options .planner-status:focus-visible{outline:2px solid var(--status-ink);outline-offset:3px}
html[data-theme=dark] #modalRoot .planner-status-options .planned{--status-bg:#303b4e;--status-ink:#c7d3e6;--status-line:#4d5c73}
html[data-theme=dark] #modalRoot .planner-status-options .shooting{--status-bg:#253a59;--status-ink:#a8c8ff;--status-line:#3f5f8b}
html[data-theme=dark] #modalRoot .planner-status-options .voice{--status-bg:#453c29;--status-ink:#f0d08b;--status-line:#76613b}
html[data-theme=dark] #modalRoot .planner-status-options .editing{--status-bg:#3a2f51;--status-ink:#d6b8fc;--status-line:#675082}
html[data-theme=dark] #modalRoot .planner-status-options .review{--status-bg:#47352c;--status-ink:#f4bf96;--status-line:#79543d}
html[data-theme=dark] #modalRoot .planner-status-options .ready{--status-bg:#223f43;--status-ink:#98ded5;--status-line:#3e6e6a}
html[data-theme=dark] #modalRoot .planner-status-options .published{--status-bg:#253e34;--status-ink:#9ad9b4;--status-line:#416d54}
@media(prefers-reduced-motion:reduce){html body #modalRoot .planner-status-options .planner-status{transition:none;transform:none}}

.planner-table [data-task-row][hidden]{display:none!important}

html body #rowHighlightPopover .row-highlight-reset{display:flex;align-items:center;gap:8px;margin-top:12px;padding:10px 12px;border:1px solid #f0c6c5!important;border-radius:9px;background:#fff0ee!important;color:#b74f50!important;font-weight:700;transition:background .15s,border-color .15s}
html body #rowHighlightPopover .row-highlight-reset svg{width:17px;height:17px;flex-shrink:0}
html body #rowHighlightPopover .row-highlight-reset:hover{background:#fce1de!important;border-color:#df9996!important}
html body #rowHighlightPopover .row-highlight-reset:focus-visible{outline:2px solid #d27370;outline-offset:2px}
html[data-theme=dark] body #rowHighlightPopover .row-highlight-reset{background:#493139!important;color:#ffc0bb!important;border-color:#82505a!important}
html[data-theme=dark] body #rowHighlightPopover .row-highlight-reset:hover{background:#5b3942!important;border-color:#bd7e86!important}
