/* src/styles.css */
:root {
  color-scheme: light;
  --bg: #f5f6f2;
  --bg-soft: #eef2ed;
  --panel: #ffffff;
  --panel-strong: #f9faf7;
  --ink: #15201b;
  --muted: #68736f;
  --line: #dce2dc;
  --line-strong: #cbd5cd;
  --brand: #16735f;
  --brand-dark: #0f4f43;
  --brand-soft: #e7f3ef;
  --accent: #c0782d;
  --accent-soft: #fff1df;
  --warn: #9a4d12;
  --danger: #b42318;
  --success: #027a48;
  --shadow-sm: 0 1px 2px rgba(18, 28, 24, .07);
  --shadow-md: 0 12px 34px rgba(18, 28, 24, .12);
  --shadow-lg: 0 24px 70px rgba(18, 28, 24, .18);
}
* {
  box-sizing: border-box;
}
html {
  min-height: 100%;
}
body {
  margin: 0;
  background:
    linear-gradient(
      135deg,
      rgba(22, 115, 95, .08),
      transparent 32%),
    linear-gradient(
      315deg,
      rgba(192, 120, 45, .08),
      transparent 34%),
    var(--bg);
  color: var(--ink);
  font-family:
    Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Arial,
    Helvetica,
    sans-serif;
  min-height: 100vh;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
.primary-link {
  align-items: center;
  background: var(--brand);
  border: 1px solid transparent;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  text-decoration: none;
  transition:
    background .18s ease,
    border-color .18s ease,
    box-shadow .18s ease,
    color .18s ease,
    transform .18s ease;
  white-space: nowrap;
}
button:hover,
.primary-link:hover {
  background: var(--brand-dark);
  box-shadow: 0 8px 20px rgba(15, 79, 67, .18);
  transform: translateY(-1px);
}
button:focus-visible,
.primary-link:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(22, 115, 95, .24);
  outline-offset: 2px;
}
button:disabled {
  box-shadow: none;
  cursor: not-allowed;
  opacity: .55;
  transform: none;
}
button.ghost,
.ghost {
  background: #f2f6f3;
  border-color: var(--line);
  color: var(--brand-dark);
}
button.ghost:hover,
.ghost:hover {
  background: var(--brand-soft);
  border-color: #bad7cd;
  color: var(--brand-dark);
}
a {
  color: var(--brand-dark);
  font-weight: 800;
  text-decoration: none;
}
.shell {
  display: grid;
  grid-template-columns: 282px minmax(0, 1fr);
  min-height: 100vh;
}
.sidebar {
  align-self: start;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, .08),
      transparent 28%),
    #14231e;
  border-right: 1px solid rgba(255, 255, 255, .08);
  box-shadow: 10px 0 34px rgba(18, 28, 24, .12);
  color: #f7fbfa;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 100vh;
  padding: 24px;
  position: sticky;
  top: 0;
}
.brand-block {
  align-items: center;
  display: flex;
  gap: 12px;
  min-width: 0;
}
.brand-mark {
  align-items: center;
  background:
    linear-gradient(
      135deg,
      #2fa383,
      #c0782d);
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 15px;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}
.brand-mark-lg {
  font-size: 20px;
  height: 56px;
  width: 56px;
}
.brand-logo-mark {
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, .18);
  display: block;
  flex: 0 0 auto;
  height: 46px;
  object-fit: contain;
  padding: 4px;
  width: 46px;
}
.brand-logo-mark-lg {
  height: 60px;
  padding: 5px;
  width: 60px;
}
.brand-copy {
  min-width: 0;
}
.brand-copy h1 {
  color: inherit;
  font-size: 20px;
  line-height: 1.1;
  margin: 0 0 4px;
}
.brand-copy p {
  color: rgba(247, 251, 250, .68);
  font-size: 13px;
  font-weight: 700;
  margin: 0;
}
.sidebar nav {
  display: grid;
  gap: 7px;
}
.sidebar a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 8px;
  color: rgba(247, 251, 250, .78);
  display: grid;
  font-weight: 800;
  gap: 10px;
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 46px;
  padding: 5px 10px 5px 6px;
  transition:
    background .18s ease,
    border-color .18s ease,
    color .18s ease,
    transform .18s ease;
}
.sidebar a:hover,
.sidebar a.active {
  background: rgba(255, 255, 255, .1);
  border-color: rgba(255, 255, 255, .11);
  color: #fff;
  transform: translateX(2px);
}
.nav-icon {
  align-items: center;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  color: #dff5ee;
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}
.sidebar a.active .nav-icon {
  background: #fff;
  color: var(--brand-dark);
}
.sidebar-footer {
  display: grid;
  gap: 12px;
  margin-top: auto;
}
.user-card {
  align-items: center;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 8px;
  display: grid;
  gap: 10px;
  grid-template-columns: 40px minmax(0, 1fr);
  padding: 10px;
}
.user-avatar {
  align-items: center;
  background: var(--accent-soft);
  border-radius: 8px;
  color: var(--warn);
  display: inline-flex;
  font-size: 13px;
  font-weight: 900;
  height: 40px;
  justify-content: center;
  width: 40px;
}
.user-card strong,
.user-card span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.user-card strong {
  color: #fff;
  font-size: 14px;
}
.user-card div > span {
  color: rgba(247, 251, 250, .62);
  font-size: 12px;
  margin-top: 2px;
}
.logout-button {
  min-height: 42px;
  width: 100%;
}
.content {
  min-width: 0;
  padding: 28px;
}
.content-frame {
  margin: 0 auto;
  max-width: 1540px;
}
.page-header {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
  margin-bottom: 20px;
}
.page-header h2 {
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.12;
  margin: 0 0 5px;
}
.page-header p {
  color: var(--muted);
  font-weight: 650;
  margin: 0;
}
.header-actions,
.form-actions,
.actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.panel,
.login-card,
.data-table {
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}
.panel {
  margin-bottom: 18px;
  padding: 18px;
}
.grid-form {
  align-items: start;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}
