/* Clean425 staff workspaces. Public and Client keep their existing entry boundaries. */
:root{font-family:Arial,ui-sans-serif,system-ui,sans-serif}
.clean425-logo{width:134px;height:40px;object-fit:contain;display:block}.brand .brand-mark{display:none}.brand .brand-project{padding-left:18px;border-left:1px solid #dee5eb;display:grid;gap:3px;min-width:0}.brand .brand-project strong{font-size:17px;line-height:1.3}.brand .brand-project span{display:block;line-height:1.4}
.workspace-map-button[hidden],#workspace-close-card[hidden]{display:none!important}
.topbar:has(.clean425-logo){background:#fff;color:#0e1d42;border-bottom:1px solid #dee5eb}.topbar:has(.clean425-logo) #portal-label{color:#607082}
#workspace-commandbar[hidden],.workspace-popover[hidden],#workspace-progress-trigger[hidden],#workspace-account-trigger[hidden]{display:none!important}
body.workspace-redesign{--ui-ink:#0e1d42;--ui-muted:#607082;--ui-sheet:#fff;--ui-soft:#f4f6f8;--ui-edge:#dee5eb;--ui-blue:#036eb0;--ui-orange:#f58220;--ui-green:#276346;--ui-shadow:0 8px 30px #0e1d421c;color:var(--ui-ink);background:var(--ui-soft);font:400 14px/1.5 Arial,ui-sans-serif,system-ui,sans-serif;margin:0}
body.workspace-redesign *{box-sizing:border-box}
body.workspace-redesign :is(button,input,select,textarea){font:inherit;line-height:1.4;color:inherit;max-width:100%}
body.workspace-redesign button{min-height:36px;padding:8px 11px;border:1px solid var(--ui-edge);border-radius:8px;background:var(--ui-sheet);display:inline-flex;align-items:center;justify-content:center;gap:7px;font-weight:400}
body.workspace-redesign button:hover{background:var(--ui-soft)}body.workspace-redesign button:disabled{opacity:.5;cursor:default}body.workspace-redesign button.primary{background:var(--ui-blue);border-color:var(--ui-blue);color:#fff}
body.workspace-redesign :is(input,select,textarea){padding:9px 10px;border:1px solid var(--ui-edge);border-radius:8px;background:var(--ui-sheet);min-width:0;width:100%}body.workspace-redesign textarea{resize:vertical;min-height:76px}body.workspace-redesign input::placeholder,body.workspace-redesign textarea::placeholder{color:var(--ui-muted)}
body.workspace-redesign label{display:grid;gap:6px;font-size:12px;font-weight:400;color:var(--ui-muted);margin:0;min-width:0}body.workspace-redesign :is(h2,h3,p){margin:0}body.workspace-redesign .small{font-size:12px;line-height:1.5;color:var(--ui-muted)}body.workspace-redesign :is(small,span,strong,label){line-height:1.5}body.workspace-redesign h2{font-size:22px;line-height:1.25;font-weight:600;letter-spacing:-.4px}body.workspace-redesign h3{font-size:13px;font-weight:600;line-height:1.4}
body.workspace-redesign .topbar{min-height:72px;padding:12px 18px;display:flex;flex-direction:row;align-items:center;justify-content:space-between;gap:16px;background:var(--ui-sheet);border-bottom:1px solid var(--ui-edge);position:relative;z-index:1100;box-shadow:none}
body.workspace-redesign .brand{display:flex;align-items:center;gap:18px;min-width:0}body.workspace-redesign .top-actions{display:flex;gap:12px;align-items:center;width:auto;min-width:0}body.workspace-redesign .brand strong{font-size:17px}body.workspace-redesign .brand span{font-size:12px;color:var(--ui-muted)}
body.workspace-redesign :is(#workspace-badge,#workspace-summary,#mode,.side-top,#workflow-nav,.map-footer,.map-tools){display:none!important}
body.workspace-redesign .workspace-commandbar{height:56px;display:flex;align-items:center;gap:16px;padding:8px 16px;background:var(--ui-sheet);border-bottom:1px solid var(--ui-edge);position:relative;z-index:1050;min-width:0}
.workspace-commandbar svg,.workspace-progress-trigger svg,.workspace-account-trigger svg,.workspace-map-button svg,#workspace-close-card svg{width:17px;height:17px;flex-shrink:0}
body.workspace-redesign .workspace-nav{display:flex;gap:3px;flex-shrink:0}body.workspace-redesign .workspace-nav button{border:0;color:var(--ui-muted)}body.workspace-redesign .workspace-nav button.active{color:var(--ui-blue);background:#e8f3fa}
body.workspace-redesign .workspace-search-wrap{position:relative;min-width:140px;max-width:390px;flex:1}body.workspace-redesign .workspace-search-wrap>svg{position:absolute;top:11px;left:11px;pointer-events:none;color:var(--ui-muted)}body.workspace-redesign #workspace-search{font-size:13px;background:var(--ui-soft);border-color:transparent;padding-left:36px}
body.workspace-redesign .workspace-toolbar-actions{margin-left:auto;display:flex;align-items:center;gap:7px;flex-shrink:0}body.workspace-redesign .workspace-toolbar-actions>button,body.workspace-redesign #bulk-toggle{font-size:12px}body.workspace-redesign .workspace-icon-button{width:36px;padding:8px;flex-shrink:0}
body.workspace-redesign .workspace-popover{position:absolute;z-index:1200;right:16px;top:calc(100% - 1px);background:var(--ui-sheet);border:1px solid var(--ui-edge);border-radius:12px;box-shadow:var(--ui-shadow);padding:14px;width:280px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 160px);overflow:auto;display:grid;gap:12px;text-align:left;color:var(--ui-ink)}
body.workspace-redesign .workspace-popover h3{font-size:12px;margin:0;color:var(--ui-muted)}body.workspace-redesign .workspace-popover h3:not(:first-child){border-top:1px solid var(--ui-edge);padding-top:12px}body.workspace-redesign .workspace-popover button{font-size:12px;justify-content:flex-start;text-align:left;white-space:normal}body.workspace-redesign #workspace-map-options,body.workspace-redesign #workspace-management{display:grid;gap:5px}body.workspace-redesign .workspace-popover .map-modes{display:flex;flex-wrap:wrap;gap:5px;background:none;padding:0;border:0}body.workspace-redesign .workspace-popover .map-modes button{flex:1;justify-content:center}body.workspace-redesign .workspace-popover .map-modes button[aria-pressed=true]{background:#e8f3fa;color:var(--ui-blue);border-color:var(--ui-blue)}body.workspace-redesign .workspace-popover .project-jump{display:block;padding:0;margin:0;border:0;background:transparent}body.workspace-redesign #address-search{display:none}
body.workspace-redesign .workspace-header-popover{top:calc(100% - 1px);right:18px;width:330px}body.workspace-redesign #workspace-account{width:250px}body.workspace-redesign #workspace-account .view-choice{display:grid;gap:6px}body.workspace-redesign #workspace-account #sign-in{width:100%}
body.workspace-redesign .workspace-progress-trigger{border-color:transparent;font-size:12px;gap:9px;white-space:nowrap;background:transparent}body.workspace-redesign .workspace-mini-track{display:inline-block;width:42px;height:5px;background:var(--ui-edge);border-radius:5px;overflow:hidden}body.workspace-redesign .workspace-mini-track b{display:block;height:100%;background:var(--ui-blue)}body.workspace-redesign .workspace-account-trigger{font-size:12px;background:var(--ui-soft)}
body.workspace-redesign #project-tracking{padding:0;margin:0;border:0;background:none}body.workspace-redesign #project-tracking .tracking-caption{display:block;font-size:12px;margin-bottom:14px}body.workspace-redesign .tracking-metrics{display:grid;grid-template-columns:1fr;gap:7px}body.workspace-redesign .tracking-metrics button{display:grid;grid-template-columns:1fr auto;gap:6px;text-align:left;padding:9px;border:0;border-radius:6px;min-width:0;background:var(--ui-soft)}body.workspace-redesign .tracking-metrics button strong{grid-column:2;grid-row:1;font-size:14px}body.workspace-redesign .tracking-metrics button span{grid-column:1;grid-row:1;font-size:12px}body.workspace-redesign .tracking-metrics button i{grid-column:1/-1;height:4px;background:var(--ui-edge);border:0;display:block}body.workspace-redesign .tracking-metrics button i b{background:var(--ui-blue);height:100%;display:block;border:0}
body.workspace-redesign .workspace-search-results{position:absolute;top:calc(100% + 7px);left:0;width:max(100%,300px);max-width:min(420px,calc(100vw - 28px));background:var(--ui-sheet);padding:5px;border:1px solid var(--ui-edge);border-radius:10px;box-shadow:var(--ui-shadow);z-index:1400;max-height:370px;overflow:auto}body.workspace-redesign .workspace-search-results button{border:0;width:100%;justify-content:flex-start;text-align:left;white-space:normal;padding:10px;gap:10px;font-size:12px}body.workspace-redesign .workspace-search-results strong{flex-shrink:0;min-width:34px}body.workspace-redesign .workspace-search-results span{color:var(--ui-muted);min-width:0}body.workspace-redesign .workspace-search-results p{padding:8px;font-size:12px}body.workspace-redesign #address-results{padding:0;display:grid;gap:3px}
body.workspace-redesign .topbar{color:var(--ui-ink)}
body.workspace-redesign.workspace-overview .tree-pin-shell{display:grid;place-items:center}
body.workspace-redesign.workspace-overview .tree-pin:not(.selected):not(.bulk-selected){width:14px;height:14px;border-width:2px;font-size:0;box-shadow:0 1px 3px #0e1d4240;outline:0}
body.workspace-redesign.workspace-overview .tree-pin-shell:not(:has(.selected,.bulk-selected)) .tree-verification,body.workspace-redesign.workspace-overview .tree-pin-shell:not(:has(.selected,.bulk-selected)) .tree-issue{display:none}
body.workspace-redesign .workspace{display:block;position:relative;height:calc(100dvh - 128px);min-height:540px;overflow:hidden}body.workspace-redesign .map-area{height:100%;display:flex;min-width:0}body.workspace-redesign .map-stage{height:100%;min-height:0;flex:1;position:relative}body.workspace-redesign .sidebar{position:absolute;z-index:700;left:16px;top:76px;width:320px;max-height:calc(100% - 132px);height:auto;min-height:0;overflow:auto;background:var(--ui-sheet);border:1px solid var(--ui-edge);border-radius:14px;box-shadow:var(--ui-shadow)}body.workspace-redesign #side-content,body.workspace-redesign #power-content{padding:0}body.workspace-redesign #workflow-content{padding:18px}
body.workspace-redesign #workspace-close-card{position:absolute;right:12px;top:10px;z-index:4;width:26px;min-height:26px;padding:4px;border:0;background:var(--ui-soft)}body.workspace-redesign .workspace-card-hidden .sidebar{display:none}body.workspace-redesign.workspace-card-hidden .sidebar{display:none}body.workspace-redesign #workspace-details-toggle{position:absolute;right:12px;top:12px;z-index:650}body.workspace-redesign #workspace-legend-toggle{position:absolute;bottom:44px;left:12px;z-index:650;font-size:12px;box-shadow:var(--ui-shadow)}body.workspace-redesign .map-legend{display:none;bottom:88px;left:12px;right:auto;max-width:280px;background:var(--ui-sheet);padding:12px;border:1px solid var(--ui-edge);border-radius:10px;box-shadow:var(--ui-shadow);gap:10px;z-index:800}body.workspace-redesign.workspace-legend-open .map-legend{display:flex;flex-direction:column;align-items:flex-start}body.workspace-redesign .capture-note{display:none}body.workspace-redesign .map-message{top:12px;left:66px;right:58px;max-width:680px;font-size:12px;padding:9px 12px;background:var(--ui-sheet);color:var(--ui-ink);box-shadow:var(--ui-shadow);border:1px solid var(--ui-edge)}
body.workspace-redesign .details{margin:0;max-width:none}.workspace-redesign .asset-card-head{display:grid;grid-template-columns:minmax(0,1fr);gap:9px;padding:18px 16px 16px;border-bottom:1px solid var(--ui-edge)}body.workspace-redesign .asset-heading{display:flex;gap:10px;align-items:center;padding-right:30px;min-width:0}body.workspace-redesign .asset-heading h2{margin:0;font-size:23px}body.workspace-redesign .asset-heading .tag{margin-left:auto;font-size:10px;line-height:1.4;text-transform:uppercase;letter-spacing:.4px;flex-shrink:0;padding:3px 5px;background:var(--ui-soft);color:var(--ui-muted)}body.workspace-redesign .asset-location{font-size:12px;line-height:1.5;color:var(--ui-muted);min-width:0;overflow-wrap:break-word}body.workspace-redesign .asset-state-summary{display:inline-flex;justify-self:start;align-items:center;gap:5px;max-width:100%;font-size:12px;padding:5px 8px;line-height:1.4;border-radius:6px;background:#eaf4ed;color:#276346}body.workspace-redesign .asset-state-summary[data-tone=blue]{background:#e8f3fa;color:#036eb0}body.workspace-redesign .asset-state-summary[data-tone=yellow]{background:#fff6da;color:#715a16}body.workspace-redesign .asset-state-summary[data-tone=gray]{background:#eef1f4;color:#536371}body.workspace-redesign .asset-state-summary[data-tone=outage]{background:#fbeceb;color:#ac3935}
.worklist-heading{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:20px}.worklist-heading h2{margin-bottom:7px!important}.worklist-filters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.5fr);gap:14px;margin-bottom:20px}.worklist-asset{display:flex;align-items:flex-start;gap:14px;background:var(--ui-sheet);border:1px solid var(--ui-edge);border-radius:12px;padding:16px;margin-bottom:10px}.worklist-number{display:grid;place-items:center;width:46px;min-height:46px;border-radius:9px;flex-shrink:0;background:#e8f3fa;color:var(--ui-blue)}.worklist-asset>div{min-width:0;flex:1}.worklist-asset h3{margin-bottom:6px}.worklist-asset p{line-height:1.5}.worklist-asset .work-notes{white-space:pre-wrap;font-size:13px;overflow-wrap:anywhere;margin-top:10px}.worklist-asset .work-issue{color:#ac3935;font-size:13px;margin-top:8px}.worklist-asset>button{font-size:12px;flex-shrink:0}@media(max-width:700px){.worklist-filters{grid-template-columns:minmax(0,1fr)}.worklist-asset{flex-wrap:wrap;gap:10px}.worklist-asset>div{flex-basis:calc(100% - 58px)}.worklist-asset>button{margin-left:56px}}
body.workspace-redesign #tree-form{display:block}body.workspace-redesign .operating-fields{display:grid;grid-template-columns:minmax(0,1fr);gap:11px;margin:0;padding:16px 16px 8px}body.workspace-redesign .operating-fields>label{display:grid;grid-template-columns:minmax(0,1fr) 148px;align-items:center;gap:12px;font-size:12px}body.workspace-redesign .operating-fields select{font-size:12px;min-height:36px;padding:7px 8px;width:100%;margin:0}body.workspace-redesign #tree-autosave-status{margin:0;padding:4px 16px 12px;font-size:11px;line-height:1.5}body.workspace-redesign #tree-refresh{width:calc(100% - 32px);margin:0 16px 12px}
body.workspace-redesign .asset-note-section,body.workspace-redesign .asset-feed-section{padding:14px 16px;border-top:1px solid var(--ui-edge)}body.workspace-redesign .asset-note-section>label{gap:9px}body.workspace-redesign .asset-note-section>label>textarea{font-size:13px}body.workspace-redesign .asset-note-section .note-actions{margin-top:8px;display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}body.workspace-redesign .asset-note-section .note-actions button{min-height:30px;font-size:12px;padding:5px 9px}body.workspace-redesign .asset-note-section .note-actions span{font-size:11px;color:var(--ui-muted)}body.workspace-redesign .asset-section-label{font-size:11px;text-transform:uppercase;letter-spacing:.6px;color:var(--ui-muted);margin-bottom:8px}body.workspace-redesign .asset-feed-link{display:grid;gap:4px;padding:10px;border-radius:8px;background:var(--ui-soft);font-size:12px}body.workspace-redesign .asset-feed-link p{font-size:11px;line-height:1.5;color:var(--ui-muted)}body.workspace-redesign .asset-feed-link button{border:0;background:none;padding:0;min-height:24px;text-align:left;justify-content:flex-start;font-size:12px;font-weight:600;white-space:normal}
body.workspace-redesign .details details{padding:12px 16px;border:0;border-top:1px solid var(--ui-edge);font-size:12px;margin:0}body.workspace-redesign .details details>summary{font-size:12px;font-weight:500;line-height:1.5;cursor:pointer}body.workspace-redesign .details details>div{padding-top:12px;display:grid;gap:12px}body.workspace-redesign .details details:not([open])>*:not(summary){display:none}body.workspace-redesign .asset-more .fields{margin:0;gap:12px}body.workspace-redesign .asset-more .history{margin:0}body.workspace-redesign .asset-more h3{margin:6px 0 0}body.workspace-redesign .asset-more .show-tree{margin:0}body.workspace-redesign .asset-more .save-name{margin:0;justify-self:start}body.workspace-redesign .asset-issues .tree-reports{margin:0}body.workspace-redesign .tree-reports-heading{flex-wrap:wrap;gap:10px}body.workspace-redesign .verification-status{font-size:12px;margin-top:12px}body.workspace-redesign .public-wording{margin:0;border:0}body.workspace-redesign .public-wording h3{margin:0}body.workspace-redesign .public-wording form{display:grid;gap:10px}
body.workspace-redesign #side-content>.search{display:none}body.workspace-redesign #side-content:has(#tree-list){padding:18px 16px}body.workspace-redesign .asset-row strong{font-size:13px}body.workspace-redesign .asset-row small{font-size:11px}body.workspace-redesign .back{font-size:12px;margin:0;padding:6px 0;color:var(--ui-blue)}body.workspace-redesign .asset-card-actions{display:flex;gap:10px;align-items:center;padding:12px 16px;border-bottom:1px solid var(--ui-edge)}
body.workspace-redesign.workspace-page .workspace{overflow:auto;background:var(--ui-soft)}body.workspace-redesign.workspace-page .sidebar{position:relative;top:auto;left:auto;width:min(920px,calc(100% - 40px));max-height:none;margin:24px auto;overflow:visible;border:0;box-shadow:none;background:transparent}body.workspace-redesign.workspace-page .map-area{display:none}body.workspace-redesign.workspace-page #workspace-close-card{display:none}body.workspace-redesign .workflow-card,body.workspace-redesign .report-row{background:var(--ui-sheet);border:1px solid var(--ui-edge);border-radius:10px;padding:16px;margin:10px 0}body.workspace-redesign #workflow-content>h2{margin-bottom:12px}body.workspace-redesign .bulk-panel{padding:18px 16px}body.workspace-redesign .bulk-panel .fields{grid-template-columns:minmax(0,1fr);gap:12px}body.workspace-redesign .bulk-panel h2{font-size:20px;margin-top:12px}body.workspace-redesign .bulk-selection{margin-top:16px;background:#e8f3fa;border:0}body.workspace-redesign .bulk-selection-actions{gap:7px}body.workspace-redesign .bulk-list-head{margin-top:18px;padding-top:16px}body.workspace-redesign #bulk-tree-list{max-height:none}body.workspace-redesign .public-note-form textarea{font-size:13px}body.workspace-redesign .button-row{flex-wrap:wrap}
@media(max-width:1000px){body.workspace-redesign .topbar{padding:12px 14px}body.workspace-redesign .workspace-commandbar{gap:8px;padding:8px 12px}body.workspace-redesign .workspace-nav button{font-size:12px;padding:8px}body.workspace-redesign .workspace-toolbar-actions>button>span{display:none}body.workspace-redesign .workspace-mini-track{display:none}body.workspace-redesign .sidebar{width:300px}body.workspace-redesign .operating-fields>label{grid-template-columns:minmax(0,1fr) 138px;gap:10px}}
@media(max-width:700px){body.workspace-redesign .topbar{gap:10px;flex-wrap:wrap;padding:12px;align-items:center}body.workspace-redesign .brand{flex:1;gap:10px}body.workspace-redesign .clean425-logo{width:110px;height:33px}body.workspace-redesign .brand-project{padding-left:10px}body.workspace-redesign .brand strong{font-size:14px}body.workspace-redesign .brand span{font-size:11px}body.workspace-redesign .top-actions{width:100%;justify-content:space-between;gap:8px}body.workspace-redesign .workspace-progress-trigger{padding:3px 0;min-height:28px}body.workspace-redesign .workspace-account-trigger{min-height:30px;padding:4px 8px}body.workspace-redesign .workspace-commandbar{height:auto;min-height:96px;flex-wrap:wrap;padding:8px;gap:7px}body.workspace-redesign .workspace-nav{width:100%}body.workspace-redesign .workspace-nav button{min-height:34px;padding:6px 10px}body.workspace-redesign .workspace-search-wrap{max-width:none;flex:1;min-width:130px}body.workspace-redesign #workspace-search{font-size:13px}body.workspace-redesign .workspace-toolbar-actions{gap:5px}body.workspace-redesign .workspace-toolbar-actions>button{padding:8px;width:36px}body.workspace-redesign #bulk-toggle{font-size:12px;padding:8px}body.workspace-redesign .workspace{display:flex;flex-direction:column;height:auto;min-height:calc(100dvh - 208px);overflow:visible}body.workspace-redesign .map-area{height:auto;order:0}body.workspace-redesign .map-stage{height:360px;min-height:360px;flex:auto}body.workspace-redesign .sidebar{order:1;position:relative;left:auto;top:auto;width:calc(100% - 24px);margin:12px;max-height:none;border-radius:12px;overflow:visible;box-shadow:none}body.workspace-redesign.workspace-card-hidden .sidebar{display:none}body.workspace-redesign #workspace-close-card{right:10px}body.workspace-redesign .operating-fields>label{grid-template-columns:minmax(0,1fr) minmax(125px,48%)}body.workspace-redesign .workspace-popover{right:8px;max-height:calc(100dvh - 235px)}body.workspace-redesign .workspace-header-popover{right:10px;max-width:calc(100vw - 20px)}body.workspace-redesign .workspace-search-results{width:calc(100vw - 18px);max-width:calc(100vw - 18px)}body.workspace-redesign.workspace-page .sidebar{width:100%;margin:0;padding:0}body.workspace-redesign.workspace-page #workflow-content{padding:18px 14px}body.workspace-redesign .asset-more .fields{grid-template-columns:minmax(0,1fr)}body.workspace-redesign #workspace-jump-slot .project-jump{display:block}body.workspace-redesign .workspace-map-button{font-size:12px}body.workspace-redesign .map-message{left:60px;right:48px;max-width:none}body.workspace-redesign .leaflet-control-attribution{font-size:9px;max-width:100%;line-height:1.4}}

/* Keep save confirmations and their actions readable on the dark notice. */
body.workspace-redesign #undo-banner{background:#11283b;color:#f4f8fc;border:1px solid #3d596f;gap:10px;padding:12px 14px;max-width:calc(100vw - 24px);width:max-content;flex-wrap:nowrap}
body.workspace-redesign #undo-banner>span{flex:1 1 auto;min-width:0;line-height:1.5;overflow-wrap:anywhere}
body.workspace-redesign #undo-banner button{background:#294b65;color:#f4f8fc;border:1px solid #7895ab;min-height:36px;padding:6px 12px;font-size:12px;font-weight:500;line-height:1.4;flex-shrink:0;white-space:nowrap}
body.workspace-redesign #undo-banner button:hover{background:#365f7d;border-color:#b1cadc;color:#fff}
body.workspace-redesign #undo-banner button:disabled{background:#294b65;color:#d9e3eb;opacity:.55}
body.workspace-redesign #undo-banner #undo-dismiss{width:36px;padding:6px;font-size:20px;line-height:1}
@media(max-width:480px){body.workspace-redesign #undo-banner{width:calc(100vw - 24px);justify-content:flex-end;flex-wrap:wrap}body.workspace-redesign #undo-banner>span{flex-basis:100%}}
@media(pointer:coarse){body.workspace-redesign #undo-banner button{min-height:44px}body.workspace-redesign #undo-banner #undo-dismiss{width:44px}}
