.performance-studio{color:#382b1c;font:500 15px/1.45 var(--game-reading,Barlow,sans-serif);display:flex;flex-direction:column;gap:9px;min-width:0;padding:10px;border:2px solid #93754a;border-radius:12px;background:linear-gradient(100deg,#61422ee8,#986e48db);box-shadow:inset 0 0 24px #24190d70,0 4px 0 #1e241a66}
.studio-header{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#fff2ce;min-width:0}.studio-title{font:700 22px/1.1 var(--game-display,'Barlow Semi Condensed',sans-serif);margin:2px 0}.studio-overline{display:block;font:700 11px/1.3 var(--game-display,'Barlow Semi Condensed',sans-serif);letter-spacing:1px}.studio-count{font-size:12px;margin:0;text-align:right;max-width:190px}
.studio-work-shelf{list-style:none;display:flex;flex-wrap:wrap;gap:5px;padding:7px 9px;margin:0;background:#2d3528b8;border:1px solid #b3945c;border-radius:7px;box-shadow:inset 0 -5px 0 #161d1555}.studio-workpiece{position:relative;width:25px;height:28px;opacity:.4}.studio-piece-paper{display:block;position:absolute;inset:0;background:url('assets/parchment.webp') center/cover;border:1px solid #b5a179;border-radius:2px;transform:rotate(-5deg)}.studio-piece-number{position:absolute;inset:4px 0;text-align:center;font:700 12px var(--game-display,'Barlow Semi Condensed',sans-serif);color:#3c2c18}.studio-workpiece.is-accepted{opacity:1}.studio-workpiece.is-accepted:after{content:'';position:absolute;width:12px;height:12px;bottom:-2px;right:-3px;background:url('assets/seal-desk-sheet.webp') 0 100%/400% 200%}.studio-workpiece.is-pending{opacity:.85}.studio-workpiece.is-pending .studio-piece-paper{outline:2px dashed #e7d89d;outline-offset:1px}
.studio-workspace{display:grid;grid-template-columns:minmax(0,1fr) 160px;gap:12px;min-width:0}.studio-bench{min-width:0;display:flex;flex-direction:column;gap:9px}.studio-order{background:#efe0b7 url('assets/parchment.webp') center/cover;padding:8px 11px;border:1px solid #bea679;border-radius:6px}.studio-order summary,.studio-requirements summary{cursor:pointer;font-weight:700;min-height:30px;display:flex;align-items:center}.studio-order p{margin:4px 0;white-space:pre-wrap;max-height:140px;overflow:auto;font-size:14px}.studio-tools{display:flex;flex-wrap:wrap;gap:5px}.studio-button{min-height:44px;border:1px solid #a68850;border-radius:7px;padding:8px 11px;background:linear-gradient(#f3e4b7,#d5b980);color:#3b2d1c;font:700 14px/1.2 var(--game-display,'Barlow Semi Condensed',sans-serif);cursor:pointer;box-shadow:0 2px 0 #38291877}.studio-button:hover{filter:brightness(1.08)}.studio-button:focus-visible,.studio-delivery-tray:focus-visible{outline:3px solid #95d5f0;outline-offset:2px}.studio-button:disabled{opacity:.5;cursor:default}.studio-tools .studio-button[aria-selected=true]{background:#35543b;color:#fff0cb;border-color:#d2b981}.studio-tools .studio-button{flex:1}.performance-studio [hidden]{display:none!important}
.studio-writing-sheet{display:flex;flex-direction:column;padding:13px 16px 10px;background:#f0e2bc url('assets/parchment.webp') center/cover;border:1px solid #baa06d;border-radius:4px;box-shadow:2px 3px 0 #d4b981,5px 6px 0 #4e352b99;gap:8px;min-width:0}.studio-sheet-label{font:700 12px var(--game-reading,Barlow,sans-serif);color:#705434}.studio-text{box-sizing:border-box;resize:vertical;width:100%;min-height:160px;border:0;border-bottom:1px solid #9c7a4b;background:repeating-linear-gradient(transparent 0,transparent 29px,#967a482a 30px);padding:0 3px;color:#33271d;font:17px/30px Georgia,'Times New Roman',serif;outline-offset:4px}.studio-text:focus{outline:2px solid #a7864b}.studio-text::placeholder{color:#877354}.studio-attachment-pane,.studio-recorder-pane{padding:12px;background:#e7d9b5;border:1px solid #ad8b53;border-radius:6px}.studio-tool-note{font-size:13px;line-height:1.45;margin:4px 0 10px}.studio-file-label{display:flex;flex-direction:column;gap:8px;font-weight:700;padding:12px;border:2px dashed #8c713f;border-radius:7px;background:#f5e9c8}.studio-file-input{max-width:100%;font:13px var(--game-reading,Barlow,sans-serif)}.studio-attachment-status{overflow-wrap:anywhere;font-size:13px}.studio-recorder-pane .performance-recorder{margin:0;padding:0;border:0;background:none}.studio-recorder-pane .performance-recorder h4{margin-top:0}.studio-recorder-pane .recorder-controls{display:flex;flex-wrap:wrap;gap:5px}.studio-recorder-pane .recorder-controls button{min-height:44px;padding:8px}.studio-recorder-pane audio{max-width:100%;width:100%}
.studio-preview{background:#f1e5c7 url('assets/parchment.webp') center/cover;border:1px solid #bca16f;border-radius:4px;padding:14px;box-shadow:3px 4px 0 #b2996c;min-height:190px}.studio-preview-text{white-space:pre-wrap;overflow-wrap:anywhere;margin-top:10px;font:17px/1.7 Georgia,'Times New Roman',serif}.studio-preview-media{display:flex;flex-direction:column;gap:8px;margin-top:10px;min-width:0}.studio-attached-title{font-size:13px;overflow-wrap:anywhere}.studio-media{width:100%;max-height:220px}.studio-image{max-width:100%;max-height:260px;object-fit:contain}.studio-actions{display:flex;gap:6px;flex-wrap:wrap;position:sticky;bottom:0;z-index:1;padding:5px 0;background:#825b3dec}.studio-actions .studio-button{flex:1}.studio-stage-button{background:linear-gradient(#6f8c50,#3e613c);color:#fff4d4}
.studio-dispatch{display:flex;flex-direction:column;gap:7px;min-width:0;align-items:stretch}.studio-guide{display:flex;flex-direction:column;align-items:center;min-width:0}.studio-bubble{position:relative;padding:10px 10px 12px;background:#f7e9c4;border:2px solid #b4955d;border-radius:12px;box-shadow:0 3px 0 #523d2366;font-size:13px;line-height:1.4;width:100%;box-sizing:border-box}.studio-bubble strong{display:block;padding-right:25px;min-height:25px}.studio-bubble p{margin:0;max-height:145px;overflow:auto}.studio-bubble [data-studio-action=close-guide]{position:absolute;right:0;top:0;background:none;box-shadow:none;border:0;padding:0;width:36px;min-height:36px;font-size:24px}.studio-messenger{border:0;box-shadow:none;background:none;padding:0;display:flex;align-items:center;flex-direction:column;max-width:100%;margin-top:2px}.studio-messenger-art{width:96px;height:106px;background-image:url('assets/citizens-sheet.webp');background-repeat:no-repeat;background-size:400% 200%;background-position:66.666% 0%;filter:drop-shadow(0 4px 4px #17231780)}.studio-messenger-label{background:#334d37;color:#f4e5bb;border:1px solid #ad945e;border-radius:5px;padding:3px 10px;font-size:12px}
.studio-delivery-tray{border:2px solid #bd9c60;background:linear-gradient(#493626,#705033);border-radius:8px;padding:10px;box-shadow:inset 0 0 0 4px #2e201844,0 5px 0 #2d2119;min-height:112px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;color:#ebd8ac;text-align:center}.studio-tray-label{font:700 11px var(--game-display,'Barlow Semi Condensed',sans-serif);letter-spacing:.8px}.studio-folio{cursor:grab;max-width:100%}.studio-folio-art{display:block;margin:0 auto;width:54px;height:49px;background:#e6d5ac url('assets/parchment.webp') center/cover;border:1px solid #9f814d;border-radius:3px;box-shadow:3px 3px 0 #c6ae7b;transform:rotate(-5deg)}.studio-folio-label{font-size:11px;display:block;margin-top:6px}.studio-delivery-tray.is-staged{border-color:#a5bd70;background:linear-gradient(#31442d,#536c3f)}.studio-delivery-tray.is-staged .studio-folio-art:after{content:'';display:block;width:25px;height:25px;transform:translate(20px,25px);background:url('assets/seal-desk-sheet.webp') 0 100%/400% 200%}.studio-tray-status{font-size:12px;line-height:1.35;margin:0}.studio-review-notice{font-size:12px;color:#f0dfb6;margin:4px 0}.studio-storage-status{font-size:12px;color:#eddbb2;margin:0}.studio-requirements{background:#efe2bd;border:1px solid #ab8c55;border-radius:6px;padding:7px 10px}.studio-requirements ul{padding-left:20px;margin:5px 0}.studio-requirements li{font-size:13px;margin:7px 0}
@media(max-width:700px){.performance-studio{padding:7px;gap:7px}.studio-workspace{grid-template-columns:minmax(0,1fr) 118px;gap:8px}.studio-title{font-size:18px}.studio-count{font-size:11px;max-width:125px}.studio-button{font-size:12px;padding:7px;min-height:42px}.studio-messenger-art{width:76px;height:84px}.studio-bubble{padding:7px;font-size:12px}.studio-bubble p{max-height:105px}.studio-bubble strong{font-size:12px}.studio-writing-sheet{padding:10px}.studio-text{font-size:16px;min-height:135px}.studio-order p{font-size:13px;max-height:100px}.studio-preview{padding:10px;min-height:160px}.studio-preview-text{font-size:16px}.studio-delivery-tray{padding:7px;min-height:95px}.studio-work-shelf{gap:4px;padding:6px}.studio-workpiece{width:21px;height:25px}}
@media(max-width:430px){.studio-workspace{grid-template-columns:minmax(0,1fr)}.studio-dispatch{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px}.studio-guide{grid-row:1/3}.studio-review-notice{grid-column:2}.studio-messenger-art{height:70px;width:68px}.studio-bubble p{max-height:90px}}
