/* =========================================================
   UNICODE NORMALIZER — CharacterCounter.com

   File: unicode-normalizer.css

   Compatible with:
   - unicode-normalizer.html
   - unicode-normalizer.js
   - header-and-footer-updated.css

   Large and medium desktop:
   Main Content | 300px Advertising Sidebar

   Original and normalized textareas are stacked
   vertically on all screen sizes.

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


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

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

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

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

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

    --un-red: #b42318;
    --un-red-pale: #fff3f2;

    --un-warning: #856404;
    --un-warning-pale: #fff9e9;

    display: block;

    width: 100%;
    min-width: 0;

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

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

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


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

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


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

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


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

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


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

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


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

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

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


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

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


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

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


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

.un-visually-hidden,
.un-sr {
    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

   Two columns:
   Main Content | 300px Advertising Sidebar
   ========================================================= */

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

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

    margin: 0;
    padding: 0;
}


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

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

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

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

    align-self: stretch;

    margin: 0;
    padding: 0;
}


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

.un-heading {
    width: 100%;

    margin: 0 0 25px;
    padding: 0;

    text-align: center;
}


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

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

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

    margin: 0 auto;
    padding: 0;

    color: #555;

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

    text-align: center;
}


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

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

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

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

.un-notice-warning {
    background: var(--un-warning-pale);
    color: #6e531c;
}


/* =========================================================
   MAIN UNICODE NORMALIZER TOOL
   ========================================================= */

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

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


/* =========================================================
   NORMALIZATION SETTINGS
   ========================================================= */

.un-settings {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0 0 24px;
    padding: 16px 18px 18px;

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

    background: #fff;
}


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

