/* Review 62e: the existing funnel is the authority for task columns. */
html[data-workspace="v2"] #tasks #tkBody .tk-board{gap:10px!important;min-height:calc(100dvh - 240px);align-items:stretch!important}
html[data-workspace="v2"] #tasks #tkBody .tk-col{flex:1 0 210px;width:210px;min-width:210px!important;background:color-mix(in srgb,var(--review-stage) 7%,var(--panel))!important;border:0!important;border-top:2px solid var(--review-stage)!important;border-radius:4px!important;overflow:visible!important}
html[data-workspace="v2"] #tasks #tkBody .tk-colhead{display:flex!important;visibility:visible!important;position:static!important;opacity:1!important;align-items:center;justify-content:space-between;min-height:39px!important;padding:10px 10px 8px!important;background:transparent!important;border:0!important;color:var(--ink)!important;font:600 12px/1.5 Inter,sans-serif!important}
html[data-workspace="v2"] #tasks #tkBody .tk-cnt{font:400 11px/1.5 Inter,sans-serif;color:var(--muted);background:transparent;border:0;padding:0}
html[data-workspace="v2"] #tasks #tkBody .tk-colbody{padding:0 6px 8px!important;gap:7px!important}
html[data-workspace="v2"] #tasks #tkBody .task-board-compact{width:100%;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:5px!important;padding:10px!important;min-height:74px;text-align:left}
html[data-workspace="v2"] #tasks #tkBody .tk-c-title{font:600 12px/1.45 Inter,sans-serif!important;display:block!important;max-height:none!important;white-space:normal!important}
html[data-workspace="v2"] #tasks #tkBody .task-board-meta{margin-top:9px!important;gap:8px!important}
html[data-workspace="v2"][data-review-tasks="2"] #tasks #tkBody .tk-board{min-height:0;gap:12px!important}
html[data-workspace="v2"][data-review-tasks="2"] #tasks #tkBody .tk-col{width:100%;min-width:0!important;flex:none;grid-template-columns:150px minmax(0,1fr)!important}
html[data-workspace="v2"][data-review-tasks="2"] #tasks #tkBody .tk-colbody{padding:8px!important}
html[data-workspace="v2"][data-review-tasks="3"] #tasks #tkBody .task-board-compact{min-height:58px;padding:8px!important}
html[data-workspace="v2"][data-review-tasks="3"] #tasks #tkBody .tk-col{flex-basis:190px;min-width:190px!important;width:190px}
/* Controls use one visible SVG arrow, including open dialogs. */
html[data-workspace="v2"] :is(.tc-context,#cbDialog,#pbFilterPanel,#tasks,.ws2-calendar,.ws2-listbar) select{appearance:none!important;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6' fill='none' stroke='%23738396' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")!important;background-repeat:no-repeat!important;background-position:right 12px center!important;background-size:14px 14px!important;padding-right:36px!important}
.tc-context select{font:400 13px/1.4 Inter,sans-serif!important;min-height:40px}
/* A calendar uses its width for the day agenda, with a compact month beside it. */
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d)[data-review-calendar] .ws2-calendar{grid-template-columns:minmax(400px,570px) minmax(0,1fr)!important;gap:18px!important;align-items:start!important}
html[data-workspace="v2"][data-review-calendar] .ws2-month-grid{gap:4px!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d)[data-review-calendar] .ws2-date{height:62px!important;min-height:62px!important;border-radius:5px!important}
html[data-workspace="v2"][data-review-calendar] .ws2-calendar>aside{padding:14px 18px!important;border-radius:7px!important}
html[data-workspace="v2"][data-review-calendar] .ws2-calendar .ws2-agenda-row{padding:10px 0!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d)[data-review-calendar="2"] .ws2-calendar{grid-template-columns:300px minmax(0,1fr)!important}
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d)[data-review-calendar="3"] .ws2-calendar{grid-template-columns:minmax(400px,660px) minmax(0,1fr)!important}
html[data-workspace="v2"][data-review-calendar="3"] .ws2-calendar>section{max-width:660px!important}
/* Independent white rows on a quiet grey surface. Toolbar never overlaps rows. */
html[data-workspace="v2"][data-review-details] #platformList{background:var(--panel2,#f2f4f7);padding:14px;border-radius:8px}
html[data-workspace="v2"][data-review-details] #platform .ws2-list-select{position:static!important;display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:0 0 12px;padding:4px 0;height:auto;min-height:36px;background:transparent}
html[data-workspace="v2"][data-review-details] #platform .ws2-deal-row{position:relative;background:var(--panel)!important;border:1px solid var(--line)!important;border-radius:8px!important;margin:0 0 12px!important;min-width:0}
html[data-workspace="v2"][data-review-details] #platform .ws2-row-main{min-width:0;overflow-wrap:anywhere}
.preview-photo{border:1px solid var(--line);border-radius:10px;background:var(--panel);padding:12px;max-width:900px;width:calc(100vw - 30px);max-height:90dvh}.preview-photo img{display:block;width:100%;max-height:78dvh;object-fit:contain}.preview-photo button{display:block;margin-left:auto;min-width:44px;min-height:44px;border:0;background:transparent;color:var(--ink);font-size:24px}.preview-photo::backdrop{background:#10182099}
@media(max-width:700px){
 html[data-workspace="v2"] #tasks #tkBody .tk-board{min-height:0;display:flex!important;flex-direction:row!important;overflow-x:auto!important;padding-bottom:14px!important;scroll-snap-type:x proximity}
 html[data-workspace="v2"] #tasks #tkBody .tk-col{flex:0 0 270px!important;min-width:270px!important;width:270px!important;min-height:360px;scroll-snap-align:start}
 html[data-workspace="v2"][data-review-tasks="2"] #tasks #tkBody .tk-board{flex-direction:column!important}
 html[data-workspace="v2"][data-review-tasks="2"] #tasks #tkBody .tk-col{width:100%!important;min-width:0!important;min-height:0;flex:none!important;grid-template-columns:1fr!important}
 html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d)[data-review-calendar] .ws2-calendar{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}
 html[data-workspace="v2"][data-review-details] #platformList{padding:8px}
 .tc-context select{min-height:44px;font-size:16px!important}
}

