.synth-page {
  --synth-blue: #0071e3;
  max-width: 1440px;
  padding: 0 48px 88px;
  margin: auto;
}
.synth-intro {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 58px 0 32px;
}
.synth-intro .eyebrow,
.synth-method .eyebrow,
.synth-collection .eyebrow {
  font-size: 10px;
  letter-spacing: 2.5px;
  color: #6f91ad;
  margin-bottom: 16px;
}
.synth-intro h1 {
  margin: 0 0 15px;
  font-weight: 600;
  font-size: clamp(30px, 3.2vw, 44px);
  line-height: 1.25;
  letter-spacing: -1.8px;
}
.synth-intro p,
.synth-section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}
.synth-quiet-link {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
  padding: 10px 0;
  white-space: nowrap;
  color: #52738e;
}
.synth-quiet-link:hover {
  color: var(--synth-blue);
}
.synth-studio {
  border: 1px solid #dbe7f0;
  border-radius: 22px;
  background: #fff;
  box-shadow:
    0 14px 60px #2b6e9c07,
    0 1px 3px #2b6e9c05;
  overflow: hidden;
  scroll-margin-top: 18px;
}
.synth-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: #f7fbfe;
  border-bottom: 1px solid #dfebf3;
  padding: 8px;
  gap: 5px;
}
.synth-tab {
  min-width: 0;
  min-height: 78px;
  background: transparent;
  display: flex;
  text-align: left;
  align-items: center;
  gap: 13px;
  padding: 16px 18px;
  border-radius: 15px;
  border: 1px solid transparent;
  position: relative;
  transition:
    background 0.18s,
    border-color 0.18s;
}
.synth-tab:hover {
  background: #edf6fd;
}
.synth-tab.active {
  background: #fff;
  border-color: #dcebf7;
  box-shadow: 0 2px 9px #1764a00a;
}
.synth-tab-icon {
  color: #7290a7;
  display: flex;
}
.synth-tab-icon svg {
  width: 23px;
  height: 23px;
}
.synth-tab.active .synth-tab-icon {
  color: var(--synth-blue);
}
.synth-tab b {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
  letter-spacing: 0.2px;
}
.synth-tab small {
  display: block;
  color: #8092a3;
  font-size: 10px;
  line-height: 1.4;
}
.synth-tab-number {
  position: absolute;
  right: 13px;
  top: 12px;
  color: #b6c8d6;
  font-size: 8px;
  letter-spacing: 1px;
}
.synth-tab.active .synth-tab-number {
  color: #70ade0;
}
.synth-panel {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  min-height: 620px;
}
.synth-controls {
  padding: 26px;
  border-right: 1px solid #e8eff5;
  min-width: 0;
}
.synth-control-heading {
  margin-bottom: 22px;
}
.synth-control-heading > span {
  color: #88a0b2;
  font-size: 9px;
  letter-spacing: 1.3px;
}
.synth-control-heading h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.5px;
  margin: 9px 0 0;
}
.synth-label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 550;
  margin: 18px 0 10px;
}
.synth-label span {
  font-size: 9px;
  font-weight: 400;
  color: #91a1b0;
}
.synth-textarea {
  width: 100%;
  resize: vertical;
  min-height: 112px;
  max-height: 280px;
  border-radius: 11px;
  border: 1px solid #dfe8f0;
  padding: 13px;
  background: #fafcff;
  color: #3c5267;
  font-size: 11px;
  line-height: 1.85;
  outline-offset: 2px;
}
.synth-textarea:focus {
  border-color: #9bc9ee;
  background: #fff;
}
.synth-upload {
  display: flex;
  align-items: center;
  gap: 11px;
  border: 1px dashed #c6dceb;
  border-radius: 12px;
  padding: 16px 13px;
  cursor: pointer;
  transition: background 0.2s;
}
.synth-upload:hover,
.synth-upload:focus-within {
  background: #f2f9ff;
}
.synth-upload > span:last-child {
  min-width: 0;
}
.synth-upload b {
  display: block;
  font-size: 11px;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 195px;
}
.synth-upload small {
  display: block;
  margin-top: 6px;
  color: #94a4b3;
  font-size: 8px;
}
.synth-upload-icon {
  display: grid;
  place-items: center;
  color: #5097cc;
  width: 29px;
  height: 29px;
}
.synth-upload-icon svg {
  width: 19px;
  height: 19px;
}
.synth-target-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.synth-target-heading > span {
  font-size: 10px;
  color: #9aa8b6;
  margin-top: 7px;
}
.synth-add-target {
  display: flex;
  border: 1px solid #e0e9f1;
  border-radius: 9px;
  overflow: hidden;
  height: 36px;
}
.synth-add-target select {
  min-width: 0;
  flex: 1;
  padding: 0 10px;
  border: 0;
  background: #fafcff;
  font-size: 11px;
}
.synth-add-target button {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #1979bd;
  background: #eff8ff;
  padding: 0 11px;
  font-size: 10px;
}
.synth-add-target svg {
  width: 12px;
  height: 12px;
}
.synth-object-list {
  display: grid;
  gap: 5px;
  max-height: 142px;
  overflow: auto;
  margin-top: 10px;
}
.synth-object-item {
  display: flex;
  border-radius: 7px;
  background: #f8fafc;
  border: 1px solid transparent;
}
.synth-object-item.selected {
  border-color: #b1d7f4;
  background: #f0f8ff;
}
.synth-object-item > button {
  background: transparent;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 9px;
  min-height: 32px;
  font-size: 10px;
}
.synth-object-item > button:first-child {
  flex: 1;
  text-align: left;
}
.synth-object-item small {
  font-size: 8px;
  color: #9caebc;
  margin-left: auto;
}
.synth-object-item > button:last-child {
  color: #a0b0be;
  width: 32px;
  justify-content: center;
}
.synth-object-item > button:last-child:hover {
  color: #c45454;
  background: #fff5f5;
}
.synth-object-item svg {
  width: 12px;
  height: 12px;
}
.synth-object-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6eb4e7;
}
.synth-empty-targets {
  font-size: 10px;
  margin: 7px 0;
  color: #98a7b4;
}
.synth-segment {
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 3px;
  gap: 3px;
  background: #f2f6fa;
  border-radius: 8px;
}
.synth-segment button {
  font-size: 10px;
  padding: 9px 4px;
  background: transparent;
  border-radius: 6px;
  color: #71869a;
}
.synth-segment button.active {
  color: #0071d1;
  background: #fff;
  box-shadow: 0 1px 3px #4066840d;
}
.synth-weather-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
}
.synth-weather-options button {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  border: 1px solid #e3ebf2;
  border-radius: 8px;
  background: #fff;
  font-size: 10px;
  padding: 10px 3px;
}
.synth-weather-options button span {
  font-size: 15px;
  line-height: 1;
  color: #95a9b8;
}
.synth-weather-options button:hover {
  background: #f5faff;
}
.synth-weather-options button.active {
  border-color: #afd4f2;
  background: #eff8ff;
  color: #0071ce;
}
.synth-weather-options button.active span {
  color: #4098da;
}
.synth-range-label {
  margin: 18px 0 8px;
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 10px;
}
.synth-range-label output {
  color: #6f91ac;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.synth-range {
  display: block;
  width: 100%;
  accent-color: var(--synth-blue);
  height: 16px;
  cursor: pointer;
}
.synth-parameter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 23px;
}
.synth-parameter-row label {
  font-size: 10px;
  color: #6a8195;
}
.synth-parameter-row select {
  display: block;
  width: 100%;
  border: 1px solid #e0e9f1;
  border-radius: 8px;
  margin-top: 8px;
  padding: 9px 10px;
  font-size: 11px;
  background: #fafcff;
}
.synth-prompt-help {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #edf1f5;
}
.synth-prompt-help summary {
  cursor: pointer;
  font-size: 10px;
  color: #7c94a7;
  list-style: none;
  display: flex;
  justify-content: space-between;
}
.synth-prompt-help p {
  font-size: 10px;
  line-height: 1.9;
  color: #7d8fa1;
  margin: 11px 0 0;
}
.synth-visual {
  padding: 25px 28px 23px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.synth-canvas-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11px;
  margin: 0 0 14px;
  color: #526a7e;
}
.synth-canvas-head > div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.synth-canvas-head > span {
  font-size: 9px;
  color: #9babba;
}
.synth-status-dot {
  width: 5px;
  height: 5px;
  background: #69ace0;
  border-radius: 50%;
}
.synth-canvas {
  aspect-ratio: 16 / 10;
  max-height: 490px;
  background: #eaf4f8;
  position: relative;
  border-radius: 13px;
  overflow: hidden;
  isolation: isolate;
}
.synth-scene-media,
.synth-weather-layer,
.synth-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.synth-scene-media img,
.synth-scene-media video,
.synth-terrain {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.synth-terrain {
  width: 100% !important;
  height: 100% !important;
}
.synth-scene-media {
  transition: filter 0.7s;
}
.synth-canvas.is-result .synth-scene-media {
  filter: none !important;
  transition: none;
}
.synth-controls.is-result-controls input:disabled,
.synth-controls.is-result-controls select:disabled,
.synth-controls.is-result-controls button:disabled {
  cursor: default;
  opacity: 0.7;
}
.synth-controls.is-result-controls .synth-upload {
  pointer-events: none;
  opacity: 0.7;
}
.synth-edit-plan {
  color: var(--synth-blue);
}
.synth-media-error {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 6px;
  color: #71899d;
  font-size: 12px;
}
.synth-weather-layer {
  pointer-events: none;
  transition: background 0.7s;
}
.synth-overlay {
  z-index: 3;
  pointer-events: none;
  overflow: visible;
}
.synth-overlay.is-editable {
  pointer-events: auto;
  touch-action: none;
  cursor: crosshair;
}
.synth-path-handle,
.synth-object-handle {
  cursor: grab;
  touch-action: none;
}
.synth-path-handle:active,
.synth-object-handle:active {
  cursor: grabbing;
}
.synth-path-handle text,
.synth-object-handle text {
  font:
    11px -apple-system,
    BlinkMacSystemFont,
    "PingFang SC",
    sans-serif;
  user-select: none;
  pointer-events: none;
}
.synth-path-handle:focus-visible,
.synth-object-handle:focus-visible {
  outline: none;
  filter: drop-shadow(0 0 4px #0071e3);
}
.synth-path-handle:focus-visible > circle:nth-child(2) {
  stroke-width: 5px;
}
.synth-flight-marker {
  pointer-events: none;
  filter: drop-shadow(0 2px 4px #00407c30);
}
.synth-canvas-caption {
  position: absolute;
  inset: auto 15px 14px;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 4;
  color: #244b65;
  font-size: 8px;
  letter-spacing: 1px;
}
.synth-canvas-caption span {
  background: #f9fdffe6;
  backdrop-filter: blur(8px);
  padding: 6px 9px;
  border-radius: 5px;
}
.synth-canvas-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
  margin: 11px 0 18px;
  min-height: 24px;
}
.synth-canvas-toolbar p {
  color: #8fa0af;
  font-size: 10px;
  line-height: 1.7;
  margin: 0;
}
.synth-canvas-toolbar > div {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}
.synth-tool {
  padding: 3px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: transparent;
  color: #7c94a8;
  font-size: 9px;
}
.synth-tool:hover {
  color: #0071d1;
}
.synth-tool svg {
  width: 12px;
  height: 12px;
}
.synth-tool:disabled {
  opacity: 0.35;
  cursor: default;
}
.synth-summary {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  padding: 16px 0;
  border-top: 1px solid #edf2f6;
  border-bottom: 1px solid #edf2f6;
  margin-top: auto;
}
.synth-summary div {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.synth-summary span {
  color: #9aabb9;
  font-size: 9px;
}
.synth-summary strong {
  color: #567087;
  font-size: 11px;
  font-weight: 500;
}
.synth-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 20px;
}
.synth-action-row > span {
  color: #90a2b1;
  font-size: 10px;
  line-height: 1.6;
  max-width: 250px;
}
.synth-action-row > div {
  display: flex;
  align-items: center;
  gap: 15px;
  flex-shrink: 0;
}
.synth-action-row .btn {
  border-radius: 9px;
  min-height: 40px;
  padding: 10px 17px;
  font-size: 11px;
  gap: 7px;
}
.synth-action-row .btn svg {
  width: 14px;
  height: 14px;
}
.synth-export {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: #7e96a9;
  font-size: 10px;
  padding: 8px 0;
}
.synth-export svg {
  width: 13px;
  height: 13px;
}
.synth-export:hover {
  color: #0071d1;
}
.synth-method {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 90px;
  padding: 66px 28px;
  border-bottom: 1px solid #dfe9f1;
}
.synth-method h2,
.synth-section-head h2 {
  font-size: clamp(22px, 2.2vw, 29px);
  font-weight: 550;
  letter-spacing: -0.8px;
  margin: 0 0 16px;
  line-height: 1.4;
}
.synth-method-intro p {
  color: #7e91a2;
  font-size: 12px;
  line-height: 1.9;
  margin: 0;
  max-width: 360px;
}
.synth-flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 24px;
}
.synth-flow span {
  border: 1px solid #d9e7f2;
  border-radius: 6px;
  background: #f9fcff;
  color: #6894b5;
  font-size: 8px;
  padding: 7px;
}
.synth-flow i {
  font-size: 10px;
  font-style: normal;
  color: #a0bdcf;
}
.synth-method-steps details {
  border-bottom: 1px solid #dfe9f1;
}
.synth-method-steps details:last-child {
  border-bottom: 0;
}
.synth-method-steps summary {
  list-style: none;
  display: flex;
  align-items: center;
  padding: 15px 0;
  cursor: pointer;
  gap: 21px;
}
.synth-method-steps summary::-webkit-details-marker,
.synth-prompt-help summary::-webkit-details-marker {
  display: none;
}
.synth-method-steps summary > span {
  color: #8ab7d8;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
}
.synth-method-steps summary > b {
  font-size: 12px;
  font-weight: 500;
}
.synth-method-steps summary > i {
  font-size: 16px;
  margin-left: auto;
  color: #9aafbf;
  font-style: normal;
  transition: transform 0.2s;
}
.synth-method-steps details[open] summary > i {
  transform: rotate(45deg);
}
.synth-method-steps p {
  margin: 0 0 17px 34px;
  font-size: 11px;
  color: #7b8fa1;
  line-height: 1.9;
}
.synth-collection {
  padding-top: 58px;
  scroll-margin-top: 20px;
}
.synth-section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}
.synth-section-head h2 {
  margin-bottom: 10px;
}
.synth-section-head p {
  font-size: 12px;
}
.synth-total {
  text-align: right;
  padding-bottom: 3px;
}
.synth-total strong {
  display: block;
  color: #4b8fbe;
  font-weight: 400;
  font-size: 34px;
  letter-spacing: -1px;
  line-height: 1.4;
}
.synth-total span {
  font-size: 10px;
  color: #94a7b7;
}
.synth-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid #dfe9f1;
  border-bottom: 1px solid #dfe9f1;
  margin-top: 30px;
  padding: 25px 0;
}
.synth-stats article {
  padding: 0 27px;
  border-right: 1px solid #dfe9f1;
}
.synth-stats article:first-child {
  padding-left: 0;
}
.synth-stats article:last-child {
  border-right: 0;
}
.synth-stats article > span {
  color: #8da0b2;
  font-size: 11px;
}
.synth-stats article > div {
  display: flex;
  gap: 7px;
  align-items: baseline;
  margin-top: 12px;
}
.synth-stats strong {
  font-size: 25px;
  font-weight: 400;
  letter-spacing: -1px;
  color: #5a7388;
}
.synth-stats small {
  color: #9cafbd;
  font-size: 9px;
}
.synth-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 32px;
}
.synth-example {
  padding: 0;
  background: transparent;
  text-align: left;
  min-width: 0;
}
.synth-example-image {
  aspect-ratio: 1.62;
  background: #e8f4fb;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}
.synth-example-image > img,
.synth-example-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.synth-example:hover .synth-example-image > img,
.synth-example:hover .synth-example-art {
  transform: scale(1.04);
}
.synth-example-art svg {
  width: 100%;
  height: 100%;
}
.synth-example-image > span:first-of-type {
  position: absolute;
  top: 11px;
  left: 11px;
  background: #f8fcffe8;
  color: #527d9c;
  padding: 5px 8px;
  font-size: 8px;
  border-radius: 5px;
  backdrop-filter: blur(8px);
}
.synth-example-arrow {
  position: absolute;
  right: 11px;
  bottom: 11px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #ffffffd6;
  color: #4d82aa;
  font-size: 14px;
}
.synth-example-copy {
  padding: 16px 1px 0;
}
.synth-example-copy small {
  color: #a2b3bf;
  font-size: 8px;
  letter-spacing: 0.7px;
}
.synth-example-copy h3 {
  font-size: 13px;
  font-weight: 550;
  margin: 8px 0 7px;
}
.synth-example-copy p {
  color: #879bab;
  font-size: 10px;
  line-height: 1.8;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.synth-canvas[data-weather="clear"] .synth-scene-media {
  filter: saturate(calc(1 + var(--weather-strength) * 0.12))
    brightness(calc(1 + var(--weather-strength) * 0.08));
}
.synth-canvas[data-weather="overcast"] .synth-scene-media {
  filter: saturate(calc(1 - var(--weather-strength) * 0.4))
    brightness(calc(1 - var(--weather-strength) * 0.12))
    contrast(calc(1 - var(--weather-strength) * 0.1));
}
.synth-canvas[data-weather="rain"] .synth-scene-media {
  filter: saturate(calc(1 - var(--weather-strength) * 0.3))
    brightness(calc(1 - var(--weather-strength) * 0.2))
    contrast(calc(1 - var(--weather-strength) * 0.06));
}
.synth-canvas[data-weather="rain"] .synth-weather-layer {
  background: #52789425;
}
.synth-canvas[data-weather="fog"] .synth-scene-media {
  filter: saturate(calc(1 - var(--weather-strength) * 0.4))
    contrast(calc(1 - var(--weather-strength) * 0.25));
}
.synth-canvas[data-weather="fog"] .synth-weather-layer {
  background: linear-gradient(180deg, #f4faffdc, #ecf5ff45 75%);
  opacity: var(--weather-strength);
}
.synth-canvas[data-weather="snow"] .synth-scene-media {
  filter: saturate(calc(1 - var(--weather-strength) * 0.6))
    brightness(calc(1 + var(--weather-strength) * 0.15));
}
.synth-canvas[data-weather="snow"] .synth-weather-layer {
  background: #e5f0fa24;
}
.synth-canvas[data-weather="sunset"] .synth-scene-media {
  filter: sepia(calc(var(--weather-strength) * 0.25))
    saturate(calc(1 - var(--weather-strength) * 0.15))
    brightness(calc(1 - var(--weather-strength) * 0.08));
}
.synth-canvas[data-weather="sunset"] .synth-weather-layer {
  background: linear-gradient(145deg, #ffd18b70, #b3b0da15 70%);
  opacity: var(--weather-strength);
}
.synth-weather-layer i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  opacity: var(--weather-strength);
}
.synth-canvas[data-weather="rain"] .synth-weather-layer i {
  width: 1px;
  height: 24px;
  background: linear-gradient(transparent, #e7f5ffc0);
  transform: rotate(13deg);
}
.synth-canvas[data-weather="snow"] .synth-weather-layer i {
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #ffffffd9;
  filter: blur(0.4px);
}
.synth-canvas.is-previewing[data-weather="rain"] .synth-weather-layer i {
  animation: synth-rain 0.8s linear infinite;
  animation-delay: var(--delay);
}
.synth-canvas.is-previewing[data-weather="snow"] .synth-weather-layer i {
  animation: synth-snow 4s linear infinite;
  animation-delay: var(--delay);
}
@keyframes synth-rain {
  to {
    translate: -15px 100px;
  }
}
@keyframes synth-snow {
  to {
    translate: 25px 100px;
  }
}
@media (min-width: 1450px) {
  .synth-panel {
    grid-template-columns: 320px minmax(0, 1fr);
  }
  .synth-controls {
    padding: 28px;
  }
}
@media (max-width: 1150px) {
  .synth-page {
    padding: 0 30px 70px;
  }
  .synth-panel {
    grid-template-columns: 270px minmax(0, 1fr);
  }
  .synth-controls {
    padding: 23px;
  }
  .synth-visual {
    padding: 23px;
  }
  .synth-tab {
    padding: 14px 10px;
    gap: 9px;
  }
  .synth-tab small {
    font-size: 9px;
  }
  .synth-action-row {
    flex-wrap: wrap;
    gap: 12px;
  }
  .synth-action-row > span {
    max-width: none;
  }
  .synth-action-row > div {
    margin-left: auto;
  }
  .synth-method {
    gap: 50px;
    padding: 52px 10px;
  }
  .synth-gallery {
    gap: 16px;
  }
  .synth-canvas-toolbar {
    flex-wrap: wrap;
    gap: 6px;
  }
  .synth-canvas-toolbar > div {
    margin-left: auto;
  }
}
@media (max-width: 850px) {
  .synth-page {
    padding: 0 24px 60px;
  }
  .synth-tabs {
    padding: 6px;
  }
  .synth-tab {
    min-height: 72px;
    padding: 12px 9px;
  }
  .synth-tab-icon {
    display: none;
  }
  .synth-tab-number {
    font-size: 7px;
    right: 8px;
    top: 8px;
  }
  .synth-tab b {
    font-size: 12px;
  }
  .synth-tab small {
    max-width: 110px;
    font-size: 9px;
  }
  .synth-panel {
    grid-template-columns: 240px minmax(0, 1fr);
  }
  .synth-controls {
    padding: 20px;
  }
  .synth-visual {
    padding: 20px;
  }
  .synth-label {
    display: block;
  }
  .synth-label span {
    display: block;
    margin-top: 5px;
  }
  .synth-canvas {
    aspect-ratio: 4/3;
  }
  .synth-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 17px;
  }
  .synth-method {
    gap: 35px;
  }
  .synth-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
  .synth-upload {
    padding: 14px 9px;
    gap: 7px;
  }
  .synth-upload-icon {
    width: 20px;
  }
  .synth-upload b {
    max-width: 150px;
  }
  .synth-upload small {
    font-size: 7px;
  }
  .synth-stats article {
    padding: 0 18px;
  }
  .synth-stats strong {
    font-size: 22px;
  }
}
@media (max-width: 650px) {
  .synth-page {
    padding: 0 16px 45px;
  }
  .synth-intro {
    padding: 36px 5px 25px;
    display: block;
  }
  .synth-intro h1 {
    font-size: 29px;
    letter-spacing: -1px;
  }
  .synth-intro p {
    font-size: 12px;
    max-width: 320px;
  }
  .synth-quiet-link {
    font-size: 10px;
    margin-top: 12px;
    gap: 12px;
  }
  .synth-intro .eyebrow {
    margin-bottom: 12px;
    font-size: 9px;
  }
  .synth-studio {
    border-radius: 17px;
  }
  .synth-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    padding: 6px;
  }
  .synth-tab {
    min-height: 65px;
    border-radius: 11px;
    padding: 13px;
    gap: 10px;
  }
  .synth-tab-icon {
    display: flex;
  }
  .synth-tab-icon svg {
    width: 20px;
    height: 20px;
  }
  .synth-tab b {
    font-size: 11px;
    margin-bottom: 4px;
  }
  .synth-tab small {
    font-size: 8px;
    max-width: none;
  }
  .synth-tab-number {
    display: none;
  }
  .synth-panel {
    display: flex;
    flex-direction: column;
  }
  .synth-controls {
    border-right: 0;
    border-bottom: 1px solid #e8eff5;
    padding: 22px;
  }
  .synth-control-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
  }
  .synth-control-heading h2 {
    font-size: 16px;
    margin: 0;
  }
  .synth-control-heading > span {
    font-size: 8px;
  }
  .synth-label {
    display: flex;
    font-size: 11px;
    margin-top: 15px;
  }
  .synth-label span {
    display: inline;
    margin: 0;
    font-size: 8px;
  }
  .synth-textarea {
    min-height: 94px;
    font-size: 11px;
  }
  .synth-upload b {
    max-width: 240px;
  }
  .synth-upload small {
    font-size: 8px;
  }
  .synth-object-list {
    grid-template-columns: 1fr 1fr;
    max-height: 108px;
  }
  .synth-object-item > button {
    font-size: 9px;
    gap: 5px;
    padding: 8px 6px;
  }
  .synth-object-item > button:last-child {
    width: 25px;
    padding: 6px;
  }
  .synth-parameter-row {
    margin-top: 17px;
  }
  .synth-prompt-help {
    margin-top: 18px;
    padding-top: 13px;
  }
  .synth-prompt-help p {
    max-width: none;
  }
  .synth-visual {
    padding: 22px 16px 20px;
  }
  .synth-canvas {
    aspect-ratio: 16/11;
    border-radius: 10px;
  }
  .synth-canvas-head {
    font-size: 10px;
    margin-bottom: 12px;
  }
  .synth-canvas-head > span {
    font-size: 8px;
  }
  .synth-canvas-caption {
    inset: auto 9px 9px;
    font-size: 7px;
  }
  .synth-canvas-caption span {
    padding: 5px 7px;
  }
  .synth-canvas-toolbar {
    margin-bottom: 13px;
  }
  .synth-canvas-toolbar p {
    font-size: 9px;
  }
  .synth-tool {
    font-size: 9px;
  }
  .synth-summary {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    padding: 14px 0;
  }
  .synth-summary span {
    font-size: 8px;
  }
  .synth-summary strong {
    font-size: 10px;
  }
  .synth-action-row {
    margin-top: 15px;
  }
  .synth-action-row > span {
    font-size: 9px;
  }
  .synth-action-row > div {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }
  .synth-action-row .btn {
    font-size: 10px;
    padding: 10px 13px;
  }
  .synth-export {
    font-size: 9px;
  }
  .synth-method {
    display: block;
    padding: 39px 6px;
  }
  .synth-method h2 {
    font-size: 22px;
    margin-bottom: 12px;
  }
  .synth-method-intro p {
    font-size: 11px;
    max-width: none;
  }
  .synth-method-steps {
    margin-top: 22px;
  }
  .synth-method-steps summary {
    padding: 15px 0;
    gap: 18px;
  }
  .synth-method-steps summary b {
    font-size: 11px;
  }
  .synth-method-steps p {
    font-size: 10px;
    margin-left: 30px;
  }
  .synth-collection {
    padding: 36px 5px 0;
  }
  .synth-section-head {
    align-items: flex-start;
    gap: 12px;
  }
  .synth-section-head .eyebrow {
    font-size: 8px;
    margin-bottom: 13px;
  }
  .synth-section-head h2 {
    font-size: 22px;
    letter-spacing: -0.6px;
  }
  .synth-section-head p {
    font-size: 10px;
    max-width: 230px;
  }
  .synth-total {
    flex-shrink: 0;
    padding-top: 23px;
  }
  .synth-total strong {
    font-size: 21px;
    letter-spacing: -0.5px;
  }
  .synth-total span {
    font-size: 8px;
  }
  .synth-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 0;
    padding: 20px 0;
    margin-top: 22px;
  }
  .synth-stats article {
    padding: 0 18px;
  }
  .synth-stats article:nth-child(odd) {
    padding-left: 0;
  }
  .synth-stats article:nth-child(even) {
    border-right: 0;
  }
  .synth-stats article > span {
    font-size: 10px;
  }
  .synth-stats article > div {
    margin-top: 9px;
  }
  .synth-stats strong {
    font-size: 22px;
  }
  .synth-gallery {
    margin-top: 25px;
    gap: 25px 14px;
  }
  .synth-example-image {
    border-radius: 9px;
    aspect-ratio: 1.3;
  }
  .synth-example-image > span:first-of-type {
    top: 8px;
    left: 8px;
    font-size: 7px;
    padding: 4px 6px;
  }
  .synth-example-arrow {
    right: 7px;
    bottom: 7px;
    width: 21px;
    height: 21px;
    font-size: 12px;
  }
  .synth-example-copy {
    padding-top: 12px;
  }
  .synth-example-copy h3 {
    font-size: 11px;
    margin: 6px 0;
  }
  .synth-example-copy small {
    font-size: 7px;
    letter-spacing: 0.2px;
  }
  .synth-example-copy p {
    font-size: 9px;
  }
}
@media (max-width: 350px) {
  .synth-page {
    padding: 0 10px 40px;
  }
  .synth-controls {
    padding: 18px;
  }
  .synth-visual {
    padding: 18px 12px;
  }
  .synth-tab {
    padding: 12px 8px;
    gap: 8px;
  }
  .synth-tab small {
    font-size: 7px;
  }
  .synth-label span {
    font-size: 7px;
  }
  .synth-action-row > div {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  .synth-page *,
  .synth-page *::before,
  .synth-page *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

.synth-canvas-toolbar .synth-edit-plan {
  padding: 8px 14px;
  color: #0071e3;
  background: #eef6ff;
  border: 1px solid #d5e8fc;
  border-radius: 9px;
  font-size: 12px;
}
