/* SWC PMO · Anotações por assunto [2026-09-27] — tokens do tema com reserva */
.anot-wrap { display: flex; flex-direction: column; gap: 14px; }
.anot-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.anot-chip { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line, #252d3d); background: var(--panel, #161b27); color: var(--muted, #8892a4); border-radius: 999px; padding: 6px 11px; font: 600 12.5px/1 inherit; cursor: pointer; }
.anot-chip svg { width: 13px; height: 13px; }
.anot-chip span { color: var(--muted, #8892a4); font-weight: 500; }
.anot-chip[aria-pressed="true"] { color: var(--gold-txt, var(--gold, #f59e0b)); border-color: var(--gold-line, rgba(245,158,11,.38)); background: color-mix(in srgb, var(--gold, #f59e0b) 12%, transparent); }
.anot-nova { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; }
.anot-nova svg { width: 14px; height: 14px; }
.anot-lista { display: flex; flex-direction: column; gap: 10px; }
.anot-card { background: var(--panel, #161b27); border: 1px solid var(--line, #252d3d); border-radius: 12px; padding: 14px 16px; display: grid; grid-template-columns: 34px 1fr auto; gap: 12px; align-items: start; }
.anot-ic { width: 34px; height: 34px; border-radius: 9px; display: grid; place-items: center; background: color-mix(in srgb, var(--gold, #f59e0b) 12%, transparent); color: var(--gold-txt, var(--gold, #f59e0b)); }
.anot-ic svg { width: 18px; height: 18px; }
.anot-body { min-width: 0; }
.anot-body h3 { margin: 0; font-size: 15px; font-weight: 700; }
.anot-body p { margin: 4px 0 0; color: var(--muted, #8892a4); font-size: 13.5px; white-space: pre-wrap; }
.anot-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.anot-tag { font: 600 11.5px/1.3 inherit; border: 1px solid var(--line, #252d3d); border-radius: 6px; padding: 3px 7px; color: var(--muted, #8892a4); }
.anot-tag--t { color: var(--gold-txt, var(--gold, #f59e0b)); border-color: var(--gold-line, rgba(245,158,11,.38)); }
.anot-tag--a { color: var(--text, #e8eaf0); }
.anot-tag--cli { color: #a78bfa; border-color: rgba(167,139,250,.4); }
.anot-tag b { cursor: pointer; margin-left: 2px; }
.anot-acoes { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; }
.anot-mini { background: transparent; border: 1px solid var(--line, #252d3d); color: var(--muted, #8892a4); border-radius: 7px; padding: 4px 9px; font: 600 11.5px/1 inherit; cursor: pointer; }
.anot-mini:hover:not(:disabled) { color: var(--text, #e8eaf0); border-color: var(--gold-line, rgba(245,158,11,.38)); }
.anot-st { font: 700 11px/1 inherit; letter-spacing: .05em; text-transform: uppercase; padding: 5px 8px; border-radius: 6px; white-space: nowrap; }
.anot-st--aberta { color: #f97316; background: rgba(249,115,22,.12); }
.anot-st--resolvida { color: #14b8a6; background: rgba(20,184,166,.12); }
.anot-st--atrasada { color: #ef4444; background: rgba(239,68,68,.12); }
.anot-st--arquivada { color: var(--muted, #8892a4); background: rgba(136,146,164,.12); }
.anot-itens { margin: 10px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line, #252d3d); }
.anot-itens li { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line, #252d3d); font-size: 13.5px; }
.anot-itens li.feito > span { text-decoration: line-through; color: var(--muted, #8892a4); }
.anot-itens li small { margin-left: auto; color: var(--muted, #8892a4); white-space: nowrap; }
.anot-itens li small a { color: var(--gold-txt, var(--gold, #f59e0b)); text-decoration: none; }
.anot-ok { width: 24px; height: 24px; flex: none; border-radius: 6px; border: 1px solid var(--line, #252d3d); background: transparent; color: var(--muted, #8892a4); display: grid; place-items: center; cursor: pointer; padding: 0; }
.anot-ok svg { width: 13px; height: 13px; }
.anot-ok[aria-pressed="true"] { color: var(--gold-txt, var(--gold, #f59e0b)); border-color: var(--gold-line, rgba(245,158,11,.38)); background: color-mix(in srgb, var(--gold, #f59e0b) 12%, transparent); }
.anot-grp { margin: 14px 0 6px; font: 700 12px/1.2 inherit; letter-spacing: .07em; text-transform: uppercase; color: var(--muted, #8892a4); }
.anot-grp span { font-weight: 500; }
.anot-vazio { color: var(--muted, #8892a4); padding: 30px; text-align: center; border: 1px dashed var(--line, #252d3d); border-radius: 12px; }
.anot-vazio--erro { color: #ef4444; border-color: rgba(239,68,68,.4); }
/* pop-up */
.swm-modal.anot-modal { width: min(680px, 94vw); }
.anot-sub { color: var(--muted, #8892a4); font-size: 13px; margin: 0 0 14px; }
.anot-f { display: grid; gap: 6px; margin-bottom: 12px; }
.anot-f label { font: 600 12px/1.2 inherit; color: var(--muted, #8892a4); text-transform: uppercase; letter-spacing: .06em; }
.anot-in { background: color-mix(in srgb, var(--panel, #161b27) 70%, var(--bg, #0f1117)); border: 1px solid var(--line, #252d3d); color: var(--text, #e8eaf0); border-radius: 8px; padding: 9px 10px; font: 14px/1.4 inherit; width: 100%; box-sizing: border-box; }
.anot-in:focus { outline: none; border-color: var(--gold, #f59e0b); }
textarea.anot-in { resize: vertical; min-height: 96px; }
.anot-tipos { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 6px; }
.anot-tipos button { display: flex; gap: 8px; align-items: center; text-align: left; background: color-mix(in srgb, var(--panel, #161b27) 70%, var(--bg, #0f1117)); border: 1px solid var(--line, #252d3d); border-radius: 9px; padding: 9px 10px; color: var(--text, #e8eaf0); font: 600 13px/1.2 inherit; cursor: pointer; }
.anot-tipos button svg { width: 16px; height: 16px; color: var(--muted, #8892a4); flex: none; }
.anot-tipos button[aria-pressed="true"] { border-color: var(--gold-line, rgba(245,158,11,.38)); background: color-mix(in srgb, var(--gold, #f59e0b) 12%, transparent); color: var(--gold-txt, var(--gold, #f59e0b)); }
.anot-tipos button[aria-pressed="true"] svg { color: var(--gold-txt, var(--gold, #f59e0b)); }
.anot-tipos button:disabled { opacity: .55; cursor: default; }
.anot-anc { display: flex; flex-wrap: wrap; gap: 6px; }
.anot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.anot-inline { display: flex; gap: 6px; }
.anot-itemrow { display: grid; grid-template-columns: 1fr 150px 130px 32px; gap: 6px; margin-bottom: 6px; }
.anot-erro { color: #ef4444; font-size: 13px; margin-top: 4px; }
@media (max-width: 640px) { .anot-card { grid-template-columns: 34px 1fr; } .anot-acoes { grid-column: 2; flex-direction: row; } .anot-row, .anot-itemrow { grid-template-columns: 1fr; } .anot-itens li { flex-wrap: wrap; } .anot-itens li small { margin-left: 34px; white-space: normal; flex-basis: 100%; } }
