/* src/styles.css */
:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --bg-soft: #eef2ed;
  --panel: #ffffff;
  --panel-strong: #f9faf7;
  --ink: #15201b;
  --muted: #68736f;
  --line: #dce2dc;
  --line-strong: #cbd5cd;
  --brand: #16735f;
  --brand-dark: #0f4f43;
  --brand-soft: #e7f3ef;
  --accent: #c0782d;
  --accent-soft: #fff1df;
  --warn: #9a4d12;
  --danger: #b42318;
  --success: #027a48;
  --shadow-sm: 0 1px 2px rgba(18, 28, 24, .07);
  --shadow-md: 0 12px 34px rgba(18, 28, 24, .12);
  --shadow-lg: 0 24px 70px rgba(18, 28, 24, .18);
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
}
body {
  margin: 0;
  background:
    linear-gradient(
      135deg,
      rgba(22, 115, 95, .08),
      transparent 32%),
    linear-gradient(
      315deg,
      rgba(192, 120, 45, .08),
      transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.primary-link {
  align-items: center;
  background: var(--brand);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    transform .18s ease;
  white-space: nowrap;
}
button:hover,
.primary-link:hover {
  background: var(--brand-dark);
  box-shadow: 0 8px 20px rgba(15, 79, 67, .18);
  transform: translateY(-1px);
}
button:focus-visible,
.primary-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(22, 115, 95, .24);
  outline-offset: 2px;
}
button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}
button.ghost,
.ghost {
  background: #f2f6f3;
  border-color: var(--line);
  color: var(--brand-dark);
}
button.ghost:hover,
.ghost:hover {
  background: var(--brand-soft);
  border-color: #bad7cd;
  color: var(--brand-dark);
}
button.danger-action,
.danger-action {
  color: var(--danger);
}
button.danger-action:hover,
.danger-action:hover {
  background: #fef3f2;
  border-color: #fecdca;
  color: var(--danger);
}
a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}
.shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  align-self: start;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .08),
      transparent 28%),
    #14231e;
  border-right: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 10px 0 34px rgba(18, 28, 24, .12);
  color: #f7fbfa;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 100vh;
  padding: 24px;
  position: sticky;
  top: 0;
}
.brand-block {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
  transition: padding-left .22s ease;
}
.brand-mark {
  align-items: center;
  background:
    linear-gradient(
      135deg,
      #2fa383,
      #c0782d);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.brand-mark-lg {
  font-size: 20px;
  height: 56px;
  width: 56px;
}
.brand-logo-mark {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  display: block;
  flex: 0 0 auto;
  height: 46px;
  object-fit: contain;
  padding: 4px;
  width: 46px;
}
.brand-logo-mark-lg {
  height: 60px;
  padding: 5px;
  width: 60px;
}
.brand-copy {
  min-width: 0;
}
.brand-copy h1 {
  color: inherit;
  font-size: 20px;
  line-height: 1.1;
  margin: 0 0 4px;
}
.brand-copy p {
  color: rgba(247, 251, 250, .68);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(247, 251, 250, .78);
  display: grid;
  font-weight: 800;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 46px;
  padding: 5px 10px 5px 6px;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease;
}
.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .11);
  color: #fff;
  transform: translateX(2px);
}
.nav-icon {
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #dff5ee;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.nav-icon svg {
  display: block;
  fill: none;
  height: 19px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 19px;
}
.sidebar a.active .nav-icon {
  background: #fff;
  color: var(--brand-dark);
}
.sidebar-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}
.user-card {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 40px minmax(0, 1fr) 20px;
  padding: 10px;
  text-align: left;
  width: 100%;
}
button.user-card {
  cursor: pointer;
}
button.user-card:hover {
  background: rgba(255, 255, 255, .14);
  border-color: rgba(255, 255, 255, .2);
  box-shadow: none;
  transform: none;
}
.user-card-copy {
  display: grid;
  gap: 1px;
  min-width: 0;
}
.user-card-copy small {
  color: rgba(247, 251, 250, .62);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
}
.user-card-chevron {
  fill: none;
  height: 18px;
  stroke: rgba(247, 251, 250, .72);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: rotate(0deg);
  transition: transform .18s ease;
  width: 18px;
}
.user-card-chevron.open {
  transform: rotate(180deg);
}
.user-menu {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
.user-menu-item {
  align-items: center;
  background: #fff;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  box-shadow: none;
  color: var(--ink);
  display: flex;
  gap: 10px;
  justify-content: flex-start;
  min-height: 44px;
  padding: 0 12px;
  text-align: left;
  transform: none;
  width: 100%;
}
.user-menu-item:last-child {
  border-bottom: 0;
}
.user-menu-item:hover {
  background: var(--panel-strong);
  box-shadow: none;
  color: var(--brand-dark);
  transform: none;
}
.user-menu-item svg {
  fill: none;
  flex: 0 0 auto;
  height: 17px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
  width: 17px;
}
.user-menu-item span {
  color: inherit;
  font-size: 13px;
  font-weight: 750;
}
.profile-modal-backdrop {
  z-index: 60;
}
.profile-modal {
  max-width: 620px;
}
.profile-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.profile-form input[readonly] {
  background: var(--panel-strong);
  color: var(--muted);
}
.profile-section-title {
  display: grid;
  gap: 3px;
}
.profile-section-title h4 {
  color: var(--ink);
  font-size: 17px;
  margin: 0;
}
.profile-section-title p {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  margin: 0;
}
.profile-actions {
  display: flex;
  justify-content: flex-end;
}
.profile-divider {
  border-top: 1px solid var(--line);
  margin-top: 22px;
}
.profile-modal .error,
.profile-modal .success {
  margin: 0;
}
.user-avatar {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--warn);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.user-card strong,
.user-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-card strong {
  color: #fff;
  font-size: 14px;
}
.user-card div > span {
  color: rgba(247, 251, 250, .62);
  font-size: 12px;
  margin-top: 2px;
}
.logout-button {
  min-height: 42px;
  width: 100%;
}
.content {
  min-width: 0;
  padding: 28px;
}
.content-frame {
  margin: 0 auto;
  max-width: 1540px;
}
.page-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.page-header h2 {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.12;
  margin: 0 0 5px;
}
.page-header p {
  color: var(--muted);
  font-weight: 650;
  margin: 0;
}
.header-actions,
.form-actions,
.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.panel,
.login-card,
.data-table {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.panel {
  margin-bottom: 18px;
  padding: 18px;
}
.grid-form {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}
label {
  align-content: start;
  align-self: start;
  color: #33433d;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}
.grid-form > .full,
label.full {
  grid-column: 1 / -1;
  margin-top: 14px;
}
.check {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 64px;
}
.menu-permissions {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}
.field-label {
  color: #33433d;
  font-size: 13px;
  font-weight: 800;
}
.permission-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.permission-option {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 46px;
  padding: 0 10px;
}
.permission-option input,
.check input {
  min-height: auto;
  width: auto;
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #cfd8d1;
  border-radius: 8px;
  color: var(--ink);
  min-height: 42px;
  padding: 9px 11px;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
  width: 100%;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 115, 95, .11);
  outline: none;
}
textarea {
  resize: vertical;
}
select[multiple] {
  min-height: 104px;
}
.responsaveis-box {
  align-content: start;
  align-self: start;
  display: grid;
  gap: 8px;
}
.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  align-items: center;
  background: var(--brand-soft);
  border: 1px solid #c8e1d8;
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  min-height: 30px;
  padding: 4px 6px 4px 10px;
}
.chip-remove {
  background: transparent;
  box-shadow: none;
  color: var(--danger);
  font-size: 11px;
  min-height: 24px;
  padding: 0 6px;
}
.chip-remove:hover {
  background: #fef3f2;
  box-shadow: none;
  transform: none;
}
.field-hint {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.inline-picker {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
}
.inline-picker label {
  min-width: 180px;
}
.sr-only {
  height: 1px;
  left: -10000px;
  overflow: hidden;
  position: absolute;
  top: auto;
  width: 1px;
}
.draft-photo {
  align-items: start;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin: 14px 0;
  padding: 14px;
}
.draft-photo-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.draft-photo-preview {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 8px;
  margin: 0;
  max-width: 420px;
  overflow: hidden;
}
.draft-photo-preview img {
  aspect-ratio: 4 / 3;
  background: var(--panel-strong);
  display: block;
  height: auto;
  object-fit: contain;
  width: 100%;
}
.draft-photo-preview figcaption {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  overflow: hidden;
  padding: 0 10px 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.view-photo {
  margin-top: 16px;
}
.tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.tab-button {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--brand-dark);
  min-height: 38px;
}
.tab-button:hover {
  background: var(--brand-soft);
  box-shadow: none;
}
.tab-button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.data-table,
.size-table {
  border-collapse: collapse;
  overflow: hidden;
  width: 100%;
}
.data-table th,
.data-table td,
.size-table th,
.size-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}
.data-table th,
.size-table th {
  background: var(--panel-strong);
  color: #394841;
  font-size: 12px;
  text-transform: uppercase;
}
.data-table tr:hover td {
  background: #fbfcf9;
}
.data-table input[type=checkbox] {
  accent-color: var(--brand);
  min-height: 18px;
  width: 18px;
}
.size-table {
  margin-top: 18px;
  max-width: 1040px;
}
.size-table input {
  max-width: 180px;
}
.size-table .currency-input {
  max-width: 180px;
  min-width: 140px;
}
.payment-sheet-wrap {
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  overflow: auto;
  padding-bottom: 12px;
}
.payment-sheet {
  background: #fff;
  border-collapse: collapse;
  min-width: 1120px;
  width: 100%;
}
.payment-sheet th,
.payment-sheet td {
  border: 1px solid #2f3b36;
  padding: 6px 8px;
  text-align: right;
  vertical-align: middle;
  white-space: nowrap;
}
.payment-sheet th {
  background: #f3f4f1;
  color: #18241f;
  font-weight: 850;
}
.payment-sheet td:first-child,
.payment-sheet th:first-child,
.payment-sheet td:last-child,
.payment-sheet th:last-child,
.payment-sheet .payment-product {
  text-align: left;
}
.payment-sheet .payment-product,
.payment-sheet .payment-value,
.payment-sheet .payment-quantity,
.payment-sheet .payment-total,
.payment-sheet .payment-fill,
.payment-sheet tfoot th:first-child,
.payment-sheet tfoot th:nth-child(n+2) {
  background: #ffd9b3;
}
.payment-sheet tfoot th {
  font-size: 16px;
}
.payment-sheet button {
  min-height: 34px;
  padding: 0 10px;
}
.payment-withdrawals-table {
  min-width: 720px;
}
.payment-withdrawals-table th:nth-child(1),
.payment-withdrawals-table td:nth-child(1) {
  width: 46px;
}
.payment-withdrawals-table th:nth-child(2),
.payment-withdrawals-table td:nth-child(2) {
  width: 110px;
}
.payment-withdrawals-table th:nth-child(3),
.payment-withdrawals-table td:nth-child(3) {
  width: 112px;
}
.payment-withdrawals-table th:nth-child(4),
.payment-withdrawals-table td:nth-child(4) {
  width: 110px;
}
.payment-withdrawals-table th:nth-child(5),
.payment-withdrawals-table td:nth-child(5) {
  min-width: 240px;
  white-space: normal;
}
.payment-withdrawals-table th:nth-child(6),
.payment-withdrawals-table td:nth-child(6),
.payment-withdrawals-table th:nth-child(7),
.payment-withdrawals-table td:nth-child(7) {
  width: 92px;
}
.pix-modal {
  max-width: 1180px;
}
.pix-workspace {
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
  margin-top: 16px;
}
.pix-list {
  display: grid;
  gap: 10px;
}
.pix-list-item {
  align-items: center;
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: none;
  color: var(--ink);
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto auto;
  justify-content: stretch;
  min-height: 68px;
  padding: 10px 12px;
  text-align: left;
  white-space: normal;
}
.pix-list-item:hover,
.pix-list-item.active {
  background: var(--brand-soft);
  border-color: #bad7cd;
  box-shadow: none;
  color: var(--ink);
  transform: none;
}
.pix-list-item.pix-paid {
  background: #ecfdf3;
  border-color: #abefc6;
}
.pix-list-item.pix-pending {
  background: #fff;
  border-color: #fecdca;
}
.pix-list-item span,
.pix-list-item strong,
.pix-list-item small {
  display: block;
  min-width: 0;
}
.pix-list-item strong {
  font-size: 15px;
  line-height: 1.2;
}
.pix-list-item small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  margin-top: 4px;
}
.pix-list-item b {
  color: var(--brand-dark);
  font-size: 16px;
  font-weight: 900;
}
.pix-list-item em,
.pix-detail-header em {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--warn);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  padding: 5px 9px;
}
.pix-list-item.pix-paid em,
.pix-paid-status {
  background: #ecfdf3;
  color: var(--success);
}
.pix-detail {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 14px;
  padding: 16px;
}
.pix-detail-header {
  align-items: start;
  display: flex;
  gap: 14px;
  justify-content: space-between;
}
.pix-detail-header strong,
.pix-detail-header span {
  display: block;
}
.pix-detail-header strong {
  font-size: 22px;
  line-height: 1.15;
}
.pix-detail-header span {
  color: var(--brand-dark);
  font-size: 30px;
  font-weight: 900;
  margin-top: 6px;
}
.pix-qr-stage {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  justify-content: center;
  min-height: 360px;
  padding: 24px;
}
.pix-qr-stage img {
  display: block;
  height: min(320px, 70vw);
  width: min(320px, 70vw);
}
.pix-detail dl {
  display: grid;
  gap: 6px;
  margin: 0;
}
.pix-detail dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}
.pix-detail dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}
.pix-copy {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-family:
    ui-monospace,
    SFMono-Regular,
    Menlo,
    Consolas,
    monospace;
  font-size: 11px;
  max-height: 92px;
  overflow: auto;
  padding: 8px;
}
.total-line {
  border-top: 1px solid var(--line);
  font-size: 18px;
  margin-top: 18px;
  padding-top: 16px;
}
.status {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--warn);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}
.status.finalizada {
  background: #ecfdf3;
  color: var(--success);
}
.status.cancelada {
  background: #fef3f2;
  color: var(--danger);
}
.selected-row td {
  background: #f2faf6;
}
.metrics {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
}
.metrics article {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  min-width: 0;
  padding: 16px 18px;
}
.metrics span {
  color: var(--muted);
  display: block;
  font-size: 13px;
  font-weight: 750;
  margin-bottom: 8px;
  white-space: nowrap;
}
.metrics strong {
  font-size: 31px;
  line-height: 1;
}
.caixa-filter-panel {
  margin-bottom: 14px;
  padding: 14px 18px;
}
.caixa-filter-form {
  align-items: end;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, 1.4fr) repeat(3, minmax(150px, 1fr)) minmax(150px, .8fr);
}
.caixa-filter-form > div {
  display: grid;
  gap: 3px;
}
.caixa-filter-form > div strong {
  color: var(--ink);
  font-size: 15px;
}
.caixa-filter-form .field-hint {
  margin: 0;
}
.caixa-metrics {
  align-items: stretch;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 18px;
}
.caixa-metric {
  align-items: center;
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  min-width: 0;
  padding: 17px 18px;
}
.caixa-metric span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}
.caixa-metric strong {
  color: var(--ink);
  font-size: clamp(18px, 2vw, 27px);
  white-space: nowrap;
}
.caixa-metric.entrada {
  border-left-color: var(--success);
}
.caixa-metric.entrada strong {
  color: var(--success);
}
.caixa-metric.saida {
  border-left-color: var(--danger);
}
.caixa-metric.saida strong {
  color: var(--danger);
}
.dashboard-rankings {
  align-items: start;
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  margin-top: 18px;
}
.dashboard-ranking {
  display: grid;
  gap: 14px;
}
.dashboard-ranking header {
  align-items: start;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.dashboard-ranking h3 {
  font-size: 18px;
  line-height: 1.2;
  margin: 0;
}
.dashboard-ranking header span {
  color: var(--muted);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 850;
  margin-top: 2px;
}
.ranking-period-form {
  align-items: end;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(120px, 1fr)) auto;
}
.ranking-period-actions {
  display: flex;
  gap: 8px;
}
.ranking-period-actions button {
  min-height: 42px;
}
.ranking-table {
  box-shadow: none;
}
.ranking-table th:nth-child(2),
.ranking-table th:nth-child(3),
.ranking-table td:nth-child(2),
.ranking-table td:nth-child(3) {
  text-align: right;
  width: 112px;
}
.ranking-table td:first-child {
  align-items: center;
  display: flex;
  gap: 10px;
  min-width: 0;
}
.ranking-table b {
  align-items: center;
  background: var(--brand-soft);
  border: 1px solid #c8e1d8;
  border-radius: 8px;
  color: var(--brand-dark);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  height: 28px;
  justify-content: center;
  min-width: 28px;
}
.dashboard-receivable {
  grid-column: 1 / -1;
}
.receivable-table th:nth-child(n+2),
.receivable-table td:nth-child(n+2) {
  text-align: right;
  width: 190px;
}
.receivable-table td:first-child {
  display: table-cell;
}
.receivable-table td:first-child b {
  margin-right: 10px;
  vertical-align: middle;
}
.receivable-table td:last-child strong {
  color: var(--brand-dark);
}
.receivable-table tbody tr.is-clickable {
  cursor: pointer;
  transition: background-color .15s ease, box-shadow .15s ease;
}
.receivable-table tbody tr.is-clickable:hover,
.receivable-table tbody tr.is-clickable:focus {
  background: #f0f8f4;
  outline: none;
}
.receivable-table tbody tr.is-clickable:focus {
  box-shadow: inset 0 0 0 2px var(--brand);
}
.receivable-detail-modal {
  max-width: 900px;
}
.receivable-detail-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}
.receivable-detail-summary article {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 5px;
  padding: 12px;
}
.receivable-detail-summary span,
.receivable-detail-meta,
.receivable-detail-payment > header div span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
}
.receivable-detail-summary strong {
  color: var(--brand-dark);
  font-size: 18px;
}
.receivable-detail-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.receivable-detail-payment {
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}
.receivable-detail-payment > header {
  align-items: start;
  background: var(--panel-strong);
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding: 12px 14px;
}
.receivable-detail-payment > header div {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.receivable-detail-status {
  background: var(--brand-soft);
  border: 1px solid #c8e1d8;
  border-radius: 999px;
  color: var(--brand-dark);
  flex: 0 0 auto;
  font-size: 11px;
  font-weight: 850;
  padding: 5px 9px;
}
.receivable-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding: 10px 14px 0;
}
.receivable-detail-table {
  box-shadow: none;
  margin-top: 8px;
}
.receivable-detail-table th:nth-child(n+2),
.receivable-detail-table td:nth-child(n+2) {
  text-align: right;
  white-space: nowrap;
}
.receivable-daily-table {
  margin-top: 0;
}
.receivable-daily-section {
  display: grid;
  gap: 8px;
}
.receivable-daily-section + .receivable-daily-section {
  margin-top: 16px;
}
.receivable-daily-section h4 {
  color: var(--brand-dark);
  font-size: 14px;
  margin: 0;
}
.receivable-daily-table th:last-child,
.receivable-daily-table td:last-child {
  text-align: right;
  width: 180px;
}
.receivable-daily-table tfoot th {
  background: var(--panel-strong);
  border-top: 2px solid var(--line);
  color: var(--brand-dark);
  font-weight: 850;
}
.receivable-detail-adjustments {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 6px;
  margin: 0 14px;
  padding: 10px 0;
}
.receivable-detail-adjustments div,
.receivable-detail-payment > footer {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}
.receivable-detail-adjustments strong {
  color: var(--success);
  white-space: nowrap;
}
.receivable-detail-adjustments strong.is-discount {
  color: var(--danger);
}
.receivable-detail-payment > footer {
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  padding: 12px 14px;
}
.receivable-detail-payment > footer strong {
  color: var(--brand-dark);
  font-size: 17px;
}
.login-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.login-shell {
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  max-width: 980px;
  min-height: 590px;
  overflow: hidden;
  width: 100%;
}
.login-hero {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .12),
      transparent 34%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, .05) 0 1px,
      transparent 1px 18px),
    linear-gradient(
      155deg,
      #14231e,
      #0f4f43 58%,
      #c0782d);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 34px;
  position: relative;
}
.login-brand .brand-copy h1 {
  font-size: 25px;
}
.login-hero-panel {
  align-self: stretch;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
  display: grid;
  gap: 12px;
  padding: 24px;
}
.login-logo-panel {
  background: #fff;
  place-items: center;
}
.login-logo-full {
  display: block;
  max-height: 270px;
  max-width: 100%;
  object-fit: contain;
}
.login-hero-panel span,
.login-hero-panel em {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}
.login-hero-panel strong {
  font-size: clamp(38px, 5vw, 64px);
  line-height: .95;
}
.login-card {
  align-content: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 18px;
  padding: 42px;
  width: 100%;
}
.login-card-header {
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
}
.login-card-header span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.login-card-header h2 {
  font-size: 32px;
  line-height: 1.1;
  margin: 0;
}
.login-submit {
  min-height: 46px;
  width: 100%;
}
.error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 8px;
  color: var(--danger);
  font-weight: 800;
  margin: 0;
  padding: 10px 12px;
}
.success {
  color: var(--success);
  font-weight: 800;
}
.toast-stack {
  display: grid;
  gap: 10px;
  max-width: min(520px, calc(100vw - 32px));
  position: fixed;
  right: 20px;
  top: 20px;
  width: max-content;
  z-index: 1000;
}
.toast {
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  line-height: 1.35;
  padding: 14px 12px 14px 16px;
}
.toast-error {
  border-left-color: var(--danger);
}
.toast-success {
  border-left-color: var(--success);
}
.toast-close {
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  min-height: 24px;
  padding: 0 7px;
}
.toast-close:hover {
  background: var(--brand-soft);
  box-shadow: none;
  color: var(--ink);
  transform: none;
}
.modal-backdrop {
  align-items: center;
  background: rgba(21, 32, 27, .52);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 40;
}
.modal {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  max-height: calc(100vh - 48px);
  max-width: 980px;
  overflow: auto;
  padding: 18px;
  width: min(980px, 100%);
}
.modal-header {
  align-items: start;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}
