/*!*********************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./app/globals.css ***!
  \*********************************************************************************************************************************************************************************************************************************************************************/
/*! tailwindcss v4.3.1 | MIT License | https://tailwindcss.com */
@layer properties;
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: var(--ct-font-sans);
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    --default-font-family: var(--font-sans);
    --default-mono-font-family: var(--font-mono);
  }
}
@layer base {
  *, ::after, ::before, ::backdrop, ::file-selector-button {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0 solid;
  }
  html, :host {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    tab-size: 4;
    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;
    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 {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
  }
  sub {
    bottom: -0.25em;
  }
  sup {
    top: -0.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 {
    display: block;
    vertical-align: middle;
  }
  img, video {
    max-width: 100%;
    height: auto;
  }
  button, input, select, optgroup, textarea, ::file-selector-button {
    font: inherit;
    font-feature-settings: inherit;
    font-variation-settings: inherit;
    letter-spacing: inherit;
    color: inherit;
    border-radius: 0;
    background-color: transparent;
    opacity: 1;
  }
  :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)) {
        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, ::-webkit-datetime-edit-year-field, ::-webkit-datetime-edit-month-field, ::-webkit-datetime-edit-day-field, ::-webkit-datetime-edit-hour-field, ::-webkit-datetime-edit-minute-field, ::-webkit-datetime-edit-second-field, ::-webkit-datetime-edit-millisecond-field, ::-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"]), ::file-selector-button {
    appearance: button;
  }
  ::-webkit-inner-spin-button, ::-webkit-outer-spin-button {
    height: auto;
  }
  [hidden]:where(:not([hidden="until-found"])) {
    display: none !important;
  }
}
@layer utilities {
  .visible {
    visibility: visible;
  }
  .absolute {
    position: absolute;
  }
  .static {
    position: static;
  }
  .order-1 {
    order: 1;
  }
  .order-2 {
    order: 2;
  }
  .order-3 {
    order: 3;
  }
  .order-4 {
    order: 4;
  }
  .hidden {
    display: none;
  }
  .inline {
    display: inline;
  }
  .table {
    display: table;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .uppercase {
    text-transform: uppercase;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .transition {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to, opacity, box-shadow, transform, translate, scale, rotate, filter, -webkit-backdrop-filter, backdrop-filter, display, content-visibility, overlay, pointer-events;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
}
:root {
  color-scheme: light;
  --ct-color-green-950: #062e26;
  --ct-color-green-900: #0b3b31;
  --ct-color-green-700: #146b52;
  --ct-color-parchment-50: #f8f2e8;
  --ct-color-paper: #fffdf8;
  --ct-color-saddle-700: #7a431e;
  --ct-color-brass-500: #b9852e;
  --ct-color-verified: #2f7d5b;
  --ct-color-review: #c98a22;
  --ct-color-danger-base: #b23a2f;
  --ct-color-ink: #10211d;
  --ct-color-primary: var(--ct-color-green-900);
  --ct-color-primary-strong: var(--ct-color-green-950);
  --ct-color-primary-muted: #dfe9e3;
  --ct-color-accent: var(--ct-color-saddle-700);
  --ct-color-accent-soft: #f3e4d4;
  --ct-color-background: var(--ct-color-parchment-50);
  --ct-color-surface: var(--ct-color-paper);
  --ct-color-surface-muted: #f2eadc;
  --ct-color-border: #dfd2bf;
  --ct-color-border-strong: #c9b89f;
  --ct-color-text: var(--ct-color-ink);
  --ct-color-muted: #65736d;
  --ct-color-success: var(--ct-color-verified);
  --ct-color-success-soft: #e4f0ea;
  --ct-color-warning: var(--ct-color-review);
  --ct-color-warning-soft: #f7ecd7;
  --ct-color-danger: var(--ct-color-danger-base);
  --ct-color-danger-soft: #f7e4df;
  --ct-color-info: #356f93;
  --ct-color-info-soft: #e4eff3;
  --ct-color-trust: var(--ct-color-brass-500);
  --ct-color-trust-soft: #f3ead8;
  --ct-color-navigation: var(--ct-color-green-950);
  --ct-color-navigation-muted: rgb(255 253 248 / 68%);
  --ct-background-parchment: linear-gradient(180deg, rgb(255 253 248 / 94%), rgb(248 242 232 / 92%)),
    url("/coritech-assets/parchment-grain.svg") 0 0 / 180px 180px repeat,
    var(--ct-color-background);
  --ct-background-secure: linear-gradient(180deg, rgb(255 253 248 / 96%), rgb(248 242 232 / 90%)),
    url("/coritech-assets/equine-line-pattern.svg") right 110px top 108px / min(48vw, 520px) auto no-repeat,
    url("/coritech-assets/parchment-grain.svg") 0 0 / 180px 180px repeat,
    var(--ct-color-background);
  --ct-background-shell: linear-gradient(180deg, rgb(255 253 248 / 96%), rgb(248 242 232 / 90%)),
    url("/coritech-assets/parchment-grain.svg") 0 0 / 180px 180px repeat,
    var(--ct-color-background);
  --ct-background-deep-green: linear-gradient(180deg, rgb(185 133 46 / 12%), transparent 30%),
    linear-gradient(180deg, #05261f, var(--ct-color-primary-strong));
  --ct-mark-shield: url("/coritech-assets/coritech-shield-mark.svg") center / 82% no-repeat;
  --ct-mark-seal: url("/coritech-assets/verification-seal.svg") center / 78% no-repeat;
  --ct-mark-passport: url("/coritech-assets/horse-passport-mark.svg") center / contain no-repeat;
  --ct-mark-facility: url("/coritech-assets/equine-facility-mark.svg") center / contain no-repeat;
  --ct-font-sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ct-font-display: Georgia, "Times New Roman", serif;
  --ct-text-xs: 12px;
  --ct-text-sm: 14px;
  --ct-text-md: 16px;
  --ct-text-lg: 18px;
  --ct-text-xl: 22px;
  --ct-text-2xl: 30px;
  --ct-text-3xl: 44px;
  --ct-space-1: 4px;
  --ct-space-2: 8px;
  --ct-space-3: 12px;
  --ct-space-4: 16px;
  --ct-space-5: 20px;
  --ct-space-6: 24px;
  --ct-space-8: 32px;
  --ct-space-10: 40px;
  --ct-space-12: 48px;
  --ct-space-16: 64px;
  --ct-radius-sm: 4px;
  --ct-radius-md: 6px;
  --ct-radius-lg: 8px;
  --ct-radius-xl: 12px;
  --ct-focus-ring: 0 0 0 3px var(--ct-color-accent);
  @supports (color: color-mix(in lab, red, red)) {
    --ct-focus-ring: 0 0 0 3px color-mix(in srgb, var(--ct-color-accent) 34%, transparent);
  }
  --ct-shadow-subtle: 0 1px 2px rgb(16 33 29 / 6%);
  --ct-shadow-soft: 0 18px 50px rgb(16 33 29 / 9%);
  --ct-shadow-raised: 0 24px 70px rgb(16 33 29 / 13%);
  --ct-status-verified-color: var(--ct-color-success);
  --ct-status-verified-background: var(--ct-color-success-soft);
  --ct-status-review-color: var(--ct-color-warning);
  --ct-status-review-background: var(--ct-color-warning-soft);
  --ct-status-pending-color: var(--ct-color-muted);
  --ct-status-pending-background: var(--ct-color-surface-muted);
  --ct-status-blocking-color: var(--ct-color-danger);
  --ct-status-blocking-background: var(--ct-color-danger-soft);
  --ct-status-info-color: var(--ct-color-info);
  --ct-status-info-background: var(--ct-color-info-soft);
  --ct-status-trust-color: var(--ct-color-trust);
  --ct-status-trust-background: var(--ct-color-trust-soft);
  --ink: var(--ct-color-text);
  --muted: var(--ct-color-muted);
  --line: var(--ct-color-border);
  --paper: var(--ct-color-background);
  --panel: var(--ct-color-surface);
  --teal: var(--ct-color-primary);
  --green: var(--ct-color-success);
  --gold: var(--ct-color-accent);
  --rose: var(--ct-color-danger);
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  min-height: 100%;
}
body {
  background: var(--ct-color-background);
  color: var(--ct-color-text);
  font-family: var(--ct-font-sans);
  font-size: var(--ct-text-md);
  line-height: 1.5;
}
button,
input,
select,
textarea {
  font: inherit;
}
a {
  color: var(--ct-color-primary);
  text-decoration-color: var(--ct-color-primary);
  @supports (color: color-mix(in lab, red, red)) {
    text-decoration-color: color-mix(in srgb, var(--ct-color-primary) 36%, transparent);
  }
  text-underline-offset: 3px;
}
a:hover {
  color: var(--ct-color-primary-strong);
}
:focus-visible {
  outline: 3px solid var(--ct-color-accent);
  @supports (color: color-mix(in lab, red, red)) {
    outline: 3px solid color-mix(in srgb, var(--ct-color-accent) 34%, transparent);
  }
  outline-offset: 3px;
}
::selection {
  background: var(--ct-color-accent-soft);
  color: var(--ct-color-primary-strong);
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@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-border-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
    }
  }
}

/*!**************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./components/ui/ui.css ***!
  \**************************************************************************************************************************************************************************************************************************************************************************/
.ct-active-context-bar {
  align-items: center;
  background: rgb(255 255 255 / 94%);
  border-bottom: 1px solid var(--ct-color-border);
  color: var(--ct-color-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-4);
  justify-content: space-between;
  min-height: 64px;
  padding: var(--ct-space-3) var(--ct-space-8);
}

.ct-active-context-bar__summary {
  display: grid;
  flex: 1 1 220px;
  gap: 2px;
  min-width: 0;
}

.ct-active-context-bar__summary strong {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-sm);
}

.ct-active-context-bar__summary span:not(.ct-active-context-bar__label) {
  font-size: var(--ct-text-sm);
}

.ct-active-context-bar__label {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-active-context-bar__actions {
  align-items: center;
  display: flex;
  flex: 1 1 280px;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  justify-content: flex-end;
  min-width: 0;
}

.ct-shell {
  --ct-shell-sidebar-width: 268px;

  background: var(--ct-background-shell);
  display: grid;
  grid-template-columns: var(--ct-shell-sidebar-width) minmax(0, 1fr);
  min-height: 100vh;
}

.ct-sidebar {
  background:
    linear-gradient(180deg, rgb(6 46 38 / 36%), rgb(6 46 38 / 92%)),
    url("/coritech-assets/equine-line-pattern.svg") center bottom 30px / 330px auto no-repeat,
    var(--ct-background-deep-green);
  border-right: 1px solid rgb(255 255 255 / 10%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: var(--ct-space-6);
  min-height: 100vh;
  padding: var(--ct-space-6);
  position: sticky;
  top: 0;
}

.ct-wordmark {
  align-items: center;
  display: grid;
  gap: var(--ct-space-1);
  grid-template-columns: 42px minmax(0, 1fr);
}

.ct-wordmark::before {
  align-items: center;
  background:
    var(--ct-mark-shield),
    linear-gradient(145deg, rgb(185 133 46 / 20%), rgb(255 253 248 / 8%)),
    rgb(6 46 38 / 84%);
  border: 1px solid var(--ct-color-trust);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-trust);
  content: "";
  display: inline-flex;
  font-family: var(--ct-font-display);
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ct-wordmark span {
  font-family: var(--ct-font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
}

.ct-wordmark small {
  color: rgb(255 255 255 / 64%);
  font-size: var(--ct-text-xs);
  font-weight: 700;
  grid-column: 2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ct-sidebar__nav {
  display: grid;
  gap: var(--ct-space-2);
}

.ct-sidebar__nav a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--ct-radius-md);
  color: rgb(255 255 255 / 76%);
  display: grid;
  font-size: 15px;
  font-weight: 750;
  gap: var(--ct-space-3);
  grid-template-columns: 34px minmax(0, 1fr);
  min-height: 44px;
  padding: 11px 12px;
  text-decoration: none;
}

.ct-sidebar__nav-icon {
  align-items: center;
  background:
    linear-gradient(135deg, rgb(255 253 248 / 18%), rgb(185 133 46 / 13%)),
    rgb(255 253 248 / 8%);
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: var(--ct-radius-md);
  color: var(--ct-color-trust);
  display: inline-flex;
  font-size: 0;
  font-weight: 900;
  height: 30px;
  justify-content: center;
  overflow: hidden;
  position: relative;
  width: 30px;
}

.ct-sidebar__nav-icon > span {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.ct-sidebar__nav-icon::before,
.ct-sidebar__nav-icon::after {
  content: "";
  display: block;
  position: absolute;
}

.ct-sidebar__nav-icon::before {
  border: 2px solid currentColor;
  border-radius: 5px;
  height: 14px;
  width: 14px;
}

.ct-sidebar__nav-icon::after {
  background: currentColor;
  border-radius: 999px;
  height: 4px;
  width: 4px;
}

.ct-sidebar__nav-icon[data-icon-kind="overview"]::before {
  border-radius: 999px;
}

.ct-sidebar__nav-icon[data-icon-kind="overview"]::after {
  box-shadow:
    -6px -6px 0 currentColor,
    6px -6px 0 currentColor,
    -6px 6px 0 currentColor,
    6px 6px 0 currentColor;
}

.ct-sidebar__nav-icon[data-icon-kind="catalog"]::before,
.ct-sidebar__nav-icon[data-icon-kind="document"]::before,
.ct-sidebar__nav-icon[data-icon-kind="passport"]::before {
  border-radius: 3px;
  height: 16px;
  transform: skewY(-5deg);
  width: 12px;
}

.ct-sidebar__nav-icon[data-icon-kind="catalog"]::after,
.ct-sidebar__nav-icon[data-icon-kind="document"]::after,
.ct-sidebar__nav-icon[data-icon-kind="passport"]::after {
  box-shadow: 0 5px 0 currentColor;
  height: 2px;
  left: 10px;
  top: 10px;
  width: 10px;
}

.ct-sidebar__nav-icon[data-icon-kind="order"]::before,
.ct-sidebar__nav-icon[data-icon-kind="support"]::before,
.ct-sidebar__nav-icon[data-icon-kind="amendment"]::before {
  border-radius: 4px;
  height: 15px;
  width: 14px;
}

.ct-sidebar__nav-icon[data-icon-kind="order"]::after,
.ct-sidebar__nav-icon[data-icon-kind="support"]::after,
.ct-sidebar__nav-icon[data-icon-kind="amendment"]::after {
  box-shadow: 0 5px 0 currentColor;
  height: 2px;
  left: 10px;
  top: 10px;
  width: 10px;
}

.ct-sidebar__nav-icon[data-icon-kind="shipment"]::before {
  border-radius: 4px;
  height: 11px;
  transform: translateX(-2px);
  width: 16px;
}

.ct-sidebar__nav-icon[data-icon-kind="shipment"]::after {
  box-shadow: 12px 0 0 currentColor;
  bottom: 6px;
  height: 5px;
  left: 7px;
  width: 5px;
}

.ct-sidebar__nav-icon[data-icon-kind="horse"]::before,
.ct-sidebar__nav-icon[data-icon-kind="listing"]::before {
  border-radius: 999px 999px 6px 6px;
  height: 14px;
  transform: rotate(-10deg);
  width: 16px;
}

.ct-sidebar__nav-icon[data-icon-kind="horse"]::after,
.ct-sidebar__nav-icon[data-icon-kind="listing"]::after {
  height: 9px;
  right: 7px;
  top: 6px;
  width: 5px;
}

.ct-sidebar__nav-icon[data-icon-kind="proof"]::before,
.ct-sidebar__nav-icon[data-icon-kind="audit"]::before,
.ct-sidebar__nav-icon[data-icon-kind="permission"]::before {
  border-radius: 999px;
}

.ct-sidebar__nav-icon[data-icon-kind="proof"]::after,
.ct-sidebar__nav-icon[data-icon-kind="audit"]::after,
.ct-sidebar__nav-icon[data-icon-kind="permission"]::after {
  height: 3px;
  transform: rotate(-45deg);
  width: 10px;
}

.ct-sidebar__nav-icon[data-icon-kind="admin"]::before,
.ct-sidebar__nav-icon[data-icon-kind="user"]::before,
.ct-sidebar__nav-icon[data-icon-kind="role"]::before {
  border-radius: 999px;
  height: 10px;
  top: 6px;
  width: 10px;
}

.ct-sidebar__nav-icon[data-icon-kind="admin"]::after,
.ct-sidebar__nav-icon[data-icon-kind="user"]::after,
.ct-sidebar__nav-icon[data-icon-kind="role"]::after {
  border-radius: 999px 999px 4px 4px;
  height: 8px;
  top: 17px;
  width: 16px;
}

.ct-sidebar__nav a > span:last-child {
  min-width: 0;
  overflow-wrap: break-word;
}

.ct-sidebar__nav a:hover,
.ct-sidebar__nav a[aria-current="page"] {
  background: rgb(255 255 255 / 9%);
  border-color: rgb(255 255 255 / 12%);
  color: #ffffff;
}

.ct-sidebar__nav a[aria-current="page"] {
  background: rgb(255 253 248 / 12%);
  box-shadow: inset 3px 0 0 var(--ct-color-success);
}

.ct-sidebar__trust-card,
.ct-sidebar__account,
.ct-sidebar__status-strip {
  background:
    linear-gradient(180deg, rgb(255 253 248 / 7%), transparent),
    rgb(6 46 38 / 42%);
  border: 1px solid rgb(185 133 46 / 70%);
  border-radius: var(--ct-radius-lg);
  color: rgb(255 253 248 / 78%);
  display: grid;
  font-size: var(--ct-text-sm);
  gap: var(--ct-space-1);
  line-height: 1.55;
  padding: var(--ct-space-5);
}

.ct-sidebar__trust-card {
  margin-top: auto;
}

.ct-sidebar__trust-card span,
.ct-sidebar__status-strip span,
.ct-sidebar__status-strip small,
.ct-sidebar__account span,
.ct-sidebar__account small {
  color: rgb(255 253 248 / 62%);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-sidebar__trust-card strong,
.ct-sidebar__status-strip strong,
.ct-sidebar__account strong {
  color: #ffffff;
  font-size: var(--ct-text-md);
  line-height: 1.2;
}

.ct-sidebar__trust-card small,
.ct-sidebar__status-strip small {
  color: rgb(255 253 248 / 72%);
  font-size: var(--ct-text-sm);
}

.ct-sidebar__status-strip {
  border-color: rgb(47 125 91 / 56%);
  padding: var(--ct-space-4);
}

.ct-shell__body {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.ct-topbar {
  align-items: center;
  background: rgb(255 253 248 / 92%);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--ct-color-border);
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, auto);
  min-height: 68px;
  min-width: 0;
  padding: var(--ct-space-4) var(--ct-space-8);
  position: sticky;
  top: 0;
  z-index: 20;
}

.ct-topbar strong {
  display: block;
  font-size: var(--ct-text-sm);
}

.ct-topbar__identity {
  display: grid;
  gap: 2px;
  min-width: 0;
}

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

.ct-topbar__identity small {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 760;
}

.ct-topbar__label {
  color: var(--ct-color-muted);
  display: block;
  font-size: var(--ct-text-xs);
  font-weight: 800;
  text-transform: uppercase;
}

.ct-topbar__context {
  align-items: center;
  color: var(--ct-color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: var(--ct-text-sm);
  gap: var(--ct-space-2);
  justify-content: flex-end;
}

.ct-topbar__proof {
  display: grid;
  gap: var(--ct-space-2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-topbar__proof span {
  background: rgb(255 253 248 / 78%);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: var(--ct-space-2) var(--ct-space-3);
}

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

.ct-topbar__proof strong {
  color: var(--ct-color-primary-strong);
}

.ct-topbar__proof small {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 800;
}

.ct-context-switcher {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  justify-content: flex-end;
}

.ct-context-switcher label {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-context-switcher select {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border-strong);
  border-radius: var(--ct-radius-md);
  color: var(--ct-color-text);
  min-height: 34px;
  padding: 5px 8px;
}

.ct-topbar__logout {
  display: inline-flex;
}

.ct-topbar__logout .ct-button {
  min-height: 34px;
  padding: 6px 10px;
}

.ct-main {
  display: grid;
  gap: var(--ct-space-6);
  min-width: 0;
  padding: var(--ct-space-8) var(--ct-space-8) var(--ct-space-10);
  position: relative;
}

.ct-main > * {
  max-width: 100%;
  min-width: 0;
}

.ct-page-stack {
  display: grid;
  gap: var(--ct-space-6);
  min-width: 0;
}

.ct-page-header {
  display: grid;
  gap: var(--ct-space-3);
  min-width: 0;
}

.ct-page-header__content {
  align-items: end;
  border-bottom: 1px solid var(--ct-color-border);
  display: flex;
  gap: var(--ct-space-4);
  justify-content: space-between;
  min-width: 0;
  padding-bottom: var(--ct-space-5);
}

.ct-page-header__content > * {
  min-width: 0;
}

.ct-page-header h1,
.ct-state h1 {
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-display);
  font-size: var(--ct-text-3xl);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.12;
  margin: 0;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-page-header p {
  color: var(--ct-color-muted);
  margin: var(--ct-space-2) 0 0;
  max-width: 780px;
}

.ct-page-header__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  margin-top: var(--ct-space-3);
}

.ct-eyebrow {
  color: var(--ct-color-accent);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 var(--ct-space-1);
  text-transform: uppercase;
}

.ct-breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-breadcrumbs li {
  align-items: center;
  color: var(--ct-color-muted);
  display: flex;
  font-size: var(--ct-text-sm);
  gap: var(--ct-space-2);
}

.ct-breadcrumbs li:not(:last-child)::after {
  color: var(--ct-color-border-strong);
  content: "/";
}

.ct-breadcrumbs a {
  font-weight: 700;
  text-decoration: none;
}

.ct-card {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: 0 10px 34px rgb(16 33 29 / 6%);
  overflow: hidden;
}

.ct-section-header {
  align-items: center;
  border-bottom: 1px solid var(--ct-color-border);
  display: flex;
  gap: var(--ct-space-4);
  justify-content: space-between;
  padding: var(--ct-space-4) var(--ct-space-5);
}

.ct-section-header > div {
  min-width: 0;
}

.ct-section-header h2 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  letter-spacing: 0;
  line-height: 1.2;
  margin: 0;
}

.ct-section-header p {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  margin: var(--ct-space-1) 0 0;
  overflow-wrap: break-word;
}

.ct-section-header__meta {
  align-items: center;
  color: var(--ct-color-muted);
  display: flex;
  flex-wrap: wrap;
  font-size: var(--ct-text-sm);
  font-weight: 750;
  gap: var(--ct-space-2);
  justify-content: flex-end;
}

.ct-action-bar {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  justify-content: flex-end;
  min-width: 0;
}

.ct-action-bar > *,
.ct-form-actions > * {
  min-width: 0;
}

.ct-action-bar > form,
.ct-form-actions > form {
  display: inline-flex;
  flex: 0 1 auto;
  max-width: 100%;
}

.ct-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--ct-radius-md);
  cursor: pointer;
  display: inline-flex;
  font-weight: 800;
  justify-content: center;
  max-width: 100%;
  min-height: 40px;
  min-width: 0;
  overflow-wrap: break-word;
  padding: 9px 13px;
  text-align: center;
  text-decoration: none;
  white-space: normal;
  transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
}

.ct-icon-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--ct-radius-md);
  cursor: pointer;
  display: inline-flex;
  font-weight: 850;
  height: 40px;
  justify-content: center;
  line-height: 1;
  min-width: 40px;
  padding: 0;
}

.ct-button--primary {
  background: var(--ct-color-primary);
  border-color: var(--ct-color-primary);
  color: #ffffff;
}

.ct-button--primary:hover {
  background: var(--ct-color-primary-strong);
  color: #ffffff;
}

.ct-button--secondary {
  background: var(--ct-color-surface);
  border-color: var(--ct-color-border-strong);
  color: var(--ct-color-primary);
}

.ct-button--secondary:hover {
  background: var(--ct-color-surface-muted);
  color: var(--ct-color-primary-strong);
}

.ct-button--ghost {
  background: transparent;
  color: var(--ct-color-primary);
}

.ct-button--ghost:hover {
  background: var(--ct-color-surface-muted);
  color: var(--ct-color-primary-strong);
}

.ct-button--danger {
  background: var(--ct-color-danger);
  border-color: var(--ct-color-danger);
  color: #ffffff;
}

.ct-button:disabled,
.ct-button[aria-disabled="true"] {
  background: #eef0f1;
  border-color: var(--ct-color-border);
  color: var(--ct-color-muted);
  cursor: not-allowed;
}

.ct-badge {
  align-items: center;
  border: 1px solid var(--ct-color-border);
  border-radius: 999px;
  display: inline-flex;
  flex: 0 1 auto;
  font-size: var(--ct-text-xs);
  font-weight: 850;
  gap: 6px;
  line-height: 1.15;
  max-width: 100%;
  min-height: 26px;
  min-width: 0;
  overflow-wrap: anywhere;
  padding: 5px 9px;
  text-transform: uppercase;
  white-space: normal;
  word-break: break-word;
}

.ct-badge > span {
  flex: 0 0 auto;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ct-badge--neutral {
  background: var(--ct-color-surface-muted);
  color: var(--ct-color-muted);
}

.ct-badge--success {
  background: var(--ct-color-success-soft);
  border-color: color-mix(in srgb, var(--ct-color-success) 28%, transparent);
  color: var(--ct-color-success);
}

.ct-badge--warning,
.ct-badge--accent {
  background: var(--ct-color-warning-soft);
  border-color: color-mix(in srgb, var(--ct-color-warning) 30%, transparent);
  color: var(--ct-color-warning);
}

.ct-badge--danger {
  background: var(--ct-color-danger-soft);
  border-color: color-mix(in srgb, var(--ct-color-danger) 28%, transparent);
  color: var(--ct-color-danger);
}

.ct-badge--info {
  background: var(--ct-color-info-soft);
  border-color: color-mix(in srgb, var(--ct-color-info) 28%, transparent);
  color: var(--ct-color-info);
}

.ct-badge__dot {
  background: currentColor;
  border-radius: 999px;
  flex: 0 0 auto;
  height: 6px;
  width: 6px;
}

.ct-badge--status .ct-badge__dot {
  box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 16%, transparent);
}

.ct-tabs {
  align-items: center;
  background: color-mix(in srgb, var(--ct-color-surface-muted) 72%, transparent);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-1);
  padding: var(--ct-space-1);
  width: fit-content;
}

