/* =========================================================================
   PathoQuality — Design Tokens & Global Styles
   Identidade: governança sóbria, cinza-azulado, status discretos
   ========================================================================= */

:root {
  /* Neutrals — Slate cinza-azulado */
  --ink-950: #0B1220;
  --ink-900: #111827;
  --ink-800: #1F2937;
  --ink-700: #374151;
  --ink-600: #4B5563;
  --ink-500: #6B7280;
  --ink-400: #9CA3AF;
  --ink-300: #D1D5DB;
  --ink-200: #E5E7EB;
  --ink-150: #ECEEF2;
  --ink-100: #F3F4F6;
  --ink-50:  #F8FAFC;
  --paper:   #FFFFFF;

  /* Primary — institutional blue */
  --brand-900: #14233D;
  --brand-800: #1B3052;
  --brand-700: #243E68;
  --brand-600: #2F4F80;
  --brand-500: #3F62A0;
  --brand-400: #6B86B8;
  --brand-300: #A0B4D0;
  --brand-100: #DFE6F0;
  --brand-50:  #EEF2F8;

  /* Status — sober, não-berrante */
  --super-700: #1E5A3F;
  --super-500: #2D6A4D;
  --super-50:  #E0EDE5;

  --ok-700: #2F5D44;
  --ok-500: #4E8068;
  --ok-50:  #ECF3EF;

  --warn-700: #8A5A1F;
  --warn-500: #B07A2D;
  --warn-50:  #FAF1E0;

  --bad-700: #7A3636;
  --bad-500: #944141;
  --bad-50:  #F6E9E9;

  --info-500: #496B95;
  --info-50:  #EBF0F7;

  --neutral-status: #6B7280;

  /* Modo Fiscalização (monocromático) */
  --fisc-bg:   #FBFBFC;
  --fisc-ink:  #111418;
  --fisc-line: #DCDEE2;
  --fisc-soft: #6B6F76;

  /* Modo Jornada (mais arejado) */
  --jor-bg:    #F4F7F4;
  --jor-accent: #2D6A4D;

  /* Radii / shadows / spacing */
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 999px;

  --shadow-xs: 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.06), 0 1px 1px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.08), 0 2px 4px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.14);

  /* Typography */
  --font-display: "Outfit", "Inter", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, "Courier New", monospace;

  /* Sizes */
  --t-xs: 11px;
  --t-sm: 12px;
  --t-base: 13px;
  --t-md: 14px;
  --t-lg: 16px;
  --t-xl: 18px;
  --t-2xl: 22px;
  --t-3xl: 28px;
  --t-4xl: 36px;
  --t-5xl: 48px;

  /* Tons intermediários usados pelas telas (derivados da paleta acima) */
  --brand-200: color-mix(in srgb, var(--brand-300) 55%, var(--brand-100));
  --ok-200: color-mix(in srgb, var(--ok-500) 30%, #fff);
  --ok-300: color-mix(in srgb, var(--ok-500) 50%, #fff);
  --ok-400: color-mix(in srgb, var(--ok-500) 75%, #fff);
  --ok-600: color-mix(in srgb, var(--ok-500) 50%, var(--ok-700));
  --warn-200: color-mix(in srgb, var(--warn-500) 30%, #fff);
  --warn-300: color-mix(in srgb, var(--warn-500) 50%, #fff);
  --warn-400: color-mix(in srgb, var(--warn-500) 75%, #fff);
  --warn-600: color-mix(in srgb, var(--warn-500) 50%, var(--warn-700));
  --bad-200: color-mix(in srgb, var(--bad-500) 30%, #fff);
  --bad-300: color-mix(in srgb, var(--bad-500) 50%, #fff);
  --info-200: color-mix(in srgb, var(--info-500) 30%, #fff);
  --info-700: color-mix(in srgb, var(--info-500) 70%, #000);
  --danger-50: var(--bad-50);
  --danger-700: var(--bad-700);
}

/* =========================================================================
   Reset + base
   ========================================================================= */
* { box-sizing: border-box; }
html, body, #app { height: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-md);
  font-feature-settings: "cv11", "ss01";
  color: var(--ink-900);
  background: var(--ink-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Override Vuetify default font */
.v-application {
  font-family: var(--font-body) !important;
}
.v-application .text-h1, .v-application .text-h2, .v-application .text-h3,
.v-application .text-h4, .v-application .text-h5, .v-application .text-h6 {
  font-family: var(--font-display) !important;
  letter-spacing: -0.01em;
  font-weight: 600;
}

/* =========================================================================
   Layout shells
   ========================================================================= */
.pq-shell {
  display: flex;
  min-height: 100vh;
  background: var(--ink-50);
}

.pq-sidebar {
  width: 232px;
  flex: 0 0 232px;
  background: var(--paper);
  border-right: 1px solid var(--ink-200);
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.pq-sidebar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid var(--ink-150);
}
.pq-sidebar-brand .pq-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--brand-700);
  color: var(--paper);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 14px;
}
.pq-sidebar-brand .pq-word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  font-size: 16px;
  line-height: 1;
}
.pq-sidebar-brand .pq-sub {
  font-size: 10px;
  color: var(--ink-500);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 3px;
}

.pq-sidebar-section {
  padding: 14px 12px 4px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
}

.pq-nav-search{position:sticky;top:0;z-index:2;background:inherit;background-color:var(--paper);display:flex;align-items:center;gap:6px;margin:8px 12px 4px;padding:6px 10px;border:1px solid var(--ink-200);border-radius:7px}
.pq-nav-search .v-icon{font-size:16px!important;color:var(--ink-500)}
.pq-nav-search input{border:0;outline:0;background:transparent;font:inherit;font-size:12.5px;color:var(--ink-900);width:100%;min-width:0}
.pq-nav-cat{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;gap:8px;width:calc(100% - 16px);margin:2px 8px 0;padding:8px 10px;border-radius:6px;font-size:11px;font-weight:700;letter-spacing:.04em;text-transform:uppercase;color:var(--ink-600)}
.pq-nav-cat:hover{background:var(--ink-100);color:var(--ink-900)}
.pq-nav-cat .v-icon{font-size:15px!important}
.pq-nav-cat-n{margin-left:auto;font-family:var(--font-mono);font-size:10px;font-weight:600;color:var(--ink-400)}
.pq-nav-cat-chev{transition:transform .15s;color:var(--ink-400)}
.pq-nav-cat.open .pq-nav-cat-chev{transform:rotate(180deg)}
.pq-nav-cat.open{color:var(--ink-900)}
.pq-nav-label{display:flex;flex-direction:column;min-width:0}
.pq-nav-ctx{font-size:10.5px;color:var(--ink-500);font-weight:400;white-space:normal;line-height:1.3}
.pq-nav {
  display: flex;
  flex-direction: column;
  gap: 1px;
  padding: 0 8px 12px;
}
.pq-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--ink-700);
  font-size: var(--t-base);
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.12s ease;
  user-select: none;
}
.pq-nav-item:hover { background: var(--ink-100); color: var(--ink-900); }
.pq-nav-item.active {
  background: var(--brand-50);
  color: var(--brand-700);
}
.pq-nav-item .v-icon { font-size: 16px !important; }
.pq-nav-item .badge {
  margin-left: auto;
  font-size: 10px;
  background: var(--ink-200);
  color: var(--ink-700);
  padding: 1px 6px;
  border-radius: 999px;
  font-weight: 600;
}
.pq-nav-item.active .badge { background: var(--brand-100); color: var(--brand-700); }

.pq-sidebar-footer {
  margin-top: auto;
  padding: 12px;
  border-top: 1px solid var(--ink-150);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
}
.pq-sidebar-footer .avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 11px;
}
.pq-sidebar-footer .who { line-height: 1.2; }
.pq-sidebar-footer .who .name { color: var(--ink-900); font-weight: 600; font-size: 12px; }
.pq-sidebar-footer .who .role { color: var(--ink-500); font-size: 10.5px; }

/* Main area */
.pq-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.pq-topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 24px;
  height: 56px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink-200);
  position: sticky;
  top: 0;
  z-index: 10;
}
.pq-topbar .crumbs {
  display: flex; align-items: center; gap: 6px;
  font-size: var(--t-base); color: var(--ink-500);
  font-weight: 500;
}
.pq-topbar .crumbs .sep { color: var(--ink-300); }
.pq-topbar .crumbs .here { color: var(--ink-800); font-weight: 600; }
.pq-topbar .spacer { flex: 1; }

/* Persistent fiscalização button */
.pq-fisc-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  border: 1px solid var(--bad-500);
  color: var(--bad-700);
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.15s ease;
  font-family: var(--font-body);
  letter-spacing: -0.005em;
}
.pq-fisc-btn:hover { background: var(--bad-50); }
.pq-fisc-btn .dot {
  width: 6px; height: 6px;
  background: var(--bad-500);
  border-radius: 999px;
  display: inline-block;
}

.pq-content {
  padding: 24px;
  flex: 1;
  overflow-y: auto;
  min-width: 0;
}

.pq-content.wide { max-width: none; }
.pq-content.medium { max-width: 1200px; margin: 0 auto; width: 100%; }

/* =========================================================================
   Type helpers
   ========================================================================= */
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink-900);
}
.h-1 { font-size: var(--t-3xl); }
.h-2 { font-size: var(--t-2xl); }
.h-3 { font-size: var(--t-xl); }
.h-4 { font-size: var(--t-lg); }
.text-sub { font-size: var(--t-sm); color: var(--ink-500); font-weight: 500; }
.text-cap { font-size: 10px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600; color: var(--ink-500); }
.text-mono { font-family: var(--font-mono); font-feature-settings: "ss03"; }

/* =========================================================================
   Cards
   ========================================================================= */
.pq-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}
.pq-card.flat { box-shadow: none; }
.pq-card.elevated { box-shadow: var(--shadow-md); }
.pq-card-pad { padding: 18px 20px; }
.pq-card-pad-lg { padding: 22px 26px; }

.pq-card-head {
  padding: 14px 20px;
  border-bottom: 1px solid var(--ink-150);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.pq-card-head h3 {
  font-family: var(--font-display);
  font-size: var(--t-lg);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.pq-card-head .sub {
  font-size: var(--t-sm);
  color: var(--ink-500);
  font-weight: 500;
  margin-top: 2px;
}

/* =========================================================================
   Status badges
   ========================================================================= */
.pq-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  letter-spacing: 0.005em;
  line-height: 1.5;
  font-family: var(--font-body);
  border: 1px solid transparent;
}
.pq-badge .dot {
  width: 6px; height: 6px; border-radius: 50%; display: inline-block;
}
.pq-badge.super   { background: var(--super-50); color: var(--super-700); border-color: rgba(45,106,77,0.18); }
.pq-badge.super .dot { background: var(--super-500); }
.pq-badge.ok      { background: var(--ok-50); color: var(--ok-700); border-color: rgba(78,128,104,0.18); }
.pq-badge.ok .dot { background: var(--ok-500); }
.pq-badge.warn    { background: var(--warn-50); color: var(--warn-700); border-color: rgba(176,122,45,0.20); }
.pq-badge.warn .dot { background: var(--warn-500); }
.pq-badge.bad     { background: var(--bad-50); color: var(--bad-700); border-color: rgba(148,65,65,0.20); }
.pq-badge.bad .dot { background: var(--bad-500); }
.pq-badge.info    { background: var(--info-50); color: var(--info-500); border-color: rgba(73,107,149,0.18); }
.pq-badge.info .dot { background: var(--info-500); }
.pq-badge.muted   { background: var(--ink-100); color: var(--ink-600); border-color: var(--ink-200); }
.pq-badge.muted .dot { background: var(--ink-400); }

/* Discrete glyph for Modo Fiscalização — substitui ícone de alerta */
.pq-glyph {
  font-family: var(--font-mono);
  display: inline-block;
  width: 18px;
  text-align: center;
  color: var(--fisc-soft);
}

/* =========================================================================
   Login / onboarding hero shell
   ========================================================================= */
.pq-hero-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
  background: var(--ink-50);
}
.pq-hero-side {
  background: linear-gradient(155deg, var(--brand-900) 0%, var(--brand-700) 60%, var(--brand-600) 100%);
  color: var(--paper);
  position: relative;
  overflow: hidden;
  padding: 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.pq-hero-side::before {
  /* Subtle hexagonal cell-like pattern — alusão a tecido/lâmina */
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(255,255,255,0.06) 0%, transparent 30%),
    radial-gradient(circle at 80% 70%, rgba(255,255,255,0.05) 0%, transparent 30%),
    linear-gradient(45deg, rgba(255,255,255,0.02) 25%, transparent 25%, transparent 75%, rgba(255,255,255,0.02) 75%);
  background-size: auto, auto, 24px 24px;
  pointer-events: none;
}
.pq-hero-side > * { position: relative; z-index: 1; }
.pq-hero-side .brand-row {
  display: flex; align-items: center; gap: 12px;
}
.pq-hero-side .brand-row .mark {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
}
.pq-hero-side .brand-row .word {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 22px;
}
.pq-hero-side .brand-row .sub {
  font-size: 10px;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
}

.pq-hero-side .hero-pitch h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 38px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  max-width: 460px;
}
.pq-hero-side .hero-pitch p {
  font-size: 15px;
  line-height: 1.55;
  color: rgba(255,255,255,0.78);
  margin: 0 0 24px;
  max-width: 440px;
}
.pq-hero-side .hero-pitch .micro {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px 24px;
  max-width: 440px;
}
.pq-hero-side .hero-pitch .micro .item {
  border-top: 1px solid rgba(255,255,255,0.16);
  padding-top: 10px;
}
.pq-hero-side .hero-pitch .micro .item .k {
  font-size: 10px;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.pq-hero-side .hero-pitch .micro .item .v {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 16px;
  margin-top: 2px;
}

.pq-hero-side .legal {
  font-size: 11px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}

.pq-hero-main {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}
.pq-hero-card {
  width: 100%;
  max-width: 440px;
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--ink-200);
  box-shadow: var(--shadow-md);
}
.pq-hero-card.wide { max-width: 720px; padding: 36px 40px; }

.pq-hero-card .eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--brand-600);
  margin-bottom: 8px;
}
.pq-hero-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  letter-spacing: -0.015em;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.pq-hero-card .lede {
  font-size: 14px;
  color: var(--ink-600);
  line-height: 1.5;
  margin: 0 0 28px;
}

/* =========================================================================
   Form helpers
   ========================================================================= */
.pq-field-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pq-field-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.pq-field-help {
  font-size: 11.5px;
  color: var(--ink-500);
  line-height: 1.45;
  margin-top: 4px;
}

/* Override Vuetify field colors to fit the system */
.v-text-field .v-field {
  border-radius: var(--radius-sm) !important;
  font-family: var(--font-body);
}
.v-field--variant-outlined {
  --v-field-border-width: 1px !important;
}
.v-btn {
  text-transform: none !important;
  letter-spacing: -0.005em !important;
  font-weight: 600 !important;
  font-family: var(--font-body) !important;
}

/* =========================================================================
   Norm quote panel — citação de norma como ancoragem documental ubíqua
   ========================================================================= */
.pq-norm {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-left: 3px solid var(--brand-600);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-size: 12.5px;
  line-height: 1.55;
  color: var(--ink-800);
}
.pq-norm .pq-norm-head {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: var(--brand-700);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pq-norm .pq-norm-head .v-icon { font-size: 13px !important; }
.pq-norm .pq-norm-body {
  font-family: var(--font-body);
  color: var(--ink-800);
}
.pq-norm .pq-norm-cite {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-600);
  margin-top: 6px;
}
.pq-norm a {
  color: var(--brand-700);
  text-decoration: none;
  border-bottom: 1px dotted var(--brand-400);
}
.pq-norm a:hover { color: var(--brand-600); }

/* =========================================================================
   Stepper (used in onboarding & wizards)
   ========================================================================= */
.pq-stepper {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}
.pq-stepper .step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  min-width: 0;
}
.pq-stepper .step .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink-150);
  color: var(--ink-600);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 11px;
  flex: 0 0 24px;
}
.pq-stepper .step .lbl {
  display: flex; flex-direction: column; min-width: 0;
}
.pq-stepper .step .lbl .k {
  font-size: 10px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.pq-stepper .step .lbl .v {
  font-size: 12.5px; color: var(--ink-700); font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pq-stepper .step.active .num { background: var(--brand-600); color: var(--paper); }
.pq-stepper .step.active .lbl .v { color: var(--ink-900); font-weight: 600; }
.pq-stepper .step.done .num { background: var(--ok-500); color: var(--paper); }
.pq-stepper .step.done .lbl .v { color: var(--ink-700); }
.pq-stepper .step-sep {
  height: 1px; background: var(--ink-200);
  flex: 0 0 22px;
}

/* =========================================================================
   Password strength meter
   ========================================================================= */
.pq-pwd-meter {
  display: flex; gap: 4px;
  margin-top: 8px;
}
.pq-pwd-meter .bar {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: var(--ink-150);
  transition: background 0.2s ease;
}
.pq-pwd-meter[data-level="1"] .bar:nth-child(-n+1) { background: var(--bad-500); }
.pq-pwd-meter[data-level="2"] .bar:nth-child(-n+2) { background: var(--warn-500); }
.pq-pwd-meter[data-level="3"] .bar:nth-child(-n+3) { background: var(--ok-500); }
.pq-pwd-meter[data-level="4"] .bar:nth-child(-n+4) { background: var(--super-500); }

/* =========================================================================
   Upload dropzone
   ========================================================================= */
.pq-drop {
  border: 1.5px dashed var(--ink-300);
  border-radius: var(--radius-md);
  padding: 22px;
  background: var(--ink-50);
  text-align: center;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.pq-drop:hover { border-color: var(--brand-500); background: var(--brand-50); }
.pq-drop .v-icon { color: var(--ink-400); }
.pq-drop .t1 { font-weight: 600; color: var(--ink-800); font-size: 13.5px; margin-top: 8px; }
.pq-drop .t2 { font-size: 12px; color: var(--ink-500); margin-top: 2px; }

/* Uploaded file list */
.pq-file-row {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
}
.pq-file-row + .pq-file-row { margin-top: 8px; }
.pq-file-row .icon {
  width: 32px; height: 32px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
}
.pq-file-row .meta { flex: 1; min-width: 0; }
.pq-file-row .meta .n {
  font-size: 13px; font-weight: 600; color: var(--ink-900);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pq-file-row .meta .s {
  font-size: 11px; color: var(--ink-500);
}

/* =========================================================================
   Utilities
   ========================================================================= */
.divider-soft { height: 1px; background: var(--ink-150); margin: 18px 0; }
.row-spread { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.stack-xs > * + * { margin-top: 4px; }
.stack-sm > * + * { margin-top: 8px; }
.stack-md > * + * { margin-top: 14px; }
.stack-lg > * + * { margin-top: 22px; }
.row-gap-sm { display: flex; gap: 8px; align-items: center; }
.row-gap-md { display: flex; gap: 14px; align-items: center; }
.muted { color: var(--ink-500); }
.placeholder-screen {
  display: grid; place-items: center;
  height: calc(100vh - 56px);
  text-align: center;
  padding: 60px;
}
.placeholder-screen .ph-mark {
  width: 56px; height: 56px;
  border-radius: 12px;
  background: var(--ink-150);
  color: var(--ink-500);
  display: grid; place-items: center;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: 22px;
}
.placeholder-screen h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink-800);
  margin: 0 0 8px;
}
.placeholder-screen .ph-desc {
  font-size: 14px; color: var(--ink-500); max-width: 380px; line-height: 1.55;
}
.placeholder-screen .ph-meta {
  margin-top: 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-400);
}

/* =========================================================================
   Hub de Modos (Tela 04)
   ========================================================================= */
.pq-hub {
  min-height: 100vh;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(36, 62, 104, 0.06), transparent 60%),
    radial-gradient(700px 420px at 92% 0%, rgba(45, 106, 77, 0.05), transparent 60%),
    var(--ink-50);
  padding: 28px 36px 36px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

/* ---------- Header ---------- */
.pq-hub-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  gap: 28px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
.pq-hub-brand {
  display: flex; align-items: center; gap: 12px;
}
.pq-hub-brand .mark {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--brand-700); color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700;
  letter-spacing: -0.02em; font-size: 15px;
}
.pq-hub-brand .word {
  font-family: var(--font-display); font-weight: 600;
  font-size: 17px; color: var(--ink-900); letter-spacing: -0.01em;
}
.pq-hub-brand .sub {
  font-size: 11px; color: var(--ink-500);
  font-family: var(--font-mono); margin-top: 2px;
}

.pq-hub-greeting { max-width: 720px; }
.pq-hub-greeting .eyebrow {
  font-size: 11px; color: var(--brand-700);
  font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 6px;
}
.pq-hub-greeting h1 {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 28px; color: var(--ink-900);
  margin: 0 0 10px;
  text-wrap: balance;
}
.pq-hub-greeting p {
  font-size: 13.5px; color: var(--ink-600);
  line-height: 1.55; margin: 0;
  max-width: 680px;
}

.pq-hub-signout {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  border: 1px solid var(--ink-200);
  background: var(--paper);
  border-radius: 8px;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 12px; font-weight: 500;
  align-self: start;
  transition: all 0.15s;
}
.pq-hub-signout:hover {
  border-color: var(--ink-300); color: var(--ink-900);
}
.pq-hub-signout i { font-size: 14px; }

/* ---------- Grid ---------- */
.pq-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  max-width: 1320px;
  margin: 0 auto;
  width: 100%;
}
@media (max-width: 1100px) {
  .pq-hub-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* ---------- Card base ---------- */
.pq-hub-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
  box-shadow: var(--shadow-xs);
}
.pq-hub-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  border-color: var(--ink-300);
}
.pq-hub-card:focus-visible {
  outline: 2px solid var(--brand-500);
  outline-offset: 2px;
}

.pq-hub-card.featured {
  border-color: var(--brand-300);
  box-shadow: var(--shadow-md);
}

.pq-hub-card .ribbon {
  position: absolute; top: 12px; right: 12px;
  z-index: 2;
  background: var(--brand-700); color: var(--paper);
  font-size: 10px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 4px;
  box-shadow: 0 2px 6px rgba(36, 62, 104, 0.25);
}

/* ---------- Thumb ---------- */
.pq-hub-card .thumb {
  position: relative;
  aspect-ratio: 280 / 160;
  border-bottom: 1px solid var(--ink-150);
  overflow: hidden;
}
.pq-hub-card.mode-jornada .thumb { background: #F4F7F4; }
.pq-hub-card.mode-tradicional .thumb { background: #F8FAFC; }
.pq-hub-card.mode-fiscalizacao .thumb { background: #FBFBFC; }

.pq-hub-card .thumb-tag {
  position: absolute; left: 12px; bottom: 10px;
  font-family: var(--font-mono);
  font-size: 10px; font-weight: 500;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink-700);
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid var(--ink-200);
  letter-spacing: 0.02em;
}
.pq-hub-card .thumb-tag.dark {
  background: rgba(17, 20, 24, 0.92);
  color: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ---------- Body ---------- */
.pq-hub-card .body {
  padding: 20px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}
.pq-hub-card .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase;
}
.pq-hub-card .eyebrow .glyph {
  width: 14px; height: 14px; border-radius: 4px;
  display: inline-block;
}
.pq-hub-card.mode-jornada .eyebrow { color: var(--jor-accent); }
.pq-hub-card.mode-jornada .eyebrow .glyph { background: var(--jor-accent); }
.pq-hub-card.mode-tradicional .eyebrow { color: var(--brand-700); }
.pq-hub-card.mode-tradicional .eyebrow .glyph { background: var(--brand-700); }
.pq-hub-card.mode-fiscalizacao .eyebrow { color: var(--fisc-ink); }
.pq-hub-card.mode-fiscalizacao .eyebrow .glyph {
  background: var(--fisc-ink);
  border-radius: 50%;
}

.pq-hub-card h2 {
  font-family: var(--font-display); font-weight: 600;
  letter-spacing: -0.015em;
  font-size: 22px;
  color: var(--ink-900);
  margin: -4px 0 0;
  text-wrap: balance;
}
.pq-hub-card .tagline {
  font-size: 13.5px; color: var(--ink-600);
  line-height: 1.5; margin: 0;
}

/* ---------- Use-when list ---------- */
.pq-hub-card .use-when {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.pq-hub-card .use-when li {
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 12.5px; color: var(--ink-700); line-height: 1.5;
}
.pq-hub-card .use-when li i {
  font-size: 14px; flex: 0 0 14px; margin-top: 2px;
}
.pq-hub-card.mode-jornada .use-when li i { color: var(--jor-accent); }
.pq-hub-card.mode-tradicional .use-when li i { color: var(--brand-600); }
.pq-hub-card.mode-fiscalizacao .use-when li i { color: var(--fisc-ink); }

/* ---------- Meta rows ---------- */
.pq-hub-card .meta-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px dashed var(--ink-200);
}
.pq-hub-card .meta-row .meta-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
}

/* ---------- Tradicional live stats ---------- */
.pq-hub-card .live-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--ink-50);
}
.pq-hub-card .live-stats .stat {
  padding: 10px 8px;
  text-align: center;
  border-right: 1px solid var(--ink-200);
  background: var(--paper);
}
.pq-hub-card .live-stats .stat:last-child { border-right: none; }
.pq-hub-card .live-stats .stat .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink-900);
  letter-spacing: -0.02em;
}
.pq-hub-card .live-stats .stat .n.money {
  font-size: 13px;
  color: var(--bad-700);
}
.pq-hub-card .live-stats .stat.warn .n { color: var(--warn-700); }
.pq-hub-card .live-stats .stat.bad .n  { color: var(--bad-700); }
.pq-hub-card .live-stats .stat .k {
  font-size: 10px;
  color: var(--ink-500);
  letter-spacing: 0.04em;
  margin-top: 2px;
  font-weight: 500;
}

/* ---------- Fiscalização warning strip ---------- */
.pq-hub-card .fisc-warn {
  display: flex; align-items: flex-start; gap: 10px;
  background: var(--fisc-bg);
  border: 1px solid var(--fisc-line);
  border-left: 3px solid var(--fisc-ink);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.45;
}
.pq-hub-card .fisc-warn i {
  color: var(--fisc-ink); font-size: 16px; flex: 0 0 16px; margin-top: 1px;
}
.pq-hub-card .fisc-warn strong { color: var(--fisc-ink); }

