.content-editor-field{margin-bottom:22px}
.field-label-row{display:flex;align-items:center;justify-content:space-between;gap:10px}
.field-label-row button{padding:0;border:0;background:transparent;color:#abb978;cursor:pointer;font:750 7px Bahnschrift,sans-serif;letter-spacing:.1em}
.field-label-row button:hover{color:#dbe3b8}
.field-meter,.public-path{margin-top:-2px;color:#6f756a;font:650 9px/1.4 "Segoe UI",sans-serif;letter-spacing:0;text-transform:none}
.field-meter span{color:#aeb59a}
.field-meter.is-good,.field-meter.is-good span{color:#aebf69}
.field-meter.is-over,.field-meter.is-over span{color:#d08370}
.public-path{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.public-path b{color:#aebf70;font-weight:650}
.search-result-preview{display:grid;gap:4px;padding:18px 20px;border:1px solid #3a3e33;background:#12140f}
.search-result-preview>span{margin-bottom:6px;color:#7e856e;font:750 7px Bahnschrift,sans-serif;letter-spacing:.15em}
.search-result-preview>b{overflow:hidden;color:#aebf70;font:500 19px/1.3 "Segoe UI",sans-serif;text-overflow:ellipsis;white-space:nowrap}
.search-result-preview>small{overflow:hidden;color:#8a9f66;font-size:11px;text-overflow:ellipsis;white-space:nowrap}
.search-result-preview>small i{font-style:normal}
.search-result-preview>p{display:-webkit-box;overflow:hidden;margin:4px 0 0;color:#a8aca2;font-size:12px;line-height:1.55;-webkit-box-orient:vertical;-webkit-line-clamp:2}
.publication-panel>label{margin-bottom:17px}
.publication-readiness{margin:3px 0 18px;padding:15px 0;border-top:1px solid #34382e;border-bottom:1px solid #34382e}
.publication-readiness header{display:flex;align-items:end;justify-content:space-between;gap:12px;margin-bottom:10px}
.publication-readiness header span,.publication-address span{color:#858b7c;font:750 7px Bahnschrift,sans-serif;letter-spacing:.14em}
.publication-readiness header b{color:#d4d8c9;font:850 22px/1 Bahnschrift,sans-serif}
.publication-readiness header b i{font-style:normal}
.publication-readiness>div{height:4px;overflow:hidden;background:#2d3128}
.publication-readiness>div>i{display:block;width:0;height:100%;background:#9dab5e;transition:width .25s ease}
.publication-readiness ul{display:grid;gap:8px;margin:13px 0 0;padding:0;list-style:none}
.publication-readiness li{position:relative;padding-left:18px;color:#72786d;font-size:10px;line-height:1.35}
.publication-readiness li:before{content:"×";position:absolute;left:0;top:-1px;color:#8d665a;font-weight:900}
.publication-readiness li.is-complete{color:#bec5ac}
.publication-readiness li.is-complete:before{content:"✓";color:#a8ba62}
.publication-readiness.is-ready header b{color:#b9c96d}
.publication-address{display:grid;gap:5px;margin:0 0 17px;padding:12px;border:1px solid #34382e;background:#12140f}
.publication-address b{overflow:hidden;color:#bcc88b;font:700 10px Consolas,monospace;text-overflow:ellipsis;white-space:nowrap}
.publication-address b i{font-style:normal}
.content-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:8px}
.content-editor-heading label{margin:0!important}
.content-editor-heading>div:first-child{display:grid;gap:3px}
.content-editor-heading>div:first-child>span{color:#6f7568;font:700 8px Bahnschrift,sans-serif;letter-spacing:.14em;text-transform:uppercase}
.content-editor-heading .local-draft-state{color:#8d927f}
.content-editor-heading .local-draft-state.is-saved{color:#b8c777}
.editor-draft-notice{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 0 10px;padding:13px 14px;border:1px solid #69763b;background:#22281a}
.editor-draft-notice[hidden]{display:none!important}
.editor-draft-notice>div:first-child{display:grid;gap:4px}
.editor-draft-notice span{color:#c6d389;font:800 8px Bahnschrift,sans-serif;letter-spacing:.14em}
.editor-draft-notice p{margin:0;color:#a9ae9d;font-size:11px;line-height:1.5}
.editor-draft-notice>div:last-child{display:flex;flex-wrap:wrap;gap:7px;justify-content:flex-end}
.editor-draft-notice button{min-height:34px;padding:0 12px;font-size:8px}
.editor-mode-switch{display:flex;border:1px solid #3b3f35}
.editor-mode-switch button{height:32px;padding:0 11px;border:0;border-right:1px solid #3b3f35;background:#141610;color:#757a6f;cursor:pointer;font:750 8px Bahnschrift,sans-serif;letter-spacing:.1em}
.editor-mode-switch button:last-child{border-right:0}
.editor-mode-switch button:hover,.editor-mode-switch button.is-active{background:#a5b45f;color:#11130e}
.content-editor-workspace{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);gap:12px;align-items:start}
.content-editor-workspace[data-editor-mode="write"]{grid-template-columns:1fr}
.content-editor-workspace[data-editor-mode="write"] .content-live-preview{display:none}
.content-editor-workspace[data-editor-mode="preview"]{grid-template-columns:1fr}
.content-editor-workspace[data-editor-mode="preview"] .content-editor-source{display:none}
.content-editor-source{min-width:0}
.bb-toolbar{display:grid;gap:1px;padding:1px;border:1px solid #42463a;border-bottom:0;background:#30342b}
.bb-toolbar-group{display:flex;flex-wrap:wrap;gap:1px;background:#171a15}
.bb-toolbar button{min-width:40px;height:38px;padding:0 11px;border:0;border-right:1px solid #30342b;background:#1d2119;color:#cdd1c4;cursor:pointer;font:800 9px Bahnschrift,sans-serif;letter-spacing:.07em}
.bb-toolbar button:hover,.bb-toolbar button:focus-visible{position:relative;z-index:1;background:#a5b45f;color:#11130e;outline:0}
.bb-toolbar button b,.bb-toolbar button i,.bb-toolbar button u,.bb-toolbar button s{font-size:14px}
.bb-toolbar-selects{display:grid;grid-template-columns:repeat(4,minmax(130px,1fr));gap:1px;background:#30342b}
.bb-toolbar-selects label{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:8px;margin:0!important;padding-left:11px;background:#171a15}
.bb-toolbar-selects label>span{color:#777d70;font:700 7px Bahnschrift,sans-serif;letter-spacing:.13em}
.bb-toolbar-selects select{height:38px;padding:0 8px;border:0;background:#1d2119;font-size:11px;box-shadow:none}
.bb-toolbar-presets{display:grid;grid-template-columns:minmax(240px,.7fr) 1fr;align-items:center;background:#171a15}
.bb-toolbar-presets label{display:grid!important;grid-template-columns:auto 1fr;align-items:center;gap:10px;margin:0!important;padding-left:11px;border-right:1px solid #30342b}
.bb-toolbar-presets label>span{color:#a5b45f;font:750 7px Bahnschrift,sans-serif;letter-spacing:.13em}
.bb-toolbar-presets select{height:42px;padding:0 9px;border:0;background:#1d2119;font-size:11px;box-shadow:none}
.bb-toolbar-presets>span{padding:0 13px;color:#676d62;font-size:11px}
.bb-toolbar+.content-editor{display:block;min-height:460px;margin:0;border-color:#42463a;line-height:1.75;tab-size:4}
.bb-toolbar+.content-editor:focus{position:relative;z-index:1}
.content-editor-footer{min-height:45px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 13px;border:1px solid #3b3f35;border-top:0;background:#12140f;color:#6f7569}
.content-editor-footer>span{white-space:nowrap;font:700 8px Bahnschrift,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.content-editor-footer>span b{color:#b9c683}
.bbcode-help{position:relative}
.bbcode-help summary{cursor:pointer;color:#aeba78;font:750 8px Bahnschrift,sans-serif;letter-spacing:.13em;list-style:none}
.bbcode-help summary::-webkit-details-marker{display:none}
.bbcode-help summary:after{content:" +";color:#70766a}
.bbcode-help[open] summary:after{content:" −"}
.bbcode-help>div{position:absolute;z-index:12;right:0;top:31px;width:min(650px,75vw);padding:18px 20px;border:1px solid #4a4f3f;background:#171a14;box-shadow:0 18px 50px #0008}
.bbcode-help p{margin:0 0 10px;color:#a6aa9f;font-size:12px;line-height:1.7}
.bbcode-help p:last-child{margin-bottom:0}
.bbcode-help b{color:#e0e2d8}
.bbcode-help code{display:inline-block;margin:2px;padding:2px 6px;background:#0e100d;color:#bdc98b;font:11px Consolas,monospace}
.bb-toolbar.is-used{border-color:#829047}
.content-live-preview{min-width:0;border:1px solid #bbb8ad;background:#d8d5ca;color:#161813}
.content-live-preview>header{height:48px;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 14px;border-bottom:1px solid #b9b6aa;background:#cfccc1}
.content-live-preview>header>div{display:flex;align-items:center;gap:10px}
.content-live-preview>header span,.content-live-preview>header small{color:#696c63;font:750 7px Bahnschrift,sans-serif;letter-spacing:.13em}
.content-live-preview>header b{color:#606b30;font:800 7px Bahnschrift,sans-serif;letter-spacing:.11em}
.content-preview-insights{border-bottom:1px solid #bbb8ad;background:#c8c5ba}
.content-preview-insights dl{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));margin:0}
.content-preview-insights dl>div{display:flex;align-items:baseline;justify-content:space-between;gap:8px;min-width:0;padding:10px 12px;border-right:1px solid #b3b0a5}
.content-preview-insights dl>div:last-child{border-right:0}
.content-preview-insights dt{color:#73766d;font:750 6px Bahnschrift,sans-serif;letter-spacing:.13em}
.content-preview-insights dd{margin:0;color:#31352d;font:800 11px Bahnschrift,sans-serif}
.content-preview-insights dd b{font:inherit}
.content-preview-issues{display:grid;gap:5px;padding:9px 12px;border-top:1px solid #b5b2a7;background:#d6c6aa;color:#65452f;font-size:10px;line-height:1.45}
.content-preview-issues p{position:relative;margin:0;padding-left:12px}
.content-preview-issues p:before{content:"!";position:absolute;left:0;top:0;color:#8e5b33;font-weight:900}
.content-preview-issues.is-clean{background:#c9d0b1;color:#485523}
.content-preview-issues span{font-weight:650}
.content-preview-canvas{height:532px;overflow-y:auto;overflow-x:hidden;padding:32px 28px;background-image:linear-gradient(#00000008 1px,transparent 1px);background-size:100% 32px}
.content-live-preview .prose{max-width:none;color:#383b34;font-size:16px}
.content-live-preview .prose h2{font-size:34px;margin-bottom:22px}
.content-live-preview .prose h2:not(:first-child){margin-top:48px}
.content-live-preview .prose h3{font-size:22px}
.content-live-preview .prose p{margin-bottom:18px}
.content-live-preview .prose .bb-columns,.content-live-preview .prose .bb-columns--3,.content-live-preview .prose .bb-columns--4,.content-live-preview .prose .bb-cards,.content-live-preview .prose .bb-cards--2{grid-template-columns:1fr}
.content-live-preview .prose .bb-stats,.content-live-preview .prose .bb-stats--3{grid-template-columns:repeat(2,minmax(0,1fr))}
.content-live-preview .prose .bb-stats strong{font-size:21px;white-space:nowrap}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-columns{grid-template-columns:repeat(2,minmax(0,1fr))}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-columns--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-columns--4{grid-template-columns:repeat(4,minmax(0,1fr))}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-cards--1{grid-template-columns:1fr}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-cards--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-stats{grid-template-columns:repeat(4,minmax(0,1fr))}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-stats--1{grid-template-columns:1fr}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-stats--2{grid-template-columns:repeat(2,minmax(0,1fr))}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-stats--3{grid-template-columns:repeat(3,minmax(0,1fr))}
.content-editor-workspace[data-editor-mode="preview"] .content-live-preview .prose .bb-stats strong{font-size:34px}
.content-live-preview.is-loading .content-preview-canvas{opacity:.45}
.content-preview-error{padding:18px;border:1px solid #a06a5f;background:#ddc7c0;color:#69362d}

@media(max-width:1180px){
    .content-editor-workspace{grid-template-columns:1fr}
    .content-live-preview{display:none}
    .content-editor-workspace[data-editor-mode="preview"] .content-live-preview{display:block}
}
@media(max-width:980px){
    .bb-toolbar-selects{grid-template-columns:repeat(2,1fr)}
    .bb-toolbar-presets{grid-template-columns:1fr}
    .bb-toolbar-presets label{border-right:0;border-bottom:1px solid #30342b}
    .bb-toolbar-presets>span{padding:10px 13px}
}
@media(max-width:600px){
    .search-result-preview{padding:15px}
    .content-editor-heading{align-items:flex-start;flex-direction:column}
    .editor-draft-notice{align-items:flex-start;flex-direction:column}
    .editor-draft-notice>div:last-child{justify-content:flex-start}
    .editor-mode-switch{width:100%}.editor-mode-switch button{flex:1}
    .bb-toolbar{margin-left:-12px;margin-right:-12px}
    .bb-toolbar-selects{grid-template-columns:1fr}
    .bb-toolbar+.content-editor{min-height:420px}
    .content-editor-footer{align-items:flex-start;flex-direction:column;padding-top:13px;padding-bottom:13px}
    .content-preview-insights dl{grid-template-columns:repeat(2,minmax(0,1fr))}
    .content-preview-insights dl>div:nth-child(2){border-right:0}
    .content-preview-insights dl>div:nth-child(-n+2){border-bottom:1px solid #b3b0a5}
    .content-preview-canvas{height:480px;padding:24px 18px}
    .bbcode-help>div{position:fixed;left:16px;right:16px;top:95px;width:auto;max-height:70vh;overflow:auto}
}
