.admin-news{min-width:0}.news-admin-head{display:flex;gap:20px;justify-content:space-between;align-items:start}.news-admin-head h3{margin:6px 0 12px}.news-admin-head p{max-width:780px}.news-admin-head>a{flex-shrink:0}.news-admin-tabs{display:flex;gap:12px;flex-wrap:wrap;margin:18px 0;border-bottom:1px solid var(--line,#d5c8b3);padding-bottom:14px}.news-admin-tabs button[aria-pressed=true]{background:#244b4a;color:#fcf9f3}.news-admin-layout{display:grid;grid-template-columns:minmax(200px,.7fr) minmax(0,1.7fr);gap:24px}.news-admin-list{display:flex;flex-direction:column;gap:0;align-self:start;max-height:900px;overflow:auto}.news-admin-list>button{display:grid;gap:8px;text-align:left;background:transparent;color:#242d2a;border:0;border-bottom:1px solid #d5c8b3;border-radius:0;padding:16px 12px;white-space:normal;overflow-wrap:anywhere}.news-admin-list>button[aria-current=true]{background:#eee8dd;border-left:3px solid #244b4a}.news-admin-list span,.news-admin-list small{font-size:.8rem;color:#65645b}.news-admin-detail{min-width:0}.news-admin-detail h4{font-size:1.2rem}.news-admin-detail blockquote{white-space:pre-wrap;border-left:2px solid #d5c8b3;margin:16px 0;padding-left:14px;line-height:1.6;overflow-wrap:anywhere}.news-admin-detail a{overflow-wrap:anywhere}.admin-news fieldset{border:0;padding:0;margin:16px 0;min-width:0}.admin-news legend{font-weight:700;margin-bottom:12px}.admin-news label{display:grid;gap:7px;margin:12px 0}.admin-news textarea{resize:vertical;min-height:110px}.admin-news input,.admin-news select,.admin-news textarea{min-width:0;max-width:100%;width:100%;font:inherit;font-size:16px}.news-language-grid,.news-date-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 18px}.news-language-grid h5{font-size:1rem;margin:12px 0}.news-country-options,.news-topic-choices>div{display:flex;gap:4px 22px;flex-wrap:wrap}.admin-news .news-country-options label,.admin-news .news-topic-choices label,.admin-news .news-check{display:flex;align-items:center;gap:9px;min-height:44px;margin:4px 0}.admin-news input[type=checkbox]{width:18px;min-height:18px;height:18px;flex-shrink:0}.news-topic-choices>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));padding-top:12px}.news-topic-choices label{font-size:.9rem}.news-source{border-top:1px solid #d5c8b3;padding:14px 0}.news-source summary{cursor:pointer;min-height:44px;align-content:center;overflow-wrap:anywhere}.news-source .news-date-grid{max-width:950px}.news-error{color:#9b342d;font-weight:600}.news-queue-filter{display:flex;gap:20px;align-items:center;justify-content:space-between}.news-queue-filter select{width:auto;min-width:220px}.admin-news .form-actions{gap:12px;flex-wrap:wrap;margin:20px 0}.admin-news .fine{line-height:1.65}.admin-news button:disabled{opacity:.6;cursor:wait}.admin-news fieldset[disabled] button{display:none}.admin-news details{margin:12px 0}.admin-news #newsStatus{overflow-wrap:anywhere}@media(max-width:1000px){.news-language-grid{grid-template-columns:1fr}.news-topic-choices>div{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:720px){.news-admin-head{flex-direction:column;gap:10px}.news-admin-layout{grid-template-columns:1fr;gap:20px}.news-admin-list{max-height:340px}.news-date-grid{grid-template-columns:1fr}.news-topic-choices>div{grid-template-columns:1fr}.news-queue-filter{align-items:start;flex-direction:column;gap:0}.news-admin-tabs{gap:10px}.news-admin-tabs button{flex:1 1 45%}}

/* Keep editorial headers independent from the fixed-height application header. */
:root .admin-news{min-width:0;max-width:100%}
:root .admin-news .news-admin-head,:root .admin-news .news-article-head{position:static;height:auto;min-height:0;padding:0;background:transparent;transform:none;width:auto}
:root .admin-news .news-admin-head{display:flex;align-items:flex-start;border:0;gap:20px;margin-bottom:24px}
:root .news-admin-head>div{min-width:0}
:root .news-admin-head p{margin:8px 0;line-height:1.6}
:root .news-admin-head>a{font-size:14px;color:#244b4a;white-space:normal}
:root .admin-news .news-article-head{display:block;border:0;margin:0 0 24px}
:root .news-article-head h4{margin:0 0 10px}
:root .news-article-head p{margin:10px 0;line-height:1.6}
:root .news-admin-tabs{align-items:center;padding:0 0 16px;margin:0 0 20px}
:root .news-admin-tabs button{width:auto;margin:0;min-height:44px;padding:10px 16px;border:1px solid #d5c8b3;border-radius:8px;background:#fcf9f3;color:#244b4a;white-space:normal}
:root .news-admin-tabs button[aria-pressed=true]{background:#244b4a;color:#fcf9f3;border-color:#244b4a}
:root .news-admin-tabs #newsReload{margin-left:auto;background:transparent;border-color:transparent}
:root .news-queue-filter{flex-wrap:wrap;margin-bottom:18px;gap:12px}
:root .news-queue-filter label{margin:0;max-width:100%;font-size:14px}
:root .news-queue-filter select{width:100%;min-width:0}
:root .news-queue-filter p{margin:0;font-size:14px;color:#65645b}
:root .news-admin-layout{grid-template-columns:minmax(0,300px) minmax(0,1fr);align-items:start}
:root .news-admin-list{min-width:0;max-width:100%;max-height:760px;overflow-y:auto;scrollbar-gutter:stable;gap:12px;padding:8px}
:root .news-admin-list>button{flex:0 0 auto;display:grid;grid-template-rows:auto auto auto;gap:10px;padding:20px 16px;border:1px solid #d5c8b3;border-left:3px solid #d5c8b3;border-radius:8px;width:100%;min-width:0;max-width:100%;margin:0;line-height:1.5;white-space:normal;text-overflow:clip;overflow:visible}
:root .news-admin-list>button>*{min-width:0;max-width:100%;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-overflow:clip}
:root .news-admin-list strong{font-size:14px;line-height:1.5}
:root .news-admin-detail{padding:24px;border:1px solid #d5c8b3;border-radius:8px;background:#fcf9f3;min-width:0}
:root .admin-news details{clear:both;min-width:0;border:1px solid #d5c8b3;border-radius:8px;background:#f7f3eb;padding:0 14px;margin:16px 0}
:root .admin-news details>summary{display:list-item;list-style:disclosure-closed inside;cursor:pointer;min-height:44px;padding:12px 0;margin:0;font-size:14px;line-height:1.5;color:#244b4a;white-space:normal;overflow-wrap:anywhere;background:transparent}
:root .admin-news details[open]>summary{list-style-type:disclosure-open}
:root .admin-news details[open]{padding-bottom:12px}
:root .news-language-grid>section,:root .news-date-grid>*{min-width:0}
:root .news-language-grid>section{padding:0;background:transparent;border:0}
:root .admin-news input,:root .admin-news textarea,:root .admin-news select{box-sizing:border-box;margin:0;padding:10px 12px;border:1px solid #b5ac9d;border-radius:6px;background:#fcf9f3;color:#242d2a}
:root .admin-news textarea.news-title-field{min-height:90px;line-height:1.5}
:root .admin-news .form-actions{display:flex;gap:12px;flex-wrap:wrap}
:root .admin-news .form-actions button{width:auto;margin:0;white-space:normal;min-height:44px}
:root .admin-news #newsStatus:empty{display:none}
@media(max-width:1150px){:root .news-language-grid{grid-template-columns:1fr}:root .news-admin-layout{grid-template-columns:minmax(0,250px) minmax(0,1fr)}}
@media(max-width:800px){:root .news-admin-layout{grid-template-columns:minmax(0,1fr)}:root .news-admin-list{max-height:360px}:root .news-admin-detail{padding:16px}:root .news-admin-head{flex-direction:column}:root .news-admin-tabs #newsReload{margin-left:0}:root .news-admin-tabs button{flex:1 1 180px}:root .news-date-grid{grid-template-columns:1fr}}

/* Every draft keeps its natural height, including its status. */
:root .news-admin-list>button[aria-current=true]{border-left-color:#244b4a}
:root .news-admin-list>button>*{display:block;margin:0;line-height:1.6}
:root .news-admin-list>button small{padding-top:2px}
:root .news-admin-layout{gap:28px}
:root .news-queue-filter{margin-bottom:24px}
:root .admin-news fieldset{margin-block:24px}
:root .admin-news label{gap:10px;margin-block:18px}
:root .news-language-grid{column-gap:24px;row-gap:24px}
:root .news-language-grid h5{margin:0 0 18px}
:root .news-article-head details{margin-block:20px 28px}
@media(max-width:800px){:root .news-admin-layout{gap:24px}:root .news-admin-list{max-height:460px}:root .news-admin-list>button{padding:18px 16px}:root .news-admin-detail{padding:20px}}

/* Compact vector flags retain the translated country name. */
:root .admin-news .news-country{display:inline-flex;align-items:center;gap:6px;vertical-align:middle;white-space:nowrap;font:inherit;color:inherit}
:root .admin-news .news-country svg{display:block;flex:0 0 24px;width:24px;height:16px;min-width:24px;max-width:24px;margin:0;overflow:visible}

/* Reuse the message editor for bilingual editorial takeaways. */
.admin-news .news-takeaway-field{min-width:0;margin:18px 0}
.admin-news .news-takeaway-field>p{margin:0 0 8px;font-weight:600}
.admin-news .news-takeaway-editor{gap:10px;min-width:0;--mail-border:#d5c8b3;--mail-paper:#fcf9f3}
.admin-news .news-takeaway-editor .mail-editor{min-height:180px;padding:12px 14px;border:1px solid #d5c8b3;border-radius:8px;background:#fcf9f3}
.admin-news .news-takeaway-editor .mail-editor:focus{outline:2px solid #244b4a;outline-offset:2px}
/* Explicit news scope wins over shared form and mail toolbar rules. */
:root .admin-news .news-takeaway-editor .mail-editor-toolbar{display:grid;grid-template-columns:minmax(0,1fr);gap:12px;margin:0;padding:14px;border:1px solid #d5c8b3;border-radius:8px;background:#f7f3eb;box-sizing:border-box}
:root .admin-news .news-takeaway-editor .mail-format-group{display:flex;align-items:center;flex-wrap:wrap;gap:8px;min-width:0;padding:0 0 12px;margin:0;border:0;border-bottom:1px solid #e4dccf}
:root .admin-news .news-takeaway-editor .mail-format-group:last-child{padding-bottom:0;border-bottom:0}
:root .admin-news .news-takeaway-editor .mail-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
:root .admin-news .news-takeaway-editor .mail-format-group>button{display:inline-flex;align-items:center;justify-content:center;flex:0 0 44px;box-sizing:border-box;width:44px;min-width:44px;height:44px;min-height:44px;padding:11px;margin:0;border:1px solid transparent;border-radius:6px;background:transparent;color:#242d2a}
:root .admin-news .news-takeaway-editor .mail-format-group>button:hover{background:#ece5d9}
:root .admin-news .news-takeaway-editor .mail-format-group>button[aria-pressed=true],:root .admin-news .news-takeaway-editor .mail-format-group>button[aria-expanded=true]{background:#ece5d9;border-color:#d5c8b3}
:root .admin-news .news-takeaway-editor .mail-editor-toolbar select{flex:0 1 128px;box-sizing:border-box;width:auto;min-width:0;max-width:100%;height:44px;min-height:44px;padding:8px 28px 8px 10px;margin:0;font:14px Arial,Helvetica,sans-serif;border:1px solid #d5c8b3;border-radius:6px;background-color:#fcf9f3;color:#242d2a}
:root .admin-news .news-takeaway-editor .mail-type-options>select{width:100%}
:root .admin-news .news-takeaway-editor .mail-editor-toolbar :is(button,select):focus-visible{outline:2px solid #244b4a;outline-offset:2px}
.admin-news .mail-error{color:#a23c3c}
.admin-news .mail-emoji-grid{grid-template-columns:repeat(auto-fit,44px)}
@media(max-width:600px){:root .admin-news .news-takeaway-editor .mail-editor-toolbar select{font-size:16px}.admin-news .mail-link-fields{grid-template-columns:1fr}}

.news-publication-check{margin:24px 0;padding:18px;border:1px solid #d5c8b3;border-radius:8px}.news-publication-check h5{margin:0 0 12px;font-size:16px}.news-publication-check ul{padding-left:22px;line-height:1.6}.news-publication-check li{margin:8px 0}

/* Independent destination states and new-item counts stay readable at every width. */
:root .news-admin-tabs #newsQueue{display:inline-flex;align-items:center;gap:8px;flex-wrap:nowrap}
:root .news-admin-tabs .watch-badge,:root #admin .admin-nav [data-admin=news] .watch-badge{flex:0 0 auto}
:root #admin .admin-nav [data-admin=news]{gap:8px;flex-wrap:nowrap}
:root .news-publication-check{display:grid;gap:14px}
:root .news-publication-check>p{margin:0;line-height:1.65}
:root .news-notification textarea{min-height:76px}

:root .news-destinations{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:0}
:root .news-destinations>div{min-width:0;padding:14px;border:1px solid #d5c8b3;border-radius:8px}
:root .news-destinations dt{font-weight:700;margin-bottom:8px}
:root .news-destinations dd{margin:0;line-height:1.6;overflow-wrap:anywhere}
@media(max-width:600px){:root .news-destinations{grid-template-columns:minmax(0,1fr)}}
