/* [project]/app/globals.css [app-client] (css) */
@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-outline-style: solid;
    }
  }
}

@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --spacing: .25rem;
    --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;
    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 {
  .collapse {
    visibility: collapse;
  }

  .visible {
    visibility: visible;
  }

  .absolute {
    position: absolute;
  }

  .fixed {
    position: fixed;
  }

  .relative {
    position: relative;
  }

  .static {
    position: static;
  }

  .start {
    inset-inline-start: var(--spacing);
  }

  .end {
    inset-inline-end: var(--spacing);
  }

  .isolate {
    isolation: isolate;
  }

  .container {
    width: 100%;
  }

  @media (min-width: 40rem) {
    .container {
      max-width: 40rem;
    }
  }

  @media (min-width: 48rem) {
    .container {
      max-width: 48rem;
    }
  }

  @media (min-width: 64rem) {
    .container {
      max-width: 64rem;
    }
  }

  @media (min-width: 80rem) {
    .container {
      max-width: 80rem;
    }
  }

  @media (min-width: 96rem) {
    .container {
      max-width: 96rem;
    }
  }

  .block {
    display: block;
  }

  .contents {
    display: contents;
  }

  .grid {
    display: grid;
  }

  .hidden {
    display: none;
  }

  .inline {
    display: inline;
  }

  .table {
    display: table;
  }

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

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

.betaBadge {
  color: #a65035;
  min-height: 28px;
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: .8px;
  text-transform: uppercase;
  white-space: nowrap;
  background: #fff3ee;
  border: 1px solid #e6cbbf;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
  font-weight: 900;
  display: inline-flex;
}

@media (max-width: 820px) {
  .betaBadge {
    font-size: var(--ui-caption-size, 8px);
    padding: 0 8px;
  }
}

:root {
  --ink: #18201e;
  --muted: #6e7773;
  --green: #2f6f62;
  --line: #e4e7e4;
  --paper: #f6f7f5;
}

* {
  box-sizing: border-box;
}

body {
  background: var(--paper);
  color: var(--ink);
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
}

.shell {
  min-height: 100vh;
  display: flex;
}

.sidebar {
  color: #fff;
  background: #172520;
  flex-direction: column;
  width: 238px;
  padding: 27px 16px 20px;
  display: flex;
  position: fixed;
  inset: 0 auto 0 0;
}

.brand {
  align-items: center;
  gap: 11px;
  padding: 0 10px 28px;
  display: flex;
}

.brandMark {
  color: #295f53;
  background: #e7f0eb;
  border-radius: 11px;
  place-items: center;
  width: 38px;
  height: 38px;
  font-family: Georgia;
  font-size: 25px;
  font-weight: bold;
  display: grid;
}

.brand div, .profile div {
  flex-direction: column;
  display: flex;
}

.brand strong {
  font-family: Georgia;
  font-size: 17px;
}

.brand small {
  color: #9eafa9;
  font-size: var(--ui-caption-size, 9px);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-top: 3px;
}

.sidebar nav {
  gap: 5px;
  display: grid;
}

.sidebar button {
  color: #aebbb7;
  text-align: left;
  font-size: var(--ui-text-size, 13px);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 7px;
  align-items: center;
  gap: 12px;
  padding: 11px 13px;
  display: flex;
}

.sidebar button span {
  text-align: center;
  width: 17px;
  font-size: 18px;
}

.sidebar button:hover, .sidebar button.active {
  color: #fff;
  background: #294038;
}

.sidebarBottom {
  border-top: 1px solid #30423c;
  margin-top: auto;
  padding-top: 12px;
}

.profile {
  align-items: center;
  gap: 10px;
  margin-top: 10px;
  padding: 14px 8px 2px;
  display: flex;
}

.profile > span {
  color: #644b37;
  width: 34px;
  height: 34px;
  font-size: var(--ui-caption-size, 11px);
  background: #e8d9c7;
  border-radius: 50%;
  place-items: center;
  font-weight: bold;
  display: grid;
}

.profile strong {
  font-size: var(--ui-caption-size, 11px);
}

.profile small {
  font-size: var(--ui-caption-size, 9px);
  color: #91a29c;
  margin-top: 3px;
}

.workspace {
  width: calc(100% - 238px);
  min-width: 0;
  margin-left: 238px;
}

.topbar {
  border-bottom: 1px solid var(--line);
  z-index: 5;
  background: #fff;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  padding: 0 32px;
  display: flex;
  position: sticky;
  top: 0;
}

.clientPicker {
  align-items: center;
  gap: 9px;
  display: flex;
}

.clientLogo {
  color: #fff;
  width: 34px;
  height: 34px;
  font-size: var(--ui-caption-size, 10px);
  border-radius: 7px;
  place-items: center;
  font-weight: bold;
  display: grid;
}

.clientPicker select {
  font-weight: bold;
  font-size: var(--ui-text-size, 13px);
  background: #fff;
  border: 0;
  max-width: 220px;
}

.status {
  font-size: var(--ui-caption-size, 9px);
  color: #377766;
  background: #e9f3ef;
  border-radius: 10px;
  padding: 5px 8px;
}

.topActions {
  align-items: center;
  gap: 8px;
  display: flex;
}

.search {
  border: 1px solid var(--line);
  color: #818984;
  text-align: left;
  background: #fafafa;
  border-radius: 7px;
  width: 260px;
  height: 36px;
  padding: 0 10px;
}

.search span {
  font-size: var(--ui-caption-size, 11px);
  margin-left: 5px;
}

.search kbd {
  float: right;
  font-size: var(--ui-caption-size, 9px);
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 2px 5px;
}

.round {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  position: relative;
}

.bell i {
  background: #b35c44;
  border: 1px solid #fff;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  position: absolute;
  top: 2px;
  right: 3px;
}

.content {
  max-width: 1500px;
  margin: auto;
  padding: 31px 34px 50px;
}

.heading {
  justify-content: space-between;
  align-items: flex-end;
  display: flex;
}

.heading p {
  font-size: var(--ui-text-size, 9px);
  color: #8b958f;
  letter-spacing: 1.5px;
  margin: 0 0 8px;
  font-weight: bold;
}

.heading h1 {
  margin: 0 0 8px;
  font-family: Georgia, serif;
  font-size: 31px;
  font-weight: 500;
}

.heading span {
  color: var(--muted);
  font-size: var(--ui-text-size, 12px);
}

.heading button {
  font-size: var(--ui-text-size, 11px);
  border-radius: 6px;
  margin-left: 7px;
  padding: 10px 14px;
  font-weight: bold;
}

.secondary {
  background: #fff;
  border: 1px solid #d8ddda;
}

.primary {
  color: #fff;
  background: #2f6f62;
  border: 1px solid #2f6f62;
}

.alert {
  background: #fff9f0;
  border: 1px solid #eadbc6;
  border-left: 3px solid #bd774a;
  border-radius: 7px;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
  padding: 13px 15px;
  display: flex;
}

.alertIcon {
  color: #9f603b;
  background: #f2dfca;
  border-radius: 50%;
  place-items: center;
  width: 28px;
  height: 28px;
  font-family: Georgia;
  font-weight: bold;
  display: grid;
}

.alert div {
  flex: 1;
}

.alert strong {
  font-size: var(--ui-caption-size, 11px);
}

.alert p {
  color: #81776c;
  font-size: var(--ui-text-size, 10px);
  margin: 3px 0 0;
}

.alert button {
  color: #8d5938;
  font-size: var(--ui-text-size, 10px);
  cursor: pointer;
  background: none;
  border: 0;
  font-weight: bold;
}

.metrics {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 18px;
  display: grid;
}

.metrics article, .panel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
}

.metrics article {
  min-height: 128px;
  padding: 17px 18px;
}

.metrics article > div:first-child {
  justify-content: space-between;
  display: flex;
}

.metrics span {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: .8px;
  color: #7b8580;
  font-weight: bold;
}

.metrics b {
  color: #9ca39f;
  font-size: var(--ui-caption-size, 10px);
}

.metrics strong {
  margin: 15px 0 9px;
  font-family: Georgia;
  font-size: 28px;
  font-weight: 500;
  display: block;
}

.metrics .date {
  font-size: 25px;
}

.metrics small {
  font-size: var(--ui-caption-size, 9px);
  color: #7d8581;
}

.metrics em {
  color: #327462;
  font-style: normal;
  font-weight: bold;
}

.progress, .bar {
  background: #edf0ee;
  border-radius: 10px;
  height: 5px;
  overflow: hidden;
}

.progress {
  margin-bottom: 9px;
}

.progress i, .bar i {
  background: #397b6b;
  border-radius: 10px;
  height: 100%;
  display: block;
}

.dot {
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin: 0 4px 0 10px;
  display: inline-block;
}

.dot:first-child {
  margin-left: 0;
}

.red {
  background: #b95d4b;
}

.amber {
  background: #d19a43;
}

.green {
  background: #3f876e;
}

.grid {
  grid-template-columns: 1.15fr .85fr;
  gap: 14px;
  margin-top: 14px;
  display: grid;
}

.panel {
  padding: 20px;
}

.panelHead {
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 12px;
  display: flex;
}

.panelHead h2 {
  margin: 0 0 4px;
  font-family: Georgia;
  font-size: 17px;
}

.panelHead p {
  font-size: var(--ui-text-size, 9px);
  color: #838c87;
  margin: 0;
}

.panelHead button {
  color: #2f6f62;
  font-size: var(--ui-text-size, 9px);
  background: none;
  border: 0;
  font-weight: bold;
}

.modelRow {
  border-top: 1px solid #edf0ee;
  grid-template-columns: 170px 1fr 36px;
  align-items: center;
  gap: 15px;
  padding: 12px 0;
  display: grid;
}

.modelRow div:first-child {
  flex-direction: column;
  display: flex;
}

.modelRow strong {
  font-size: var(--ui-caption-size, 10px);
}

.modelRow span {
  font-size: var(--ui-caption-size, 8px);
  color: #89918e;
  margin-top: 3px;
}

.modelRow > b {
  font-size: var(--ui-caption-size, 9px);
  color: #4b5752;
}

.activity {
  border-top: 1px solid #edf0ee;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  display: flex;
}

.activity > span {
  width: 30px;
  height: 30px;
  font-size: var(--ui-caption-size, 8px);
  border-radius: 50%;
  place-items: center;
  font-weight: bold;
  display: grid;
}

.activity div {
  flex-direction: column;
  flex: 1;
  min-width: 0;
  display: flex;
}

.activity strong {
  font-size: var(--ui-caption-size, 9px);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.activity small {
  font-size: var(--ui-caption-size, 8px);
  color: #88918d;
  margin-top: 4px;
}

.activity time {
  font-size: var(--ui-caption-size, 8px);
  color: #929995;
}

.bar {
  height: 5px;
}

@media (max-width: 1050px) {
  .metrics {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .search {
    width: 190px;
  }
}

@media (max-width: 720px) {
  .sidebar {
    width: 64px;
    padding: 20px 8px;
  }

  .brand div, .sidebar button:not(.active) {
    font-size: 0;
  }

  .sidebar button {
    justify-content: center;
  }

  .sidebar button.active {
    font-size: 0;
  }

  .sidebarBottom .profile div {
    display: none;
  }

  .workspace {
    width: calc(100% - 64px);
    margin-left: 64px;
  }

  .topbar {
    padding: 0 14px;
  }

  .status, .search {
    display: none;
  }

  .content {
    padding: 22px 15px;
  }

  .heading {
    align-items: flex-start;
    gap: 18px;
  }

  .heading > div:last-child {
    display: flex;
  }

  .heading button {
    font-size: 0;
  }

  .heading button:after {
    content: "+";
    font-size: 16px;
  }

  .secondary {
    display: none;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
  }

  .modelRow {
    grid-template-columns: 120px 1fr 30px;
  }
}

@media (max-width: 480px) {
  .metrics {
    grid-template-columns: 1fr;
  }

  .alert button, .heading span {
    display: none;
  }
}

@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-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}

/* [project]/app/modules.css [app-client] (css) */
.module {
  margin-top: 25px;
}

.moduleTools, .tableHead {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
  display: flex;
}

.filter {
  border: 1px solid var(--line);
  color: #8a928e;
  font-size: var(--ui-caption-size, 11px);
  background: #fff;
  border-radius: 7px;
  width: 310px;
  padding: 11px 14px;
}

.moduleTools button, .tableHead button {
  font-size: var(--ui-text-size, 10px);
  border-radius: 6px;
  padding: 10px 14px;
}

.clientCards {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  display: grid;
}

.clientCards article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 18px;
}

.clientTitle {
  align-items: center;
  gap: 11px;
  display: flex;
}

.clientTitle > span {
  color: #fff;
  width: 38px;
  height: 38px;
  font-size: var(--ui-caption-size, 10px);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.clientTitle div {
  flex: 1;
}

.clientTitle h3 {
  font-family: Georgia;
  font-size: var(--ui-text-size, 15px);
  margin: 0 0 4px;
}

.clientTitle p {
  color: #89918d;
  font-size: var(--ui-text-size, 9px);
  margin: 0;
}

.clientTitle b {
  color: #999;
  font-size: var(--ui-caption-size, 10px);
}

.clientStats {
  border-block: 1px solid #eef0ef;
  grid-template-columns: repeat(3, 1fr);
  margin: 22px 0 15px;
  padding: 14px 0;
  display: grid;
}

.clientStats div {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.clientStats small {
  font-size: var(--ui-caption-size, 7px);
  color: #8b938f;
}

.clientStats strong {
  font-family: Georgia;
  font-size: 16px;
}

.clientCards article > button {
  color: var(--green);
  font-size: var(--ui-text-size, 9px);
  background: none;
  border: 0;
  font-weight: bold;
}

.tabs {
  border-bottom: 1px solid var(--line);
  gap: 26px;
  margin-bottom: 14px;
  display: flex;
}

.tabs > * {
  font-style: normal;
  font-size: var(--ui-caption-size, 10px);
  color: #7e8783;
  padding: 0 2px 11px;
}

.tabs b {
  color: var(--green);
  border-bottom: 2px solid var(--green);
}

.tablePanel {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 20px;
}

.tableHead h2, .tablePanel > h2 {
  margin: 0 0 4px;
  font-family: Georgia;
  font-size: 17px;
}

.tableHead p {
  font-size: var(--ui-text-size, 9px);
  color: #89918d;
  margin: 0;
}

.docRow, .riskRow {
  min-height: 53px;
  font-size: var(--ui-caption-size, 9px);
  border-top: 1px solid #edf0ee;
  align-items: center;
  gap: 13px;
  display: grid;
}

.docRow {
  grid-template-columns: 85px 1fr 45px 80px 75px 52px;
}

.docRow > b {
  color: #6a736f;
}

.docRow strong {
  font-size: var(--ui-caption-size, 10px);
}

.docRow em, .severity {
  font-style: normal;
}

.docRow button, .riskRow button, .checkRow button {
  color: var(--green);
  font-size: var(--ui-text-size, 9px);
  background: none;
  border: 0;
  font-weight: bold;
}

.badge, .severity {
  text-align: center;
  border-radius: 10px;
  padding: 5px 7px;
}

.approvato, .completato {
  color: #387160;
  background: #e8f3ee;
}

.inrevisione, .incorso, .dapprovare {
  color: #96683e;
  background: #f7eddd;
}

.bozza, .dainiziare {
  color: #6e7773;
  background: #eef0ef;
}

.riskSummary {
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 14px;
  display: grid;
}

.riskSummary article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 17px;
}

.riskSummary small {
  font-size: var(--ui-caption-size, 8px);
  color: #7c8581;
  display: block;
}

.riskSummary strong {
  margin: 10px 8px 0 0;
  font-family: Georgia;
  font-size: 27px;
  display: inline-block;
}

.riskSummary span {
  font-size: var(--ui-caption-size, 9px);
  color: #71807a;
}

.riskRow {
  grid-template-columns: 1.2fr 1.2fr 55px 45px 45px 45px;
}

.severity.alto {
  color: #a04f41;
  background: #f4e3df;
}

.severity.medio {
  color: #98703e;
  background: #f6ecd9;
}

.templateGrid {
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  display: grid;
}

.templateGrid article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 20px;
}

.paperIcon {
  color: #3c7467;
  background: #eaf1ee;
  border-radius: 4px;
  place-items: center;
  width: 36px;
  height: 42px;
  margin-bottom: 14px;
  display: grid;
}

.templateGrid small {
  font-size: var(--ui-caption-size, 8px);
  color: #3f7669;
  text-transform: uppercase;
  font-weight: bold;
}

.templateGrid h3 {
  font-family: Georgia;
  font-size: var(--ui-text-size, 15px);
  min-height: 38px;
  margin: 8px 0;
}

.templateGrid p {
  font-size: var(--ui-text-size, 9px);
  color: #89918d;
}

.templateGrid article div:last-child {
  gap: 6px;
  margin-top: 16px;
  display: flex;
}

.templateGrid button {
  border: 1px solid var(--line);
  font-size: var(--ui-text-size, 9px);
  background: #fff;
  border-radius: 5px;
  padding: 7px 10px;
}

.templateGrid button:first-child {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.reviewHero {
  color: #fff;
  background: #203d34;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 24px 26px;
  display: flex;
}

.reviewHero small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.2px;
  color: #b8cac4;
}

.reviewHero h2 {
  margin: 8px 0;
  font-family: Georgia;
  font-size: 23px;
}

.reviewHero p {
  font-size: var(--ui-text-size, 10px);
  color: #bdcbc7;
}

.reviewHero > strong {
  flex-direction: column;
  font-family: Georgia;
  font-size: 30px;
  display: flex;
}

.reviewHero > strong span {
  font-family: Arial;
  font-size: var(--ui-caption-size, 8px);
  color: #c1cfca;
  text-transform: uppercase;
}

.reviewGrid {
  grid-template-columns: 1fr 270px;
  gap: 14px;
  margin-top: 14px;
  display: grid;
}

.reviewGrid aside {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  padding: 20px;
}

.reviewGrid aside h3 {
  margin: 0 0 15px;
  font-family: Georgia;
  font-size: 16px;
}

.reviewGrid aside p {
  font-size: var(--ui-text-size, 9px);
  border-bottom: 1px solid #edf0ee;
  padding: 0 0 10px;
}

.reviewGrid aside button {
  border-radius: 5px;
  width: 100%;
  margin-top: 10px;
  padding: 10px;
}

.checkRow {
  border-top: 1px solid #edf0ee;
  grid-template-columns: 28px 1fr 70px 45px;
  align-items: center;
  min-height: 56px;
  display: grid;
}

.checkRow > span {
  width: 22px;
  height: 22px;
  font-size: var(--ui-caption-size, 8px);
  border: 1px solid #d8ddda;
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.checkRow > span.checked {
  background: var(--green);
  color: #fff;
}

.checkRow strong {
  font-size: var(--ui-caption-size, 10px);
}

.checkRow em {
  font-size: var(--ui-caption-size, 8px);
  color: #7b8580;
  font-style: normal;
}

.toast {
  color: #fff;
  font-size: var(--ui-caption-size, 11px);
  z-index: 20;
  background: #183d33;
  border-radius: 7px;
  padding: 13px 18px;
  position: fixed;
  bottom: 24px;
  right: 24px;
  box-shadow: 0 12px 35px #0003;
}

@media (max-width: 1000px) {
  .clientCards, .templateGrid {
    grid-template-columns: 1fr 1fr;
  }

  .reviewGrid {
    grid-template-columns: 1fr;
  }

  .docRow {
    grid-template-columns: 75px 1fr 45px 75px;
  }

  .docRow time, .docRow button {
    display: none;
  }
}

@media (max-width: 700px) {
  .clientCards, .templateGrid, .riskSummary {
    grid-template-columns: 1fr;
  }

  .riskRow {
    grid-template-columns: 1fr 1fr 45px;
  }

  .riskRow b, .riskRow button {
    display: none;
  }

  .tabs {
    overflow: auto;
  }

  .reviewHero {
    align-items: flex-start;
  }

  .checkRow {
    grid-template-columns: 28px 1fr 50px;
  }

  .checkRow button {
    display: none;
  }
}

/* [project]/app/onboarding.css [app-client] (css) */
.onboardingIntro {
  color: #fff;
  background: #203d34;
  border-radius: 10px 10px 0 0;
  justify-content: space-between;
  align-items: center;
  padding: 24px 27px;
  display: flex;
}

.onboardingIntro small, .generationTop small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.3px;
  color: #b8cac4;
  font-weight: bold;
}

.onboardingIntro h2 {
  margin: 8px 0;
  font-family: Georgia;
  font-size: 22px;
}

.onboardingIntro p {
  font-size: var(--ui-text-size, 10px);
  color: #bdcbc7;
  margin: 0;
}

.completion {
  width: 175px;
}

.completion strong {
  font-family: Georgia;
  font-size: 22px;
}

.completion > div {
  background: #496158;
  border-radius: 6px;
  height: 5px;
  margin: 8px 0;
  overflow: hidden;
}

.completion > div span {
  background: #dce9e3;
  border-radius: 6px;
  height: 100%;
  display: block;
}

.completion small {
  font-size: var(--ui-caption-size, 8px);
  color: #aebfba;
}

.onboardingLayout {
  border: 1px solid var(--line);
  background: #fff;
  border-top: 0;
  border-radius: 0 0 10px 10px;
  grid-template-columns: 250px 1fr;
  min-height: 560px;
  display: grid;
}

.stepper {
  border-right: 1px solid var(--line);
  background: #f4f6f4;
  padding: 24px 16px;
}

.stepper button {
  text-align: left;
  color: #77807c;
  background: none;
  border: 0;
  border-radius: 7px;
  align-items: flex-start;
  gap: 11px;
  width: 100%;
  padding: 12px 10px;
  display: flex;
}

.stepper button > span {
  width: 24px;
  height: 24px;
  font-size: var(--ui-text-size, 9px);
  border: 1px solid #cad1cd;
  border-radius: 50%;
  flex: none;
  place-items: center;
  display: grid;
}