.ct-tabs__tab {
  align-items: center;
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--ct-radius-md);
  color: var(--ct-color-muted);
  cursor: pointer;
  display: inline-flex;
  font-size: var(--ct-text-sm);
  font-weight: 850;
  gap: var(--ct-space-2);
  min-height: 36px;
  padding: 7px 11px;
  text-decoration: none;
}

.ct-tabs__tab:hover {
  background: var(--ct-color-surface);
  color: var(--ct-color-primary-strong);
}

.ct-tabs__tab[aria-selected="true"] {
  background: var(--ct-color-surface);
  border-color: var(--ct-color-border-strong);
  box-shadow: var(--ct-shadow-subtle);
  color: var(--ct-color-primary-strong);
}

.ct-tabs__tab:disabled,
.ct-tabs__tab[aria-disabled="true"] {
  color: var(--ct-color-muted);
  cursor: not-allowed;
  opacity: 0.56;
}

.ct-tabs__badge {
  display: inline-flex;
}

.ct-metric-grid {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.ct-metric-card,
.ct-data-panel {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-2);
  min-width: 0;
  min-height: 112px;
  padding: var(--ct-space-4);
}

.ct-metric-card span,
.ct-data-panel span,
.ct-field label,
.ct-description-list dt,
.ct-table th {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-metric-card strong,
.ct-data-panel strong {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-xl);
  line-height: 1.18;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-metric-card p,
.ct-data-panel p {
  color: var(--ct-color-muted);
  margin: 0;
}

.ct-data-panel--long strong,
.ct-data-panel--reference strong {
  font-size: var(--ct-text-base);
}

.ct-data-panel__value,
.ct-data-panel--long .ct-data-panel__value,
.ct-data-panel--reference .ct-data-panel__value {
  color: var(--ct-color-text);
  font-size: var(--ct-text-sm);
  font-weight: 650;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-data-panel--reference .ct-data-panel__value {
  font-weight: 600;
}

.ct-status-description {
  color: var(--ct-color-muted);
  display: grid;
  gap: var(--ct-space-1);
}

.ct-status-description p {
  margin: 0;
}

.ct-card-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
}

.ct-section-divider {
  border-top: 1px solid var(--ct-color-border);
  display: grid;
  gap: var(--ct-space-4);
  margin-top: var(--ct-space-5);
  padding-top: var(--ct-space-5);
}

.ct-detail-grid {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  padding: var(--ct-space-5);
}

.ct-card > p {
  color: var(--ct-color-muted);
  margin: 0;
  overflow-wrap: break-word;
  padding: var(--ct-space-5) var(--ct-space-5) 0;
}

.ct-card > p + .ct-detail-grid {
  padding-top: var(--ct-space-4);
}

.ct-record-card {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-4);
  padding: var(--ct-space-5);
}

.ct-record-card + .ct-record-card {
  border-left: 1px solid var(--ct-color-border);
}

.ct-record-card__header {
  align-items: start;
  display: flex;
  gap: var(--ct-space-3);
  justify-content: space-between;
}

.ct-record-card h3 {
  font-size: var(--ct-text-lg);
  line-height: 1.2;
  margin: 0;
}

.ct-record-card h3 a {
  text-decoration: none;
}

.ct-description-list {
  display: grid;
  gap: var(--ct-space-3);
  margin: 0;
}

.ct-card > .ct-description-list,
.ct-card > .ct-data-panel,
.ct-card > .ct-form-actions {
  padding: var(--ct-space-5);
}

.ct-card > .ct-data-panel {
  border: 0;
  border-radius: 0;
  min-height: auto;
}

.ct-card > .ct-form-actions {
  border-top: 1px solid var(--ct-color-border);
}

.ct-description-list--grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-description-list--compact {
  gap: var(--ct-space-2);
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.ct-description-list div {
  display: grid;
  gap: var(--ct-space-1);
  min-width: 0;
}

.ct-description-list dd {
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-form-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  min-width: 0;
  padding: var(--ct-space-5);
}

.ct-form-grid--filters {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.ct-field {
  display: grid;
  gap: var(--ct-space-2);
  min-width: 0;
}

.ct-field p {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  margin: 0;
}

.ct-input,
.ct-select,
.ct-textarea {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border-strong);
  border-radius: var(--ct-radius-md);
  box-sizing: border-box;
  color: var(--ct-color-text);
  min-height: 40px;
  min-width: 0;
  padding: 8px 10px;
  width: 100%;
}

.ct-check {
  align-items: start;
  color: var(--ct-color-text);
  display: flex;
  gap: var(--ct-space-2);
  min-width: 0;
}

.ct-check input {
  accent-color: var(--ct-color-primary);
  margin-top: 3px;
}

.ct-toggle {
  align-items: center;
  color: var(--ct-color-text);
  cursor: pointer;
  display: inline-flex;
  gap: var(--ct-space-2);
}

.ct-toggle input {
  clip: rect(0 0 0 0);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.ct-toggle > span {
  background: var(--ct-color-border-strong);
  border-radius: 999px;
  display: inline-flex;
  height: 24px;
  padding: 3px;
  transition: background-color 140ms ease;
  width: 44px;
}

.ct-toggle > span::before {
  background: var(--ct-color-surface);
  border-radius: 999px;
  box-shadow: var(--ct-shadow-subtle);
  content: "";
  display: block;
  height: 18px;
  transition: transform 140ms ease;
  width: 18px;
}

.ct-toggle input:checked + span {
  background: var(--ct-color-primary);
}

.ct-toggle input:checked + span::before {
  transform: translateX(20px);
}

.ct-toggle input:focus-visible + span,
.ct-check input:focus-visible {
  box-shadow: var(--ct-focus-ring);
}

.ct-textarea {
  min-height: 104px;
  resize: vertical;
}

.ct-input:hover,
.ct-select:hover,
.ct-textarea:hover {
  border-color: var(--ct-color-primary);
}

.ct-field--wide,
.ct-form-actions {
  grid-column: 1 / -1;
}

.ct-form-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  justify-content: flex-start;
  min-width: 0;
}

.ct-wizard-stepper {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-wizard-stepper li {
  align-items: center;
  background: transparent;
  border-bottom: 1px solid var(--ct-color-border);
  border-radius: 0;
  display: flex;
  gap: var(--ct-space-3);
  min-width: 0;
  padding: var(--ct-space-3) 0;
  position: relative;
}

.ct-wizard-stepper li + li::before {
  background: var(--ct-color-border-strong);
  content: "";
  height: 1px;
  left: -46%;
  position: absolute;
  right: calc(100% - 34px);
  top: 50%;
}

.ct-wizard-stepper span {
  align-items: center;
  background: var(--ct-color-primary);
  border-radius: 999px;
  color: #ffffff;
  display: inline-flex;
  flex: 0 0 auto;
  font-weight: 850;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.ct-wizard-stepper strong {
  color: var(--ct-color-primary-strong);
  min-width: 0;
}

.ct-order-summary-strip {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
}

.ct-order-summary-strip__tile {
  display: grid;
  gap: var(--ct-space-1);
  min-height: 116px;
  padding: var(--ct-space-5);
}

.ct-order-summary-strip__tile + .ct-order-summary-strip__tile {
  border-left: 1px solid var(--ct-color-border);
}

.ct-order-summary-strip__tile span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-order-summary-strip__tile strong {
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-display);
  font-size: var(--ct-text-lg);
  line-height: 1.15;
}

.ct-order-summary-strip__tile small {
  color: var(--ct-color-muted);
}

.ct-wizard-step-panel {
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-sizing: border-box;
  display: grid;
  gap: var(--ct-space-4);
  grid-column: 1 / -1;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 210px), 1fr));
  margin: 0;
  max-width: 100%;
  min-width: 0;
  padding: var(--ct-space-4);
}

.ct-wizard-step-panel > * {
  min-width: 0;
}

.ct-wizard-step-panel legend {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-sm);
  font-weight: 850;
  padding: 0 var(--ct-space-2);
}

.ct-table-wrap {
  border-radius: var(--ct-radius-md);
  max-width: 100%;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  position: relative;
  scrollbar-gutter: stable;
  -webkit-overflow-scrolling: touch;
}

.ct-table-wrap:focus-within {
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--ct-color-primary) 16%, transparent);
  outline: 1px solid color-mix(in srgb, var(--ct-color-primary) 32%, transparent);
}

.ct-pagination {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  justify-content: flex-end;
}

.ct-pagination span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  font-weight: 700;
}

.ct-table {
  border-collapse: collapse;
  font-size: var(--ct-text-sm);
  min-width: 760px;
  table-layout: auto;
  width: 100%;
}

.ct-table--wide,
.ct-table--audit {
  min-width: 980px;
}

.ct-table--dense {
  min-width: 680px;
}

