:root {
  color-scheme: light;
  --paper: #f4efe5;
  --paper-deep: #eae2d4;
  --ink: #272a20;
  --muted: #76766a;
  --line: #d6d0c3;
  --green: #566c4b;
  --green-dark: #364a36;
  --rose: #c98e80;
  --ochre: #d5ae60;
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
}

.author-hero { margin: 0; justify-self: center; max-width: 340px; transform: rotate(2deg); padding: 12px; background: #fffcf5; border: 1px solid var(--line); box-shadow: 12px 14px 0 #d5ae602b; }
.author-hero img { display: block; width: 100%; height: 330px; object-fit: contain; }
.author-hero figcaption { padding: 12px 4px 2px; font-size: 11px; line-height: 1.6; color: var(--muted); }
.author-hero a, .reference-link { text-decoration: underline; text-underline-offset: 4px; }
.reference-section { padding: 60px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 20px; }
.reference-section h2, .cms-invite h2 { font: 500 clamp(28px, 4vw, 42px)/1.15 var(--serif); letter-spacing: -.04em; margin-bottom: 20px; }
.reference-section h2 em { color: var(--green-dark); }
.reference-intro { max-width: 660px; color: #69695e; font-size: 14px; line-height: 1.7; }
.reference-gallery { display: grid; grid-template-columns: repeat(5,minmax(0,1fr)); gap: 16px; margin-top: 28px; }
.reference-card { margin: 0; min-width: 0; }
.reference-card img { display: block; width: 100%; height: 200px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.reference-card h3 { font: 500 19px var(--serif); margin: 14px 0 8px; }
.reference-card p { font-size: 12px; line-height: 1.6; color: #69695e; margin-bottom: 8px; }
.reference-card small { font-size: 10px; color: var(--muted); }
.cms-invite { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin: 36px 0 0; padding: 32px; background: var(--green-dark); color: #fffdf7; }
.cms-invite .eyebrow { color: #dfd6c3; }
.cms-invite p { font-size: 13px; line-height: 1.7; max-width: 520px; margin-bottom: 0; }
.cms-actions { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 14px; font-size: 13px; }
.cms-actions a { text-decoration: underline; text-underline-offset: 4px; }
.cms-actions .cms-primary { padding: 14px 20px; background: var(--paper); color: var(--green-dark); text-decoration: none; font-weight: 700; }
.style-direction { font-size: 12px; line-height: 1.7; margin: 16px 0 8px; color: #69695e; }
.reference-link { font-size: 11px; display: inline-block; margin-bottom: 10px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--rose); outline-offset: 4px; }
@media (max-width: 900px) { .reference-gallery { grid-template-columns: repeat(3,minmax(0,1fr)); } .top-links { margin-left: 0 !important; gap: 20px !important; } }
@media (max-width: 620px) { .reference-gallery { grid-template-columns: repeat(2,minmax(0,1fr)); } .reference-card img { height: 210px; } .cms-invite { grid-template-columns: 1fr; padding: 24px; } .author-hero { max-width: 300px; } .author-hero img { height: 300px; } }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, textarea { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }
.app-shell { width: min(1440px, 100%); margin: 0 auto; padding: 0 6.1%; }
.topbar { height: 82px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 600 25px var(--serif); letter-spacing: -.06em; }
.brand-dot { color: var(--rose); }
.brand-mark { width: 23px; height: 23px; display: flex; align-items: center; justify-content: center; gap: 2px; border: 1px solid var(--green); border-radius: 50%; transform: rotate(-30deg); }
.brand-mark i { width: 2px; border-radius: 3px; background: var(--green); }
.brand-mark i:nth-child(1) { height: 8px; }.brand-mark i:nth-child(2) { height: 13px; }.brand-mark i:nth-child(3) { height: 10px; }
.top-links { display: flex; gap: 38px; margin-left: 110px; font-size: 12px; color: var(--muted); }
.top-links a { padding: 8px 0; }.top-links .active { color: var(--ink); border-bottom: 1px solid var(--green); }
.ai-status { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; letter-spacing: .06em; color: var(--muted); text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #b7835f; box-shadow: 0 0 0 3px #b7835f1b; }
.ai-status[data-ready="true"] .status-dot { background: var(--green); box-shadow: 0 0 0 3px #566c4b20; }
.intro { min-height: 494px; display: grid; grid-template-columns: 1fr .85fr; align-items: center; position: relative; padding: 54px 0 68px; border-bottom: 1px solid var(--line); }
.intro-copy { position: relative; z-index: 2; padding: 8px 0 0 5.5%; }
.eyebrow { display: flex; align-items: center; gap: 12px; margin: 0 0 24px; font-size: 9px; letter-spacing: .17em; font-weight: 700; color: var(--muted); }
.eyebrow > span { color: var(--rose); font-size: 10px; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font: 500 clamp(54px, 6vw, 82px)/.99 var(--serif); letter-spacing: -.058em; }
h1 em, .manifesto h2 em { color: var(--green); font-weight: 500; }
.intro-text { max-width: 445px; color: #69695e; font-size: 13px; line-height: 1.8; }
.text-link { display: inline-flex; align-items: center; gap: 18px; margin-top: 13px; padding-bottom: 7px; border-bottom: 1px solid var(--green); font-size: 11px; font-weight: 600; }
.text-link span { color: var(--green); font-size: 15px; }
.intro-art { position: relative; height: 360px; max-width: 455px; width: 100%; justify-self: center; overflow: hidden; background: #e7ded0; border-radius: 48% 48% 44% 44% / 39% 39% 53% 53%; }
.intro-art::before { content: ""; position: absolute; inset: 10% 10% 9%; border: 1px solid #fff8; border-radius: 47% 47% 48% 48%; }
.art-sun { position: absolute; width: 86px; height: 86px; top: 13%; right: 17%; background: #d5ae60; border-radius: 50%; }
.art-arch { position: absolute; width: 49%; height: 68%; left: 24%; bottom: -2%; border: 1px solid #f7f2e7b8; border-bottom: none; border-radius: 48% 48% 0 0; }
.art-arch::before { content: ""; position: absolute; inset: 13% 12% 0; border-radius: 48% 48% 0 0; background: #c98e807e; }
.art-stroke { position: absolute; z-index: 1; width: 55%; height: 20%; border: 8px solid #667e62; border-width: 4px 0 0; border-radius: 50%; transform: rotate(-18deg); opacity: .8; }
.stroke-one { top: 34%; left: -3%; }.stroke-two { top: 65%; left: 50%; transform: rotate(160deg); border-color: #b97463; }
.art-leaf { position: absolute; z-index: 1; width: 50px; height: 110px; background: #667e62; opacity: .88; border-radius: 100% 0 100% 0; transform: rotate(35deg); }
.leaf-one { left: 13%; bottom: 19%; }.leaf-two { right: 12%; bottom: 6%; transform: rotate(76deg) scale(.75); background: #809077; }
.art-caption { position: absolute; z-index: 2; top: 24px; left: 29px; font-size: 8px; line-height: 1.65; letter-spacing: .12em; color: #5f6656; }
.art-stamp { position: absolute; right: 20px; bottom: 23px; z-index: 2; display: grid; place-content: center; width: 51px; height: 51px; border: 1px solid #566c4b; border-radius: 50%; color: #566c4b; text-align: center; font: italic 10px/1.05 var(--serif); transform: rotate(10deg); }
.intro-index { position: absolute; left: 5.5%; bottom: 25px; color: #918e82; font-size: 8px; letter-spacing: .15em; }
.workspace { padding: 69px 0 78px; border-bottom: 1px solid var(--line); }
.workspace-heading { display: flex; align-items: end; justify-content: space-between; margin: 0 0 28px; }
.workspace-heading .eyebrow { margin-bottom: 13px; }
.workspace-heading h2 { margin: 0; font: 500 36px var(--serif); letter-spacing: -.04em; }
.privacy-note { max-width: 270px; margin: 0 1px 4px 0; color: var(--muted); font-size: 10px; line-height: 1.55; }
.privacy-note span { margin-right: 6px; color: var(--green); }
.work-grid { display: grid; grid-template-columns: minmax(0, 1.16fr) minmax(310px, .84fr); gap: 28px; align-items: stretch; }
.canvas-column { min-width: 0; }
.canvas-toolbar { height: 39px; display: flex; align-items: start; justify-content: space-between; }
.canvas-label { display: flex; align-items: center; gap: 8px; font-size: 8px; letter-spacing: .14em; color: var(--muted); }
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: #84916e; }
.quiet-button { padding: 0; border: 0; background: transparent; color: var(--muted); font-size: 10px; cursor: pointer; }
.quiet-button:disabled { opacity: .4; cursor: default; }
.quiet-button span { margin-left: 7px; font-size: 15px; }
.image-stage { position: relative; display: grid; place-items: center; min-height: 472px; overflow: hidden; background: #e9e2d6; border: 1px solid #ddd5c8; }
.image-stage::before, .image-stage::after { position: absolute; content: ""; width: 32px; height: 32px; pointer-events: none; }
.image-stage::before { top: 12px; left: 12px; border-top: 1px solid #77796870; border-left: 1px solid #77796870; }
.image-stage::after { right: 12px; bottom: 12px; border-right: 1px solid #77796870; border-bottom: 1px solid #77796870; }
.empty-state { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; padding: 26px; text-align: center; }
.empty-illustration { width: 84px; height: 84px; color: var(--green); }
.empty-illustration svg { width: 100%; height: 100%; }
.empty-state h3 { margin: 19px 0 7px; font: 500 19px var(--serif); }
.empty-state p { margin-bottom: 20px; color: var(--muted); font-size: 10px; }
.upload-button { padding: 11px 17px; border: 0; background: var(--green-dark); color: #fffdf7; font-size: 10px; cursor: pointer; transition: background .2s, transform .2s; }
.upload-button:hover, .generate-button:not(:disabled):hover { background: #263a2a; transform: translateY(-1px); }
.upload-button span { margin-right: 7px; font-size: 14px; }
.empty-state small { margin-top: 11px; color: #878478; font-size: 8px; }
.stage-image { width: 100%; height: 100%; max-height: 560px; object-fit: contain; }
.result-image { position: absolute; inset: 0; object-fit: contain; }
.stage-image[hidden], .empty-state[hidden], .preview-label[hidden], .compare-controls[hidden], .drop-hint[hidden] { display: none; }
.preview-label { position: absolute; left: 15px; bottom: 15px; padding: 6px 9px; background: #f4efe5e8; color: #58644f; font-size: 8px; letter-spacing: .06em; text-transform: uppercase; }
.compare-controls { position: absolute; top: 14px; right: 14px; display: flex; gap: 3px; padding: 3px; background: #f4efe5df; }
.compare-tab { padding: 7px 9px; border: 0; background: transparent; color: #65665c; font-size: 9px; cursor: pointer; }
.compare-tab.selected { background: var(--green-dark); color: #fff; }
.drop-hint { position: absolute; inset: 14px; z-index: 3; display: grid; place-items: center; border: 1px dashed var(--green); background: #f4efe5e0; color: var(--green-dark); font: 500 24px var(--serif); }
.image-stage.dragging { outline: 2px solid var(--green); outline-offset: -9px; }
.stage-footer { min-height: 40px; display: flex; align-items: center; justify-content: space-between; gap: 12px; color: var(--muted); font-size: 9px; }
.download-link { color: var(--green-dark); font-weight: 700; white-space: nowrap; }.download-link span { margin-left: 7px; font-size: 14px; }
.controls-column { padding: 17px 18px 16px; border: 1px solid #ddd5c8; background: #f7f3eb; }
.control-section + .control-section { margin-top: 25px; }
.section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 13px; }
.section-heading > div { display: flex; align-items: center; gap: 9px; }
.step-number { display: grid; place-items: center; width: 20px; height: 20px; border: 1px solid #cfbc98; border-radius: 50%; color: #9c7c42; font: 10px var(--serif); }
.section-heading h3 { margin: 0; font: 500 15px var(--serif); }
.optional-label { color: #908d82; font-size: 7px; letter-spacing: .1em; }
.style-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.style-card { position: relative; display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 63px; padding: 8px; border: 1px solid #ded8cd; background: transparent; text-align: left; cursor: pointer; transition: border .15s, background .15s; }
.style-card:hover { border-color: #a8ad99; }.style-card.selected { border-color: var(--green); background: #edf0e8; }
.swatch { position: relative; display: block; flex: 0 0 37px; width: 37px; height: 42px; overflow: hidden; background: #d7b780; }
.swatch i { position: absolute; display: block; border-radius: 50%; }
.swatch-pastel { background: #d2c9b2; }.swatch-pastel i:nth-child(1) { top: -7px; left: 8px; width: 31px; height: 36px; background: #b98270; }.swatch-pastel i:nth-child(2) { top: 14px; left: -6px; width: 28px; height: 26px; background: #778a71; }.swatch-pastel i:nth-child(3) { right: -4px; bottom: -10px; width: 33px; height: 27px; background: #d2ac67; }
.swatch-graphite { background: #ddd7c9; }.swatch-graphite i:nth-child(1) { top: 5px; left: 3px; width: 28px; height: 34px; background: #77736a; opacity: .8; }.swatch-graphite i:nth-child(2) { top: 9px; right: -9px; width: 21px; height: 25px; background: #cfaa5c; }.swatch-graphite i:nth-child(3) { bottom: -7px; left: 2px; width: 36px; height: 17px; background: #a29a84; }
.swatch-gesture { background: #e8d5ab; }.swatch-gesture i:nth-child(1) { top: 0; left: 9px; width: 13px; height: 50px; border: 3px solid #343b31; transform: rotate(25deg); }.swatch-gesture i:nth-child(2) { top: 15px; left: -8px; width: 40px; height: 16px; border-top: 3px solid #bd625e; transform: rotate(-18deg); }.swatch-gesture i:nth-child(3) { bottom: 2px; right: 0; width: 22px; height: 19px; background: #e3c65b; }
.swatch-dreamscape { background: #ccc7dc; }.swatch-dreamscape i:nth-child(1) { top: -6px; right: 2px; width: 20px; height: 20px; background: #efe1a8; }.swatch-dreamscape i:nth-child(2) { bottom: -7px; left: -2px; width: 42px; height: 28px; background: #83a89c; }.swatch-dreamscape i:nth-child(3) { top: 22px; left: 10px; width: 30px; height: 20px; background: #6b846e; border-radius: 60% 0 60% 0; }
.swatch-lbartes { background: #d7c7a9; }.swatch-lbartes i:nth-child(1) { top: 4px; left: 7px; width: 21px; height: 29px; background: #bc7568; border-radius: 46% 54% 38% 62%; transform: rotate(-12deg); }.swatch-lbartes i:nth-child(2) { top: 5px; right: 2px; width: 2px; height: 35px; background: #514a3e; transform: rotate(24deg); box-shadow: 5px 2px #514a3e, 10px -3px #514a3e; }.swatch-lbartes i:nth-child(3) { bottom: -5px; left: 2px; width: 24px; height: 21px; background: #77765f; opacity: .8; }
.style-copy { display: flex; min-width: 0; flex-direction: column; gap: 4px; }.style-copy strong { overflow: hidden; font-size: 9px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.style-copy small { color: var(--muted); font-size: 8px; }
.check-mark { display: none; position: absolute; top: 4px; right: 5px; color: var(--green); font-size: 9px; }.selected .check-mark { display: block; }
.prompt-section textarea { display: block; width: 100%; min-height: 76px; resize: vertical; padding: 11px; border: 1px solid #ded8cd; outline: none; background: #fbf9f4; color: var(--ink); font-size: 10px; line-height: 1.6; }.prompt-section textarea:focus { border-color: #8d9a80; }.prompt-section textarea::placeholder { color: #a19e92; }
.prompt-footer { display: flex; justify-content: space-between; margin-top: 6px; color: #8a887d; font-size: 8px; }
.actions { margin-top: 20px; }.generate-button { display: flex; align-items: center; width: 100%; min-height: 47px; padding: 0 14px; border: 0; background: var(--green-dark); color: white; text-align: left; cursor: pointer; transition: background .2s, transform .2s; }.generate-button:disabled { opacity: .46; cursor: not-allowed; }.sparkle { margin-right: 10px; color: #e5cb8d; font-size: 17px; }.generate-label { flex: 1; font-size: 10px; font-weight: 600; }.button-arrow { font-size: 17px; }.preview-button { display: block; width: 100%; margin-top: 8px; padding: 10px; border: 1px solid #bfc4b5; background: transparent; color: var(--green-dark); font-size: 9px; cursor: pointer; }.preview-button:disabled { opacity: .45; cursor: not-allowed; }.preview-button span { margin-left: 6px; }.action-note { margin: 8px 0 0; color: #888579; font-size: 8px; line-height: 1.45; text-align: center; }.feedback { min-height: 16px; margin: 8px 0 0; color: var(--green-dark); font-size: 9px; line-height: 1.45; }.feedback.error { color: #9b4c42; }
.generation-loading { display: flex; align-items: center; gap: 11px; margin-top: 9px; padding: 11px 12px; border: 1px solid #d9d0be; background: #eee7d9; color: var(--green-dark); }
.generation-loading[hidden] { display: none; }
.loading-mark { display: grid; flex: 0 0 26px; width: 26px; height: 26px; place-items: center; border: 1px solid #a79872; border-right-color: transparent; border-radius: 50%; color: #9e7845; font-size: 15px; animation: atelier-loading-spin 1.5s linear infinite; }
.generation-loading strong, .generation-loading small { display: block; }
.generation-loading strong { font-size: 9px; font-weight: 600; }
.generation-loading small { margin-top: 3px; color: #777468; font-size: 8px; line-height: 1.45; }
@keyframes atelier-loading-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .loading-mark { animation: none; } }
.manifesto { display: grid; grid-template-columns: 58px 1.2fr .8fr; gap: 18px; align-items: center; min-height: 260px; padding: 48px 5%; }.manifesto-mark { align-self: start; padding-top: 9px; color: var(--rose); font-size: 37px; }.manifesto .eyebrow { margin-bottom: 16px; }.manifesto h2 { margin: 0; font: 500 clamp(26px, 3vw, 38px)/1.2 var(--serif); letter-spacing: -.04em; }.manifesto-note { max-width: 270px; justify-self: end; margin: 20px 0 0; color: var(--muted); font-size: 11px; line-height: 1.8; }
.share-invite { display: grid; grid-template-columns: 1fr auto; gap: 8px 28px; align-items: end; padding: 42px 5%; border-bottom: 1px solid var(--line); background: #eee7da; }.share-invite .eyebrow { margin-bottom: 14px; }.share-invite h2 { margin-bottom: 8px; font: 500 clamp(25px, 3vw, 36px)/1.15 var(--serif); letter-spacing: -.04em; }.share-invite p { max-width: 440px; margin-bottom: 0; color: var(--muted); font-size: 11px; line-height: 1.7; }.share-button { padding: 12px 16px; border: 0; background: var(--green-dark); color: #fffdf7; font-size: 10px; font-weight: 600; cursor: pointer; transition: background .2s, transform .2s; }.share-button:hover { background: #263a2a; transform: translateY(-1px); }.share-button span { margin-left: 12px; font-size: 14px; }.share-feedback { grid-column: 2; color: var(--green-dark) !important; font-size: 9px !important; text-align: right; }
.footer { min-height: 69px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #858276; font-size: 8px; letter-spacing: .1em; }.footer-brand { color: var(--ink); font-size: 17px; letter-spacing: -.05em; }.footer-brand .brand-mark { width: 19px; height: 19px; }.footer > a:last-child { letter-spacing: 0; font-size: 9px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; clip-path: inset(50%); }

@media (max-width: 900px) {
  .app-shell { padding: 0 4.5%; }.intro { grid-template-columns: 1fr .8fr; }.intro-copy { padding-left: 1%; }.intro-art { height: 310px; }.work-grid { grid-template-columns: 1fr; }.image-stage { min-height: 430px; }.controls-column { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; }.style-section { grid-row: span 2; }.control-section + .control-section { margin-top: 0; }.actions { margin-top: 15px; }.feedback { grid-column: 2; }
}
@media (max-width: 620px) {
  .app-shell { padding: 0 20px; }.topbar { height: 68px; }.top-links { gap: 16px; margin-left: auto; margin-right: 16px; }.top-links a { font-size: 10px; }.ai-status { font-size: 0; }.status-dot { width: 8px; height: 8px; }.intro { min-height: unset; grid-template-columns: 1fr; gap: 25px; padding: 45px 0 56px; }.intro-copy { padding: 0; }.eyebrow { margin-bottom: 18px; font-size: 8px; }.intro h1 { font-size: 61px; }.intro-text { max-width: 420px; font-size: 12px; }.intro-art { width: min(100%, 390px); height: 300px; justify-self: center; }.intro-index { left: 0; bottom: 18px; }.workspace { padding: 47px 0 52px; }.workspace-heading { display: block; }.workspace-heading h2 { font-size: 31px; }.privacy-note { max-width: 320px; margin-top: 13px; }.work-grid { gap: 14px; }.image-stage { min-height: 380px; }.stage-image { max-height: 470px; }.empty-state { padding: 15px; }.empty-state h3 { font-size: 17px; }.empty-state p { max-width: 240px; line-height: 1.5; }.controls-column { display: block; padding: 15px; }.control-section + .control-section { margin-top: 23px; }.feedback { margin-top: 9px; }.manifesto { grid-template-columns: 30px 1fr; gap: 12px; min-height: unset; padding: 45px 0; }.manifesto-mark { font-size: 26px; }.manifesto h2 { font-size: 30px; }.manifesto-note { grid-column: 2; justify-self: start; margin-top: 5px; font-size: 10px; }.share-invite { display: block; padding: 40px 0; }.share-button { margin-top: 18px; }.share-feedback { text-align: left; margin-top: 10px !important; }.footer { min-height: 70px; gap: 10px; }.footer > span { max-width: 130px; font-size: 7px; line-height: 1.5; text-align: center; }.footer-brand { font-size: 15px; }.footer > a:last-child { max-width: 56px; font-size: 8px; text-align: right; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }.loading-mark { animation: none; } }
.ai-consent { display: flex; align-items: flex-start; gap: 9px; margin-top: 10px; color: #68675f; font-size: 9px; line-height: 1.45; }.ai-consent[hidden] { display: none; }.ai-consent input { flex: 0 0 auto; width: 15px; height: 15px; margin: 1px 0 0; accent-color: var(--green-dark); }
@media (max-width: 400px) {
  .top-links a[href="#referencias"] { display: none; }
  .top-links { gap: 12px !important; margin-right: 10px; }
}
.style-copy strong { font-size: 13px; }
.style-copy small { font-size: 11px; }
.privacy-note { font-size: 12px; line-height: 1.65; }
