/* Deedline app composition on Owen's v2 system. Only layout lives here: every control and pattern is the design
   system's (public/ds). Classes are hub- prefixed so they never collide with his dl- and scr- classes. Breakpoints from
   his layout guide (docs/ds-v2/guide/04-layout-and-foundations.md): 360 one column, 768 two-column bento, 1280 side nav. */

/* Professionals: his scr-p-app frame (side nav + a column of app bar and main) from ScreenProgressorDashboard. */
.hub-titlerow{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}
/* His scr-p-app fixes the nav column at 248px, so a collapsed SideNav kept its full width; the column follows the rail (76px, 64px compact). */
.scr-p-app:has(>.dl-sidenav[data-collapsed]){grid-template-columns:76px minmax(0,1fr)}
.scr-p-app[data-density="compact"]:has(>.dl-sidenav[data-collapsed]){grid-template-columns:64px minmax(0,1fr)}
/* Owen's UAT brief (24 Oct 2026), item 4: his scr-p-app lets the nav grow with the page, so the account at its foot only appeared after scrolling to the end. The nav keeps to the screen and scrolls inside when open. */
.scr-p-app>.dl-sidenav{position:sticky;top:0;height:100dvh;min-height:0;align-self:start;padding-top:env(safe-area-inset-top,0px)}
.scr-p-app>.dl-sidenav:not([data-collapsed]) .dl-sidenav__scroll{overflow-y:auto}
/* Item 3: his app bar sticks below the safe area, so on a phone with a Dynamic Island the page showed through the strip above it. It starts at the very top and pads for the island. */
.dl-appbar{top:0;padding-top:env(safe-area-inset-top,0px)}
/* Item 2: his segmented items never wrap, so the review filter pushed the page wider than the phone. It scrolls inside the page width instead. */
.scr-p-actions{min-width:0;max-width:100%}
.scr-p-actions>.dl-segmented{flex:0 1 auto;min-width:0;max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none}
.scr-p-actions>.dl-segmented::-webkit-scrollbar{display:none}
/* Founder's screenshot: his ChainView lets a card's pill wrap but his ChainLinkCard did not, so "Delayed: holding up the chain" ran out of its card. */
.dl-chain-card .dl-status{white-space:normal;align-self:flex-start;margin-top:2px}
.hub-meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 16px;margin:0}
.hub-split{display:grid;grid-template-columns:minmax(0,1fr) 288px;gap:20px;align-items:start}
.hub-sales td[data-col="risk"]{min-width:140px;max-width:160px}
.hub-sales td[data-col="next"]{min-width:150px}
@media (max-width:1023px){.hub-split{grid-template-columns:minmax(0,1fr)}}
@media (max-width:1100px){
  .scr-p-grid>[class*="scr-p-s"]{grid-column:span 6}
  /* Item 1: his SideNav is desktop-only. Under 1100px his frame pins the column at 76px and hides the labels whatever the toggle does, so a tap changed nothing. The open nav now sits over the page as a drawer, labels back, and the same toggle closes it. */
  .scr-p-app>.dl-sidenav:not([data-collapsed]){position:fixed;left:0;bottom:0;width:var(--sidenav-w);z-index:120;box-shadow:0 16px 48px rgba(18,19,22,.18)}
  .scr-p-app>.dl-sidenav:not([data-collapsed]) .dl-appbar__word,.scr-p-app>.dl-sidenav:not([data-collapsed]) .dl-sidenav__label,.scr-p-app>.dl-sidenav:not([data-collapsed]) .dl-sidenav__heading{display:block}
  .scr-p-app>.dl-sidenav:not([data-collapsed]) .dl-sidenav__badge{display:inline}
  .scr-p-app>.dl-sidenav:not([data-collapsed]) .dl-account__who{display:flex}
}
@media (max-width:767px){
  .scr-p-grid>[class*="scr-p-s"]{grid-column:span 12}
  .scr-p-grid>.dl-stat{min-height:0}
  .scr-p-title{font-size:34px;line-height:36px;letter-spacing:-0.04em}
  .scr-p-main{padding:20px 16px 40px}
  .scr-p-col>.dl-appbar .dl-appbar__inner{padding-left:16px;padding-right:12px}
}

