/* =========================================================
   REMOVE DUPLICATE WORDS
   CharacterCounter.com
   remove-duplicate-words.css
   ========================================================= */


/* =========================================================
   BASE STYLES
   ========================================================= */

html {
    margin: 0;
    padding: 0;
    border: 0;
    font-family: "Roboto", Arial, sans-serif;
}

.rdw-page {
    width: 100%;
    padding: 105px 24px 40px;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

.rdw-page,
.rdw-page *,
.rdw-page *::before,
.rdw-page *::after {
    box-sizing: border-box;
}

.rdw-page [hidden] {
    display: none !important;
}

.rdw-page button,
.rdw-page textarea,
.rdw-page select,
.rdw-page input {
    font-family: "Roboto", Arial, sans-serif;
}

.rdw-page a {
    color: #1155cc;
    text-decoration: none;
}

.rdw-page a:hover {
    text-decoration: underline;
}

.rdw-page button,
.rdw-page select,
.rdw-page textarea,
.rdw-page input {
    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   MAIN PAGE LAYOUT
   ========================================================= */

.rdw-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: start;
    gap: 28px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.rdw-main {
    width: 100%;
    min-width: 0;
}

.rdw-tool {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   PAGE HEADING
   ========================================================= */

.rdw-heading {
    width: 100%;
    margin: 0 0 24px;
    text-align: center;
}

.rdw-heading h1 {
    margin: 0 0 10px;
    padding: 0;
    color: #333;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;
    overflow-wrap: break-word;
}

.rdw-intro {
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    color: #555;
    font-size: 17px;
    line-height: 1.55;
    text-align: center;
}


/* =========================================================
   WORKSPACE

   Desktop:
   Your Text       | Cleaned Text
   Settings        | Statistics

   Mobile:
   Your Text
   Cleaned Text
   Settings
   Statistics
   ========================================================= */

.rdw-workspace {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
        "input output"
        "settings statistics";
    align-items: start;
    gap: 24px 18px;
    width: 100%;
    min-width: 0;
}

.rdw-input-panel {
    grid-area: input;
}

.rdw-output-panel {
    grid-area: output;
}

.rdw-settings-panel {
    grid-area: settings;
}

.rdw-statistics-panel {
    grid-area: statistics;
}

.rdw-input-panel,
.rdw-output-panel,
.rdw-settings-panel,
.rdw-statistics-panel {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   TEXTAREA HEADINGS
   ========================================================= */

.rdw-panel-title {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}


/* =========================================================
   TEXTAREA WRAPPERS
   ========================================================= */

.rdw-input-wrapper,
.rdw-output-wrapper {
    position: relative;
    display: block;
    width: 100%;
    min-width: 0;
}


/* =========================================================
   INPUT AND OUTPUT TEXTAREAS
   ========================================================= */

.rdw-page .rdw-textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 300px;
    min-height: 48px;
    margin: 0;
    padding: 16px 17px;
    border: 2px solid #c9ced6;
    border-radius: 9px;
    outline: none;
    background-color: #fff;
    color: #222;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    font-weight: 400;
    text-align: left;
    resize: vertical;
    overflow-y: auto;
    overflow-x: hidden;
    white-space: pre-wrap;
    overflow-wrap: break-word;
    tab-size: 4;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.rdw-page .rdw-textarea:hover {
    border-color: #aeb5bf;
}

.rdw-page .rdw-textarea:focus {
    border-color: #5f6368;
    box-shadow: 0 0 0 2px rgba(95, 99, 104, 0.08);
}

.rdw-page .rdw-textarea::placeholder {
    color: #8a8f98;
    opacity: 1;
}

.rdw-page .rdw-input {
    background-color: #fff;
}

.rdw-page .rdw-output,
.rdw-page .rdw-output[readonly] {
    background-color: #fff;
    color: #222;
    cursor: text;
    opacity: 1;
}

.rdw-page .rdw-textarea::selection {
    background-color: #d6e7ff;
    color: #222;
}


/* =========================================================
   TEXTAREA SCROLLBARS
   ========================================================= */

.rdw-page .rdw-textarea {
    scrollbar-width: thin;
    scrollbar-color: #b9bec6 #f5f6f7;
}

.rdw-page .rdw-textarea::-webkit-scrollbar {
    width: 10px;
}

.rdw-page .rdw-textarea::-webkit-scrollbar-track {
    background: #f5f6f7;
    border-radius: 5px;
}

.rdw-page .rdw-textarea::-webkit-scrollbar-thumb {
    background: #b9bec6;
    border: 2px solid #f5f6f7;
    border-radius: 6px;
}

.rdw-page .rdw-textarea::-webkit-scrollbar-thumb:hover {
    background: #9299a3;
}


/* =========================================================
   TEXTAREA TOOLBARS
   ========================================================= */

.rdw-input-toolbar,
.rdw-output-toolbar {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    min-height: 38px;
    margin-top: 10px;
}

.rdw-input-toolbar {
    justify-content: flex-end;
}

.rdw-output-toolbar {
    justify-content: flex-end;
}


/* =========================================================
   SHARED BUTTON STYLES
   ========================================================= */

.rdw-page .rdw-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    gap: 7px;
    min-width: 82px;
    min-height: 38px;
    margin: 0;
    padding: 9px 13px;
    border: 1px solid transparent;
    border-radius: 6px;
    outline: none;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    cursor: pointer;
    user-select: none;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        opacity 0.15s ease;
}

.rdw-page .rdw-button i {
    display: inline-block;
    flex-shrink: 0;
    font-size: 16px;
    line-height: 1;
}

.rdw-page .rdw-button span {
    display: inline-block;
}

.rdw-page .rdw-button:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 3px;
}

.rdw-page .rdw-button:disabled {
    cursor: not-allowed;
}


/* =========================================================
   SECONDARY BUTTONS

   Clear
   Download TXT
   ========================================================= */

.rdw-page .rdw-button-secondary {
    border-color: #d1d5db;
    background-color: #f4f5f7;
    color: #444;
}

.rdw-page .rdw-button-secondary:hover:not(:disabled) {
    border-color: #b4bac3;
    background-color: #e9ecf0;
    color: #222;
}

.rdw-page .rdw-button-secondary:active:not(:disabled) {
    background-color: #e0e4e9;
}

.rdw-page .rdw-button-secondary:disabled {
    border-color: #e1e4e8;
    background-color: #f6f7f8;
    color: #a1a5ab;
}


/* =========================================================
   PRIMARY COPY BUTTON
   ========================================================= */

.rdw-page .rdw-button-primary {
    min-width: 88px;
    border-color: #287a38;
    background-color: #287a38;
    color: #fff;
}

.rdw-page .rdw-button-primary:hover:not(:disabled) {
    border-color: #21672f;
    background-color: #21672f;
}

.rdw-page .rdw-button-primary:active:not(:disabled) {
    background-color: #1c5928;
}

.rdw-page .rdw-button-primary:disabled {
    border-color: #a2c3a8;
    background-color: #a2c3a8;
    color: #fff;
}

.rdw-page .rdw-button-primary.is-copied {
    border-color: #1d632e;
    background-color: #1d632e;
    color: #fff;
}

.rdw-page #rdwCopyLabel {
    min-width: 40px;
}


/* =========================================================
   SETTINGS PANEL
   ========================================================= */

.rdw-settings-panel {
    align-self: start;
    margin: 0;
    padding: 0;
}

.rdw-mode-settings {
    width: 100%;
    margin: 0;
}

.rdw-settings-title {
    display: block;
    margin: 0 0 9px;
    padding: 0;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}


/* =========================================================
   REMOVAL MODE SELECT
   ========================================================= */

.rdw-select-wrapper {
    position: relative;
    width: 100%;
    min-width: 0;
}

.rdw-page .rdw-select {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    padding: 11px 36px 11px 12px;
    border: 1px solid #c9ced6;
    border-radius: 6px;
    outline: none;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 11px center;
    background-size: 18px;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 400;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.rdw-page .rdw-select:hover {
    border-color: #a8aeb8;
}

.rdw-page .rdw-select:focus {
    border-color: #5f6368;
    box-shadow: 0 0 0 2px rgba(95, 99, 104, 0.08);
}

.rdw-page .rdw-select:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

.rdw-page .rdw-select option {
    color: #333;
    background-color: #fff;
}


/* =========================================================
   REMOVAL MODE DESCRIPTION
   ========================================================= */

.rdw-mode-description {
    margin: 9px 0 0;
    padding: 0;
    color: #666;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
}


/* =========================================================
   ADDITIONAL OPTIONS
   ========================================================= */

.rdw-additional-settings {
    width: 100%;
    margin-top: 22px;
}

.rdw-additional-settings .rdw-settings-title {
    margin-bottom: 13px;
}

.rdw-checkbox-list {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
    width: 100%;
}


/* =========================================================
   CHECKBOX OPTIONS
   ========================================================= */

.rdw-checkbox-option {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #333;
    cursor: pointer;
    user-select: none;
}

.rdw-checkbox-option input[type="checkbox"] {
    display: inline-block;
    position: static;
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    margin: 2px 0 0;
    padding: 0;
    border-radius: 3px;
    accent-color: #1a73e8;
    cursor: pointer;
    appearance: auto;
    -webkit-appearance: checkbox;
}

.rdw-checkbox-option input[type="checkbox"]:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 3px;
}

.rdw-checkbox-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.rdw-checkbox-label {
    display: block;
    color: #333;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 500;
}

.rdw-checkbox-description {
    display: block;
    color: #666;
    font-size: 13px;
    line-height: 1.45;
    font-weight: 400;
}

.rdw-checkbox-option:hover .rdw-checkbox-label {
    color: #111;
}


/* =========================================================
   STATISTICS PANEL
   ========================================================= */

.rdw-statistics-panel {
    align-self: start;
    width: 100%;
    min-width: 0;
    margin: 0;
}

.rdw-statistics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 9px;
    width: 100%;
    min-width: 0;
}


