/* NexoObra UI foundation. Brand controls actions; tenant accents identify context. */
:root {
  --control-height: 40px;
  --touch-target: 44px;
  --control-radius: 9px;
  --panel-radius: 12px;
  --control-gap: 8px;
  --text-caption: 0.875rem;
  --text-control: 0.928571rem;
  --text-title: 2rem;
  --text-section: 1.285714rem;
  --ink: #18343b;
  --muted: #60747a;
  --brand: #107965;
  --brand-hover: #096653;
  --mint: #61d6bd;
  --soft: #eaf6f1;
  --canvas: #f5f8f7;
  --line: #dfe7e4;
  --surface: #fff;
  --shadow: 0 4px 20px #163c3010;
  --tenant: #277caa;
  --tenant-soft: #e9f3fa;
  font-family:
    Inter,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  font-size: 87.5%;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
}
body,
body[data-company='PA'] {
  background: var(--canvas);
  color: var(--ink);
}
body[data-company='PA'] {
  --tenant: #ad563e;
  --tenant-soft: #fbf0e9;
}
body[data-company='TE'] {
  --tenant: #277caa;
  --tenant-soft: #e9f3fa;
}
body p,
body small,
body[data-company='PA'] p,
body[data-company='PA'] small {
  color: var(--muted);
}
h1 {
  font-size: var(--text-title);
  line-height: 1.2;
  letter-spacing: -0.9px;
  font-weight: 650;
}
h2 {
  font-size: var(--text-section);
  letter-spacing: -0.35px;
  line-height: 1.35;
  font-weight: 650;
}
h3 {
  font-size: 15px;
  line-height: 1.4;
  font-weight: 650;
}
p {
  line-height: 1.65;
}
body a,
body[data-company='PA'] a {
  color: var(--brand);
}
body button,
body[data-company='PA'] button {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  border-radius: var(--control-radius);
  padding: 9px 13px;
  min-height: var(--control-height);
  font-size: var(--text-control);
  font-weight: 550;
  line-height: 1.35;
  box-shadow: 0 1px 2px #173b3005;
  transition:
    background 0.16s,
    border-color 0.16s,
    box-shadow 0.16s,
    transform 0.16s;
}
body button:hover:not(:disabled),
body[data-company='PA'] button:hover:not(:disabled) {
  background: #f0f6f3;
  border-color: #adc8bf;
  box-shadow: 0 3px 9px #173b300b;
}
body button:active:not(:disabled) {
  transform: translateY(1px);
}
body button.primary,
body[data-company='PA'] button.primary {
  background: var(--brand);
  border-color: var(--brand);
  color: #fff;
  box-shadow:
    0 2px 4px #0b6a511c,
    inset 0 1px #ffffff20;
}
body button.primary:hover:not(:disabled),
body[data-company='PA'] button.primary:hover:not(:disabled) {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
  box-shadow: 0 4px 12px #0b6a5125;
}
body button.danger {
  color: #b43f43;
}
body button:disabled {
  cursor: default;
  opacity: 0.45;
  box-shadow: none;
}
body input,
body select,
body textarea,
body[data-company='PA'] input,
body[data-company='PA'] select,
body[data-company='PA'] textarea {
  border: 1px solid #cedbd6;
  border-radius: 8px;
  color: var(--ink);
  background: #fff;
  padding: 10px 12px;
  min-height: var(--control-height);
  font-size: 14px;
  transition:
    border-color 0.16s,
    box-shadow 0.16s;
}
body input::placeholder,
body textarea::placeholder {
  color: #81928d;
}
body label {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.5;
  gap: 6px;
}
body input[type='checkbox'] {
  min-height: 18px;
  width: 18px;
  height: 18px;
  accent-color: var(--brand);
}
body :is(input, select, textarea):focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 3px #10796518;
}
body :focus-visible,
body[data-company='PA'] :focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
}
/* Quiet application shell with a strong product identity. */
body aside {
  width: 260px;
  padding: 22px 14px 16px;
  background: linear-gradient(160deg, #142f38, #10272e);
  border: 0;
  box-shadow: 5px 0 25px #16332c09;
  color: #d5e4e4;
  z-index: 5;
}
body .app-wordmark {
  margin: 0 10px 22px;
}
body .app-wordmark a {
  display: block;
}
body .app-wordmark img {
  display: block;
  width: 175px;
  height: auto;
}
body aside .brand {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #ffffff20;
  border-top: 3px solid var(--tenant);
  border-radius: 12px;
  min-height: 84px;
  padding: 12px 20px;
  margin: 0 4px 12px;
}
body aside .brand img,
body[data-company='PA'] aside .brand img {
  width: 100%;
  max-width: 170px;
  max-height: 55px;
  object-fit: contain;
  margin: 0;
}
body aside > .pill,
body[data-company='PA'] aside > .pill {
  align-self: flex-start;
  margin: 0 8px 14px;
  background: #ffffff09;
  color: #b5ceca;
  font-size: 9px;
  letter-spacing: 1.2px;
  border: 1px solid #ffffff10;
  padding: 5px 8px;
}
body .sidebar-search {
  position: relative;
  margin: 0 4px 12px;
}
body .sidebar-search input {
  background: #ffffff08;
  border-color: #ffffff16;
  color: #f0f8f5;
  padding: 10px 12px;
  font-size: 12px;
  width: 100%;
  min-height: 39px;
}
body .sidebar-search input::placeholder {
  color: #9eb7b9;
}
.sidebar-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
body .sidebar-search input:focus {
  border-color: #61d6bd;
  box-shadow: 0 0 0 3px #61d6bd15;
}
body #nav {
  margin-top: 0;
  scrollbar-width: thin;
  scrollbar-color: #45645e transparent;
}
body #nav .nav-home {
  color: #c6dad6;
  border: 1px solid transparent;
  margin: 0 4px 10px;
  border-radius: var(--control-radius);
  padding: 10px 12px;
  font-size: var(--text-control);
}
body #nav .navgroup {
  border: 0;
  margin: 0 0 6px;
  padding: 0;
}
body #nav .navgroup summary,
body[data-company='PA'] #nav .navgroup summary {
  position: relative;
  color: #aec8c6;
  font-size: 12px;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 600;
  border-radius: var(--control-radius);
  min-height: 43px;
  padding: 10px 12px;
  transition:
    background 0.16s,
    color 0.16s;
}
body #nav .navgroup summary::before {
  display: none;
}
body #nav .navgroup summary::after {
  content: '›';
  font-size: 18px;
  margin-left: auto;
  transition: transform 0.18s;
  color: #7faaa2;
}
body #nav .navgroup[open] summary::after {
  transform: rotate(90deg);
}
body #nav .navgroup summary:hover,
body #nav .navgroup[open] summary {
  background: #ffffff07;
  color: #f2faf6;
}
.nav-group-icon {
  width: 19px;
  height: 19px;
  display: inline-flex;
  flex: none;
}
.nav-group-icon svg {
  width: 19px;
  height: 19px;
}
body #nav .navitems {
  padding: 4px 4px 6px 28px;
  gap: 2px;
}
body #nav .navitems a {
  color: #b7cacc;
  padding: 9px 11px;
  border: 0;
  border-radius: 7px;
  font-size: 12px;
  line-height: 1.45;
  transition:
    background 0.16s,
    color 0.16s,
    transform 0.16s;
}
body #nav .navitems a:hover {
  background: #ffffff08;
  color: #fff;
  transform: translateX(2px);
}
body #nav a.active,
body[data-company='PA'] #nav a.active {
  color: #9ce8cf;
  background: #61d6bd16;
  border-color: #61d6bd20;
  font-weight: 600;
  box-shadow: inset 2px 0 #61d6bd;
}
body aside :focus-visible {
  outline-color: #61d6bd;
}
body #nav .nav-empty {
  padding: 15px;
  color: #c4d6d0;
  font-size: 12px;
  line-height: 1.6;
}
body .asidebottom {
  border-top: 1px solid #ffffff12;
  margin-top: 15px;
  padding: 14px 7px 0;
}
body .asidebottom strong {
  font-size: 11px;
  line-height: 1.5;
  color: #d0dfdc;
  font-weight: 500;
}
body .asidebottom p {
  font-size: 10px;
  color: #91aba8;
  margin: 6px 0 12px;
}
body .asidebottom button {
  width: 100%;
  text-align: left;
  background: #ffffff06;
  border-color: #ffffff19;
  color: #c3d9d4;
  font-size: 11px;
}
body .asidebottom button:hover {
  background: #ffffff12;
  color: #fff;
}
body main {
  margin-left: 260px;
  max-width: none;
  padding: 0 32px 26px;
}
body main > header {
  height: 72px;
  border-bottom: 1px solid var(--line);
}
body main > header > span,
body[data-company='PA'] main > header > span {
  font-size: 11px;
  letter-spacing: 0.25px;
  color: var(--muted);
  border-left: 3px solid var(--tenant);
  padding-left: 10px;
}
body main > header label {
  font-size: 11px;
  color: var(--muted);
}
body main > header input {
  background: #fff;
  max-width: 185px;
  font-size: 12px;
  min-height: 36px;
  padding: 7px 10px;
}
body .heading {
  margin: 27px 0 16px;
}
body .heading p {
  font-size: var(--text-control);
  margin-top: 6px;
}
body .heading > button {
  font-size: 11px;
  background: transparent;
  box-shadow: none;
}
body #qaIdentityStatus {
  font-size: 11px;
  margin-bottom: 12px;
  color: var(--muted);
}
body #qaIdentityStatus button {
  min-height: 28px;
  font-size: 10px;
  padding: 4px 9px;
  background: transparent;
  box-shadow: none;
}
body .module-navigation {
  border: 0;
  background: transparent;
  padding: 0;
  margin: 0 0 20px;
  gap: 8px;
  font-size: 11px;
}
body .module-navigation a {
  padding: 6px 9px;
  background: #eaf0ed;
  border-radius: 6px;
  transition: background 0.16s;
}
body .module-navigation a:hover {
  background: #dcece4;
}
body .module-navigation [aria-current] {
  padding-left: 5px;
  color: #657a71;
}
body footer,
body[data-company='PA'] footer {
  font-size: 10px;
  color: #778b83;
  padding: 15px 0;
  line-height: 1.6;
}
/* Shared surfaces and data hierarchy. */
body .panel,
body .metric,
body .executive-panel,
body .executive-kpis article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 3px 14px #163c3005;
}
body .panel {
  margin-bottom: 20px;
}
body .panelhead {
  padding: 20px 22px;
  gap: 18px;
  flex-wrap: wrap;
}
body .panelhead p {
  font-size: 12px;
  max-width: 680px;
}
body .panelhead .actions {
  gap: 6px;
  justify-content: flex-end;
}
body .panelhead .actions button {
  font-size: 11px;
  min-height: 36px;
  padding: 8px 11px;
}
body .metrics {
  gap: 14px;
  margin-bottom: 20px;
}
body .metric {
  padding: 22px;
  position: relative;
  overflow: hidden;
}
body .metric label,
body[data-company='PA'] .metric label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 500;
}
body .metric strong {
  font-size: 28px;
  letter-spacing: -1px;
  font-weight: 650;
  font-variant-numeric: tabular-nums;
  margin: 14px 0 7px;
}
body .metric small {
  font-size: 11px;
}
body .metric.focus,
body[data-company='PA'] .metric.focus {
  background: linear-gradient(130deg, #163c43, #17574c);
  border-color: #27564e;
  color: white;
}
body .metric.focus label,
body .metric.focus small,
body[data-company='PA'] .metric.focus label,
body[data-company='PA'] .metric.focus small {
  color: #b8ddd0;
}
body .workspace-card,
body .home-area {
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 2px 4px #163c3003;
  transition:
    transform 0.18s,
    border-color 0.18s,
    box-shadow 0.18s;
}
body .workspace-card:hover,
body .home-area:hover {
  border-color: #94c6b5;
  background: #fff;
  box-shadow: 0 8px 24px #0b6a5110;
  transform: translateY(-3px);
}
body .workspace-card strong {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
}
body .workspace-card span {
  font-size: 12px;
  color: var(--muted);
}
body .workspace-card small,
body[data-company='PA'] .workspace-card small {
  font-size: 11px;
  color: var(--brand);
}
body .catalog-section {
  border-color: var(--line);
  border-radius: 10px;
}
body .catalog-section > summary {
  font-size: var(--text-control);
  padding: 16px;
}
body .notice {
  background: #ecf5f1;
  border-color: #70b7a0;
  border-radius: 0 8px 8px 0;
  font-size: 12px;
  line-height: 1.65;
}
body .notice.warn {
  background: #fff8e9;
  border-color: #d8a34b;
}
body .tag {
  font-size: 10px;
  border-radius: 6px;
  padding: 5px 8px;
}
body .bar span,
body[data-company='PA'] .bar span {
  background: var(--brand);
}
body progress,
body[data-company='PA'] .progress {
  accent-color: var(--brand);
}
body .tabletools {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 14px 20px;
}
body .tabletools label {
  font-size: 11px;
  max-width: 360px;
  color: var(--muted);
}
body .tabletools input {
  font-size: 12px;
  background: #f8faf9;
  min-height: 38px;
}
body th,
body[data-company='PA'] th {
  background: #f7f9f8;
  color: #63766e;
  font-size: 10px;
  text-transform: none;
  letter-spacing: 0.1px;
  font-weight: 600;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
body td {
  padding: 14px 16px;
  font-size: 12px;
  line-height: 1.55;
  border-bottom: 1px solid #edf2ef;
  font-variant-numeric: tabular-nums;
}
body tbody tr {
  transition: background 0.14s;
}
body tbody tr:hover {
  background: #f7fbf9;
}
body .tablewrap th button,
body[data-company='PA'] .tablewrap th button {
  padding: 0;
  min-height: 28px;
  background: transparent;
  border: 0;
  box-shadow: none;
  font-size: inherit;
  color: inherit;
}
body .tablewrap th button:hover:not(:disabled) {
  background: transparent;
  box-shadow: none;
  color: var(--brand);
}
body .columnfilter,
body[data-company='PA'] .columnfilter {
  padding: 6px 8px;
  min-height: 30px;
  font-size: 11px;
  background: #fff;
  border-color: #e2e9e5;
  border-radius: 6px;
}
body .columnfilter:disabled {
  visibility: hidden;
}
body .tablewrap td button {
  font-size: 11px;
  min-height: 33px;
  padding: 6px 9px;
}
body .tablewrap td .actions {
  gap: 5px;
}
body .empty {
  padding: 45px 20px;
  color: #7a8d83;
  font-size: var(--text-control);
}
body .list-pagination {
  font-size: 11px;
  padding: 12px 18px;
  border-color: var(--line);
  background: #fcfdfc;
}
body .list-pagination label {
  font-size: 11px;
}
body .list-pagination select {
  min-height: 33px;
  font-size: 11px;
  padding: 6px 8px;
}
body .list-pagination button {
  min-height: 33px;
  font-size: 11px;
}
body [data-server-list][aria-busy='true'] {
  opacity: 0.7;
  transition: opacity 0.15s;
}
body [data-server-list] > p[role='status'] {
  padding: 20px;
  color: var(--muted);
}
/* Forms keep clear sections and predictable focus. */
body dialog,
body[data-company='PA'] dialog {
  border: 1px solid #dce8e2;
  border-radius: 18px;
  box-shadow: 0 24px 100px #0d302c40;
  color: var(--ink);
}
body dialog::backdrop {
  background: #102c35a6;
  backdrop-filter: blur(4px);
}
body .dialoghead {
  padding: 18px 24px;
  background: #fff;
  border-color: var(--line);
}
body .dialoghead h2 {
  font-size: 18px;
}
body .dialoghead button {
  font-size: 11px;
  min-height: 36px;
}
body #dialogBody {
  padding: 24px;
}
body .formgrid {
  gap: 18px 22px;
}
body .formgrid h3 {
  color: var(--brand);
  font-size: var(--text-control);
  padding-top: 20px;
  border-color: var(--line);
  letter-spacing: 0.1px;
}
body .formactions {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
body .reference-search {
  margin: 0 0 6px;
}
body .reference-search input {
  font-size: 12px;
  background: #f8faf9;
  min-height: 36px;
}
body .reference-search small {
  font-size: 10px;
  display: block;
  margin-top: 4px;
}
body .detailgrid {
  gap: 14px;
}
body .detailgrid p {
  font-size: 12px;
}
body .observation-history article {
  border-color: var(--line);
  border-left-color: #5bb497;
  border-radius: 10px;
  background: #fafcfb;
}
body .observation-history time {
  font-size: 11px;
}
body #toast,
body[data-company='PA'] #toast {
  background: #173e36;
  color: #fff;
  box-shadow: 0 8px 30px #173e3630;
  border: 1px solid #437969;
  border-radius: 12px;
  font-size: var(--text-control);
}
/* Status colours keep their meaning independently of company branding. */
body .issue-filters {
  border-color: var(--line);
  border-radius: 12px;
  box-shadow: none;
}
body .issue-toolbar h2 {
  font-size: 21px;
}
body .issue-toolbar p,
body .issue-help {
  font-size: 12px;
}
body .issue-column {
  background: #edf2ef;
  border-right-color: var(--line);
  border-left-color: var(--line);
  border-bottom-color: var(--line);
}
body .issue-card {
  border-color: #dce5df;
  border-radius: 11px;
  box-shadow: 0 2px 4px #143a3005;
  transition:
    transform 0.15s,
    box-shadow 0.15s,
    border-color 0.15s;
}
body .issue-card:hover {
  border-color: #9ec5b3;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px #143a3010;
}
body .issue-card h3 {
  font-size: var(--text-control);
  line-height: 1.5;
}
body .tracking-tabs a {
  font-size: 12px;
  border-radius: 8px;
}
body .tracking-tabs a.active {
  background: #e7f4ee;
  color: var(--brand);
  border-color: #b5d9c9;
}
body .company-home {
  --home-accent: var(--brand);
  --home-soft: var(--soft);
  --home-glow: #61d6bd;
}
body.home-view[data-company='PA'] .company-home {
  --home-accent: var(--brand);
  --home-soft: var(--soft);
  --home-glow: #61d6bd;
}
body .home-hero {
  border-radius: 20px;
  background: #132f37;
}
body .home-company-mark {
  border-bottom: 4px solid var(--tenant);
}
body .home-intro h1 {
  font-weight: 650;
  font-size: clamp(28px, 3vw, 42px);
}
body .home-area h3 {
  font-size: 15px;
}
body .home-area p {
  font-size: 12px;
}
body .home-area-tags {
  font-size: 10px;
}
body .home-section-heading h2 {
  font-size: 23px;
}
body .home-intro p {
  color: #c2d3d8;
}
body .home-start {
  color: var(--ink);
}
body .login,
body[data-company='PA'] .login {
  background: radial-gradient(ellipse at 15% 10%, #daf1e7, transparent 55%), #f5f8f7;
}
body .loginbox {
  border-color: var(--line);
  box-shadow: 0 25px 100px #173d3212;
}
body .companycard {
  border-color: var(--line);
  border-radius: 14px;
}
body .companycard:hover {
  transform: translateY(-3px);
  border-color: #85bba6;
}
@keyframes nexo-enter {
  from {
    opacity: 0;
    transform: translateY(5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body #content {
  animation: nexo-enter 0.22s ease-out;
}
body dialog[open] {
  animation: nexo-enter 0.18s ease-out;
}
body .navgroup[open] .navitems {
  animation: nexo-enter 0.16s ease-out;
}
@media (min-width: 901px) {
  body main {
    max-width: 1900px;
  }
  body .panelhead > div:first-child {
    flex: 1;
    min-width: 260px;
  }
}
@media (max-width: 1100px) and (min-width: 901px) {
  body aside {
    width: 235px;
  }
  body main {
    margin-left: 235px;
    padding-inline: 24px;
  }
  body .panelhead {
    align-items: flex-start;
  }
  body .panelhead .actions {
    justify-content: flex-start;
  }
}
@media (max-width: 900px) {
  body aside {
    position: relative;
    width: 100%;
    padding: 14px 16px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
  }
  body .app-wordmark {
    margin: 0;
  }
  body .app-wordmark img {
    width: 135px;
  }
  body aside .brand {
    margin: 0;
    min-height: 48px;
    padding: 6px 12px;
    max-width: 155px;
    border-radius: 8px;
    border-top-width: 2px;
  }
  body aside .brand img,
  body[data-company='PA'] aside .brand img {
    height: 32px;
    max-height: 32px;
    width: auto;
    max-width: 125px;
  }
  body aside > .pill {
    display: none;
  }
  body #activityMenuToggle {
    display: flex;
    grid-column: 1/-1;
    margin: 2px 0 0;
    background: #ffffff08;
    border-color: #ffffff19;
    color: #d8e8e3;
    font-size: 12px;
    min-height: 42px;
  }
  body .sidebar-search,
  body #nav {
    grid-column: 1/-1;
    width: 100%;
    margin: 0;
  }
  body:not(.mobile-nav-open) .sidebar-search {
    display: none;
  }
  body #nav .navitems {
    grid-template-columns: 1fr;
  }
  body #nav .navitems a {
    min-height: 44px;
    display: flex;
    align-items: center;
    font-size: var(--text-control);
  }
  body .asidebottom {
    grid-column: 1/-1;
    margin: 0;
    padding: 0;
    border: 0;
  }
  body:not(.mobile-nav-open) .asidebottom {
    display: none;
  }
  body .asidebottom button {
    min-height: 44px;
  }
  body main {
    margin: 0;
    padding: 0 16px 22px;
  }
  body main > header {
    height: auto;
    padding: 14px 0;
  }
  body .heading {
    margin: 22px 0 14px;
  }
  body h1 {
    font-size: 25px;
  }
  body #qaIdentityStatus {
    justify-content: flex-end;
  }
  body .panelhead {
    padding: 18px;
    gap: 14px;
  }
  body .panelhead .actions {
    justify-content: flex-start;
  }
  body .panelhead .actions button {
    min-height: var(--control-height);
  }
  body .tablewrap td {
    padding: 8px 0;
    font-size: var(--text-control);
  }
  body .tablewrap tbody tr {
    padding: 14px 18px;
  }
  body .tablewrap td:before {
    font-size: 12px;
    min-width: 90px;
    color: #677d73;
  }
  body .tablewrap td button {
    min-height: var(--control-height);
    font-size: 12px;
  }
  body input,
  body select,
  body textarea,
  body[data-company='PA'] input,
  body[data-company='PA'] select,
  body[data-company='PA'] textarea {
    font-size: 16px;
  }
  body .list-pagination {
    gap: 12px;
  }
  body .list-pagination button,
  body .list-pagination select {
    min-height: var(--control-height);
  }
  body .list-pagination label {
    font-size: 12px;
  }
  body .workspace-cards {
    grid-template-columns: 1fr;
  }
  body .issue-filters {
    grid-template-columns: 1fr 1fr;
  }
  body .home-topline {
    margin-top: 16px;
  }
  body dialog,
  body[data-company='PA'] dialog {
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    border: 0;
    border-radius: 0;
  }
  body .dialoghead {
    padding: 16px;
  }
  body #dialogBody {
    padding: 20px 16px;
  }
}
@media (max-width: 600px) {
  body .metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  body .metric {
    padding: 16px;
  }
  body .metric strong {
    font-size: 22px;
  }
  body .metric label {
    font-size: 11px;
  }
  body .metric small {
    font-size: 10px;
  }
  body .panelhead > div {
    min-width: 0;
    max-width: 100%;
  }
  body .home-intro {
    padding: 28px 23px 8px;
  }
  body .home-intro h1 {
    font-size: 32px;
  }
  body .home-section-heading h2 {
    font-size: 22px;
  }
  body .home-area {
    padding: 22px;
  }
  body .list-pagination {
    padding: 14px;
  }
  body .home-visual {
    min-height: 250px;
  }
  body .issue-toolbar {
    gap: 10px;
  }
  body .issue-toolbar h2 {
    font-size: 19px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  body .home-area:hover,
  body .workspace-card:hover,
  body .issue-card:hover,
  body #nav .navitems a:hover {
    transform: none;
  }
}

