/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
@layer properties {
  @supports (((-webkit-hyphens: none)) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color: rgb(from red r g b)))) {
    *, :before, :after, ::backdrop {
      --tw-rotate-x: initial;
      --tw-rotate-y: initial;
      --tw-rotate-z: initial;
      --tw-skew-x: initial;
      --tw-skew-y: initial;
      --tw-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: Inter, ui-sans-serif, system-ui, "Segoe UI", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: .25rem;
    --default-transition-duration: .15s;
    --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}

@layer base {
  *, :after, :before, ::backdrop {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  ::file-selector-button {
    box-sizing: border-box;
    border: 0 solid;
    margin: 0;
    padding: 0;
  }

  html, :host {
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    line-height: 1.5;
    font-family: var(--default-font-family, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji");
    font-feature-settings: var(--default-font-feature-settings, normal);
    font-variation-settings: var(--default-font-variation-settings, normal);
    -webkit-tap-highlight-color: transparent;
  }

  hr {
    height: 0;
    color: inherit;
    border-top-width: 1px;
  }

  abbr:where([title]) {
    -webkit-text-decoration: underline dotted;
    text-decoration: underline dotted;
  }

  h1, h2, h3, h4, h5, h6 {
    font-size: inherit;
    font-weight: inherit;
  }

  a {
    color: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    -webkit-text-decoration: inherit;
    text-decoration: inherit;
  }

  b, strong {
    font-weight: bolder;
  }

  code, kbd, samp, pre {
    font-family: var(--default-mono-font-family, ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace);
    font-feature-settings: var(--default-mono-font-feature-settings, normal);
    font-variation-settings: var(--default-mono-font-variation-settings, normal);
    font-size: 1em;
  }

  small {
    font-size: 80%;
  }

  sub, sup {
    vertical-align: baseline;
    font-size: 75%;
    line-height: 0;
    position: relative;
  }

  sub {
    bottom: -.25em;
  }

  sup {
    top: -.5em;
  }

  table {
    text-indent: 0;
    border-color: inherit;
    border-collapse: collapse;
  }

  :-moz-focusring {
    outline: auto;
  }

  progress {
    vertical-align: baseline;
  }

  summary {
    display: list-item;
  }

  ol, ul, menu {
    list-style: none;
  }

  img, svg, video, canvas, audio, iframe, embed, object {
    vertical-align: middle;
    display: block;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }

  button, input, select, optgroup, textarea {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    opacity: 1;
    background-color: #0000;
    border-radius: 0;
  }

  :where(select:is([multiple], [size])) optgroup {
    font-weight: bolder;
  }

  :where(select:is([multiple], [size])) optgroup option {
    padding-inline-start: 20px;
  }

  ::file-selector-button {
    margin-inline-end: 4px;
  }

  ::placeholder {
    opacity: 1;
  }

  @supports (not ((-webkit-appearance: -apple-pay-button))) or (contain-intrinsic-size: 1px) {
    ::placeholder {
      color: currentColor;
    }

    @supports (color: color-mix(in lab, red, red)) {
      ::placeholder {
        color: color-mix(in oklab, currentcolor 50%, transparent);
      }
    }
  }

  textarea {
    resize: vertical;
  }

  ::-webkit-search-decoration {
    -webkit-appearance: none;
  }

  ::-webkit-date-and-time-value {
    min-height: 1lh;
    text-align: inherit;
  }

  ::-webkit-datetime-edit {
    display: inline-flex;
  }

  ::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
  }

  ::-webkit-datetime-edit {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-year-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-month-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-day-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-hour-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-minute-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-second-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-millisecond-field {
    padding-block: 0;
  }

  ::-webkit-datetime-edit-meridiem-field {
    padding-block: 0;
  }

  ::-webkit-calendar-picker-indicator {
    line-height: 1;
  }

  :-moz-ui-invalid {
    box-shadow: none;
  }

  button, input:where([type="button"], [type="reset"], [type="submit"]) {
    appearance: button;
  }

  ::file-selector-button {
    appearance: button;
  }

  ::-webkit-inner-spin-button {
    height: auto;
  }

  ::-webkit-outer-spin-button {
    height: auto;
  }

  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}

@layer components;

@layer utilities {
  .mt-4 {
    margin-top: calc(var(--spacing) * 4);
  }

  .mt-6 {
    margin-top: calc(var(--spacing) * 6);
  }

  .mr-2 {
    margin-right: calc(var(--spacing) * 2);
  }

  .mb-4 {
    margin-bottom: calc(var(--spacing) * 4);
  }

  .flex {
    display: flex;
  }

  .grid {
    display: grid;
  }

  .transform {
    transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
  }

  .flex-wrap {
    flex-wrap: wrap;
  }

  .rounded {
    border-radius: .25rem;
  }

  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }

  .filter {
    filter: var(--tw-blur, ) var(--tw-brightness, ) var(--tw-contrast, ) var(--tw-grayscale, ) var(--tw-hue-rotate, ) var(--tw-invert, ) var(--tw-saturate, ) var(--tw-sepia, ) var(--tw-drop-shadow, );
  }

  .backdrop-filter {
    -webkit-backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
    backdrop-filter: var(--tw-backdrop-blur, ) var(--tw-backdrop-brightness, ) var(--tw-backdrop-contrast, ) var(--tw-backdrop-grayscale, ) var(--tw-backdrop-hue-rotate, ) var(--tw-backdrop-invert, ) var(--tw-backdrop-opacity, ) var(--tw-backdrop-saturate, ) var(--tw-backdrop-sepia, );
  }

  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}

@layer keyframes {
  @keyframes enter {
    from {
      opacity: var(--p-enter-opacity, 1);
      transform: translate3d(var(--p-enter-translate-x, 0), var(--p-enter-translate-y, 0), 0) scale3d(var(--p-enter-scale, 1), var(--p-enter-scale, 1), var(--p-enter-scale, 1)) rotate(var(--p-enter-rotate, 0));
    }
  }

  @keyframes leave {
    to {
      opacity: var(--p-leave-opacity, 1);
      transform: translate3d(var(--p-leave-translate-x, 0), var(--p-leave-translate-y, 0), 0) scale3d(var(--p-leave-scale, 1), var(--p-leave-scale, 1), var(--p-leave-scale, 1)) rotate(var(--p-leave-rotate, 0));
    }
  }

  @keyframes fadein {
    0% {
      opacity: 0;
    }

    100% {
      opacity: 1;
    }
  }

  @keyframes fadeout {
    0% {
      opacity: 1;
    }

    100% {
      opacity: 0;
    }
  }

  @keyframes infinite-scroll {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-100%);
    }
  }

  @keyframes scalein {
    0% {
      opacity: 0;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: scaleY(.8);
    }

    100% {
      opacity: 1;
      transform: scaleY(1);
    }
  }

  @keyframes slidedown {
    0% {
      max-height: 0;
    }

    100% {
      max-height: auto;
    }
  }

  @keyframes slideup {
    0% {
      max-height: 1000px;
    }

    100% {
      max-height: 0;
    }
  }

  @keyframes fadeinleft {
    0% {
      opacity: 0;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: translateX(-100%);
    }

    100% {
      opacity: 1;
      transform: translateX(0%);
    }
  }

  @keyframes fadeoutleft {
    0% {
      opacity: 1;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: translateX(0%);
    }

    100% {
      opacity: 0;
      transform: translateX(-100%);
    }
  }

  @keyframes fadeinright {
    0% {
      opacity: 0;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: translateX(100%);
    }

    100% {
      opacity: 1;
      transform: translateX(0%);
    }
  }

  @keyframes fadeoutright {
    0% {
      opacity: 1;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: translateX(0%);
    }

    100% {
      opacity: 0;
      transform: translateX(100%);
    }
  }

  @keyframes fadeinup {
    0% {
      opacity: 0;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: translateY(-100%);
    }

    100% {
      opacity: 1;
      transform: translateY(0%);
    }
  }

  @keyframes fadeoutup {
    0% {
      opacity: 1;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: translateY(0%);
    }

    100% {
      opacity: 0;
      transform: translateY(-100%);
    }
  }

  @keyframes fadeindown {
    0% {
      opacity: 0;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: translateY(100%);
    }

    100% {
      opacity: 1;
      transform: translateY(0%);
    }
  }

  @keyframes fadeoutdown {
    0% {
      opacity: 1;
      transition: transform .12s cubic-bezier(0, 0, .2, 1), opacity .12s cubic-bezier(0, 0, .2, 1);
      transform: translateY(0%);
    }

    100% {
      opacity: 0;
      transform: translateY(100%);
    }
  }

  @keyframes width {
    0% {
      width: 0;
    }

    100% {
      width: 100%;
    }
  }

  @keyframes flip {
    from {
      transform: perspective(2000px) rotateX(-100deg);
    }

    to {
      transform: perspective(2000px) rotateX(0);
    }
  }

  @keyframes flipleft {
    from {
      opacity: 0;
      transform: perspective(2000px) rotateY(-100deg);
    }

    to {
      opacity: 1;
      transform: perspective(2000px) rotateY(0);
    }
  }

  @keyframes flipright {
    from {
      opacity: 0;
      transform: perspective(2000px) rotateY(100deg);
    }

    to {
      opacity: 1;
      transform: perspective(2000px) rotateY(0);
    }
  }

  @keyframes flipup {
    from {
      opacity: 0;
      transform: perspective(2000px) rotateX(-100deg);
    }

    to {
      opacity: 1;
      transform: perspective(2000px) rotateX(0);
    }
  }

  @keyframes zoomin {
    from {
      opacity: 0;
      transform: scale3d(.3, .3, .3);
    }

    50% {
      opacity: 1;
    }
  }

  @keyframes zoomindown {
    from {
      opacity: 0;
      transform: scale3d(.1, .1, .1) translate3d(0, -1000px, 0);
    }

    60% {
      opacity: 1;
      transform: scale3d(.475, .475, .475) translate3d(0, 60px, 0);
    }
  }

  @keyframes zoominleft {
    from {
      opacity: 0;
      transform: scale3d(.1, .1, .1) translate3d(-1000px, 0, 0);
    }

    60% {
      opacity: 1;
      transform: scale3d(.475, .475, .475) translate3d(10px, 0, 0);
    }
  }
}

:root {
  --app-bg: #eef4f5;
  --app-sidebar: #fff;
  --app-sidebar-soft: #f0f6f5;
  --app-surface: #fff;
  --app-surface-strong: #fff;
  --app-surface-soft: #f8fbfb;
  --app-border: #dbe7e6;
  --app-border-strong: #c6d7d5;
  --app-text: #102321;
  --app-muted: #657876;
  --app-primary: #3f7864;
  --app-primary-strong: #2f604f;
  --app-cyan: #4f94a7;
  --app-indigo: #627aa6;
  --app-amber: #b56f14;
  --app-rose: #ba435a;
  --app-shadow: 0 18px 42px #263f3e14;
  --app-shadow-soft: 0 8px 22px #263f3e14;
  --app-focus: 0 0 0 3px #4f94a72e, 0 0 0 1px #3f786461;
  color: var(--app-text);
  background: var(--app-bg);
  font-synthesis: none;
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-family: Inter, ui-sans-serif, system-ui, Segoe UI, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--app-bg);
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
}

button, input {
  font: inherit;
}

p, h1, h2, h3 {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

h1 {
  color: var(--app-text);
  letter-spacing: 0;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.15;
}

h2 {
  color: var(--app-text);
  letter-spacing: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

#app {
  min-height: 100vh;
}

.filters {
  align-items: center;
  gap: .75rem;
  display: flex;
}

.search-field {
  width: min(320px, 36vw);
}

.filters {
  justify-content: flex-end;
  margin-bottom: 1rem;
}

.indicators {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin-bottom: 1rem;
  display: grid;
}

.content-grid {
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: start;
  gap: 1rem;
  display: grid;
}

.stack {
  gap: 1rem;
  display: grid;
}

.panel-header {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  padding: 1rem;
  display: flex;
}

.panel-header p {
  font-size: .86rem;
  font-weight: 600;
}

.form-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  min-width: 0;
  padding: 1rem;
  display: grid;
}

.form-grid > *, .subsection > *, .reception-tab-panel > * {
  min-width: 0;
}

.form-grid.single {
  grid-template-columns: 1fr;
}

.field {
  gap: .4rem;
  display: grid;
}

.field > span {
  font-size: .82rem;
  font-weight: 700;
}

.span-2 {
  grid-column: span 2;
}

.span-4 {
  grid-column: span 4;
}

.form-actions {
  justify-content: flex-end;
  gap: .75rem;
  padding: 1rem;
  display: flex;
}

.form-actions.span-2 {
  padding: 0;
}

.subsection {
  gap: .75rem;
  padding: 0 1rem 1rem;
  display: grid;
}

.reception-form {
  gap: 0;
}

.quality-strip {
  grid-template-columns: 1.1fr 1.1fr .8fr;
  gap: 0;
  display: grid;
}

.quality-strip > div {
  gap: .25rem;
  min-width: 0;
  padding: .85rem 1rem;
  display: grid;
}

.quality-strip span {
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 800;
}

.quality-strip strong {
  overflow-wrap: anywhere;
  font-size: .9rem;
}

.form-message {
  margin: 1rem 1rem 0;
}

.reception-tabs {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .75rem;
  padding: 1rem;
  display: grid;
}

.reception-tab {
  text-align: left;
  cursor: pointer;
  grid-template-columns: 38px minmax(0, 1fr);
  align-items: center;
  gap: .72rem;
  min-height: 78px;
  padding: .75rem .86rem;
  transition: border-color .16s, background .16s, box-shadow .16s, transform .16s;
  display: grid;
  position: relative;
  overflow: hidden;
}

.reception-tab:before {
  content: "";
  opacity: 0;
  width: 3px;
  transition: opacity .16s, transform .16s;
  position: absolute;
  inset: 10px auto 10px 0;
  transform: translateX(-4px);
}

.reception-tab:hover, .reception-tab.is-active {
  transform: translateY(-1px);
}

.reception-tab:hover:before, .reception-tab.is-active:before {
  opacity: 1;
  transform: translateX(0);
}

.reception-tab .app-icon {
  place-items: center;
  width: 38px;
  height: 38px;
  display: grid;
}

.reception-tab span {
  gap: .15rem;
  min-width: 0;
  display: grid;
}

.reception-tab strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
  line-height: 1.1;
  overflow: hidden;
}

.reception-tab small {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .76rem;
  font-weight: 750;
  line-height: 1.2;
  overflow: hidden;
}

.reception-tab-panel {
  min-width: 0;
  animation: .22s both surface-in;
}

.reception-tab-panel > .section-title {
  padding-top: 1rem;
}

.reception-tab-footer {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: .75rem 1rem;
  display: flex;
}

.reception-tab-footer > span {
  text-align: center;
  min-width: 52px;
  font-family: SFMono-Regular, Consolas, Liberation Mono, monospace;
  font-size: .82rem;
  font-weight: 850;
}

.sample-workspace {
  padding: 0 1rem;
  display: grid;
}

.sample-tabs {
  gap: .75rem;
  padding: 1rem;
  display: grid;
}

.sample-tabs-list {
  align-items: stretch;
  gap: .65rem;
  min-width: 0;
  padding-bottom: .15rem;
  display: flex;
  overflow-x: auto;
}

.sample-tab {
  text-align: left;
  cursor: pointer;
  flex: 0 0 172px;
  align-content: center;
  gap: .18rem;
  min-height: 74px;
  padding: .72rem .82rem;
  transition: border-color .16s, background .16s, box-shadow .16s, transform .16s;
  display: grid;
  position: relative;
}

.sample-tab:before {
  content: "";
  width: 4px;
  position: absolute;
  inset: 0 auto 0 0;
}

.sample-tab:hover, .sample-tab.is-active {
  transform: translateY(-1px);
}

.sample-tab span {
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
  font-size: .72rem;
  font-weight: 900;
  overflow: hidden;
}

.sample-tab strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .92rem;
  line-height: 1.12;
  overflow: hidden;
}

.sample-tab-actions {
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  font-size: .84rem;
  font-weight: 800;
  display: flex;
}

.sample-action-buttons {
  flex-wrap: wrap;
  align-items: center;
  gap: .35rem;
  display: flex;
}

.sample-form-grid {
  padding-top: 1.15rem;
}

.workflow-summary {
  grid-template-columns: .8fr 1.2fr 1fr;
  display: grid;
}

.workflow-summary > div {
  gap: .2rem;
  min-width: 0;
  padding: .85rem 1rem;
  display: grid;
}

.workflow-summary span, .workflow-step small {
  text-transform: uppercase;
  font-size: .76rem;
  font-weight: 800;
}

.workflow-summary strong {
  overflow-wrap: anywhere;
  font-size: .92rem;
}

.workflow-layout {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  display: grid;
}

.workflow-rail {
  padding: .5rem;
  display: grid;
}

.workflow-step {
  cursor: pointer;
  text-align: left;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: .65rem;
  width: 100%;
  min-height: 64px;
  padding: .65rem;
  transition: background .16s, transform .16s, box-shadow .16s;
  display: grid;
  position: relative;
}

.workflow-step:hover, .workflow-step.is-active {
  transform: translateX(2px);
}

.workflow-step:disabled {
  cursor: not-allowed;
}

.workflow-step.is-locked {
  opacity: .68;
}

.workflow-step strong {
  line-height: 1.2;
  display: block;
}