.un-settings-title {
    display: block;

    max-width: 100%;

    margin: 0;
    padding: 0 8px;

    color: #333;

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


/* =========================================================
   NORMALIZATION FORM GRID

   NFC | NFD | NFKC | NFKD
   ========================================================= */

.un-forms {
    display: grid;

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

    align-items: stretch;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   NORMALIZATION FORM OPTION
   ========================================================= */

.un-form-option {
    position: relative;

    display: flex;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    cursor: pointer;

    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


/* =========================================================
   ACCESSIBLE RADIO INPUTS
   ========================================================= */

.un-form-option input[type="radio"] {
    position: absolute;

    width: 1px;
    height: 1px;

    margin: -1px;
    padding: 0;

    overflow: hidden;

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

    white-space: nowrap;

    border: 0;
}


/* =========================================================
   NORMALIZATION FORM CARD
   ========================================================= */

.un-form-label {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;

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

    gap: 5px;

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

    margin: 0;
    padding: 12px 7px;

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

    background: #fff;
    color: #444;

    text-align: center;

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


/* =========================================================
   NORMALIZATION FORM ABBREVIATION
   ========================================================= */

.un-form-label strong {
    display: block;

    margin: 0;
    padding: 0;

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

    letter-spacing: 0.2px;
}


/* =========================================================
   NORMALIZATION FORM FULL NAME
   ========================================================= */

.un-form-label small {
    display: block;

    max-width: 100%;

    margin: 0;
    padding: 0;

    color: #666;

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

    overflow-wrap: break-word;
}


/* =========================================================
   FORM OPTION HOVER
   ========================================================= */

.un-form-option:hover .un-form-label {
    border-color: #8ab4ef;

    background: #f6faff;
    color: var(--un-blue-dark);
}


/* =========================================================
   SELECTED NORMALIZATION FORM
   ========================================================= */

.un-form-option input:checked + .un-form-label {
    border-color: var(--un-blue);

    background: var(--un-blue-pale);
    color: var(--un-blue-dark);

    box-shadow: inset 0 0 0 1px var(--un-blue);
}

.un-form-option input:checked + .un-form-label small {
    color: var(--un-blue-dark);
}


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

.un-form-option input:focus-visible + .un-form-label {
    outline: 3px solid var(--un-blue);
    outline-offset: 3px;
}


/* =========================================================
   DISABLED RADIO OPTION
   ========================================================= */

.un-form-option input:disabled + .un-form-label {
    opacity: 0.55;

    cursor: not-allowed;
}


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

.un-help {
    margin: 10px 0 0;
    padding: 0;

    color: var(--un-muted);

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

    overflow-wrap: break-word;
}


/* =========================================================
   SELECTED FORM DESCRIPTION
   ========================================================= */

.un-form-description {
    margin: 13px 0 0;

    color: #555;

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


/* =========================================================
   COMPATIBILITY NORMALIZATION WARNING
   ========================================================= */

.un-compatibility-warning {
    display: flex;

    align-items: flex-start;

    gap: 9px;

    width: 100%;

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

    border-color: #ecd69c;

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

.un-compatibility-warning i {
    flex: 0 0 auto;

    margin-top: 1px;

    color: var(--un-warning);

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

.un-compatibility-warning span {
    flex: 1 1 auto;

    min-width: 0;
}


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

   Original text and normalized text are stacked
   vertically on all screen sizes.
   ========================================================= */

.un-workspace {
    display: grid;

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

    align-items: start;

    gap: 22px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


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

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

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   PANEL TITLES
   ========================================================= */

.un-panel-title {
    margin: 0 0 11px;
    padding: 0;

    color: #333;

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

    text-align: left;
}

.un-panel-title label {
    display: inline;

    margin: 0;
    padding: 0;

    color: inherit;

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

    cursor: text;
}


/* =========================================================
   SHARED TEXTAREA STYLES
   ========================================================= */

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

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

    height: 210px;
    min-height: 120px;

    margin: 0;
    padding: 15px 16px;

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

    background: #fff;
    color: #333;

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

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

    font-variant-numeric: tabular-nums;

    text-align: start;

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

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

    tab-size: 4;
    -moz-tab-size: 4;

    resize: vertical;

    outline: none;
    box-shadow: none;

    appearance: auto;
    -webkit-appearance: auto;

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


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

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

    cursor: text;

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

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


/* =========================================================
   TEXTAREA FOCUS
   ========================================================= */

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

    outline: none;

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


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

.un-page .un-output {
    background: #fff;
    color: #333;

    cursor: text;
}

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


/* =========================================================
   INVALID INPUT
   ========================================================= */

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

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


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

.un-page .un-textarea::placeholder {
    color: #9299a3;

    opacity: 1;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
}


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

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


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

.un-page .un-textarea::selection,
.un-page .un-code-output::selection {
    background: #d7e7ff;
    color: #222;
}


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

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

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

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

    border-radius: 6px;
}

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

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

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

.un-page .un-textarea::-webkit-scrollbar-corner {
    background: transparent;
}


/* =========================================================
   BUTTON TOOLBARS
   ========================================================= */

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

    flex-wrap: wrap;

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

    gap: 9px;

    width: 100%;
    min-width: 0;

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


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

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

    flex: 0 0 auto;

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

    gap: 7px;

    min-height: 41px;

    margin: 0;
    padding: 9px 14px;

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

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

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

    white-space: nowrap;

    cursor: pointer;

    appearance: none;
    -webkit-appearance: none;

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


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

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

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

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


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

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

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

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

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

.un-page .un-button-primary:not(:disabled):active,
.un-page .un-primary:not(:disabled):active {
    background: #124b94;
}


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

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

    background: #fff;
    color: #444;
}

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

    background: #f4f6f8;
    color: #222;
}

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


/* =========================================================
   COPY BUTTON MINIMUM WIDTH

   Prevents layout shifting when "Copy Text"
   changes to "Copied!".
   ========================================================= */

.un-page #unCopy {
    min-width: 116px;
}


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

.un-page #unCopy.un-copied,
.un-page #unCopy.copied,
.un-page #unCopy.is-copied,
.un-page #unCopy[data-state="copied"] {
    border-color: var(--un-green);

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


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

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

    cursor: not-allowed;

    box-shadow: none;
}

.un-page .un-button-primary:disabled,
.un-page .un-primary:disabled {
    border-color: #9bbde9;

    background: #9bbde9;
    color: #fff;
}

.un-page .un-button-secondary:disabled {
    border-color: #dce1e7;

    background: #f7f8fa;
    color: #888;
}


/* =========================================================
   ERROR AND INFORMATION MESSAGES
   ========================================================= */

.un-message {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 12px 14px;

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

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

    overflow-wrap: break-word;
}


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

.un-message-error {
    border-color: #efc5c1;

    background: var(--un-red-pale);
    color: var(--un-red);
}


/* =========================================================
   NORMALIZATION STATUS
   ========================================================= */

.un-status {
    display: flex;

    align-items: center;

    gap: 9px;

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

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

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

    background: var(--un-soft);
    color: #555;

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

    overflow-wrap: break-word;

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


/* =========================================================
   STATUS ICONS
   ========================================================= */

.un-status i {
    flex: 0 0 auto;

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


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

.un-status[data-state="empty"] {
    border-color: var(--un-border);

    background: var(--un-soft);
    color: #666;

    font-weight: 400;
}


/* =========================================================
   ALREADY NORMALIZED STATUS
   ========================================================= */

.un-status[data-state="unchanged"],
.un-status[data-state="normalized"],
.un-status[data-state="already-normalized"],
.un-status[data-state="same"],
.un-status[data-state="success"] {
    border-color: #c7e4ce;

    background: var(--un-green-pale);
    color: var(--un-green);
}


/* =========================================================
   TEXT CHANGED STATUS
   ========================================================= */

.un-status[data-state="changed"] {
    border-color: #ccdef7;

    background: var(--un-blue-pale);
    color: var(--un-blue-dark);
}


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

.un-status[data-state="error"] {
    border-color: #efc5c1;

    background: var(--un-red-pale);
    color: var(--un-red);
}


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

.un-status[data-state="warning"] {
    border-color: #ecd69c;

    background: var(--un-warning-pale);
    color: var(--un-warning);
}


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

.un-section-title {
    margin: 0 0 13px;
    padding: 0;

    color: #333;

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

    text-align: left;

    overflow-wrap: break-word;
}


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

.un-stat-section {
    width: 100%;
    min-width: 0;

    margin: 27px 0 0;
    padding: 0;
}


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

.un-table {
    display: block;

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

    margin: 0;
    padding: 0;

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

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

    background: #fff;

    -webkit-overflow-scrolling: touch;

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


/* =========================================================
   TABLE BASE
   ========================================================= */

.un-page .un-table table {
    display: table;

    width: 100%;

    margin: 0;
    padding: 0;

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

    background: #fff;

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

    text-align: left;
}


/* =========================================================
   TABLE HEADERS AND CELLS
   ========================================================= */

.un-page .un-table th,
.un-page .un-table td {
    margin: 0;
    padding: 12px 14px;

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

    vertical-align: middle;

    overflow-wrap: break-word;
}


/* =========================================================
   TABLE HEADER ROW
   ========================================================= */

.un-page .un-table thead th {
    background: #f3f6f9;
    color: #444;

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

    text-align: left;

    white-space: nowrap;
}


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

.un-page .un-table tbody th {
    background: transparent;
    color: #333;

    font-weight: 500;

    text-align: left;
}


/* =========================================================
   ALTERNATING TABLE ROWS
   ========================================================= */

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


/* =========================================================
   LAST TABLE ROW
   ========================================================= */

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


/* =========================================================
   TABLE SCROLLBARS
   ========================================================= */

.un-table::-webkit-scrollbar {
    height: 8px;
}

.un-table::-webkit-scrollbar-track {
    background: #f3f5f7;

    border-radius: 4px;
}

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

    border: 1px solid #f3f5f7;
    border-radius: 4px;
}


/* =========================================================
   STATISTICS TABLE
   ========================================================= */

.un-statistics-table table {
    table-layout: fixed;
}


/* =========================================================
   STATISTICS TABLE COLUMN WIDTHS
   ========================================================= */

.un-statistics-table th:first-child {
    width: 40%;
}

.un-statistics-table thead th:nth-child(2),
.un-statistics-table thead th:nth-child(3),
.un-statistics-table thead th:nth-child(4) {
    width: 20%;
}


/* =========================================================
   STATISTICS NUMERIC ALIGNMENT
   ========================================================= */

.un-page .un-statistics-table thead th:not(:first-child),
.un-page .un-statistics-table td {
    text-align: center;
}

.un-page .un-statistics-table td {
    color: #333;

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

    font-variant-numeric: tabular-nums;

    white-space: nowrap;
}


/* =========================================================
   STATISTICS CHANGE COLUMN
   ========================================================= */

.un-page .un-statistics-table td:last-child {
    color: #555;

    font-weight: 500;
}


/* =========================================================
   POSITIVE CHANGE
   ========================================================= */

.un-page .un-statistics-table td.un-positive,
.un-page .un-statistics-table td.un-increase,
.un-page .un-statistics-table td[data-change="positive"],
.un-page .un-statistics-table td[data-change="increase"] {
    color: var(--un-blue-dark);
}


/* =========================================================
   NEGATIVE CHANGE
   ========================================================= */

.un-page .un-statistics-table td.un-negative,
.un-page .un-statistics-table td.un-decrease,
.un-page .un-statistics-table td[data-change="negative"],
.un-page .un-statistics-table td[data-change="decrease"] {
    color: #555;
}


/* =========================================================
   NO CHANGE
   ========================================================= */

.un-page .un-statistics-table td.un-neutral,
.un-page .un-statistics-table td.un-zero,
.un-page .un-statistics-table td[data-change="neutral"],
.un-page .un-statistics-table td[data-change="zero"] {
    color: #777;
}


/* =========================================================
   STATISTICS EXPLANATORY NOTE
   ========================================================= */

.un-statistics-note {
    margin: 9px 0 0;

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


/* =========================================================
   UNICODE CODE POINT COMPARISON
   ========================================================= */

.un-comparison {
    width: 100%;
    min-width: 0;

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


/* =========================================================
   COMPARISON DESCRIPTION
   ========================================================= */

.un-comparison-description {
    margin: -5px 0 13px;

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


/* =========================================================
   CODE POINT COMPARISON GRID

   Original code points and normalized code points
   are displayed side by side on sufficiently
   wide screens.
   ========================================================= */

.un-comparison-grid {
    display: grid;

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

    align-items: stretch;

    gap: 12px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   CODE POINT PANELS
   ========================================================= */

.un-code-panel {
    display: flex;
    flex-direction: column;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 14px;

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

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


/* =========================================================
   CODE POINT PANEL HEADINGS
   ========================================================= */

.un-code-panel h3 {
    margin: 0 0 9px;
    padding: 0;

    color: #444;

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

    text-align: left;

    overflow-wrap: break-word;
}


/* =========================================================
   CODE POINT OUTPUT
   ========================================================= */

.un-page .un-code-output {
    display: block;

    flex: 1 1 auto;

    width: 100%;
    min-width: 0;
    min-height: 105px;
    max-height: 235px;

    margin: 0;
    padding: 12px;

    overflow: auto;

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

    background: #fff;
    color: #333;

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

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

    font-variant-numeric: tabular-nums;

    direction: ltr;
    text-align: left;

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

    tab-size: 4;

    cursor: text;

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

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


/* =========================================================
   EMPTY CODE POINT OUTPUT
   ========================================================= */

.un-code-output[data-empty="true"] {
    color: #9299a3;
}


/* =========================================================
   CODE POINT OUTPUT FOCUS
   ========================================================= */

.un-page .un-code-output:focus-visible {
    border-color: var(--un-blue);

    outline: 2px solid var(--un-blue);
    outline-offset: 2px;
}


/* =========================================================
   CODE POINT OUTPUT SCROLLBARS
   ========================================================= */

.un-code-output::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.un-code-output::-webkit-scrollbar-track {
    background: #f3f5f7;

    border-radius: 5px;
}

.un-code-output::-webkit-scrollbar-thumb {
    background: #b9c1cb;

    border: 1px solid #f3f5f7;
    border-radius: 5px;
}


/* =========================================================
   CODE POINT PREVIEW NOTE
   ========================================================= */

.un-preview-note {
    margin: 10px 0 0;

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


/* =========================================================
   LOCAL PROCESSING NOTE
   ========================================================= */

.un-processing-note {
    display: flex;

    align-items: flex-start;

    gap: 8px;

    width: 100%;
    min-width: 0;

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

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

    background: #f8fafc;
    color: #666;

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

.un-processing-note i {
    flex: 0 0 auto;

    margin-top: 1px;

    color: #568064;

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

.un-processing-note span {
    flex: 1 1 auto;

    min-width: 0;
}


/* =========================================================
   MAIN ARTICLE
   ========================================================= */

.un-content {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #333;

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

    overflow-wrap: break-word;
}


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

.un-content > section {
    display: block;

    width: 100%;
    min-width: 0;

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

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


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

.un-content h2 {
    margin: 0 0 14px;
    padding: 0;

    color: #333;

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

    text-align: left;

    overflow-wrap: break-word;
}


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

.un-content h3 {
    margin: 23px 0 9px;
    padding: 0;

    color: #333;

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

    text-align: left;

    overflow-wrap: break-word;
}


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

.un-content h4 {
    margin: 18px 0 8px;
    padding: 0;

    color: #333;

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

    text-align: left;
}


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

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

    color: #444;

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

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


/* =========================================================
   ARTICLE STRONG TEXT
   ========================================================= */

.un-content strong {
    color: #333;

    font-weight: 600;
}


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

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

    text-decoration: none;
}

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


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

.un-content ul,
.un-content ol {
    margin: 12px 0 18px;
    padding: 0 0 0 25px;

    color: #444;

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

.un-content ul {
    list-style: disc outside;
}

.un-content ol {
    list-style: decimal outside;
}


/* =========================================================
   ARTICLE LIST ITEMS
   ========================================================= */

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

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

    color: #444;

    line-height: 1.65;
}

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


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

.un-content code {
    display: inline;

    margin: 0;
    padding: 2px 5px;

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

    background: #f5f7fa;
    color: #344054;

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

    font-size: 0.88em;
    font-weight: 400;
    line-height: inherit;

    white-space: normal;
    overflow-wrap: anywhere;
}


/* =========================================================
   CANONICAL EQUIVALENCE EXAMPLE GRID
   ========================================================= */

.un-example-grid {
    display: grid;

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

    align-items: stretch;

    gap: 15px;

    width: 100%;
    min-width: 0;

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


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

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

    align-items: center;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 18px 14px;

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

    background: var(--un-soft);

    text-align: center;
}


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

.un-content .un-example-card h3 {
    margin: 0 0 13px;
    padding: 0;

    color: #444;

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

    text-align: center;
}


/* =========================================================
   LARGE EXAMPLE CHARACTER
   ========================================================= */

.un-example-character {
    display: flex;

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

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

    margin: 0 0 12px;
    padding: 5px;

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

    background: #fff;
    color: #333;

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

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

    text-align: center;
}


/* =========================================================
   EXAMPLE CODE POINTS
   ========================================================= */

.un-example-code {
    width: 100%;
    min-width: 0;

    margin: 0 0 7px;
    padding: 0;

    text-align: center;
}

.un-content .un-example-code code {
    display: inline-block;

    max-width: 100%;

    padding: 5px 9px;

    background: #fff;

    font-size: 13px;

    overflow-wrap: anywhere;
}


/* =========================================================
   EXAMPLE CAPTIONS
   ========================================================= */

.un-content .un-example-caption {
    margin: 0;
    padding: 0;

    color: #666;

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

    text-align: center;
}


/* =========================================================
   INLINE NORMALIZATION EXAMPLES
   ========================================================= */

.un-example-inline {
    display: flex;

    flex-wrap: wrap;

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

    gap: 13px;

    width: 100%;
    min-width: 0;

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

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

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


/* =========================================================
   INLINE EXAMPLE VALUES
   ========================================================= */

.un-example-inline span {
    display: block;

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

    text-align: center;

    overflow-wrap: anywhere;
}

.un-content .un-example-inline code {
    display: inline-block;

    max-width: 100%;

    padding: 6px 10px;

    background: #fff;

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


/* =========================================================
   INLINE EXAMPLE ARROW
   ========================================================= */

.un-example-inline i {
    flex: 0 0 auto;

    color: #777;

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


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

.un-content .un-article-table {
    margin: 16px 0 18px;
}

.un-content .un-article-table table {
    table-layout: auto;

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

.un-content .un-article-table th,
.un-content .un-article-table td {
    padding: 12px 13px;
}

.un-content .un-article-table tbody td {
    color: #444;
}


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

.un-content .un-examples-table table {
    table-layout: fixed;
}

.un-content .un-examples-table th,
.un-content .un-examples-table td {
    width: 20%;

    padding: 12px 9px;

    text-align: center;
}

.un-content .un-examples-table tbody td {
    font-size: 17px;
    line-height: 1.5;
}


/* =========================================================
   TABLE NOTES
   ========================================================= */

.un-content .un-table-note {
    margin: -7px 0 17px;
    padding: 0;

    color: #777;

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


/* =========================================================
   ARTICLE INFORMATION NOTICE
   ========================================================= */

.un-content-notice {
    display: flex;

    align-items: flex-start;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 18px 0;
    padding: 16px;

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

    background: #f3f8ff;
    color: #344054;
}


/* =========================================================
   ARTICLE NOTICE ICON
   ========================================================= */

.un-content-notice > i {
    flex: 0 0 auto;

    margin-top: 2px;

    color: var(--un-blue);

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


/* =========================================================
   ARTICLE NOTICE CONTENT
   ========================================================= */

.un-content-notice > div {
    flex: 1 1 auto;

    min-width: 0;
}

.un-content .un-content-notice strong {
    display: block;

    margin: 0 0 5px;
    padding: 0;

    color: #244b79;

    font-size: 15px;
    font-weight: 600;
    line-height: 1.5;
}

.un-content .un-content-notice p {
    margin: 0;
    padding: 0;

    color: #40546b;

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


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

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


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

.un-faq-item {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 16px 0;

    border-bottom: 1px solid #e7eaee;
}

.un-faq-item:first-of-type {
    padding-top: 0;
}

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

    border-bottom: 0;
}


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

.un-content .un-faq-item h3 {
    margin: 0 0 7px;
    padding: 0;

    color: #333;

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


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

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

    color: #444;

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


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

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


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

.un-content .un-related-list {
    display: block;

    width: 100%;

    margin: 12px 0 17px;
    padding: 0 0 0 23px;

    list-style: disc outside;
}


/* =========================================================
   RELATED TOOL ITEMS
   ========================================================= */

.un-content .un-related-list li {
    display: list-item;

    margin: 0 0 10px;
    padding: 0 0 0 2px;

    color: #444;

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

.un-content .un-related-list li:last-child {
    margin-bottom: 0;
}


/* =========================================================
   RELATED TOOL LINKS
   ========================================================= */

.un-content .un-related-list a {
    color: #1155cc;

    font-weight: 500;
}


/* =========================================================
   VIEW ALL TOOLS LINK
   ========================================================= */

.un-content .un-all-tools {
    margin: 17px 0 0;
    padding: 0;

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

.un-all-tools a {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    font-weight: 500;
}

.un-all-tools i {
    font-size: 17px;
    line-height: 1;
}


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

   Maximum content width remains 1250px.
   ========================================================= */

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

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

    .un-layout {
        max-width: 1250px;

        gap: 30px;
    }

}


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

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

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

    .un-page .un-textarea {
        height: 210px;
    }

    .un-form-label {
        min-height: 76px;
    }

}


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

   Retain main content and 300px sidebar.
   ========================================================= */

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

    .un-page {
        padding-right: 18px;
        padding-left: 18px;
    }

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

        gap: 20px;
    }

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

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

    .un-settings {
        padding: 14px;
    }

    .un-forms {
        gap: 7px;
    }

    .un-form-label {
        min-height: 80px;

        padding: 10px 5px;
    }

    .un-form-label strong {
        font-size: 16px;
    }

    .un-form-label small {
        font-size: 11px;
    }

    .un-page .un-textarea {
        height: 200px;
    }

    .un-comparison-grid {
        gap: 10px;
    }

    .un-code-panel {
        padding: 11px;
    }

    .un-page .un-code-output {
        padding: 10px;

        font-size: 12px;
    }

    .un-page .un-table th,
    .un-page .un-table td {
        padding-right: 10px;
        padding-left: 10px;
    }

    .un-content .un-examples-table th,
    .un-content .un-examples-table td {
        padding-right: 7px;
        padding-left: 7px;
    }

}


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

   Remove the sidebar when available space is
   insufficient for both columns.
   ========================================================= */

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

    .un-page {
        padding: 100px 22px 45px;
    }

    .un-layout {
        display: block;

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

        margin: 0 auto;
    }

    .un-main {
        width: 100%;
    }

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

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

        margin: 0;
        padding: 0;
    }

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

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

    .un-page .un-textarea {
        height: 210px;
    }

}


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

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

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

    .un-forms {
        gap: 8px;
    }

    .un-form-label {
        padding-right: 6px;
        padding-left: 6px;
    }

    .un-form-label small {
        font-size: 11px;
    }

    .un-code-panel {
        padding: 12px;
    }

}


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

   Normalization forms switch to a two-column grid.
   Code point panels stack vertically.
   ========================================================= */

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

    .un-page {
        padding: 90px 16px 38px;
    }

    .un-layout {
        width: 100%;
        max-width: none;

        margin: 0 auto;
    }

    .un-heading {
        margin-bottom: 20px;
    }

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

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

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

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

    .un-settings {
        margin-bottom: 21px;
        padding: 13px;
    }

    .un-settings-title {
        padding-right: 6px;
        padding-left: 6px;

        font-size: 17px;
    }

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

        gap: 9px;
    }

    .un-form-label {
        min-height: 66px;

        padding: 10px 7px;
    }

    .un-form-label strong {
        font-size: 16px;
    }

    .un-form-label small {
        font-size: 12px;
    }

    .un-form-description {
        margin-top: 11px;

        font-size: 13px;
    }

    .un-compatibility-warning {
        margin-top: 11px;
        padding: 10px 11px;

        font-size: 12px;
    }

    .un-workspace {
        gap: 20px;
    }

    .un-panel-title {
        margin-bottom: 9px;

        font-size: 19px;
    }

    .un-page .un-textarea {
        height: 190px;
        min-height: 110px;

        padding: 13px;

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

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

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

        margin-top: 9px;
    }

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

        padding: 9px 12px;

        font-size: 14px;
    }

    .un-status {
        min-height: 42px;

        margin-top: 16px;
        padding: 10px 12px;

        font-size: 13px;
    }

    .un-stat-section {
        margin-top: 23px;
    }

    .un-section-title {
        margin-bottom: 11px;

        font-size: 19px;
    }

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

    .un-page .un-statistics-table th,
    .un-page .un-statistics-table td {
        padding: 11px 9px;
    }

    .un-page .un-statistics-table tbody th {
        font-size: 13px;
    }

    .un-page .un-statistics-table td {
        font-size: 14px;
    }

    .un-statistics-note {
        font-size: 12px;
    }

    .un-comparison {
        margin-top: 24px;
    }

    .un-comparison-description {
        font-size: 13px;
    }

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

        gap: 11px;
    }

    .un-code-panel {
        padding: 12px;
    }

    .un-page .un-code-output {
        min-height: 85px;
        max-height: 200px;

        padding: 10px;

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

    .un-processing-note {
        margin-top: 19px;
        padding: 11px 12px;

        font-size: 12px;
    }

    .un-content > section {
        margin-bottom: 27px;
    }

    .un-content h2 {
        margin-bottom: 12px;

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

    .un-content h3 {
        margin-top: 20px;
        margin-bottom: 8px;

        font-size: 18px;
    }

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

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

    .un-example-grid {
        gap: 11px;

        margin: 15px 0 17px;
    }

    .un-example-card {
        padding: 14px 10px;
    }

    .un-example-character {
        min-height: 64px;

        font-size: 36px;
    }

    .un-content .un-example-card h3 {
        font-size: 14px;
    }

    .un-content .un-example-code code {
        padding: 4px 6px;

        font-size: 11px;
    }

    .un-content .un-example-caption {
        font-size: 12px;
    }

    .un-example-inline {
        gap: 10px;

        padding: 12px;
    }

    .un-content .un-example-inline code {
        font-size: 13px;
    }

    .un-content .un-article-table table {
        font-size: 13px;
    }

    .un-content .un-article-table th,
    .un-content .un-article-table td {
        padding: 10px;
    }

    .un-content .un-examples-table th,
    .un-content .un-examples-table td {
        padding: 10px 6px;
    }

    .un-content .un-examples-table tbody td {
        font-size: 16px;
    }

    .un-content-notice {
        padding: 13px;
    }

    .un-content .un-faq-item h3 {
        font-size: 16px;
    }

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

    .un-content .un-related-list li {
        font-size: 14px;
    }

}


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

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

    .un-page {
        padding: 85px 12px 35px;
    }

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

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

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

    .un-settings {
        padding: 11px;
    }

    .un-settings-title {
        font-size: 16px;
    }

    .un-forms {
        gap: 8px;
    }

    .un-form-label {
        min-height: 64px;

        padding: 9px 6px;
    }

    .un-form-label small {
        font-size: 11px;
    }

    .un-form-description {
        font-size: 12px;
    }

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

    .un-page .un-textarea {
        height: 175px;
        min-height: 110px;

        padding: 12px;
    }

    .un-page .un-button {
        min-height: 40px;

        gap: 6px;

        padding: 8px 11px;

        font-size: 13px;
    }

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

    .un-page #unCopy {
        min-width: 105px;
    }

    .un-workspace {
        gap: 19px;
    }

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

    .un-statistics-table table {
        min-width: 0;
    }

    .un-statistics-table th:first-child {
        width: 35%;
    }

    .un-statistics-table thead th:nth-child(2),
    .un-statistics-table thead th:nth-child(3) {
        width: 25%;
    }

    .un-statistics-table thead th:nth-child(4) {
        width: 15%;
    }

    .un-page .un-statistics-table th,
    .un-page .un-statistics-table td {
        padding: 10px 6px;
    }

    .un-page .un-statistics-table thead th {
        font-size: 11px;
    }

    .un-page .un-statistics-table tbody th {
        font-size: 12px;
        line-height: 1.4;
    }

    .un-page .un-statistics-table td {
        font-size: 13px;
    }

    .un-page .un-statistics-table td:last-child {
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .un-code-panel {
        padding: 10px;
    }

    .un-code-panel h3 {
        font-size: 13px;
    }

    .un-page .un-code-output {
        min-height: 78px;
        max-height: 180px;

        font-size: 12px;
    }

    .un-preview-note {
        font-size: 11px;
    }

    .un-processing-note {
        gap: 7px;

        padding: 10px;
    }

    .un-processing-note i {
        font-size: 16px;
    }

    .un-content h2 {
        font-size: 21px;
    }

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

    .un-example-grid {
        gap: 8px;
    }

    .un-example-card {
        padding: 12px 8px;
    }

    .un-content .un-example-card h3 {
        min-height: 36px;

        margin-bottom: 8px;

        font-size: 13px;
    }

    .un-example-character {
        min-height: 60px;

        margin-bottom: 9px;

        font-size: 34px;
    }

    .un-content .un-example-code code {
        font-size: 10px;
    }

    .un-content .un-example-caption {
        font-size: 11px;
    }

    .un-example-inline {
        gap: 8px;

        padding: 10px;
    }

    .un-content .un-example-inline code {
        padding: 5px 7px;

        font-size: 12px;
    }

    .un-example-inline i {
        font-size: 17px;
    }

    .un-content .un-article-table table {
        min-width: 350px;
    }

    .un-content .un-examples-table table {
        min-width: 0;
    }

    .un-content .un-examples-table thead th {
        font-size: 11px;
    }

    .un-content .un-examples-table tbody td {
        font-size: 15px;
    }

    .un-content .un-examples-table th,
    .un-content .un-examples-table td {
        padding: 10px 4px;
    }

    .un-content .un-table-note {
        font-size: 11px;
    }

    .un-content-notice {
        gap: 8px;

        padding: 11px;
    }

    .un-content-notice > i {
        font-size: 18px;
    }

    .un-content .un-content-notice strong {
        font-size: 14px;
    }

    .un-content .un-content-notice p {
        font-size: 13px;
    }

}


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

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

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

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

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

    .un-settings {
        padding: 9px;
    }

    .un-forms {
        gap: 6px;
    }

    .un-form-label {
        min-height: 62px;

        padding: 8px 4px;
    }

    .un-form-label small {
        font-size: 10px;
    }

    .un-page .un-textarea {
        height: 165px;
    }

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

        font-size: 12px;
    }

    .un-page .un-statistics-table thead th {
        font-size: 10px;
    }

    .un-page .un-statistics-table tbody th {
        font-size: 11px;
    }

    .un-page .un-statistics-table td {
        font-size: 12px;
    }

    .un-page .un-statistics-table th,
    .un-page .un-statistics-table td {
        padding-right: 4px;
        padding-left: 4px;
    }

    .un-content .un-example-code code {
        font-size: 10px;
    }

    .un-content .un-examples-table thead th {
        font-size: 10px;
    }

}


/* =========================================================
   EXTREMELY NARROW SCREENS
   ========================================================= */

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

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

    .un-input-toolbar,
    .un-output-toolbar {
        flex-direction: column;

        align-items: stretch;
    }

    .un-page .un-button {
        width: 100%;
    }

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

    .un-statistics-table table {
        min-width: 290px;
    }

    .un-content .un-examples-table table {
        min-width: 270px;
    }

}


/* =========================================================
   TOUCHSCREEN IMPROVEMENTS
   ========================================================= */

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

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

    .un-form-label {
        min-height: 66px;
    }

    .un-form-option:hover
    input:not(:checked) + .un-form-label {
        border-color: var(--un-border-dark);

        background: #fff;
        color: #444;
    }

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

}


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

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

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

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

        transition-duration: 0.01ms !important;
    }

}


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

@media (forced-colors: active) {

    .un-page .un-textarea,
    .un-page .un-button,
    .un-form-label,
    .un-status,
    .un-code-panel,
    .un-code-output,
    .un-table,
    .un-settings {
        border: 1px solid CanvasText;
    }

    .un-form-option input:checked + .un-form-label {
        outline: 2px solid Highlight;
        outline-offset: -3px;
    }

    .un-page .un-button-primary,
    .un-page .un-primary {
        border-color: Highlight;

        background: Highlight;
        color: HighlightText;
    }

    .un-page .un-button:disabled {
        border-color: GrayText;
        color: GrayText;
    }

    .un-page .un-textarea:focus,
    .un-page .un-code-output:focus {
        outline: 2px solid Highlight;
    }

}


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

@media print {

    .header,
    .footer,
    .search-form-container {
        display: none !important;
    }

    .un-page {
        width: 100%;

        margin: 0;
        padding: 0;

        background: #fff;
        color: #000;
    }

    .un-layout {
        display: block;

        width: 100%;
        max-width: none;

        margin: 0;
        padding: 0;
    }

    .un-main {
        width: 100%;
    }

    .un-page .un-sidebar,
    .un-toolbar,
    .un-input-toolbar,
    .un-output-toolbar,
    .un-processing-note {
        display: none !important;
    }

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

    .un-heading h1 {
        color: #000;

        font-size: 26px;
    }

    .un-page .un-textarea {
        min-height: 120px;

        border-color: #999;

        background: #fff;
        color: #000;

        box-shadow: none;

        resize: none;
    }

    .un-settings,
    .un-code-panel,
    .un-status,
    .un-example-card,
    .un-example-inline {
        border-color: #aaa;

        background: #fff;
        color: #000;

        box-shadow: none;
    }

    .un-page .un-code-output {
        max-height: none;

        overflow: visible;

        background: #fff;
        color: #000;
    }

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

    .un-table {
        overflow: visible;

        border-color: #aaa;
    }

    .un-page .un-table table {
        min-width: 0;

        background: #fff;
    }

    .un-page .un-table thead th {
        background: #eee;
        color: #000;
    }

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

    .un-content h2,
    .un-content h3,
    .un-section-title,
    .un-panel-title {
        break-after: avoid;
        page-break-after: avoid;
    }

    .un-example-card,
    .un-faq-item,
    .un-content-notice {
        break-inside: avoid;
        page-break-inside: avoid;
    }

    .un-content a {
        color: #000;

        text-decoration: underline;
    }

}


/* =========================================================
   END OF UNICODE NORMALIZER STYLES
   ========================================================= */