/* 6.148 — Projetos em cartões (referência Orkestrya) */
body:has(.k16-bar) #content > .kpis { display: none; }
body:has(.k16-bar) #content .page-head .ph-help { display: none; }
.k16-bar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; }
.k16-bar .seg b { margin-left: 4px; font-size: 11px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 99px; display: inline-grid; place-items: center; background: var(--surface-muted); }
.k16-bar .seg .on b { background: var(--accent); color: var(--accent-ink); }
.k16-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.k16-card { display: flex; flex-direction: column; border-radius: 20px; background: var(--surface); border: 1px solid var(--border); overflow: hidden; color: var(--text); text-decoration: none; transition: transform 120ms ease, box-shadow 120ms ease; }
.k16-card:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.08); }
.k16-cv { position: relative; display: block; aspect-ratio: 16 / 8; background: var(--surface-muted); overflow: hidden; }
.k16-cv img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.k16-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--c); background: color-mix(in srgb, var(--c) 16%, var(--surface)); }
.k16-ph svg { width: 34px; height: 34px; opacity: .8; }
.k16-rk { position: absolute; top: 10px; left: 10px; height: 24px; padding: 0 9px; border-radius: 99px; background: var(--accent); color: var(--accent-ink); font: 700 12px/24px var(--font); }
.k16-st { position: absolute; top: 10px; right: 10px; }
.k16-st .badge { background: rgba(255,255,255,.92); color: #1A1206; }
.k16-b { display: flex; flex-direction: column; gap: 8px; padding: 12px 14px 14px; }
.k16-cl { display: flex; align-items: center; gap: 7px; font-size: 12.5px; font-weight: 600; color: var(--text-2); min-width: 0; }
.k16-cl > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.k16-t { font-size: 15.5px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.k16-pg { display: flex; flex-direction: column; gap: 4px; }
.k16-pg small { color: var(--text-muted); font-size: 12px; }
.k16-pb i { display: block; height: 100%; border-radius: 99px; background: var(--accent); }
.k16-pb { display: block; height: 6px; border-radius: 99px; background: var(--surface-muted); overflow: hidden; margin: 0; }
.k16-done .k16-pb i { background: #22C55E; }
.k16-ft { display: flex; align-items: center; gap: 8px; margin-top: 2px; }
.k16-due { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: var(--text-2); padding: 3px 9px; border-radius: 99px; background: var(--surface-subtle); }
.k16-due.late { color: #DC2626; background: color-mix(in srgb, #EF4444 12%, transparent); }
.k16-due.ready, .k16-due.done { color: #15803D; background: color-mix(in srgb, #22C55E 13%, transparent); }
.k16-own { margin-left: auto; }
.k16-own .av { width: 26px; height: 26px; font-size: 11px; }
.k16-fin { margin-left: auto; height: 30px; }
.k16-own + .k16-fin { margin-left: 0; }
.k16-done { opacity: .8; }
@media (max-width: 767px) { .k16-grid { grid-template-columns: 1fr; gap: 10px; } .k16-bar .seg { overflow-x: auto; max-width: 100%; } }
.k16-f { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.k16-f select { width: auto; max-width: 190px; height: 38px; }
.k16-grid { align-items: start; }
@media (max-width: 767px) { .k16-f { width: 100%; } .k16-f select { flex: 1; max-width: none; } }
.k16-head .k16-ha { display: flex; align-items: center; gap: 10px; }
@media (max-width: 767px) { .k16-head { flex-wrap: wrap; } .k16-head .k16-ha { width: 100%; justify-content: space-between; } .k16-v a > span { display: none; } .k16-v a { padding: 0 12px; } }