/* ---------- CTA buttons ---------- */
.pq-hub-card .cta-row { margin-top: auto; padding-top: 4px; }
.pq-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 18px;
  border: none;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 13.5px; font-weight: 600;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.12s, background 0.12s;
}
.pq-btn:hover { transform: translateY(-1px); }
.pq-btn:active { transform: translateY(0); }
.pq-btn i { font-size: 16px; }

.pq-btn.primary.jor {
  background: var(--jor-accent); color: var(--paper);
  box-shadow: 0 1px 0 rgba(45, 106, 77, 0.4) inset, 0 2px 8px rgba(45, 106, 77, 0.20);
}
.pq-btn.primary.jor:hover { background: #25553F; }
.pq-btn.primary.trad {
  background: var(--brand-700); color: var(--paper);
  box-shadow: 0 1px 0 rgba(36, 62, 104, 0.4) inset, 0 2px 8px rgba(36, 62, 104, 0.22);
}
.pq-btn.primary.trad:hover { background: var(--brand-800); }
.pq-btn.primary.fisc {
  background: var(--fisc-ink); color: var(--paper);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.4) inset, 0 2px 8px rgba(17, 20, 24, 0.25);
}
.pq-btn.primary.fisc:hover { background: #000; }
.pq-btn.primary.fisc .glyph-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.18);
  display: inline-block;
}

/* ---------- Footer ---------- */
.pq-hub-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  align-items: center;
  max-width: 1320px;
  margin: 4px auto 0;
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--ink-200);
  font-size: 12px;
  color: var(--ink-500);
}
.pq-hub-foot .item {
  display: inline-flex; align-items: center; gap: 8px;
}
.pq-hub-foot .item i { font-size: 14px; color: var(--ink-400); }
.pq-hub-foot .item strong { color: var(--ink-700); font-weight: 600; }
.pq-hub-foot .item.link {
  color: var(--brand-700);
  text-decoration: none;
  margin-left: auto;
  font-weight: 500;
}
.pq-hub-foot .item.link:hover { color: var(--brand-800); }
.pq-hub-foot .item.link i { color: var(--brand-600); }


/* =========================================================================
   BLOCO 10 — Módulo de Gestão de Fornecedores
   ========================================================================= */

/* ----- Layout base de página interna ----- */
.pq-page {
  padding: 28px 36px 60px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}
.pq-page-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 22px;
  flex-wrap: wrap;
}
.pq-page-head h1 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 26px;
  color: var(--ink-900);
  margin: 0 0 4px;
}
.pq-page-head p {
  font-size: 13.5px;
  color: var(--ink-600);
  line-height: 1.55;
  margin: 0;
  max-width: 720px;
}
.pq-page-head .actions {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
}

/* ----- Botões customizados ----- */
.pq-btn-primary, .pq-btn-outline, .pq-btn-ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
  white-space: nowrap;
  border: 1px solid transparent;
}
.pq-btn-primary { background: var(--brand-700); color: var(--paper); }
.pq-btn-primary:hover:not(:disabled) { background: var(--brand-800); }
.pq-btn-primary:disabled, .pq-btn-primary.disabled { opacity: 0.5; cursor: not-allowed; }
.pq-btn-outline {
  background: var(--paper); color: var(--ink-700);
  border-color: var(--ink-200);
}
.pq-btn-outline:hover { border-color: var(--ink-300); color: var(--ink-900); background: var(--ink-50); }
.pq-btn-outline.icon { padding: 8px; }
.pq-btn-ghost {
  background: transparent; color: var(--brand-700);
}
.pq-btn-ghost:hover { background: var(--brand-50); }
.pq-btn-primary i, .pq-btn-outline i, .pq-btn-ghost i { font-size: 15px; }

.pq-icon-btn {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink-500);
}
.pq-icon-btn:hover { background: var(--ink-100); color: var(--ink-700); }
.pq-icon-btn i { font-size: 16px; }

/* ----- KPI strip ----- */
.pq-kpi-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
  margin-bottom: 18px;
}
@media (max-width: 1100px) {
  .pq-kpi-strip { grid-template-columns: repeat(3, 1fr); }
}
.pq-kpi {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  position: relative;
  overflow: hidden;
}
.pq-kpi::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
  background: var(--ink-300);
}
.pq-kpi.brand::before { background: var(--brand-700); }
.pq-kpi.ok::before    { background: var(--ok-500); }
.pq-kpi.warn::before  { background: var(--warn-500); }
.pq-kpi.bad::before   { background: var(--bad-500); }
.pq-kpi.info::before  { background: var(--info-500); }
.pq-kpi.muted::before { background: var(--ink-400); }
.pq-kpi.is-filter { cursor: pointer; transition: border-color 0.12s, box-shadow 0.12s, background 0.12s; }
.pq-kpi.is-filter:hover { border-color: var(--ink-400); background: var(--ink-50); }
.pq-kpi.is-filter.active { border-color: var(--brand-700); box-shadow: 0 0 0 2px rgba(36,62,104,0.12); background: var(--paper); }
.pq-kpi .v {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.pq-kpi .k {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ----- Linha de treinamentos realizados (filtro por chip) ----- */
.pq-treino-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  flex-wrap: wrap;
}
.pq-treino-row-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  flex: 0 0 auto;
}
.pq-treino-row-hint {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--ink-400);
  text-transform: none;
  letter-spacing: 0;
}
.pq-treino-chips {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}
.pq-treino-select-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  min-width: 220px;
}
.pq-treino-select {
  flex: 1;
  min-width: 0;
  max-width: 420px;
  height: 38px;
  padding: 0 34px 0 12px;
  font-size: 13px;
  color: var(--ink-800);
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: border-color 0.12s, box-shadow 0.12s;
}
.pq-treino-select:hover { border-color: var(--ink-400); }
.pq-treino-select:focus {
  outline: none;
  border-color: var(--brand-700);
  box-shadow: 0 0 0 2px rgba(36,62,104,0.12);
}
.pq-treino-select-clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  flex: 0 0 auto;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  color: var(--ink-600);
  cursor: pointer;
  transition: background 0.12s, color 0.12s;
}
.pq-treino-select-clear:hover { background: var(--paper); color: var(--bad-500); border-color: var(--ink-400); }
.pq-treino-select-clear .v-icon { font-size: 16px; }

/* ----- Toolbar / tabs ----- */
.pq-toolbar {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pq-tabs {
  display: flex;
  gap: 4px;
  background: var(--ink-100);
  padding: 3px;
  border-radius: 8px;
}
.pq-tab {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-600);
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.12s;
}
.pq-tab:hover { color: var(--ink-900); }
.pq-tab.active {
  background: var(--paper);
  color: var(--ink-900);
  box-shadow: var(--shadow-xs);
}
.pq-tab .count {
  display: inline-block;
  min-width: 18px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-500);
  background: var(--ink-200);
  border-radius: 99px;
}
.pq-tab.active .count {
  background: var(--brand-100);
  color: var(--brand-700);
}

/* ----- Search input ----- */
.pq-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 7px;
  padding: 6px 10px;
  min-width: 280px;
  transition: border-color 0.15s;
}
.pq-search:focus-within { border-color: var(--brand-500); }
.pq-search i { color: var(--ink-400); font-size: 16px; }
.pq-search input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: var(--ink-900);
  font-family: var(--font-body);
}
.pq-search input::placeholder { color: var(--ink-400); }

.pq-select-inline {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 7px;
  padding: 7px 30px 7px 10px;
  font-size: 12.5px;
  font-family: var(--font-body);
  color: var(--ink-700);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'><path d='M2 3.5L5 6.5L8 3.5' stroke='%239CA3AF' stroke-width='1.4' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
}

/* ----- Tabela base ----- */
.pq-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pq-table thead {
  background: var(--ink-50);
}
.pq-table th {
  text-align: left;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 11px 16px;
  border-bottom: 1px solid var(--ink-200);
}
.pq-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--ink-150);
  vertical-align: middle;
  color: var(--ink-800);
}
.pq-table tbody tr:last-child td { border-bottom: none; }
.pq-table tbody tr.pq-sup-row { cursor: pointer; transition: background 0.12s; }
.pq-table tbody tr.pq-sup-row:hover { background: var(--brand-50); }
.pq-table tbody tr.selected { background: var(--brand-50); }

/* Name column */
.pq-table .name-col { min-width: 280px; }
.pq-table .last-col { white-space: nowrap; }
.pq-sup-name {
  display: flex; align-items: center; gap: 12px;
}
.pq-sup-name .avatar {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: var(--ink-100);
  color: var(--ink-600);
  flex: 0 0 36px;
}
.pq-sup-name .avatar i { font-size: 18px; }
.pq-sup-name .avatar[data-cat="ti"]       { background: #E8EDF8; color: var(--brand-700); }
.pq-sup-name .avatar[data-cat="reagente"] { background: #EFE7EE; color: #6E3E68; }
.pq-sup-name .avatar[data-cat="equip"]    { background: #E7EFEB; color: var(--ok-700); }
.pq-sup-name .avatar[data-cat="log"]      { background: #F0EAE3; color: var(--warn-700); }
.pq-sup-name .avatar[data-cat="serv"]     { background: #E8E9EE; color: var(--ink-700); }
.pq-sup-name .avatar[data-cat="cons"]     { background: #EAEDF0; color: var(--info-500); }
.pq-sup-name .rs {
  font-weight: 600;
  color: var(--ink-900);
  font-size: 13px;
  line-height: 1.3;
}
.pq-sup-name .cnpj {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
}

/* Category chip */
.pq-cat-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 8px;
  border-radius: 5px;
  background: var(--ink-100);
  color: var(--ink-700);
  font-size: 11.5px;
  font-weight: 500;
}

/* Stars */
.pq-stars {
  display: inline-flex; align-items: center; gap: 1px;
}
.pq-stars i { color: #D1D5DB; line-height: 1; }
.pq-stars i.mdi-star, .pq-stars i.mdi-star-half-full { color: #C9A45C; }
.pq-stars .num {
  margin-left: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  font-variant-numeric: tabular-nums;
}
.pq-stars.empty { color: var(--ink-400); font-size: 13px; }

/* Pill */
.pq-pill {
  display: inline-flex; align-items: center;
  padding: 1px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 600;
  font-family: var(--font-mono);
}
.pq-pill.ok    { background: var(--ok-50); color: var(--ok-700); }
.pq-pill.warn  { background: var(--warn-50); color: var(--warn-700); }
.pq-pill.bad   { background: var(--bad-50); color: var(--bad-700); }
.pq-pill.muted { background: var(--ink-100); color: var(--ink-500); }

/* AI chip (badge "extraído por IA") */
.pq-ai-chip {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 2px 8px;
  border-radius: 99px;
  background: linear-gradient(135deg, #EEF2F8, #DFE6F0);
  color: var(--brand-700);
  border: 1px solid var(--brand-100);
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pq-ai-chip i { font-size: 12px; color: var(--brand-600); }
.pq-ai-chip.large {
  padding: 5px 12px;
  font-size: 12px;
  border-radius: 6px;
}
.pq-ai-chip.large i { font-size: 14px; }

/* Text mono */
.pq-text-mono { font-family: var(--font-mono); }

/* Days pill (Painel de Vencimentos) */
.pq-days-pill {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
}
.pq-days-pill.days-ok   { background: var(--ok-50); color: var(--ok-700); }
.pq-days-pill.days-warn { background: var(--warn-50); color: var(--warn-700); }
.pq-days-pill.days-bad  { background: var(--bad-50); color: var(--bad-700); }

/* ----- Ficha do fornecedor — header card ----- */
.pq-sup-header {
  display: grid;
  grid-template-columns: 72px 1fr auto auto;
  gap: 20px;
  align-items: center;
  margin-bottom: 18px;
}
.pq-sup-header .avatar {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  display: grid; place-items: center;
  flex: 0 0 72px;
  background: var(--ink-100);
  color: var(--ink-600);
}
.pq-sup-header .avatar[data-cat="ti"]       { background: var(--brand-50); color: var(--brand-700); }
.pq-sup-header .avatar[data-cat="reagente"] { background: #EFE7EE; color: #6E3E68; }
.pq-sup-header .avatar[data-cat="equip"]    { background: var(--ok-50); color: var(--ok-700); }
.pq-sup-header .avatar[data-cat="log"]      { background: var(--warn-50); color: var(--warn-700); }
.pq-sup-header .avatar[data-cat="serv"]     { background: var(--ink-100); color: var(--ink-700); }
.pq-sup-header .avatar[data-cat="cons"]     { background: var(--info-50); color: var(--info-500); }

.pq-sup-header .main { min-width: 0; }
.pq-sup-header .score-box {
  text-align: right;
  border-left: 1px solid var(--ink-150);
  padding-left: 18px;
}
.pq-sup-header .score-box .l {
  font-size: 11px; color: var(--ink-500); margin-bottom: 4px; letter-spacing: 0.04em;
}
.pq-sup-header .score-box .s {
  font-size: 11px; color: var(--ink-500); margin-top: 4px;
  font-family: var(--font-mono);
}
.pq-sup-header .cta {
  display: flex; gap: 6px;
}

/* ----- Tabs strip (na ficha) ----- */
.pq-tabs-strip {
  display: flex;
  gap: 2px;
  border-bottom: 1px solid var(--ink-200);
  margin-bottom: 18px;
  overflow-x: auto;
}
.pq-tab-strip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 11px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-600);
  background: transparent;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
  white-space: nowrap;
}
.pq-tab-strip:hover { color: var(--ink-900); }
.pq-tab-strip.active {
  color: var(--brand-700);
  border-bottom-color: var(--brand-700);
}
.pq-tab-strip i { font-size: 15px; }

.pq-tab-body { padding: 4px 0 20px; }

/* Mini-resumo (Documentos) */
.pq-mini-resumo {
  display: flex; align-items: center; gap: 18px;
  padding: 12px 16px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
}
.pq-mini-resumo .item {
  display: flex; align-items: baseline; gap: 6px;
  padding-right: 18px;
  border-right: 1px solid var(--ink-200);
}
.pq-mini-resumo .item:last-of-type { border-right: none; }
.pq-mini-resumo .item .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.pq-mini-resumo .item.ok .n    { color: var(--ok-700); }
.pq-mini-resumo .item.warn .n  { color: var(--warn-700); }
.pq-mini-resumo .item.bad .n   { color: var(--bad-700); }
.pq-mini-resumo .item.muted .n { color: var(--ink-500); }
.pq-mini-resumo .item .k {
  font-size: 12px;
  color: var(--ink-600);
}

/* Section title (genérico) */
.pq-section-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  color: var(--ink-500);
  margin-bottom: 12px;
}

/* Grid 2 colunas */
.pq-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px;
}
@media (max-width: 720px) { .pq-grid-2 { grid-template-columns: 1fr; } }

/* Field readout */
.pq-field-readout .k {
  font-size: 11px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-bottom: 3px;
}
.pq-field-readout .v {
  font-size: 13.5px;
  color: var(--ink-900);
  line-height: 1.4;
}
.pq-field-readout .v.mono { font-family: var(--font-mono); font-size: 12.5px; }

/* Lista genérica */
.pq-list { display: flex; flex-direction: column; gap: 8px; }
.pq-list-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 14px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
}
.pq-list-item .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
  flex: 0 0 36px;
}
.pq-list-item .icon i { font-size: 18px; }
.pq-list-item .meta { flex: 1; min-width: 0; }
.pq-list-item .meta .n {
  font-size: 13.5px; font-weight: 600; color: var(--ink-900);
  line-height: 1.3;
}
.pq-list-item .meta .s {
  font-size: 12px; color: var(--ink-500); margin-top: 2px;
}

/* Empty state */
.pq-empty {
  text-align: center;
  padding: 40px 24px;
  background: var(--ink-50);
  border: 1px dashed var(--ink-300);
  border-radius: var(--radius-md);
  color: var(--ink-600);
}
.pq-empty i {
  font-size: 36px;
  color: var(--ink-400);
  margin-bottom: 10px;
}
.pq-empty .h {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.pq-empty .s {
  font-size: 13px;
  color: var(--ink-600);
  max-width: 460px;
  margin: 0 auto;
  line-height: 1.5;
}
.pq-empty.ok i  { color: var(--ok-500); }
.pq-empty.bad i { color: var(--bad-500); }

/* Contract mark */
.pq-contract-mark {
  width: 48px; height: 48px;
  border-radius: var(--radius-md);
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
  flex: 0 0 48px;
}
.pq-contract-mark i { font-size: 22px; }

/* Timeline */
.pq-timeline {
  position: relative;
  padding-left: 28px;
}
.pq-timeline::before {
  content: ""; position: absolute;
  left: 12px; top: 8px; bottom: 8px;
  width: 2px;
  background: var(--ink-200);
}
.pq-tl-item {
  position: relative;
  padding: 10px 0 12px 18px;
}
.pq-tl-item .dot {
  position: absolute;
  left: -22px; top: 10px;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--paper);
  border: 2px solid var(--ink-300);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 12px;
  color: var(--ink-600);
}
.pq-tl-item .dot i { font-size: 13px; }
.pq-tl-item.active .dot {
  border-color: var(--brand-500);
  background: var(--brand-700);
  color: var(--paper);
  box-shadow: 0 0 0 4px var(--brand-100);
}
.pq-tl-item .dot.info  { border-color: var(--info-500); color: var(--info-500); }
.pq-tl-item .dot.warn  { border-color: var(--warn-500); color: var(--warn-700); }
.pq-tl-item .dot.super { border-color: var(--super-500); color: var(--super-700); }
.pq-tl-item .dot.ok    { border-color: var(--ok-500); color: var(--ok-700); }
.pq-tl-item .body .h {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 2px;
}
.pq-tl-item .body .s {
  font-size: 12px;
  color: var(--ink-500);
}

/* ----- Tela 69: Critérios ----- */
.pq-criteria-list { display: flex; flex-direction: column; gap: 8px; }
.pq-criterion {
  display: flex; align-items: center;
  gap: 16px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  transition: opacity 0.15s;
}
.pq-criterion.off { opacity: 0.55; }
.pq-criterion .left {
  display: flex; align-items: center; gap: 14px;
  flex: 1; min-width: 0;
}
.pq-criterion .left .n {
  font-size: 13.5px; font-weight: 600; color: var(--ink-900); margin-bottom: 2px;
}
.pq-criterion .left .s {
  font-size: 11.5px; color: var(--ink-500);
  display: flex; align-items: center; gap: 6px;
}
.pq-criterion .right {
  display: flex; align-items: center; gap: 14px;
}
.pq-criterion .weight {
  display: flex; flex-direction: column; gap: 4px;
  width: 200px;
}
.pq-criterion .weight input[type="range"] {
  width: 100%;
  accent-color: var(--brand-700);
}
.pq-criterion .weight .pct {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-700);
  text-align: right;
}

/* Switch */
.pq-switch {
  position: relative;
  display: inline-block;
  width: 36px; height: 20px;
  flex: 0 0 36px;
}
.pq-switch input { display: none; }
.pq-switch .track {
  position: absolute; inset: 0;
  background: var(--ink-300);
  border-radius: 99px;
  cursor: pointer;
  transition: background 0.15s;
}
.pq-switch .track::after {
  content: ""; position: absolute;
  top: 2px; left: 2px;
  width: 16px; height: 16px;
  background: var(--paper);
  border-radius: 50%;
  transition: transform 0.15s;
}
.pq-switch input:checked + .track { background: var(--brand-700); }
.pq-switch input:checked + .track::after { transform: translateX(16px); }

/* Weight total card */
.pq-weight-total {
  text-align: center;
}
.pq-weight-total .l {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 8px;
}
.pq-weight-total .v {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 6px;
}
.pq-weight-total.ok .v { color: var(--ok-700); }
.pq-weight-total.warn .v { color: var(--warn-700); }
.pq-weight-total .s {
  font-size: 12px;
  color: var(--ink-600);
}
.pq-weight-total.ok .s { color: var(--ok-700); font-weight: 500; }

/* Radio group horizontal */
.pq-radio-group {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.pq-radio {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 7px 11px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--ink-700);
  transition: all 0.12s;
}
.pq-radio:hover { border-color: var(--ink-300); }
.pq-radio.active {
  background: var(--brand-50);
  border-color: var(--brand-500);
  color: var(--brand-700);
  font-weight: 600;
}
.pq-radio input { accent-color: var(--brand-700); }

.pq-chip-group {
  display: flex; gap: 6px; flex-wrap: wrap;
}
.pq-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 11px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 99px;
  cursor: pointer;
  font-size: 12.5px;
  color: var(--ink-700);
}
.pq-chip.active {
  background: var(--brand-700);
  border-color: var(--brand-700);
  color: var(--paper);
  font-weight: 600;
}
.pq-chip input { display: none; }

.pq-help {
  font-size: 11.5px;
  color: var(--ink-500);
  margin-top: 8px;
}

/* ----- Tela 70: Kanban de homologação ----- */
.pq-segmented {
  display: inline-flex;
  background: var(--ink-100);
  border-radius: 8px;
  padding: 3px;
}
.pq-segmented .s-opt {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-600);
  background: transparent;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}
.pq-segmented .s-opt.active {
  background: var(--paper);
  color: var(--ink-900);
  box-shadow: var(--shadow-xs);
}
.pq-segmented .s-opt i { font-size: 14px; }

.pq-kanban {
  display: grid;
  grid-template-columns: repeat(8, minmax(180px, 1fr));
  gap: 10px;
  overflow-x: auto;
  padding-bottom: 8px;
}
.pq-kanban-col {
  background: var(--ink-100);
  border-radius: var(--radius-md);
  min-width: 180px;
}
.pq-kanban-col .col-head {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}
.pq-kanban-col .col-head .n {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  color: var(--ink-700);
}
.pq-kanban-col .col-head .t .k {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--ink-500);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pq-kanban-col .col-head .t .v {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-800);
  line-height: 1.2;
}
.pq-kanban-col .col-head .count {
  margin-left: auto;
  background: var(--paper);
  padding: 2px 7px;
  border-radius: 99px;
  font-size: 10px;
  font-weight: 700;
  color: var(--ink-700);
}
.pq-kanban-col .col-head.info  { background: var(--info-50); }
.pq-kanban-col .col-head.warn  { background: var(--warn-50); }
.pq-kanban-col .col-head.super { background: var(--super-50); }
.pq-kanban-col .col-head.ok    { background: var(--ok-50); }

.pq-kanban-col .col-body {
  padding: 8px;
  display: flex; flex-direction: column; gap: 6px;
  min-height: 240px;
}
.pq-kanban-col .col-empty {
  padding: 18px 10px;
  text-align: center;
  font-size: 11px;
  color: var(--ink-400);
  font-family: var(--font-mono);
}

.pq-kanban-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  padding: 10px 11px;
  cursor: pointer;
  transition: box-shadow 0.12s, transform 0.12s;
}
.pq-kanban-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
  border-color: var(--ink-300);
}
.pq-kanban-card .top {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 6px;
  margin-bottom: 4px;
}
.pq-kanban-card .name {
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.3;
}
.pq-kanban-card .cnpj {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-500);
}
.pq-kanban-card .sub {
  font-size: 11px;
  color: var(--ink-600);
  margin-top: 4px;
}
.pq-kanban-card .progress {
  margin-top: 8px;
  display: flex; align-items: center; gap: 6px;
}
.pq-kanban-card .progress .bar {
  flex: 1; height: 4px;
  background: var(--ink-150);
  border-radius: 2px;
  overflow: hidden;
}
.pq-kanban-card .progress .bar .fill {
  height: 100%;
  background: var(--brand-500);
  transition: width 0.3s;
}
.pq-kanban-card .progress .pct {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-600);
  font-weight: 600;
}
.pq-kanban-card.invite { border-style: dashed; }
.pq-kanban-card.done { background: var(--ok-50); border-color: rgba(78,128,104,0.18); }

/* ----- Avaliação periódica (72) ----- */
.pq-criteria-eval { display: flex; flex-direction: column; gap: 14px; }
.pq-crit-eval {
  padding: 14px 16px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
}
.pq-crit-eval .head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.pq-crit-eval .head .n {
  font-size: 13.5px; font-weight: 600; color: var(--ink-900);
}
.pq-crit-eval .head .w {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
}
.pq-crit-eval .stars-input {
  display: flex; gap: 4px; margin-bottom: 8px;
}
.pq-crit-eval .stars-input .star {
  width: 32px; height: 32px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  cursor: pointer;
  color: var(--ink-300);
  display: grid; place-items: center;
}
.pq-crit-eval .stars-input .star.active {
  background: #FFF6E0;
  border-color: #E0C58A;
  color: #C9A45C;
}
.pq-crit-eval .stars-input .star i { font-size: 18px; }

.pq-textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 13px;
  padding: 8px 10px;
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  resize: vertical;
  background: var(--paper);
}
.pq-textarea:focus { outline: none; border-color: var(--brand-500); }

/* Score live sidebar */
.pq-score-live { text-align: center; }
.pq-score-live .l {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 12px;
}
.pq-score-live .big {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--brand-700);
  line-height: 1;
  margin-bottom: 12px;
}
.pq-score-live .prev {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 10px;
  font-family: var(--font-mono);
}

.pq-suggestion {
  border-left: 3px solid var(--ink-300);
}
.pq-suggestion.ok    { border-left-color: var(--ok-500); background: var(--ok-50); }
.pq-suggestion.super { border-left-color: var(--super-500); background: var(--super-50); }
.pq-suggestion.warn  { border-left-color: var(--warn-500); background: var(--warn-50); }
.pq-suggestion.bad   { border-left-color: var(--bad-500); background: var(--bad-50); }

/* ----- Tela 73: convidar fornecedor ----- */
.pq-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 13.5px;
  padding: 9px 12px;
  border: 1px solid var(--ink-200);
  border-radius: 7px;
  background: var(--paper);
  color: var(--ink-900);
  transition: border-color 0.15s;
}
.pq-input:focus { outline: none; border-color: var(--brand-500); }
.pq-input::placeholder { color: var(--ink-400); }

.pq-flash {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 10px 14px;
  border-radius: 7px;
  font-size: 13px;
  line-height: 1.5;
}
.pq-flash i { font-size: 18px; flex: 0 0 18px; margin-top: 1px; }
.pq-flash.ok {
  background: var(--ok-50);
  color: var(--ok-700);
  border: 1px solid rgba(78,128,104,0.25);
}
.pq-flash.ok i { color: var(--ok-700); }
.pq-flash strong { font-weight: 600; }

