/* V2.1.0: scoped editor and search UI. Existing global layout unchanged. */
.searchlink210{display:inline-flex!important;align-items:center;gap:5px;white-space:nowrap}.searchlink210 svg{width:17px;height:17px}.search210{max-width:980px;margin:0 auto;min-width:0;display:grid;gap:16px}.searchhead210{display:flex;align-items:center;gap:14px}.searchhead210>div:nth-child(2){flex:1;min-width:0}.searchhead210 h1{margin:0 0 5px;font-size:clamp(24px,3vw,32px)}.searchhead210 p{margin:0}.searchicon210,.resulticon210{width:50px;height:50px;flex:none;display:grid;place-items:center;background:var(--soft,var(--bg));border:1px solid var(--line);border-radius:12px;color:var(--accent)}.searchicon210 svg{width:25px;height:25px}.searchform210{padding:20px;display:grid;gap:14px}.searchbar210{display:flex;gap:10px;align-items:center}.searchinput210{margin:0!important;flex:1;min-width:0}.searchinput210 input{margin:0!important}.searchfilters210{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.searchfilters210 label{min-width:0;margin:0}.searchfilters210 input,.searchfilters210 select{width:100%;min-width:0;box-sizing:border-box}.searchform210 p{margin:0}.sr210{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.searchtabs210{display:flex!important;justify-content:flex-start!important;flex-wrap:wrap;gap:8px;background:transparent!important;padding:0!important}.searchtabs210 .active210,.editor210 [aria-pressed=true]{background:var(--accent)!important;color:white!important}.recent210{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.recent-items210{display:flex;gap:6px;flex:1;flex-wrap:wrap}.recent-items210 a{max-width:100%;overflow-wrap:anywhere}.results210{padding:18px}.results210>.toolbar{justify-content:space-between;margin:0 0 8px}.result210{display:flex;align-items:center;gap:14px;border-top:1px solid var(--line);padding:16px 0;min-width:0}.resulticon210{width:44px;height:44px}.resulticon210 svg{width:22px;height:22px}.resulttext210{flex:1;min-width:0;overflow-wrap:anywhere}.resulttext210 h2{font-size:17px;margin:5px 0}.resulttext210 p{margin:4px 0;color:var(--muted);white-space:normal}.search210 mark{background:#f5d98d;color:#342c20;border-radius:2px;padding:0 1px}.searchempty210{text-align:center;padding:40px 16px}.searchempty210 svg{width:36px;height:36px;color:var(--muted)}.searchempty210 h2{font-size:18px;margin:12px 0 5px}.pager210{justify-content:center}.editor210 .editor-head161{flex-wrap:wrap;gap:8px}.editor210 .editor-modes,.editor210 .tools210,.editor210 .rich-tools{display:flex;gap:6px;flex-wrap:wrap;align-items:center}.editor210 .tools210{border:1px solid var(--line);border-radius:10px;padding:8px;margin:8px 0}.editor210 .rich-tools button,.editor210 .tools210 button{min-height:34px}.editor210 .modehint210{font-size:12px;margin:7px 0}.editor210 .rich-editor,.editor210 textarea[name=body]{min-height:320px;overflow-wrap:anywhere}.editor210 .material-actions210{justify-content:flex-start;gap:12px}.editor210 .live210{padding:14px;border:1px solid var(--line);border-radius:12px;margin:12px 0;background:var(--card);min-width:0}.live210 .toolbar{justify-content:space-between}.live-content210{overflow:auto;max-height:500px;min-height:100px}.editor-full210{overflow:hidden!important}.editor210.full210{position:fixed!important;inset:0!important;z-index:500!important;margin:0!important;max-width:none!important;width:100%!important;height:100dvh;overflow:auto;border-radius:0!important;padding:clamp(12px,3vw,36px)!important;box-sizing:border-box}.editor210.full210 .editor-grid160{grid-template-columns:minmax(0,1fr)!important}.editor210.full210 .editor-head161{position:sticky;top:0;background:var(--card);z-index:2;padding:8px 0}.editor210.full210 .rich-editor,.editor210.full210 textarea[name=body]{min-height:55vh}.dialog210,.preview-full210{width:min(680px,calc(100% - 28px));max-width:calc(100% - 28px);max-height:90dvh;overflow:auto;box-sizing:border-box;border:1px solid var(--line);border-radius:14px;padding:18px;background:var(--card);color:var(--ink);box-shadow:0 12px 50px #0004}.dialog210::backdrop,.preview-full210::backdrop{background:#15223580}.dialog210>.toolbar{justify-content:space-between;align-items:center}.dialog210 h2{font-size:18px;margin:0}.dialog210 label{display:block;margin:12px 0}.dialog210 select,.dialog210 input:not([type=checkbox]){width:100%;min-width:0}.materialfilters210{display:grid;grid-template-columns:2fr 1fr 1fr auto;gap:8px;align-items:end}.materialfilters210 label{min-width:0}.materialfilters210 button{margin-bottom:12px}.materiallist210{max-height:42vh;overflow:auto;border:1px solid var(--line);border-radius:10px}.dialog210 .materialrow210{display:grid;grid-template-columns:auto minmax(0,1fr);gap:4px 10px;align-items:center;padding:10px;margin:0;border-bottom:1px solid var(--line);overflow-wrap:anywhere}.materialrow210 small{grid-column:2;color:var(--muted)}.preview-full210{width:min(840px,calc(100% - 28px))}.previewpage210 h1{overflow-wrap:anywhere}.previewcard210{padding:10px 0}.previewattachments210{border-top:1px solid var(--line);margin-top:18px}.previewfile210{margin:10px 0;overflow-wrap:anywhere}.previewfile210 img,.previewfile210 video,.previewfile210 audio{max-width:100%;max-height:300px}.body [class^="img210-"]{display:block;max-width:100%;margin:8px 0}.body .img210-25{width:25%}.body .img210-50{width:50%}.body .img210-75{width:75%}.body .img210-100{width:100%}.body .img210-left{margin-right:auto}.body .img210-center{margin-left:auto;margin-right:auto}.body .img210-right{margin-left:auto}.body [class^="img210-"]>img{width:100%;max-width:100%;height:auto;object-fit:contain}.body pre{overflow:auto;white-space:pre;max-width:100%}.editor210 .body table,.live210 table,.previewpage210 table{border-collapse:collapse;width:100%;table-layout:fixed}.editor210 .body th,.editor210 .body td,.live210 th,.live210 td,.previewpage210 th,.previewpage210 td{border:1px solid var(--line);padding:7px;overflow-wrap:anywhere}.editor210 .body th,.live210 th,.previewpage210 th{background:var(--bg)}.editor210 [hidden],.search210 [hidden]{display:none!important}
@media(max-width:760px){.search210{gap:12px}.searchfilters210{grid-template-columns:repeat(2,minmax(0,1fr))}.searchhead210{flex-wrap:wrap}.searchhead210>div:nth-child(2){flex:1 1 150px}.searchhead210>a{margin-left:64px}.searchform210,.results210{padding:12px}.result210{gap:8px;align-items:flex-start}.result210>a{display:none}.resulticon210{width:34px;height:34px}.resulttext210 h2{font-size:15px}.materialfilters210{grid-template-columns:1fr 1fr}.editor210 .rich-editor,.editor210 textarea[name=body]{min-height:240px}.searchlink210 span{display:none}.searchlink210{padding:5px!important}.editor210 .focus210{display:inline-flex!important}}

.editor210 .richgroup210{display:flex;flex-wrap:wrap;gap:4px;align-items:center;padding-right:7px;border-right:1px solid var(--line)}.editor210 .richgroup210:last-child{border:0;padding-right:0}

.focusactions210{display:flex;gap:8px;flex-wrap:wrap}.editor210 .editor-meta210{padding:10px 0;border-bottom:1px solid var(--line);margin-bottom:12px}.editor210 .editor-meta210 summary{cursor:pointer;font-weight:600}.editor210 .editor-meta210[open]>summary{margin-bottom:10px}.editor210 .editor-meta210 .tagpicker190{display:flex;flex-wrap:wrap}.editor210 .editor-meta210 .tagpicker190 label{flex:1;min-width:120px}.editor210 .editor-meta210 .tagpicker190 button{align-self:end}.search210 .searchtabs210{margin:0;max-width:none}.search210 .searchtabs210 a{color:var(--ink)}.search210 .searchtabs210 .active210{color:white!important}.editor210 .editor-modes [aria-pressed=true],.editor210 .live-toggle210[aria-pressed=true]{color:var(--ink)!important;background:var(--hero)!important;border-color:var(--accent)!important}

.localfiles210 img{display:block;max-width:100%;max-height:300px;object-fit:contain}.conflict210{padding:20px}.conflict210 h1,.conflict210 p{margin:0}.conflict210 textarea{width:100%;resize:vertical}
