/* Approved desktop adjustment workspace. Load after adjustment-workspace.css.
   Scope every override to Step 4; no Step 2/3 layout or rule changes. */
body.compact-layout .adjustment-mode .unified-map-grid.result-explorer{gap:6px!important}
body.compact-layout .adjustment-mode .unified-map-panel{padding:0!important;border-radius:12px;overflow:hidden!important}
body.compact-layout .adjustment-mode .adjustment-page-head{padding:4px 10px!important;min-height:28px}
body.compact-layout .adjustment-mode .adjustment-page-head h2{font-size:14px!important}
body.compact-layout .adjustment-mode .adjustment-page-head .adjustment-legend{display:none}
body.compact-layout .adjustment-mode .unified-map-stage{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important}
body.compact-layout .adjustment-mode .unified-map-stage .canvas-stage.is-adjustment-layout{position:relative;display:block!important;height:max(440px,calc(100dvh - 194px))!important;min-height:440px!important;max-height:none!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-gutter:stable;background:#f6f8f7;border-radius:10px}
body.compact-layout .adjustment-mode .canvas-stage.is-adjustment-layout>.canvas-viewport{height:var(--adjustment-document-height,540px)!important;min-height:var(--adjustment-base-height,440px)!important;max-height:none!important;overflow:visible!important;flex:none!important;background:#f6f8f7}
.adjustment-workspace-shell .adjustment-layer{overflow:visible!important}
.adjustment-workspace-shell .adjustment-side-panel{position:sticky!important;float:right;top:8px!important;bottom:auto!important;right:auto!important;margin:8px 8px 8px 0!important;width:var(--adjustment-sidebar-width,280px)!important;height:calc(var(--adjustment-base-height,540px) - 16px)!important;max-height:none!important;min-height:0!important;padding:0!important;gap:0!important;z-index:28;border:1px solid #d9e5df!important;border-radius:10px!important;background:#fff!important;box-shadow:0 2px 10px #244c4310!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;box-sizing:border-box;pointer-events:auto}
.adjustment-workspace-shell .adjustment-side-body{flex:1 1 auto;min-height:0;padding:10px 10px 8px;overflow-y:auto;overflow-x:hidden;scrollbar-width:thin}
.adjustment-workspace-shell .adjustment-section-title{display:block;font:600 12px/1.5 system-ui,sans-serif;color:#51665d;margin:0 0 6px}
.adjustment-workspace-shell .adjustment-furniture-toolbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:5px!important;margin:0!important;padding:0!important;border:0!important}
.adjustment-workspace-shell .adjustment-furniture-toolbar button{min-height:61px!important;padding:4px 2px!important;border-radius:7px!important;background:#f9fbfa!important;border:1px solid #e0e8e3!important}
.adjustment-workspace-shell .adjustment-furniture-toolbar button.selected{background:#edf5f0!important;border-color:#3c8171!important}
.adjustment-workspace-shell .adjustment-furniture-toolbar .catalog-icon{width:40px!important;height:34px!important}
.adjustment-workspace-shell .adjustment-furniture-toolbar small{margin:2px 0!important;line-height:1.4!important;color:#728078}
.adjustment-workspace-shell .adjustment-annotation-tools{padding:5px 0 9px!important;margin:0!important;border-bottom:1px solid #e5ebe7}
.adjustment-workspace-shell .custom-compass-tools{margin:5px 0!important;padding:0!important;border:0!important;background:transparent!important;gap:5px!important}
.adjustment-workspace-shell .custom-compass-tools:empty{display:none}
.adjustment-workspace-shell .custom-compass-choices{display:flex;flex-wrap:wrap;gap:4px}
.adjustment-workspace-shell .custom-compass-tools input{min-width:0;width:100%;box-sizing:border-box}
.adjustment-workspace-shell .custom-compass-bearing{font:11px system-ui;color:#66776d}
.adjustment-workspace-shell .custom-compass-tools button{min-height:28px;font-size:11px;padding:4px 7px}
.adjustment-workspace-shell .custom-compass-layers{display:flex;flex-wrap:wrap;align-items:center;gap:6px}
.adjustment-workspace-shell .custom-compass-rotation{position:absolute!important;width:22px;height:22px;min-height:22px!important;padding:0!important;border-radius:50%;border:1px solid #286970;background:white;color:#286970;z-index:4;pointer-events:auto;cursor:grab;touch-action:none;font:16px/20px system-ui}
.adjustment-workspace-shell .adjustment-side-body .adjustment-inspector{position:static!important;display:flex!important;flex-wrap:wrap;max-width:none!important;min-height:0!important;margin:10px 0 0!important;padding:8px 0 0!important;border:0!important;border-top:1px solid #e5ebe7!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;background:transparent!important;gap:6px!important}
.adjustment-workspace-shell .adjustment-inspector>strong{flex-basis:100%;font-size:13px!important}
.adjustment-workspace-shell .adjustment-inspector button{min-height:29px!important;font-size:11px!important}
.adjustment-workspace-shell .adjustment-inspector :is(label,select,span,small){max-width:100%;box-sizing:border-box}
.adjustment-workspace-shell .adjustment-inspector select{width:100%}
.adjustment-workspace-shell .adjustment-selection-actions{position:static!important;max-width:100%!important;width:100%!important;margin:8px 0 0!important;padding:0!important;border:0!important;box-shadow:none!important;flex-wrap:wrap;gap:6px}
.adjustment-workspace-shell .adjustment-selection-actions strong{display:none}
.adjustment-workspace-shell .adjustment-selection-actions button{flex:1;min-height:30px!important}
.adjustment-workspace-shell .adjustment-compass-slot{border-top:1px solid #e5ebe7;margin-top:10px;padding-top:9px}
.adjustment-workspace-shell .adjustment-compass-slot .compass-size-controls{display:block!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important}
.adjustment-workspace-shell .adjustment-compass-slot .compass-choice-list{display:flex!important;flex-wrap:wrap!important;gap:4px!important;max-height:none!important;overflow:visible!important}
.adjustment-workspace-shell .adjustment-compass-slot .compass-choice{display:flex;max-width:100%;min-width:0;padding:2px 5px;border-radius:5px;background:#f5f8f6}
.adjustment-workspace-shell .adjustment-compass-slot .compass-choice button{white-space:normal!important;text-align:left;font-size:11px!important;min-height:26px!important;padding:2px 3px!important}
.adjustment-workspace-shell .adjustment-compass-slot .compass-target-tools{display:flex!important;flex-wrap:wrap!important;gap:5px!important;margin-top:8px;align-items:center}
.adjustment-workspace-shell .adjustment-compass-slot .compass-target-tools strong{flex-basis:100%;font-size:11px;white-space:normal}
.adjustment-workspace-shell .adjustment-compass-slot .compass-target-tools button{min-height:27px;padding:3px 7px;font-size:11px}
.adjustment-workspace-shell .adjustment-side-panel>.adjustment-export{flex:0 0 auto!important;position:static!important;width:auto!important;margin:0!important;padding:8px 10px!important;gap:6px!important;border:0!important;border-top:1px solid #dce6e0!important;border-radius:0!important;background:#fbfcfb!important;box-shadow:0 -3px 10px #244c4305!important;display:flex!important;flex-direction:column!important;overflow:visible!important}
.adjustment-workspace-shell .adjustment-primary-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.adjustment-workspace-shell .adjustment-primary-actions>small{grid-column:1/-1;font-size:10px;color:#728078}
.adjustment-workspace-shell .adjustment-primary-actions>select{grid-column:1/-1;width:100%;min-width:0;min-height:28px;font-size:11px}
.adjustment-workspace-shell .adjustment-primary-actions>button{min-height:30px;font-size:11px;padding:4px 7px}
.adjustment-workspace-shell .adjustment-primary-actions .adjustment-plan-review{grid-column:1/-1}
.adjustment-workspace-shell .adjustment-export span{white-space:normal!important;overflow:visible!important;text-overflow:clip!important}
.adjustment-workspace-shell .adjustment-history-tools{left:10px!important;top:9px!important;max-width:calc(100% - var(--adjustment-sidebar-width,280px) - 230px)!important;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;gap:5px!important;flex-wrap:wrap}
.adjustment-workspace-shell .adjustment-history-tools button{font-size:11px!important;min-height:29px!important;padding:4px 7px!important;border-radius:6px}
.is-adjustment-layout>.canvas-toolbar.result-camera-tools{left:auto!important;right:calc(var(--adjustment-sidebar-width,280px) + 30px)!important;top:9px!important;bottom:auto!important;gap:4px!important;z-index:26!important;width:auto!important;max-width:none!important;padding:0!important;box-shadow:none!important;background:transparent!important}
body.compact-layout .adjustment-mode .is-adjustment-layout>.canvas-toolbar.result-camera-tools button{width:auto!important;min-width:28px!important;min-height:29px!important;padding:4px 7px!important;font-size:11px!important}
.adjustment-workspace-shell .adjustment-annual-controls{left:10px!important;top:47px!important;right:calc(var(--adjustment-sidebar-width,280px) + 22px)!important;width:auto!important;max-width:none!important;margin:0!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;padding:0!important;font-size:11px!important;gap:8px!important;flex-wrap:wrap!important;white-space:normal!important}
.adjustment-workspace-shell .adjustment-annual-controls input{min-height:26px!important}
.adjustment-workspace-shell .adjustment-note-card{max-height:none!important;overflow:visible!important;white-space:normal!important;text-align:left!important;font:12px/20px system-ui,sans-serif!important;box-sizing:border-box!important;padding:7px 10px!important;background:#fffffff5!important;box-shadow:0 2px 5px #244c430c}
.adjustment-workspace-shell .adjustment-note-card span{display:block;white-space:pre-wrap!important;overflow:visible!important;overflow-wrap:anywhere!important;max-height:none!important}
.adjustment-workspace-shell .adjustment-global-note{max-height:none!important;min-height:0!important;padding:0!important;bottom:auto!important;left:12px!important;background:#fff}
.adjustment-workspace-shell .adjustment-global-note :is(textarea,.global-note-text){max-height:none!important;min-height:54px!important;overflow:hidden!important;resize:none!important;font:13px/20px system-ui,sans-serif!important;white-space:pre-wrap!important;overflow-wrap:anywhere!important;box-sizing:border-box!important}
.adjustment-workspace-shell .adjustment-local-note-editor{left:auto!important;right:calc(var(--adjustment-sidebar-width,280px) + 22px)!important;top:84px!important;max-width:calc(100% - var(--adjustment-sidebar-width,280px) - 42px)!important}
.is-adjustment-layout>.small.muted,.is-adjustment-layout>.canvas-minimap,.is-adjustment-layout>.canvas-hint,.is-adjustment-layout>.mobile-canvas-help{display:none!important}
/* Dialog is in the top layer, but pointer-events is inherited through the
   non-intercepting overlay unless explicitly restored here. */
.adjustment-layer .adjustment-work-dialog,.adjustment-layer .adjustment-work-dialog *, .adjustment-layer dialog[open], .adjustment-layer dialog[open] *{pointer-events:auto}
@media(max-width:1000px){
 .adjustment-workspace-shell .adjustment-history-tools{max-width:calc(100% - var(--adjustment-sidebar-width,280px) - 24px)!important}
 .is-adjustment-layout>.canvas-toolbar.result-camera-tools{top:44px!important}
 .adjustment-workspace-shell .adjustment-annual-controls{top:78px!important}
}
@media(max-width:760px){
 /* Desktop workflow stays side by side; small windows can pan horizontally. */
 body.compact-layout .adjustment-mode .unified-map-panel{overflow-x:auto!important}
 body.compact-layout .adjustment-mode .canvas-stage.is-adjustment-layout{min-width:700px!important}
 .adjustment-workspace-shell .adjustment-side-panel{display:flex!important}
}

/* Actual sibling workspace: no control panel exists inside the pan/zoom surface. */
body.compact-layout .adjustment-mode .adjustment-workspace-shell{display:grid!important;grid-template-columns:minmax(0,1fr) var(--adjustment-sidebar-width,280px)!important;gap:10px;min-width:0;min-height:0;max-height:none!important;overflow:hidden;box-sizing:border-box;padding:6px;background:#f6f8f7}
.adjustment-workspace-shell .adjustment-workspace-left{display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-width:0;min-height:0;overflow:hidden;border:1px solid #dce7e1;border-radius:9px;background:#fff}
.adjustment-workspace-shell .adjustment-workspace-tools{display:flex;flex-wrap:wrap;align-items:center;gap:7px 12px;min-width:0;padding:7px 9px;border-bottom:1px solid #e1e9e5;background:#fcfdfc;position:relative;z-index:2}
.adjustment-workspace-shell .adjustment-workspace-tools .adjustment-history-tools{position:static!important;max-width:none!important;width:auto!important;left:auto!important;top:auto!important;display:flex!important;flex-wrap:wrap!important;gap:4px!important;margin:0!important;padding:0!important;flex:0 1 auto}
.adjustment-workspace-shell .adjustment-workspace-tools .adjustment-annual-controls{position:static!important;left:auto!important;top:auto!important;right:auto!important;bottom:auto!important;max-width:none!important;width:auto!important;display:flex!important;flex-wrap:wrap!important;gap:7px!important;padding:0!important;margin:0!important;flex:1 1 280px;order:3}
.adjustment-workspace-shell .adjustment-workspace-tools .adjustment-annual-controls>small{position:static!important;max-width:none!important;padding:0!important;border:0!important;background:transparent!important;white-space:normal!important;flex-basis:100%}
.adjustment-workspace-shell .adjustment-workspace-tools .canvas-toolbar{position:static!important;left:auto!important;right:auto!important;top:auto!important;bottom:auto!important;display:flex!important;flex-wrap:wrap!important;gap:4px!important;padding:0!important;margin:0 0 0 auto!important;background:transparent!important;border:0!important;box-shadow:none!important;width:auto!important;max-width:none!important}
body.compact-layout .adjustment-mode .adjustment-workspace-shell .canvas-toolbar.result-camera-tools button{width:auto!important;min-width:28px!important;min-height:28px!important;padding:3px 7px!important;font-size:11px!important}
.adjustment-workspace-shell .adjustment-workspace-canvas{min-width:0;min-height:0;overflow:hidden;position:relative}
body.compact-layout .adjustment-mode .adjustment-workspace-shell .canvas-stage.is-adjustment-layout{display:block!important;position:relative!important;width:100%!important;height:100%!important;min-width:0!important;min-height:0!important;max-height:none!important;overflow:auto!important;border-radius:0!important;background:#f7f9f8}
body.compact-layout .adjustment-mode .adjustment-workspace-shell .canvas-stage.is-adjustment-layout>.canvas-viewport{position:relative!important;width:100%!important;height:var(--adjustment-document-height,100%)!important;min-height:var(--adjustment-base-height,0px)!important;max-height:none!important;overflow:visible!important;flex:none!important}
.adjustment-workspace-shell>.adjustment-side-panel{position:static!important;float:none!important;inset:auto!important;width:100%!important;height:100%!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;overflow:hidden!important;transform:none!important;border:1px solid #d9e5df!important;border-radius:9px!important;box-sizing:border-box}
.adjustment-workspace-shell>.adjustment-side-panel>.adjustment-side-body{flex:1 1 auto!important;min-height:0!important;overflow-y:auto!important;overflow-x:hidden!important}
.adjustment-workspace-shell>.adjustment-side-panel>.adjustment-export{flex:0 0 auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;position:static!important;margin:0!important;box-sizing:border-box}
.adjustment-workspace-shell .adjustment-side-body .adjustment-space-review{position:static!important;inset:auto!important;width:100%!important;height:auto!important;max-height:none!important;overflow:visible!important;box-shadow:none!important;border:0!important;padding:0!important}
.adjustment-workspace-shell .adjustment-object-controls-body[hidden]{display:none!important}
.adjustment-workspace-shell .adjustment-opening-side-content:empty{display:none}
.adjustment-workspace-shell .adjustment-opening-side-content .adjustment-opening-pick-tools{position:static!important;inset:auto!important;transform:none!important;max-width:none!important;width:100%!important;min-width:0!important;display:flex!important;flex-wrap:wrap;box-shadow:none!important;padding:0!important;box-sizing:border-box}
.adjustment-workspace-shell .adjustment-opening-side-content .adjustment-opening-pick-tools strong,.adjustment-workspace-shell .adjustment-opening-side-content .adjustment-opening-pick-tools small{flex-basis:100%;white-space:normal}
.adjustment-workspace-shell .adjustment-opening-side-content .adjustment-formal-confirm{position:static!important;inset:auto!important;transform:none!important;width:100%!important;max-width:none!important;min-width:0!important;box-sizing:border-box;box-shadow:none!important;padding:8px!important;margin:0!important;font-size:12px}
.adjustment-workspace-shell .adjustment-opening-side-content .adjustment-formal-confirm>div{display:flex;flex-wrap:wrap;gap:6px}
.adjustment-workspace-shell .current-object-title{margin-top:9px;border-top:1px solid #e5ebe7;padding-top:8px}
.adjustment-workspace-shell .adjustment-workspace-footer{min-width:0;min-height:0;padding:6px 9px 8px;border-top:1px solid #e1e9e5;background:#fff;z-index:1}
.adjustment-workspace-shell .adjustment-workspace-footer:empty{display:none}
.adjustment-workspace-shell .adjustment-workspace-footer .adjustment-global-note{position:static!important;inset:auto!important;margin:0!important;width:100%!important;max-height:none!important;min-height:0!important;border:0!important;padding:0!important}
.adjustment-workspace-shell .adjustment-global-note-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px;color:#51665d;font:12px/18px system-ui,sans-serif}
.adjustment-workspace-shell .adjustment-global-note-heading button{border:0;background:transparent;padding:0 4px;min-height:20px;color:#286970;font:11px/18px system-ui,sans-serif}
.adjustment-workspace-shell .adjustment-workspace-footer .adjustment-global-note :is(textarea,.global-note-text){display:block!important;box-sizing:border-box!important;height:54px!important;min-height:54px!important;max-height:54px!important;overflow:auto!important;resize:none!important;margin:0!important;padding:5px 8px!important}
.adjustment-workspace-shell .adjustment-workspace-footer .adjustment-global-note.expanded :is(textarea,.global-note-text){height:132px!important;min-height:132px!important;max-height:132px!important}
.adjustment-workspace-shell .adjustment-primary-actions>.adjustment-plan-entry{display:flex;width:100%;grid-column:1/-1;order:10}
.adjustment-workspace-shell .adjustment-primary-actions>.adjustment-plan-entry>button{width:100%}
.adjustment-workspace-shell .adjustment-work-dialog,.adjustment-workspace-shell .adjustment-work-dialog *{pointer-events:auto}
.adjustment-workspace-shell .plan-review-submit-bar>p{flex-basis:100%}
.adjustment-workspace-shell .plan-review-submit-bar button{min-height:34px!important;font-size:13px!important}
@media(max-height:650px){.adjustment-workspace-shell .adjustment-primary-actions{gap:3px}.adjustment-workspace-shell .adjustment-primary-actions>small{font-size:9px}.adjustment-workspace-shell .adjustment-primary-actions>button{min-height:27px!important}}
@media(max-width:760px){body.compact-layout .adjustment-mode .adjustment-workspace-shell{min-width:660px!important}.adjustment-workspace-shell>.adjustment-side-panel{display:flex!important}}

/* Step 4 owns its viewport height. Do not inherit Step 3's capped result panel. */
body.compact-layout .unified-workbench.results-mode.adjustment-mode .unified-map-grid.result-explorer{height:auto!important;min-height:0!important;max-height:none!important;grid-template-rows:auto auto!important;overflow:visible!important}
body.compact-layout .unified-workbench.results-mode.adjustment-mode .unified-map-grid.result-explorer>.panel.unified-map-panel{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;display:block!important;align-self:start!important;flex:none!important}
body.compact-layout .unified-workbench.results-mode.adjustment-mode .unified-map-grid.result-explorer>.panel.unified-map-panel>.unified-map-stage{height:auto!important;min-height:0!important;max-height:none!important;flex:none!important;overflow:visible!important}

/* Fixed annotation targets must not inherit generic button stretch/padding. */
.adjustment-workspace-shell .adjustment-annotation-tools{gap:8px!important;align-items:center!important;justify-content:flex-start!important}
.adjustment-workspace-shell .adjustment-annotation-tools>button{flex:0 0 auto!important;width:auto!important;max-width:none!important;min-height:28px!important;height:28px!important;padding:0 7px!important;font-size:12px!important;line-height:1!important;box-sizing:border-box!important}
.adjustment-workspace-shell .adjustment-annotation-tools>button:is([aria-label="画矩形标注"],[aria-label="画圆圈标注"],[aria-label="画线条标注"]){display:grid!important;place-items:center!important;flex:0 0 32px!important;width:32px!important;min-width:32px!important;max-width:32px!important;height:30px!important;min-height:30px!important;padding:0!important;font-size:0!important;border:1px solid #bbcec7!important;border-radius:6px!important;background:white!important;color:#286970!important}
.adjustment-workspace-shell .adjustment-annotation-tools>button[aria-label="画矩形标注"]::before{content:'';width:15px;height:11px;border:1.5px solid currentColor;box-sizing:border-box}
.adjustment-workspace-shell .adjustment-annotation-tools>button[aria-label="画圆圈标注"]::before{content:'';width:13px;height:13px;border:1.5px solid currentColor;border-radius:50%;box-sizing:border-box}
.adjustment-workspace-shell .adjustment-annotation-tools>button.annotation-color{flex:0 0 28px!important;width:28px!important;min-width:28px!important;max-width:28px!important;height:28px!important;min-height:28px!important;max-height:28px!important;aspect-ratio:1!important;flex-shrink:0!important;padding:0!important;border:2px solid white!important;border-radius:50%!important}
.adjustment-workspace-shell .adjustment-annotation-tools>button[aria-pressed=true]{outline:1.5px solid #355e58!important;outline-offset:1px!important;box-shadow:none!important}

/* Step 4: fixed siblings own the canvas and inspector, independently of saved layout profiles. */
body.compact-layout .unified-workbench.results-mode.adjustment-mode .unified-map-grid.result-explorer{grid-template-rows:auto!important}
body.compact-layout .unified-workbench.results-mode.adjustment-mode .adjustment-page-head{display:none!important}
.adjustment-workspace-shell .adjustment-side-body{padding:10px!important;scrollbar-gutter:stable}
.adjustment-workspace-shell .adjustment-object-controls-body{display:flex;flex-direction:column;gap:6px}
.adjustment-workspace-shell .adjustment-section-title{font-size:12px!important;margin:0!important;padding:0!important}
.adjustment-workspace-shell .adjustment-palette-row{display:grid;grid-template-columns:minmax(0,1fr) 46px;gap:5px;position:relative;margin-bottom:18px}
.adjustment-workspace-shell .adjustment-furniture-toolbar{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;padding:0!important;gap:5px!important;border:0!important;position:static!important}
.adjustment-workspace-shell .adjustment-furniture-toolbar>button{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;width:100%!important;height:50px!important;min-height:50px!important;padding:4px!important;gap:2px!important;border-radius:7px!important;font-size:11px!important;box-shadow:none!important}
.adjustment-workspace-shell .adjustment-furniture-toolbar>button :is(svg,img){width:30px!important;height:27px!important;min-height:0!important}
.adjustment-workspace-shell .adjustment-furniture-toolbar>small{position:absolute!important;left:0;top:54px;width:100%;font-size:10px!important;line-height:14px!important;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.adjustment-workspace-shell .adjustment-palette-row>.custom-compass-tools{margin:0!important;padding:0!important;border:0!important;display:flex!important;align-items:stretch!important}
.adjustment-workspace-shell .adjustment-palette-row>.custom-compass-tools>button{width:46px!important;height:50px!important;min-height:50px!important;padding:3px!important;font-size:11px!important;line-height:16px!important;white-space:normal!important}
.adjustment-workspace-shell .adjustment-annotation-tools{padding:0!important;margin:2px 0 5px!important;gap:9px!important}
.adjustment-workspace-shell .current-object-title{border-top:1px solid #e0e8e3!important;padding-top:9px!important;margin-top:2px!important}
.adjustment-workspace-shell .adjustment-selection-actions{margin:0!important;padding:0!important;border:0!important;gap:5px!important;display:flex!important;flex-wrap:wrap}
.adjustment-workspace-shell .adjustment-selection-actions>strong{width:100%;flex-basis:100%;font-size:12px!important;line-height:18px!important}
.adjustment-workspace-shell .adjustment-selection-actions>button{min-height:30px!important;flex:1}
.adjustment-workspace-shell .adjustment-inspector{margin:0!important;padding:0!important;border:0!important;gap:5px!important;display:flex!important;flex-wrap:wrap!important}
.adjustment-workspace-shell .adjustment-inspector>strong{display:none}
.adjustment-workspace-shell .adjustment-inspector>button{flex:1 1 40%;min-height:30px!important;font-size:12px!important;padding:4px 6px!important}
.adjustment-workspace-shell .adjustment-current-opening{flex:1 1 100%;display:flex;gap:5px;flex-wrap:wrap;align-items:center;font-size:11px;line-height:16px}
.adjustment-workspace-shell .adjustment-current-opening>span{width:100%;overflow-wrap:anywhere;font-size:11px!important}
.adjustment-workspace-shell .adjustment-current-opening>button{min-height:29px!important;font-size:11px!important;padding:3px 8px!important}
.adjustment-workspace-shell .adjustment-empty-selection{font-size:11px;color:#6d7e76;line-height:18px}
.adjustment-context-compass{flex:1 1 100%;padding:8px!important;margin:3px 0!important;border:1px solid #dce7e1;border-radius:7px;background:#f7faf8;font-size:11px}
.adjustment-context-target{display:flex;gap:5px;align-items:center;justify-content:space-between}
.adjustment-context-target>strong{font-size:11px!important;white-space:nowrap}
.adjustment-context-target>select{width:100px;min-width:0!important;max-width:120px;height:26px;min-height:26px;font-size:11px;padding:2px}
.adjustment-context-layers,.adjustment-context-size{display:flex;align-items:center;gap:9px;margin-top:5px;flex-wrap:nowrap}
.adjustment-context-layers label{display:flex!important;align-items:center;gap:3px!important;margin:0!important;white-space:nowrap;font-size:11px!important;min-width:0!important}
.adjustment-context-layers input{width:13px!important;height:13px!important;margin:0!important;min-height:0!important}
.adjustment-context-layers>button{margin-left:auto}
.adjustment-context-compass button{min-height:24px!important;height:24px!important;padding:2px 7px!important;font-size:11px!important;flex:none!important}
.adjustment-context-size output{min-width:35px;text-align:center;font-variant-numeric:tabular-nums}
.adjustment-workspace-shell .adjustment-save-state{display:flex;justify-content:space-between;align-items:center;gap:6px;min-height:18px;font-size:10px;color:#6a7f73}
.adjustment-workspace-shell .adjustment-save-state strong{font-size:11px!important;color:#286970}
.adjustment-workspace-shell .adjustment-save-state strong.unsaved{color:#aa6018}
.adjustment-workspace-shell .adjustment-primary-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
.adjustment-workspace-shell .adjustment-primary-actions>.adjustment-plan-entry{grid-column:auto!important;order:0!important;width:auto!important;display:block!important}
.adjustment-workspace-shell .adjustment-primary-actions>.adjustment-plan-entry>button{height:31px!important;min-height:31px!important;font-size:11px!important;padding:4px 6px!important;background:#286970!important;color:white!important;border-color:#286970!important}
.adjustment-workspace-shell .adjustment-primary-actions>.adjustment-save-button{background:#286970!important;color:white!important;border-color:#286970!important}
.adjustment-workspace-shell .adjustment-work-dialog label{display:flex;flex-direction:column;gap:6px;min-width:0}
.adjustment-workspace-shell .adjustment-work-dialog select{width:100%;min-width:0}
.adjustment-history-dialog-head{display:flex;justify-content:space-between;align-items:center}
.adjustment-history-dialog-head>button{width:30px!important;min-width:30px!important;padding:0!important}
.adjustment-customer-preview{box-sizing:border-box!important;width:min(1120px,calc(100vw - 36px))!important;height:min(900px,calc(100dvh - 36px))!important;max-width:none!important;max-height:none!important;margin:auto!important;padding:0!important;border:1px solid #d8e4de!important;border-radius:12px!important;overflow:hidden!important;background:#fff!important;color:#27423b!important;pointer-events:auto!important}
.adjustment-customer-preview[open]{display:flex!important;flex-direction:column!important}
.adjustment-customer-preview::backdrop{background:rgba(22,42,34,.38)}
.adjustment-customer-preview *{pointer-events:auto}
.adjustment-customer-preview>header{display:flex;flex:none;align-items:center;justify-content:space-between;padding:11px 15px;border-bottom:1px solid #e1e8e3}
.adjustment-customer-preview>header>div{display:flex;align-items:center;gap:12px}
.adjustment-customer-preview>header strong{font-size:15px!important}.adjustment-customer-preview>header small{font-size:11px!important;color:#786344}
.adjustment-customer-preview>header>button{width:30px!important;height:30px!important;min-width:30px!important;min-height:30px!important;padding:0!important;border:1px solid #d5e0d9!important;background:white!important;color:#37594a!important;font-size:20px!important}
.adjustment-customer-pages{flex:1;min-height:0;overflow:auto;background:#e9eeeb;padding:12px;text-align:center;scrollbar-gutter:stable}
.adjustment-customer-pages img{display:block;width:auto;max-width:100%;max-height:none;margin:0 auto 12px;background:white;box-shadow:0 1px 5px #23452f17}
.adjustment-customer-preview>footer{display:flex;flex:none;align-items:center;justify-content:flex-end;gap:8px;padding:10px 15px;border-top:1px solid #dfe7e1}
.adjustment-customer-preview>footer>span{margin-right:auto;font-size:11px!important}
.adjustment-customer-preview>footer>button{width:auto!important;min-width:90px!important;min-height:32px!important;font-size:12px!important;padding:5px 10px!important}

.adjustment-workspace-shell .adjustment-selection-actions>strong{display:block!important}
.adjustment-customer-pages img{max-height:calc(100dvh - 172px);object-fit:contain}
.adjustment-customer-pages.is-zoomed img{width:100%;height:auto;max-height:none}
.adjustment-workspace-shell .adjustment-selection-actions{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
.adjustment-workspace-shell .adjustment-selection-actions>strong{grid-column:1/-1!important;width:auto!important;max-width:100%!important;margin:0!important;padding:0!important;font-size:12px!important;line-height:18px!important}
.adjustment-workspace-shell .adjustment-selection-actions>button{width:100%!important;min-width:0!important;max-width:none!important;height:29px!important;min-height:29px!important;padding:3px 8px!important;white-space:nowrap!important;font-size:12px!important}

.adjustment-workspace-shell .adjustment-selection-actions>strong{display:none!important}
.adjustment-workspace-shell .adjustment-side-body .adjustment-inspector{margin:0!important;padding:0!important;border:0!important;gap:5px!important}
.adjustment-workspace-shell .adjustment-object-controls-body{gap:5px}
.adjustment-workspace-shell .current-object-title{margin-top:0!important;padding-top:6px!important}
.adjustment-workspace-shell .adjustment-history-downloads{display:flex;gap:6px}

/* Dialog close is a fixed hit target, independent of the sidebar action grid. */
.adjustment-workspace-shell .adjustment-side-panel .adjustment-history-dialog-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.adjustment-workspace-shell .adjustment-side-panel .adjustment-history-dialog-head>strong{min-width:0;flex:1 1 auto}
.adjustment-workspace-shell .adjustment-side-panel .adjustment-history-dialog-head>button[aria-label="关闭历史版本"]{display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 36px!important;width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin:0!important;padding:0!important;border:1px solid #d6e2e0!important;border-radius:8px!important;background:#f3f7f6!important;color:#295f62!important;font-size:24px!important;line-height:1!important;box-sizing:border-box!important;pointer-events:auto!important}

/* Approved 5+5 object palette. Placement instructions are outside both grids. */
.adjustment-workspace-shell .adjustment-palette-row{display:flex!important;flex-direction:column!important;gap:5px!important;margin-bottom:0!important}
.adjustment-workspace-shell .adjustment-furniture-toolbar,.adjustment-workspace-shell .adjustment-extra-catalog{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;gap:4px!important}
.adjustment-workspace-shell .adjustment-extra-catalog>button,.adjustment-workspace-shell .adjustment-furniture-toolbar>button{min-width:0!important;width:100%!important;height:57px!important;min-height:57px!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;padding:2px!important;border:1px solid #e0e8e3!important;border-radius:7px!important;background:#f9fbfa!important;color:#34524b!important;font-size:11px!important;line-height:12px!important;box-shadow:none!important}
.adjustment-workspace-shell .adjustment-extra-catalog>button[aria-pressed=true]{background:#edf5f0!important;border-color:#3c8171!important}
.adjustment-workspace-shell .adjustment-extra-catalog>button img{width:29px!important;height:29px!important;object-fit:contain!important;pointer-events:none}
.adjustment-workspace-shell .adjustment-extra-catalog>button b{font-size:24px;line-height:28px;height:29px}
.adjustment-workspace-shell .adjustment-extra-catalog>button span{white-space:normal!important;text-align:center}
.adjustment-workspace-shell .adjustment-placement-hint{display:block!important;position:static!important;white-space:normal!important;line-height:14px!important;font-size:10px!important;margin:3px 0 4px!important;color:#6c7d77}
.adjustment-workspace-shell .current-object-title[hidden]{display:none!important}

/* The selected object has one note editor in the independent right column. */
.adjustment-workspace-shell .adjustment-object-note-editor{position:static!important;inset:auto!important;display:block!important;width:100%!important;max-width:none!important;min-height:0!important;max-height:none!important;flex:none!important;box-sizing:border-box;margin:5px 0 8px!important;padding:7px!important;border:1px solid #dce7e2;border-radius:7px;background:#f8fbf9;overflow:visible!important}
.adjustment-object-note-editor .object-note-heading{display:flex;align-items:center;justify-content:space-between;gap:6px;margin:0 0 4px;font-size:12px}
.adjustment-object-note-editor .object-note-heading>button{width:auto!important;min-height:24px!important;padding:2px 7px!important;font-size:11px!important}
.adjustment-object-note-editor .adjustment-note-color-choices{display:flex!important;flex-wrap:nowrap!important;justify-content:flex-start!important;gap:8px!important;margin:0 0 5px!important}
.adjustment-object-note-editor .adjustment-note-color-choices>button{flex:0 0 20px!important;width:20px!important;min-width:20px!important;max-width:20px!important;height:20px!important;min-height:20px!important;max-height:20px!important;margin:0!important;padding:0!important;border:2px solid #fff!important;border-radius:50%!important;box-sizing:border-box}
.adjustment-object-note-editor .adjustment-note-color-choices>button[aria-pressed=true]{outline:2px solid #286970;outline-offset:1px}
.adjustment-workspace-shell .adjustment-object-note-editor textarea{display:block!important;width:100%!important;height:54px!important;min-height:54px!important;max-height:none!important;margin:0!important;padding:5px 7px!important;box-sizing:border-box;font:12px/20px system-ui,sans-serif!important;resize:vertical;white-space:pre-wrap;overflow-wrap:anywhere}
.adjustment-workspace-shell .adjustment-object-notices:empty{display:none}
.adjustment-workspace-shell .adjustment-object-notices,.adjustment-workspace-shell .adjustment-object-notices .adjustment-next-step{position:static!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;box-sizing:border-box;flex:none!important}
.adjustment-workspace-shell .adjustment-object-notices .adjustment-next-step{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:6px!important;margin:5px 0 9px!important;padding:8px!important;font-size:12px!important;line-height:18px!important}
.adjustment-object-notices .adjustment-next-step>span{display:block!important;max-width:none!important;white-space:normal!important;overflow-wrap:anywhere;flex:none!important}
.adjustment-object-notices .adjustment-next-step>button{align-self:flex-start!important;max-width:100%!important;white-space:normal!important;min-height:28px!important;width:auto!important;margin:0!important;padding:4px 8px!important}

.adjustment-workspace-shell .adjustment-current-object-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:5px}.adjustment-workspace-shell .adjustment-current-object-heading .current-object-title{flex:1;min-width:0;margin:0!important;padding:0!important}.adjustment-workspace-shell .adjustment-current-object-heading .delete-current-object{flex:none!important;width:auto!important;min-height:27px!important;padding:3px 8px!important;margin:0!important;font-size:11px!important;color:#b43e35!important;background:#fff6f5!important;border:1px solid #edd6d1!important;border-radius:6px!important}
