:root {
  --bg: #eef3f5;
  --ink: #15222a;
  --muted: #66737c;
  --line: #dbe4e8;
  --panel: #ffffff;
  --side: #10242c;
  --side-soft: #18333c;
  --brand: #087f8c;
  --brand-dark: #075c67;
  --accent: #d97941;
  --danger: #b42318;
  --ok: #157347;
  --warn: #9a4a16;
  --shadow: 0 18px 44px rgba(20, 40, 50, .09);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
}
button, input, select { font: inherit; }
button { border: 0; cursor: pointer; }
a { color: var(--brand-dark); }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(28px, 4vw, 42px); line-height: 1.05; margin-bottom: 8px; letter-spacing: 0; }
h2 { font-size: 18px; margin-bottom: 16px; }
h3 { font-size: 15px; margin-bottom: 8px; }

.app-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 238px minmax(0, 1fr);
}
.side-menu {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 24px 0 22px;
  color: #eef3f8;
  background: #131b2b;
  box-shadow: 16px 0 42px rgba(19, 27, 43, .14);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  padding: 0 26px 22px;
}
.mobile-menu-head {
  display: block;
}
.mobile-menu-toggle {
  display: none;
}
.brand strong {
  display: block;
  font-size: 19px;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
}
.brand small, .side-footer small { display: block; color: #8792a3; font-size: 11px; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid rgba(238,243,248,.72);
  border-radius: 6px;
  background: transparent;
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}
.brand-mark.large {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 26px;
}
.side-nav {
  display: grid;
  gap: 1px;
}
.nav-group {
  margin: 14px 26px 5px;
  color: #7f8a9d;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.side-nav a, .side-menu-group summary {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 36px;
  padding: 0 26px;
  border-radius: 0;
  color: #b7c0cf;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background .18s ease, color .18s ease;
}
.side-menu-group summary {
  cursor: pointer;
  list-style: none;
}
.side-menu-group summary::-webkit-details-marker {
  display: none;
}
.side-menu-group summary::after {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(-45deg);
  transition: transform .18s ease;
  margin-left: auto;
}
.side-menu-group[open] summary::after {
  transform: rotate(45deg);
}
.side-nav a .nav-icon-wrap, .side-menu-group summary .nav-icon-wrap {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #aab4c5;
  flex: 0 0 22px;
}
.nav-icon {
  width: 20px;
  height: 20px;
}
.side-nav a:hover, .side-nav a.active, .side-menu-group summary:hover, .side-menu-group summary.active {
  background:
    linear-gradient(90deg, rgba(255,255,255,.16), rgba(255,255,255,.08) 60%, rgba(255,255,255,0));
  color: #fff;
}
.side-nav a.active::before,
.side-menu-group summary.active::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: #fff;
  box-shadow: 0 0 22px rgba(255,255,255,.5);
}
.side-nav a.active .nav-icon-wrap,
.side-menu-group summary.active .nav-icon-wrap {
  color: #fff;
}
.side-subnav {
  display: grid;
  gap: 1px;
  margin: 3px 0 2px 0;
  padding-left: 50px;
}
.side-subnav a {
  min-height: 28px;
  padding: 0 18px;
  color: #929eb1;
  font-size: 12px;
  font-weight: 700;
}
.side-subnav a:hover, .side-subnav a.active {
  background: rgba(255,255,255,.08);
  color: #fff;
}
.side-footer {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding: 0 26px;
}
.user-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0 8px;
  border: 0;
  border-top: 1px solid rgba(255,255,255,.08);
  border-radius: 0;
  background: transparent;
  color: #eef3f8;
}
.user-pill > span {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, #eef3f8, #aeb8c9);
  color: #131b2b;
  font-size: 13px;
  font-weight: 800;
}
.logout {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b7c0cf;
  background: transparent;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}
.logout:hover {
  color: #fff;
}