.ct-table th,
.ct-table td {
  border-bottom: 1px solid var(--ct-color-border);
  max-width: 34ch;
  overflow-wrap: anywhere;
  padding: 13px var(--ct-space-5);
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.ct-table th {
  white-space: nowrap;
}

.ct-table tbody tr:last-child td {
  border-bottom: 0;
}

.ct-table td a {
  font-weight: 800;
  text-decoration: none;
}

.ct-table-cell-stack {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.ct-table-cell-stack strong,
.ct-table-cell-stack span,
.ct-table-cell-stack small {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ct-table-cell-stack small {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
}

.ct-table-action-form {
  align-items: start;
  display: grid;
  gap: var(--ct-space-2);
  min-width: 180px;
}

.ct-row-details {
  display: grid;
  gap: var(--ct-space-2);
}

.ct-row-details summary {
  color: var(--ct-color-primary);
  cursor: pointer;
  font-weight: 850;
}

.ct-row-details > div {
  background: var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  display: grid;
  gap: var(--ct-space-2);
  min-width: 0;
  padding: var(--ct-space-3);
}

.ct-row-details__actions {
  align-items: stretch;
  display: grid;
  gap: var(--ct-space-2);
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.ct-row-details__actions > *,
.ct-row-details__actions > form {
  width: 100%;
}

.ct-row-details__actions .ct-table-action-form {
  min-width: 0;
}

.ct-row-details pre {
  margin: 0;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: normal;
}

.ct-reference-value,
.ct-long-value {
  display: inline-block;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ct-reference-value {
  background: color-mix(in srgb, var(--ct-color-surface-muted) 82%, transparent);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-sm, 4px);
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-mono, ui-monospace, SFMono-Regular, Menlo, Consolas, monospace);
  font-size: var(--ct-text-xs);
  line-height: 1.45;
  padding: 2px 5px;
  text-transform: none;
  white-space: normal;
}

.ct-reference-value--full {
  display: block;
  box-sizing: border-box;
  justify-self: stretch;
  margin-top: var(--ct-space-1);
  width: 100%;
}

.ct-reference-summary {
  display: grid;
  gap: var(--ct-space-1);
  max-width: 100%;
  width: 100%;
}

.ct-reference-summary summary {
  align-items: center;
  cursor: pointer;
  display: inline-flex;
  flex-wrap: wrap;
  gap: var(--ct-space-1);
  max-width: 100%;
}

.ct-reference-summary:not([open]) > :not(summary) {
  display: none;
}

.ct-reference-summary summary > span:first-child,
.ct-reference-summary__empty {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 750;
  text-transform: none;
}

.ct-description-list dd > .ct-reference-summary + .ct-reference-summary,
.ct-description-list dd > .ct-long-value + .ct-reference-summary,
.ct-description-list dd > .ct-reference-summary + .ct-long-value {
  margin-top: var(--ct-space-1);
}

.ct-table--audit .ct-reference-value {
  white-space: normal;
}

.ct-catalog-results-toolbar {
  align-items: center;
  border-bottom: 1px solid var(--ct-color-border);
  display: flex;
  gap: var(--ct-space-4);
  justify-content: space-between;
  padding: var(--ct-space-5);
}

.ct-catalog-results-toolbar > div {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
}

.ct-catalog-results-toolbar strong {
  color: var(--ct-color-primary-strong);
}

.ct-catalog-results-toolbar span,
.ct-catalog-results-toolbar label {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-catalog-results-toolbar select {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  min-height: 40px;
  padding: 8px 34px 8px 10px;
}

.ct-catalog-list {
  display: grid;
  gap: var(--ct-space-3);
  padding: var(--ct-space-4);
}

.ct-catalog-listing-row {
  align-items: stretch;
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: 220px minmax(220px, 1.05fr) minmax(160px, 0.72fr) minmax(200px, 0.86fr) minmax(160px, 0.62fr);
  padding: var(--ct-space-4);
}

.ct-catalog-thumb {
  align-items: center;
  background:
    url("/coritech-assets/horse-passport-mark.svg") center / 84% no-repeat,
    linear-gradient(145deg, rgb(20 107 82 / 18%), rgb(122 67 30 / 16%)),
    var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border-strong);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-primary-strong);
  display: inline-flex;
  font-family: var(--ct-font-display);
  font-size: var(--ct-text-2xl);
  font-weight: 800;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ct-catalog-thumb > span,
.ct-catalog-shortlist article .ct-catalog-thumb {
  font-size: 0;
}

.ct-catalog-thumb > span {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.ct-catalog-thumb--large {
  aspect-ratio: 5 / 4;
  min-height: 176px;
}

.ct-catalog-listing-row__identity,
.ct-catalog-listing-row__terms,
.ct-catalog-listing-row__trust,
.ct-catalog-listing-row__actions {
  display: grid;
  gap: var(--ct-space-2);
  min-width: 0;
}

.ct-catalog-listing-row__terms,
.ct-catalog-listing-row__trust,
.ct-catalog-listing-row__actions {
  border-left: 1px solid var(--ct-color-border);
  padding-left: var(--ct-space-4);
}

.ct-catalog-listing-row h3 {
  font-family: var(--ct-font-display);
  font-size: var(--ct-text-xl);
  line-height: 1.1;
  margin: 0;
}

.ct-catalog-listing-row h3 a {
  color: var(--ct-color-primary-strong);
  text-decoration: none;
}

.ct-catalog-listing-row p,
.ct-catalog-listing-row small,
.ct-catalog-listing-row__terms span,
.ct-catalog-listing-row__trust span,
.ct-catalog-listing-row__identity > span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  margin: 0;
}

.ct-catalog-listing-row__terms strong,
.ct-catalog-listing-row__trust strong {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
}

.ct-catalog-listing-row__actions {
  align-content: center;
}

.ct-catalog-listing-row__actions .ct-button {
  width: 100%;
}

.ct-catalog-shortlist {
  align-items: center;
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(160px, 0.45fr) repeat(3, minmax(170px, 1fr)) minmax(150px, 0.4fr);
  padding: var(--ct-space-4);
}

.ct-catalog-shortlist h2 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  margin: 0;
}

.ct-catalog-shortlist article {
  align-items: center;
  border-left: 1px solid var(--ct-color-border);
  display: grid;
  gap: 0 var(--ct-space-3);
  grid-template-columns: 64px minmax(0, 1fr);
  min-width: 0;
  padding-left: var(--ct-space-4);
}

.ct-catalog-shortlist article .ct-catalog-thumb {
  grid-row: span 2;
  height: 54px;
  width: 64px;
}

.ct-catalog-shortlist small {
  color: var(--ct-color-muted);
}

.ct-dialog {
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-lg);
  max-width: min(520px, calc(100vw - 32px));
  padding: 0;
  width: 100%;
}

.ct-dialog::backdrop {
  background: rgb(15 23 42 / 0.42);
}

.ct-dialog__body {
  background: var(--ct-color-surface);
  display: grid;
  gap: var(--ct-space-4);
  padding: var(--ct-space-6);
}

.ct-dialog__body header {
  display: grid;
  gap: var(--ct-space-2);
}

.ct-dialog__body h2,
.ct-dialog__body p {
  margin: 0;
}

.ct-state {
  align-content: center;
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-3);
  justify-items: start;
  min-height: 220px;
  padding: var(--ct-space-6);
}

.ct-state h3 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  margin: 0;
}

.ct-state p {
  color: var(--ct-color-muted);
  margin: 0;
  max-width: 680px;
}

.ct-state--empty {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  min-height: 140px;
}

.ct-state--error {
  background: var(--ct-color-danger-soft);
  border-color: color-mix(in srgb, var(--ct-color-danger) 30%, transparent);
}

.ct-error-recovery {
  align-items: start;
  background:
    linear-gradient(180deg, rgb(255 253 248 / 96%), rgb(255 253 248 / 88%)),
    var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-soft);
  display: grid;
  gap: var(--ct-space-5);
  grid-template-columns: 44px minmax(0, 1fr);
  padding: var(--ct-space-6);
}

.ct-error-recovery__marker {
  align-items: center;
  background: var(--ct-color-danger-soft);
  border: 1px solid color-mix(in srgb, var(--ct-color-danger) 28%, transparent);
  border-radius: 999px;
  color: var(--ct-color-danger);
  display: inline-flex;
  font-size: var(--ct-text-lg);
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.ct-error-recovery__body {
  display: grid;
  gap: var(--ct-space-3);
  justify-items: start;
}

.ct-error-recovery h1 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-2xl);
  line-height: 1.12;
  margin: 0;
}

.ct-error-recovery p {
  color: var(--ct-color-muted);
  margin: 0;
  max-width: 760px;
}

.ct-error-recovery__reference {
  background: var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  color: var(--ct-color-text) !important;
  font-size: var(--ct-text-sm);
  padding: var(--ct-space-2) var(--ct-space-3);
}

.ct-error-recovery__actions {
  justify-content: start;
  margin-top: var(--ct-space-2);
}

.ct-access-recovery {
  background:
    linear-gradient(180deg, rgb(6 46 38 / 96%) 0 132px, rgb(255 253 248 / 0%) 132px),
    url("/coritech-assets/equine-line-pattern.svg") right 8vw top 158px / min(42vw, 520px) auto no-repeat,
    url("/coritech-assets/parchment-grain.svg") 0 0 / 180px 180px repeat,
    var(--ct-color-background);
  display: grid;
  gap: var(--ct-space-10);
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding-bottom: var(--ct-space-8);
}

.ct-access-recovery__topbar {
  align-items: center;
  color: var(--ct-color-paper);
  display: flex;
  justify-content: space-between;
  min-height: 132px;
  padding: var(--ct-space-6) clamp(var(--ct-space-5), 5vw, 72px);
}

.ct-access-recovery__brand {
  align-items: center;
  color: var(--ct-color-paper);
  display: grid;
  gap: 0 var(--ct-space-3);
  grid-template-columns: 58px minmax(0, auto);
  text-decoration: none;
}

.ct-access-recovery__brand span {
  align-items: center;
  background:
    var(--ct-mark-shield),
    rgb(6 46 38 / 62%);
  border: 1px solid var(--ct-color-trust);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-trust);
  display: inline-flex;
  font-family: var(--ct-font-display);
  font-size: var(--ct-text-lg);
  font-weight: 800;
  height: 58px;
  justify-content: center;
  text-indent: -999px;
  overflow: hidden;
  width: 58px;
}

.ct-access-recovery__brand strong {
  color: var(--ct-color-paper);
  font-family: var(--ct-font-display);
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.ct-access-recovery__brand small {
  color: var(--ct-color-trust);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  grid-column: 2;
  text-transform: uppercase;
}

.ct-access-recovery__panel {
  align-content: start;
  background:
    linear-gradient(180deg, rgb(255 253 248 / 98%), rgb(255 253 248 / 94%)),
    url("/coritech-assets/parchment-grain.svg") 0 0 / 180px 180px repeat,
    var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-soft);
  display: grid;
  gap: var(--ct-space-4);
  justify-items: center;
  margin: 0 auto;
  max-width: 720px;
  padding: var(--ct-space-8);
  text-align: center;
  width: min(720px, calc(100% - 32px));
}

.ct-access-recovery__marker {
  align-items: center;
  background:
    var(--ct-mark-seal),
    var(--ct-color-surface);
  border: 2px solid var(--ct-color-trust);
  border-radius: 999px;
  color: var(--ct-color-accent);
  display: inline-flex;
  height: 76px;
  justify-content: center;
  width: 76px;
}

.ct-access-recovery__marker span {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  font-size: 11px;
  font-weight: 900;
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.ct-access-recovery__panel h1 {
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-display);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.08;
  margin: 0;
}

.ct-access-recovery__panel p {
  color: var(--ct-color-text);
  font-size: var(--ct-text-lg);
  margin: 0;
}

.ct-access-recovery__reference {
  background: var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  color: var(--ct-color-accent) !important;
  font-weight: 800;
  padding: var(--ct-space-3) var(--ct-space-5);
  width: min(100%, 520px);
}

.ct-access-recovery__actions {
  display: grid;
  gap: var(--ct-space-3);
  width: min(100%, 520px);
}

.ct-access-recovery__actions .ct-button {
  width: 100%;
}

.ct-access-recovery__separator {
  align-items: center;
  color: var(--ct-color-muted);
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: 1fr auto 1fr;
  width: min(100%, 520px);
}

.ct-access-recovery__separator::before,
.ct-access-recovery__separator::after {
  background: var(--ct-color-border);
  content: "";
  height: 1px;
}

.ct-access-recovery__safe-note {
  align-items: start;
  background: var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-2);
  grid-template-columns: 42px minmax(0, 1fr);
  margin-top: var(--ct-space-3);
  padding: var(--ct-space-4);
  text-align: left;
  width: min(100%, 520px);
}

.ct-access-recovery__safe-note::before {
  align-items: center;
  border: 1px solid var(--ct-color-success);
  border-radius: 999px;
  color: var(--ct-color-success);
  content: "OK";
  display: inline-flex;
  font-size: 11px;
  font-weight: 900;
  height: 34px;
  justify-content: center;
  width: 34px;
}

.ct-access-recovery__safe-note strong,
.ct-access-recovery__safe-note span {
  grid-column: 2;
}

.ct-access-recovery__safe-note span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-access-recovery__help {
  align-items: center;
  background: rgb(255 253 248 / 90%);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-subtle);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-4) var(--ct-space-6);
  margin: 0 auto;
  padding: var(--ct-space-4) var(--ct-space-6);
  width: min(1160px, calc(100% - 32px));
}

.ct-access-recovery__help a,
.ct-access-recovery__help span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-access-recovery__help span {
  margin-left: auto;
}

.ct-skeleton-grid {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(3, minmax(80px, 1fr));
  width: min(640px, 100%);
}

.ct-skeleton-grid span {
  animation: ct-pulse 1.3s ease-in-out infinite;
  background: var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  height: 92px;
}

.ct-alert,
.ct-notice {
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: flex;
  gap: var(--ct-space-4);
  justify-content: space-between;
  padding: var(--ct-space-5);
}

.ct-alert h2,
.ct-notice h2 {
  font-size: var(--ct-text-lg);
  margin: 0 0 var(--ct-space-2);
}

.ct-notice__body {
  display: grid;
  gap: var(--ct-space-2);
}

.ct-notice__body h2 {
  margin: 0;
}

.ct-alert p,
.ct-notice p,
.ct-alert__body,
.ct-notice__body > ul {
  color: var(--ct-color-muted);
  margin: 0;
}

.ct-alert ul,
.ct-notice ul {
  margin: 0;
  padding-left: var(--ct-space-5);
}

.ct-validation-list {
  display: grid;
  gap: var(--ct-space-1);
}

.ct-validation-list strong {
  color: var(--ct-color-danger);
}

.ct-form-error {
  color: var(--ct-color-danger);
  font-size: var(--ct-text-sm);
  font-weight: 700;
  margin: 0;
}

.ct-alert--danger,
.ct-notice--danger {
  background: var(--ct-color-danger-soft);
  border-color: color-mix(in srgb, var(--ct-color-danger) 30%, transparent);
}

.ct-alert--danger h2,
.ct-notice--danger h2 {
  color: var(--ct-color-danger);
}

.ct-alert--warning,
.ct-notice--warning,
.ct-alert--accent,
.ct-notice--accent {
  background: var(--ct-color-warning-soft);
  border-color: color-mix(in srgb, var(--ct-color-warning) 30%, transparent);
}

.ct-alert--warning h2,
.ct-notice--warning h2,
.ct-alert--accent h2,
.ct-notice--accent h2 {
  color: var(--ct-color-warning);
}

.ct-alert--info,
.ct-notice--info {
  background: var(--ct-color-info-soft);
  border-color: color-mix(in srgb, var(--ct-color-info) 28%, transparent);
}

.ct-alert--info h2,
.ct-notice--info h2 {
  color: var(--ct-color-info);
}

.ct-alert--success,
.ct-notice--success {
  background: var(--ct-color-success-soft);
  border-color: color-mix(in srgb, var(--ct-color-success) 28%, transparent);
}

.ct-alert--success h2,
.ct-notice--success h2 {
  color: var(--ct-color-success);
}

.ct-toast {
  align-items: start;
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-raised);
  display: grid;
  gap: var(--ct-space-1);
  max-width: 420px;
  padding: var(--ct-space-4);
}

.ct-toast strong {
  color: var(--ct-color-primary-strong);
}

.ct-toast span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-toast--danger {
  background: var(--ct-color-danger-soft);
  border-color: color-mix(in srgb, var(--ct-color-danger) 30%, transparent);
}

.ct-toast--warning {
  background: var(--ct-color-warning-soft);
  border-color: color-mix(in srgb, var(--ct-color-warning) 30%, transparent);
}

.ct-toast--success {
  background: var(--ct-color-success-soft);
  border-color: color-mix(in srgb, var(--ct-color-success) 28%, transparent);
}

.ct-state__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  padding: 0 var(--ct-space-6) var(--ct-space-6);
}

.ct-proof-list {
  display: grid;
  list-style: none;
  margin: 0;
  padding: var(--ct-space-5);
}

.ct-proof-event {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: 18px minmax(0, 1fr);
  position: relative;
}

.ct-proof-event + .ct-proof-event {
  margin-top: var(--ct-space-5);
}

.ct-proof-event + .ct-proof-event::before {
  background: var(--ct-color-border);
  content: "";
  height: calc(100% + var(--ct-space-5));
  left: 8px;
  position: absolute;
  top: calc(-1 * var(--ct-space-5));
  width: 1px;
}

.ct-proof-event__marker {
  background: var(--ct-color-accent);
  border: 4px solid var(--ct-color-accent-soft);
  border-radius: 999px;
  height: 18px;
  margin-top: 4px;
  position: relative;
  width: 18px;
  z-index: 1;
}

.ct-proof-event__body {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-4);
  padding: var(--ct-space-4);
}

.ct-proof-event__header {
  align-items: start;
  display: flex;
  gap: var(--ct-space-4);
  justify-content: space-between;
}

.ct-proof-event__header h3 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  line-height: 1.2;
  margin: 0;
}

.ct-proof-event__header p {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  margin: var(--ct-space-1) 0 0;
}

.ct-proof-event__meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
}