/* Home movers: one column on the phone (his mover column, 520px max, centred from 768), the desktop composition from 1280 (§4.1, §4.2). */
.hub-mover{min-height:100vh;display:flex;flex-direction:column;background:var(--surface-canvas);color:var(--text)}
.hub-mover-body{flex:1;display:flex;flex-direction:column;gap:24px;padding:8px 20px 24px}
.hub-mover-body--nav{padding-bottom:calc(104px + env(safe-area-inset-bottom,0px))}
.hub-mover-desknav,.hub-mover-rail{display:none}
.hub-mover-page{display:grid;grid-template-columns:minmax(0,1fr);gap:24px}
.hub-mover-page>*{min-width:0}
.hub-mover .dl-appbar__spacer{flex:1}
.hub-lead{display:flex;flex-direction:column;gap:8px}
.hub-lead>*{margin:0}
.hub-col{display:flex;flex-direction:column;gap:16px}
.hub-col--20{gap:20px}
@media (min-width:768px) and (max-width:1279px){.hub-mover-page,.hub-mover-safety{max-width:var(--mover-max);margin-inline:auto;width:100%}}
@media (min-width:1280px){
  .hub-mover .dl-bottomnav,.hub-mover .dl-fab,.hub-mover .hub-mover-menu{display:none}
  .hub-mover .dl-appbar__inner{max-width:var(--page-max);margin:0 auto;min-height:72px;padding:8px 40px;gap:8px 32px}
  .hub-mover-desknav{display:block;flex:1 1 auto;min-width:0}
  .hub-mover-desknav ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px}
  .hub-mover-desknav a{display:inline-flex;align-items:center;min-height:44px;padding:0 14px;border-radius:var(--radius-full);color:var(--text-secondary);font:600 16px/22px var(--font-sans);letter-spacing:-0.01em;text-decoration:none}
  .hub-mover-desknav a:hover{background:var(--surface);color:var(--text)}
  .hub-mover-desknav a[aria-current="page"]{background:var(--surface);color:var(--text);position:relative}
  .hub-mover-desknav a[aria-current="page"]::after{content:"";position:absolute;left:50%;bottom:4px;width:6px;height:6px;margin-left:-3px;border-radius:50%;background:var(--lead)}
  .hub-mover-body{padding:0;gap:32px}
  .hub-mover-page{max-width:var(--page-max);margin:0 auto;width:100%;padding:32px 40px 0;grid-template-columns:minmax(0,1fr) 380px;gap:32px}
  .hub-mover-rail{display:block}
  .hub-mover-safety{max-width:var(--page-max);margin:0 auto;width:100%;padding:0 40px 64px}
}

/* MOV-01 Your move (src/ui/mover/yourMove.ts): one markup, two compositions. On the phone the wrappers dissolve
   (display: contents) and the sections take his ScreenYourMove order; from 1280 they take his desktop places. */