.workflow-dot {
  place-items: center;
  width: 30px;
  height: 30px;
  font-size: .76rem;
  font-weight: 900;
  display: grid;
}

.workflow-panel {
  min-width: 0;
}

.result-review {
  gap: 0;
}

.result-context-strip, .result-score-strip {
  min-width: 0;
  display: grid;
}

.result-context-strip {
  grid-template-columns: 1fr 1.25fr 1fr 1fr .85fr;
}

.result-score-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.result-context-strip > div, .result-score-strip > div {
  align-content: center;
  gap: .22rem;
  min-width: 0;
  min-height: 78px;
  padding: .85rem 1rem;
  display: grid;
}

.result-context-strip span, .result-score-strip span {
  text-transform: uppercase;
  font-size: .74rem;
  font-weight: 900;
}

.result-context-strip strong, .result-score-strip strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.result-score-strip strong {
  font-family: JetBrains Mono, SFMono-Regular, Consolas, monospace;
  font-size: 1.1rem;
}

.result-alerts {
  gap: .6rem;
  padding: .85rem 1rem;
  display: grid;
}

.result-grid {
  min-width: 0;
}

.result-line-main, .result-value-stack, .result-decision-cell {
  gap: .16rem;
  min-width: 0;
  display: grid;
}

.result-line-main strong, .result-line-main span, .result-line-main small, .result-value-stack strong, .result-value-stack span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.result-line-main span, .result-line-main small, .result-value-stack span, .result-decision-cell small {
  font-size: .78rem;
  font-weight: 720;
}

.result-metro {
  grid-template-columns: repeat(2, minmax(64px, 1fr));
  gap: .28rem;
  display: grid;
}

.result-metro span {
  min-height: 26px;
  padding: .26rem .42rem;
  font-family: JetBrains Mono, SFMono-Regular, Consolas, monospace;
  font-size: .74rem;
  font-weight: 850;
}

.result-action-buttons {
  grid-template-columns: repeat(4, 34px);
  gap: .28rem;
  display: grid;
}

.result-action-buttons .p-button {
  width: 34px;
  height: 34px;
}

.result-reason {
  padding: 1rem;
}

.result-decision-panel {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.locked-state {
  text-align: center;
  place-items: center;
  gap: .35rem;
  min-height: 260px;
  padding: 2rem;
  display: grid;
}

.locked-state .app-icon {
  place-items: center;
  width: 42px;
  height: 42px;
  display: grid;
}

.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: start;
  gap: 1rem;
  display: grid;
}

.detail-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.detail-grid > div {
  gap: .25rem;
  min-width: 0;
  display: grid;
}

.detail-grid span {
  font-size: .8rem;
  font-weight: 700;
}

.detail-grid strong {
  overflow-wrap: anywhere;
  font-size: .95rem;
}

.inline-form {
  grid-template-columns: minmax(110px, .7fr) minmax(140px, 1fr) auto;
  gap: .75rem;
  padding: 1rem;
  display: grid;
}

.unit-form {
  grid-template-columns: minmax(90px, .65fr) minmax(140px, 1fr) auto auto;
  align-items: center;
}

.unit-active-row {
  min-height: 2.5rem;
  padding-inline: .25rem;
}

.checkbox-row {
  align-items: center;
  gap: .6rem;
  min-height: 42px;
  display: flex;
}

.checkbox-row span {
  font-size: .9rem;
}

.admin-users-layout {
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, .65fr);
  align-items: start;
  gap: 1rem;
  display: grid;
}

.admin-toolbar, .table-actions {
  align-items: center;
  gap: .6rem;
  display: flex;
}

.admin-toolbar {
  justify-content: flex-end;
}

.user-identity {
  gap: .15rem;
  min-width: 0;
  display: grid;
}

.user-identity strong, .user-identity span {
  overflow-wrap: anywhere;
}

.user-identity span {
  font-size: .82rem;
}

.tag-list, .role-checklist {
  flex-wrap: wrap;
  gap: .45rem;
  display: flex;
}

.role-checklist {
  padding: .25rem 0;
}

.compact-fields {
  gap: .75rem;
}

.password-form {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .75rem;
  padding: 1rem;
  display: grid;
}

.password-form .p-password, .password-form .p-password-input {
  width: 100%;
}

.client-workspace {
  grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr);
  align-items: start;
  gap: 1rem;
  display: grid;
}

.client-page {
  align-items: stretch;
  gap: 1rem;
  height: 100%;
  min-height: 0;
  display: grid;
}

.client-page.is-list-page {
  grid-template-rows: auto minmax(0, 1fr);
}

.client-page.is-detail-page {
  grid-template-rows: minmax(0, 1fr);
}

.client-dashboard-panel {
  overflow: hidden;
}

.client-dashboard-heading {
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.2rem;
  display: flex;
}

.client-dashboard-heading h2 {
  margin-top: .12rem;
  font-size: clamp(1.7rem, 3vw, 2.8rem);
  line-height: .98;
}

.client-dashboard-heading p {
  max-width: 620px;
  margin: .35rem 0 0;
  font-weight: 700;
}

.client-kpi-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  display: grid;
}

.client-kpi-card {
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: .9rem;
  min-height: 132px;
  padding: 1.1rem 1.2rem;
  display: grid;
  position: relative;
}

.client-kpi-card .app-icon {
  place-items: center;
  width: 54px;
  height: 54px;
  display: grid;
}

.client-kpi-card div {
  gap: .2rem;
  min-width: 0;
  display: grid;
}

.client-kpi-card span {
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 900;
}

.client-kpi-card strong {
  font-family: JetBrains Mono, SFMono-Regular, Consolas, monospace;
  font-size: clamp(2.1rem, 4vw, 3.4rem);
  line-height: .95;
}

.client-kpi-card small {
  font-weight: 720;
}

.client-directory-panel {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.client-single-stack {
  grid-template-rows: minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  display: grid;
}

.client-operations {
  grid-template-columns: minmax(420px, .82fr) minmax(0, 1.18fr);
}

.client-side-panel {
  min-width: 0;
}

.client-directory-toolbar {
  align-items: center;
}

.client-toolbar-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .75rem;
  display: flex;
}

.page-count {
  white-space: nowrap;
  align-items: center;
  min-height: 34px;
  padding: 0 .7rem;
  font-size: .8rem;
  font-weight: 850;
  display: inline-flex;
}

.client-directory .p-datatable-tbody > tr {
  cursor: pointer;
}

.client-actions {
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.client-record-panel {
  flex-direction: column;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.client-record-summary {
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1.28fr);
  gap: 0;
  display: grid;
}

.client-summary-main {
  align-content: center;
  gap: .55rem;
  min-width: 0;
  padding: 1.15rem;
  display: grid;
}

.client-summary-title {
  flex-wrap: wrap;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  display: flex;
}

.client-summary-title strong {
  font-size: 1.85rem;
  line-height: .95;
}

.client-summary-main p {
  margin: 0;
  font-weight: 750;
}

.client-summary-meta {
  flex-wrap: wrap;
  gap: .5rem;
  min-width: 0;
  display: flex;
}

.client-summary-meta span {
  text-overflow: ellipsis;
  white-space: nowrap;
  align-items: center;
  gap: .35rem;
  max-width: 100%;
  min-height: 30px;
  padding: 0 .62rem;
  font-size: .78rem;
  font-weight: 800;
  display: inline-flex;
  overflow: hidden;
}

.client-summary-meta .app-icon {
  flex: none;
}

.client-signal-strip {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-width: 0;
  display: grid;
}

.client-signal {
  align-content: center;
  gap: .25rem;
  min-width: 0;
  min-height: 116px;
  padding: 1rem;
  display: grid;
}

.client-signal span {
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
}

.client-signal strong, .client-signal small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.client-signal strong {
  font-size: 1rem;
}

.client-signal small {
  font-weight: 700;
}

.client-record-lede {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  display: grid;
}

.client-record-lede > div {
  align-content: center;
  gap: .28rem;
  min-width: 0;
  min-height: 96px;
  padding: 1rem;
  display: grid;
}

.client-record-lede strong, .client-record-lede small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.client-record-lede strong {
  font-size: 1.05rem;
}

.client-record-lede small {
  font-size: .82rem;
  font-weight: 650;
}

.client-empty {
  text-align: center;
  place-items: center;
  min-height: 320px;
  padding: 2rem;
  display: grid;
}

.client-empty > div {
  gap: .75rem;
  max-width: 360px;
  display: grid;
}

.client-overview, .billing-summary {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
}

.client-overview {
  grid-template-columns: 1fr 1fr 1.2fr 1.1fr;
}

.client-overview > div, .billing-summary > div {
  align-content: center;
  gap: .28rem;
  min-height: 78px;
  padding: .85rem 1rem;
  display: grid;
}

.client-overview span, .billing-summary span, .client-detail-grid span {
  text-transform: uppercase;
  font-size: .75rem;
  font-weight: 850;
}

.client-overview strong, .billing-summary strong {
  font-size: 1.05rem;
  line-height: 1.1;
}

.billing-summary strong {
  font-size: 1.25rem;
}

.client-detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  display: grid;
}

.client-detail-grid > div {
  gap: .2rem;
  min-width: 0;
  padding: 1rem;
  display: grid;
}

.client-detail-grid strong, .client-detail-grid small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.client-identity-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-operational-grid {
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
  display: grid;
}

.client-section {
  min-width: 0;
}

.client-dossiers-panel, .client-billing-panel, .client-tariff-panel {
  flex-direction: column;
  display: flex;
}

.client-directory-panel .p-datatable, .client-dossiers-panel .p-datatable, .client-billing-panel .p-datatable, .client-tariff-panel .p-datatable {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
}

.client-directory-panel .p-datatable-table-container, .client-dossiers-panel .p-datatable-table-container, .client-billing-panel .p-datatable-table-container, .client-tariff-panel .p-datatable-table-container {
  flex: auto;
}

.client-directory-panel .p-datatable .p-paginator, .client-dossiers-panel .p-datatable .p-paginator, .client-billing-panel .p-datatable .p-paginator, .client-tariff-panel .p-datatable .p-paginator {
  margin-top: auto;
}

.client-tabs {
  align-items: center;
  gap: .55rem;
  padding: .82rem 1rem;
  display: flex;
  overflow-x: auto;
}

.client-tab-button {
  cursor: pointer;
  white-space: nowrap;
  align-items: center;
  gap: .5rem;
  min-height: 40px;
  padding: 0 .72rem;
  font-weight: 850;
  transition: border-color .16s, background .16s, color .16s, transform .16s;
  display: inline-flex;
}

.client-tab-button:hover, .client-tab-button.is-active {
  transform: translateY(-1px);
}

.client-tab-button small {
  place-items: center;
  min-width: 22px;
  height: 22px;
  padding: 0 .38rem;
  font-size: .72rem;
  font-weight: 900;
  display: inline-grid;
}

.client-tab-panel {
  min-width: 0;
  animation: .22s both surface-in;
}

.client-focus-summary {
  grid-template-columns: 1fr;
}

.client-focus-summary .client-summary-main {
  min-height: 144px;
}

.client-priority-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  display: grid;
}

.client-priority {
  align-content: center;
  gap: .25rem;
  min-width: 0;
  min-height: 112px;
  padding: 1rem;
  display: grid;
}

.client-priority span, .client-synthesis-item span {
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
}

.client-priority strong, .client-priority small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.client-priority strong {
  font-size: 1rem;
}

.client-priority small, .client-synthesis-item p {
  font-weight: 700;
}

.client-record-body {
  flex: auto;
  grid-template-columns: 216px minmax(0, 1fr);
  min-width: 0;
  min-height: 0;
  display: grid;
}

.client-section-nav {
  align-content: start;
  gap: .48rem;
  padding: .9rem;
  display: grid;
}

.client-section-nav .client-tab-button {
  text-align: left;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: .68rem;
  width: 100%;
  min-height: 58px;
  padding: .55rem .62rem;
  display: grid;
}

.client-section-nav .client-tab-button .app-icon {
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.client-section-nav .client-tab-button > span {
  gap: .12rem;
  min-width: 0;
  display: grid;
}

.client-section-nav .client-tab-button strong, .client-section-nav .client-tab-button small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.client-section-nav .client-tab-button strong {
  font-size: .88rem;
}

.client-section-nav .client-tab-button small {
  font-size: .72rem;
  font-weight: 750;
}

.client-section-nav .client-tab-button em {
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding: 0 .38rem;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
  display: inline-grid;
}

.client-section-nav .client-tab-button:hover, .client-section-nav .client-tab-button.is-active {
  transform: none;
}

.client-section-content {
  min-width: 0;
  min-height: 0;
}

.client-tab-panel {
  min-height: 100%;
}

.client-synthesis-grid {
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, .85fr);
  gap: 0;
  min-height: 100%;
  display: grid;
}

.client-synthesis-item {
  align-content: start;
  gap: .5rem;
  min-width: 0;
  min-height: 148px;
  padding: 1rem;
  display: grid;
}

.client-synthesis-item.is-main {
  min-height: 184px;
}

.client-synthesis-item strong {
  font-size: 1.18rem;
  line-height: 1.15;
}

.client-synthesis-item p {
  margin: 0;
}

.client-section-heading {
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  display: flex;
}

.client-section-heading h3 {
  font-size: .95rem;
  font-weight: 850;
}

.client-section-heading p {
  font-size: .84rem;
  font-weight: 650;
}

.client-section-heading.compact {
  padding: 0 0 .25rem;
}

.client-tariff-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, .38fr);
  gap: 0;
  min-width: 0;
  min-height: 100%;
  display: grid;
}

.client-tariff-form {
  align-content: start;
  gap: .85rem;
  min-width: 0;
  padding: 1rem;
  display: grid;
}

.client-tariff-form .form-actions {
  padding: 0;
}

.reference-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: 1rem;
  display: flex;
}

.reference-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}

.reference-stats > div {
  gap: .15rem;
  padding: .85rem 1rem;
  display: grid;
}

.reference-stats span {
  text-transform: uppercase;
  font-size: .78rem;
  font-weight: 700;
}

.reference-stats strong {
  font-size: 1.35rem;
  line-height: 1;
}

.client-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-form {
  gap: 0;
  display: grid;
}

.section-title {
  letter-spacing: 0;
  text-transform: uppercase;
  padding: 1rem 1rem 0;
  font-size: .86rem;
  font-weight: 800;
}

.code-field {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .5rem;
  display: grid;
}

.client-active-row {
  align-self: end;
  min-height: 42px;
}

.table-link {
  font-weight: 700;
}

.billing-page {
  grid-template-rows: auto auto auto auto;
  align-content: start;
  gap: 1rem;
  height: auto;
  min-height: 100%;
  display: grid;
}

.billing-command {
  grid-template-columns: minmax(360px, .34fr) minmax(0, 1fr);
  gap: 0;
  display: grid;
  overflow: hidden;
}

.billing-command-copy {
  align-content: center;
  gap: .35rem;
  min-height: 126px;
  padding: 1.15rem;
  display: grid;
}

.billing-command-copy h2 {
  font-size: clamp(1.9rem, 2.8vw, 2.75rem);
  font-weight: 950;
  line-height: .98;
}

.billing-command-copy p {
  max-width: 540px;
  font-weight: 720;
}

.billing-kpis {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  display: grid;
}

.billing-kpis article {
  align-content: center;
  gap: .2rem;
  min-width: 0;
  min-height: 126px;
  padding: 1rem;
  display: grid;
}

.billing-kpis .app-icon {
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.billing-kpis span, .billing-create-strip span, .billing-detail-strip span {
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
}

.billing-kpis strong {
  font-family: JetBrains Mono, SFMono-Regular, Consolas, monospace;
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: .95;
}

.billing-kpis small, .billing-create-strip small {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 720;
  overflow: hidden;
}

.billing-section-tabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .6rem;
  padding: .7rem;
  display: grid;
}

.billing-section-tab {
  cursor: pointer;
  text-align: left;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: .65rem;
  min-height: 54px;
  padding: .55rem .68rem;
  transition: background .16s, box-shadow .16s, transform .16s;
  display: grid;
}

.billing-section-tab:hover, .billing-section-tab.is-active {
  transform: translateY(-1px);
}

.billing-section-tab .app-icon {
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.billing-section-tab span {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 900;
  overflow: hidden;
}

.billing-section-tab strong {
  place-items: center;
  min-width: 28px;
  height: 28px;
  padding: 0 .42rem;
  font-family: JetBrains Mono, SFMono-Regular, Consolas, monospace;
  font-size: .78rem;
  display: inline-grid;
}

.billing-workbench {
  grid-template-columns: minmax(360px, .82fr) minmax(0, 1.18fr);
  align-items: start;
  gap: 1rem;
  min-width: 0;
  display: grid;
}

.billing-detail-panel {
  grid-column: 1 / -1;
  min-height: 360px;
}

.billing-billable-panel, .billing-invoices-panel {
  min-height: 360px;
}

.billing-billable-panel, .billing-invoices-panel, .billing-detail-panel, .billing-tariff-panel, .billing-tariff-form-panel {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.billing-billable-panel .p-datatable, .billing-invoices-panel .p-datatable, .billing-detail-panel .p-datatable, .billing-tariff-panel .p-datatable {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
}

.billing-billable-panel .p-datatable-table-container, .billing-invoices-panel .p-datatable-table-container, .billing-detail-panel .p-datatable-table-container, .billing-tariff-panel .p-datatable-table-container {
  flex: auto;
}

.billing-billable-panel .p-datatable-tbody > tr, .billing-invoices-panel .p-datatable-tbody > tr {
  cursor: pointer;
}

.billing-create-strip {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: .8rem;
  padding: .9rem 1rem;
  display: grid;
}

.billing-create-strip > div:first-child, .billing-detail-strip > div {
  gap: .18rem;
  min-width: 0;
  display: grid;
}

.billing-create-strip strong, .billing-detail-strip strong {
  font-family: JetBrains Mono, SFMono-Regular, Consolas, monospace;
  font-size: 1.3rem;
  line-height: 1;
}

.billing-create-fields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .65rem;
  display: grid;
}

.billing-create-strip > .p-button {
  justify-self: start;
}

.billing-detail-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: .5rem;
  display: flex;
}

