/*
 * DEEPCHAT Shared Interactive Controls:
 * 1. Notched Floating-Label Input (9/8/7px, anti-border-stab, Filled-Input Active State, Frame-0 Pre-Hydration)
 * 2. Password Visibility Toggle & Input-With-Unit Suffix Integration
 * 3. Native <select> & <input type="date"> Frame-0 Pre-Hydration (overrides WP .wp-core-ui 25rem cap)
 * 4. Borderless 42px Tokenized Badges (--deepchat-badge-height)
 * 5. Scrollbar-Free Tables with Sticky thead th, Mobile Non-Squeezing & Edge Fade Mask
 * 6. Pure-CSS Drag Grip & Composer Typography Buttons
 */

/* ==========================================================================
   1. Notched Floating-Label Input + Filled-Input Active State
   ========================================================================== */

/* Frame-0 Pre-Hydration Base Contract (1:1 with DEEPTASK .dt-input — Zero-CLS before floating-fields.js runs) */
:is(.dc-admin, .dc-ai-chat) .dc-input:not(.dc-input-control),
:is(.dc-admin, .dc-ai-chat) .dc-field > :is(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"]):not(.wp-color-picker):not(.dc-input-control) {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: var(--deepchat-control-height);
    min-height: var(--deepchat-control-height);
    margin: 0;
    padding: 0 14px;
    border: 1px solid var(--deepchat-color-glass-border);
    border-radius: var(--deepchat-radius);
    background: var(--deepchat-color-input-bg);
    background-clip: padding-box;
    color: var(--deepchat-color-text);
    -webkit-text-fill-color: var(--deepchat-color-text);
    box-shadow: none !important;
    box-sizing: border-box;
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 20px;
    outline: none !important;
    transition: var(--deepchat-control-transition);
}

:is(.dc-admin, .dc-ai-chat) input[type="password"].dc-input:not(.dc-input-control),
:is(.dc-admin, .dc-ai-chat) .dc-field > input[type="password"]:not(.dc-input-control) {
    padding-right: 44px;
}

:is(.dc-admin, .dc-ai-chat) .dc-input:not(.dc-input-control):is(:autofill, :-webkit-autofill),
:is(.dc-admin, .dc-ai-chat) .dc-input:not(.dc-input-control):is(:autofill, :-webkit-autofill):is(:hover, :focus) {
    border-color: var(--deepchat-color-primary) !important;
    background-clip: padding-box !important;
    -webkit-box-shadow: inset 0 0 0 100px var(--deepchat-color-input-bg) !important;
    box-shadow: inset 0 0 0 100px var(--deepchat-color-input-bg) !important;
    -webkit-text-fill-color: var(--deepchat-color-text) !important;
    caret-color: var(--deepchat-color-text);
    transition: none;
}

.dc-input-shell {
    position: relative;
    isolation: isolate;
    display: block;
    width: 100%;
    min-width: 0;
    min-height: var(--deepchat-control-height);
    border-radius: var(--deepchat-radius);
    background: var(--deepchat-color-transparent);
    box-sizing: border-box;
}

.dc-input-shell::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;
    border-radius: inherit;
    background: var(--deepchat-color-input-bg);
    pointer-events: none;
    transition: background 220ms cubic-bezier(.15, .83, .66, 1);
}

.dc-input-outline {
    position: absolute;
    z-index: 2;
    inset: -6px 0 0;
    min-width: 0;
    margin: 0;
    padding: 0 8px;
    border: 1px solid var(--deepchat-color-glass-border);
    border-radius: inherit;
    box-shadow: none !important;
    pointer-events: none;
    transition: border-color 220ms cubic-bezier(.15, .83, .66, 1);
    box-sizing: border-box;
}

