/* A common workspace frame; each tool retains its fields, preview and behavior. */
.du-studio{--studio-accent:#176965;--studio-ink:#17353d;--studio-line:#d9e4e7;border-radius:19px;background:#f8fafb;padding:26px;border-color:var(--studio-line);box-shadow:0 4px 22px #17323906}
.du-studio>.workspace-label{margin-bottom:0;padding-bottom:17px;border-bottom:1px solid #e2eaed;font-size:9px;letter-spacing:.08em;gap:7px;flex-wrap:wrap}.du-studio>.workspace-label>span:last-child{letter-spacing:0;font-size:10px}
.du-studio-intro{padding:24px 0}.du-studio-kicker{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.du-studio-kicker>span:first-child{font-size:10px;font-weight:750;letter-spacing:.12em;color:#36756b}.du-studio-state{font-size:10px;line-height:1.5;color:#526d75;background:#edf4f3;border:1px solid #d7e6e1;border-radius:999px;padding:5px 9px}
.du-studio .du-studio-intro h2{font-size:clamp(23px,3vw,32px);line-height:1.2;letter-spacing:-.035em;color:var(--studio-ink);margin:13px 0 9px;font-weight:750}.du-studio-intro>p{font-size:13px;line-height:1.7;max-width:570px;color:#5e747e;margin-bottom:0}
.du-studio-steps{list-style:none;padding:0;margin:22px 0 0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}.du-studio-steps li{display:flex;align-items:center;gap:8px;border:1px solid #e0e8eb;border-radius:10px;padding:11px 10px;background:#fff;font-size:11px;font-weight:600;color:#5a707a;min-width:0;line-height:1.5}.du-studio-step-number{width:24px;height:24px;border-radius:50%;display:grid;place-items:center;flex:0 0 24px;background:#f0f4f6;color:#526e7a;font-size:11px}.du-studio-steps .is-current{border-color:#8db7aa;background:#edf7f2;color:#16594f}.du-studio-steps .is-current .du-studio-step-number{background:#176965;color:#fff}.du-studio-steps .is-complete .du-studio-step-number{background:#e3f0e9;color:#17604f}
.du-studio #tool-form{min-width:0}.du-studio #tool-form>input,.du-studio #tool-form>select{margin-bottom:18px}.du-studio--standard #tool-form>label:not(.upload):not(.check):not(:has(input[type=checkbox],input[type=radio])){padding:17px;background:#fff;border:1px solid #e0e8eb;border-radius:12px}.du-studio--standard #tool-form>.fields{padding:17px;background:#fff;border:1px solid #e0e8eb;border-radius:12px;gap:8px 18px;margin-bottom:18px}.du-studio--standard #tool-form>.fields>label{margin-bottom:4px}.du-studio--standard #tool-form>.hint{font-size:12px;line-height:1.7;color:#617681}
.du-studio--standard #tool-form :is(input,select,textarea):not([type=file]):not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=hidden]){border-radius:9px;border-color:#cfdee3;background:#fff;color:#233f4b}.du-studio--standard #tool-form :is(input,select):not([type=file]):not([type=range]):not([type=checkbox]):not([type=radio]):not([type=color]):not([type=hidden]){min-height:46px}.du-studio--standard #tool-form textarea{min-height:150px;line-height:1.7}.du-studio--standard #tool-form :is(label.check,label:has(>input[type=checkbox]),label:has(>input[type=radio])){align-items:center;gap:10px;line-height:1.6;flex-direction:row}.du-studio #tool-form .upload{border-radius:14px;border-color:#adc7ce;background:#f2f7f8;min-height:185px;margin-bottom:14px}.du-studio #tool-form .upload:hover,.du-studio #tool-form .upload.drag-active{border-color:#176965;background:#eaf5f0}.du-studio #tool-form .upload-cta{background:#176965;border-radius:9px;min-height:42px;display:flex;align-items:center}.du-studio #tool-form .upload-icon{background:#e5f1eb;border-color:#c8ded3;color:#176965}.du-studio .file-list{background:#edf2f5;border-radius:10px;padding:12px;margin-bottom:18px}
.du-studio #run{background:#176965;border-color:#176965;color:#fff;min-height:50px;padding:13px 22px;border-radius:11px;font-size:13px;gap:10px}.du-studio #run:hover:not(:disabled){background:#10564f;border-color:#10564f}.du-studio #run:disabled{background:#e2e9ec;color:#667e87;border-color:#d5e0e4;opacity:1}.du-studio .clear-files{min-height:46px;border-radius:10px}.du-studio .temporary-note{font-size:11px;line-height:1.7;color:#637a84}
.du-studio-result-title{margin:26px 0 12px;display:flex;align-items:baseline;justify-content:space-between;gap:12px;flex-wrap:wrap}.du-studio-result-title>span{font-size:10px;letter-spacing:.12em;font-weight:750;color:#36756b}.du-studio-result-title>strong{font-size:12px;font-weight:600;color:#57717b}.du-studio #result:not([hidden]){background:#fff;border:1px solid #d9e5e7;border-radius:13px;padding:20px;margin-top:0}.du-studio #result>h3{font-size:18px;line-height:1.4;color:#17353d}.du-studio #tool-status:not(:empty){padding:13px 15px;border-left:3px solid #75939e;border-radius:0 9px 9px 0;background:#eef3f6;color:#3e5a66;font-size:13px;line-height:1.65;margin-bottom:0}.du-tool-layout{grid-template-columns:minmax(0,1fr) 240px;gap:24px}.du-tool-layout .tool-aside{border-radius:14px;background:#f8fafb;border-color:#dce6e9;padding:22px}.du-tool-layout .tool-aside h2{font-size:17px;color:#27444e}.du-tool-layout .tool-aside p{line-height:1.8}
@media(max-width:980px){.du-tool-layout{grid-template-columns:minmax(0,1fr)}.du-tool-layout .tool-aside{margin-top:0}.du-studio-steps li{font-size:12px}}
@media(max-width:550px){.du-studio{padding:17px;border-radius:15px}.du-studio-intro{padding:20px 0}.du-studio .du-studio-intro h2{font-size:25px}.du-studio-kicker{gap:9px}.du-studio-kicker>span:first-child{font-size:9px}.du-studio-state{font-size:9px}.du-studio-steps{gap:6px;margin-top:18px}.du-studio-steps li{padding:10px 6px;gap:6px;align-items:flex-start;flex-direction:column;font-size:10px}.du-studio-step-number{width:22px;height:22px;flex-basis:22px}.du-studio--standard #tool-form>.fields,.du-studio--standard #tool-form>label:not(.upload):not(.check):not(:has(input[type=checkbox],input[type=radio])){padding:14px}.du-studio #tool-form .upload{min-height:165px}.du-studio #run{width:100%}.du-studio #result:not([hidden]){padding:14px}.du-studio-result-title{margin-top:22px}.du-tool-layout .tool-aside{padding:18px}.du-studio--standard #tool-form :is(input,textarea,select){font-size:16px}}
