.save-review-panel{margin:16px 0;padding:20px;border:2px solid #dce2eb;border-radius:14px;background:#fff;color:var(--text,#172033);scroll-margin-top:85px;outline:none}
.save-review-panel:focus{box-shadow:0 0 0 3px #dbeafe}
.save-review-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.save-review-heading h2{margin:0 0 8px;font-size:19px;line-height:1.35}
.save-review-panel p{line-height:1.5;margin:8px 0 12px}
.save-review-panel h3{margin:22px 0 10px;font-size:17px}
.save-review-heading p{margin-bottom:0}
.save-review-reasons{padding-left:20px;margin:14px 0;line-height:1.5}
.save-review-table-wrap{margin:16px 0;overflow:auto}
.save-review-table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px;line-height:1.5}
.save-review-table th,.save-review-table td{padding:12px;border:1px solid #dce2eb;vertical-align:top;text-align:left;overflow-wrap:anywhere;white-space:pre-line}
.save-review-table thead th{background:#f1f5f9}
.save-review-table th:first-child{width:25%}
.save-review-table tbody td{background:#fff}
.save-review-table tbody td:nth-child(2){background:#f8fafc}
.save-review-table small{display:block;margin-top:8px;font-weight:400}
.save-review-choices{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.save-review-variant{margin:14px 0;padding:16px;border:1px solid #dce2eb;border-radius:10px;background:#fff}
.save-review-variant h4{margin:0 0 10px;font-size:15px}
.save-review-field-link{display:block;border:0;background:transparent;padding:5px 0 0;color:var(--blue,#174cc6);font:inherit;font-size:12px;text-decoration:underline;cursor:pointer;text-align:left}
.save-review-link{margin:7px 0 3px}
.save-review-highlight{outline:3px solid #3975df!important;outline-offset:3px;scroll-margin-top:95px}
.save-review-confirmed{border-color:#6aaf8a;background:#f4fcf7}
.save-review-panel .btn{white-space:normal;line-height:1.4;min-height:38px}
.save-review-pending{border-color:#dce2eb;background:#f8fafc}
.save-review-pending [data-save-review-error]{color:var(--danger,#b42318);overflow-wrap:anywhere}
.save-review-loading{position:relative;min-height:180px;overflow:hidden}
.save-review-skeleton{display:grid;gap:16px;opacity:.55}
.save-review-skeleton>span{display:block;width:62%;height:20px;border-radius:6px;background:#d5dce6}
.save-review-skeleton>span:nth-child(2){width:85%;height:14px}
.save-review-skeleton>div{display:grid;grid-template-columns:1fr 1fr 1fr;gap:12px;margin-top:5px}
.save-review-skeleton>div>span{display:block;height:72px;border-radius:8px;background:#d5dce6}
.save-review-loading-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:14px;padding:20px;background:rgba(23,32,51,.12);text-align:left}
.save-review-loading-overlay>div{max-width:100%;min-width:0}
.save-review-loading-overlay h2{margin:0;font-size:18px;line-height:1.35}
.save-review-loading-overlay p{margin:6px 0 0}
.save-review-spinner{flex:0 0 28px;width:28px;height:28px;box-sizing:border-box;border:3px solid #fff;border-top-color:var(--blue,#174cc6);border-radius:50%;animation:save-review-spin 1s linear infinite}
@keyframes save-review-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.save-review-spinner{animation:none}}
@media(max-width:600px){.save-review-panel{padding:15px 12px;margin:12px 0}.save-review-heading{display:block}.save-review-heading>.btn{margin-top:12px;width:100%}.save-review-table thead{display:none}.save-review-table,.save-review-table tbody,.save-review-table tr,.save-review-table th,.save-review-table td{display:block;width:100%!important;box-sizing:border-box}.save-review-table tr{margin-bottom:14px}.save-review-table th{background:#f1f5f9}.save-review-table td:nth-child(2):before{content:'Локально, в браузере';display:block;font-weight:700;margin-bottom:5px}.save-review-table td:nth-child(3):before{content:'На сервере';display:block;font-weight:700;margin-bottom:5px}.save-review-choices .btn,.save-review-variant>.btn{width:100%}.save-review-variant{padding:12px 10px}}

.save-review-field-choices fieldset{border:1px solid #dce2eb;border-radius:8px;padding:12px;margin:14px 0}.save-review-field-choices legend{font-weight:700;padding:0 5px}.save-review-field-choices fieldset>div{display:grid;grid-template-columns:1fr 1fr;gap:12px}.save-review-field-choices .btn{display:block;text-align:left}.save-review-field-choices .btn span{display:block;white-space:pre-line;overflow-wrap:anywhere;margin-top:6px;font-weight:400}@media(max-width:600px){.save-review-field-choices fieldset>div{grid-template-columns:1fr}}

.save-review-error{border-color:#efc5c1;background:#fff}.save-review-error .save-review-heading h2{color:var(--danger,#b42318)}.save-review-note{padding:12px 14px;border:1px solid #dce2eb;border-radius:8px;background:#f8fafc;color:var(--text,#172033);overflow-wrap:anywhere}.save-review-note[role="alert"],.save-review-note[data-save-review-access],.save-review-note[data-save-review-unsupported]{border-color:#efc5c1;background:#fff5f4;color:var(--danger,#b42318)}