label {
  align-content: start;
  align-self: start;
  color: #33433d;
  display: grid;
  font-size: 13px;
  font-weight: 800;
  gap: 7px;
}
label.full {
  grid-column: 1 / -1;
  margin-top: 14px;
}
.check {
  align-items: center;
  display: flex;
  gap: 8px;
  min-height: 64px;
}
.menu-permissions {
  display: grid;
  gap: 8px;
  grid-column: 1 / -1;
}
.field-label {
  color: #33433d;
  font-size: 13px;
  font-weight: 800;
}
.permission-grid {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
}
.permission-option {
  background: var(--panel-strong);
  border: 1px solid var(--line);
  border-radius: 8px;
  min-height: 46px;
  padding: 0 10px;
}
.permission-option input,
.check input {
  min-height: auto;
  width: auto;
}
input,
select,
textarea {
  background: #fff;
  border: 1px solid #cfd8d1;
  border-radius: 8px;
  color: var(--ink);
  min-height: 42px;
  padding: 9px 11px;
  transition:
    border-color .18s ease,
    box-shadow .18s ease,
    background .18s ease;
  width: 100%;
}
input:hover,
select:hover,
textarea:hover {
  border-color: var(--line-strong);
}
input:focus,
select:focus,
textarea:focus {
  border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(22, 115, 95, .11);
  outline: none;
}
textarea {
  resize: vertical;
}
select[multiple] {
  min-height: 104px;
}
.responsaveis-box {
  align-content: start;
  align-self: start;
  display: grid;
  gap: 8px;
}
.selected-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  align-items: center;
  background: var(--brand-soft);
  border: 1px solid #c8e1d8;
  border-radius: 999px;
  color: var(--brand-dark);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  gap: 6px;
  min-height: 30px;
  padding: 4px 6px 4px 10px;
}
.chip-remove {
  background: transparent;
  box-shadow: none;
  color: var(--danger);
  font-size: 11px;
  min-height: 24px;
  padding: 0 6px;
}
.chip-remove:hover {
  background: #fef3f2;
  box-shadow: none;
  transform: none;
}
.field-hint {
  color: var(--muted);
  font-size: 12px;
  margin: 0;
}
.inline-picker {
  align-items: end;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 820px;
}
.inline-picker label {
  min-width: 180px;
}
.tabs {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.tab-button {
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: none;
  color: var(--brand-dark);
  min-height: 38px;
}
.tab-button:hover {
  background: var(--brand-soft);
  box-shadow: none;
}
.tab-button.active {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
}
.data-table,
.size-table {
  border-collapse: collapse;
  overflow: hidden;
  width: 100%;
}
.data-table th,
.data-table td,
.size-table th,
.size-table td {
  border-bottom: 1px solid var(--line);
  padding: 12px;
  text-align: left;
  vertical-align: middle;
}
.data-table th,
.size-table th {
  background: var(--panel-strong);
  color: #394841;
  font-size: 12px;
  text-transform: uppercase;
}
.data-table tr:hover td {
  background: #fbfcf9;
}
.data-table input[type=checkbox] {
  accent-color: var(--brand);
  min-height: 18px;
  width: 18px;
}
.size-table {
  margin-top: 18px;
  max-width: 1040px;
}
.size-table input {
  max-width: 180px;
}
.size-table .currency-input {
  max-width: 180px;
  min-width: 140px;
}
.total-line {
  border-top: 1px solid var(--line);
  font-size: 18px;
  margin-top: 18px;
  padding-top: 16px;
}
.status {
  background: var(--accent-soft);
  border-radius: 999px;
  color: var(--warn);
  display: inline-flex;
  font-size: 12px;
  font-weight: 900;
  padding: 5px 10px;
}
.status.finalizada {
  background: #ecfdf3;
  color: var(--success);
}
.status.cancelada {
  background: #fef3f2;
  color: var(--danger);
}
.selected-row td {
  background: #f2faf6;
}
.metrics {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(4, minmax(160px, 1fr));
}
.metrics article {
  background: rgba(255, 255, 255, .94);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  padding: 20px;
}
.metrics span {
  color: var(--muted);
  display: block;
  font-weight: 750;
  margin-bottom: 10px;
}
.metrics strong {
  font-size: 34px;
  line-height: 1;
}
.login-page {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 24px;
}
.login-shell {
  background: rgba(255, 255, 255, .5);
  border: 1px solid rgba(255, 255, 255, .72);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  max-width: 980px;
  min-height: 590px;
  overflow: hidden;
  width: 100%;
}
.login-hero {
  background:
    linear-gradient(
      135deg,
      rgba(255, 255, 255, .12),
      transparent 34%),
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, .05) 0 1px,
      transparent 1px 18px),
    linear-gradient(
      155deg,
      #14231e,
      #0f4f43 58%,
      #c0782d);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100%;
  padding: 34px;
  position: relative;
}
.login-brand .brand-copy h1 {
  font-size: 25px;
}
.login-hero-panel {
  align-self: stretch;
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .2);
  display: grid;
  gap: 12px;
  padding: 24px;
}
.login-logo-panel {
  background: #fff;
  place-items: center;
}
.login-logo-full {
  display: block;
  max-height: 270px;
  max-width: 100%;
  object-fit: contain;
}
.login-hero-panel span,
.login-hero-panel em {
  color: rgba(255, 255, 255, .7);
  font-size: 14px;
  font-style: normal;
  font-weight: 850;
  text-transform: uppercase;
}
.login-hero-panel strong {
  font-size: clamp(38px, 5vw, 64px);
  line-height: .95;
}
.login-card {
  align-content: center;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  display: grid;
  gap: 18px;
  padding: 42px;
  width: 100%;
}
.login-card-header {
  display: grid;
  gap: 7px;
  margin-bottom: 8px;
}
.login-card-header span {
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}
.login-card-header h2 {
  font-size: 32px;
  line-height: 1.1;
  margin: 0;
}
.login-submit {
  min-height: 46px;
  width: 100%;
}
.error {
  background: #fef3f2;
  border: 1px solid #fecdca;
  border-radius: 8px;
  color: var(--danger);
  font-weight: 800;
  margin: 0;
  padding: 10px 12px;
}
.success {
  color: var(--success);
  font-weight: 800;
}
.toast-stack {
  display: grid;
  gap: 10px;
  max-width: min(520px, calc(100vw - 32px));
  position: fixed;
  right: 20px;
  top: 20px;
  width: max-content;
  z-index: 1000;
}
.toast {
  align-items: start;
  background: #ffffff;
  border: 1px solid var(--line);
  border-left: 5px solid var(--brand);
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  color: var(--ink);
  display: grid;
  font-weight: 800;
  gap: 12px;
  grid-template-columns: minmax(0, 1fr) auto;
  line-height: 1.35;
  padding: 14px 12px 14px 16px;
}
.toast-error {
  border-left-color: var(--danger);
}
.toast-success {
  border-left-color: var(--success);
}
.toast-close {
  background: transparent;
  border: 0;
  border-radius: 6px;
  box-shadow: none;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  min-height: 24px;
  padding: 0 7px;
}
.toast-close:hover {
  background: var(--brand-soft);
  box-shadow: none;
  color: var(--ink);
  transform: none;
}
.muted-line {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 4px;
}
.view dl {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(3, minmax(160px, 1fr));
  margin: 0 0 12px;
}
.view dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}
.view dd {
  margin: 4px 0 0;
}
@media (max-width: 1100px) {
  .grid-form {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
  .metrics {
    grid-template-columns: repeat(2, minmax(160px, 1fr));
  }
}
@media (max-width: 900px) {
  .shell {
    grid-template-columns: 1fr;
  }
  .sidebar {
    min-height: auto;
    position: static;
  }
  .sidebar nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .sidebar a:hover,
  .sidebar a.active {
    transform: none;
  }
  .content {
    padding: 20px;
  }
  .page-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .data-table {
    display: block;
    overflow-x: auto;
  }
  .view dl {
    grid-template-columns: 1fr;
  }
  .login-shell {
    grid-template-columns: 1fr;
    max-width: 520px;
    min-height: auto;
  }
  .login-hero {
    min-height: 260px;
    padding: 26px;
  }
  .login-card {
    padding: 30px 24px;
  }
}
@media (max-width: 620px) {
  .login-page {
    padding: 12px;
  }
  .login-hero {
    min-height: 220px;
  }
  .login-hero-panel {
    padding: 18px;
  }
  .sidebar {
    padding: 18px;
  }
  .sidebar nav,
  .metrics,
  .grid-form {
    grid-template-columns: 1fr;
  }
  .header-actions,
  .form-actions,
  .actions {
    align-items: stretch;
    flex-direction: column;
  }
  .header-actions > *,
  .form-actions > *,
  .actions > *,
  .primary-link {
    width: 100%;
  }
}
@media (max-width: 760px) {
  body {
    background: var(--bg);
  }
  button,
  .primary-link {
    min-height: 44px;
    min-width: 0;
    padding: 0 14px;
    white-space: normal;
  }
  .shell {
    display: block;
  }
  .sidebar {
    border-right: 0;
    box-shadow: 0 8px 22px rgba(18, 28, 24, .16);
    gap: 14px;
    min-height: auto;
    padding: 14px;
    position: sticky;
    top: 0;
    z-index: 50;
  }
  .brand-logo-mark {
    height: 42px;
    width: 42px;
  }
  .brand-copy h1 {
    font-size: 18px;
  }
  .brand-copy p,
  .user-card div > span {
    display: none;
  }
  .sidebar nav {
    display: flex;
    gap: 8px;
    margin: 0 -14px;
    overflow-x: auto;
    padding: 0 14px 4px;
    scrollbar-width: thin;
  }
  .sidebar a {
    flex: 0 0 auto;
    gap: 7px;
    grid-template-columns: 30px max-content;
    min-height: 40px;
    padding: 4px 10px 4px 5px;
  }
  .nav-icon {
    height: 30px;
    width: 30px;
  }
  .sidebar-footer {
    align-items: center;
    display: grid;
    gap: 8px;
    grid-template-columns: minmax(0, 1fr) auto;
  }
  .user-card {
    background: transparent;
    border-color: rgba(255, 255, 255, .08);
    grid-template-columns: 34px minmax(0, 1fr);
    padding: 6px;
  }
  .user-avatar {
    height: 34px;
    width: 34px;
  }
  .logout-button {
    min-height: 38px;
    width: auto;
  }
  .content {
    padding: 14px;
  }
  .page-header {
    gap: 12px;
    margin-bottom: 14px;
  }
  .page-header h2 {
    font-size: 24px;
  }
  .page-header p {
    font-size: 13px;
  }
  .tabs {
    flex-wrap: nowrap;
    margin: 0 -14px 14px;
    overflow-x: auto;
    padding: 0 14px 4px;
  }
  .tab-button {
    flex: 0 0 auto;
    min-height: 40px;
  }
  .panel {
    margin-bottom: 14px;
    padding: 14px;
  }
  .grid-form,
  .metrics,
  .view dl,
  .permission-grid {
    grid-template-columns: 1fr;
  }
  label.full {
    margin-top: 0;
  }
  .check {
    min-height: 44px;
  }
  .inline-picker {
    align-items: stretch;
    display: grid;
    gap: 10px;
    max-width: none;
  }
  .inline-picker label {
    min-width: 0;
  }
  .selected-list {
    display: grid;
  }
  .chip {
    border-radius: 8px;
    justify-content: space-between;
    width: 100%;
  }
  .toast-stack {
    left: 12px;
    max-width: none;
    right: 12px;
    top: 12px;
    width: auto;
  }
  .data-table,
  .size-table {
    background: transparent;
    border: 0;
    box-shadow: none;
    display: block;
    overflow: visible;
  }
  .data-table thead,
  .size-table thead {
    display: none;
  }
  .data-table tbody,
  .size-table tbody {
    display: grid;
    gap: 12px;
  }
  .data-table tr,
  .size-table tr {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    display: grid;
    overflow: hidden;
  }
  .data-table td,
  .size-table td {
    align-items: start;
    border-bottom: 1px solid var(--line);
    display: grid;
    gap: 6px;
    grid-template-columns: minmax(96px, 36%) minmax(0, 1fr);
    min-width: 0;
    padding: 10px 12px;
    word-break: break-word;
  }
  .data-table td:last-child,
  .size-table td:last-child {
    border-bottom: 0;
  }
  .data-table td[data-label]::before,
  .size-table td[data-label]::before {
    color: var(--muted);
    content: attr(data-label);
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
  }
  .data-table td.actions,
  .size-table td.actions,
  .data-table td[data-label=A\e7\f5 es],
  .size-table td[data-label=A\e7\f5 es] {
    display: grid;
    grid-template-columns: 1fr;
  }
  .data-table td.actions::before,
  .size-table td.actions::before,
  .data-table td[data-label=A\e7\f5 es]::before,
  .size-table td[data-label=A\e7\f5 es]::before {
    display: none;
  }
  .data-table .actions,
  .size-table .actions {
    align-items: stretch;
  }
  .data-table input[type=checkbox] {
    justify-self: start;
  }
  .size-table input,
  .size-table .currency-input {
    max-width: none;
    min-width: 0;
  }
  .total-line {
    font-size: 16px;
    margin-top: 14px;
    padding-top: 14px;
  }
  .metrics article {
    padding: 16px;
  }
  .metrics strong {
    font-size: 30px;
  }
  .login-shell {
    box-shadow: var(--shadow-md);
  }
  .login-hero {
    min-height: auto;
    padding: 20px;
  }
  .login-logo-panel {
    display: none;
  }
  .login-card {
    padding: 24px 18px;
  }
  .login-card-header h2 {
    font-size: 26px;
  }
}
@media (max-width: 420px) {
  .content {
    padding: 10px;
  }
  .panel {
    padding: 12px;
  }
  .sidebar {
    padding: 12px;
  }
  .sidebar nav,
  .tabs {
    margin-left: -12px;
    margin-right: -12px;
    padding-left: 12px;
    padding-right: 12px;
  }
  .data-table td,
  .size-table td {
    grid-template-columns: 1fr;
  }
  .sidebar-footer {
    grid-template-columns: 1fr;
  }
  .logout-button {
    width: 100%;
  }
}

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