/* EIP1 additions are scoped to editor pages; TCP1 files are unchanged. */
[hidden]{display:none!important}
.eip-panel{min-width:0;margin:24px 0;padding:24px;border:1px solid #d7ddd7;background:#fbfcfb;border-radius:7px}
.eip-panel legend{padding:0 8px;color:#005630;font-size:18px;font-weight:500}
.eip-mode-actions,.eip-block-head,.eip-block-actions,#eip-add-controls{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.eip-block-head{justify-content:space-between;margin-bottom:15px}.eip-small{padding:8px 12px!important;min-height:36px!important;font-size:13px!important}
.eip-block{margin:20px 0;padding:22px;border:1px solid #cdd8cd;background:white;border-radius:5px;min-width:0}
.eip-block label,.eip-panel label{display:block;margin-top:12px;font-size:14px}.eip-block textarea,.eip-panel textarea,.eip-panel select{margin-top:6px;width:100%;padding:12px;border:1px solid #c7d4ca;border-radius:4px;font:inherit;background:#fff;color:#18291f;resize:vertical}
.eip-panel input[type=file]{display:block;width:100%;font:inherit;padding:12px 0;white-space:normal}
.eip-image-editor{min-width:0;max-width:680px;margin:15px 0;padding:15px;background:#f0f4f0;border-radius:5px}
.eip-image-editor>img{width:100%;height:190px;object-fit:contain;background:#e5eae5}.eip-image-editor>button{margin-top:10px}
.eip-gallery-editor{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
#eip-add-controls{padding-top:8px}#eip-add-controls label{margin:0;min-width:180px}
#eip-plain-label{margin-top:16px}.eip-preview{width:min(1160px,calc(100% - 64px));margin:20px auto 80px;font-size:16px;line-height:1.9;color:#171e19}
.eip-preview-note{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 22px;background:#fff;border:1px solid #cad7cc;margin-bottom:40px;color:#005630}
.eip-preview-note p{font-size:13px;margin:0}.eip-preview-note .editor-secondary{flex-shrink:0}
.eip-article-header{border-bottom:1px solid #b7c1b8;padding-bottom:20px;margin-bottom:30px}
.eip-article-header h1{font-size:30px;line-height:1.5;font-weight:500;margin:0 0 12px;overflow-wrap:anywhere}
.eip-article-meta{display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;font-size:13px}
.eip-badge{color:#fff;padding:2px 9px;line-height:1.8;border-radius:3px}.eip-cat-0{background:#378d62}.eip-cat-1{background:#2d6fb7}.eip-cat-2{background:#024770}.eip-cat-3{background:#6f59a4}.eip-cat-4{background:#dea000}.eip-cat-5{background:#d84e49}.eip-cat-6{background:#d37410}.eip-cat-7{background:#00918e}
.eip-keywords{display:flex;flex-wrap:wrap;gap:8px;margin-top:13px}.eip-keyword{padding:1px 10px;font-size:12px;color:#315b42;border:1px solid #9cb4a1;background:#fff}
.eip-article-layout{display:grid;grid-template-columns:minmax(0,3fr) minmax(160px,1fr);gap:48px}.eip-article-body{min-width:0}
.eip-figure{margin:28px auto;max-width:90%}.eip-figure img{max-width:100%;width:100%;height:auto;object-fit:contain}.eip-hero{width:74%;margin-top:0;max-width:100%}
.eip-figure figcaption{font-size:12px;line-height:1.65;text-align:center;margin-top:8px;white-space:pre-wrap;overflow-wrap:anywhere}
.eip-lead{background:#f0ede9;padding:25px 28px;margin:30px 0;white-space:pre-wrap}.eip-paragraph,.eip-plain{white-space:pre-wrap;margin:25px 0;overflow-wrap:anywhere}
.eip-heading{font-size:22px;line-height:1.6;margin:32px 0 16px;font-weight:500;white-space:pre-wrap}.eip-quote{white-space:pre-wrap;background:#f0ede9;border-left:4px solid #005630;margin:28px 0;padding:18px 24px}
.eip-gallery{display:grid;gap:22px;margin:36px 0;align-items:start}.eip-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.eip-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.eip-gallery .eip-figure{max-width:100%;margin:0;width:100%}.eip-gallery img{aspect-ratio:3/2;object-fit:contain;background:#f0ede9}
.eip-related{padding:0 0 20px;font-size:13px;color:#637167}.eip-related h2{font-size:18px;font-weight:500;color:#15211a;margin:0 0 20px}.eip-related p{margin:0 0 22px}
.eip-preview>.field-help{border-top:1px solid #c7d1c8;margin-top:40px;padding-top:14px}
@media(max-width:767px){.eip-panel{padding:15px}.eip-block{padding:14px}.eip-preview{width:calc(100% - 32px);margin-top:0;font-size:15px}.eip-preview-note{flex-direction:column;align-items:stretch;margin-bottom:24px;padding:16px}.eip-preview-note .editor-secondary{align-self:flex-start}.eip-article-layout{grid-template-columns:1fr;gap:30px}.eip-article-header h1{font-size:23px}.eip-article-meta{font-size:11px;gap:9px}.eip-hero{width:100%}.eip-figure{max-width:100%}.eip-lead{padding:18px}.eip-gallery{gap:12px}.eip-cols-3{grid-template-columns:repeat(2,minmax(0,1fr))}.eip-related{border-top:1px solid #c7d1c8;padding-top:20px}.eip-gallery-editor{grid-template-columns:1fr}.eip-block-head{align-items:flex-start}.eip-heading{font-size:19px}}
@media(max-width:380px){.eip-block-actions{gap:5px}.eip-small{padding:6px 8px!important;font-size:12px!important}}
/* Per-placement body photo sizes; large and legacy photos retain their existing width. */
.eip-figure.eip-size-medium{width:66.666667%;max-width:66.666667%}
.eip-figure.eip-size-small{width:33.333333%;max-width:33.333333%}
.eip-gallery .eip-figure.eip-size-medium,.eip-gallery .eip-figure.eip-size-small{margin-inline:auto}
.eip-gallery .eip-size-medium img,.eip-gallery .eip-size-small img{aspect-ratio:auto}

/* SANGGONG_CHIEF_EDITOR_CATEGORY_CEC1_20261112 */
.eip-cat-8{background:#80604D}
