/* =========================================================
   INVISIBLE CHARACTER REMOVER — CharacterCounter.com

   File: invisible-character-remover.css

   Compatible with:
   - invisible-character-remover.html
   - invisible-character-remover.js
   - header-and-footer-updated.css

   Desktop:
   Main Content | 300px Advertising Sidebar

   Original and cleaned textareas are stacked vertically.

   Tablet and mobile:
   Full-width main content
   ========================================================= */


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

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

    --icr-text: #333;
    --icr-muted: #666;
    --icr-border: #dce2e9;
    --icr-border-dark: #c9ced6;
    --icr-soft: #f8fafc;

    --icr-green: #237a40;
    --icr-green-light: #edf8f0;
    --icr-green-border: #cce7d4;

    --icr-red: #b42318;
    --icr-red-light: #fff3f2;
    --icr-red-border: #f1ceca;

    --icr-orange: #956013;
    --icr-orange-light: #fff8e9;

    --icr-warning: #856404;
    --icr-warning-light: #fff9e9;
    --icr-warning-border: #ecd69c;

    display: block;

    width: 100%;
    min-width: 0;

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

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

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


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

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


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

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


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

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


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

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


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

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

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


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

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


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

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


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

.icr-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
   ========================================================= */

.icr-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
   ========================================================= */

.icr-main {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


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

   Starts alongside the page heading.
   ========================================================= */

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

    width: 300px;
    min-width: 300px;

    min-height: 100%;

    align-self: stretch;

    margin: 0;
    padding: 0;
}


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

.icr-heading {
    width: 100%;

    margin: 0 0 26px;
    padding: 0;

    text-align: center;
}


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

.icr-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
   ========================================================= */

.icr-intro {
    width: 100%;
    max-width: 850px;

    margin: 0 auto;
    padding: 0;

    color: #555;

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

    text-align: center;
}


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

.icr-notice {
    width: 100%;

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

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

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

    overflow-wrap: break-word;
}

.icr-notice-warning {
    border-color: var(--icr-warning-border);

    background: var(--icr-warning-light);
    color: #6e531c;
}


/* =========================================================
   ERROR MESSAGE
   ========================================================= */

.icr-error {
    width: 100%;

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

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

    background: var(--icr-red-light);
    color: var(--icr-red);

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

    overflow-wrap: anywhere;
}


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

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

    margin: 0 0 44px;
    padding: 0;
}


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

   Original and cleaned textareas are vertically stacked
   on all screen sizes.
   ========================================================= */

.icr-workspace {
    display: grid;

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

    align-items: start;

    gap: 23px;

    width: 100%;
    min-width: 0;

    margin: 0 0 25px;
    padding: 0;
}


/* =========================================================
   TEXT PANELS
   ========================================================= */

