.mysw-book-save{display:flex;flex-direction:column;align-items:flex-start;gap:5px;margin-top:12px;padding-top:10px;border-top:1px solid #e3e5df;font-size:13px;line-height:1.4;color:#343a32}
.mysw-book-save__button,.mysw-book-save__destination{appearance:none;display:inline-flex;align-items:center;gap:7px;max-width:100%;padding:6px 0;border:0;background:transparent;color:inherit;font:inherit;text-align:left;cursor:pointer;white-space:normal}
.mysw-book-save__button{font-weight:600;min-height:38px}
.mysw-book-save__button svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.mysw-book-save__button[data-saved=true]{color:#426847}
.mysw-book-save__destination{padding:2px 0;color:#62685e;font-size:11px;text-decoration:underline;text-underline-offset:3px}
.mysw-book-save button:hover:not(:disabled){color:#235b35}
.mysw-book-save button:focus-visible,.mysw-book-dialog button:focus-visible,.mysw-book-dialog a:focus-visible,.mysw-book-dialog select:focus-visible{outline:2px solid #357849;outline-offset:3px}
.mysw-book-save button:disabled{cursor:wait;opacity:.6}
.mysw-book-save__status{font-size:12px;margin:0;overflow-wrap:anywhere}
.mysw-book-save__status:empty{display:none}
.mysw-book-save__status a{text-decoration:underline;text-underline-offset:3px}
.mysw-book-save__status[data-error=true]{color:#923b2d}
.mysw-book-dialog{box-sizing:border-box;width:min(520px,calc(100% - 28px));max-height:calc(100dvh - 28px);margin:auto;padding:0;border:1px solid #d6ddd0;border-radius:12px;background:#fff;color:#263023;box-shadow:0 20px 75px #0003;font-family:inherit;font-size:15px;line-height:1.5;overflow:auto}
.mysw-book-dialog::backdrop{background:#16231588}
.mysw-book-dialog__head{display:flex;align-items:center;gap:16px;padding:18px 20px;border-bottom:1px solid #e3e7df}
.mysw-book-dialog h2{margin:0;flex:1;font-size:20px;line-height:1.3;font-weight:650}
.mysw-book-dialog__close{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border:0;background:transparent;font:26px/1 sans-serif;cursor:pointer}
.mysw-book-dialog__body{padding:18px 20px}
.mysw-book-dialog__body p{margin:0 0 14px}
.mysw-book-dialog__body label{display:grid;gap:7px;font-weight:600}
.mysw-book-dialog select{width:100%;min-width:0;min-height:46px;border:1px solid #b9c5b2;border-radius:6px;background:#fff;color:inherit;padding:10px 30px 10px 12px;font:inherit;font-weight:400;text-overflow:ellipsis}
.mysw-book-dialog__error{margin:0;padding:0 20px;color:#923b2d;overflow-wrap:anywhere}
.mysw-book-dialog__error:empty{display:none}
.mysw-book-dialog__actions{position:sticky;bottom:0;display:flex;justify-content:flex-end;gap:10px;padding:16px 20px;border-top:1px solid #e3e7df;background:#fff}
.mysw-book-dialog__actions button,.mysw-book-dialog__actions a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:9px 16px;border:1px solid #b9c5b2;border-radius:6px;background:#fff;color:inherit;font:inherit;font-weight:600;cursor:pointer;text-decoration:none}
.mysw-book-dialog__actions .mysw-book-dialog__primary{background:#2f623a;color:#fff;border-color:#2f623a}
.mysw-book-dialog button:disabled,.mysw-book-dialog select:disabled{opacity:.6;cursor:wait}
@media(max-width:599px){.mysw-book-save__button{font-size:12px}.mysw-book-dialog{width:calc(100% - 20px);max-height:calc(100dvh - 20px)}.mysw-book-dialog__head,.mysw-book-dialog__body,.mysw-book-dialog__actions{padding:15px}.mysw-book-dialog h2{font-size:18px}.mysw-book-dialog__actions{flex-wrap:wrap}}