.stepper button div {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.stepper button strong {
  font-size: var(--ui-text-size, 10px);
}

.stepper button small {
  font-size: var(--ui-text-size, 8px);
  color: #929a96;
}

.stepper button.current {
  color: #285e52;
  background: #fff;
  box-shadow: 0 2px 8px #1725200b;
}

.stepper button.current > span {
  color: #fff;
  background: #2f6f62;
  border-color: #2f6f62;
}

.stepper button.done > span {
  color: #34715f;
  background: #e1eee8;
  border-color: #d1e4dc;
}

.questionCard {
  flex-direction: column;
  padding: 30px 34px;
  display: flex;
}

.questionHead > span {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.1px;
  color: #367264;
  font-weight: bold;
}

.questionHead h2 {
  margin: 8px 0;
  font-family: Georgia;
  font-size: 22px;
}

.questionHead p {
  font-size: var(--ui-text-size, 10px);
  color: #818a86;
  margin: 0 0 25px;
}

.fieldsGrid {
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  display: grid;
}

.fieldsGrid label {
  flex-direction: column;
  gap: 7px;
  display: flex;
}

.fieldsGrid label span {
  font-size: var(--ui-text-size, 9px);
  color: #505b57;
  font-weight: bold;
}

.fieldsGrid input, .fieldsGrid select {
  width: 100%;
  font-size: var(--ui-text-size, 10px);
  color: #27302d;
  background: #fff;
  border: 1px solid #dfe3e1;
  border-radius: 6px;
  outline: none;
  padding: 11px 12px;
}

.fieldsGrid input:focus, .fieldsGrid select:focus {
  border-color: #4f8578;
  box-shadow: 0 0 0 3px #e7f0ec;
}

.questions {
  border-top: 1px solid #edf0ee;
}

.question {
  border-bottom: 1px solid #edf0ee;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 14px 0;
  display: flex;
}

.question > div:first-child {
  align-items: center;
  gap: 10px;
  display: flex;
}

.question b {
  width: 22px;
  height: 22px;
  font-size: var(--ui-caption-size, 8px);
  color: #62706a;
  background: #eef2f0;
  border-radius: 50%;
  place-items: center;
  display: grid;
}

.question span {
  font-size: var(--ui-caption-size, 10px);
  line-height: 1.35;
}

.question > div:last-child {
  gap: 5px;
  display: flex;
}

.question button {
  width: 42px;
  font-size: var(--ui-text-size, 9px);
  background: #fff;
  border: 1px solid #dfe3e1;
  border-radius: 5px;
  padding: 7px 0;
}

.question button.chosen {
  color: #fff;
  background: #2f6f62;
  border-color: #2f6f62;
}

.wizardActions {
  justify-content: space-between;
  margin-top: auto;
  padding-top: 25px;
  display: flex;
}

.wizardActions button {
  font-size: var(--ui-text-size, 10px);
  background: #fff;
  border: 1px solid #d9deda;
  border-radius: 6px;
  padding: 10px 15px;
}

.wizardActions button:disabled {
  opacity: .35;
}

.wizardActions .primary {
  color: #fff;
  background: #2f6f62;
  border-color: #2f6f62;
}

.wizardActions .generate {
  background: #87683f;
  border-color: #87683f;
}

.generationTop {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  display: flex;
}

.generationTop > div {
  align-items: center;
  gap: 14px;
  display: flex;
}

.successMark {
  color: #31715e;
  background: #e2f0ea;
  border-radius: 50%;
  place-items: center;
  width: 42px;
  height: 42px;
  font-size: 18px;
  display: grid;
}

.generationTop small {
  color: #3a7768;
}

.generationTop h2 {
  margin: 5px 0;
  font-family: Georgia;
  font-size: 19px;
}

.generationTop p {
  font-size: var(--ui-text-size, 9px);
  color: #828b87;
  margin: 0;
}

.generationTop button {
  border-radius: 5px;
  padding: 9px 12px;
}

.generationGrid {
  grid-template-columns: 255px 1fr;
  gap: 14px;
  margin-top: 14px;
  display: grid;
}

.generationGrid > aside {
  color: #fff;
  background: #203d34;
  border-radius: 9px;
  padding: 19px 12px;
}

.generationGrid > aside > strong {
  font-family: Georgia;
  font-size: var(--ui-text-size, 15px);
  padding: 0 10px 13px;
  display: block;
}

.generationGrid > aside button {
  color: #aebdb8;
  text-align: left;
  width: 100%;
  font-size: var(--ui-text-size, 9px);
  background: none;
  border: 0;
  border-radius: 5px;
  gap: 9px;
  padding: 9px 10px;
  display: flex;
}

.generationGrid > aside button span {
  color: #6f8580;
}

.generationGrid > aside button.selected {
  color: #fff;
  background: #314f45;
}

.documentPreview {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  min-height: 560px;
  padding: 40px 52px;
  box-shadow: 0 5px 20px #1725200a;
}

.documentPreview > small {
  font-size: var(--ui-caption-size, 8px);
  color: #367264;
  letter-spacing: 1.2px;
  font-weight: bold;
}

.documentPreview h1 {
  border-bottom: 1px solid #e5e8e6;
  margin: 8px 0 22px;
  padding-bottom: 15px;
  font-family: Georgia;
  font-size: 27px;
  font-weight: 500;
}

.documentPreview h3 {
  font-family: Georgia;
  font-size: var(--ui-text-size, 15px);
  margin: 22px 0 8px;
}

.documentPreview p {
  font-family: Georgia;
  font-size: var(--ui-text-size, 11px);
  color: #3e4844;
  line-height: 1.7;
}

.autoNote {
  background: #fff8ed;
  border-left: 3px solid #b67b48;
  flex-direction: column;
  gap: 5px;
  margin-top: 20px;
  padding: 12px 14px;
  display: flex;
}

.autoNote b {
  font-size: var(--ui-caption-size, 9px);
  color: #8b5d36;
}

.autoNote span {
  font-size: var(--ui-caption-size, 8px);
  color: #7e746b;
}

.documentActions {
  border-top: 1px solid #edf0ee;
  justify-content: flex-end;
  gap: 7px;
  margin-top: 28px;
  padding-top: 16px;
  display: flex;
}

.documentActions button {
  font-size: var(--ui-text-size, 9px);
  background: #fff;
  border: 1px solid #d9deda;
  border-radius: 5px;
  padding: 9px 13px;
}

.documentActions .primary {
  color: #fff;
  background: #2f6f62;
  border-color: #2f6f62;
}

@media (max-width: 900px) {
  .onboardingLayout, .generationGrid {
    grid-template-columns: 1fr;
  }

  .stepper {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: flex;
    overflow: auto;
  }

  .stepper button {
    min-width: 180px;
  }

  .completion, .generationGrid > aside {
    display: none;
  }
}

@media (max-width: 600px) {
  .fieldsGrid {
    grid-template-columns: 1fr;
  }

  .question {
    flex-direction: column;
    align-items: flex-start;
  }

  .questionCard {
    padding: 24px 18px;
  }

  .onboardingIntro {
    padding: 20px;
  }

  .documentPreview {
    padding: 28px 22px;
  }

  .generationTop {
    align-items: flex-start;
  }

  .generationTop > button {
    display: none;
  }
}

/* [project]/app/theme-refresh.css [app-client] (css) */
:root {
  --ink: #172033;
  --muted: #687187;
  --green: #266a73;
  --line: #dde2ea;
  --paper: #f3f5f9;
}

.sidebar {
  background: #17213a;
}

.brandMark {
  color: #1d6670;
  background: #e7f2f2;
}

.brand small {
  color: #9dacc8;
}

.sidebar button {
  color: #aab5ca;
}

.sidebar button:hover, .sidebar button.active {
  background: #263654;
}

.sidebarBottom {
  border-color: #31405d;
}

.profile small {
  color: #9aa8c0;
}

.topbar {
  border-color: #e0e5ec;
}

.status {
  color: #23636b;
  background: #e8f3f3;
}

.primary, .wizardActions .primary, .documentActions .primary, .templateGrid button:first-child {
  background: #236c75 !important;
  border-color: #236c75 !important;
}

.heading p, .questionHead > span, .generationTop small, .documentPreview > small {
  color: #c66a4a;
}

.progress i, .bar i {
  background: #2d7b84;
}

.alert {
  background: #fff5ef;
  border-color: #edcfc1 #edcfc1 #edcfc1 #d27655;
}

.alertIcon {
  color: #a85338;
  background: #f7ded3;
}

.alert button {
  color: #a85338;
}

.onboardingIntro, .reviewHero, .generationGrid > aside {
  background: linear-gradient(135deg, #1b2c4a, #245867);
}

.stepper button.current {
  color: #1f6670;
}

.stepper button.current > span, .question button.chosen, .checkRow > span.checked {
  background: #c96d4d;
  border-color: #c96d4d;
}

.stepper button.done > span {
  color: #246a73;
  background: #e5eff2;
  border-color: #cfe0e5;
}

.fieldsGrid input:focus, .fieldsGrid select:focus {
  border-color: #c96d4d;
  box-shadow: 0 0 0 3px #faece7;
}

.wizardActions .generate {
  background: #c96d4d !important;
  border-color: #c96d4d !important;
}

.autoNote {
  background: #fff5ef;
  border-color: #d27655;
}

.autoNote b {
  color: #a65338;
}

.successMark {
  color: #236b74;
  background: #e6f1f2;
}

.tabs b {
  color: #c35f42;
  border-color: #c35f42;
}

.templateGrid small {
  color: #28707a;
}

.paperIcon {
  color: #286c75;
  background: #e7f1f3;
}

.toast {
  background: #1b2c4a;
}

.clientLogo {
  box-shadow: inset 0 0 0 1px #ffffff38;
}

/* [project]/app/generated.css [app-client] (css) */
.applicableParts {
  flex-wrap: wrap;
  gap: 6px;
  margin: 10px 0 18px;
  display: flex;
}

.applicableParts span {
  color: #245f68;
  font: 600 var(--ui-caption-size, 8px) Arial;
  background: #e9f2f4;
  border: 1px solid #d5e6e9;
  border-radius: 14px;
  padding: 6px 9px;
}

/* [project]/app/library.css [app-client] (css) */
.libraryHero {
  color: #fff;
  background: linear-gradient(135deg, #1b2c4a, #245867);
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 25px 28px;
  display: flex;
}

.libraryHero small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.3px;
  color: #cfdbec;
}

.libraryHero h2 {
  margin: 7px 0;
  font: 500 24px Georgia;
}

.libraryHero p {
  font-size: var(--ui-text-size, 10px);
  color: #c4d0df;
  margin: 0;
}

.libraryTotals {
  text-align: right;
  flex-direction: column;
  display: flex;
}

.libraryTotals strong {
  font: 34px Georgia;
}

.libraryTotals span {
  font-size: var(--ui-caption-size, 8px);
  color: #bdcbda;
  text-transform: uppercase;
}

.libraryStats {
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin: 13px 0;
  display: grid;
}

.libraryStats article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  align-items: baseline;
  gap: 8px;
  padding: 14px 16px;
  display: flex;
}

.libraryStats strong {
  color: #1c5f69;
  font: 21px Georgia;
}

.libraryStats span {
  font-size: var(--ui-caption-size, 8px);
  color: #748096;
}

.ethicsFeature {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  margin-bottom: 14px;
  padding: 20px;
}

.ethicsTitle {
  align-items: center;
  gap: 13px;
  display: flex;
}

.ethicsTitle > span {
  color: #a95136;
  width: 46px;
  height: 50px;
  font: 600 var(--ui-text-size, 14px) Georgia;
  background: #fde9e1;
  border-radius: 7px;
  place-items: center;
  display: grid;
}

.ethicsTitle > div {
  flex: 1;
}

.ethicsTitle small {
  font-size: var(--ui-caption-size, 7px);
  color: #c26245;
  letter-spacing: 1px;
  font-weight: bold;
}

.ethicsTitle h3 {
  margin: 5px 0;
  font: 17px Georgia;
}

.ethicsTitle p {
  font-size: var(--ui-text-size, 9px);
  color: #7c8799;
  margin: 0;
}

.ethicsTitle button {
  color: #216873;
  font-size: var(--ui-text-size, 9px);
  background: none;
  border: 0;
  font-weight: bold;
}

.ethicsSections {
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-top: 18px;
  display: grid;
}

.ethicsSections div {
  background: #f5f7fa;
  border-radius: 6px;
  align-items: center;
  gap: 7px;
  padding: 10px;
  display: flex;
}

.ethicsSections span {
  font-size: var(--ui-caption-size, 7px);
  color: #c56b4e;
}

.ethicsSections strong {
  font-size: var(--ui-caption-size, 8px);
  color: #3e485b;
}

.deontologyNote {
  background: #f0f5f7;
  border-left: 3px solid #2a7580;
  grid-template-columns: 120px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 12px 14px;
  display: grid;
}

.deontologyNote b {
  font: var(--ui-text-size, 14px) Georgia;
  color: #205c65;
}

.deontologyNote span {
  font-size: var(--ui-caption-size, 8px);
  color: #667387;
  line-height: 1.5;
}

.deontologyNote button {
  color: #236873;
  font-size: var(--ui-text-size, 8px);
  background: #fff;
  border: 1px solid #cbdadd;
  border-radius: 5px;
  padding: 7px 10px;
}

.libraryTools {
  align-items: center;
  gap: 10px;
  margin: 17px 0;
  display: flex;
}

.librarySearch {
  border: 1px solid var(--line);
  color: #8490a0;
  background: #fff;
  border-radius: 7px;
  flex: 1;
  padding: 0 11px;
}

.librarySearch input {
  width: calc(100% - 22px);
  font-size: var(--ui-text-size, 10px);
  background: none;
  border: 0;
  outline: 0;
  padding: 11px;
}

.libraryTools select {
  border: 1px solid var(--line);
  font-size: var(--ui-text-size, 9px);
  background: #fff;
  border-radius: 7px;
  min-width: 180px;
  padding: 10px;
}

.libraryTools > span {
  font-size: var(--ui-caption-size, 8px);
  color: #7d8797;
  min-width: 60px;
}

.sourceGrid {
  grid-template-columns: repeat(3, 1fr);
  gap: 11px;
  display: grid;
}

.sourceGrid article {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  flex-direction: column;
  min-height: 185px;
  padding: 15px;
  display: flex;
}

.sourceTop {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  display: flex;
}

.fileType {
  font-size: var(--ui-caption-size, 7px);
  color: #28636d;
  background: #e9f0f3;
  border-radius: 4px;
  padding: 5px 6px;
  font-weight: bold;
}

.fileType.xlsx {
  color: #317055;
  background: #e6f2ec;
}

.fileType.pdf {
  color: #a34f3b;
  background: #f9e8e3;
}

.fileType.txt, .fileType.url {
  color: #6f5793;
  background: #f1edf7;
}

.sourceTop em {
  font-style: normal;
  font-size: var(--ui-caption-size, 7px);
  color: #8993a2;
}

.sourceGrid article > small {
  font-size: var(--ui-caption-size, 7px);
  color: #c06346;
  text-transform: uppercase;
  letter-spacing: .5px;
  font-weight: bold;
}

.sourceGrid h3 {
  font: var(--ui-text-size, 14px) Georgia;
  margin: 7px 0;
  line-height: 1.25;
}

.sourceGrid p {
  font-size: var(--ui-text-size, 8px);
  color: #788395;
  margin: 0 0 15px;
  line-height: 1.45;
}

.sourceGrid article > div:last-child {
  border-top: 1px solid #edf0f3;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 10px;
  display: flex;
}

.sourceGrid code {
  font: var(--ui-caption-size, 7px) monospace;
  color: #7d8795;
  white-space: nowrap;
  max-width: 55%;
  overflow: hidden;
}

.sourceGrid button {
  color: #216873;
  font-size: var(--ui-text-size, 8px);
  background: none;
  border: 0;
  font-weight: bold;
}

.showAll {
  color: #236873;
  font-size: var(--ui-caption-size, 9px);
  background: #fff;
  border: 1px solid #ced9df;
  border-radius: 6px;
  margin: 16px auto 0;
  padding: 10px 18px;
  display: block;
}

@media (max-width: 1000px) {
  .libraryStats {
    grid-template-columns: repeat(3, 1fr);
  }

  .sourceGrid, .ethicsSections {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 650px) {
  .libraryStats {
    grid-template-columns: 1fr 1fr;
  }

  .sourceGrid {
    grid-template-columns: 1fr;
  }

  .libraryTools {
    flex-wrap: wrap;
  }

  .libraryTools select {
    flex: 1;
  }

  .ethicsTitle > button {
    display: none;
  }

  .deontologyNote, .ethicsSections {
    grid-template-columns: 1fr;
  }

  .libraryTotals {
    display: none;
  }
}

.reviewedLibrary .libraryTools {
  flex-wrap: wrap;
  gap: 10px;
}

.reviewedLibrary .libraryTools select {
  max-width: 100%;
  padding: 10px;
}

.reviewedLibrary .librarySearch {
  flex: 1;
  min-width: 220px;
}

.reviewedLibrary .libraryStats {
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.libraryContext, .libraryFamily {
  font-size: var(--ui-text-size, 14px);
  background: #f4f8f7;
  border: 1px solid #d8e5e1;
  border-radius: 10px;
  margin: 16px 0;
  padding: 18px;
  line-height: 1.6;
}

.libraryFamily {
  background: #fff;
}

.libraryFamily h3 {
  margin: 0 0 10px;
}

.libraryContext p {
  margin: 6px 0;
}

.reviewedLibrary details {
  font-size: var(--ui-text-size, 13px);
  margin: 12px 0;
  line-height: 1.5;
}

.reviewedLibrary summary {
  cursor: pointer;
  color: #266a73;
  font-weight: 700;
}

.reviewedLibrary li {
  overflow-wrap: anywhere;
  margin: 8px 0;
}

.reviewedLibrary li small {
  color: #667580;
  display: block;
}

.reviewedLibrary .sourceGrid article {
  flex-direction: column;
  min-width: 0;
  display: flex;
}

.reviewedLibrary .sourceGrid article > footer {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 16px;
  display: flex;
}

.reviewedLibrary button {
  cursor: pointer;
}

.reviewedLibrary button:disabled {
  opacity: .55;
  cursor: default;
}

.reviewedLibrary button:focus-visible, .reviewedLibrary summary:focus-visible {
  outline-offset: 3px;
  outline: 3px solid #bd6044;
}

.reviewedLibrary .libraryRelevance {
  font-size: var(--ui-text-size, 12px);
  background: #eff5f3;
  border-radius: 6px;
  padding: 10px;
}

.libraryRelated {
  gap: 8px;
  margin-top: 12px;
  display: grid;
}

.libraryRelated > div {
  border: 1px solid #d8e5e1;
  border-radius: 6px;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px;
  display: flex;
}

.libraryRelated span {
  flex: 1;
  min-width: 160px;
}

.reviewedLibrary .sourceGrid .libraryRelated > div {
  display: block;
}

.libraryRelated button, .reviewedLibrary footer button {
  color: #266a73;
  font: inherit;
  background: #fff;
  border: 1px solid #266a73;
  border-radius: 6px;
  padding: 8px 12px;
}

.reviewedLibrary .sourceTop .fileType {
  white-space: normal;
  max-width: 55%;
  height: auto;
}

/* [project]/app/procedures.css [app-client] (css) */
.procedureHero {
  color: #fff;
  background: linear-gradient(135deg, #20324f, #22606b);
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  padding: 25px 28px;
  display: flex;
}

.procedureHero small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.3px;
  color: #ced9e9;
}

.procedureHero h2 {
  margin: 7px 0;
  font: 500 24px Georgia;
}

.procedureHero p {
  font-size: var(--ui-text-size, 10px);
  color: #c2d0dc;
  margin: 0;
}

.procedureHero > div:last-child {
  text-align: right;
  flex-direction: column;
  display: flex;
}

.procedureHero > div:last-child strong {
  font: 34px Georgia;
}

.procedureHero > div:last-child span {
  font-size: var(--ui-caption-size, 8px);
  text-transform: uppercase;
  color: #c4d2dd;
}

.procedureTabs {
  grid-template-columns: 210px 210px 230px minmax(220px, 1fr);
  gap: 10px;
  margin: 14px 0;
  display: grid;
}

.procedureTabs > button {
  border: 1px solid var(--line);
  text-align: left;
  background: #fff;
  border-radius: 8px;
  grid-template-columns: 35px 1fr;
  padding: 13px 15px;
  display: grid;
}

.procedureTabs > button strong {
  color: #7e8999;
  grid-row: 1 / 3;
  font: 23px Georgia;
}

.procedureTabs > button span {
  font-size: var(--ui-text-size, 10px);
  font-weight: bold;
}

.procedureTabs > button small {
  font-size: var(--ui-text-size, 7px);
  color: #8b95a4;
  margin-top: 3px;
}

.procedureTabs > button.active {
  border-color: #c96d4d;
  box-shadow: inset 0 0 0 1px #c96d4d;
}

.procedureTabs > button.active strong {
  color: #c96d4d;
}

.procedureTabs > button.clientTab {
  background: linear-gradient(135deg, #fff8f3, #fff);
}

.procedureSearch {
  border: 1px solid var(--line);
  color: #8490a0;
  background: #fff;
  border-radius: 8px;
  align-items: center;
  padding: 0 13px;
  display: flex;
}

.procedureSearch input {
  width: 100%;
  font-size: var(--ui-text-size, 9px);
  background: none;
  border: 0;
  outline: 0;
  padding: 12px;
}

.procedureList {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 9px;
  overflow: hidden;
}

.procedureListHead {
  font-size: var(--ui-caption-size, 7px);
  color: #788497;
  letter-spacing: .6px;
  background: #f0f3f6;
  grid-template-columns: 1.4fr 1fr 150px;
  gap: 15px;
  padding: 11px 18px;
  font-weight: bold;
  display: grid;
}

.procedureList article {
  border-top: 1px solid #edf0f3;
  grid-template-columns: 1.4fr 1fr 150px;
  align-items: center;
  gap: 15px;
  padding: 14px 18px;
  display: grid;
}

.procedureList article > div:first-child {
  align-items: center;
  gap: 11px;
  display: flex;
}

.procedureNumber {
  color: #266873;
  width: 28px;
  height: 28px;
  font: var(--ui-caption-size, 9px) Georgia;
  background: #e9f1f3;
  border-radius: 7px;
  flex: none;
  place-items: center;
  display: grid;
}

.procedureList article small {
  font-size: var(--ui-caption-size, 7px);
  color: #c16245;
  font-weight: bold;
}

.procedureList h3 {
  font: var(--ui-text-size, 13px) Georgia;
  margin: 4px 0 0;
  line-height: 1.2;
}

.procedureChips {
  flex-wrap: wrap;
  gap: 4px;
  display: flex;
}

.procedureChips span {
  font-size: var(--ui-caption-size, 7px);
  color: #667386;
  background: #f1f4f6;
  border-radius: 10px;
  padding: 4px 6px;
}

.procedureList article > button {
  color: #216873;
  font-size: var(--ui-text-size, 8px);
  background: #f8fbfb;
  border: 1px solid #bdd0d5;
  border-radius: 6px;
  padding: 8px;
  font-weight: bold;
}

.procedureFoot {
  background: #fff5ef;
  border: 1px solid #efd5ca;
  border-radius: 8px;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding: 13px 15px;
  display: flex;
}

.procedureFoot span {
  font-size: var(--ui-caption-size, 8px);
  color: #735f58;
}

.procedureFoot button {
  color: #fff;
  font-size: var(--ui-text-size, 8px);
  background: #c96d4d;
  border: 0;
  border-radius: 5px;
  padding: 8px 11px;
}

@media (max-width: 1180px) {
  .procedureTabs {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .procedureSearch {
    grid-column: 1 / 4;
  }
}

@media (max-width: 950px) {
  .procedureTabs {
    grid-template-columns: 1fr 1fr;
  }

  .procedureSearch {
    grid-column: 1 / 3;
  }

  .procedureListHead {
    display: none;
  }

  .procedureList article {
    grid-template-columns: 1.2fr 1fr 130px;
  }
}

@media (max-width: 650px) {
  .procedureHero > div:last-child {
    display: none;
  }

  .procedureTabs {
    grid-template-columns: 1fr;
  }

  .procedureSearch {
    grid-column: auto;
  }

  .procedureList article {
    grid-template-columns: 1fr;
  }

  .procedureChips {
    display: none;
  }

  .procedureList article > button {
    width: 100%;
  }

  .procedureFoot {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

.procedureActions {
  justify-content: flex-end;
  gap: 8px;
  margin: 14px 0 0;
  display: flex;
}

.procedureActions button {
  color: #415268;
  font-size: var(--ui-text-size, 8px);
  background: #fff;
  border: 1px solid #cbd5df;
  border-radius: 7px;
  padding: 9px 12px;
  font-weight: 700;
}

.procedureActions button.primary {
  color: #fff;
  background: #c96d4d;
  border-color: #c96d4d;
}

.procedureActions b {
  color: #496274;
  min-width: 15px;
  height: 15px;
  font-size: var(--ui-caption-size, 7px);
  background: #eaf0f3;
  border-radius: 10px;
  place-items: center;
  margin-left: 4px;
  display: inline-grid;
}

.companyProcedureForm, .procedureTrash {
  background: #fff;
  border: 1px solid #d8e0e6;
  border-radius: 10px;
  margin-top: 12px;
  overflow: hidden;
  box-shadow: 0 10px 28px #23334912;
}

.formTitle, .trashHead {
  background: linear-gradient(90deg, #f4f8f8, #f9f6f3);
  border-bottom: 1px solid #e5e9ed;
  justify-content: space-between;
  align-items: flex-start;
  padding: 17px 19px;
  display: flex;
}

.formTitle small, .trashHead small {
  font-size: var(--ui-caption-size, 7px);
  letter-spacing: 1px;
  color: #28707a;
  font-weight: 800;
}

.formTitle h3, .trashHead h3 {
  color: #25364e;
  margin: 5px 0 0;
  font: 17px Georgia;
}

.formTitle > button, .trashHead > button {
  color: #6a7686;
  background: #fff;
  border: 1px solid #ccd5dd;
  border-radius: 6px;
  padding: 6px 9px;
}

.companyProcedureFields {
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  padding: 18px 19px;
  display: grid;
}

.companyProcedureFields label {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.companyProcedureFields label.wide {
  grid-column: 1 / 3;
}

.companyProcedureFields label > span {
  font-size: var(--ui-text-size, 8px);
  color: #5d6878;
  font-weight: 700;
}

.companyProcedureFields input, .companyProcedureFields select, .companyProcedureFields textarea {
  box-sizing: border-box;
  color: #26364b;
  width: 100%;
  font: var(--ui-text-size, 10px) Arial;
  background: #fbfcfd;
  border: 1px solid #cfd8df;
  border-radius: 7px;
  outline: none;
  padding: 10px 11px;
}

.companyProcedureFields input:focus, .companyProcedureFields select:focus, .companyProcedureFields textarea:focus {
  border-color: #2c7b82;
  box-shadow: 0 0 0 2px #2c7b821f;
}

.companyProcedureFields textarea {
  resize: vertical;
  line-height: 1.45;
}

.fileField input {
  background: #f3f7f8;
  padding: 8px;
}

.fileField small {
  font-size: var(--ui-caption-size, 8px);
  color: #27727a;
}

.formActions {
  border-top: 1px solid #e6eaed;
  justify-content: space-between;
  align-items: center;
  padding: 13px 19px;
  display: flex;
}

.formActions span {
  font-size: var(--ui-caption-size, 8px);
  color: #758191;
}

.formActions button {
  color: #fff;
  font-size: var(--ui-text-size, 8px);
  background: #266c73;
  border: 0;
  border-radius: 6px;
  padding: 9px 14px;
  font-weight: 700;
}

.formActions button:disabled {
  opacity: .55;
}

.procedureTrash > div:last-child article {
  border-top: 1px solid #edf0f2;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 12px 18px;
  display: flex;
}

.procedureTrash article > div:first-child {
  flex-direction: column;
  gap: 4px;
  display: flex;
}

.procedureTrash article small {
  font-size: var(--ui-caption-size, 7px);
  color: #a35e48;
  font-weight: 800;
}

.procedureTrash article strong {
  font: var(--ui-text-size, 12px) Georgia;
  color: #29384c;
}

.procedureTrash article > div:last-child {
  gap: 6px;
  display: flex;
}

.procedureTrash article button {
  color: #216b72;
  font-size: var(--ui-text-size, 7px);
  background: #f7fbfb;
  border: 1px solid #b9cfd2;
  border-radius: 6px;
  padding: 7px 9px;
  font-weight: 700;
}

.procedureTrash article button.danger {
  color: #a74339;
  background: #fff7f5;
  border-color: #e1b8b1;
}

.procedureListHead, .procedureList article {
  grid-template-columns: minmax(280px, 1.4fr) minmax(180px, 1fr) minmax(185px, auto);
}

.procedureNumber.company {
  color: #bd5d42;
  background: #fff0e9;
}

.procedureList article > div:first-child, .procedureList article > div:first-child > div {
  min-width: 0;
}

.procedureList article > div:first-child p {
  font-size: var(--ui-text-size, 8px);
  color: #778291;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 5px 0 0;
  line-height: 1.35;
  display: -webkit-box;
  overflow: hidden;
}

.procedureRowActions {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  display: flex;
}

.procedureRowActions button {
  color: #216873;
  font-size: var(--ui-text-size, 7px);
  background: #f8fbfb;
  border: 1px solid #bdd0d5;
  border-radius: 6px;
  padding: 7px 8px;
  font-weight: bold;
}

.procedureRowActions button.removeProcedure {
  color: #a65442;
  background: #fff9f7;
  border-color: #e2c8c1;
}

.procedureRowActions button:disabled {
  opacity: .5;
}

.emptyProcedures {
  text-align: center;
  color: #7c8795;
  font-size: var(--ui-caption-size, 9px);
  padding: 22px;
}

.procedureArchiveWarning {
  color: #795e22;
  font-size: var(--ui-caption-size, 8px);
  background: #fff8e7;
  border-top: 1px solid #edd8a3;
  margin: 0;
  padding: 10px 18px;
  line-height: 1.4;
}

.proceduresModule button {
  cursor: pointer;
}

@media (max-width: 950px) {
  .procedureListHead, .procedureList article {
    grid-template-columns: 1.25fr 1fr;
  }

  .procedureList article > .procedureRowActions {
    grid-column: 1 / 3;
    justify-content: flex-start;
  }

  .companyProcedureFields {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 650px) {
  .procedureActions {
    justify-content: stretch;
  }

  .procedureActions button {
    flex: 1;
  }

  .companyProcedureFields {
    grid-template-columns: 1fr;
  }

  .companyProcedureFields label.wide {
    grid-column: auto;
  }

  .formActions {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .procedureTrash > div:last-child article {
    flex-direction: column;
    align-items: flex-start;
  }

  .procedureList article > .procedureRowActions {
    grid-column: auto;
  }

  .procedureRowActions {
    justify-content: flex-start;
  }

  .procedureRowActions button {
    flex: 1;
  }

  .procedureFoot button {
    width: 100%;
  }
}

.procedureApproval {
  background: #f6f7f9;
  border: 1px solid #dfe4e8;
  border-radius: 7px;
  grid-template-columns: minmax(112px, 1fr) 122px 48px;
  align-items: center;
  gap: 5px;
  margin-top: 8px;
  padding: 7px;
  display: grid;
}

.procedureApproval.approved {
  background: #f1f7f3;
  border-color: #c8ddd0;
}

.procedureApproval label {
  color: #697584;
  font-size: var(--ui-text-size, 7px);
  align-items: center;
  gap: 6px;
  font-weight: 800;
  display: flex;
}

.procedureApproval.approved label {
  color: #32704b;
}

.procedureApproval label input {
  accent-color: #34734d;
}

.procedureApproval > input {
  color: #425064;
  min-width: 0;
  font-size: var(--ui-text-size, 7px);
  background: #fff;
  border: 1px solid #d2d9df;
  border-radius: 5px;
  padding: 5px;
}

.procedureApproval > input:disabled {
  color: #9aa3ad;
  background: #eceff2;
}

.procedureApproval > button {
  color: #34596b;
  font-size: var(--ui-text-size, 7px);
  background: #fff;
  border: 1px solid #b8c8d1;
  border-radius: 5px;
  padding: 6px 7px;
  font-weight: 800;
}

.procedureApproval > button:disabled {
  opacity: .45;
}

.procedureList article > div:nth-child(2) {
  min-width: 0;
}

@media (max-width: 950px) {
  .procedureApproval {
    grid-template-columns: minmax(110px, 1fr) 120px 48px;
  }
}

@media (max-width: 650px) {
  .procedureApproval {
    grid-template-columns: 1fr 1fr;
  }

  .procedureApproval > button {
    grid-column: 1 / 3;
  }
}

.procedureRevisionEditor {
  background: #fff;
  border: 1px solid #d5dde4;
  border-radius: 10px;
  margin-top: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px #23334917;
}

.revisionNotice {
  color: #6e5a22;
  background: #fff9df;
  border: 1px solid #eadb9a;
  border-radius: 7px;
  align-items: flex-start;
  gap: 12px;
  margin: 15px 19px 0;
  padding: 11px 13px;
  display: flex;
}

.revisionNotice b {
  font-size: var(--ui-caption-size, 8px);
  white-space: nowrap;
}

.revisionNotice span {
  font-size: var(--ui-caption-size, 8px);
  line-height: 1.45;
}

.revisionFields textarea {
  font-family: Arial;
  line-height: 1.5;
}

.revisionHistory {
  background: #f7f9fa;
  border: 1px solid #dde4e9;
  border-radius: 8px;
  margin: 0 19px 17px;
  padding: 13px;
}

.revisionHistory > small {
  color: #5b6979;
  font-size: var(--ui-caption-size, 7px);
  letter-spacing: .7px;
  margin-bottom: 8px;
  font-weight: 800;
  display: block;
}

.revisionHistory > div {
  flex-wrap: wrap;
  gap: 6px;
  display: flex;
}

.revisionHistory span {
  color: #667381;
  font-size: var(--ui-caption-size, 7px);
  background: #fff;
  border: 1px solid #d9e0e5;
  border-radius: 6px;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  display: flex;
}

.revisionHistory span b {
  color: #2c5c68;
}

.revisionHistory p {
  color: #798492;
  font-size: var(--ui-text-size, 8px);
  margin: 0;
}

.procedureChips span.changedChip {
  color: #755d19;
  background: #fff2bf;
}

.originalPreservationRule {
  color: #315b50;
  background: #f1f8f5;
  border: 1px solid #bcd8cf;
  border-radius: 8px;
  align-items: flex-start;
  gap: 12px;
  margin: 15px 19px 0;
  padding: 12px 14px;
  display: flex;
}

.originalPreservationRule b {
  font-size: var(--ui-caption-size, 8px);
  white-space: nowrap;
}

.originalPreservationRule span {
  font-size: var(--ui-caption-size, 8px);
  line-height: 1.5;
}

.procedureChips span.originalFileChip {
  color: #2d6b52;
  background: #e5f4ed;
  font-weight: 800;
}

.procedureRowActions button:first-child {
  white-space: nowrap;
}

.clientProcedureMenus {
  background: linear-gradient(135deg, #f6faf9, #fff7f2);
  border: 1px solid #d8e3e2;
  border-radius: 10px;
  grid-template-columns: minmax(250px, .75fr) minmax(520px, 1.25fr);
  align-items: center;
  gap: 18px;
  margin: 0 0 12px;
  padding: 16px 18px;
  display: grid;
}

.clientProcedureMenus > div small {
  font-size: var(--ui-caption-size, 7px);
  letter-spacing: 1px;
  color: #267079;
  font-weight: 800;
}

.clientProcedureMenus h3 {
  color: #263a50;
  margin: 5px 0 4px;
  font: 17px Georgia;
}

.clientProcedureMenus p {
  color: #72808d;
  font-size: var(--ui-text-size, 8px);
  margin: 0;
  line-height: 1.4;
}

.clientProcedureMenus nav {
  grid-template-columns: repeat(4, minmax(78px, 1fr)) minmax(120px, 1.2fr);
  gap: 7px;
  display: grid;
}

.clientProcedureMenus nav button {
  color: #536374;
  background: #fff;
  border: 1px solid #cdd9dd;
  border-radius: 7px;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-height: 54px;
  padding: 8px 10px;
  display: flex;
}

.clientProcedureMenus nav button b {
  color: #2a6570;
  font: 17px Georgia;
}

.clientProcedureMenus nav button span {
  font-size: var(--ui-text-size, 7px);
  margin-top: 3px;
  font-weight: 800;
}

.clientProcedureMenus nav button.active {
  background: #fff4ee;
  border-color: #c86c4c;
  box-shadow: inset 0 0 0 1px #c86c4c;
}

.clientProcedureMenus nav button.active b {
  color: #b95d40;
}

.clientProcedureMenus nav button.addClientProcedure {
  color: #fff;
  font-size: var(--ui-text-size, 8px);
  background: #276d73;
  border-color: #276d73;
  align-items: center;
  font-weight: 800;
}

.procedureChips span.clientOwnedChip {
  color: #a95038;
  background: #ffe8dc;
}

.clientEmpty {
  flex-direction: column;
  align-items: center;
  gap: 10px;
  display: flex;
}

.clientEmpty p {
  margin: 0;
}

.clientEmpty button {
  color: #fff;
  font-size: var(--ui-text-size, 8px);
  background: #276d73;
  border: 0;
  border-radius: 6px;
  padding: 9px 13px;
  font-weight: 800;
}

@media (max-width: 1050px) {
  .clientProcedureMenus {
    grid-template-columns: 1fr;
  }

  .clientProcedureMenus nav {
    grid-template-columns: repeat(4, 1fr) minmax(130px, 1.2fr);
  }
}

@media (max-width: 700px) {
  .clientProcedureMenus nav {
    grid-template-columns: 1fr 1fr;
  }

  .clientProcedureMenus nav button.addClientProcedure {
    grid-column: 1 / 3;
  }

  .clientProcedureMenus {
    padding: 14px;
  }

  .procedureTabs > button.clientTab {
    order: -1;
  }
}

.proceduresModule > .revisionNotice {
  overflow-wrap: anywhere;
  gap: 8px;
  display: grid;
}

.proceduresModule .revisionNotice b, .proceduresModule .revisionNotice span, .proceduresModule .revisionNotice a {
  font-size: var(--ui-text-size, 13px);
  line-height: 1.5;
}

.proceduresModule .revisionNotice b {
  white-space: normal;
}

.proceduresModule .revisionNotice a {
  color: #245b51;
  font-weight: 700;
  text-decoration: underline;
}

.proceduresModule .revisionHistory > small, .proceduresModule .revisionHistory span, .proceduresModule .revisionHistory p {
  font-size: var(--ui-text-size, 12px);
  line-height: 1.5;
}

.proceduresModule .revisionHistory button {
  margin: 8px 8px 0 0;
}

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

.proceduresModule {
  min-width: 0;
  container-type: inline-size;
}

.proceduresModule * {
  box-sizing: border-box;
}

.proceduresModule .procedureTabs {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.proceduresModule .procedureSearch {
  grid-column: 1 / -1;
  min-width: 0;
}

.proceduresModule .procedureListHead, .proceduresModule .procedureList > article {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px;
}

.proceduresModule .procedureListHead > span:last-child {
  display: none;
}

.proceduresModule .procedureList > article > .procedureRowActions {
  border-top: 1px solid #e5e9ed;
  grid-column: 1 / -1;
  justify-content: flex-start;
  margin: 0;
  padding-top: 10px;
}

.proceduresModule .procedureList > article > div, .proceduresModule label, .proceduresModule .companyProcedureFields > * {
  min-width: 0;
}

.proceduresModule .procedureList h3, .proceduresModule .procedureChips span, .proceduresModule button {
  overflow-wrap: anywhere;
  white-space: normal;
  height: auto;
  line-height: 1.5;
}

.proceduresModule .procedureList article > div:first-child p {
  line-height: 1.6;
  display: block;
  overflow: visible;
}

.proceduresModule .procedureApproval {
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 12px;
}

.proceduresModule .procedureApproval label {
  flex-wrap: wrap;
  display: flex;
  position: static;
}

.proceduresModule .procedureApproval label input[type="checkbox"] {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 0;
}

.proceduresModule .procedureApproval > input, .proceduresModule .procedureApproval > button {
  grid-column: auto;
  width: 100%;
  min-width: 0;
  min-height: 40px;
}

.proceduresModule .companyProcedureFields {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.proceduresModule .companyProcedureFields label {
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  display: flex;
  position: static;
}

.proceduresModule .companyProcedureFields label > span {
  white-space: normal;
  line-height: 1.5;
  position: static;
  transform: none;
}

.proceduresModule .companyProcedureFields .wide {
  grid-column: 1 / -1;
}

.proceduresModule input:not([type="checkbox"]), .proceduresModule select, .proceduresModule textarea {
  min-width: 0;
  max-width: 100%;
  min-height: 42px;
  font-size: inherit;
}

.proceduresModule textarea {
  resize: vertical;
  height: auto;
  line-height: 1.6;
}

.proceduresModule .formTitle, .proceduresModule .procedureHero, .proceduresModule .procedureFoot, .proceduresModule .procedureActions {
  flex-wrap: wrap;
  gap: 16px;
}

.proceduresModule .clientProcedureMenus {
  grid-template-columns: minmax(0, 1fr);
}

.proceduresModule .clientProcedureMenus nav {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.procedureRecords {
  background: #fff;
  border: 1px solid #cadbd6;
  border-radius: 10px;
  margin: 20px 0;
  padding: 20px;
}

.procedureRecords header {
  justify-content: space-between;
  align-items: start;
  gap: 16px;
  display: flex;
}

.procedureRecords h3 {
  margin: 4px 0 12px;
}

.procedureRecords p {
  line-height: 1.6;
}

.procedureRecordChecks {
  gap: 14px;
  padding: 0 19px 18px;
  display: grid;
}

.procedureRecordChecks fieldset {
  border: 1px solid #d5dfdf;
  border-radius: 8px;
  min-width: 0;
  padding: 16px;
}

.procedureRecordChecks label {
  gap: 8px;
  margin: 12px 0;
  display: grid;
}

.procedureRecordChecks textarea, .procedureRecordChecks select {
  width: 100%;
  padding: 10px;
}

.procedureTimeline {
  gap: 12px;
  padding: 0;
  list-style: none;
  display: grid;
}

.procedureTimeline li {
  overflow-wrap: anywhere;
  border: 1px solid #d9e3e1;
  border-left: 4px solid #28756c;
  border-radius: 6px;
  padding: 16px;
}

.procedureTimeline dl {
  grid-template-columns: minmax(120px, 1fr) minmax(0, 3fr);
  gap: 8px;
  display: grid;
}

.procedureTimeline dd {
  white-space: pre-wrap;
  margin: 0;
}

.procedureTimeline dt {
  font-weight: 700;
}

@container (max-width: 760px) {
  .proceduresModule .procedureList > article, .proceduresModule .companyProcedureFields {
    grid-template-columns: minmax(0, 1fr);
  }

  .proceduresModule .procedureListHead {
    display: none;
  }

  .proceduresModule .procedureTabs {
    grid-template-columns: minmax(0, 1fr);
  }

  .proceduresModule .procedureChips {
    display: flex;
  }

  .procedureTimeline dl {
    grid-template-columns: 1fr;
  }

  .proceduresModule .procedureRowActions button {
    flex: 180px;
  }

  .proceduresModule .revisionNotice, .proceduresModule .originalPreservationRule {
    flex-direction: column;
  }
}

.proceduresModule .procedureStageTabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0;
  display: grid;
}

.proceduresModule .procedureStageTabs > button {
  text-align: left;
  color: #304b51;
  background: #fff;
  border: 2px solid #d5dfdf;
  border-radius: 10px;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 4px 14px;
  min-width: 0;
  padding: 20px;
  display: grid;
}

.proceduresModule .procedureStageTabs > button strong {
  grid-row: 1 / 3;
  font-size: 28px;
}

.proceduresModule .procedureStageTabs > button span {
  font-size: 18px;
  font-weight: 750;
}

.proceduresModule .procedureStageTabs > button small {
  font-size: 13px;
  line-height: 1.5;
}

.proceduresModule .procedureStageTabs > button.active {
  background: #edf7f3;
  border-color: #286e65;
}

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

.proceduresModule .approvalPending {
  color: #845c16;
  line-height: 1.5;
  display: block;
}

@container (max-width: 760px) {
  .proceduresModule .procedureStageTabs {
    grid-template-columns: minmax(0, 1fr);
  }

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

@container (max-width: 450px) {
  .proceduresModule .procedureSourceTabs {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* [project]/app/model-builder.css [app-client] (css) */
.modelBuilder {
  gap: 18px;
  display: grid;
}

.builderHero {
  color: #fff;
  background: linear-gradient(125deg, #173f46, #2b6f70);
  border-radius: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 30px;
  display: flex;
}

.builderHero small {
  letter-spacing: 1.5px;
  color: #b9ddda;
}

.builderHero h2 {
  margin: 7px 0;
  font: 27px Georgia;
}

.builderHero p {
  color: #dcebea;
  margin: 0;
}

.builderScore {
  text-align: center;
  background: #ffffff16;
  border: 1px solid #ffffff30;
  border-radius: 14px;
  padding: 14px 22px;
}

.builderScore strong, .builderScore span {
  display: block;
}

.builderScore strong {
  font-size: 26px;
}

.builderSteps {
  background: #fff;
  border: 1px solid #dce5e4;
  border-radius: 14px;
  grid-template-columns: repeat(5, 1fr);
  padding: 10px;
  display: grid;
}

.builderSteps button {
  color: #7b858a;
  text-align: left;
  background: none;
  border: 0;
  align-items: center;
  gap: 8px;
  padding: 10px;
  display: flex;
}

.builderSteps i {
  border: 1px solid #cfd9d8;
  border-radius: 50%;
  place-items: center;
  width: 26px;
  height: 26px;
  font-style: normal;
  display: grid;
}

.builderSteps .active {
  color: #205f66;
  font-weight: 700;
}

.builderSteps .active i, .builderSteps .done i {
  color: #fff;
  background: #2d7371;
  border-color: #2d7371;
}

.builderLayout {
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 18px;
  display: grid;
}

.builderCard, .livePreview {
  background: #fff;
  border: 1px solid #dce5e4;
  border-radius: 16px;
  padding: 25px;
}

.builderCard header {
  border-bottom: 1px solid #edf1f0;
  margin-bottom: 20px;
  padding-bottom: 14px;
}

.builderCard header small {
  color: #b35d45;
  letter-spacing: 1px;
  font-weight: 800;
}

.builderCard header h3 {
  margin: 5px 0;
  font: 24px Georgia;
}

.builderCard header p {
  color: #748087;
  margin: 0;
}

.formGrid {
  flex: 1;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  display: grid;
}

.formGrid label {
  gap: 7px;
  display: grid;
}

.formGrid label.wide {
  grid-column: 1 / -1;
}

.formGrid label > span {
  font-weight: 700;
  font-size: var(--ui-text-size, 12px);
  color: #42535a;
}

.formGrid input, .formGrid textarea {
  font: inherit;
  resize: vertical;
  border: 1px solid #cfdad9;
  border-radius: 9px;
  padding: 11px 12px;
}

.formGrid input:focus, .formGrid textarea:focus {
  border-color: #4a8b86;
  outline: 2px solid #7bb4af55;
}

.logoRow {
  gap: 22px;
  display: flex;
}

.logoDrop {
  text-align: center;
  color: #41716e;
  cursor: pointer;
  border: 2px dashed #b7cdca;
  border-radius: 14px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 170px;
  min-width: 170px;
  height: 170px;
  display: flex;
  overflow: hidden;
}

.logoDrop input {
  display: none;
}

.logoDrop img {
  max-width: 130px;
  max-height: 100px;
  margin-bottom: 10px;
}

.logoDrop b {
  font-size: 28px;
}

.logoDrop span {
  font-size: var(--ui-text-size, 12px);
  padding: 8px;
}

.builderCard footer {
  border-top: 1px solid #e5eceb;
  justify-content: space-between;
  margin-top: 24px;
  padding-top: 18px;
  display: flex;
}

.builderCard footer button {
  padding: 10px 16px;
}

.livePreview > p {
  text-align: center;
  color: #849095;
  font-size: var(--ui-text-size, 11px);
}

.previewPaper {
  text-align: center;
  border: 1px solid #d9dfdf;
  flex-direction: column;
  align-items: center;
  min-height: 370px;
  padding: 30px 22px;
  display: flex;
  box-shadow: 0 9px 24px #203b4214;
}

.previewPaper img {
  max-width: 120px;
  max-height: 65px;
  margin-bottom: 35px;
}

.previewLogo {
  color: #94a09e;
  border: 1px dashed #aebdba;
  margin-bottom: 35px;
  padding: 16px;
}

.previewPaper small {
  color: #b25c44;
  font-weight: 800;
}

.previewPaper h2 {
  color: #214d52;
  margin: 24px 0 10px;
  font: 23px Georgia;
}

.previewPaper h3 {
  margin: 0 0 12px;
  font: 17px Georgia;
}

.previewPaper p, .previewPaper span {
  font-size: var(--ui-text-size, 11px);
  color: #6c777a;
}

.previewPaper hr {
  border: 0;
  border-top: 4px solid #ba654c;
  width: 45px;
  margin: 28px 0;
}

.builderHint {
  background: #f1f7f6;
  border-left: 4px solid #43827e;
  gap: 5px;
  padding: 15px;
  display: grid;
}

.builderHint span {
  color: #647277;
}

.reviewData {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.reviewData div {
  border: 1px solid #dbe5e4;
  border-radius: 10px;
  gap: 4px;
  padding: 14px;
  display: grid;
}

.reviewData small {
  color: #a85640;
  font-weight: 800;
}

.reviewData span {
  font-size: var(--ui-text-size, 12px);
  color: #748085;
}

.included {
  background: #f7f8f6;
  border-radius: 12px;
  margin: 18px 0;
  padding: 16px;
}

.included ol {
  columns: 2;
  font-size: var(--ui-text-size, 12px);
  color: #536167;
  padding-left: 20px;
}

.generateWord {
  color: #fff;
  width: 100%;
  font-weight: 800;
  font-size: var(--ui-text-size, 14px);
  background: #b85f45;
  border: 0;
  border-radius: 10px;
  padding: 14px;
}

.generateWord:disabled {
  opacity: .45;
}

.requiredNote {
  text-align: center;
  color: #a45a45;
  font-size: var(--ui-text-size, 12px);
}

.builderCard button {
  cursor: pointer;
  background: #fff;
  border: 1px solid #ccd8d6;
  border-radius: 8px;
}

.builderCard button.primary {
  color: #fff;
  background: #2b706e;
  border-color: #2b706e;
}

@media (max-width: 1000px) {
  .builderLayout {
    grid-template-columns: 1fr;
  }

  .livePreview {
    display: none;
  }

  .builderSteps {
    grid-template-columns: 1fr;
  }

  .builderSteps button:not(.active) {
    display: none;
  }
}

@media (max-width: 700px) {
  .formGrid, .reviewData {
    grid-template-columns: 1fr;
  }

  .logoRow {
    display: block;
  }

  .logoDrop {
    margin-bottom: 18px;
  }

  .included ol {
    columns: 1;
  }
}

.sectorPreset {
  background: #faf7ef;
  border: 1px solid #dfd5b8;
  border-left: 4px solid #b6903c;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: -4px 0 20px;
  padding: 15px 17px;
  display: flex;
}

.sectorPreset > div {
  gap: 4px;
  display: grid;
}

.sectorPreset small {
  color: #8a6a24;
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: 1px;
  font-weight: 900;
}

.sectorPreset b {
  color: #173f5f;
}

.sectorPreset span {
  color: #66727b;
  font-size: var(--ui-text-size, 12px);
  line-height: 1.4;
}

.sectorPreset button {
  color: #fff;
  flex: none;
  font-weight: 800;
  background: #173f5f !important;
  border-color: #173f5f !important;
  padding: 10px 14px !important;
}

@media (max-width: 700px) {
  .sectorPreset {
    flex-direction: column;
    align-items: stretch;
  }

  .sectorPreset button {
    width: 100%;
  }
}

.governanceConfigurator {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.governanceConfigurator > section, .odvConfigurator {
  background: #fafcfb;
  border: 1px solid #dbe4e1;
  border-radius: 12px;
  padding: 15px;
}

.configTitle {
  justify-content: space-between;
  align-items: end;
  gap: 10px;
  margin-bottom: 10px;
  display: flex;
}

.configTitle small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1px;
  color: #a45d42;
  font-weight: 800;
}

.configTitle h4 {
  margin: 4px 0;
  font: 500 17px Georgia;
}

.configTitle > span {
  font-size: var(--ui-caption-size, 9px);
  color: #2f6f62;
  background: #e8f3ef;
  border-radius: 20px;
  padding: 5px 8px;
}

.governanceBodyList {
  gap: 5px;
  max-height: 310px;
  padding-right: 5px;
  display: grid;
  overflow-y: auto;
}

.governanceBodyList label {
  font-size: var(--ui-text-size, 10px);
  cursor: pointer;
  background: #fff;
  border: 1px solid #e0e7e4;
  border-radius: 7px;
  align-items: center;
  gap: 8px;
  padding: 9px;
  display: flex;
}

.governanceBodyList label.selected {
  color: #265f50;
  background: #edf7f3;
  border-color: #4c8a78;
  font-weight: 700;
}

.responsibleList {
  gap: 8px;
  max-height: 310px;
  padding-right: 5px;
  display: grid;
  overflow-y: auto;
}

.responsibleList label, .odvMembers label, .odvTypeRow label {
  gap: 5px;
  display: grid;
}

.responsibleList label span, .odvMembers label span, .odvTypeRow label span {
  font-size: var(--ui-text-size, 9px);
  color: #50605a;
  font-weight: 700;
}

.responsibleList input, .odvMembers input, .odvTypeRow select {
  background: #fff;
  border: 1px solid #cfdad6;
  border-radius: 7px;
  padding: 9px;
}

.responsibleList > p {
  font-size: var(--ui-text-size, 10px);
  color: #7a8581;
  text-align: center;
  background: #fff;
  border: 1px dashed #ccd7d2;
  border-radius: 8px;
  padding: 18px;
}

.odvConfigurator {
  margin-top: 14px;
}

.odvTypeRow {
  grid-template-columns: 2fr 1fr;
  gap: 12px;
  display: grid;
}

.odvMembers {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 12px;
  display: grid;
}

.odvConfigurator > p {
  font-size: var(--ui-text-size, 9px);
  color: #726241;
  background: #fff7e8;
  border-left: 3px solid #caa35e;
  margin: 12px 0 0;
  padding: 8px 10px;
  line-height: 1.5;
}

.governanceNarrative {
  margin-top: 16px;
}

.automaticVersion input {
  color: #245f52;
  letter-spacing: .5px;
  font-weight: 900;
  background: #edf4f1 !important;
}

.automaticVersion small {
  font-size: var(--ui-caption-size, 9px);
  color: #718079;
  line-height: 1.4;
}

@media (max-width: 800px) {
  .governanceConfigurator, .odvTypeRow, .odvMembers {
    grid-template-columns: 1fr;
  }
}

.modelPrerequisites {
  background: #fff;
  border: 1px solid #ccd6df;
  border-radius: 12px;
  margin: 18px 0;
  padding: 20px;
}

.modelPrerequisites header, .modelPrerequisites li {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  display: flex;
}

.modelPrerequisites h3 {
  margin: 0;
  font-size: 1.2rem;
}

.modelPrerequisites p {
  color: #505b6e;
  margin: 5px 0;
}

.modelPrerequisites ul {
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.modelPrerequisites li {
  border-top: 1px solid #dce2e8;
  padding: 12px 0;
}

.modelPrerequisites li > div {
  flex: 1;
  min-width: 220px;
}

.modelPrerequisites li[data-complete="true"] strong {
  color: #236b55;
}

.modelPrerequisites button {
  color: #205e66;
  cursor: pointer;
  background: #f3f8f8;
  border: 1px solid #b8c9cb;
  border-radius: 7px;
  padding: 10px 12px;
}

.modelPrerequisites button:disabled {
  opacity: .6;
  cursor: wait;
}

/* [project]/app/full-preview.css [app-client] (css) */
.finalActions {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.finalActions .generateWord {
  width: auto;
}

.previewFull {
  font-weight: 800;
  color: #245f61 !important;
  border: 1px solid #2b706e !important;
}

.fullPreviewBar {
  z-index: 5;
  color: #fff;
  background: #173f46;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  display: flex;
  position: sticky;
  top: 0;
  box-shadow: 0 8px 25px #18363d22;
}

.fullPreviewBar small {
  color: #abd7d3;
  letter-spacing: 1px;
}

.fullPreviewBar h2 {
  margin: 4px 0;
  font: 22px Georgia;
}

.fullPreviewBar > div:last-child {
  gap: 10px;
  display: flex;
}

.fullPreviewBar button, .bottomDownload button {
  color: #fff;
  background: none;
  border: 1px solid #fff6;
  border-radius: 8px;
  padding: 11px 16px;
  font-weight: 700;
}

.fullPreviewBar .primary, .bottomDownload .primary {
  background: #bd654b;
  border-color: #bd654b;
}

.fullPreviewDocument {
  color: #23343b;
  background: #fff;
  border: 1px solid #d8e1e0;
  max-width: 800px;
  margin: auto;
  padding: 65px 78px;
  line-height: 1.7;
  box-shadow: 0 15px 45px #18363d18;
}

.fullPreviewDocument > img {
  max-width: 190px;
  max-height: 90px;
  margin: 0 auto 35px;
  display: block;
}

.fullPreviewDocument > small {
  text-align: center;
  color: #ad5943;
  letter-spacing: 1.4px;
  font-weight: 800;
  display: block;
}

.fullPreviewDocument h1 {
  text-align: center;
  color: #1c5359;
  margin: 22px 0 8px;
  font: 34px Georgia;
}

.fullPreviewDocument .subtitle {
  text-align: center;
  color: #69777c;
}

.previewMeta {
  border-top: 4px solid #bd654b;
  border-bottom: 1px solid #d9e2e1;
  justify-content: center;
  gap: 20px;
  margin: 34px 0;
  padding: 14px;
  display: flex;
}

.fullPreviewDocument h2 {
  color: #205f66;
  border-bottom: 1px solid #dce6e5;
  margin-top: 34px;
  padding-bottom: 7px;
  font: 22px Georgia;
}

.validationBox {
  background: #f6eee9;
  border-left: 4px solid #bd654b;
  gap: 5px;
  margin-top: 35px;
  padding: 16px;
  display: grid;
}

.bottomDownload {
  text-align: center;
  padding: 10px;
}

.bottomDownload button {
  min-width: 340px;
}

@media (max-width: 700px) {
  .finalActions {
    grid-template-columns: 1fr;
  }

  .fullPreviewBar {
    display: block;
    position: static;
  }

  .fullPreviewBar > div:last-child {
    margin-top: 12px;
  }

  .fullPreviewDocument {
    padding: 35px 24px;
  }

  .previewMeta {
    text-align: center;
    display: grid;
  }

  .bottomDownload button {
    width: 100%;
    min-width: 0;
  }
}

/* [project]/app/archive-professional.css [app-client] (css) */
.modelBuilder .builderHero {
  background: linear-gradient(135deg, #0d2238 0%, #173f5f 68%, #28546d 100%);
  border: 1px solid #345873;
  box-shadow: 0 14px 34px #0d223822;
}

.modelBuilder .builderHero small {
  color: #d7bd78;
}

.modelBuilder .builderScore {
  background: #081b2d55;
  border-color: #d7bd7866;
}

.heroActions {
  align-items: center;
  gap: 12px;
  display: flex;
}

.heroActions > button {
  color: #18334a;
  cursor: pointer;
  background: #f8f1df;
  border: 1px solid #d7bd7888;
  border-radius: 10px;
  padding: 12px 15px;
  font-weight: 800;
}

.heroActions > button b {
  color: #fff;
  background: #b6903c;
  border-radius: 50%;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-left: 7px;
  display: inline-grid;
}

.modelBuilder .builderSteps .active i, .modelBuilder .builderSteps .done i {
  background: #173f5f;
  border-color: #173f5f;
}

.modelBuilder .builderSteps .active {
  color: #173f5f;
}

.modelBuilder .builderCard button.primary {
  background: #173f5f;
  border-color: #173f5f;
}

.modelBuilder .generateWord {
  background: #a77d2c;
}

.modelBuilder .previewFull {
  color: #173f5f !important;
  border-color: #173f5f !important;
}

.modelBuilder .previewPaper hr {
  border-color: #c7a75b;
}

.modelBuilder .previewPaper small {
  color: #8a6a24;
}

.modelBuilder .previewPaper h2 {
  color: #153a56;
}

.modelBuilder .builderHint {
  background: #f8f5ec;
  border-left-color: #c7a75b;
}

.modelArchive {
  gap: 18px;
  display: grid;
}

.archiveHead {
  color: #fff;
  background: linear-gradient(135deg, #0d2238, #173f5f);
  border-radius: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 26px 30px;
  display: flex;
}

.archiveHead small {
  color: #d7bd78;
  letter-spacing: 1.4px;
  font-weight: 800;
}

.archiveHead h2 {
  margin: 6px 0;
  font: 27px Georgia;
}

.archiveHead p {
  color: #d8e2eb;
  margin: 0;
}

.archiveHead button {
  color: #173f5f;
  background: #f8f1df;
  border: 1px solid #d7bd78;
  border-radius: 9px;
  padding: 11px 15px;
  font-weight: 800;
}

.archiveList {
  background: #fff;
  border: 1px solid #d8e0e6;
  border-radius: 15px;
  overflow: hidden;
}

.archiveListHead, .archiveList article {
  grid-template-columns: 2fr 1fr 1.2fr 1.2fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  display: grid;
}

.archiveListHead {
  color: #173f5f;
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: .7px;
  background: #e9eef3;
  font-weight: 900;
}

.archiveList article {
  border-top: 1px solid #e5e9ed;
}

.archiveList article > div:first-child {
  gap: 3px;
  display: grid;
}

.archiveList article small {
  color: #9a772c;
  font-weight: 800;
}

.archiveList article strong {
  font-size: var(--ui-text-size, 15px);
}

.archiveList time {
  font-size: var(--ui-text-size, 12px);
  color: #5e6d79;
}

.archiveList article > div:last-child {
  gap: 7px;
  display: flex;
}

.archiveList button {
  color: #173f5f;
  background: #fff;
  border: 1px solid #b9c5ce;
  border-radius: 8px;
  padding: 8px;
  font-weight: 700;
}

.archiveList .downloadOld {
  color: #fff;
  background: #173f5f;
  border-color: #173f5f;
}

.emptyArchive {
  text-align: center;
  color: #586975;
  background: #fff;
  border: 1px dashed #b8c4cd;
  border-radius: 15px;
  gap: 8px;
  padding: 65px;
  display: grid;
}

.emptyArchive b {
  color: #173f5f;
  font: 22px Georgia;
}

.archiveNotice {
  color: #5f6870;
  background: #f8f5ec;
  border-left: 4px solid #c7a75b;
  gap: 4px;
  padding: 14px 18px;
  display: grid;
}

.archiveNotice b {
  color: #684f1c;
}

@media (max-width: 850px) {
  .heroActions {
    display: grid;
  }

  .archiveHead {
    display: block;
  }

  .archiveHead button {
    margin-top: 15px;
  }

  .archiveListHead {
    display: none;
  }

  .archiveList article {
    grid-template-columns: 1fr;
  }

  .archiveList article > div:last-child {
    justify-content: flex-start;
  }
}

.archiveList .deleteArchived {
  color: #9b3f32;
  background: #fff7f5;
  border-color: #d7aaa3;
}

.archiveList .deleteArchived:hover {
  background: #fbe8e4;
}

/* [project]/app/profile-persistence.css [app-client] (css) */
.savedProfile {
  color: #2e6b50;
  font-size: var(--ui-caption-size, 11px);
  background: #edf6f1;
  border-radius: 20px;
  margin-top: 10px;
  padding: 7px 10px;
  font-weight: 800;
  display: inline-block;
}

/* [project]/app/special-parts-builder.css [app-client] (css) */
.specialBuilder, .specialArchive {
  gap: 18px;
  display: grid;
}

.specialHero {
  color: #fff;
  background: linear-gradient(135deg, #102b3f, #173f5f 62%, #28546d);
  border: 1px solid #345873;
  border-radius: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 27px 30px;
  display: flex;
  box-shadow: 0 14px 34px #0d22381c;
}

.specialHero small, .specialArchiveHead small {
  color: #d7bd78;
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: 1.4px;
  font-weight: 900;
}

.specialHero h2, .specialArchiveHead h2 {
  margin: 7px 0;
  font: 28px Georgia;
}

.specialHero p, .specialArchiveHead p {
  color: #d8e3eb;
  max-width: 770px;
  margin: 0;
  line-height: 1.5;
}

.specialHeroActions {
  align-items: center;
  gap: 12px;
  display: flex;
}

.specialHeroActions > button {
  color: #18334a;
  background: #f8f1df;
  border: 1px solid #d7bd7888;
  border-radius: 10px;
  padding: 12px 15px;
  font-weight: 800;
}

.specialHeroActions > button b {
  color: #fff;
  background: #b6903c;
  border-radius: 50%;
  place-items: center;
  width: 23px;
  height: 23px;
  margin-left: 6px;
  display: inline-grid;
}

.specialHeroActions > div {
  text-align: center;
  background: #081b2d55;
  border: 1px solid #ffffff35;
  border-radius: 12px;
  min-width: 100px;
  padding: 12px;
}

.specialHeroActions strong, .specialHeroActions span {
  display: block;
}

.specialHeroActions strong {
  font-size: 27px;
}

.specialHeroActions span {
  font-size: var(--ui-caption-size, 10px);
  color: #d8e3eb;
}

.specialContext {
  background: #fff;
  border: 1px solid #d8e0e6;
  border-radius: 15px;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 20px;
  display: grid;
}

.specialContext small {
  color: #a57925;
  letter-spacing: .8px;
  font-weight: 900;
}

.specialContext h3 {
  color: #173f5f;
  margin: 5px 0;
  font: 21px Georgia;
}

.specialContext p {
  font-size: var(--ui-text-size, 11px);
  color: #6c7983;
  margin: 0;
  line-height: 1.45;
}

.specialContext textarea {
  resize: vertical;
  width: 100%;
  font: var(--ui-text-size, 12px)/1.45 Arial;
  color: #263743;
  border: 1px solid #cbd6dc;
  border-radius: 10px;
  padding: 12px;
}

.specialContext textarea:focus {
  border-color: #a8863d;
  outline: 3px solid #d7bd7840;
}

.specialContext button {
  color: #fff;
  white-space: nowrap;
  background: #a77d2c;
  border: 0;
  border-radius: 9px;
  padding: 12px 14px;
  font-weight: 800;
}

.specialToolbar {
  color: #4c5f6e;
  font-size: var(--ui-text-size, 12px);
  background: #edf2f5;
  border: 1px solid #d3dee5;
  border-radius: 12px;
  justify-content: space-between;
  align-items: center;
  padding: 12px 15px;
  display: flex;
}

.suggestedDot {
  background: #b38a34;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  margin-right: 3px;
  display: inline-block;
}

.specialToolbar > div:last-child {
  gap: 7px;
  display: flex;
}

.specialToolbar button {
  color: #173f5f;
  font-size: var(--ui-text-size, 10px);
  background: #fff;
  border: 1px solid #b9c8d2;
  border-radius: 7px;
  padding: 8px 10px;
  font-weight: 800;
}

.categoryList {
  gap: 10px;
  display: grid;
}

.categoryList article {
  background: #fff;
  border: 1px solid #d9e1e6;
  border-radius: 13px;
  overflow: hidden;
}

.categoryList article.hasSelection {
  border-left: 5px solid #173f5f;
}

.categoryList article.isSuggested:not(.hasSelection) {
  border-left: 5px solid #c5a14d;
}

.categoryToggle {
  text-align: left;
  color: #20313d;
  background: #fff;
  border: 0;
  grid-template-columns: 70px minmax(0, 1fr) auto 74px 28px;
  align-items: center;
  gap: 13px;
  width: 100%;
  padding: 17px 18px;
  display: grid;
}

.categoryToggle:hover {
  background: #fafbf9;
}

.categoryCode {
  font: var(--ui-caption-size, 11px) monospace;
  color: #9b7527;
  text-align: center;
  background: #f8f1df;
  border-radius: 6px;
  padding: 7px;
  font-weight: 900;
}

.categoryToggle h3 {
  color: #173f5f;
  margin: 0 0 3px;
  font: 18px Georgia;
}

.categoryToggle p {
  font-size: var(--ui-text-size, 10px);
  color: #78868f;
  margin: 0;
}

.categoryToggle em {
  font-style: normal;
  font-size: var(--ui-caption-size, 9px);
  color: #8a681e;
  background: #fff5d9;
  border-radius: 20px;
  padding: 6px 8px;
  font-weight: 900;
}

.categoryToggle > strong {
  font-size: var(--ui-text-size, 12px);
  text-align: right;
  color: #536672;
}

.categoryToggle > i {
  color: #173f5f;
  border: 1px solid #cbd6dd;
  border-radius: 50%;
  place-items: center;
  width: 27px;
  height: 27px;
  font-style: normal;
  display: grid;
}

.categoryBody {
  background: #fbfcfc;
  border-top: 1px solid #e2e8ec;
  padding: 18px;
}

.categoryIntro {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 13px;
  display: flex;
}

.categoryIntro p {
  color: #61717c;
  font-size: var(--ui-text-size, 11px);
  margin: 0;
  line-height: 1.5;
}

.categoryIntro > div {
  white-space: nowrap;
  gap: 6px;
  display: flex;
}

.categoryIntro button {
  color: #173f5f;
  font-size: var(--ui-text-size, 9px);
  background: #fff;
  border: 1px solid #bdcbd3;
  border-radius: 7px;
  padding: 7px 9px;
  font-weight: 800;
}

.offenceList {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.offenceList label {
  cursor: pointer;
  background: #fff;
  border: 1px solid #dce4e8;
  border-radius: 9px;
  grid-template-columns: 22px minmax(0, 1fr) auto;
  align-items: center;
  gap: 9px;
  padding: 11px;
  display: grid;
}

.offenceList label.selected {
  background: #f1f6f8;
  border-color: #7d9bae;
}

.offenceList input {
  accent-color: #173f5f;
  width: 16px;
  height: 16px;
}

.offenceList label > span {
  gap: 4px;
  display: grid;
}

.offenceList strong {
  font-size: var(--ui-caption-size, 11px);
  color: #293b47;
  line-height: 1.35;
}

.offenceList small {
  font-size: var(--ui-caption-size, 9px);
  color: #7c8991;
}

.offenceList em {
  font-style: normal;
  font-size: var(--ui-caption-size, 7px);
  color: #8a681e;
  background: #fff1c9;
  border-radius: 12px;
  padding: 5px 6px;
  font-weight: 900;
}

.specialGenerate {
  z-index: 3;
  color: #fff;
  background: #102b3f;
  border: 1px solid #345873;
  border-radius: 14px;
  grid-template-columns: minmax(0, 1fr) 100px 160px 230px;
  align-items: end;
  gap: 14px;
  padding: 17px 20px;
  display: grid;
  position: sticky;
  bottom: 12px;
  box-shadow: 0 14px 40px #102b3f40;
}

.specialGenerate small {
  color: #d7bd78;
  letter-spacing: 1px;
  font-weight: 900;
}

.specialGenerate h3 {
  margin: 4px 0;
  font: 20px Georgia;
}

.specialGenerate p {
  font-size: var(--ui-text-size, 10px);
  color: #c8d7e0;
  margin: 0;
}

.specialGenerate label {
  gap: 5px;
  display: grid;
}

.specialGenerate label span {
  font-size: var(--ui-text-size, 9px);
  color: #d2dfe6;
  font-weight: 800;
}

.specialGenerate input {
  color: #1b3040;
  background: #fff;
  border: 1px solid #678094;
  border-radius: 7px;
  width: 100%;
  padding: 9px;
}

.specialGenerate > button {
  color: #fff;
  background: #b18a3b;
  border: 0;
  border-radius: 9px;
  padding: 12px 14px;
  font-weight: 900;
}

.specialGenerate > button:disabled {
  opacity: .45;
}

.specialDisclaimer {
  text-align: center;
  color: #7a858c;
  font-size: var(--ui-caption-size, 10px);
  margin: 0 30px;
}

.specialArchiveHead {
  color: #fff;
  background: linear-gradient(135deg, #102b3f, #173f5f);
  border-radius: 18px;
  justify-content: space-between;
  align-items: center;
  padding: 27px 30px;
  display: flex;
}

.specialArchiveHead button {
  color: #173f5f;
  background: #f8f1df;
  border: 1px solid #d7bd78;
  border-radius: 9px;
  padding: 11px 15px;
  font-weight: 800;
}

.specialArchiveList {
  gap: 9px;
  display: grid;
}

.specialArchiveList article {
  background: #fff;
  border: 1px solid #d9e1e6;
  border-radius: 12px;
  grid-template-columns: 2fr 1fr 1.2fr auto;
  align-items: center;
  gap: 15px;
  padding: 15px 18px;
  display: grid;
}

.specialArchiveList article > div {
  gap: 3px;
  display: grid;
}

.specialArchiveList small {
  color: #9a772c;
  font-weight: 900;
}

.specialArchiveList strong {
  font-size: var(--ui-text-size, 15px);
}

.specialArchiveList span, .specialArchiveList time {
  font-size: var(--ui-caption-size, 11px);
  color: #687984;
}

.specialArchiveList button {
  color: #fff;
  background: #173f5f;
  border: 0;
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 800;
}

@media (max-width: 1100px) {
  .specialContext {
    grid-template-columns: 1fr;
  }

  .specialContext button {
    justify-self: start;
  }

  .offenceList {
    grid-template-columns: 1fr;
  }

  .specialGenerate {
    grid-template-columns: 1fr 1fr;
    position: static;
  }

  .specialGenerate > div, .specialGenerate > button {
    grid-column: 1 / -1;
  }

  .specialArchiveList article {
    grid-template-columns: 1fr 1fr;
  }

  .specialArchiveList article > div {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .specialHero, .specialArchiveHead {
    display: block;
  }

  .specialHeroActions {
    margin-top: 18px;
  }

  .specialArchiveHead button {
    margin-top: 15px;
  }

  .specialToolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .specialToolbar > div:last-child {
    flex-wrap: wrap;
  }

  .categoryToggle {
    grid-template-columns: 62px 1fr 30px;
  }

  .categoryToggle em, .categoryToggle > strong {
    display: none;
  }

  .categoryBody {
    padding: 13px;
  }

  .categoryIntro {
    flex-direction: column;
    align-items: flex-start;
  }

  .specialGenerate {
    grid-template-columns: 1fr;
  }

  .specialGenerate label, .specialGenerate > button {
    grid-column: 1;
  }

  .specialArchiveList article {
    grid-template-columns: 1fr;
  }
}

.specialArchiveList .specialArchiveActions {
  gap: 7px;
  display: flex;
}

.specialArchiveList .specialArchiveActions .deleteArchived {
  color: #9b3f32;
  background: #fff7f5;
  border: 1px solid #d7aaa3;
}

.catalogCoverage {
  background: linear-gradient(90deg, #f8f4e8, #fff);
  border: 1px solid #dbc995;
  border-left: 5px solid #b18a3b;
  border-radius: 13px;
  justify-content: space-between;
  align-items: center;
  gap: 22px;
  padding: 17px 20px;
  display: flex;
}

.catalogCoverage small {
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: 1px;
  color: #8a681e;
  font-weight: 900;
}

.catalogCoverage h3 {
  color: #173f5f;
  margin: 5px 0 4px;
  font: 20px Georgia;
}

.catalogCoverage p {
  color: #657680;
  font-size: var(--ui-text-size, 11px);
  margin: 0;
  line-height: 1.45;
}

.catalogCoverageLinks {
  text-align: right;
  gap: 7px;
  min-width: 265px;
  display: grid;
}

.catalogCoverageLinks a {
  color: #173f5f;
  font-size: var(--ui-caption-size, 11px);
  font-weight: 900;
  text-decoration: none;
}

.catalogCoverageLinks span {
  color: #8b7544;
  font-size: var(--ui-caption-size, 9px);
}

.catalogSearch {
  background: #fff;
  border: 1px solid #d3dee5;
  border-radius: 12px;
  grid-template-columns: auto minmax(200px, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  display: grid;
}

.catalogSearch span {
  font-size: var(--ui-caption-size, 10px);
  color: #173f5f;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 900;
}

.catalogSearch input {
  width: 100%;
  font: var(--ui-text-size, 12px) Arial;
  color: #263743;
  border: 1px solid #cbd6dc;
  border-radius: 8px;
  padding: 10px 12px;
}

.catalogSearch input:focus {
  border-color: #a8863d;
  outline: 3px solid #d7bd7840;
}

.catalogSearch b {
  font-size: var(--ui-caption-size, 10px);
  color: #70808a;
}

.offenceList .offenceNote {
  color: #8b5d13;
  background: #fff7db;
  border-radius: 5px;
  padding: 5px 7px;
  line-height: 1.4;
}

.emptyCatalogSearch {
  text-align: center;
  color: #6b7b85;
  font-size: var(--ui-text-size, 12px);
  background: #fff;
  border: 1px dashed #cbd6dd;
  border-radius: 12px;
  padding: 26px;
}

@media (max-width: 760px) {
  .catalogCoverage {
    display: block;
  }

  .catalogCoverageLinks {
    text-align: left;
    min-width: 0;
    margin-top: 12px;
  }

  .catalogSearch {
    grid-template-columns: 1fr;
  }

  .catalogSearch b {
    display: none;
  }
}

.automaticSpecialVersion input {
  color: #173f5f;
  background: #eef3f5;
  font-weight: 900;
}

.automaticSpecialVersion small {
  font-size: var(--ui-caption-size, 8px);
  color: #b9cbd5;
  line-height: 1.25;
}

/* [project]/app/governance-modules.css [app-client] (css) */
.governanceModule {
  gap: 16px;
  display: grid;
}

.govHero {
  color: #fff;
  background: linear-gradient(125deg, #173e4f, #296c67);
  border-radius: 16px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 28px 30px;
  display: flex;
  box-shadow: 0 15px 35px #173e4f20;
}

.govHero small, .auditChecklist > div:first-child small, .inspectionDocs > div:first-child small {
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: 1.5px;
  color: #e8c985;
  font-weight: 800;
}

.govHero h2 {
  margin: 7px 0 8px;
  font: 500 27px / 1.12 Georgia, serif;
}

.govHero p {
  color: #d2e2df;
  font-size: var(--ui-text-size, 11px);
  margin: 0;
}

.govScore {
  text-align: center;
  background: #ffffff12;
  border: 1px solid #fff2;
  border-radius: 12px;
  min-width: 130px;
  padding: 16px 20px;
}

.govScore strong {
  font: 500 26px Georgia, serif;
  display: block;
}

.govScore span {
  font-size: var(--ui-caption-size, 9px);
  color: #d3e3df;
  margin-top: 5px;
  display: block;
}

.sanctionHero {
  background: linear-gradient(125deg, #493537, #7d5548);
}

.inspectionHero {
  background: linear-gradient(125deg, #253b52, #345e70);
}

.govMeta {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 10px;
  grid-template-columns: 140px 210px 1fr;
  gap: 12px;
  padding: 15px 18px;
  display: grid;
}

.govMeta label {
  gap: 6px;
  display: grid;
}

.govMeta span {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: .8px;
  color: #7b8682;
  text-transform: uppercase;
  font-weight: 800;
}

.govMeta input, .caseRows input, .caseRows select, .auditRows input, .auditRows select, .findingRows input, .findingRows select {
  color: #25312d;
  width: 100%;
  min-width: 0;
  height: 36px;
  font-size: var(--ui-text-size, 10px);
  background: #fbfcfb;
  border: 1px solid #dfe4e1;
  border-radius: 7px;
  padding: 0 10px;
}

.govGrid {
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 15px;
  display: grid;
}

.govCard, .govSide, .sanctionMatrix, .caseRegister, .auditPlan, .auditChecklist, .findings, .inspectionDocs, .govArchive {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.govCardHead {
  justify-content: space-between;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 15px;
  display: flex;
}

.govCardHead small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1px;
  color: #8b9691;
  font-weight: 800;
}

.govCardHead h3, .auditChecklist h3, .inspectionDocs h3, .govArchive h3 {
  margin: 5px 0 0;
  font: 500 18px Georgia, serif;
}

.govCardHead > button, .auditToolbar button {
  color: #2f6f62;
  font-size: var(--ui-text-size, 9px);
  cursor: pointer;
  background: #fff;
  border: 1px solid #d8dfdc;
  border-radius: 7px;
  padding: 9px 12px;
  font-weight: 800;
}

.govCardHead > span {
  color: #8a6c62;
  max-width: 320px;
  font-size: var(--ui-caption-size, 9px);
  text-align: right;
}

.ethicsChooser {
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  display: grid;
}

.ethicsChooser button {
  text-align: left;
  cursor: pointer;
  background: #fafbfa;
  border: 1px solid #e2e6e3;
  border-radius: 9px;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 10px;
  display: flex;
}

.ethicsChooser button > span {
  color: #76817d;
  width: 28px;
  height: 28px;
  font-size: var(--ui-text-size, 9px);
  background: #eef1ef;
  border-radius: 7px;
  flex: 0 0 28px;
  place-items: center;
  font-weight: 800;
  display: grid;
}

.ethicsChooser strong {
  font-size: var(--ui-caption-size, 10px);
  line-height: 1.3;
}

.ethicsChooser button.selected {
  background: #f0f7f4;
  border-color: #a9c7bd;
}

.ethicsChooser button.selected > span {
  color: #fff;
  background: #2f6f62;
}

.govSide h3 {
  margin: 0 0 14px;
  font: 500 18px Georgia, serif;
}

.govSide > div {
  border-bottom: 1px solid #edf0ee;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 0;
  display: flex;
}

.govSide > div span {
  color: #2f6f62;
  width: 24px;
  height: 24px;
  font-size: var(--ui-caption-size, 9px);
  background: #eaf1ee;
  border-radius: 50%;
  place-items: center;
  font-weight: 800;
  display: grid;
}

.govSide p {
  font-size: var(--ui-text-size, 10px);
  flex: 1;
  margin: 2px 0;
  line-height: 1.4;
}

.govGenerate {
  color: #fff;
  width: 100%;
  font-size: var(--ui-caption-size, 10px);
  cursor: pointer;
  background: #2f6f62;
  border: 0;
  border-radius: 8px;
  margin-top: 16px;
  padding: 12px 14px;
  font-weight: 800;
}

.govGenerate:disabled, .inspectionDocs button:disabled {
  opacity: .5;
  cursor: not-allowed;
}

.govArchive {
  grid-template-columns: 220px 1fr;
  align-items: start;
  gap: 20px;
  display: grid;
}

.govArchive > p {
  color: #85908b;
  font-size: var(--ui-text-size, 10px);
  margin: 8px 0;
}

.govArchive > div:last-child {
  gap: 7px;
  display: grid;
}

.govArchive article {
  background: #fafbfa;
  border: 1px solid #edf0ee;
  border-radius: 8px;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  display: grid;
}

.govArchive article > span, .inspectionDocs button > span {
  color: #315b72;
  width: 28px;
  height: 28px;
  font-size: var(--ui-text-size, 10px);
  background: #e9f0f4;
  border-radius: 6px;
  place-items: center;
  font-weight: 800;
  display: grid;
}

.govArchive article div {
  gap: 3px;
  display: grid;
}

.govArchive article strong {
  font-size: var(--ui-caption-size, 10px);
}

.govArchive article small, .govArchive time {
  font-size: var(--ui-caption-size, 8px);
  color: #84908b;
}

.sanctionMatrix article {
  border-top: 1px solid #ecefed;
  grid-template-columns: 80px minmax(0, 1fr) 72px;
  align-items: center;
  gap: 14px;
  padding: 14px 4px;
  display: grid;
}

.sanctionMatrix code {
  font-size: var(--ui-caption-size, 9px);
  color: #9b6757;
  text-align: center;
  background: #f6ece8;
  border-radius: 6px;
  padding: 7px;
}

.sanctionMatrix h3 {
  font-size: var(--ui-caption-size, 11px);
  margin: 0 0 5px;
}

.sanctionMatrix p {
  font-size: var(--ui-text-size, 9px);
  color: #68736f;
  margin: 0;
  line-height: 1.45;
}

.sanctionMatrix article button {
  color: #7c5548;
  font-size: var(--ui-text-size, 9px);
  cursor: pointer;
  background: none;
  border: 0;
  font-weight: 800;
}

.caseRows {
  gap: 7px;
  display: grid;
}

.caseRows article {
  grid-template-columns: 1.2fr 2fr .7fr .8fr 75px;
  align-items: center;
  gap: 7px;
  display: grid;
}

.caseRows time {
  font-size: var(--ui-caption-size, 8px);
  color: #7c8783;
  text-align: right;
}

.emptyGov {
  color: #77827e;
  background: #fafbfa;
  border: 1px dashed #dce2df;
  border-radius: 9px;
  align-items: center;
  gap: 10px;
  padding: 18px;
  display: flex;
}

.emptyGov span {
  color: #34715f;
  background: #eaf2ef;
  border-radius: 50%;
  place-items: center;
  width: 29px;
  height: 29px;
  display: grid;
}

.emptyGov p {
  font-size: var(--ui-text-size, 10px);
  margin: 0;
}

.govActions {
  border-top: 1px solid #edf0ee;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 14px;
  padding-top: 14px;
  display: flex;
}

.govActions p {
  max-width: 640px;
  font-size: var(--ui-text-size, 9px);
  color: #77827e;
  margin: 0;
}

.govActions .govGenerate {
  width: auto;
  margin: 0;
}

.auditMetrics {
  gap: 8px;
  display: flex;
}

.auditMetrics > div {
  text-align: center;
  background: #ffffff12;
  border: 1px solid #fff2;
  border-radius: 10px;
  min-width: 95px;
  padding: 13px 15px;
}

.auditMetrics strong {
  font: 500 24px Georgia, serif;
  display: block;
}

.auditMetrics span {
  font-size: var(--ui-caption-size, 8px);
  color: #d5e0e7;
  margin-top: 4px;
  display: block;
}

.auditToolbar {
  align-items: center;
  gap: 8px;
  display: flex;
}

.auditToolbar button {
  color: #345e70;
}

.auditToolbar button:first-child {
  color: #fff;
  background: #345e70;
  border-color: #345e70;
}

.auditToolbar span {
  font-size: var(--ui-caption-size, 8px);
  color: #83908b;
  margin-left: auto;
}

.auditRows, .findingRows {
  gap: 7px;
  display: grid;
}

.auditRows article {
  grid-template-columns: 130px 1.25fr 1fr 1.8fr 130px;
  gap: 7px;
  display: grid;
}

.findingRows article {
  grid-template-columns: 2fr 130px 1fr 130px 120px;
  gap: 7px;
  display: grid;
}

.auditChecklist {
  grid-template-columns: 220px 1fr;
  gap: 24px;
  display: grid;
}

.auditChecklist > div:last-child {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  display: grid;
}

.auditChecklist article {
  background: #fafbfa;
  border: 1px solid #edf0ee;
  border-radius: 8px;
  grid-template-columns: 29px 1fr;
  align-items: center;
  gap: 8px;
  padding: 10px;
  display: grid;
}

.auditChecklist article span {
  color: #345e70;
  width: 28px;
  height: 28px;
  font-size: var(--ui-caption-size, 8px);
  background: #eaf0f3;
  border-radius: 6px;
  grid-row: span 2;
  place-items: center;
  font-weight: 800;
  display: grid;
}

.auditChecklist p {
  font-size: var(--ui-text-size, 9px);
  margin: 0;
  line-height: 1.35;
}

.auditChecklist em {
  font-size: var(--ui-caption-size, 7px);
  color: #89948f;
  font-style: normal;
}

.inspectionDocs > div:last-child {
  grid-template-columns: repeat(4, 1fr);
  gap: 9px;
  margin-top: 15px;
  display: grid;
}

.inspectionDocs button {
  text-align: left;
  cursor: pointer;
  background: #fafbfa;
  border: 1px solid #dfe5e2;
  border-radius: 9px;
  grid-template-columns: 32px 1fr;
  align-items: center;
  gap: 4px 8px;
  padding: 11px;
  display: grid;
}

.inspectionDocs button > span {
  grid-row: span 2;
}

.inspectionDocs button strong {
  font-size: var(--ui-text-size, 9px);
}

.inspectionDocs button small {
  font-size: var(--ui-text-size, 7px);
  color: #73817c;
}

.governanceModule button:focus-visible, .governanceModule input:focus-visible, .governanceModule select:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #c5944c;
}

@media (max-width: 1120px) {
  .govGrid {
    grid-template-columns: 1fr;
  }

  .govSide {
    grid-template-columns: 1fr 1fr;
    display: grid;
  }

  .govSide h3, .govSide .govGenerate {
    grid-column: 1 / -1;
  }

  .auditRows article {
    grid-template-columns: 120px 1fr 1fr;
  }

  .auditRows article input:nth-child(4) {
    grid-column: 1 / 3;
  }

  .findingRows article {
    grid-template-columns: 2fr 1fr 1fr;
  }

  .inspectionDocs > div:last-child {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 760px) {
  .govHero {
    align-items: flex-start;
    padding: 22px;
  }

  .govMeta, .govGrid, .govArchive, .auditChecklist, .ethicsChooser {
    grid-template-columns: 1fr;
  }

  .govSide {
    display: block;
  }

  .govArchive article {
    grid-template-columns: 30px 1fr;
  }

  .govArchive time {
    grid-column: 2;
  }

  .caseRows article, .auditRows article, .findingRows article {
    grid-template-columns: 1fr;
  }

  .auditRows article input:nth-child(4) {
    grid-column: auto;
  }

  .auditChecklist > div:last-child, .inspectionDocs > div:last-child {
    grid-template-columns: 1fr;
  }

  .auditMetrics {
    display: none;
  }

  .govActions {
    flex-direction: column;
    align-items: stretch;
  }

  .govActions .govGenerate {
    width: 100%;
  }
}

.govArchive article:has(.deleteArchived) {
  grid-template-columns: 30px 1fr auto auto;
}

.govArchive .deleteArchived {
  color: #9b3f32;
  font-size: var(--ui-caption-size, 8px);
  background: #fff7f5;
  border: 1px solid #d7aaa3;
  border-radius: 7px;
  padding: 7px 9px;
  font-weight: 800;
}

.ccnlSetup {
  border: 1px solid var(--line);
  background: #fff;
  border-left: 5px solid #c49347;
  border-radius: 12px;
  gap: 17px;
  padding: 20px;
  display: grid;
}

.ccnlSetup.isReady {
  border-left-color: #3a7a68;
}

.ccnlIntro {
  grid-template-columns: 38px 1fr auto;
  align-items: center;
  gap: 13px;
  display: grid;
}

.ccnlIntro > span {
  color: #8b5b25;
  background: #f7ead6;
  border-radius: 10px;
  place-items: center;
  width: 36px;
  height: 36px;
  font-weight: 900;
  display: grid;
}

.ccnlSetup.isReady .ccnlIntro > span {
  color: #2f6f62;
  background: #e7f2ee;
}

.ccnlIntro small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.2px;
  color: #946b38;
  font-weight: 800;
}

.ccnlIntro h3 {
  margin: 4px 0;
  font: 500 19px Georgia, serif;
}

.ccnlIntro p {
  font-size: var(--ui-text-size, 9px);
  color: #6f7b76;
  margin: 0;
  line-height: 1.5;
}

.ccnlIntro a {
  color: #2f6f62;
  font-size: var(--ui-caption-size, 9px);
  border: 1px solid #d6dfdb;
  border-radius: 8px;
  padding: 9px 11px;
  font-weight: 800;
  text-decoration: none;
}

.ccnlFields {
  border-top: 1px solid #edf0ee;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 11px;
  padding-top: 15px;
  display: grid;
}

.ccnlFields label {
  gap: 6px;
  display: grid;
}

.ccnlFields label.wide {
  grid-column: span 2;
}

.ccnlFields span {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: .7px;
  color: #6f7d77;
  text-transform: uppercase;
  font-weight: 800;
}

.ccnlFields input, .ccnlFields select, .ccnlFields textarea, .sanctionMatrix textarea {
  color: #25312d;
  width: 100%;
  min-width: 0;
  font: var(--ui-text-size, 10px)/1.4 Arial,sans-serif;
  background: #fbfcfb;
  border: 1px solid #dfe4e1;
  border-radius: 7px;
  padding: 9px 10px;
}

.ccnlFields input, .ccnlFields select {
  height: 38px;
}

.ccnlFields textarea, .sanctionMatrix textarea {
  resize: vertical;
}

.ccnlStatus {
  color: #72532e;
  background: #fbf5e9;
  border-radius: 8px;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  display: flex;
}

.ccnlSetup.isReady .ccnlStatus {
  color: #2f6657;
  background: #edf6f2;
}

.ccnlStatus b {
  font-size: var(--ui-caption-size, 9px);
}

.ccnlStatus span {
  font-size: var(--ui-caption-size, 8px);
}

.sanctionMatrix article.activeModule, .sanctionMatrix article.inactiveModule {
  grid-template-columns: 36px 80px minmax(0, 1fr) 62px;
}

.sanctionMatrix article.inactiveModule {
  opacity: .58;
  background: #fafbfa;
}

.sanctionMatrix article > strong {
  font-size: var(--ui-caption-size, 8px);
  color: #2f6f62;
  text-align: right;
}

.sanctionMatrix article.inactiveModule > strong {
  color: #7d8984;
}

.sanctionMatrix .moduleToggle {
  color: #2f6f62;
  width: 28px;
  height: 28px;
  font-size: var(--ui-text-size, 12px);
  background: #edf6f2;
  border: 1px solid #cbd8d3;
  border-radius: 7px;
}

.sanctionMatrix textarea {
  background: #fff;
  margin-top: 9px;
}

@media (max-width: 760px) {
  .ccnlIntro {
    grid-template-columns: 38px 1fr;
  }

  .ccnlIntro a {
    text-align: center;
    grid-column: 1 / -1;
  }

  .ccnlFields {
    grid-template-columns: 1fr;
  }

  .ccnlFields label.wide {
    grid-column: auto;
  }

  .ccnlStatus {
    flex-direction: column;
    align-items: flex-start;
  }

  .sanctionMatrix article.activeModule, .sanctionMatrix article.inactiveModule {
    grid-template-columns: 32px 65px 1fr;
  }

  .sanctionMatrix article > strong {
    grid-column: 3;
  }

  .sanctionMatrix textarea {
    min-height: 70px;
  }
}

/* [project]/app/ethics-profile.css [app-client] (css) */
.ethicsProfileCard {
  padding: 22px;
}

.govCardHead p {
  color: #7b8782;
  font-size: var(--ui-text-size, 9px);
  margin: 5px 0 0;
}

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

.ethicsProfileGrid label {
  gap: 6px;
  display: grid;
}

.ethicsProfileGrid label.wide {
  grid-column: 1 / -1;
}

.ethicsProfileGrid label > span {
  font-size: var(--ui-text-size, 8px);
  letter-spacing: .7px;
  color: #75817c;
  text-transform: uppercase;
  font-weight: 800;
}

.ethicsProfileGrid input, .ethicsProfileGrid textarea {
  color: #25312d;
  width: 100%;
  font: var(--ui-text-size, 10px)/1.45 Arial,sans-serif;
  resize: vertical;
  background: #fbfcfb;
  border: 1px solid #dfe4e1;
  border-radius: 7px;
  padding: 9px 10px;
}

.governanceModule textarea:focus-visible {
  outline-offset: 2px;
  outline: 2px solid #c5944c;
}

@media (max-width: 760px) {
  .ethicsProfileGrid {
    grid-template-columns: 1fr;
  }

  .ethicsProfileGrid label.wide {
    grid-column: auto;
  }
}

/* [project]/app/sidebar-scroll.css [app-client] (css) */
.sidebar nav {
  min-height: 0;
  padding-right: 2px;
  overflow-y: auto;
}

/* [project]/app/client-brand-studio.css [app-client] (css) */
.clientIdentityHero {
  color: #fff;
  background: linear-gradient(135deg, #183f3a, #2d6960);
  border-radius: 22px;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  margin-bottom: 24px;
  padding: 30px 32px;
  display: flex;
  box-shadow: 0 16px 40px #12373224;
}

.clientIdentityHero small, .brandStudioBar small {
  font-size: var(--ui-caption-size, 11px);
  letter-spacing: 1.4px;
  color: #d7b36e;
  font-weight: 800;
}

.clientIdentityHero h2 {
  margin: 7px 0;
  font-family: Georgia, serif;
  font-size: 29px;
}

.clientIdentityHero p {
  color: #dbe9e5;
  max-width: 700px;
  margin: 0;
  line-height: 1.55;
}

.clientIdentityHero .primary {
  white-space: nowrap;
  color: #214f45;
  background: #fff;
}

.clientCards article.selectedClient {
  border-color: #779c93;
  box-shadow: 0 12px 28px #214f451f;
}

.clientStyleStrip {
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
  align-items: center;
  gap: 6px;
  padding: 14px 0;
  display: flex;
}

.clientStyleStrip i {
  border: 2px solid #fff;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  box-shadow: 0 0 0 1px #d5dbe0;
}

.clientStyleStrip span {
  color: #647181;
  font-size: var(--ui-text-size, 12px);
  margin-left: 6px;
  font-weight: 700;
}

.clientCardActions {
  gap: 8px;
  display: flex;
}

.clientCardActions button {
  flex: 1;
}

.clientCardActions .editBrand {
  color: #235d52;
  background: #edf5f2;
  border-color: #c8ded7;
}

.brandStudioBar {
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  display: flex;
}

.brandStudioBar h2 {
  color: #173f5f;
  margin: 5px 0 0;
  font-family: Georgia, serif;
  font-size: 28px;
}

.brandStudioBar > button {
  color: #425063;
  background: #fff;
  border: 1px solid #d9dfe4;
  border-radius: 9px;
  padding: 10px 14px;
}

.brandStudioLayout {
  grid-template-columns: minmax(0, 1.3fr) minmax(340px, .7fr);
  align-items: start;
  gap: 24px;
  display: grid;
}

.brandControls {
  gap: 18px;
  display: grid;
}

.companyFields, .brandSection, .brandSave {
  background: #fff;
  border: 1px solid #e0e5e8;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 24px #192c3b0b;
}

.companyFields header, .brandSection header {
  align-items: flex-start;
  gap: 13px;
  margin-bottom: 18px;
  display: flex;
}

.companyFields header > span, .brandSection header > span {
  color: #245f54;
  background: #e8f2ef;
  border-radius: 10px;
  place-items: center;
  width: 30px;
  height: 30px;
  font-weight: 800;
  display: grid;
}

.companyFields h3, .brandSection h3 {
  color: #203147;
  margin: 0 0 3px;
  font-size: 18px;
}

.companyFields p, .brandSection p {
  color: #728090;
  font-size: var(--ui-text-size, 13px);
  margin: 0;
}

.companyFields > div {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.companyFields label, .customColors label {
  gap: 7px;
  display: grid;
}

.companyFields label span, .customColors label > span {
  font-size: var(--ui-text-size, 11px);
  letter-spacing: .55px;
  color: #5d6b79;
  font-weight: 800;
}

.companyFields input {
  font: inherit;
  border: 1px solid #d9dfe4;
  border-radius: 9px;
  padding: 11px 12px;
}

.companyFields .wide {
  grid-column: 1 / -1;
}

.paletteChoices {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  display: grid;
}

.paletteChoices button {
  text-align: left;
  color: #25364b;
  background: #fbfcfc;
  border: 1px solid #dde3e7;
  border-radius: 12px;
  gap: 7px;
  padding: 12px;
  display: grid;
}

.paletteChoices button.selected {
  background: #f5faf8;
  border-color: #356e64;
  box-shadow: 0 0 0 2px #356e6421;
}

.paletteChoices button > span {
  display: flex;
}

.paletteChoices i {
  width: 25%;
  height: 20px;
  display: block;
}

.paletteChoices i:first-child {
  border-radius: 6px 0 0 6px;
}

.paletteChoices i:last-child {
  border-radius: 0 6px 6px 0;
}

.paletteChoices strong {
  font-size: var(--ui-text-size, 13px);
}

.paletteChoices small {
  color: #7a8793;
  font-size: var(--ui-caption-size, 11px);
}

.customColors {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-top: 14px;
  display: grid;
}

.customColors label > div {
  border: 1px solid #dde3e7;
  border-radius: 9px;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  display: flex;
}

.customColors input {
  background: none;
  border: 0;
  width: 28px;
  height: 27px;
  padding: 0;
}

.customColors code {
  font-size: var(--ui-caption-size, 10px);
  color: #586775;
}

.fontChoices {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  display: grid;
}

.fontChoices button {
  text-align: left;
  background: #fbfcfc;
  border: 1px solid #dde3e7;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  padding: 12px;
  display: flex;
}

.fontChoices button.selected {
  background: #f5faf8;
  border-color: #356e64;
  box-shadow: 0 0 0 2px #356e6421;
}

.fontChoices > button > strong {
  color: #284b4a;
  background: #eef2f3;
  border-radius: 10px;
  place-items: center;
  width: 46px;
  height: 46px;
  font-size: 20px;
  display: grid;
}

.fontChoices span {
  gap: 3px;
  display: grid;
}

.fontChoices b {
  font-size: var(--ui-text-size, 13px);
  color: #28394e;
}

.fontChoices small {
  font-size: var(--ui-caption-size, 11px);
  color: #7a8793;
}

.brandSave {
  background: #f7faf9;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  display: flex;
}

.brandSave p {
  font-size: var(--ui-text-size, 12px);
  color: #637180;
  margin: 0;
  line-height: 1.5;
}

.brandSave button {
  white-space: nowrap;
}

.brandPreview {
  background: #e9edf0;
  border-radius: 20px;
  padding: 18px;
  position: sticky;
  top: 24px;
}

.previewLabel {
  color: #60707e;
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: .7px;
  justify-content: space-between;
  margin-bottom: 12px;
  display: flex;
}

.brandPreview article {
  min-height: 570px;
  font-family: var(--brand-body);
  color: #253142;
  background: #fff;
  border-radius: 3px;
  padding: 48px 40px;
  box-shadow: 0 10px 30px #192a3729;
}

.brandPreview article > small {
  color: var(--brand-accent);
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.15px;
  font-weight: 800;
  display: block;
}

.brandPreview h2 {
  font-family: var(--brand-heading);
  color: var(--brand-primary);
  margin: 13px 0 9px;
  font-size: 27px;
  line-height: 1.08;
}

.brandPreview .previewSubtitle {
  font-size: var(--ui-text-size, 12px);
  color: var(--brand-secondary);
  margin: 0;
}

.previewRule {
  background: linear-gradient(90deg,var(--brand-accent) 0 28%,var(--brand-soft) 28%);
  height: 3px;
  margin: 34px 0 26px;
}

.brandPreview h3 {
  font-family: var(--brand-heading);
  color: var(--brand-primary);
  margin: 0 0 10px;
  font-size: 17px;
}

.brandPreview p {
  font-size: var(--ui-text-size, 10px);
  line-height: 1.6;
}

.brandPreview table {
  border-collapse: collapse;
  width: 100%;
  font-size: var(--ui-caption-size, 9px);
  margin: 20px 0;
}

.brandPreview th {
  background: var(--brand-primary);
  color: #fff;
  text-align: left;
}

.brandPreview th, .brandPreview td {
  border: 1px solid #dce2e6;
  padding: 7px;
}

.brandPreview td:first-child {
  background: var(--brand-soft);
  color: var(--brand-primary);
  font-weight: 700;
}

.previewCallout {
  border-left: 4px solid var(--brand-accent);
  background: var(--brand-soft);
  font-size: var(--ui-caption-size, 9px);
  gap: 4px;
  padding: 11px 12px;
  display: grid;
}

.previewCallout b {
  color: var(--brand-primary);
}

.previewTokens {
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  display: flex;
}

.previewTokens span {
  color: #52616e;
  font-size: var(--ui-caption-size, 10px);
  background: #fff;
  border-radius: 999px;
  align-items: center;
  gap: 6px;
  padding: 6px 9px;
  display: flex;
}

.previewTokens i {
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

.previewTokens b {
  font-size: var(--ui-text-size, 14px);
  color: var(--brand-primary);
}

@media (max-width: 1050px) {
  .brandStudioLayout {
    grid-template-columns: 1fr;
  }

  .brandPreview {
    position: static;
  }

  .brandPreview article {
    min-height: 430px;
  }

  .paletteChoices {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 720px) {
  .clientIdentityHero, .brandSave, .brandStudioBar {
    flex-direction: column;
    align-items: flex-start;
  }

  .companyFields > div, .fontChoices {
    grid-template-columns: 1fr;
  }

  .paletteChoices, .customColors {
    grid-template-columns: 1fr 1fr;
  }

  .brandPreview article {
    padding: 36px 26px;
  }
}

/* [project]/app/workspace-admin.css [app-client] (css) */
.workspaceAdmin {
  gap: 16px;
  display: grid;
}

.adminHero {
  color: #fff;
  background: linear-gradient(125deg, #172d35, #315e67);
  border-radius: 16px;
  justify-content: space-between;
  align-items: center;
  padding: 28px 30px;
  display: flex;
  box-shadow: 0 15px 35px #173e4f20;
}

.adminHero small, .adminList header small, .adminEditor header small, .emailGuide > small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.4px;
  color: #e8c985;
  font-weight: 800;
}

.adminHero h2 {
  margin: 7px 0;
  font: 500 27px / 1.1 Georgia, serif;
}

.adminHero p {
  color: #d4e0e2;
  max-width: 720px;
  font-size: var(--ui-text-size, 11px);
  margin: 0;
  line-height: 1.5;
}

.adminHero > div:last-child {
  text-align: center;
  background: #ffffff0d;
  border: 1px solid #ffffff24;
  border-radius: 11px;
  min-width: 130px;
  padding: 15px 18px;
}

.adminHero strong {
  font: 500 26px Georgia, serif;
  display: block;
}

.adminHero span {
  font-size: var(--ui-caption-size, 8px);
  color: #d7e2e3;
}

.adminSplit, .emailWorkspace {
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  gap: 15px;
  display: grid;
}

.usersSplit {
  grid-template-columns: minmax(0, .9fr) minmax(430px, 1.1fr);
}

.adminList, .adminEditor, .emailGuide {
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 12px;
  padding: 20px;
}

.adminList > header {
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 13px;
  display: flex;
}

.adminList h3, .adminEditor h3, .emailGuide h3 {
  margin: 5px 0;
  font: 500 18px Georgia, serif;
}

.adminList header button {
  color: #fff;
  font-size: var(--ui-text-size, 9px);
  background: #2f6f62;
  border: 1px solid #2f6f62;
  border-radius: 7px;
  padding: 9px 11px;
  font-weight: 800;
}

.adminList article {
  border-top: 1px solid #edf0ee;
  grid-template-columns: 38px 1fr auto 60px;
  align-items: center;
  gap: 10px;
  padding: 11px 4px;
  display: grid;
}

.adminList article > span {
  color: #2f6f62;
  width: 36px;
  height: 36px;
  font-size: var(--ui-caption-size, 9px);
  background: #eaf2ef;
  border-radius: 9px;
  place-items: center;
  font-weight: 800;
  display: grid;
}

.adminList article div {
  gap: 4px;
  display: grid;
}

.adminList article strong {
  font-size: var(--ui-caption-size, 10px);
}

.adminList article small {
  font-size: var(--ui-caption-size, 8px);
  color: #78847f;
}

.adminList article em {
  font-size: var(--ui-caption-size, 8px);
  color: #2f6f62;
  background: #eaf4f0;
  border-radius: 9px;
  padding: 5px 7px;
  font-style: normal;
}

.adminList article em.off {
  color: #8a4d42;
  background: #f7ebe8;
}

.adminList article button {
  color: #2f6f62;
  font-size: var(--ui-text-size, 8px);
  background: none;
  border: 0;
  font-weight: 800;
}

.adminEditor header {
  margin-bottom: 15px;
}

.adminEditor header p {
  font-size: var(--ui-text-size, 9px);
  color: #7d8883;
  margin: 4px 0;
}

.adminFields {
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  display: grid;
}

.adminFields label {
  gap: 6px;
  display: grid;
}

.adminFields label.wide {
  grid-column: 1 / -1;
}

.adminFields label > span {
  font-size: var(--ui-text-size, 8px);
  color: #77837e;
  text-transform: uppercase;
  letter-spacing: .6px;
  font-weight: 800;
}

.adminFields input, .adminFields select {
  color: #26332f;
  width: 100%;
  height: 37px;
  font-size: var(--ui-text-size, 10px);
  background: #fbfcfb;
  border: 1px solid #dfe4e1;
  border-radius: 7px;
  padding: 0 10px;
}

.adminPrimary, .emailActions button {
  color: #fff;
  font-size: var(--ui-text-size, 9px);
  background: #2f6f62;
  border: 0;
  border-radius: 8px;
  margin-top: 15px;
  padding: 11px 14px;
  font-weight: 800;
}

.adminPrimary:disabled, .emailActions button:disabled {
  opacity: .5;
}

.twoFactor {
  background: #f7faf8;
  border: 1px solid #dfe7e3;
  border-radius: 9px;
  align-items: flex-start;
  gap: 10px;
  margin-top: 15px;
  padding: 12px;
  display: flex;
}

.twoFactor input {
  margin-top: 2px;
}

.twoFactor span {
  gap: 4px;
  display: grid;
}

.twoFactor strong {
  font-size: var(--ui-caption-size, 9px);
}

.twoFactor small {
  font-size: var(--ui-caption-size, 8px);
  color: #75817c;
}

.permissionGrid {
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-top: 13px;
  display: grid;
}

.permissionGrid label {
  font-size: var(--ui-text-size, 8px);
  border: 1px solid #e5e9e7;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 8px;
  display: flex;
}

.emailGuide > div {
  border-bottom: 1px solid #edf0ee;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  display: flex;
}

.emailGuide > div span {
  color: #2f6f62;
  width: 24px;
  height: 24px;
  font-size: var(--ui-caption-size, 8px);
  background: #eaf2ef;
  border-radius: 50%;
  place-items: center;
  font-weight: 800;
  display: grid;
}

.emailGuide > div p {
  font-size: var(--ui-text-size, 9px);
  margin: 0;
}

.securityNote {
  font-size: var(--ui-caption-size, 8px);
  background: #fff8eb;
  border-left: 3px solid #c99a3c;
  padding: 11px;
  line-height: 1.5;
}

.emailActions {
  gap: 8px;
  display: flex;
}

.emailActions button:last-child {
  color: #2f6f62;
  background: #fff;
  border: 1px solid #cfdad6;
}

.adminEmpty, .adminError {
  color: #74807b;
  background: #fafbfa;
  border: 1px dashed #d8dfdc;
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  padding: 18px;
  display: flex;
}

.adminEmpty span, .adminError > span {
  color: #2f6f62;
  background: #eaf2ef;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  display: grid;
}

.adminEmpty p, .adminError p {
  font-size: var(--ui-text-size, 9px);
}

.adminError {
  background: #fff;
}

.adminError h3 {
  margin: 0;
}

.adminError button {
  color: #fff;
  background: #2f6f62;
  border: 0;
  border-radius: 6px;
  padding: 8px 10px;
}

.adminInlineError {
  color: #914f43;
  font-size: var(--ui-caption-size, 9px);
  background: #fff0ed;
  border-radius: 8px;
  margin: 0;
  padding: 11px 13px;
}

@media (max-width: 1050px) {
  .adminSplit, .usersSplit, .emailWorkspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .adminHero {
    align-items: flex-start;
  }

  .adminHero > div:last-child {
    display: none;
  }

  .adminFields, .permissionGrid {
    grid-template-columns: 1fr;
  }

  .adminFields label.wide {
    grid-column: auto;
  }
}

/* [project]/app/cloud-data-backup.css [app-client] (css) */
.cloudBackup {
  gap: 14px;
  display: grid;
}

.cloudBackupHero {
  color: #fff;
  background: linear-gradient(125deg, #173931, #2f6f62);
  border-radius: 15px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 27px;
  display: flex;
}

.cloudBackupHero small, .cloudFileBackup small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.4px;
  color: #e8c985;
  font-weight: 800;
}

.cloudBackupHero h2 {
  margin: 7px 0;
  font: 500 25px Georgia;
}

.cloudBackupHero p {
  font-size: var(--ui-text-size, 10px);
  color: #d8e7e2;
  max-width: 660px;
  margin: 0;
  line-height: 1.6;
}

.cloudBackupHero > span {
  font-size: var(--ui-caption-size, 9px);
  white-space: nowrap;
  background: #ffffff12;
  border: 1px solid #ffffff42;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
}

.cloudBackupGrid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.cloudBackupGrid > section, .cloudFileBackup {
  background: #fff;
  border: 1px solid #dce4e0;
  border-radius: 14px;
  padding: 20px;
}

.cloudBackupGrid header {
  align-items: center;
  gap: 11px;
  display: flex;
}

.cloudBackupGrid header > span {
  color: #2f6f62;
  background: #edf4f1;
  border-radius: 9px;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 900;
  display: grid;
}

.cloudBackupGrid header small {
  font-size: var(--ui-caption-size, 7px);
  letter-spacing: 1.1px;
  color: #7a8983;
  font-weight: 800;
}

.cloudBackupGrid h3, .cloudFileBackup h3 {
  color: #173931;
  margin: 3px 0;
  font: 600 17px Georgia;
}

.cloudMetric {
  background: #f4f7f5;
  border-radius: 11px;
  grid-template-columns: auto 1fr auto;
  align-items: end;
  gap: 8px;
  margin: 18px 0 12px;
  padding: 14px;
  display: grid;
}

.cloudMetric strong {
  color: #2f6f62;
  font: 600 28px Georgia;
}

.cloudMetric span {
  font-size: var(--ui-caption-size, 9px);
  color: #53645e;
  padding-bottom: 4px;
}

.cloudMetric em {
  font-style: normal;
  font-size: var(--ui-caption-size, 8px);
  color: #76837e;
  padding-bottom: 4px;
}

.cloudBackupGrid section > p, .cloudEmpty p {
  font-size: var(--ui-text-size, 9px);
  color: #68766f;
  line-height: 1.55;
}

.cloudBackup code {
  font-size: var(--ui-caption-size, 8px);
  background: #edf2f0;
  border-radius: 4px;
  padding: 2px 5px;
}

.cloudBackup button {
  color: #29453c;
  font-size: var(--ui-text-size, 9px);
  background: #fff;
  border: 1px solid #cfdad5;
  border-radius: 8px;
  padding: 10px 13px;
  font-weight: 800;
}

.cloudBackup button:disabled {
  opacity: .55;
}

.cloudBackup .cloudPrimary, .cloudBackup .cloudRestore {
  color: #fff;
  background: #2f6f62;
  border-color: #2f6f62;
  width: 100%;
  margin-top: 8px;
}

.cloudBackup dl {
  gap: 7px;
  margin: 0 0 10px;
  display: grid;
}

.cloudBackup dl div {
  font-size: var(--ui-caption-size, 8px);
  border-bottom: 1px solid #edf1ef;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 6px;
  display: flex;
}

.cloudBackup dt {
  color: #7b8883;
}

.cloudBackup dd {
  text-align: right;
  color: #31463f;
  margin: 0;
  font-weight: 700;
}

.cloudEmpty {
  color: #53635d;
  border: 1px dashed #cbd8d2;
  border-radius: 10px;
  margin: 18px 0;
  padding: 18px;
}

.cloudFileBackup {
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  display: flex;
}

.cloudFileBackup h3 {
  margin: 5px 0;
}

.cloudFileBackup p {
  font-size: var(--ui-text-size, 9px);
  color: #6d7a75;
  margin: 0;
}

.cloudFileBackup > div:last-child {
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  display: flex;
}

.cloudSafety {
  color: #70591c;
  font-size: var(--ui-caption-size, 8px);
  background: #fff7dc;
  border: 1px solid #eed99d;
  border-radius: 9px;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  display: flex;
}

.cloudSafety b {
  white-space: nowrap;
}

.cloudError {
  color: #9c372d;
  font-size: var(--ui-caption-size, 9px);
  background: #fff0ee;
  border-radius: 8px;
  margin: 0;
  padding: 10px 12px;
}

@media (max-width: 820px) {
  .cloudBackupGrid {
    grid-template-columns: 1fr;
  }

  .cloudFileBackup, .cloudBackupHero {
    flex-direction: column;
    align-items: flex-start;
  }

  .cloudFileBackup > div:last-child {
    justify-content: flex-start;
  }
}

/* [project]/app/organization-chart.css [app-client] (css) */
.organizationModule {
  --org-primary: #2f6f62;
  --org-secondary: #6f8f86;
  --org-accent: #c17755;
  --org-soft: #edf5f2;
  font-family: var(--org-body);
  color: #1b2938;
}

.orgHero {
  color: #fff;
  background: linear-gradient(120deg,var(--org-primary),color-mix(in srgb,var(--org-primary),#101a2c 30%));
  border-radius: 18px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  display: flex;
  box-shadow: 0 14px 34px #18352e25;
}

.orgHero small, .orgChartPrint > header small {
  letter-spacing: 1.8px;
  font-weight: 800;
  font-size: var(--ui-caption-size, 10px);
}

.orgHero h2 {
  font: 700 29px/1.1 var(--org-heading);
  margin: 7px 0 8px;
}

.orgHero p {
  color: #ffffffe0;
  max-width: 790px;
  margin: 0;
  line-height: 1.55;
}

.orgHeroStats {
  gap: 10px;
  display: flex;
}

.orgHeroStats span {
  text-align: center;
  min-width: 78px;
  font-size: var(--ui-caption-size, 11px);
  background: #ffffff12;
  border: 1px solid #ffffff35;
  border-radius: 12px;
  padding: 12px 10px;
}

.orgHeroStats strong {
  font-size: 22px;
  display: block;
}

.orgWorkspace {
  grid-template-columns: minmax(285px, 340px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
  display: grid;
}

.orgEditor, .orgCanvas {
  background: #fff;
  border: 1px solid #dfe6e6;
  border-radius: 16px;
  box-shadow: 0 8px 25px #2035370c;
}

.orgEditor {
  max-height: calc(100vh - 70px);
  padding: 20px;
  position: sticky;
  top: 18px;
  overflow: auto;
}

.orgEditor > header {
  border-bottom: 1px solid #e8eded;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
  padding-bottom: 15px;
  display: flex;
}

.orgEditor > header small, .orgAudit > small {
  color: var(--org-primary);
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: 1.4px;
  font-weight: 900;
}

.orgEditor h3 {
  font: 700 19px/1.2 var(--org-heading);
  margin: 5px 0 0;
}

.orgEditor > header button, .orgQuickToggle {
  background: var(--org-soft);
  color: var(--org-primary);
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  font-weight: 800;
}

.orgEditor form {
  gap: 12px;
  display: grid;
}

.orgEditor label {
  gap: 6px;
  display: grid;
}

.orgEditor label > span {
  font-size: var(--ui-text-size, 11px);
  color: #526172;
  font-weight: 800;
}

.orgEditor input, .orgEditor select, .orgEditor textarea {
  box-sizing: border-box;
  color: #1e2c39;
  width: 100%;
  font: inherit;
  font-size: var(--ui-text-size, 12px);
  background: #fbfcfc;
  border: 1px solid #d7e0df;
  border-radius: 9px;
  padding: 10px;
}

.orgEditor textarea {
  resize: vertical;
}

.orgEditor input:focus, .orgEditor select:focus, .orgEditor textarea:focus {
  outline: 2px solid color-mix(in srgb,var(--org-primary),transparent 75%);
  border-color: var(--org-primary);
}

.orgInlineFields {
  grid-template-columns: 1fr 78px;
  gap: 10px;
  display: grid;
}

.orgSave, .orgQuick button {
  background: var(--org-primary);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  padding: 11px 12px;
  font-weight: 800;
}

.orgDelete {
  color: #a43b31;
  cursor: pointer;
  background: #fff5f3;
  border: 1px solid #d8a6a1;
  border-radius: 9px;
  padding: 9px;
  font-weight: 800;
}

.orgSave:disabled, .orgDelete:disabled, .orgQuick button:disabled {
  opacity: .55;
  cursor: wait;
}

.orgQuickToggle {
  width: 100%;
  margin-top: 14px;
}

.orgQuick {
  background: #f5f8f7;
  border: 1px solid #dde7e4;
  border-radius: 11px;
  margin-top: 10px;
  padding: 13px;
}

.orgQuick p {
  font-size: var(--ui-text-size, 11px);
  color: #5c6a76;
  margin: 0 0 5px;
}

.orgQuick code {
  font-size: var(--ui-caption-size, 9px);
  color: var(--org-primary);
}

.orgQuick textarea {
  margin: 9px 0;
}

.orgQuick button {
  width: 100%;
}

.orgAudit {
  border-top: 1px solid #e7eded;
  margin-top: 17px;
  padding-top: 14px;
}

.orgAudit p {
  border-left: 2px solid var(--org-accent);
  margin: 9px 0;
  padding-left: 9px;
}

.orgAudit b, .orgAudit span {
  display: block;
}

.orgAudit b {
  font-size: var(--ui-caption-size, 10px);
}

.orgAudit span {
  color: #7a8591;
  font-size: var(--ui-caption-size, 9px);
  margin-top: 2px;
}

.orgCanvas {
  min-width: 0;
  overflow: hidden;
}

.orgToolbar {
  border-bottom: 1px solid #e6ebeb;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
  padding: 13px 16px;
  display: flex;
}

.orgToolbar nav, .orgToolbar > div {
  align-items: center;
  gap: 5px;
  display: flex;
}

.orgToolbar button {
  color: #4e5c68;
  font-weight: 800;
  font-size: var(--ui-text-size, 11px);
  cursor: pointer;
  background: #fff;
  border: 1px solid #dbe3e2;
  border-radius: 8px;
  padding: 8px 10px;
}

.orgToolbar button.active {
  background: var(--org-primary);
  border-color: var(--org-primary);
  color: #fff;
}

.orgToolbar span {
  text-align: center;
  min-width: 42px;
  font-size: var(--ui-caption-size, 10px);
  font-weight: 800;
}

.orgToolbar .orgPrintButton {
  color: var(--org-primary);
  border-color: color-mix(in srgb,var(--org-primary),white 55%);
  margin-left: 5px;
}

.orgChartPrint {
  background: #fff;
  border: 1px solid #e1e6e7;
  border-radius: 12px;
  min-height: 600px;
  margin: 16px;
  overflow: auto;
}

.orgChartPrint > header {
  border-bottom: 3px solid var(--org-primary);
  background: linear-gradient(90deg,var(--org-soft),#fff);
  justify-content: space-between;
  align-items: end;
  padding: 22px 24px 16px;
  display: flex;
}

.orgChartPrint > header small {
  color: var(--org-primary);
}

.orgChartPrint > header h2 {
  font: 700 24px/1.15 var(--org-heading);
  margin: 4px 0 0;
}

.orgChartPrint > header > span {
  font-size: var(--ui-caption-size, 10px);
  color: #6e7a85;
}

.orgScaled {
  min-width: max-content;
  transform: scale(var(--org-zoom));
  transform-origin: 0 0;
  width: calc(100% / var(--org-zoom));
  min-height: 500px;
}

.orgChartPrint footer {
  color: #77828c;
  font-size: var(--ui-caption-size, 9px);
  border-top: 1px solid #e2e8e8;
  justify-content: space-between;
  padding: 12px 22px;
  display: flex;
}

.orgTree {
  min-width: 720px;
  padding: 38px 26px;
}

.orgTree ul {
  justify-content: center;
  margin: 0;
  padding-top: 26px;
  padding-left: 0;
  display: flex;
  position: relative;
}

.orgTree li {
  text-align: center;
  padding: 26px 9px 0;
  list-style: none;
  position: relative;
}

.orgTree li:before, .orgTree li:after {
  content: "";
  border-top: 1.5px solid #9fb0ac;
  width: 50%;
  height: 26px;
  position: absolute;
  top: 0;
  right: 50%;
}

.orgTree li:after {
  border-left: 1.5px solid #9fb0ac;
  left: 50%;
  right: auto;
}

.orgTree li:only-child:before, .orgTree li:only-child:after {
  display: none;
}

.orgTree li:only-child {
  padding-top: 0;
}

.orgTree li:first-child:before, .orgTree li:last-child:after {
  border: 0;
}

.orgTree li:last-child:before {
  border-right: 1.5px solid #9fb0ac;
  border-radius: 0 6px 0 0;
}

.orgTree li:first-child:after {
  border-radius: 6px 0 0;
}

.orgTree ul ul:before {
  content: "";
  border-left: 1.5px solid #9fb0ac;
  width: 0;
  height: 26px;
  position: absolute;
  top: 0;
  left: 50%;
}

.orgTreeRoots > li {
  padding-top: 0;
}

.orgTreeRoots > li:before, .orgTreeRoots > li:after {
  display: none;
}

.orgNodeCard {
  vertical-align: top;
  text-align: left;
  border: 1px solid #d6e0dd;
  border-top: 4px solid var(--org-primary);
  color: #1c2b38;
  width: 178px;
  min-height: 105px;
  font-family: var(--org-body);
  cursor: pointer;
  background: #fff;
  border-radius: 11px;
  flex-direction: column;
  padding: 12px 13px;
  display: inline-flex;
  box-shadow: 0 7px 20px #30464113;
}

.orgNodeCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #30464122;
}

.orgNodeCard > span {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.2px;
  color: var(--org-primary);
  font-weight: 900;
}

.orgNodeCard > strong {
  font: 700 var(--ui-text-size, 14px)/1.2 var(--org-heading);
  margin-top: 6px;
}

.orgNodeCard > b {
  font-size: var(--ui-caption-size, 10px);
  color: #4d5d6a;
  margin-top: 4px;
}

.orgNodeCard > small {
  font-size: var(--ui-caption-size, 9px);
  color: var(--org-primary);
  margin-top: 7px;
}

.orgNodeCard > em {
  font-size: var(--ui-caption-size, 8px);
  color: #7b8790;
  margin-top: 5px;
  font-style: normal;
}

.orgNodeCard.body {
  border-top-color: var(--org-accent);
  background: color-mix(in srgb,var(--org-soft),white 55%);
}

.orgNodeCard.body > span {
  color: var(--org-accent);
}

.orgNodeCard.external {
  border-top-style: dashed;
  border-top-color: var(--org-secondary);
}

.orgFunctionGrid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 14px;
  min-width: 760px;
  padding: 24px;
  display: grid;
}

.orgFunctionGrid section {
  background: #fafcfc;
  border: 1px solid #dfe7e5;
  border-radius: 12px;
  overflow: hidden;
}

.orgFunctionGrid section > header {
  background: var(--org-soft);
  border-bottom: 1px solid #dbe5e2;
  align-items: center;
  gap: 10px;
  padding: 12px;
  display: flex;
}

.orgFunctionGrid section > header span {
  background: var(--org-primary);
  color: #fff;
  width: 29px;
  height: 29px;
  font-size: var(--ui-caption-size, 10px);
  border-radius: 8px;
  place-items: center;
  font-weight: 900;
  display: grid;
}

.orgFunctionGrid h3 {
  font: 700 var(--ui-text-size, 14px) var(--org-heading);
  margin: 0;
}

.orgFunctionGrid section > div {
  gap: 8px;
  padding: 10px;
  display: grid;
}

.orgFunctionGrid .orgNodeCard, .orgCompanyView .orgNodeCard {
  box-sizing: border-box;
  width: 100%;
  min-height: 96px;
}

.orgCompanyView {
  min-width: 760px;
  padding: 24px;
}

.orgLeadership {
  border: 1px solid color-mix(in srgb,var(--org-accent),white 55%);
  background: color-mix(in srgb,var(--org-soft),white 30%);
  border-radius: 13px;
  padding: 17px;
}

.orgLeadership > small {
  color: var(--org-accent);
  letter-spacing: 1.4px;
  font-weight: 900;
  font-size: var(--ui-caption-size, 9px);
}

.orgLeadership > div {
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  display: flex;
}

.orgLeadership .orgNodeCard {
  max-width: 220px;
}

.orgCompanyFunctions {
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 12px;
  margin-top: 26px;
  display: grid;
  position: relative;
}

.orgCompanyFunctions:before {
  content: "";
  border-left: 1.5px solid #9fb0ac;
  height: 26px;
  position: absolute;
  top: -26px;
  left: 50%;
}

.orgCompanyFunctions > section {
  border-top: 4px solid var(--org-primary);
  background: #f8faf9;
  border-radius: 10px;
  padding: 11px;
}

.orgCompanyFunctions h3 {
  font: 700 var(--ui-text-size, 13px) var(--org-heading);
  color: var(--org-primary);
  margin: 0 0 10px;
}

.orgCompanyFunctions .orgNodeCard {
  margin-top: 7px;
}

.orgEmpty {
  text-align: center;
  color: #71808a;
  min-width: 600px;
  padding: 110px 30px;
}

.orgEmpty > span {
  background: var(--org-soft);
  width: 58px;
  height: 58px;
  color: var(--org-primary);
  border-radius: 15px;
  place-items: center;
  margin: auto;
  font-size: 26px;
  display: grid;
}

.orgEmpty h3 {
  font: 700 20px var(--org-heading);
  color: #334553;
  margin: 14px 0 5px;
}

.orgEmpty p {
  font-size: var(--ui-text-size, 12px);
}

.orgLoading {
  text-align: center;
  color: #71808a;
  padding: 120px;
}

.orgError {
  color: #9b352d;
  font-size: var(--ui-caption-size, 11px);
  background: #fff2ef;
  border-radius: 8px;
  margin: 12px 16px 0;
  padding: 10px;
}

.orgHint {
  color: #76818b;
  font-size: var(--ui-caption-size, 10px);
  text-align: center;
  margin: 0;
  padding: 0 18px 15px;
}

@media (max-width: 1100px) {
  .orgWorkspace {
    grid-template-columns: 1fr;
  }

  .orgEditor {
    max-height: none;
    position: static;
  }

  .orgHero {
    align-items: flex-start;
  }

  .orgHeroStats {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .orgHero {
    padding: 22px;
    display: block;
  }

  .orgHeroStats {
    margin-top: 18px;
  }

  .orgToolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .orgToolbar nav button {
    flex: 1;
  }

  .orgToolbar > div {
    justify-content: flex-end;
  }

  .orgChartPrint {
    margin: 8px;
  }

  .orgEditor {
    padding: 15px;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .orgChartPrint, .orgChartPrint * {
    visibility: visible !important;
  }

  .orgChartPrint {
    border: 0;
    border-radius: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
  }

  .orgScaled {
    min-width: 0;
    width: 100% !important;
    transform: none !important;
  }

  .orgTree, .orgFunctionGrid, .orgCompanyView {
    min-width: 0;
  }

  .orgNodeCard {
    break-inside: avoid;
    box-shadow: none;
  }

  .orgChartPrint > header {
    break-after: avoid;
  }

  @page {
    size: A4 landscape;
    margin: 10mm;
  }
}

.orgBasePanel {
  background: #fff;
  border: 1px solid #cbd8d6;
  border-radius: 12px;
  margin: 16px 0;
  padding: 20px;
}

.orgBasePanel header {
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  display: flex;
}

.orgBasePanel header > div {
  flex: 1;
  min-width: 240px;
}

.orgBasePanel h3 {
  margin: 0;
  font-size: 1.2rem;
}

.orgBasePanel p {
  color: #505b6e;
  line-height: 1.55;
}

.orgBasePanel button {
  color: #245e53;
  cursor: pointer;
  background: #eef6f3;
  border: 1px solid #b6c9c5;
  border-radius: 7px;
  padding: 10px 14px;
}

.orgBasePanel button:disabled {
  opacity: .55;
  cursor: default;
}

.orgBasePanel summary {
  cursor: pointer;
  font-weight: bold;
}

.orgBasePanel ul {
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 10px;
  padding: 0;
  list-style: none;
  display: grid;
}

.orgBasePanel li {
  border: 1px solid #d6dfdd;
  border-radius: 8px;
  gap: 6px;
  padding: 12px;
  display: grid;
}

.orgBasePanel small {
  color: #505b6e;
}

.organizationModule .orgWorkspace {
  flex-direction: column;
  gap: 16px;
  display: flex;
}

.organizationModule .orgCanvas {
  order: -1;
  width: 100%;
  min-width: 0;
}

.organizationModule .orgEditor {
  width: 100%;
  max-height: none;
  position: static;
}

.organizationModule .orgEditor[hidden] {
  display: none;
}

.organizationModule .diagramSources {
  background: #fff;
  border: 1px solid #ccd8dc;
  border-radius: 8px;
  margin: 12px 0;
}

.organizationModule .diagramSources > summary {
  cursor: pointer;
  padding: 12px 16px;
  font-weight: 600;
}

@media screen {
  .orgChartPrint > header, .orgChartPrint footer {
    flex-wrap: wrap;
    gap: 12px;
  }

  .orgChartPrint > header > div {
    overflow-wrap: anywhere;
    min-width: 0;
  }

  .orgScaled {
    min-width: 0;
  }

  .orgTree {
    min-width: 0;
    padding: 24px;
  }

  .orgTree ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding: 0;
    display: flex;
  }

  .orgTree li, .orgTree li:only-child {
    text-align: left;
    padding: 0;
  }

  .orgTree li:before, .orgTree li:after, .orgTree ul ul:before {
    display: none;
  }

  .orgTree ul ul {
    border-left: 1.5px solid #9fb0ac;
    margin: 12px 0 0 20px;
    padding-left: 24px;
  }

  .orgTree ul ul > li:before {
    border: 0;
    border-top: 1.5px solid #9fb0ac;
    border-radius: 0;
    width: 24px;
    height: 0;
    display: block;
    top: 26px;
    left: -24px;
    right: auto;
  }

  .orgTree .orgNodeCard {
    overflow-wrap: anywhere;
    gap: 3px;
    width: 300px;
    max-width: 100%;
    min-height: 0;
    padding: 12px 14px;
  }

  .orgTree .orgNodeCard > strong {
    line-height: 1.4;
  }

  .orgFunctionGrid, .orgCompanyView {
    min-width: 0;
    padding: 18px;
  }

  .orgFunctionGrid {
    grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  }

  .orgCompanyFunctions {
    grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  }

  .orgEmpty {
    min-width: 0;
    padding: 48px 20px;
  }

  .orgLoading {
    padding: 48px 20px;
  }

  @media (max-width: 720px) {
    .orgTree {
      padding: 16px;
    }

    .orgTree ul ul {
      margin-left: 10px;
      padding-left: 14px;
    }

    .orgTree ul ul > li:before {
      width: 14px;
      left: -14px;
    }

    .orgTree .orgNodeCard {
      width: 250px;
    }
  }
}

.orgPersonnelHint {
  font-size: var(--ui-text-size, 13px);
  color: #596a62;
  margin: 6px 0 12px;
  line-height: 1.5;
}

.orgComplianceNotice {
  background: var(--org-soft, #f0f6f3);
  border: 1px solid #c9ded8;
  border-radius: 13px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 23px;
  line-height: 1.7;
  display: flex;
}

.orgComplianceNotice strong {
  color: var(--org-primary, #245b4b);
  font-size: 17px;
}

.orgComplianceNotice p {
  max-width: 920px;
  margin: 7px 0 0;
  font-size: 14px;
}

.orgComplianceNotice button {
  flex-shrink: 0;
}

@media (max-width: 720px) {
  .orgComplianceNotice {
    flex-direction: column;
    align-items: stretch;
  }
}

/* [project]/app/process-map.css [app-client] (css) */
.processMapModule {
  --process-primary: #2f6f62;
  --process-secondary: #6f8f86;
  --process-accent: #c17755;
  --process-soft: #edf5f2;
  font-family: var(--process-body);
  color: #1b2938;
}

.processHero {
  color: #fff;
  background: linear-gradient(122deg,color-mix(in srgb,var(--process-primary),#0d2f39 12%),color-mix(in srgb,var(--process-primary),#152033 35%));
  border-radius: 18px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  display: flex;
  box-shadow: 0 14px 34px #18352e25;
}

.processHero small, .processMapPrint > header small {
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: 1.8px;
  font-weight: 900;
}

.processHero h2 {
  font: 700 29px/1.1 var(--process-heading);
  margin: 7px 0 8px;
}

.processHero p {
  color: #ffffffe0;
  max-width: 760px;
  margin: 0;
  line-height: 1.55;
}

.processHeroStats {
  gap: 10px;
  display: flex;
}

.processHeroStats span {
  text-align: center;
  min-width: 82px;
  font-size: var(--ui-caption-size, 11px);
  background: #ffffff12;
  border: 1px solid #ffffff38;
  border-radius: 12px;
  padding: 12px 10px;
}

.processHeroStats strong {
  font-size: 22px;
  display: block;
}

.processWorkspace {
  grid-template-columns: minmax(300px, 355px) minmax(0, 1fr);
  align-items: start;
  gap: 18px;
  margin-top: 18px;
  display: grid;
}

.processEditor, .processCanvas {
  background: #fff;
  border: 1px solid #dfe6e6;
  border-radius: 16px;
  box-shadow: 0 8px 25px #2035370c;
}

.processEditor {
  max-height: calc(100vh - 70px);
  padding: 20px;
  position: sticky;
  top: 18px;
  overflow: auto;
}

.processEditor > header {
  border-bottom: 1px solid #e8eded;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 16px;
  padding-bottom: 15px;
  display: flex;
}

.processEditor > header small, .processAudit > small {
  color: var(--process-primary);
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: 1.4px;
  font-weight: 900;
}

.processEditor h3 {
  font: 700 18px/1.25 var(--process-heading);
  margin: 5px 0 0;
}

.processEditor > header button, .processQuickToggle {
  background: var(--process-soft);
  color: var(--process-primary);
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  padding: 8px 10px;
  font-weight: 800;
}

.processEditor form {
  gap: 12px;
  display: grid;
}

.processEditor label {
  gap: 6px;
  display: grid;
}

.processEditor label > span {
  color: #526172;
  font-size: var(--ui-text-size, 11px);
  font-weight: 800;
}

.processEditor input, .processEditor select, .processEditor textarea {
  box-sizing: border-box;
  color: #1e2c39;
  width: 100%;
  font: inherit;
  font-size: var(--ui-text-size, 12px);
  background: #fbfcfc;
  border: 1px solid #d7e0df;
  border-radius: 9px;
  padding: 10px;
}

.processEditor textarea {
  resize: vertical;
}

.processEditor input:focus, .processEditor select:focus, .processEditor textarea:focus {
  outline: 2px solid color-mix(in srgb,var(--process-primary),transparent 75%);
  border-color: var(--process-primary);
}

.processShortFields {
  grid-template-columns: 1fr 80px;
  gap: 10px;
  display: grid;
}

.processIO {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  display: grid;
}

.processSave, .processQuick button {
  background: var(--process-primary);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  padding: 11px 12px;
  font-weight: 800;
}

.processDelete {
  color: #a43b31;
  cursor: pointer;
  background: #fff5f3;
  border: 1px solid #d8a6a1;
  border-radius: 9px;
  padding: 9px;
  font-weight: 800;
}

.processSave:disabled, .processDelete:disabled, .processQuick button:disabled {
  opacity: .55;
  cursor: wait;
}

.processPredecessors {
  background: #f8faf9;
  border: 1px solid #dce5e3;
  border-radius: 10px;
  gap: 6px;
  max-height: 170px;
  margin: 0;
  padding: 10px;
  display: grid;
  overflow: auto;
}

.processPredecessors legend {
  color: #526172;
  font-size: var(--ui-text-size, 10px);
  padding: 0 5px;
  font-weight: 900;
}

.processPredecessors label {
  background: #fff;
  border-radius: 7px;
  align-items: center;
  gap: 7px;
  padding: 6px;
  display: flex;
}

.processPredecessors input {
  width: auto;
}

.processPredecessors span {
  font-size: var(--ui-caption-size, 10px) !important;
  font-weight: 600 !important;
}

.processPredecessors b {
  color: var(--process-primary);
  margin-right: 6px;
}

.processQuickToggle {
  width: 100%;
  margin-top: 14px;
}

.processQuick {
  background: #f5f8f7;
  border: 1px solid #dde7e4;
  border-radius: 11px;
  margin-top: 10px;
  padding: 13px;
}

.processQuick p {
  color: #5c6a76;
  font-size: var(--ui-text-size, 11px);
  margin: 0 0 5px;
}

.processQuick code {
  font-size: var(--ui-caption-size, 8px);
  color: var(--process-primary);
}

.processQuick textarea {
  margin: 9px 0;
}

.processQuick button {
  width: 100%;
}

.processAudit {
  border-top: 1px solid #e7eded;
  margin-top: 17px;
  padding-top: 14px;
}

.processAudit p {
  border-left: 2px solid var(--process-accent);
  margin: 9px 0;
  padding-left: 9px;
}

.processAudit b, .processAudit span {
  display: block;
}

.processAudit b {
  font-size: var(--ui-caption-size, 10px);
}

.processAudit span {
  color: #7a8591;
  font-size: var(--ui-caption-size, 9px);
  margin-top: 2px;
}

.processCanvas {
  min-width: 0;
  overflow: hidden;
}

.processToolbar {
  border-bottom: 1px solid #e6ebeb;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 13px 16px;
  display: flex;
}

.processToolbar nav, .processToolbar > div {
  align-items: center;
  gap: 5px;
  display: flex;
}

.processToolbar button {
  color: #4e5c68;
  font-size: var(--ui-text-size, 11px);
  cursor: pointer;
  background: #fff;
  border: 1px solid #dbe3e2;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 800;
}

.processToolbar button.active {
  border-color: var(--process-primary);
  background: var(--process-primary);
  color: #fff;
}

.processToolbar span {
  text-align: center;
  min-width: 42px;
  font-size: var(--ui-caption-size, 10px);
  font-weight: 800;
}

.processToolbar .processPrintButton {
  border-color: color-mix(in srgb,var(--process-primary),#fff 55%);
  color: var(--process-primary);
  margin-left: 5px;
}

.processMapPrint {
  background: #fff;
  border: 1px solid #e1e6e7;
  border-radius: 12px;
  min-height: 620px;
  margin: 16px;
  overflow: auto;
}

.processMapPrint > header {
  border-bottom: 3px solid var(--process-primary);
  background: linear-gradient(90deg,var(--process-soft),#fff);
  justify-content: space-between;
  align-items: end;
  padding: 22px 24px 16px;
  display: flex;
}

.processMapPrint > header small {
  color: var(--process-primary);
}

.processMapPrint > header h2 {
  font: 700 24px/1.15 var(--process-heading);
  margin: 4px 0 0;
}

.processMapPrint > header > span {
  color: #6e7a85;
  font-size: var(--ui-caption-size, 10px);
}

.processScaled {
  min-width: max-content;
  min-height: 520px;
  width: calc(100% / var(--process-zoom));
  transform: scale(var(--process-zoom));
  transform-origin: 0 0;
}

.processMapPrint footer {
  color: #77828c;
  font-size: var(--ui-caption-size, 9px);
  border-top: 1px solid #e2e8e8;
  justify-content: space-between;
  padding: 12px 22px;
  display: flex;
}

.processLanes {
  gap: 13px;
  min-width: 790px;
  padding: 22px;
  display: grid;
}

.processLanes > section {
  border: 1px solid #dfe6e4;
  border-left: 6px solid var(--lane-color);
  background: #fbfcfc;
  border-radius: 13px;
  grid-template-columns: 190px minmax(0, 1fr);
  min-height: 145px;
  display: grid;
  overflow: hidden;
}

.processLanes > section.direzionale {
  --lane-color: #384d6c;
  --lane-soft: #eef1f6;
}

.processLanes > section.primario {
  --lane-color: var(--process-primary);
  --lane-soft: var(--process-soft);
}

.processLanes > section.supporto {
  --lane-color: #b27a36;
  --lane-soft: #fbf4e9;
}

.processLanes > section.controllo {
  --lane-color: #87516d;
  --lane-soft: #f6eef3;
}

.processLanes > section > header {
  background: var(--lane-soft);
  border-right: 1px solid #dfe6e4;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
  padding: 17px;
  display: flex;
}

.processLanes > section > header small {
  color: var(--lane-color);
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.3px;
  font-weight: 900;
}

.processLanes > section > header h3 {
  font: 700 var(--ui-text-size, 14px)/1.2 var(--process-heading);
  margin: 5px 0 4px;
}

.processLanes > section > header p {
  color: #65737d;
  font-size: var(--ui-text-size, 9px);
  margin: 0;
  line-height: 1.4;
}

.processLanes > section > header > b {
  background: var(--lane-color);
  color: #fff;
  min-width: 28px;
  height: 28px;
  font-size: var(--ui-caption-size, 10px);
  border-radius: 8px;
  place-items: center;
  display: grid;
}

.processLaneCards {
  align-items: center;
  gap: 6px;
  padding: 16px;
  display: flex;
  overflow-x: auto;
}

.processLaneItem {
  align-items: center;
  gap: 6px;
  display: flex;
}

.processArrow {
  color: var(--lane-color);
  font-size: 20px;
  font-weight: 900;
}

.processLaneEmpty {
  color: #879198;
  font-size: var(--ui-caption-size, 10px);
  margin: auto;
}

.processCard {
  text-align: left;
  border: 1px solid #d6e0dd;
  border-top: 4px solid var(--card-color);
  color: #1c2b38;
  width: 188px;
  min-height: 112px;
  font-family: var(--process-body);
  cursor: pointer;
  background: #fff;
  border-radius: 11px;
  flex-direction: column;
  flex: none;
  padding: 12px;
  display: flex;
  position: relative;
  box-shadow: 0 7px 20px #30464113;
}

.processCard:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px #30464122;
}

.processCard.direzionale {
  --card-color: #384d6c;
}

.processCard.primario {
  --card-color: var(--process-primary);
}

.processCard.supporto {
  --card-color: #b27a36;
}

.processCard.controllo {
  --card-color: #87516d;
}

.processCard > span {
  color: var(--card-color);
  font-size: var(--ui-caption-size, 8px);
  justify-content: space-between;
  gap: 6px;
  display: flex;
}

.processCard > span b {
  letter-spacing: 1px;
}

.processCard > span em {
  color: #62717d;
  background: #eff3f2;
  border-radius: 8px;
  padding: 2px 5px;
  font-style: normal;
}

.processCard > strong {
  font: 700 var(--ui-text-size, 14px)/1.2 var(--process-heading);
  margin-top: 7px;
}

.processCard > small {
  color: #53636f;
  font-size: var(--ui-caption-size, 9px);
  margin-top: 5px;
}

.processCard > p {
  color: #75818a;
  font-size: var(--ui-text-size, 9px);
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  margin: 7px 0 0;
  line-height: 1.4;
  display: -webkit-box;
  overflow: hidden;
}

.processCard > i {
  color: var(--card-color);
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: .7px;
  margin-top: auto;
  padding-top: 7px;
  font-style: normal;
  font-weight: 900;
}

.processCard.compact {
  width: 215px;
  min-height: 88px;
}

.processFlowView {
  gap: 11px;
  min-width: 750px;
  padding: 24px;
  display: grid;
}

.processFlowView > article {
  background: #fafcfc;
  border: 1px solid #e0e7e6;
  border-radius: 12px;
  grid-template-columns: 215px 105px 215px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 11px;
  display: grid;
}

.flowConnector {
  color: var(--process-primary);
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  display: grid;
}

.flowConnector:before, .flowConnector:after {
  content: "";
  background: #a4b7b1;
  height: 1px;
}

.flowConnector b {
  font-size: 19px;
}

.flowConnector i {
  opacity: 0;
  position: absolute;
}

.processNoLinks {
  text-align: center;
  color: #667680;
  padding: 90px;
}

.processNoLinks h3 {
  font: 700 19px var(--process-heading);
  color: #334553;
}

.isolatedProcesses {
  border-top: 1px dashed #cad5d2;
  margin-top: 8px;
  padding-top: 16px;
}

.isolatedProcesses > small {
  color: #6d7b84;
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.3px;
  font-weight: 900;
}

.isolatedProcesses > div {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
  display: flex;
}

.processRegister {
  min-width: 920px;
  padding: 20px;
}

.processRegister table {
  border-collapse: collapse;
  width: 100%;
}

.processRegister th {
  background: var(--process-soft);
  color: var(--process-primary);
  text-align: left;
  font-size: var(--ui-text-size, 9px);
  letter-spacing: .7px;
  padding: 10px;
}

.processRegister td {
  color: #4b5b67;
  vertical-align: top;
  max-width: 190px;
  font-size: var(--ui-text-size, 10px);
  cursor: pointer;
  border-bottom: 1px solid #e3e9e8;
  padding: 11px;
  line-height: 1.45;
}

.processRegister tr:hover td {
  background: #fafcfc;
}

.processRegister td:first-child b, .processRegister td:first-child strong, .processRegister td:first-child small {
  display: block;
}

.processRegister td:first-child b {
  color: var(--process-primary);
  font-size: var(--ui-text-size, 9px);
}

.processRegister td:first-child strong {
  color: #1e303d;
  font: 700 var(--ui-text-size, 12px) var(--process-heading);
  margin: 3px 0;
}

.processRegister td:first-child small {
  color: #7a858e;
}

.processRegister td > span {
  color: var(--process-primary);
  background: #eef3f2;
  border-radius: 9px;
  padding: 4px 7px;
  font-weight: 800;
  display: inline-block;
}

.processRegister td > em {
  color: #9a7639;
  font-style: normal;
}

.processRegister td > em.active {
  color: #30755d;
}

.processEmpty {
  text-align: center;
  color: #71808a;
  min-width: 650px;
  padding: 120px 30px;
}

.processEmpty > span {
  background: var(--process-soft);
  width: 58px;
  height: 58px;
  color: var(--process-primary);
  border-radius: 15px;
  place-items: center;
  margin: auto;
  font-size: 27px;
  display: grid;
}

.processEmpty h3 {
  color: #334553;
  font: 700 20px var(--process-heading);
  margin: 14px 0 5px;
}

.processEmpty p {
  font-size: var(--ui-text-size, 12px);
}

.processLoading {
  text-align: center;
  color: #71808a;
  padding: 130px;
}

.processError {
  color: #9b352d;
  font-size: var(--ui-caption-size, 11px);
  background: #fff2ef;
  border-radius: 8px;
  margin: 12px 16px 0;
  padding: 10px;
}

.processHint {
  color: #76818b;
  text-align: center;
  font-size: var(--ui-caption-size, 10px);
  margin: 0;
  padding: 0 18px 15px;
}

@media (max-width: 1120px) {
  .processWorkspace {
    grid-template-columns: 1fr;
  }

  .processEditor {
    max-height: none;
    position: static;
  }

  .processHero {
    align-items: flex-start;
  }

  .processHeroStats {
    flex-wrap: wrap;
  }
}

@media (max-width: 720px) {
  .processHero {
    padding: 22px;
    display: block;
  }

  .processHeroStats {
    margin-top: 18px;
  }

  .processToolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .processToolbar nav {
    overflow: auto;
  }

  .processToolbar > div {
    justify-content: flex-end;
  }

  .processMapPrint {
    margin: 8px;
  }

  .processEditor {
    padding: 15px;
  }

  .processIO {
    grid-template-columns: 1fr;
  }
}

@media print {
  body * {
    visibility: hidden !important;
  }

  .processMapPrint, .processMapPrint * {
    visibility: visible !important;
  }

  .processMapPrint {
    border: 0;
    border-radius: 0;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    position: absolute;
    top: 0;
    left: 0;
    overflow: visible;
  }

  .processScaled {
    min-width: 0;
    width: 100% !important;
    transform: none !important;
  }

  .processLanes, .processFlowView, .processRegister, .processEmpty {
    min-width: 0;
  }

  .processLanes > section {
    break-inside: avoid;
  }

  .processCard {
    box-shadow: none;
    break-inside: avoid;
  }

  .processMapPrint > header {
    break-after: avoid;
  }

  @page {
    size: A4 landscape;
    margin: 9mm;
  }
}

.processOwnerHint {
  font-size: var(--ui-text-size, 13px);
  color: #596a62;
  margin: 6px 0 12px;
  line-height: 1.5;
}

/* [project]/app/delegations.css [app-client] (css) */
.delegationsModule {
  --delegation-primary: #2f6f62;
  --delegation-secondary: #6f8f86;
  --delegation-accent: #c17755;
  --delegation-soft: #edf5f2;
  color: #1b2938;
  font-family: var(--delegation-body);
}

.delegationHero {
  background: linear-gradient(120deg,var(--delegation-primary),color-mix(in srgb,var(--delegation-primary),#101828 34%));
  color: #fff;
  border-radius: 18px;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 30px 34px;
  display: flex;
  box-shadow: 0 14px 34px #18352e25;
}

.delegationHero small {
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: 1.8px;
  font-weight: 900;
}

.delegationHero h2 {
  font: 700 29px/1.1 var(--delegation-heading);
  margin: 7px 0 8px;
}

.delegationHero p {
  color: #ffffffe0;
  max-width: 770px;
  margin: 0;
  line-height: 1.55;
}

.delegationStats {
  gap: 8px;
  display: flex;
}

.delegationStats span {
  text-align: center;
  min-width: 70px;
  font-size: var(--ui-caption-size, 10px);
  background: #ffffff12;
  border: 1px solid #ffffff38;
  border-radius: 11px;
  padding: 11px 9px;
}

.delegationStats strong {
  font-size: 21px;
  display: block;
}

.delegationNav {
  grid-template-columns: repeat(3, minmax(150px, 1fr)) minmax(250px, 1.2fr);
  gap: 10px;
  margin: 16px 0;
  display: grid;
}

.delegationNav > button, .delegationEmailState {
  text-align: left;
  color: #344451;
  cursor: pointer;
  background: #fff;
  border: 1px solid #dfe6e5;
  border-radius: 12px;
  grid-template-rows: auto auto;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  padding: 13px 15px;
  display: grid;
}

.delegationNav > button > b {
  width: 37px;
  height: 37px;
  color: var(--delegation-primary);
  background: #eef3f2;
  border-radius: 10px;
  grid-row: 1 / 3;
  place-items: center;
  display: grid;
}

.delegationNav > button > span {
  font-weight: 900;
}

.delegationNav > button > small {
  color: #79858e;
  font-size: var(--ui-text-size, 9px);
}

.delegationNav > button.active {
  border-color: var(--delegation-primary);
  box-shadow: 0 0 0 2px color-mix(in srgb,var(--delegation-primary),transparent 80%);
}

.delegationNav > button.active > b {
  background: var(--delegation-primary);
  color: #fff;
}

.delegationEmailState {
  cursor: default;
  grid-template-rows: auto;
  align-items: center;
}

.delegationEmailState > span {
  color: #247256;
  background: #e6f3ec;
  border-radius: 50%;
  place-items: center;
  width: 37px;
  height: 37px;
  font-weight: 900;
  display: grid;
}

.delegationEmailState > div b, .delegationEmailState > div small {
  display: block;
}

.delegationEmailState > div b {
  font-size: var(--ui-caption-size, 11px);
}

.delegationEmailState > div small {
  color: #78838d;
  font-size: var(--ui-caption-size, 9px);
  margin-top: 3px;
}

.delegationEmailState.missing {
  background: #fffaf2;
  border-color: #efd8b8;
}

.delegationEmailState.missing > span {
  color: #9a641e;
  background: #f9e8cc;
}

.delegationError {
  color: #9b352d;
  background: #fff1ef;
  border-radius: 9px;
  padding: 11px 14px;
}

.delegationEditor {
  background: #fff;
  border: 1px solid #dfe6e5;
  border-radius: 15px;
  margin-bottom: 16px;
  padding: 22px;
  box-shadow: 0 10px 30px #20353710;
}

.delegationEditor > header, .delegationReturns > form > header, .delegationPractices > header, .delegationReturns > section > header {
  justify-content: space-between;
  align-items: start;
  display: flex;
}

.delegationEditor > header small, .delegationReturns > form > header small, .delegationPractices > header small, .delegationReturns > section > header small {
  color: var(--delegation-primary);
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: 1.4px;
  font-weight: 900;
}

.delegationEditor h3, .delegationReturns h3, .delegationPractices h3 {
  font: 700 20px var(--delegation-heading);
  margin: 5px 0 0;
}

.delegationEditor > header > button, .delegationReturns > form > header > button {
  color: #68757e;
  cursor: pointer;
  background: none;
  border: 0;
  font-size: 24px;
}

.delegationFormNotice {
  border-left: 4px solid var(--delegation-accent);
  background: #fff7ef;
  gap: 15px;
  margin: 16px 0;
  padding: 13px;
  display: flex;
}

.delegationFormNotice b {
  color: #9a5639;
  min-width: 135px;
}

.delegationFormNotice span {
  color: #68757e;
  font-size: var(--ui-caption-size, 11px);
  line-height: 1.45;
}

.delegationFields {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  display: grid;
}

.delegationFields label, .delegationReturns > form > label {
  gap: 6px;
  display: grid;
}

.delegationFields label > span, .delegationReturns > form label > span {
  color: #53616d;
  font-size: var(--ui-text-size, 10px);
  font-weight: 900;
}

.delegationFields .wide {
  grid-column: 1 / -1;
}

.delegationFields input, .delegationFields select, .delegationFields textarea, .delegationReturns > form textarea, .delegationReturns > form input[type="file"] {
  box-sizing: border-box;
  color: #22313d;
  width: 100%;
  font: inherit;
  font-size: var(--ui-text-size, 12px);
  background: #fbfcfc;
  border: 1px solid #d8e1df;
  border-radius: 9px;
  padding: 10px;
}

.delegationEditor > footer {
  border-top: 1px solid #e6ecea;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 17px;
  padding-top: 15px;
  display: flex;
}

.delegationEditor > footer span {
  color: #76818a;
  font-size: var(--ui-caption-size, 10px);
}

.delegationEditor > footer button, .delegationReturns > form > button {
  background: var(--delegation-primary);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 9px;
  padding: 11px 15px;
  font-weight: 900;
}

.delegationEditor button:disabled, .delegationReturns button:disabled, .delegationActions button:disabled {
  opacity: .5;
  cursor: wait;
}

.delegationCatalogTools {
  background: #fff;
  border: 1px solid #e0e7e5;
  border-radius: 12px;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  padding: 12px;
  display: flex;
}

.delegationCatalogTools > div {
  border: 1px solid #dce4e2;
  border-radius: 8px;
  flex: 1;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  display: flex;
}

.delegationCatalogTools input {
  border: 0;
  outline: 0;
  width: 100%;
  padding: 9px 0;
}

.delegationCatalogTools select {
  background: #fff;
  border: 1px solid #dce4e2;
  border-radius: 8px;
  padding: 9px;
}

.delegationCatalogTools > span {
  color: #73808a;
  font-size: var(--ui-caption-size, 10px);
}

.delegationCatalog {
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  gap: 13px;
  display: grid;
}

.delegationCatalog > article {
  border: 1px solid #dfe6e5;
  border-top: 4px solid var(--delegation-primary);
  background: #fff;
  border-radius: 13px;
  flex-direction: column;
  padding: 17px;
  display: flex;
  box-shadow: 0 8px 24px #2035370c;
}

.delegationCatalog article > header {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.delegationCatalog article > header span {
  background: var(--delegation-soft);
  color: var(--delegation-primary);
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1px;
  border-radius: 10px;
  padding: 4px 8px;
  font-weight: 900;
}

.delegationCatalog article > header span.procura {
  color: #7a4e76;
  background: #f3edf5;
}

.delegationCatalog article > header span.revoca {
  color: #a64a40;
  background: #fff0ed;
}

.delegationCatalog article > header code {
  color: #68757f;
  font-size: var(--ui-caption-size, 9px);
}

.delegationCatalog article > small {
  color: var(--delegation-accent);
  font-size: var(--ui-caption-size, 9px);
  margin-top: 12px;
  font-weight: 900;
}

.delegationCatalog h3 {
  font: 700 17px/1.2 var(--delegation-heading);
  margin: 5px 0 7px;
}

.delegationCatalog article > p {
  color: #687681;
  font-size: var(--ui-text-size, 11px);
  margin: 0;
  line-height: 1.5;
}

.delegationLegal {
  background: #f6f8f8;
  border-radius: 8px;
  margin: 12px 0;
  padding: 9px;
}

.delegationLegal b, .delegationLegal span {
  display: block;
}

.delegationLegal b {
  color: var(--delegation-primary);
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: .7px;
}

.delegationLegal span {
  color: #69757e;
  font-size: var(--ui-caption-size, 9px);
  margin-top: 3px;
  line-height: 1.4;
}

.delegationCatalog ul {
  color: #5a6873;
  font-size: var(--ui-caption-size, 9px);
  padding-left: 17px;
  line-height: 1.45;
}

.delegationCatalog li {
  margin-bottom: 4px;
}

.delegationCatalog article > footer {
  border-top: 1px solid #e6ecea;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 12px;
  display: flex;
}

.delegationCatalog article > footer span {
  color: #7b8790;
  font-size: var(--ui-caption-size, 8px);
}

.delegationCatalog article > footer button, .delegationPractices > header button {
  background: var(--delegation-primary);
  color: #fff;
  cursor: pointer;
  border: 0;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 900;
}

.delegationPractices {
  background: #fff;
  border: 1px solid #dfe6e5;
  border-radius: 15px;
  overflow: hidden;
}

.delegationPractices > header {
  border-bottom: 1px solid #e4eae9;
  padding: 18px 20px;
}

.delegationPractices > article {
  border-bottom: 1px solid #e6ecea;
}

.delegationMain {
  grid-template-columns: 95px minmax(260px, 1fr) auto 80px;
  align-items: center;
  gap: 13px;
  padding: 15px 18px;
  display: grid;
}

.delegationStatus {
  color: #5b6973;
  text-align: center;
  font-size: var(--ui-caption-size, 8px);
  background: #eff2f2;
  border-radius: 11px;
  padding: 5px 8px;
  font-weight: 900;
  display: inline-block;
}

.delegationStatus.inviata {
  color: #416a9d;
  background: #eaf1fb;
}

.delegationStatus.sollecitata, .delegationStatus.da-integrare {
  color: #996522;
  background: #fff1d9;
}

.delegationStatus.rientrata {
  color: #34785e;
  background: #e7f4ec;
}

.delegationStatus.validata {
  color: #246d50;
  background: #dff2e7;
}

.delegationStatus.revocata {
  color: #a4433a;
  background: #f8e7e5;
}

.delegationMain small {
  color: var(--delegation-primary);
  font-size: var(--ui-caption-size, 9px);
  font-weight: 900;
}

.delegationMain h3 {
  font: 700 var(--ui-text-size, 14px) var(--delegation-heading);
  margin: 3px 0 4px;
}

.delegationMain p {
  color: #73808a;
  font-size: var(--ui-text-size, 10px);
  margin: 0;
}

.delegationDates {
  gap: 13px;
  display: flex;
}

.delegationDates span {
  color: #596875;
  min-width: 58px;
  font-size: var(--ui-caption-size, 9px);
}

.delegationDates b {
  color: #869099;
  font-size: var(--ui-caption-size, 7px);
  letter-spacing: .7px;
  text-transform: uppercase;
  margin-bottom: 2px;
  display: block;
}

.delegationMore {
  color: var(--delegation-primary);
  font-size: var(--ui-caption-size, 9px);
  cursor: pointer;
  background: #fff;
  border: 1px solid #dce4e2;
  border-radius: 8px;
  padding: 7px;
  font-weight: 900;
}

.delegationActions {
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 18px 14px 126px;
  display: flex;
}

.delegationActions button {
  color: #4b5a65;
  font-size: var(--ui-text-size, 9px);
  cursor: pointer;
  background: #fff;
  border: 1px solid #dce4e2;
  border-radius: 8px;
  padding: 7px 9px;
  font-weight: 800;
}

.delegationActions button.send {
  border-color: var(--delegation-primary);
  background: var(--delegation-primary);
  color: #fff;
}

.delegationTimeline {
  background: #f7f9f8;
  border-radius: 10px;
  gap: 0;
  margin: 0 18px 15px 126px;
  padding: 12px 15px;
  display: grid;
}

.delegationTimeline > div {
  border-left: 1px solid #c8d5d1;
  grid-template-columns: 125px 165px 1fr;
  gap: 8px;
  padding: 9px 0 9px 15px;
  display: grid;
  position: relative;
}

.delegationTimeline i {
  background: var(--delegation-primary);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  position: absolute;
  top: 14px;
  left: -4px;
}

.delegationTimeline time {
  color: #7b8790;
  font-size: var(--ui-caption-size, 8px);
}

.delegationTimeline strong, .delegationTimeline span {
  font-size: var(--ui-caption-size, 9px);
}

.delegationTimeline small {
  color: #869099;
  font-size: var(--ui-caption-size, 8px);
  grid-column: 2 / -1;
}

.delegationReturns {
  grid-template-columns: minmax(300px, 400px) 1fr;
  align-items: start;
  gap: 14px;
  display: grid;
}

.delegationReturns > form, .delegationReturns > section {
  background: #fff;
  border: 1px solid #dfe6e5;
  border-radius: 14px;
  padding: 19px;
}

.delegationReturns > form {
  gap: 13px;
  display: grid;
  position: sticky;
  top: 18px;
}

.returnAcceptance {
  background: var(--delegation-soft);
  border-radius: 9px;
  align-items: start;
  gap: 8px;
  padding: 10px;
  display: flex !important;
}

.returnAcceptance input {
  margin-top: 2px;
}

.returnUpload {
  border: 1px dashed #b9cac5;
  border-radius: 9px;
  padding: 12px;
}

.returnUpload small {
  color: var(--delegation-primary);
}

.delegationReturns > section > header {
  border-bottom: 1px solid #e5ebe9;
  padding-bottom: 14px;
}

.delegationReturns > section > header > span {
  color: #8d642e;
  font-size: var(--ui-caption-size, 10px);
}

.delegationReturns > section > article {
  border-bottom: 1px solid #e6ecea;
  grid-template-columns: 90px minmax(200px, 1fr) auto 150px;
  align-items: start;
  gap: 13px;
  padding: 15px 0;
  display: grid;
}

.delegationReturns h4 {
  font: 700 var(--ui-text-size, 13px) var(--delegation-heading);
  margin: 3px 0;
}

.delegationReturns article p {
  color: #76818b;
  font-size: var(--ui-text-size, 9px);
  margin: 0;
}

.delegationReturns blockquote {
  border-left: 3px solid var(--delegation-accent);
  color: #5e6870;
  font-size: var(--ui-caption-size, 9px);
  background: #fff8f2;
  margin: 8px 0 0;
  padding: 8px;
}

.returnEvidence {
  gap: 8px;
  display: flex;
}

.returnEvidence span {
  text-align: center;
  color: #76818b;
  min-width: 58px;
  font-size: var(--ui-caption-size, 7px);
  background: #f5f8f7;
  border-radius: 8px;
  padding: 7px;
}

.returnEvidence b {
  color: #344652;
  font-size: var(--ui-caption-size, 9px);
  display: block;
}

.delegationReturns article > div:last-child {
  gap: 5px;
  display: grid;
}

.delegationReturns article button {
  color: #4f5f69;
  font-size: var(--ui-text-size, 8px);
  cursor: pointer;
  background: #fff;
  border: 1px solid #d9e2df;
  border-radius: 7px;
  padding: 6px;
  font-weight: 800;
}

.delegationReturns article button.validate {
  background: var(--delegation-primary);
  color: #fff;
}

.delegationEmpty {
  text-align: center;
  color: #7a858e;
  padding: 45px;
}

.delegationComplianceNote {
  background: #fffaf2;
  border: 1px solid #ecd8b7;
  border-radius: 12px;
  gap: 14px;
  margin-top: 14px;
  padding: 16px;
  display: flex;
}

.delegationComplianceNote > span {
  color: #966329;
  background: #f4e4c9;
  border-radius: 10px;
  flex: none;
  place-items: center;
  width: 38px;
  height: 38px;
  font-size: 20px;
  display: grid;
}

.delegationComplianceNote b {
  color: #684b26;
}

.delegationComplianceNote p {
  color: #796d5d;
  font-size: var(--ui-text-size, 10px);
  margin: 4px 0 0;
  line-height: 1.5;
}

.delegationActions button.print {
  border-color: var(--delegation-accent);
  color: #8b5727;
  background: #fff8ef;
}

@media (max-width: 1150px) {
  .delegationNav {
    grid-template-columns: repeat(3, 1fr);
  }

  .delegationEmailState {
    grid-column: 1 / -1;
  }

  .delegationReturns {
    grid-template-columns: 1fr;
  }

  .delegationReturns > form {
    position: static;
  }

  .delegationHero {
    align-items: flex-start;
  }

  .delegationStats {
    flex-wrap: wrap;
  }

  .delegationMain {
    grid-template-columns: 85px 1fr;
  }

  .delegationDates {
    grid-column: 2;
  }

  .delegationMore {
    grid-column: 1;
  }

  .delegationActions, .delegationTimeline {
    margin-left: 0;
    padding-left: 18px;
  }

  .delegationReturns > section > article {
    grid-template-columns: 85px 1fr;
  }

  .returnEvidence, .delegationReturns article > div:last-child {
    grid-column: 2;
  }
}

@media (max-width: 720px) {
  .delegationHero {
    padding: 22px;
    display: block;
  }

  .delegationStats {
    margin-top: 18px;
  }

  .delegationNav {
    grid-template-columns: 1fr;
  }

  .delegationEmailState {
    grid-column: auto;
  }

  .delegationFields {
    grid-template-columns: 1fr;
  }

  .delegationFields .wide {
    grid-column: auto;
  }

  .delegationEditor > footer, .delegationCatalogTools {
    flex-direction: column;
    align-items: stretch;
  }

  .delegationMain {
    grid-template-columns: 1fr;
  }

  .delegationDates, .delegationMore {
    grid-column: auto;
  }

  .delegationActions {
    padding-left: 18px;
  }

  .delegationTimeline {
    margin-left: 18px;
  }

  .delegationTimeline > div {
    grid-template-columns: 1fr;
  }

  .delegationTimeline small {
    grid-column: auto;
  }

  .delegationReturns > section > article {
    grid-template-columns: 1fr;
  }

  .returnEvidence, .delegationReturns article > div:last-child {
    grid-column: auto;
  }
}

.delegationsWorkspace {
  --ui-text-size: 15px;
  --ui-caption-size: 13px;
  font-size: 16px;
  line-height: 1.6;
}

.delegationsWorkspace .delegationHero {
  align-items: flex-start;
  padding: 28px 32px;
}

.delegationsWorkspace .delegationHero h2 {
  font-size: 32px;
  line-height: 1.2;
}

.delegationsWorkspace .delegationHero p {
  max-width: 70ch;
  font-size: 16px;
}

.delegationsWorkspace .delegationNav {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.delegationsWorkspace .delegationNav > button {
  align-content: center;
  min-height: 80px;
}

.delegationsWorkspace .delegationNav > button > span {
  font-size: 16px;
  line-height: 1.4;
}

.delegationsWorkspace .delegationNav > button > small {
  color: #53646b;
  font-size: 13px;
  line-height: 1.5;
}

.delegationsWorkspace .delegationEmailState {
  grid-column: auto;
}

.delegationsWorkspace .delegationCatalog {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.delegationsWorkspace .delegationCatalog > article {
  gap: 8px;
  padding: 24px;
}

.delegationsWorkspace .delegationCatalog h3 {
  margin: 3px 0;
  font-size: 22px;
  line-height: 1.35;
}

.delegationsWorkspace .delegationCatalog article > p {
  color: #445960;
  font-size: 16px;
  line-height: 1.65;
}

.delegationsWorkspace .delegationCatalog article > .delegationEffect {
  background: var(--delegation-soft);
  color: #243e36;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 15px;
}

.delegationsWorkspace .delegationCatalog ul {
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.65;
}

.delegationsWorkspace .delegationCatalog li {
  margin: 9px 0;
}

.delegationsWorkspace summary {
  cursor: pointer;
  color: #274e44;
  padding: 10px 0;
  font-weight: 700;
}

.delegationsWorkspace .delegationLegal span {
  color: #3c5158;
  font-size: 15px;
  line-height: 1.65;
}

.delegationsWorkspace .delegationLegal b {
  font-size: 13px;
}

.delegationsWorkspace .delegationCatalog article > footer {
  flex-wrap: wrap;
  margin-top: 14px;
}

.delegationsWorkspace .delegationCatalog article > footer span {
  color: #51666b;
  max-width: 60%;
  font-size: 13px;
}

.delegationsWorkspace .delegationCatalog article > footer button {
  padding: 10px 15px;
  font-size: 15px;
}

.delegationsWorkspace .delegationFields {
  gap: 20px 24px;
}

.delegationsWorkspace .delegationFields label > span {
  color: #314c53;
  font-size: 15px;
}

.delegationsWorkspace .delegationFields input, .delegationsWorkspace .delegationFields select, .delegationsWorkspace .delegationFields textarea {
  padding: 12px;
  font-size: 16px;
  line-height: 1.6;
}

.delegationsWorkspace .delegationFields textarea {
  resize: vertical;
  min-height: 110px;
}

.delegationsWorkspace .delegationFormNotice {
  align-items: flex-start;
}

.delegationsWorkspace .delegationFormNotice span {
  color: #594f42;
  font-size: 15px;
  line-height: 1.6;
}

.delegationDraftContext {
  background: #f5f8f6;
  border: 1px solid #d6e2dc;
  border-radius: 10px;
  padding: 14px 18px;
}

.delegationDraftContext span {
  color: #5c6c66;
  margin-top: 6px;
  font-size: 13px;
  display: block;
}

.delegationGuide, .delegationStudy {
  background: #fff;
  border: 1px solid #dce6e0;
  border-radius: 14px;
  margin-bottom: 20px;
  padding: 24px;
}

.delegationGuide h3, .delegationStudy h3 {
  font: 700 24px/1.35 var(--delegation-heading);
  color: #203e35;
  margin: 0 0 16px;
}

.delegationGuide > div {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  display: grid;
}

.delegationGuide article {
  border-left: 3px solid var(--delegation-primary);
  padding-left: 14px;
}

.delegationGuide article b {
  font-size: 17px;
}

.delegationGuide article p {
  color: #4d6262;
  margin: 6px 0;
  font-size: 15px;
  line-height: 1.6;
}

.delegationGuide > button {
  color: #264e41;
  cursor: pointer;
  background: #fff;
  border: 1px solid #c2d4c8;
  border-radius: 8px;
  margin-top: 14px;
  padding: 9px 14px;
  font-size: 15px;
}

.delegationStudy > header p {
  color: #455d60;
  max-width: 82ch;
}

.delegationResearchDate {
  background: #f2f6f3;
  border-radius: 8px;
  padding: 14px;
  font-size: 14px;
}

.delegationStudyFilter {
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 22px 0;
  display: flex;
}

.delegationStudyFilter select {
  max-width: 100%;
  font: inherit;
  background: #fff;
  border: 1px solid #bacdc2;
  border-radius: 8px;
  padding: 11px;
}

.delegationStudyTopics {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 32px;
  display: grid;
}

.delegationStudyTopics article, .delegationJudgment {
  overflow-wrap: anywhere;
  background: #fbfdfb;
  border: 1px solid #d5e2d9;
  border-radius: 12px;
  padding: 22px;
}

.delegationStudy h4 {
  color: #223f35;
  margin: 0 0 8px;
  font-size: 21px;
  line-height: 1.4;
}

.delegationStudy p {
  margin: 10px 0;
  line-height: 1.7;
}

.delegationReference {
  color: #386553;
  font-size: 14px;
}

.delegationStudy dt {
  color: #2e493d;
  margin-top: 12px;
  font-weight: 700;
}

.delegationStudy dd {
  color: #46595a;
  margin: 4px 0 0;
}

.delegationStudy a {
  color: #1e6050;
  text-underline-offset: 4px;
  font-size: 14px;
}

.delegationJudgment {
  margin: 0 0 18px;
}

.delegationStudyLimit {
  background: #fff5d5;
  border-radius: 8px;
  padding: 13px;
}

.delegationsWorkspace .delegationMain {
  grid-template-columns: 110px minmax(220px, 1fr) auto 100px;
  gap: 18px;
  padding: 20px;
}

.delegationsWorkspace .delegationMain h3 {
  font-size: 20px;
  line-height: 1.4;
}

.delegationsWorkspace .delegationMain p {
  color: #4e6368;
  overflow-wrap: anywhere;
  font-size: 15px;
  line-height: 1.6;
}

.delegationsWorkspace .delegationStatus {
  padding: 7px 10px;
  font-size: 13px;
}

.delegationsWorkspace .delegationActions {
  gap: 10px;
  padding: 0 20px 20px;
}

.delegationsWorkspace .delegationActions button, .delegationsWorkspace .delegationReturns article button {
  padding: 10px 12px;
  font-size: 14px;
  line-height: 1.4;
}

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

.delegationsWorkspace .delegationDates b {
  font-size: 12px;
}

.delegationsWorkspace .delegationTimeline {
  margin: 0 20px 20px;
  font-size: 14px;
}

.delegationsWorkspace .delegationTimeline > div {
  grid-template-columns: 140px minmax(140px, 1fr) 2fr;
}

.delegationsWorkspace .delegationTimeline span {
  overflow-wrap: anywhere;
}

.delegationsWorkspace .delegationReturns {
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
}

.delegationsWorkspace .delegationReturns > section > article {
  grid-template-columns: 100px minmax(0, 1fr);
}

.delegationsWorkspace .returnEvidence, .delegationsWorkspace .delegationReturns article > div:last-child {
  grid-column: 2;
}

.delegationsWorkspace .delegationComplianceNote p {
  color: #655439;
  font-size: 15px;
  line-height: 1.7;
}

.delegationsWorkspace .documentArchivePanel li {
  overflow-wrap: anywhere;
  padding: 10px 0;
}

.delegationsWorkspace :is(button, input, select, textarea, a, summary):focus-visible {
  outline-offset: 3px;
  outline: 3px solid #a46a28;
}

@media (max-width: 1100px) {
  .delegationGuide > div {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .delegationsWorkspace .delegationMain {
    grid-template-columns: 100px minmax(0, 1fr);
  }

  .delegationsWorkspace .delegationDates {
    grid-column: 2;
  }

  .delegationsWorkspace .delegationMore {
    grid-column: 2;
    justify-self: start;
  }

  .delegationsWorkspace .delegationReturns {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .delegationsWorkspace .delegationHero {
    padding: 22px;
  }

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

  .delegationsWorkspace .delegationCatalog, .delegationStudyTopics {
    grid-template-columns: 1fr;
  }

  .delegationGuide, .delegationStudy {
    padding: 18px;
  }

  .delegationsWorkspace .delegationCatalog > article {
    padding: 20px;
  }

  .delegationsWorkspace .delegationFormNotice {
    flex-direction: column;
  }

  .delegationsWorkspace .delegationTimeline > div {
    grid-template-columns: 1fr;
  }

  .delegationsWorkspace .delegationTimeline small {
    grid-column: auto;
  }
}

@media (max-width: 480px) {
  .delegationsWorkspace .delegationNav, .delegationGuide > div, .delegationsWorkspace .delegationMain, .delegationsWorkspace .delegationReturns > section > article {
    grid-template-columns: 1fr;
  }

  .delegationsWorkspace .delegationDates, .delegationsWorkspace .delegationMore, .delegationsWorkspace .returnEvidence, .delegationsWorkspace .delegationReturns article > div:last-child {
    grid-column: auto;
  }

  .delegationsWorkspace .delegationHero h2 {
    font-size: 27px;
  }
}

/* [project]/app/documents-module.css [app-client] (css) */
.documentsHero {
  position: relative;
  overflow: hidden;
}

.documentsHero:after {
  content: "▤";
  color: #ffffff0d;
  font: 900 150px / 1 Georgia;
  position: absolute;
  bottom: -40px;
  right: 18px;
}

.documentsHero > div {
  z-index: 1;
  position: relative;
}

.documentsModule .delegationCatalog article > header span.lettera {
  color: #416a9d;
  background: #eaf1fb;
}

.documentsModule .delegationCatalog article > header span.dichiarazione {
  color: #90611e;
  background: #fff1d9;
}

.documentsModule .delegationCatalog article > header span.flusso {
  color: #287059;
  background: #e8f3ef;
}

.documentsModule .delegationCatalog article > header span.verbale {
  color: #714f88;
  background: #f2edf7;
}

.documentsModule .delegationStatus.pronto {
  color: #536687;
  background: #eef1f8;
}

.documentsModule .delegationStatus.inviato {
  color: #416a9d;
  background: #eaf1fb;
}

.documentsModule .delegationStatus.sollecitato, .documentsModule .delegationStatus.da-integrare {
  color: #996522;
  background: #fff1d9;
}

.documentsModule .delegationStatus.rientrato {
  color: #34785e;
  background: #e7f4ec;
}

.documentsModule .delegationStatus.validato {
  color: #246d50;
  background: #dff2e7;
}

.documentsModule .delegationStatus.archiviato {
  color: #4d5b66;
  background: #e9ecef;
}

.documentsModule .delegationFields input[type="date"] {
  min-height: 39px;
}

.documentsModule .delegationActions button:last-child {
  margin-right: 0;
}

.documentModelLink {
  background: #f3f9f6;
  border: 1px solid #cfe1da;
  border-radius: 12px;
  align-items: center;
  gap: 12px;
  margin: -2px 0 16px;
  padding: 13px 16px;
  display: flex;
}

.documentModelLink > span {
  background: var(--delegation-primary);
  color: #fff;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 900;
  display: grid;
}

.documentModelLink small, .documentModelLink b, .documentModelLink p {
  display: block;
}

.documentModelLink small {
  color: var(--delegation-primary);
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1px;
  font-weight: 900;
}

.documentModelLink b {
  font-size: var(--ui-text-size, 12px);
  margin-top: 2px;
}

.documentModelLink p {
  color: #6e7b83;
  font-size: var(--ui-text-size, 9px);
  margin: 2px 0 0;
}

.documentModelLink.missing {
  background: #fffaf2;
  border-color: #ead6b8;
}

.documentModelLink.missing > span {
  background: #b77927;
}

.documentModelEditor {
  background: var(--delegation-soft);
  border: 1px solid #cfe1da;
  border-radius: 10px;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 0 0 16px;
  padding: 12px 14px;
  display: flex;
}

.documentModelEditor small, .documentModelEditor b {
  display: block;
}

.documentModelEditor small {
  color: var(--delegation-primary);
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1px;
  font-weight: 900;
}

.documentModelEditor b {
  font-size: var(--ui-caption-size, 11px);
  margin-top: 3px;
}

.documentModelEditor button {
  border: 1px solid var(--delegation-primary);
  color: var(--delegation-primary);
  font-size: var(--ui-text-size, 9px);
  cursor: pointer;
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
  font-weight: 900;
}

.documentModelEditor button:disabled {
  opacity: .45;
  cursor: not-allowed;
}

.documentGroupTitle {
  border-bottom: 2px solid color-mix(in srgb,var(--delegation-primary),transparent 75%);
  justify-content: space-between;
  align-items: end;
  gap: 15px;
  margin-top: 6px;
  padding: 11px 2px 7px;
  display: flex;
}

.documentGroupTitle b {
  color: var(--delegation-primary);
  font: 700 var(--ui-text-size, 14px) var(--delegation-heading);
}

.documentGroupTitle span {
  color: #7a858e;
  text-align: right;
  max-width: 55%;
  font-size: var(--ui-caption-size, 9px);
  line-height: 1.35;
}

@media (max-width: 720px) {
  .documentModelEditor, .documentGroupTitle {
    flex-direction: column;
    align-items: stretch;
  }

  .documentGroupTitle span {
    text-align: left;
    max-width: none;
  }
}

/* [project]/app/legal-impact.css [app-client] (css) */
.navLegalBadge {
  background: #d97706;
  border-radius: 999px;
  justify-content: center;
  align-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  font-weight: 800;
  color: #fff !important;
  font-size: var(--ui-caption-size, 11px) !important;
  margin-left: auto !important;
  display: inline-flex !important;
}

.legalGlobalAlert {
  color: #283341;
  background: #fff9ec;
  border: 1px solid #f0cf8d;
  border-left: 5px solid #d97706;
  border-radius: 12px;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  padding: 15px 17px;
  display: flex;
}

.legalGlobalAlert > span {
  color: #fff;
  background: #d97706;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 34px;
  height: 34px;
  font-size: 20px;
  font-weight: 900;
  display: grid;
}

.legalGlobalAlert > div {
  flex: 1;
}

.legalGlobalAlert strong {
  color: #7b4300;
  font-size: var(--ui-text-size, 14px);
  display: block;
}

.legalGlobalAlert p {
  color: #665647;
  font-size: var(--ui-text-size, 13px);
  margin: 3px 0 0;
}

.legalGlobalAlert button {
  color: #fff;
  cursor: pointer;
  background: #814800;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 750;
}

.documentLegalImpact {
  font-size: var(--ui-text-size, 13px);
  border-radius: 13px;
  margin: 0 0 18px;
}

.documentLegalImpact.aligned, .documentLegalImpact.loading, .documentLegalImpact.unavailable {
  background: #f4faf7;
  border: 1px solid #cfe1da;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  display: flex;
}

.documentLegalImpact.aligned > span {
  color: #fff;
  background: #2f6f62;
  border-radius: 50%;
  place-items: center;
  width: 26px;
  height: 26px;
  font-weight: 800;
  display: grid;
}

.documentLegalImpact.aligned b, .documentLegalImpact.aligned small {
  display: block;
}

.documentLegalImpact.aligned small {
  color: #66756f;
  margin-top: 2px;
}

.documentLegalImpact.unavailable {
  background: #fff6f6;
  border-color: #e4c8c8;
}

.documentLegalImpact.unavailable span {
  color: #8a4c4c;
}

.documentLegalImpact.pending {
  background: linear-gradient(135deg, #fffaf0, #fffdf8);
  border: 1px solid #efcc84;
  border-left: 5px solid #d97706;
  padding: 16px;
}

.impactNoticeHead {
  align-items: flex-start;
  gap: 12px;
  display: flex;
}

.impactNoticeHead > span {
  color: #fff;
  background: #d97706;
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 30px;
  height: 30px;
  font-weight: 900;
  display: grid;
}

.impactNoticeHead > div {
  flex: 1;
}

.impactNoticeHead small, .impactNoticeHead b {
  display: block;
}

.impactNoticeHead small {
  color: #9b5b08;
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: .08em;
  font-weight: 850;
}

.impactNoticeHead b {
  color: #5b390c;
  font-size: var(--ui-text-size, 15px);
  margin-top: 2px;
}

.impactNoticeHead p {
  color: #6e5b43;
  margin: 5px 0 0;
}

.impactNoticeHead button {
  color: #7b4808;
  cursor: pointer;
  background: #fff;
  border: 1px solid #d8ab5f;
  border-radius: 8px;
  padding: 8px 11px;
  font-weight: 750;
}

.impactNoticeList {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 12px;
  display: grid;
}

.impactNoticeList a {
  color: inherit;
  background: #fff;
  border: 1px solid #ead8b6;
  border-radius: 9px;
  padding: 10px;
  text-decoration: none;
  display: block;
}

.impactNoticeList a span, .impactNoticeList a small {
  color: #8e661f;
  font-size: var(--ui-caption-size, 10px);
  display: block;
}

.impactNoticeList a strong {
  color: #303b45;
  font-size: var(--ui-text-size, 12px);
  margin: 4px 0;
  line-height: 1.3;
  display: block;
}

.impactNoticeList em {
  color: #78664d;
  font-style: normal;
  font-size: var(--ui-caption-size, 11px);
  grid-column: 1 / -1;
}

@media (max-width: 900px) {
  .legalGlobalAlert, .impactNoticeHead {
    flex-direction: column;
    align-items: stretch;
  }

  .impactNoticeList {
    grid-template-columns: 1fr;
  }

  .legalGlobalAlert button, .impactNoticeHead button {
    width: 100%;
  }
}

.legalDocumentBoard {
  background: #fff;
  border: 1px solid #dbe4e1;
  border-radius: 16px;
  margin: 0 0 22px;
  padding: 20px;
}

.legalDocumentGrid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 15px;
  display: grid;
}

.legalDocumentGrid article {
  background: #f8fbfa;
  border: 1px solid #d8e2de;
  border-radius: 12px;
  flex-direction: column;
  min-height: 180px;
  padding: 14px;
  display: flex;
}

.legalDocumentGrid article.pending {
  background: #fffaf0;
  border-color: #e7c47d;
}

.legalDocumentGrid article > div {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.legalDocumentGrid article > div span {
  color: #fff;
  background: #2f6f62;
  border-radius: 50%;
  place-items: center;
  width: 25px;
  height: 25px;
  font-weight: 850;
  display: grid;
}

.legalDocumentGrid article.pending > div span {
  background: #d97706;
}

.legalDocumentGrid article > div small {
  font-weight: 850;
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: .06em;
  color: #527267;
}

.legalDocumentGrid article.pending > div small {
  color: #9b5b08;
}

.legalDocumentGrid h4 {
  color: #25333b;
  font-size: var(--ui-text-size, 14px);
  margin: 13px 0 6px;
  line-height: 1.35;
}

.legalDocumentGrid p {
  color: #68756f;
  font-size: var(--ui-text-size, 12px);
  margin: 0 0 13px;
}

.legalDocumentGrid button {
  color: #fff;
  cursor: pointer;
  background: #2f6f62;
  border: 0;
  border-radius: 8px;
  margin-top: auto;
  padding: 9px 11px;
  font-weight: 750;
}

.legalDocumentGrid article.pending button {
  background: #8b5107;
}

.legalAffectedDocs {
  background: #f8faf9;
  border: 1px solid #dde5e2;
  border-radius: 10px;
  margin: 13px 0;
  padding: 12px;
}

.legalAffectedDocs > small {
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: .07em;
  color: #557069;
  margin-bottom: 8px;
  font-weight: 850;
  display: block;
}

.legalAffectedDocs > div {
  border-top: 1px solid #e2e8e6;
  grid-template-columns: 26px minmax(0, 1fr) auto;
  align-items: start;
  gap: 9px;
  padding: 10px 0;
  display: grid;
}

.legalAffectedDocs > div:first-of-type {
  border-top: 0;
}

.legalAffectedDocs > div > span {
  color: #fff;
  background: #2f6f62;
  border-radius: 50%;
  place-items: center;
  width: 22px;
  height: 22px;
  font-weight: 850;
  display: grid;
}

.legalAffectedDocs > div.pending > span {
  background: #d97706;
}

.legalAffectedDocs > div > div > b, .legalAffectedDocs > div > div > small, .legalAffectedDocs > div > div > em {
  display: block;
}

.legalAffectedDocs > div > div > b {
  font-size: var(--ui-text-size, 12px);
}

.legalAffectedDocs > div > div > small {
  color: #68756f;
  font-size: var(--ui-caption-size, 11px);
  margin-top: 3px;
  line-height: 1.4;
}

.legalAffectedDocs > div > div > em {
  color: #765c34;
  font-size: var(--ui-caption-size, 11px);
  margin-top: 5px;
}

.legalAffectedDocs > div > strong {
  font-size: var(--ui-caption-size, 10px);
  color: #65736d;
  white-space: nowrap;
}

.legalAffectedDocs > div > button {
  color: #375e53;
  cursor: pointer;
  background: #fff;
  border: 1px solid #cddad5;
  border-radius: 7px;
  padding: 6px 8px;
}

.impactAssessment {
  grid-column: 2 / 4;
  gap: 7px;
  margin-top: 2px;
  display: flex !important;
}

.impactAssessment input {
  border: 1px solid #d9c89f;
  border-radius: 7px;
  flex: 1;
  min-width: 180px;
  padding: 8px;
}

.impactAssessment button {
  color: #78500c;
  cursor: pointer;
  background: #fffaf0;
  border: 1px solid #d2b678;
  border-radius: 7px;
  padding: 7px 9px;
  font-weight: 700;
}

.impactAssessment button:last-child {
  color: #fff;
  background: #2f6f62;
  border-color: #2f6f62;
}

@media (max-width: 1050px) {
  .legalDocumentGrid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 700px) {
  .legalDocumentGrid {
    grid-template-columns: 1fr;
  }

  .impactAssessment {
    flex-direction: column;
    grid-column: 1 / -1;
  }

  .impactAssessment input {
    min-width: 0;
  }
}

section.documentLegalImpact.aligned {
  display: block;
}

/* [project]/app/models-231-module.css [app-client] (css) */
.modelsControl {
  gap: 16px;
  display: grid;
}

.modelControlHero {
  color: #fff;
  background: linear-gradient(128deg, #183148, #1f6266);
  border-radius: 17px;
  justify-content: space-between;
  align-items: center;
  gap: 28px;
  padding: 27px 30px;
  display: flex;
  box-shadow: 0 12px 32px #1a35401a;
}

.modelHeroCopy {
  min-width: 0;
}

.modelHeroCopy > small, .modelLifecycle header small, .modelSnapshot small {
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: 1.3px;
  color: #d49668;
  font-weight: 900;
}

.modelHeroCopy h2 {
  margin: 7px 0 8px;
  font: 500 28px Georgia;
}

.modelHeroCopy p {
  color: #d8e7e6;
  max-width: 720px;
  font-size: var(--ui-text-size, 12px);
  margin: 0;
  line-height: 1.55;
}

.modelHeroMeta {
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 17px;
  display: flex;
}

.modelHeroMeta span {
  color: #deebe9;
  font-size: var(--ui-caption-size, 9px);
  background: #ffffff0f;
  border: 1px solid #ffffff2b;
  border-radius: 999px;
  padding: 6px 9px;
}

.modelHeroMeta .current {
  color: #23614e;
  background: #dff2e9;
  border-color: #dff2e9;
  font-weight: 800;
}

.modelHeroMeta .missing {
  color: #8e432e;
  background: #f8dfd4;
  border-color: #f8dfd4;
  font-weight: 800;
}

.modelReadiness {
  text-align: center;
  background: #ffffff10;
  border: 1px solid #ffffff2b;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 145px;
  min-width: 145px;
  height: 145px;
  padding: 20px;
  display: flex;
}

.modelReadiness strong {
  font: 32px Georgia;
}

.modelReadiness span {
  font-size: var(--ui-caption-size, 8px);
  text-transform: uppercase;
  letter-spacing: .8px;
  color: #c4d9d7;
}

.modelReadiness i {
  background: #ffffff24;
  border-radius: 9px;
  width: 85px;
  height: 5px;
  margin-top: 10px;
  display: block;
  overflow: hidden;
}

.modelReadiness i b {
  background: #efb27e;
  border-radius: 9px;
  height: 100%;
  display: block;
}

.modelControlTabs {
  background: #fff;
  border: 1px solid #dfe5e5;
  border-radius: 11px;
  gap: 5px;
  padding: 5px;
  display: flex;
}

.modelControlTabs button {
  color: #69777b;
  font-size: var(--ui-text-size, 10px);
  cursor: pointer;
  background: none;
  border: 0;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 800;
}

.modelControlTabs button.active {
  color: #266c63;
  background: #eaf3f1;
}

.modelDataWarning {
  font-size: var(--ui-caption-size, 10px);
  color: #75654a;
  background: #fff9ee;
  border: 1px solid #eedbb9;
  border-left: 4px solid #c58a3c;
  border-radius: 9px;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  display: flex;
}

.modelControlTop {
  grid-template-columns: 1.35fr .65fr;
  gap: 14px;
  display: grid;
}

.nextModelAction, .reviewSchedule {
  background: #fff;
  border: 1px solid #dfe5e5;
  border-radius: 13px;
  padding: 20px;
}

.nextModelAction {
  border-left: 5px solid #c97851;
}

.nextModelAction.allineata {
  border-left-color: #3b806b;
}

.nextModelAction small, .reviewSchedule small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1.1px;
  color: #a95b41;
  font-weight: 900;
}

.nextModelAction h3, .reviewSchedule h3 {
  margin: 7px 0;
  font: 500 21px Georgia;
}

.nextModelAction p, .reviewSchedule p {
  font-size: var(--ui-text-size, 11px);
  color: #6f7b7f;
  margin: 0;
  line-height: 1.5;
}

.nextModelAction > div {
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 17px;
  display: flex;
}

.nextModelAction span, .reviewSchedule > span {
  color: #a35339;
  font-size: var(--ui-caption-size, 9px);
  background: #fff0e8;
  border-radius: 999px;
  padding: 6px 9px;
  font-weight: 800;
}

.nextModelAction button, .reviewSchedule button, .modelLifecycle header button, .taskCopy button {
  color: #267169;
  font-size: var(--ui-text-size, 10px);
  cursor: pointer;
  background: none;
  border: 0;
  font-weight: 900;
}

.reviewSchedule {
  gap: 13px;
  display: grid;
}

.reviewSchedule > span {
  color: #34705e;
  background: #eaf3f0;
  justify-self: start;
}

.reviewSchedule > span.attention {
  color: #a35339;
  background: #fff0e8;
}

.reviewSchedule button {
  justify-self: start;
  padding: 0;
}

.modelLifecycle {
  background: #fff;
  border: 1px solid #dfe5e5;
  border-radius: 14px;
  padding: 22px;
}

.modelLifecycle header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 17px;
  display: flex;
}

.modelLifecycle header h3 {
  margin: 6px 0;
  font: 500 20px Georgia;
}

.modelLifecycle header p {
  font-size: var(--ui-text-size, 10px);
  color: #7a8588;
  margin: 0;
}

.modelLifecycle header button {
  color: #fff;
  background: #32766d;
  border: 1px solid #32766d;
  border-radius: 8px;
  padding: 10px 13px;
}

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

.modelTaskGrid article {
  background: #fcfdfd;
  border: 1px solid #e2e8e7;
  border-radius: 10px;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  padding: 14px;
  display: grid;
}

.modelTaskGrid article.critica {
  background: #fffaf7;
  border-color: #e7c5b9;
}

.modelTaskGrid article.allineata {
  background: #f7fbf9;
}

.taskOrder {
  color: #536b67;
  width: 32px;
  height: 32px;
  font-size: var(--ui-caption-size, 9px);
  background: #e8efee;
  border-radius: 8px;
  place-items: center;
  font-weight: 900;
  display: grid;
}

.critica .taskOrder {
  color: #9a4c34;
  background: #f6ddd3;
}

.allineata .taskOrder {
  color: #2f705d;
  background: #dff0e9;
}

.taskCopy small {
  font-size: var(--ui-caption-size, 8px);
  color: #a65a42;
  letter-spacing: .8px;
  font-weight: 900;
}

.taskCopy h4 {
  font: 500 var(--ui-text-size, 15px) Georgia;
  margin: 4px 0 5px;
}

.taskCopy p {
  color: #778185;
  min-height: 30px;
  font-size: var(--ui-text-size, 9px);
  margin: 0;
  line-height: 1.45;
}

.taskCopy > div {
  border-top: 1px solid #e8eceb;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  padding-top: 9px;
  display: flex;
}

.taskCopy span {
  font-size: var(--ui-caption-size, 8px);
  color: #69787b;
  font-weight: 800;
}

.critica .taskCopy span {
  color: #a04f38;
}

.allineata .taskCopy span {
  color: #30705d;
}

.modelSnapshot {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  display: grid;
}

.modelSnapshot > div {
  background: #fff;
  border: 1px solid #dfe5e5;
  border-radius: 10px;
  gap: 5px;
  padding: 15px 16px;
  display: grid;
}

.modelSnapshot strong {
  color: #253e46;
  font: 500 16px Georgia;
}

.modelSnapshot span {
  font-size: var(--ui-caption-size, 8px);
  color: #7f898c;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .modelControlTop {
    grid-template-columns: 1fr;
  }

  .modelSnapshot {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .modelControlHero {
    flex-direction: column;
    align-items: flex-start;
  }

  .modelReadiness {
    border-radius: 12px;
    width: 100%;
    height: auto;
  }

  .modelControlTabs {
    overflow: auto;
  }

  .modelControlTabs button {
    white-space: nowrap;
  }

  .modelTaskGrid, .modelSnapshot {
    grid-template-columns: 1fr;
  }

  .modelLifecycle header {
    flex-direction: column;
  }

  .modelLifecycle header button {
    width: 100%;
  }
}

/* [project]/app/models-231-management.css [app-client] (css) */
.modelControlTabs button b {
  background: #dbeae7;
  border-radius: 8px;
  margin-left: 4px;
  padding: 2px 5px;
}

.modelControlTabs button i {
  background: #c76949;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  margin-left: 5px;
  display: inline-block;
}

.modelVersionsPanel, .modelPlanForm, .modelSignals {
  background: #fff;
  border: 1px solid #dfe5e5;
  border-radius: 14px;
  padding: 22px;
}

.modelVersionsPanel > header, .modelPlanForm > header, .modelSignals > header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  padding-bottom: 16px;
  display: flex;
}

.modelVersionsPanel header small, .modelPlanForm header small, .modelSignals header small {
  font-size: var(--ui-caption-size, 8px);
  letter-spacing: 1px;
  color: #a95b41;
  font-weight: 900;
}

.modelVersionsPanel header h3, .modelPlanForm header h3, .modelSignals header h3 {
  margin: 5px 0;
  font: 500 21px Georgia;
}

.modelVersionsPanel header p, .modelPlanForm header p, .modelSignals header p {
  font-size: var(--ui-text-size, 10px);
  color: #778185;
  margin: 0;
  line-height: 1.5;
}

.modelVersionsPanel > header > div:last-child {
  gap: 7px;
  display: flex;
}

.modelVersionsPanel > header button, .emptyModelVersions button {
  color: #2d6e65;
  font-size: var(--ui-text-size, 9px);
  cursor: pointer;
  background: #fff;
  border: 1px solid #d3dfdc;
  border-radius: 8px;
  padding: 9px 11px;
  font-weight: 800;
}

.modelVersionsPanel > header button.primary {
  color: #fff;
  background: #2d6e65;
}

.versionListHead, .modelVersionList article {
  grid-template-columns: 1.45fr 70px 100px 135px 70px 90px;
  align-items: center;
  gap: 12px;
  display: grid;
}

.versionListHead {
  color: #8a9492;
  font-size: var(--ui-caption-size, 7px);
  letter-spacing: .7px;
  padding: 8px 12px;
  font-weight: 900;
}

.modelVersionList article {
  border-top: 1px solid #e7eceb;
  min-height: 68px;
  padding: 11px 12px;
}

.modelVersionList article > div {
  gap: 2px;
  display: grid;
}

.modelVersionList article small {
  font-size: var(--ui-caption-size, 8px);
  color: #a45941;
  font-weight: 900;
}

.modelVersionList article strong {
  font-size: var(--ui-caption-size, 11px);
}

.modelVersionList article span, .modelVersionList article time {
  font-size: var(--ui-caption-size, 8px);
  color: #7a8588;
}

.modelVersionList article > b {
  font-size: var(--ui-caption-size, 10px);
}

.modelVersionList article em {
  font-size: var(--ui-caption-size, 8px);
  text-align: center;
  border-radius: 10px;
  padding: 5px 7px;
  font-style: normal;
  font-weight: 800;
}

.modelVersionList article em.vigente {
  color: #2e6e5a;
  background: #e2f1eb;
}

.modelVersionList article em.superata {
  color: #707a77;
  background: #eef0ef;
}

.modelVersionList article button {
  color: #2d7168;
  font-size: var(--ui-text-size, 8px);
  cursor: pointer;
  background: none;
  border: 0;
  font-weight: 900;
}

.emptyModelVersions {
  color: #6f7b78;
  border: 1px dashed #d5dfdd;
  border-radius: 11px;
  justify-items: center;
  gap: 8px;
  padding: 42px;
  display: grid;
}

.emptyModelVersions strong {
  font: 18px Georgia;
}

.emptyModelVersions span {
  font-size: var(--ui-caption-size, 10px);
}

.versionRule {
  color: #61716e;
  font-size: var(--ui-caption-size, 9px);
  background: #f1f6f5;
  border-radius: 8px;
  gap: 10px;
  margin-top: 15px;
  padding: 12px 14px;
  display: flex;
}

.modelPlanLayout {
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  display: grid;
}

.modelPlanForm > header, .modelSignals > header {
  display: block;
}

.modelPlanFields {
  grid-template-columns: 1fr 1fr;
  gap: 13px;
  display: grid;
}

.modelPlanFields label {
  gap: 6px;
  display: grid;
}

.modelPlanFields label.wide {
  grid-column: 1 / -1;
}

.modelPlanFields label span {
  font-size: var(--ui-text-size, 9px);
  color: #4e5f61;
  font-weight: 800;
}

.modelPlanFields input, .modelPlanFields select, .modelPlanFields textarea {
  width: 100%;
  font: inherit;
  font-size: var(--ui-text-size, 10px);
  background: #fff;
  border: 1px solid #ced9d7;
  border-radius: 8px;
  padding: 10px 11px;
}

.modelPlanFields input:focus, .modelPlanFields select:focus, .modelPlanFields textarea:focus {
  border-color: #438077;
  outline: 2px solid #76aaa433;
}

.modelPlanForm footer {
  border-top: 1px solid #e7eceb;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  padding-top: 14px;
  display: flex;
}

.modelPlanForm footer span {
  font-size: var(--ui-caption-size, 8px);
  color: #818b89;
}

.modelPlanForm footer button {
  color: #fff;
  font-size: var(--ui-text-size, 9px);
  cursor: pointer;
  background: #2d7067;
  border: 0;
  border-radius: 8px;
  padding: 10px 13px;
  font-weight: 900;
}

.modelSignals > div > article {
  border-top: 1px solid #e8eceb;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  display: grid;
}

.modelSignals > div > article > span {
  color: #2f705d;
  width: 24px;
  height: 24px;
  font-size: var(--ui-caption-size, 9px);
  background: #dff0e9;
  border-radius: 50%;
  place-items: center;
  font-weight: 900;
  display: grid;
}

.modelSignals > div > article.attention > span {
  color: #9e4d35;
  background: #f6ded4;
}

.modelSignals article strong {
  font-size: var(--ui-caption-size, 10px);
}

.modelSignals article p {
  color: #788386;
  font-size: var(--ui-text-size, 8px);
  margin: 3px 0 0;
  line-height: 1.4;
}

.modelSignals article button {
  color: #2d7168;
  font-size: var(--ui-text-size, 8px);
  cursor: pointer;
  background: none;
  border: 0;
  font-weight: 900;
}

.planSequence {
  background: #f5f7f6;
  border-radius: 9px;
  margin-top: 15px;
  padding: 14px 15px;
}

.planSequence b {
  font-size: var(--ui-caption-size, 9px);
}

.planSequence ol {
  color: #687573;
  font-size: var(--ui-caption-size, 8px);
  margin: 9px 0 0;
  padding-left: 18px;
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .versionListHead {
    display: none;
  }

  .modelVersionList article {
    grid-template-columns: 1fr 55px 90px 70px;
  }

  .modelVersionList article time:nth-of-type(2), .modelVersionList article button {
    display: none;
  }
}

@media (max-width: 980px) {
  .modelPlanLayout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .modelPlanFields {
    grid-template-columns: 1fr;
  }

  .modelPlanFields label.wide {
    grid-column: auto;
  }

  .modelVersionsPanel > header {
    flex-direction: column;
  }

  .modelVersionList article {
    grid-template-columns: 1fr 55px 70px;
  }

  .modelVersionList article time {
    display: none;
  }

  .modelVersionsPanel > header > div:last-child {
    flex-direction: column;
    width: 100%;
  }
}

/* [project]/app/odv-review-module.css [app-client] (css) */
.odvReview {
  --odv-ink: #172b3a;
  --odv-green: #26675d;
  --odv-soft: #eef5f2;
  --odv-line: #d7e2df;
  color: var(--odv-ink);
}

.odvReview button, .odvReview input, .odvReview select, .odvReview textarea {
  font: inherit;
}

.odvReview button {
  cursor: pointer;
}

.odvReview button:disabled {
  cursor: not-allowed;
  opacity: .58;
}

.odvHero {
  color: #fff;
  background: linear-gradient(128deg, #173d48, #276c62 68%, #8ba46c);
  border-radius: 22px;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  min-height: 230px;
  padding: 38px 42px;
  display: flex;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 46px #183e4224;
}

.odvHero:after {
  content: "";
  border: 1px solid #ffffff24;
  border-radius: 50%;
  width: 310px;
  height: 310px;
  position: absolute;
  top: -95px;
  right: -70px;
}

.odvHero > div {
  z-index: 1;
  position: relative;
}

.odvHero small, .odvAutomatic header small, .odvManual header small, .odvActions header small, .odvCloseForm header small, .odvStartCard > small, .odvSourcePreview header small, .odvHistory header small {
  font-size: var(--ui-caption-size, 11px);
  letter-spacing: 1.5px;
  font-weight: 850;
  display: block;
}

.odvHero h2 {
  max-width: 760px;
  margin: 9px 0 11px;
  font: 700 clamp(30px, 4vw, 48px) / 1.06 Georgia, serif;
}

.odvHero p {
  color: #fffc;
  max-width: 760px;
  font-size: var(--ui-text-size, 15px);
  margin: 0;
  line-height: 1.55;
}

.odvHeroMeta {
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 20px;
  display: flex;
}

.odvHeroMeta span {
  font-size: var(--ui-text-size, 12px);
  background: #ffffff14;
  border: 1px solid #ffffff2e;
  border-radius: 999px;
  padding: 7px 10px;
}

.odvHeroScore {
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  background: #ffffff17;
  border: 1px solid #ffffff3d;
  border-radius: 50%;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 156px;
  min-width: 156px;
  height: 156px;
  display: flex;
}

.odvHeroScore strong {
  font: 700 42px / 1 Georgia, serif;
}

.odvHeroScore span {
  color: #ffffffc7;
  font-size: var(--ui-text-size, 12px);
  margin-top: 7px;
}

.odvHeroScore i {
  background: #ffffff2e;
  border-radius: 5px;
  width: 94px;
  height: 5px;
  margin-top: 13px;
  display: block;
  overflow: hidden;
}

.odvHeroScore i b {
  background: #e9d77e;
  height: 100%;
  display: block;
}

.odvWarning {
  color: #805c18;
  background: #fff8e9;
  border: 1px solid #e9d3a8;
  border-radius: 12px;
  margin: 18px 0 0;
  padding: 12px 16px;
}

.odvLoading {
  text-align: center;
  place-items: center;
  min-height: 430px;
  display: grid;
}

.odvLoading span {
  border: 4px solid #d9e8e3;
  border-top-color: var(--odv-green);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  animation: .8s linear infinite odvSpin;
}

.odvLoading h2 {
  margin: 18px 0 5px;
  font: 700 28px Georgia, serif;
}

.odvLoading p {
  color: #66757a;
}

@keyframes odvSpin {
  to {
    transform: rotate(360deg);
  }
}

.odvStartGrid {
  grid-template-columns: minmax(360px, .8fr) minmax(420px, 1.2fr);
  gap: 20px;
  margin-top: 22px;
  display: grid;
}

.odvStartCard, .odvSourcePreview, .odvAutomatic, .odvManual, .odvActions, .odvCloseForm, .odvHistory {
  border: 1px solid var(--odv-line);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 26px #1f43410d;
}

.odvStartCard {
  padding: 28px;
}

.odvStartCard small {
  color: var(--odv-green);
}

.odvStartCard h3, .odvSourcePreview h3, .odvAutomatic h3, .odvManual h3, .odvActions h3, .odvCloseForm h3, .odvHistory h3 {
  margin: 7px 0 6px;
  font: 700 24px Georgia, serif;
}

.odvStartCard > p, .odvAutomatic header p, .odvManual header p, .odvActions header p, .odvCloseForm header p {
  color: #66757a;
  margin: 0;
  line-height: 1.5;
}

.odvStartCard > button {
  background: var(--odv-green);
  color: #fff;
  border: 0;
  border-radius: 10px;
  width: 100%;
  margin-top: 20px;
  padding: 13px 16px;
  font-weight: 800;
}

.odvSourcePreview {
  padding: 25px;
}

.odvSourcePreview header {
  border-bottom: 1px solid var(--odv-line);
  padding-bottom: 14px;
}

.odvSourcePreview header small {
  color: #8a673a;
}

.odvSourcePreview > div {
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  max-height: 470px;
  margin-top: 14px;
  display: grid;
  overflow: auto;
}

.odvSourcePreview article {
  background: #f7faf9;
  border-radius: 11px;
  gap: 10px;
  padding: 11px;
  display: flex;
}

.odvSourcePreview article > span {
  height: 22px;
  color: var(--odv-green);
  background: #dcede7;
  border-radius: 50%;
  flex: 0 0 22px;
  place-items: center;
  font-weight: 900;
  display: grid;
}

.odvSourcePreview strong {
  font-size: var(--ui-text-size, 13px);
}

.odvSourcePreview p {
  color: #6d797d;
  font-size: var(--ui-text-size, 11px);
  margin: 3px 0 0;
  line-height: 1.35;
}

.odvControlBar {
  border: 1px solid var(--odv-line);
  z-index: 4;
  background: #fff;
  border-radius: 14px;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin: 18px 0;
  padding: 8px;
  display: flex;
  position: sticky;
  top: 10px;
  box-shadow: 0 7px 22px #183c3c12;
}

.odvControlBar nav {
  gap: 4px;
  min-width: 0;
  display: flex;
  overflow: auto;
}

.odvControlBar nav button {
  white-space: nowrap;
  color: #637277;
  font-size: var(--ui-text-size, 13px);
  background: none;
  border: 0;
  border-radius: 9px;
  padding: 10px 13px;
  font-weight: 750;
}

.odvControlBar nav button.active {
  background: var(--odv-soft);
  color: var(--odv-green);
}

.odvControlBar nav button b {
  min-width: 21px;
  height: 21px;
  font-size: var(--ui-text-size, 11px);
  background: #e8efed;
  border-radius: 999px;
  place-items: center;
  margin-left: 5px;
  display: inline-grid;
}

.odvSync {
  color: var(--odv-green);
  background: #fff;
  border: 1px solid #a7c4bb;
  border-radius: 9px;
  flex: none;
  padding: 10px 14px;
  font-weight: 800;
}

.odvAutomatic, .odvManual, .odvActions {
  padding: 25px;
}

.odvAutomatic > header, .odvManual > header, .odvActions > header {
  justify-content: space-between;
  align-items: flex-start;
  gap: 30px;
  padding-bottom: 20px;
  display: flex;
}

.odvAutomatic > header small, .odvManual > header small, .odvActions > header small, .odvCloseForm header small {
  color: var(--odv-green);
}

.odvAutomatic > header > span, .odvManual > header > span, .odvActions > header > span {
  background: var(--odv-soft);
  color: var(--odv-green);
  font-size: var(--ui-text-size, 12px);
  border-radius: 999px;
  padding: 8px 11px;
  font-weight: 800;
}

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

.odvAutoGrid article {
  border: 1px solid var(--odv-line);
  background: linear-gradient(#fff, #fbfdfc);
  border-radius: 14px;
  flex-direction: column;
  min-height: 235px;
  padding: 17px;
  display: flex;
}

.odvAutoGrid article.critical {
  background: #fff8f5;
  border-color: #df9b88;
}

.odvAutoTop {
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.odvAutoTop span {
  color: var(--odv-green);
  font-size: var(--ui-caption-size, 9px);
  letter-spacing: 1px;
  background: #dcede7;
  border-radius: 5px;
  padding: 3px 6px;
  font-weight: 900;
}

.odvAutoTop em {
  color: #758287;
  font-size: var(--ui-caption-size, 11px);
  font-style: normal;
}

.odvAutoGrid h4 {
  font-size: var(--ui-text-size, 15px);
  margin: 15px 0 7px;
}

.odvAutoGrid p {
  color: #657277;
  font-size: var(--ui-text-size, 12px);
  flex: 1;
  margin: 0;
  line-height: 1.5;
}

.odvAutoActions {
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 15px;
  display: flex;
}

.odvAutoActions select, .odvAutoActions button {
  border: 1px solid var(--odv-line);
  color: #3e5658;
  max-width: 100%;
  font-size: var(--ui-text-size, 11px);
  background: #fff;
  border-radius: 7px;
  padding: 7px 8px;
}

.odvAutoActions button:last-child {
  color: var(--odv-green);
  margin-left: auto;
  font-weight: 800;
}

.odvManualList {
  gap: 13px;
  display: grid;
}

.odvManualList article {
  border: 1px solid var(--odv-line);
  border-radius: 15px;
  grid-template-columns: 55px 1fr;
  display: grid;
  overflow: hidden;
}

.odvManualList article.critical {
  border-color: #dc947f;
}

.odvManualNumber {
  color: var(--odv-green);
  background: #f1f6f4;
  justify-content: center;
  padding-top: 21px;
  font: 700 18px Georgia, serif;
  display: flex;
}

.odvManualBody {
  padding: 19px;
}

.odvManualHead {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  display: flex;
}

.odvManualHead small {
  color: #7a898b;
  font-size: var(--ui-caption-size, 10px);
  letter-spacing: 1px;
}

.odvManualHead h4 {
  margin: 4px 0 0;
  font-size: 16px;
}

.odvManualHead select {
  border: 1px solid var(--odv-line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 10px;
}

.odvPrivacyNote {
  color: #76571f;
  font-size: var(--ui-text-size, 12px);
  background: #fff8e9;
  border-left: 3px solid #b78642;
  margin-top: 13px;
  padding: 10px 12px;
}

.odvPrivacyNote b {
  margin-right: 6px;
}

.odvManualFields, .odvFormGrid {
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
  display: grid;
}

.odvManualFields label, .odvFormGrid label, .odvActionForm label, .odvActionMain label {
  flex-direction: column;
  gap: 5px;
  display: flex;
}

.odvManualFields label.wide, .odvFormGrid label.wide {
  grid-column: 1 / -1;
}

.odvManualFields label span, .odvFormGrid label span, .odvActionForm label span, .odvActionMain label span {
  color: #657579;
  font-size: var(--ui-text-size, 11px);
  font-weight: 750;
}

.odvManualFields input, .odvManualFields textarea, .odvFormGrid input, .odvFormGrid textarea, .odvFormGrid select, .odvActionForm input, .odvActionForm select, .odvActionMain input, .odvActionMain select, .odvActionMain textarea {
  box-sizing: border-box;
  border: 1px solid var(--odv-line);
  width: 100%;
  color: var(--odv-ink);
  background: #fff;
  border-radius: 8px;
  padding: 10px 11px;
}

.odvManualFields textarea, .odvFormGrid textarea, .odvActionMain textarea {
  resize: vertical;
}

.odvManualBody footer {
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
  display: flex;
}

.odvManualBody footer button, .odvCloseForm footer button {
  border: 1px solid var(--odv-line);
  color: var(--odv-green);
  background: #fff;
  border-radius: 8px;
  padding: 9px 12px;
  font-weight: 750;
}

.odvManualBody footer button:first-child {
  margin-right: auto;
}

.odvManualBody footer button.primary {
  border-color: var(--odv-green);
  background: var(--odv-green);
  color: #fff;
}

.odvActionForm {
  background: #f2f7f5;
  border-radius: 13px;
  grid-template-columns: 2fr 1.2fr .65fr 1fr .8fr;
  align-items: end;
  gap: 9px;
  padding: 16px;
  display: grid;
}

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

.odvActionForm .notes {
  grid-column: span 3;
}

.odvActionForm > button {
  background: var(--odv-green);
  color: #fff;
  border: 0;
  border-radius: 8px;
  height: 39px;
  font-weight: 800;
}

.odvActionList {
  gap: 10px;
  margin-top: 16px;
  display: grid;
}

.odvActionList > article {
  border: 1px solid var(--odv-line);
  border-left: 4px solid #c3954e;
  border-radius: 11px;
  grid-template-columns: 72px 1fr auto;
  align-items: start;
  gap: 13px;
  padding: 14px;
  display: grid;
}

.odvActionList > article.alta {
  border-left-color: #bb5946;
}

.odvActionList > article.bassa {
  border-left-color: #739788;
}

.odvActionList > article.closed {
  opacity: .68;
}

.odvPriority {
  color: #805d21;
  text-align: center;
  font-size: var(--ui-caption-size, 11px);
  text-transform: uppercase;
  background: #fff1d8;
  border-radius: 6px;
  padding: 5px 7px;
  font-weight: 900;
}

.odvActionMain > input {
  font-weight: 800;
}

.odvActionMain > div {
  grid-template-columns: 1.3fr .8fr .8fr;
  gap: 9px;
  margin: 9px 0;
  display: grid;
}

.odvActionList > article > button {
  border: 1px solid var(--odv-line);
  color: var(--odv-green);
  background: #fff;
  border-radius: 7px;
  align-self: center;
  padding: 8px 10px;
  font-weight: 800;
}

.odvEmpty {
  text-align: center;
  color: #647679;
  border: 1px dashed #b8cbc5;
  border-radius: 13px;
  flex-direction: column;
  gap: 5px;
  padding: 38px;
  display: flex;
}

.odvEmpty strong {
  color: var(--odv-ink);
}

.odvCloseLayout {
  grid-template-columns: minmax(0, 1fr) 310px;
  align-items: start;
  gap: 18px;
  display: grid;
}

.odvCloseForm {
  padding: 27px;
}

.odvCloseForm header {
  padding-bottom: 5px;
}

.odvCloseForm footer {
  border-top: 1px solid var(--odv-line);
  justify-content: flex-end;
  gap: 8px;
  margin-top: 19px;
  padding-top: 17px;
  display: flex;
}

.odvCloseForm footer button:first-child {
  margin-right: auto;
}

.odvCloseForm footer button.closeReview {
  color: #fff;
  background: #376f62;
  border-color: #376f62;
}

.odvCloseHint {
  color: #74591f;
  font-size: var(--ui-text-size, 12px);
  background: #fff7e7;
  border-radius: 8px;
  margin-top: 12px;
  padding: 10px;
}

.odvHistory {
  padding: 20px;
  position: sticky;
  top: 85px;
}

.odvHistory > div {
  gap: 8px;
  margin-top: 16px;
  display: grid;
}

.odvHistory > div > button {
  border: 1px solid var(--odv-line);
  text-align: left;
  background: #fff;
  border-radius: 10px;
  grid-template-columns: auto 1fr;
  gap: 4px 8px;
  padding: 11px;
  display: grid;
}

.odvHistory > div > button.selected {
  background: #f1f7f4;
  border-color: #6a9c8e;
}

.odvHistory button > span {
  font-size: var(--ui-text-size, 9px);
  text-transform: uppercase;
  border-radius: 5px;
  grid-row: span 2;
  padding: 4px 6px;
  font-weight: 900;
}

.odvHistory button > span.open {
  color: #805f20;
  background: #fff0d5;
}

.odvHistory button > span.closed {
  color: #3b6e61;
  background: #dfeae6;
}

.odvHistory button strong {
  font-size: var(--ui-text-size, 13px);
}

.odvHistory button small, .odvHistory button em {
  color: #738084;
  font-size: var(--ui-text-size, 10px);
  font-style: normal;
}

.odvTimeline {
  border-top: 1px solid var(--odv-line);
  margin-top: 20px;
  padding-top: 17px;
}

.odvTimeline h4 {
  margin: 0 0 12px;
}

.odvTimeline > div {
  gap: 9px;
  display: flex;
}

.odvTimeline > div > span {
  background: #77a394;
  border-radius: 50%;
  flex: 0 0 7px;
  height: 7px;
  margin-top: 5px;
}

.odvTimeline p {
  font-size: var(--ui-text-size, 11px);
  flex-direction: column;
  gap: 2px;
  margin: 0 0 11px;
  line-height: 1.35;
  display: flex;
}

.odvTimeline small {
  color: #859194;
  font-size: var(--ui-caption-size, 9px);
}

@media (max-width: 1150px) {
  .odvAutoGrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .odvStartGrid, .odvCloseLayout {
    grid-template-columns: 1fr;
  }

  .odvHistory {
    position: static;
  }

  .odvActionForm {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .odvActionForm .title, .odvActionForm .notes {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .odvHero {
    flex-direction: column;
    align-items: flex-start;
    padding: 27px;
  }

  .odvHeroScore {
    border-radius: 13px;
    align-items: flex-start;
    width: auto;
    min-width: 0;
    height: auto;
    padding: 14px;
  }

  .odvSourcePreview > div, .odvAutoGrid, .odvManualFields, .odvFormGrid {
    grid-template-columns: 1fr;
  }

  .odvManualFields label.wide, .odvFormGrid label.wide {
    grid-column: auto;
  }

  .odvControlBar {
    flex-direction: column;
    align-items: stretch;
    position: static;
  }

  .odvControlBar nav {
    width: 100%;
  }

  .odvManualList article {
    grid-template-columns: 38px 1fr;
  }

  .odvManualHead {
    flex-direction: column;
  }

  .odvActionForm, .odvActionMain > div {
    grid-template-columns: 1fr;
  }

  .odvActionForm .title, .odvActionForm .notes {
    grid-column: auto;
  }

  .odvActionList > article {
    grid-template-columns: 1fr;
  }

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

  .odvCloseForm footer button:first-child {
    margin-right: 0;
  }
}

.odvControlActions {
  flex: none;
  align-items: center;
  gap: 7px;
  display: flex;
}

.odvWord {
  border: 1px solid var(--odv-green);
  background: var(--odv-green);
  color: #fff;
  white-space: nowrap;
  border-radius: 9px;
  padding: 10px 13px;
  font-weight: 850;
}

@media (max-width: 760px) {
  .odvControlActions {
    width: 100%;
  }

  .odvControlActions button {
    flex: 1;
  }
}

/* [project]/app/readability.css [app-client] (css) */
:root {
  --ink: #111827;
  --muted: #505b6e;
  --line: #cfd6df;
  --paper: #f1f3f6;
}

body {
  color: var(--ink);
  text-rendering: optimizelegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.45;
}

button, input, select, textarea {
  color: #172033;
}

input::placeholder, textarea::placeholder {
  color: #707b8a;
  opacity: 1;
}

.panel, .metrics article, .trainingCard, .trainingCourseIntro {
  border-color: #cfd6dc;
  box-shadow: 0 2px 8px #1720330a;
}

.heading span, .panelHead p, .metrics small, .trainingEmpty {
  color: #56625e;
}

@media (min-width: 721px) {
  .sidebar button {
    font-size: var(--ui-text-size, 14px);
  }

  .brand small, .profile small {
    font-size: var(--ui-caption-size, 10.5px);
  }

  .profile strong {
    font-size: var(--ui-text-size, 12px);
  }

  .clientPicker select {
    font-size: var(--ui-text-size, 14px);
  }

  .status {
    font-size: var(--ui-caption-size, 11px);
  }

  .search span {
    font-size: var(--ui-text-size, 12px);
  }

  .heading p {
    font-size: var(--ui-text-size, 11px);
  }

  .heading span {
    font-size: var(--ui-text-size, 14px);
  }

  .heading button {
    font-size: var(--ui-text-size, 12px);
  }

  .content p {
    font-size: var(--ui-text-size, max(12px,.78rem));
    line-height: 1.55;
  }

  .content small {
    font-size: var(--ui-caption-size, max(10.5px,.69rem));
    line-height: 1.45;
  }

  .content label {
    font-size: var(--ui-text-size, max(11px,.72rem));
  }

  .content button {
    font-size: var(--ui-text-size, max(11.5px,.74rem));
  }

  .content input, .content select, .content textarea {
    font-size: var(--ui-text-size, 12px);
  }

  .metrics span {
    font-size: var(--ui-caption-size, 10px);
  }

  .metrics small {
    font-size: var(--ui-caption-size, 11px);
  }

  .panelHead h2 {
    font-size: 19px;
  }

  .modelRow strong, .activity strong {
    font-size: var(--ui-caption-size, 11.5px);
  }

  .modelRow span, .activity small, .activity time {
    font-size: var(--ui-caption-size, 10.5px);
  }

  .trainingHero h2 {
    font-size: 31px;
  }

  .trainingCardHead h3, .trainingCourseIntro h3 {
    font-size: 20px;
  }

  .trainingMetrics span {
    font-size: var(--ui-caption-size, 10px);
  }

  .trainingMetrics strong {
    font-size: 30px;
  }

  .trainingTabs button, .trainingPerson strong {
    font-size: var(--ui-text-size, 12px);
  }

  .trainingPerson small, .trainingRoom header small, .trainingEnrollment small {
    font-size: var(--ui-caption-size, 10.5px);
  }

  .trainingRoom header strong, .trainingEnrollment strong {
    font-size: var(--ui-text-size, 12px);
  }

  .trainingRoom header em, .trainingEnrollment button {
    font-size: var(--ui-text-size, 10.5px);
  }

  .trainingSlide small {
    font-size: var(--ui-caption-size, 11px);
  }

  .trainingSlide li {
    font-size: var(--ui-text-size, 14px);
  }

  .trainingCaption {
    font-size: var(--ui-text-size, 12px);
    line-height: 1.6;
  }

  .trainingSlideFrame > header, .trainingSlideFrame > footer, .trainingLive, .trainingVoiceStatus, .trainingControls span, .trainingVoiceChoice > span {
    font-size: var(--ui-caption-size, 10px);
  }

  .trainingControls > strong {
    font-size: var(--ui-text-size, 12px);
  }

  .trainingChapters button {
    font-size: var(--ui-text-size, 10.5px);
  }

  .participantHeader {
    height: 76px;
  }

  .participantHeader strong {
    font-size: var(--ui-text-size, 14px);
  }

  .participantHeader small {
    font-size: var(--ui-caption-size, 11px);
  }

  .participantWelcome small, .participantQuizHead small {
    font-size: var(--ui-caption-size, 10px);
  }

  .participantWelcome h1 {
    font-size: 28px;
  }

  .participantWelcome p, .participantQuizHead p, .participantResult p {
    font-size: var(--ui-text-size, 13px);
  }

  .participantWelcome > div:last-child span {
    font-size: var(--ui-caption-size, 10px);
  }

  .participantQuizHead > span {
    font-size: var(--ui-caption-size, 11px);
  }

  .participantQuestions legend {
    font-size: var(--ui-text-size, 13px);
  }

  .participantQuestions label {
    font-size: var(--ui-text-size, 12.5px);
    padding: 11px;
  }

  .participantQuestions button, .participantResult button {
    font-size: var(--ui-text-size, 12px);
  }

  .participantPage > footer {
    font-size: var(--ui-caption-size, 10.5px);
  }
}

@media screen {
  :root {
    --ui-text-size: .875rem;
    --ui-caption-size: .78125rem;
  }

  body {
    font-size: var(--ui-text-size);
    line-height: 1.6;
  }

  button, input, select, textarea {
    font-family: inherit;
  }

  input, select, textarea {
    font-size: var(--ui-text-size);
  }

  input::placeholder, textarea::placeholder {
    color: #596575;
  }

  .sidebar button {
    color: #c9d3e3;
    line-height: 1.4;
  }

  .brand small, .profile small {
    color: #bbc8dc;
    letter-spacing: .04em;
  }

  .sidebar nav {
    flex: 1;
  }

  .sidebarBottom {
    flex-shrink: 0;
  }

  .brand {
    flex-shrink: 0;
    padding-bottom: 18px;
  }

  .brand small {
    overflow-wrap: anywhere;
  }

  .heading, .panelHead, .topActions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .heading > div {
    min-width: 0;
  }

  .heading button {
    margin: 4px 4px 0 0;
  }

  .topbar {
    flex-wrap: wrap;
    gap: 12px;
    height: auto;
    min-height: 70px;
    padding-block: 12px;
  }

  .clientPicker {
    flex-wrap: wrap;
    min-width: 0;
  }

  .clientPicker select {
    min-width: 0;
    max-width: min(280px, 100%);
  }

  .search {
    height: auto;
    min-height: 40px;
  }

  .status {
    white-space: normal;
  }

  .metrics article {
    min-width: 0;
  }

  .metrics span, .metrics small {
    color: #505b6e;
  }

  .activity strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .activity time {
    flex-shrink: 0;
  }

  .modelRow {
    grid-template-columns: minmax(0, 1fr) minmax(60px, 1fr) 42px;
  }

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

  .authCard button {
    height: auto;
    min-height: 44px;
    padding: 10px 14px;
  }

  @media (min-width: 721px) {
    .sidebar {
      width: 252px;
      padding: 20px 12px 16px;
    }

    .workspace {
      width: calc(100% - 252px);
      margin-left: 252px;
    }

    .sidebar button {
      font-size: var(--ui-text-size);
      gap: 10px;
      padding: 10px;
    }

    .sidebar button span {
      flex-shrink: 0;
    }
  }

  @media (min-width: 721px) and (max-width: 1366px) {
    .content {
      padding: 24px 20px 40px;
    }

    .topbar {
      padding-inline: 20px;
    }

    .search {
      width: 180px;
    }

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

    .grid, .personnelWorkspace, .brandStudioLayout, .reviewGrid {
      grid-template-columns: minmax(0, 1fr);
    }

    .personnelHero {
      flex-wrap: wrap;
    }

    .personnelCommunications > form {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .personnelCommunications textarea {
      grid-column: 1 / -1;
    }
  }

  @media (max-width: 720px) {
    .heading {
      flex-direction: column;
      align-items: stretch;
    }

    .heading > div:last-child {
      flex-wrap: wrap;
    }

    .content .heading button {
      font-size: var(--ui-text-size);
    }

    .heading button:after {
      content: none;
    }

    .heading .secondary {
      display: inline-flex;
    }

    .topActions {
      max-width: 100%;
    }

    .activity {
      flex-wrap: wrap;
    }
  }

  .content p {
    line-height: 1.65;
  }

  .content small, .content label {
    line-height: 1.5;
  }

  .content button {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .content input:not([type="checkbox"]):not([type="radio"]):not([type="range"]):not([type="color"]), .content select {
    max-width: 100%;
    min-height: 44px;
  }

  .content textarea {
    line-height: 1.6;
  }

  .content :is(button, input, select, textarea, a):focus-visible, .sidebar button:focus-visible {
    outline-offset: 3px;
    outline: 3px solid #b75b24;
  }

  .moduleTools, .tableHead, .documentModelEditor, .documentGroupTitle {
    flex-wrap: wrap;
    gap: 12px;
  }

  .filter {
    max-width: 100%;
  }

  .clientCards > article, .templateGrid > article, .reviewGrid > * {
    min-width: 0;
  }

  .clientTitle div, .clientStats div {
    overflow-wrap: anywhere;
    min-width: 0;
  }

  .templateGrid article div:last-child {
    flex-wrap: wrap;
  }

  .modelRow span, .activity small, .activity time, .tableHead p, .clientTitle p, .templateGrid p {
    color: #505b6e;
  }

  .sidebar nav {
    align-content: start;
  }

  @media (min-width: 1025px) and (max-width: 1366px) {
    .clientCards, .templateGrid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 1024px) {
    .clientCards, .templateGrid {
      grid-template-columns: minmax(0, 1fr);
    }

    .topbar {
      position: static;
    }

    .documentGroupTitle span {
      text-align: left;
      max-width: 100%;
    }
  }

  @media (max-height: 800px) and (min-width: 721px) {
    .sidebar {
      padding-block: 12px;
    }

    .brand {
      padding-bottom: 12px;
    }

    .sidebar button {
      padding-block: 8px;
    }

    .sidebarBottom {
      padding-top: 8px;
    }

    .profile {
      margin-top: 6px;
      padding-top: 8px;
    }

    .topbar {
      position: static;
    }
  }

  @media (max-width: 720px) {
    .alert {
      flex-wrap: wrap;
    }

    .alert div {
      min-width: 0;
    }

    .heading span {
      display: block;
    }

    .alert button {
      display: inline-flex;
    }

    .personnelCommunications > form {
      grid-template-columns: minmax(0, 1fr);
    }

    .personnelCommunications textarea {
      grid-column: 1;
    }
  }

  .content {
    min-width: 0;
  }

  .content button {
    overflow-wrap: normal;
  }

  .content :is(.formGrid, .adminFields, .permissionGrid, .governanceConfigurator, .odvMembers) > * {
    min-width: 0;
  }

  .content :is(.adminHero, .builderHero, .processHero, .orgHero, .personnelHero) {
    flex-wrap: wrap;
    gap: 18px;
    padding: 22px 24px;
  }

  .content :is(.adminHero, .builderHero, .processHero, .orgHero, .personnelHero) > div {
    min-width: 0;
  }

  .content :is(.adminHero, .builderHero, .processHero, .orgHero, .personnelHero) h2 {
    font-size: 25px;
    line-height: 1.2;
  }

  .content :is(.orgToolbar, .processToolbar, .orgToolbar nav, .processToolbar nav, .orgToolbar > div, .processToolbar > div, .emailActions) {
    flex-wrap: wrap;
    gap: 8px;
  }

  .content :is(.adminFields, .formGrid) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .content :is(.adminFields, .formGrid) label {
    overflow-wrap: anywhere;
  }

  .content :is(.adminList, .adminEditor, .processEditor, .orgEditor) {
    min-width: 0;
  }

  .adminList article {
    grid-template-columns: 38px minmax(0, 1fr) auto auto;
  }

  .adminList article div {
    overflow-wrap: anywhere;
  }

  .orgHeroStats, .processHeroStats {
    flex-wrap: wrap;
  }

  .builderSteps {
    flex-wrap: wrap;
    gap: 8px;
    display: flex;
  }

  .builderSteps button {
    flex: 150px;
    min-width: 0;
  }

  .content .builderSteps button:not(.active) {
    display: flex;
  }

  .builderSteps button > i {
    flex-shrink: 0;
  }

  @media (min-width: 721px) {
    .sidebar {
      width: 236px;
    }

    .workspace {
      width: calc(100% - 236px);
      margin-left: 236px;
    }
  }

  @media (max-width: 1366px) {
    .adminSplit, .usersSplit, .emailWorkspace, .builderLayout, .processWorkspace {
      grid-template-columns: minmax(0, 1fr);
    }

    .processEditor {
      max-height: none;
      position: static;
    }

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

  @media (max-width: 1024px) {
    .governanceConfigurator, .odvTypeRow, .content :is(.adminFields, .formGrid) {
      grid-template-columns: minmax(0, 1fr);
    }

    .content :is(.adminHero, .builderHero, .processHero, .orgHero, .personnelHero) {
      padding: 18px;
    }
  }

  @media (max-width: 720px) {
    .odvMembers {
      grid-template-columns: minmax(0, 1fr);
    }

    .content input, .content select, .content textarea {
      font-size: 16px;
    }

    .adminList article {
      grid-template-columns: 38px minmax(0, 1fr);
    }

    .adminList article em, .adminList article button {
      grid-column: 2;
      justify-self: start;
    }
  }

  .sidebar button {
    font-size: .8125rem;
    line-height: 1.4;
  }

  .content nav button {
    font-size: .875rem;
  }

  .content small {
    font-size: var(--ui-caption-size);
  }

  .content p, .heading span {
    font-size: var(--ui-text-size);
  }
}

/*# sourceMappingURL=app_0-p-6xx._.css.map*/