
/* =========================================================
   STRIKETHROUGH TEXT GENERATOR — CharacterCounter.com

   File: strikethrough-text-generator.css
   ========================================================= */


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

.stg-page {
    width: 100%;
    padding: 105px 15px 45px;

    background: #fff;
    color: #333;

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

    --stg-blue: #1a73e8;
    --stg-blue-dark: #1558aa;
    --stg-blue-light: #edf5ff;

    --stg-border: #dce2e9;
    --stg-text: #333;
    --stg-muted: #666;

    --stg-green: #237a40;
    --stg-green-light: #edf9f0;

    --stg-textarea-height: 180px;
    --stg-textarea-font-size: 17px;
    --stg-copy-height: 49px;

    --stg-unicode-font:
        "Noto Sans",
        "Segoe UI",
        "Segoe UI Symbol",
        "Apple Symbols",
        "Arial Unicode MS",
        Arial,
        "Roboto",
        sans-serif;
}


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


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


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


.stg-page textarea {
    font-family: var(--stg-unicode-font);
}


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


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


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


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


.stg-page a:focus-visible,
.stg-page button:focus-visible,
.stg-page input:focus-visible,
.stg-page textarea:focus-visible {
    outline: 3px solid rgba(26, 115, 232, 0.3);
    outline-offset: 3px;
}


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

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

.stg-layout {
    display: grid;

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

    align-items: stretch;

    gap: 25px;

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

    margin: 0 auto;
}


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


.stg-sidebar {
    display: block;

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

    align-self: stretch;

    margin: 0;
    padding: 0;
}


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

.stg-heading {
    width: 100%;

    margin: 0 0 25px;
    padding: 0;

    text-align: center;
}


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

    color: #333;

    font-family: "Roboto", Arial, sans-serif;
    font-size: 32px;
    line-height: 1.25;
    font-weight: 700;

    overflow-wrap: break-word;
}


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

    margin: 0 auto;
    padding: 0;

    color: #555;

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


/* =========================================================
   JAVASCRIPT NOTICE
   ========================================================= */

