
/* =========================================================
   REMOVE WHITESPACE — CharacterCounter.com

   File: remove-whitespace.css

   Compatible with:
   - remove-whitespace.html
   - remove-whitespace.js
   - header-and-footer-updated.css

   Desktop:
   Your Text | Cleaned Text | 300px Ad Sidebar

   Tablet:
   Your Text | Cleaned Text

   Mobile:
   Stacked textareas
   ========================================================= */


/* =========================================================
   PAGE BASE
   ========================================================= */

.rw-page {
    --rw-blue: #1a73e8;
    --rw-blue-dark: #1558aa;
    --rw-blue-pale: #edf5ff;

    --rw-border: #dce2e9;
    --rw-border-dark: #c9ced6;

    --rw-text: #333;
    --rw-muted: #666;
    --rw-soft: #f8fafc;

    --rw-green: #237a40;
    --rw-green-pale: #edf8f0;

    --rw-red: #b42318;

    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 105px 20px 50px;

    background: #fff;
    color: var(--rw-text);

    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}


/* =========================================================
   BOX SIZING
   ========================================================= */

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


/* =========================================================
   HIDDEN ELEMENTS
   ========================================================= */

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


/* =========================================================
   FORM TYPOGRAPHY
   ========================================================= */

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


/* =========================================================
   BUTTON DEFAULTS
   ========================================================= */

.rw-page button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


/* =========================================================
   LINKS
   ========================================================= */

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

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


/* =========================================================
   KEYBOARD FOCUS
   ========================================================= */

.rw-page a:focus-visible,
.rw-page button:focus-visible,
.rw-page input:focus-visible,
.rw-page textarea:focus-visible {
    outline: 3px solid var(--rw-blue);
    outline-offset: 3px;
}


/* =========================================================
   ANCHOR OFFSET
   ========================================================= */

.rw-page [id] {
    scroll-margin-top: 105px;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.rw-visually-hidden {
    position: absolute !important;

    width: 1px !important;
    height: 1px !important;

    padding: 0 !important;
    margin: -1px !important;

    overflow: hidden !important;

    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;

    white-space: nowrap !important;

    border: 0 !important;
}


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

   Main Content | 300px Advertising Sidebar
   ========================================================= */

.rw-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        300px;

    align-items: stretch;

    gap: 25px;

    width: 100%;
    max-width: 1250px;

    margin: 0 auto;
    padding: 0;
}


/* =========================================================
   MAIN CONTENT
   ========================================================= */