.billing-detail-strip {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  display: grid;
}

.billing-detail-strip > div {
  min-height: 82px;
  padding: .9rem 1rem;
}

.billing-edit-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: end;
  gap: .75rem;
  padding: 1rem;
  display: grid;
}

.billing-tariff-layout {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .34fr);
  gap: 1rem;
  min-height: 0;
  display: grid;
}

.billing-tariff-form, .billing-settings-form {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .85rem;
  padding: 1rem;
  display: grid;
}

.billing-tariff-form .form-actions {
  grid-column: 1 / -1;
  padding: 0;
}

.billing-settings-panel {
  align-self: start;
}

.billing-settings-form {
  max-width: 860px;
}

.bench-workspace {
  grid-template-rows: auto auto minmax(0, 1fr);
  gap: 1rem;
  height: 100%;
  min-height: 0;
  display: grid;
}

.bench-command {
  grid-template-columns: minmax(420px, .42fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  display: grid;
  overflow: hidden;
}

.bench-command-copy {
  align-content: center;
  gap: .5rem;
  min-height: 118px;
  padding: 1rem 1.15rem;
  display: grid;
}

.bench-command-copy h2 {
  font-size: clamp(1.9rem, 2.7vw, 2.6rem);
  font-weight: 950;
  line-height: 1;
}

.bench-command-copy p {
  font-weight: 700;
}

.bench-command-status {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-height: 100%;
  display: grid;
  overflow: hidden;
}

.bench-command-status > div {
  align-content: center;
  gap: .25rem;
  min-height: 118px;
  padding: 1rem;
  display: grid;
}

.bench-command-status span {
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
}

.bench-command-status strong {
  font-family: JetBrains Mono, SFMono-Regular, Consolas, monospace;
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1;
}

.bench-main-layout {
  grid-template-columns: minmax(390px, .36fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 1rem;
  height: 100%;
  min-height: 0;
  display: grid;
}

.bench-list-panel, .bench-detail-container {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
  overflow: hidden;
}

.bench-detail-container {
  gap: 0;
}

.bench-detail-container > .panel-header, .bench-list-panel > .panel-header, .bench-batch-toolbar, .bench-header-strip, .bench-blockers {
  flex: none;
}

.bench-trace-panel {
  min-width: 0;
}

.bench-list-panel .p-datatable {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
}

.bench-list-panel .p-datatable-table-container {
  flex: auto;
  overflow: auto;
}

.bench-list-panel .p-datatable .p-paginator {
  margin-top: auto;
}

.bench-tabs .p-tablist {
  flex: none;
  overflow: hidden;
}

.bench-tabs .p-tablist-content, .bench-tabs .p-tablist-tab-list {
  width: 100%;
  min-width: 0;
}

.bench-tabs .p-tablist-tab-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  display: grid;
}

.bench-tabs .p-tab {
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-bottom-width: 2px;
  justify-content: center;
  align-items: center;
  gap: .45rem;
  width: 100%;
  min-width: 0;
  height: 64px;
  min-height: 64px;
  padding: 0 .9rem;
  display: inline-flex;
  overflow: hidden;
}

.bench-tabs .p-tab > .app-icon {
  flex: none;
  margin-right: 0 !important;
}

.bench-tabs .p-tab.p-tab-active, .bench-tabs .p-tab:hover {
  border-bottom-width: 2px;
}

.bench-tabs .p-tabpanels {
  flex: auto;
  min-height: 0;
  padding: 0;
  overflow: auto;
}

.bench-tabs, .bench-tabs .p-tabs {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
}

.bench-tabs .p-tabpanel {
  min-height: 100%;
}

.bench-list-panel .p-datatable-tbody > tr {
  cursor: pointer;
}

.bench-batch-toolbar {
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  display: flex;
}

.bench-batch-toolbar span {
  font-size: .82rem;
  font-weight: 850;
}

.bench-sheet-cell {
  gap: .1rem;
  min-width: 0;
  display: grid;
}

.bench-sheet-cell strong, .bench-sheet-cell span {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.bench-sheet-cell span {
  font-size: .78rem;
}

.bench-header-strip {
  grid-template-columns: .8fr 1.2fr 1.1fr 1fr;
  display: grid;
}

.bench-header-strip > div {
  gap: .2rem;
  min-width: 0;
  padding: .85rem 1rem;
  display: grid;
}

.bench-header-strip span {
  text-transform: uppercase;
  font-size: .72rem;
  font-weight: 900;
}

.bench-header-strip strong {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.bench-blockers {
  gap: .5rem;
  padding: .85rem 1rem;
  display: grid;
}

.bench-blockers > div {
  align-items: center;
  gap: .5rem;
  font-weight: 850;
  display: flex;
}

.bench-split {
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  display: grid;
}

.bench-form-section {
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  display: flex;
}

.bench-side-stack {
  align-content: start;
  min-width: 0;
  display: grid;
}

.bench-fields {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .85rem;
  padding: 1rem;
  display: grid;
}

.bench-form-section > .form-actions {
  z-index: 2;
  margin-top: auto;
  position: sticky;
  bottom: 0;
}

.bench-incident-form {
  gap: .65rem;
  padding: 1rem;
  display: grid;
}

.bench-audit-list {
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.bench-audit-list li {
  gap: .18rem;
  padding: .85rem 1rem;
  display: grid;
}

.bench-audit-list strong {
  font-size: .88rem;
}

.bench-audit-list span, .bench-audit-list small {
  font-size: .8rem;
  line-height: 1.35;
}

.bench-quality-correction {
  gap: 0;
  display: grid;
}

.bench-quality-correction .field {
  padding: 1rem;
}

.bench-trace-content {
  gap: 0;
  display: grid;
}

.bench-resource-list, .bench-qc-list {
  gap: .65rem;
  padding: 1rem;
  display: grid;
}

.bench-resource-row, .bench-qc-row {
  gap: .5rem;
  padding: .65rem;
  display: grid;
}

.bench-resource-row {
  grid-template-columns: minmax(120px, .7fr) minmax(140px, 1fr) minmax(120px, .8fr) minmax(100px, .7fr);
}

.bench-resource-row .p-button {
  justify-self: end;
}

.bench-qc-row {
  grid-template-columns: minmax(140px, .8fr) minmax(120px, 1fr) minmax(100px, .7fr);
}

.bench-empty {
  text-align: center;
  align-content: center;
  place-items: center;
  gap: .5rem;
  min-height: 420px;
  padding: 2rem;
  display: grid;
}

.bench-empty.compact {
  min-height: 260px;
}

.bench-empty .app-icon {
  place-items: center;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  display: grid;
}

.metrology-toolbar {
  grid-template-columns: minmax(0, 1fr) minmax(150px, .7fr) auto;
  gap: .6rem;
  padding: .75rem 1rem;
  display: grid;
}

.metrology-main-layout {
  grid-template-columns: minmax(400px, .34fr) minmax(0, 1fr);
}

.metrology-list-panel .p-datatable {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
}

.metrology-list-panel .p-datatable-table-container {
  flex: auto;
  overflow: auto;
}

.metrology-header-strip, .metrology-tabs .p-tablist-tab-list, .metrology-form-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.metrology-specific-block {
  grid-column: 1 / -1;
  gap: .85rem;
  min-width: 0;
  padding-top: .25rem;
  display: grid;
}

.metrology-specific-heading {
  justify-content: space-between;
  align-items: end;
  gap: .75rem;
  min-width: 0;
  display: flex;
}

.metrology-specific-heading h3 {
  margin: 0;
  font-size: .92rem;
  font-weight: 850;
}

.metrology-specific-heading span {
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 750;
  overflow: hidden;
}

.metrology-specific-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  min-width: 0;
  display: grid;
}

.metrology-two-column {
  grid-template-columns: minmax(0, 1fr) minmax(360px, .42fr);
  min-height: 100%;
  display: grid;
}

.metrology-section {
  flex-direction: column;
  min-width: 0;
  min-height: 0;
  display: flex;
}

.metrology-section .p-datatable {
  min-height: 0;
}

.metrology-intervention-grid, .metrology-requirement-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metrology-impact-actions {
  align-items: center;
  gap: .6rem;
  display: flex;
}

.metrology-impact-actions .p-inputtext {
  width: 220px;
}

.metrology-impact-footer {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 1rem;
  padding: 1rem;
  display: grid;
}

.card-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  display: grid;
}

.entity-card {
  gap: .5rem;
  padding: 1rem;
  display: grid;
}

.sample-panel {
  min-width: 0;
}

.animal-cell {
  gap: .1rem;
  display: grid;
}

.animal-cell strong {
  font-weight: 700;
}

.animal-cell span {
  font-size: .8rem;
}

.activity-panel {
  min-height: 100%;
}

.activity-list {
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
}

.activity-list li {
  grid-template-columns: 14px minmax(0, 1fr);
  gap: .75rem;
  padding: 1rem;
  transition: background .16s;
  display: grid;
}

.activity-list strong {
  font-size: .92rem;
  display: block;
}

.activity-list p {
  font-size: .84rem;
  line-height: 1.45;
}

.activity-dot {
  width: 10px;
  height: 10px;
  margin-top: .35rem;
}

.reference-admin {
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: start;
  gap: 1rem;
  display: grid;
}

.reference-category-panel {
  gap: .35rem;
  padding-bottom: .75rem;
  display: grid;
  position: sticky;
  top: 1rem;
}

.category-row {
  cursor: pointer;
  text-align: left;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  width: calc(100% - 1.5rem);
  min-height: 54px;
  margin: 0 .75rem;
  padding: .65rem .75rem;
  transition: background .16s, box-shadow .16s, transform .16s;
  display: flex;
}

.category-row:hover, .category-row.is-active {
  transform: translateX(2px);
}

.category-row span {
  gap: .12rem;
  min-width: 0;
  display: grid;
}

.category-row strong, .category-row small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.reference-active-row {
  align-self: end;
  min-height: 42px;
}

.ui-tabs {
  width: 100%;
  min-width: 0;
  display: block;
}

.ui-tabs .p-tablist {
  background: none;
  border: 0;
  width: 100%;
}

.ui-tabs .p-tablist-content, .ui-tabs .p-tablist-tab-list {
  background: none;
  border: 0;
  width: 100%;
  min-width: 0;
}

.ui-tabs .p-tablist-tab-list {
  grid-template-columns: var(--ui-tabs-columns, repeat(auto-fit, minmax(176px, 1fr)));
  gap: .65rem;
  padding: .72rem;
  display: grid;
}

.ui-tabs .p-tab {
  text-align: left;
  cursor: pointer;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  justify-content: stretch;
  align-items: center;
  gap: .65rem;
  width: 100%;
  min-width: 0;
  min-height: 64px;
  padding: .62rem .72rem;
  transition: border-color .16s, background .16s, box-shadow .16s, transform .16s;
  display: grid;
  overflow: hidden;
}

.ui-tabs .p-tab > .app-icon {
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.ui-tab-copy {
  gap: .12rem;
  min-width: 0;
  display: grid;
}

.ui-tab-copy strong, .ui-tab-copy small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.ui-tab-copy strong {
  font-size: .9rem;
  font-weight: 900;
  line-height: 1.12;
}

.ui-tab-copy small {
  font-size: .72rem;
  font-weight: 750;
  line-height: 1.15;
}

.ui-tabs .p-tab em, .ui-selectable-row em {
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 .42rem;
  font-family: JetBrains Mono, SFMono-Regular, Consolas, monospace;
  font-size: .74rem;
  font-style: normal;
  font-weight: 900;
  display: inline-grid;
}

.ui-tabs .p-tab:hover, .ui-tabs .p-tab.p-tab-active {
  transform: translateY(-1px);
}

.ui-tabs-compact .p-tablist-tab-list {
  padding: 0;
  display: flex;
  overflow-x: auto;
}

.ui-tabs-compact .p-tab {
  flex: 0 0 176px;
  min-height: 72px;
}

.ui-tabs-rail .p-tablist-tab-list {
  grid-template-columns: 1fr;
  padding: 0;
}

.ui-tabs-rail .p-tab {
  min-height: 58px;
}

.bench-tabs {
  flex-direction: column;
  flex: auto;
  min-height: 0;
  display: flex;
}

.bench-tab-panels {
  flex: auto;
  min-height: 0;
  overflow: auto;
}

.bench-tab-panel {
  min-height: 100%;
  animation: .22s both surface-in;
}

.ui-metric-grid {
  grid-template-columns: var(--ui-metrics-columns, repeat(auto-fit, minmax(160px, 1fr)));
  min-width: 0;
  display: grid;
}

.ui-metric-card {
  align-content: center;
  gap: .25rem;
  min-width: 0;
  display: grid;
}

.ui-metric-card > .app-icon {
  place-items: center;
  display: grid;
}

.ui-metric-card > div {
  gap: .12rem;
  min-width: 0;
  display: grid;
}

.ui-metric-card span, .ui-metric-card small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.ui-status-tag {
  max-width: 100%;
}

.ui-empty-state {
  text-align: center;
  place-items: center;
  gap: .55rem;
  min-height: 220px;
  padding: 1.5rem;
  display: grid;
}

.ui-empty-state.compact {
  min-height: 180px;
}

.ui-empty-state .app-icon {
  width: 42px;
  height: 42px;
}

.ui-empty-state strong {
  font-size: 1rem;
}

.ui-empty-state span {
  max-width: 420px;
  font-size: .86rem;
  font-weight: 700;
}

.ui-selectable-list {
  gap: .35rem;
  padding: 0 .75rem .75rem;
  display: grid;
}

.ui-selectable-row {
  cursor: pointer;
  text-align: left;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem;
  width: 100%;
  min-height: 54px;
  padding: .65rem .75rem;
  transition: background .16s, box-shadow .16s, transform .16s;
  display: grid;
}

.ui-selectable-row:hover, .ui-selectable-row.is-active {
  transform: translateX(2px);
}

.ui-selectable-row span {
  gap: .12rem;
  min-width: 0;
  display: grid;
}

.ui-selectable-row strong, .ui-selectable-row small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

.ui-step-nav {
  gap: .65rem;
  padding: .85rem;
  display: grid;
}

.ui-step-nav-item {
  text-align: left;
  cursor: pointer;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: .7rem;
  min-height: 58px;
  padding: .65rem;
  transition: background .16s, box-shadow .16s, transform .16s;
  display: grid;
}

.ui-step-nav-item:disabled {
  cursor: not-allowed;
}

.ui-step-nav-dot {
  place-items: center;
  width: 32px;
  height: 32px;
  display: grid;
}

.ui-step-nav-item > span:last-child {
  gap: .12rem;
  min-width: 0;
  display: grid;
}

.ui-step-nav-item strong, .ui-step-nav-item small {
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@media (min-width: 1720px) {
  .client-record-lede {
    grid-template-columns: 1fr 1.2fr 1fr 1fr;
  }

  .client-operational-grid {
    grid-template-columns: minmax(0, 1.26fr) minmax(360px, .74fr);
  }

  .billing-workbench {
    grid-template-columns: minmax(440px, .68fr) minmax(440px, .72fr) minmax(640px, 1.35fr);
  }

  .billing-detail-panel {
    grid-column: auto;
  }

  .bench-grid {
    grid-template-columns: minmax(420px, .9fr) minmax(560px, 1.18fr) minmax(420px, .9fr);
  }

  .bench-trace-panel {
    grid-column: auto;
  }

  .bench-split {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .55fr);
  }
}

@keyframes surface-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, :before, :after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 1120px) {
  .content-grid, .indicators, .detail-grid, .card-grid, .admin-users-layout, .client-workspace, .billing-command, .billing-workbench, .billing-tariff-layout, .bench-command, .bench-grid, .bench-split, .reference-admin, .quality-strip {
    grid-template-columns: 1fr 1fr;
  }

  .reference-category-panel {
    position: static;
  }

  .activity-panel {
    grid-column: 1 / -1;
  }

  .two-column, .workflow-layout {
    grid-template-columns: 1fr;
  }

  .result-context-strip, .result-score-strip, .result-decision-panel {
    grid-template-columns: 1fr 1fr;
  }

  .workflow-rail {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-record-summary, .client-kpi-grid, .client-focus-summary {
    grid-template-columns: 1fr;
  }

  .client-priority-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-record-body, .client-tariff-layout {
    grid-template-columns: 1fr;
  }

  .client-section-nav {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
    overflow-x: auto;
  }

  .client-signal-strip, .reception-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .client-operations, .client-operational-grid, .bench-main-layout, .metrology-main-layout, .metrology-two-column, .bench-grid, .bench-split {
    grid-template-columns: 1fr;
  }

  .bench-trace-panel {
    grid-column: auto;
  }

  .bench-resource-row, .bench-qc-row, .metrology-form-grid, .metrology-intervention-grid, .metrology-requirement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .filters, .reference-toolbar, .client-dashboard-heading, .client-section-heading {
    flex-direction: column;
    align-items: stretch;
  }

  .client-toolbar-actions {
    justify-content: flex-start;
    align-items: stretch;
  }

  .page-count {
    justify-content: center;
  }

  .search-field {
    width: 100%;
  }

  .indicators, .content-grid, .detail-grid, .form-grid, .card-grid, .admin-users-layout, .client-workspace, .client-record-lede, .client-record-summary, .client-kpi-grid, .client-identity-strip, .client-operational-grid, .client-priority-strip, .client-signal-strip, .client-synthesis-grid, .bench-command, .bench-main-layout, .metrology-main-layout, .metrology-two-column, .metrology-toolbar, .metrology-form-grid, .metrology-intervention-grid, .metrology-requirement-grid, .metrology-impact-footer, .bench-grid, .bench-split, .bench-fields, .bench-header-strip, .bench-resource-row, .bench-qc-row, .reference-admin, .password-form, .reference-stats, .client-overview, .billing-summary, .client-detail-grid, .quality-strip, .workflow-summary, .result-context-strip, .result-score-strip, .result-decision-panel, .workflow-rail, .reception-tabs {
    grid-template-columns: 1fr;
  }

  .bench-command-status, .billing-kpis {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .billing-section-tabs, .billing-create-strip, .billing-create-fields, .billing-detail-strip, .billing-edit-grid, .billing-tariff-form, .billing-settings-form {
    grid-template-columns: 1fr;
  }

  .bench-command-status > div {
    min-height: 76px;
  }

  .bench-tabs .p-tablist {
    overflow: auto hidden;
  }

  .bench-tabs .p-tablist-content {
    min-width: max-content;
  }

  .bench-tabs .p-tablist-tab-list {
    grid-template-columns: none;
    grid-auto-columns: 188px;
    grid-auto-flow: column;
    width: max-content;
    min-width: 100%;
  }

  .bench-tabs .p-tab {
    width: 188px;
    height: 58px;
    min-height: 58px;
    padding: 0 .75rem;
  }

  .client-section-nav {
    grid-template-columns: 1fr;
  }

  .span-2, .span-4 {
    grid-column: span 1;
  }

  .sample-workspace {
    padding: 0 1rem;
  }

  .sample-tabs-list, .sample-tab-actions, .sample-action-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .sample-tab {
    flex-basis: auto;
    width: 100%;
  }

  .reception-tab-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .inline-form {
    grid-template-columns: 1fr;
  }
}

@property --tw-rotate-x {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-y {
  syntax: "*";
  inherits: false
}

@property --tw-rotate-z {
  syntax: "*";
  inherits: false
}

@property --tw-skew-x {
  syntax: "*";
  inherits: false
}

@property --tw-skew-y {
  syntax: "*";
  inherits: false
}

@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

@property --tw-blur {
  syntax: "*";
  inherits: false
}

@property --tw-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-invert {
  syntax: "*";
  inherits: false
}

@property --tw-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-sepia {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false
}

@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}

@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false
}

@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false
}
.theme-agrosoft {
  --as-canvas: #eef4f4;
  --as-canvas-soft: #f6f9f9;
  --as-sidebar: #ffffff;
  --as-surface: #ffffff;
  --as-surface-subtle: #f8fbfb;
  --as-surface-muted: #f0f6f5;
  --as-control: #ffffff;
  --as-control-hover: #f3f8f6;
  --as-control-active: #e8f4ef;
  --as-line: #dbe7e6;
  --as-line-strong: #c6d7d5;
  --as-text: #102321;
  --as-text-soft: #445755;
  --as-muted: #657876;
  --as-primary: #3f7864;
  --as-primary-strong: #2f604f;
  --as-primary-soft: #e8f4ef;
  --as-horizon: #4f94a7;
  --as-horizon-soft: #e7f3f7;
  --as-warning: #b56f14;
  --as-danger: #ba435a;
  --as-success: #2f8359;
  --as-radius: 8px;
  --as-radius-sm: 6px;
  --as-sidebar-width: 280px;
  --as-topbar-height: 76px;
  --as-shadow-panel: 0 18px 42px rgba(38, 63, 62, 0.08);
  --as-shadow-raised: 0 18px 36px rgba(38, 63, 62, 0.12);
  --as-focus: 0 0 0 3px rgba(79, 148, 167, 0.18), 0 0 0 1px rgba(63, 120, 100, 0.38);
  --app-bg: var(--as-canvas);
  --app-sidebar: var(--as-sidebar);
  --app-sidebar-soft: var(--as-surface-muted);
  --app-surface: var(--as-surface);
  --app-surface-strong: var(--as-surface);
  --app-surface-soft: var(--as-surface-subtle);
  --app-border: var(--as-line);
  --app-border-strong: var(--as-line-strong);
  --app-text: var(--as-text);
  --app-muted: var(--as-muted);
  --app-primary: var(--as-primary);
  --app-primary-strong: var(--as-primary-strong);
  --app-cyan: var(--as-horizon);
  --app-indigo: #627aa6;
  --app-amber: var(--as-warning);
  --app-rose: var(--as-danger);
  --app-shadow: var(--as-shadow-panel);
  --app-shadow-soft: 0 8px 22px rgba(38, 63, 62, 0.08);
  --app-focus: var(--as-focus);
  color: var(--as-text);
  background: var(--as-canvas);
}

.auth-theme-shell {
  min-height: 100vh;
  background:
    linear-gradient(135deg, rgba(79, 148, 167, 0.1), transparent 42%),
    linear-gradient(180deg, #f8fbfb, var(--as-canvas));
}

.app-shell.theme-agrosoft {
  display: grid;
  grid-template-columns: var(--as-sidebar-width) minmax(0, 1fr);
  width: 100%;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(63, 120, 100, 0.06), transparent 30%),
    linear-gradient(180deg, var(--as-canvas-soft), var(--as-canvas));
}

.app-shell.theme-agrosoft::before,
.app-shell.theme-agrosoft::after,
.app-shell.theme-agrosoft .sidebar::before,
.app-shell.theme-agrosoft .sidebar::after {
  display: none;
}

.theme-agrosoft .sidebar {
  position: sticky;
  top: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100vh;
  min-height: 100vh;
  padding: 1rem;
  overflow: hidden;
  color: var(--as-text);
  background: var(--as-sidebar);
  border-right: 1px solid var(--as-line);
  box-shadow: 10px 0 32px rgba(38, 63, 62, 0.05);
}

.theme-agrosoft .brand {
  min-height: 64px;
  padding: 0 0 0.9rem;
  border-bottom: 1px solid var(--as-line);
}

.theme-agrosoft .brand-mark {
  width: 48px;
  height: 48px;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  color: var(--as-primary-strong);
  background: linear-gradient(135deg, var(--as-primary-soft), var(--as-horizon-soft));
  box-shadow: none;
  font-weight: 900;
}

.theme-agrosoft .brand-name {
  color: var(--as-text);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0;
}

.theme-agrosoft .brand-meta {
  color: var(--as-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.theme-agrosoft .main-nav {
  display: grid;
  gap: 0.35rem;
}

.theme-agrosoft .nav-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: var(--as-radius);
  padding: 0.42rem 0.55rem;
  color: var(--as-text-soft);
  background: transparent;
  font-weight: 760;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.theme-agrosoft .nav-item::before {
  display: none;
}

.theme-agrosoft .nav-item .app-icon {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius-sm);
  color: var(--as-primary);
  background: var(--as-surface-subtle);
}

.theme-agrosoft .nav-item:hover,
.theme-agrosoft .nav-item.is-active {
  border-color: var(--as-line);
  color: var(--as-text);
  background: var(--as-control-active);
  transform: translateX(2px);
}

.theme-agrosoft .nav-item:hover .app-icon,
.theme-agrosoft .nav-item.is-active .app-icon {
  border-color: rgba(63, 120, 100, 0.28);
  color: var(--as-primary-strong);
  background: #ffffff;
}

.theme-agrosoft .workspace {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  height: 100vh;
  min-height: 0;
  padding: 1rem clamp(1rem, 1.8vw, 1.5rem);
  overflow: auto;
}

.theme-agrosoft .topbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-between;
  min-height: var(--as-topbar-height);
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  padding: 0.85rem 1rem;
  color: var(--as-text);
  background: var(--as-surface);
  box-shadow: var(--as-shadow-panel);
}

.theme-agrosoft .topbar-title {
  min-width: 0;
}

.theme-agrosoft .eyebrow,
.theme-agrosoft .command-kicker,
.theme-agrosoft .field > span,
.theme-agrosoft .panel-header p,
.theme-agrosoft .client-section-heading p,
.theme-agrosoft .muted,
.theme-agrosoft .user-identity span,
.theme-agrosoft .category-row small {
  color: var(--as-muted);
}

.theme-agrosoft h1 {
  color: var(--as-text);
  font-size: clamp(2rem, 3vw, 2.75rem);
  font-weight: 920;
  letter-spacing: 0;
  line-height: 0.98;
}

.theme-agrosoft h2 {
  color: var(--as-text);
  font-size: 1.08rem;
  font-weight: 860;
  letter-spacing: 0;
}

.theme-agrosoft .app-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
}

.theme-agrosoft .app-icon > svg {
  display: block;
}

.theme-agrosoft .topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.theme-agrosoft .session-pill,
.theme-agrosoft .page-count {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-height: 34px;
  border: 1px solid var(--as-line);
  border-radius: 999px;
  padding: 0 0.75rem;
  color: var(--as-primary-strong);
  background: var(--as-primary-soft);
  font-size: 0.78rem;
  font-weight: 850;
}

.theme-agrosoft .panel,
.theme-agrosoft .metric,
.theme-agrosoft .analysis-card,
.theme-agrosoft .command-overview,
.theme-agrosoft .client-record-panel,
.theme-agrosoft .client-edit-panel,
.theme-agrosoft .bench-command {
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  background: var(--as-surface);
  box-shadow: var(--as-shadow-panel);
}

.theme-agrosoft .panel,
.theme-agrosoft .command-overview {
  overflow: hidden;
}

.theme-agrosoft .panel-header,
.theme-agrosoft .reference-toolbar,
.theme-agrosoft .client-dashboard-heading,
.theme-agrosoft .client-section-heading,
.theme-agrosoft .bench-batch-toolbar {
  border-bottom: 1px solid var(--as-line);
  background: var(--as-surface-subtle);
}

.theme-agrosoft .command-overview {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  gap: 1rem;
  align-items: stretch;
  min-height: 240px;
  padding: 1rem;
}

.theme-agrosoft .command-overview::before,
.theme-agrosoft .analysis-card::before,
.theme-agrosoft .metric::before {
  display: none;
}

.theme-agrosoft .command-copy {
  display: grid;
  align-content: center;
  gap: 0.65rem;
  min-width: 0;
}

.theme-agrosoft .command-kicker {
  width: max-content;
  border: 1px solid var(--as-line);
  border-radius: 999px;
  padding: 0.32rem 0.58rem;
  color: var(--as-primary-strong);
  background: var(--as-primary-soft);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-agrosoft .command-copy h2 {
  max-width: none;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 0.95;
}

.theme-agrosoft .command-copy p {
  color: var(--as-text-soft);
  font-weight: 640;
}

.theme-agrosoft .command-status {
  display: grid;
  grid-template-columns: 1fr;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  background: var(--as-surface-subtle);
}

.theme-agrosoft .command-status > div {
  display: grid;
  align-content: center;
  gap: 0.2rem;
  border-color: var(--as-line);
  border-bottom: 1px solid var(--as-line);
  min-height: 54px;
  padding: 0.55rem 0.8rem;
}

.theme-agrosoft .command-status > div:last-child {
  border-bottom: 0;
}

.theme-agrosoft .command-status span,
.theme-agrosoft .analysis-card-main span,
.theme-agrosoft .analysis-card-meta span,
.theme-agrosoft .metric span,
.theme-agrosoft .reference-stats span,
.theme-agrosoft .quality-strip span,
.theme-agrosoft .detail-grid span,
.theme-agrosoft .client-kpi-card span,
.theme-agrosoft .client-signal span,
.theme-agrosoft .client-priority span,
.theme-agrosoft .client-synthesis-item span,
.theme-agrosoft .client-overview span,
.theme-agrosoft .billing-summary span {
  color: var(--as-muted);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-agrosoft .command-status strong,
.theme-agrosoft .analysis-card-meta strong,
.theme-agrosoft .metric strong,
.theme-agrosoft .reference-stats strong,
.theme-agrosoft .billing-summary strong {
  color: var(--as-text);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.theme-agrosoft .command-status strong {
  font-size: 1.55rem;
  line-height: 1;
}

.theme-agrosoft .analysis-float-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.theme-agrosoft .analysis-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.85rem;
  min-height: 154px;
  padding: 1rem;
  overflow: hidden;
}

.theme-agrosoft .analysis-animal-mark,
.theme-agrosoft .analysis-card-main,
.theme-agrosoft .analysis-card-meta {
  position: relative;
  z-index: 1;
}

.theme-agrosoft .analysis-card-main {
  display: grid;
  min-width: 0;
  gap: 0.25rem;
}

.theme-agrosoft .analysis-card-main strong {
  overflow: hidden;
  color: var(--as-text);
  font-size: 1rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-agrosoft .analysis-card-main code {
  display: inline-flex;
  width: max-content;
  max-width: 100%;
  border: 1px solid var(--as-line);
  border-radius: 999px;
  padding: 0.28rem 0.52rem;
  color: #31566a;
  background: var(--as-horizon-soft);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 800;
  overflow: hidden;
  text-overflow: ellipsis;
}

.theme-agrosoft .analysis-card-meta {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 0.65fr 0.45fr 1fr;
  gap: 0.55rem;
}

.theme-agrosoft .analysis-card-meta > div {
  display: grid;
  gap: 0.18rem;
  min-width: 0;
  border-top: 1px solid var(--as-line);
  padding-top: 0.7rem;
}

.theme-agrosoft .analysis-card-meta strong {
  overflow: hidden;
  color: var(--as-text);
  font-size: 0.9rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-agrosoft .analysis-card-horizon .analysis-animal-mark {
  color: #406b7d;
  background: var(--as-horizon-soft);
}

.theme-agrosoft .analysis-card-mint .analysis-animal-mark {
  color: var(--as-success);
  background: var(--as-primary-soft);
}

.theme-agrosoft .analysis-card-pearl .analysis-animal-mark {
  color: #63707b;
  background: var(--as-surface-muted);
}

.theme-agrosoft .analysis-card,
.theme-agrosoft .metric {
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.theme-agrosoft .metric {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 96px;
  gap: 0.9rem;
  padding: 1rem;
  overflow: hidden;
}

.theme-agrosoft .analysis-card:hover,
.theme-agrosoft .metric:hover {
  border-color: var(--as-line-strong);
  box-shadow: var(--as-shadow-raised);
  transform: translateY(-2px);
}

.theme-agrosoft .analysis-animal-mark,
.theme-agrosoft .metric > .app-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  color: var(--as-primary);
  background: var(--as-primary-soft);
  box-shadow: none;
}

.theme-agrosoft .metric > .app-icon {
  width: 40px;
  height: 40px;
}

.theme-agrosoft .metric strong {
  display: block;
  font-size: 1.65rem;
  line-height: 1;
}

.theme-agrosoft .metric-teal > .app-icon {
  color: var(--as-primary-strong);
  background: var(--as-primary-soft);
}

.theme-agrosoft .metric-indigo > .app-icon {
  color: #536c96;
  background: #eaf0f7;
}

.theme-agrosoft .metric-amber > .app-icon {
  color: var(--as-warning);
  background: #fff4df;
}

.theme-agrosoft .metric-rose > .app-icon {
  color: var(--as-danger);
  background: #fdecef;
}

.theme-agrosoft .reference-stats,
.theme-agrosoft .workflow-summary,
.theme-agrosoft .detail-grid,
.theme-agrosoft .quality-strip,
.theme-agrosoft .client-record-summary,
.theme-agrosoft .client-record-lede,
.theme-agrosoft .client-overview,
.theme-agrosoft .billing-summary,
.theme-agrosoft .client-tabs,
.theme-agrosoft .reception-tabs,
.theme-agrosoft .reception-tab-footer,
.theme-agrosoft .sample-tabs,
.theme-agrosoft .bench-header-strip,
.theme-agrosoft .bench-command-status,
.theme-agrosoft .bench-blockers,
.theme-agrosoft .bench-resource-row,
.theme-agrosoft .bench-qc-row {
  border-color: var(--as-line);
  background: var(--as-surface-subtle);
}

.theme-agrosoft .client-record-lede > div,
.theme-agrosoft .client-summary-main,
.theme-agrosoft .client-kpi-card,
.theme-agrosoft .client-priority,
.theme-agrosoft .client-signal,
.theme-agrosoft .client-synthesis-item,
.theme-agrosoft .client-overview > div,
.theme-agrosoft .billing-summary > div,
.theme-agrosoft .client-detail-grid > div,
.theme-agrosoft .reference-stats > div,
.theme-agrosoft .workflow-summary > div,
.theme-agrosoft .quality-strip > div,
.theme-agrosoft .detail-grid > div,
.theme-agrosoft .bench-header-strip > div,
.theme-agrosoft .bench-command-status > div {
  border-color: var(--as-line);
}

.theme-agrosoft .reference-category-panel,
.theme-agrosoft .client-section-nav {
  background: var(--as-surface);
}

.theme-agrosoft .category-row,
.theme-agrosoft .client-tab-button,
.theme-agrosoft .reception-tab,
.theme-agrosoft .sample-tab,
.theme-agrosoft .bench-tabs .p-tab {
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  color: var(--as-text-soft);
  background: var(--as-control);
  box-shadow: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.theme-agrosoft .category-row:hover,
.theme-agrosoft .category-row.is-active,
.theme-agrosoft .client-tab-button:hover,
.theme-agrosoft .client-tab-button.is-active,
.theme-agrosoft .reception-tab:hover,
.theme-agrosoft .reception-tab.is-active,
.theme-agrosoft .sample-tab:hover,
.theme-agrosoft .sample-tab.is-active,
.theme-agrosoft .bench-tabs .p-tab:hover,
.theme-agrosoft .bench-tabs .p-tab.p-tab-active {
  border-color: rgba(63, 120, 100, 0.28);
  color: var(--as-text);
  background: var(--as-control-active);
  transform: translateY(-1px);
}

.theme-agrosoft .category-row::before {
  background: var(--as-primary);
}

.theme-agrosoft .client-section-nav {
  border-right: 1px solid var(--as-line);
}

.theme-agrosoft .client-section-nav .client-tab-button {
  min-height: 72px;
}

.theme-agrosoft .reception-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0.75rem;
}

.theme-agrosoft .reception-tab {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 74px;
  padding: 0.75rem;
}

.theme-agrosoft .reception-tab .app-icon,
.theme-agrosoft .client-section-nav .client-tab-button .app-icon,
.theme-agrosoft .client-section-nav .client-tab-button em {
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius-sm);
  color: var(--as-primary);
  background: var(--as-surface-subtle);
}

.theme-agrosoft .sample-tabs-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)) auto;
  gap: 0.55rem;
}

.theme-agrosoft .sample-tab {
  min-height: 64px;
  padding: 0.65rem 0.75rem;
}

.theme-agrosoft .bench-tabs .p-tablist {
  border-color: var(--as-line);
  background: var(--as-surface-subtle);
}

.theme-agrosoft .bench-tabs .p-tablist-content,
.theme-agrosoft .bench-tabs .p-tablist-tab-list {
  width: 100%;
  min-width: 0;
}

.theme-agrosoft .bench-tabs .p-tablist-tab-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem;
  border: 0;
  padding: 0.65rem;
}