/* =========================================================
   STATISTIC BOXES

   Original Words
   Remaining Words
   Removed Words
   ========================================================= */

.rdw-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-width: 0;
    min-height: 94px;
    margin: 0;
    padding: 13px 6px;
    border: 1px solid #dce1e7;
    border-radius: 8px;
    background-color: #f7f8fa;
    text-align: center;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease;
}

.rdw-stat-value {
    display: block;
    width: 100%;
    max-width: 100%;
    color: #1a73e8;
    font-size: 29px;
    line-height: 1.15;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    text-align: center;
    overflow-wrap: anywhere;
}

.rdw-stat-label {
    display: block;
    color: #555;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
    text-align: center;
    overflow-wrap: break-word;
}


/* =========================================================
   REMOVED WORDS HIGHLIGHT
   ========================================================= */

.rdw-stat-removed.has-removals,
.rdw-statistics.has-removals .rdw-stat-removed,
.rdw-tool.has-removals .rdw-stat-removed {
    border-color: #c9dfcd;
    background-color: #f2f8f3;
}

.rdw-stat-removed.has-removals .rdw-stat-value,
.rdw-statistics.has-removals .rdw-stat-removed .rdw-stat-value,
.rdw-tool.has-removals .rdw-stat-removed .rdw-stat-value,
.rdw-stat-value.has-removals {
    color: #287a38;
}


