/* One workspace, preserved lists, and one reusable detail panel. */
[hidden]{display:none!important}
.main-workspace{width:min(1440px,calc(100vw - 54px));height:calc(100dvh - 145px);left:27px!important;top:49px!important;min-width:620px}
.main-workspace .sidebar{width:176px;padding:22px 10px 12px}
.workspace-body{display:flex;position:relative;flex:1;min-width:0;min-height:0;overflow:hidden;background:#fdfefb}
.module-host{display:flex;flex:1;min-width:0;min-height:0;overflow:hidden}
.module-view{flex:1;min-height:0;width:100%;overscroll-behavior:contain}
.module-view .page{padding:28px}
.detail-panel{display:flex;flex-direction:column;flex:0 0 60%;width:60%;max-width:740px;min-width:0;border-left:1px solid #dce5db;background:#fdfefb;box-shadow:-8px 0 30px #33483409;z-index:5;overflow:hidden}
.detail-navigation{flex-shrink:0;padding:13px 20px;background:#f4f7f0;border-bottom:1px solid #e0e8da;display:flex;align-items:center;justify-content:space-between;gap:9px;flex-wrap:wrap}
.detail-path{display:flex;align-items:center;gap:9px;min-width:0;font-size:11px;color:#6e8167;flex-wrap:wrap}
.detail-path b{font-weight:400;font-size:10px;color:#a87838;background:#fcf0dc;border-radius:4px;padding:3px 6px}
.detail-nav-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}
.detail-nav-actions .secondary{font-size:11px;padding:6px 9px}
.detail-content{min-height:0;overscroll-behavior:contain}
.detail-panel .detail-layout{display:block}
.detail-panel .detail-main{padding:23px}
.detail-panel .detail-main h1{font-size:22px}
.detail-panel .detail-aside{border-left:0;border-top:1px solid #e2e9dc;padding:23px}
.detail-panel .form-actions{bottom:0;flex-wrap:wrap;padding:12px 0}
.detail-panel .form-actions .small{font-size:10px}
.detail-panel .field-grid{gap:14px}
.has-detail .module-view .page{padding:22px 16px}
.has-detail .module-view .page-header{flex-wrap:wrap;gap:10px}
.has-detail .module-view h1{font-size:25px}
.has-detail .module-view .page-header p{font-size:11px}
.has-detail .toolbar .search-inline{flex-basis:100%}
.has-detail .home-columns{grid-template-columns:1fr}
.has-detail .stat-grid{grid-template-columns:repeat(2,1fr)}
.has-detail .date-badge,.has-detail .recent-panel{display:none}
.has-detail .capture form{flex-wrap:wrap}
.has-detail .capture-sign{display:none}
.detached-layout{display:flex;flex-direction:column;overflow:hidden}
.detached-content{width:100%;min-height:0}
.editor-busy .detail-content,.editor-busy .detached-content{pointer-events:none;opacity:.72}
.editor-busy .detail-nav-actions{pointer-events:none;opacity:.6}
.workspace-search{display:flex;flex-direction:column;height:100%;min-height:0}
.workspace-search .spot-input{flex-shrink:0;padding:20px;gap:10px}
.workspace-search .spot-input input{min-width:0;font-size:17px}
.workspace-search .spot-input button{font-size:12px;padding:9px 12px}
.workspace-search .spot-meta{flex-shrink:0;line-height:1.8;font-size:11px}
.workspace-search .search-groups{max-height:160px;overflow:auto;flex-shrink:0}
.workspace-search .search-results{flex:1;min-height:0;overscroll-behavior:contain}
.workspace-search .result-card:focus-visible{outline:2px solid #648b6c;outline-offset:-2px}
.workspace-search #search-more{display:block;margin:18px auto}
.leave-error{color:#ad6154;font-size:12px;line-height:1.7}
@media(min-width:1500px){.main-workspace{left:max(27px,calc((100vw - 1440px)/2))!important}.main-workspace .sidebar{width:190px}}
@media(max-width:1100px){.main-workspace .sidebar{width:145px}.detail-panel{flex-basis:63%;width:63%}.detail-panel .field-grid{grid-template-columns:1fr}.detail-panel .detail-main,.detail-panel .detail-aside{padding:18px}.has-detail .module-view .toolbar{gap:6px}.has-detail .workspace-search .spot-input{flex-wrap:wrap}.has-detail .workspace-search .spot-input input{flex:1;min-width:130px}.has-detail .workspace-search .result-top{flex-wrap:wrap}}
@media(max-width:800px){.detail-panel{position:absolute;inset:0;max-width:none;width:100%;border-left:0}.has-detail .module-host{visibility:hidden}.detail-panel .field-grid{grid-template-columns:1fr 1fr}}
@media(max-width:700px){.main-workspace{inset:42px 8px 88px!important;width:calc(100vw - 16px)!important;height:calc(100dvh - 130px)!important;min-width:0;min-height:0}.main-workspace .sidebar{width:48px;padding:14px 3px 10px}.main-workspace.has-detail{inset:33px 0 0!important;width:100vw!important;height:calc(100dvh - 33px)!important;z-index:4950!important;border-radius:0}.main-workspace.has-detail .sidebar{display:none}.main-workspace.has-detail .window-bar{height:35px}.main-workspace.has-detail .traffic{top:11px}.main-workspace.has-detail .window-search{top:4px}.module-view .page{padding:20px 14px}.detail-navigation{padding:10px 14px;gap:7px}.detail-nav-actions [data-detach]{display:none}.detail-panel .field-grid{grid-template-columns:1fr}.detail-panel .detail-main,.detail-panel .detail-aside{padding:18px 15px}.detail-panel .form-actions{bottom:0}.detail-panel .form-actions .small{flex-basis:100%;margin-left:0}.workspace-search .spot-input{padding:14px 10px;gap:7px;flex-wrap:wrap}.workspace-search .spot-input>svg{display:none}.workspace-search .spot-input input{flex-basis:100%;font-size:15px}.workspace-search .spot-input button{padding:7px 10px;font-size:11px}.workspace-search .spot-meta{padding:10px 12px}.workspace-search .search-groups{padding:0 12px 12px;max-height:120px}.workspace-search .result-top{flex-wrap:wrap}.workspace-search .result-copy strong{overflow-wrap:anywhere}.workspace-search .result-match{font-size:11px}.detail-panel .page-header .button-row{gap:4px}}

.main-workspace .workspace-brand span{font-size:8px;letter-spacing:.7px;white-space:nowrap}
