
/* =========================================================
   CharacterCounter.com
   READABILITY CHECKER

   File: readability-checker.css

   Compatible with:
   - readability-checker.html
   - readability-checker.js
   - header-and-footer-updated.css

   LARGE DESKTOP:
   ---------------------------------------------------------
   | Text Input          | Readability Results | 300px Ad  |
   |                     |                     | Sidebar   |
   | Text Statistics     | Detailed Scores     |           |
   | (12 cards)          |                     |           |
   ---------------------------------------------------------

   SMALLER SCREENS:
   Text Input
   Readability Results
   Detailed Readability Scores
   Text Statistics (12 cards)
   Readability Analysis
   Writing Suggestions

   ========================================================= */


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

.rc-page {
    --rc-blue: #1a73e8;
    --rc-blue-dark: #1558aa;
    --rc-blue-light: #edf5ff;

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

    --rc-text: #333;
    --rc-muted: #666;
    --rc-light-text: #858b94;

    --rc-background: #fff;
    --rc-soft-background: #f8fafc;

    --rc-green: #237a40;
    --rc-error: #bf3535;

    --rc-very-difficult: #d85b5b;
    --rc-difficult: #e78b55;
    --rc-fairly-difficult: #e9b94f;
    --rc-standard: #d0ce59;
    --rc-fairly-easy: #a7c76b;
    --rc-easy: #72b884;
    --rc-very-easy: #399768;

    --rc-highlight-long: #fff0ab;
    --rc-highlight-very-long: #fbd0cc;
    --rc-highlight-complex: #cce3ff;

    width: 100%;
    padding: 105px 15px 45px;

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

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


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

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


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

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


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

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


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

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

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


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

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

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


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

.rc-page a:focus-visible,
.rc-page button:focus-visible,
.rc-page input:focus-visible,
.rc-page textarea:focus-visible,
.rc-page select:focus-visible,
.rc-page [tabindex]:focus-visible {
    outline: 3px solid var(--rc-blue);
    outline-offset: 3px;
}


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

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


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

.rc-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 + fixed 300px advertising sidebar
   ========================================================= */

.rc-layout {
    display: grid;

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

    align-items: stretch;
    gap: 25px;

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

    margin: 0 auto;
}


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

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


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

.rc-sidebar {
    display: block;

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

    align-self: stretch;

    margin: 0;
    padding: 0;
}


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

.rc-heading {
    width: 100%;

    margin: 0 0 25px;
    padding: 0;

    text-align: center;
}


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

    color: #333;

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

    overflow-wrap: break-word;
}