/* Exact typography parity between <legend> notch and floating label (prevents border stab) */
.dc-input-outline legend {
    display: block;
    float: none;
    width: auto;
    max-width: 0.01px;
    height: 12px;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-floating-label-size);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 12px;
    white-space: nowrap;
    visibility: hidden;
    transition: max-width 150ms cubic-bezier(0, 0, 0.2, 1), padding 150ms cubic-bezier(0, 0, 0.2, 1);
}

.dc-input-outline legend span {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    line-height: inherit;
}

.dc-input-shell:is(.dc-input-raised, .dc-input-filled, :focus-within) .dc-input-outline legend,
.dc-input-shell>.dc-input-control:where(:autofill, :-webkit-autofill, [data-dc-placeholder-state]:not(:placeholder-shown))~.dc-input-outline legend {
    max-width: 100%;
    padding: 0 5px;
}

.dc-input-label {
    position: absolute;
    top: 21px;
    left: 14px;
    max-width: calc(100% - 28px);
    overflow: hidden;
    padding-block: 2px;
    transform: translateY(-50%);
    color: var(--deepchat-color-text-muted);
    background: var(--deepchat-color-transparent);
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    font-weight: 400;
    line-height: 20px;
    white-space: nowrap;
    text-overflow: ellipsis;
    pointer-events: none;
    transition: top 160ms ease, font-size 160ms ease, color 160ms ease;
    z-index: 3;
}

.dc-input-shell:is(.dc-input-raised, .dc-input-filled, :focus-within) .dc-input-label,
.dc-input-shell>.dc-input-control:where(:autofill, :-webkit-autofill, [data-dc-placeholder-state]:not(:placeholder-shown))~.dc-input-label {
    top: 0;
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-floating-label-size);
    font-weight: 400;
    letter-spacing: 0.02em;
    line-height: 12px;
    color: var(--deepchat-color-text);
}

.dc-input-shell .dc-input-control::placeholder {
    color: var(--deepchat-color-transparent) !important;
    -webkit-text-fill-color: var(--deepchat-color-transparent) !important;
    opacity: 0 !important;
}

.dc-input-shell:is(.dc-input-raised, .dc-input-filled, :focus-within) .dc-input-control::placeholder {
    color: var(--deepchat-color-text-soft) !important;
    -webkit-text-fill-color: var(--deepchat-color-text-soft) !important;
    opacity: 1 !important;
}

.dc-input-shell> :is(input, textarea).dc-input-control {
    display: block;
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    height: var(--deepchat-control-height);
    min-height: var(--deepchat-control-height);
    padding: 0 14px;
    border: 0 !important;
    border-radius: inherit;
    background: var(--deepchat-color-transparent) !important;
    background-color: var(--deepchat-color-transparent) !important;
    color: var(--deepchat-color-text) !important;
    -webkit-text-fill-color: var(--deepchat-color-text);
    box-shadow: none !important;
    outline: none !important;
    box-sizing: border-box;
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    font-weight: 400;
    letter-spacing: 0.01em;
    line-height: 20px;
}

.dc-input-shell>textarea.dc-input-control {
    height: auto;
    min-height: 96px;
    padding: 12px 14px;
    line-height: 1.5;
}

.dc-input-shell.dc-input-shell--has-toggle>input.dc-input-control {
    padding-right: 44px;
}

.dc-input-shell.dc-input-shell--has-unit>input.dc-input-control {
    padding-right: 52px;
}

/* Override browser autofill tint while preserving 1px perimeter clearance for .dc-input-outline */
.dc-input-shell>input.dc-input-control:is(:autofill, :-webkit-autofill),
.dc-input-shell>input.dc-input-control:is(:autofill, :-webkit-autofill):is(:hover, :focus, :active),
:is(.dc-admin, .dc-ai-chat) .dc-input-shell>input.dc-input-control:is(:autofill, :-webkit-autofill),
:is(.dc-admin, .dc-ai-chat) .dc-input-shell>input.dc-input-control:is(:autofill, :-webkit-autofill):is(:hover, :focus, :active) {
    border: 1px solid var(--deepchat-color-transparent) !important;
    background-clip: padding-box !important;
    clip-path: inset(1px round calc(var(--deepchat-radius) - 1px));
    -webkit-box-shadow: inset 0 0 0 100px var(--deepchat-color-input-bg) !important;
    box-shadow: inset 0 0 0 100px var(--deepchat-color-input-bg) !important;
    -webkit-text-fill-color: var(--deepchat-color-text) !important;
    caret-color: var(--deepchat-color-text);
    transition: none;
}

