/* =========================================================
   SORT LINES — CharacterCounter.com
   File: sort-lines.css
   ========================================================= */


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

.sl-page {
    --sl-blue: #1a73e8;
    --sl-blue-dark: #1558aa;
    --sl-blue-pale: #edf5ff;
    --sl-border: #dce2e9;
    --sl-border-dark: #c9ced6;
    --sl-text: #333;
    --sl-muted: #666;
    --sl-soft: #f8fafc;
    --sl-green: #237a40;
    --sl-green-pale: #edf8f0;
    --sl-red: #b42318;

    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 105px 15px 50px;
    background: #fff;
    color: var(--sl-text);
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
}

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

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

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

.sl-page button,
.sl-page select,
.sl-page input[type="checkbox"] {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}


/* =========================================================
   LINKS AND ACCESSIBILITY
   ========================================================= */

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

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

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

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

.sl-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: -1px !important;
    padding: 0 !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}


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

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

.sl-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    align-items: stretch;
    gap: 25px;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.sl-main {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}


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

.sl-sidebar {
    display: block;
    width: 300px;
    min-width: 300px;
    min-height: 100%;
    align-self: stretch;
    margin: 0;
    padding: 0;
}


/* =========================================================
   PAGE HEADING AND INTRODUCTION
   ========================================================= */

.sl-heading {
    width: 100%;
    margin: 0 0 25px;
    padding: 0;
    text-align: center;
}

.sl-heading h1 {
    margin: 0 0 10px;
    padding: 0;
    color: #333;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    overflow-wrap: break-word;
}

.sl-intro {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 0;
    color: #555;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.55;
}


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

.sl-notice {
    margin: 0 0 18px;
    padding: 12px 14px;
    border: 1px solid #f0d5a9;
    border-radius: 7px;
    font-size: 14px;
    line-height: 1.5;
}

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


/* =========================================================
   MAIN SORT LINES TOOL
   ========================================================= */

.sl-tool {
    width: 100%;
    min-width: 0;
    margin: 0 0 45px;
    padding: 0;
}


/* =========================================================
   TWO-COLUMN WORKSPACE
   ========================================================= */

.sl-workspace {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 22px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.sl-input-panel,
.sl-output-panel {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.sl-panel-title {
    margin: 0 0 12px;
    padding: 0;
    color: #333;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.35;
}

.sl-panel-title label {
    display: inline;
    margin: 0;
    padding: 0;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
    cursor: text;
}


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

.sl-page .sl-textarea {
    display: block;
    width: 100%;
    min-width: 0;
    height: 320px;
    min-height: 170px;
    margin: 0;
    padding: 15px 16px;
    border: 1px solid var(--sl-border-dark);
    border-radius: 7px;
    background: #fff;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.65;
    text-align: left;
    overflow-x: auto;
    overflow-y: scroll;
    overflow-wrap: break-word;
    word-break: normal;
    white-space: pre-wrap;
    tab-size: 4;
    resize: vertical;
    outline: none;
    box-shadow: none;
    appearance: auto;
    -webkit-appearance: auto;
    scrollbar-gutter: stable;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}


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

.sl-page .sl-input {
    background: #fff;
    cursor: text;
    caret-color: var(--sl-blue);
}

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

.sl-page .sl-input:focus,
.sl-page .sl-input:focus-visible {
    border-color: var(--sl-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.10);
}


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

.sl-page .sl-output {
    background: #fff;
    color: #333;
    cursor: text;
}

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

.sl-page .sl-output:focus,
.sl-page .sl-output:focus-visible {
    border-color: var(--sl-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.10);
}

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

.sl-page .sl-textarea[readonly] {
    opacity: 1;
    -webkit-user-select: text;
    user-select: text;
    -webkit-text-fill-color: #333;
}

.sl-page .sl-textarea[readonly]::placeholder {
    color: #9299a3;
    -webkit-text-fill-color: #9299a3;
}


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

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

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

.sl-page .sl-textarea::-webkit-scrollbar-track {
    background: #f3f5f7;
    border-radius: 6px;
}

.sl-page .sl-textarea::-webkit-scrollbar-thumb {
    background: #b9c1cb;
    border: 2px solid #f3f5f7;
    border-radius: 6px;
}

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

.sl-page .sl-textarea::-webkit-scrollbar-corner {
    background: #f3f5f7;
}

.sl-page .sl-textarea::-webkit-resizer {
    background:
        linear-gradient(
            135deg,
            transparent 45%,
            #a4adb8 45%,
            #a4adb8 50%,
            transparent 50%,
            transparent 65%,
            #a4adb8 65%,
            #a4adb8 70%,
            transparent 70%
        );
}


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

.sl-field-help {
    width: 100%;
    margin: 9px 0 0;
    padding: 0;
    color: var(--sl-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
}


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

.sl-page .sl-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;
}

.sl-button i {
    flex: 0 0 auto;
    font-size: 17px;
    line-height: 1;
}

.sl-page .sl-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    box-shadow: none;
}


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

.sl-page .sl-button-primary {
    border-color: var(--sl-blue);
    background: var(--sl-blue);
    color: #fff;
}

.sl-page .sl-button-primary:hover:not(:disabled) {
    border-color: var(--sl-blue-dark);
    background: var(--sl-blue-dark);
    color: #fff;
}

.sl-page .sl-button-primary:active:not(:disabled) {
    border-color: #124a91;
    background: #124a91;
    color: #fff;
}


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

.sl-page .sl-button-secondary {
    border-color: var(--sl-border-dark);
    background: #fff;
    color: #444;
}

.sl-page .sl-button-secondary:hover:not(:disabled) {
    border-color: #aab7c7;
    background: #f3f6fa;
    color: #222;
}

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


/* =========================================================
   COPIED BUTTON STATE
   ========================================================= */

.sl-page .sl-button.is-copied,
.sl-page .sl-button.copied {
    border-color: #b4d9be;
    background: var(--sl-green-pale);
    color: var(--sl-green);
}

.sl-page .sl-button.is-copied:hover:not(:disabled),
.sl-page .sl-button.copied:hover:not(:disabled) {
    border-color: #a6cdb0;
    background: #e3f3e7;
    color: var(--sl-green);
}

#slCopyLabel {
    display: inline-block;
}


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

