.news-badge{display:inline-flex;align-items:center;justify-content:center;min-width:19px;height:19px;margin-left:auto;padding:0 5px;border-radius:10px;background:var(--green-soft);color:var(--green-hover);font-size:10px;font-weight:750;font-variant-numeric:tabular-nums}
.news-badge[hidden]{display:none}
[data-news-link]{position:relative}
.sidebar .news-badge{background:#c7ef99;color:#153b34}
.mobile-nav-icon .news-badge{position:absolute;top:-4px;right:-11px;margin:0;min-width:16px;height:16px;padding:0 3px;font-size:9px}
@media(min-width:851px){.sidebar-collapsed .news-badge{position:absolute;top:1px;right:0;min-width:15px;height:15px;padding:0 3px;font-size:8px}}
.news-page{max-width:1180px;margin:0 auto}
.news-heading-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.news-toolbar{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px}
.news-toolbar>.hint{font-size:12px;color:var(--muted)}
.news-toolbar .tab{padding:6px 10px;font-size:12px;min-height:32px}
.news-list{display:grid;gap:10px}
.news-item{min-width:0;border:1px solid var(--line);border-radius:12px;background:var(--surface);overflow:hidden}
.news-item.is-unread{border-left:3px solid var(--green)}
.news-card summary{display:block;padding:14px 16px;cursor:pointer;list-style:none}
.news-card summary::-webkit-details-marker{display:none}
.news-card summary:focus-visible{outline:2px solid var(--green);outline-offset:-3px;border-radius:10px}
.news-card-meta{display:flex;align-items:center;flex-wrap:wrap;gap:5px 10px;margin-bottom:5px;font-size:11px;color:var(--muted)}
.news-kind{font-weight:650;color:var(--green)}
.news-status{margin-left:auto;background:var(--green-soft);color:var(--green-hover);padding:2px 6px;border-radius:5px;font-weight:600}
.news-card h2{font-size:18px;line-height:1.35;margin:0;overflow-wrap:anywhere;color:var(--ink)}
.news-excerpt{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;margin:7px 0 0;font-size:13px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--muted)}
.news-expand{display:flex;align-items:center;gap:4px;color:var(--green);font-size:11px;font-weight:600;margin-top:7px}
.news-expand svg{width:12px;height:12px}
.news-card[open] .news-excerpt,.news-card[open] .news-expand{display:none}
.news-body{padding:0 16px 14px}
.news-body>p{font-size:14px;line-height:1.65;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--ink)}
.news-byline{font-size:11px;color:var(--muted);margin-top:12px}
.news-card-actions{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:6px 16px;border-top:1px solid var(--line);background:var(--surface-soft)}
.news-card-actions .text-btn{font-size:11px;min-height:30px;display:inline-flex;align-items:center;gap:5px}
.news-card-actions svg{width:13px;height:13px}
.news-footer{display:flex;justify-content:center;margin-top:10px}
.news-editor{max-width:900px;background:var(--surface);border:1px solid var(--line);border-radius:12px;padding:16px}
.news-editor .field{margin-bottom:12px;min-width:0}
.news-editor textarea{resize:vertical;min-height:180px;line-height:1.6}
.news-editor-footer{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:14px;padding-top:12px;border-top:1px solid var(--line)}
.news-audience{padding:2px 6px;border-radius:5px;background:var(--surface-soft);color:var(--muted)}
.news-cover{margin-top:12px;max-width:420px;overflow:hidden;border-radius:9px;background:var(--surface-soft)}
.news-cover img{display:block;width:100%;max-height:210px;object-fit:cover}
.news-card[open] .news-cover{display:none}
.news-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px;margin-top:12px;align-items:start}
.news-gallery figure{margin:0;min-width:0;border-radius:9px;overflow:hidden;background:var(--surface-soft)}
.news-gallery img,.news-gallery video{display:block;width:100%;max-height:480px;object-fit:contain}
.news-gallery video{aspect-ratio:16/9;background:#152721}
.news-gallery figcaption{padding:7px 10px;font-size:12px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}
.news-editor-top{display:grid;grid-template-columns:minmax(0,1fr) 190px;gap:12px}
.news-editor-section{border-top:1px solid var(--line);padding-top:14px;margin-top:14px}
.news-editor-section h2,.news-preview h2{font-size:16px;margin:0 0 10px;overflow-wrap:anywhere}
.news-editor-section>.field{max-width:360px}
.news-recipient-summary{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:6px;font-size:12px;margin-bottom:6px}
.news-recipient-summary>div{display:flex;gap:12px}
.news-recipient-list{max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:8px;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr))}
.news-recipient{display:flex;align-items:center;gap:9px;min-height:52px;padding:8px 10px;cursor:pointer;min-width:0}
.news-recipient:has(input:checked){background:var(--green-soft)}
.news-recipient input{width:18px;height:18px;flex:0 0 18px;accent-color:var(--green)}
.news-recipient span{min-width:0}.news-recipient strong{display:block;font-size:13px;font-weight:600;overflow-wrap:anywhere}
.news-recipient small,.news-attachment-info small,.news-upload small,.news-library-file small{display:block;font-size:11px;color:var(--muted);overflow-wrap:anywhere}
.news-media-tools{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.news-file-button{position:relative;overflow:hidden;cursor:pointer}
.news-file-button input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.news-file-button:focus-within{outline:2px solid var(--green);outline-offset:2px}
.news-attachment{display:grid;grid-template-columns:180px minmax(0,1fr);gap:14px;padding:12px 0;border-top:1px solid var(--line)}
.news-attachment-thumb{align-self:start;border-radius:8px;overflow:hidden;background:var(--surface-soft)}
.news-attachment-thumb img,.news-attachment-thumb video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain}
.news-attachment-thumb video{background:#152721}
.news-attachment-info>strong{display:block;font-size:13px;overflow-wrap:anywhere}
.news-attachment-info .field{font-size:11px;margin:7px 0}
.news-attachment-actions{display:flex;align-items:center;gap:6px;flex-wrap:wrap}
.news-attachment-actions .btn{min-width:36px;padding:4px 10px}
.news-attachment-actions .text-btn,.news-media-tools .text-btn,.news-recipient-summary .text-btn{font-size:12px}
.news-upload,.news-library-file{display:flex;align-items:center;gap:10px;flex-wrap:wrap;padding:8px 0;border-bottom:1px solid var(--line);font-size:12px}
.news-upload>span,.news-library-file>span{flex:1;min-width:120px;overflow-wrap:anywhere}
.news-upload progress{width:90px;max-width:100%;accent-color:var(--green)}
.news-library{padding:6px 10px;margin:10px 0;border:1px solid var(--line);border-radius:8px;max-height:300px;overflow:auto}
.news-preview-tools{display:flex;align-items:center;flex-wrap:wrap;gap:10px;margin-top:14px}
.news-preview{padding:14px;margin-top:12px;border:1px solid var(--green);border-radius:9px;background:var(--surface-soft)}
.news-preview .news-body{padding:0}
.news-editor [hidden]{display:none!important}
@media(max-width:600px){.news-editor-top{grid-template-columns:1fr;gap:0}.news-attachment{grid-template-columns:1fr;gap:8px}.news-attachment-thumb{max-width:320px;width:100%}.news-cover{max-width:none}.news-cover img{max-height:170px}.news-editor .btn,.news-editor .text-btn{min-height:44px}.news-attachment-actions .btn{min-width:44px}.news-recipient-list{max-height:230px}.news-recipient-summary>div{gap:8px}.news-preview-tools>.hint{font-size:11px}}
@media(max-width:850px){.news-page .page-heading{flex-wrap:wrap}.news-page .page-heading h1{font-size:22px}.news-heading-actions .btn,.news-heading-actions .icon-btn,.news-toolbar .tab,.news-card-actions .text-btn,.news-footer .btn{min-height:44px}.news-heading-actions .icon-btn{min-width:44px}.news-heading-actions .btn{padding:6px 10px;font-size:12px}.news-toolbar{flex-wrap:wrap;gap:4px}.news-toolbar .tabs{gap:3px}.news-toolbar>.hint{font-size:11px}.news-card summary{padding:12px}.news-card h2{font-size:16px}.news-body{padding:0 12px 12px}.news-list{gap:8px}.news-card-actions{padding:3px 12px}.news-editor{padding:12px}.news-editor input,.news-editor textarea,.news-editor select{font-size:16px}.news-editor-footer>.flex{flex:1 1 100%;gap:6px}.news-editor-footer button{min-height:44px;flex:1;padding:7px;font-size:12px}.mobile-bottom-nav .mobile-nav-item{font-size:9px}}