.pq-invite-list { display: flex; flex-direction: column; gap: 10px; }
.pq-invite {
  padding: 12px 14px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
}
.pq-invite .top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; margin-bottom: 4px; }
.pq-invite .top .n { font-size: 13px; font-weight: 600; color: var(--ink-900); line-height: 1.3; }
.pq-invite .meta { font-size: 11.5px; color: var(--ink-600); }
.pq-invite .progress {
  display: flex; align-items: center; gap: 8px;
}
.pq-invite .progress .bar {
  flex: 1; height: 5px;
  background: var(--ink-200);
  border-radius: 3px;
  overflow: hidden;
}
.pq-invite .progress .bar .fill {
  height: 100%;
  background: var(--brand-500);
}
.pq-invite .progress .pct {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-700);
  font-weight: 600;
}

/* =========================================================================
   BLOCO 10 — PORTAL EXTERNO DO FORNECEDOR (telas 74-75)
   ========================================================================= */
.pq-portal {
  min-height: 100vh;
  background: #FAFBFD;
  display: flex; flex-direction: column;
  color: var(--ink-900);
}

/* Header */
.pq-portal-header {
  background: var(--paper);
  border-bottom: 1px solid var(--ink-200);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 10;
}
.pq-portal-menu-btn {
  width: 36px; height: 36px;
  border: none; background: transparent;
  border-radius: 6px;
  cursor: pointer; color: var(--ink-700);
  display: none;
}
.pq-portal-menu-btn:hover { background: var(--ink-100); }
.pq-portal-menu-btn i { font-size: 22px; }

.pq-portal-brand {
  display: flex; align-items: center; gap: 10px;
  flex: 1;
}
.pq-portal-brand .lab-logo {
  width: 38px; height: 38px;
  border-radius: 8px;
  background: var(--brand-700);
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
}
.pq-portal-brand .lab-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-900);
  line-height: 1.1;
}
.pq-portal-brand .lab-sub {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 2px;
  letter-spacing: 0.04em;
}

.pq-portal-user {
  display: flex; align-items: center; gap: 10px;
}
.pq-portal-user .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--ink-100);
  color: var(--ink-700);
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
}
.pq-portal-user .who .n {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.1;
}
.pq-portal-user .who .s {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* Drawer (mobile) */
.pq-portal-drawer-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.4);
  z-index: 15;
  display: none;
}
.pq-portal-drawer {
  display: flex; flex-direction: column; gap: 2px;
  padding: 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--ink-150);
  border-right: 1px solid var(--ink-200);
}
.pq-portal-drawer .item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px;
  border-radius: 7px;
  color: var(--ink-700);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 500;
}
.pq-portal-drawer .item:hover { background: var(--ink-50); }
.pq-portal-drawer .item.active {
  background: var(--brand-50);
  color: var(--brand-700);
}
.pq-portal-drawer .item i { font-size: 18px; }

/* Main container */
.pq-portal-main {
  flex: 1;
  padding: 28px 20px 40px;
}
.pq-portal-container {
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.pq-portal-container.narrow {
  max-width: 640px;
}

/* Greeting */
.pq-portal-greeting .eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--brand-700);
  margin-bottom: 6px;
}
.pq-portal-greeting h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
  color: var(--ink-900);
}
.pq-portal-greeting p {
  font-size: 14.5px;
  color: var(--ink-700);
  line-height: 1.55;
  margin: 0;
}

/* Progress card */
.pq-portal-progress-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 20px 22px;
  box-shadow: var(--shadow-xs);
}
.pq-portal-progress-card .top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 14px;
}
.pq-portal-progress-card .k {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 600;
  margin-bottom: 4px;
}
.pq-portal-progress-card .v {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.pq-portal-cta {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 8px 14px;
  background: var(--brand-700);
  color: var(--paper);
  border-radius: 7px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
}
.pq-portal-cta:hover { background: var(--brand-800); }

.pq-portal-bar {
  height: 8px;
  background: var(--ink-150);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 14px;
}
.pq-portal-bar .fill {
  height: 100%;
  background: linear-gradient(90deg, var(--brand-600), var(--brand-500));
  transition: width 0.5s;
}
.pq-portal-progress-card .steps {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.pq-portal-progress-card .step {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px;
  color: var(--ink-500);
}
.pq-portal-progress-card .step.done {
  color: var(--ok-700);
  font-weight: 500;
}
.pq-portal-progress-card .step.partial {
  color: var(--warn-700);
}
.pq-portal-progress-card .step i { font-size: 14px; }

/* Task grid */
.pq-portal-task-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 600px) {
  .pq-portal-task-grid { grid-template-columns: 1fr; }
}
.pq-portal-task-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink-900);
  transition: all 0.15s;
  position: relative;
  overflow: hidden;
}
.pq-portal-task-card:hover {
  border-color: var(--ink-300);
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}
.pq-portal-task-card::before {
  content: ""; position: absolute;
  left: 0; top: 0; bottom: 0; width: 3px;
}
.pq-portal-task-card.warn::before { background: var(--warn-500); }
.pq-portal-task-card.bad::before  { background: var(--bad-500); }
.pq-portal-task-card.info::before { background: var(--info-500); }

.pq-portal-task-card .icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  flex: 0 0 40px;
}
.pq-portal-task-card.warn .icon { background: var(--warn-50); color: var(--warn-700); }
.pq-portal-task-card.bad  .icon { background: var(--bad-50);  color: var(--bad-700); }
.pq-portal-task-card.info .icon { background: var(--info-50); color: var(--info-500); }
.pq-portal-task-card .icon i { font-size: 20px; }

.pq-portal-task-card .body { flex: 1; min-width: 0; }
.pq-portal-task-card .n {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1;
  margin-bottom: 3px;
}
.pq-portal-task-card .k {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-700);
}
.pq-portal-task-card .s {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 2px;
}
.pq-portal-task-card .arrow {
  color: var(--ink-400);
  font-size: 20px;
}

/* Reuse card */
.pq-portal-reuse {
  background: linear-gradient(135deg, var(--brand-50), #F1F5FB);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.pq-portal-reuse-head {
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
}
.pq-portal-reuse-head .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--brand-700);
  color: var(--paper);
  display: grid; place-items: center;
  flex: 0 0 44px;
}
.pq-portal-reuse-head .icon i { font-size: 22px; }
.pq-portal-reuse-head .meta { flex: 1; min-width: 0; }
.pq-portal-reuse-head .meta .n {
  font-size: 15px; font-weight: 600; color: var(--ink-900);
  line-height: 1.3;
}
.pq-portal-reuse-head .meta .s {
  font-size: 12.5px;
  color: var(--ink-600);
  margin-top: 4px;
  line-height: 1.45;
}
.pq-portal-reuse-head .arrow { color: var(--brand-700); font-size: 22px; }

.pq-portal-reuse-body {
  padding: 4px 20px 20px;
  border-top: 1px solid var(--brand-100);
}
.pq-portal-reuse-body .reuse-note {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px;
  background: var(--paper);
  border-radius: 8px;
  border: 1px solid var(--ink-200);
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.5;
  margin: 16px 0 12px;
}
.pq-portal-reuse-body .reuse-note i {
  color: var(--brand-700); font-size: 17px; flex: 0 0 17px; margin-top: 1px;
}
.pq-portal-reuse-body .reuse-note a { color: var(--brand-700); }

.pq-portal-reuse-table {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  overflow: hidden;
}
.pq-portal-reuse-table .reuse-row {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 0;
  align-items: center;
  border-bottom: 1px solid var(--ink-150);
}
.pq-portal-reuse-table .reuse-row:last-child { border-bottom: none; }
.pq-portal-reuse-table .reuse-row.reuse-head {
  background: var(--ink-50);
  font-size: 11px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--ink-500);
}
.pq-portal-reuse-table .lab {
  padding: 12px 14px;
}
.pq-portal-reuse-table .lab .name {
  font-size: 13px; font-weight: 600; color: var(--ink-900);
}
.pq-portal-reuse-table .lab .city {
  font-size: 11px; color: var(--ink-500); margin-top: 2px;
}
.pq-portal-reuse-table .scope {
  padding: 12px 14px;
  text-align: center;
}

.pq-portal-check {
  position: relative; display: inline-block;
  width: 22px; height: 22px;
  cursor: pointer;
}
.pq-portal-check input { display: none; }
.pq-portal-check .box {
  position: absolute; inset: 0;
  background: var(--paper);
  border: 2px solid var(--ink-300);
  border-radius: 5px;
  transition: all 0.12s;
}
.pq-portal-check input:checked + .box {
  background: var(--brand-700);
  border-color: var(--brand-700);
}
.pq-portal-check input:checked + .box::after {
  content: "";
  position: absolute;
  left: 6px; top: 2px;
  width: 6px; height: 11px;
  border: 2px solid var(--paper);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

.reuse-actions {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px;
  flex-wrap: wrap;
}
.reuse-summary {
  flex: 1;
  font-size: 12.5px;
  color: var(--ink-600);
  line-height: 1.5;
}

/* LGPD strip */
.pq-portal-lgpd-strip .lgpd-card {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
}
.pq-portal-lgpd-strip i { color: var(--ok-700); font-size: 20px; flex: 0 0 20px; margin-top: 1px; }
.pq-portal-lgpd-strip .k {
  font-size: 13px; font-weight: 600; color: var(--ink-900); margin-bottom: 3px;
}
.pq-portal-lgpd-strip .s {
  font-size: 12px; color: var(--ink-600); line-height: 1.5;
}
.pq-portal-lgpd-strip a { color: var(--brand-700); }

/* Footer */
.pq-portal-footer {
  background: var(--ink-50);
  border-top: 1px solid var(--ink-200);
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  font-size: 11.5px; color: var(--ink-500);
  flex-wrap: wrap;
}
.pq-portal-footer .left strong { color: var(--ink-700); font-weight: 600; }
.pq-portal-footer .right {
  display: flex; align-items: center; gap: 10px;
}
.pq-portal-footer .pq-foot-pq strong { color: var(--brand-700); }
.pq-portal-footer .pq-foot-sep { color: var(--ink-300); }

/* Botões do portal */
.pq-portal-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.15s;
  white-space: nowrap;
}
.pq-portal-btn.primary {
  background: var(--brand-700);
  color: var(--paper);
}
.pq-portal-btn.primary:hover { background: var(--brand-800); }
.pq-portal-btn.primary.big {
  padding: 14px 24px;
  font-size: 15px;
  width: 100%;
}
.pq-portal-btn.ghost {
  background: transparent;
  color: var(--ink-700);
  border-color: var(--ink-200);
}
.pq-portal-btn.ghost:hover { background: var(--ink-100); }
.pq-portal-btn i { font-size: 16px; }

/* =========================================================================
   PORTAL — Tela 75 (Preenchimento, wizard, OCR)
   ========================================================================= */
.pq-portal-wizard-nav {
  display: flex; align-items: center;
  background: var(--paper);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--ink-200);
  margin-bottom: 18px;
  gap: 8px;
  overflow-x: auto;
}
.pq-portal-wizard-nav .wnav-step {
  display: flex; align-items: center; gap: 8px;
  padding: 6px 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  white-space: nowrap;
}
.pq-portal-wizard-nav .wnav-step:not(:last-child)::after {
  content: ""; display: inline-block;
  width: 16px; height: 1px;
  background: var(--ink-300);
  margin-left: 8px;
}
.pq-portal-wizard-nav .wnav-step .num {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--ink-150);
  color: var(--ink-600);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  font-family: var(--font-display);
}
.pq-portal-wizard-nav .wnav-step .t {
  font-size: 12.5px;
  color: var(--ink-600);
  font-weight: 500;
}
.pq-portal-wizard-nav .wnav-step.active .num {
  background: var(--brand-700);
  color: var(--paper);
}
.pq-portal-wizard-nav .wnav-step.active .t {
  color: var(--ink-900);
  font-weight: 600;
}
.pq-portal-wizard-nav .wnav-step.done .num {
  background: var(--ok-500);
  color: var(--paper);
}
.pq-portal-wizard-nav .wnav-step.done .num i { font-size: 13px; }
.pq-portal-wizard-nav .wnav-step.done .t { color: var(--ink-700); }

.pq-portal-step {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-xs);
}
.pq-portal-step-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 6px;
  color: var(--ink-900);
}
.pq-portal-step-sub {
  font-size: 13.5px;
  color: var(--ink-600);
  margin: 0 0 22px;
  line-height: 1.5;
}

/* Portal fields */
.pq-portal-field {
  margin-bottom: 14px;
}
.pq-portal-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-700);
  margin-bottom: 6px;
  letter-spacing: 0.01em;
}
.pq-portal-input {
  width: 100%;
  font-family: var(--font-body);
  font-size: 14px;
  padding: 11px 13px;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink-900);
  transition: border-color 0.15s;
}
.pq-portal-input:focus { outline: none; border-color: var(--brand-500); box-shadow: 0 0 0 3px rgba(63, 98, 160, 0.12); }
.pq-portal-input[readonly] {
  background: var(--ink-50);
  color: var(--ink-600);
  cursor: not-allowed;
}
.pq-portal-input-inline {
  width: 100%;
  border: none;
  background: transparent;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900);
  padding: 0;
  font-family: var(--font-body);
}
.pq-portal-input-inline:focus {
  outline: none;
  border-bottom: 1px dashed var(--brand-500);
}
.pq-portal-field .help {
  font-size: 11.5px;
  color: var(--ink-500);
  margin-top: 6px;
}
.pq-portal-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 500px) { .pq-portal-field-row { grid-template-columns: 1fr; } }

.pq-portal-persist {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px;
  background: var(--ok-50);
  border: 1px solid rgba(78, 128, 104, 0.18);
  border-radius: 7px;
  font-size: 12px;
  color: var(--ok-700);
  margin-top: 18px;
}
.pq-portal-persist i { color: var(--ok-500); font-size: 16px; }

/* Doc progress */
.pq-portal-doc-progress {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 8px;
  margin-bottom: 18px;
}
.pq-portal-doc-progress .k {
  font-size: 12.5px; font-weight: 600; color: var(--brand-700);
}
.pq-portal-doc-progress .bar {
  flex: 1; height: 6px;
  background: var(--paper);
  border-radius: 3px;
  overflow: hidden;
}
.pq-portal-doc-progress .bar .fill {
  height: 100%;
  background: var(--brand-600);
  transition: width 0.5s;
}
.pq-portal-doc-progress .pct {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--brand-700);
  font-weight: 700;
}

/* OCR card */
.pq-portal-ocr-card {
  background: linear-gradient(180deg, #FAFBFD, var(--paper));
  border: 1.5px dashed var(--brand-300);
  border-radius: var(--radius-md);
  padding: 18px;
  margin-bottom: 18px;
}
.pq-portal-ocr-card .ocr-head {
  display: flex; gap: 14px; align-items: flex-start;
  margin-bottom: 16px;
}
.pq-portal-ocr-card .icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: var(--warn-50);
  color: var(--warn-700);
  display: grid; place-items: center;
  flex: 0 0 44px;
}
.pq-portal-ocr-card .icon i { font-size: 22px; }
.pq-portal-ocr-card .ocr-head .tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--warn-500);
  color: var(--paper);
  border-radius: 4px;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.pq-portal-ocr-card .ocr-head .tipo {
  font-size: 15px; font-weight: 600; color: var(--ink-900);
  line-height: 1.3;
}
.pq-portal-ocr-card .ocr-head .sub {
  font-size: 12.5px; color: var(--ink-600); margin-top: 4px;
  line-height: 1.5;
}

/* Drop zone */
.pq-portal-drop {
  text-align: center;
  padding: 32px 20px;
  border: 2px dashed var(--ink-200);
  border-radius: var(--radius-md);
  background: var(--paper);
}
.pq-portal-drop i { font-size: 38px; color: var(--brand-500); margin-bottom: 8px; }
.pq-portal-drop .t1 { font-size: 14.5px; font-weight: 600; color: var(--ink-900); }
.pq-portal-drop .t2 { font-size: 12px; color: var(--ink-500); margin-top: 4px; }

/* OCR busy state */
.pq-portal-ocr-busy {
  background: var(--paper);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
}
.pq-portal-ocr-busy .spinner {
  width: 44px; height: 44px;
  border: 3px solid var(--ink-150);
  border-top-color: var(--brand-500);
  border-radius: 50%;
  animation: pq-spin 0.9s linear infinite;
  margin: 0 auto 14px;
}
@keyframes pq-spin {
  to { transform: rotate(360deg); }
}
.pq-portal-ocr-busy .phase {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--ink-900);
  margin-bottom: 4px;
}
.pq-portal-ocr-busy .sub {
  font-size: 12.5px;
  color: var(--ink-600);
  margin-bottom: 16px;
}
.pq-portal-ocr-busy .ai-steps {
  display: flex; justify-content: center; gap: 8px;
  flex-wrap: wrap;
}
.pq-portal-ocr-busy .ai-step {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 5px 10px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 99px;
  font-size: 11.5px;
  color: var(--ink-500);
}
.pq-portal-ocr-busy .ai-step i { font-size: 13px; }
.pq-portal-ocr-busy .ai-step.done {
  background: var(--ok-50);
  border-color: rgba(78, 128, 104, 0.25);
  color: var(--ok-700);
}
.pq-portal-ocr-busy .ai-step.done i { color: var(--ok-500); }
.pq-portal-ocr-busy .ai-step.active {
  background: var(--brand-50);
  border-color: var(--brand-300);
  color: var(--brand-700);
  font-weight: 500;
}

/* OCR review */
.pq-portal-ocr-review {
  background: var(--paper);
  border: 1px solid var(--brand-300);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: 0 0 0 3px var(--brand-50);
}
.pq-portal-ocr-review .review-head {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.pq-portal-ocr-review .review-fields {
  display: flex; flex-direction: column; gap: 1px;
  background: var(--ink-150);
  border-radius: 8px;
  overflow: hidden;
}
.pq-portal-ocr-review .review-field {
  padding: 10px 14px;
  background: var(--paper);
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.pq-portal-ocr-review .review-field .k {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-600);
  display: flex; align-items: center; gap: 4px;
}
.pq-portal-ocr-review .review-field .v {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  text-align: right;
}
.pq-portal-ocr-review .review-field.highlight {
  background: linear-gradient(90deg, transparent, var(--brand-50));
}
.pq-portal-ocr-review .review-field.highlight .v { color: var(--brand-700); }
.pq-portal-ocr-review .review-field .edit-hint {
  font-size: 10px;
  color: var(--ink-400);
  margin-left: 4px;
  font-style: italic;
}
.pq-portal-ocr-review .review-actions {
  display: flex; justify-content: flex-end; gap: 8px;
  margin-top: 16px;
}

/* Doc list */
.pq-portal-doc-list-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 600;
  margin: 24px 0 10px;
}
.pq-portal-doc-list {
  display: flex; flex-direction: column; gap: 6px;
}
.pq-portal-doc {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 14px;
  background: var(--ok-50);
  border: 1px solid rgba(78, 128, 104, 0.18);
  border-radius: 8px;
}
.pq-portal-doc .icon {
  color: var(--ok-700);
}
.pq-portal-doc .icon i { font-size: 20px; }
.pq-portal-doc .meta { flex: 1; min-width: 0; }
.pq-portal-doc .meta .n {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-900);
}
.pq-portal-doc .meta .s {
  font-size: 11.5px;
  color: var(--ink-600);
  margin-top: 2px;
}

/* Step footer */
.pq-portal-step-footer {
  display: flex; align-items: center; gap: 8px;
  margin-top: 18px;
}

/* Flash */
.pq-portal-flash {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 14px 16px;
  border-radius: 8px;
  font-size: 13px;
  line-height: 1.5;
  margin-bottom: 18px;
}
.pq-portal-flash.ok {
  background: var(--ok-50);
  color: var(--ok-700);
  border: 1px solid rgba(78,128,104,0.25);
}
.pq-portal-flash i { font-size: 22px; }

/* Produtos */
.pq-portal-prod-list {
  display: flex; flex-direction: column; gap: 8px;
}
.pq-portal-prod {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 14px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
}
.pq-portal-prod .icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
  flex: 0 0 36px;
}
.pq-portal-prod .meta { flex: 1; min-width: 0; }
.pq-portal-prod .meta .s {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 2px;
}

/* Review final */
.pq-portal-review {
  display: flex; flex-direction: column; gap: 6px;
  margin-bottom: 22px;
}
.pq-portal-review-row {
  display: grid;
  grid-template-columns: 1fr auto 24px;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
}
.pq-portal-review-row.ok   { background: var(--ok-50); border-color: rgba(78,128,104,0.18); }
.pq-portal-review-row.warn { background: var(--warn-50); border-color: rgba(176,122,45,0.18); }
.pq-portal-review-row .k { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.pq-portal-review-row .v { font-size: 12.5px; color: var(--ink-700); }
.pq-portal-review-row.ok   i { color: var(--ok-500); font-size: 20px; }
.pq-portal-review-row.warn i { color: var(--warn-500); font-size: 20px; }

.pq-portal-final-cta {
  text-align: center;
  padding: 22px 0 8px;
}
.pq-portal-final-cta .note {
  font-size: 12px;
  color: var(--ink-500);
  margin-top: 10px;
}

/* Responsividade do portal */
@media (max-width: 720px) {
  .pq-portal-menu-btn { display: grid; place-items: center; }
  .pq-portal-drawer { display: none; position: fixed; top: 60px; left: 0; width: 270px; height: calc(100vh - 60px); z-index: 16; overflow-y: auto; }
  .pq-portal-drawer.open { display: flex; }
  .pq-portal-drawer-backdrop { display: block; }
  .pq-portal-user .who { display: none; }
  .pq-portal-step { padding: 22px 18px; }
  .pq-portal-greeting h1 { font-size: 24px; }
  .pq-portal-main { padding: 20px 14px 40px; }
  .pq-portal-footer { font-size: 11px; padding: 14px 16px; }
  .pq-portal-footer .right { font-size: 10.5px; }
  .pq-portal-reuse-table .reuse-row {
    grid-template-columns: 1fr;
    padding: 8px;
  }
  .pq-portal-reuse-table .scope { padding: 4px 8px; text-align: left; }
  .pq-portal-reuse-table .reuse-row.reuse-head { display: none; }
}
@media (min-width: 721px) {
  .pq-portal-drawer { display: none; }
}
.hide-on-mobile { display: block; }
@media (max-width: 600px) {
  .hide-on-mobile { display: none; }
}


/* =========================================================================
   LIS Integration Badge — indicador de origem LIS
   Usado em qualquer campo cujo dado vem do sistema laboratorial.
   ========================================================================= */
.pq-lis-badge-wrap {
  position: relative;
  display: inline-flex;
  vertical-align: middle;
}
.pq-lis-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 7px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 99px;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-700);
  cursor: pointer;
  transition: all 0.15s ease;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.01em;
}
.pq-lis-badge:hover { border-color: var(--ink-300); background: var(--ink-50); }
.pq-lis-badge.active { border-color: var(--brand-500); background: var(--brand-50); }
.pq-lis-badge.compact { padding: 3px 7px; }
.pq-lis-badge .lis-system { color: var(--brand-700); font-weight: 700; letter-spacing: 0.04em; font-size: 10px; text-transform: uppercase; }
.pq-lis-badge .lis-sep { color: var(--ink-300); }
.pq-lis-badge .lis-when { color: var(--ink-600); font-family: var(--font-mono); font-size: 10.5px; }
.pq-lis-badge .lis-caret { font-size: 13px !important; color: var(--ink-400); margin-left: -2px; }
.pq-lis-badge.active .lis-caret { transform: rotate(180deg); color: var(--brand-600); }

.pq-lis-badge .lis-dot,
.pq-lis-pop .lis-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 7px;
}
.lis-dot.ok   { background: var(--ok-500); box-shadow: 0 0 0 3px rgba(78, 128, 104, 0.18); }
.lis-dot.info { background: var(--info-500); box-shadow: 0 0 0 3px rgba(73, 107, 149, 0.18); }
.lis-dot.warn { background: var(--warn-500); box-shadow: 0 0 0 3px rgba(176, 122, 45, 0.18); }
.lis-dot.bad  { background: var(--bad-500);  box-shadow: 0 0 0 3px rgba(148, 65, 65, 0.18); }
.lis-dot.spin {
  animation: pq-lis-spin 1.2s linear infinite;
}
@keyframes pq-lis-spin {
  0%   { box-shadow: 0 0 0 1px rgba(73, 107, 149, 0.4); }
  50%  { box-shadow: 0 0 0 5px rgba(73, 107, 149, 0.06); }
  100% { box-shadow: 0 0 0 1px rgba(73, 107, 149, 0.4); }
}

/* Popover */
.pq-lis-pop {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 320px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  box-shadow: var(--shadow-lg);
  z-index: 100;
  font-size: 12.5px;
  overflow: hidden;
  animation: pq-lis-fade 0.12s ease-out;
}
@keyframes pq-lis-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lis-pop-head {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 14px 12px;
  border-bottom: 1px solid var(--ink-150);
}
.lis-pop-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
  line-height: 1.1;
}
.lis-pop-status {
  font-size: 11px;
  margin-top: 3px;
  font-weight: 500;
}
.lis-pop-status.ok   { color: var(--ok-700); }
.lis-pop-status.info { color: var(--info-500); }
.lis-pop-status.warn { color: var(--warn-700); }
.lis-pop-status.bad  { color: var(--bad-700); }

.lis-pop-close {
  background: transparent; border: none; cursor: pointer;
  color: var(--ink-400); padding: 2px;
  border-radius: 4px;
}
.lis-pop-close:hover { color: var(--ink-700); background: var(--ink-100); }
.lis-pop-close i { font-size: 16px !important; }

.lis-pop-body {
  padding: 10px 14px;
}
.lis-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 5px 0;
  font-size: 12px;
}
.lis-row + .lis-row { border-top: 1px dashed var(--ink-150); }
.lis-row .k { color: var(--ink-500); font-weight: 500; }
.lis-row .v { color: var(--ink-800); font-weight: 500; text-align: right; }
.lis-row .v.mono { font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-700); }

.lis-pop-foot {
  display: flex;
  gap: 4px;
  padding: 8px;
  background: var(--ink-50);
  border-top: 1px solid var(--ink-150);
}
.lis-pop-link {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 5px;
  padding: 6px 8px;
  background: transparent;
  color: var(--brand-700);
  font-size: 11.5px;
  font-weight: 600;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
}
.lis-pop-link:hover { background: var(--brand-50); }
.lis-pop-link i { font-size: 13px !important; }


