/* The quote workspace inherits WRLAB's typography, colors, and square controls. */
.wrlab-project-intro { padding-block: clamp(28px, 4vw, 64px) 32px; }
.wrlab-project-intro h1 { max-width: 15ch; margin: 24px 0; font-size: clamp(52px, 5.5vw, 88px); line-height: .98; text-wrap: balance; }
.wrlab-project-intro > p:not(.wrlab-back-link) { max-width: 65ch; margin: 0; font-size: clamp(17px, 1.5vw, 21px); color: #cbd0c3; line-height: 1.65; }
.wrlab-project-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; column-gap: clamp(32px, 5vw, 80px); row-gap: 40px; padding-block: 12px 64px; }
.wrlab-project-form { display: contents; }
.wrlab-project-upload, .wrlab-project-fields { grid-column: 1; min-width: 0; }
.wrlab-project-workspace h2 { margin: 0 0 16px; font-size: clamp(28px, 2.6vw, 36px); line-height: 1.1; }
.wrlab-project-upload > p { margin: 0 0 24px; color: #cbd0c3; font-size: 16px; line-height: 1.8; }
.wrlab-project-upload > p strong { color: #f4f5ee; }
.wrlab-main:has(.wrlab-project-intro) { padding-top: 0; }
.wrlab-project-intro > :where(h1,p) { margin-inline: 0 !important; }
.wrlab-project-intro .wrlab-back-link { margin-top: 0; }
.wrlab-project-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 216px; padding: 24px; border: 1px dashed #6d7565; background: #1b1f19; cursor: pointer; text-align: center; font-weight: 700; }
.wrlab-project-drop svg { width: 40px; height: 40px; margin-bottom: 8px; fill: none; stroke: #ffe600; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.wrlab-project-drop-hint { color: #cbd0c3; font-size: 14px; font-weight: 400; }
.wrlab-project-add-label { color: #ffe600; margin-top: 12px; text-decoration: underline; text-underline-offset: 4px; }
.wrlab-project-drop:hover, .wrlab-project-drop.is-dragging { border-color: #ffe600; }
.wrlab-project-file-input { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrlab-project-upload:has(.wrlab-project-file-input:focus-visible) .wrlab-project-drop { outline: 2px solid #ffe600; outline-offset: 4px; }
.wrlab-project-workspace .wrlab-project-file-total { margin: 16px 0 0; font-size: 13px; font-variant-numeric: tabular-nums; }
.wrlab-project-files { padding: 0; margin: 16px 0 0; list-style: none; }
.wrlab-project-files li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 16px; border-bottom: 1px solid #42483d; }
.wrlab-project-file-choice { display: flex; flex-direction: column; align-items: start; gap: 4px; width: 100%; min-width: 0; padding: 16px 0; background: transparent; color: #f4f5ee; border: 0; text-align: left; cursor: pointer; font: inherit; font-weight: 700; }
.wrlab-project-file-choice span { overflow-wrap: anywhere; }
.wrlab-project-file-choice small { color: #cbd0c3; font-size: 12px; font-weight: 400; }
.wrlab-project-file-choice[aria-pressed=true] span { color: #ffe600; text-decoration: underline; text-underline-offset: 4px; }
.wrlab-project-file-remove, .wrlab-project-add-more, .wrlab-project-preview-top button { min-height: 44px; padding: 8px 0; font: 700 14px/1.5 "DM Sans", sans-serif; color: #f4f5ee; background: none; border: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }
.wrlab-project-add-more { margin-top: 16px; color: #ffe600; }
.wrlab-project-field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px; min-width: 0; }
.wrlab-project-field label { font-weight: 700; font-size: 14px; line-height: 1.5; }
.wrlab-project-field label span { color: #cbd0c3; font-size: 12px; font-weight: 400; }
.wrlab-project-field :where(input, textarea) { box-sizing: border-box; width: 100%; min-height: 48px; padding: 13px 14px; background: #1b1f19; color: #f4f5ee; border: 1px solid #6d7565; border-radius: 0; font: 400 16px/1.5 "DM Sans", sans-serif; caret-color: #ffe600; color-scheme: dark; }
.wrlab-project-field :where(input, textarea):focus { background: #1b1f19; color: #f4f5ee; border-color: #ffe600; outline: 2px solid #ffe600; outline-offset: 2px; }
.wrlab-project-field :where(input, textarea)::placeholder { color: #cbd0c3; opacity: 1; }
.wrlab-project-field textarea { resize: vertical; min-height: 160px; }
.wrlab-project-quantity { max-width: 160px; }
.wrlab-project-contact-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.wrlab-project-submit { min-height: 52px; width: 100%; justify-content: space-between; border: 1px solid #ffe600; background: #ffe600; color: #10130f; cursor: pointer; font: 700 16px/1.5 "DM Sans", sans-serif; }
.wrlab-project-submit:disabled { cursor: wait; opacity: .7; }
.wrlab-project-expectation { margin: 20px 0 0; max-width: 65ch; color: #f4f5ee; font-size: 14px; line-height: 1.7; }
.wrlab-project-privacy { margin: 16px 0 0; color: #cbd0c3; font-size: 12px; line-height: 1.7; }
.wrlab-project-privacy a { color: #f4f5ee; text-decoration: underline; text-underline-offset: 3px; }
.wrlab-project-workspace .wrlab-project-error { color: #ffb8a9; font-size: 14px; line-height: 1.6; margin: 12px 0; }
.wrlab-project-error:empty { display: none; }
.wrlab-project-preview { position: sticky; top: calc(var(--wrlab-header-height, 80px) + 32px); grid-column: 2; grid-row: 1 / span 2; min-width: 0; }
.wrlab-project-preview-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; margin-bottom: 16px; }
.wrlab-project-preview-top h2 { margin: 0; }
.wrlab-project-preview-top button { font-size: 12px; }
.wrlab-project-canvas { position: relative; height: clamp(300px, 36vw, 480px); background: #171c16; border: 1px solid #42483d; overflow: hidden; }
.wrlab-project-canvas canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.wrlab-project-preview-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; padding: 32px; text-align: center; color: #cbd0c3; pointer-events: none; z-index: 1; }
.wrlab-project-preview-placeholder svg { width: 80px; height: 80px; fill: none; stroke: #6d7565; stroke-width: 1.2; }
.wrlab-project-preview-placeholder p { font-size: 16px; line-height: 1.6; max-width: 34ch; }
.wrlab-project-preview-caption { margin: 16px 0 0; color: #f4f5ee; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.wrlab-project-preview-note { margin: 16px 0 0; color: #cbd0c3; font-size: 12px; line-height: 1.7; max-width: 65ch; }
.wrlab-project-preview-controls { display: flex; gap: 8px; margin-top: 12px; }
.wrlab-project-preview-controls button { width: 44px; min-height: 44px; border: 1px solid #6d7565; background: #1b1f19; color: #f4f5ee; cursor: pointer; font: 400 22px/1 "DM Sans",sans-serif; }
.wrlab-project-workspace button:focus-visible, .wrlab-project-success a:focus-visible { outline: 2px solid #ffe600; outline-offset: 3px; }
.wrlab-project-workspace [hidden] { display: none !important; }
.wrlab-project-success { margin-block: 24px 80px; padding-block: 40px; border-block: 1px solid #42483d; max-width: 760px; }
.wrlab-project-success h2 { margin: 0 0 24px; font-size: clamp(36px, 4vw, 56px); line-height: 1.05; }
.wrlab-project-success p { max-width: 65ch; margin: 0 0 20px; line-height: 1.7; color: #cbd0c3; }
.wrlab-project-success a { margin-top: 12px; }
.wrlab-project-success:focus { outline: 0; }
.wrlab-home-hero .wrlab-project-home-link { display: inline-flex; align-items: center; gap: 16px; min-height: 48px; padding: 12px 0; margin-left: 24px; color: #f4f5ee; text-decoration: underline; text-decoration-color: #ffe600; text-underline-offset: 6px; font-weight: 700; }
.wrlab-project-contact-cta { margin-block: 24px; }
@media(max-width: 800px) {
 .wrlab-project-workspace { grid-template-columns: minmax(0,1fr); gap: 32px; }
 .wrlab-project-preview { position: static; grid-column: 1; grid-row: 2; }
 .wrlab-project-fields { grid-row: 3; }
 .wrlab-project-canvas { height: 320px; }
 .wrlab-project-contact-fields { grid-template-columns: 1fr; gap: 0; }
 .wrlab-project-preview-placeholder { padding: 24px; }
 .wrlab-home-hero .wrlab-project-home-link { margin-left: 0; margin-top: 12px; }
}

.wrlab-project-color input { max-width: 220px; text-transform: uppercase; }
.wrlab-project-color small { color: #cbd0c3; font-size: 12px; line-height: 1.6; }

.wrlab-project-preview-controls svg { width:20px; height:20px; stroke:currentColor; fill:none; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