.rw-main {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   RAPTIVE ADVERTISING SIDEBAR
   ========================================================= */

.rw-page .rw-sidebar {
    display: block;

    width: 300px;
    min-width: 300px;
    min-height: 100%;

    align-self: stretch;

    margin: 0;
    padding: 0;
}


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

.rw-heading {
    width: 100%;

    margin: 0 0 25px;
    padding: 0;

    text-align: center;
}


/* =========================================================
   MAIN H1
   ========================================================= */

.rw-heading h1 {
    margin: 0 0 10px;
    padding: 0;

    color: #333;

    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;

    text-align: center;

    overflow-wrap: break-word;
}


/* =========================================================
   INTRODUCTORY TEXT
   ========================================================= */

.rw-intro {
    width: 100%;
    max-width: 760px;

    margin: 0 auto;
    padding: 0;

    color: #555;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;

    text-align: center;
}


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

.rw-notice {
    margin: 0 0 18px;
    padding: 12px 14px;

    border: 1px solid #f0d5a9;
    border-radius: 7px;

    font-size: 14px;
    line-height: 1.5;
}

.rw-notice-warning {
    background: #fff9e9;
    color: #6e531c;
}


/* =========================================================
   MAIN WHITESPACE REMOVAL TOOL
   ========================================================= */

.rw-tool {
    width: 100%;
    min-width: 0;

    margin: 0 0 45px;
    padding: 0;
}


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

   Your Text | Cleaned Text
   ========================================================= */

.rw-workspace {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: start;

    gap: 22px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


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

.rw-input-panel,
.rw-output-panel {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   PANEL HEADINGS
   ========================================================= */

.rw-panel-title {
    margin: 0 0 12px;
    padding: 0;

    color: #333;

    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;

    text-align: left;
}


/* =========================================================
   TEXTAREAS

   Both textareas have matching dimensions.
   Native resize handles remain enabled.
   ========================================================= */

.rw-page .rw-textarea {
    display: block;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    height: 320px;
    min-height: 170px;

    margin: 0;
    padding: 15px 16px;

    border: 1px solid var(--rw-border-dark);
    border-radius: 7px;

    background: #fff;
    color: #333;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;

    text-align: start;

    overflow-x: auto;
    overflow-y: auto;

    overflow-wrap: anywhere;
    word-break: normal;

    white-space: pre-wrap;

    tab-size: 4;

    resize: vertical;

    outline: none;
    box-shadow: none;

    appearance: auto;
    -webkit-appearance: auto;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


/* =========================================================
   INPUT TEXTAREA
   ========================================================= */

.rw-page .rw-input {
    background: #fff;

    cursor: text;

    caret-color: var(--rw-blue);
}

.rw-page .rw-input:hover {
    border-color: #9eaab7;
}

.rw-page .rw-input:focus,
.rw-page .rw-input:focus-visible {
    border-color: var(--rw-blue);

    outline: none;

    box-shadow:
        0 0 0 3px rgba(26, 115, 232, 0.10);
}


/* =========================================================
   OUTPUT TEXTAREA
   ========================================================= */

.rw-page .rw-output {
    background: #fff;

    cursor: text;

    overflow-wrap: anywhere;
    word-break: break-word;
}

.rw-page .rw-output:hover {
    border-color: #9eaab7;
}

.rw-page .rw-output:focus,
.rw-page .rw-output:focus-visible {
    border-color: var(--rw-blue);

    outline: none;

    box-shadow:
        0 0 0 3px rgba(26, 115, 232, 0.10);
}


/* =========================================================
   PLACEHOLDER TEXT
   ========================================================= */

.rw-page .rw-textarea::placeholder {
    color: #9299a3;
    opacity: 1;
}


/* =========================================================
   READONLY OUTPUT

   Output remains selectable, scrollable and resizable.
   ========================================================= */

.rw-page .rw-textarea[readonly] {
    -webkit-user-select: text;
    user-select: text;
}


/* =========================================================
   TEXT SELECTION
   ========================================================= */

.rw-page .rw-textarea::selection {
    background: #d7e7ff;
    color: #222;
}


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

.rw-page .rw-textarea {
    scrollbar-width: thin;
    scrollbar-color: #b9c1cb #f3f5f7;
}

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

.rw-page .rw-textarea::-webkit-scrollbar-track {
    background: #f3f5f7;

    border-radius: 6px;
}

.rw-page .rw-textarea::-webkit-scrollbar-thumb {
    background: #b9c1cb;

    border: 2px solid #f3f5f7;
    border-radius: 6px;
}

.rw-page .rw-textarea::-webkit-scrollbar-thumb:hover {
    background: #9ea8b5;
}

.rw-page .rw-textarea::-webkit-resizer {
    background: transparent;
}


/* =========================================================
   FIELD HELP TEXT
   ========================================================= */

.rw-field-help {
    margin: 14px 0 0;
    padding: 0;

    color: var(--rw-muted);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;

    overflow-wrap: break-word;
}


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

.rw-page .rw-button {
    display: inline-flex;

    flex: 0 0 auto;

    align-items: center;
    justify-content: center;

    gap: 7px;

    min-height: 41px;

    margin: 0;
    padding: 9px 14px;

    border: 1px solid transparent;
    border-radius: 6px;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;

    text-align: center;
    text-transform: none;
    text-decoration: none;
    white-space: nowrap;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        color 0.15s ease,
        box-shadow 0.15s ease;
}

.rw-button i {
    flex: 0 0 auto;

    font-size: 17px;
    line-height: 1;
}

.rw-button span {
    min-width: 0;
}


/* =========================================================
   DISABLED BUTTONS
   ========================================================= */

.rw-page .rw-button:disabled {
    opacity: 0.5;

    cursor: not-allowed;

    box-shadow: none;
}


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

.rw-page .rw-button-primary {
    border-color: var(--rw-blue);

    background: var(--rw-blue);
    color: #fff;
}

.rw-page .rw-button-primary:hover:not(:disabled) {
    border-color: var(--rw-blue-dark);

    background: var(--rw-blue-dark);
    color: #fff;
}

.rw-page .rw-button-primary:active:not(:disabled) {
    border-color: #124a91;

    background: #124a91;
}


/* =========================================================
   SECONDARY BUTTON
   ========================================================= */

.rw-page .rw-button-secondary {
    border-color: var(--rw-border-dark);

    background: #fff;
    color: #444;
}

.rw-page .rw-button-secondary:hover:not(:disabled) {
    border-color: #aab5c2;

    background: #f5f7fa;
    color: #222;
}

.rw-page .rw-button-secondary:active:not(:disabled) {
    background: #e9edf2;
}


/* =========================================================
   COPY SUCCESS FEEDBACK
   ========================================================= */

.rw-page .rw-button-primary.rw-copied,
.rw-page .rw-button-primary.is-copied,
.rw-page .rw-button-primary.copied,
.rw-page .rw-button-primary[data-copied="true"] {
    border-color: var(--rw-green);

    background: var(--rw-green);
    color: #fff;
}

.rw-page .rw-button-primary.rw-copied:hover,
.rw-page .rw-button-primary.is-copied:hover,
.rw-page .rw-button-primary.copied:hover,
.rw-page .rw-button-primary[data-copied="true"]:hover {
    border-color: #1b6333;

    background: #1b6333;
}


/* =========================================================
   INPUT AND OUTPUT TOOLBARS
   ========================================================= */

.rw-input-toolbar,
.rw-output-toolbar {
    display: flex;

    flex-wrap: wrap;

    align-items: center;

    gap: 9px;

    width: 100%;
    min-width: 0;

    margin: 12px 0 0;
    padding: 0;
}

.rw-input-toolbar {
    justify-content: flex-start;
}

.rw-output-toolbar {
    justify-content: flex-start;
}


/* =========================================================
   INDIVIDUAL TOOL BUTTONS
   ========================================================= */

#rwClear {
    min-width: 90px;
}

#rwCopy {
    min-width: 112px;
}

#rwDownload {
    min-width: 120px;
}


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

.rw-settings {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 25px 0 0;
    padding: 20px;

    border: 1px solid var(--rw-border);
    border-radius: 8px;

    background: var(--rw-soft);
}


/* =========================================================
   SETTINGS HEADING
   ========================================================= */

.rw-settings-title {
    margin: 0 0 20px;
    padding: 0;

    color: #333;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.35;

    text-align: left;
}


/* =========================================================
   SETTINGS GRID

   Removal modes | Additional settings
   ========================================================= */

.rw-settings-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.3fr)
        minmax(0, 1fr);

    align-items: start;

    gap: 28px;

    width: 100%;
    min-width: 0;
}