.sl-input-toolbar,
.sl-output-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    width: 100%;
    min-width: 0;
    margin: auto 0 0;
    padding: 14px 0 0;
}

#slCopy {
    min-width: 115px;
}


/* =========================================================
   SORTING SETTINGS
   ========================================================= */

.sl-settings {
    width: 100%;
    min-width: 0;
    margin: 26px 0 0;
    padding: 20px;
    border: 1px solid var(--sl-border);
    border-radius: 8px;
    background: var(--sl-soft);
}

.sl-settings-title {
    margin: 0 0 15px;
    padding: 0;
    color: #333;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.sl-settings-title label {
    display: inline;
    color: inherit;
    font-size: inherit;
    font-weight: inherit;
}

.sl-sort-settings {
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}


/* =========================================================
   SORT ORDER CONTROLS
   ========================================================= */

.sl-sort-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.sl-select-wrapper {
    position: relative;
    flex: 0 1 350px;
    width: 100%;
    max-width: 350px;
    min-width: 0;
}


/* =========================================================
   SORT ORDER DROPDOWN
   ========================================================= */

.sl-page .sl-select {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 45px;
    margin: 0;
    padding: 11px 42px 11px 13px;
    border: 1px solid var(--sl-border-dark);
    border-radius: 6px;
    background: #fff;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-align: left;
    text-transform: none;
    outline: none;
    box-shadow: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.sl-page .sl-select:hover {
    border-color: #9eaab7;
}

.sl-page .sl-select:focus,
.sl-page .sl-select:focus-visible {
    border-color: var(--sl-blue);
    outline: none;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.10);
}

.sl-page .sl-select:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.sl-select option {
    background: #fff;
    color: #333;
    font-size: 15px;
    font-weight: 400;
}

.sl-select optgroup {
    background: #fff;
    color: #555;
    font-size: 14px;
    font-weight: 700;
}

.sl-select-arrow {
    position: absolute;
    top: 50%;
    right: 12px;
    display: block;
    color: #666;
    font-size: 21px;
    line-height: 1;
    pointer-events: none;
    transform: translateY(-50%);
}


