﻿/* BEGIN inlined ../styles/tokens.css for web fallback */
/*
 * DIMbutler design tokens.
 *
 * Aktuell bleiben die produktiven :root-Tokens noch in
 * ../tec/styles.css. Diese Datei ist der Zielort fuer die schrittweise
 * Token-Migration.
 */

:root {
  /*
   * Shell Theme Contract V1
   *
   * Diese semantischen Aliase gehoeren ausschliesslich zum Plattform-Look.
   * Kunden-/Website-/Output-Themes duerfen diese Variablen nicht direkt
   * ueberschreiben. Bestehende Basisvariablen bleiben vorerst in
   * ../tec/styles.css; neue Shell-CSS-Regeln sollen bevorzugt diese
   * Contract-Variablen nutzen.
   */
  --platform-shell-bg: var(--bg);
  --platform-shell-main-bg: var(--bg);
  --platform-shell-header-bg: transparent;
  --platform-shell-header-text: var(--text);
  --platform-shell-sidebar-bg: var(--sidebar-bg);
  --platform-shell-sidebar-text: var(--sidebar-text);
  --platform-shell-sidebar-muted: var(--sidebar-muted);
  --platform-shell-sidebar-active-bg: color-mix(in srgb, var(--platform-shell-sidebar-text) 12%, transparent);
  --platform-shell-sidebar-hover-bg: color-mix(in srgb, var(--platform-shell-sidebar-text) 8%, transparent);
  --platform-shell-sidebar-border: color-mix(in srgb, var(--platform-shell-sidebar-text) 12%, transparent);
  --platform-shell-accent: var(--accent);
  --platform-shell-highlight: var(--signal-green);
  --platform-shell-surface: var(--surface);
  --platform-shell-surface-soft: var(--surface-soft);
  --platform-shell-line: var(--line);
  --platform-shell-text: var(--text);
  --platform-shell-muted: var(--muted);
  --platform-shell-radius-control: var(--radius-control);
  --platform-shell-radius-panel: var(--radius-surface);
}

/* END inlined ../styles/tokens.css */

/* BEGIN inlined ../styles/base.css for web fallback */
/*
 * Base styles.
 *
 * Zielort fuer Reset, Body, Grundelemente und Accessibility-Basis.
 * Bestehende Regeln bleiben vorerst in ../tec/styles.css.
 */

/* END inlined ../styles/base.css */

/* BEGIN inlined ../styles/shell.css for web fallback */
/*
 * Shell styles.
 *
 * Zielort fuer Header, Sidebar, Navigation und Shell-Rahmen.
 * Bestehende Regeln bleiben vorerst in ../tec/styles.css.
 */

/* END inlined ../styles/shell.css */

/* BEGIN inlined ../styles/ui.css for web fallback */
/*
 * Central UI component styles.
 *
 * Zielort fuer Buttons, Panels, Sections, Fields, ToggleSwitch,
 * FileAssetField, Status, Modal und Toast.
 * Neue zentrale UI-Bausteine sollen ihre produktiven Klassen hier
 * bekommen.
 */

.ui-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 38px;
  max-width: 100%;
  padding: 8px 16px;
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  font: inherit;
  font-size: var(--font-button);
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: 0;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 120ms ease, border-color 120ms ease, color 120ms ease, box-shadow 120ms ease;
}

.ui-button-primary {
  background: var(--accent);
  color: var(--text-inverse);
}

.ui-button-secondary {
  border-color: var(--line);
  background: var(--surface);
  color: var(--text-body);
}

.ui-button-quiet {
  background: transparent;
  color: var(--text-muted);
}

.ui-button-ghost {
  border-color: transparent;
  background: transparent;
  color: var(--text-body);
}

.ui-button-danger {
  border-color: color-mix(in srgb, var(--danger) 42%, var(--line));
  background: color-mix(in srgb, var(--danger) 8%, var(--surface));
  color: var(--text-danger);
}

.ui-button-compact {
  min-height: 30px;
  padding: 5px 12px;
  font-size: var(--font-button-compact);
}

.ui-button-small {
  min-height: 28px;
  padding: 4px 10px;
  font-size: var(--font-button-small);
}

.ui-button-width-narrow {
  min-width: 0;
  padding-inline: 8px;
}

.ui-button-width-fixed {
  min-width: 120px;
}

.ui-button-width-full {
  width: 100%;
}

.ui-button-icon-only {
  width: 34px;
  min-width: 34px;
  min-height: 34px;
  padding-inline: 0;
  gap: 0;
}

.ui-button-small.ui-button-icon-only {
  width: 28px;
  min-width: 28px;
  min-height: 28px;
}

.ui-button-compact.ui-button-icon-only {
  width: 30px;
  min-width: 30px;
  min-height: 30px;
}

.ui-button-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  line-height: 1;
}

.ui-button > .ui-button-icon {
  width: 1em;
  min-width: 1em;
}

.ui-button-icon svg {
  display: block;
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ui-button-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-button:disabled,
.ui-button.is-disabled,
.ui-button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.58;
}

.ui-button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.ui-metric-bar-summary {
  container-type: inline-size;
  display: grid;
  gap: 10px;
}

.ui-metric-bar-row {
  display: grid;
  grid-template-columns: 230px minmax(120px, 1fr) auto;
  align-items: center;
  gap: 12px;
}

.ui-metric-bar-row.is-spaced-before {
  margin-top: 10px;
}

.ui-metric-bar-label {
  font-size: var(--font-label);
  font-weight: 600;
  color: var(--text-label);
  white-space: nowrap;
}

.ui-metric-bar-track {
  height: 10px;
  border-radius: 999px;
  background: #dfe5ec;
  overflow: hidden;
}

.ui-metric-bar-fill {
  height: 100%;
  border-radius: inherit;
}

.ui-metric-bar-fill.is-green {
  background: #95c11f;
}

.ui-metric-bar-fill.is-yellow {
  background: #f2b233;
}

.ui-metric-bar-fill.is-gray {
  background: #9aa9ba;
}

.ui-metric-bar-fill.is-red {
  background: #e35b58;
}

.ui-metric-bar-value {
  min-width: 28px;
  text-align: right;
  font-size: var(--font-body);
  font-weight: 700;
  color: var(--text-title);
  white-space: nowrap;
}

@container (max-width: 560px) {
  .ui-metric-bar-row {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
  }

  .ui-metric-bar-label {
    grid-column: 1 / -1;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.25;
  }

  .ui-metric-bar-track {
    min-width: 0;
  }

  .ui-metric-bar-value {
    align-self: center;
    min-width: 54px;
    line-height: 1.15;
  }
}

.button-primary {
  background: var(--accent);
  color: var(--text-inverse);
}

.button-secondary {
  border-color: var(--line);
  background: var(--surface);
}

.button-quiet {
  padding-inline: 10px;
  background: transparent;
  color: var(--text-muted);
}

.stack {
  display: grid;
  gap: 14px;
}

.inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.inline-actions-spacer {
  flex: 1 1 auto;
}

.panel-header-row {
  display: grid;
  gap: var(--panel-header-gap);
  padding-bottom: var(--panel-header-padding-bottom);
  border-bottom: 1px solid var(--panel-header-border);
}

.panel-header-toggle {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.panel-header-toggle-main {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  min-width: 0;
}

.panel-header-copy {
  display: grid;
  gap: var(--space-2);
  min-width: 0;
}

.panel-status-dot {
  width: 10px;
  height: 10px;
  margin-top: 5px;
  border-radius: var(--radius-pill);
  flex: 0 0 auto;
  background: var(--warning);
}

.panel-status-dot.is-done {
  background: var(--success);
}

.panel-status-dot.is-error {
  background: var(--danger);
}

.panel-status-dot.is-empty {
  background: var(--muted);
}

.panel-toggle-caret {
  color: var(--text-muted);
  line-height: 1;
}

.panel-title {
  margin: 0;
  color: var(--panel-title-color);
  font-size: var(--panel-title-size);
  line-height: 1.2;
}

.panel-subtitle {
  margin: 0;
  color: var(--panel-subtitle-color);
  font-size: var(--panel-subtitle-size);
}

.panel-header-row + .panel-body {
  padding-top: var(--panel-padding-y);
}

.panel-inline-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 8px 0 10px;
}

.panel-body {
  display: grid;
  gap: var(--panel-body-gap);
}

.panel-body[hidden] {
  display: none;
}

.panel-standard,
.panel-viewer {
  align-content: start;
}

.support-note {
  margin: 0;
}

.field + .support-note,
.inline-actions + .support-note,
.support-note + .field,
.support-note + .inline-actions,
.support-note + .support-note {
  margin-top: var(--space-2);
}

.infield-label {
  display: block;
  margin: var(--space-2) 0 var(--space-3);
  font-size: var(--font-label);
  line-height: 1.4;
  color: var(--text-label);
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-size: var(--font-label);
  color: var(--text-label);
}

.field input,
.field select,
.field textarea,
.fake-input {
  width: 100%;
  min-height: 44px;
  border-color: var(--control-border);
  border-radius: var(--control-radius);
  background: var(--control-bg);
  color: var(--control-text);
  padding: var(--space-2) var(--space-3);
}

.file-upload-control {
  display: grid;
  gap: var(--space-2);
}

.fake-input.is-auto-height {
  min-height: auto;
}

.ui-action-row {
  min-width: 0;
}

.file-asset-field {
  display: grid;
  gap: var(--space-2);
}

.file-asset-layout {
  display: grid;
  grid-template-columns: 168px minmax(0, 1fr);
  gap: var(--space-3);
  align-items: center;
}

.file-asset-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 168px;
  aspect-ratio: 1 / 1;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-surface);
  background: color-mix(in srgb, var(--control-bg) 86%, transparent);
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
  text-align: center;
  padding: 14px;
  transition: border-color 160ms ease, background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  overflow: hidden;
}

.file-asset-tile:hover,
.file-asset-tile:focus-visible,
.file-asset-tile.is-dragover {
  border-color: color-mix(in srgb, var(--accent) 45%, var(--control-border));
  background: color-mix(in srgb, var(--control-bg) 70%, var(--surface-soft));
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent) 14%, transparent);
  outline: none;
}

.file-asset-tile.is-disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

.file-asset-icon {
  width: 100%;
  max-width: 108px;
  max-height: 108px;
  object-fit: contain;
  display: block;
  opacity: 0.28;
  filter: grayscale(1);
  transition: opacity 160ms ease, filter 160ms ease, transform 160ms ease;
  margin: 0 auto;
}

.file-asset-tile.is-filled .file-asset-icon {
  opacity: 0.96;
  filter: none;
}

.file-asset-tile-image {
  padding: 10px;
  background: color-mix(in srgb, var(--surface-soft) 78%, var(--control-bg));
}

.file-asset-image-preview {
  width: 100%;
  height: 100%;
  max-width: 132px;
  max-height: 132px;
  object-fit: contain;
  display: block;
}

.file-asset-image-preview.is-placeholder {
  opacity: 0.5;
  filter: grayscale(1) saturate(0.2);
}

.file-asset-sidecopy {
  display: grid;
  gap: 8px;
  min-width: 0;
  align-content: center;
}

.file-asset-fileline {
  font-size: var(--font-body);
  line-height: 1.4;
  color: var(--text-body);
  word-break: break-word;
}

.file-asset-hint {
  font-size: var(--font-meta);
  line-height: 1.35;
  color: var(--text-meta);
}

.file-asset-status {
  font-size: var(--font-meta);
  line-height: 1.35;
  color: var(--text-meta);
}

.file-asset-field + .inline-actions {
  margin-top: var(--space-4);
}

.file-input-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 820px) {
  .file-asset-layout {
    grid-template-columns: 1fr;
  }

  .file-asset-tile {
    width: 100%;
    max-width: 160px;
  }

  .file-asset-sidecopy {
    align-content: start;
  }
}

.ui-panel {
  display: grid;
  gap: var(--panel-body-gap);
  min-width: 0;
}

.ui-panel-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--panel-header-gap);
  min-width: 0;
  padding-bottom: var(--panel-header-padding-bottom);
  border-bottom: 1px solid var(--panel-header-border);
}

.ui-panel-title-group {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ui-panel-eyebrow,
.panel-section-eyebrow {
  color: var(--section-description-color);
  font-size: var(--font-caption);
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ui-panel-title {
  margin: 0;
  color: var(--panel-title-color);
  font-size: var(--panel-title-size);
  line-height: 1.25;
}

.ui-panel-description,
.panel-section-description {
  margin: 0;
  color: var(--section-description-color);
  font-size: var(--section-description-size);
  line-height: 1.4;
}

.ui-panel-actions,
.panel-section-actions {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.ui-panel-body,
.ui-panel-footer,
.panel-section-footer {
  min-width: 0;
}

.ui-panel-body {
  display: grid;
  gap: var(--panel-body-gap);
}

.panel-layout {
  display: grid;
  gap: var(--panel-gap);
}

.panel-layout + .panel-layout {
  margin-top: var(--panel-gap);
}

.tab-panel-layout {
  display: grid;
  gap: var(--panel-gap);
}

.tab-panel-layout-two {
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  align-items: start;
}

.panel-layout-full {
  grid-template-columns: minmax(0, 1fr);
}

.panel-layout-readable .panel-main {
  max-width: 880px;
}

.panel-layout-form .panel-main {
  max-width: 1040px;
}

.panel-layout-split-right {
  grid-template-columns: minmax(0, 980px) minmax(280px, 360px);
  align-items: start;
}

.panel-main,
.panel-side {
  min-width: 0;
}

.panel-main {
  display: grid;
  gap: 0;
}

.panel-main-readable {
  max-width: 980px;
}

.panel-side-info {
  align-self: start;
}

.ui-panel-footer,
.panel-section-footer {
  padding-top: var(--section-header-padding-bottom);
  border-top: 1px solid var(--section-border);
}

.panel-section {
  overflow: hidden;
}

.panel-section-toggle,
.panel-section-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
}

.panel-section-toggle {
  cursor: pointer;
}

.panel-section-toggle:hover {
  color: var(--section-title-color);
}

.panel-section-title {
  color: var(--section-title-color);
  font-size: var(--section-title-size);
  font-weight: 600;
}

.panel-section-title-group {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.panel-section-accordion-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  min-width: 0;
}

.panel-section-trailing {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex: 0 0 auto;
}

.panel-section-caret {
  min-width: 16px;
  color: var(--section-description-color);
  text-align: center;
}

.panel-section-toggle:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

.panel-section-body {
  margin-top: 12px;
}

.project-access-section {
  display: grid;
  gap: 10px;
  min-width: 0;
}

.project-access-actions {
  border-top: 1px solid var(--line, rgba(148, 163, 184, 0.4));
  padding-top: 12px;
}

.project-access-meta-row {
  align-items: center;
  color: var(--text-meta, #64748b);
  display: flex;
  flex-wrap: wrap;
  font-size: var(--font-meta);
  gap: 8px;
  justify-content: space-between;
  line-height: 1.3;
}

.project-access-list,
.project-access-user-picker-list {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.project-access-person-row {
  align-items: center;
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, rgba(148, 163, 184, 0.4));
  border-radius: var(--radius-sm, 4px);
  color: inherit;
  display: flex;
  gap: 8px;
  justify-content: space-between;
  min-height: 0;
  padding: 5px 7px;
  text-align: left;
  width: 100%;
}

.project-access-person-row .user-admin-main {
  align-items: center;
  display: inline-flex;
  flex: 1 1 auto;
  flex-direction: row;
  gap: 7px;
  min-width: 0;
}

.project-access-person-row .user-admin-copy {
  align-items: baseline;
  display: inline-flex;
  flex-direction: row;
  gap: 5px;
  min-width: 0;
}

.project-access-person-row .user-admin-avatar,
.project-access-user-option .user-admin-avatar {
  align-items: center;
  aspect-ratio: 1 / 1;
  background: var(--surface-soft, #f6f8fb);
  border-radius: 50%;
  color: var(--text-muted, #64748b);
  display: inline-flex;
  flex: 0 0 34px;
  font-size: var(--font-meta);
  font-weight: 700;
  height: 34px;
  justify-content: center;
  object-fit: cover;
  width: 34px;
}

.project-access-person-row .user-admin-last-name,
.project-access-person-row .user-admin-first-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-access-person-row .user-admin-last-name {
  font-weight: 700;
}

.project-access-person-row .user-admin-first-name {
  font-weight: 400;
}

.project-access-role-label {
  color: var(--text-meta, #64748b);
  flex: 0 0 auto;
  font-size: var(--font-meta);
  line-height: 1.2;
  max-width: 90px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-access-edit-toggle {
  flex: 0 0 auto;
}

.project-access-edit-toggle-row {
  flex: 0 0 auto;
  gap: 7px;
}

.project-access-edit-toggle-row .toggle-switch-label {
  font-size: var(--font-meta);
  white-space: nowrap;
}

.project-access-remove-button {
  align-items: center;
  border-radius: 50%;
  color: var(--text-muted, #64748b);
  display: inline-flex;
  flex: 0 0 26px;
  font-size: 18px;
  height: 26px;
  justify-content: center;
  line-height: 1;
  padding: 0;
  width: 26px;
}

.project-access-remove-button:hover,
.project-access-remove-button:focus-visible {
  color: var(--text-danger, #b91c1c);
}

.project-access-visibility-toggle-row {
  border-bottom: 1px solid var(--line, rgba(148, 163, 184, 0.4));
  font-size: var(--font-description);
  justify-content: space-between;
  padding: 0 0 10px;
}

.project-access-edit-button {
  flex: 0 0 auto;
  font-size: var(--font-meta);
  line-height: 1.1;
  min-height: 0;
  padding: 4px 8px;
}

.project-access-user-picker {
  background: var(--surface-soft, #f6f8fb);
  border: 1px solid var(--line, rgba(148, 163, 184, 0.4));
  border-radius: var(--radius-sm, 4px);
  display: grid;
  gap: 10px;
  padding: 8px;
}

.project-access-user-group {
  background: var(--surface, #ffffff);
  border: 1px solid var(--line, rgba(148, 163, 184, 0.35));
  border-radius: var(--radius-sm, 4px);
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 7px;
}

.project-access-user-group-title {
  align-items: center;
  color: var(--text-strong, #111827);
  display: flex;
  font-size: var(--font-meta);
  gap: 8px;
  justify-content: space-between;
  line-height: 1.2;
  min-width: 0;
}

.project-access-user-group-title strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-access-user-group-title span {
  align-items: center;
  background: var(--surface-soft, #f6f8fb);
  border: 1px solid var(--line, rgba(148, 163, 184, 0.35));
  border-radius: 999px;
  color: var(--text-meta, #64748b);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: var(--font-meta);
  justify-content: center;
  min-width: 22px;
  padding: 1px 7px;
}

.project-access-user-group-list {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.project-access-user-option {
  align-items: center;
  background: var(--surface-soft, #f6f8fb);
  border: 1px solid var(--line, rgba(148, 163, 184, 0.35));
  border-radius: var(--radius-sm, 4px);
  display: grid;
  gap: 8px;
  grid-template-columns: auto 34px minmax(0, 1fr);
  min-width: 0;
  padding: 5px 7px;
}

.project-access-user-option-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.project-access-user-option-copy > span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-access-user-option-copy > small {
  color: var(--text-meta, #64748b);
  font-size: var(--font-meta);
  line-height: 1.2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.panel-section.is-just-moved > .panel-section-toggle,
.panel-section.is-just-moved > .panel-section-header {
  border-color: rgba(38, 135, 76, 0.35);
  background: color-mix(in srgb, var(--surface) 88%, rgba(38, 135, 76, 0.18));
  box-shadow: 0 0 0 1px rgba(38, 135, 76, 0.18);
}

.section-block,
.section-surface {
  display: grid;
  gap: var(--section-gap);
  padding: var(--section-padding-y) var(--section-padding-x);
  border: 1px solid var(--section-border);
  border-radius: var(--section-radius);
  background: var(--section-bg);
  box-shadow: var(--section-shadow);
}

.section-block + .section-block {
  margin-top: var(--section-gap);
}

.section-header-row {
  display: grid;
  gap: var(--section-header-gap);
  padding-bottom: var(--section-header-padding-bottom);
  border-bottom: 1px solid var(--section-border);
}

.section-title {
  margin: 0;
  color: var(--section-title-color);
  font-size: var(--section-title-size);
  line-height: 1.25;
}

.section-subtitle {
  margin: 0;
  color: var(--section-description-color);
  font-size: var(--section-description-size);
}

.section-header-row + .section-body {
  padding-top: var(--section-padding-y);
}

.section-body {
  display: grid;
  gap: var(--section-body-gap);
}

.mini-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.table-view {
  display: grid;
  gap: 10px;
  min-height: 0;
  height: 100%;
  grid-template-rows: auto auto minmax(0, 1fr);
}

.table-view-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.table-view-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.table-view-toolbar {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.table-view-scrollframe {
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  overflow: auto;
  max-width: 100%;
  min-height: 0;
  padding: 0 8px 8px 0;
}

.table-view-surface {
  min-width: fit-content;
  background: var(--surface);
}

.table-view-table {
  width: 100%;
  min-width: 420px;
  border-collapse: collapse;
}

.table-view-table th,
.table-view-table td {
  padding: 7px 10px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  white-space: nowrap;
  font-size: var(--font-description);
  line-height: 1.25;
}

.table-view-table th {
  background: var(--surface-soft);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 2;
  box-shadow: inset 0 -1px 0 var(--line);
}

.table-view-sort {
  flex: 1 1 auto;
  border: none;
  background: transparent;
  padding: 7px 10px;
  text-align: left;
  font-size: var(--font-meta);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-label);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
}

.table-view-sort.is-active {
  color: var(--text-title);
}

.table-view-headcell {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}

.table-view-sort-label {
  display: inline-block;
  min-width: 0;
}

.table-view-sort-mark {
  font-size: var(--font-caption);
}

.table-view-filter-toggle {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  margin-right: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: var(--font-title-section);
  line-height: 1;
  padding: 0;
}

.table-view-filter-toggle.is-active {
  color: var(--text-danger);
}

.table-view-filter-menu {
  position: fixed;
  z-index: 40;
  width: 240px;
  max-height: 260px;
  display: grid;
  gap: 2px;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.12);
}

.table-view-filter-options {
  max-height: 204px;
  overflow: auto;
  display: grid;
  gap: 2px;
}

.table-view-filter-option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: center;
  gap: 6px;
  width: 100%;
  padding: 5px 6px;
  border: none;
  border-radius: 6px;
  background: transparent;
  text-align: left;
  font-size: var(--font-meta);
  color: var(--text-body);
}

.table-view-filter-option:hover {
  background: var(--surface-soft);
}

.table-view-filter-option.is-all {
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  padding-bottom: 7px;
  margin-bottom: 2px;
}

.table-view-filter-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  color: var(--text-body);
  font-size: var(--font-caption);
}

.table-view-filter-text {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.table-view-table tbody tr:last-child td {
  border-bottom: none;
}

.table-view-empty {
  padding: 12px;
  color: var(--text-muted);
  font-size: var(--font-description);
}

.action-tile-grid {
  display: grid;
  gap: 14px;
}

.project-access-grid {
  display: flex;
  gap: var(--panel-gap);
  align-items: start;
  flex-wrap: wrap;
}

.page-shell-body:has(.internal-module-start-hero) {
  padding: 0 0 20px;
}

.page-shell-body.dashboard-landing-body {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
}

.dashboard-main-hero {
  margin: 0;
  width: 100%;
}

.dashboard-landing-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  align-self: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.dashboard-landing-actions .button-primary,
.dashboard-landing-actions .button-secondary {
  min-height: 36px;
  padding: 8px 16px;
  border-radius: var(--radius-button);
}

.dashboard-landing-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  color: #15263d;
}

.dashboard-landing-content {
  display: grid;
  gap: var(--panel-gap);
  padding: 20px;
  box-sizing: border-box;
  min-height: 0;
  overflow: hidden;
}

.dashboard-quick-open-panel {
  width: 100%;
  height: 100%;
  min-height: 0;
}

.dashboard-flex-content-slot {
  min-height: 120px;
}

.dashboard-metric-tile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(220px, 320px));
  gap: 20px;
  align-items: stretch;
  justify-content: start;
}

.dashboard-metric-tile {
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 14px;
  min-height: 214px;
  padding: 8px 6px 10px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
}

.dashboard-metric-title {
  margin: 0;
  justify-self: stretch;
  color: var(--text-title);
  font-size: var(--font-title-section);
  line-height: 1.25;
  text-align: left;
}

.dashboard-pie-chart {
  --dashboard-chart-angle: 0deg;
  --dashboard-chart-primary: var(--signal-green, #b7d235);
  --dashboard-chart-secondary: var(--signal-yellow, #f2d21b);
  position: relative;
  display: grid;
  place-items: center;
  justify-self: start;
  width: 118px;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  background: conic-gradient(
    var(--dashboard-chart-primary) 0 var(--dashboard-chart-angle),
    var(--dashboard-chart-secondary) var(--dashboard-chart-angle) 360deg
  );
  box-shadow: inset 0 0 0 1px rgba(21, 38, 61, 0.08);
}

.dashboard-pie-chart::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: inset 0 0 0 1px rgba(21, 38, 61, 0.06);
}

.dashboard-pie-value {
  position: relative;
  z-index: 1;
  color: var(--text-title);
  font-size: 20px;
  font-weight: 800;
  line-height: 1;
}

.dashboard-pie-legend {
  display: grid;
  gap: 8px;
  justify-self: stretch;
  color: var(--text-meta);
  font-size: var(--font-description);
  line-height: 1.35;
}

.dashboard-pie-legend-row {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.dashboard-pie-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  flex: 0 0 auto;
}

.dashboard-pie-dot.is-primary {
  background: var(--signal-green, #b7d235);
}

.dashboard-pie-dot.is-secondary {
  background: var(--signal-yellow, #f2d21b);
}

.page-shell-body:has(.internal-module-start-hero) > .tab-workspace {
  overflow-y: auto;
}

.page-shell-body:has(.internal-module-start-hero) .tab-workspace:has(.internal-module-start-hero) {
  gap: var(--panel-gap);
}

.page-shell-body:has(.internal-module-start-hero) .tab-workspace:has(.internal-module-start-hero) > .module-host-workspace {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: var(--panel-gap);
  min-height: 100%;
  height: 100%;
}

.page-shell-body:has(.internal-module-start-hero) .tab-workspace:has(.internal-module-start-hero) .tab-workspace-row {
  padding: 0 20px 20px;
  box-sizing: border-box;
}

.page-shell-body:has(.internal-module-start-hero) > .workspace-app-host:has(.internal-module-start-hero) {
  grid-template-rows: auto auto;
  align-content: start;
  gap: var(--panel-gap);
  overflow-y: auto;
}

.page-shell-body:has(.internal-module-start-hero) > .workspace-app-host:has(.internal-module-start-hero) > .tab-workspace-row {
  padding: 0 20px 20px;
  box-sizing: border-box;
}

.module-start-hero {
  min-height: clamp(180px, 25vh, 280px);
  display: flex;
  align-items: center;
  width: calc(100% + 40px);
  margin: calc(-1 * var(--shell-body-pad-top)) -20px var(--panel-gap);
  padding: 28px 32px;
  background: transparent;
  color: var(--text);
  overflow: visible;
  border-radius: 0;
}

.module-start-hero.has-visual {
  position: relative;
  height: clamp(340px, 33vh, 520px);
  min-height: 340px;
  max-height: 520px;
  width: 100%;
  margin: 0;
  padding: 34px 40px;
  background-color: #121b28;
  background-image: var(--module-start-hero-image);
  background-position: center;
  background-size: cover;
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}

.module-start-hero.internal-module-start-hero.has-visual {
  height: calc((100dvh - var(--shell-header-title-height, 80px)) * 0.5);
  min-height: calc((100dvh - var(--shell-header-title-height, 80px)) * 0.5);
  max-height: none;
}

.module-start-hero.has-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(18, 27, 40, 0.86) 0%, rgba(18, 27, 40, 0.58) 42%, rgba(18, 27, 40, 0.18) 100%),
    linear-gradient(0deg, rgba(18, 27, 40, 0.72) 0%, rgba(18, 27, 40, 0.1) 70%);
}

.module-start-hero.internal-module-start-hero.has-visual::before {
  background: linear-gradient(0deg, rgba(18, 27, 40, 0.9) 0%, rgba(18, 27, 40, 0) 100%);
}

.internal-module-start-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: transparent;
  pointer-events: none;
}

.module-start-hero-copy {
  display: grid;
  gap: 10px;
  max-width: min(560px, 48%);
  align-content: center;
  position: relative;
  z-index: 1;
}

.module-start-hero-copy .eyebrow {
  margin: 0;
  color: var(--text);
}

.module-start-hero-copy h2 {
  margin: 0;
  font-size: clamp(34px, 3.2vw, 48px);
  line-height: 1.04;
  letter-spacing: 0;
}

.module-start-hero-copy p:last-child {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
}

.internal-module-start-hero {
  align-items: flex-end;
  justify-content: flex-start;
  text-align: left;
}

.internal-module-start-copy {
  justify-items: start;
  width: 100%;
  max-width: 100%;
  text-align: left;
}

.internal-module-start-copy .eyebrow {
  color: rgba(255, 255, 255, 0.84);
  font-weight: 700;
}

.module-start-hero.has-visual .module-start-hero-copy h2 {
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.module-start-hero.has-visual .internal-module-start-text p {
  margin: 0;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.module-start-hero.has-visual .internal-module-start-description {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.internal-module-start-title-row {
  display: flex;
  align-items: stretch;
  gap: 18px;
  width: 100%;
  max-width: 100%;
}

.internal-module-start-text {
  display: grid;
  align-content: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
}

.internal-module-start-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
  width: 100%;
}

.module-start-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-width: 0;
}

.module-start-primary-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 1 auto;
  flex-wrap: wrap;
  max-width: min(720px, 100%);
  min-width: 0;
}

.module-start-feedback-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  flex-wrap: wrap;
  min-width: 0;
}

.module-start-feedback-actions {
  margin-left: auto;
  justify-content: flex-end;
}

.internal-module-start-actions .button-primary,
.internal-module-start-actions .button-secondary,
.module-feedback-open-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 36px;
  padding: 8px 16px;
  border-radius: var(--radius-button);
  font: inherit;
}

.internal-module-start-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.92);
  color: #15263d;
}

.internal-module-start-hero.is-module-task_manager .internal-module-start-actions .button-primary,
.internal-module-start-hero.is-module-task_manager .internal-module-start-actions .button-secondary {
  border-color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.94);
  color: #15263d;
}

.module-start-open-caret {
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 6px solid currentColor;
  transition: transform 0.16s ease;
}

.module-start-open-toggle.is-open .module-start-open-caret {
  transform: rotate(180deg);
}

@media (max-width: 760px) {
  .module-start-action-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .module-start-feedback-actions {
    margin-left: 0;
    justify-content: flex-start;
  }
}

.internal-module-project-picker-row {
  min-height: 0;
  width: 100%;
  align-items: stretch;
}

.internal-module-project-create-row {
  width: 100%;
}

.generator-project-create-panel {
  width: min(720px, 48vw);
  min-width: min(520px, 100%);
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.module-start-create-form {
  display: flex;
  align-items: end;
  gap: 12px;
  flex-wrap: wrap;
}

.module-start-create-field {
  display: grid;
  gap: 6px;
  min-width: min(300px, 100%);
  flex: 1 1 340px;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
}

.module-start-create-field .ui-text-input {
  width: 100%;
  min-height: 40px;
  font-size: 15px;
}

.module-start-create-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.module-start-create-error {
  margin: 10px 0 0;
  color: var(--danger);
  font-size: 13px;
  font-weight: 600;
}

.internal-module-project-picker-row .generator-project-picker-panel {
  align-self: stretch;
  height: auto;
  max-height: none;
}

.internal-module-project-picker-row .generator-project-picker-panel .panel-scroll-header {
  display: none;
}

.internal-module-project-picker-row .generator-project-picker-panel .dashboard-project-sort-row {
  padding: 0;
}

.internal-module-project-picker-row .generator-project-picker-panel .dashboard-project-sort-segment-updated {
  grid-template-columns: 500px max-content;
}

.module-project-picker-panel .panel-scroll-header {
  min-height: 0;
}

.internal-module-project-picker-row .module-project-picker-panel {
  width: min(820px, 52vw);
  max-width: 100%;
  max-height: min(46vh, 520px);
}

.module-project-picker-panel .panel-scroll-body {
  padding-top: 0;
}

.module-project-picker-list {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.module-project-picker-row {
  display: grid;
  grid-template-columns: minmax(180px, 320px) minmax(70px, 110px) minmax(112px, 140px);
  gap: 12px;
  align-items: center;
  justify-content: start;
  width: 100%;
  min-height: 34px;
  padding: 6px 9px;
  border: 1px solid color-mix(in srgb, var(--line) 74%, transparent);
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--surface) 92%, var(--surface-soft));
  color: var(--text);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.module-project-picker-row:hover,
.module-project-picker-row:focus-visible {
  border-color: color-mix(in srgb, var(--accent) 38%, var(--line));
  background: color-mix(in srgb, var(--accent) 7%, var(--surface));
}

.module-project-picker-title {
  display: inline-flex;
  grid-column: 1;
  gap: 6px;
  align-items: center;
  min-width: 0;
}

.module-project-picker-title strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  line-height: 1.25;
}

.module-project-picker-customer,
.module-project-picker-updated {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.module-project-picker-customer {
  grid-column: 2;
  justify-self: start;
}

.module-project-picker-updated {
  grid-column: 3;
  justify-self: start;
  font-variant-numeric: tabular-nums;
}

@media (max-width: 720px) {
  .internal-module-project-picker-row .module-project-picker-panel {
    width: 100%;
    max-height: min(52vh, 480px);
  }

  .module-project-picker-row {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 4px 8px;
  }

  .module-project-picker-customer {
    grid-column: 1;
    justify-self: start;
  }

  .module-project-picker-customer:empty {
    display: none;
  }

  .module-project-picker-updated {
    grid-row: 1 / span 2;
    grid-column: 2;
    align-self: center;
  }
}

.internal-module-personal-summary-row {
  width: 100%;
}

.module-start-personal-panel {
  width: 100%;
  padding: 18px 18px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.module-start-personal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 20%));
  gap: 28px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
}

.module-start-personal-card {
  display: grid;
  align-content: start;
  gap: 14px;
  min-width: 0;
}

.module-start-personal-card--status {
  justify-items: center;
}

.module-start-personal-card--status h3 {
  justify-self: center;
  text-align: center;
}

.module-start-personal-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 17px;
  line-height: 1.25;
}

.module-start-personal-empty {
  margin: 0;
}

.module-start-personal-bars {
  display: grid;
  gap: 9px;
}

.module-start-personal-row {
  display: grid;
  grid-template-columns: 92px minmax(110px, 1fr) max-content;
  column-gap: 10px;
  row-gap: 0;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.module-start-personal-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-start-personal-track {
  display: block;
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 78%, transparent);
}

.module-start-personal-fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--module-start-personal-color, var(--signal-green));
}

.module-start-personal-count {
  min-width: 18px;
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.module-start-personal-status {
  display: grid;
  grid-template-columns: 104px max-content;
  gap: 12px;
  align-items: center;
}

.module-start-personal-pie {
  display: grid;
  place-items: center;
  width: 104px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(var(--module-start-personal-pie, var(--signal-gray) 0 100%));
}

.module-start-personal-pie::after {
  content: "";
  grid-area: 1 / 1;
  width: 58%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--surface);
}

.module-start-personal-pie span {
  grid-area: 1 / 1;
  z-index: 1;
  color: var(--text);
  font-size: 18px;
  font-weight: 800;
}

.module-start-personal-status-list {
  display: grid;
  gap: 7px;
  width: max-content;
  max-width: 100%;
  min-width: 0;
}

.module-start-personal-status-row {
  display: grid;
  grid-template-columns: 10px max-content 2ch;
  gap: 8px;
  align-items: center;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
}

.module-start-personal-status-row span:nth-child(2) {
  min-width: 0;
  max-width: 170px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-start-personal-status-row strong {
  color: var(--text);
  font-size: 13px;
}

.module-start-personal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--module-start-personal-color, var(--signal-gray));
}

.internal-module-start-icon {
  display: grid;
  place-items: center;
  width: 128px;
  min-height: 128px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  box-sizing: border-box;
  flex: 0 0 128px;
}

.internal-module-start-icon .module-icon.is-start {
  width: 128px;
  height: 128px;
  margin: 0;
}

.internal-module-start-icon .module-icon.is-start img {
  filter:
    drop-shadow(0 2px 0 rgba(255, 255, 255, 0.42))
    drop-shadow(2px 0 0 rgba(255, 255, 255, 0.34));
}

.action-tile {
  display: grid;
  gap: var(--space-3);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.ui-status-pill-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ui-status-pill {
  --ui-status-pill-accent: var(--line);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid color-mix(in srgb, var(--ui-status-pill-accent) 34%, var(--line));
  border-radius: var(--radius-pill);
  background: color-mix(in srgb, var(--ui-status-pill-accent) 8%, var(--surface-soft));
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  white-space: nowrap;
}

.ui-status-pill.is-muted {
  --ui-status-pill-accent: var(--signal-gray);
}

.ui-status-pill.is-info {
  --ui-status-pill-accent: var(--accent);
  color: var(--accent);
}

.ui-status-pill.is-success {
  --ui-status-pill-accent: var(--success);
  color: var(--success);
}

.ui-status-pill.is-warning {
  --ui-status-pill-accent: var(--warning);
  color: color-mix(in srgb, var(--warning) 72%, #111111);
}

.ui-status-pill.is-danger {
  --ui-status-pill-accent: var(--danger);
  color: var(--danger);
}

.ui-status-pill.is-strong {
  font-weight: 700;
}

.ui-status-pill-small {
  min-height: 24px;
  padding: 3px 8px;
  font-size: 12px;
}

.ui-status-pill-compact {
  min-height: 26px;
  padding: 4px 9px;
  font-size: 12px;
}

.ui-status-pill-icon {
  display: inline-flex;
  flex: 0 0 auto;
  line-height: 1;
}

.ui-status-pill-label,
.ui-status-pill-value {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ui-status-pill-value {
  color: var(--text);
  font-weight: 700;
}

.ui-progress {
  --ui-progress-accent-default: var(--signal-green, #b7d235);
  --ui-progress-accent: var(--ui-progress-accent-default);
  --ui-progress-track-bg: color-mix(in srgb, var(--surface) 76%, var(--line));
  --ui-progress-track-border: color-mix(in srgb, var(--ui-progress-accent) 18%, var(--line));
  --ui-progress-text: var(--text);
  display: grid;
  gap: 6px;
  width: 100%;
  min-width: 0;
}

.ui-progress.is-muted,
.ui-progress.is-neutral {
  --ui-progress-accent: var(--signal-gray);
}

.ui-progress.is-info {
  --ui-progress-accent: var(--ui-progress-accent-default);
}

.ui-progress.is-success {
  --ui-progress-accent: var(--success);
}

.ui-progress.is-warning {
  --ui-progress-accent: var(--warning);
}

.ui-progress.is-danger {
  --ui-progress-accent: var(--danger);
}

.ui-progress-track {
  position: relative;
  min-height: 34px;
  overflow: hidden;
  border: 1px solid var(--ui-progress-track-border);
  border-radius: var(--radius-pill);
  background: var(--ui-progress-track-bg);
}

.ui-progress-compact .ui-progress-track,
.ui-progress-small .ui-progress-track {
  min-height: 30px;
}

.ui-progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: var(--ui-progress-accent);
  transition: width 140ms linear;
}

.ui-progress.is-indeterminate .ui-progress-fill {
  width: 38%;
  animation: ui-progress-indeterminate 1.2s ease-in-out infinite;
}

.ui-progress-copy {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 34px;
  padding: 8px 13px;
  color: var(--ui-progress-text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.ui-progress-compact .ui-progress-copy,
.ui-progress-small .ui-progress-copy {
  min-height: 30px;
  padding: 6px 12px;
  font-size: 12px;
}

.ui-progress-label,
.ui-progress-value {
  min-width: 0;
}

.ui-progress-value {
  flex: 0 0 auto;
  text-align: right;
}

.ui-job-status {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.ui-job-status-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

.ui-job-status-textline {
  margin: 0;
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
}

.ui-job-status-textline.is-success,
.ui-job-status-textline.is-ready {
  color: var(--success);
}

.ui-job-status-textline.is-error,
.ui-job-status-textline.is-danger {
  color: var(--danger);
}

.ui-job-status.is-success .ui-job-status-text {
  color: var(--success);
}

.ui-job-status.is-warning .ui-job-status-text {
  color: color-mix(in srgb, var(--warning) 72%, #111111);
}

.ui-job-status.is-error .ui-job-status-text,
.ui-job-status.is-danger .ui-job-status-text {
  color: var(--danger);
}

.ui-notice {
  --ui-notice-accent: var(--line);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--ui-notice-accent) 30%, var(--line));
  border-left-width: 4px;
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--ui-notice-accent) 7%, var(--surface));
}

.ui-notice.is-muted,
.ui-notice.is-neutral {
  --ui-notice-accent: var(--signal-gray);
}

.ui-notice.is-info {
  --ui-notice-accent: var(--accent);
}

.ui-notice.is-success {
  --ui-notice-accent: var(--success);
}

.ui-notice.is-warning {
  --ui-notice-accent: var(--warning);
}

.ui-notice.is-danger {
  --ui-notice-accent: var(--danger);
}

.ui-notice-small,
.ui-notice-compact {
  padding: 9px 11px;
  gap: 8px;
}

.ui-notice-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  color: var(--ui-notice-accent);
  font-weight: 700;
  line-height: 1.2;
}

.ui-notice-copy {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.ui-notice-title {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.ui-notice-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.ui-notice-compact .ui-notice-title,
.ui-notice-small .ui-notice-title,
.ui-notice-compact .ui-notice-text,
.ui-notice-small .ui-notice-text {
  font-size: 13px;
}

.platform-job-status {
  display: grid;
  gap: 8px;
}

.builder-output-status-slot {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
}

.platform-job-status-text {
  margin: 0;
  color: var(--text-soft);
}

.platform-job-status.is-error .platform-job-status-text {
  color: var(--danger, #c62828);
}

.output-result-line {
  margin-top: var(--space-2);
}

.output-preview-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-surface);
  overflow: hidden;
  background: var(--surface);
  position: relative;
}

.output-preview-stage {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: top left;
}

.output-preview-stage iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

@keyframes ui-progress-indeterminate {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(265%);
  }
}

.status-info {
  --status-info-accent: var(--line);
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid color-mix(in srgb, var(--status-info-accent) 34%, var(--line));
  border-left-width: 4px;
  border-radius: var(--radius-control);
  background: color-mix(in srgb, var(--status-info-accent) 8%, var(--surface));
}

.status-info.is-info {
  --status-info-accent: var(--accent);
}

.status-info.is-success {
  --status-info-accent: var(--success);
}

.status-info.is-warning {
  --status-info-accent: var(--warning);
}

.status-info.is-danger {
  --status-info-accent: var(--danger);
}

.status-info-title {
  color: var(--text);
  font-size: 14px;
  line-height: 1.25;
}

.status-info-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.status-info-list {
  display: grid;
  gap: 6px;
}

.status-info-row {
  --status-row-accent: var(--signal-gray);
  display: grid;
  grid-template-columns: 10px minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
}

.status-info-row.is-info {
  --status-row-accent: var(--accent);
}

.status-info-row.is-success {
  --status-row-accent: var(--success);
}

.status-info-row.is-warning {
  --status-row-accent: var(--warning);
}

.status-info-row.is-danger {
  --status-row-accent: var(--danger);
}

.status-info-dot {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--status-row-accent);
}

.status-info-label,
.status-info-value {
  min-width: 0;
}

.status-info-value {
  color: var(--text);
  font-weight: 600;
  text-align: right;
}

.toggle-switch-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.toggle-switch-row-inline-end {
  margin-left: auto;
  justify-content: flex-end;
}

.toggle-switch {
  --toggle-track-off: #aeb7c2;
  --toggle-track-on: var(--signal-green, #b7d235);
  --toggle-thumb: #ffffff;
  width: 52px;
  min-width: 52px;
  height: 30px;
  padding: 2px;
  border: 0;
  border-radius: var(--radius-pill);
  background: transparent;
  cursor: pointer;
}

.toggle-switch:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.toggle-switch-track {
  width: 100%;
  height: 100%;
  display: block;
  position: relative;
  border-radius: var(--radius-pill);
  background: var(--toggle-track-off);
  transition: background-color 160ms ease;
}

.toggle-switch-thumb {
  position: absolute;
  left: 3px;
  top: 3px;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: var(--toggle-thumb);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease;
}

.toggle-switch.is-on .toggle-switch-track,
.toggle-switch[aria-checked="true"] .toggle-switch-track {
  background: var(--toggle-track-on);
}

.toggle-switch.is-on .toggle-switch-thumb,
.toggle-switch[aria-checked="true"] .toggle-switch-thumb {
  transform: translateX(22px);
}

.toggle-switch:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.toggle-switch-label {
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
}

body.is-dev-dark .toggle-switch {
  --toggle-track-off: #667182;
  --toggle-track-on: var(--signal-green, #b7d235);
  --toggle-thumb: #f3f7fb;
}

.tab-workspace-row {
  display: flex;
  gap: var(--panel-gap);
  align-items: start;
}

.workspace-panel {
  min-width: 0;
  flex: 0 0 100%;
}

.module-host-panel-slot {
  min-width: 0;
  flex: 0 0 100%;
}

.module-host-workspace {
  min-width: 0;
  min-height: 0;
  height: 100%;
}

.module-host-panel-slot[data-panel-span="third"] {
  flex-basis: calc((100% - (var(--panel-gap) * 2)) / 3);
  max-width: calc((100% - (var(--panel-gap) * 2)) / 3);
}

.module-host-panel-slot > .workspace-panel {
  height: 100%;
  max-width: 100%;
  flex-basis: 100%;
}

.workspace-panel[style*="--panel-min-width"] {
  min-width: min(100%, var(--panel-min-width));
}

.workspace-panel[style*="--panel-max-width"] {
  max-width: min(100%, var(--panel-max-width));
}

.workspace-panel[data-panel-span="full"] {
  flex-basis: 100%;
  max-width: 100%;
}

.workspace-panel[data-panel-span="half"] {
  flex-basis: calc((100% - var(--panel-gap)) / 2);
  max-width: calc((100% - var(--panel-gap)) / 2);
}

.workspace-panel[data-panel-span="third"] {
  flex-basis: calc((100% - (var(--panel-gap) * 2)) / 3);
  max-width: calc((100% - (var(--panel-gap) * 2)) / 3);
}

@media (min-width: 1101px) {
  .use-case-project-start-workspace .tab-workspace-row[data-panel-row-layout="two-thirds-used"]:has(> .workspace-panel[data-dev-panel^="project-start-status:"]),
  .use-case-project-start-workspace .tab-workspace-row[data-panel-row-layout="two-thirds-used"]:has(> .workspace-panel[data-dev-panel="use-case-project-start-status"]) {
    --workspace-third-reference-width: 744px;
    overflow-x: clip;
  }

  .use-case-project-start-workspace .tab-workspace-row[data-panel-row-layout="two-thirds-used"]:has(> .workspace-panel[data-dev-panel^="project-start-status:"]) > .workspace-panel[data-panel-span="third"],
  .use-case-project-start-workspace .tab-workspace-row[data-panel-row-layout="two-thirds-used"]:has(> .workspace-panel[data-dev-panel="use-case-project-start-status"]) > .workspace-panel[data-panel-span="third"] {
    flex-basis: min(var(--workspace-third-reference-width), calc((100% - var(--panel-gap)) / 2));
    max-width: min(var(--workspace-third-reference-width), calc((100% - var(--panel-gap)) / 2));
  }

  .tab-workspace-row[data-panel-row-layout="single-third"]:has(> .workspace-panel [data-log-upload]),
  .tab-workspace-row[data-panel-row-layout="single-third"]:has(> .workspace-panel [data-dev-section="log_online-output-build"]),
  .tab-workspace-row[data-panel-row-layout="single-third"]:has(> .workspace-panel [data-dev-section="loi_online-output-build"]),
  .tab-workspace-row[data-panel-row-layout="single-third"]:has(> .workspace-panel [data-dev-section="process_online-output-build"]),
  .tmg-basics-workspace .tab-workspace-row:has(> .workspace-panel[data-dev-panel="tmg-grundlagen"]) {
    --workspace-third-reference-width: 744px;
    overflow-x: clip;
  }

  .tab-workspace-row[data-panel-row-layout="single-third"]:has(> .workspace-panel [data-log-upload]) > .workspace-panel[data-panel-span="third"],
  .tab-workspace-row[data-panel-row-layout="single-third"]:has(> .workspace-panel [data-dev-section="log_online-output-build"]) > .workspace-panel[data-panel-span="third"],
  .tab-workspace-row[data-panel-row-layout="single-third"]:has(> .workspace-panel [data-dev-section="loi_online-output-build"]) > .workspace-panel[data-panel-span="third"],
  .tab-workspace-row[data-panel-row-layout="single-third"]:has(> .workspace-panel [data-dev-section="process_online-output-build"]) > .workspace-panel[data-panel-span="third"],
  .tmg-basics-workspace .tab-workspace-row:has(> .workspace-panel[data-dev-panel="tmg-grundlagen"]) > .workspace-panel[data-panel-span="third"] {
    flex-basis: min(var(--workspace-third-reference-width), 100%);
    min-width: min(var(--workspace-third-reference-width), 100%);
    max-width: min(var(--workspace-third-reference-width), 100%);
  }

}

@media (min-width: 1101px) and (max-width: 1919.98px) {
  .website-tab-workspace > .tab-workspace-row[data-panel-row-layout="third-two-third"],
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="log_online-output-build"]),
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="loi_online-output-build"]),
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="process_online-output-build"]) {
    --workspace-third-reference-width: 744px;
    flex-wrap: wrap;
    overflow-x: clip;
  }

  .website-tab-workspace > .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel[data-panel-span="third"],
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="log_online-output-build"]) > .workspace-panel[data-panel-span="third"],
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="loi_online-output-build"]) > .workspace-panel[data-panel-span="third"],
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="process_online-output-build"]) > .workspace-panel[data-panel-span="third"] {
    flex-basis: min(var(--workspace-third-reference-width), 100%);
    min-width: min(var(--workspace-third-reference-width), 100%);
    max-width: min(var(--workspace-third-reference-width), 100%);
  }

  .website-tab-workspace > .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel[data-panel-span="two-third"],
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="log_online-output-build"]) > .workspace-panel[data-panel-span="two-third"],
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="loi_online-output-build"]) > .workspace-panel[data-panel-span="two-third"],
  .tab-workspace-row[data-panel-row-layout="third-two-third"]:has(> .workspace-panel [data-dev-section="process_online-output-build"]) > .workspace-panel[data-panel-span="two-third"] {
    flex-basis: 100%;
    min-width: 100%;
    max-width: 100%;
  }

  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="log_online-output-build"]),
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="loi_online-output-build"]),
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="process_online-output-build"]),
  .website-tab-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"]) {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="log_online-output-build"]) > .tab-workspace-row,
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="loi_online-output-build"]) > .tab-workspace-row,
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="process_online-output-build"]) > .tab-workspace-row,
  .website-tab-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"]) > .tab-workspace-row {
    height: auto;
    align-items: flex-start;
    overflow: visible;
  }

  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="log_online-output-build"]) > .tab-workspace-row > .panel-scroll-panel,
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="loi_online-output-build"]) > .tab-workspace-row > .panel-scroll-panel,
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="process_online-output-build"]) > .tab-workspace-row > .panel-scroll-panel,
  .website-tab-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"]) > .tab-workspace-row > .workspace-panel {
    height: auto;
    max-height: none;
  }
}