/* =========================================================
   FIELDSET RESET
   ========================================================= */

.rw-mode-fieldset,
.rw-cleanup-fieldset {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
}


/* =========================================================
   OPTION GROUP HEADINGS
   ========================================================= */

.rw-options-heading {
    display: block;

    width: 100%;

    margin: 0 0 14px;
    padding: 0;

    color: #444;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.4;

    text-align: left;
}


/* =========================================================
   RADIO MODE LIST
   ========================================================= */

.rw-mode-list {
    display: flex;
    flex-direction: column;

    gap: 16px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   RADIO OPTION LABELS
   ========================================================= */

.rw-radio-label {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   NATIVE RADIO BUTTONS
   ========================================================= */

.rw-page .rw-radio {
    display: inline-block;

    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin: 2px 0 0;
    padding: 0;

    accent-color: var(--rw-blue);

    appearance: auto;
    -webkit-appearance: radio;

    cursor: pointer;
}

.rw-page .rw-radio:focus-visible {
    outline: 2px solid var(--rw-blue);
    outline-offset: 3px;
}


/* =========================================================
   RADIO OPTION CONTENT
   ========================================================= */

.rw-radio-content {
    display: flex;
    flex-direction: column;

    flex: 1 1 auto;

    gap: 3px;

    width: 100%;
    min-width: 0;
}


/* =========================================================
   RADIO OPTION TITLE
   ========================================================= */

.rw-radio-title {
    display: block;

    margin: 0;
    padding: 0;

    color: #333;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;

    overflow-wrap: break-word;
}

.rw-radio-label:hover .rw-radio-title {
    color: var(--rw-blue-dark);
}

.rw-radio:checked + .rw-radio-content .rw-radio-title {
    color: var(--rw-blue-dark);
}


/* =========================================================
   RADIO OPTION DESCRIPTION
   ========================================================= */

.rw-radio-description {
    display: block;

    margin: 0;
    padding: 0;

    color: var(--rw-muted);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;

    overflow-wrap: break-word;
}


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

.rw-cleanup-list {
    display: flex;
    flex-direction: column;

    gap: 15px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   CHECKBOX LABEL
   ========================================================= */

.rw-checkbox-label {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
}


/* =========================================================
   NATIVE CHECKBOX
   ========================================================= */

.rw-page .rw-checkbox {
    display: inline-block;

    flex: 0 0 auto;

    width: 18px;
    height: 18px;

    margin: 2px 0 0;
    padding: 0;

    accent-color: var(--rw-blue);

    appearance: auto;
    -webkit-appearance: checkbox;

    cursor: pointer;
}

.rw-page .rw-checkbox:focus-visible {
    outline: 2px solid var(--rw-blue);
    outline-offset: 3px;
}


/* =========================================================
   CHECKBOX CONTENT
   ========================================================= */

.rw-checkbox-content {
    display: flex;
    flex-direction: column;

    flex: 1 1 auto;

    gap: 3px;

    width: 100%;
    min-width: 0;
}


/* =========================================================
   CHECKBOX TITLE
   ========================================================= */

.rw-checkbox-title {
    display: block;

    margin: 0;
    padding: 0;

    color: #333;

    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;

    overflow-wrap: break-word;
}

.rw-checkbox-label:hover .rw-checkbox-title {
    color: var(--rw-blue-dark);
}

.rw-checkbox:checked + .rw-checkbox-content .rw-checkbox-title {
    color: var(--rw-blue-dark);
}


/* =========================================================
   CHECKBOX DESCRIPTION
   ========================================================= */

.rw-checkbox-description {
    display: block;

    margin: 0;
    padding: 0;

    color: var(--rw-muted);

    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;

    overflow-wrap: break-word;
}


/* =========================================================
   TEXT STATISTICS
   ========================================================= */

.rw-statistics {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: stretch;

    gap: 14px;

    width: 100%;
    min-width: 0;

    margin: 24px 0 0;
    padding: 0;
}


/* =========================================================
   STATISTICS CARDS
   ========================================================= */

.rw-stat-card {
    display: flex;
    flex-direction: column;

    align-items: center;
    justify-content: center;

    gap: 5px;

    width: 100%;
    min-width: 0;
    min-height: 96px;

    margin: 0;
    padding: 14px 10px;

    border: 1px solid var(--rw-border);
    border-radius: 7px;

    background: #f8fafc;

    text-align: center;
}


/* =========================================================
   STATISTIC VALUES
   ========================================================= */

.rw-stat-value {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #333;

    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;

    font-variant-numeric: tabular-nums;

    text-align: center;

    overflow-wrap: anywhere;
}


/* =========================================================
   CHARACTERS REMOVED STATISTIC
   ========================================================= */

#rwCharactersRemoved {
    color: var(--rw-blue-dark);
}


/* =========================================================
   STATISTIC LABELS
   ========================================================= */

.rw-stat-label {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    color: #555;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;

    text-align: center;

    overflow-wrap: break-word;
}


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

.rw-content {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #333;

    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;

    text-align: left;

    overflow-wrap: break-word;
}


/* =========================================================
   ARTICLE SECTIONS
   ========================================================= */

.rw-content > section {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0 0 35px;
    padding: 0;
}

.rw-content > section:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ARTICLE H2 HEADINGS
   ========================================================= */

.rw-content h2 {
    margin: 0 0 15px;
    padding: 0;

    color: #333;

    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;

    text-align: left;

    overflow-wrap: break-word;
}


/* =========================================================
   ARTICLE H3 HEADINGS
   ========================================================= */

.rw-content h3 {
    margin: 24px 0 10px;
    padding: 0;

    color: #333;

    font-size: 19px;
    font-weight: 700;
    line-height: 1.4;

    text-align: left;

    overflow-wrap: break-word;
}


/* =========================================================
   ARTICLE PARAGRAPHS
   ========================================================= */

.rw-content p {
    margin: 0 0 15px;
    padding: 0;

    color: #444;

    font-size: inherit;
    font-weight: 400;
    line-height: inherit;
}

.rw-content section > p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ARTICLE EMPHASIS
   ========================================================= */

.rw-content strong,
.rw-content b {
    font-weight: 700;

    color: #333;
}


/* =========================================================
   ARTICLE LINKS
   ========================================================= */

.rw-content a {
    color: #1155cc;

    text-decoration: none;

    overflow-wrap: anywhere;
}

.rw-content a:hover {
    text-decoration: underline;
}


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

.rw-content ul,
.rw-content ol {
    display: block;

    margin: 0 0 18px;
    padding: 0 0 0 26px;

    color: #444;

    font-size: inherit;
    line-height: inherit;
}

.rw-content ul {
    list-style-type: disc;
    list-style-position: outside;
}

.rw-content ol {
    list-style-type: decimal;
    list-style-position: outside;
}

.rw-content li {
    display: list-item;

    margin: 0 0 8px;
    padding: 0 0 0 2px;

    color: #444;

    line-height: 1.65;
}

.rw-content li:last-child {
    margin-bottom: 0;
}

.rw-content li::marker {
    color: #444;
}


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

.rw-content code {
    padding: 2px 5px;

    border-radius: 4px;

    background: #f1f4f7;
    color: #374151;

    font-family:
        Consolas,
        Monaco,
        "Courier New",
        monospace;

    font-size: 0.9em;
    font-weight: 400;

    overflow-wrap: anywhere;
}


/* =========================================================
   EXAMPLE GRID
   ========================================================= */

.rw-example-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    align-items: stretch;

    gap: 16px;

    width: 100%;
    min-width: 0;

    margin: 20px 0;
    padding: 0;
}


/* =========================================================
   EXAMPLE CARDS
   ========================================================= */

.rw-example-card {
    display: flex;
    flex-direction: column;

    gap: 13px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 17px;

    border: 1px solid var(--rw-border);
    border-radius: 8px;

    background: #fafbfd;
}


/* =========================================================
   EXAMPLE CARD HEADINGS
   ========================================================= */

.rw-content .rw-example-card h3 {
    margin: 0;
    padding: 0;

    color: #333;

    font-size: 16px;
    font-weight: 700;
    line-height: 1.4;
}


/* =========================================================
   EXAMPLE BLOCK
   ========================================================= */

.rw-example-block {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   EXAMPLE LABELS
   ========================================================= */

.rw-example-label {
    display: block;

    margin: 0 0 6px;
    padding: 0;

    color: #666;

    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
}


/* =========================================================
   EXAMPLE TEXT

   Preserve spaces, tabs and original line breaks.
   Long strings wrap without expanding the layout.
   ========================================================= */

.rw-content .rw-example-text {
    display: block;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    min-height: 45px;

    margin: 0;
    padding: 11px 12px;

    border: 1px solid #e0e5eb;
    border-radius: 5px;

    background: #fff;
    color: #333;

    font-family:
        Consolas,
        Monaco,
        "Courier New",
        monospace;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.65;

    text-align: left;

    white-space: pre-wrap;

    overflow-wrap: anywhere;
    word-break: normal;

    tab-size: 4;

    overflow-x: auto;

    -webkit-user-select: text;
    user-select: text;
}


/* =========================================================
   EXAMPLE CODE RESET
   ========================================================= */

.rw-content .rw-example-text code {
    display: inline;

    margin: 0;
    padding: 0;

    border: 0;
    border-radius: 0;

    background: transparent;
    color: inherit;

    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;

    white-space: inherit;

    overflow-wrap: inherit;
}


/* =========================================================
   SINGLE EXAMPLE CONTAINER
   ========================================================= */

.rw-example-single {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 17px 0 20px;
    padding: 17px;

    border: 1px solid var(--rw-border);
    border-radius: 7px;

    background: #f8fafc;
}

.rw-example-single .rw-example-block + .rw-example-block {
    margin-top: 15px;
}


/* =========================================================
   TABLE WRAPPER

   Allows horizontal scrolling on narrow screens.
   ========================================================= */

.rw-table-wrapper {
    display: block;

    width: 100%;
    min-width: 0;
    max-width: 100%;

    margin: 20px 0;
    padding: 0;

    border: 1px solid var(--rw-border);
    border-radius: 7px;

    background: #fff;

    overflow-x: auto;
    overflow-y: hidden;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: #b9c1cb #f3f5f7;
}


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

.rw-content .rw-table {
    width: 100%;
    min-width: 530px;

    margin: 0;
    padding: 0;

    border: 0;

    border-collapse: collapse;
    border-spacing: 0;

    background: #fff;

    font-size: 14px;
    line-height: 1.55;

    table-layout: auto;
}


/* =========================================================
   TABLE HEADERS
   ========================================================= */

.rw-content .rw-table thead {
    background: #f0f3f7;
}

.rw-content .rw-table th {
    margin: 0;
    padding: 12px 14px;

    border: 0;
    border-bottom: 1px solid var(--rw-border);

    color: #333;

    font-size: 14px;
    font-weight: 700;
    line-height: 1.45;

    text-align: left;
    vertical-align: middle;
}


/* =========================================================
   TABLE CELLS
   ========================================================= */

.rw-content .rw-table td {
    margin: 0;
    padding: 11px 14px;

    border: 0;
    border-bottom: 1px solid #e6eaf0;

    color: #444;

    text-align: left;
    vertical-align: top;

    overflow-wrap: break-word;
}


/* =========================================================
   TABLE ROW STYLING
   ========================================================= */

.rw-content .rw-table tbody tr:nth-child(even) {
    background: #fafbfd;
}

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

.rw-content .rw-table tbody tr:hover {
    background: #f3f7fc;
}


/* =========================================================
   TABLE CODE
   ========================================================= */

.rw-content .rw-table code {
    display: inline;

    padding: 2px 4px;

    background: #eef2f6;

    font-size: 12px;

    white-space: pre-wrap;

    overflow-wrap: anywhere;
}


/* =========================================================
   TABLE SCROLLBAR
   ========================================================= */

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

.rw-table-wrapper::-webkit-scrollbar-track {
    background: #f3f5f7;
}

.rw-table-wrapper::-webkit-scrollbar-thumb {
    background: #b9c1cb;

    border: 2px solid #f3f5f7;
    border-radius: 6px;
}

.rw-table-wrapper::-webkit-scrollbar-thumb:hover {
    background: #9ea8b5;
}


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

.rw-faq-section {
    width: 100%;
    min-width: 0;
}


/* =========================================================
   FAQ ITEMS
   ========================================================= */

.rw-faq-item {
    display: block;

    width: 100%;

    margin: 0;
    padding: 18px 0;

    border-bottom: 1px solid #e5e8ed;
}

.rw-faq-item:first-of-type {
    padding-top: 4px;
}

.rw-faq-item:last-child {
    padding-bottom: 0;

    border-bottom: 0;
}


/* =========================================================
   FAQ QUESTIONS
   ========================================================= */

.rw-content .rw-faq-item h3 {
    margin: 0 0 9px;
    padding: 0;

    color: #333;

    font-size: 18px;
    font-weight: 700;
    line-height: 1.45;
}


/* =========================================================
   FAQ ANSWERS
   ========================================================= */

.rw-content .rw-faq-item p {
    margin: 0;
    padding: 0;

    color: #444;

    font-size: 15px;
    line-height: 1.7;
}


/* =========================================================
   RELATED TEXT TOOLS
   ========================================================= */

.rw-related-section {
    width: 100%;
    min-width: 0;

    margin-bottom: 0;
}


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

.rw-related-grid {
    display: grid;

    grid-template-columns:
        repeat(3, minmax(0, 1fr));

    align-items: stretch;

    gap: 14px;

    width: 100%;
    min-width: 0;

    margin: 20px 0 0;
    padding: 0;
}


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

.rw-page .rw-related-card {
    display: flex;
    flex-direction: column;

    align-items: flex-start;

    gap: 7px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 16px;

    border: 1px solid var(--rw-border);
    border-radius: 7px;

    background: #fff;
    color: #333;

    text-decoration: none;

    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


/* =========================================================
   RELATED CARD HOVER
   ========================================================= */

.rw-page .rw-related-card:hover {
    border-color: #b7cbe8;

    background: #f8fbff;

    box-shadow:
        0 2px 7px rgba(0, 0, 0, 0.04);

    text-decoration: none;
}


/* =========================================================
   RELATED CARD TITLES
   ========================================================= */

.rw-content .rw-related-card h3 {
    margin: 0;
    padding: 0;

    color: #1155cc;

    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;

    text-align: left;

    overflow-wrap: break-word;
}

.rw-content .rw-related-card:hover h3 {
    color: var(--rw-blue-dark);

    text-decoration: underline;
}


/* =========================================================
   RELATED CARD DESCRIPTIONS
   ========================================================= */

.rw-content .rw-related-card p {
    margin: 0;
    padding: 0;

    color: #666;

    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}


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

   Keep the layout centered rather than stretching it
   to the edges of wide monitors.
   ========================================================= */

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

    .rw-page {
        padding-left: 30px;
        padding-right: 30px;
    }

    .rw-layout {
        max-width: 1250px;
    }

}


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

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

    .rw-workspace {
        gap: 22px;
    }

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

}


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

   1024px – 1199px

   Retain all three columns.
   ========================================================= */

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

    .rw-page {
        padding-left: 15px;
        padding-right: 15px;
    }

    .rw-layout {
        gap: 20px;
    }

    .rw-workspace {
        gap: 15px;
    }

    .rw-page .rw-textarea {
        height: 300px;

        padding: 13px;
    }

    .rw-panel-title {
        font-size: 19px;
    }

    .rw-page .rw-button {
        padding: 9px 11px;

        font-size: 13px;
    }

    .rw-input-toolbar,
    .rw-output-toolbar {
        gap: 7px;
    }

    #rwCopy {
        min-width: 100px;
    }

    #rwDownload {
        min-width: 110px;
    }

    .rw-settings {
        padding: 17px;
    }

    .rw-settings-grid {
        gap: 20px;
    }

    .rw-radio-title,
    .rw-checkbox-title {
        font-size: 14px;
    }

    .rw-stat-card {
        padding: 12px 8px;
    }

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

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

    .rw-example-grid {
        gap: 12px;
    }

    .rw-example-card {
        padding: 14px;
    }

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

}