.icr-panel,
.icr-input-panel,
.icr-output-panel {
    display: flex;

    flex-direction: column;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   TEXT PANEL HEADER
   ========================================================= */

.icr-panel-header {
    display: flex;

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

    flex-wrap: wrap;

    gap: 8px 15px;

    width: 100%;

    margin: 0 0 8px;
    padding: 0;
}


/* =========================================================
   TEXT PANEL TITLE
   ========================================================= */

.icr-panel-title {
    margin: 0;
    padding: 0;

    color: #333;

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

.icr-panel-title label {
    display: inline-block;

    margin: 0;
    padding: 0;

    color: inherit;

    font-size: inherit;
    font-weight: inherit;

    cursor: text;
}


/* =========================================================
   PANEL CHARACTER COUNTS
   ========================================================= */

.icr-panel-count {
    display: inline-block;

    flex: 0 0 auto;

    color: var(--icr-muted);

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

    font-variant-numeric: tabular-nums;

    white-space: nowrap;
}

.icr-panel-count span {
    color: #444;

    font-weight: 600;
}


/* =========================================================
   TEXTAREA WRAPPER
   ========================================================= */

.icr-textarea-wrapper {
    position: relative;

    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


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

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

    width: 100%;
    min-width: 0;

    min-height: 180px;

    margin: 0;
    padding: 13px 14px;

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

    outline: none;

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

    font-family: "Roboto", Arial, sans-serif;

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

    text-align: start;

    white-space: pre-wrap;
    overflow-wrap: break-word;

    overflow: auto;

    resize: vertical;

    box-shadow: none;

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

.icr-page .icr-textarea:hover {
    border-color: #aeb8c5;
}

.icr-page .icr-textarea:focus {
    border-color: var(--icr-blue);

    outline: none;

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


/* =========================================================
   TEXTAREA PLACEHOLDERS
   ========================================================= */

.icr-page .icr-textarea::placeholder {
    color: #929292;

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

    opacity: 1;
}


/* =========================================================
   CLEANED TEXTAREA
   ========================================================= */

.icr-page .icr-output-textarea {
    background: #fcfdfe;
    color: var(--icr-text);

    cursor: text;
}

.icr-page .icr-output-textarea:focus {
    background: #fff;
}

.icr-page .icr-output-textarea[readonly] {
    opacity: 1;

    -webkit-text-fill-color: var(--icr-text);
}


/* =========================================================
   INVALID TEXTAREA STATE
   ========================================================= */

.icr-page .icr-textarea[aria-invalid="true"],
.icr-page .icr-textarea.icr-invalid {
    border-color: var(--icr-red);
}

.icr-page .icr-textarea[aria-invalid="true"]:focus,
.icr-page .icr-textarea.icr-invalid:focus {
    box-shadow:
        0 0 0 3px rgba(180, 35, 24, 0.10);
}


/* =========================================================
   TEXTAREA DISABLED STATE
   ========================================================= */

.icr-page .icr-textarea:disabled {
    background: #f6f7f8;
    color: #888;

    cursor: not-allowed;

    opacity: 0.8;
}


/* =========================================================
   TEXT PANEL ACTIONS
   ========================================================= */

.icr-panel-actions {
    display: flex;

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

    flex-wrap: wrap;

    gap: 9px;

    width: 100%;

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


/* =========================================================
   GENERAL TOOL BUTTONS
   ========================================================= */

.icr-page .icr-btn {
    display: inline-flex;

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

    gap: 7px;

    width: auto;
    max-width: 100%;

    min-height: 40px;

    margin: 0;
    padding: 9px 14px;

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

    appearance: none;
    -webkit-appearance: none;

    font-family: "Roboto", Arial, sans-serif;

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

    text-align: center;
    text-decoration: none;

    white-space: nowrap;

    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;

    box-shadow: none;

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


/* =========================================================
   BUTTON ICONS
   ========================================================= */

.icr-page .icr-btn i {
    display: inline-flex;

    flex: 0 0 auto;

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

    margin: 0;
    padding: 0;

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


/* =========================================================
   PRIMARY BUTTONS
   ========================================================= */

.icr-page .icr-btn-primary {
    border-color: var(--icr-blue);

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

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

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

.icr-page .icr-btn-primary:active:not(:disabled) {
    border-color: #124b91;

    background: #124b91;
}


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

.icr-page .icr-btn-secondary {
    border-color: #d4d9e0;

    background: #f5f6f8;
    color: #444;
}

.icr-page .icr-btn-secondary:hover:not(:disabled) {
    border-color: #bcc5d0;

    background: #e9edf2;
    color: #333;
}

.icr-page .icr-btn-secondary:active:not(:disabled) {
    background: #dfe5ec;
}


/* =========================================================
   SMALL BUTTONS
   ========================================================= */

.icr-page .icr-btn-small {
    min-height: 35px;

    padding: 7px 11px;

    font-size: 13px;
}

.icr-page .icr-btn-small i {
    font-size: 15px;
}


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

#icrCopy {
    min-width: 115px;
}


/* =========================================================
   COPY SUCCESS STATE
   ========================================================= */

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

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

.icr-page .icr-btn.icr-copied:hover:not(:disabled),
.icr-page .icr-btn.is-copied:hover:not(:disabled),
.icr-page .icr-btn[data-copied="true"]:hover:not(:disabled) {
    border-color: #1c6635;

    background: #1c6635;
    color: #fff;
}


/* =========================================================
   BUTTON DISABLED STATE
   ========================================================= */

.icr-page .icr-btn:disabled,
.icr-page .icr-btn[aria-disabled="true"] {
    cursor: not-allowed;

    opacity: 0.5;

    box-shadow: none;
}

.icr-page .icr-btn-primary:disabled {
    border-color: #7ba8e6;

    background: #7ba8e6;
    color: #fff;
}

.icr-page .icr-btn-secondary:disabled {
    border-color: #dce0e6;

    background: #f4f5f7;
    color: #777;
}


/* =========================================================
   GENERAL HELP TEXT
   ========================================================= */

.icr-help {
    width: 100%;

    margin: 9px 0 0;
    padding: 0;

    color: var(--icr-muted);

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

    overflow-wrap: break-word;
}


/* =========================================================
   REMOVAL SETTINGS
   ========================================================= */

.icr-settings {
    display: block;

    width: 100%;
    min-width: 0;

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

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

    background: #fff;
}


/* =========================================================
   SETTINGS LEGEND
   ========================================================= */

.icr-settings-title {
    display: block;

    max-width: 100%;

    margin: 0;
    padding: 0 8px;

    color: #333;

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


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

   Two columns on desktop.
   One column on narrow mobile screens.
   ========================================================= */

.icr-settings-grid {
    display: grid;

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

    align-items: start;

    gap: 14px 16px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   INDIVIDUAL REMOVAL OPTION
   ========================================================= */

.icr-option {
    display: flex;

    flex-direction: column;

    gap: 6px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 12px 13px;

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

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


/* =========================================================
   OPTION LABEL
   ========================================================= */

.icr-option-label {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    color: #333;

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

    overflow-wrap: break-word;

    cursor: pointer;
}


/* =========================================================
   REMOVAL OPTION SELECTORS
   ========================================================= */

.icr-page .icr-select {
    display: block;

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

    min-height: 39px;

    margin: 0;
    padding: 8px 32px 8px 10px;

    border: 1px solid var(--icr-border-dark);
    border-radius: 5px;

    outline: none;

    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;

    background-color: #fff;

    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");

    background-repeat: no-repeat;
    background-position: right 9px center;
    background-size: 16px;

    color: #333;

    font-family: "Roboto", Arial, sans-serif;

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

    text-overflow: ellipsis;

    cursor: pointer;

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


/* =========================================================
   SELECTOR INTERACTION
   ========================================================= */

.icr-page .icr-select:hover {
    border-color: #aeb8c5;
}

.icr-page .icr-select:focus {
    border-color: var(--icr-blue);

    outline: none;

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

.icr-page .icr-select:disabled {
    background-color: #f0f2f5;

    color: #888;

    cursor: not-allowed;

    opacity: 0.7;
}

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


/* =========================================================
   OPTIONAL SELECTOR ACTION STATES

   JavaScript can update data-action on each selector.
   ========================================================= */

.icr-page .icr-select[data-action="remove"] {
    border-color: #a9c8ee;

    background-color: #f4f8ff;
    color: #195ca8;
}

.icr-page .icr-select[data-action="replace"] {
    border-color: #e1d1a5;

    background-color: #fffcf3;
    color: #805b17;
}

.icr-page .icr-select[data-action="preserve"] {
    border-color: var(--icr-border-dark);

    background-color: #fff;
    color: #444;
}

.icr-page .icr-select[data-action]:focus {
    border-color: var(--icr-blue);
}


/* =========================================================
   OPTION UNICODE DESCRIPTION
   ========================================================= */

.icr-option-description {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    color: #737373;

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

    overflow-wrap: anywhere;
}


/* =========================================================
   ADVANCED OPTIONS
   ========================================================= */

.icr-advanced {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 16px 0 0;
    padding: 0;

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

    background: #fff;
}


/* =========================================================
   ADVANCED OPTIONS SUMMARY
   ========================================================= */

.icr-advanced-summary {
    display: flex;

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

    gap: 12px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 12px 14px;

    border-radius: 6px;

    background: #f7f9fb;
    color: #444;

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

    list-style: none;

    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;

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

.icr-advanced-summary::-webkit-details-marker {
    display: none;
}

.icr-advanced-summary::marker {
    content: "";
}

.icr-advanced-summary:hover {
    background: #edf2f7;
    color: #333;
}


/* =========================================================
   ADVANCED OPTIONS HEADING
   ========================================================= */

.icr-advanced-heading {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-width: 0;

    overflow-wrap: break-word;
}

.icr-advanced-heading i {
    flex: 0 0 auto;

    color: #646f7b;

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


/* =========================================================
   ADVANCED OPTIONS ARROW
   ========================================================= */

.icr-advanced-arrow {
    flex: 0 0 auto;

    color: #666;

    font-size: 21px;
    line-height: 1;

    transition: transform 0.2s ease;
}


/* =========================================================
   OPEN ADVANCED OPTIONS
   ========================================================= */

.icr-advanced[open] > .icr-advanced-summary {
    border-bottom: 1px solid var(--icr-border);

    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.icr-advanced[open] .icr-advanced-arrow {
    transform: rotate(180deg);
}


/* =========================================================
   ADVANCED OPTIONS CONTENT
   ========================================================= */

.icr-advanced-content {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 14px;
}


/* =========================================================
   ADVANCED OPTIONS INTRODUCTION
   ========================================================= */

.icr-advanced-intro {
    margin: 0 0 15px;
    padding: 0;

    color: #666;

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

    overflow-wrap: break-word;
}


/* =========================================================
   SETTINGS ACTION BUTTONS
   ========================================================= */

.icr-settings-actions {
    display: flex;

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

    flex-wrap: wrap;

    gap: 8px;

    width: 100%;

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


/* =========================================================
   SETTINGS HELP MESSAGE
   ========================================================= */

.icr-settings-help {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    width: 100%;

    margin: 13px 0 0;
    padding: 0;

    color: #666;

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

.icr-settings-help i {
    flex: 0 0 auto;

    margin-top: 1px;

    color: #748094;

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

.icr-settings-help span {
    flex: 1 1 auto;

    min-width: 0;

    overflow-wrap: break-word;
}


/* =========================================================
   SENSITIVE CHARACTER WARNING
   ========================================================= */

.icr-sensitive-warning {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    width: 100%;

    margin: 13px 0 0;
    padding: 11px 13px;

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

    background: var(--icr-warning-light);
    color: #6e531c;

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

.icr-sensitive-warning i {
    flex: 0 0 auto;

    margin-top: 1px;

    color: var(--icr-warning);

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

.icr-sensitive-warning span {
    flex: 1 1 auto;

    min-width: 0;

    overflow-wrap: break-word;
}


/* =========================================================
   RESULT STATUS MESSAGE
   ========================================================= */

.icr-result-status {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    width: 100%;
    min-width: 0;

    margin: 0 0 23px;
    padding: 11px 14px;

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

    background: #f5f8fc;
    color: #52647a;

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

    overflow-wrap: break-word;
}

.icr-result-status i {
    flex: 0 0 auto;

    margin-top: 1px;

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

.icr-result-status span {
    flex: 1 1 auto;

    min-width: 0;
}


/* =========================================================
   EMPTY STATUS
   ========================================================= */

.icr-result-status[data-state="empty"] {
    border-color: #e0e5eb;

    background: #f7f9fb;
    color: #666;
}


/* =========================================================
   SUCCESS AND CLEANED STATUS
   ========================================================= */

.icr-result-status[data-state="success"],
.icr-result-status[data-state="cleaned"],
.icr-result-status[data-state="changed"] {
    border-color: var(--icr-green-border);

    background: var(--icr-green-light);
    color: var(--icr-green);
}


/* =========================================================
   NO INVISIBLE CHARACTERS FOUND
   ========================================================= */

.icr-result-status[data-state="clean"],
.icr-result-status[data-state="none"],
.icr-result-status[data-state="no-hidden"],
.icr-result-status[data-state="no-invisible"] {
    border-color: var(--icr-green-border);

    background: var(--icr-green-light);
    color: var(--icr-green);
}


/* =========================================================
   PRESERVED OR UNCHANGED STATUS
   ========================================================= */

.icr-result-status[data-state="preserved"],
.icr-result-status[data-state="unchanged"] {
    border-color: #d1e1f4;

    background: #eef5ff;
    color: #365f94;
}


/* =========================================================
   WARNING STATUS
   ========================================================= */

.icr-result-status[data-state="warning"],
.icr-result-status[data-state="partial"],
.icr-result-status[data-state="empty-output"] {
    border-color: var(--icr-warning-border);

    background: var(--icr-warning-light);
    color: var(--icr-warning);
}


/* =========================================================
   ERROR STATUS
   ========================================================= */

.icr-result-status[data-state="error"] {
    border-color: var(--icr-red-border);

    background: var(--icr-red-light);
    color: var(--icr-red);
}


/* =========================================================
   TOOL SECTION TITLES
   ========================================================= */

.icr-section-title {
    margin: 0 0 12px;
    padding: 0;

    color: #333;

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

    overflow-wrap: break-word;
}


/* =========================================================
   TOOL SECTION HEADER
   ========================================================= */

.icr-section-header {
    display: flex;

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

    flex-wrap: wrap;

    gap: 8px 15px;

    width: 100%;

    margin: 0 0 7px;
    padding: 0;
}

.icr-section-header .icr-section-title {
    margin: 0;
}


/* =========================================================
   SECTION DESCRIPTION
   ========================================================= */

.icr-section-description {
    margin: 0 0 13px;
    padding: 0;

    color: #666;

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


/* =========================================================
   CHARACTER STATISTICS SECTION
   ========================================================= */

.icr-statistics {
    width: 100%;
    min-width: 0;

    margin: 0 0 28px;
    padding: 0;
}


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

   Detected | Removed | Replaced | Preserved
   ========================================================= */

.icr-stats-grid {
    display: grid;

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

    align-items: stretch;

    gap: 11px;

    width: 100%;
    min-width: 0;

    margin: 0 0 13px;
    padding: 0;
}


/* =========================================================
   STATISTIC CARD
   ========================================================= */

.icr-stat-card {
    display: flex;

    flex-direction: column;

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

    gap: 5px;

    width: 100%;
    min-width: 0;

    min-height: 86px;

    margin: 0;
    padding: 12px 7px;

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

    background: #f8fafc;

    text-align: center;
}


/* =========================================================
   STATISTIC VALUE
   ========================================================= */

.icr-stat-value {
    display: block;

    max-width: 100%;

    margin: 0;
    padding: 0;

    color: #333;

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

    font-variant-numeric: tabular-nums;

    overflow-wrap: anywhere;
}


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

.icr-stat-label {
    display: block;

    width: 100%;

    margin: 0;
    padding: 0;

    color: #666;

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

    text-align: center;

    overflow-wrap: break-word;
}


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

.icr-stat-removed {
    border-color: var(--icr-green-border);

    background: var(--icr-green-light);
}

.icr-stat-removed .icr-stat-value {
    color: var(--icr-green);
}

.icr-stat-removed .icr-stat-label {
    color: #456f51;
}


/* =========================================================
   REPLACED STATISTIC
   ========================================================= */

.icr-stat-replaced {
    border-color: #d5e3f5;

    background: #f1f6fd;
}

.icr-stat-replaced .icr-stat-value {
    color: #2866ad;
}

.icr-stat-replaced .icr-stat-label {
    color: #53769e;
}


/* =========================================================
   BEFORE AND AFTER COMPARISON GRID
   ========================================================= */

.icr-comparison-grid {
    display: grid;

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

    align-items: stretch;

    gap: 0;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

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

    background: #fff;
}


/* =========================================================
   COMPARISON ITEM
   ========================================================= */

.icr-comparison-item {
    display: flex;

    flex-direction: column;

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

    gap: 5px;

    min-width: 0;

    margin: 0;
    padding: 12px 8px;

    text-align: center;
}

.icr-comparison-item + .icr-comparison-item {
    border-left: 1px solid var(--icr-border);
}


/* =========================================================
   COMPARISON LABEL
   ========================================================= */

.icr-comparison-label {
    display: block;

    max-width: 100%;

    color: #666;

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

    overflow-wrap: break-word;
}


/* =========================================================
   COMPARISON VALUES
   ========================================================= */

.icr-comparison-item strong {
    display: block;

    max-width: 100%;

    color: #333;

    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;

    font-variant-numeric: tabular-nums;

    overflow-wrap: anywhere;
}


/* =========================================================
   CHARACTER DIFFERENCE STATES
   ========================================================= */

#icrDifference[data-direction="decrease"],
#icrDifference[data-state="negative"],
#icrDifference.icr-negative {
    color: var(--icr-green);
}

#icrDifference[data-direction="increase"],
#icrDifference[data-state="positive"],
#icrDifference.icr-positive {
    color: var(--icr-orange);
}

#icrDifference[data-direction="none"],
#icrDifference[data-state="zero"],
#icrDifference.icr-neutral {
    color: #555;
}


/* =========================================================
   DETECTED CHARACTERS SECTION
   ========================================================= */

.icr-detected-section {
    width: 100%;
    min-width: 0;

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


/* =========================================================
   UNIQUE CHARACTER COUNT
   ========================================================= */

.icr-unique-count {
    display: inline-flex;

    align-items: center;

    flex: 0 0 auto;

    gap: 4px;

    color: #666;

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

    white-space: nowrap;
}

#icrUniqueCount {
    color: #444;

    font-weight: 600;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   DETECTED CHARACTERS TABLE WRAPPER
   ========================================================= */

.icr-table-wrapper {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

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

    background: #fff;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   DETECTED CHARACTERS TABLE
   ========================================================= */

.icr-results-table {
    width: 100%;

    min-width: 450px;

    margin: 0;
    padding: 0;

    border: 0;

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

    background: #fff;

    table-layout: auto;

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


/* =========================================================
   RESULTS TABLE HEADER
   ========================================================= */

.icr-results-table thead {
    background: #f3f5f8;
}

.icr-results-table thead th {
    margin: 0;
    padding: 11px 13px;

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

    background: #f3f5f8;
    color: #444;

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

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

.icr-results-table thead th:first-child {
    width: 45%;
}

.icr-results-table thead th:nth-child(2) {
    width: 22%;
}

.icr-results-table thead th:nth-child(3) {
    width: 12%;
}

.icr-results-table thead th:nth-child(4) {
    width: 21%;
}


/* =========================================================
   RESULTS TABLE BODY
   ========================================================= */

.icr-results-table tbody td {
    margin: 0;
    padding: 11px 13px;

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

    background: #fff;
    color: #444;

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

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

    overflow-wrap: break-word;
}

.icr-results-table tbody tr:last-child td {
    border-bottom: 0;
}

.icr-results-table tbody tr:nth-child(even) td {
    background: #fcfdfe;
}

.icr-results-table tbody tr:hover td {
    background: #f6f9fc;
}


/* =========================================================
   DETECTED CHARACTER NAME
   ========================================================= */

.icr-character-name {
    color: #333;

    font-weight: 500;

    overflow-wrap: break-word;
}

.icr-character-description {
    display: block;

    margin: 3px 0 0;

    color: #777;

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


/* =========================================================
   UNICODE VALUES
   ========================================================= */

.icr-results-table code,
.icr-unicode-value,
.icr-code-point {
    display: inline-block;

    max-width: 100%;

    margin: 0;
    padding: 3px 7px;

    border: 1px solid #e4e8ee;
    border-radius: 4px;

    background: #f3f5f8;
    color: #435168;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

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

    white-space: nowrap;
}


/* =========================================================
   NUMERIC TABLE COLUMNS
   ========================================================= */

.icr-results-table .icr-number-column {
    text-align: right;

    font-variant-numeric: tabular-nums;

    white-space: nowrap;
}


/* =========================================================
   CHARACTER ACTION LABELS

   Supported dynamic classes:
   - icr-action-removed
   - icr-action-replaced
   - icr-action-preserved

   Also supports data-action attributes.
   ========================================================= */

.icr-action,
.icr-action-badge,
.icr-action-label,
.icr-action-removed,
.icr-action-replaced,
.icr-action-preserved,
.icr-results-table span[data-action] {
    display: inline-flex;

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

    gap: 4px;

    max-width: 100%;

    margin: 0;
    padding: 4px 8px;

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

    background: #f1f3f5;
    color: #666;

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

    white-space: nowrap;
}


/* =========================================================
   REMOVED ACTION
   ========================================================= */

.icr-action-removed,
.icr-action-remove,
.icr-results-table span[data-action="removed"],
.icr-results-table span[data-action="remove"] {
    border-color: #d0e8d6;

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


/* =========================================================
   REPLACED ACTION
   ========================================================= */

.icr-action-replaced,
.icr-action-replace,
.icr-results-table span[data-action="replaced"],
.icr-results-table span[data-action="replace"] {
    border-color: #d2e3f7;

    background: #edf4ff;
    color: #245fa7;
}


/* =========================================================
   PRESERVED ACTION
   ========================================================= */

.icr-action-preserved,
.icr-action-preserve,
.icr-results-table span[data-action="preserved"],
.icr-results-table span[data-action="preserve"] {
    border-color: #e0e3e8;

    background: #f1f3f5;
    color: #666;
}


/* =========================================================
   ACTION ICONS
   ========================================================= */

.icr-action i,
.icr-action-badge i,
.icr-action-label i {
    flex: 0 0 auto;

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


/* =========================================================
   RESULTS TABLE FOOTER
   ========================================================= */

.icr-results-table tfoot {
    background: #f5f7fa;
}

.icr-results-table tfoot th,
.icr-results-table tfoot td {
    margin: 0;
    padding: 11px 13px;

    border: 0;
    border-top: 1px solid var(--icr-border);

    background: #f5f7fa;
    color: #444;

    font-size: 13px;
    font-weight: 600;
    line-height: 1.5;

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


/* =========================================================
   TOTAL ROW NUMBERS
   ========================================================= */

.icr-results-table tfoot .icr-number-column {
    text-align: right;

    font-variant-numeric: tabular-nums;
}


/* =========================================================
   TABLE SUMMARY
   ========================================================= */

#icrTableSummary {
    color: #666;

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

    overflow-wrap: anywhere;
}


/* =========================================================
   EMPTY TABLE ROW
   ========================================================= */

.icr-results-table .icr-empty-row td {
    padding: 20px 15px;

    background: #fff;

    text-align: center;
}

.icr-results-table .icr-empty-row:hover td {
    background: #fff;
}


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

.icr-empty-state {
    display: flex;

    flex-direction: column;

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

    gap: 8px;

    width: 100%;

    min-height: 63px;

    margin: 0;
    padding: 0;

    color: #777;

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

    text-align: center;
}

.icr-empty-state i {
    color: #9ba6b4;

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


/* =========================================================
   SUCCESS EMPTY STATE
   ========================================================= */

.icr-empty-state.icr-empty-success,
.icr-empty-state[data-state="success"],
.icr-empty-state[data-state="clean"] {
    color: var(--icr-green);
}

.icr-empty-state.icr-empty-success i,
.icr-empty-state[data-state="success"] i,
.icr-empty-state[data-state="clean"] i {
    color: var(--icr-green);
}


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

.icr-privacy-note {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 12px 14px;

    border: 1px solid #e0e6e3;
    border-radius: 6px;

    background: #f8faf9;
    color: #657269;

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

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

    margin-top: 1px;

    color: #5a8b69;

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

.icr-privacy-note span {
    flex: 1 1 auto;

    min-width: 0;

    overflow-wrap: break-word;
}


/* =========================================================
   SUPPORTING ARTICLE
   ========================================================= */

.icr-article {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #333;

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


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

.icr-article-section {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0 0 32px;
    padding: 0;
}

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


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

.icr-article h2 {
    margin: 0 0 13px;
    padding: 0;

    color: #333;

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

    text-align: left;

    overflow-wrap: break-word;
}


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

.icr-article h3 {
    margin: 22px 0 9px;
    padding: 0;

    color: #333;

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

    text-align: left;

    overflow-wrap: break-word;
}


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

.icr-article p {
    margin: 0 0 13px;
    padding: 0;

    color: #444;

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

    overflow-wrap: break-word;
}

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


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

.icr-article strong,
.icr-article b {
    font-weight: 700;
}

.icr-article em {
    font-style: italic;
}


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

.icr-article a {
    color: #1155cc;

    font-weight: inherit;

    text-decoration: none;

    overflow-wrap: anywhere;
}

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


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

.icr-article ul,
.icr-article ol {
    margin: 10px 0 17px;
    padding: 0 0 0 25px;

    color: #444;

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

.icr-article ul {
    list-style: disc outside;
}

.icr-article ol {
    list-style: decimal outside;
}

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

    margin: 0 0 6px;
    padding: 0;

    overflow-wrap: break-word;
}

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

.icr-article li::marker {
    color: #555;
}


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

.icr-article code {
    display: inline;

    margin: 0;
    padding: 2px 5px;

    border: 1px solid #e5e8ed;
    border-radius: 4px;

    background: #f5f6f8;
    color: #445268;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

    font-size: 0.87em;
    font-weight: 500;
    line-height: 1.5;

    overflow-wrap: anywhere;
}


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

.icr-article-table-wrapper {
    display: block;

    width: 100%;
    min-width: 0;

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

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

    background: #fff;

    overflow-x: auto;

    -webkit-overflow-scrolling: touch;
}


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

.icr-article-table {
    width: 100%;

    min-width: 540px;

    margin: 0;
    padding: 0;

    border: 0;

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

    background: #fff;

    table-layout: auto;

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


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

.icr-article-table thead th {
    margin: 0;
    padding: 12px 13px;

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

    background: #f2f5f8;
    color: #333;

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

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


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

.icr-article-table tbody td {
    margin: 0;
    padding: 11px 13px;

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

    background: #fff;
    color: #444;

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

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

    overflow-wrap: break-word;
}

.icr-article-table tbody tr:nth-child(even) td {
    background: #fafbfd;
}

.icr-article-table tbody tr:last-child td {
    border-bottom: 0;
}

.icr-article-table tbody td:first-child {
    color: #333;

    font-weight: 500;
}


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

.icr-article-table code {
    display: inline-block;

    font-size: 12px;

    white-space: nowrap;
}


/* =========================================================
   EXAMPLE CONTAINERS
   ========================================================= */

.icr-example {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 16px 0;
    padding: 15px 16px;

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

    background: #f8fafc;
}

.icr-example:last-child {
    margin-bottom: 0;
}


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

.icr-example h3 {
    margin: 0 0 13px;
    padding: 0;

    color: #333;

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


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

.icr-example-grid {
    display: grid;

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

    align-items: stretch;

    gap: 12px;

    width: 100%;
    min-width: 0;

    margin: 0 0 11px;
    padding: 0;
}


/* =========================================================
   EXAMPLE PANEL
   ========================================================= */

.icr-example-panel {
    display: flex;

    flex-direction: column;

    gap: 7px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   EXAMPLE LABEL
   ========================================================= */

.icr-example-label {
    display: block;

    margin: 0;
    padding: 0;

    color: #666;

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


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

.icr-article .icr-example-text {
    display: block;

    flex: 1 1 auto;

    width: 100%;
    min-width: 0;

    min-height: 54px;

    margin: 0;
    padding: 11px 12px;

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

    background: #fff;
    color: #333;

    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        monospace;

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

    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;

    overflow-x: auto;
}


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

.icr-example-panel:last-child .icr-example-text {
    border-color: #d0e4d5;

    background: #f5fbf7;
}


/* =========================================================
   EXAMPLE DESCRIPTION
   ========================================================= */

.icr-example p {
    margin: 0;
    padding: 0;

    color: #555;

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


/* =========================================================
   FAQ SECTION
   ========================================================= */

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


/* =========================================================
   FAQ ITEM
   ========================================================= */

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

    margin: 0;
    padding: 17px 0;

    border-bottom: 1px solid #e5e8ed;
}

.icr-faq-item:first-of-type {
    padding-top: 2px;
}

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

    border-bottom: 0;
}


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

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

    color: #333;

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


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

.icr-faq-item p {
    margin: 0 0 9px;
    padding: 0;

    color: #444;

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

.icr-faq-item p:last-child {
    margin-bottom: 0;
}


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

.icr-related {
    width: 100%;
    min-width: 0;
}


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

.icr-related-grid {
    display: grid;

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

    align-items: stretch;

    gap: 11px;

    width: 100%;
    min-width: 0;

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


/* =========================================================
   RELATED TOOL CARD
   ========================================================= */

.icr-page .icr-related-card {
    display: flex;

    align-items: flex-start;

    gap: 11px;

    width: 100%;
    min-width: 0;

    min-height: 84px;

    margin: 0;
    padding: 13px;

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

    background: #fff;
    color: #333;

    text-decoration: none;

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

.icr-page .icr-related-card:hover {
    border-color: #acc7ec;

    background: #f7faff;

    text-decoration: none;

    box-shadow:
        0 2px 6px rgba(25, 60, 110, 0.05);
}


/* =========================================================
   RELATED TOOL ICON
   ========================================================= */

.icr-related-icon {
    display: inline-flex;

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

    flex: 0 0 35px;

    width: 35px;
    height: 35px;

    margin: 0;
    padding: 0;

    border-radius: 6px;

    background: #edf4ff;
    color: #3272c2;
}

.icr-related-icon i {
    font-size: 19px;
    line-height: 1;
}


/* =========================================================
   RELATED TOOL CONTENT
   ========================================================= */

.icr-related-content {
    display: flex;

    flex: 1 1 auto;

    flex-direction: column;

    gap: 4px;

    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   RELATED TOOL NAME
   ========================================================= */

.icr-related-content strong {
    display: block;

    margin: 0;
    padding: 0;

    color: #1155cc;

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

    overflow-wrap: break-word;
}

.icr-related-card:hover .icr-related-content strong {
    text-decoration: underline;
}


/* =========================================================
   RELATED TOOL DESCRIPTION
   ========================================================= */

.icr-related-content > span {
    display: block;

    margin: 0;
    padding: 0;

    color: #666;

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

    overflow-wrap: break-word;
}


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

.icr-references {
    width: 100%;

    margin: 0;
    padding: 0;
}

.icr-references ul {
    margin: 10px 0 0;
    padding-left: 22px;
}

.icr-references li {
    margin: 0 0 6px;

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

.icr-references a {
    overflow-wrap: anywhere;
}


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

   Keep the content centered and prevent excessive width.
   ========================================================= */

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

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

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

}


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

   Maintain main content and 300px advertising sidebar.
   ========================================================= */

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

    .icr-layout {
        gap: 22px;
    }

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

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

    .icr-settings {
        padding-left: 15px;
        padding-right: 15px;
    }

    .icr-settings-grid {
        gap: 12px;
    }

    .icr-option {
        padding: 11px;
    }

    .icr-stat-value {
        font-size: 26px;
    }

    .icr-related-card {
        gap: 9px;
    }

}


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

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

    .icr-page {
        padding-left: 16px;
        padding-right: 16px;
    }

    .icr-layout {
        gap: 18px;
    }

    .icr-heading h1 {
        font-size: 28px;
    }

    .icr-stats-grid {
        gap: 8px;
    }

    .icr-stat-card {
        min-height: 80px;
    }

    .icr-stat-value {
        font-size: 24px;
    }

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

    .icr-comparison-label {
        font-size: 11px;
    }

    .icr-comparison-item strong {
        font-size: 19px;
    }

    .icr-option-label {
        font-size: 13px;
    }

    .icr-advanced-content {
        padding: 11px;
    }

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

}


/* =========================================================
   TABLETS AND SMALL LAPTOPS

   Remove the reserved desktop sidebar column.
   ========================================================= */

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

    .icr-page {
        padding-top: 95px;
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 40px;
    }

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

        gap: 0;

        max-width: 850px;
    }

    .icr-page .icr-sidebar {
        display: none;

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

        margin: 0;
        padding: 0;
    }

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

    .icr-intro {
        max-width: 750px;

        font-size: 16px;
    }

    .icr-settings {
        padding-left: 18px;
        padding-right: 18px;
    }

    .icr-option {
        padding: 12px 13px;
    }

    .icr-option-label {
        font-size: 14px;
    }

    .icr-advanced-content {
        padding: 14px;
    }

    .icr-stats-grid {
        gap: 11px;
    }

    .icr-stat-card {
        min-height: 86px;
    }

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

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

    .icr-comparison-label {
        font-size: 12px;
    }

    .icr-comparison-item strong {
        font-size: 21px;
    }

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

}


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

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

    .icr-page {
        padding-top: 90px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 35px;
    }

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

    .icr-heading {
        margin-bottom: 23px;
    }

    .icr-heading h1 {
        font-size: 28px;
    }

    .icr-intro {
        font-size: 15px;
        line-height: 1.55;
    }

    .icr-workspace {
        gap: 21px;

        margin-bottom: 23px;
    }

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

    .icr-page .icr-textarea {
        min-height: 165px;
    }

    .icr-settings {
        padding-left: 14px;
        padding-right: 14px;
    }

    .icr-section-title {
        font-size: 19px;
    }

    .icr-article h2 {
        font-size: 23px;
    }

    .icr-article h3 {
        font-size: 18px;
    }

    .icr-article p,
    .icr-article ul,
    .icr-article ol {
        font-size: 15px;
    }

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

    .icr-example h3 {
        font-size: 17px;
    }

    .icr-example p {
        font-size: 14px;
    }

}


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

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

    .icr-page {
        padding-top: 85px;
        padding-left: 13px;
        padding-right: 13px;
        padding-bottom: 30px;
    }

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

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

    .icr-heading h1 {
        margin-bottom: 10px;

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

    .icr-intro {
        font-size: 15px;
        line-height: 1.55;
    }

    .icr-tool {
        margin-bottom: 34px;
    }

    .icr-workspace {
        gap: 20px;
    }

    .icr-panel-header {
        gap: 6px;

        margin-bottom: 7px;
    }

    .icr-panel-title {
        font-size: 17px;
    }

    .icr-panel-count {
        font-size: 12px;
    }

    .icr-page .icr-textarea {
        min-height: 160px;

        padding: 11px 12px;

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

    .icr-page .icr-textarea::placeholder {
        font-size: 14px;
    }

    .icr-panel-actions {
        gap: 8px;

        margin-top: 9px;
    }

    .icr-page .icr-btn {
        min-height: 40px;

        padding: 9px 12px;

        font-size: 13px;
    }

    .icr-page .icr-btn i {
        font-size: 16px;
    }

    #icrCopy {
        min-width: 105px;
    }

    .icr-help {
        font-size: 12px;
    }

    .icr-settings {
        margin-bottom: 17px;
        padding: 12px 12px 14px;
    }

    .icr-settings-title {
        font-size: 18px;
    }

    .icr-settings-grid {
        gap: 10px;
    }

    .icr-option {
        padding: 10px;

        gap: 6px;
    }

    .icr-option-label {
        font-size: 13px;
    }

    .icr-page .icr-select {
        min-height: 42px;

        padding-left: 9px;
        padding-right: 27px;

        background-position: right 6px center;

        font-size: 16px;
    }

    .icr-option-description {
        font-size: 11px;
    }

    .icr-advanced {
        margin-top: 13px;
    }

    .icr-advanced-summary {
        padding: 11px 12px;

        font-size: 14px;
    }

    .icr-advanced-content {
        padding: 11px;
    }

    .icr-advanced-intro {
        margin-bottom: 11px;

        font-size: 12px;
    }

    .icr-settings-actions {
        gap: 6px;

        margin-top: 13px;
    }

    .icr-page .icr-btn-small {
        min-height: 35px;

        padding: 7px 9px;

        font-size: 12px;
    }

    .icr-page .icr-btn-small i {
        font-size: 14px;
    }

    .icr-settings-help,
    .icr-sensitive-warning {
        font-size: 12px;
    }

    .icr-result-status {
        margin-bottom: 20px;
        padding: 10px 12px;

        font-size: 13px;
    }

    .icr-section-title {
        font-size: 18px;
    }

    .icr-statistics {
        margin-bottom: 24px;
    }

    .icr-stats-grid {
        gap: 8px;
    }

    .icr-stat-card {
        min-height: 75px;

        gap: 5px;

        padding: 10px 4px;
    }

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

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

    .icr-comparison-item {
        padding: 11px 5px;
    }

    .icr-comparison-label {
        font-size: 11px;
    }

    .icr-comparison-item strong {
        font-size: 19px;
    }

    .icr-unique-count {
        font-size: 12px;
    }

    .icr-section-description {
        font-size: 13px;
    }

    .icr-results-table {
        min-width: 400px;
    }

    .icr-results-table thead th,
    .icr-results-table tbody td,
    .icr-results-table tfoot th,
    .icr-results-table tfoot td {
        padding: 10px;
    }

    .icr-results-table tbody td {
        font-size: 13px;
    }

    .icr-results-table code,
    .icr-unicode-value,
    .icr-code-point {
        padding: 3px 5px;

        font-size: 11px;
    }

    .icr-action,
    .icr-action-badge,
    .icr-action-label,
    .icr-action-removed,
    .icr-action-replaced,
    .icr-action-preserved,
    .icr-results-table span[data-action] {
        padding: 4px 6px;

        font-size: 11px;
    }

    .icr-privacy-note {
        padding: 11px;

        font-size: 12px;
    }

    .icr-article h2 {
        font-size: 22px;
        line-height: 1.4;
    }

    .icr-article h3 {
        font-size: 18px;
    }

    .icr-article p,
    .icr-article ul,
    .icr-article ol {
        font-size: 15px;
        line-height: 1.7;
    }

    .icr-article-section {
        margin-bottom: 27px;
    }

    .icr-article ul,
    .icr-article ol {
        padding-left: 22px;
    }

    .icr-article-table {
        min-width: 480px;
    }

    .icr-article-table thead th,
    .icr-article-table tbody td {
        padding: 10px;
    }

    .icr-article-table tbody td {
        font-size: 13px;
    }

    .icr-example {
        padding: 12px;
    }

    .icr-example h3 {
        margin-bottom: 11px;

        font-size: 16px;
    }

    .icr-example-grid {
        gap: 10px;
    }

    .icr-article .icr-example-text {
        min-height: 50px;

        padding: 10px;

        font-size: 13px;
    }

    .icr-example p {
        font-size: 13px;
    }

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

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

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

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

        gap: 9px;
    }

    .icr-page .icr-related-card {
        min-height: 75px;

        padding: 12px;
    }

}


/* =========================================================
   NARROW MOBILE SCREENS
   ========================================================= */

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

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

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

        gap: 9px;
    }

    .icr-option {
        padding: 10px 11px;
    }

    .icr-option-label {
        font-size: 14px;
    }

    .icr-option-description {
        font-size: 12px;
    }

    .icr-page .icr-select {
        min-height: 41px;
    }

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

        gap: 9px;
    }

    .icr-stat-card {
        min-height: 76px;
    }

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

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

    .icr-comparison-item {
        gap: 5px;

        padding: 10px 4px;
    }

    .icr-comparison-label {
        font-size: 11px;
    }

    .icr-comparison-item strong {
        font-size: 18px;
    }

    .icr-section-header {
        align-items: flex-start;
    }

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

        gap: 10px;
    }

    .icr-article .icr-example-text {
        min-height: 46px;
    }

}


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

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

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

    .icr-heading h1 {
        font-size: 23px;
    }

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

    .icr-panel-title {
        font-size: 16px;
    }

    .icr-panel-count {
        font-size: 11px;
    }

    .icr-panel-actions {
        gap: 6px;
    }

    .icr-page .icr-btn {
        padding-left: 10px;
        padding-right: 10px;

        font-size: 12px;
    }

    .icr-page .icr-btn-small {
        padding-left: 8px;
        padding-right: 8px;

        font-size: 11px;
    }

    .icr-settings {
        padding-left: 9px;
        padding-right: 9px;
    }

    .icr-advanced-content {
        padding: 9px;
    }

    .icr-section-title {
        font-size: 17px;
    }

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

    .icr-comparison-item strong {
        font-size: 17px;
    }

    .icr-comparison-label {
        font-size: 10px;
    }

    .icr-article h2 {
        font-size: 20px;
    }

    .icr-related-icon {
        flex-basis: 32px;

        width: 32px;
        height: 32px;
    }

}


/* =========================================================
   TOUCH DEVICE IMPROVEMENTS
   ========================================================= */

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

    .icr-page .icr-btn {
        min-height: 44px;
    }

    .icr-page .icr-btn-small {
        min-height: 40px;
    }

    .icr-page .icr-select {
        min-height: 44px;

        font-size: 16px;
    }

    .icr-advanced-summary {
        min-height: 44px;
    }

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

    .icr-page .icr-btn:not(:disabled):active {
        opacity: 0.85;
    }

}


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

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

    .icr-page *,
    .icr-page *::before,
    .icr-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;

        transition-duration: 0.01ms !important;

        scroll-behavior: auto !important;
    }

}


/* =========================================================
   FORCED COLORS ACCESSIBILITY
   ========================================================= */

@media (forced-colors: active) {

    .icr-page .icr-textarea,
    .icr-page .icr-select,
    .icr-page .icr-btn,
    .icr-settings,
    .icr-option,
    .icr-stat-card,
    .icr-comparison-grid,
    .icr-table-wrapper,
    .icr-related-card {
        border: 1px solid ButtonText;
    }

    .icr-page .icr-btn-primary {
        background: Highlight;
        color: HighlightText;
    }

    .icr-page .icr-select {
        appearance: auto;
        -webkit-appearance: auto;

        background-image: none;
    }

    .icr-page .icr-btn:disabled {
        border-color: GrayText;

        color: GrayText;

        opacity: 1;
    }

}


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

@media print {

    .icr-page {
        width: 100%;

        margin: 0;
        padding: 0;

        background: #fff;
        color: #000;
    }

    .icr-layout {
        display: block;

        width: 100%;
        max-width: none;

        margin: 0;
    }

    .icr-page .icr-sidebar,
    .icr-panel-actions,
    .icr-settings-actions,
    .icr-related,
    .icr-privacy-note {
        display: none !important;
    }

    .icr-heading h1 {
        color: #000;
    }

    .icr-settings,
    .icr-stat-card,
    .icr-example,
    .icr-result-status,
    .icr-comparison-grid {
        background: #fff !important;

        border-color: #aaa;
    }

    .icr-page .icr-textarea {
        min-height: 100px;

        border-color: #aaa;

        background: #fff;
        color: #000;

        resize: none;

        box-shadow: none;
    }

    .icr-table-wrapper,
    .icr-article-table-wrapper {
        overflow: visible;
    }

    .icr-results-table,
    .icr-article-table {
        min-width: 0;
    }

    .icr-article h2,
    .icr-article h3 {
        break-after: avoid;
    }

    .icr-stat-card,
    .icr-example,
    .icr-faq-item,
    .icr-results-table tr,
    .icr-article-table tr {
        break-inside: avoid;
    }

    .icr-page a {
        color: #000;

        text-decoration: underline;
    }

}


/* =========================================================
   END OF INVISIBLE CHARACTER REMOVER CSS
   ========================================================= */