﻿/* FWNet — identidade visual (Manual de Identidade Visual FWNET)
   Azul #006380 · Verde #00CD61 · Cinza #666666 · Fonte Geom Graphic → Montserrat na web
   Tema: grafite do escudo do logo no menu, superfícies claras e o degradê azul → verde do logo como destaque. */
:root {
  --brand: #006380;
  --brand-700: #00536B;
  --brand-900: #0B2733;
  --brand-soft: #E6F2F5;
  --green: #00CD61;
  --green-soft: #DFF8EA;
  --green-ink: #00803E;          /* verde legível sobre fundo claro */
  --gray: #666666;
  --graphite: #0E1B23;           /* menu e login: o tom mais escuro do escudo */
  --graphite-2: #13262F;
  --gradient: linear-gradient(90deg, #006380 0%, #00CD61 100%);
  --gradient-diag: linear-gradient(135deg, #00718F 0%, #00A77A 60%, #00CD61 100%);
  --bg: #F4F6F8;
  --surface: #FFFFFF;
  --ink: #16242C;
  --muted: #5F6C75;
  --line: #E2E8EC;
  --line-soft: #EEF2F4;
  --warn: #8A5E00;
  --warn-bg: #FFF4D6;
  --danger: #B3372E;
  --danger-bg: #FDECEA;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(14, 27, 35, .04), 0 8px 24px -8px rgba(14, 27, 35, .10);
  --shadow-hover: 0 2px 4px rgba(14, 27, 35, .05), 0 14px 32px -10px rgba(14, 27, 35, .18);
  --focus: 0 0 0 3px rgba(0, 205, 97, .35);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  font-family: "Montserrat", "Segoe UI", Arial, sans-serif;
  background:
    radial-gradient(1100px 380px at 85% -140px, rgba(0, 205, 97, .07), transparent 70%),
    radial-gradient(900px 360px at 30% -160px, rgba(0, 99, 128, .07), transparent 70%),
    var(--bg);
  background-attachment: fixed;
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); }
h1, h2, h3 { margin: 0; font-weight: 700; letter-spacing: -.01em; }
[hidden] { display: none !important; }
:focus-visible { outline: none; box-shadow: var(--focus); border-radius: 6px; }

/* ---------- Estrutura ---------- */
.app { display: grid; grid-template-columns: 264px 1fr; min-height: 100vh; }

.sidebar {
  background:
    radial-gradient(420px 260px at 0% 0%, rgba(0, 99, 128, .45), transparent 70%),
    radial-gradient(360px 240px at 100% 100%, rgba(0, 205, 97, .14), transparent 70%),
    linear-gradient(180deg, var(--graphite-2) 0%, var(--graphite) 100%);
  border-right: 1px solid rgba(255, 255, 255, .06);
  color: #fff;
  display: flex;
  flex-direction: column;
  padding: 26px 18px 22px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.sidebar__logo { display: block; padding: 0 10px; }
.sidebar__logo img { width: 100%; max-width: 176px; display: block; }
.sidebar__product {
  padding: 8px 10px 22px; font-size: 11px; font-weight: 600; letter-spacing: .22em;
  text-transform: uppercase; color: rgba(255, 255, 255, .7);
}
.sidebar__new { margin: 0 4px 18px; }

.nav { display: flex; flex-direction: column; gap: 3px; }
.nav a {
  display: flex; align-items: center; gap: 12px;
  color: rgba(255, 255, 255, .72);
  text-decoration: none;
  padding: 10px 12px;
  border-radius: 10px;
  font-weight: 500;
  font-size: 14px;
  position: relative;
  transition: background .15s, color .15s;
}
.nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
.nav a.active {
  background: linear-gradient(90deg, rgba(0, 205, 97, .20) 0%, rgba(0, 205, 97, .04) 100%);
  color: #fff; font-weight: 600;
  box-shadow: inset 0 0 0 1px rgba(0, 205, 97, .18);
}
.nav a.active::before {
  content: ""; position: absolute; left: -6px; top: 9px; bottom: 9px; width: 3px; border-radius: 3px; background: var(--green);
}
.nav a.active svg { color: var(--green); }
.nav svg { width: 18px; height: 18px; flex: none; }

.sidebar__footer {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, .08);
  padding: 16px 8px 0;
  font-size: 13px;
}
.me { display: flex; gap: 10px; align-items: center; }
.me__name { font-weight: 600; overflow-wrap: anywhere; }
.me__profile { color: rgba(255, 255, 255, .65); font-size: 12px; overflow-wrap: anywhere; }
.sidebar__logout {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 14px; color: #8FF0BC; text-decoration: none; font-weight: 600;
}
.sidebar__logout:hover { color: #fff; }
.sidebar__logout-form { margin: 0; }
button.sidebar__logout { background: none; border: 0; padding: 0; font: inherit; font-size: 13px; cursor: pointer; }

.main { padding: 30px 40px 56px; min-width: 0; }
.page-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.page-head h1 { font-size: 28px; color: var(--brand-900); letter-spacing: -.02em; }
.page-head p { margin: 4px 0 0; color: var(--muted); }
.eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-ink); margin-bottom: 4px; }
.head-meta { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.head-actions { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }

/* Seletor de entidade ativa */
.scope-bar {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: flex-end;
  margin: -8px 0 18px; font-size: 13px; color: var(--muted);
}
.scope-bar > svg { width: 16px; height: 16px; color: var(--brand); }
.scope-bar label { font-weight: 600; }
.scope-bar__select { width: min(360px, 100%); }
.scope-bar .combo__control { min-height: 38px; background: #fff; box-shadow: var(--shadow); }
.scope-bar .combo__input { font-weight: 600; color: var(--brand-900); }

.demo-banner {
  background: var(--warn-bg); color: var(--warn); border: 1px solid #F1DC9B;
  border-radius: 10px; padding: 8px 14px; font-size: 13px; font-weight: 600; margin-bottom: 20px;
}

/* ---------- Componentes ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; font-size: 14px;
  padding: 10px 18px; border-radius: 999px; border: 1px solid transparent;
  cursor: pointer; text-decoration: none; transition: filter .15s, background .15s, border-color .15s, box-shadow .15s, transform .15s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
/* Degradê do logo, terminando num verde mais fechado para o texto branco continuar legível */
.btn--primary {
  background: linear-gradient(135deg, #006380 0%, #007F79 55%, #008A63 100%); color: #fff;
  box-shadow: 0 6px 16px -6px rgba(0, 99, 128, .55);
}
.btn--primary:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 10px 22px -8px rgba(0, 99, 128, .6); }
.btn--accent { background: var(--green); color: var(--graphite); box-shadow: 0 8px 20px -8px rgba(0, 205, 97, .7); }
.btn--accent:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn--ghost { background: #fff; color: var(--brand-900); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }
.btn--link { background: none; color: var(--muted); padding-inline: 6px; }
.btn--link:hover { color: var(--brand); }
.btn--sm { padding: 6px 14px; font-size: 13px; }
/* Texto só para leitores de tela */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.btn--lg { padding: 13px 26px; font-size: 15px; }

.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }

.badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; font-weight: 600;
  padding: 3px 10px; border-radius: 999px; white-space: nowrap;
  background: var(--brand-soft); color: var(--brand);
}
.badge::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.badge--new { background: var(--green-soft); color: var(--green-ink); }
.badge--progress { background: var(--brand-soft); color: var(--brand); }
.badge--warn { background: var(--warn-bg); color: var(--warn); }
.badge--solved { background: #EEF1F2; color: #3F5057; }
.badge--muted { background: #EEF1F2; color: var(--muted); }

.type { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; font-weight: 500; }
.type::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--brand); transform: rotate(45deg); }
.type--2::before { background: var(--green); border-radius: 50%; transform: none; }

.avatar {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: inline-grid; place-items: center;
  font-size: 12px; font-weight: 700; letter-spacing: .02em;
  background: linear-gradient(135deg, #E3F1F5 0%, #DDF7E9 100%); color: var(--brand);
}
.avatar--light { background: linear-gradient(135deg, #006380 0%, #00A86B 100%); color: #fff; }
.avatar--sm { width: 24px; height: 24px; font-size: 10px; }

.muted { color: var(--muted); font-weight: 400; }
.nowrap { white-space: nowrap; }

/* ---------- Abas de status ---------- */
/* Controle segmentado: trilho branco, aba ativa em grafite */
.tabs {
  display: inline-flex; gap: 2px; flex-wrap: wrap; margin-bottom: 16px; padding: 4px;
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); max-width: 100%;
}
.tabs__item {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px; border-radius: 10px;
  font-size: 13.5px; font-weight: 600; color: var(--muted); text-decoration: none;
  transition: background .15s, color .15s;
}
.tabs__item:hover { color: var(--brand-900); background: var(--line-soft); }
.tabs__item.active { background: var(--graphite); color: #fff; }
.tabs__count {
  font-size: 11.5px; font-weight: 700; font-variant-numeric: tabular-nums;
  background: var(--line-soft); color: var(--ink); border-radius: 999px; padding: 1px 8px;
}
.tabs__item.active .tabs__count { background: var(--green); color: var(--graphite); }
/* Aba "Cliente respondeu" com algum chamado: chama atenção */
.tabs__item--alert:not(.active) { color: var(--brand); }
.tabs__item--alert:not(.active) .tabs__count { background: var(--brand); color: #fff; }

/* Aviso no topo da lista: respostas de clientes aguardando a FWNet */
.replied-banner {
  display: flex; align-items: center; gap: 14px; margin-bottom: 16px; padding: 12px 18px;
  background: var(--brand-soft); border: 1px solid #C5E1E9; border-left: 5px solid var(--brand); border-radius: 12px;
  color: var(--brand-900); text-decoration: none; transition: box-shadow .15s;
}
.replied-banner[hidden] { display: none; }
.replied-banner:hover { box-shadow: var(--shadow-hover); }
.replied-banner__icon { flex: none; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); }
.replied-banner__icon svg { width: 18px; height: 18px; }
.replied-banner__text { flex: 1; min-width: 0; font-size: 14px; }
.replied-banner__mine { color: var(--green-ink); }
.replied-banner__cta { flex: none; font-weight: 700; color: var(--brand); font-size: 13.5px; }

/* ---------- Lista ---------- */
.toolbar { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 14px 16px; border-bottom: 1px solid var(--line-soft); }
.toolbar__search { position: relative; flex: 1 1 280px; }
.toolbar__search svg { position: absolute; left: 13px; top: 50%; width: 16px; height: 16px; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.toolbar__search .input { padding-left: 38px; }

.input, .select {
  font: inherit; font-size: 14px; color: var(--ink);
  width: 100%; padding: 10px 14px;
  border: 1px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus { outline: none; border-color: var(--brand); box-shadow: var(--focus); }
.select { width: auto; max-width: 100%; cursor: pointer; }
.select--entity { max-width: 280px; }
.select--full { width: 100%; }
textarea.input { resize: vertical; min-height: 96px; line-height: 1.55; }
.input--title { font-size: 16px; font-weight: 600; }

.table-wrap { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data th {
  text-align: left; font-size: 11px; text-transform: uppercase; letter-spacing: .08em;
  color: var(--muted); font-weight: 700; padding: 11px 16px; background: #F9FBFC; border-bottom: 1px solid var(--line-soft);
  white-space: nowrap;
}
table.data td { padding: 13px 16px; border-bottom: 1px solid var(--line-soft); vertical-align: top; }
table.data tr:last-child td { border-bottom: 0; }
table.data tbody tr[data-href] { cursor: pointer; }
table.data tbody tr:hover { background: #F7FBFC; }
.ticket-id { font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticket-title { font-weight: 600; color: var(--ink); text-decoration: none; }
.ticket-title:hover { color: var(--brand); text-decoration: underline; }
.cell-sub { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
.cell-sub .sep { margin: 0 6px; }
.count { color: var(--muted); font-size: 13px; }
.empty { padding: 48px 18px; text-align: center; color: var(--muted); display: grid; justify-items: center; gap: 10px; }
.empty svg { width: 36px; height: 36px; color: #B7C5CA; }
.empty .btn svg { width: 16px; height: 16px; color: inherit; }
.pager { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 12px 16px; border-top: 1px solid var(--line); }
.pager__nav { display: flex; gap: 10px; align-items: center; }

/* ---------- Formulário ---------- */
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.form { padding: 26px 28px; display: grid; gap: 20px; position: relative; overflow: visible; }
.form::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; border-radius: var(--radius) var(--radius) 0 0; background: var(--gradient); }
.field { min-width: 0; }
.field > label, fieldset.field > legend { display: block; font-weight: 600; font-size: 13px; margin-bottom: 6px; color: var(--brand-900); padding: 0; }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 5px; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field--half { max-width: calc(50% - 9px); }
.field-validation-error, .validation-summary-errors { color: var(--danger); font-size: 12.5px; display: block; margin-top: 4px; }
/* Campo que precisa de atenção (erro no envio, ou categoria apagada pela troca de tipo): borda e texto em destaque. */
.field--attention .field-validation-error { font-size: 13.5px; font-weight: 600; }
.field--attention .input, .field--attention .select, .field--attention .combo__control { border-color: var(--danger); box-shadow: 0 0 0 3px var(--danger-bg); }
.field-note { margin-top: 6px; padding: 8px 12px; border-radius: 8px; font-size: 13px; line-height: 1.45; }
.field-note--warn { background: var(--warn-bg); color: var(--warn); font-weight: 600; }
.validation-summary-errors ul { margin: 0; padding-left: 18px; }
.validation-summary-valid { display: none; }
.form-actions { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }

.choice { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.choice__item { position: relative; cursor: pointer; }
.choice__item input { position: absolute; opacity: 0; pointer-events: none; }
.choice__item span {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 10px;
  font-weight: 600; font-size: 14px; color: var(--muted); background: #fff;
  transition: all .15s;
}
.choice__item span svg { width: 16px; height: 16px; }
.choice__item:hover span { border-color: var(--brand); color: var(--brand); }
.choice__item input:checked + span { background: var(--brand); border-color: var(--brand); color: #fff; }
.choice__item input:focus-visible + span { box-shadow: var(--focus); }

/* Visão de cliente: escolha do tipo em cartões grandes */
.form-grid--client { grid-template-columns: minmax(0, 760px) 280px; }
.choice--big .choice__item span { flex-direction: column; gap: 2px; padding: 16px 14px; text-align: center; }
.choice--big .choice__item span svg { width: 22px; height: 22px; margin-bottom: 4px; }
.choice--big .choice__item span strong { font-size: 14.5px; }
.choice--big .choice__item span small { font-size: 12px; font-weight: 500; opacity: .8; }

.aside {
  padding: 22px 24px; color: #fff; border: 0; position: sticky; top: 24px; overflow: hidden;
  background:
    radial-gradient(260px 180px at 100% 0%, rgba(0, 205, 97, .22), transparent 70%),
    radial-gradient(260px 200px at 0% 100%, rgba(0, 99, 128, .5), transparent 70%),
    var(--graphite);
}
.aside h3 { color: #7CF0B3; font-size: 15px; margin-bottom: 10px; }
.aside li { color: rgba(255, 255, 255, .86); font-size: 13.5px; margin-bottom: 8px; }
.aside strong { color: #fff; }
.aside ul { padding-left: 18px; margin: 0; }

/* Busca em listas (combobox): o <select> original continua no formulário, escondido */
.combo { position: relative; }
.combo__native { position: absolute !important; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.combo__control {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
  min-height: 42px; padding: 5px 36px 5px 8px; background: #fff; cursor: text;
  border: 1px solid var(--line); border-radius: 10px; position: relative;
  transition: border-color .15s, box-shadow .15s;
}
.combo__control::after {
  content: ""; position: absolute; right: 14px; top: 50%; width: 7px; height: 7px; margin-top: -5px;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted); transform: rotate(45deg);
}
.combo--open .combo__control, .combo__control:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
.combo__input { flex: 1 1 120px; min-width: 80px; border: 0; outline: 0; font: inherit; font-size: 14px; padding: 5px 6px; background: transparent; color: var(--ink); }
.combo__input:focus-visible { box-shadow: none; }
.combo__chip {
  display: inline-flex; align-items: center; gap: 4px; max-width: 100%;
  background: var(--brand-soft); color: var(--brand); border-radius: 999px;
  font-size: 13px; font-weight: 600; padding: 3px 4px 3px 10px;
}
.combo__chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.combo__chip button {
  border: 0; background: transparent; color: inherit; cursor: pointer; font-size: 16px; line-height: 1;
  width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; padding: 0;
}
.combo__chip button:hover { background: rgba(0, 99, 128, .15); }
.combo__list {
  position: absolute; z-index: 20; left: 0; right: 0; top: calc(100% + 6px);
  max-height: 290px; overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0, 61, 79, .16);
}
.combo__option { padding: 8px 10px; border-radius: 8px; cursor: pointer; font-size: 14px; display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
/* Nome e login lado a lado; se não couberem (caixa estreita, como "Outro técnico…" ao atribuir), o login desce para a
   linha de baixo. Sem isso, um login longo (ex.: acabamento.farialima) espremia o nome em uma letra por linha. */
.combo__option { flex-wrap: wrap; row-gap: 0; }
.combo__option > span { flex: 1 1 auto; min-width: 0; overflow-wrap: anywhere; }
.combo__option small {
  color: var(--muted); font-size: 12px; white-space: nowrap;
  flex: 0 1 auto; min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis;
}
.combo__option[aria-selected="true"] { color: var(--brand); font-weight: 600; }
.combo__option[aria-selected="true"]::after { content: "✓"; color: var(--green-ink); font-weight: 700; margin-left: auto; }
.combo__option.is-active { background: var(--brand-soft); }
.combo__empty { padding: 10px; color: var(--muted); font-size: 13px; }
.combo__more { padding: 8px 10px; color: var(--muted); font-size: 12px; border-top: 1px solid var(--line-soft); }
.combo mark { background: #C8F5DC; color: inherit; border-radius: 3px; padding: 0 1px; }

/* ---------- Menu com várias áreas ---------- */
.nav { flex: 1 1 auto; min-height: 0; overflow-y: auto; margin: 0 -6px; padding: 0 6px; scrollbar-width: thin; }
.nav__group {
  margin: 16px 12px 4px; font-size: 10.5px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: #8FF0BC;
}
.nav__group:empty { margin: 8px 0; border-top: 1px solid rgba(255, 255, 255, .12); }
.sidebar__footer { flex: none; }

/* Seções recolhíveis do menu (Ativos, Administração) */
.nav__section > summary {
  display: flex; align-items: center; gap: 12px; list-style: none; cursor: pointer;
  color: rgba(255, 255, 255, .82); padding: 10px 12px; border-radius: 10px;
  font-weight: 500; font-size: 14px; transition: background .15s, color .15s; user-select: none;
}
.nav__section > summary::-webkit-details-marker { display: none; }
.nav__section > summary:hover { background: rgba(255, 255, 255, .1); color: #fff; }
.nav__section > summary.has-active { color: #fff; font-weight: 600; }
.nav__section > summary svg { width: 18px; height: 18px; flex: none; }
.nav__chevron { margin-left: auto; width: 14px !important; height: 14px !important; opacity: .7; transition: transform .2s; }
.nav__section[open] > summary .nav__chevron { transform: rotate(90deg); }
.nav__section[open] { padding-bottom: 4px; }
.nav a.nav__sub { padding: 8px 12px 8px 22px; font-size: 13.5px; margin-left: 14px; border-left: 1px solid rgba(255, 255, 255, .1); border-radius: 0 10px 10px 0; }
.nav a.nav__sub.active::before { left: -2px; }
.nav a.nav__sub svg { width: 16px; height: 16px; }

/* ---------- Ativos e base de conhecimento ---------- */
/* Editor de artigos */
.editor { border: 1px solid var(--line); border-radius: 12px; background: #fff; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.editor:focus-within { border-color: var(--brand); box-shadow: var(--focus); }
.editor__toolbar { display: flex; flex-wrap: wrap; gap: 2px; padding: 6px; border-bottom: 1px solid var(--line-soft); background: #F9FBFC; }
.editor__toolbar button {
  min-width: 34px; height: 32px; padding: 0 8px; border: 0; border-radius: 8px; background: transparent;
  font: inherit; font-size: 14px; font-weight: 600; color: var(--brand-900); cursor: pointer;
}
.editor__toolbar button:hover { background: var(--brand-soft); }
.editor__sep { width: 1px; margin: 4px 4px; background: var(--line); }
.editor__area { min-height: 280px; max-height: 60vh; overflow-y: auto; padding: 16px 18px; outline: none; }
.editor__area:empty::before { content: attr(data-placeholder); color: var(--muted); }

.is-hidden { display: none !important; }

/* Caixa de resposta do técnico: abas Acompanhamento / Solução / Pendência */
.composer { border-top: 1px solid var(--line); padding-top: 16px; }
.composer .reply { border-top: 0; padding-top: 0; }
.composer__tabs { display: inline-flex; gap: 2px; padding: 3px; margin-bottom: 12px; background: var(--line-soft); border-radius: 10px; }
.composer__tabs button {
  border: 0; background: transparent; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--muted);
  padding: 7px 14px; border-radius: 8px; cursor: pointer;
}
.composer__tabs button:hover { color: var(--brand-900); }
.composer__tabs button[aria-selected="true"] { background: #fff; color: var(--brand-900); box-shadow: var(--shadow); }
.composer__tabs button[data-tab="solucao"][aria-selected="true"] { color: var(--green-ink); }
.composer__tabs button[data-tab="pendencia"][aria-selected="true"] { color: var(--warn); }
.reply .hint { font-size: 12.5px; color: var(--muted); }
.reply--solution textarea:focus { border-color: var(--green-ink); }
.reply--pending textarea:focus { border-color: #C98A00; box-shadow: 0 0 0 3px rgba(201, 138, 0, .25); }
.btn--warn { background: #C98A00; color: #fff; box-shadow: 0 6px 16px -6px rgba(201, 138, 0, .6); }
.btn--warn:hover { filter: brightness(1.06); }
.btn--danger { background: var(--danger); color: #fff; box-shadow: 0 6px 16px -6px rgba(179, 55, 46, .6); }
.btn--danger:hover { filter: brightness(1.08); }

/* Caixa de texto que cresce (site.js) e imagens coladas */
textarea[data-autogrow] { resize: vertical; overflow-y: hidden; transition: height .08s ease-out; }
.pasted { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pasted[hidden] { display: none; }
.pasted li { display: flex; align-items: center; gap: 8px; padding: 4px 6px 4px 4px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: 13px; }
.pasted img { width: 56px; height: 40px; object-fit: cover; border-radius: 6px; background: var(--line-soft); }
.inline-images { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.inline-images a { display: block; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; }
.inline-images img { display: block; max-width: min(100%, 420px); max-height: 280px; object-fit: contain; }

/* Seleção em lote na lista de chamados */
table.data .select-cell { width: 44px; padding-right: 0; }
table.data .select-cell label { display: grid; place-items: center; margin: -13px -8px -13px -16px; padding: 13px 8px 13px 16px; cursor: pointer; }
table.data .select-cell input { width: 17px; height: 17px; margin: 0; accent-color: var(--brand); cursor: pointer; }
table.data th.select-cell input { display: block; }
table.data tbody tr.selected { background: var(--brand-soft); }
.bulkbar {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  padding: 10px 16px; margin: 0 0 12px; border-radius: 12px;
  background: var(--brand-900); color: #fff; font-size: 14px;
}
.bulkbar[hidden] { display: none; }
.bulkbar strong { font-size: 15px; }
.bulkbar .btn--danger { margin-left: auto; }
.bulkbar .btn--link { color: rgba(255, 255, 255, .75); }
.bulkbar .btn--link:hover { color: #fff; }

.timeline__body--solution { background: var(--green-soft); border-color: #A8EBC6; }
.timeline__body--pending { background: var(--warn-bg); border-color: #F1DC9B; }
.pending-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  margin-bottom: 16px; padding: 10px 14px; border-radius: 10px; background: var(--warn-bg); color: var(--warn); font-size: 13.5px;
}

/* Aguardando o cliente: destaque no topo do chamado (visão do cliente) */
.waiting {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 18px 20px;
  background: var(--warn-bg); border: 1px solid #F1DC9B; border-left: 5px solid #F2B705; border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.waiting__icon { flex: none; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #FFE7A3; color: var(--warn); }
.waiting__icon svg { width: 22px; height: 22px; }
.waiting__body { flex: 1; min-width: 0; }
.waiting__title { font-weight: 700; color: var(--brand-900); font-size: 16px; }
.waiting__request { margin-top: 6px; color: var(--ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.waiting__deadline { margin-top: 6px; font-size: 13px; color: var(--warn); }
.waiting .btn { flex: none; }
@media (max-width: 640px) { .waiting { flex-direction: column; align-items: stretch; } .waiting__icon { display: none; } }

/* O cliente respondeu: a vez é da FWNet (lista e tela do chamado). Atribuído = destaque. */
.badge--reply { background: var(--brand-soft); color: var(--brand); margin-left: 4px; }
table.data tbody tr.row--reply td:first-child { box-shadow: inset 3px 0 0 var(--brand); }
table.data tbody tr.row--mine { background: #E9F8F0; }
table.data tbody tr.row--mine:hover { background: #DDF4E8; }
table.data tbody tr.row--mine td:first-child { box-shadow: inset 4px 0 0 var(--green); }
tr.row--mine .badge--reply { background: var(--green); color: #fff; }
.reply-alert {
  display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding: 16px 20px;
  background: var(--brand-soft); border: 1px solid #C5E1E9; border-left: 5px solid var(--brand); border-radius: var(--radius);
}
.reply-alert--mine { background: var(--green-soft); border-color: #A8EBC6; border-left-color: var(--green); box-shadow: var(--shadow); }
.reply-alert__icon { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--brand); }
.reply-alert--mine .reply-alert__icon { color: var(--green-ink); }
.reply-alert__icon svg { width: 21px; height: 21px; }
.reply-alert__body { flex: 1; min-width: 0; }
.reply-alert__title { font-weight: 700; color: var(--brand-900); }
.reply-alert__text { font-size: 13px; color: var(--muted); margin-top: 2px; }
@media (max-width: 640px) { .reply-alert { flex-direction: column; align-items: stretch; } .reply-alert__icon { display: none; } }

/* Aba Pendência: tipo (motivo do GLPI) */
.pending-reason { margin-bottom: 10px; max-width: 360px; }

/* Lembrete automático na linha do tempo */
.timeline__item--reminder .timeline__dot { background: #F2B705; }
.timeline__item--reminder .timeline__meta { display: block; }
.timeline__note { margin-top: 2px; font-size: 12.5px; color: var(--muted); white-space: pre-wrap; }

/* Atribuição na lateral do chamado */
.person .inline-form { display: inline; }
.icon-btn {
  border: 0; background: transparent; color: var(--muted); cursor: pointer; font-size: 16px; line-height: 1;
  width: 22px; height: 22px; border-radius: 50%; display: inline-grid; place-items: center; padding: 0; margin-left: 2px;
}
.icon-btn:hover { background: var(--danger-bg); color: var(--danger); }
.assign { display: grid; gap: 8px; width: 100%; margin-top: 4px; }
.assign form { margin: 0; }
.assign__me { width: 100%; }
.assign__other { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; }
/* Troca manual de status, embaixo do status atual */
.status-change { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 6px; align-items: center; width: 100%; margin-top: 8px; }
.status-change .select { min-height: 36px; padding-top: 6px; padding-bottom: 6px; font-size: 13.5px; }
.assign__other .combo__control { min-height: 36px; }

/* Anexos */
/* ".field > label.dropzone": vence a regra geral de rótulo de campo (.field > label). */
.field > label.dropzone, .dropzone {
  position: relative; display: grid; justify-items: center; gap: 4px; text-align: center; cursor: pointer;
  margin: 0; font-weight: 400; font-size: 14px; color: var(--ink);
  padding: 22px 16px; border: 1.5px dashed #C9D5DA; border-radius: 12px; background: #FBFCFD;
  transition: border-color .15s, background .15s;
}
.dropzone:hover, .dropzone.is-over { border-color: var(--brand); background: var(--brand-soft); }
.dropzone:focus-within { box-shadow: var(--focus); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone svg { width: 22px; height: 22px; color: var(--brand); }
.dropzone__text { font-size: 14px; color: var(--ink); }
.dropzone__text strong { color: var(--brand); }
.dropzone__hint { font-size: 12px; color: var(--muted); }
.dropzone__files { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; }
.dropzone__files li { font-size: 13px; padding: 6px 10px; border-radius: 8px; background: var(--brand-soft); color: var(--brand-900); overflow-wrap: anywhere; }
.dropzone__files li.is-error { background: var(--danger-bg); color: var(--danger); }
/* Anexos na caixa de resposta: uma linha só, para não competir com o texto. */
.reply__files { margin-top: 8px; }
.dropzone--compact { grid-auto-flow: column; justify-content: start; align-items: center; gap: 8px; padding: 9px 14px; text-align: left; }
.dropzone--compact svg { width: 18px; height: 18px; }
@media (max-width: 560px) { .dropzone--compact .dropzone__hint { display: none; } }
.attachments--timeline { margin-top: 10px; }

/* Acesso remoto */
fieldset.remote { border: 1px solid var(--line-soft); border-radius: 12px; padding: 14px 16px; background: #FBFCFD; }
fieldset.remote > legend { padding: 0 6px; }
.choice--inline { display: inline-grid; grid-template-columns: auto auto; }
.choice--inline .choice__item span { padding: 8px 18px; }
.remote__details { display: grid; gap: 10px; margin-top: 14px; }

/* Anexos e acesso remoto na tela do chamado */
.attachments { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.attachments a { display: inline-flex; gap: 8px; align-items: center; color: var(--brand); font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.attachments a:hover { text-decoration: underline; }
.attachments svg { width: 16px; height: 16px; flex: none; }
.kb-attachments { margin-top: 16px; }
/* Edição de artigo: anexo atual + "remover" na mesma linha */
.attachments--edit { margin-bottom: 10px; }
.attachments--edit li { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 10px; }
.attachments__remove { font-size: 12.5px; white-space: nowrap; }
.remote-pill { display: inline-flex; gap: 8px; align-items: center; padding: 6px 12px; border-radius: 10px; background: var(--green-soft); color: #005C2C; font-weight: 600; }

.hint--box { margin-top: 0 !important; padding: 10px 12px; border: 1px dashed var(--line); border-radius: 10px; background: #FBFCFD; }
.fieldset-box { border: 1px solid var(--line-soft) !important; border-radius: 12px; padding: 14px 16px 16px !important; display: grid; gap: 12px; background: #FBFCFD; }
.fieldset-box > legend { padding: 0 6px !important; margin: 0; }

.field-row--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.mono-input { font-family: ui-monospace, Consolas, monospace; letter-spacing: .02em; }
.mono-cell { font-family: ui-monospace, Consolas, monospace; font-size: 12.5px; color: var(--muted); }
.link-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.link-list a {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 10px 12px; border-radius: 10px;
  text-decoration: none; color: var(--ink); border: 1px solid var(--line-soft);
}
.link-list a:hover { border-color: var(--brand); background: #F7FBFC; }
.link-list__title { flex: 1 1 200px; font-weight: 600; min-width: 0; }
.facts a.person { color: var(--brand); text-decoration: none; font-weight: 600; }
.facts a.person:hover { text-decoration: underline; }

.articles { list-style: none; margin: 0; padding: 0; }
.articles li + li { border-top: 1px solid var(--line-soft); }
.articles a { display: block; padding: 16px 18px; text-decoration: none; color: var(--ink); }
.articles a:hover { background: #F7FBFC; }
.articles__head { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.articles__head strong { color: var(--brand-900); font-size: 15px; }
.articles p { margin: 4px 0 6px; color: var(--muted); font-size: 13.5px; }

/* Base de conhecimento: categorias (clientes) em cartões */
.section-title { font-size: 15px; color: var(--brand-900); margin: 22px 0 12px; }
.toolbar--standalone { border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.kb-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 12px; }
.kb-cat { display: flex; gap: 12px; align-items: center; padding: 14px 16px; text-decoration: none; color: var(--ink); transition: border-color .15s, transform .15s; }
.kb-cat:hover { border-color: var(--brand); transform: translateY(-1px); }
.kb-cat__icon {
  width: 40px; height: 40px; border-radius: 12px; flex: none; display: grid; place-items: center;
  background: var(--gradient-diag); color: #fff; font-weight: 700; font-size: 13px;
  box-shadow: 0 6px 14px -6px rgba(0, 120, 110, .6);
}
.kb-cat:hover { box-shadow: var(--shadow-hover); }
.kb-cat--muted .kb-cat__icon { background: #E6EDEF; color: var(--muted); }
.kb-cat__body { display: grid; min-width: 0; }
.kb-cat__body strong { color: var(--brand-900); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kb-cat__body .muted { font-size: 12.5px; }
.crumb { color: inherit; text-decoration: none; }
.crumb:hover { text-decoration: underline; }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 600;
  padding: 4px 10px; border-radius: 999px; background: var(--brand-soft); color: var(--brand); text-decoration: none;
}
a.chip:hover { background: #CFE6EE; }
.chip--filter a { color: inherit; text-decoration: none; font-size: 15px; line-height: 1; }

/* Entidades em árvore */
.tree { list-style: none; margin: 0; padding: 6px 0; }
.tree li a {
  display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; text-decoration: none; color: var(--ink);
  padding: 9px 16px 9px calc(16px + var(--depth, 0) * 22px);
}
.tree li a::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--green); flex: none; align-self: center; }
.tree li a:hover { background: #F7FBFC; }
.tree__name { font-weight: 600; }

/* Ficha de usuário */
.person--big { gap: 16px; }
.avatar--lg { width: 56px; height: 56px; font-size: 18px; }

.article { padding: 28px 32px; line-height: 1.65; overflow-wrap: anywhere; }
.article h1, .article h2, .article h3, .article h4 { color: var(--brand-900); margin: 1.2em 0 .5em; }
.article > :first-child { margin-top: 0; }
.article img { max-width: 100%; height: auto; border-radius: 8px; border: 1px solid var(--line-soft); margin: 6px 6px 6px 0; vertical-align: top; }
.article a:has(> img) { display: inline-block; text-decoration: none; }
.article table { border-collapse: collapse; width: 100%; margin: 1em 0; display: block; overflow-x: auto; }
.article th, .article td { border: 1px solid var(--line); padding: 6px 10px; text-align: left; }
.article pre, .article code { font-family: ui-monospace, Consolas, monospace; font-size: 13px; background: #F3F6F7; border-radius: 6px; }
.article pre { padding: 12px 14px; overflow-x: auto; }
.article code { padding: 1px 5px; }
.article blockquote { margin: 1em 0; padding: 4px 16px; border-left: 4px solid var(--green); color: var(--muted); }

/* ---------- Detalhe ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; align-items: start; }
.detail-main { display: grid; gap: 20px; min-width: 0; }
.panel { padding: 22px 26px; }
.panel__title { font-size: 15px; color: var(--brand-900); margin-bottom: 14px; }
.rich { white-space: pre-wrap; overflow-wrap: anywhere; }

.timeline { list-style: none; margin: 0 0 20px; padding: 0; display: grid; gap: 16px; position: relative; }
.timeline::before { content: ""; position: absolute; left: 16px; top: 8px; bottom: 8px; width: 2px; background: var(--line-soft); }
.timeline__item { display: flex; gap: 12px; position: relative; }
.timeline__item .avatar { position: relative; z-index: 1; box-shadow: 0 0 0 4px #fff; }
.timeline__item--event { align-items: center; font-size: 13px; color: var(--muted); }
.timeline__dot { width: 12px; height: 12px; margin: 0 11px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px #fff; position: relative; z-index: 1; flex: none; }
.timeline__body { flex: 1; min-width: 0; background: #F7FAFB; border: 1px solid var(--line-soft); border-radius: 12px; padding: 12px 16px; }
.timeline__body--private { background: #FFFBEF; border-color: #F4E3B0; }
.timeline__meta { font-size: 13px; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-bottom: 4px; }
.timeline__meta strong { color: var(--brand-900); }

.reply { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 10px; }
.reply__label { font-weight: 600; font-size: 13px; color: var(--brand-900); }
.reply__actions { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.check-inline { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); cursor: pointer; }
.check-inline input { accent-color: var(--brand); width: 16px; height: 16px; }

.facts { padding: 6px 22px; position: sticky; top: 24px; overflow: hidden; }
.facts::before { content: ""; display: block; height: 4px; margin: -6px -22px 6px; background: var(--gradient); }
.facts dl { margin: 0; }
.facts dl > div { padding: 13px 0; border-bottom: 1px solid var(--line-soft); }
.facts dl > div:last-child { border-bottom: 0; }
.facts dt { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.facts dd { margin: 0; font-weight: 500; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; overflow-wrap: anywhere; }
.person { display: inline-flex; align-items: center; gap: 8px; }

.alert { padding: 13px 16px; border-radius: 12px; margin-bottom: 18px; font-size: 14px; display: flex; gap: 10px; align-items: flex-start; }
.alert--success { background: var(--green-soft); color: #005C2C; border: 1px solid #A8EBC6; }
.alert--error { background: var(--danger-bg); color: var(--danger); border: 1px solid #F3C4BF; }
.alert--info { background: var(--brand-soft); color: var(--brand-900); border: 1px solid #BFDCE5; }
.alert svg { width: 18px; height: 18px; flex: none; margin-top: 1px; }

.back { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); text-decoration: none; font-size: 13px; font-weight: 600; margin-bottom: 10px; }
.back:hover { color: var(--brand); }

/* ---------- Login: mesmo padrão da entrada do docs.fwnet.com.br ---------- */
.login { min-height: 100vh; display: grid; grid-template-columns: 1.1fr 1fr; background: #fff; }
.login-art {
  position: relative; overflow: hidden; padding: 48px; color: #fff;
  background: linear-gradient(150deg, #00303D 0%, #004D62 50%, #006380 100%);
  display: flex; flex-direction: column; justify-content: flex-end;
}
.login-art svg { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 55%; }
.login-art .claim { position: relative; z-index: 1; }
.login-art p { color: #BFE0E8; font-size: 17px; line-height: 1.5; max-width: 440px; margin: 14px 0 0; }
.wordmark { font-size: 44px; line-height: 1; letter-spacing: .02em; color: #fff; }
.wordmark b { font-weight: 800; }
.wordmark span { font-weight: 300; }
.login-form { display: grid; place-items: center; padding: 40px 24px; }
.login-form__box { width: min(360px, 100%); }
.login-form__box > img { width: 230px; max-width: 100%; display: block; margin-bottom: 30px; }
.login-form h2 { font-size: 22px; font-weight: 600; letter-spacing: -.01em; margin: 0 0 4px; color: #1C2830; }
.login-form .muted { color: #7B8891; font-size: 14px; }
.login-alert { margin: 16px 0 0; }
.public__form { display: grid; gap: 14px; margin-top: 14px; }
.public__form .field > label { color: #4D5B64; font-weight: 600; font-size: 13px; margin-bottom: 5px; }
.public__form .input { height: 38px; border-radius: 9px; border-color: #CDD6DC; }
.btn--login {
  width: 100%; height: 42px; justify-content: center; margin-top: 8px; border-radius: 9px;
  background: var(--brand); color: #fff; font-weight: 500; font-size: 14.5px;
}
.btn--login:hover { background: var(--brand-700); }
.login-form .muted + .btn--login { margin-top: 22px; }
.public__hint { margin-top: 18px; padding: 9px 12px; border-radius: 8px; background: #E1F0F4; color: #4D5B64; font-size: 13px; }
.public__hint code { background: #fff; padding: 1px 6px; border-radius: 5px; }
@media (max-width: 860px) {
  .login { grid-template-columns: 1fr; }
  .login-art { display: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1180px) {
  .form-grid, .form-grid--client, .detail-grid { grid-template-columns: 1fr; }
  .aside, .facts { position: static; }
}
@media (max-width: 960px) {
  .app { grid-template-columns: 1fr; }
  .app > * { min-width: 0; }
  .sidebar { position: static; height: auto; flex-direction: row; flex-wrap: wrap; align-items: center; gap: 10px; padding: 12px 16px; }
  .sidebar__logo { padding: 0; }
  .sidebar__logo img { width: 110px; }
  .sidebar__product { display: none; }
  .sidebar__new { order: 2; margin: 0 0 0 auto; padding: 8px 14px; }
  .nav { flex-direction: row; order: 4; width: 100%; overflow-x: auto; overflow-y: visible; gap: 4px; flex: none; margin: 0; padding: 0; }
  .nav__group { display: none; }
  /* No celular o menu é uma faixa horizontal: as seções abrem e só os itens aparecem */
  .nav__section { display: contents; }
  .nav__section > summary { display: none; }
  .nav a.nav__sub { margin: 0; border: 0; border-radius: 10px; padding: 7px 12px; }
  .nav a { padding: 7px 12px; white-space: nowrap; }
  .sidebar__footer { order: 3; margin: 0; border: 0; padding: 0; }
  .me { display: none; }
  .sidebar__logout { margin: 0; }
  .main { padding: 22px 16px 40px; }
  .page-head .btn--primary { display: none; }
}
@media (max-width: 620px) {
  .field-row { grid-template-columns: 1fr; }
  .field--half { max-width: none; }
  .form { padding: 22px 18px; }
  .panel { padding: 18px; }
  .toolbar .select { flex: 1 1 100%; max-width: none; }
  .tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; }
  .tabs__item { white-space: nowrap; }
  table.data th:not(.keep), table.data td:not(.keep) { display: none; }
}
