/* Product surfaces share the landing identity without its marketing effects. */
html[data-amarra-layout="app"] {
  --surface: 6 37 30;
  --surface-base: 6 37 30;
  --surface-canvas: 8 43 35;
  --surface-card: 17 55 45;
  --surface-card-glass: 17 55 45;
  --surface-card-glass-alpha: 1;
  --surface-bright: 35 73 61;
  --surface-container-lowest: 4 31 25;
  --surface-container-low: 10 45 37;
  --surface-container: 25 64 53;
  --surface-container-high: 34 76 63;
  --surface-container-highest: 46 88 74;
  --on-surface: 247 243 232;
  --on-surface-variant: 186 205 194;
  --primary: 232 191 100;
  --primary-container: 232 191 100;
  --on-primary: 4 35 29;
  --on-primary-container: 4 35 29;
  --secondary: 192 210 199;
  --tertiary: 173 212 193;
  --tertiary-container: 35 73 61;
  --border-subtle: 211 226 215;
  --border-subtle-alpha: 0.13;
  --compliance-conforme: 148 216 180;
  --compliance-atencao: 240 201 120;
  --compliance-impeditivo: 255 166 170;
  --error: 255 166 170;
  --error-container: 82 40 44;
  color-scheme: dark;
}
html[data-amarra-layout="app"].light {
  --surface: 247 243 232;
  --surface-base: 247 243 232;
  --surface-canvas: 240 237 227;
  --surface-card: 253 251 245;
  --surface-card-glass: 253 251 245;
  --surface-bright: 230 229 217;
  --surface-container-lowest: 253 251 245;
  --surface-container-low: 242 240 231;
  --surface-container: 232 231 219;
  --surface-container-high: 221 224 211;
  --surface-container-highest: 207 214 199;
  --on-surface: 28 46 38;
  --on-surface-variant: 86 103 94;
  --primary: 31 83 62;
  --secondary: 51 84 68;
  --tertiary: 51 84 68;
  --tertiary-container: 224 233 217;
  --border-subtle: 29 63 48;
  --border-subtle-alpha: 0.14;
  --compliance-conforme: 35 106 74;
  --compliance-atencao: 131 89 19;
  --compliance-impeditivo: 172 53 65;
  --error: 172 53 65;
  --error-container: 251 231 230;
  color-scheme: light;
}
[data-amarra-layout="app"] body {
  background: rgb(var(--surface-base));
  font-family: "Hanken Grotesk", sans-serif;
  line-height: 1.55;
}
[data-amarra-layout="app"]
  :is(
    .font-body-sm,
    .font-body-md,
    .font-body-lg,
    .font-label-status,
    .font-label-code,
    .font-label-metric
  ) {
  font-family: "Hanken Grotesk", sans-serif;
}
[data-amarra-layout="app"] :is(.font-label-status, .font-label-code) {
  text-transform: none;
  letter-spacing: 0.015em;
}
[data-amarra-layout="app"] .font-label-metric {
  font-variant-numeric: tabular-nums;
  font-weight: 600;
}
[data-amarra-layout="app"] :is(h1, h2, h3) {
  letter-spacing: -0.025em;
}
[data-amarra-layout="app"] h1 {
  font-weight: 600;
}
[data-amarra-layout="app"] .hs-logo {
  gap: 10px;
}
[data-amarra-layout="app"] .hs-logo .brand-sun {
  width: 36px;
  height: 36px;
  color: #c29b49;
}
[data-amarra-layout="app"] .hs-logo-word {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.15em;
}
[data-amarra-layout="app"] .hs-logo-word small {
  display: block;
  margin-top: 7px;
  font-size: 8px;
  font-weight: 400;
  letter-spacing: 0.045em;
}
[data-amarra-layout="app"] header {
  background: rgb(var(--surface));
  backdrop-filter: none;
}
[data-amarra-layout="app"] #amarra-sidebar {
  --on-surface: 247 243 232;
  --on-surface-variant: 183 204 192;
  --primary: 232 191 100;
  --surface-container-high: 17 63 49;
  --border-subtle: 211 226 215;
  --border-subtle-alpha: 0.16;
  background: #042b23;
  color: #f7f3e8;
  padding: 1.6rem 1rem 1rem;
  gap: 1rem;
}
[data-amarra-layout="app"] #amarra-sidebar .hs-logo {
  color: #f7f3e8;
  margin-bottom: 1.75rem;
}
[data-amarra-layout="app"] #amarra-sidebar .brand-sun {
  color: #e8bf64;
  width: 34px;
  height: 34px;
}
[data-amarra-layout="app"] #amarra-sidebar [amarra-hook="nav"] {
  gap: 0.25rem;
}
[data-amarra-layout="app"] #amarra-sidebar [amarra-hook="nav"] > span {
  font-size: 10px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding-top: 1rem;
}
[data-amarra-layout="app"] #amarra-sidebar [amarra-hook="nav"] > a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  padding-block: 0.8rem;
  border-radius: 7px;
}
[data-amarra-layout="app"] #amarra-sidebar [amarra-hook="nav"] > a.bg-primary-container\/20 {
  background: #e8bf641b;
  box-shadow: inset 0 0 0 1px #e8bf6428;
}
[data-amarra-layout="app"] #amarra-sidebar .material-symbols-outlined {
  font-size: 19px;
}
[data-amarra-layout="app"] #amarra-sidebar [amarra-hook="theme"] {
  font-size: 10px;
  min-height: 32px;
  padding-inline: 0.6rem;
}
[data-amarra-layout="app"] .hs-workspace #amarra-main {
  padding-top: 2.5rem;
  padding-bottom: 3rem;
}
[data-amarra-layout="app"] .hs-workspace > footer {
  font-size: 11px;
  letter-spacing: 0;
  text-transform: none;
}
[data-amarra-layout="app"] #amarra-main :is(.rounded-xl, .rounded-lg) {
  border-radius: 10px;
}
[data-amarra-layout="app"] #amarra-main .bg-surface-card {
  box-shadow: 0 2px 5px #001b1205;
}
[data-amarra-layout="app"] .hs-stat {
  padding: 1.15rem;
}
[data-amarra-layout="app"] .hs-stat .font-label-metric {
  margin-top: 0.5rem;
  font-size: 27px;
  line-height: 1.2;
}
[data-amarra-layout="app"] .hs-stat .font-label-status {
  font-size: 12px;
}
[data-amarra-layout="app"] .hs-stat .text-body-sm {
  margin-top: 0.4rem;
}
[data-amarra-layout="app"] :is(a, button).bg-primary-container {
  border-radius: 7px;
}
[data-amarra-layout="app"] :is(a, button).bg-primary-container:hover {
  background: #d9b15c;
  color: #042b23;
}
[data-amarra-layout="app"] :is(button, input, textarea, select) {
  font: inherit;
}
[data-amarra-layout="app"]
  :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(
    [type="range"]
  ):not([type="submit"]):not([type="button"]):not([type="reset"]) {
  min-height: 43px;
  border-radius: 7px;
  box-shadow: none;
}
html[data-amarra-layout="app"]:not(.light)
  :is(input, textarea, select):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]):not(
    [type="range"]
  ):not([type="submit"]):not([type="button"]):not([type="reset"]),
