.ac-dialog{box-sizing:border-box;position:fixed;inset:0;width:min(420px,calc(100% - 28px));max-height:calc(100dvh - 40px);margin:auto;border:1px solid #e7e2da;border-radius:20px;background:#fffdf9;color:#302e29;box-shadow:0 22px 80px #29231f33;padding:18px 22px 24px;overflow-y:auto;overscroll-behavior:contain}
.ac-dialog::backdrop{background:#28252070}
.ac-dialog *{box-sizing:border-box}
.ac-head{display:flex;align-items:center;justify-content:space-between;margin:-5px -7px 0}
.ac-nav{appearance:none;width:42px;height:42px;border:0;background:transparent;color:#59554d;font:400 25px/1 system-ui;cursor:pointer}
.ac-body h2{font-size:23px;line-height:1.35;letter-spacing:-.025em;margin:8px 0 7px}
.ac-body h2:focus{outline:0}
.ac-description,.ac-note,.ac-impact{font-size:14px;line-height:1.65;color:#675f54}
.ac-description{margin:0 0 18px}
.ac-options{display:grid;border:1px solid #e9e2d8;border-radius:13px;overflow:hidden}
.ac-options button{padding:15px 14px;min-height:48px;text-align:left;background:#fffdfa;border:0;display:flex;align-items:center;justify-content:space-between;color:inherit;font:inherit;cursor:pointer}
.ac-options button+button{border-top:1px solid #eee8df}
.ac-options button.ac-danger-text{color:#a0392a}
.ac-options button span{font-size:20px;color:#8f887e}
.ac-field{display:grid;gap:6px;font-size:14px;font-weight:550;margin:14px 0}
.ac-field input{display:block;width:100%;height:44px;font-family:inherit;font-size:16px;line-height:1.4;font-weight:400;color:inherit;border:1px solid #d3cabc;border-radius:9px;padding:8px 10px;background:white}
.ac-dialog button:focus-visible,.ac-field input:focus-visible{outline:2px solid #795526;outline-offset:2px}
.ac-primary,.ac-danger,.ac-secondary-danger{display:block;width:100%;min-height:45px;border-radius:10px;margin:18px 0 0;border:0;background:#34382e;color:white;font:600 15px/1.4 system-ui;cursor:pointer}
.ac-danger{background:#a13529}
.ac-secondary-danger{border:1px solid #d9b0a6;background:#fff7f3;color:#912e23}
.ac-dialog button:disabled{opacity:.6;cursor:wait}
.ac-impact{margin:0 0 12px;padding-left:20px}
.ac-impact li+li{margin-top:8px}
.ac-note{margin:0;color:#7d3b2a}
.ac-message{color:#993323;font-size:14px;margin:8px 0}
.ac-message:empty{display:none}
.ac-code{display:block;padding:14px;border:1px solid #d5cabb;border-radius:10px;background:#f7f3ec;color:#3f3b32;font:600 16px/1.7 ui-monospace,monospace;letter-spacing:.025em;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all}
