/* BioSphere · kit de telas. Identidade BioSphere (roxo, mint, Inter/Geist Mono) num molde de software de trabalho. */
:root { --k-side: #111114; --k-side-2: #1c1c21; --k-side-txt: #c9cad1; --k-pri: var(--purple); --k-pri-h: #6408ad; --k-r: 22px; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-sans, Inter, sans-serif); font-size: 14px; -webkit-font-smoothing: antialiased; }
* { box-sizing: border-box; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p { margin: 0; }
.k-grow { flex: 1; }
.k-muted { color: var(--ink-muted); }

.k-app { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 16px; padding: 16px; min-height: 100vh; }
.k-app.is-mini { grid-template-columns: 76px minmax(0, 1fr); }
.k-app.is-mini .k-nav__it span, .k-app.is-mini .k-nav__it b, .k-app.is-mini .k-nav__sec, .k-app.is-mini .k-nav__subs, .k-app.is-mini .k-side__top img, .k-app.is-mini .k-ia span:last-child { display: none; }

/* menu lateral */
.k-side { position: sticky; top: 16px; height: calc(100vh - 32px); background: var(--k-side); color: var(--k-side-txt); border-radius: 26px; display: flex; flex-direction: column; padding: 22px 14px 14px; }
.k-side__top { display: flex; align-items: center; justify-content: space-between; padding: 0 10px 18px; }
.k-side__top img { height: 24px; }
.k-side__col { width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; color: #8d8f99; }
.k-side__col:hover { background: var(--k-side-2); color: #fff; }
.k-nav { flex: 1; overflow-y: auto; scrollbar-width: none; display: flex; flex-direction: column; gap: 2px; }
.k-nav__sec { font: 500 10.5px/1 var(--font-mono); letter-spacing: 1px; text-transform: uppercase; color: #6e707b; padding: 16px 12px 6px; }
.k-nav__it { display: flex; align-items: center; gap: 12px; height: 38px; padding: 0 12px; border-radius: 12px; font-size: 14px; color: var(--k-side-txt); transition: background .15s, color .15s; }
.k-nav__it:hover { background: var(--k-side-2); color: #fff; }
.k-nav__it.is-on { background: #26262d; color: #fff; font-weight: 500; }
.k-nav__it.is-on .bs-i { color: var(--mint); }
.k-nav__it b { margin-left: auto; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 99px; display: grid; place-items: center; font: 500 11px/1 var(--font-mono); background: #2d2d35; color: #e9e9ee; }
.k-nav__it b.al { background: var(--alert); color: #151515; }
.k-nav__subs { display: flex; flex-direction: column; gap: 1px; margin: 4px 0 8px 22px; padding-left: 12px; border-left: 1px solid #2c2c33; }
.k-nav__subs a { position: relative; height: 32px; display: flex; align-items: center; padding: 0 10px; border-radius: 9px; font-size: 13.5px; color: #9a9ca6; }
.k-nav__subs a:hover { color: #fff; }
.k-nav__subs a.is-on { color: #fff; font-weight: 500; }
.k-nav__subs a.is-on::before { content: ""; position: absolute; left: -16px; width: 7px; height: 7px; border-radius: 50%; background: var(--mint); }
.k-side__foot { display: flex; align-items: center; gap: 8px; padding-top: 12px; border-top: 1px solid #23232a; }
.k-ia { flex: 1; display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 14px; background: #1f1f25; box-shadow: inset 0 0 0 1px #2e2e36; }
.k-ia:hover { background: #26262d; }
.k-ia__orb { width: 26px; height: 26px; border-radius: 50%; flex: none; background: radial-gradient(circle at 32% 26%, rgba(255,255,255,.95) 0 6%, transparent 22%), radial-gradient(circle at 40% 35%, #ab74ec, #770ccd 60%, #ffa333 115%); }
.k-ia b { display: block; color: #fff; font-size: 13px; font-weight: 500; }
.k-ia small { color: var(--purple-300); font-size: 11.5px; }
.k-side__ico { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #9a9ca6; box-shadow: inset 0 0 0 1px #2e2e36; }

/* barra do topo */
.k-main { min-width: 0; display: flex; flex-direction: column; gap: 20px; }
.k-top { position: sticky; top: 16px; z-index: 30; display: flex; align-items: center; gap: 10px; padding: 12px 14px 12px 22px; background: var(--surface-raised); border-radius: 22px; box-shadow: 0 1px 0 var(--line), 0 8px 24px rgba(20,20,30,.05); }
.k-top__t { min-width: 0; flex: 0 1 auto; margin-right: auto; }
.k-top__t h1 { font-size: 19px; font-weight: 500; letter-spacing: -.3px; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 320px; }
.k-top__t small { font-size: 12.5px; color: var(--ink-muted); white-space: nowrap; }
.k-top__t small i { font-style: normal; margin: 0 4px; color: var(--ink-faint); }
.k-search { display: flex; align-items: center; gap: 10px; height: 42px; width: min(340px, 30vw); padding: 0 12px 0 16px; border-radius: 14px; background: var(--surface-sunken); color: var(--ink-muted); font-size: 14px; }
.k-search span { flex: 1; text-align: left; }
.k-search kbd { font: 500 11px var(--font-mono); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); padding: 3px 6px; border-radius: 6px; }
.k-chip { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 14px; border-radius: 99px; background: var(--surface-sunken); font-size: 13.5px; font-weight: 500; white-space: nowrap; }
.k-chip__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--purple); }
.k-ibtn { position: relative; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-sunken); flex: none; font-size: 20px; }
.k-ibtn:hover { background: var(--surface-strong); }
.k-ibtn em { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; padding: 0 4px; border-radius: 99px; background: var(--alert); color: #151515; font: 500 10px/18px var(--font-mono); font-style: normal; }
.k-ibtn--ia { background: var(--purple-tint); color: var(--purple); }
.k-me { display: flex; align-items: center; gap: 10px; padding: 4px 12px 4px 4px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); font-size: 13px; }
.k-me b { display: block; font-weight: 500; white-space: nowrap; }
.k-me small { color: var(--ink-muted); font-size: 11.5px; }
@media (max-width: 1320px) { .k-me span, .k-chip:nth-of-type(2) { display: none; } .k-me { padding: 4px; } }

/* página */
.k-page { display: flex; flex-direction: column; gap: 18px; padding-bottom: 40px; min-width: 0; }
.k-head { display: flex; align-items: flex-end; gap: 16px; flex-wrap: wrap; padding: 6px 4px 0; }
.k-head > div:first-child { flex: 1; min-width: 260px; }
.k-head h2 { font-size: 30px; font-weight: 500; letter-spacing: -.8px; line-height: 1.1; }
.k-head p { color: var(--ink-muted); font-size: 15px; margin-top: 6px; }
.k-head__a { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.k-btn { display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 20px; border-radius: 99px; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); font-size: 14.5px; font-weight: 500; white-space: nowrap; transition: background .15s, box-shadow .15s, transform .1s; }
.k-btn:hover { box-shadow: inset 0 0 0 1px var(--line-strong); background: var(--surface-sunken); }
.k-btn:active { transform: translateY(1px); }
.k-btn--pri { background: var(--k-pri); color: #fff; box-shadow: 0 6px 18px rgba(119,12,205,.28); }
.k-btn--pri:hover { background: var(--k-pri-h); box-shadow: 0 6px 18px rgba(119,12,205,.36); }
.k-btn--ok { background: var(--mint); color: #151515; box-shadow: none; }
.k-btn--ok:hover { background: #86eda0; }
.k-btn--danger { background: #fde4dc; color: #a33a0c; box-shadow: none; }
.k-btn--danger:hover { background: #fbd3c5; }
.k-btn--s { height: 38px; padding: 0 14px; font-size: 13.5px; }
.k-btn kbd { font: 500 10.5px var(--font-mono); padding: 2px 6px; border-radius: 6px; background: rgba(0,0,0,.08); }
.k-btn--pri kbd { background: rgba(255,255,255,.2); }
.k-link { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--ink); }
.k-link:hover { color: var(--purple); }

.k-resumo { padding: 4px 4px 0; }
.k-resumo small { display: block; font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: 1px; color: var(--ink-faint); margin-bottom: 8px; }
.k-resumo h3 { font-size: 30px; font-weight: 500; letter-spacing: -.8px; line-height: 1.2; }
.k-resumo h3 span { color: var(--ink-faint); }
.k-alert { display: flex; align-items: center; gap: 12px; padding: 14px 16px 14px 18px; border-radius: 18px; font-size: 14px; line-height: 1.45; }
.k-alert > span { flex: 1; }
.k-alert--alert { background: #fdebe4; color: #7a2c09; }
.k-alert--warn { background: var(--orange-tint); color: var(--orange-deep, #7a4300); box-shadow: inset 0 0 0 1px var(--orange-soft); }
.k-alert--ok { background: var(--mint-tint); color: var(--mint-ink); }
.k-alert--ia { background: var(--purple-tint); color: var(--purple-ink); }
.k-alert .k-btn { background: var(--ink); color: #fff; box-shadow: none; }

.k-kpis { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(150px, 1fr); background: var(--surface-raised); border-radius: var(--k-r); padding: 8px; box-shadow: 0 1px 0 var(--line); overflow-x: auto; }
.k-kpi { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 16px; text-align: left; min-height: 130px; position: relative; }
.k-kpi + .k-kpi::before { content: ""; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--line); }
.k-kpi--dark + .k-kpi::before, .k-kpi--dark::before { display: none; }
a.k-kpi:hover, button.k-kpi:hover { background: var(--surface-sunken); }
.k-kpi small { font-size: 13px; color: var(--ink-muted); }
.k-kpi b { font-size: 28px; font-weight: 500; letter-spacing: -.6px; line-height: 1; font-variant-numeric: tabular-nums; }
.k-kpi b i { font-style: normal; font-size: 14px; color: var(--ink-muted); margin-left: 4px; letter-spacing: 0; }
.k-kpi b.al { color: #c94a12; } .k-kpi b.ok { color: var(--mint-ink); } .k-kpi b.pu { color: var(--purple); }
.k-kpi em { margin-top: auto; font-style: normal; font-size: 12px; color: var(--ink-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-kpi__d { align-self: flex-start; font: 500 11px var(--font-mono); padding: 3px 8px; border-radius: 99px; background: var(--mint-soft); color: var(--mint-ink); }
.k-kpi--dark { background: #151515; color: #fff; }
.k-kpi--dark small, .k-kpi--dark em { color: rgba(255,255,255,.65); }
.k-kpi--dark b { color: var(--mint); }
.k-kpi--dark .k-kpi__d { background: rgba(159,244,179,.16); color: var(--mint); }
.k-kpi__sp { margin-top: 2px; }

.k-card { background: var(--surface-raised); border-radius: var(--k-r); padding: 20px 22px; box-shadow: 0 1px 0 var(--line); min-width: 0; }
.k-card--soft { background: var(--surface); }
.k-card--dark { background: #151515; color: #fff; }
.k-card--dark .k-card__h p { color: rgba(255,255,255,.65); }
.k-card__h { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; }
.k-card__h > div { flex: 1; min-width: 0; }
.k-card__h h3 { font-size: 17px; font-weight: 500; letter-spacing: -.2px; }
.k-card__h p { font-size: 13px; color: var(--ink-muted); margin-top: 3px; }
.k-grid { display: grid; gap: 16px; }
.k-g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .k-g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } .k-g21 { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); } .k-g12 { grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); }
@media (max-width: 1200px) { .k-g3, .k-g21, .k-g12 { grid-template-columns: 1fr; } }

/* tabela */
.k-tcard { padding: 18px 0 6px; }
.k-tcard > .k-card__h, .k-tcard > .k-tabs, .k-tcard > .k-tbar, .k-tcard > .k-chips, .k-tcard > .k-bulk { margin-left: 20px; margin-right: 20px; }
.k-tabs { display: inline-flex; gap: 2px; padding: 4px; border-radius: 14px; background: var(--surface-sunken); margin-bottom: 14px; max-width: calc(100% - 40px); overflow-x: auto; }
.k-tabs button { height: 34px; padding: 0 14px; border-radius: 10px; font-size: 13.5px; color: var(--ink-muted); white-space: nowrap; }
.k-tabs button i { font-style: normal; font-size: 12px; color: var(--ink-faint); margin-left: 2px; }
.k-tabs button.is-on { background: var(--surface-raised); color: var(--ink); font-weight: 500; box-shadow: 0 1px 2px rgba(0,0,0,.06); }
.k-tbar { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.k-tsearch { display: flex; align-items: center; gap: 8px; height: 42px; width: min(380px, 100%); padding: 0 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px var(--line); color: var(--ink-muted); }
.k-tsearch:focus-within { box-shadow: inset 0 0 0 2px var(--purple-300); }
.k-tsearch input { flex: 1; border: 0; outline: none; background: none; font: inherit; font-size: 14px; color: var(--ink); }
.k-chips { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.k-chips button { display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px; border-radius: 99px; font-size: 13px; color: var(--ink-muted); box-shadow: inset 0 0 0 1px var(--line); }
.k-chips button i { font-style: normal; color: var(--ink-faint); font-size: 12px; }
.k-chips button.is-on { background: var(--ink); color: #fff; box-shadow: none; }
.k-chips button.is-on i { color: rgba(255,255,255,.6); }
.k-bulk { display: flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 12px; background: var(--purple-tint); color: var(--purple-ink); margin-bottom: 10px; font-size: 13px; }
.k-bulk b { font-weight: 500; margin-right: auto; }
.k-tscroll { overflow-x: auto; }
.k-t { width: 100%; border-collapse: separate; border-spacing: 0; font-size: 13.5px; font-variant-numeric: tabular-nums; }
.k-t th { text-align: left; font-weight: 500; font-size: 12.5px; color: var(--ink-muted); background: var(--surface-sunken); padding: 11px 12px; white-space: nowrap; }
.k-t th:first-child { border-radius: 12px 0 0 12px; padding-left: 20px; } .k-t th:last-child { border-radius: 0 12px 12px 0; }
.k-t thead tr { box-shadow: none; }
.k-t th button { font-weight: 500; color: inherit; } .k-t th button i { font-style: normal; color: var(--ink-faint); }
.k-t td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.k-t td:first-child { padding-left: 20px; }
.k-t tr.is-link { cursor: pointer; }
.k-t tr.is-link:hover td { background: var(--surface-sunken); }
.k-t tr.is-late td:first-child { box-shadow: inset 3px 0 0 var(--alert); }
.k-t tr.is-warn td:first-child { box-shadow: inset 3px 0 0 var(--orange); }
.k-t .num { text-align: right; }
.k-t__ck { width: 34px; } .k-t__ck input { width: 17px; height: 17px; accent-color: var(--purple); }
.k-t__m { width: 46px; text-align: right; }
.k-dots { width: 32px; height: 32px; border-radius: 10px; font-size: 18px; color: var(--ink-faint); }
.k-dots:hover { background: var(--surface-strong); color: var(--ink); }
.k-cel b { display: block; font-weight: 500; line-height: 1.3; }
.k-cel small { display: block; color: var(--ink-muted); font-size: 12px; margin-top: 2px; }
.k-pes { display: inline-flex; align-items: center; gap: 9px; }
.k-pes b { display: block; font-weight: 500; font-size: 13.5px; white-space: nowrap; }
.k-pes small { display: block; font-size: 12px; color: var(--ink-muted); white-space: nowrap; max-width: 180px; overflow: hidden; text-overflow: ellipsis; }
.k-sla { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 9px; border-radius: 99px; font-size: 12px; font-weight: 500; white-space: nowrap; }
.k-sla--ok { background: var(--surface-sunken); color: var(--ink-muted); }
.k-sla--warn { background: var(--orange-soft); color: var(--orange-ink); }
.k-sla--late { background: #fde0d4; color: #b23d0a; }
.k-vazio { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 36px; color: var(--ink-muted); }
.k-vazio b { color: var(--ink); font-weight: 500; }
.k-pop { position: absolute; z-index: 200; width: 220px; background: var(--surface-raised); border-radius: 14px; box-shadow: 0 16px 40px rgba(0,0,0,.18), 0 0 0 1px var(--line); padding: 6px; display: flex; flex-direction: column; }
.k-pop button { text-align: left; padding: 9px 10px; border-radius: 9px; font-size: 13.5px; }
.k-pop button:hover { background: var(--surface-sunken); }

/* kanban */
.k-kanban { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(272px, 1fr); gap: 12px; overflow-x: auto; padding-bottom: 8px; align-items: start; }
.k-col { background: var(--surface); border-radius: 20px; padding: 12px; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .15s, background .15s; }
.k-col.is-over { background: var(--purple-tint); box-shadow: inset 0 0 0 2px var(--purple-300); }
.k-col__h { display: flex; align-items: center; gap: 8px; padding: 2px 2px 4px; }
.k-col__h b { font-weight: 500; font-size: 14px; }
.k-col__h i { font-style: normal; font: 500 11px var(--font-mono); background: var(--surface-raised); padding: 3px 7px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.k-col__h .k-dots { margin-left: auto; width: 26px; height: 26px; }
.k-col__dot { width: 9px; height: 9px; border-radius: 50%; }
.k-col__i { display: flex; align-items: center; gap: 5px; font-size: 11.5px; color: var(--ink-muted); padding: 0 2px 10px; }
.k-col__i em { margin-left: auto; font-style: normal; font-weight: 500; color: var(--ink); }
.k-col__b { display: flex; flex-direction: column; gap: 8px; min-height: 60px; }
.k-col__vazio { padding: 18px; border-radius: 14px; border: 1.5px dashed var(--line-strong); text-align: center; font-size: 12px; color: var(--ink-faint); }
.k-kc { background: var(--surface-raised); border-radius: 15px; padding: 12px 13px 12px 14px; box-shadow: 0 1px 2px rgba(0,0,0,.05), 0 0 0 1px var(--line); cursor: grab; display: flex; flex-direction: column; gap: 7px; position: relative; overflow: hidden; }
.k-kc:hover { box-shadow: 0 6px 16px rgba(0,0,0,.08), 0 0 0 1px var(--purple-300); }
.k-kc.is-drag { opacity: .45; }
.k-kc.is-late::before, .k-kc.is-warn::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--alert); }
.k-kc.is-warn::before { background: var(--orange); }
.k-kc__t { display: flex; justify-content: space-between; gap: 8px; font: 500 11.5px var(--font-mono); color: var(--ink-muted); }
.k-kc__t b { color: var(--ink); font-family: var(--font-sans); font-size: 13px; }
.k-kc__n { font-weight: 500; font-size: 14px; line-height: 1.3; }
.k-kc__m { display: flex; align-items: center; gap: 7px; font-size: 12px; color: var(--ink-muted); }
.k-kc__f { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }

/* ficha */
.k-ficha { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 16px; align-items: start; }
.k-ficha__nav { position: sticky; top: 104px; background: var(--surface-raised); border-radius: var(--k-r); padding: 18px 12px; box-shadow: 0 1px 0 var(--line); }
.k-voltar { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--ink-muted); padding: 0 10px; }
.k-voltar .bs-i { transform: rotate(-135deg); }
.k-ficha__nav h2 { font-size: 18px; font-weight: 500; padding: 12px 10px 2px; line-height: 1.25; }
.k-ficha__nav p { font-size: 12.5px; color: var(--ink-muted); padding: 0 10px 12px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.k-ficha__nav nav { display: flex; flex-direction: column; gap: 2px; }
.k-ficha__nav nav a { display: flex; align-items: center; height: 40px; padding: 0 12px; border-radius: 12px; font-size: 14px; color: var(--ink-muted); }
.k-ficha__nav nav a:hover { background: var(--surface-sunken); color: var(--ink); }
.k-ficha__nav nav a.is-on { background: var(--surface-sunken); color: var(--ink); font-weight: 500; }
.k-ficha__nav nav a.is-on::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--purple); margin-right: 9px; }
.k-ficha__nav nav a i { margin-left: auto; font-style: normal; font: 500 11px var(--font-mono); color: var(--ink-faint); }
.k-ficha__c { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.k-ficha__top { display: flex; justify-content: flex-end; gap: 6px; margin-bottom: -6px; }
.k-ficha__top:empty { display: none; }
.k-hero { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 16px; background: var(--surface-raised); border-radius: var(--k-r); padding: 22px; box-shadow: 0 1px 0 var(--line); }
@media (max-width: 1200px) { .k-hero { grid-template-columns: 1fr; } }
.k-eyebrow { font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: 1px; color: var(--ink-muted); }
.k-hero h2 { font-size: 28px; font-weight: 500; letter-spacing: -.6px; line-height: 1.15; margin: 8px 0 6px; }
.k-hero p { color: var(--ink-muted); font-size: 14px; }
.k-hero__st { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.k-st { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 12px; background: var(--surface-sunken); font-size: 13px; }
.k-st small { color: var(--ink-muted); font-size: 13px; }
.k-st b { font-weight: 500; }
.k-hero__g { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px 18px; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.k-hero__g small { display: block; font-size: 12px; color: var(--ink-muted); margin-bottom: 4px; }
.k-hero__d { background: radial-gradient(70% 90% at 100% 0%, rgba(119,12,205,.75), transparent 70%), radial-gradient(60% 60% at 0% 100%, rgba(159,244,179,.18), transparent 70%), #151515; color: #fff; border-radius: 20px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.k-hero__d > small { font: 500 11px var(--font-mono); text-transform: uppercase; letter-spacing: 1px; color: rgba(255,255,255,.65); }
.k-hero__d > b { font-size: 38px; font-weight: 500; letter-spacing: -1px; line-height: 1.05; }
.k-hero__d > span { font-size: 13px; color: rgba(255,255,255,.75); }
.k-hero__mini { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 10px; }
.k-hero__mini div { background: rgba(255,255,255,.08); border-radius: 12px; padding: 8px 10px; }
.k-hero__mini small { display: block; font-size: 11px; color: rgba(255,255,255,.65); }
.k-hero__mini b { font-weight: 500; font-size: 14px; }

/* passo a passo */
.k-wiz { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 16px; align-items: start; }
@media (max-width: 1200px) { .k-wiz { grid-template-columns: 1fr; } }
.k-wiz__m { display: flex; flex-direction: column; gap: 16px; }
.k-steps { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 8px; padding: 20px 22px; }
.k-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; position: relative; }
.k-step:not(:last-child)::after { content: ""; position: absolute; top: 16px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; background: var(--line-strong); }
.k-step.is-done:not(:last-child)::after { background: var(--purple); }
.k-step span { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 500 13px var(--font-mono); box-shadow: inset 0 0 0 2px var(--line-strong); background: var(--surface-raised); color: var(--ink-muted); }
.k-step.is-on span { box-shadow: 0 0 0 4px var(--purple-tint), inset 0 0 0 2px var(--purple); color: var(--purple); }
.k-step.is-done span { background: var(--purple); color: #fff; box-shadow: none; }
.k-step b { font-weight: 500; font-size: 14px; margin-top: 4px; }
.k-step small { font-size: 12px; color: var(--ink-muted); }
.k-wiz__t { display: flex; gap: 14px; align-items: flex-start; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.k-wiz__n { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--purple); color: #fff; font-weight: 500; flex: none; }
.k-wiz__t h3 { font-size: 19px; font-weight: 500; }
.k-wiz__t p { color: var(--ink-muted); font-size: 13.5px; margin-top: 3px; }
.k-wiz__f { display: flex; justify-content: space-between; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); }
.k-wiz__s { display: flex; flex-direction: column; gap: 16px; position: sticky; top: 104px; }
.k-como { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 14px; counter-reset: c; }
.k-como li { display: grid; grid-template-columns: 26px 1fr; gap: 2px 10px; counter-increment: c; }
.k-como li::before { content: counter(c); grid-row: span 2; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font: 500 11px var(--font-mono); background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line); }
.k-como li:first-child::before { background: var(--purple); color: #fff; box-shadow: none; }
.k-como b { font-weight: 500; font-size: 13.5px; }
.k-como span { font-size: 12.5px; color: var(--ink-muted); }
.k-f { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.k-f > span { font-weight: 500; font-size: 14px; display: flex; align-items: center; gap: 6px; }
.k-f > small { font-size: 12.5px; color: var(--ink-muted); }
.k-f input, .k-f select, .k-f textarea { font: inherit; font-size: 14.5px; color: var(--ink); height: 46px; padding: 0 14px; border-radius: 14px; border: 0; background: var(--surface-raised); box-shadow: inset 0 0 0 1px var(--line-strong); outline: none; }
.k-f textarea { height: auto; padding: 12px 14px; }
.k-f input:focus, .k-f select:focus, .k-f textarea:focus { box-shadow: inset 0 0 0 2px var(--purple); }
.k-opts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.k-opt { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 16px; box-shadow: inset 0 0 0 1px var(--line-strong); text-align: left; background: var(--surface-raised); }
.k-opt:hover { box-shadow: inset 0 0 0 1.5px var(--purple-300); }
.k-opt.is-on { box-shadow: inset 0 0 0 2px var(--purple); background: var(--purple-tint); }
.k-opt__i { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--surface-sunken); flex: none; color: var(--purple); }
.k-opt.is-on .k-opt__i { background: var(--purple); color: #fff; }
.k-opt b { display: block; font-weight: 500; }
.k-opt small { display: block; color: var(--ink-muted); font-size: 12.5px; margin-top: 2px; line-height: 1.4; }

/* fila de aprovação */
.k-fila { display: flex; flex-direction: column; gap: 14px; }
.k-fila.is-first { box-shadow: 0 0 0 2px var(--purple), 0 10px 30px rgba(119,12,205,.12); }
.k-fila__h { display: flex; gap: 14px; align-items: flex-start; }
.k-fila__h > div:nth-child(2) { flex: 1; min-width: 0; }
.k-fila__h b { font-weight: 500; font-size: 15px; }
.k-fila__h p { font-size: 13.5px; color: var(--ink-muted); margin-top: 3px; }
.k-fila__h p strong { color: var(--ink); font-weight: 500; }
.k-fila__sla { display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 99px; box-shadow: inset 0 0 0 1px var(--line); }
.k-fila__sla b { font-size: 13px; font-weight: 500; }
.k-fila__sla small { display: block; font-size: 11.5px; color: var(--ink-muted); }
.k-ring { --p: 40; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font: 500 9.5px var(--font-mono); background: radial-gradient(closest-side, var(--surface-raised) 74%, transparent 76%), conic-gradient(var(--purple) calc(var(--p) * 1%), var(--surface-strong) 0); }
.k-fila__n { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--surface-sunken); border-radius: 16px; padding: 14px 4px; }
.k-fila__n div { padding: 0 16px; } .k-fila__n div + div { border-left: 1px solid var(--line); }
.k-fila__n small { display: block; font: 500 10.5px var(--font-mono); text-transform: uppercase; letter-spacing: .8px; color: var(--ink-muted); }
.k-fila__n b { display: block; font-size: 22px; font-weight: 500; margin: 4px 0 2px; letter-spacing: -.4px; }
.k-fila__n span { font-size: 12px; color: var(--ink-muted); }
.k-fila__r { display: flex; align-items: center; gap: 10px; font-size: 13.5px; }
.k-fila__r .bs-i { color: var(--purple); flex: none; }
.k-fila__r em { font-style: normal; font-size: 11.5px; padding: 3px 10px; border-radius: 99px; background: var(--mint-soft); color: var(--mint-ink); white-space: nowrap; }
.k-fila__q { padding: 12px 16px; border-radius: 14px; background: var(--surface-sunken); font-size: 13.5px; color: var(--ink-muted); }
.k-fila__f { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

/* listas simples em cards */
.k-rows { display: flex; flex-direction: column; gap: 6px; }
.k-row { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 16px; background: var(--surface-sunken); text-align: left; width: 100%; }
a.k-row:hover, button.k-row:hover { background: var(--surface-strong); }
.k-row__ic { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; flex: none; background: var(--surface-raised); }
.k-row__ic.al { background: #fde0d4; color: #b23d0a; } .k-row__ic.wa { background: var(--orange-soft); color: var(--orange-ink); } .k-row__ic.pu { background: var(--purple-tint); color: var(--purple); } .k-row__ic.ok { background: var(--mint-soft); color: var(--mint-ink); }
.k-row__m { flex: 1; min-width: 0; }
.k-row__m b { display: block; font-weight: 500; font-size: 14px; }
.k-row__m small { display: block; font-size: 12.5px; color: var(--ink-muted); margin-top: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.k-row.is-late { box-shadow: inset 3px 0 0 var(--alert); } .k-row.is-warn { box-shadow: inset 3px 0 0 var(--orange); }

/* ajustes de componentes herdados */
.mv-drawer { background: var(--surface-raised); }
.mv-modal .bs-btn--ink, .mv-drawer .bs-btn--ink { background: var(--purple); color: #fff; }
.mv-av { font-size: 11px; }
body[data-mod="copiloto"] .k-page { padding-bottom: 0; }