/* =========================================================
   TABLET

   1023px and below

   Hide advertising sidebar.
   Retain two-column workspace.
   ========================================================= */

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

    .rw-page {
        padding:
            100px
            18px
            40px;
    }

    .rw-layout {
        display: block;

        width: 100%;
        max-width: 900px;
    }

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

    .rw-page .rw-sidebar {
        display: none !important;

        width: 0;
        min-width: 0;
        min-height: 0;

        margin: 0;
        padding: 0;
    }

    .rw-workspace {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 20px;
    }

    .rw-page .rw-textarea {
        height: 300px;
    }

    .rw-settings-grid {
        gap: 22px;
    }

}


/* =========================================================
   MEDIUM TABLET

   701px – 800px
   ========================================================= */

@media screen and (min-width: 701px) and (max-width: 800px) {

    .rw-workspace {
        gap: 15px;
    }

    .rw-page .rw-textarea {
        height: 280px;

        padding: 13px;
    }

    .rw-panel-title {
        font-size: 19px;
    }

    .rw-input-toolbar,
    .rw-output-toolbar {
        gap: 8px;
    }

    .rw-page .rw-button {
        padding: 9px 12px;

        font-size: 13px;
    }

    .rw-settings {
        padding: 17px;
    }

    .rw-settings-grid {
        gap: 20px;
    }

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

}


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

   700px and below

   Stack textareas vertically.
   ========================================================= */

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

    .rw-page {
        padding:
            95px
            15px
            35px;
    }

    .rw-layout {
        max-width: 600px;
    }

    .rw-heading {
        margin-bottom: 22px;
    }

    .rw-heading h1 {
        margin-bottom: 9px;

        font-size: 28px;
        line-height: 1.25;
    }

    .rw-intro {
        max-width: 520px;

        font-size: 15px;
        line-height: 1.6;
    }

    .rw-tool {
        margin-bottom: 35px;
    }


    /* STACKED WORKSPACE */

    .rw-workspace {
        display: grid;

        grid-template-columns:
            minmax(0, 1fr);

        gap: 26px;
    }

    .rw-input-panel,
    .rw-output-panel {
        width: 100%;
    }

    .rw-panel-title {
        margin-bottom: 10px;

        font-size: 19px;
    }


    /* TEXTAREAS */

    .rw-page .rw-textarea {
        height: 230px;
        min-height: 130px;

        padding: 13px 14px;

        font-size: 16px;
        line-height: 1.6;
    }


    /* BUTTONS */

    .rw-input-toolbar,
    .rw-output-toolbar {
        margin-top: 12px;
    }

    .rw-page .rw-button {
        min-height: 42px;

        font-size: 14px;
    }


    /* SETTINGS */

    .rw-settings {
        margin-top: 24px;

        padding: 17px 16px;
    }

    .rw-settings-title {
        margin-bottom: 18px;

        font-size: 18px;
    }

    .rw-settings-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 22px;
    }

    .rw-options-heading {
        margin-bottom: 12px;
    }

    .rw-mode-list {
        gap: 15px;
    }

    .rw-radio-title,
    .rw-checkbox-title {
        font-size: 15px;
    }

    .rw-radio-description,
    .rw-checkbox-description {
        font-size: 13px;
    }

    .rw-field-help {
        margin-top: 12px;
    }


    /* STATISTICS */

    .rw-statistics {
        gap: 9px;

        margin-top: 20px;
    }

    .rw-stat-card {
        min-height: 84px;

        padding: 11px 8px;
    }

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

    .rw-stat-label {
        font-size: 12px;
        line-height: 1.35;
    }


    /* ARTICLE */

    .rw-content {
        font-size: 15px;
        line-height: 1.7;
    }

    .rw-content > section {
        margin-bottom: 29px;
    }

    .rw-content h2 {
        margin-bottom: 13px;

        font-size: 23px;
        line-height: 1.35;
    }

    .rw-content h3 {
        margin-top: 20px;

        font-size: 18px;
    }

    .rw-content p {
        margin-bottom: 13px;
    }

    .rw-content ul,
    .rw-content ol {
        padding-left: 23px;
    }


    /* EXAMPLES */

    .rw-example-grid {
        gap: 12px;

        margin: 17px 0;
    }

    .rw-example-card {
        padding: 14px;
    }

    .rw-content .rw-example-card h3 {
        font-size: 15px;
    }

    .rw-content .rw-example-text {
        padding: 10px;

        font-size: 12px;
    }


    /* TABLES */

    .rw-table-wrapper {
        margin: 17px 0;
    }

    .rw-content .rw-table {
        min-width: 500px;

        font-size: 13px;
    }

    .rw-content .rw-table th {
        padding: 10px 12px;

        font-size: 13px;
    }

    .rw-content .rw-table td {
        padding: 10px 12px;
    }


    /* FAQ */

    .rw-faq-item {
        padding: 16px 0;
    }

    .rw-content .rw-faq-item h3 {
        margin-top: 0;

        font-size: 17px;
    }

    .rw-content .rw-faq-item p {
        font-size: 15px;
    }


    /* RELATED TOOLS */

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

        gap: 11px;

        margin-top: 16px;
    }

    .rw-page .rw-related-card {
        padding: 13px;
    }

    .rw-content .rw-related-card h3 {
        font-size: 15px;
    }

    .rw-content .rw-related-card p {
        font-size: 13px;
    }

}


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

   480px and below
   ========================================================= */

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

    .rw-page {
        padding:
            90px
            12px
            30px;
    }

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

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

    .rw-workspace {
        gap: 24px;
    }

    .rw-panel-title {
        font-size: 18px;
    }


    /* TEXTAREAS */

    .rw-page .rw-textarea {
        height: 210px;
        min-height: 120px;

        padding: 12px;

        font-size: 16px;
    }


    /* BUTTONS */

    .rw-output-toolbar {
        display: grid;

        grid-template-columns:
            repeat(2, minmax(0, 1fr));

        gap: 8px;
    }

    .rw-output-toolbar .rw-button {
        width: 100%;
        min-width: 0;

        padding: 9px 8px;

        white-space: normal;
    }

    .rw-input-toolbar .rw-button {
        min-width: 95px;
    }

    .rw-button i {
        font-size: 16px;
    }


    /* SETTINGS */

    .rw-settings {
        padding: 15px 13px;
    }

    .rw-settings-title {
        margin-bottom: 17px;

        font-size: 17px;
    }

    .rw-options-heading {
        font-size: 13px;
    }

    .rw-radio-title,
    .rw-checkbox-title {
        font-size: 14px;
    }

    .rw-radio-description,
    .rw-checkbox-description {
        font-size: 12px;
    }

    .rw-radio-label,
    .rw-checkbox-label {
        gap: 9px;
    }

    .rw-field-help {
        font-size: 12px;
    }


    /* STATISTICS */

    .rw-statistics {
        gap: 7px;
    }

    .rw-stat-card {
        min-height: 82px;

        padding: 10px 5px;

        border-radius: 6px;
    }

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

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


    /* ARTICLE */

    .rw-content h2 {
        font-size: 22px;
    }

    .rw-content h3 {
        font-size: 17px;
    }


    /* EXAMPLES */

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

        gap: 12px;
    }

    .rw-example-card {
        padding: 14px;
    }

    .rw-example-single {
        padding: 14px;
    }


    /* RELATED TOOLS */

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

    .rw-page .rw-related-card {
        padding: 14px 15px;
    }

}


