/* Gestão Even | identidade 2026: azul petróleo #03263a.
   Tema claro por padrão, escuro pelo sistema ou pela escolha na conta (data-theme). */
:root {
  --brand: #03263a; --brand-2: #0b3a55; --brand-3: #124b6c;
  --bg: #f3f5f8; --surface: #ffffff; --surface-2: #f0f3f6; --surface-3: #e7ecf1; --col-bg: #e9edf2;
  --text: #0b1f2c; --muted: #5d6e7b; --line: #dce3ea; --line-2: #c6d0da;
  --accent-bg: #03263a; --accent-fg: #ffffff; --blue: #1f6fd1; --blue-soft: #1f6fd1; --sel: rgba(31,111,209,.1);
  --ok: #1f9d63; --orange: #c9731f; --red: #d0463f; --cream: #8a6d3b;
  --shadow: 0 1px 2px rgba(3,38,58,.06), 0 1px 3px rgba(3,38,58,.08); --shadow-lg: 0 18px 50px rgba(3,38,58,.22);
  --overlay: rgba(3,20,32,.38);
  --side-bg: #03263a; --side-text: #e7eff5; --side-muted: #8ea8ba; --side-hover: rgba(255,255,255,.07); --side-on: rgba(255,255,255,.14); --side-line: rgba(255,255,255,.1);
  --on-color: #03263a;
  --side: 264px; --tab-h: 58px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a141c; --surface: #12202b; --surface-2: #182a37; --surface-3: #1f3444; --col-bg: #0e1a23;
    --text: #e8eef3; --muted: #97a9b7; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.17);
    --accent-bg: #e8eef3; --accent-fg: #03263a; --blue: #5aa2f0; --blue-soft: #7ab4f3; --sel: rgba(90,162,240,.16);
    --ok: #5fd39a; --orange: #eba469; --red: #f07a73; --cream: #e6dcc4;
    --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 18px 50px rgba(0,0,0,.55); --overlay: rgba(0,0,0,.55);
    --side-bg: #061520; --side-line: rgba(255,255,255,.07);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a141c; --surface: #12202b; --surface-2: #182a37; --surface-3: #1f3444; --col-bg: #0e1a23;
  --text: #e8eef3; --muted: #97a9b7; --line: rgba(255,255,255,.09); --line-2: rgba(255,255,255,.17);
  --accent-bg: #e8eef3; --accent-fg: #03263a; --blue: #5aa2f0; --blue-soft: #7ab4f3; --sel: rgba(90,162,240,.16);
  --ok: #5fd39a; --orange: #eba469; --red: #f07a73; --cream: #e6dcc4;
  --shadow: 0 1px 2px rgba(0,0,0,.3); --shadow-lg: 0 18px 50px rgba(0,0,0,.55); --overlay: rgba(0,0,0,.55);
  --side-bg: #061520; --side-line: rgba(255,255,255,.07);
  color-scheme: dark;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Montserrat', system-ui, sans-serif; font-size: 14px; line-height: 1.45;
  background: var(--bg); color: var(--text); -webkit-font-smoothing: antialiased; overflow: hidden;
}
h1, h2, h3, .brand b, .titulo-ed, .kpi b { font-family: 'Montserrat', -apple-system, 'Segoe UI', sans-serif; letter-spacing: -.01em; }
button, input, textarea, select { font-family: inherit; font-size: inherit; color: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { color: var(--blue); }
[hidden] { display: none !important; }
* { scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ico { width: 16px; height: 16px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.muted { color: var(--muted); }
.logo-mark { display: block; height: 22px; width: auto; }

/* botões e campos */
.btn { display: inline-flex; align-items: center; gap: 7px; border: none; border-radius: 10px; background: var(--accent-bg); color: var(--accent-fg); font-weight: 600; padding: 9px 16px; min-height: 36px; transition: filter .15s, transform .1s; white-space: nowrap; }
.btn:hover { filter: brightness(1.15); }
.btn:active { transform: scale(.98); }
.btn:disabled { opacity: .45; cursor: default; }
.btn.ghost { background: transparent; border: 1px solid var(--line-2); color: var(--text); font-weight: 600; }
.btn.ghost:hover { background: var(--surface-2); filter: none; }
.btn.sm { padding: 6px 12px; min-height: 32px; font-size: 13px; }
.btn.danger { background: transparent; border: 1px solid var(--red); color: var(--red); }
.inp { width: 100%; background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 9px 11px; outline: none; transition: border-color .15s, box-shadow .15s; }
.inp:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--sel); }
select option { background: var(--surface); color: var(--text); }
label.f { display: block; font-size: 12.5px; font-weight: 600; color: var(--muted); margin-bottom: 5px; }
.iconbtn { background: none; border: none; color: var(--muted); width: 32px; height: 32px; border-radius: 8px; display: inline-grid; place-items: center; flex-shrink: 0; text-decoration: none; }
.iconbtn:hover { background: var(--surface-2); color: var(--text); }
.iconbtn:disabled { opacity: .3; cursor: default; background: none; }
.chk { accent-color: var(--blue); width: 17px; height: 17px; cursor: pointer; }

/* login */
.center { height: 100vh; height: 100dvh; display: grid; place-items: center; padding: 24px 16px; overflow: auto; background: var(--bg); }
.login { width: 100%; max-width: 380px; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 32px 28px; box-shadow: var(--shadow-lg); }
.login .brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.login .brand .logo-mark { height: 30px; }
.login .brand b { font-size: 15px; font-weight: 800; color: var(--text); letter-spacing: .02em; }
.login h1 { font-size: 26px; font-weight: 800; margin-bottom: 6px; }
.login p { color: var(--muted); margin-bottom: 22px; }
.login .row { margin-bottom: 14px; }
.login .btn { width: 100%; justify-content: center; margin-top: 6px; padding: 12px; min-height: 46px; font-size: 15px; }
.msg-erro { color: var(--red); font-size: 13px; font-weight: 600; min-height: 18px; margin-top: 10px; }

/* estrutura */
.app { display: flex; height: 100vh; height: 100dvh; }
aside.side { width: var(--side); flex-shrink: 0; background: var(--side-bg); color: var(--side-text); display: flex; flex-direction: column; min-height: 0; }
.side .brand { display: flex; align-items: center; gap: 11px; padding: 18px 18px 14px; }
.side .brand .logo-mark { height: 22px; }
.side .brand b { color: #fff; font-size: 14px; font-weight: 800; line-height: 1.1; letter-spacing: .02em; }
.side .brand small { display: block; color: var(--side-muted); font-weight: 600; font-size: 11px; letter-spacing: .06em; text-transform: uppercase; }
.side .busca { margin: 0 12px 10px; position: relative; }
.side .busca > .ico { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: var(--side-muted); }
.side .busca input { padding-left: 32px; background: rgba(255,255,255,.08); border-color: transparent; color: #fff; font-size: 13px; }
.side .busca input::placeholder { color: var(--side-muted); }
.side .busca input:focus { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.3); box-shadow: none; }
.side nav { flex: 1; overflow-y: auto; padding: 4px 8px 12px; scrollbar-color: rgba(255,255,255,.18) transparent; }
.nav-it { display: flex; align-items: center; gap: 10px; width: 100%; background: none; border: none; text-align: left; padding: 8px 10px; border-radius: 8px; color: var(--side-text); font-weight: 600; font-size: 13.5px; }
.nav-it:hover { background: var(--side-hover); }
.nav-it.on { background: var(--side-on); color: #fff; }
.nav-it .ico { color: var(--side-muted); }
.nav-it.on .ico { color: #fff; }
.nav-sec { display: flex; align-items: center; justify-content: space-between; padding: 18px 10px 6px; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--side-muted); }
.side .iconbtn { color: var(--side-muted); }
.side .iconbtn:hover { background: var(--side-hover); color: #fff; }
.nav-sec .iconbtn { width: 24px; height: 24px; }
.esp { margin-bottom: 4px; }
.esp-h { display: flex; align-items: center; gap: 9px; padding: 6px 6px 6px 10px; border-radius: 8px; font-weight: 700; font-size: 13.5px; cursor: pointer; user-select: none; }
.esp-h:hover { background: var(--side-hover); }
.esp-h .dot { width: 20px; height: 20px; border-radius: 6px; display: grid; place-items: center; font-size: 11px; font-weight: 800; color: var(--brand); flex-shrink: 0; }
.esp-h .acts, .pasta-h .acts, .lista-it .acts { margin-left: auto; display: none; }
.esp-h:hover .acts, .pasta-h:hover .acts, .lista-it:hover .acts { display: flex; }
.esp-h .iconbtn, .pasta-h .iconbtn, .lista-it .iconbtn { width: 22px; height: 22px; }
.esp-h .iconbtn .ico, .pasta-h .iconbtn .ico, .lista-it .iconbtn .ico { width: 14px; height: 14px; }
.pasta { margin-left: 10px; }
.pasta-h { display: flex; align-items: center; gap: 7px; padding: 5px 6px 5px 8px; border-radius: 7px; font-size: 13px; font-weight: 600; cursor: pointer; color: var(--side-text); }
.pasta-h:hover { background: var(--side-hover); }
.pasta-h.on { background: var(--side-on); color: #fff; }
.pasta-h .car { width: 12px; height: 12px; color: var(--side-muted); transition: transform .15s; }
.pasta.aberta > .pasta-h .car { transform: rotate(90deg); }
.pasta-h .ico.fold { width: 15px; height: 15px; }
.pasta-h .nm, .lista-it .nm { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pasta .listas { display: none; margin-left: 19px; border-left: 1px solid var(--side-line); padding-left: 4px; }
.pasta.aberta .listas { display: block; }
.lista-it { display: flex; align-items: center; gap: 6px; padding: 5px 6px 5px 9px; border-radius: 7px; font-size: 12.8px; color: var(--side-muted); cursor: pointer; font-weight: 500; }
.lista-it:hover { background: var(--side-hover); color: var(--side-text); }
.lista-it.on { background: var(--side-on); color: #fff; }
.lista-it .n { margin-left: auto; font-size: 11px; }
.lista-it:hover .n { display: none; }
.side .eu { border-top: 1px solid var(--side-line); padding: 10px 12px; display: flex; align-items: center; gap: 9px; }
.side .eu .nm { flex: 1; min-width: 0; font-weight: 600; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.side .eu .nm small { display: block; color: var(--side-muted); font-size: 11px; font-weight: 500; }
.side .av { border-color: var(--side-bg); }

main.main { flex: 1; min-width: 0; display: flex; flex-direction: column; background: var(--bg); }
.topo { display: flex; align-items: center; gap: 14px; padding: 16px 24px 10px; flex-wrap: wrap; }
.topo .menu-btn { display: none; }
.crumb { display: flex; flex-direction: column; min-width: 0; }
.crumb small { color: var(--muted); font-weight: 600; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.crumb h1 { font-size: 24px; font-weight: 800; color: var(--text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.2; }
.topo .dir { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.timer-pill { display: flex; align-items: center; gap: 8px; background: color-mix(in srgb, var(--ok) 12%, var(--surface)); border: 1px solid color-mix(in srgb, var(--ok) 45%, transparent); color: var(--ok); border-radius: 999px; padding: 4px 5px 4px 12px; font-weight: 700; font-size: 12.5px; max-width: 340px; }
.timer-pill span.t { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--text); font-weight: 600; cursor: pointer; }
.timer-pill .clk { font-variant-numeric: tabular-nums; }
.timer-pill button { background: var(--ok); color: #fff; border: none; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; }
.timer-pill button .ico { width: 12px; height: 12px; fill: currentColor; }
.barra { display: flex; align-items: center; gap: 10px; padding: 0 24px 12px; flex-wrap: wrap; border-bottom: 1px solid var(--line); }
.seg { display: inline-flex; background: var(--surface-3); border-radius: 10px; padding: 3px; }
.seg button { background: none; border: none; color: var(--muted); font-weight: 600; font-size: 13px; padding: 6px 13px; border-radius: 8px; display: inline-flex; align-items: center; gap: 6px; }
.seg button.on { background: var(--surface); color: var(--text); box-shadow: var(--shadow); }
.seg button .ico { width: 14px; height: 14px; }
.filtro { width: auto; padding: 6px 10px; font-size: 13px; border-radius: 9px; }
.barra .grow { flex: 1; }
.conteudo { flex: 1; min-height: 0; overflow: auto; padding: 18px 24px 24px; }
.conteudo.kanban-wrap { padding-bottom: 12px; }

/* kanban */
.kanban { display: flex; gap: 14px; align-items: flex-start; height: 100%; }
.col { width: 292px; flex-shrink: 0; background: var(--col-bg); border-radius: 14px; display: flex; flex-direction: column; max-height: 100%; }
.col-h { display: flex; align-items: center; gap: 8px; padding: 12px 12px 8px 14px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.col-h .bol { width: 9px; height: 9px; border-radius: 50%; }
.col-h .n { color: var(--muted); font-weight: 600; }
.col-h .iconbtn { margin-left: auto; width: 28px; height: 28px; }
.col-b { flex: 1; overflow-y: auto; padding: 2px 8px 8px; display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.col.drop { box-shadow: inset 0 0 0 2px var(--blue); }
.col-add { margin: 0 8px 8px; background: none; border: none; color: var(--muted); border-radius: 9px; padding: 8px; font-weight: 600; font-size: 13px; display: flex; align-items: center; justify-content: center; gap: 6px; }
.col-add:hover { color: var(--text); background: var(--surface-3); }
.quick { margin: 0 8px 8px; background: var(--surface); border: 1px solid var(--blue); border-radius: 11px; padding: 9px; box-shadow: var(--shadow); }
.quick textarea { width: 100%; background: none; border: none; outline: none; resize: none; font-weight: 600; min-height: 40px; }
.quick .qr { display: flex; gap: 6px; align-items: center; margin-top: 6px; flex-wrap: wrap; }
.quick .qr select { width: auto; flex: 1; padding: 4px 8px; font-size: 12.5px; min-width: 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; padding: 11px 12px; cursor: pointer; transition: border-color .12s, box-shadow .12s; position: relative; box-shadow: var(--shadow); }
.card:hover { border-color: var(--line-2); box-shadow: 0 4px 14px rgba(3,38,58,.12); }
.card.arrastando { opacity: .4; }
.card.fechada .tit { color: var(--muted); text-decoration: line-through; }
.card .onde { font-size: 11.5px; color: var(--muted); font-weight: 600; margin-bottom: 3px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.card .tit { font-weight: 600; font-size: 14px; line-height: 1.35; word-break: break-word; }
.card .tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 8px; }
.tag { display: inline-flex; align-items: center; gap: 4px; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 16%, transparent); color: color-mix(in srgb, var(--c) 70%, var(--text)); }
.tag button { background: none; border: none; color: inherit; opacity: .7; line-height: 1; font-size: 14px; }
.card .meta { display: flex; align-items: center; gap: 10px; margin-top: 9px; font-size: 12px; color: var(--muted); font-weight: 600; flex-wrap: wrap; }
.card .meta span { display: inline-flex; align-items: center; gap: 4px; }
.card .meta .ico { width: 13px; height: 13px; }
.card .meta .avs { margin-left: auto; }
.prazo.atrasado { color: var(--red); }
.prazo.hoje { color: var(--orange); }
.prio-1 { color: var(--blue); } .prio-2 { color: var(--muted); } .prio-3 { color: var(--orange); } .prio-4 { color: var(--red); }
.avs { display: inline-flex; }
.av { width: 24px; height: 24px; border-radius: 50%; display: inline-grid; place-items: center; font-size: 10px; font-weight: 700; color: var(--on-color); border: 2px solid var(--surface); flex-shrink: 0; }
.avs .av + .av { margin-left: -7px; }
.av.lg { width: 32px; height: 32px; font-size: 12px; border: none; }
.card .rodando { position: absolute; top: 9px; right: 9px; width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 3px color-mix(in srgb, var(--ok) 25%, transparent); }

/* lista (tabela) */
.grupo-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; margin: 20px 0 8px; }
.grupo-h:first-child { margin-top: 0; }
.grupo-h .bol { width: 9px; height: 9px; border-radius: 50%; }
.linha { display: grid; grid-template-columns: minmax(0, 1fr) 110px 110px 100px 190px; gap: 12px; align-items: center; padding: 10px 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 6px; cursor: pointer; min-height: 48px; box-shadow: var(--shadow); }
.linha:hover { border-color: var(--line-2); }
.linha .tt { min-width: 0; }
.linha .tt b { font-weight: 600; display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linha .tt small { color: var(--muted); font-size: 12px; }
.linha .c { font-size: 12.5px; color: var(--muted); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.linha .tags { display: flex; gap: 4px; flex-wrap: wrap; overflow: hidden; max-height: 24px; }
.linha.cab { background: none; border: none; box-shadow: none; cursor: default; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; padding: 0 14px; margin-bottom: 4px; min-height: 0; }
.vazio { text-align: center; color: var(--muted); padding: 56px 20px; }
.vazio b { display: block; color: var(--text); font-size: 16px; margin-bottom: 6px; }

/* painel da tarefa */
.overlay { position: fixed; inset: 0; background: var(--overlay); z-index: 60; display: flex; justify-content: flex-end; }
.drawer { width: min(880px, 100%); height: 100%; background: var(--surface); display: flex; flex-direction: column; box-shadow: var(--shadow-lg); animation: entra .2s cubic-bezier(.2,.8,.2,1); }
@keyframes entra { from { transform: translateX(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.dr-h { display: flex; align-items: center; gap: 6px; padding: 10px 14px 10px 20px; border-bottom: 1px solid var(--line); }
.dr-h .onde { font-size: 12.5px; color: var(--muted); font-weight: 600; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.dr-b { flex: 1; overflow-y: auto; display: grid; grid-template-columns: minmax(0, 1fr) 300px; }
.dr-main { padding: 22px 24px 40px; min-width: 0; }
.dr-lado { border-left: 1px solid var(--line); padding: 18px 16px 40px; background: var(--surface-2); }
.titulo-ed { width: 100%; background: none; border: 1px solid transparent; border-radius: 8px; font-size: 24px; font-weight: 800; color: var(--text); padding: 4px 6px; margin-left: -7px; resize: none; outline: none; overflow: hidden; line-height: 1.25; }
.titulo-ed:hover { border-color: var(--line); }
.titulo-ed:focus { border-color: var(--blue); }
.props { display: grid; grid-template-columns: 124px minmax(0, 1fr); gap: 8px 10px; align-items: center; margin: 14px 0 18px; }
.props > label { font-size: 13px; color: var(--muted); font-weight: 500; display: flex; align-items: center; gap: 8px; }
.props .inp { padding: 6px 9px; font-size: 13px; }
.pill-sel { display: inline-flex; align-items: center; gap: 7px; border-radius: 8px; padding: 7px 10px; font-weight: 700; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; border: none; color: var(--on-color); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.chip-u { display: inline-flex; align-items: center; gap: 6px; background: var(--surface-3); border-radius: 999px; padding: 2px 8px 2px 2px; font-size: 13px; font-weight: 600; }
.chip-u .av { width: 22px; height: 22px; border: none; }
.chip-u button { background: none; border: none; color: var(--muted); font-size: 15px; line-height: 1; }
.add-chip { background: none; border: 1px dashed var(--line-2); color: var(--muted); border-radius: 999px; padding: 3px 10px; font-size: 12.5px; font-weight: 600; }
.add-chip:hover { color: var(--text); border-color: var(--blue); }
.linha2 { display: flex; gap: 6px; align-items: center; }
.sec { margin-top: 24px; }
.sec-h { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; margin-bottom: 9px; color: var(--text); }
.sec-h .ico { color: var(--muted); }
.sec-h .dir { margin-left: auto; font-weight: 600; color: var(--muted); font-size: 12px; }

/* editor rico */
.editor { border: 1px solid var(--line-2); border-radius: 11px; background: var(--surface); }
.editor:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px var(--sel); }
.ed-tools { display: flex; gap: 2px; padding: 5px; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.ed-tools button { background: none; border: none; color: var(--muted); min-width: 30px; height: 30px; border-radius: 7px; font-weight: 700; font-size: 13px; padding: 0 6px; display: inline-grid; place-items: center; }
.ed-tools button:hover { background: var(--surface-2); color: var(--text); }
.ed-area { min-height: 120px; padding: 12px 14px; outline: none; line-height: 1.6; word-break: break-word; }
.ed-area:empty::before { content: attr(data-ph); color: var(--muted); opacity: .7; }
.rico h1 { font-size: 22px; margin: 10px 0 6px; } .rico h2 { font-size: 18px; margin: 12px 0 6px; } .rico h3 { font-size: 15px; margin: 8px 0 4px; }
.rico ul, .rico ol { padding-left: 22px; margin: 4px 0; }
.rico blockquote { border-left: 3px solid var(--blue); padding-left: 12px; color: var(--muted); margin: 6px 0; }
.rico code { background: var(--surface-3); padding: 1px 5px; border-radius: 4px; font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; }
.rico pre { background: var(--surface-3); padding: 10px; border-radius: 8px; overflow-x: auto; }
.rico hr { border: none; border-top: 1px solid var(--line-2); margin: 10px 0; }
.rico p { margin: 2px 0; }
.salvo { font-size: 12px; color: var(--muted); }

/* checklist, arquivos, comentários */
.chk-it { display: flex; align-items: center; gap: 10px; padding: 6px 6px; border-radius: 8px; min-height: 36px; }
.chk-it:hover { background: var(--surface-2); }
.chk-it span { flex: 1; font-size: 14px; }
.chk-it.feito span { color: var(--muted); text-decoration: line-through; }
.chk-it .iconbtn { opacity: 0; width: 26px; height: 26px; }
.chk-it:hover .iconbtn { opacity: 1; }
.barra-prog { height: 6px; background: var(--surface-3); border-radius: 9px; overflow: hidden; margin-bottom: 8px; }
.barra-prog i { display: block; height: 100%; background: var(--ok); border-radius: 9px; }
.drop-zone { border: 1.5px dashed var(--line-2); border-radius: 12px; padding: 16px; text-align: center; color: var(--muted); font-size: 13px; font-weight: 600; cursor: pointer; transition: border-color .15s, background .15s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.drop-zone:hover, .drop-zone.over { border-color: var(--blue); background: var(--sel); color: var(--text); }
.arqs { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 8px; margin-bottom: 8px; }
.arq { background: var(--surface); border: 1px solid var(--line); border-radius: 11px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow); }
.arq .th { height: 92px; background: var(--surface-2); display: grid; place-items: center; color: var(--muted); overflow: hidden; }
.arq .th img { width: 100%; height: 100%; object-fit: cover; }
.arq .th .ext { font-weight: 800; font-size: 15px; color: var(--brand-3); letter-spacing: .05em; }
.arq .inf { padding: 7px 9px; display: flex; align-items: center; gap: 4px; }
.arq .inf a { flex: 1; min-width: 0; color: var(--text); text-decoration: none; font-size: 12.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arq .inf a:hover { color: var(--blue); }
.arq .inf small { display: block; color: var(--muted); font-size: 11px; font-weight: 500; }
.arq .iconbtn { width: 26px; height: 26px; }
.progresso { font-size: 12.5px; color: var(--blue); font-weight: 600; margin-top: 6px; }
.coms { display: flex; flex-direction: column; gap: 10px; margin-bottom: 10px; }
.com { display: flex; gap: 9px; }
.com .cx { flex: 1; min-width: 0; background: var(--surface-2); border-radius: 12px; padding: 9px 12px; }
.com .cx .ch { display: flex; gap: 8px; align-items: baseline; font-size: 12px; margin-bottom: 2px; }
.com .cx .ch b { font-size: 13px; }
.com .cx .ch small { color: var(--muted); }
.com .cx .ch button { margin-left: auto; background: none; border: none; color: var(--muted); font-size: 12px; }
.com .cx p { white-space: pre-wrap; word-break: break-word; font-size: 14px; }
.com-novo textarea { min-height: 66px; resize: vertical; }
.com-novo .r { display: flex; justify-content: flex-end; margin-top: 6px; }
.ativ { font-size: 12.5px; color: var(--muted); display: flex; flex-direction: column; gap: 4px; }
.ativ b { color: var(--text); font-weight: 600; }

/* lateral da tarefa: cronômetro */
.cron { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px; margin-bottom: 16px; box-shadow: var(--shadow); }
.cron h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); font-weight: 700; }
.cron .big { font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; color: var(--text); margin: 2px 0 10px; font-family: 'Montserrat', sans-serif; }
.cron .big small { font-size: 12px; color: var(--muted); font-weight: 600; display: block; font-family: -apple-system, 'Segoe UI', sans-serif; }
.cron .btn { width: 100%; justify-content: center; min-height: 40px; }
.cron .btn.parar { background: var(--red); color: #fff; }
.cron .man { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 6px; margin-top: 10px; }
.cron .man .inp { padding: 6px 8px; font-size: 12.5px; min-width: 0; width: 100%; }
.cron ul { list-style: none; margin-top: 10px; font-size: 12.5px; color: var(--muted); max-height: 160px; overflow-y: auto; }
.cron li { display: flex; justify-content: space-between; align-items: center; padding: 3px 0; }
.cron li button { background: none; border: none; color: var(--muted); font-size: 14px; width: 24px; height: 24px; }
.lado-bloco { margin-bottom: 16px; }
.lado-bloco h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .07em; color: var(--muted); margin-bottom: 8px; font-weight: 700; }
.campo-it { margin-bottom: 10px; }
.campo-it label { display: block; font-size: 12.5px; color: var(--muted); font-weight: 600; margin-bottom: 4px; }
.campo-it .inp { padding: 6px 9px; font-size: 13px; }

/* popover */
.pop { position: fixed; z-index: 90; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; box-shadow: var(--shadow-lg); padding: 6px; min-width: 230px; max-width: 300px; max-height: 360px; overflow-y: auto; }
.pop input.inp { margin-bottom: 6px; padding: 7px 9px; font-size: 13px; }
.pop .op { display: flex; align-items: center; gap: 9px; width: 100%; background: none; border: none; text-align: left; padding: 8px 9px; border-radius: 8px; font-size: 13.5px; font-weight: 500; min-height: 36px; }
.pop .op:hover { background: var(--surface-2); }
.pop .op .ok { margin-left: auto; color: var(--blue); }
.pop .op.criar { color: var(--blue); font-weight: 600; }
.pop .cores { display: flex; gap: 6px; padding: 4px 9px 8px; flex-wrap: wrap; }
.pop .cores button { width: 22px; height: 22px; border-radius: 50%; border: 2px solid transparent; }
.pop .cores button.on { border-color: var(--text); }
.pop .sep { height: 1px; background: var(--line); margin: 5px 2px; }

/* modal */
.modal-bg { position: fixed; inset: 0; background: var(--overlay); z-index: 80; display: grid; place-items: center; padding: 16px; }
.modal { width: 100%; max-width: 460px; background: var(--surface); border-radius: 18px; padding: 24px; max-height: 92vh; overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal.lg { max-width: 640px; }
.modal h3 { font-size: 19px; font-weight: 800; margin-bottom: 14px; }
.modal .row { margin-bottom: 12px; }
.modal .acts { display: flex; justify-content: flex-end; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.modal .erro { color: var(--red); font-weight: 600; font-size: 13px; min-height: 18px; margin-top: 6px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
input[type=color] { width: 40px; height: 36px; border: 1px solid var(--line-2); border-radius: 9px; background: var(--surface); padding: 3px; cursor: pointer; }
.st-it { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.st-it label { display: flex; align-items: center; gap: 5px; font-size: 12.5px; color: var(--muted); font-weight: 600; white-space: nowrap; }

/* documento em tela cheia */
.doc-full { position: fixed; inset: 0; z-index: 70; background: var(--surface); display: flex; flex-direction: column; }
.doc-full .dh { display: flex; align-items: center; gap: 12px; padding: 10px 18px; border-bottom: 1px solid var(--line); padding-top: max(10px, env(safe-area-inset-top)); }
.doc-full .db { flex: 1; overflow-y: auto; }
.doc-full .db .in { max-width: 820px; margin: 0 auto; padding: 32px 22px 80px; }
.doc-full .titulo-ed { font-size: 32px; margin-bottom: 12px; }
.doc-full .editor { border: none; background: none; box-shadow: none; }
.doc-full .ed-tools { position: sticky; top: 0; background: var(--surface); z-index: 2; border: 1px solid var(--line); border-radius: 11px; }
.doc-full .ed-area { min-height: 50vh; font-size: 16px; padding: 18px 2px; }

/* pasta: arquivos e docs */
.docs-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; margin-bottom: 26px; }
.doc-card { background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 15px; cursor: pointer; text-align: left; color: var(--text); box-shadow: var(--shadow); min-height: 72px; }
.doc-card:hover { border-color: var(--line-2); }
.doc-card b { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.doc-card small { color: var(--muted); font-size: 12px; }
.doc-card.novo { border-style: dashed; display: flex; align-items: center; justify-content: center; gap: 8px; color: var(--muted); font-weight: 600; box-shadow: none; background: none; }
h2.sub { font-size: 15px; font-weight: 700; margin: 4px 0 12px; color: var(--text); display: flex; align-items: center; gap: 8px; }
h2.sub .ico { color: var(--muted); }

/* minhas tarefas / tempo / admin */
.painel { max-width: 1100px; }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin-bottom: 20px; }
.kpi { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 15px 16px; box-shadow: var(--shadow); }
.kpi small { color: var(--muted); font-weight: 600; font-size: 12.5px; }
.kpi b { display: block; font-size: 28px; font-weight: 800; color: var(--text); margin-top: 2px; }
.kpi.red b { color: var(--red); } .kpi.orange b { color: var(--orange); }
.caixa { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; margin-bottom: 16px; box-shadow: var(--shadow); }
.caixa h3 { font-size: 15px; font-weight: 700; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.caixa h3 .ico { color: var(--muted); }
.tb { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.tb th { text-align: left; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 8px; border-bottom: 1px solid var(--line); font-weight: 700; }
.tb td { padding: 9px 8px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tb tr:last-child td { border-bottom: none; }
.tb .num { text-align: right; font-variant-numeric: tabular-nums; }
.tb tr.click { cursor: pointer; }
.tb tr.click:hover td { background: var(--surface-2); }
.badge { display: inline-block; font-size: 11.5px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--surface-3); color: var(--muted); }
.badge.ok { background: color-mix(in srgb, var(--ok) 14%, transparent); color: var(--ok); }
.badge.err { background: color-mix(in srgb, var(--red) 14%, transparent); color: var(--red); }
.badge.warn { background: color-mix(in srgb, var(--orange) 14%, transparent); color: var(--orange); }
.barra-h { height: 8px; background: var(--surface-3); border-radius: 9px; overflow: hidden; min-width: 60px; }
.barra-h i { display: block; height: 100%; background: var(--brand-3); border-radius: 9px; }
:root[data-theme="dark"] .barra-h i { background: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .barra-h i { background: var(--blue); } }
.sw { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); min-height: 48px; }
.sw:last-child { border-bottom: none; }
.sw span { flex: 1; font-weight: 600; }
.sw small { display: block; color: var(--muted); font-weight: 500; font-size: 12.5px; }
.toggle { position: relative; width: 44px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle i { position: absolute; inset: 0; background: var(--surface-3); border-radius: 999px; transition: .2s; cursor: pointer; }
.toggle i::after { content: ''; position: absolute; width: 22px; height: 22px; left: 2px; top: 2px; background: #fff; border-radius: 50%; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.25); }
.toggle input:checked + i { background: var(--ok); }
.toggle input:checked + i::after { left: 20px; }
.aviso-teste { background: color-mix(in srgb, var(--orange) 12%, transparent); color: var(--orange); border-radius: 10px; padding: 10px 12px; font-size: 13px; font-weight: 600; margin-bottom: 12px; }
.tema-seg { display: flex; }
.busca-res { position: absolute; left: 0; right: 0; top: calc(100% + 4px); z-index: 50; background: var(--surface); color: var(--text); border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-lg); max-height: 60vh; overflow-y: auto; padding: 5px; }
.busca-res button { display: block; width: 100%; text-align: left; background: none; border: none; padding: 8px 9px; border-radius: 8px; }
.busca-res button:hover { background: var(--surface-2); }
.busca-res button b { display: block; font-size: 13.5px; font-weight: 600; }
.busca-res button small { color: var(--muted); font-size: 12px; }
.busca-res .h { font-size: 10.5px; font-weight: 700; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; padding: 6px 9px 3px; }
.toast { position: fixed; bottom: calc(24px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; padding: 11px 18px; border-radius: 12px; font-weight: 600; font-size: 13.5px; z-index: 100; box-shadow: var(--shadow-lg); max-width: calc(100vw - 32px); }
.toast.erro { background: var(--red); }

/* barra de abas do celular (padrão iOS: destinos principais embaixo) */
.tabbar { display: none; }

@media (max-width: 900px) {
  .dr-b { grid-template-columns: 1fr; }
  .dr-lado { border-left: none; border-top: 1px solid var(--line); }
  .linha { grid-template-columns: minmax(0, 1fr) 96px; }
  .linha .c.h-m, .linha.cab .h-m { display: none; }
}
@media (max-width: 760px) {
  body { font-size: 15px; }
  .inp, select, textarea, .ed-area { font-size: 16px !important; } /* evita o zoom automático do iPhone */
  aside.side { position: fixed; left: 0; top: 0; bottom: 0; z-index: 55; width: min(320px, 86vw); transform: translateX(-100%); transition: transform .25s cubic-bezier(.2,.8,.2,1); box-shadow: var(--shadow-lg); padding-top: env(safe-area-inset-top); }
  .app.menu-aberto aside.side { transform: none; }
  .app.menu-aberto::after { content: ''; position: fixed; inset: 0; background: var(--overlay); z-index: 54; }
  .side .eu { display: none; }
  main.main { padding-bottom: calc(var(--tab-h) + env(safe-area-inset-bottom)); }
  .topo { padding: calc(12px + env(safe-area-inset-top)) 16px 8px; }
  .crumb h1 { font-size: 26px; }
  .barra { padding: 0 16px 10px; gap: 8px; }
  .barra .filtro { flex: 1 1 40%; min-height: 40px; }
  .conteudo { padding: 14px 16px 20px; }
  .col { width: 84vw; max-width: 320px; scroll-snap-align: start; }
  .kanban-wrap { scroll-snap-type: x mandatory; scroll-padding-left: 16px; }
  .card { padding: 13px; }
  .iconbtn { width: 44px; height: 44px; }
  .col-h .iconbtn { width: 36px; height: 36px; }
  .btn { min-height: 44px; }
  .btn.sm { min-height: 40px; }
  .seg button { min-height: 36px; }
  .props { grid-template-columns: 1fr; gap: 4px; }
  .props > label { margin-top: 8px; }
  .dr-h { padding-top: max(10px, env(safe-area-inset-top)); }
  .dr-main { padding: 16px; }
  .drawer { animation: sobe .25s cubic-bezier(.2,.8,.2,1); }
  @keyframes sobe { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
  .timer-pill { max-width: 170px; }
  .timer-pill span.t { display: none; }
  .grid2 { grid-template-columns: 1fr; }
  .modal-bg { place-items: end center; padding: 0; }
  .modal { border-radius: 18px 18px 0 0; max-height: 92dvh; padding-bottom: calc(24px + env(safe-area-inset-bottom)); }
  .chk-it .iconbtn { opacity: 1; }
  .kpis { grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
  .kpi { padding: 12px 14px; }
  .kpi b { font-size: 24px; }
  .tabbar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; height: calc(var(--tab-h) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom);
    background: color-mix(in srgb, var(--surface) 88%, transparent); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); border-top: 1px solid var(--line); }
  .tabbar button { flex: 1; background: none; border: none; color: var(--muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 10.5px; font-weight: 600; min-height: 44px; }
  .tabbar button .ico { width: 23px; height: 23px; stroke-width: 1.8; }
  .tabbar button.on { color: var(--blue); }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; } }

/* dupla confirmação */
:root { --roxo: #8a5cc7; }
:root[data-theme="dark"] { --roxo: #b48ce0; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { --roxo: #b48ce0; } }
.selo-apr { display: inline-flex; align-items: center; gap: 5px; margin-top: 8px; font-size: 11.5px; font-weight: 700; color: var(--roxo); background: color-mix(in srgb, var(--roxo) 12%, transparent); border-radius: 6px; padding: 2px 8px; }
.selo-apr .ico { width: 12px; height: 12px; }
.card .meta .devol { color: var(--orange); }
.faixa { display: flex; align-items: center; gap: 12px; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; flex-wrap: wrap; }
.faixa > .ico { width: 20px; height: 20px; flex-shrink: 0; }
.faixa > div:not(.acts) { flex: 1; min-width: 180px; }
.faixa b { display: block; font-size: 14px; }
.faixa small { display: block; font-size: 12.5px; opacity: .85; }
.faixa small.dev { color: var(--orange); opacity: 1; margin-top: 3px; }
.faixa .acts { display: flex; gap: 8px; margin-left: auto; }
.faixa.apr { background: color-mix(in srgb, var(--roxo) 13%, transparent); color: var(--roxo); border: 1px solid color-mix(in srgb, var(--roxo) 35%, transparent); }
.faixa.apr b { color: var(--text); }
.faixa.esp, .faixa.info { background: var(--surface-2); color: var(--muted); border: 1px solid var(--line); }
.faixa.esp b, .faixa.info b { color: var(--text); }
.faixa.esp > .ico { color: var(--roxo); }
.faixa.fim { background: color-mix(in srgb, var(--ok) 11%, transparent); color: var(--ok); }
.faixa.fim b { color: var(--text); }
.btn.ok { background: var(--ok); color: #fff; }
.btn.danger-fill { background: var(--red); color: #fff; }
.kpi.roxo b { color: var(--roxo); } .kpi.verde b { color: var(--ok); }
.kpi em { display: block; font-style: normal; font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.tb td.verde { color: var(--ok); font-weight: 700; } .tb td.orange { color: var(--orange); font-weight: 700; } .tb td.red { color: var(--red); font-weight: 700; }
.pess { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; white-space: nowrap; }
.tb.desp th, .tb.desp td { white-space: nowrap; }
.tb.desp td:first-child { white-space: normal; min-width: 220px; }
.grid-desp { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 16px; }
.barras { display: flex; align-items: flex-end; gap: 6px; height: 170px; padding-top: 18px; }
.bcol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 4px; min-width: 0; }
.bcol i { display: block; width: 100%; max-width: 34px; background: var(--brand-3); border-radius: 5px 5px 2px 2px; }
:root[data-theme="dark"] .bcol i { background: var(--blue); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .bcol i { background: var(--blue); } }
.bcol .v { font-size: 11px; font-weight: 700; color: var(--muted); min-height: 14px; }
.bcol small { font-size: 10px; color: var(--muted); white-space: nowrap; }
.devol-it { padding: 10px 0; border-bottom: 1px solid var(--line); cursor: pointer; }
.devol-it:last-child { border-bottom: none; }
.devol-it b { font-weight: 600; } .devol-it small { display: block; color: var(--muted); font-size: 12px; }
.devol-it p { margin-top: 4px; font-size: 13.5px; background: color-mix(in srgb, var(--orange) 10%, transparent); border-radius: 8px; padding: 7px 10px; white-space: pre-wrap; }
.hist-f { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.hist-f .inp { flex: 1; min-width: 180px; max-width: 320px; }
.st-pill { display: inline-block; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding: 3px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 20%, transparent); color: color-mix(in srgb, var(--c) 65%, var(--text)); }
@media (max-width: 900px) { .grid-desp { grid-template-columns: 1fr; } .faixa .acts { width: 100%; } .faixa .acts .btn { flex: 1; justify-content: center; } }

/* documentos */
.tag .ico { width: 12px; height: 12px; }
.docs-lista { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 10px; }
.doc-linha { text-align: left; background: var(--surface); border: 1px solid var(--line); border-radius: 13px; padding: 14px 15px; color: var(--text); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 5px; min-height: 110px; }
.doc-linha:hover { border-color: var(--line-2); box-shadow: 0 4px 14px rgba(3,38,58,.12); }
.doc-linha b { font-size: 15px; font-weight: 700; }
.doc-linha p { color: var(--muted); font-size: 13px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.doc-linha small { color: var(--muted); font-size: 12px; margin-top: auto; }
.dl-topo { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 12px; }
.dl-topo .ico { width: 12px; height: 12px; vertical-align: -2px; }
.doc-card .tag { align-self: flex-start; }
.doc-card { display: flex; flex-direction: column; align-items: flex-start; }
.tipos-doc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 14px; }
.tipos-doc button { background: var(--surface); border: 1.5px solid var(--line-2); border-radius: 12px; padding: 12px; text-align: left; color: var(--text); display: flex; flex-direction: column; gap: 4px; }
.tipos-doc button .ico { width: 20px; height: 20px; color: var(--muted); }
.tipos-doc button b { font-size: 13.5px; }
.tipos-doc button small { color: var(--muted); font-size: 11.5px; line-height: 1.35; }
.tipos-doc button.on { border-color: var(--blue); background: var(--sel); }
.tipos-doc button.on .ico { color: var(--blue); }
.doc-full .dh { flex-wrap: wrap; gap: 8px; }
.doc-full .dh .filtro { max-width: 220px; }
.doc-info { font-size: 12.5px; margin: -4px 0 14px; }
.doc-full .sec { margin-top: 30px; }
@media (max-width: 760px) { .tipos-doc { grid-template-columns: 1fr; } .docs-lista { grid-template-columns: 1fr; } .doc-full .dh .filtro { max-width: none; flex: 1 1 45%; } }

/* motivos de devolução */
.tag.motivo { border-radius: 999px; }
.motivos-sel { gap: 6px; }
.motivos-sel .tag { border: 1.5px solid transparent; cursor: pointer; padding: 4px 11px; font-size: 12.5px; }
.motivos-sel .tag.on { border-color: color-mix(in srgb, var(--c) 80%, var(--text)); background: color-mix(in srgb, var(--c) 30%, transparent); }
.motivos-sel .tag .ico { width: 12px; height: 12px; }
.cores-mini { display: flex; gap: 5px; flex-shrink: 0; }
.cores-mini button { width: 20px; height: 20px; border-radius: 50%; border: 2px solid transparent; }
.cores-mini button.on { border-color: var(--text); }