html[data-amarra-layout="app"]:not(.light) .cais-select-search-trigger,
html[data-amarra-layout="app"]:not(.light) .cais-select-search-panel {
  background-color: #f7f3e8;
  color: #1c2e26;
  border-color: #e8bf643b;
}
[data-amarra-layout="app"] :is(input, textarea, select)[aria-invalid="true"] {
  border-color: rgb(var(--compliance-impeditivo));
}
[data-amarra-layout="app"] :focus-visible {
  outline: 2px solid #b88a31;
  outline-offset: 3px;
}
[data-amarra-layout="app"] :is(input, textarea, select):focus-visible {
  outline-offset: 1px;
}
[data-amarra-layout="app"] :is(button, input, select, textarea):disabled {
  cursor: not-allowed;
  opacity: 0.6;
}
[data-amarra-layout="app"] table {
  font-variant-numeric: tabular-nums;
}
[data-amarra-layout="app"] thead {
  background: rgb(var(--surface-container-low));
}
[data-amarra-layout="app"] th {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.015em;
  text-transform: none;
}
[data-amarra-layout="app"] tbody tr {
  transition: background-color 150ms ease-out;
}
[data-amarra-layout="app"] tbody tr:hover {
  background: rgb(var(--surface-container-low) / 0.6);
}
[data-amarra-layout="app"] .hs-auth-page #amarra-main {
  padding: 2.5rem 1.5rem;
}
[data-amarra-layout="app"] .hs-auth-shell {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  max-width: 1140px;
  margin: auto;
  min-height: 620px;
  border: 1px solid rgb(var(--border-subtle) / var(--border-subtle-alpha));
  border-radius: 18px;
  overflow: hidden;
  background: rgb(var(--surface-card));
}
[data-amarra-layout="app"] .hs-auth-brand {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 3.5rem 2.5rem 2rem;
  color: #f7f3e8;
  background: #042b23;
  overflow: hidden;
}
[data-amarra-layout="app"] .hs-auth-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: url("/static/images/solar-residence.jpg") center bottom / cover;
}
[data-amarra-layout="app"] .hs-auth-brand::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #042b23f5 5%, #042b23e8 35%, #042b2350 100%);
}
[data-amarra-layout="app"] .hs-auth-eyebrow {
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  color: #e8bf64;
  margin-bottom: 1.5rem;
}
[data-amarra-layout="app"] .hs-auth-brand h2 {
  font-size: 38px;
  line-height: 1.12;
  font-weight: 500;
}
[data-amarra-layout="app"] .hs-auth-brand h2 span {
  color: #e8bf64;
}
[data-amarra-layout="app"] .hs-auth-brand-copy > p:not(.hs-auth-eyebrow) {
  max-width: 35ch;
  font-size: 15px;
  line-height: 1.7;
  margin-top: 1.5rem;
}
[data-amarra-layout="app"] .hs-auth-brand ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 2rem;
}
[data-amarra-layout="app"] .hs-auth-brand li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 12px;
}
[data-amarra-layout="app"] .hs-auth-brand li span {
  font-size: 18px;
  color: #e8bf64;
}
[data-amarra-layout="app"] .hs-auth-back {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 12px;
  margin-top: 4rem;
  width: fit-content;
}
[data-amarra-layout="app"] .hs-auth-back:hover {
  color: #e8bf64;
}
[data-amarra-layout="app"] #amarra-main .hs-auth-card {
  max-width: none;
  align-self: center;
  padding: 3rem;
  gap: 1.5rem;
  box-shadow: none;
  border: 0;
  background: transparent;
}
[data-amarra-layout="app"] .hs-auth-card h1 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.2;
}
[data-amarra-layout="app"] .hs-auth-card .text-label-status {
  font-size: 12px;
}
[data-amarra-layout="app"] .hs-auth-card label {
  font-size: 13px;
  font-weight: 500;
  color: rgb(var(--on-surface));
}
[data-amarra-layout="app"] .hs-auth-card button[type="submit"] {
  min-height: 45px;
  margin-top: 0.5rem;
  font-weight: 600;
}
[data-amarra-layout="app"] .hs-auth-card form .gap-space-md {
  gap: 1.1rem;
}
[data-amarra-layout="app"] .hs-auth-card > p {
  line-height: 1.8;
}
@media (min-width: 1024px) {
  [data-amarra-layout="app"] .hs-workspace > footer {
    padding-left: 15rem;
  }
  [data-amarra-layout="app"] .hs-workspace #amarra-main {
    padding-left: 17rem;
  }
}
@media (max-width: 767px) {
  [data-amarra-layout="app"] .hs-auth-shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  [data-amarra-layout="app"] .hs-auth-page #amarra-main {
    padding: 1.25rem 1rem;
  }
  [data-amarra-layout="app"] .hs-auth-brand {
    padding: 1.75rem;
  }
  [data-amarra-layout="app"] .hs-auth-brand h2 {
    font-size: 28px;
  }
  [data-amarra-layout="app"] .hs-auth-eyebrow {
    margin-bottom: 1rem;
  }
  [data-amarra-layout="app"] .hs-auth-brand ul,
  [data-amarra-layout="app"] .hs-auth-brand-copy > p:not(.hs-auth-eyebrow),
  [data-amarra-layout="app"] .hs-auth-back {
    display: none;
  }
  [data-amarra-layout="app"] #amarra-main .hs-auth-card {
    padding: 2rem 1.5rem;
  }
  [data-amarra-layout="app"] header > div {
    gap: 0.7rem;
  }
  [data-amarra-layout="app"] header .hs-logo-word {
    font-size: 12px;
    letter-spacing: 0.1em;
  }
  [data-amarra-layout="app"] header .hs-logo-word small {
    font-size: 7px;
  }
  [data-amarra-layout="app"] header .hs-logo .brand-sun {
    width: 28px;
    height: 28px;
  }
  [data-amarra-layout="app"] header .gap-space-md {
    gap: 0.5rem;
  }
  [data-amarra-layout="app"] header [role="group"] {
    display: none;
  }
  [data-amarra-layout="app"] .hs-workspace #amarra-main {
    padding-top: 4.5rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  [data-amarra-layout="app"] *,
  [data-amarra-layout="app"] *::before,
  [data-amarra-layout="app"] *::after {
    transition: none !important;
    animation: none !important;
  }
}
@media print {
  [data-amarra-layout="app"] #amarra-sidebar,
  [data-amarra-layout="app"] #amarra-menu,
  [data-amarra-layout="app"] [data-amarra-tour-start] {
    display: none;
  }
  html[data-amarra-layout="app"],
  html[data-amarra-layout="app"].light {
    --surface: 255 255 255;
    --surface-base: 255 255 255;
    --surface-card: 255 255 255;
    --surface-card-glass: 255 255 255;
    --surface-bright: 255 255 255;
    --surface-container-lowest: 255 255 255;
    --surface-container-low: 255 255 255;
    --surface-container: 255 255 255;
    --surface-container-high: 255 255 255;
    --surface-container-highest: 255 255 255;
    --surface-canvas: 255 255 255;
    --on-surface: 28 46 38;
    --on-surface-variant: 86 103 94;
    --primary: 31 83 62;
    --border-subtle: 29 63 48;
    --compliance-conforme: 35 106 74;
    --compliance-atencao: 131 89 19;
    --compliance-impeditivo: 172 53 65;
    color-scheme: light;
  }
  [data-amarra-layout="app"] .hs-workspace #amarra-main {
    padding: 0;
  }
}

/* Search selects keep a native control for semantics, outside the visual layout. */
html[data-amarra-layout="app"] #amarra-main select.cais-select-search-native {
  width: 1px;
  min-width: 0;
  height: 1px;
  min-height: 0;
  padding: 0;
  border: 0;
}