/* =========================================================
   SHUFFLE AGAIN BUTTON
   ========================================================= */

.sl-page .sl-shuffle-button {
    min-height: 45px;
    padding: 10px 15px;
    border-color: #b8cce6;
    background: #fff;
    color: #1558aa;
}

.sl-page .sl-shuffle-button:hover:not(:disabled) {
    border-color: #9cb9df;
    background: #edf5ff;
    color: #1558aa;
}

.sl-page .sl-shuffle-button:active:not(:disabled) {
    background: #e0edff;
}

.sl-shuffle-button i {
    font-size: 18px;
}


/* =========================================================
   DYNAMIC SORT DESCRIPTION
   ========================================================= */

.sl-sort-description {
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    color: var(--sl-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.55;
}


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

.sl-additional-options {
    width: 100%;
    min-width: 0;
    margin: 21px 0 0;
    padding: 20px 0 0;
    border-top: 1px solid var(--sl-border);
}

.sl-additional-options .sl-settings-title {
    margin-bottom: 18px;
}

.sl-settings-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
    column-gap: 25px;
    row-gap: 18px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}


/* =========================================================
   CHECKBOX LABELS
   ========================================================= */

.sl-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.sl-checkbox-label:hover .sl-checkbox-title {
    color: #1558aa;
}

.sl-page .sl-checkbox {
    display: inline-block;
    flex: 0 0 17px;
    width: 17px;
    min-width: 17px;
    height: 17px;
    margin: 3px 0 0;
    padding: 0;
    border: 1px solid #b7c1cd;
    border-radius: 3px;
    background: #fff;
    accent-color: var(--sl-blue);
    appearance: auto;
    -webkit-appearance: checkbox;
    cursor: pointer;
    vertical-align: middle;
}

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

.sl-checkbox:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

.sl-checkbox-label:has(.sl-checkbox:disabled) {
    opacity: 0.6;
    cursor: not-allowed;
}

.sl-checkbox-label:has(.sl-checkbox:disabled):hover
.sl-checkbox-title {
    color: #333;
}


/* =========================================================
   CHECKBOX TITLES AND DESCRIPTIONS
   ========================================================= */

.sl-checkbox-content {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.sl-checkbox-title {
    display: block;
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    transition: color 0.15s ease;
}

.sl-checkbox-description {
    display: block;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    overflow-wrap: break-word;
}


/* =========================================================
   TOOL STATISTICS
   ========================================================= */

.sl-statistics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 13px;
    width: 100%;
    min-width: 0;
    margin: 20px 0 0;
    padding: 0;
}


/* =========================================================
   STATISTIC CARDS
   ========================================================= */

.sl-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    width: 100%;
    min-width: 0;
    min-height: 96px;
    margin: 0;
    padding: 15px 10px;
    border: 1px solid var(--sl-border);
    border-radius: 7px;
    background: var(--sl-soft);
    text-align: center;
}

.sl-stat-value {
    display: block;
    max-width: 100%;
    margin: 0;
    padding: 0;
    color: #333;
    font-size: 29px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    line-height: 1.15;
    overflow-wrap: anywhere;
}

.sl-stat-label {
    display: block;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

#slSortedLines {
    color: var(--sl-blue);
}


/* =========================================================
   OPTIONAL STATISTIC STATES
   ========================================================= */

.sl-stat-card.is-active {
    border-color: #c5d9f4;
    background: #f4f8ff;
}

.sl-stat-card.is-removed {
    border-color: #cee3d3;
    background: #f3faf4;
}

.sl-stat-card.is-removed .sl-stat-value {
    color: var(--sl-green);
}


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

.sl-privacy-note {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 7px;
    width: 100%;
    margin: 17px 0 0;
    padding: 0;
    color: #777;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
}

.sl-privacy-note i {
    flex: 0 0 auto;
    margin: 1px 0 0;
    color: #668170;
    font-size: 15px;
    line-height: 1.4;
}


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

.sl-article {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
    color: #333;
    font-family: "Roboto", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.75;
}


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

.sl-article-section {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0 0 34px;
    padding: 0;
}

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

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


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

.sl-article h2 {
    margin: 0 0 15px;
    padding: 0;
    color: #333;
    font-size: 25px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: break-word;
}