/* =========================================================
   TOOL NOTICES
   ========================================================= */

.rdw-notice {
    display: block;
    width: 100%;
    margin: 18px 0 0;
    padding: 11px 14px;
    border: 1px solid #d6e1ef;
    border-radius: 7px;
    background-color: #f5f9ff;
    color: #3b526e;
    font-size: 14px;
    line-height: 1.5;
    overflow-wrap: break-word;
}

.rdw-notice:empty {
    display: none;
}

.rdw-notice.is-error {
    border-color: #e8caca;
    background-color: #fff5f5;
    color: #a33c3c;
}

.rdw-tool noscript .rdw-notice {
    margin: 0 0 16px;
    border-color: #e6d7ac;
    background-color: #fffaf0;
    color: #705c2f;
}


/* =========================================================
   ACCESSIBLE LIVE STATUS
   ========================================================= */

.rdw-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


/* =========================================================
   INFORMATIONAL ARTICLE

   Narrower than the maximum tool layout for readability.
   ========================================================= */

.rdw-article {
    width: 100%;
    max-width: 950px;
    min-width: 0;
    margin: 40px auto 0;
    padding: 0;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 17px;
    line-height: 1.7;
    text-align: left;
    overflow-wrap: break-word;
}

.rdw-article-section {
    width: 100%;
    min-width: 0;
    margin: 0 0 34px;
    padding: 0;
}

.rdw-article h2 {
    margin: 0 0 14px;
    padding: 0;
    color: #292929;
    font-size: 26px;
    line-height: 1.3;
    font-weight: 700;
}

.rdw-article h3 {
    margin: 23px 0 10px;
    padding: 0;
    color: #333;
    font-size: 20px;
    line-height: 1.4;
    font-weight: 700;
}

