/* Atelier, 2026-10-28. Presentation only; application state and canvas geometry stay owned by the app. */
body.design-refresh:where(:not(:has(.admin-layout))),
body.design-refresh-studio {
  --bg: #101114;
  --surface: #191a1f;
  --surface-soft: #1f2026;
  --surface-raised: #25262e;
  --panel: #191a1f;
  --panel-strong: #202127;
  --text: #f3f2f5;
  --muted: #9a9aa7;
  --muted-strong: #c7c6d0;
  --border: #ffffff10;
  --border-strong: #ffffff24;
  --line: #ffffff10;
  --line-strong: #ffffff24;
  --accent: #b4a0ff;
  --accent-strong: #9a7df2;
  --accent-soft: #9a7df21a;
  --shadow: 0 12px 40px #00000018;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  text-rendering: optimizeLegibility;
}
body:is(.design-refresh,.design-refresh-studio) :is(h1,h2,h3) { text-wrap: balance; }
body:is(.design-refresh,.design-refresh-studio) :is(input,select,textarea) { accent-color: #a38bed; }
body:is(.design-refresh,.design-refresh-studio) :is(input,textarea)::placeholder { color: #858591; }
body:is(.design-refresh,.design-refresh-studio) :is(a,button,input,select,textarea,[tabindex]):focus-visible { outline-color: #c1b1ff; outline-offset: 4px; }
body:is(.design-refresh,.design-refresh-studio) ::selection { background: #625287; color: #fff; }

/* A quiet, flat navigation frame gives the work more space. */
body.design-refresh:where(:not(:has(.admin-layout))) .app-root { background: var(--bg); }
body.design-refresh:where(:not(:has(.admin-layout))) .app-header { background: #101114f5; border-bottom: 1px solid #ffffff0d; backdrop-filter: blur(18px); }
body.design-refresh:where(:not(:has(.admin-layout))) .app-header__inner { width: min(1480px,calc(100% - 88px)); gap: 42px; }
body.design-refresh:where(:not(:has(.admin-layout))) .main-nav { height: 100%; gap: 30px; border: 0; border-radius: 0; background: none; padding: 0; }
body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a,
body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a:last-child { position: relative; padding: 0; min-height: 54px; border: 0; border-radius: 0; color: #9999a5; font-size: 13px; font-weight: 500; }
body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a.active { background: none; color: #f6f5f9; border: 0; }
body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a.active::after { content: ""; position: absolute; inset: auto 0 -13px; height: 2px; border-radius: 2px; background: #b4a0ff; }
body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a:hover { background: transparent; color: #fff; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-nav { gap: 24px; font-size: 12px; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-nav .nav-register,
body.design-refresh:where(:not(:has(.admin-layout))) .member-nav .nav-register.active { padding: 9px 18px; border-radius: 8px; background: #f0eef5; color: #202027; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-avatar { background: #2c2937; color: #d5c9f6; }
body.design-refresh:where(:not(:has(.admin-layout))) .page-width { width: min(1320px,calc(100% - 96px)); }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.primary-button,.member-page .primary-button,.member-dialog .primary-button,.commerce-primary,.detail-design .primary-button),
body.design-refresh-studio :is(.generate-button,.primary-demo-action) { background: #a88bf4; color: #1b1429; border-color: #a88bf4; border-radius: 9px; box-shadow: none; font-weight: 650; }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.primary-button:hover:not(:disabled),.member-page .primary-button:hover:not(:disabled),.commerce-primary:hover,.detail-design .primary-button:hover:not(:disabled)),
body.design-refresh-studio :is(.generate-button:hover:not(:disabled),.primary-demo-action:hover:not(:disabled)) { background: #bda4ff; color: #1b1429; border-color: #bda4ff; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.secondary-button,.member-page button:not(.primary-button),.member-dialog button:not(.primary-button)) { border-color: #ffffff1c; background: #23242c; color: #d7d5df; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.field input,.field select,.member-card input:not([type=checkbox]),.member-card select,.member-card textarea,.member-page>label select) { background: #141519; border-color: #ffffff20; color: #eeedf2; }

/* Commerce home is a curated directory: a large cover story, then image-led entries. */
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-home { max-width: 1464px; padding: 48px 48px 90px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero { grid-template-columns: minmax(0,1fr) minmax(0,1.08fr); gap: 50px; min-height: 410px; padding: 12px 0 60px; align-items: center; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-eyebrow { color: #92909f; font-size: 10px; font-weight: 550; letter-spacing: .2em; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero h1 { margin: 23px 0 20px; font-size: clamp(36px,4.2vw,62px); line-height: 1.28; font-weight: 600; letter-spacing: -.055em; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero h1 em { color: #b8a1f7; font-weight: 450; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero p { max-width: 390px; font-size: 14px; line-height: 1.9; color: #a2a0ac; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-section-title { margin: 16px 0 28px; align-items: baseline; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-section-title h2 { margin: 0; color: #f0eef5; font-size: 24px; font-weight: 560; letter-spacing: -.035em; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-section-title>span { color: #8e8d9c; font-size: 12px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-cards { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 38px 26px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module:hover { background: none; border: 0; box-shadow: none; transform: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module>div:first-child { order: 2; position: absolute; top: 17px; left: 17px; z-index: 1; pointer-events: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module .commerce-mark,
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module .commerce-number { display: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module .workflow-sketch.refresh-has-image { order: 1; width: 100%; height: auto; aspect-ratio: 4/5; margin: 0 0 20px; border: 1px solid #ffffff0d; border-radius: 12px; background: #1c1d22; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module .workflow-sketch .refresh-example img { object-fit: contain; transition: transform .3s ease; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module:hover .workflow-sketch .refresh-example img { transform: scale(1.025); }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module .workflow-sketch .refresh-example figcaption { display: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module h2 { order: 3; margin: 0 0 9px; font-size: 18px; font-weight: 560; letter-spacing: -.02em; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module p { order: 4; min-height: 42px; margin: 0; max-width: 95%; font-size: 14px; line-height: 1.8; color: #95939f; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module footer { order: 5; margin: 17px 0 0; padding: 12px 0 0; border-top: 1px solid #ffffff0d; font-size: 12px; color: #8b8996; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module footer b { color: #c4b8e1; font-size: 20px; font-weight: 400; transition: transform .2s; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module:hover footer b { transform: translate(2px,-2px); }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-note { margin-top: 38px; font-size: 12px; color: #85838f; }

/* The collage uses full images, modest overlap and a single consistent perspective. */
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-hero-collage,
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero-art.atelier-hero-collage { position: relative; display: block; width: 100%; height: 390px; overflow: visible; border: 0; border-radius: 0; background: none; box-shadow: none; isolation: isolate; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-hero-collage::before,
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-hero-collage::after { content: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot,
body.design-refresh:where(:not(:has(.admin-layout))) .member-page button.atelier-shot { position: absolute; display: block; min-height: 0; margin: 0; padding: 0; overflow: hidden; border: 1px solid #ffffff1a; border-radius: 12px; color: #fff; background: #1b1c21; box-shadow: 0 16px 40px #0005; cursor: pointer; text-align: left; transition: transform .25s,border-color .25s; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot:nth-child(1) { width: 49%; height: 88%; left: 2%; top: 5%; transform: rotate(-7deg); z-index: 2; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot:nth-child(2) { width: 43%; height: 69%; right: 0; top: 0; transform: rotate(6deg); z-index: 1; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot:nth-child(3) { width: 37%; height: 62%; right: 9%; bottom: -2%; transform: rotate(3deg); z-index: 3; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot:hover,
body.design-refresh:where(:not(:has(.admin-layout))) .member-page button.atelier-shot:hover { z-index: 4; border-color: #c6b2ff70; transform: rotate(0deg) translateY(-5px); }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot>img { display: block; width: 100%; height: 100%; object-fit: contain; background: #1b1c21; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot-caption { position: absolute; inset: auto 0 0; display: grid; gap: 3px; padding: 28px 13px 13px; color: #fff; background: linear-gradient(transparent,#101014e8); }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot-caption small { color: #e1dce9; font-size: 12px; line-height: 1.5; letter-spacing: .08em; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot-caption strong { font-size: 12px; font-weight: 550; line-height: 1.5; }

/* Workflows keep settings in a quiet rail and give the result the larger canvas. */
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-create { max-width: 1432px; padding: 34px 48px 80px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-nav-wrap { max-width: 1432px; padding: 22px 48px 0; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-tabs { gap: 8px 20px; border-bottom: 1px solid #ffffff0d; padding-bottom: 14px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-tabs a { padding: 7px 0; border-radius: 0; border: 0; font-size: 12px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-tabs a:is([aria-current],:hover) { color: #d3c5f5; background: transparent; border-color: transparent; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-create-heading { gap: 14px; margin-bottom: 28px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-create-heading .commerce-mark { width: 40px; height: 40px; border-radius: 10px; background: #26232f; font-size: 20px; color: #baacd8; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-create-heading h1 { font-size: 30px; font-weight: 560; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-create-heading p { max-width: 690px; line-height: 1.8; font-size: 14px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-grid { grid-template-columns: minmax(360px,.87fr) minmax(0,1.13fr); gap: 28px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel { padding: 28px; border-color: #ffffff10; border-radius: 14px; background: #191a1f; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel-heading { padding-bottom: 20px; margin-bottom: 24px; border-bottom: 1px solid #ffffff0c; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel-heading h2 { margin: 8px 0 0; font-size: 18px; font-weight: 550; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel label { color: #c9c6d1; font-size: 13px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel :is(input:not([type=checkbox]),textarea,select) { background: #141519; border-color: #ffffff1c; border-radius: 8px; font-size: 14px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel :is(input,textarea,select):focus { outline-color: #b4a0ff; }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.commerce-file,.commerce-panel .commerce-check,.commerce-total,.commerce-assets>div,.commerce-review article) { background: #1f2027; border-color: #ffffff14; border-radius: 9px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel .commerce-style-card { background: #202127; border-radius: 9px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel .commerce-style-card.is-selected { background: #272330; border-color: #a78ee5; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-steps { background: none; border: 0; border-radius: 0; border-bottom: 1px solid #ffffff0e; margin-bottom: 28px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-steps li { color: #8f8d9a; border: 0; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-steps .is-current { background: none; color: #d4c7ee; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-badge { background: #272330; border-radius: 5px; color: #b8a6d9; font-size: 12px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-empty { padding: 12px 0 22px; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-empty .workflow-sketch.refresh-has-image { width: min(100%,390px); height: 360px; margin: 0 0 22px; border: 0; border-radius: 10px; background: #15161b; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-empty .workflow-sketch .refresh-example img { object-fit: contain; }
body.design-refresh:where(:not(:has(.admin-layout))) .commerce-empty h3 { color: #ded8e9; font-weight: 500; font-size: 17px; }

/* PSD: one practical upload surface next to an open editorial preview. */
body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro { padding-block: 56px 36px; }
body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro .eyebrow { margin-bottom: 17px; color: #92909d; font-size: 10px; letter-spacing: .15em; }
body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro h1 { font-size: clamp(32px,3.4vw,48px); line-height: 1.32; font-weight: 550; letter-spacing: -.045em; }
body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro h1 span { color: #b4a0ea; }
body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro p { margin-top: 15px; font-size: 14px; color: #9b98a7; }
body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro__format { opacity: .65; }
body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro__format strong { border: 0; background: #202027; color: #b5a7ce; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-workspace { grid-template-columns: minmax(0,1fr) minmax(0,.92fr); gap: 54px; align-items: start; }
body.design-refresh:where(:not(:has(.admin-layout))) .upload-card { padding: 30px; gap: 19px; border-color: #ffffff12; border-radius: 14px; background: #191a1f; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .upload-card h2 { font-size: 19px; font-weight: 550; }
body.design-refresh:where(:not(:has(.admin-layout))) .upload-card__heading { margin-bottom: 4px; }
body.design-refresh:where(:not(:has(.admin-layout))) .step-tag { color: #87818e; font-size: 10px; }
body.design-refresh:where(:not(:has(.admin-layout))) .foundation-badge { border: 0; color: #92909c; background: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .drop-zone { min-height: 200px; border-color: #ffffff26; border-radius: 11px; background: #141519; }
body.design-refresh:where(:not(:has(.admin-layout))) .drop-zone__label { min-height: 200px; gap: 11px; }
body.design-refresh:where(:not(:has(.admin-layout))) .drop-zone__label strong { font-size: 15px; color: #e5e1ed; font-weight: 500; }
body.design-refresh:where(:not(:has(.admin-layout))) .drop-zone__label>span:last-child { color: #898592; }
body.design-refresh:where(:not(:has(.admin-layout))) .upload-icon { background: #26232e; color: #c4b2e6; border: 0; border-radius: 11px; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-settings { padding-top: 22px; gap: 20px; }
body.design-refresh:where(:not(:has(.admin-layout))) .field>span,
body.design-refresh:where(:not(:has(.admin-layout))) .field>label { color: #c4c0ce; font-size: 13px; }
body.design-refresh:where(:not(:has(.admin-layout))) .field__hint { color: #96919f; line-height: 1.9; }
body.design-refresh:where(:not(:has(.admin-layout))) #web-editing { background: #3a3741; border-color: #55505d; }
body.design-refresh:where(:not(:has(.admin-layout))) #web-editing:checked { background: #9c7fdd; border-color: #b297eb; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-guide { display: block; padding: 6px 0 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-guide .eyebrow { color: #8b8695; font-size: 10px; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-guide h2 { font-size: 24px; font-weight: 500; letter-spacing: -.025em; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-guide__heading p { color: #95909f; }
body.design-refresh:where(:not(:has(.admin-layout))) .layer-study { margin: 26px 0 28px; border: 0; border-radius: 12px; background: #1a1a20; }
body.design-refresh:where(:not(:has(.admin-layout))) .layer-study__scene.refresh-has-image { height: auto; min-height: 360px; aspect-ratio: 4/5; background: #1a1a20; }
body.design-refresh:where(:not(:has(.admin-layout))) .layer-study__scene .refresh-example { position: absolute; inset: 0; padding: 0; }
body.design-refresh:where(:not(:has(.admin-layout))) .layer-study__scene .refresh-example img { object-fit: contain; }
body.design-refresh:where(:not(:has(.admin-layout))) .layer-study__scene .refresh-example figcaption { display: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .layer-study>figcaption { padding: 12px 18px; border: 0; background: #1e1e25; color: #9c95a7; font-size: 12px; text-align: left; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-workflow { gap: 20px; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-workflow li { grid-template-columns: 24px minmax(0,1fr); gap: 13px; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-workflow li>span { width: 24px; height: 24px; border: 0; background: none; color: #8e829f; font-size: 10px; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-workflow h3 { margin-top: 2px; font-size: 13px; color: #d0c7dc; font-weight: 500; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-workflow p { font-size: 13px; color: #928999; }
body.design-refresh:where(:not(:has(.admin-layout))) .psd-guide__note { color: #8a8193; border-color: #ffffff0c; font-size: 12px; }
body.design-refresh:where(:not(:has(.admin-layout))) .projects-section { margin-top: 42px; }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.project-card,.empty-projects,.direct-psd) { border-radius: 12px; box-shadow: none; border-color: #ffffff12; }

/* Studio: one centered place to create, with secondary tools beneath it. */
body.design-refresh-studio .ambient { display: none; }
body.design-refresh-studio .sidebar { width: 188px; flex-basis: 188px; padding: 28px 14px 20px; background: #141519; border-color: #ffffff0b; }
body.design-refresh-studio .nav-item { padding: 12px 13px; border-radius: 8px; font-size: 12px; }
body.design-refresh-studio .nav-item.active { color: #e3d9f7; border-color: transparent; background: #28232f; }
body.design-refresh-studio .nav-item:hover { color: #e9e3f1; background: #202126; }
body.design-refresh-studio .new-project-button { background: #222128; border-color: #ffffff18; color: #e1d8ed; border-radius: 8px; }
body.design-refresh-studio .topbar { height: 58px; padding-inline: 32px; background: transparent; border-color: #ffffff0b; }
body.design-refresh-studio .breadcrumb { font-size: 12px; color: #85818e; }
body.design-refresh-studio .topbar-status { color: #8c8796; }
body.design-refresh-studio .round-button { width: 30px; height: 30px; border-radius: 8px; background: transparent; border-color: #ffffff13; }
body.design-refresh-studio .workspace { width: min(1220px,calc(100% - 80px)); padding: 44px 0 80px; }
body.design-refresh-studio .welcome-row.atelier-studio-heading { display: block; text-align: center; max-width: 920px; margin: 0 auto 26px; }
body.design-refresh-studio .atelier-studio-heading .eyebrow { justify-content: center; color: #8e889b; font-size: 10px; letter-spacing: .17em; }
body.design-refresh-studio .atelier-studio-heading .eyebrow-line { display: none; }
body.design-refresh-studio .atelier-studio-heading h1 { margin: 0; font-size: clamp(32px,3.4vw,50px); line-height: 1.32; letter-spacing: -.05em; font-weight: 530; }
body.design-refresh-studio .atelier-studio-heading h1 em { display: block; color: #b3a1df; font-weight: 450; }
body.design-refresh-studio .atelier-studio-heading .welcome-copy { max-width: none; margin: 17px auto 0; font-size: 14px; color: #9b94a6; }
body.design-refresh-studio .atelier-studio-heading .refresh-hero-preview { display: none; }
body.design-refresh-studio .quick-start-guide { max-width: 800px; margin: 0 auto 22px; padding: 0; justify-content: center; gap: 22px; border: 0; background: none; box-shadow: none; }
body.design-refresh-studio .quick-start-step { flex: 0 1 auto; gap: 9px; }
body.design-refresh-studio .quick-start-step>span { width: auto; height: auto; flex: 0 0 auto; border: 0; border-radius: 0; background: none; color: #84778f; font-size: 10px; }
body.design-refresh-studio .quick-start-step strong { color: #a29aaa; font-size: 12px; font-weight: 450; }
body.design-refresh-studio .quick-start-step small { color: #79727f; font-size: 12px; margin-top: 3px; }
body.design-refresh-studio .quick-start-arrow { margin: 0; color: #56505e; font-size: 12px; }
body.design-refresh-studio .mode-switch { max-width: 940px; width: 100%; margin: 0 auto 14px; gap: 22px; justify-content: flex-start; }
body.design-refresh-studio .mode-button { min-width: 0; padding: 8px 0; gap: 8px; border: 0; border-radius: 0; background: transparent; color: #95909e; box-shadow: none; }
body.design-refresh-studio .mode-button.active { background: transparent; color: #e9ddfc; border: 0; box-shadow: inset 0 -2px #b4a0ea; }
body.design-refresh-studio .mode-button:hover { background: none; color: #e3daed; }
body.design-refresh-studio .mode-button strong { font-size: 12px; font-weight: 500; }
body.design-refresh-studio .mode-button small { font-size: 12px; color: #827b8b; }
body.design-refresh-studio .mode-icon { width: 22px; height: 22px; border-radius: 0; background: none; color: #b2a0d1; }
body.design-refresh-studio .mode-new { background: none; color: #9a8caf; font-size: 10px; }
body.design-refresh-studio .creation-layout { grid-template-columns: minmax(0,1fr); max-width: 940px; margin: 0 auto; gap: 22px; }
body.design-refresh-studio .composer-card { min-height: 0; padding: 26px 30px; border: 1px solid #ffffff1e; border-radius: 16px; background: #1a1a20; box-shadow: 0 16px 60px #0002; }
body.design-refresh-studio .composer-card>.card-heading .section-kicker { display: none; }
body.design-refresh-studio .card-heading h2 { margin: 0; color: #ddd6e7; font-size: 14px; font-weight: 500; }
body.design-refresh-studio .card-heading .soft-button { min-height: 30px; padding: 5px 10px; border: 0; border-radius: 6px; background: #27242e; color: #c2b3da; font-size: 12px; }
body.design-refresh-studio .material-toolbar { margin-top: 12px; }
body.design-refresh-studio .detected-size { gap: 7px; font-size: 12px; }
body.design-refresh-studio .detected-size :is(strong,small) { color: #857b90; font-size: 12px; font-weight: 400; }
body.design-refresh-studio .prompt-wrap { padding: 17px 0 12px; margin-top: 6px; border: 0; border-radius: 0; background: none; }
body.design-refresh-studio .prompt-wrap:focus-within { border: 0; box-shadow: none; }
body.design-refresh-studio .prompt-wrap textarea { min-height: 130px; height: 130px; padding: 0; color: #f0eaf7; font-size: 16px; line-height: 1.9; }
body.design-refresh-studio .prompt-wrap textarea::placeholder { color: #8d819a; }
body.design-refresh-studio .prompt-footer { margin-top: 14px; color: #807589; font-size: 12px; }
body.design-refresh-studio .prompt-hint { color: #807589; }
body.design-refresh-studio .prompt-tool-button { background: none; border-color: #ffffff14; color: #b3a6c2; }
body.design-refresh-studio .prompt-template-option { padding: 12px 0; margin-top: 0; border: 0; border-top: 1px solid #ffffff0c; border-radius: 0; background: transparent; }
body.design-refresh-studio .prompt-template-copy strong { color: #bcb0cc; font-size: 12px; font-weight: 500; }
body.design-refresh-studio .prompt-template-copy small { color: #897b97; font-size: 12px; }
body.design-refresh-studio .image-model-field { margin-top: 14px; }
body.design-refresh-studio .control-field { color: #a79aad; gap: 7px; font-size: 13px; }
body.design-refresh-studio .control-field select { height: 39px; padding: 7px 11px; border-color: #ffffff17; border-radius: 7px; background: #24222b; color: #d3c8e1; font-size: 12px; }
body.design-refresh-studio .advanced-options-toggle { padding: 10px 0; border: 0; border-radius: 0; color: #b3a6c3; background: transparent; }
body.design-refresh-studio .advanced-options-toggle small { color: #857590; }
body.design-refresh-studio .control-row { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
body.design-refresh-studio .composer-bottom { margin-top: 18px; padding-top: 18px; border-color: #ffffff0c; gap: 12px; }
body.design-refresh-studio .composer-note { color: #8e7f9e; font-size: 12px; }
body.design-refresh-studio .sparkle-dot { background: #9d8bb8; box-shadow: none; width: 4px; height: 4px; }
body.design-refresh-studio .composer-actions { grid-template-columns: auto auto minmax(190px,1fr); gap: 9px; }
body.design-refresh-studio :is(.prompt-library-button,.generate-psd-button) { min-height: 45px; padding: 0 14px; border-color: #ffffff1b; border-radius: 8px; color: #c9bbd9; background: #24212b; font-size: 12px; }
body.design-refresh-studio .psd-button-badge { background: none; color: #c0a8df; border: 0; font-size: 12px; }
body.design-refresh-studio .primary-demo-action { min-height: 46px; font-size: 13px; padding: 10px 18px; }
body.design-refresh-studio .generate-button kbd { color: #554269; }
body.design-refresh-studio .assistant-card { display: grid; grid-template-columns: minmax(200px,.75fr) minmax(0,1.25fr); gap: 12px 28px; position: static; min-height: 0; padding: 24px 0 0; border: 0; border-top: 1px solid #ffffff0d; border-radius: 0; background: transparent; box-shadow: none; }
body.design-refresh-studio .assistant-heading { grid-column: 1; align-self: start; gap: 10px; }
body.design-refresh-studio .assistant-heading .section-kicker { color: #7e738c; font-size: 10px; }
body.design-refresh-studio .assistant-heading h2 { margin-top: 5px; color: #cfc1df; font-size: 15px; font-weight: 500; }
body.design-refresh-studio .assistant-orb { width: 30px; height: 30px; background: #25202e; color: #b29ccf; border: 0; }
body.design-refresh-studio .assistant-intro { grid-column: 1; margin: 0; font-size: 13px; line-height: 1.85; color: #93819f; }
body.design-refresh-studio .chat-messages { grid-column: 2; grid-row: 1 / span 2; min-height: 75px; max-height: 150px; margin: 0; padding-right: 3px; }
body.design-refresh-studio .message-bubble { background: #1e1b24; border-color: #ffffff0c; color: #bcaacb; font-size: 13px; padding: 11px 14px; }
body.design-refresh-studio .message-avatar { background: transparent; color: #9783ae; }
body.design-refresh-studio .assistant-input-wrap { grid-column: 1 / -1; background: #18151d; border-color: #ffffff18; border-radius: 9px; margin: 3px 0 0; }
body.design-refresh-studio .assistant-input-wrap textarea { min-height: 42px; padding: 13px; font-size: 14px; }
body.design-refresh-studio .assistant-suggestions { grid-column: 1 / -1; margin: 0; }
body.design-refresh-studio .assistant-suggestions button { background: transparent; border-color: #ffffff12; border-radius: 5px; color: #a38bb6; font-size: 12px; padding: 6px 10px; }
body.design-refresh-studio .online-pill { color: #90a99b; background: transparent; border: 0; font-size: 12px; }
body.design-refresh-studio .gallery-section { margin-top: 50px; padding-top: 28px; border-color: #ffffff0c; }
body.design-refresh-studio .gallery-heading h2 { color: #dfd2eb; font-size: 23px; font-weight: 500; }
body.design-refresh-studio .empty-gallery { padding: 30px 20px; background: transparent; border: 1px dashed #ffffff18; border-radius: 10px; }
body.design-refresh-studio .empty-gallery h3 { color: #b7a2c8; font-size: 13px; font-weight: 450; }
body.design-refresh-studio .empty-gallery p { color: #897398; font-size: 13px; }
body.design-refresh-studio .empty-orbit { width: 30px; height: 30px; margin-bottom: 12px; border: 0; color: #8c739f; background: none; }

/* A gallery of complete images, with captions outside the artwork. */
body:is(.design-refresh,.design-refresh-studio) .refresh-template-section { margin-top: 56px; padding-top: 30px; border-top-color: #ffffff0d; }
body:is(.design-refresh,.design-refresh-studio) .refresh-section-head { align-items: end; gap: 20px; margin-bottom: 25px; }
body:is(.design-refresh,.design-refresh-studio) .refresh-eyebrow { color: #8c8299; font-size: 10px; letter-spacing: .16em; }
body:is(.design-refresh,.design-refresh-studio) .refresh-section-head h2 { margin-top: 8px; color: #e9e2f2; font-size: 25px; font-weight: 500; letter-spacing: -.035em; }
body:is(.design-refresh,.design-refresh-studio) .refresh-section-head p { max-width: 300px; color: #9988a9; font-size: 13px; }
body:is(.design-refresh,.design-refresh-studio) .refresh-template-grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 28px 20px; }
body:is(.design-refresh,.design-refresh-studio) button.refresh-template-tile,
body.design-refresh:where(:not(:has(.admin-layout))) .member-page button.refresh-template-tile { display: block; min-height: 0; padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none; overflow: visible; }
body:is(.design-refresh,.design-refresh-studio) button.refresh-template-tile:hover,
body.design-refresh:where(:not(:has(.admin-layout))) .member-page button.refresh-template-tile:hover { transform: translateY(-3px); border: 0; background: transparent; }
body:is(.design-refresh,.design-refresh-studio) .refresh-template-tile>img,
body:is(.design-refresh,.design-refresh-studio) .refresh-template-tile:nth-child(3n+2)>img { width: 100%; height: auto; aspect-ratio: 4/5; object-fit: contain; background: #1e1b23; border: 1px solid #ffffff0b; border-radius: 10px; }
body:is(.design-refresh,.design-refresh-studio) .refresh-template-caption { padding: 12px 0 0; gap: 4px; }
body:is(.design-refresh,.design-refresh-studio) .refresh-template-caption small { color: #9581a5; font-size: 12px; }
body:is(.design-refresh,.design-refresh-studio) .refresh-template-caption strong { color: #ded0e9; font-size: 12px; font-weight: 500; }
body:is(.design-refresh,.design-refresh-studio) .refresh-dialog { background: #1a171f; border-color: #ffffff20; border-radius: 16px; }
body:is(.design-refresh,.design-refresh-studio) .refresh-dialog-image { background: #121015; }
body:is(.design-refresh,.design-refresh-studio) .refresh-dialog-content { padding: 48px 36px 32px; }
body:is(.design-refresh,.design-refresh-studio) .refresh-dialog-content h2 { font-size: 29px; font-weight: 500; }
body:is(.design-refresh,.design-refresh-studio) textarea.refresh-prompt { border-color: #ffffff20; color: #cbbbd8; background: #141019; line-height: 1.95; }
body:is(.design-refresh,.design-refresh-studio) button.refresh-button.primary { background: #b196eb; border-color: #b196eb; color: #20132e; }
body:is(.design-refresh,.design-refresh-studio) button.refresh-button.secondary { background: #292131; border-color: #ffffff18; color: #dac9e6; }

/* Guest landing, account and management pages share the same typography and spacing. */
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); align-items: center; gap: 48px; width: min(1320px,calc(100% - 96px)); margin-top: 65px; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>section.member-card { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>section.member-card h1 { font-size: clamp(32px,3.8vw,54px); line-height: 1.3; font-weight: 540; letter-spacing: -.05em; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>section.member-card p { max-width: 450px; color: #a99caf; font-size: 14px; line-height: 1.9; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing .member-actions { margin-top: 30px; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>.refresh-template-section { grid-column: 1 / -1; width: 100%; margin-top: 10px; }
body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing-visual { min-width: 0; padding: 10px 0; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-page:not(.admin-layout):not(.atelier-landing) { width: min(1230px,calc(100% - 96px)); margin-top: 50px; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-page h1 { font-weight: 550; letter-spacing: -.04em; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-card { background: #19191f; border-color: #ffffff12; border-radius: 12px; box-shadow: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-grid { gap: 20px; margin-block: 30px; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-grid>.member-card:nth-child(2) { border-color: #ffffff20; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-table th { background: #202027; color: #a59bac; font-weight: 450; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-table tbody tr:hover { background: #24212a; }
body.design-refresh:where(:not(:has(.admin-layout))) .auth-layout { width: min(1120px,calc(100% - 96px)); max-width: 1120px; margin: 58px auto; grid-template-columns: 1.05fr 1fr; border-color: #ffffff14; border-radius: 16px; background: #19171e; }
body.design-refresh:where(:not(:has(.admin-layout))) .auth-story { padding: 46px 44px; background: #202027; }
body.design-refresh:where(:not(:has(.admin-layout))) .auth-story h2 { margin-top: 24px; font-size: 40px; font-weight: 500; line-height: 1.4; }
body.design-refresh:where(:not(:has(.admin-layout))) .auth-story .member-eyebrow { color: #a094b0; }
body.design-refresh:where(:not(:has(.admin-layout))) .auth-art.refresh-has-image { height: 280px; margin-top: 28px; border: 0; border-radius: 10px; background: #17151d; }
body.design-refresh:where(:not(:has(.admin-layout))) .auth-art .refresh-example img { object-fit: contain; }
body.design-refresh:where(:not(:has(.admin-layout))) .member-auth { padding: 46px; border: 0; border-radius: 0; background: none; }
body.design-refresh:where(:not(:has(.admin-layout))) .auth-layout .member-auth { width: 100%; margin: 0; }
body.design-refresh:where(:not(:has(.admin-layout))) .admin-sidebar { background: #141217; border-color: #ffffff0d; }
body.design-refresh:where(:not(:has(.admin-layout))) .admin-sidebar button[aria-current=page] { background: #292331; border-color: transparent; color: #d8c7ec; }
body.design-refresh:where(:not(:has(.admin-layout))) .admin-main { padding-top: 40px; }
body.design-refresh:where(:not(:has(.admin-layout))) .admin-heading h1 { font-size: 30px; font-weight: 500; }
body.design-refresh:where(:not(:has(.admin-layout))) .admin-metrics .member-card { padding: 26px; }
body.design-refresh:where(:not(:has(.admin-layout))) .admin-badge { border: 0; border-radius: 5px; background: #27212e; color: #bc9fd3; }
body.design-refresh:where(:not(:has(.admin-layout))) .admin-savebar { background: #19141df5; }
body.design-refresh:where(:not(:has(.admin-layout))) .detail-design { --dd-ink: #f1eaf6; --dd-muted: #a394ae; --dd-green: #b4a0ea; --dd-line: #ffffff14; }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.detail-card,.detail-plan,.detail-history button) { background: #19171f; border-color: #ffffff12; border-radius: 13px; }
body.design-refresh:where(:not(:has(.admin-layout))) .detail-hero h1 { font-weight: 540; letter-spacing: -.045em; }
body.design-refresh:where(:not(:has(.admin-layout))) .detail-steps { border: 0; border-radius: 0; border-bottom: 1px solid #ffffff12; background: transparent; }
body.design-refresh:where(:not(:has(.admin-layout))) .detail-steps li.is-current { background: #25202d; color: #d7c7ec; }
body.design-refresh:where(:not(:has(.admin-layout))) .detail-preview-art.refresh-has-image { max-width: 420px; height: 440px; border-radius: 10px; background: #151119; }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.detail-card select,.detail-card textarea) { background: #141019; border-color: #ffffff20; }
body.design-refresh:where(:not(:has(.admin-layout))) :is(.detail-upload,.detail-card .detail-upload--assets,.detail-checkout,.detail-summary>span,.detail-history-empty) { background: #201b27; border-color: #ffffff18; }

@media (min-width:1600px) {
  body.design-refresh-studio .workspace { padding-top: 58px; }
  body.design-refresh-studio .atelier-studio-heading h1 { font-size: 54px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero { min-height: 440px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero-art.atelier-hero-collage { height: 420px; }
}
@media (max-width:1200px) {
  body.design-refresh:where(:not(:has(.admin-layout))) .app-header__inner { width: calc(100% - 48px); gap: 28px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav { gap: 22px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .member-nav { gap: 17px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-home { padding-inline: 36px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero { gap: 32px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-hero-collage,
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero-art.atelier-hero-collage { height: 335px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .psd-workspace { gap: 32px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .upload-card { padding: 25px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .layer-study__scene.refresh-has-image { min-height: 300px; }
  body.design-refresh-studio .sidebar { width: 168px; flex-basis: 168px; padding-inline: 10px; }
  body.design-refresh-studio .workspace { width: calc(100% - 56px); }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-grid { grid-template-columns: minmax(330px,.95fr) minmax(0,1.05fr); gap: 22px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel { padding: 24px; }
}
@media (max-width:960px) {
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav { gap: 23px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a.active::after { bottom: 0; }
  body.design-refresh:where(:not(:has(.admin-layout))) .page-width { width: calc(100% - 48px); }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-home { padding: 34px 28px 64px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero { min-height: 330px; gap: 28px; padding-bottom: 42px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero h1 { font-size: 39px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero p { font-size: 14px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-hero-collage,
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero-art.atelier-hero-collage { height: 295px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-cards { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 30px 22px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-create { padding-inline: 28px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-nav-wrap { padding-inline: 28px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-plan { position: static; }
  body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro { padding-block: 40px 28px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro h1 { font-size: 35px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .psd-workspace { gap: 28px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .psd-guide h2 { font-size: 20px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .layer-study__scene.refresh-has-image { min-height: 280px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing { width: calc(100% - 56px); gap: 35px; margin-top: 45px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>section.member-card h1 { font-size: 36px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .member-page:not(.admin-layout):not(.atelier-landing) { width: calc(100% - 48px); }
  body.design-refresh:where(:not(:has(.admin-layout))) .auth-layout { width: calc(100% - 48px); }
  body.design-refresh:where(:not(:has(.admin-layout))) .auth-story { padding: 32px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .auth-story h2 { font-size: 32px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .member-auth { padding: 32px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .auth-layout .member-auth { width: 100%; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-template-grid { grid-template-columns: repeat(3,minmax(0,1fr)); gap: 24px 16px; }
}
@media (max-width:760px) {
  body.design-refresh:where(:not(:has(.admin-layout))) .app-header__inner { width: calc(100% - 32px); gap: 8px; padding: 8px 0 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav { width: 100%; justify-content: center; gap: 25px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a,
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a:last-child { min-height: 39px; font-size: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .member-nav { justify-content: center; gap: 20px; padding-top: 11px; font-size: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero { grid-template-columns: minmax(0,1fr); text-align: center; padding: 6px 0 38px; gap: 26px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero h1 { margin: 18px 0; font-size: clamp(34px,6.5vw,46px); }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero p { margin-inline: auto; max-width: 400px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-hero-collage,
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero-art.atelier-hero-collage { width: min(490px,100%); height: 340px; margin-inline: auto; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-section-title { margin-top: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-section-title h2 { font-size: 22px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .psd-workspace { grid-template-columns: minmax(0,1fr); gap: 38px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .upload-card { padding: 26px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .psd-guide { display: block; }
  body.design-refresh:where(:not(:has(.admin-layout))) .layer-study__scene.refresh-has-image { width: min(100%,400px); min-height: 0; max-height: none; aspect-ratio: 4/5; margin-inline: auto; }
  body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro h1 { font-size: 34px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro h1 span { display: block; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing { grid-template-columns: minmax(0,1fr); gap: 28px; text-align: center; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>section.member-card p { margin-inline: auto; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing .member-actions { justify-content: center; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>.refresh-template-section { text-align: left; margin-top: 20px; }
  body.design-refresh-studio .sidebar { width: 100%; flex-basis: auto; padding: 10px 14px; }
  body.design-refresh-studio .main-content { padding: 0 20px; }
  body.design-refresh-studio .topbar { padding-inline: 0; height: 48px; }
  body.design-refresh-studio .workspace { width: 100%; padding: 30px 0 50px; }
  body.design-refresh-studio .welcome-row.atelier-studio-heading { margin-bottom: 22px; }
  body.design-refresh-studio .atelier-studio-heading h1 { font-size: 34px; }
  body.design-refresh-studio .atelier-studio-heading .welcome-copy { font-size: 13px; line-height: 1.9; }
  body.design-refresh-studio .quick-start-guide { flex-direction: row; gap: 12px; margin-bottom: 23px; }
  body.design-refresh-studio .quick-start-step { align-items: flex-start; gap: 5px; }
  body.design-refresh-studio .quick-start-step strong { font-size: 12px; }
  body.design-refresh-studio .quick-start-step small { white-space: normal; line-height: 1.5; font-size: 12px; }
  body.design-refresh-studio .quick-start-arrow { display: none; }
  body.design-refresh-studio .mode-switch { display: flex; gap: 25px; }
  body.design-refresh-studio .composer-card { padding: 20px; border-radius: 13px; }
  body.design-refresh-studio .prompt-wrap textarea { min-height: 145px; height: 145px; font-size: 16px; }
  body.design-refresh-studio .control-row { grid-template-columns: repeat(2,minmax(0,1fr)); }
  body.design-refresh-studio .assistant-card { grid-template-columns: minmax(0,1fr); padding-top: 22px; gap: 13px; }
  body.design-refresh-studio .assistant-heading,
  body.design-refresh-studio .assistant-intro,
  body.design-refresh-studio .chat-messages { grid-column: 1; grid-row: auto; }
  body.design-refresh-studio .chat-messages { max-height: 180px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-template-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 15px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-section-head { align-items: flex-start; gap: 12px; flex-direction: column; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-section-head h2 { font-size: 23px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-dialog-content { padding: 26px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-dialog-content h2 { font-size: 25px; }
}
@media (max-width:520px) {
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav { gap: 19px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a,
  body.design-refresh:where(:not(:has(.admin-layout))) .main-nav a:last-child { font-size: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .member-nav { gap: 14px; flex-wrap: wrap; }
  body.design-refresh:where(:not(:has(.admin-layout))) .page-width { width: calc(100% - 36px); }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-home { padding: 28px 20px 56px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero h1 { font-size: 33px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero p { font-size: 14px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-hero-collage,
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-hero-art.atelier-hero-collage { height: 275px; width: 96%; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot,
  body.design-refresh:where(:not(:has(.admin-layout))) .member-page button.atelier-shot { border-radius: 9px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot-caption { padding: 22px 9px 10px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot-caption small { font-size: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-shot-caption strong { font-size: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-section-title { flex-direction: column; gap: 10px; align-items: flex-start; margin-bottom: 22px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-cards { gap: 28px 16px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module .workflow-sketch.refresh-has-image { aspect-ratio: 4/5; margin-bottom: 14px; border-radius: 9px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module h2 { font-size: 15px; margin-bottom: 7px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module p { min-height: 0; font-size: 12px; max-width: 100%; line-height: 1.9; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module footer { margin-top: 13px; padding-top: 9px; font-size: 12px; gap: 8px; align-items: center; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-module footer b { font-size: 17px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-create { padding: 25px 18px 55px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-nav-wrap { padding: 16px 18px 0; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-tabs { gap: 5px 18px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-tabs a { font-size: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-create-heading h1 { font-size: 25px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel { padding: 21px 18px; border-radius: 11px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-panel :is(input:not([type=checkbox]),textarea,select) { font-size: 16px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .commerce-empty .workflow-sketch.refresh-has-image { height: 300px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro { padding-block: 32px 24px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro h1 { font-size: 29px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .workspace-intro p { font-size: 13px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .upload-card { padding: 22px 18px; border-radius: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .upload-card h2 { font-size: 17px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .drop-zone,
  body.design-refresh:where(:not(:has(.admin-layout))) .drop-zone__label { min-height: 180px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .psd-guide h2 { font-size: 22px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .layer-study__scene.refresh-has-image { min-height: 280px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing { width: calc(100% - 40px); margin-top: 35px; gap: 23px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>section.member-card h1 { font-size: 33px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .atelier-landing>section.member-card p { font-size: 14px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .member-page:not(.admin-layout):not(.atelier-landing) { width: calc(100% - 36px); margin-top: 30px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .auth-layout { display: block; width: calc(100% - 36px); margin: 28px auto; border-radius: 12px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .auth-story { padding: 28px 24px 22px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .auth-story h2 { font-size: 28px; margin: 13px 0 0; }
  body.design-refresh:where(:not(:has(.admin-layout))) .member-auth { padding: 30px 24px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .auth-layout .member-auth { width: 100%; margin: 0; }
  body.design-refresh:where(:not(:has(.admin-layout))) .admin-metrics .member-card { padding: 17px; }
  body.design-refresh:where(:not(:has(.admin-layout))) .detail-preview-art.refresh-has-image { height: 350px; }
  body.design-refresh-studio .main-content { padding-inline: 16px; }
  body.design-refresh-studio .atelier-studio-heading h1 { font-size: 29px; }
  body.design-refresh-studio .atelier-studio-heading .eyebrow { font-size: 10px; letter-spacing: .1em; }
  body.design-refresh-studio .composer-card { padding: 18px 16px; }
  body.design-refresh-studio .card-heading h2 { font-size: 12px; }
  body.design-refresh-studio .card-heading .soft-button { font-size: 12px; }
  body.design-refresh-studio .detected-size { align-items: flex-start; flex-wrap: wrap; }
  body.design-refresh-studio .detected-size small { flex-basis: 100%; font-size: 12px; }
  body.design-refresh-studio .mode-switch { justify-content: center; gap: 20px; }
  body.design-refresh-studio .mode-button strong { font-size: 12px; }
  body.design-refresh-studio .mode-button small { font-size: 12px; }
  body.design-refresh-studio .mode-new { display: none; }
  body.design-refresh-studio .composer-actions { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  body.design-refresh-studio .composer-actions .generate-button { grid-column: 1 / -1; min-height: 48px; }
  body.design-refresh-studio .composer-actions .generate-button small { display: none; }
  body.design-refresh-studio .control-field select { font-size: 16px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-template-section { margin-top: 38px; padding-top: 25px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-template-grid { gap: 23px 13px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-template-caption strong { font-size: 12px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-dialog-content { padding: 24px 20px; }
  body:is(.design-refresh,.design-refresh-studio) .refresh-dialog-content h2 { font-size: 23px; }
}

/* Never reveal state-controlled UI or animate for users who asked for stillness. */
body:is(.design-refresh,.design-refresh-studio) [hidden] { display: none !important; }
@media (prefers-reduced-motion:reduce) {
  body:is(.design-refresh,.design-refresh-studio) *,
  body:is(.design-refresh,.design-refresh-studio) *::before,
  body:is(.design-refresh,.design-refresh-studio) *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}