.hub-ym .hub-area-main,.hub-ym .hub-area-rail{display:contents}
.hub-ym .hub-desk-only{display:none}
/* UAT UI-6: his FAB hides from 768px and the desktop composition starts at 1280, so the next-step card's Ask button shows from 768 to keep one way in at every width. */
.hub-ym .hub-tablet-up{display:none}
@media (min-width:768px){.hub-ym .dl-btn.hub-tablet-up{display:inline-flex}}
.hub-ym .hub-area-lead{order:1}.hub-ym .hub-area-notices{order:2}.hub-ym .hub-o-next{order:3}.hub-ym .hub-o-assistant{order:4}.hub-ym .hub-o-todo{order:5}.hub-ym .hub-o-glance{order:6}.hub-ym .hub-o-team{order:7}.hub-ym .hub-o-est{order:8}.hub-ym .hub-o-details{order:9}.hub-ym .hub-o-settings{order:10}
.hub-mover-avatar{margin-right:4px}
.hub-ym .hub-area-notices{display:flex;flex-direction:column;gap:var(--space-3)}
.hub-ym .hub-area-note{display:flex;flex-wrap:wrap;align-items:center;gap:12px 32px}
.hub-ym .scr-m-sec__head .dl-link{white-space:nowrap}
.hub-ym .scr-m-next__actions{flex-wrap:wrap}
.hub-ym .scr-m-next__actions:empty{display:none}
.hub-ym .scr-m-next__actions .dl-btn--lead{white-space:normal;height:auto;min-height:48px;padding-block:var(--space-2);text-align:center}
.hub-ym .hub-rail-card{background:var(--surface);border-radius:var(--radius-lg);padding:var(--card-pad)}
@media (min-width:1280px){
  .hub-mover-page.hub-ym{grid-template-columns:minmax(0,1fr) 380px;grid-template-areas:"lead lead" "notices notices" "main rail" "chain chain";align-items:start;gap:24px 32px}
  .hub-ym .hub-area-lead{grid-area:lead;display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:24px 32px;align-items:start}
  .hub-ym .hub-area-main>*,.hub-ym .hub-area-rail>*{order:0}
  .hub-ym .hub-area-lead .hub-lead-text{min-width:0;display:flex;flex-direction:column;gap:8px}
  .hub-ym .hub-area-note{grid-column:1 / -1}
  .hub-ym .hub-area-notices{grid-area:notices}
  .hub-ym .hub-area-main{grid-area:main;display:flex;flex-direction:column;gap:24px}
  .hub-ym .hub-area-rail{grid-area:rail;display:flex;flex-direction:column;gap:24px}
  .hub-ym .hub-area-chain{grid-area:chain}
  .hub-ym .hub-phone-only{display:none}
  .hub-ym .hub-desk-only{display:flex}
  .hub-ym .dl-btn.hub-desk-only{display:inline-flex}
  .hub-ym .hub-o-settings{display:flex;flex-direction:column;gap:12px}
}

/* MOV-10/11 Tasks (src/ui/mover/tasks.ts): one screen at a time on the phone; list left, task right from 1280. */
.hub-tasks{display:flex;flex-direction:column;gap:24px;min-width:0}
.hub-tasks-list{display:flex;flex-direction:column;gap:24px;min-width:0}
.hub-tasks-list--behind{display:none}
.hub-tasks-pane{display:flex;flex-direction:column;gap:24px;min-width:0}
.hub-tasks-pane--implicit{display:none}
.hub-tasks-card{background:transparent;padding:0;box-shadow:none}
.hub-mover-back{margin-left:-8px}
.hub-nojs{display:none}
html:not(.js) .hub-nojs{display:inline-flex}
.hub-pick{display:flex;gap:8px;align-items:center}
.hub-pick .dl-btn{flex:1;justify-content:center}
.hub-mover .hub-desk-only{display:none}
@media (min-width:1280px){
  .hub-mover-page.hub-ym--wide{grid-template-columns:minmax(0,1fr)}
  .hub-tasks{flex-direction:row;flex-wrap:wrap;align-items:flex-start}
  .hub-tasks-list{flex:1 1 380px;max-width:100%}
  .hub-tasks-list--behind{display:flex}
  .hub-tasks-pane,.hub-tasks-pane--implicit{display:flex;flex:999 1 560px;position:sticky;top:24px}
  .hub-tasks-card{background:var(--surface);padding:var(--space-6);border-radius:var(--radius-lg)}
  .hub-task--current{box-shadow:inset 0 0 0 2px var(--border-selected);background:var(--surface-selected)}
  .hub-tasks-strip{display:none}
  .hub-mover-back{display:none}
  .hub-tasks .hub-phone-only{display:none}
  .hub-mover .hub-desk-only{display:inline-flex}
}

/* MOV-12 Moving checklist: one column on the phone, the three groups side by side from 1280. */
.hub-checklist{display:flex;flex-direction:column;gap:24px}
.hub-tick{display:flex;align-items:center;gap:8px}
.hub-tick .dl-check{flex:1}
@media (min-width:1280px){.hub-checklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:start}}

