:root{font-family:system-ui,-apple-system,"PingFang SC",sans-serif;color:#242925;background:#f5f3ee;font-synthesis:none}*{box-sizing:border-box}body{margin:0}header{max-width:1440px;margin:auto;padding:28px 5%;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #24292518}.brand{color:inherit;text-decoration:none;font-size:12px;letter-spacing:.16em;font-weight:650}.brand span{display:block;font-size:14px;letter-spacing:0;margin-top:5px}.badge{font-size:11px;border:1px solid #687e7460;padding:7px 10px;border-radius:30px;color:#687e74}main{max-width:1440px;margin:auto;padding:46px 5% 24px}.intro{max-width:620px;margin-bottom:32px}.eyebrow{font-size:10px;letter-spacing:.16em;color:#687e74}h1{font-size:clamp(32px,4vw,52px);font-weight:500;letter-spacing:-.04em;line-height:1.25;margin:16px 0}p{line-height:1.75}.intro>p:last-child{font-size:14px;color:#647069;max-width:480px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:28px}.stage-wrap{background:#e9e6dc;min-height:560px;position:relative;border-radius:4px;overflow:hidden}#stage{height:100%;min-height:560px;position:relative}#stage canvas{display:block;width:100%;height:100%;touch-action:none}.stage-note{position:absolute;bottom:20px;width:100%;text-align:center;color:#6c746b;font-size:11px;pointer-events:none}aside{padding:6px 0}label{display:block;font-size:12px;line-height:1.5;margin-bottom:16px}input:not([type=file]),textarea,select{display:block;width:100%;font:inherit;color:inherit;background:#fffdf8;border:1px solid #d5d9cf;border-radius:3px;padding:10px;margin-top:7px}input[type=range]{padding:8px 0;accent-color:#687e74;background:transparent}button,.file-button{min-height:44px;border-radius:3px;padding:12px 16px;font:inherit;font-size:12px;cursor:pointer;border:1px solid #687e74;background:#687e74;color:white;text-align:center;display:block;width:100%}.file-button{position:relative;margin:0}.file-button input{position:absolute;inset:0;opacity:0;cursor:pointer;width:100%}.quiet{background:transparent;color:#47594e;border-color:#bdc5b9}.hint{font-size:11px;color:#6b756c;line-height:1.65}.two{display:grid;grid-template-columns:1fr 1fr;gap:16px}.export-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px;border-top:1px solid #d5d9cf;margin-top:22px;padding-top:22px}.export-actions>button:first-child{grid-column:1/-1}#status{font-size:12px;color:#526c59;background:#e6ece2;padding:12px}button:disabled{opacity:.5;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,.file-button:focus-within{outline:3px solid #9c8063;outline-offset:3px}footer{font-size:11px;color:#747b71;margin-top:32px;border-top:1px solid #d5d9cf;padding-top:20px}.gallery-list{position:absolute;left:16px;top:16px;z-index:1;width:auto}.detail{border:0;border-radius:5px;background:#f5f3ee;width:min(94vw,960px);max-height:94vh;padding:24px;color:#242925}.detail::backdrop{background:#17271bd9}.detail img{display:block;max-height:66vh;max-width:100%;margin:auto;object-fit:contain}.detail h2{font-size:20px;font-weight:500}.detail p{white-space:pre-wrap;overflow-wrap:anywhere}.detail button{width:auto;margin-bottom:14px}.fallback{padding:32px;display:flex;align-items:center;justify-content:center;height:100%;flex-direction:column}.fallback img{max-width:90%;max-height:360px;cursor:zoom-in}.viewer-head{text-align:center;padding:20px}.viewer-head h1{font-size:28px}.viewer-stage{height:76vh;min-height:360px}.viewer-stage #stage{height:100%;min-height:360px}@media(max-width:760px){header{padding:20px 5%}main{padding-top:28px}.workspace{grid-template-columns:1fr;gap:24px}.stage-wrap,#stage{min-height:360px;height:clamp(360px,48vh,480px)}.intro{margin-bottom:22px}h1{font-size:34px}aside{padding:0}.viewer-stage{height:65vh}.badge{font-size:10px}}
/* A fixed stage boundary prevents canvas backing-size feedback in the grid. */
.stage-wrap{height:clamp(560px,70vh,760px)}.stage-wrap #stage{min-height:0;height:100%}@media(max-width:760px){.stage-wrap{height:clamp(360px,48vh,480px)}.stage-wrap #stage{min-height:0;height:100%}}
/* M2 curator workspace */
.header-actions{display:flex;gap:12px;align-items:center}.header-actions select{width:auto;margin:0;max-width:135px;padding:8px;font-size:12px}.intro{max-width:720px}.intro h1{max-width:650px}.workspace{grid-template-columns:minmax(0,1fr) 340px;align-items:start}.gallery-column{position:sticky;top:20px}.stage-wrap{height:clamp(430px,58vh,620px);min-height:0}.scene-tools{display:flex;gap:16px;align-items:center;margin-top:16px}.scene-tools>button{width:auto}.scene-tools>.two{flex:1}.scene-tools label{margin:0}.exhibition-fields{display:grid;grid-template-columns:2fr 1fr;gap:16px;margin-top:24px}.exhibition-fields>label:last-child{grid-column:1/-1}.exhibition-fields label{margin:0}.section-heading{display:flex;justify-content:space-between;gap:12px;align-items:center}.work-list{display:grid;gap:8px;margin:12px 0 16px;max-height:300px;overflow:auto}.work-card{display:flex;align-items:center;gap:10px;text-align:left;background:transparent;border-color:#bdc5b9;color:#242925;padding:8px}.work-card img{width:46px;height:42px;object-fit:contain;background:#e9e6dc}.work-card span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}.work-card[aria-pressed=true]{border-color:#687e74;background:#e3e8df;box-shadow:inset 3px 0 #687e74}.work-card small{font-size:10px;color:#687e74}.add-buttons{gap:8px}.add-buttons button,.add-buttons .file-button{font-size:11px;padding:10px}.style-tools{padding:18px 0;border-block:1px solid #d5d9cf;margin:18px 0}.segmented{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin-bottom:16px}.segmented button{background:transparent;color:#47594e;border-color:#bdc5b9}.segmented button[aria-pressed=true]{background:#687e74;color:white}.work-actions{display:flex;gap:8px}.work-actions button{padding:10px;font-size:11px}.danger{color:#88554f}.delivery{margin-top:36px;padding-top:30px;border-top:1px solid #c8cdbf;display:grid;grid-template-columns:1fr 1fr;gap:36px}.export-actions{margin:0;padding:0;border:0}.export-actions>button:first-child{grid-column:1/-1}.check-label{display:flex;align-items:center;gap:8px;line-height:1.5}.check-label input{width:auto;margin:0;accent-color:#687e74}#processing-preview{width:100%;height:auto;border-radius:3px;margin-top:12px}.crop-dialog{width:min(94vw,700px);border:0;border-radius:5px;padding:24px;background:#f5f3ee;color:#242925;max-height:94vh;overflow:auto}.crop-dialog::backdrop{background:#17271bd9}#crop-preview{width:100%;height:280px;object-fit:contain;background:#e9e6dc;margin-bottom:16px}.detail-bar{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.detail-bar button{width:auto;margin:0}.detail-bar h2{font-size:18px;font-weight:500}.detail-nav{display:flex;gap:8px;flex-wrap:wrap;justify-content:space-between}.detail-nav button{flex:1;margin-top:14px}.detail-credit{font-size:12px;color:#687e74}.gallery-controls{position:absolute;left:14px;right:14px;top:14px;z-index:1;display:flex;gap:8px;flex-wrap:wrap;pointer-events:none}.gallery-controls button{width:auto;font-size:10px;padding:10px;min-height:38px;background:#f5f3eecf;pointer-events:auto}.fallback-grid{height:100%;padding:76px 20px 30px;overflow:auto;display:grid;grid-template-columns:repeat(2,1fr);gap:16px}.fallback-grid[hidden]{display:none}.fallback-work{background:transparent;color:#242925;border-color:#c8cdbf}.fallback-work img{width:100%;height:110px;object-fit:contain}.fallback-work span{display:block;overflow-wrap:anywhere;margin-top:8px}.viewer-page{max-width:1440px;margin:auto}.viewer-head{align-items:start}.viewer-head select{max-width:130px;width:auto}.viewer-intro{max-width:680px;margin:20px auto;padding:0 24px;white-space:pre-wrap}.viewer-stage{padding:0 24px;height:68vh}.viewer-footer{padding:24px}.viewer-page #stage{border-radius:5px;overflow:hidden}.previewing #editor-panel,.previewing .exhibition-fields,.previewing .scene-tools>.two{display:none}.previewing .workspace{grid-template-columns:1fr}.previewing .gallery-column{position:static}.previewing .stage-wrap{height:65vh}.previewing .delivery{grid-template-columns:1fr 1fr}[hidden]{display:none!important}@media(max-width:900px){.workspace{grid-template-columns:minmax(0,1fr) 300px}}@media(max-width:760px){.workspace{grid-template-columns:1fr}.gallery-column{position:static}.stage-wrap{height:clamp(360px,48vh,480px)}.exhibition-fields{grid-template-columns:1fr}.exhibition-fields>label:last-child{grid-column:auto}.scene-tools{flex-wrap:wrap}.scene-tools>button{width:100%}.delivery{grid-template-columns:1fr;gap:20px}.header-actions .badge{display:none}.previewing .delivery{grid-template-columns:1fr}.viewer-stage{padding:0 12px;height:62vh}.viewer-head h1{font-size:24px}.intro h1{font-size:32px}.detail-nav button{min-width:100px}}

.venue-picker{border:0;padding:0;margin:18px 0 20px;min-width:0}.venue-picker legend{font-size:12px;color:#647069;margin-bottom:10px}.venue-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.venue-card{background:#fffdf8;color:#47594e;border:1px solid #d5d9cf;text-align:left;padding:12px;min-width:0}.venue-card[aria-pressed=true]{border-color:#687e74;box-shadow:inset 0 0 0 1px #687e74;background:#eaf0e5}.venue-card strong,.venue-card small{display:block;overflow-wrap:anywhere}.venue-card small{font-size:10px;color:#6b756c;line-height:1.6;margin-top:5px}.venue-icon{display:block;height:38px;margin-bottom:10px;border-bottom:2px solid #acb6a6}.venue-icon.vault{background:repeating-radial-gradient(ellipse at 50% 100%,transparent 0 9px,#a2aa9e 10px 12px,transparent 13px 20px);border-radius:40px 40px 0 0}.venue-icon.garden{background:linear-gradient(90deg,#a9b797 30%,#f1f1e6 30% 34%,#cad6bb 34% 66%,#f1f1e6 66% 70%,#9dab88 70%)}.venue-icon.classical{background:repeating-linear-gradient(90deg,#d0c1a8 0 9px,transparent 9px 22px);border-top:5px solid #baa88b}.previewing .venue-picker{display:none}@media(max-width:480px){.venue-options{gap:6px}.venue-card{padding:9px}.venue-card strong{font-size:11px}.venue-card small{font-size:9px}}

.floating-plaque{position:absolute;z-index:3;right:22px;bottom:40px;width:min(340px,calc(100% - 44px));padding:22px 25px 18px;background:rgba(255,253,247,.94);backdrop-filter:blur(14px);border:1px solid #fffdf8;box-shadow:0 12px 42px #29362a26;color:#29382e;border-radius:2px;max-height:calc(100% - 88px);overflow:auto;animation:plaque-appear .2s ease-out}.plaque-top{display:flex;align-items:center;justify-content:space-between;gap:16px}.plaque-number{font-size:10px;letter-spacing:.22em;color:#7b8578;font-variant-numeric:tabular-nums}.plaque-close{width:28px;min-height:28px;padding:0;background:transparent;border:0;color:#7b8578;font-size:20px;line-height:1}.floating-plaque h2{font-family:Georgia,'Songti SC','Noto Serif CJK SC',serif;font-weight:400;font-size:25px;line-height:1.4;letter-spacing:.015em;margin:14px 0 8px;overflow-wrap:anywhere}.plaque-artist{font-size:11px;letter-spacing:.045em;color:#687567;margin:0}.plaque-rule{width:32px;height:1px;background:#94a18a;margin:18px 0}.plaque-description{font-family:Georgia,'Songti SC',serif;font-size:13px;line-height:1.9;white-space:pre-wrap;overflow-wrap:anywhere;margin:0;max-height:150px;overflow:auto}.plaque-more{width:auto;min-height:32px;padding:8px 0 0;margin-top:12px;background:transparent;border:0;color:#64735d;font-size:10px;letter-spacing:.06em}@keyframes plaque-appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.floating-plaque{right:12px;bottom:32px;width:min(300px,calc(100% - 24px));padding:16px 19px}.floating-plaque h2{font-size:21px}.plaque-description{font-size:12px;max-height:110px}}@media(prefers-reduced-motion:reduce){.floating-plaque{animation:none}}

.floating-plaque{right:auto;bottom:auto}.plaque-dock{margin:12px 0}.floating-plaque.is-docked{position:relative;left:auto!important;top:auto!important;width:100%;max-height:none;animation:none;box-shadow:none}.plaque-dock .plaque-description{max-height:180px}

.floating-plaque{animation:none}

.scene-work-nav{position:absolute;z-index:2;bottom:12px;left:50%;transform:translateX(-50%);display:flex;gap:6px;max-width:calc(100% - 24px);overflow-x:auto;padding:5px;background:#fffdf8e6;border:1px solid #c4cbbb;border-radius:4px}.scene-work-button{position:relative;flex:0 0 44px;width:44px;height:42px;min-height:42px;padding:3px;background:transparent;border:1px solid transparent;color:#374c3b}.scene-work-button[aria-pressed=true]{border-color:#687e74;background:#e4ebdf}.scene-work-button img{display:block;width:100%;height:27px;object-fit:contain}.scene-work-button span{display:block;font-size:8px;line-height:10px;letter-spacing:.06em}.stage-note{bottom:74px}.floating-plaque{max-height:calc(100% - 160px)}@media(max-width:600px){.scene-work-button{flex-basis:36px;width:36px}.scene-work-nav{gap:3px}.stage-note{bottom:72px}}