body .pill {
  background: var(--soft);
  color: var(--brand);
}
@media print {
  body dialog,
  body[data-company='PA'] dialog {
    box-shadow: none;
    border: 0;
    border-radius: 0;
    max-height: none;
    height: auto;
  }
  body .panel,
  body .metric {
    box-shadow: none;
  }
  * {
    animation: none !important;
    transition: none !important;
  }
}

body .tablewrap th button:disabled {
  opacity: 1;
  color: var(--muted);
  cursor: default;
}

/* Perspicácia Angular: orange and graphite from its logo, with the NexoObra mark intact. */
body[data-company='PA'] {
  --tenant: #f24d16;
  --tenant-soft: #fff1e9;
  --brand: #b63a10;
  --brand-hover: #942e0b;
  --soft: #fff1e9;
  --canvas: #f7f7f6;
  --ink: #343d41;
  --muted: #657074;
  --line: #e4e3df;
}
body[data-company='PA'] aside {
  background: linear-gradient(160deg, #374045, #252d31);
}
body[data-company='PA'] #nav .navgroup summary,
body[data-company='PA'] #nav .navitems a,
body[data-company='PA'] #nav .nav-home {
  color: #cdd2d4;
}
body[data-company='PA'] #nav .navgroup summary::after {
  color: #c2c9cc;
}
body[data-company='PA'] #nav a.active {
  background: #f24d1624;
  color: #ffc4ab;
  box-shadow: inset 3px 0 #f24d16;
}
body[data-company='PA'] aside :focus-visible {
  outline-color: #ffad88;
}
body[data-company='PA'] .sidebar-search input:focus {
  border-color: #ffad88;
  box-shadow: 0 0 0 3px #f24d1620;
}
body[data-company='PA'] button:hover:not(:disabled) {
  background: #fff4ed;
  border-color: #dfb5a3;
}
body[data-company='PA'] button.primary:hover:not(:disabled) {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}
body[data-company='PA'] :is(input, select, textarea):focus {
  box-shadow: 0 0 0 3px #f24d161c;
}
body[data-company='PA'] .workspace-card:hover,
body[data-company='PA'] .home-area:hover {
  border-color: #e4a082;
  box-shadow: 0 8px 24px #b63a1010;
}
body[data-company='PA'] .notice:not(.warn) {
  background: #fff5ef;
  border-color: #db825c;
}
body[data-company='PA'] th {
  background: #f5f5f3;
  color: #626b70;
}
body[data-company='PA'] tbody tr:hover {
  background: #fff9f5;
}
body[data-company='PA'] .tracking-tabs a.active {
  background: var(--soft);
  color: var(--brand);
  border-color: #efc5b1;
}
body[data-company='PA'] .metric.focus {
  background: linear-gradient(130deg, #374045, #4a3932);
  border-color: #5e4b42;
}
body[data-company='PA'] .metric.focus label,
body[data-company='PA'] .metric.focus small {
  color: #f1d9cc;
}
body.home-view[data-company='PA'] .company-home {
  --home-glow: #f6986c;
}
body[data-company='PA'] .home-hero {
  background: #303a3f;
}
body[data-company='PA'] .login {
  background: radial-gradient(ellipse at 15% 10%, #ffe5d7, transparent 55%), #f7f7f6;
}
body[data-company='PA'] #toast {
  background: #343d41;
  border-color: #687278;
  box-shadow: 0 8px 30px #343d4130;
}
body[data-company='PA'] .module-navigation a {
  background: var(--soft);
}