/* SYS-06 legal pages: the contents list down the side from 768. MOV-48: without script every step reads in order. */
.hub-legal{display:flex;flex-direction:column;gap:24px}
.hub-legal-body{display:flex;flex-direction:column;gap:16px;min-width:0}
.hub-legal-nav--current .dl-link{font-weight:600}
/* POL-6: the menu has no icons, so its dividers run the full width (the design system insets them for an icon column). */
.hub-legal-nav .dl-list__item + .dl-list__item::before{left:0;right:0}
@media (min-width:768px){.hub-legal{display:grid;grid-template-columns:220px minmax(0,1fr);gap:32px;align-items:start}}
html:not(.js) .dl-report__step[hidden]{display:block}
html:not(.js) .hub-js-only{display:none}

/* ACC-02: the resend line reads as one sentence; the countdown sits under it. */
.hub-inline-form{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px}
.hub-inline-form .dl-btn--link{padding:0}
/* UAT A11Y-8: his link-styled button has min-height auto (a 20px line box); the accessibility guide's floor is 24px for every target. */
.dl-btn--link{min-height:24px}
.dl-otp__resend [data-otp-countdown]{display:block;margin-top:4px}

/* CheckInPage: the bar spans the screen and the column centres on wide screens (his README); the legal pages are the one place long text is expected. */
.dl-checkin{max-width:none}
/* ONB-05: the question group inside a mover form borrows the check-in type styles, not the check-in page shell (its full-height canvas pushed the rest of the form below the footer on a phone). */
fieldset.dl-checkin{min-height:0;background:none}
.dl-checkin__main:has(.hub-legal){max-width:960px}

.hub-thread{display:flex;flex-direction:column;gap:20px}
.hub-ms-details{font-size:14px;line-height:20px;margin-top:2px;align-self:flex-start}
.hub-stage{display:flex;flex-direction:column;gap:24px;max-width:720px}
.hub-doc-group{display:flex;flex-direction:column;gap:12px}
.hub-doc{display:flex;flex-direction:column;gap:20px}
.hub-doc-meta{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:16px;margin:0}
.hub-doc-meta dd{margin:0}
.dl-doc[hidden]{display:none}
.hub-thread .dl-msg-thread{flex:1}

/* UAT Report a problem panel (src/ui/pro/uat.ts; UI-4, UI-5, UI-7, L-12). Fixed bottom-left, clear of every fixed control: right of the
   staff side nav column (248px from 1100, the 76px rail below or when collapsed), above the mover bottom nav wherever it shows (under 1280),
   and narrower on the phone so the Ask FAB keeps its corner. The page pads for the panel, more while it is open, so no content stays behind it. */
.uat-report{position:fixed;left:16px;bottom:16px;z-index:40;width:min(360px,calc(100vw - 32px));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg,0 8px 24px rgba(0,0,0,.12))}
[data-skin="staff"] .uat-report{left:92px}
/* POL-3: on a phone the staff rail takes 76px, so the box is narrower there instead of running off the right edge. */
@media (max-width:1099px){[data-skin="staff"] .uat-report{width:min(360px,calc(100vw - 108px))}}
@media (min-width:1100px){[data-skin="staff"] .uat-report{left:264px}}
body:has(.dl-sidenav[data-collapsed]) .uat-report{left:92px}
@media (max-width:1279px){[data-skin="mover"] .uat-report{bottom:calc(88px + env(safe-area-inset-bottom,0px))}}
/* POL-3: beside the Ask button on a phone, not under it. */
@media (max-width:599px){[data-skin="mover"] .uat-report:not(:has([open])){width:calc(100vw - 150px)}}
@media (max-width:767px){[data-skin="mover"] .uat-report{width:min(360px,calc(100vw - 112px))}}
body:has(.uat-report) .scr-p-main{padding-bottom:120px}
body:has(.uat-report details[open]) .scr-p-main{padding-bottom:480px}
body:has(.uat-report) .hub-mover-body--nav{padding-bottom:calc(184px + env(safe-area-inset-bottom,0px))}
body:has(.uat-report details[open]) .hub-mover-body--nav{padding-bottom:calc(540px + env(safe-area-inset-bottom,0px))}
@media (min-width:1280px){body:has(.uat-report) .hub-mover-safety{padding-bottom:112px}body:has(.uat-report details[open]) .hub-mover-safety{padding-bottom:480px}}