.ct-app-shell {
  background: var(--ct-color-background);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.ct-app-shell__body {
  display: grid;
  grid-template-rows: auto 1fr;
  min-width: 0;
}

.ct-app-shell__main {
  display: grid;
  gap: var(--ct-space-6);
  min-width: 0;
  padding: var(--ct-space-8);
}

.ct-layout-sidebar {
  background: var(--ct-layout-nav-surface, var(--ct-color-navigation));
  border-right: 1px solid rgb(255 253 248 / 12%);
  color: var(--ct-layout-nav-text, var(--ct-color-paper));
  display: grid;
  gap: var(--ct-space-8);
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding: var(--ct-space-6);
}

.ct-layout-sidebar__brand {
  display: grid;
  gap: var(--ct-space-1);
}

.ct-layout-sidebar__brand strong {
  color: var(--ct-layout-nav-text, var(--ct-color-paper));
  font-size: var(--ct-text-xl);
  line-height: 1.1;
}

.ct-layout-sidebar__brand span,
.ct-layout-sidebar__footer {
  color: var(--ct-layout-nav-muted, var(--ct-color-navigation-muted));
  font-size: var(--ct-text-xs);
  font-weight: 800;
  text-transform: uppercase;
}

.ct-layout-sidebar__nav {
  align-content: start;
  display: grid;
  gap: var(--ct-space-1);
}

.ct-layout-sidebar__nav a {
  align-items: center;
  border: 1px solid transparent;
  border-radius: var(--ct-radius-md);
  color: var(--ct-layout-nav-muted, var(--ct-color-navigation-muted));
  display: flex;
  font-size: var(--ct-text-sm);
  font-weight: 800;
  gap: var(--ct-space-2);
  justify-content: space-between;
  min-height: 42px;
  min-width: 0;
  padding: 9px 12px;
  text-decoration: none;
}

.ct-layout-sidebar__nav a > span:first-child {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-layout-sidebar__nav .ct-badge {
  flex: 0 1 auto;
}

.ct-layout-sidebar__nav a:hover,
.ct-layout-sidebar__nav a[aria-current="page"] {
  background: rgb(255 253 248 / 9%);
  border-color: rgb(255 253 248 / 14%);
  color: var(--ct-layout-nav-text, var(--ct-color-paper));
}

.ct-layout-sidebar__nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--ct-layout-nav-active, var(--ct-color-trust));
}

.ct-layout-topbar {
  align-items: center;
  background: rgb(255 253 248 / 92%);
  border-bottom: 1px solid var(--ct-color-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-4);
  justify-content: space-between;
  min-height: 72px;
  padding: var(--ct-space-4) var(--ct-space-8);
}

.ct-layout-topbar__context {
  align-items: center;
  display: flex;
  flex: 1 1 260px;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  min-width: 0;
}

.ct-layout-topbar__context span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-layout-topbar__context strong {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-sm);
}

.ct-layout-topbar__actions {
  flex: 1 1 260px;
  justify-content: flex-end;
  min-width: 0;
}

.ct-public-shell {
  background: var(--ct-color-background);
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
}

.ct-public-shell__header {
  align-items: center;
  background: rgb(255 253 248 / 90%);
  border-bottom: 1px solid var(--ct-color-border);
  display: flex;
  gap: var(--ct-space-4);
  justify-content: space-between;
  min-height: 72px;
  padding: var(--ct-space-4) clamp(var(--ct-space-5), 5vw, 72px);
}

.ct-public-shell__brand {
  color: var(--ct-color-primary-strong);
  display: grid;
  gap: 2px;
  text-decoration: none;
}

.ct-public-shell__brand strong {
  font-size: var(--ct-text-lg);
  line-height: 1.1;
}

.ct-public-shell__brand span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-public-shell__nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  justify-content: flex-end;
}

.ct-public-shell__main {
  display: grid;
}

.ct-role-shell {
  display: grid;
  gap: var(--ct-space-6);
  padding: clamp(var(--ct-space-6), 5vw, var(--ct-space-16));
}

.ct-role-shell__header {
  display: grid;
  gap: var(--ct-space-2);
  max-width: 780px;
}

.ct-role-shell__header p {
  color: var(--ct-color-trust);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  margin: 0;
  text-transform: uppercase;
}

.ct-role-shell__header h1 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-3xl);
  line-height: 1.05;
  margin: 0;
}

.ct-role-shell__header span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-lg);
}

.ct-role-shell__grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.ct-home {
  background: var(--ct-background-parchment);
  display: grid;
  min-height: 100vh;
  overflow-x: clip;
}

.ct-home__topnav {
  align-items: center;
  background: rgb(255 253 248 / 92%);
  border-bottom: 1px solid var(--ct-color-border);
  display: grid;
  gap: var(--ct-space-5);
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) max-content;
  padding: var(--ct-space-5) clamp(var(--ct-space-5), 4vw, 48px);
}

.ct-home__brand {
  align-items: center;
  color: var(--ct-color-primary-strong);
  display: grid;
  gap: 0 var(--ct-space-3);
  grid-template-columns: 44px minmax(0, auto);
  text-decoration: none;
}

.ct-home__brand span {
  align-items: center;
  background:
    var(--ct-mark-shield),
    linear-gradient(145deg, rgb(185 133 46 / 20%), rgb(6 46 38 / 94%)),
    var(--ct-color-primary-strong);
  border: 1px solid var(--ct-color-trust);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-trust);
  display: inline-flex;
  font-family: var(--ct-font-display);
  font-weight: 800;
  height: 44px;
  justify-content: center;
  text-indent: -999px;
  overflow: hidden;
  width: 44px;
}

.ct-home__brand strong {
  font-family: var(--ct-font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1;
}

.ct-home__brand small {
  color: var(--ct-color-muted);
  font-size: 10px;
  font-weight: 850;
  grid-column: 2;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ct-home__topnav nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-6);
  justify-content: center;
}

.ct-home__topnav nav a {
  color: var(--ct-color-text);
  font-size: var(--ct-text-sm);
  font-weight: 760;
  text-decoration: none;
}

.ct-home__topnav-actions {
  align-items: center;
  display: flex;
  gap: var(--ct-space-3);
  justify-content: flex-end;
}

.ct-home__hero,
.ct-home__band {
  padding: var(--ct-space-10) clamp(var(--ct-space-5), 6vw, 80px);
}

.ct-home__hero {
  align-items: end;
  background:
    linear-gradient(135deg, rgb(255 253 248 / 97%), rgb(248 242 232 / 84%)),
    url("/coritech-assets/equine-line-pattern.svg") right 5vw top 26px / min(38vw, 520px) auto no-repeat,
    var(--ct-color-surface);
  border-bottom: 1px solid var(--ct-color-border);
  display: grid;
  gap: var(--ct-space-8);
  grid-template-columns: minmax(0, 0.95fr) minmax(280px, 0.8fr);
  min-height: 44vh;
  padding-block: var(--ct-space-8);
}

.ct-home__hero h1 {
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-display);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
  max-width: 900px;
}

.ct-home__hero p {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-lg);
  margin: var(--ct-space-4) 0 0;
  max-width: 760px;
}

.ct-home__stack {
  display: grid;
  gap: var(--ct-space-2);
}

.ct-home__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  margin-top: var(--ct-space-5);
}

.ct-home__status {
  align-items: center;
  color: var(--ct-color-primary);
  display: flex;
  flex-wrap: wrap;
  font-size: var(--ct-text-sm);
  font-weight: 800;
  gap: var(--ct-space-5);
  margin-top: var(--ct-space-5);
}

.ct-home__status span {
  align-items: center;
  display: inline-flex;
  gap: var(--ct-space-2);
}

.ct-home__status span::before {
  background: var(--ct-color-success);
  border-radius: 999px;
  box-shadow: 0 0 0 4px var(--ct-color-success-soft);
  content: "";
  height: 8px;
  width: 8px;
}

.ct-home__passport {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(140px, 0.72fr) minmax(220px, 1fr);
  isolation: isolate;
}

.ct-home__passport-book {
  align-content: space-between;
  aspect-ratio: 7 / 9;
  background:
    linear-gradient(145deg, rgb(255 255 255 / 7%), transparent 38%),
    var(--ct-color-primary-strong);
  border: 1px solid rgb(185 133 46 / 55%);
  border-radius: var(--ct-radius-lg);
  box-shadow: 0 22px 50px rgb(6 46 38 / 22%);
  color: var(--ct-color-trust);
  display: grid;
  justify-items: center;
  margin-right: -28px;
  padding: var(--ct-space-8) var(--ct-space-5);
  text-align: center;
  transform: rotate(-3deg);
  z-index: 1;
}

.ct-home__passport-book::before {
  background: var(--ct-mark-passport);
  content: "";
  display: block;
  height: 94px;
  width: 94px;
}

.ct-home__passport-book span,
.ct-home__passport-book strong {
  letter-spacing: 0;
  text-transform: uppercase;
}

.ct-home__passport-book span {
  font-size: var(--ct-text-lg);
  font-weight: 800;
}

.ct-home__passport-book strong {
  align-self: end;
  font-size: var(--ct-text-xs);
}

.ct-home__passport-card {
  background: rgb(255 253 248 / 94%);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-soft);
  display: grid;
  gap: var(--ct-space-4);
  min-height: 270px;
  padding: var(--ct-space-5);
  position: relative;
}

.ct-home__passport-card::after {
  align-items: center;
  aspect-ratio: 1;
  background:
    var(--ct-mark-seal),
    var(--ct-color-trust-soft);
  border: 2px solid var(--ct-color-trust);
  border-radius: 999px;
  color: var(--ct-color-trust);
  content: "DOCUMENT-BACKED\a IDENTITY";
  display: flex;
  font-size: 10px;
  font-weight: 850;
  justify-content: center;
  line-height: 1.35;
  padding: var(--ct-space-3);
  position: absolute;
  right: var(--ct-space-5);
  text-align: center;
  top: 92px;
  white-space: pre-line;
  width: 112px;
}

.ct-home__passport-card > div {
  align-items: center;
  border-bottom: 1px solid var(--ct-color-border);
  display: flex;
  gap: var(--ct-space-3);
  justify-content: space-between;
  padding-bottom: var(--ct-space-3);
}

.ct-home__passport-card > div > span {
  color: var(--ct-color-accent);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-home__passport-card dl {
  display: grid;
  gap: var(--ct-space-3);
  margin: 0;
  max-width: calc(100% - 130px);
}

.ct-home__passport-card dt {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-home__passport-card dd {
  color: var(--ct-color-primary-strong);
  font-weight: 800;
  margin: 0;
}

.ct-home__band {
  display: grid;
  gap: var(--ct-space-6);
}

.ct-home__band--proof {
  background: var(--ct-color-surface-muted);
  border-bottom: 1px solid var(--ct-color-border);
  grid-template-columns: minmax(240px, 0.42fr) minmax(0, 1fr);
}

.ct-home__band h2 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-xl);
  line-height: 1.2;
  margin: 0;
}

.ct-home__proof-chain,
.ct-home__list {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-home__proof-chain li,
.ct-home__list li {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-2);
  min-height: 112px;
  padding: var(--ct-space-4);
}

.ct-home__proof-chain i {
  align-items: center;
  background:
    linear-gradient(135deg, rgb(47 125 91 / 10%), rgb(185 133 46 / 12%)),
    var(--ct-color-surface);
  border: 1px solid var(--ct-color-border-strong);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-primary-strong);
  display: inline-flex;
  font-size: 0;
  font-style: normal;
  font-weight: 900;
  height: 44px;
  justify-content: center;
  position: relative;
  width: 44px;
}

.ct-home__proof-chain i::before,
.ct-home__proof-chain i::after {
  content: "";
  position: absolute;
}

.ct-home__proof-chain i::before {
  border: 2px solid currentColor;
  border-radius: 5px;
  height: 18px;
  width: 18px;
}

.ct-home__proof-chain i::after {
  background: var(--ct-color-success);
  border-radius: 999px;
  bottom: 10px;
  box-shadow: 0 0 0 4px var(--ct-color-success-soft);
  height: 6px;
  right: 10px;
  width: 6px;
}

.ct-home__proof-chain li:nth-child(1) i::before,
.ct-home__proof-chain li:nth-child(4) i::before {
  border-radius: 3px;
  transform: skewY(-5deg);
  width: 14px;
}

.ct-home__proof-chain li:nth-child(2) i::before {
  background: url("/coritech-assets/equine-facility-mark.svg") center / contain no-repeat;
  border: 0;
  height: 24px;
  width: 28px;
}

.ct-home__proof-chain li:nth-child(3) i::before {
  border-radius: 4px;
  height: 14px;
  width: 24px;
}

.ct-home__proof-chain li:nth-child(5) i::before {
  border-radius: 999px;
}

.ct-home__proof-chain span,
.ct-home__list span {
  color: var(--ct-color-accent);
  font-size: var(--ct-text-xs);
  font-weight: 850;
}

.ct-home__proof-chain strong,
.ct-home__list a {
  color: var(--ct-color-primary-strong);
  font-weight: 850;
  text-decoration: none;
}

.ct-home__list a:hover {
  text-decoration: underline;
}

.ct-home__list small {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  line-height: 1.5;
}

.ct-home__role-cards,
.ct-home__metrics {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.ct-home__role-card {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-3);
  padding: var(--ct-space-5);
}

.ct-home__role-card > span {
  align-items: center;
  background:
    var(--ct-mark-passport),
    linear-gradient(135deg, rgb(185 133 46 / 16%), rgb(47 125 91 / 12%)),
    var(--ct-color-accent-soft);
  border: 1px solid color-mix(in srgb, var(--ct-color-accent) 24%, transparent);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-accent);
  display: inline-flex;
  font-size: var(--ct-text-xl);
  font-weight: 900;
  height: 44px;
  justify-content: center;
  width: 44px;
}

.ct-home__role-card[data-audience="station"] > span {
  background:
    var(--ct-mark-facility),
    linear-gradient(135deg, rgb(47 125 91 / 16%), rgb(185 133 46 / 10%)),
    var(--ct-color-success-soft);
}

.ct-home__role-card[data-audience="clinic"] > span,
.ct-home__role-card[data-audience="owner"] > span {
  background:
    var(--ct-mark-seal),
    linear-gradient(135deg, rgb(53 111 147 / 12%), rgb(185 133 46 / 10%)),
    var(--ct-color-info-soft);
}

.ct-home__role-card[data-audience="admin"] > span {
  background:
    var(--ct-mark-shield),
    linear-gradient(135deg, rgb(6 46 38 / 84%), rgb(185 133 46 / 20%)),
    var(--ct-color-primary-strong);
}

.ct-home__role-card h3 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  margin: 0;
}

.ct-home__role-card p,
.ct-home__role-card li {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-home__role-card p {
  margin: 0;
}

.ct-home__role-card ul {
  display: grid;
  gap: var(--ct-space-1);
  margin: 0;
  padding-left: var(--ct-space-5);
}

.ct-home__role-card a {
  color: var(--ct-color-accent);
  font-weight: 850;
  margin-top: var(--ct-space-2);
  text-decoration: none;
}

.ct-home__trust-strip {
  background: rgb(255 253 248 / 86%);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ct-home__trust-strip article {
  align-items: start;
  display: grid;
  gap: var(--ct-space-2);
  grid-template-columns: 44px minmax(0, 1fr);
  padding: var(--ct-space-5);
}

.ct-home__trust-strip article::before {
  align-items: center;
  border: 1px solid color-mix(in srgb, var(--ct-color-trust) 54%, var(--ct-color-border));
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-accent);
  content: "✓";
  display: inline-flex;
  font-weight: 900;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.ct-home__trust-strip article strong,
.ct-home__trust-strip article p {
  grid-column: 2;
}

.ct-home__trust-strip article + article {
  border-left: 1px solid var(--ct-color-border);
}

.ct-home__trust-strip strong {
  color: var(--ct-color-primary-strong);
}

.ct-home__trust-strip p {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  margin: 0;
}

.ct-home__workflow {
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  overflow: hidden;
  padding: 0;
}

.ct-home__workflow li {
  align-items: center;
  background: var(--ct-color-surface);
  border-bottom: 1px solid var(--ct-color-border);
  border-right: 1px solid var(--ct-color-border);
  display: flex;
  font-weight: 760;
  min-height: 80px;
  padding: var(--ct-space-4);
}

.ct-home__workflow li:nth-child(4n) {
  border-right: 0;
}

.ct-home__workflow li:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.ct-auth {
  align-items: start;
  display: grid;
  gap: var(--ct-space-8);
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 440px);
  min-height: 100vh;
  padding: clamp(var(--ct-space-6), 8vw, 96px);
}

.ct-auth--recovery {
  align-items: center;
  grid-template-columns: minmax(0, 720px);
  justify-content: center;
}

.ct-auth--managed {
  align-content: start;
  background: var(--ct-background-secure);
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
  overflow: hidden;
  padding: clamp(var(--ct-space-6), 5vw, 72px) var(--ct-space-4) var(--ct-space-8);
  position: relative;
}

.ct-auth--managed::before {
  background: var(--ct-mark-facility);
  content: "";
  height: 260px;
  opacity: 0.12;
  pointer-events: none;
  position: absolute;
  right: max(var(--ct-space-4), calc((100vw - 980px) / 2));
  top: 128px;
  width: 360px;
}

.ct-auth__brand {
  align-items: center;
  color: var(--ct-color-primary-strong);
  display: grid;
  gap: 0 var(--ct-space-3);
  grid-template-columns: 50px minmax(0, auto);
  margin-bottom: var(--ct-space-4);
  text-decoration: none;
  z-index: 1;
}

.ct-auth__brand span {
  align-items: center;
  background:
    var(--ct-mark-shield),
    rgb(255 253 248 / 64%);
  border: 1px solid var(--ct-color-trust);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-trust);
  display: inline-flex;
  font-family: var(--ct-font-display);
  font-size: var(--ct-text-lg);
  font-weight: 850;
  height: 50px;
  justify-content: center;
  overflow: hidden;
  text-indent: -999px;
  width: 50px;
}

.ct-auth__brand strong {
  font-family: var(--ct-font-display);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.ct-auth__brand small {
  color: var(--ct-color-accent);
  font-size: 11px;
  font-weight: 850;
  grid-column: 2;
  text-transform: uppercase;
}

.ct-auth__intro {
  display: grid;
  gap: var(--ct-space-4);
  max-width: 780px;
}

.ct-auth__intro h1 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-3xl);
  letter-spacing: 0;
  line-height: 1.05;
  margin: 0;
}

