.js-tc-configurator {
  display: block;
  width: 100%;
}

.tc-request-builder-wrap {
  margin-right: 20px;
  max-width: none;
}

.tc-request-builder-root {
  margin-top: 14px;
}

.js-tc-configurator.tc-layout-wide,
.js-tc-configurator.tc-layout-full {
  max-width: none;
}

.js-tc-configurator.tc-layout-wide {
  --tc-layout-wide-width: min(calc(100vw - 32px), var(--tc-layout-wide-max-width, 1320px));
  margin-left: calc(50% - (var(--tc-layout-wide-width) / 2));
  margin-right: calc(50% - (var(--tc-layout-wide-width) / 2));
  width: var(--tc-layout-wide-width);
}

.js-tc-configurator.tc-layout-full {
  left: var(--tc-layout-full-offset, 0px);
  margin-left: 0;
  margin-right: 0;
  position: relative;
  width: var(--tc-layout-full-width, 100vw);
}

@supports (width: 100dvw) {
  .js-tc-configurator.tc-layout-full {
    width: var(--tc-layout-full-width, 100dvw);
  }
}

.tc-app {
  --tc-bg-1: #f5efe6;
  --tc-bg-2: #dce4e7;
  --tc-panel: rgba(255, 252, 247, 0.78);
  --tc-panel-strong: #fffaf2;
  --tc-line: rgba(23, 50, 69, 0.12);
  --tc-text: #152635;
  --tc-muted: #587082;
  --tc-accent: #f28c3f;
  --tc-accent-strong: #cf6631;
  --tc-deep: #173245;
  --tc-success: #2c8d63;
  --tc-error: #b9442c;
  color: var(--tc-text);
  font-family: "Trebuchet MS", "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
}

.tc-app * {
  box-sizing: border-box;
}

.tc-app::before {
  background:
    radial-gradient(circle at top left, rgba(242, 140, 63, 0.28), transparent 36%),
    radial-gradient(circle at bottom right, rgba(23, 50, 69, 0.16), transparent 34%),
    linear-gradient(135deg, var(--tc-bg-1), var(--tc-bg-2));
  border-radius: 32px;
  content: "";
  inset: 0;
  position: absolute;
  z-index: 0;
}

.tc-app > * {
  position: relative;
  z-index: 1;
}

.tc-hero,
.tc-shell {
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
}

.tc-hero {
  align-items: end;
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  padding-bottom: 18px;
  padding-top: clamp(24px, 5vw, 42px);
}

.tc-kicker {
  color: var(--tc-accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.tc-hero h1 {
  font-family: inherit;
  font-size: clamp(1.7rem, 2.5vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.08;
  margin: 0 0 10px;
}

.tc-hero p {
  color: var(--tc-muted);
  font-size: 0.96rem;
  line-height: 1.58;
  margin: 0;
  max-width: 62ch;
}

.tc-hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.tc-hero-badges span,
.tc-color-pill {
  background: rgba(255, 250, 242, 0.78);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 999px;
  box-shadow: 0 12px 30px rgba(19, 35, 45, 0.07);
  color: var(--tc-deep);
  display: inline-flex;
  font-size: 0.84rem;
  font-weight: 700;
  gap: 8px;
  padding: 10px 14px;
}

.tc-shell {
  display: grid;
  gap: 22px;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.85fr);
  padding-bottom: clamp(18px, 4vw, 32px);
}

.tc-project-stage {
  display: grid;
  gap: 14px;
  padding-left: clamp(16px, 3vw, 32px);
  padding-right: clamp(16px, 3vw, 32px);
  padding-bottom: 18px;
}

.tc-project-card {
  display: grid;
  gap: 16px;
}

.tc-project-card--compact {
  gap: 12px;
}

.tc-project-card--compact .tc-card-head p,
.tc-system-card .tc-card-head p {
  font-size: 0.88rem;
}

.tc-project-card .tc-card-head {
  margin-bottom: 0;
}

.tc-project-bar-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.85fr);
}

.tc-project-bar-main,
.tc-project-bar-side {
  display: grid;
  gap: 14px;
}

.tc-project-card .tc-project-toolbar,
.tc-project-card .tc-position-list {
  margin-bottom: 0;
}

