.sc-page{padding-top:.5rem}.sc-page>nav{margin-bottom:.5rem}.sc-page>section[aria-labelledby=tool-title]{padding-bottom:1rem}.sc-page #tool-title{font-size:1.875rem;line-height:1.2}.sc-page #tool-title+p{margin-top:.5rem;line-height:1.6}.sc-page>section[aria-label^=Инструмент]{padding:0}.sc-icon{width:1.125rem;height:1.125rem;flex-shrink:0}.sc-toolbar{display:flex;min-width:0;flex-wrap:wrap;align-items:center;gap:.5rem 1rem;padding:.75rem 1rem;border-bottom:1px solid var(--border)}.sc-toolbar [role=tablist]{flex-wrap:nowrap;gap:.5rem}.sc-toolbar [role=tab]{min-height:2.75rem;border-radius:.5rem;padding-inline:.75rem;background:var(--surface)}.sc-tools{display:flex;width:100%;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:0}.sc-tools .sc-text-action{padding-inline:.375rem}.sc-text-action{display:inline-flex;min-height:2.75rem;align-items:center;justify-content:center;gap:.375rem;padding:.375rem .625rem;border-radius:.5rem;color:var(--primary);font-size:.875rem;line-height:1.25rem;cursor:pointer}.sc-text-action:hover{background:var(--surface-hover)}.sc-text-action:active{background:var(--primary-soft)}.sc-text-action:disabled{color:var(--text-muted);opacity:.6;cursor:default}.sc-document{position:relative;min-width:0}.sc-input-wrap{padding:1rem}.sc-input-label{display:block;margin-bottom:.5rem;padding-inline:.5rem;font-size:.875rem;line-height:1.5;font-weight:600}.sc-input{display:block;width:100%;min-height:12rem;resize:vertical;border:0;border-radius:.5rem;padding:.5rem;background:var(--surface);color:var(--text-primary);font-size:1rem;line-height:1.85;overflow-wrap:anywhere}.sc-input::placeholder{color:var(--text-muted);opacity:1}.sc-input[aria-invalid=true]{outline:2px solid var(--primary);outline-offset:0}.sc-review{min-height:6rem;max-height:30rem;overflow:auto;scrollbar-gutter:stable;padding:1rem;white-space:pre-wrap;overflow-wrap:anywhere;color:var(--text-primary);font-size:1rem;line-height:2}.sc-word{display:inline-block;min-width:2.75rem;min-height:2.75rem;max-width:100%;padding:.25rem .0625rem;border:0;border-radius:.125rem;background:transparent;color:inherit;font:inherit;line-height:2.25rem;text-align:center;white-space:inherit;overflow-wrap:anywhere;text-decoration:underline dotted var(--primary);text-underline-offset:.3rem;cursor:pointer}.sc-word:hover{background:var(--surface-hover)}.sc-word-active{background:var(--primary-soft)}.sc-correction{margin:0 1rem 1rem;max-height:20rem;overflow:auto;border:1px solid var(--border);border-radius:.5rem;padding:.875rem;background:var(--surface);white-space:normal}.sc-correction-title{display:flex;min-width:0;align-items:center;justify-content:space-between;gap:.5rem;line-height:1.5}.sc-correction-title strong{min-width:0;overflow-wrap:anywhere}.sc-close{display:inline-flex;width:2.75rem;height:2.75rem;flex-shrink:0;align-items:center;justify-content:center;border-radius:.5rem;color:var(--text-muted);cursor:pointer}.sc-close:hover{background:var(--surface-hover);color:var(--text-primary)}.sc-correction-hint{margin-top:.125rem;font-size:.75rem;line-height:1.5;color:var(--text-muted)}.sc-suggestions{display:flex;flex-wrap:wrap;gap:.5rem;margin-top:.75rem}.sc-suggestions>button{flex:1 1 28%;min-width:0;min-height:2.75rem;padding:.5rem;border:1px solid var(--border);border-radius:.5rem;background:var(--primary-soft);color:var(--text-primary);font-size:.875rem;font-weight:600;overflow-wrap:anywhere;cursor:pointer}.sc-suggestions>button:hover{background:var(--surface-hover);border-color:var(--primary)}.sc-suggestions>button:active{background:var(--surface-muted)}.sc-ignore{display:flex;width:100%;margin-top:.5rem;color:var(--text-muted);text-decoration:underline;text-underline-offset:.2rem}.sc-punctuation-message{margin-block:.5rem .75rem;font-size:.875rem;line-height:1.6}.sc-manual{width:100%}.sc-feedback{padding-inline:1rem}.sc-feedback:empty{display:none}.sc-error,.sc-dirty{margin-bottom:.875rem;font-size:.875rem;line-height:1.6}.sc-error{color:var(--primary);font-weight:600}.sc-dirty{color:var(--text-muted)}.sc-load-error{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.5rem;margin-bottom:1rem;padding:.75rem;border:1px solid var(--border);border-radius:.5rem;font-size:.875rem;line-height:1.6;background:var(--surface-muted)}.sc-load-error .sc-text-action{text-decoration:underline;text-underline-offset:.2rem}.sc-footer{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem 1.25rem;margin-inline:1rem;padding-block:1rem .5rem;border-top:1px solid var(--border)}.sc-summary{display:flex;width:100%;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:.25rem .75rem;font-size:.875rem;line-height:1.5;color:var(--text-muted)}.sc-summary strong{margin-left:.25rem;color:var(--text-primary)}.sc-navigation{display:inline-flex;align-items:center;gap:.375rem}.sc-arrow{display:inline-flex;width:2.75rem;height:2.75rem;align-items:center;justify-content:center;border:1px solid var(--border);border-radius:.5rem;background:var(--surface);color:var(--primary);cursor:pointer}.sc-arrow:hover{border-color:var(--primary);background:var(--surface-hover)}.sc-arrow:active{background:var(--primary-soft)}.sc-index{min-width:2.25rem;text-align:center;font-size:.75rem;font-variant-numeric:tabular-nums}.sc-limit{order:3;font-size:.75rem;line-height:1.5;color:var(--text-muted)}.sc-actions{display:grid;width:100%;gap:.5rem}.sc-actions button{min-width:0;padding-inline:.75rem;border-radius:.5rem}.sc-actions .btn-primary[aria-disabled=true]{opacity:.6;cursor:wait}.sc-copy-status{order:4;width:100%;min-height:1.25rem;font-size:.75rem;line-height:1.5;color:var(--text-muted)}.sc-copy-fallback{position:fixed;top:0;left:0;width:1px;height:1px;opacity:0}.sc-privacy{display:flex;justify-content:center;align-items:flex-start;gap:.5rem;margin-top:1rem;font-size:.75rem;line-height:1.7;color:var(--text-muted)}.sc-privacy svg{width:1.125rem;height:1.125rem;flex-shrink:0;margin-top:.0625rem}.sc-instructions{margin-top:2.5rem}.sc-steps{display:grid;gap:1.25rem;margin-top:1.5rem}.sc-step{display:flex;align-items:flex-start;gap:1rem;min-width:0}.sc-step-number{display:flex;flex-shrink:0;width:2.5rem;height:2.5rem;justify-content:center;align-items:center;border-radius:50%;background:var(--primary-soft);color:var(--primary);font-weight:700}.sc-step h3{font-size:.875rem;line-height:1.5;font-weight:700}.sc-step p{margin-top:.25rem;font-size:.875rem;line-height:1.7;color:var(--text-muted)}.sc-page section[aria-label=Важно]{border:0;background:transparent;padding:0}@media(min-width:40rem){.sc-actions{display:flex;width:auto}}@media(min-width:48rem){.sc-page{padding-top:2rem}.sc-page>nav{margin-bottom:1.5rem}.sc-page>section[aria-labelledby=tool-title]{padding-bottom:1.5rem}.sc-page #tool-title{font-size:2.25rem}.sc-toolbar{padding:1rem 1.5rem}.sc-tools{width:auto;gap:.25rem;margin-left:auto}.sc-input-wrap{padding:1.5rem}.sc-input{min-height:17rem}.sc-document{min-height:var(--sc-document-height, 0)}.sc-review{min-height:25rem;font-size:1.125rem;padding:1.5rem 2rem}.sc-correction{position:absolute;z-index:5;margin:0;max-height:min(24rem,65vh)}.sc-footer{margin-inline:1.5rem;gap:.75rem 1rem}.sc-summary{width:auto;justify-content:flex-start}.sc-limit{order:0;margin-left:auto}.sc-actions{margin-left:auto}.sc-copy-status{min-height:1rem}.sc-feedback{padding-inline:1.5rem}.sc-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.5rem}.sc-step+.sc-step{border-left:1px solid var(--border);padding-left:1.5rem}}@media(max-width:47.999rem){.sc-correction{width:auto!important}}@media(max-width:39.999rem)and (max-height:43.75rem){.sc-page{padding-top:.5rem}.sc-page>nav{margin-bottom:.5rem}.sc-page>section[aria-labelledby=tool-title]{padding-bottom:.875rem}.sc-page #tool-title{font-size:1.625rem}.sc-page #tool-title+p{font-size:.875rem;margin-top:.375rem}.sc-toolbar{padding:.5rem .75rem;gap:.25rem}.sc-tools{gap:0}.sc-input-wrap{padding:.5rem .75rem}.sc-input{min-height:4.5rem;line-height:1.6}.sc-review{min-height:7rem;padding:.75rem}.sc-footer{margin-inline:.75rem;padding-top:.75rem;gap:.5rem}.sc-summary{font-size:.75rem}}
