.cbyt-app{max-width:1500px;margin:24px auto;padding:24px;background:#101323;color:#f7f7fb;border-radius:18px;font-family:Arial,sans-serif;box-sizing:border-box}.cbyt-app *{box-sizing:border-box}.cbyt-header{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:22px}.cbyt-header h2{color:#fff;font-size:clamp(24px,3vw,36px);margin:5px 0}.cbyt-header p{margin:0;color:#b8bdd0}.cbyt-kicker{font-size:11px;letter-spacing:2px;color:#a99aff;font-weight:bold}.cbyt-size{background:#292747;padding:10px 14px;border-radius:20px;font-size:13px}.cbyt-layout{display:grid;grid-template-columns:320px minmax(0,1fr);gap:22px}.cbyt-panel{background:#191e32;border:1px solid #303650;border-radius:14px;padding:18px;max-height:calc(100vh - 40px);overflow:auto}.cbyt-panel section{padding-bottom:18px;margin-bottom:18px;border-bottom:1px solid #303650}.cbyt-panel section:last-child{border:0;margin:0}.cbyt-panel h3{font-size:16px;color:#fff;margin:0 0 12px}.cbyt-panel label,.cbyt-export label{display:flex;flex-direction:column;gap:6px;font-size:13px;color:#d6d9e5;margin:11px 0}.cbyt-panel input:not([type=file]):not([type=color]),.cbyt-panel select,.cbyt-panel textarea,.cbyt-export select{width:100%;background:#0f1425;color:#fff;border:1px solid #414966;border-radius:7px;padding:10px;min-height:38px}.cbyt-panel input[type=color]{width:100%;height:38px;background:transparent;border:0}.cbyt-panel input[type=range]{padding:0!important;accent-color:#927cff}.cbyt-file{display:block;background:#292747;border:1px dashed #8178c6;padding:12px;border-radius:8px;text-align:center;cursor:pointer}.cbyt-file input{display:block;width:100%;margin-top:8px}.cbyt-templates{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cbyt-templates button,.cbyt-toolbar button,.cbyt-secondary{background:#292f49;color:#fff;border:1px solid #454d6b;border-radius:7px;padding:10px;cursor:pointer}.cbyt-tools{display:grid;grid-template-columns:1fr 1fr;gap:7px}.cbyt-tools button{background:#11182b;color:#e7e9f4;border:1px solid #414966;border-radius:7px;padding:10px 7px;cursor:pointer;text-align:left}.cbyt-tools button.is-active{background:#5947a9;border-color:#a99aff;box-shadow:0 0 0 1px #a99aff}.cbyt-check{display:flex!important;flex-direction:row!important;align-items:center}.cbyt-check input{width:auto!important;min-height:0!important}.cbyt-primary{background:#7257e8!important;color:white!important;border:0!important;border-radius:8px;padding:12px 16px;font-weight:bold;cursor:pointer}.cbyt-danger{background:#4b2635;color:#ffdbe5;border:1px solid #80445a;padding:10px;border-radius:7px;width:100%;cursor:pointer}.cbyt-secondary{width:100%}.cbyt-workspace{min-width:0;background:#191e32;border:1px solid #303650;border-radius:14px;padding:16px}.cbyt-toolbar{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-bottom:12px}.cbyt-toolbar button:disabled{opacity:.4;cursor:not-allowed}.cbyt-zoom{display:flex;align-items:center;gap:8px;margin-left:auto;color:#d6d9e5;font-size:12px}.cbyt-zoom input{width:110px;accent-color:#927cff}.cbyt-instruction,.cbyt-footnote{font-size:12px;color:#aeb4c8;line-height:1.5}.cbyt-canvas-wrap{width:100%;overflow:auto;background:#090d18;border-radius:9px;padding:8px;display:flex;align-items:center;justify-content:center;min-height:180px}.cbyt-canvas-wrap canvas{display:block;width:100%;height:auto;max-width:none;aspect-ratio:16/9;object-fit:contain;touch-action:none;background:#fff}.cbyt-export{display:flex;align-items:end;gap:14px;flex-wrap:wrap;margin-top:16px}.cbyt-export label{min-width:110px;margin:0}.cbyt-export button{margin-left:auto}.cbyt-footnote{margin:14px 0 0}@media(max-width:900px){.cbyt-layout{grid-template-columns:1fr}.cbyt-panel{max-height:none}.cbyt-header{align-items:flex-start;flex-direction:column}.cbyt-zoom{margin-left:0}.cbyt-export button{width:100%;margin:0}}@media(max-width:520px){.cbyt-app{padding:12px}.cbyt-toolbar button{flex:1}.cbyt-zoom{width:100%}.cbyt-zoom input{flex:1}}