.sl-article h3 {
    margin: 23px 0 10px;
    padding: 0;
    color: #333;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.4;
    overflow-wrap: break-word;
}

.sl-article h4 {
    margin: 18px 0 9px;
    padding: 0;
    color: #333;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}


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

.sl-article p {
    margin: 0 0 15px;
    padding: 0;
    color: #333;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.75;
    overflow-wrap: break-word;
}

.sl-article strong {
    color: inherit;
    font-weight: 700;
}

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

.sl-article a {
    display: inline;
    color: #1155cc;
    font-weight: inherit;
    text-decoration: none;
    overflow-wrap: anywhere;
}

.sl-article a:hover {
    color: #0b419e;
    text-decoration: underline;
}


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

.sl-article ol,
.sl-article ul {
    display: block;
    margin: 14px 0 18px;
    padding: 0 0 0 25px;
    color: #333;
    font-size: 16px;
    line-height: 1.75;
}

.sl-article ol {
    list-style-type: decimal;
}

.sl-article ul {
    list-style-type: disc;
}

.sl-article li {
    display: list-item;
    margin: 0 0 9px;
    padding: 0 0 0 3px;
    color: #333;
    font-size: inherit;
    line-height: inherit;
}

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

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

.sl-article .sl-steps {
    margin-top: 16px;
    margin-bottom: 18px;
}

.sl-article .sl-steps li {
    margin-bottom: 12px;
}

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

.sl-article .sl-article-list {
    margin-top: 14px;
    margin-bottom: 18px;
}


/* =========================================================
   EXAMPLE GRIDS
   ========================================================= */

.sl-example-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    gap: 15px;
    width: 100%;
    min-width: 0;
    margin: 20px 0;
    padding: 0;
}

.sl-example-grid-three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}


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

.sl-example-card {
    display: flex;
    flex-direction: column;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--sl-border);
    border-radius: 7px;
    background: var(--sl-soft);
}

.sl-article .sl-example-card h3 {
    margin: 0 0 11px;
    padding: 0;
    color: #444;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.sl-example-card:not(:first-child) {
    border-color: #c9d9ef;
    background: #f5f9ff;
}


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

.sl-article .sl-example-text {
    display: block;
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
    min-height: 0;
    margin: 0;
    padding: 12px;
    border: 1px solid #e0e5ec;
    border-radius: 5px;
    background: #fff;
    color: #333;
    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.7;
    text-align: left;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    word-break: normal;
    overflow-x: auto;
    tab-size: 4;
    -webkit-user-select: text;
    user-select: text;
}

.sl-example-text {
    scrollbar-width: thin;
    scrollbar-color: #b9c1cb #f3f5f7;
}

.sl-example-text::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.sl-example-text::-webkit-scrollbar-track {
    background: #f3f5f7;
}

.sl-example-text::-webkit-scrollbar-thumb {
    border: 2px solid #f3f5f7;
    border-radius: 5px;
    background: #b9c1cb;
}


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

.sl-article code {
    padding: 2px 5px;
    border: 1px solid #e0e5eb;
    border-radius: 4px;
    background: #f5f7fa;
    color: #333;
    font-family:
        "SFMono-Regular",
        Consolas,
        "Liberation Mono",
        Menlo,
        monospace;
    font-size: 0.9em;
    overflow-wrap: anywhere;
}

.sl-article pre code {
    padding: 0;
    border: none;
    border-radius: 0;
    background: transparent;
    color: inherit;
    font-size: inherit;
}


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