.dc-input-shell:has(> textarea) .dc-input-label {
    top: 21px;
}

/* Hover ONLY on empty, unfocused, non-filled, non-autofilled, non-readonly, enabled inputs */
@media (hover: hover) {
    .dc-input-shell:not(.dc-input-filled):not(.dc-input-readonly):not(:focus-within):not(:has(:disabled)):not(:has(:autofill)):not(:has(:-webkit-autofill)):hover .dc-input-outline {
        border-color: var(--deepchat-color-hover-border);
    }

    .dc-input-shell:not(.dc-input-filled):not(.dc-input-readonly):not(:focus-within):not(:has(:disabled)):not(:has(:autofill)):not(:has(:-webkit-autofill)):hover::before {
        background: var(--deepchat-color-hover-bg);
    }
}

/* Focus & Filled-Input Active State: crisp 1px primary orange border, 0 glow, hover locked (applies to ALL filled inputs including readonly) */
.dc-input-shell:is(.dc-input-filled, :focus-within):not(:has(:disabled)) .dc-input-outline,
.dc-input-shell:has(> .dc-input-control:where(:autofill, :-webkit-autofill)):not(:has(:disabled)) .dc-input-outline {
    border-color: var(--deepchat-color-primary);
}

.dc-input-shell:is(.dc-input-filled, :focus-within):not(:has(:disabled))::before,
.dc-input-shell:has(> .dc-input-control:where(:autofill, :-webkit-autofill)):not(:has(:disabled))::before {
    background: var(--deepchat-color-input-bg);
}

/* ==========================================================================
   2. Password Visibility Toggle & Unit Suffix Inside Input Shell
   ========================================================================== */

.dc-password-toggle {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    right: 6px !important;
    margin: auto 0 !important;
    z-index: 4;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    min-width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    transform: none !important;
    border: 0 !important;
    border-radius: var(--deepchat-radius-sm) !important;
    background: var(--deepchat-color-transparent) !important;
    color: var(--deepchat-color-text-muted) !important;
    cursor: pointer;
    box-shadow: none !important;
    outline: none !important;
    transition: color 160ms ease !important;
}

.dc-password-toggle__icon {
    display: block;
    width: 18px;
    height: 18px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-image: url('../assets/img/eye-hidden.svg');
    mask-image: url('../assets/img/eye-hidden.svg');
}

.dc-password-toggle[aria-pressed="true"] .dc-password-toggle__icon {
    -webkit-mask-image: url('../assets/img/eye-visible.svg');
    mask-image: url('../assets/img/eye-visible.svg');
}

@media (hover: hover) {
    .dc-password-toggle:not(:disabled):hover {
        color: var(--deepchat-color-text) !important;
        background: var(--deepchat-color-transparent) !important;
        border: 0 !important;
        box-shadow: none !important;
    }
}

.dc-password-toggle:focus-visible {
    color: var(--deepchat-color-primary) !important;
    background: var(--deepchat-color-transparent) !important;
    outline: 2px solid var(--deepchat-color-focus-ring) !important;
    outline-offset: -2px !important;
}

.dc-input-shell__unit {
    position: absolute;
    top: 50%;
    right: 12px;
    z-index: 2;
    transform: translateY(-50%);
    color: var(--deepchat-color-text-soft);
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    pointer-events: none;
    user-select: none;
}