html[data-theme="light"][data-workspace="v2"][data-review-details] #platformList{background:#f1f3f6}
.ws2-month-nav button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.7;display:block;margin:auto}

/* Reference 67b: controls share the blue token; stage colors retain their meaning. */
html[data-workspace="v2"] #pbFilterPanel .pb-filter-control,html[data-workspace="v2"] #cbDialog .pb-filter-control{min-height:44px!important;height:auto;border:1px solid transparent!important;border-radius:8px!important;padding:10px 12px!important;background:var(--panel2)!important;font:400 12px/1.5 Inter,sans-serif!important;gap:10px!important}
html[data-workspace="v2"] #pbFilterPanel .pb-filter-multi[open]>summary{border-color:var(--gold-fill)!important;background:color-mix(in srgb,var(--gold-fill) 7%,var(--panel))!important}
html[data-workspace="v2"] #pbFilterPanel .pb-filter-select select,html[data-workspace="v2"] #cbDialog .pb-filter-select select{min-height:22px!important;height:22px!important;padding:0 28px 0 0!important;background-color:transparent!important;background-position:right 0 center!important;border:0!important;border-radius:0!important;font-size:12px!important;box-shadow:none!important}
html[data-workspace="v2"] #pbFilterPanel .pb-filter-range{min-height:44px!important}
html[data-workspace="v2"] #pbFilterPanel .pb-filter-range input{min-height:28px!important;height:28px!important}
html[data-workspace="v2"] #pbFilterPanel .pb-filter-options{max-height:min(248px,40dvh);overscroll-behavior:contain}
html[data-workspace="v2"] #pbFilterPanel .pb-filter-options label{font-size:12px;min-height:36px}
html[data-workspace="v2"] #pbFilterPanel .pb-filter-multi>summary>.pb-icon:last-child{width:14px;height:14px;flex:none;margin-left:auto}
html[data-workspace="v2"] #platformBoard .col-head .stage-title{overflow-wrap:anywhere;white-space:normal}
html[data-workspace="v2"] #pbSettingsNav{margin:0 0 14px;width:100%;box-sizing:border-box;flex-wrap:wrap}
html[data-workspace="v2"] #ws2ListTools{margin-left:auto;position:relative}
html[data-workspace="v2"] #ws2ListTools summary{min-height:36px;padding:7px 12px;font:500 12px/1.5 Inter,sans-serif;gap:8px;white-space:nowrap}
html[data-workspace="v2"] #ws2ListTools summary:after{display:none}
html[data-workspace="v2"] #ws2ListTools summary svg{width:14px;height:14px;flex:none}
html[data-workspace="v2"] body:not(.pl-list-mode) #ws2ListTools{display:none}
.ws2-list-tools-pop{position:absolute;right:0;top:calc(100% + 6px);z-index:30;width:270px;max-width:calc(100vw - 32px);background:var(--panel);padding:14px;border:1px solid var(--line);border-radius:8px;box-shadow:var(--sh-pop)}
.ws2-list-tools-pop>label{display:grid;gap:8px;font-size:12px}.ws2-list-tools-pop .ws2-list-density{display:grid;gap:8px;margin-top:12px}.ws2-list-tools-pop select{width:100%}
html[data-workspace="v2"][data-review-details] #platform .ws2-list-controls{display:flex;align-items:center;min-height:32px;margin:0 0 4px}
html[data-workspace="v2"] #myobjects .dz3o-grid{background:var(--panel2);padding:12px;border-radius:8px}
html[data-workspace="v2"] #myobjects .ref-object-card{background:var(--panel)!important;border:1px solid var(--line)!important}
html[data-workspace="v2"] :is(.ref-object-card,.ws2-deal-row){transition:border-color 140ms ease-out}
@media(hover:hover){html[data-workspace="v2"] :is(.ref-object-card,.ws2-deal-row):hover{border-color:var(--gold-fill)!important}html[data-workspace="v2"] .dz3o-photo:hover{outline:2px solid var(--gold-fill);outline-offset:-2px}}
html[data-workspace="v2"] :is(.ref-object-card,.ws2-deal-row):focus-within{border-color:var(--gold-fill)!important}
html[data-workspace="v2"] .ws2-calendar .ws2-date{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:6px!important;padding:4px!important}
html[data-workspace="v2"] .ws2-calendar .ws2-date-dots{position:static!important;align-items:center;justify-content:center;margin:0!important;min-height:5px;transform:none!important}
html[data-workspace="v2"] .ws2-calendar .ws2-event-icon{width:20px;min-width:20px;height:20px;display:flex;align-items:center;justify-content:center;align-self:flex-start;margin-top:2px}
html[data-workspace="v2"] .ws2-calendar .ws2-agenda-row time{display:block!important;width:auto!important;margin:0 0 3px!important}
.ch-photo{display:block;padding:0;margin:10px 0 2px;background:transparent;border:0;border-radius:6px;overflow:hidden;cursor:zoom-in;max-width:100%}.ch-photo img{display:block;width:240px;max-width:100%;height:160px;object-fit:cover}.ch-photo:focus-visible{outline:2px solid var(--gold-fill);outline-offset:3px}
.ch-photo-dialog{position:fixed;inset:0;margin:auto!important;height:fit-content;background:var(--panel);color:var(--ink);border:1px solid var(--line);border-radius:10px;padding:12px;width:min(900px,calc(100vw - 24px));max-height:90dvh}.ch-photo-dialog>button{display:block;margin:0 0 10px auto;min-height:44px}.ch-photo-dialog img{display:block;max-width:100%;max-height:75dvh;margin:auto;object-fit:contain}.ch-photo-dialog::backdrop{background:#10182099}
@media(max-width:900px){html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d)[data-review-calendar] .ws2-calendar{grid-template-columns:minmax(0,1fr)!important}html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d)[data-review-calendar] .ws2-date{height:48px!important;min-height:48px!important}}
@media(max-width:700px){html[data-workspace="v2"] #pbFilterPanel .pb-filter-control{min-height:48px!important}html[data-workspace="v2"] #pbFilterPanel .pb-filter-select select{font-size:16px!important;min-height:28px!important;height:28px!important}html[data-workspace="v2"] #pbFilterPanel .pb-filter-options label{min-height:44px;font-size:14px}html[data-workspace="v2"] #ws2ListTools summary{min-height:44px}html[data-workspace="v2"] #myobjects .dz3o-grid{padding:8px}html[data-workspace="v2"] #pbFilterPanel footer{flex-wrap:wrap}html[data-workspace="v2"] #pbFilterPanel footer .primary{width:100%;margin-left:0}}
@media(prefers-reduced-motion:reduce){html[data-workspace="v2"] :is(.ref-object-card,.ws2-deal-row){transition:none}}

/* Composite filter fields own their select interior; the label is the full hit area. */
html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) :is(#pbFilterPanel,#cbDialog) .pb-filter-select select{background-color:transparent!important;border:0!important;box-shadow:none!important;height:22px!important;min-height:22px!important;padding:0 28px 0 0!important;border-radius:0!important;background-position:right 0 center!important;font:400 12px/22px Inter,sans-serif!important}
@media(max-width:700px){html[data-workspace="v2"]:not(#ws2a):not(#ws2b):not(#ws2c):not(#ws2d) :is(#pbFilterPanel,#cbDialog) .pb-filter-select select{height:28px!important;min-height:28px!important;font-size:16px!important;line-height:28px!important}}

/* Review 861: same trigger for ranges and multiple choice, details on demand. */
html[data-workspace="v2"] #pbFilterPanel .pb-range{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px;min-width:240px;max-width:calc(100vw - 40px)}
html[data-workspace="v2"] #pbFilterPanel .pb-range label{display:grid;gap:6px;min-width:0;padding:0;background:transparent}
html[data-workspace="v2"] #pbFilterPanel .pb-range input{width:100%;min-width:0;min-height:36px!important;height:36px!important;padding:6px}
.dp-source-badge{display:inline-flex;align-self:flex-start;width:fit-content;max-width:100%;margin:4px 0;font:500 11px/1.5 Inter,sans-serif;color:var(--gold-fill);background:color-mix(in srgb,var(--gold-fill) 8%,var(--panel));border-radius:4px;padding:2px 6px;white-space:nowrap;overflow:hidden}
@media(max-width:700px){html[data-workspace="v2"] #pbFilterPanel .pb-range input{min-height:44px!important;height:44px!important;font-size:16px}}