.sl-table-wrapper {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    margin: 20px 0;
    padding: 0;
    border: 1px solid var(--sl-border);
    border-radius: 7px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.sl-table-wrapper {
    scrollbar-width: thin;
    scrollbar-color: #b9c1cb #f3f5f7;
}

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

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

.sl-table-wrapper::-webkit-scrollbar-thumb {
    border: 2px solid #f3f5f7;
    border-radius: 5px;
    background: #b9c1cb;
}


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

.sl-page .sl-table {
    display: table;
    width: 100%;
    min-width: 610px;
    margin: 0;
    padding: 0;
    border: none;
    border-collapse: collapse;
    border-spacing: 0;
    background: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    table-layout: auto;
}

.sl-table thead {
    background: #f0f4f8;
}

.sl-table th,
.sl-table td {
    margin: 0;
    padding: 12px 14px;
    border: none;
    border-bottom: 1px solid var(--sl-border);
    color: #333;
    font-size: 14px;
    line-height: 1.55;
    text-align: left;
    vertical-align: top;
    overflow-wrap: break-word;
}

.sl-table th {
    color: #333;
    font-weight: 700;
}

.sl-table td {
    background: transparent;
    font-weight: 400;
}

.sl-table th:first-child,
.sl-table td:first-child {
    width: 29%;
}

.sl-table th:nth-child(2),
.sl-table td:nth-child(2) {
    width: 40%;
}

.sl-table th:nth-child(3),
.sl-table td:nth-child(3) {
    width: 31%;
}

.sl-table td:first-child {
    font-weight: 500;
}

.sl-table tbody tr:nth-child(even) {
    background: #f8fafc;
}

.sl-table tbody tr:hover {
    background: #f1f6fc;
}

.sl-table tbody tr:last-child td {
    border-bottom: none;
}


/* =========================================================
   DEFINITION LIST
   ========================================================= */

.sl-definition-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 13px;
    width: 100%;
    min-width: 0;
    margin: 20px 0;
    padding: 0;
}

.sl-definition-item {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--sl-border);
    border-radius: 7px;
    background: var(--sl-soft);
}

.sl-definition-item dt {
    display: block;
    margin: 0 0 7px;
    padding: 0;
    color: #333;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
}

.sl-definition-item dd {
    display: block;
    margin: 0;
    padding: 0;
    color: #555;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.65;
    overflow-wrap: break-word;
}


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

.sl-faq-section {
    margin-top: 38px;
}

.sl-faq-section > h2 {
    margin-bottom: 20px;
}

.sl-faq-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}

.sl-faq-item {
    display: block;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 18px 0;
    border-bottom: 1px solid #e3e7ec;
}

.sl-faq-item:first-child {
    padding-top: 0;
}

.sl-faq-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.sl-article .sl-faq-item h3 {
    margin: 0 0 8px;
    padding: 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.45;
}

.sl-article .sl-faq-item p {
    margin: 0;
    padding: 0;
    color: #444;
    font-size: 15px;
    line-height: 1.75;
}


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

.sl-related-section {
    width: 100%;
    margin-top: 38px;
}

.sl-related-section > h2 {
    margin-bottom: 18px;
}


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

.sl-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 13px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
}


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

.sl-page .sl-related-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    width: 100%;
    min-width: 0;
    min-height: 112px;
    margin: 0;
    padding: 15px;
    border: 1px solid var(--sl-border);
    border-radius: 7px;
    background: #fff;
    color: #333;
    text-decoration: none;
    cursor: pointer;
    transition:
        background-color 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease;
}

.sl-page .sl-related-card:hover {
    border-color: #b7cce7;
    background: #f7faff;
    color: #333;
    text-decoration: none;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.04);
}

.sl-page .sl-related-card:focus-visible {
    border-color: var(--sl-blue);
    outline: 2px solid var(--sl-blue);
    outline-offset: 2px;
}

.sl-page .sl-related-card h3 {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #1155cc;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.45;
    overflow-wrap: break-word;
}

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

.sl-page .sl-related-card p {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    color: #666;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.6;
    overflow-wrap: break-word;
}


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

.sl-page ::selection {
    background: #d5e7ff;
    color: #153e78;
}

.sl-page ::-moz-selection {
    background: #d5e7ff;
    color: #153e78;
}


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

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

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

    .sl-layout {
        gap: 30px;
    }

    .sl-workspace {
        gap: 25px;
    }

    .sl-page .sl-textarea {
        height: 340px;
    }

}


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

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

    .sl-settings {
        padding: 22px 24px;
    }

    .sl-settings-list {
        column-gap: 30px;
        row-gap: 20px;
    }

}


/* =========================================================
   SMALLER DESKTOP SCREENS
   ========================================================= */

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

    .sl-layout {
        gap: 20px;
    }

    .sl-workspace {
        gap: 17px;
    }

    .sl-page .sl-textarea {
        padding: 13px 14px;
    }

    .sl-output-toolbar {
        gap: 7px;
    }

    .sl-page .sl-button {
        padding-right: 11px;
        padding-left: 11px;
    }

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

    .sl-example-grid {
        gap: 11px;
    }

    .sl-example-card {
        padding: 12px;
    }

    .sl-article .sl-example-text {
        padding: 10px;
    }

}


