*{box-sizing:border-box} :root{--ink:#182832;--muted:#64727c;--line:#dfe4e8;--paper:#fff;--ground:#f4f6f8;--accent:#97652e;--blue:#30566b;--focus:#16749e;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);font-size:16px;line-height:1.5} body{margin:0;background:var(--ground)} button,input,select,textarea{font:inherit;color:inherit} button{cursor:pointer} button:disabled{cursor:default;opacity:.35} input,select,textarea{max-width:100%} button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid var(--focus);outline-offset:3px} [hidden]{display:none!important}.masthead{height:92px;background:var(--ink);color:white;display:flex;align-items:center;justify-content:space-between;padding:0 max(32px,calc((100vw - 1240px)/2))}.brand{display:flex;gap:16px;align-items:center}.brand-mark{border:1px solid #b6966c;color:#e4cfaf;width:42px;height:46px;font:32px Georgia,serif;display:grid;place-items:center}.brand strong{font:22px Georgia,serif;letter-spacing:.15em;display:block}.brand div>span{font-size:10px;letter-spacing:.35em;display:block;margin-top:3px;color:#c4d0d5}.masthead-right{display:flex;align-items:center;gap:22px}.workspace-label{color:#ccd7dc;font-size:15px}.prototype-strip{padding:10px max(32px,calc((100vw - 1240px)/2));background:#e9eef1;display:flex;justify-content:space-between;gap:12px;font-size:13px;color:#526370}.prototype-strip strong{font-size:11px;letter-spacing:.12em;margin-right:12px;color:#324b59}#save-state[data-error=true]{color:#a22531;font-weight:650}main{max-width:1240px;margin:0 auto;padding:36px 0 28px}.page-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:28px}.eyebrow{font-size:13px;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:0 0 5px}h1{font-size:34px;line-height:1.2;letter-spacing:-.035em;font-weight:600;margin:0}h1 span{font-size:16px;font-weight:450;letter-spacing:0;color:#78858e;vertical-align:middle;margin-left:8px}.button{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:1px solid #cfd8dd;background:white;padding:10px 17px;min-height:44px;border-radius:7px;font-size:14px;font-weight:600;text-decoration:none}.button:hover{background:#f0f4f6}.button.primary{background:var(--ink);color:white;border-color:var(--ink)}.button.primary:hover{background:#2c4654}.button.primary span{font-size:23px;font-weight:350;line-height:1}.button.quiet{border-color:transparent;background:transparent;color:var(--blue)}.button.danger{color:#a02c38}.icon-button{border:0;display:inline-grid;place-items:center;background:transparent;border-radius:6px;width:40px;height:40px;font-size:21px;line-height:1}.icon-button:hover{background:#e8eef2}.icon-button.light{color:#e2e9ed}.icon-button.light:hover{background:#30434f}.view-tabs{display:flex;gap:30px;border-bottom:1px solid var(--line)}.view-tabs button{position:relative;min-height:51px;display:flex;align-items:center;gap:9px;border:0;border-bottom:3px solid transparent;padding:0 0 14px;background:transparent;color:var(--muted);font-size:15px;white-space:nowrap}.view-tabs button[aria-current=page]{color:var(--ink);border-bottom-color:var(--accent);font-weight:650}.view-tabs button span{font-size:12px;background:#e6ebee;padding:1px 6px;border-radius:5px;min-width:23px;text-align:center}.toolbar{display:flex;justify-content:space-between;align-items:center;gap:14px;margin:22px 0 12px}.search{display:flex;align-items:center;gap:10px;border:1px solid var(--line);border-radius:7px;background:white;padding:0 13px;width:365px;max-width:100%}.search svg{width:18px;height:18px;stroke:#7b8994;stroke-width:1.8;fill:none;flex-shrink:0}.search input{width:100%;height:44px;border:0;background:transparent;outline-offset:-2px;font-size:14px}.owner-filter{display:flex;align-items:center;gap:10px;font-size:14px;color:var(--muted)}select{background:#fff;border:1px solid var(--line);border-radius:6px;padding:10px 30px 10px 12px;min-height:44px;font-size:14px}.view-hint{font-size:14px;color:var(--muted);margin:0 0 17px;min-height:21px}.list-heading,.job-row{display:grid;grid-template-columns:minmax(220px,1.65fr) minmax(200px,1.4fr) 110px 120px 34px;gap:18px;align-items:center}.list-heading{font-size:12px;text-transform:uppercase;letter-spacing:.07em;color:var(--muted);padding:0 24px 11px}.job-list{border:1px solid var(--line);border-radius:10px;overflow:hidden;background:white}#job-list{border:1px solid var(--line);border-radius:10px;background:white;overflow:hidden}.job-row{padding:22px 24px;border-bottom:1px solid #e6ebee;min-height:109px;position:relative}.job-row:last-child{border-bottom:0}.job-row:hover{background:#fafcfd}.job-title{font-size:16px;font-weight:600;display:block;text-align:left;border:0;padding:0;background:transparent;line-height:1.4}.job-title:hover{text-decoration:underline;text-underline-offset:3px}.job-meta{font-size:13px;color:var(--muted);margin-top:5px;display:flex;gap:9px;align-items:center;flex-wrap:wrap}.job-meta .item-count{border-left:1px solid #cfd7dc;padding-left:9px}.status{font-size:14px;line-height:1.35;display:inline-flex;align-items:center;gap:8px}.status::before{content:"";width:6px;height:6px;flex-shrink:0;border-radius:50%;background:#8f9ba4}.status.waiting{color:#8b5d23}.status.waiting::before{background:#a57435}.status.making{color:#225c77}.status.making::before{background:#367c9b}.status.finished{color:#356757}.status.finished::before{background:#528674}.status-secondary{display:block;font-size:12px;color:var(--muted);margin:5px 0 0 14px}.owner{font-size:14px;display:flex;gap:8px;align-items:center}.avatar{display:grid;place-items:center;width:26px;height:26px;font-size:11px;background:#eef2f5;border:1px solid #dce5ea;color:#566c7b;border-radius:50%}.next-date{font-size:14px}.next-date.overdue{color:#a04336}.date-caption{display:block;font-size:12px;color:var(--muted);margin-top:3px}.row-chevron{font-size:25px;color:#8a98a2}.workspace-footer{display:flex;justify-content:space-between;gap:12px;margin:16px 0;font-size:12px;color:#7c8992}.queue-row{grid-template-columns:40px minmax(220px,1.65fr) minmax(180px,1.4fr) 110px 78px}.queue-number{font-size:17px;color:#9aa6ae;font-variant-numeric:tabular-nums}.queue-controls{display:flex;align-items:center;gap:2px}.queue-controls button{width:34px;height:36px;border:1px solid var(--line);background:white;border-radius:5px;font-size:18px}.empty{padding:55px 25px;text-align:center}.empty h2{font-size:20px;font-weight:550;margin:0 0 7px}.empty p{font-size:14px;color:var(--muted);margin:0}.empty .button{margin-top:15px}dialog{border:0;padding:0;color:var(--ink);box-shadow:0 20px 80px #10223030;border-radius:12px;max-width:calc(100vw - 28px);max-height:calc(100dvh - 32px);background:white}dialog::backdrop{background:#14252f65;backdrop-filter:blur(2px)}dialog.drawer{margin:0 0 0 auto;border-radius:0;width:590px;max-width:100vw;height:100dvh;max-height:100dvh;overflow:auto}.drawer-header{padding:27px 28px 24px;border-bottom:1px solid var(--line);background:#f9fbfc}.dialog-topline{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:var(--muted);letter-spacing:.05em;margin-bottom:12px}.dialog-topline .icon-button{margin:-9px -8px -9px 0;font-size:25px}.drawer h2{font-size:27px;line-height:1.25;letter-spacing:-.02em;margin:0 0 8px;font-weight:550}.drawer-subtitle{color:var(--muted);margin:0;font-size:15px}.drawer-body{padding:24px 28px 30px}.field-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field-label{display:block;font-size:13px;font-weight:600;color:#51616d;margin-bottom:7px}.field input,.field select,.field textarea{width:100%;font-size:14px;min-height:44px;border:1px solid var(--line);border-radius:6px;padding:10px;background:white}.field textarea{resize:vertical;min-height:90px}.field.full{grid-column:1/-1}.section-title{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:28px 0 12px}.section-title h3{font-size:15px;margin:0;font-weight:650}.text-button{border:0;padding:3px 0;color:var(--blue);background:transparent;font-size:13px;min-height:30px}.text-button:hover{text-decoration:underline}.item-card{border:1px solid var(--line);border-radius:8px;padding:17px;margin:0 0 12px}.item-card h4{font-size:16px;font-weight:600;margin:0 0 13px}.item-card .status-select{width:100%;background:#f9fbfc}.instruction-link{display:flex;align-items:center;gap:10px;width:100%;border:0;background:transparent;color:var(--blue);padding:13px 0 0;text-align:left;font-size:14px}.instruction-link svg{width:19px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;flex-shrink:0}.instruction-link small{display:block;color:var(--muted);font-size:12px;margin-top:1px}.instruction-empty{font-size:13px;color:var(--muted);margin:12px 0 0}.subtle-note{font-size:13px;line-height:1.55;color:var(--muted);margin:12px 0 0}.disclosure{border-top:1px solid var(--line);padding:18px 0}.disclosure summary{font-size:14px;font-weight:600;cursor:pointer}.disclosure>div{padding-top:14px}.notes-hint{font-size:13px;color:var(--muted);margin:0 0 10px}.history-entry{font-size:13px;border-left:2px solid #dce4e9;padding:0 0 17px 13px;margin:0 0 0 4px}.history-entry:last-child{padding-bottom:0}.history-entry time{display:block;color:var(--muted);font-size:12px;margin:4px 0 0}.drawer-footer{font-size:12px;color:var(--muted);border-top:1px solid var(--line);padding-top:18px;display:flex;justify-content:space-between;gap:15px}.modal{width:470px;padding:25px}.modal.small{width:430px}.modal h2{margin:0;font-size:23px;font-weight:600;letter-spacing:-.02em}.modal .dialog-topline{margin-bottom:18px}.modal .field{margin:0 0 17px}.modal .form-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:24px}.modal-description{font-size:14px;color:var(--muted);margin:0 0 22px;line-height:1.6}.option-buttons{display:grid;gap:10px;margin-top:22px}.option-buttons .button{justify-content:flex-start}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;border-radius:8px;padding:12px 20px;box-shadow:0 5px 20px #17283230;max-width:calc(100vw - 32px);font-size:14px;z-index:20}.fatal-error{max-width:650px;padding:28px;margin:35px auto;background:white;border:1px solid #c77b80;border-radius:8px}.fatal-error h2{font-size:22px}.fatal-error p{font-size:15px}.document-dialog{width:680px;padding:32px 40px}.document-dialog h2{font:30px Georgia,serif;margin:18px 0}.document-paper{border-top:3px solid var(--ink);padding-top:20px}.document-paper dl{display:grid;grid-template-columns:130px 1fr;gap:14px;font-size:15px}.document-paper dt{color:var(--muted)}.document-paper dd{margin:0}.document-watermark{font-size:12px;letter-spacing:.09em;padding:12px;border:1px dashed #b9c5cd;margin-top:26px;text-align:center;color:var(--muted)}.form-error{color:#a12f3c;font-size:14px;margin:12px 0}.queue-membership{display:flex;align-items:center;justify-content:space-between;margin-top:18px;padding-top:16px;border-top:1px solid var(--line);font-size:13px;color:var(--muted)}.inline-alert{padding:12px;background:#fff8eb;border:1px solid #e8d3aa;border-radius:6px;font-size:13px;color:#76511f;margin-top:12px}.blank-contact{font-size:14px;color:var(--muted)}
@media(min-width:1500px){main{padding-top:46px}.job-row{min-height:115px}}
@media(max-width:1300px){main{margin:0 32px}.masthead,.prototype-strip{padding-left:32px;padding-right:32px}}
@media(max-width:950px){.list-heading,.job-row{grid-template-columns:minmax(180px,1.5fr) minmax(170px,1.25fr) 96px 96px 25px;gap:12px}.job-row{padding:20px 18px}.list-heading{padding-left:18px;padding-right:18px}.queue-row{grid-template-columns:28px minmax(180px,1.5fr) minmax(165px,1.25fr) 86px 74px}.avatar{display:none}}
@media(max-width:740px){.masthead{height:75px;padding:0 20px}.brand strong{font-size:18px}.brand-mark{width:34px;height:38px;font-size:26px}.brand{gap:12px}.workspace-label{display:none}.prototype-strip{padding:9px 20px;flex-wrap:wrap;font-size:12px;gap:4px}.prototype-strip strong{font-size:10px;margin-right:6px}main{margin:0 20px;padding-top:25px}.page-heading{margin-bottom:25px}h1{font-size:30px}.eyebrow{font-size:12px}.view-tabs{gap:20px}.view-tabs button{font-size:14px;gap:6px}.view-tabs button span{font-size:11px;min-width:19px;padding:1px 4px}.toolbar{align-items:stretch;flex-wrap:wrap;margin-top:19px}.search{width:100%}.owner-filter{justify-content:space-between;width:100%}.owner-filter select{min-width:155px;padding-top:8px;padding-bottom:8px;min-height:40px}.view-hint{font-size:13px;margin:0 0 15px}.list-heading{display:none}.job-row{grid-template-columns:1fr auto;gap:12px;padding:20px;min-height:145px}.job-main{grid-column:1;grid-row:1}.job-status{grid-column:1/-1;grid-row:2}.job-owner{grid-column:1;grid-row:3}.job-date{grid-column:2;grid-row:3;text-align:right}.row-chevron{grid-column:2;grid-row:1}.job-meta{font-size:12px;margin-top:4px}.job-title{font-size:17px}.avatar{display:grid}.owner{font-size:13px}.next-date{font-size:13px}.date-caption{display:inline;font-size:12px;margin-left:5px}.status{font-size:14px}.status-secondary{display:inline;margin-left:8px}.queue-row{grid-template-columns:26px 1fr auto;gap:10px}.queue-row .queue-number{grid-column:1;grid-row:1}.queue-row .job-main{grid-column:2/4;grid-row:1}.queue-row .job-status{grid-column:2/4;grid-row:2}.queue-row .job-owner{grid-column:2;grid-row:3}.queue-row .queue-controls{grid-column:3;grid-row:3}.workspace-footer{font-size:12px}.workspace-footer>span:last-child{display:none}.drawer-header{padding:23px 22px}.drawer-body{padding:22px}.drawer h2{font-size:25px}.field-grid{gap:14px}.document-dialog{padding:24px}.document-paper dl{grid-template-columns:95px 1fr}.modal{padding:23px}.toast{bottom:16px}}
@media(max-width:390px){main{margin:0 14px}.view-tabs{gap:12px}.view-tabs button{font-size:13px}.view-tabs button span{display:none}.page-heading{gap:8px}.page-heading .button{padding:10px 12px}.field-grid{grid-template-columns:1fr}.field.full{grid-column:auto}.prototype-strip{padding-left:14px;padding-right:14px}.document-paper dl{display:block}.document-paper dt{margin-top:13px}.document-paper dd{margin-top:4px}}
@media(prefers-reduced-motion:no-preference){.toast{animation:appear .15s ease-out}dialog[open]{animation:appear .18s ease-out}@keyframes appear{from{opacity:0;translate:0 6px}to{opacity:1;translate:0 0}}}
.page-actions{display:flex;align-items:center;gap:10px}.page-heading{flex-wrap:wrap}.queue-actions{display:flex;justify-content:space-between;align-items:center;gap:18px;background:#eaf0f4;border:1px solid #d6e0e7;border-radius:8px;padding:14px 18px;margin:0 0 18px;font-size:14px}.queue-actions strong{display:block;font-weight:650}.queue-actions>div>span{color:var(--muted);font-size:13px;display:block;margin-top:2px}.queue-lock{font-weight:550;color:#4e6371}.queue-action-buttons{display:flex;gap:8px}.queue-actions .button{min-height:40px;padding:8px 13px}.queue-controls>.row-chevron{border:0;background:transparent}.history-dialog{width:760px;padding:28px;max-width:calc(100vw - 28px)}.history-dialog h2{font-size:24px;margin:0;font-weight:600;letter-spacing:-.02em}.history-scope{display:flex;align-items:center;justify-content:space-between;gap:14px;font-size:14px;margin:0 0 12px;color:var(--muted)}.history-tabs{display:flex;gap:8px;margin-top:22px}.history-tabs button{border:1px solid var(--line);background:white;border-radius:6px;padding:9px 14px;font-size:14px;min-height:42px}.history-tabs button[aria-pressed=true]{background:var(--ink);color:white;border-color:var(--ink)}.history-intro{font-size:14px;color:var(--muted);margin:16px 0 22px}.history-list{border-top:1px solid var(--line)}.history-card{padding:20px 0;border-bottom:1px solid var(--line);display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px 20px}.history-context{font-size:12px;color:var(--muted)}.history-card h3{font-size:15px;font-weight:550;line-height:1.5;margin:5px 0;overflow-wrap:anywhere}.history-meta{font-size:12px;color:var(--muted);margin:4px 0}.history-action{max-width:185px;align-self:start;padding-top:5px}.undo-reason{font-size:12px;color:var(--muted);display:block;text-align:right;max-width:185px;line-height:1.5}.change-details{grid-column:1/-1;font-size:13px;color:var(--muted)}.change-details summary{cursor:pointer;display:list-item;min-height:30px}.before-after{display:grid;grid-template-columns:1fr 1fr;gap:18px;background:#f5f8fa;border-radius:7px;padding:15px;margin-top:5px;color:var(--ink)}.before-after h4{font-size:12px;color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin:0 0 8px}.before-after ol{padding-left:21px;margin:0;line-height:1.7}.before-after small{font-size:11px;color:var(--muted);white-space:nowrap}.before-after p{margin:0}.history-value{white-space:pre-wrap;overflow-wrap:anywhere;max-height:220px;overflow:auto}.history-footnote{font-size:12px;line-height:1.6;color:var(--muted);margin:20px 0 0}.toast-undo{background:transparent;border:1px solid #607784;border-radius:5px;color:white;padding:5px 12px;margin-left:15px;font-size:14px;font-weight:650}.toast-undo:hover{background:#314e5e}.search input:disabled{color:#788895}.owner-filter select:disabled{opacity:.6}
@media(max-width:740px){.page-actions{gap:8px}.page-actions .button{padding:9px 12px}.queue-actions{padding:12px;gap:12px}.queue-action-buttons{gap:6px}.queue-actions .button{padding:8px 10px;font-size:13px}.queue-lock{font-size:13px}.history-dialog{padding:22px}.history-card{gap:10px 14px}.history-action,.undo-reason{max-width:135px}.history-scope{flex-wrap:wrap}.before-after{gap:15px;padding:12px}.before-after li{font-size:13px}.history-tabs button{font-size:14px}}
@media(max-width:430px){.queue-actions{flex-wrap:wrap}.queue-actions .queue-action-buttons{margin-left:auto}.history-card{grid-template-columns:1fr}.history-action{max-width:none;padding:0}.undo-reason{text-align:left;max-width:none}.before-after{grid-template-columns:1fr}.page-heading{gap:16px}.toast{width:max-content;font-size:13px}.toast-undo{margin-left:10px}}
.completion-date{display:flex;flex-direction:column;align-items:flex-end;gap:.25rem;text-align:right}.completion-date small{font-size:.75rem;color:var(--muted,#52636b)}.amendment-review{padding:1rem;border:1px solid #9bb6ac;border-radius:.5rem;margin:1rem 0}
/* Clean overview, progressive detail and larger sample lists. */
h1 #page-title{font:inherit;color:inherit;letter-spacing:inherit;margin:0;vertical-align:baseline}.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}.filter-line{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:0 0 18px}.filter-line select{font-size:13px;min-height:38px;padding:7px 28px 7px 10px}.attention-switch{display:flex;align-items:center;gap:8px;font-size:13px;color:#536674}.attention-switch input,.check-field input{accent-color:var(--ink);width:17px;height:17px;flex-shrink:0;cursor:pointer}.attention-switch span{background:#e9edf0;border-radius:5px;padding:1px 6px;font-size:12px}.list-heading,.job-row{grid-template-columns:minmax(230px,1.45fr) minmax(130px,.75fr) minmax(210px,1.25fr) 85px 30px;gap:18px}.queue-row{grid-template-columns:38px minmax(230px,1.45fr) minmax(130px,.8fr) minmax(210px,1.25fr) 78px}.job-row{padding-top:19px;padding-bottom:19px;min-height:96px}.job-main{min-width:0}.job-meta{line-height:1.5}.job-attention,.job-flags{display:flex;gap:5px;flex-wrap:wrap;align-items:center}.job-flags{margin:18px 0}.attention-tag{font-size:11px;line-height:1.5;padding:3px 7px;border-radius:4px;background:#eff3f5;color:#516776;display:inline-block}.attention-tag.due{background:#fbf0db;color:#805c26}.more-tags{font-size:11px;color:var(--muted)}.clear-mark{color:#a7b3bb}.pagination{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-top:18px;font-size:13px;color:var(--muted)}.pagination:empty{display:none}.pagination .button{font-size:13px;min-height:40px}.drawer{scrollbar-gutter:stable}.drawer .field{display:block}.drawer .field-grid .field{margin:0}.drawer .field input,.drawer .field select{width:100%}.drawer .field-grid{gap:16px}.drawer .detail-form{margin-top:6px}.drawer .disclosure .disclosure{padding:12px 0}.requirements{margin:17px 0 0}.requirements h5{font-size:13px;font-weight:650;margin:0 0 4px}.requirements .notes-hint{font-size:12px;margin-bottom:10px}.hold-row{display:flex;align-items:center;justify-content:space-between;gap:0 12px;flex-wrap:wrap;padding:3px 0;min-height:36px}.hold-row p{flex-basis:100%;font-size:12px;color:var(--muted);margin:0 0 8px 27px}.hold-row .text-button{font-size:11px}.check-field{display:flex;align-items:center;gap:7px;font-size:13px;line-height:1.4;min-height:34px}.check-field input{margin:0}.detail-actions{display:flex;align-items:center;gap:13px;margin:17px 0 2px}.draft-label{font-size:12px;color:#926125}.item-card>.disclosure{margin-top:15px;padding-bottom:0}.item-card .instruction-link{padding-top:16px}.money-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px;background:#f3f6f8;border-radius:7px;padding:14px}.money-summary small{display:block;font-size:11px;color:var(--muted)}.money-summary strong{font-size:17px;display:block;margin-top:4px;font-weight:600}.minor-title{font-size:13px;margin:23px 0 9px}.ledger-row{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid #edf0f2;padding:7px 0;font-size:13px;margin:0}.ledger-row small{display:block;color:var(--muted);font-size:12px;margin-top:2px}.ledger-row strong{white-space:nowrap;font-weight:600}.facts{display:grid;grid-template-columns:1fr 1fr;gap:7px 18px;font-size:13px;margin:0}.facts dt{color:var(--muted)}.facts dd{margin:0}.waiting-panel{margin:24px 0;border:1px solid #dbe4e9;border-radius:8px;padding:17px;background:#f8fafb}.waiting-panel .section-title{margin:0 0 8px}.next-action{font-size:14px;color:#4c6372;margin:0 0 15px}.action-wrap{display:flex;gap:8px;flex-wrap:wrap}.action-wrap .button{font-size:12px;padding:8px 11px;min-height:38px}.waiting-panel>.disclosure{margin-top:18px;padding-bottom:0}.privacy-note{font-size:12px;background:#fff2dd;color:#805725;border-radius:5px;padding:8px 10px;margin-top:15px}.detail-form .field.full{display:block}.detail-form>.field{margin-bottom:15px}.document-paper dd,.facts dd{overflow-wrap:anywhere}.view-tabs{overflow:auto}.form-actions{display:flex;gap:10px;justify-content:flex-end}.subtle-note{overflow-wrap:anywhere}.history-value{font-family:inherit;font-size:12px}.before-after ol{max-height:270px;overflow:auto}
@media(max-width:1050px) and (min-width:741px){.list-heading,.job-row{grid-template-columns:minmax(185px,1.4fr) minmax(115px,.8fr) minmax(165px,1fr) 75px 25px;gap:12px}.queue-row{grid-template-columns:28px minmax(180px,1.4fr) minmax(115px,.8fr) minmax(165px,1fr) 72px}.job-title{font-size:15px}.job-meta{font-size:12px}}
@media(max-width:740px){.list-heading{display:none}.job-row{grid-template-columns:1fr auto;gap:11px;min-height:0;padding:18px}.job-main{grid-column:1;grid-row:1}.job-status{grid-column:1;grid-row:2}.job-date{grid-column:2;grid-row:2}.job-attention{grid-column:1/-1;grid-row:3}.job-attention:has(.clear-mark){display:none}.queue-row{grid-template-columns:24px 1fr auto}.queue-row .job-main{grid-column:2;grid-row:1}.queue-row .queue-number{grid-column:1;grid-row:1}.queue-row .job-status{grid-column:2;grid-row:2}.queue-row .job-attention{grid-column:2/4;grid-row:3}.queue-row .queue-controls{grid-column:3;grid-row:1/3}.queue-row .job-meta{font-size:12px}.view-tabs{gap:22px}.filter-line{gap:12px}.filter-line select{max-width:160px}.pagination{font-size:12px;gap:7px}.pagination .button{padding:8px 11px}.money-summary{gap:10px}.money-summary strong{font-size:15px}.drawer .field-grid{gap:14px}.attention-tag{font-size:11px}.hold-row{align-items:flex-start}.hold-row .text-button{margin-left:24px}.drawer .disclosure{padding-top:17px;padding-bottom:17px}}
@media(max-width:390px){.view-tabs{gap:15px}.pagination span{max-width:105px;text-align:center}.money-summary{grid-template-columns:1fr}.money-summary>div{display:flex;justify-content:space-between;align-items:center}.money-summary strong{margin:0}.filter-line{align-items:stretch;flex-direction:column}.filter-line select{max-width:100%;width:100%}.drawer .field-grid{grid-template-columns:1fr}}
.job-heading-line{align-items:flex-start;margin:0 0 4px;letter-spacing:0;color:var(--ink)}.job-heading-line h2{margin:0;padding-right:15px}.job-reference{font-size:12px;color:var(--muted);margin:5px 0 10px}.job-heading-line .icon-button{flex-shrink:0;margin-top:-5px}
/* Board hierarchy and workshop paper copies. */
.sheet-panel{border:1px solid var(--line);border-radius:8px;padding:17px;margin-top:23px;background:#f6f9fb}.sheet-panel.needs-print{border-color:#d7b87b;background:#fffaf0}.sheet-topline{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:13px}.sheet-topline h3{font-size:16px;margin:0 0 4px}.sheet-topline p{font-size:14px;color:#526777;margin:0}.sheet-topline .button{white-space:nowrap;padding:9px 13px}.sheet-prompt{font-size:14px;line-height:1.5;color:#775421;margin:0 0 15px}.sheet-panel .action-wrap .button{font-size:14px}.sheet-panel>.text-button{display:block;margin-top:10px}.sheet-panel .drawing-version{margin-top:15px}.lead-actions{margin:20px 0}.print-dialog{width:1100px;padding:25px}.print-dialog h2{font-size:23px;margin:0}.print-dialog .pdf-actions{display:flex;gap:10px;flex-wrap:wrap;margin:0 0 18px}.pdf-preview{width:100%;height:min(63vh,660px);border:1px solid var(--line);background:#edf1f3;border-radius:6px}.print-dialog .form-actions{margin-top:20px}.sheet-replace{color:#936232}.view-tabs button span{flex-shrink:0}.job-attention .attention-tag{font-size:12px}.sheet-panel .text-button{font-size:14px}
@media(max-width:740px){.print-dialog{padding:19px}.pdf-preview{height:48vh}.sheet-topline{align-items:flex-start}.sheet-panel{padding:15px}.sheet-topline .button{font-size:13px;padding:9px 11px}}

/* Shared staff view, compact attention filtering and the supplied logo. */
.brand-logo{display:block;width:64px;height:56px;object-fit:contain;filter:invert(1) brightness(2);mix-blend-mode:screen;flex-shrink:0}.toolbar .search{flex:1}.filter-selects{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.filter-selects select{font-size:14px;min-height:40px}.filter-line{flex-wrap:wrap}.attention-switch{font-size:14px}.board-selection{display:flex;align-items:center;justify-content:space-between;gap:16px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0;margin:20px 0}.board-selection h3{font-size:16px;margin:0 0 5px}.board-selection p{font-size:14px;line-height:1.4;color:var(--muted);margin:0}.board-selection .button{flex-shrink:0;font-size:14px}.board-warning-list{max-height:40vh;overflow:auto;margin:16px 0;padding:14px 14px 14px 33px;border:1px solid #d7b87b;background:#fffaf0;border-radius:6px;color:#775421;font-size:15px;line-height:1.55}.board-warning-list li+li{margin-top:5px}.button.warning{background:#805b28;border-color:#805b28;color:#fff}
@media(max-width:740px){.brand-logo{width:52px;height:46px}.filter-line{align-items:flex-start;gap:10px}.filter-selects{gap:8px;max-width:100%}.filter-selects select{max-width:none;width:100%;padding-right:25px}.filter-selects label{min-width:0;flex:1}.filter-selects{width:100%}.board-selection{gap:10px}.board-selection .button{padding:9px 11px}.board-selection p{max-width:220px}}

/* Customer directory, deliberate transitions and inline drawing previews. */
.customer-dialog{width:650px}.customer-row{grid-template-columns:minmax(180px,1.2fr) minmax(170px,1.2fr) 100px 36px}.customer-contact{font-size:14px;overflow-wrap:anywhere}.contact-restriction{display:block;color:#8b5d23;font-size:13px;margin-top:4px}.linked-person{padding:12px 0;border-bottom:1px solid var(--line)}.linked-person span,.linked-person small{display:block;font-size:14px;color:var(--muted)}.linked-person>.text-button{font-size:16px;font-weight:600}.linked-people{margin-bottom:20px}.linked-people>.button{margin-top:15px}.linked-job{display:flex;text-align:left;flex-direction:column;gap:4px;width:100%;padding:12px;background:#f6f9fb;border:1px solid var(--line);border-radius:6px;margin-bottom:8px}.linked-job span{font-size:14px;color:var(--muted)}.role-person,.size-record,.checklist-piece{margin:16px 0;padding:12px;border:1px solid var(--line);border-radius:7px;min-width:0}.role-person legend,.size-record legend,.checklist-piece legend{font-size:14px;font-weight:600;padding:0 5px}.role-options{display:flex;flex-wrap:wrap;gap:4px 16px}.inline-picker{display:flex;gap:8px;align-items:center;min-width:0}.inline-picker select{min-width:0;flex:1}.check-field{font-size:14px;margin:9px 0;align-items:flex-start}.check-field input{margin-top:4px;min-width:17px;min-height:17px;accent-color:var(--blue)}.preparation-checks{padding:13px;margin:16px 0;background:#f0f5f8;border-radius:7px}.preparation-checks h5,.requirements h5{font-size:14px;margin:0 0 9px}.physical-reminder{padding:12px;border-left:3px solid var(--accent);background:#faf7f1;font-size:14px;line-height:1.5}.drawing-preview{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;max-width:100%;min-height:100px;background:white;border:1px solid var(--line);border-radius:6px;padding:8px;margin:12px 0}.drawing-preview img,.drawing-preview canvas{display:block;width:auto;height:auto;max-width:100%;max-height:220px;object-fit:contain}.pdf-preview{height:auto;min-height:120px;padding:8px;overflow:auto}.pdf-preview canvas{display:block;max-width:100%;height:auto;margin:auto;background:white}.preview-unavailable{padding:20px;font-size:14px;color:var(--muted)}.history-job-link{text-align:left;font-size:14px;font-weight:600}.history-context .text-button{font-size:14px}.field-label{font-size:14px}.customer-dialog form>.field{display:block}.customer-dialog .field-grid .field{margin-bottom:0}.size-record>.text-button{margin-top:10px}.modal.small{width:540px}
@media(max-width:740px){.customer-row{grid-template-columns:minmax(0,1fr) 36px;gap:8px;padding:18px}.customer-row>div:first-child{grid-column:1}.customer-row>.customer-contact{grid-row:2;grid-column:1}.customer-row>span{grid-row:3;grid-column:1;font-size:13px}.customer-row>span::after{content:' linked jobs'}.customer-row>.icon-button{grid-column:2;grid-row:1/3}.list-heading.customer-row{display:none}.role-options{gap:0 13px}.inline-picker{flex-wrap:wrap}.inline-picker select{width:100%;flex-basis:70%}.customer-dialog{padding:20px}.drawing-preview{min-height:80px}}

/* Version agreement and shared follow-up controls use the existing compact job layout. */
.design-checks{padding:16px 0 8px;border-top:1px solid #e5ebef;margin-top:14px}.design-checks h5{font-size:14px;margin:0 0 8px}.design-checks .notes-hint{overflow-wrap:anywhere}.followup-due{font-size:14px;color:#805c26;overflow-wrap:anywhere}.page-actions{flex-wrap:wrap}.history-card p{overflow-wrap:anywhere}#followups-count:not(:empty){padding:1px 5px;background:#fbf0db;color:#805c26;border-radius:4px;margin-left:5px}#supplied-size-decision{margin:14px 0}.design-checks .button,.design-checks .text-button{font-size:14px}.form-actions{flex-wrap:wrap}@media(max-width:740px){.page-heading{flex-wrap:wrap}.page-actions{width:100%;justify-content:flex-start}.design-checks .action-wrap{gap:10px}.design-checks .text-button{text-align:left}}

/* Planning stays inside the job and one workload dialog. */
.operations-dialog { width:min(850px,calc(100vw - 24px)); max-width:850px; }
.operations-dialog .share-text { min-height:340px; font-family:inherit; font-size:14px; line-height:1.5; }
.workload-totals { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin:20px 0; }
.workload-totals small { display:block;color:var(--muted,#586870);font-size:14px;margin-bottom:6px; }
.workload-totals strong { font-size:20px; }
.workload-list article { padding:16px 0;border-bottom:1px solid #dce2e5; }
.workload-list article p { margin:5px 0; }



@media(max-width:600px) { .workload-totals { grid-template-columns:1fr;gap:10px; } .page-actions { flex-wrap:wrap; } }

/* Compact price, contact and address controls. */
.address-match{display:block;width:100%;padding:10px;text-align:left;border:1px solid var(--line);background:white;border-radius:6px;margin:4px 0;font-size:14px}.piece-money .subtle-note{margin:6px 0 12px}.actual-work{border-top:1px solid var(--line);padding-top:12px;margin-top:14px}.cancelled-piece{background:#f5f5f5}.ledger-row>span{min-width:0;overflow-wrap:anywhere}#unsaved-dialog::backdrop{background:rgba(14,27,35,.65)}

/* The bench week is the queue on a calendar, in morning and afternoon slots. */
.workload-dialog{width:min(1180px,calc(100vw - 24px));max-width:1180px}
.bench-toolbar,.bench-week-nav{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.bench-toolbar{justify-content:space-between;margin-top:20px}
.bench-week-title{font-size:20px;line-height:1.4;margin:20px 0 0}
.bench-legend{display:flex;flex-wrap:wrap;gap:8px 20px;font-size:14px;color:var(--muted);margin:18px 0 12px}
.bench-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.bench-day{min-width:0;background:#f3f6f8;border:1px solid var(--line);border-radius:7px;padding:6px}
.bench-day h3{font-size:14px;line-height:1.5;margin:4px 2px 10px;min-height:42px}
.bench-today{border-color:var(--blue);background:#edf4fa}
.bench-day-slots{display:grid;grid-template-rows:repeat(2,minmax(160px,1fr));gap:7px;height:calc(100% - 60px)}
.bench-slot,.bench-job{display:flex;flex-direction:column;gap:8px;min-width:0;padding:10px;border-radius:5px;font-size:14px;line-height:1.45;overflow-wrap:anywhere;text-align:left}
.bench-slot{color:var(--muted);border:1px solid transparent}
.bench-slot strong{font-weight:400}
.bench-period,.bench-meta{display:block;font-size:13px;line-height:1.5}
.bench-job{background:#fff;border:1px solid #6c889e;color:var(--ink);width:100%;cursor:pointer}
.bench-job strong{font-size:16px;line-height:1.35}
.bench-job .bench-meta{margin-top:auto;color:#526777;padding-top:7px}
.bench-job:hover{background:#eaf2f8;border-color:var(--blue)}
.bench-job:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.bench-reserved{border-style:dashed;background:#f4f2fa}
.bench-provisional .bench-meta{color:#79561f}
.bench-risk{border-left:4px solid #aa6a22}
.bench-whole-day{grid-row:span 2}
.bench-off{background:repeating-linear-gradient(135deg,#e7ebee,#e7ebee 8px,#edf0f2 8px,#edf0f2 16px);color:#3d505e;border-color:#cbd5db}
.bench-details{border-top:1px solid var(--line);padding:16px 0}
.bench-details>summary{cursor:pointer;font-size:16px;line-height:1.5;font-weight:600}
.bench-details .subtle-note{font-size:14px;line-height:1.5}
.bench-time-off{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line)}
.bench-time-off strong,.bench-time-off span{display:block;overflow-wrap:anywhere;font-size:14px;line-height:1.5}
.bench-date-risk{padding:12px 0;border-bottom:1px solid var(--line)}
.bench-date-risk .text-button,.workload-list .text-button{font-size:16px;text-align:left;line-height:1.5}
.bench-view-switch{display:flex;gap:4px;padding:4px;border-radius:7px;background:#e6edf2}
.bench-view-switch .button{border-color:transparent;background:transparent}
.bench-view-switch .button[aria-pressed=true]{background:var(--ink);color:white}
.bench-period-nav{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-top:20px}
.bench-period-nav .bench-week-title{margin:0}
.bench-month{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:7px}
.bench-weekday{font-size:14px;font-weight:600;padding:5px 8px}
.bench-month .bench-day h3{min-height:0;margin:3px 2px 8px}
.bench-month-slots{display:grid;grid-template-rows:repeat(2,minmax(75px,1fr));gap:5px}
.bench-month-job,.bench-month-slot{display:flex;flex-direction:column;gap:4px;min-width:0;padding:7px;border-radius:4px;font-size:14px;line-height:1.4;overflow-wrap:anywhere;text-align:left}
.bench-month-job{width:100%;background:#fff;border:1px solid #6c889e;color:var(--ink);cursor:pointer}
.bench-month-job.bench-reserved{border-style:dashed;background:#f4f2fa}
.bench-month-job.bench-risk{border-left:4px solid #aa6a22}
.bench-month-job:hover{background:#eaf2f8}
.bench-month-job:focus-visible{outline:3px solid var(--blue);outline-offset:2px}
.bench-month-job>span,.bench-month-slot>span{font-size:13px}
.bench-month-slot{color:var(--muted)}
.bench-month-slot strong{font-weight:400}
.bench-month-whole{grid-row:span 2}
@media(max-width:1000px){
 .bench-week{grid-template-columns:1fr;gap:12px}
 .bench-day h3{min-height:0;margin-bottom:8px}
 .bench-day-slots{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto;height:auto}
 .bench-slot,.bench-job{min-height:110px}
 .bench-whole-day{grid-row:auto;grid-column:span 2}
 .bench-day{padding:10px}
 .bench-month{grid-template-columns:1fr}
 .bench-weekday,.bench-month-pad{display:none}
 .bench-month-slots{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:auto}
 .bench-month-whole{grid-column:span 2;grid-row:auto}
}
@media(max-width:600px){
 .workload-dialog{padding:18px}
 .bench-toolbar .button{padding:10px 12px;min-height:44px}
 .workload-dialog .workload-totals{grid-template-columns:1fr;gap:12px}
 .workload-dialog .workload-totals>div{display:flex;justify-content:space-between;gap:16px;align-items:baseline}
 .workload-dialog .workload-totals strong{font-size:16px;white-space:nowrap}
}

/* Job dates, navigable warnings and retained completed bookings. */
.job-due{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 18px;margin:12px 0;font-size:14px}.job-due span{color:var(--muted)}.job-due.date-late strong{color:#914622}
.warning-link{font:inherit;cursor:pointer;text-align:left;text-decoration:underline;text-underline-offset:3px}.warning-link:hover,.warning-link:focus-visible{outline:2px solid #a06e2b;outline-offset:2px}
.warning-jump{display:block;width:100%;padding:0;border:0;background:none;color:inherit;font:inherit;text-align:left;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.warning-jump:focus-visible{outline:2px solid currentColor;outline-offset:4px}
[data-section]{scroll-margin-top:20px}.section-highlight{outline:3px solid #b99150!important;outline-offset:5px;border-radius:6px}
.bench-job.bench-completed,.bench-month-job.bench-completed{background:#e5f0e8;border:1px solid #65826c;color:#294e35}.bench-completed .bench-period,.bench-completed .bench-meta{color:#41654b}

/* Native dialog layers must not move with the scrolled queue on iPad. */
dialog{position:fixed;max-height:calc(var(--dialog-viewport-height,100dvh) - 32px);overscroll-behavior:contain;overflow:auto;transform:none;translate:none}
dialog[open]{animation:none}
dialog::backdrop{position:fixed;inset:0;background:rgba(20,37,47,.42);backdrop-filter:none;-webkit-backdrop-filter:none}
dialog.drawer{position:fixed;inset:var(--dialog-viewport-top,0px) 0 auto auto;margin:0;height:var(--dialog-viewport-height,100dvh);max-height:var(--dialog-viewport-height,100dvh);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;padding-bottom:env(safe-area-inset-bottom,0px)}
#unsaved-dialog{z-index:2147483647}#unsaved-dialog::backdrop{background:rgba(14,27,35,.65)}

/* Context help is touch accessible and does not replace section toggles. */
.section-help{display:inline-flex;align-items:center;justify-content:center;min-width:12px;min-height:12px;width:12px;height:12px;margin-left:5px;padding:0;border:1px solid #a6b7ba;border-radius:50%;background:#fff;color:#214349;font-family:inherit;font-size:9px;font-weight:600;line-height:1;vertical-align:baseline;position:relative;top:-.05em;cursor:pointer}.section-help:focus-visible{outline:3px solid #357b87;outline-offset:2px}.section-help-copy{line-height:1.65}#job-dialog [hidden]{display:none!important}#job-dialog .item-card details>summary{cursor:pointer;font-weight:600}

.job-view-controls{display:flex;justify-content:flex-end;margin:6px 0}.job-view-controls button{font-size:14px}#new-dialog [hidden]{display:none!important}
.commission-status{margin-top:16px;padding:14px 16px;background:#f0f5f8;border:1px solid #d8e3ea;border-radius:8px;overflow-wrap:anywhere}.commission-caption{font-size:12px;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);margin:0 0 5px}.commission-stage{font-size:17px;font-weight:600;line-height:1.4;margin:0 0 12px}.commission-facts{display:grid;grid-template-columns:1fr 1fr;gap:8px 16px}.commission-fact{display:block;border:0;border-left:2px solid #bbcedc;background:transparent;padding:0 0 0 10px;color:var(--ink);text-align:left;min-width:0;cursor:pointer;font-size:14px;line-height:1.5}.commission-fact span{display:block;color:var(--muted)}.commission-fact strong{font-weight:600;text-decoration:underline;text-underline-offset:3px}.commission-totals{font-size:14px;margin:10px 0 0}.commission-status .next-action{font-size:14px;margin:12px 0 0;padding-top:10px;border-top:1px solid #d8e3ea}.commission-warning{color:#76511f;font-size:14px;margin-top:10px}.triage-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}.triage-summary{font-size:14px;line-height:1.5}.intake-summary dl{display:grid;grid-template-columns:minmax(6rem,1fr) 2fr;gap:6px 12px;font-size:14px}.intake-summary dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.intake-summary dt{color:var(--muted)}
@media(max-width:440px){.commission-facts{grid-template-columns:1fr}.commission-status{padding:12px}.intake-summary dl{grid-template-columns:1fr}.intake-summary dd{margin-bottom:8px}}

.demo-contact-label{padding:10px;border:1px solid #aab8bc;border-radius:5px;color:#29474d;font-size:14px}.reply-options{border:0;padding:0;margin:16px 0}.reply-options legend{font-weight:600;margin-bottom:8px}.customer-update-record{border-top:1px solid #d7dfe0;padding:12px 0}.preserve-lines{white-space:pre-wrap}#customer-update-dialog [hidden]{display:none!important}

/* Customer intake keeps guidance near the field and longer help on demand. */
.intake-dialog{width:min(780px,calc(100vw - 24px));max-width:780px}
.intake-paths{display:flex;align-items:baseline;justify-content:space-between;gap:16px;flex-wrap:wrap;margin:12px 0}
.intake-field{margin:0 0 18px;min-width:0}.intake-label{display:flex;align-items:baseline;gap:5px;margin-bottom:5px;font-size:14px;font-weight:600}
.intake-field input,.intake-field textarea,.intake-field select{display:block;width:100%;padding:10px;border:1px solid var(--line);border-radius:5px;background:#fff;min-height:44px}
.intake-field small{display:block;font-size:13px;color:var(--muted);line-height:1.5;margin-top:5px}
.intake-piece{margin:18px 0;padding:16px;border:1px solid var(--line);border-radius:7px;min-width:0}.intake-piece legend{padding:0 6px;font-size:15px;font-weight:600}
.intake-review-controls{padding:16px;background:#f0f5f8;border-radius:7px;margin:18px 0}.intake-review-controls p{font-size:14px}.intake-review-controls .check-field{display:flex;gap:8px;overflow-wrap:anywhere}
.intake-answer-record{white-space:pre-wrap;overflow-wrap:anywhere;font-family:inherit;font-size:14px;line-height:1.6}
.intake-dialog .share-text{min-height:290px;width:100%}.intake-dialog h3{font-size:17px;margin:22px 0 12px}
@media(max-width:600px){.intake-dialog .field-grid{grid-template-columns:minmax(0,1fr)}.intake-review-controls,.intake-piece{padding:12px}}

/* Form requests are a full working section, sharing the responsive main navigation. */
.form-request-row{grid-template-columns:minmax(190px,1.4fr) minmax(110px,.7fr) minmax(160px,1fr) 110px 40px}
.form-request-row>span{font-size:14px}.form-request-row .job-meta{overflow-wrap:anywhere}.form-request-row .attention-tag{justify-self:start}
@media(max-width:740px){.list-heading.form-request-row{display:none}.job-row.form-request-row{grid-template-columns:minmax(0,1fr) 40px;gap:8px}.form-request-row>div{grid-column:1;grid-row:1}.form-request-row>span{grid-column:1}.form-request-row>.icon-button{grid-column:2;grid-row:1/4}}
/* Signature catalogue: kept outside the board navigation. */
.signature-dialog{width:min(960px,calc(100vw - 28px));max-width:960px}
.signature-category{margin:24px 0 12px;font-size:1rem}
.signature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.signature-card{display:flex;flex-direction:column;overflow:hidden;padding:0;text-align:left;border:1px solid #d4dcd9;border-radius:6px;background:#fff;color:var(--ink,#182832);font:inherit;cursor:pointer}
.signature-card img{width:100%;height:170px;object-fit:cover}
.signature-card>span{display:grid;gap:7px;padding:12px;overflow-wrap:anywhere}
.signature-card strong{font-size:.95rem;font-weight:600}.signature-card small{color:#516469;font-size:.875rem}
.signature-card:hover{border-color:#557a78}.signature-card:focus-visible,.signature-job-link:focus-visible{outline:3px solid #357b87;outline-offset:2px}
.signature-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px;align-items:start;margin:20px 0}
.signature-detail>img{width:100%;height:auto;aspect-ratio:1;object-fit:cover;border-radius:6px}
.signature-detail dl{margin:16px 0}.signature-detail dt{font-weight:600;margin-top:12px}.signature-detail dd{margin:4px 0}.signature-detail small{display:block;color:#516469}
.signature-job-link{display:grid;gap:4px;padding:13px 0;width:100%;text-align:left;font:inherit;color:inherit;background:transparent;border:0;border-bottom:1px solid #d4dcd9;cursor:pointer;overflow-wrap:anywhere}
.signature-job-link small{font-size:.875rem;color:#516469}
.signature-piece-link{display:grid;grid-template-columns:64px minmax(0,1fr);gap:12px;margin:12px 0;align-items:start}
.signature-piece-link>img{width:64px;height:64px;object-fit:cover;border-radius:4px}
.signature-piece-link p{margin:6px 0;white-space:pre-wrap;overflow-wrap:anywhere}.signature-piece-link .text-button{text-align:left}
.signature-editor-preview{display:grid;grid-template-columns:84px minmax(0,1fr);gap:12px;margin:14px 0;align-items:start}
.signature-editor-preview>img{width:84px;height:84px;object-fit:cover;border-radius:4px}.signature-editor-preview p{margin:0 0 8px}
#signature-form [hidden]{display:none!important}#signature-form input[type=number]{max-width:170px}
@media(max-width:640px){.signature-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.signature-card img{height:140px}.signature-detail{grid-template-columns:1fr;gap:16px}.signature-detail>img{max-width:360px}.signature-dialog{padding:20px}.signature-card>span{padding:10px}}
@media(max-width:380px){.signature-card img{height:110px}.signature-card strong{font-size:.875rem}.signature-card small{font-size:.8125rem}}

/* Compact per-piece catalogue choices reuse the retained source photographs. */
.form-collection{display:grid;grid-template-columns:repeat(auto-fit,minmax(125px,1fr));gap:12px;margin:12px 0}.form-design{display:flex;flex-direction:column;gap:6px;font-size:.875rem;cursor:pointer}.form-design img{width:100%;height:95px;object-fit:contain;background:#fff;border:1px solid #ddd}.form-design span{display:block}.form-design input{width:auto}.enquiry-preferences{font-size:.875rem}.enquiry-preferences dt{font-weight:600;margin-top:10px}.enquiry-preferences dd{margin:3px 0;white-space:pre-wrap}.next-action{font-size:1rem;line-height:1.5}.intake-piece [data-design-choices] textarea{max-height:130px}
/* Compact design details and stable waiting-list positions. */
.holdup-panel{border-bottom:1px solid var(--line);padding:0 0 12px;margin:0 0 18px}.holdup-heading{font-weight:600}.holdup-panel details>summary[hidden]{display:none}.holdup-panel .requirements{border-top:1px solid var(--line);padding:10px 0}.holdup-panel .detail-form{margin-top:4px}.holdup-panel .detail-actions{margin-top:8px}
.design-facts{display:grid;grid-template-columns:minmax(95px,.65fr) minmax(0,1.35fr);gap:7px 16px;font-size:13px;margin:12px 0}.design-facts dt{color:var(--muted)}.design-facts dd{margin:0;overflow-wrap:anywhere}.edit-fields{margin:16px 0}.edit-fields>summary{color:var(--blue);font-size:13px}.edit-fields>form{padding-top:16px}.sheet-reference{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap;font-size:12px;color:var(--muted)}.section-status{display:block;margin:5px 0 0;font-size:12px;font-weight:400;color:var(--muted);overflow-wrap:anywhere}details[open]>summary>.section-status{display:none}.collection-suggestion{font-size:13px;line-height:1.6;color:var(--muted)}
.drawer .field-grid{align-items:end}.drawer .field-grid>*{min-width:0}.drawer .field input,.drawer .field select{min-width:0;min-height:44px;box-sizing:border-box}.drawer .inline-picker{align-items:stretch}.drawer .inline-picker select{flex:1 1 0;width:0}.drawer .inline-picker .button{flex-shrink:0;white-space:nowrap}
.list-heading.waiting-row,.job-row.waiting-row{grid-template-columns:38px minmax(0,1.45fr) minmax(95px,.7fr) minmax(0,1.1fr) 85px 30px}
@media(max-width:740px){.job-row.waiting-row{grid-template-columns:28px minmax(0,1fr) 28px}.waiting-row .queue-number{grid-column:1;grid-row:1}.waiting-row .job-main{grid-column:2;grid-row:1}.waiting-row .row-chevron{grid-column:3;grid-row:1}.waiting-row .job-status{grid-column:2/4;grid-row:2}.waiting-row .job-attention{grid-column:2/4;grid-row:3}.waiting-row .job-date{grid-column:2/4;grid-row:4;text-align:left}}
@media(max-width:600px){.drawer .field-grid{grid-template-columns:minmax(0,1fr)}.drawer .field.full{grid-column:auto}.drawer .inline-picker{flex-wrap:nowrap}.drawer .inline-picker select{flex-basis:0}.design-facts{grid-template-columns:minmax(80px,.6fr) minmax(0,1.4fr)}}

/* Date and budget controls share bounded columns, including Safari's native date input. */
.intake-dialog .field-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:16px}
.intake-dialog .field-grid>*{min-width:0;max-width:100%}
.intake-field input,.intake-field select,.intake-field textarea{box-sizing:border-box;min-width:0;max-width:100%;width:100%;font-size:1rem}
.intake-field input[type=date]{appearance:none;-webkit-appearance:none;min-height:46px}
.intake-field input[type=date]::-webkit-date-and-time-value{text-align:left;min-height:1.5em}
.intake-label label{min-width:0}.required-marker{font-size:12px;font-weight:500;color:var(--muted);margin-left:7px;white-space:nowrap}
.required-guide{font-size:14px;color:var(--muted);margin:12px 0 18px}
.requested-date-field .intake-field{margin-bottom:8px}.hard-date-choice{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap;margin-bottom:18px}
.hard-date-choice .check-field{margin:0;font-size:14px}.hard-date-choice input{width:auto}
.intake-sizing{border-top:1px solid var(--line);margin-top:16px;padding-top:12px}.intake-sizing h4{font-size:15px;margin:0 0 10px}
.validation-summary{border:1px solid currentColor;border-radius:6px;padding:12px 16px;margin:14px 0}.validation-summary p{margin:0 0 6px;font-weight:600}.validation-summary ul{margin:0;padding-left:20px}.validation-summary .text-button{text-align:left;color:inherit;text-decoration:underline}
[aria-invalid=true]{border-color:#ad3f32!important}
@media(max-width:600px){.intake-dialog .field-grid{grid-template-columns:minmax(0,1fr)}}

/* v32 confirmation and sizing decisions */
.confirmation-copy{white-space:pre-wrap;overflow-wrap:anywhere;font-size:.88rem;line-height:1.5}
.journey-sizing,.reference-card,.reply-change{border:1px solid var(--line,#ddd);border-radius:8px;padding:12px;margin:14px 0;min-width:0}
.reference-card img,.reference-card canvas{max-width:100%;height:auto}
#reference-dialog input[type=file]{width:100%;max-width:100%;min-width:0}
#operations-form .field-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr))}
#operations-form .field-grid .field{min-width:0}
#operations-form .field-grid input:not([type=checkbox]):not([type=radio]){box-sizing:border-box;min-width:0;width:100%;max-width:100%}
@media(max-width:560px){#operations-form .field-grid{grid-template-columns:minmax(0,1fr)}}
.next-action-card{margin-top:14px;padding-top:12px;border-top:1px solid #d8e3ea}.next-action-card>p{font-size:.875rem;color:var(--muted);margin:0 0 8px}.next-action-card>.button{width:100%;justify-content:flex-start;text-align:left;white-space:normal;line-height:1.45;font-size:1rem}.commission-attention{font-size:.875rem;min-height:40px;margin-top:6px;text-align:left}.drawer .compact-disclosure{margin:12px 0;padding:10px 0;border-top:1px solid var(--line)}.compact-disclosure>summary{font-size:.875rem;font-weight:600;cursor:pointer;min-height:36px;padding:6px 0}.compact-disclosure[open]>summary{margin-bottom:10px}.drawer .compact-disclosure .field{margin:12px 0}.drawer .item-card>[data-section^="piece-stage:"]{margin-top:8px}.drawer .item-card>[data-section^="spec:"]{margin-top:0}.drawer .section-status{font-size:.875rem;line-height:1.45}.drawer .job-flags{margin:8px 0}.drawer .design-facts{font-size:.875rem}.drawer .check-field{font-size:.875rem;min-height:40px}.drawer .disclosure>summary{overflow-wrap:anywhere}.drawer .compact-disclosure .action-wrap>.button{min-height:42px;font-size:.875rem}.drawer .item-card .preparation-checks,.drawer .item-card .design-checks{margin-top:12px}.drawer .commission-totals{font-variant-numeric:tabular-nums}.drawer .job-view-controls{display:flex;justify-content:flex-end}.drawer .job-view-controls .text-button{min-height:40px}.drawer .next-action-card .button:focus-visible{outline-offset:4px}
.header-planning-dates{font-size:.875rem;margin-top:4px}.header-planning-dates>summary{cursor:pointer;min-height:32px;padding:4px 0;color:var(--muted)}.header-planning-dates[open]>span{display:block;margin:4px 0 8px}.drawer .drawer-header{padding-top:20px;padding-bottom:18px}.drawer .commission-status{margin-top:12px}.drawer .commission-stage{margin-bottom:10px}
/* A short persistent identity strip; the full job summary scrolls normally. */
.job-sticky-header{position:sticky;top:0;z-index:4;background:#f9fbfc;border-bottom:1px solid var(--line);padding:16px 28px 14px}
.job-sticky-header .job-heading-line{margin:0;gap:10px;align-items:center;letter-spacing:normal}
.job-sticky-header #job-heading{font-size:22px;margin:0;min-width:0;flex:1;overflow-wrap:anywhere}
.job-sticky-header .icon-button{flex-shrink:0;margin:0 -8px 0 0}
.job-attention-button{font-size:13px;padding:7px 10px;min-height:40px;flex-shrink:0;color:#3e555e}
.job-attention-button.has-items{background:#fff0dc;border-color:#b96c21;color:#753a08}
.job-attention-button strong{min-width:20px;text-align:center;font-variant-numeric:tabular-nums}
.journey-progress{margin-top:10px;--progress-color:#927100}
.journey-progress[data-tone=red]{--progress-color:#b63340}.journey-progress[data-tone=orange]{--progress-color:#b45b0b}.journey-progress[data-tone=blue]{--progress-color:#2569a5}.journey-progress[data-tone=green]{--progress-color:#237052}.journey-progress[data-tone=neutral]{--progress-color:#67757d}
.journey-progress-label{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:13px;color:var(--progress-color);margin-bottom:6px}
.journey-progress-track{height:7px;border-radius:4px;background:#e1e6e9;overflow:hidden}.journey-progress-track>span{display:block;height:100%;background:var(--progress-color);border-radius:inherit}
.attention-dialog{width:540px}.outstanding-list{margin:0;padding:0;list-style:none;display:grid;gap:12px}.outstanding-list li{display:grid;gap:6px}.outstanding-list .warning-link{min-height:44px;text-align:left;white-space:normal}
#job-dialog [data-section]{scroll-margin-top:130px}
.change-log-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:16px 0}.change-log-filters .field{margin:0}.change-log-filters .full{grid-column:1/-1}
.history-meta{font-variant-numeric:tabular-nums}
@media(max-width:600px){.job-sticky-header{padding:12px 18px}.job-sticky-header #job-heading{font-size:20px}.job-attention-button{font-size:12px;padding:6px}.job-heading-line{flex-wrap:wrap}.journey-progress-label{font-size:12px}.change-log-filters{grid-template-columns:minmax(0,1fr)}}

/* Four quiet group headers; disclosures retain their own controls and open state. */
.job-detail-group{margin:0 0 28px;min-width:0}
.job-group-heading{font-size:1rem;font-weight:700;letter-spacing:.01em;margin:0 0 6px;padding:11px 12px;background:var(--ground);border-left:3px solid var(--accent);border-radius:0 5px 5px 0}
.job-detail-group>.disclosure{margin:0;padding:14px 0}
.job-detail-group>.section-title{margin-top:16px}
.time-zone-region{display:block;width:100%;min-width:0;margin:0 0 8px}
.time-zone-picker{min-width:0;max-width:100%}
.time-zone-picker input{width:100%;min-width:0}

.cancellation-badge{display:inline-block;vertical-align:middle;margin-left:10px;padding:4px 8px;border-radius:4px;background:#a22531;color:#fff;font-size:.75rem;font-weight:700;line-height:1.4;letter-spacing:.035em;white-space:nowrap}
/* v42 overview: shared action tray and visible half-day gaps. */
[data-business-hidden="true"]{display:none!important}
.business-alerts{background:#fff;border:1px solid #d7ddd9;border-radius:12px;margin:0 0 24px;overflow:hidden}.business-alerts>summary{display:flex;align-items:center;gap:15px;padding:18px 22px;cursor:pointer;list-style:none}.business-alerts>summary::-webkit-details-marker{display:none}.business-alerts summary strong{display:block;font-size:17px}.business-alerts summary small{display:block;color:#65716c;margin-top:3px}.alert-count{display:grid;place-items:center;min-width:45px;height:45px;background:#f8e7d8;border-radius:11px;font-size:21px;font-weight:700;color:#885222}.alert-count.clear{background:#e6f1e9;color:#2b6248}.details-arrow{margin-left:auto;font-size:24px}.business-alerts[open] .details-arrow{transform:rotate(180deg)}
.business-alert-list{padding:0 20px 12px}.business-alert-row{display:flex;align-items:center;gap:12px;padding:15px 0;border-top:1px solid #e5e9e5}.business-alert-row>div{flex:1;min-width:0}.business-alert-row strong,.business-alert-row span,.business-alert-row small{display:block}.business-alert-row span{margin:3px 0}.business-alert-row small{color:#68736e}.business-alert-row .button{flex:none}.business-clear{display:flex;gap:16px;padding:20px}.business-clear>span{color:#346a4d;font-size:26px}.business-clear p{margin:5px 0;color:#69736e}
.business-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;margin-bottom:28px}.business-metrics button{background:#fff;border:1px solid #dbe2dc;border-radius:11px;padding:19px;text-align:left;cursor:pointer;color:#293e36}.business-metrics strong{font-size:27px;display:block;margin-bottom:5px}.business-metrics span{color:#63716a;font-size:13px}
.business-calendar{background:#fff;border:1px solid #d7ddd9;border-radius:14px;padding:22px;margin-bottom:20px}.business-section-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:20px}.business-section-heading h2,.business-section-heading h3{margin:0 0 5px}.business-section-heading p{margin:0;font-size:13px;color:#65716d}.business-week{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:9px}.business-day{min-width:0}.business-day h3{font-size:12px;font-weight:600;min-height:42px;margin:0;padding:8px 3px;line-height:1.5}.business-day h3 span{display:block;font-size:10px;text-transform:uppercase;letter-spacing:.1em;color:#37664d}.business-day.is-today h3{box-shadow:inset 0 3px #477b5e}.business-slot{border:1px solid #dce3dd;border-radius:9px;min-height:115px;margin-bottom:9px;padding:10px;font-size:12px;overflow-wrap:anywhere}.business-slot .slot-period{font-size:10px;letter-spacing:.08em;color:#6b7870;display:block;margin-bottom:9px}.business-slot button{padding:0;background:transparent;border:none;cursor:pointer;width:100%;text-align:left;color:inherit;min-height:64px}.business-slot strong,.business-slot span,.business-slot small{display:block}.business-slot strong{font-size:12px;margin-bottom:5px}.business-slot button span{font-size:11px;line-height:1.35}.business-slot.is-booked{background:#edf1ec;color:#2b4838}.business-slot.is-free{background:#fbfdf9;border-style:dashed;color:#4a7757}.business-slot.is-unavailable{background:#f6f6f3;color:#89918a;border-color:#eeeeea}.unavailable-label{font-size:11px}.business-slot.is-booked small{font-size:10px;margin-top:6px}
.business-capacity-strip{display:flex;justify-content:space-between;align-items:center;gap:20px;border:1px solid #d7ddd9;border-radius:12px;padding:22px;background:#fff}.business-capacity-strip h3{margin:0 0 8px}.business-capacity-strip p{margin:0 0 8px}.business-capacity-strip small{color:#647168}.business-footer-note{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:16px 0}.business-capacity-result{border:1px solid #dddfd6;border-radius:10px;margin-top:20px;padding:18px;background:#faf9f4}.business-capacity-result.fits{background:#edf5ee;border-color:#c0d7c2}.business-capacity-result.unavailable{background:#f7e9e4;border-color:#e1bbaa}.business-capacity-result.review{background:#faf0de}.business-capacity-result>strong{font-size:18px}
.business-panel{border:1px solid #d9e0da;border-radius:10px;margin:16px 0;padding:18px;background:#fbfcf9}.business-panel h3{margin:0 0 12px;font-size:16px}.business-panel .business-section-heading{margin-bottom:8px}.business-state{font-size:11px;border-radius:5px;background:#e4eae3;padding:5px 8px;max-width:55%}.business-panel .subtle-note{margin:8px 0;line-height:1.6}.business-blocked{margin-top:13px;border-top:1px solid #dfe4dc;padding-top:12px}.business-blocked summary{cursor:pointer;color:#62563e}.business-piece-checks{border-top:1px solid #dce3dd;padding:13px 0;margin-top:12px}.business-piece-checks h5{margin:0 0 8px}.business-piece-checks p{font-size:13px;line-height:1.5}.business-note{border-top:1px solid #e0e5dd;padding:12px 0}.business-note p{white-space:pre-wrap;overflow-wrap:anywhere;margin:0 0 6px}.business-note small{color:#697368}.business-handover-piece{display:grid;grid-template-columns:1fr auto;gap:9px;padding:12px 0;border-top:1px solid #e0e5dd}.business-handover-piece p{grid-column:1/-1}.business-handover-piece .button{grid-column:1/-1;justify-self:start}.business-archive-row,.business-archive-heading{grid-template-columns:2fr 2fr 1fr auto!important}.business-archive-row small{display:block;color:#717a70;margin-top:5px}
.business-dialog{width:min(900px,94vw);max-height:90dvh;overflow:auto}.business-panel button{min-height:40px}
@media(max-width:1050px){.business-week{grid-template-columns:repeat(4,minmax(0,1fr))}.business-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.business-section-heading{flex-wrap:wrap}}
@media(max-width:650px){.business-week{grid-template-columns:repeat(2,minmax(0,1fr))}.business-calendar{padding:14px}.business-alerts>summary{padding:15px}.business-alerts summary small{font-size:11px}.business-metrics{gap:9px}.business-metrics button{padding:15px}.business-capacity-strip,.business-footer-note{flex-direction:column;align-items:flex-start}.business-section-heading .action-wrap{gap:5px}.business-section-heading .button{padding:8px;font-size:12px}.business-alert-row{flex-wrap:wrap}.business-alert-row>div{flex-basis:70%}.business-archive-row,.business-archive-heading{grid-template-columns:1.3fr 1fr!important}.business-archive-row>span{font-size:12px}.business-panel .business-section-heading{align-items:flex-start}.business-state{max-width:100%}.business-metrics span{font-size:12px}}



[data-business-hidden="true"]{display:none!important}

/* v42.2: concise availability and cumulative capacity, sharing the workshop plan. */
.availability-panel { margin:1rem 0; padding:1rem 1.15rem; border:1px solid #d7e0e4; border-radius:12px; background:#f7faf9; }
.availability-panel h3 { margin:0 0 .65rem; font-size:.82rem; letter-spacing:.06em; text-transform:uppercase; color:#566970; }
.availability-answer { display:flex; gap:.75rem; align-items:flex-start; }
.availability-answer strong { font-size:1.15rem; }
.availability-answer .subtle-note { margin:.25rem 0 .55rem; }
.availability-symbol { display:grid; place-items:center; flex:0 0 1.7rem; height:1.7rem; border-radius:50%; background:#e6ecef; font-weight:700; }
.availability-answer.is-fits .availability-symbol { color:#216344; background:#e0f0e7; }
.availability-answer.is-unavailable .availability-symbol { color:#923c32; background:#f7e6e1; }
.availability-answer.is-review .availability-symbol { color:#775018; background:#faf0d9; }
.availability-calculation { margin:.4rem 0 .6rem; }
.availability-calculation summary { cursor:pointer; font-size:.88rem; font-weight:600; }
.availability-calculation p { margin:.35rem 0; }
.availability-tools { margin-top:.55rem; }
.availability-missing { padding-left:2.45rem; }
.availability-missing p { margin:.15rem 0 .4rem; }
.capacity-ahead { margin:1.25rem 0; padding:1.25rem; border:1px solid #d7e0e4; border-radius:14px; background:#fff; }
.capacity-ahead h3 { margin:.2rem 0 .25rem; font-size:1.3rem; }
.capacity-ahead .eyebrow { font-size:.68rem; letter-spacing:.12em; }
.capacity-ahead .business-section-heading p { margin:.3rem 0 .8rem; }
.capacity-ahead-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:1rem; }
.capacity-period-card { display:flex; flex-direction:column; min-width:0; border:1px solid #dce4e6; border-radius:10px; background:#f8fafb; overflow:hidden; }
.capacity-period-heading { display:flex; align-items:center; gap:.65rem; min-height:4.5rem; padding:1rem 1rem .5rem; }
.capacity-period-heading label { flex:none; }
.capacity-period-heading select { width:auto; max-width:100%; min-width:0; min-height:2.6rem; padding:.5rem 2rem .5rem .7rem; border:1px solid #c5d1d6; border-radius:7px; background-color:#fff; color:inherit; font:inherit; font-size:.85rem; cursor:pointer; }
.capacity-period-heading select:focus-visible { outline:3px solid #8c714d; outline-offset:2px; }
.capacity-period { display:flex; flex:1; flex-direction:column; gap:.35rem; width:100%; text-align:left; padding:.3rem 1rem 1rem; border:0; border-radius:0 0 9px 9px; background:transparent; color:inherit; font:inherit; cursor:pointer; min-width:0; }
.capacity-period:hover { border-color:#8c714d; background:#f4f7f7; }
.capacity-period:focus-visible { outline:3px solid #8c714d; outline-offset:-3px; }
.capacity-period-title { font-size:.85rem; font-weight:600; }
.capacity-period strong { margin:.2rem 0 0; font-size:1.65rem; line-height:1.2; }
.capacity-period strong small { font-size:.7rem; font-weight:500; }
.capacity-period>span:not(.capacity-period-title) { font-size:.8rem; }
.capacity-period>small { font-size:.72rem; color:#64747c; }
.capacity-link { margin-top:.4rem; color:#775e3b; font-weight:600; }
.capacity-totals-detail { font-size:.85rem; margin-top:.65rem; }
.capacity-totals-detail summary { cursor:pointer; }
@media (max-width:520px) { .capacity-ahead-grid {grid-template-columns:1fr; gap:.7rem;} .capacity-ahead {padding:.8rem;} .capacity-period-heading {padding:.8rem .8rem .4rem; min-height:4rem;} .capacity-period {padding:.3rem .8rem .8rem;} }
/* v42.4 Waiting List Bespoke planning allowance. */
.waiting-capacity-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:.9rem 0 1rem;padding:.85rem;border:1px solid #dce4e6;border-radius:10px;background:#f8fafb}
.waiting-capacity-summary>div{display:flex;flex-direction:column;gap:.22rem;min-width:0;padding:.35rem .45rem}
.waiting-capacity-summary small{font-size:.7rem;letter-spacing:.04em;text-transform:uppercase;color:#667781}
.waiting-capacity-summary strong{font-size:1rem;line-height:1.3}
.waiting-capacity-summary span{font-size:.76rem;line-height:1.45;color:#64747c}
@media(max-width:760px){.waiting-capacity-summary{grid-template-columns:1fr}.waiting-capacity-summary>div{padding:.25rem}}
.workload-totals{grid-template-columns:repeat(4,minmax(0,1fr))}
.waiting-capacity-calendar{margin-top:-.25rem;margin-bottom:1rem}
@media(max-width:900px){.workload-totals{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.workload-totals{grid-template-columns:1fr}}

/* v42.9: all main and secondary choices stay within the available width. */
.page-heading{margin-bottom:12px}
.workspace-tools{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:6px 22px;margin:0 0 12px}
.workspace-tools .text-button{min-height:44px;font-size:14px;white-space:normal}
.main-tabs{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:6px;max-width:100%;margin:0;border-bottom:1px solid var(--line);padding:0 0 10px;overflow:visible}
.main-tabs button{display:flex;justify-content:center;align-items:center;min-width:0;min-height:48px;padding:11px 8px;border:0;border-radius:7px;background:transparent;color:#526674;font-size:15px;font-weight:550;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.main-tabs button:hover{background:#e6edf1}
.main-tabs button[aria-current=page]{background:var(--ink);color:white}
.section-tabs{margin:14px 0 0;padding:6px;border:1px solid var(--line);border-radius:8px;background:#eaf0f3}
.section-tabs>div{display:flex;flex-wrap:wrap;gap:5px}
.section-tabs button{display:flex;flex:1 1 145px;align-items:center;justify-content:center;gap:6px;min-width:0;min-height:46px;padding:10px;border:0;border-radius:5px;background:transparent;color:#526674;font-size:14px;line-height:1.3;white-space:normal;overflow-wrap:anywhere}
.section-tabs button[aria-current=page]{background:white;color:var(--ink);box-shadow:0 1px 4px #20304016;font-weight:600}
.section-tabs button span{flex-shrink:0;font-size:12px;color:#64727c}
.main-tabs button:focus-visible,.section-tabs button:focus-visible,.workspace-tools button:focus-visible{outline:3px solid var(--focus);outline-offset:2px}
.calendar-page{margin-top:22px}
@media(max-width:900px){.main-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:540px){.main-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.workspace-tools{justify-content:flex-start;gap:4px 18px;margin:0 0 16px}.section-tabs>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.section-tabs button{padding:10px 6px}.page-actions{flex-wrap:wrap}.page-actions .button{white-space:normal}}

/* v42.10: stable identity row above one independently scrolling job-detail area. */
#job-dialog[open]{display:flex;flex-direction:column;overflow:hidden;min-height:0}
#job-dialog .job-sticky-header{position:relative;top:auto;flex:0 0 auto}
#job-dialog .job-scroll{flex:1 1 auto;min-height:0;overflow-y:auto;overscroll-behavior:contain;overflow-anchor:none;-webkit-overflow-scrolling:touch}
#job-dialog [data-section]{scroll-margin-top:14px}
.intake-choices{display:grid;gap:14px}.intake-choice{border:1px solid var(--line);border-radius:8px;padding:16px}.intake-choice h3{margin:0 0 6px;font-size:17px}.intake-choice p{margin:0 0 14px;color:var(--muted);font-size:14px}
/* Production reporting extends the existing workshop palette. */
.production-actions{display:flex;justify-content:space-between;align-items:center;gap:1rem;flex-wrap:wrap;margin:1.5rem 0 1rem}
.production-actions h2{margin:0}.production-controls{display:grid;grid-template-columns:repeat(4,minmax(0,1fr)) auto;align-items:end;gap:1rem}
.production-filter-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1rem;margin:1rem 0}
.production-filters,.production-extra,.production-detail{margin:1rem 0;padding:1rem;border:1px solid #b6c5cd;border-radius:8px;background:#fff}
#production-report summary{cursor:pointer;font-weight:600;font-size:1rem}#production-report .field{min-width:0}#production-report select,#production-report input{width:100%;min-width:0;font-size:1rem}
.production-basis,.production-generated{font-size:.875rem;color:#4b5f69;overflow-wrap:anywhere}
.production-totals{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;margin:1rem 0}.production-totals article{padding:1.1rem;background:#182832;color:#fff;border-radius:8px}.production-totals span,.production-totals small{display:block;font-size:.875rem}.production-totals strong{display:block;font-size:1.8rem;margin:.5rem 0}.production-totals small{color:#e0e8ec;line-height:1.5}
.production-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}.production-breakdown{background:#fff;border:1px solid #d4dde1;border-radius:8px;padding:1rem;min-width:0}.production-breakdown h3{margin:0 0 .8rem;font-size:1.1rem}.production-breakdown table{width:100%;border-collapse:collapse;font-size:.95rem}.production-breakdown th,.production-breakdown td{text-align:right;padding:.6rem .3rem;border-bottom:1px solid #e3e8eb}.production-breakdown th:first-child,.production-breakdown td:first-child{text-align:left;overflow-wrap:anywhere}.production-breakdown .text-button{font-size:1rem;text-align:left;white-space:normal}
.production-trend,.production-time{background:#fff;border:1px solid #d4dde1;border-radius:8px;padding:1rem;margin:1rem 0}.production-months{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem}.production-months>div{display:grid;grid-template-columns:auto 1fr 2rem;align-items:center;gap:.6rem;font-size:.95rem}.production-months meter{width:100%;min-width:0;height:1rem}.production-pieces article{display:grid;grid-template-columns:2fr 1fr 1.5fr;gap:1rem;padding:1rem 0;border-bottom:1px solid #d4dde1;overflow-wrap:anywhere}.production-pieces p,.production-pieces span{display:block;font-size:.875rem;margin:.35rem 0;color:#4b5f69}.production-piece{padding:1rem 0;border-bottom:1px solid #d4dde1}.production-piece h4{margin-bottom:.4rem}
@media(max-width:800px){.production-controls,.production-filter-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.production-months{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.production-grid,.production-controls,.production-filter-grid,.production-months,.production-pieces article{grid-template-columns:1fr}.production-totals{grid-template-columns:1fr}.production-totals strong{font-size:1.4rem}.production-actions>div{display:flex;gap:.5rem;flex-wrap:wrap}}
@media print{body.printing-production>*:not(#workspace){display:none!important}body.printing-production #workspace>*:not(#production-report){display:none!important}body.printing-production #production-report{display:block!important}body.printing-production #production-controls,body.printing-production .production-actions button,body.printing-production .production-detail,body.printing-production .production-extra{display:none!important}body.printing-production .production-totals article{color:#000;background:white;border:1px solid #aaa}body.printing-production .production-totals small{color:#333}body.printing-production .production-breakdown,body.printing-production .production-time{break-inside:avoid}body.printing-production .production-grid{grid-template-columns:1fr 1fr}body.printing-production .production-generated{display:block}body.printing-production{background:#fff!important}}

#production-report .subtle-note{font-size:.875rem}#production-report .field-label{font-size:.875rem}.production-totals article{min-width:0}.production-totals strong{overflow-wrap:anywhere}

/* v42.12: one guided opening view, with the original editors retained below. */
.has-job-guide .journey-progress{display:none}
.job-guide{padding:22px 28px 10px;color:var(--ink);overflow-wrap:anywhere}
.guide-reference{display:flex;flex-wrap:wrap;gap:10px;align-items:center;font-size:.85rem;color:var(--muted)}
.guide-reference span{padding:4px 9px;border-radius:20px;background:#e9eef0;color:#334c50;font-weight:600}
.guide-pieces{margin:9px 0 20px;font-size:.95rem}
.guide-next{padding:20px;background:#f0f5f3;border:1px solid #cbd9d1;border-radius:10px}
.guide-eyebrow{margin:0 0 6px;text-transform:uppercase;letter-spacing:.09em;font-size:.72rem;color:#476258;font-weight:700}
.guide-next h3{margin:0 0 16px;font-size:1.2rem;line-height:1.4}
.guide-primary{max-width:100%;white-space:normal;text-align:left}
.guide-requirements{padding:0;list-style:none;margin:14px 0 0}.guide-requirements li{display:flex;align-items:baseline;gap:7px;padding:3px 0}.guide-requirements button{text-align:left;line-height:1.5}
.guide-next .subtle-note{margin-bottom:0;font-size:.8rem}
.guide-known{padding:22px 0}.guide-section-heading{display:flex;gap:8px;justify-content:space-between;align-items:baseline;flex-wrap:wrap}.guide-section-heading h3{margin:0;font-size:1.1rem}.guide-section-heading>span{font-size:.75rem;color:var(--muted)}
.guide-known dl{margin:14px 0}.guide-fact{display:grid;grid-template-columns:minmax(100px,1fr) minmax(0,2fr);gap:8px;padding:10px 0;border-bottom:1px solid var(--line);font-size:.875rem}.guide-fact dt{font-weight:600}.guide-fact dd{margin:0;white-space:pre-wrap}.guide-fact small{display:block;color:var(--muted);margin-top:4px}.guide-fact button{font-size:.8rem;min-height:32px;display:block}
.guide-links{display:flex;flex-wrap:wrap;gap:8px 20px;margin-top:10px}.guide-links button{min-height:40px;text-align:left}
.guide-more>summary{cursor:pointer;padding:10px 0;font-size:.85rem;font-weight:600;min-height:40px;box-sizing:border-box}.guide-more{margin-top:8px}
.guide-meeting{border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:16px 0}.guide-meeting>summary{cursor:pointer;font-size:1.1rem;font-weight:600;min-height:40px}.guide-meeting>summary small{display:block;margin:8px 0 0 18px;font-size:.8rem;font-weight:400;color:var(--muted)}
.guide-question-list{padding:0;margin:12px 0;list-style:none}.guide-question{padding:18px 0;border-bottom:1px solid var(--line)}.guide-question:last-child{border:0}.guide-question-heading{display:flex;align-items:baseline;gap:8px;flex-wrap:wrap}.guide-question h4{font-size:.95rem;line-height:1.4;flex:1;min-width:150px;margin:0}.guide-check{color:#61756c}.guide-status{font-size:.72rem;background:#eef0f2;border-radius:4px;padding:4px 7px;color:#4d5e66}.is-resolved .guide-status{background:#e7f1e9;color:#386745}.guide-question>p{font-size:.85rem;line-height:1.5;color:var(--muted);margin:8px 0 6px 24px}.guide-question blockquote{white-space:pre-wrap;font-size:.875rem;margin:12px 0 6px 24px;border-left:3px solid #c8d3ce;padding:4px 12px}.guide-note-by{display:block;margin-left:24px;font-size:.75rem;color:var(--muted)}.guide-question-actions{display:flex;flex-wrap:wrap;gap:8px 20px;margin:7px 0 0 24px}.guide-question-actions button{min-height:40px;text-align:left}.guide-question .guide-stale{color:#8a530d}.guide-meeting-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:15px}.guide-meeting-actions button{white-space:normal;text-align:left}.guide-complete{font-size:.9rem;color:#386745}
.guide-privacy{border-left:3px solid #b88636;padding:12px 16px;background:#fff8eb;margin:0 0 18px;font-size:.875rem}.guide-privacy p{margin:8px 0;white-space:pre-wrap}
.has-job-guide .job-view-controls{margin:0 28px;justify-content:flex-end}.job-full-record{margin:0 28px 28px;border-top:1px solid var(--line)}.job-full-record>summary{padding:18px 0;font-size:1.05rem;font-weight:600;cursor:pointer}.job-full-record>summary>span{display:block;font-size:.8rem;font-weight:400;color:var(--muted);margin:7px 0 0 18px}.job-full-record .drawer-header{padding:0 0 14px}.job-full-record .drawer-header>.eyebrow,.job-full-record .drawer-header>.commission-status,.job-full-record .drawer-header>.privacy-note{display:none}.job-full-record .drawer-body{padding:0}.guide-back{min-height:40px;margin:0 0 12px}
@media(max-width:600px){.job-guide{padding:18px 18px 10px}.guide-next{padding:16px}.guide-next h3{font-size:1.1rem}.job-full-record{margin:0 18px 22px}.has-job-guide .job-view-controls{margin:0 18px}.guide-fact{grid-template-columns:1fr;gap:5px}.guide-question h4{min-width:130px}.guide-question-heading{row-gap:8px}.guide-status{margin-left:24px}.guide-question-actions{gap:5px 15px}}

/* v42.13: a short action list and separate, contextual editors. */
.guide-topline{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;flex-wrap:wrap}.guide-topline>.text-button{min-height:40px;font-weight:600}
.guide-focused .guide-privacy.compact{display:flex;align-items:baseline;gap:8px 12px;flex-wrap:wrap;padding:10px 12px;margin-bottom:18px;font-size:.875rem}.guide-privacy.compact span{flex:1;min-width:140px}.guide-privacy.compact button{min-height:32px}
.guide-stage{display:flex;flex-direction:column;gap:5px;margin:0 0 20px;font-size:.875rem}.guide-stage>span{color:var(--muted)}.guide-stage strong{font-size:1rem;font-weight:500}
.guide-focused .guide-next{padding:0;background:none;border:0;border-radius:0}.guide-focused .guide-next h3{font-size:1.2rem;margin-bottom:12px}.guide-actions{list-style:none;margin:0;padding:0;border:1px solid #ccd8de;border-radius:9px;overflow:hidden}.guide-actions>li{display:flex;gap:13px;padding:17px 18px;background:#f4f8fa;border-bottom:1px solid #d9e2e7}.guide-actions>li:last-child{border-bottom:0}.guide-step-number{width:25px;height:25px;flex:0 0 25px;border:1px solid #b7c8d0;border-radius:50%;display:grid;place-items:center;font-size:.8rem;color:#3e5864;background:#fff}.guide-actions>li>div{min-width:0;flex:1}.guide-actions h4{font-size:1rem;line-height:1.4;margin:0 0 5px}.guide-actions small{display:block;color:var(--muted);font-size:.8rem;margin-bottom:10px}.guide-actions button{max-width:100%;white-space:normal;text-align:left;min-height:42px}
.guide-focused .guide-known{padding:24px 0 8px}.guide-piece-summary{padding:16px 0;border-bottom:1px solid var(--line)}.guide-piece-summary:last-child{border:0}.guide-piece-summary h4{margin:0 0 5px;font-size:1rem}.guide-piece-summary>p{font-size:.875rem;margin:5px 0 10px;line-height:1.5}.guide-piece-summary dl{margin:10px 0;font-size:.875rem}.guide-piece-summary dl>div{display:grid;grid-template-columns:130px minmax(0,1fr);gap:10px;padding:5px 0}.guide-piece-summary dt{color:var(--muted)}.guide-piece-summary dd{margin:0}.guide-piece-summary .guide-approval{font-size:.8rem;color:var(--muted)}.guide-brief-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;white-space:pre-wrap}.guide-piece-actions{display:flex;flex-wrap:wrap;gap:0 18px}.guide-piece-actions button{min-height:40px;text-align:left;font-size:.875rem}
.guide-focused .guide-meeting{padding:13px 0;border-bottom:0}.guide-focused .guide-meeting>summary{font-size:1rem;line-height:1.4}.guide-focused .guide-meeting>summary small{font-size:.8rem;line-height:1.4;margin-top:5px}.guide-focused .guide-question>p,.guide-focused .guide-question blockquote,.guide-focused .guide-note-by,.guide-focused .guide-question-actions{margin-left:0}.guide-focused .guide-question h4{font-size:.95rem}.guide-focused .guide-status{margin-left:0}.guide-focused .guide-requirements li{padding:12px 0;border-bottom:1px solid var(--line)}.guide-focused .guide-requirements li>div>span{display:block;font-size:.9rem}.guide-focused .guide-requirements button{display:block;min-height:40px}.guide-extra-actions{display:flex;flex-wrap:wrap;gap:10px;margin:15px 0}.guide-extra-actions button{white-space:normal;text-align:left}.guide-optional p{font-size:.875rem;white-space:pre-wrap;line-height:1.5}.guide-footer-actions{padding:20px 0 12px;display:flex;align-items:center;flex-wrap:wrap;gap:10px 18px}.guide-footer-actions span{font-size:.8rem;color:var(--muted);width:100%}
.guide-editor-context{color:var(--muted);font-size:.9rem;line-height:1.5;margin:0 0 20px;overflow-wrap:anywhere}.focus-action-list{display:flex;flex-direction:column;align-items:stretch;gap:12px;margin:20px 0}.focus-action-list button{text-align:left;justify-content:flex-start;white-space:normal;min-height:44px}.focus-facts{display:grid;grid-template-columns:1fr 1fr;gap:12px;font-size:1rem}.focus-facts dd{margin:0;text-align:right;font-weight:600}.focus-components{list-style:none;padding:0}.focus-components li{display:flex;gap:12px;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--line)}.focus-components span{font-size:.875rem;color:var(--muted)}
@media(max-width:600px){.guide-focused .guide-actions>li{padding:15px 12px;gap:10px}.guide-actions h4{font-size:.95rem}.guide-piece-summary dl>div{grid-template-columns:110px minmax(0,1fr)}.guide-focused .guide-topline{gap:2px 10px;margin-bottom:12px}.guide-editor-context{font-size:.875rem}.guide-footer-actions>.button{width:100%}}

/* Completed facts reopen their owning editors. */
.guide-completed{list-style:none;padding:0;margin:16px 0 0;border-top:1px solid var(--line)}
.guide-completed-row{width:100%;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:11px 0;text-align:left;background:none;border:0;border-bottom:1px solid var(--line);color:var(--ink);font:inherit;font-size:.875rem;cursor:pointer}
.guide-completed-row>span:first-child{min-width:0;overflow-wrap:anywhere}.guide-completed-state{white-space:nowrap;font-size:.875rem;color:#466150}.guide-completed-row:hover{background:#f2f6f8}.guide-completed-row:focus-visible{outline:2px solid #365f75;outline-offset:3px}
.saved-design-routes p{margin:6px 0}.saved-design-routes{margin:10px 0 16px}

/* v42.19: one stable details surface, with ordinary editors placed in their section. */
#job-dialog.record-mode {width:min(1080px,100vw);max-width:100vw}
#job-dialog.record-mode .job-guide,#job-dialog:not(.record-mode) .job-full-record {display:none}
#job-dialog .job-full-record {border:0;padding:0;margin:0}
#job-dialog .job-full-record>.drawer-body {padding:0}
.record-toolbar {display:flex;align-items:center;flex-wrap:wrap;gap:12px;padding:18px 24px;background:#f5f6f4;border-bottom:1px solid #d9dfdf}
.record-toolbar[hidden] {display:none}
.record-toolbar>div {flex:1}.record-toolbar h3{margin:0 0 4px}.record-toolbar>div>span{font-size:13px;color:#53616a}
.record-jump{display:flex;align-items:center;gap:12px;width:100%;font-size:13px}.record-jump select{flex:1;min-width:0;min-height:44px}
.record-sections{padding:16px 24px 32px;display:grid;gap:12px}
.record-section{border:1px solid #d5dcdc;border-radius:10px;background:#fff;overflow:clip}
.record-section>summary{display:flex;justify-content:space-between;align-items:center;gap:12px;min-height:60px;padding:14px 18px;cursor:pointer;font-weight:650;list-style:none}
.record-section>summary::before{content:'›';color:#57736d;font-size:22px}.record-section[open]>summary::before{content:'⌄'}
.record-section>summary>span{flex:1}.record-section>summary small{font-size:12px;max-width:45%;text-align:right;font-weight:400;color:#53616a}
.record-section[open]>summary{background:#f1f5f3;border-bottom:1px solid #d5dcdc}
.record-section-body{padding:18px;display:grid;gap:16px}.record-section-body>.disclosure,.record-section-body>.business-panel{margin:0}
.record-piece{border-bottom:1px solid #e1e6e3;padding:0 0 16px;min-width:0}.record-piece>h4{font-size:17px;margin:0 0 12px}.record-piece:last-child{border:0}
.record-piece .item-card{padding:0;border:0;box-shadow:none;margin:12px 0}.record-field-summary{margin:12px 0}.record-field-summary .button{margin:4px 6px 4px 0}
.record-extra-actions{display:flex;flex-wrap:wrap;gap:8px}.record-section [data-section],.record-section,.record-inline-editor{scroll-margin-top:12px}
#job-dialog .record-inline-editor[open]{display:block;position:relative;inset:auto;transform:none;box-sizing:border-box;width:100%;max-width:none;max-height:none;height:auto;margin:16px 0;padding:18px;background:#f7f9f7;border:1px solid #a7bcb3;border-radius:8px;box-shadow:none;overflow:visible;z-index:auto}
.record-inline-editor::backdrop{display:none}.record-inline-editor .dialog-topline{position:static;background:transparent;padding:0;margin-bottom:12px}.record-inline-editor h2{font-size:20px}.record-inline-editor .form-actions{position:static;background:transparent;flex-wrap:wrap}
.record-unavailable[aria-disabled=true]{color:#52606a;background:#edf0ee;border-color:#d2d8d5;opacity:1;cursor:help}.record-unavailable::after{content:' · Why?';font-size:12px}
.record-highlight{outline:2px solid #9fbcae;outline-offset:3px}.record-section:focus{outline:2px solid #497b6a}.record-section-body:empty{display:none}
@media(max-width:600px){#job-dialog.record-mode{width:100vw;height:var(--dialog-viewport-height,100dvh);max-height:var(--dialog-viewport-height,100dvh);border-radius:0}.record-toolbar{padding:12px 16px}.record-sections{padding:12px 12px 24px}.record-section-body{padding:12px}.record-section>summary{padding:12px;flex-wrap:wrap;gap:8px}.record-section>summary small{max-width:100%;width:100%;text-align:left;padding-left:20px}#job-dialog .record-inline-editor[open]{padding:12px}.record-inline-editor .field-grid{grid-template-columns:1fr}.record-section input,.record-section select,.record-section textarea{max-width:100%;min-width:0}.record-section .action-wrap{flex-wrap:wrap}.record-toolbar .button{min-height:44px}}

/* Compact customer measurement rows, separate from the job's working size. */
.size-record {margin: .75rem 0; border:1px solid var(--line,#d9dfdf);border-radius:.5rem;padding:.75rem;}
.size-record summary {cursor:pointer;font-weight:600;line-height:1.5;}
.size-record summary span {display:block;font-weight:400;color:var(--muted,#58666e);}
.size-record[open] > .field-grid {margin-top:1rem;}
.customer-job-sizing {margin:1rem 0;}
#customer-dialog > form > details {margin:.75rem 0;}
#customer-dialog .dialog-topline{position:sticky;top:-20px;z-index:3;background:var(--paper);padding:14px 0;border-bottom:1px solid var(--line);}
#customer-dialog [data-size-id]{scroll-margin-top:90px;}
.guide-piece-summary dd small{display:block;margin-top:.15rem;font-size:.875rem;color:var(--muted);}
#customer-sizes{scroll-margin-top:90px;}
#customer-dialog .dialog-topline .icon-button{flex-shrink:0;}

.confirmation-guidance{margin:1rem 0}.confirmation-guidance>summary{font-weight:600;cursor:pointer}.confirmation-guidance-row{padding:.65rem 0;border-bottom:1px solid var(--line)}.confirmation-guidance-row>details{margin:.3rem 0 .5rem 1.75rem}.confirmation-guidance .check-field{margin-bottom:.3rem}.confirmation-guidance textarea{min-height:8rem}

/* v42.22 shared job record */
.toast[popover]{transform:none;position:fixed;inset:auto 16px 16px auto;margin:0;max-width:min(560px,calc(100vw - 32px));border:0;overflow-wrap:anywhere}.toast[popover]::backdrop{background:transparent}
.address-preview{white-space:pre-line;overflow-wrap:anywhere;padding:12px;background:#f3f6f5;border-radius:8px}.linked-contact{padding:8px 0}.linked-contact .subtle-note{overflow-wrap:anywhere}.contact-overrides,.customer-addresses{grid-column:1/-1}.customer-addresses{margin:18px 0;padding:12px;border:1px solid var(--line);border-radius:8px}.customer-addresses details{margin:12px 0}.record-price-summary{font-size:14px;color:var(--muted)}[data-shipping-fields]{grid-column:1/-1}

/* Country/time-zone guidance stays with its field on narrow screens. */
.country-hint,.time-zone-hint{display:block;color:var(--muted,#66757a);font-size:.85rem;line-height:1.45;margin-top:.4rem;white-space:normal;overflow-wrap:anywhere}
.time-zone-exception{display:block;text-align:left;margin-top:.35rem}

/* Shared order editor: full-width controls stay usable on narrow phones. */
.order-edit-row.job-row{grid-template-columns:38px minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) 110px}
.order-edit-row.list-heading{grid-template-columns:38px minmax(0,1.5fr) minmax(0,1fr) minmax(0,1fr) 110px}
.order-edit-row.list-heading>span:last-child{display:none}
.order-edit-row .queue-controls{grid-column:2/-1;grid-row:auto;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.order-edit-row .queue-controls button{width:44px;min-height:44px}
.order-edit-row .position-move{display:flex;align-items:end;gap:8px;margin-left:8px}
.position-move label{font-size:12px;color:var(--muted)}
.position-move input{display:block;width:78px;min-height:44px;border:1px solid var(--line);border-radius:5px;padding:8px;font-size:16px;background:white}
.order-edit-row .position-move button{width:auto;padding:8px 14px;font-size:14px}
@media(max-width:740px){
 .order-edit-row.job-row{grid-template-columns:24px minmax(0,1fr);gap:10px;padding:16px}
 .order-edit-row .queue-number{grid-column:1;grid-row:1}
 .order-edit-row .job-main{grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere}
 .order-edit-row .job-status{grid-column:2;grid-row:2}
 .order-edit-row .job-attention{grid-column:2;grid-row:3}
 .order-edit-row .job-date{grid-column:2;grid-row:4;text-align:left}
 .order-edit-row .queue-controls{grid-column:1/-1;grid-row:5;justify-content:flex-start}
}

.queue-actions.is-editing{position:sticky;top:8px;z-index:5;box-shadow:0 4px 14px #18283218}
@media(max-width:430px){.order-edit-row .queue-controls{gap:6px}.order-edit-row .position-move{margin-left:0;gap:6px}.position-move input{width:68px}.order-edit-row .position-move button{padding:8px 11px}}

/* v42.27 meeting flow */
.guide-actions{list-style:none;padding:0}.guide-actions>li{display:block}.meeting-check{width:100%;min-width:0}.meeting-check>summary{cursor:pointer;font-weight:650;padding:12px 0}.meeting-check:not([open])>summary{font-weight:500}.meeting-check>div,.meeting-check>p{padding:4px 0}.meeting-design-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.meeting-design-fields [data-ring-options]{display:contents}.guide-brief-excerpt{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.job-guide .record-inline-editor{width:100%;max-width:100%;box-sizing:border-box}.signature-editor-preview img{max-width:160px;height:auto}@media(max-width:550px){.meeting-design-fields{grid-template-columns:1fr}}

/* v42.28 meeting selections */
.meeting-next{padding:14px 16px;border-left:3px solid #b98d4f;background:#f8f5ef;margin:12px 0}.meeting-next>span{display:block;font-size:.75rem;color:var(--muted);margin-bottom:5px}.meeting-next>strong{font-size:.95rem;line-height:1.5}.meeting-flow-list{list-style:none;padding:0;margin:14px 0;border:1px solid var(--line);border-radius:8px;overflow:hidden}.meeting-flow-list>li{display:block!important;padding:0!important;background:#fff!important;border-bottom:1px solid var(--line)}.meeting-flow-list>li:last-child{border:0}.meeting-flow-list .meeting-check{width:100%;padding:14px 16px}.meeting-flow-list .meeting-check>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;cursor:pointer;line-height:1.45}.meeting-flow-list .meeting-check>summary>span:first-child{flex:1}.meeting-state{font-size:.72rem;font-weight:500;padding:4px 7px;background:#edf1f4;border-radius:5px;flex-shrink:0;max-width:45%}.is-meeting-complete .meeting-state{background:#e9f2e9;color:#315a38}.meeting-current-value{font-size:.875rem;white-space:pre-wrap;line-height:1.55;color:var(--muted);margin:12px 0}.meeting-row-actions{display:flex;flex-wrap:wrap;gap:8px}.meeting-row-actions button{min-height:40px;white-space:normal;text-align:left}.meeting-people p{margin:0 0 10px}.meeting-follow-summary{padding:12px 0}.meeting-follow-summary p{font-size:.875rem;line-height:1.5}.meeting-follow-summary button{font-size:.8rem;min-height:32px;padding:5px 10px}.meeting-completed-heading{font-size:.9rem;margin:22px 0 8px}.meeting-extra-note{margin-top:12px}.meeting-follow-fields{margin:12px 0}.meeting-extra-note>summary{font-size:.875rem;cursor:pointer}.meeting-flow-list .record-inline-editor{max-width:100%;box-sizing:border-box}.meeting-flow-list .meeting-check .form-actions{flex-wrap:wrap}.meeting-flow-list .meeting-check[open]>summary{margin-bottom:12px}@media(max-width:450px){.meeting-flow-list .meeting-check{padding:12px}.meeting-flow-list .meeting-check>summary{align-items:flex-start;flex-direction:column;gap:5px}.meeting-state{max-width:100%}.meeting-row-actions{gap:6px}.meeting-row-actions .button{font-size:.8rem}.meeting-follow-summary p .button{display:block;margin-top:6px}}

/* v42.33: accepted confirmation comparison, readable at narrow widths. */
.order-changes{margin:0 0 1.2rem;padding:1rem;border:1px solid var(--line,#c9cbc6);border-radius:8px;background:var(--paper,#fff)}
.order-changes h3{margin:0 0 .5rem}.order-change-group{margin:1rem 0}.order-change-group h4{margin:0;padding:.5rem 0;border-bottom:1px solid var(--line,#c9cbc6)}
.order-change{padding:.8rem 0;border-bottom:1px solid var(--line,#dedfd9);min-width:0}.order-change dl{display:grid;grid-template-columns:1fr 1fr;gap:.8rem;margin:.5rem 0}.order-change dl>div{min-width:0}.order-change dt{font-size:.8rem;color:var(--muted,#5b625a)}.order-change dd{margin:.25rem 0 0;white-space:pre-wrap;overflow-wrap:anywhere}.order-change dl>div:last-child{border-left:3px solid var(--accent,#586d61);padding-left:.75rem}
@media(max-width:560px){.order-change dl{grid-template-columns:1fr}.order-changes{padding:.75rem}.order-change dl>div:last-child{border-left:0;padding-left:0}.order-change-group h4{overflow-wrap:anywhere}}

.order-record-notes{margin:1rem 0;overflow-wrap:anywhere}.order-record-notes h4{margin:0 0 .5rem}

/* v42.34: a general overview, with an explicit meeting view. */
.job-overview{padding:22px 28px;display:grid;gap:22px;min-width:0}
.job-overview h3{margin:0 0 12px}.job-overview p{margin:7px 0}
.job-overview section{border-top:1px solid var(--line,#d7d7d0);padding-top:18px;min-width:0}
.job-overview .guide-piece-summary{padding:10px 0}.job-overview .guide-piece-summary h4{margin:8px 0}
.overview-next{display:grid;gap:8px}.overview-next>span{color:var(--muted,#555)}.overview-next button{font-size:1.15rem;font-weight:650;text-align:left}
.overview-meeting{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.overview-meeting>span{font-size:.9rem;color:var(--muted,#555)}
.overview-warning{display:block;width:100%;text-align:left;padding:12px;margin:8px 0;border:1px solid #b4a189;border-radius:6px;background:#faf5ed;color:inherit;font:inherit;cursor:pointer}.overview-warning small{display:block;margin-top:5px}
.job-overview button,.job-guide .guide-piece-summary button,.job-guide .meeting-current-value button{white-space:normal;overflow-wrap:anywhere;text-align:left}
#job-dialog.record-mode .job-overview,#job-dialog.meeting-mode .job-overview,#job-dialog:not(.meeting-mode) .job-guide{display:none}
.quote-version-change,.quote-reply-summary{border-top:1px solid var(--line,#d7d7d0);margin-top:16px;padding-top:12px}.quote-workflow .action-wrap{gap:8px}
@media(max-width:600px){.job-overview{padding:16px;gap:18px}.overview-meeting{align-items:flex-start;flex-direction:column}.job-overview .guide-topline{flex-wrap:wrap;gap:10px}.job-guide .guide-topline{flex-wrap:wrap;gap:10px}}

.job-overview .guide-piece-summary .text-button,.job-guide .guide-piece-summary .text-button{font:inherit;color:var(--link,#315d73)}

/* v42.35: compact grouped meetings and a single price/materials record. */
.job-guide .guide-known[hidden]{display:none!important}
.meeting-piece-group{margin:1.4rem 0}.meeting-piece-group>h4{margin:0 0 .65rem;font-size:1.1rem}
.meeting-piece-group .meeting-flow-list{list-style:none;padding:0;margin:0;border:1px solid var(--line,#d9dddd);border-radius:12px;overflow:hidden}
.meeting-piece-group .meeting-check{border:0;border-radius:0;margin:0}.meeting-piece-group li+li{border-top:1px solid var(--line,#d9dddd)}
.meeting-outcome{width:100%;padding-top:1rem;border-top:1px solid var(--line,#d9dddd)}
.piece-price-table{width:100%;table-layout:fixed;border-collapse:collapse;font-size:.88rem}.piece-price-table th,.piece-price-table td{padding:.6rem .25rem;border-bottom:1px solid var(--line,#d9dddd);text-align:right;overflow-wrap:anywhere;vertical-align:top}.piece-price-table th:first-child{width:38%;text-align:left}.piece-price-table tfoot{font-weight:600}.piece-price-table small{display:block}.record-price-breakdown h3{font-size:1rem}.material-status{font-weight:600}.material-extra-controls{margin-top:.75rem}.overview-people p{margin:.4rem 0}.overview-people small{display:block;color:var(--muted,#637176)}
.job-action-list{list-style:none;padding:0;margin:.65rem 0}.job-action-list li+li{margin-top:.5rem}.job-action-list button{width:100%;text-align:left;white-space:normal;overflow-wrap:anywhere}.job-action-list small{display:block;margin-top:.25rem}.overview-next-actions{border-left:3px solid #b29160;padding-left:1rem;margin:1rem 0}.overview-next-actions h3{margin-top:0}.record-meeting-note{padding:.55rem 0}.record-meeting-note h5{margin:.2rem 0}.quote-record-actions{margin-top:1rem}
@media(max-width:420px){.piece-price-table{font-size:.77rem}.piece-price-table th:first-child{width:34%}.record-section-body{min-width:0}.meeting-row-actions{gap:.5rem}}
.meeting-piece-group .is-meeting-complete>summary{display:flex;flex-wrap:wrap;gap:.35rem .7rem;padding:.65rem .8rem;align-items:center;justify-content:space-between;min-height:0}.meeting-piece-group .meeting-state{font-size:.75rem;padding:.2rem .4rem}.planning-dates{display:grid;gap:.65rem}.planning-dates>div{display:grid;gap:.15rem}.planning-dates dt{font-size:.85rem;color:var(--muted,#637176)}.planning-dates dd{margin:0;font-weight:600}

@media(max-width:480px){
 .piece-price-table,.piece-price-table tbody,.piece-price-table tfoot{display:block;width:100%}
 .piece-price-table thead{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
 .piece-price-table tr{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.65rem .2rem;padding:.75rem 0;border-bottom:1px solid var(--line,#d9dddd)}
 .piece-price-table th:first-child{grid-column:1/-1;width:auto;padding:0;font-size:.9rem;border:0}
 .piece-price-table td{padding:0;border:0;text-align:left;font-size:.75rem;white-space:nowrap;overflow-wrap:normal}
 .piece-price-table td::before{content:attr(data-label);display:block;font-size:.7rem;font-weight:400;color:var(--muted,#637176);margin-bottom:.25rem}
 .piece-price-table tfoot tr{border-bottom:0}
}

/* v42.36: retain task subjects without clipping phone-width action labels. */
.meeting-follow-summary button,.outstanding-list button{white-space:normal;overflow-wrap:anywhere;height:auto;max-height:none;line-height:1.4;text-align:left;max-width:100%;}

/* Keep customer names readable beside actions on the smallest phones. */
@media(max-width:360px){.job-sticky-header .job-heading-line{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px}.job-sticky-header #job-heading{grid-column:1;grid-row:1}.job-sticky-header .job-attention-button{grid-column:1;grid-row:2;justify-self:start}.job-sticky-header .job-heading-line>.icon-button{grid-column:2;grid-row:1}}

/* v42.39: compact overview and five consistent information homes. */
.overview-completion{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:.35rem 1rem;padding:.75rem 1rem;background:#f0f4f2;border-radius:8px}
.overview-completion>span{font-size:.875rem;color:var(--muted)}.overview-completion button{font-weight:650;padding:0;min-height:32px}
.job-overview .overview-next-actions{margin:0;border-top:0;padding-top:0}.overview-primary>button{font-size:1rem;font-weight:650;min-height:44px;width:100%;text-align:left;white-space:normal}.overview-blockers{margin-top:.65rem}.overview-blockers>summary{color:var(--muted);font-size:.875rem;cursor:pointer;padding:.35rem 0}.overview-blockers .job-action-list{margin:.35rem 0}
.job-overview .overview-people{padding-top:.9rem}.overview-people h3,.overview-brief h3{font-size:.875rem;color:var(--muted);font-weight:600}.overview-people p{display:flex;flex-wrap:wrap;align-items:baseline;gap:0 .7rem;margin:0}.overview-people small{font-size:.8rem}.overview-people .text-button{min-height:36px}.overview-people>button{font-size:.8rem}
.overview-piece{padding:.4rem 0}.overview-piece+.overview-piece{border-top:1px solid var(--line)}.overview-piece h4{margin:0}.overview-piece h4 button{font:inherit;min-height:36px}.job-overview .overview-piece p{margin:0}.overview-piece p button{font-size:.85rem;min-height:30px;padding:0}
.overview-sections{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}.overview-section-link{position:relative;display:flex;flex-direction:column;gap:.4rem;align-items:flex-start;background:#fff;border:1px solid var(--line);border-radius:8px;padding:1rem 2rem 1rem 1rem;cursor:pointer;min-width:0;color:var(--ink);font:inherit}.overview-section-link>span:not(.overview-link-arrow){color:var(--muted);font-size:.8rem;line-height:1.5}.overview-link-arrow{position:absolute;right:12px;top:14px;font-size:1.4rem;color:#57736d}.overview-section-link:hover{background:#f2f6f4}.overview-section-link:focus-visible{outline:2px solid #497b6a;outline-offset:2px}
.record-history-body{display:grid;gap:1rem;padding-top:1rem}.record-workshop-piece{border-top:1px solid var(--line);padding-top:1rem}.record-history>summary{padding:.75rem 0;cursor:pointer}
@media(max-width:600px){.job-overview{gap:16px}.overview-sections{grid-template-columns:1fr}.overview-section-link{padding:.8rem 2rem .8rem .8rem}.overview-completion{padding:.65rem .8rem}.overview-people p{display:block}.overview-people small{margin-bottom:.2rem}.overview-next-actions .overview-warning{padding:.65rem}.overview-blockers .job-action-list button{font-size:.875rem}}

.overview-other{margin-top:.75rem}.overview-other h4{margin:.25rem 0;font-size:.8rem;font-weight:500;color:var(--muted)}.overview-other .job-action-list button{font-size:.875rem}
.job-overview .guide-topline{margin-bottom:0}.job-overview .guide-privacy{display:flex;align-items:baseline;flex-wrap:wrap;gap:.3rem .5rem}.job-overview .guide-privacy button{padding:0;min-height:30px}

/* v42.40: drawing-led opening view; full record is the menu for all details. */
#job-heading .overview-customer-name{font:inherit;font-weight:inherit;text-align:left;padding:0;white-space:normal;line-height:1.25;color:inherit}
#job-dialog:not(.record-mode):not(.meeting-mode) .journey-progress{display:none}
.overview-drawing-link{display:block;width:100%;padding:8px;border:1px solid var(--line);border-radius:10px;background:#fafbf9;cursor:pointer;color:var(--ink);font:inherit;min-height:92px;text-align:center}
.overview-drawing-link [data-overview-preview]{display:block;max-height:260px;overflow:auto}
.overview-drawing-link img,.overview-drawing-link canvas{display:block;max-width:100%;max-height:240px;width:auto;height:auto;object-fit:contain;margin:auto}
.overview-drawing-link:focus-visible{outline:2px solid #497b6a;outline-offset:3px}
.overview-specs{display:flex;flex-wrap:wrap;gap:0 12px}.overview-specs button{min-height:36px;font-size:.9rem;padding:0;text-align:left;white-space:normal;overflow-wrap:anywhere}
.overview-design-description button{white-space:normal;text-align:left;line-height:1.5}
.job-overview .overview-completion{background:transparent;padding:.6rem 0 0;margin:0;justify-content:flex-start;font-size:.85rem}
.job-overview .overview-completion button{font-weight:500;font-size:inherit}
.overview-action-row{display:flex;gap:10px;align-items:stretch}.overview-action-row .overview-primary{flex:1;min-width:0}.overview-action-row [data-overview-full]{flex:0 0 auto}
.overview-action-row .overview-primary button{border:1px solid #233c43;background:#203840;color:white;border-radius:8px;padding:12px;height:100%}
.overview-goal{font-size:.8rem;color:var(--muted);margin:.45rem 0 0}.job-overview .overview-meeting{margin-top:-.5rem}.contact-details-list p{margin:.25rem 0;overflow-wrap:anywhere}.contact-roles{border-top:1px solid var(--line);padding-top:1rem}
.storage-advice{margin:12px 20px}.storage-advice[hidden]{display:none}.recovery-copy p{overflow-wrap:anywhere}
@media(max-width:420px){.overview-action-row{flex-direction:column}.overview-action-row [data-overview-full]{align-self:flex-start}.overview-drawing-link [data-overview-preview]{max-height:210px}.overview-drawing-link img,.overview-drawing-link canvas{max-height:195px}}

/* v42.41 contextual navigation and readable notes */
.overview-design-description .text-button,.record-sections .subtle-note,.meeting-current-value,.record-meeting-note p{white-space:pre-line;overflow-wrap:anywhere}.overview-contact-warning{display:block;background:#fff1dd;color:#733d09;border:1px solid #c88336;border-radius:6px;padding:.4rem .65rem;text-align:left;max-width:100%;cursor:pointer}.overview-identity{font-size:.78rem;color:var(--muted,#686868);margin:.2rem 0}.record-sections [data-record-section]{scroll-margin-top:1rem}.finished-approval{margin:.7rem 0}.save-recovery-actions{display:flex;flex-wrap:wrap;gap:.5rem;margin:.75rem 0}

/* v42.42: readable identity, with notices scrolling as part of the job. */
#job-dialog {position:relative}
#job-dialog .job-sticky-header {position:static;padding-right:64px}
#job-dialog .job-heading-line {display:grid;grid-template-columns:minmax(0,1fr);gap:10px;align-items:start}
#job-dialog .job-heading-line #job-heading {grid-column:1;grid-row:auto;width:100%;padding:0;overflow-wrap:break-word}
#job-dialog .overview-identity {grid-column:1;margin:0}
#job-dialog .overview-contact-warning {grid-column:1;width:fit-content;max-width:100%}
#job-dialog .job-heading-line > .icon-button {position:absolute;top:14px;right:16px;margin:0;z-index:5;background:#f9fbfc;border:1px solid var(--line);grid-column:auto;grid-row:auto}
#job-dialog .job-heading-line > :not(.icon-button) {min-width:0;max-width:100%}

/* v42.43: routine workshop controls stay visible, secondary actions stay compact. */
#job-dialog summary{cursor:pointer}
.making-placement{border:1px solid #bccac6;border-radius:12px;padding:20px;margin:16px 0;background:#f5f8f6}
.making-placement>h3{margin:0 0 14px;font-size:1.15rem}
.making-placement .queue-membership,.making-placement .board-selection{margin:0;padding:12px 0;background:transparent;border:0;border-bottom:1px solid #d9e0dc;border-radius:0}
.making-piece{padding:16px 0;border-bottom:1px solid #d9e0dc}
.making-piece:last-child{border-bottom:0}
.making-piece h4{margin:0 0 12px}
.next-making-stage{margin-bottom:16px}
.rare-job-actions{margin-top:8px}
.rare-job-actions>summary{font-weight:normal}
.placement-choices{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin:20px 0}
.timing-review-actions{padding:16px 0;border-top:1px solid #ddd}
.production-piece{margin-top:16px}

/* v42.44: primary action first, visible progress, and compact readiness summaries. */
.job-overview{grid-template-areas:'next' 'drawing' 'brief' 'meeting'}
.job-overview .overview-next-actions{grid-area:next;padding:16px;border:1px solid #cad6d0;border-left:3px solid #497b6a;border-radius:8px;background:#f5f8f6}
.overview-drawing{grid-area:drawing}.overview-brief{grid-area:brief}.overview-meeting{grid-area:meeting}
.job-overview .overview-drawing{border-top:0;padding-top:0}
.overview-goal{font-size:.9rem;line-height:1.5}
@media(min-width:900px){.job-overview{grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-areas:'next drawing' 'brief brief' 'meeting meeting';align-items:start}.overview-action-row{flex-wrap:wrap}.overview-action-row .overview-primary{flex-basis:100%}}
.making-placement{padding:16px;margin:0;background:#f5f8f6;border-radius:8px}
.making-current-stage{margin:0 0 12px;font-size:1rem}
.making-piece{padding:14px 0}.making-piece h4{margin-bottom:6px}
.making-stage-controls{display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px}
.making-stage-controls .next-making-stage{margin:0;min-height:44px}
.making-stage-controls>.field{flex:1;min-width:min(100%,240px);margin:0}
.workshop-placement-summary{border-top:1px solid #cdd9d2;padding-top:14px;margin-top:4px}
.workshop-placement-summary h4{margin:0 0 8px}.workshop-placement-summary p{display:inline-block;margin:0 20px 6px 0;font-size:.9rem}
.workshop-placement-summary>button{display:block;min-height:44px}
.handover-readiness>h3{margin-top:0}.handover-readiness-piece{padding:12px 0;border-bottom:1px solid var(--line)}
.handover-readiness-piece h4{margin:0 0 8px}.handover-readiness-piece dl{margin:8px 0 14px}
.handover-readiness-piece dl>div{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:12px;padding:6px 0}
.handover-readiness-piece dt{font-weight:500}.handover-readiness-piece dd{margin:0;overflow-wrap:anywhere}
.handover-readiness-piece .needs-attention dd{font-weight:600;color:#714c16}.ready-status{color:#285d46;font-weight:600}
.record-section-body>.business-panel,.record-section-body>.record-price-breakdown{border:0;border-radius:0;padding:8px 0;background:transparent}
.record-field-summary.work-instructions{padding-bottom:14px;border-bottom:1px solid var(--line)}
.work-instructions h4{margin:0 0 6px}.work-instructions p{white-space:pre-line;overflow-wrap:anywhere}
.meeting-summary-value{display:block;margin-top:4px;font-size:.85rem;font-weight:400;line-height:1.45;color:var(--muted,#58656a);overflow-wrap:anywhere}
#job-dialog summary{min-height:36px}
#job-dialog summary:hover{color:#315d4c}
#job-dialog summary:focus-visible,#job-dialog .text-button:focus-visible{outline:2px solid #497b6a;outline-offset:3px;border-radius:3px}
@media(pointer:coarse){#job-dialog summary,#job-dialog .text-button{min-height:44px}}
@media(max-width:600px){.making-placement{padding:12px}.making-stage-controls{align-items:stretch}.making-stage-controls>.field,.making-stage-controls>.next-making-stage{width:100%}.handover-readiness-piece dl>div{grid-template-columns:1fr;gap:3px}.workshop-placement-summary p{display:block;margin-right:0}.job-overview .overview-next-actions{padding:12px}}
.overview-without-drawing{grid-template-columns:minmax(0,1fr);grid-template-areas:'next' 'brief' 'meeting'}
.stage-correction{font-size:.85rem;min-height:36px;margin-top:8px}
.backup-summary{display:grid;grid-template-columns:minmax(120px,1fr) minmax(0,2fr);gap:8px 16px;margin:18px 0}
.backup-summary dt{font-weight:600}.backup-summary dd{margin:0;overflow-wrap:anywhere}
@media(max-width:440px){.backup-summary{grid-template-columns:minmax(0,1fr);gap:3px}.backup-summary dd{margin-bottom:8px}}

/* v42.45: progressive customer enquiry, one piece at a time. */
#intake-dialog .intake-guided-form { display: grid; gap: 1.5rem; }
#intake-dialog .intake-guided-form[hidden], #intake-dialog [data-guided-pieces][hidden], #intake-dialog [data-message-references][hidden], #intake-dialog [data-personalisation][hidden], #intake-dialog [data-answer-actions][hidden], #intake-dialog [data-intake-review-preview][hidden] { display: none; }
#intake-dialog .intake-guided-contact, #intake-dialog .intake-guided-plans, #intake-dialog .intake-guided-final { min-width: 0; }
#intake-dialog .intake-radio-group { border: 0; padding: 0; margin: 1rem 0; min-width: 0; }
#intake-dialog .intake-radio-group legend { font-weight: 600; margin-bottom: .6rem; }
#intake-dialog .intake-radio-options { display: flex; flex-wrap: wrap; gap: .6rem; }
#intake-dialog .intake-radio-options label { display: flex; align-items: center; gap: .5rem; border: 1px solid #b6c4be; border-radius: .6rem; padding: .65rem .8rem; cursor: pointer; min-height: 44px; }
#intake-dialog .intake-radio-options label:has(input:checked) { background: #edf4f0; border-color: #38644f; }
#intake-dialog .intake-radio-options input { width: 1.1rem; height: 1.1rem; flex: 0 0 auto; margin: 0; }
#intake-dialog .intake-guided-piece { border: 1px solid #b6c4be; border-radius: .75rem; margin: .8rem 0; overflow: clip; }
#intake-dialog .intake-guided-piece > summary { padding: 1rem; cursor: pointer; background: #f2f6f3; }
#intake-dialog .intake-guided-piece > summary strong { overflow-wrap: anywhere; }
#intake-dialog [data-piece-summary] { display: block; font-size: .875rem; color: #4c5c55; margin-top: .25rem; overflow-wrap: anywhere; }
#intake-dialog .intake-piece-content { padding: 1rem; }
#intake-dialog .intake-guided-form .disclosure { margin: .85rem 0; }
#intake-dialog .intake-guided-form summary { cursor: pointer; }
#intake-dialog .intake-guided-form .intake-field { min-width: 0; }
#intake-dialog .intake-piece-actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 1rem; }
#intake-dialog .intake-add-piece { padding: .5rem 0 1rem; }
#intake-dialog .intake-add-piece p { margin: .5rem 0; }
#intake-dialog .intake-signature-link { font-size: .9rem; margin: .5rem 0 1rem; }
#intake-dialog .intake-signature-link a { color: #245b44; text-decoration: underline; }
#intake-dialog .intake-surprise-choice { margin: 1rem 0; }
#intake-dialog .intake-reference-card { border: 1px solid #d1dad5; border-radius: .5rem; padding: .6rem; margin: .5rem 0; }
#intake-dialog .intake-reference-card summary { display: flex; gap: .75rem; align-items: center; cursor: pointer; overflow-wrap: anywhere; }
#intake-dialog .intake-reference-card summary small { display: block; }
#intake-dialog .intake-reference-thumb { display: flex; flex: 0 0 72px; align-items: center; justify-content: center; min-height: 50px; }
#intake-dialog .intake-reference-large { padding-top: .75rem; }
#intake-dialog .intake-reference-large img { max-width: 100%; }
#intake-dialog .intake-reference-section input[type=file] { max-width: 100%; }
#intake-dialog .intake-check-answers { outline: none; }
#intake-dialog .intake-check-answers .intake-answer-record { white-space: pre-wrap; overflow-wrap: anywhere; }
@media (max-width: 600px) {
 #intake-dialog .intake-radio-options { flex-direction: column; }
 #intake-dialog .intake-radio-options label { width: 100%; }
 #intake-dialog .intake-piece-content { padding: .8rem; }
 #intake-dialog .intake-guided-form .field-grid { grid-template-columns: minmax(0, 1fr); }
}

/* v42.47: editors respond to their available width, including beside a meeting. */
.field-grid,.drawer .field-grid,.intake-dialog .field-grid,.record-inline-editor .field-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr))}
.field-grid>*{min-width:0;max-width:100%}
.field-grid>.full,.field-grid>.field.full,.field-grid>.subtle-note,.field-grid>.check-field{grid-column:1/-1}
.field-grid>.subtle-note{margin-top:0}
:where(.modal,.drawer,.record-inline-editor) .field-label{overflow-wrap:anywhere}
.modal .check-field,.drawer .check-field,.record-inline-editor .check-field{min-height:44px;align-items:center;cursor:pointer}
:is(#operations-form,.record-inline-editor,.intake-dialog,.drawer) input:is([type=checkbox],[type=radio]){width:1.1rem;min-width:1.1rem;max-width:1.1rem;height:1.1rem;min-height:1.1rem;flex:0 0 1.1rem;padding:0;margin:0;cursor:pointer}
:where(.modal,.drawer,.record-inline-editor) .form-actions{flex-wrap:wrap;gap:10px}
:where(.modal,.drawer,.record-inline-editor) .form-actions .button{white-space:normal;max-width:100%;overflow-wrap:anywhere}
:where(.modal,.record-inline-editor) .dialog-topline{align-items:flex-start}
:where(.modal,.record-inline-editor) .dialog-topline>h2{min-width:0;overflow-wrap:anywhere}
:where(.modal,.record-inline-editor) .dialog-topline>.icon-button{flex-shrink:0}
.record-section-body,.record-sections,.job-guide,.meeting-piece-group,.record-inline-editor form{min-width:0}
.meeting-design-fields{grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr))}
.form-collection{grid-template-columns:repeat(auto-fit,minmax(min(100%,125px),1fr))}
.planning-timing-explanation p{margin:0}.planning-reserve{min-width:0}
.intake-legacy-notes{font-size:.9rem;white-space:pre-wrap;overflow-wrap:anywhere}
/* Keep the size and fraction together without forcing either beyond its container. */
.uk-size-field{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,7.5rem);gap:10px;min-width:0}
.uk-size-field>.field{min-width:0;margin:0}.uk-size-field>.subtle-note{grid-column:1/-1;margin:0}
.uk-size-field select{width:100%;min-width:0}
/* Discussion reminders remain visible and can be marked directly. */
.meeting-advice-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:12px;flex-wrap:wrap}
.meeting-advice-heading>h5{flex:1 1 15rem;font-size:1rem;line-height:1.45;margin:0}
.meeting-record-status{display:flex;flex-direction:column;align-items:flex-start;gap:2px;max-width:100%;min-width:0}
.meeting-record-status .meeting-state{max-width:100%;white-space:normal}
.meeting-record-status .meeting-record-button{font-size:.8rem;font-weight:400;line-height:1.4;min-height:32px;text-align:left;white-space:normal;padding:3px 0}
.meeting-reminders{padding-left:1.25rem;margin:12px 0;font-size:.9rem;line-height:1.55}
.meeting-reminders li+li{margin-top:6px}
.meeting-flow-list .meeting-reminders>li{display:list-item!important;padding:0!important;background:transparent!important;border:0}
.meeting-explained-control{min-height:44px;margin:8px 0 0;font-size:.9rem;align-items:center}
.meeting-explained-control input{flex-shrink:0}
.meeting-topic-edit{min-height:44px}
.meeting-flow-list .meeting-check>summary>span:first-child{min-width:0}
.meeting-check:not([open])>summary .meeting-summary-value{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.meeting-check[open]>summary .meeting-summary-value{display:block;-webkit-line-clamp:unset;overflow:visible}
@media(max-width:600px){.meeting-flow-list .meeting-check>summary{flex-wrap:wrap;align-items:flex-start}.meeting-flow-list .meeting-check>summary>span:first-child{flex-basis:100%}.meeting-record-status{width:100%}}
@media(pointer:coarse){.meeting-record-status .meeting-record-button{min-height:44px}}
/* Quote areas hold potential pieces; versions and additions remain separate cards. */
.design-quotes,.dq-group,.dq-variant,.dq-complication,.dq-step{min-width:0;max-width:100%}
.design-quotes{display:grid;gap:16px}
.dq-group{border:1px solid #b6c7bd;border-radius:10px;padding:16px;background:#f9fbfa}
.dq-group>h3,.dq-group>h4,.dq-variant>h4,.dq-complication>h4{margin:0 0 12px;overflow-wrap:anywhere}
.dq-variant,.dq-complication{border:1px solid var(--line);border-radius:8px;padding:14px;margin:12px 0;background:white}
.dq-choice-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,12rem),1fr));gap:8px}
.dq-choice-grid>.check-field{padding:8px;border:1px solid #c6d1cc;border-radius:6px;min-height:44px}
.dq-choice-grid>.check-field:has(input:checked){background:#edf4f0;border-color:#38644f}
.dq-field-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,18rem),1fr));gap:14px;align-items:start}
.dq-field-grid>*{min-width:0;max-width:100%}.dq-field-grid>.full,.dq-field-grid>.field.full,.dq-field-grid>.check-field,.dq-field-grid>.subtle-note{grid-column:1/-1}
.design-quotes .field{display:block;margin:14px 0}
.design-quotes .dq-field-grid>.field{margin:0}
.design-quotes fieldset{min-width:0;margin:12px 0;padding:12px;border:1px solid #c6d1cc;border-radius:6px}
.design-quotes legend{padding:0 5px;font-size:.9rem;font-weight:600}
.dq-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.dq-actions>.button{max-width:100%;white-space:normal;overflow-wrap:anywhere;min-height:44px}
.dq-step{margin:16px 0}.dq-step>summary{cursor:pointer;min-height:44px}
.dq-summary{font-size:.9rem;line-height:1.55;overflow-wrap:anywhere;white-space:pre-line}
.dq-summary+.dq-summary{border-top:1px solid var(--line);margin-top:10px;padding-top:10px}
.dq-summary .subtle-note{font-size:.875rem;margin:6px 0}
.design-quotes [data-dq-action^="remove-"]{border-color:transparent;background:transparent;color:var(--muted);font-weight:400;font-size:.85rem;padding:6px 0;min-height:36px;text-decoration:underline;text-underline-offset:3px}
.design-quotes [data-dq-action^="remove-"]:hover{color:#8b2b35}
.dq-total{margin:12px 0;font-size:1rem;font-weight:650;font-variant-numeric:tabular-nums}
@media(max-width:600px){.dq-group,.dq-variant,.dq-complication{padding:12px}.dq-actions>.button{flex:1 1 12rem}}
.selected-quote-record{padding:14px;border:1px solid var(--line);border-radius:8px;background:#f8faf8;overflow-wrap:anywhere}
.selected-quote-record h4{margin:0 0 8px}.selected-quote-record p{font-size:.9rem;line-height:1.5}
.selected-quote-record dl{margin:12px 0}.selected-quote-record dl>div{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:8px;margin:6px 0}
.selected-quote-record dt{color:var(--muted);font-size:.85rem}.selected-quote-record dd{margin:0;font-size:.9rem}
.selected-quote-record ul{margin:12px 0;padding-left:20px;font-size:.9rem}.selected-quote-record li+li{margin-top:8px}.selected-quote-record li>span{display:block;color:var(--muted);font-size:.85rem}
@media(max-width:600px){.selected-quote-record dl>div{grid-template-columns:1fr;gap:2px}}
