:root {
  --bg: #0e1014; --panel: #121419; --card: #171a21; --line: #252a34; --input: #0f1116;
  --text: #e6e8ee; --muted: #8b92a1; --accent: #00A859; --accent-2: #008A49;
  /* verde da marca IgrejaGO; botões um tom mais escuro para o texto branco ficar legível */
  --btn: #00874A; --btn-hover: #00703D; --sel: #183026; --sel-2: #142a20;
  --ok: #3ccf7a; --warn: #f2b33d; --err: #ff5a5a; --radius: 10px;
  --side-w: 248px;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: "Segoe UI Variable Text", "Segoe UI", system-ui, sans-serif; background: var(--bg); color: var(--text);
       font-size: 14.5px; -webkit-font-smoothing: antialiased; }
a { color: #3fd08c; text-decoration: none; }  /* verde da marca, mais claro para ler bem no fundo escuro */
a:hover { text-decoration: underline; }
h1 { font-size: 22px; margin: 0 0 4px; font-weight: 650; letter-spacing: -.01em; }
h2 { font-size: 16px; margin: 0 0 12px; font-weight: 600; }
h3 { font-size: 14.5px; margin: 0 0 8px; font-weight: 600; }
p.sub { margin: 0 0 22px; color: var(--muted); }
.ico { flex-shrink: 0; vertical-align: middle; }
button .ico, .btn .ico { margin: -2px 0; }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.err { color: var(--err); }
.ok { color: var(--ok); }
.hidden { display: none !important; }

/* layout */
.shell { display: flex; min-height: 100vh; }
.side { width: var(--side-w); flex-shrink: 0; background: var(--panel); border-right: 1px solid var(--line);
        position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; transition: width .18s; z-index: 40; }
.side-top { display: flex; align-items: center; justify-content: space-between; padding: 14px 12px 10px 14px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; font-size: 16.5px; letter-spacing: -.01em; }
.brand:hover { text-decoration: none; }
.brand-full { height: 30px; width: auto; display: block; }
.brand-sym { height: 30px; width: 30px; display: none; }
.side-collapsed .brand-sym { display: block; }
.icon-btn { background: transparent; border: 0; color: #c3c8d3; padding: 6px; border-radius: 7px; display: inline-flex;
            align-items: center; justify-content: center; cursor: pointer; }
.icon-btn:hover { background: #1f232c; color: #fff; text-decoration: none; }
.nav { flex: 1; overflow-y: auto; padding: 4px 10px 10px; scrollbar-width: thin; scrollbar-color: #2a2f3a transparent; }
.nav-group { margin: 18px 0 6px; padding: 0 10px; font-size: 10.5px; font-weight: 600; letter-spacing: .09em;
             text-transform: uppercase; color: #6b7280; }
.nav-item { display: flex; align-items: center; gap: 11px; padding: 7px 10px; margin: 1px 0; border-radius: 7px;
            color: #d5d9e1; font-size: 13.5px; position: relative; white-space: nowrap; }
.nav-item .ico { color: #fff; opacity: .78; }
.nav-item:hover { background: #1c2028; color: #fff; text-decoration: none; }
.nav-item:hover .ico { opacity: 1; }
.nav-item.active { background: #1e2536; color: #fff; font-weight: 550; }
.nav-item.active .ico { opacity: 1; }
.nav-item.active::before { content: ""; position: absolute; left: -10px; top: 7px; bottom: 7px; width: 3px; border-radius: 0 3px 3px 0; background: var(--accent); }
.side-bottom { border-top: 1px solid var(--line); padding: 10px; }
.user-card { display: flex; align-items: center; gap: 10px; padding: 8px 6px 2px; }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: #2a3350; color: #fff; display: inline-flex; align-items: center;
          justify-content: center; font-size: 12.5px; font-weight: 600; flex-shrink: 0; }
.user-info { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; }
.user-info b { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.user-info span { font-size: 11.5px; color: var(--muted); }
/* menu recolhido */
.side-collapsed { --side-w: 64px; }
.side-collapsed .side .lbl { display: none; }
.side-collapsed .side-top { flex-direction: column; gap: 8px; padding: 14px 0 6px; }
.side-collapsed .nav { padding: 4px 8px; }
.side-collapsed .nav-item { justify-content: center; padding: 9px 0; }
.side-collapsed .nav-group { margin: 10px 8px; height: 1px; background: var(--line); padding: 0; }
.side-collapsed .user-card { justify-content: center; padding: 8px 0 2px; }
.side-collapsed .jobs-tray { display: none; }
.main { flex: 1; min-width: 0; padding: 30px 36px 60px; }
.page { max-width: 1200px; }
.menu-btn { display: none; }
.page-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
/* abas das configurações */
.subnav { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin: 4px 0 22px; overflow-x: auto; }
.subnav a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; color: var(--muted); font-size: 13.5px;
            border-bottom: 2px solid transparent; margin-bottom: -1px; white-space: nowrap; }
.subnav a:hover { color: var(--text); text-decoration: none; }
.subnav a.on { color: #fff; border-bottom-color: var(--accent); }

/* cards & grids */
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-bottom: 16px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.row > .grow { flex: 1; min-width: 160px; }
.stack > * + * { margin-top: 12px; }
.between { justify-content: space-between; }
.stat { font-size: 28px; font-weight: 700; }

/* forms */
label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 4px; }
input, select, textarea, button, .btn {
  font: inherit; border-radius: 10px; border: 1px solid var(--line); background: var(--input); color: var(--text); padding: 10px 12px; }
input, select, textarea { width: 100%; }
input[type=checkbox], input[type=radio] { width: auto; accent-color: var(--accent); }
input[type=color] { padding: 2px; height: 42px; width: 56px; }
input[type=range] { padding: 0; }
textarea { min-height: 90px; resize: vertical; line-height: 1.45; }
input:focus, select:focus, textarea:focus { outline: 2px solid #00a85966; border-color: var(--accent); }
.check { display: flex; gap: 8px; align-items: center; color: var(--text); font-size: 14px; cursor: pointer; margin: 0; }
button, .btn { background: var(--btn); border-color: var(--btn); color: #fff; cursor: pointer; font-weight: 600;
               display: inline-flex; align-items: center; gap: 6px; justify-content: center; white-space: nowrap; }
button:hover, .btn:hover { background: var(--btn-hover); text-decoration: none; }
button:disabled { opacity: .5; cursor: default; }
.btn-sec { background: #262b36; border-color: var(--line); color: var(--text); }
.btn-sec:hover { background: #303644; }
.btn-ok { background: #23995a; border-color: #23995a; }
.btn-ok:hover { background: #1d8049; }
.btn-danger { background: transparent; border-color: #5a2a2a; color: var(--err); }
.btn-danger:hover { background: #3a1d1d; }
.btn-sm { padding: 6px 10px; font-size: 13px; border-radius: 8px; }
.field + .field { margin-top: 12px; }

/* progress */
.progress { height: 8px; background: var(--input); border-radius: 6px; overflow: hidden; margin: 8px 0 6px; }
.progress > div { height: 100%; width: 0; background: var(--accent); transition: width .3s; }

/* media grid */
.mgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; }
.mcard { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; color: var(--text); display: block; position: relative; }
.mcard:hover { border-color: #3d4658; text-decoration: none; }
.mthumb { aspect-ratio: 16/10; background: #0b0d11 center/cover no-repeat; display: flex; align-items: center; justify-content: center; font-size: 34px; color: #3d4658; position: relative; }
.mthumb .dur { position: absolute; right: 6px; bottom: 6px; background: #000b; font-size: 12px; padding: 2px 6px; border-radius: 4px; color: #fff; }
.mbody { padding: 8px 10px 10px; }
.mtitle { font-size: 13.5px; font-weight: 600; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mmeta { font-size: 12px; color: var(--muted); margin-top: 4px; }
.badge { display: inline-block; font-size: 11px; padding: 2px 7px; border-radius: 99px; background: #2a3142; color: #c9d3ea; }
.badge.video { background: #23345e; } .badge.audio { background: #3c2a55; } .badge.image { background: #1f4a3a; }
.mcard .sel { position: absolute; top: 8px; left: 8px; z-index: 2; transform: scale(1.3); }

/* tables/lists */
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 9px 8px; border-bottom: 1px solid var(--line); font-size: 14px; vertical-align: top; }
th { color: var(--muted); font-weight: 500; font-size: 13px; }
.list-item { padding: 10px 0; border-bottom: 1px solid var(--line); }
.list-item:last-child { border-bottom: 0; }

/* tabs */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { background: #222733; border-color: var(--line); color: var(--muted); font-weight: 500; }
.tabs button.on { background: var(--sel); color: #fff; border-color: var(--accent); }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; overflow-x: auto; }
.kcol { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; min-height: 300px; }
.kcol.drag { border-color: var(--accent); background: var(--sel-2); }
.kcol h3 { display: flex; justify-content: space-between; font-size: 14px; padding: 2px 4px 8px; }
.kcard { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; cursor: grab; }
.kcard:hover { border-color: #3d4658; }
.kcard .t { font-weight: 600; font-size: 14px; }
.late { color: var(--err); font-weight: 600; }

/* calendar */
.cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.cal .dow { font-size: 12px; color: var(--muted); text-align: center; padding: 4px; }
.cal .day { background: var(--card); border: 1px solid var(--line); border-radius: 8px; min-height: 108px; padding: 6px; cursor: pointer; }
.cal .day.out { opacity: .4; }
.cal .day.today { border-color: var(--accent); }
.cal .day .n { font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.cal .pill { font-size: 12px; padding: 3px 6px; border-radius: 6px; margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: #2a3142; }
.st-ideia { background: #3a3f4d !important; } .st-producao { background: #5a4419 !important; }
.st-agendado { background: #23345e !important; } .st-publicado { background: #1f4a3a !important; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: #000a; display: flex; align-items: flex-start; justify-content: center; padding: 40px 16px; z-index: 50; overflow-y: auto; }
.modal { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 20px; width: 100%; max-width: 620px; }
.modal h2 { display: flex; justify-content: space-between; align-items: center; }
.x { background: transparent; border: 0; color: var(--muted); font-size: 22px; padding: 0 6px; }
.x:hover { background: transparent; color: #fff; }

/* toast & jobs tray */
#toasts { position: fixed; right: 18px; bottom: 18px; display: flex; flex-direction: column; gap: 8px; z-index: 100; }
.toast { background: #222836; border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 10px 14px; border-radius: 10px; max-width: 380px; box-shadow: 0 6px 24px #0008; font-size: 14px; }
.toast.error { border-left-color: var(--err); } .toast.ok { border-left-color: var(--ok); }
.jobs-tray { margin: 10px 0 0; }
.job-mini { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: 7px 9px; margin-top: 6px; font-size: 12px; }
.job-mini .progress { height: 5px; margin: 5px 0 0; }

/* misc */
.preview-img { width: 100%; border-radius: 10px; background: #0b0d11; display: block; }
video, audio { width: 100%; border-radius: 10px; background: #000; }
.copy-block { position: relative; white-space: pre-wrap; background: var(--input); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; font-size: 14px; line-height: 1.5; }
.copy-block .btn-sm { position: absolute; top: 8px; right: 8px; }
.seg { display: grid; grid-template-columns: 74px 1fr; gap: 8px; align-items: start; padding: 4px 0; }
.seg .t { font-size: 12px; color: var(--muted); padding-top: 8px; cursor: pointer; }
.seg .t:hover { color: var(--accent); }
.seg textarea { min-height: 38px; padding: 7px 10px; font-size: 14px; }
.clip { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; background: var(--input); }
.clip.on { border-color: var(--accent); }
.swatch { width: 22px; height: 22px; border-radius: 6px; display: inline-block; border: 1px solid #fff3; vertical-align: middle; }
.empty { text-align: center; color: var(--muted); padding: 40px 10px; }
.drop { border: 2px dashed var(--line); border-radius: 12px; padding: 26px; text-align: center; color: var(--muted); cursor: pointer; }
.drop.over { border-color: var(--accent); color: var(--text); }
kbd { background: #262b36; border: 1px solid var(--line); border-radius: 4px; padding: 1px 5px; font-size: 12px; }

/* ícones em componentes */
.icon-pick { display: flex; flex-wrap: wrap; gap: 6px; }
.icon-pick button { background: var(--input); border: 1px solid var(--line); color: #fff; padding: 8px; border-radius: 8px; }
.icon-pick button:hover { background: #1f2430; }
.icon-pick button.on { border-color: var(--accent); background: var(--sel-2); }
.search-box { display: flex; align-items: center; gap: 8px; background: var(--input); border: 1px solid var(--line); border-radius: 9px; padding: 0 10px; color: var(--muted); }
.search-box input { border: 0; background: transparent; padding: 9px 0; outline: none !important; }
.search-box:focus-within { border-color: var(--accent); }
.conv-list-label { font-size: 10.5px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: #6b7280; padding: 6px 8px 4px; }
.side-link { display: flex !important; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; padding: 7px 8px !important; border-radius: 7px; }
.side-link:hover { background: #1c2028; color: #fff; text-decoration: none; }
.acard .ai { color: #fff; width: 36px; height: 36px; border-radius: 9px; background: #1f2636; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.mthumb .ico { color: #4b5466; }
.stat-card { display: flex; align-items: center; gap: 14px; color: inherit; margin: 0; }
.stat-card:hover { border-color: #353c4a; text-decoration: none; }
.stat-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--sel-2); color: #fff; display: inline-flex; align-items: center; justify-content: center; }
.quick { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; }
.quick a { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); background: var(--input); font-size: 13.5px; }
.quick a:hover { border-color: #3a4252; background: #161a22; text-decoration: none; }
.quick a .ico { color: #fff; }
.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.card-head h2 { margin: 0; display: flex; align-items: center; gap: 8px; }
.card-head h2 .ico { color: #fff; opacity: .8; }

/* ---------------------------------------------------------------- chat */
.main-chat { padding: 0 !important; }
.main-chat .page { max-width: none; height: 100vh; }
.main-chat .menu-btn { position: absolute; z-index: 5; margin: 8px; }
.ellipsis { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chat-shell { display: flex; height: 100vh; }
.chat-side { width: 250px; flex-shrink: 0; border-right: 1px solid var(--line); padding: 14px 10px; display: flex; flex-direction: column; background: #13161c; }
.conv-list { flex: 1; overflow-y: auto; margin: 0 -4px; }
.conv { display: flex; align-items: center; gap: 8px; padding: 8px 8px; border-radius: 8px; color: var(--text); font-size: 13.5px; }
.conv:hover { background: #1f2430; text-decoration: none; }
.conv.on { background: var(--sel); }
.conv .ct { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.conv .cdel { visibility: hidden; background: transparent; border: 0; color: var(--muted); padding: 0 4px; font-size: 16px; }
.conv:hover .cdel { visibility: visible; }
.chat-side > a { padding: 4px 6px; display: block; }
.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-head { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 20px; border-bottom: 1px solid var(--line); min-height: 56px; }
.messages { flex: 1; overflow-y: auto; padding: 24px max(20px, calc((100% - 820px) / 2)); scroll-behavior: auto; }
.msg { display: flex; gap: 12px; margin-bottom: 22px; }
.msg.user { justify-content: flex-end; }
.msg.user .bubble { background: var(--sel); border-radius: 16px 16px 4px 16px; padding: 10px 14px; max-width: 78%; line-height: 1.5; }
.msg .atts { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.msg .atts img { max-height: 140px; max-width: 220px; border-radius: 8px; display: block; }
.msg .av { width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0; background: #13261c; display: flex; align-items: center; justify-content: center; font-size: 15px; }
.msg .body { flex: 1; min-width: 0; }
.msg .who { font-size: 12px; color: var(--muted); margin-bottom: 4px; font-weight: 600; }
.mact { margin-top: 6px; opacity: 0; transition: opacity .15s; }
.msg:hover .mact { opacity: 1; }
.tools-used { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.tools-used span { font-size: 12px; background: #1f2430; border: 1px solid var(--line); border-radius: 99px; padding: 2px 9px; color: var(--muted); }
.md { line-height: 1.6; font-size: 15px; word-wrap: break-word; }
.md p { margin: 0 0 10px; } .md p:last-child { margin-bottom: 0; }
.md h3, .md h4, .md h5, .md h6 { margin: 16px 0 8px; font-size: 16px; }
.md ul, .md ol { margin: 0 0 10px; padding-left: 22px; } .md li { margin: 3px 0; }
.md code { background: #262b36; padding: 1px 5px; border-radius: 4px; font-size: 13.5px; }
.md pre { background: #0b0d11; border: 1px solid var(--line); border-radius: 8px; padding: 12px; overflow-x: auto; }
.md pre code { background: none; padding: 0; }
.md blockquote { border-left: 3px solid var(--accent); margin: 0 0 10px; padding: 2px 12px; color: #c9cfdc; }
.md hr { border: 0; border-top: 1px solid var(--line); margin: 14px 0; }
.md .tbl { overflow-x: auto; margin: 0 0 10px; }
.md table { border: 1px solid var(--line); border-radius: 8px; }
.md th, .md td { padding: 6px 10px; border: 1px solid var(--line); }
.dots i { display: inline-block; width: 6px; height: 6px; margin-right: 3px; border-radius: 50%; background: var(--muted); animation: blink 1.2s infinite; }
.dots i:nth-child(2) { animation-delay: .2s; } .dots i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .2; } 40% { opacity: 1; } }
.notice { text-align: center; font-size: 13px; color: var(--muted); margin: -8px 0 18px; }
.notice.err { color: var(--err); }
.composer-wrap { padding: 8px max(20px, calc((100% - 820px) / 2)) 14px; }
.composer { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 10px 12px; }
.composer.over { border-color: var(--accent); }
.composer textarea { border: 0; background: transparent; resize: none; min-height: 28px; max-height: 220px; padding: 6px 4px; outline: none !important; }
.pending-att { display: flex; flex-wrap: wrap; gap: 6px; }
.pending-att:not(:empty) { margin-bottom: 6px; }
.chip { display: inline-flex; align-items: center; gap: 6px; background: #262b36; border: 1px solid var(--line); border-radius: 99px; padding: 3px 10px; font-size: 12.5px; color: var(--text); }
.chip button { background: transparent; border: 0; color: var(--muted); padding: 0 2px; font-size: 14px; }
.chat-home { max-width: 820px; margin: 0 auto; padding-top: 4vh; }
.chat-home .hero { text-align: center; margin-bottom: 24px; }
.chat-home .logo-dot { width: 52px; height: 52px; border-radius: 15px; margin: 0 auto 14px; background: transparent;
  display: flex; align-items: center; justify-content: center; color: #fff; }
.msg .av { color: #fff; }
.chat-home h1 { font-size: 26px; }
.agrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; }
.acard { background: var(--card); border: 1px solid var(--line); color: var(--text); text-align: left; display: flex; gap: 10px; align-items: flex-start; justify-content: flex-start; padding: 12px; white-space: normal; font-weight: 400; }
.acard:hover { background: #222733; border-color: #3d4658; }
.acard.on { border-color: var(--accent); background: var(--sel-2); }
.acard .ai { font-size: 22px; }
.acard b { display: block; font-size: 14px; margin-bottom: 2px; }
.acard .small { display: block; line-height: 1.35; }
.starters { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-top: 18px; }
.starter { background: transparent; border: 1px solid var(--line); color: var(--text); font-weight: 400; font-size: 13.5px; border-radius: 99px; white-space: normal; }
.starter:hover { background: #222733; }
.action-card { border: 1px solid var(--accent); background: #18203a; border-radius: 12px; padding: 14px; margin: 0 0 22px 42px; }
.action-card .ah { font-weight: 600; margin-bottom: 10px; }
.action-card .act { display: flex; gap: 10px; align-items: flex-start; background: var(--input); border: 1px solid var(--line); border-radius: 10px; padding: 10px; margin-bottom: 8px; color: var(--text); font-size: 14px; cursor: pointer; }
.action-card .act input { margin-top: 3px; }
.action-card .al { font-weight: 600; margin-bottom: 4px; }
.tool-results { margin: -10px 0 22px 42px; }
.tool-results .tr { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; font-size: 14px; margin-bottom: 6px; background: var(--input); }
.tool-results .tr.ok { border-color: #23995a66; }

@media (max-width: 900px) {
  .chat-side { display: none; }
  .messages, .composer-wrap { padding-left: 12px; padding-right: 12px; }
  .chat-head { padding-left: 90px; }
  .action-card, .tool-results { margin-left: 0; }
  .side { position: fixed; left: -260px; z-index: 40; transition: left .2s; }
  .side.open { left: 0; }
  .menu-btn { display: inline-flex; margin-bottom: 12px; }
  .main { padding: 18px 14px 60px; }
  .g2, .g3, .g4 { grid-template-columns: 1fr; }
  .kanban { grid-template-columns: repeat(4, 260px); }
  .cal .day { min-height: 70px; }
}

/* marca IgrejaGO no chat (avatar da IA e tela inicial) */
.msg .av img { width: 20px; height: 20px; }
.chat-home .logo-dot img { width: 52px; height: 52px; }
.auth-logo { display: block; height: 46px; width: auto; margin: 0 auto 22px; }

/* aviso de versão nova (programa Desktop) */
.update-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px; margin: -10px 0 18px; padding: 10px 14px;
              background: #0f2a1e; border: 1px solid #00a85966; border-radius: 10px; font-size: 13.5px; }
.update-bar .upd-notes { flex-basis: 100%; } .update-bar ul { margin: 4px 0 6px; padding-left: 20px; }
.main-design .update-bar, .main-chat .update-bar { display: none; }