.ct-auth__intro p {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-lg);
  margin: 0;
}

.ct-auth__panel {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-soft);
  display: grid;
  gap: var(--ct-space-5);
  padding: var(--ct-space-5);
}

.ct-auth--managed .ct-auth__panel {
  max-width: 520px;
  padding: var(--ct-space-6);
  width: min(520px, 100%);
  z-index: 1;
}

.ct-auth__panel-heading {
  display: grid;
  gap: var(--ct-space-3);
  justify-items: center;
  text-align: center;
}

.ct-auth__panel-heading h1 {
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-display);
  font-size: 38px;
  line-height: 1.08;
  margin: 0;
}

.ct-auth__panel-heading p {
  color: var(--ct-color-muted);
  margin: 0;
}

.ct-auth__managed-mark {
  align-items: center;
  background:
    var(--ct-mark-seal),
    var(--ct-color-surface);
  border: 2px solid var(--ct-color-trust);
  border-radius: 999px;
  color: var(--ct-color-accent);
  display: inline-flex;
  font-weight: 900;
  height: 64px;
  justify-content: center;
  overflow: hidden;
  text-indent: -999px;
  width: 64px;
}

.ct-auth__form {
  display: grid;
  gap: var(--ct-space-4);
}

.ct-auth__demo-panel {
  background: color-mix(in srgb, var(--ct-color-surface-muted) 62%, transparent);
  border: 1px dashed var(--ct-color-border-strong);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-4);
  padding: var(--ct-space-4);
}

.ct-auth__demo-panel h2 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  line-height: 1.2;
  margin: 0;
}

.ct-auth__demo-panel p {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  margin: var(--ct-space-2) 0 0;
}

.ct-auth__demo-actions {
  display: grid;
  gap: var(--ct-space-3);
}

.ct-auth__demo-actions form {
  align-items: center;
  display: grid;
  gap: var(--ct-space-2);
  grid-template-columns: minmax(140px, 0.6fr) minmax(0, 1fr);
}

.ct-auth__demo-actions .ct-button {
  width: 100%;
}

.ct-auth__demo-actions span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  line-height: 1.45;
}

.ct-auth__demo-note {
  border-top: 1px solid var(--ct-color-border);
  padding-top: var(--ct-space-3);
}

.ct-auth__diagnostics {
  margin-top: var(--ct-space-3);
}

.ct-auth__diagnostics summary {
  color: var(--ct-color-primary);
  cursor: pointer;
  font-weight: 850;
}

.ct-auth__diagnostics ul {
  margin-top: var(--ct-space-3);
}

.ct-auth__assurance {
  display: grid;
  gap: var(--ct-space-4);
  grid-column: 1 / -1;
  grid-template-columns: minmax(260px, 0.95fr) minmax(260px, 0.8fr);
  margin: 0 auto;
  max-width: 920px;
  width: 100%;
  z-index: 1;
}

.ct-auth__assurance--managed {
  max-width: 900px;
}

.ct-auth__assurance article {
  background: rgb(255 253 248 / 90%);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-subtle);
  display: grid;
  gap: var(--ct-space-4);
  padding: var(--ct-space-5);
}

.ct-auth__assurance h2 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  margin: 0;
}

.ct-auth__assurance p {
  color: var(--ct-color-muted);
  margin: 0;
}

.ct-auth__assurance ol {
  display: grid;
  gap: var(--ct-space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-auth__assurance li {
  border-left: 3px solid var(--ct-color-success);
  display: grid;
  gap: 2px;
  padding-left: var(--ct-space-3);
}

.ct-auth__assurance li span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-role-select {
  background:
    linear-gradient(180deg, rgb(255 253 248 / 94%), rgb(248 242 232 / 92%)),
    url("/coritech-assets/equine-line-pattern.svg") right 7vw top 104px / min(42vw, 520px) auto no-repeat,
    url("/coritech-assets/parchment-grain.svg") 0 0 / 180px 180px repeat,
    var(--ct-color-background);
  display: grid;
  gap: var(--ct-space-6);
  min-height: 100vh;
  padding: var(--ct-space-6) clamp(var(--ct-space-5), 5vw, 72px) var(--ct-space-8);
}

.ct-role-select__topbar {
  align-items: center;
  display: flex;
  gap: var(--ct-space-5);
  justify-content: space-between;
}

.ct-role-select__brand {
  align-items: center;
  color: var(--ct-color-primary-strong);
  display: grid;
  gap: 0 var(--ct-space-3);
  grid-template-columns: 48px minmax(0, auto);
  text-decoration: none;
}

.ct-role-select__brand span {
  align-items: center;
  background:
    var(--ct-mark-shield),
    var(--ct-color-primary-strong);
  border: 1px solid var(--ct-color-trust);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-trust);
  display: inline-flex;
  font-family: var(--ct-font-display);
  font-weight: 850;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  text-indent: -999px;
  width: 48px;
}

.ct-role-select__brand strong {
  font-family: var(--ct-font-display);
  font-size: 36px;
  line-height: 1;
}

.ct-role-select__brand small {
  color: var(--ct-color-accent);
  font-size: 11px;
  font-weight: 850;
  grid-column: 2;
  text-transform: uppercase;
}

.ct-role-select__system-status {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-4);
  justify-content: flex-end;
}

.ct-role-select__system-status span {
  border-left: 1px solid var(--ct-color-border);
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
  padding-left: var(--ct-space-4);
}

.ct-role-select .ct-page-header {
  margin: 0 auto;
  max-width: 820px;
  text-align: center;
}

.ct-role-select .ct-page-header__content {
  align-items: center;
  border-bottom: 0;
  justify-content: center;
}