.rdw-article h4 {
    margin: 0 0 8px;
    padding: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.rdw-article p {
    margin: 0 0 16px;
    padding: 0;
    color: #444;
    font-size: 17px;
    line-height: 1.7;
    font-weight: 400;
}

.rdw-article strong {
    color: #333;
    font-weight: 700;
}

.rdw-article a {
    color: #1155cc;
    text-decoration: none;
}

.rdw-article a:hover {
    text-decoration: underline;
}

.rdw-article a strong {
    color: inherit;
}

.rdw-article-section > :last-child {
    margin-bottom: 0;
}


/* =========================================================
   ARTICLE LISTS
   ========================================================= */

.rdw-article ul,
.rdw-article ol {
    margin: 10px 0 20px 26px;
    padding: 0;
    color: #444;
    list-style-position: outside;
}

.rdw-article ul,
.rdw-article ul li {
    list-style-type: disc;
}

.rdw-article ol,
.rdw-article ol li {
    list-style-type: decimal;
}

.rdw-article li {
    margin: 0 0 8px;
    padding-left: 3px;
    color: #444;
    font-size: 17px;
    line-height: 1.65;
}

.rdw-article .rdw-step-list {
    margin: 12px 0 20px 26px;
}

.rdw-article .rdw-step-list li {
    margin-bottom: 9px;
}


/* =========================================================
   ARTICLE INLINE CODE
   ========================================================= */

.rdw-article code {
    padding: 2px 5px;
    border-radius: 4px;
    background-color: #f0f2f5;
    color: #333;
    font-family: Consolas, "Liberation Mono", monospace;
    font-size: 0.9em;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* =========================================================
   ORIGINAL / CLEANED TEXT EXAMPLES
   ========================================================= */

.rdw-example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 14px;
    width: 100%;
    margin: 16px 0 19px;
}

.rdw-example-card {
    min-width: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: 1px solid #dce1e7;
    border-radius: 8px;
    background-color: #fafbfc;
}

.rdw-example-card h4 {
    margin: 0;
    padding: 10px 13px;
    border-bottom: 1px solid #dce1e7;
    background-color: #f1f3f6;
    color: #444;
    font-size: 14px;
    line-height: 1.4;
    font-weight: 600;
}

.rdw-example-result {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 14px 13px;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
    white-space: normal;
    overflow-wrap: anywhere;
}

.rdw-example-card pre.rdw-example-result {
    font-family: Consolas, "Liberation Mono", monospace;
    font-size: 14px;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.rdw-example-card p.rdw-example-result {
    margin: 0;
}


/* =========================================================
   INFORMATION BOXES
   ========================================================= */

.rdw-info-box {
    width: 100%;
    margin: 19px 0;
    padding: 14px 16px;
    border: 1px solid #d6e1ef;
    border-left: 4px solid #5b89c2;
    border-radius: 7px;
    background-color: #f6f9fd;
}

.rdw-info-box p {
    margin: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.6;
}

.rdw-info-box p + p {
    margin-top: 9px;
}

.rdw-info-warning {
    border-color: #e9dbb8;
    border-left-color: #c69a44;
    background-color: #fffaf0;
}

.rdw-info-warning p {
    color: #66532e;
}

.rdw-info-warning strong {
    color: #5b4826;
}


/* =========================================================
   ARTICLE TABLE WRAPPERS
   ========================================================= */

.rdw-table-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 19px 0 21px;
    overflow-x: auto;
    overflow-y: hidden;
    border: 1px solid #dce1e7;
    border-radius: 8px;
    background-color: #fff;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: #b9bec6 #f5f6f7;
}

.rdw-table-wrapper::-webkit-scrollbar {
    height: 9px;
}

.rdw-table-wrapper::-webkit-scrollbar-track {
    background-color: #f5f6f7;
}

.rdw-table-wrapper::-webkit-scrollbar-thumb {
    background-color: #b9bec6;
    border: 2px solid #f5f6f7;
    border-radius: 6px;
}


/* =========================================================
   ARTICLE TABLES
   ========================================================= */

.rdw-content-table {
    width: 100%;
    min-width: 500px;
    margin: 0;
    border: 0;
    border-collapse: collapse;
    border-spacing: 0;
    table-layout: fixed;
    text-align: left;
}

.rdw-content-table th,
.rdw-content-table td {
    padding: 12px 14px;
    border: 0;
    border-right: 1px solid #e2e6eb;
    border-bottom: 1px solid #e2e6eb;
    color: #444;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
    vertical-align: top;
    overflow-wrap: anywhere;
}

.rdw-content-table th {
    background-color: #f1f3f6;
    color: #333;
    font-weight: 600;
}

.rdw-content-table td {
    background-color: #fff;
    font-weight: 400;
}

.rdw-content-table tbody tr:nth-child(even) td {
    background-color: #fafbfc;
}

.rdw-content-table tr > :last-child {
    border-right: 0;
}

.rdw-content-table tbody tr:last-child td {
    border-bottom: 0;
}


/* =========================================================
   EXAMPLES TABLE
   ========================================================= */

.rdw-examples-table {
    min-width: 540px;
}

.rdw-examples-table th:first-child,
.rdw-examples-table td:first-child {
    width: 36%;
}

.rdw-examples-table th:nth-child(2),
.rdw-examples-table td:nth-child(2) {
    width: 32%;
}

.rdw-examples-table th:last-child,
.rdw-examples-table td:last-child {
    width: 32%;
}

.rdw-examples-table td:first-child,
.rdw-examples-table td:last-child {
    white-space: pre-wrap;
}


/* =========================================================
   WORD COUNT DEFINITION CARDS
   ========================================================= */

.rdw-definition-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 13px;
    width: 100%;
    margin: 17px 0 19px;
}