/* Frame-0 Pre-Hydration for Floating Labels (Zero-CLS & Zero-Flash):
   - Empty inputs start in the DEFAULT resting state (label centered inside at top: 21px, normal font size, native placeholder hidden).
   - Label rises to top: 0 (floating-label-size) ONLY when the control already has data ([value]:not([value=""]), textarea:not(:empty)) or :focus. */
.dc-field:has(> input:not([data-static-label]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="date"]):not([type="color"]):not([type="hidden"]),
    > textarea:not([data-static-label]),
    > .dc-input-with-unit > input:not([data-static-label]):not([type="hidden"]),
    > .dc-combo > input:not([data-static-label]):not([type="hidden"]),
    > .dc-messenger-verify-token-row > input:not([data-static-label]):not([type="hidden"])) {
    position: relative;
}

/* Default resting state at Frame 0 (empty input: label sits inside center of box, zero flash) */
.dc-field:has(> input:not([data-static-label]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="date"]):not([type="color"]):not([type="hidden"]),
    > textarea:not([data-static-label]),
    > .dc-input-with-unit > input:not([data-static-label]):not([type="hidden"]),
    > .dc-combo > input:not([data-static-label]):not([type="hidden"]),
    > .dc-messenger-verify-token-row > input:not([data-static-label]):not([type="hidden"]))>.dc-field__label:not(.dc-label-source) {
    position: absolute;
    top: 21px;
    left: 14px;
    z-index: 2;
    max-width: calc(100% - 28px);
    transform: translateY(-50%);
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    font-weight: 400;
    line-height: 20px;
    color: var(--deepchat-color-text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    pointer-events: none;
    transition: top 160ms ease, font-size 160ms ease, color 160ms ease;
}

/* Hide native placeholder at Frame 0 on unhydrated floating fields so sample placeholders never flash over empty inputs */
.dc-field:has(> .dc-field__label:not(.dc-label-source)) :is(input:not([data-static-label]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="date"]):not([type="color"]):not([type="hidden"]), textarea:not([data-static-label])):not(.dc-input-control)::placeholder,
.dc-chat-inbox__order-field--lookup input:not(.dc-input-control)::placeholder {
    color: var(--deepchat-color-transparent) !important;
    -webkit-text-fill-color: var(--deepchat-color-transparent) !important;
    opacity: 0 !important;
}

/* Raise Frame-0 label ONLY when field already holds data, autofill, or has focus */
.dc-field:has(> input:not([data-static-label]):not([type="file"]):not([type="checkbox"]):not([type="radio"]):not([type="date"]):not([type="color"]):not([type="hidden"]):is([value]:not([value=""]), :focus, :autofill, :-webkit-autofill),
    > textarea:not([data-static-label]):is(:not(:empty), :focus),
    > .dc-input-with-unit > input:not([data-static-label]):not([type="hidden"]):is([value]:not([value=""]), :focus, :autofill, :-webkit-autofill),
    > .dc-combo > input:not([data-static-label]):not([type="hidden"]):is([value]:not([value=""]), :focus, :autofill, :-webkit-autofill),
    > .dc-messenger-verify-token-row > input:not([data-static-label]):not([type="hidden"]):is([value]:not([value=""]), :focus, :autofill, :-webkit-autofill))>.dc-field__label:not(.dc-label-source) {
    top: 0;
    padding-block: 2px;
    font-size: var(--deepchat-floating-label-size);
    letter-spacing: 0.02em;
    line-height: 12px;
    color: var(--deepchat-color-text);
}

.dc-label-source {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
}

/* Frame-0 Pre-Hydration Filled-Input Active border before JS runs (strictly requires non-empty value or browser autofill) */
:is(.dc-admin, .dc-ai-chat) :is(input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="search"], input[type="number"]):is([value]:not([value=""]), :autofill, :-webkit-autofill):not(:disabled):not(.dc-input-control),
:is(.dc-admin, .dc-ai-chat) textarea:not(:empty):not(:disabled):not(.dc-input-control) {
    border-color: var(--deepchat-color-primary) !important;
    box-shadow: none !important;
}

