.aiw-actions{display:flex;align-items:center;flex-wrap:wrap;gap:7px 12px;margin:5px 0 2px;grid-column:1/-1;font-family:inherit;font-weight:400;line-height:1.4}
.aiw-actions .aiw-trigger,.aiw-actions .aiw-undo{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:5px 10px;border:1px solid #c5dedc;border-radius:8px;background:#edf7f5;color:#09685d;font-family:inherit;font-size:12px;font-weight:600;line-height:1.3;cursor:pointer;box-shadow:none;width:auto}
.aiw-actions .aiw-trigger:hover{background:#dcf0eb;border-color:#89bdb4}
.aiw-actions .aiw-undo{background:transparent;border-color:transparent;text-decoration:underline;color:#52606b;font-weight:400}
.aiw-field-status{font-size:11px;color:#58736d}
.aiw-actions [hidden],.aiw-dialog [hidden]{display:none!important}
.aiw-dialog{box-sizing:border-box;width:min(720px,calc(100vw - 40px));max-width:720px;max-height:calc(100dvh - 48px);padding:0;margin:auto;border:1px solid #dae4e5;border-radius:22px;background:#fff;color:#18343b;box-shadow:0 28px 100px #062c3b40;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;overflow:auto;overscroll-behavior:contain;text-align:left}
.aiw-dialog::backdrop{background:#102b3bc2;backdrop-filter:blur(5px)}
.aiw-dialog *{box-sizing:border-box}
.aiw-head{display:flex;align-items:center;gap:14px;padding:25px 28px 22px;background:linear-gradient(115deg,#f0f8f6,#f9fbfc);border-bottom:1px solid #e0eae9}
.aiw-symbol{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:14px;background:#0b695e;color:#fff;box-shadow:0 5px 15px #0b695e26}
.aiw-symbol svg{width:27px;height:27px}
.aiw-dialog .aiw-eyebrow{font-size:10px;letter-spacing:1.6px;font-weight:750;color:#42736b;margin:0 0 5px}
.aiw-dialog h2{font-size:24px;line-height:1.2;font-weight:720;letter-spacing:-.5px;margin:0;color:#18343b}
.aiw-dialog button.aiw-close{border:0;background:transparent;color:#526a70;font:300 30px/1 sans-serif;padding:4px;width:36px;height:36px;margin-left:auto;border-radius:9px;cursor:pointer;flex-shrink:0}
.aiw-dialog button.aiw-close:hover{background:#e1eeec}
.aiw-content{padding:22px 28px 14px}
.aiw-dialog #aiw-intro{margin:0 0 18px;font-size:14px;line-height:1.6;color:#536b73}
.aiw-context{display:flex;flex-wrap:wrap;gap:5px 12px;align-items:baseline;padding:10px 13px;background:#f3f6f8;border:1px solid #e8edef;border-radius:9px;margin-bottom:21px;font-size:12px;line-height:1.5}
.aiw-context>span{color:#697c83}.aiw-context strong{font-weight:650;overflow-wrap:anywhere;color:#23444d}
.aiw-dialog form{display:block;margin:0;padding:0;border:0;box-shadow:none;background:transparent}
.aiw-dialog .aiw-label{display:block;margin:0 0 8px;font-size:13px;font-weight:650;color:#294a53;line-height:1.5}
.aiw-dialog textarea,.aiw-dialog select{display:block;width:100%;border:1px solid #c8d6da;border-radius:10px;background:#fff;color:#193842;font-family:inherit;font-size:14px;font-weight:400;line-height:1.65;padding:12px 14px;box-shadow:0 1px 3px #0f3e4b05;margin:0;letter-spacing:normal}
.aiw-dialog textarea{min-height:118px;resize:vertical;line-height:1.65;font-size:14px;font-family:inherit}
.aiw-dialog textarea::placeholder{color:#86969c}
.aiw-dialog textarea:focus,.aiw-dialog select:focus{outline:3px solid #97d9cd60;border-color:#168478}
.aiw-dialog select{padding:10px 30px 10px 11px;min-height:43px;font-family:inherit;font-size:13px;font-weight:400;line-height:1.5;font-family:inherit;font-size:13px}
.aiw-options{display:flex;align-items:flex-end;gap:16px;margin-top:16px}.aiw-options .aiw-label{flex:1;margin:0}.aiw-options select{margin-top:6px}
.aiw-dialog .aiw-primary,.aiw-dialog .aiw-secondary{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;border-radius:10px;padding:11px 16px;border:1px solid #0b695e;background:#0b695e;color:#fff;font-family:inherit;font-size:13px;font-weight:650;line-height:1.45;cursor:pointer;text-decoration:none;box-shadow:none;width:auto;white-space:normal}
.aiw-dialog .aiw-primary:hover:not(:disabled){background:#07554c}.aiw-dialog .aiw-primary:disabled{background:#dce7e4;border-color:#dce7e4;color:#6d847e;cursor:not-allowed}
.aiw-dialog .aiw-secondary{background:#fff;color:#526b73;border-color:#d7e2e5}.aiw-dialog .aiw-secondary:hover{background:#f4f7f8}
.aiw-dialog button:focus-visible,.aiw-actions button:focus-visible{outline:3px solid #56bbaa;outline-offset:3px}
.aiw-dialog .aiw-privacy{margin:14px 0 0;font-size:11px;line-height:1.6;color:#73858b}
.aiw-status{margin-top:18px;padding:11px 13px;border-radius:9px;background:#edf6f3;color:#42665d;font-size:12px;line-height:1.6;overflow-wrap:anywhere}
.aiw-status:empty{display:none}.aiw-status.aiw-error{background:#fff6e7;color:#805b22;border:1px solid #f1e3c8}
.aiw-login{display:inline-block;margin-top:12px;font-size:13px;color:#09685d;text-decoration:underline}
.aiw-result{margin-top:22px;border-top:1px solid #e0e9e8;padding-top:20px}.aiw-result-head{display:flex;align-items:baseline;justify-content:space-between;gap:12px}.aiw-result-head>span{font-size:11px;color:#5e887d}.aiw-dialog #aiw-draft{min-height:150px;background:#fbfefd;border-color:#9ccdc1}
.aiw-count{margin-top:6px;font-size:10px;color:#71857f;text-align:right}.aiw-dialog .aiw-warnings{margin:12px 0;padding:12px 14px 12px 30px;border-radius:9px;background:#fff6e7;color:#805b22;font-size:12px;line-height:1.6}
.aiw-dialog .aiw-review{font-size:11px;line-height:1.6;color:#647b76;margin:10px 0 3px}.aiw-footer{display:flex;justify-content:flex-end;gap:10px;padding:18px 28px 22px;border-top:1px solid #e5eceb;background:#fff;position:sticky;bottom:0;z-index:1}
.aiw-busy svg{animation:aiw-pulse 1.2s ease-in-out infinite}@keyframes aiw-pulse{50%{opacity:.35;transform:scale(.85)}}
@media(max-width:560px){.aiw-dialog{width:calc(100vw - 20px);max-height:calc(100dvh - 24px);border-radius:17px}.aiw-head{padding:20px 17px;gap:10px}.aiw-symbol{width:38px;height:38px;flex-basis:38px;border-radius:11px}.aiw-symbol svg{width:23px;height:23px}.aiw-dialog h2{font-size:20px}.aiw-content{padding:19px 18px 14px}.aiw-options{flex-direction:column;align-items:stretch;gap:12px}.aiw-dialog textarea,.aiw-dialog select{font-size:16px}.aiw-footer{padding:15px 18px;gap:8px}.aiw-footer .aiw-primary{flex:1}.aiw-actions .aiw-trigger,.aiw-actions .aiw-undo{min-height:38px}.aiw-field-status{width:100%}}
@media(prefers-reduced-motion:reduce){.aiw-busy svg{animation:none}}