/* =========================================================
   TABLETS AND SMALL DESKTOP SCREENS

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

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

    .sl-page {
        padding-top: 95px;
    }

    .sl-layout {
        display: block;
        max-width: 950px;
    }

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

    .sl-main {
        width: 100%;
    }

    .sl-workspace {
        gap: 20px;
    }

    .sl-page .sl-textarea {
        height: 320px;
        padding: 15px;
    }

    .sl-settings {
        padding: 20px;
    }

    .sl-page .sl-button {
        padding-right: 14px;
        padding-left: 14px;
    }

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

    .sl-page [id] {
        scroll-margin-top: 95px;
    }

}


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

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

    .sl-page {
        padding: 90px 15px 40px;
    }

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

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

    .sl-intro {
        max-width: 100%;
        font-size: 15px;
        line-height: 1.6;
    }

    .sl-workspace {
        gap: 15px;
    }

    .sl-panel-title {
        margin-bottom: 10px;
        font-size: 19px;
    }

    .sl-page .sl-textarea {
        height: 290px;
        padding: 13px;
        font-size: 16px;
    }

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

    .sl-input-toolbar,
    .sl-output-toolbar {
        gap: 7px;
        padding-top: 12px;
    }

    .sl-page .sl-button {
        padding-right: 10px;
        padding-left: 10px;
        font-size: 13px;
    }

    .sl-settings {
        margin-top: 23px;
        padding: 18px;
    }

    .sl-settings-list {
        column-gap: 18px;
        row-gap: 17px;
    }

    .sl-checkbox-description {
        font-size: 12px;
    }

    .sl-statistics {
        gap: 10px;
    }

    .sl-stat-card {
        min-height: 88px;
    }

    .sl-stat-value {
        font-size: 27px;
    }

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

    .sl-tool {
        margin-bottom: 38px;
    }

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

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

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

    .sl-example-card {
        padding: 11px;
    }

    .sl-article .sl-example-card h3 {
        font-size: 14px;
    }

    .sl-article .sl-example-text {
        padding: 10px;
        font-size: 13px;
    }

    .sl-definition-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .sl-definition-item:last-child:nth-child(odd) {
        grid-column: 1 / -1;
    }

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

}


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

   Stack the original and sorted textareas.
   ========================================================= */

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

    .sl-page {
        padding: 85px 13px 35px;
    }

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

    .sl-heading h1 {
        margin-bottom: 10px;
        font-size: 28px;
    }

    .sl-intro {
        font-size: 15px;
        line-height: 1.6;
    }

    .sl-workspace {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }

    .sl-input-panel,
    .sl-output-panel {
        width: 100%;
        min-width: 0;
    }

    .sl-panel-title {
        margin-bottom: 10px;
        font-size: 19px;
    }

    .sl-page .sl-textarea {
        height: 245px;
        min-height: 160px;
        padding: 13px;
        border-radius: 6px;
        font-size: 16px;
        line-height: 1.6;
    }

    .sl-field-help {
        margin-top: 8px;
        font-size: 12px;
        line-height: 1.5;
    }

    .sl-input-toolbar,
    .sl-output-toolbar {
        margin-top: 0;
        padding-top: 12px;
    }

    .sl-page .sl-button {
        min-height: 42px;
        padding: 10px 13px;
        font-size: 14px;
    }

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

    #slCopy {
        min-width: 112px;
    }

    .sl-settings {
        margin-top: 24px;
        padding: 16px;
    }

    .sl-settings-title {
        margin-bottom: 12px;
        font-size: 17px;
    }

    .sl-sort-controls {
        align-items: stretch;
        gap: 10px;
    }

    .sl-select-wrapper {
        flex: 1 1 100%;
        width: 100%;
        max-width: 100%;
    }

    .sl-page .sl-select {
        min-height: 46px;
        padding: 12px 40px 12px 12px;
        font-size: 16px;
    }

    .sl-select-arrow {
        right: 11px;
    }

    .sl-page .sl-shuffle-button {
        min-height: 42px;
    }

    .sl-sort-description {
        margin-top: 9px;
        font-size: 12px;
    }

    .sl-additional-options {
        margin-top: 18px;
        padding-top: 17px;
    }

    .sl-additional-options .sl-settings-title {
        margin-bottom: 17px;
    }

    .sl-settings-list {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 17px;
    }

    .sl-checkbox-label {
        gap: 10px;
    }

    .sl-page .sl-checkbox {
        flex-basis: 18px;
        width: 18px;
        min-width: 18px;
        height: 18px;
        margin-top: 2px;
    }

    .sl-checkbox-title {
        font-size: 14px;
    }

    .sl-checkbox-description {
        font-size: 13px;
        line-height: 1.5;
    }

    .sl-statistics {
        gap: 8px;
        margin-top: 16px;
    }

    .sl-stat-card {
        min-height: 84px;
        gap: 5px;
        padding: 12px 5px;
        border-radius: 6px;
    }

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

    .sl-stat-label {
        font-size: 11px;
        line-height: 1.4;
    }

    .sl-privacy-note {
        justify-content: flex-start;
        gap: 6px;
        margin-top: 15px;
        font-size: 11px;
        line-height: 1.6;
        text-align: left;
    }

    .sl-privacy-note i {
        font-size: 14px;
    }

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

    .sl-article {
        font-size: 15px;
        line-height: 1.75;
    }

    .sl-article-section {
        margin-bottom: 29px;
    }

    .sl-article h2 {
        margin-bottom: 13px;
        font-size: 22px;
        line-height: 1.4;
    }

    .sl-article h3 {
        margin-top: 20px;
        margin-bottom: 9px;
        font-size: 18px;
    }

    .sl-article p {
        margin-bottom: 14px;
        font-size: 15px;
        line-height: 1.75;
    }

    .sl-article ol,
    .sl-article ul {
        margin-top: 12px;
        margin-bottom: 16px;
        padding-left: 22px;
        font-size: 15px;
    }

    .sl-article li {
        margin-bottom: 9px;
        padding-left: 2px;
    }

    .sl-example-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 9px;
        margin: 17px 0;
    }

    .sl-example-grid-three {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .sl-example-card {
        padding: 11px;
    }

    .sl-article .sl-example-card h3 {
        margin-bottom: 9px;
        font-size: 14px;
    }

    .sl-article .sl-example-text {
        padding: 10px;
        font-size: 13px;
        line-height: 1.65;
    }

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

    .sl-page .sl-table {
        min-width: 560px;
        font-size: 13px;
    }

    .sl-table th,
    .sl-table td {
        padding: 11px 12px;
        font-size: 13px;
    }

    .sl-definition-list {
        grid-template-columns: minmax(0, 1fr);
        gap: 9px;
        margin: 17px 0;
    }

    .sl-definition-item {
        padding: 13px 14px;
    }

    .sl-definition-item dt {
        font-size: 15px;
    }

    .sl-definition-item dd {
        font-size: 14px;
    }

    .sl-faq-section {
        margin-top: 30px;
    }

    .sl-faq-section > h2 {
        margin-bottom: 17px;
    }

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

    .sl-article .sl-faq-item h3 {
        margin-bottom: 7px;
        font-size: 17px;
    }

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

    .sl-related-section {
        margin-top: 30px;
    }

    .sl-related-section > h2 {
        margin-bottom: 15px;
    }

    .sl-related-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .sl-page .sl-related-card {
        min-height: 110px;
        gap: 6px;
        padding: 12px;
    }

    .sl-page .sl-related-card h3 {
        font-size: 14px;
    }

    .sl-page .sl-related-card p {
        font-size: 12px;
        line-height: 1.55;
    }

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

}


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

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

    .sl-page {
        padding-right: 11px;
        padding-left: 11px;
    }

    .sl-heading h1 {
        font-size: 27px;
    }

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

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

    .sl-page .sl-textarea {
        height: 230px;
        padding: 12px;
    }

    .sl-workspace {
        gap: 22px;
    }

    .sl-settings {
        padding: 14px;
    }

    .sl-settings-title {
        font-size: 17px;
    }

    .sl-page .sl-button {
        gap: 6px;
        padding-right: 11px;
        padding-left: 11px;
        font-size: 13px;
    }

    .sl-statistics {
        gap: 6px;
    }

    .sl-stat-card {
        min-height: 80px;
        padding: 11px 3px;
    }

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

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

    .sl-article h2 {
        font-size: 21px;
    }

    .sl-article .sl-example-card h3 {
        font-size: 13px;
    }

    .sl-example-card {
        padding: 9px;
    }

    .sl-article .sl-example-text {
        padding: 8px;
        font-size: 12px;
    }

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

    .sl-page .sl-related-card {
        padding: 10px;
    }

    .sl-page .sl-related-card h3 {
        font-size: 13px;
    }

}


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

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

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

    .sl-page .sl-textarea {
        height: 215px;
    }

    .sl-settings {
        padding: 12px;
    }

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

    .sl-page .sl-button {
        padding-right: 9px;
        padding-left: 9px;
        font-size: 12px;
    }

    #slCopy {
        min-width: 100px;
    }

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

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

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

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

    .sl-page .sl-related-card {
        min-height: 0;
        padding: 13px;
    }

    .sl-page .sl-related-card h3 {
        font-size: 14px;
    }

}