/* =========================================================================
   Padrões compartilhados Blocos 3–9
   ========================================================================= */

/* ---- Modo Jornada — atmosfera arejada ---- */
.pq-jor-shell {
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(45,106,77,0.06), transparent 60%),
    radial-gradient(700px 420px at 92% 0%, rgba(45,106,77,0.04), transparent 60%),
    var(--jor-bg);
  min-height: 100vh;
}
.pq-jor-shell .pq-content { background: transparent; }

/* Topbar específica do modo jornada */
.pq-jor-top {
  display: flex; align-items: center; gap: 16px;
  background: var(--paper);
  border-bottom: 1px solid #E2E9E5;
  padding: 0 28px;
  height: 56px;
  position: sticky; top: 0; z-index: 10;
}
.pq-jor-top .crumbs { font-size: 13px; color: var(--ink-500); }
.pq-jor-top .crumbs .here { color: var(--jor-accent); font-weight: 600; }

/* Mapa de áreas — grid de tiles */
.pq-areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 1100px) { .pq-areas-grid { grid-template-columns: repeat(2, 1fr); } }
.pq-area-tile {
  background: var(--paper);
  border: 1px solid #E2E9E5;
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  cursor: pointer;
  position: relative;
  transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.pq-area-tile:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  border-color: #C8D6CE;
}
.pq-area-tile .area-head {
  display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px;
}
.pq-area-tile .ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  background: #E7EFEA;
  color: var(--jor-accent);
  flex: 0 0 36px;
}
.pq-area-tile .ico i { font-size: 18px; }
.pq-area-tile.bad .ico  { background: var(--bad-50); color: var(--bad-700); }
.pq-area-tile.warn .ico { background: var(--warn-50); color: var(--warn-700); }
.pq-area-tile .area-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
  line-height: 1.3;
  margin: 0;
}
.pq-area-tile .area-sub {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 2px;
}
.pq-area-tile .progress-ring {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px;
}
.pq-area-tile .progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.pq-area-tile .progress-ring .ring-bg { stroke: var(--ink-150); fill: none; stroke-width: 3.5; }
.pq-area-tile .progress-ring .ring-fg { stroke: var(--jor-accent); fill: none; stroke-width: 3.5; stroke-linecap: round; transition: stroke-dashoffset 0.5s; }
.pq-area-tile.warn .progress-ring .ring-fg { stroke: var(--warn-500); }
.pq-area-tile.bad  .progress-ring .ring-fg { stroke: var(--bad-500); }
.pq-area-tile .progress-ring .ring-txt {
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--ink-700);
}
.pq-area-tile .area-meta {
  display: flex; gap: 12px;
  font-size: 11px; color: var(--ink-600);
  border-top: 1px dashed var(--ink-200);
  padding-top: 10px;
  margin-top: 4px;
}
.pq-area-tile .area-meta b { color: var(--ink-900); font-weight: 600; }

/* ---- Wizard — barra lateral de passos + área principal + aside ---- */
.pq-wizard-shell {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr) 340px;
  gap: 18px;
  align-items: start;
}
.pq-wizard-main { min-width: 0; }
.pq-wizard-aside {
  display: flex; flex-direction: column; gap: 12px;
  position: sticky; top: 84px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  padding-right: 4px;
}
.pq-wizard-aside::-webkit-scrollbar { width: 6px; }
.pq-wizard-aside::-webkit-scrollbar-thumb { background: var(--ink-200); border-radius: 3px; }
@media (max-width: 1400px) {
  .pq-wizard-shell { grid-template-columns: 240px minmax(0, 1fr) 320px; }
}
@media (max-width: 1180px) {
  .pq-wizard-shell { grid-template-columns: 220px minmax(0, 1fr); }
  .pq-wizard-aside { display: none; }
}
.pq-steps-list {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 12px;
  position: sticky; top: 84px;
}
.pq-steps-list h4 {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-500); margin: 4px 8px 10px; font-weight: 600;
}
.pq-step-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 12.5px;
  color: var(--ink-700);
  cursor: pointer;
}
.pq-step-row:hover { background: var(--ink-50); }
/* "viewing" = passo sendo exibido (clicado) — destacado em azul claro */
.pq-step-row.viewing {
  background: var(--brand-50);
  color: var(--brand-700);
  font-weight: 600;
  box-shadow: inset 3px 0 0 var(--brand-700);
}
.pq-step-row .pq-step-num {
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--ink-150); color: var(--ink-600);
  display: grid; place-items: center;
  font-size: 11px; font-weight: 700;
  flex: 0 0 22px;
}
.pq-step-row.done .pq-step-num { background: var(--ok-500); color: var(--paper); }
.pq-step-row.viewing .pq-step-num { background: var(--brand-700); color: var(--paper); }

/* Marcadores de estado à direita da linha */
.pq-step-marker {
  display: inline-grid; place-items: center;
  width: 22px; height: 22px; border-radius: 50%;
  flex: 0 0 22px;
}
.pq-step-marker-viewing {
  background: var(--brand-700);
  color: var(--paper);
}
.pq-step-marker-current {
  background: transparent;
  color: var(--warn-500);
  animation: pq-step-arrow-pulse 1.6s ease-in-out infinite;
}
@keyframes pq-step-arrow-pulse {
  0%, 100% { transform: translateX(0); opacity: 0.85; }
  50%      { transform: translateX(2px); opacity: 1; }
}

/* Consultor virtual */
.pq-consult {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 18px;
  position: sticky; top: 84px;
}
.pq-consult .head { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; }
.pq-consult .head .avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-600), var(--brand-800));
  color: var(--paper);
  display: grid; place-items: center;
}
.pq-consult .head .avatar i { font-size: 20px; }
.pq-consult .head .name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--ink-900);
}
.pq-consult .head .role {
  font-size: 10.5px;
  color: var(--ink-500);
  margin-top: 2px;
}
.pq-consult .msg {
  background: var(--brand-50);
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 12.5px;
  color: var(--ink-800);
  line-height: 1.5;
  margin-bottom: 12px;
  border: 1px solid var(--brand-100);
}
.pq-consult .quick {
  display: flex; flex-direction: column; gap: 6px;
}
.pq-consult .quick button {
  font-family: var(--font-body);
  font-size: 12px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  padding: 7px 10px;
  text-align: left;
  cursor: pointer;
  color: var(--ink-700);
  font-weight: 500;
}
.pq-consult .quick button:hover { border-color: var(--brand-300); background: var(--brand-50); color: var(--brand-700); }

/* ---- Painel de Risco — medidores empilhados ---- */
.pq-gauge-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}
.pq-gauge-row {
  display: grid;
  grid-template-columns: 220px 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px dashed var(--ink-200);
}
.pq-gauge-row:last-of-type { border-bottom: none; }
.pq-gauge-row .l-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
}
.pq-gauge-row .l-sub {
  font-size: 11px;
  color: var(--ink-500);
  margin-top: 3px;
}
.pq-gauge-row .gauge-col {
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: center;
}
.pq-gauge-row .gauge {
  position: relative;
  background: var(--ink-150);
  height: 14px;
  border-radius: 7px;
  overflow: hidden;
}
.pq-gauge-row .gauge .fill {
  height: 100%;
  background: var(--ok-500);
  border-radius: 7px;
  transition: width 0.6s;
}
.pq-gauge-row .gauge.warn .fill { background: var(--warn-500); }
.pq-gauge-row .gauge.bad .fill  { background: var(--bad-500); }
.pq-gauge-row .meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-700);
}
.pq-gauge-row .meta span:last-child { color: var(--ink-500); }
.pq-gauge-row .r-pct {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
}
.pq-gauge-row .r-trend {
  font-size: 11px;
  color: var(--ok-700);
  margin-top: 2px;
}
.pq-gauge-row .r-trend.bad { color: var(--bad-700); }

/* ---- Tabela compacta genérica ---- */
.pq-tbl {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pq-tbl thead { background: var(--ink-50); }
.pq-tbl th {
  text-align: left;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-500);
  padding: 10px 14px;
  border-bottom: 1px solid var(--ink-200);
  white-space: nowrap;
}
.pq-tbl td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--ink-150);
  vertical-align: middle;
}
.pq-tbl tbody tr:hover { background: var(--ink-50); }
.pq-tbl tbody tr.clickable { cursor: pointer; }

/* Two-column page layout */
.pq-2col {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 18px;
  align-items: start;
}
@media (max-width: 1200px) { .pq-2col { grid-template-columns: 1fr; } }
.pq-side-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}
.pq-side-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-900);
  margin: 0 0 12px;
  letter-spacing: -0.01em;
}

/* ---- Achados críticos: cronômetro e cartões ---- */
.pq-critical-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-left: 4px solid var(--bad-500);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: center;
}
.pq-critical-card.warn { border-left-color: var(--warn-500); }
.pq-critical-card.ok   { border-left-color: var(--ok-500); }
.pq-critical-card .case-no {
  font-family: var(--font-mono);
  font-size: 12px;
  background: var(--ink-100);
  color: var(--ink-700);
  padding: 4px 8px;
  border-radius: 5px;
  font-weight: 600;
}
.pq-critical-card .title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
  margin-bottom: 3px;
}
.pq-critical-card .meta {
  font-size: 12px;
  color: var(--ink-600);
}
.pq-critical-card .timer {
  text-align: right;
}
.pq-critical-card .timer .val {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--bad-700);
  letter-spacing: -0.01em;
}
.pq-critical-card.warn .timer .val { color: var(--warn-700); }
.pq-critical-card.ok   .timer .val { color: var(--ok-700); }
.pq-critical-card .timer .lbl {
  font-size: 10px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 2px;
}

/* ---- Heatmap calendário simples (NR-15, IBAMA) ---- */
.pq-heatmap {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 4px;
}
.pq-heatmap .cell {
  aspect-ratio: 1;
  border-radius: 3px;
  background: var(--ink-100);
  display: grid; place-items: center;
  font-size: 9px;
  color: var(--ink-500);
  font-family: var(--font-mono);
}
.pq-heatmap .cell.ok-1 { background: #DDEAE2; }
.pq-heatmap .cell.ok-2 { background: #B5CFC0; color: var(--ok-700); }
.pq-heatmap .cell.ok-3 { background: #7BA690; color: var(--paper); }
.pq-heatmap .cell.warn { background: var(--warn-50); color: var(--warn-700); }
.pq-heatmap .cell.bad  { background: var(--bad-50); color: var(--bad-700); }

/* ---- Modo Fiscalização — visual contido monocromático ---- */
.pq-fisc-shell {
  min-height: 100vh;
  background: var(--fisc-bg);
  color: var(--fisc-ink);
  font-family: var(--font-body);
}
.pq-fisc-top {
  display: flex; align-items: center; gap: 16px;
  background: var(--fisc-ink);
  color: var(--paper);
  padding: 0 24px;
  height: 52px;
  position: sticky; top: 0; z-index: 10;
}
.pq-fisc-top .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--paper);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.18);
  animation: pq-lis-spin 1.6s infinite;
}
.pq-fisc-top .title {
  font-family: var(--font-display);
  font-weight: 600; font-size: 14px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pq-fisc-top .who { font-size: 12px; color: rgba(255,255,255,0.7); margin-left: auto; }
.pq-fisc-top button.exit {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--paper);
  border-radius: 5px;
  padding: 5px 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
}
.pq-fisc-page {
  padding: 26px 28px 60px;
  max-width: 1280px;
  margin: 0 auto;
}
.pq-fisc-card {
  background: var(--paper);
  border: 1px solid var(--fisc-line);
  border-radius: 8px;
  padding: 18px 20px;
}
/* Link discreto "ver" — acesso somente leitura à evidência no Modo Fiscalização */
.pq-fisc-view {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 10.5px; font-weight: 600;
  color: var(--fisc-soft); text-decoration: none;
  border: 1px solid var(--fisc-line); border-radius: 5px;
  padding: 2px 7px; background: var(--fisc-bg);
  transition: border-color 0.15s, color 0.15s;
}
.pq-fisc-view:hover { color: var(--fisc-ink); border-color: var(--fisc-ink); }
.pq-fisc-card h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--fisc-ink);
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.pq-fisc-card .sub {
  font-size: 13px; color: var(--fisc-soft); margin-bottom: 16px;
}

/* ---- Configurações ---- */
.pq-config-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 22px;
}
.pq-config-nav {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 8px;
  position: sticky; top: 84px;
}
.pq-config-nav a {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  font-size: 13px;
  color: var(--ink-700);
  border-radius: 6px;
  cursor: pointer;
  text-decoration: none;
  font-weight: 500;
}
.pq-config-nav a:hover { background: var(--ink-50); color: var(--ink-900); }
.pq-config-nav a.active { background: var(--brand-50); color: var(--brand-700); font-weight: 600; }
.pq-config-nav a i { font-size: 16px; }

/* ---- Card panel padrão ---- */
.pq-panel {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 16px;
}
.pq-panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  color: var(--ink-900);
  margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.pq-panel-sub {
  font-size: 12.5px;
  color: var(--ink-500);
  margin-bottom: 14px;
}

/* ---- Container generic ---- */
.pq-page { padding: 28px 36px 60px; max-width: 1440px; margin: 0 auto; width: 100%; }


/* =========================================================================
   LIS — Indicadores de dependência (sidebar + banner)
   ========================================================================= */

/* Pílula de status do LIS no topo da sidebar */
.pq-sidebar-lis {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 11px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.15s;
  border-left: 3px solid var(--ok-500);
}
.pq-sidebar-lis:hover { background: var(--ink-50); }
.pq-sidebar-lis.lis-connected { border-left-color: var(--ok-500); }
.pq-sidebar-lis.lis-syncing   { border-left-color: var(--info-500); }
.pq-sidebar-lis.lis-stale     { border-left-color: var(--warn-500); }
.pq-sidebar-lis.lis-offline   { border-left-color: var(--bad-500); background: var(--bad-50); border-color: rgba(148,65,65,0.2); }

.pq-sidebar-lis .lis-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: 0 0 8px;
}
.pq-sidebar-lis.lis-connected .lis-dot { background: var(--ok-500);   box-shadow: 0 0 0 3px rgba(78, 128, 104, 0.18); }
.pq-sidebar-lis.lis-syncing .lis-dot   { background: var(--info-500); box-shadow: 0 0 0 3px rgba(73, 107, 149, 0.18); }
.pq-sidebar-lis.lis-stale .lis-dot     { background: var(--warn-500); box-shadow: 0 0 0 3px rgba(176, 122, 45, 0.18); }
.pq-sidebar-lis.lis-offline .lis-dot   { background: var(--bad-500);  box-shadow: 0 0 0 3px rgba(148, 65, 65, 0.18); }
.pq-sidebar-lis .lis-dot.spin { animation: pq-lis-pulse 1.2s infinite; }
@keyframes pq-lis-pulse {
  0%   { box-shadow: 0 0 0 1px rgba(73, 107, 149, 0.4); }
  50%  { box-shadow: 0 0 0 5px rgba(73, 107, 149, 0.06); }
  100% { box-shadow: 0 0 0 1px rgba(73, 107, 149, 0.4); }
}

.pq-sidebar-lis-meta { flex: 1; min-width: 0; line-height: 1.15; }
.pq-sidebar-lis-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-800);
}
.pq-sidebar-lis.lis-offline .pq-sidebar-lis-title { color: var(--bad-700); }
.pq-sidebar-lis-sub {
  font-size: 10.5px;
  color: var(--ink-500);
  font-family: var(--font-mono);
  margin-top: 2px;
}
.pq-sidebar-lis.lis-offline .pq-sidebar-lis-sub { color: var(--bad-700); font-weight: 600; }

/* Indicador "depende de LIS" em cada item do menu lateral */
.pq-nav-item .pq-nav-lis {
  width: 7px; height: 7px;
  border-radius: 50%;
  flex: 0 0 7px;
  margin-left: auto;
  position: relative;
}
.pq-nav-item .pq-nav-lis.lis-connected { background: var(--ok-500); }
.pq-nav-item .pq-nav-lis.lis-syncing   { background: var(--info-500); animation: pq-lis-pulse 1.2s infinite; }
.pq-nav-item .pq-nav-lis.lis-stale     { background: var(--warn-500); }
.pq-nav-item .pq-nav-lis.lis-offline   {
  background: var(--bad-500);
  /* Para destacar quando offline, faz a bolinha "pulsar" sutilmente */
  box-shadow: 0 0 0 2px rgba(148, 65, 65, 0.18);
  animation: pq-lis-pulse-bad 1.6s infinite;
}
@keyframes pq-lis-pulse-bad {
  0%, 100% { box-shadow: 0 0 0 2px rgba(148, 65, 65, 0.18); }
  50%      { box-shadow: 0 0 0 5px rgba(148, 65, 65, 0.05); }
}

/* Item do menu que depende de LIS, quando ele está offline:
   o nome fica com leve degrade e ícone com traço para sinalizar indisponibilidade */
.pq-nav-item.lis-offline {
  position: relative;
}
.pq-nav-item.lis-offline > span:not(.badge):not(.pq-nav-lis) {
  color: var(--ink-500);
}
.pq-nav-item.lis-offline > i.v-icon {
  color: var(--ink-400);
}
.pq-nav-item.lis-offline.active > span:not(.badge):not(.pq-nav-lis) {
  color: var(--brand-700);
}

/* Garante que badge "novo" / counter continue à direita do indicador LIS */
.pq-nav-item .pq-nav-lis + .badge {
  margin-left: 8px;
}

/* =========================================================================
   Banner global "LIS fora do ar"
   ========================================================================= */
.pq-lis-banner {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  background: linear-gradient(90deg, #FCEFEF 0%, #FAE9E9 100%);
  border-bottom: 1px solid rgba(148, 65, 65, 0.22);
  border-left: 4px solid var(--bad-500);
}
.pq-lis-banner-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--bad-500);
  color: var(--paper);
  display: grid; place-items: center;
  flex: 0 0 36px;
}
.pq-lis-banner-icon i { font-size: 20px; }
.pq-lis-banner-body { flex: 1; min-width: 0; }
.pq-lis-banner-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--bad-700);
  letter-spacing: -0.005em;
}
.pq-lis-banner-sub {
  font-size: 12px;
  color: var(--ink-700);
  margin-top: 3px;
  line-height: 1.45;
}
.pq-lis-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--paper);
  border: 1px solid rgba(148, 65, 65, 0.25);
  border-radius: 99px;
  padding: 1px 8px;
  font-size: 10.5px;
  font-weight: 600;
  color: var(--bad-700);
  margin: 0 2px;
}
.pq-lis-banner-actions {
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Painel de simulação dentro do popover do LISBadge (demo) */
.pq-lis-pop-demo {
  border-top: 1px dashed var(--ink-200);
  padding: 10px 14px;
  background: var(--ink-50);
}
.pq-lis-pop-demo-label {
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-500);
  margin-bottom: 6px;
}
.pq-lis-pop-demo-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.lis-demo-btn {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  padding: 5px 8px;
  border-radius: 5px;
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  color: var(--ink-700);
}
.lis-demo-btn.ok.active   { background: var(--ok-50);   border-color: rgba(78,128,104,0.35);  color: var(--ok-700);  font-weight: 600; }
.lis-demo-btn.info.active { background: var(--info-50); border-color: rgba(73,107,149,0.35);  color: var(--info-500);font-weight: 600; }
.lis-demo-btn.warn.active { background: var(--warn-50); border-color: rgba(176,122,45,0.35);  color: var(--warn-700);font-weight: 600; }
.lis-demo-btn.bad.active  { background: var(--bad-50);  border-color: rgba(148,65,65,0.35);   color: var(--bad-700); font-weight: 600; }

/* Estado offline do próprio badge (deixa-o mais firme/visível) */
.pq-lis-badge.bad,
.pq-lis-badge.offline {
  background: var(--bad-50);
  border-color: rgba(148, 65, 65, 0.35);
  color: var(--bad-700);
}
.pq-lis-badge.bad .lis-system,
.pq-lis-badge.offline .lis-system { color: var(--bad-700); }
.pq-lis-badge.bad .lis-when,
.pq-lis-badge.offline .lis-when { color: var(--bad-700); font-weight: 600; }


/* =========================================================================
   Bloco 3 (Jornada) — Novos componentes
   ========================================================================= */

/* Toast */
.pq-toast-stack {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 9000;
  pointer-events: none;
}
.pq-toast {
  display: flex; align-items: center; gap: 10px;
  background: var(--ink-900); color: var(--paper);
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px; font-weight: 500;
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  animation: pq-toast-in 0.25s ease-out;
  pointer-events: auto;
}
.pq-toast.ok  { background: var(--ok-700); }
.pq-toast.bad { background: var(--bad-700); }
.pq-toast.info { background: var(--info-500); }
@keyframes pq-toast-in {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

/* Star de favorito no card de área */
.pq-area-fav {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: 4px;
}
.pq-area-fav:hover { background: var(--ink-100); }

/* Lista compacta de áreas */
.pq-area-list {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.pq-area-list-row {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--ink-150);
  transition: background 0.12s;
}
.pq-area-list-row:hover { background: var(--ink-50); }
.pq-area-list-row:last-child { border-bottom: none; }

/* Chat consultor */
.pq-consult-chat {
  background: var(--ink-50);
  border-radius: 10px;
  padding: 12px;
  max-height: 320px;
  overflow-y: auto;
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pq-consult-msg {
  display: flex;
}
.pq-consult-msg.user { justify-content: flex-end; }
.pq-consult-msg.assistant { justify-content: flex-start; }
.pq-consult-msg-bubble {
  max-width: 84%;
  padding: 9px 13px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  white-space: pre-wrap;
}
.pq-consult-msg.user .pq-consult-msg-bubble {
  background: var(--brand-700);
  color: var(--paper);
  border-bottom-right-radius: 4px;
}
.pq-consult-msg.assistant .pq-consult-msg-bubble {
  background: var(--paper);
  color: var(--ink-800);
  border: 1px solid var(--ink-200);
  border-bottom-left-radius: 4px;
}
.pq-consult-msg-bubble.loading {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 12px 16px;
}
.dot-typing {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ink-400);
  animation: pq-typing 1.2s infinite;
}
.dot-typing:nth-child(2) { animation-delay: 0.15s; }
.dot-typing:nth-child(3) { animation-delay: 0.3s; }
@keyframes pq-typing {
  0%, 60%, 100% { opacity: 0.3; transform: translateY(0); }
  30% { opacity: 1; transform: translateY(-3px); }
}

/* Input do chat */
.pq-consult-input {
  display: flex; gap: 6px;
  margin-top: 8px;
}
.pq-consult-input input {
  flex: 1;
  border: 1px solid var(--ink-200);
  border-radius: 7px;
  padding: 8px 12px;
  font-family: var(--font-body);
  font-size: 12.5px;
  background: var(--paper);
}
.pq-consult-input input:focus { outline: none; border-color: var(--jor-accent); }
.pq-consult-input button {
  background: var(--jor-accent);
  color: var(--paper);
  border: none;
  padding: 0 14px;
  border-radius: 7px;
  cursor: pointer;
}
.pq-consult-input button:disabled { background: var(--ink-300); cursor: not-allowed; }

/* Step row — variantes de status */
.pq-step-row.done .pq-step-num { background: var(--ok-500); color: var(--paper); }
.pq-step-row.na .pq-step-num   { background: var(--ink-300); color: var(--paper); }
.pq-step-row.active .pq-step-num { background: var(--warn-500); color: var(--paper); }
.pq-step-row.skip .pq-step-num { background: var(--ink-200); color: var(--ink-500); }

/* Celebração — animação contida */
.pq-celebrate {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.pq-celebrate.in {
  opacity: 1;
  transform: translateY(0);
}
.pq-celebrate-medal {
  position: relative;
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
  background: linear-gradient(135deg, var(--jor-accent), #1E5A3F);
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 8px 28px rgba(45,106,77,0.30);
}
.pq-celebrate-medal-icon {
  color: var(--paper);
  z-index: 1;
}
.pq-celebrate-ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.pq-celebrate-ring-fg {
  animation: pq-ring-fill 1.4s ease-out 0.2s forwards;
}
@keyframes pq-ring-fill {
  to { stroke-dashoffset: 0; }
}
.pq-celebrate-h1, .pq-celebrate-p, .pq-celebrate-stats {
  animation: pq-celebrate-fade 0.5s ease-out 0.6s both;
}
@keyframes pq-celebrate-fade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Ring base — garantir tamanho responsivo */
.progress-ring {
  display: inline-block;
}
.progress-ring svg { display: block; }
.progress-ring .ring-bg { stroke: var(--ink-150); }
.progress-ring .ring-fg { stroke: var(--jor-accent); transition: stroke-dasharray 0.5s ease; }

/* Card de área no mapa — ajustes do botão favoritar */
.pq-area-tile { position: relative; }

/* Painel/lista em panel reutilizável */
.pq-panel-title { font-family: var(--font-display); font-weight:600; font-size:15px; color:var(--ink-900); margin:0 0 4px; letter-spacing:-0.01em; }
.pq-panel-sub { font-size: 12px; color: var(--ink-500); margin-bottom: 12px; }

/* Override do step-num para passos done — bola verde com check */
.pq-step-row.done { color: var(--ok-700); }
.pq-step-row.done .pq-step-num i { font-size: 13px; }

/* Norma group: pillow on title */


/* =========================================================================
   Modal genérico (usado no preview de documento do onboarding)
   ========================================================================= */
.pq-modal-backdrop {
  position: fixed; inset: 0;
  background: rgba(15, 23, 42, 0.55);
  z-index: 9100;
  display: grid; place-items: center;
  padding: 24px;
  animation: pq-fade-in 0.18s ease-out;
}
@keyframes pq-fade-in { from { opacity: 0; } to { opacity: 1; } }
.pq-modal {
  background: var(--paper);
  border-radius: 14px;
  max-width: 720px;
  width: 100%;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-xl);
  animation: pq-modal-in 0.22s ease-out;
}
@keyframes pq-modal-in {
  from { opacity: 0; transform: translateY(12px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pq-modal-head {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--ink-150);
}
.pq-modal-body {
  flex: 1;
  overflow-y: auto;
  padding: 18px 20px;
}
.pq-modal-foot {
  display: flex; align-items: center; justify-content: flex-end; gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--ink-150);
}


/* =========================================================================
   Vacinação NR-32 — Tabela Individual / Consolidada
   ========================================================================= */
.pq-vac-mode-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}
.pq-vac-mode-toggle {
  display: inline-flex;
  background: var(--ink-100);
  padding: 4px;
  border-radius: 9px;
  gap: 2px;
}
.pq-vac-mode-btn {
  display: inline-flex; align-items: center;
  background: transparent;
  border: none;
  padding: 9px 14px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-600);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.12s;
}
.pq-vac-mode-btn:hover { color: var(--ink-900); }
.pq-vac-mode-btn.active {
  background: var(--paper);
  color: var(--ink-900);
  font-weight: 600;
  box-shadow: var(--shadow-xs);
}
.pq-vac-mode-sub { color: var(--ink-500); font-weight: 400; font-size: 11.5px; }
.pq-vac-mode-btn.active .pq-vac-mode-sub { color: var(--ink-600); }

.pq-vac-consolidated-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 14px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 8px;
  flex: 1;
  min-width: 0;
}
.pq-vac-consolidated-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-700);
}
.pq-vac-consolidated-hint {
  font-size: 11.5px;
  color: var(--ink-600);
  font-style: italic;
}

