
/* /@fs/home/tk/d-codex/codapt2/src/web/internal/app.css */
/*! tailwindcss v4.2.1 | MIT License | https://tailwindcss.com */
@layer theme, base, components, utilities;
@layer theme {
  :root, :host {
    --font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji",
      "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono",
      "Courier New", monospace;
    --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;
:root {
  color-scheme: light;
  --app-bg: #ffffff;
  --app-surface: #ffffff;
  --app-surface-muted: #fcfcfc;
  --app-surface-inverse: #111111;
  --app-border: #111111;
  --app-border-soft: #dddddd;
  --app-border-muted: #ebebeb;
  --app-text: #111111;
  --app-text-base: #333333;
  --app-text-soft: #444444;
  --app-text-muted: #888888;
  --app-text-faint: #aaaaaa;
  --app-row-border: #f0f0f0;
  --app-surface-hover: #fafafa;
  --app-hairline: 0.5px;
  --font-body: "JetBrains Mono", "SFMono-Regular", "SF Mono", "IBM Plex Mono",
    "Cascadia Mono", monospace;
  --font-mono: "JetBrains Mono", "SFMono-Regular", "SF Mono", "IBM Plex Mono",
    "Cascadia Mono", monospace;
}
@layer base {
  *, *::before, *::after {
    box-sizing: border-box;
  }
  html {
    min-height: 100%;
    background: var(--app-bg);
    color: var(--app-text);
    font-family: var(--font-body);
  }
  body {
    min-height: 100vh;
    margin: 0;
    background: var(--app-bg);
    color: var(--app-text-base);
    font-family: var(--font-body);
  }
  a {
    color: inherit;
    text-decoration: none;
  }
  button, input, textarea, select {
    border-radius: 0;
    color: inherit;
    font: inherit;
  }
  button {
    padding: 0;
    border: 0;
    background: transparent;
  }
  input::placeholder, textarea::placeholder {
    color: var(--app-text-faint);
  }
  ::selection {
    color: white;
    background: var(--app-text);
  }
}
@layer components {
  .app-body {
    min-height: 100vh;
    background: var(--app-bg);
  }
  .app-shell {
    width: min(100%, 84rem);
    margin: 0 auto;
    padding: clamp(1.75rem, 4vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) 4rem;
  }
  .app-shell--centered {
    display: flex;
    min-height: 100vh;
    align-items: center;
    justify-content: center;
  }
  .app-content {
    width: 100%;
  }
  .app-main {
    margin-top: 2rem;
  }
  .topbar {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
    justify-content: space-between;
    padding-bottom: 1.25rem;
    border-bottom: var(--app-hairline) solid var(--app-border-soft);
  }
  .topbar__brand {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    min-width: 0;
  }
  .topbar__eyebrow, .eyebrow {
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--app-text-muted);
  }
  .topbar__title {
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: -0.04em;
    color: var(--app-text);
  }
  .topbar__nav, .cluster, .page-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
  }
  .nav-link {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0;
    border-bottom: var(--app-hairline) solid transparent;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--app-text-faint);
    transition: border-color 140ms ease, color 140ms ease;
  }
  .nav-link:hover, .nav-link:focus-visible, .nav-link--emphasis {
    color: var(--app-text);
    border-bottom-color: var(--app-text);
  }
  .nav-link--emphasis {
    font-weight: 500;
  }
  .page, .section, .stack, .section-header, .page-header {
    display: flex;
    flex-direction: column;
  }
  .page {
    gap: 2rem;
  }
  .section {
    gap: 0.875rem;
  }
  .page--hero {
    max-width: 56rem;
  }
  .page--narrow {
    max-width: 44rem;
  }
  .page--wide {
    max-width: 78rem;
  }
  .stack {
    gap: 1rem;
  }
  .stack--tight, .section-header, .page-header {
    gap: 0.75rem;
  }
  .split-header, .row-list__item {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    justify-content: space-between;
  }
  .page-title {
    font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.04em;
    color: var(--app-text);
  }
  .section-title {
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--app-text);
  }
  .page-description, .section-description {
    max-width: 66ch;
    font-size: 0.8125rem;
    line-height: 1.75;
    color: var(--app-text-base);
  }
  .panel, .table-wrap {
    background: var(--app-surface);
  }
  .panel {
    padding: 1rem 1.125rem;
    border: var(--app-hairline) solid var(--app-border-muted);
  }
  .panel--muted {
    background: var(--app-surface-muted);
  }
  .panel--inverse {
    color: white;
    background: var(--app-surface-inverse);
    border-color: var(--app-surface-inverse);
  }
  .message {
    padding: 0.75rem 0;
    border-top: var(--app-hairline) solid var(--app-border-muted);
    border-bottom: var(--app-hairline) solid var(--app-border-muted);
    font-size: 0.75rem;
    line-height: 1.7;
    color: var(--app-text-base);
    background: transparent;
  }
  .message--muted {
    color: var(--app-text-muted);
  }
  .message--error {
    color: var(--app-text);
    border-color: var(--app-border-soft);
  }
  .label, .helper-text, .data-list__term, .data-table th {
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--app-text-muted);
  }
  label.helper-text, div.helper-text, p.helper-text {
    display: block;
    margin-bottom: 0.75rem;
  }
  .data-list {
    display: grid;
    grid-template-columns: minmax(0, 12rem) minmax(0, 1fr);
    gap: 0.75rem 1.5rem;
  }
  .data-list__term, .data-list__value {
    margin: 0;
  }
  .data-list__value {
    min-width: 0;
    font-size: 0.8125rem;
    line-height: 1.7;
    color: var(--app-text-base);
  }
  .field-control {
    width: 100%;
    min-height: 2.5rem;
    padding: 0.5rem 0;
    border: none;
    border-bottom: var(--app-hairline) solid var(--app-border-soft);
    background: transparent;
    font-size: 0.8125rem;
    color: var(--app-text);
  }
  .field-control:focus-visible {
    outline: none;
    border-bottom-color: var(--app-text);
  }
  .field-control--code, .mono-text, .inline-code, .code-block, .data-table__cell--mono, .data-list__value code {
    font-family: var(--font-mono);
  }
  .field-control--code {
    font-size: 0.75rem;
  }
  .textarea-control {
    min-height: 7rem;
    padding: 0.75rem 0.875rem;
    border: var(--app-hairline) solid var(--app-border-soft);
    resize: vertical;
  }
  .textarea-control:focus-visible {
    border-color: var(--app-text);
  }
  .button {
    display: inline-flex;
    gap: 0.5rem;
    align-items: center;
    justify-content: center;
    min-height: 2.25rem;
    padding: 0.5rem 1.25rem;
    border: var(--app-hairline) solid transparent;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    cursor: pointer;
    white-space: nowrap;
    transition: background-color 140ms ease, border-color 140ms ease, color 140ms ease;
  }
  .button:focus-visible, .tab-button:focus-visible {
    outline: none;
    border-color: var(--app-text);
  }
  .button:disabled {
    cursor: not-allowed;
    opacity: 0.5;
  }
  .button--primary {
    color: white;
    border-color: var(--app-text);
    background: var(--app-text);
  }
  .button--primary:hover, .button--primary:focus-visible {
    color: var(--app-text);
    background: transparent;
  }
  .button--secondary {
    color: var(--app-text-soft);
    border-color: var(--app-border-soft);
    background: transparent;
    font-weight: 400;
  }
  .button--secondary:hover, .button--secondary:focus-visible {
    color: var(--app-text);
    border-color: var(--app-text);
  }
  .button--quiet {
    color: var(--app-text-muted);
    background: transparent;
    font-weight: 400;
  }
  .button--quiet:hover, .button--quiet:focus-visible {
    color: var(--app-text);
  }
  .button--danger {
    color: var(--app-text);
    border-color: var(--app-border);
    background: transparent;
  }
  .button--danger:hover, .button--danger:focus-visible {
    color: white;
    background: var(--app-text);
  }
  .button--block {
    width: 100%;
  }
  .button--compact {
    min-height: 1.875rem;
    padding: 0.375rem 0.875rem;
    font-size: 0.6875rem;
  }
  .badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.5rem;
    border: var(--app-hairline) solid var(--app-border-soft);
    font-size: 0.625rem;
    font-weight: 400;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    color: var(--app-text-muted);
    background: transparent;
  }
  .badge--muted {
    color: var(--app-text-muted);
    border-color: var(--app-border-muted);
  }
  .badge--outline {
    color: var(--app-text-base);
    border-color: var(--app-border-soft);
  }
  .badge--strong {
    color: white;
    background: var(--app-text);
    border-color: var(--app-text);
  }
  .inline-link {
    text-decoration: underline;
    text-decoration-thickness: var(--app-hairline);
    text-underline-offset: 0.28em;
  }
  .inline-link:hover {
    color: var(--app-text);
  }
  .row-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  .row-list__item {
    align-items: flex-start;
    padding: 1rem 1.125rem;
    border: var(--app-hairline) solid var(--app-border-muted);
    background: transparent;
  }
  .row-list__meta {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 0;
  }
  .row-list__item:focus-visible {
    outline: none;
    border-color: var(--app-text);
  }
  .table-wrap {
    overflow-x: auto;
  }
  .data-table {
    width: 100%;
    min-width: 100%;
    border-collapse: collapse;
  }
  .data-table--wide {
    min-width: 90rem;
  }
  .data-table--extra-wide {
    min-width: 110rem;
  }
  .data-table th {
    padding: 0.625rem 0.75rem;
    text-align: left;
    border-bottom: var(--app-hairline) solid var(--app-border-soft);
  }
  .data-table td {
    padding: 0.75rem;
    font-size: 0.8125rem;
    line-height: 1.65;
    vertical-align: top;
    color: var(--app-text-base);
    border-bottom: var(--app-hairline) solid var(--app-row-border);
  }
  .data-table__cell {
    min-width: 0;
  }
  .data-table tbody tr:hover {
    background: var(--app-surface-hover);
  }
  .data-table__cell--action {
    text-align: right;
    white-space: nowrap;
  }
  .code-block {
    margin: 0;
    padding: 0.75rem 0.875rem;
    overflow-x: auto;
    font-size: 0.75rem;
    line-height: 1.75;
    white-space: pre-wrap;
    word-break: break-word;
    border: var(--app-hairline) solid var(--app-border-muted);
    background: transparent;
    color: var(--app-text-base);
  }
  .component-showcase-grid {
    display: grid;
    gap: 1.75rem;
  }
  .hairline-rule {
    width: 2.5rem;
    height: var(--app-hairline);
    margin-bottom: 0.35rem;
    background: var(--app-border-soft);
    flex: none;
  }
  .tab-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
  }
  .tab-button {
    padding: 0.25rem 0;
    border: none;
    border-bottom: var(--app-hairline) solid transparent;
    background: transparent;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--app-text-faint);
    cursor: pointer;
    transition: border-color 140ms ease, color 140ms ease;
  }
  .tab-button:hover, .tab-button--active {
    color: var(--app-text);
    border-bottom-color: var(--app-text);
  }
  .tab-button--active {
    font-weight: 500;
  }
  .diagram-chain {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: center;
  }
  .diagram-chain__item {
    display: flex;
    align-items: center;
  }
  .diagram-chain__node {
    min-width: 8.5rem;
    padding: 1rem 1.5rem;
    border: var(--app-hairline) solid var(--app-border-soft);
    background: transparent;
    text-align: center;
  }
  .diagram-chain__label {
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--app-text);
  }
  .diagram-chain__meta {
    margin-top: 0.25rem;
    font-size: 0.625rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--app-text-faint);
  }
  .diagram-chain__connector {
    width: 2rem;
    height: var(--app-hairline);
    background: var(--app-border-soft);
  }
  @media (max-width: 720px) {
    .app-shell {
      padding-top: 1.25rem;
      padding-bottom: 3rem;
    }
    .app-shell--centered {
      align-items: stretch;
      justify-content: flex-start;
    }
    .topbar, .split-header, .row-list__item {
      flex-direction: column;
      align-items: stretch;
    }
    .topbar__nav {
      justify-content: flex-start;
    }
    .data-list {
      grid-template-columns: 1fr;
    }
    .data-table {
      min-width: 32rem;
    }
    .diagram-chain {
      flex-direction: column;
      align-items: stretch;
    }
    .diagram-chain__item {
      flex-direction: column;
      align-items: stretch;
    }
    .diagram-chain__node {
      width: 100%;
    }
    .diagram-chain__connector {
      width: var(--app-hairline);
      height: 1.5rem;
      align-self: center;
    }
  }
  @media (min-width: 821px) {
    .component-showcase-grid {
      grid-template-columns: 1.1fr 0.9fr;
      align-items: start;
    }
  }
}
