/*! tailwindcss v4.1.13 | MIT License | https://tailwindcss.com */
@layer properties;
@layer legacy, theme, base, components, utilities;
@layer legacy {
  :root {
    color-scheme: dark;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    font-size: 13px;
    color: #dce2e6;
    background: #15191d;
    --surface: #1c2126;
    --surface-raised: #252c32;
    --line: #343b42;
    --muted: #9aa7b1;
    --accent: #77d8e6;
    --accent-ink: #0c3037;
  }
  * {
    box-sizing: border-box;
  }
  html, body {
    margin: 0;
    min-width: 900px;
    min-height: 100%;
  }
  body {
    overflow: auto;
  }
  button, input, select {
    font: inherit;
  }
  button, select, input {
    -webkit-tap-highlight-color: transparent;
  }
  button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    min-height: 32px;
    padding: 0 11px;
    border: 1px solid #3a434b;
    border-radius: 4px;
    color: #dce2e6;
    background: #252c32;
    cursor: pointer;
    white-space: nowrap;
    transition: background 130ms ease, border-color 130ms ease, color 130ms ease;
  }
  button:hover:not(:disabled) {
    color: #fff;
    border-color: #65737d;
    background: #303941;
  }
  button:active:not(:disabled) {
    background: #1d252b;
  }
  button:disabled {
    opacity: .38;
    cursor: default;
  }
  button svg, .search-field svg {
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  button:focus-visible, select:focus-visible, input:focus-visible, a:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
  }
  button.button-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
  }
  button.button-primary:hover:not(:disabled) {
    background: #99e6f0;
    border-color: #99e6f0;
    color: #0c3037;
  }
  button.text-button {
    min-height: 24px;
    padding: 0;
    border-color: transparent;
    background: transparent;
    color: #b9c6ce;
    font-size: 11px;
  }
  button.text-button:hover:not(:disabled) {
    background: transparent;
    border-color: transparent;
    color: var(--accent);
  }
  button.button-wide {
    width: 100%;
    margin-top: 13px;
  }
  [hidden] {
    display: none !important;
  }
  .viewer-app {
    height: 100dvh;
    min-height: 0;
    display: grid;
    grid-template-rows: 94px minmax(0, 1fr) 32px;
    overflow: clip;
  }
  .app-header {
    display: grid;
    grid-template-rows: 44px 50px;
    min-width: 0;
  }
  .app-titlebar {
    display: flex;
    align-items: stretch;
    min-width: 0;
    background: #161b20;
    border-bottom: 1px solid #2d343a;
  }
  .app-brand {
    display: inline-flex;
    flex: 0 0 252px;
    align-items: center;
    gap: 10px;
    padding: 0 18px;
    color: #f2f5f7;
    font-size: 15px;
    font-weight: 650;
    letter-spacing: -.3px;
    text-decoration: none;
  }
  .brand-mark {
    width: 23px;
    height: 23px;
    color: var(--accent);
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .document-tab {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 200px;
    max-width: 480px;
    padding: 0 23px 0 17px;
    border-left: 1px solid #333c44;
    border-right: 1px solid #333c44;
    border-top: 2px solid var(--accent);
    color: #d5e1e8;
    background: #232a30;
    font-size: 12px;
  }
  .document-tab svg, .readonly-label svg {
    width: 15px;
    height: 15px;
    flex: 0 0 15px;
    stroke: currentColor;
    stroke-width: 1.3;
    stroke-linecap: round;
    stroke-linejoin: round;
    color: #8a9daa;
  }
  #document-tab-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .readonly-label {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-left: auto;
    padding: 0 18px;
    color: #889ca9;
    font-size: 11px;
    white-space: nowrap;
  }
  .app-toolbar {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 17px;
    border-bottom: 1px solid var(--line);
    background: #23292f;
  }
  .toolbar-group {
    display: flex;
    align-items: center;
    gap: 7px;
  }
  .toolbar-spacer {
    flex: 1;
    min-width: 0;
  }
  .app-toolbar button {
    min-height: 31px;
    font-size: 12px;
  }
  .file-actions button:not(.button-primary) {
    border-color: transparent;
    background: transparent;
    color: #bac6ce;
  }
  .review-actions {
    gap: 5px;
  }
  .review-actions button {
    border-color: transparent;
    background: transparent;
    color: #b7c2ca;
  }
  .review-actions button:hover:not(:disabled) {
    background: #2a3239;
    border-color: transparent;
  }
  .export-actions {
    padding-left: 18px;
    border-left: 1px solid var(--line);
  }
  .workspace {
    display: grid;
    grid-template-columns: 252px minmax(0, 1fr) 280px;
    min-height: 0;
  }
  .document-panel, .inspector-panel {
    min-height: 0;
    background: var(--surface);
  }
  .document-panel {
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--line);
  }
  .panel-heading {
    padding: 18px 17px 19px;
  }
  .panel-label {
    display: block;
    color: #d3dde4;
    font-size: 12px;
    font-weight: 600;
  }
  .eyebrow {
    color: #8e9ca7;
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 650;
    letter-spacing: 1.7px;
  }
  .document-heading h1 {
    margin: 16px 0 7px;
    overflow: hidden;
    overflow-wrap: anywhere;
    color: #edf1f4;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 550;
  }
  .document-heading p {
    margin: 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .body-toolbar {
    padding: 0 12px 10px;
  }
  .search-field {
    display: flex;
    align-items: center;
    gap: 7px;
    height: 32px;
    padding: 0 9px;
    color: #7f8d98;
    border: 1px solid #343d45;
    border-radius: 4px;
    background: #171d22;
  }
  .search-field:focus-within {
    border-color: var(--accent);
  }
  .search-field input {
    width: 100%;
    min-width: 0;
    padding: 0;
    border: 0;
    outline: 0;
    color: #dce2e6;
    background: transparent;
    font-size: 12px;
  }
  .search-field input::placeholder {
    color: #7f8d98;
  }
  .search-field input:focus-visible {
    outline: 0;
  }
  .search-field input:disabled {
    opacity: .55;
  }
  .body-toolbar-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 9px 5px 0;
    color: #9babb6;
    font-size: 11px;
  }
  .body-list {
    flex: 1;
    overflow: auto;
    padding: 0 7px 15px;
    border-top: 1px solid #2f383f;
    scrollbar-width: thin;
    scrollbar-color: #46525c transparent;
  }
  .list-empty {
    margin: 24px 11px;
    color: #8a9da9;
    font-size: 12px;
    line-height: 1.6;
  }
  .asset-group {
    margin: 8px 0 15px;
  }
  .asset-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 31px;
    padding: 5px 8px;
    color: #c3d1da;
    font-size: 11px;
    font-weight: 550;
    line-height: 1.5;
  }
  .asset-heading::before {
    content: "";
    width: 13px;
    height: 13px;
    flex: 0 0 13px;
    background: center / 13px 13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23899eac' stroke-width='1.1' stroke-linejoin='round'%3E%3Cpath d='M1.5 4h5l1-1.5h3l1.5 2h2.5v8h-13V4Z'/%3E%3C/svg%3E");
  }
  .asset-heading > span:first-child {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .asset-heading small, .asset-heading .asset-count {
    margin-left: auto;
    color: #7f96a5;
    font-size: 10px;
    font-weight: 400;
  }
  .asset-bodies {
    margin-left: 12px;
    padding-left: 2px;
    border-left: 1px solid #35424c;
  }
  .body-row {
    position: relative;
    display: flex;
    align-items: center;
    gap: 4px;
    min-height: 49px;
    margin: 1px 0;
    padding: 3px 6px 3px 4px;
    border: 1px solid transparent;
    border-radius: 3px;
    transition: background 140ms ease, border-color 140ms ease, opacity 140ms ease;
  }
  .body-row:hover {
    background: #262e35;
  }
  .body-row[data-selected="true"], .body-row:has(.body-select[aria-pressed="true"]) {
    background: #223a43;
    border-color: #355966;
  }
  .body-row[data-selected="true"]::before, .body-row:has(.body-select[aria-pressed="true"])::before {
    content: "";
    position: absolute;
    left: -1px;
    top: 7px;
    bottom: 7px;
    width: 2px;
    background: var(--accent);
  }
  .body-row.is-hidden {
    opacity: .5;
  }
  .body-select {
    display: block;
    flex: 1;
    min-width: 0;
    min-height: 40px;
    padding: 4px 5px;
    border: 0;
    background: transparent;
    text-align: left;
    white-space: normal;
    font-size: 12px;
  }
  .body-select:hover:not(:disabled) {
    background: transparent;
    border-color: transparent;
  }
  .body-select[role="group"]:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }
  .body-select strong, .body-select span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .body-select strong {
    font-size: 12px;
    font-weight: 550;
  }
  .body-select small, .body-select .body-id {
    display: block;
    margin-top: 3px;
    color: #8fA2af;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .body-kind {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    color: #95acba;
    font-size: 10px;
  }
  .body-kind svg {
    width: 16px;
    height: 16px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .body-visibility {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 26px;
    min-height: 26px;
    padding: 0;
    border-color: transparent;
    color: #9dafb9;
    background: transparent;
  }
  input.body-visibility {
    appearance: none;
    width: 22px;
    height: 22px;
    min-height: 22px;
    margin: 0;
    border: 0;
    border-radius: 3px;
    cursor: pointer;
    background: center / 16px 16px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%237f94a2' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M3 3l14 14M7.5 5.4A8.5 8.5 0 0 1 10 5c5 0 8 5 8 5a16 16 0 0 1-2.6 2.9M12.5 14.6A8.5 8.5 0 0 1 10 15c-5 0-8-5-8-5a16 16 0 0 1 2.6-2.9'/%3E%3C/svg%3E");
  }
  input.body-visibility:checked {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%23a8c0ce' stroke-width='1.3' stroke-linecap='round'%3E%3Cpath d='M2 10s3-5 8-5 8 5 8 5-3 5-8 5-8-5-8-5Z'/%3E%3Ccircle cx='10' cy='10' r='2'/%3E%3C/svg%3E");
  }
  input.body-visibility:hover:not(:disabled) {
    background-color: #344650;
  }
  input.body-visibility:disabled {
    opacity: .35;
    cursor: default;
  }
  .body-visibility svg {
    width: 15px;
    height: 15px;
  }
  .viewport-panel {
    display: grid;
    grid-template-rows: auto minmax(0, 1fr);
    min-width: 0;
    min-height: 0;
    background: #10161c;
  }
  .viewport-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px 14px;
    min-height: 46px;
    padding: 7px 11px;
    border-bottom: 1px solid #354049;
    background: #222a30;
  }
  .viewport-actions {
    display: flex;
    flex: 1 1 360px;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    min-width: 0;
  }
  .viewport-action-group {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 3px;
    min-width: 0;
  }
  .viewport-action-group + .viewport-action-group {
    padding-left: 8px;
    border-left: 1px solid #3a454f;
  }
  .viewport-actions button {
    min-height: 29px;
    padding: 0 7px;
    border-color: transparent;
    background: transparent;
    color: #bdcbd4;
    font-size: 11px;
  }
  .viewport-actions button:hover:not(:disabled) {
    background: #303c45;
    border-color: transparent;
  }
  .viewport-pick-filter {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: 4px;
    color: #93a8b6;
    font-size: 10px;
  }
  .viewport-pick-filter > svg {
    width: 14px;
    height: 14px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.4;
    stroke-linejoin: round;
  }
  .viewport-pick-filter select {
    width: 83px;
    height: 25px;
    padding: 0 18px 0 6px;
    color: #c2d0da;
    background: #1b2329;
    font-size: 11px;
  }
  .view-presets {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 1px;
    margin-left: auto;
    padding: 2px;
    border: 1px solid #43515c;
    border-radius: 4px;
    background: #1b2329;
  }
  .view-presets button {
    min-height: 24px;
    padding: 0 9px;
    border: 0;
    border-radius: 2px;
    background: transparent;
    color: #acbecb;
    font-size: 11px;
  }
  .view-presets button:hover:not(:disabled) {
    background: #34434d;
  }
  .view-presets button[aria-pressed="true"] {
    background: #31515d;
    color: #a4ecf6;
  }
  .app-toolbar button.toolbar-icon, .viewport-toolbar button.toolbar-icon, button.inspector-icon {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    min-height: 32px;
    padding: 0;
  }
  .viewport-toolbar button.toolbar-icon {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
    min-height: 30px;
  }
  .viewport-toolbar button[aria-pressed="true"] {
    color: var(--accent);
    background: #31515d;
  }
  .viewport-toolbar button.toolbar-icon svg {
    display: block;
    width: 18px;
    height: 18px;
    flex-basis: 18px;
  }
  .toolbar-divider {
    height: 14px;
    width: 1px;
    margin: 0 5px;
    background: #3a454f;
  }
  .viewport-stage {
    position: relative;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    background: #10161c;
  }
  #viewport {
    display: block;
    width: 100%;
    height: 100%;
    padding: 0;
    border: 0;
    outline: none;
    touch-action: none;
  }
  #viewport:focus-visible {
    outline: 1px solid #589aa8;
    outline-offset: -2px;
  }
  .empty-state {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    background: #121a21;
  }
  .empty-content {
    max-width: 340px;
    margin: 30px;
    padding-bottom: 20px;
    text-align: center;
  }
  .empty-document-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 17px;
    color: #6c8798;
    stroke: currentColor;
    stroke-width: 1.2;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .empty-content h2 {
    margin: 0;
    color: #dce7ee;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -.3px;
  }
  .empty-content h2 + button {
    margin-top: 20px;
  }
  .empty-content button {
    gap: 16px;
    min-height: 34px;
    padding: 0 13px;
    font-size: 12px;
  }
  .device-failure p {
    margin: 10px 0 0;
    color: #a9bac6;
    font-size: 13px;
    line-height: 1.5;
  }
  .device-failure .device-failure-reason {
    color: #7f95a4;
    font-size: 12px;
    overflow-wrap: anywhere;
  }
  .device-failure button {
    margin-top: 18px;
  }
  .inspector-panel {
    position: relative;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--line);
    overflow: auto;
    scrollbar-width: thin;
    scrollbar-color: #46525c transparent;
  }
  .inspector-panel > .inspector-heading, .inspector-panel > .inspector-section {
    flex-shrink: 0;
  }
  .inspector-heading {
    display: flex;
    align-items: center;
    min-height: 46px;
    padding: 0 18px;
    border-bottom: 1px solid #354049;
    background: #222a30;
  }
  .inspector-heading h2 {
    margin: 0;
    color: #e0e7ec;
    font-size: 12px;
    font-weight: 600;
  }
  .inspector-section {
    padding: 21px 18px 24px;
  }
  .inspector-section + .inspector-section {
    border-top: 1px solid var(--line);
  }
  .selection-section {
    min-height: 173px;
  }
  .section-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 16px;
  }
  .section-heading h3 {
    margin: 0;
    color: #d2dfe7;
    font-size: 12px;
    font-weight: 550;
  }
  .context-note {
    margin: 0;
    color: #96a8b5;
    font-size: 12px;
    line-height: 1.75;
  }
  .selection-details {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    margin: 0 -4px;
  }
  .selection-details dt, .selection-details dd {
    min-width: 0;
    margin: 0;
    padding: 10px 4px;
    border-bottom: 1px solid #303c45;
    font-size: 11px;
    line-height: 1.65;
  }
  .selection-details dt {
    color: #91a6b5;
  }
  .selection-details dd {
    color: #d0dee7;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    overflow-wrap: anywhere;
  }
  .selection-details dt:last-of-type, .selection-details dd:last-child {
    border-bottom: 0;
  }
  .iges-scope-tag {
    padding: 2px 6px;
    border: 1px solid #355966;
    border-radius: 3px;
    background: #1d323b;
    color: var(--accent);
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
  }
  .iges-unsupported-block {
    margin-top: 10px;
  }
  .iges-unsupported-block .field-label {
    margin: 6px 0 6px;
  }
  .iges-report-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  .iges-unsupported-chip {
    padding: 2px 7px;
    border: 1px solid #59413b;
    border-radius: 3px;
    background: #2c201e;
    color: #f0b4a6;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
    line-height: 1.5;
  }
  .iges-candidate-note {
    margin: 6px 0 0;
    color: #c7d4dd;
    font-size: 11px;
    line-height: 1.5;
  }
  .field-label {
    display: block;
    margin: 15px 0 7px;
    color: #9bafbc;
    font-size: 11px;
  }
  select {
    width: 100%;
    height: 34px;
    padding: 0 25px 0 10px;
    border: 1px solid #43515c;
    border-radius: 4px;
    color: #d4dfe7;
    background: #242e36;
    font-size: 12px;
  }
  select:disabled {
    opacity: .4;
  }
  .appearance-section .context-note {
    margin-top: 15px;
  }
  .scope-note {
    margin: 17px 0 0;
    padding-top: 15px;
    border-top: 1px solid #33414b;
    color: #8199a9;
    font-size: 11px;
    line-height: 1.7;
  }
  .statusbar {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
    padding: 0 16px;
    border-top: 1px solid #3a4650;
    color: #a2b3bf;
    background: #202930;
    font-size: 11px;
  }
  .status-main {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
    flex: 1;
  }
  .status-indicator {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #739da5;
    flex: 0 0 auto;
  }
  #status {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  #status[data-level="error"]:focus-visible {
    overflow-x: auto;
    text-overflow: clip;
    outline: 1px solid #8ce8f2;
    outline-offset: 2px;
    scrollbar-width: thin;
  }
  .export-status {
    overflow: hidden;
    max-width: 30%;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #b1c6d0;
  }
  .session-meta {
    max-width: 32%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #8aa1b1;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10px;
  }
  .admission-dialog {
    width: min(570px, calc(100vw - 60px));
    max-height: calc(100dvh - 80px);
    padding: 0;
    border: 1px solid #46545e;
    border-radius: 8px;
    color: #dce2e6;
    background: #1d252c;
    box-shadow: 0 24px 80px #0007;
  }
  .admission-dialog[data-state="open"] {
    animation: dialog-enter 160ms ease-out;
  }
  [data-slot="dialog-overlay"] {
    background: #080e14b8;
    backdrop-filter: blur(3px);
  }
  .dialog-heading {
    padding: 27px 27px 22px;
  }
  .dialog-heading h2 {
    margin: 12px 0 8px;
    color: #edf2f5;
    font-size: 23px;
    font-weight: 500;
    letter-spacing: -.7px;
  }
  .dialog-heading p {
    margin: 0;
    color: #9eafbc;
    font-size: 12px;
    line-height: 1.6;
  }
  .candidate-summary {
    padding: 17px 27px;
    border-top: 1px solid #36414a;
    border-bottom: 1px solid #36414a;
    background: #182128;
  }
  .candidate-summary h3 {
    margin: 0;
    color: #d4e0e8;
    font-size: 12px;
    font-weight: 550;
    overflow-wrap: anywhere;
  }
  .candidate-summary p {
    margin: 7px 0 0;
    color: #94aab8;
    font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .admission-list {
    max-height: min(38dvh, 320px);
    overflow: auto;
    padding: 8px 15px;
    scrollbar-width: thin;
    scrollbar-color: #536470 transparent;
  }
  .admission-row {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 13px 12px;
    border-bottom: 1px solid #303d46;
    font-size: 12px;
    line-height: 1.5;
    transition: background 130ms ease;
  }
  .admission-row:last-child {
    border-bottom: 0;
  }
  .admission-row:hover {
    background: #25323b;
  }
  .admission-row:has(input:checked) {
    background: #243a42;
  }
  .admission-row:has(input:disabled) {
    color: #7a8c99;
  }
  .admission-row[tabindex="-1"]:focus {
    outline: 2px solid var(--accent);
    outline-offset: -2px;
  }
  .admission-row input {
    flex: 0 0 auto;
    margin: 3px 0 0;
    accent-color: var(--accent);
  }
  .admission-row label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    flex: 1;
    cursor: pointer;
  }
  .admission-row label > span, .admission-row > div {
    flex: 1;
    min-width: 0;
  }
  .admission-row strong {
    display: block;
    font-size: 12px;
    font-weight: 500;
    overflow-wrap: anywhere;
  }
  .admission-row small {
    display: block;
    margin-top: 5px;
    color: #94aab9;
    font-size: 11px;
    line-height: 1.6;
    overflow-wrap: anywhere;
  }
  .admission-feedback {
    padding: 14px 27px 10px;
    border-top: 1px solid #36414a;
    color: #a7c3d2;
    font-size: 11px;
  }
  #admission-error {
    margin: 7px 0 0;
    color: #d3b48b;
    font-size: 11px;
    line-height: 1.6;
  }
  #admission-error:empty {
    display: none;
  }
  .dialog-actions {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    padding: 12px 27px 23px;
  }
  @keyframes dialog-enter {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  @media (max-width: 1200px) {
    .app-toolbar {
      gap: 14px;
      padding: 0 14px;
    }
    .export-actions {
      padding-left: 11px;
    }
    .toolbar-group {
      gap: 5px;
    }
    .app-toolbar button {
      gap: 5px;
      padding: 0 9px;
    }
    .viewport-actions {
      gap: 4px 6px;
    }
    .viewport-action-group {
      gap: 1px;
    }
    .viewport-actions button {
      padding: 0 5px;
    }
  }
  @media (max-width: 1100px) {
    .workspace {
      grid-template-columns: 220px minmax(0, 1fr) 240px;
    }
    .app-brand {
      flex-basis: 220px;
    }
    .inspector-section {
      padding: 20px 14px;
    }
    .selection-details {
      grid-template-columns: 72px minmax(0, 1fr);
    }
    .viewport-toolbar {
      padding: 7px 8px;
    }
  }
  @media (max-width: 900px), (max-width: 1000px) and (max-height: 500px) {
    html, body {
      min-width: 0;
      min-height: 0;
    }
    body {
      overflow: hidden;
    }
    .viewer-app[data-compact="true"] {
      min-height: 0;
    }
    .viewer-app[data-compact="true"] .app-brand {
      flex: 0 0 auto;
      gap: 7px;
      padding: 0 10px;
      font-size: 13px;
    }
    .viewer-app[data-compact="true"] .document-tab {
      flex: 1 1 auto;
      min-width: 0;
      padding: 0 8px;
    }
    .viewer-app[data-compact="true"] .readonly-label {
      padding: 0 8px;
    }
    .viewer-app[data-compact="true"] .app-toolbar {
      gap: 6px;
      padding: 0 8px;
    }
    .viewer-app[data-compact="true"] .toolbar-group {
      gap: 3px;
    }
    .viewer-app[data-compact="true"] .export-actions {
      padding-left: 6px;
    }
    .viewer-app[data-compact="true"] .workspace {
      position: relative;
      grid-template-columns: minmax(0, 1fr);
      grid-template-rows: auto minmax(0, 1fr);
      min-width: 0;
      overflow: hidden;
    }
    .viewer-app[data-compact="true"] .viewport-panel {
      display: contents;
    }
    .viewer-app[data-compact="true"] .viewport-toolbar {
      grid-area: 1 / 1;
      min-width: 0;
      gap: 3px 6px;
    }
    .viewer-app[data-compact="true"] .viewport-actions {
      flex: 1 1 300px;
      gap: 3px 5px;
    }
    .viewer-app[data-compact="true"] .viewport-stage {
      grid-area: 2 / 1;
    }
    .viewer-app[data-compact="true"] .document-panel, .viewer-app[data-compact="true"] .inspector-panel {
      grid-area: 2 / 1;
      position: relative;
      z-index: 3;
      align-self: stretch;
      width: min(280px, calc(100% - 32px));
      min-width: 0;
      min-height: 0;
      height: 100%;
      box-shadow: 0 0 20px #0008;
    }
    .viewer-app[data-compact="true"] .document-panel {
      justify-self: start;
    }
    .viewer-app[data-compact="true"] .inspector-panel {
      justify-self: end;
    }
    .viewer-app[data-compact="true"] .statusbar {
      gap: 8px;
      padding: 0 8px;
    }
    .admission-dialog {
      display: flex;
      flex-direction: column;
      width: min(570px, calc(100vw - 24px));
      max-height: calc(100dvh - 24px);
    }
    .dialog-heading, .candidate-summary, .admission-feedback, .dialog-actions {
      flex: 0 0 auto;
    }
    .admission-list {
      flex: 0 1 auto;
      min-height: 0;
      max-height: none;
    }
  }
  @media (max-height: 620px) {
    .admission-dialog {
      display: flex;
      flex-direction: column;
      max-height: calc(100dvh - 24px);
    }
    .dialog-heading, .candidate-summary, .admission-feedback, .dialog-actions {
      flex: 0 0 auto;
    }
    .admission-list {
      flex: 0 1 auto;
      min-height: 0;
      max-height: none;
    }
  }
  @media (max-height: 500px) {
    .dialog-heading {
      padding: 10px 16px;
    }
    .dialog-heading h2 {
      margin: 4px 0 0;
      font-size: 18px;
    }
    .candidate-summary {
      padding: 8px 16px;
    }
    .candidate-summary p {
      margin-top: 3px;
    }
    .admission-list {
      padding: 4px 8px;
    }
    .admission-row {
      padding: 7px 8px;
    }
    .admission-row small {
      margin-top: 2px;
    }
    .admission-feedback {
      padding: 7px 16px 4px;
    }
    #admission-error {
      max-height: 36px;
      overflow: auto;
    }
    .dialog-actions {
      padding: 6px 16px 10px;
    }
  }
  @media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
      animation: none !important;
      transition: none !important;
      scroll-behavior: auto !important;
    }
  }
}
@layer legacy {
  .distance-section {
    min-width: 0;
  }
  .viewport-actions #measure-tool[aria-pressed="true"] {
    color: #adf2fa;
    background-image: linear-gradient(#2a4651, #2a4651);
    box-shadow: inset 0 0 0 1px #47717e;
  }
  #viewport[data-measuring="true"] {
    cursor: crosshair;
  }
  .distance-heading {
    gap: 8px;
    margin-bottom: 13px;
  }
  .distance-mode {
    color: var(--muted);
    font-size: 10px;
    white-space: nowrap;
  }
  .distance-actions {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .distance-actions button {
    min-height: 25px;
    font-size: 11px;
  }
  .distance-instruction {
    min-height: 32px;
    margin: 12px 0;
    color: #a9bcc9;
    font-size: 11px;
    line-height: 1.5;
  }
  .distance-points {
    min-width: 0;
  }
  .distance-point {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    min-width: 0;
    padding: 11px 0;
    border-top: 1px solid var(--line);
  }
  .distance-point-marker {
    display: grid;
    place-items: center;
    flex: 0 0 18px;
    height: 18px;
    border: 1px solid #4b717d;
    border-radius: 3px;
    color: var(--accent);
    font-size: 10px;
    font-weight: 600;
  }
  .distance-point-details {
    min-width: 0;
    flex: 1;
  }
  .distance-point-source {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
  }
  .distance-point-label {
    color: #d0dee7;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .distance-point-kind {
    color: var(--muted);
    font-size: 10px;
  }
  .distance-point-parameter {
    margin: 7px 0 6px;
    color: #9fb2bf;
    font-family: var(--viewer-mono, monospace);
    font-size: 10px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .distance-coordinates {
    display: grid;
    gap: 3px;
    margin: 0;
    font-size: 10px;
    font-family: var(--viewer-mono, monospace);
    font-variant-numeric: tabular-nums;
  }
  .distance-coordinates > div {
    display: grid;
    grid-template-columns: 14px minmax(0, 1fr);
    gap: 5px;
  }
  .distance-coordinates dt, .distance-coordinates dd {
    margin: 0;
  }
  .distance-coordinates dt {
    color: #8199a9;
  }
  .distance-coordinates dd {
    color: #c0d3df;
    overflow-wrap: anywhere;
  }
  .distance-coordinate-unit {
    display: block;
    margin-top: 4px;
    color: #8199a9;
    font-size: 10px;
  }
  .distance-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 13px;
    border-top: 1px solid var(--line);
  }
  .distance-result-label {
    color: #9bafbc;
    font-size: 11px;
  }
  .distance-result > div {
    display: flex;
    align-items: baseline;
    gap: 6px;
    min-width: 0;
  }
  #measure-distance, .assembly-measure-distance {
    color: #d3edf1;
    font-family: var(--viewer-mono, monospace);
    font-size: 20px;
    font-variant-numeric: tabular-nums;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
  .distance-unit {
    color: #9bafbc;
    font-size: 11px;
  }
  .distance-error {
    margin: 12px 0 0;
    color: var(--viewer-destructive, #e89585);
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .distance-note {
    margin: 14px 0 0;
    color: #8199a9;
    font-size: 10px;
    line-height: 1.6;
  }
  .measurement-overlay {
    overflow: hidden;
    user-select: none;
  }
  .measurement-line-underlay {
    stroke: #0e1d25;
    stroke-width: 4;
  }
  .measurement-line {
    stroke: #8ce8f2;
    stroke-width: 1.5;
  }
  .measurement-point {
    fill: #b4f3fa;
    stroke: #14333f;
    stroke-width: 2;
  }
  .measurement-point-text {
    fill: #c9f7fb;
    stroke: #10232c;
    stroke-width: 3;
    paint-order: stroke;
    font-family: var(--viewer-sans, sans-serif);
    font-size: 12px;
    font-weight: 600;
  }
}
@layer legacy {
  .lighting-section {
    min-width: 0;
  }
  .lighting-heading {
    margin-bottom: 14px;
  }
  .lighting-mode {
    color: var(--muted);
    font-size: 10px;
  }
  .lighting-fields, .lighting-direction {
    min-width: 0;
    margin: 0;
    padding: 0;
    border: 0;
  }
  .lighting-strengths {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 76px;
    align-items: center;
    gap: 10px 8px;
  }
  .lighting-strengths > label, .lighting-direction > legend {
    color: #a9bcc9;
    font-size: 11px;
    line-height: 1.5;
  }
  .lighting-fields input {
    width: 100%;
    height: 26px;
    color: #c9dbe6;
    font-family: var(--viewer-mono, monospace);
    font-variant-numeric: tabular-nums;
  }
  .lighting-direction {
    margin-top: 13px;
  }
  .lighting-direction > legend {
    margin-bottom: 7px;
  }
  .lighting-axes {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }
  .lighting-axes > label {
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
  }
  .lighting-axes > label > span {
    color: #8199a9;
    font-size: 10px;
  }
  .lighting-actions {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 14px;
  }
  .lighting-actions button {
    min-height: 25px;
    font-size: 11px;
  }
  .lighting-error {
    margin: 12px 0 0;
    color: var(--viewer-destructive, #e89585);
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .lighting-note, .lighting-unavailable {
    margin: 12px 0 0;
    color: #8199a9;
    font-size: 10px;
    line-height: 1.6;
  }
  .lighting-unavailable {
    padding-top: 10px;
    border-top: 1px solid var(--line);
  }
}
@layer legacy {
  .assembly-roots, .assembly-children {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  .assembly-tree {
    padding-top: 8px;
  }
  .assembly-children {
    margin-left: 13px;
    padding-left: 2px;
    border-left: 1px solid #35424c;
  }
  .assembly-row {
    gap: 2px;
    padding-left: 0;
    padding-right: 2px;
  }
  .assembly-expand, .assembly-spacer {
    flex: 0 0 18px;
    width: 18px;
  }
  button.assembly-expand {
    min-height: 24px;
    height: 24px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #9aaebb;
    font-size: 17px;
  }
  .assembly-row .body-select {
    padding-left: 2px;
  }
  .assembly-point-form {
    display: grid;
    gap: 9px;
  }
  .assembly-point-form label {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    color: #9bafbc;
  }
  .assembly-point-form input {
    width: 100%;
    height: 28px;
    font-size: 11px;
  }
  .assembly-point-form button {
    justify-self: start;
    margin-top: 3px;
  }
  .assembly-point-result h4 {
    margin: 20px 0 8px;
    font-size: 11px;
    font-weight: 500;
    color: #a9bcc9;
  }
  .assembly-point-result h4 span {
    margin-left: 5px;
    color: #8199a9;
    font-size: 10px;
  }
  .assembly-coordinates {
    margin: 0;
  }
  .assembly-coordinates > div {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr);
    padding: 5px 0;
    gap: 8px;
    font-family: var(--viewer-mono);
    font-size: 10px;
  }
  .assembly-coordinates dt {
    color: #8199a9;
  }
  .assembly-coordinates dd {
    margin: 0;
    overflow-wrap: anywhere;
  }
  .assembly-admission-parent {
    color: #8199a9;
    font-size: 10px;
  }
}
@layer legacy {
  .document-inspection {
    min-width: 0;
  }
  .native-point-source {
    margin: 0 0 10px;
    color: #c9dbe6;
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .native-point-domain {
    display: grid;
    gap: 4px;
    margin-bottom: 12px;
    color: #8199a9;
    font-family: var(--viewer-mono, monospace);
    font-size: 10px;
    line-height: 1.5;
  }
  .native-point-domain p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .native-point-form {
    display: grid;
    min-width: 0;
    gap: 9px;
  }
  .native-point-form label {
    display: grid;
    min-width: 0;
    grid-template-columns: 18px minmax(0, 1fr);
    gap: 8px;
    align-items: center;
    color: #9bafbc;
    font-size: 11px;
  }
  .native-point-form input {
    width: 100%;
    min-width: 0;
    height: 28px;
    font-family: var(--viewer-mono, monospace);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }
  .native-point-form button {
    justify-self: start;
    max-width: 100%;
    margin-top: 3px;
  }
  .native-point-error {
    margin: 12px 0 0;
    color: var(--viewer-destructive, #e89585);
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .native-point-result {
    min-width: 0;
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
  }
  .native-point-accepted {
    margin: 0 0 10px;
    color: #a9bcc9;
    font-family: var(--viewer-mono, monospace);
    font-size: 10px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .native-point-accepted-row {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
  }
  .native-point-accepted-row .native-point-accepted {
    flex: 1;
    min-width: 0;
    margin: 0;
  }
  .native-point-distance-actions {
    display: flex;
    flex-shrink: 0;
    gap: 4px;
  }
  .native-point-result h4 {
    margin: 0 0 6px;
    color: #a9bcc9;
    font-size: 11px;
    font-weight: 500;
  }
  .native-point-result h4 span {
    margin-left: 4px;
    color: #8199a9;
    font-size: 10px;
  }
  .native-point-coordinates {
    margin: 0;
  }
  .native-point-coordinates > div {
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    min-width: 0;
    padding: 5px 0;
    gap: 8px;
    font-family: var(--viewer-mono, monospace);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }
  .native-point-coordinates dt {
    color: #8199a9;
  }
  .native-point-coordinates dd {
    min-width: 0;
    margin: 0;
    color: #c9dbe6;
    overflow-wrap: anywhere;
  }
}
@layer legacy {
  .geometry-metrics {
    min-width: 0;
    padding-bottom: 16px;
    margin-bottom: 16px;
    border-bottom: 1px solid var(--line);
  }
  .geometry-metric-heading {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 10px;
  }
  .geometry-metric-heading h4, .document-inspection > .native-point-heading {
    min-width: 0;
    margin: 0;
    color: #a9bcc9;
    font-size: 11px;
    font-weight: 500;
  }
  .geometry-metric-heading h4 span {
    margin-left: 4px;
    color: #8199a9;
    font-size: 10px;
  }
  .geometry-metric-heading button {
    flex-shrink: 0;
  }
  .geometry-metric-options {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    min-width: 0;
    gap: 9px;
  }
  .geometry-metric-options label {
    display: grid;
    min-width: 0;
    gap: 6px;
    color: #9bafbc;
    font-size: 11px;
  }
  .geometry-metric-options label > span {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  .geometry-metric-options small {
    margin-left: 3px;
    color: #8199a9;
    font-size: 10px;
  }
  .geometry-metric-options input {
    width: 100%;
    min-width: 0;
    height: 28px;
    font-family: var(--viewer-mono, monospace);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }
  .geometry-metric-error {
    margin: 12px 0 0;
    color: var(--viewer-destructive, #e89585);
    font-size: 11px;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .geometry-metric-result {
    min-width: 0;
    margin-top: 14px;
  }
  .geometry-metric-value {
    margin: 0 0 10px;
    color: #d2dfe7;
    font-family: var(--viewer-mono, monospace);
    font-size: 16px;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .geometry-metric-value span {
    color: #9bafbc;
    font-size: 11px;
  }
  .geometry-metric-details {
    min-width: 0;
    margin: 0;
  }
  .geometry-metric-details > div {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-width: 0;
    align-items: start;
    gap: 8px;
    font-size: 10px;
    line-height: 1.5;
  }
  .geometry-metric-details dt {
    min-width: 0;
    color: #8199a9;
    overflow-wrap: anywhere;
  }
  .geometry-metric-details dd {
    min-width: 0;
    margin: 0;
    color: #a9bcc9;
    font-family: var(--viewer-mono, monospace);
    font-variant-numeric: tabular-nums;
    text-align: right;
    overflow-wrap: anywhere;
  }
  .geometry-metric-targets, .geometry-metric-domain {
    min-width: 0;
    margin: 8px 0 0;
    color: #8199a9;
    font-family: var(--viewer-mono, monospace);
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    line-height: 1.5;
    overflow-wrap: anywhere;
  }
  .geometry-metric-domain {
    display: grid;
    gap: 3px;
  }
  .geometry-metric-domain p {
    min-width: 0;
    margin: 0;
    overflow-wrap: anywhere;
  }
  .geometry-metric-status {
    display: flex;
    flex-wrap: wrap;
    min-width: 0;
    gap: 6px;
    margin-top: 10px;
  }
  .geometry-metric-status span {
    min-width: 0;
    padding: 3px 5px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: #8199a9;
    font-size: 9px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
  .document-inspection > .native-point-heading {
    margin-bottom: 12px;
  }
}
@layer legacy {
  .named-view-create {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px;
  }
  .named-view-create input, .named-view-rename input {
    width: 100%;
    min-width: 0;
    height: 29px;
    font-size: 11px;
  }
  .named-views-section button {
    min-height: 26px;
    padding-left: 7px;
    padding-right: 7px;
    font-size: 10px;
  }
  .named-view-empty {
    margin: 15px 0 0;
    font-size: 11px;
    color: #8199a9;
  }
  .named-view-list {
    margin: 13px 0 0;
    padding: 0;
    list-style: none;
  }
  .named-view-row {
    padding: 12px 0;
    border-top: 1px solid var(--line);
  }
  .named-view-name {
    display: block;
    font-size: 11px;
    color: #d2dfe7;
    overflow-wrap: anywhere;
  }
  .named-view-actions {
    display: flex;
    gap: 2px;
    margin-top: 8px;
  }
  .named-view-rename > div {
    display: flex;
    gap: 4px;
    margin-top: 7px;
  }
}
@layer legacy {
  .drawing-preview-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .drawing-preview-controls {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .drawing-preview-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--viewer-foreground);
    cursor: pointer;
  }
  .drawing-preview-frame {
    border: 1px solid var(--line);
    border-radius: 6px;
    overflow: hidden;
    background: #ffffff;
  }
  .drawing-preview-frame[data-interactive-drawing="true"] svg [data-edge], .drawing-preview-frame[data-interactive-drawing="true"] svg [data-face], .drawing-preview-frame[data-interactive-drawing="true"] svg [data-item] {
    cursor: pointer;
  }
  .drawing-preview-frame svg {
    display: block;
    width: 100%;
    height: auto;
  }
  .drawing-hit-hover {
    font-size: 11px;
    color: var(--muted);
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--surface-raised);
    border: 1px solid var(--line);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }
  .drawing-hit-callout {
    padding: 8px 9px;
    border-radius: 5px;
    border: 1px solid #355966;
    background: #1c2c33;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .drawing-hit-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
  }
  .drawing-hit-badge {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: var(--accent);
  }
  .drawing-hit-details {
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 3px 8px;
    font-size: 11px;
  }
  .drawing-hit-details dt {
    color: var(--muted);
  }
  .drawing-hit-details dd {
    margin: 0;
    color: var(--viewer-foreground);
    font-family: var(--viewer-mono);
    overflow-wrap: anywhere;
  }
}
@layer legacy {
  .review-panel {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .review-header-section {
    display: flex;
    flex-direction: column;
    gap: 8px;
  }
  .review-digest-pill {
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid var(--line);
    background: var(--surface-raised);
    color: var(--accent);
    font-family: var(--viewer-mono);
    font-size: 10px;
  }
  .review-meta-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 11px;
    color: var(--muted);
  }
  .review-handoff-actions {
    display: flex;
    gap: 6px;
  }
  .review-tabs, .inspector-mode-tabs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2px;
    padding: 6px 10px;
    border-bottom: 1px solid var(--line);
    background: #171c21;
  }
  .inspector-mode-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .review-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    min-height: 36px;
    padding: 4px 6px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
  }
  .review-tab:hover:not(:disabled) {
    background: var(--surface-raised);
    color: var(--viewer-foreground);
    border-color: transparent;
  }
  .review-tab.is-active {
    background: #223a43;
    border-color: #355966;
    color: #edf4f7;
  }
  .review-tab-count {
    font-size: 10px;
    color: var(--accent);
    font-family: var(--viewer-mono);
  }
  .review-tab-panel {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .proposal-list {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .proposal-card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100%;
    min-height: 0;
    padding: 8px 9px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #1a2026;
    color: var(--viewer-foreground);
    text-align: left;
    white-space: normal;
  }
  .proposal-card:hover:not(:disabled) {
    background: #222a31;
    border-color: #4d5a64;
  }
  .proposal-card.is-selected {
    background: #1d2e35;
    border-color: var(--accent);
  }
  .proposal-card-top, .requirement-top, .history-top {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
  }
  .proposal-id, .requirement-id {
    font-family: var(--viewer-mono);
    font-size: 11px;
    font-weight: 650;
    color: var(--accent);
  }
  .proposal-title {
    font-size: 12px;
    font-weight: 600;
    color: #edf2f5;
    line-height: 1.35;
  }
  .proposal-summary, .proposal-plan, .requirement-source, .history-summary {
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
    color: #b5c3cc;
  }
  .proposal-meta, .history-provenance {
    display: flex;
    justify-content: space-between;
    gap: 6px;
    font-size: 10px;
    color: var(--muted);
  }
  .proposal-checks-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    font-size: 10px;
    font-family: var(--viewer-mono);
    color: #b7c8d3;
  }
  .proposal-decided {
    padding-top: 5px;
    border-top: 1px dashed #34414b;
    font-size: 10px;
    color: var(--muted);
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .proposal-decided p {
    margin: 0;
    color: #c2d0d8;
  }
  .left-out-tags {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px;
  }
  .review-badge {
    display: inline-flex;
    align-items: center;
    padding: 1px 5px;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
  }
  .review-badge.status-open {
    background: #1e3a46;
    color: #77d8e6;
  }
  .review-badge.status-accepted, .review-badge.status-pass, .review-badge.history-kind-accept {
    background: #1a3a2c;
    color: #7ee2a8;
  }
  .review-badge.status-rejected, .review-badge.status-fail, .review-badge.history-kind-reject {
    background: #462326;
    color: #f29b9b;
  }
  .review-badge.status-unknown, .review-badge.badge-muted {
    background: #293139;
    color: #9fb0bc;
  }
  .review-badge.risk-low {
    background: #1d362d;
    color: #8adfb0;
  }
  .review-badge.risk-medium, .review-badge.badge-warn {
    background: #42351a;
    color: #f2cb75;
  }
  .review-badge.risk-high, .review-badge.badge-hard {
    background: #482124;
    color: #f39991;
  }
  .review-badge.badge-soft {
    background: #26313a;
    color: #9fc0d4;
  }
  .review-badge.history-kind-proposal {
    background: #1f3342;
    color: #86d3f2;
  }
  .review-badge.history-kind-rebase, .review-badge.history-kind-change, .review-badge.history-kind-prompt, .review-badge.history-kind-compacted {
    background: #2b323a;
    color: #b7c5cf;
  }
  .proposal-inspector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--line);
  }
  .proposal-inspector h4, .evidence-block h4 {
    margin: 0;
    font-size: 11px;
    font-weight: 650;
    color: #dce6ec;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }
  .preview-toggle-group {
    display: inline-flex;
    padding: 2px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #161b20;
  }
  .preview-toggle-btn {
    min-height: 22px;
    padding: 0 8px;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
  }
  .preview-toggle-btn.is-active {
    background: var(--accent);
    color: var(--accent-ink);
    font-weight: 600;
  }
  .delta-metrics, .requirement-metrics {
    margin: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 4px 8px;
    font-size: 11px;
  }
  .delta-metrics dt, .requirement-metrics dt {
    color: var(--muted);
  }
  .delta-metrics dd, .requirement-metrics dd {
    margin: 0;
    color: var(--viewer-foreground);
    font-family: var(--viewer-mono);
    overflow-wrap: anywhere;
  }
  .delta-accent {
    color: var(--accent);
  }
  .delta-pos {
    color: #7ee2a8;
  }
  .delta-neg {
    color: #f29b9b;
  }
  .proposal-ops ul {
    margin: 4px 0 0;
    padding-left: 16px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 11px;
    color: #b7c6d0;
  }
  .proposal-2d-diff {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .review-note-warn {
    color: #f2cb75;
  }
  .evidence-summary-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  .evidence-stat {
    padding: 3px 7px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--viewer-mono);
  }
  .evidence-stat.stat-pass {
    background: #1a3a2c;
    color: #7ee2a8;
  }
  .evidence-stat.stat-fail, .evidence-stat.stat-hard-fail {
    background: #462326;
    color: #f29b9b;
  }
  .evidence-stat.stat-unknown {
    background: #293139;
    color: #9fb0bc;
  }
  .evidence-provenance {
    margin: 0;
    font-size: 11px;
    color: var(--muted);
  }
  .evidence-block {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .requirement-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .requirement-card, .saved-approval-card {
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #1a2026;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }
  .requirement-card.status-fail {
    border-color: #6b3337;
  }
  .history-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .history-entry {
    padding: 6px 8px;
    border-left: 2px solid #355966;
    background: #1a2026;
    border-radius: 0 4px 4px 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }
  .history-time {
    margin-left: auto;
    font-size: 10px;
    color: var(--muted);
    font-family: var(--viewer-mono);
  }
  .parameter-controls {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }
  .parameter-row {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 7px 8px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #1a2026;
  }
  .parameter-row.is-modified {
    border-color: var(--accent);
    background: #1c2b31;
  }
  .parameter-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 6px;
    font-size: 11px;
  }
  .parameter-header label {
    font-weight: 600;
    font-family: var(--viewer-mono);
    color: #edf2f5;
  }
  .parameter-baseline {
    font-size: 10px;
    color: var(--muted);
  }
  .parameter-inputs {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 68px;
    align-items: center;
    gap: 8px;
  }
  .parameter-inputs input[type="range"] {
    width: 100%;
    accent-color: var(--accent);
  }
  .parameter-inputs input[type="number"] {
    width: 100%;
    height: 26px;
    padding: 0 6px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #14191e;
    color: var(--viewer-foreground);
    font-family: var(--viewer-mono);
    font-size: 11px;
  }
  .review-viewport-host {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #10161c;
  }
  .review-viewport-banner {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 10px;
    border: 1px solid #355966;
    border-radius: 5px;
    background: rgba(16, 22, 28, 0.88);
    color: #dce6ec;
    font-size: 11px;
    backdrop-filter: blur(4px);
  }
  .studio-tree-section {
    padding: 8px 6px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }
  .studio-tree-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 5px 7px;
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 11px;
    color: #ced9e0;
  }
  .studio-tree-row[data-highlighted="true"] {
    background: #223a43;
    border-color: var(--accent);
  }
  .studio-tree-row small {
    color: var(--muted);
    font-family: var(--viewer-mono);
    font-size: 10px;
  }
  .review-hlr-fallback {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
    height: 100%;
    padding: 46px 24px 20px;
    box-sizing: border-box;
    background: radial-gradient(circle at 50% 30%, rgba(56, 189, 248, 0.07), transparent 60%), #0e1319;
  }
  .review-hlr-badge {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #355966;
    background: rgba(16, 22, 28, 0.9);
    color: #b7d3e0;
    font-size: 11px;
    font-weight: 500;
  }
  .review-hlr-dot {
    width: 6px;
    height: 6px;
    border-radius: 999px;
    background: #38bdf8;
  }
  .review-hlr-sheet {
    width: min(680px, 100%);
    max-height: calc(100% - 54px);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    border: 1px solid #2b3844;
    background: #f8fafc;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45);
    overflow: hidden;
  }
  .review-hlr-sheet svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 100%;
  }
  .review-hlr-sheet[data-interactive-drawing="true"] svg [data-edge], .review-hlr-sheet[data-interactive-drawing="true"] svg [data-face], .review-hlr-sheet[data-interactive-drawing="true"] svg [data-item] {
    cursor: pointer;
  }
  .review-hlr-empty {
    margin: 0;
    padding: 36px 20px;
    color: #475569;
    font-size: 13px;
  }
  .review-hlr-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 5px 10px;
    border-radius: 7px;
    border: 1px solid var(--line);
    background: rgba(18, 24, 30, 0.92);
  }
  .review-hlr-views {
    display: inline-flex;
    gap: 2px;
  }
  .review-hlr-view-btn {
    min-height: 24px;
    padding: 0 9px;
    border: 1px solid transparent;
    border-radius: 4px;
    background: transparent;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
    cursor: pointer;
  }
  .review-hlr-view-btn:hover {
    color: var(--viewer-foreground);
    background: var(--surface-raised);
  }
  .review-hlr-view-btn.is-active {
    background: #223a43;
    border-color: #355966;
    color: #edf4f7;
  }
  .review-hlr-toggle {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    color: var(--muted);
    cursor: pointer;
  }
  .empty-fallback-note {
    margin: 0;
    max-width: 340px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--muted);
  }
}
@layer theme {
  :root, :host {
    --color-black: #000;
    --color-white: #fff;
    --spacing: 0.25rem;
    --text-xs: 0.75rem;
    --text-xs--line-height: calc(1 / 0.75);
    --font-weight-medium: 500;
    --default-transition-duration: 150ms;
    --default-transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@layer utilities {
  .\!visible {
    visibility: visible !important;
  }
  .visible {
    visibility: visible;
  }
  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
    border-width: 0;
  }
  .absolute {
    position: absolute;
  }
  .fixed {
    position: fixed;
  }
  .relative {
    position: relative;
  }
  .inset-0 {
    inset: calc(var(--spacing) * 0);
  }
  .top-1\/2 {
    top: calc(1/2 * 100%);
  }
  .left-1\/2 {
    left: calc(1/2 * 100%);
  }
  .isolate {
    isolation: isolate;
  }
  .z-40 {
    z-index: 40;
  }
  .container {
    width: 100%;
    @media (width >= 40rem) {
      max-width: 40rem;
    }
    @media (width >= 48rem) {
      max-width: 48rem;
    }
    @media (width >= 64rem) {
      max-width: 64rem;
    }
    @media (width >= 80rem) {
      max-width: 80rem;
    }
    @media (width >= 96rem) {
      max-width: 96rem;
    }
  }
  .block {
    display: block;
  }
  .flex {
    display: flex;
  }
  .hidden {
    display: none;
  }
  .inline-flex {
    display: inline-flex;
  }
  .h-5 {
    height: calc(var(--spacing) * 5);
  }
  .h-6 {
    height: calc(var(--spacing) * 6);
  }
  .h-7 {
    height: calc(var(--spacing) * 7);
  }
  .h-8 {
    height: calc(var(--spacing) * 8);
  }
  .h-\[28px\] {
    height: 28px;
  }
  .h-\[30px\] {
    height: 30px;
  }
  .h-\[32px\] {
    height: 32px;
  }
  .h-auto {
    height: auto;
  }
  .min-h-10 {
    min-height: calc(var(--spacing) * 10);
  }
  .w-\[28px\] {
    width: 28px;
  }
  .w-\[30px\] {
    width: 30px;
  }
  .w-\[32px\] {
    width: 32px;
  }
  .w-\[90px\] {
    width: 90px;
  }
  .w-full {
    width: 100%;
  }
  .min-w-0 {
    min-width: calc(var(--spacing) * 0);
  }
  .flex-1 {
    flex: 1;
  }
  .-translate-x-1\/2 {
    --tw-translate-x: calc(calc(1/2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .-translate-y-1\/2 {
    --tw-translate-y: calc(calc(1/2 * 100%) * -1);
    translate: var(--tw-translate-x) var(--tw-translate-y);
  }
  .cursor-pointer {
    cursor: pointer;
  }
  .flex-wrap {
    flex-wrap: wrap;
  }
  .items-center {
    align-items: center;
  }
  .justify-center {
    justify-content: center;
  }
  .justify-start {
    justify-content: flex-start;
  }
  .gap-0 {
    gap: calc(var(--spacing) * 0);
  }
  .gap-1 {
    gap: calc(var(--spacing) * 1);
  }
  .gap-2 {
    gap: calc(var(--spacing) * 2);
  }
  .overflow-hidden {
    overflow: hidden;
  }
  .rounded {
    border-radius: 0.25rem;
  }
  .rounded-lg {
    border-radius: 8px;
  }
  .rounded-md {
    border-radius: 6px;
  }
  .border {
    border-style: var(--tw-border-style);
    border-width: 1px;
  }
  .border-0 {
    border-style: var(--tw-border-style);
    border-width: 0px;
  }
  .border-\[\#46545e\] {
    border-color: #46545e;
  }
  .border-border {
    border-color: var(--line);
  }
  .border-input {
    border-color: var(--line);
  }
  .border-transparent {
    border-color: transparent;
  }
  .bg-\[\#1d252c\] {
    background-color: #1d252c;
  }
  .bg-\[\#080e14b8\] {
    background-color: #080e14b8;
  }
  .bg-black\/40 {
    background-color: color-mix(in srgb, #000 40%, transparent);
    @supports (color: color-mix(in lab, red, red)) {
      background-color: color-mix(in oklab, var(--color-black) 40%, transparent);
    }
  }
  .bg-destructive {
    background-color: var(--viewer-destructive);
  }
  .bg-popover {
    background-color: var(--surface);
  }
  .bg-primary {
    background-color: var(--accent);
  }
  .bg-secondary {
    background-color: var(--ui-secondary);
  }
  .bg-transparent {
    background-color: transparent;
  }
  .p-0 {
    padding: calc(var(--spacing) * 0);
  }
  .p-1 {
    padding: calc(var(--spacing) * 1);
  }
  .px-1 {
    padding-inline: calc(var(--spacing) * 1);
  }
  .px-1\.5 {
    padding-inline: calc(var(--spacing) * 1.5);
  }
  .px-2 {
    padding-inline: calc(var(--spacing) * 2);
  }
  .px-2\.5 {
    padding-inline: calc(var(--spacing) * 2.5);
  }
  .py-0 {
    padding-block: calc(var(--spacing) * 0);
  }
  .text-left {
    text-align: left;
  }
  .text-xs {
    font-size: var(--text-xs);
    line-height: var(--tw-leading, var(--text-xs--line-height));
  }
  .text-\[10px\] {
    font-size: 10px;
  }
  .text-\[11px\] {
    font-size: 11px;
  }
  .leading-none {
    --tw-leading: 1;
    line-height: 1;
  }
  .font-medium {
    --tw-font-weight: var(--font-weight-medium);
    font-weight: var(--font-weight-medium);
  }
  .whitespace-normal {
    white-space: normal;
  }
  .whitespace-nowrap {
    white-space: nowrap;
  }
  .text-\[\#dce2e6\] {
    color: #dce2e6;
  }
  .text-popover-foreground {
    color: var(--viewer-foreground);
  }
  .text-primary-foreground {
    color: var(--accent-ink);
  }
  .text-secondary-foreground {
    color: var(--viewer-foreground);
  }
  .text-white {
    color: var(--color-white);
  }
  .shadow-lg {
    --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .shadow-none {
    --tw-shadow: 0 0 #0000;
    box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
  }
  .outline {
    outline-style: var(--tw-outline-style);
    outline-width: 1px;
  }
  .\!filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,) !important;
  }
  .filter {
    filter: var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,);
  }
  .backdrop-blur-\[3px\] {
    --tw-backdrop-blur: blur(3px);
    -webkit-backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
    backdrop-filter: var(--tw-backdrop-blur,) var(--tw-backdrop-brightness,) var(--tw-backdrop-contrast,) var(--tw-backdrop-grayscale,) var(--tw-backdrop-hue-rotate,) var(--tw-backdrop-invert,) var(--tw-backdrop-opacity,) var(--tw-backdrop-saturate,) var(--tw-backdrop-sepia,);
  }
  .transition-colors {
    transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
    transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
    transition-duration: var(--tw-duration, var(--default-transition-duration));
  }
  .outline-none {
    --tw-outline-style: none;
    outline-style: none;
  }
  .placeholder\:text-muted-foreground {
    &::placeholder {
      color: var(--muted);
    }
  }
  .hover\:bg-accent {
    &:hover {
      @media (hover: hover) {
        background-color: var(--ui-hover);
      }
    }
  }
  .hover\:bg-destructive\/90 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--viewer-destructive);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--viewer-destructive) 90%, transparent);
        }
      }
    }
  }
  .hover\:bg-primary\/90 {
    &:hover {
      @media (hover: hover) {
        background-color: var(--accent);
        @supports (color: color-mix(in lab, red, red)) {
          background-color: color-mix(in oklab, var(--accent) 90%, transparent);
        }
      }
    }
  }
  .hover\:text-accent-foreground {
    &:hover {
      @media (hover: hover) {
        color: var(--viewer-foreground);
      }
    }
  }
  .focus-visible\:ring-0 {
    &:focus-visible {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(0px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus-visible\:ring-2 {
    &:focus-visible {
      --tw-ring-shadow: var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color, currentcolor);
      box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
    }
  }
  .focus-visible\:ring-ring {
    &:focus-visible {
      --tw-ring-color: var(--accent);
    }
  }
  .focus-visible\:outline-none {
    &:focus-visible {
      --tw-outline-style: none;
      outline-style: none;
    }
  }
  .disabled\:pointer-events-auto {
    &:disabled {
      pointer-events: auto;
    }
  }
  .disabled\:pointer-events-none {
    &:disabled {
      pointer-events: none;
    }
  }
  .disabled\:opacity-50 {
    &:disabled {
      opacity: 50%;
    }
  }
  .sm\:max-w-\[570px\] {
    @media (width >= 40rem) {
      max-width: 570px;
    }
  }
  .\[\&_svg\]\:size-3\.5 {
    & svg {
      width: calc(var(--spacing) * 3.5);
      height: calc(var(--spacing) * 3.5);
    }
  }
  .\[\&_svg\]\:size-\[14px\] {
    & svg {
      width: 14px;
      height: 14px;
    }
  }
  .\[\&_svg\]\:size-\[16px\] {
    & svg {
      width: 16px;
      height: 16px;
    }
  }
  .\[\&_svg\]\:size-\[18px\] {
    & svg {
      width: 18px;
      height: 18px;
    }
  }
  .\[\&_svg\]\:shrink-0 {
    & svg {
      flex-shrink: 0;
    }
  }
}
:root {
  --viewer-background: #15191d;
  --viewer-foreground: #dce2e6;
  --viewer-destructive: #e89585;
  --viewer-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --viewer-mono: "SFMono-Regular", Consolas, monospace;
  --ui-secondary: #252c32;
  --ui-muted: #23292f;
  --ui-hover: #303941;
}
@property --tw-translate-x {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-y {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-translate-z {
  syntax: "*";
  inherits: false;
  initial-value: 0;
}
@property --tw-border-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-leading {
  syntax: "*";
  inherits: false;
}
@property --tw-font-weight {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-inset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-inset-ring-color {
  syntax: "*";
  inherits: false;
}
@property --tw-inset-ring-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-ring-inset {
  syntax: "*";
  inherits: false;
}
@property --tw-ring-offset-width {
  syntax: "<length>";
  inherits: false;
  initial-value: 0px;
}
@property --tw-ring-offset-color {
  syntax: "*";
  inherits: false;
  initial-value: #fff;
}
@property --tw-ring-offset-shadow {
  syntax: "*";
  inherits: false;
  initial-value: 0 0 #0000;
}
@property --tw-outline-style {
  syntax: "*";
  inherits: false;
  initial-value: solid;
}
@property --tw-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-sepia {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-color {
  syntax: "*";
  inherits: false;
}
@property --tw-drop-shadow-alpha {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 100%;
}
@property --tw-drop-shadow-size {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-blur {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-brightness {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-contrast {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-grayscale {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-hue-rotate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-invert {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-opacity {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-saturate {
  syntax: "*";
  inherits: false;
}
@property --tw-backdrop-sepia {
  syntax: "*";
  inherits: false;
}
@layer properties {
  @supports ((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b)))) {
    *, ::before, ::after, ::backdrop {
      --tw-translate-x: 0;
      --tw-translate-y: 0;
      --tw-translate-z: 0;
      --tw-border-style: solid;
      --tw-leading: initial;
      --tw-font-weight: initial;
      --tw-shadow: 0 0 #0000;
      --tw-shadow-color: initial;
      --tw-shadow-alpha: 100%;
      --tw-inset-shadow: 0 0 #0000;
      --tw-inset-shadow-color: initial;
      --tw-inset-shadow-alpha: 100%;
      --tw-ring-color: initial;
      --tw-ring-shadow: 0 0 #0000;
      --tw-inset-ring-color: initial;
      --tw-inset-ring-shadow: 0 0 #0000;
      --tw-ring-inset: initial;
      --tw-ring-offset-width: 0px;
      --tw-ring-offset-color: #fff;
      --tw-ring-offset-shadow: 0 0 #0000;
      --tw-outline-style: solid;
      --tw-blur: initial;
      --tw-brightness: initial;
      --tw-contrast: initial;
      --tw-grayscale: initial;
      --tw-hue-rotate: initial;
      --tw-invert: initial;
      --tw-opacity: initial;
      --tw-saturate: initial;
      --tw-sepia: initial;
      --tw-drop-shadow: initial;
      --tw-drop-shadow-color: initial;
      --tw-drop-shadow-alpha: 100%;
      --tw-drop-shadow-size: initial;
      --tw-backdrop-blur: initial;
      --tw-backdrop-brightness: initial;
      --tw-backdrop-contrast: initial;
      --tw-backdrop-grayscale: initial;
      --tw-backdrop-hue-rotate: initial;
      --tw-backdrop-invert: initial;
      --tw-backdrop-opacity: initial;
      --tw-backdrop-saturate: initial;
      --tw-backdrop-sepia: initial;
    }
  }
}
