﻿/* Manual Operacional PDV Java 21 - estilo alinhado a wiki da loja */
.manual-hero {
  background: linear-gradient(135deg, #0f766e 0%, #155e75 100%);
  color: #fff;
  border-radius: 14px;
  padding: 24px;
  margin-bottom: 18px;
}

.manual-hero h1 {
  margin: 0 0 8px;
  font-weight: 700;
}

.manual-hero p {
  margin: 0;
  color: #dcfce7;
}

.manual-badges {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manual-badge {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.16);
}

.section-card {
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  padding: 16px;
  margin-bottom: 14px;
  background: #fff;
}

.section-card h2 {
  margin: 0 0 8px;
  color: #155e75;
  font-size: 1.08rem;
  font-weight: 700;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.process-profile {
  border: 1px solid #dbe3ec;
  border-radius: 10px;
  background: #f8fafc;
  padding: 10px;
}

.process-profile h3 {
  margin: 0 0 8px;
  font-size: 0.95rem;
}

.process-profile ol {
  margin: 0;
  padding-left: 18px;
  font-size: 0.88rem;
  color: #334155;
}

.process-table-wrap {
  overflow: auto;
  border: 1px solid #dbe3ec;
  border-radius: 10px;
}

.process-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 700px;
  font-size: 0.86rem;
}

.process-table th,
.process-table td {
  border-bottom: 1px solid #e2e8f0;
  padding: 8px 10px;
  text-align: left;
  vertical-align: top;
}

.process-table th {
  background: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.74rem;
  color: #475569;
}

.screens-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.screen-card {
  border: 1px solid #dbe3ec;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  page-break-inside: avoid;
  break-inside: avoid;
}

.screen-head {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: 12px;
}

.screen-head h3 {
  margin: 0;
  font-size: 1rem;
}

.screen-meta {
  margin-top: 4px;
  font-size: 0.84rem;
  color: #475569;
}

.proc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.proc-tags span {
  display: inline-block;
  border-radius: 999px;
  padding: 3px 8px;
  border: 1px solid #dbeafe;
  background: #eff6ff;
  color: #1d4ed8;
  font-size: 0.72rem;
  font-weight: 700;
}

.screen-media {
  padding: 12px;
}

.screen-media img {
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
}

.screen-notes {
  margin: 0;
  padding: 0 12px 8px;
  font-size: 0.89rem;
  color: #334155;
}

.acceptance-box {
  border: 1px solid #bbf7d0;
  background: #f0fdf4;
  border-radius: 8px;
  margin: 8px 12px 12px;
  padding: 10px;
}

.acceptance-title {
  margin: 0 0 8px;
  color: #166534;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.acceptance-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 5px;
  font-size: 0.84rem;
  color: #14532d;
}

.acceptance-list li::before {
  content: "[ ] ";
  font-weight: 700;
}

.manual-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.audit-print-header {
  display: none;
}

@media (max-width: 1100px) {
  .screens-grid {
    grid-template-columns: 1fr;
  }

  .process-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  @page {
    size: A4 portrait;
    margin: 14mm 10mm 14mm;
  }

  body {
    background: #fff !important;
    font-size: 10pt;
  }

  .navbar,
  .wiki-breadcrumb,
  .manual-actions {
    display: none !important;
  }

  .wiki-container,
  .wiki-content {
    max-width: none !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: 0 !important;
  }

  .audit-print-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 2px solid #000;
    padding: 0 0 4mm;
    margin-bottom: 6mm;
    font-size: 10pt;
    background: #fff;
    color: #000;
  }

  .manual-hero,
  .section-card,
  .screen-card {
    box-shadow: none !important;
    border-color: #999 !important;
  }

  .manual-hero {
    margin-top: 20mm;
    background: #fff !important;
    color: #000 !important;
  }

  .manual-hero p {
    color: #111 !important;
  }

  .manual-badge {
    border-color: #888;
    background: #fff;
    color: #000;
  }

  .screens-grid {
    display: block;
  }

  .screen-card {
    page-break-after: always;
    break-after: page;
    margin-bottom: 8mm;
  }

  .screen-card:last-child {
    page-break-after: auto;
    break-after: auto;
  }

  .acceptance-box {
    border-color: #888;
    background: #fff;
  }
}


