/* r57: módulo Câmara Municipal. Complementa proc.css (classes pm-*) com os elementos próprios do processo legislativo. */
.cm-autores{border:1px solid var(--line,#e5e5e0);border-radius:12px;padding:10px 12px;display:flex;flex-wrap:wrap;gap:6px 14px;max-height:190px;overflow:auto}
.cm-autores legend{font-size:12px;font-weight:600;color:var(--muted,#626b75);padding:0 4px}
.cm-chk{display:inline-flex;align-items:center;gap:6px;font-size:13.5px;cursor:pointer;margin:0}
.cm-chk input,.cm-chk-inline input{width:auto;margin:0}
.cm-chk small{color:var(--muted,#626b75);font-size:11.5px}
.cm-chk-inline{display:flex;align-items:center;gap:8px;font-size:13.5px;align-self:end}
.cm-fs{border:1px dashed var(--line,#e5e5e0);border-radius:12px;padding:8px 12px}
.cm-fs legend{font-size:12px;font-weight:600;color:var(--muted,#626b75);padding:0 4px}
.cm-vot{background:var(--surface-2,#f6f6f2);border-radius:12px;padding:10px 12px}
.cm-parent{position:relative;display:flex;flex-direction:column;gap:4px}
.cm-parent-res{position:absolute;top:100%;left:0;right:0;z-index:20;background:var(--white,#fff);border:1px solid var(--line,#e5e5e0);border-radius:10px;box-shadow:0 12px 28px -16px rgba(0,0,0,.45);max-height:240px;overflow:auto}
.cm-group{margin:16px 0 6px;font-size:14px;color:var(--accent,#536a4b)}.cm-group small{color:var(--muted,#626b75);font-weight:500}
.cm-fila-row{cursor:default}
.cm-link{all:unset;cursor:pointer}.cm-link:focus-visible{outline:2px solid var(--accent,#536a4b);border-radius:6px}
.cm-acts{flex-direction:row;gap:6px;justify-content:flex-end;flex-wrap:wrap}
.cm-children{display:flex;flex-direction:column;gap:6px;margin-bottom:10px}
.cm-child{all:unset;cursor:pointer;display:block;padding:8px 10px;border:1px solid var(--line,#e5e5e0);border-radius:10px;font-size:13px}
.cm-child:hover{border-color:var(--accent,#536a4b)}.cm-child small{display:block;color:var(--muted,#626b75);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.cm-x{all:unset;cursor:pointer;color:var(--muted,#626b75);padding:0 4px;font-size:14px}.cm-x:hover{color:#b42318}
.cm-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:12px}
.cm-card{all:unset;cursor:pointer;display:grid;grid-template-columns:44px minmax(0,1fr);gap:12px;padding:14px;border-radius:14px;background:var(--white,#fff);border:1px solid var(--line,#e5e5e0);transition:border-color .15s,box-shadow .15s}
.cm-card:hover{border-color:var(--accent,#536a4b);box-shadow:0 8px 20px -16px rgba(0,0,0,.4)}
.cm-card.off{opacity:.65}
.cm-avatar{width:44px;height:44px;border-radius:50%;display:grid;place-items:center;font-weight:700;font-size:18px;background:var(--accent-soft,#e6eee3);color:var(--accent,#536a4b)}
.cm-card-main{display:flex;flex-direction:column;gap:4px;min-width:0}.cm-card-main>b{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cm-card-main small{color:var(--muted,#626b75);font-size:12px}
.pm-req.aberta{border-left:3px solid var(--amber,#b7791f)}
@media(max-width:640px){.cm-acts{justify-content:flex-start}}
.cm-detail .pm-req.cm-pc{grid-template-columns:1fr}
.cm-detail .pm-req-side{flex-direction:row;flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:6px}
.cm-detail .pm-req.cm-pc .pm-req-side{justify-content:flex-start}
.cm-detail .pm-moves small .cm-x{display:inline;margin-left:4px}
.cm-parent input[type=search]{width:100%;min-height:44px;padding:10px 14px;border:1px solid var(--line,#e5e5e0);border-radius:12px;background:var(--input-bg,var(--white,#fff));font:inherit}
/* r58: Sessões Plenárias */
.cm-date{font-size:15px}
.cm-ses-tags{margin:-6px 0 12px}
.cm-ses-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:16px;align-items:start}
.cm-ses-grid h3 small{color:var(--muted,#626b75);font-weight:500}
.cm-item{display:grid;grid-template-columns:28px minmax(0,1fr) auto;gap:10px;padding:10px 0;border-top:1px solid var(--line,#e5e5e0);align-items:start}
.cm-item:first-of-type{border-top:0}
.cm-item.done .cm-item-n{background:var(--accent,#536a4b);color:#fff}
.cm-item-n{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:12px;font-weight:700;background:var(--surface-2,#f1f1ec)}
.cm-item-main p{margin:2px 0 4px;font-size:13.5px}.cm-item-main small{color:var(--muted,#626b75)}
.cm-item-acts{display:flex;gap:4px;flex-wrap:wrap;justify-content:flex-end;max-width:260px}
.cm-quorum{display:flex;gap:12px;align-items:center;padding:10px 12px;border-radius:12px;margin-bottom:10px;background:var(--surface-2,#f1f1ec)}
.cm-quorum strong{font-size:28px;line-height:1}.cm-quorum.ok{background:#e7f4ea}.cm-quorum.warn{background:#fdf3e3}
.cm-quorum small{color:var(--muted,#626b75)}
.cm-pres-list,.cm-votes{display:flex;flex-direction:column;gap:4px;max-height:52vh;overflow:auto;margin-bottom:10px}
.cm-votes{max-height:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:6px 14px}
.cm-pres-row{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:13.5px;margin:0}
.cm-pres-row select{width:auto;min-width:130px;min-height:34px;padding:4px 8px}
.cm-pres-row small{color:var(--muted,#626b75)}
.cm-cand{max-height:46vh;overflow:auto;display:flex;flex-direction:column;gap:6px}
.cm-cand-row{display:grid;grid-template-columns:20px minmax(0,1fr);gap:8px;align-items:start;padding:8px 10px;border:1px solid var(--line,#e5e5e0);border-radius:10px;margin:0;cursor:pointer}
.cm-cand-row input{width:auto;margin-top:3px}.cm-cand-row small{display:block;color:var(--muted,#626b75)}
.cm-vote-quick{justify-content:flex-start;align-items:center;margin-bottom:8px}
@media(max-width:1100px){.cm-ses-grid{grid-template-columns:1fr}}
@media(max-width:640px){.cm-item{grid-template-columns:28px minmax(0,1fr)}.cm-item-acts{grid-column:2;justify-content:flex-start}}
.cm-vot-list .cm-child small{white-space:normal}
/* r59: Procuradoria da Câmara e vínculos */
.pm-eo-cam{grid-template-columns:1fr}
.pm-eo-cam>section:first-child{display:none}
.cm-link-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px}

/* r66: Ofícios ao Executivo e acompanhamento de respostas */
.cm-exp-select{display:flex;flex-direction:column;gap:8px;max-height:34vh;overflow:auto;padding:6px 2px}
.cm-exp-option{display:grid;grid-template-columns:20px minmax(0,1fr);align-items:start;gap:10px;padding:10px 12px;border:1px solid var(--line,#e5e5e0);border-radius:12px;background:var(--white,#fff);cursor:pointer}
.cm-exp-option input{width:auto;height:auto;margin:4px 0 0}
.cm-exp-option span{min-width:0;overflow-wrap:anywhere}
.cm-exp-option small{display:block;color:var(--muted,#626b75);margin-top:3px;font-size:12px;line-height:1.4}
.cm-exp-row{padding:14px;margin:10px 0;display:flex;flex-wrap:wrap;justify-content:space-between;gap:12px}
.cm-exp-row .pm-row-main{flex:1 1 280px;min-width:0}
.cm-exp-row .pm-row-main p{margin:5px 0}
.cm-exp-row .pm-row-main small{display:block;overflow-wrap:anywhere;margin:5px 0}
.cm-exp-row .pm-actions{display:flex;flex-wrap:wrap;align-items:flex-start;gap:6px}
@media(max-width:640px){.cm-exp-row{display:block}.cm-exp-row .pm-actions{margin-top:10px}.cm-exp-option{padding:9px}.cm-exp-select{max-height:31vh}}