.pq-vac-table-wrap {
  padding: 0;
  overflow-x: auto;
}
.pq-vac-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12.5px;
}
.pq-vac-table thead { background: var(--ink-50); }
.pq-vac-table th {
  text-align: left;
  padding: 12px 10px;
  border-bottom: 1px solid var(--ink-200);
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-500);
  font-weight: 700;
}
.pq-vac-table th.pq-vac-th-check { width: 44px; padding-left: 14px; }
.pq-vac-table th.pq-vac-th-name { min-width: 220px; }
.pq-vac-table th.pq-vac-th-vac {
  text-align: center;
  min-width: 110px;
}
.pq-vac-th-vac-name {
  font-size: 11px;
  color: var(--ink-700);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 2px;
}
.pq-vac-th-vac-sigla {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-400);
  font-weight: 600;
  letter-spacing: 0.04em;
}

.pq-vac-table tbody tr {
  border-bottom: 1px solid var(--ink-150);
}
.pq-vac-table tbody tr:hover { background: var(--ink-50); }
.pq-vac-table tbody tr.selected { background: rgba(36, 62, 104, 0.04); }
.pq-vac-table tbody tr.selected:hover { background: rgba(36, 62, 104, 0.06); }

.pq-vac-td-check { width: 44px; padding: 10px 0 10px 14px; }
.pq-vac-td-name { padding: 10px 12px; min-width: 220px; }
.pq-vac-name-row { display: flex; align-items: center; gap: 10px; }
.pq-vac-name-avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--brand-100);
  color: var(--brand-700);
  display: grid; place-items: center;
  font-weight: 600;
  font-size: 11px;
  flex: 0 0 32px;
}
.pq-vac-name-text {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink-900);
  line-height: 1.3;
}
.pq-vac-name-fn {
  font-size: 10.5px;
  color: var(--ink-500);
  margin-top: 1px;
}

.pq-vac-td-cell { padding: 6px 8px; text-align: center; vertical-align: middle; }
.pq-vac-td-cell.focused {
  background: linear-gradient(180deg, rgba(36, 62, 104, 0.05), transparent);
  box-shadow: inset 0 0 0 1px rgba(36, 62, 104, 0.12);
}

.pq-vac-cell {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 7px;
  border-radius: 6px;
  border: 1px solid transparent;
  background: transparent;
  font-family: var(--font-body);
  font-size: 11.5px;
  cursor: default;
  min-width: 92px;
  justify-content: space-between;
}
.pq-vac-cell.ok       { background: var(--ok-50);   color: var(--ok-700);   border-color: rgba(78,128,104,0.18); }
.pq-vac-cell.expiring { background: var(--warn-50); color: var(--warn-700); border-color: rgba(176,122,45,0.20); }
.pq-vac-cell.expired  { background: var(--bad-50);  color: var(--bad-700);  border-color: rgba(148,65,65,0.25); }
.pq-vac-cell.empty {
  cursor: pointer;
  color: var(--ink-500);
  background: transparent;
  border: 1px dashed var(--ink-300);
  padding: 5px 9px;
  min-width: auto;
  gap: 4px;
}
.pq-vac-cell.empty:hover {
  background: var(--brand-50);
  border-color: var(--brand-500);
  color: var(--brand-700);
}
.pq-vac-cell-empty-label { font-size: 11px; font-weight: 500; }
.pq-vac-cell-date {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: 0.01em;
}
.pq-vac-cell-actions { display: inline-flex; gap: 2px; }
.pq-vac-cell-actions .pq-icon-btn {
  width: 22px; height: 22px;
  color: inherit;
  opacity: 0.55;
}
.pq-vac-cell-actions .pq-icon-btn:hover { opacity: 1; background: rgba(0,0,0,0.06); }

/* Checkbox custom */
.pq-vac-check {
  display: inline-block;
  position: relative;
  width: 18px; height: 18px;
  cursor: pointer;
  vertical-align: middle;
}
.pq-vac-check input { display: none; }
.pq-vac-check-box {
  position: absolute; inset: 0;
  background: var(--paper);
  border: 1.5px solid var(--ink-300);
  border-radius: 4px;
  transition: all 0.12s;
}
.pq-vac-check input:checked + .pq-vac-check-box {
  background: var(--brand-700);
  border-color: var(--brand-700);
}
.pq-vac-check input:checked + .pq-vac-check-box::after {
  content: "";
  position: absolute;
  left: 5px; top: 1px;
  width: 5px; height: 10px;
  border: 2px solid var(--paper);
  border-top: none; border-left: none;
  transform: rotate(45deg);
}

/* Painel consolidado abaixo da tabela */
.pq-vac-consolidated-pane {
  margin-top: 16px;
  padding: 20px 22px;
  background: linear-gradient(180deg, var(--brand-50) 0%, var(--paper) 100%);
  border: 1px solid var(--brand-100);
  border-radius: var(--radius-md);
}
.pq-vac-consolidated-head { margin-bottom: 16px; }
.pq-vac-consolidated-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  align-items: start;
}
@media (max-width: 780px) {
  .pq-vac-consolidated-grid { grid-template-columns: 1fr; }
}


/* =========================================================================
   Rodapé global de identificação da tela
   ========================================================================= */
.pq-screen-footer {
  position: fixed;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  z-index: 9000;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 10px;
  background: rgba(11, 18, 32, 0.78);
  color: rgba(255, 255, 255, 0.94);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.18);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  pointer-events: auto;
  user-select: all;
  transition: opacity 0.18s, transform 0.18s;
}
.pq-screen-footer:hover {
  opacity: 1;
  background: rgba(11, 18, 32, 0.92);
}
.pq-sf-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--ok-500);
  box-shadow: 0 0 0 3px rgba(78, 128, 104, 0.28);
  flex: 0 0 6px;
}
.pq-sf-code {
  white-space: nowrap;
  letter-spacing: 0.06em;
}

/* No Modo Fiscalização (visual contido), o rodapé fica mais discreto */
.pq-fisc-shell ~ .pq-screen-footer,
body:has(.pq-fisc-shell) .pq-screen-footer {
  background: rgba(17, 20, 24, 0.92);
}

/* Em viewports pequenos, reduz */
@media (max-width: 540px) {
  .pq-screen-footer {
    bottom: 6px;
    font-size: 10px;
    padding: 4px 10px 4px 8px;
  }
}

/* Garante espaço no fim das páginas para não esconder conteúdo */
.pq-content,
.pq-page,
.pq-fisc-page {
  padding-bottom: 56px !important;
}


/* Header da matriz reusável de vacinação */
.pq-vac-matrix {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 14px;
}
.pq-vac-matrix-head {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
}
.pq-vac-matrix-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-700); margin-bottom: 4px;
}
.pq-vac-matrix-title {
  font-family: var(--font-display); font-weight: 600;
  font-size: 17px; color: var(--ink-900); margin: 0;
  letter-spacing: -0.01em;
}
.pq-vac-matrix-sub {
  font-size: 12px; color: var(--ink-500); margin-top: 4px;
}
.pq-vac-matrix-kpis {
  display: flex; gap: 12px;
}
.pq-vac-matrix-kpi {
  background: var(--ink-50);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  padding: 6px 12px;
  text-align: center;
  min-width: 64px;
}
.pq-vac-matrix-kpi .v {
  font-family: var(--font-display); font-weight: 600; font-size: 16px;
  color: var(--ink-900); letter-spacing: -0.01em; line-height: 1;
}
.pq-vac-matrix-kpi .k {
  font-size: 9.5px; font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-500); margin-top: 3px;
}


/* Multi-select de vacinas (chips) — substitui select */
.pq-vac-vacinas-chips {
  display: inline-flex; gap: 4px; flex-wrap: wrap;
}
.pq-vac-vacina-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 9px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 99px;
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 600;
  color: var(--ink-600);
  cursor: pointer;
  transition: all 0.12s;
  letter-spacing: 0.02em;
}
.pq-vac-vacina-chip:hover {
  border-color: var(--brand-300);
  color: var(--ink-900);
}
.pq-vac-vacina-chip.on {
  background: var(--brand-700);
  color: var(--paper);
  border-color: var(--brand-700);
}
.pq-vac-vacina-chip.on i { color: var(--paper); }


/* =========================================================================
   Busca Global (Ctrl+K / Cmd+K)
   ========================================================================= */
.pq-gs-backdrop {
  position: fixed; inset: 0;
  background: rgba(11, 18, 32, 0.55);
  display: grid; place-items: start center;
  padding-top: 12vh;
  z-index: 4000;
  animation: pq-gs-fade 0.12s ease-out;
}
@keyframes pq-gs-fade { from { opacity: 0; } to { opacity: 1; } }

.pq-gs-modal {
  width: min(640px, calc(100vw - 32px));
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 12px;
  box-shadow: 0 24px 48px -12px rgba(11, 18, 32, 0.28), 0 8px 16px -6px rgba(11, 18, 32, 0.12);
  overflow: hidden;
  display: flex; flex-direction: column;
  max-height: 70vh;
  animation: pq-gs-rise 0.14s ease-out;
}
@keyframes pq-gs-rise { from { transform: translateY(8px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.pq-gs-input {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--ink-150);
}
.pq-gs-input .v-icon { font-size: 20px; color: var(--ink-400); }
.pq-gs-input input {
  flex: 1;
  border: none; outline: none; background: transparent;
  font-size: 15px; font-family: var(--font-display); font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.pq-gs-input input::placeholder { color: var(--ink-400); font-weight: 400; }
.pq-gs-kbd {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-500);
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.pq-gs-results {
  flex: 1;
  overflow-y: auto;
  padding: 6px;
}
.pq-gsr-group { padding: 4px 0 6px; }
.pq-gsr-group + .pq-gsr-group { border-top: 1px solid var(--ink-150); margin-top: 4px; padding-top: 8px; }
.pq-gsr-group-h {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 12px 4px;
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-500); font-weight: 600;
}
.pq-gsr-group-n {
  font-family: var(--font-mono);
  background: var(--ink-100);
  color: var(--ink-600);
  font-size: 10px;
  padding: 1px 6px;
  border-radius: 999px;
  letter-spacing: 0;
}

.pq-gsr-item {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 10px;
  border-radius: 6px;
  cursor: pointer;
  margin: 0 4px;
}
.pq-gsr-item.active { background: var(--brand-50); }
.pq-gsr-item.active .pq-gsr-label { color: var(--brand-700); }

.pq-gsr-ico {
  width: 30px; height: 30px;
  border-radius: 6px;
  background: var(--ink-100);
  color: var(--ink-600);
  display: grid; place-items: center;
  flex: 0 0 30px;
}
.pq-gsr-item.active .pq-gsr-ico { background: var(--brand-100); color: var(--brand-700); }
.pq-gsr-ico .v-icon { font-size: 16px; }

.pq-gsr-meta { flex: 1; min-width: 0; }
.pq-gsr-label {
  font-size: 13px; font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.005em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pq-gsr-sub {
  font-size: 11.5px;
  color: var(--ink-500);
  margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pq-gsr-enter {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--brand-600);
  font-weight: 600;
  width: 16px; text-align: center;
}

.pq-gsr-empty {
  padding: 36px 24px;
  text-align: center;
}

.pq-gs-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid var(--ink-150);
  background: var(--ink-50);
  font-size: 11px;
  color: var(--ink-500);
}
.pq-gs-foot .hints { display: flex; gap: 16px; }
.pq-gs-foot .hints span { display: flex; align-items: center; gap: 5px; }
.pq-gs-foot kbd {
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  padding: 1px 5px;
  border-radius: 3px;
  color: var(--ink-700);
  min-width: 14px;
  text-align: center;
}
.pq-gs-foot .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
}

/* Tornar o chip de busca do topbar clicável */
.pq-topbar-search-trigger {
  cursor: pointer;
  transition: background 0.12s ease;
}
.pq-topbar-search-trigger:hover { background: var(--ink-200) !important; }

/* =========================================================================
   Visão por Órgão Fiscalizador (dentro de Conformidade)
   ========================================================================= */
.pq-view-toggle {
  display: inline-flex;
  background: var(--ink-100);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  padding: 3px;
  gap: 2px;
}
.pq-view-toggle button {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: transparent;
  border: none;
  border-radius: 5px;
  font-size: 12px; font-weight: 600;
  color: var(--ink-600);
  cursor: pointer;
  letter-spacing: -0.005em;
}
.pq-view-toggle button:hover { color: var(--ink-900); }
.pq-view-toggle button.active {
  background: var(--paper);
  color: var(--brand-700);
  box-shadow: 0 1px 3px rgba(11,18,32,0.08);
}
.pq-view-toggle button .v-icon { font-size: 14px; }

.pq-orgaos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 14px;
}
.pq-orgao-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  padding: 16px 16px 14px;
  cursor: pointer;
  transition: border-color 0.12s ease, box-shadow 0.12s ease, transform 0.12s ease;
  position: relative;
  display: flex; flex-direction: column;
}
.pq-orgao-card:hover {
  border-color: var(--brand-300);
  box-shadow: 0 4px 12px -4px rgba(11,18,32,0.10);
  transform: translateY(-1px);
}
.pq-orgao-card.selected {
  border-color: var(--brand-600);
  box-shadow: 0 0 0 3px var(--brand-50);
}
.pq-orgao-card-head {
  display: flex; align-items: flex-start; gap: 10px;
  margin-bottom: 10px;
}
.pq-orgao-ico {
  width: 36px; height: 36px;
  border-radius: 8px;
  display: grid; place-items: center;
  flex: 0 0 36px;
}
.pq-orgao-ico .v-icon { font-size: 18px; }
.pq-orgao-card-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  line-height: 1.2;
}
.pq-orgao-card-esfera {
  font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--ink-500); font-weight: 600;
  margin-top: 2px;
}
.pq-orgao-stack {
  display: flex; align-items: center;
  height: 8px;
  border-radius: 4px;
  overflow: hidden;
  background: var(--ink-100);
  margin-bottom: 10px;
}
.pq-orgao-stack .seg.ok   { background: var(--ok-500); }
.pq-orgao-stack .seg.warn { background: var(--warn-500); }
.pq-orgao-stack .seg.bad  { background: var(--bad-500); }
.pq-orgao-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  margin-bottom: 12px;
}
.pq-orgao-count {
  font-size: 10.5px;
  color: var(--ink-600);
  display: flex; align-items: center; gap: 5px;
}
.pq-orgao-count .dot { width: 7px; height: 7px; border-radius: 50%; flex: 0 0 7px; }
.pq-orgao-count .dot.ok   { background: var(--ok-500); }
.pq-orgao-count .dot.warn { background: var(--warn-500); }
.pq-orgao-count .dot.bad  { background: var(--bad-500); }
.pq-orgao-count .n { font-weight: 700; color: var(--ink-900); font-family: var(--font-mono); }

.pq-orgao-card-foot {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px;
  border-top: 1px solid var(--ink-150);
  font-size: 11px;
  color: var(--ink-600);
}
.pq-orgao-card-foot .expos {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--bad-700);
}
.pq-orgao-card-foot .expos.ok { color: var(--ok-700); }
.pq-orgao-card-foot .vence {
  display: flex; align-items: center; gap: 4px;
  color: var(--warn-700);
}
.pq-orgao-card-foot .vence.muted { color: var(--ink-500); }

.pq-orgao-filter-active {
  display: flex; align-items: center; gap: 10px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 8px;
  padding: 8px 12px;
  margin-bottom: 12px;
  font-size: 12.5px;
  color: var(--brand-700);
}
.pq-orgao-filter-active .v-icon { font-size: 16px; }
.pq-orgao-filter-active button {
  margin-left: auto;
  background: transparent;
  border: 1px solid var(--brand-300);
  color: var(--brand-700);
  border-radius: 5px;
  padding: 3px 10px;
  font-size: 11px;
  cursor: pointer;
  font-weight: 600;
}
.pq-orgao-filter-active button:hover { background: var(--brand-100); }

/* =========================================================================
   Favoritos por Papel (Configurações do Usuário)
   ========================================================================= */
.pq-fav-shell {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.pq-fav-col-h {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 10px;
}
.pq-fav-col-h h4 {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  color: var(--ink-900);
  margin: 0;
}
.pq-fav-col-h .count {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-500);
  background: var(--ink-100);
  padding: 2px 8px;
  border-radius: 999px;
}
.pq-fav-col-h .count.full { background: var(--warn-50); color: var(--warn-700); }

.pq-fav-list {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  padding: 4px;
  min-height: 360px;
}
.pq-fav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px;
  border-radius: 6px;
  background: var(--paper);
  border: 1px solid transparent;
  margin-bottom: 2px;
  cursor: grab;
  transition: background 0.1s, border-color 0.1s;
}
.pq-fav-item:hover { background: var(--ink-50); border-color: var(--ink-200); }
.pq-fav-item.dragging { opacity: 0.4; }
.pq-fav-item.drop-target { border-top: 2px solid var(--brand-600); }
.pq-fav-handle {
  color: var(--ink-300);
  cursor: grab;
  flex: 0 0 16px;
}
.pq-fav-handle .v-icon { font-size: 16px; }
.pq-fav-item:hover .pq-fav-handle { color: var(--ink-500); }

.pq-fav-ico {
  width: 28px; height: 28px;
  border-radius: 6px;
  background: var(--brand-50);
  color: var(--brand-700);
  display: grid; place-items: center;
  flex: 0 0 28px;
}
.pq-fav-ico .v-icon { font-size: 15px; }

.pq-fav-meta { flex: 1; min-width: 0; }
.pq-fav-label {
  font-size: 12.5px; font-weight: 600;
  color: var(--ink-900);
  letter-spacing: -0.005em;
}
.pq-fav-sub {
  font-size: 10.5px; color: var(--ink-500); margin-top: 1px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.pq-fav-pos {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-400);
  padding: 1px 5px;
  border-radius: 3px;
  background: var(--ink-100);
}
.pq-fav-remove, .pq-fav-add {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--ink-400);
  padding: 4px;
  border-radius: 4px;
  flex: 0 0 24px;
}
.pq-fav-remove:hover { color: var(--bad-500); background: var(--bad-50); }
.pq-fav-add:hover { color: var(--ok-700); background: var(--ok-50); }
.pq-fav-item.disabled { opacity: 0.5; cursor: not-allowed; }
.pq-fav-item.disabled .pq-fav-add { color: var(--ink-300); cursor: not-allowed; }
.pq-fav-item.added { background: var(--ok-50); }
.pq-fav-item.added .pq-fav-add { color: var(--ok-700); }

.pq-fav-empty {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 40px 20px;
  color: var(--ink-500);
  text-align: center;
  font-size: 12px;
  border: 1px dashed var(--ink-200);
  border-radius: 6px;
  margin: 4px;
}
.pq-fav-empty .v-icon { font-size: 28px; color: var(--ink-300); margin-bottom: 8px; }

.pq-fav-search {
  display: flex; align-items: center; gap: 6px;
  background: var(--ink-100);
  border-radius: 6px;
  padding: 6px 10px;
  margin-bottom: 10px;
}
.pq-fav-search input {
  border: none; outline: none; background: transparent;
  font-size: 12px; color: var(--ink-900);
  flex: 1;
}
.pq-fav-search .v-icon { font-size: 14px; color: var(--ink-500); }

.pq-fav-role-card {
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 8px;
  padding: 12px 14px;
  margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.pq-fav-role-card .v-icon { font-size: 22px; color: var(--brand-700); }
.pq-fav-role-card .meta { flex: 1; }
.pq-fav-role-card .role-name {
  font-family: var(--font-display); font-weight: 600;
  color: var(--brand-700); font-size: 13.5px; letter-spacing: -0.005em;
}
.pq-fav-role-card .role-sub {
  font-size: 11.5px; color: var(--ink-600); margin-top: 2px;
}
.pq-fav-role-card button {
  background: var(--paper);
  border: 1px solid var(--brand-300);
  color: var(--brand-700);
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 11.5px; font-weight: 600;
  cursor: pointer;
}
.pq-fav-role-card button:hover { background: var(--brand-100); }

.pq-fav-role-table {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  overflow: hidden;
  margin-top: 14px;
}
.pq-fav-role-table-h {
  background: var(--ink-50);
  padding: 8px 12px;
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--ink-500); font-weight: 600;
  border-bottom: 1px solid var(--ink-150);
}
.pq-fav-role-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 12px;
  padding: 10px 12px;
  border-bottom: 1px solid var(--ink-150);
  font-size: 12px;
  align-items: center;
}
.pq-fav-role-row:last-child { border-bottom: none; }
.pq-fav-role-row.current { background: var(--brand-50); }
.pq-fav-role-row .role {
  font-weight: 600; color: var(--ink-900);
  font-family: var(--font-display); letter-spacing: -0.005em;
}
.pq-fav-role-row .role .badge-current {
  display: inline-block;
  margin-left: 6px;
  font-family: var(--font-mono);
  font-size: 9.5px;
  background: var(--brand-700);
  color: var(--paper);
  padding: 1px 5px;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}
.pq-fav-role-row .chips {
  display: flex; flex-wrap: wrap; gap: 4px;
}
.pq-fav-role-row .chip {
  font-size: 10.5px;
  background: var(--ink-100);
  color: var(--ink-700);
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 500;
}
.pq-fav-role-row.current .chip { background: var(--paper); border: 1px solid var(--brand-100); color: var(--brand-700); }

/* =========================================================================
   Cards de Evidência por item (AreaWizard) — ações por evidência
   ========================================================================= */
.pq-evid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 12px;
}

.pq-evid-card-v2 {
  position: relative;
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}
.pq-evid-card-v2:hover {
  border-color: var(--ink-300);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-1px);
}
.pq-evid-accent {
  height: 3px;
  width: 100%;
}
.pq-evid-card-body {
  padding: 14px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}
.pq-evid-card-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.pq-evid-icon {
  width: 38px; height: 38px;
  border-radius: 9px;
  display: grid; place-items: center;
  flex: 0 0 38px;
}
.pq-evid-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.35;
  letter-spacing: -0.005em;
}
.pq-evid-status {
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 2px 7px;
  border-radius: 3px;
}
.pq-evid-type-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: var(--ink-600);
  background: var(--ink-50);
  padding: 2px 7px;
  border-radius: 3px;
  letter-spacing: 0.02em;
}
.pq-evid-optional-tag {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink-500);
  background: var(--ink-100);
  padding: 1px 6px;
  border-radius: 3px;
}
.pq-evid-detail {
  font-size: 12px;
  color: var(--ink-600);
  line-height: 1.5;
  font-style: italic;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.5);
  border-left: 2px solid var(--ink-200);
  border-radius: 0 4px 4px 0;
}
.pq-evid-link {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-500);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pq-evid-file {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ok-700);
  background: rgba(78, 128, 104, 0.08);
  border: 1px solid rgba(78, 128, 104, 0.2);
  padding: 6px 10px;
  border-radius: 6px;
  font-weight: 600;
}
.pq-evid-reason {
  display: flex;
  align-items: flex-start;
  gap: 6px;
  font-size: 11.5px;
  color: var(--ink-600);
  font-style: italic;
  background: rgba(0, 0, 0, 0.02);
  padding: 6px 10px;
  border-radius: 6px;
}
.pq-evid-reason i { margin-top: 1px; color: var(--ink-400); }

.pq-evid-actions {
  padding: 10px 14px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  border-top: 1px solid rgba(0, 0, 0, 0.04);
  background: rgba(255, 255, 255, 0.35);
}
.pq-evid-primary {
  width: 100%;
  justify-content: center;
  font-size: 12px !important;
  padding: 8px 14px !important;
  height: auto !important;
  background: var(--jor-accent) !important;
}
.pq-evid-card-v2 .pq-btn-outline.pq-evid-primary {
  background: var(--paper) !important;
  color: var(--ink-700);
}
.pq-evid-actions-row {
  display: flex;
  gap: 6px;
}
.pq-evid-secondary {
  flex: 1;
  font-size: 11px !important;
  padding: 5px 10px !important;
  height: auto !important;
  background: transparent;
  border: 1px solid var(--ink-200);
  color: var(--ink-600);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-family: var(--font-body);
  font-weight: 500;
  transition: background 0.12s, border-color 0.12s, color 0.12s;
}
.pq-evid-secondary:hover {
  background: var(--ink-50);
  border-color: var(--ink-300);
  color: var(--ink-900);
}

.pq-evid-dialog {
  margin: 0 14px 14px;
  padding: 12px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 7px;
}

@media (max-width: 1400px) {
  .pq-evid-grid { grid-template-columns: 1fr; }
}

/* =========================================================================
   Lista compacta de evidências (substitui os cards grid)
   Linhas com ações à ESQUERDA, ícone de status, título, info e tag.
   ========================================================================= */