/* =========================================================
   TOUCH DEVICE ADJUSTMENTS
   ========================================================= */

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

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

    .sl-checkbox-label {
        min-height: 40px;
    }

    .sl-page .sl-textarea,
    .sl-page .sl-select {
        font-size: 16px;
    }

    .sl-page .sl-textarea:hover {
        border-color: var(--sl-border-dark);
    }

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

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

    .sl-page .sl-related-card:hover {
        border-color: var(--sl-border);
        background: #fff;
        box-shadow: none;
    }

    .sl-page .sl-related-card:hover h3 {
        text-decoration: none;
    }

}


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

@media (forced-colors: active) {

    .sl-page .sl-textarea,
    .sl-page .sl-select,
    .sl-page .sl-button,
    .sl-settings,
    .sl-stat-card,
    .sl-example-card,
    .sl-example-text,
    .sl-definition-item,
    .sl-related-card {
        border: 1px solid CanvasText;
    }

    .sl-page .sl-button-primary {
        background: ButtonFace;
        color: ButtonText;
    }

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

    .sl-page .sl-select {
        padding-right: 12px;
        appearance: auto;
        -webkit-appearance: auto;
    }

    .sl-select-arrow {
        display: none;
    }

    .sl-page a {
        color: LinkText;
    }

}


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

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

    .sl-page *,
    .sl-page *::before,
    .sl-page *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

}


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