.stg-notice {
    width: 100%;

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

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

    background: #fff9eb;
    color: #665022;

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


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

.stg-tool {
    display: flex;
    flex-direction: column;

    gap: 24px;

    width: 100%;
    min-width: 0;

    margin: 0 0 40px;
    padding: 0;
}


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

.stg-section-heading {
    display: flex;

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

    flex-wrap: wrap;

    gap: 8px 12px;

    width: 100%;

    margin: 0;
    padding: 0;
}


.stg-section-heading h2 {
    margin: 0;
    padding: 0;

    color: #333;

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

    overflow-wrap: break-word;
}


.stg-section-description {
    margin: 0;
    padding: 0;

    color: #666;

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


/* =========================================================
   PRIMARY INPUT AND OUTPUT GRID
   ========================================================= */

.stg-primary-grid {
    display: grid;

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

    align-items: start;

    gap: 20px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   INPUT AND OUTPUT SECTIONS
   ========================================================= */

.stg-input-section,
.stg-output-section {
    display: flex;
    flex-direction: column;

    align-items: stretch;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


.stg-input-section > .stg-section-heading,
.stg-output-section > .stg-section-heading {
    min-height: 30px;
}


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

   Both textareas have identical font sizes.

   Buttons are located outside the textareas, allowing
   the native resize handles to remain at the bottom-right
   corners without overlapping the text.
   ========================================================= */

.stg-page .stg-input,
.stg-page .stg-output {
    display: block;

    flex: 0 0 auto;

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

    height: var(--stg-textarea-height);
    min-height: 90px;
    max-height: none;

    margin: 0;
    padding: 14px 15px;

    border: 2px solid #c9ced6;
    border-radius: 10px;

    background: #fff;
    color: #222;

    font-family: var(--stg-unicode-font);
    font-size: var(--stg-textarea-font-size);
    line-height: 1.65;
    font-weight: 400;

    letter-spacing: normal;
    text-transform: none;
    text-align: start;

    outline: none;
    box-shadow: none;

    resize: vertical;

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

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

    scrollbar-width: auto;

    appearance: auto;
    -webkit-appearance: auto;

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


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

.stg-page .stg-input:hover {
    border-color: #aeb4bd;
}


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

    outline: none;

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


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

.stg-page .stg-output {
    border-color: #bfd3ed;

    background: #f8fbff;
    color: #222;

    cursor: text;
}


.stg-page .stg-output:hover {
    border-color: #a3c1e7;
}


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

    outline: none;

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


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

    -webkit-text-fill-color: #222;
}


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

.stg-page .stg-input::placeholder,
.stg-page .stg-output::placeholder {
    color: #9299a2;

    opacity: 1;

    -webkit-text-fill-color: #9299a2;

    font-family: var(--stg-unicode-font);
    font-size: var(--stg-textarea-font-size);
    line-height: 1.65;
    font-weight: 400;
}


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

.stg-page .stg-input::selection,
.stg-page .stg-output::selection,
.stg-page .stg-style-output::selection {
    background: #cde2ff;
    color: #222;
}


/* =========================================================
   INPUT AND OUTPUT ACTIONS
   ========================================================= */

.stg-input-actions,
.stg-output-actions {
    display: flex;

    flex: 0 0 auto;

    align-items: center;

    gap: 7px;

    width: 100%;
    min-width: 0;

    min-height: var(--stg-copy-height);

    margin: 0;
    padding: 0;

    border: 0;

    background: transparent;
}


.stg-input-actions {
    justify-content: flex-end;
    flex-wrap: wrap;
}


.stg-output-actions {
    justify-content: stretch;
}


/* =========================================================
   CLEAR AND UNDO BUTTONS
   ========================================================= */

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

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

    gap: 6px;

    min-height: 35px;

    margin: 0;
    padding: 7px 12px;

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

    background: #fff;
    color: #145ba8;

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

    white-space: nowrap;

    cursor: pointer;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05);

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


.stg-inline-button i {
    flex-shrink: 0;

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


.stg-page .stg-inline-button:hover:not(:disabled) {
    border-color: #9bbce5;

    background: #e5f0ff;
    color: #104b8d;
}


.stg-page .stg-inline-button:active:not(:disabled) {
    background: #d8e9ff;
}


.stg-page .stg-inline-button:disabled {
    border-color: #d7dce3;

    background: #f5f6f8;
    color: #8a919a;

    opacity: 1;
    box-shadow: none;

    cursor: not-allowed;
}


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

.stg-page .stg-copy-button {
    display: inline-flex;

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

    gap: 8px;

    min-width: 0;

    margin: 0;
    padding: 10px 15px;

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

    background: var(--stg-blue);
    color: #fff;

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

    text-align: center;

    cursor: pointer;

    box-shadow:
        0 2px 4px rgba(26, 115, 232, 0.15);

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


.stg-page .stg-primary-copy-button {
    width: 100%;
    min-height: var(--stg-copy-height);
}


.stg-copy-button i {
    flex-shrink: 0;

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


.stg-copy-button span {
    min-width: 0;

    overflow-wrap: break-word;
}


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

    background: var(--stg-blue-dark);

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


.stg-page .stg-copy-button:active:not(:disabled) {
    border-color: #104c93;

    background: #104c93;
}


.stg-page .stg-copy-button:disabled {
    border-color: #dce5ef;

    background: #e8eef6;
    color: #8997a9;

    opacity: 1;

    box-shadow: none;

    cursor: not-allowed;
}


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

.stg-page .stg-copy-button.is-copied,
.stg-page .stg-copy-button.copied {
    border-color: #237a40;

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


.stg-page .stg-copy-button.is-copied:hover:not(:disabled),
.stg-page .stg-copy-button.copied:hover:not(:disabled) {
    border-color: #1c6534;

    background: #1c6534;
}


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

.stg-warning {
    width: 100%;
    min-width: 0;

    margin: -8px 0 0;
    padding: 11px 14px;

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

    background: #fff8e8;
    color: #73551d;

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

    overflow-wrap: anywhere;
}


.stg-warning.is-error {
    border-color: #e8b9b9;

    background: #fff3f3;
    color: #a62c2c;
}


/* =========================================================
   CONVERSION SETTINGS
   ========================================================= */

.stg-settings {
    display: flex;
    flex-direction: column;

    gap: 16px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 17px 19px;

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

    background: #fafbfd;
}


/* =========================================================
   CONVERSION MODE GROUP
   ========================================================= */

.stg-mode-group {
    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    border: 0;
}


.stg-mode-options {
    display: flex;

    align-items: center;
    flex-wrap: wrap;

    gap: 12px 26px;

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


/* =========================================================
   ADD / REMOVE STRIKETHROUGH RADIO OPTIONS
   ========================================================= */

.stg-mode-option {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-height: 25px;

    margin: 0;
    padding: 0;

    color: #444;

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

    cursor: pointer;
}


.stg-mode-option input[type="radio"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 0;
    padding: 0;

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

    appearance: auto;
    -webkit-appearance: radio;

    cursor: pointer;
}


.stg-mode-option span {
    min-width: 0;
}


.stg-mode-option input[type="radio"]:checked + span {
    color: #145ba8;

    font-weight: 600;
}


.stg-mode-option:hover {
    color: #145ba8;
}


/* =========================================================
   INCLUDE SPACES OPTION
   ========================================================= */

.stg-space-option {
    display: flex;

    align-items: center;

    width: 100%;

    margin: 0;
    padding: 0;
}


.stg-checkbox-label {
    display: inline-flex;

    align-items: center;

    gap: 9px;

    min-height: 24px;

    margin: 0;
    padding: 0;

    color: #555;

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

    cursor: pointer;
}


.stg-checkbox-label input[type="checkbox"] {
    flex: 0 0 auto;

    width: 17px;
    height: 17px;

    margin: 0;
    padding: 0;

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

    appearance: auto;
    -webkit-appearance: checkbox;

    cursor: pointer;
}


.stg-checkbox-label span {
    min-width: 0;

    overflow-wrap: break-word;
}


.stg-checkbox-label:hover {
    color: #333;
}


/* =========================================================
   REMOVE STRIKETHROUGH HELP
   ========================================================= */

.stg-mode-help {
    width: 100%;

    margin: 0;
    padding: 0;

    color: #666;

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

    overflow-wrap: break-word;
}


/* =========================================================
   MORE TEXT STYLES SECTION
   ========================================================= */

.stg-more-styles {
    display: flex;
    flex-direction: column;

    gap: 12px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


.stg-more-styles > .stg-section-heading {
    margin-bottom: 0;
}


.stg-more-styles > .stg-section-heading h2 {
    font-size: 24px;
}


.stg-more-styles > .stg-section-description {
    margin: -5px 0 3px;
}


/* =========================================================
   ADDITIONAL STYLES GRID
   ========================================================= */

.stg-style-grid {
    display: grid;

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

    align-items: stretch;

    gap: 14px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;
}


/* =========================================================
   INDIVIDUAL STYLE CARDS
   ========================================================= */

.stg-style-card {
    display: flex;
    flex-direction: column;

    align-items: stretch;

    gap: 10px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 14px;

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

    background: #fff;

    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.025);

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


.stg-style-card:focus-within {
    border-color: #afc8e7;

    box-shadow:
        0 2px 5px rgba(26, 115, 232, 0.06);
}


/* =========================================================
   STYLE CARD HEADINGS
   ========================================================= */

.stg-style-heading {
    display: flex;

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

    flex-wrap: wrap;

    gap: 5px 10px;

    width: 100%;
    min-width: 0;

    min-height: 25px;

    margin: 0;
    padding: 0;
}


.stg-style-heading h3 {
    flex: 1 1 auto;

    min-width: 0;

    margin: 0;
    padding: 0;

    color: #333;

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

    overflow-wrap: break-word;
}


/* =========================================================
   SMALL DECORATIVE STYLE EXAMPLES
   ========================================================= */

.stg-style-example {
    flex: 0 0 auto;

    margin: 0;
    padding: 0;

    color: #777;

    font-family: var(--stg-unicode-font);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;

    white-space: nowrap;

    text-decoration: none;
    text-transform: none;

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


/* =========================================================
   ADDITIONAL STYLE OUTPUT TEXTAREAS

   Long results remain inside their own scrollable
   textareas rather than expanding the entire page.
   ========================================================= */

.stg-page .stg-style-output {
    display: block;

    flex: 1 0 auto;

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

    height: 100px;
    min-height: 100px;
    max-height: 100px;

    margin: 0;
    padding: 10px 12px;

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

    background: #f8fbff;
    color: #222;

    font-family: var(--stg-unicode-font);
    font-size: var(--stg-textarea-font-size);
    line-height: 1.65;
    font-weight: 400;

    letter-spacing: normal;

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

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

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

    resize: none;

    scrollbar-width: auto;

    outline: none;
    box-shadow: none;

    appearance: auto;
    -webkit-appearance: auto;

    cursor: text;

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


.stg-page .stg-style-output[readonly] {
    opacity: 1;

    -webkit-text-fill-color: #222;
}


.stg-page .stg-style-output:hover {
    border-color: #b6cbe5;
}


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

    outline: none;

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


/* =========================================================
   ADDITIONAL STYLE COPY BUTTONS
   ========================================================= */

.stg-page .stg-style-copy-button {
    display: inline-flex;

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

    align-self: flex-end;

    gap: 6px;

    width: auto;
    min-width: 88px;
    min-height: 34px;

    margin: 0;
    padding: 7px 12px;

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

    background: #fff;
    color: #145ba8;

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

    white-space: nowrap;

    cursor: pointer;

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

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


.stg-style-copy-button i {
    flex-shrink: 0;

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


.stg-page .stg-style-copy-button:hover:not(:disabled) {
    border-color: #98b9e3;

    background: #edf5ff;
    color: #104b8d;
}


.stg-page .stg-style-copy-button:active:not(:disabled) {
    background: #dcecff;
}


.stg-page .stg-style-copy-button:disabled {
    border-color: #dce2e9;

    background: #f4f6f8;
    color: #929ba7;

    opacity: 1;

    box-shadow: none;

    cursor: not-allowed;
}


/* =========================================================
   ADDITIONAL COPY SUCCESS STATES
   ========================================================= */

.stg-page .stg-style-copy-button.is-copied,
.stg-page .stg-style-copy-button.copied {
    border-color: #b5ddbf;

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


.stg-page .stg-style-copy-button.is-copied:hover:not(:disabled),
.stg-page .stg-style-copy-button.copied:hover:not(:disabled) {
    border-color: #95caa4;

    background: #e0f3e5;
    color: #1c6534;
}


/* =========================================================
   COPY FAILURE STATES
   ========================================================= */

.stg-page .stg-copy-button.copy-error,
.stg-page .stg-copy-button.is-error,
.stg-page .stg-style-copy-button.copy-error,
.stg-page .stg-style-copy-button.is-error {
    border-color: #e0b4b4;

    background: #fff1f1;
    color: #a92c2c;
}


/* =========================================================
   UNICODE COMPATIBILITY NOTE
   ========================================================= */

.stg-compatibility-note {
    display: flex;

    align-items: flex-start;

    gap: 7px;

    width: 100%;

    margin: 1px 0 0;
    padding: 0;

    color: #777;

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


.stg-compatibility-note i {
    flex: 0 0 auto;

    margin-top: 1px;

    color: #66809e;

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


.stg-compatibility-note span {
    min-width: 0;

    overflow-wrap: break-word;
}


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

.stg-article {
    display: block;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    color: #333;

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


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

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

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


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


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

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

    color: #333;

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

    overflow-wrap: break-word;
}


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

    color: #333;

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

    overflow-wrap: break-word;
}


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

.stg-article p {
    margin: 0 0 15px;
    padding: 0;

    color: #444;

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

    overflow-wrap: break-word;
}


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


.stg-article strong {
    color: inherit;

    font-weight: 700;
}


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

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

    text-decoration: none;

    overflow-wrap: anywhere;
}


.stg-article a:hover {
    color: #0d47a1;

    text-decoration: underline;
}


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

.stg-article .stg-article-list {
    display: block;

    margin: 0 0 17px;
    padding: 0 0 0 25px;

    color: #444;

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


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


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


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

    margin: 0 0 7px;
    padding: 0;

    overflow-wrap: break-word;
}


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


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

.stg-article code {
    display: inline;

    margin: 0;
    padding: 2px 5px;

    border-radius: 4px;

    background: #f1f3f5;
    color: #444;

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

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

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


/* =========================================================
   INLINE UNICODE EXAMPLES
   ========================================================= */

.stg-unicode-example {
    color: #333;

    font-family: var(--stg-unicode-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;

    text-decoration: none;
    text-transform: none;

    letter-spacing: normal;

    overflow-wrap: anywhere;
}


/* =========================================================
   RESPONSIVE TABLE WRAPPERS
   ========================================================= */

.stg-table-wrapper {
    display: block;

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

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

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

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

    background: #fff;

    -webkit-overflow-scrolling: touch;
}


/* =========================================================
   INFORMATIONAL TABLES
   ========================================================= */

.stg-article .stg-example-table {
    display: table;

    width: 100%;
    min-width: 440px;

    margin: 0;
    padding: 0;

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

    table-layout: auto;

    background: #fff;

    color: #444;

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

    text-align: left;
}


.stg-example-table thead {
    background: #f2f5f9;
}


.stg-example-table th,
.stg-example-table td {
    margin: 0;
    padding: 12px 14px;

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

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

    overflow-wrap: break-word;
}


.stg-example-table thead th {
    background: #f2f5f9;

    color: #333;

    font-size: 14px;
    font-weight: 700;

    text-align: left;
}


.stg-example-table tbody th {
    color: #444;

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


.stg-example-table tbody td {
    color: #444;

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


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


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


/* =========================================================
   UNICODE EXAMPLES INSIDE TABLES
   ========================================================= */

.stg-example-table td.stg-unicode-example {
    color: #222;

    font-family: var(--stg-unicode-font);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.8;

    letter-spacing: normal;

    text-decoration: none;
    text-transform: none;

    white-space: nowrap;
}


/* =========================================================
   UNICODE CHARACTER TABLE
   ========================================================= */

.stg-article .stg-unicode-table {
    min-width: 420px;
}


.stg-unicode-table td:first-child {
    width: 120px;

    white-space: nowrap;
}


.stg-unicode-table td:last-child {
    width: 100px;
}


.stg-unicode-table code {
    white-space: nowrap;
}


/* =========================================================
   CHARACTER COUNT TABLE
   ========================================================= */

.stg-article .stg-count-table {
    min-width: 440px;
}


.stg-count-table th:not(:first-child),
.stg-count-table td:not(:first-child) {
    text-align: center;
}


.stg-count-table td {
    font-variant-numeric: tabular-nums;
}


/* =========================================================
   SPACE HANDLING EXAMPLES
   ========================================================= */

.stg-example-table td.stg-space-example {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}


/* =========================================================
   BEFORE / AFTER CONVERSION EXAMPLE
   ========================================================= */

.stg-conversion-example {
    display: grid;

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

    align-items: center;

    gap: 18px;

    width: 100%;
    min-width: 0;

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

    border: 1px solid #dce5f0;
    border-radius: 8px;

    background: #f8fbff;
}


.stg-conversion-example-item {
    display: flex;
    flex-direction: column;

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

    gap: 7px;

    width: 100%;
    min-width: 0;

    text-align: center;
}


.stg-example-label {
    color: #666;

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

    overflow-wrap: break-word;
}


.stg-conversion-example-item .stg-unicode-example {
    color: #333;

    font-family: var(--stg-unicode-font);
    font-size: 24px;
    line-height: 1.65;
    font-weight: 400;

    overflow-wrap: anywhere;
}


.stg-example-arrow {
    color: #8297b0;

    font-size: 24px;
    font-weight: 400;
    line-height: 1;
}


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

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


.stg-faq-section > h2 {
    margin-bottom: 18px;
}


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

    margin: 0;
    padding: 17px 0;

    border-bottom: 1px solid #e5e8ed;
}


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


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

    border-bottom: 0;
}


.stg-article .stg-faq-item h3 {
    margin: 0 0 7px;
    padding: 0;

    color: #333;

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


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

    color: #444;

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


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

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

    margin-top: 30px;
}


.stg-related-section h2 {
    margin-bottom: 16px;
}


.stg-article .stg-related-tools {
    display: grid;

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

    align-items: start;

    gap: 12px 20px;

    width: 100%;
    min-width: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


.stg-article .stg-related-tools li {
    display: block;

    min-width: 0;

    margin: 0;
    padding: 0;

    list-style: none;
}


.stg-article .stg-related-tools li a {
    display: inline-block;

    color: #1155cc;

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

    text-decoration: none;

    overflow-wrap: break-word;
}


.stg-article .stg-related-tools li a:hover {
    color: #0d47a1;

    text-decoration: underline;
}


/* =========================================================
   SCROLLBAR HANDLING

   Retain native scrollbars and resize handles.
   No extra bottom padding is reserved for buttons.
   ========================================================= */

.stg-page .stg-input,
.stg-page .stg-output,
.stg-page .stg-style-output {
    scrollbar-width: auto;
    scrollbar-color: auto;
}


.stg-table-wrapper {
    scrollbar-width: auto;
    scrollbar-color: auto;
}


/* =========================================================
   RESPONSIVE — LARGE DESKTOP
   ========================================================= */

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

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


    .stg-primary-grid {
        gap: 22px;
    }


    .stg-style-grid {
        gap: 16px;
    }


    .stg-style-card {
        padding: 16px;
    }

}


/* =========================================================
   RESPONSIVE — SMALLER DESKTOP
   ========================================================= */

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

    .stg-layout {
        gap: 20px;
    }


    .stg-style-heading {
        gap: 5px 8px;
    }


    .stg-style-heading h3 {
        font-size: 14px;
    }


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

}


/* =========================================================
   RESPONSIVE — SMALL DESKTOP

   Retain the 300px advertising sidebar.
   ========================================================= */

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

    .stg-layout {
        gap: 17px;
    }


    .stg-primary-grid {
        gap: 13px;
    }


    .stg-section-heading h2 {
        font-size: 20px;
    }


    .stg-more-styles > .stg-section-heading h2 {
        font-size: 23px;
    }


    .stg-settings {
        padding: 15px 16px;
    }


    .stg-mode-options {
        gap: 10px 20px;
    }


    .stg-style-grid {
        gap: 11px;
    }


    .stg-style-card {
        padding: 12px;
    }


    .stg-style-heading h3 {
        font-size: 14px;
    }


    .stg-style-example {
        font-size: 15px;
    }


    .stg-example-table th,
    .stg-example-table td {
        padding: 10px 12px;
    }

}


/* =========================================================
   RESPONSIVE — TABLET

   Hide the 300px advertising sidebar on smaller screens.
   ========================================================= */

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

    .stg-page {
        padding: 95px 15px 40px;

        --stg-copy-height: 47px;
    }


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

        gap: 0;
    }


    .stg-sidebar {
        display: none;

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


    .stg-primary-grid {
        gap: 17px;
    }


    .stg-settings {
        padding: 17px 18px;
    }


    .stg-style-grid {
        gap: 14px;
    }


    .stg-style-card {
        padding: 14px;
    }


    .stg-style-heading h3 {
        font-size: 15px;
    }


    .stg-style-example {
        font-size: 16px;
    }


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

}


/* =========================================================
   RESPONSIVE — SMALL TABLET
   ========================================================= */

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

    .stg-page {
        padding: 90px 13px 35px;

        --stg-textarea-height: 160px;
        --stg-textarea-font-size: 16px;
        --stg-copy-height: 45px;
    }


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


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


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


    .stg-tool {
        gap: 22px;

        margin-bottom: 34px;
    }


    .stg-section-heading h2 {
        font-size: 20px;
    }


    .stg-primary-grid {
        gap: 12px;
    }


    .stg-page .stg-input,
    .stg-page .stg-output {
        padding: 12px;
    }


    .stg-page .stg-copy-button {
        padding: 10px;

        font-size: 14px;
    }


    .stg-copy-button i {
        font-size: 17px;
    }


    .stg-settings {
        gap: 14px;

        padding: 15px 16px;
    }


    .stg-more-styles > .stg-section-heading h2 {
        font-size: 22px;
    }


    .stg-style-grid {
        gap: 11px;
    }


    .stg-style-card {
        padding: 12px;
    }


    .stg-style-heading h3 {
        font-size: 14px;
    }


    .stg-style-example {
        font-size: 15px;
    }


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


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

}


/* =========================================================
   RESPONSIVE — MOBILE

   Stack the input above the output.
   Keep settings below the primary converter.
   ========================================================= */

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

    .stg-page {
        padding: 85px 12px 35px;

        --stg-textarea-height: 140px;
        --stg-textarea-font-size: 16px;
        --stg-copy-height: 48px;
    }


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


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

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


    .stg-intro {
        font-size: 14px;
        line-height: 1.55;
    }


    .stg-tool {
        gap: 20px;

        margin-bottom: 32px;
    }


    /* Primary textareas */

    .stg-primary-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 17px;
    }


    .stg-input-section,
    .stg-output-section {
        gap: 8px;
    }


    .stg-input-section > .stg-section-heading,
    .stg-output-section > .stg-section-heading {
        min-height: 0;
    }


    .stg-section-heading h2 {
        font-size: 20px;
    }


    .stg-page .stg-input,
    .stg-page .stg-output {
        padding: 11px 12px;

        border-radius: 8px;

        line-height: 1.65;
    }


    /* Input controls */

    .stg-input-actions {
        min-height: 34px;
    }


    .stg-output-actions {
        min-height: var(--stg-copy-height);
    }


    .stg-page .stg-inline-button {
        min-height: 34px;

        padding: 6px 11px;
    }


    .stg-page .stg-primary-copy-button {
        min-height: 48px;

        font-size: 15px;
    }


    /* Conversion settings */

    .stg-settings {
        gap: 13px;

        padding: 14px;

        border-radius: 8px;
    }


    .stg-mode-options {
        gap: 9px 18px;
    }


    .stg-mode-option {
        gap: 8px;

        font-size: 14px;
    }


    .stg-checkbox-label {
        font-size: 13px;
    }


    .stg-mode-help {
        font-size: 13px;
    }


    /* Additional results */

    .stg-more-styles {
        gap: 11px;
    }


    .stg-more-styles > .stg-section-heading h2 {
        font-size: 22px;
    }


    .stg-section-description {
        font-size: 14px;
    }


    .stg-style-grid {
        grid-template-columns:
            minmax(0, 1fr);

        gap: 11px;
    }


    .stg-style-card {
        gap: 9px;

        padding: 12px;

        border-radius: 8px;
    }


    .stg-style-heading h3 {
        font-size: 15px;
    }


    .stg-style-example {
        font-size: 16px;
    }


    .stg-page .stg-style-output {
        height: 85px;
        min-height: 85px;
        max-height: 85px;

        padding: 9px 11px;

        font-size: 16px;
    }


    .stg-page .stg-style-copy-button {
        min-width: 88px;
        min-height: 37px;
    }


    .stg-compatibility-note {
        font-size: 12px;
    }


    /* Warnings */

    .stg-warning {
        margin-top: -4px;

        padding: 10px 12px;

        font-size: 13px;
    }


    /* Informational article */

    .stg-article {
        font-size: 15px;
        line-height: 1.7;
    }


    .stg-article-section {
        margin-bottom: 26px;
    }


    .stg-article h2 {
        margin-bottom: 11px;

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


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


    .stg-article p {
        margin-bottom: 13px;

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


    .stg-article .stg-article-list {
        padding-left: 22px;

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


    /* Tables */

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


    .stg-example-table th,
    .stg-example-table td {
        padding: 10px;
    }


    .stg-example-table thead th,
    .stg-example-table tbody th,
    .stg-example-table tbody td {
        font-size: 13px;
    }


    .stg-example-table td.stg-unicode-example {
        font-size: 16px;
    }


    /* Conversion example */

    .stg-conversion-example {
        gap: 12px;

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


    .stg-conversion-example-item {
        gap: 6px;
    }


    .stg-conversion-example-item .stg-unicode-example {
        font-size: 22px;
    }


    .stg-example-arrow {
        font-size: 21px;
    }


    /* Frequently asked questions */

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


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


    .stg-article .stg-faq-item p {
        font-size: 15px;
    }


    /* Related tools */

    .stg-article .stg-related-tools {
        gap: 10px 14px;
    }

}


/* =========================================================
   RESPONSIVE — SMALL MOBILE
   ========================================================= */

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

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


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


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


    .stg-section-heading h2 {
        font-size: 19px;
    }


    .stg-more-styles > .stg-section-heading h2 {
        font-size: 21px;
    }


    .stg-settings {
        padding: 12px;
    }


    .stg-mode-options {
        gap: 8px 13px;
    }


    .stg-mode-option {
        gap: 7px;

        font-size: 13px;
    }


    .stg-mode-option input[type="radio"],
    .stg-checkbox-label input[type="checkbox"] {
        width: 16px;
        height: 16px;
    }


    .stg-style-heading h3 {
        font-size: 14px;
    }


    .stg-style-example {
        font-size: 15px;
    }


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


    .stg-article .stg-related-tools {
        gap: 10px 12px;
    }


    .stg-article .stg-related-tools li a {
        font-size: 13px;
    }

}


/* =========================================================
   RESPONSIVE — EXTRA SMALL MOBILE
   ========================================================= */

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

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


    .stg-mode-options {
        flex-direction: column;

        align-items: flex-start;

        gap: 9px;
    }


    .stg-style-card {
        padding: 10px;
    }


    .stg-style-heading h3 {
        font-size: 14px;
    }


    .stg-conversion-example {
        gap: 8px;

        padding: 14px 10px;
    }


    .stg-conversion-example-item .stg-unicode-example {
        font-size: 20px;
    }


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

}


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

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

    .stg-page button,
    .stg-page input,
    .stg-page textarea,
    .stg-style-card {
        transition: none !important;

        animation: none !important;
    }

}


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

@media (forced-colors: active) {

    .stg-page .stg-input,
    .stg-page .stg-output,
    .stg-page .stg-style-output,
    .stg-style-card,
    .stg-settings,
    .stg-table-wrapper {
        border-color: CanvasText;
    }


    .stg-page .stg-copy-button,
    .stg-page .stg-inline-button,
    .stg-page .stg-style-copy-button {
        border: 1px solid ButtonText;
    }


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


    .stg-page .stg-output[readonly],
    .stg-page .stg-style-output[readonly] {
        -webkit-text-fill-color: currentColor;
    }

}


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

@media print {

    .stg-page {
        width: 100%;

        padding: 0;

        background: #fff;
        color: #000;
    }


    .stg-layout {
        display: block;

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


    .stg-sidebar,
    .stg-input-actions,
    .stg-output-actions,
    .stg-style-copy-button,
    .stg-settings,
    .stg-compatibility-note,
    .stg-warning {
        display: none !important;
    }


    .stg-primary-grid,
    .stg-style-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }


    .stg-page .stg-input,
    .stg-page .stg-output,
    .stg-page .stg-style-output {
        border-color: #aaa;

        background: #fff;
        color: #000;

        box-shadow: none;
    }


    .stg-style-card,
    .stg-table-wrapper,
    .stg-conversion-example,
    .stg-faq-item {
        break-inside: avoid;
    }


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


    .stg-article .stg-example-table {
        min-width: 0;
    }


    .stg-article a {
        color: #000;
    }

}