.pq-evid-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.pq-evid-row-wrap {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pq-evid-row {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 14px;
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 10px;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.pq-evid-row.lis{align-items:start}
.pq-evid-row:hover {
  border-color: var(--ink-300);
}
.pq-evid-row.anexado,
.pq-evid-row.cadastrado {
  background: var(--ok-50);
  border-color: rgba(78,128,104,0.28);
}
.pq-evid-row.na {
  background: var(--ink-50);
  border-color: var(--ink-200);
}
.pq-evid-row.adiado {
  background: #FFF7E6;
  border-color: rgba(176,122,45,0.3);
}
.pq-evid-row.vencida {
  background: #FBF0EE;
  border-color: rgba(148,65,65,0.32);
}

/* Badge de periodicidade — obrigação recorrente (passo + evidência) */
.pq-recur-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: #EEF1F5;
  color: var(--ink-600);
  border: 1px solid var(--ink-200);
  border-radius: 999px;
  padding: 2px 8px 2px 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  line-height: 1.4;
}
.pq-recur-badge.sm { font-size: 9.5px; padding: 1px 7px 1px 5px; }
.pq-recur-badge.vencida {
  background: #F6E4E1;
  color: var(--bad-700);
  border-color: rgba(148,65,65,0.4);
}

/* Linha de vencimento na evidência recorrente */
.pq-evid-recinfo {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-600);
}
.pq-evid-recinfo.vencida { color: var(--bad-700); }

/* Coluna de ações (ESQUERDA) */
.pq-evid-row-actions {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.pq-evid-row-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--jor-accent);
  color: var(--paper);
  border: none;
  border-radius: 7px;
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, transform 0.1s ease;
}
.pq-evid-row-btn-primary:hover {
  background: var(--jor-accent-dark, #3D6A55);
  transform: translateY(-1px);
}
.pq-evid-row-btn-primary i {
  font-size: 14px !important;
}
.pq-evid-row-btn-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: 7px;
  cursor: pointer;
  color: var(--ink-600);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.pq-evid-row-btn-icon:hover {
  background: var(--paper);
  border-color: var(--ink-400);
  color: var(--ink-900);
}
.pq-evid-row-btn-icon i {
  font-size: 15px !important;
}
.pq-evid-row-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--paper);
  color: var(--jor-accent, var(--brand-700));
  border: 1px solid var(--ink-200);
  border-radius: 7px;
  padding: 7px 12px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.pq-evid-row-btn-secondary:hover {
  background: var(--brand-50);
  border-color: var(--jor-accent, var(--brand-500));
  transform: translateY(-1px);
}
.pq-evid-row-btn-secondary i {
  font-size: 14px !important;
}
/* Botão "Abrir rascunho" na célula de status (abaixo do texto explicativo) */
.pq-evid-row-rascunho-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  align-self: flex-start;
  margin-top: 8px;
  background: var(--brand-50);
  color: var(--jor-accent, var(--brand-700));
  border: 1px solid rgba(36,62,104,0.18);
  border-radius: 7px;
  padding: 6px 11px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.pq-evid-row-rascunho-link:hover {
  background: var(--paper);
  border-color: var(--jor-accent, var(--brand-500));
  transform: translateY(-1px);
}
.pq-evid-row-rascunho-link i {
  font-size: 14px !important;
}

/* Ícone de status (círculo colorido) */
.pq-evid-row-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

/* Corpo (título + detalhe + status pill) */
.pq-evid-row-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.pq-evid-row-title {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-wrap: wrap;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13px;
  color: var(--ink-900);
  line-height: 1.35;
}
.pq-evid-row-detail {
  font-size: 11.5px;
  color: var(--ink-600);
  line-height: 1.45;
  margin-top: 1px;
}
.pq-evid-row-status {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-700);
  line-height: 1.3;
  flex-wrap: wrap;
}
.pq-evid-row-status i {
  font-size: 13px !important;
}
.pq-evid-row-status.ok {
  color: var(--ok-700);
}
.pq-evid-row-status.ok i {
  color: var(--ok-700);
}
.pq-evid-row-status.muted {
  color: var(--ink-500);
}
.pq-evid-row-status.warn {
  color: var(--warn-700);
}
.pq-evid-row-status.warn i {
  color: var(--warn-700);
}
.pq-evid-row-status.pending {
  color: var(--ink-500);
  font-style: italic;
}
.pq-evid-row-status strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: inherit;
}
.pq-evid-row-status-filename {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ok-700);
  max-width: 280px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.pq-evid-row-status-size {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--ink-500);
}
.pq-evid-row-status-reason {
  font-style: italic;
  color: var(--ink-500);
}

/* Tags inline (opcional, LIS) */
.pq-evid-row-tag {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.pq-evid-row-tag-opt {
  background: var(--ink-100);
  color: var(--ink-600);
}
.pq-evid-row-tag-lis {
  background: var(--brand-50);
  color: var(--brand-700);
}

/* Diálogo inline (N/A, Adiar) */
.pq-evid-row-dialog {
  background: var(--paper);
  border: 1px dashed rgba(73,107,149,0.3);
  border-radius: 0 0 10px 10px;
  border-top: none;
  padding: 10px 14px 12px;
  margin-top: -1px;
}
.pq-evid-row-dialog-label {
  font-size: 11.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 5px;
  color: var(--ink-700);
}
.pq-evid-row-dialog-textarea {
  width: 100%;
  border: 1px solid var(--ink-200);
  border-radius: 6px;
  padding: 6px 8px;
  font-family: var(--font-body);
  font-size: 12px;
  resize: vertical;
  background: var(--paper);
}
.pq-evid-row-dialog-actions {
  display: flex;
  gap: 6px;
  justify-content: flex-end;
  margin-top: 6px;
}

@media (max-width: 900px) {
  .pq-evid-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .pq-evid-row-actions {
    order: 99;
    justify-content: flex-start;
  }
}

/* =========================================================================
   Modal de cadastro embarcado (abre tela do Modo Tradicional sem sair da jornada)
   ========================================================================= */
.pq-cadastro-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(20, 30, 28, 0.55);
  backdrop-filter: blur(2px);
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  animation: pqCadastroBackdropIn 0.18s ease-out;
}
@keyframes pqCadastroBackdropIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.pq-cadastro-modal {
  background: var(--paper);
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.28);
  width: min(1440px, 96vw);
  height: min(900px, 92vh);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: pqCadastroModalIn 0.22s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes pqCadastroModalIn {
  from { opacity: 0; transform: translateY(12px) scale(0.985); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.pq-cadastro-modal-header {
  padding: 14px 22px 12px;
  border-bottom: 1px solid var(--ink-200);
  background: linear-gradient(180deg, #F4F7F4 0%, var(--paper) 100%);
  flex-shrink: 0;
}
.pq-cadastro-modal-mode-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jor-accent);
  background: rgba(78,128,104,0.1);
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.pq-cadastro-modal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.pq-cadastro-modal-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0;
}
.pq-cadastro-modal-sub {
  font-size: 12.5px;
  color: var(--ink-600);
  margin-top: 3px;
  line-height: 1.45;
}
.pq-cadastro-modal-close {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  background: transparent;
  border: 1px solid var(--ink-200);
  border-radius: 8px;
  cursor: pointer;
  color: var(--ink-700);
  transition: background 0.15s ease, color 0.15s ease;
}
.pq-cadastro-modal-close:hover {
  background: var(--ink-100);
  color: var(--ink-900);
}
.pq-cadastro-modal-body {
  flex: 1;
  overflow: auto;
  background: var(--ink-50, #F4F7F4);
}
/* Quando uma tela tradicional é renderizada em embedded mode, ocupa toda a área disponível.
   Suprime padding extra herdado de pq-content e usa o próprio padding do conteúdo. */
.pq-cadastro-modal-body .pq-content-embedded {
  padding: 24px 28px 32px;
  width: 100%;
  background: transparent;
}
.pq-cadastro-modal-body .pq-content-embedded .pq-page {
  max-width: none;
}
.pq-cadastro-modal-footer {
  padding: 12px 22px;
  border-top: 1px solid var(--ink-200);
  background: var(--paper);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-shrink: 0;
}

/* Callout contextual de "como cadastrar" exibido no topo da tela embarcada,
   explicando a evidência específica que disparou o modal. */
.pq-pessoas-ctx-callout {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 16px;
  align-items: stretch;
  margin-bottom: 18px;
  padding: 16px 20px;
  background: linear-gradient(135deg, rgba(78,128,104,0.08) 0%, rgba(78,128,104,0.03) 100%);
  border: 1px solid rgba(78,128,104,0.25);
  border-left: 4px solid var(--jor-accent);
  border-radius: 10px;
}
.pq-pessoas-ctx-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--jor-accent);
  color: var(--paper);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  align-self: center;
}
.pq-pessoas-ctx-body {
  min-width: 0;
}
.pq-pessoas-ctx-eyebrow {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--jor-accent);
  margin-bottom: 4px;
}
.pq-pessoas-ctx-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.005em;
  color: var(--ink-900);
  margin-bottom: 5px;
  line-height: 1.3;
}
.pq-pessoas-ctx-text {
  font-size: 12.5px;
  color: var(--ink-700);
  line-height: 1.55;
  max-width: 720px;
}
.pq-pessoas-ctx-counter {
  background: var(--paper);
  border: 1px solid rgba(78,128,104,0.25);
  border-radius: 10px;
  padding: 10px 18px;
  min-width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.pq-pessoas-ctx-counter-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  line-height: 1;
  color: var(--jor-accent);
  letter-spacing: -0.02em;
}
.pq-pessoas-ctx-counter-label {
  font-size: 10.5px;
  color: var(--ink-600);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-weight: 600;
  margin-top: 6px;
  line-height: 1.3;
  max-width: 120px;
}

/* =========================================================================
   Painel de evidências cadastráveis (tela Pessoas) — auto-detecção
   ========================================================================= */
.pq-ev-panel {
  background: var(--paper);
  border: 1px solid var(--ink-150);
  border-radius: 12px;
  padding: 16px 18px 18px;
  margin-bottom: 16px;
}
.pq-ev-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}
.pq-ev-panel-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}
.pq-ev-panel-sub {
  font-size: 11.5px;
  color: var(--ink-500);
  margin-top: 1px;
}
.pq-ev-tally {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--bad-50);
  border: 1px solid #E7CFCF;
  border-radius: 10px;
  padding: 6px 14px;
}
.pq-ev-tally.all-ok {
  background: var(--ok-50);
  border-color: #CADED3;
}
.pq-ev-tally-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
  color: var(--bad-700);
}
.pq-ev-tally.all-ok .pq-ev-tally-num { color: var(--ok-700, #1F6249); }
.pq-ev-tally-label {
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--ink-500);
  margin-top: 2px;
}
.pq-ev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 10px;
}
.pq-ev-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 12px 13px;
  border-radius: 10px;
  border: 1px solid;
  background: var(--paper);
}
.pq-ev-item.is-ok {
  border-color: #CADED3;
  background: var(--ok-50);
}
.pq-ev-item.is-pending {
  border-color: #E7CFCF;
  background: var(--bad-50);
}
.pq-ev-item-ico {
  flex: 0 0 auto;
  line-height: 1;
}
.pq-ev-item-ico .v-icon { font-size: 19px; }
.pq-ev-item.is-ok .pq-ev-item-ico { color: var(--ok-500); }
.pq-ev-item.is-pending .pq-ev-item-ico { color: var(--bad-500); }
.pq-ev-item-norma {
  font-family: var(--font-mono);
  font-size: 9.5px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink-500);
  margin-bottom: 1px;
}
.pq-ev-item-titulo {
  font-weight: 600;
  font-size: 12.5px;
  color: var(--ink-900);
  line-height: 1.3;
}
.pq-ev-item-detalhe {
  font-size: 11px;
  color: var(--ink-600);
  line-height: 1.35;
  margin-top: 3px;
}
.pq-ev-item-valor {
  flex: 0 0 auto;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: 12.5px;
  align-self: center;
}
.pq-ev-item.is-ok .pq-ev-item-valor { color: var(--ok-700); }
.pq-ev-item.is-pending .pq-ev-item-valor { color: var(--bad-700); }
.pq-ev-item-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  background: var(--bad-500);
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 5px 10px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 11px;
  cursor: pointer;
  transition: filter 0.15s ease;
}
.pq-ev-item-cta:hover:not(:disabled) { filter: brightness(1.06); }
.pq-ev-item-cta:disabled { opacity: 0.6; cursor: default; }

/* Formulário do modal de cadastro de colaborador */
.pq-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.pq-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.pq-field .pq-field-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-700);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 0;
}
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--ink-900);
  padding: 9px 11px;
  border: 1.5px solid var(--ink-200);
  border-radius: 8px;
  background: var(--paper);
  transition: border-color 0.15s ease;
  width: 100%;
}
.pq-input:focus {
  outline: none;
  border-color: var(--brand-500, var(--brand-700));
}
.pq-form-note {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  margin-top: 14px;
  padding: 10px 12px;
  background: var(--brand-50, #EEF3FA);
  border-radius: 8px;
  font-size: 11.5px;
  color: var(--ink-700);
  line-height: 1.4;
}
.pq-req {
  color: var(--bad-500);
  font-weight: 700;
  margin-right: 3px;
}
.pq-form-legend {
  margin-top: 12px;
  font-size: 11px;
  color: var(--ink-500);
  line-height: 1.4;
}
.pq-row-hint {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  padding: 9px 13px;
  background: var(--brand-50);
  border: 1px solid var(--brand-100);
  border-radius: 8px;
  font-size: 12px;
  color: var(--ink-700);
  line-height: 1.4;
}
.pq-row-hint strong { color: var(--ink-900); font-weight: 600; }
.mdi-spin { animation: pq-spin 0.9s linear infinite; }
@keyframes pq-spin { to { transform: rotate(360deg); } }
/* Callout para passos com tela dedicada (ex.: ficha vacinal) */
.pq-tela-dedicada-callout {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, var(--brand-50) 0%, #F4F7FA 100%);
  border: 1px solid var(--brand-100);
  border-radius: 10px;
}

/* Banner de conclusão automática */
.pq-step-complete-banner {
  margin-top: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #E7EFEA 0%, #F4F7F4 100%);
  border: 1px solid rgba(78,128,104,0.3);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--ok-700);
}
.pq-step-complete-banner i { color: var(--ok-500); }

/* Banner de auto-N/A — passo que não se aplica pelo porte/perfil */
.pq-auto-na-callout {
  margin-top: 16px;
  padding: 14px 18px;
  background: linear-gradient(135deg, #EEF2F8 0%, #F4F7FA 100%);
  border: 1px solid rgba(73,107,149,0.25);
  border-radius: 10px;
}

/* Seletor de acreditação alvo (Mapa) */
.pq-acred-selector {
  display: flex;
  align-items: stretch;
  gap: 12px;
  flex-wrap: wrap;
}
.pq-acred-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-600);
}
.pq-acred-options {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.pq-acred-opt {
  position: relative;
  background: var(--paper);
  border: 1.5px solid var(--ink-200);
  border-radius: 10px;
  padding: 9px 36px 9px 14px;
  cursor: pointer;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 130px;
  width: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  font-family: var(--font-body);
  color: var(--ink-900);
}
.pq-acred-opt:hover {
  border-color: var(--jor-accent);
  transform: translateY(-1px);
}
.pq-acred-opt-head {
  display: flex;
  align-items: center;
  gap: 6px;
}
/* Estado: alvo configurado no embarque — destaque VERDE */
.pq-acred-opt.is-target {
  border-color: var(--ok-500, #2E7D5B);
  background: rgba(46,125,91,0.06);
}
.pq-acred-opt.is-target .pq-acred-opt-label {
  color: var(--ok-700, #1F6249);
}
.pq-acred-opt-target-ico {
  font-size: 13px !important;
  color: var(--ok-700, #1F6249);
}
/* Estado: filtro aplicado atualmente — ícone de olho */
.pq-acred-opt.is-filter {
  border-color: var(--jor-accent);
  box-shadow: 0 0 0 1.5px var(--jor-accent) inset, 0 4px 12px rgba(78,128,104,0.18);
  background: rgba(78,128,104,0.06);
}
.pq-acred-opt.is-filter .pq-acred-opt-label {
  color: var(--jor-accent);
}
.pq-acred-opt-eye {
  font-size: 14px !important;
  color: var(--jor-accent);
}
/* Quando o filtro coincide com o alvo, o estilo do alvo (verde) prevalece visualmente,
   mas mantemos o ícone de olho para deixar claro que o filtro está ativo */
.pq-acred-opt.is-target.is-filter {
  border-color: var(--ok-500, #2E7D5B);
  background: rgba(46,125,91,0.10);
  box-shadow: 0 0 0 1.5px var(--ok-500, #2E7D5B) inset, 0 4px 12px rgba(46,125,91,0.18);
}
.pq-acred-opt.is-target.is-filter .pq-acred-opt-eye {
  color: var(--ok-700, #1F6249);
}
.pq-acred-opt-label {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 13px;
  letter-spacing: -0.005em;
}
.pq-acred-opt-sub {
  font-size: 10.5px;
  color: var(--ink-500);
  line-height: 1.3;
}

/* Wrapper do item + botão de três pontos com menu suspenso */
.pq-acred-opt-wrap {
  position: relative;
  display: flex;
  min-width: 130px;
}
.pq-acred-opt-menu-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: none;
  background: transparent;
  color: var(--ink-400);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
  z-index: 2;
}
.pq-acred-opt-menu-btn:hover,
.pq-acred-opt-menu-btn.active {
  background: rgba(0,0,0,0.06);
  color: var(--ink-700);
}
.pq-acred-opt-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  z-index: 40;
  background: var(--paper);
  border: 1px solid #E2E9E5;
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.14);
  padding: 6px;
  min-width: 230px;
}
.pq-acred-opt-menu-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 9px 12px;
  border-radius: 8px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-800);
  text-align: left;
  transition: background 0.15s ease;
}
.pq-acred-opt-menu-item .v-icon {
  color: var(--ok-700, #1F6249);
}
.pq-acred-opt-menu-item:hover:not(:disabled) {
  background: rgba(46,125,91,0.08);
}
.pq-acred-opt-menu-item:disabled {
  color: var(--ink-400);
  cursor: default;
}
.pq-acred-opt-menu-item:disabled .v-icon {
  color: var(--ink-300);
}

/* =========================================================================
   PCMSO — Matriz de ASOs + Matriz de exames por GES + Painel de expectativa
   ========================================================================= */

/* Badge de situação de vigência do ASO (na linha do colaborador) */
.pq-aso-sit {
  margin-left: auto;
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px; border-radius: 99px;
  white-space: nowrap;
}
.pq-aso-sit.ok       { background: var(--ok-50);   color: var(--ok-700);   }
.pq-aso-sit.expiring { background: var(--warn-50); color: var(--warn-700); }
.pq-aso-sit.expired  { background: var(--bad-50);  color: var(--bad-700);  }

/* Legenda compartilhada (ASO + GES) */
.pq-aso-legend {
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 12px; padding: 0 4px;
  font-size: 11.5px; color: var(--ink-700);
}
.pq-aso-legend > span { display: inline-flex; align-items: center; gap: 5px; }

/* ---- Matriz GES: célula de periodicidade ---- */
.pq-ges-table th.pq-vac-th-name { min-width: 260px; }
.pq-ges-cell-btn {
  width: 100%; min-width: 78px;
  background: transparent; border: 1px dashed transparent;
  border-radius: 8px; padding: 4px;
  cursor: pointer; transition: all 0.12s;
  display: grid; place-items: center;
}
.pq-ges-cell-btn:hover { border-color: var(--brand-300); background: var(--brand-50); }
.pq-ges-cell-empty { color: var(--ink-300); font-size: 16px; font-weight: 600; }
.pq-ges-cell {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 700; letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: 7px;
  border: 1px solid transparent; min-width: 56px; text-align: center;
}
.pq-ges-cell.p-adm    { background: #EEF1F6; color: var(--brand-700); border-color: rgba(36,62,104,0.18); }
.pq-ges-cell.p-anual  { background: var(--ok-50);   color: var(--ok-700);   border-color: rgba(78,128,104,0.20); }
.pq-ges-cell.p-sem    { background: var(--warn-50); color: var(--warn-700); border-color: rgba(176,122,45,0.22); }
.pq-ges-cell.p-bienal { background: #F0EEF6; color: #5B4B8A; border-color: rgba(91,75,138,0.20); }

/* Toggle exigido (modal GES) */
.pq-ges-toggle { display: flex; align-items: center; gap: 10px; cursor: pointer; position: relative; }
.pq-ges-toggle input { display: none; }
.pq-ges-toggle-box {
  width: 40px; height: 22px; border-radius: 99px;
  background: var(--ink-200); position: relative; transition: all 0.15s; flex: 0 0 40px;
}
.pq-ges-toggle-box::after {
  content: ""; position: absolute; top: 2px; left: 2px;
  width: 18px; height: 18px; border-radius: 50%; background: var(--paper);
  transition: all 0.15s; box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.pq-ges-toggle input:checked + .pq-ges-toggle-box { background: var(--ok-500); }
.pq-ges-toggle input:checked + .pq-ges-toggle-box::after { transform: translateX(18px); }

/* Segmented de periodicidade */
.pq-ges-period-seg { display: flex; gap: 4px; background: var(--ink-50); border-radius: 9px; padding: 4px; }
.pq-ges-period-opt {
  flex: 1; padding: 8px 6px; border: none; background: transparent;
  border-radius: 6px; font-size: 12px; font-weight: 600; color: var(--ink-600);
  cursor: pointer; transition: all 0.12s;
}
.pq-ges-period-opt:hover { color: var(--ink-900); }
.pq-ges-period-opt.on { background: var(--paper); color: var(--brand-700); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

/* ---- Painel de expectativa ---- */
.pq-exp-wrap { margin-bottom: 18px; }
.pq-exp-card {
  background: var(--paper);
  border: 1px solid var(--ink-200);
  border-radius: 14px;
  overflow: hidden;
}
.pq-exp-eyebrow {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--brand-700); display: flex; align-items: center; gap: 7px;
}
.pq-exp-dot { color: var(--ink-300); }
.pq-exp-foco-title {
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  color: var(--ink-900); margin: 4px 0 0; letter-spacing: -0.01em;
}
.pq-exp-foco-head { display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; }
.pq-exp-foco-icon {
  width: 46px; height: 46px; border-radius: 11px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center; flex: 0 0 46px;
}
.pq-exp-tipo {
  font-size: 10.5px; font-weight: 600; color: var(--ink-600);
  background: var(--ink-50); border: 1px solid var(--ink-200);
  padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
.pq-exp-chip {
  font-size: 10px; font-weight: 700; letter-spacing: 0.03em; text-transform: uppercase;
  padding: 3px 9px; border-radius: 99px; white-space: nowrap;
}
.pq-exp-chip.ok   { background: var(--ok-50);   color: var(--ok-700);   }
.pq-exp-chip.info { background: #EAF0F7;        color: var(--brand-700); }
.pq-exp-chip.warn { background: var(--warn-50); color: var(--warn-700); }
.pq-exp-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 1px;
  background: var(--ink-150); border-top: 1px solid var(--ink-150);
}
.pq-exp-block { background: var(--paper); padding: 16px 20px; }
.pq-exp-block.alt { background: #FBFAF8; }
.pq-exp-block-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-500); margin-bottom: 7px;
}
.pq-exp-block-text { font-size: 13px; line-height: 1.55; color: var(--ink-700); margin: 0; text-wrap: pretty; }

/* Painel colapsável (modo 'all') */
.pq-exp-collapse {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  background: transparent; border: none; padding: 16px 20px; cursor: pointer; text-align: left;
}
.pq-exp-collapse:hover { background: var(--ink-50); }
.pq-exp-list { border-top: 1px solid var(--ink-150); }
.pq-exp-item {
  display: flex; gap: 14px; align-items: flex-start;
  padding: 14px 20px; border-bottom: 1px solid var(--ink-100);
}
.pq-exp-item:last-child { border-bottom: none; }
.pq-exp-item-num {
  width: 26px; height: 26px; border-radius: 50%; flex: 0 0 26px;
  background: var(--brand-50); color: var(--brand-700);
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.pq-exp-item-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 3px; }
.pq-exp-item-title { font-size: 13.5px; font-weight: 600; color: var(--ink-900); }
.pq-exp-tag-opt {
  font-size: 9.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--ink-500); background: var(--ink-100); padding: 2px 6px; border-radius: 4px;
}
.pq-exp-item-link {
  display: inline-flex; align-items: center; gap: 3px;
  font-size: 11px; font-weight: 600; color: var(--brand-700); text-decoration: none;
  background: var(--brand-50); padding: 2px 8px; border-radius: 99px;
}
.pq-exp-item-link:hover { background: var(--brand-100); }
.pq-exp-item-text { font-size: 12.5px; line-height: 1.5; color: var(--ink-600); text-wrap: pretty; }
.pq-exp-item-meta { display: flex; flex-direction: column; gap: 6px; align-items: flex-end; flex: 0 0 auto; }

@media (max-width: 720px) {
  .pq-exp-grid { grid-template-columns: 1fr; }
  .pq-exp-item-meta { display: none; }
}

/* =========================================================================
   Calendário geral (Visão Geral)
   ========================================================================= */
.pq-cal-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; flex-wrap: wrap; }
.pq-cal-title { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink-900); margin: 4px 0 4px; letter-spacing: -0.01em; }
.pq-cal-sub { font-size: 13px; color: var(--ink-600); max-width: 640px; line-height: 1.5; }
.pq-cal-kpis { display: flex; gap: 10px; flex: 0 0 auto; }
.pq-cal-kpi { text-align: center; min-width: 84px; padding: 10px 14px; border: 1px solid var(--ink-200); border-radius: 10px; background: var(--paper); }
.pq-cal-kpi .v { font-family: var(--font-display); font-weight: 600; font-size: 22px; color: var(--ink-900); line-height: 1; }
.pq-cal-kpi .k { font-size: 10px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 4px; }
.pq-cal-kpi.bad .v { color: var(--bad-700); }
.pq-cal-kpi.warn .v { color: var(--warn-700); }

.pq-cal-toolbar { display: flex; gap: 10px; align-items: center; margin-bottom: 12px; flex-wrap: wrap; }
.pq-cal-searchbox { flex: 1; min-width: 220px; display: flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--ink-200); border-radius: 9px; padding: 8px 12px; }
.pq-cal-searchbox input { flex: 1; border: none; outline: none; background: transparent; font-size: 13.5px; color: var(--ink-900); font-family: var(--font-body); }
.pq-cal-select { border: 1px solid var(--ink-200); border-radius: 9px; padding: 9px 12px; font-size: 13px; background: var(--paper); color: var(--ink-800); font-family: var(--font-body); cursor: pointer; }
.pq-cal-viewtoggle { display: flex; gap: 3px; background: var(--ink-100); border-radius: 9px; padding: 3px; }
.pq-cal-vt { display: inline-flex; align-items: center; gap: 5px; border: none; background: transparent; border-radius: 7px; padding: 7px 12px; font-size: 12.5px; font-weight: 600; color: var(--ink-600); cursor: pointer; font-family: var(--font-body); }
.pq-cal-vt.on { background: var(--paper); color: var(--brand-700); box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.pq-cal-legend { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.pq-cal-legend-item { display: inline-flex; align-items: center; gap: 6px; background: var(--paper); border: 1px solid var(--ink-200); border-radius: 99px; padding: 4px 11px; font-size: 11.5px; font-weight: 600; color: var(--ink-600); cursor: pointer; transition: all 0.12s; }
.pq-cal-legend-item:hover { border-color: var(--ink-400); }
.pq-cal-legend-item.on { background: var(--ink-900); color: var(--paper); border-color: var(--ink-900); }
.pq-cal-legend-item .dot { width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px; }

.pq-cal-monthnav { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.pq-cal-monthlabel { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink-900); text-transform: capitalize; min-width: 180px; text-align: center; }

.pq-cal-grid-wrap { border: 1px solid var(--ink-200); border-radius: 12px; overflow: hidden; background: var(--paper); }
.pq-cal-weekdays { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); background: var(--ink-50); border-bottom: 1px solid var(--ink-200); }
.pq-cal-weekday { padding: 8px 10px; font-size: 10.5px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink-500); text-align: left; }
.pq-cal-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.pq-cal-cell { min-height: 104px; border-right: 1px solid var(--ink-100); border-bottom: 1px solid var(--ink-100); padding: 6px; display: flex; flex-direction: column; gap: 4px; }
.pq-cal-cell:nth-child(7n) { border-right: none; }
.pq-cal-cell.empty { background: #FBFAF8; }
.pq-cal-cell.hoje { background: var(--brand-50); }
.pq-cal-daynum { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--ink-700); }
.pq-cal-cell.hoje .pq-cal-daynum { color: var(--brand-700); }
.pq-cal-today-dot { font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; background: var(--brand-700); color: var(--paper); border-radius: 99px; padding: 1px 6px; }
.pq-cal-events { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.pq-cal-cell, .pq-cal-events > * { min-width: 0; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
.pq-cal-chip { display: block; width: 100%; text-align: left; border: none; border-radius: 5px; padding: 3px 7px; font-size: 10.5px; font-weight: 600; cursor: pointer; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: var(--font-body); line-height: 1.3; }
.pq-cal-chip:hover { filter: brightness(0.96); }
.pq-cal-more { font-size: 10px; color: var(--ink-500); font-weight: 600; padding: 1px 7px; }

.pq-cal-section-title { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-900); margin-bottom: 10px; }
.pq-cal-listrow { width: 100%; display: flex; align-items: center; gap: 14px; padding: 12px 16px; background: transparent; border: none; cursor: pointer; text-align: left; font-family: var(--font-body); transition: background 0.12s; }
.pq-cal-listrow:hover { background: var(--ink-50); }
.pq-cal-listdate { flex: 0 0 44px; text-align: center; }
.pq-cal-listdate .dd { font-family: var(--font-display); font-weight: 700; font-size: 18px; color: var(--ink-900); line-height: 1; }
.pq-cal-listdate .mm { font-size: 10px; color: var(--ink-500); text-transform: uppercase; letter-spacing: 0.04em; }
.pq-cal-cat-dot { width: 10px; height: 10px; border-radius: 50%; flex: 0 0 10px; }
.pq-cal-listtitle { font-size: 13.5px; font-weight: 600; color: var(--ink-900); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pq-cal-listmeta { font-size: 11.5px; color: var(--ink-500); margin-top: 1px; }
.pq-cal-empty { padding: 32px; text-align: center; color: var(--ink-500); font-size: 13px; font-style: italic; border: 1px dashed var(--ink-200); border-radius: 12px; }

/* ---- Ficha do colaborador: grade de dados + título de seção ---- */
.pq-pd-sec { display: flex; align-items: center; gap: 7px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-900); margin-bottom: 12px; }
.pq-dl { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--ink-150); border: 1px solid var(--ink-150); border-radius: 10px; overflow: hidden; }
.pq-dl-item { background: var(--paper); padding: 11px 14px; display: flex; flex-direction: column; gap: 3px; }
.pq-dl-k { font-size: 10.5px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-500); }
.pq-dl-v { font-size: 13.5px; color: var(--ink-900); font-weight: 500; }
.pq-dl-v.mono { font-family: var(--font-mono); font-size: 12.5px; font-weight: 400; }
@media (max-width: 720px) { .pq-dl { grid-template-columns: 1fr; } }
.pq-edit-input {
  width: 100%; border: 1px solid var(--brand-300); border-radius: 7px;
  padding: 7px 10px; font-size: 13px; color: var(--ink-900);
  font-family: var(--font-body); background: var(--brand-50);
  outline: none; transition: border-color 0.12s, box-shadow 0.12s;
}
.pq-edit-input:focus { border-color: var(--brand-700); box-shadow: 0 0 0 2px rgba(36,62,104,0.12); background: var(--paper); }
.pq-edit-select {
  width: 100%; border: 1px solid var(--brand-300); border-radius: 7px;
  padding: 7px 10px; font-size: 13px; color: var(--ink-900);
  font-family: var(--font-body); background: var(--brand-50);
  outline: none; cursor: pointer; transition: border-color 0.12s, box-shadow 0.12s;
}
.pq-edit-select:focus { border-color: var(--brand-700); box-shadow: 0 0 0 2px rgba(36,62,104,0.12); background: var(--paper); }

/* ---- Treinamentos (NR-32) ---- */
.pq-treino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.pq-treino-card { text-align: left; background: var(--paper); border: 1px solid var(--ink-200); border-radius: 12px; padding: 16px; cursor: pointer; transition: border-color 0.12s, box-shadow 0.12s; display: flex; flex-direction: column; gap: 8px; font-family: var(--font-body); }
.pq-treino-card:hover { border-color: var(--brand-300); box-shadow: 0 3px 12px rgba(0,0,0,0.06); }
.pq-treino-card.is-evidencia { border-color: rgba(36,62,104,0.35); background: linear-gradient(180deg, var(--brand-50) 0%, var(--paper) 46%); }
.pq-treino-evbadge { display: inline-flex; align-items: center; gap: 5px; align-self: flex-start; padding: 2px 8px; border-radius: 999px; background: var(--brand-700); color: #fff; font-size: 10.5px; font-weight: 600; letter-spacing: 0.02em; }
.pq-treino-card-top { display: flex; justify-content: space-between; align-items: center; }
.pq-treino-mod { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; padding: 3px 8px; border-radius: 99px; }
.pq-treino-mod.pres { background: var(--brand-50); color: var(--brand-700); }
.pq-treino-mod.rem { background: #EAF0F7; color: #496B95; }
.pq-treino-ch { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--ink-700); }
.pq-treino-card-fn { font-family: var(--font-display); font-weight: 600; font-size: 15px; color: var(--ink-900); line-height: 1.3; }
.pq-treino-card-sub { font-size: 11.5px; color: var(--ink-600); }
.pq-treino-card-foot { margin-top: 4px; display: flex; align-items: center; gap: 8px; }
.pq-treino-prog-bar { flex: 1; height: 6px; background: var(--ink-100); border-radius: 99px; overflow: hidden; }
.pq-treino-prog-bar > span { display: block; height: 100%; background: var(--ok-500); border-radius: 99px; }
.pq-treino-prog-txt { font-size: 10.5px; color: var(--ink-500); white-space: nowrap; }

.pq-treino-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--ink-150); border: 1px solid var(--ink-150); border-radius: 10px; overflow: hidden; }
.pq-treino-meta-item { background: var(--paper); padding: 11px 14px; }
@media (max-width: 720px) { .pq-treino-meta { grid-template-columns: 1fr 1fr; } }