.rdw-definition-card {
    min-width: 0;
    margin: 0;
    padding: 15px;
    border: 1px solid #dce1e7;
    border-radius: 8px;
    background-color: #fafbfc;
}

.rdw-definition-card h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 16px;
    line-height: 1.4;
    font-weight: 600;
}

.rdw-definition-card p {
    margin: 0;
    color: #555;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   WORD COUNT FORMULA
   ========================================================= */

.rdw-formula-box {
    width: 100%;
    margin: 19px 0;
    padding: 16px 14px;
    border: 1px solid #d6e2ef;
    border-radius: 8px;
    background-color: #f5f9ff;
    color: #344d6d;
    font-size: 16px;
    line-height: 1.5;
    text-align: center;
    overflow-wrap: break-word;
}

.rdw-formula-box strong {
    color: #344d6d;
    font-size: inherit;
    font-weight: 600;
}


/* =========================================================
   USE CASE CARDS
   ========================================================= */

.rdw-use-case-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 13px;
    width: 100%;
    margin: 17px 0 19px;
}

.rdw-use-case-card {
    min-width: 0;
    margin: 0;
    padding: 16px;
    border: 1px solid #dce1e7;
    border-radius: 8px;
    background-color: #fafbfc;
}

.rdw-use-case-card h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 17px;
    line-height: 1.4;
    font-weight: 600;
}

.rdw-use-case-card p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}


/* =========================================================
   FREQUENTLY ASKED QUESTIONS
   ========================================================= */

.rdw-faq-section {
    width: 100%;
    min-width: 0;
    margin: 38px 0 0;
}

.rdw-faq-section > h2 {
    margin-bottom: 17px;
}

.rdw-faq-list {
    width: 100%;
    margin: 0;
    padding: 0;
}

.rdw-faq-item {
    width: 100%;
    margin: 0;
    padding: 17px 0;
    border-bottom: 1px solid #e1e4e8;
}

.rdw-faq-item:first-child {
    border-top: 1px solid #e1e4e8;
}

.rdw-faq-item h3 {
    margin: 0 0 8px;
    color: #333;
    font-size: 18px;
    line-height: 1.4;
    font-weight: 700;
}

.rdw-faq-item p {
    margin: 0;
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}


/* =========================================================
   RELATED TOOLS SECTION
   ========================================================= */

.rdw-related-section {
    width: 100%;
    min-width: 0;
    margin: 36px 0 0;
}

.rdw-related-section > h2 {
    margin: 0 0 17px;
}


/* =========================================================
   RELATED TOOLS GRID
   ========================================================= */

.rdw-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 12px;
    width: 100%;
}


/* =========================================================
   RELATED TOOL CARDS
   ========================================================= */

.rdw-page .rdw-related-card {
    display: block;
    min-width: 0;
    margin: 0;
    padding: 15px;
    border: 1px solid #dce1e7;
    border-radius: 8px;
    background-color: #fff;
    color: #1155cc;
    text-decoration: none;
    transition:
        border-color 0.15s ease,
        background-color 0.15s ease,
        box-shadow 0.15s ease;
}

.rdw-page .rdw-related-card:hover {
    border-color: #b7c9e1;
    background-color: #f8fbff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.04);
    text-decoration: none;
}

.rdw-page .rdw-related-card:focus-visible {
    outline: 2px solid #1a73e8;
    outline-offset: 2px;
}