.ct-role-select__grid {
  display: grid;
  gap: var(--ct-space-5);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ct-workspace-card {
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: var(--ct-shadow-soft);
  display: grid;
  overflow: hidden;
}

.ct-workspace-card__visual {
  align-content: end;
  background:
    linear-gradient(135deg, rgb(6 46 38 / 88%), rgb(185 133 46 / 42%)),
    url("/coritech-assets/horse-passport-mark.svg") right 18px top 20px / 138px auto no-repeat,
    var(--ct-color-primary);
  color: var(--ct-color-paper);
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: 76px minmax(0, 1fr);
  min-height: 214px;
  padding: var(--ct-space-5);
  position: relative;
}

.ct-workspace-card__visual::after {
  background:
    var(--ct-mark-seal),
    rgb(255 253 248 / 8%);
  border: 1px solid rgb(255 253 248 / 42%);
  border-radius: 999px;
  color: var(--ct-color-trust);
  content: "VERIFIED";
  font-size: 10px;
  font-weight: 900;
  height: 76px;
  letter-spacing: 0;
  line-height: 76px;
  position: absolute;
  right: var(--ct-space-5);
  text-align: center;
  top: var(--ct-space-5);
  width: 76px;
}

.ct-workspace-card--station .ct-workspace-card__visual {
  background:
    linear-gradient(135deg, rgb(20 107 82 / 90%), rgb(185 133 46 / 28%)),
    url("/coritech-assets/equine-facility-mark.svg") right 16px top 16px / 170px auto no-repeat,
    var(--ct-color-primary);
}

.ct-workspace-card--admin .ct-workspace-card__visual {
  background:
    linear-gradient(135deg, rgb(6 46 38 / 96%), rgb(16 33 29 / 84%)),
    url("/coritech-assets/coritech-shield-mark.svg") right 18px top 18px / 132px auto no-repeat,
    var(--ct-color-primary-strong);
}

.ct-workspace-card__visual span {
  align-items: center;
  align-self: end;
  background:
    url("/coritech-assets/horse-passport-mark.svg") center / 42px 42px no-repeat,
    rgb(255 253 248 / 92%);
  border: 1px solid rgb(255 253 248 / 42%);
  border-radius: 999px;
  display: inline-flex;
  height: 72px;
  justify-content: center;
  overflow: hidden;
  text-indent: -999px;
  width: 72px;
}

.ct-workspace-card--station .ct-workspace-card__visual span {
  background:
    url("/coritech-assets/equine-facility-mark.svg") center / 46px 46px no-repeat,
    rgb(255 253 248 / 92%);
}

.ct-workspace-card--admin .ct-workspace-card__visual span {
  background:
    url("/coritech-assets/coritech-shield-mark.svg") center / 42px 42px no-repeat,
    rgb(255 253 248 / 92%);
}

.ct-workspace-card__visual-copy {
  align-self: end;
  display: grid;
  gap: var(--ct-space-2);
  min-width: 0;
  padding-right: 88px;
}

.ct-workspace-card__visual-copy strong {
  color: var(--ct-color-paper);
  font-size: var(--ct-text-lg);
  line-height: 1.15;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-workspace-card__visual-copy small {
  color: rgb(255 253 248 / 76%);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-workspace-card__visual-metadata {
  background: rgb(255 253 248 / 10%);
  border: 1px solid rgb(255 253 248 / 20%);
  border-radius: var(--ct-radius-md);
  display: grid;
  gap: var(--ct-space-3);
  grid-column: 1 / -1;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: var(--ct-space-3);
}

.ct-workspace-card__visual-metadata div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ct-workspace-card__visual-metadata dt,
.ct-workspace-card__visual-metadata dd {
  margin: 0;
}

.ct-workspace-card__visual-metadata dt {
  color: rgb(255 253 248 / 62%);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ct-workspace-card__visual-metadata dd {
  color: var(--ct-color-paper);
  font-size: var(--ct-text-sm);
  font-weight: 800;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-workspace-card__body {
  display: grid;
  gap: var(--ct-space-4);
  padding: var(--ct-space-5);
}

.ct-workspace-card h2 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-xl);
  line-height: 1.15;
  margin: 0;
}

.ct-workspace-card__body > strong {
  color: var(--ct-color-accent);
}

.ct-workspace-card p {
  color: var(--ct-color-muted);
  margin: 0;
}

.ct-workspace-card__body > div {
  border-top: 1px solid var(--ct-color-border);
  display: grid;
  gap: var(--ct-space-3);
  padding-top: var(--ct-space-4);
}

.ct-workspace-card__body > div > span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-workspace-card ul {
  display: grid;
  gap: var(--ct-space-2);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-workspace-card li {
  color: var(--ct-color-text);
  font-size: var(--ct-text-sm);
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-workspace-card li::before {
  border: 1px solid var(--ct-color-accent);
  border-radius: 2px;
  content: "";
  display: inline-block;
  height: 8px;
  margin-right: var(--ct-space-2);
  width: 8px;
}

.ct-workspace-card__last-accessed strong {
  color: var(--ct-color-text);
  font-size: var(--ct-text-sm);
}

.ct-workspace-card form,
.ct-workspace-card form .ct-button {
  width: 100%;
}

.ct-role-select__footer {
  align-items: center;
  justify-content: center;
}

.ct-role-select__footer p {
  color: var(--ct-color-muted);
  margin: 0;
}

.ct-role-select__lock-note {
  align-items: center;
  background: rgb(255 253 248 / 84%);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  justify-content: center;
  margin: 0 auto;
  max-width: 920px;
  padding: var(--ct-space-4) var(--ct-space-5);
  text-align: center;
}

.ct-role-select__lock-note span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-root {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.ct-demo-viewport-frame {
  --ct-demo-viewport-width: 1366px;
  --ct-demo-viewport-height: 900px;

  background: var(--ct-background-parchment);
  min-height: 100vh;
  padding: var(--ct-space-4);
}

.ct-demo-viewport-frame__stage {
  background: var(--ct-color-background);
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--ct-color-border-strong) 72%, transparent),
    var(--ct-shadow-raised);
  margin-inline: auto;
  min-height: min(var(--ct-demo-viewport-height), calc(100vh - (var(--ct-space-4) * 2)));
  overflow-x: auto;
  position: relative;
  width: min(100%, var(--ct-demo-viewport-width));
}

.ct-demo-viewport-frame__stage > .ct-root {
  min-height: max(var(--ct-demo-viewport-height), calc(100vh - (var(--ct-space-4) * 2)));
}

.ct-demo-viewport-indicator {
  background: rgb(255 253 248 / 94%);
  border: 1px solid var(--ct-color-border-strong);
  border-radius: var(--ct-radius-lg);
  bottom: var(--ct-space-4);
  box-shadow: var(--ct-shadow-soft);
  color: var(--ct-color-muted);
  display: grid;
  gap: 2px;
  max-width: min(360px, calc(100vw - (var(--ct-space-4) * 2)));
  padding: var(--ct-space-3) var(--ct-space-4);
  pointer-events: none;
  position: fixed;
  right: var(--ct-space-4);
  z-index: 1000;
}

.ct-demo-viewport-indicator span,
.ct-demo-viewport-indicator small {
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-demo-viewport-indicator strong {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-sm);
}

.ct-public-footer {
  margin-top: auto;
  border-top: 1px solid var(--ct-color-border);
  background: var(--ct-color-surface);
  color: var(--ct-color-muted);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3) var(--ct-space-6);
  align-items: center;
  justify-content: space-between;
  padding: var(--ct-space-4) clamp(var(--ct-space-4), 5vw, var(--ct-space-8));
  font-size: var(--ct-text-sm);
}

.ct-public-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3) var(--ct-space-5);
}

.ct-static-page {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: var(--ct-space-8) 0 var(--ct-space-10);
}

.ct-static-page__content {
  display: grid;
  gap: var(--ct-space-4);
}

.ct-static-page__card {
  line-height: 1.65;
}

.ct-static-page__card > p {
  padding: var(--ct-space-6);
}

.ct-invite-entry {
  margin-inline: auto;
  width: min(980px, 100%);
}

.ct-invite-entry__card {
  line-height: 1.6;
}

.ct-compact-list {
  display: grid;
  gap: var(--ct-space-2);
  list-style-position: inside;
  margin: 0;
  padding: 0;
}

.ct-compact-list span {
  color: var(--ct-color-muted);
  display: block;
  margin-left: var(--ct-space-5);
}

@keyframes ct-pulse {
  0% {
    opacity: 0.45;
  }

  50% {
    opacity: 0.92;
  }

  100% {
    opacity: 0.45;
  }
}

@media (max-width: 1080px) {
  .ct-app-shell {
    grid-template-columns: 1fr;
  }

  .ct-layout-sidebar {
    border-bottom: 1px solid rgb(255 253 248 / 12%);
    border-right: 0;
    min-height: auto;
  }

  .ct-layout-sidebar__nav {
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  }

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

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

  .ct-topbar__context,
  .ct-topbar__proof,
  .ct-context-switcher {
    justify-content: flex-start;
    width: 100%;
  }

  .ct-sidebar {
    border-bottom: 1px solid rgb(255 255 255 / 12%);
    border-right: 0;
    min-height: auto;
    padding: var(--ct-space-5);
    position: static;
  }

  .ct-sidebar__nav {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  }

  .ct-sidebar__trust-card,
  .ct-sidebar__account,
  .ct-sidebar__status-strip {
    display: none;
  }

  .ct-home__hero,
  .ct-home__band--proof,
  .ct-auth__assurance,
  .ct-auth {
    grid-template-columns: 1fr;
  }

  .ct-home__topnav {
    align-items: stretch;
    display: flex;
    flex-direction: column;
    grid-template-columns: 1fr;
  }

  .ct-home__topnav nav,
  .ct-home__topnav-actions {
    justify-content: flex-start;
    width: 100%;
  }

  .ct-home__passport {
    grid-template-columns: minmax(0, 0.55fr) minmax(0, 1fr);
    max-width: 720px;
  }

  .ct-order-summary-strip,
  .ct-catalog-listing-row {
    grid-template-columns: 1fr 1fr;
  }

  .ct-catalog-listing-row__actions {
    align-items: flex-start;
  }

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

  .ct-home__trust-strip article:nth-child(odd) {
    border-left: 0;
  }

  .ct-home__trust-strip article:nth-child(n + 3) {
    border-top: 1px solid var(--ct-color-border);
  }

  .ct-form-grid,
  .ct-form-grid--filters {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-table-wrap--audit {
    overflow-x: visible;
  }

  .ct-table-wrap:not(.ct-table-wrap--audit) {
    overflow-x: visible;
  }

  .ct-table:not(.ct-table--audit) {
    border-collapse: separate;
    border-spacing: 0 var(--ct-space-3);
    min-width: 0;
  }

  .ct-table:not(.ct-table--audit) thead {
    display: none;
  }

  .ct-table:not(.ct-table--audit),
  .ct-table:not(.ct-table--audit) tbody,
  .ct-table:not(.ct-table--audit) tr,
  .ct-table:not(.ct-table--audit) td {
    display: block;
    width: 100%;
  }

  .ct-table:not(.ct-table--audit) tbody tr {
    background: var(--ct-color-surface);
    border: 1px solid var(--ct-color-border);
    border-radius: var(--ct-radius-md);
    box-shadow: 0 8px 22px rgb(16 33 29 / 5%);
    overflow: hidden;
  }

  .ct-table:not(.ct-table--audit) td {
    border-bottom: 1px solid var(--ct-color-border);
    display: grid;
    gap: var(--ct-space-1);
    grid-template-columns: 1fr;
    max-width: none;
    padding: var(--ct-space-3);
  }

  .ct-table:not(.ct-table--audit) td::before {
    color: var(--ct-color-muted);
    content: attr(data-label);
    font-size: var(--ct-text-xs);
    font-weight: 850;
    overflow-wrap: anywhere;
    text-transform: uppercase;
    word-break: break-word;
  }

  .ct-table:not(.ct-table--audit) td:last-child {
    border-bottom: 0;
  }

  .ct-table--audit {
    border-collapse: separate;
    border-spacing: 0 var(--ct-space-3);
    min-width: 0;
  }

  .ct-table--audit thead {
    display: none;
  }

  .ct-table--audit,
  .ct-table--audit tbody,
  .ct-table--audit tr,
  .ct-table--audit td {
    display: block;
    width: 100%;
  }

  .ct-table--audit tbody tr {
    background: var(--ct-color-surface);
    border: 1px solid var(--ct-color-border);
    border-radius: var(--ct-radius-md);
    box-shadow: 0 8px 22px rgb(16 33 29 / 5%);
    overflow: hidden;
  }

  .ct-table--audit td {
    border-bottom: 1px solid var(--ct-color-border);
    display: grid;
    gap: var(--ct-space-2);
    grid-template-columns: minmax(108px, 0.34fr) minmax(0, 1fr);
    padding: var(--ct-space-3);
  }

  .ct-table--audit td::before {
    color: var(--ct-color-muted);
    content: attr(data-label);
    font-size: var(--ct-text-xs);
    font-weight: 850;
    overflow-wrap: break-word;
    text-transform: none;
    word-break: normal;
  }

  .ct-table--audit td:last-child {
    border-bottom: 0;
  }

  .ct-layout-topbar__actions,
  .ct-active-context-bar__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .ct-demo-viewport-frame {
    padding: 0;
  }

  .ct-demo-viewport-frame__stage {
    box-shadow: none;
    min-height: 100vh;
  }

  .ct-demo-viewport-frame__stage > .ct-root {
    min-height: 100vh;
  }

  .ct-demo-viewport-indicator {
    bottom: var(--ct-space-2);
    left: var(--ct-space-2);
    right: var(--ct-space-2);
  }

  .ct-app-shell__main,
  .ct-layout-sidebar,
  .ct-layout-topbar,
  .ct-public-shell__header,
  .ct-role-shell {
    padding: var(--ct-space-4);
  }

  .ct-layout-topbar,
  .ct-public-shell__header,
  .ct-access-recovery__topbar,
  .ct-access-recovery__help,
  .ct-role-select__topbar {
    align-items: stretch;
    flex-direction: column;
  }

  .ct-layout-topbar__actions,
  .ct-public-shell__nav,
  .ct-home__topnav-actions,
  .ct-role-select__system-status,
  .ct-home__topnav nav,
  .ct-tabs {
    justify-content: flex-start;
    width: 100%;
  }

  .ct-home__brand,
  .ct-auth__brand,
  .ct-role-select__brand,
  .ct-home__topnav,
  .ct-home__topnav-actions,
  .ct-home__topnav nav,
  .ct-catalog-results-toolbar,
  .ct-catalog-shortlist {
    align-items: stretch;
    flex-direction: column;
  }

  .ct-home__topnav nav a,
  .ct-home__topnav-actions .ct-button,
  .ct-catalog-results-toolbar select,
  .ct-catalog-shortlist .ct-button {
    width: 100%;
  }

  .ct-auth--managed::before {
    display: none;
  }

  .ct-home__passport,
  .ct-home__proof-chain,
  .ct-order-summary-strip,
  .ct-catalog-listing-row,
  .ct-auth__demo-actions form,
  .ct-catalog-shortlist article {
    grid-template-columns: 1fr;
  }

  .ct-catalog-shortlist {
    grid-template-columns: 1fr;
  }

  .ct-order-summary-strip__tile + .ct-order-summary-strip__tile,
  .ct-catalog-listing-row__terms,
  .ct-catalog-listing-row__trust,
  .ct-catalog-listing-row__actions {
    border-left: 0;
    border-top: 1px solid var(--ct-color-border);
    padding-left: 0;
    padding-top: var(--ct-space-4);
  }

  .ct-tabs__tab {
    flex: 1 1 150px;
    justify-content: center;
  }

  .ct-error-recovery {
    grid-template-columns: 1fr;
    padding: var(--ct-space-5);
  }

  .ct-error-recovery__marker {
    height: 40px;
    width: 40px;
  }

  .ct-role-shell__header h1 {
    font-size: var(--ct-text-2xl);
  }

  .ct-main,
  .ct-topbar,
  .ct-active-context-bar,
  .ct-sidebar {
    padding: var(--ct-space-4);
  }

  .ct-topbar,
  .ct-active-context-bar,
  .ct-page-header__content,
  .ct-section-header,
  .ct-proof-event__header,
  .ct-alert,
  .ct-notice {
    align-items: stretch;
    flex-direction: column;
  }

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

  .ct-action-bar,
  .ct-topbar__context,
  .ct-active-context-bar__actions,
  .ct-form-actions,
  .ct-layout-topbar__actions,
  .ct-section-header__meta,
  .ct-proof-event__header,
  .ct-alert,
  .ct-notice {
    justify-content: flex-start;
  }

  .ct-button {
    width: 100%;
  }

  .ct-action-bar > *,
  .ct-action-bar > form,
  .ct-form-actions > *,
  .ct-form-actions > form,
  .ct-layout-topbar__actions > *,
  .ct-active-context-bar__actions > * {
    flex: 1 1 100%;
    width: 100%;
  }

  .ct-layout-sidebar__nav a {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }

  .ct-active-context-bar__actions,
  .ct-context-switcher,
  .ct-topbar__proof,
  .ct-context-switcher select {
    width: 100%;
  }

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

  .ct-description-list--grid,
  .ct-form-grid,
  .ct-form-grid--filters,
  .ct-wizard-step-panel,
  .ct-skeleton-grid {
    grid-template-columns: 1fr;
  }

  .ct-table-wrap--audit {
    overflow-x: visible;
  }

  .ct-table--audit {
    border-collapse: separate;
    border-spacing: 0 var(--ct-space-3);
    min-width: 0;
  }

  .ct-table--audit thead {
    display: none;
  }

  .ct-table--audit,
  .ct-table--audit tbody,
  .ct-table--audit tr,
  .ct-table--audit td {
    display: block;
    width: 100%;
  }

  .ct-table--audit tbody tr {
    background: var(--ct-color-surface);
    border: 1px solid var(--ct-color-border);
    border-radius: var(--ct-radius-md);
    box-shadow: 0 8px 22px rgb(16 33 29 / 5%);
    overflow: hidden;
  }

  .ct-table--audit td {
    border-bottom: 1px solid var(--ct-color-border);
    display: grid;
    gap: var(--ct-space-2);
    grid-template-columns: minmax(108px, 0.34fr) minmax(0, 1fr);
    padding: var(--ct-space-3);
  }

  .ct-table--audit td::before {
    color: var(--ct-color-muted);
    content: attr(data-label);
    font-size: var(--ct-text-xs);
    font-weight: 850;
    overflow-wrap: break-word;
    text-transform: none;
    word-break: normal;
  }

  .ct-table--audit td:last-child {
    border-bottom: 0;
  }

  .ct-home__hero,
  .ct-home__band,
  .ct-role-select,
  .ct-access-recovery__panel,
  .ct-auth {
    padding: var(--ct-space-6) var(--ct-space-4);
  }

  .ct-access-recovery {
    gap: var(--ct-space-5);
  }

  .ct-access-recovery__topbar,
  .ct-access-recovery__help {
    width: 100%;
  }

  .ct-home__hero h1,
  .ct-auth__intro h1,
  .ct-auth__panel-heading h1,
  .ct-access-recovery__panel h1 {
    font-size: var(--ct-text-2xl);
  }

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

  .ct-workspace-card__visual {
    grid-template-columns: 64px minmax(0, 1fr);
    min-height: 0;
  }

  .ct-workspace-card__visual span {
    height: 60px;
    width: 60px;
  }

  .ct-workspace-card__visual-copy {
    padding-right: 0;
  }

  .ct-workspace-card__visual-metadata {
    grid-template-columns: 1fr;
  }

  .ct-home__passport-book {
    margin: 0 auto -24px;
    max-width: 220px;
    transform: none;
    width: 68%;
  }

  .ct-home__passport-card::after {
    justify-self: center;
    position: static;
    width: 104px;
  }

  .ct-home__passport-card dl {
    max-width: none;
  }

  .ct-home__trust-strip,
  .ct-workspace-card ul {
    grid-template-columns: 1fr;
  }

  .ct-home__trust-strip article + article,
  .ct-home__trust-strip article:nth-child(n + 3) {
    border-left: 0;
    border-top: 1px solid var(--ct-color-border);
  }

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

  .ct-home__workflow li,
  .ct-home__workflow li:nth-child(4n),
  .ct-home__workflow li:nth-last-child(-n + 4) {
    border-bottom: 1px solid var(--ct-color-border);
    border-right: 0;
  }

  .ct-home__workflow li:last-child {
    border-bottom: 0;
  }

  .ct-proof-list {
    padding: var(--ct-space-4);
  }

  .ct-proof-event {
    gap: var(--ct-space-3);
  }
}

/*!************************************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ../../node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[2]!../../node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[15].oneOf[10].use[3]!./components/coritech/domain.css ***!
  \************************************************************************************************************************************************************************************************************************************************************************************/
.ct-domain-eyebrow {
  color: var(--ct-color-accent);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  letter-spacing: 0;
  margin: 0 0 var(--ct-space-1);
  text-transform: uppercase;
}

.ct-domain-card__header {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-4);
  justify-content: space-between;
  margin-bottom: var(--ct-space-4);
  min-width: 0;
}

.ct-domain-card__header > div {
  min-width: 0;
}

.ct-domain-card__header h3,
.ct-passport-card h3,
.ct-action-review h3,
.ct-trust-policy h3,
.ct-amendment-diff h3,
.ct-admin-console h3 {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  line-height: 1.15;
  margin: 0;
}

.ct-domain-count,
.ct-domain-note {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-domain-status {
  align-items: center;
  display: inline-flex;
  flex: 0 1 auto;
  gap: 6px;
  line-height: 1.2;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
  white-space: normal;
  word-break: break-word;
}

.ct-domain-status__icon {
  align-self: center;
  background: currentColor;
  border-radius: 999px;
  flex: 0 0 auto;
  font-size: 0;
  font-weight: 900;
  height: 0.45rem;
  overflow: hidden;
  text-indent: 100%;
  text-transform: uppercase;
  width: 0.45rem;
}

.ct-domain-status span:last-child {
  display: inline-block;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ct-domain-actions {
  margin-top: var(--ct-space-4);
}

.ct-domain-chip-list {
  display: grid;
  gap: var(--ct-space-2);
  list-style: none;
  margin: var(--ct-space-4) 0 0;
  padding: 0;
}

.ct-domain-chip-list li {
  align-items: center;
  background: var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
  justify-content: space-between;
  min-width: 0;
  padding: var(--ct-space-2) var(--ct-space-3);
}

.ct-domain-meta-grid {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
  margin: var(--ct-space-4) 0 0;
}

.ct-domain-meta-grid div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ct-domain-meta-grid dt {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-domain-meta-grid dd {
  color: var(--ct-color-text);
  font-weight: 700;
  margin: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ct-domain-meta-grid .ct-reference-summary,
.ct-evidence-event__details .ct-reference-summary,
.ct-document-vault .ct-reference-summary,
.ct-document-status-list .ct-reference-summary {
  justify-items: start;
  min-width: 0;
}

.ct-screen-shell {
  display: grid;
  gap: var(--ct-space-5);
  min-width: 0;
}

.ct-screen-shell--with-sidebar {
  grid-template-columns: 260px minmax(0, 1fr);
}

.ct-screen-shell__sidebar {
  background:
    linear-gradient(180deg, rgb(6 46 38 / 96%), rgb(4 32 27 / 98%));
  border: 1px solid rgb(185 133 46 / 35%);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-surface);
  min-width: 0;
  padding: var(--ct-space-5);
}

.ct-screen-shell__body {
  display: grid;
  gap: var(--ct-space-5);
  min-width: 0;
}

.ct-screen-shell > *,
.ct-passport-identity-hero > *,
.ct-proof-context-strip > *,
.ct-bottom-action-strip > *,
.ct-document-vault-workspace > *,
.ct-station-hero-grid > *,
.ct-station-queue-grid > *,
.ct-station-queue-grid--wide > *,
.ct-station-review-grid > *,
.ct-shipment-update-grid > *,
.ct-breeder-workspace-grid > *,
.ct-breeder-command-grid > *,
.ct-passport-card__body > *,
.ct-document-vault > *,
.ct-responsibility-strip > *,
.ct-admin-console > *,
.ct-prototype-wide-grid > *,
.ct-prototype-split > * {
  min-width: 0;
}

.ct-passport-identity-hero,
.ct-proof-context-strip,
.ct-document-vault-workspace,
.ct-bottom-action-strip {
  min-width: 0;
}

.ct-passport-identity-hero {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(0, 1.35fr) minmax(min(100%, 280px), 0.65fr);
}

.ct-passport-identity-hero__main,
.ct-passport-identity-hero__rail,
.ct-passport-identity-hero__aside {
  min-width: 0;
}

.ct-passport-identity-hero__rail {
  display: grid;
  gap: var(--ct-space-4);
  padding: var(--ct-space-5);
}

.ct-passport-identity-hero__rail h3,
.ct-evidence-decision-rail h3,
.ct-bottom-action-strip h3 {
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-display);
  font-size: var(--ct-text-xl);
  letter-spacing: 0;
  line-height: 1.1;
  margin: 0;
}

.ct-screen-meta-list {
  display: grid;
  gap: var(--ct-space-3);
  margin: 0;
}

.ct-screen-meta-list div {
  border-top: 1px solid var(--ct-color-border);
  display: grid;
  gap: 3px;
  padding-top: var(--ct-space-3);
}

.ct-screen-meta-list dt {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-screen-meta-list dd {
  display: grid;
  gap: 2px;
  margin: 0;
}

.ct-screen-meta-list dd strong {
  color: var(--ct-color-primary-strong);
}

.ct-screen-meta-list dd span,
.ct-proof-context-strip__item small {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-proof-context-strip {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.ct-proof-context-strip__item {
  background:
    linear-gradient(145deg, rgb(255 253 248 / 96%), rgb(248 242 232 / 78%));
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: 0 10px 28px rgb(16 33 29 / 5%);
  display: grid;
  gap: var(--ct-space-1);
  min-width: 0;
  padding: var(--ct-space-4);
}

.ct-proof-context-strip__item span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-proof-context-strip__item strong {
  color: var(--ct-color-primary-strong);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ct-proof-context-strip__item .ct-domain-status {
  justify-self: start;
}

.ct-decision-checklist,
.ct-evidence-decision-rail,
.ct-command-center-queue {
  min-width: 0;
}

.ct-decision-checklist ul,
.ct-command-center-queue ul,
.ct-evidence-decision-rail__documents ul {
  display: grid;
  gap: var(--ct-space-3);
  list-style: none;
  margin: 0;
  padding: var(--ct-space-5);
}

.ct-decision-checklist li,
.ct-command-center-queue li,
.ct-evidence-decision-rail__documents li {
  align-items: center;
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: auto minmax(0, 1fr) auto;
  min-width: 0;
  padding: var(--ct-space-3);
}

.ct-decision-checklist li {
  grid-template-columns: auto minmax(0, 1fr);
}

.ct-decision-checklist li div,
.ct-command-center-queue li div {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.ct-decision-checklist li span,
.ct-command-center-queue li span,
.ct-command-center-queue li small {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-evidence-decision-rail {
  display: grid;
  gap: var(--ct-space-4);
  padding: var(--ct-space-5);
}

.ct-evidence-decision-rail__header {
  align-items: flex-start;
  display: flex;
  gap: var(--ct-space-3);
  justify-content: space-between;
}

.ct-evidence-decision-rail > p {
  color: var(--ct-color-muted);
  margin: 0;
}

.ct-evidence-decision-rail__documents {
  display: grid;
  gap: var(--ct-space-3);
}

.ct-evidence-decision-rail__documents strong {
  color: var(--ct-color-primary-strong);
}

.ct-evidence-decision-rail__documents ul {
  padding: 0;
}

.ct-evidence-decision-rail__documents li {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ct-evidence-decision-rail__next {
  background: var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: 2px;
  padding: var(--ct-space-4);
}

.ct-evidence-decision-rail__next span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-bottom-action-strip {
  align-items: center;
  background:
    linear-gradient(135deg, rgb(6 46 38 / 96%), rgb(23 84 64 / 94%));
  border: 1px solid rgb(185 133 46 / 46%);
  border-radius: var(--ct-radius-lg);
  box-shadow: 0 18px 42px rgb(6 46 38 / 18%);
  color: var(--ct-color-surface);
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(0, 1fr) auto auto;
  padding: var(--ct-space-5);
}

.ct-bottom-action-strip .ct-domain-eyebrow {
  color: rgb(231 199 145 / 92%);
}

.ct-bottom-action-strip h3 {
  color: var(--ct-color-surface);
}

.ct-bottom-action-strip p {
  color: rgb(255 253 248 / 78%);
  margin: var(--ct-space-1) 0 0;
}

.ct-bottom-action-strip .ct-action-bar {
  justify-content: flex-end;
}

.ct-command-center-queue li {
  background: var(--ct-color-surface-muted);
  grid-template-columns: minmax(0, 1fr) auto auto;
}

.ct-command-center-queue__empty {
  grid-template-columns: minmax(0, 1fr) auto;
}

.ct-document-vault-workspace .ct-document-vault {
  grid-template-columns: minmax(min(100%, 280px), 0.85fr) minmax(min(100%, 360px), 1.2fr) minmax(min(100%, 260px), 0.7fr);
}

.ct-station-hero-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(0, 1.15fr) minmax(min(100%, 320px), 0.85fr);
}

.ct-station-queue-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
}

.ct-station-queue-grid--wide {
  grid-template-columns: minmax(0, 1.15fr) minmax(min(100%, 320px), 0.85fr);
}

.ct-station-confirmation-hero {
  align-items: stretch;
  background:
    linear-gradient(135deg, rgb(6 46 38 / 96%), rgb(20 107 82 / 86%)),
    url("/coritech-assets/equine-facility-mark.svg") right 34px center / 240px auto no-repeat,
    var(--ct-background-deep-green);
  border: 1px solid rgb(185 133 46 / 42%);
  border-radius: var(--ct-radius-lg);
  box-shadow: 0 22px 56px rgb(6 46 38 / 18%);
  color: var(--ct-color-paper);
  display: grid;
  gap: var(--ct-space-5);
  grid-template-columns: auto minmax(0, 1fr) minmax(min(100%, 280px), 0.76fr);
  min-width: 0;
  overflow: hidden;
  padding: var(--ct-space-6);
  position: relative;
}

.ct-station-confirmation-hero::after {
  background:
    var(--ct-mark-seal),
    rgb(255 253 248 / 7%);
  border: 1px solid rgb(255 253 248 / 24%);
  border-radius: 999px;
  content: "";
  height: 118px;
  opacity: 0.58;
  position: absolute;
  right: -28px;
  top: -28px;
  width: 118px;
}

.ct-station-confirmation-hero__seal {
  align-items: center;
  background:
    url("/coritech-assets/coritech-shield-mark.svg") center / 54px auto no-repeat,
    rgb(255 253 248 / 93%);
  border: 1px solid rgb(255 253 248 / 56%);
  border-radius: var(--ct-radius-lg);
  display: flex;
  height: 92px;
  justify-content: center;
  overflow: hidden;
  text-indent: -999px;
  width: 92px;
}

.ct-station-confirmation-hero__summary {
  display: grid;
  gap: var(--ct-space-3);
  min-width: 0;
}

.ct-station-confirmation-hero__summary .ct-domain-eyebrow {
  color: rgb(231 199 145 / 92%);
}

.ct-station-confirmation-hero__summary h2 {
  color: var(--ct-color-paper);
  font-family: var(--ct-font-display);
  font-size: var(--ct-text-3xl);
  line-height: 1.05;
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-station-confirmation-hero__summary p {
  color: rgb(255 253 248 / 78%);
  margin: 0;
  max-width: 680px;
}

.ct-station-confirmation-hero__status {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-2);
}

.ct-station-confirmation-hero__facts {
  align-self: center;
  background: rgb(255 253 248 / 10%);
  border: 1px solid rgb(255 253 248 / 20%);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  min-width: 0;
  padding: var(--ct-space-4);
}

.ct-station-confirmation-hero__facts div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ct-station-confirmation-hero__facts dt,
.ct-station-confirmation-hero__facts dd {
  margin: 0;
}

.ct-station-confirmation-hero__facts dt {
  color: rgb(255 253 248 / 62%);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-station-confirmation-hero__facts dd {
  color: var(--ct-color-paper);
  font-size: var(--ct-text-sm);
  font-weight: 850;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-station-proof-note {
  align-items: flex-start;
  background: color-mix(in srgb, var(--ct-color-trust-soft) 70%, var(--ct-color-surface));
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-muted);
  display: grid;
  gap: var(--ct-space-1);
  margin-top: var(--ct-space-4);
  padding: var(--ct-space-4);
}

.ct-station-proof-note strong {
  color: var(--ct-color-primary-strong);
}

.ct-station-review-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ct-linked-object-strip {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
}

.ct-linked-object {
  background: var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  gap: var(--ct-space-1);
  min-width: 0;
  padding: var(--ct-space-4);
}

.ct-linked-object span,
.ct-linked-object small {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
}

.ct-linked-object span {
  font-weight: 850;
  text-transform: uppercase;
}

.ct-linked-object strong {
  color: var(--ct-color-primary-strong);
}

.ct-station-checklist,
.ct-document-preview-list,
.ct-evidence-activity-list {
  display: grid;
  gap: var(--ct-space-3);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-station-checklist li,
.ct-document-preview-list li,
.ct-evidence-activity-list li {
  align-items: center;
  border-bottom: 1px solid var(--ct-color-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  justify-content: space-between;
  min-width: 0;
  padding-bottom: var(--ct-space-3);
}

.ct-station-checklist li:last-child,
.ct-document-preview-list li:last-child,
.ct-evidence-activity-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ct-station-checklist li > div,
.ct-document-preview-list li > div,
.ct-evidence-activity-list li > div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ct-station-checklist span,
.ct-document-preview-list span,
.ct-evidence-activity-list span,
.ct-evidence-activity-list small {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-evidence-activity-list__marker {
  background: var(--ct-color-success);
  border-radius: 999px;
  box-shadow: 0 0 0 4px var(--ct-color-success-soft);
  flex: 0 0 12px;
  height: 12px;
  width: 12px;
}

.ct-shipment-update-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(min(100%, 280px), 0.8fr) minmax(min(100%, 360px), 1.2fr) minmax(min(100%, 300px), 0.9fr);
}

.ct-card-grid--admin-amendment-review {
  align-items: start;
}

.ct-passport-card {
  display: grid;
  gap: var(--ct-space-4);
}

.ct-breeder-workspace-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.ct-breeder-command-grid {
  align-items: start;
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(0, 1.05fr) minmax(min(100%, 320px), 0.86fr);
}

.ct-breeder-passport-stack {
  display: grid;
  gap: var(--ct-space-4);
}

.ct-passport-card__body {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(112px, 0.45fr) minmax(0, 1fr) minmax(126px, 0.4fr);
}

.ct-passport-card--compact .ct-passport-card__body {
  grid-template-columns: 88px minmax(0, 1fr);
}

.ct-passport-card--compact .ct-passport-card__seal {
  grid-column: 1 / -1;
}

.ct-passport-card--compact .ct-description-list,
.ct-passport-card--compact .ct-description-list--compact,
.ct-passport-card--compact .ct-description-list--grid {
  grid-template-columns: 1fr;
}

.ct-passport-card__image {
  align-items: center;
  aspect-ratio: 4 / 5;
  background:
    url("/coritech-assets/horse-passport-mark.svg") center / 82% no-repeat,
    linear-gradient(145deg, rgb(47 125 91 / 14%), rgb(185 133 46 / 13%)),
    var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-primary-strong);
  display: flex;
  font-size: var(--ct-text-xl);
  font-weight: 850;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.ct-passport-card__image span {
  background: rgb(255 253 248 / 88%);
  border: 1px solid var(--ct-color-border);
  border-radius: 999px;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  padding: var(--ct-space-2) var(--ct-space-3);
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.ct-passport-card__image::after {
  background: var(--ct-mark-seal);
  border: 1px solid color-mix(in srgb, var(--ct-color-trust) 44%, var(--ct-color-border));
  border-radius: 999px;
  bottom: var(--ct-space-3);
  content: "";
  height: 42px;
  position: absolute;
  right: var(--ct-space-3);
  width: 42px;
}

.ct-passport-card__image img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.ct-passport-card__identity {
  min-width: 0;
}

.ct-passport-card__seal {
  align-content: center;
  border: 1px solid color-mix(in srgb, var(--ct-color-trust) 45%, var(--ct-color-border));
  border-radius: 999px;
  color: var(--ct-color-primary-strong);
  display: grid;
  gap: var(--ct-space-1);
  justify-items: center;
  min-height: 126px;
  padding: var(--ct-space-4);
  text-align: center;
}

.ct-passport-card__seal span,
.ct-passport-card__seal small {
  color: var(--ct-color-accent);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-verification-rail__items,
.ct-order-progress__steps,
.ct-evidence-timeline__list,
.ct-shipment-tracker__events,
.ct-document-status-list__items,
.ct-trust-policy ul,
.ct-admin-console__actions ul,
.ct-admin-console__warnings ul,
.ct-missing-evidence__items,
.ct-action-review__checklist {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-verification-rail__items {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
}

.ct-verification-rail__item {
  align-items: flex-start;
  background: color-mix(in srgb, var(--ct-status-verified-background) 60%, transparent);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  min-width: 0;
  padding: var(--ct-space-4);
}

.ct-verification-rail__item > .ct-domain-status {
  max-width: 100%;
}

.ct-verification-rail__item--missing {
  background: color-mix(in srgb, var(--ct-status-review-background) 70%, transparent);
}

.ct-verification-rail__item div,
.ct-shipment-tracker__events li div,
.ct-document-status-list__items li div,
.ct-trust-policy li div,
.ct-admin-console__actions li {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ct-verification-rail__item div {
  flex: 1 1 170px;
}

.ct-verification-rail__item strong {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ct-verification-rail__item span,
.ct-evidence-event span,
.ct-shipment-tracker__events span,
.ct-document-status-list__items span,
.ct-trust-policy span,
.ct-admin-console__actions span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-evidence-event p {
  color: var(--ct-color-text);
  line-height: 1.55;
  margin: 0 0 var(--ct-space-3);
}

.ct-evidence-event__details {
  margin-top: var(--ct-space-3);
}

.ct-order-progress__steps {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
}

.ct-order-progress__step {
  border-top: 2px solid var(--ct-color-border);
  display: grid;
  gap: var(--ct-space-2);
  min-width: 0;
  padding-top: var(--ct-space-3);
  position: relative;
}

.ct-order-progress__step strong,
.ct-order-progress__step span,
.ct-order-progress__step p {
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.ct-order-progress__step--current {
  border-color: var(--ct-color-review);
}

.ct-order-progress__marker {
  background: var(--ct-color-surface);
  border: 2px solid var(--ct-color-border-strong);
  border-radius: 999px;
  height: 18px;
  left: 0;
  position: absolute;
  top: -10px;
  width: 18px;
}

.ct-order-progress__step--current .ct-order-progress__marker {
  background: var(--ct-color-review);
  border-color: var(--ct-color-review);
}

.ct-evidence-timeline__list {
  display: grid;
  gap: var(--ct-space-4);
}

.ct-evidence-event {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: 18px minmax(0, 1fr);
}

.ct-evidence-event__marker {
  background: var(--ct-color-success);
  border-radius: 999px;
  box-shadow: 0 0 0 4px var(--ct-color-success-soft);
  height: 12px;
  margin-top: 6px;
  width: 12px;
}

.ct-evidence-event__body {
  border-bottom: 1px solid var(--ct-color-border);
  padding-bottom: var(--ct-space-4);
}

.ct-evidence-event__header,
.ct-shipment-tracker__events li,
.ct-document-status-list__items li,
.ct-trust-policy li,
.ct-admin-console__actions li {
  align-items: flex-start;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  justify-content: space-between;
  min-width: 0;
}

.ct-evidence-event__header {
  margin-bottom: var(--ct-space-2);
}

.ct-document-vault {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(min(100%, 260px), 0.7fr) minmax(min(100%, 360px), 1.2fr) minmax(min(100%, 240px), 0.6fr);
}

.ct-document-vault__list ul {
  display: grid;
  gap: var(--ct-space-2);
  list-style: none;
  margin: 0;
  padding: 0;
}

.ct-document-vault__list li {
  align-items: center;
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  justify-content: space-between;
  min-width: 0;
  padding: var(--ct-space-3);
}

.ct-document-vault__list li[aria-current="true"] {
  background: var(--ct-color-warning-soft);
  border-color: color-mix(in srgb, var(--ct-color-review) 44%, var(--ct-color-border));
}

.ct-document-vault__list li div {
  display: grid;
  gap: var(--ct-space-1);
  flex: 1 1 180px;
  min-width: 0;
}

.ct-document-vault__list li span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-document-vault__list li .ct-reference-summary,
.ct-document-status-list__items li .ct-reference-summary {
  font-size: var(--ct-text-xs);
}

.ct-document-vault__preview {
  align-items: center;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(135deg, rgb(16 33 29 / 8%), rgb(185 133 46 / 12%)),
    var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  color: var(--ct-color-muted);
  display: flex;
  justify-content: center;
  margin-bottom: var(--ct-space-4);
  padding: var(--ct-space-6);
  text-align: center;
}

.ct-shipment-tracker,
.ct-action-review,
.ct-trust-policy,
.ct-organization-trust,
.ct-amendment-diff {
  display: grid;
  gap: var(--ct-space-4);
}

.ct-organization-trust {
  padding: var(--ct-space-5);
  position: relative;
}

.ct-organization-trust::before {
  background:
    var(--ct-mark-facility),
    linear-gradient(135deg, rgb(47 125 91 / 13%), rgb(185 133 46 / 10%)),
    var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  content: "";
  min-height: 150px;
}

.ct-shipment-tracker__events {
  display: grid;
  gap: var(--ct-space-3);
}

.ct-shipment-tracker__events li {
  border-top: 1px solid var(--ct-color-border);
  padding-top: var(--ct-space-3);
}

.ct-missing-evidence__items {
  display: grid;
  gap: var(--ct-space-3);
}

.ct-missing-evidence__items li {
  display: grid;
  gap: 2px;
}

.ct-responsibility-strip {
  align-items: center;
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(220px, 1fr) minmax(280px, 1fr) auto;
}

.ct-organization-trust > strong {
  color: var(--ct-color-primary-strong);
}

.ct-action-review__checklist {
  display: grid;
  gap: var(--ct-space-2);
}

.ct-action-review__checklist li {
  border-left: 3px solid var(--ct-color-success);
  padding-left: var(--ct-space-3);
}

.ct-data-access-notice__grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.ct-data-access-notice ul {
  margin: var(--ct-space-2) 0 0;
  padding-left: var(--ct-space-5);
}

.ct-trust-policy ul,
.ct-admin-console__actions ul,
.ct-admin-console__warnings ul {
  display: grid;
  gap: var(--ct-space-3);
}

.ct-amendment-diff__table {
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  display: grid;
  max-width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
}

.ct-amendment-diff__table [role="row"] {
  display: grid;
  gap: var(--ct-space-3);
  grid-template-columns: minmax(120px, 0.8fr) minmax(160px, 1fr) minmax(160px, 1fr) minmax(130px, 0.8fr);
  min-width: 680px;
  padding: var(--ct-space-3);
}

.ct-amendment-diff__table [role="row"] > * {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-amendment-diff__table [role="row"]:first-child {
  background: var(--ct-color-surface-muted);
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-amendment-diff__table [role="row"] + [role="row"] {
  border-top: 1px solid var(--ct-color-border);
}

.ct-admin-console {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(min(100%, 280px), 0.8fr) minmax(min(100%, 360px), 1.2fr);
}

.ct-admin-console > * {
  min-width: 0;
}

.ct-admin-console .ct-evidence-timeline,
.ct-admin-console .ct-action-review {
  grid-row: span 2;
}

.ct-prototype-page,
.ct-prototype-workspace__main {
  display: grid;
  gap: var(--ct-space-6);
}

.ct-prototype-page {
  margin: 0 auto;
  max-width: 1480px;
  padding: var(--ct-space-8);
  width: 100%;
}

.ct-prototype-grid,
.ct-prototype-summary-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.ct-prototype-workspace .ct-prototype-summary-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ct-prototype-wide-grid {
  align-items: start;
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
}

.ct-prototype-record-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: var(--ct-space-5);
}

.ct-prototype-record-list li {
  align-items: center;
  border-bottom: 1px solid var(--ct-color-border);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  justify-content: space-between;
  min-width: 0;
  padding: var(--ct-space-3) 0;
}

.ct-prototype-record-list li:first-child {
  padding-top: 0;
}

.ct-prototype-record-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ct-prototype-record-list li > div,
.ct-prototype-summary-card,
.ct-prototype-panel-item,
.ct-prototype-sidebar-footer,
.ct-prototype-card-body {
  display: grid;
  gap: var(--ct-space-1);
  min-width: 0;
}

.ct-prototype-record-list span,
.ct-prototype-summary-card span,
.ct-prototype-summary-card small,
.ct-prototype-panel-item span,
.ct-prototype-panel-item p,
.ct-prototype-sidebar-footer span,
.ct-prototype-document-row span,
.ct-prototype-footer-note span,
.ct-prototype-note {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-prototype-record-list strong,
.ct-prototype-record-list span,
.ct-prototype-summary-card strong,
.ct-prototype-summary-card span,
.ct-prototype-summary-card small,
.ct-prototype-panel-item strong,
.ct-prototype-panel-item span,
.ct-prototype-panel-item p {
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-prototype-note {
  background: var(--ct-color-surface-muted);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  margin: 0 var(--ct-space-5) var(--ct-space-5);
  padding: var(--ct-space-3);
}

.ct-prototype-footer-note {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  justify-content: space-between;
  padding: var(--ct-space-5);
}

.ct-prototype-workspace {
  background:
    linear-gradient(180deg, rgb(255 253 248 / 88%), rgb(248 242 232 / 94%)),
    var(--ct-background-parchment);
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  min-height: 100vh;
}

.ct-prototype-workspace__main {
  align-content: start;
  min-width: 0;
  padding: var(--ct-space-8);
}

.ct-prototype-sidebar {
  background:
    linear-gradient(180deg, rgb(12 54 47 / 96%), rgb(8 42 37 / 98%)),
    var(--ct-background-shell);
  color: var(--ct-color-paper);
}

.ct-prototype-sidebar .ct-layout-sidebar__brand {
  padding-left: 52px;
  position: relative;
}

.ct-prototype-sidebar .ct-layout-sidebar__brand::before {
  background:
    url("/coritech-assets/coritech-shield-mark.svg") center / 24px 24px no-repeat,
    color-mix(in srgb, var(--ct-color-trust) 22%, transparent);
  border: 1px solid rgb(255 253 248 / 18%);
  border-radius: var(--ct-radius-md);
  content: "";
  height: 36px;
  left: 0;
  position: absolute;
  top: 2px;
  width: 36px;
}

.ct-prototype-sidebar .ct-layout-sidebar__brand strong {
  color: var(--ct-color-paper);
}

.ct-prototype-sidebar .ct-layout-sidebar__brand span,
.ct-prototype-sidebar .ct-layout-sidebar__footer,
.ct-prototype-sidebar .ct-layout-sidebar__nav a {
  color: var(--ct-color-navigation-muted);
}

.ct-prototype-sidebar .ct-layout-sidebar__nav a:hover,
.ct-prototype-sidebar .ct-layout-sidebar__nav a[aria-current="page"] {
  background: rgb(255 253 248 / 9%);
  border-color: rgb(255 253 248 / 14%);
  color: var(--ct-color-paper);
}

.ct-prototype-sidebar .ct-layout-sidebar__nav a[aria-current="page"] {
  box-shadow: inset 3px 0 0 var(--ct-color-brass-500);
}

.ct-prototype-sidebar-footer strong {
  color: var(--ct-color-paper);
  font-size: var(--ct-text-sm);
  text-transform: none;
}

.ct-prototype-summary-card {
  min-height: 156px;
  padding: var(--ct-space-5);
}

.ct-prototype-summary-card span,
.ct-prototype-panel-item span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-prototype-summary-card strong,
.ct-prototype-panel-item strong,
.ct-prototype-linked-passport strong,
.ct-prototype-card-body strong {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  line-height: 1.2;
}

.ct-prototype-split {
  align-items: start;
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
}

.ct-prototype-panel-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  padding: var(--ct-space-5);
}

.ct-prototype-panel-item {
  border-bottom: 1px solid var(--ct-color-border);
  min-height: 132px;
  padding: var(--ct-space-4);
}

.ct-prototype-panel-item:nth-child(odd) {
  border-right: 1px solid var(--ct-color-border);
}

.ct-prototype-panel-item p {
  margin: 0;
}

.ct-prototype-linked-passport {
  align-items: center;
  background: var(--ct-color-surface-muted);
  border-top: 1px solid var(--ct-color-border);
  display: flex;
  gap: var(--ct-space-4);
  justify-content: space-between;
  padding: var(--ct-space-5);
}

.ct-prototype-linked-passport span,
.ct-prototype-linked-passport small {
  color: var(--ct-color-muted);
  display: block;
  font-size: var(--ct-text-sm);
}

.ct-prototype-side-stack {
  display: grid;
  gap: var(--ct-space-4);
}

.ct-prototype-card-body {
  padding: var(--ct-space-5);
}

.ct-prototype-card-body p {
  color: var(--ct-color-muted);
  margin: 0;
}

.ct-prototype-document-row {
  align-items: center;
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-md);
  display: flex;
  gap: var(--ct-space-3);
  justify-content: space-between;
  padding: var(--ct-space-3);
}

.ct-prototype-document-row div {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.ct-prototype-action-strip {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ct-prototype-action-strip .ct-button {
  width: 100%;
}

.ct-buyer-prototype {
  background:
    linear-gradient(180deg, rgb(255 253 248 / 95%), rgb(248 242 232 / 92%)),
    var(--ct-background-parchment);
  min-height: 100vh;
  overflow-x: clip;
}

.ct-buyer-prototype__topbar {
  align-items: center;
  background:
    linear-gradient(90deg, rgb(10 45 39 / 98%), rgb(18 68 58 / 94%)),
    var(--ct-background-shell);
  color: var(--ct-color-paper);
  display: flex;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 clamp(var(--ct-space-5), 4vw, 64px);
}

.ct-buyer-prototype__brand {
  align-items: center;
  color: var(--ct-color-paper);
  display: grid;
  gap: 0 var(--ct-space-3);
  grid-template-columns: 34px minmax(0, auto) auto;
  min-width: 0;
  text-decoration: none;
}

.ct-buyer-prototype__brand span {
  align-items: center;
  background:
    url("/coritech-assets/coritech-shield-mark.svg") center / 22px 22px no-repeat,
    color-mix(in srgb, var(--ct-color-trust) 20%, transparent);
  border: 1px solid var(--ct-color-trust);
  border-radius: var(--ct-radius-md);
  display: inline-flex;
  height: 34px;
  justify-content: center;
  overflow: hidden;
  text-indent: -999px;
  width: 34px;
}

.ct-buyer-prototype__brand strong {
  font-family: var(--ct-font-display);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.ct-buyer-prototype__brand small {
  border-left: 1px solid rgb(255 253 248 / 28%);
  color: var(--ct-color-trust);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0;
  margin-left: var(--ct-space-3);
  padding-left: var(--ct-space-3);
  text-transform: uppercase;
}

.ct-buyer-prototype__topbar > div,
.ct-buyer-prototype__actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  justify-content: flex-end;
}

.ct-buyer-prototype__topbar .ct-button--ghost {
  color: var(--ct-color-paper);
}

.ct-buyer-prototype__topbar .ct-button--ghost:focus-visible,
.ct-buyer-prototype__topbar .ct-button--ghost:hover {
  background: rgb(255 253 248 / 10%);
  color: var(--ct-color-paper);
}

.ct-buyer-prototype__body {
  box-sizing: border-box;
  display: grid;
  gap: var(--ct-space-5);
  margin: 0 auto;
  max-width: 1480px;
  padding: var(--ct-space-6) clamp(var(--ct-space-4), 4vw, var(--ct-space-8)) var(--ct-space-8);
  width: 100%;
}

.ct-buyer-prototype__heading {
  align-items: end;
  display: grid;
  gap: var(--ct-space-5);
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.7fr);
  min-width: 0;
}

.ct-buyer-prototype__heading > * {
  min-width: 0;
}

.ct-buyer-prototype__heading h1 {
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-display);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  line-height: 1.08;
  margin: 0 0 var(--ct-space-3);
}

.ct-buyer-prototype__read-only {
  align-items: center;
  background: rgb(255 253 248 / 80%);
  border: 1px solid color-mix(in srgb, var(--ct-color-accent) 32%, var(--ct-color-border));
  border-radius: var(--ct-radius-lg);
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  padding: var(--ct-space-3) var(--ct-space-4);
}

.ct-buyer-prototype__read-only span {
  color: var(--ct-color-muted);
  flex-basis: 100%;
  font-size: var(--ct-text-sm);
}

.ct-buyer-passport-hero {
  align-items: stretch;
  background: var(--ct-color-surface);
  border: 1px solid var(--ct-color-border);
  border-radius: var(--ct-radius-lg);
  box-shadow: 0 10px 34px rgb(16 33 29 / 6%);
  display: grid;
  grid-template-columns: minmax(280px, 0.55fr) minmax(0, 1.25fr) minmax(190px, 0.42fr);
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
}

.ct-buyer-passport-hero__name,
.ct-buyer-passport-hero__seal {
  align-content: center;
  display: grid;
  justify-items: center;
  min-width: 0;
  padding: var(--ct-space-6);
  text-align: center;
}

.ct-buyer-passport-hero__name {
  border-right: 1px solid var(--ct-color-border);
}

.ct-buyer-passport-hero__mark {
  align-items: center;
  background:
    url("/coritech-assets/horse-passport-mark.svg") center / 42px 42px no-repeat,
    color-mix(in srgb, var(--ct-color-trust) 24%, var(--ct-color-surface));
  border: 2px solid var(--ct-color-trust);
  border-radius: var(--ct-radius-lg);
  display: inline-flex;
  height: 70px;
  justify-content: center;
  margin-bottom: var(--ct-space-3);
  overflow: hidden;
  text-indent: -999px;
  width: 70px;
}

.ct-buyer-passport-hero__name strong {
  color: var(--ct-color-primary-strong);
  font-family: var(--ct-font-display);
  font-size: 34px;
  line-height: 1.08;
}

.ct-buyer-passport-hero__name small,
.ct-buyer-passport-hero__name em {
  color: var(--ct-color-muted);
  font-style: normal;
  font-size: var(--ct-text-sm);
}

.ct-buyer-passport-hero dl {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0;
}

.ct-buyer-passport-hero dl div {
  border-bottom: 1px solid var(--ct-color-border);
  border-right: 1px solid var(--ct-color-border);
  display: grid;
  gap: var(--ct-space-1);
  min-height: 92px;
  min-width: 0;
  padding: var(--ct-space-5);
}

.ct-buyer-passport-hero dl div:nth-child(4n) {
  border-right: 0;
}

.ct-buyer-passport-hero dl div:nth-last-child(-n + 4) {
  border-bottom: 0;
}

.ct-buyer-passport-hero dt {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-buyer-passport-hero dd {
  color: var(--ct-color-primary-strong);
  font-size: var(--ct-text-lg);
  font-weight: 750;
  margin: 0;
  overflow-wrap: break-word;
  word-break: normal;
}

.ct-buyer-passport-hero__seal {
  border-left: 1px solid var(--ct-color-border);
  color: var(--ct-color-accent);
  font-size: var(--ct-text-xs);
  font-weight: 850;
  text-transform: uppercase;
}

.ct-buyer-passport-hero__seal::before {
  align-items: center;
  background:
    url("/coritech-assets/verification-seal.svg") center / 74px 74px no-repeat,
    color-mix(in srgb, var(--ct-color-trust) 26%, var(--ct-color-surface));
  border: 2px solid var(--ct-color-trust);
  border-radius: 999px;
  content: "";
  display: inline-flex;
  height: 126px;
  justify-content: center;
  margin-bottom: var(--ct-space-3);
  width: 126px;
}

.ct-buyer-prototype__card-grid {
  display: grid;
  gap: var(--ct-space-4);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ct-buyer-prototype__timeline {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: var(--ct-space-5);
}

.ct-buyer-prototype__timeline li {
  border-left: 2px solid var(--ct-color-success);
  display: grid;
  gap: 2px;
  padding: 0 0 var(--ct-space-4) var(--ct-space-4);
  position: relative;
}

.ct-buyer-prototype__timeline li::before {
  background: var(--ct-color-success);
  border-radius: 999px;
  box-shadow: 0 0 0 4px var(--ct-color-success-soft);
  content: "";
  height: 10px;
  left: -6px;
  position: absolute;
  top: 5px;
  width: 10px;
}

.ct-buyer-prototype__timeline li:last-child {
  border-left-color: transparent;
  padding-bottom: 0;
}

.ct-buyer-prototype__timeline span,
.ct-buyer-prototype__timeline small,
.ct-buyer-prototype__footer-note span {
  color: var(--ct-color-muted);
  font-size: var(--ct-text-sm);
}

.ct-buyer-prototype__footer-note {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: var(--ct-space-3);
  justify-content: space-between;
  padding: var(--ct-space-5);
}

@media (max-width: 1100px) {
  .ct-passport-card__body,
  .ct-screen-shell--with-sidebar,
  .ct-passport-identity-hero,
  .ct-proof-context-strip,
  .ct-bottom-action-strip,
  .ct-breeder-command-grid,
  .ct-breeder-workspace-grid,
  .ct-document-vault,
  .ct-document-vault-workspace .ct-document-vault,
  .ct-responsibility-strip,
  .ct-admin-console,
  .ct-linked-object-strip,
  .ct-station-confirmation-hero,
  .ct-station-hero-grid,
  .ct-station-queue-grid,
  .ct-station-queue-grid--wide,
  .ct-station-review-grid,
  .ct-shipment-update-grid,
  .ct-prototype-wide-grid,
  .ct-prototype-split {
    grid-template-columns: 1fr;
  }

  .ct-prototype-workspace .ct-prototype-summary-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-order-progress__steps {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
  }

  .ct-prototype-workspace {
    grid-template-columns: 1fr;
  }

  .ct-bottom-action-strip {
    align-items: stretch;
  }

  .ct-bottom-action-strip .ct-action-bar,
  .ct-evidence-decision-rail .ct-action-bar {
    justify-content: flex-start;
  }

  .ct-decision-checklist li,
  .ct-command-center-queue li,
  .ct-evidence-decision-rail__documents li {
    align-items: stretch;
    grid-template-columns: 1fr;
  }

  .ct-station-confirmation-hero {
    background-position: right -44px top 22px;
  }

  .ct-buyer-passport-hero {
    grid-template-columns: 1fr;
  }

  .ct-buyer-passport-hero dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ct-buyer-passport-hero dl div:nth-child(4n) {
    border-right: 1px solid rgb(255 253 248 / 16%);
  }

  .ct-buyer-passport-hero dl div:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 1280px) {
  .ct-passport-card--compact .ct-passport-card__body {
    grid-template-columns: 1fr;
  }

  .ct-passport-card--compact .ct-passport-card__image {
    min-height: 132px;
  }
}

@media (max-width: 1500px) {
  .ct-shipment-update-grid {
    grid-template-columns: minmax(260px, 0.85fr) minmax(0, 1.15fr);
  }

  .ct-shipment-update-grid > .ct-page-stack,
  .ct-card-grid--admin-amendment-review {
    grid-column: 1 / -1;
  }

  .ct-card-grid--admin-amendment-review {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .ct-amendment-diff__table {
    overflow-x: visible;
  }

  .ct-amendment-diff__table [role="row"] {
    gap: var(--ct-space-2);
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .ct-amendment-diff__table [role="row"]:first-child {
    display: none;
  }

  .ct-amendment-diff__table [role="cell"] {
    border: 1px solid var(--ct-color-border);
    border-radius: var(--ct-radius-md);
    display: grid;
    gap: 2px;
    padding: var(--ct-space-2);
  }

  .ct-amendment-diff__table [role="cell"]::before {
    color: var(--ct-color-muted);
    content: "Value";
    font-size: var(--ct-text-xs);
    font-weight: 850;
    text-transform: uppercase;
  }

  .ct-amendment-diff__table [role="cell"]:nth-child(1)::before {
    content: "Field";
  }

  .ct-amendment-diff__table [role="cell"]:nth-child(2)::before {
    content: "Before";
  }

  .ct-amendment-diff__table [role="cell"]:nth-child(3)::before {
    content: "After";
  }

  .ct-amendment-diff__table [role="cell"]:nth-child(4)::before {
    content: "Control";
  }
}

@media (max-width: 720px) {
  .ct-domain-card__header,
  .ct-evidence-event__header,
  .ct-evidence-decision-rail__header,
  .ct-verification-rail__item,
  .ct-shipment-tracker__events li,
  .ct-document-status-list__items li,
  .ct-trust-policy li,
  .ct-admin-console__actions li,
  .ct-evidence-activity-list li {
    align-items: stretch;
    flex-direction: column;
  }

  .ct-order-progress__steps {
    grid-template-columns: 1fr;
  }

  .ct-proof-context-strip,
  .ct-decision-checklist li,
  .ct-command-center-queue li,
  .ct-shipment-update-grid,
  .ct-station-confirmation-hero__facts,
  .ct-evidence-decision-rail__documents li {
    grid-template-columns: 1fr;
  }

  .ct-shipment-update-grid > .ct-page-stack {
    grid-column: auto;
  }

  .ct-station-confirmation-hero {
    padding: var(--ct-space-5);
  }

  .ct-station-confirmation-hero__seal {
    height: 72px;
    width: 72px;
  }

  .ct-station-confirmation-hero__summary h2 {
    font-size: var(--ct-text-2xl);
  }

  .ct-bottom-action-strip .ct-action-bar,
  .ct-evidence-decision-rail .ct-action-bar {
    justify-content: stretch;
  }

  .ct-bottom-action-strip .ct-button,
  .ct-evidence-decision-rail .ct-button {
    justify-content: center;
    width: 100%;
  }

  .ct-amendment-diff__table {
    overflow-x: visible;
  }

  .ct-amendment-diff__table [role="row"] {
    gap: var(--ct-space-2);
    grid-template-columns: 1fr;
    min-width: 0;
  }

  .ct-amendment-diff__table [role="row"]:first-child {
    display: none;
  }

  .ct-amendment-diff__table [role="cell"] {
    border: 1px solid var(--ct-color-border);
    border-radius: var(--ct-radius-md);
    display: grid;
    gap: 2px;
    padding: var(--ct-space-2);
  }

  .ct-amendment-diff__table [role="cell"]::before {
    color: var(--ct-color-muted);
    content: "Value";
    font-size: var(--ct-text-xs);
    font-weight: 850;
    text-transform: uppercase;
  }

  .ct-amendment-diff__table [role="cell"]:nth-child(1)::before {
    content: "Field";
  }

  .ct-amendment-diff__table [role="cell"]:nth-child(2)::before {
    content: "Before";
  }

  .ct-amendment-diff__table [role="cell"]:nth-child(3)::before {
    content: "After";
  }

  .ct-amendment-diff__table [role="cell"]:nth-child(4)::before {
    content: "Control";
  }

  .ct-prototype-page,
  .ct-prototype-workspace__main {
    padding: var(--ct-space-4);
  }

  .ct-prototype-record-list li,
  .ct-prototype-linked-passport,
  .ct-prototype-document-row,
  .ct-prototype-footer-note {
    align-items: stretch;
    flex-direction: column;
  }

  .ct-prototype-panel-grid,
  .ct-prototype-workspace .ct-prototype-summary-grid,
  .ct-prototype-action-strip {
    grid-template-columns: 1fr;
  }

  .ct-prototype-panel-item,
  .ct-prototype-panel-item:nth-child(odd) {
    border-right: 0;
  }

  .ct-buyer-prototype__topbar,
  .ct-buyer-prototype__heading,
  .ct-buyer-prototype__actions,
  .ct-buyer-prototype__read-only,
  .ct-buyer-prototype__footer-note {
    align-items: stretch;
    flex-direction: column;
  }

  .ct-buyer-prototype__topbar {
    padding: var(--ct-space-4);
  }

  .ct-buyer-prototype__brand {
    grid-template-columns: 34px minmax(0, 1fr);
  }

  .ct-buyer-prototype__brand small {
    border-left: 0;
    grid-column: 2;
    margin-left: 0;
    padding-left: 0;
  }

  .ct-buyer-prototype__body {
    box-sizing: border-box;
    padding: var(--ct-space-4);
    width: 100%;
  }

  .ct-buyer-prototype__heading {
    grid-template-columns: 1fr;
  }

  .ct-buyer-prototype__heading h1 {
    font-size: var(--ct-text-2xl);
  }

  .ct-buyer-passport-hero dl,
  .ct-buyer-prototype__card-grid {
    grid-template-columns: 1fr;
  }

  .ct-buyer-passport-hero dl div,
  .ct-buyer-passport-hero dl div:nth-child(2n),
  .ct-buyer-passport-hero dl div:nth-child(4n) {
    border-right: 0;
  }

  .ct-buyer-passport-hero dl div:nth-last-child(-n + 4) {
    border-bottom: 1px solid rgb(255 253 248 / 16%);
  }

  .ct-buyer-passport-hero dl div:last-child {
    border-bottom: 0;
  }
}

