*{margin:0;padding:0;box-sizing:border-box}body{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif;background:#f5f5f5;color:#333;line-height:1.6;padding:20px}.container{max-width:800px;margin:0 auto}.preview-section{background:#fff;border-radius:12px;padding:24px;margin-bottom:20px;box-shadow:0 2px 8px #0000001a}.preview-wrapper{display:flex;justify-content:center;align-items:center;min-height:220px;background:#fafafa;border-radius:8px;margin-bottom:16px}#preview{background:#fff;border-radius:4px}.preview-actions{display:flex;justify-content:center;gap:12px}.btn{padding:10px 24px;border:none;border-radius:6px;font-size:14px;font-weight:500;cursor:pointer;transition:all .2s}.btn-primary{background:#2563eb;color:#fff}.btn-primary:hover{background:#1d4ed8}.control-panel{display:grid;gap:16px}@media(min-width:600px){.control-panel{grid-template-columns:repeat(2,1fr)}}.panel-group{background:#fff;border-radius:12px;padding:20px;box-shadow:0 2px 8px #0000001a}.panel-title{font-size:14px;font-weight:600;color:#666;margin-bottom:16px;padding-bottom:8px;border-bottom:1px solid #eee}.form-row{margin-bottom:14px}.form-row:last-child{margin-bottom:0}.form-row label{display:block;font-size:13px;font-weight:500;color:#555;margin-bottom:6px}.form-row input[type=text],.form-row input[type=date],.form-row input[type=number],.form-row select{width:100%;padding:8px 12px;border:1px solid #ddd;border-radius:6px;font-size:14px;transition:border-color .2s}.form-row input:focus,.form-row select:focus{outline:none;border-color:#2563eb}.color-input-wrapper{display:flex;align-items:center;gap:10px}.color-input-wrapper input[type=color]{width:40px;height:32px;border:1px solid #ddd;border-radius:4px;cursor:pointer;padding:2px}.color-value{font-size:13px;color:#666;font-family:monospace}.form-row input[type=range]{width:calc(100% - 50px);vertical-align:middle}.range-value{display:inline-block;width:45px;text-align:right;font-size:12px;color:#666}@media(max-width:480px){body{padding:12px}.panel-group{padding:16px}}