.shell {
  min-width: 0;
  padding: 28px clamp(18px, 3vw, 42px) 44px;
}
.topbar {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 8px;
  background:
    linear-gradient(120deg, rgba(255,255,255,.96), rgba(232,244,246,.88)),
    linear-gradient(110deg,#e8f8ff,#b9ecf7);
  box-shadow: var(--shadow);
}
.topbar > div:first-child { max-width: 720px; }
.topbar h1 {
  font-size: 22px;
  line-height: 1;
  margin-bottom: 2px;
}
.topbar .muted {
  margin-bottom: 0;
  font-size: 12px;
  line-height: 1.25;
}
.compact-topbar {
  min-height: 42px;
  padding: 7px 10px;
  margin-bottom: 8px;
}
.compact-topbar h1 {
  font-size: 18px;
  margin-bottom: 0;
}
.compact-topbar .eyebrow {
  display: none;
}
.compact-topbar .muted {
  display: none;
}
.compact-topbar .primary,
.compact-topbar .soft-button,
.compact-topbar .link-button {
  min-height: 28px;
  padding: 0 8px;
  font-size: 12px;
}
.eyebrow { margin: 0 0 2px; text-transform: uppercase; letter-spacing: .08em; font-size: 10px; }
.eyebrow.dark { color: var(--brand-dark); font-weight: 800; }
.muted { color: var(--muted); }
.header-actions { display: flex; gap: 6px; flex-wrap: wrap; }

.primary, .soft-button, .ghost, .danger, .link-button {
  min-height: 34px;
  border-radius: 7px;
  padding: 0 10px;
  white-space: nowrap;
}
.link-button, .soft-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.primary { background: var(--brand); color: #fff; }
.primary:hover { background: var(--brand-dark); }
.soft-button { background: #e3edf1; color: var(--brand-dark); }
.ghost { background: rgba(255,255,255,.18); color: #fff; border: 1px solid rgba(255,255,255,.4); }
.danger { background: var(--danger); color: #fff; }
.full { width: 100%; }

.split, .catalog-layout {
  display: grid;
  grid-template-columns: minmax(0, 430px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}
.reception-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.reception-layout > .panel:first-child {
  max-width: 1120px;
  padding: 10px 12px;
  margin-bottom: 0;
  overflow-x: auto;
}
.reception-layout > .panel:first-child h2 {
  margin-bottom: 8px;
  font-size: 16px;
}
.reception-summary {
  max-width: 1120px;
  padding: 14px 16px;
  background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,251,.98));
}
.reception-summary h2 {
  margin-bottom: 10px;
}
.reception-form {
  grid-template-columns: 115px 170px 520px 145px 120px 460px;
  gap: 6px 8px;
}
.reception-form label {
  min-width: 0;
  gap: 2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 11px;
}
.reception-form input,
.reception-form select {
  min-width: 0;
  min-height: 28px;
  padding: 3px 7px;
  border-radius: 6px;
  font-size: 12px;
}
.reception-form .reception-arrival {
  width: 115px;
  justify-self: start;
  grid-column: 1;
  grid-row: 1;
}
.reception-form .reception-location { grid-column: 2; grid-row: 1; }
.reception-form .reception-fisherman { grid-column: 3; grid-row: 1; }
.reception-form .reception-whatsapp { grid-column: 4; grid-row: 1; }
.reception-form .reception-arrival input {
  width: 100%;
  padding: 3px 4px;
  font-size: 12px;
}
.reception-form .reception-location input {
  width: 100%;
  padding: 3px 5px;
  font-size: 11px;
}
.reception-form .reception-fish { grid-column: 1; grid-row: 2; }
.reception-form .reception-quantity,
.reception-form .reception-good,
.reception-form .reception-bad,
.reception-form .reception-unit-price,
.reception-form .reception-note {
  width: 100%;
  justify-self: start;
}
.reception-form .reception-quantity input,
.reception-form .reception-good input,
.reception-form .reception-bad input,
.reception-form .reception-unit-price input {
  width: 100%;
}
.reception-form .reception-quantity {
  width: 95px;
  grid-column: 2;
  grid-row: 2;
}
.reception-form .reception-good {
  width: 75px;
  grid-column: 3;
  grid-row: 2;
}
.reception-form .reception-bad {
  width: 120px;
  grid-column: 4;
  grid-row: 2;
}
.reception-form .reception-unit-price { grid-column: 5; grid-row: 2; }
.reception-form .reception-note { grid-column: 6; grid-row: 2; }
.reception-form .fish-preview-frame {
  width: 58px;
  height: 38px;
  font-size: 10px;
  border-radius: 6px;
}
.reception-form .fish-preview strong {
  margin-bottom: 0;
  font-size: 12px;
}
.reception-form .fish-preview small {
  display: none;
}
.reception-form button {
  min-height: 30px;
  padding: 0 10px;
}
.stock-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.stock-layout > .panel:first-child {
  max-width: 1120px;
  padding: 12px 14px;
  margin-bottom: 0;
}
.stock-layout > .panel:first-child h2 {
  margin-bottom: 8px;
  font-size: 16px;
}
.stock-layout > .panel:nth-child(2) {
  max-width: 1120px;
}
.stock-form {
  grid-template-columns: 150px minmax(220px, 1.3fr) 110px 110px minmax(190px, 1fr) auto;
  gap: 7px 9px;
  align-items: end;
  overflow-x: auto;
}
.stock-form label {
  min-width: 0;
  gap: 2px;
  font-size: 11px;
}
.stock-form input,
.stock-form select {
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}
.stock-aquarium-field select { width: 49%; }
.stock-fish-field select { width: 25%; }
.stock-type-field select { width: 25%; }
.stock-quantity-field input { width: 19.6%; }
.stock-reason-field input { width: 36%; }
.stock-form button {
  min-height: 30px;
  padding: 0 10px;
}
.mortality-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 18px;
}
.mortality-layout > .panel:first-child {
  max-width: 1120px;
  padding: 12px 14px;
  margin-bottom: 0;
}
.mortality-layout > .panel:first-child h2 {
  margin-bottom: 8px;
  font-size: 16px;
}
.mortality-layout > .panel:nth-child(2) {
  max-width: 1120px;
}
.mortality-form {
  grid-template-columns: 150px minmax(190px, 1fr) minmax(220px, 1.2fr) 110px minmax(150px, 1fr) minmax(250px, 1.3fr) minmax(150px, 1fr) auto;
  gap: 7px 9px;
  align-items: end;
}
.mortality-form label {
  gap: 2px;
  font-size: 11px;
}
.mortality-form input,
.mortality-form select {
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}
.mortality-form .fish-preview {
  min-height: 44px;
  padding: 5px;
  gap: 8px;
}
.mortality-form .fish-preview-frame {
  width: 58px;
  height: 38px;
  border-radius: 6px;
  font-size: 10px;
}
.mortality-form .fish-preview strong {
  margin-bottom: 0;
  font-size: 12px;
}
.mortality-form .fish-preview small {
  display: none;
}
.mortality-form .photo-upload {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
}
.mortality-form .photo-upload label {
  padding: 6px;
  font-size: 11px;
}
.mortality-form .photo-upload input {
  min-height: 28px;
}
.mortality-form button {
  min-height: 30px;
  padding: 0 10px;
}
.audit-panel {
  max-width: 1280px;
  padding: 10px 12px;
}
.audit-panel h2 {
  margin-bottom: 8px;
  font-size: 16px;
}
.audit-table table {
  min-width: 0;
}
.audit-table th,
.audit-table td {
  padding: 6px 8px;
  font-size: 12px;
  line-height: 1.25;
  vertical-align: top;
}
.audit-table th:nth-child(1),
.audit-table td:nth-child(1) {
  width: 112px;
  white-space: nowrap;
}
.audit-table th:nth-child(2),
.audit-table td:nth-child(2) {
  width: 120px;
}
.audit-table th:nth-child(3),
.audit-table td:nth-child(3) {
  width: 96px;
  white-space: nowrap;
}
.audit-table th:nth-child(4),
.audit-table td:nth-child(4) {
  width: 170px;
}
.catalog-layout {
  grid-template-columns: 1fr;
  gap: 6px;
  max-width: 860px;
}
.cadastro-page {
  max-width: 1120px;
}
.cadastro-page .panel {
  padding: 12px;
  margin-bottom: 12px;
}
.cadastro-page .panel h2 {
  margin-bottom: 8px;
  font-size: 16px;
}
.cadastro-form {
  gap: 8px;
}
.cadastro-form label {
  gap: 3px;
  font-size: 11px;
}
.cadastro-form input,
.cadastro-form select {
  min-height: 30px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}
.cadastro-form button[type="submit"] {
  min-height: 30px;
  justify-self: start;
}
.fish-cadastro-form {
  gap: 6px;
  grid-template-columns: minmax(210px, 1.2fr) minmax(165px, 1fr) minmax(165px, 1fr) minmax(120px, .7fr) minmax(108px, .55fr) minmax(104px, .5fr);
}
.fish-cadastro-form .fish-scientific { grid-column: 1; grid-row: 1; }
.fish-cadastro-form .fish-common { grid-column: 2; grid-row: 1; }
.fish-cadastro-form .fish-origin { grid-column: 3; grid-row: 1; }
.fish-cadastro-form .fish-size { grid-column: 4; grid-row: 1; }
.fish-cadastro-form .fish-buy-price { grid-column: 5; grid-row: 1; }
.fish-cadastro-form .fish-sale-brl { grid-column: 6; grid-row: 1; }
.fish-cadastro-form .fish-sale-usd { grid-column: 1; grid-row: 2; }
.fish-cadastro-form .photo-upload { grid-column: 1 / -1; grid-row: 3; }
.fish-cadastro-form .check {
  grid-column: 2 / 5;
  grid-row: 2;
  align-self: end;
  min-height: 30px;
}
.fish-cadastro-form button[type="submit"] {
  grid-column: 5 / -1;
  grid-row: 2;
  align-self: end;
}
.fish-cadastro-form .photo-upload {
  gap: 6px;
  padding: 6px;
  border-radius: 8px;
}
.fish-cadastro-form .photo-upload label {
  gap: 3px;
  padding: 5px 6px;
  border-radius: 6px;
  font-size: 11px;
}
.fish-cadastro-form .photo-upload input {
  min-height: 27px;
  padding: 3px 7px;
  font-size: 11px;
}
.partner-cadastro-form {
  grid-template-columns: repeat(5, minmax(130px, 1fr));
}
.partner-cadastro-form button[type="submit"] {
  grid-column: 1 / -1;
}
.partner-cadastro-form [data-cnpj-status] {
  display: block;
  align-self: center;
}
.document-lookup-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 4px;
  align-items: center;
}
.document-lookup-control input {
  min-width: 0;
}
.document-lookup-control .soft-button {
  min-height: 27px;
  padding: 0 8px;
  white-space: nowrap;
  font-size: 10.5px;
}
.client-cadastro-panel,
.supplier-cadastro-panel {
  max-width: 100%;
}
.client-cadastro-panel h2,
.supplier-cadastro-panel h2 {
  margin-bottom: 6px;
}
.client-cadastro-form,
.supplier-cadastro-form {
  gap: 5px;
  grid-template-columns: 135px 120px minmax(190px, 1.35fr) 135px minmax(170px, 1fr);
  align-items: end;
}
.client-cadastro-form label,
.supplier-cadastro-form label {
  gap: 2px;
  font-size: 10.5px;
}
.client-cadastro-form input,
.client-cadastro-form select,
.supplier-cadastro-form input,
.supplier-cadastro-form select {
  min-height: 27px;
  padding: 3px 7px;
  font-size: 11.5px;
}
.client-cadastro-form button[type="submit"],
.supplier-cadastro-form button[type="submit"] {
  grid-column: 1 / -1;
  min-height: 28px;
  padding: 3px 12px;
}
.client-list-grid,
.supplier-list-grid {
  grid-template-columns: repeat(auto-fill, minmax(205px, 1fr));
  gap: 6px;
}
.client-card,
.supplier-card {
  gap: 3px;
  padding: 7px;
  border-radius: 6px;
}
.client-card .item-head,
.supplier-card .item-head {
  gap: 6px;
}
.client-card h3,
.supplier-card h3 {
  min-width: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.client-card p,
.supplier-card p {
  overflow: hidden;
  font-size: 11px;
  line-height: 1.18;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.client-card .badge,
.supplier-card .badge {
  padding: 3px 6px;
  font-size: 9.5px;
}
.client-card-actions,
.supplier-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5px;
  margin-top: 4px;
}
.client-card-actions form,
.client-card-actions .soft-button,
.client-card-actions .danger,
.supplier-card-actions form,
.supplier-card-actions .soft-button,
.supplier-card-actions .danger {
  width: 100%;
}
.client-card-actions .soft-button,
.client-card-actions .danger,
.supplier-card-actions .soft-button,
.supplier-card-actions .danger {
  justify-content: center;
  min-height: 25px;
  padding: 0 6px;
  font-size: 11px;
}
.client-register-table table {
  min-width: 980px;
  table-layout: fixed;
}
.client-register-table th,
.client-register-table td {
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.25;
  vertical-align: middle;
}
.client-register-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}
.client-register-table th:nth-child(1),
.client-register-table td:nth-child(1) {
  width: 190px;
}
.client-register-table th:nth-child(2),
.client-register-table td:nth-child(2),
.client-register-table th:nth-child(5),
.client-register-table td:nth-child(5),
.client-register-table th:nth-child(6),
.client-register-table td:nth-child(6),
.client-register-table th:nth-child(9),
.client-register-table td:nth-child(9) {
  white-space: nowrap;
}
.client-grid-actions {
  grid-template-columns: repeat(2, minmax(68px, 1fr));
  min-width: 146px;
}
.client-grid-actions .soft-button,
.client-grid-actions .danger {
  width: 100%;
  justify-content: center;
}
.supplier-register-table table {
  min-width: 1040px;
}
.supplier-register-table th,
.supplier-register-table td {
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.25;
  vertical-align: middle;
}
.supplier-register-table th:nth-child(1),
.supplier-register-table td:nth-child(1) {
  min-width: 180px;
}
.supplier-register-table th:nth-child(2),
.supplier-register-table td:nth-child(2),
.supplier-register-table th:nth-child(4),
.supplier-register-table td:nth-child(4),
.supplier-register-table th:nth-child(9),
.supplier-register-table td:nth-child(9) {
  white-space: nowrap;
}
.supplier-grid-actions {
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  min-width: 154px;
}
.supplier-grid-actions .soft-button,
.supplier-grid-actions .danger {
  width: 100%;
  justify-content: center;
}
.cadastro-data-grid {
  margin-top: 10px;
  padding-top: 10px;
}
.cadastro-data-grid h3 {
  margin-bottom: 8px;
  font-size: 14px;
}
.cadastro-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 8px;
}
.cadastro-row {
  display: grid;
  gap: 5px;
  min-height: 0;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}
.cadastro-row strong,
.cadastro-row h3,
.cadastro-row p {
  margin: 0;
}
.cadastro-row .muted,
.cadastro-row p {
  font-size: 12px;
  line-height: 1.25;
}
.cadastro-row .row-actions {
  display: flex;
  gap: 6px;
  min-width: 0;
  margin-top: 2px;
}
.cadastro-row .soft-button,
.cadastro-row .danger {
  min-height: 28px;
  padding: 0 8px;
  border-radius: 6px;
  font-size: 12px;
}
.compact-fish-card img,
.compact-fish-card .catalog-thumb {
  width: 100%;
  height: 86px;
  border-radius: 7px;
  object-fit: cover;
}
.fish-register-table table {
  min-width: 1040px;
}
.fish-register-table th,
.fish-register-table td {
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.25;
  vertical-align: middle;
}
.fish-register-table th:nth-child(1),
.fish-register-table td:nth-child(1) {
  width: 66px;
}
.fish-register-table th:nth-child(6),
.fish-register-table td:nth-child(6),
.fish-register-table th:nth-child(7),
.fish-register-table td:nth-child(7),
.fish-register-table th:nth-child(8),
.fish-register-table td:nth-child(8) {
  white-space: nowrap;
}
.fish-grid-photo {
  display: inline-grid;
  place-items: center;
  width: 50px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  object-fit: cover;
  background: #e8f4f6;
  color: var(--brand-dark);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}
.fish-grid-actions {
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  min-width: 154px;
}
.fish-grid-actions .soft-button,
.fish-grid-actions .danger {
  width: 100%;
}
.master-register-table table {
  min-width: 560px;
}
.master-register-table th,
.master-register-table td {
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.25;
  vertical-align: middle;
}
.master-register-table th:nth-child(3),
.master-register-table td:nth-child(3) {
  width: 170px;
  white-space: nowrap;
}
.master-grid-actions {
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  min-width: 154px;
}
.master-grid-actions .soft-button,
.master-grid-actions .danger {
  width: 100%;
  justify-content: center;
}
.aquarium-register-table table {
  min-width: 760px;
}
.aquarium-register-table th,
.aquarium-register-table td {
  padding: 7px 8px;
  font-size: 12px;
  line-height: 1.25;
  vertical-align: middle;
}
.aquarium-register-table th:nth-child(1),
.aquarium-register-table td:nth-child(1) {
  width: 110px;
}
.aquarium-register-table th:nth-child(2),
.aquarium-register-table td:nth-child(2),
.aquarium-register-table th:nth-child(3),
.aquarium-register-table td:nth-child(3),
.aquarium-register-table th:nth-child(4),
.aquarium-register-table td:nth-child(4),
.aquarium-register-table th:nth-child(6),
.aquarium-register-table td:nth-child(6) {
  white-space: nowrap;
}
.aquarium-grid-qr {
  grid-template-columns: 34px auto;
  min-height: 38px;
  padding: 4px 6px;
}
.aquarium-grid-qr img {
  width: 34px;
  height: 34px;
}
.aquarium-grid-actions {
  grid-template-columns: repeat(2, minmax(72px, 1fr));
  min-width: 154px;
}
.aquarium-grid-actions .soft-button,
.aquarium-grid-actions .danger {
  width: 100%;
  justify-content: center;
}
.compact-aquarium-card .stock-qr {
  grid-template-columns: 46px 1fr;
  min-height: 52px;
  padding: 6px;
}
.compact-aquarium-card .stock-qr img {
  width: 46px;
  height: 46px;
}
.sub-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.sub-nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 12px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}
.sub-nav a:hover {
  border-color: rgba(8,127,140,.45);
  background: #e8f4f6;
}
.sub-nav a.active {
  border-color: var(--brand);
  background: var(--brand);
  color: #fff;
}
.cadastro-home {
  margin-bottom: 0;
}
.subitem-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.subitem-grid a {
  min-height: 128px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
.subitem-grid a:hover {
  border-color: rgba(8,127,140,.45);
  background: #f5fbfc;
}
.subitem-grid strong {
  color: var(--brand-dark);
}
.subitem-grid span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}
.master-list {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.master-list h3 {
  margin-bottom: 10px;
}
.compact-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  min-height: 42px;
  padding: 9px 11px;
}
.panel {
  background: rgba(255,255,255,.96);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 18px;
}
.panel h2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.section-title {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
  margin-bottom: 12px;
}
.section-title h2 {
  margin-bottom: 3px;
}
.section-title p {
  margin-bottom: 0;
  font-size: 13px;
}
.metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.metrics article {
  position: relative;
  overflow: hidden;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 18px;
  box-shadow: var(--shadow);
}
.metrics article::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--brand);
}
.metrics article:nth-child(2)::before { background: var(--accent); }
.metrics article:nth-child(3)::before { background: var(--ok); }
.metrics article:nth-child(4)::before { background: #5468c9; }
.metrics span { display: block; font-size: 34px; font-weight: 800; }
.metrics small { color: var(--muted); }

.dashboard-topbar {
  margin: -28px calc(clamp(18px, 3vw, 42px) * -1) 16px;
  padding: 16px clamp(18px, 3vw, 42px);
  border: 0;
  border-radius: 0;
  background: #101d2d;
  box-shadow: none;
  color: #fff;
}
.dashboard-topbar h1 {
  color: #fff;
  font-size: 24px;
}
.dashboard-topbar .muted {
  color: rgba(255,255,255,.72);
}
.dashboard-filters {
  display: flex;
  align-items: center;
  gap: 8px;
}
.dashboard-filters label {
  display: grid;
  gap: 0;
  min-width: 160px;
  color: #fff;
  font-size: 0;
}
.dashboard-filters label span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.dashboard-filters input,
.dashboard-filters select {
  min-height: 36px;
  border: 1px solid #cad5df;
  border-radius: 5px;
  padding: 6px 10px;
  color: #172334;
  font-size: 13px;
}
.dashboard-refresh {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 5px;
  background: #fff;
  color: #172334;
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
}
.dashboard-page {
  display: grid;
  gap: 12px;
}
.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}
.dash-card,
.dashboard-panel {
  border: 1px solid #dfe7ee;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(23, 35, 52, .06);
}
.dash-card {
  min-height: 118px;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 13px;
  align-items: start;
  padding: 18px 14px;
}
.dash-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #2587ea;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}
.dash-icon.species { background: #53bd56; }
.dash-icon.tanks { background: #7c46e8; }
.dash-icon.quarantine { background: #ff9e05; }
.dash-icon.loss { background: #f0444b; }
.dash-icon.orders { background: #1ba7a8; }
.dash-card small {
  display: block;
  margin-bottom: 7px;
  color: #334155;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}
.dash-card strong {
  display: block;
  color: #172334;
  font-size: 22px;
  line-height: 1;
}
.dash-card span {
  display: block;
  margin-top: 6px;
  color: #475569;
  font-size: 12px;
}
.dash-card b,
.rank-row b {
  display: block;
  height: 7px;
  margin-top: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7c46e8 var(--value), #e7edf4 var(--value));
}
.dashboard-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 10px;
  align-items: stretch;
}
.dashboard-panel {
  min-width: 0;
  padding: 14px 16px;
}
.dashboard-panel h2 {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 12px;
  color: #172334;
  font-size: 15px;
  line-height: 1.2;
}
.dashboard-panel h2 span {
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}
.movement-panel,
.sector-panel,
.alerts-panel {
  min-height: 315px;
}
.chart-legend {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 8px;
  color: #334155;
  font-size: 12px;
}
.chart-legend i {
  width: 14px;
  height: 6px;
  display: inline-block;
  border-radius: 999px;
}
.chart-legend .entry { background: #4caf50; }
.chart-legend .exit { background: #2587ea; }
.chart-legend .loss { background: #f0444b; }
.line-chart {
  width: 100%;
  height: 230px;
}
.line-chart line {
  stroke: #e8eef4;
  stroke-width: 1;
}
.line-chart polyline {
  fill: none;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.line-chart .entry { stroke: #4caf50; }
.line-chart .exit { stroke: #2587ea; }
.line-chart .loss { stroke: #f0444b; }
.sector-chart {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 176px;
}
.donut {
  position: relative;
  width: 164px;
  height: 164px;
  border-radius: 50%;
  background: conic-gradient(#2587ea 0 28%, #4caf50 28% 50%, #ffb020 50% 72%, #ff7a2f 72% 86%, #f0444b 86% 100%);
}
.donut::after {
  content: "";
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: #fff;
}
.sector-chart strong {
  position: absolute;
  display: grid;
  justify-items: center;
  color: #172334;
  font-size: 22px;
  line-height: 1;
}
.sector-chart span {
  margin-top: 5px;
  color: #64748b;
  font-size: 12px;
  font-weight: 500;
}
.sector-list {
  display: grid;
  gap: 8px;
}
.sector-list div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 70px 52px;
  gap: 8px;
  align-items: center;
  color: #334155;
  font-size: 12px;
}
.sector-list b,
.sector-list small {
  text-align: right;
}
.alert-row {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr) 42px;
  gap: 9px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid #e8eef4;
}
.alert-row:last-child {
  border-bottom: 0;
}
.alert-row i {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 4px;
  background: #f59e0b;
}
.alert-row.warn i { background: #f59e0b; }
.alert-row.info i { background: #2587ea; }
.alert-row.ok i { background: #4caf50; }
.alert-row strong {
  display: block;
  overflow: hidden;
  color: #172334;
  font-size: 12px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-row small {
  display: block;
  margin-top: 3px;
  overflow: hidden;
  color: #64748b;
  font-size: 11px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.alert-row time {
  color: #334155;
  font-size: 11px;
  text-align: right;
}
.dashboard-table {
  overflow-x: auto;
}
.dashboard-table table {
  width: 100%;
  min-width: 0;
  border-collapse: collapse;
  font-size: 12px;
}
.dashboard-table th,
.dashboard-table td {
  padding: 8px 6px;
  border-bottom: 1px solid #e8eef4;
  text-align: left;
  white-space: nowrap;
}
.dashboard-table th {
  color: #475569;
  font-size: 11px;
  font-weight: 800;
}
.dashboard-table td {
  color: #172334;
}
.finance-panel {
  display: grid;
  gap: 0;
}
.finance-panel div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 0;
  border-bottom: 1px solid #e8eef4;
  font-size: 13px;
}
.finance-panel div:last-child {
  border-bottom: 0;
}
.finance-panel span {
  color: #334155;
}
.finance-panel strong {
  color: #15803d;
}
.finance-panel strong.negative {
  color: #dc2626;
}
.ranking-panel {
  display: grid;
  align-content: start;
  gap: 10px;
}
.rank-row {
  display: grid;
  grid-template-columns: 138px minmax(80px, 1fr) 52px;
  gap: 10px;
  align-items: center;
  color: #172334;
  font-size: 12px;
}
.rank-row span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rank-row b {
  height: 8px;
  margin: 0;
  background: linear-gradient(90deg, #61bd5d var(--value), #e7edf4 var(--value));
}
.rank-row.loss b {
  background: linear-gradient(90deg, #f0444b var(--value), #e7edf4 var(--value));
}
.rank-row strong {
  text-align: right;
}

.grid-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.grid-form.compact { grid-template-columns: 1fr; }
label { display: grid; gap: 6px; font-size: 13px; color: var(--muted); }
input, select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 11px;
  color: var(--ink);
  background: #fff;
  outline: none;
}
input:focus, select:focus {
  border-color: rgba(8,127,140,.65);
  box-shadow: 0 0 0 4px rgba(8,127,140,.12);
}
input[type="file"] {
  padding: 8px;
}
.wide { grid-column: 1 / -1; }
.check { display: flex; align-items: center; gap: 8px; color: var(--ink); }
.check input { width: auto; min-height: auto; }

.photo-upload {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fafb;
}
.photo-upload label {
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font-weight: 700;
}

.fish-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 92px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f7fafb;
}
.fish-preview-frame {
  width: 104px;
  height: 72px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 auto;
  border-radius: 8px;
  background: #e6eef0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}
.fish-preview-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fish-preview strong,
.fish-preview small {
  display: block;
}
.fish-preview strong {
  color: var(--ink);
  margin-bottom: 3px;
}
.fish-preview small {
  color: var(--muted);
  font-size: 12px;
}

.list { display: grid; gap: 10px; }
.item, .fish-card, .catalog-card {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  background: #fff;
}
.item:hover, .fish-card:hover, .catalog-card:hover { border-color: #c6d6dc; }
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 12px;
}
.item-head { display: flex; justify-content: space-between; gap: 10px; align-items: start; }
.badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: #e7f5ef;
  color: var(--ok);
  font-size: 12px;
  font-weight: 800;
}
.badge.warn { background: #fff1e8; color: var(--warn); }
.badge.danger { background: #fdecec; color: var(--danger); }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.actions button {
  min-height: 36px;
  border-radius: 8px;
  padding: 0 10px;
  background: #edf3f5;
  color: var(--ink);
}
.row-actions {
  display: grid;
  gap: 8px;
  min-width: 220px;
}
.row-actions form {
  margin: 0;
}
.inline-release {
  display: grid;
  grid-template-columns: minmax(110px, 1fr) auto;
  gap: 8px;
  align-items: center;
}
.inline-release select,
.inline-release button {
  min-height: 36px;
}
.release-grid {
  display: grid;
  gap: 8px;
  min-width: 260px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7fafb;
}
.release-grid label {
  grid-template-columns: 1fr 82px;
  align-items: center;
  color: var(--ink);
}
.release-grid input {
  min-height: 32px;
  padding: 5px 8px;
}
.release-grid button {
  min-height: 36px;
}
.block {
  display: block;
  margin-top: 5px;
}
.stage-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.stage-step {
  position: relative;
  display: grid;
  gap: 4px;
  border: 1px solid var(--line);
  border-top: 5px solid #bfd2d8;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
}
.stage-step.active {
  border-top-color: var(--brand);
}
.stage-step strong {
  color: var(--ink);
}
.stage-step span {
  color: var(--muted);
  font-size: 13px;
}
.manual-page {
  max-width: 1080px;
}
.manual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.manual-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
  background: #fff;
}
.manual-card h3 {
  color: var(--brand-dark);
  font-size: 16px;
  margin-bottom: 10px;
}
.manual-card ol {
  margin: 0;
  padding-left: 20px;
}
.manual-card li {
  margin-bottom: 8px;
  color: var(--ink);
  line-height: 1.45;
}
.manual-card li:last-child {
  margin-bottom: 0;
}

.table,
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 10px;
}
table { width: 100%; border-collapse: collapse; min-width: 760px; background: #fff; }
th, td { text-align: left; border-bottom: 1px solid var(--line); padding: 12px; font-size: 14px; }
th { color: var(--muted); font-weight: 800; background: #f7fafb; }
tr:last-child td { border-bottom: 0; }

.stock-qr {
  display: inline-grid;
  gap: 6px;
  justify-items: center;
  color: var(--ink);
  font-weight: 800;
  text-decoration: none;
}
.stock-qr img {
  width: 86px;
  height: 86px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
  padding: 5px;
}
.stock-qr span {
  font-size: 12px;
  color: var(--muted);
}

.catalog {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
.catalog-panel {
  margin-bottom: 10px;
  padding: 14px;
}
.catalog-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  padding: 9px 10px;
}
.catalog-card h3 {
  margin-bottom: 0;
}
.catalog-row-head {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  margin-bottom: 5px;
}
.availability-pill {
  min-width: 64px;
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #e7f5ef;
  color: var(--ok);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}
.catalog-info {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 7px;
}
.catalog-info span {
  min-height: 24px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 8px;
  color: var(--muted);
  font-size: 12px;
  background: #f8fbfc;
}
.price-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.price-row strong {
  color: var(--ink);
  font-size: 13px;
}
.catalog-thumb {
  width: 86px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #e6eef0;
  color: var(--brand-dark);
  font-weight: 800;
}
.catalog-thumb span {
  text-transform: uppercase;
}
.catalog-card img, .fish-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #e6eef0;
  margin-bottom: 10px;
}
.catalog-thumb img {
  width: 86px;
  height: 68px;
  aspect-ratio: auto;
  margin-bottom: 0;
  padding: 0;
}
.fish-card .catalog-thumb {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  margin-bottom: 10px;
}
.order-panel {
  padding: 8px 10px 10px;
  margin-bottom: 0;
}
.order-form {
  grid-template-columns: .7fr 1.35fr 1fr 1fr;
  gap: 5px 8px;
}
.form-section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 0;
  padding-top: 5px;
  border-top: 1px solid var(--line);
  color: var(--brand-dark);
  font-size: 10.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.form-section-title small {
  color: var(--muted);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
}
.order-form .form-section-title:first-of-type {
  padding-top: 0;
  border-top: 0;
}
.order-form label {
  gap: 2px;
  font-size: 11.5px;
  font-weight: 700;
}
.order-form input, .order-form select {
  min-height: 29px;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}
.order-form > label.wide {
  grid-column: span 3;
}
.order-form > .form-section-title.wide,
.order-form > .order-item-box.wide,
.order-form > .order-live-summary.wide,
.order-form > button.wide {
  grid-column: 1 / -1;
}
.order-type-field { grid-column: 1; }
.order-client-field { grid-column: 2 / 4; }
.order-document-field { grid-column: 4; }
.order-whatsapp-field { grid-column: 1; }
.order-email-field { grid-column: 2; }
.order-address-field { grid-column: 3 / 5; }
.order-city-field { grid-column: 1; }
.order-state-field { grid-column: 2; }
.order-country-field { grid-column: 3; }
.order-airport-field { grid-column: 4; }
.order-form input:disabled {
  color: #8796a6;
  background: #f3f7f8;
}
.order-item-box {
  display: grid;
  gap: 5px;
  padding: 0;
  border: 2px solid #13a9d4;
  border-radius: 0;
  background: #fff;
  overflow-x: auto;
}
.order-entry-grid {
  display: grid;
  grid-template-columns: 70px 78px 72px minmax(210px, 1.25fr) minmax(190px, 1fr) minmax(120px, .7fr) 74px 82px 88px;
  min-width: 1020px;
  border-bottom: 2px solid #13a9d4;
}
.order-entry-head {
  display: grid;
  place-items: center;
  min-height: 28px;
  padding: 3px 5px;
  border-right: 2px solid #13a9d4;
  border-bottom: 2px solid #13a9d4;
  color: #111;
  background: #fdfefe;
  font-size: 12px;
  font-weight: 900;
  line-height: 1.05;
  text-align: center;
  text-transform: uppercase;
}
.order-entry-head:nth-child(9) {
  border-right: 0;
}
.order-entry-grid input,
.order-entry-grid select {
  min-height: 28px;
  border: 0;
  border-right: 2px solid #13a9d4;
  border-radius: 0;
  padding: 3px 5px;
  box-shadow: none;
  font-size: 12px;
}
.order-entry-grid input:focus,
.order-entry-grid select:focus {
  box-shadow: inset 0 0 0 2px rgba(8,127,140,.18);
}
.order-entry-grid > *:last-child {
  border-right: 0;
}
.order-entry-grid [data-order-total] {
  border-right: 0;
}
.order-entry-grid datalist {
  display: none;
}
.order-box-number,
.order-box-sum,
.order-qty,
.order-entry-grid [data-order-size],
.order-entry-grid [data-order-unit],
.order-entry-grid [data-order-total] {
  text-align: center;
}
.order-fish-cell select {
  width: 100%;
}
.order-entry-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 5px 7px;
}
.order-add-item {
  min-height: 29px;
  padding: 4px 10px;
  white-space: nowrap;
}
.order-item-list {
  display: grid;
  gap: 4px;
  min-height: 28px;
  padding: 5px 7px;
  border-top: 2px solid #13a9d4;
  border-radius: 0;
  background: #fbfdfe;
  color: var(--muted);
  font-size: 11.5px;
}
.order-item-entry {
  display: grid;
  grid-template-columns: 50px 62px 50px minmax(160px, 1.2fr) minmax(150px, 1fr) minmax(90px, .7fr) 58px 70px 86px auto;
  gap: 0;
  align-items: center;
  border: 1px solid #13a9d4;
  border-bottom: 0;
  color: var(--ink);
}
.order-item-entry:last-child {
  border-bottom: 1px solid #13a9d4;
}
.order-item-entry > * {
  min-height: 25px;
  padding: 4px 5px;
  border-right: 1px solid #13a9d4;
}
.order-item-entry > *:last-child {
  border-right: 0;
}
.order-item-entry strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-item-entry span {
  min-width: 0;
  overflow: hidden;
  color: var(--ink);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.order-item-entry button {
  min-height: 25px;
  padding: 3px 7px;
  border-radius: 6px;
  background: #fdecec;
  color: var(--danger);
  font-size: 11px;
  font-weight: 800;
}
.order-item-box .fish-preview {
  grid-column: 1 / -1;
  margin: 0;
  border: 0;
  border-top: 2px solid #13a9d4;
  border-radius: 0;
  background: #fff;
}
.field-help {
  display: none;
  min-height: 0;
  color: #718395;
  font-size: 9.5px;
  line-height: 1.25;
}
.order-live-summary {
  display: flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 9px;
  border: 1px solid #cfe1e4;
  border-radius: 7px;
  background: #f6fbfb;
  color: var(--brand-dark);
  font-size: 11.5px;
  font-weight: 700;
}
.order-live-summary.warn {
  border-color: #f2c4aa;
  background: #fff7f1;
  color: var(--warn);
}
.order-form button {
  min-height: 36px;
}
.order-panel .section-title {
  margin-bottom: 6px;
}
.order-panel .section-title h2 {
  margin-bottom: 0;
  font-size: 17px;
}
.qr {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  background:
    linear-gradient(90deg, #111 10px, transparent 10px 16px, #111 16px 22px, transparent 22px),
    linear-gradient(#111 10px, transparent 10px 16px, #111 16px 22px, transparent 22px),
    #fff;
  background-size: 28px 28px;
  border: 7px solid #fff;
  outline: 1px solid var(--line);
  color: #fff;
  font-size: 0;
}

.notice {
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 16px;
  border: 1px solid var(--line);
}
.notice.ok { background: #e7f5ef; color: var(--ok); border-color: #b9e2cf; }
.notice.error { background: #fdecec; color: var(--danger); border-color: #f3c1bd; }

.invoice-body {
  background: #f2f5f6;
  color: #050505;
}
.invoice-sheet {
  max-width: 1180px;
  margin: 18px auto;
  background: #fff;
  border: 2px solid #0aa6d1;
}
.invoice-company {
  min-height: 130px;
  display: grid;
  grid-template-columns: 170px 1fr 170px;
  align-items: center;
  border-bottom: 2px solid #0aa6d1;
  text-align: center;
}
.invoice-company::before {
  content: "Amazon\A Acqua Fish";
  white-space: pre;
  color: #0aa6d1;
  font-weight: 900;
  font-size: 24px;
  line-height: 1.05;
}
.invoice-company img { display: none; }
.invoice-company h1 {
  margin: 0 0 6px;
  color: #0aa6d1;
  font-size: 30px;
  line-height: 1;
}
.invoice-company p {
  margin: 0;
  font-size: 14px;
}
.invoice-title-grid {
  display: grid;
  grid-template-columns: 104px 82px 82px 1fr;
  border-bottom: 2px solid #0aa6d1;
}
.invoice-title-grid > div {
  display: grid;
  border-right: 2px solid #0aa6d1;
  text-align: center;
}
.invoice-title-grid strong,
.invoice-title-grid span {
  min-height: 20px;
  display: grid;
  place-items: center;
  border-bottom: 2px solid #0aa6d1;
  font-size: 13px;
}
.invoice-title-grid span {
  border-bottom: 0;
  font-weight: 400;
}
.invoice-title-grid h2 {
  display: grid;
  place-items: center;
  margin: 0;
  font-size: 50px;
  line-height: 1;
  letter-spacing: 0;
}
.purchase-title-grid {
  display: grid;
  grid-template-columns: 190px 190px 1fr 226px;
  border-bottom: 2px solid #0aa6d1;
}
.purchase-title-grid > div {
  display: grid;
  border-right: 2px solid #0aa6d1;
  text-align: center;
}
.purchase-title-grid strong,
.purchase-title-grid span {
  min-height: 20px;
  display: grid;
  place-items: center;
  border-bottom: 2px solid #0aa6d1;
  font-size: 13px;
}
.purchase-title-grid span {
  border-bottom: 0;
}
.purchase-title-grid h2 {
  display: grid;
  place-items: center;
  margin: 0;
  border-right: 2px solid #0aa6d1;
  font-size: 34px;
  line-height: 1;
}
.purchase-client-grid {
  display: grid;
  grid-template-columns: 138px 1fr;
  border-bottom: 2px solid #0aa6d1;
}
.purchase-client-grid strong,
.purchase-client-grid span {
  min-height: 20px;
  padding: 2px 6px;
  border-bottom: 2px solid #0aa6d1;
}
.purchase-client-grid strong {
  border-right: 2px solid #0aa6d1;
}
.purchase-client-grid strong:nth-last-child(2),
.purchase-client-grid span:last-child {
  border-bottom: 0;
}
.purchase-warning {
  margin: 0;
  padding: 6px;
  color: #d10b0b;
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}
.consignee-grid {
  display: grid;
  grid-template-columns: 104px 1fr;
  border-bottom: 2px solid #0aa6d1;
}
.consignee-grid > strong {
  display: grid;
  place-items: center;
  border-right: 2px solid #0aa6d1;
}
.consignee-grid > div {
  display: grid;
  grid-template-columns: 82px 1fr;
  min-height: 22px;
}
.consignee-grid b,
.consignee-grid span {
  padding: 2px 6px;
  border-bottom: 2px solid #0aa6d1;
}
.consignee-grid b { border-right: 2px solid #0aa6d1; }
.consignee-grid > div:last-child b,
.consignee-grid > div:last-child span { border-bottom: 0; }
.invoice-table {
  min-width: 0;
  font-size: 14px;
}
.invoice-table th,
.invoice-table td {
  border: 2px solid #0aa6d1;
  padding: 3px 5px;
  color: #050505;
  background: #fff;
}
.invoice-table th,
.invoice-table td:nth-child(1),
.invoice-table td:nth-child(2),
.invoice-table td:nth-child(3),
.invoice-table td:nth-child(7) {
  text-align: center;
}
.invoice-table td:nth-child(8),
.invoice-table td:nth-child(9) {
  text-align: right;
}
.invoice-total-row td {
  font-weight: 900;
  text-align: center;
}
.invoice-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px;
}
.standalone-stock {
  max-width: 1080px;
  margin: 0 auto;
}

.install-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
}
.install-panel {
  width: min(720px, 100%);
}
.install-panel h1 {
  color: var(--ink);
  font-size: clamp(30px, 5vw, 48px);
  margin-bottom: 12px;
}

.login-body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 18%, rgba(217,121,65,.22), transparent 30%),
    radial-gradient(circle at 85% 78%, rgba(8,127,140,.18), transparent 32%),
    linear-gradient(135deg, #0f2830, #edf4f2 58%);
}
.login-screen {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(380px, .9fr);
}
.login-visual {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: clamp(28px, 5vw, 62px);
  color: #fff;
  overflow: hidden;
  background: #052d5a;
}
.login-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 31, 48, .48), transparent 36%, rgba(5, 31, 48, .12));
  pointer-events: none;
}
.login-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.login-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}
.login-brand strong { display: block; font-size: 28px; }
.login-brand small { color: rgba(255,255,255,.76); }
.login-logo-wrap {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 16px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 42px rgba(0,0,0,.22);
}
.login-logo-wrap img,
.login-form-logo img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.login-panel {
  display: grid;
  place-items: center;
  padding: 24px;
}
.login-form {
  width: min(440px, 100%);
  display: grid;
  gap: 14px;
  padding: 32px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,251,250,.96));
  box-shadow: 0 24px 70px rgba(16,36,44,.18);
}
.login-form-logo {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 132px;
  height: 82px;
  margin-bottom: 2px;
  padding: 10px 16px;
  border: 1px solid rgba(8,127,140,.14);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8,127,140,.12);
}
.login-form h2 { font-size: 28px; margin-bottom: 2px; }
.login-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}

@media (max-width: 980px) {
  .app-layout { grid-template-columns: 1fr; }
  .side-menu {
    position: sticky;
    z-index: 30;
    height: auto;
    padding: 10px 12px;
  }
  .mobile-menu-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }
  .brand {
    min-width: 0;
    padding: 0;
  }
  .brand strong { font-size: 20px; }
  .mobile-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 88px;
    min-height: 38px;
    padding: 0 12px;
    border-radius: 8px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.28);
    font-weight: 700;
  }
  .side-nav {
    display: none;
    grid-auto-flow: row;
    grid-auto-columns: auto;
    gap: 5px;
    overflow: visible;
    padding: 12px 0 4px;
  }
  .side-menu.menu-open .side-nav { display: grid; }
  .side-menu-group {
    display: grid;
    gap: 4px;
  }
  .side-subnav {
    grid-auto-flow: row;
    grid-auto-columns: auto;
    margin: 0 0 4px 38px;
  }
  .nav-group { display: none; }
  .side-footer {
    display: none;
    padding-top: 10px;
  }
  .side-menu.menu-open .side-footer { display: grid; }
  .topbar, .split, .catalog-layout, .metrics { grid-template-columns: 1fr; }
  .topbar { align-items: flex-start; flex-direction: column; }
  .dashboard-topbar {
    margin: -16px -12px 12px;
    padding: 14px 12px;
  }
  .dashboard-filters {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 36px;
  }
  .dashboard-filters label {
    min-width: 0;
  }
  .dashboard-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
  .grid-form { grid-template-columns: 1fr; }
  .fish-cadastro-form,
  .reception-form,
  .mortality-form,
  .order-form {
    grid-template-columns: 1fr;
  }
  .fish-cadastro-form > *,
  .reception-form > *,
  .mortality-form > *,
  .order-form > * {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    width: 100% !important;
  }
  .stock-form {
    grid-template-columns: 150px minmax(220px, 1.3fr) 110px 110px minmax(190px, 1fr) auto;
  }
  .mortality-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mortality-form .fish-preview,
  .mortality-form .photo-upload { grid-column: 1 / -1; }
  .order-form > label:not(.wide) {
    grid-column: auto !important;
  }
  .order-type-field,
  .order-client-field,
  .order-document-field,
  .order-whatsapp-field,
  .order-email-field,
  .order-address-field,
  .order-city-field,
  .order-state-field,
  .order-country-field,
  .order-airport-field {
    grid-column: auto !important;
  }
  .order-form > label.wide { grid-column: 1 / -1 !important; }
  .order-form > .form-section-title.wide,
  .order-form > .order-item-box.wide,
  .order-form > .order-live-summary.wide,
  .order-form > button.wide {
    grid-column: 1 / -1 !important;
  }
  .order-item-row { grid-template-columns: minmax(0, 1fr) 96px auto; }
  .order-add-item { grid-column: auto; width: auto; }
  .stage-list { grid-template-columns: 1fr; }
  .photo-upload { grid-template-columns: 1fr; }
  .order-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subitem-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .shell { padding: 16px 12px 32px; }
  .topbar {
    padding: 14px;
    background-size: cover;
  }
  .topbar h1 { font-size: 20px; line-height: 1.15; }
  .header-actions,
  .row-actions,
  .invoice-actions {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
  }
  .primary,
  .soft-button,
  .ghost,
  .danger,
  .link-button,
  .logout {
    width: 100%;
  }
  .panel { padding: 14px; }
  .sub-nav {
    display: flex;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .sub-nav a { flex: 0 0 auto; }
  .metrics { grid-template-columns: 1fr; }
  .dashboard-filters {
    grid-template-columns: 1fr;
  }
  .dashboard-refresh {
    width: 100%;
  }
  .dashboard-metrics {
    grid-template-columns: 1fr;
  }
  .dash-card {
    min-height: 96px;
  }
  .rank-row {
    grid-template-columns: minmax(100px, 1fr) minmax(70px, 1fr) 48px;
  }
  .login-screen { grid-template-columns: 1fr; }
  .login-visual { min-height: 38vh; padding: 24px; }
  .login-panel { padding: 18px; }
  .login-logo-wrap { width: 60px; height: 60px; border-radius: 14px; }
  .login-form { padding: 24px; }
  .order-form { grid-template-columns: 1fr; }
  .order-item-row { grid-template-columns: 1fr 96px; }
  .order-add-item { grid-column: 1 / -1; width: 100%; }
  .order-item-entry { grid-template-columns: minmax(0, 1fr) auto; }
  .order-item-entry button { grid-column: 1 / -1; width: 100%; }
  .fish-cadastro-form,
  .reception-form,
  .mortality-form,
  .order-form {
    grid-template-columns: 1fr;
  }
  .reception-layout > .panel:first-child,
  .mortality-layout > .panel:first-child {
    overflow-x: visible;
  }
  .stock-layout > .panel:first-child {
    overflow-x: auto;
  }
  .mortality-form .photo-upload { grid-template-columns: 1fr; }
  .manual-grid { grid-template-columns: 1fr; }
  .catalog-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }
  .catalog-thumb {
    width: 72px;
    height: 72px;
  }
  .table {
    margin-inline: -2px;
  }
  .table table {
    min-width: 720px;
  }
  .audit-table table {
    min-width: 640px;
  }
  .release-grid {
    grid-template-columns: 1fr;
  }
  .release-grid label {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  h1 { font-size: 24px; }
  .shell { padding: 12px 10px 28px; }
  .side-menu { padding: 8px 10px; }
  .brand-mark {
    width: 38px;
    height: 38px;
  }
  .brand small { display: none; }
  .mobile-menu-toggle {
    min-width: 78px;
    min-height: 36px;
  }
  .side-nav a,
  .side-menu-group summary {
    min-height: 40px;
  }
  .side-subnav {
    margin-left: 0;
    padding-left: 38px;
  }
  .topbar .muted { font-size: 12px; }
  .compact-topbar .header-actions {
    display: none;
  }
  input,
  select,
  textarea {
    width: 100%;
    min-width: 0;
  }
  .photo-upload,
  .mortality-form .photo-upload {
    grid-template-columns: 1fr;
  }
  .item-head {
    align-items: flex-start;
    gap: 8px;
  }
  .item-head .badge {
    white-space: normal;
    text-align: center;
  }
  .catalog-card {
    grid-template-columns: 1fr;
  }
  .catalog-thumb {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .login-visual {
    min-height: 280px;
  }
  .login-form {
    padding: 18px;
    border-radius: 12px;
  }
  .invoice-sheet {
    margin: 8px;
    overflow-x: auto;
  }
  .invoice-company,
  .invoice-title-grid,
  .purchase-title-grid,
  .purchase-client-grid,
  .consignee-grid {
    min-width: 720px;
  }
  .invoice-table {
    min-width: 720px;
  }
}

@media print {
  body.invoice-body {
    background: #fff;
  }
  .invoice-sheet {
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .invoice-actions {
    display: none;
  }
  body:not(.invoice-body) {
    background: #fff;
  }
  body:not(.invoice-body) .side-menu,
  body:not(.invoice-body) .topbar,
  body:not(.invoice-body) .header-actions,
  body:not(.invoice-body) .manual-page .section-title button {
    display: none;
  }
  body:not(.invoice-body) .app-layout,
  body:not(.invoice-body) .shell {
    display: block;
    padding: 0;
  }
  .manual-page {
    max-width: none;
    box-shadow: none;
    border: 0;
  }
  .manual-grid {
    grid-template-columns: 1fr;
  }
}
.label-body {
  min-height: 100vh;
  background: #eef3f5;
}
.label-report {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 24px;
}
.label-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 18px;
}
.aquarium-label-sheet {
  display: grid;
  place-items: center;
  min-height: 420px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}
.aquarium-label {
  width: min(620px, 100%);
  min-height: 260px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 2px solid #15222a;
  border-radius: 8px;
  background: #fff;
}
.aquarium-label-info h1 {
  margin-bottom: 16px;
  color: var(--ink);
  font-size: 52px;
  text-transform: uppercase;
  line-height: 1.1;
  overflow-wrap: anywhere;
}
.aquarium-label-info dl {
  display: grid;
  gap: 9px;
  margin: 0;
}
.aquarium-label-info dl div {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3px;
  align-items: baseline;
}
.aquarium-label-info dt {
  color: var(--muted);
  font-size: 17px;
  font-weight: 900;
  text-transform: uppercase;
}
.aquarium-label-info dd {
  margin: 0;
  font-size: 28px;
  overflow-wrap: anywhere;
  font-weight: 800;
}
.label-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 20px;
  overflow-wrap: anywhere;
  line-height: 1.35;
}
.aquarium-brand {
  display:block;
  position:relative;
  width:220px;
  max-width:100%;
  aspect-ratio:2.4;
  overflow:hidden;
  background:#fff;
  flex-shrink:0;
}
.aquarium-brand img,
.aquarium-register-table .aquarium-grid-qr .aquarium-brand img {
  position:absolute;
  width:120% !important;
  max-width:none !important;
  min-width:0 !important;
  height:auto !important;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border:0 !important;
  border-radius:0 !important;
  padding:0 !important;
}
.aquarium-label-qr {
  display: grid;
  justify-items: center;
  gap: 8px;
}
.aquarium-label-qr img {
  width: 170px;
  height: 170px;
  padding: 6px;
  border: 1px solid var(--line);
  background: #fff;
}
.aquarium-label-qr span {
  max-width: 180px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
}
@media (max-width: 680px) {
  .label-report { padding: 14px; }
  .label-actions { justify-content: stretch; }
  .label-actions .soft-button,
  .label-actions .primary { flex: 1; }
  .aquarium-label-sheet { padding: 14px; }
  .aquarium-label {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }
  .aquarium-label-info dl div { grid-template-columns: 1fr; gap: 2px; }
}
@media print {
  @page { size: auto; margin: 8mm; }
  body.label-body { background: #fff; }
  .label-report { width: 100%; padding: 0; }
  .label-actions { display: none; }
  .aquarium-label-sheet {
    min-height: 0;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
  .aquarium-label {
    width: 100%;
    max-width: 96mm;
    min-height: 52mm;
    grid-template-columns: 1fr;
    justify-items: center;
    break-inside: avoid;
    box-shadow: none;
  }
}

/* ===== Recepção de Peixes — fiel ao modelo RECEPCAO.jpeg ===== */
.compact-topbar{display:none!important}
.rx-page{margin:-6px -4px 0;background:#edf5fa;border-radius:10px;overflow:hidden;box-shadow:0 1px 0 rgba(5,45,85,.06)}
.rx-topline{height:38px;display:flex;align-items:center;justify-content:space-between;padding:0 18px;background:#d7eefb;border-bottom:1px solid #c6e1f0;color:#274969;font-size:12px}
.rx-date{font-weight:600;color:#24425f}
.rx-titlebar{display:flex;justify-content:space-between;align-items:center;gap:28px;padding:14px 18px 16px;background:#f8fcff;border-bottom:1px solid #d7e6ef}
.rx-titlebar h1{margin:0;color:#073675;font-size:31px;line-height:1.05;letter-spacing:-.4px}
.rx-titlebar p{margin:5px 0 0;color:#496c89;font-size:13px}
.rx-steps{display:flex;align-items:flex-start;min-width:600px;max-width:660px;flex:1}
.rx-step{position:relative;display:flex;align-items:flex-start;gap:7px;flex:1;color:#163d6e}
.rx-step:not(:last-child)::after{content:"";position:absolute;top:15px;left:34px;right:5px;height:1px;background:#aebdcc}
.rx-step b{position:relative;z-index:1;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#7f94ad;color:white;font-size:14px;box-shadow:0 0 0 3px #f8fcff}
.rx-step.active b{background:#0878d1}
.rx-step span{display:grid;gap:1px;padding-top:1px;min-width:0}
.rx-step strong{font-size:11px;color:#0b346b}.rx-step small{font-size:9px;color:#6b8095;white-space:nowrap}
.rx-form{padding:12px 16px 14px;display:grid;gap:11px}
.rx-card{background:#fff;border:1px solid #dce8ef;border-radius:8px;box-shadow:0 1px 3px rgba(18,58,89,.05);padding:12px 14px}
.rx-card h2{margin:0;color:#083c7f;font-size:17px;line-height:1.2}
.rx-card p{margin:2px 0 0;color:#5d7892;font-size:11px}
.rx-data-card{padding-top:11px}.rx-data-card>h2{margin-bottom:8px}
.rx-data-grid{display:grid;grid-template-columns:.85fr .75fr 1.4fr 1.25fr;gap:9px 13px}
.rx-data-grid label{display:grid;gap:4px;color:#183c60;font-weight:500;font-size:11px}
.rx-data-grid input,.rx-data-grid select,.rx-data-grid textarea{width:100%;border:1px solid #c9d8e3;background:#fff;border-radius:4px;min-height:34px;padding:6px 9px;color:#18304f;font:inherit;outline:none}
.rx-data-grid input:focus,.rx-data-grid select:focus,.rx-data-grid textarea:focus{border-color:#1985d5;box-shadow:0 0 0 2px rgba(25,133,213,.10)}
.rx-data-grid input[readonly]{background:#e9f1f7;color:#506c83}.rx-data-grid textarea{height:54px;resize:vertical}
.rx-section-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:8px}
.rx-add,.rx-outline{border:1px solid #147ac7;border-radius:5px;min-height:34px;padding:0 16px;background:#0878d1;color:white;font-weight:700;cursor:pointer;font-size:12px}
.rx-outline{background:white;color:#0c67ad}
.rx-table-wrap{overflow-x:auto;border:1px solid #d8e4ec;border-radius:4px}
.rx-table{width:100%;border-collapse:collapse;background:white;font-size:11px;color:#213d5b}
.rx-table th{background:#dce9f3;color:#15375d;font-weight:700;padding:8px 6px;border-right:1px solid #cbdbe6;text-align:center;white-space:nowrap}
.rx-table td{padding:5px;border-top:1px solid #dfe8ee;border-right:1px solid #e0e8ee;text-align:center;vertical-align:middle}
.rx-table th:last-child,.rx-table td:last-child{border-right:0}
.rx-table input,.rx-table select{width:100%;min-width:0;height:30px;border:1px solid #cbd9e3;border-radius:3px;padding:3px 5px;background:#fff;color:#173656;font-size:11px}
.rx-table input[readonly]{background:#f3f7fa;font-weight:700;text-align:center}
.rx-fish-cell{min-width:405px;padding:4px!important}.rx-fish-select{height:31px!important;margin-bottom:4px}
.rx-fish-meta{display:grid;grid-template-columns:1.45fr 1fr .7fr;border-top:1px solid #e1e9ee;padding-top:4px;gap:4px;text-align:left}
.rx-fish-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 4px;color:#35526e}
.rx-qty{min-width:60px;text-align:center}.rx-money{min-width:76px;text-align:right}.rx-total{min-width:82px;text-align:right!important}
.rx-trash{border:0;background:transparent;color:#e42a38;font-size:16px;cursor:pointer;padding:4px 7px}
.rx-totals{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin-top:10px}
.rx-totals>div{border-radius:5px;padding:8px 10px;text-align:center;border:1px solid transparent}.rx-totals span{display:block;color:#244869;font-size:11px}.rx-totals strong{display:block;margin-top:2px;font-size:22px;line-height:1.05;color:#0a3a75}
.rx-totals .blue{background:#e2eef7}.rx-totals .orange{background:#fcebd8}.rx-totals .red{background:#f9e1e6}.rx-totals .green{background:#e1f3e5}.rx-totals .cyan{background:#dceefa}
.rx-totals .orange strong{color:#8a4500}.rx-totals .red strong{color:#8c1e2e}.rx-totals .green strong{color:#14723d}.rx-totals .cyan strong{color:#083f84}
.rx-bottom-grid{display:grid;grid-template-columns:1.65fr .95fr;gap:10px}.rx-cost-card{min-width:0}.rx-cost-table td:first-child{width:43%}.rx-cost-table input{text-align:center}.rx-cost-table td:first-child input{text-align:left}
.rx-summary-card{display:grid;align-content:start;gap:1px}.rx-summary-card h2{margin-bottom:6px}.rx-summary-card>div{display:flex;justify-content:space-between;align-items:center;padding:5px 7px;font-size:12px;color:#1d405e}.rx-summary-card>div strong{font-size:14px;color:#133757}.rx-summary-card .rx-grand{margin-top:5px;padding:9px 8px;background:#e1f3e5;border-radius:4px;font-weight:800}.rx-summary-card .rx-grand span{color:#0f3d4f}.rx-summary-card .rx-grand strong{font-size:25px;color:#118044}
.rx-actions{display:flex;align-items:center;justify-content:space-between;padding:4px 0 0}.rx-actions-right{display:flex;gap:10px}.rx-actions a,.rx-actions button{min-height:39px;border-radius:5px;padding:0 18px;font-weight:700;font-size:12px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.rx-cancel{background:#e5edf3;border:1px solid #b7c8d5;color:#163a5d}.rx-save,.rx-invoice{background:white;border:1px solid #147ac7;color:#0c67ad}.rx-close{background:#159b54;border:1px solid #159b54;color:white;min-width:180px}
.rx-history{margin:0 16px 16px}.rx-history h2{font-size:16px}
@media(max-width:1280px){.rx-titlebar{align-items:flex-start;flex-direction:column}.rx-steps{min-width:0;width:100%;max-width:none}.rx-data-grid{grid-template-columns:repeat(2,1fr)}.rx-bottom-grid{grid-template-columns:1fr}.rx-totals{grid-template-columns:repeat(3,1fr)}}
@media(max-width:760px){.rx-page{margin:0}.rx-topline,.rx-titlebar{padding-left:12px;padding-right:12px}.rx-date{display:none}.rx-titlebar h1{font-size:24px}.rx-steps{display:grid;grid-template-columns:1fr 1fr;gap:9px}.rx-step:after{display:none}.rx-form{padding:10px}.rx-data-grid{grid-template-columns:1fr}.rx-totals{grid-template-columns:1fr 1fr}.rx-actions{align-items:stretch;gap:8px;flex-direction:column}.rx-actions-right{display:grid}.rx-actions a,.rx-actions button{width:100%}}

/* ===== Movimentacoes de Estoque - modelo moviestoque.jpeg ===== */
.stock-move-screen{margin:-18px -22px 0;background:#f4f9fd;min-height:100vh;padding:0 18px 28px;color:#092f69}.stock-breadcrumb{height:42px;margin:0 -18px;padding:12px 20px;background:#dff2ff;border-bottom:1px solid #cfe5f5;font-size:13px}.stock-page-head{display:flex;justify-content:space-between;gap:25px;align-items:center;padding:17px 6px 16px}.stock-page-head h1{margin:0 0 4px;font-size:30px;color:#07377c;letter-spacing:-.5px}.stock-page-head p,.stock-transfer-card>p,.stock-history-card>p{margin:0;color:#4f6f93}.stock-info{display:flex;align-items:center;gap:12px;background:#e4f4ff;border-radius:7px;padding:12px 18px;min-width:480px;color:#174f8f;font-size:13px}.stock-info>span{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#3a9be8;color:white;font-size:20px;font-weight:700}.stock-action-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:0 0 16px}.stock-action-tabs button{display:flex;align-items:center;text-align:left;gap:15px;background:#fff;border:1px solid #e2eaf2;border-radius:6px;padding:14px 18px;color:#07377c;box-shadow:0 2px 8px rgba(18,73,119,.08);min-height:66px}.stock-action-tabs button.active{border-color:#3b9ee8;background:#edf8ff}.stock-action-tabs b{font-size:27px;color:#0878d1}.stock-action-tabs span{display:flex;flex-direction:column;gap:4px}.stock-action-tabs strong{font-size:14px}.stock-action-tabs small{font-size:12px;font-weight:400;color:#355f8d}.stock-transfer-card,.stock-history-card{background:#fff;border:1px solid #e3edf5;border-radius:7px;padding:14px 14px 16px;margin-bottom:16px;box-shadow:0 2px 10px rgba(16,67,110,.06)}.stock-transfer-card h2,.stock-history-card h2{margin:0 0 3px;font-size:20px;color:#07377c}.stock-transfer-form{display:grid;grid-template-columns:1.35fr 1.05fr 1.15fr 1.15fr .65fr;gap:15px;margin-top:13px}.stock-transfer-form label,.stock-filters label{display:flex;flex-direction:column;gap:6px;font-size:12px;font-weight:700;color:#143c70}.stock-transfer-form input,.stock-transfer-form select,.stock-filters input,.stock-filters select{height:40px;border:1px solid #cad9e6;border-radius:5px;background:#fff;padding:0 12px;color:#24496f;min-width:0}.stock-transfer-visual{grid-column:1/-1;display:grid;grid-template-columns:1fr 55px 1fr 285px;gap:18px;align-items:center;margin-top:4px}.stock-tank{display:flex;align-items:center;gap:14px;background:#edf8ff;border-radius:6px;padding:12px 18px;min-height:106px}.stock-tank .tank-icon{display:grid;place-items:center;background:white;border-radius:4px;width:72px;height:72px;font-size:44px;color:#0878d1}.stock-tank div{display:flex;flex-direction:column;gap:4px}.stock-tank small{font-weight:700}.stock-tank strong{font-size:15px}.stock-tank span:not(.tank-icon){font-size:12px}.stock-arrow{text-align:center;font-size:42px;color:#0878d1}.stock-register-btn{height:54px;border:0;border-radius:5px;background:#087bd7;color:white;font-weight:700;font-size:15px}.stock-filters{display:grid;grid-template-columns:.8fr .8fr 1fr .8fr 1.25fr 120px;gap:12px;align-items:end;margin:13px 0}.stock-filters button{height:40px;border:0;border-radius:5px;background:#087bd7;color:#fff;font-weight:700}.stock-history-table{overflow:auto;border:1px solid #dce8f1;border-radius:6px}.stock-history-table table{width:100%;border-collapse:collapse;min-width:900px}.stock-history-table th{background:#dceef9;color:#173d6c;font-size:11px;padding:11px 9px;text-align:left}.stock-history-table td{font-size:11px;padding:11px 9px;border-top:1px solid #e2ebf2;color:#264d74}.movement-kind{color:#087bd7}.movement-kind.out{color:#126db5}.stock-history-foot{display:flex;justify-content:space-between;align-items:center;padding-top:14px;color:#507297;font-size:12px}.stock-history-foot div{display:flex;gap:7px;align-items:center}.stock-history-foot button,.stock-history-foot b{border:1px solid #d4e0ea;background:#fff;border-radius:4px;padding:7px 13px;color:#31587e}.stock-history-foot b{background:#087bd7;color:#fff;border-color:#087bd7}@media(max-width:1000px){.stock-page-head{align-items:flex-start;flex-direction:column}.stock-info{min-width:0;width:100%}.stock-action-tabs{grid-template-columns:1fr 1fr}.stock-transfer-form{grid-template-columns:1fr 1fr}.stock-transfer-visual{grid-column:1/-1;grid-template-columns:1fr}.stock-arrow{transform:rotate(90deg)}.stock-filters{grid-template-columns:1fr 1fr}}@media(max-width:650px){.stock-action-tabs,.stock-transfer-form,.stock-filters{grid-template-columns:1fr}.stock-move-screen{margin-left:-12px;margin-right:-12px}.stock-page-head h1{font-size:24px}}

/* Mortalidade - layout baseado em MORTALIDADE.jpeg */
.mort-page{display:block;padding-bottom:10px;color:#123b68}.mort-top-grid{display:grid;grid-template-columns:1fr 1.08fr;gap:8px;margin-bottom:8px}
.mort-card{background:#fff;border:1px solid #d8e4ef;border-radius:4px;box-shadow:0 1px 3px #143d6210;overflow:hidden}.mort-aquarium-card,.mort-register-card{padding:10px}.mort-card h2{margin:0;color:#063b82;font-size:16px}.mort-card h2 span{color:#0879e8}
.mort-aq-top{display:grid;grid-template-columns:1.15fr .95fr;gap:8px;margin-top:8px}.mort-aq-search{height:36px;border:1px solid #1682e6;border-radius:3px;display:flex;align-items:center;overflow:hidden}.mort-search-icon{font-size:21px;padding:0 7px;color:#063b82}.mort-aq-search select{width:100%;height:34px;border:0!important;background:#fff;color:#153b6b;font-size:14px;outline:0}
.mort-aq-found{min-height:64px;background:#edf5fc;border-radius:4px;display:flex;align-items:center;gap:9px;padding:7px 10px}.mort-aq-icon{font-size:25px}.mort-aq-found div:last-child{display:flex;flex-direction:column}.mort-aq-found strong{font-size:17px;color:#063b82}.mort-aq-found span,.mort-aq-found small{font-size:11px}
.mort-current{margin-top:8px;background:#f4f9fd;padding:7px}.mort-current h3{margin:0 0 5px;font-size:13px;color:#073e82}.mort-current-head,.mort-fish-row{display:grid;grid-template-columns:1.7fr .65fr .65fr;align-items:center}.mort-current-head{height:26px;background:#e5f1fa;font-size:11px;font-weight:700}.mort-current-head span,.mort-fish-row>span,.mort-fish-row>strong{padding:0 7px}.mort-fish-row{min-height:42px;background:#fff;border-top:1px solid #d6e3ed;font-size:12px}.mort-fish-name{display:flex;align-items:center;gap:7px;padding:4px 6px}.mort-fish-thumb{width:52px;height:32px;background:#10283b;border-radius:3px;display:grid;place-items:center;font-size:20px}.mort-fish-row>strong{text-align:center}.mort-empty{padding:12px;text-align:center;background:#fff;color:#71849a}
.mort-register-form{display:grid;grid-template-columns:1.35fr .8fr .82fr;gap:8px;margin-top:8px;align-items:end}.mort-field{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:700}.mort-field b{color:#e22b36}.mort-field input,.mort-field select,.mort-field textarea{width:100%;border:1px solid #c9d6e3;border-radius:3px;background:#fff;color:#153b68;padding:5px 7px;font-size:12px}.mort-field input,.mort-field select{height:32px}.mort-field textarea{min-height:42px}.mort-balance-box{height:48px;background:#eef6fc;display:flex;flex-direction:column;align-items:center;justify-content:center}.mort-balance-box span{font-size:10px}.mort-balance-box strong{font-size:18px;color:#073e82}.mort-qty{grid-column:1}.mort-reason{grid-column:2/4}.mort-note{grid-column:1/4}
.mort-upload{grid-column:1;position:relative;font-size:11px;font-weight:700}.mort-upload>span{display:block;margin-bottom:3px}.mort-upload input{position:absolute;inset:19px 0 0;width:100%;opacity:0;cursor:pointer}.mort-upload-box{height:52px;border:1px dashed #4b98dc;display:grid;grid-template-columns:34px 1fr;grid-template-rows:1fr 1fr;align-items:center;padding:5px 8px}.mort-upload-icon{grid-row:1/3;font-size:21px;color:#0879e8}.mort-upload-box strong{font-size:11px;font-weight:500;align-self:end}.mort-upload-box small{font-size:9px;color:#70859b;align-self:start}
.mort-submit{grid-column:2/4;height:52px;border:0;border-radius:3px;background:#169c55;color:#fff;font-size:14px;cursor:pointer}.mort-submit:hover{background:#0f8042}.mort-submit span{font-size:18px;margin-right:6px}.mort-history{padding:8px 10px 10px}.mort-history-title p{margin:1px 0 6px;color:#6c86a3;font-size:11px}
.mort-filters{display:grid;grid-template-columns:.85fr .85fr .85fr 1.15fr 1.35fr 92px;gap:7px;align-items:end;margin-bottom:7px}.mort-filters label{display:flex;flex-direction:column;gap:2px;font-size:10px;font-weight:700}.mort-filters input,.mort-filters select{height:28px;border:1px solid #cbd8e4;border-radius:3px;background:#fff;padding:0 6px;font-size:11px}.mort-filter-btn{height:28px;border:0;border-radius:3px;background:#0879e8;color:#fff;font-size:11px}
.mort-table-wrap{overflow:auto;border:1px solid #d7e2ec}.mort-table{width:100%;border-collapse:collapse;min-width:850px;font-size:10px}.mort-table th{background:#e5f0f8;padding:6px 7px}.mort-table td{padding:5px 7px;border-top:1px solid #dce6ee;border-right:1px solid #e0e8ef}.mort-aq-link,.mort-eye{color:#0879e8}.mort-eye{text-decoration:none;font-size:14px}.mort-table-foot{display:flex;justify-content:space-between;align-items:center;padding-top:7px;font-size:11px}.mort-pagination{display:flex;gap:2px}.mort-pagination button{height:26px;border:1px solid #d3dfe9;background:#fff;color:#174879;border-radius:3px;font-size:10px}.mort-pagination button.active{background:#0879e8;color:#fff}
@media(max-width:1100px){.mort-top-grid{grid-template-columns:1fr}.mort-filters{grid-template-columns:repeat(3,1fr)}}@media(max-width:720px){.mort-aq-top,.mort-register-form{grid-template-columns:1fr}.mort-qty,.mort-reason,.mort-note,.mort-upload,.mort-submit{grid-column:1}.mort-filters{grid-template-columns:1fr 1fr}}

/* ===== Catálogo profissional - fiel a CATALOGONACIONAL / CATALOGOEXTERIOR ===== */
.catalog-topbar{display:none!important}.catalog-pro{padding:6px 8px 24px;color:#073c82}.catalog-pro-head{display:grid;grid-template-columns:minmax(360px,1fr) minmax(550px,1.06fr);align-items:start;gap:24px;margin:0 0 14px}.catalog-pro-head h1{margin:0;font-size:38px;line-height:1.02;color:#063b82;font-weight:800}.catalog-pro-head p{margin:4px 0 0;font-size:17px;color:#124f96}.catalog-mode-switch{display:grid;grid-template-columns:1fr 1fr;gap:8px}.catalog-mode{height:64px;border:1px solid #9dc6e7;border-radius:5px;background:#eaf5fd;text-decoration:none;color:#063b82;display:flex;align-items:center;justify-content:center;gap:14px;position:relative}.catalog-mode strong{display:block;font-size:18px;line-height:1}.catalog-mode small{display:block;text-align:center;font-size:14px;margin-top:4px}.catalog-mode.active{background:linear-gradient(135deg,#057bdc,#0c57d8);color:#fff;border-color:#1269cf}.catalog-mode.active:after{content:"";position:absolute;bottom:-10px;left:50%;transform:translateX(-50%);border:10px solid transparent;border-top-color:#0967d8;border-bottom:0}.catalog-flag{font-size:38px;line-height:1}.catalog-globe{font-size:50px;line-height:.7;font-weight:300}.catalog-toolbar{display:grid;grid-template-columns:minmax(280px,1.8fr) .55fr .62fr .62fr .72fr .7fr 128px 128px;gap:10px;align-items:end;margin-bottom:10px}.catalog-toolbar>label:not(.catalog-search):not(.catalog-stock-toggle){display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:700;color:#073c82}.catalog-toolbar select{height:38px;border:1px solid #a9cbe5;border-radius:4px;background:#fff;color:#073c82;padding:0 9px;font-size:14px}.catalog-search{height:40px;border:1px solid #a9cbe5;border-radius:4px;display:flex;align-items:center;background:#fff;overflow:hidden}.catalog-search span{font-size:26px;padding:0 9px;color:#0b61b8}.catalog-search input{width:100%;height:38px;border:0;outline:0;color:#164a82;font-size:14px}.catalog-stock-toggle{height:40px;display:grid;grid-template-columns:45px 1fr;gap:7px;align-items:center;font-size:13px;color:#073c82;cursor:pointer}.catalog-stock-toggle input{display:none}.catalog-stock-toggle i{width:44px;height:24px;border-radius:16px;background:#bed6e9;position:relative}.catalog-stock-toggle i:after{content:"";position:absolute;width:20px;height:20px;border-radius:50%;background:#fff;top:2px;left:2px;box-shadow:0 1px 3px #0003;transition:.18s}.catalog-stock-toggle input:checked+i{background:#0b78e3}.catalog-stock-toggle input:checked+i:after{left:22px}.catalog-export{height:48px;border:0;border-radius:4px;color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center;gap:8px;font-size:20px;cursor:pointer}.catalog-export span{font-size:13px;line-height:1.1}.catalog-export small{font-size:11px}.catalog-export.pdf{background:linear-gradient(#d83939,#bb1717)}.catalog-export.excel{background:linear-gradient(#12a154,#087a39)}.catalog-table-head,.catalog-line{display:grid;grid-template-columns:96px 1.28fr 1.45fr 1fr .78fr .8fr .8fr .95fr .75fr .75fr;align-items:stretch}.catalog-table-head{min-height:38px;background:#d7ecfb;border:1px solid #c0deef;border-radius:4px 4px 0 0;font-size:12px;font-weight:800;color:#073c82;text-align:center}.catalog-table-head span{display:grid;place-items:center;padding:5px 6px;border-right:1px solid #c6ddea}.catalog-family{margin-top:5px}.catalog-family-title{width:100%;height:38px;border:0;border-radius:4px;background:#d7ecfb;color:#063b82;display:flex;align-items:center;justify-content:space-between;padding:0 12px;font-size:19px;font-weight:800;cursor:pointer}.catalog-family-title em{font-style:normal;font-size:15px;font-weight:500;padding-right:44px}.catalog-chevron{display:inline-block;width:22px;font-size:24px}.catalog-family-body{border-left:1px solid #d2e2ef;border-right:1px solid #d2e2ef}.catalog-line{min-height:36px;background:#fff;border-bottom:1px solid #d8e4ed;font-size:12px;color:#073c82}.catalog-line>div{display:flex;align-items:center;padding:4px 10px;border-right:1px solid #e0e9f0}.catalog-line .center{justify-content:center}.catalog-photo{justify-content:center!important;padding:3px 8px!important}.catalog-photo img{width:78px;height:30px;object-fit:contain;background:#06111d;border-radius:3px}.catalog-photo span{width:78px;height:30px;display:grid;place-items:center;background:#0b1722;border-radius:3px}.catalog-scientific em{font-family:Georgia,serif;font-size:12px}.catalog-price{justify-content:center;font-weight:500}.catalog-stock{justify-content:center;font-weight:800;font-size:14px}.catalog-stock.ok{color:#078435}.catalog-stock.zero{color:#e32323}.catalog-eye{width:48px;height:30px;border:1px solid #b9d8eb;border-radius:4px;background:#fff;color:#075dc0;font-size:19px;cursor:pointer}.catalog-eye:hover{background:#eaf5fd}.catalog-footer{display:flex;justify-content:space-between;align-items:center;margin-top:28px;color:#6384aa;font-size:13px}.catalog-pages{display:flex;align-items:center;gap:3px}.catalog-pages button{height:38px;min-width:40px;border:1px solid #cbddeb;background:#fff;color:#0756aa;border-radius:3px;font-weight:600}.catalog-pages button.active{background:#0878e7;color:#fff;border-color:#0878e7}.catalog-pages button:disabled{color:#b4c3d2}.catalog-pages button:last-child,.catalog-pages button:first-child{padding:0 18px}.catalog-empty{padding:45px;text-align:center;background:#fff;border:1px solid #d7e4ee;border-radius:4px}.catalog-modal{width:min(620px,92vw);border:0;border-radius:8px;box-shadow:0 20px 70px #002b5566;padding:22px;grid-template-columns:220px 1fr;gap:22px;color:#073c82}.catalog-modal[open]{display:grid}.catalog-modal::backdrop{background:#00264d66}.catalog-modal-close{position:absolute;right:12px;top:8px;border:0;background:transparent;font-size:26px;color:#073c82}.catalog-modal-photo{min-height:180px;background:#eef6fc;display:grid;place-items:center;font-size:70px;border-radius:6px}.catalog-modal-photo img{width:100%;height:100%;object-fit:contain}.catalog-modal h3{margin:5px 0;font-size:24px}.catalog-modal dl{display:grid;grid-template-columns:90px 1fr;gap:8px;margin-top:18px}.catalog-modal dt{font-weight:700}.catalog-modal dd{margin:0}.catalog-line[hidden],.catalog-family[hidden]{display:none!important}
@media(max-width:1250px){.catalog-pro-head{grid-template-columns:1fr}.catalog-toolbar{grid-template-columns:2fr repeat(3,1fr);}.catalog-stock-toggle,.catalog-export{grid-row:auto}.catalog-table-head,.catalog-line{grid-template-columns:82px 1.1fr 1.25fr .9fr .7fr .7fr .7fr .8fr .65fr .65fr}}
@media(max-width:900px){.catalog-mode-switch{grid-template-columns:1fr}.catalog-toolbar{grid-template-columns:1fr 1fr}.catalog-table-head{display:none}.catalog-line{grid-template-columns:80px 1fr 1fr}.catalog-line>div:nth-child(n+4){display:none}.catalog-family-title em{padding-right:4px}.catalog-footer{flex-direction:column;gap:12px;align-items:flex-start}}
@media print{.side-menu,.catalog-toolbar,.catalog-mode-switch,.catalog-footer,.catalog-eye{display:none!important}.shell{margin:0!important}.catalog-pro{padding:0}.catalog-pro-head{display:block}.catalog-line{break-inside:avoid}}

.mortality-topbar,.catalog-topbar{display:none!important}

/* ===== Recepção e Compra — novos/Recepcao.jpeg ===== */
/* Mantém a tela independente do cabeçalho genérico do sistema. */
.compact-topbar{display:none!important}
.rx-page{
  margin:-6px -4px 0;
  background:#eef6fb;
  border-radius:0;
  overflow:hidden;
  box-shadow:none;
  color:#0b2f5d;
}
.rx-topline{
  height:40px;
  padding:0 22px;
  background:#d8effc;
  border-bottom:1px solid #c5e1f0;
  color:#163e65;
  font-size:12px;
}
.rx-titlebar{
  padding:15px 22px 18px;
  background:#f8fcff;
  border-bottom:1px solid #d3e4ef;
  gap:34px;
}
.rx-titlebar h1{font-size:31px;font-weight:800;color:#062f6d;letter-spacing:-.5px}
.rx-titlebar p{font-size:13px;color:#37658a;margin-top:5px}
.rx-steps{max-width:720px;min-width:650px}
.rx-step{min-width:0}
.rx-step b{width:31px;height:31px;font-size:15px}
.rx-step strong{font-size:12px}.rx-step small{font-size:10px;color:#496a88}
.rx-form{padding:12px 16px 14px;gap:10px}
.rx-card{border:1px solid #d9e5ed;border-radius:5px;box-shadow:0 1px 4px rgba(15,61,97,.07);background:#fff}
.rx-card h2{color:#063b82;font-size:17px;font-weight:800}
.rx-data-card{padding:11px 14px 13px}
.rx-data-grid{grid-template-columns:.82fr .72fr 1.35fr 1.28fr;gap:10px 16px}
.rx-data-grid label{font-size:12px;color:#143858;font-weight:500}
.rx-data-grid input,.rx-data-grid select,.rx-data-grid textarea{min-height:36px;border-color:#c2d4e1;border-radius:4px;background:#fff;font-size:12px}
.rx-data-grid input[readonly]{background:#e7eff5;color:#35546f}
.rx-data-grid textarea{height:52px}
.rx-items-card{padding:10px 14px 12px}
.rx-section-head{align-items:center;margin-bottom:8px}
.rx-section-head h2{margin:0}.rx-section-head p{font-size:11px;color:#466d8e;margin:2px 0 0}
.rx-head-actions{display:flex;gap:9px;align-items:center}
.rx-add,.rx-import,.rx-outline{height:36px;border-radius:4px;padding:0 18px;font-size:12px;font-weight:700;cursor:pointer}
.rx-add{background:#0878df;border:1px solid #0878df;color:#fff}
.rx-import,.rx-outline{background:#fff;border:1px solid #0878df;color:#075cb2}
.rx-import:hover,.rx-outline:hover{background:#edf7ff}.rx-add:hover{background:#056bca}
.rx-table-wrap{border-color:#cfdfe9}
.rx-table{font-size:11px}
.rx-table th{height:39px;background:#d9e7f2;color:#12365d;font-weight:800;padding:7px 5px}
.rx-table td{height:34px;padding:4px 5px;border-color:#dce5ec}
.rx-table input,.rx-table select{height:28px;border-color:#c9d7e1;font-size:11px}
.rx-fish-cell{min-width:360px}
.rx-fish-select{margin-bottom:4px}
.rx-fish-meta{display:grid!important;grid-template-columns:1.25fr 1fr .8fr;gap:4px;text-align:left;color:#193b5c;font-size:10px}
.rx-fish-meta span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.rx-totals{gap:9px;margin-top:11px}
.rx-totals>div{min-height:62px;padding:8px 8px;border-radius:4px;display:flex;flex-direction:column;justify-content:center}
.rx-totals span{font-size:12px}.rx-totals strong{font-size:23px}
.rx-totals .blue{background:#e1edf6}.rx-totals .orange{background:#fbe8d1}.rx-totals .red{background:#f8dee3}.rx-totals .green{background:#dff2e2}.rx-totals .cyan{background:#dceefa}
.rx-bottom-grid{grid-template-columns:1.58fr .92fr;gap:11px}
.rx-cost-card,.rx-summary-card{padding:10px 14px}
.rx-summary-card>div:not(.rx-grand){font-size:12px;padding:3px 0}
.rx-grand{margin-top:6px;background:#dff3e1!important;border-radius:4px;padding:9px 10px!important}
.rx-grand strong{font-size:27px!important;color:#0b7a3e!important}
.rx-actions{padding:10px 14px 0;margin:0 -2px;border-top:1px solid #d7e5ee;background:#f8fcff}
.rx-actions a,.rx-actions button{min-height:44px;padding:0 22px;font-size:12px;border-radius:4px}
.rx-cancel{background:#e6edf3!important;color:#14395d!important;border:1px solid #aebfce!important}
.rx-save,.rx-invoice{background:#fff!important;color:#0758ac!important;border:1px solid #0878df!important}
.rx-close{background:#149b4d!important;border:1px solid #149b4d!important;color:#fff!important;min-width:180px}
.rx-actions-right{gap:12px}
/* O modelo novo termina na barra de ações; o histórico continua no banco, mas não interfere no layout. */
.rx-history{display:none!important}
@media(max-width:1280px){.rx-head-actions{flex-wrap:wrap}.rx-steps{min-width:0;max-width:none;width:100%}}
@media(max-width:760px){.rx-head-actions{width:100%}.rx-add,.rx-import{flex:1;padding:0 10px}.rx-fish-cell{min-width:250px}}


/* ===== Movimentação - fiel ao modelo novos/movestoque.jpeg ===== */
.movement-topbar{display:none!important}.mv-page{margin:-18px -22px 0;background:#f3f8fc;min-height:100vh;padding:0 12px 26px;color:#082f6a}.mv-breadcrumb{height:40px;margin:0 -12px;padding:10px 18px;background:#d9effc;border-bottom:1px solid #c7deed;font-size:12px;display:flex;align-items:center;gap:8px}.mv-breadcrumb .mv-clock{margin-left:auto;color:#173f72}.mv-head{display:grid;grid-template-columns:1fr 520px;gap:24px;align-items:center;padding:13px 10px 14px}.mv-head h1{margin:0;color:#073b86;font-size:29px;line-height:1.05}.mv-head h2{margin:3px 0;color:#073b86;font-size:16px}.mv-head p{margin:3px 0 0;color:#466a91;font-size:12px}.mv-info{background:#dff2ff;border-radius:5px;display:flex;align-items:center;gap:13px;padding:12px 16px;color:#0c4a95}.mv-info>b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#3b9fe8;color:#fff;font-size:20px}.mv-info span{display:flex;flex-direction:column;gap:2px;font-size:12px}.mv-info small{font-weight:400}.mv-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:0 5px 12px}.mv-tabs a{min-height:64px;padding:12px 18px;background:#fff;border:1px solid #e0e9f0;border-radius:4px;box-shadow:0 1px 5px #15486f10;display:flex;align-items:center;gap:14px;text-decoration:none;color:#073b86}.mv-tabs a.active{background:#e5f5ff;border-color:#35a1e9}.mv-tabs a>b{font-size:27px;color:#087bd8}.mv-tabs a span{display:flex;flex-direction:column}.mv-tabs strong{font-size:14px}.mv-tabs small{font-size:11px;color:#2f5884;font-weight:400;margin-top:3px}.mv-steps{display:grid;grid-template-columns:1fr 22px 1fr 22px 1fr 22px 1fr 22px 1fr;align-items:center;background:#fff;border:1px solid #dce8f0;border-radius:5px;padding:0;margin:0 5px 10px;overflow:hidden}.mv-steps>div{height:54px;padding:7px 13px;display:flex;align-items:center;gap:10px}.mv-steps>div.active{background:#def2ff}.mv-steps>div>b,.mv-panel h3>b,.mv-confirm h3>b{width:31px;height:31px;border-radius:50%;background:#5a7fa7;color:#fff;display:inline-grid;place-items:center;font-size:15px;flex:none}.mv-steps>div.active>b,.mv-panel h3>b,.mv-confirm h3>b{background:#087bd8}.mv-steps span{display:flex;flex-direction:column}.mv-steps strong{font-size:12px}.mv-steps small{font-size:10px;color:#55728f}.mv-steps>i{font-style:normal;font-size:28px;color:#0b67b9;text-align:center}.mv-transfer{display:grid;grid-template-columns:1.04fr 1.55fr .55fr 1fr;gap:9px;margin:0 5px}.mv-panel{background:#fff;border:1px solid #dfe8f0;border-radius:5px;padding:9px}.mv-panel h3,.mv-confirm h3{display:flex;align-items:center;gap:9px;margin:0;color:#073b86;font-size:13px}.mv-panel h3>b,.mv-confirm h3>b{width:28px;height:28px;font-size:14px}.mv-panel h3 em{color:#dc303b;font-style:normal}.mv-panel>p{margin:1px 0 6px 37px;color:#55728f;font-size:10px}.mv-select-search{display:flex;height:39px;border:1px solid #c7d6e3;border-radius:4px;margin:7px 0;background:#fff;align-items:center;overflow:hidden}.mv-select-search>span{font-size:22px;padding:0 9px;color:#0a4a8c}.mv-select-search select{border:0!important;outline:0;width:100%;height:37px;background:#fff;color:#164673;font-size:12px}.mv-aq-card{display:flex;gap:12px;align-items:center;background:#f7fbfe;border-top:1px solid #e0e8ef;padding:8px 4px}.mv-aq-picture{width:128px;height:88px;background:linear-gradient(#bfe7f7 0 20%,#54a7c8 20% 70%,#845f32 70%);border:5px solid #486277;border-radius:2px;display:grid;place-items:center;font-size:35px;box-shadow:inset 0 0 0 3px #d7f6ff;flex:none}.mv-aq-card>div:last-child{display:flex;flex-direction:column;gap:3px;font-size:11px}.mv-aq-card strong{font-size:13px;color:#0b3e86}.mv-aq-card small{margin-top:3px;padding:4px 9px;border-radius:12px;background:#dcf6e6;color:#178542;width:max-content}.mv-aq-card small.empty{background:#e7eff5;color:#64809a}.mv-fish-table{border:1px solid #d5e1ea;border-radius:4px;overflow:auto;margin-top:5px}.mv-fish-table table{width:100%;border-collapse:collapse;min-width:430px}.mv-fish-table th{background:#dcebf5;color:#123e70;font-size:10px;padding:7px;text-align:left}.mv-fish-table td{border-top:1px solid #dfe8ef;padding:5px 7px;font-size:10px;color:#244b73}.mv-fish-table td:last-child{text-align:center}.mv-fish-table input[type=radio]{accent-color:#0b83e4;width:16px;height:16px}.mv-fish-thumb{display:inline-grid;place-items:center;width:42px;height:24px;background:#17334a;margin-right:8px;border-radius:2px}.mv-empty{text-align:center!important;color:#6d8296!important;padding:22px!important}.mv-qty .mv-available{margin:17px 4px 12px;color:#4c6b8d;font-size:11px}.mv-qty .mv-available strong{font-size:14px;color:#092f6a}.mv-qty input{width:100%;height:42px;border:1px solid #cbd8e4;border-radius:3px;padding:0 10px;color:#163f6c;font-size:13px}.mv-confirm{grid-column:1/-1;background:#fff;border:1px solid #dfe8f0;border-radius:5px;padding:10px 12px;margin-top:1px}.mv-confirm>p{margin:0 0 7px 38px;color:#55728f;font-size:10px}.mv-confirm-grid{display:grid;grid-template-columns:1fr 70px 1fr 285px;align-items:center;gap:14px}.mv-confirm-card{background:#eaf6fd;min-height:96px;display:flex;align-items:center;gap:15px;padding:10px 18px}.mv-mini-tank{width:67px;height:65px;background:#fff;border:4px solid #0b3d70;display:grid;place-items:center;color:#087bd8;font-size:37px}.mv-confirm-card>div:last-child{display:flex;flex-direction:column;font-size:11px;gap:2px}.mv-confirm-card strong{font-size:14px;color:#073b86}.mv-big-arrow{text-align:center;font-size:44px;color:#087bd8}.mv-submit{height:52px;border:0;border-radius:4px;background:#087bd8;color:#fff;font-size:15px;font-weight:700;cursor:pointer}.mv-submit:disabled{opacity:.5;cursor:not-allowed}.mv-history{background:#fff;border:1px solid #dfe8f0;border-radius:5px;padding:8px 10px 10px;margin:10px 5px 0}.mv-history-head{display:flex;justify-content:space-between;align-items:center}.mv-history h2{margin:0;color:#073b86;font-size:18px}.mv-history p{margin:2px 0 7px;color:#55728f;font-size:10px}.mv-history-head>button{height:32px;border:1px solid #178be0;border-radius:4px;background:#fff;color:#0a63ad;padding:0 17px}.mv-history-filters{display:grid;grid-template-columns:170px 170px 1fr 100px;gap:8px;padding:8px;background:#eef7fd;margin-bottom:7px}.mv-history-filters label{font-size:10px;font-weight:700}.mv-history-filters input{width:100%;height:32px;border:1px solid #c9d7e3;border-radius:3px}.mv-history-filters button{border:0;background:#087bd8;color:#fff;border-radius:3px}.mv-history-table{overflow:auto;border:1px solid #d6e2eb}.mv-history-table table{width:100%;border-collapse:collapse;min-width:1000px}.mv-history-table th{background:#dcebf5;color:#123e70;font-size:10px;padding:7px;text-align:left}.mv-history-table td{font-size:10px;padding:6px 8px;border-top:1px solid #dfe7ee;color:#244b73}.mv-history-table td small{display:block}.mv-type,.mv-eye{color:#087bd8;font-weight:700}.mv-history-foot{display:flex;justify-content:space-between;align-items:center;padding-top:10px;color:#55728f;font-size:10px}.mv-history-foot div{display:flex;gap:4px;align-items:center}.mv-history-foot button,.mv-history-foot div>b{min-width:28px;height:28px;border:1px solid #d2dfe8;background:#fff;border-radius:3px;padding:0 8px;color:#31587d;display:grid;place-items:center}.mv-history-foot div>b{background:#087bd8;color:#fff;border-color:#087bd8}@media(max-width:1150px){.mv-head{grid-template-columns:1fr}.mv-tabs{grid-template-columns:1fr 1fr}.mv-transfer{grid-template-columns:1fr 1fr}.mv-confirm-grid{grid-template-columns:1fr}.mv-big-arrow{transform:rotate(90deg)}.mv-origin,.mv-fishes,.mv-qty,.mv-dest{min-width:0}}@media(max-width:720px){.mv-page{margin-left:-12px;margin-right:-12px}.mv-tabs,.mv-transfer{grid-template-columns:1fr}.mv-steps{display:none}.mv-clock{display:none}.mv-history-filters{grid-template-columns:1fr}.mv-aq-picture{width:90px}.mv-head h1{font-size:24px}}

/* ===== Transferir para outro setor - fiel ao modelo novos/transf.jpeg ===== */
.ts-page{margin:-18px -22px 0;background:#f3f8fc;min-height:100vh;padding:0 12px 26px;color:#082f6a}.ts-breadcrumb{height:40px;margin:0 -12px;padding:10px 18px;background:#d9effc;border-bottom:1px solid #c7deed;font-size:12px;display:flex;align-items:center;gap:8px}.ts-breadcrumb .ts-clock{margin-left:auto;color:#173f72}.ts-head{display:grid;grid-template-columns:1fr 535px;gap:24px;align-items:center;padding:13px 10px 14px}.ts-head h1{margin:0;color:#073b86;font-size:31px;line-height:1.05}.ts-head p{margin:4px 0 0;color:#466a91;font-size:12px}.ts-info{background:#dff2ff;border-radius:5px;display:flex;align-items:center;gap:13px;padding:12px 16px;color:#0c4a95}.ts-info>b{display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:#3b9fe8;color:#fff;font-size:20px}.ts-info span{display:flex;flex-direction:column;gap:2px;font-size:12px}.ts-info small{font-weight:400}.ts-steps{display:grid;grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr;align-items:center;background:#fff;border:1px solid #dce8f0;border-radius:5px;margin:0 5px 10px;overflow:hidden}.ts-steps>div{height:54px;padding:7px 10px;display:flex;align-items:center;gap:8px}.ts-steps>div.active{background:#def2ff}.ts-steps>div>b,.ts-panel h3>b,.ts-confirm h3>b{width:30px;height:30px;border-radius:50%;background:#5a7fa7;color:#fff;display:inline-grid;place-items:center;font-size:14px;flex:none}.ts-steps>div.active>b,.ts-panel h3>b,.ts-confirm h3>b{background:#087bd8}.ts-steps span{display:flex;flex-direction:column}.ts-steps strong{font-size:10px}.ts-steps small{font-size:9px;color:#55728f}.ts-steps>i{font-style:normal;font-size:25px;color:#0b67b9;text-align:center}.ts-form{display:grid;grid-template-columns:.75fr .95fr 1.45fr .65fr 1.15fr;gap:9px;margin:0 5px}.ts-panel{background:#fff;border:1px solid #dfe8f0;border-radius:5px;padding:9px}.ts-panel h3,.ts-confirm h3{display:flex;align-items:center;gap:8px;margin:0;color:#073b86;font-size:12px}.ts-panel h3 em,.ts-confirm em,.ts-final-fields em{color:#dc303b;font-style:normal}.ts-panel>p{margin:1px 0 6px 36px;color:#55728f;font-size:10px}.ts-panel select,.ts-panel input{width:100%;height:39px;border:1px solid #c7d6e3;border-radius:4px;background:#fff;color:#164673;font-size:11px;padding:0 10px}.ts-search{display:flex;height:39px;border:1px solid #c7d6e3;border-radius:4px;margin:7px 0;background:#fff;align-items:center;overflow:hidden}.ts-search>span{font-size:22px;padding:0 9px;color:#0a4a8c}.ts-search select{border:0!important;outline:0;height:37px;padding-left:0}.ts-origin-sector select{margin-top:7px}.ts-aq-card{display:flex;gap:12px;align-items:center;background:#f7fbfe;border-top:1px solid #e0e8ef;padding:8px 4px}.ts-tank{width:126px;height:86px;background:linear-gradient(#bfe7f7 0 20%,#54a7c8 20% 70%,#845f32 70%);border:5px solid #486277;border-radius:2px;display:grid;place-items:center;font-size:34px;box-shadow:inset 0 0 0 3px #d7f6ff;flex:none}.ts-tank.small{width:88px;height:66px}.ts-aq-card>div:last-child,.ts-summary>div:last-child{display:flex;flex-direction:column;gap:3px;font-size:10px}.ts-aq-card strong,.ts-summary strong{font-size:12px;color:#0b3e86}.ts-aq-card small{margin-top:3px;padding:4px 9px;border-radius:12px;background:#e7eff5;color:#64809a;width:max-content}.ts-aq-card small.full{background:#dcf6e6;color:#178542}.ts-fish-table{border:1px solid #d5e1ea;border-radius:4px;overflow:auto;margin-top:5px}.ts-fish-table table{width:100%;border-collapse:collapse;min-width:430px}.ts-fish-table th{background:#dcebf5;color:#123e70;font-size:9px;padding:7px;text-align:left}.ts-fish-table td{border-top:1px solid #dfe8ef;padding:5px 7px;font-size:9px;color:#244b73}.ts-fish-table td:last-child{text-align:center}.ts-fish-table input[type=radio]{accent-color:#0b83e4;width:16px;height:16px}.ts-fish-thumb{display:inline-grid;place-items:center;width:42px;height:24px;background:#17334a;margin-right:7px;border-radius:2px}.ts-empty{text-align:center!important;color:#6d8296!important;padding:21px!important}.ts-qty>div{margin:18px 4px 12px;color:#4c6b8d;font-size:10px}.ts-qty strong{font-size:13px;color:#092f6a}.ts-destination .ts-second{margin-top:10px}.ts-confirm{grid-column:1/-1;background:#fff;border:1px solid #dfe8f0;border-radius:5px;padding:10px 12px;margin-top:1px}.ts-confirm>p{margin:0 0 7px 38px;color:#55728f;font-size:10px}.ts-confirm-grid{display:grid;grid-template-columns:1fr 70px 1fr 290px;align-items:center;gap:14px}.ts-summary{background:#eaf6fd;min-height:120px;display:flex;align-items:center;gap:15px;padding:10px 18px}.ts-arrow{text-align:center;font-size:44px;color:#087bd8}.ts-final-fields{display:grid;gap:8px}.ts-final-fields label{display:flex;flex-direction:column;gap:4px;font-size:10px;font-weight:700;color:#173f72}.ts-final-fields select,.ts-final-fields textarea{width:100%;border:1px solid #c9d7e3;border-radius:3px;background:#fff;color:#173f72;padding:7px;font-size:10px}.ts-final-fields select{height:34px}.ts-final-fields textarea{height:52px;resize:vertical}.ts-submit{height:48px;border:0;border-radius:4px;background:#087bd8;color:#fff;font-size:14px;font-weight:700;cursor:pointer}.ts-submit:disabled{opacity:.5;cursor:not-allowed}.ts-history{background:#fff;border:1px solid #dfe8f0;border-radius:5px;padding:8px 10px 10px;margin:10px 5px 0}.ts-history-head{display:flex;justify-content:space-between;align-items:center}.ts-history h2{margin:0;color:#073b86;font-size:17px}.ts-history p{margin:2px 0 7px;color:#55728f;font-size:10px}.ts-history-head>button{height:32px;border:1px solid #178be0;border-radius:4px;background:#fff;color:#0a63ad;padding:0 17px}.ts-history-filters{display:grid;grid-template-columns:170px 170px 1fr 100px;gap:8px;padding:8px;background:#eef7fd;margin-bottom:7px}.ts-history-filters label{font-size:10px;font-weight:700}.ts-history-filters input{width:100%;height:32px;border:1px solid #c9d7e3;border-radius:3px}.ts-history-filters button{border:0;background:#087bd8;color:#fff;border-radius:3px}.ts-table-wrap{overflow:auto;border:1px solid #d6e2eb}.ts-table-wrap table{width:100%;border-collapse:collapse;min-width:1120px}.ts-table-wrap th{background:#dcebf5;color:#123e70;font-size:9px;padding:7px;text-align:left}.ts-table-wrap td{font-size:9px;padding:6px 8px;border-top:1px solid #dfe7ee;color:#244b73}.ts-eye{color:#087bd8;font-weight:700;font-size:15px}.ts-history-foot{display:flex;justify-content:space-between;align-items:center;padding-top:10px;color:#55728f;font-size:10px}.ts-history-foot div{display:flex;gap:4px;align-items:center}.ts-history-foot button,.ts-history-foot div>b{min-width:28px;height:28px;border:1px solid #d2dfe8;background:#fff;border-radius:3px;padding:0 8px;color:#31587d;display:grid;place-items:center}.ts-history-foot div>b{background:#087bd8;color:#fff;border-color:#087bd8}@media(max-width:1250px){.ts-head{grid-template-columns:1fr}.ts-form{grid-template-columns:1fr 1fr}.ts-origin-sector,.ts-origin-aq,.ts-fishes,.ts-qty,.ts-destination{min-width:0}.ts-confirm-grid{grid-template-columns:1fr}.ts-arrow{transform:rotate(90deg)}.ts-steps{display:none}}@media(max-width:720px){.ts-page{margin-left:-12px;margin-right:-12px}.ts-form{grid-template-columns:1fr}.ts-clock{display:none}.ts-head h1{font-size:24px}.ts-history-filters{grid-template-columns:1fr}.ts-tank{width:90px}}


/* ===== Saída por Venda - fiel ao modelo novos/Saidavenda.jpeg ===== */
.sale-topbar{display:none!important}.sv-page{margin:-18px -22px 0;background:#f4f9fd;min-height:100vh;padding:0 11px 26px;color:#082f6a}.sv-breadcrumb{height:38px;margin:0 -11px;background:#d9eefc;border-bottom:1px solid #c5deed;padding:9px 17px;display:flex;align-items:center;gap:8px;font-size:11px}.sv-clock{margin-left:auto}.sv-titlebar{display:grid;grid-template-columns:1fr 330px;gap:18px;align-items:center;padding:9px 7px 10px}.sv-titlebar h1{margin:0;color:#063b87;font-size:26px}.sv-titlebar h1 span{font-size:29px;margin-right:10px}.sv-titlebar p{margin:0 0 0 43px;font-size:12px;color:#174f92}.sv-info{background:#dff2ff;padding:9px 11px;display:flex;gap:10px;align-items:center;font-size:10px}.sv-info>b{width:28px;height:28px;border-radius:50%;display:grid;place-items:center;background:#087be1;color:#fff;font-size:18px}.sv-info span{display:flex;flex-direction:column}.sv-info small{margin-top:2px}.sv-form{display:block}.sv-client-card,.sv-box{background:#fff;border:1px solid #d8e5ee;border-radius:4px;box-shadow:0 1px 4px #1249770d}.sv-client-card{margin-bottom:9px}.sv-step-title{min-height:42px;display:flex;align-items:center;gap:10px;padding:7px 10px;color:#063b87}.sv-step-title>b{width:29px;height:29px;border-radius:50%;background:#087be1;color:#fff;display:grid;place-items:center;font-size:14px}.sv-step-title>strong{font-size:13px}.sv-step-title strong small{font-weight:400;color:#597797}.sv-client-tools{display:flex;align-items:center;gap:8px;flex:1;margin-left:12px}.sv-client-search{width:min(330px,40vw);height:34px;border:1px solid #a9cde5;border-radius:3px;display:flex;align-items:center;padding:0 8px;gap:8px;color:#0757a9}.sv-client-search select{border:0!important;height:32px;width:100%;outline:0;background:#fff;color:#073b82}.sv-btn{height:34px;padding:0 14px;border-radius:3px;text-decoration:none;display:flex;align-items:center;font-size:11px}.sv-btn.blue{background:#087be1;color:#fff}.sv-mode{margin-left:auto;display:flex;height:34px}.sv-mode a{min-width:88px;display:grid;place-items:center;text-decoration:none;color:#174c83;background:#f2f7fb;border:1px solid #e0e9f1;font-size:11px}.sv-mode a.active{background:#dbefff;color:#064eb7;border-bottom:2px solid #087be1;font-weight:700}.sv-client-grid{display:grid;grid-template-columns:1fr .9fr .8fr .75fr .8fr .85fr 1fr 1.35fr 1.05fr .55fr .65fr .8fr;border-top:1px solid #dfe8ef}.sv-client-grid>div{min-height:70px;padding:10px 9px;border-right:1px solid #dce6ee;display:flex;flex-direction:column;gap:4px;min-width:0}.sv-client-grid small{font-size:9px;color:#4c7398}.sv-client-grid strong{font-size:10px;color:#083b82;word-break:break-word}.sv-type-badge{padding:5px 9px;background:#dff7e8;color:#19824b!important;border-radius:14px;width:max-content}.sv-main-grid{display:grid;grid-template-columns:.82fr 1.12fr 1.48fr;gap:7px;margin-bottom:8px}.sv-box{overflow:hidden}.sv-aq-box,.sv-fish-box,.sv-add-box{min-height:235px}.sv-two-fields{display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:0 9px 8px}.sv-two-fields label,.sv-extra label{font-size:9px;font-weight:700;color:#164c82;display:flex;flex-direction:column;gap:3px}.sv-two-fields select,.sv-two-fields input,.sv-extra input,.sv-extra select{height:33px;border:1px solid #a9c9e2;border-radius:3px;background:#fff;padding:0 8px;color:#073b82}.sv-aq-card{display:flex;gap:12px;padding:4px 10px 10px}.sv-tank{width:115px;height:100px;border:4px solid #385f79;background:linear-gradient(#c7edfb 0 22%,#61aecf 22% 72%,#84613a 72%);display:grid;place-items:center;font-size:35px;box-shadow:inset 0 0 0 3px #d8f6ff}.sv-aq-card>div:last-child{display:flex;flex-direction:column;gap:2px;font-size:9px}.sv-aq-card strong{font-size:13px}.sv-aq-card small{margin-top:5px;padding:4px 9px;border-radius:14px;background:#e9f0f5;color:#607e99;width:max-content}.sv-aq-card small.ok{background:#dcf8e8;color:#14814b}.sv-search{margin:0 8px 4px;height:32px;border:1px solid #b7d0e3;display:flex;align-items:center;padding:0 8px;gap:7px}.sv-search input{border:0;outline:0;width:100%;height:30px;color:#154d84}.sv-fish-table,.sv-table-wrap{overflow:auto}.sv-fish-table table,.sv-table-wrap table{width:100%;border-collapse:collapse}.sv-fish-table th,.sv-table-wrap th{background:#dcebf5;padding:6px;font-size:9px;color:#093d80;text-align:center}.sv-fish-table td,.sv-table-wrap td{border-top:1px solid #dfe7ee;border-right:1px solid #e4ebf1;padding:5px 7px;font-size:9px;color:#164a7b}.sv-fish-table input{accent-color:#087be1}.sv-mini-fish{width:42px;height:24px;background:#122a3d;display:inline-grid;place-items:center;margin-right:7px;border-radius:2px}.sv-empty{text-align:center!important;color:#6e8498!important;padding:20px!important}.sv-selected{display:flex;gap:10px;align-items:center;padding:4px 10px 6px}.sv-fish-photo{width:76px;height:58px;background:#10283b;display:grid;place-items:center;font-size:32px}.sv-selected>div:last-child{display:flex;flex-direction:column;font-size:10px}.sv-selected strong{font-size:12px}.sv-after{margin:0 9px 7px;background:#dff7e7;color:#15814a;text-align:center;padding:6px;font-size:10px}.sv-add{margin:0 9px 9px;width:calc(100% - 18px);height:40px;border:0;border-radius:3px;background:#087be1;color:#fff;font-weight:700}.sv-invoice{margin-bottom:8px}.sv-invoice .sv-table-wrap{margin:0 8px}.sv-invoice .sv-table-wrap table{min-width:900px}.sv-trash{border:0;background:transparent;color:#ed2424;cursor:pointer}.sv-invoice-total{display:flex;justify-content:flex-end;align-items:center;gap:70px;padding:8px 20px 9px;font-size:11px}.sv-invoice-total>strong{text-align:right;font-size:11px}.sv-invoice-total>strong b{font-size:18px}.sv-packing{margin-bottom:8px}.sv-pack-grid{display:grid;grid-template-columns:minmax(650px,1fr) 300px;align-items:center;gap:20px;padding:0 8px 8px}.sv-pack-grid table{min-width:650px}.sv-pack-input{width:70px;height:24px;border:1px solid #b8cfe1;border-radius:2px;text-align:center;color:#073b82}.sv-pack-total{text-align:center;font-size:11px}.sv-bottom-grid{display:grid;grid-template-columns:.82fr 1.35fr .9fr;gap:7px}.sv-note textarea{width:calc(100% - 18px);height:75px;margin:0 9px 9px;border:1px solid #c2d6e6;border-radius:3px;padding:8px;resize:vertical}.sv-extra{padding-bottom:9px}.sv-extra h3{margin:9px 10px 8px;font-size:11px}.sv-extra>div{display:grid;grid-template-columns:1fr 1fr 1fr 1fr;gap:8px;padding:0 9px}.sv-final{background:#fff;border:1px solid #d8e5ee;border-radius:4px;padding:8px}.sv-grand{display:grid;grid-template-columns:1fr 1fr;align-items:center;background:#eef7fd;padding:6px 9px}.sv-grand small{font-size:9px}.sv-grand>strong{font-size:20px}.sv-grand>span{grid-column:2;grid-row:1/3;font-size:9px;text-align:right}.sv-final-actions{display:grid;grid-template-columns:.75fr 1.45fr;gap:8px;margin-top:8px}.sv-final-actions a,.sv-final-actions button{height:49px;border-radius:3px;display:flex;align-items:center;justify-content:center;text-decoration:none}.sv-final-actions a{border:1px solid #9fc2da;color:#134c80;background:#f7fbfe}.sv-final-actions button{border:0;background:#109744;color:#fff;font-weight:700;flex-direction:column}.sv-final-actions button small{font-size:9px;font-weight:400}.sv-final-actions button:disabled{opacity:.5}.sv-client-card,.sv-box{animation:svin .15s ease-out}@keyframes svin{from{opacity:.7;transform:translateY(2px)}to{opacity:1;transform:none}}
@media(max-width:1250px){.sv-titlebar{grid-template-columns:1fr}.sv-main-grid{grid-template-columns:1fr 1fr}.sv-add-box{grid-column:1/-1}.sv-client-grid{grid-template-columns:repeat(4,1fr)}.sv-bottom-grid{grid-template-columns:1fr}.sv-pack-grid{grid-template-columns:1fr}.sv-client-tools{flex-wrap:wrap}.sv-extra>div{grid-template-columns:1fr 1fr}}@media(max-width:760px){.sv-page{margin-left:-12px;margin-right:-12px}.sv-main-grid{grid-template-columns:1fr}.sv-client-grid{grid-template-columns:1fr 1fr}.sv-client-tools{margin-left:0}.sv-client-search{width:100%}.sv-step-title{flex-wrap:wrap}.sv-mode{width:100%;margin-left:0}.sv-mode a{flex:1}.sv-clock{display:none}.sv-extra>div{grid-template-columns:1fr}.sv-final-actions{grid-template-columns:1fr}}


/* ===== Ajuste de Estoque - fiel ao modelo novos/AjusteEstoque.jpeg ===== */
.adj-page{margin:-18px -22px 0;background:#f3f8fc;min-height:100vh;padding:0 12px 26px;color:#082f6a}.adj-breadcrumb{height:40px;margin:0 -12px;padding:10px 18px;background:#d9effc;border-bottom:1px solid #c7deed;font-size:12px;display:flex;align-items:center;gap:8px}.adj-clock{margin-left:auto}.adj-head{display:grid;grid-template-columns:1fr 520px;gap:24px;align-items:center;padding:12px 10px 14px}.adj-head h1{margin:0;color:#073b86;font-size:28px}.adj-head p{margin:2px 0 0 49px;font-size:12px;color:#174f92}.adj-info{background:#dff2ff;border-radius:5px;display:flex;align-items:center;gap:12px;padding:10px 14px;color:#0b4b95}.adj-info>b{width:31px;height:31px;border-radius:50%;background:#087be1;color:#fff;display:grid;place-items:center;font-size:20px}.adj-info span{display:flex;flex-direction:column;font-size:11px;font-weight:700}.adj-info small{font-weight:400;margin-top:2px}.adj-form{display:grid;grid-template-columns:.8fr .85fr .95fr 1.75fr 1.08fr;gap:6px;margin:0 5px}.adj-step,.adj-aq-card{background:#fff;border:1px solid #dfe8f0;border-radius:4px;padding:9px}.adj-step h3{margin:0 0 8px;display:flex;align-items:center;gap:8px;color:#073b86;font-size:13px}.adj-step h3>b,.adj-history-title h2>b{width:31px;height:31px;border-radius:50%;background:#087be1;color:#fff;display:inline-grid;place-items:center;font-size:14px}.adj-select-icon,.adj-search{height:40px;border:1px solid #c5d7e5;border-radius:3px;display:flex;align-items:center;gap:8px;padding:0 10px;color:#0b4e92}.adj-select-icon select,.adj-search input{border:0!important;outline:0;background:#fff;width:100%;height:38px;color:#153f70}.adj-aq-card{display:flex;align-items:center;gap:13px}.adj-tank{width:116px;height:78px;background:linear-gradient(#c9edf9 0 22%,#61aecf 22% 72%,#87623a 72%);border:4px solid #31536b;display:grid;place-items:center;font-size:33px;box-shadow:inset 0 0 0 3px #def7ff}.adj-aq-card>div:last-child{display:flex;flex-direction:column;font-size:10px;gap:2px}.adj-aq-card strong{font-size:13px}.adj-aq-card small{margin-top:4px;padding:4px 8px;border-radius:12px;background:#def7e8;color:#14824b;width:max-content}.adj-fishes{grid-column:1/4;min-height:330px}.adj-adjust{grid-column:4/5;min-height:330px}.adj-confirm{grid-column:5/6;grid-row:1/3;min-height:485px}.adj-fish-table{border:1px solid #d4e1eb;overflow:auto}.adj-fish-table table{width:100%;border-collapse:collapse}.adj-fish-table th{background:#dcebf5;padding:7px;font-size:10px;text-align:left;color:#123e70}.adj-fish-table td{border-top:1px solid #dfe8ef;padding:6px 8px;font-size:10px}.adj-fish-table td:last-child{text-align:center}.adj-fish-table input{width:17px;height:17px;accent-color:#087be1}.adj-mini-fish{display:inline-grid;place-items:center;width:43px;height:27px;background:#122a3d;border-radius:2px;margin-right:8px}.adj-empty{text-align:center!important;color:#6f8499!important;padding:24px!important}.adj-selected{display:grid;grid-template-columns:76px 1fr 100px;gap:10px;align-items:center;background:#f8fbfd;padding:6px;margin-bottom:8px}.adj-fish-photo{width:76px;height:56px;background:#10283b;display:grid;place-items:center;font-size:31px;border-radius:3px}.adj-selected>div:nth-child(2){display:flex;flex-direction:column;font-size:10px}.adj-selected>div:nth-child(2) strong{font-size:13px}.adj-current{text-align:center;background:#eef6fb;padding:7px}.adj-current small,.adj-current span{display:block;font-size:9px}.adj-current strong{display:block;font-size:22px}.adj-mode-tabs{display:grid;grid-template-columns:1fr 1fr;margin:3px 0 8px}.adj-mode-tabs button{height:36px;border:1px solid #bad0e2;background:#f5f9fc;color:#164d82;font-size:10px}.adj-mode-tabs button.active{background:#e3f2ff;border-color:#2a91db;color:#0754aa;font-weight:700}.adj-delta-area{display:grid;grid-template-columns:1.25fr .8fr;gap:8px}.adj-direction>strong,.adj-qty,.adj-real,.adj-field{font-size:10px;font-weight:700;color:#153f70}.adj-direction label{display:grid;grid-template-columns:16px 14px 1fr;align-items:center;margin:5px 0;font-size:10px}.adj-direction label small{grid-column:3;font-size:9px;font-weight:400}.adj-direction input{accent-color:#087be1}.plus{color:#12a453}.minus{color:#e42733!important}.adj-qty,.adj-real,.adj-field{display:flex;flex-direction:column;gap:4px}.adj-qty input,.adj-real input,.adj-field select,.adj-field textarea{width:100%;border:1px solid #c6d7e4;border-radius:3px;background:#fff;color:#153f70;padding:7px}.adj-qty input,.adj-real input,.adj-field select{height:38px}.adj-field{margin-top:7px}.adj-field em{color:#d92331;font-style:normal}.adj-field textarea{height:63px;resize:vertical}.adj-count{text-align:right;color:#5e7993;font-weight:400}.adj-confirm .adj-conf-row{height:51px;display:flex;align-items:center;justify-content:space-between;padding:0 15px;background:#f5f9fc;font-size:13px}.adj-confirm .adj-conf-row strong{font-size:22px}.adj-confirm .adj-conf-row.total{background:#def6e7;color:#105d35}.adj-confirm>button{width:100%;height:72px;margin-top:18px;border:0;border-radius:4px;background:#0b9b47;color:#fff;font-size:19px;font-weight:700}.adj-confirm>button:disabled{opacity:.5}.adj-confirm>p{text-align:center;font-size:10px;color:#55728f}.adj-warning{display:flex;gap:10px;background:#fff0c9;color:#b96800;padding:13px;margin-top:17px}.adj-warning>b{width:27px;height:27px;border-radius:50%;background:#ef9714;color:#fff;display:grid;place-items:center}.adj-warning span{display:flex;flex-direction:column;font-size:11px}.adj-warning small{margin-top:4px;font-weight:400}.adj-history{background:#fff;border:1px solid #dfe8f0;border-radius:4px;margin:9px 5px 0;padding:8px}.adj-history-title h2{margin:0 0 7px;font-size:14px;display:flex;align-items:center;gap:7px}.adj-history-title h2>b{width:29px;height:29px}.adj-history-filters{display:grid;grid-template-columns:1.3fr 180px 180px 1fr 110px;gap:8px;align-items:end;margin-bottom:7px}.adj-history-filters label{font-size:9px;color:#153f70}.adj-history-filters input,.adj-history-filters select{width:100%;height:34px;border:1px solid #c8d8e4;border-radius:3px;background:#fff;padding:0 8px}.adj-h-search{border:1px solid #c8d8e4;height:34px;display:flex;align-items:center;padding:0 8px}.adj-h-search input{border:0!important;height:32px!important}.adj-history-filters button{height:34px;border:1px solid #178be0;background:#fff;color:#0a63ad;border-radius:3px}.adj-history-table{overflow:auto;border:1px solid #d6e2eb}.adj-history-table table{width:100%;border-collapse:collapse;min-width:1120px}.adj-history-table th{background:#dcebf5;padding:7px;font-size:9px;text-align:left}.adj-history-table td{border-top:1px solid #dfe7ee;padding:6px 8px;font-size:9px}.adj-history-foot{display:flex;justify-content:space-between;align-items:center;padding-top:8px;font-size:9px;color:#56728f}.adj-history-foot div{display:flex;gap:4px}.adj-history-foot button,.adj-history-foot div>b{min-width:28px;height:28px;border:1px solid #d2dfe8;background:#fff;border-radius:3px;display:grid;place-items:center}.adj-history-foot div>b{background:#087be1;color:#fff}.stock-action-tabs a{min-height:64px;padding:12px 18px;background:#fff;border:1px solid #e0e9f0;border-radius:4px;box-shadow:0 1px 5px #15486f10;display:flex;align-items:center;gap:14px;text-decoration:none;color:#073b86}.stock-action-tabs a>b{font-size:27px;color:#087bd8}.stock-action-tabs a span{display:flex;flex-direction:column}.stock-action-tabs a strong{font-size:14px}.stock-action-tabs a small{font-size:11px;color:#2f5884;margin-top:3px}.movement-topbar{display:none!important}@media(max-width:1250px){.adj-head{grid-template-columns:1fr}.adj-form{grid-template-columns:1fr 1fr}.adj-fishes,.adj-adjust,.adj-confirm{grid-column:auto;grid-row:auto}.adj-confirm{grid-column:1/-1}.adj-history-filters{grid-template-columns:1fr 1fr 1fr}}@media(max-width:760px){.adj-page{margin-left:-12px;margin-right:-12px}.adj-form{grid-template-columns:1fr}.adj-fishes,.adj-adjust,.adj-confirm{grid-column:1}.adj-aq-card{grid-column:1}.adj-clock{display:none}.adj-history-filters{grid-template-columns:1fr}.adj-delta-area{grid-template-columns:1fr}}


/* ===== Catálogo Nacional - referência novos/CatalogoN.jpeg ===== */
.catalog-national-model{padding:0 8px 24px!important;background:#fff}
.catalog-national-model .catalog-refbar{height:44px;margin:-6px -8px 8px;padding:0 18px;display:flex;align-items:center;gap:14px;background:linear-gradient(90deg,#e9f6ff,#d9f1ff);border-bottom:1px solid #c5dfef;color:#073b80;font-size:13px}
.catalog-national-model .catalog-ref-home{font-size:22px}.catalog-national-model .catalog-ref-spacer{flex:1}.catalog-national-model .catalog-refbar i{height:22px;width:1px;background:#c9ddea}.catalog-national-model .catalog-bell{position:relative;font-size:20px}.catalog-national-model .catalog-bell b{position:absolute;right:-8px;top:-8px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#e9262a;color:white;font-size:10px}
.catalog-national-model .catalog-pro-head{grid-template-columns:minmax(430px,1.05fr) minmax(580px,1fr);gap:28px;margin:0 0 12px}
.catalog-national-model .catalog-pro-head h1{font-size:36px;letter-spacing:-1px}.catalog-national-model .catalog-pro-head p{font-size:16px;margin-top:2px}
.catalog-national-model .catalog-mode-switch{gap:10px}.catalog-national-model .catalog-mode{height:66px}.catalog-national-model .catalog-mode strong{font-size:18px}.catalog-national-model .catalog-mode.active{background:linear-gradient(180deg,#087de5,#075bcf)}
.catalog-national-model .catalog-toolbar{grid-template-columns:minmax(330px,1.8fr) .58fr .58fr .58fr .68fr .66fr 128px 128px;gap:10px;margin-bottom:10px}.catalog-national-model .catalog-toolbar select,.catalog-national-model .catalog-search{height:39px}.catalog-national-model .catalog-export{height:49px}
.catalog-national-model .catalog-table-head,.catalog-national-model .catalog-line{grid-template-columns:104px 1.32fr 1.52fr 1fr .78fr .82fr .82fr .98fr .78fr .78fr}.catalog-national-model .catalog-table-head{min-height:40px;background:#d7ecfb}.catalog-national-model .catalog-family-title{height:39px;font-size:18px;background:linear-gradient(90deg,#d7ecfb,#cde8fa)}
.catalog-national-model .catalog-family-title em{padding-right:18px}.catalog-national-model .catalog-line{min-height:36px}.catalog-national-model .catalog-photo img,.catalog-national-model .catalog-photo span{width:82px;height:30px}.catalog-national-model .catalog-scientific em{font-size:12px}.catalog-national-model .catalog-price{color:#064fa7}.catalog-national-model .catalog-stock{font-size:14px}.catalog-national-model .catalog-eye{width:48px;height:30px;background:#fff}
.catalog-national-model .catalog-footer{margin-top:26px}.catalog-national-model .catalog-pages button{height:39px;min-width:42px}
@media(max-width:1250px){.catalog-national-model .catalog-pro-head{grid-template-columns:1fr}.catalog-national-model .catalog-toolbar{grid-template-columns:2fr repeat(3,1fr)}.catalog-national-model .catalog-refbar{display:none}}


/* ===== Catálogo Exterior - fiel a novos/catalogoExt.jpeg ===== */
.catalog-exterior-model{padding:0 8px 24px!important;background:#fff}
.catalog-exterior-model .catalog-refbar{height:44px;margin:-6px -8px 8px;padding:0 18px;display:flex;align-items:center;gap:14px;background:linear-gradient(90deg,#e9f6ff,#d9f1ff);border-bottom:1px solid #c5dfef;color:#073b80;font-size:13px}
.catalog-exterior-model .catalog-ref-home{font-size:22px}.catalog-exterior-model .catalog-ref-spacer{flex:1}.catalog-exterior-model .catalog-refbar i{height:22px;width:1px;background:#c9ddea}.catalog-exterior-model .catalog-bell{position:relative;font-size:20px}.catalog-exterior-model .catalog-bell b{position:absolute;right:-8px;top:-8px;width:17px;height:17px;border-radius:50%;display:grid;place-items:center;background:#e9262a;color:#fff;font-size:10px}
.catalog-exterior-model .catalog-pro-head{grid-template-columns:minmax(430px,1.05fr) minmax(580px,1fr);gap:28px;margin:0 0 12px}
.catalog-exterior-model .catalog-pro-head h1{font-size:36px;letter-spacing:-1px}.catalog-exterior-model .catalog-pro-head p{font-size:16px;margin-top:2px}
.catalog-exterior-model .catalog-mode-switch{gap:10px}.catalog-exterior-model .catalog-mode{height:66px}.catalog-exterior-model .catalog-mode strong{font-size:18px}
.catalog-exterior-model .catalog-mode.exterior.active{background:linear-gradient(180deg,#087de5,#075bcf);color:#fff;border-color:#1269cf}
.catalog-exterior-model .catalog-toolbar{grid-template-columns:minmax(330px,1.8fr) .58fr .58fr .58fr .68fr .66fr 128px 128px;gap:10px;margin-bottom:10px}
.catalog-exterior-model .catalog-toolbar select,.catalog-exterior-model .catalog-search{height:39px}.catalog-exterior-model .catalog-export{height:49px}
.catalog-exterior-model .catalog-table-head,.catalog-exterior-model .catalog-line{grid-template-columns:104px 1.32fr 1.52fr 1fr .78fr .82fr .82fr .98fr .78fr .78fr}
.catalog-exterior-model .catalog-table-head{min-height:40px;background:#d7ecfb}
.catalog-exterior-model .catalog-family-title{height:39px;font-size:18px;background:linear-gradient(90deg,#d7ecfb,#cde8fa)}
.catalog-exterior-model .catalog-family-title em{padding-right:18px}
.catalog-exterior-model .catalog-line{min-height:36px}.catalog-exterior-model .catalog-photo img,.catalog-exterior-model .catalog-photo span{width:82px;height:30px}
.catalog-exterior-model .catalog-scientific em{font-size:12px}.catalog-exterior-model .catalog-price{color:#064fa7}.catalog-exterior-model .catalog-stock{font-size:14px}.catalog-exterior-model .catalog-eye{width:48px;height:30px;background:#fff}
.catalog-exterior-model .catalog-footer{margin-top:26px}.catalog-exterior-model .catalog-pages button{height:39px;min-width:42px}
@media(max-width:1250px){.catalog-exterior-model .catalog-pro-head{grid-template-columns:1fr}.catalog-exterior-model .catalog-toolbar{grid-template-columns:2fr repeat(3,1fr)}.catalog-exterior-model .catalog-refbar{display:none}}


/* ===== Faturas por cliente - fiel a novos/FaturaCliente.jpeg ===== */
.fc-page{margin:-8px -4px 0;color:#0c2347}.fc-page-head{display:flex;align-items:flex-start;justify-content:space-between;padding:8px 16px 17px;border-bottom:1px solid #dce5ee;background:#fff}.fc-page-head h1{font-size:31px;line-height:1.05;margin:0;color:#071d45;letter-spacing:-.8px}.fc-page-head p{margin:6px 0 0;color:#60708a;font-size:14px}.fc-new-order{display:inline-flex;align-items:center;gap:8px;background:#0868dd;color:#fff!important;text-decoration:none;border-radius:6px;padding:12px 19px;font-weight:600;box-shadow:0 2px 5px #123b6820}.fc-new-order span{font-size:23px;font-weight:300}.fc-layout{display:grid;grid-template-columns:330px minmax(0,1fr);gap:12px;padding:12px;background:#f8fafc;min-height:750px}.fc-clients-card,.fc-detail-card{background:#fff;border:1px solid #dce4ec;border-radius:7px}.fc-clients-card{display:flex;flex-direction:column;overflow:hidden}.fc-clients-card>h2{font-size:20px;margin:18px 16px 10px;color:#071d45}.fc-client-tabs{margin:0 16px 14px;display:grid;grid-template-columns:1fr 1fr;border:1px solid #cdd8e4;border-radius:6px;overflow:hidden}.fc-client-tabs a{text-decoration:none;text-align:center;padding:10px;color:#223754;background:#fff}.fc-client-tabs a.active{background:#0868e8;color:#fff}.fc-client-search{margin:0 16px 14px;position:relative}.fc-client-search input{width:100%;height:42px;border:1px solid #cbd7e2;border-radius:6px;padding:0 42px 0 12px;font-size:14px}.fc-client-search span{position:absolute;right:13px;top:5px;font-size:26px;color:#3e5575}.fc-client-list{border-top:1px solid #e3e9ef}.fc-client-row{display:grid;grid-template-columns:31px 1fr 28px;gap:9px;align-items:start;padding:14px 16px;border-bottom:1px solid #e5eaf0;text-decoration:none!important;color:#132b50!important;min-height:92px}.fc-client-row:hover,.fc-client-row.active{background:#eef5ff}.fc-client-row.active{box-shadow:inset 3px 0 #0877e8}.fc-flag{font-size:22px}.fc-client-main{display:flex;flex-direction:column;gap:13px}.fc-client-main strong{font-size:14px;font-weight:500}.fc-client-main small{font-size:13px;text-align:right;color:#193a64}.fc-client-row>b{width:24px;height:24px;border-radius:12px;background:#e3effd;color:#0b69da;display:grid;place-items:center;font-size:12px}.fc-no-client{padding:24px;text-align:center;color:#718198}.fc-all-clients{margin:auto 12px 14px;padding:11px;text-align:center;border:1px solid #ccd7e2;border-radius:5px;text-decoration:none!important;color:#173151!important}.fc-detail-card{padding:12px 16px 16px;overflow:hidden}.fc-client-head{display:grid;grid-template-columns:64px 1fr auto;gap:16px;align-items:center;padding:0 8px 13px}.fc-avatar{width:62px;height:62px;border-radius:10px;background:#0968db;color:#fff;display:grid;place-items:center;font-size:29px;font-weight:500}.fc-client-ident>div{display:flex;align-items:center;gap:12px}.fc-client-ident h2{margin:0;font-size:20px}.fc-client-ident span{background:#eaf7ee;color:#268647;border-radius:5px;padding:5px 11px;font-size:12px}.fc-client-ident p{margin:8px 0 0;color:#63738a;font-size:13px}.fc-view-client{border:1px solid #ccd6e0;border-radius:5px;padding:10px 15px;text-decoration:none!important;color:#173151!important}.fc-kpis{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:14px}.fc-kpis article{border:1px solid #dce4ec;border-radius:7px;min-height:92px;display:flex;align-items:center;gap:18px;padding:14px 20px}.fc-kpis i{width:52px;height:52px;border-radius:8px;display:grid;place-items:center;font-style:normal;font-weight:700;font-size:22px}.fc-kpis i.blue{background:#e8f1ff;color:#0967d9}.fc-kpis i.green{background:#e9f8ef;color:#138a49}.fc-kpis i.purple{background:#f3eafe;color:#7b34e9}.fc-kpis article div{display:flex;flex-direction:column;gap:7px}.fc-kpis span{font-size:13px;color:#52647e}.fc-kpis strong{font-size:19px;color:#0b2347}.fc-tabs{display:flex;border-bottom:1px solid #dbe4ed;margin:0 0 13px}.fc-tabs button{border:0;background:transparent;padding:10px 20px;color:#263c5c;cursor:pointer;border-bottom:2px solid transparent}.fc-tabs button.active{color:#086bdc;border-bottom-color:#086bdc}.fc-tabpane{display:none}.fc-tabpane.active{display:block}.fc-section{border:1px solid #dce4ec;border-radius:7px;margin-bottom:14px;overflow:hidden}.fc-section-title{display:flex;align-items:center;justify-content:space-between;padding:14px 16px;border-bottom:1px solid #dce4ec}.fc-section-title h3{margin:0;font-size:16px}.fc-section-title button,.fc-section-foot button{border:1px solid #ccd6e0;background:#fff;border-radius:5px;padding:8px 13px;color:#183451;cursor:pointer}.fc-table-wrap{overflow:auto}.fc-table-wrap table{width:100%;border-collapse:collapse;min-width:760px;font-size:13px}.fc-table-wrap th{background:#fbfcfd;text-align:left;padding:12px 16px;color:#1b3356;font-weight:600}.fc-table-wrap td{border-top:1px solid #e4e9ef;padding:12px 16px;color:#1e385e}.fc-table-wrap a{color:#0569d9;text-decoration:none}.fc-status{display:inline-block;border-radius:4px;padding:5px 10px;font-size:11px;border:1px solid transparent}.fc-status.warn{background:#fff8e9;color:#c67a0a;border-color:#f4dfbc}.fc-status.paid{background:#e9f8ee;color:#188546;border-color:#c2e5cd}.fc-status.pending{background:#fff0f0;color:#d43b3b;border-color:#f1caca}.fc-status.ship{background:#eef5ff;color:#1265c2;border-color:#cedff6}.fc-empty{text-align:center!important;color:#79889b!important;padding:24px!important}.fc-section-foot{text-align:right;padding:11px 15px}.fc-section-foot button{border:0;color:#0869d9}.fc-history{padding:0 15px}.fc-history>div{display:grid;grid-template-columns:145px 1fr auto;gap:15px;padding:14px 4px;border-bottom:1px solid #e5eaf0;font-size:13px}.fc-history span{color:#5d6e84}.fc-history strong{font-weight:600}.fc-empty-client{padding:100px 20px;text-align:center;color:#6e7d91}.fc-empty-client h2{color:#173151}@media(max-width:1100px){.fc-layout{grid-template-columns:280px 1fr}.fc-kpis{grid-template-columns:1fr}.fc-client-head{grid-template-columns:60px 1fr}.fc-view-client{grid-column:2}}@media(max-width:760px){.fc-layout{grid-template-columns:1fr}.fc-clients-card{max-height:420px}.fc-page-head{flex-direction:column;gap:12px}.fc-kpis{grid-template-columns:1fr}.fc-tabs{overflow:auto}.fc-tabs button{white-space:nowrap}.fc-client-head{grid-template-columns:55px 1fr}.fc-view-client{grid-column:1/3;text-align:center}}

/* ===== Novo Pedido - fiel a novos/Novopedido.jpeg ===== */
.new-order-topbar{display:none!important}.np-page{background:#eef7fc;margin:-8px -8px 20px;padding:0 14px 18px;color:#0b3d7a}.np-page-head{height:72px;display:flex;align-items:center;justify-content:space-between;padding:0 6px;border-bottom:1px solid #c8deee}.np-page-head h1{margin:0;font-size:31px;color:#0b3d84}.np-page-head p{margin:2px 0 0;font-size:13px;color:#345f8a}.np-head-actions{display:flex;gap:10px}.np-head-actions a{height:42px;display:flex;align-items:center;padding:0 18px;border:1px solid #2682d8;border-radius:3px;background:#fff;color:#0b4387;text-decoration:none;font-weight:700}.np-head-actions a.active{background:#074da4;color:#fff;border-color:#074da4}.np-card{background:#fff;border:1px solid #cfe0ec;border-radius:5px;padding:16px;box-shadow:0 1px 4px #0b4b7a12}.np-title-row{display:grid;grid-template-columns:1fr 520px;align-items:start;margin-bottom:10px}.np-title-row h2{margin:6px 0 0;font-size:29px;color:#073f88}.np-order-kind>b{display:block;text-align:center;margin-bottom:5px}.np-order-kind>div{display:grid;grid-template-columns:1fr 1fr;border:2px solid #f14a3a;border-radius:9px;padding:5px}.np-order-kind button{height:44px;border:1px solid #a9c7df;background:#fff;color:#063d82;font-size:16px;font-weight:800}.np-order-kind button.active{background:#0876da;color:#fff;border-color:#0876da}.np-client-grid{display:grid;grid-template-columns:1fr 1.5fr 1.55fr;gap:10px 14px}.np-client-grid label{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:800}.np-client-grid label.span-2{grid-column:1/3}.np-client-grid em{color:#e73333}.np-client-grid input,.np-client-grid select{height:38px;border:1px solid #bed3e3;border-radius:3px;padding:0 10px;color:#174a7d;background:#fff}.np-search{position:relative}.np-search input{width:100%;padding-right:34px}.np-search span{position:absolute;right:10px;top:5px;font-size:22px}.np-section-title{font-size:18px;margin:17px 0 8px}.np-items-wrap{border:1px solid #c8ddeb;border-radius:4px;padding:0 0 8px;overflow:auto}.np-items{width:100%;border-collapse:collapse;min-width:1120px}.np-items th{height:36px;background:#dcecf8;border-right:1px solid #c7dceb;color:#0b3d7a;font-size:11px}.np-items td{padding:5px 4px;border-right:1px solid #dce7ef}.np-items input,.np-items select{width:100%;height:34px;border:1px solid #c5d8e7;border-radius:3px;padding:0 6px;font-size:12px}.np-items th:nth-child(1),.np-items th:nth-child(2){width:72px}.np-items th:nth-child(3){width:55px}.np-items th:nth-child(4){width:145px}.np-items th:nth-child(5){width:150px}.np-items th:nth-child(6){width:82px}.np-items th:nth-child(7){width:95px}.np-items th:nth-child(8){width:120px}.np-items th:nth-child(9){width:80px}.np-items th:nth-child(10){width:78px}.np-items th:nth-child(11){width:90px}.np-items th:nth-child(12){width:40px}.np-add-fish{margin:8px 0 0 8px;height:39px;padding:0 20px;background:#0874d4;color:#fff;border:0;border-radius:3px;font-weight:800}.np-trash{border:0;background:transparent;color:#e42323;font-size:20px;cursor:pointer}.np-bottom-grid{display:grid;grid-template-columns:1.05fr 1.13fr .82fr;gap:12px;margin-top:12px}.np-mini-card{border:1px solid #c8ddeb;border-radius:4px;overflow:hidden;background:#fff}.np-mini-card h3{margin:0;background:#dceef9;padding:8px 12px;font-size:17px}.np-payment-grid{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:13px;padding:12px}.np-payment-grid label{font-size:11px;font-weight:700;display:flex;flex-direction:column;gap:6px}.np-payment-grid input,.np-payment-grid select{height:36px;border:1px solid #c6d9e7;border-radius:3px;padding:0 8px}.np-yesno{display:grid;grid-template-columns:1fr 1fr}.np-yesno button{height:36px;border:1px solid #c9dae7;background:#fff;color:#0c4381}.np-yesno button.active{background:#0b965b;color:#fff}.np-money{display:flex}.np-money b{width:42px;height:36px;display:grid;place-items:center;border:1px solid #c6d9e7;border-right:0}.np-money input{flex:1}.np-pay-status{height:36px;display:grid;place-items:center;background:#fff0c8;color:#aa6e00;border-radius:3px}.np-costs h3{display:flex;justify-content:space-between}.np-costs h3 button{border:0;background:transparent;color:#075ab7;font-weight:800}.np-costs table{width:100%;border-collapse:collapse;font-size:11px}.np-costs th{background:#eaf4fb;padding:6px}.np-costs td{border-top:1px solid #dbe7ef;padding:4px}.np-costs input{width:100%;height:28px;border:1px solid #d3e0ea;border-radius:2px;padding:0 5px}.np-summary dl{margin:0;padding:7px 12px}.np-summary dl div{display:flex;justify-content:space-between;padding:4px 0;font-size:12px}.np-summary .total{font-weight:900;font-size:14px}.np-summary .advance{color:#0b965b;font-weight:800}.np-summary .balance{color:#e32020;font-weight:900;font-size:14px}.np-preview{margin-top:12px;background:#dceef9;border:1px solid #c8ddeb;border-radius:4px;display:flex;align-items:center;justify-content:space-between;padding:7px 10px}.np-preview>div{display:flex;gap:10px}.np-preview button{height:39px;border:0;border-radius:3px;background:#0874d4;color:#fff;padding:0 18px;font-weight:800}.np-preview button.red{background:#f04444}.np-preview button.green{background:#078d52}.np-submit{width:100%;height:49px;margin-top:12px;border:0;border-radius:3px;background:#076fc9;color:#fff;font-size:18px;font-weight:800}.orders-page-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
@media(max-width:1200px){.np-title-row{grid-template-columns:1fr}.np-order-kind{margin-top:12px}.np-bottom-grid{grid-template-columns:1fr}.np-client-grid{grid-template-columns:1fr 1fr}.np-client-grid label.span-2{grid-column:1/3}.np-page-head{height:auto;padding:12px 6px;gap:12px}.np-head-actions{flex-wrap:wrap}}
@media(max-width:720px){.np-client-grid{grid-template-columns:1fr}.np-client-grid label.span-2{grid-column:1}.np-order-kind>div{grid-template-columns:1fr}.np-preview,.np-page-head{align-items:flex-start;flex-direction:column}.np-preview>div{flex-wrap:wrap}.np-head-actions a{height:36px;padding:0 10px}}

/* ===== Novo Pedido compacto e fiel a novos/NovoPedido.jpeg - rev.2 ===== */
.new-order-topbar{display:none!important}
.np-page{margin:-8px -8px 10px!important;padding:0 10px 10px!important;background:#eef7fc!important}
.np-page-head{height:58px!important;padding:0 5px!important}
.np-page-head h1{font-size:27px!important;line-height:1!important}.np-page-head p{font-size:11px!important;margin-top:3px!important}
.np-head-actions{gap:7px!important}.np-head-actions a{height:35px!important;padding:0 13px!important;font-size:12px!important}
.np-card{padding:10px 12px 9px!important;border-radius:4px!important}
.np-title-row{grid-template-columns:1fr 510px!important;margin-bottom:7px!important;min-height:48px!important}.np-title-row h2{font-size:25px!important;margin:4px 0 0!important}
.np-order-kind>b{font-size:12px!important;margin-bottom:2px!important}.np-order-kind>div{padding:3px!important;border-radius:7px!important}.np-order-kind button{height:37px!important;font-size:14px!important}
.np-client-grid{display:grid!important;grid-template-columns:1fr 1fr 1fr 1fr!important;gap:7px 12px!important}
.np-client-grid label{gap:2px!important;font-size:11px!important}.np-client-grid input,.np-client-grid select{height:31px!important;padding:0 8px!important;font-size:12px!important}
.np-client-name{grid-column:1/3!important}.np-client-document{grid-column:3/5!important}.np-client-phone{grid-column:1/2!important}.np-client-email{grid-column:2/3!important}.np-client-address{grid-column:3/5!important}.np-client-contact{grid-column:1/2!important}.np-client-commercial{grid-column:2/3!important}.np-client-country{grid-column:3/4!important}.np-client-note{grid-column:4/5!important}
.np-search span{top:1px!important;font-size:20px!important}
.np-section-title{font-size:16px!important;margin:10px 0 5px!important}
.np-items-wrap{padding-bottom:5px!important}.np-items{min-width:1050px!important}.np-items th{height:29px!important;font-size:10px!important;padding:0 2px!important}.np-items td{padding:3px 3px!important}.np-items input,.np-items select{height:28px!important;font-size:11px!important;padding:0 4px!important}
.np-items th:nth-child(1),.np-items th:nth-child(2){width:65px!important}.np-items th:nth-child(3){width:48px!important}.np-items th:nth-child(4){width:130px!important}.np-items th:nth-child(5){width:135px!important}.np-items th:nth-child(6){width:72px!important}.np-items th:nth-child(7){width:88px!important}.np-items th:nth-child(8){width:110px!important}.np-items th:nth-child(9){width:68px!important}.np-items th:nth-child(10){width:68px!important}.np-items th:nth-child(11){width:82px!important}
.np-add-fish{height:32px!important;margin:5px 0 0 6px!important;padding:0 16px!important;font-size:12px!important}
.np-bottom-grid{grid-template-columns:1.05fr 1.12fr .82fr!important;gap:9px!important;margin-top:8px!important}.np-mini-card h3{padding:6px 9px!important;font-size:14px!important}
.np-payment-grid{gap:7px 9px!important;padding:8px!important}.np-payment-grid label{font-size:9.5px!important;gap:3px!important}.np-payment-grid input,.np-payment-grid select,.np-yesno button,.np-money b{height:30px!important;font-size:11px!important}.np-pay-status{height:30px!important;font-size:10px!important}
.np-costs h3 button{font-size:10px!important}.np-costs table{font-size:9.5px!important}.np-costs th{padding:4px 3px!important}.np-costs td{padding:2px 3px!important}.np-costs input{height:23px!important;font-size:9.5px!important}.np-trash{font-size:16px!important}
.np-summary dl{padding:4px 9px!important}.np-summary dl div{padding:2px 0!important;font-size:10.5px!important;line-height:1.15!important}.np-summary .total,.np-summary .balance{font-size:12px!important}
.np-preview{margin-top:8px!important;padding:5px 8px!important;min-height:38px!important;font-size:12px!important}.np-preview>div{gap:7px!important}.np-preview button{height:32px!important;padding:0 13px!important;font-size:11px!important}
.np-submit{height:39px!important;margin-top:8px!important;font-size:15px!important}
@media(max-width:1200px){.np-title-row{grid-template-columns:1fr!important}.np-client-grid{grid-template-columns:1fr 1fr!important}.np-client-name,.np-client-document,.np-client-address{grid-column:1/3!important}.np-client-phone,.np-client-contact,.np-client-country{grid-column:1/2!important}.np-client-email,.np-client-commercial,.np-client-note{grid-column:2/3!important}.np-bottom-grid{grid-template-columns:1fr!important}}
@media(max-width:720px){.np-client-grid{grid-template-columns:1fr!important}.np-client-grid label{grid-column:1!important}}

/* Cadastros — compacto, limpo e intuitivo */
body:has(#cadastros.cadastros-compactos) .page-header{margin-bottom:9px}
body:has(#cadastros.cadastros-compactos) .page-header h1{font-size:25px;line-height:1.1}
body:has(#cadastros.cadastros-compactos) .page-header p{margin-top:2px;font-size:12px}
#cadastros.cadastros-compactos{display:grid;gap:9px}
#cadastros.cadastros-compactos .panel{margin:0;padding:11px 13px;border-radius:7px;box-shadow:0 1px 4px rgba(15,56,92,.08)}
#cadastros.cadastros-compactos .panel h2{font-size:16px;margin:0 0 7px;color:#073e82}
#cadastros.cadastros-compactos .panel h3{font-size:13px;margin:7px 0 5px;color:#174d7f}
#cadastros.cadastros-compactos .grid-form{gap:7px 9px}
#cadastros.cadastros-compactos label{gap:3px;font-size:11px;font-weight:700;color:#355775}
#cadastros.cadastros-compactos input,#cadastros.cadastros-compactos select,#cadastros.cadastros-compactos textarea{min-height:33px;padding:5px 8px;border-radius:5px;font-size:12px}
#cadastros.cadastros-compactos textarea{min-height:54px}
#cadastros.cadastros-compactos button{min-height:32px;padding:5px 11px;border-radius:5px}
#cadastros.cadastros-compactos .primary{font-weight:700}
#cadastros.cadastros-compactos .table-wrap{margin-top:7px;max-height:315px;overflow:auto;border:1px solid #dce6ef;border-radius:6px}
#cadastros.cadastros-compactos table{font-size:11px}
#cadastros.cadastros-compactos th{position:sticky;top:0;z-index:2;padding:6px 7px;background:#e8f3fb;color:#174775}
#cadastros.cadastros-compactos td{padding:5px 7px}
#cadastros.cadastros-compactos .actions{gap:4px}
#cadastros.cadastros-compactos .actions a,#cadastros.cadastros-compactos .actions button{min-height:27px;padding:3px 7px;font-size:10px}
#cadastros.cadastros-compactos .tabs,#cadastros.cadastros-compactos .tab-list{gap:4px;margin-bottom:7px;padding:4px;background:#eef6fc;border-radius:7px}
#cadastros.cadastros-compactos .tabs a,#cadastros.cadastros-compactos .tab-list a,#cadastros.cadastros-compactos .tab-list button{min-height:30px;padding:5px 10px;border-radius:5px;font-size:11px;font-weight:700}
#cadastros.cadastros-compactos .form-actions{margin-top:7px;gap:6px}
#cadastros.cadastros-compactos small{font-size:10px;line-height:1.2;color:#71869a}
#cadastros.cadastros-compactos hr{margin:8px 0;border-color:#e4edf4}
@media(min-width:1100px){#cadastros.cadastros-compactos .grid-form{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(max-width:760px){#cadastros.cadastros-compactos .panel{padding:9px}#cadastros.cadastros-compactos .grid-form{grid-template-columns:1fr}#cadastros.cadastros-compactos .table-wrap{max-height:none}}


/* ===== Painel compacto e intuitivo ===== */
body:has(#painel.painel-compacto) .page-header,
body:has(#dashboard.painel-compacto) .page-header{
  margin-bottom:10px;
}
body:has(#painel.painel-compacto) .page-header h1,
body:has(#dashboard.painel-compacto) .page-header h1{
  font-size:25px;
  line-height:1.08;
  margin-bottom:2px;
}
body:has(#painel.painel-compacto) .page-header p,
body:has(#dashboard.painel-compacto) .page-header p{
  font-size:12px;
  margin-top:2px;
  color:#6d8297;
}

#painel.painel-compacto,
#dashboard.painel-compacto{
  display:grid;
  gap:10px;
}

#painel.painel-compacto .panel,
#dashboard.painel-compacto .panel{
  margin:0;
  padding:11px 13px;
  border-radius:8px;
  box-shadow:0 1px 4px rgba(15,56,92,.07);
}

#painel.painel-compacto h2,
#dashboard.painel-compacto h2{
  font-size:16px;
  line-height:1.15;
  margin:0 0 7px;
  color:#073e82;
}

#painel.painel-compacto h3,
#dashboard.painel-compacto h3{
  font-size:13px;
  margin:0 0 5px;
  color:#315b80;
}

/* Cards de indicadores */
#painel.painel-compacto .metrics,
#painel.painel-compacto .stats,
#painel.painel-compacto .kpis,
#painel.painel-compacto .summary-cards,
#dashboard.painel-compacto .metrics,
#dashboard.painel-compacto .stats,
#dashboard.painel-compacto .kpis,
#dashboard.painel-compacto .summary-cards{
  gap:8px !important;
}

#painel.painel-compacto .metric,
#painel.painel-compacto .stat,
#painel.painel-compacto .kpi,
#painel.painel-compacto .summary-card,
#dashboard.painel-compacto .metric,
#dashboard.painel-compacto .stat,
#dashboard.painel-compacto .kpi,
#dashboard.painel-compacto .summary-card{
  min-height:82px !important;
  padding:10px 12px !important;
  border-radius:8px !important;
}

#painel.painel-compacto .metric strong,
#painel.painel-compacto .stat strong,
#painel.painel-compacto .kpi strong,
#painel.painel-compacto .summary-card strong,
#dashboard.painel-compacto .metric strong,
#dashboard.painel-compacto .stat strong,
#dashboard.painel-compacto .kpi strong,
#dashboard.painel-compacto .summary-card strong{
  font-size:22px !important;
  line-height:1.05;
}

#painel.painel-compacto .metric span,
#painel.painel-compacto .stat span,
#painel.painel-compacto .kpi span,
#painel.painel-compacto .summary-card span,
#dashboard.painel-compacto .metric span,
#dashboard.painel-compacto .stat span,
#dashboard.painel-compacto .kpi span,
#dashboard.painel-compacto .summary-card span{
  font-size:11px !important;
}

/* Formulários, filtros e ações */
#painel.painel-compacto .grid-form,
#dashboard.painel-compacto .grid-form{
  gap:7px 9px;
}
#painel.painel-compacto label,
#dashboard.painel-compacto label{
  gap:3px;
  font-size:11px;
  font-weight:700;
}
#painel.painel-compacto input,
#painel.painel-compacto select,
#painel.painel-compacto textarea,
#dashboard.painel-compacto input,
#dashboard.painel-compacto select,
#dashboard.painel-compacto textarea{
  min-height:32px;
  padding:5px 8px;
  border-radius:5px;
  font-size:12px;
}
#painel.painel-compacto button,
#painel.painel-compacto .button,
#dashboard.painel-compacto button,
#dashboard.painel-compacto .button{
  min-height:31px;
  padding:5px 10px;
  border-radius:5px;
  font-size:11px;
  font-weight:700;
}

/* Tabelas mais densas e legíveis */
#painel.painel-compacto .table-wrap,
#dashboard.painel-compacto .table-wrap{
  margin-top:6px;
  max-height:300px;
  overflow:auto;
  border:1px solid #dde7ef;
  border-radius:6px;
}
#painel.painel-compacto table,
#dashboard.painel-compacto table{
  font-size:11px;
}
#painel.painel-compacto th,
#dashboard.painel-compacto th{
  position:sticky;
  top:0;
  z-index:2;
  padding:6px 7px;
  background:#e8f3fb;
  color:#174775;
}
#painel.painel-compacto td,
#dashboard.painel-compacto td{
  padding:5px 7px;
}

/* Gráficos e blocos visuais */
#painel.painel-compacto canvas,
#dashboard.painel-compacto canvas{
  max-height:220px !important;
}
#painel.painel-compacto .chart,
#painel.painel-compacto .chart-card,
#dashboard.painel-compacto .chart,
#dashboard.painel-compacto .chart-card{
  min-height:220px !important;
  padding:10px !important;
}
#painel.painel-compacto .dashboard-grid,
#dashboard.painel-compacto .dashboard-grid{
  gap:10px !important;
}

/* Menos espaço vertical entre blocos */
#painel.painel-compacto section + section,
#dashboard.painel-compacto section + section{
  margin-top:0 !important;
}
#painel.painel-compacto p,
#dashboard.painel-compacto p{
  margin-top:3px;
  margin-bottom:5px;
  line-height:1.3;
}
#painel.painel-compacto small,
#dashboard.painel-compacto small{
  font-size:10px;
}

/* Desktop: melhor aproveitamento horizontal */
@media(min-width:1100px){
  #painel.painel-compacto .metrics,
  #painel.painel-compacto .stats,
  #painel.painel-compacto .kpis,
  #painel.painel-compacto .summary-cards,
  #dashboard.painel-compacto .metrics,
  #dashboard.painel-compacto .stats,
  #dashboard.painel-compacto .kpis,
  #dashboard.painel-compacto .summary-cards{
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  }
}

/* Mobile */
@media(max-width:760px){
  #painel.painel-compacto .panel,
  #dashboard.painel-compacto .panel{
    padding:9px;
  }
  #painel.painel-compacto .metrics,
  #painel.painel-compacto .stats,
  #painel.painel-compacto .kpis,
  #painel.painel-compacto .summary-cards,
  #dashboard.painel-compacto .metrics,
  #dashboard.painel-compacto .stats,
  #dashboard.painel-compacto .kpis,
  #dashboard.painel-compacto .summary-cards{
    grid-template-columns:1fr 1fr !important;
  }
  #painel.painel-compacto .table-wrap,
  #dashboard.painel-compacto .table-wrap{
    max-height:none;
  }
}


/* ===== Movimentação — compacta, intuitiva e profissional ===== */
.mv-page{
  padding:0 10px 16px !important;
  background:#f4f9fd !important;
}
.mv-breadcrumb{
  height:32px !important;
  margin:0 -10px !important;
  padding:7px 13px !important;
  gap:6px !important;
  font-size:10px !important;
}
.mv-breadcrumb .mv-clock{font-size:9.5px !important}

.mv-head{
  grid-template-columns:1fr 430px !important;
  gap:14px !important;
  padding:8px 4px 9px !important;
}
.mv-head h1{
  font-size:22px !important;
  line-height:1.04 !important;
}
.mv-head h2{
  margin:2px 0 !important;
  font-size:13px !important;
}
.mv-head p{
  margin-top:2px !important;
  font-size:9.5px !important;
  line-height:1.2;
}
.mv-info{
  padding:7px 10px !important;
  gap:8px !important;
  border-radius:5px !important;
}
.mv-info>b{
  width:24px !important;
  height:24px !important;
  font-size:15px !important;
}
.mv-info span{font-size:9.5px !important}
.mv-info small{font-size:8.5px !important}

.mv-tabs{
  gap:6px !important;
  margin:0 2px 7px !important;
}
.mv-tabs a{
  min-height:46px !important;
  padding:7px 10px !important;
  gap:8px !important;
  border-radius:5px !important;
}
.mv-tabs a>b{font-size:20px !important}
.mv-tabs strong{
  font-size:10.5px !important;
  line-height:1.05;
}
.mv-tabs small{
  margin-top:1px !important;
  font-size:8.5px !important;
  line-height:1.05;
}

.mv-steps{
  grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr !important;
  margin:0 2px 7px !important;
  border-radius:5px !important;
}
.mv-steps>div{
  height:40px !important;
  padding:5px 8px !important;
  gap:6px !important;
}
.mv-steps>div>b{
  width:24px !important;
  height:24px !important;
  font-size:11px !important;
}
.mv-steps strong{font-size:9.5px !important}
.mv-steps small{font-size:8px !important}
.mv-steps>i{font-size:20px !important}

.mv-transfer{
  grid-template-columns:.92fr 1.42fr .48fr .9fr !important;
  gap:6px !important;
  margin:0 2px !important;
}
.mv-panel{
  padding:7px !important;
  border-radius:5px !important;
}
.mv-panel h3,.mv-confirm h3{
  gap:6px !important;
  font-size:11px !important;
}
.mv-panel h3>b,.mv-confirm h3>b{
  width:23px !important;
  height:23px !important;
  font-size:11px !important;
}
.mv-panel>p,.mv-confirm>p{
  margin:1px 0 4px 29px !important;
  font-size:8.5px !important;
  line-height:1.15;
}

.mv-select-search{
  height:31px !important;
  margin:5px 0 !important;
}
.mv-select-search>span{
  font-size:16px !important;
  padding:0 7px !important;
}
.mv-select-search select{
  height:29px !important;
  font-size:10px !important;
}

.mv-aq-card{
  gap:8px !important;
  padding:6px 3px !important;
}
.mv-aq-picture{
  width:88px !important;
  height:60px !important;
  border-width:4px !important;
  font-size:27px !important;
}
.mv-aq-card>div:last-child{
  gap:1px !important;
  font-size:9px !important;
}
.mv-aq-card strong{font-size:10.5px !important}
.mv-aq-card small{
  margin-top:2px !important;
  padding:2px 6px !important;
  font-size:8px !important;
}

.mv-fish-table{margin-top:4px !important}
.mv-fish-table table{min-width:390px !important}
.mv-fish-table th{
  padding:5px 6px !important;
  font-size:8.5px !important;
}
.mv-fish-table td{
  padding:4px 6px !important;
  font-size:8.5px !important;
}
.mv-fish-thumb{
  width:34px !important;
  height:20px !important;
  margin-right:5px !important;
}
.mv-fish-table input[type=radio]{
  width:14px !important;
  height:14px !important;
}
.mv-empty{padding:14px !important}

.mv-qty .mv-available{
  margin:10px 3px 7px !important;
  font-size:9px !important;
}
.mv-qty .mv-available strong{font-size:11px !important}
.mv-qty input{
  height:32px !important;
  padding:0 7px !important;
  font-size:11px !important;
}

.mv-confirm{
  padding:7px 8px !important;
  margin-top:0 !important;
}
.mv-confirm-grid{
  grid-template-columns:1fr 48px 1fr 215px !important;
  gap:8px !important;
}
.mv-confirm-card{
  min-height:64px !important;
  padding:7px 10px !important;
  gap:9px !important;
}
.mv-mini-tank{
  width:46px !important;
  height:44px !important;
  border-width:3px !important;
  font-size:24px !important;
}
.mv-confirm-card>div:last-child{
  gap:1px !important;
  font-size:8.5px !important;
}
.mv-confirm-card strong{font-size:10.5px !important}
.mv-big-arrow{font-size:30px !important}
.mv-submit{
  height:38px !important;
  font-size:11px !important;
}

.mv-history{
  padding:7px 8px 8px !important;
  margin:7px 2px 0 !important;
}
.mv-history h2{font-size:14px !important}
.mv-history p{
  margin:1px 0 5px !important;
  font-size:8.5px !important;
}
.mv-history-head>button{
  height:28px !important;
  padding:0 11px !important;
  font-size:9.5px !important;
}
.mv-history-filters{
  grid-template-columns:140px 140px 1fr 78px !important;
  gap:6px !important;
  padding:6px !important;
  margin-bottom:5px !important;
}
.mv-history-filters label{font-size:8.5px !important}
.mv-history-filters input{
  height:28px !important;
  font-size:9px !important;
}
.mv-history-filters button{font-size:9px !important}

.mv-history-table{
  max-height:245px;
  overflow:auto !important;
}
.mv-history-table table{min-width:900px !important}
.mv-history-table th{
  position:sticky;
  top:0;
  z-index:2;
  padding:5px 6px !important;
  font-size:8.5px !important;
}
.mv-history-table td{
  padding:4px 6px !important;
  font-size:8.5px !important;
}
.mv-history-foot{
  padding-top:6px !important;
  font-size:8.5px !important;
}
.mv-history-foot button,.mv-history-foot div>b{
  min-width:24px !important;
  height:24px !important;
  padding:0 6px !important;
  font-size:8.5px !important;
}

@media(max-width:1150px){
  .mv-head{grid-template-columns:1fr !important}
  .mv-tabs{grid-template-columns:1fr 1fr !important}
  .mv-transfer{grid-template-columns:1fr 1fr !important}
  .mv-confirm-grid{grid-template-columns:1fr !important}
  .mv-big-arrow{transform:rotate(90deg)}
}
@media(max-width:720px){
  .mv-page{margin-left:-12px !important;margin-right:-12px !important}
  .mv-tabs,.mv-transfer{grid-template-columns:1fr !important}
  .mv-steps{display:none !important}
  .mv-clock{display:none !important}
  .mv-history-filters{grid-template-columns:1fr !important}
  .mv-aq-picture{width:76px !important}
  .mv-head h1{font-size:20px !important}
}


/* ===== Estoque — compacto, intuitivo e profissional ===== */
#estoque.stock-move-screen{padding:0 12px 16px!important;background:#f4f9fd}
#estoque .stock-breadcrumb{height:34px!important;margin:0 -12px!important;padding:8px 14px!important;font-size:10.5px!important;display:flex;align-items:center}
#estoque .stock-page-head{padding:9px 2px 8px!important;gap:12px!important}
#estoque .stock-page-head h1{margin:0 0 2px!important;font-size:22px!important;line-height:1.05}
#estoque .stock-page-head p{font-size:10.5px!important;line-height:1.25}
#estoque .stock-info{min-width:390px!important;max-width:560px;padding:7px 10px!important;gap:8px!important;font-size:10px!important;line-height:1.2;border-radius:5px!important}
#estoque .stock-info>span{width:24px!important;height:24px!important;min-width:24px;font-size:15px!important}
#estoque .stock-action-tabs{gap:7px!important;margin:0 0 8px!important}
#estoque .stock-action-tabs button,#estoque .stock-action-tabs a{min-height:48px!important;padding:7px 10px!important;gap:8px!important;border-radius:5px!important}
#estoque .stock-action-tabs b,#estoque .stock-action-tabs a>b{font-size:20px!important}
#estoque .stock-action-tabs strong,#estoque .stock-action-tabs a strong{font-size:11px!important;line-height:1.1}
#estoque .stock-action-tabs small,#estoque .stock-action-tabs a small{font-size:8.8px!important;line-height:1.1;margin-top:2px!important}
#estoque .stock-transfer-card,#estoque .stock-history-card{padding:9px 10px 10px!important;margin-bottom:8px!important;border-radius:6px!important;box-shadow:0 1px 4px rgba(16,67,110,.05)!important}
#estoque .stock-transfer-card h2,#estoque .stock-history-card h2{font-size:15px!important;line-height:1.1;margin:0 0 2px!important}
#estoque .stock-transfer-card>p,#estoque .stock-history-card>p{font-size:9.5px!important;line-height:1.2}
#estoque .stock-transfer-form{grid-template-columns:1.5fr .8fr 1fr 1fr .55fr!important;gap:7px!important;margin-top:7px!important}
#estoque .stock-transfer-form label,#estoque .stock-filters label{gap:3px!important;font-size:9.5px!important;line-height:1.1}
#estoque .stock-transfer-form input,#estoque .stock-transfer-form select,#estoque .stock-filters input,#estoque .stock-filters select{height:30px!important;min-height:30px!important;padding:0 7px!important;font-size:10px!important;border-radius:4px!important}
#estoque .stock-transfer-visual{grid-template-columns:1fr 30px 1fr 205px!important;gap:8px!important;margin-top:1px!important}
#estoque .stock-tank{min-height:70px!important;padding:7px 10px!important;gap:9px!important;border-radius:5px!important}
#estoque .stock-tank .tank-icon{width:48px!important;height:48px!important;min-width:48px;font-size:29px!important}
#estoque .stock-tank small{font-size:8.5px!important}
#estoque .stock-tank strong{font-size:11px!important;line-height:1.1}
#estoque .stock-tank span:not(.tank-icon){font-size:8.8px!important;line-height:1.12}
#estoque .stock-arrow{font-size:27px!important}
#estoque .stock-register-btn{height:42px!important;font-size:11px!important;padding:0 8px!important}
#estoque .stock-filters{grid-template-columns:.72fr .72fr .95fr .85fr 1.15fr 90px!important;gap:6px!important;margin:7px 0!important}
#estoque .stock-filters button{height:30px!important;font-size:10px!important;border-radius:4px!important}
#estoque .stock-history-table{max-height:280px;overflow:auto!important;border-radius:5px!important}
#estoque .stock-history-table table{min-width:840px!important}
#estoque .stock-history-table th{position:sticky;top:0;z-index:2;padding:6px 7px!important;font-size:9px!important;white-space:nowrap}
#estoque .stock-history-table td{padding:5px 7px!important;font-size:9px!important;line-height:1.15}
#estoque .stock-history-foot{padding-top:7px!important;font-size:9px!important}
#estoque .stock-history-foot button,#estoque .stock-history-foot b{min-height:25px!important;padding:4px 8px!important;font-size:9px!important}
@media(max-width:1100px){
 #estoque .stock-info{min-width:0!important;width:100%!important}
 #estoque .stock-transfer-form{grid-template-columns:1fr 1fr!important}
 #estoque .stock-transfer-visual{grid-column:1/-1!important;grid-template-columns:1fr 26px 1fr!important}
 #estoque .stock-register-btn{grid-column:1/-1}
 #estoque .stock-filters{grid-template-columns:1fr 1fr 1fr!important}
}
@media(max-width:680px){
 #estoque.stock-move-screen{margin-left:-12px!important;margin-right:-12px!important;padding-left:8px!important;padding-right:8px!important}
 #estoque .stock-action-tabs{grid-template-columns:1fr 1fr!important}
 #estoque .stock-transfer-form,#estoque .stock-filters{grid-template-columns:1fr!important}
 #estoque .stock-transfer-visual{grid-template-columns:1fr!important}
 #estoque .stock-arrow{transform:rotate(90deg)}
}


/* ===== Saída por Venda — compacta, intuitiva e profissional ===== */
.sv-page{
  padding:0 10px 16px !important;
  background:#f4f9fd !important;
}
.sv-breadcrumb{
  min-height:32px !important;
  margin:0 -10px !important;
  padding:7px 13px !important;
  font-size:10px !important;
  gap:6px !important;
}
.sv-titlebar{
  padding:8px 3px 9px !important;
  gap:12px !important;
  align-items:center !important;
}
.sv-titlebar h1{
  font-size:22px !important;
  line-height:1.05 !important;
  margin:0 !important;
}
.sv-titlebar p{
  margin-top:2px !important;
  font-size:9.5px !important;
  line-height:1.2;
}
.sv-titlebar .button,
.sv-titlebar button{
  min-height:31px !important;
  height:31px !important;
  padding:0 10px !important;
  font-size:10px !important;
  border-radius:4px !important;
}

.sv-client-card,
.sv-invoice,
.sv-packing,
.sv-final{
  padding:8px 10px !important;
  border-radius:6px !important;
  box-shadow:0 1px 4px rgba(16,67,110,.055) !important;
}
.sv-client-card{
  margin-bottom:8px !important;
}
.sv-client-card h2,
.sv-invoice h2,
.sv-packing h2,
.sv-final h2{
  margin:0 0 6px !important;
  font-size:14px !important;
  line-height:1.1;
  color:#073e82 !important;
}

.sv-client-grid{
  grid-template-columns:1.25fr .8fr .8fr .8fr !important;
  gap:6px 9px !important;
}
.sv-client-grid label,
.sv-main-grid label,
.sv-packing label{
  gap:3px !important;
  font-size:9.5px !important;
  line-height:1.1;
  font-weight:700 !important;
}
.sv-client-grid input,
.sv-client-grid select,
.sv-main-grid input,
.sv-main-grid select,
.sv-packing input,
.sv-packing select,
.sv-packing textarea{
  min-height:30px !important;
  height:30px !important;
  padding:4px 7px !important;
  font-size:10px !important;
  border-radius:4px !important;
}
.sv-packing textarea{
  min-height:46px !important;
  height:46px !important;
}

.sv-main-grid{
  grid-template-columns:1.05fr 1.8fr !important;
  gap:8px !important;
  align-items:start;
}
.sv-main-grid>.panel,
.sv-main-grid>div{
  margin:0 !important;
}
.sv-invoice{
  min-width:0;
}
.sv-invoice-head{
  margin-bottom:6px !important;
  gap:8px !important;
}
.sv-invoice-head p{
  font-size:9px !important;
  margin:1px 0 0 !important;
  line-height:1.15;
}
.sv-invoice-head button{
  min-height:29px !important;
  height:29px !important;
  padding:0 9px !important;
  font-size:9.5px !important;
  border-radius:4px !important;
}

.sv-sector-card,
.sv-stock-card{
  padding:7px 8px !important;
  border-radius:5px !important;
  margin-bottom:6px !important;
}
.sv-sector-card h3,
.sv-stock-card h3{
  margin:0 0 5px !important;
  font-size:11px !important;
  color:#315b80 !important;
}
.sv-sector-card p,
.sv-stock-card p{
  margin:1px 0 4px !important;
  font-size:8.8px !important;
  line-height:1.15;
}

.sv-stock-list{
  max-height:205px !important;
  overflow:auto !important;
  border:1px solid #dde8f0;
  border-radius:5px;
}
.sv-stock-list table{
  min-width:520px !important;
  font-size:9px !important;
}
.sv-stock-list th{
  position:sticky;
  top:0;
  z-index:2;
  padding:5px 6px !important;
  font-size:8.5px !important;
  background:#e8f3fb !important;
}
.sv-stock-list td{
  padding:4px 6px !important;
  font-size:8.5px !important;
  line-height:1.15;
}
.sv-stock-list button{
  min-height:25px !important;
  height:25px !important;
  padding:0 7px !important;
  font-size:8.5px !important;
}

.sv-items-wrap{
  max-height:260px !important;
  overflow:auto !important;
  border-radius:5px !important;
}
.sv-items{
  min-width:760px !important;
  font-size:9px !important;
}
.sv-items th{
  position:sticky;
  top:0;
  z-index:2;
  height:28px !important;
  padding:4px 5px !important;
  font-size:8.5px !important;
  white-space:nowrap;
}
.sv-items td{
  height:29px !important;
  padding:3px 5px !important;
  font-size:8.5px !important;
}
.sv-items input,
.sv-items select{
  min-height:25px !important;
  height:25px !important;
  padding:2px 4px !important;
  font-size:8.8px !important;
}
.sv-items .remove,
.sv-items button{
  min-height:24px !important;
  height:24px !important;
  padding:0 6px !important;
  font-size:9px !important;
}

.sv-packing{
  margin-top:8px !important;
}
.sv-packing-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:6px 9px !important;
}
.sv-packing-grid .wide{
  grid-column:span 2;
}

.sv-totals,
.sv-summary{
  gap:6px !important;
}
.sv-totals>div,
.sv-summary>div{
  min-height:48px !important;
  padding:6px 8px !important;
  border-radius:5px !important;
}
.sv-totals span,
.sv-summary span{
  font-size:8.8px !important;
  line-height:1.05;
  font-weight:700;
}
.sv-totals strong,
.sv-summary strong{
  margin-top:2px !important;
  font-size:17px !important;
  line-height:1 !important;
}
.sv-final{
  margin-top:8px !important;
}
.sv-final-grid{
  grid-template-columns:1fr 1fr .8fr !important;
  gap:8px !important;
}
.sv-final-actions{
  position:sticky;
  bottom:0;
  z-index:10;
  padding:7px 9px !important;
  margin-top:8px !important;
  background:rgba(248,252,255,.97) !important;
  backdrop-filter:blur(6px);
  border:1px solid #d8e6ef !important;
  border-radius:6px !important;
  box-shadow:0 -2px 8px rgba(20,66,102,.06);
}
.sv-final-actions button,
.sv-final-actions a{
  min-height:32px !important;
  height:32px !important;
  padding:0 11px !important;
  font-size:10px !important;
  border-radius:4px !important;
}
.sv-final-actions .primary{
  min-width:170px;
  font-weight:800 !important;
}

@media(max-width:1150px){
  .sv-client-grid{
    grid-template-columns:1fr 1fr !important;
  }
  .sv-main-grid{
    grid-template-columns:1fr !important;
  }
  .sv-packing-grid{
    grid-template-columns:1fr 1fr !important;
  }
  .sv-final-grid{
    grid-template-columns:1fr 1fr !important;
  }
}
@media(max-width:700px){
  .sv-page{
    margin-left:-12px !important;
    margin-right:-12px !important;
    padding-left:8px !important;
    padding-right:8px !important;
  }
  .sv-titlebar{
    align-items:flex-start !important;
  }
  .sv-titlebar h1{
    font-size:20px !important;
  }
  .sv-client-grid,
  .sv-packing-grid,
  .sv-final-grid{
    grid-template-columns:1fr !important;
  }
  .sv-packing-grid .wide{
    grid-column:auto;
  }
  .sv-final-actions{
    position:static;
  }
}


/* Cadastro de Peixes — família e quantidades manuais por caixa */
.fish-cadastro-form .fish-family,.fish-cadastro-form .fish-box-60,.fish-cadastro-form .fish-box-80{min-width:0}
.fish-cadastro-form .fish-box-60 small,.fish-cadastro-form .fish-box-80 small{display:block;margin-top:2px;font-size:9px;line-height:1.15;color:#6d8297;font-weight:500}
.fish-register-table{overflow:auto}
.fish-register-table table{min-width:1280px}
.fish-register-table th{white-space:nowrap}
.fish-register-table td:nth-child(2){font-weight:700;color:#315b80}
.fish-register-table td:nth-child(7),.fish-register-table td:nth-child(8){text-align:center;font-weight:800;color:#0b4f88}
@media(min-width:1100px){.fish-cadastro-form{grid-template-columns:repeat(4,minmax(0,1fr))!important}.fish-cadastro-form .fish-family{grid-column:span 1}.fish-cadastro-form .fish-scientific{grid-column:span 1}.fish-cadastro-form .fish-common{grid-column:span 1}.fish-cadastro-form .fish-origin{grid-column:span 1}.fish-cadastro-form .fish-size,.fish-cadastro-form .fish-box-60,.fish-cadastro-form .fish-box-80,.fish-cadastro-form .fish-buy-price{grid-column:span 1}}


/* ===== Transferência para outro setor — padrão Recepção > Distribuir ===== */
.ts-distribute-model{padding:0 12px 18px!important;background:#f4f9fd!important}
.ts-distribute-model .ts-head{padding:9px 2px 8px!important;grid-template-columns:1fr minmax(360px,520px)!important;gap:12px!important}
.ts-distribute-model .ts-head h1{font-size:22px!important;line-height:1.05!important;margin:0 0 3px!important}
.ts-distribute-model .ts-head p{font-size:10px!important;line-height:1.25!important}
.ts-distribute-model .ts-info{padding:7px 10px!important;border-radius:6px!important;font-size:9.5px!important}
.ts-distribute-model .ts-info b{width:24px!important;height:24px!important;min-width:24px!important;font-size:14px!important}
.ts-five-steps{grid-template-columns:1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr!important;margin:0 0 8px!important;border-radius:7px!important;overflow:hidden}
.ts-five-steps>div{height:45px!important;padding:5px 8px!important;gap:6px!important;background:#fff!important;border:1px solid #dbe8f1!important;transition:.18s ease}
.ts-five-steps>div b{width:25px!important;height:25px!important;font-size:10px!important}
.ts-five-steps>div strong{font-size:9.5px!important}.ts-five-steps>div small{font-size:8px!important}
.ts-five-steps>div.active{background:#e8f4ff!important;border-color:#87bce9!important;box-shadow:inset 0 -2px 0 #1876c9}
.ts-five-steps>div.done{background:#edf8f1!important;border-color:#b9dfc7!important}.ts-five-steps>div.done b{background:#2d9b57!important;color:#fff!important}
.ts-five-steps>i{font-size:19px!important;color:#8ba3b6!important}
.ts-flow{display:grid!important;grid-template-columns:1fr 1fr!important;gap:8px!important;margin:0!important}
.ts-flow-card{margin:0!important;padding:9px 10px!important;border-radius:7px!important;border:1px solid #dce8f1!important;box-shadow:0 1px 4px rgba(15,61,97,.045)!important;background:#fff!important}
.ts-flow-card.current{border-color:#7eb8e6!important;box-shadow:0 0 0 2px rgba(38,132,204,.08)!important}
.ts-step-heading{display:flex;gap:7px;align-items:flex-start;margin-bottom:7px}.ts-step-heading>b{display:grid;place-items:center;width:25px;height:25px;min-width:25px;border-radius:50%;background:#0c67b6;color:#fff;font-size:10px}.ts-step-heading h3{margin:1px 0 1px!important;font-size:12px!important;color:#0c477f!important}.ts-step-heading p{margin:0!important;font-size:8.8px!important;color:#73899b!important;line-height:1.2}.ts-step-heading em{color:#d74747;font-style:normal}
.ts-search-input{height:31px!important;margin:0 0 7px!important;border:1px solid #bfd2e1!important;border-radius:5px!important;background:#fff!important;display:flex!important;align-items:center!important}.ts-search-input span{padding:0 7px!important;font-size:15px!important;color:#55758e}.ts-search-input input{width:100%;height:29px!important;border:0!important;outline:0!important;padding:0 7px 0 0!important;font-size:10px!important;background:transparent!important}
.ts-aq-card-wide{min-height:82px!important;padding:7px 9px!important;gap:9px!important;border:1px solid #dce7ef!important;border-radius:6px!important;background:#f9fcfe!important}.ts-aq-card-wide .ts-tank{width:58px!important;height:54px!important;min-width:58px!important;font-size:27px!important}.ts-aq-card-wide>div:last-child{display:grid!important;grid-template-columns:1fr 1fr!important;gap:2px 12px!important;align-content:center}.ts-aq-card-wide strong{grid-column:1/-1;font-size:11px!important;color:#123f65!important}.ts-aq-card-wide span{font-size:8.8px!important}.ts-aq-card-wide small{grid-column:1/-1;width:max-content;margin-top:2px!important;font-size:8px!important;padding:2px 6px!important}
.ts-fishes{grid-column:1/-1!important}.ts-fish-table{max-height:205px!important;overflow:auto!important;border:1px solid #dce7ef!important;border-radius:5px!important}.ts-fish-table table{min-width:680px!important;width:100%!important}.ts-fish-table th{position:sticky;top:0;z-index:2;padding:6px 7px!important;font-size:8.8px!important;background:#e9f4fb!important}.ts-fish-table td{padding:5px 7px!important;font-size:9px!important}.ts-fish-table tr.selected td{background:#e9f6ee!important}.ts-select-fish{height:25px!important;padding:0 9px!important;border:1px solid #7eb5df!important;background:#fff!important;color:#1164a7!important;border-radius:4px!important;font-size:8.5px!important;font-weight:700!important;cursor:pointer}.ts-select-fish:hover{background:#e8f4fd!important}.ts-empty{padding:17px!important;color:#738899!important;text-align:center!important}
.ts-qty-box{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:end}.ts-qty-box>div{min-height:49px;padding:7px 9px;background:#eef7fd;border-radius:5px;font-size:8.8px;color:#55738b}.ts-qty-box>div strong{display:block;margin-top:2px;font-size:16px;color:#0b5798}.ts-qty-box label{font-size:9px!important;font-weight:700!important;color:#355b78!important}.ts-qty-box input{height:32px!important;padding:0 8px!important;font-size:11px!important;border-radius:5px!important}.ts-validation{margin-top:5px;font-size:8.3px;color:#657f92}.ts-validation.error{color:#bd3d3d}.ts-validation:not(.error){color:#3d7955}
.ts-destination{grid-column:2!important}.ts-origin-aq{grid-column:1!important}
.ts-confirm{grid-column:1/-1!important}.ts-confirm-clean{display:grid!important;grid-template-columns:1fr 42px 1fr minmax(220px,.7fr)!important;gap:8px!important;align-items:stretch}.ts-confirm-clean .ts-summary{min-height:118px!important;padding:8px 10px!important;border-radius:6px!important;background:#f8fbfd!important;border:1px solid #dce7ef!important}.ts-confirm-clean .ts-summary>div:last-child{display:flex!important;flex-direction:column!important;gap:2px!important}.ts-confirm-clean .ts-summary small{font-size:8px!important;font-weight:800!important;color:#6d869a!important}.ts-confirm-clean .ts-summary strong{font-size:11px!important;color:#0a477d!important}.ts-confirm-clean .ts-summary span{font-size:8.5px!important}.ts-confirm-clean hr{width:100%;border:0;border-top:1px solid #e2ebf1;margin:3px 0}.ts-confirm-clean .ts-arrow{font-size:28px!important;color:#1882c6!important}.ts-final-fields{padding:8px!important;border-radius:6px!important;background:#f5faff!important}.ts-internal-badge{padding:5px 8px;margin-bottom:6px;border-radius:4px;background:#e5f4ec;color:#247248;font-size:9px;font-weight:800;text-align:center}.ts-final-fields label{font-size:8.8px!important}.ts-final-fields input,.ts-final-fields textarea{min-height:29px!important;padding:4px 7px!important;font-size:9px!important;border-radius:4px!important}.ts-final-fields textarea{height:44px!important}.ts-submit{height:34px!important;margin-top:6px!important;font-size:9.5px!important;font-weight:800!important}
.ts-history{margin:8px 0 0!important;padding:8px 9px!important;border-radius:7px!important}.ts-history-head h2{font-size:13px!important}.ts-history-head p{font-size:8.5px!important}.ts-history-head button{height:27px!important;font-size:8.5px!important}.ts-history-filters{padding:6px!important;gap:6px!important}.ts-history-filters input{height:27px!important;font-size:8.5px!important}.ts-table-wrap{max-height:245px!important;overflow:auto!important}.ts-table-wrap table{min-width:980px!important}.ts-table-wrap th{position:sticky;top:0;z-index:2;padding:5px 6px!important;font-size:8px!important}.ts-table-wrap td{padding:4px 6px!important;font-size:8.3px!important}.ts-type-badge{display:inline-block;padding:2px 5px;border-radius:10px;background:#e5f4ec;color:#247248;font-weight:800;white-space:nowrap}.ts-history-foot{padding-top:6px!important;font-size:8.5px!important}
@media(max-width:1100px){.ts-distribute-model .ts-head{grid-template-columns:1fr!important}.ts-five-steps{overflow-x:auto!important}.ts-flow{grid-template-columns:1fr!important}.ts-origin-aq,.ts-destination,.ts-fishes,.ts-confirm{grid-column:1!important}.ts-confirm-clean{grid-template-columns:1fr!important}.ts-confirm-clean .ts-arrow{transform:rotate(90deg);text-align:center}}
@media(max-width:700px){.ts-distribute-model{margin-left:-12px!important;margin-right:-12px!important;padding-left:8px!important;padding-right:8px!important}.ts-five-steps{display:none!important}.ts-aq-card-wide>div:last-child{grid-template-columns:1fr!important}.ts-qty-box{grid-template-columns:1fr!important}}


/* ===== Transferir para outro setor — 7 etapas, setor + aquário obrigatórios ===== */
.ts-sector-seven .ts-seven-steps{grid-template-columns:1fr 14px 1fr 14px 1fr 14px 1fr 14px 1fr 14px 1fr 14px 1fr!important;margin-bottom:8px!important}
.ts-sector-seven .ts-seven-steps>div{height:44px!important;padding:5px 6px!important;background:#fff;border:1px solid #dce8f1;display:flex;align-items:center;gap:5px;border-radius:5px}
.ts-sector-seven .ts-seven-steps>div b{width:23px;height:23px;min-width:23px;border-radius:50%;display:grid;place-items:center;background:#dceaf5;color:#416985;font-size:9px}
.ts-sector-seven .ts-seven-steps>div strong{font-size:8.7px!important;line-height:1.05}.ts-sector-seven .ts-seven-steps>div small{font-size:7.4px!important;line-height:1.05;color:#7890a3}.ts-sector-seven .ts-seven-steps>i{display:grid;place-items:center;color:#8ca4b7;font-size:17px}
.ts-sector-seven .ts-seven-steps>div.active{background:#e8f4ff;border-color:#79b4e4;box-shadow:inset 0 -2px 0 #1474be}.ts-sector-seven .ts-seven-steps>div.active b{background:#0d69b7;color:#fff}.ts-sector-seven .ts-seven-steps>div.done{background:#edf8f1;border-color:#b7dec5}.ts-sector-seven .ts-seven-steps>div.done b{background:#2e9b57;color:#fff}
.ts-seven-flow{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important;margin:0!important}.ts-seven-flow .ts-flow-card{margin:0!important;padding:8px 9px!important;background:#fff;border:1px solid #dce8f1;border-radius:7px;box-shadow:0 1px 4px rgba(15,61,97,.045)}.ts-seven-flow .ts-flow-card.current{border-color:#72b0df;box-shadow:0 0 0 2px rgba(38,132,204,.08)}
.ts-seven-flow .ts-fishes,.ts-seven-flow .ts-confirm-seven{grid-column:1/-1!important}.ts-field{display:grid;gap:3px;font-size:9px;font-weight:700;color:#355b78}.ts-field select,.ts-final-grid select,.ts-final-grid input,.ts-final-grid textarea{min-height:31px;height:31px;padding:4px 7px;border:1px solid #bed1e0;border-radius:5px;background:#fff;font-size:9.5px;color:#264e6e}.ts-final-grid textarea{height:45px!important;resize:vertical}.ts-field select:disabled{background:#f2f5f7;color:#8798a7}
.ts-seven-flow .ts-aq-card-wide{margin-top:7px!important;min-height:74px!important}.ts-confirm-route{display:grid;grid-template-columns:1fr 38px 1fr;gap:8px;align-items:stretch;margin:6px 0 8px}.ts-confirm-route .ts-summary{padding:8px 10px;border:1px solid #dce8f1;border-radius:6px;background:#f8fbfd;display:flex;flex-direction:column;gap:2px}.ts-confirm-route .ts-summary small{font-size:8px;font-weight:800;color:#6f8799}.ts-confirm-route .ts-summary strong{font-size:11px;color:#0b4e84}.ts-confirm-route .ts-summary span{font-size:8.7px;color:#48677e}.ts-confirm-route hr{width:100%;border:0;border-top:1px solid #e1ebf1;margin:3px 0}.ts-route-arrow{display:grid;place-items:center;font-size:28px;color:#1882c6}.ts-final-grid{display:grid;grid-template-columns:1fr 1.2fr .7fr 220px;gap:8px;align-items:end;padding:8px;background:#f6faff;border:1px solid #dfebf3;border-radius:6px}.ts-final-grid label{display:grid;gap:3px;font-size:8.8px;font-weight:700;color:#355b78}.ts-final-grid .ts-submit{height:34px!important;margin:0!important}.ts-final-grid em{color:#d74747;font-style:normal}
.ts-sector-seven .ts-table-wrap table{min-width:1180px!important}.ts-sector-seven .ts-history-filters{grid-template-columns:140px 140px 1fr 80px!important}.ts-sector-seven .ts-info small{display:block;margin-top:2px}
@media(max-width:1150px){.ts-sector-seven .ts-seven-steps{overflow-x:auto!important;grid-template-columns:repeat(13,max-content)!important}.ts-sector-seven .ts-seven-steps>div{min-width:125px}.ts-seven-flow{grid-template-columns:1fr!important}.ts-seven-flow .ts-fishes,.ts-seven-flow .ts-confirm-seven{grid-column:1!important}.ts-final-grid{grid-template-columns:1fr 1fr!important}.ts-confirm-route{grid-template-columns:1fr!important}.ts-route-arrow{transform:rotate(90deg)}}
@media(max-width:700px){.ts-sector-seven .ts-seven-steps{display:none!important}.ts-final-grid{grid-template-columns:1fr!important}.ts-sector-seven .ts-history-filters{grid-template-columns:1fr!important}}

/* Novo Pedido v2 - fluxo comercial completo */
.np-v2{padding:10px 12px 22px;background:#f5f8fc}.np-v2 .np-card{padding:12px;display:grid;gap:10px}.np-v2 .np-type-panel,.np-v2 .np-section,.np-v2 .np-mini-card,.np-v2 .np-preview,.np-v2 .np-formalize{background:#fff;border:1px solid #dce5ef;border-radius:10px;box-shadow:0 1px 2px rgba(15,45,80,.04)}
.np-v2 .np-type-panel{padding:11px 13px;display:flex;align-items:center;justify-content:space-between;gap:18px}.np-v2 .np-type-panel small,.np-v2 .np-section-head small,.np-v2 .np-preview small,.np-v2 .np-formalize small{display:block;color:#68798d;margin-top:3px;font-size:11px}.np-v2 .np-order-kind{display:flex;gap:8px}.np-v2 .np-order-kind button{min-width:205px;padding:8px 12px;border:1px solid #bdd0e5;background:#f7fbff;color:#244767;border-radius:8px;font-weight:800}.np-v2 .np-order-kind button span{display:block;font-size:10px;font-weight:500;color:#71849a;margin-top:2px}.np-v2 .np-order-kind button.active{background:#0d66b2;color:#fff;border-color:#0d66b2}.np-v2 .np-order-kind button.active span{color:#d9efff}
.np-v2 .np-section{padding:10px}.np-v2 .np-section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.np-v2 .np-section-head h3,.np-v2 .np-mini-card h3{margin:0;font-size:13px;color:#1c4265}.np-v2 .np-client-grid{display:grid;grid-template-columns:1.4fr .8fr .8fr .8fr;gap:7px}.np-v2 .np-client-grid label{font-size:10px;font-weight:700;color:#52667b}.np-v2 .np-client-grid label.wide{grid-column:span 2}.np-v2 input,.np-v2 select{height:31px;border:1px solid #cbd8e5;border-radius:6px;padding:5px 8px;background:#fff;font-size:11px;width:100%;box-sizing:border-box}.np-v2 input[readonly]{background:#f4f7fa;color:#40556b}.np-v2 .np-items-wrap{overflow:auto;max-height:330px}.np-v2 .np-items{min-width:1380px;width:100%;border-collapse:collapse}.np-v2 .np-items th{position:sticky;top:0;background:#eaf3fb;color:#294c6d;padding:6px 5px;font-size:9px;z-index:2}.np-v2 .np-items td{padding:4px;border-bottom:1px solid #e5edf5}.np-v2 .np-items input{height:28px;font-size:10px}.np-v2 .np-items th:nth-child(4),.np-v2 .np-items th:nth-child(5){min-width:175px}.np-v2 .np-items th:nth-child(7),.np-v2 .np-items th:nth-child(8){min-width:120px}.np-v2 .np-add-fish{background:#0e75bd;color:#fff;border:0;border-radius:7px;padding:7px 11px;font-weight:800;font-size:11px}.np-v2 .np-trash{width:27px;height:27px;border:0;border-radius:6px;background:#fff0f0;color:#b42318;font-weight:900}
.np-v2 .np-bottom-grid{display:grid;grid-template-columns:.9fr 1.35fr .85fr;gap:10px}.np-v2 .np-mini-card{padding:10px;min-width:0}.np-v2 .np-payment-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.np-v2 .np-payment-grid label{font-size:10px;font-weight:700;color:#53677c}.np-v2 .np-yesno{display:flex;gap:4px;margin-top:4px}.np-v2 .np-yesno button{height:29px;flex:1;border:1px solid #cbd8e5;background:#fff;border-radius:6px;font-size:10px}.np-v2 .np-yesno button.active{background:#0d66b2;color:#fff;border-color:#0d66b2}.np-v2 .np-money{display:flex;align-items:center;gap:5px}.np-v2 .np-money b{min-width:28px}.np-v2 .np-pay-status{display:flex;align-items:center;height:31px;padding:0 8px;border-radius:6px;background:#fff7df;color:#8a6116;margin-top:4px}.np-v2 .np-costs{overflow:auto}.np-v2 .np-costs table{width:100%;border-collapse:collapse;min-width:500px}.np-v2 .np-costs th,.np-v2 .np-costs td{padding:4px;font-size:9px;border-bottom:1px solid #e6edf4}.np-v2 .np-costs input{height:27px}.np-v2 .np-costs h3{display:flex;justify-content:space-between;align-items:center}.np-v2 .np-costs h3 button{border:0;background:#e9f5ff;color:#0d66b2;border-radius:6px;padding:5px 7px;font-size:10px}.np-v2 .np-config-note{color:#74879b;font-size:9px}.np-v2 .np-summary dl{margin:6px 0 0}.np-v2 .np-summary dl>div{display:flex;justify-content:space-between;align-items:center;min-height:27px;border-bottom:1px solid #edf2f7;font-size:10px}.np-v2 .np-summary dd{margin:0;font-weight:800}.np-v2 .np-summary .editable input{width:90px;height:25px;text-align:right}.np-v2 .np-summary .total{font-size:12px;color:#0d66b2}.np-v2 .np-summary .balance{background:#eef8ff;margin:4px -4px -2px;padding:2px 4px;color:#094f87}
.np-v2 .np-preview,.np-v2 .np-formalize{padding:9px 11px;display:flex;align-items:center;justify-content:space-between;gap:12px}.np-v2 .np-preview>div:last-child{display:flex;gap:6px}.np-v2 .np-preview button{height:31px;border:0;border-radius:6px;background:#0d66b2;color:#fff;font-weight:700;font-size:10px;padding:0 10px}.np-v2 .np-preview .red{background:#b42318}.np-v2 .np-preview .green{background:#16834b}.np-v2 .np-submit{border:0;border-radius:8px;background:#0b7c4d;color:#fff;padding:10px 20px;font-size:12px;font-weight:900;min-width:210px}.np-v2 .np-formalize{position:sticky;bottom:8px;z-index:4;border-color:#c9ddcf}
@media(max-width:1150px){.np-v2 .np-bottom-grid{grid-template-columns:1fr 1fr}.np-v2 .np-summary{grid-column:span 2}.np-v2 .np-client-grid{grid-template-columns:1fr 1fr}.np-v2 .np-order-kind button{min-width:170px}}@media(max-width:700px){.np-v2 .np-type-panel,.np-v2 .np-preview,.np-v2 .np-formalize{align-items:stretch;flex-direction:column}.np-v2 .np-order-kind{flex-direction:column}.np-v2 .np-client-grid,.np-v2 .np-bottom-grid,.np-v2 .np-payment-grid{grid-template-columns:1fr}.np-v2 .np-summary{grid-column:auto}.np-v2 .np-client-grid label.wide{grid-column:auto}}

/* Cadastros ultra compactos + cartões ilustrados */
body:has(#cadastros.cadastros-compactos) .page-header{margin-bottom:6px}
body:has(#cadastros.cadastros-compactos) .page-header h1{font-size:22px}
body:has(#cadastros.cadastros-compactos) .page-header p{font-size:11px;margin-top:1px}
body:has(#cadastros.cadastros-compactos) .sub-nav{gap:3px;margin-bottom:6px;padding:4px 5px;min-height:auto}
body:has(#cadastros.cadastros-compactos) .sub-nav a{padding:5px 8px;font-size:10px;border-radius:5px;min-height:27px}
#cadastros.cadastros-compactos{gap:6px}
#cadastros.cadastros-compactos .panel{padding:8px 10px;border-radius:6px}
#cadastros.cadastros-compactos .panel h2{font-size:14px;margin-bottom:5px}
#cadastros.cadastros-compactos .panel h3{font-size:12px;margin:5px 0 4px}
#cadastros.cadastros-compactos .grid-form{gap:5px 7px}
#cadastros.cadastros-compactos label{gap:2px;font-size:10px}
#cadastros.cadastros-compactos input,#cadastros.cadastros-compactos select,#cadastros.cadastros-compactos textarea{min-height:29px;height:29px;padding:3px 7px;font-size:11px}
#cadastros.cadastros-compactos textarea{height:auto;min-height:42px}
#cadastros.cadastros-compactos button,#cadastros.cadastros-compactos .soft-button{min-height:28px;padding:4px 9px;font-size:10px}
#cadastros.cadastros-compactos .table-wrap{margin-top:5px;max-height:255px}
#cadastros.cadastros-compactos table{font-size:10px}
#cadastros.cadastros-compactos th{padding:4px 5px;font-size:9px}
#cadastros.cadastros-compactos td{padding:3px 5px;line-height:1.2}
#cadastros.cadastros-compactos .row-actions{gap:3px;flex-wrap:nowrap}
#cadastros.cadastros-compactos .row-actions form{margin:0}
#cadastros.cadastros-compactos small,#cadastros.cadastros-compactos .field-help{font-size:8.5px;line-height:1.1}
#cadastros.cadastros-compactos .photo-upload{padding:5px 7px;min-height:auto}
#cadastros.cadastros-compactos .check{min-height:29px}
@media(min-width:1180px){
  #cadastros.cadastros-compactos .grid-form{grid-template-columns:repeat(5,minmax(0,1fr))}
  #cadastros.cadastros-compactos .fish-cadastro-form{grid-template-columns:repeat(5,minmax(0,1fr))!important}
  #cadastros.cadastros-compactos .client-cadastro-form,#cadastros.cadastros-compactos .supplier-cadastro-form{grid-template-columns:repeat(5,minmax(0,1fr))!important}
}
#cadastros.cadastros-compactos .cadastro-home{padding:9px 10px 10px}
#cadastros.cadastros-compactos .cadastro-home h2{margin-bottom:7px}
#cadastros.cadastros-compactos .subitem-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
#cadastros.cadastros-compactos .subitem-grid .cadastro-home-card{position:relative;display:grid;grid-template-columns:48px minmax(0,1fr);align-items:center;gap:8px;min-height:70px;padding:7px 9px;border:1px solid #d7e6f2;border-radius:8px;background:linear-gradient(145deg,#fff,#f4f9fd);box-shadow:0 1px 4px rgba(15,56,92,.06);overflow:hidden;text-decoration:none}
#cadastros.cadastros-compactos .subitem-grid .cadastro-home-card:hover{transform:translateY(-1px);border-color:#8fc1e7;box-shadow:0 4px 10px rgba(15,72,126,.1)}
#cadastros.cadastros-compactos .cadastro-card-art{width:48px;height:48px;display:grid;place-items:center;border-radius:10px;background:#e9f5fc;border:1px solid #cfe6f5;color:#0868ad;flex:0 0 auto}
#cadastros.cadastros-compactos .cadastro-card-art svg{width:35px;height:35px;fill:none;stroke:currentColor;stroke-width:2.5;stroke-linecap:round;stroke-linejoin:round}
#cadastros.cadastros-compactos .cadastro-card-copy{display:block;min-width:0}
#cadastros.cadastros-compactos .cadastro-card-copy strong{display:block;margin:0 0 2px;font-size:12px;line-height:1.1;color:#0d4778}
#cadastros.cadastros-compactos .cadastro-card-copy small{display:block;font-size:9px;line-height:1.2;color:#6b8194;font-weight:500}
@media(max-width:1100px){#cadastros.cadastros-compactos .subitem-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#cadastros.cadastros-compactos .subitem-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#cadastros.cadastros-compactos .subitem-grid .cadastro-home-card{grid-template-columns:42px 1fr;min-height:64px}.cadastro-card-art{width:42px;height:42px}}
@media(max-width:520px){#cadastros.cadastros-compactos .subitem-grid{grid-template-columns:1fr}}

/* Histórico de Movimentações */
.hm-page{display:grid;gap:14px}.hm-heading{display:flex;align-items:center;justify-content:space-between;gap:18px;background:#fff;border:1px solid #dbe5ef;border-radius:14px;padding:16px 18px}.hm-heading h2{margin:2px 0 3px;font-size:24px;color:#102b4e}.hm-heading p{margin:0;color:#6d7e91;font-size:13px}.hm-kicker{font-size:10px;font-weight:800;letter-spacing:.12em;color:#2471c8}.hm-new{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:8px;background:#1769c2;color:#fff;text-decoration:none;font-weight:800;font-size:13px;white-space:nowrap}.hm-types{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.hm-type{position:relative;display:grid;grid-template-columns:38px 1fr auto;align-items:center;gap:10px;min-height:74px;padding:11px 12px;background:#fff;border:1px solid #dbe5ef;border-radius:12px;text-decoration:none;color:#173350;transition:.15s ease}.hm-type:hover{border-color:#8fb8e6;transform:translateY(-1px)}.hm-type.active{border-color:#2471c8;box-shadow:0 0 0 2px rgba(36,113,200,.08);background:#f6faff}.hm-type-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:9px;background:#eaf3fc;color:#1769c2;font-size:20px;font-weight:900}.hm-type strong{display:block;font-size:13px;line-height:1.2}.hm-type small{display:block;margin-top:3px;color:#7a8998;font-size:10.5px;line-height:1.25}.hm-type>b{display:grid;place-items:center;min-width:26px;height:26px;padding:0 7px;border-radius:13px;background:#edf2f7;color:#35506d;font-size:11px}.hm-type.active>b{background:#1769c2;color:#fff}.hm-grid-card{background:#fff;border:1px solid #dbe5ef;border-radius:14px;overflow:hidden}.hm-grid-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-bottom:1px solid #e5edf5}.hm-grid-head h3{margin:0;color:#173350;font-size:16px}.hm-grid-head span{display:block;margin-top:2px;color:#7b8996;font-size:11px}.hm-search{display:flex;align-items:center;gap:7px;width:min(360px,42vw);height:36px;padding:0 10px;border:1px solid #ccd9e6;border-radius:8px;background:#fbfdff;color:#6f8193}.hm-search input{width:100%;border:0;outline:0;background:transparent;font:inherit;font-size:12px;color:#173350}.hm-table-wrap{overflow:auto;max-height:58vh}.hm-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1080px;font-size:11.5px}.hm-table th{position:sticky;top:0;z-index:1;padding:9px 10px;background:#f1f6fb;border-bottom:1px solid #d7e2ed;color:#415b74;text-align:left;font-size:10px;text-transform:uppercase;letter-spacing:.035em;white-space:nowrap}.hm-table td{padding:8px 10px;border-bottom:1px solid #edf2f6;color:#29445f;vertical-align:middle}.hm-table tbody tr:hover td{background:#f8fbfe}.hm-table td>b,.hm-table td>strong{display:block;color:#173350}.hm-table td small{display:block;margin-top:2px;color:#8593a1;font-size:9.5px}.hm-qty{font-weight:900;color:#1769c2!important;text-align:center}.hm-empty{text-align:center!important;padding:34px!important;color:#7f8d9c!important}.hm-table tbody tr:last-child td{border-bottom:0}
@media(max-width:1100px){.hm-types{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.hm-heading,.hm-grid-head{align-items:stretch;flex-direction:column}.hm-new{width:100%}.hm-types{grid-template-columns:1fr}.hm-search{width:100%}}

/* Histórico de Movimentações v2 - compacto e administrativo */
.hm-page-v2{display:block!important;margin:-4px -2px 0!important;color:#173350}
.hm-page-v2 .hm-topbar{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 12px;margin-bottom:8px;background:#fff;border:1px solid #dbe5ef;border-radius:7px}
.hm-page-v2 .hm-topbar h2{margin:0;font-size:19px;line-height:1.1;color:#0b3b70}
.hm-page-v2 .hm-topbar p{margin:3px 0 0;font-size:10.5px;color:#6b8095}
.hm-page-v2 .hm-new{min-height:30px;height:30px;padding:0 11px;border-radius:5px;font-size:10px;font-weight:800;background:#087bd8}
.hm-page-v2 .hm-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0 0 8px;padding:5px;background:#eaf2f8;border:1px solid #d5e2ec;border-radius:7px}
.hm-page-v2 .hm-tabs a{display:flex;align-items:center;justify-content:center;gap:7px;min-height:36px;padding:5px 8px;border-radius:5px;text-decoration:none;color:#315372;font-size:10px;font-weight:800;background:transparent;border:1px solid transparent;white-space:nowrap}
.hm-page-v2 .hm-tabs a:hover{background:#fff;border-color:#c9d9e6}
.hm-page-v2 .hm-tabs a.active{background:#087bd8;color:#fff;border-color:#087bd8;box-shadow:0 1px 3px rgba(8,75,130,.18)}
.hm-page-v2 .hm-tabs b{display:grid;place-items:center;min-width:20px;height:20px;padding:0 5px;border-radius:10px;background:#dbe8f3;color:#315372;font-size:9px}
.hm-page-v2 .hm-tabs a.active b{background:#fff;color:#087bd8}
.hm-page-v2 .hm-grid-card{border-radius:7px;border:1px solid #d8e4ee;background:#fff;overflow:hidden}
.hm-page-v2 .hm-grid-head{min-height:46px;padding:7px 10px;display:flex;align-items:center;justify-content:space-between;gap:10px;background:#fbfdff;border-bottom:1px solid #dfe8ef}
.hm-page-v2 .hm-grid-head h3{margin:0;font-size:13px;color:#0b3b70}
.hm-page-v2 .hm-grid-head>div>span{margin-top:1px;font-size:9px;color:#7b8ea1}
.hm-page-v2 .hm-search{display:grid;grid-template-columns:auto minmax(190px,300px);align-items:center;gap:6px;width:auto;height:30px;padding:0 7px;border:1px solid #cbd9e5;border-radius:5px;background:#fff;color:#516d87;font-size:9px;font-weight:700}
.hm-page-v2 .hm-search input{min-width:0;height:26px;border:0!important;padding:0!important;outline:0;background:transparent;font-size:9.5px;color:#173350}
.hm-page-v2 .hm-table-wrap{max-height:64vh;overflow:auto;background:#fff}
.hm-page-v2 .hm-table{width:100%;min-width:960px;border-collapse:collapse;font-size:9px}
.hm-page-v2 .hm-table th{position:sticky;top:0;z-index:2;padding:6px 7px;background:#dcecf7;color:#123e70;border-bottom:1px solid #c9dce9;text-transform:none;letter-spacing:0;font-size:8.5px;font-weight:800;white-space:nowrap}
.hm-page-v2 .hm-table td{padding:5px 7px;border-bottom:1px solid #e7eef4;color:#294b6d;line-height:1.15;vertical-align:middle}
.hm-page-v2 .hm-table tbody tr:nth-child(even) td{background:#fbfdff}
.hm-page-v2 .hm-table tbody tr:hover td{background:#eef8ff}
.hm-page-v2 .hm-table td>b,.hm-page-v2 .hm-table td>strong{font-size:9px;color:#153f68;font-weight:800}
.hm-page-v2 .hm-table td small{display:block;margin-top:1px;font-size:7.8px;color:#8293a4}
.hm-page-v2 .hm-qty{text-align:center;font-size:10px!important;color:#087bd8!important;font-weight:900}
.hm-page-v2 .hm-empty{height:150px!important;text-align:center!important;color:#8090a0!important;background:#fff!important}
.hm-page-v2 .hm-empty strong{display:block!important;font-size:11px!important;color:#536b82!important;margin-bottom:3px}
.hm-page-v2 .hm-empty span{display:block;font-size:9px;color:#8b9aaa}
@media(max-width:1000px){.hm-page-v2 .hm-tabs{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.hm-page-v2 .hm-topbar,.hm-page-v2 .hm-grid-head{align-items:stretch;flex-direction:column}.hm-page-v2 .hm-tabs{grid-template-columns:1fr}.hm-page-v2 .hm-search{grid-template-columns:auto 1fr;width:100%}}


/* Histórico de Movimentações - cartões de chamada */
.hm-cards{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:14px 0 16px;
}
.hm-card{
  display:grid;
  grid-template-columns:42px minmax(0,1fr) auto;
  align-items:center;
  gap:10px;
  min-height:92px;
  padding:13px 14px;
  border:1px solid #dfe6ee;
  border-radius:12px;
  background:#fff;
  text-decoration:none;
  color:#17324d;
  box-shadow:0 2px 8px rgba(16,42,67,.06);
  transition:.15s ease;
}
.hm-card:hover{
  transform:translateY(-1px);
  border-color:#9db9d4;
  box-shadow:0 5px 14px rgba(16,42,67,.10);
}
.hm-card.active{
  border:2px solid #1769aa;
  background:#f4f9ff;
  box-shadow:0 5px 16px rgba(23,105,170,.13);
}
.hm-card-icon{
  width:42px;
  height:42px;
  border-radius:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eaf3fb;
  color:#1769aa;
  font-size:23px;
  font-weight:700;
}
.hm-card.active .hm-card-icon{
  background:#1769aa;
  color:#fff;
}
.hm-card-body{
  min-width:0;
}
.hm-card-body strong{
  display:block;
  margin-bottom:4px;
  font-size:14px;
  line-height:1.2;
  color:#17324d;
}
.hm-card-body span{
  display:block;
  font-size:11.5px;
  line-height:1.35;
  color:#6b7f93;
}
.hm-card-count{
  min-width:30px;
  height:30px;
  padding:0 8px;
  border-radius:15px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eef3f7;
  color:#29465f;
  font-size:12px;
  font-weight:700;
}
.hm-card.active .hm-card-count{
  background:#1769aa;
  color:#fff;
}
@media (max-width:1200px){
  .hm-cards{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:700px){
  .hm-cards{grid-template-columns:1fr;}
}

/* Histórico de Movimentações v3 - cartões reais + grade legível */
.hm-page-v2 .hm-cards{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 10px!important;padding:0!important;background:transparent!important;border:0!important}
.hm-page-v2 .hm-card{display:grid!important;grid-template-columns:44px minmax(0,1fr) 30px!important;align-items:center!important;gap:10px!important;min-height:84px!important;padding:12px!important;border:1px solid #d5e1ec!important;border-radius:9px!important;background:#fff!important;color:#173350!important;text-decoration:none!important;box-shadow:0 2px 6px rgba(20,56,90,.05)!important;overflow:hidden!important}
.hm-page-v2 .hm-card:hover{border-color:#84b6dc!important;box-shadow:0 4px 12px rgba(20,56,90,.10)!important;transform:translateY(-1px)!important}
.hm-page-v2 .hm-card.active{border:2px solid #087bd8!important;background:#f4faff!important;box-shadow:0 4px 12px rgba(8,123,216,.13)!important}
.hm-page-v2 .hm-card-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:44px!important;height:44px!important;border-radius:9px!important;background:#e8f3fc!important;color:#087bd8!important;font-size:22px!important;font-weight:800!important}
.hm-page-v2 .hm-card.active .hm-card-icon{background:#087bd8!important;color:#fff!important}
.hm-page-v2 .hm-card-body{display:block!important;min-width:0!important}
.hm-page-v2 .hm-card-body strong{display:block!important;margin:0 0 4px!important;color:#103e6c!important;font-size:12px!important;line-height:1.2!important;font-weight:800!important}
.hm-page-v2 .hm-card-body small{display:block!important;color:#74879a!important;font-size:9.5px!important;line-height:1.3!important;font-weight:500!important}
.hm-page-v2 .hm-card-count{display:flex!important;align-items:center!important;justify-content:center!important;width:28px!important;height:28px!important;border-radius:50%!important;background:#edf3f8!important;color:#315372!important;font-size:10px!important;font-weight:800!important}
.hm-page-v2 .hm-card.active .hm-card-count{background:#087bd8!important;color:#fff!important}
.hm-page-v2 .hm-grid-card{margin-top:0!important;border-radius:9px!important;box-shadow:0 2px 8px rgba(20,56,90,.05)!important}
.hm-page-v2 .hm-grid-head{padding:9px 11px!important;background:#f8fbfe!important}
.hm-page-v2 .hm-grid-head h3{font-size:14px!important}
.hm-page-v2 .hm-table{min-width:1000px!important;font-size:10px!important}
.hm-page-v2 .hm-table th{padding:8px 9px!important;font-size:9px!important;background:#e7f1f8!important;border-right:1px solid #d8e5ef!important}
.hm-page-v2 .hm-table td{padding:7px 9px!important;font-size:9.5px!important;border-right:1px solid #eef3f7!important;white-space:nowrap!important}
.hm-page-v2 .hm-table td:nth-child(2),.hm-page-v2 .hm-table td:nth-last-child(-n+3){white-space:normal!important;min-width:130px!important}
.hm-page-v2 .hm-empty{height:120px!important;padding:24px!important}
@media(max-width:1180px){.hm-page-v2 .hm-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important}}
@media(max-width:700px){.hm-page-v2 .hm-cards{grid-template-columns:1fr!important}}


/* Histórico de Movimentações v4 - cards 2x2 */
.hm-page-v2 .hm-action-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:0 0 14px!important}
.hm-page-v2 .hm-action-card{position:relative;display:grid;grid-template-columns:58px minmax(0,1fr) 38px;align-items:center;gap:14px;min-height:118px;padding:16px 16px;border:1px solid #d8e4ee;border-radius:12px;background:#fff;text-decoration:none!important;color:#173350!important;box-shadow:0 2px 7px rgba(19,54,86,.06);overflow:hidden;transition:.15s ease}
.hm-page-v2 .hm-action-card:hover{transform:translateY(-1px);border-color:#9ec5e2;box-shadow:0 6px 16px rgba(19,54,86,.10)}
.hm-page-v2 .hm-action-card.active{border:2px solid #087bd8;background:linear-gradient(135deg,#f7fbff 0%,#eef7ff 100%);box-shadow:0 6px 16px rgba(8,123,216,.13)}
.hm-page-v2 .hm-action-icon{width:58px;height:58px;border-radius:12px;display:flex;align-items:center;justify-content:center;background:#eaf4fb;color:#087bd8;font-size:28px;font-weight:900;line-height:1}
.hm-page-v2 .hm-action-card.active .hm-action-icon{background:#087bd8;color:#fff}
.hm-page-v2 .hm-action-content{min-width:0;display:block}
.hm-page-v2 .hm-action-kicker{display:block;margin:0 0 5px;color:#7890a5;font-size:8px;font-weight:900;letter-spacing:.7px}
.hm-page-v2 .hm-action-content strong{display:block;margin:0 0 5px;color:#103f70;font-size:14px;line-height:1.2;font-weight:900}
.hm-page-v2 .hm-action-content small{display:block;max-width:430px;color:#6c8194;font-size:10px;line-height:1.35;font-weight:500}
.hm-page-v2 .hm-action-open{display:inline-block;margin-top:8px;color:#087bd8;font-size:9.5px;font-weight:900}
.hm-page-v2 .hm-action-count{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border-radius:50%;background:#edf3f8;color:#315372;font-size:11px;font-weight:900}
.hm-page-v2 .hm-action-card.active .hm-action-count{background:#087bd8;color:#fff}
.hm-page-v2 .hm-grid-card{border-radius:10px!important}
.hm-page-v2 .hm-grid-head{min-height:54px!important;padding:10px 12px!important}
.hm-page-v2 .hm-grid-head h3{font-size:14px!important}
.hm-page-v2 .hm-table th{font-size:9px!important;padding:8px 9px!important}
.hm-page-v2 .hm-table td{font-size:9.5px!important;padding:7px 9px!important}
@media(max-width:1000px){.hm-page-v2 .hm-action-grid{grid-template-columns:1fr}}
@media(max-width:650px){.hm-page-v2 .hm-action-card{grid-template-columns:48px minmax(0,1fr) 32px;min-height:104px;padding:13px;gap:10px}.hm-page-v2 .hm-action-icon{width:48px;height:48px;font-size:23px}.hm-page-v2 .hm-action-count{width:30px;height:30px}}


/* Histórico de Movimentações v5 — cartões compactos, 4 na mesma linha */
.hm-cards{
    display:grid !important;
    grid-template-columns:repeat(4,minmax(0,1fr)) !important;
    gap:8px !important;
    margin:8px 0 12px !important;
}
.hm-card{
    min-height:58px !important;
    padding:8px 9px !important;
    border-radius:8px !important;
    gap:7px !important;
    grid-template-columns:30px minmax(0,1fr) auto !important;
    box-shadow:0 1px 4px rgba(16,42,67,.05) !important;
}
.hm-card-icon{
    width:30px !important;
    height:30px !important;
    border-radius:7px !important;
    font-size:17px !important;
}
.hm-card-body strong{
    margin-bottom:2px !important;
    font-size:12px !important;
    line-height:1.15 !important;
}
.hm-card-body span{
    font-size:9.5px !important;
    line-height:1.2 !important;
}
.hm-card-count{
    min-width:23px !important;
    height:23px !important;
    padding:0 6px !important;
    border-radius:12px !important;
    font-size:10px !important;
}
.hm-card .hm-card-action,
.hm-card-action{
    font-size:9px !important;
    margin-top:3px !important;
}
@media (min-width:901px){
    .hm-cards{grid-template-columns:repeat(4,minmax(0,1fr)) !important;}
}
@media (max-width:900px){
    .hm-cards{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
}
@media (max-width:560px){
    .hm-cards{grid-template-columns:1fr !important;}
}


/* Histórico de Movimentações v6 — cartões compactos reais, 4 na mesma linha */
.hm-page-v2 .hm-action-grid{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:8px!important;
  margin:0 0 10px!important;
}
.hm-page-v2 .hm-action-card{
  display:grid!important;
  grid-template-columns:34px minmax(0,1fr) 24px!important;
  align-items:center!important;
  gap:7px!important;
  min-height:66px!important;
  padding:8px 9px!important;
  border-radius:8px!important;
  box-shadow:0 1px 4px rgba(19,54,86,.05)!important;
}
.hm-page-v2 .hm-action-card:hover{
  transform:none!important;
  box-shadow:0 2px 7px rgba(19,54,86,.08)!important;
}
.hm-page-v2 .hm-action-card.active{
  border-width:1px!important;
  box-shadow:0 2px 7px rgba(8,123,216,.10)!important;
}
.hm-page-v2 .hm-action-icon{
  width:34px!important;
  height:34px!important;
  border-radius:8px!important;
  font-size:18px!important;
}
.hm-page-v2 .hm-action-kicker{
  display:none!important;
}
.hm-page-v2 .hm-action-content strong{
  margin:0 0 2px!important;
  font-size:11px!important;
  line-height:1.15!important;
}
.hm-page-v2 .hm-action-content small{
  margin:0!important;
  font-size:8.5px!important;
  line-height:1.15!important;
  max-height:20px!important;
  overflow:hidden!important;
}
.hm-page-v2 .hm-action-open{
  display:none!important;
}
.hm-page-v2 .hm-action-count{
  width:24px!important;
  height:24px!important;
  font-size:9px!important;
}
@media (min-width:901px){
  .hm-page-v2 .hm-action-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important;}
}
@media (max-width:900px){
  .hm-page-v2 .hm-action-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:560px){
  .hm-page-v2 .hm-action-grid{grid-template-columns:1fr!important;}
}


/* Histórico de Movimentações v7 — filtros entre cartões e grid */
.hm-filter-panel{
  display:grid;
  grid-template-columns:repeat(7,minmax(0,1fr));
  gap:8px;
  align-items:end;
  margin:8px 0 10px;
  padding:10px;
  border:1px solid #dce5ee;
  border-radius:10px;
  background:#fff;
  box-shadow:0 1px 4px rgba(16,42,67,.04);
}
.hm-filter-panel label{
  display:flex;
  flex-direction:column;
  gap:4px;
  margin:0;
  color:#31485e;
  font-size:10.5px;
  font-weight:700;
}
.hm-filter-panel input,
.hm-filter-panel select{
  width:100%;
  height:32px;
  min-height:32px;
  padding:4px 8px;
  border:1px solid #cfdbe6;
  border-radius:6px;
  background:#fff;
  color:#18324a;
  font-size:11px;
}
.hm-filter-panel input:focus,
.hm-filter-panel select:focus{
  outline:none;
  border-color:#2b73b6;
  box-shadow:0 0 0 2px rgba(43,115,182,.10);
}
.hm-filter-actions{
  grid-column:1/-1;
  display:flex;
  justify-content:flex-end;
  gap:7px;
  padding-top:1px;
}
.hm-filter-submit,
.hm-filter-clear{
  height:31px;
  min-width:105px;
  padding:0 13px;
  border-radius:6px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:11px;
  font-weight:700;
  text-decoration:none;
}
.hm-filter-submit{
  border:1px solid #1769aa;
  background:#1769aa;
  color:#fff;
  cursor:pointer;
}
.hm-filter-clear{
  border:1px solid #cbd7e2;
  background:#f7f9fb;
  color:#39536b;
}
@media (max-width:1350px){
  .hm-filter-panel{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media (max-width:900px){
  .hm-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media (max-width:560px){
  .hm-filter-panel{grid-template-columns:1fr;}
  .hm-filter-actions{justify-content:stretch;}
  .hm-filter-submit,.hm-filter-clear{flex:1;}
}


/* =========================================================
   ACQUA - RESPONSIVIDADE GLOBAL PARA SMARTPHONE / TABLET
   ========================================================= */
html,body{max-width:100%;overflow-x:hidden!important;}
*,*::before,*::after{box-sizing:border-box;}
img,svg,canvas,video{max-width:100%;height:auto;}
main,.content,.main-content,.page-content,.app-content,.container,.content-wrapper,.page-wrapper,.workspace,
.card,.panel,.box,.section,.form-card,.table-card,.rx-page,.mv-page,.ts-page,.sv-page,.np-page,.hm-page,.cadastros-compactos{
  min-width:0!important;max-width:100%!important;
}
input,select,textarea,button{max-width:100%;}
pre,code{white-space:pre-wrap;word-break:break-word;}
.table-responsive,.table-wrap,.table-scroll,.data-grid,.grid-wrap,.hm-grid-wrap,.hm-grid-card,.rx-data-grid,.rx-items-card,
.np-items-card,.sv-items-card,.ts-items-card,.mv-items-card{
  width:100%!important;max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch;
}

@media (max-width:1024px){
  .layout,.app-layout,.page-layout,.content-grid,.dashboard-grid{min-width:0!important;max-width:100%!important;}
  .grid,.form-grid,.cards-grid,.summary-grid,.np-grid,.rx-form,.mv-form,.ts-form,.sv-form{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .hm-cards{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .hm-filter-panel{grid-template-columns:repeat(2,minmax(0,1fr))!important;}
  .np-bottom-grid,.np-summary-grid,.three-columns,.cols-3{grid-template-columns:1fr!important;}
  .form-row,.toolbar,.actions-row,.page-actions,.top-actions,.button-row,.filter-actions{flex-wrap:wrap!important;min-width:0!important;}
  .form-row>*,.toolbar>*,.actions-row>*,.page-actions>*,.top-actions>*,.button-row>*{min-width:0!important;}
}

@media (max-width:768px){
  body{font-size:14px;}
  .content,.main-content,.page-content,.app-content,.content-wrapper,.page-wrapper{padding-left:10px!important;padding-right:10px!important;}
  .grid,.form-grid,.cards-grid,.summary-grid,.np-grid,.rx-form,.mv-form,.ts-form,.sv-form,.hm-cards,.hm-filter-panel{grid-template-columns:1fr!important;}
  .card,.panel,.box,.form-card,.table-card,.hm-card,.hm-action-card{width:100%!important;min-width:0!important;}
  .toolbar,.actions-row,.page-actions,.top-actions,.button-row,.filter-actions{gap:6px!important;}
  input,select,textarea{width:100%!important;min-width:0!important;}
  .table-responsive table,.table-wrap table,.table-scroll table,.data-grid table,.hm-grid-card table,.rx-data-grid table,.rx-items-card table,
  .np-items-card table,.sv-items-card table,.ts-items-card table,.mv-items-card table{min-width:700px;}
  .modal,.dialog,.popup,.modal-content{width:calc(100vw - 20px)!important;max-width:calc(100vw - 20px)!important;margin-left:auto!important;margin-right:auto!important;}
  .sidebar,.side-menu,.sidemenu{max-width:100vw;}
}

@media (max-width:480px){
  body{font-size:13px;}
  .content,.main-content,.page-content,.app-content,.content-wrapper,.page-wrapper{padding-left:8px!important;padding-right:8px!important;}
  h1{font-size:22px!important;} h2{font-size:18px!important;} h3{font-size:16px!important;}
  .card,.panel,.box,.form-card,.table-card{padding-left:9px!important;padding-right:9px!important;}
  .hm-card,.hm-action-card{min-height:54px!important;padding:7px 8px!important;}
  .hm-filter-actions{flex-direction:column!important;align-items:stretch!important;}
  .hm-filter-submit,.hm-filter-clear{width:100%!important;}
  .np-type-toggle,.segmented,.toggle-group{width:100%!important;display:grid!important;grid-template-columns:1fr 1fr!important;}
  .np-type-toggle>*,.segmented>*,.toggle-group>*{min-width:0!important;}
  .table-responsive table,.table-wrap table,.table-scroll table,.data-grid table,.hm-grid-card table,.rx-data-grid table,.rx-items-card table,
  .np-items-card table,.sv-items-card table,.ts-items-card table,.mv-items-card table{min-width:660px;}
}

@media (max-width:1024px){
  [style*="width:"]{max-width:100%;}
  .row,.flex,.d-flex{min-width:0;}
  .nowrap{white-space:nowrap;}
}


/* =========================================================
   RECEPÇÃO DE PEIXES - MOBILE / TABLET
   Corrige campos cortados e melhora preenchimento
   ========================================================= */

@media (max-width: 768px) {
  .rx-page,
  .rx-page * {
    min-width: 0 !important;
    box-sizing: border-box !important;
  }

  .rx-page {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    overflow-x: hidden !important;
  }

  .rx-titlebar,
  .rx-topline,
  .rx-form,
  .rx-items-card,
  .rx-data-grid {
    width: 100% !important;
    max-width: 100% !important;
  }

  .rx-form {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
  }

  .rx-form > *,
  .rx-form .field,
  .rx-form .form-group,
  .rx-form label {
    width: 100% !important;
    max-width: 100% !important;
  }

  .rx-form label {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #31485e !important;
  }

  .rx-form input,
  .rx-form select,
  .rx-form textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    padding: 8px 10px !important;
    font-size: 14px !important;
    border-radius: 7px !important;
  }

  .rx-form textarea {
    min-height: 84px !important;
    resize: vertical !important;
  }

  .rx-form input[type="date"],
  .rx-form input[type="time"],
  .rx-form input[type="number"] {
    appearance: auto !important;
  }

  .rx-form .row,
  .rx-form .form-row,
  .rx-form .grid,
  .rx-form [class*="col-"] {
    display: grid !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
    gap: 10px !important;
  }

  .rx-form .actions,
  .rx-form .form-actions,
  .rx-actions,
  .rx-toolbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 8px !important;
    width: 100% !important;
  }

  .rx-form button,
  .rx-actions button,
  .rx-actions a,
  .rx-toolbar button,
  .rx-toolbar a {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 40px !important;
    justify-content: center !important;
  }

  .rx-items-card,
  .rx-data-grid {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .rx-items-card table,
  .rx-data-grid table {
    min-width: 720px !important;
  }

  .rx-page .select2-container,
  .rx-page .choices,
  .rx-page .choices__inner {
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 480px) {
  .rx-page {
    font-size: 13px !important;
  }

  .rx-titlebar h1,
  .rx-titlebar h2,
  .rx-titlebar h3 {
    font-size: 18px !important;
    line-height: 1.2 !important;
  }

  .rx-form input,
  .rx-form select,
  .rx-form textarea {
    font-size: 16px !important; /* evita zoom automático em iPhone */
  }

  .rx-form {
    gap: 9px !important;
  }
}


/* =========================================================
   ACQUA - FORMULÁRIOS RESPONSIVOS GLOBAIS
   Mobile / Smartphone / Tablet
   ========================================================= */

@media (max-width: 900px) {

  html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden !important;
  }

  *, *::before, *::after {
    box-sizing: border-box !important;
    min-width: 0;
  }

  main,
  .content,
  .main-content,
  .page-content,
  .app-content,
  .content-wrapper,
  .page-wrapper,
  .container,
  .container-fluid,
  .workspace,
  .card,
  .panel,
  .box,
  .section,
  .form-card,
  .table-card {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  form {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  form .grid,
  form .form-grid,
  form .row,
  form .form-row,
  form .fields,
  form .field-grid,
  form [class*="grid-"],
  form [class*="cols-"] {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 9px !important;
  }

  form .row,
  form .form-row,
  form .field-row,
  form .actions-row,
  form .button-row {
    flex-wrap: wrap !important;
  }

  form label,
  form .field,
  form .form-group,
  form .input-group,
  form .control-group {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 4px !important;
  }

  form label {
    font-size: 12px !important;
    line-height: 1.2 !important;
    font-weight: 700 !important;
    color: #31485e !important;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 40px !important;
    height: auto;
    padding: 8px 10px !important;
    font-size: 14px !important;
    line-height: 1.25 !important;
    border-radius: 7px !important;
  }

  textarea {
    min-height: 84px !important;
    resize: vertical !important;
  }

  select {
    padding-right: 30px !important;
  }

  input[type="date"],
  input[type="time"],
  input[type="datetime-local"],
  input[type="number"],
  input[type="email"],
  input[type="tel"] {
    appearance: auto !important;
    -webkit-appearance: auto !important;
  }

  .input-group,
  .field-group,
  .search-group {
    width: 100% !important;
    max-width: 100% !important;
  }

  .input-group > *,
  .field-group > *,
  .search-group > * {
    min-width: 0 !important;
    max-width: 100% !important;
  }

  .input-group input,
  .field-group input,
  .search-group input {
    flex: 1 1 100% !important;
  }

  .actions,
  .form-actions,
  .page-actions,
  .toolbar,
  .button-row,
  .actions-row,
  .top-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 7px !important;
  }

  .actions button,
  .actions a,
  .form-actions button,
  .form-actions a,
  .page-actions button,
  .page-actions a,
  .button-row button,
  .button-row a {
    max-width: 100% !important;
  }

  .table-responsive,
  .table-wrap,
  .table-scroll,
  .data-grid,
  .grid-wrap,
  .hm-grid-card,
  .rx-data-grid,
  .rx-items-card {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  table {
    max-width: none !important;
  }

  .modal,
  .modal-content,
  .dialog,
  .popup,
  .drawer {
    width: calc(100vw - 20px) !important;
    max-width: calc(100vw - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  .select2-container,
  .choices,
  .choices__inner,
  .tom-select,
  .ts-wrapper,
  .ts-control {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

@media (max-width: 600px) {

  body {
    font-size: 13px !important;
  }

  .content,
  .main-content,
  .page-content,
  .app-content,
  .content-wrapper,
  .page-wrapper {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  form {
    gap: 8px !important;
  }

  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px !important; /* evita zoom automático em iPhone */
    min-height: 42px !important;
  }

  button,
  .btn,
  a.btn {
    min-height: 40px !important;
  }

  .actions,
  .form-actions,
  .page-actions,
  .button-row {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .actions > *,
  .form-actions > *,
  .page-actions > *,
  .button-row > * {
    width: 100% !important;
  }

  .card,
  .panel,
  .box,
  .section,
  .form-card {
    padding-left: 9px !important;
    padding-right: 9px !important;
  }
}

/* Respeita campos pequenos deliberados, como checkbox/radio */
input[type="checkbox"],
input[type="radio"] {
  width: auto !important;
  min-width: auto !important;
  min-height: auto !important;
}

/* Evita estouro por textos longos */
label,
.card,
.panel,
td,
th,
button,
a {
  overflow-wrap: anywhere;
}


/* NOVO PEDIDO - RESPONSIVIDADE ESPECÍFICA MOBILE */
@media (max-width: 900px) {
  .np-page, .np-page * {
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .np-page {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: hidden !important;
  }

  .np-page .np-card,
  .np-page .card,
  .np-page .panel,
  .np-page .box,
  .np-page .section {
    width: 100% !important;
    max-width: 100% !important;
  }

  .np-type-toggle,
  .np-order-type,
  .np-type-selector,
  .segmented,
  .toggle-group {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    width: 100% !important;
    gap: 6px !important;
  }

  .np-client-grid,
  .np-client-form,
  .np-form-grid,
  .np-fields,
  .np-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 9px !important;
    width: 100% !important;
  }

  .np-page label,
  .np-page .field,
  .np-page .form-group {
    width: 100% !important;
    max-width: 100% !important;
  }

  .np-page input:not([type="checkbox"]):not([type="radio"]),
  .np-page select,
  .np-page textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .np-items-card,
  .np-items-wrap,
  .np-table-wrap,
  .np-items-table,
  .np-page .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .np-items-card table,
  .np-items-wrap table,
  .np-table-wrap table,
  .np-items-table table,
  .np-page .table-responsive table {
    min-width: 1120px !important;
    width: max-content !important;
    max-width: none !important;
  }

  .np-page table input,
  .np-page table select,
  .np-page table textarea {
    min-width: 90px !important;
    width: 100% !important;
  }

  .np-bottom-grid,
  .np-lower-grid,
  .np-payment-cost-summary,
  .np-summary-layout,
  .np-three-cols,
  .np-page .cols-3,
  .np-page .three-columns {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  .np-payment-card,
  .np-costs-card,
  .np-summary-card,
  .np-preview-card {
    width: 100% !important;
    max-width: 100% !important;
  }

  .np-costs-card .table-wrap,
  .np-costs-card .table-responsive {
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
  }

  .np-costs-card table {
    min-width: 620px !important;
    width: max-content !important;
    max-width: none !important;
  }

  .np-payment-card .grid,
  .np-payment-card .form-grid,
  .np-payment-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .np-actions,
  .np-footer-actions,
  .np-preview-actions,
  .np-page .actions,
  .np-page .form-actions {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 7px !important;
    width: 100% !important;
  }

  .np-formalize,
  .np-page button[type="submit"] {
    width: 100% !important;
    min-height: 44px !important;
  }
}

@media (max-width: 600px) {
  .np-page {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .np-page .np-card,
  .np-page .card,
  .np-page .panel,
  .np-page .box,
  .np-page .section {
    padding-left: 8px !important;
    padding-right: 8px !important;
  }

  .np-type-toggle,
  .np-order-type,
  .np-type-selector,
  .segmented,
  .toggle-group {
    grid-template-columns: 1fr !important;
  }

  .np-page input:not([type="checkbox"]):not([type="radio"]),
  .np-page select,
  .np-page textarea {
    font-size: 16px !important;
    min-height: 42px !important;
  }

  .np-preview-actions,
  .np-footer-actions,
  .np-page .actions,
  .np-page .form-actions {
    flex-direction: column !important;
    align-items: stretch !important;
  }

  .np-preview-actions > *,
  .np-footer-actions > *,
  .np-page .actions > *,
  .np-page .form-actions > * {
    width: 100% !important;
  }
}

/* =========================================================
   PEDIDOS - GRID ADMINISTRATIVA / EDITAR / EXCLUIR
   ========================================================= */
.orders-grid-panel{margin-top:14px}.orders-grid-wrap{width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;border:1px solid #e3e9ef;border-radius:10px}.orders-admin-grid{width:100%;border-collapse:collapse;min-width:720px;background:#fff;table-layout:fixed}.orders-admin-grid th,.orders-admin-grid td{padding:8px 10px;border-bottom:1px solid #edf1f4;text-align:left;vertical-align:middle;font-size:12px;line-height:1.25}.orders-admin-grid th{background:#f6f8fa;color:#405469;font-size:10px;text-transform:uppercase;letter-spacing:.05em;white-space:nowrap}.orders-admin-grid th:nth-child(1){width:15%}.orders-admin-grid th:nth-child(2){width:25%}.orders-admin-grid th:nth-child(3){width:16%}.orders-admin-grid th:nth-child(4){width:20%}.orders-admin-grid th:nth-child(5){width:12%}.orders-admin-grid th:nth-child(6){width:12%}.orders-admin-grid tbody tr:hover{background:#f9fbfc}.orders-grid-order strong,.orders-grid-financial strong{display:block;color:#1f3650;font-size:12px}.orders-grid-order small,.orders-grid-dates small{display:block;margin-top:3px;color:#75869a;font-size:10px}.orders-grid-client{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#304a64;font-weight:600}.orders-grid-dates span{white-space:nowrap}.orders-grid-financial .badge{display:inline-flex;margin-top:4px}.orders-admin-grid .badge{padding:3px 6px;font-size:10px;line-height:1.1;white-space:nowrap}.orders-actions-heading{text-align:center!important}.orders-grid-actions{display:flex;gap:4px;align-items:center;justify-content:center;white-space:nowrap}.orders-grid-actions form{margin:0;width:auto!important}.orders-edit-btn,.orders-delete-btn{display:inline-flex;align-items:center;justify-content:center;min-height:27px;padding:4px 7px;border-radius:6px;font-size:11px;font-weight:700;text-decoration:none;cursor:pointer}.orders-edit-btn{background:#eaf3ff;color:#1559a6;border:1px solid #cfe3fb}.orders-delete-btn{background:#fff0f0;color:#b42318;border:1px solid #f4c7c3}.orders-edit-panel{margin-bottom:14px}.orders-edit-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.orders-edit-grid label{display:flex;flex-direction:column;gap:5px;font-size:12px;font-weight:700;color:#405469}.orders-edit-grid input,.orders-edit-grid select,.orders-edit-grid textarea{width:100%;min-width:0}.orders-edit-note{grid-column:1/-1}.orders-edit-actions{grid-column:1/-1;display:flex;gap:8px;align-items:center}.orders-page-actions{display:flex;justify-content:flex-end;margin-bottom:10px}
@media(max-width:900px){.orders-edit-grid{grid-template-columns:1fr 1fr}.orders-edit-note,.orders-edit-actions{grid-column:1/-1}.orders-admin-grid{min-width:700px}}
@media(max-width:600px){.orders-page-actions{justify-content:stretch}.orders-page-actions>a{width:100%;justify-content:center}.orders-edit-grid{grid-template-columns:1fr}.orders-edit-note,.orders-edit-actions{grid-column:auto}.orders-edit-actions{flex-direction:column;align-items:stretch}.orders-edit-actions>*{width:100%!important;justify-content:center}.orders-grid-wrap{border-radius:8px}.orders-admin-grid{min-width:650px}.orders-admin-grid th,.orders-admin-grid td{padding:7px 8px;font-size:11px}.orders-admin-grid th:nth-child(2){width:22%}.orders-grid-client{max-width:120px}.orders-edit-btn,.orders-delete-btn{padding:4px 6px;font-size:10px}}

/* Novo Pedido: pagamento horizontal e cards financeiros simétricos. */
.np-v2 .np-bottom-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;align-items:stretch;gap:12px}
.np-v2 .np-payment{grid-column:1/-1}
.np-v2 .np-payment-grid{grid-template-columns:1.25fr 1fr 1fr 1fr 1.15fr!important;align-items:end;gap:12px;padding:12px 0 0!important}
.np-v2 .np-payment-grid label{min-width:0;gap:6px}
.np-v2 .np-payment-grid .np-yesno,.np-v2 .np-payment-grid .np-pay-status{margin-top:0}
.np-v2 .np-payment-grid .np-money input{min-width:0}
.np-v2 .np-costs,.np-v2 .np-summary{grid-column:auto;align-self:stretch;box-sizing:border-box;padding:12px;border:1px solid #dce5ef;border-radius:10px}
.np-v2 .np-mini-card>h3{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:44px;box-sizing:border-box;padding:8px 10px!important;border-radius:6px;font-size:13px!important}
.np-v2 .np-costs table{min-width:430px;margin-top:6px;table-layout:fixed}
.np-v2 .np-costs th:first-child{width:46%}
.np-v2 .np-costs th:nth-child(2){width:19%}
.np-v2 .np-costs th:nth-child(3){width:12%}
.np-v2 .np-costs th:nth-child(4){width:16%}
.np-v2 .np-costs th:last-child{width:7%}
.np-v2 .np-costs .np-cost-total{overflow-wrap:anywhere}
.np-v2 .np-items{min-width:1120px}
.np-v2 .np-items th:nth-child(4),.np-v2 .np-items th:nth-child(5){width:20%!important;min-width:190px}
.np-v2 .np-items th:nth-child(7){width:130px!important;min-width:130px}
.np-v2 .np-items th:nth-child(8){width:110px!important;min-width:110px}
.np-v2 .np-items th:nth-child(9){width:65px!important;min-width:65px}
.np-v2 .np-items th:nth-child(10){width:110px!important;min-width:110px}
.np-v2 .np-items th:nth-child(11){width:35px!important;min-width:35px}
@media(max-width:1100px){
 .np-v2 .np-bottom-grid{grid-template-columns:minmax(0,1fr)!important}
 .np-v2 .np-payment-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 .np-v2 .np-payment-grid{grid-template-columns:minmax(0,1fr)!important}
}
.np-v2 .np-payment-grid input,.np-v2 .np-payment-grid select,.np-v2 .np-payment-grid .np-money b,.np-v2 .np-payment-grid .np-yesno button,.np-v2 .np-payment-grid .np-pay-status{height:32px!important;min-height:32px!important;box-sizing:border-box}
/* Embalagens selecionadas e detalhamento comercial do pedido. */
.np-v2 .np-summary dl>.np-packaging-details{display:block;padding:8px 0!important}
.np-v2 .np-packaging-details dt{font-weight:700;margin-bottom:5px}
.np-v2 .np-packaging-details dd{font-weight:400;line-height:1.6}
.np-v2 .np-packaging-details dd span{display:block;overflow-wrap:anywhere}
.np-v2 .np-costs select{min-width:0;width:100%;font-size:11px}
.np-v2 .np-costs th:first-child{width:35%}
.np-v2 .np-costs th:nth-child(2){width:24%}
.np-v2 .np-costs th:nth-child(3){width:12%}
.np-v2 .np-costs th:nth-child(4){width:21%}
.np-v2 .np-costs th:last-child{width:8%}
.np-v2 .np-config-note{display:block;margin-top:10px;line-height:1.5}
/* Escolha obrigatória do tipo antes de preencher um novo pedido. */
.np-v2 #npForm[hidden]{display:none!important}
.np-v2 .np-type-dialog{width:min(540px,calc(100vw - 32px));max-height:calc(100dvh - 32px);box-sizing:border-box;padding:28px;border:1px solid #c7dced;border-radius:14px;background:#fff;color:#234965;box-shadow:0 20px 70px #12344a40;overflow:auto}
.np-v2 .np-type-dialog::backdrop{background:rgba(13,35,55,.55)}
.np-v2 .np-type-dialog h2{margin:0 0 12px;color:#0b4e88;font-size:23px}
.np-v2 .np-type-dialog p{margin:0 0 20px;font-size:15px}
.np-v2 .np-type-choices{display:grid;gap:12px}
.np-v2 .np-type-choices button{display:flex;flex-direction:column;align-items:flex-start;gap:7px;width:100%;height:auto;min-height:82px;padding:17px;border:1px solid #bad3e8;border-radius:9px;background:#f4faff;color:#0b4e88;text-align:left;cursor:pointer}
.np-v2 .np-type-choices strong{font-size:16px}
.np-v2 .np-type-choices span{font-size:14px;font-weight:400;color:#526f85}
.np-v2 .np-type-choices button:hover{background:#e4f2ff;border-color:#147ac2}
.np-v2 .np-type-choices button:focus-visible,.np-v2 .np-type-cancel:focus-visible{outline:3px solid #1683ca;outline-offset:3px}
.np-v2 .np-type-cancel{display:block;width:max-content;margin:22px auto 0;padding:9px 20px;border:1px solid #c6d4df;border-radius:7px;color:#405b70;font-size:13px;font-weight:700;text-decoration:none}
@media(max-width:480px){.np-v2 .np-type-dialog{padding:20px}.np-v2 .np-type-choices strong{font-size:14px}}
/* Dados opcionais do embarque no pedido e na edição. */
.order-shipping-fields{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.order-shipping-fields[data-shipping-type="Nacional"]{grid-template-columns:repeat(3,minmax(0,1fr))}
.order-shipping-fields label{display:flex;flex-direction:column;gap:5px;min-width:0;font-size:11px;font-weight:700;color:#355b78}
.order-shipping-fields label[hidden]{display:none!important}
.order-shipping-fields input{width:100%;min-width:0;box-sizing:border-box}
#orderEditForm .order-shipping-edit{order:5;flex:0 0 100%;grid-column:1/-1;width:100%;padding:12px;border:1px solid #dce5ef;border-radius:10px;box-sizing:border-box}
.order-shipping-edit h3{margin:0 0 12px}
@media(max-width:800px){.order-shipping-fields,.order-shipping-fields[data-shipping-type="Nacional"]{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:480px){.order-shipping-fields,.order-shipping-fields[data-shipping-type="Nacional"]{grid-template-columns:minmax(0,1fr)}}
.aquarium-labels-toolbar{display:flex;justify-content:flex-end;margin:0 0 18px;grid-column:1/-1;width:100%}
.aquarium-labels-button{display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;max-width:100%;min-height:42px;padding:11px 18px;border:1px solid #086ca8;border-radius:6px;background:#076eae;color:#fff!important;font-size:13px;font-weight:800;text-align:center;text-decoration:none}
.aquarium-labels-button:hover{background:#05578b}
.aquarium-labels-button:focus-visible{outline:3px solid #0fc5e1;outline-offset:3px}
/* Organizar os campos dos dados da recepção. */
.rx-data-card .rx-data-grid{grid-template-columns:repeat(4,minmax(0,1fr));align-items:start}
.rx-data-card .rx-data-grid label{min-width:0}
.rx-data-card .rx-data-wide{grid-column:span 2}
@media(max-width:1280px){.rx-data-card .rx-data-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:760px){.rx-data-card .rx-data-grid{grid-template-columns:minmax(0,1fr)}.rx-data-card .rx-data-wide{grid-column:auto}}
/* Localizar aquários por setor no registro de mortalidade. */
#mortalidade .mort-aq-search{display:grid!important;grid-template-columns:minmax(0,1fr);gap:10px;width:100%!important;height:auto!important;padding:0!important;border:0!important;background:transparent!important}
#mortalidade .mort-aq-search label{display:grid;gap:5px;font-size:11px;font-weight:700;color:#315879;min-width:0}
#mortalidade .mort-aq-search select,#mortalidade .mort-aq-search input{width:100%;min-width:0;height:36px!important;border:1px solid #c5d7e5!important;border-radius:5px;padding:5px 8px!important;background:white}
#mortalidade .mort-aq-search input:disabled,#mortalidade .mort-aq-search select:disabled{background:#edf1f5}
#mortalidade .mort-fish-name small{display:block;font-style:italic;font-size:10px;font-weight:400;margin-top:3px}
#cadastro-aquario .aquarium-labels-toolbar{display:none!important}

.ts-aq-card-wide .ts-species-list{grid-column:1/-1;font-weight:700;color:#174f78;white-space:normal;overflow-wrap:anywhere}