.theme-agrosoft .bench-tabs .p-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  height: 58px;
  min-height: 58px;
  padding: 0 0.8rem;
  gap: 0.45rem;
  overflow: hidden;
  border-bottom-width: 1px;
  text-align: center;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.theme-agrosoft .bench-tabs .p-tab > .app-icon {
  flex: 0 0 auto;
  margin-right: 0 !important;
}

.theme-agrosoft .bench-tabs .p-tab.p-tab-active,
.theme-agrosoft .bench-tabs .p-tab:hover {
  border-bottom-width: 1px;
}

.theme-agrosoft .bench-tabs .p-tabpanels {
  background: var(--as-surface);
}

.theme-agrosoft .field {
  gap: 0.38rem;
  min-width: 0;
}

.theme-agrosoft .field .p-inputtext,
.theme-agrosoft .field .p-inputnumber,
.theme-agrosoft .field .p-inputnumber-input,
.theme-agrosoft .field .p-password,
.theme-agrosoft .field .p-password-input,
.theme-agrosoft .field .p-select,
.theme-agrosoft .field .p-multiselect,
.theme-agrosoft .field textarea,
.theme-agrosoft .search-field .p-inputtext {
  max-width: 100%;
  min-width: 0;
  width: 100%;
}

.theme-agrosoft .field > span,
.theme-agrosoft .section-title {
  letter-spacing: 0;
}