/* =========================================================
   VERY SMALL MOBILE

   360px and below
   ========================================================= */

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

    .rw-page {
        padding-left: 10px;
        padding-right: 10px;
    }

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

    .rw-page .rw-textarea {
        height: 190px;
    }

    .rw-page .rw-button {
        font-size: 13px;
    }

    .rw-output-toolbar {
        gap: 6px;
    }

    .rw-output-toolbar .rw-button {
        padding: 9px 5px;

        gap: 5px;
    }

    .rw-stat-card {
        padding: 9px 4px;
    }

    .rw-stat-value {
        font-size: 19px;
    }

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

}


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

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

    .rw-output-toolbar {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .rw-statistics {
        grid-template-columns:
            minmax(0, 1fr);
    }

    .rw-stat-card {
        min-height: 70px;
    }

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

}


/* =========================================================
   TOUCH DEVICES
   ========================================================= */

@media (hover: none) and (pointer: coarse) {

    .rw-page .rw-button {
        min-height: 44px;
    }

    .rw-page .rw-radio,
    .rw-page .rw-checkbox {
        width: 20px;
        height: 20px;
    }

    .rw-page .rw-textarea {
        font-size: 16px;
    }

    .rw-radio-label,
    .rw-checkbox-label {
        min-height: 28px;
    }

}


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

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

    .rw-page *,
    .rw-page *::before,
    .rw-page *::after {
        scroll-behavior: auto !important;

        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }

}


