/* NO MODO IA — CP14: camada editorial discreta, mobile-first */
:root{--nmnews-y:#FFC300;--nmnews-ink:#111;--nmnews-line:#dfdfdf;--nmnews-bg:#fff;--nmnews-soft:#f6f6f6}
html[data-theme=dark]{--nmnews-ink:#f5f5f5;--nmnews-line:#373737;--nmnews-bg:#101010;--nmnews-soft:#1c1c1c}
.nmnews-top{display:flex;align-items:start;justify-content:space-between;gap:20px;margin:0 0 22px;flex-wrap:wrap}.nmnews-top h2{font-size:clamp(1.5rem,3vw,2rem);margin:7px 0}.nmnews-top p,.nmnews-panel p{line-height:1.55;color:var(--nmnews-ink);opacity:.8}.nmnews-kicker{font-size:11px;letter-spacing:.12em;font-weight:800;color:#987400}.nmnews-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0}.nmnews-stat,.nmnews-panel{border:1px solid var(--nmnews-line);background:var(--nmnews-bg);border-radius:16px;padding:20px;min-width:0;color:var(--nmnews-ink)}.nmnews-stat{display:grid;gap:5px}.nmnews-stat small{opacity:.75}.nmnews-stat strong{font-size:clamp(26px,3vw,38px);font-weight:800}.nmnews-stat span{font-size:12px;opacity:.65}.nmnews-tabs{display:flex;gap:7px;overflow-x:auto;white-space:nowrap;margin:20px 0;scrollbar-width:thin}.nmnews-tabs a{border:1px solid var(--nmnews-line);border-radius:40px;padding:10px 15px;font-size:13px;text-decoration:none;background:var(--nmnews-soft);color:var(--nmnews-ink)}.nmnews-panel{margin:18px 0;scroll-margin-top:85px}.nmnews-panel h3{font-size:22px;margin:0 0 8px}.nmnews-section-title{display:flex;justify-content:space-between;align-items:start;gap:15px;flex-wrap:wrap}.nmnews-btn,.nmnews-outline{background:var(--nmnews-y);color:#000!important;border:1px solid #e0ad00;border-radius:10px;font-size:13px;font-weight:750;padding:11px 15px;text-align:center;text-decoration:none;cursor:pointer;display:inline-block;white-space:nowrap}.nmnews-outline{background:transparent;border-color:var(--nmnews-line);color:var(--nmnews-ink)!important}.nmnews-btn:hover{background:#ffd645}.nmnews-lead{border-top:1px solid var(--nmnews-line);padding:20px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:18px}.nmnews-lead h4{margin:7px 0;font-size:17px;line-height:1.35;overflow-wrap:anywhere}.nmnews-lead p{margin:7px 0;max-width:70ch;font-size:14px}.nmnews-lead small{display:block;font-size:12px;line-height:1.7;overflow-wrap:anywhere}.nmnews-lead small a{color:inherit;text-decoration:underline}.nmnews-lead-actions{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.nmnews-region{font-size:11px;font-weight:760;color:#a17b00}.nmnews-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nmnews-upload label:not(.nmnews-check){display:grid;gap:6px;font-size:13px;font-weight:700;min-width:0}.nmnews-upload input:not([type=checkbox]),.nmnews-upload select{width:100%;max-width:100%;border:1px solid var(--nmnews-line);background:var(--nmnews-soft);padding:12px;border-radius:9px;color:var(--nmnews-ink);box-sizing:border-box;min-height:44px}.nmnews-wide{grid-column:1/-1}.nmnews-check{display:flex;align-items:center;gap:8px;margin:16px 0;font-size:13px}.nmnews-source-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nmnews-source-list div{background:var(--nmnews-soft);padding:12px;border-radius:10px;min-width:0}.nmnews-source-list strong{display:block;font-size:13px;overflow-wrap:anywhere}.nmnews-source-list small{opacity:.7}.nmnews-run{border-bottom:1px solid var(--nmnews-line);padding:5px 0;font-size:13px}.nmnews-spec{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.nmnews-spec div{border:1px solid var(--nmnews-line);border-radius:10px;padding:13px;display:grid;gap:6px}.nmnews-spec strong{font-size:13px}.nmnews-spec span{font-size:13px;opacity:.85}.nmnews-details{margin-top:20px}.nmnews-details summary{cursor:pointer;font-weight:700}.nmnews-empty{padding:24px;background:var(--nmnews-soft);border-radius:10px}.nmnews-figure{width:100%;margin:0;min-width:0}.nmnews-figure img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;border-radius:inherit;background:var(--nmnews-soft)}.nmnews-figure figcaption{font-size:11px;line-height:1.4;padding:6px 4px;color:var(--nmnews-ink);opacity:.7}.news-visual .nmnews-figure,.news-card .nmnews-figure{height:100%;display:block;overflow:hidden}.news-visual .nmnews-figure figcaption,.news-card .nmnews-figure figcaption{position:absolute;bottom:0;left:0;background:rgba(0,0,0,.67);color:#fff;padding:5px 9px;border-radius:0 8px 0 0}.news-visual:has(.nmnews-figure){position:relative}.article-visual:has(.nmnews-figure){height:auto;min-height:0;display:block!important;background:none!important}.article-visual .nmnews-figure img{max-height:75vh;object-fit:contain;background:#000}
.cp05-imagem-foto{overflow:hidden;position:relative;width:100%;height:100%;background:#222}.cp05-imagem-foto img{height:100%;width:100%;object-fit:cover;display:block}.cp05-imagem-foto small{position:absolute;bottom:8px;left:8px;z-index:1;background:rgba(0,0,0,.78);color:#fff;font-size:10px;padding:4px 8px;border-radius:4px}
.nmnews-audio{border:1px solid var(--nmnews-line);background:var(--nmnews-soft);padding:17px;border-radius:15px;margin:20px 0;color:var(--nmnews-ink)}.nmnews-audio-head{display:flex;flex-direction:column;gap:3px;margin-bottom:10px}.nmnews-audio-head strong{font-size:15px}.nmnews-audio-head small{font-size:11px;opacity:.7}.nmnews-audio-ui{display:flex;align-items:center;gap:12px;min-width:0}.nmnews-play{width:46px;height:46px;flex:0 0 46px;display:grid;place-items:center;border:0;background:var(--nmnews-y);color:#000;border-radius:50%;cursor:pointer;font-size:17px}.nmnews-wave{height:46px;flex:1 1 auto;min-width:50px;max-width:100%;touch-action:manipulation;cursor:pointer}.nmnews-time{min-width:38px;font-size:12px;font-variant-numeric:tabular-nums}.nmnews-volume{display:flex;align-items:center;gap:7px;font-size:11px}.nmnews-volume input{width:72px;accent-color:#d6a400}.nmnews-suggest{list-style:none;margin:0;padding:0;max-width:800px;background:var(--nmnews-bg);border-radius:0 0 12px 12px;box-shadow:0 10px 25px #0002}.nmnews-suggest li{padding:0;border-bottom:1px solid var(--nmnews-line)}.nmnews-suggest a{display:block;padding:10px 13px;color:var(--nmnews-ink);font-size:14px}.nmnews-search-chips{display:flex;gap:8px;margin:12px 0 24px;flex-wrap:wrap}.nmnews-search-chips a{padding:7px 12px;background:var(--nmnews-soft);border:1px solid var(--nmnews-line);border-radius:30px;text-decoration:none;font-size:12px;color:var(--nmnews-ink)}
@media(max-width:720px){.nmnews-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.nmnews-stat{padding:10px}.nmnews-stat small,.nmnews-stat span{font-size:10px}.nmnews-lead{grid-template-columns:1fr}.nmnews-fields,.nmnews-spec,.nmnews-source-list{grid-template-columns:1fr}.nmnews-panel{padding:14px}.nmnews-lead-actions{justify-content:flex-start}.nmnews-top .nmnews-outline{width:100%}.nmnews-volume{font-size:0}.nmnews-volume input{width:50px}}
@media(max-width:360px){.nmnews-volume{display:none}.nmnews-audio-ui{gap:7px}}
.nmnews-ai-state{font-size:12px;border-left:3px solid var(--nmnews-y);padding:8px 12px;background:var(--nmnews-soft)}.nmnews-ai-result{margin-top:10px;padding:10px 12px;background:var(--nmnews-soft);border-radius:10px;border-left:3px solid var(--nmnews-y);font-size:12px}.nmnews-ai-result p{margin:6px 0}.nmnews-ai-result ul{padding-left:18px}
.nmnews-ai-state{font-size:12px;border-left:3px solid var(--nmnews-y);padding:8px 12px;background:var(--nmnews-soft)}.nmnews-ai-result{margin-top:10px;padding:10px 12px;background:var(--nmnews-soft);border-radius:10px;border-left:3px solid var(--nmnews-y);font-size:12px}.nmnews-ai-result p{margin:6px 0}.nmnews-ai-result ul{padding-left:18px}

.nmnews-ai-result{margin-top:12px;padding:12px;border:1px solid var(--line,#dadada);border-radius:12px;background:var(--surface,#fafafa)}.nmnews-ai-result p{margin:6px 0}.nmnews-ai-result ul{padding-left:20px}.nmnews-ai-result li{margin:3px 0}


/* CP14.1 — Radar: foco na tarefa e contraste claro/escuro. */
.nmnews-primary-panel{border:2px solid var(--nmnews-y)}
.nmnews-pagination{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.nmnews-step{display:inline-block;margin:0 0 9px;font-size:11px;font-weight:850;letter-spacing:.09em;color:var(--nmnews-ink);opacity:.7}
.nmnews-search-form{display:flex;align-items:end;gap:12px;flex-wrap:wrap;margin-top:18px}
.nmnews-search-form>label{display:grid;gap:7px;flex:1 1 270px;min-width:0;font-size:13px;font-weight:750}
.nmnews-search-form select,.nmnews-filter-form select,.nmnews-filter-form input,.nmnews-add-form input{min-height:46px;width:100%;box-sizing:border-box;border:1px solid var(--nmnews-line);border-radius:10px;background:var(--nmnews-bg);color:var(--nmnews-ink);padding:10px 12px;font:inherit}
.nmnews-btn-main{min-height:46px;font-size:15px;padding:12px 21px;background:#FFC300;color:#000!important}
.nmnews-btn-main:disabled{opacity:.45;cursor:not-allowed}
.nmnews-help{font-size:12px;margin-bottom:0;opacity:.85}
.nmnews-filter-form{display:grid;grid-template-columns:minmax(160px,1.5fr) minmax(130px,.8fr) minmax(160px,1fr) auto;gap:9px;align-items:end;margin:17px 0}
.nmnews-filter-form label,.nmnews-add-form label{display:grid;gap:6px;font-size:12px;font-weight:750;min-width:0}
.nmnews-filter-form .nmnews-outline{min-height:46px}
.nmnews-count{font-size:12px;font-weight:650;background:var(--nmnews-soft);padding:9px 12px;border-radius:8px}
.nmnews-lead-tags{display:flex;gap:6px;align-items:center;flex-wrap:wrap;margin-bottom:8px}
.nmnews-lead-tags span{font-size:11px;font-weight:700;background:var(--nmnews-soft);border-radius:6px;padding:4px 7px}
.nmnews-lead-tags .nmnews-region{color:var(--nmnews-ink);background:var(--nmnews-y)}
.nmnews-source-link{display:inline-block;font-size:13px;font-weight:720;text-decoration:underline;color:var(--nmnews-ink);margin:10px 0 3px}
.nmnews-ai-note{padding-top:7px}
.nmnews-sources-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:16px 0}
.nmnews-source-card{border:1px solid var(--nmnews-line);border-radius:12px;padding:14px;min-width:0;display:grid;gap:8px;background:var(--nmnews-soft)}
.nmnews-source-head{display:flex;justify-content:space-between;align-items:start;gap:9px;flex-wrap:wrap}
.nmnews-source-head strong{font-size:14px}
.nmnews-source-card small{font-size:11px;line-height:1.5;opacity:.8}
.nmnews-source-card .nmnews-feed-url{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;max-width:100%}
.nmnews-source-badge{font-weight:700;font-size:10px;border:1px solid var(--nmnews-line);border-radius:6px;padding:4px 6px}
.nmnews-source-badge.is-checked{border-color:#208457;color:#207550}
.nmnews-source-badge.is-error{border-color:#bd3b3b;color:#c12d2d}
html[data-theme=dark] .nmnews-source-badge.is-checked{color:#74e9aa}
html[data-theme=dark] .nmnews-source-badge.is-error{color:#ff9191}
.nmnews-source-actions{display:flex;flex-wrap:wrap;gap:7px}
.nmnews-source-actions .nmnews-outline{padding:8px 13px;white-space:normal}
.nmnews-source-error{font-size:12px;margin:0;overflow-wrap:anywhere}
.nmnews-add-source{margin-top:22px;padding:16px;border:1px solid var(--nmnews-line);border-radius:12px}
.nmnews-add-source h4{margin:0;font-size:17px}.nmnews-add-source p{font-size:12px}
.nmnews-add-form{display:grid;grid-template-columns:1fr 1.7fr auto;gap:10px;align-items:end}
.nmnews-add-form .nmnews-btn{min-height:46px}
.nmnews-attention{border:1px solid var(--nmnews-y);border-radius:12px;padding:16px}
.nmnews-panel a:focus-visible,.nmnews-panel button:focus-visible,.nmnews-panel input:focus-visible,.nmnews-panel select:focus-visible{outline:3px solid #BC8500;outline-offset:2px}
@media(max-width:980px){.nmnews-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.nmnews-add-form{grid-template-columns:repeat(2,minmax(0,1fr))}.nmnews-add-form button{grid-column:1/-1}}
@media(max-width:720px){.nmnews-filter-form,.nmnews-add-form,.nmnews-sources-grid{grid-template-columns:1fr}.nmnews-search-form{flex-direction:column;align-items:stretch}.nmnews-search-form>label{flex-basis:auto}.nmnews-btn-main{width:100%}.nmnews-filter-form .nmnews-outline{width:100%}.nmnews-top .nmnews-outline{width:auto}.nmnews-lead-actions form,.nmnews-lead-actions button,.nmnews-lead-actions a{max-width:100%}}

.nmnews-bulk{display:flex;align-items:center;flex-wrap:wrap;gap:12px;margin:12px 0;padding:12px;border:1px solid var(--line,#aaa);border-radius:12px}.nmnews-bulk label,.nmnews-select{display:inline-flex;align-items:center;gap:7px;font-weight:600}.nmnews-bulk button{margin-left:auto}.nmnews-select{margin-bottom:8px}

/* CP14.4 — Politics focus, protected preview, editorial approval. */
.nmnews-politics-promo{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:18px;padding:18px 20px;border-radius:16px;background:var(--nmnews-soft);border:1px solid var(--nmnews-line);border-left:5px solid #FFC300;margin:15px 0}
.nmnews-politics-promo strong{display:block;font-size:20px;line-height:1.35}.nmnews-politics-promo p{max-width:65ch;font-size:13px;margin:7px 0 0;line-height:1.5}.nmnews-politics-links{display:flex;flex-wrap:wrap;gap:8px}.nmnews-filter-form{grid-template-columns:minmax(155px,1.3fr) minmax(100px,.7fr) minmax(125px,.7fr) minmax(155px,1fr) auto}
.nmnews-publication-card{border-top:1px solid var(--nmnews-line);padding:18px 0;display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center}.nmnews-publication-data{min-width:0}.nmnews-publication-data strong{display:block;font-size:16px;line-height:1.35}.nmnews-publication-data small{display:block;margin:6px 0;font-size:12px;opacity:.74}.nmnews-publication-data p{font-size:12px;margin:6px 0 0;opacity:.9}.nmnews-publication-actions{display:flex;gap:7px;align-items:center;flex-wrap:wrap}.nmnews-publish-toolbar,.nmnews-publish-confirm{display:flex;gap:12px;align-items:center;flex-wrap:wrap;background:var(--nmnews-soft);border-radius:12px;padding:13px;margin:14px 0}.nmnews-publish-toolbar label,.nmnews-publish-confirm label{font-size:13px;display:inline-flex;align-items:center;gap:8px}.nmnews-publish-toolbar select{border-radius:8px;min-height:40px;padding:5px 9px;background:var(--nmnews-bg);color:var(--nmnews-ink);border:1px solid var(--nmnews-line)}.nmnews-publish-confirm button{margin-left:auto}.nmnews-publish-confirm button:disabled{opacity:.45;cursor:not-allowed}.nmnews-review-detail{border:1px solid var(--nmnews-line);border-radius:11px;padding:12px 15px;margin:9px 0}.nmnews-review-detail summary,.nmnews-approval-help summary{cursor:pointer;font-weight:750;font-size:13px}.nmnews-review-detail form{padding-top:9px;display:grid;gap:10px}.nmnews-review-detail label{display:flex;gap:8px;align-items:start;font-size:13px}.nmnews-review-detail button{justify-self:start}.nmnews-preview-banner{position:sticky;top:0;z-index:1100;background:#101010;color:#fff;display:flex;gap:10px 24px;justify-content:center;align-items:center;padding:11px 16px;flex-wrap:wrap;font-size:12px;border-bottom:4px solid #ffc300}.nmnews-preview-banner strong{color:#ffd138}.nmnews-preview-banner a{color:#fff;text-decoration:underline}.nmnews-preview-page{padding-top:28px}.nmnews-preview-no-image{aspect-ratio:16/9;background:linear-gradient(135deg,#151515,#343434);color:#fff;display:flex;justify-content:center;align-items:center;flex-direction:column;gap:10px;padding:24px;text-align:center;width:100%;box-sizing:border-box}.nmnews-preview-no-image strong{font-size:clamp(19px,4vw,33px);letter-spacing:.06em;color:#ffc300}.nmnews-preview-no-image span{font-weight:700}.nmnews-preview-no-image small{max-width:390px;opacity:.76}.nmnews-preview-foot{display:flex;flex-wrap:wrap;gap:9px;padding:20px 0 40px}
.nmnews-preview-page .article-visual:has(.nmnews-preview-no-image){height:auto!important;min-height:0!important;padding:0!important;background:none!important;box-shadow:none!important}.nmnews-preview-page .nmnews-preview-foot .nmnews-outline{background:var(--nmnews-bg);color:var(--nmnews-ink)!important}
@media(max-width:1100px){.nmnews-filter-form{grid-template-columns:repeat(2,minmax(0,1fr))}.nmnews-filter-form button{grid-column:1/-1}}
@media(max-width:720px){.nmnews-filter-form{grid-template-columns:1fr}.nmnews-publication-card{grid-template-columns:1fr}.nmnews-politics-promo{padding:14px}.nmnews-publish-toolbar,.nmnews-publish-confirm{align-items:stretch}.nmnews-publish-confirm button{width:100%}.nmnews-preview-banner{position:static;text-align:center}.nmnews-preview-page{padding:12px}}

/* CP-14.5 — créditos editoriais legíveis em mobile e desktop */
.nmnews-credits{display:flex;flex-wrap:wrap;align-items:center;gap:8px 15px;padding:12px 0;margin:12px 0;border-top:1px solid rgba(120,120,120,.25);border-bottom:1px solid rgba(120,120,120,.25);color:inherit;font-size:.86rem;line-height:1.55;}
.nmnews-credits span{display:inline-flex;gap:5px;overflow-wrap:anywhere;max-width:100%}.nmnews-credits span+span::before{content:'·';margin-right:9px;color:#af8500}.nmnews-credits-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.nmnews-credits-grid>div{padding:14px;border:1px solid rgba(120,120,120,.26);border-radius:12px;display:flex;flex-direction:column;gap:6px}.nmnews-credits-grid span{font-size:.85rem;opacity:.83}.nmnews-credits-ready{font-weight:600}@media(max-width:600px){.nmnews-credits-grid{grid-template-columns:1fr}.nmnews-credits{gap:6px;flex-direction:column;align-items:flex-start}.nmnews-credits span+span::before{display:none}}

/* CP14.6 · Opt-in automático legível */
.nmnews-auto-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:18px 0}.nmnews-auto-source{display:grid;align-content:start;gap:12px;border:1px solid var(--nmnews-line);border-radius:12px;padding:16px;background:var(--nmnews-soft)}.nmnews-auto-source>div{display:flex;align-items:start;justify-content:space-between;gap:8px;flex-wrap:wrap}.nmnews-auto-source strong{font-size:14px}.nmnews-auto-source label,.nmnews-auto-run label{display:flex;align-items:flex-start;gap:8px;font-size:12px;line-height:1.5}.nmnews-auto-source button{justify-self:start;min-height:44px}.nmnews-auto-state{font-size:11px;border:1px solid currentColor;padding:4px 7px;border-radius:6px}.nmnews-auto-run{display:flex;flex-wrap:wrap;align-items:center;gap:13px;margin:14px 0;padding:14px;border-radius:12px;border:1px dashed var(--nmnews-line)}.nmnews-auto-source input,.nmnews-auto-run input{accent-color:#e6aa00;min-width:17px;min-height:17px}@media(max-width:760px){.nmnews-auto-grid{grid-template-columns:1fr}.nmnews-auto-run{align-items:stretch}.nmnews-auto-run button{width:100%}}
