:root {
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  color:#252724;
  background:#f7f7f5;
  font-synthesis:none;
  --blue:#2c52e5;
  --ink:#252724;
  --muted:#686b66;
  --line:#e2e3dd;
  --radius:18px;
}
/* Public entrance iteration: editorial feature and persistent mobile navigation. */
* {
  box-sizing:border-box;
}
body {
  margin:0;
  font-size:16px;
}
button,input,textarea,select {
  font:inherit;
}
button,a,input,textarea,select {
  -webkit-tap-highlight-color:transparent;
}
button,a {
  touch-action:manipulation;
}
a {
  color:inherit;
  text-decoration:none;
}
button {
  cursor:pointer;
}
button:disabled {
  cursor:not-allowed;
  opacity:.5;
}
button {
  color:inherit;
}
img {
  display:block;
  max-width:100%;
}
button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible {
  outline:3px solid var(--blue);
  outline-offset:5px;
}
button {
  border:0;
}
button svg,a svg {
  width:20px;
  height:20px;
  flex-shrink:0;
}
svg {
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
p {
  line-height:1.65;
}
h1,h2,h3,p {
  margin-top:0;
}
h1,h2,h3 {
  font-weight:550;
  letter-spacing:-.045em;
}
h1 {
  font-size:clamp(40px,5.1vw,72px);
  line-height:1.06;
}
h2 {
  font-size:32px;
  line-height:1.15;
}
h3 {
  font-size:21px;
  line-height:1.25;
}
.muted {
  color:var(--muted);
}
.eyebrow {
  font-size:11px;
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:.16em;
  line-height:1.5;
}
.blue {
  color:var(--blue);
}
.small,.quiet-note,.prep-help,.crop-note,.image-caption {
  font-size:14px;
}
.site-header {
  height:90px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  max-width:1536px;
  padding:0 5.2%;
  margin:auto;
  border-bottom:1px solid var(--line);
  gap:24px;
}
.brand {
  font-size:32px;
  letter-spacing:-1.9px;
  font-weight:650;
  display:flex;
  align-items:center;
  min-height:44px;
  gap:11px;
}
.brand-dot {
  color:var(--blue);
  margin-left:-11px;
}
.brand-symbol {
  width:31px;
  height:31px;
  background:var(--blue);
  border-radius:9px;
  display:grid;
  place-items:center;
}
.brand-symbol i {
  display:block;
  width:17px;
  height:17px;
  border:1.7px solid white;
  border-radius:4px;
  position:relative;
}
.brand-symbol i:after {
  content:"";
  position:absolute;
  inset:4px;
  border:1.7px solid white;
  border-radius:50%;
}
.site-header nav {
  display:flex;
  align-items:center;
  gap:34px;
  height:100%;
}
.site-header nav a {
  display:flex;
  align-items:center;
  min-height:44px;
  font-size:14px;
  gap:7px;
  position:relative;
  color:var(--muted);
}
.site-header nav a[aria-current="page"] {
  color:var(--ink);
}
.site-header nav a[aria-current="page"]:after {
  content:"";
  height:4px;
  width:4px;
  background:var(--blue);
  border-radius:50%;
  position:absolute;
  bottom:0;
  left:50%;
}
#job-count {
  font-size:10px;
  background:var(--blue);
  color:white;
  border-radius:50%;
  min-width:18px;
  height:18px;
  padding:2px;
  text-align:center;
}
.edition {
  display:flex;
  align-items:center;
  gap:8px;
  font-size:11px;
  border:1px solid var(--line);
  border-radius:30px;
  padding:9px 12px;
  white-space:nowrap;
}
.edition>span {
  width:5px;
  height:5px;
  background:#678365;
  border-radius:50%;
}
.edition[data-engine-state="unknown"]>span { background:#777; }
.edition[data-engine-state="available"]>span { background:#387342; }
.edition[data-engine-state="unavailable"]>span,
.edition[data-engine-state="reconciling"]>span { background:#b45d12; }
main {
  max-width:1536px;
  margin:auto;
  padding:0 5.2% 68px;
  min-height:calc(100vh - 197px);
}
main:focus {
  outline:none;
}
.hero {
  padding:62px 0 48px;
  display:grid;
  grid-template-columns:1.5fr 1fr;
  align-items:end;
  gap:30px;
}
.hero .eyebrow {
  display:flex;
  align-items:center;
  gap:9px;
  margin-bottom:22px;
}
.hero .eyebrow:before {
  content:"";
  width:22px;
  height:1px;
  background:var(--blue);
}
.hero h1 {
  margin:0;
  max-width:760px;
}
.hero h1 span {
  color:var(--blue);
}
.hero-aside {
  padding:0 0 5px 36px;
  max-width:390px;
  justify-self:end;
}
.hero-aside p {
  font-size:15px;
  line-height:1.8;
  color:var(--muted);
  margin-bottom:18px;
}
.text-link,.text-button {
  display:inline-flex;
  align-items:center;
  gap:9px;
  min-height:44px;
  font-size:13px;
  font-weight:550;
  background:none;
  padding:0;
}
.text-link:hover,.text-button:hover {
  color:var(--blue);
}
.text-link svg {
  width:17px;
}
.collection-bar {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin-bottom:27px;
  border-top:1px solid var(--line);
  padding-top:25px;
}
.discovery-scopes {
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin:0 0 18px;
}
.discovery-scopes .chip {
  border:1px solid var(--line);
}
.filters {
  display:flex;
  gap:5px;
  flex-wrap:wrap;
}
.chip {
  background:transparent;
  padding:0 17px;
  min-height:44px;
  border-radius:30px;
  font-size:13px;
  color:var(--muted);
  white-space:nowrap;
}
.chip[aria-pressed="true"] {
  background:var(--ink);
  color:white;
}
.chip:hover {
  background:#e9eae5;
  color:var(--ink);
}
.chip[aria-pressed="true"]:hover {
  background:var(--ink);
  color:white;
}
.chip svg {
  width:14px;
  height:14px;
  vertical-align:-2px;
}
.search-box {
  border:1px solid var(--line);
  border-radius:30px;
  background:transparent;
  display:flex;
  align-items:center;
  padding:0 14px;
  gap:9px;
  max-width:230px;
  min-height:44px;
}
.search-box svg {
  width:16px;
  height:16px;
  color:var(--muted);
}
.search-box input {
  width:100%;
  background:none;
  border:0;
  font-size:12px;
  min-width:0;
  outline-offset:0;
}
.search-box input:focus-visible {
  outline:none;
}
.search-box:focus-within {
  outline:2px solid var(--blue);
}
.gallery-heading {
  display:flex;
  align-items:center;
  justify-content:space-between;
  margin-bottom:16px;
}
.gallery-heading h2 {
  font-size:13px;
  letter-spacing:0;
  font-weight:550;
  margin:0;
}
.gallery-heading span {
  font-size:11px;
  color:var(--muted);
}
.scene-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}
.gallery-controls {
  display:flex;
  justify-content:center;
  min-height:44px;
  padding:30px 0 4px;
}
.gallery-controls:empty {
  min-height:0;
  padding:0;
}
.gallery-more {
  min-width:220px;
}
.scene-card {
  min-width:0;
  position:relative;
}
.card-visual {
  display:block;
  position:relative;
  border-radius:var(--radius);
  overflow:hidden;
  background:#e9e8e3;
  aspect-ratio:832/1216;
}
.card-visual img {
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .6s;
}
.card-visual:hover img {
  transform:scale(1.025);
}
.card-visual:after {
  content:"";
  position:absolute;
  inset:60% 0 0;
  background:linear-gradient(transparent,#0005);
  pointer-events:none;
}
.image-badge {
  position:absolute;
  bottom:18px;
  left:18px;
  background:#fffdf0ee;
  backdrop-filter:blur(8px);
  border-radius:30px;
  padding:8px 11px;
  font-size:10px;
  font-weight:550;
  z-index:1;
}
.image-open {
  position:absolute;
  bottom:14px;
  right:16px;
  color:white;
  z-index:1;
  width:36px;
  height:36px;
  display:grid;
  place-items:center;
  border:1px solid #fff7;
  border-radius:50%;
}
.favorite {
  position:absolute;
  top:14px;
  right:14px;
  background:#f7f7f5eb;
  backdrop-filter:blur(8px);
  border-radius:50%;
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  z-index:2;
}
.favorite[aria-pressed="true"] {
  color:var(--blue);
}
.favorite[aria-pressed="true"] svg {
  fill:currentColor;
}
.card-copy {
  padding:19px 2px 0;
}
.card-copy .eyebrow {
  font-size:9px;
  margin-bottom:8px;
  color:var(--muted);
}
.card-copy h3 {
  margin-bottom:7px;
}
.card-copy p {
  font-size:12px;
  color:var(--muted);
  line-height:1.65;
  margin-bottom:0;
  max-width:350px;
}
.no-image {
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-direction:column;
  gap:14px;
  color:#555a51;
  padding:24px;
  text-align:center;
  font-size:13px;
}
.no-image svg {
  width:30px;
  height:30px;
}
.inspiration-strip {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:26px;
  margin-top:47px;
  padding:27px 30px;
  background:#eceee8;
  border-radius:var(--radius);
}
.inspiration-strip h2 {
  font-size:21px;
  margin-bottom:5px;
}
.inspiration-strip p {
  font-size:13px;
  color:var(--muted);
  margin:0;
}
.round-mark {
  width:49px;
  height:49px;
  display:grid;
  place-items:center;
  border:1px solid #cfd3c6;
  border-radius:50%;
  color:#607156;
  flex-shrink:0;
}
.round-mark svg {
  width:23px;
}
.strip-copy {
  flex:1;
}
.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:11px;
  min-height:48px;
  border-radius:30px;
  padding:12px 22px;
  font-size:13px;
  font-weight:550;
  background:var(--blue);
  color:white;
  line-height:1.5;
  text-align:center;
}
.button:hover {
  background:#2444c2;
}
.button.secondary {
  background:#fff;
  color:var(--ink);
  border:1px solid var(--line);
}
.button.secondary:hover {
  background:#efefeb;
}
.button.dark {
  background:var(--ink);
}
.button.full {
  width:100%;
}
.site-footer {
  max-width:1536px;
  margin:auto;
  padding:25px 5.2%;
  border-top:1px solid var(--line);
  display:flex;
  align-items:center;
  gap:24px;
  font-size:11px;
  color:var(--muted);
}
.footer-brand {
  font-size:23px;
  font-weight:600;
  letter-spacing:-1.3px;
  color:var(--ink);
  display:inline-flex;
  align-items:center;
  min-height:44px;
}
.site-footer>span {
  flex:1;
}
.site-footer .text-button {
  font-size:11px;
  font-weight:400;
}
.page-top {
  padding:31px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
}
.page-top .text-link {
  color:var(--muted);
  font-weight:400;
  font-size:12px;
}
.detail-layout {
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(320px,.85fr);
  gap:7%;
  align-items:start;
}
.detail-art {
  min-width:0;
}
.large-image {
  background:#e9e8e3;
  border-radius:var(--radius);
  overflow:hidden;
  display:block;
  width:100%;
  padding:0;
  position:relative;
}
.large-image>img {
  width:100%;
  max-height:740px;
  object-fit:contain;
}
.large-image .no-image {
  min-height:500px;
}
.zoom-label {
  position:absolute;
  right:16px;
  bottom:16px;
  min-height:44px;
  padding:0 14px;
  display:flex;
  align-items:center;
  gap:7px;
  background:#fffe;
  border-radius:30px;
  font-size:11px;
}
.zoom-label svg {
  width:16px;
}
.image-caption {
  color:var(--muted);
  font-size:11px;
  margin:12px 0 0;
  line-height:1.65;
  overflow-wrap:anywhere;
}
.example-kicker {
  font-size:11px;
  font-weight:600;
  letter-spacing:.04em;
  text-transform:uppercase;
  color:var(--blue);
  margin:0 0 10px;
}
.prep-help {
  font-size:13px;
  color:var(--muted);
  line-height:1.65;
  margin:12px 0 0;
}
.scene-status {
  margin:8px 0 0;
}
.scene-aside {
  margin-top:28px;
  padding-top:22px;
  border-top:1px solid var(--line);
}
.adapt-link {
  display:inline;
  text-align:left;
  font-size:14px;
  line-height:1.5;
  overflow-wrap:anywhere;
  white-space:normal;
  min-height:44px;
}
.scene-aside p {
  font-size:12px;
  color:var(--muted);
  line-height:1.65;
  margin:8px 0 0;
  overflow-wrap:anywhere;
}
.prep-mode,.prep-mode-info {
  margin:0 0 28px;
  min-width:0;
}
.prep-mode {
  border:0;
  padding:0;
}
.prep-mode legend,.prep-mode-info h2 {
  font-size:13px;
  font-weight:600;
  margin:0 0 12px;
  padding:0;
}
.prep-mode-info p {
  font-size:13px;
  line-height:1.65;
  color:var(--muted);
  margin:0;
}
.prep-mode .mode-option {
  cursor:pointer;
  position:relative;
  display:flex;
  align-items:flex-start;
  margin:0 0 13px;
}
.prep-mode .mode-option input {
  position:absolute;
  opacity:0;
  width:1px;
  height:1px;
  margin:0;
}
.prep-mode .mode-option:focus-within {
  outline:2px solid var(--blue);
  outline-offset:2px;
}
.prep-mode .mode-option:has(input:checked) {
  border-color:var(--blue);
  background:#f0f3ff;
}
.prep-mode .mode-option:has(input:checked) .radio-dot {
  border:5px solid var(--blue);
}
.mode-copy {
  display:block;
  font-size:12px;
  line-height:1.65;
  margin:5px 0 0;
  color:var(--muted);
  font-weight:400;
}
.thumbnails {
  display:flex;
  gap:10px;
  margin-top:16px;
}
.thumbnail {
  width:58px;
  height:76px;
  padding:3px;
  background:none;
  border:1px solid transparent;
  border-radius:9px;
}
.thumbnail[aria-pressed="true"] {
  border-color:var(--blue);
}
.thumbnail img {
  height:100%;
  width:100%;
  object-fit:cover;
  border-radius:5px;
}
.detail-panel {
  padding-top:28px;
  position:sticky;
  top:25px;
}
.detail-panel>.eyebrow {
  color:var(--blue);
  margin-bottom:18px;
}
.detail-panel h1 {
  font-size:clamp(34px,3.5vw,50px);
  line-height:1.09;
  margin-bottom:20px;
}
.lead {
  font-size:15px;
  color:var(--muted);
  line-height:1.8;
}
.specs {
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  padding:22px 0;
  margin:10px 0 25px;
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
  font-size:12px;
}
.specs>span {
  display:flex;
  align-items:center;
  gap:7px;
}
.specs svg {
  width:16px;
  height:16px;
}
.mode-option {
  padding:18px;
  border:1px solid var(--line);
  border-radius:13px;
  background:transparent;
  display:flex;
  gap:12px;
  margin:0 0 13px;
  text-decoration:none;
  color:inherit;
}
.radio-dot {
  display:block;
  width:17px;
  height:17px;
  border:2px solid var(--line);
  border-radius:50%;
  flex:0 0 17px;
  margin-top:2px;
  box-sizing:border-box;
}
.mode-option strong {
  font-size:13px;
  font-weight:600;
  display:block;
  margin-bottom:5px;
}
.mode-option p {
  font-size:12px;
  line-height:1.65;
  margin:0;
  color:var(--muted);
}
.future-mode {
  display:flex;
  justify-content:space-between;
  align-items:center;
  border:1px solid var(--line);
  border-radius:13px;
  padding:18px;
  margin-bottom:11px;
  font-size:13px;
  color:var(--muted);
  gap:12px;
}
.status-pill {
  font-size:10px;
  background:#e8e9e3;
  padding:5px 8px;
  border-radius:30px;
  white-space:nowrap;
}
.detail-panel .button.full {
  margin-top:15px;
}
.quiet-note {
  font-size:11px;
  color:var(--muted);
  text-align:center;
  margin:12px 0 0;
  line-height:1.65;
}
.details-note {
  font-size:12px;
  color:var(--muted);
  margin-top:22px;
}
.details-note summary {
  cursor:pointer;
  min-height:44px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding:10px 0;
}
.details-note p {
  padding:0 0 12px;
}
.steps {
  display:flex;
  gap:14px;
  align-items:center;
  font-size:11px;
  color:var(--muted);
}
.steps span {
  display:flex;
  align-items:center;
  gap:7px;
}
.steps b {
  border:1px solid var(--line);
  border-radius:50%;
  width:22px;
  height:22px;
  display:grid;
  place-items:center;
  font-size:10px;
  font-weight:500;
}
.steps .current {
  color:var(--blue);
}
.steps .current b {
  background:var(--blue);
  color:white;
  border-color:var(--blue);
}
.studio-title {
  margin:15px 0 30px;
}
.studio-title h1,.library-title h1 {
  font-size:44px;
  margin-bottom:12px;
}
.studio-layout {
  display:grid;
  grid-template-columns:1fr 390px;
  gap:50px;
}
.studio-preview {
  display:grid;
  grid-template-columns:180px 1fr;
  gap:27px;
  padding:28px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
}
.studio-preview img {
  width:180px;
  border-radius:10px;
  aspect-ratio:832/1216;
  object-fit:cover;
}
.studio-preview .example-kicker {
  margin:0 0 8px;
}
.studio-preview h2 {
  font-size:26px;
  margin:10px 0 14px;
}
.studio-preview p {
  font-size:13px;
  color:var(--muted);
}
.studio-preview .no-image {
  height:240px;
  background:#e9e8e3;
  border-radius:10px;
}
.summary-panel {
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:28px;
  align-self:start;
}
.summary-panel h2 {
  font-size:21px;
  margin-bottom:23px;
}
.profile-picker {
  margin:20px 0;
}
.profile-picker label {
  display:block;
  font-size:12px;
  margin-bottom:8px;
}
.profile-picker select {
  width:100%;
  min-width:0;
  padding:12px;
  background:var(--paper, #faf9f6);
  border:1px solid var(--line);
  border-radius:8px;
}
.profile-picker p {
  margin-top:10px;
}
.summary-line {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  margin:17px 0;
  font-size:12px;
}
.summary-line>span {
  color:var(--muted);
}
.summary-line strong {
  font-weight:500;
  text-align:right;
}
.summary-panel hr {
  border:0;
  border-top:1px solid var(--line);
  margin:22px 0;
}
.summary-panel .quiet-note {
  text-align:left;
}
.privacy-note {
  margin-top:25px;
  display:flex;
  gap:12px;
  color:var(--muted);
  font-size:12px;
  line-height:1.75;
}
.privacy-note svg {
  width:19px;
  flex-shrink:0;
  margin-top:2px;
}
.privacy-note p {
  margin:0;
}
.privacy-note strong {
  font-weight:550;
  color:var(--ink);
}
.face-drop {
  display:flex;
  align-items:center;
  gap:14px;
  border:2px dashed var(--blue);
  border-radius:13px;
  padding:18px;
  margin:12px 0 10px;
  cursor:pointer;
  position:relative;
  min-height:96px;
  background:#f0f3ff;
  color:var(--ink);
}
.face-drop:hover,.face-drop:focus-within {
  background:#e4eaff;
}
.face-drop-mark {
  width:40px;
  height:40px;
  border-radius:50%;
  background:var(--blue);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.face-drop-mark svg {
  width:18px;
  height:18px;
}
.face-drop input[type="file"] {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
  font-size:16px;
}
.face-drop span:last-child {
  display:block;
  font-size:13px;
  line-height:1.65;
  color:var(--ink);
}
.face-drop strong {
  color:var(--blue);
  font-weight:650;
  font-size:15px;
}
.face-meta {
  display:flex;
  flex-direction:column;
  gap:6px;
  margin:10px 0 4px;
  min-width:0;
}
.face-meta strong {
  display:block;
  font-size:13px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.face-meta p {
  margin:0;
  font-size:12px;
  color:var(--muted);
}
.face-meta-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.face-meta-actions .text-link {
  position:relative;
  overflow:hidden;
}
.face-meta-actions input[type="file"] {
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  opacity:0;
  cursor:pointer;
  font-size:16px;
}
.notice.face-need {
  margin:0 0 4px;
  border-color:#c5d0f5;
  background:#f0f3ff;
  color:var(--ink);
  font-size:13px;
}
.face-editor {
  display:grid;
  gap:12px;
  padding:18px;
  border:1px solid var(--line);
  border-radius:var(--radius);
  background:#fff;
}
.crop-stage {
  display:flex;
  justify-content:center;
  align-items:center;
  background:#111;
  border-radius:12px;
  overflow:hidden;
  isolation:isolate;
  touch-action:none;
  padding:12px;
}
.crop-frame {
  position:relative;
  display:inline-block;
  max-width:100%;
  line-height:0;
}
.crop-frame img {
  display:block;
  max-width:100%;
  width:auto;
  height:auto;
  max-height:min(72vh, 680px);
  pointer-events:none;
  user-select:none;
}
.crop-box {
  position:absolute;
  border:2px solid #fff;
  box-shadow:0 0 0 9999px rgba(0,0,0,.42);
  border-radius:2px;
  cursor:move;
  touch-action:none;
  transition:left .28s ease, top .28s ease, width .28s ease, height .28s ease;
}
.crop-box.is-dragging {
  transition:none;
}
.crop-box.is-indicative {
  border-style:dashed;
  border-color:#d7dbe3;
}
.crop-box.is-applied,.crop-box.is-updated {
  border-style:solid;
  border-color:#8eb4ff;
}
.crop-handle {
  position:absolute;
  width:14px;
  height:14px;
  padding:0;
  border:2px solid #1b1b1b;
  border-radius:2px;
  background:#fff;
  box-sizing:border-box;
}
.crop-handle-nw { left:-7px; top:-7px; cursor:nwse-resize; }
.crop-handle-ne { right:-7px; top:-7px; cursor:nesw-resize; }
.crop-handle-sw { left:-7px; bottom:-7px; cursor:nesw-resize; }
.crop-handle-se { right:-7px; bottom:-7px; cursor:nwse-resize; }
.crop-handle-n { top:-7px; left:50%; margin-left:-7px; cursor:ns-resize; }
.crop-handle-s { bottom:-7px; left:50%; margin-left:-7px; cursor:ns-resize; }
.crop-handle-w { left:-7px; top:50%; margin-top:-7px; cursor:ew-resize; }
.crop-handle-e { right:-7px; top:50%; margin-top:-7px; cursor:ew-resize; }
.crop-note {
  margin:0;
  font-size:13px;
  color:var(--muted);
  line-height:1.55;
}
.crop-actions {
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}
.face-editor .studio-scene-link {
  font-size:12px;
}
.library-title {
  padding:54px 0 23px;
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:20px;
}
.library-title p {
  font-size:13px;
  margin-bottom:0;
  color:var(--muted);
}
.library-tabs {
  margin-bottom:28px;
}
.creation-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:26px;
}
.creation-card {
  background:#fff;
  border:1px solid var(--line);
  border-radius:var(--radius);
  overflow:hidden;
  display:flex;
  flex-direction:column;
}
.creation-art {
  aspect-ratio:1;
  display:grid;
  place-items:center;
  background:#eceee8;
  position:relative;
}
.creation-art img {
  width:100%;
  height:100%;
  object-fit:contain;
}
.creation-card-copy {
  padding:20px 20px 8px;
}
.creation-card-copy h3 {
  font-size:18px;
  margin-bottom:8px;
}
.creation-card-copy p {
  font-size:12px;
  color:var(--muted);
  margin-bottom:0;
}
.creation-card-actions {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  padding:0 20px 16px;
}
.creation-card-actions .text-button {
  color:var(--muted);
  flex-shrink:0;
  min-width:44px;
  justify-content:center;
}
.creation-card-actions .text-button:hover {
  color:#a44334;
}
.favorite-result-card { border-color:#d9dff7; }
.favorite-result-badge {
  position:absolute;
  left:12px;
  bottom:12px;
  display:inline-flex;
  align-items:center;
  gap:6px;
  padding:7px 10px;
  border-radius:999px;
  background:#fff;
  color:var(--blue);
  font-size:11px;
  font-weight:650;
  box-shadow:0 5px 18px #17204b24;
}
.favorite-result-badge svg { width:15px; height:15px; fill:currentColor; }
.favorite-result-card .creation-card-actions { align-items:flex-start; }
.job-placeholder {
  text-align:center;
  font-size:12px;
  padding:25px;
}
.job-placeholder svg {
  width:28px;
  height:28px;
  margin:0 auto 13px;
}
.job-placeholder span {
  display:block;
}
.job-placeholder .orb + span {
  margin-top:14px;
  color:var(--muted);
}
.job-status {
  display:inline-flex;
  gap:6px;
  align-items:center;
  font-size:10px;
  margin-bottom:12px;
  color:var(--muted);
}
.job-status:before {
  content:"";
  background:currentColor;
  width:5px;
  height:5px;
  border-radius:50%;
}
.job-status.done {
  color:#4f744e;
}
.job-status.running {
  color:var(--blue);
}
.job-status.error,.job-status.expired {
  color:#a44334;
}
.empty-state {
  padding:70px 24px;
  text-align:center;
  border:1px dashed #d5d8cf;
  border-radius:var(--radius);
  grid-column:1/-1;
}
.empty-state .round-mark {
  margin:0 auto 20px;
}
.empty-state h2 {
  font-size:26px;
  margin-bottom:12px;
}
.empty-state p {
  max-width:420px;
  margin:0 auto 22px;
  font-size:13px;
  color:var(--muted);
}
.result-layout {
  display:grid;
  grid-template-columns:1.15fr .85fr;
  gap:7%;
  align-items:start;
}
.result-stage {
  min-height:530px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#eceee8;
  border-radius:var(--radius);
  overflow:hidden;
}
.result-stage>img {
  width:100%;
  max-height:740px;
  object-fit:contain;
}
.waiting {
  text-align:center;
  padding:50px 25px;
}
.waiting h2 {
  font-size:27px;
  max-width:340px;
  margin:25px auto 15px;
}
.waiting p {
  max-width:310px;
  font-size:13px;
  color:var(--muted);
  margin:0 auto;
}
.orb {
  height:110px;
  width:110px;
  margin:auto;
  position:relative;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:conic-gradient(var(--blue) calc(var(--progress, 0) * 1%), #cbd0c3 0);
  box-shadow:0 0 45px #ccd3c5;
  transition:background .45s ease;
}
.orb:before {
  content:"";
  position:absolute;
  inset:-12px;
  border:1px solid #bcc6ae;
  border-radius:50%;
  border-top-color:transparent;
}
.orb-core {
  position:absolute;
  inset:10px;
  border-radius:50%;
  background:#f8f9f3;
  display:grid;
  place-items:center;
}
.orb-core svg {
  width:30px;
  height:30px;
  color:var(--blue);
  transform:translateY(-11px);
}
.orb-core strong {
  position:absolute;
  top:58px;
  font-size:16px;
  letter-spacing:-.03em;
  font-weight:600;
}
.orb-core small {
  font-size:10px;
  font-weight:500;
  margin-left:1px;
}
.orb.compact {
  height:76px;
  width:76px;
  box-shadow:0 0 24px #ccd3c5;
}
.orb.compact:before {
  inset:-8px;
}
.orb.compact .orb-core {
  inset:7px;
}
.orb.compact .orb-core strong {
  position:static;
  font-size:15px;
}
.orb.compact .orb-core small {
  font-size:9px;
}
.progress-copy {
  font-size:11px!important;
  color:var(--blue)!important;
  margin:22px auto -10px!important;
}
.result-panel {
  padding-top:25px;
}
.result-panel h1 {
  font-size:43px;
  margin:16px 0;
}
.result-panel .button {
  margin:10px 0 0;
}
.result-panel .button.full + .text-link {
  display:inline-flex;
  margin-top:12px;
}
.result-panel .lead {
  font-size:14px;
}
.result-actions {
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:15px;
}
.result-remove {
  margin-top:18px;
  color:var(--muted);
}
.result-remove:hover {
  color:#a44334;
}
.notice {
  padding:15px 17px;
  border:1px solid #d4dbc9;
  background:#edf1e8;
  border-radius:10px;
  font-size:12px;
  line-height:1.7;
  margin:20px 0;
}
.notice.error {
  border-color:#e7c7bb;
  background:#fbede6;
  color:#863727;
}
.notice a {
  text-decoration:underline;
}
.recovery-notice {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.recovery-notice p {
  margin:3px 0 0;
}
.recovery-notice .button {
  flex:0 0 auto;
}
@media (max-width:700px) {
  .recovery-notice { align-items:stretch; flex-direction:column; }
  .recovery-notice .button { width:100%; }
}
.timeline {
  margin:28px 0;
  list-style:none;
  padding:0;
}
.timeline li {
  padding:10px 0;
  font-size:12px;
  display:flex;
  align-items:center;
  gap:12px;
  color:var(--muted);
}
.timeline svg {
  width:18px;
  height:18px;
}
.timeline .current {
  color:var(--blue);
}
.idea-layout {
  display:grid;
  grid-template-columns:1fr 340px;
  gap:55px;
  margin:15px 0 20px;
}
.idea-form {
  padding:30px;
  background:white;
  border:1px solid var(--line);
  border-radius:var(--radius);
}
.idea-form label {
  display:block;
  font-size:13px;
  font-weight:550;
  margin:0 0 10px;
}
.idea-form input,.idea-form textarea,.idea-form select {
  width:100%;
  padding:13px 15px;
  border:1px solid #d4d6ce;
  border-radius:10px;
  background:#fafbf8;
  color:var(--ink);
  min-height:48px;
  font-size:13px;
  margin-bottom:24px;
}
.idea-form textarea {
  resize:vertical;
  min-height:85px;
  line-height:1.65;
}
.field-row {
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:20px;
}
.idea-aside {
  padding-top:10px;
}
.idea-aside h2 {
  font-size:28px;
  margin:20px 0 15px;
}
.idea-aside p {
  font-size:13px;
  color:var(--muted);
}
.idea-aside .text-link {
  color:var(--blue);
}
.draft-actions {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:15px;
}
.loading-state {
  padding:120px 20px;
  text-align:center;
  color:var(--muted);
  font-size:14px;
}
.toast {
  position:fixed;
  bottom:28px;
  left:50%;
  transform:translateX(-50%);
  background:var(--ink);
  color:white;
  box-shadow:0 8px 35px #0002;
  border-radius:30px;
  padding:14px 24px;
  max-width:90vw;
  width:max-content;
  font-size:12px;
  line-height:1.6;
  z-index:30;
}
.icon-button {
  background:#eeefea;
  border-radius:50%;
  display:grid;
  place-items:center;
  width:44px;
  min-width:44px;
  height:44px;
  padding:0;
  line-height:1;
  color:var(--ink);
}
.icon-button svg {
  width:24px;
  height:24px;
  display:block;
  stroke-width:2.4;
}
.dialog-close {
  position:absolute;
  right:15px;
  top:15px;
  z-index:2;
}
dialog {
  border:1px solid var(--line);
  border-radius:22px;
  padding:50px 35px 30px;
  max-width:520px;
  width:calc(100% - 36px);
  color:var(--ink);
  background:#f7f7f5;
}
dialog::backdrop {
  background:#17201699;
  backdrop-filter:blur(5px);
}
dialog h2 {
  font-size:28px;
}
dialog p {
  font-size:13px;
  color:var(--muted);
}
.dialog-actions {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:16px;
  margin-top:24px;
}
dialog.zoom-dialog {
  max-width:1280px;
  width:calc(100% - 32px);
  max-height:calc(100dvh - 24px);
  height:calc(100dvh - 24px);
  background:#161916;
  padding:0;
  overflow:auto;
}
dialog.zoom-dialog img {
  width:100%;
  height:100%;
  display:block;
  object-fit:contain;
}
dialog.zoom-dialog #dialog-content { height:100%; min-height:0; }
.zoom-layout { display:grid; grid-template-columns:minmax(0,1fr); height:100%; min-height:0; }
.zoom-layout.has-info { grid-template-columns:minmax(0,1fr) 240px; }
.zoom-art { min-width:0; min-height:0; height:100%; display:flex; align-items:center; }
.zoom-info { padding:72px 24px 24px 16px; color:#f5f7f2; min-width:0; min-height:0; overflow:auto; display:flex; flex-direction:column; gap:24px; }
.zoom-info h2 { font-size:20px; margin:0; color:inherit; overflow-wrap:anywhere; }
.zoom-info h3 { font-size:13px; font-weight:600; color:#b8c2b7; margin:0 0 8px; }
.zoom-info p { color:inherit; margin:0; }
.zoom-choice { display:flex; align-items:center; gap:8px; font-size:14px; }
.zoom-choice svg { width:20px; height:20px; fill:none; stroke:currentColor; stroke-width:2; }
.zoom-note p { white-space:pre-wrap; overflow-wrap:anywhere; font-size:14px; }
.zoom-actions { margin-top:auto; padding-top:12px; }
.zoom-actions .button { width:100%; font-size:13px; padding:12px 10px; }
.image-annotations { position:absolute; bottom:12px; left:12px; display:flex; flex-direction:column; align-items:flex-start; gap:6px; pointer-events:none; }
.contact-sheet-single .image-annotations { bottom:60px; }
.image-choice,.image-annotations .image-rating { padding:6px 9px; border-radius:8px; background:rgba(22,25,22,.88); color:#fff; box-shadow:0 1px 6px #0003; }
.image-choice { display:flex; align-items:center; gap:5px; font-size:12px; }
.image-choice svg { width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; }
.image-rating { font-size:19px; letter-spacing:2px; color:#f5c35b; line-height:1; }
.image-annotations .image-rating { color:#f5c35b; }
.empty-stars { color:#c0c8c0; }
@media(max-width:700px) {
  .zoom-layout { height:auto; }
  .zoom-layout.has-info { grid-template-columns:minmax(0,1fr); }
  .zoom-info { padding:20px; gap:16px; overflow:visible; }
  .zoom-art { padding-top:44px; height:auto; }
  dialog.zoom-dialog img { height:calc(100dvh - 72px); }
  .zoom-actions { margin-top:0; padding-top:0; }
  .zoom-actions .button { width:auto; padding:12px 18px; }
}
dialog.compare-dialog {
  max-width:1320px;
  width:calc(100% - 32px);
  max-height:calc(100vh - 32px);
  padding:48px 28px 28px;
  overflow:auto;
  background:#f7f7f5;
}
dialog.single-review-dialog { max-width:760px; }
.compare-heading {
  max-width:680px;
  margin-bottom:22px;
}
.compare-heading h2 { margin:8px 0; }
.compare-heading p:last-child { margin:0; font-size:14px; line-height:1.6; }
.compare-card {
  min-width:0;
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:18px;
  background:#fff;
  transition:border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.compare-card.is-chosen {
  border-color:var(--blue);
  box-shadow:0 0 0 3px color-mix(in srgb, var(--blue) 18%, transparent), 0 18px 42px #28305b18;
  transform:translateY(-2px);
}
.compare-visual { position:relative; background:#e6e4df; }
.compare-visual img { display:block; width:100%; aspect-ratio:832/1216; object-fit:cover; border-radius:0; }
.compare-grid.compare-count-1 { grid-template-columns:minmax(0,600px); justify-content:center; }
.single-review-dialog .compare-visual img { max-height:52vh; aspect-ratio:auto; object-fit:contain; }
.choice-badge {
  position:absolute;
  top:12px;
  left:12px;
  padding:7px 11px;
  border-radius:999px;
  background:var(--blue);
  color:#fff;
  font-size:11px;
  font-weight:650;
  box-shadow:0 5px 18px #10194b30;
}
.compare-card-body { padding:14px 16px 16px; }
.compare-card-title {
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:14px;
}
.compare-card-copy { min-width:0; flex:1; }
.compare-card-title p { margin:3px 2px 0; font-size:11px; line-height:1.4; color:var(--muted); }
.compare-count-3 .compare-card-title,.compare-count-4 .compare-card-title { display:grid; }
.compare-count-3 .choice-button,.compare-count-4 .choice-button { width:100%; }
.choice-button {
  flex:0 0 auto;
  min-height:40px;
  padding:7px 12px;
  border:1px solid var(--blue);
  border-radius:10px;
  background:#fff;
  color:var(--blue);
  font-weight:600;
}
.choice-button[aria-pressed="true"] { background:var(--blue); color:#fff; }
.review-field { margin:12px 0 10px; padding:0; border:0; }
.review-field legend,.review-note > span { display:block; margin-bottom:5px; color:var(--muted); font-size:11px; font-weight:500; }
.rating { display:flex; gap:3px; width:max-content; }
.rating-star {
  width:30px;
  height:30px;
  padding:0;
  border:0;
  border-radius:7px;
  background:transparent;
  color:#b5b7ae;
  font-size:18px;
  line-height:1;
}
.rating-star:hover,.rating-star:focus-visible,.rating-star.is-filled { color:#e1a52b; background:#fff7df; }
.review-note small { color:var(--muted); font-weight:400; }
.review-note .review-status { display:block; min-height:18px; margin-top:5px; }
.review-note textarea {
  display:block;
  width:100%;
  min-height:58px;
  resize:vertical;
  padding:8px 10px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fbfbf9;
  color:var(--ink);
  font:inherit;
  font-size:13px;
  line-height:1.5;
}
.review-note textarea:focus { border-color:var(--blue); outline:3px solid color-mix(in srgb, var(--blue) 18%, transparent); }
.compare-card-footer { display:flex; align-items:center; gap:10px; margin-top:9px; flex-wrap:wrap; }
.compare-footnote { margin:16px 2px 0; font-size:12px; line-height:1.5; }
.skip-link {
  position:fixed;
  top:-100px;
  left:20px;
  z-index:100;
  background:var(--ink);
  color:white;
  padding:15px;
}
.skip-link:focus {
  top:12px;
}
.sr-only {
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  clip-path:inset(50%);
  white-space:nowrap;
  border:0;
}
[hidden] {
  display:none!important;
}
@keyframes spin {
  to {
    transform:rotate(360deg);
  }
}
@media(min-width:1600px) {
  .card-visual {
    max-height:590px;
  }
}
@media(max-width:1050px) {
  .site-header {
    padding-inline:4%;
  }
  .hero {
    grid-template-columns:1.5fr 1fr;
    padding-top:47px;
  }
  .hero-aside {
    padding-left:0;
    max-width:280px;
  }
  .hero-aside p {
    font-size:13px;
  }
  .scene-grid,.creation-grid {
    gap:18px;
  }
  .card-copy h3 {
    font-size:19px;
  }
  main {
    padding-inline:4%;
  }
  .detail-layout,.result-layout {
    gap:5%;
    grid-template-columns:1fr 1fr;
  }
  .detail-panel {
    padding-top:10px;
  }
  .studio-layout {
    grid-template-columns:1fr 320px;
    gap:24px;
  }
  .studio-preview {
    grid-template-columns:120px 1fr;
    padding:20px;
    gap:20px;
  }
  .studio-preview img {
    width:120px;
  }
  .studio-preview h2 {
    font-size:22px;
  }
  .idea-layout {
    grid-template-columns:1fr 260px;
    gap:28px;
  }
}
@media(max-width:780px) {
  .site-header {
    height:112px;
    position:relative;
    align-items:flex-start;
    padding-top:17px;
  }
  .brand {
    font-size:28px;
  }
  .brand-symbol {
    width:28px;
    height:28px;
  }
  .site-header nav {
    position:absolute;
    bottom:4px;
    left:4%;
    right:4%;
    height:45px;
    justify-content:center;
    gap:34px;
  }
  .site-header nav a {
    font-size:12px;
  }
  .edition {
    font-size:10px;
    padding:7px 10px;
  }
  .hero {
    padding:37px 0 30px;
    display:block;
  }
  .hero h1 {
    font-size:51px;
    line-height:1.08;
    max-width:560px;
  }
  .hero .eyebrow {
    font-size:10px;
    margin-bottom:19px;
  }
  .hero-aside {
    max-width:none;
    display:flex;
    gap:25px;
    align-items:end;
    justify-content:space-between;
    padding:0;
    margin-top:23px;
  }
  .hero-aside p {
    font-size:12px;
    margin:0;
    max-width:350px;
  }
  .hero-aside .text-link {
    white-space:nowrap;
    font-size:12px;
  }
  .scene-grid,.creation-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:25px 17px;
  }
  .scene-card:first-child {
    grid-column:1/-1;
  }
  .scene-card:first-child .card-visual {
    aspect-ratio:1.25;
  }
  .scene-card:first-child .card-visual img {
    object-position:center 32%;
  }
  .collection-bar {
    flex-direction:column;
    align-items:stretch;
    gap:14px;
    padding-top:20px;
  }
  .search-box {
    max-width:100%;
  }
  .filters {
    gap:0;
  }
  .chip {
    padding:0 15px;
    font-size:12px;
  }
  .card-copy h3 {
    font-size:18px;
  }
  .card-copy p {
    font-size:11px;
  }
  .inspiration-strip {
    padding:23px;
    gap:17px;
    flex-wrap:wrap;
  }
  .inspiration-strip .button {
    margin-left:66px;
  }
  .inspiration-strip h2 {
    font-size:21px;
  }
  .site-footer {
    flex-wrap:wrap;
    gap:10px 18px;
    padding:22px 4%;
  }
  .site-footer>span {
    font-size:10px;
  }
  .site-footer .text-button {
    min-height:44px;
  }
  .detail-layout,.result-layout {
    gap:30px;
    grid-template-columns:1fr;
  }
  .detail-panel {
    position:static;
    padding-top:0;
  }
  .detail-panel h1 {
    font-size:41px;
  }
  .large-image>img {
    max-height:580px;
  }
  .large-image .no-image {
    min-height:340px;
  }
  .detail-panel .button.full {
    min-height:52px;
  }
  .page-top {
    padding:18px 0;
  }
  .studio-layout {
    grid-template-columns:1fr;
    gap:25px;
  }
  .studio-title {
    margin:12px 0 24px;
  }
  .studio-title h1,.library-title h1 {
    font-size:36px;
  }
  .studio-preview {
    grid-template-columns:145px 1fr;
  }
  .studio-preview img {
    width:145px;
  }
  .summary-panel {
    padding:24px;
  }
  .studio-layout>.summary-panel {
    grid-row:2;
  }
  .library-title {
    padding:36px 0 25px;
  }
  .library-title .button {
    padding:10px 15px;
    font-size:11px;
  }
  .idea-layout {
    grid-template-columns:1fr;
    gap:25px;
  }
  .idea-form {
    padding:23px;
  }
  .idea-aside {
    padding:0 4px;
  }
  .result-stage {
    min-height:400px;
  }
  .result-stage>img {
    max-height:600px;
  }
  .result-panel {
    padding-top:0;
  }
  .result-panel h1 {
    font-size:36px;
  }
  .steps {
    gap:7px;
    font-size:9px;
  }
  .steps span {
    gap:4px;
  }
  .steps b {
    width:19px;
    height:19px;
  }
  .page-top>.small {
    font-size:10px;
  }
  .scene-grid>.empty-state {
    grid-column:1/-1;
  }
  .library-title>div {
    min-width:0;
  }
}
@media(max-width:430px) {
  main {
    padding-inline:20px;
    padding-bottom:40px;
  }
  .site-header {
    padding-inline:20px;
  }
  .hero h1 {
    font-size:43px;
  }
  .hero-aside {
    display:block;
    margin-top:20px;
  }
  .hero-aside p {
    max-width:300px;
  }
  .hero-aside .text-link {
    margin-top:6px;
  }
  .scene-grid,.creation-grid {
    gap:25px 12px;
  }
  .scene-card:first-child .card-visual {
    aspect-ratio:1.1;
  }
  .card-visual {
    border-radius:12px;
  }
  .image-badge {
    bottom:12px;
    left:12px;
    font-size:9px;
    padding:6px 9px;
  }
  .scene-card:not(:first-child) .image-badge {
    display:none;
  }
  .scene-card:not(:first-child) .image-open {
    display:none;
  }
  .favorite {
    top:9px;
    right:9px;
  }
  .card-copy {
    padding-top:14px;
  }
  .card-copy h3 {
    font-size:17px;
    line-height:1.3;
    letter-spacing:-.025em;
  }
  .card-copy .eyebrow {
    font-size:9px;
  }
  .inspiration-strip {
    margin-top:32px;
    padding:20px;
  }
  .inspiration-strip .round-mark {
    display:none;
  }
  .inspiration-strip .button {
    margin:0;
    width:100%;
  }
  .inspiration-strip p {
    font-size:12px;
  }
  .chip {
    padding:0 11px;
    font-size:11px;
  }
  .site-footer>span {
    flex-basis:70%;
  }
  .studio-preview {
    grid-template-columns:100px 1fr;
    padding:17px;
    gap:16px;
  }
  .studio-preview img {
    width:100px;
  }
  .studio-preview h2 {
    font-size:21px;
  }
  .studio-preview p {
    font-size:12px;
  }
  .studio-preview .eyebrow {
    font-size:9px;
  }
  .field-row {
    grid-template-columns:1fr;
    gap:0;
  }
  .library-title {
    display:block;
  }
  .library-title .button {
    margin-top:18px;
  }
  .creation-grid {
    grid-template-columns:1fr;
  }
  .steps {
    gap:5px;
  }
  .steps span:last-child {
    display:none;
  }
  .gallery-heading span {
    font-size:10px;
  }
  .specs {
    gap:15px;
  }
  .result-actions .button {
    width:100%;
  }
  .empty-state {
    padding:50px 20px;
  }
  .draft-actions {
    flex-direction:column;
    align-items:stretch;
  }
  .draft-actions .text-button {
    justify-content:center;
  }
}
@media(prefers-reduced-motion:reduce) {
  *,*:before,*:after {
    animation:none!important;
    transition:none!important;
    scroll-behavior:auto!important;
  }
}
/* Keep portrait composition intact on small screens, including faces and poses. */
@media(max-width:780px) {
  .scene-card:first-child {
    grid-column:auto;
  }
  .scene-card:first-child .card-visual {
    aspect-ratio:832/1216;
  }
  .scene-card:first-child .card-visual img {
    object-position:center;
  }
  .hero-aside {
    margin-left:0;
    justify-content:flex-start;
  }
  .hero-aside p {
    flex:1;
  }
  .scene-card .image-badge {
    display:none;
  }
  .scene-card .image-open {
    display:none;
  }
}
@media(max-width:430px) {
  .hero h1 {
    font-size:38px;
  }
  .hero {
    padding-top:30px;
  }
  .hero-aside {
    margin-top:17px;
  }
  .hero-aside .text-link {
    margin-top:0;
  }
  .collection-bar {
    padding-top:16px;
  }
}
/* Public entrance — September 2026. Scoped to preserve the creation studio. */
.site-header nav a { padding:0 14px; border-radius:12px; }
.site-header nav { gap:8px; }
.site-header nav a svg { width:18px; height:18px; }
.site-header nav a[aria-current="page"] { background:#e9edfc; color:var(--blue); }
.site-header nav a[aria-current="page"]:after { display:none; }
.explore-hero { display:grid; grid-template-columns:1.15fr 1fr; gap:64px; align-items:center; padding:44px 0; }
.hero-intro .eyebrow { margin-bottom:20px; }
.hero-intro h1 { margin-bottom:20px; font-size:clamp(44px,4.8vw,68px); }
.hero-intro h1 span { color:var(--blue); }
.hero-description { max-width:430px; color:var(--muted); font-size:16px; margin-bottom:24px; }
.hero-actions { display:flex; gap:22px; align-items:center; flex-wrap:wrap; }
.hero-caption { font-size:11px; color:var(--muted); margin:18px 0 0; max-width:370px; }
.hero-feature { display:grid; grid-template-columns:1fr .9fr; background:#eeefea; border-radius:22px; overflow:hidden; min-height:300px; }
.hero-feature-visual { display:block; min-width:0; min-height:0; height:100%; }
.hero-feature-visual img,.hero-feature-visual .no-image { width:100%; height:100%; max-height:350px; object-fit:cover; }
.hero-feature-copy { position:relative; padding:24px 66px 24px 24px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:18px; }
.hero-feature-copy .eyebrow { font-size:9px; color:var(--muted); }
.hero-feature-copy strong { font-size:26px; letter-spacing:-.04em; line-height:1.15; font-weight:550; }
.hero-feature-cta { display:flex; align-items:center; gap:8px; min-height:44px; font-size:12px; line-height:1.5; }
.hero-feature:hover .hero-feature-cta { color:var(--blue); }
.hero-shuffle { position:absolute; top:14px; right:14px; width:44px; height:44px; border-radius:50%; background:#fff; border:1px solid var(--line); color:var(--ink); display:grid; place-items:center; z-index:2; }
.hero-shuffle:hover { color:var(--blue); border-color:var(--blue); }
.hero-shuffle svg { width:16px; height:16px; }
#collection { scroll-margin-top:24px; }
.collection-bar { gap:12px; }
.search-box { flex:1; min-width:180px; }
.gallery-heading h2 { font-size:20px; letter-spacing:-.025em; }
.gallery-heading { margin-bottom:22px; }
@media (max-width:1050px) {
  .explore-hero { gap:28px; }
  .hero-feature { grid-template-columns:1fr; position:relative; min-height:0; }
  .hero-feature-visual img,.hero-feature-visual .no-image { height:330px; max-height:none; object-position:center 28%; }
  .hero-feature-copy { padding:18px 66px 18px 18px; gap:10px; }
  .hero-feature-copy strong { font-size:22px; }
  .hero-feature-copy .eyebrow { display:none; }
  .collection-bar { flex-direction:column; align-items:stretch; }
  .search-box { max-width:none; }
}
@media (max-width:780px) {
  .site-header { height:72px; align-items:center; padding-top:0; }
  .site-header nav { position:fixed; top:auto; bottom:0; left:0; right:0; z-index:20; height:auto; min-height:70px; padding:8px 12px calc(8px + env(safe-area-inset-bottom)); background:#f7f7f5; border-top:1px solid var(--line); gap:6px; justify-content:space-around; }
  .site-header nav a { flex:1; min-height:52px; flex-direction:column; justify-content:center; gap:4px; font-size:11px; padding:6px 2px; }
  .site-header nav a svg { width:20px; height:20px; }
  #job-count { position:absolute; top:3px; right:20%; }
  html { scroll-padding-bottom:calc(96px + env(safe-area-inset-bottom)); }
  body { padding-bottom:calc(78px + env(safe-area-inset-bottom)); }
  .toast { bottom:calc(92px + env(safe-area-inset-bottom)); }
  .explore-hero { display:block; padding:30px 0 26px; }
  .hero-intro .eyebrow { font-size:10px; margin-bottom:14px; }
  .hero-intro h1 { font-size:44px; margin-bottom:16px; }
  .hero-description { font-size:14px; line-height:1.6; max-width:440px; margin-bottom:20px; }
  .hero-actions { gap:16px; }
  .hero-actions .button { font-size:13px; padding-inline:18px; }
  .hero-caption { display:none; }
  .hero-feature { grid-template-columns:76px 1fr; margin-top:24px; border-radius:14px; }
  .hero-feature-visual img,.hero-feature-visual .no-image { height:104px; object-position:center; }
  .hero-feature-copy { padding:14px 56px 14px 14px; gap:8px; }
  .hero-feature-copy strong { font-size:20px; }
  .hero-feature-cta { font-size:11px; }
  .hero-shuffle { top:8px; right:8px; }
  .card-copy h3 a { display:block; min-height:44px; }
  .collection-bar { padding-top:20px; gap:16px; }
  .filters { flex-wrap:nowrap; overflow-x:auto; padding:3px 0 8px; gap:4px; }
  .chip { flex-shrink:0; font-size:12px; padding:0 16px; }
  .search-box { min-height:48px; }
  .search-box input { min-height:44px; font-size:16px; }
  .gallery-heading h2 { font-size:18px; }
  .gallery-heading span { font-size:11px; }
}
@media (max-width:360px) {
  .hero-actions { gap:8px; }
  .hero-actions .button { padding-inline:12px; }
  .hero-actions .text-link { font-size:12px; }
  .gallery-heading { align-items:flex-start; gap:12px; }
}
/* Scene and studio: a continuous, responsive creation journey. */
.creation-journey { display:flex; align-items:center; gap:24px; list-style:none; padding:0; margin:0; color:var(--muted); font-size:12px; }
.creation-journey li { display:flex; align-items:center; gap:8px; line-height:1; white-space:nowrap; }
.creation-journey li>.creation-journey-marker { display:flex; align-items:center; justify-content:center; flex-shrink:0; width:28px; height:28px; border:1px solid var(--line); border-radius:50%; font-size:11px; font-weight:600; line-height:1; font-variant-numeric:lining-nums; text-box:trim-both text; }
.creation-journey-label { display:block; line-height:1; transform:translateY(.5px); }
.creation-journey [aria-current="step"] { color:var(--blue); font-weight:600; }
.creation-journey [aria-current="step"]>.creation-journey-marker { background:var(--blue); border-color:var(--blue); color:white; }
.creation-journey .complete>.creation-journey-marker { background:#e9edfc; border-color:#e9edfc; color:var(--blue); }
.detail-visual { position:relative; }
.detail-visual .favorite { box-shadow:0 2px 14px #0001; }
.mode-heading { margin-bottom:18px; }
.mode-heading h2 { font-size:20px; letter-spacing:-.025em; margin-bottom:5px; }
.mode-heading p { font-size:12px; color:var(--muted); margin:0; }
.mode-option { transition:border-color .2s,background .2s; }
.mode-option:hover { border-color:var(--blue); }
.photo-guidance { margin:20px 0 16px; padding:18px; background:#eeefea; border-radius:12px; }
.photo-guidance h3 { font-size:14px; letter-spacing:-.015em; line-height:1.4; margin-bottom:10px; }
.photo-guidance ul { margin:0; padding-left:17px; color:var(--muted); font-size:12px; line-height:1.7; }
.photo-guidance li+li { margin-top:5px; }
.summary-panel { min-width:0; }
.summary-line>strong { overflow-wrap:anywhere; min-width:0; }
.thumbnails { overflow-x:auto; padding:3px; }
.thumbnail { flex-shrink:0; }
@media (min-width:781px) {
  .studio-layout>.summary-panel { position:sticky; top:24px; }
}
@media (max-width:780px) {
  .page-top:has(.creation-journey) { flex-wrap:wrap; gap:10px; padding:16px 0 22px; }
  .creation-journey { width:100%; justify-content:space-between; gap:8px; padding:14px 0 0; border-top:1px solid var(--line); font-size:12px; }
  .creation-journey li { gap:6px; }
  .creation-journey li>.creation-journey-marker { width:25px; height:25px; }
  .detail-art .large-image>img { height:min(52svh,480px); width:100%; object-fit:contain; }
  .detail-art .large-image .no-image { min-height:260px; }
  .detail-layout { gap:24px; }
  .detail-panel h1 { font-size:36px; margin-bottom:14px; }
  .detail-panel .specs { padding:16px 0; margin-bottom:20px; }
  .detail-panel>.eyebrow { margin-bottom:10px; }
  .mode-option { padding:18px; min-height:44px; }
  .scene-aside { margin-top:22px; padding-top:18px; }
  .adapt-link { display:inline-block; }
  .prep-mode,.prep-mode-info { margin-bottom:22px; }
  .studio-title h1 { font-size:34px; }
  .studio-title .lead { font-size:14px; line-height:1.65; }
  .summary-panel { border-radius:18px; }
  .summary-panel select { font-size:16px; }
  .photo-guidance { padding:16px; }
}
@media (max-width:360px) {
  .creation-journey { flex-wrap:wrap; justify-content:flex-start; gap:8px 14px; font-size:11px; }
  .creation-journey li { gap:4px; }
  .creation-journey li>.creation-journey-marker { width:22px; height:22px; }
  .creation-journey-label { transform:none; }
  .detail-panel h1 { font-size:32px; }
  .adapt-link,.prep-help,.scene-aside p,.image-caption { overflow-wrap:anywhere; }
}
.idea-steps { display:grid; grid-template-columns:repeat(4,1fr); padding:0; margin:0 0 28px; list-style:none; border-bottom:1px solid var(--line); }
.idea-steps li { display:flex; align-items:center; gap:10px; padding:16px 8px; font-size:13px; color:var(--muted); border-bottom:3px solid transparent; }
.idea-steps li>span { display:grid; place-items:center; width:28px; height:28px; border-radius:50%; background:#e9eae5; flex-shrink:0; }
.idea-steps [aria-current] { border-color:var(--blue); color:var(--blue); }
.idea-steps [aria-current]>span { background:var(--blue); color:white; }
.guided-idea .idea-form h2 { font-size:27px; }
.coherence-card { border:1px solid var(--line); border-radius:14px; padding:20px; margin:16px 0; background:#f7f8f4; }
.coherence-card.blocking { border-color:#d6b891; background:#fcf5eb; }
.coherence-card h3 { font-size:18px; margin-bottom:10px; }
.coherence-card p { font-size:13px; color:var(--muted); }
.idea-form .idea-confirm { display:flex; gap:12px; align-items:flex-start; line-height:1.6; font-size:13px; cursor:pointer; margin:20px 0; }
.idea-form .idea-confirm input { width:20px; height:20px; margin:1px 0 0; flex-shrink:0; accent-color:var(--blue); }
.idea-summary { white-space:pre-wrap; overflow-wrap:anywhere; padding:22px; background:#f2f3ef; border-radius:14px; line-height:1.8; font-size:14px; margin:20px 0; }
.idea-summary h2 { font-size:18px; margin:0 0 10px; }
.summary-heading { display:flex; gap:15px; align-items:start; justify-content:space-between; }
.summary-heading h2 { overflow-wrap:anywhere; }
#idea-feedback { color:#944828; font-size:13px; }
.guided-idea .idea-form { min-width:0; }
@media(max-width:780px) {
 .idea-steps { gap:4px; }
 .idea-steps li { flex-direction:column; gap:8px; font-size:11px; padding:12px 0; }
 .guided-idea .idea-form input,.guided-idea .idea-form textarea,.guided-idea .idea-form select { font-size:16px; }
 .guided-idea .draft-actions { flex-wrap:wrap; }
 .idea-summary,.coherence-card { padding:16px; }
}
.intent-row { display:grid; grid-template-columns:repeat(3,1fr); gap:8px; margin:0 0 18px; }
.intent-card { border:1px solid var(--line); border-radius:12px; background:#fff; padding:12px 8px; min-height:44px; text-align:left; font-size:13px; font-weight:600; }
.intent-card span { display:block; font-weight:400; color:var(--muted); font-size:11px; margin-top:4px; line-height:1.4; }
.intent-card[aria-pressed="true"] { border-color:var(--blue); background:#eef1ff; color:var(--blue); }
.session-advanced { border-top:1px solid var(--line); margin:16px 0; padding:12px 0; }
.session-advanced summary { cursor:pointer; min-height:44px; display:flex; align-items:center; }
.field-label { display:block; font-size:12px; margin:12px 0 6px; color:var(--muted); }
.session-advanced select { width:100%; min-height:42px; border:1px solid var(--line); border-radius:10px; padding:8px 10px; background:#fff; }
.contact-sheet { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.sheet-tile { border:1px solid var(--line); border-radius:16px; overflow:hidden; background:#fff; min-width:0; }
.sheet-tile.comparing { outline:3px solid var(--blue); outline-offset:-3px; border-color:var(--blue); box-shadow:0 10px 28px #28305b16; }
.sheet-tile.is-favorite { border-color:#cfd6f2; }
.sheet-photo { display:block; width:100%; padding:0; background:#e6e4df; position:relative; }
.sheet-photo img { width:100%; aspect-ratio:832/1216; object-fit:cover; }
.example-portrait {
  display:block;
  width:100%;
  aspect-ratio:4/3;
  background-image:url("./portraits-fictifs.png");
  background-size:200% 200%;
  background-repeat:no-repeat;
  background-position:0 0;
}
.example-portrait[data-quadrant="1"] { background-position:100% 0; }
.example-portrait[data-quadrant="2"] { background-position:0 100%; }
.example-portrait[data-quadrant="3"] { background-position:100% 100%; }
.compare-grid .example-portrait { border-radius:12px; }
.pose-figure {
  background:#e6e8e5;
  aspect-ratio:4/3;
  display:flex;
  justify-content:center;
  align-items:center;
}
.pose-figure svg { height:90%; width:90%; max-width:230px; }
.compare-grid .pose-figure { border-radius:12px; }
.photo-count { position:absolute; top:10px; left:10px; background:#ffffffed; border-radius:6px; padding:4px 7px; font-size:11px; }
.compare-marker { position:absolute; top:10px; right:10px; padding:6px 9px; border-radius:999px; background:var(--blue); color:#fff; font-size:11px; font-weight:650; box-shadow:0 5px 16px #10194b30; }
.favorite-marker { position:absolute; left:10px; bottom:10px; display:inline-flex; align-items:center; gap:5px; padding:6px 9px; border-radius:999px; background:#fff; color:var(--blue); font-size:11px; font-weight:650; box-shadow:0 5px 16px #10194b24; }
.favorite-marker svg { width:14px; height:14px; fill:currentColor; }
.sheet-status { min-height:180px; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; padding:24px; text-align:center; background:#ecece7; }
.sheet-status.failed,.sheet-status.outcome_unknown { background:#f4ebe4; }
.sheet-info,.sheet-actions { padding:12px 14px; }
.sheet-actions { border-top:1px solid var(--line); display:flex; flex-wrap:wrap; gap:10px; align-items:center; }
.sheet-download { min-height:44px; display:inline-flex; align-items:center; gap:6px; }
.idea-examples { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
.idea-example { min-height:44px; padding:8px 14px; border:1px solid var(--line); border-radius:999px; background:#fff; font-size:14px; }
.sheet-top { display:flex; justify-content:space-between; gap:12px; align-items:center; flex-wrap:wrap; }
.sheet-top h3 { font-size:16px; margin:0; }
.image-title-field { flex:1; min-width:0; }
.image-title-field input {
  width:100%;
  min-width:0;
  min-height:32px;
  border:0;
  border-bottom:1px solid transparent;
  border-radius:0;
  padding:4px 2px;
  margin:0;
  background:transparent;
  color:var(--ink);
  font-family:inherit;
  font-size:16px;
  font-weight:600;
  line-height:1.35;
  cursor:text;
  transition:border-color .15s ease, background-color .15s ease;
}
.image-title-field input:hover { border-bottom-color:#a9aca5; }
.image-title-field input:focus,
.image-title-field input:focus-visible {
  border-bottom-color:var(--blue);
  outline:0;
  box-shadow:none;
  background:transparent;
}
.compare-image-title input { min-height:30px; padding-top:2px; padding-bottom:2px; font-size:17px; }
.sheet-top .favorite-toggle { flex:0 0 auto; }
.keep { display:flex; gap:8px; align-items:center; font-size:13px; min-height:44px; }
.keep input { width:18px; height:18px; accent-color:var(--blue); }
.item-favorite {
  min-height:42px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:10px;
  background:#fff;
  color:var(--muted);
  font-size:12px;
  font-weight:550;
  line-height:1.2;
}
.item-favorite:hover { border-color:#b7c2ef; color:var(--blue); }
.item-favorite[aria-pressed="true"] { border-color:#aebcf4; background:#eef1ff; color:var(--blue); }
.item-favorite[aria-pressed="true"] svg { fill:currentColor; }
.item-favorite.compact { min-height:38px; padding:7px 10px; }
.item-favorite svg { width:17px; height:17px; }
.compare-toggle { width:max-content; min-height:40px; margin-top:8px; padding:0 11px; border:1px solid var(--line); border-radius:9px; background:#f7f7f5; }
.compare-toggle:has(input:checked) { border-color:var(--blue); background:#eef1ff; color:var(--blue); font-weight:600; }
.sheet-toolbar,.selection-bar { display:flex; justify-content:space-between; gap:12px; flex-wrap:wrap; align-items:center; margin:18px 0; }
.selection-bar { border:1px solid var(--line); border-radius:14px; padding:14px 16px; background:#fff; box-shadow:0 10px 28px #272c2610; }
.selection-bar > span { display:grid; gap:3px; }
.selection-bar strong { font-size:14px; }
.selection-bar small { color:var(--muted); font-size:11px; }
.compare-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.compare-grid.compare-count-3 { grid-template-columns:repeat(3,minmax(0,1fr)); }
.compare-grid.compare-count-4 { grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; }
.compare-grid > div > img { width:100%; border-radius:12px; }
.keep-vary { margin:12px 0; display:grid; gap:8px; }
.session-cta { min-height:48px; }
.atelier { max-width:1440px; margin:0 auto; }
.atelier-intro { display:flex; justify-content:space-between; gap:20px; align-items:flex-end; margin:0 0 24px; }
.atelier-intro h1 { font-size:clamp(30px,3.1vw,46px); margin:10px 0; }
.atelier-intro .lead { color:var(--muted); max-width:36rem; }
.atelier-steps { display:flex; gap:15px; white-space:nowrap; font-size:12px; color:var(--muted); padding-bottom:8px; }
.atelier-steps b { color:var(--blue); }
.atelier-tabs { display:none; }
.atelier-workspace { display:grid; grid-template-columns:326px minmax(0,1fr); gap:34px; align-items:start; }
.atelier-settings { background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; min-width:0; }
.atelier-settings section { margin-bottom:24px; }
.atelier-section-head { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; }
.atelier-section-head h2 { font-size:17px; margin:0; }
.atelier-section-head strong { font-size:13px; color:var(--blue); }
.atelier-refs { display:flex; gap:8px; flex-wrap:wrap; margin:12px 0; }
.atelier-ref { width:calc((100% - 16px) / 3); min-width:72px; }
.atelier-ref:only-child { width:min(100%, 160px); }
.atelier-ref-picture { position:relative; aspect-ratio:3/4; background:#efeeea; border-radius:9px; overflow:hidden; }
.atelier-ref-picture img { display:block; width:100%; height:100%; object-fit:contain; }
.atelier-ref-select { position:absolute; inset:0; width:100%; height:100%; padding:0; border:2px solid transparent; border-radius:9px; background:transparent; cursor:pointer; }
.atelier-ref-select[aria-pressed="true"] { border-color:var(--blue); }
.atelier-ref-select:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }
.atelier-ref-radio { position:absolute; left:7px; bottom:7px; display:grid; place-items:center; box-sizing:border-box; width:21px; height:21px; border:2px solid var(--blue); border-radius:50%; background:#fff; box-shadow:0 1px 5px #2029233d; }
.atelier-ref-select[aria-pressed="true"] .atelier-ref-radio::after { content:""; position:static; width:9px; height:9px; margin:0; border-radius:50%; background:var(--blue); }
.atelier-ref-remove { position:absolute; z-index:1; top:5px; right:5px; display:grid; place-items:center; width:32px; height:32px; padding:0; border:0; border-radius:50%; background:#fffffff2; box-shadow:0 1px 5px #2029233d; color:#1e2b28; line-height:1; cursor:pointer; }
.atelier-ref-remove svg { display:block; width:16px; height:16px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; }
.atelier-ref-remove:focus-visible { outline:3px solid var(--blue); outline-offset:2px; }
.atelier-ref small { display:block; font-size:10px; margin-top:4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.atelier-ref-badge { display:block; margin-top:4px; font-size:10px; color:var(--blue); }
.atelier-ref-actions { display:flex; gap:12px; align-items:center; margin:10px 0; flex-wrap:wrap; }
.reference-crop-summary { display:grid; gap:4px; margin:8px 0 12px; font-size:13px; }
.reference-crop-summary > span { color:var(--muted); }
.reference-crop-summary .text-button { min-height:44px; }
.theme-promo { display:flex; align-items:center; justify-content:space-between; gap:28px; padding:32px; margin:40px 0; border:1px solid var(--line); border-radius:24px; background:var(--blue-soft,#eef1fd); }
.theme-promo h2 { margin:8px 0; }
.theme-promo p { margin:8px 0; }
.themes-intro,.theme-detail-head { max-width:800px; margin:32px 0; }
.themes-intro h1,.theme-detail-head h1 { font-size:clamp(34px,5vw,58px); line-height:1.08; }
.theme-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:36px 0; }
.theme-card { min-width:0; overflow:hidden; background:#fff; border:1px solid var(--line); border-radius:20px; }
.theme-card-images { display:grid; grid-auto-flow:column; grid-auto-columns:minmax(0,1fr); gap:3px; aspect-ratio:1.45; overflow:hidden; background:#eeede8; }
.theme-card-images img { width:100%; height:100%; object-fit:cover; min-width:0; }
.theme-card-images .no-image { padding:10px; font-size:12px; }
.theme-card-copy { padding:22px; }
.theme-card-copy h2 { font-size:25px; margin:8px 0 12px; }
.theme-card-copy h2 a { color:inherit; text-decoration:none; }
.theme-card-copy p { line-height:1.55; }
.theme-card-meta { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:12px; margin:20px 0; font-size:14px; }
.theme-filters { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:18px; margin:32px 0 16px; padding:20px; border:1px solid var(--line); border-radius:16px; background:#fff; }
.theme-filters .atelier-field { margin:0; min-width:0; }
.theme-filters select,.theme-filters input { width:100%; min-width:0; }
.theme-card-status,.theme-scenes .theme-scene-reason { color:var(--muted); font-size:13px; line-height:1.5; }
.theme-no-results { grid-column:1/-1; padding:36px 0; color:var(--muted); }
.theme-scene-visual.theme-scene-landscape { aspect-ratio:3/2; }
.theme-detail-layout { display:grid; grid-template-columns:minmax(0,1.5fr) minmax(300px,1fr); gap:36px; align-items:start; }
.theme-detail-layout > section,.theme-detail-layout > aside { min-width:0; }
.theme-scenes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); list-style:none; padding:0; gap:24px; }
.theme-scenes li { min-width:0; }
.theme-scene-visual { aspect-ratio:2/3; position:relative; overflow:hidden; background:#eeede8; border-radius:16px; }
.theme-scene-visual img { width:100%; height:100%; object-fit:cover; }
.theme-scenes h3 { font-size:19px; margin:14px 0 6px; }
.theme-scenes p { margin:0; color:var(--muted); font-size:14px; line-height:1.5; }
.theme-preparation h2 { margin-top:0; font-size:25px; }
.theme-preparation .reference-ref-list { margin:18px 0; }
.theme-preparation .reference-ref img { width:100%; height:110px; object-fit:cover; border-radius:10px; }
.theme-preparation .identity-consent { margin-top:20px; }
.theme-recap { margin:24px 0; padding:18px 0; border-top:1px solid var(--line); border-bottom:1px solid var(--line); }
.theme-recap > div { display:grid; grid-template-columns:105px minmax(0,1fr); gap:12px; margin:12px 0; font-size:14px; }
.theme-recap dt { color:var(--muted); }
.theme-recap dd { margin:0; font-weight:600; }
.theme-session .atelier-sheet { min-width:0; }
.theme-session-label { margin-bottom:18px; }
.theme-session-footer { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-top:32px; }
.theme-session-footer p { max-width:580px; color:var(--muted); line-height:1.55; }
@media(max-width:1000px) { .theme-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .theme-detail-layout { gap:24px; grid-template-columns:minmax(0,1fr) minmax(280px,1fr); } }
@media(max-width:720px) { .theme-grid,.theme-detail-layout,.theme-filters { grid-template-columns:minmax(0,1fr); } .theme-promo,.theme-session-footer { align-items:flex-start; flex-direction:column; } .theme-promo { padding:24px; } .theme-scenes { gap:16px; } .theme-detail-layout { gap:28px; } }
.atelier-ref-actions .text-link { position:relative; display:inline-flex; align-items:center; min-height:44px; white-space:nowrap; cursor:pointer; }
.atelier-ref-actions input[type="file"] { position:absolute; inset:0; width:100%; height:100%; opacity:0; cursor:pointer; }
.atelier-ref-actions .text-link:focus-within { outline:3px solid var(--blue); outline-offset:2px; border-radius:4px; }
.atelier-save-photos { width:100%; margin:10px 0 0; }
.atelier-settings .face-editor { padding:0; border:0; }
.atelier-settings .crop-frame img { max-height:min(48vh, 420px); }
.atelier-choice { display:grid; grid-template-columns:repeat(3,1fr); gap:5px; }
.atelier-choice button { border:1px solid var(--line); border-radius:9px; background:#fff; padding:12px 4px; font-size:11px; min-height:44px; }
.atelier-choice button[aria-pressed="true"],
.atelier-choice button[aria-checked="true"] { border-color:var(--blue); background:#eef1ff; color:var(--blue); }
.atelier-choice label { position:relative; display:block; }
.atelier-choice label input { position:absolute; opacity:0; inset:0; width:100%; height:100%; margin:0; cursor:pointer; }
.atelier-choice label span { display:flex; align-items:center; justify-content:center; border:1px solid var(--line); border-radius:9px; background:#fff; padding:12px 4px; font-size:11px; min-height:44px; }
.atelier-choice label input:checked + span { border-color:var(--blue); background:#eef1ff; color:var(--blue); }
.atelier-choice label input:focus-visible + span { outline:3px solid var(--blue); outline-offset:2px; }
.atelier-recipes { display:grid; grid-template-columns:1fr 1fr; gap:7px; }
.atelier-recipe { position:relative; border:1px solid var(--line); border-radius:10px; text-align:left; padding:8px; background:#fff; min-height:66px; font-size:11px; }
.atelier-recipe strong { display:block; font-weight:600; }
.atelier-recipe-hint { display:block; margin-top:4px; color:var(--muted); font-size:10px; line-height:1.4; font-weight:400; padding-right:16px; }
.atelier-recipe .example-portrait { aspect-ratio:4/3; height:auto; overflow:hidden; border-radius:6px; margin-bottom:8px; }
.example-scene { display:block; position:relative; aspect-ratio:4/3; overflow:hidden; border-radius:6px; margin-bottom:8px; background:#c8d6db; }
.example-scene > :is(img,svg) { display:block; width:100%; height:100%; object-fit:cover; }
.example-scene::after { content:""; position:absolute; inset:0; pointer-events:none; }
.example-scene[data-ambiance="natural-soft"] > :is(img,svg) { filter:brightness(1.15) saturate(.72) contrast(.85); }
.example-scene[data-ambiance="chiaroscuro"] > :is(img,svg) { filter:brightness(.65) contrast(1.4) saturate(.6); }
.example-scene[data-ambiance="chiaroscuro"]::after { background:linear-gradient(110deg,transparent 25%,#101316a8); }
.example-scene[data-ambiance="golden-hour"] > :is(img,svg) { filter:sepia(.45) saturate(1.2) brightness(1.1); }
.example-scene[data-ambiance="golden-hour"]::after { background:linear-gradient(120deg,#ffc05c66,transparent 80%); mix-blend-mode:screen; }
.example-scene[data-ambiance="silver-bw"] > :is(img,svg) { filter:grayscale(1) contrast(1.15); }
.example-scene[data-ambiance="editorial-flash"] > :is(img,svg) { filter:brightness(1.25) contrast(1.3) saturate(.8); }
.example-scene[data-ambiance="cinema-night"] > :is(img,svg) { filter:brightness(.6) saturate(1.3) contrast(1.15); }
.example-scene[data-ambiance="cinema-night"]::after { background:linear-gradient(120deg,#3659d555,transparent 60%,#ff905533); }
.atelier-recipe .pose-figure { height:72px; aspect-ratio:auto; border-radius:6px; margin-bottom:8px; }
.atelier-recipe .pose-figure svg { max-width:92px; }
.atelier-count { display:block; font-size:22px; font-weight:650; line-height:1; margin:4px 0 8px; color:var(--blue); }
.atelier-sample { display:block; width:26px; height:5px; margin-bottom:7px; border-radius:3px; }
.atelier-recipe[aria-checked="true"] { border-color:var(--blue); background:#f1f3ff; }
.atelier-recipe[aria-checked="true"]:after { content:"✓"; position:absolute; top:8px; right:8px; z-index:1; color:var(--blue); background:#fff; width:18px; height:18px; border-radius:50%; display:flex; align-items:center; justify-content:center; }
.atelier-details { border-top:1px solid var(--line); padding:14px 0; }
.atelier-details summary { font-size:13px; cursor:pointer; min-height:44px; display:flex; align-items:center; }
.atelier-details > div { padding-top:10px; }
.atelier-field { display:block; margin:11px 0; font-size:12px; }
.atelier-field span { display:block; margin-bottom:6px; }
.atelier-field select { width:100%; padding:10px; border:1px solid var(--line); border-radius:8px; background:#fff; min-height:42px; }
.atelier-explain { padding:10px; background:#f7f7f5; border-radius:8px; font-size:11px; line-height:1.6; }
.atelier-summary { border-top:1px solid var(--line); padding-top:17px; }
.atelier-summary dl { margin:10px 0 18px; display:grid; grid-template-columns:80px 1fr; gap:8px; font-size:12px; }
.atelier-summary dt { color:var(--muted); }
.atelier-summary dd { margin:0; text-align:right; line-height:1.45; }
.atelier-summary .error-text { font-size:12px; color:#943b2d; line-height:1.5; margin:10px 0; }
.atelier-sheet { min-width:0; }
.atelier-sheet .sheet-head { display:flex; justify-content:space-between; align-items:flex-start; gap:12px; padding:5px 0 17px; }
.atelier-sheet .sheet-head h2 { font-size:25px; margin:7px 0; }
.atelier-sheet .sheet-note { padding:13px 16px; background:#eeeee9; border-radius:10px; font-size:12px; line-height:1.6; margin-bottom:18px; }
.atelier-sheet .favorite-help { display:grid; gap:3px; background:#f1f3fb; }
.favorite-help strong { color:var(--ink); }
.favorite-help a { color:var(--blue); text-decoration:underline; text-underline-offset:2px; }
@media (min-width:1400px) {
  .atelier-workspace { grid-template-columns:340px minmax(0,1fr); gap:42px; }
}
@media (max-width:1099px) {
  .atelier-workspace { grid-template-columns:290px minmax(0,1fr); gap:22px; }
  .atelier-steps { display:none; }
}
@media (max-width:779px) {
  .atelier-workspace { display:block; padding-bottom:24px; }
  .atelier-tabs { display:flex; margin:0 0 18px; border:1px solid var(--line); border-radius:10px; overflow:hidden; }
  .atelier-tabs button { flex:1; background:#fff; padding:13px; font-size:13px; min-height:44px; border:0; }
  .atelier-tabs button[aria-pressed="true"] { background:var(--blue); color:#fff; }
  .atelier[data-mobile="prepare"] .atelier-sheet { display:none; }
  .atelier[data-mobile="sheet"] .atelier-settings { display:none; }
  .atelier-settings .session-cta { position:sticky; bottom:calc(82px + env(safe-area-inset-bottom)); z-index:4; }
}
.sheet-progress { color:var(--muted); font-size:14px; }
@media (max-width:1099px) {
  .contact-sheet { gap:12px; }
  .compare-grid.compare-count-3,.compare-grid.compare-count-4 { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:779px) {
  .intent-row,.contact-sheet,.compare-grid { grid-template-columns:1fr; }
  .compare-grid.compare-count-3,.compare-grid.compare-count-4 { grid-template-columns:1fr; }
  .session-cta { position:sticky; bottom:calc(82px + env(safe-area-inset-bottom)); z-index:4; }
  .sheet-photo img { aspect-ratio:3/4; }
  .sheet-top .item-favorite { width:100%; }
  .selection-bar { position:sticky; bottom:calc(76px + env(safe-area-inset-bottom)); z-index:5; }
  .selection-bar > div,.selection-bar .button { width:100%; }
  dialog.compare-dialog { width:100%; max-height:100vh; height:100vh; border:0; border-radius:0; padding:48px 16px 24px; }
  .compare-card-title { display:grid; }
  .choice-button { width:100%; }
}
.studio-layout.atelier {
  display:block;
  max-width:1440px;
  margin:0 auto;
  min-width:0;
  grid-template-columns:none;
}
.studio-hero { display:grid; grid-template-columns:minmax(0,1fr) 320px; align-items:center; gap:26px; margin:0 0 24px; }
.studio-hero h1 { font-size:clamp(30px,3.2vw,46px); margin:10px 0; }
.studio-hero .lead { color:var(--muted); max-width:36rem; }
.studio-launch { text-align:center; min-width:0; }
.studio-launch .session-cta { width:100%; }
.studio-launch small, .studio-mobile-cta small { display:block; margin-top:8px; font-size:11px; color:var(--muted); }
.studio-workspace { display:grid; grid-template-columns:minmax(0,1fr) 320px; gap:26px; align-items:start; }
.studio-stack { display:grid; gap:15px; min-width:0; max-width:100%; }
.studio-stack > *,
.studio-layout.atelier form { min-width:0; max-width:100%; }
.studio-card { background:#fff; border:1px solid var(--line); border-radius:18px; padding:22px; min-width:0; max-width:100%; }
.studio-scene { display:flex; gap:14px; align-items:center; min-width:0; }
.studio-scene > div { min-width:0; overflow-wrap:anywhere; }
.studio-scene-mark { width:56px; height:68px; flex-shrink:0; border-radius:9px; overflow:hidden; background:#dfe3dc; }
.studio-scene-mark img { width:100%; height:100%; object-fit:cover; }
.studio-scene h2 { font-size:18px; margin:4px 0 6px; }
.studio-scene p { font-size:12px; color:var(--muted); margin:0; line-height:1.5; }
.studio-scene .text-link { margin-left:auto; font-size:12px; }
.studio-micro { font-size:10px; letter-spacing:1px; color:var(--muted); text-transform:uppercase; }
.studio-ready { display:flex; align-items:flex-start; gap:8px; border-top:1px solid var(--line); margin-top:16px; padding-top:14px; font-size:12px; color:#5e7262; }
.studio-ready span { background:#eaf3eb; border-radius:50%; width:17px; height:17px; display:grid; place-items:center; font-size:10px; flex-shrink:0; }
.studio-ready.is-blocked { color:#9b4e35; }
.studio-ready.is-blocked span { background:#f4ebe4; }
.studio-step { font-size:10px; border-radius:6px; background:#f0f1eb; color:var(--muted); padding:6px 8px; margin-right:8px; letter-spacing:1px; }
.studio-optional { font-size:11px; color:var(--muted); }
.studio-mode { display:grid; grid-template-columns:1fr 1fr; gap:9px; margin:0; }
.studio-choice { min-height:64px; }
.studio-photo { margin-top:14px; }
.studio-panel { border:0; border-top:1px solid var(--line); border-radius:0; margin-top:16px; padding:16px 0 0; background:transparent; }
.studio-panel summary { display:flex; gap:12px; align-items:center; min-height:44px; cursor:pointer; list-style:none; }
.studio-panel summary::-webkit-details-marker { display:none; }
.studio-panel summary:after { content:"+"; margin-left:auto; font-size:22px; color:#84877e; }
.studio-panel[open] summary:after { content:"−"; }
.studio-panel summary small { display:block; font-size:11px; color:var(--muted); margin-top:4px; line-height:1.5; }
.studio-visuals { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
.studio-visual[disabled] { opacity:.45; }
.studio-inherit-mark { width:100%; height:48px; display:grid; place-items:center; background:#eeefe9; border-radius:6px; }
.studio-inherit-mark:before { content:"↳"; color:#91988b; font-size:22px; }
.studio-single-note { padding:12px 14px; background:#f6f7f3; border-radius:9px; font-size:12px; line-height:1.6; margin-top:14px; color:var(--muted); }
.explore-tabs { margin:16px 0 12px; }
.selection-top { display:flex; align-items:center; justify-content:space-between; font-size:11px; color:var(--muted); margin:12px 0 8px; }
.selection-top b { color:var(--blue); font-weight:550; }
.studio-math { background:#f0f3ff; color:#3851a3; padding:12px 14px; border-radius:10px; font-size:12px; line-height:1.6; margin-top:16px; min-width:0; }
.studio-fields { display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-top:12px; }
.studio-aside { position:sticky; top:24px; }
.studio-aside .studio-preview {
  display:block;
  grid-template-columns:none;
  gap:0;
  padding:0;
  border-radius:17px;
  overflow:hidden;
  position:relative;
  background:transparent;
}
.studio-aside .studio-preview img, .studio-aside .studio-preview .no-image {
  width:100%;
  height:auto;
  max-height:none;
  aspect-ratio:4/3;
  object-fit:cover;
  border-radius:0;
}
.studio-preview-caption { background:#ecece7; padding:14px 17px; color:var(--muted); font-size:11px; line-height:1.5; }
.studio-recap { padding:18px 0 0; border-top:0; min-width:0; }
.studio-recap h2 { font-size:14px; margin-bottom:14px; }
.studio-recap dl { grid-template-columns:minmax(0,98px) minmax(0,1fr); column-gap:10px; }
.atelier-summary dd,
.studio-recap dd { min-width:0; overflow-wrap:anywhere; }
.studio-recap dd { text-align:left; }
.studio-math { overflow-wrap:anywhere; }
.studio-total { display:flex; justify-content:space-between; gap:8px; margin-top:16px; padding-top:14px; border-top:1px solid var(--line); font-size:13px; font-weight:600; }
.studio-total span { min-width:0; overflow-wrap:anywhere; }
.studio-recap .session-cta { margin-top:24px; }
.studio-advanced-recap { font-size:12px; color:var(--muted); margin:10px 0 0; }
.studio-reset { margin-top:12px; }
.studio-recap .studio-reset + p { font-size:12px; line-height:1.5; margin-bottom:8px; }
.studio-mobile-cta { display:none; }
.atelier-recipe.studio-visual { text-align:left; }
@media (min-width:1400px) {
  .studio-hero { grid-template-columns:minmax(0,1fr) 340px; gap:32px; }
  .studio-workspace { grid-template-columns:minmax(0,1fr) 340px; gap:32px; }
}
@media (max-width:1099px) {
  .studio-hero { grid-template-columns:minmax(0,1fr) 280px; gap:18px; }
  .studio-workspace { grid-template-columns:minmax(0,1fr) 280px; gap:18px; }
  .studio-visuals { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .studio-fields { grid-template-columns:1fr; }
}
@media (max-width:779px) {
  .studio-hero { display:block; }
  .studio-hero .studio-launch { display:none; }
  .studio-workspace { display:flex; flex-direction:column; align-items:stretch; gap:0; min-width:0; }
  .studio-aside { position:static; display:grid; grid-template-columns:100px minmax(0,1fr); gap:16px; align-items:start; margin-bottom:20px; order:-1; min-width:0; max-width:100%; }
  .studio-aside .studio-preview { align-self:start; margin:0; }
  .studio-aside .studio-preview img, .studio-aside .studio-preview .no-image,
  .studio-preview img, .studio-preview .no-image { aspect-ratio:3/4; }
  .studio-preview-caption { display:none; }
  .studio-recap { padding:0; }
  .studio-recap h2 { margin-bottom:10px; }
  .studio-recap dl { margin:8px 0 10px; gap:6px 8px; }
  .studio-recap .studio-math { margin-top:10px; padding:10px 12px; }
  .studio-recap .studio-advanced-recap { margin-top:8px; }
  .studio-recap .studio-total { margin-top:10px; padding-top:10px; }
  .studio-recap .session-cta,
  .studio-recap .studio-reset,
  .studio-recap .studio-reset + p { display:none; }
  .studio-visuals { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .studio-mobile-cta { display:block; position:fixed; left:0; right:0; bottom:calc(70px + env(safe-area-inset-bottom)); z-index:15; padding:10px 16px calc(10px + env(safe-area-inset-bottom)); background:#f7f7f5; border-top:1px solid var(--line); }
  .studio-mobile-cta small { margin-top:4px; }
  .studio-mobile-cta .session-cta { width:100%; position:static; }
  .studio-layout.atelier { padding-bottom:110px; }
  .studio-layout.atelier.studio-is-busy { padding-bottom:24px; }
  .studio-scene { display:grid; grid-template-columns:56px minmax(0,1fr); align-items:start; gap:8px 12px; }
  .studio-scene .text-link { grid-column:2; justify-self:start; margin-left:0; }
}
@media (max-width:360px) {
  .studio-card { padding:16px; }
  .studio-mode { grid-template-columns:1fr; }
  .studio-scene-mark { width:48px; height:58px; }
  .studio-scene { grid-template-columns:48px minmax(0,1fr); }
  .studio-aside { grid-template-columns:72px minmax(0,1fr); gap:10px; }
  .studio-recap dl { grid-template-columns:1fr; gap:2px 0; }
  .studio-recap dt { font-size:10px; letter-spacing:.04em; text-transform:uppercase; }
  .studio-recap dd { text-align:left; margin-bottom:8px; }
}

.generation-details { width:100%; max-width:32rem; text-align:left; font-size:12px; color:var(--muted); overflow-wrap:anywhere; }
.generation-details summary { cursor:pointer; padding:6px 0; }
.generation-details p { margin:6px 0; }
.sheet-status > p { max-width:32rem; font-size:13px; line-height:1.5; }
.theme-gender-choice { display:flex; align-items:center; justify-content:space-between; gap:20px; padding:18px 20px; margin:24px 0; border:1px solid #e1e6f0; border-radius:16px; background:#f0f3fa; }
.theme-gender-copy { min-width:0; }
.theme-gender-copy h2 { margin:0 0 5px; color:var(--ink); font-size:18px; font-weight:600; line-height:1.3; letter-spacing:-.02em; }
.theme-gender-copy p { margin:0; color:#596477; font-size:13px; line-height:1.5; }
.theme-gender-copy .theme-gender-pending { margin-top:4px; }
.theme-gender-switch { flex-shrink:0; display:flex; gap:4px; padding:5px; border:1px solid #dce2ed; border-radius:13px; background:#fff; }
.theme-gender-option { display:flex; align-items:center; justify-content:center; gap:9px; min-height:46px; min-width:112px; padding:10px 15px; border:1px solid transparent; border-radius:9px; background:transparent; color:#4e5c72; font-size:14px; font-weight:600; line-height:1.3; transition:background .15s,color .15s; }
.theme-gender-option svg { flex-shrink:0; width:22px; height:22px; }
.theme-gender-option:hover { background:#edf1fa; color:#263e65; }
.theme-gender-option[aria-pressed="true"],.theme-gender-option[aria-pressed="true"]:hover { color:#fff; background:#263e65; border-color:#263e65; box-shadow:0 2px 5px #263e651f; }
.theme-gender-option:focus-visible { outline:2px solid var(--blue); outline-offset:2px; }
@media(max-width:600px) {
  .theme-gender-choice { flex-direction:column; align-items:stretch; gap:14px; padding:16px; margin:20px 0; }
  .theme-gender-switch { width:100%; }
  .theme-gender-option { flex:1; min-width:0; }
}
@media(prefers-reduced-motion:reduce) { .theme-gender-option { transition:none; } }