.theme-agrosoft .p-inputtext,
.theme-agrosoft .p-inputnumber-input,
.theme-agrosoft .p-password-input,
.theme-agrosoft .p-select,
.theme-agrosoft .p-multiselect,
.theme-agrosoft .p-textarea,
.theme-agrosoft textarea,
.theme-agrosoft .search-field .p-inputtext,
.theme-agrosoft .p-inputtext.search-field {
  min-height: 42px;
  border: 1px solid var(--as-line-strong);
  border-radius: var(--as-radius);
  color: var(--as-text);
  background: var(--as-control);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.9);
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.theme-agrosoft .p-textarea,
.theme-agrosoft textarea {
  min-height: 86px;
}

.theme-agrosoft .p-inputtext::placeholder,
.theme-agrosoft textarea::placeholder {
  color: #7c8e8c;
  opacity: 1;
}

.theme-agrosoft .p-inputtext:enabled:focus,
.theme-agrosoft .p-inputnumber-input:enabled:focus,
.theme-agrosoft .p-password-input:enabled:focus,
.theme-agrosoft textarea:enabled:focus,
.theme-agrosoft .p-select:not(.p-disabled).p-focus,
.theme-agrosoft .p-multiselect:not(.p-disabled).p-focus,
.theme-agrosoft .p-inputtext.search-field:enabled:focus {
  border-color: var(--as-primary);
  background: #ffffff;
  box-shadow: var(--as-focus);
}

.theme-agrosoft .p-inputtext:disabled,
.theme-agrosoft .p-inputnumber-input:disabled,
.theme-agrosoft .p-password-input:disabled,
.theme-agrosoft textarea:disabled,
.theme-agrosoft .p-select.p-disabled,
.theme-agrosoft .p-multiselect.p-disabled {
  color: #7f9290;
  background: var(--as-surface-muted);
  opacity: 1;
}

