.pod-sheet.sheet.wide { width:min(1540px,calc(100vw - 32px)); max-width:none; height:calc(100dvh - 40px); max-height:960px; padding:0; overflow:hidden; background:#f5f7f5; color:#26372f; border-radius:8px; }
.pod-sheet.sheet.wide { display:block; width:100%; max-width:1540px; }
.pod-editor { height:100%; min-height:0; display:flex; flex-direction:column; font-family:var(--sans); }
.pod-head { min-height:78px; display:flex; align-items:center; justify-content:space-between; gap:16px; padding:14px 20px; background:#fff; border-bottom:1px solid #d8e0db; }
.pod-head>div:first-child { min-width:0; }
.pod-head h2 { font-family:var(--sans); font-size:18px; line-height:1.4; margin:4px 0 0; max-width:620px; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; letter-spacing:0; }
.pod-eyebrow { font-size:11px; color:#678175; }
.pod-head-actions { display:flex; align-items:center; gap:6px; flex-shrink:0; }
.pod-head-actions .fx-x { position:static; margin-left:10px; background:#eef2ef; color:#34473d; }
.pod-tool { width:36px; height:36px; padding:0; display:inline-flex; align-items:center; justify-content:center; color:#344b3f; background:transparent; border:1px solid #d2ddd6; border-radius:6px; cursor:pointer; }
.pod-tool:hover { background:#e5eee8; }
.pod-tool:disabled,.pod-primary:disabled { opacity:.45; cursor:not-allowed; }
.pod-primary { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:38px; padding:8px 14px; border:0; border-radius:6px; background:#2c7155; color:#fff; font:500 13px var(--sans); cursor:pointer; }
.pod-layout { flex:1; min-height:0; display:grid; grid-template-columns:220px minmax(280px,1fr) 282px; }
.pod-assets { padding:16px; overflow:auto; border-right:1px solid #d8e0db; background:#fff; }
.pod-source-tabs { display:flex; gap:4px; border-bottom:1px solid #d8e0db; margin-bottom:16px; }
.pod-source-tabs button { flex:1; font:inherit; font-size:13px; border:0; padding:9px 0; background:transparent; color:#62796c; cursor:pointer; }
.pod-source-tabs button[aria-selected=true] { border-bottom:2px solid #2c7155; color:#2c7155; }
.pod-upload { width:100%; height:94px; padding:12px; border:1px dashed #9db7a7; background:#f2f7f3; color:#3c6b52; border-radius:6px; cursor:pointer; display:flex; align-items:center; justify-content:center; gap:10px; }
.pod-assets-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:8px; margin-top:14px; }
.pod-asset { padding:4px; min-width:0; border:1px solid #d9e1dc; border-radius:6px; background:#fff; color:#465b4f; font:inherit; font-size:11px; cursor:pointer; }
.pod-asset img { width:100%; aspect-ratio:1; object-fit:contain; background:#eef2ef; }
.pod-asset span { display:block; margin-top:4px; overflow-wrap:anywhere; }
.pod-input { display:block; width:100%; min-width:0; border:1px solid #cdd8d0; border-radius:6px; background:#fff; color:#304438; font:inherit; font-size:13px; padding:9px; }
.pod-block-heading { margin:22px 0 10px; font-size:12px; color:#698071; }
.pod-actions { display:flex; gap:6px; }
.pod-layer-list { display:flex; flex-direction:column; gap:5px; margin-top:12px; }
.pod-layer-list button { display:flex; align-items:center; gap:8px; padding:9px; border:1px solid transparent; border-radius:6px; background:#f1f5f2; color:#41584a; text-align:left; font:inherit; font-size:12px; cursor:pointer; }
.pod-layer-list button span { overflow:hidden; white-space:nowrap; text-overflow:ellipsis; }
.pod-layer-list button[aria-pressed=true] { border-color:#498967; background:#e2f0e6; }
.pod-empty { font-size:12px; color:#7a8c80; }
.pod-workspace { display:flex; flex-direction:column; min-width:0; min-height:0; background:#eaf0ec; }
.pod-work-toolbar { min-height:50px; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:8px 12px; border-bottom:1px solid #d8e0db; background:#f7faf7; flex-wrap:wrap; }
.pod-work-toolbar label { white-space:nowrap; display:flex; align-items:center; gap:6px; font-size:12px; }
.pod-work-toolbar>div { display:flex; gap:4px; flex-wrap:wrap; }
.pod-work-toolbar .pod-tool { width:30px; height:30px; }
.pod-artboard-wrap { flex:1; min-height:80px; min-width:0; display:flex; align-items:center; justify-content:center; overflow:hidden; background-image:linear-gradient(#dce6df 1px,transparent 1px),linear-gradient(90deg,#dce6df 1px,transparent 1px); background-size:24px 24px; }
.pod-artboard { position:relative; flex:none; background:#fff; box-shadow:0 8px 24px rgba(35,63,46,.13); overflow:visible; }
.pod-safe { position:absolute; inset:4%; border:1px dashed #db8368; pointer-events:none; }
.pod-object-fields { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px; padding:12px; background:#f7faf7; border-top:1px solid #d8e0db; }
.pod-object-fields label { min-width:0; display:flex; flex-direction:column; gap:5px; font-size:11px; color:#61776a; }
.pod-object-fields input { width:100%; min-width:0; border:1px solid #ccd8cf; border-radius:4px; height:30px; padding:4px; background:#fff; color:#2f4337; font:inherit; }
.pod-object-fields input[type=range] { padding:0; accent-color:#367a5a; }
.pod-board-status { padding:8px 12px; min-height:32px; font-size:11px; color:#6c8071; border-top:1px solid #d8e0db; text-align:center; background:#f7faf7; }
.pod-text-fields { display:grid; grid-template-columns:1fr 1fr auto 2fr 1.3fr; gap:8px; padding:0 12px 10px; background:#f7faf7; }
.pod-text-fields label { min-width:0; font-size:11px; color:#61776a; }
.pod-text-fields input,.pod-text-fields select { width:100%; min-width:0; height:30px; border:1px solid #ccd8cf; border-radius:4px; background:#fff; font:inherit; color:#2f4337; }
.pod-text-fields .pod-lock { display:flex; align-items:center; white-space:nowrap; gap:4px; }
.pod-text-fields .pod-lock input { width:16px; }
.pod-preview { overflow:auto; background:#fff; border-left:1px solid #d8e0db; padding:16px; }
.pod-preview h3 { font-family:var(--sans); font-size:14px; margin:0 0 14px; line-height:1.4; }
.pod-preview>.pod-input { margin-bottom:8px; }
.pod-preview-image { margin-top:12px; background:#eef2ef; border:1px solid #dce4de; border-radius:6px; overflow:hidden; }
.pod-preview-image canvas { display:block; width:100%; height:auto; }
.pod-preview-state { margin:0; padding:8px; font-size:11px; color:#7a6550; background:#fff8ee; }
.pod-price { margin-top:18px; font-size:22px; color:#2c5e43; }
.pod-quantity { display:flex; align-items:center; gap:10px; margin:12px 0; font-size:13px; }
.pod-quantity .pod-input { width:90px; }
.pod-preview>.pod-primary { width:100%; }
.pod-order-state { color:#886c50; font-size:11px; line-height:1.6; }
.pod-mobile-tabs { display:none; }
.pod-render-modes { display:flex; align-items:center; gap:6px; min-height:48px; padding:6px 12px; border-bottom:1px solid #d8e0db; background:#fff; }
.pod-render-modes>button { background:transparent; color:#466657; border:0; border-bottom:2px solid transparent; padding:9px; font:500 13px var(--sans); cursor:pointer; }
.pod-render-modes>button[aria-pressed=true] { border-color:#2c7155; color:#214a36; }
.pod-render-actions { display:flex; gap:6px; margin-left:auto; }
.pod-three { flex:1; min-height:280px; position:relative; overflow:hidden; background:#e7eae7; }
.pod-three canvas { display:block; width:100%; height:100%; touch-action:none; }
.pod-show-three .pod-artboard-wrap,.pod-show-three .pod-work-toolbar,.pod-show-three .pod-object-fields,.pod-show-three .pod-text-fields { display:none; }
#pod-materials { margin-top:16px; padding-top:14px; border-top:1px solid #d8e0db; }
#pod-materials label { display:flex; align-items:center; justify-content:space-between; gap:10px; margin:12px 0; font:400 12px var(--sans); }
#pod-materials select { width:130px; min-width:0; padding:7px; border:1px solid #cdd8d0; border-radius:4px; background:#fff; color:#304438; font:inherit; }
#pod-materials input[type=range] { width:130px; accent-color:#3e785c; }
#pod-materials input[type=color] { width:44px; height:32px; padding:0; border:0; background:transparent; }
#pod-materials .pod-set-toggle { justify-content:flex-start; }
.pod-material-note,#pod-3d-error { font-size:11px; line-height:1.6; color:#806346; }
@media(max-width:760px){ .pod-three { min-height:340px; flex:none; height:340px; } .pod-render-modes { padding:6px 8px; } .pod-render-modes>button { font-size:12px; } }
.pod-sheet .pod-layout [hidden] { display:none!important; }
.pod-editor button:focus-visible,.pod-editor input:focus-visible,.pod-editor select:focus-visible { outline:2px solid #439a72; outline-offset:2px; }
@media(max-width:1000px) { .pod-layout { grid-template-columns:180px minmax(220px,1fr) 232px; }.pod-head h2 { max-width:340px; }.pod-head-actions .pod-primary { font-size:12px; padding:8px; } }
@media(max-width:760px) {
  .pod-sheet.sheet.wide { width:100%; height:calc(100dvh - 16px); max-height:none; }
  .pod-head { min-height:70px; padding:10px; gap:6px; }
  .pod-head h2 { font-size:13px; max-width:150px; }
  .pod-eyebrow { font-size:9px; }
  .pod-head-actions { gap:3px; }
  .pod-head-actions .pod-tool { width:30px; height:30px; }
  .pod-head-actions #pod-download { display:none; }
  .pod-head-actions .pod-primary { width:34px; min-height:32px; padding:5px; font-size:0; }
  .pod-head-actions .fx-x { margin-left:4px; width:32px; height:32px; position:static; }
  .pod-mobile-tabs { display:flex; background:#fff; border-bottom:1px solid #d8e0db; }
  .pod-mobile-tabs button { flex:1; min-height:38px; padding:8px; background:#fff; color:#5c7967; font:inherit; font-size:12px; border:0; border-bottom:2px solid transparent; }
  .pod-mobile-tabs button[aria-selected=true] { border-color:#2c7155; color:#2c7155; }
  .pod-layout { display:flex; flex-direction:column; overflow:auto; }
  .pod-assets { overflow:visible; padding:10px; border-right:0; flex:none; }
  .pod-upload { height:44px; }
  .pod-source-tabs { margin-bottom:8px; }
  .pod-assets-grid { display:flex; overflow:auto; margin:8px 0 0; }
  .pod-asset { flex:0 0 64px; }
  .pod-block-heading { margin:12px 0 6px; }
  .pod-layer-list { display:flex; flex-direction:row; overflow:auto; }
  .pod-layer-list button { flex:0 0 92px; padding:6px; }
  .pod-workspace { flex:1; min-height:380px; }
  .pod-work-toolbar { gap:4px; padding:6px; }
  .pod-artboard-wrap { min-height:260px; }
  .pod-object-fields { gap:5px; padding:8px; }
  .pod-text-fields { grid-template-columns:1fr 1fr auto; padding:0 8px 8px; }
  .pod-text-fields label:nth-last-child(2) { grid-column:span 2; }
  .pod-preview { display:none; border-left:0; flex:1; overflow:visible; }
  .pod-editor[data-mobile-view=preview] .pod-assets,.pod-editor[data-mobile-view=preview] .pod-workspace { display:none; }
  .pod-editor[data-mobile-view=preview] .pod-preview { display:block; }
  .pod-editor[data-mobile-view=preview] .pod-preview-image { max-width:400px; margin:12px auto; }
}

/* Botanical glass atelier. The central scene remains a full-size working surface. */
.pod-sheet.sheet.wide { width:calc(100vw - 48px); max-width:1580px; height:calc(100dvh - 48px); max-height:1040px; border:1px solid #ffffffa6; border-radius:18px; background:#d5e5e2 url('/assets/atelier/garden-dahlia.webp') center/cover; color:#233e40; box-shadow:0 28px 110px #132f3f66,inset 0 1px 0 #fff; }
.pod-editor { background:#dcebea42; }
.pod-head { min-height:80px; padding:14px 22px; background:#eef7f3a8; border-bottom:1px solid #ffffff8a; backdrop-filter:blur(24px) saturate(1.15); -webkit-backdrop-filter:blur(24px) saturate(1.15); }
.pod-eyebrow { color:#4c7378; font:500 11px var(--sans); letter-spacing:0; }
.pod-head h2 { color:#1d3c40; font-size:18px; }
.pod-head-actions .fx-x { background:#ffffff69; color:#2a4c50; }
.pod-layout { grid-template-columns:200px minmax(260px,1fr) 292px; }
.pod-assets,.pod-preview { background:#eef7f1ae; border-color:#ffffff9e; padding:18px; backdrop-filter:blur(24px) saturate(1.15); -webkit-backdrop-filter:blur(24px) saturate(1.15); scrollbar-width:thin; scrollbar-color:#719b9b60 transparent; }
.pod-assets { border-right:1px solid #ffffff96; }
.pod-preview { border-left:1px solid #ffffff96; }
.pod-source-tabs { border-color:#6c929134; gap:6px; margin-bottom:18px; }
.pod-source-tabs button { color:#4a6b70; }
.pod-source-tabs button[aria-selected=true] { color:#1e676c; border-color:#286e76; }
.pod-tool { width:36px; height:36px; background:#f9fffb80; border:1px solid #ffffffb3; border-radius:8px; color:#345d63; box-shadow:inset 0 1px 0 #ffffffa6,0 2px 7px #25434309; }
.pod-tool:hover { background:#ffffffd6; }
.pod-primary { background:#2e7779; color:#fff; border:1px solid #ffffff65; border-radius:8px; box-shadow:inset 0 1px 0 #ffffff38,0 4px 12px #1e555125; }
.pod-primary:hover { background:#245e65; }
.pod-upload { border:1px dashed #6695979c; border-radius:8px; background:#ffffff42; color:#35696e; height:100px; flex-direction:column; gap:8px; }
.pod-asset { border:1px solid #ffffffc7; border-radius:8px; background:#ffffff69; color:#355c60; }
.pod-asset img { background:#d8e7e566; border-radius:5px; }
.pod-input,#pod-materials select { background:#fafffbbb; border:1px solid #ffffffde; box-shadow:inset 0 1px 0 #ffffffeb; color:#284e55; border-radius:8px; min-height:40px; }
.pod-input:focus,#pod-materials select:focus { outline:2px solid #4a8e99; outline-offset:2px; }
.pod-input::placeholder { color:#6e8789; }
.pod-block-heading,.pod-empty { color:#587b7c; }
.pod-layer-list button { background:#ffffff6b; color:#365c5f; }
.pod-layer-list button[aria-pressed=true] { background:#d5eeee; border-color:#699eab; }
.pod-workspace { background:#e7efebba; }
.pod-render-modes { min-height:52px; background:#eef7f5a8; border-color:#ffffff9e; backdrop-filter:blur(20px); -webkit-backdrop-filter:blur(20px); padding:6px 16px; }
.pod-render-modes>button { color:#66838b; padding:10px 14px; font-size:12px; }
.pod-render-modes>button[aria-pressed=true] { color:#256270; border-color:#397b86; }
.pod-three { background:#dce7e4; min-height:320px; }
.pod-board-status { color:#698486; background:#f5fbf3b8; border-color:#ffffff94; font-size:10px; }
.pod-preview h3 { color:#2c5259; font-size:13px; margin-bottom:16px; }
#pod-materials { border-color:#6d93933b; margin-top:20px; padding-top:18px; }
#pod-materials h3 { margin:0 0 12px; }
#pod-materials label { color:#355a62; margin:13px 0; font-size:12px; }
#pod-materials select { width:145px; font-size:12px; min-height:35px; }
#pod-materials input[type=range] { width:145px; accent-color:#3a8a91; }
#pod-materials input[type=color] { width:46px; height:30px; border-radius:6px; background:#fff9; padding:3px; }
#pod-materials .pod-set-toggle { justify-content:flex-start; gap:9px; }
.pod-look-swatches { display:flex; align-items:center; gap:10px; padding:3px 0 12px; }
.pod-look-swatches button { width:30px; height:30px; padding:0; border-radius:50%; background:var(--look); border:3px solid #ffffffd9; box-shadow:0 0 0 1px #507d7f44; cursor:pointer; flex:none; }
.pod-look-swatches button[aria-pressed=true] { box-shadow:0 0 0 2px #337f8a; }
.pod-look-swatches button:focus-visible { outline:2px solid #337f8a; outline-offset:4px; }
.pod-price { color:#285c63; margin-top:18px; font-size:24px; }
.pod-material-note,.pod-order-state { color:#688181; line-height:1.6; font-size:10px; }
.pod-work-toolbar,.pod-object-fields,.pod-text-fields { background:#edf7f1bf; border-color:#ffffff8a; }
.pod-work-toolbar label,.pod-object-fields label,.pod-text-fields label { color:#456c73; }
.pod-artboard-wrap { background-color:#cfdfda99; background-image:none; }
.pod-object-fields input,.pod-text-fields input,.pod-text-fields select { background:#ffffffa8; border-color:#ffffffd6; color:#355962; }
.pod-preview-state { background:#eaf2e5ad; color:#688078; }
@media(max-width:1100px) { .pod-layout { grid-template-columns:170px minmax(220px,1fr) 260px; } .pod-assets,.pod-preview { padding:14px; } #pod-materials select,#pod-materials input[type=range] { width:128px; } }
@media(max-width:700px) { .pod-sheet.sheet.wide { width:100vw; height:100dvh; max-height:none; border:0; border-radius:0; } .pod-head { padding:10px 12px; min-height:66px; gap:6px; } .pod-head h2 { font-size:14px; max-width:180px; } .pod-eyebrow { font-size:9px; } .pod-mobile-tabs { background:#e3efedae; backdrop-filter:blur(18px); } .pod-mobile-tabs button { background:transparent; color:#4e747b; } .pod-mobile-tabs button[aria-selected=true] { color:#1d646e; border-color:#286f7a; } .pod-assets { padding:10px 12px; } .pod-upload { height:44px; flex-direction:row; } .pod-block-heading { margin-top:10px; } .pod-workspace { min-height:410px; flex:none; } .pod-three { min-height:340px; } .pod-preview { padding:18px; } .pod-editor[data-mobile-view=preview] .pod-preview { padding-bottom:36px; } #pod-materials select,#pod-materials input[type=range] { width:56%; } .pod-render-modes { padding:4px 8px; } .pod-render-modes>button { padding:9px; } }
@media(prefers-reduced-motion:reduce) { .pod-sheet * { scroll-behavior:auto; } }
@supports not (backdrop-filter:blur(1px)) { .pod-assets,.pod-preview,.pod-head,.pod-render-modes { background:#e6f0ed; } }
@media(max-width:700px) {
  .pod-sheet.sheet.wide { position:fixed; inset:0; margin:0; width:100%; max-height:100dvh; transform:none; }
  .pod-head { flex-wrap:wrap; flex:none; }
  .pod-head>div:first-child { flex:1; }
  .pod-head-actions { gap:4px; }
  .pod-head-actions .fx-x { margin-left:2px; width:32px; height:32px; }
  .pod-render-modes { flex-wrap:wrap; }
  .pod-render-modes>div { margin-left:auto; }
}