.workspace-panel[data-panel-span="two-third"] {
  flex-basis: calc((((100% - (var(--panel-gap) * 2)) / 3) * 2) + var(--panel-gap));
  max-width: calc((((100% - (var(--panel-gap) * 2)) / 3) * 2) + var(--panel-gap));
}

.page-shell-body > .workspace-panel[data-panel-grow="fill-if-alone"] {
  justify-self: start;
  width: min(100%, var(--panel-max-width, 100%));
  flex-basis: min(100%, var(--panel-max-width, 100%));
}

.workspace-panel[data-panel-grow="fill"] {
  flex-grow: 1;
}

.panel-scroll-workspace {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.panel-scroll-workspace .tab-workspace-row {
  min-height: 0;
  height: 100%;
  align-items: stretch;
  overflow: hidden;
}

.panel-scroll-panel {
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
}

.panel-scroll-header {
  position: sticky;
  top: 0;
  z-index: 2;
  padding-bottom: var(--panel-header-padding-bottom);
  border-bottom: 1px solid var(--panel-header-border);
  background: var(--panel-scroll-header-bg);
}

.panel-scroll-header .panel-header-row {
  padding-bottom: 0;
  border-bottom: 0;
}

.panel-scroll-header h3 {
  margin: 0;
}

.panel-scroll-body {
  min-height: 0;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding-top: var(--panel-padding-y);
  box-sizing: border-box;
  scrollbar-gutter: stable;
  display: grid;
  align-content: start;
  gap: var(--panel-body-gap);
}

.theme-library-panel .panel-scroll-body {
  scrollbar-gutter: stable;
  padding-right: calc(var(--panel-padding-x) + 10px);
}

.theme-library-panel .panel-section {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

@media (min-width: 1101px) and (max-width: 1919.98px) {
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="log_online-output-build"]),
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="loi_online-output-build"]),
  .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="process_online-output-build"]),
  .website-tab-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"]) {
    overflow-x: hidden;
    overflow-y: auto;
  }
}

@media (max-width: 1100px) {
  .tab-workspace-row {
    flex-direction: column;
  }

  .workspace-panel[data-panel-span],
  .module-host-panel-slot[data-panel-span],
  .workspace-panel[data-panel-placement] {
    flex-basis: 100%;
    max-width: 100%;
  }

  .project-access-grid {
    grid-template-columns: 1fr;
  }

  .module-start-hero {
    min-height: 180px;
    width: calc(100% + 28px);
    margin: calc(-1 * var(--shell-body-pad-top)) -14px var(--panel-gap);
    padding: 22px 20px;
  }

  .module-start-hero.has-visual {
    height: auto;
    min-height: 220px;
    max-height: none;
    padding: 24px 22px;
    background-position: center;
  }

  .module-start-hero.internal-module-start-hero.has-visual {
    height: calc((100dvh - var(--shell-header-title-height, 80px)) * 0.5);
    min-height: calc((100dvh - var(--shell-header-title-height, 80px)) * 0.5);
    max-height: none;
  }

  .module-start-hero.has-visual::before {
    background:
      linear-gradient(90deg, rgba(18, 27, 40, 0.9) 0%, rgba(18, 27, 40, 0.7) 62%, rgba(18, 27, 40, 0.34) 100%),
      linear-gradient(0deg, rgba(18, 27, 40, 0.76) 0%, rgba(18, 27, 40, 0.12) 70%);
  }

  .module-start-hero-copy {
    max-width: 100%;
  }

  .internal-module-start-title-row {
    gap: 14px;
  }

  .internal-module-start-icon {
    width: 96px;
    min-height: 96px;
    flex-basis: 96px;
    padding: 0;
  }

  .internal-module-start-icon .module-icon.is-start {
    width: 96px;
    height: 96px;
  }

  .dashboard-metric-tile-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .module-start-personal-grid {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 640px) {
  .mini-grid {
    grid-template-columns: 1fr;
  }

  .internal-module-start-title-row {
    flex-wrap: wrap;
  }

  .internal-module-start-icon {
    width: 76px;
    min-height: 76px;
    flex-basis: 76px;
    padding: 0;
  }

  .internal-module-start-icon .module-icon.is-start {
    width: 76px;
    height: 76px;
  }

  .module-start-personal-status {
    grid-template-columns: minmax(0, 1fr);
  }
}

.theme-preview-card {
  border: 1px solid var(--line);
  background: var(--surface-soft);
}

.website-preview-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
}

.website-preview-viewport {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.website-preview-viewport > .stack,
.website-preview-viewport > .stack > .theme-preview-card,
.website-preview-viewport > .stack > .theme-preview-card > .theme-preview-site {
  height: 100%;
}

.website-preview-viewport > .stack > .theme-preview-card > .theme-preview-site {
  grid-template-rows: minmax(0, 20%) minmax(0, 1fr);
}

.website-preview-viewport .theme-preview-site-header {
  min-height: 0;
  height: 100%;
}

.website-preview-viewport .theme-preview-site-layout {
  min-height: 0;
  height: 100%;
}

.website-preview-viewport .theme-preview-site-content {
  min-height: 0;
  grid-template-rows: minmax(0, 1fr) minmax(0, 10%) minmax(0, 10%);
}

.website-preview-viewport .theme-preview-site-panel,
.website-preview-viewport .theme-preview-site-form,
.website-preview-viewport .theme-preview-site-note {
  min-height: 0;
  height: 100%;
}

.theme-preview-site {
  display: grid;
  gap: var(--theme-preview-site-gap, 12px);
  padding: var(--theme-preview-site-padding, 14px);
  color: var(--theme-preview-body-text, var(--text-strong));
}

.theme-preview-site-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 0 12px 0 0;
  min-height: 78px;
  border: 1px solid var(--theme-preview-menu-border, var(--line));
  border-radius: var(--theme-preview-menu-radius, 18px);
  background: var(--theme-preview-menu-bg, var(--surface));
  color: var(--theme-preview-menu-text, var(--text-strong));
}

.theme-preview-site-header-brand {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  align-items: stretch;
  min-width: 0;
}

.theme-preview-site-header-logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 78px;
  padding: 8px;
}

.theme-preview-site-header-copy {
  display: grid;
  align-content: center;
  gap: 4px;
  min-width: 0;
  padding: 12px 12px 12px 0;
}

.theme-preview-site-header strong,
.theme-preview-site-header p {
  color: inherit;
  margin: 0;
}

.theme-preview-site-header p {
  font-size: 12px;
  opacity: 0.78;
}

.theme-preview-site-header-action,
.theme-preview-site-menu-item,
.theme-preview-site-button,
.theme-preview-site-input,
.theme-preview-site-select {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 10px;
  border: 1px solid transparent;
}

.theme-preview-site-header-action {
  border-color: var(--theme-preview-button-border, var(--line));
  border-radius: var(--theme-preview-control-radius, 8px);
  background: var(--theme-preview-button-bg, var(--surface));
  color: var(--theme-preview-button-text, var(--text-strong));
  margin-right: 12px;
}

.theme-preview-site-layout {
  display: grid;
  grid-template-columns: 156px minmax(0, 1fr);
  gap: var(--theme-preview-site-gap, 12px);
}

.theme-preview-site-menu {
  display: grid;
  align-content: start;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--theme-preview-menu-border, var(--line));
  border-radius: var(--theme-preview-menu-radius, 18px);
  background: var(--theme-preview-menu-bg, var(--surface));
  color: var(--theme-preview-menu-text, var(--text-strong));
}

.theme-preview-site-menu-item {
  justify-content: flex-start;
  width: 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
  padding-inline: 10px;
  border-color: var(--theme-preview-menu-border, var(--line));
  border-radius: var(--theme-preview-control-radius, 8px);
  background: transparent;
  color: inherit;
}

.theme-preview-site-menu-item.is-active {
  background: var(--theme-preview-highlight, var(--accent-soft));
  color: var(--theme-preview-body-text, var(--text-strong));
}

.theme-preview-site-content {
  display: grid;
  gap: var(--theme-preview-site-gap, 12px);
}

.theme-preview-site-panel,
.theme-preview-site-form,
.theme-preview-site-note {
  border: 1px solid var(--theme-preview-body-border, var(--line));
  border-radius: var(--theme-preview-body-radius, 18px);
  background: var(--theme-preview-body-bg, var(--surface));
  color: var(--theme-preview-body-text, var(--text-strong));
}

.theme-preview-site-panel {
  display: grid;
  gap: 10px;
  padding: 14px;
}

.theme-preview-site-panel h4,
.theme-preview-site-panel p {
  margin: 0;
  color: inherit;
}

.theme-preview-site-actions,
.theme-preview-site-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.theme-preview-site-form {
  padding: 12px;
}

.theme-preview-site-button {
  border-color: var(--theme-preview-button-border, var(--line));
  border-radius: var(--theme-preview-control-radius, 8px);
  background: transparent;
  color: var(--theme-preview-body-text, var(--text-strong));
}

.theme-preview-site-button.is-primary {
  background: var(--theme-preview-button-bg, var(--surface));
  color: var(--theme-preview-button-text, var(--text-strong));
}

.theme-preview-site-input,
.theme-preview-site-select {
  justify-content: flex-start;
  min-width: 96px;
  border-color: var(--theme-preview-input-border, var(--line));
  border-radius: var(--theme-preview-control-radius, 8px);
  background: var(--theme-preview-input-bg, var(--surface));
  color: var(--theme-preview-input-text, var(--text-strong));
}

.theme-preview-site-select {
  border-color: var(--theme-preview-select-border, var(--line));
  background: var(--theme-preview-select-bg, var(--surface));
  color: var(--theme-preview-select-text, var(--text-strong));
}

.theme-preview-site-note {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
}

.theme-preview-site-dot {
  inline-size: 10px;
  block-size: 10px;
  border-radius: 999px;
  background: var(--theme-preview-accent, var(--accent));
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-preview-highlight, var(--accent-soft)) 45%, transparent);
}

.theme-preview-site-logo {
  width: 100%;
  height: 100%;
  max-width: 62px;
  max-height: 62px;
  object-fit: contain;
  display: block;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  color: var(--text);
  font-weight: 600;
}

.checkbox-row input {
  margin: 0;
}

.website-tab-workspace .website-preview-panel {
  align-self: flex-start;
}

.has-permission-tip {
  cursor: help;
  position: relative;
}

.sidebar-module-context-tab-group.has-permission-tip,
.sidebar-module-context-subtab.has-permission-tip,
.sidebar-module-context-subtab-tip.has-permission-tip,
.use-case-project-start-link-action.has-permission-tip {
  overflow: visible;
}

.sidebar-module-context-subtab-tip {
  display: block;
  min-width: 0;
  overflow: visible;
  position: relative;
}

.sidebar-module-context,
.sidebar-module-context-tabs,
.sidebar-module-context-tab-split,
.use-case-project-start-quicklinks,
.use-case-project-start-link-row {
  overflow: visible;
}

.use-case-project-start-quicklinks {
  align-items: start;
  display: grid;
  gap: 8px 12px;
}

.use-case-project-start-link-heading {
  color: var(--section-title-color, var(--text-title, #0f172a));
  font-size: var(--section-title-size, 16px);
  font-weight: 700;
  line-height: 1.2;
  margin: 8px 0 0;
}

.use-case-project-start-link-row {
  align-items: center;
  display: grid;
  gap: 10px 12px;
  grid-template-columns: 168px minmax(0, 1fr);
}

.use-case-project-start-link-action {
  align-items: center;
  display: inline-flex;
  min-width: 0;
  position: relative;
}

.use-case-project-start-link-button {
  justify-self: start;
  white-space: nowrap;
  width: 168px;
}

.use-case-project-start-link-copy {
  color: var(--text-body, #0f172a);
  font-size: var(--font-body, 14px);
  line-height: 1.35;
  min-width: 0;
}

.use-case-project-start-link-copy span {
  display: block;
}

.sidebar:has(.has-permission-tip:hover),
.sidebar-group:has(.has-permission-tip:hover),
.sidebar:has(.has-permission-tip:focus-within),
.sidebar-group:has(.has-permission-tip:focus-within) {
  overflow: visible;
}

.has-permission-tip:hover,
.has-permission-tip:focus-within {
  z-index: 10001;
}

.has-permission-tip::after,
.has-permission-tip::before {
  opacity: 0;
  pointer-events: none;
  position: absolute;
  transition: opacity 0.12s ease, transform 0.12s ease;
  visibility: hidden;
  z-index: 10000;
}

.has-permission-tip::after {
  background: #fff;
  border: 1px solid #111827;
  border-radius: 6px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  color: #111827;
  content: attr(data-permission-tooltip);
  font-size: 0.78rem;
  font-weight: 650;
  line-height: 1.25;
  max-width: 260px;
  min-width: 190px;
  padding: 8px 10px;
  right: -10px;
  text-align: left;
  top: 50%;
  transform: translate(100%, -50%);
  white-space: normal;
}

.has-permission-tip::before {
  background: #fff;
  border-bottom: 1px solid #111827;
  border-left: 1px solid #111827;
  content: "";
  height: 9px;
  right: -14px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 9px;
}

.has-permission-tip:hover::after,
.has-permission-tip:focus-within::after,
.has-permission-tip:hover::before,
.has-permission-tip:focus-within::before {
  opacity: 1;
  visibility: visible;
}

/* END inlined ../styles/ui.css */

/* BEGIN inlined ../styles/workspace.css for web fallback */
/*
 * Workspace styles.
 *
 * Zielort fuer generische Workspace-Layouts, Projektstart und
 * Modul-Arbeitsflaechen.
 */

.columns {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 18px;
}

.columns.layout-wide-content {
  grid-template-columns: minmax(0, 1fr);
}

.columns.layout-split-280 {
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
}

.columns.layout-split-280-wide {
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.85fr);
}

.columns.layout-split-260-medium {
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.8fr);
}

.columns.layout-split-260-tight {
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.8fr);
}

.columns.layout-split-280-xl {
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, 0.8fr);
}

.content-stack {
  min-width: 0;
}

.tab-workspace {
  display: grid;
  gap: var(--panel-gap);
  min-width: 0;
}

.tab-workspace-panel-grid {
  display: grid;
  gap: var(--panel-gap);
  align-items: start;
}

/* END inlined ../styles/workspace.css */

/* BEGIN inlined ../styles/modules.css for web fallback */
/*
 * Neutral module styles.
 *
 * Zielort fuer moduluebergreifende Layoutregeln ohne Fachlogik.
 * Modulspezifische Sonderregeln gehoeren langfristig in das jeweilige
 * Modul-Frontend.
 */

/* END inlined ../styles/modules.css */

/* BEGIN inlined ../styles/legacy.css for web fallback */
/*
 * Legacy styles.
 *
 * Zielort fuer Uebergangsregeln, die noch nicht sauber einer neuen
 * CSS-Schicht zugeordnet sind.
 */