.rdw-related-card h3 {
    margin: 0 0 7px;
    color: #1155cc;
    font-size: 15px;
    line-height: 1.4;
    font-weight: 600;
}

.rdw-related-card p {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.55;
}

.rdw-related-card:hover h3 {
    text-decoration: underline;
}


/* =========================================================
   300PX ADVERTISING SIDEBAR
   ========================================================= */

.rdw-layout > .rdw-sidebar,
.rdw-layout > #sidebar {
    display: block;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
    min-height: 600px;
    margin: 0;
    padding: 0;
    align-self: start;
}


/* =========================================================
   LARGE DESKTOP SCREENS
   ========================================================= */

@media only screen and (min-width: 1600px) {

    .rdw-page {
        padding-left: 32px;
        padding-right: 32px;
    }

    .rdw-layout {
        max-width: 1400px;
        gap: 30px;
    }

    .rdw-workspace {
        column-gap: 20px;
    }

    .rdw-page .rdw-textarea {
        height: 320px;
    }

    .rdw-article {
        max-width: 950px;
    }

}


/* =========================================================
   STANDARD DESKTOP
   ========================================================= */

@media only screen and (min-width: 1200px)
and (max-width: 1399px) {

    .rdw-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rdw-layout {
        gap: 24px;
    }

    .rdw-workspace {
        column-gap: 16px;
    }

    .rdw-page .rdw-textarea {
        height: 285px;
    }

    .rdw-statistics {
        gap: 7px;
    }

    .rdw-stat-card {
        padding-left: 5px;
        padding-right: 5px;
    }

    .rdw-stat-value {
        font-size: 27px;
    }

    .rdw-stat-label {
        font-size: 12px;
    }

}


/* =========================================================
   TABLET / SMALL DESKTOP

   Hide sidebar below 1200px.
   Keep input and output side-by-side.
   ========================================================= */

@media only screen and (max-width: 1199px) {

    .rdw-page {
        padding-left: 20px;
        padding-right: 20px;
    }

    .rdw-layout {
        grid-template-columns: minmax(0, 1fr);
        max-width: 1100px;
        gap: 0;
    }

    .rdw-layout > .rdw-sidebar,
    .rdw-layout > #sidebar {
        display: none !important;
        width: 0;
        min-width: 0;
        min-height: 0;
    }

    .rdw-page .rdw-textarea {
        height: 290px;
    }

    .rdw-article {
        max-width: 950px;
    }

}


/* =========================================================
   MEDIUM TABLETS
   ========================================================= */