/* ==========================================================================
   3. Native <select> & <input type="date"> Frame-0 Pre-Hydration
   ========================================================================== */

body.wp-core-ui .dc-admin select:not(.dc-select-source),
.dc-admin select:not(.dc-select-source) {
    width: 100%;
    max-width: none !important;
    height: var(--deepchat-control-height);
    min-height: var(--deepchat-control-height);
    padding: 0 34px 0 14px;
    border: 1px solid var(--deepchat-color-glass-border);
    border-radius: var(--deepchat-radius);
    background-color: var(--deepchat-color-glass-background);
    color: var(--deepchat-color-text);
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    line-height: 20px;
    appearance: none;
    -webkit-appearance: none;
    background-image:
        linear-gradient(45deg, var(--deepchat-color-transparent) 50%, currentColor 50%, currentColor calc(50% + 2px), var(--deepchat-color-transparent) calc(50% + 2px)),
        linear-gradient(135deg, var(--deepchat-color-transparent) calc(50% - 2px), currentColor calc(50% - 2px), currentColor 50%, var(--deepchat-color-transparent) 50%);
    background-position: calc(100% - 20px) calc(50% + 1px), calc(100% - 14px) calc(50% + 1px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    box-sizing: border-box;
}

body.wp-core-ui .dc-admin input[type="date"]:not(.dc-date-source),
.dc-admin input[type="date"]:not(.dc-date-source) {
    width: 100%;
    max-width: none !important;
    height: var(--deepchat-control-height);
    min-height: var(--deepchat-control-height);
    padding: 0 14px;
    border: 1px solid var(--deepchat-color-glass-border);
    border-radius: var(--deepchat-radius);
    background-color: var(--deepchat-color-glass-background);
    color: var(--deepchat-color-text);
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    line-height: 20px;
    box-sizing: border-box;
}

/* ==========================================================================
   4. Borderless 42px Tokenized Badges
   ========================================================================== */

.dc-badge,
.dc-admin .dc-badge,
.dc-ai-chat .dc-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    height: var(--deepchat-badge-height);
    min-height: var(--deepchat-badge-height);
    padding: 0 14px;
    border: 0 !important;
    border-radius: var(--deepchat-radius-pill);
    background: var(--deepchat-color-glass-background);
    color: var(--deepchat-color-text-muted);
    font-family: var(--deepchat-font-emphasis);
    font-size: var(--deepchat-font-size);
    font-weight: 400;
    white-space: nowrap;
    box-sizing: border-box;
}

.dc-badge.is-success {
    background: var(--deepchat-color-success-surface);
    color: var(--deepchat-color-success);
}

.dc-badge.is-warning {
    background: var(--deepchat-color-warning-surface);
    color: var(--deepchat-color-warning);
}

.dc-badge.is-danger {
    background: var(--deepchat-color-danger-surface);
    color: var(--deepchat-color-danger);
}

.dc-badge.is-info {
    background: var(--deepchat-color-info-surface);
    color: var(--deepchat-color-info);
}

/* ==========================================================================
   5. Scrollbar-Free Tables with Sticky thead th & Dynamic 3-Edge Fade Mask
      (Aligned 1-to-1 with DEEPTASK & DeepTest Ref 04 Section 5)
   ========================================================================== */