@media print {

    body {
        background: #fff;
        color: #000;
    }

    .header,
    .footer,
    .search-form-container,
    .sl-sidebar,
    .sl-input-toolbar,
    .sl-output-toolbar,
    .sl-shuffle-button,
    .sl-privacy-note {
        display: none !important;
    }

    .sl-page {
        width: 100%;
        margin: 0;
        padding: 0;
        background: #fff;
        color: #000;
    }

    .sl-layout {
        display: block;
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 0;
    }

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

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

    .sl-workspace {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 15px;
    }

    .sl-page .sl-textarea {
        height: 300px;
        border: 1px solid #999;
        background: #fff;
        color: #000;
        resize: none;
        box-shadow: none;
    }

    .sl-settings,
    .sl-stat-card,
    .sl-example-card,
    .sl-definition-item,
    .sl-related-card {
        background: #fff !important;
        border-color: #bbb !important;
        box-shadow: none !important;
    }

    .sl-stat-value {
        color: #000 !important;
    }

    .sl-article {
        color: #000;
    }

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

    .sl-example-card,
    .sl-definition-item,
    .sl-faq-item,
    .sl-stat-card,
    .sl-related-card {
        break-inside: avoid;
    }

    .sl-table-wrapper {
        overflow: visible;
        border-color: #bbb;
    }

    .sl-page .sl-table {
        width: 100%;
        min-width: 0;
    }

    .sl-table th,
    .sl-table td {
        border-color: #bbb;
        color: #000;
    }

    .sl-page a {
        color: #000;
        text-decoration: underline;
    }

}


/* =========================================================
   END OF SORT LINES CSS
   ========================================================= */