@media only screen and (max-width: 991px) {

    .rdw-page {
        padding: 100px 18px 32px;
    }

    .rdw-heading h1 {
        font-size: 30px;
    }

    .rdw-intro {
        max-width: 720px;
        font-size: 16px;
    }

    .rdw-workspace {
        gap: 22px 16px;
    }

    .rdw-page .rdw-textarea {
        height: 270px;
    }

    .rdw-stat-value {
        font-size: 27px;
    }

    .rdw-stat-label {
        font-size: 12px;
    }

    .rdw-article h2 {
        font-size: 24px;
    }

    .rdw-article h3 {
        font-size: 19px;
    }

    .rdw-article p,
    .rdw-article li {
        font-size: 16px;
    }

    .rdw-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE LAYOUT

   Stack in the following order:

   1. Your Text
   2. Cleaned Text
   3. Settings
   4. Statistics
   ========================================================= */

@media only screen and (max-width: 767px) {

    .rdw-page {
        padding: 98px 14px 30px;
    }

    .rdw-layout {
        max-width: 100%;
    }

    .rdw-heading {
        margin-bottom: 21px;
    }

    .rdw-heading h1 {
        font-size: 29px;
    }

    .rdw-intro {
        max-width: 580px;
        font-size: 16px;
        line-height: 1.55;
    }

    .rdw-workspace {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "input"
            "output"
            "settings"
            "statistics";
        gap: 20px;
    }

    .rdw-panel-title {
        margin-bottom: 7px;
        font-size: 15px;
    }

    .rdw-page .rdw-textarea {
        height: 230px;
        min-height: 48px;
        padding: 14px;
        font-size: 16px;
        line-height: 1.55;
    }

    .rdw-input-toolbar,
    .rdw-output-toolbar {
        margin-top: 8px;
    }

    .rdw-settings-panel {
        margin-top: 1px;
    }

    .rdw-additional-settings {
        margin-top: 20px;
    }

    .rdw-statistics-panel {
        margin-top: 1px;
    }

    .rdw-stat-card {
        min-height: 88px;
        padding: 12px 8px;
    }

    .rdw-stat-value {
        font-size: 28px;
    }

    .rdw-stat-label {
        font-size: 13px;
    }

    .rdw-article {
        max-width: none;
        margin-top: 34px;
    }

    .rdw-article-section {
        margin-bottom: 29px;
    }

    .rdw-definition-grid {
        gap: 9px;
    }

    .rdw-definition-card {
        padding: 12px;
    }

    .rdw-definition-card h3 {
        font-size: 15px;
    }

    .rdw-definition-card p {
        font-size: 13px;
    }

}


/* =========================================================
   MOBILE PHONES
   ========================================================= */

@media only screen and (max-width: 600px) {

    .rdw-page {
        padding: 96px 11px 26px;
    }

    .rdw-heading {
        margin-bottom: 19px;
    }

    .rdw-heading h1 {
        margin-bottom: 8px;
        font-size: 27px;
        line-height: 1.25;
    }

    .rdw-intro {
        font-size: 15px;
        line-height: 1.5;
    }

    .rdw-workspace {
        gap: 19px;
    }

    .rdw-panel-title {
        margin-bottom: 6px;
        font-size: 15px;
    }

    .rdw-page .rdw-textarea {
        height: 205px;
        min-height: 48px;
        padding: 13px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 1.55;
    }

    .rdw-input-toolbar,
    .rdw-output-toolbar {
        min-height: 36px;
        margin-top: 8px;
        gap: 7px;
    }

    .rdw-page .rdw-button {
        min-width: 76px;
        min-height: 37px;
        padding: 8px 11px;
        font-size: 13px;
    }

    .rdw-page .rdw-button i {
        font-size: 15px;
    }

    .rdw-page .rdw-button-primary {
        min-width: 84px;
    }

    .rdw-settings-title {
        font-size: 15px;
    }

    .rdw-page .rdw-select {
        min-height: 44px;
        font-size: 16px;
    }

    .rdw-mode-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .rdw-additional-settings {
        margin-top: 19px;
    }

    .rdw-additional-settings .rdw-settings-title {
        margin-bottom: 11px;
    }

    .rdw-checkbox-list {
        gap: 14px;
    }

    .rdw-checkbox-option {
        gap: 9px;
    }

    .rdw-checkbox-option input[type="checkbox"] {
        flex-basis: 17px;
        width: 17px;
        height: 17px;
    }

    .rdw-checkbox-label {
        font-size: 14px;
    }

    .rdw-checkbox-description {
        font-size: 12px;
    }

    .rdw-statistics {
        gap: 7px;
    }

    .rdw-stat-card {
        min-height: 82px;
        padding: 11px 5px;
        gap: 6px;
        border-radius: 7px;
    }

    .rdw-stat-value {
        font-size: 25px;
    }

    .rdw-stat-label {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 2.6em;
        font-size: 12px;
        line-height: 1.3;
    }

    .rdw-notice {
        margin-top: 15px;
        padding: 10px 12px;
        font-size: 13px;
    }

    /* ARTICLE */

    .rdw-article {
        margin-top: 30px;
        font-size: 16px;
        line-height: 1.65;
    }

    .rdw-article-section {
        margin-bottom: 28px;
    }

    .rdw-article h2 {
        margin-bottom: 11px;
        font-size: 22px;
        line-height: 1.35;
    }

    .rdw-article h3 {
        margin-top: 20px;
        margin-bottom: 8px;
        font-size: 18px;
    }

    .rdw-article p,
    .rdw-article li {
        font-size: 16px;
        line-height: 1.65;
    }

    .rdw-article p {
        margin-bottom: 14px;
    }

    .rdw-article ul,
    .rdw-article ol,
    .rdw-article .rdw-step-list {
        margin-left: 22px;
    }

    /* EXAMPLES */

    .rdw-example-grid {
        gap: 9px;
        margin-top: 13px;
        margin-bottom: 16px;
    }

    .rdw-example-card h4 {
        padding: 9px 10px;
        font-size: 13px;
    }

    .rdw-example-result {
        padding: 11px 10px;
        font-size: 14px;
    }

    .rdw-example-card pre.rdw-example-result {
        font-size: 13px;
    }

    /* INFORMATION BOXES */

    .rdw-info-box {
        margin-top: 16px;
        margin-bottom: 16px;
        padding: 12px;
    }

    .rdw-info-box p {
        margin: 0;
        font-size: 14px;
        line-height: 1.6;
    }

    /* TABLES */

    .rdw-table-wrapper {
        margin-top: 16px;
        margin-bottom: 17px;
    }

    .rdw-content-table th,
    .rdw-content-table td {
        padding: 10px 11px;
        font-size: 13px;
    }

    /* DEFINITION CARDS */

    .rdw-definition-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
        margin-top: 14px;
        margin-bottom: 16px;
    }

    .rdw-definition-card {
        padding: 13px;
    }

    .rdw-definition-card h3 {
        margin: 0 0 6px;
        font-size: 15px;
    }

    .rdw-definition-card p {
        margin: 0;
        font-size: 14px;
        line-height: 1.55;
    }

    /* FORMULA */

    .rdw-formula-box {
        margin: 16px 0;
        padding: 13px 10px;
        font-size: 14px;
    }

    /* USE CASES */

    .rdw-use-case-grid {
        gap: 9px;
        margin-top: 14px;
        margin-bottom: 16px;
    }

    .rdw-use-case-card {
        padding: 12px;
    }

    .rdw-use-case-card h3 {
        margin: 0 0 7px;
        font-size: 15px;
    }

    .rdw-use-case-card p {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
    }

    /* FAQ */

    .rdw-faq-section {
        margin-top: 30px;
    }

    .rdw-faq-section > h2 {
        margin-bottom: 14px;
    }

    .rdw-faq-item {
        padding: 14px 0;
    }

    .rdw-faq-item h3 {
        margin: 0 0 7px;
        font-size: 17px;
        line-height: 1.4;
    }

    .rdw-faq-item p {
        margin: 0;
        font-size: 15px;
        line-height: 1.65;
    }

    /* RELATED TOOLS */

    .rdw-related-section {
        margin-top: 30px;
    }

    .rdw-related-section > h2 {
        margin-bottom: 14px;
    }

    .rdw-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
    }

    .rdw-page .rdw-related-card {
        padding: 12px;
        border-radius: 7px;
    }

    .rdw-related-card h3 {
        margin: 0 0 6px;
        font-size: 14px;
    }

    .rdw-related-card p {
        margin: 0;
        font-size: 12px;
        line-height: 1.55;
    }

}