.dc-table-wrap {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    max-height: clamp(280px, 55dvh, 520px);
    overflow: auto;
    overscroll-behavior: contain;
    border: 1px solid var(--deepchat-color-border);
    border-radius: var(--deepchat-radius);
    background: var(--deepchat-color-panel);
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-overflow-scrolling: touch;
    -webkit-mask-image:
        linear-gradient(to bottom, var(--deepchat-color-black) 0, var(--deepchat-color-black) calc(100% - var(--dc-fade-bottom, 0px)), var(--deepchat-color-transparent) 100%),
        linear-gradient(to right, var(--deepchat-color-transparent) 0, var(--deepchat-color-black) var(--dc-fade-left, 0px), var(--deepchat-color-black) calc(100% - var(--dc-fade-right, 0px)), var(--deepchat-color-transparent) 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to bottom, var(--deepchat-color-black) 0, var(--deepchat-color-black) calc(100% - var(--dc-fade-bottom, 0px)), var(--deepchat-color-transparent) 100%),
        linear-gradient(to right, var(--deepchat-color-transparent) 0, var(--deepchat-color-black) var(--dc-fade-left, 0px), var(--deepchat-color-black) calc(100% - var(--dc-fade-right, 0px)), var(--deepchat-color-transparent) 100%);
    mask-composite: intersect;
}

.dc-table-wrap::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.dc-table-wrap table,
.dc-table-wrap .dc-table-modern {
    width: max-content;
    min-width: 100%;
    margin: 0;
    border-collapse: collapse;
    border: 0;
    background: var(--deepchat-color-transparent);
    color: var(--deepchat-color-text);
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    font-weight: 400;
}

.dc-table-wrap thead th,
.dc-table-wrap .dc-table-modern thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 12px 14px;
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    background: var(--deepchat-color-inset);
    color: var(--deepchat-color-text-soft);
    border: 0;
    box-shadow: inset 0 -1px 0 var(--deepchat-color-border);
    font-family: var(--deepchat-font-emphasis);
    font-size: var(--deepchat-font-size);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dc-table-wrap tbody tr,
.dc-table-wrap .dc-table-modern tbody tr {
    background: var(--deepchat-color-panel);
    color: var(--deepchat-color-text);
}

@media (hover: hover) {

    .dc-table-wrap tbody tr:not(.dc-ai-empty-row):hover,
    .dc-table-wrap .dc-table-modern tbody tr:not(.dc-ai-empty-row):hover {
        background: var(--deepchat-color-glass-background);
    }
}

.dc-table-wrap tbody td,
.dc-table-wrap .dc-table-modern tbody td {
    padding: 12px 14px;
    background: var(--deepchat-color-transparent);
    color: var(--deepchat-color-text);
    border: 0;
    border-bottom: 1px solid var(--deepchat-color-border);
    text-align: left;
    vertical-align: middle;
    white-space: nowrap;
    font-family: var(--deepchat-font-regular);
    font-size: var(--deepchat-font-size);
    font-weight: 400;
}

.dc-table-wrap tbody tr:last-child td,
.dc-table-wrap .dc-table-modern tbody tr:last-child td {
    border-bottom: 0;
}

.dc-table-wrap tbody tr.dc-ai-empty-row td {
    padding: 28px 16px;
    text-align: center;
    white-space: normal;
    color: var(--deepchat-color-text-soft);
}

/* ==========================================================================
   6. Pure-CSS Drag Grip & Composer Typography Buttons
   ========================================================================== */

.dc-drag-grip {
    display: inline-block;
    width: 16px;
    height: 14px;
    vertical-align: middle;
    background: repeating-linear-gradient(to bottom,
            currentColor 0 2px,
            var(--deepchat-color-transparent) 2px 6px);
    opacity: 0.72;
}

.dc-composer-icon {
    display: inline-block;
    flex: 0 0 auto;
    width: 20px;
    height: 20px;
    background-color: currentColor;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    -webkit-mask-size: contain;
    mask-size: contain;
    pointer-events: none;
}

.dc-composer-icon--attach {
    -webkit-mask-image: url('../assets/img/attach-image.svg');
    mask-image: url('../assets/img/attach-image.svg');
}

.dc-composer-icon--send {
    -webkit-mask-image: url('../assets/img/send-message.svg');
    mask-image: url('../assets/img/send-message.svg');
}