:root{--sidebar:320px}aside{padding:0 16px 18px;background:#f9f9fc}.studioTabs{position:sticky;top:0;z-index:5;display:grid;grid-template-columns:repeat(4,1fr);gap:3px;padding:15px 0;background:#f9f9cf}.studioTabs button{font-size:11px;padding:11px 3px;border:0;background:transparent;color:#726d82;border-radius:10px}.studioTabs button.active{background:#242136;color:#fff;box-shadow:0 5px 15px #24213624}.studioPanel[hidden]{display:none}.studioPanel h3{font:700 11px system-ui;letter-spacing:1.3px;margin:22px 0 12px;color:#7a7189}.studioPanel label{color:#6c6578;font-size:12px}.studioPanel input,.studioPanel select,.studioPanel textarea{max-width:100%;border:1px solid #e2dfea;border-radius:9px;padding:9px;font:13px system-ui}.studioPanel>select,.studioPanel>input:not([type=color]):not([type=checkbox]){width:100%}.studioPanel input[type=checkbox]{width:auto}.accessoryPalette{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:16px 0}.accessoryPalette button{display:flex;flex-direction:column;align-items:start;min-height:100px;padding:15px 12px;background:white;border:1px solid #e5e1ed;border-radius:15px;text-align:left;box-shadow:0 4px 12px #21163204}.accessoryPalette button:hover{border-color:#9670eb;transform:translateY(-2px);box-shadow:0 10px 25px #7951c515}.accessoryIcon{font-size:24px;line-height:1.3;color:#7952c6;margin-bottom:8px}.accessoryPalette b{font-size:11px;line-height:1.4;font-weight:600}.libraryButton{width:100%;background:#ede8fa;border-color:#ded2f6;color:#64409d;padding:14px}.shapePalette{margin:20px 0}.shapePalette button{font-size:12px;margin:3px;padding:10px}.backupNote{margin-top:25px;font-size:12px;padding:15px;border-radius:12px;background:#eeedf5;color:#524b62;line-height:1.5}.backupNote small{font-size:11px;margin-top:5px}.studioPanel #photoTools,.studioPanel #buttonTools{background:#f0ecf8}.studioPanel #selectedAccessory{border:1px solid #dfd7ec;border-radius:14px;padding:12px;margin-top:15px}.studioPanel #selectedAccessory button{font-size:12px;margin:4px 0}.studioPanel #selectedAccessory input[type=range]{width:100%;padding:0}.studioPanel #selectedAccessory select{width:100%}.studioPanel #selectedAccessory h3{margin-top:0}#accessoryDialog{width:min(580px,94vw);height:auto;max-height:90vh;padding:25px;color:#292438}#accessoryDialog .dialogHead,#photoLibraryDialog .dialogHead{display:flex;justify-content:space-between;align-items:center;gap:20px}#accessoryDialog h2{font-size:23px}#accessoryDialog label{display:block;margin:14px 0}#accessoryDialog input,#accessoryDialog select,#accessoryDialog textarea{display:block;width:100%;padding:12px;margin-top:7px;border:1px solid #ded7e9;border-radius:10px}#accessoryDialog textarea{min-height:180px;font:13px monospace}#accessoryDialog .note{font-size:12px;line-height:1.6;color:#797086}#photoLibraryDialog{width:94vw;max-width:1280px;height:85vh;padding:28px}.photoLibraryGrid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.photoLibraryGrid button{padding:0;overflow:hidden;text-align:left;border-radius:14px}.photoLibraryGrid img{display:block;width:100%;height:180px;object-fit:cover}.photoLibraryGrid span{display:block;padding:12px;font-size:12px}.block:has(.w3-widget){overflow:visible}.studioTabs{background:#f9f9fc}#widgetForm input[type=color]{height:42px}@media(max-width:700px){.photoLibraryGrid{grid-template-columns:repeat(2,1fr)}.photoLibraryGrid img{height:120px}aside{max-height:42vh}.studioTabs{padding:8px 0}.accessoryPalette{grid-template-columns:repeat(4,1fr)}.accessoryPalette button{padding:10px 7px;min-height:85px}.accessoryPalette b{font-size:10px}header b{font-size:14px}header a{font-size:11px}header{gap:7px}header button{font-size:11px;padding:8px}#notice{flex-basis:100%}.backupNote{margin-top:15px}}
#accessoryDialog::backdrop,#photoLibraryDialog::backdrop{background:#25173488;backdrop-filter:blur(4px)}
.canvasZoomBar{display:flex;align-items:center;gap:7px;background:#f7f5fbdc;backdrop-filter:blur(8px);border:1px solid #e4dceb;border-radius:30px;padding:6px 10px;margin:0 auto 20px;position:sticky;top:0;z-index:30;width:max-content;max-width:100%;box-shadow:0 4px 15px #2a1f3a10}.canvasZoomBar>span{font-size:9px;color:#8b7f9b;letter-spacing:1px;margin:0 14px 0 4px}.canvasZoomBar button{padding:5px 9px;font-size:10px;border:0;background:white;border-radius:20px}.canvasZoomBar b{font-size:10px;color:#695a7f;font-weight:400;min-width:28px;text-align:center}@media(max-width:750px){.canvasZoomBar>span{display:none}.canvasZoomBar{margin-bottom:12px}}