/* =========================================================
   SMALL MOBILE PHONES
   ========================================================= */

@media only screen and (max-width: 390px) {

    .rdw-page {
        padding-left: 9px;
        padding-right: 9px;
    }

    .rdw-heading h1 {
        font-size: 26px;
    }

    .rdw-intro {
        font-size: 14px;
    }

    .rdw-page .rdw-textarea {
        height: 195px;
        padding: 12px;
    }

    .rdw-workspace {
        gap: 18px;
    }

    .rdw-statistics {
        gap: 5px;
    }

    .rdw-stat-card {
        min-height: 78px;
        padding: 10px 4px;
    }

    .rdw-stat-value {
        font-size: 23px;
    }

    .rdw-stat-label {
        font-size: 11px;
    }

    .rdw-article h2 {
        font-size: 21px;
    }

    .rdw-example-grid {
        gap: 7px;
    }

    .rdw-example-result {
        font-size: 13px;
    }

    .rdw-use-case-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rdw-use-case-card p {
        font-size: 14px;
    }

    .rdw-related-grid {
        gap: 7px;
    }

    .rdw-page .rdw-related-card {
        padding: 10px;
    }

    .rdw-related-card h3 {
        font-size: 13px;
    }

}


/* =========================================================
   EXTRA NARROW SCREENS
   ========================================================= */

@media only screen and (max-width: 320px) {

    .rdw-page {
        padding-left: 8px;
        padding-right: 8px;
    }

    .rdw-heading h1 {
        font-size: 24px;
    }

    .rdw-intro {
        font-size: 13px;
    }

    .rdw-stat-value {
        font-size: 21px;
    }

    .rdw-stat-label {
        font-size: 10px;
    }

    .rdw-example-grid,
    .rdw-related-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .rdw-page .rdw-button {
        min-width: 70px;
        padding-left: 9px;
        padding-right: 9px;
        font-size: 12px;
    }

}


/* =========================================================
   REDUCED MOTION ACCESSIBILITY
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

    .rdw-page .rdw-textarea,
    .rdw-page .rdw-button,
    .rdw-page .rdw-select,
    .rdw-stat-card,
    .rdw-page .rdw-related-card {
        transition: none;
    }

}


/* =========================================================
   END OF REMOVE DUPLICATE WORDS CSS
   ========================================================= */