.pq-treino-modrow { display: flex; align-items: center; gap: 12px; padding: 10px 12px; background: var(--ink-50); border-radius: 9px; }
.pq-treino-modnum { width: 24px; height: 24px; border-radius: 50%; background: var(--brand-100); color: var(--brand-700); display: grid; place-items: center; font-weight: 700; font-size: 12px; flex: 0 0 24px; font-family: var(--font-display); }

.pq-treino-colbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 10px 14px; background: var(--ink-50); border-radius: 9px; }
.pq-treino-mats { display: flex; flex-direction: column; gap: 10px; }
.pq-treino-mat { border: 1px solid var(--ink-200); border-radius: 10px; padding: 12px 14px; background: var(--paper); }
.pq-treino-mat-head { display: flex; align-items: center; gap: 12px; }

.pq-treino-q { border: 1px solid var(--ink-150); border-radius: 9px; padding: 12px 14px; }
.pq-treino-q-t { font-weight: 600; font-size: 13px; color: var(--ink-900); margin-bottom: 8px; }
.pq-treino-opt { display: flex; align-items: center; font-size: 12.5px; color: var(--ink-700); padding: 7px 10px; border: 1px solid var(--ink-200); border-radius: 7px; cursor: pointer; transition: all 0.1s; }
.pq-treino-opt:hover { border-color: var(--brand-300); }
.pq-treino-opt.on { background: var(--brand-50); border-color: var(--brand-400); color: var(--ink-900); font-weight: 500; }
.pq-treino-result { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-800); }

.pq-treino-slide { min-height: 460px; }
.pq-treino-video { width: 100%; max-width: 720px; align-self: flex-start; }
.pq-treino-video-screen { position: relative; aspect-ratio: 16/9; background: #1A1D22; border-radius: 12px; display: grid; place-items: center; }
.pq-treino-video-notes { background: var(--paper); border: 1px solid var(--ink-200); border-radius: 10px; padding: 16px 18px; margin-top: 12px; }
.pq-treino-cert { background: var(--paper); width: 100%; max-width: 640px; align-self: flex-start; padding: 44px 40px; text-align: center; border: 2px solid var(--brand-100); box-shadow: 0 6px 28px rgba(0,0,0,0.12); }

/* ---- Pré-cadastros (CRUD) ---- */
.pq-precad-count { margin-left: 7px; font-size: 10.5px; font-weight: 700; background: var(--ink-100); color: var(--ink-600); border-radius: 99px; padding: 1px 7px; }
.pq-tab-strip.active .pq-precad-count { background: var(--brand-100); color: var(--brand-700); }
.pq-precad-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; padding: 3px 9px; border-radius: 99px; }
.pq-precad-badge.ativo { background: var(--ok-50); color: var(--ok-700); }
.pq-precad-badge.inativo { background: var(--ink-100); color: var(--ink-500); }
.pq-tbl tr.is-inativo { background: #FBFAF8; }

/* ---- Editor de documentos esperados (pré-cadastro de cargo) ---- */
.pq-doclist-row { display: flex; align-items: center; gap: 8px; }
.pq-doclist-seg { display: inline-flex; gap: 2px; background: var(--ink-100); border-radius: 7px; padding: 2px; flex: 0 0 auto; }
.pq-doclist-seg-opt { border: none; background: transparent; border-radius: 5px; padding: 5px 9px; font-size: 11px; font-weight: 600; color: var(--ink-600); cursor: pointer; font-family: var(--font-body); white-space: nowrap; }
.pq-doclist-seg-opt.on { background: var(--paper); color: var(--brand-700); box-shadow: 0 1px 2px rgba(0,0,0,0.08); }

/* ---- Link de arquivo na aba Documentos ---- */
.pq-doc-filelink { display: inline-flex; align-items: center; gap: 4px; background: transparent; border: none; cursor: pointer; color: var(--brand-700); font-size: 12px; font-weight: 500; font-family: var(--font-body); padding: 0; text-decoration: none; }
.pq-doc-filelink:hover { text-decoration: underline; }

/* ---- Visualizador de documento (tela cheia) ---- */
.pq-doc-viewer { position: fixed; inset: 0; z-index: 9000; background: #E9E7E2; display: flex; flex-direction: column; }
.pq-doc-viewer-bar { display: flex; align-items: center; gap: 12px; padding: 10px 16px; background: var(--paper); border-bottom: 1px solid var(--ink-200); flex: 0 0 auto; }
.pq-doc-viewer-body { flex: 1; overflow: auto; padding: 32px 20px; display: flex; justify-content: center; }
.pq-doc-page { background: var(--paper); width: 100%; max-width: 620px; min-height: 540px; padding: 40px 46px; box-shadow: 0 6px 28px rgba(0,0,0,0.14); align-self: flex-start; }

@media (max-width: 720px) {
  .pq-cal-cell { min-height: 76px; }
  .pq-cal-chip { font-size: 9px; }
}

/* ---- Documento-base do PCMSO (rascunho editável) ---- */
.pq-doc-genbar {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--brand-50); border: 1px solid rgba(36,62,104,0.16);
  border-radius: 12px; padding: 14px 16px; margin-bottom: 18px;
}
.pq-doc-genchips { display: flex; gap: 6px; flex-wrap: wrap; flex: 0 0 auto; }
.pq-doc-genchip {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--paper); border: 1px solid var(--ink-200);
  border-radius: 99px; padding: 5px 11px;
  font-size: 11.5px; font-weight: 600; color: var(--brand-700); cursor: pointer;
  transition: all 0.12s;
}
.pq-doc-genchip:hover { border-color: var(--brand-500); background: var(--brand-50); }

.pq-doc-paper {
  background: var(--paper); border: 1px solid var(--ink-200);
  border-radius: 4px; box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  padding: 44px 52px;
}
.pq-doc-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; border-bottom: 2px solid var(--ink-900); padding-bottom: 16px; }
.pq-doc-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em; text-transform: uppercase; color: var(--brand-700); }
.pq-doc-title { font-family: var(--font-display); font-weight: 600; font-size: 24px; line-height: 1.25; color: var(--ink-900); margin: 6px 0 0; letter-spacing: -0.01em; text-wrap: balance; }
.pq-doc-header > div:first-child { flex: 1; min-width: 0; }
.pq-aso-na { all: unset; box-sizing: border-box; display: inline-block; padding: 4px 8px; font-size: 11px; color: var(--ink-400); font-style: italic; border-radius: 6px; cursor: default; }
button.pq-aso-na { cursor: pointer; }
button.pq-aso-na:hover { color: var(--brand-700); background: var(--ink-50); }
.pq-doc-badge {
  flex: 0 0 auto; font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  color: var(--warn-700); background: var(--warn-50); border: 1px solid rgba(176,122,45,0.25);
  padding: 4px 10px; border-radius: 99px; white-space: nowrap;
}
.pq-doc-ident {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 28px;
  padding: 18px 0; border-bottom: 1px solid var(--ink-150); margin-bottom: 6px;
}
.pq-doc-ident-rot { font-size: 10px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--ink-500); margin-bottom: 2px; }
.pq-doc-ident-val { font-size: 13.5px; color: var(--ink-900); font-weight: 500; }

.pq-doc-sec-head { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; }
.pq-doc-sec-num {
  width: 26px; height: 26px; border-radius: 6px; flex: 0 0 26px;
  background: var(--ink-900); color: var(--paper);
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 13px;
}
.pq-doc-sec-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink-900); margin: 0; }
.pq-doc-sec-fonte { font-size: 11px; color: var(--brand-700); font-weight: 600; margin-top: 1px; }
.pq-doc-p { font-size: 13.5px; line-height: 1.7; color: var(--ink-700); margin: 0 0 6px; text-wrap: pretty; }
.pq-doc-ul { margin: 4px 0 10px; padding-left: 20px; }
.pq-doc-ul li { font-size: 13.5px; line-height: 1.7; color: var(--ink-700); margin-bottom: 3px; }
.pq-modelo-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.pq-portal-ed { outline: none; border-radius: 4px; cursor: text; padding: 1px 3px; transition: background 0.12s, box-shadow 0.12s; border-bottom: 1px dashed rgba(36,62,104,0.35); }
.pq-portal-ed:hover { background: rgba(36,62,104,0.06); }
.pq-portal-ed:focus { background: var(--paper); box-shadow: 0 0 0 2px rgba(36,62,104,0.18); border-bottom-color: transparent; }
.pq-modelo-card { display: flex; align-items: center; gap: 12px; text-align: left; padding: 14px 16px; background: var(--paper); border: 1px solid var(--ink-150); border-radius: 12px; cursor: pointer; transition: all 0.12s; font-family: var(--font-body); }
.pq-modelo-card:hover { border-color: var(--brand-500); background: var(--brand-50); }
.pq-modelo-card-icon { width: 38px; height: 38px; border-radius: 9px; flex: 0 0 38px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.pq-modelo-card:hover .pq-modelo-card-icon { background: var(--paper); }
.pq-modelo-card-eyebrow { font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--brand-700); line-height: 1.3; }
.pq-modelo-card-title { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-900); margin-top: 2px; }
@media (max-width: 720px) { .pq-modelo-grid { grid-template-columns: 1fr; } }

/* Campos editáveis */
.pq-doc-ed { outline: none; border-radius: 3px; transition: background 0.12s, box-shadow 0.12s; cursor: text; }
.pq-doc-ed:hover { background: var(--brand-50); }
.pq-doc-ed:focus { background: var(--brand-50); box-shadow: 0 0 0 2px rgba(36,62,104,0.18); }
.pq-doc-ed.ro { cursor: default; }
.pq-doc-ed.ro:hover { background: transparent; }
.pq-doc-var{background:var(--warn-50,#fff8e6);color:var(--warn-800,#6b4100);border-bottom:1.5px dashed var(--warn-500,#c77700);border-radius:3px;padding:0 3px;font-weight:600;cursor:pointer}
.pq-doc-vars{border:1px solid var(--warn-200,#f0d9a8);background:var(--paper,#fff);border-radius:10px;padding:12px 14px;margin:0 0 14px}
@media print{.pq-doc-var{background:none;border:0;padding:0;color:inherit;font-weight:inherit}.pq-doc-vars{display:none}}

/* Tabelas do documento */
.pq-doc-table-wrap { overflow-x: auto; border: 1px solid var(--ink-150); border-radius: 8px; }
.pq-doc-table { width: 100%; border-collapse: collapse; font-size: 12.5px; }
.pq-doc-table th {
  text-align: left; padding: 10px 12px; background: var(--ink-50);
  font-size: 10px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink-600);
  border-bottom: 1px solid var(--ink-200);
}
.pq-doc-table td { padding: 11px 12px; border-bottom: 1px solid var(--ink-100); color: var(--ink-700); line-height: 1.55; vertical-align: top; }
.pq-doc-table tr:last-child td { border-bottom: none; }
.pq-doc-risks { display: flex; flex-direction: column; gap: 3px; align-items: flex-start; }
.pq-doc-risk {
  font-size: 10px; font-weight: 700; letter-spacing: 0.02em;
  padding: 2px 7px; border-radius: 4px; white-space: nowrap;
  background: var(--ink-100); color: var(--ink-700);
}
.pq-doc-risk.crit { background: var(--bad-50); color: var(--bad-700); }

/* Protocolo de exames */
.pq-doc-proto { border: 1px solid var(--ink-150); border-radius: 8px; overflow: hidden; }
.pq-doc-proto-row { display: flex; gap: 14px; padding: 11px 14px; border-bottom: 1px solid var(--ink-100); align-items: baseline; }
.pq-doc-proto-row:last-child { border-bottom: none; }
.pq-doc-proto-ges { flex: 0 0 200px; font-weight: 600; font-size: 12.5px; color: var(--ink-900); }
.pq-doc-proto-exames { display: flex; flex-wrap: wrap; gap: 6px; }
.pq-doc-exame {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--ok-50); border: 1px solid rgba(78,128,104,0.2); color: var(--ok-700);
  border-radius: 99px; padding: 3px 9px; font-size: 11.5px; font-weight: 600;
}
.pq-doc-exame em { font-style: normal; font-family: var(--font-mono); font-size: 10px; opacity: 0.85; }
.pq-doc-proto-empty { font-size: 12px; color: var(--ink-400); font-style: italic; }
.pq-doc-inline-link {
  display: inline-flex; align-items: center; gap: 5px; margin-top: 10px;
  background: transparent; border: none; color: var(--brand-700); cursor: pointer;
  font-size: 12px; font-weight: 600; text-decoration: underline; text-underline-offset: 2px;
}

/* Assinatura */
.pq-doc-sign { margin-top: 34px; padding-top: 18px; max-width: 360px; }
.pq-doc-sign-line { border-top: 1px solid var(--ink-400); margin-bottom: 6px; }
.pq-doc-sign-name { font-size: 12.5px; font-weight: 600; color: var(--ink-900); }
.pq-doc-sign-rot { font-size: 11px; color: var(--ink-500); }

/* Rodapé de ações */
.pq-doc-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.pq-doc-saved { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; color: var(--ink-600); }

@media (max-width: 720px) {
  .pq-doc-paper { padding: 24px 20px; }
  .pq-doc-ident { grid-template-columns: 1fr; }
  .pq-doc-proto-ges { flex-basis: auto; }
}

/* ---- KPIs do Relatório anual (reutiliza a folha .pq-doc-paper) ---- */
.pq-rel-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.pq-rel-kpi { background: var(--ink-50); border: 1px solid var(--ink-150); border-radius: 10px; padding: 12px 14px; }
.pq-rel-kpi .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--ink-900); line-height: 1.1; }
.pq-rel-kpi .k { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-500); margin-top: 3px; }
.pq-rel-cases { display: flex; flex-direction: column; gap: 5px; margin-top: 10px; }
.pq-rel-case { display: flex; gap: 10px; font-size: 12px; color: var(--ink-700); line-height: 1.5; }
.pq-rel-case-date { flex: 0 0 78px; font-family: var(--font-mono); font-size: 11px; color: var(--ink-500); }
@media (max-width: 720px) { .pq-rel-kpis { grid-template-columns: repeat(2, 1fr); } }

/* ---- LTCAT — expostos por setor (acesso ao PPP individual) ---- */
.pq-ltcat-expostos { display: flex; flex-direction: column; gap: 6px; margin: 10px 0 4px; }
.pq-ltcat-exp { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 8px 12px; background: var(--ink-50); border: 1px solid var(--ink-150); border-radius: 8px; }
.pq-ltcat-exp-info { display: flex; flex-direction: column; min-width: 0; }
.pq-ltcat-exp-name { font-size: 13px; font-weight: 600; color: var(--ink-900); }
.pq-ltcat-exp-fn { font-size: 11px; color: var(--ink-500); }

/* ---- Registro de Acidentes & Afastamentos ---- */
.pq-acc-wrap { display: flex; flex-direction: column; gap: 16px; }
.pq-acc-ro { display: flex; align-items: center; gap: 8px; padding: 10px 14px; background: var(--ink-50); border: 1px solid var(--ink-200); border-radius: 8px; font-size: 12px; color: var(--ink-600); }
.pq-acc-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.pq-acc-kpi { background: var(--paper); border: 1px solid var(--ink-150); border-radius: 12px; padding: 14px 16px; }
.pq-acc-kpi .v { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: var(--ink-900); line-height: 1.05; }
.pq-acc-kpi .k { font-size: 10.5px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; color: var(--ink-500); margin-top: 4px; }
.pq-acc-card { padding: 18px 20px; }
.pq-acc-sec-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pq-acc-sec-icon { width: 38px; height: 38px; border-radius: 9px; flex: 0 0 38px; background: var(--brand-50); color: var(--brand-700); display: grid; place-items: center; }
.pq-acc-sec-title { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink-900); margin: 0; }
.pq-acc-sec-sub { font-size: 11.5px; color: var(--ink-600); line-height: 1.5; margin-top: 2px; }
.pq-acc-list { display: flex; flex-direction: column; gap: 10px; }
.pq-acc-item { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border: 1px solid var(--ink-150); border-radius: 10px; background: var(--paper); }
.pq-acc-item-main { flex: 1; min-width: 0; }
.pq-acc-item-head { display: flex; align-items: center; gap: 7px; flex-wrap: wrap; margin-bottom: 6px; }
.pq-acc-date { font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; color: var(--ink-700); }
.pq-acc-item-name { font-weight: 600; font-size: 13.5px; color: var(--ink-900); }
.pq-acc-fn { font-weight: 400; font-size: 11.5px; color: var(--ink-500); margin-left: 8px; }
.pq-acc-item-desc { font-size: 12px; color: var(--ink-600); line-height: 1.55; margin: 4px 0; }
.pq-acc-item-meta { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 11.5px; color: var(--ink-600); margin-top: 4px; }
.pq-acc-item-meta strong { color: var(--ink-800); font-weight: 600; }
.pq-acc-nat { font-size: 10px; font-weight: 700; letter-spacing: 0.02em; padding: 2px 8px; border-radius: 5px; background: var(--ink-100); color: var(--ink-700); }
.pq-acc-nat.crit { background: var(--bad-50); color: var(--bad-700); }
.pq-acc-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.02em; padding: 2px 8px; border-radius: 5px; background: var(--brand-50); color: var(--brand-700); }
.pq-acc-tag.rel { background: var(--bad-50); color: var(--bad-700); }
.pq-acc-days { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--warn-700); }
.pq-acc-cat { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; font-weight: 600; padding: 2px 8px; border-radius: 99px; }
.pq-acc-cat.ok { background: var(--ok-50); color: var(--ok-700); }
.pq-acc-cat.bad { background: var(--bad-50); color: var(--bad-700); }
.pq-acc-cat.rel { background: var(--bad-50); color: var(--bad-700); }
.pq-acc-cat.aso { background: var(--brand-50); color: var(--brand-700); }
.pq-acc-empty { font-size: 12.5px; color: var(--ink-400); font-style: italic; padding: 12px 4px; }
@media (max-width: 900px) { .pq-acc-kpis { grid-template-columns: repeat(2, 1fr); } }

/* =========================================================================
   Central eSocial-SST (S-2210 / S-2220 / S-2240)
   ========================================================================= */
.pq-esoc-wrap { display: flex; flex-direction: column; gap: 16px; }
.pq-esoc-ro {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 14px; background: var(--ink-50); border: 1px solid var(--ink-200);
  border-radius: 8px; font-size: 12.5px; color: var(--ink-700);
}
.pq-esoc-conn {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 18px; background: var(--paper); border: 1px solid var(--ink-200);
  border-left: 3px solid var(--ok-500); border-radius: 10px;
}
.pq-esoc-conn-dot {
  width: 10px; height: 10px; border-radius: 50%; background: var(--ok-500);
  box-shadow: 0 0 0 4px rgba(78,128,104,0.16); flex-shrink: 0;
}
.pq-esoc-conn-title { font-weight: 600; font-size: 13px; color: var(--ink-900); }
.pq-esoc-conn-sub { font-size: 12px; color: var(--ink-600); line-height: 1.5; margin-top: 2px; }