/* END inlined ../styles/legacy.css */


:root {
  --bg: #f3f4f6;
  --surface: #ffffff;
  --surface-soft: #f7f8fa;
  --surface-glass: rgba(255, 255, 255, 0.9);
  --surface-overlay-light: rgba(255, 255, 255, 0.98);
  --surface-overlay-dark: rgba(18, 32, 45, 0.96);
  --line: #d8dde3;
  --line-strong: #d5dde6;
  --line-accent-soft: rgba(14, 90, 167, 0.22);
  --text: #18212b;
  --muted: #66717d;
  --text-title: var(--text);
  --text-body: var(--text);
  --text-muted: var(--muted);
  --text-label: var(--muted);
  --text-meta: var(--muted);
  --text-link: var(--accent);
  --text-danger: var(--danger);
  --accent: #0e5aa7;
  --accent-soft: #dce9f7;
  --accent-overlay: rgba(14, 90, 167, 0.92);
  --surface-accent-soft: #f7fbff;
  --surface-hero-accent: rgba(14, 90, 167, 0.12);
  --surface-hero-top: #f8fafc;
  --surface-hero-bottom: #edf3f8;
  --text-inverse: #ffffff;
  --sidebar-bg: #172534;
  --sidebar-text: #f5f7fa;
  --sidebar-muted: #8ca0af;
  --platform-shell-sidebar-bg: var(--sidebar-bg);
  --platform-shell-sidebar-text: var(--sidebar-text);
  --signal-gray: #8a9099;
  --signal-green: #b7d235;
  --signal-red: #e5601b;
  --signal-yellow: #f2d21b;
  --success: #2f6f44;
  --warning: #9a6a1a;
  --danger: #a43c3c;
  --dev-interaction-outline: rgba(14, 90, 167, 0.45);
  --dev-unknown-interaction-outline: rgba(255, 153, 0, 0.88);
  --dev-unknown-surface-outline: rgba(255, 0, 153, 0.82);
  --dev-unknown-surface-bg: rgba(255, 0, 153, 0.92);
  --dev-unknown-interaction-bg: rgba(255, 153, 0, 0.96);
  --dev-interaction-label-bg: rgba(14, 90, 167, 0.92);
  --elevation-0: none;
  --elevation-1: 0 10px 30px rgba(17, 24, 39, 0.08);
  --elevation-2: 0 12px 32px rgba(18, 32, 45, 0.14);
  --elevation-3: 0 8px 24px rgba(18, 32, 45, 0.24);
  --shadow: var(--elevation-1);
  --radius-xs: 10px;
  --radius-sm: 12px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-micro: 6px;
  --radius-control: 8px;
  --radius-surface: 14px;
  --radius-large: 24px;
  --radius-pill: 999px;
  --radius: var(--radius-surface);
  --radius-button: var(--radius-control);
  --control-radius: var(--radius-control);
  --control-bg: var(--surface);
  --control-bg-hover: var(--surface-soft);
  --control-border: var(--line);
  --control-text: var(--text);
  --control-placeholder: var(--muted);
  --font-body: 14px;
  --font-label: 14px;
  --font-meta: 12px;
  --font-caption: 11px;
  --font-description: 13px;
  --font-button: 14px;
  --font-button-compact: 13px;
  --font-button-small: 12px;
  --font-title-panel: 18px;
  --font-title-section: 16px;
  --space-1: 8px;
  --space-2: 10px;
  --space-3: 12px;
  --space-4: 14px;
  --space-5: 16px;
  --space-6: 18px;
  --space-7: 20px;
  --space-8: 24px;
  --space-9: 28px;
  --gap: var(--space-7);
  --panel-gap: var(--space-7);
  --panel-padding-x: var(--space-7);
  --panel-padding-y: var(--space-6);
  --panel-header-gap: var(--space-3);
  --panel-header-padding-bottom: var(--space-4);
  --panel-body-gap: var(--space-5);
  --panel-bg: var(--surface);
  --panel-border: var(--line);
  --panel-radius: var(--radius);
  --panel-shadow: var(--shadow);
  --panel-header-border: var(--line);
  --panel-title-color: var(--text-title);
  --panel-title-size: var(--font-title-panel);
  --panel-subtitle-color: var(--text-muted);
  --panel-subtitle-size: var(--font-description);
  --panel-scroll-header-bg: var(--panel-bg);
  --section-gap: var(--space-4);
  --section-padding-x: var(--space-4);
  --section-padding-y: var(--space-4);
  --section-header-gap: var(--space-2);
  --section-header-padding-bottom: var(--space-3);
  --section-body-gap: var(--space-3);
  --section-bg: var(--surface-soft);
  --section-border: var(--line);
  --section-radius: var(--radius-sm);
  --section-shadow: var(--elevation-0);
  --section-title-color: var(--text-title);
  --section-title-size: var(--font-title-section);
  --section-description-color: var(--text-muted);
  --section-description-size: var(--font-description);
  --sidebar-width: 248px;
  --shell-header-title-height: 80px;
  --shell-header-nav-height: 50px;
  --shell-header-height: calc(var(--shell-header-title-height) + var(--shell-header-nav-height));
  --shell-sidebar-pad-top: 20px;
  --shell-sidebar-gap: 18px;
  --shell-sidebar-head-height: 88px;
  --shell-body-pad-top: 20px;
  --font: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  height: 100%;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font);
}

body.is-dev-mode {
  --dev-outline: rgba(196, 76, 0, 0.45);
  --dev-label-bg: rgba(18, 32, 45, 0.92);
  --dev-label-text: #f5f7fa;
}

body.is-dev-dark {
  --bg: #0b1020;
  --surface: #172554;
  --surface-soft: #312e81;
  --surface-glass: rgba(23, 37, 84, 0.9);
  --surface-overlay-light: rgba(49, 46, 129, 0.96);
  --surface-overlay-dark: rgba(6, 11, 31, 0.96);
  --line: #f59e0b;
  --line-strong: #facc15;
  --line-accent-soft: rgba(250, 204, 21, 0.38);
  --text: #f8fafc;
  --muted: #c4b5fd;
  --accent: #38bdf8;
  --accent-soft: rgba(56, 189, 248, 0.2);
  --accent-overlay: rgba(56, 189, 248, 0.92);
  --surface-accent-soft: rgba(56, 189, 248, 0.16);
  --surface-hero-accent: rgba(56, 189, 248, 0.2);
  --surface-hero-top: #172554;
  --surface-hero-bottom: #312e81;
  --text-inverse: #020617;
  --sidebar-bg: #111827;
  --sidebar-text: #f8fafc;
  --sidebar-muted: #a5b4fc;
  --signal-gray: #94a3b8;
  --signal-green: #84cc16;
  --signal-red: #f97316;
  --signal-yellow: #facc15;
  --success: #22c55e;
  --warning: #f59e0b;
  --danger: #fb7185;
  --dev-audit-panel-outline: rgba(250, 204, 21, 0.78);
  --dev-audit-section-outline: rgba(45, 212, 191, 0.72);
  --dev-audit-control-outline: rgba(56, 189, 248, 0.82);
  --dev-audit-button-outline: rgba(251, 113, 133, 0.82);
  --dev-audit-title-outline: rgba(232, 121, 249, 0.82);
  --dev-interaction-outline: rgba(56, 189, 248, 0.5);
  --dev-unknown-interaction-outline: rgba(255, 153, 0, 0.88);
  --dev-unknown-surface-outline: rgba(255, 0, 153, 0.82);
  --dev-unknown-surface-bg: rgba(255, 0, 153, 0.92);
  --dev-unknown-interaction-bg: rgba(255, 153, 0, 0.96);
  --dev-interaction-label-bg: rgba(56, 189, 248, 0.92);
  --elevation-1: 0 0 0 2px rgba(250, 204, 21, 0.28);
  --elevation-2: 0 0 0 2px rgba(45, 212, 191, 0.34);
  --elevation-3: 0 0 0 2px rgba(232, 121, 249, 0.42);
  --shadow: var(--elevation-1);
  --radius-xs: 0px;
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  --radius-micro: 6px;
  --radius-control: 0px;
  --radius-surface: 0px;
  --radius-large: 0px;
  --radius-pill: 0px;
  --radius: var(--radius-surface);
  --radius-button: var(--radius-control);
  --control-radius: var(--radius-control);
  --control-bg: #082f49;
  --control-bg-hover: #0c4a6e;
  --control-border: #38bdf8;
  --control-text: #f8fafc;
  --control-placeholder: #bae6fd;
  --panel-bg: var(--surface);
  --panel-border: var(--line);
  --panel-radius: var(--radius);
  --panel-shadow: var(--shadow);
  --panel-header-border: var(--line-strong);
  --panel-title-color: var(--text-title);
  --panel-subtitle-color: var(--text-muted);
  --panel-scroll-header-bg: var(--panel-bg);
  --section-bg: var(--surface-soft);
  --section-border: var(--line);
  --section-radius: var(--radius-sm);
  --section-title-color: var(--text-title);
  --section-description-color: var(--text-muted);
}

body.is-dev-mode.is-dev-dark .panel,
body.is-dev-mode.is-dev-dark .workspace-panel,
body.is-dev-mode.is-dev-dark .panel-scroll-panel,
body.is-dev-mode.is-dev-dark .module-card,
body.is-dev-mode.is-dev-dark .dashboard-project-list-item,
body.is-dev-mode.is-dev-dark .portal-state {
  outline: 2px solid var(--dev-audit-panel-outline);
  outline-offset: -2px;
}

body.is-dev-mode.is-dev-dark .panel-section,
body.is-dev-mode.is-dev-dark .panel-standard,
body.is-dev-mode.is-dev-dark .panel-viewer,
body.is-dev-mode.is-dev-dark .panel-main,
body.is-dev-mode.is-dev-dark .panel-side,
body.is-dev-mode.is-dev-dark .panel-surface,
body.is-dev-mode.is-dev-dark .panel-frame {
  outline: 1px dashed var(--dev-audit-section-outline);
  outline-offset: -3px;
}

body.is-dev-mode.is-dev-dark .panel-title,
body.is-dev-mode.is-dev-dark .panel-section-title,
body.is-dev-mode.is-dev-dark .section-title,
body.is-dev-mode.is-dev-dark .panel-scroll-header h3,
body.is-dev-mode.is-dev-dark .module-card h3,
body.is-dev-mode.is-dev-dark .panel h3 {
  text-decoration: underline;
  text-decoration-color: var(--dev-audit-title-outline);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

body.is-dev-mode.is-dev-dark .button-primary,
body.is-dev-mode.is-dev-dark .button-secondary,
body.is-dev-mode.is-dev-dark .button-quiet,
body.is-dev-mode.is-dev-dark .button-ghost,
body.is-dev-mode.is-dev-dark .ui-button,
body.is-dev-mode.is-dev-dark .project-icon-btn {
  outline: 2px solid var(--dev-audit-button-outline);
  outline-offset: -2px;
}

body.is-dev-mode.is-dev-dark input,
body.is-dev-mode.is-dev-dark select,
body.is-dev-mode.is-dev-dark textarea,
body.is-dev-mode.is-dev-dark .ui-text-input,
body.is-dev-mode.is-dev-dark .fake-input {
  outline: 1px solid var(--dev-audit-control-outline);
  outline-offset: -2px;
}

button,
select,
input,
textarea {
  font: inherit;
}

input,
select,
textarea {
  color: var(--control-text);
  border: 1px solid var(--control-border);
  border-radius: var(--control-radius);
  background: var(--control-bg);
  padding-inline: 12px;
}

input:hover,
select:hover,
textarea:hover {
  background: var(--control-bg-hover);
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: color-mix(in srgb, var(--accent) 55%, var(--control-border));
  box-shadow: 0 0 0 2px color-mix(in srgb, var(--accent) 18%, transparent);
}

input::placeholder,
textarea::placeholder {
  color: var(--control-placeholder);
}

input[type="color"] {
  inline-size: 44px;
  min-inline-size: 44px;
  block-size: 44px;
  padding: 0;
  overflow: hidden;
}

.ui-field {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.ui-field-label,
.ui-field-hint,
.ui-field-error {
  display: block;
  font-size: 12px;
  line-height: 1.25;
}

.ui-field-label {
  color: var(--muted);
  font-weight: 700;
}

.ui-field-control,
.ui-field-control > input,
.ui-field-control > select,
.ui-field-control > textarea {
  min-width: 0;
  width: 100%;
}

.ui-field-hint {
  color: var(--muted);
}

.ui-field-error {
  color: var(--danger);
  font-weight: 700;
}

.ui-field-inline {
  align-items: center;
  display: grid;
  gap: 4px;
}

.ui-color-field-controls {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.ui-color-field-controls-icon-only {
  grid-template-columns: 44px;
}

.ui-field-control > .ui-color-field-controls {
  width: 100%;
}

.ui-color-input {
  inline-size: 44px;
  min-inline-size: 44px;
}

.ui-color-text-input {
  min-width: 0;
  width: 100%;
}

input[type="color"]::-webkit-color-swatch-wrapper {
  padding: 0;
}

input[type="color"]::-webkit-color-swatch {
  border: 0;
  border-radius: var(--control-radius);
}

input[type="color"]::-moz-color-swatch {
  border: 0;
  border-radius: var(--control-radius);
}

button {
  border: 1px solid transparent;
  border-radius: var(--radius-button);
  padding: var(--space-2) var(--space-5);
  cursor: pointer;
  background: var(--surface-soft);
  color: var(--text);
}

button:hover {
  filter: brightness(0.98);
}

.platform-entry-loading {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-8);
  background:
    linear-gradient(135deg, rgba(15, 23, 42, 0.86), rgba(33, 51, 73, 0.76)),
    var(--shell-surface, #172033);
  color: #ffffff;
}

.platform-entry-loading-card {
  width: min(520px, 100%);
}

.platform-entry-loading-eyebrow {
  margin: 0 0 var(--space-2);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  opacity: 0.78;
}

.platform-entry-loading h1 {
  margin: 0;
  font-size: 1.65rem;
  line-height: 1.18;
  letter-spacing: 0;
}

.platform-entry-loading-text {
  margin: var(--space-3) 0 var(--space-5);
  color: rgba(255, 255, 255, 0.78);
}

.platform-entry-progress {
  height: 3px;
  width: 100%;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.2);
}

.platform-entry-progress-fill {
  width: 18%;
  height: 100%;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.34);
  transition: width 180ms ease, opacity 180ms ease;
}


.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: var(--space-8);
}

.login-card {
  width: min(460px, 100%);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: var(--space-9);
}

.public-login-screen {
  display: block;
  min-height: 100vh;
  width: 100%;
  align-items: normal;
  justify-items: stretch;
  padding: 0;
  background: #121b28;
  overflow-x: hidden;
}

.public-login-hero {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 62px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(32px, 5vh, 64px) 20px;
  box-sizing: border-box;
  isolation: isolate;
}

.public-login-hero-image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.public-login-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(18, 27, 40, 0.86) 0%, rgba(18, 27, 40, 0.58) 36%, rgba(18, 27, 40, 0.24) 72%, rgba(18, 27, 40, 0.18) 100%);
}

.public-login-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
}

.public-login-card .stack {
  display: grid;
  gap: 14px;
}

.public-login-card .field {
  display: grid;
  gap: 8px;
}

.public-login-card .field label {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.2;
}

.public-login-card .field input {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border-color: var(--control-border);
  border-radius: var(--control-radius);
  background: var(--control-bg);
  color: var(--control-text);
  padding: var(--space-2) var(--space-3);
}

.public-login-card .inline-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.login-error {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--accent);
  box-shadow: var(--shadow);
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.login-card .eyebrow {
  text-transform: none;
}

.login-card h1,
.page-header h1,
.module-header h1 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.subtle {
  color: var(--muted);
}


.eyebrow-platform {
  color: var(--sidebar-muted);
}


.mt-10 {
  margin-top: var(--space-2);
}

.mt-12 {
  margin-top: var(--space-3);
}

.mt-14 {
  margin-top: var(--space-4);
}

.mt-18 {
  margin-top: var(--space-6);
}

.mt-20 {
  margin-top: var(--space-7);
}

.mt-24 {
  margin-top: var(--space-8);
}

.is-block-label {
  display: block;
  margin-bottom: var(--space-1);
}


body.is-user-locked #app,
body.is-user-locked #app * {
  user-select: none;
  -webkit-user-select: none;
}

body.is-user-locked #app img {
  -webkit-user-drag: none;
}

body.is-user-locked #app input,
body.is-user-locked #app textarea,
body.is-user-locked #app select,
body.is-user-locked #app option,
body.is-user-locked #app [contenteditable="true"],
body.is-user-locked #app .file-asset-field,
body.is-user-locked #app .file-asset-layout,
body.is-user-locked #app .file-asset-tile,
body.is-user-locked #app .file-upload-control {
  user-select: text;
  -webkit-user-select: text;
}

.app-shell {
  height: 100vh;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr);
  grid-template-rows: var(--shell-header-height) minmax(0, 1fr);
  grid-template-areas:
    "header header"
    "sidebar main";
  background: var(--platform-shell-bg);
  color: var(--platform-shell-text);
  overflow: hidden;
}

.app-shell.is-shell-nav-hidden {
  grid-template-rows: var(--shell-header-title-height) minmax(0, 1fr);
}

.app-shell.is-public-home-layout {
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  grid-template-areas: "main";
}

.app-shell.is-public-home-layout .shell-header-stage,
.app-shell.is-public-home-layout .sidebar {
  display: none;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  font-weight: 700;
  letter-spacing: 0.02em;
}

.brand-logo,
.module-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-xs);
  border: 1px solid var(--line);
  background: var(--surface-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.module-icon {
  overflow: hidden;
  flex: 0 0 auto;
  border: none;
  background: transparent;
  color: var(--accent);
}

.module-icon.has-image {
  padding: 0;
  background: transparent;
  position: relative;
}

.module-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.module-icon-fallback {
  display: none;
}

.module-icon.has-image.is-fallback .module-icon-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.module-icon.is-large {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
}

.module-icon.is-start {
  width: 128px;
  height: 128px;
  margin: 0;
}

.module-icon.is-project {
  width: 28px;
  height: 28px;
}

.module-card .module-icon,
.hero-visual .module-icon {
  width: 64px;
  height: 64px;
}

.module-icon.is-card {
  width: 128px;
  height: 128px;
}

.module-icon.is-header-start {
  width: 128px;
  height: 128px;
}

.brand-logo.is-empty {
  visibility: hidden;
}

.brand-logo-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.context-pill,
.role-pill,
.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  border: 1px solid var(--line);
  color: var(--muted);
  white-space: nowrap;
}

.context-pill.is-strong,
.meta-pill.is-strong {
  background: var(--accent-soft);
  border-color: var(--line-accent-soft);
  color: var(--accent);
}

.sidebar {
  grid-area: sidebar;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto auto;
  gap: 0;
  padding: var(--shell-sidebar-pad-top) 18px 22px;
  background: var(--platform-shell-sidebar-bg);
  color: var(--platform-shell-sidebar-text);
  min-height: 0;
  overflow: hidden;
}

.sidebar-head {
  position: relative;
  display: block;
  min-height: 0;
  padding: 0;
}

.sidebar-home-link {
  width: 100%;
  height: auto;
  min-height: 0;
  align-self: flex-start;
  padding: 0 8px 0 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: flex-start;
  justify-content: flex-end;
  cursor: pointer;
}

.sidebar-home-link img {
  width: 100%;
  height: 100%;
  max-width: 132px;
  max-height: 132px;
  object-fit: contain;
  display: block;
}

.sidebar-home-link .module-icon.is-header-brand {
  width: 96px;
  height: 96px;
}

.sidebar-home-link .module-icon.is-header-brand img,
.sidebar-home-link .module-icon.is-header-brand svg {
  max-width: 96px;
  max-height: 96px;
}

.sidebar-home-link:hover {
  filter: brightness(1.08);
}

.sidebar-group {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 0;
  overflow-y: auto;
  margin-top: 0;
}

.sidebar-footnote {
  display: grid;
  gap: 8px;
  font-size: 12px;
  color: var(--platform-shell-sidebar-muted);
}

.sidebar-utility {
  display: grid;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--platform-shell-sidebar-border);
}

.sidebar-module-feedback {
  display: grid;
  padding: 12px 0 14px;
}

.sidebar-module-feedback-button {
  min-height: 40px;
}

.sidebar-utility-group {
  display: grid;
  gap: 8px;
}

.sidebar-utility-user {
  display: flex;
  align-items: center;
  min-height: 40px;
}

.brand-user {
  display: grid;
  gap: 2px;
  min-width: 0;
  font-size: 12px;
  color: var(--platform-shell-sidebar-muted);
}

.brand-user strong {
  color: var(--platform-shell-sidebar-text);
  font-size: 13px;
}

.sidebar-utility-button {
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border-color: color-mix(in srgb, var(--platform-shell-sidebar-text) 14%, transparent);
  background: color-mix(in srgb, var(--platform-shell-sidebar-text) 6%, transparent);
  color: var(--platform-shell-sidebar-text);
}

.sidebar-utility-button:hover {
  background: color-mix(in srgb, var(--platform-shell-sidebar-text) 10%, transparent);
}

.nav-button {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: inherit;
  padding: 12px 14px;
  box-sizing: border-box;
  font: inherit;
  text-decoration: none;
}

.nav-button.is-active {
  background: var(--platform-shell-sidebar-active-bg);
  color: var(--platform-shell-sidebar-text);
}

.nav-button:hover {
  background: var(--platform-shell-sidebar-hover-bg);
}

.sidebar-module-section {
  display: grid;
  gap: 6px;
}

.sidebar-module-head {
  display: block;
}

.sidebar-module-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 14px;
}

.sidebar-module-caret {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--platform-shell-sidebar-muted);
  transform: translateY(-50%);
}

.sidebar-module-section.is-expanded .sidebar-module-caret {
  transform: translateY(-50%) rotate(90deg);
}

.sidebar-module-list {
  display: grid;
  gap: 4px;
  padding-left: 14px;
}

.sidebar-module-link {
  display: inline-flex;
  align-items: center;
  width: 100%;
  justify-content: flex-start;
  text-align: left;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--platform-shell-sidebar-muted);
  font-size: 13px;
  box-sizing: border-box;
  text-decoration: none;
}

a.button-secondary,
a.sidebar-module-context-exit {
  text-decoration: none;
}

.sidebar-module-link:hover {
  background: var(--platform-shell-sidebar-hover-bg);
  color: var(--platform-shell-sidebar-text);
}

.sidebar-module-link.is-active {
  background: var(--platform-shell-sidebar-active-bg);
  color: var(--platform-shell-sidebar-text);
}

.sidebar-module-context {
  display: grid;
  gap: 2px;
  margin: 0;
}

.sidebar-module-context-tabs {
  display: grid;
  gap: 2px;
  margin-top: 8px;
  padding-top: 9px;
  border-top: 1px solid var(--platform-shell-sidebar-border);
}

.sidebar-module-context-tabs-bottom {
  margin-top: 9px;
}

.sidebar-module-context-tab {
  color: var(--platform-shell-sidebar-muted);
  font-size: 13px;
  padding: 8px 12px;
}

.sidebar-module-context-tab-group {
  display: grid;
  gap: 2px;
}

.sidebar-module-context-tab.has-children {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  position: relative;
  padding-left: 14px;
}

.sidebar-module-context-tab-split {
  position: relative;
  display: block;
  min-width: 0;
}

.sidebar-module-context-tab-split .sidebar-module-context-tab {
  width: 100%;
  min-width: 0;
  padding: 8px 12px 8px 14px;
  text-align: left;
}

.sidebar-module-context-caret-button {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 1;
  width: 14px;
  min-width: 0;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-module-context-caret-button:hover {
  background: transparent;
}

.sidebar-module-context-caret {
  position: absolute;
  left: 0;
  top: 50%;
  display: block;
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 5px solid var(--platform-shell-sidebar-muted);
  transform: translateY(-50%);
}

.sidebar-module-context-caret-button .sidebar-module-context-caret {
  position: static;
  transform: none;
}

.sidebar-module-context-tab-group.is-expanded .sidebar-module-context-caret {
  transform: translateY(-50%) rotate(90deg);
}

.sidebar-module-context-tab-group.is-expanded .sidebar-module-context-caret-button .sidebar-module-context-caret {
  transform: rotate(90deg);
}

.sidebar-module-context-subtabs {
  display: grid;
  gap: 1px;
  padding-left: 14px;
}

.sidebar-module-context-subtab {
  font-size: 13px;
  padding: 5px 10px;
}

.sidebar-module-context-tab:hover {
  background: var(--platform-shell-sidebar-hover-bg);
  color: var(--platform-shell-sidebar-text);
}

.sidebar-module-context-tab.is-active {
  background: var(--platform-shell-sidebar-active-bg);
  color: var(--platform-shell-sidebar-text);
}

.sidebar-module-context-home {
  display: grid;
  gap: 2px;
  line-height: 1.25;
}

.sidebar-module-context-home span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-module-context-home small {
  overflow: hidden;
  color: var(--platform-shell-sidebar-muted);
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.sidebar-module-context-exit {
  position: relative;
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 0;
  border-color: color-mix(in srgb, var(--platform-shell-sidebar-text) 14%, transparent);
  background: color-mix(in srgb, var(--platform-shell-sidebar-text) 8%, transparent);
  color: var(--platform-shell-sidebar-text);
  font-size: 13px;
  text-align: left;
}

.sidebar-module-context-exit-label {
  min-width: 0;
}

.sidebar-module-context-exit-icon {
  width: 19px;
  height: 19px;
  margin-right: -2px;
  object-fit: contain;
  flex: 0 0 auto;
  filter: grayscale(1) saturate(0) brightness(1.85);
  opacity: 0.58;
}

.main {
  grid-area: main;
  position: relative;
  z-index: 1;
  padding: 0;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
  background: var(--platform-shell-main-bg);
}

.page {
  display: block;
  min-height: 100%;
  color: var(--platform-shell-text);
}

.page.page-module {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  min-height: 100%;
}

.shell-header-stage {
  grid-area: header;
  min-width: 0;
  min-height: 0;
  background: var(--platform-shell-header-bg);
  color: var(--platform-shell-header-text);
}

.page-shell-body {
  min-height: 0;
  overflow-y: auto;
  padding: var(--shell-body-pad-top) 20px 20px;
  display: grid;
  align-content: start;
  gap: 14px;
}

.impersonation-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border: 1px solid rgba(21, 38, 61, 0.14);
  border-radius: 14px;
  background: rgba(255, 244, 214, 0.9);
}

.impersonation-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.page-shell-body.page-shell-body-scroll-panels {
  overflow-y: hidden;
  overflow-x: hidden;
  min-height: 0;
  height: 100%;
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
}

.page-shell-body.page-shell-body-workspace-app {
  overflow: hidden;
  padding: var(--shell-body-pad-top) 0 0;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
  box-sizing: border-box;
}

.page-shell-body.page-shell-body-workspace-app > .workspace-app-host {
  min-height: calc(100% + var(--shell-body-pad-top));
  height: calc(100% + var(--shell-body-pad-top));
  margin-top: calc(-1 * var(--shell-body-pad-top));
}

.page-shell-body.page-shell-body-scroll-panels > .tab-workspace,
.page-shell-body.page-shell-body-scroll-panels .tab-workspace-panel-grid,
.page-shell-body.page-shell-body-scroll-panels .tab-workspace-row {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.page-shell-body.page-shell-body-scroll-panels .tab-workspace-row {
  align-items: stretch;
}

.page-shell-body.page-shell-body-workspace-scroll-panels {
  overflow: hidden;
  min-height: 0;
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
}

.page-shell-body.page-shell-body-scroll-panels:has(> .project-lock-notice),
.page-shell-body.page-shell-body-workspace-scroll-panels:has(> .project-lock-notice),
.page-shell-body.page-shell-body-workspace-app:has(> .project-lock-notice) {
  grid-template-rows: auto minmax(0, 1fr);
}

.page-shell-body.page-shell-body-workspace-scroll-panels > .workspace-app-host {
  min-height: 100%;
  height: 100%;
  overflow: hidden;
}

.page-shell-body.page-shell-body-workspace-scroll-panels > .workspace-app-host.is-doc-input-workspace {
  min-height: 100%;
  height: 100%;
}

.admin-overview-page-body {
  --admin-overview-accent: #2459a6;
}

.admin-overview-workspace {
  min-height: 0;
  height: 100%;
}

.admin-overview-workspace > .tab-workspace-row {
  min-height: 0;
  height: 100%;
  align-items: stretch;
}

@media (min-width: 1101px) {
  .admin-overview-workspace > .tab-workspace-row {
    flex-wrap: nowrap;
    overflow: hidden;
  }

  .admin-overview-workspace > .tab-workspace-row > .admin-overview-nav-panel {
    flex: 0 0 calc((100% - (var(--panel-gap) * 2)) / 3);
    min-width: 0;
    max-width: calc((100% - (var(--panel-gap) * 2)) / 3);
  }

  .admin-overview-workspace > .tab-workspace-row > .admin-overview-detail-panel {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}

.admin-overview-nav-panel,
.admin-overview-detail-panel {
  min-height: 0;
  height: 100%;
}

.admin-overview-nav-panel .panel-body,
.admin-overview-nav-panel .panel-scroll-body,
.admin-overview-detail-panel .panel-body,
.admin-overview-detail-panel .panel-scroll-body {
  min-height: 0;
  overflow: auto;
}

.admin-overview-detail-panel .panel-scroll-body {
  display: block;
}

.admin-projects-panel,
.admin-projects-panel .dashboard-project-list,
.admin-projects-panel .dashboard-project-list-item,
.admin-projects-panel .dashboard-project-row {
  width: 100%;
}

.admin-projects-panel .dashboard-project-list-item {
  max-width: 100%;
}

.dashboard-project-list-item.has-admin-meta .dashboard-project-row {
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.dashboard-project-list-item.has-admin-meta .dashboard-project-row-segment-logos {
  border-bottom-left-radius: 0;
}

.admin-overview-topic-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-overview-topic {
  display: grid;
  gap: 4px;
  width: 100%;
  min-height: 74px;
  padding: 12px 14px;
  border: 1px solid rgba(36, 89, 166, 0.18);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-overview-topic:hover,
.admin-overview-topic:focus-visible {
  border-color: rgba(36, 89, 166, 0.42);
  outline: none;
}

.admin-overview-topic.is-active {
  border-color: var(--admin-overview-accent);
  box-shadow: inset 4px 0 0 var(--admin-overview-accent);
}

.admin-overview-topic-label {
  font-weight: 650;
}

.admin-overview-topic-text {
  color: var(--muted);
  line-height: 1.35;
}

.admin-overview-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
  gap: 12px;
}

.admin-overview-metric {
  display: grid;
  gap: 3px;
  min-height: 76px;
  padding: 14px;
  border: 1px solid rgba(18, 31, 56, 0.1);
  border-radius: 8px;
  background: #fff;
}

.admin-overview-metric-value {
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1;
}

.admin-overview-metric-label {
  color: var(--muted);
}

.admin-overview-runtime {
  display: grid;
  gap: 14px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(18, 31, 56, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
}

.admin-overview-runtime-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.admin-overview-runtime-header h4,
.admin-overview-runtime-header p {
  margin: 0;
}

.admin-overview-runtime-header h4 {
  font-size: 1rem;
}

.admin-overview-runtime-header p {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.35;
}

.admin-overview-runtime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: 12px;
}

.admin-overview-runtime-sections {
  display: grid;
  gap: 12px;
}

.admin-overview-runtime-section {
  margin: 0;
}

.admin-overview-runtime-section .panel-section-toggle {
  background: #fff;
}

.admin-overview-runtime-groups {
  display: grid;
  gap: 12px;
}

.admin-overview-runtime-group {
  display: grid;
  gap: 8px;
}

.admin-overview-runtime-group h5 {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
}

.admin-overview-runtime-list {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.admin-overview-runtime-list-row {
  display: grid;
  gap: 2px;
  min-height: 42px;
  padding: 9px 10px;
  border: 1px solid rgba(18, 31, 56, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.74);
}

.admin-overview-runtime-list-main {
  font-weight: 650;
}

.admin-overview-runtime-list-meta,
.admin-overview-runtime-empty {
  color: var(--muted);
  line-height: 1.35;
}

.admin-overview-runtime-empty {
  margin: 0;
}

.admin-overview-runtime-card {
  display: grid;
  gap: 6px;
  min-height: 126px;
  padding: 14px;
  border: 1px solid rgba(36, 89, 166, 0.18);
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.admin-overview-runtime-card:hover,
.admin-overview-runtime-card:focus-visible {
  border-color: rgba(36, 89, 166, 0.46);
  outline: none;
}

.admin-overview-runtime-value {
  font-size: 2rem;
  font-weight: 750;
  line-height: 1;
}

.admin-overview-runtime-label {
  font-weight: 650;
}

.admin-overview-runtime-note {
  color: var(--muted);
  line-height: 1.35;
}

.admin-overview-placeholder {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  padding: 14px;
  border: 1px dashed rgba(18, 31, 56, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.68);
}

.admin-overview-placeholder h4 {
  margin: 0;
  font-size: 1rem;
}

.admin-overview-placeholder p {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.page-shell-body.page-shell-body-workspace-scroll-panels > .workspace-app-host.is-doc-layout-workspace {
  min-height: 100%;
  height: 100%;
}

.page-shell-body.page-shell-body-workspace-scroll-panels .panel-scroll-workspace,
.page-shell-body.page-shell-body-workspace-scroll-panels .tab-workspace-panel-grid,
.page-shell-body.page-shell-body-workspace-scroll-panels .tab-workspace-row {
  min-height: 0;
  height: 100%;
}

.page-shell-body.page-shell-body-workspace-scroll-panels .tab-workspace-row {
  align-items: stretch;
}

@media (min-width: 1101px) and (max-width: 1919.98px) {
  .page-shell-body.page-shell-body-workspace-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="log_online-output-build"]),
  .page-shell-body.page-shell-body-workspace-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="loi_online-output-build"]),
  .page-shell-body.page-shell-body-workspace-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="process_online-output-build"]),
  .page-shell-body.page-shell-body-workspace-scroll-panels .website-tab-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"]),
  .page-shell-body.page-shell-body-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="log_online-output-build"]),
  .page-shell-body.page-shell-body-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="loi_online-output-build"]),
  .page-shell-body.page-shell-body-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="process_online-output-build"]),
  .page-shell-body.page-shell-body-scroll-panels .website-tab-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"]) {
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .page-shell-body.page-shell-body-workspace-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="log_online-output-build"]) > .tab-workspace-row,
  .page-shell-body.page-shell-body-workspace-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="loi_online-output-build"]) > .tab-workspace-row,
  .page-shell-body.page-shell-body-workspace-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="process_online-output-build"]) > .tab-workspace-row,
  .page-shell-body.page-shell-body-workspace-scroll-panels .website-tab-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"]) > .tab-workspace-row,
  .page-shell-body.page-shell-body-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="log_online-output-build"]) > .tab-workspace-row,
  .page-shell-body.page-shell-body-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="loi_online-output-build"]) > .tab-workspace-row,
  .page-shell-body.page-shell-body-scroll-panels .panel-scroll-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"] > .workspace-panel [data-dev-section="process_online-output-build"]) > .tab-workspace-row,
  .page-shell-body.page-shell-body-scroll-panels .website-tab-workspace:has(> .tab-workspace-row[data-panel-row-layout="third-two-third"]) > .tab-workspace-row {
    height: auto;
    align-items: flex-start;
    overflow: visible;
  }
}