.theme-agrosoft .p-button {
  min-height: 38px;
  border-radius: var(--as-radius);
  font-weight: 850;
  letter-spacing: 0;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.theme-agrosoft .p-button:not(.p-button-text):not(.p-button-outlined) {
  border-color: var(--as-primary);
  color: #ffffff;
  background: var(--as-primary);
  box-shadow: none;
}

.theme-agrosoft .p-button:not(.p-disabled):hover {
  box-shadow: 0 10px 20px rgba(47, 96, 79, 0.14);
  transform: translateY(-1px);
}

.theme-agrosoft .p-button.p-button-text {
  color: var(--as-primary-strong);
}

.theme-agrosoft .p-datatable {
  color: var(--as-text);
  background: transparent;
}

.theme-agrosoft .p-datatable .p-datatable-table {
  border-collapse: separate;
  border-spacing: 0;
}

.theme-agrosoft .p-datatable .p-datatable-thead > tr > th {
  height: 44px;
  border-color: var(--as-line);
  color: var(--as-muted);
  background: var(--as-surface-subtle);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.theme-agrosoft .p-datatable .p-datatable-tbody > tr {
  color: var(--as-text);
  background: var(--as-surface);
  transition: background 150ms ease, box-shadow 150ms ease;
}

.theme-agrosoft .p-datatable .p-datatable-tbody > tr > td {
  border-color: var(--as-line);
}

.theme-agrosoft .p-datatable .p-datatable-tbody > tr:hover,
.theme-agrosoft .client-directory .p-datatable-tbody > tr.is-selected,
.theme-agrosoft .bench-list-panel .p-datatable-tbody > tr.is-selected {
  background: var(--as-primary-soft);
  box-shadow: inset 3px 0 0 var(--as-primary);
}

.theme-agrosoft .p-datatable .p-paginator {
  min-height: 54px;
  border-top: 1px solid var(--as-line);
  border-radius: 0 0 var(--as-radius) var(--as-radius);
  background: var(--as-surface-subtle);
}

.theme-agrosoft .p-paginator .p-paginator-first,
.theme-agrosoft .p-paginator .p-paginator-prev,
.theme-agrosoft .p-paginator .p-paginator-next,
.theme-agrosoft .p-paginator .p-paginator-last,
.theme-agrosoft .p-paginator .p-paginator-page {
  border-radius: var(--as-radius-sm);
}

.theme-agrosoft .p-paginator .p-paginator-page.p-paginator-page-selected,
.theme-agrosoft .p-paginator .p-paginator-page.p-highlight {
  color: var(--as-primary-strong);
  background: var(--as-primary-soft);
}

.theme-agrosoft .p-tag {
  border-radius: 999px;
  font-weight: 850;
}

/* AGROSOFT MIGRATED SCREEN VISUALS START */
.theme-agrosoft .panel-header p {
  color: var(--app-muted)
}
.theme-agrosoft .muted {
  color: var(--app-muted)
}
.theme-agrosoft .field > span {
  color: var(--app-muted)
}
.theme-agrosoft .form-actions {
  border-top: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.32)
}
.theme-agrosoft .form-actions.span-2 {
  border-top: 0
}
.theme-agrosoft .quality-strip {
  border-bottom: 1px solid var(--app-border);
  background:
    linear-gradient(90deg, rgba(236, 253, 245, 0.78), rgba(239, 246, 255, 0.62))
}
.theme-agrosoft .quality-strip > div {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .quality-strip > div:last-child {
  border-right: 0
}
.theme-agrosoft .quality-strip span {
  color: #48635d
}
.theme-agrosoft .reception-tabs {
  border-bottom: 1px solid var(--app-border);
  background:
    linear-gradient(90deg, rgba(236, 253, 245, 0.58), rgba(239, 246, 255, 0.46)),
    rgba(255, 255, 255, 0.42)
}
.theme-agrosoft .reception-tab {
  border: 1px solid rgba(17, 52, 49, 0.12);
  border-radius: 8px;
  color: var(--app-text);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.42)),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08)
}
.theme-agrosoft .reception-tab::before {
  border-radius: 999px;
  background: linear-gradient(180deg, var(--app-primary), var(--app-cyan))
}
.theme-agrosoft .reception-tab:hover,
.theme-agrosoft .reception-tab.is-active {
  border-color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(90deg, rgba(127, 157, 138, 0.2), rgba(138, 199, 218, 0.1)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 16px 34px rgba(76, 103, 111, 0.14)
}
.theme-agrosoft .reception-tab .app-icon {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  color: #557765;
  background:
    linear-gradient(135deg, rgba(127, 157, 138, 0.22), rgba(138, 199, 218, 0.14)),
    rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.56)
}
.theme-agrosoft .reception-tab strong {
  color: inherit
}
.theme-agrosoft .reception-tab small {
  color: var(--app-muted)
}
.theme-agrosoft .reception-tab-footer {
  border-top: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.3)
}
.theme-agrosoft .reception-tab-footer > span {
  color: var(--app-muted)
}
.theme-agrosoft .sample-tabs {
  border: 1px solid rgba(17, 52, 49, 0.12);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(236, 253, 245, 0.68), rgba(239, 246, 255, 0.54)),
    rgba(255, 255, 255, 0.7)
}
.theme-agrosoft .sample-tab {
  border: 1px solid rgba(17, 52, 49, 0.14);
  border-radius: 8px;
  color: var(--app-text);
  background: rgba(255, 255, 255, 0.72)
}
.theme-agrosoft .sample-tab::before {
  border-radius: 8px 0 0 8px;
  background: transparent
}
.theme-agrosoft .sample-tab:hover,
.theme-agrosoft .sample-tab.is-active {
  border-color: rgba(0, 155, 141, 0.36);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(0, 155, 141, 0.12)
}
.theme-agrosoft .sample-tab.is-active::before {
  background: linear-gradient(180deg, var(--app-primary), var(--app-cyan))
}
.theme-agrosoft .sample-tab span {
  color: var(--app-muted)
}
.theme-agrosoft .sample-tab-actions {
  color: var(--app-muted)
}
.theme-agrosoft .workflow-summary {
  border-bottom: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.56)
}
.theme-agrosoft .workflow-summary > div {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .workflow-summary > div:last-child {
  border-right: 0
}
.theme-agrosoft .workflow-summary span,
.theme-agrosoft .workflow-step small {
  color: var(--app-muted)
}
.theme-agrosoft .workflow-step {
  border: 0;
  border-radius: 8px;
  color: var(--app-text);
  background: transparent
}
.theme-agrosoft .workflow-step:hover,
.theme-agrosoft .workflow-step.is-active {
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.9), rgba(239, 246, 255, 0.72));
  box-shadow: inset 3px 0 0 var(--app-primary)
}
.theme-agrosoft .workflow-step.is-locked {
  color: var(--app-muted)
}
.theme-agrosoft .workflow-dot {
  border: 1px solid var(--app-border);
  border-radius: 999px;
  color: var(--app-muted);
  background: var(--app-surface)
}
.theme-agrosoft .workflow-step.is-active .workflow-dot {
  border-color: var(--app-primary);
  color: #ffffff;
  background: var(--app-primary)
}
.theme-agrosoft .workflow-step.is-done .workflow-dot {
  border-color: #0f766e;
  color: #0f766e;
  background: #ccfbf1
}
.theme-agrosoft .locked-state {
  color: var(--app-muted)
}
.theme-agrosoft .locked-state .app-icon {
  border-radius: 999px;
  color: var(--app-amber);
  background: #fef3c7
}
.theme-agrosoft .locked-state strong {
  color: var(--app-text)
}
.theme-agrosoft .detail-grid {
  background: rgba(255, 255, 255, 0.34)
}
.theme-agrosoft .detail-grid span {
  color: var(--app-muted)
}
.theme-agrosoft .inline-form {
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .checkbox-row span {
  color: var(--app-text)
}
.theme-agrosoft .user-identity span {
  color: var(--app-muted)
}
.theme-agrosoft .client-dashboard-heading {
  border-bottom: 1px solid var(--app-border);
  background:
    linear-gradient(112deg, rgba(236, 253, 245, 0.56), rgba(224, 242, 254, 0.2) 58%),
    rgba(255, 255, 255, 0.38)
}
.theme-agrosoft .client-dashboard-heading h2 {
  color: var(--app-text)
}
.theme-agrosoft .client-dashboard-heading p {
  color: var(--app-muted)
}
.theme-agrosoft .client-kpi-card {
  border-right: 1px solid var(--app-border);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.54), rgba(240, 249, 250, 0.24)),
    rgba(255, 255, 255, 0.25)
}
.theme-agrosoft .client-kpi-card:last-child {
  border-right: 0
}
.theme-agrosoft .client-kpi-card .app-icon {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  color: var(--app-primary-strong);
  background:
    linear-gradient(135deg, rgba(236, 253, 245, 0.82), rgba(224, 242, 254, 0.5)),
    rgba(255, 255, 255, 0.52);
  box-shadow: 0 16px 32px rgba(0, 92, 84, 0.08)
}
.theme-agrosoft .client-kpi-card span {
  color: var(--app-muted)
}
.theme-agrosoft .client-kpi-card strong {
  color: var(--app-text)
}
.theme-agrosoft .client-kpi-card small {
  color: var(--app-muted)
}
.theme-agrosoft .page-count {
  border: 1px solid var(--app-border);
  border-radius: 999px;
  color: var(--app-muted);
  background: rgba(255, 255, 255, 0.6)
}
.theme-agrosoft .client-directory .p-datatable-tbody > tr.is-selected {
  background: rgba(94, 234, 212, 0.08);
  box-shadow: inset 3px 0 0 var(--app-primary)
}
.theme-agrosoft .client-record-summary {
  border-bottom: 1px solid var(--app-border);
  background:
    linear-gradient(115deg, rgba(236, 253, 245, 0.52), transparent 58%),
    rgba(255, 255, 255, 0.38)
}
.theme-agrosoft .client-summary-main {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .client-summary-title strong {
  color: var(--app-text)
}
.theme-agrosoft .client-summary-main p {
  color: var(--app-muted)
}
.theme-agrosoft .client-summary-meta span {
  border: 1px solid rgba(17, 52, 49, 0.08);
  border-radius: 999px;
  color: var(--app-muted);
  background: rgba(255, 255, 255, 0.52)
}
.theme-agrosoft .client-summary-meta .app-icon {
  color: var(--app-primary-strong)
}
.theme-agrosoft .client-signal {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .client-signal:last-child {
  border-right: 0
}
.theme-agrosoft .client-signal:nth-child(2n) {
  border-right: 0
}
.theme-agrosoft .client-signal:nth-child(-n + 2) {
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .client-signal span {
  color: var(--app-muted)
}
.theme-agrosoft .client-signal strong {
  color: var(--app-text)
}
.theme-agrosoft .client-signal small {
  color: var(--app-muted)
}
.theme-agrosoft .client-record-lede {
  border-bottom: 1px solid var(--app-border);
  background:
    linear-gradient(90deg, rgba(0, 155, 141, 0.11), rgba(56, 189, 248, 0.04)),
    rgba(255, 255, 255, 0.52)
}
.theme-agrosoft .client-record-lede > div {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .client-record-lede > div:last-child {
  border-right: 0
}
.theme-agrosoft .client-record-lede strong {
  color: var(--app-text)
}
.theme-agrosoft .client-record-lede small {
  color: var(--app-muted)
}
.theme-agrosoft .client-empty p {
  color: var(--app-muted)
}
.theme-agrosoft .client-overview,
.theme-agrosoft .billing-summary {
  border-bottom: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.38)
}
.theme-agrosoft .client-overview > div,
.theme-agrosoft .billing-summary > div {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .client-overview > div:last-child,
.theme-agrosoft .billing-summary > div:last-child {
  border-right: 0
}
.theme-agrosoft .client-overview span,
.theme-agrosoft .billing-summary span,
.theme-agrosoft .client-detail-grid span {
  color: var(--app-muted)
}
.theme-agrosoft .client-detail-grid > div {
  border-right: 1px solid var(--app-border);
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .client-detail-grid > div:nth-child(2n) {
  border-right: 0
}
.theme-agrosoft .client-detail-grid small {
  color: var(--app-muted)
}
.theme-agrosoft .client-identity-strip > div:nth-child(2n) {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .client-identity-strip > div:last-child {
  border-right: 0
}
.theme-agrosoft .client-section {
  border-top: 1px solid var(--app-border)
}
.theme-agrosoft .client-section + .client-section {
  border-left: 0
}
.theme-agrosoft .client-dossiers-panel .p-datatable,
.theme-agrosoft .client-billing-panel .p-datatable {
  border-radius: 0
}
.theme-agrosoft .client-tabs {
  border-bottom: 1px solid var(--app-border);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.44), rgba(239, 246, 255, 0.28)),
    rgba(255, 255, 255, 0.28)
}
.theme-agrosoft .client-tab-button {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--app-muted);
  background: transparent
}
.theme-agrosoft .client-tab-button:hover,
.theme-agrosoft .client-tab-button.is-active {
  border-color: rgba(0, 155, 141, 0.2);
  color: var(--app-text);
  background: rgba(236, 253, 245, 0.78)
}
.theme-agrosoft .client-tab-button .app-icon {
  color: var(--app-primary)
}
.theme-agrosoft .client-tab-button small {
  border-radius: 999px;
  color: var(--app-primary-strong);
  background: rgba(255, 255, 255, 0.74)
}
.theme-agrosoft .client-focus-summary .client-summary-main {
  border-right: 0
}
.theme-agrosoft .client-priority {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .client-priority:last-child {
  border-right: 0
}
.theme-agrosoft .client-priority span,
.theme-agrosoft .client-synthesis-item span {
  color: var(--app-muted)
}
.theme-agrosoft .client-priority strong {
  color: var(--app-text)
}
.theme-agrosoft .client-priority small,
.theme-agrosoft .client-synthesis-item p {
  color: var(--app-muted)
}
.theme-agrosoft .client-section-nav {
  border-right: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.24)
}
.theme-agrosoft .client-section-nav .client-tab-button {
  border: 1px solid transparent;
  border-radius: 8px;
  color: var(--app-muted);
  background: transparent
}
.theme-agrosoft .client-section-nav .client-tab-button .app-icon {
  border-radius: 8px;
  color: var(--app-primary-strong);
  background: rgba(255, 255, 255, 0.48)
}
.theme-agrosoft .client-section-nav .client-tab-button strong {
  color: inherit
}
.theme-agrosoft .client-section-nav .client-tab-button small {
  color: var(--app-muted)
}
.theme-agrosoft .client-section-nav .client-tab-button em {
  border-radius: 999px;
  color: var(--app-primary-strong);
  background: rgba(255, 255, 255, 0.74)
}
.theme-agrosoft .client-section-nav .client-tab-button:hover,
.theme-agrosoft .client-section-nav .client-tab-button.is-active {
  border-color: rgba(0, 155, 141, 0.18);
  color: var(--app-text);
  background: rgba(236, 253, 245, 0.72)
}
.theme-agrosoft .client-synthesis-item {
  border-right: 1px solid var(--app-border);
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .client-synthesis-item:nth-child(2n) {
  border-right: 0
}
.theme-agrosoft .client-synthesis-item strong {
  color: var(--app-text)
}
.theme-agrosoft .client-section-heading {
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .client-section-heading h3 {
  color: var(--app-text)
}
.theme-agrosoft .client-section-heading p {
  color: var(--app-muted)
}
.theme-agrosoft .reference-toolbar {
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .reference-stats {
  border-bottom: 1px solid var(--app-border);
  background: var(--app-surface)
}
.theme-agrosoft .reference-stats > div {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .reference-stats > div:last-child {
  border-right: 0
}
.theme-agrosoft .reference-stats span {
  color: var(--app-muted)
}
.theme-agrosoft .section-title {
  color: var(--app-text)
}
.theme-agrosoft .table-link {
  color: var(--app-primary)
}
.theme-agrosoft .bench-command {
  border: 1px solid var(--app-border-strong);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(94, 234, 212, 0.14), transparent 42%),
    rgba(255, 255, 255, 0.66);
  box-shadow: var(--app-shadow)
}
.theme-agrosoft .bench-command-copy h2 {
  color: var(--app-text)
}
.theme-agrosoft .bench-command-copy p {
  color: var(--app-muted)
}
.theme-agrosoft .bench-command-status {
  border-left: 1px solid var(--app-border);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.56), rgba(238, 247, 250, 0.3)),
    rgba(255, 255, 255, 0.32)
}
.theme-agrosoft .bench-command-status > div {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .bench-command-status > div:last-child {
  border-right: 0
}
.theme-agrosoft .bench-command-status span {
  color: var(--app-muted)
}
.theme-agrosoft .bench-tabs .p-tablist {
  background: var(--app-surface);
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .bench-tabs .p-tabpanels {
  background: var(--app-surface)
}
.theme-agrosoft .bench-list-panel .p-datatable-tbody > tr.is-selected {
  background: rgba(94, 234, 212, 0.08);
  box-shadow: inset 3px 0 0 var(--app-primary)
}
.theme-agrosoft .bench-batch-toolbar {
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .bench-batch-toolbar span {
  color: var(--app-muted)
}
.theme-agrosoft .bench-sheet-cell span {
  color: var(--app-muted)
}
.theme-agrosoft .bench-header-strip {
  border-bottom: 1px solid var(--app-border);
  background: rgba(255, 255, 255, 0.34)
}
.theme-agrosoft .bench-header-strip > div {
  border-right: 1px solid var(--app-border)
}
.theme-agrosoft .bench-header-strip > div:last-child {
  border-right: 0
}
.theme-agrosoft .bench-header-strip span {
  color: var(--app-muted)
}
.theme-agrosoft .bench-blockers {
  border-bottom: 1px solid rgba(251, 191, 36, 0.24);
  background: rgba(251, 191, 36, 0.08)
}
.theme-agrosoft .bench-blockers > div {
  color: var(--app-amber)
}
.theme-agrosoft .bench-form-section {
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .bench-form-section > .form-actions {
  border-top: 1px solid var(--app-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(18px)
}
.theme-agrosoft .bench-compact-section {
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .bench-compact-section:last-child {
  border-bottom: 0
}
.theme-agrosoft .metrology-specific-block {
  border-top: 1px solid var(--app-border)
}
.theme-agrosoft .metrology-specific-heading span {
  color: var(--app-muted)
}
.theme-agrosoft .bench-audit-list li {
  border-top: 1px solid var(--app-border)
}
.theme-agrosoft .bench-audit-list span,
.theme-agrosoft .bench-audit-list small {
  color: var(--app-muted)
}
.theme-agrosoft .bench-quality-correction {
  border-top: 1px solid var(--app-border);
  background: rgba(251, 191, 36, 0.06)
}
.theme-agrosoft .bench-resource-row,
.theme-agrosoft .bench-qc-row {
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.5)
}
.theme-agrosoft .bench-empty {
  color: var(--app-muted)
}
.theme-agrosoft .bench-empty .app-icon {
  border-radius: 8px;
  color: var(--app-primary);
  background: rgba(94, 234, 212, 0.1)
}
.theme-agrosoft .bench-empty strong {
  color: var(--app-text)
}
.theme-agrosoft .entity-card {
  border: 1px solid var(--app-border);
  border-radius: 8px;
  background: var(--app-surface);
  box-shadow: var(--app-shadow)
}
.theme-agrosoft .sample-panel .p-datatable {
  border-radius: 0
}
.theme-agrosoft .animal-cell span {
  color: var(--app-muted)
}
.theme-agrosoft .activity-list li {
  border-bottom: 1px solid var(--app-border)
}
.theme-agrosoft .activity-list li:hover {
  background: rgba(236, 253, 245, 0.46)
}
.theme-agrosoft .activity-list li:last-child {
  border-bottom: 0
}
.theme-agrosoft .activity-list p {
  color: var(--app-muted)
}
.theme-agrosoft .activity-dot {
  border-radius: 999px
}
.theme-agrosoft .dot-teal {
  background: var(--app-primary)
}
.theme-agrosoft .dot-amber {
  background: var(--app-amber)
}
.theme-agrosoft .dot-rose {
  background: var(--app-rose)
}
.theme-agrosoft .category-row {
  border: 0;
  border-radius: 8px;
  color: var(--app-text);
  background: transparent
}
.theme-agrosoft .category-row:hover,
.theme-agrosoft .category-row.is-active {
  background: linear-gradient(90deg, rgba(236, 253, 245, 0.92), rgba(239, 246, 255, 0.68));
  box-shadow: inset 3px 0 0 var(--app-primary)
}
.theme-agrosoft .category-row small {
  color: var(--app-muted)
}
@media (min-width: 1720px) {
  .theme-agrosoft .client-section + .client-section {
    border-left: 1px solid var(--app-border)
  }
  .theme-agrosoft .bench-form-section {
    border-right: 1px solid var(--app-border);
    border-bottom: 0
  }
}
@media (max-width: 1120px) {
  .theme-agrosoft .client-kpi-card,
.theme-agrosoft .client-kpi-card:last-child {
    border-right: 0;
    border-bottom: 1px solid var(--app-border)
  }
  .theme-agrosoft .client-kpi-card:last-child {
    border-bottom: 0
  }
  .theme-agrosoft .client-summary-main {
    border-right: 0;
    border-bottom: 1px solid var(--app-border)
  }
  .theme-agrosoft .client-priority:nth-child(2n) {
    border-right: 0
  }
  .theme-agrosoft .client-priority:nth-child(-n + 2) {
    border-bottom: 1px solid var(--app-border)
  }
  .theme-agrosoft .client-section-nav {
    border-right: 0;
    border-bottom: 1px solid var(--app-border)
  }
  .theme-agrosoft .client-signal:nth-child(2n) {
    border-right: 0
  }
  .theme-agrosoft .client-section + .client-section {
    border-left: 0
  }
  .theme-agrosoft .bench-form-section {
    border-bottom: 1px solid var(--app-border)
  }
}
@media (max-width: 760px) {
  .theme-agrosoft .bench-command-status {
    border-top: 1px solid var(--app-border);
    border-left: 0
  }
  .theme-agrosoft .client-detail-grid > div,
.theme-agrosoft .client-detail-grid > div:nth-child(2n),
.theme-agrosoft .client-record-lede > div,
.theme-agrosoft .client-summary-main,
.theme-agrosoft .client-priority,
.theme-agrosoft .client-signal,
.theme-agrosoft .client-synthesis-item,
.theme-agrosoft .client-overview > div,
.theme-agrosoft .billing-summary > div {
    border-right: 0
  }
  .theme-agrosoft .client-signal {
    border-bottom: 1px solid var(--app-border)
  }
  .theme-agrosoft .client-signal:last-child {
    border-bottom: 0
  }
  .theme-agrosoft .client-priority {
    border-bottom: 1px solid var(--app-border)
  }
  .theme-agrosoft .client-priority:last-child {
    border-bottom: 0
  }
}
/* AGROSOFT MIGRATED SCREEN VISUALS END */

.theme-agrosoft .auth-page {
  position: relative;
  display: grid;
  min-height: 100vh;
  place-items: center;
  padding: 1rem;
  background:
    linear-gradient(135deg, rgba(79, 148, 167, 0.08), transparent 46%),
    linear-gradient(180deg, var(--as-canvas-soft), var(--as-canvas));
  overflow: hidden;
}

.theme-agrosoft .auth-page::before {
  display: none;
}

.theme-agrosoft .auth-card {
  position: relative;
  display: grid;
  width: min(440px, 100%);
  gap: 1rem;
  border: 1px solid var(--as-line);
  border-radius: var(--as-radius);
  padding: 1.25rem;
  background: var(--as-surface);
  box-shadow: var(--as-shadow-raised);
}

.theme-agrosoft .table-link {
  color: var(--as-primary-strong);
  font-weight: 850;
}

.theme-agrosoft .form-actions,
.theme-agrosoft .reference-toolbar,
.theme-agrosoft .inline-form {
  border-color: var(--as-line);
}

.theme-agrosoft .form-actions,
.theme-agrosoft .quality-strip,
.theme-agrosoft .reception-tabs,
.theme-agrosoft .bench-command,
.theme-agrosoft .client-dashboard-heading,
.theme-agrosoft .client-record-summary,
.theme-agrosoft .client-record-lede,
.theme-agrosoft .client-tabs,
.theme-agrosoft .client-section-nav,
.theme-agrosoft .bench-command-status,
.theme-agrosoft .bench-header-strip,
.theme-agrosoft .bench-form-section > .form-actions {
  background: var(--as-surface-subtle);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-agrosoft .client-kpi-card,
.theme-agrosoft .client-synthesis-item,
.theme-agrosoft .client-overview > div,
.theme-agrosoft .billing-summary > div,
.theme-agrosoft .quality-strip > div,
.theme-agrosoft .workflow-summary > div,
.theme-agrosoft .reference-stats > div,
.theme-agrosoft .bench-command-status > div,
.theme-agrosoft .bench-header-strip > div {
  background: var(--as-surface);
}

.theme-agrosoft .reception-tab,
.theme-agrosoft .sample-tab,
.theme-agrosoft .client-tab-button,
.theme-agrosoft .client-section-nav .client-tab-button,
.theme-agrosoft .page-count,
.theme-agrosoft .client-summary-meta span,
.theme-agrosoft .client-section-nav .client-tab-button .app-icon,
.theme-agrosoft .client-section-nav .client-tab-button em,
.theme-agrosoft .client-tab-button small,
.theme-agrosoft .reception-tab .app-icon {
  border-color: var(--as-line);
  background: var(--as-surface);
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.theme-agrosoft .reception-tab:hover,
.theme-agrosoft .reception-tab.is-active,
.theme-agrosoft .sample-tab:hover,
.theme-agrosoft .sample-tab.is-active,
.theme-agrosoft .client-tab-button:hover,
.theme-agrosoft .client-tab-button.is-active,
.theme-agrosoft .client-section-nav .client-tab-button:hover,
.theme-agrosoft .client-section-nav .client-tab-button.is-active {
  border-color: var(--as-line-strong);
  color: var(--as-text);
  background: var(--as-primary-soft);
  box-shadow: inset 3px 0 0 var(--as-primary);
}

.theme-agrosoft .reception-tab::before,
.theme-agrosoft .sample-tab.is-active::before {
  background: var(--as-primary);
}

@media (min-width: 761px) {
  .theme-agrosoft .workspace:has(> .client-page),
  .theme-agrosoft .workspace:has(> .bench-workspace) {
    overflow: hidden;
  }

  .theme-agrosoft .client-page,
  .theme-agrosoft .bench-workspace {
    flex: 1 1 auto;
    min-height: 0;
  }
}

@media (max-width: 1120px) {
  .app-shell.theme-agrosoft {
    --as-sidebar-width: 92px;
  }

  .theme-agrosoft .sidebar {
    align-items: center;
    padding: 1rem 0.7rem;
  }

  .theme-agrosoft .brand {
    justify-content: center;
  }

  .theme-agrosoft .brand > div:not(.brand-mark),
  .theme-agrosoft .nav-item span {
    display: none;
  }

  .theme-agrosoft .nav-item {
    grid-template-columns: 1fr;
    justify-items: center;
    width: 52px;
    padding: 0.5rem;
  }

  .theme-agrosoft .command-overview {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.65fr);
  }

  .theme-agrosoft .reception-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .app-shell.theme-agrosoft {
    display: block;
    height: auto;
    min-height: 100vh;
    overflow: auto;
  }

  .theme-agrosoft .sidebar {
    position: relative;
    align-items: stretch;
    height: auto;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--as-line);
    padding: 0.75rem;
  }

  .theme-agrosoft .brand {
    min-height: 48px;
    justify-content: flex-start;
    padding-bottom: 0.65rem;
  }

  .theme-agrosoft .brand > div:not(.brand-mark),
  .theme-agrosoft .nav-item span {
    display: block;
  }

  .theme-agrosoft .main-nav {
    display: flex;
    gap: 0.45rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .theme-agrosoft .nav-item {
    grid-template-columns: 28px max-content;
    width: auto;
    min-width: max-content;
    padding: 0.4rem 0.65rem;
  }

  .theme-agrosoft .workspace {
    height: auto;
    min-height: calc(100vh - 132px);
    padding: 0.75rem;
    overflow: visible;
  }

  .theme-agrosoft .topbar {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    flex-wrap: wrap;
    min-height: 0;
    gap: 0.75rem;
    align-items: start;
  }

  .theme-agrosoft .topbar-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    align-items: center;
    width: 100%;
    gap: 0.5rem;
  }

  .theme-agrosoft .topbar-title {
    text-align: left;
  }

  .theme-agrosoft .topbar-actions .session-pill {
    grid-column: 1 / -1;
    width: max-content;
    min-height: 30px;
  }

  .theme-agrosoft .topbar-actions .p-select {
    width: 100%;
    min-width: 0;
  }

  .theme-agrosoft h1 {
    font-size: 2rem;
  }

  .theme-agrosoft .command-overview,
  .theme-agrosoft .analysis-float-grid,
  .theme-agrosoft .analysis-card-meta,
  .theme-agrosoft .reception-tabs,
  .theme-agrosoft .sample-tabs-list {
    grid-template-columns: 1fr;
  }

  .theme-agrosoft .bench-tabs .p-tablist-tab-list {
    grid-auto-columns: auto;
    grid-auto-flow: row;
    grid-template-columns: 1fr;
    width: 100%;
    min-width: 0;
  }

  .theme-agrosoft .reception-tab,
  .theme-agrosoft .sample-tab,
  .theme-agrosoft .bench-tabs .p-tab {
    flex: initial;
    width: 100%;
    min-height: 58px;
  }

  .theme-agrosoft .bench-tabs .p-tablist {
    overflow-x: visible;
  }

  .theme-agrosoft .bench-tabs .p-tablist-content,
  .theme-agrosoft .bench-tabs .p-tablist-tab-list {
    width: 100%;
    min-width: 0;
  }
}

/* AGROSOFT GLASSMORPHIC THEME RESTORE START */
.theme-agrosoft {
  --as-canvas: #edf4f5;
  --as-canvas-soft: #f8fbfb;
  --as-glass: rgba(255, 255, 255, 0.56);
  --as-glass-strong: rgba(255, 255, 255, 0.76);
  --as-glass-soft: rgba(255, 255, 255, 0.38);
  --as-glass-field: rgba(255, 255, 255, 0.72);
  --as-glass-line: rgba(255, 255, 255, 0.74);
  --as-glass-line-soft: rgba(255, 255, 255, 0.52);
  --as-glass-inner-line: rgba(79, 108, 106, 0.14);
  --as-shadow-panel: 0 22px 54px rgba(42, 70, 75, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.72);
  --as-shadow-raised: 0 28px 64px rgba(42, 70, 75, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.82);
  --app-bg: var(--as-canvas);
  --app-surface: var(--as-glass);
  --app-surface-strong: var(--as-glass-strong);
  --app-surface-soft: var(--as-glass-soft);
  --app-border: var(--as-glass-inner-line);
  --app-border-strong: rgba(79, 108, 106, 0.24);
  --app-shadow: var(--as-shadow-panel);
}

.app-shell.theme-agrosoft,
.theme-agrosoft .auth-page,
.auth-theme-shell {
  background:
    linear-gradient(115deg, rgba(248, 251, 251, 0.96) 0%, rgba(237, 245, 246, 0.86) 42%, rgba(228, 240, 244, 0.78) 100%),
    linear-gradient(35deg, rgba(63, 120, 100, 0.12) 0%, transparent 32%),
    linear-gradient(145deg, transparent 48%, rgba(79, 148, 167, 0.14) 100%);
}

.app-shell.theme-agrosoft::before {
  position: fixed;
  inset: 0;
  z-index: 0;
  display: block;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.34) 1px, transparent 1px),
    linear-gradient(180deg, rgba(255, 255, 255, 0.28) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.1));
}

.theme-agrosoft .sidebar,
.theme-agrosoft .workspace {
  position: relative;
  z-index: 1;
}

.theme-agrosoft .sidebar,
.theme-agrosoft .topbar,
.theme-agrosoft .panel,
.theme-agrosoft .metric,
.theme-agrosoft .analysis-card,
.theme-agrosoft .command-overview,
.theme-agrosoft .client-record-panel,
.theme-agrosoft .client-edit-panel,
.theme-agrosoft .bench-command,
.theme-agrosoft .auth-card,
.theme-agrosoft .entity-card {
  border-color: var(--as-glass-line);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.42)),
    var(--as-glass);
  box-shadow: var(--as-shadow-panel);
  backdrop-filter: blur(26px) saturate(1.16);
  -webkit-backdrop-filter: blur(26px) saturate(1.16);
}

.theme-agrosoft .sidebar {
  border-right-color: rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.48)),
    rgba(255, 255, 255, 0.58);
}

.theme-agrosoft .topbar {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.54)),
    rgba(255, 255, 255, 0.6);
}

