:root {
  --bg: #f2f2f2; --card: #fff; --ink: #000; --ink2: #33373d; --muted: #8a8a8a; --line: #e2e2e2; --line2: #ededed;
  --side: #000; --side-ink: #cfcfcf; --accent: #ee7c97; --accent-ink: #000; --mono: 'Fira Mono', ui-monospace, monospace;
  --silver: linear-gradient(135deg, #f4f5f6 0%, #c9ccd0 45%, #eef0f2 70%, #b8bcc2 100%); --silver-1: #d9dcdf; --gray: #8e9092; --gray-2: #5c5f63;
  --red: #c2412d; --amber: #b7791f; --green: #3d8f5f; --blue: #2f6db5;
  --r: 12px; --shadow: 0 1px 2px rgba(31, 27, 24, .05), 0 2px 8px rgba(31, 27, 24, .04);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; }
body { font: 14px/1.45 'Fira Sans', system-ui, -apple-system, sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; }
h1 { font: 700 28px/1.1 'Fira Mono', ui-monospace, monospace; letter-spacing: -.01em; text-transform: uppercase; }
h2 { font-size: 18px; }
h3 { font-size: 14px; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
h4 { font-size: 13px; margin: 18px 0 6px; }
input, select, textarea, button { font: inherit; color: inherit; }
input:not([type=checkbox]):not([type=color]), select, textarea {
  border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 9px; width: 100%; min-width: 0;
}
input:focus, select:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 30%, transparent); border-color: var(--accent); }
input[type=checkbox] { accent-color: var(--accent); width: 16px; height: 16px; }
input[type=color] { width: 34px; height: 28px; border: 1px solid var(--line); border-radius: 6px; padding: 1px; background: #fff; }
code { background: var(--line2); padding: 1px 5px; border-radius: 4px; font-size: 12px; }
.muted { color: var(--muted); } .small { font-size: 12px; } .thin { font-weight: 400; } .nowrap { white-space: nowrap; }
.late { color: var(--red) !important; font-weight: 600; } .ok-t { color: var(--green); }
.grow { flex: 1; }
.row { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* layout */
#app { display: grid; grid-template-columns: 228px minmax(0, 1fr); min-height: 100vh; }
#side { background: var(--side); color: var(--side-ink); position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 14px 14px; }
#main { padding: 28px 36px 60px; max-width: 1400px; width: 100%; }
.brand { padding: 0 6px 22px; display: flex; align-items: center; gap: 10px; }
.logo { width: 50px; height: 50px; flex: none; filter: invert(1); }   /* marca outline do IDIT, em branco sobre o preto */
.brand-name { color: #fff; font-weight: 600; font-size: 13px; }
.brand-sub { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--accent); margin-top: 2px; }
nav { display: flex; flex-direction: column; gap: 2px; flex: 1; overflow-y: auto; }
nav a { text-decoration: none; padding: 8px 10px; border-radius: 8px; display: flex; align-items: center; gap: 8px; color: var(--side-ink); }
nav a:hover { background: rgba(255, 255, 255, .06); }
nav a.active { background: rgba(255, 255, 255, .1); color: #fff; font-weight: 600; box-shadow: inset 3px 0 0 var(--accent); }
.count { margin-left: auto; background: #333; color: #fff; font-size: 11px; padding: 1px 7px; border-radius: 10px; }
.count.late { background: var(--red); color: #fff !important; }
.side-foot { display: flex; flex-direction: column; gap: 8px; border-top: 1px solid #222; padding-top: 12px; }
.quick { background: var(--silver); color: #000; border: 0; border-radius: 8px; padding: 9px; font-weight: 600; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .5); }
.quick:hover { filter: brightness(1.08); }
.me-btn { display: flex; align-items: center; gap: 10px; background: none; border: 0; color: #fff; padding: 6px 4px; cursor: pointer; text-align: left; border-radius: 8px; }
.me-btn:hover { background: rgba(255, 255, 255, .06); }
.me-btn > span:not(.av) { display: flex; flex-direction: column; flex: 1; }
.me-btn small { color: #8a8a8a; font-size: 11px; }
.sync { width: 8px; height: 8px; border-radius: 50%; background: #6b7280; }
.sync.on { background: #4ade80; } .sync.off { background: #f87171; }
.timer-bar { display: flex; gap: 10px; align-items: center; background: #1a1a1a; border-radius: 10px; padding: 8px 10px; }
.timer-bar > div { flex: 1; min-width: 0; }
.tb-title { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: #fff; }
.tb-time { font: 500 11px var(--mono); color: var(--accent); font-variant-numeric: tabular-nums; }
.timer-bar button { background: var(--accent); color: #000; border: 0; width: 26px; height: 26px; border-radius: 50%; cursor: pointer; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: #f87171; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }

/* cabeçalho de página */
.page-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-bottom: 22px; flex-wrap: wrap; }
.page-head .sub { margin: 6px 0 0; color: var(--ink2); }
.page-head h1 .thin { text-transform: none; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; }
.back { display: inline-block; margin-bottom: 10px; color: var(--muted); text-decoration: none; font-size: 13px; }

/* botões */
.btn { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: 7px 13px; cursor: pointer; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.btn:hover { border-color: #cfc6bb; background: #fbf9f7; }
.btn.primary { background: #000; border-color: #000; color: #fff; }
.btn.primary:hover { background: var(--accent); border-color: var(--accent); color: #000; }
.btn.ghost { background: transparent; border-color: transparent; color: var(--ink2); }
.btn.ghost:hover { background: var(--line2); }
.btn.danger { color: var(--red); }
.btn.small { padding: 4px 10px; font-size: 12px; }
.icon-btn { border: 0; background: transparent; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; color: var(--muted); font-size: 12px; flex: none; }
.icon-btn:hover { background: var(--line2); color: var(--ink); }
.icon-btn.running { background: var(--accent); color: #000; }

/* cartões */
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px; margin-bottom: 16px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 20px; align-items: start; }
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.block { margin-bottom: 22px; }
.block > h3 { font: 600 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); }
.n { background: var(--line); color: var(--ink2); border-radius: 10px; padding: 0 7px; font-size: 11px; font-weight: 600; }
.n.late { background: #fbe3dd; }
.empty { padding: 60px 20px; text-align: center; color: var(--muted); }
.empty-card { background: #f1f7f2; box-shadow: none; }
.callout { background: #fdf3e2; border: 1px solid #f2dcb3; padding: 10px 14px; border-radius: 10px; margin-bottom: 14px; }
.notes { white-space: pre-wrap; color: var(--ink2); }

/* avatares e etiquetas */
.av { display: inline-flex; align-items: center; justify-content: center; width: 26px; height: 26px; border-radius: 50%; color: #fff; font-size: 10px; font-weight: 700; flex: none; border: 2px solid #fff; }
.av.sm { width: 22px; height: 22px; font-size: 9px; }
.av.lg { width: 48px; height: 48px; font-size: 16px; }
.av.empty { background: #d6cec5; }
.av + .av { margin-left: -6px; }
.tag { display: inline-block; font-size: 11px; font-weight: 600; padding: 1px 7px; border-radius: 6px; margin-right: 5px; background: color-mix(in srgb, var(--c, #8f867c) 14%, #fff); color: color-mix(in srgb, var(--c, #8f867c) 85%, #000); text-decoration: none; vertical-align: 1px; }
.tag.urgent { --c: #c2412d; }
.tag.sebrae { --c: #1e63b5; }
.tag.ok { --c: #3d8f5f; }
.pill { display: inline-block; font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .02em; color: var(--c); }
.dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; margin-right: 6px; vertical-align: 1px; }

/* tarefas */
.tasks { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); overflow: hidden; }
.task { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-bottom: 1px solid var(--line2); }
.task:last-child { border-bottom: 0; }
.task:hover { background: #fcfaf8; }
.task-main { flex: 1; min-width: 0; cursor: pointer; }
.task-title { font-weight: 500; }
.task-meta { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.task.done .task-title { text-decoration: line-through; color: var(--muted); }
.task.blocked { opacity: .55; }
.due { font-size: 12px; color: var(--ink2); width: 42px; text-align: right; font-variant-numeric: tabular-nums; }
.hours { font-size: 12px; color: var(--muted); width: 64px; text-align: right; font-variant-numeric: tabular-nums; }

/* carga */
.load-row { display: flex; align-items: center; gap: 8px; }
.load { flex: 1; height: 7px; background: var(--line2); border-radius: 4px; overflow: hidden; min-width: 50px; }
.load-fill { height: 100%; background: var(--green); border-radius: 4px; }
.load.over .load-fill { background: var(--red); }
.load.low .load-fill { background: #93b8d8; }
.load-txt { font-size: 11px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; min-width: 62px; }
.load-txt.over { color: var(--red); font-weight: 600; }
.week-load { display: flex; flex-direction: column; gap: 10px; }

/* painel */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.tile { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px 18px; display: flex; flex-direction: column; }
.tile .big { font: 700 32px/1 var(--mono); margin-bottom: 4px; }
.tile small { color: var(--muted); margin-top: 6px; font-size: 12px; }
.tile.warn .big { color: var(--red); }
.alert { padding: 8px 10px; border-radius: 8px; margin-bottom: 6px; font-size: 13px; border-left: 3px solid; cursor: default; }
.alert[data-act] { cursor: pointer; }
.alert.red { background: #fcefec; border-color: var(--red); }
.alert.amber { background: #fdf6e8; border-color: var(--amber); }
.alert.blue { background: #eef4fb; border-color: var(--blue); }
.team-line { display: flex; align-items: center; gap: 8px; padding: 7px 0; border-bottom: 1px solid var(--line2); cursor: pointer; }
.team-line:last-child { border: 0; }
.tl-name { width: 78px; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tl-bars { flex: 1; display: flex; flex-direction: column; gap: 3px; }
.mini { display: flex; gap: 10px; align-items: center; padding: 7px 0; border-bottom: 1px solid var(--line2); cursor: pointer; }
.mini:last-child { border: 0; }
.mini .pill { width: 74px; flex: none; }
.ag-line { display: flex; gap: 8px; align-items: center; margin-bottom: 5px; }
.ag-date { font-size: 12px; font-weight: 600; width: 40px; flex: none; font-variant-numeric: tabular-nums; }
.tbl { width: 100%; border-collapse: collapse; }
.tbl th { text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 600; padding: 6px 8px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 9px 8px; border-bottom: 1px solid var(--line2); vertical-align: middle; }
.tbl tr.link { cursor: pointer; } .tbl tr.link:hover td { background: #fcfaf8; } .tbl tr.sel td { background: #fff0f8; }

/* gantt */
.gantt { font-size: 12px; position: relative; overflow: hidden; }
.g-row { display: grid; grid-template-columns: 170px 1fr; align-items: center; min-height: 34px; border-bottom: 1px solid var(--line2); }
.g-head { min-height: 22px; border: 0; }
.g-label { padding-right: 10px; cursor: pointer; display: flex; flex-direction: column; line-height: 1.2; overflow: hidden; }
.g-label b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-track { position: relative; height: 26px; }
.g-head .g-track span { position: absolute; top: 4px; font-size: 10px; color: var(--muted); }
.g-today { position: absolute; top: 0; bottom: -400px; width: 2px; background: var(--accent); opacity: .8; z-index: 1; }
.g-bar { position: absolute; top: 3px; height: 20px; border-radius: 5px; background: var(--c); color: #fff; font-size: 10px; font-weight: 600; padding: 3px 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.g-bar.closed { opacity: .35; }
.g-bar.waiting { background: repeating-linear-gradient(45deg, var(--c), var(--c) 6px, color-mix(in srgb, var(--c) 70%, #fff) 6px, color-mix(in srgb, var(--c) 70%, #fff) 12px); }

/* projetos */
.tabs { display: flex; gap: 4px; margin-bottom: 18px; flex-wrap: wrap; }
.tabs button { border: 0; background: transparent; padding: 7px 13px; border-radius: 20px; cursor: pointer; color: var(--ink2); font-weight: 500; }
.tabs button:hover { background: var(--line2); }
.tabs button.on { background: #000; color: #fff; }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 16px; }
.pcard { background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 16px; cursor: pointer; transition: transform .1s; }
.pcard:hover { transform: translateY(-2px); }
.pcard h3 { font: 700 18px/1.2 'Fira Sans', sans-serif; text-transform: uppercase; margin: 10px 0 2px; }
.segs { display: flex; gap: 3px; margin: 14px 0; }
.segs i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.segs i.on { background: var(--c); }
.segs i.cur { background: color-mix(in srgb, var(--c) 40%, #fff); outline: 2px solid var(--c); outline-offset: 1px; }
.pc-foot { display: flex; justify-content: space-between; gap: 10px; font-size: 13px; }
.pc-foot .right { text-align: right; }
.proj-sum { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 16px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); padding: 14px 18px; margin-bottom: 16px; }
.proj-sum > div { display: flex; flex-direction: column; gap: 3px; }
.bar { height: 6px; background: var(--line2); border-radius: 3px; overflow: hidden; }
.bar i { display: block; height: 100%; background: var(--green); }
.phase-strip { display: flex; gap: 6px; margin-bottom: 20px; overflow-x: auto; }
.ps { flex: 1; min-width: 120px; text-decoration: none; background: #fff; border-radius: 10px; padding: 9px 11px; border-top: 4px solid var(--c); box-shadow: var(--shadow); display: flex; flex-direction: column; font-size: 12px; }
.ps span { color: var(--muted); } .ps small { color: var(--ink2); margin-top: 2px; }
.ps.aprovada, .ps.concluida { opacity: .55; }
.ps.aguardando { background: #fff9ec; }
.ps.bloqueada small { color: var(--muted); }
.phase { margin-bottom: 26px; scroll-margin-top: 20px; }
.ph-head { display: flex; justify-content: space-between; gap: 16px; align-items: flex-end; margin-bottom: 10px; flex-wrap: wrap; border-left: 4px solid var(--c); padding-left: 12px; }
.ph-head h2 { font: 700 21px/1.2 'Fira Sans', sans-serif; text-transform: uppercase; margin: 2px 0; }
.deliv { margin-top: 4px; font-size: 13px; color: var(--ink2); }
.ph-actions { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.state { font-size: 12px; font-weight: 600; padding: 3px 9px; border-radius: 6px; background: var(--line2); color: var(--ink2); }
.state.andamento { background: #e8f1fb; color: var(--blue); }
.state.aguardando { background: #fdf0d6; color: #8a5a10; }
.state.aprovada, .state.concluida { background: #e3f2e8; color: var(--green); }
.phase.aprovada .tasks, .phase.concluida .tasks { opacity: .6; }
.add-task { display: grid; grid-template-columns: 1fr 210px 70px auto; gap: 6px; margin-top: 8px; }
.add-task input[name=title] { background: transparent; border-style: dashed; }

/* kanban */
.kanban { display: grid; grid-template-columns: repeat(5, minmax(200px, 1fr)); gap: 12px; overflow-x: auto; align-items: start; }
.kcol { background: #ede8e2; border-radius: var(--r); padding: 10px; min-height: 300px; }
.kcol.over { background: #e3dcd3; outline: 2px dashed #c9bfb3; }
.kc-head { font-weight: 600; font-size: 13px; margin-bottom: 8px; display: flex; gap: 6px; align-items: center; }
.kc-hint { margin: -4px 0 8px; }
.kcard { background: #fff; border-radius: 9px; padding: 10px; margin-bottom: 8px; box-shadow: var(--shadow); cursor: grab; border-left: 3px solid transparent; }
.kcard.urgent { border-left-color: var(--red); }
.kc-title { font-weight: 500; margin: 2px 0; }
.kc-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.kc-foot .due { width: auto; } .kc-foot .hours { width: auto; }

/* agenda */
.cal-bar { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cal-bar h2 { min-width: 200px; text-align: center; font: 700 18px 'Fira Sans', sans-serif; }
.cal-bar select { width: auto; }
.cal { background: var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.cal-hrow { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; }
.cal-w { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); column-gap: 1px; margin-top: 1px; min-height: 112px; }
.cal-items { display: flex; flex-direction: column; gap: 2px; padding: 0 5px 5px; min-width: 0; overflow: hidden; cursor: pointer; }
.ev.span { margin: 1px 4px; align-self: center; position: relative; z-index: 1; }
.ev.span.cont-l { margin-left: 0; border-left-width: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; }
.ev.span.cont-r { margin-right: 0; border-top-right-radius: 0; border-bottom-right-radius: 0; }
.span-range { font-weight: 400; opacity: .75; margin-left: 4px; }
.ev.past { opacity: .62; }
.ev.past:hover { opacity: 1; }
.ev-pill.past { opacity: .7; }
.ev-proj { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 12px; padding: 10px 12px; border-radius: 8px; border-left: 4px solid var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }
.ev-proj > div { display: flex; flex-direction: column; gap: 2px; }
.sync-box { margin: 4px 0 12px; padding: 10px 12px; border-radius: 8px; background: #f7f5f2; display: flex; flex-direction: column; gap: 6px; }
.sync-check { background: #f7f5f2; padding: 8px 10px; border-radius: 8px; }
.ag-list td { vertical-align: middle; }
.ag-list .ev { display: inline-block; max-width: 420px; }
.sp-toggle { border: 0; background: none; font: 700 15px 'Fira Sans', sans-serif; color: #1e63b5; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.sp-toggle:hover { text-decoration: underline; }
.sp-arrow { display: inline-block; width: 14px; }
.sebrae-panel.closed { padding-top: 10px; padding-bottom: 10px; }
.cal-h { background: #faf8f5; padding: 6px 8px; font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--muted); }
.cal-d { background: #fff; padding: 4px 5px; cursor: pointer; display: flex; flex-direction: column; gap: 2px; overflow: hidden; }
.cal-d:hover { background: #fdfbf9; }
.cal-d.other { background: #faf8f5; } .cal-d.other .cal-n { color: #c7bfb5; }
.cal-d.we { background: #fbf9f6; }
.cal-d.today .cal-n { background: var(--accent); color: #000; border-radius: 10px; padding: 0 6px; }
.cal-n { font-size: 12px; font-weight: 600; align-self: flex-start; margin-bottom: 2px; }
.ev { font-size: 11px; padding: 2px 6px; border-radius: 4px; background: color-mix(in srgb, var(--c) 16%, #fff); color: color-mix(in srgb, var(--c) 80%, #000); border-left: 3px solid var(--c); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; cursor: pointer; }
.ev.pres { background: #fff; border: 1px dashed var(--c); }
.ev.task-ev { --c: #8f867c; background: transparent; border-left: 0; padding-left: 2px; color: var(--ink2); }
.legend { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.lg::before { content: ''; display: inline-block; width: 9px; height: 9px; border-radius: 2px; background: var(--c); margin-right: 4px; vertical-align: -1px; }
.tw { display: grid; background: var(--line); gap: 1px; border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.tw-h { background: #faf8f5; padding: 8px; font-size: 12px; font-weight: 600; }
.tw-h.today { color: var(--accent); }
.tw-name { background: #fff; padding: 8px 10px; display: flex; gap: 8px; align-items: center; cursor: pointer; }
.tw-name > span:not(.av) { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.tw-c { background: #fff; padding: 5px; min-height: 64px; display: flex; flex-direction: column; gap: 3px; cursor: pointer; }
.tw-c.out { background: color-mix(in srgb, var(--c) 9%, #fff); }
.tw-c.office { flex-direction: row; flex-wrap: wrap; align-content: flex-start; background: #fbfaf7; cursor: default; }
.tw-c.office .ev { width: 100%; }
.tw-dues { font-size: 11px; color: var(--ink2); background: var(--line2); border-radius: 4px; padding: 2px 5px; }

/* relatórios */
.bars { display: flex; align-items: flex-end; gap: 12px; height: 180px; padding: 10px 0 0; }
.bcol { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; font-size: 11px; color: var(--muted); }
.bstack { width: 100%; max-width: 48px; background: #d8cfc4; border-radius: 4px 4px 0 0; display: flex; flex-direction: column-reverse; overflow: hidden; min-height: 2px; }
.bstack i { background: #c0573e; display: block; }
.bcol b { color: var(--ink); }

/* config */
.cfg td { padding: 6px 5px; }
.cfg input:not([type=checkbox]):not([type=color]) { padding: 5px 7px; }
.skills { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; }
.skills label { display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.num { width: 70px !important; }
details.tpl { border: 1px solid var(--line); border-radius: 10px; margin-bottom: 10px; }
details.tpl summary { padding: 12px 14px; cursor: pointer; display: flex; align-items: center; gap: 8px; }
.tpl-body { padding: 4px 14px 14px; }
.tpl-body > .row label { display: flex; align-items: center; gap: 6px; font-size: 13px; }
.tpl-body > .row input:not([type=checkbox]):not([type=color]) { width: 240px; }
.ph-edit { border-left: 4px solid var(--c); background: #fbf9f7; border-radius: 8px; padding: 10px 12px; margin: 12px 0; display: flex; flex-direction: column; gap: 6px; }
.ph-edit .row .wide { flex: 1; min-width: 200px; width: auto; font-weight: 600; }
.ph-edit .row select { width: 130px; }
.ph-edit label { display: flex; align-items: center; gap: 4px; white-space: nowrap; }
.tk-edit { display: grid; grid-template-columns: 1fr 200px 70px auto 90px; gap: 6px; align-items: center; }

/* modal */
#modal-root:empty { display: none; }
.modal-bg { position: fixed; inset: 0; background: rgba(31, 27, 24, .45); display: flex; align-items: flex-start; justify-content: center; padding: 6vh 16px; z-index: 50; overflow-y: auto; }
.modal { background: #fff; border-radius: 16px; width: 100%; max-width: 600px; padding: 22px 24px; box-shadow: 0 20px 60px rgba(0, 0, 0, .25); }
.modal.wide { max-width: 760px; }
.m-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.m-head h2 { font: 700 20px 'Fira Sans', sans-serif; text-transform: uppercase; }
.m-foot { display: flex; gap: 8px; margin-top: 18px; align-items: center; flex-wrap: wrap; }
.field { display: flex; flex-direction: column; gap: 4px; margin-bottom: 12px; }
.field > span { font-size: 12px; font-weight: 600; color: var(--ink2); }
.field small { color: var(--muted); font-size: 11px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; }
.check { display: flex; gap: 8px; align-items: center; margin: 4px 0 12px; }
.checks { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 4px 0; }
.checks label { display: flex; gap: 5px; align-items: center; }
.impact-ok { background: #eef7f1; border-radius: 8px; padding: 9px 12px; font-size: 13px; }
.impact-warn { background: #fdf3e2; border: 1px solid #f2dcb3; border-radius: 8px; padding: 9px 12px; font-size: 13px; margin-top: 6px; }
.impact-warn ul { margin: 4px 0; padding-left: 18px; }
.preview { background: var(--line2); border-radius: 10px; padding: 10px 14px; font-size: 13px; }
.preview:empty { display: none; }
.prev-phases { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.prev-phases span { border-left: 3px solid var(--c); background: #fff; padding: 2px 8px; border-radius: 4px; font-size: 12px; }
.pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 12px; }
.pick-p { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 16px 8px; display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; }
.pick-p:hover { border-color: var(--accent); background: #fff5fb; }

/* toasts */
#toasts { position: fixed; bottom: 20px; right: 20px; display: flex; flex-direction: column; gap: 8px; z-index: 60; }
.toast { background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 10px; max-width: 380px; box-shadow: 0 8px 24px rgba(0, 0, 0, .2); animation: in .2s; font-size: 13px; }
.toast.err { background: var(--red); }
@keyframes in { from { transform: translateY(8px); opacity: 0; } }

/* telas menores */
@media (max-width: 1100px) {
  .cols { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: repeat(2, 1fr); }
  .proj-sum { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  #app { grid-template-columns: minmax(0, 1fr); }
  #side { position: static; height: auto; padding: 12px; }
  nav { flex-direction: row; flex-wrap: wrap; }
  .brand { padding-bottom: 10px; }
  #main { padding: 18px 16px 60px; }
  .grid2, .cols2 { grid-template-columns: 1fr; }
  .add-task, .tk-edit { grid-template-columns: 1fr; }
  .hours { display: none; }
  .pick { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- navegação agrupada ---------- */
.nav-group { font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #6f6f6f; padding: 14px 10px 4px; }
.nav-group:first-child { padding-top: 0; }
.tagline { font: 400 10px var(--mono); color: #6f6f6f; text-transform: uppercase; letter-spacing: .06em; padding: 0 4px; }
img.av { object-fit: cover; padding: 0; background: #ddd; }
.av.xl { width: 84px; height: 84px; font-size: 26px; }

/* ---------- login ---------- */
#login { position: fixed; inset: 0; z-index: 100; background: #000; display: flex; align-items: center; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.login-box { background: #fff; border-radius: 20px; padding: 32px; width: 100%; max-width: 560px; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 26px; }
.login-brand .logo { filter: none; }
.login-box h2 { font: 800 24px 'Fira Sans', sans-serif; text-transform: uppercase; }
.login-box > p { margin: 6px 0 4px; }
.pick-p.sel { border-color: #000; box-shadow: inset 0 0 0 2px #000; }
#loginForm { margin-top: 18px; }
.login-err { color: var(--red); font-size: 13px; min-height: 18px; margin-bottom: 8px; }
.btn.big { width: 100%; justify-content: center; padding: 11px; font-size: 15px; }

/* ---------- perfil e equipe ---------- */
.profile-photo { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.people-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin-bottom: 14px; }
.pcfg { border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pcfg.inactive { opacity: .55; }
.pcfg-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pcfg .field { margin-bottom: 8px; }
.pcfg .checks { font-size: 12px; }
.access { width: 100%; border-top: 1px solid var(--line2); margin-top: 6px; padding-top: 6px; }
.access td { padding: 4px 4px 0 0; }

/* ---------- Sebrae no projeto ---------- */
.sebrae-panel { border-left: 4px solid #1e63b5; }
.sp-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 10px; }
.sp-head h3 { margin: 0; }
.sp-info { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-bottom: 10px; }
.sp-info > div { display: flex; flex-direction: column; }
.link-row { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid var(--line2); }
.link-row a { text-decoration: none; }
.link-row a:hover { text-decoration: underline; }
.link-add { margin-top: 8px; }
.link-add input { flex: 1; }
.ev.bday { --c: var(--accent); }

/* ---------- espaço criativo ---------- */
.composer { display: flex; align-items: center; gap: 12px; cursor: pointer; padding: 14px 18px; }
.composer:hover { box-shadow: 0 0 0 2px var(--accent); }
.filters { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 14px; }
.mini-tabs { margin: 0; }
.mini-tabs button { padding: 5px 11px; font-size: 13px; }
.search { max-width: 280px; margin-bottom: 14px; }
.filters .search { margin: 0; }
.feed { columns: 3 280px; column-gap: 16px; }
.post { break-inside: avoid; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); margin-bottom: 16px; overflow: hidden; cursor: pointer; }
.post:hover { box-shadow: 0 0 0 2px var(--accent); }
.post-img { width: 100%; display: block; max-height: 420px; object-fit: cover; }
.post-body { padding: 14px; }
.post h3 { font-size: 16px; margin: 8px 0 4px; display: block; }
.post-text { margin: 6px 0; white-space: pre-wrap; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.post-text.full { display: block; -webkit-line-clamp: unset; }
.post-link { font: 500 12px var(--mono); color: var(--ink2); text-decoration: none; }
.post-foot { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
.like { border: 0; background: var(--line2); border-radius: 14px; padding: 3px 10px; cursor: pointer; color: var(--ink2); font-size: 12px; }
.like.on { background: var(--accent); color: #000; }
.post-detail img { width: 100%; border-radius: 10px; margin-bottom: 12px; }
.post-detail h2 { margin-bottom: 6px; }
.comment { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.post-detail form { margin-top: 10px; }
.post-detail form input { flex: 1; }
.thumb { height: 44px; border-radius: 6px; }

/* ---------- senhas ---------- */
.mono { font-family: var(--mono); font-size: 13px; }
.vault td { vertical-align: middle; }
.secret { display: inline-block; min-width: 110px; }

/* ---------- financeiro ---------- */
.fin-card { border-left: 4px solid var(--accent); }
.fin-sum { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 6px 0 14px; padding: 12px 0; border-top: 1px solid var(--line2); border-bottom: 1px solid var(--line2); }
.fin-sum > div { display: flex; flex-direction: column; gap: 2px; }
.fin-sum b { font: 600 16px var(--mono); }
.fin-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.fin-row .grow { cursor: pointer; }
.fin-row b { font-family: var(--mono); font-weight: 500; }
.fin-row.overdue span.muted { color: var(--red); }
input.money { font-family: var(--mono); text-align: right; max-width: 150px; }
.fin-fixed { grid-template-columns: 1fr 150px 28px; }
.fin-total { margin-top: 12px; font-size: 15px; }
.fin-big { display: flex; justify-content: space-between; align-items: baseline; background: var(--line2); border-radius: 10px; padding: 12px 14px; margin: 10px 0 14px; }
.fin-big b { font: 700 22px var(--mono); }
.fin-big.accent { background: #ffe3f3; }
.num-r { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.neg { color: var(--red); }
.tile .big { font-size: 26px; }
.fin-bars .pair { display: flex; align-items: flex-end; gap: 3px; height: 100%; width: 100%; max-width: 60px; }
.fin-bars .pair i { flex: 1; border-radius: 3px 3px 0 0; min-height: 2px; }
.fin-bars .pair i.r { background: #3d8f5f; } .fin-bars .pair i.d { background: #c2412d; }
.fin-bars .bcol { gap: 4px; }
.fin-mini { grid-template-columns: repeat(4, 1fr); }
tfoot td { border-top: 2px solid var(--line); padding-top: 10px; }
@media (max-width: 1100px) { .fin-sum, .sp-info { grid-template-columns: repeat(2, 1fr); } }
.sebrae-panel .add-task { grid-template-columns: 1fr 190px 150px auto; }
@media (max-width: 760px) { .nav-group, .tagline { display: none; } .sebrae-panel .add-task { grid-template-columns: 1fr; } }

/* ---------- ajustes do teste com a equipe ---------- */
.avs { display: inline-flex; align-items: center; }
.avs .av + .av { margin-left: -7px; }
.due-input { width: 128px !important; padding: 3px 6px !important; font-size: 12px; border-color: transparent !important; background: transparent !important; color: var(--ink2); cursor: pointer; }
.due-input:hover, .due-input:focus { border-color: var(--line) !important; background: #fff !important; }
.due-input.late { color: var(--red); font-weight: 600; }
.date-link { color: inherit; text-decoration: underline dotted; }
.ph-owners { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.ph-events { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.ev-pill { border: 0; border-left: 3px solid var(--c); background: color-mix(in srgb, var(--c) 14%, #fff); border-radius: 6px; padding: 3px 8px; font-size: 12px; cursor: pointer; }
.contact-row { display: grid; grid-template-columns: 24px 1fr 1fr 1fr 1fr 28px; gap: 6px; align-items: center; margin-bottom: 6px; }
.main-radio { display: flex; justify-content: center; }
.main-radio input { accent-color: var(--accent); width: 16px; height: 16px; }
.contact-line { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.contact-line:last-child { border: 0; }
a.wa { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #128c4a; background: #e7f7ee; border-radius: 14px; padding: 3px 10px; text-decoration: none; }
a.wa::before { content: '●'; font-size: 9px; }
a.wa:hover { background: #d2f0df; }
.files-panel code.path { font-size: 12px; background: var(--line2); padding: 3px 7px; border-radius: 5px; max-width: 520px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.files-panel .link-add select { width: 150px; }
.people-checks label { border: 1px solid var(--line); border-radius: 20px; padding: 3px 10px 3px 4px; cursor: pointer; }
.people-checks label:has(input:checked) { border-color: #000; background: #f7f7f7; }
.people-checks input { display: none; }
.quick-time { gap: 6px; }
.quick-time .num { width: 70px !important; }
.big-chips .btn { padding: 10px 16px; font-size: 14px; }
details.logs { background: var(--line2); border-radius: 8px; padding: 8px 12px; margin-top: 8px; }
details.logs summary { cursor: pointer; }
.log-row { display: flex; align-items: center; gap: 8px; padding: 4px 0; }
.log-row span { flex: 1; }
.timer-bar.long { background: #4a1020; }
.timer-bar.long .tb-time::after { content: ' · ainda está nisso?'; }
.ag-filters select { width: auto; max-width: 240px; }
@media (max-width: 760px) { .contact-row { grid-template-columns: 24px 1fr 28px; } .contact-row input[name=ct_role], .contact-row input[name=ct_email] { grid-column: 2; } }
.toast.warn { background: #8a5a10; }
@media (max-width: 760px) { .task { flex-wrap: wrap; } .task-main { flex-basis: calc(100% - 40px); } .task .due-input { margin-left: 26px; } }
.place-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.place-pills label { border-radius: 6px; padding: 4px 10px; cursor: pointer; background: color-mix(in srgb, var(--c) 14%, #fff); color: color-mix(in srgb, var(--c) 75%, #000); font-size: 13px; border: 1px solid transparent; }
.place-pills label:has(input:checked) { border-color: var(--c); box-shadow: inset 0 0 0 1px var(--c); font-weight: 600; }
.place-pills input { display: none; }

/* ---------- segunda rodada: board ---------- */
.status-pill { width: auto !important; border: 0 !important; border-radius: 12px !important; padding: 3px 22px 3px 10px !important; font-size: 12px; font-weight: 600; cursor: pointer;
  background: color-mix(in srgb, var(--c) 15%, #fff) !important; color: color-mix(in srgb, var(--c) 85%, #000) !important; appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%) !important;
  background-position: calc(100% - 11px) 55%, calc(100% - 7px) 55% !important; background-size: 4px 4px, 4px 4px !important; background-repeat: no-repeat !important; }
.status-pill { background-color: color-mix(in srgb, var(--c) 15%, #fff) !important; }
.grip { cursor: grab; color: #c4c4c4; font-size: 12px; letter-spacing: -2px; user-select: none; padding: 0 2px; }
.task:hover .grip { color: var(--ink2); }
.task.dragging { opacity: .4; }
.task.drop-before { box-shadow: inset 0 3px 0 var(--accent); }
.task.drop-after { box-shadow: inset 0 -3px 0 var(--accent); }
.due-add { color: var(--muted); font-size: 11px; }
.due-fixed { display: inline-flex; align-items: center; }
.file-row { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line2); flex-wrap: wrap; }
.file-ico { font-size: 20px; }
.file-main { display: flex; flex-direction: column; min-width: 0; }
.file-main code.path { margin-top: 3px; }
.vis-tbl td { vertical-align: top; }
.vis-tbl .bar { width: 110px; margin-top: 4px; }
.soon { display: flex; flex-direction: column; gap: 4px; }
.soon-item { display: flex; gap: 8px; align-items: center; cursor: pointer; }
.soon-item .ev { flex: 1; }
.alert { display: flex; gap: 8px; align-items: flex-start; }
.al-ico { flex: none; width: 18px; text-align: center; }
.alert.violet { background: #f3effb; border-color: #7d5bb0; }

/* ---------- retorno do cliente, ajustes e checklist ---------- */
.ps.ajustes { background: #fff3ee; }
.state.ajustes { background: #fde3d8; color: #9a3412; }
.state.aguardando::before, .state.ajustes::before { content: '\2601\FE0E'; margin-right: 5px; color: #000; }
.badge { display: inline-block; margin-left: 6px; padding: 1px 7px; border-radius: 10px; font-size: 11px; font-weight: 500; background: var(--line2); color: var(--ink2); vertical-align: 1px; }
.badge.muted { background: transparent; color: var(--muted); border: 1px dashed var(--line); }
.badge.adj { background: #fde3d8; color: #9a3412; }
.badge.adj:not(.open) { background: #e3f1e7; color: #2d6a45; }
.badge.ok { background: #e3f1e7; color: #2d6a45; }
.cl-row { display: grid; grid-template-columns: 22px 1fr auto auto; align-items: center; gap: 8px; padding: 3px 0; }
.cl-row .cl-text { padding: 5px 8px; }
.cl-row.done .cl-text { text-decoration: line-through; color: var(--muted); }
.cl-add { margin-top: 6px; }
.cl-add input { flex: 1; }
.adj-list { margin: 0 0 6px; padding-left: 18px; font-size: 13px; }
.adj-list li.done, .adj-hist li.done { color: var(--muted); text-decoration: line-through; }
.adj-hist { padding: 8px 0; border-top: 1px solid var(--line2); }
.adj-hist ul { margin: 4px 0 0; padding-left: 18px; font-size: 13px; }

/* nuvem preta: elemento da identidade visual do IDIT */
.cloud { font-family: 'Fira Sans', sans-serif; color: #000; }
div.empty::before { content: '\2601\FE0E'; display: block; font-size: 34px; line-height: 1; color: #000; margin-bottom: 10px; }

/* ---------- iconografia do IDIT ---------- */
.ic { width: 1.2em; height: 1.2em; fill: currentColor; vertical-align: -.25em; flex: none; }
.nav-ic { width: 20px; height: 20px; opacity: .75; }
nav a.active .nav-ic, nav a:hover .nav-ic { opacity: 1; }
.place-ic { width: 1.05em; height: 1.05em; margin-right: 2px; }
.ev .place-ic { width: 12px; height: 12px; vertical-align: -2px; }
.sign { width: 15px; height: 15px; vertical-align: -3px; }
.file-ico .ic { width: 28px; height: 28px; }
h3 > .ic { width: 20px; height: 20px; }
.brand-pick { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0 6px; }
.swatch { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); background: #fff; border-radius: 20px; padding: 6px 12px 6px 6px; cursor: pointer; }
.swatch span { width: 22px; height: 22px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .1); }
.swatch.on { border-color: #000; box-shadow: 0 0 0 1px #000; font-weight: 600; }
.ico-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(52px, 1fr)); gap: 6px; }
.ico-grid div { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; background: #f7f7f7; border-radius: 8px; }
.ico-grid .ic { width: 34px; height: 34px; }
.place-pills .place-ic { width: 16px; height: 16px; }

/* ---------- Meu dia: quadro de tarefas ---------- */
.k-sum { display: flex; gap: 8px 18px; flex-wrap: wrap; font-size: 13px; color: var(--ink2); margin: 2px 0 12px; }
.k-sum b { font: 700 15px var(--mono); color: var(--ink); }
.k-sum .late b { color: var(--red); }
.hoje-cols { grid-template-columns: minmax(0, 1fr) 290px; }
.kanban { display: grid; grid-template-columns: repeat(4, minmax(196px, 1fr)); gap: 10px; align-items: start; margin-bottom: 16px; overflow-x: auto; padding-bottom: 4px; }
.kcol { background: #e8e9ea; border-radius: var(--r); padding: 10px; min-height: 160px; transition: background .15s; }
.kcol > header { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding: 2px 4px 10px; }
.kcol > header b { font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.kcol > header small { flex-basis: 100%; color: var(--muted); font-size: 11px; }
.kcol.over, .kzone.over { background: color-mix(in srgb, var(--accent) 22%, #e8e9ea); }
.kzone { border-radius: 10px; min-height: 40px; transition: background .15s; }
.kzone.rev { margin-top: 10px; padding: 8px; background: #f3ead9; }
.kzone.rev.over { background: #f0dcb4; }
.kzone-h { font: 700 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--amber); margin: 0 2px 8px; }
.k-empty { font-size: 12px; color: var(--muted); text-align: center; padding: 14px 6px; margin: 0; border: 1px dashed #c9ccd0; border-radius: 10px; }
.kcard { background: #fff; border-radius: 10px; padding: 10px 11px 9px; margin-bottom: 8px; box-shadow: var(--shadow); cursor: grab; border-left: 4px solid var(--c); position: relative; }
.kcard:hover { box-shadow: 0 0 0 2px var(--accent); }
.kcard.dragging { opacity: .45; }
.kcard.done { opacity: .7; }
.kcard.done .k-title { text-decoration: line-through; text-decoration-color: #b8bcc2; }
.kcard.running { box-shadow: 0 0 0 2px var(--accent), var(--shadow); }
.k-top { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; margin-bottom: 3px; padding-right: 22px; }
.k-client { font: 600 11px var(--mono); text-transform: uppercase; letter-spacing: .03em; color: var(--ink2); margin-right: 4px; }
.tag.rev { --c: #b7791f; }
.k-title { font-weight: 600; line-height: 1.3; }
.k-title .badge { margin-left: 4px; }
.k-ctx { font-size: 12px; color: var(--muted); margin-top: 3px; }
.k-ctx .dot { width: 7px; height: 7px; border-radius: 50%; display: inline-block; margin: 0 3px 1px 0; }
.k-foot { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.k-foot .avs .av { margin-left: -4px; } .k-foot .avs .av:first-child { margin-left: 0; }
.k-due { font-size: 11px; font-weight: 600; color: var(--ink2); white-space: nowrap; }
.k-due.today { color: var(--amber); }
.k-hours { font: 500 11px var(--mono); color: var(--muted); white-space: nowrap; }
.k-play { width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 11px; display: grid; place-items: center; flex: none; padding: 0; }
.k-play:hover { background: #000; color: #fff; border-color: #000; }
/* horas do cartão = botão para adicionar horas sem o cronômetro */
.k-hours.k-add { border: 0; background: none; border-radius: 8px; padding: 1px 2px; cursor: pointer; }
.k-hours.k-add b { color: var(--ink2); margin-left: 1px; }
.k-hours.k-add:hover { background: var(--line); color: var(--ink); }
.k-foot { gap: 4px; }
.k-play.on { background: var(--accent); border-color: var(--accent); color: #000; }
.k-run { display: flex; align-items: center; gap: 6px; white-space: nowrap; margin-top: 8px; font-size: 11px; color: var(--ink2); background: color-mix(in srgb, var(--accent) 14%, #fff); border-radius: 6px; padding: 3px 8px; }
.k-run.other { background: var(--line2); }
.k-run .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: pulse 1.4s infinite; }
.k-move { position: absolute; top: 7px; right: 7px; width: 22px !important; height: 22px; padding: 0 !important; border: 0 !important; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='%238a8a8a'%3E%3Ccircle cx='3' cy='7' r='1.5'/%3E%3Ccircle cx='7' cy='7' r='1.5'/%3E%3Ccircle cx='11' cy='7' r='1.5'/%3E%3C/svg%3E") center no-repeat !important; color: transparent; cursor: pointer; appearance: none; -webkit-appearance: none; }
.k-move option { color: #000; }
.k-more { width: 100%; justify-content: center; }
@media (max-width: 760px) { .kanban { grid-template-columns: repeat(4, 82vw); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; } .kcol { scroll-snap-align: start; } }

/* ---------- Painel: indicadores clicáveis ---------- */
.tiles { grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
button.tile { border: 0; text-align: left; font: inherit; cursor: pointer; position: relative; transition: box-shadow .15s, transform .15s; }
button.tile:hover { box-shadow: 0 0 0 2px var(--accent), var(--shadow); transform: translateY(-1px); }
.tile-go { font-style: normal; font-size: 11px; color: var(--muted); margin-top: 8px; }
button.tile:hover .tile-go { color: var(--ink); }
.drill .tbl { margin-top: 4px; }
.drill-urg { border: 1px solid var(--line); border-radius: 10px; padding: 10px 12px; margin-bottom: 10px; }
.drill-urg > .row a { color: var(--ink2); }
.drill-task { display: grid; grid-template-columns: 1fr auto auto 90px; gap: 10px; align-items: center; padding: 7px 0 0; margin-top: 7px; border-top: 1px solid var(--line2); cursor: pointer; }
.drill-task:hover span:first-child { text-decoration: underline; }

/* ---------- Sebrae em configuração ---------- */
.tag.sb-cfg { --c: #8e9092; margin-left: 8px; }
.sebrae-panel.closed { display: flex; align-items: center; }
.sb-mode { display: flex; gap: 16px; align-items: center; justify-content: space-between; flex-wrap: wrap; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 14px; background: #f7f7f7; }
.sb-mode.on { background: #eef6f0; border-color: #cfe5d6; }
.sb-mode p { margin: 4px 0 0; max-width: 640px; }

/* ---------- equipe do projeto, materiais e portal ---------- */
.team-row { display: grid; grid-template-columns: 170px 1fr 1fr auto; gap: 8px; align-items: center; padding: 6px 0; border-bottom: 1px solid var(--line2); opacity: .55; }
.team-row.on, .team-row:has(input[name=m]:checked) { opacity: 1; }
.team-who { display: flex; align-items: center; gap: 6px; }
@media (max-width: 760px) { .team-row { grid-template-columns: 1fr; } }
.mat { border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; margin-bottom: 10px; }
.mat-head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.mat-name { font-size: 15px; }
.mat-st { width: auto !important; font-size: 12px; padding: 3px 8px !important; }
.mat-st.st-aprovado { background: #e3f1e7 !important; }
.mat-st.st-alteracao { background: #fdf3e2 !important; }
.mat .num { width: 64px !important; }
.meter { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 10px 0 6px; }
.dots { display: flex; gap: 5px; }
.dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #000; }
.dots i.used { background: #000; }
.dots i.over { background: var(--red); border-color: var(--red); }
.round { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 8px 0; border-top: 1px solid var(--line2); font-size: 13px; }
.round .grow { min-width: 200px; }
.round-n { width: 22px; height: 22px; border-radius: 50%; background: var(--line2); display: grid; place-items: center; font: 700 11px var(--mono); flex: none; }
.round.st-conta .round-n { background: #000; color: #fff; }
.round-st { font-size: 11px; font-weight: 600; color: var(--ink2); background: var(--line2); padding: 2px 8px; border-radius: 6px; white-space: nowrap; }
.round.st-pendente .round-st { background: #fdf3e2; color: var(--amber); }
.round.st-conta .round-st { background: #000; color: #fff; }
.round.req { background: #fdf3e2; border-radius: 8px; padding: 8px 10px; border: 0; margin-top: 6px; }
.hist { font-style: italic; }
.portal-panel.on { box-shadow: 0 0 0 2px #000, var(--shadow); }
.portal-show { display: grid; gap: 2px; margin: 6px 0 10px; }
.portal-links td:last-child { text-align: right; }

/* ---------- Espaço criativo: biblioteca ---------- */
.lib-bar { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; margin-bottom: 12px; }
.lib-search { flex: 1 1 260px; max-width: 420px; padding: 10px 14px !important; border-radius: 999px !important; }
.lib-kinds { display: flex; gap: 4px; background: #fff; border-radius: 999px; padding: 4px; box-shadow: var(--shadow); flex-wrap: wrap; }
.lib-kinds button { border: 0; background: transparent; border-radius: 999px; padding: 6px 12px; cursor: pointer; display: inline-flex; align-items: center; gap: 5px; font-size: 13px; }
.lib-kinds button span, .lib-chip span { font: 500 11px var(--mono); color: var(--muted); }
.lib-kinds button.on { background: #000; color: #fff; }
.lib-kinds button.on span { color: #cfcfcf; }
.lib-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.lib-chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 5px 12px 5px 10px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.lib-chip .ic { width: 16px; height: 16px; }
.lib-chip:hover { border-color: var(--c, #000); }
.lib-chip.on { background: var(--c, #000); border-color: var(--c, #000); color: #000; font-weight: 600; }
.lib-chip:not([style]).on { color: #fff; }
.lib-chip.on span { color: rgba(0, 0, 0, .6); }
.lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 16px; }
.lib-card { background: #fff; border-radius: 14px; box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.lib-card:hover { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--c), 0 8px 22px rgba(0, 0, 0, .08); }
.lib-cover { display: block; height: 112px; background: var(--cover, var(--c)); position: relative; overflow: hidden; color: #000; text-decoration: none; }
.lib-cover.img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-ico { position: absolute; left: 14px; bottom: 12px; width: 38px; height: 38px; }
.lib-initial { position: absolute; right: -6px; top: -26px; font: 700 128px/1 var(--mono); text-transform: uppercase; color: rgba(255, 255, 255, .45); }
.lib-body { padding: 12px 14px 14px; display: flex; flex-direction: column; flex: 1; }
.lib-top { display: flex; align-items: center; min-height: 24px; }
.lib-kind { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); display: inline-flex; align-items: center; gap: 4px; }
.lib-kind .ic { width: 14px; height: 14px; }
.lib-card h3 { font: 700 15px/1.25 var(--mono); margin: 4px 0 4px; display: block; }
.lib-card h3 a { text-decoration: none; }
.lib-card h3 a:hover { text-decoration: underline; }
.lib-text { margin: 0 0 10px; color: var(--ink2); font-size: 13px; }
.lib-cats { display: flex; gap: 4px; flex-wrap: wrap; margin-top: auto; }
.lib-cat { border: 0; cursor: pointer; font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 22%, #fff); }
.lib-cat:hover { background: var(--c); }
.lib-url { font: 500 11px var(--mono); color: var(--muted); text-decoration: none; margin-top: 10px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lib-url:hover { color: var(--ink); }
.lib-pick label { border: 1px solid var(--line); border-radius: 999px; padding: 3px 10px; }
.lib-pick label:has(input:checked) { background: color-mix(in srgb, var(--c) 30%, #fff); border-color: var(--c); }
.lib-pick + input { margin-top: 8px; max-width: 280px; }
.link-add input.num { flex: 0 0 96px; }
.portal-panel details > summary { cursor: pointer; font-weight: 600; font-size: 13px; margin: 4px 0 8px; }

/* ---------- tarefas e etapas: arquivar / remover ---------- */
.row-del { opacity: 0; transition: opacity .15s; color: var(--muted); }
.task:hover .row-del { opacity: 1; }
.row-del:hover { color: var(--red); }
@media (hover: none) { .row-del { opacity: 1; } }
details.arch { margin: 6px 0 2px; }
details.arch summary { cursor: pointer; }
.arch-row { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 6px 0; border-top: 1px solid var(--line2); font-size: 13px; }
.arch-row > span:first-child { flex: 1; min-width: 180px; color: var(--ink2); }
.proj-custom { margin: 4px 0 16px; }

/* ---------- E-mail ---------- */
.mail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 20px; align-items: start; max-width: 1000px; }
.mail-main { display: flex; flex-direction: column; gap: 10px; align-items: flex-start; padding: 28px; }
.mail-main .btn.big { width: auto; padding: 12px 22px; }
.mail-ico .ic { width: 44px; height: 44px; }
.mail-addr { display: flex; gap: 8px; align-items: center; font: 600 20px var(--mono); word-break: break-all; }
.mail-side p { margin: 0 0 10px; }
@media (max-width: 900px) { .mail-grid { grid-template-columns: 1fr; } }
.mat.approved { border-color: #bfdcc8; background: #fbfdfb; }
.mat-desc { margin: 6px 0 0; color: var(--ink2); }
.round.req.ok { background: #e3f1e7; }
.mat-hist { margin-top: 8px; }
.mat-hist summary { cursor: pointer; color: var(--ink2); }
.mat-hist ul { margin: 6px 0 0; padding-left: 18px; font-size: 13px; }
.mat-hist li { margin-bottom: 3px; }

/* Arquivos e links: acesso interno e remoto ao NAS */
.acc-group { display: inline-flex; align-items: center; gap: 4px; padding: 2px 4px 2px 8px; border: 1px solid var(--line); border-radius: 8px; }
.acc-label { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-right: 2px; }
.nas-office { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 6px 0 10px; border-bottom: 1px solid var(--line2); }
.form-err { color: var(--red); background: #fbecea; border-radius: 6px; padding: 6px 10px; margin: 6px 0 0; }
.files-panel .link-add { flex-wrap: wrap; }
.nas-cfg { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.nas-cfg > div { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; }
.nas-cfg h4 { margin-top: 0; }
.nas-cfg input { width: 100%; }
.file-row .file-main { flex: 1 1 260px; }
.file-acts { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; margin-left: auto; }
/* Utilitários (Espaço criativo) */
.lib-group { margin: 22px 0 10px; font: 600 15px var(--mono); }
.lib-group .n { font-size: 11px; color: var(--muted); }
.lib-chip.util { font-weight: 600; }
/* Permissões */
.tbl-wrap { overflow-x: auto; }
.perm-tbl th.c { font-size: 11px; max-width: 90px; white-space: normal; line-height: 1.2; }
.perm-tbl td.c { text-align: center; }
.perm-tbl td { vertical-align: top; }
.callout.warn { background: #fbecea; border-color: #f0c9c2; }
.legacy-secret { margin-top: 6px; padding-top: 6px; border-top: 1px dashed var(--line); }
#side .brand-name { font: 700 15px var(--mono); letter-spacing: .04em; }
#side .brand-sub { text-transform: none; letter-spacing: 0; line-height: 1.3; font-size: 10.5px; }
.perm-tbl td:first-child { min-width: 150px; }
.perm-simple select { max-width: 240px; }
.perm-legend { margin-top: 12px; }
.perm-legend td:first-child { white-space: nowrap; width: 1%; }
details.perm-adv { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 10px; }
details.perm-adv summary { cursor: pointer; font-weight: 600; color: var(--ink2); }

/* ---------- sétima rodada ---------- */
/* responsáveis: avatares clicáveis e menu rápido */
.who-btn { border: 0; background: none; padding: 2px; border-radius: 14px; cursor: pointer; }
.who-btn:hover, .who-btn:focus-visible { background: color-mix(in srgb, var(--accent) 22%, transparent); outline: none; }
.who-menu { position: fixed; z-index: 60; width: 260px; max-height: 70vh; overflow: auto; background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .18), 0 0 0 1px var(--line); padding: 10px; }
.wm-head { display: flex; flex-direction: column; padding: 2px 4px 8px; border-bottom: 1px solid var(--line2); margin-bottom: 6px; }
.wm-task { font-size: 12px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wm-row { display: flex; align-items: center; gap: 4px; border-radius: 8px; }
.wm-row.on { background: color-mix(in srgb, var(--accent) 12%, #fff); }
.wm-row label { display: flex; align-items: center; gap: 6px; flex: 1; padding: 5px 6px; cursor: pointer; }
.wm-only { border: 0; background: none; color: var(--muted); font-size: 11px; padding: 3px 6px; border-radius: 6px; cursor: pointer; }
.wm-only:hover { background: var(--line2); color: var(--ink); }
.wm-foot { display: flex; align-items: center; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line2); margin-top: 6px; }

/* Meu dia: e-mail e notas */
.mail-btn { background: var(--accent); border-color: var(--accent); color: #000; font-weight: 700; text-decoration: none; }
.mail-btn:hover { background: #000; border-color: #000; color: #fff; }
.mail-btn.off { background: #fff; color: var(--ink2); border-color: var(--line); font-weight: 500; }
.notes-card h3 { flex-wrap: wrap; }
.notes-lock { margin-left: auto; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.note { border-top: 1px solid var(--line2); }
.note summary { display: flex; align-items: center; gap: 8px; padding: 8px 0; cursor: pointer; list-style: none; }
.note summary::-webkit-details-marker { display: none; }
.note summary::before { content: '▸'; color: var(--muted); font-size: 11px; }
.note[open] summary::before { content: '▾'; }
.note-t { flex: 1; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.note-title { font-weight: 600; margin-bottom: 6px; }
.note-body { resize: vertical; min-height: 90px; }
.note-foot { display: flex; align-items: center; gap: 8px; padding: 6px 0 10px; }
.btn.danger { color: var(--red); }
.free-nuv { width: 64px; float: right; margin: -6px 0 0 10px; }

/* Prospecção de Projetos */
.p-lock { margin: -6px 0 14px; display: flex; align-items: center; gap: 6px; }
.pkpis { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.pk { background: #fff; border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 4px solid var(--c, var(--gray)); }
.pk span { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .04em; color: var(--ink2); }
.pk span i { font-style: normal; color: var(--muted); text-transform: none; letter-spacing: 0; }
.pk b { font: 700 26px/1.1 var(--mono); margin-top: 4px; }
.pk em { font-style: normal; font-weight: 600; }
.pk small { color: var(--muted); font-size: 11px; }
.pk.k-lead { --c: #8a8a8a; } .pk.k-neg { --c: var(--blue); } .pk.k-open { --c: #000; background: #000; color: #fff; } .pk.k-open span { color: #cfcfcf; } .pk.k-won { --c: var(--green); }
.pk.k-lost { --c: var(--red); opacity: .8; background: #f7f7f7; box-shadow: none; }
.pk-note { margin: 6px 0 14px; }
.pfilters { align-items: center; }
.pfilters select { width: auto; max-width: 200px; }
.pfilters .search { max-width: 280px; }
.pkanban { display: grid; grid-template-columns: repeat(4, minmax(220px, 1fr)); gap: 12px; align-items: start; overflow-x: auto; padding-bottom: 6px; }
.pcol { background: #e8e9ea; border-radius: var(--r); padding: 10px; min-height: 200px; border-top: 4px solid var(--c); transition: background .15s; }
.pcol.over { background: color-mix(in srgb, var(--accent) 22%, #e8e9ea); }
.pcol.dim { opacity: .45; }
.pcol > header { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; padding: 2px 4px 10px; }
.pcol > header b { font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.pcol > header small { flex-basis: 100%; color: var(--ink2); font-weight: 600; }
.pcard { background: #fff; border-radius: 10px; padding: 10px 11px; margin-bottom: 8px; box-shadow: var(--shadow); cursor: grab; border-left: 4px solid var(--c); }
.pcard:hover { box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 45%, transparent); }
.pcard.dragging { opacity: .5; }
.pc-top { display: flex; gap: 8px; align-items: baseline; justify-content: space-between; }
.pc-name { font-weight: 600; }
.pc-val { font: 600 12px var(--mono); white-space: nowrap; }
.pc-svcs { margin: 6px 0 2px; display: flex; flex-wrap: wrap; gap: 4px; }
.pc-meta { display: flex; align-items: center; gap: 4px; font-size: 12px; margin-top: 6px; color: var(--ink2); }
.pc-foot { display: flex; align-items: center; gap: 6px; margin-top: 6px; }
.pc-hist { background: #eef0f2; color: var(--ink2); }
.pst { display: inline-block; font-size: 12px; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: color-mix(in srgb, var(--c) 15%, #fff); color: var(--c); white-space: nowrap; }
.ptable td { vertical-align: top; }
.opp-lists { margin-top: 6px; }
.opp-lists h4 { margin-top: 6px; }
.opp-hist, .opp-acts { list-style: none; padding: 0; margin: 0 0 8px; max-height: 220px; overflow: auto; }
.opp-hist li, .opp-acts li { display: flex; gap: 8px; align-items: flex-start; padding: 5px 0; border-bottom: 1px solid var(--line2); font-size: 13px; }
.opp-acts li label { flex: 1; display: flex; gap: 6px; align-items: flex-start; }
.opp-acts li.done label { text-decoration: line-through; color: var(--muted); }
.ph-date { font: 500 12px var(--mono); color: var(--ink2); white-space: nowrap; }
.opp-add input[type=date] { width: 140px; }
.opp-add input:not([type=date]) { flex: 1; }
.opp-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; padding: 10px 12px; background: #f6f6f6; border-radius: 10px; font-size: 13px; }
.opp-src { margin-top: 10px; }
.indent { margin-left: 24px; width: calc(100% - 24px); }
select.indent { margin-bottom: 8px; }
.check { display: flex; align-items: center; gap: 8px; margin: 8px 0 6px; cursor: pointer; }
.prospec-checks label.on { background: color-mix(in srgb, var(--accent) 14%, #fff); }

/* Biblioteca: vários links, coleção interna e referências */
.lib-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
/* Documentos e diretrizes: mesmos cards da biblioteca */
.docs-intro { margin: -4px 0 12px; }
.doc-card .lib-links { margin-top: auto; padding-top: 8px; }
.lib-links .btn { text-decoration: none; }
.coll-cover { border: 0; cursor: pointer; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 2px; width: 100%; padding: 14px 16px;
  background: url(marca/nuvenzito.svg) right 12px center / auto 82% no-repeat, var(--silver); color: #000; text-align: left; }
.coll-cover .coll-n { font: 700 34px/1 var(--mono); }
.coll-cover span:last-child { font: 500 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: var(--ink2); }
.coll-head { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-bottom: 12px; }
.coll-head h2 { font: 700 20px var(--mono); text-transform: uppercase; }
.ref-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px; margin-bottom: 18px; }
.ref-card { background: #fff; border-radius: 10px; padding: 10px 12px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 4px; }
.ref-main { text-decoration: none; display: flex; flex-direction: column; }
.ref-main:hover b { text-decoration: underline; }
.ref-card p { margin: 0; color: var(--ink2); }
.ref-foot { display: flex; align-items: center; gap: 6px; margin-top: auto; flex-wrap: wrap; }

/* identidade: toques discretos no sistema */
.melted { display: inline-block; aspect-ratio: 568 / 262; background: var(--accent); -webkit-mask: url(marca/logo-melted.svg) center / contain no-repeat; mask: url(marca/logo-melted.svg) center / contain no-repeat; }
.creative-melt { width: 58px; vertical-align: middle; margin-left: 8px; }

@media (max-width: 1100px) { .pkpis { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .pkpis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pkanban { grid-template-columns: repeat(4, minmax(230px, 82vw)); }
  .pfilters select, .pfilters .search { max-width: none; width: 100%; }
  .indent { margin-left: 12px; width: calc(100% - 12px); }
}

/* ---------- oitava rodada ---------- */
/* Acessos profissionais: biblioteca de logins e senhas */
.vault-note { margin: -6px 0 12px; }
.vault-note .ic { vertical-align: -3px; }
.vault-search { max-width: 360px; margin-bottom: 14px; }
.vault-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 12px; }
.vault-card { background: #fff; border-radius: var(--r); padding: 14px 16px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 8px; }
.vc-head { display: flex; align-items: center; gap: 8px; }
.vc-head h3 { margin: 0; font-size: 15px; }
.vc-head .btn { text-decoration: none; }
.vc-row { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.vc-lab { width: 46px; font: 500 10px var(--mono); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.vc-val { flex: 1; min-width: 0; overflow-wrap: anywhere; font-size: 13px; }
.vc-val.secret { letter-spacing: .04em; }
.vc-notes { margin: 0; color: var(--ink2); white-space: pre-wrap; }
.mono { font-family: var(--mono); }
.tag.ok { background: #e3f1e7; color: #2d6a45; } .tag.warn { background: #fdf3e2; color: #8a5a12; }

/* Projetos: acessos rápidos internos (rosa) e tópicos de entrega */
.quick { border-left: 4px solid var(--accent); }
.quick-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 8px; }
.quick-head h3 { margin: 0; }
.quick-list { display: flex; flex-wrap: wrap; gap: 8px; }
.quick-item { display: flex; align-items: center; background: color-mix(in srgb, var(--accent) 16%, #fff); border: 1px solid color-mix(in srgb, var(--accent) 45%, #fff); border-radius: 10px; }
.quick-link { display: flex; align-items: center; gap: 8px; padding: 8px 10px; text-decoration: none; }
.quick-link span { display: flex; flex-direction: column; }
.quick-link small { color: var(--ink2); font-size: 11px; }
.quick-link:hover b { text-decoration: underline; }
.quick-ic { width: 22px; height: 22px; }
.quick-acts { display: flex; padding-right: 4px; }
.quick-acts .icon-btn:disabled { opacity: .3; }
.quick-empty { margin: -4px 0 12px; }
.topic { margin: 10px 0 4px; border: 1px solid var(--line); border-radius: 10px; background: #fafafa; }
.topic > summary { display: flex; align-items: center; gap: 8px; padding: 8px 12px; cursor: pointer; list-style: none; font: 700 12px var(--mono); text-transform: uppercase; letter-spacing: .04em; }
.topic > summary::-webkit-details-marker { display: none; }
.topic > summary::before { content: '▸'; color: var(--muted); }
.topic[open] > summary::before { content: '▾'; }
.topic > .tasks, .topic > .add-task { margin: 0 10px 8px; }
.tp-acts { display: flex; font-family: 'Fira Sans', sans-serif; text-transform: none; }
.tp-acts .icon-btn:disabled { opacity: .3; }
.tp-empty { margin: 4px 2px 8px; }
.topic-add { margin-top: 8px; }

/* Mural: prévias, avisos de evento e referências */
.post-ev { display: flex; gap: 10px; align-items: center; background: color-mix(in srgb, var(--accent) 12%, #fff); border-radius: 10px; padding: 8px 10px; margin: 6px 0; font-size: 13px; }
.pe-date { width: 44px; flex: none; text-align: center; background: #000; color: #fff; border-radius: 8px; padding: 4px 0; }
.pe-date b { display: block; font: 700 18px/1 var(--mono); }
.pe-date span { font: 500 10px var(--mono); text-transform: uppercase; }
.ev-tag.hoje, .ev-tag.breve { background: var(--accent); color: #000; }
.ev-tag.passado { background: #eef0f2; color: var(--muted); }
.post.ev-passado .post-img { filter: grayscale(.6); opacity: .85; }
.post-cta { margin: 6px 6px 0 0; text-decoration: none; }
.post-refs { display: flex; flex-direction: column; gap: 2px; margin: 6px 0; font-size: 13px; }
.post-refs a { text-decoration: none; } .post-refs a:hover { text-decoration: underline; }

/* ---------- nona rodada ---------- */
.add-delivery { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 14px; }
.mural-news { position: fixed; right: 18px; bottom: 18px; z-index: 50; width: 340px; max-width: calc(100vw - 32px); max-height: 70vh; overflow: auto;
  background: #fff; border-radius: 14px; box-shadow: 0 10px 30px rgba(0, 0, 0, .16), 0 0 0 1px var(--line); border-top: 4px solid var(--accent); padding: 12px 14px; }
.mn-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.mn-item { padding: 8px 0; border-top: 1px solid var(--line2); display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.mn-item.mn-ev { background: color-mix(in srgb, var(--accent) 10%, #fff); margin: 0 -14px; padding: 8px 14px; }
.mn-item .btn { margin-top: 4px; text-decoration: none; }
.mn-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; border-top: 1px solid var(--line2); }
nav a .count.news { background: var(--accent); color: #000; }
.act-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 10px 0 14px; }
.act-k { background: #fff; border-radius: var(--r); padding: 12px 14px; box-shadow: var(--shadow); display: flex; flex-direction: column; border-top: 4px solid #8a8a8a; }
.act-k b { font: 700 26px/1.1 var(--mono); } .act-k span { font-weight: 600; } .act-k small { color: var(--muted); }
.act-k.ok { border-top-color: var(--green); } .act-k.warn { border-top-color: var(--amber); } .act-k.muted { border-top-color: #d6d6d6; }
.act-sort { margin-bottom: 10px; }
.act-tbl td { vertical-align: top; }
.act-away td { background: #fdf3e2; }
.act-hist { margin: 6px 0 0; padding-left: 16px; font-size: 12px; max-height: 220px; overflow: auto; }
@media (max-width: 900px) { .act-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