.page-shell-body.page-shell-body-scroll-panels > .tab-workspace {
  min-height: 0;
  height: 100%;
}

.page-header-shell {
  position: relative;
  z-index: 40;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background:
    linear-gradient(0deg, rgba(23, 37, 52, 0.4), rgba(23, 37, 52, 0.4)),
    url("/module-icons/banner.jpg") center center / cover no-repeat;
  color: var(--sidebar-text);
  overflow: visible;
}

.page-header-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(9, 15, 22, 0.18) 0%, rgba(9, 15, 22, 0.08) 38%, rgba(9, 15, 22, 0.12) 100%);
  pointer-events: none;
}

.page-header-shell > * {
  position: relative;
  z-index: 1;
}

.shell-progress {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  height: 3px;
  overflow: hidden;
  pointer-events: none;
}

.shell-progress[hidden] {
  display: none;
}

.shell-progress-fill {
  width: 0%;
  height: 100%;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.34);
  transition: width 180ms ease, opacity 180ms ease;
}

.page-header-main {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: var(--sidebar-width) minmax(0, 1fr) minmax(180px, 240px);
  grid-template-rows: var(--shell-header-title-height) var(--shell-header-nav-height);
  column-gap: 0;
  row-gap: 0;
  min-height: var(--shell-header-height);
  height: var(--shell-header-height);
  box-sizing: border-box;
}

.page-header.is-nav-hidden .page-header-main {
  grid-template-rows: var(--shell-header-title-height) 0;
  min-height: var(--shell-header-title-height);
  height: var(--shell-header-title-height);
}

.page-header-copy {
  grid-column: 2;
  grid-row: 1;
  height: var(--shell-header-title-height);
  min-width: 0;
  display: grid;
  align-content: center;
  gap: 0;
  padding: 0 0 0 8px;
  box-sizing: border-box;
}

.page-header.is-nav-hidden .page-header-nav {
  display: none;
}

.page-header-sidebrand {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 12px 0 18px;
  height: var(--shell-header-title-height);
  box-sizing: border-box;
  min-width: 0;
}

.page-header-sidebrand.is-edge-brand {
  justify-content: flex-end;
  padding: 0 18px 0 12px;
}

.page-header-sidebrand-button {
  width: 100%;
  height: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  cursor: pointer;
  min-width: 0;
  color: var(--platform-shell-header-text);
}

.page-header-sidebrand.is-edge-brand .page-header-sidebrand-button {
  width: auto;
  justify-content: flex-end;
}

.page-header-sidebrand-button:hover {
  filter: brightness(1.08);
}

.page-header-sidebrand-button.is-static {
  cursor: default;
}

.page-header-sidebrand-button.is-static:hover {
  filter: none;
}

.page-header-sidebrand .module-icon.is-header-brand {
  width: 60px;
  height: 60px;
}

.page-header-sidebrand .module-icon.is-header-brand img,
.page-header-sidebrand .module-icon.is-header-brand svg {
  max-width: 60px;
  max-height: 60px;
}

.page-header-sidebrand-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.1;
  text-align: left;
}

.page-header-eyebrow {
  margin: 0 0 3px;
  color: var(--sidebar-text);
  opacity: 0.78;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
}

.page-header-user-actions {
  grid-column: 3;
  grid-row: 1;
  height: var(--shell-header-title-height);
  min-width: 0;
  position: relative;
  z-index: 120;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  padding: 0 18px 0 12px;
  box-sizing: border-box;
}

.page-header-user-profile-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
  max-width: 190px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #ffffff;
  cursor: pointer;
}

.page-header-user-profile-link:hover,
.page-header-user-profile-link:focus-visible {
  opacity: 0.84;
}

.page-header-user-name {
  min-width: 0;
  max-width: 180px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #ffffff;
  font-size: 12px;
  line-height: 1.2;
}

.page-header-user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex: 0 0 auto;
  border: 1px solid color-mix(in srgb, var(--platform-shell-sidebar-text) 18%, transparent);
}

.page-header-logout-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  border-radius: var(--radius-xs);
  background: transparent;
  color: #ffffff;
  font-size: 17px;
  line-height: 1;
  cursor: pointer;
}