.rc-intro {
    width: 100%;
    max-width: 800px;

    margin: 0 auto;
    padding: 0;

    color: #555;

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


/* =========================================================
   MAIN TOOL
   ========================================================= */

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

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


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

   LEFT:
   Text Input
   Text Statistics (all 12 cards)

   RIGHT:
   Readability Results
   Detailed Readability Scores

   The Results column spans both rows.

   ========================================================= */

.rc-top-workspace {
    display: grid;

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

    grid-template-areas:
        "input results"
        "stats results";

    grid-template-rows: auto auto;

    align-items: start;

    column-gap: 20px;
    row-gap: 18px;

    width: 100%;
    min-width: 0;

    margin: 0 0 30px;
    padding: 0;
}


/* =========================================================
   LEFT INPUT COLUMN
   ========================================================= */

.rc-workspace-input {
    grid-area: input;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    align-self: start;
}


/* =========================================================
   RIGHT RESULTS COLUMN
   ========================================================= */

.rc-workspace-results {
    grid-area: results;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    align-self: start;
}


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

   All 12 statistics together.

   ========================================================= */

.rc-workspace-stats {
    grid-area: stats;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    align-self: start;
}


.rc-workspace-stats .rc-section-heading {
    margin: 0 0 12px;
}


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

   Large desktop:
   3 columns × 4 rows

   Smaller screens:
   2 or 3 columns depending on available width.

   ========================================================= */

.rc-workspace-stats-grid {
    display: grid;

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

    align-items: stretch;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   TEXT INPUT PANEL
   ========================================================= */

.rc-input-panel {
    width: 100%;
    min-width: 0;

    margin: 0 0 15px;
    padding: 0;
}


.rc-input-label {
    display: block;

    margin: 0 0 8px;

    color: #333;

    font-size: 15px;
    font-weight: 600;
}


/* =========================================================
   MAIN TEXTAREA

   Default desktop height: 320px

   Native vertical resize handle remains available.

   ========================================================= */

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

    width: 100%;
    min-width: 0;

    height: 320px;
    min-height: 140px;

    margin: 0;
    padding: 15px;

    border: 2px solid var(--rc-border-dark);
    border-radius: 8px;

    background: #fff;
    color: #333;

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

    text-align: left;

    resize: vertical;

    overflow: auto;
    overflow-wrap: break-word;

    outline: none;
    box-shadow: none;

    appearance: none;
    -webkit-appearance: none;

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


.rc-page .rc-textarea::placeholder {
    color: #8b9098;

    font-size: 16px;
    font-weight: 400;

    opacity: 1;
}


.rc-page .rc-textarea:hover {
    border-color: #aeb7c2;
}


.rc-page .rc-textarea:focus,
.rc-page .rc-textarea:focus-visible {
    border-color: var(--rc-blue);

    outline: none;

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


.rc-page .rc-textarea::selection {
    background: #cce3ff;
    color: #222;
}


/* =========================================================
   TEXTAREA TOOLBAR

   Load Sample on left.
   Copy and Clear on right.

   ========================================================= */

.rc-input-toolbar {
    display: flex;

    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;

    gap: 10px;

    width: 100%;

    margin: 10px 0 0;
    padding: 0;
}


.rc-input-actions {
    display: flex;

    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;

    gap: 8px;

    margin-left: auto;
}


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

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

    flex: 0 0 auto;

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

    gap: 7px;

    min-height: 39px;

    margin: 0;
    padding: 8px 14px;

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

    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;

    text-align: center;
    text-transform: 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;
}


.rc-page .rc-button i {
    display: inline-block;

    flex: 0 0 auto;

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


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


/* PRIMARY BUTTON */

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

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


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

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


/* SECONDARY BUTTON */

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

    background: #fff;
    color: #444;
}


.rc-page .rc-button-secondary:hover:not(:disabled) {
    border-color: var(--rc-blue);

    background: var(--rc-blue-light);
    color: var(--rc-blue-dark);
}


/* PRESSED STATE */

.rc-page .rc-button:active:not(:disabled) {
    transform: translateY(1px);
}


/* DISABLED STATE */

.rc-page .rc-button:disabled {
    border-color: #e2e5e9;

    background: #f8f9fa;
    color: #9298a0;

    opacity: 0.85;
}


/* COPY SUCCESS */

.rc-page .rc-button.is-copied,
.rc-page .rc-button.copied {
    border-color: #77b991;

    background: #eaf7ee;
    color: #237a40;
}


/* =========================================================
   LOAD SAMPLE BUTTON
   ========================================================= */

.rc-page .rc-sample-button {
    display: inline-flex;

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

    gap: 6px;

    min-height: 39px;

    margin: 0;
    padding: 7px 2px;

    border: 0;
    border-radius: 4px;

    background: transparent;
    color: #1155cc;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.35;

    text-transform: none;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;
}


.rc-page .rc-sample-button i {
    font-size: 17px;
    line-height: 1;
}


.rc-page .rc-sample-button:hover:not(:disabled) {
    color: #0b419f;

    text-decoration: underline;
}


.rc-page .rc-sample-button:disabled {
    color: #999;
}


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

.rc-notice-area {
    display: flex;

    flex-direction: column;

    gap: 8px;

    width: 100%;

    margin: 0;
    padding: 0;
}


.rc-notice {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    width: 100%;

    margin: 0 0 15px;
    padding: 12px 14px;

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

    background: #fff9eb;
    color: #665022;

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


.rc-notice-area .rc-notice {
    margin: 0;
}


.rc-notice i {
    flex: 0 0 auto;

    margin-top: 1px;

    font-size: 18px;
    line-height: 1.3;
}


.rc-notice span {
    min-width: 0;

    overflow-wrap: break-word;
}


.rc-notice-warning {
    border-color: #e8d8a8;

    background: #fffaf0;
    color: #705821;
}


/* =========================================================
   SECTION HEADINGS
   ========================================================= */

.rc-page .rc-section-heading {
    margin: 0 0 12px;
    padding: 0;

    color: #333;

    font-size: 23px;
    font-weight: 600;
    line-height: 1.35;

    overflow-wrap: break-word;
}


.rc-page .rc-centered-heading {
    text-align: center;
}


.rc-section-description {
    margin: -3px 0 16px;
    padding: 0;

    color: #666;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* DESKTOP WORKSPACE HEADINGS */

.rc-workspace-results .rc-section-heading,
.rc-workspace-stats .rc-section-heading {
    font-size: 21px;
}


/* =========================================================
   PRIMARY READABILITY RESULTS
   ========================================================= */

.rc-results-section {
    width: 100%;
    min-width: 0;

    margin: 0 0 30px;
    padding: 0;
}


.rc-workspace-results .rc-results-section {
    margin-bottom: 23px;
}


.rc-results-section .rc-section-heading {
    margin-bottom: 17px;
}


.rc-primary-results {
    display: grid;

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

    align-items: stretch;

    gap: 10px;

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


/* =========================================================
   READABILITY SCORE CARDS
   ========================================================= */

.rc-score-card {
    display: flex;

    flex-direction: column;

    align-items: center;

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

    margin: 0;
    padding: 17px 11px;

    border: 1px solid var(--rc-border);
    border-radius: 9px;

    background: #fff;

    text-align: center;
}


.rc-page .rc-score-heading {
    width: 100%;

    margin: 0 0 10px;
    padding: 0;

    color: #333;

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

    overflow-wrap: break-word;
}


/* =========================================================
   MAIN SCORE NUMBER
   ========================================================= */

.rc-main-score {
    display: block;

    width: 100%;

    margin: 2px 0 3px;
    padding: 0;

    color: #333;

    font-size: 43px;
    font-weight: 700;
    letter-spacing: -1.5px;
    line-height: 1.15;

    font-variant-numeric: tabular-nums;

    overflow-wrap: anywhere;
}


.rc-score-description {
    width: 100%;

    margin: 3px 0 0;
    padding: 0;

    color: #666;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}


/* =========================================================
   FLESCH READING EASE COLORS
   ========================================================= */

.rc-reading-ease-card[data-level="empty"] .rc-main-score {
    color: #a3a8af;
}


.rc-reading-ease-card[data-level="empty"] .rc-score-description {
    color: #777;

    font-size: 13px;
    font-weight: 400;
}


.rc-reading-ease-card[data-level="very-difficult"] .rc-main-score,
.rc-reading-ease-card[data-level="very-difficult"] .rc-score-description {
    color: #b83232;
}


.rc-reading-ease-card[data-level="difficult"] .rc-main-score,
.rc-reading-ease-card[data-level="difficult"] .rc-score-description {
    color: #b6612b;
}


.rc-reading-ease-card[data-level="fairly-difficult"] .rc-main-score,
.rc-reading-ease-card[data-level="fairly-difficult"] .rc-score-description {
    color: #967019;
}


.rc-reading-ease-card[data-level="standard"] .rc-main-score,
.rc-reading-ease-card[data-level="standard"] .rc-score-description {
    color: #82771c;
}


.rc-reading-ease-card[data-level="fairly-easy"] .rc-main-score,
.rc-reading-ease-card[data-level="fairly-easy"] .rc-score-description {
    color: #538332;
}


.rc-reading-ease-card[data-level="easy"] .rc-main-score,
.rc-reading-ease-card[data-level="easy"] .rc-score-description {
    color: #2b8550;
}


.rc-reading-ease-card[data-level="very-easy"] .rc-main-score,
.rc-reading-ease-card[data-level="very-easy"] .rc-score-description {
    color: #237a40;
}


/* =========================================================
   FLESCH READING EASE GAUGE
   ========================================================= */

.rc-gauge {
    position: relative;

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

    height: 26px;

    margin: 16px auto 0;
    padding: 9px 0 0;
}


.rc-gauge-track {
    display: flex;

    align-items: stretch;

    width: 100%;
    height: 12px;

    margin: 0;
    padding: 0;

    border-radius: 6px;

    overflow: hidden;
}


.rc-gauge-segment {
    display: block;

    flex: 0 0 10%;

    height: 100%;
}


.rc-gauge-very-difficult {
    flex-basis: 30%;
    background: var(--rc-very-difficult);
}


.rc-gauge-difficult {
    flex-basis: 20%;
    background: var(--rc-difficult);
}


.rc-gauge-fairly-difficult {
    background: var(--rc-fairly-difficult);
}


.rc-gauge-standard {
    background: var(--rc-standard);
}


.rc-gauge-fairly-easy {
    background: var(--rc-fairly-easy);
}


.rc-gauge-easy {
    background: var(--rc-easy);
}


.rc-gauge-very-easy {
    background: var(--rc-very-easy);
}


/* =========================================================
   GAUGE MARKER
   ========================================================= */

.rc-gauge-marker {
    position: absolute;

    z-index: 2;

    top: 0;
    left: 0%;

    width: 0;
    height: 0;

    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid #333;

    transform: translateX(-50%);

    pointer-events: none;

    transition: left 0.2s ease;
}


.rc-gauge-marker::after {
    position: absolute;

    top: 0;
    left: -1px;

    width: 2px;
    height: 14px;

    border-radius: 1px;

    background: #333;

    content: "";
}


.rc-reading-ease-card[data-level="empty"] .rc-gauge-track {
    opacity: 0.55;
}


/* =========================================================
   GAUGE NUMBERS
   ========================================================= */

.rc-gauge-numbers {
    display: flex;

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

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

    margin: 0 auto;
    padding: 0;

    color: #777;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   GAUGE LABELS
   ========================================================= */

.rc-gauge-labels {
    display: flex;

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

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

    margin: 4px auto 0;
    padding: 0;

    color: #666;

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


/* =========================================================
   FLESCH-KINCAID GRADE CARD
   ========================================================= */

.rc-grade-card .rc-main-score {
    color: #1a5bb8;
}


.rc-grade-card .rc-score-description {
    color: #444;
}


.rc-grade-card[data-level="empty"] .rc-main-score,
.rc-grade-card.is-empty .rc-main-score {
    color: #a3a8af;
}


.rc-grade-explanation {
    margin: 14px 0 0;
    padding: 0;

    color: #666;

    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
}


.rc-grade-detail {
    width: 100%;
    max-width: 290px;

    margin: 7px auto 0;
    padding: 0;

    color: #777;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.5;
}


/* =========================================================
   PRIMARY RESULTS FOOTNOTE
   ========================================================= */

.rc-results-footnote {
    margin: 12px 0 0;
    padding: 0;

    color: #777;

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

    text-align: center;
}


.rc-results-footnote a {
    color: #1155cc;
}


/* =========================================================
   DETAILED READABILITY SCORES
   ========================================================= */

.rc-detailed-results {
    width: 100%;
    min-width: 0;

    margin: 0 0 30px;
    padding: 0;
}


.rc-workspace-results .rc-detailed-results {
    margin-bottom: 0;
}


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

.rc-table-wrapper {
    width: 100%;
    max-width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

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

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   SHARED TABLE STYLING
   ========================================================= */

.rc-page .rc-table {
    width: 100%;

    margin: 0;
    padding: 0;

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

    background: #fff;

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

    text-align: left;
}


.rc-page .rc-table thead {
    background: #f3f5f8;
}


.rc-page .rc-table th,
.rc-page .rc-table td {
    padding: 11px 9px;

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

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


.rc-page .rc-table thead th {
    color: #333;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.4;
}


.rc-page .rc-table tbody th {
    color: #333;

    font-size: 13px;
    font-weight: 500;
}


.rc-page .rc-table tbody td {
    color: #555;

    font-size: 14px;
    font-weight: 400;
}


.rc-page .rc-table tbody tr:last-child th,
.rc-page .rc-table tbody tr:last-child td {
    border-bottom: 0;
}


.rc-page .rc-table tbody tr:nth-child(even) {
    background: #fafbfc;
}


.rc-page .rc-table tbody tr:hover {
    background: #f4f8fc;
}


.rc-page .rc-table a {
    color: #1155cc;
}


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


/* =========================================================
   READABILITY SCORE TABLE
   ========================================================= */

.rc-page .rc-score-table {
    table-layout: fixed;
}


.rc-score-table th:first-child {
    width: 47%;
}


.rc-score-table th:nth-child(2) {
    width: 19%;
}


.rc-score-table th:nth-child(3) {
    width: 34%;
}


.rc-page .rc-score-table th:nth-child(2),
.rc-page .rc-score-table td:nth-child(2) {
    text-align: center;
}


.rc-page .rc-score-table td.rc-table-score {
    color: #333;

    font-size: 17px;
    font-weight: 600;

    font-variant-numeric: tabular-nums;

    overflow-wrap: anywhere;
}


.rc-page .rc-score-table td.is-unavailable,
.rc-page .rc-score-table td.is-empty {
    color: #999;

    font-weight: 400;
}


.rc-page .rc-score-table td:last-child {
    color: #666;

    font-size: 12px;

    overflow-wrap: break-word;
}


/* =========================================================
   TABLE AND RESULTS NOTES
   ========================================================= */

.rc-table-note {
    margin: 10px 0 0;
    padding: 0;

    color: #777;

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


#rcSMOGNotice {
    color: #78632f;
}


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

   ONE UNIFIED SECTION WITH ALL 12 STATISTICS

   ========================================================= */

.rc-workspace-stats .rc-analysis-stat {
    display: flex;

    flex-direction: column;

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

    gap: 4px;

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

    margin: 0;
    padding: 12px 7px;

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

    background: var(--rc-soft-background);

    text-align: center;
}


/* =========================================================
   STATISTIC NUMBER
   ========================================================= */

.rc-analysis-value {
    display: block;

    width: 100%;

    color: #333;

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

    font-variant-numeric: tabular-nums;

    overflow-wrap: anywhere;
}


/* =========================================================
   STATISTIC LABEL
   ========================================================= */

.rc-analysis-label {
    display: block;

    width: 100%;

    color: #555;

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

    overflow-wrap: break-word;
}


/* =========================================================
   STATISTIC ADDITIONAL DETAIL
   ========================================================= */

.rc-analysis-detail {
    display: block;

    color: #888;

    font-size: 11px;
    font-weight: 400;
    line-height: 1.4;
}


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

.rc-workspace-stats .rc-table-note {
    margin-top: 11px;

    font-size: 12px;
}


/* =========================================================
   READABILITY ANALYSIS
   ========================================================= */

.rc-highlight-section {
    width: 100%;
    min-width: 0;

    margin: 0 0 30px;
    padding: 0;
}


/* =========================================================
   HIGHLIGHT FILTERS
   ========================================================= */

.rc-highlight-controls {
    display: flex;

    align-items: stretch;
    flex-wrap: wrap;

    gap: 9px;

    width: 100%;

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


/* =========================================================
   INDIVIDUAL HIGHLIGHT OPTION
   ========================================================= */

.rc-highlight-option {
    display: inline-flex;

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

    gap: 7px;

    min-height: 39px;

    margin: 0;
    padding: 8px 10px;

    border: 1px solid var(--rc-border);
    border-radius: 6px;

    background: #fff;
    color: #444;

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

    cursor: pointer;
    user-select: none;

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


.rc-highlight-option:hover {
    border-color: #b9c3cf;

    background: #f8fafc;
}


.rc-page .rc-highlight-option input[type="checkbox"] {
    flex: 0 0 auto;

    width: 15px;
    height: 15px;

    margin: 0;
    padding: 0;

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

    cursor: pointer;
}


.rc-highlight-option:has(input:not(:checked)) {
    opacity: 0.65;
}


/* =========================================================
   HIGHLIGHT LEGEND COLORS
   ========================================================= */

.rc-legend-color {
    display: inline-block;

    flex: 0 0 auto;

    width: 15px;
    height: 15px;

    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 3px;
}


.rc-legend-long {
    background: var(--rc-highlight-long);
}


.rc-legend-very-long {
    background: var(--rc-highlight-very-long);
}


.rc-legend-complex {
    background: var(--rc-highlight-complex);
}


/* =========================================================
   HIGHLIGHT COUNTS
   ========================================================= */

.rc-highlight-count {
    display: inline-flex;

    flex: 0 0 auto;

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

    min-width: 22px;
    min-height: 20px;

    margin-left: 1px;
    padding: 2px 5px;

    border-radius: 4px;

    background: #edf0f4;
    color: #555;

    font-size: 11px;
    font-weight: 600;
    line-height: 1.2;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   HIGHLIGHTED TEXT PREVIEW
   ========================================================= */

.rc-highlight-preview {
    display: block;

    width: 100%;
    min-width: 0;

    min-height: 155px;
    max-height: 420px;

    margin: 0;
    padding: 16px;

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

    background: #fff;
    color: #333;

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

    text-align: left;

    white-space: pre-wrap;
    overflow-wrap: anywhere;

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

    -webkit-overflow-scrolling: touch;

    scrollbar-width: thin;
    scrollbar-color: #ccd2d9 transparent;
}


.rc-highlight-preview.is-empty {
    background: #fafbfc;
}


.rc-highlight-preview:focus-visible {
    outline: 2px solid var(--rc-blue);
    outline-offset: 2px;
}


.rc-preview-placeholder {
    margin: 0;
    padding: 0;

    color: #90959d;

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


/* =========================================================
   HIGHLIGHT PREVIEW SCROLLBAR
   ========================================================= */

.rc-highlight-preview::-webkit-scrollbar {
    width: 9px;
}


.rc-highlight-preview::-webkit-scrollbar-track {
    background: transparent;
}


.rc-highlight-preview::-webkit-scrollbar-thumb {
    border: 2px solid #fff;
    border-radius: 8px;

    background: #ccd2d9;
}


.rc-highlight-preview::-webkit-scrollbar-thumb:hover {
    background: #aeb7c2;
}


/* =========================================================
   GENERATED HIGHLIGHT STYLES
   ========================================================= */

.rc-highlight-preview mark,
.rc-highlight-preview .rc-highlight-sentence,
.rc-highlight-preview .rc-highlight-word {
    color: inherit;

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


/* LONG SENTENCES */

.rc-highlight-preview .rc-mark-long,
.rc-highlight-preview .rc-sentence-long,
.rc-highlight-preview .rc-highlight-sentence.is-long {
    border-radius: 2px;

    background: var(--rc-highlight-long);
    color: #4c4020;

    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}


/* VERY LONG SENTENCES */

.rc-highlight-preview .rc-mark-very-long,
.rc-highlight-preview .rc-sentence-very-long,
.rc-highlight-preview .rc-highlight-sentence.is-very-long {
    border-radius: 2px;

    background: var(--rc-highlight-very-long);
    color: #6c302b;

    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;
}


/* MULTISYLLABIC WORDS */

.rc-highlight-preview .rc-mark-complex,
.rc-highlight-preview .rc-word-complex,
.rc-highlight-preview .rc-highlight-word.is-complex {
    border-radius: 2px;

    background: var(--rc-highlight-complex);
    color: #234c7c;

    box-decoration-break: clone;
    -webkit-box-decoration-break: clone;

    text-decoration-line: underline;
    text-decoration-color: #709ed6;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}


/* =========================================================
   OVERLAPPING HIGHLIGHTS
   ========================================================= */

.rc-highlight-preview .rc-mark-long .rc-mark-complex,
.rc-highlight-preview .rc-mark-very-long .rc-mark-complex,
.rc-highlight-preview .rc-sentence-long .rc-word-complex,
.rc-highlight-preview .rc-sentence-very-long .rc-word-complex,
.rc-highlight-preview .rc-highlight-sentence .rc-highlight-word {
    background: var(--rc-highlight-complex);
    color: #234c7c;

    text-decoration-line: underline;
    text-decoration-color: #5689c9;
}


/* =========================================================
   OPTIONAL FILTER STATES
   ========================================================= */

.rc-highlight-preview.hide-long .rc-mark-long,
.rc-highlight-preview.hide-long .rc-sentence-long,
.rc-highlight-preview.hide-long .rc-highlight-sentence.is-long {
    background: transparent;
    color: inherit;
}


.rc-highlight-preview.hide-very-long .rc-mark-very-long,
.rc-highlight-preview.hide-very-long .rc-sentence-very-long,
.rc-highlight-preview.hide-very-long .rc-highlight-sentence.is-very-long {
    background: transparent;
    color: inherit;
}


.rc-highlight-preview.hide-complex .rc-mark-complex,
.rc-highlight-preview.hide-complex .rc-word-complex,
.rc-highlight-preview.hide-complex .rc-highlight-word.is-complex {
    background: transparent;
    color: inherit;

    text-decoration: none;
}


/* =========================================================
   WRITING SUGGESTIONS
   ========================================================= */

.rc-suggestions-section {
    width: 100%;
    min-width: 0;

    margin: 0 0 22px;
    padding: 0;
}


.rc-suggestions-panel {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 18px;

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

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


/* =========================================================
   EMPTY SUGGESTIONS STATE
   ========================================================= */

.rc-suggestions-empty {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 0;
    padding: 0;

    color: #777;
}


.rc-suggestions-empty i {
    flex: 0 0 auto;

    margin-top: 0;

    color: #929ba6;

    font-size: 22px;
    line-height: 1.3;
}


.rc-suggestions-empty p {
    margin: 0;
    padding: 0;

    color: #777;

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


/* =========================================================
   DYNAMIC SUGGESTIONS LIST
   ========================================================= */

.rc-page .rc-suggestions-list {
    display: flex;

    flex-direction: column;

    gap: 12px;

    margin: 0;
    padding: 0;

    list-style: none;
}


.rc-suggestions-list li {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 10px;

    margin: 0;
    padding: 0 0 0 23px;

    color: #444;

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

    overflow-wrap: break-word;
}


.rc-suggestions-list li::before {
    position: absolute;

    top: 7px;
    left: 3px;

    width: 8px;
    height: 8px;

    border-radius: 50%;

    background: #7d99b8;

    content: "";
}


.rc-suggestions-list li strong {
    font-weight: 600;
}


.rc-suggestions-list li p {
    margin: 0;
    padding: 0;
}


/* =========================================================
   SUGGESTIONS WITH ICONS
   ========================================================= */

.rc-suggestions-list li:has(> i),
.rc-suggestions-list li:has(> .rc-suggestion-icon) {
    padding-left: 0;
}


.rc-suggestions-list li:has(> i)::before,
.rc-suggestions-list li:has(> .rc-suggestion-icon)::before {
    display: none;
}


.rc-suggestions-list li > i,
.rc-suggestion-icon {
    flex: 0 0 auto;

    margin-top: 2px;

    color: #5d82af;

    font-size: 19px;
    line-height: 1.3;
}


.rc-suggestion-content {
    flex: 1;

    min-width: 0;
}


.rc-suggestion-title {
    display: block;

    margin: 0 0 3px;

    color: #333;

    font-size: 14px;
    font-weight: 600;
}


.rc-suggestion-text {
    display: block;

    margin: 0;

    color: #555;

    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
}


/* POSITIVE SUGGESTIONS */

.rc-suggestions-list li.is-positive::before,
.rc-suggestions-list li.is-success::before {
    background: #3d9961;
}


.rc-suggestions-list li.is-positive > i,
.rc-suggestions-list li.is-success > i,
.rc-suggestions-list li.is-positive .rc-suggestion-icon,
.rc-suggestions-list li.is-success .rc-suggestion-icon {
    color: #2c8950;
}


/* WARNING SUGGESTIONS */

.rc-suggestions-list li.is-warning::before {
    background: #d49a37;
}


.rc-suggestions-list li.is-warning > i,
.rc-suggestions-list li.is-warning .rc-suggestion-icon {
    color: #b98024;
}


/* =========================================================
   PRIVACY NOTE
   ========================================================= */

.rc-privacy-note {
    display: flex;

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

    gap: 6px;

    width: 100%;

    margin: 20px 0 0;
    padding: 0;

    color: #777;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;

    text-align: center;
}


.rc-privacy-note i {
    flex: 0 0 auto;

    color: #788b80;

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


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

.rc-article {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 32px 0 0;

    border-top: 1px solid #e0e4e9;

    color: #333;

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


.rc-article section {
    width: 100%;
    min-width: 0;

    margin: 0 0 34px;
    padding: 0;
}


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


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

.rc-article h2 {
    margin: 0 0 14px;
    padding: 0;

    color: #333;

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

    text-align: left;

    overflow-wrap: break-word;
}


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

.rc-article h3 {
    margin: 23px 0 9px;
    padding: 0;

    color: #333;

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

    text-align: left;

    overflow-wrap: break-word;
}


/* =========================================================
   ARTICLE H4
   ========================================================= */

.rc-article h4 {
    margin: 15px 0 8px;
    padding: 0;

    color: #333;

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


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

.rc-article p {
    margin: 0 0 14px;
    padding: 0;

    color: #444;

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

    overflow-wrap: break-word;
}


.rc-article p:last-child {
    margin-bottom: 0;
}


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

.rc-article ul,
.rc-article ol {
    margin: 9px 0 17px;
    padding: 0 0 0 24px;
}


.rc-article ul {
    list-style: disc;
}


.rc-article ol {
    list-style: decimal;
}


.rc-article li {
    display: list-item;

    margin: 0 0 7px;
    padding: 0;

    color: #444;

    font-size: 16px;
    line-height: 1.7;

    overflow-wrap: break-word;
}


.rc-article li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   ARTICLE TEXT FORMATTING
   ========================================================= */

.rc-article strong,
.rc-article b {
    color: inherit;

    font-weight: 600;
}


.rc-article em,
.rc-article cite {
    font-style: italic;
}


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

.rc-article a {
    display: inline;

    color: #1155cc;

    text-decoration: none;
}


.rc-article a:hover {
    color: #0b419f;

    text-decoration: underline;
}


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

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


.rc-article .rc-reference-table {
    table-layout: auto;
}


.rc-article .rc-reference-table th,
.rc-article .rc-reference-table td {
    padding: 12px 14px;

    line-height: 1.5;

    overflow-wrap: break-word;
}


.rc-article .rc-reference-table thead th {
    font-size: 14px;
    font-weight: 600;
}


.rc-article .rc-reference-table tbody td {
    font-size: 14px;
}


/* =========================================================
   FLESCH REFERENCE TABLE COLORS
   ========================================================= */

.rc-page .rc-reference-table tr.rc-reference-very-easy,
.rc-page .rc-reference-table tr.rc-reference-very-easy:hover {
    background: #e6f5eb;
}


.rc-page .rc-reference-table tr.rc-reference-easy,
.rc-page .rc-reference-table tr.rc-reference-easy:hover {
    background: #eef7e8;
}


.rc-page .rc-reference-table tr.rc-reference-fairly-easy,
.rc-page .rc-reference-table tr.rc-reference-fairly-easy:hover {
    background: #f3f8e5;
}


.rc-page .rc-reference-table tr.rc-reference-standard,
.rc-page .rc-reference-table tr.rc-reference-standard:hover {
    background: #f9f8e4;
}


.rc-page .rc-reference-table tr.rc-reference-fairly-difficult,
.rc-page .rc-reference-table tr.rc-reference-fairly-difficult:hover {
    background: #fff4df;
}


.rc-page .rc-reference-table tr.rc-reference-difficult,
.rc-page .rc-reference-table tr.rc-reference-difficult:hover {
    background: #fceadd;
}


.rc-page .rc-reference-table tr.rc-reference-very-difficult,
.rc-page .rc-reference-table tr.rc-reference-very-difficult:hover {
    background: #fbe4e3;
}


/* =========================================================
   REFERENCE TABLE DIFFICULTY COLORS
   ========================================================= */

.rc-reference-very-easy td:nth-child(2) {
    color: #237a40 !important;
    font-weight: 600 !important;
}


.rc-reference-easy td:nth-child(2) {
    color: #397c48 !important;
    font-weight: 600 !important;
}


.rc-reference-fairly-easy td:nth-child(2) {
    color: #64832d !important;
    font-weight: 600 !important;
}


.rc-reference-standard td:nth-child(2) {
    color: #807724 !important;
    font-weight: 600 !important;
}


.rc-reference-fairly-difficult td:nth-child(2) {
    color: #967019 !important;
    font-weight: 600 !important;
}


.rc-reference-difficult td:nth-child(2) {
    color: #ab5929 !important;
    font-weight: 600 !important;
}


.rc-reference-very-difficult td:nth-child(2) {
    color: #b33b35 !important;
    font-weight: 600 !important;
}


/* =========================================================
   ARTICLE NOTES
   ========================================================= */

.rc-article .rc-article-note {
    margin: 9px 0 15px;
    padding: 0;

    color: #777;

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


/* =========================================================
   READABILITY FORMULA SECTIONS
   ========================================================= */

.rc-formula-section {
    width: 100%;
    min-width: 0;

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


.rc-formula-section:last-child {
    margin-bottom: 0;
}


.rc-formula-section h3 {
    margin: 0 0 11px;
}


/* =========================================================
   MATHEMATICAL FORMULA BOX
   ========================================================= */

.rc-formula-box {
    width: 100%;
    min-width: 0;

    margin: 17px 0;
    padding: 17px 19px;

    border: 1px solid #d8e2ee;
    border-left: 4px solid #7a9cc7;
    border-radius: 6px;

    background: #f7f9fc;
}


/* FORMULA NAME */

.rc-formula-name {
    display: block;

    margin: 0 0 9px;
    padding: 0;

    color: #4a6484;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.45;
}


/* FORMULA EQUATION */

.rc-formula-equation {
    display: block;

    max-width: 100%;

    margin: 0 0 12px;
    padding: 0;

    color: #263b57;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.7;

    font-variant-numeric: tabular-nums;

    overflow-wrap: break-word;
}


/* FORMULA VARIABLES */

.rc-formula-variables {
    display: flex;

    flex-direction: column;

    gap: 3px;

    margin: 0;
    padding: 0;
}


.rc-formula-variables span {
    display: block;

    color: #666;

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

    overflow-wrap: break-word;
}


/* =========================================================
   WRITING EXAMPLES
   ========================================================= */

.rc-writing-example {
    width: 100%;

    margin: 15px 0;
    padding: 15px 17px;

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

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


.rc-article .rc-writing-example p {
    margin: 0 0 9px;
    padding: 0;

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


.rc-article .rc-writing-example p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   BEFORE AND AFTER COMPARISONS
   ========================================================= */

.rc-comparison {
    display: grid;

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

    align-items: stretch;

    gap: 13px;

    width: 100%;

    margin: 14px 0 22px;
    padding: 0;
}


.rc-comparison-card {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 15px 17px;

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


.rc-comparison-card.rc-before {
    border-color: #e6d8d5;

    background: #fdf8f7;
}


.rc-comparison-card.rc-after {
    border-color: #d2e4d7;

    background: #f5faf6;
}


.rc-article .rc-comparison-card h4 {
    margin: 0 0 9px;
    padding: 0;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
}


.rc-article .rc-before h4 {
    color: #a14f43;
}


.rc-article .rc-after h4 {
    color: #39834d;
}


.rc-article .rc-comparison-card p {
    margin: 0;
    padding: 0;

    color: #444;

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


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

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


.rc-faq-item {
    width: 100%;

    margin: 0;
    padding: 17px 0;

    border-bottom: 1px solid #e5e8ed;
}


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

    border-bottom: 0;
}


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


.rc-article .rc-faq-item h3 {
    margin: 0 0 8px;
    padding: 0;

    color: #333;

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


.rc-article .rc-faq-item p {
    margin: 0;
    padding: 0;

    color: #444;

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


/* =========================================================
   ARTICLE REFERENCES
   ========================================================= */

.rc-references {
    width: 100%;

    margin-top: 25px;
}


.rc-article .rc-references ul {
    margin-top: 13px;
}


.rc-article .rc-references li {
    margin-bottom: 10px;

    color: #555;

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


.rc-article .rc-references cite {
    color: #444;
}


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

.rc-related-section {
    width: 100%;

    margin-top: 30px !important;
    padding-top: 25px !important;

    border-top: 1px solid #e1e5eb;
}


.rc-related-grid {
    display: grid;

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

    align-items: stretch;

    gap: 12px;

    width: 100%;

    margin: 18px 0 0;
    padding: 0;
}


.rc-page a.rc-related-card {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 15px;

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

    background: #fff;

    text-align: left;
    text-decoration: none;

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


.rc-article .rc-related-card h3 {
    width: 100%;

    margin: 0 0 7px;
    padding: 0;

    color: #1155cc;

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

    overflow-wrap: break-word;
}


.rc-article .rc-related-card p {
    width: 100%;

    margin: 0;
    padding: 0;

    color: #666;

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


.rc-page a.rc-related-card:hover {
    border-color: #94b4de;

    background: #f8fbff;

    box-shadow:
        0 2px 6px rgba(26, 115, 232, 0.04);

    text-decoration: none;
}


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


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

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

    .rc-page {
        padding-left: 25px;
        padding-right: 25px;
    }

}


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

   1280px and above:
   Text Input     | Readability Results | Sidebar
   Text Statistics| Detailed Scores     | Sidebar

   ========================================================= */

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

    .rc-top-workspace {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        grid-template-areas:
            "input results"
            "stats results";

        grid-template-rows: auto auto;
    }


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


    .rc-workspace-stats-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }

}


/* =========================================================
   MEDIUM DESKTOP

   1279px and below:
   Stack input, results, then statistics.

   Sidebar remains visible until 900px.

   ========================================================= */

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

    .rc-top-workspace {
        grid-template-columns: minmax(0, 1fr);

        grid-template-areas:
            "input"
            "results"
            "stats";

        grid-template-rows: auto;

        gap: 22px;
    }


    .rc-workspace-input {
        grid-area: input;
    }


    .rc-workspace-results {
        grid-area: results;
    }


    .rc-workspace-stats {
        grid-area: stats;
    }


    .rc-page .rc-textarea {
        height: 230px;
        min-height: 120px;
    }


    .rc-workspace-results .rc-primary-results {
        gap: 14px;
    }


    .rc-workspace-results .rc-score-card {
        min-height: 225px;

        padding: 20px 15px;
    }


    .rc-workspace-results .rc-score-heading {
        font-size: 17px;
    }


    .rc-workspace-results .rc-main-score {
        font-size: 48px;
    }


    .rc-workspace-results .rc-score-description {
        font-size: 14px;
    }


    .rc-workspace-results .rc-grade-detail {
        font-size: 12px;
    }


    .rc-workspace-results .rc-table th,
    .rc-workspace-results .rc-table td {
        padding: 12px 13px;
    }


    .rc-workspace-results .rc-score-table tbody th {
        font-size: 14px;
    }


    .rc-workspace-results .rc-score-table td:last-child {
        font-size: 13px;
    }


    .rc-workspace-stats-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .rc-workspace-stats .rc-analysis-stat {
        min-height: 100px;
    }

}


/* =========================================================
   MEDIUM DESKTOP REFINEMENTS
   ========================================================= */

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

    .rc-layout {
        gap: 20px;
    }


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

}


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

@media screen and (min-width: 901px) and (max-width: 1050px) {

    .rc-layout {
        gap: 16px;
    }


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


    .rc-workspace-stats-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .rc-primary-results {
        gap: 10px;
    }


    .rc-score-card {
        min-height: 225px;

        padding: 18px 12px;
    }


    .rc-page .rc-score-heading {
        font-size: 16px;
    }


    .rc-main-score {
        font-size: 47px;
    }


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

}


/* =========================================================
   TABLET AND SMALL SCREENS

   900px and below:
   Hide 300px Raptive sidebar.

   ========================================================= */

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

    .rc-layout {
        grid-template-columns: minmax(0, 1fr);

        gap: 0;

        max-width: 850px;
    }


    .rc-sidebar {
        display: none !important;
    }


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


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


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


    .rc-top-workspace {
        grid-template-columns: minmax(0, 1fr);

        grid-template-areas:
            "input"
            "results"
            "stats";

        gap: 20px;

        margin-bottom: 25px;
    }


    .rc-primary-results {
        gap: 14px;
    }


    .rc-score-card {
        min-height: 225px;
    }


    .rc-workspace-stats-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


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

}


/* =========================================================
   SMALL TABLETS
   ========================================================= */

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

    .rc-page {
        padding: 90px 13px 32px;
    }


    .rc-page [id] {
        scroll-margin-top: 90px;
    }


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


    .rc-intro {
        font-size: 15px;
    }


    .rc-primary-results {
        gap: 11px;
    }


    .rc-score-card {
        padding: 18px 12px;

        min-height: 220px;
    }


    .rc-page .rc-score-heading {
        font-size: 15px;
    }


    .rc-main-score {
        font-size: 46px;
    }


    .rc-score-description {
        font-size: 14px;
    }


    .rc-grade-explanation {
        font-size: 12px;
    }


    .rc-workspace-stats-grid {
        grid-template-columns:
            repeat(3, minmax(0, 1fr));
    }


    .rc-workspace-stats .rc-analysis-stat {
        min-height: 95px;
    }


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


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


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

}


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

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

    .rc-page {
        padding: 86px 12px 28px;

        font-size: 15px;
    }


    .rc-page [id] {
        scroll-margin-top: 85px;
    }


    /* PAGE HEADING */

    .rc-heading {
        margin-bottom: 18px;
    }


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

        font-size: 27px;
        line-height: 1.3;
    }


    .rc-intro {
        font-size: 14px;
        line-height: 1.6;
    }


    /* WORKSPACE */

    .rc-top-workspace {
        grid-template-columns: minmax(0, 1fr);

        grid-template-areas:
            "input"
            "results"
            "stats";

        grid-template-rows: auto;

        gap: 18px;

        margin-bottom: 25px;
    }


    /* TEXTAREA */

    .rc-page .rc-textarea {
        height: 200px;
        min-height: 110px;

        padding: 12px;

        border-radius: 7px;

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


    .rc-page .rc-textarea::placeholder {
        font-size: 15px;
    }


    /* TEXTAREA TOOLBAR */

    .rc-input-toolbar {
        gap: 7px;

        margin-top: 8px;
    }


    .rc-input-actions {
        gap: 6px;
    }


    .rc-page .rc-button {
        gap: 5px;

        min-height: 42px;

        padding: 8px 11px;

        font-size: 13px;
    }


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


    .rc-page .rc-sample-button {
        gap: 5px;

        min-height: 42px;

        font-size: 12px;
    }


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


    /* NOTICES */

    .rc-notice {
        gap: 7px;

        padding: 10px 11px;

        font-size: 12px;
    }


    .rc-notice i {
        font-size: 16px;
    }


    /* SECTION HEADINGS */

    .rc-page .rc-section-heading,
    .rc-workspace-results .rc-section-heading,
    .rc-workspace-stats .rc-section-heading {
        margin-bottom: 10px;

        font-size: 21px;
    }


    .rc-section-description {
        margin-bottom: 13px;

        font-size: 13px;
    }


    /* PRIMARY RESULTS */

    .rc-results-section {
        margin-bottom: 25px;
    }


    .rc-results-section .rc-section-heading {
        margin-bottom: 13px;
    }


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

        gap: 8px;
    }


    .rc-score-card,
    .rc-workspace-results .rc-score-card {
        min-height: 215px;

        padding: 15px 9px;

        border-radius: 7px;
    }


    .rc-page .rc-score-heading,
    .rc-workspace-results .rc-score-heading {
        display: flex;

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

        min-height: 39px;

        margin-bottom: 7px;

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


    .rc-main-score,
    .rc-workspace-results .rc-main-score {
        margin-top: 0;

        font-size: 42px;
        letter-spacing: -1.2px;
    }


    .rc-score-description,
    .rc-workspace-results .rc-score-description {
        font-size: 13px;
        line-height: 1.45;
    }


    .rc-reading-ease-card[data-level="empty"] .rc-score-description {
        font-size: 12px;
    }


    /* GAUGE */

    .rc-gauge {
        margin-top: 14px;
    }


    .rc-gauge-track {
        height: 10px;
    }


    .rc-gauge-numbers {
        font-size: 10px;
    }


    .rc-gauge-labels {
        margin-top: 2px;

        font-size: 10px;
    }


    /* GRADE DETAILS */

    .rc-grade-explanation {
        margin-top: 10px;

        font-size: 11px;
    }


    .rc-grade-detail,
    .rc-workspace-results .rc-grade-detail {
        margin-top: 6px;

        font-size: 11px;
    }


    .rc-results-footnote {
        margin-top: 10px;

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


    /* DETAILED READABILITY TABLE */

    .rc-detailed-results {
        margin-bottom: 25px;
    }


    .rc-page .rc-table th,
    .rc-page .rc-table td,
    .rc-workspace-results .rc-table th,
    .rc-workspace-results .rc-table td {
        padding: 11px 9px;
    }


    .rc-page .rc-table thead th {
        font-size: 12px;
    }


    .rc-page .rc-table tbody th,
    .rc-page .rc-table tbody td,
    .rc-workspace-results .rc-score-table tbody th {
        font-size: 12px;
    }


    .rc-score-table th:first-child {
        width: 46%;
    }


    .rc-score-table th:nth-child(2) {
        width: 19%;
    }


    .rc-score-table th:nth-child(3) {
        width: 35%;
    }


    .rc-page .rc-score-table td.rc-table-score {
        font-size: 15px;
    }


    .rc-page .rc-score-table td:last-child,
    .rc-workspace-results .rc-score-table td:last-child {
        font-size: 11px;
    }


    .rc-table-note {
        font-size: 12px;
    }


    /* ALL 12 TEXT STATISTICS */

    .rc-workspace-stats {
        margin: 0;
    }


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

        gap: 8px;
    }


    .rc-workspace-stats .rc-analysis-stat {
        min-height: 92px;

        padding: 12px 8px;

        border-radius: 6px;
    }


    .rc-analysis-value {
        font-size: 25px;
    }


    .rc-analysis-label {
        font-size: 12px;
    }


    .rc-analysis-detail {
        font-size: 10px;
    }


    .rc-workspace-stats .rc-table-note {
        font-size: 12px;
    }


    /* READABILITY HIGHLIGHTING */

    .rc-highlight-section {
        margin-bottom: 25px;
    }


    .rc-highlight-controls {
        gap: 6px;
    }


    .rc-highlight-option {
        gap: 5px;

        min-height: 37px;

        padding: 7px 8px;

        font-size: 12px;
    }


    .rc-page .rc-highlight-option input[type="checkbox"] {
        width: 14px;
        height: 14px;
    }


    .rc-legend-color {
        width: 13px;
        height: 13px;
    }


    .rc-highlight-count {
        min-width: 20px;
        min-height: 18px;

        padding: 2px 4px;

        font-size: 10px;
    }


    .rc-highlight-preview {
        min-height: 140px;
        max-height: 370px;

        padding: 12px;

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


    .rc-preview-placeholder {
        font-size: 14px;
    }


    /* SUGGESTIONS */

    .rc-suggestions-panel {
        padding: 14px 12px;
    }


    .rc-suggestions-empty {
        gap: 8px;
    }


    .rc-suggestions-empty i {
        font-size: 20px;
    }


    .rc-suggestions-empty p {
        font-size: 13px;
    }


    .rc-page .rc-suggestions-list {
        gap: 11px;
    }


    .rc-suggestions-list li {
        gap: 8px;

        font-size: 13px;
    }


    .rc-suggestion-title {
        font-size: 13px;
    }


    .rc-suggestion-text {
        font-size: 13px;
    }


    /* PRIVACY NOTE */

    .rc-privacy-note {
        align-items: flex-start;

        margin-top: 17px;

        font-size: 11px;
    }


    .rc-privacy-note i {
        margin-top: 1px;

        font-size: 14px;
    }


    /* ARTICLE */

    .rc-tool {
        margin-bottom: 32px;
    }


    .rc-article {
        padding-top: 25px;

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


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


    .rc-article h2 {
        margin-bottom: 12px;

        font-size: 23px;
    }


    .rc-article h3 {
        margin-top: 20px;
        margin-bottom: 8px;

        font-size: 18px;
    }


    .rc-article p,
    .rc-article li {
        font-size: 15px;
        line-height: 1.75;
    }


    .rc-article ul,
    .rc-article ol {
        padding-left: 21px;
    }


    .rc-article .rc-reference-table th,
    .rc-article .rc-reference-table td {
        padding: 10px 8px;

        font-size: 12px;
    }


    .rc-article .rc-article-note {
        font-size: 12px;
    }


    /* FORMULAS */

    .rc-formula-section {
        margin-top: 20px;
        margin-bottom: 24px;
    }


    .rc-formula-box {
        margin: 14px 0;
        padding: 13px 12px;

        border-left-width: 3px;
    }


    .rc-formula-name {
        font-size: 12px;
    }


    .rc-formula-equation {
        font-size: 16px;
        line-height: 1.7;
    }


    .rc-formula-variables span {
        font-size: 12px;
    }


    /* COMPARISONS */

    .rc-comparison {
        grid-template-columns: minmax(0, 1fr);

        gap: 9px;
    }


    .rc-comparison-card {
        padding: 13px 14px;
    }


    .rc-article .rc-comparison-card p {
        font-size: 14px;
    }


    .rc-writing-example {
        padding: 13px;
    }


    .rc-article .rc-writing-example p {
        font-size: 14px;
    }


    /* FAQ */

    .rc-faq-item {
        padding: 15px 0;
    }


    .rc-article .rc-faq-item h3 {
        font-size: 17px;
    }


    .rc-article .rc-faq-item p {
        font-size: 14px;
    }


    /* REFERENCES */

    .rc-article .rc-references li {
        font-size: 13px;
    }


    /* RELATED TOOLS */

    .rc-related-grid {
        gap: 8px;
    }


    .rc-page a.rc-related-card {
        padding: 12px 10px;
    }


    .rc-article .rc-related-card h3 {
        font-size: 14px;
    }


    .rc-article .rc-related-card p {
        font-size: 12px;
    }

}


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

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

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


    .rc-heading h1 {
        font-size: 25px;
    }


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


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


    .rc-page .rc-sample-button {
        font-size: 11px;
    }


    .rc-page .rc-sample-button i {
        font-size: 14px;
    }


    .rc-page .rc-score-heading,
    .rc-workspace-results .rc-score-heading {
        font-size: 13px;
    }


    .rc-main-score,
    .rc-workspace-results .rc-main-score {
        font-size: 37px;
    }


    .rc-score-card {
        padding-left: 8px;
        padding-right: 8px;
    }


    .rc-grade-detail {
        font-size: 10px;
    }


    .rc-analysis-value {
        font-size: 23px;
    }


    .rc-analysis-label {
        font-size: 11px;
    }


    .rc-page .rc-score-table th,
    .rc-page .rc-score-table td {
        padding-left: 7px;
        padding-right: 7px;
    }


    .rc-page .rc-score-table td:last-child {
        font-size: 11px;
    }


    .rc-article h2 {
        font-size: 22px;
    }


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

}


/* =========================================================
   VERY NARROW SCREENS
   ========================================================= */

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

    .rc-input-toolbar {
        align-items: stretch;
    }


    .rc-page .rc-sample-button {
        width: 100%;
        justify-content: flex-start;
    }


    .rc-input-actions {
        width: 100%;

        margin-left: 0;

        justify-content: flex-end;
    }


    .rc-primary-results,
    .rc-workspace-results .rc-primary-results {
        grid-template-columns: minmax(0, 1fr);
    }


    .rc-score-card {
        min-height: 200px;
    }


    .rc-page .rc-score-heading,
    .rc-workspace-results .rc-score-heading {
        min-height: 0;

        font-size: 16px;
    }


    .rc-main-score,
    .rc-workspace-results .rc-main-score {
        font-size: 45px;
    }


    .rc-highlight-option {
        width: 100%;
    }


    .rc-highlight-count {
        margin-left: auto;
    }

}


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

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

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

        transition-duration: 0s !important;
        animation-duration: 0s !important;
    }

}


/* =========================================================
   HIGH CONTRAST SUPPORT
   ========================================================= */

@media (forced-colors: active) {

    .rc-score-card,
    .rc-analysis-stat,
    .rc-suggestions-panel,
    .rc-highlight-preview,
    .rc-highlight-option,
    .rc-formula-box,
    .rc-related-card {
        border: 1px solid CanvasText;
    }


    .rc-gauge-track,
    .rc-legend-color {
        forced-color-adjust: none;
    }


    .rc-highlight-preview .rc-mark-long,
    .rc-highlight-preview .rc-sentence-long,
    .rc-highlight-preview .rc-highlight-sentence.is-long {
        text-decoration: underline;
    }


    .rc-highlight-preview .rc-mark-very-long,
    .rc-highlight-preview .rc-sentence-very-long,
    .rc-highlight-preview .rc-highlight-sentence.is-very-long {
        text-decoration: underline double;
    }


    .rc-highlight-preview .rc-mark-complex,
    .rc-highlight-preview .rc-word-complex,
    .rc-highlight-preview .rc-highlight-word.is-complex {
        text-decoration: underline dotted;
    }

}


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

@media print {

    .rc-page {
        padding: 0;

        background: #fff;
        color: #000;

        font-size: 12px;
    }


    .rc-layout {
        display: block;

        width: 100%;
        max-width: none;
    }


    .rc-top-workspace {
        grid-template-columns:
            minmax(0, 1fr)
            minmax(0, 1fr);

        grid-template-areas:
            "input results"
            "stats results";

        grid-template-rows: auto auto;

        gap: 15px;
    }


    .rc-sidebar,
    .rc-input-toolbar,
    .rc-highlight-controls,
    .rc-privacy-note {
        display: none !important;
    }


    .rc-score-card,
    .rc-analysis-stat,
    .rc-table-wrapper,
    .rc-formula-box,
    .rc-comparison-card {
        break-inside: avoid;
        page-break-inside: avoid;

        box-shadow: none;
    }


    .rc-gauge-track,
    .rc-highlight-preview,
    .rc-reference-table {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }


    .rc-highlight-preview {
        max-height: none;
        overflow: visible;
    }


    .rc-page a {
        color: #000;
    }


    .rc-article {
        margin-top: 20px;
    }

}


/* =========================================================
   END OF READABILITY CHECKER STYLESHEET
   ========================================================= */