.tc-project-card .tc-help-note {
  margin: 0;
}

.tc-project-meta-grid {
  align-items: end;
}

.tc-help-note-compact {
  font-size: 0.8rem;
  padding: 11px 13px;
}

.tc-project-toolbar .tc-submit {
  border-radius: 14px;
  font-size: 0.84rem;
  font-weight: 700;
  min-height: 40px;
  padding: 0 13px;
}

.tc-project-card--compact .tc-position-list {
  gap: 6px;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
}

.tc-project-card--compact .tc-position-card {
  border-radius: 16px;
  gap: 1px;
  padding: 8px 10px;
}

.tc-project-card--compact .tc-position-card-head strong {
  font-size: 0.88rem;
}

.tc-project-card--compact .tc-position-card-meta {
  font-size: 0.76rem;
  line-height: 1.25;
}

.tc-system-card {
  gap: 14px;
}

.tc-grid.tc-project-system-grid {
  align-items: start;
  gap: 12px;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
}

.tc-project-system-controls {
  align-content: start;
  display: grid;
  gap: 12px;
}

.tc-project-system-fields {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tc-system-note-inline {
  align-self: stretch;
  display: grid;
  gap: 4px;
  height: 100%;
  margin: 0;
  padding: 12px 14px;
}

.tc-system-note-inline strong {
  font-size: 0.9rem;
  margin-bottom: 2px;
}

.tc-system-note-inline p {
  font-size: 0.82rem;
  line-height: 1.42;
}

.tc-system-summary {
  min-height: 2.3em;
}

.tc-system-specs {
  display: grid;
  gap: 5px;
}

.tc-system-spec-row {
  align-items: start;
  display: grid;
  gap: 8px;
  grid-template-columns: 150px minmax(0, 1fr);
}

.tc-system-spec-label,
.tc-system-spec-value {
  font-size: 0.78rem;
  line-height: 1.34;
}

.tc-system-spec-label {
  color: var(--tc-deep);
  font-weight: 700;
}

.tc-system-spec-value {
  color: var(--tc-muted);
  min-width: 0;
}

.tc-main,
.tc-sidebar {
  display: grid;
  gap: 18px;
}

.tc-card {
  animation: tc-rise 0.45s ease;
  background: var(--tc-panel);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 26px;
  box-shadow: 0 18px 60px rgba(17, 31, 42, 0.08);
  overflow: hidden;
  padding: 22px;
  backdrop-filter: blur(16px);
}

.tc-card-sticky {
  position: sticky;
  top: 22px;
}

.tc-card-head {
  margin-bottom: 16px;
}

.tc-card-head h2 {
  font-size: 1.18rem;
  margin: 0 0 6px;
}

.tc-card-head p {
  color: var(--tc-muted);
  font-size: 0.95rem;
  line-height: 1.55;
  margin: 0;
}

.tc-grid {
  display: grid;
  gap: 14px;
}

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

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

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

.tc-grid-compact {
  align-items: end;
}

.tc-field,
.tc-block {
  display: grid;
  gap: 8px;
}

.tc-label,
.tc-field span,
.tc-block label,
.tc-panel-label {
  color: var(--tc-deep);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.tc-field input,
.tc-field select,
.tc-field textarea {
  appearance: none;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(23, 50, 69, 0.14);
  border-radius: 16px;
  color: var(--tc-text);
  font: inherit;
  min-height: 48px;
  outline: none;
  padding: 12px 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  width: 100%;
}

.tc-field-compact {
  gap: 6px;
}

.tc-field-compact span {
  font-size: 0.8rem;
}

.tc-field-compact input,
.tc-field-compact select {
  border-radius: 14px;
  min-height: 42px;
  padding: 9px 12px;
}

.tc-field textarea {
  min-height: 120px;
  resize: vertical;
}

.tc-field input:focus,
.tc-field select:focus,
.tc-field textarea:focus {
  border-color: rgba(242, 140, 63, 0.7);
  box-shadow: 0 0 0 4px rgba(242, 140, 63, 0.14);
}

.tc-chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tc-chip {
  background: rgba(255, 248, 240, 0.8);
  border: 1px solid rgba(23, 50, 69, 0.12);
  border-radius: 999px;
  color: var(--tc-deep);
  cursor: pointer;
  font: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 44px;
  padding: 0 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tc-chip:hover,
.tc-cell-button:hover,
.tc-submit:hover {
  transform: translateY(-1px);
}

.tc-chip.is-active,
.tc-cell-button.is-active {
  background: linear-gradient(135deg, var(--tc-accent), #ffbb66);
  border-color: rgba(207, 102, 49, 0.45);
  box-shadow: 0 12px 22px rgba(242, 140, 63, 0.18);
  color: #1f2b32;
}

.tc-system-note,
.tc-help-note,
.tc-panel-card,
.tc-inline-stats,
.tc-check-card,
.tc-project-side-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 20px;
  padding: 15px 16px;
}

.tc-project-side-card {
  display: grid;
  gap: 14px;
}

.tc-system-note strong,
.tc-panel-card strong,
.tc-check-card h3,
.tc-weight-block h3 {
  display: block;
  font-size: 1rem;
  margin: 0 0 8px;
}

.tc-system-note p,
.tc-panel-card p,
.tc-help-note,
.tc-check-card,
.tc-summary-row span,
.tc-inline-stats,
.tc-debug-output {
  color: var(--tc-muted);
  line-height: 1.55;
}

.tc-system-note p {
  margin: 0;
}

.tc-system-note p + p {
  margin-top: 6px;
}

.tc-section-title {
  color: var(--tc-deep);
  font-size: 0.94rem;
  font-weight: 700;
  margin: 0 0 12px;
}

.tc-section-title strong {
  font-size: 1.02rem;
}

.tc-color-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tc-swatch {
  background: var(--swatch, #d7d7d7);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  display: inline-block;
  flex: 0 0 auto;
  height: 14px;
  width: 14px;
}

.tc-inline-stats {
  align-content: start;
  display: flex;
  flex-direction: column;
  font-size: 0.88rem;
  gap: 4px;
  justify-content: center;
}

.tc-inline-stats strong {
  color: var(--tc-deep);
  font-weight: 800;
}

.tc-inline-stats-compact {
  border-radius: 16px;
  font-size: 0.84rem;
  gap: 2px;
  min-height: 42px;
  padding: 10px 12px;
}

.tc-weight-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}

.tc-advanced {
  background: rgba(255, 255, 255, 0.52);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 20px;
  margin-top: 14px;
  overflow: hidden;
}

.tc-advanced summary {
  color: var(--tc-deep);
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 800;
  list-style: none;
  padding: 16px 18px;
}

.tc-advanced summary::-webkit-details-marker {
  display: none;
}

.tc-advanced summary::after {
  content: "+";
  float: right;
  font-size: 1.1rem;
}

.tc-advanced[open] summary::after {
  content: "-";
}

.tc-advanced-body {
  border-top: 1px solid rgba(23, 50, 69, 0.08);
  padding: 0 16px 16px;
}

.tc-mini-note {
  color: var(--tc-muted);
  font-size: 0.88rem;
  line-height: 1.55;
  margin-top: 14px;
}

.tc-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-end;
  margin-top: 12px;
}

.tc-inline-actions .tc-field-inline {
  margin-top: 0;
  min-width: 220px;
}

.tc-weight-block {
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 20px;
  padding: 14px;
}

.tc-field-inline {
  align-items: center;
  grid-template-columns: 72px 1fr;
  margin-top: 10px;
}

.tc-cell-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tc-cell-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(23, 50, 69, 0.12);
  border-radius: 14px;
  color: var(--tc-deep);
  cursor: pointer;
  display: grid;
  font: inherit;
  gap: 2px;
  justify-items: center;
  min-height: 42px;
  min-width: 42px;
  padding: 8px 12px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.tc-cell-button-label {
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1;
}

.tc-leaf-dimensions {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 18px;
  margin-top: 12px;
  padding: 12px;
}

.tc-leaf-dimensions-head {
  align-items: baseline;
  display: flex;
  gap: 10px;
  justify-content: space-between;
  margin-bottom: 10px;
}

.tc-leaf-dimensions-head strong {
  color: var(--tc-deep);
  font-size: 0.92rem;
}

.tc-leaf-dimensions-head span {
  color: var(--tc-muted);
  font-size: 0.8rem;
  line-height: 1.35;
}

.tc-check-card {
  display: grid;
  gap: 10px;
}

.tc-check {
  align-items: center;
  display: flex;
  gap: 10px;
}

.tc-check input {
  accent-color: var(--tc-accent-strong);
  height: 18px;
  width: 18px;
}

.tc-check-consent {
  margin-top: 4px;
}

.tc-field-wide {
  grid-column: 1 / -1;
}

.tc-honeypot {
  display: none;
}

.tc-submit-row {
  align-items: center;
  display: grid;
  gap: 14px;
  grid-template-columns: minmax(220px, auto) 1fr;
  margin-top: 18px;
}

.tc-submit {
  background: linear-gradient(135deg, var(--tc-accent), #ffb75d);
  border: 0;
  border-radius: 18px;
  color: #1b2a36;
  cursor: pointer;
  font: inherit;
  font-size: 0.96rem;
  font-weight: 800;
  min-height: 54px;
  padding: 0 20px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.tc-submit-secondary,
.tc-submit-ghost {
  min-height: 46px;
  padding: 0 16px;
}

.tc-submit-secondary {
  background: rgba(255, 248, 240, 0.88);
  border: 1px solid rgba(23, 50, 69, 0.12);
  box-shadow: none;
  color: var(--tc-deep);
}

.tc-submit-ghost {
  background: rgba(23, 50, 69, 0.08);
  border: 1px solid rgba(23, 50, 69, 0.12);
  box-shadow: none;
  color: var(--tc-deep);
}

.tc-submit:disabled {
  cursor: wait;
  filter: saturate(0.8);
  opacity: 0.72;
}

.tc-status {
  background: rgba(255, 255, 255, 0.68);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 18px;
  min-height: 54px;
  padding: 13px 16px;
}

.tc-status-success {
  color: var(--tc-success);
}

.tc-status-error {
  color: var(--tc-error);
}

.tc-submit-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.tc-preview-stage {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(224, 232, 235, 0.76)),
    repeating-linear-gradient(90deg, rgba(23, 50, 69, 0.04) 0, rgba(23, 50, 69, 0.04) 1px, transparent 1px, transparent 42px);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 24px;
  overflow: hidden;
  padding: 16px;
  -webkit-user-drag: none;
  user-select: none;
}

.tc-preview-mode-toggle {
  align-items: center;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 999px;
  display: inline-flex;
  gap: 6px;
  margin-bottom: 12px;
  padding: 5px;
}

.tc-preview-mode-button {
  background: transparent;
  border: 0;
  border-radius: 999px;
  color: var(--tc-muted);
  cursor: pointer;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  min-height: 34px;
  padding: 0 13px;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.tc-preview-mode-button:hover {
  transform: translateY(-1px);
}

.tc-preview-mode-button.is-active {
  background: linear-gradient(135deg, var(--tc-accent), #ffbb66);
  box-shadow: 0 12px 22px rgba(242, 140, 63, 0.18);
  color: #1f2b32;
}

.tc-preview-stage.is-3d {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.8), transparent 46%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(221, 229, 232, 0.86));
  padding: 18px 16px 12px;
}

.tc-preview-3d {
  display: grid;
  gap: 12px;
}

.tc-preview-scene {
  padding: calc(var(--tc-preview-depth) * 0.62) calc(var(--tc-preview-depth) * 0.92) 4px 4px;
}

.tc-preview-object {
  filter: drop-shadow(0 18px 34px var(--tc-preview-shadow, rgba(12, 24, 32, 0.24)));
  margin: 0 auto;
  position: relative;
  width: min(100%, 390px);
}

.tc-preview-face {
  pointer-events: none;
  position: absolute;
}

.tc-preview-face-top {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.74), var(--tc-preview-top, #d5d0ca));
  border-radius: 18px 18px 0 0;
  clip-path: polygon(0 100%, 100% 100%, 84% 0, 14% 0);
  height: calc(var(--tc-preview-depth) * 0.76);
  left: calc(var(--tc-preview-depth) * 0.54);
  right: calc(var(--tc-preview-depth) * 0.82);
  top: calc(var(--tc-preview-depth) * -0.56);
  z-index: 1;
}

.tc-preview-face-side {
  background: linear-gradient(180deg, var(--tc-preview-top, #d5d0ca), var(--tc-preview-side, #7d8288));
  border-radius: 0 18px 18px 0;
  bottom: calc(var(--tc-preview-depth) * 0.04);
  clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 92%);
  right: calc(var(--tc-preview-depth) * -0.72);
  top: calc(var(--tc-preview-depth) * 0.22);
  width: calc(var(--tc-preview-depth) * 0.84);
  z-index: 1;
}

.tc-preview-face-front {
  background: rgba(255, 255, 255, 0.28);
  border-radius: 18px;
  overflow: hidden;
  pointer-events: auto;
  position: relative;
  z-index: 3;
}

.tc-preview-face-front::after {
  background: linear-gradient(125deg, rgba(255, 255, 255, 0.18), transparent 26%, transparent 58%, rgba(255, 255, 255, 0.08) 78%, transparent 100%);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.tc-preview-stage.is-3d .tc-preview-svg {
  filter: saturate(1.02);
}

.tc-preview-3d-meta {
  align-items: center;
  color: var(--tc-muted);
  display: flex;
  font-size: 0.78rem;
  font-weight: 700;
  gap: 8px;
  justify-content: space-between;
}

.tc-preview-3d-meta strong {
  color: var(--tc-deep);
}

.tc-live-3d-stage {
  display: grid;
  gap: 12px;
}

.tc-live-3d-tools {
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 18px;
  display: grid;
  gap: 10px;
  padding: 12px 14px;
}

.tc-live-3d-tools strong {
  color: var(--tc-deep);
  font-size: 0.94rem;
}

.tc-live-3d-tools span {
  color: rgba(23, 50, 69, 0.72);
}

.tc-live-3d-control-row {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
}

.tc-live-3d-checkbox {
  align-items: center;
  display: inline-flex;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
}

.tc-live-3d-field {
  margin: 0;
  min-width: 220px;
}

.tc-live-3d-checkbox input,
.tc-live-3d-range input[type="range"] {
  accent-color: var(--tc-accent);
}

.tc-live-3d-field select {
  appearance: none;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 50, 69, 0.12);
  border-radius: 12px;
  color: var(--tc-deep);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  min-height: 40px;
  padding: 0 14px;
  width: 100%;
}

.tc-live-3d-range {
  display: grid;
  gap: 6px;
}

.tc-live-3d-range-head {
  align-items: center;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.tc-live-3d-tools.is-disabled {
  opacity: 0.72;
}

.tc-live-3d-canvas {
  background:
    radial-gradient(circle at 24% 20%, rgba(126, 138, 149, 0.96), rgba(92, 103, 114, 0.98) 42%, rgba(66, 76, 86, 1) 100%);
  border-radius: 22px;
  height: 360px;
  overflow: hidden;
  position: relative;
}

.tc-live-3d-canvas canvas {
  display: block;
  height: 100%;
  width: 100%;
}

.tc-live-3d-fallback {
  align-items: center;
  color: var(--tc-error);
  display: flex;
  font-size: 0.9rem;
  font-weight: 700;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: absolute;
  text-align: center;
}

.tc-profile-card {
  background: rgba(255, 255, 255, 0.64);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 22px;
  margin-top: 14px;
  overflow: hidden;
}

.tc-profile-card-head {
  display: grid;
  gap: 4px;
  padding: 14px 16px 0;
}

.tc-profile-card-head strong {
  color: var(--tc-deep);
  font-size: 0.92rem;
}

.tc-profile-card-head span,
.tc-profile-note {
  color: var(--tc-muted);
  font-size: 0.84rem;
  line-height: 1.5;
}

.tc-profile-stage {
  background:
    linear-gradient(180deg, rgba(248, 251, 252, 0.92), rgba(228, 235, 238, 0.9)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.96), transparent 48%);
  border-bottom: 1px solid rgba(23, 50, 69, 0.06);
  border-top: 1px solid rgba(23, 50, 69, 0.06);
  margin-top: 12px;
  padding: 14px;
  -webkit-user-drag: none;
  user-select: none;
}

.tc-profile-svg,
.tc-profile-image {
  display: block;
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
  -webkit-user-drag: none;
  user-select: none;
}

.tc-profile-image {
  border-radius: 16px;
  object-fit: contain;
}

.tc-profile-note {
  padding: 12px 16px 14px;
}

.tc-project-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tc-position-list {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  margin-bottom: 16px;
}

.tc-position-card {
  align-items: start;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 50, 69, 0.12);
  border-radius: 18px;
  color: var(--tc-deep);
  cursor: pointer;
  display: grid;
  gap: 2px;
  padding: 10px 11px;
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.tc-position-card.is-active {
  background: linear-gradient(135deg, rgba(242, 140, 63, 0.16), rgba(255, 245, 232, 0.92));
  border-color: rgba(242, 140, 63, 0.4);
  box-shadow: 0 14px 28px rgba(242, 140, 63, 0.14);
}

.tc-position-card-head {
  align-items: baseline;
  display: flex;
  gap: 8px;
  justify-content: space-between;
}

.tc-position-card-head strong {
  font-size: 0.92rem;
}

.tc-position-card-head span,
.tc-position-card-meta,
.tc-project-note p,
.tc-legend {
  color: var(--tc-muted);
  font-size: 0.8rem;
  line-height: 1.34;
}

.tc-project-note,
.tc-project-summary-card {
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(23, 50, 69, 0.08);
  border-radius: 20px;
  padding: 16px;
}

.tc-project-note strong,
.tc-project-summary-card h3 {
  display: block;
  font-size: 1rem;
  margin: 0 0 8px;
}

.tc-position-inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.tc-position-tag {
  background: rgba(23, 50, 69, 0.08);
  border-radius: 999px;
  color: var(--tc-deep);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 800;
  padding: 7px 11px;
}

.tc-position-tag.is-active {
  background: linear-gradient(135deg, var(--tc-accent), #ffbb66);
}

.tc-legend {
  margin-top: 12px;
}

.tc-preview-svg {
  display: block;
  height: auto;
  width: 100%;
}

.tc-preview-svg [data-dimension-target]:hover text,
.tc-preview-svg [data-dimension-target]:hover line,
.tc-preview-svg [data-dimension-target]:hover polygon {
  filter: brightness(0.9);
}

.tc-summary {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.tc-summary-row {
  align-items: start;
  border-bottom: 1px solid rgba(23, 50, 69, 0.08);
  display: grid;
  gap: 10px;
  grid-template-columns: 104px 1fr;
  padding-bottom: 10px;
}

.tc-summary-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.tc-summary-row strong {
  color: var(--tc-deep);
  font-size: 0.92rem;
  line-height: 1.55;
}

.tc-debug-output {
  background: #11212c;
  border-radius: 18px;
  color: #d7ebf6;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.84rem;
  max-height: 420px;
  overflow: auto;
  padding: 16px;
  white-space: pre-wrap;
}

.tc-debug-actions {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

.tc-consent-grid {
  align-items: start;
}

@keyframes tc-rise {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

  .tc-project-bar-grid {
    grid-template-columns: 1fr;
  }

  .tc-grid.tc-project-system-grid {
    grid-template-columns: 1fr;
  }

  .tc-project-system-fields {
    grid-template-columns: 1fr;
  }

  .tc-hero-badges {
    justify-content: flex-start;
  }

  .tc-card-sticky {
    position: static;
  }
}

@media (max-width: 760px) {
  .tc-grid-2,
  .tc-grid-3,
  .tc-grid-4,
  .tc-weight-grid,
  .tc-submit-row {
    grid-template-columns: 1fr;
  }

  .tc-live-3d-control-row {
    align-items: stretch;
    flex-direction: column;
  }

  .tc-live-3d-field {
    min-width: 0;
    width: 100%;
  }

  .tc-summary-row {
    grid-template-columns: 1fr;
  }

  .tc-field-wide {
    grid-column: auto;
  }

  .tc-card {
    border-radius: 22px;
    padding: 18px;
  }
}