/* =========================================================
   HIGH CONTRAST / FORCED COLORS
   ========================================================= */

@media (forced-colors: active) {

    .rw-page .rw-textarea,
    .rw-page .rw-button,
    .rw-page .rw-stat-card,
    .rw-page .rw-settings,
    .rw-page .rw-example-card,
    .rw-page .rw-example-single,
    .rw-page .rw-example-text,
    .rw-page .rw-related-card,
    .rw-page .rw-table-wrapper {
        border: 1px solid CanvasText;
    }

    .rw-page .rw-button-primary {
        color: ButtonText;

        background: ButtonFace;
    }

    .rw-page .rw-button:focus-visible,
    .rw-page .rw-textarea:focus-visible,
    .rw-page .rw-radio:focus-visible,
    .rw-page .rw-checkbox:focus-visible {
        outline: 2px solid Highlight;
    }

}


/* =========================================================
   PRINT STYLES
   ========================================================= */

@media print {

    .rw-page {
        padding: 0;

        background: #fff;
        color: #000;
    }

    .rw-layout {
        display: block;

        max-width: 100%;
    }

    .rw-page .rw-sidebar {
        display: none !important;
    }

    .rw-workspace {
        display: block;
    }

    .rw-input-panel {
        display: none;
    }

    .rw-output-panel {
        display: block;
    }

    .rw-page .rw-output {
        height: auto;
        min-height: 200px;

        border: 1px solid #999;

        resize: none;

        overflow: visible;
    }

    .rw-input-toolbar,
    .rw-output-toolbar,
    .rw-settings,
    .rw-statistics,
    .rw-related-section {
        display: none !important;
    }

    .rw-content {
        margin-top: 25px;
    }

    .rw-example-card,
    .rw-example-single,
    .rw-faq-item,
    .rw-table tr {
        break-inside: avoid;
    }

    .rw-table-wrapper {
        overflow: visible;
    }

    .rw-content .rw-table {
        min-width: 0;
    }

    .rw-page a {
        color: #000;

        text-decoration: underline;
    }

}


/* =========================================================
   END — REMOVE WHITESPACE CSS
   ========================================================= */
