.upload-box.dragging{border-color:#5b80df;background:#eef3ff;box-shadow:0 0 0 3px #3161d411}
.apply-all{display:flex!important;align-items:center;gap:4px;font-size:8px!important;font-weight:600!important;color:#718099!important;cursor:pointer}.apply-all input{accent-color:#3565d7;width:12px;height:12px;margin:0}
.motion-style-row{display:flex;align-items:center;justify-content:space-between;margin-top:8px}.motion-style-row label{font-size:8px;color:#8a97a8}.motion-style-row select{height:27px;border:1px solid #e6ebf1;border-radius:6px;background:#fff;padding:0 8px;color:#5c6c82;font:500 9px "DM Sans",sans-serif;outline:0}.motion-style-row select:focus{border-color:#8ea9e4}
.motion-layers{display:grid;gap:5px;margin-top:6px}.motion-layer{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#8a97a8;font-size:8px}.motion-layer select{height:26px;min-width:120px;border:1px solid #e6ebf1;border-radius:6px;background:#fff;padding:0 8px;color:#5c6c82;font:500 9px "DM Sans",sans-serif;outline:0}
.branding-editor{border-top:1px solid #eef1f5;padding-top:10px;margin-top:12px;display:grid;gap:6px}.branding-editor>.side-label{padding:0 0 2px}.compact-text-input{width:100%;height:28px;border:1px solid #e6ebf1;border-radius:6px;padding:0 8px;color:#52637b;font:500 9px "DM Sans",sans-serif;outline:0}.compact-text-input:focus{border-color:#8ea9e4}.branding-editor .motion-toggle{min-height:34px}.branding-editor .motion-style-row input[type=color]{width:36px;height:24px;border:1px solid #e6ebf1;border-radius:5px;background:#fff;padding:2px}.branding-editor .footer-label{justify-content:flex-start}
.progress-percent-row{margin-top:1px}.branding-editor #progress-percent{margin:0}.branding-editor #progress-mode{max-width:170px}
.format-chip small{font-size:8px;color:#8b97a8;font-weight:500;white-space:nowrap}
.format-chip select{max-width:210px}@media(max-width:900px){.format-chip select{max-width:150px}.format-chip small{display:none}}

/* Tipografi & AI ----------------------------------------------------- */
.button-ai{background:linear-gradient(135deg,#6b4fbb,#2459d4);color:#fff;box-shadow:0 4px 12px #4b3fae33}
.button-ai:hover{filter:brightness(1.06)}
.ai-mini{border:0;background:#eef3fe;color:#2d5bc4;font:700 8px "DM Sans",sans-serif;border-radius:5px;padding:3px 6px;margin-bottom:5px;cursor:pointer}
.ai-mini:hover{background:#e1ebfd}
.typography-editor{border-top:1px solid #eef1f5;padding-top:10px;margin-top:12px}
.typography-editor summary{font-size:9px;color:#99a4b3;font-weight:700;letter-spacing:1.1px;cursor:pointer;list-style:none;padding-bottom:7px}
.typography-editor summary::-webkit-details-marker{display:none}
.typography-editor summary:after{content:"▾";float:right;color:#b3bdc9;font-size:10px}
.font-controls{display:grid;gap:5px}
.font-control{display:grid;grid-template-columns:1fr auto;gap:0 8px;align-items:center}
.font-control label{font-size:9px;color:#52637b;font-weight:600}
.font-control span{font-size:9px;color:#8a97a8}
.font-control .range{grid-column:1/-1;margin:3px 0 5px;height:3px}
.font-reset{font-size:9px!important;padding:2px 0!important;color:#7c8ca4;font-weight:600}
.font-reset:hover{color:#2459d4}

#ai-dialog{width:min(520px,calc(100vw - 36px));max-height:calc(100vh - 40px);overflow:auto}
#ai-dialog>p{font-size:11px;color:#7a8798;line-height:1.55;margin:4px 0 0}
.ai-mode-tabs{display:grid;grid-template-columns:1fr 1fr;gap:3px;background:#f1f4f9;border-radius:9px;padding:3px;margin:14px 0 12px}
.ai-mode-tabs button{border:0;background:transparent;height:30px;border-radius:7px;font-size:10px;font-weight:600;color:#6a7a91;cursor:pointer}
.ai-mode-tabs button.active{background:#fff;color:#17253b;box-shadow:0 1px 4px #14243b14}
.ai-field{display:grid;gap:4px;margin-bottom:9px;font-size:8.5px;font-weight:700;color:#52637b}
.ai-field input,.ai-field select,.ai-field textarea{width:100%;border:1px solid #e6ebf1;border-radius:7px;background:#fff;color:#3d4d63;font:500 10px "DM Sans",sans-serif;outline:0;padding:0 9px;height:31px}
.ai-field textarea{height:auto;min-height:62px;padding:7px 9px;line-height:1.5;resize:vertical}
.ai-field input:focus,.ai-field select:focus,.ai-field textarea:focus{border-color:#8ea9e4}
.ai-field-row{display:grid;grid-template-columns:1fr 92px;gap:8px}
.ai-scene-hint{background:#eef3fe;border:1px solid #dbe7fb;color:#2d5bc4;border-radius:8px;padding:8px 10px;font-size:9.5px;line-height:1.5}
.ai-scene-hint b{display:block;margin-top:2px;color:#1f3f76}
.ai-loading{display:flex;align-items:center;gap:9px;font-size:10px;color:#5d6d84;background:#f7f9fc;border:1px solid #e9eef5;border-radius:8px;padding:10px;margin-top:6px}
.ai-loading .spinner{width:15px;height:15px;border:2px solid #dbe4f1;border-top-color:#3565d7;border-radius:50%;display:inline-block;animation:ai-spin .8s linear infinite}
@keyframes ai-spin{to{transform:rotate(360deg)}}
.ai-preview{border:1px solid #e8edf3;border-radius:9px;background:#fbfcfe;padding:10px;margin-top:8px;max-height:240px;overflow:auto}
.ai-preview-head{display:flex;justify-content:space-between;gap:8px;align-items:baseline;padding-bottom:7px;border-bottom:1px solid #eef2f7;margin-bottom:6px}
.ai-preview-head b{font-size:10.5px;color:#263b57}
.ai-preview-head span{font-size:8.5px;color:#93a0b1;text-align:right}
.ai-preview-item{display:flex;gap:7px;padding:5px 0;font-size:9.5px;line-height:1.45}
.ai-preview-item i{font-style:normal;color:#9aa8bb;font-weight:700;font-size:8.5px;width:16px;flex:none}
.ai-preview-item b{display:block;color:#31465f;font-size:9.5px}
.ai-preview-item span{display:block;color:#7b8ba1;margin-top:1px;font-size:9px}
@media(max-width:900px){#ai-dialog{width:calc(100vw - 24px)}}
.processing-preview{display:block!important;position:fixed;right:18px;bottom:18px;width:min(250px,30vw);height:auto;aspect-ratio:16/9;object-fit:contain;background:#12243b;border:1px solid #fff;border-radius:10px;box-shadow:0 8px 30px #14243b55;z-index:20}
.format-chip select{appearance:none;border:0;outline:0;background:transparent;color:#43536b;font:700 10px "DM Sans",sans-serif;cursor:pointer;max-width:290px}.format-chip{display:flex;align-items:center;gap:4px}.logo-size-row{margin-top:10px!important}.logo-upload-box{height:53px}.canvas-wrap{height:auto;max-height:none}
.background-editor{border-top:1px solid #eef1f5;padding-top:12px;margin-top:1px}.background-swatches{display:flex;align-items:center;gap:7px;margin:3px 0 10px}.background-swatch{border:1px solid #e8edf3;background:#fff;border-radius:7px;padding:4px 6px;display:flex;align-items:center;gap:5px;color:#748197;font-size:8px}.background-swatch.active{border-color:#7795dd;background:#f4f7ff;color:#365fc0}.background-swatch i{display:block;width:15px;height:15px;border-radius:4px;border:1px solid #0000000c}.background-swatch[data-background=prayana] i{background:linear-gradient(135deg,#f8fbff,#dce9fc)}.background-swatch[data-background=mint] i{background:linear-gradient(135deg,#f4fcf8,#ccefe2)}.background-swatch[data-background=warm] i{background:linear-gradient(135deg,#fffaf2,#f6dfc7)}.background-swatch[data-background=midnight] i{background:linear-gradient(135deg,#11223b,#214a79)}.custom-color{width:25px;height:25px;border:1px solid #e5eaf0;border-radius:7px;display:grid;place-items:center;position:relative;overflow:hidden;color:#66768c;font-size:15px;cursor:pointer}.custom-color input{position:absolute;inset:-4px;width:35px;height:35px;border:0;padding:0;cursor:pointer}.custom-color span{position:relative;pointer-events:none;background:#ffffffa3;border-radius:50%;width:17px;height:17px;display:grid;place-items:center;font-size:13px}.motion-toggle{border:1px solid #e8edf3;background:#fafbfd;border-radius:7px;padding:7px 9px;display:flex;align-items:center;gap:8px;cursor:pointer}.motion-toggle>input{position:absolute;opacity:0}.toggle-track{width:27px;height:16px;border-radius:10px;background:#cdd5e1;padding:2px;transition:background .18s;flex:none}.toggle-track i{display:block;width:12px;height:12px;background:white;border-radius:50%;box-shadow:0 1px 2px #0002;transition:transform .18s}.motion-toggle input:checked+.toggle-track{background:#3666d3}.motion-toggle input:checked+.toggle-track i{transform:translateX(11px)}.motion-toggle b{font-size:9px;color:#52637b;display:block}.motion-toggle small{font-size:8px;color:#94a0af;display:block;margin-top:2px}.motion-spark{margin-left:auto;color:#6b84cc}.capture-format-label{display:block;color:#596a81;font-size:10px;font-weight:700;margin:-5px 0 19px}.capture-format-label select{display:block;width:100%;height:36px;margin-top:6px;border:1px solid #e4eaf2;border-radius:7px;background:#fff;padding:0 9px;color:#53647a;font:500 10px "DM Sans",sans-serif}
