/*
 * AlcanSee Command Center: padrão visual do Notion (modo escuro). Fonte do sistema em 14px,
 * barra lateral à esquerda, conteúdo com respiro, etiquetas como as propriedades de lá.
 * Ciano é o acento da AlcanSee, usado com parcimônia (marca, item ativo, botão principal).
 */
:root {
  --bg: #191919; --panel: #202020; --panel-2: #2a2a2a; --hover: #2c2c2c; --line: #2f2f2f;
  --text: #d9d9d9; --strong: #f1f1f1; --muted: #8c8c8c; --ink-2: #b4b4b4;
  --cyan: #3fb6cf; --cyan-2: #237f92; --warn: #dca54a; --bad: #e57373; --ok: #5cb98a; --violet: #a58bd6;
  --radius: 8px; --side: 236px;
}
* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { margin: 0; background: var(--bg); color: var(--text); font: 14px/1.5 ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI Variable Display", "Segoe UI", Helvetica, "Apple Color Emoji", Arial, sans-serif; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
b, strong { color: var(--strong); font-weight: 600; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: var(--cyan); color: #06171c; border: 0; border-radius: 6px; padding: 5px 12px; font-size: 13.5px; font-weight: 500; cursor: pointer; line-height: 1.5; }
button:hover { background: #63c8dc; }
button:disabled { opacity: .5; cursor: not-allowed; }
button.ghost { background: transparent; color: var(--ink-2); border: 1px solid var(--line); }
button.ghost:hover { background: var(--hover); color: var(--strong); }
button.danger { background: transparent; color: var(--bad); border: 1px solid #4a2a2a; }
input, select, textarea { background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 5px 10px; width: 100%; font-size: 14px; }
input::placeholder, textarea::placeholder { color: #6f6f6f; }
input:focus, select:focus, textarea:focus, button:focus-visible { outline: 2px solid var(--cyan-2); outline-offset: 0; }
textarea { min-height: 72px; resize: vertical; }
label { display: block; font-size: 13px; color: var(--muted); margin: 10px 0 4px; }

/* Barra lateral, como a do Notion */
.top { position: fixed; inset: 0 auto 0 0; width: var(--side); z-index: 5; display: flex; flex-direction: column; gap: 2px; padding: 12px 8px; background: var(--panel); border-right: 1px solid var(--line); }
.top[hidden] { display: none; }
.brand { color: var(--strong); font-weight: 600; display: flex; align-items: center; gap: 8px; padding: 6px 10px 14px; font-size: 14px; }
.brand:hover { text-decoration: none; }
.brand small { display: block; font-size: 12px; font-weight: 400; color: var(--muted); line-height: 1.2; }
.brand .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); flex-shrink: 0; }
.top nav { display: flex; flex-direction: column; gap: 1px; flex: 1; }
.top nav a { color: var(--ink-2); padding: 5px 10px; border-radius: 6px; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.top nav a:hover { background: var(--hover); color: var(--strong); text-decoration: none; }
.top nav a.active { background: var(--hover); color: var(--strong); font-weight: 500; }
.top nav a[hidden] { display: none; }
.count { margin-left: auto; background: #3a3a3a; color: var(--strong); border-radius: 4px; padding: 0 6px; font-size: 12px; font-weight: 500; }
.count[hidden] { display: none; }
.me { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-top: 1px solid var(--line); font-size: 13px; }
.me a { color: var(--ink-2); }
.me-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.me-actions button { padding: 3px 9px; font-size: 12.5px; }

main { max-width: 1120px; margin: 0 auto 0 calc(var(--side) + max(0px, (100vw - var(--side) - 1120px) / 2)); padding: 44px 48px 80px; }
main.wide { max-width: 1400px; margin-left: calc(var(--side) + max(0px, (100vw - var(--side) - 1400px) / 2)); }
body:has(.top[hidden]) main { margin-left: auto; }
h1 { font-size: 30px; line-height: 1.2; font-weight: 700; color: var(--strong); margin: 0 0 6px; letter-spacing: -.01em; }
h2 { font-size: 15px; font-weight: 600; color: var(--strong); margin: 0 0 10px; display: flex; align-items: center; gap: 8px; }
h3 { font-size: 14px; font-weight: 600; color: var(--strong); }
.sub { color: var(--muted); margin: 0 0 24px; font-size: 14px; }
.grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; }
.span-12 { grid-column: span 12; } .span-8 { grid-column: span 8; } .span-7 { grid-column: span 7; } .span-6 { grid-column: span 6; } .span-5 { grid-column: span 5; } .span-4 { grid-column: span 4; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.card + .card { margin-top: 14px; }
.row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.spacer { flex: 1; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }

/* Etiquetas no estilo das propriedades do Notion */
.badge { display: inline-flex; align-items: center; gap: 4px; border-radius: 4px; padding: 0 6px; font-size: 12.5px; line-height: 20px; font-weight: 400; background: #373737; color: #cfcfcf; white-space: nowrap; border: 0; }
.b-real, .tag-blue { background: rgba(35, 131, 226, .22); color: #8cc2f5; }
.b-fake, .b-warn, .tag-yellow { background: rgba(203, 145, 47, .22); color: #e8bf6c; }
.b-synth, .tag-purple { background: rgba(154, 109, 215, .22); color: #c4a6ec; }
.b-ok, .tag-green { background: rgba(45, 153, 100, .22); color: #7fd1a4; }
.b-bad, .tag-red { background: rgba(205, 73, 69, .24); color: #f2948f; }
.tag-orange { background: rgba(217, 115, 13, .22); color: #f0a868; }
.tag-gray { background: #373737; color: #bdbdbd; }
.tag-brown { background: rgba(140, 100, 70, .3); color: #d1a98a; }

table { width: 100%; border-collapse: collapse; font-size: 14px; }
th { text-align: left; font-size: 12.5px; color: var(--muted); font-weight: 400; padding: 6px 10px; border-bottom: 1px solid var(--line); white-space: nowrap; }
td { padding: 8px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
tr:last-child td { border-bottom: 0; }
tr.click { cursor: pointer; }
tr.click:hover td { background: var(--hover); }

@media (max-width: 900px) {
  .top { position: sticky; inset: auto; width: auto; flex-direction: row; align-items: center; flex-wrap: wrap; padding: 8px 12px; border-right: 0; border-bottom: 1px solid var(--line); }
  .brand { padding: 4px 6px; }
  .top nav { order: 3; flex-basis: 100%; flex-direction: row; overflow-x: auto; }
  .top nav a { white-space: nowrap; }
  .me { flex-direction: row; align-items: center; border-top: 0; padding: 4px; margin-left: auto; }
  main, main.wide { margin: 0; padding: 20px 16px 60px; max-width: none; }
  .span-8, .span-7, .span-6, .span-5, .span-4 { grid-column: span 12; }
}

.kv { display: grid; grid-template-columns: 160px 1fr; gap: 6px 14px; font-size: 14px; }
.kv dt { color: var(--muted); }
.kv dd { margin: 0; }
.list { list-style: none; margin: 0; padding: 0; }
.list > li { padding: 12px 0; border-bottom: 1px solid var(--line); }
.list > li:last-child { border-bottom: 0; }
.tl li { display: grid; grid-template-columns: 132px 1fr; gap: 12px; }
.tl time { color: var(--muted); font-size: 12px; }
.who { font-size: 12px; color: var(--muted); }
.diverge { border-left: 3px solid var(--warn); padding-left: 10px; margin: 6px 0; }
.issue { border: 1px solid var(--line); border-radius: 10px; padding: 12px; margin-bottom: 10px; cursor: pointer; }
.issue:hover, .issue.sel { border-color: var(--cyan-2); background: var(--panel-2); }
.sev-CRITICAL { color: var(--bad); } .sev-HIGH { color: var(--warn); } .sev-MEDIUM { color: var(--cyan); } .sev-LOW { color: var(--muted); }
.box { background: var(--panel-2); border-radius: 10px; padding: 12px; margin: 8px 0; }
.login { max-width: 380px; margin: 10vh auto; }
.empty { color: var(--muted); padding: 12px 0; }
.toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: #2f2f2f; color: var(--strong); padding: 8px 14px; border-radius: 6px; max-width: 90vw; box-shadow: 0 8px 24px #0009; font-size: 13.5px; z-index: 40; }
.toast.err { border-color: var(--bad); }
.notice { border: 1px dashed var(--line); border-radius: 10px; padding: 10px 12px; color: var(--muted); font-size: 13px; }
.top[hidden] { display: none; }
.demo-bar { margin-left: var(--side); background: #2a1f05; color: var(--warn); border-bottom: 1px solid #6b4d12; text-align: center; font-size: 13px; padding: 6px 16px; }
.demo-bar[hidden] { display: none; }

/* Quadro de clientes (mesma estrutura do quadro do Notion) */
.seg { display: inline-flex; background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 2px; gap: 2px; }
.seg button { background: transparent; color: var(--muted); border: 0; border-radius: 4px; padding: 3px 10px; font-weight: 500; font-size: 13px; }
.seg button:hover { background: var(--hover); color: var(--strong); }
.seg button.on { background: #3a3a3a; color: var(--strong); }
.board { display: flex; gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: flex-start; scroll-snap-type: x proximity; }
.col { flex: 0 0 260px; background: transparent; border: 0; border-radius: var(--radius); padding: 4px; scroll-snap-align: start; max-height: 75vh; overflow-y: auto; }
.col h3 { font-size: 13.5px; font-weight: 500; color: var(--ink-2); margin: 2px 4px 8px; display: flex; gap: 6px; align-items: center; }
.col.nosrc { border-style: dashed; }
.kcard { background: #262626; border: 1px solid var(--line); border-radius: 6px; padding: 9px 10px; margin-bottom: 6px; cursor: pointer; box-shadow: 0 1px 2px #0004; }
.kcard:hover, .kcard:focus { background: var(--hover); outline: none; }
.kcard b { display: block; margin-bottom: 4px; }
@media (max-width: 600px) { .col { flex-basis: 82vw; } }
.kcard.movable { cursor: grab; }
.kcard.dragging { opacity: .45; }
.kcard.unlinked { border-style: dashed; cursor: default; }
.col.over { background: var(--panel); outline: 1px dashed var(--cyan-2); }
.col.empty { flex-basis: 200px; opacity: .8; }

/* Painel geral: minimalista, números grandes, tinta de texto nos valores e cor só na marca do gráfico */
main.wide { max-width: 1400px; }
:root { --series-1: #0aa2c0; --series-2: #d95926; --grid: #2c2c2c; }
.ov-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 6px; }
.ov-head h1 { font-size: 30px; }
.fresh { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12px; color: var(--muted); margin: 0 0 22px; }
.fresh span::before { content: ''; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ok); margin-right: 6px; vertical-align: middle; }
.fresh span.stale::before { background: var(--warn); }
.fresh span.bad::before { background: var(--bad); }
.kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(138px, 1fr)); gap: 10px; margin-bottom: 14px; }
.kpi { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 16px 14px; }
.kpi .lbl { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.kpi .val { font-size: 26px; font-weight: 600; color: var(--strong); letter-spacing: -.02em; margin: 4px 0 2px; font-variant-numeric: tabular-nums; }
.kpi .val small { font-size: 15px; color: var(--muted); font-weight: 500; margin-left: 2px; }
.kpi .det { font-size: 12px; color: var(--muted); }
.delta { font-size: 12px; font-weight: 600; white-space: nowrap; }
.delta.good { color: var(--ok); } .delta.bad { color: var(--bad); } .delta.flat { color: var(--muted); }
.ov .card { padding: 18px 20px; }
.ov .card + .card { margin-top: 0; }
.ov .grid { margin-bottom: 16px; align-items: stretch; }
.ov h2 { font-size: 14px; font-weight: 650; color: var(--text); margin-bottom: 2px; }
.ov .hint { font-size: 12px; color: var(--muted); margin: 0 0 14px; }
.chart { width: 100%; height: auto; display: block; overflow: visible; }
.chart text { fill: var(--muted); font-size: 11px; font-family: inherit; }
.chart .gl { stroke: var(--grid); stroke-width: 1; }
.chart .hit { fill: transparent; cursor: default; }
.chart .hit:hover + .mk, .chart g.col:hover .mk { opacity: 1; }
.chart g.col .bg { fill: transparent; }
.chart g.col:hover .bg { fill: #ffffff08; }
.legend { display: flex; gap: 14px; font-size: 12px; color: var(--muted); margin: 0 0 8px; }
.legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; vertical-align: -1px; }
.tip { position: fixed; z-index: 30; pointer-events: none; background: #252525f5; border: 1px solid var(--line); border-radius: 8px; padding: 8px 10px; font-size: 12px; line-height: 1.5; box-shadow: 0 8px 24px #0008; min-width: 140px; }
.tip b { display: block; margin-bottom: 2px; font-size: 12px; }
.tip .r { display: flex; justify-content: space-between; gap: 14px; color: var(--ink-2); }
.tip .r span:last-child { color: var(--text); font-variant-numeric: tabular-nums; }
.tip[hidden] { display: none; }
.hbars { display: grid; gap: 9px; }
.hbar { display: grid; grid-template-columns: minmax(90px, 38%) 1fr 44px; gap: 10px; align-items: center; font-size: 13px; }
.hbar .t { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hbar .track { display: block; height: 8px; background: var(--grid); border-radius: 4px; overflow: hidden; }
.hbar .fill { display: block; height: 100%; border-radius: 4px; background: var(--series-1); }
.hbar .n { text-align: right; font-variant-numeric: tabular-nums; color: var(--text); }
.tone { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 8px; background: var(--muted); }
.tone.ok { background: var(--ok); } .tone.warn { background: var(--warn); } .tone.bad { background: var(--bad); } .tone.info { background: var(--cyan); }
.att { list-style: none; margin: 0; padding: 0; }
.att li { display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 10px 6px; border-bottom: 1px solid var(--line); border-radius: 8px; }
.att li:last-child { border-bottom: 0; }
.att li.click { cursor: pointer; }
.att li.click:hover { background: var(--panel-2); }
.att .sc { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 700; border: 1px solid var(--line); color: var(--ink-2); font-variant-numeric: tabular-nums; }
.att .sc.bad { border-color: #5b2330; color: var(--bad); } .att .sc.warn { border-color: #6b4d12; color: var(--warn); }
.att .who { margin-top: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.chip { font-size: 12px; padding: 0 6px; line-height: 20px; border-radius: 4px; background: #373737; color: #cfcfcf; white-space: nowrap; }
.chip.bad { background: rgba(205, 73, 69, .24); color: #f2948f; } .chip.warn { background: rgba(203, 145, 47, .22); color: #e8bf6c; } .chip.info { background: rgba(35, 131, 226, .22); color: #8cc2f5; }
.tbl td, .tbl th { padding: 9px 10px; }
.tbl td.num, .tbl th.num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl td.zero { color: #4a4a4a; }
.tbl tr.sum td { border-top: 1px solid var(--cyan-2); font-weight: 650; }
.tbl-wrap { overflow-x: auto; }
.big { font-size: 26px; font-weight: 650; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.stat-row { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.stat-row .lbl { font-size: 12px; color: var(--muted); }
.mini { list-style: none; margin: 0; padding: 0; font-size: 13px; }
.mini li { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line); }
.mini li:last-child { border-bottom: 0; }
.mini li.click { cursor: pointer; }
.mini li.click:hover b { color: var(--cyan); }
.mini .v { color: var(--text); font-variant-numeric: tabular-nums; white-space: nowrap; }
.cov { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.cov .track { height: 6px; background: var(--grid); border-radius: 3px; margin: 8px 0 4px; overflow: hidden; }
.cov .fill { height: 100%; background: var(--series-1); border-radius: 3px; }
.gap { border-left: 2px solid var(--warn); padding: 2px 0 2px 10px; font-size: 12px; color: var(--muted); margin-top: 12px; }

/* Barra de filtros (Carteira) */
.toolbar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 14px; }
.toolbar input[type=search] { width: 220px; }
.toolbar select { width: auto; max-width: 170px; padding: 4px 28px 4px 10px; font-size: 13px; color: var(--ink-2); }
.toolbar select.on { background: rgba(35, 131, 226, .18); color: #8cc2f5; border-color: transparent; }
.tog { background: transparent; color: var(--ink-2); border: 1px solid var(--line); border-radius: 6px; padding: 4px 10px; font-weight: 400; font-size: 13px; }
.tog:hover { background: var(--panel-2); color: var(--text); }
.tog.on { background: rgba(35, 131, 226, .18); color: #8cc2f5; border-color: transparent; }
.toolbar .count { background: transparent; color: var(--muted); font-weight: 500; font-size: 13px; }
.linkbtn { background: transparent; color: var(--cyan); padding: 0; font-weight: 500; font-size: 13px; }
.linkbtn:hover { background: transparent; text-decoration: underline; }
.kcard .chips { margin-top: 8px; }
.more { margin-top: 10px; }
.mini li > .chip, .mini .v { flex-shrink: 0; }
@media (max-width: 600px) { .kpi .val { font-size: 24px; } }
.kpi .val { white-space: nowrap; }

/* Vínculos pendentes e Operação Renova */
.hint { font-size: 13px; color: var(--muted); margin: 0 0 12px; }
.ov .hint { font-size: 12.5px; }
.qsum { display: flex; gap: 36px; flex-wrap: wrap; margin: 22px 0 18px; }
.qlist { display: flex; flex-direction: column; }
.qrow { display: flex; gap: 14px; align-items: center; justify-content: space-between; padding: 10px 6px; border-bottom: 1px solid var(--line); border-radius: 6px; }
.qrow:last-child { border-bottom: 0; }
.qrow:hover { background: #242424; }
.qmain { min-width: 0; flex: 1; }
.qproblem { font-size: 13px; color: #e8bf6c; margin-top: 3px; }
.qact { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.qact .pick { width: 240px; padding: 4px 10px; font-size: 13px; }
.card > section + section, section.card + section.card { margin-top: 14px; }
details > summary { cursor: pointer; list-style: none; display: flex; align-items: center; gap: 8px; }
details > summary::-webkit-details-marker { display: none; }
details > summary::before { content: '▸'; color: var(--muted); font-size: 11px; transition: transform .15s; }
details[open] > summary::before { transform: rotate(90deg); }
details[open] > summary { margin-bottom: 10px; }
.h2like { font-size: 15px; font-weight: 600; color: var(--strong); }
.track { height: 6px; background: #2c2c2c; border-radius: 3px; overflow: hidden; }
.fill { height: 100%; background: var(--series-1); border-radius: 3px; }
@media (max-width: 700px) { .qrow { flex-direction: column; align-items: stretch; } .qact { justify-content: flex-start; } .qact .pick, .pickwrap { width: 100%; } }
.chart g.pickable { cursor: pointer; }
.chart g.picked .bg { fill: #ffffff10; stroke: var(--cyan-2); stroke-width: 1; }
#month-detail:empty { display: none; }
.month { border-color: #3a3a3a; }

/* Ficha da cliente (página no padrão Notion) */
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--strong); }
.props { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 2px 28px; margin: 18px 0 20px; }
.prop { display: grid; grid-template-columns: 120px 1fr; align-items: center; min-height: 32px; border-radius: 4px; padding: 2px 6px; }
.prop:hover { background: #232323; }
.plabel { color: var(--muted); font-size: 13.5px; }
.pval { font-size: 14px; color: var(--text); }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 10px; margin-bottom: 22px; }
.tile { text-align: left; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 14px; color: var(--text); font-weight: 400; cursor: pointer; }
.tile:hover { background: #262626; }
.tile .lbl { font-size: 12px; color: var(--muted); }
.tbig { font-size: 18px; font-weight: 600; color: var(--strong); margin: 3px 0 1px; }
.tabs { display: flex; gap: 2px; border-bottom: 1px solid var(--line); margin-bottom: 16px; overflow-x: auto; }
.tabs button { background: transparent; color: var(--muted); border: 0; border-bottom: 2px solid transparent; border-radius: 0; padding: 8px 12px; font-weight: 500; font-size: 14px; white-space: nowrap; }
.tabs button:hover { color: var(--strong); background: transparent; }
.tabs button.on { color: var(--strong); border-bottom-color: var(--strong); }
.tcount { margin-left: 6px; background: #333; color: var(--ink-2); border-radius: 4px; padding: 0 5px; font-size: 11.5px; }
.pane[hidden] { display: none; }
.pane .card + .card { margin-top: 14px; }
.kv { grid-template-columns: 170px 1fr; gap: 6px 14px; }
.issue { border: 1px solid var(--line); border-radius: 6px; padding: 10px 12px; margin-bottom: 8px; }
.issue:hover, .issue.sel { background: #262626; border-color: #3a3a3a; }
.box { background: #262626; border-radius: 6px; }
.diverge { border-left: 2px solid var(--warn); }

/* Hoje e Pendências */
.qrow.click { cursor: pointer; }
.task { border-bottom: 1px solid var(--line); }
.task:last-child { border-bottom: 0; }
.task.late b { color: #f2948f; }
.tgroup { margin-top: 10px; }
.tgtitle { font-size: 12.5px; color: var(--muted); padding: 6px 4px; display: flex; align-items: center; gap: 4px; border-bottom: 1px solid var(--line); }
select.mini-sel { width: auto; padding: 3px 24px 3px 8px; font-size: 12.5px; color: var(--ink-2); }
.task details.more { margin: 0 4px 8px; }
.task .box select, .task .box input { width: auto; flex: 1; min-width: 160px; }
.tile.calm .tbig { color: var(--muted); }
.tile.calm { opacity: .75; }

/* 1:1: semáforo por cliente e por gestor */
.dot { display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: #4a4a4a; flex: none; vertical-align: middle; }
.dot-red { background: #e5534b; } .dot-yellow { background: #d9a53a; } .dot-green { background: #3fa66b; }
.sembar { display: flex; gap: 2px; height: 8px; border-radius: 4px; overflow: hidden; background: #2a2a2a; }
.sembar span { display: block; min-width: 4px; }
.sembar .seg-red { background: #e5534b; } .sembar .seg-yellow { background: #d9a53a; } .sembar .seg-green { background: #3fa66b; } .sembar .seg-none { background: #3a3a3a; }
.tile.mgr { padding: 14px 16px; }
.sembtns { display: inline-flex; gap: 4px; }
.sb { background: transparent; border: 1px solid var(--line); color: var(--muted); border-radius: 6px; padding: 3px 10px; font-size: 12.5px; font-weight: 500; }
.sb:hover { color: var(--strong); background: var(--hover); }
.sb-green.on { background: rgba(63, 166, 107, .22); color: #7fd3a1; border-color: transparent; }
.sb-yellow.on { background: rgba(217, 165, 58, .22); color: #e8c77a; border-color: transparent; }
.sb-red.on { background: rgba(229, 83, 75, .24); color: #f2948f; border-color: transparent; }
.oorow { border-bottom: 1px solid var(--line); }
.oorow:last-child { border-bottom: 0; }
.oorow.picked { background: #222; border-radius: 6px; }
.oodetail { padding: 0 6px 12px 23px; }
.oodetail textarea, .oodetail input:not([type=date]) { width: 100%; }
.oodetail .row input:not([type=date]) { flex: 1; }
.qrow.late { box-shadow: inset 2px 0 0 #e5534b; }
@media (max-width: 720px) { .oorow .qrow { flex-direction: column; align-items: flex-start; } .oodetail { padding-left: 6px; } }