.modal-header h3 {
  margin: 0 0 4px;
}
.modal-header p {
  color: var(--muted);
  font-weight: 700;
  margin: 0;
}
.modal-close {
  min-height: 34px;
  padding: 0 11px;
}
.modal h4 {
  margin: 18px 0 0;
}
.resolution-summary {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  margin-top: 16px;
}
.resolution-summary article {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px;
}
.resolution-summary span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 6px;
}
.resolution-summary strong {
  font-size: 24px;
}
.muted-line {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.view dl {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  margin: 0 0 12px;
}
.view dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.view dd {
  margin: 4px 0 0;
}
@media (max-width: 1100px) {
  .grid-form {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}
@media (max-width: 900px) {
  .caixa-filter-form {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .caixa-filter-form > div {
    grid-column: 1 / -1;
  }
  .caixa-metrics {
    grid-template-columns: 1fr;
  }
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    min-height: auto;
    position: static;
  }
  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar a:hover,
  .sidebar a.active {
    transform: none;
  }
  .content {
    padding: 20px;
  }
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .data-table {
    display: block;
    overflow-x: auto;
  }
  .dashboard-rankings {
    grid-template-columns: 1fr;
  }
  .ranking-period-form {
    grid-template-columns: 1fr;
  }
  .ranking-period-actions {
    align-items: stretch;
    flex-direction: column;
  }
  .view dl {
    grid-template-columns: 1fr;
  }
  .login-shell {
    grid-template-columns: 1fr;
    max-width: 520px;
    min-height: auto;
  }
  .login-hero {
    min-height: 260px;
    padding: 26px;
  }
  .login-card {
    padding: 30px 24px;
  }
}
@media (max-width: 620px) {
  .login-page {
    padding: 12px;
  }
  .login-hero {
    min-height: 220px;
  }
  .login-hero-panel {
    padding: 18px;
  }
  .sidebar {
    padding: 18px;
  }
  .sidebar nav,
  .metrics,
  .grid-form {
    grid-template-columns: 1fr;
  }
  .header-actions,
  .form-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .header-actions > *,
  .form-actions > *,
  .actions > *,
  .primary-link {
    width: 100%;
  }
}
@media (max-width: 760px) {
  body {
    background: var(--bg);
  }
  button,
  .primary-link {
    min-height: 44px;
    min-width: 0;
    padding: 0 14px;
    white-space: normal;
  }
  .shell {
    display: block;
  }
  .sidebar {
    border-right: 0;
    box-shadow: 0 8px 22px rgba(18, 28, 24, .16);
    gap: 14px;
    min-height: auto;
    padding: 14px;
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .brand-logo-mark {
    height: 42px;
    width: 42px;
  }
  .brand-copy h1 {
    font-size: 18px;
  }
  .brand-copy p,
  .user-card div > span {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 8px;
    margin: 0 -14px;
    overflow-x: auto;
    padding: 0 14px 4px;
    scrollbar-width: thin;
  }
  .sidebar a {
    flex: 0 0 auto;
    gap: 7px;
    grid-template-columns: 30px max-content;
    min-height: 40px;
    padding: 4px 10px 4px 5px;
  }
  .nav-icon {
    height: 30px;
    width: 30px;
  }
  .sidebar-footer {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .user-card {
    background: transparent;
    border-color: rgba(255, 255, 255, .08);
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 6px;
  }
  .user-avatar {
    height: 34px;
    width: 34px;
  }
  .logout-button {
    min-height: 38px;
    width: auto;
  }
  .content {
    padding: 14px;
  }
  .page-header {
    gap: 12px;
    margin-bottom: 14px;
  }
  .page-header h2 {
    font-size: 24px;
  }
  .page-header p {
    font-size: 13px;
  }
  .tabs {
    flex-wrap: nowrap;
    margin: 0 -14px 14px;
    overflow-x: auto;
    padding: 0 14px 4px;
  }
  .tab-button {
    flex: 0 0 auto;
    min-height: 40px;
  }
  .panel {
    margin-bottom: 14px;
    padding: 14px;
  }
  .grid-form,
  .metrics,
  .view dl,
  .permission-grid {
    grid-template-columns: 1fr;
  }
  label.full {
    margin-top: 0;
  }
  .check {
    min-height: 44px;
  }
  .inline-picker {
    align-items: stretch;
    display: grid;
    gap: 10px;
    max-width: none;
  }
  .pix-workspace {
    grid-template-columns: 1fr;
  }
  .pix-list-item {
    grid-template-columns: minmax(0, 1fr);
  }
  .pix-qr-stage {
    min-height: 300px;
    padding: 16px;
  }
  .inline-picker label {
    min-width: 0;
  }
  .selected-list {
    display: grid;
  }
  .chip {
    border-radius: 8px;
    justify-content: space-between;
    width: 100%;
  }
  .toast-stack {
    left: 12px;
    max-width: none;
    right: 12px;
    top: 12px;
    width: auto;
  }
  .data-table,
  .size-table {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    overflow: visible;
  }
  .data-table thead,
  .size-table thead {
    display: none;
  }
  .data-table tbody,
  .size-table tbody {
    display: grid;
    gap: 12px;
  }
  .data-table tr,
  .size-table tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: grid;
    overflow: hidden;
  }
  .data-table td,
  .size-table td {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(96px, 36%) minmax(0, 1fr);
    min-width: 0;
    padding: 10px 12px;
    word-break: break-word;
  }
  .data-table td:last-child,
  .size-table td:last-child {
    border-bottom: 0;
  }
  .data-table td[data-label]::before,
  .size-table td[data-label]::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }
  .ranking-table td:first-child {
    display: grid;
    grid-template-columns: minmax(96px, 36%) auto minmax(0, 1fr);
  }
  .ranking-table td:nth-child(2),
  .ranking-table td:nth-child(3) {
    text-align: left;
    width: auto;
  }
  .receivable-table td:nth-child(n+2) {
    text-align: left;
    width: auto;
  }
  .data-table td.actions,
  .size-table td.actions,
  .data-table td[data-label=A\e7\f5 es],
  .size-table td[data-label=A\e7\f5 es] {
    display: grid;
    grid-template-columns: 1fr;
  }
  .data-table td.actions::before,
  .size-table td.actions::before,
  .data-table td[data-label=A\e7\f5 es]::before,
  .size-table td[data-label=A\e7\f5 es]::before {
    display: none;
  }
  .data-table .actions,
  .size-table .actions {
    align-items: stretch;
  }
  .data-table input[type=checkbox] {
    justify-self: start;
  }
  .size-table input,
  .size-table .currency-input {
    max-width: none;
    min-width: 0;
  }
  .total-line {
    font-size: 16px;
    margin-top: 14px;
    padding-top: 14px;
  }
  .metrics article {
    padding: 16px;
  }
  .metrics strong {
    font-size: 30px;
  }
  .login-shell {
    box-shadow: var(--shadow-md);
  }
  .login-hero {
    min-height: auto;
    padding: 20px;
  }
  .login-logo-panel {
    display: none;
  }
  .login-card {
    padding: 24px 18px;
  }
  .login-card-header h2 {
    font-size: 26px;
  }
}
@media (max-width: 420px) {
  .content {
    padding: 10px;
  }
  .panel {
    padding: 12px;
  }
  .sidebar {
    padding: 12px;
  }
  .sidebar nav,
  .tabs {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .data-table td,
  .size-table td {
    grid-template-columns: 1fr;
  }
  .sidebar-footer {
    grid-template-columns: 1fr;
  }
  .logout-button {
    width: 100%;
  }
}
.shell {
  display: block;
  min-height: 100vh;
  padding-top: 72px;
}
.menu-toggle {
  align-items: center;
  background: #14231e;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  box-shadow: 0 10px 28px rgba(18, 28, 24, .18);
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  height: 46px;
  justify-content: center;
  left: 18px;
  min-height: 46px;
  padding: 0;
  position: fixed;
  top: 14px;
  width: 46px;
  z-index: 100;
}
.menu-toggle:hover {
  background: var(--brand-dark);
}
.menu-toggle span {
  background: #fff;
  border-radius: 999px;
  display: block;
  height: 2px;
  transition: opacity .18s ease, transform .18s ease;
  width: 20px;
}
.menu-open .menu-toggle span:first-child {
  transform: translateY(7px) rotate(45deg);
}
.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}
.menu-open .menu-toggle span:last-child {
  transform: translateY(-7px) rotate(-45deg);
}
.menu-backdrop {
  background: rgba(12, 19, 16, .46);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: default;
  inset: 0;
  min-height: 0;
  padding: 0;
  position: fixed;
  width: auto;
  z-index: 80;
}
.menu-backdrop:hover {
  background: rgba(12, 19, 16, .46);
  box-shadow: none;
  transform: none;
}
.menu-mode-button {
  align-items: center;
  align-self: flex-start;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 999px;
  box-shadow: none;
  color: rgba(247, 251, 250, .78);
  display: inline-flex;
  gap: 7px;
  min-height: 34px;
  padding: 0 12px 0 10px;
  width: auto;
}
.menu-mode-button:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .16);
  box-shadow: none;
  color: #fff;
  transform: none;
}
.menu-mode-button svg {
  fill: none;
  height: 16px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 16px;
}
.menu-mode-button span {
  font-size: 12px;
  font-weight: 850;
  line-height: 1;
}
.sidebar {
  bottom: 0;
  display: grid;
  gap: 22px;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  height: 100vh;
  left: 0;
  max-width: calc(100vw - 38px);
  min-height: 0;
  overflow: hidden;
  padding: 24px;
  position: fixed;
  top: 0;
  transform: translateX(calc(-100% - 16px));
  transition: transform .22s ease;
  width: 300px;
  z-index: 90;
}
.sidebar.open {
  transform: translateX(0);
}
.menu-open .sidebar .brand-block {
  padding-left: 54px;
}
.menu-fixed {
  padding-top: 0;
}
.menu-fixed .content {
  padding: 28px 28px 28px 328px;
}
.sidebar nav {
  display: grid;
  gap: 22px;
  grid-template-columns: 1fr;
  margin: 0;
  min-height: 0;
  overflow-y: auto;
  padding: 0 2px 4px 0;
  scrollbar-width: thin;
}
.nav-section {
  display: grid;
  gap: 4px;
}
.nav-section[hidden] {
  display: none;
}
.nav-section-items {
  display: grid;
  gap: 4px;
  max-height: 260px;
  opacity: 1;
  overflow: hidden;
  transition: max-height .22s ease, opacity .16s ease;
}
.nav-section-toggle {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 8px;
  box-shadow: none;
  color: rgba(247, 251, 250, .62);
  display: flex;
  font-size: 11px;
  font-weight: 900;
  gap: 8px;
  justify-content: space-between;
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0 0 4px;
  min-height: 28px;
  padding: 0 8px;
  text-align: left;
  text-transform: uppercase;
  width: 100%;
}
.nav-section-toggle:hover {
  background: rgba(255, 255, 255, .06);
  box-shadow: none;
  color: rgba(247, 251, 250, .9);
  transform: none;
}
.nav-section-toggle span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.nav-section-toggle svg {
  fill: none;
  flex: 0 0 auto;
  height: 15px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.2;
  transition: transform .18s ease;
  width: 15px;
}
.nav-section.collapsed .nav-section-toggle svg {
  transform: rotate(-90deg);
}
.nav-section.collapsed .nav-section-items {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}
.sidebar a {
  flex: initial;
  font-size: 14px;
  gap: 8px;
  grid-template-columns: 28px minmax(0, 1fr);
  min-height: 36px;
  padding: 4px 8px 4px 4px;
}
.sidebar a[hidden] {
  display: none;
}
.sidebar a:hover,
.sidebar a.active {
  transform: translateX(2px);
}
.nav-icon {
  background: transparent;
  border-color: transparent;
  height: 28px;
  width: 28px;
}
.nav-icon svg {
  height: 18px;
  width: 18px;
}
.nav-icon[data-key=dashboard] {
  color: #83d6ff;
}
.nav-icon[data-key=notas] {
  color: #d8d1ff;
}
.nav-icon[data-key=conferencias_entrada] {
  color: #a7e0bb;
}
.nav-icon[data-key=contagens_nova] {
  color: #b997ff;
}
.nav-icon[data-key=contagens] {
  color: #d6e4f0;
}
.nav-icon[data-key=ocorrencias] {
  color: #ffd089;
}
.nav-icon[data-key=clientes] {
  color: #cbb8ff;
}
.nav-icon[data-key=produtos] {
  color: #e8b38f;
}
.nav-icon[data-key=pagamentos] {
  color: #72d4e7;
}
.nav-icon[data-key=usuarios] {
  color: #cbb8ff;
}
.sidebar-footer {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  min-height: 0;
}
.brand-copy p,
.user-card div > span {
  display: block;
}
.content {
  padding: 0 28px 28px;
}
@media (max-width: 760px) {
  .modal-backdrop {
    align-items: flex-start;
    overflow-y: auto;
    padding: 12px;
  }
  .receivable-detail-modal {
    box-sizing: border-box;
    max-height: none;
    overflow: visible;
  }
  .shell {
    padding-top: 64px;
  }
  .menu-toggle {
    height: 44px;
    left: 12px;
    min-height: 44px;
    top: 10px;
    width: 44px;
  }
  .sidebar {
    height: calc(100dvh - 20px);
    max-width: calc(100vw - 28px);
    padding: 18px;
    width: 288px;
  }
  .content {
    padding: 0 12px 14px;
  }
  .menu-fixed {
    padding-top: 0;
  }
  .menu-fixed .sidebar {
    height: auto;
    max-width: none;
    min-height: auto;
    overflow: visible;
    position: static;
    transform: none;
    width: 100%;
  }
  .menu-fixed .sidebar nav {
    max-height: none;
    overflow: visible;
  }
  .menu-fixed .content {
    padding: 14px 12px;
  }
  .brand-logo-mark {
    height: 42px;
    width: 42px;
  }
  .brand-copy h1 {
    font-size: 18px;
  }
  .sidebar a:hover,
  .sidebar a.active {
    transform: none;
  }
  .draft-photo-preview {
    max-width: none;
    width: 100%;
  }
  .metrics {
    gap: 8px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .metrics article {
    min-height: 74px;
    padding: 10px 11px;
  }
  .metrics span {
    font-size: 11px;
    line-height: 1.2;
    margin-bottom: 6px;
    white-space: normal;
  }
  .metrics strong {
    font-size: 22px;
    line-height: 1.05;
    overflow-wrap: anywhere;
  }
  .dashboard-rankings {
    gap: 10px;
    margin-top: 10px;
  }
  .dashboard-ranking {
    gap: 10px;
  }
  .dashboard-ranking.panel {
    padding: 12px;
  }
  .dashboard-ranking header {
    align-items: center;
    gap: 10px;
  }
  .dashboard-ranking h3 {
    font-size: 16px;
  }
  .dashboard-ranking header span {
    font-size: 11px;
    text-align: right;
  }
  .dashboard-receivable .receivable-table tbody {
    gap: 8px;
  }
  .dashboard-receivable .receivable-table tr {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .dashboard-receivable .receivable-table td {
    border-bottom: 0;
    border-right: 1px solid var(--line);
    display: block;
    font-size: 13px;
    min-width: 0;
    padding: 8px 10px;
  }
  .dashboard-receivable .receivable-table td:last-child {
    border-right: 0;
  }
  .dashboard-receivable .receivable-table td:first-child {
    align-items: center;
    background: var(--panel-strong);
    border-bottom: 1px solid var(--line);
    border-right: 0;
    display: flex;
    gap: 8px;
    grid-column: 1 / -1;
  }
  .dashboard-receivable .receivable-table td:first-child::before {
    display: none;
  }
  .dashboard-receivable .receivable-table td[data-label]::before {
    display: block;
    font-size: 9px;
    line-height: 1.15;
    margin-bottom: 5px;
  }
  .dashboard-receivable .receivable-table td:first-child b {
    height: 24px;
    margin-right: 0;
    min-width: 24px;
  }
  .dashboard-receivable .receivable-table .muted-line {
    font-size: 10px;
    line-height: 1.25;
    margin-top: 4px;
  }
  .dashboard-receivable .receivable-table td:last-child strong {
    font-size: 14px;
  }
  .receivable-detail-modal {
    padding: 14px;
  }
  .receivable-detail-summary {
    grid-template-columns: 1fr;
    margin-top: 14px;
  }
  .receivable-detail-summary article {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 9px 11px;
  }
  .receivable-detail-summary strong {
    font-size: 16px;
  }
  .receivable-detail-list {
    margin-top: 14px;
  }
  .receivable-detail-payment > header {
    flex-wrap: wrap;
    padding: 11px;
  }
  .receivable-detail-status {
    font-size: 10px;
  }
  .receivable-detail-meta {
    padding: 9px 11px 0;
  }
  .receivable-detail-table {
    display: table;
    min-width: 100%;
    table-layout: auto;
    width: max-content;
  }
  .receivable-detail-table thead {
    display: table-header-group;
  }
  .receivable-detail-table tbody {
    display: table-row-group;
  }
  .receivable-detail-modal .table-scroll {
    overflow-x: auto;
  }
  .receivable-detail-table tr {
    display: table-row;
  }
  .receivable-detail-table td {
    border: 0;
    display: table-cell;
    font-size: 12px;
    padding: 7px 9px;
    white-space: nowrap;
  }
  .receivable-detail-table th,
  .receivable-detail-table td {
    min-width: 0;
    overflow: visible;
    padding-left: 6px;
    padding-right: 6px;
    text-overflow: clip;
    white-space: nowrap;
  }
  .receivable-detail-table th:first-child,
  .receivable-detail-table td:first-child {
    width: auto;
  }
  .receivable-detail-table td[data-label]::before {
    content: none;
    display: none;
  }
  .receivable-detail-adjustments {
    margin: 0 11px;
  }
  .receivable-detail-payment > footer {
    padding: 11px;
  }
}

/* angular:styles/global:styles */
/*# sourceMappingURL=styles-6AUJPGUO.css.map */