.theme-agrosoft .panel-header,
.theme-agrosoft .reference-toolbar,
.theme-agrosoft .client-dashboard-heading,
.theme-agrosoft .client-section-heading,
.theme-agrosoft .bench-batch-toolbar,
.theme-agrosoft .form-actions,
.theme-agrosoft .quality-strip,
.theme-agrosoft .reception-tabs,
.theme-agrosoft .reception-tab-footer,
.theme-agrosoft .sample-tabs,
.theme-agrosoft .client-record-summary,
.theme-agrosoft .client-record-lede,
.theme-agrosoft .client-tabs,
.theme-agrosoft .client-section-nav,
.theme-agrosoft .bench-command-status,
.theme-agrosoft .bench-header-strip,
.theme-agrosoft .bench-tabs .p-tablist,
.theme-agrosoft .bench-form-section > .form-actions {
  border-color: var(--as-glass-inner-line);
  background:
    linear-gradient(100deg, rgba(255, 255, 255, 0.54), rgba(232, 244, 239, 0.32) 48%, rgba(231, 243, 247, 0.28)),
    rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(20px) saturate(1.12);
  -webkit-backdrop-filter: blur(20px) saturate(1.12);
}

.theme-agrosoft .command-status,
.theme-agrosoft .reference-stats,
.theme-agrosoft .workflow-summary,
.theme-agrosoft .detail-grid,
.theme-agrosoft .client-overview,
.theme-agrosoft .billing-summary,
.theme-agrosoft .bench-blockers,
.theme-agrosoft .bench-resource-row,
.theme-agrosoft .bench-qc-row {
  background: rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(16px) saturate(1.08);
  -webkit-backdrop-filter: blur(16px) saturate(1.08);
}

.theme-agrosoft .client-kpi-card,
.theme-agrosoft .client-synthesis-item,
.theme-agrosoft .client-overview > div,
.theme-agrosoft .billing-summary > div,
.theme-agrosoft .quality-strip > div,
.theme-agrosoft .workflow-summary > div,
.theme-agrosoft .reference-stats > div,
.theme-agrosoft .bench-command-status > div,
.theme-agrosoft .bench-header-strip > div,
.theme-agrosoft .client-summary-main,
.theme-agrosoft .client-detail-grid > div {
  border-color: var(--as-glass-inner-line);
  background: rgba(255, 255, 255, 0.28);
}

.theme-agrosoft .nav-item,
.theme-agrosoft .category-row,
.theme-agrosoft .client-tab-button,
.theme-agrosoft .client-section-nav .client-tab-button,
.theme-agrosoft .reception-tab,
.theme-agrosoft .sample-tab,
.theme-agrosoft .bench-tabs .p-tab,
.theme-agrosoft .page-count,
.theme-agrosoft .client-summary-meta span,
.theme-agrosoft .client-tab-button small,
.theme-agrosoft .client-section-nav .client-tab-button em {
  border: 1px solid var(--as-glass-line-soft);
  color: var(--as-text-soft);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.34)),
    rgba(255, 255, 255, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px) saturate(1.08);
  -webkit-backdrop-filter: blur(18px) saturate(1.08);
}

.theme-agrosoft .nav-item:hover,
.theme-agrosoft .nav-item.is-active,
.theme-agrosoft .category-row:hover,
.theme-agrosoft .category-row.is-active,
.theme-agrosoft .client-tab-button:hover,
.theme-agrosoft .client-tab-button.is-active,
.theme-agrosoft .client-section-nav .client-tab-button:hover,
.theme-agrosoft .client-section-nav .client-tab-button.is-active,
.theme-agrosoft .reception-tab:hover,
.theme-agrosoft .reception-tab.is-active,
.theme-agrosoft .sample-tab:hover,
.theme-agrosoft .sample-tab.is-active,
.theme-agrosoft .bench-tabs .p-tab:hover,
.theme-agrosoft .bench-tabs .p-tab.p-tab-active {
  border-color: rgba(255, 255, 255, 0.92);
  color: var(--as-text);
  background:
    linear-gradient(110deg, rgba(232, 244, 239, 0.78), rgba(231, 243, 247, 0.52)),
    rgba(255, 255, 255, 0.64);
  box-shadow: 0 14px 34px rgba(47, 96, 79, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.theme-agrosoft .nav-item .app-icon,
.theme-agrosoft .reception-tab .app-icon,
.theme-agrosoft .client-tab-button .app-icon,
.theme-agrosoft .client-section-nav .client-tab-button .app-icon,
.theme-agrosoft .metric > .app-icon,
.theme-agrosoft .client-kpi-card > .app-icon,
.theme-agrosoft .locked-state .app-icon,
.theme-agrosoft .bench-empty .app-icon,
.theme-agrosoft .bench-tabs .p-tab > .app-icon {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--as-radius-sm);
  color: var(--as-primary-strong);
  background:
    linear-gradient(135deg, rgba(232, 244, 239, 0.72), rgba(231, 243, 247, 0.5)),
    rgba(255, 255, 255, 0.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.68);
}

.theme-agrosoft .nav-item .app-icon {
  width: 28px;
  height: 28px;
}

.theme-agrosoft .reception-tab .app-icon,
.theme-agrosoft .client-section-nav .client-tab-button .app-icon {
  width: 38px;
  height: 38px;
}

.theme-agrosoft .metric > .app-icon {
  width: 40px;
  height: 40px;
}

.theme-agrosoft .client-kpi-card > .app-icon,
.theme-agrosoft .bench-empty .app-icon {
  width: 54px;
  height: 54px;
}

.theme-agrosoft .bench-tabs .p-tab > .app-icon {
  width: 30px;
  height: 30px;
  margin-right: 0 !important;
}

.theme-agrosoft .analysis-animal-mark {
  border-color: rgba(255, 255, 255, 0.72);
  background:
    linear-gradient(135deg, rgba(232, 244, 239, 0.7), rgba(231, 243, 247, 0.48)),
    rgba(255, 255, 255, 0.46);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.theme-agrosoft .p-inputtext,
.theme-agrosoft .p-inputnumber-input,
.theme-agrosoft .p-password-input,
.theme-agrosoft .p-select,
.theme-agrosoft .p-multiselect,
.theme-agrosoft .p-textarea,
.theme-agrosoft textarea,
.theme-agrosoft .search-field .p-inputtext,
.theme-agrosoft .p-inputtext.search-field {
  border-color: rgba(73, 105, 104, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.68)),
    var(--as-glass-field);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.92), 0 1px 0 rgba(255, 255, 255, 0.44);
  backdrop-filter: blur(10px) saturate(1.04);
  -webkit-backdrop-filter: blur(10px) saturate(1.04);
}

.theme-agrosoft .p-inputtext:enabled:hover,
.theme-agrosoft .p-inputnumber-input:enabled:hover,
.theme-agrosoft .p-password-input:enabled:hover,
.theme-agrosoft textarea:enabled:hover,
.theme-agrosoft .p-select:not(.p-disabled):hover,
.theme-agrosoft .p-multiselect:not(.p-disabled):hover {
  border-color: rgba(63, 120, 100, 0.38);
  background: rgba(255, 255, 255, 0.84);
}

.theme-agrosoft .p-inputtext:enabled:focus,
.theme-agrosoft .p-inputnumber-input:enabled:focus,
.theme-agrosoft .p-password-input:enabled:focus,
.theme-agrosoft textarea:enabled:focus,
.theme-agrosoft .p-select:not(.p-disabled).p-focus,
.theme-agrosoft .p-multiselect:not(.p-disabled).p-focus,
.theme-agrosoft .p-inputtext.search-field:enabled:focus {
  border-color: rgba(63, 120, 100, 0.62);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--as-focus), 0 10px 22px rgba(47, 96, 79, 0.1);
}

.theme-agrosoft .p-datatable,
.theme-agrosoft .p-datatable-table,
.theme-agrosoft .p-datatable-header,
.theme-agrosoft .p-datatable-thead > tr > th,
.theme-agrosoft .p-datatable-tbody > tr,
.theme-agrosoft .p-paginator,
.theme-agrosoft .bench-tabs .p-tabpanels {
  background: transparent;
}

.theme-agrosoft .p-datatable-tbody > tr:hover {
  background: rgba(255, 255, 255, 0.38);
}