/* UAT UI-16: under 768px his bar hides the search field behind an icon; the icon (staff.js) opens it as a full row under the bar's controls. */
@media (max-width:767px){.dl-appbar.hub-search-open .dl-appbar__inner{flex-wrap:wrap}.dl-appbar.hub-search-open .dl-appbar__search{display:block;order:3;flex:1 1 100%;max-width:none;margin:8px 0 0}}
/* UAT L-17: on a 375px phone the next step's "by 8 Nov 2026" ran into the tip control beside it. */
.hub-ym .scr-m-next__meta>.dl-why{margin-left:8px;vertical-align:middle}
/* UAT UI-22: the composition that sat inline on Your move, the sale record's parties and the samples page (DESIGN-SYSTEM.md: composition lives here). */
.hub-grow{flex:1 1 auto}
.hub-noflex{flex:none}
.hub-m0{margin:0}
.hub-mt12{margin-top:12px}
.hub-between{justify-content:space-between}
.hub-self-center{align-self:center}
.hub-row-between{display:flex;justify-content:space-between;align-items:center;gap:12px}
.hub-row-top{display:flex;align-items:flex-start;gap:8px}
.hub-together{display:flex;gap:8px;align-items:center;padding:8px 8px 8px 16px}
.hub-together>.dl-icon{flex:none}
.hub-together>p{margin:0;flex:1}
.hub-lane-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 24px}
.hub-lane-text{flex:1 1 320px;min-width:0}
.hub-lane-text>.dl-overline{margin:0 0 2px}
.hub-lane-text>.dl-secondary{margin:4px 0 0}
.hub-party{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}
.hub-party>.dl-person{flex:1 1 260px}
.hub-party>.dl-cluster{align-items:center}
.hub-parties{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:16px}
.hub-pre{white-space:pre-wrap;font:inherit;padding:var(--space-3);background:var(--surface-sunken);border:1px solid var(--border);border-radius:var(--radius-md)}
/* UAT UI-22, the rest: the 17 other page files (adm, chaser, conveyancer, mover, pro). The email frame keeps inline styles: email clients. */
.hub-row-4{display:flex;align-items:center;gap:4px}
.hub-row-4--inline{display:inline-flex}
.hub-row-4--wrap{flex-wrap:wrap}
.hub-row-8{display:flex;align-items:center;gap:8px}
.hub-row-12{display:flex;align-items:center;gap:12px}
.hub-col--8{gap:8px}
.dl-dlist dd.hub-col--8{gap:8px}
.hub-col--12{gap:12px}
.hub-col--24{gap:24px}
.hub-mt2{margin:2px 0 0}
.hub-mt4{margin:4px 0 0}
.hub-lead>.hub-mt4{margin:4px 0 0}
.hub-mt8{margin-top:8px}
.hub-lead>.hub-mt8{margin-top:8px}
.hub-mb4{margin:0 0 4px}
.hub-mb8{margin:0 0 8px}
.hub-mb12{margin:0 0 12px}
.hub-fill{flex:1}
.hub-self-start{align-self:flex-start}
.hub-gap8{gap:8px}
.hub-task-row{grid-template-columns:minmax(0,1fr) auto;align-items:center}
.hub-task-body{max-width:560px}
.hub-decimal{list-style:decimal}
.hub-prewrap{white-space:pre-wrap}
/* ONB-09: a long link or address in an email body wraps instead of widening the page on a phone; the grid cell that holds it may shrink. */
.hub-prewrap{overflow-wrap:anywhere;min-width:0}
.dl-grid-2>*{min-width:0}
.hub-prewrap--scroll{max-height:340px;overflow:auto}
.hub-demo-panel{position:fixed;right:16px;bottom:16px;z-index:40;width:min(360px,calc(100vw - 32px));background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-lg);box-shadow:var(--shadow-lg,0 8px 24px rgba(0,0,0,.12))}

@media (prefers-reduced-motion:reduce){.hub-pro *,.hub-mover *{transition:none!important;animation:none!important}}

/* Corrections to his v2 bundle, raised with Owen (22 Oct 2026). The review items are display: grid, which overrides the
   hidden attribute the queue filter sets; and the focus glow lands on both the search pill and the input inside it. */