.page-header-logout-button img {
  display: block;
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.page-header-logout-button:hover,
.page-header-logout-button:focus-visible {
  background: transparent;
  color: #ffffff;
  opacity: 0.82;
}

.page-header-logout-flyout {
  position: absolute;
  top: calc(100% + 8px);
  right: 18px;
  z-index: 1000;
  display: grid;
  gap: 10px;
  min-width: 188px;
  padding: 12px;
  border: 1px solid color-mix(in srgb, var(--platform-shell-sidebar-text) 18%, transparent);
  border-radius: var(--radius-sm);
  background: var(--platform-shell-sidebar-bg, var(--platform-shell-bg));
  box-shadow: var(--shadow-popover, 0 12px 28px rgba(15, 23, 42, 0.18));
}

.page-header-logout-flyout[hidden] {
  display: none;
}

.page-header-logout-flyout-text {
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  white-space: nowrap;
}

.page-header-logout-flyout-actions {
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.page-header-logout-flyout-actions .ui-button {
  flex: 0 0 auto;
  min-height: 28px;
  padding: 4px 10px;
  white-space: nowrap;
}

.page-header-shell h1 {
  margin: 0;
  color: var(--sidebar-text);
  font-size: 28px;
  line-height: 1.1;
}

.page-header-subtitle {
  margin: 0;
  color: var(--sidebar-text);
  opacity: 0.82;
  font-size: 14px;
  line-height: 1.35;
}

.page-header-nav {
  grid-column: 2;
  grid-row: 2;
  min-height: var(--shell-header-nav-height);
  height: var(--shell-header-nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 24px;
  box-sizing: border-box;
}

.page-header-nav > * {
  min-width: 0;
}

.page-header-nav .header-actions,
.page-header-nav .module-nav-inline,
.page-header-nav .workspace-toolbar.module-nav-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-header-nav .workspace-toolbar.module-nav-inline {
  width: 100%;
}

.page-header-nav .module-nav,
.page-header-nav .workspace-toolbar,
.page-header-nav .module-nav-inline,
.page-header-nav .workspace-toolbar.module-nav-inline {
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.page-header-nav .workspace-tabbar,
.page-header-nav .header-actions,
.page-header-nav .inline-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: var(--shell-header-nav-height);
}

.page-header-nav .workspace-tabbar {
  flex: 0 1 auto;
}

.page-header-nav .header-actions-project {
  margin-left: auto;
  justify-content: flex-end;
}

.page-header-nav .header-actions button,
.page-header-nav .inline-actions button,
.page-header-nav .meta-pill {
  min-height: 28px;
  padding: 4px 12px;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.page-header-nav .meta-pill {
  border-radius: 999px;
}

.page-header-nav .toggle-switch-label {
  color: var(--sidebar-text);
}

.app-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
  background: color-mix(in srgb, var(--sidebar-bg) 58%, transparent);
  backdrop-filter: blur(2px);
}

.app-modal-card {
  width: min(520px, calc(100vw - 32px));
  display: grid;
  gap: 18px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--elevation-3);
}

.module-feedback-overlay {
  --module-feedback-overlay-pad: clamp(8px, 1.2vw, 18px);
  --module-feedback-workspace-top: var(--shell-header-title-height, 80px);
  align-items: start;
  box-sizing: border-box;
  display: grid;
  inset: var(--module-feedback-workspace-top) 0 0;
  justify-items: center;
  padding: var(--module-feedback-overlay-pad);
  pointer-events: auto;
  position: fixed;
  z-index: 90;
}

.module-feedback-backdrop {
  background: color-mix(in srgb, var(--workspace-bg, #f3f5f8) 72%, transparent);
  inset: 0;
  position: absolute;
}

.module-feedback-flyout {
  align-items: stretch;
  background: var(--surface, #ffffff);
  border-radius: 6px;
  box-shadow: 0 22px 58px rgba(15, 23, 42, 0.24);
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  max-height: calc(100dvh - var(--module-feedback-workspace-top) - (var(--module-feedback-overlay-pad) * 2));
  max-width: calc(100vw - 72px);
  min-height: 0;
  min-width: min(600px, calc(100vw - 72px));
  overflow: hidden;
  position: relative;
  width: min(690px, calc(100vw - 72px));
  z-index: 1;
}

.module-feedback-panel,
.module-feedback-form {
  display: contents;
}

.module-feedback-header {
  background: var(--platform-shell-sidebar-bg, #172534);
  border-bottom: 1px solid color-mix(in srgb, var(--platform-shell-sidebar-text, #f5f7fa) 16%, transparent);
  border-radius: 6px 6px 0 0;
  color: var(--platform-shell-sidebar-text, #f5f7fa);
  display: grid;
  min-height: 0;
  padding: 0;
  padding-bottom: 0;
}

.module-feedback-title-row {
  box-sizing: border-box;
  min-width: 0;
  padding: 7px var(--panel-padding-x);
}

.module-feedback-title-row .panel-title {
  color: inherit;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}

.module-feedback-form-main {
  background: var(--surface, #ffffff);
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  max-height: calc(100dvh - var(--module-feedback-workspace-top) - (var(--module-feedback-overlay-pad) * 2) - 114px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 14px var(--panel-padding-x) 18px;
}

.module-feedback-subtitle,
.module-feedback-error {
  font-size: 13px;
  line-height: 1.35;
  margin: 0;
}

.module-feedback-subtitle {
  color: var(--text-meta, #64748b);
}

.module-feedback-error {
  color: var(--danger, #b91c1c);
  font-weight: 700;
}

.module-feedback-form .field {
  color: var(--text-primary, #0f172a);
  display: flex;
  flex-direction: column;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  gap: 2px;
  line-height: 1.2;
  margin: 0;
}

.module-feedback-form .field > span {
  display: block;
  font-family: inherit;
  font-weight: 400;
  line-height: 1.2;
  margin: 0;
}

.module-feedback-form .field + .field,
.module-feedback-form .field + .module-feedback-form-grid,
.module-feedback-form-grid + .module-feedback-attachments {
  margin-top: 12px;
}

.module-feedback-form input,
.module-feedback-form select,
.module-feedback-form textarea {
  box-sizing: border-box;
  margin: 0;
  width: 100%;
}

.module-feedback-title-field input {
  height: 38px;
  font-weight: 700;
  min-height: 38px;
  padding: 7px 11px;
}

.module-feedback-description-field textarea {
  max-height: clamp(140px, calc(100dvh - var(--module-feedback-workspace-top) - (var(--module-feedback-overlay-pad) * 2) - 420px), 240px);
  min-height: 140px;
  overflow-y: auto;
  padding: 9px 11px;
  resize: vertical;
}

.module-feedback-form-grid {
  display: grid;
  gap: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.module-feedback-form-grid select {
  font-size: 13px;
  height: 34px;
  min-height: 34px;
  padding: 5px 10px;
}

.module-feedback-form input:focus,
.module-feedback-form textarea:focus,
.module-feedback-form select:focus,
.module-feedback-form input:focus-visible,
.module-feedback-form textarea:focus-visible,
.module-feedback-form select:focus-visible {
  border-color: var(--signal-green, #b7d235);
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--signal-green, #b7d235) 42%, transparent);
  outline: none;
}

.module-feedback-form-meta {
  background: var(--platform-shell-sidebar-bg, #172534);
  border-radius: 0 0 6px 6px;
  color: var(--platform-shell-sidebar-text, #f5f7fa);
  display: grid;
  gap: 12px;
  padding: 16px var(--panel-padding-x) var(--panel-padding-y);
  position: relative;
  z-index: 2;
}

.module-feedback-form-meta .button-secondary,
.module-feedback-form-meta .button-primary {
  background: color-mix(in srgb, var(--platform-shell-sidebar-text, #f5f7fa) 8%, transparent);
  border-color: color-mix(in srgb, var(--platform-shell-sidebar-text, #f5f7fa) 22%, transparent);
  color: var(--platform-shell-sidebar-text, #f5f7fa);
}

.module-feedback-form-meta .button-primary {
  background: color-mix(in srgb, var(--accent, #6ca6d9) 72%, var(--platform-shell-sidebar-bg, #172534));
  border-color: color-mix(in srgb, var(--accent, #6ca6d9) 86%, transparent);
}

.module-feedback-form-actions {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: auto auto minmax(0, 1fr);
}

.module-feedback-thanks-flyout {
  width: min(420px, calc(100vw - 72px));
  min-width: min(360px, calc(100vw - 72px));
}

.module-feedback-thanks-body {
  background: var(--surface, #ffffff);
  display: grid;
  gap: 6px;
  padding: 22px var(--panel-padding-x) 24px;
}

.module-feedback-thanks-body p {
  color: var(--text, #172534);
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.module-feedback-thanks-body p:first-child {
  font-weight: 600;
}

.module-feedback-thanks-meta {
  padding: 12px var(--panel-padding-x);
}

.module-feedback-thanks-actions {
  display: flex;
  justify-content: flex-end;
}

.module-feedback-attachments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 12px;
  overflow: visible;
}

.module-feedback-attachments-head {
  color: var(--text, #172534);
  display: block;
  flex: 0 0 100%;
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 2px;
}

.module-feedback-attachments-strip {
  display: contents;
}

.module-feedback-attachment-thumb {
  display: grid;
  flex: 0 0 124px;
  gap: 6px;
  margin: 0;
  min-width: 0;
  position: relative;
  width: 124px;
}

.module-feedback-attachment-open {
  aspect-ratio: 4 / 3;
  background: var(--surface-soft, #f3f6f9);
  border: 1px solid var(--control-border, #d7dee8);
  border-radius: var(--radius-surface, 8px);
  cursor: pointer;
  display: block;
  overflow: hidden;
  padding: 0;
  width: 100%;
}

.module-feedback-attachment-open img {
  display: block;
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.module-feedback-attachment-thumb figcaption {
  color: var(--muted, #64748b);
  display: grid;
  font-size: 12px;
  gap: 5px;
  min-width: 0;
}

.module-feedback-attachment-thumb figcaption span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.module-feedback-attachment-remove {
  align-items: center;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  cursor: pointer;
  display: inline-flex;
  height: 22px;
  justify-content: center;
  padding: 0;
  position: absolute;
  right: -6px;
  top: -6px;
  width: 22px;
}

.module-feedback-attachment-remove img {
  display: block;
  height: 22px;
  width: 22px;
}

.module-feedback-attachment-upload {
  align-self: flex-start;
  flex: 0 1 270px;
  min-width: 230px;
}

.module-feedback-attachment-upload .file-asset-layout {
  grid-template-columns: 96px minmax(0, 1fr);
}

.module-feedback-attachment-upload .file-asset-tile {
  max-width: 96px;
}

.module-feedback-paste-feedback {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.34);
  border-radius: var(--radius-surface, 8px);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.16);
  color: var(--text, #172534);
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  opacity: 1;
  padding: 8px 11px;
  pointer-events: none;
  position: absolute;
  right: 10px;
  top: 10px;
  transform: translateY(0);
  transition: opacity 180ms ease, transform 180ms ease;
  white-space: nowrap;
  z-index: 30;
}

.module-feedback-paste-feedback.is-leaving {
  opacity: 0;
  transform: translateY(-4px);
}

@media (max-width: 760px) {
  .module-feedback-flyout {
    max-width: calc(100vw - 24px);
    min-width: min(360px, calc(100vw - 24px));
    width: calc(100vw - 24px);
  }

  .module-feedback-form-grid {
    grid-template-columns: 1fr;
  }
}

.settings-modal-backdrop {
  align-items: start;
  padding: clamp(18px, 4vh, 42px) 24px;
}

.settings-modal-card {
  width: min(720px, calc(100vw - 40px));
  max-height: calc(100dvh - 48px);
  min-height: 0;
  display: grid;
  overflow: hidden;
}

.settings-modal-panel {
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
}

.app-modal-copy {
  display: grid;
  gap: 10px;
}

.app-modal-copy h3 {
  margin: 0;
  font-size: 22px;
}

.app-modal-copy p {
  margin: 0;
}

.app-modal-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.panel-surface,
.page-header,
.module-header,
.panel,
.status-bar,
.module-nav,
.module-list-card {
  background: var(--panel-bg);
  border: 1px solid var(--panel-border);
  border-radius: var(--panel-radius);
  box-shadow: var(--panel-shadow);
}

.panel-frame,
.page-header,
.module-header,
.panel,
.status-bar,
.module-nav,
.module-list-card {
  padding: var(--panel-padding-y) var(--panel-padding-x);
}

.page-header.page-header-shell {
  --shell-header-overlay-opacity: 40%;
  background:
    linear-gradient(
      0deg,
      color-mix(in srgb, var(--sidebar-bg) var(--shell-header-overlay-opacity, 40%), transparent),
      color-mix(in srgb, var(--sidebar-bg) var(--shell-header-overlay-opacity, 40%), transparent)
    ),
    var(--shell-header-image, url("/module-icons/banner.jpg")) center center / cover no-repeat;
  color: var(--sidebar-text);
  border-color: color-mix(in srgb, var(--sidebar-text) 14%, transparent);
  border-top: 0;
  border-left: 0;
  border-right: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
  width: 100%;
  margin-left: 0;
}

.page-header.page-header-shell.is-public-home-shell {
  --shell-header-overlay-opacity: 100%;
}

.page-header.page-header-shell.is-module-landing-shell {
  --shell-header-overlay-opacity: 100%;
}

.page-header.page-header-shell.is-dashboard-landing-shell {
  --shell-header-overlay-opacity: 100%;
}


.module-top-stack {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 0;
}

.module-top-stack,
.module-top-icon-rail,
.module-top-content {
  display: contents;
}

.module-top-icon-rail {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-right: none;
  border-top-left-radius: var(--radius);
  border-bottom-left-radius: var(--radius);
  box-shadow: var(--shadow);
}

.module-top-content {
  display: grid;
  min-width: 0;
  gap: 0;
}

.module-header.is-compact {
  padding-top: 14px;
  padding-bottom: 14px;
}

.module-top-stack .module-header {
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
  border-bottom: none;
  box-shadow: none;
}

.module-top-stack .module-nav {
  border-top-left-radius: 0;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 0;
  margin-top: 0;
}

.header-row,
.context-row,
.context-grid,
.module-grid,
.project-row,
.status-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.header-row {
  justify-content: space-between;
}

.module-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.module-title-copy {
  min-width: 0;
}

.module-header-subtitle {
  margin: 6px 0 0;
  font-size: 16px;
  line-height: 1.35;
  color: var(--muted);
}

.page-header-hero {
  padding: 0;
}

.module-header.is-start-context .header-row {
  align-items: stretch;
}

.module-header.is-start-context .module-title-row {
  align-items: stretch;
  min-height: 128px;
}

.module-header.is-start-context .module-title-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.module-header.is-start-context .header-actions {
  align-self: center;
}

.context-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.context-box {
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.context-box strong,
.kpi-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.context-box span,
.kpi-card span {
  font-size: 16px;
}

.panel-grid {
  display: grid;
  gap: 18px;
}

.panel-grid-2 {
  grid-template-columns: minmax(280px, 360px) minmax(0, 1fr);
}

.users-admin-layout,
.customers-admin-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 620px), 720px));
  gap: var(--panel-gap);
  align-items: start;
  justify-content: start;
  min-height: 0;
}

.users-admin-layout,
.customers-admin-layout,
.tab-workspace-panel-grid,
.dashboard-projects-panel {
  -webkit-user-select: none;
  user-select: none;
}

.users-admin-layout :is(input, textarea, select, option, [contenteditable="true"]),
.customers-admin-layout :is(input, textarea, select, option, [contenteditable="true"]),
.tab-workspace-panel-grid :is(input, textarea, select, option, [contenteditable="true"]),
.dashboard-projects-panel :is(input, textarea, select, option, [contenteditable="true"]) {
  -webkit-user-select: text;
  user-select: text;
}

.customers-admin-layout.is-editor-closed {
  grid-template-columns: minmax(320px, 520px);
}

.customers-admin-layout.is-editor-open {
  grid-template-columns: minmax(320px, 520px) minmax(520px, 760px);
}

.users-admin-detail-panel,
.customers-admin-detail-panel {
  min-width: 0;
}

.users-admin-layout .user-bulk-detail-panel {
  align-self: start;
  height: auto;
  max-height: min(720px, calc(100vh - 150px));
}

.users-admin-layout .user-bulk-detail-panel .panel-scroll-body {
  max-height: calc(min(720px, calc(100vh - 150px)) - 58px);
}

.sr-only {
  border: 0;
  clip: rect(0 0 0 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.users-admin-list-panel .panel-section,
.customers-admin-list-panel .panel-section {
  margin-right: 20px;
}

.users-admin-list-panel .admin-list-toolbar,
.customers-admin-list-panel .admin-list-toolbar {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  margin: calc(var(--panel-padding-y) * -1) calc((var(--panel-padding-x) + 10px) * -1) 12px calc(var(--panel-padding-x) * -1);
  padding: var(--panel-padding-y) calc(var(--panel-padding-x) + 10px) 12px var(--panel-padding-x);
  position: sticky;
  top: calc(var(--panel-padding-y) * -1);
  z-index: 5;
}

.users-admin-list-panel .admin-list-scroll-content,
.customers-admin-list-panel .admin-list-scroll-content {
  display: grid;
  gap: 8px;
}

.users-admin-list-panel .user-customer-group {
  display: grid;
  gap: 8px;
  margin-left: calc(var(--user-customer-depth, 0) * 24px);
  margin-right: calc(20px + (var(--user-customer-depth, 0) * 24px));
  min-width: 0;
}

.users-admin-list-panel .user-customer-toggle {
  background: var(--surface);
  border-color: var(--line);
  color: var(--text);
  min-height: 48px;
  padding: 5px 7px;
}

.users-admin-list-panel .user-customer-toggle:hover {
  background: var(--surface-soft);
}

.users-admin-list-panel .user-customer-toggle.is-open {
  border-color: var(--line-strong);
  background: var(--surface);
}

.users-admin-list-panel .user-customer-caret {
  align-items: center;
  color: var(--muted);
  display: inline-flex;
  flex: 0 0 auto;
  font-size: 12px;
  justify-content: center;
  width: 28px;
}

.users-admin-list-panel .user-customer-users {
  display: grid;
  gap: 8px;
  margin-left: 24px;
}

.users-admin-list-panel .user-customer-children {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.users-admin-list-panel .user-customer-users > .user-customer-children > .user-customer-group {
  margin-left: 0;
  margin-right: 20px;
}

.users-admin-list-panel .user-customer-users[hidden] {
  display: none;
}

.users-admin-list-panel .user-own-group {
  display: grid;
  gap: 8px;
  margin-right: 20px;
  min-width: 0;
}

.users-admin-list-panel .user-own-toggle {
  min-height: 48px;
}

.users-admin-list-panel .user-own-toggle:focus,
.users-admin-list-panel .user-own-toggle:focus-visible,
.users-admin-list-panel .user-customer-toggle:focus,
.users-admin-list-panel .user-customer-toggle:focus-visible {
  border-color: var(--accent);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
  outline: none;
}

.users-admin-list-panel .user-own-title {
  font-weight: 700;
}

.users-admin-list-panel .user-own-users {
  display: grid;
  gap: 8px;
  margin-left: 24px;
}

.users-admin-list-panel .user-own-users[hidden] {
  display: none;
}

.customers-admin-detail-panel .panel-section {
  margin-right: 20px;
}

.customers-admin-list-panel .panel-scroll-body,
.customers-admin-detail-panel .panel-scroll-body {
  scrollbar-gutter: stable;
  padding-right: calc(var(--panel-padding-x) + 10px);
}

.customers-admin-detail-panel.is-saving {
  cursor: progress;
}

.customers-admin-detail-panel.is-saving .panel-scroll-body,
.user-bulk-detail-panel.is-saving .panel-scroll-body {
  opacity: 0.72;
  pointer-events: none;
}

.user-bulk-detail-panel.is-saving {
  cursor: progress;
}

.customer-tmg-settings {
  display: grid;
  gap: 14px;
}

.customer-tmg-settings[hidden] {
  display: none;
}

.customer-config-subheading {
  margin: 6px 20px 0 0;
}

.user-admin-row,
.customer-admin-row {
  cursor: pointer;
  gap: 8px;
  min-height: 0;
  padding: 5px 7px;
}

.customer-admin-row.is-child {
  margin-left: calc(var(--customer-depth, 0) * 24px);
  width: calc(100% - (var(--customer-depth, 0) * 24px));
}

.user-admin-row:focus,
.user-admin-row:focus-visible,
.customer-admin-row:focus,
.customer-admin-row:focus-visible {
  outline: none;
}

.user-admin-row.is-active:focus,
.user-admin-row.is-active:focus-visible,
.customer-admin-row.is-active:focus,
.customer-admin-row.is-active:focus-visible {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 28%, transparent);
}

.user-admin-row.is-selected {
  border-color: var(--accent);
  background: var(--accent-soft);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--accent) 24%, transparent);
}

.user-admin-row.is-selected .user-admin-last-name {
  color: var(--text);
}

.user-admin-edit-button,
.customer-admin-edit-button {
  flex: 0 0 auto;
  line-height: 1.1;
  min-height: 0;
  padding: 4px 8px;
}

.users-admin-detail-panel .field,
.customers-admin-detail-panel .field {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: 132px minmax(0, 1fr);
}

.users-admin-detail-panel .field label,
.customers-admin-detail-panel .field label {
  margin: 0;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.users-admin-detail-panel .field input,
.users-admin-detail-panel .field select,
.customers-admin-detail-panel .field input,
.customers-admin-detail-panel .field select {
  min-width: 0;
  width: 100%;
}

.users-admin-detail-panel .field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='8' height='5' viewBox='0 0 8 5' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h8L4 5z' fill='%2366717d'/%3E%3C/svg%3E");
  background-position: calc(100% - 14px) 50%;
  background-repeat: no-repeat;
  background-size: 8px 5px;
  padding-right: 34px;
}

.user-import-panel {
  display: grid;
  gap: 16px;
}

.user-import-file-field {
  display: grid;
  gap: 8px;
}

.user-import-file-field .file-asset-layout {
  grid-template-columns: 168px minmax(0, 1fr);
}

.user-import-customer-field {
  display: grid;
  gap: 6px;
}

.user-import-customer-field .ui-field {
  display: grid;
  gap: 6px;
}

.user-import-customer-field .ui-select {
  min-height: 36px;
  width: 100%;
}

.user-import-template-link {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  min-height: 34px;
  text-decoration: none;
}

.user-import-template-link img {
  display: block;
  height: 20px;
  object-fit: contain;
  width: 20px;
}

.user-import-preview-table {
  border: 1px solid var(--line, #d3dae4);
  border-radius: var(--radius-surface, 8px);
  display: grid;
  overflow: hidden;
}

.user-import-preview-header,
.user-import-preview-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(120px, 1fr) minmax(150px, 1fr) minmax(120px, 1.2fr);
  min-width: 0;
  padding: 8px 10px;
}

.user-import-preview-header {
  background: var(--surface-soft, #f6f8fb);
  color: var(--muted, #5f6b7a);
  font-size: 12px;
  font-weight: 700;
}

.user-import-preview-row {
  border-top: 1px solid var(--line, #d3dae4);
  font-size: 13px;
}

.user-import-preview-row span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.user-import-preview-row.is-invalid {
  color: #a33a2b;
}

.user-bulk-panel {
  min-width: 0;
}

.user-bulk-panel > .subtle {
  margin: 0;
}

.users-admin-detail-panel .user-bulk-field {
  align-items: start;
}

.users-admin-detail-panel .user-bulk-field-control {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.users-admin-detail-panel .user-bulk-field-control .subtle {
  margin: 0;
}

.user-bulk-actions {
  justify-content: center;
  margin-top: 6px;
}

.form-error {
  color: #a33a2b;
  font-weight: 700;
  margin: 0;
}

.form-success {
  color: #1f7a3f;
  font-weight: 700;
  margin: 0;
}

.users-admin-detail-panel .user-title-short-code-row {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) minmax(150px, 190px);
  min-width: 0;
}

.users-admin-detail-panel .user-title-short-code-row .field {
  min-width: 0;
}

.users-admin-detail-panel .user-short-code-field {
  grid-template-columns: auto 72px;
}

.users-admin-detail-panel .user-short-code-field label {
  text-align: right;
}

.users-admin-detail-panel .user-login-control {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) auto;
  min-width: 0;
}

.users-admin-detail-panel .user-login-control input {
  max-width: 260px;
}

.users-admin-detail-panel .user-login-email-toggle {
  gap: 8px;
  justify-content: end;
  margin: 0;
  white-space: nowrap;
}

.users-admin-detail-panel .company-role-multiselect {
  min-width: 0;
  position: relative;
}

.users-admin-detail-panel .company-role-multiselect-toggle {
  align-items: center;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  justify-content: flex-start;
  max-width: 100%;
  min-height: 34px;
  overflow: hidden;
  padding-right: 10px;
  text-align: left;
  text-overflow: ellipsis;
  width: 100%;
}

.users-admin-detail-panel .company-role-multiselect-toggle::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  content: "";
  display: block;
  opacity: 0.7;
}

.users-admin-detail-panel .company-role-multiselect-toggle span {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.users-admin-detail-panel .company-role-multiselect-menu {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.45));
  border-radius: var(--radius-sm, 4px);
  box-shadow: var(--shadow-popover, 0 12px 28px rgba(15, 23, 42, 0.18));
  display: none;
  gap: 1px;
  left: 0;
  max-height: 340px;
  min-width: 100%;
  overflow: auto;
  padding: 4px;
  position: absolute;
  top: calc(100% + 4px);
  z-index: 30;
}

.users-admin-detail-panel .company-role-multiselect.is-open .company-role-multiselect-menu {
  display: grid;
}

.users-admin-detail-panel .company-role-option {
  align-items: center;
  border-radius: var(--radius-sm, 4px);
  cursor: pointer;
  display: grid;
  gap: 7px;
  grid-template-columns: auto minmax(0, 1fr);
  min-height: 28px;
  padding: 3px 7px;
}

.users-admin-detail-panel .company-role-option:hover {
  background: var(--surface-soft, #f6f8fb);
}

.users-admin-detail-panel .company-role-option input {
  margin: 0;
  width: auto;
}

.users-admin-detail-panel .company-role-option span {
  min-width: 0;
}

.users-admin-detail-panel .user-profile-image-field {
  align-items: start;
}

.users-admin-detail-panel .user-profile-image-field .file-asset-layout {
  grid-template-columns: 92px minmax(0, 1fr);
}

.users-admin-detail-panel .file-asset-tile-user-profile {
  max-width: 92px;
  padding: 6px;
}

.users-admin-detail-panel .file-asset-tile-user-profile.is-filled {
  background: transparent;
  border-color: transparent;
  box-shadow: none;
  padding: 0;
}

.users-admin-detail-panel .file-asset-tile-user-profile .file-asset-image-preview {
  border-radius: var(--radius-surface);
  height: 100%;
  max-height: 80px;
  max-width: 80px;
  object-fit: cover;
  width: 100%;
}

.users-admin-detail-panel .file-asset-tile-user-profile.is-filled .file-asset-image-preview {
  max-height: none;
  max-width: none;
}

.users-admin-detail-panel .file-asset-tile-user-profile .file-asset-image-preview.is-placeholder {
  object-fit: contain;
}

.page-shell-body.page-shell-body-scroll-panels > .users-admin-layout,
.page-shell-body.page-shell-body-scroll-panels > .customers-admin-layout {
  min-height: 0;
  height: 100%;
  overflow: hidden;
  align-items: stretch;
}

@media (max-width: 1180px) {
  .customers-admin-layout.is-editor-open {
    grid-template-columns: minmax(0, 1fr);
  }
}

.list-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.list-row:hover {
  background: var(--surface-soft);
}

.list-row.is-active {
  border-color: var(--accent);
  background: var(--accent-soft);
}

.list-row span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.user-admin-row .user-admin-copy,
.customer-admin-row .customer-admin-copy {
  align-items: baseline;
  display: inline-flex;
  flex-direction: row;
  gap: 5px;
  min-width: 0;
}

.customer-admin-row .customer-admin-title {
  flex: 0 0 auto;
  white-space: nowrap;
}

.customer-admin-row .customer-admin-subtitle {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.customers-admin-list-panel [data-action="delete-customer"] {
  display: none;
}

.user-admin-row .user-admin-copy span,
.customer-admin-row .customer-admin-copy span {
  display: inline;
}

.user-admin-row .user-admin-main,
.customer-admin-row .customer-admin-main {
  align-items: center;
  display: inline-flex;
  flex-direction: row;
  gap: 7px;
  min-width: 0;
}

.theme-admin-row {
  align-items: center;
  container-type: inline-size;
}

.theme-admin-row .theme-admin-main,
.theme-admin-row .theme-admin-copy {
  min-width: 0;
}

.theme-admin-row .theme-admin-title {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.list-row .theme-admin-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-direction: row;
  gap: 6px;
  flex: 0 0 auto;
  flex-wrap: nowrap;
}

.theme-admin-action {
  flex: 0 0 auto;
}

@container (max-width: 520px) {
  .theme-admin-action {
    width: 30px;
    min-width: 30px;
    min-height: 30px;
    padding-inline: 0;
    gap: 0;
  }

  .theme-admin-action .ui-button-label {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
  }
}

.theme-admin-list-item {
  display: grid;
  gap: 8px;
}

.theme-admin-inline {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 14px 12px;
}

.theme-admin-inline-input {
  min-width: min(280px, 100%);
}

.theme-admin-inline-field {
  min-width: min(280px, 100%);
}

.ui-inline-confirm {
  align-items: center;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ui-inline-confirm[hidden] {
  display: none;
}

.ui-inline-confirm-message {
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.theme-admin-inline-message {
  color: var(--danger);
  font-size: 13px;
  font-weight: 700;
}

.user-admin-avatar {
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  display: block;
  flex: 0 0 34px;
  height: 34px;
  object-fit: cover;
  width: 34px;
}

.user-admin-avatar.is-placeholder {
  filter: grayscale(1) saturate(0.2);
  object-fit: contain;
  opacity: 0.58;
}

.user-admin-first-name {
  font-weight: 400;
}

.user-admin-last-name {
  font-weight: 700;
}

.customer-admin-title {
  font-weight: 700;
}

.customer-admin-subtitle {
  font-size: 12px;
  font-weight: 400;
}

.customer-module-row {
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
}

.customer-module-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 28px;
  width: 28px;
  min-height: 100%;
}

.customer-module-toggle input {
  margin: 0;
}

.customer-module-copy {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.customer-role-editor {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.customer-role-editor .tmg-schema-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.customer-role-editor .tmg-schema-row {
  align-items: center;
  background: var(--surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.45));
  border-radius: var(--radius-md, 6px);
  display: grid;
  gap: 10px;
  grid-template-columns: auto minmax(180px, 1fr) auto;
  min-height: 48px;
  padding: 8px 10px;
}

.customer-metadata-editor .tmg-schema-row {
  grid-template-columns: auto minmax(0, 1fr) auto;
}

.customer-metadata-editor .tmg-schema-row.is-fixed {
  background: transparent;
  border: 0;
  border-radius: 0;
  grid-template-columns: minmax(0, 1fr) auto;
  min-height: 34px;
  padding: 0;
}

.customer-role-editor .tmg-schema-row.is-dragging {
  opacity: 0.55;
}

.customer-role-editor .tmg-schema-row.is-drop-before,
.customer-role-editor .tmg-schema-row.is-drop-after {
  position: relative;
}

.customer-role-editor .tmg-schema-row.is-drop-before::before,
.customer-role-editor .tmg-schema-row.is-drop-after::after {
  background: var(--signal-green, #b7d235);
  border-radius: 999px;
  content: "";
  height: 3px;
  left: 8px;
  position: absolute;
  right: 8px;
  z-index: 1;
}

.customer-role-editor .tmg-schema-row.is-drop-before::before {
  top: -6px;
}

.customer-role-editor .tmg-schema-row.is-drop-after::after {
  bottom: -6px;
}

.customer-role-editor .tmg-schema-row-tools,
.customer-role-editor .tmg-schema-row-actions {
  align-items: center;
  display: inline-flex;
  gap: 4px;
}

.customer-role-editor .tmg-schema-row-actions {
  justify-content: flex-end;
}

.ui-drag-handle {
  align-items: center;
  background: transparent;
  border: 0;
  cursor: grab;
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  height: 30px;
  justify-content: center;
  width: 30px;
}

.ui-drag-handle:active {
  cursor: grabbing;
}

.ui-drag-handle > span {
  background: var(--muted, #64748b);
  border-radius: 999px;
  display: block;
  height: 2px;
  width: 16px;
}

.customer-schema-add-action {
  align-items: center;
  background: transparent;
  border: 0;
  color: var(--text-primary, #0f172a);
  cursor: pointer;
  display: inline-flex;
  font: inherit;
  gap: 8px;
  min-height: 32px;
  margin-left: 10px;
  padding: 2px 0;
}

.customer-schema-add-action:hover {
  color: var(--platform-blue, #08192e);
}

.customer-schema-add-action img {
  display: block;
  height: 26px;
  width: 26px;
}

.customer-schema-add-action span {
  font-weight: 500;
}

.customer-role-editor .tmg-schema-row-main {
  align-items: center;
  display: grid;
  gap: 10px;
  min-width: 0;
}

.customer-metadata-editor[data-customer-metadata-color="true"] .tmg-schema-row-main {
  grid-template-columns: minmax(126px, 150px) minmax(180px, 1fr);
}

.customer-metadata-editor[data-customer-metadata-color="false"] .tmg-schema-row-main,
.customer-role-row .tmg-schema-row-main {
  grid-template-columns: minmax(180px, 1fr);
}

.customer-role-editor .tmg-schema-label-input {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.45));
  border-radius: var(--radius-sm, 4px);
  color: var(--text-primary, #0f172a);
  font: inherit;
  height: 30px;
  min-width: 0;
  padding: 4px 8px;
  width: 100%;
}

.customer-metadata-color-asset {
  display: grid;
  min-width: 0;
}

.customer-metadata-color-asset .theme-editor-color-row {
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 8px;
}

.customer-metadata-color-asset .theme-editor-color-row input[type="color"] {
  block-size: 34px;
  inline-size: 36px;
  min-inline-size: 36px;
}

.customer-metadata-color-asset .theme-editor-color-row input[type="text"] {
  background: var(--surface, #ffffff);
  border: 1px solid var(--border-subtle, rgba(148, 163, 184, 0.45));
  border-radius: var(--radius-sm, 4px);
  color: var(--text-primary, #0f172a);
  font: inherit;
  height: 30px;
  min-width: 0;
  padding: 4px 7px;
  width: 100%;
}

.theme-editor-group {
  display: grid;
  gap: 12px;
}

.theme-editor-inline-field {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
}

.theme-editor-inline-field > label {
  margin: 0;
}

.theme-editor-inline-control {
  min-width: 0;
}

.theme-editor-inline-control > input {
  width: 100%;
}

.theme-editor-section {
  overflow: hidden;
}

.theme-editor-section-toggle {
  inline-size: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.theme-editor-section-toggle:hover {
  color: var(--text-strong);
}

.theme-editor-section-caret {
  flex: 0 0 auto;
}

.theme-editor-section-body {
  margin-top: 12px;
}

.theme-editor-color-row {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.theme-editor-color-row input[type="color"] {
  inline-size: 44px;
  min-inline-size: 44px;
  block-size: 44px;
}

.theme-editor-color-row input[type="text"] {
  width: 100%;
}

.theme-asset-field {
  display: grid;
  gap: 12px;
}

.theme-asset-preview {
  display: grid;
  place-items: start;
}

.theme-asset-preview img {
  width: 100%;
  height: 100%;
  max-width: 62px;
  max-height: 62px;
  object-fit: contain;
  display: block;
}

.theme-asset-meta {
  display: grid;
  gap: 10px;
}

.key-value-grid {
  display: grid;
  gap: 8px;
}

.kv-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
}

.use-case-report-preview-page {
  --report-section-title-size: 15pt;
  --report-section-title-line-height: 1.2;
  --report-section-title-color: #111111;
}

.use-case-report-kv-grid {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
  row-gap: 10px;
}

.use-case-report-kv-row {
  display: contents;
}

.use-case-report-kv-heading {
  grid-column: 1 / -1;
  margin: 12px 0 4px;
  font-size: var(--report-section-title-size);
  line-height: var(--report-section-title-line-height);
  color: var(--report-section-title-color);
  font-weight: 700;
}

.use-case-report-kv-subtitle {
  grid-column: 1 / -1;
  margin: -2px 0 2px;
}

.use-case-report-kv-grid > .use-case-report-kv-heading:first-child {
  margin-top: 0;
}

.use-case-report-kv-label {
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.use-case-report-kv-value {
  min-width: 0;
  justify-self: start;
  text-align: left;
  color: var(--text);
  font-size: 14px;
  line-height: 1.35;
}

.use-case-report-kv-empty {
  grid-column: 1 / -1;
  margin: 0;
}

.use-case-report-share-overview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
}

.use-case-report-share-chart-wrap {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 2px;
}

.use-case-report-share-chart {
  width: 56px;
  height: 56px;
  transform: rotate(-90deg);
  overflow: visible;
}

.use-case-report-share-legend {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: start;
  column-gap: 16px;
  row-gap: 8px;
}

.use-case-report-share-dot {
  --share-dot: #08192E;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--share-dot);
  display: inline-block;
  flex: 0 0 auto;
}

.use-case-report-share-legend .use-case-report-kv-row {
  display: contents;
}

.use-case-report-share-legend .use-case-report-kv-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

[data-dev-panel="project-start-dashboard:task_manager"] .use-case-project-start-dashboard-content {
  box-sizing: border-box;
  padding-inline-end: 20px;
}

[data-dev-panel^="project-start-status:"] .panel-scroll-body,
[data-dev-panel^="project-start-dashboard:"] .panel-scroll-body,
[data-dev-panel="use-case-project-start-status"] .panel-scroll-body,
[data-dev-panel="use-case-project-start-dashboard"] .panel-scroll-body {
  box-sizing: border-box;
  padding-inline-end: 20px;
  scrollbar-gutter: stable;
}

@container (max-width: 560px) {
  .tmg-project-start-status-chart {
    grid-template-columns: minmax(0, 1fr) !important;
    row-gap: 12px;
  }

  .tmg-project-start-status-chart .use-case-report-share-chart-wrap {
    justify-content: flex-start !important;
  }

  .tmg-project-start-status-chart .use-case-report-share-chart {
    width: 96px !important;
    height: 96px !important;
  }

  .tmg-project-start-status-chart .use-case-report-share-legend {
    grid-template-columns: minmax(0, 1fr) max-content;
  }

  .tmg-project-start-status-chart .use-case-report-kv-label {
    min-width: 0;
    overflow-wrap: anywhere;
  }
}

.use-case-report-lph-overview {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(9, max-content);
  gap: 8px;
  justify-content: start;
}

.use-case-report-lph-chart-wrap {
  grid-column: 1 / -1;
  width: 100%;
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-shell {
  gap: 0;
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-body {
  min-height: 280px;
  border: none;
  border-radius: 16px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-grid-row text {
  font-size: 14px;
  font-weight: 600;
  fill: var(--text);
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-point text,
.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-x-label {
  font-size: 14px;
  font-weight: 600;
  fill: var(--text);
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-grid-row line {
  stroke: color-mix(in srgb, #111111 14%, transparent);
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-area {
  fill: color-mix(in srgb, var(--signal-green, #b7d235) 12%, transparent);
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-line {
  stroke: #111111;
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-line.is-priority-series {
  stroke: var(--analysis-chart-series-color, #111111);
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-point circle {
  stroke: #ffffff;
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-point.is-total-series circle {
  fill: #111111;
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-series-pill rect {
  fill: #ffffff;
  stroke: color-mix(in srgb, #111111 14%, transparent);
}

.use-case-report-lph-chart-wrap .analysis-eval-lph-chart-series-pill text {
  fill: #111111;
}

.use-case-report-lph-box {
  min-width: 52px;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.use-case-report-lph-box.is-active {
  border-color: var(--lph-box-bg, var(--accent));
  background: var(--lph-box-bg, var(--accent));
  color: var(--lph-box-text, #ffffff);
}

.use-case-report-requirement-list {
  container-type: inline-size;
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  align-items: center;
  column-gap: 16px;
  row-gap: 10px;
}

.use-case-report-requirement-row {
  display: contents;
}

.use-case-report-requirement-value {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(120px, 1fr) max-content;
  align-items: center;
  gap: 10px;
}

.use-case-report-requirement-bar-track {
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--line) 70%, white);
  overflow: hidden;
}

.use-case-report-requirement-bar-fill {
  --requirement-bar: #08192E;
  height: 100%;
  min-width: 0;
  border-radius: 999px;
  background: var(--requirement-bar);
}

.use-case-report-requirement-count {
  color: var(--text);
  font-size: 14px;
  line-height: 1.2;
  font-weight: 600;
  white-space: nowrap;
}

@container (max-width: 560px) {
  .use-case-report-requirement-list {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    row-gap: 10px;
  }

  .use-case-report-requirement-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .use-case-report-requirement-row .use-case-report-kv-label {
    overflow-wrap: anywhere;
  }

  .use-case-report-requirement-value {
    grid-template-columns: minmax(0, 1fr) max-content;
    gap: 10px;
  }
}

.use-case-project-start-workspace .use-case-report-requirement-list {
  grid-template-columns: minmax(0, 1fr);
  align-items: stretch;
}

.use-case-project-start-workspace .use-case-report-requirement-row {
  display: grid;
  grid-template-columns: minmax(0, 150px) minmax(0, 1fr);
  align-items: center;
  gap: 10px 16px;
  min-width: 0;
}

.use-case-project-start-workspace .use-case-report-requirement-row .use-case-report-kv-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@container (max-width: 360px) {
  .use-case-project-start-workspace .use-case-report-requirement-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 6px;
  }

  .use-case-project-start-workspace .use-case-report-requirement-row .use-case-report-kv-label {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

.use-case-report-settings-toggle-row {
  width: 100%;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.use-case-report-settings-toggle-row .toggle-switch-label {
  min-width: 0;
  text-align: left;
}

.use-case-report-tree-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 14px;
}

.use-case-report-tree-toolbar .button-secondary.is-active {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.use-case-report-tree-stack {
  display: grid;
  gap: 12px;
}

.use-case-report-tree-node.level-0 + .use-case-report-tree-node.level-0 {
  margin-top: 4px;
}

.use-case-report-tree-children.level-1,
.use-case-report-tree-children.level-2 {
  margin-top: 6px;
  padding-left: 22px;
}

.use-case-report-tree-node.level-1 + .use-case-report-tree-node.level-1,
.use-case-report-tree-node.level-2 + .use-case-report-tree-node.level-2 {
  margin-top: 6px;
}

.use-case-report-tree-toggle {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  text-align: left;
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  padding-left: 0;
  padding-right: 0;
}

.use-case-report-tree-toggle.level-0 {
  font-size: 16px;
  font-weight: 700;
}

.use-case-report-tree-toggle.level-1 {
  font-weight: 600;
}

.use-case-report-tree-toggle.level-2 {
  color: var(--muted);
}

.use-case-report-tree-caret {
  flex: 0 0 auto;
}

.use-case-report-tree-title {
  min-width: 0;
}

.use-case-report-tree-inline-meta {
  margin-left: 12px;
  text-align: left;
}

.use-case-report-tree-empty {
  margin: 4px 0 0 30px;
}

.use-case-report-tree-leaf-list {
  margin: 8px 0 0 30px;
  padding: 0;
  display: grid;
  gap: 6px;
}

.use-case-report-tree-leaf-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px;
}

.use-case-report-tree-leaf-title {
  color: var(--text);
}

.use-case-report-priority-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 88%, var(--line));
  border: 1px solid var(--line);
  white-space: nowrap;
}

.use-case-report-priority-pill.is-schema-colored {
  background: var(--report-priority-pill-color);
  border-color: transparent;
}

.use-case-report-priority-pill.is-sehr-wichtig {
  background: var(--signal-red, #e5601b);
  border-color: transparent;
}

.use-case-report-priority-pill.is-wichtig {
  background: var(--signal-yellow, #f2d21b);
  border-color: transparent;
}

.use-case-report-priority-pill.is-nice-to-have {
  background: var(--signal-green, #b7d235);
  border-color: transparent;
}

.use-case-report-priority-pill.is-unwichtig {
  background: var(--signal-gray, #8a9099);
  border-color: transparent;
}

.use-case-report-phase-pill,
.use-case-report-user-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  color: var(--text);
  background: color-mix(in srgb, var(--surface) 88%, var(--line));
  border: 1px solid var(--line);
  white-space: nowrap;
}

.use-case-report-user-value {
  display: inline-block;
  min-width: 0;
  font-size: 10.5pt;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
  white-space: nowrap;
}

.use-case-report-phase-pill.is-schema-colored {
  background: var(--report-phase-pill-color);
  border-color: transparent;
}

.use-case-report-preview-shell {
  min-height: 0;
  display: grid;
  height: calc(100vh - 170px);
}

.page-shell-body.page-shell-body-workspace-scroll-panels .use-case-report-workspace,
.page-shell-body.page-shell-body-workspace-scroll-panels .use-case-report-workspace .tab-workspace-row {
  min-height: auto;
  height: auto;
}

.page-shell-body.page-shell-body-workspace-scroll-panels .use-case-report-workspace .tab-workspace-row {
  align-items: flex-start;
}

.page-shell-body.page-shell-body-workspace-scroll-panels .dol-input-workspace,
.page-shell-body.page-shell-body-workspace-scroll-panels .dol-input-workspace .tab-workspace-panel-grid,
.page-shell-body.page-shell-body-workspace-scroll-panels .dol-input-workspace .tab-workspace-row {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.page-shell-body.page-shell-body-workspace-scroll-panels .dol-input-workspace .tab-workspace-row {
  align-items: stretch;
}

.page-shell-body.page-shell-body-workspace-scroll-panels > .workspace-app-host.is-doc-input-workspace {
  margin-left: -20px;
  margin-top: calc(-1 * var(--shell-body-pad-top));
  margin-bottom: -20px;
  width: calc(100% + 20px);
  min-height: calc(100% + var(--shell-body-pad-top) + 20px);
  height: calc(100% + var(--shell-body-pad-top) + 20px);
}

.workspace-panel.use-case-report-preview-shell.dol-input-surface {
  padding: 0;
  border-radius: 0;
  min-height: 100%;
  height: 100%;
}

.dol-input-surface {
  width: 100%;
  min-height: 0;
  height: 100%;
  display: grid;
  place-items: stretch;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
}

.dol-input-surface .use-case-report-preview-pane {
  width: 100%;
  height: 100%;
}

.dol-input-surface .use-case-report-preview-frame {
  height: 100%;
  width: 100%;
  padding: 0;
}

.dol-input-surface .use-case-report-preview-canvas {
  width: 100%;
  min-height: 0;
  height: 100%;
  overflow-y: hidden;
  overflow-x: auto;
  display: grid;
  align-content: start;
  justify-items: center;
  box-sizing: border-box;
  padding: 0 18px;
  scroll-snap-type: y proximity;
  scroll-padding-top: 0;
  scroll-padding-bottom: 0;
}

.dol-input-surface .use-case-report-preview-canvas.is-multi-page {
  overflow-y: auto;
}

.dol-input-surface .use-case-report-preview-canvas.is-rich-editor {
  overflow-y: auto;
}

.dol-input-surface .use-case-report-preview-pages {
  gap: 22px;
}

.dol-input-surface .use-case-report-preview-page {
  scroll-snap-align: start;
}

.dol-input-surface .use-case-report-preview-canvas.is-continuous-editor {
  overflow-y: auto;
}

.use-case-report-preview-pages.dol-continuous-editor-pages {
  width: var(--report-page-width, 793px);
  align-items: stretch;
}

.use-case-report-preview-page.dol-continuous-editor-page {
  height: auto;
  min-height: var(--report-page-height, 1122px);
  max-height: none;
  overflow: visible;
  background: #ffffff;
}

.dol-continuous-editor-body {
  position: relative;
  min-height: var(--report-content-height, 903px);
  padding: var(--report-content-top) var(--report-content-right) var(--report-content-bottom) var(--report-content-left);
  box-sizing: border-box;
}

.dol-continuous-page-marker {
  position: absolute;
  left: calc(100% - var(--report-content-right));
  right: 0;
  top: calc(var(--report-content-top) + (var(--dol-page-marker-height, 903px) * var(--dol-page-marker-index, 1)));
  height: 0;
  border-top: 2px solid rgba(177, 64, 64, 0.48);
  pointer-events: none;
  z-index: 1;
}

.dol-continuous-page-marker-label {
  position: absolute;
  right: 10px;
  min-width: 54px;
  text-align: right;
  color: rgba(126, 38, 38, 0.78);
  font-size: 10px;
  line-height: 1;
  font-weight: 700;
  background: #ffffff;
  padding: 2px 0 2px 6px;
}

.dol-continuous-page-marker-label-before {
  bottom: 3px;
}

.dol-continuous-page-marker-label-after {
  top: 3px;
}

.dol-continuous-line-grid {
  position: absolute;
  top: var(--report-content-top);
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
}

.dol-continuous-editor-body[data-dol-line-grid="false"] .dol-continuous-line-grid {
  display: none;
}

.dol-continuous-line-grid-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--report-content-left);
  right: var(--report-content-right);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(110, 118, 130, 0.2) 0,
    rgba(110, 118, 130, 0.2) 1px,
    transparent 1px,
    transparent var(--dol-grid-row-height, 24px)
  );
  background-size: 100% var(--dol-grid-row-height, 24px);
  background-position: top left;
}

.dol-continuous-line-grid-numbers {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - var(--report-content-right));
  right: 0;
}

.dol-continuous-line-grid-number {
  position: absolute;
  left: 4px;
  min-width: 20px;
  transform: translateY(-50%);
  color: rgba(86, 94, 106, 0.58);
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  text-align: left;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.dol-preview-line-grid {
  position: absolute;
  top: var(--report-content-top);
  left: 0;
  right: 0;
  height: var(--report-content-height);
  pointer-events: none;
  z-index: 3;
}

.dol-preview-line-grid-lines {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--report-content-left);
  right: var(--report-content-right);
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(86, 94, 106, 0.18) 0,
    rgba(86, 94, 106, 0.18) 1px,
    transparent 1px,
    transparent var(--dol-grid-row-height, 24px)
  );
  background-size: 100% var(--dol-grid-row-height, 24px);
  background-position: top left;
}

.dol-preview-line-grid-numbers {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(100% - var(--report-content-right));
  right: 0;
}

.dol-preview-line-grid-number {
  position: absolute;
  left: 4px;
  min-width: 20px;
  transform: translateY(-50%);
  color: rgba(86, 94, 106, 0.62);
  font-size: 9px;
  line-height: 1;
  font-weight: 600;
  text-align: left;
  font-variant-numeric: tabular-nums;
  user-select: none;
}

.use-case-report-settings-panel {
  --use-case-report-settings-width: 600px;
  height: calc(100vh - 170px);
  max-height: calc(100vh - 170px);
  min-height: 0;
  align-self: stretch;
  grid-template-rows: auto auto;
}

@media (min-width: 1101px) {
  .tab-workspace-row:has(> .use-case-report-preview-shell),
  .tab-workspace-row:has(> .use-case-report-settings-panel) {
    overflow-x: clip;
  }

  .tab-workspace-row:has(> .use-case-report-preview-shell) > .workspace-panel[data-panel-span="third"],
  .tab-workspace-row:has(> .use-case-report-settings-panel) > .use-case-report-settings-panel[data-panel-span="third"] {
    flex: 0 0 min(var(--use-case-report-settings-width), 100%);
    min-width: min(var(--use-case-report-settings-width), 100%);
    max-width: min(var(--use-case-report-settings-width), 100%);
  }

  .tab-workspace-row:has(> .use-case-report-preview-shell) > .workspace-panel[data-panel-span="two-third"],
  .tab-workspace-row:has(> .use-case-report-settings-panel) > .workspace-panel[data-panel-span="two-third"] {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
  }
}

.use-case-report-settings-panel .panel-scroll-body {
  box-sizing: border-box;
  min-height: 0;
  overflow-y: auto;
  padding-right: 22px;
  scrollbar-gutter: stable;
}

.use-case-report-settings-panel .panel-scroll-body > .stack {
  padding-right: 4px;
}

.tab-workspace-row:has(> .use-case-report-preview-shell) > .workspace-panel[data-panel-span="third"] .panel-scroll-body {
  box-sizing: border-box;
  padding-right: 22px;
  scrollbar-gutter: stable;
}

.tab-workspace-row:has(> .use-case-report-preview-shell) > .workspace-panel[data-panel-span="third"] .panel-scroll-body > .stack {
  padding-right: 4px;
}

.use-case-report-publish-stack {
  display: grid;
  gap: 12px;
}

.use-case-report-publish-status {
  margin: 0;
  color: var(--text-soft);
}

.use-case-report-publish-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.use-case-report-preview-frame {
  position: relative;
  min-height: 0;
  height: 100%;
  padding: 0 12px 8px;
  display: grid;
  box-sizing: border-box;
}

.use-case-report-preview-frame:has(> .use-case-report-preview-zoom-controls) {
  padding-top: 34px;
}

.use-case-report-preview-zoom-controls {
  position: absolute;
  top: 6px;
  right: 12px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px;
  border: 1px solid var(--line, rgba(148, 163, 184, 0.5));
  border-radius: var(--radius-xs, 6px);
  background: color-mix(in srgb, var(--surface, #ffffff) 94%, transparent);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.12);
}

.use-case-report-preview-zoom-button {
  min-width: 28px;
  min-height: 26px;
  padding: 2px 8px;
  border: 1px solid transparent;
  border-radius: var(--radius-xs, 6px);
  background: transparent;
  color: var(--text, #1f2937);
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}

.use-case-report-preview-zoom-button:hover,
.use-case-report-preview-zoom-button:focus-visible,
.use-case-report-preview-zoom-button.is-active {
  border-color: var(--line, rgba(148, 163, 184, 0.5));
  background: var(--surface-soft, #f8fafc);
  outline: none;
}

.use-case-report-preview-zoom-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.use-case-report-preview-canvas {
  min-height: 0;
  height: 100%;
  overflow: auto;
  display: grid;
  justify-items: center;
  align-content: start;
  padding: 0 0 8px;
  box-sizing: border-box;
  scroll-padding-top: 0;
  scroll-padding-bottom: 8px;
  scroll-snap-type: none;
}

.use-case-report-preview-pages {
  display: inline-grid;
  gap: 16px;
  width: fit-content;
  min-width: 0;
  justify-items: center;
  padding: 0;
  box-sizing: border-box;
  transform-origin: top center;
}

.use-case-report-preview-page {
  width: var(--report-page-width, 793px);
  min-width: var(--report-page-width, 793px);
  max-width: var(--report-page-width, 793px);
  height: var(--report-page-height, 1122px);
  min-height: var(--report-page-height, 1122px);
  max-height: var(--report-page-height, 1122px);
  aspect-ratio: auto;
  position: relative;
  --report-header-height: 113px;
  --report-footer-height: 57px;
  --report-page-gap: 34px;
  --report-footer-meta-top: 8px;
  --report-header-padding-y: 21px;
  --report-header-padding-x: 23px;
  --report-content-top: 151px;
  --report-content-bottom: 94px;
  --report-content-left: 68px;
  --report-content-right: 68px;
  background: #ffffff;
  color: #111111;
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-body-size, 10.5pt);
  font-weight: var(--report-body-weight, 400);
  box-shadow: none;
  border: 1px solid rgba(17, 17, 17, 0.08);
  overflow: hidden;
  display: block;
  scroll-snap-align: none;
}

.use-case-report-preview-page.is-caret-page-transition-down,
.use-case-report-preview-page.is-caret-page-transition-up {
  animation-duration: 180ms;
  animation-timing-function: ease-out;
  animation-fill-mode: none;
  will-change: transform;
}

.use-case-report-preview-page.is-caret-page-transition-down {
  animation-name: dolCaretPageTransitionDown;
}

.use-case-report-preview-page.is-caret-page-transition-up {
  animation-name: dolCaretPageTransitionUp;
}

@keyframes dolCaretPageTransitionDown {
  0% {
    transform: translateY(8px);
  }
  100% {
    transform: translateY(0);
  }
}

@keyframes dolCaretPageTransitionUp {
  0% {
    transform: translateY(-8px);
  }
  100% {
    transform: translateY(0);
  }
}

.use-case-report-preview-page-cover {
  overflow: hidden;
}

.use-case-report-preview-page-header {
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: calc(var(--report-header-height, 113px) + 2px);
  border: 0;
  box-sizing: border-box;
  overflow: hidden;
}

.use-case-report-preview-page-header-media,
.use-case-report-preview-page-header-overlay {
  position: absolute;
  inset: -1px;
}

.use-case-report-preview-page-header-media {
  z-index: 0;
}

.use-case-report-preview-page-header-overlay {
  z-index: 1;
}

.use-case-report-preview-page-header-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 100%;
  padding-top: var(--report-header-padding-y, 21px);
  padding-bottom: var(--report-header-padding-y, 21px);
  padding-left: var(--report-content-left);
  padding-right: var(--report-header-padding-x, 23px);
  box-sizing: border-box;
}

.use-case-report-preview-header-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  max-width: 68%;
  color: #ffffff;
}

.use-case-report-preview-document-title {
  color: inherit;
  opacity: 0.82;
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-body-size, 9pt);
  line-height: 1.15;
  font-weight: var(--report-body-weight, 600);
  letter-spacing: 0;
  text-transform: none;
}

.use-case-report-preview-project-title {
  color: inherit;
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-h2-size, 16.5pt);
  line-height: 1.2;
  font-weight: var(--report-h2-weight, 700);
  text-wrap: balance;
}

.use-case-report-preview-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 3px 6px;
  min-width: 0;
  color: inherit;
  opacity: 0.82;
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-body-size, 9pt);
  line-height: 1.15;
  font-weight: var(--report-body-weight, 600);
}

.use-case-report-preview-breadcrumb-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
}

.use-case-report-preview-breadcrumb-link,
.use-case-report-preview-breadcrumb-current {
  color: inherit;
  min-width: 0;
  text-decoration: none;
}

.use-case-report-preview-breadcrumb-link:hover,
.use-case-report-preview-breadcrumb-link:focus-visible {
  text-decoration: underline;
}

.use-case-report-preview-breadcrumb-separator {
  opacity: 0.72;
}

.use-case-report-preview-logo-slot {
  flex: 0 0 auto;
  min-width: 120px;
  display: flex;
  justify-content: flex-end;
}

.use-case-report-preview-logo {
  max-width: 140px;
  max-height: 53px;
  object-fit: contain;
  filter: none;
}

.use-case-report-preview-page-body {
  position: absolute;
  top: var(--report-content-top);
  left: var(--report-content-left);
  right: var(--report-content-right);
  bottom: var(--report-content-bottom);
  display: grid;
  gap: var(--report-page-gap, 34px);
  align-content: start;
  grid-auto-rows: max-content;
  min-height: auto;
  overflow: hidden;
  box-sizing: border-box;
}

.use-case-report-preview-page-body[data-report-page-layout="flow-centered"] {
  align-content: center;
  grid-auto-rows: max-content;
}

.use-case-report-page-anchor {
  position: absolute;
  top: 0;
  left: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.use-case-report-cover {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-rows: 50% 1fr;
  background: #ffffff;
}

.use-case-report-cover-hero {
  position: relative;
  overflow: hidden;
}

.use-case-report-cover-hero-media,
.use-case-report-cover-hero-overlay {
  position: absolute;
  inset: 0;
}

.use-case-report-cover-hero-media {
  z-index: 0;
}

.use-case-report-cover-hero-overlay {
  z-index: 1;
}

.use-case-report-cover-hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: var(--report-content-right) var(--report-content-right) calc(var(--report-content-right) * 0.2) var(--report-content-left);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.use-case-report-cover-logo-slot {
  display: flex;
  justify-content: flex-end;
}

.use-case-report-cover-logo {
  max-width: 140px;
  max-height: 53px;
  object-fit: contain;
}

.use-case-report-cover-title {
  margin-left: auto;
  width: 100%;
  max-width: none;
  text-align: right;
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-h1-size, 35px);
  line-height: 1.2;
  font-weight: var(--report-h1-weight, 500);
  text-wrap: balance;
}

.use-case-report-cover-body {
  background: #ffffff;
  padding: calc(var(--report-content-right) * 0.2) var(--report-content-right) var(--report-content-bottom) var(--report-content-left);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
}

.use-case-report-cover-body-copy {
  width: 100%;
  display: grid;
  gap: 8px;
  color: #111111;
  font-family: var(--report-font-family, var(--font));
  text-align: right;
}

.use-case-report-cover-body-title {
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-h2-size, 22px);
  line-height: 1.2;
  font-weight: var(--report-h2-weight, 500);
}

.use-case-report-cover-body-info {
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-body-size, 10.5pt);
  line-height: 1.2;
  font-weight: var(--report-body-weight, 400);
  color: color-mix(in srgb, #111111 82%, transparent);
}

.use-case-report-cover-body-date {
  margin-top: auto;
  align-self: flex-end;
  text-align: right;
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-body-size, 10.5pt);
  line-height: 1.2;
  font-weight: var(--report-body-weight, 400);
  color: color-mix(in srgb, #111111 72%, transparent);
}

.use-case-report-print-toc-section {
  width: 100%;
  display: flex;
  flex-direction: column;
  font-family: var(--report-font-family, var(--font));
}

.use-case-report-print-toc-list {
  display: grid;
  gap: 10px;
}

.use-case-report-print-toc-row {
  display: block;
}

.use-case-report-print-toc-row.is-level-2 {
  padding-left: 16px;
}

.use-case-report-print-toc-row.is-level-3 {
  padding-left: 32px;
}

.use-case-report-print-toc-row.is-level-4 {
  padding-left: 48px;
}

.use-case-report-print-toc-row.is-level-5 {
  padding-left: 64px;
}

.use-case-report-print-toc-row.is-level-6 {
  padding-left: 80px;
}

.use-case-report-print-toc-link {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr) max-content;
  gap: 10px;
  align-items: end;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

.use-case-report-print-toc-link.is-static {
  pointer-events: none;
}

.use-case-report-print-toc-label,
.use-case-report-print-toc-page {
  color: #111111;
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-body-size, 10.5pt);
  line-height: 1.2;
  font-weight: var(--report-body-weight, 400);
}

.use-case-report-print-toc-page {
  font-weight: var(--report-link-weight, 700);
  justify-self: end;
  text-align: right;
  min-width: 28px;
}

.use-case-report-print-toc-leader {
  width: 100%;
  border-bottom: 1px dotted color-mix(in srgb, #111111 28%, transparent);
  transform: translateY(-3px);
}

.use-case-report-preview-page-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: var(--report-footer-height, 57px);
  display: grid;
  align-content: start;
  box-sizing: border-box;
}

.use-case-report-preview-footer-line {
  border-top: 1px solid #cdd7e3;
  margin-top: 0;
  margin-left: var(--report-content-left);
  margin-right: var(--report-content-right);
}

.use-case-report-preview-footer-meta {
  margin-top: var(--report-footer-meta-top, 8px);
  padding: 0 var(--report-content-left);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #111111;
  font-family: var(--report-font-family, var(--font));
  font-size: var(--report-body-size, 9pt);
  line-height: 1.2;
  font-weight: var(--report-body-weight, 400);
}

.use-case-report-preview-footer-meta > span:empty {
  display: none;
}

body.is-dev-mode .use-case-report-preview-page-body {
  outline: 1px dashed var(--dev-outline);
  outline-offset: 0;
  background: none;
}

body.is-dev-mode .dol-document-editor-page.is-rich-editor .use-case-report-preview-page-body {
  outline: 1px dashed rgba(196, 76, 0, 0.32);
  outline-offset: 0;
  position: absolute;
}

body.is-dev-mode .dol-document-editor-page.is-rich-editor::before {
  content: "layout-content";
  position: absolute;
  top: var(--report-content-top);
  right: var(--report-content-right);
  bottom: var(--report-content-bottom);
  left: var(--report-content-left);
  z-index: 3;
  border: 2px dashed rgba(14, 90, 167, 0.7);
  background: rgba(14, 90, 167, 0.03);
  pointer-events: none;
}

body.is-dev-mode .dol-document-editor-page.is-rich-editor::after {
  content: "layout-content";
  position: absolute;
  top: calc(var(--report-content-top) + 8px);
  right: calc(var(--report-content-right) + 10px);
  z-index: 4;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(14, 90, 167, 0.9);
  color: #ffffff;
  font-size: 10px;
  line-height: 1.2;
  pointer-events: none;
}

body.is-dev-mode .dol-rich-editor p {
  position: relative;
}

body.is-dev-mode .dol-rich-editor p:has(> br:only-child)::before {
  content: "Â¶";
  position: absolute;
  left: -14px;
  top: 0.08em;
  z-index: 5;
  color: rgba(196, 76, 0, 0.88);
  font-size: 12px;
  line-height: 1;
  font-weight: 700;
  pointer-events: none;
}

body.is-dev-mode .dol-rich-editor p:has(> br:only-child) {
  min-height: 1em;
  background:
    linear-gradient(
      to right,
      rgba(196, 76, 0, 0.12),
      rgba(196, 76, 0, 0.05)
    );
}

body.is-dev-mode .dol-document-editor-page.is-rich-editor .use-case-report-preview-page-body::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(196, 76, 0, 0.22) 0,
    rgba(196, 76, 0, 0.22) 1px,
    transparent 1px,
    transparent var(--dol-grid-row-height, 24px)
  );
  background-size: 100% var(--dol-grid-row-height, 24px);
  background-position: top left;
}

body.is-dev-mode .dol-document-editor-page.is-rich-editor .use-case-report-preview-page-body::after {
  content: "rows " attr(data-dol-grid-page-rows) " | row " attr(data-dol-grid-row-height) "px";
  position: absolute;
  left: 8px;
  bottom: 8px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(196, 76, 0, 0.9);
  color: #ffffff;
  font-size: 10px;
  line-height: 1.2;
  pointer-events: none;
}

body.is-dev-mode .use-case-report-preview-page-body > .use-case-report-print-section {
  position: relative;
  outline: 1px dashed rgba(255, 0, 153, 0.5);
  outline-offset: 0;
  background: rgba(255, 0, 153, 0.02);
}

body.is-dev-mode .use-case-report-preview-page-body > .use-case-report-print-section::after {
  content: attr(data-report-overview-block) " | slots " attr(data-report-block-slots) " | " attr(data-report-overview-density);
  position: absolute;
  top: 4px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(255, 0, 153, 0.9);
  color: #ffffff;
  font-size: 10px;
  line-height: 1.2;
  pointer-events: none;
}

body.is-dev-mode .use-case-report-preview-page-body > .use-case-report-print-section + .use-case-report-print-section::before {
  content: "gap " attr(data-report-page-gap) "px";
  position: absolute;
  left: 0;
  right: 0;
  top: calc(-1 * var(--report-page-gap, 12px));
  height: var(--report-page-gap, 12px);
  border-top: 1px dashed rgba(255, 0, 153, 0.45);
  border-bottom: 1px dashed rgba(255, 0, 153, 0.45);
  background: rgba(255, 0, 153, 0.05);
  color: rgba(180, 0, 110, 0.95);
  font-size: 10px;
  line-height: var(--report-page-gap, 12px);
  text-align: center;
  pointer-events: none;
}

.use-case-report-layout-margin-grid {
  display: grid;
  gap: 8px;
}

.use-case-report-layout-margin-row {
  display: grid;
  grid-template-columns: 72px auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
}

.use-case-report-layout-margin-input {
  width: 72px;
  min-width: 0;
  padding: 8px 10px;
  border: 1px solid var(--control-border);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  box-sizing: border-box;
}

.use-case-report-layout-margin-unit {
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
}

.use-case-report-layout-margin-label {
  min-width: 0;
  color: var(--text);
}

.use-case-report-layout-typography-grid {
  display: grid;
  gap: 8px;
}

.use-case-report-layout-typography-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px 132px;
  align-items: center;
  gap: 10px;
}

.use-case-report-layout-typography-row.is-font-family {
  grid-template-columns: minmax(0, 1fr) minmax(0, 274px);
}

.use-case-report-layout-typography-label {
  min-width: 0;
  color: var(--text);
}

.use-case-report-layout-typography-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
}

.use-case-report-layout-font-select-wrap {
  display: grid;
}

.use-case-report-layout-font-select {
  width: 100%;
  min-height: 40px;
}

.use-case-report-output-block {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 12px 14px;
}

.use-case-report-output-block-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.use-case-report-output-block-label {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.use-case-report-output-block-title {
  font-weight: 700;
  color: var(--text);
}

.use-case-report-output-block-controls {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
}

.use-case-report-output-toggle-row {
  margin-left: 0;
}

.use-case-report-output-block-caret {
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  line-height: 1;
  min-width: 18px;
  min-height: 18px;
}

.use-case-report-output-block-caret:hover {
  color: var(--text);
}

.use-case-report-output-block-caret-icon {
  width: 0;
  height: 0;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 6px solid currentColor;
  transition: transform 120ms ease;
}

.use-case-report-output-block-caret[aria-expanded="true"] .use-case-report-output-block-caret-icon {
  transform: rotate(90deg);
}

.use-case-report-output-block-body {
  margin-top: 12px;
}

.use-case-report-output-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.use-case-report-output-toolbar .button-secondary.is-active {
  background: color-mix(in srgb, var(--accent) 14%, var(--surface));
  border-color: color-mix(in srgb, var(--accent) 30%, var(--line));
}

.use-case-report-intro-config {
  display: grid;
  gap: 10px;
}

.use-case-report-intro-field {
  display: grid;
  gap: 6px;
}

.use-case-report-intro-field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}

.use-case-report-intro-input {
  min-height: 36px;
}

.use-case-report-intro-textarea {
  min-height: 96px;
  resize: vertical;
}

.use-case-report-intro-info-block {
  display: grid;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface);
}

.use-case-report-intro-info-block.is-saved {
  background: color-mix(in srgb, var(--surface) 92%, white);
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.use-case-report-intro-info-text {
  white-space: pre-wrap;
}

.use-case-report-intro-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.use-case-report-intro-actions.is-split {
  justify-content: space-between;
  align-items: center;
}

.use-case-report-intro-actions-group {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.use-case-report-intro-add {
  display: flex;
  justify-content: flex-start;
}

.use-case-report-print-info-block {
  margin: 0;
}

.use-case-report-print-info-block h2,
.use-case-report-print-info-block h3,
.use-case-report-print-info-block-title {
  margin: 0 0 2mm 0;
  font-size: var(--report-h2-size, 17px);
  font-weight: var(--report-h2-weight, 700);
  line-height: 1.3;
}

.use-case-report-print-section + .use-case-report-print-section {
  margin-top: 2mm;
}

.use-case-report-print-section-continued + .use-case-report-print-section-continued {
  margin-top: 0;
}

.use-case-report-print-section-continued-heading + .use-case-report-print-section-continued {
  margin-top: calc(6px - var(--report-page-gap, 0px));
}

.use-case-report-print-section h1,
.use-case-report-print-section h2,
.use-case-report-print-section h3 {
  margin: 0 0 4mm;
  color: var(--report-section-title-color);
  font-family: var(--report-font-family, var(--font));
}

.use-case-report-print-section h1 {
  font-size: var(--report-h1-size, calc(var(--report-section-title-size) * 1.18));
  font-weight: var(--report-h1-weight, 700);
  line-height: 1.15;
}

.use-case-report-print-section h2 {
  font-size: var(--report-h2-size, var(--report-section-title-size));
  font-weight: var(--report-h2-weight, 700);
  line-height: var(--report-section-title-line-height);
}

.use-case-report-print-section h3 {
  font-size: var(--report-h3-size, calc(var(--report-section-title-size) * 0.88));
  font-weight: var(--report-h3-weight, 700);
  line-height: 1.25;
}

.use-case-report-print-section p,
.use-case-report-print-description,
.use-case-report-print-comment-text {
  margin: 0;
  color: #111111;
  font-size: var(--report-body-size, 10.5pt);
  line-height: 1.45;
  font-family: var(--report-font-family, var(--font));
  font-weight: var(--report-body-weight, 400);
}

.use-case-report-print-document-list,
.use-case-report-print-document-quote {
  margin: 0;
  color: #111111;
  font-size: var(--report-body-size, 10.5pt);
  line-height: 1.45;
  font-family: var(--report-font-family, var(--font));
  font-weight: var(--report-body-weight, 400);
}

.use-case-report-print-document-list {
  padding-left: 6mm;
}

.use-case-report-print-document-block a,
.use-case-report-print-document-list a,
.use-case-report-print-document-quote a {
  font-size: var(--report-link-size, var(--report-body-size, 10.5pt));
  font-weight: var(--report-link-weight, var(--report-body-weight, 400));
}

.use-case-report-print-document-list li + li {
  margin-top: 1.2mm;
}

.use-case-report-print-document-quote {
  padding-left: 4mm;
  border-left: 0.6mm solid rgba(8, 25, 46, 0.2);
  font-style: italic;
}

.dol-inline-activate {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
  cursor: text;
}

.dol-inline-activate.is-empty {
  min-height: 16mm;
}

.dol-inline-activate:focus-visible {
  outline: 1px solid rgba(8, 25, 46, 0.18);
  outline-offset: 4px;
}

.dol-inline-placeholder {
  display: inline-block;
  color: rgba(8, 25, 46, 0.38);
}

.use-case-report-print-document-heading.is-empty,
.use-case-report-print-document-paragraph.is-empty {
  min-height: 1.4em;
}

.dol-inline-editor-shell {
  display: grid;
  gap: 6px;
}

.dol-inline-editor-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(8, 25, 46, 0.52);
}

.dol-inline-editor-textarea {
  width: 100%;
  min-height: 48px;
  border: 0;
  background: color-mix(in srgb, #f4f6fb 92%, transparent);
  color: #111111;
  padding: 0;
  resize: none;
  font: inherit;
  line-height: 1.45;
}

.dol-inline-editor-textarea.is-heading {
  font-size: var(--report-h2-size, var(--report-section-title-size));
  font-weight: var(--report-h2-weight, 700);
  line-height: var(--report-section-title-line-height);
}

.use-case-report-print-document-block.is-inline-editing {
  padding: 2mm 2.4mm;
  border-radius: 10px;
  background: color-mix(in srgb, #eaf0f8 62%, transparent);
}

.use-case-report-print-group + .use-case-report-print-group {
  margin-top: 3mm;
}

.use-case-report-print-group.level-1 {
  padding-left: 5mm;
}

.use-case-report-print-group.level-2 {
  padding-left: 9mm;
}

.use-case-report-print-group-title {
  margin: 0 0 2mm;
  color: #111111;
}

.use-case-report-print-group-title.is-h1 {
  font-size: var(--report-h1-size, calc(var(--report-section-title-size) * 1.18));
  font-weight: var(--report-h1-weight, 700);
  line-height: 1.15;
}

.use-case-report-print-group-title.is-h2 {
  font-size: var(--report-h2-size, var(--report-section-title-size));
  font-weight: var(--report-h2-weight, 700);
  line-height: 1.3;
}

.use-case-report-print-group-title.is-h3 {
  font-size: var(--report-h3-size, 14px);
  font-weight: var(--report-h3-weight, 700);
  line-height: 1.25;
}

.use-case-report-print-comment-card-list {
  display: grid;
  gap: var(--report-page-gap, 34px);
}

.use-case-report-print-comment-card {
  display: block;
  width: 100%;
  max-width: none;
  background: #ffffff;
  padding: 0;
}

.use-case-report-print-comment-card-main {
  display: grid;
  grid-template-columns: max-content minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "meta copytitle"
    "meta copy"
    "tasklabel taskpills";
  gap: 2mm 4mm;
  align-items: start;
}

.use-case-report-print-comment-card.is-details-hidden .use-case-report-print-comment-card-main {
  grid-template-columns: max-content minmax(0, 1fr);
  grid-template-areas:
    "title title"
    "copytitle copytitle"
    "copy copy"
    "tasklabel taskpills";
}

.use-case-report-print-comment-card-cell {
  min-width: 0;
}

.use-case-report-print-comment-card-cell.is-title {
  grid-area: title;
  padding: 0;
}

.use-case-report-print-comment-card-cell.is-meta {
  grid-area: meta;
  padding-top: 2.5mm;
}

.use-case-report-print-comment-card-cell.is-copy-title {
  grid-area: copytitle;
  padding: 0;
}

.use-case-report-print-comment-copy-title {
  margin: 0;
  font-size: 9pt;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
  text-transform: none;
  color: #5b6470;
}

.use-case-report-print-comment-card-cell.is-copy {
  grid-area: copy;
  display: block;
  min-width: 0;
  align-self: start;
  padding-top: 0;
}

.use-case-report-print-comment-card-cell.is-task-label {
  grid-area: tasklabel;
  padding-top: 2mm;
}

.use-case-report-print-comment-card-cell.is-task-pills {
  grid-area: taskpills;
  min-width: 0;
  padding-top: 2mm;
}

.use-case-report-print-comment-card.is-details-hidden .use-case-report-print-comment-card-cell.is-meta {
  display: none;
}

.use-case-report-print-comment-card-title {
  margin: 0;
  display: block;
  padding-bottom: 0.35mm;
  border-bottom: 1px solid #cbd5e1;
  font-size: var(--report-h3-size, 14px);
  line-height: 1.08;
  font-weight: var(--report-h3-weight, 700);
  color: #111111;
}

.use-case-report-print-comment-meta-grid {
  display: grid;
  grid-template-columns: max-content max-content;
  gap: 1.25mm;
  align-content: start;
  align-items: center;
}

.use-case-report-print-comment-meta-label {
  font-size: 9pt;
  line-height: 1.2;
  color: #5b6470;
  font-weight: 600;
}

.use-case-report-print-comment-meta-value {
  display: inline-flex;
  align-items: center;
}

.use-case-report-print-comment-user-count {
  font-size: 10pt;
  line-height: 1.2;
  font-weight: 700;
  color: #111111;
}

.module-grid {
  align-items: stretch;
}

.module-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.module-card-grid.module-overview-card-grid {
  grid-template-columns: repeat(4, minmax(0, 390px));
  justify-content: start;
  gap: 16px;
}

@media (min-width: 1501px) {
  .dashboard-layout-list .module-card-grid.module-overview-card-grid.dashboard-module-card-grid {
    grid-template-columns: repeat(1, minmax(0, 390px));
  }
}

.dashboard-layout {
  display: grid;
  gap: 18px;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.dashboard-projects-panel,
.dashboard-modules-panel {
  min-width: 0;
}

.dashboard-layout-list {
  grid-template-columns: minmax(0, 1.6fr) minmax(320px, 1fr);
  align-items: stretch;
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.dashboard-panel-scroll {
  display: flex;
  flex-direction: column;
  min-height: 0;
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

.dashboard-layout-list .dashboard-panel-header-sticky {
  position: sticky;
  top: 0;
  z-index: 2;
  background: var(--surface);
}

.dashboard-panel-body-scroll {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  padding-right: 4px;
}

.page-shell-body.page-shell-body-scroll-panels > .dashboard-layout {
  min-height: 0;
  height: 100%;
  overflow: hidden;
}

.projects-layout.dashboard-layout-list {
  grid-template-columns: minmax(0, 1fr);
}

.dashboard-projects-panel .panel-header-row + .panel-body {
  padding-top: 0;
}

.dashboard-layout-list .dashboard-projects-panel .dashboard-panel-header-sticky {
  z-index: 50;
}

.dashboard-projects-panel .panel-body {
  gap: 2px;
  align-content: start;
}

.dashboard-projects-panel .panel-header-row {
  display: block;
  position: relative;
  padding-bottom: 6px;
  overflow: visible;
}

.dashboard-project-panel-header-main {
  display: grid;
  gap: 0;
  min-width: 0;
}

.project-panel-settings {
  flex: 0 0 42px;
  position: absolute;
  right: 0;
  top: 0;
  width: 42px;
  height: 42px;
  min-width: 42px;
}

.project-panel-settings-button {
  display: inline-flex;
  align-items: center;
  min-width: 42px;
  min-height: 42px;
  justify-content: center;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 32;
}

.project-panel-settings-button img,
.project-panel-settings-header img {
  display: block;
  width: 36px;
  height: 36px;
}

.project-panel-settings-flyout {
  background: var(--surface);
  border: 1px solid var(--line, rgba(148, 163, 184, 0.45));
  border-radius: 8px;
  box-shadow: none;
  display: grid;
  gap: 10px;
  min-width: 210px;
  padding: 14px 14px 16px;
  position: absolute;
  right: -5px;
  top: -5px;
  z-index: 60;
}

.project-panel-settings-header {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 42px;
  width: calc(100% + 8px);
  margin: -7px -4px 2px;
  padding: 0 48px 0 4px;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}

.project-panel-settings-header span {
  color: var(--text-primary, #0f172a);
  font-size: 13px;
  font-weight: 700;
}

.project-panel-settings.is-open > .project-panel-settings-button {
  z-index: 70;
}

.project-panel-settings-flyout .project-panel-settings-toggle-row {
  justify-content: flex-start;
  width: 100%;
}

.dashboard-project-list {
  display: grid;
  gap: 10px;
}

.dashboard-project-list.is-grouped-by-customer {
  gap: 8px;
}

.dashboard-project-customer-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 4px 12px 4px 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--text-strong, #111827);
  line-height: 1.25;
}

.dashboard-project-customer-group-header .dashboard-project-customer-badge {
  flex: 0 0 96px;
  max-width: 96px;
  height: 40px;
}

.dashboard-project-customer-group-header .dashboard-project-customer-badge.has-logo {
  width: 96px;
  max-width: 96px;
  height: 40px;
}

.dashboard-project-customer-group-header .dashboard-project-customer-badge.has-logo img {
  max-height: 40px;
}

.dashboard-project-customer-group-title {
  color: var(--text-strong, #111827);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.3;
}

.dashboard-project-customer-group-divider {
  width: 1px;
  height: 24px;
  flex: 0 0 auto;
  background: color-mix(in srgb, var(--text-strong, #111827) 28%, transparent);
}

.dashboard-project-customer-group-subtitle {
  color: color-mix(in srgb, var(--text-strong, #111827) 72%, transparent);
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 1.3;
  white-space: nowrap;
}

.dashboard-project-sort-row {
  display: grid;
  grid-template-columns: 72px minmax(220px, calc(var(--dashboard-project-title-width, 320px) + 6px)) 126px 150px 376px 190px;
  align-items: center;
  gap: 0;
  padding: 6px 0 4px;
  margin: 0;
  width: fit-content;
  max-width: 100%;
}

.dashboard-project-sort-row.is-management-hidden {
  grid-template-columns: 72px minmax(220px, calc(var(--dashboard-project-title-width, 320px) + 6px)) 126px 150px 190px;
}

.dashboard-project-sort-row.is-publication-hidden {
  grid-template-columns: 72px minmax(220px, calc(var(--dashboard-project-title-width, 320px) + 6px)) 126px 150px 376px;
}

.dashboard-project-sort-row.is-management-hidden.is-publication-hidden {
  grid-template-columns: 72px minmax(220px, calc(var(--dashboard-project-title-width, 320px) + 6px)) 126px 150px;
}

.dashboard-project-sort-segment {
  min-width: 0;
}

.dashboard-project-sort-segment-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10px;
}

.dashboard-project-sort-segment-title {
  display: grid;
  grid-template-columns: max-content minmax(160px, 230px);
  align-items: center;
  gap: 8px;
  padding: 0 18px;
}

.dashboard-project-sort-segment-customer {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 8px;
}

.dashboard-project-sort-segment-management {
  min-height: 1px;
}

.dashboard-project-sort-segment-updated {
  display: flex;
  align-items: center;
  padding: 0 14px;
}

.dashboard-project-sort-segment-publish {
  min-height: 1px;
}

.dashboard-project-sort-spacer {
  display: block;
  min-height: 1px;
}

.dashboard-project-sort-button {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: auto;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.1;
}

.dashboard-project-sort-segment-updated .dashboard-project-sort-button[data-dashboard-project-sort="updatedAt"] {
  justify-self: start;
}

.dashboard-project-sort-row.is-management-hidden .dashboard-project-sort-segment-updated .dashboard-project-sort-button[data-dashboard-project-sort="updatedAt"] {
  justify-self: start;
}

.dashboard-project-sort-segment-customer .dashboard-project-sort-button {
  justify-self: start;
}

.dashboard-project-search {
  display: block;
  min-width: 0;
}

.dashboard-project-search input {
  display: block;
  width: 100%;
  height: 30px;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  line-height: 1.2;
}

.dashboard-project-sort-button.is-active {
  color: var(--text);
}

.dashboard-project-sort-caret {
  display: inline-block;
  flex: 0 0 auto;
  color: color-mix(in srgb, var(--text-muted) 72%, transparent);
  font-size: 10px;
  line-height: 1;
}

.dashboard-project-sort-button.is-active .dashboard-project-sort-caret {
  color: var(--text);
}

.dashboard-project-list-item {
  display: grid;
  gap: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  overflow: visible;
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.dashboard-project-list-item:has(.project-icon-btn:hover),
.dashboard-project-list-item:has(.project-icon-btn:focus-visible) {
  z-index: 20;
}

.admin-project-meta-row {
  display: grid;
  grid-template-columns: repeat(7, minmax(108px, 1fr));
  gap: 8px 12px;
  padding: 10px 14px 12px 72px;
  border-top: 1px solid color-mix(in srgb, var(--line) 78%, transparent);
  border-bottom-right-radius: calc(var(--radius-sm) - 1px);
  border-bottom-left-radius: calc(var(--radius-sm) - 1px);
  background: color-mix(in srgb, var(--surface-soft) 82%, #ffffff);
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.3;
}

.admin-project-meta-row.is-pending {
  grid-template-columns: 1fr;
  font-style: italic;
}

.admin-project-meta-item {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.admin-project-meta-label {
  color: color-mix(in srgb, var(--text-muted) 78%, transparent);
  font-size: 12px;
}

.admin-project-meta-value {
  color: var(--text);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

@media (max-width: 1500px) {
  .admin-project-meta-row {
    grid-template-columns: repeat(3, minmax(120px, 1fr));
    padding-left: 14px;
  }
}

@media (max-width: 900px) {
  .admin-project-meta-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.dashboard-project-row {
  display: grid;
  grid-template-columns: 72px minmax(220px, calc(var(--dashboard-project-title-width, 320px) + 6px)) 126px 150px 376px 190px;
  align-items: center;
  gap: 0;
  min-height: 72px;
  overflow: visible;
  background: var(--platform-shell-sidebar-bg, #172534);
  border-radius: calc(var(--radius-sm) - 1px);
  width: fit-content;
  max-width: 100%;
}

.dashboard-project-list-item.is-management-hidden .dashboard-project-row {
  grid-template-columns: 72px minmax(220px, calc(var(--dashboard-project-title-width, 320px) + 6px)) 126px 150px 190px;
}

.dashboard-project-list-item.is-publication-hidden .dashboard-project-row {
  grid-template-columns: 72px minmax(220px, calc(var(--dashboard-project-title-width, 320px) + 6px)) 126px 150px 376px;
}

.dashboard-project-list-item.is-management-hidden.is-publication-hidden .dashboard-project-row {
  grid-template-columns: 72px minmax(220px, calc(var(--dashboard-project-title-width, 320px) + 6px)) 126px 150px;
}

.dashboard-project-row-segment {
  min-width: 0;
}

.dashboard-project-row-segment-logos {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  padding: 0;
  background: var(--platform-shell-sidebar-bg, #172534);
  border-top-left-radius: calc(var(--radius-sm) - 1px);
  border-bottom-left-radius: calc(var(--radius-sm) - 1px);
  overflow: visible;
}

.dashboard-project-row-logo-button {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  text-align: center;
}

.dashboard-project-row:has(.dashboard-project-row-logo-button:hover) .dashboard-project-row-segment-logos,
.dashboard-project-row:has(.dashboard-project-row-logo-button:hover) .dashboard-project-row-segment-title,
.dashboard-project-row:has(.dashboard-project-row-logo-button:hover) .dashboard-project-row-segment-customer,
.dashboard-project-row:has(.dashboard-project-row-title-button:hover) .dashboard-project-row-segment-logos,
.dashboard-project-row:has(.dashboard-project-row-title-button:hover) .dashboard-project-row-segment-title,
.dashboard-project-row:has(.dashboard-project-row-title-button:hover) .dashboard-project-row-segment-customer,
.dashboard-project-row:has(.dashboard-project-row-logo-button:focus-visible) .dashboard-project-row-segment-logos,
.dashboard-project-row:has(.dashboard-project-row-logo-button:focus-visible) .dashboard-project-row-segment-title,
.dashboard-project-row:has(.dashboard-project-row-logo-button:focus-visible) .dashboard-project-row-segment-customer,
.dashboard-project-row:has(.dashboard-project-row-title-button:focus-visible) .dashboard-project-row-segment-logos,
.dashboard-project-row:has(.dashboard-project-row-title-button:focus-visible) .dashboard-project-row-segment-title,
.dashboard-project-row:has(.dashboard-project-row-title-button:focus-visible) .dashboard-project-row-segment-customer {
  background: color-mix(in srgb, var(--platform-shell-sidebar-bg, #172534) 88%, var(--platform-shell-sidebar-text, #f5f7fa));
}

.dashboard-project-row-title {
  min-width: 0;
}

.dashboard-project-row-segment-title {
  display: flex;
  align-items: center;
  gap: 0;
  align-self: stretch;
  padding: 0;
  background: var(--platform-shell-sidebar-bg, #172534);
}

.dashboard-project-row-segment-customer {
  display: flex;
  align-items: center;
  align-self: stretch;
  justify-content: flex-end;
  padding: 0;
  background: var(--platform-shell-sidebar-bg, #172534);
}

.dashboard-project-row-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.dashboard-project-row .module-icon.is-project {
  width: 42px;
  height: 42px;
}

.dashboard-project-row-customer {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 0 8px;
}

.dashboard-project-customer-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  position: relative;
}

.dashboard-project-customer-badge.has-logo {
  width: 100%;
  min-width: 0;
  max-width: 84px;
  height: 34px;
  overflow: visible;
  background: transparent;
}

.dashboard-project-customer-badge[data-instant-tooltip]::after {
  content: attr(data-instant-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  background: rgba(12, 20, 29, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 80ms ease;
  z-index: 40;
}

.dashboard-project-customer-badge[data-instant-tooltip]:hover::after,
.dashboard-project-customer-badge[data-instant-tooltip]:focus-visible::after {
  opacity: 1;
}

.dashboard-project-customer-badge.has-logo img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
}

.dashboard-project-customer-badge.has-pill .meta-pill {
  margin: 0;
  max-width: 96px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-project-row-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.dashboard-project-module-eyebrow {
  color: color-mix(in srgb, var(--platform-shell-sidebar-text, #f5f7fa) 72%, transparent);
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.1;
  max-width: 100%;
  overflow: hidden;
  padding-bottom: 3px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-project-title-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  min-height: 100%;
  width: 100%;
}

.dashboard-project-row-title-button {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 18px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--platform-shell-sidebar-text, #f5f7fa);
  text-align: left;
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.3;
  cursor: pointer;
}

.dashboard-project-row-title-button:hover,
.dashboard-project-row-title-button:focus-visible {
  outline: none;
}

.dashboard-project-title-editor {
  width: 100%;
  min-height: 100%;
  display: grid;
  grid-template-columns: minmax(160px, 1fr) auto auto;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
}

.dashboard-project-title-input {
  min-width: 0;
  height: 34px;
  border-color: color-mix(in srgb, #ffffff 72%, transparent);
  background: #ffffff;
  color: var(--text-strong);
}

.dashboard-project-title-editor .ui-button,
.dashboard-project-title-editor .button-secondary {
  min-height: 32px;
  border-color: color-mix(in srgb, #ffffff 58%, transparent);
  background: color-mix(in srgb, #ffffff 92%, transparent);
  color: var(--text-strong);
  white-space: nowrap;
}

.dashboard-project-row-copy strong {
  display: block;
  font-weight: inherit;
  line-height: 1.32;
  padding-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.project-title-with-lock {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: 100%;
  min-width: 0;
}

.dashboard-project-row-copy strong.project-title-with-lock {
  display: inline-flex;
  color: var(--platform-shell-sidebar-text, #f5f7fa);
  font-size: 22px;
  font-weight: inherit;
  line-height: 1.32;
}

.project-lock-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #d71920;
  box-shadow: 0 0 0 2px rgba(215, 25, 32, 0.14);
}

.project-lock-notice {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 10px 14px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid rgba(215, 25, 32, 0.28);
  border-radius: 8px;
  background: rgba(215, 25, 32, 0.08);
  color: #8f1218;
  font-weight: 700;
}

.project-lock-notice-message {
  min-width: 0;
  flex: 1 1 auto;
}

.project-lock-notice.is-same-user {
  flex-wrap: wrap;
}

.project-lock-takeover-button {
  margin-left: auto;
  white-space: nowrap;
}

.dashboard-project-row-detail {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-project-row-segment-actions {
  display: flex;
  align-items: center;
  align-self: stretch;
  min-width: 0;
  padding: 12px 14px;
  background: var(--platform-shell-sidebar-bg, #172534);
}

.dashboard-project-row-utility {
  display: grid;
  grid-template-columns: 106px minmax(190px, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
}

.dashboard-project-row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  flex-wrap: nowrap;
  width: 106px;
  min-width: 106px;
}

.dashboard-project-row-actions .project-icon-btn {
  background: transparent;
  border-color: transparent;
}

.dashboard-project-row .project-customer-assign {
  color: var(--platform-shell-sidebar-text, #f5f7fa);
}

.dashboard-project-row .project-customer-assign span {
  color: var(--platform-shell-sidebar-text, #f5f7fa);
}

.dashboard-project-row-link {
  display: inline-flex;
  min-width: 32px;
  white-space: nowrap;
  color: var(--platform-shell-sidebar-text, #f5f7fa);
  font-weight: 700;
  text-decoration: none;
}

.dashboard-project-row-segment-updated {
  display: flex;
  align-items: stretch;
  align-self: stretch;
  min-width: 0;
  padding: 0;
  background: var(--platform-shell-sidebar-bg, #172534);
}

.dashboard-project-row-updated-button {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 14px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--platform-shell-sidebar-text, #f5f7fa);
  cursor: pointer;
  font: inherit;
  text-align: left;
}

.dashboard-project-row-updated-button:hover,
.dashboard-project-row-updated-button:focus-visible {
  outline: none;
}

.dashboard-project-row-updated-button .dashboard-project-row-detail.is-updated {
  color: var(--platform-shell-sidebar-text, #f5f7fa);
}

.dashboard-project-row-segment-publish {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  align-self: stretch;
  min-width: 0;
  width: 100%;
  padding: 12px 12px 12px 14px;
  background: var(--platform-shell-sidebar-bg, #172534);
}

.dashboard-project-row-segment-publish {
  border-top-right-radius: calc(var(--radius-sm) - 1px);
  border-bottom-right-radius: calc(var(--radius-sm) - 1px);
}

.dashboard-project-list-item.is-publication-hidden:not(.is-management-hidden) .dashboard-project-row-segment-actions,
.dashboard-project-list-item.is-management-hidden.is-publication-hidden .dashboard-project-row-segment-updated {
  border-top-right-radius: calc(var(--radius-sm) - 1px);
  border-bottom-right-radius: calc(var(--radius-sm) - 1px);
}

.dashboard-project-row-detail.is-path {
  flex: 0 0 auto;
  margin-left: auto;
  min-width: 32px;
  overflow: visible;
  text-align: right;
}

.dashboard-project-row-link:hover {
  color: var(--platform-shell-sidebar-text, #f5f7fa);
  text-decoration: underline;
}

.dashboard-project-row-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.dashboard-project-row-toggle {
  margin-left: 4px;
  gap: 8px;
  flex-wrap: nowrap;
}

.dashboard-project-row-toggle .toggle-switch-label {
  color: var(--platform-shell-sidebar-text, #f5f7fa);
  font-size: 13px;
  white-space: nowrap;
}

.dashboard-project-duplicate-inline {
  padding: 0 14px 12px 188px;
}

.dashboard-project-list-item .project-delete-inline {
  background: var(--surface, #fff);
  border: 1px solid color-mix(in srgb, var(--danger, #d64545) 28%, var(--line, rgba(148, 163, 184, .35)));
  border-radius: 6px;
  box-shadow: 0 12px 28px rgba(15, 23, 42, .16);
  position: absolute;
  z-index: 25;
  top: 50%;
  left: calc(174px + var(--dashboard-project-title-width, 320px) + 126px);
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  white-space: nowrap;
}

.project-delete-inline .ui-button-danger {
  order: 3;
}

.project-delete-inline .ui-button-secondary {
  order: 2;
}

.project-delete-inline .ui-inline-confirm-message {
  order: 1;
}

.dashboard-project-list-item .project-delete-inline .ui-button-danger {
  margin-left: 0;
}

.dashboard-project-list-item .project-delete-inline .ui-button-secondary,
.dashboard-project-list-item .project-delete-inline .ui-inline-confirm-message {
  margin-left: 0;
  transform: none;
}

.button-compact {
  min-height: 30px;
  padding: 5px 12px;
  font-size: 13px;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.kpi-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.module-card {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.module-card-top {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.module-card-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.module-card-layout {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 18px;
  align-items: stretch;
}

.module-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
}

.module-card .module-icon.is-card {
  width: 100%;
  height: 100%;
  max-width: 168px;
  max-height: 168px;
}

.module-card-copy {
  min-width: 0;
  display: grid;
  gap: 10px;
}

.module-card-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 6px;
}

.module-card-subtitle {
  margin: 0;
  font-size: 16px;
  line-height: 1.35;
  color: var(--muted);
}

.module-card h3,
.panel h3,
.columns h3 {
  margin: 0;
  color: var(--panel-title-color);
  font-size: var(--panel-title-size);
}

.module-card-title-row,
.project-row-main {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.project-row-main-between {
  justify-content: space-between;
}

.module-card p,
.panel p,
.columns p,
.status-bar p {
  margin: 0;
}

.project-row-plain {
  padding: 0;
  border: none;
  background: transparent;
}

.module-card-actions,
.header-actions,
.status-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.module-overview-card {
  min-height: 375px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 61, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 24px rgba(21, 38, 61, 0.07);
}

.module-overview-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: #121b28;
}

.module-overview-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% 48%;
  transform: scale(1.12);
}

.module-overview-card-copy {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto minmax(0, 1fr) auto;
  min-height: 180px;
  gap: 9px;
  padding: 14px 16px;
  background: #fff;
}

.module-overview-card-title-row {
  grid-row: 2;
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.module-overview-card-icon {
  width: 32px;
  height: 32px;
  min-height: 32px;
  flex: 0 0 32px;
}

.module-overview-card-icon .module-icon.is-card {
  width: 32px;
  height: 32px;
}

.module-overview-card h3 {
  color: #15263d;
  font-size: 18px;
  line-height: 1.2;
  min-width: 0;
}

.module-overview-card .module-card-subtitle {
  grid-row: 3;
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  font-size: 13.5px;
  line-height: 1.4;
  color: #4f6480;
}

.module-overview-card-bottom {
  grid-row: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 2px;
}

.module-overview-card-meta {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  min-width: 0;
}

.module-overview-card-actions {
  margin-left: auto;
}

.module-overview-card-actions .button-primary {
  min-height: 32px;
  padding: 7px 14px;
  font-size: 13px;
}

.module-overview-card .doc-chip,
.module-overview-card .toggle-switch-label {
  font-size: 12px;
}

@media (max-width: 1180px) {
  .module-card-grid.module-overview-card-grid {
    grid-template-columns: repeat(2, minmax(0, 390px));
  }
}

@media (max-width: 920px) {
  .module-card-grid.module-overview-card-grid {
    grid-template-columns: repeat(2, minmax(0, 390px));
  }
}

@media (max-width: 840px) {
  .module-card-grid.module-overview-card-grid {
    grid-template-columns: 1fr;
  }
}

.module-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.85fr);
  gap: 18px;
}

.landing-hero-grid {
  align-items: stretch;
}

.page.landing-main-page {
  height: 100%;
  min-height: 100%;
}

.page-shell-body.landing-main-image-body {
  height: 100%;
  min-height: 0;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  align-content: stretch;
  gap: 0;
}

.landing-main-image-frame {
  position: relative;
  min-height: 0;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.landing-main-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-main-image-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: color-mix(in srgb, var(--sidebar-bg) 40%, transparent);
}

.landing-main-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-width: 0;
  padding: clamp(28px, 5vh, 72px) clamp(24px, 5vw, 80px);
  box-sizing: border-box;
  color: #fff;
  text-align: center;
  font-family: var(--font);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.landing-main-copy p,
.landing-main-copy h2 {
  margin: 0;
}

.landing-main-kicker {
  font-size: clamp(17px, 1.35vw, 23px);
  font-weight: 300;
  line-height: 1.2;
}

.landing-main-copy h2 {
  margin-top: clamp(14px, 2vh, 24px);
  font-size: clamp(48px, 5.8vw, 94px);
  font-weight: 500;
  line-height: 0.98;
}

.landing-main-copy p:not(.landing-main-kicker) {
  margin-top: clamp(14px, 1.8vh, 22px);
  font-size: clamp(16px, 1.35vw, 23px);
  font-weight: 300;
  line-height: 1.25;
}

.landing-main-copy .landing-main-final {
  font-size: clamp(54px, 7vw, 112px);
  white-space: nowrap;
}

.page.public-home-page {
  min-height: 100%;
  height: 100%;
}

.page-shell-body.public-home-body {
  min-height: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  display: block;
  background: #f5f7fa;
}

.public-home-header {
  position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
  background: var(--platform-shell-sidebar-bg);
  border-bottom: 1px solid color-mix(in srgb, var(--platform-shell-sidebar-text) 16%, transparent);
  backdrop-filter: blur(14px);
}

.public-home-header-inner {
  width: min(100% - 40px, 1024px);
  height: 62px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.public-home-brand {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  width: auto;
  height: 38px;
  flex: 0 0 auto;
  color: var(--platform-shell-sidebar-text);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.public-home-brand img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.public-home-brand:hover {
  color: #fff;
}

.public-home-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px, 2.2vw, 28px);
  min-width: 0;
}

.public-home-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.public-home-nav a,
.public-home-nav button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--platform-shell-sidebar-text);
  font: 700 14px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  padding: 6px 0;
}

.public-home-nav a:hover,
.public-home-nav button:hover {
  color: #fff;
}

.cookie-notice-v1 {
  width: 100%;
  padding: 12px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 18px;
  background: #eef3f7;
  border-bottom: 1px solid rgba(21, 38, 61, 0.12);
  color: #15263d;
  box-sizing: border-box;
}

.cookie-notice-v1-copy {
  width: min(100%, 760px);
  min-width: 0;
}

.cookie-notice-v1-copy strong {
  display: block;
  margin: 0 0 3px;
  font-size: 13px;
  line-height: 1.25;
}

.cookie-notice-v1-copy p {
  margin: 0;
  color: #51627a;
  font-size: 13px;
  line-height: 1.45;
}

.cookie-notice-v1-details {
  margin: 8px 0 0;
  padding-left: 18px;
  color: #51627a;
  font-size: 12px;
  line-height: 1.45;
}

.cookie-notice-v1-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  flex: 0 0 auto;
}

.public-home-module-menu-trigger::after {
  content: "";
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 7px;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  vertical-align: middle;
}

.public-home-module-flyout {
  position: absolute;
  top: calc(100% + 16px);
  right: 0;
  z-index: 30;
  min-width: 210px;
  display: grid;
  gap: 2px;
  padding: 10px;
  border: 1px solid color-mix(in srgb, var(--platform-shell-sidebar-text) 18%, transparent);
  border-radius: 8px;
  background: var(--platform-shell-sidebar-bg);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s ease;
}

.public-home-module-flyout::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -17px;
  height: 17px;
}

.public-home-module-menu:hover .public-home-module-flyout,
.public-home-module-menu:focus-within .public-home-module-flyout {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.public-home-module-flyout a {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 6px;
  color: var(--platform-shell-sidebar-text);
  white-space: nowrap;
}

.public-home-module-flyout a:hover,
.public-home-module-flyout a:focus-visible {
  background: color-mix(in srgb, var(--platform-shell-sidebar-text) 12%, transparent);
  color: #fff;
  outline: none;
}

.public-home-hero {
  position: relative;
  min-height: calc(100vh - 62px);
  width: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #121b28;
}

.public-home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.public-home-hero-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(18, 27, 40, 0.9) 0%, rgba(18, 27, 40, 0.7) 33%, rgba(18, 27, 40, 0.5) 50%, rgba(18, 27, 40, 0) 100%);
}

.public-home-hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 62px);
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.18);
}

.public-home-claim {
  width: min(100%, 1024px);
  min-width: 0;
  margin: 0 auto;
  padding: clamp(28px, 5vh, 72px) 0;
  box-sizing: border-box;
  transform: translateY(calc(clamp(150px, 22vh, 230px) - 60px));
}

.public-home-claim p,
.public-home-claim h2 {
  margin: 0;
}

.public-home-claim p {
  display: inline-block;
}

.public-home-claim-kicker {
  font-size: clamp(17px, 1.35vw, 23px);
  font-weight: 300;
  line-height: 1.2;
}

.public-home-claim h2 {
  margin-top: clamp(14px, 2vh, 24px);
  font-size: clamp(36px, 4.35vw, 71px);
  font-weight: 500;
  line-height: 0.98;
}

.public-home-claim p:not(.public-home-claim-kicker) {
  margin-top: clamp(6px, 0.9vh, 11px);
  font-size: clamp(16px, 1.35vw, 23px);
  font-weight: 300;
  line-height: 1.25;
}

.public-home-claim .public-home-claim-final {
  font-size: clamp(41px, 5.25vw, 84px);
  white-space: nowrap;
}

.public-home-claim .public-home-claim-service {
  margin-top: clamp(5px, 0.8vh, 10px);
  font-size: clamp(14px, 1.1vw, 18px);
  font-weight: 300;
  line-height: 1.35;
}

.public-home-main {
  width: min(100% - 40px, 1024px);
  margin: 0 auto;
  padding: 68px 0 86px;
  display: grid;
  gap: 92px;
}

.public-home-section {
  display: grid;
  gap: 24px;
  padding: 12px 0;
  scroll-margin-top: 82px;
}

.public-home-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.public-home-dim .public-home-section-layout {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 48px;
}

.public-home-section.is-media-left .public-home-section-layout {
  grid-template-columns: minmax(200px, 280px) minmax(0, 1fr);
}

.public-home-section-copy {
  display: grid;
  gap: 24px;
  min-width: 0;
  order: 1;
}

.public-home-section.is-media-left .public-home-section-copy {
  order: 2;
}

.public-home-section-media {
  margin: 0;
  width: 100%;
  max-width: 280px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #121b28;
  justify-self: center;
  order: 2;
}

.public-home-dim .public-home-section-media {
  width: 100%;
  max-width: none;
  min-height: 0;
  aspect-ratio: 1 / 1;
  align-self: center;
  order: 2;
  justify-self: stretch;
}

.public-home-section-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.public-home-section.is-media-left .public-home-section-media {
  order: 1;
}

.public-home-modules {
  position: relative;
  z-index: 0;
  width: 100%;
  margin: 0;
  padding: 64px 0 70px;
  box-sizing: border-box;
}

.public-home-modules::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: rgba(21, 38, 61, 0.035);
  border-top: 1px solid rgba(21, 38, 61, 0.08);
  border-bottom: 1px solid rgba(21, 38, 61, 0.08);
  z-index: -1;
}

.public-home-modules-inner {
  width: 100%;
  display: grid;
  gap: 24px;
}

.public-home-section-head {
  display: grid;
  gap: 8px;
  max-width: 760px;
}

.public-home-section-head p,
.public-home-section-head h2,
.public-home-about > p {
  margin: 0;
}

.public-home-section-head p {
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-home-section-head h2 {
  color: #15263d;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.05;
}

.public-home-text-block {
  max-width: 820px;
  display: grid;
  gap: 14px;
  color: #526174;
  font-size: 17px;
  line-height: 1.6;
}

.public-home-text-block p,
.public-home-text-block h3 {
  margin: 0;
}

.public-home-text-block h3 {
  margin-top: 10px;
  color: #15263d;
  font-size: 22px;
  line-height: 1.25;
}

.public-home-text-block strong {
  color: #15263d;
}

.public-home-text-block ul {
  margin: -4px 0 0;
  padding-left: 22px;
}

.public-home-text-block li {
  margin: 4px 0;
}

.public-home-module-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.public-home-module-card {
  min-height: 318px;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(21, 38, 61, 0.12);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(21, 38, 61, 0.08);
}

.public-home-module-card-media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #121b28;
}

.public-home-module-card-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 54% 48%;
  transform: scale(1.12);
}

.public-home-module-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
}

.public-home-module-icon .module-icon.is-card {
  width: 34px;
  height: 34px;
}

.public-home-module-copy {
  min-width: 0;
  padding: 18px 22px 14px;
}

.public-home-module-copy h3,
.public-home-module-copy p {
  margin: 0;
}

.public-home-module-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.public-home-module-copy h3 {
  color: #15263d;
  font-size: 20px;
  line-height: 1.2;
  min-width: 0;
}

.public-home-module-copy p,
.public-home-about > p {
  margin-top: 10px;
  color: #526174;
  font-size: 15px;
  line-height: 1.55;
}

.public-home-card-link {
  justify-self: start;
  margin: 0 22px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: #15263d;
  color: #fff;
  padding: 10px 16px;
  font: 800 13px/1 var(--font);
  cursor: pointer;
  text-decoration: none;
}

.public-home-card-link:hover {
  background: var(--accent);
}

.public-home-about {
  padding-bottom: 18px;
}

.public-module-main {
  width: 100%;
  margin: 0;
  padding: 0 0 86px;
  display: grid;
  gap: 54px;
}

.public-module-hero {
  position: relative;
  min-height: calc(100vh - 62px);
  width: 100%;
  overflow: clip;
  display: grid;
  align-content: end;
  box-sizing: border-box;
  padding: clamp(54px, 7vh, 96px) 0 clamp(48px, 10vh, 118px);
  background: #121b28;
  isolation: isolate;
}

.public-module-hero-image {
  background-image: var(--public-module-hero-image);
  background-position: center;
  background-size: cover;
}

.public-module-hero-shade {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(0deg, rgba(18, 27, 40, 0.9) 0%, rgba(18, 27, 40, 0) 33%);
}

.public-module-hero-content {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, 1024px);
  margin: 0 auto;
  display: grid;
  gap: 12px;
  justify-items: center;
  color: #fff;
  text-align: center;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.public-module-icon {
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  flex: 0 0 auto;
}

.public-module-icon .module-icon.is-card {
  width: clamp(48px, 5vw, 64px);
  height: clamp(48px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.18);
}

.public-module-title-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 2vw, 22px);
  min-width: 0;
}

.public-module-kicker {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.public-module-hero h1,
.public-module-hero p {
  margin: 0;
}

.public-module-hero h1 {
  color: #fff;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.98;
  min-width: 0;
}

.public-module-hero-content .public-module-description {
  max-width: 960px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
  line-height: 1.35;
  white-space: nowrap;
}

.public-module-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.public-module-actions .public-home-card-link,
.public-module-actions .public-module-secondary {
  min-height: 32px;
  box-sizing: border-box;
  margin: 0;
  padding: 0 17px;
  font-size: 13px;
  line-height: 1;
}

.public-module-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #15263d;
  font: 800 13px/1 var(--font);
  cursor: pointer;
}

.public-module-secondary:hover {
  border-color: #fff;
  background: #fff;
}

.public-module-section {
  width: min(100% - 40px, 1024px);
  margin: 0 auto;
  display: grid;
  gap: 22px;
  padding-top: 42px;
  border-top: 1px solid rgba(21, 38, 61, 0.12);
}

.public-module-section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  align-items: center;
  gap: clamp(28px, 5vw, 58px);
}

.public-module-section-teaser {
  margin: 0 0 14px;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #121b28;
}

.public-module-section-teaser video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.public-module-section.is-media-left .public-module-section-layout {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.public-module-section-copy {
  display: grid;
  gap: 22px;
  min-width: 0;
  order: 1;
}

.public-module-section.is-media-left .public-module-section-copy {
  order: 2;
}

.public-module-section-media {
  margin: 0;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 8px;
  background: #121b28;
  justify-self: center;
  order: 2;
}

.public-module-section-media.is-icon {
  display: grid;
  place-items: center;
  background: transparent;
}

.public-module-section-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.public-module-section-media.is-icon img {
  width: 46%;
  height: 46%;
  object-fit: contain;
}

.public-module-section.is-media-left .public-module-section-media {
  order: 1;
}

.public-module-hero .public-home-card-link {
  background: #fff;
  color: #15263d;
}

.public-module-hero .public-home-card-link:hover {
  background: var(--accent);
  color: #fff;
}

@media (max-width: 900px) {
  .public-home-section-layout,
  .public-home-dim .public-home-section-layout,
  .public-home-section.is-media-left .public-home-section-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-home-section-media,
  .public-home-section.is-media-left .public-home-section-media {
    order: 0;
    max-width: 420px;
  }

  .public-home-dim .public-home-section-media {
    max-width: 420px;
    min-height: 0;
    aspect-ratio: 1 / 1;
    justify-self: center;
  }

  .public-module-section-layout,
  .public-module-section.is-media-left .public-module-section-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .public-module-section-media,
  .public-module-section.is-media-left .public-module-section-media {
    order: 0;
    max-width: 420px;
  }

  .public-module-hero {
    min-height: min(700px, calc(86svh - 62px));
    padding: clamp(44px, 6vh, 72px) 0 clamp(36px, 7vh, 72px);
  }

  .public-module-main {
    gap: 40px;
    padding-bottom: 70px;
  }

  .public-module-section {
    padding-top: 30px;
  }

  .public-module-hero-content .public-module-description {
    white-space: normal;
  }

  .landing-main-copy .landing-main-final {
    white-space: normal;
  }

  .public-home-claim .public-home-claim-final {
    white-space: normal;
  }

  .public-home-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .public-home-header-inner,
  .public-home-main,
  .public-module-hero-content,
  .public-module-section {
    width: min(100% - 28px, 1024px);
  }

  .public-home-header-inner {
    gap: 10px;
  }

  .public-home-brand {
    min-width: 0;
    max-width: calc(100% - 142px);
    gap: 8px;
    font-size: 16px;
  }

  .public-home-brand span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .public-home-brand img {
    width: 34px;
    height: 34px;
  }

  .public-home-nav {
    gap: 14px;
    flex: 0 0 auto;
  }

  .public-home-nav a,
  .public-home-nav button {
    font-size: 13px;
  }

  .public-home-nav > a[data-public-anchor="dim"],
  .public-home-nav > a[data-public-anchor="about"] {
    display: none;
  }

  .public-home-module-flyout {
    position: fixed;
    top: 62px;
    left: 14px;
    right: 14px;
    min-width: 0;
    width: auto;
    max-height: calc(100svh - 82px);
    overflow: auto;
  }

  .cookie-notice-v1 {
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 14px;
  }

  .cookie-notice-v1-copy strong {
    font-size: 12px;
  }

  .cookie-notice-v1-copy p {
    font-size: 12px;
    line-height: 1.35;
  }

  .cookie-notice-v1-actions {
    align-items: stretch;
  }

  .cookie-notice-v1-actions .button-secondary,
  .cookie-notice-v1-actions .button-primary {
    min-height: 40px;
    padding: 0 14px;
  }

  .public-home-hero,
  .public-home-hero-inner {
    min-height: min(720px, calc(100svh - 62px));
  }

  .public-home-hero-inner {
    align-items: center;
  }

  .public-home-claim {
    transform: none;
    padding: 32px 0 28px;
  }

  .public-home-main {
    padding: 46px 0 64px;
    gap: 64px;
  }

  .public-home-modules {
    padding: 44px 0 50px;
  }

  .public-home-module-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .public-home-module-card {
    min-height: 0;
  }

  .public-module-hero {
    min-height: min(590px, calc(76svh - 0px));
    padding: 34px 0 42px;
  }

  .public-module-hero-content {
    gap: 10px;
  }

  .public-module-title-row {
    gap: 12px;
  }

  .public-module-icon,
  .public-module-icon .module-icon.is-card {
    width: 44px;
    height: 44px;
  }

  .public-module-hero h1 {
    font-size: clamp(36px, 10vw, 44px);
    line-height: 1;
  }

  .public-module-hero-content .public-module-description {
    font-size: 17px;
    line-height: 1.3;
  }

  .public-module-main {
    gap: 34px;
    padding-bottom: 58px;
  }

  .public-module-section {
    padding-top: 24px;
    gap: 18px;
  }

  .public-module-section-layout,
  .public-module-section.is-media-left .public-module-section-layout {
    gap: 24px;
  }

  .public-module-section-media,
  .public-module-section.is-media-left .public-module-section-media {
    max-width: min(78vw, 320px);
  }

  .public-home-module-copy {
    padding: 14px 16px 12px;
  }

  .public-home-card-link {
    margin: 0 16px 16px;
  }

  .public-home-claim h2 {
    font-size: 35px;
  }

  .public-home-claim .public-home-claim-final {
    font-size: 39px;
  }
}

@media (max-width: 560px) {
  .cookie-notice-v1 {
    flex-direction: column;
  }

  .cookie-notice-v1-actions {
    justify-content: flex-start;
  }

  .public-home-module-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 390px) {
  .public-home-brand {
    max-width: calc(100% - 132px);
  }

  .public-home-nav {
    gap: 10px;
  }
}

.hero-card {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--surface) 0%, var(--surface-soft) 100%);
  box-shadow: var(--shadow);
}

.hero-card-copy {
  min-width: 0;
}

.hero-card-layout {
  display: block;
}

.hero-visual {
  min-height: 180px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at top right, var(--surface-hero-accent), transparent 38%),
    linear-gradient(160deg, var(--surface-hero-top) 0%, var(--surface-hero-bottom) 100%);
  box-shadow: var(--shadow);
  color: var(--muted);
  text-align: center;
  padding: 20px;
}

.landing-hero-visual-copy {
  display: grid;
  gap: 16px;
  width: 100%;
}

.landing-context-grid {
  width: 100%;
}

.action-tile {
  display: grid;
  gap: var(--space-3);
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.public-demo-panel {
  border-style: dashed;
  background:
    radial-gradient(circle at top right, var(--surface-hero-accent), transparent 32%),
    linear-gradient(160deg, var(--surface) 0%, var(--surface-soft) 100%);
}

.step-list,
.recent-projects {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.step-item,
.recent-project {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  box-shadow: var(--shadow);
}

.project-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.project-assignment-controls {
  display: grid;
  gap: 5px;
  min-width: 0;
  width: 230px;
}

.project-customer-assign {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  min-width: 0;
  height: 30px;
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  line-height: 1;
}

.project-customer-assign span {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  height: 30px;
}

.project-customer-assign select {
  display: block;
  width: 100%;
  min-width: 0;
  max-width: none;
  height: 30px;
  padding: 0 28px 0 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  font: inherit;
}

.project-owner-assign select {
  min-width: 0;
  max-width: none;
}

.project-icon-btn {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  color: var(--text);
  box-shadow: none;
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  position: relative;
  transition: background 100ms ease, border-color 100ms ease, color 100ms ease;
}

.project-icon-btn-glyph {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transform: translateY(-1px);
}

.project-icon-btn-img {
  display: block;
  width: 20px;
  height: 20px;
  object-fit: contain;
  pointer-events: none;
}

.project-icon-btn-img.is-rename {
  width: 28px;
  height: 28px;
}

.project-icon-btn.is-transparent,
.project-icon-btn.is-danger {
  border-color: transparent;
  background: transparent;
}

.project-icon-btn.is-danger {
  color: #c62828;
  font-size: 22px;
  font-weight: 800;
}

.project-icon-btn:hover,
.project-icon-btn:focus-visible {
  background: color-mix(in srgb, var(--text) 6%, var(--surface));
  border-color: color-mix(in srgb, var(--text) 16%, var(--line));
}

.project-icon-btn.is-transparent:hover,
.project-icon-btn.is-transparent:focus-visible,
.project-icon-btn.is-danger:hover,
.project-icon-btn.is-danger:focus-visible {
  background: transparent;
  border-color: transparent;
  filter: brightness(0.92);
}

.project-icon-btn[data-instant-tooltip]::after {
  content: attr(data-instant-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  background: rgba(12, 20, 29, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 80ms ease;
  z-index: 30;
}

.project-icon-btn[data-instant-tooltip]:hover::after,
.project-icon-btn[data-instant-tooltip]:focus-visible::after {
  opacity: 1;
}

.project-duplicate-inline {
  margin-top: var(--space-3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.step-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--radius-pill);
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 13px;
  font-weight: 700;
  flex: 0 0 auto;
}

.step-body {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}


[data-dev-panel="use-case-report-status"] {
  max-height: calc(100vh - 220px);
}

[data-dev-panel="use-case-report-status"] .panel-scroll-body {
  min-height: 0;
}

.document-preview-frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 420px;
  border: 1px solid var(--line);
  border-radius: var(--radius-surface);
  overflow: hidden;
  background: var(--surface);
}

.document-preview-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: #fff;
}

.context-panel {
  min-width: 0;
}

.context-panel-stacked {
  padding-top: 0;
}


.preview-frame {
  margin-top: var(--space-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--surface);
}

.preview-frame iframe {
  width: 100%;
  min-height: 560px;
  border: 0;
  display: block;
}

.workspace-board {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.workspace-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.workspace-shell {
  padding: 18px 20px;
}

.workspace-app-page {
  display: grid;
  gap: 18px;
  min-height: 0;
}

.workspace-app-page.page-module {
  grid-template-rows: minmax(0, 1fr);
  height: 100%;
}

.workspace-app-page.page-module > .page-shell-body.page-shell-body-workspace-app {
  min-height: 0;
  height: 100%;
}

.workspace-app-page-immersive {
  gap: 0;
}

.workspace-app-host {
  display: grid;
  gap: 16px;
  min-height: calc(100vh - 148px);
  min-width: 0;
  grid-template-rows: minmax(0, 1fr);
  overflow: auto;
}

.workspace-app-host.is-scroll-panels {
  overflow: hidden;
  align-content: stretch;
}

.workspace-app-host.is-doc-input-workspace {
  min-height: 0;
  height: 100%;
}

.workspace-app-host.is-doc-layout-workspace {
  min-height: 0;
  height: 100%;
}

.workspace-app-host.is-report-preview {
  min-height: 0;
  width: 100%;
  grid-template-rows: auto;
  overflow: hidden;
}

.workspace-app-host-immersive {
  min-height: calc(100vh - 148px);
}

.project-icon-btn.project-icon-btn-compact {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  font-size: 14px;
}

.project-icon-btn.project-icon-btn-compact.is-danger {
  font-size: 18px;
}

.project-icon-btn.project-icon-btn-compact .project-icon-btn-img {
  width: 18px;
  height: 18px;
}

.dol-editor-pane {
  display: grid;
  gap: 14px;
}

.dol-editor-meta,
.dol-editor-block-list {
  display: grid;
  gap: 12px;
}

.dol-editor-block {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: color-mix(in srgb, var(--surface) 88%, transparent);
}

.dol-editor-block-toolbar,
.dol-editor-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.dol-editor-block-actions {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dol-editor-block-title {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}

.dol-editor-block-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dol-editor-block-textarea {
  min-height: 120px;
}

.dol-document-editor-frame .use-case-report-preview-canvas {
  padding-bottom: 0;
}

.dol-rich-editor-frame {
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

.dol-rich-editor-workspace {
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  grid-template-columns: var(--dol-editor-toc-width, 280px) minmax(0, 1fr);
  gap: 0;
}

.dol-rich-editor-workspace.is-toc-hidden {
  grid-template-columns: minmax(0, 1fr);
}

.dol-rich-editor-workspace.is-text-settings-visible {
  grid-template-columns: calc((100% - (var(--panel-gap) * 2)) / 3) minmax(0, 1fr);
}

.dol-rich-editor-main {
  grid-column: 2;
  grid-row: 2;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
}

.dol-editor-toc {
  --dol-editor-toc-width: 280px;
  grid-column: 1;
  grid-row: 2;
  position: relative;
  min-width: 0;
  min-height: 0;
  height: 100%;
  display: grid;
  grid-template-rows: minmax(0, 1fr);
  gap: 0;
  padding: 0;
  background: var(--page-bg);
  color: var(--text);
  overflow: hidden;
  align-self: stretch;
}

.dol-editor-text-settings-panel.workspace-panel[data-panel-span="third"] {
  grid-column: 1;
  grid-row: 2;
  width: calc(100% - 14px);
  max-width: none;
  flex-basis: 100%;
  height: calc(100% - 14px);
  max-height: none;
  min-height: 0;
  align-self: stretch;
  margin-left: 14px;
  margin-bottom: 14px;
  box-sizing: border-box;
}

.dol-editor-text-settings-panel .panel-scroll-body {
  min-height: 0;
  overflow-y: auto;
}

.dol-editor-toc-body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  display: grid;
  align-content: start;
  gap: 2px;
  padding: 16px 14px 18px 16px;
}

.dol-editor-toc-resize-handle {
  position: absolute;
  top: 0;
  right: -4px;
  width: 8px;
  height: 100%;
  cursor: col-resize;
  z-index: 3;
  touch-action: none;
}

.dol-editor-toc-item {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr);
  align-items: start;
  column-gap: 6px;
}

.dol-editor-toc-item.is-hidden {
  display: none;
}

.dol-editor-toc-item.is-level-2 {
  margin-left: 16px;
}

.dol-editor-toc-item.is-level-3 {
  margin-left: 32px;
}

.dol-editor-toc-toggle {
  width: 16px;
  min-width: 16px;
  height: 24px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--muted);
  font-size: 11px;
  line-height: 1;
  cursor: pointer;
}

.dol-editor-toc-toggle:hover {
  color: var(--text);
}

.dol-editor-toc-toggle.is-placeholder {
  display: block;
}

.dol-editor-toc-link {
  min-width: 0;
  border: 0;
  border-radius: 10px;
  padding: 3px 8px;
  background: transparent;
  color: var(--text);
  font-size: 14px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dol-editor-toc-item.is-level-1 .dol-editor-toc-link {
  color: var(--text);
}

.dol-editor-toc-item.is-level-2 .dol-editor-toc-link,
.dol-editor-toc-item.is-level-3 .dol-editor-toc-link {
  font-size: 13px;
}

.dol-editor-toc-link:hover,
.dol-editor-toc-link:focus-visible {
  background: color-mix(in srgb, var(--text) 8%, transparent);
  color: var(--text);
  outline: none;
}

.dol-editor-toc-item.is-active .dol-editor-toc-link {
  background: color-mix(in srgb, var(--text) 12%, transparent);
  color: var(--text);
}

.dol-rich-editor-main {
  padding-left: 18px;
}

.dol-editor-toc-empty {
  padding: 6px 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.dol-rich-editor-toolbar {
  grid-column: 1 / -1;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 16px;
  row-gap: 10px;
  padding: 12px 18px 12px 16px;
}

.dol-rich-editor-toolbar-group {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.dol-rich-editor-toolbar-group.is-left {
  justify-self: start;
}

.dol-rich-editor-toolbar-group.is-center {
  min-width: 0;
  justify-self: center;
  justify-content: center;
}

.dol-rich-editor-toolbar-group.is-right {
  justify-self: end;
}

.dol-rich-editor-spellcheck-toggle {
  margin-right: 6px;
}

.dol-rich-editor-line-grid-toggle {
  margin-right: 8px;
}

.dol-rich-editor-toc-toggle {
  margin-right: 8px;
}

.dol-rich-editor-text-settings-toggle {
  margin-right: 8px;
}

.dol-rich-editor-text-settings-toggle .toggle-switch-label,
.dol-rich-editor-toc-toggle .toggle-switch-label,
.dol-rich-editor-spellcheck-toggle .toggle-switch-label,
.dol-rich-editor-line-grid-toggle .toggle-switch-label {
  font-size: 12px;
  white-space: nowrap;
}

.dol-rich-editor-tool {
  min-width: 34px;
  padding: 6px 10px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, white);
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 94%, white);
  color: color-mix(in srgb, var(--text) 82%, var(--muted));
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.dol-rich-editor-tool.is-active {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--accent);
}

.dol-rich-editor-tool.is-zoom-label {
  min-width: 64px;
}

.dol-debug-copy-pill {
  min-width: auto;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 12px;
}

.dol-debug-copy-pill[disabled] {
  opacity: 0.55;
  cursor: default;
}

.dol-document-editor-frame .use-case-report-preview-canvas.is-rich-editor {
  align-items: start;
  position: relative;
}

.dol-rich-editor-main .use-case-report-preview-canvas.is-rich-editor {
  height: 100%;
}

.dol-rich-editor-workspace.is-toc-hidden .dol-rich-editor-main {
  grid-column: 1 / -1;
}

.dol-document-editor-page.is-rich-editor {
  height: var(--report-page-height, 1122px);
  min-height: var(--report-page-height, 1122px);
  max-height: var(--report-page-height, 1122px);
  overflow: hidden;
}

.dol-document-editor-page.is-rich-editor .use-case-report-preview-page-body {
  min-height: 0;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}

.dol-document-editor-section {
  width: 100%;
  height: auto;
  min-height: 0;
  display: grid;
  align-content: start;
}

.dol-document-editor-body {
  display: block;
}

.dol-rich-editor {
  --dol-row-height: var(--dol-grid-row-height, 24px);
  --dol-row-height-double: calc(var(--dol-row-height) * 2);
  --dol-list-marker-column: max(16px, calc(var(--dol-row-height) * 1));
  --dol-list-indent-step: max(14px, calc(var(--dol-row-height) * 0.833333));
  --dol-list-marker-gap: max(3px, calc(var(--dol-row-height) * 0.166667));
  --dol-textarea-extra: max(2px, calc(var(--dol-row-height) * 0.16));
  --dol-textarea-extra-tight: max(1px, calc(var(--dol-row-height) * 0.08));
  width: 100%;
  height: 100%;
  min-height: 100%;
  outline: none;
  caret-color: #0b2742;
  color: #111111;
  font-size: 11pt;
  line-height: var(--dol-row-height);
  font-family: var(--report-font-family, var(--font));
  box-sizing: border-box;
  overflow: hidden;
  position: relative;
  z-index: 2;
}

.dol-rich-editor::selection,
.dol-rich-editor *::selection {
  background: rgba(79, 144, 226, 0.28);
  color: inherit;
}

.dol-rich-editor[data-dol-rich-selection-span="true"],
.dol-rich-editor[data-dol-rich-select-all="true"] {
  background: linear-gradient(
    to bottom,
    rgba(79, 144, 226, 0.08),
    rgba(79, 144, 226, 0.08)
  );
}

.dol-rich-editor[data-dol-line-grid="true"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(140, 148, 160, 0) 0,
    rgba(140, 148, 160, 0) calc(var(--dol-row-height) - 1px),
    rgba(140, 148, 160, 0.28) calc(var(--dol-row-height) - 1px),
    rgba(140, 148, 160, 0.28) var(--dol-row-height)
  );
  background-position: left top;
  background-size: 100% var(--dol-row-height);
}

.dol-rich-editor > *:first-child {
  margin-top: 0;
}

.dol-rich-editor > *:last-child {
  margin-bottom: 0;
}

.dol-rich-editor {
  display: grid;
  align-content: start;
  grid-auto-rows: max-content;
}

.dol-rich-editor.is-continuous {
  display: block;
  height: auto;
  min-height: var(--report-content-height, 903px);
  overflow: visible;
  padding: 0;
}

.dol-rich-editor-block-fragment {
  display: flow-root;
  position: relative;
  z-index: 1;
}

.dol-rich-editor-preview > .dol-rich-editor-block-fragment {
  min-height: calc(var(--dol-row-height) * var(--dol-block-row-span, 1));
  max-height: calc(var(--dol-row-height) * var(--dol-block-row-span, 1));
  overflow: hidden;
}

.dol-rich-editor-preview > .dol-rich-editor-block-fragment[data-dol-gap-before="true"] {
  margin-top: calc(var(--dol-row-height) * var(--dol-block-gap-rows, 1));
}

.dol-rich-editor-block-fragment > *:first-child {
  margin-top: 0;
}

.dol-rich-editor-block-fragment > *:last-child {
  margin-bottom: 0;
}

.dol-rich-editor p {
  margin: 0 0 var(--dol-row-height);
  min-height: var(--dol-row-height);
  line-height: var(--dol-row-height);
  font-size: var(--report-body-size, 11pt);
  font-weight: var(--report-body-weight, 400);
  font-family: var(--report-font-family, var(--font));
}

.dol-rich-editor p:has(> br:only-child) {
  margin-bottom: 0;
  min-height: var(--dol-row-height);
}

.dol-rich-editor:not(.dol-rich-editor-preview) .dol-rich-editor-block-fragment[data-dol-gap-before="true"] {
  margin-top: var(--dol-row-height);
}

.dol-rich-editor h1,
.dol-rich-editor h2,
.dol-rich-editor h3 {
  margin: 0 0 var(--dol-row-height);
  font-family: var(--report-title-font-family, var(--report-font-family, var(--font)));
  overflow-wrap: anywhere;
}

.dol-rich-editor h1 {
  font-size: var(--report-h1-size, 24pt);
  font-weight: var(--report-h1-weight, 700);
  line-height: var(--dol-row-height-double);
  min-height: var(--dol-row-height-double);
}

.use-case-report-preview-flow-measure-root .use-case-report-preview-page,
.use-case-report-preview-flow-measure-root .use-case-report-preview-page-body,
.use-case-report-preview-flow-measure-root .dol-document-editor-body,
.use-case-report-preview-flow-measure-root .dol-rich-editor {
  zoom: 1 !important;
}

.use-case-report-preview-flow-measure-root .dol-rich-editor {
  min-height: 0;
}

.use-case-report-preview-flow-measure-root .dol-rich-editor-list-item-measure {
  display: block;
  width: 100%;
  padding-left: calc(1.5em + (var(--dol-list-measure-depth, 0) * 1.5em));
  box-sizing: border-box;
  line-height: var(--dol-row-height);
}

.use-case-report-preview-flow-measure-root .dol-rich-editor-list-item-measure > p,
.use-case-report-preview-flow-measure-root .dol-rich-editor-list-item-measure > h1,
.use-case-report-preview-flow-measure-root .dol-rich-editor-list-item-measure > h2,
.use-case-report-preview-flow-measure-root .dol-rich-editor-list-item-measure > h3 {
  margin: 0;
}

.dol-rich-editor h2 {
  font-size: var(--report-h2-size, 18pt);
  font-weight: var(--report-h2-weight, 700);
  line-height: var(--dol-row-height-double);
  min-height: var(--dol-row-height-double);
}

.dol-rich-editor h3 {
  font-size: var(--report-h3-size, 14pt);
  font-weight: var(--report-h3-weight, 700);
  line-height: var(--dol-row-height);
  min-height: var(--dol-row-height);
}

.dol-rich-editor ul,
.dol-rich-editor ol {
  margin: 0 0 var(--dol-row-height);
  padding-left: 1.5em;
  line-height: var(--dol-row-height);
}

.dol-rich-editor ul {
  font-size: var(--report-bullet-size, 11pt);
  font-weight: var(--report-bullet-weight, 400);
  font-family: var(--report-font-family, var(--font));
}

.dol-rich-editor ol {
  font-size: var(--report-ordered-size, 11pt);
  font-weight: var(--report-ordered-weight, 400);
  font-family: var(--report-font-family, var(--font));
}

.dol-rich-editor ul {
  list-style-type: disc;
}

.dol-rich-editor ul ul {
  list-style-type: circle;
}

.dol-rich-editor ul ul ul {
  list-style-type: square;
}

.dol-rich-editor ul ul ul ul,
.dol-rich-editor ul ul ul ul ul {
  list-style-type: disc;
}

.dol-rich-editor ol {
  list-style-type: decimal;
}

.dol-rich-editor ol ol {
  list-style-type: lower-alpha;
}

.dol-rich-editor ol ol ol {
  list-style-type: lower-roman;
}

.dol-rich-editor ol ol ol ol,
.dol-rich-editor ol ol ol ol ol {
  list-style-type: decimal;
}

.dol-rich-editor ul[data-dol-list-fragment="true"],
.dol-rich-editor ol[data-dol-list-fragment="true"] {
  margin: 0;
}

.dol-rich-editor ul[data-dol-list-fragment="true"] + ul[data-dol-list-fragment="true"],
.dol-rich-editor ol[data-dol-list-fragment="true"] + ol[data-dol-list-fragment="true"] {
  margin-top: 0;
}

.dol-rich-editor li + li {
  margin-top: 0;
}

.dol-rich-editor li > ul,
.dol-rich-editor li > ol {
  margin: 0;
}

.dol-rich-editor li > p {
  margin: 0;
  min-height: var(--dol-row-height);
  line-height: var(--dol-row-height);
}

.dol-rich-editor li > .dol-rich-editor-list-item-copy {
  display: block;
  min-height: var(--dol-row-height);
  line-height: var(--dol-row-height);
}

.dol-rich-editor ul > li,
.dol-rich-editor ul > li > .dol-rich-editor-list-item-copy,
.dol-rich-editor ul > li > p {
  font-size: var(--report-bullet-size, 11pt);
  font-weight: var(--report-bullet-weight, 400);
}

.dol-rich-editor ol > li,
.dol-rich-editor ol > li > .dol-rich-editor-list-item-copy,
.dol-rich-editor ol > li > p {
  font-size: var(--report-ordered-size, 11pt);
  font-weight: var(--report-ordered-weight, 400);
}

.dol-rich-editor a,
.dol-rich-editor [data-dol-editor-link="true"] {
  font-size: var(--report-link-size, var(--report-body-size, 11pt));
  font-weight: var(--report-link-weight, var(--report-body-weight, 400));
}

.dol-document-editor-body.is-doc-online-slice {
  display: block;
  overflow: hidden;
}

.dol-document-editor-body.is-doc-online-slice .dol-rich-editor-preview-slice {
  position: relative;
  width: 100%;
  height: var(--report-content-height, 903px);
  overflow: hidden;
}

.dol-document-editor-body.is-doc-online-slice .dol-rich-editor-preview-source {
  display: block;
  position: absolute;
  top: var(--dol-preview-slice-offset, 0px);
  left: 0;
  right: 0;
  min-height: var(--dol-preview-source-min-height, var(--report-content-height, 903px));
  padding: 0;
  overflow: visible;
}

.dol-document-block-list {
  display: grid;
  gap: 10px;
  width: 100%;
}

.dol-document-block {
  width: 100%;
}

.dol-document-block.is-active {
  position: relative;
  padding: 2.5mm 3mm;
  border: 1px solid color-mix(in srgb, var(--accent) 18%, var(--line));
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--surface-soft) 52%, white);
}

.dol-document-block.is-frozen {
  padding: 1.2mm 0;
}

.dol-document-block-activate {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: inherit;
  cursor: text;
}

.dol-document-block-editor {
  display: grid;
  gap: 6px;
}

.dol-document-block-inline-tools {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.dol-document-block-inline-buttons {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.dol-document-block-inline-tool {
  min-width: 30px;
  padding: 2px 6px;
  border: 1px solid color-mix(in srgb, var(--line) 88%, white);
  border-radius: var(--radius-micro);
  background: color-mix(in srgb, var(--surface) 92%, white);
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.dol-document-block-inline-tool.is-active {
  border-color: color-mix(in srgb, var(--accent) 34%, var(--line));
  background: color-mix(in srgb, var(--accent) 10%, white);
  color: var(--accent);
}

.dol-document-block-editor-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(8, 25, 46, 0.52);
  text-align: right;
}

.dol-document-block-textarea {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: calc(var(--dol-row-height) + var(--dol-textarea-extra));
  border: 0 !important;
  background: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
  resize: none;
  overflow: hidden;
  color: #111111;
  font-size: 11pt;
  line-height: var(--dol-row-height);
  font-family: var(--report-font-family, var(--font));
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

.dol-document-block-textarea:hover,
.dol-document-block-textarea:focus,
.dol-document-block-textarea:focus-visible {
  border: 0 !important;
  background: transparent !important;
  outline: 0 !important;
  box-shadow: none !important;
}

.dol-document-block-textarea.is-heading {
  font-size: var(--report-h2-size, var(--report-section-title-size));
  font-weight: var(--report-h2-weight, 700);
  line-height: var(--dol-row-height-double);
}

.dol-document-block-textarea::placeholder {
  color: rgba(8, 25, 46, 0.34);
}

.dol-document-list-editor,
.dol-document-list-frozen {
  display: grid;
  gap: var(--dol-row-height);
  width: 100%;
}

.dol-document-list-editor-shell {
  display: block;
  width: 100%;
}

.dol-document-list-editor-lines {
  display: grid;
  gap: 0;
  width: 100%;
}

.dol-document-list-item {
  --dol-list-level: 0;
  display: grid;
  grid-template-columns: var(--dol-list-marker-column) minmax(0, 1fr);
  gap: var(--dol-list-marker-gap);
  align-items: start;
  min-height: var(--dol-row-height);
  line-height: var(--dol-row-height);
  padding-left: calc(var(--dol-list-level, 0) * var(--dol-list-indent-step));
}

.dol-document-list-item.is-frozen {
  width: 100%;
}

.dol-document-list-item-marker {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: var(--dol-row-height);
  padding-top: 0;
  color: rgba(8, 25, 46, 0.72);
  line-height: var(--dol-row-height);
}

.use-case-report-print-document-list .dol-document-list-item-marker {
  font-size: var(--report-bullet-size, 11pt);
  font-weight: var(--report-bullet-weight, 400);
}

.use-case-report-print-document-list .dol-document-list-item-marker.is-decimal,
.use-case-report-print-document-list .dol-document-list-item-marker.is-alpha,
.use-case-report-print-document-list .dol-document-list-item-marker.is-roman {
  font-size: var(--report-ordered-size, 11pt);
  font-weight: var(--report-ordered-weight, 400);
}

.dol-document-list-item-marker.is-roman {
  font-variant-caps: all-small-caps;
  letter-spacing: 0.04em;
}

.dol-document-list-item-copy {
  min-width: 0;
  min-height: var(--dol-row-height);
  line-height: var(--dol-row-height);
  font-family: var(--report-font-family, var(--font));
  color: #111111;
}

.use-case-report-print-document-list .dol-document-list-item-copy {
  font-size: var(--report-bullet-size, 11pt);
  font-weight: var(--report-bullet-weight, 400);
}

.use-case-report-print-document-list .dol-document-list-item.is-frozen .dol-document-list-item-marker.is-decimal ~ .dol-document-list-item-copy,
.use-case-report-print-document-list .dol-document-list-item.is-frozen .dol-document-list-item-marker.is-alpha ~ .dol-document-list-item-copy,
.use-case-report-print-document-list .dol-document-list-item.is-frozen .dol-document-list-item-marker.is-roman ~ .dol-document-list-item-copy {
  font-size: var(--report-ordered-size, 11pt);
  font-weight: var(--report-ordered-weight, 400);
}

.dol-document-list-item-copy.is-empty {
  color: rgba(8, 25, 46, 0.4);
}

.dol-document-list-item-textarea {
  min-height: calc(var(--dol-row-height) + var(--dol-textarea-extra-tight));
  line-height: var(--dol-row-height);
  border-radius: 0;
}

.workspace-tabbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.page-header-nav :is(.workspace-tabbar, .module-nav-inline) > button {
  height: 32px;
  min-height: 32px;
  padding: 0 14px;
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  box-shadow: none;
  color: var(--sidebar-text);
  opacity: 1;
  font-size: 15px;
  font-weight: 400;
  letter-spacing: 0.01em;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  line-height: 1;
  text-align: left;
}

.page-header-nav :is(.workspace-tabbar, .module-nav-inline) > button:hover {
  color: var(--sidebar-text);
  background: color-mix(in srgb, var(--sidebar-text) 8%, transparent);
  box-shadow: none;
}

.page-header-nav :is(.workspace-tabbar, .module-nav-inline) > button.is-active {
  color: var(--sidebar-text);
  background: color-mix(in srgb, var(--sidebar-text) 12%, transparent);
  border-radius: var(--radius-sm);
  box-shadow: none;
}

.page-header-nav :is(.workspace-tabbar, .module-nav-inline) > button[data-instant-tooltip] {
  position: relative;
}

.page-header-nav :is(.workspace-tabbar, .module-nav-inline) > button[data-instant-tooltip]::after {
  content: attr(data-instant-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  transform: translateX(-50%);
  padding: 6px 8px;
  border-radius: var(--radius-xs);
  background: rgba(12, 20, 29, 0.94);
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 80ms ease;
}

.page-header-nav :is(.workspace-tabbar, .module-nav-inline) > button[data-instant-tooltip]:hover::after,
.page-header-nav :is(.workspace-tabbar, .module-nav-inline) > button[data-instant-tooltip]:focus-visible::after {
  opacity: 1;
}

.workspace-column {
  display: grid;
  gap: 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.workspace-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
}

.workspace-card h4,
.evaluation-tile h4,
.schema-row h4 {
  margin: 0 0 8px;
  font-size: 15px;
}

.evaluation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.evaluation-tile,
.schema-row {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
}

.schema-list {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.settings-stack {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.settings-layout {
  display: grid;
  grid-template-columns: minmax(0, 680px);
  align-items: start;
  justify-content: start;
  width: 100%;
  min-height: 0;
}

.customer-settings-panel {
  width: 100%;
  max-width: none;
  min-height: 0;
  max-height: calc(100dvh - var(--shell-header-height, 92px) - 48px);
  overflow-y: auto;
  height: auto;
  align-self: start;
}

.customer-settings-section {
  margin-top: 12px;
}

.settings-user-profile-form {
  display: grid;
  gap: 14px;
}

.settings-user-profile-form .inline-actions {
  justify-content: flex-start;
}

.user-profile-password-control {
  align-items: center;
  display: grid;
  gap: 10px;
  grid-template-columns: minmax(0, 1fr) max-content;
  grid-column: 2;
  min-width: 0;
}

.user-profile-password-field {
  align-items: start;
}

.user-profile-password-field > label {
  padding-top: 9px;
}

.user-profile-password-visibility-button {
  min-height: 34px;
  padding-inline: 12px;
  white-space: nowrap;
}

.user-profile-password-actions {
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  grid-column: 2;
  justify-content: flex-start;
  margin-left: 0;
  margin-top: 8px;
}

.user-profile-password-actions.is-hidden {
  display: none;
}

.user-profile-password-action-button {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  line-height: 1;
  min-height: 32px;
  padding: 7px 12px;
  white-space: nowrap;
  width: auto;
}

.customer-publish-access-panel {
  display: grid;
  gap: 18px;
  align-content: start;
}

.customer-publish-access-toggle-row,
.customer-publish-password-visibility-row {
  justify-content: flex-start;
}

.customer-publish-password-row {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.customer-publish-password-row.is-hidden {
  display: none;
}

.customer-publish-password-field {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: min(100%, 360px);
}

.customer-publish-password-field span {
  font-weight: 700;
  white-space: nowrap;
}

.customer-publish-password-field input {
  min-width: 220px;
}

.customer-publish-clear-button {
  justify-self: start;
}

.project-row {
  justify-content: space-between;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.doc-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.doc-chip {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-pill);
  background: var(--surface-soft);
  color: var(--muted);
  font-size: 13px;
}

.status-bar {
  display: grid;
  gap: 10px;
}

.status-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.status-row {
  justify-content: space-between;
}

.status-success {
  color: var(--success);
}

.status-warning {
  color: var(--warning);
}

.status-danger {
  color: var(--danger);
}

.dev-scope {
  position: relative;
  outline: 1px dashed transparent;
  outline-offset: 3px;
}

body.is-dev-mode .dev-scope {
  outline-color: var(--dev-outline);
}

body.is-dev-mode .dev-scope::before {
  content: none;
}

body.is-dev-mode .dev-scope.is-copyable {
  cursor: copy;
}

.dev-badge {
  position: absolute;
  top: -10px;
  left: 10px;
  z-index: 30;
  max-width: min(calc(100% - 20px), 420px);
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: var(--dev-label-bg);
  color: var(--dev-label-text);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  overflow-wrap: anywhere;
  cursor: copy;
  user-select: none;
}

.dev-badge.is-surface-badge {
  top: -12px;
  left: 12px;
  transform: none;
  max-width: min(calc(100% - 24px), 460px);
  text-align: left;
}

.field > .dev-badge,
.section-block > .dev-badge {
  top: -10px;
}

.field > .dev-badge {
  left: auto;
  right: 8px;
  max-width: min(calc(100% - 16px), 320px);
  text-align: right;
}

.section-block > .dev-badge {
  left: 12px;
  right: auto;
}

.section-block > .dev-badge.is-surface-badge,
.panel-layout > .dev-badge.is-surface-badge,
.content-stack > .dev-badge.is-surface-badge,
.context-panel > .dev-badge.is-surface-badge,
.workspace-panel > .dev-badge.is-surface-badge,
.panel > .dev-badge.is-surface-badge,
.module-list-card > .dev-badge.is-surface-badge {
  top: -12px;
  left: 12px;
  transform: none;
  text-align: left;
}

.page > .dev-badge.is-surface-badge,
.page-header > .dev-badge.is-surface-badge,
.module-top-stack > .dev-badge.is-surface-badge,
.module-header > .dev-badge.is-surface-badge,
.module-nav > .dev-badge.is-surface-badge,
.status-bar > .dev-badge.is-surface-badge {
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: min(88%, 520px);
  text-align: center;
}

body.is-dev-mode .panel,
body.is-dev-mode .workspace-panel,
body.is-dev-mode .section-block,
body.is-dev-mode .tab-workspace-row,
body.is-dev-mode .tab-workspace-panel-grid,
body.is-dev-mode .panel-scroll-panel,
body.is-dev-mode .panel-scroll-header,
body.is-dev-mode .panel-header-row,
body.is-dev-mode .panel-header-copy {
  overflow: visible;
}

body.is-dev-mode .dev-interaction {
  position: relative;
  outline: 1px dotted var(--dev-interaction-outline);
  outline-offset: 2px;
  cursor: copy;
}

body.is-dev-mode .dev-unknown-interaction {
  position: relative;
  outline: 2px solid var(--dev-unknown-interaction-outline);
  outline-offset: 3px;
}

body.is-dev-mode .dev-unknown-surface {
  position: relative;
  outline: 2px dashed var(--dev-unknown-surface-outline);
  outline-offset: 4px;
}

.dev-unknown-badge {
  background: var(--dev-unknown-surface-bg);
  color: var(--text-inverse);
}

body.is-dev-mode .dev-unknown-interaction > .dev-unknown-badge {
  background: var(--dev-unknown-interaction-bg);
}

body.is-dev-mode :is(button, select, input, textarea, a) > .dev-badge,
body.is-dev-mode :is(button, select, input, textarea, a) + .dev-badge {
  display: none !important;
}

body.is-dev-mode .dev-interaction::after {
  content: attr(data-dev-interaction);
  position: absolute;
  right: 6px;
  bottom: -10px;
  z-index: 31;
  max-width: min(70%, 360px);
  padding: 3px 8px;
  border-radius: var(--radius-pill);
  background: var(--dev-interaction-label-bg);
  color: var(--text-inverse);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
}

body.is-dev-mode :is(button, select, input, textarea, a).dev-interaction::after {
  display: none;
}

body.is-dev-mode .dev-copy-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 60;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-pill);
  background: var(--surface-overlay-dark);
  color: var(--text-inverse);
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: var(--elevation-3);
  pointer-events: none;
}

body.is-dev-mode .app-shell::after {
  content: "DEV MODE";
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-pill);
  background: var(--accent-overlay);
  color: var(--text-inverse);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.dev-copy-hud {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 55;
  width: min(520px, calc(100vw - 36px));
  display: grid;
  gap: 8px;
  padding: var(--space-3);
  border: 1px solid var(--line-accent-soft);
  border-radius: var(--radius-md);
  background: var(--surface-overlay-light);
  box-shadow: var(--elevation-2);
}

.dev-copy-hud strong {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.dev-copy-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dev-copy-input {
  width: 100%;
  min-height: 40px;
  padding: var(--space-1) var(--space-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: var(--surface);
  color: var(--text);
}

.uca-dev-metrics {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 45;
  width: min(560px, calc(100% - 32px));
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(120, 184, 255, 0.28);
  border-radius: 12px;
  background: rgba(9, 15, 22, 0.92);
  color: #f5f7fa;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  pointer-events: none;
}

.uca-dev-metrics strong {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9eb0c1;
}

.uca-dev-metrics pre {
  margin: 0;
  font: 12px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.dol-dev-metrics-body {
  min-height: 120px;
}

.dol-dev-metrics-pre {
  margin: 0;
  font: 12px/1.45 ui-monospace, SFMono-Regular, Consolas, monospace;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.portal-main {
  min-height: 100vh;
  background: var(--page-bg);
  padding: 0;
}

.portal-publication {
  min-height: 100vh;
}

.portal-publication-frame {
  min-height: 100vh;
  height: 100vh;
  background: var(--page-bg);
}

.portal-publication-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.portal-state {
  max-width: 760px;
  margin: 48px auto;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--surface);
}

@media (max-width: 1100px) {
  .module-card-grid,
  .workspace-board,
  .kpi-grid,
  .context-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .columns,
  .tab-panel-layout-two,
  .panel-layout-split-right {
    grid-template-columns: 1fr;
  }

  .module-top-stack {
    grid-template-columns: 1fr;
  }

  .module-top-icon-rail {
    border-right: 1px solid var(--line);
    border-bottom: none;
    border-top-right-radius: var(--radius);
    border-bottom-left-radius: 0;
  }

  .module-top-stack .module-header {
    border-top-left-radius: 0;
    border-top-right-radius: 0;
  }

  .module-top-stack .module-nav {
    border-top-left-radius: 0;
  }

  .hero-grid,
  .dashboard-layout-list,
  .dashboard-project-row {
    grid-template-columns: 1fr;
  }

  .dashboard-project-row-actions {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

}

@media (max-width: 1500px) {
  .dashboard-layout-list {
    grid-template-columns: 1fr;
  }

  .dashboard-project-sort-row,
  .dashboard-project-sort-row.is-management-hidden,
  .dashboard-project-sort-row.is-publication-hidden {
    display: grid;
    grid-template-columns: 1fr;
    padding: 6px 0 8px;
    width: 100%;
  }

  .dashboard-project-list-item,
  .dashboard-project-row {
    width: 100%;
  }

  .dashboard-project-sort-segment-logos,
  .dashboard-project-sort-segment-customer,
  .dashboard-project-sort-segment-management,
  .dashboard-project-sort-segment-updated,
  .dashboard-project-sort-segment-publish {
    display: none;
  }

  .dashboard-project-sort-segment-title {
    grid-template-columns: minmax(0, 1fr);
    padding: 0;
  }

  .dashboard-project-sort-segment-title .dashboard-project-sort-button {
    display: none;
  }

  .dashboard-project-row {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "logos title"
      "customer customer"
      "updated actions"
      "publish publish";
    align-items: stretch;
    min-height: 0;
  }

  .dashboard-project-list-item.is-management-hidden .dashboard-project-row {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "logos title"
      "customer customer"
      "updated publish";
  }

  .dashboard-project-list-item.is-publication-hidden .dashboard-project-row {
    grid-template-columns: 72px minmax(0, 1fr);
    grid-template-areas:
      "logos title"
      "customer customer"
      "updated actions";
  }

  .dashboard-project-list-item.is-management-hidden.is-publication-hidden .dashboard-project-row {
    grid-template-areas:
      "logos title"
      "customer customer"
      "updated updated";
  }

  .dashboard-project-row-segment-logos {
    grid-area: logos;
    min-height: 56px;
  }

  .dashboard-project-row-segment-title {
    grid-area: title;
    min-height: 56px;
  }

  .dashboard-project-title-content {
    grid-template-columns: minmax(0, 1fr);
  }

  .dashboard-project-row-segment-customer {
    grid-area: customer;
    min-height: 44px;
    border-top: 1px solid color-mix(in srgb, var(--platform-shell-sidebar-text, #f5f7fa) 18%, transparent);
    border-right: 0;
  }

  .dashboard-project-row-customer {
    justify-content: flex-start;
    padding: 6px 18px;
  }

  .dashboard-project-row-segment-actions {
    grid-area: actions;
    min-height: 56px;
    border-top: 1px solid var(--line);
  }

  .dashboard-project-row-segment-updated {
    grid-area: updated;
    min-height: 56px;
    border-top: 1px solid var(--line);
  }

  .dashboard-project-row-segment-publish {
    grid-area: publish;
    flex-wrap: wrap;
    min-height: 56px;
    border-top: 1px solid var(--line);
  }

  .dashboard-project-row-actions {
    justify-content: flex-start;
  }

  .dashboard-project-row-utility {
    grid-template-columns: 106px minmax(190px, 1fr);
  }

  .dashboard-project-duplicate-inline {
    padding-left: 14px;
  }

  .dashboard-project-list-item .project-delete-inline {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: static;
    transform: none;
    padding: 0 14px 12px;
  }

  .dashboard-project-list-item .project-delete-inline .ui-button-danger,
  .dashboard-project-list-item .project-delete-inline .ui-button-secondary,
  .dashboard-project-list-item .project-delete-inline .ui-inline-confirm-message {
    grid-column: auto;
    margin-left: 0;
    transform: none;
  }
}

@media (max-width: 880px) {
  .app-shell {
    height: auto;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    grid-template-areas:
      "sidebar"
      "main";
    overflow: visible;
  }

  .sidebar {
    gap: 12px;
    padding-top: 14px;
    padding-bottom: 14px;
    overflow: visible;
  }

  .sidebar-group {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sidebar-utility-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nav-button {
    min-height: 46px;
  }

  .main {
    overflow: hidden;
  }
}

@media (max-width: 640px) {
  .page-shell-body {
    padding-left: 14px;
    padding-right: 14px;
  }

  .module-card-grid,
  .workspace-board,
  .sidebar-group,
  .sidebar-utility-group,
  .context-grid,
  .kpi-grid,
  .evaluation-grid {
    grid-template-columns: 1fr;
  }

  .login-card {
    padding: 22px;
  }

  .brand {
    font-size: 16px;
  }

  .page-header,
  .module-header,
  .panel,
  .status-bar,
  .module-nav,
  .module-list-card {
    padding: 16px;
  }

  .dashboard-project-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logos"
      "title"
      "customer"
      "updated"
      "actions"
      "publish";
  }

  .dashboard-project-list-item.is-management-hidden .dashboard-project-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logos"
      "title"
      "customer"
      "updated"
      "publish";
  }

  .dashboard-project-list-item.is-publication-hidden .dashboard-project-row {
    grid-template-columns: 1fr;
    grid-template-areas:
      "logos"
      "title"
      "customer"
      "updated"
      "actions";
  }

  .dashboard-project-list-item.is-management-hidden.is-publication-hidden .dashboard-project-row {
    grid-template-areas:
      "logos"
      "title"
      "customer"
      "updated";
  }

  .dashboard-project-row-segment-publish {
    justify-content: flex-start;
  }
}

@media print {
  .use-case-report-preview-page {
    border: 0 !important;
  }
}