.theme-agrosoft .p-button:not(.p-button-text):not(.p-button-outlined) {
  box-shadow: 0 12px 24px rgba(47, 96, 79, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.theme-agrosoft .client-tariff-panel,
.theme-agrosoft .client-tariff-panel h3,
.theme-agrosoft .client-tariff-panel .field > span,
.theme-agrosoft .client-tariff-panel .user-identity strong {
  color: var(--as-text);
}

.theme-agrosoft .client-tariff-panel .client-section-heading p,
.theme-agrosoft .client-tariff-form p,
.theme-agrosoft .client-tariff-panel .p-datatable-thead > tr > th {
  color: var(--as-text-soft);
}

.theme-agrosoft .client-tariff-form {
  border-left: 1px solid var(--as-glass-inner-line);
  background: rgba(255, 255, 255, 0.32);
}

.theme-agrosoft .billing-create-strip {
  border-bottom: 1px solid var(--as-glass-inner-line);
  background: rgba(255, 255, 255, 0.3);
}

.theme-agrosoft .billing-command {
  min-height: 154px;
}

.theme-agrosoft .billing-command-copy,
.theme-agrosoft .billing-kpis article {
  min-height: 154px;
}

.theme-agrosoft .billing-kpis strong,
.theme-agrosoft .billing-kpis small,
.theme-agrosoft .billing-command-copy p {
  display: block;
}

/* AgroSoft reusable component primitives */
.theme-agrosoft .ui-tabs {
  color: var(--glass-ink);
}

.theme-agrosoft .ui-tabs.reception-tabs,
.theme-agrosoft .ui-tabs.billing-section-tabs,
.theme-agrosoft .ui-tabs.client-section-nav,
.theme-agrosoft .sample-tab-list.ui-tabs {
  display: block;
  grid-template-columns: none;
  gap: 0;
}

.theme-agrosoft .ui-tabs .p-tablist,
.theme-agrosoft .ui-tabs .p-tablist-content,
.theme-agrosoft .ui-tabs .p-tablist-tab-list {
  border: 0;
  background: transparent;
}

.theme-agrosoft .ui-tabs .p-tablist-tab-list {
  border-radius: 18px;
}

.theme-agrosoft .ui-tabs .p-tab {
  color: rgba(21, 38, 36, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.74), rgba(235, 247, 247, 0.34)),
    rgba(255, 255, 255, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74), 0 12px 28px rgba(34, 61, 59, 0.08);
  backdrop-filter: blur(18px) saturate(1.16);
}

.theme-agrosoft .ui-tabs .p-tab:hover,
.theme-agrosoft .ui-tabs .p-tab.p-tab-active {
  color: var(--glass-ink);
  border-color: rgba(131, 184, 178, 0.76);
  background:
    linear-gradient(145deg, rgba(240, 255, 251, 0.86), rgba(225, 242, 246, 0.5)),
    rgba(255, 255, 255, 0.68);
  box-shadow: 0 18px 36px rgba(42, 88, 83, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.theme-agrosoft .ui-tabs .p-tab > .app-icon,
.theme-agrosoft .ui-step-nav-dot {
  color: #3d8273;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(210, 239, 230, 0.9), rgba(210, 233, 247, 0.58));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.78);
}

.theme-agrosoft .ui-tabs .p-tab.p-tab-active > .app-icon {
  color: #245f54;
  background: linear-gradient(145deg, rgba(181, 228, 212, 0.95), rgba(167, 214, 222, 0.72));
}

.theme-agrosoft .ui-tab-copy strong,
.theme-agrosoft .ui-selectable-row strong,
.theme-agrosoft .ui-step-nav-item strong {
  color: var(--glass-ink);
}

.theme-agrosoft .ui-tab-copy small,
.theme-agrosoft .ui-selectable-row small,
.theme-agrosoft .ui-step-nav-item small,
.theme-agrosoft .ui-empty-state span {
  color: var(--glass-muted);
}

.theme-agrosoft .ui-tabs .p-tab em,
.theme-agrosoft .ui-selectable-row em {
  color: #276b60;
  border-radius: 999px;
  background: rgba(220, 242, 238, 0.86);
}

.theme-agrosoft .ui-metric-card {
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(16px) saturate(1.12);
}

.theme-agrosoft .command-status .ui-metric-card,
.theme-agrosoft .bench-command-status .ui-metric-card,
.theme-agrosoft .billing-kpis .ui-metric-card {
  min-height: 118px;
  padding: 1rem;
}

.theme-agrosoft .client-kpi-grid .ui-metric-card {
  min-height: 120px;
  padding: 1rem;
}

.theme-agrosoft .ui-metric-card span {
  color: rgba(32, 52, 49, 0.66);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.theme-agrosoft .ui-metric-card strong {
  color: var(--glass-ink);
  font-family: "JetBrains Mono", "SFMono-Regular", Consolas, monospace;
  font-size: clamp(1.85rem, 2.7vw, 2.8rem);
  line-height: 0.95;
}

.theme-agrosoft .ui-metric-card small {
  color: var(--glass-muted);
  font-weight: 720;
}

.theme-agrosoft .ui-status-tag {
  border-radius: 999px;
  font-weight: 850;
}

.theme-agrosoft .ui-empty-state {
  color: var(--glass-ink);
}

.theme-agrosoft .ui-empty-state .app-icon {
  color: #3d8273;
  border-radius: 16px;
  background: rgba(218, 241, 237, 0.74);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.theme-agrosoft .ui-selectable-row,
.theme-agrosoft .ui-step-nav-item {
  color: rgba(21, 38, 36, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.36);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.7);
}

.theme-agrosoft .ui-selectable-row:hover,
.theme-agrosoft .ui-selectable-row.is-active,
.theme-agrosoft .ui-step-nav-item:hover,
.theme-agrosoft .ui-step-nav-item.is-active {
  border-color: rgba(126, 183, 176, 0.74);
  background: rgba(236, 249, 246, 0.72);
  box-shadow: 0 16px 30px rgba(42, 88, 83, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.theme-agrosoft .ui-step-nav-item.is-done .ui-step-nav-dot {
  color: #256b43;
  background: rgba(207, 244, 221, 0.86);
}

.theme-agrosoft .ui-step-nav-item.is-locked {
  opacity: 0.58;
}

@media (max-width: 760px) {
  .theme-agrosoft .ui-tabs .p-tablist-tab-list {
    grid-template-columns: 1fr;
  }

  .theme-agrosoft .ui-tabs-compact .p-tablist-tab-list {
    grid-template-columns: none;
  }
}
/* AGROSOFT GLASSMORPHIC THEME RESTORE END */

.dashboard[data-v-3edf640d] {
  --dash-ink: #102321;
  --dash-muted: #607572;
  --dash-line: rgba(86, 117, 116, 0.17);
  --dash-glass: rgba(255, 255, 255, 0.56);
  display: grid;
  gap: 1rem;
  min-width: 0;
  color: var(--dash-ink);
  animation: dashboard-in-3edf640d 280ms ease both;
}
.dashboard-message[data-v-3edf640d] {
  margin: 0;
}
.dashboard-hero[data-v-3edf640d],
.glass-panel[data-v-3edf640d] {
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.48)),
    var(--dash-glass);
  box-shadow: 0 18px 42px rgba(32, 62, 66, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px) saturate(1.12);
}
.dashboard-hero[data-v-3edf640d] {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(360px, 1.4fr) auto;
  gap: 1rem;
  align-items: center;
  min-height: 132px;
  padding: 1rem;
}
.hero-copy[data-v-3edf640d] {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}
.hero-kicker[data-v-3edf640d],
.section-heading span[data-v-3edf640d],
.focus-label[data-v-3edf640d],
.hero-live span[data-v-3edf640d],
.metric-tile span[data-v-3edf640d],
.control-card span[data-v-3edf640d],
.alert-board-head span[data-v-3edf640d] {
  color: var(--dash-muted);
  font-size: 0.74rem;
  font-weight: 880;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-copy h2[data-v-3edf640d],
.section-heading h3[data-v-3edf640d] {
  color: var(--dash-ink);
  font-weight: 950;
  letter-spacing: 0;
}
.hero-copy h2[data-v-3edf640d] {
  font-size: clamp(1.7rem, 2.7vw, 2.8rem);
  line-height: 0.96;
}
.hero-copy p[data-v-3edf640d],
.metric-tile small[data-v-3edf640d],
.control-card small[data-v-3edf640d],
.alert-board-head small[data-v-3edf640d] {
  color: var(--dash-muted);
  font-size: 0.8rem;
  font-weight: 720;
}
.hero-live[data-v-3edf640d] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
}
.hero-live > div[data-v-3edf640d] {
  display: grid;
  gap: 0.14rem;
  min-height: 78px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  padding: 0.72rem 0.78rem;
  background: rgba(255, 255, 255, 0.44);
}
.hero-live strong[data-v-3edf640d],
.day-focus strong[data-v-3edf640d],
.metric-tile strong[data-v-3edf640d],
.control-card strong[data-v-3edf640d],
.alert-board-head strong[data-v-3edf640d] {
  color: var(--dash-ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.hero-live strong[data-v-3edf640d] {
  overflow: hidden;
  font-size: clamp(1.05rem, 1.7vw, 1.55rem);
  font-weight: 950;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hero-actions[data-v-3edf640d] {
  display: flex;
  gap: 0.5rem;
  justify-content: end;
}
.hero-actions[data-v-3edf640d] .p-button {
  gap: 0.38rem;
  min-height: 38px;
}
.timebar[data-v-3edf640d] {
  display: grid;
  grid-template-columns: minmax(420px, 0.88fr) minmax(560px, 1.12fr);
  gap: 0.9rem;
  padding: 0.82rem;
}
.timebar-block[data-v-3edf640d] {
  display: grid;
  gap: 0.45rem;
  min-width: 0;
}
.timebar-block > span[data-v-3edf640d] {
  color: var(--dash-muted);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.timebar-block small[data-v-3edf640d] {
  overflow: hidden;
  color: var(--dash-muted);
  font-size: 0.78rem;
  font-weight: 760;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.day-nav[data-v-3edf640d],
.period-nav[data-v-3edf640d],
.segmented-control[data-v-3edf640d] {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
}
.day-nav[data-v-3edf640d] .p-button,
.period-nav[data-v-3edf640d] .p-button {
  flex: 0 0 auto;
  min-height: 38px;
}
.day-nav[data-v-3edf640d] .p-button:not(:last-child) {
  width: 40px;
  padding-inline: 0;
}
.segmented-control[data-v-3edf640d] {
  overflow: hidden;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.52);
  padding: 0.18rem;
}
.segmented-control[data-v-3edf640d] .p-button {
  border-radius: 6px;
}
.date-field[data-v-3edf640d] {
  width: 172px;
}
.year-select[data-v-3edf640d] {
  width: 104px;
}
.month-select[data-v-3edf640d] {
  width: 148px;
}
.range-field[data-v-3edf640d] {
  flex: 1 1 240px;
  min-width: 220px;
}
.date-field[data-v-3edf640d] .p-inputtext,
.range-field[data-v-3edf640d] .p-inputtext,
.year-select[data-v-3edf640d] .p-select-label,
.month-select[data-v-3edf640d] .p-select-label {
  min-height: 38px;
  color: var(--dash-ink);
  font-weight: 820;
}
.date-field[data-v-3edf640d] .p-inputtext,
.range-field[data-v-3edf640d] .p-inputtext,
.year-select[data-v-3edf640d] .p-select,
.month-select[data-v-3edf640d] .p-select {
  border-color: var(--dash-line);
  background: rgba(255, 255, 255, 0.62);
  box-shadow: none;
}
.dashboard-section[data-v-3edf640d] {
  display: grid;
  gap: 0.7rem;
}
.section-heading[data-v-3edf640d] {
  display: grid;
  gap: 0.12rem;
}
.section-heading h3[data-v-3edf640d] {
  font-size: clamp(1.05rem, 1.6vw, 1.42rem);
}
.day-grid[data-v-3edf640d] {
  display: grid;
  grid-template-columns: minmax(250px, 1.25fr) repeat(4, minmax(130px, 0.62fr)) minmax(260px, 1.1fr);
  gap: 0.75rem;
}
.glass-panel[data-v-3edf640d] {
  overflow: hidden;
}
.glass-panel[data-v-3edf640d] .p-card-body,
.glass-panel[data-v-3edf640d] .p-card-content {
  padding: 0;
}
.glass-panel[data-v-3edf640d] .p-card-caption {
  min-height: 58px;
  border-bottom: 1px solid var(--dash-line);
  padding: 0.78rem 0.86rem 0.58rem;
  background: rgba(255, 255, 255, 0.22);
}
.glass-panel[data-v-3edf640d] .p-card-title {
  color: var(--dash-ink);
  font-size: 0.98rem;
  font-weight: 920;
}
.glass-panel[data-v-3edf640d] .p-card-subtitle {
  color: var(--dash-muted);
  font-size: 0.75rem;
  font-weight: 760;
}
.glass-panel[data-v-3edf640d] .p-card-content {
  padding: 0.85rem;
}
.day-focus[data-v-3edf640d] .p-card-content {
  display: grid;
  align-content: center;
  min-height: 128px;
}
.day-focus strong[data-v-3edf640d] {
  font-size: clamp(2.6rem, 4.3vw, 4.4rem);
  font-weight: 950;
  line-height: 0.95;
}
.day-focus small[data-v-3edf640d] {
  color: var(--dash-muted);
  font-weight: 780;
}
.focus-meter[data-v-3edf640d] {
  height: 8px;
  margin-top: 0.75rem;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.12);
}
.focus-meter span[data-v-3edf640d] {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #2563eb, #0f766e);
  transition: width 420ms ease;
}
.metric-tile[data-v-3edf640d] .p-card-content,
.control-card[data-v-3edf640d] .p-card-content {
  display: grid;
  gap: 0.22rem;
  min-height: 128px;
}
.metric-tile .app-icon[data-v-3edf640d],
.control-card .app-icon[data-v-3edf640d],
.alert-tile .app-icon[data-v-3edf640d],
.empty-state .app-icon[data-v-3edf640d] {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 8px;
}
.metric-tile strong[data-v-3edf640d] {
  font-size: clamp(1.45rem, 2.25vw, 2.25rem);
  font-weight: 940;
}
.tone-blue .app-icon[data-v-3edf640d] {
  color: #1d4ed8;
  background: #dbeafe;
}
.tone-teal .app-icon[data-v-3edf640d],
.tone-green .app-icon[data-v-3edf640d] {
  color: #0f766e;
  background: #ccfbf1;
}
.tone-indigo .app-icon[data-v-3edf640d] {
  color: #6d28d9;
  background: #ede9fe;
}
.tone-amber .app-icon[data-v-3edf640d] {
  color: #b45309;
  background: #fef3c7;
}
.tone-rose .app-icon[data-v-3edf640d],
.alert-tile.is-danger .app-icon[data-v-3edf640d] {
  color: #be123c;
  background: #ffe4e6;
}
.alert-tile.is-success .app-icon[data-v-3edf640d],
.empty-state .app-icon[data-v-3edf640d] {
  color: #0f766e;
  background: #ccfbf1;
}
.alert-tile[data-v-3edf640d] .p-card-content {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 0.72rem;
  align-items: center;
  min-height: 128px;
}
.alert-tile strong[data-v-3edf640d] {
  display: block;
  margin-top: 0.12rem;
  color: var(--dash-ink);
  font-size: 1rem;
  font-weight: 900;
}
.alert-tile small[data-v-3edf640d] {
  display: block;
  margin-top: 0.16rem;
  color: var(--dash-muted);
  font-weight: 760;
}
.alert-layout[data-v-3edf640d],
.analysis-grid[data-v-3edf640d] {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.55fr);
  gap: 0.75rem;
  align-items: start;
}
.alert-layout[data-v-3edf640d] {
  grid-template-columns: minmax(0, 1fr);
}
.alert-board-head[data-v-3edf640d] {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.alert-board-head strong[data-v-3edf640d] {
  display: block;
  font-size: 2rem;
  font-weight: 940;
  line-height: 1;
}
.control-stack[data-v-3edf640d] {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}
.control-card[data-v-3edf640d] .p-card-content {
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
}
.control-card strong[data-v-3edf640d] {
  display: block;
  overflow: hidden;
  font-size: 1.35rem;
  font-weight: 930;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.monthly-grid[data-v-3edf640d] {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
}
.monthly-tile[data-v-3edf640d] .p-card-content {
  min-height: 118px;
}
.monthly-tile strong[data-v-3edf640d] {
  overflow: hidden;
  font-size: clamp(1.18rem, 1.7vw, 1.75rem);
  text-overflow: ellipsis;
  white-space: nowrap;
}
.operations-chart[data-v-3edf640d],
.billing-chart[data-v-3edf640d] {
  grid-column: span 2;
}
.top-clients-panel[data-v-3edf640d] {
  grid-column: span 4;
}
.chart-shell[data-v-3edf640d] {
  position: relative;
  height: 278px;
}
.legend-row[data-v-3edf640d] {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}
.legend-row span[data-v-3edf640d] {
  display: inline-flex;
  align-items: center;
  gap: 0.36rem;
  min-height: 26px;
  border: 1px solid var(--dash-line);
  border-radius: 999px;
  padding: 0 0.55rem;
  color: var(--dash-muted);
  background: rgba(255, 255, 255, 0.36);
  font-size: 0.75rem;
  font-weight: 800;
}
.legend-row i[data-v-3edf640d],
.legend-list i[data-v-3edf640d],
.matrix-list i[data-v-3edf640d] {
  width: 8px;
  height: 8px;
  border-radius: 999px;
}
.client-list[data-v-3edf640d] {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.55rem;
}
.client-list > div[data-v-3edf640d] {
  display: grid;
  gap: 0.38rem;
  min-height: 78px;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  padding: 0.62rem;
  background: rgba(255, 255, 255, 0.34);
}
.client-list span[data-v-3edf640d] {
  display: grid;
  min-width: 0;
}
.client-list strong[data-v-3edf640d],
.client-list b[data-v-3edf640d] {
  color: var(--dash-ink);
  font-weight: 920;
}
.client-list small[data-v-3edf640d],
.client-list b[data-v-3edf640d] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.client-list small[data-v-3edf640d] {
  color: var(--dash-muted);
  font-size: 0.74rem;
  font-weight: 720;
}
.release-panel[data-v-3edf640d] {
  grid-row: span 2;
}
.matrix-panel[data-v-3edf640d] .p-metergroup-meters {
  height: 0.8rem;
  overflow: hidden;
  border-radius: 999px;
}
.matrix-panel[data-v-3edf640d] .p-metergroup-label-list {
  display: none;
}
.matrix-list[data-v-3edf640d],
.legend-list[data-v-3edf640d] {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.7rem;
}
.matrix-list > div[data-v-3edf640d],
.legend-list span[data-v-3edf640d] {
  display: grid;
  grid-template-columns: 8px minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.42rem;
}
.matrix-list span[data-v-3edf640d],
.legend-list strong[data-v-3edf640d],
.legend-list small[data-v-3edf640d] {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.matrix-list span[data-v-3edf640d],
.legend-list strong[data-v-3edf640d] {
  color: var(--dash-ink);
  font-size: 0.8rem;
  font-weight: 830;
}
.matrix-list strong[data-v-3edf640d],
.legend-list small[data-v-3edf640d] {
  color: var(--dash-muted);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-size: 0.78rem;
  font-weight: 850;
}
.doughnut-layout[data-v-3edf640d] {
  display: grid;
  grid-template-columns: minmax(150px, 0.7fr) minmax(170px, 0.9fr);
  gap: 0.75rem;
  align-items: center;
  min-height: 256px;
}
.doughnut-shell[data-v-3edf640d] {
  position: relative;
  height: 220px;
}
.dashboard-table[data-v-3edf640d] .p-datatable-thead > tr > th {
  color: var(--dash-muted);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
}
.dashboard-table[data-v-3edf640d] .p-datatable-tbody > tr {
  cursor: pointer;
}
.dashboard-table[data-v-3edf640d] .p-datatable-tbody > tr > td {
  padding-top: 0.48rem;
  padding-bottom: 0.48rem;
}
.dashboard-mono[data-v-3edf640d] {
  color: var(--dash-ink);
  font-family: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  font-variant-numeric: tabular-nums;
}
.empty-state[data-v-3edf640d] {
  display: grid;
  grid-auto-flow: column;
  gap: 0.55rem;
  min-height: 92px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--dash-line);
  border-radius: 8px;
  color: var(--dash-muted);
  background: rgba(236, 253, 245, 0.34);
  font-weight: 820;
  text-align: center;
}
.empty-state.is-small[data-v-3edf640d] {
  min-height: 74px;
}
.empty-state.is-chart[data-v-3edf640d] {
  min-height: 330px;
}
.recent-panel[data-v-3edf640d] {
  margin-bottom: 0.25rem;
}
@keyframes dashboard-in-3edf640d {
from {
    opacity: 0;
    transform: translateY(8px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}
@media (max-width: 1320px) {
.dashboard-hero[data-v-3edf640d],
  .timebar[data-v-3edf640d],
  .day-grid[data-v-3edf640d],
  .monthly-grid[data-v-3edf640d],
  .analysis-grid[data-v-3edf640d] {
    grid-template-columns: 1fr 1fr;
}
.hero-live[data-v-3edf640d],
  .hero-actions[data-v-3edf640d],
  .day-focus[data-v-3edf640d],
  .alert-tile[data-v-3edf640d],
  .operations-chart[data-v-3edf640d],
  .billing-chart[data-v-3edf640d],
  .top-clients-panel[data-v-3edf640d],
  .release-panel[data-v-3edf640d] {
    grid-column: 1 / -1;
}
.client-list[data-v-3edf640d] {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.alert-layout[data-v-3edf640d] {
    grid-template-columns: 1fr;
}
}
@media (max-width: 760px) {
.dashboard-hero[data-v-3edf640d],
  .timebar[data-v-3edf640d],
  .hero-live[data-v-3edf640d],
  .day-grid[data-v-3edf640d],
  .monthly-grid[data-v-3edf640d],
  .alert-layout[data-v-3edf640d],
  .analysis-grid[data-v-3edf640d],
  .doughnut-layout[data-v-3edf640d],
  .client-list[data-v-3edf640d],
  .control-stack[data-v-3edf640d] {
    grid-template-columns: 1fr;
}
.hero-actions[data-v-3edf640d] {
    justify-content: stretch;
}
.hero-actions[data-v-3edf640d] .p-button {
    width: 100%;
}
.day-nav[data-v-3edf640d],
  .period-nav[data-v-3edf640d] {
    flex-wrap: wrap;
}
.date-field[data-v-3edf640d],
  .range-field[data-v-3edf640d],
  .year-select[data-v-3edf640d],
  .month-select[data-v-3edf640d] {
    width: 100%;
    min-width: 0;
}
.segmented-control[data-v-3edf640d],
  .segmented-control[data-v-3edf640d] .p-button {
    width: 100%;
}
}
