.artian-dialog{box-sizing:border-box;width:min(660px,calc(100% - 24px));max-height:90dvh;overflow:auto;border:1px solid #9c8249;border-radius:8px;padding:20px;background:#211c14;color:#e5dcc6;color-scheme:dark;box-shadow:0 15px 60px #0008}
.artian-dialog::backdrop{background:#0009}.artian-dialog header,.artian-dialog footer{display:flex;align-items:center;gap:10px;justify-content:space-between}.artian-dialog h2{font-size:18px;margin:0}.artian-dialog h3{font-size:14px;margin:0 0 10px}.artian-dialog button{background:#332b1e;color:#e5dcc6;border:1px solid #756239;border-radius:4px;padding:8px 12px;cursor:pointer}.artian-dialog [data-apply]{background:#9c8249;color:#16120c;font-weight:bold}.artian-dialog label{display:flex;flex-direction:column;gap:6px;font-size:12px;min-width:0}.artian-dialog select{width:100%;background:#17130e;color:#eee2cc;border:1px solid #756239;padding:8px;border-radius:4px;min-height:38px}.artian-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-top:16px}.artian-dialog fieldset{border:1px solid #625334;border-radius:4px;margin:18px 0;padding:12px}.artian-dialog fieldset .artian-fields{margin-top:0}.artian-restores{display:grid;gap:10px}.artian-restores label{display:grid;grid-template-columns:55px minmax(0,1fr);align-items:center}.artian-note{font-size:12px;color:#b9ab8c;line-height:1.6}.artian-preview{padding:14px;background:#17130e;border-radius:4px}.artian-preview dl{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:0}.artian-preview dd{margin:0;text-align:right;font-variant-numeric:tabular-nums}.artian-preview small{color:#b9ab8c}.artian-error{color:#ffbc91;min-height:1em;font-size:13px}.artian-dialog footer{flex-wrap:wrap;margin-top:14px}.artian-dialog footer [data-reset]{margin-right:auto}.artian-sharpness{display:flex;height:8px;border:1px solid #796a4b;margin:8px 0}.artian-sharpness span{height:100%}@media(max-width:520px){.artian-fields{grid-template-columns:1fr}.artian-dialog{padding:14px}.artian-dialog h2{font-size:16px}}
