.workflow-badge{white-space:normal}.awaiting-client{background:#fcf0f0;color:var(--red)}.compliance-brief{margin-top:22px}.compliance-brief p{color:var(--muted);font-size:12px;margin:12px 0}.next-milestone{display:flex;justify-content:space-between;gap:15px;align-items:flex-start;font-size:12px;color:var(--navy)}.next-milestone p{margin:6px 0}.timing-badge{display:inline-block;white-space:nowrap;font-size:10px;font-weight:bold;border-radius:4px;padding:4px 8px;background:#edf2f6;color:var(--navy)}.timing-met{color:#187421;background:#edf7ed}.timing-late,.timing-overdue{color:var(--red);background:#fcf0f0}.timing-today{color:#866200;background:#fff4cf}.timing-unknown{color:#6c5a35;background:#f4f0e7}.compliance-brief .snapshot-caption{font-size:10px;margin-bottom:0}.compliance-brief .overdue-copy{color:var(--red)}.compliance-explanation{padding:20px 24px;background:#f8fafc;border-bottom:1px solid var(--line);font-size:12px;color:var(--navy)}.compliance-explanation p{margin-bottom:8px}.compliance-explanation small{color:var(--muted);font-size:10px;line-height:1.6;display:block;margin-top:13px}.compliance-table td{white-space:normal;min-width:150px;font-size:11px;vertical-align:top}.compliance-table td:first-child{min-width:270px}.milestone-note{display:block;font-size:10px;line-height:1.5;margin-top:7px}.scope-message{padding:24px;color:var(--navy)}.scope-message p{margin-top:8px;color:var(--muted);font-size:12px}.delivery-dates{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:23px;margin:22px 0 4px}.delivery-dates span{color:var(--muted);font-size:11px;display:block}.delivery-dates strong{font-size:12px;display:block;color:var(--navy);margin-top:5px}.workflow-timeline{padding:20px 25px;display:grid;grid-template-columns:1fr;gap:0}.workflow-step{position:relative;display:flex;gap:13px;align-items:flex-start;padding:11px 0;font-size:12px;color:var(--navy)}.workflow-step:before{content:'';position:absolute;top:35px;bottom:-8px;left:15px;width:1px;background:var(--line)}.workflow-step:last-child:before{display:none}.workflow-step .step{margin:0;flex-shrink:0}.workflow-step strong{display:block;padding-top:4px;font-size:12px}.workflow-step p{color:var(--muted);font-size:11px;margin-top:7px;line-height:1.6}.workflow-step.current strong{color:var(--orange)}.workflow-timeline.compact{grid-template-columns:1fr 1fr;padding:18px 23px;gap:5px 15px}.workflow-timeline.compact .workflow-step:before{display:none}.workflow-timeline.compact .workflow-step{font-size:10px;gap:8px;padding:7px 0}.workflow-timeline.compact strong{font-size:10px}.workflow-timeline.compact .step{width:26px;height:26px;font-size:10px}.workflow-extra{padding:10px 25px 25px}.workflow-extra h2{margin-top:21px}.workflow-note{font-size:12px;color:var(--muted);line-height:1.6;margin-top:15px}.workflow-branch{background:#fff7e6;border-left:3px solid var(--gold);padding:17px 22px;margin:0 23px 20px;font-size:12px;color:var(--navy)}.workflow-branch p{color:var(--muted);margin-top:7px}.resurvey-record{border:1px solid var(--line);padding:17px;margin-top:16px;font-size:12px;color:var(--navy);border-radius:5px}.resurvey-record p{margin-top:7px;color:var(--muted)}.resurvey-record small{display:block;font-size:10px;color:var(--muted);margin-top:9px}.report-version{border:1px solid var(--line);border-radius:5px;padding:20px;display:flex;justify-content:space-between;align-items:flex-start;gap:15px;flex-wrap:wrap;margin-bottom:16px}.report-version h3{font-size:14px;color:var(--navy)}.report-version p{width:100%;color:var(--muted);font-size:12px}.report-version .text-link{margin-top:0}.report-approval-dates{border-top:1px solid var(--line);padding-top:22px}.client-action{display:flex;justify-content:space-between;align-items:flex-start;gap:20px;padding:12px 0;border-bottom:1px solid #eadbd4}.client-action:last-of-type{border:0}.client-action .button{flex-shrink:0;font-size:9px;padding:8px 10px}.required-action-notice .workflow-note{font-size:10px}.action-deadline{font-size:11px;color:var(--navy);border-top:1px solid #eadbd4;margin-top:10px;padding-top:13px}.action-deadline .timing-badge{margin-left:7px}.workflow-board{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.workflow-board .pipeline-col>h2{font-size:12px}.workflow-board .pipeline-card{padding:18px 15px}.pipeline-deadline{border-top:1px solid var(--line);margin-top:13px;padding-top:12px}.pipeline-deadline p{font-size:10px;line-height:1.6;margin-top:6px}.stage-filter-label{font-size:12px;color:var(--muted)}.stage-filter-label select{padding:10px;border:1px solid var(--line);border-radius:4px;background:white;color:var(--navy);margin-left:8px;font-size:12px}.compliance-brief h2{font-size:14px}
@media(max-width:1100px){.workflow-board{grid-template-columns:1fr 1fr}.delivery-dates{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.workflow-board{grid-template-columns:1fr}.client-action{flex-direction:column;gap:12px}.delivery-dates{grid-template-columns:1fr 1fr;gap:20px 15px}.delivery-dates strong{font-size:11px}.next-milestone{flex-direction:column;gap:7px}.workflow-timeline.compact{grid-template-columns:1fr}.report-version{padding:16px}.stage-filter-label{width:100%;display:flex;align-items:center}.stage-filter-label select{flex:1;min-width:0}.compliance-explanation{padding:18px}.action-deadline strong{display:block;margin:7px 0}.action-deadline .timing-badge{margin-left:0}}
.job-timing-line{display:flex;gap:7px;align-items:center;font-size:10px;color:var(--muted);margin-top:9px;white-space:normal;max-width:330px}.job-timing-line .timing-badge{font-size:9px;flex-shrink:0}.workflow-board .pipeline-deadline .timing-badge{white-space:normal}.compliance-brief .panel-head{flex-wrap:wrap;gap:10px}.detail-grid>.panel{min-width:0}
.workflow-board{grid-template-columns:repeat(5,minmax(0,1fr))}
.workflow-board .pipeline-col>h2{min-height:36px;line-height:1.5}
.request-form-footer button[value="draft"]{order:1}.request-form-footer button[value="submit"]{order:2}
.request-details{margin-bottom:22px}.request-description{white-space:pre-wrap;font-size:12px;color:var(--muted);margin-top:10px}.request-details h3{font-size:13px;margin-top:20px;color:var(--navy)}.request-details .workflow-note:first-child{margin-top:0}.request-details small{font-size:9px}.request-result-actions{display:flex;justify-content:center;gap:12px;flex-wrap:wrap;margin-top:23px}.request-form-error{font-size:12px;color:var(--red);margin-top:15px}.job-request-form .request-form-footer{flex-wrap:wrap;justify-content:flex-end}.job-request-form .request-form-footer>span{flex:1 0 100%}
@media(max-width:1100px){.workflow-board{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.workflow-board{grid-template-columns:1fr}}
.daily-phase-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;margin-top:18px}.daily-phase h4{font-size:11px;color:var(--navy);margin:0 0 10px}.daily-phase .day-media{gap:6px}.daily-phase .day-media button{width:50%}.daily-phase>p{font-size:10px}.daily-phase-grid .play{width:22px;height:22px}.daily-phase-grid .play .icon{width:12px;height:12px}.report-price{border:1px solid var(--line);background:#fafbfd;border-radius:5px;padding:17px;display:flex;justify-content:space-between;gap:20px;margin-top:18px;color:var(--navy);font-size:13px}.report-price strong{font-size:18px}.report-response-buttons{display:flex;gap:12px;justify-content:flex-end;border-top:1px solid var(--line);padding-top:20px;margin-top:23px;flex-wrap:wrap}.response-history{border-top:1px solid var(--line);padding-top:20px;margin-top:24px}.response-history p{font-size:12px;margin-top:15px;color:var(--navy)}.response-history span,.response-history small{display:block;font-size:10px;color:var(--muted);margin-top:5px}.amendment-label{font-size:12px;color:var(--navy);font-weight:bold}.amendment-label textarea{display:block;padding:13px;border:1px solid var(--line);border-radius:5px;width:100%;margin-top:12px;font:13px var(--body);resize:vertical}.asbestos-offer .button{margin-top:15px}
@media(max-width:650px){.daily-phase-grid{grid-template-columns:1fr}.daily-phase .day-media button{max-width:120px}.report-price{flex-direction:column;gap:8px}.report-response-buttons .button{width:100%}}

.workflow-badge.on-hold{display:inline-flex;align-items:center;gap:7px;background:#fbefef;color:#a52a30}
.workflow-badge.on-hold::before{content:"";flex:none;width:8px;height:8px;border-radius:50%;background:var(--red,#c94343)}
@media(prefers-reduced-motion:no-preference){
 .workflow-badge.on-hold::before{animation:hold-badge-pulse 2s ease-out infinite}
 @keyframes hold-badge-pulse{0%{box-shadow:0 0 0 0 #c943435c}75%,100%{box-shadow:0 0 0 5px #c9434300}}
}

.job-contact-record{border-top:1px solid var(--line);padding:20px clamp(16px,3vw,24px)}
.job-contact-record h2{margin:0 0 12px}
.contact-record-text{white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink);font-size:13px;line-height:1.65}

.property-filters{display:grid;gap:12px;margin:0 0 20px}
.property-search-row{display:flex;align-items:center;justify-content:space-between;gap:12px}
.property-search-row .search-wrap{min-width:0;width:min(100%,400px)}
.property-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.property-filter-tile{display:grid;align-content:center;gap:4px;background:white;border:1px solid var(--line);border-radius:8px;padding:9px 12px;min-width:0}
.property-filter-tile:focus-within{border-color:var(--organisation-colour);outline:1px solid var(--organisation-colour)}
.property-filter-tile>span{font-size:11px;color:var(--muted)}
.property-filter-tile select,.property-filter-tile input{width:100%;min-width:0;border:0;background:transparent;line-height:1.5;font-family:inherit;font-weight:600;font-size:13px;color:var(--navy);padding:1px 0;outline:none}
.property-filter-tile:has(select option:checked:not([value=""])):not(:has([data-property-filter="dateField"])),.property-filter-tile:has(input:not([value=""])){border-color:var(--organisation-colour)}
@supports(appearance:base-select){.property-filter-tile select,.property-filter-tile select::picker(select){appearance:base-select}.property-filter-tile select::picker(select){background:white;color:var(--navy);border:1px solid var(--line);border-radius:8px;padding:5px;max-height:320px;box-shadow:0 5px 18px #152b4018}.property-filter-tile option{padding:8px;border-radius:5px}.property-filter-tile option:checked{background:#e5f1eb}}
@media(max-width:850px){.property-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:420px){.property-filter-grid{grid-template-columns:minmax(0,1fr)}}

.request-step-info{display:flex;align-items:center;gap:14px;margin-bottom:20px;font-size:12px;font-weight:600;color:var(--muted)}
.request-step-info progress{flex:1;height:6px;accent-color:var(--organisation-colour)}
.job-request-form [hidden]{display:none}
.job-request-form [data-step-back]{margin-right:auto}

.property-range {display:grid; gap:4px; align-content:start}
.property-range > .property-filter-tile {width:100%; text-align:left; font:inherit; color:var(--navy); cursor:pointer}
.property-range strong {font-size:13px; line-height:1.5}
.property-range .text-link {justify-self:start}

.workflow-board {display:flex;align-items:flex-start;overflow-x:auto;gap:14px;padding-bottom:12px}
.workflow-board .pipeline-col {flex:0 0 min(280px,84%);min-width:0}
.workflow-board .pipeline-col > h2 {margin:0 0 10px;min-height:0}
.stage-toggle {display:flex;align-items:center;justify-content:space-between;gap:8px;width:100%;padding:7px 0;background:transparent;border:0;color:inherit;font:inherit;text-transform:inherit;text-align:left;cursor:pointer}
.stage-toggle span {font-size:20px;line-height:1;transition:transform .18s}
.expanded .stage-toggle span {transform:rotate(90deg)}
.stage-jobs {display:grid;gap:8px}
.workflow-board .stage-jobs .pipeline-card {margin:0}
.workflow-board .pipeline-col:not(.expanded) .pipeline-card {padding:11px 12px}
.workflow-board .pipeline-col:not(.expanded) .pipeline-card h3 {margin:0}
.workflow-board .pipeline-col:not(.expanded) .pipeline-card > :not(h3),
.workflow-board .pipeline-col:not(.expanded) .pipeline-card:nth-child(n+4) {display:none}
.workflow-board .pipeline-col.expanded .stage-jobs {max-height:var(--stage-preview-height,none);position:relative;overflow-y:auto;overscroll-behavior-y:contain}
@media(prefers-reduced-motion:reduce){.stage-toggle span{transition:none}}

.expanded .stage-jobs.more-jobs-below {mask-image:linear-gradient(to bottom,#000 calc(100% - var(--stage-fade-height,3rem)),rgba(0,0,0,.15))}

.workflow-board .stage-jobs {scrollbar-width:none}
.workflow-board .stage-jobs::-webkit-scrollbar {display:none}

.stage-navigation {display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:clamp(4px,1vw,12px)}
.stage-navigation .workflow-board {scrollbar-width:none;user-select:none;cursor:grab}
.stage-navigation .workflow-board::-webkit-scrollbar {display:none}
.stage-navigation .workflow-board.dragging,.stage-navigation .dragging * {cursor:grabbing}
.stage-arrow {display:grid;place-items:center;width:clamp(32px,4vw,42px);aspect-ratio:1;margin-top:12px;border:1px solid var(--line);border-radius:50%;background:white;color:var(--navy);cursor:pointer}
.stage-arrow:disabled {opacity:.35;cursor:default}

.stage-viewport {position:relative;min-width:0;isolation:isolate}
.stage-viewport::before,
.stage-viewport::after {
  content:"";
  position:absolute;
  top:0;
  bottom:0;
  width:clamp(16px,3vw,40px);
  z-index:1;
  pointer-events:none;
  opacity:1;
  background:var(--bg,#f4f6f8);
  background:color-mix(in srgb,var(--bg,#f4f6f8) 88%,transparent);
  backdrop-filter:blur(2px);
  mask-image:linear-gradient(var(--edge-direction),black,transparent);
}
.stage-viewport::before {left:0;--edge-direction:to right}
.stage-viewport::after {right:0;--edge-direction:to left}
.stage-arrow:disabled + .stage-viewport::before,
.stage-viewport:has(+ .stage-arrow:disabled)::after {opacity:0}

.stage-dots {display:flex;flex-wrap:wrap;justify-content:center;margin:4px auto 0}
.stage-dots[hidden] {display:none}
.stage-dots button {display:grid;place-items:center;width:24px;height:24px;border:0;background:transparent;padding:0;cursor:pointer}
.stage-dots button::before {
  content:"";
  width:9px;
  height:9px;
  border-radius:50%;
  background:radial-gradient(circle 22px at calc(50% + var(--light-offset,100px)) 50%,white 12%,#ffffffd9 36%,transparent 100%),#bac2cb;
  box-shadow:0 0 5px 2px rgb(255 255 255 / var(--glow,0)),0 0 10px 3px rgb(129 144 163 / calc(var(--glow,0) * .4));
}
@media (prefers-reduced-motion:reduce) {
  .stage-dots button::before {background:#bac2cb;box-shadow:none}
  .stage-dots button[aria-current="true"]::before {background:white;box-shadow:0 0 7px 2px #c8d0d8}
}

.property-sidebar {
  position:fixed; inset:0 0 0 auto; margin:0; box-sizing:border-box;
  width:min(360px,100vw); height:100dvh; max-height:none; max-width:none;
  padding:24px; overflow-y:auto; border:0; border-left:1px solid var(--line);
  background:white; color:var(--navy); box-shadow:-8px 0 30px #24354816;
  transform:translateX(100%);
  transition:transform .22s ease, display .22s allow-discrete, overlay .22s allow-discrete;
}
.property-sidebar:popover-open {transform:translateX(0)}
@starting-style {.property-sidebar:popover-open {transform:translateX(100%)}}
.property-sidebar::backdrop {background:#17283c25}
.property-sidebar header,.property-sidebar footer {display:flex;justify-content:space-between;align-items:center;gap:12px}
.property-sidebar header .button {padding:8px}
.property-sidebar-list {display:grid;gap:12px;margin:24px 0}
.property-sidebar [hidden] {display:none}
@media(prefers-reduced-motion:reduce){.property-sidebar{transition:none}}

.filter-chips {display:flex;flex-wrap:wrap;gap:5px}
.filter-chips:not(:empty) {margin-top:5px}
.filter-chip {display:inline-flex;align-items:center;gap:4px;border-radius:5px;padding:2px 3px 2px 8px;background:#e9edf0;color:var(--navy);font-size:12px}
.filter-chip button {border:0;background:transparent;color:inherit;font:inherit;font-size:16px;border-radius:4px;cursor:pointer;min-width:24px;min-height:24px}
.filter-chip button:hover,.filter-chip button:focus-visible {background:#ced7de}

.stage-see-all {display:flex;align-items:center;justify-content:center;gap:8px;width:100%;margin-top:10px;padding:11px;border:0;border-top:1px solid var(--line);background:transparent;color:var(--navy);font:inherit;font-weight:700;cursor:pointer}
.stage-see-all:hover,.stage-see-all:focus-visible {background:#fff;border-radius:5px}
.stage-see-all:disabled {opacity:.45;cursor:default}
.modal .stage-job-list .job-row td:last-child {display:table-cell}
@media(max-width:720px){.modal .stage-job-list .job-row td:last-child {display:block;grid-column:1/-1}}

.modal>.request-progress{display:block;position:sticky;top:0;z-index:2;width:100%;height:3px;appearance:none;border:0;background:var(--line);color:var(--orange)}
.request-progress::-webkit-progress-bar{background:var(--line)}
.request-progress::-webkit-progress-value{background:var(--orange)}
.request-progress::-moz-progress-bar{background:var(--orange)}
.request-media-list{grid-column:1/-1;list-style:none;margin:0;padding:0;min-width:0}
.request-media-list li{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:8px 0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}

#request-step-title .icon{margin-inline-end:8px;vertical-align:-3px;color:var(--navy)}
.request-upload-tile{grid-column:1/-1;display:grid;place-items:center;align-content:center;gap:8px;text-align:center;min-height:140px;padding:24px;background:var(--bg);border:1px dashed #b7c1cc;border-radius:8px}
.request-upload-tile input[hidden],.request-media-list:empty,[data-media-status]:empty{display:none}