.pq-esoc-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.pq-esoc-kpi {
  background: var(--paper); border: 1px solid var(--ink-200); border-radius: 10px;
  padding: 14px 16px; text-align: center;
}
.pq-esoc-kpi-val { font-family: var(--font-display); font-weight: 600; font-size: 30px; line-height: 1; }
.pq-esoc-kpi-label { font-size: 11px; color: var(--ink-500); margin-top: 6px; letter-spacing: 0.02em; }

.pq-esoc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; align-items: start; }
.pq-esoc-card {
  background: var(--paper); border: 1px solid var(--ink-200); border-radius: 12px;
  padding: 16px 18px; display: flex; flex-direction: column; gap: 12px;
}
.pq-esoc-card.vencido { border-color: rgba(148,65,65,0.32); background: #FCF5F3; }
.pq-esoc-card-head { display: flex; align-items: flex-start; gap: 12px; }
.pq-esoc-card-icon {
  width: 40px; height: 40px; border-radius: 10px; background: #E7EFEA; color: var(--jor-accent);
  display: grid; place-items: center; flex-shrink: 0;
}
.pq-esoc-card.vencido .pq-esoc-card-icon { background: #F6E4E1; color: var(--bad-700); }
.pq-esoc-cod { font-family: var(--font-mono); font-weight: 700; font-size: 13px; color: var(--ink-900); }
.pq-esoc-card-nome { font-size: 12.5px; color: var(--ink-700); line-height: 1.35; margin-top: 2px; }
.pq-esoc-status {
  font-size: 10.5px; font-weight: 700; letter-spacing: 0.02em; white-space: nowrap;
  padding: 4px 9px; border-radius: 999px; flex-shrink: 0;
}
.pq-esoc-status.ok    { background: var(--ok-50); color: var(--ok-600, #3D7A5C); }
.pq-esoc-status.warn  { background: #FFF3DE; color: var(--warn-700, #9A6A1F); }
.pq-esoc-status.bad   { background: #F6E4E1; color: var(--bad-700); }
.pq-esoc-status.muted { background: var(--ink-100); color: var(--ink-500); }

.pq-esoc-meta { display: flex; flex-direction: column; gap: 6px; }
.pq-esoc-meta > div { display: flex; flex-direction: column; gap: 1px; }
.pq-esoc-meta-k { font-size: 9.5px; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; color: var(--ink-400); }
.pq-esoc-meta-v { font-size: 12px; color: var(--ink-700); line-height: 1.4; }
.pq-esoc-resumo { font-size: 12px; color: var(--ink-600); line-height: 1.5; margin: 0; }

.pq-esoc-prazo {
  display: flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 8px;
  background: var(--ink-50); font-size: 11.5px; color: var(--ink-700); line-height: 1.4;
}
.pq-esoc-prazo.vencido { background: #F6E4E1; color: var(--bad-700); }
.pq-esoc-prazo strong { font-weight: 700; }

.pq-esoc-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.pq-esoc-actions .pq-btn-primary, .pq-esoc-actions .pq-btn-outline { font-size: 12px; padding: 7px 11px; }
.pq-esoc-done {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600;
  color: var(--ok-600, #3D7A5C);
}

.pq-esoc-dialog {
  background: var(--ink-50); border: 1px solid var(--ink-200); border-radius: 8px; padding: 12px;
}
.pq-esoc-dialog label { display: block; font-size: 11.5px; font-weight: 600; color: var(--ink-700); margin-bottom: 6px; }
.pq-esoc-dialog input {
  width: 100%; border: 1px solid var(--ink-200); border-radius: 6px; padding: 8px 10px;
  font-family: var(--font-mono); font-size: 12px; background: var(--paper);
}

.pq-esoc-log { background: var(--paper); border: 1px solid var(--ink-200); border-radius: 10px; padding: 16px 18px; }
.pq-esoc-log h4 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--ink-900); display: flex; align-items: center; }
.pq-esoc-log-list { display: flex; flex-direction: column; gap: 9px; }
.pq-esoc-log-item { display: grid; grid-template-columns: 10px 74px 1fr; gap: 10px; align-items: baseline; }
.pq-esoc-log-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ink-300); margin-top: 4px; }
.pq-esoc-log-dot.ok { background: var(--ok-500); }
.pq-esoc-log-dot.info { background: var(--brand-500, var(--brand-700)); }
.pq-esoc-log-date { font-family: var(--font-mono); font-size: 10.5px; color: var(--ink-500); }
.pq-esoc-log-txt { font-size: 12px; color: var(--ink-700); line-height: 1.45; }

@media (max-width: 1100px) {
  .pq-esoc-grid { grid-template-columns: 1fr; }
  .pq-esoc-kpis { grid-template-columns: repeat(2, 1fr); }
}

@media print{.pq-ppp-src{display:none!important}}

.pq-doc-origem{display:flex;gap:8px;font-size:12px;line-height:1.55;color:var(--ink-700);background:var(--ink-50);border:1px solid var(--ink-150);border-radius:6px;padding:7px 10px;margin:0 0 10px;}
.pq-doc-guia{border:1px solid var(--ink-150);border-radius:8px;background:var(--paper,#fff);padding:10px 14px;margin:0 0 14px;font-size:13px;line-height:1.55;color:var(--ink-700);}
.pq-doc-guia>summary{cursor:pointer;font-weight:700;color:var(--ink-900);}
.pq-doc-ed:empty::before{content:'clique para preencher';color:var(--ink-400);font-style:italic;}
.pq-doc-ed.ro:empty::before{content:'—';font-style:normal;}
@media print{.pq-doc-origem,.pq-doc-guia,.pq-doc-editbar,.pq-doc-x{display:none!important;}}

.pq-doc-ol{list-style:none;padding-left:0}.pq-doc-ol>li{display:grid;grid-template-columns:34px minmax(0,1fr) auto;gap:6px;align-items:baseline}.pq-doc-num{font-family:var(--font-mono);font-size:11.5px;font-weight:700;color:var(--brand-700)}

/* ---- Telas unificadas por abas (menu-hubs.js) ---- */
.pq-tabhub{display:flex;flex-direction:column;min-width:0}
.pq-tabhub-head{padding:0 28px;max-width:1180px;margin:0 auto;width:100%;box-sizing:border-box}
.pq-content > .pq-tabhub > .pq-tabhub-head{padding-top:0}
.pq-tabhub-title{display:flex;align-items:center;gap:8px;font-family:var(--font-display);font-weight:600;font-size:18px;color:var(--ink-900);margin-bottom:6px}
.pq-tabhub-title i{font-size:20px;color:var(--brand-700)}
.pq-tabhub-tabs{margin:0;border-bottom:1px solid var(--ink-200);overflow-y:hidden;flex-wrap:wrap;row-gap:0}
.pq-tabhub-tabs .pq-tab-strip{margin-bottom:-1px}
.pq-acc-wrap > .pq-tabs{flex-wrap:nowrap !important;overflow-x:auto;max-width:100%}
.pq-tabhub .pq-tabhub-body .pq-content-embedded{padding:0;background:transparent;width:100%}

.pq-content-embedded > .pq-tabhub > .pq-tabhub-head{padding:0 0 4px}
.pq-obrig-tag{display:inline-flex;align-items:center;gap:4px;font-size:10.5px;font-weight:700;letter-spacing:0.04em;text-transform:uppercase;color:var(--bad-700);background:var(--bad-50);border-radius:4px;padding:2px 7px;white-space:nowrap}
.pq-obrig-box{border:1px solid var(--bad-100, #f3c9c9);background:var(--bad-50);border-radius:9px;padding:10px 12px;display:flex;flex-direction:column;gap:8px}

.pq-docs-layout{display:grid;grid-template-columns:minmax(200px,250px) minmax(0,1fr);gap:16px;align-items:start}.pq-docs-nav{min-width:0}@media(max-width:860px){.pq-docs-layout{grid-template-columns:minmax(0,1fr)}.pq-docs-nav{min-width:0}}
.pq-dnav-sec{display:flex;align-items:flex-start;gap:5px;font-size:11px;font-weight:700;text-transform:uppercase;letter-spacing:.04em;color:var(--brand-700);line-height:1.35;margin:14px 0 4px;padding-top:12px;border-top:1px solid var(--ink-150,#e6e8ec)}.pq-dnav-sec.first{margin-top:0;padding-top:0;border-top:0;color:var(--ink-700)}.pq-dnav-sec .v-icon{font-size:13px;margin-top:1px}.pq-dnav-sub{font-size:11px;color:var(--ink-500);line-height:1.4;margin:-1px 0 6px}.pq-dnav-div{height:1px;background:var(--ink-150,#e6e8ec);margin:6px 10px}
.pq-dnav-btn{display:flex;justify-content:space-between;align-items:center;gap:8px;width:100%;text-align:left;border:0;border-radius:7px;padding:6px 10px;font-size:12px;font-family:inherit;cursor:pointer;background:transparent;color:var(--ink-700);font-weight:500}.pq-dnav-btn:hover{background:var(--ink-50,#f4f5f7)}.pq-dnav-btn.on{background:var(--brand-50);color:var(--brand-700);font-weight:600}.pq-dnav-btn .l{display:flex;gap:6px;align-items:center;min-width:0}.pq-dnav-btn .l .v-icon{font-size:15px;flex-shrink:0}.pq-dnav-btn .t{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pq-dnav-btn .n{font-family:var(--font-mono);font-size:11px;color:var(--ink-500);flex-shrink:0}
.pq-dpane-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;flex-wrap:wrap;padding-bottom:10px;border-bottom:1px solid var(--ink-150,#e6e8ec)}.pq-dpane-title{font-family:var(--font-display);font-size:17px;font-weight:600;color:var(--ink-900)}.pq-dpane-sub{font-size:12px;color:var(--ink-500);margin-top:2px;line-height:1.45;text-wrap:pretty}

.pq-evid-row.pq-evid-focus{box-shadow:0 0 0 2px var(--brand-500,#2f6fdb),0 0 0 6px var(--brand-50,#eaf1fd);border-radius:8px;transition:box-shadow .6s}

/* Editor Markdown (PQ_MD) */
.pq-md-ed{border:1px solid var(--ink-200);border-radius:8px;background:var(--paper);display:flex;flex-direction:column;overflow:hidden}
.pq-md-bar{display:flex;flex-wrap:wrap;align-items:center;gap:2px;padding:6px 8px;border-bottom:1px solid var(--ink-150);background:var(--ink-50)}
.pq-md-btn{display:inline-flex;align-items:center;gap:4px;border:0;background:transparent;border-radius:6px;padding:5px 7px;font-size:12px;color:var(--ink-700);cursor:pointer}
.pq-md-btn:hover{background:var(--ink-100);color:var(--ink-900)}.pq-md-btn .v-icon{font-size:16px}
.pq-md-sep{width:1px;height:18px;background:var(--ink-200);margin:0 4px}
.pq-md-count{font-size:11px;color:var(--warn-700);font-family:var(--font-mono);margin-right:6px}
.pq-md-menu{position:absolute;top:100%;left:0;z-index:30;min-width:280px;max-height:260px;overflow:auto;background:var(--paper);border:1px solid var(--ink-200);border-radius:8px;box-shadow:0 8px 24px rgba(0,0,0,.12);padding:4px;display:flex;flex-direction:column}
.pq-md-menu button{border:0;background:transparent;text-align:left;padding:7px 9px;font-size:12px;border-radius:6px;cursor:pointer;color:var(--ink-800)}.pq-md-menu button:hover{background:var(--brand-50)}
.pq-md-panes{display:grid;grid-template-columns:minmax(0,1fr);min-height:360px}.pq-md-panes.split{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}
.pq-md-ta{border:0;resize:vertical;min-height:360px;padding:12px 14px;font-family:var(--font-mono);font-size:12.5px;line-height:1.6;color:var(--ink-900);background:var(--paper);outline:none}
.pq-md-prev{border-left:1px solid var(--ink-150);padding:12px 16px;overflow:auto;max-height:60vh;background:var(--paper)}
.pq-md-help{font-size:10.5px;color:var(--ink-500);padding:5px 10px;border-top:1px solid var(--ink-150);font-family:var(--font-mono)}
.pq-md-view{font-size:12.5px;line-height:1.65;color:var(--ink-800);text-wrap:pretty}
.pq-md-view h2{font-family:var(--font-display);font-size:15px;font-weight:600;color:var(--ink-900);margin:14px 0 6px}.pq-md-view h3{font-size:13.5px;font-weight:600;color:var(--ink-900);margin:12px 0 4px}.pq-md-view h4,.pq-md-view h5{font-size:12.5px;font-weight:700;margin:10px 0 4px}
.pq-md-view p{margin:0 0 8px}.pq-md-view ul,.pq-md-view ol{margin:0 0 8px;padding-left:20px}.pq-md-view li{margin:2px 0}
.pq-md-view table{border-collapse:collapse;width:100%;margin:6px 0 10px;font-size:12px}.pq-md-view th,.pq-md-view td{border:1px solid var(--ink-200);padding:5px 8px;text-align:left;vertical-align:top}.pq-md-view th{background:var(--ink-50);font-weight:600}
.pq-md-view blockquote{margin:0 0 8px;padding:6px 10px;border-left:3px solid var(--ink-200);color:var(--ink-600)}
.pq-md-view code{font-family:var(--font-mono);font-size:11.5px;background:var(--ink-50);padding:0 4px;border-radius:4px}
.pq-md-pend{background:var(--warn-50,#fff4e0);color:var(--warn-700);border:1px dashed var(--warn-500,#d89b2b);border-radius:4px;padding:0 4px;font-weight:600;font-size:11.5px}
.pq-md-ref{color:var(--brand-700);font-size:11px;font-family:var(--font-mono);background:var(--brand-50);border-radius:4px;padding:0 4px;white-space:nowrap}

/* Visualização de documento em tela cheia (2 colunas) */
.pq-docview{background:var(--paper);border-radius:12px;width:min(1480px,96vw);height:94vh;display:flex;flex-direction:column;overflow:hidden;box-shadow:0 24px 60px rgba(0,0,0,.25)}
.pq-docview-head{display:flex;align-items:flex-start;gap:12px;padding:14px 20px;border-bottom:1px solid var(--ink-150,#e6e8ec)}
.pq-dv-eyebrow{font-size:10.5px;font-weight:700;color:var(--brand-700);letter-spacing:.1em;text-transform:uppercase}
.pq-dv-title{font-family:var(--font-display);font-size:18px;font-weight:600;color:var(--ink-900);margin-top:2px;text-wrap:pretty}
.pq-docview-grid{flex:1;min-height:0;display:grid;grid-template-columns:minmax(0,1fr) var(--dv-side,320px)}
.pq-docview-main{overflow:auto;background:var(--ink-50);padding:20px}
.pq-docview-paper{max-width:1000px;margin:0 auto;background:var(--paper);border:1px solid var(--ink-150,#e6e8ec);border-radius:8px;min-height:100%}
.pq-docview-side{border-left:1px solid var(--ink-150,#e6e8ec);overflow:auto;padding:16px;display:flex;flex-direction:column;gap:14px}
.pq-dv-sec{display:flex;flex-direction:column;gap:6px}
.pq-dv-lbl{font-size:10.5px;font-weight:700;text-transform:uppercase;letter-spacing:.06em;color:var(--ink-500)}
.pq-dv-row{display:flex;justify-content:space-between;gap:10px;font-size:12px;color:var(--ink-600)}.pq-dv-row b{color:var(--ink-900);font-weight:600;text-align:right}
.pq-dv-req{margin:0;padding-left:16px;font-size:11.5px;line-height:1.55;color:var(--ink-700)}
.pq-docview-foot{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px;padding:10px 20px;border-top:1px solid var(--ink-150,#e6e8ec)}
@media (max-width:900px){.pq-docview-grid{grid-template-columns:minmax(0,1fr)}.pq-docview-side{border-left:0;border-top:1px solid var(--ink-150,#e6e8ec);max-height:35vh}}

@keyframes pqFocusFlash{0%,60%{box-shadow:0 0 0 3px var(--brand-300);background-color:var(--brand-50)}100%{box-shadow:0 0 0 0 transparent}}
.pq-focus-flash{animation:pqFocusFlash 2.4s ease-out;border-radius:8px}

.pq-tabhub-sync:empty{display:none}

.pq-cadeia-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:8px;}
.pq-cadeia-row.clic{cursor:pointer;}
.pq-cadeia-row.clic:hover{background:var(--ink-50);}
.pq-cadeia-kids{margin-left:21px;padding-left:10px;border-left:1px solid var(--ink-150);display:flex;flex-direction:column;}

.pq-nav-item{position:relative}
.pq-nav-acts{margin-left:auto;display:flex;gap:1px;flex-shrink:0}
.pq-nav-act{width:20px;height:20px;border:0;background:transparent;border-radius:4px;color:var(--ink-500);display:grid;place-items:center;cursor:pointer;padding:0;opacity:0;transition:opacity .1s}
.pq-nav-act .v-icon{font-size:14px !important}
.pq-nav-item:hover .pq-nav-act,.pq-nav-act.on{opacity:1}
.pq-nav-act:hover{background:var(--ink-200);color:var(--ink-900)}
.pq-nav-act.star.on{color:var(--warn-500)}
.pq-nav-tags{display:flex;flex-wrap:wrap;gap:3px;margin-top:3px}
.pq-nav-tag{display:inline-block;font-size:9.5px;font-weight:700;padding:1px 7px;border-radius:999px;line-height:1.5;white-space:nowrap}
.pq-nav-tagbar{display:flex;flex-wrap:wrap;gap:4px;padding:2px 12px 6px}
.pq-nav-tag.is-filter{cursor:pointer;font-size:10.5px;padding:2px 8px;outline:1px solid transparent}
.pq-nav-tag.is-filter.active{outline-color:currentColor}
.pq-nav-tag.is-filter.dim{opacity:.45}
.pq-tagpop{position:fixed;z-index:3000;width:268px;background:var(--paper);border:1px solid var(--ink-200);border-radius:10px;box-shadow:0 12px 32px rgba(15,23,42,.18);padding:12px 14px}
.pq-tagpop-inp{width:100%;border:1px solid var(--ink-200);border-radius:6px;padding:6px 8px;font-size:12.5px;font-family:var(--font-body);background:var(--paper)}

/* ---- Cabeçalho padrão e largura padrão das telas do Tradicional (page-header.js) ---- */
.pq-std-head{margin:0 auto;width:100%;box-sizing:border-box;padding:22px 28px 0;display:flex;flex-direction:column;gap:0}
.pq-std-title{font-family:var(--font-display);font-weight:600;font-size:24px;line-height:1.2;color:var(--ink-900);margin:0;letter-spacing:-0.01em}
.pq-std-sub{font-size:13px;line-height:1.55;color:var(--ink-600);margin:6px 0 14px;max-width:880px;text-wrap:pretty}
.pq-std-tabs{margin:0 0 16px}
.pq-std-tabs .pq-tabhub-tabs{margin:0}
.pq-std-exp{padding:10px 14px;margin:0 0 4px;border-color:var(--ink-200)}
.pq-std-exp-btn{all:unset;cursor:pointer;display:flex;align-items:center;gap:10px;width:100%;flex-wrap:wrap}
.pq-has-std-head .pq-content:not(.pq-content-embedded):not(.pq-wide),.pq-has-std-head .pq-page:not(.pq-wide){max-width:1180px !important;margin-left:auto !important;margin-right:auto !important;width:100% !important;box-sizing:border-box;padding-left:28px !important;padding-right:28px !important;padding-top:16px !important}
.pq-has-std-head .pq-content.pq-wide{margin-left:auto !important;margin-right:auto !important;padding-top:16px !important}
.pq-has-std-head .pq-page-head > div:first-child{display:none}
.pq-has-std-head:has(.pq-std-exp) .pq-exp-wrap{display:none}
.pq-has-std-head .pq-tabhub-head{display:none}

.pq-nav-item .pq-nav-lis.lis-none{background:var(--ink-300,#c5cad3);}

/* Menu lateral compacto: menos espaço lateral e bolinha de integração sobre o ícone */
.pq-nav{padding:0 4px 10px;gap:0}
.pq-nav-item{gap:8px;padding:7px 8px;line-height:1.25}
.pq-nav-cat{width:calc(100% - 8px);margin:2px 4px 0;padding:7px 8px}
.pq-sidebar-section{padding:10px 10px 3px}
.pq-nav-item .pq-nav-lis{position:absolute;left:19px;top:3px;margin:0;width:7px;height:7px;flex:none;box-shadow:0 0 0 1.5px var(--paper)}
.pq-nav-item.active .pq-nav-lis{box-shadow:0 0 0 1.5px var(--brand-50)}
.pq-nav-item:hover .pq-nav-lis{box-shadow:0 0 0 1.5px var(--ink-100)}
.pq-nav-item .pq-nav-lis{top:50%;transform:translateY(-11px)}
.pq-nav-acts{position:absolute;right:4px;top:50%;transform:translateY(-50%);margin:0;padding:1px 2px;border-radius:5px;background:var(--ink-100);opacity:0;pointer-events:none;transition:opacity .1s}
.pq-nav-item:hover .pq-nav-acts,.pq-nav-acts:has(.pq-nav-act.on){opacity:1;pointer-events:auto}
.pq-nav-item.active .pq-nav-acts{background:var(--brand-50)}
.pq-nav-acts:not(:has(.pq-nav-act.on)) .pq-nav-act{opacity:1}
.pq-nav-acts:has(.pq-nav-act.on) .pq-nav-act:not(.on){opacity:0}
.pq-nav-item:hover .pq-nav-acts .pq-nav-act{opacity:1}
.pq-nav-cat{gap:6px;letter-spacing:0.02em}
.pq-nav-cat > span:not(.pq-nav-cat-n){flex:1;min-width:0;white-space:normal;overflow:visible;text-overflow:clip;line-height:1.3;overflow-wrap:break-word}

.pq-doc-header::before{content:'';flex:0 0 var(--pq-org-logo-w,0px);width:var(--pq-org-logo-w,0px);height:48px;align-self:center;background:var(--pq-org-logo,none) left center/contain no-repeat;-webkit-print-color-adjust:exact;print-color-adjust:exact}
.pq-perm-tbl .pq-perm-sticky{position:sticky;left:0;background:var(--paper);z-index:1;min-width:200px;box-shadow:1px 0 0 var(--ink-150)}.pq-perm-tbl thead .pq-perm-sticky{z-index:2}

.pq-lis-tabs .pq-tabs{flex-wrap:nowrap !important;width:auto !important}

/* Revisão do perfil da empresa: versão compacta do onboarding */
.pq-onb-rev > div{max-width:1040px !important}
.pq-onb-rev .pq-card-pad-lg{padding:16px 20px;min-height:0 !important}
.pq-onb-rev .h-display.h-2{font-size:17px;margin-bottom:2px !important}
.pq-onb-rev .text-sub{font-size:12.5px;margin-bottom:12px !important;line-height:1.5}
.pq-onb-rev .pq-stepper{margin-bottom:12px;padding:8px 10px;gap:6px;flex-wrap:wrap}
.pq-onb-rev .pq-stepper .step .num{width:20px;height:20px;flex-basis:20px;font-size:11px}
.pq-onb-rev .pq-stepper .step .lbl .k{display:none}
.pq-onb-rev .pq-stepper .step .lbl .v{font-size:12px}
.pq-onb-rev .pq-stepper .step-sep{flex-basis:12px}
.pq-onb-rev .pq-field-label{font-size:11.5px;margin-bottom:3px}
.pq-onb-rev .v-field,.pq-onb-rev .v-field__input,.pq-onb-rev .v-select__selection-text{font-size:13px !important}
.pq-onb-rev .v-field__input{min-height:34px !important;padding-top:4px !important;padding-bottom:4px !important}
.pq-onb-rev .v-field .v-icon{font-size:17px}
.pq-onb-rev .v-btn--size-large{height:36px !important;font-size:13px !important}
.pq-onb-rev .pq-norm{font-size:12px;padding:10px 12px}
.pq-onb-rev .pq-norm-head{font-size:12.5px}
.pq-onb-rev .pq-norm-body,.pq-onb-rev .pq-norm-cite{font-size:12px;line-height:1.5}
.pq-onb-rev label[style*="padding:16px 18px"]{padding:10px 12px !important}
.pq-onb-rev label[style*="padding:16px 18px"] span[style*="font-size:14.5px"]{font-size:13px !important}
.pq-onb-rev [style*="grid-template-columns:1fr 1fr;gap:16px 18px"]{gap:10px 14px !important}
.pq-onb-rev [style*="margin-bottom:22px"]{margin-bottom:12px !important}
.pq-onb-rev [style*="margin-top:18px"]{margin-top:12px !important}

.pq-nav-item.pq-nav-dev .pq-nav-label,.pq-nav-item.pq-nav-dev > .v-icon{color:var(--ink-400) !important}
.pq-nav-item.pq-nav-dev .pq-nav-label::after{content:'em desenvolvimento';display:block;font-size:10px;font-weight:500;color:var(--ink-400);letter-spacing:0.02em;margin-top:1px}

.pq-tabs-flush .pq-tabs{margin-bottom:0 !important}

.pq-nav-item.pq-nav-flash{background:var(--warn-50);box-shadow:inset 3px 0 0 var(--warn-500);animation:pqNavFlash 1.2s ease-in-out 2;}
@keyframes pqNavFlash{50%{background:color-mix(in srgb,var(--warn-500) 22%,#fff);}}
.pq-gsr-locate{display:inline-flex;align-items:center;gap:4px;border:1px solid var(--ink-200);background:var(--paper);color:var(--ink-700);font-size:11px;font-weight:600;padding:3px 8px;border-radius:5px;cursor:pointer;flex-shrink:0;opacity:0;transition:opacity .12s;}
.pq-gsr-item:hover .pq-gsr-locate,.pq-gsr-item.active .pq-gsr-locate{opacity:1;}
.pq-gsr-locate:hover{border-color:var(--brand-500);color:var(--brand-700);}
.pq-gsr-locate .v-icon{font-size:13px;}
