/* Work screens share one rhythm: context, useful action, compact rows, optional detail. */
.work-panel{min-width:0;border:1px solid var(--line);border-radius:16px;background:var(--card,#fff);overflow:hidden}
.work-panel>.section-head{padding:12px 16px;margin:0;gap:8px;align-items:center}
.work-panel>.section-head h2{font-size:17px;margin:0}
.work-panel>.small{margin:2px 16px 12px}
.work-count{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 6px;border-radius:8px;background:var(--bg,#f4f3ed);font-size:12px;font-weight:600;vertical-align:middle;color:var(--muted)}
.work-route-icon{display:inline-grid;place-items:center;width:38px;height:38px;flex:none;border-radius:11px;background:var(--bg,#f4f3ed);color:var(--ink)}
.work-route-icon>.icon{width:21px;height:21px}
.work-next{display:flex;align-items:center;gap:12px;margin-bottom:16px;padding:14px 16px;background:#e9efd8;border:1px solid #d8e1c5;border-radius:16px}
.work-next>.work-route-icon{background:#d7e8a9}
.work-next>div{flex:1;min-width:0}.work-next strong{font-size:15px}.work-next p{margin:4px 0 0;color:var(--muted);font-size:13px;line-height:1.4}.work-next>.btn{flex:none;min-height:44px}
.work-overview-grid{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(300px,1fr);gap:16px;align-items:start}
.work-overview-main,.work-overview-side{display:grid;gap:14px;min-width:0}
.work-route-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}
.work-route{display:flex;align-items:center;gap:10px;min-width:0;min-height:90px;padding:14px;text-align:left;border:0;background:transparent;color:var(--ink)}
.work-route:nth-child(odd){border-right:1px solid var(--line)}.work-route:nth-child(-n+2){border-bottom:1px solid var(--line)}
.work-route>span:nth-child(2){flex:1;min-width:0}.work-route strong,.work-route small{display:block;overflow-wrap:anywhere}
.work-route strong{font-size:14px;line-height:1.35}.work-route small{color:var(--muted);font-size:12px;line-height:1.4;margin-top:4px;font-variant-numeric:tabular-nums}
.work-route>.icon,.work-room-entry>.icon,.work-upcoming>.icon:last-child{width:16px;height:16px;flex:none;color:var(--muted)}
.work-room-entry{display:flex;align-items:center;gap:12px;width:100%;min-width:0;padding:10px 16px;text-align:left;color:var(--ink);background:transparent;border:0;border-top:1px solid var(--line)}
.work-room-entry>span:nth-child(2){min-width:0;flex:1}.work-room-entry strong,.work-room-entry small{display:block;overflow-wrap:anywhere}.work-room-entry strong{font-size:14px;line-height:1.4}.work-room-entry small{font-size:12px;color:var(--muted);margin-top:3px;line-height:1.4}
.work-overview-rooms .work-add-row{width:100%;min-height:46px;justify-content:flex-start;padding-inline:16px;border-top:1px solid var(--line);border-radius:0;font-size:13px}
.work-object-info>.ux-data{margin:0 16px 10px}.work-object-info .ux-data>div{grid-template-columns:94px minmax(0,1fr);font-size:13px;padding:6px 0;gap:10px}.work-object-info .ux-data dt{font-size:12px}
.work-object-info .project-cover-overview{width:100px;margin:0 16px 8px 10px}.work-object-info>.work-disclosure{clear:both;border-top:1px solid var(--line)}
.work-object-task{padding:0 16px;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.work-object-actions{display:grid;grid-template-columns:1fr 1fr;padding:8px}.work-object-actions .btn{justify-content:flex-start;white-space:normal;text-align:left;min-height:44px;font-size:12px;padding:8px;gap:8px}
.work-disclosure>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:52px;padding:12px 16px;font-size:14px;font-weight:600;cursor:pointer;list-style:none}
.work-disclosure>summary::-webkit-details-marker{display:none}.work-disclosure>summary>span{display:flex;align-items:center;gap:10px;min-width:0}.work-disclosure>summary>.icon{width:17px;height:17px;flex:none;transition:transform .18s ease;color:var(--muted)}
.work-disclosure[open]>summary>.icon{transform:rotate(90deg)}.work-disclosure[open]>summary{border-bottom:1px solid var(--line)}
.work-disclosure-body{padding:12px 16px;min-width:0}.work-disclosure-body>.ux-data{margin:0}.work-disclosure-body>.small:first-child{margin-top:0}
.work-upcoming{display:flex;align-items:center;gap:12px;text-align:left;padding:12px 16px;border:1px solid var(--line);border-radius:14px;background:#fff;color:var(--ink);min-width:0}
.work-upcoming>span{min-width:0;flex:1}.work-upcoming small,.work-upcoming strong{display:block}.work-upcoming small{font-size:12px;color:var(--muted);margin-bottom:3px}.work-upcoming strong{font-size:14px;overflow-wrap:anywhere}
.work-projects>.section-head{margin-bottom:10px}.work-projects .ux-list-tools{margin-bottom:10px;gap:8px}.work-projects .ux-list-tools>.btn{font-size:12px;min-height:44px}
.work-projects .ux-search-tools{position:relative;margin-bottom:12px;align-items:start}
.work-search{display:flex;align-items:center;gap:8px;min-width:0;min-height:46px;padding:0 12px;background:#fff;border:1px solid var(--line);border-radius:12px}
.work-search>.icon{width:18px;height:18px;flex:none;color:var(--muted)}.work-search>input{min-width:0;width:100%;height:44px;border:0;border-radius:0;background:transparent;padding:0;font:inherit;font-size:14px;color:var(--ink);outline:none}
.work-search:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.work-projects .ux-filters,.work-projects .ux-filters[open]{width:auto;min-width:110px;padding:0;border:0;background:transparent}
.work-projects .ux-filters>summary,.work-projects .ux-filters[open]>summary{display:flex;gap:6px;padding:0 10px;min-height:46px;height:auto;border:1px solid var(--line);border-radius:12px;font-size:13px;list-style:none}
.work-projects .ux-filters>summary::-webkit-details-marker{display:none}.work-projects .ux-filters>summary>.icon{width:18px;height:18px}
.work-projects .ux-filters[open]>summary{background:var(--tint,#edf3dc);border-color:#9ead76}
.work-projects .ux-filter-fields{width:350px;top:54px;max-height:min(68dvh,650px);padding:0 16px;background:#fff;border-radius:16px;overscroll-behavior:contain;box-shadow:0 8px 30px #20282920}
.work-filter-title{display:flex;justify-content:space-between;align-items:center;gap:8px;position:sticky;top:0;z-index:2;background:#fff;padding:8px 0;border-bottom:1px solid var(--line);margin-bottom:12px}.work-filter-title strong{font-size:15px}.work-filter-title .btn{min-height:44px}
.work-projects .project-filter-footer{position:sticky;bottom:0;background:#fff;display:flex;justify-content:space-between;gap:8px;margin-top:14px;padding:10px 0;border-top:1px solid var(--line)}
.work-projects .project-filter-footer>.btn{min-height:44px;font-size:13px;padding:0 14px}.work-projects .project-employee-filter>div>label{min-height:44px}
.work-projects .ux-project-row{border-radius:14px;padding:10px 12px;gap:10px}.work-projects .ux-project-open .project-cover{width:72px;aspect-ratio:1.2;border-radius:10px}.work-projects .ux-project-open{padding:0;min-height:54px}
.work-projects .ux-project-side small{color:var(--muted);font-size:11px}.work-projects .ux-project-side>strong{font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.work-projects .ux-results-count{margin:10px 2px}
.work-rooms .work-room-card{border-radius:14px;min-height:88px}.work-rooms .work-room-copy strong{font-size:15px}.work-rooms .work-room-copy small{font-size:12px;line-height:1.4}
.work-rooms .work-room-heading>span:last-child .icon{width:17px;height:17px}.work-rooms .work-room-heading>.space-cover{border-radius:10px}
.work-space>.section-head{margin-bottom:10px;align-items:center}.work-space .space-breadcrumb{margin-bottom:2px}.work-space .space-room-heading h2{font-size:22px}.work-space .space-room-heading p{font-size:12px;margin-top:4px}
.space-project-link{display:none}
.work-space .space-plan-card{padding:10px 14px;margin:12px 0;border-radius:14px;gap:12px}.work-space .space-plan-card .mini-plan{width:70px;height:54px}.work-space .space-plan-card strong{font-size:14px}
.work-space .space-passport-geometry{margin:10px 0}.work-space .space-metrics{padding:12px 0;gap:10px}.work-space .space-metrics dt{font-size:11px;margin-bottom:4px}.work-space .space-metrics dd{font-size:18px}
.work-space-tools{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:12px 0}.work-space-tools>.btn{min-height:44px;font-size:13px}.work-space-tools>.btn.primary{flex:1 1 auto;max-width:240px}
.work-space .work-surfaces-head{margin:14px 0 8px}.work-space .space-section-title{margin:0;font-size:16px}
.work-space .work-surface-list{gap:8px}.work-space .work-surface-card{border-radius:14px;background:#fff;overflow:visible}.work-space .work-surface-row{padding:10px 12px;min-height:70px;border-radius:14px 14px 0 0}
.work-space .work-surface-copy strong{font-size:14px}.work-space .work-surface-copy small{font-size:12px;line-height:1.4}.work-space .work-surface-shortcuts{display:flex;justify-content:space-between;align-items:start;padding:0 8px;border-top:1px solid var(--line);gap:6px}
.work-space .work-surface-shortcuts>.btn{min-height:44px;font-size:12px;padding:6px 10px}.work-surface-menu{margin-left:auto;max-width:100%;min-width:68px}
.work-surface-menu>summary{display:flex;align-items:center;justify-content:flex-end;gap:6px;list-style:none;cursor:pointer;min-height:44px;padding:0 10px;font-size:12px;color:var(--muted)}.work-surface-menu>summary::-webkit-details-marker{display:none}.work-surface-menu>summary>span{font-size:20px;line-height:1}
.work-surface-menu[open]>summary{color:var(--ink);background:var(--bg);border-radius:8px}.work-surface-menu>div{display:grid;gap:0;padding-bottom:6px}.work-surface-menu .btn{justify-content:flex-start;text-align:left;min-height:44px;white-space:normal;font-size:12px}
.work-space .space-assemble{margin:10px 0;gap:8px}.work-space .space-assemble p{font-size:12px}.work-space .space-assemble>.btn{font-size:13px}
.work-space-panels{display:grid;gap:8px;margin-top:16px}.space-panel>summary{min-height:68px;padding:12px 14px}.space-panel-heading{flex:1}.space-panel-heading>span:nth-child(2){min-width:0;flex:1}.space-panel-heading strong,.space-panel-heading small{display:block;overflow-wrap:anywhere}.space-panel-heading strong{font-size:14px}.space-panel-heading small{font-size:12px;color:var(--muted);font-weight:400;margin-top:4px;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}.space-panel-heading .space-panel-status:empty{display:none}.space-panel-heading .space-panel-status{font-weight:600;color:var(--ink)}.space-panel.needs-attention{border-color:#b7a265}.space-panel.needs-attention .space-panel-status{color:#775321}
.space-panel .space-positions,.space-panel .space-records,.space-panel .space-execution,.space-panel .space-photos,.space-panel .space-tasks{border:0;margin:0;padding:0}.space-panel .space-positions>.section-head{display:flex;justify-content:flex-end}.space-panel .space-positions>.section-head>h3{display:none}.space-panel .section-head h3{font-size:15px}.space-panel .section-head{margin-bottom:10px}
.space-panel .space-calculation-options{margin-top:10px;padding-top:10px}.space-panel .space-position-row{padding:10px 0;gap:8px}.space-panel .space-position-row strong{font-size:13px}.space-panel .space-position-row small{font-size:12px}.space-panel .space-positions>p{margin-top:0}.space-panel .space-photo-grid{grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px;margin:12px 0}
.work-disclosure>summary:focus-visible,.work-route:focus-visible,.work-room-entry:focus-visible,.work-upcoming:focus-visible,.work-surface-menu>summary:focus-visible{outline:2px solid var(--ink);outline-offset:-3px;border-radius:10px}
.work-route:active,.work-room-entry:active,.work-upcoming:active,.work-disclosure>summary:active{background:var(--tint,#edf3dc)}
@media(hover:hover) and (pointer:fine){.work-route:hover,.work-room-entry:hover,.work-disclosure>summary:hover{background:#f7f8f2}.work-upcoming:hover{border-color:#9ca982}}
@media(max-width:900px){.work-overview-grid{grid-template-columns:minmax(0,1fr)}.work-overview-side{grid-template-columns:minmax(0,1fr)}.work-next{margin-bottom:12px}}
@media(max-width:700px){
 .work-next{gap:10px;padding:12px}.work-next>.work-route-icon{display:none}.work-next p{font-size:12px}.work-next strong{font-size:14px}.work-next>.btn{font-size:12px;padding:8px 12px}
 .work-route-grid{grid-template-columns:minmax(0,1fr)}.work-route{min-height:64px;padding:12px 14px}.work-route:nth-child(odd){border-right:0}.work-route:not(:last-child){border-bottom:1px solid var(--line)}
 .work-route strong{font-size:14px}.work-route small{margin-top:3px}.work-route>.work-route-icon{width:36px;height:36px}.work-panel>.section-head{padding:10px 14px}.work-panel>.section-head h2{font-size:16px}
 .work-room-entry{padding:10px 14px}.work-room-entry>.work-route-icon{width:32px;height:32px}.work-room-entry>.work-route-icon>.icon{width:18px;height:18px}.work-disclosure-body{padding:12px 14px}
 .work-projects .ux-search-tools{gap:8px}.work-projects .ux-filters,.work-projects .ux-filters[open]{position:static;min-width:48px}.work-projects .ux-filters>summary{font-size:12px;padding:0 9px}.work-projects .ux-filters>summary>.icon{display:none}.work-search{padding:0 10px;gap:6px}.work-search>input{font-size:16px}.work-search>input::placeholder{font-size:13px}
 .work-projects .ux-filter-fields{left:0;right:0;width:auto;max-width:none;max-height:min(66dvh,560px);padding-inline:14px}.work-projects .ux-filter-fields input,.work-projects .ux-filter-fields select{font-size:16px}
 .work-projects .ux-project-row{display:grid;grid-template-columns:minmax(0,1fr) 40px;gap:8px;padding:12px}.work-projects .ux-project-open{grid-column:1;order:0;gap:10px;min-width:0}.work-projects .ux-project-row>.icon-btn{width:40px;height:44px;grid-column:2;grid-row:1;order:0;align-self:start}.work-projects .ux-project-side{grid-column:1/-1;display:flex;justify-content:space-between;gap:6px;flex-wrap:wrap;padding:0 0 0 70px}.work-projects .ux-project-side>strong{font-size:13px}.work-projects .ux-project-side>.badge{font-size:11px}.work-projects .ux-project-side>small{flex-basis:100%;text-align:right}.work-projects .ux-project-open .project-cover{width:60px;aspect-ratio:1}.work-projects .ux-project-name{font-size:15px}.work-projects .ux-project-meta{font-size:12px;line-height:1.35;margin-top:4px}.work-projects .ux-project-meta .keep-together{white-space:normal}
 .work-rooms .work-room-card{grid-template-columns:minmax(0,1fr);padding:12px 34px 12px 12px;min-height:80px}.work-rooms .work-room-card .work-group-previews{display:none}.work-rooms .work-room-copy strong{font-size:15px}.work-rooms .work-room-copy small{font-size:12px}
 .work-space>.section-head>.btn{padding:8px;font-size:0;width:44px;height:44px;flex:none}.work-space>.section-head>.btn>.icon{width:20px;height:20px}.work-space>.section-head{flex-wrap:nowrap}.work-space .space-room-heading{flex:1;min-width:0}.work-space .space-room-heading h2{font-size:20px}.work-space .space-room-heading .space-cover{width:46px;height:46px}.work-space .space-metrics{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 16px}.work-space .space-metrics dd{font-size:17px}
 .work-space-tools{gap:6px}.work-space-tools>.btn{font-size:12px;padding:8px 10px}.work-space .work-surface-row{padding:10px}.work-space .work-surface-row>.surface-preview{width:54px;flex-basis:54px;height:44px}.work-space .work-surface-row>.wall-locator{width:44px;height:42px}.work-space .work-surface-copy strong{font-size:14px}.work-space .work-surface-copy small{font-size:12px}.work-space .work-surface-copy .drawing-incomplete{font-size:11px}.work-space .space-assemble{gap:0}.work-space .space-assemble p{margin-left:10px}
 .space-panel>summary{padding:11px 12px;min-height:64px}.space-panel-heading .work-route-icon{width:34px;height:34px}.space-panel .space-position-row{grid-template-columns:minmax(0,1fr) auto}.space-panel .space-photo-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.space-panel .space-calculation-options .btn{font-size:12px;min-height:44px}
 /* A room has its own working header; the object remains one tap away. */
 .main:has(>.work-space)>.project-head{display:none}
 .content-page.work-space{padding-top:6px}
 .work-space .space-breadcrumb{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}
 .work-space .space-breadcrumb>.btn{flex:none;min-height:44px;padding-block:6px}
 .work-space .space-project-link{display:flex;align-items:center;justify-content:flex-end;gap:4px;min-width:0;min-height:44px;max-width:50%;padding:6px 0 6px 4px;background:transparent;border:0;color:var(--muted);font:inherit;font-size:12px}
 .space-project-link>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.space-project-link>.icon{width:15px;height:15px;flex:none}
 .space-project-link:focus-visible{outline:2px solid var(--ink);outline-offset:2px;border-radius:6px}
 .work-space>.section-head{margin-bottom:6px;align-items:center;gap:8px}
 .work-space .space-room-heading p{margin:3px 0 0;line-height:1.35}
 .work-space .space-plan-card{min-height:52px;margin:8px 0;padding:8px 10px;gap:10px}
 .work-space .space-plan-card .mini-plan{width:48px;height:36px}
 .work-space .space-plan-card.is-built small{display:none}
 .work-space .space-passport-geometry{margin:8px 0}
 .work-space .space-metrics{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:9px 0}
 .work-space .space-metrics dt{font-size:12px;line-height:1.3;min-height:32px;margin-bottom:3px}
 .work-space .space-metrics dd{font-size:17px;line-height:1.25;overflow-wrap:anywhere}
 .work-space .space-metrics dd small{font-size:12px}
 .work-space .space-contour-metrics{margin-top:2px}
 .work-space .space-contour-metrics>summary{min-height:44px;padding:10px 0;line-height:1.4}
 .work-space-tools{margin:8px 0}
 .work-space .work-surfaces-head{margin:10px 0 8px}
 /* Keep separate, labelled targets without spending a second full row per surface. */
 .work-space .work-surface-card{display:grid;grid-template-columns:minmax(0,1fr) 80px;min-width:0}
 .work-space .work-surface-row{min-height:88px;height:100%;border-radius:14px 0 0 14px;padding:8px;gap:8px}
 .work-space .work-surface-row>.surface-preview{width:42px;flex-basis:42px;height:38px}
 .work-space .work-surface-row>.wall-locator{width:32px;height:34px}
 .work-space .work-surface-copy small{margin-top:3px}
 .work-space .work-surface-shortcuts{display:grid;grid-template-columns:minmax(0,1fr);align-content:center;gap:0;padding:0;border-top:0;border-left:1px solid var(--line);min-width:0}
 .work-space .work-surface-shortcuts>.btn{padding:6px;min-height:44px;gap:5px;font-size:12px;justify-content:center}
 .work-space .work-surface-shortcuts>.btn>.icon{width:16px;height:16px}
 .work-space .work-surface-menu{position:relative;min-width:0;width:100%;margin:0}
 .work-space .work-surface-menu>summary{justify-content:center;min-height:44px;padding:6px;gap:5px}
 .work-space .work-surface-menu[open]>div{position:absolute;right:4px;top:calc(100% + 2px);z-index:5;min-width:190px;max-width:calc(100vw - 40px);padding:4px;background:#fff;border:1px solid var(--line);border-radius:12px;box-shadow:0 8px 24px #2028291a}
 .work-space .work-surface-menu[open]>div>.btn{min-height:44px;padding:8px 10px}
}
@media(prefers-reduced-motion:reduce){.work-disclosure>summary>.icon{transition:none}}
/* Keep measurement entry legible without changing the canvas or its gestures. */
.drawing-create-workspace .draft-measurements{padding:12px 14px}
.drawing-create-workspace .draft-panel-head{margin-bottom:8px}
.workspace>.focus-header>.editor-save-state{flex:0 0 98px;width:98px;min-width:0;height:44px;min-height:44px;padding:4px;border:0;border-radius:10px;background:transparent;color:var(--muted);font:500 11px/1.3 Gilroy,sans-serif;white-space:nowrap;cursor:pointer}
.workspace>.focus-header>.editor-save-state.needs-attention{color:#875530;background:#faf0e8}
.workspace>.focus-header>.row{flex:1;min-width:0}
.workspace>.focus-header>.row>strong{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
body.editor-focus .workspace{overflow-anchor:none}
.drawing-create-workspace .draft-measurements details{padding:6px 0}
.drawing-create-workspace .draft-measurements summary{min-height:44px;display:flex;align-items:center;padding:6px 0;gap:8px;font-size:13px}
.drawing-create-workspace .draft-tool-switch{gap:4px;padding:3px;background:var(--bg,#f4f3ec);border-radius:10px}
.drawing-create-workspace .draft-tool-switch .btn{min-height:38px;border:0;background:transparent;padding:6px 12px}
.drawing-create-workspace .draft-tool-switch .active{background:#fff;box-shadow:0 1px 4px #20282912}
@media(max-width:760px){
 .drawing-create-workspace .draft-measurements input,.drawing-create-workspace .draft-measurements select{font-size:16px;min-height:44px}
 .drawing-create-workspace .draft-measure-grid{gap:8px 12px}.drawing-create-workspace .draft-measure-field{grid-template-columns:26px minmax(0,1fr) 20px;gap:5px}
 .drawing-create-workspace .draft-zoom .icon-btn{width:44px;height:44px}.drawing-create-workspace .draft-tool-switch .btn{min-height:44px}
 .drawing-create-workspace>.view-tabs{padding:6px 12px;gap:12px}.drawing-create-workspace .draft-construction-banner{padding:8px 12px}.drawing-create-workspace .draft-construction-banner span{font-size:12px;line-height:1.35}
 .drawing-create-workspace .draft-footer{padding:8px 12px max(8px,env(safe-area-inset-bottom))}.drawing-create-workspace .draft-footer>.btn{min-height:46px}
}

/* Keep the room composition searchable without expanding the whole control panel. */
.space-position-tools{display:grid;grid-template-columns:minmax(0,1fr);gap:8px;margin:12px 0}.space-position-tools .field{margin:0;min-width:0}.space-position-tools input,.space-position-tools select{width:100%;min-width:0;font-size:16px;min-height:44px}.space-position-filters>summary{min-height:44px;padding:10px 0;cursor:pointer}.space-position-filters>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.space-position-results{display:flex;align-items:center;justify-content:space-between;gap:8px}.space-positions [hidden]{display:none!important}.space-position-row>div,.space-position-quantity{min-width:0;overflow-wrap:anywhere}.space-positions .section-head{flex-wrap:wrap}.space-positions .btn{min-height:44px}.space-position-quantity{max-width:180px}.space-position-row strong{overflow-wrap:anywhere}@media(max-width:480px){.space-position-filters>div{grid-template-columns:minmax(0,1fr)}.space-panel .space-position-row{grid-template-columns:minmax(0,1fr)}.space-position-quantity{max-width:none}.space-position-row>.btn{justify-self:start}.space-position-tools input::placeholder{font-size:13px}}

.work-object-info>.ux-inline-actions{clear:both;padding:0 12px 10px;gap:4px}
@media(max-width:420px){.work-object-info>.ux-data{clear:both}.work-object-info .project-cover-overview{float:none;margin:0 16px 10px;width:88px}.work-object-info>.ux-data>div{grid-template-columns:90px minmax(0,1fr)}}

/* SV-050: one filter surface for working and archived projects. */
.work-projects .project-filter-group{margin:0;border:0;border-bottom:1px solid var(--line);border-radius:0;padding:0;background:transparent}
.work-projects .project-filter-group>summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:48px;padding:10px 0;font-weight:600;font-size:14px;cursor:pointer}
.work-projects .project-filter-group>summary:after{content:'+';font-size:20px;font-weight:400;margin-left:auto}
.work-projects .project-filter-group[open]>summary:after{content:'−'}
.work-projects .project-filter-group>div{padding:0 0 12px}
.work-projects .project-filter-group .field{min-width:0}.work-projects .project-filter-group input:not([type=checkbox]),.work-projects .project-filter-group select{min-height:44px;max-width:100%}
.project-stage-filter{border:0;padding:0;margin:12px 0 0;min-width:0}.project-stage-filter legend{font-size:12px;color:var(--muted)}.project-stage-filter label{display:flex;align-items:center;gap:8px;min-height:44px;font-size:14px;overflow-wrap:anywhere}.project-stage-filter input{flex:none}
.work-projects .project-filter-chip{display:flex;align-items:center;gap:8px;max-width:100%;min-height:44px;border:1px solid var(--line);border-radius:10px;padding:6px 10px;background:var(--tint);color:var(--ink);font:inherit;text-align:left}
.project-filter-chip>span:first-child{min-width:0;overflow-wrap:anywhere}.project-filter-chip>span:last-child{font-size:20px;flex:none}
.work-projects .ux-filter-fields .work-filter-title{margin-bottom:0}
.work-projects .project-filter-footer{z-index:3}.work-projects .project-filter-footer>.btn{white-space:normal;flex:1;padding:8px;line-height:1.2}
.commercial-variants>p{margin:0 0 10px}.commercial-variants article{padding:12px 0;border-bottom:1px solid var(--line)}.commercial-summary{display:flex;gap:8px;justify-content:space-between;align-items:baseline}.commercial-summary>strong{min-width:0;overflow-wrap:anywhere}.commercial-summary>span{flex:none;font-variant-numeric:tabular-nums}.commercial-actions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 44px;gap:6px;align-items:center;margin-top:6px}.commercial-actions>.btn{min-height:44px;padding:6px;min-width:0}.commercial-variants summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.commercial-variants summary:before{content:'+';margin-right:8px}.commercial-variants details[open]>summary:before{content:'−'}
