.aw-dialog{width:min(1120px,96vw);max-height:92vh;padding:0;border:1px solid #8c8c8c;border-radius:14px;overflow:hidden;box-sizing:border-box}.aw-dialog::backdrop{background:#0009}.aw-header,.aw-footer{padding:14px 20px;border-bottom:1px solid #8885;background:var(--panel,#202327)}.aw-header{display:flex;align-items:center;justify-content:space-between;gap:16px}.aw-header h2{font-size:20px;margin:4px 0}.aw-body{display:grid;grid-template-columns:minmax(250px,340px) minmax(0,1fr);max-height:64vh;overflow:auto}.aw-input{padding:18px;border-right:1px solid #8885}.aw-review{padding:18px;min-width:0}.aw-dialog label{display:block;font-size:13px;margin:8px 0}.aw-dialog textarea,.aw-dialog select,.aw-dialog input{box-sizing:border-box;width:100%;font:inherit}.aw-dialog textarea{min-height:70px;resize:vertical;padding:8px;line-height:1.5}.aw-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.aw-fields input{min-width:0;padding:5px}.aw-hint,.aw-job-state{font-size:12px;line-height:1.6;overflow-wrap:anywhere}.aw-item{padding:12px;margin:10px 0;border:1px solid #8886;border-radius:8px}.aw-dialog details>summary{cursor:pointer;font-weight:700;padding:10px 0}.aw-review canvas{display:block;width:100%;height:auto;max-height:290px;object-fit:contain;background:#fff}.aw-footer{border-top:1px solid #8885;border-bottom:0}.aw-footer p{font-size:12px;line-height:1.5;margin:0 0 10px}.aw-actions{display:flex;flex-wrap:wrap;gap:8px}.aw-dialog button{white-space:normal;line-height:1.4;padding:8px 12px}#awStatus{white-space:pre-wrap;overflow-wrap:anywhere;font-size:13px;line-height:1.6}.aw-review p{overflow-wrap:anywhere}.aw-input>button{margin:5px 0}.aw-dialog input[type=color]{min-height:32px}@media(max-width:760px){.aw-body{grid-template-columns:1fr;max-height:62vh}.aw-input{border-right:0;border-bottom:1px solid #8885}.aw-header,.aw-footer{padding:12px}.aw-header h2{font-size:17px}.aw-dialog{max-height:96vh}.aw-actions button{flex:1 1 160px}}
.aw-dialog[open]{display:flex;flex-direction:column;height:min(880px,92vh)}.aw-header,.aw-footer{flex-shrink:0}.aw-body{flex:1;min-height:0;max-height:none}.aw-input,.aw-review{min-width:0}@media(max-width:760px){.aw-dialog[open]{height:94vh}.aw-body{max-height:none}}

.aw-dialog .aw-checkbox{display:flex;align-items:center;gap:8px}.aw-dialog .aw-checkbox input{width:auto;flex:0 0 auto}.aw-steps{padding-left:22px;font-size:13px;line-height:1.7}.aw-dialog .aw-job-state{white-space:pre-wrap}