.dl-rq__item[hidden],.dl-fraud[hidden]{display:none}
/* His table region sets overscroll-behavior: contain on both axes, so a wheel over a table that cannot scroll never reached the page. Keep sideways scroll inside; let vertical chain. */
.dl-table-scroll{overscroll-behavior-x:contain;overscroll-behavior-y:auto}
.dl-input-group>.dl-input:focus-visible{box-shadow:none!important;outline:none!important}

/* ONB-11 Milestone template: the first column is the step's name (not its code name) with room to be read; on a phone the other columns scroll sideways inside the table's own scroll region, as every table does. */
.hub-tpl td:first-child{min-width:340px}
.hub-tpl td:first-child .dl-input{width:100%}
.hub-tpl td:first-child .dl-meta-tag{display:inline-block;margin-top:6px}
@media (max-width:760px){.hub-tpl td:first-child{min-width:230px}}
/* ONB-28: the dashboard's In progress / Completed / All switch is links, marked aria-current; it shows its chosen state as the radio version does. */
a.dl-segmented__item[aria-current="page"]{background:var(--action-primary);color:var(--on-action-primary)}
/* ONB-24: the info button on the dark next-step card takes the card's own text colour. */
.scr-m-next .dl-why{color:var(--text-inverse)}
/* ONB-32: one very long word in an address or a name wraps instead of running off a phone. */
.hub-pro h1,.hub-pro .dl-h1,.hub-pro .scr-p-title,.hub-mover h1{overflow-wrap:anywhere}
/* ONB-17: the first-day list on an empty dashboard. */
.hub-firstday{margin:0;padding-left:1.25em}
.hub-firstday li{padding-left:4px}
/* POL-1: the sign that a wide table or tab strip scrolls sideways (staff.js adds it only when there is more to see). */
.hub-swipe-hint{margin:6px 4px 0;font-size:13px;line-height:18px;color:var(--text-muted);text-align:right}
.hub-swipe-hint::after{content:" \2192"}
.dl-tabs__list.hub-more-right{-webkit-mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent);mask-image:linear-gradient(to right,#000 calc(100% - 44px),transparent)}
/* POL-2: on a touch screen every control is at least 44px tall (40px inside a segmented control, which carries its own
   4px frame). The staff screens run the design system's compact density, sized for a mouse: 36px buttons and fields, 34px
   tabs, 28px date buttons, 28px sort headers. Hit areas grow; type sizes and the desktop layout are untouched. A text link
   or a glossary word in a line of text keeps its place: its padding reaches out without moving the line. */
@media (pointer:coarse){
[data-density="compact"] :is(.dl-btn,.dl-input,.dl-select,.dl-tabs__tab,.dl-account__trigger,.dl-table__sort){min-height:44px}
[data-density="compact"] .dl-btn{min-width:44px}
[data-density="compact"] .dl-segmented__item{min-height:40px}
[data-density="compact"] .dl-field-btn{width:40px;height:40px}
.dl-why,[data-density="compact"] .dl-why{min-height:40px;min-width:40px}
.dl-gloss{display:inline-block;padding-block:12px;margin-block:-12px}
a.dl-link,a.dl-card__link{padding-block:12px;margin-block:-12px}
.dl-breadcrumbs__link{display:inline-flex;align-items:center;min-height:44px}
.dl-appbar__brand{min-height:44px}
.dl-safety--compact .dl-safety__link{min-height:44px}
[data-density="compact"] .dl-chip{min-height:44px}
}
/* POL-4: a long email address in a review-queue alert wraps instead of pushing the page wider than a phone. */
.dl-rq__alert,.dl-rq__alert strong,.dl-rq__item strong,.dl-fraud__title,.dl-fraud__main p{overflow-wrap:anywhere;min-width:0}
/* POL-5: Your team: the people sit clear of the words above and the button below. */
.hub-team{display:flex;flex-direction:column;gap:24px}
/* ONB-31: a mover's conversation on the staff sale page, and the Messages tab's "N to answer" flag. */
.hub-conv{margin-bottom:24px}
.hub-conv__head{display:flex;flex-wrap:wrap;gap:8px 16px;align-items:flex-start;justify-content:space-between}
.hub-conv__head>div{flex:1;min-width:200px}
.hub-conv__after{margin:0 0 12px}
.dl-tabs__count.hub-tabs__flag{background:var(--action-primary);color:var(--on-action-primary)}
/* ONB-31: the review queue's pointer to an unanswered question. */
.hub-rq-questions{margin-bottom:24px}
.hub-rq-question{align-items:flex-start;flex-wrap:wrap}
.hub-rq-question .dl-quote{margin-top:8px}
/* ONB-30: the common tasks sit as a wrapping row of chips above the form. */
.hub-chips{display:flex;flex-wrap:wrap;gap:8px}
/* POL-7 (founder, 3 Dec 2026: "things look very tight"): a plain card on the staff side is a block with no gap of its
   own, so a title sat on its paragraph and a paragraph on its buttons, form or table (0px, measured on 32 cards across
   ten pages). Cards that already space themselves (a stack, a hub- layout, the sale card) are left alone. A tab panel's
   parts get the same treatment. */
.hub-pro .dl-card:not([class*="hub-"]):not(.dl-stack):not(.dl-sale-card)>*+*{margin-top:12px}
.hub-pro .dl-card:not([class*="hub-"]):not(.dl-stack):not(.dl-sale-card)>.dl-card__title+*{margin-top:8px}
.hub-pro .dl-tabs__panel>*+*{margin-top:16px}
/* POL-8: a stage's name carries a dotted underline; its status line sat on it. */
.dl-ms__text,[data-density="compact"] .dl-ms__text,[data-density="compact"] .dl-ms__step[aria-current="step"] .dl-ms__text{gap:4px}
.hub-pro .dl-legend{margin-bottom:8px}
/* POL-9: the sale card's tiles. Its full-width Risk tile stopped the auto-fit columns collapsing, so Next step and
   Estimate stayed as narrow as 100px with their words wrapped four lines deep. Two equal columns; one on a phone. */
.dl-sale-card__rows,[data-density="compact"] .dl-sale-card__rows{grid-template-columns:repeat(2,minmax(0,1fr))}
@media (max-width:520px){.dl-sale-card__rows,[data-density="compact"] .dl-sale-card__rows{grid-template-columns:minmax(0,1fr)}}
/* POL-10: a drop-down shows its arrow. The design system draws it from an icon inside the wrapper, which most of
   these pages never included, so a select looked like a text box. */
.dl-select-wrap:not(:has(>.dl-icon))::after{content:"";position:absolute;right:18px;top:50%;width:8px;height:8px;margin-top:-7px;border-right:2px solid var(--text-secondary);border-bottom:2px solid var(--text-secondary);transform:rotate(45deg);pointer-events:none}
[data-density="compact"] .dl-select-wrap:not(:has(>.dl-icon))::after{right:14px;width:7px;height:7px;margin-top:-6px}
/* POL-11: the tester's "Report a problem" is a small pill until it is opened, not a full-size accordion heading. */
[data-skin] .uat-report:not(:has([open])){width:auto;border-radius:999px}
.uat-report .dl-accordion__item{background:none}
.uat-report .dl-accordion__summary{min-height:40px;padding:6px 8px 6px 16px;gap:8px;font-family:var(--font-sans);font-size:14px;line-height:20px;letter-spacing:0;border-radius:999px}
.uat-report .dl-accordion__chev{width:28px;height:28px}
.uat-report .dl-accordion__panel{padding:4px 16px 16px;max-width:none}
/* POL-12: the account menu at the foot of the sidebar opens upward. The design system opens it below its button, which
   at the bottom of the screen put Sign out off the page. */
.dl-sidenav .dl-account .dl-action-menu{top:auto;bottom:calc(100% + 8px)}
/* On a phone the rail sits under the page content, so the open menu was hidden behind it: the rail comes forward while its menu is open. */
.scr-p-app>.dl-sidenav:has(.dl-account__trigger[aria-expanded="true"]){z-index:121}
/* POL-13: a dialog dims the whole page. The entrance animations on the page body and on a tab panel kept their last
   frame (fill-mode both), and that leftover transform made a fixed dialog inside them cover only its own column. */
.scr-p-main>*{animation-fill-mode:backwards}
.dl-tabs__panel:not([hidden]){animation-fill-mode:backwards}
