/* Fale Conosco (helpdesk/novo): chat + modal de chamado.
   Tudo sob .sc-fale; valores equivalentes ao layout aprovado (tema escuro). */

.sc-fale {
    --background: oklch(0.205 0.003 260);
    --foreground: oklch(0.97 0.002 260);
    --surface: oklch(0.245 0.004 260);
    --card: oklch(0.225 0.003 260);
    --popover: oklch(0.225 0.003 260);
    --primary: oklch(0.61 0.235 21);
    --primary-foreground: oklch(0.99 0.002 260);
    --secondary: oklch(0.29 0.004 260);
    --secondary-foreground: oklch(0.97 0.002 260);
    --muted-foreground: oklch(0.7 0.006 260);
    --accent: oklch(0.32 0.004 260);
    --accent-foreground: oklch(0.97 0.002 260);
    --border: oklch(0.35 0.004 260);
    --input: oklch(0.39 0.004 260);
    --ring: oklch(0.61 0.235 21);
    --success: oklch(0.72 0.17 153);
    --radius: 0.5rem;
    --shadow-sm: 0 1px 3px 0 #0000001a, 0 1px 2px -1px #0000001a;
    --shadow-lg: 0 10px 15px -3px #0000001a, 0 4px 6px -4px #0000001a;
    --shadow-featured: 0 0 0 1px color-mix(in oklab, var(--primary) 30%, transparent), 0 26px 60px -22px color-mix(in oklab, var(--primary) 38%, transparent);
    --font-display: "Barlow Condensed", sans-serif;
    --font-sans: "Manrope", sans-serif;

    background-color: var(--background);
    color: var(--foreground);
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
}

/* Resets de baixa especificidade (:where) para não anular as classes abaixo;
   a fonte é herdada para vencer o "*:not(select)" global do site. */
.sc-fale *,
.sc-fale *::before,
.sc-fale *::after {
    box-sizing: border-box;
    font-family: inherit;
    letter-spacing: inherit;
}

:where(.sc-fale) h1,
:where(.sc-fale) h2,
:where(.sc-fale) p,
:where(.sc-fale) ol,
:where(.sc-fale) ul,
:where(.sc-fale) label {
    margin: 0;
    padding: 0;
}

:where(.sc-fale) ol,
:where(.sc-fale) ul {
    list-style: none;
}

:where(.sc-fale) img,
:where(.sc-fale) svg {
    display: block;
    vertical-align: middle;
}

:where(.sc-fale) img {
    max-width: 100%;
}

:where(.sc-fale) button,
:where(.sc-fale) input,
:where(.sc-fale) select,
:where(.sc-fale) textarea {
    font: inherit;
    color: inherit;
    margin: 0;
    background-color: transparent;
    border-radius: 0;
    border: 0 solid;
    text-transform: none;
}

:where(.sc-fale) button {
    cursor: pointer;
}

:where(.sc-fale) *:focus {
    outline: none;
}

:where(.sc-fale) strong {
    font-weight: 600;
}

:where(.sc-fale) a {
    color: inherit;
}

.sc-fale .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* —— Página —— */
.sc-fale__main {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 48rem;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.sc-fale__title {
    text-align: center;
    font-family: var(--font-display);
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: uppercase;
    color: var(--foreground);
}

.sc-fale__notice {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem;
    border: 1px solid color-mix(in oklab, var(--primary) 30%, transparent);
    border-radius: var(--radius);
    background-color: color-mix(in oklab, var(--primary) 6%, transparent);
    font-size: 0.875rem;
    line-height: 1.5rem;
    font-weight: 600;
}

.sc-fale__notice svg {
    flex-shrink: 0;
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0.125rem;
    color: var(--primary);
}

@media (min-width: 40rem) {
    .sc-fale__main {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .sc-fale__title {
        font-size: 3rem;
        line-height: 1;
    }
}

/* —— Botões (variantes do layout) —— */
.sc-fale .sc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    height: 2.25rem;
    padding: 0.5rem 1rem;
    border-radius: calc(var(--radius) - 2px);
    font-size: 0.875rem;
    line-height: calc(1.25 / 0.875);
    font-weight: 500;
    white-space: nowrap;
    text-decoration: none;
    transition: color .15s cubic-bezier(.4, 0, .2, 1), background-color .15s cubic-bezier(.4, 0, .2, 1), border-color .15s cubic-bezier(.4, 0, .2, 1);
}

.sc-fale .sc-btn svg {
    pointer-events: none;
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

.sc-fale .sc-btn:focus {
    outline: none;
}

.sc-fale .sc-btn:focus-visible {
    box-shadow: 0 0 0 1px var(--ring);
}

.sc-fale .sc-btn:disabled {
    pointer-events: none;
    opacity: .5;
    cursor: not-allowed;
}

.sc-fale .sc-btn--primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
    box-shadow: var(--shadow-sm);
}

.sc-fale .sc-btn--primary:hover {
    background-color: color-mix(in oklab, var(--primary) 90%, transparent);
    color: var(--primary-foreground);
}

.sc-fale .sc-btn--outline {
    border: 1px solid var(--input);
    background-color: var(--background);
    box-shadow: var(--shadow-sm);
}

.sc-fale .sc-btn--outline:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.sc-fale .sc-btn--outline-primary {
    border-color: color-mix(in oklab, var(--primary) 60%, transparent);
    color: var(--primary);
}

.sc-fale .sc-btn--outline-primary:hover {
    background-color: color-mix(in oklab, var(--primary) 10%, transparent);
    color: var(--primary);
}

.sc-fale .sc-btn--secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
    box-shadow: var(--shadow-sm);
}

.sc-fale .sc-btn--secondary:hover {
    background-color: color-mix(in oklab, var(--secondary) 80%, transparent);
}

.sc-fale .sc-btn--ghost:hover {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.sc-fale .sc-btn--display {
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0;
}

.sc-fale .sc-btn--display-base {
    font-size: 1rem;
    line-height: 1.5;
}

.sc-fale .sc-btn--h11 {
    height: 2.75rem;
}

/* —— Chat —— */
.sc-chat {
    margin-top: 1.5rem;
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: color-mix(in oklab, var(--surface) 40%, transparent);
}

.sc-chat__head {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border);
    background-color: var(--card);
}

.sc-chat__head-info {
    min-width: 0;
}

.sc-chat__name {
    font-family: var(--font-display);
    font-size: 1.125rem;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
}

.sc-chat__status {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    line-height: calc(1 / .75);
    color: var(--muted-foreground);
}

.sc-chat__status-typing {
    font-weight: 600;
    color: var(--primary);
}

.sc-chat__live {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.375rem;
}

.sc-chat__pulse {
    position: relative;
    display: grid;
    place-items: center;
    width: 0.625rem;
    height: 0.625rem;
}

.sc-chat__pulse > span {
    border-radius: 9999px;
    background-color: var(--primary);
}

.sc-chat__pulse > span:first-child {
    position: absolute;
    inset: 0;
}

.sc-chat__pulse > span:last-child {
    position: relative;
    width: 0.5rem;
    height: 0.5rem;
}

.sc-chat__live-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--primary);
}

@keyframes sc-eq { 0%, 100% { transform: scaleY(.25); } 50% { transform: scaleY(1); } }
.sc-eq { display: flex; align-items: flex-end; gap: 3px; height: 0.875rem; }
.sc-eq > span { display: inline-block; width: 3px; height: 14px; border-radius: 2px; background: var(--primary); transform-origin: bottom; animation: sc-eq 1.1s ease-in-out infinite; box-shadow: 0 0 6px var(--primary); }
@keyframes sc-pulse { 0% { transform: scale(.6); opacity: .8; } 100% { transform: scale(2.4); opacity: 0; } }
.sc-pulse { animation: sc-pulse 1.8s ease-out infinite; }

.sc-avatar {
    position: relative;
    flex-shrink: 0;
}

.sc-avatar img {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 9999px;
    object-fit: cover;
    box-shadow: 0 0 0 2px var(--border);
}

.sc-avatar--lg img {
    width: 2.75rem;
    height: 2.75rem;
}

.sc-avatar--xl img {
    width: 4rem;
    height: 4rem;
}

.sc-avatar__online {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: var(--success);
    box-shadow: 0 0 0 2px var(--card);
}

.sc-avatar-spacer {
    flex-shrink: 0;
    width: 2.25rem;
}

.sc-chat__log {
    height: 50vh;
    min-height: 20rem;
    overflow-y: auto;
    padding: 0.75rem;
    background-color: var(--background);
    background-image:
        radial-gradient(color-mix(in oklab, var(--primary) 14%, transparent) 1px, transparent 1px),
        radial-gradient(color-mix(in oklab, var(--foreground) 6%, transparent) 1px, transparent 1px);
    background-size: 22px 22px, 22px 22px;
    background-position: 0 0, 11px 11px;
}

.sc-chat__log > :not(:last-child) {
    margin-bottom: 0.5rem;
}

@media (min-width: 40rem) {
    .sc-chat__log {
        padding: 1rem;
    }
}

.sc-chat__empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
}

.sc-chat__empty-title {
    margin-top: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.25rem;
    line-height: calc(1.75 / 1.25);
    font-weight: 700;
    text-transform: uppercase;
}

.sc-chat__empty-sub {
    margin-top: 0.25rem;
    font-size: 0.875rem;
    line-height: calc(1.25 / .875);
    color: var(--muted-foreground);
}

/* Linha do usuário */
.sc-row-user {
    display: flex;
    justify-content: flex-end;
}

.sc-fale .ai-chat-user {
    position: relative;
    max-width: 85%;
    padding: 0.5rem 0.875rem 0.375rem;
    border-radius: var(--radius);
    border-top-right-radius: 0;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.875rem;
    line-height: calc(1.25 / .875);
    box-shadow: var(--shadow-sm);
    word-break: break-word;
}

.sc-fale .ai-chat-user a {
    color: inherit;
    text-decoration: underline;
}

.sc-tail-user {
    position: absolute;
    top: 0;
    right: -0.5rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 0 10px;
    border-color: transparent transparent transparent var(--primary);
}

.sc-msg-text {
    padding-right: 0.25rem;
    white-space: pre-line;
}

.sc-msg-meta {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.25rem;
    margin-top: 0.125rem;
    font-size: 10px;
    opacity: .8;
}

.sc-msg-meta svg {
    width: 0.875rem;
    height: 0.875rem;
}

/* Linha da atendente */
.sc-row-bot {
    display: flex;
    gap: 0.625rem;
}

.sc-fale .ai-chat-assistant {
    position: relative;
    max-width: 85%;
    padding: 0.75rem 1rem 0.375rem;
    border-radius: var(--radius);
    background-color: var(--card);
    color: var(--muted-foreground);
    font-size: 0.875rem;
    line-height: 1.5rem;
    box-shadow: var(--shadow-sm);
    word-break: break-word;
}

.sc-fale .ai-chat-assistant.sc-first {
    border-top-left-radius: 0;
}

.sc-tail-bot {
    position: absolute;
    top: 0;
    left: -0.5rem;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 10px 0 0;
    border-color: transparent var(--card) transparent transparent;
}

.sc-blocks > :not(:last-child) {
    margin-bottom: 0.625rem;
}

.sc-blocks strong {
    font-weight: 600;
    color: var(--foreground);
}

.sc-blocks a {
    color: var(--primary);
    text-decoration: underline;
}

.sc-steps > :not(:last-child) {
    margin-bottom: 0.5rem;
}

.sc-steps li {
    display: flex;
    gap: 0.625rem;
}

.sc-steps__num {
    display: grid;
    place-items: center;
    flex-shrink: 0;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background-color: var(--primary);
    color: var(--primary-foreground);
    font-family: var(--font-display);
    font-size: 0.75rem;
    line-height: calc(1 / .75);
    font-weight: 700;
}

.sc-steps__text {
    padding-top: 0.125rem;
}

.sc-bullets {
    padding-left: 1.25rem;
    list-style: disc;
}

.sc-bullets > :not(:last-child) {
    margin-bottom: 0.25rem;
}

.sc-alert {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem;
    border: 1px solid color-mix(in oklab, var(--primary) 40%, transparent);
    border-radius: calc(var(--radius) - 2px);
    background-color: color-mix(in oklab, var(--primary) 8%, transparent);
}

.sc-alert svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
    margin-top: 0.125rem;
    color: var(--primary);
}

.sc-msg-ticket {
    margin-top: 0.75rem;
}

.sc-msg-time {
    margin-top: 0.25rem;
    text-align: right;
    font-size: 10px;
    color: color-mix(in oklab, var(--muted-foreground) 80%, transparent);
}

/* Digitando */
.sc-typing {
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.sc-typing__bubble {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--card);
}

@keyframes sc-bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(.8, 0, 1, 1); }
    50% { transform: none; animation-timing-function: cubic-bezier(0, 0, .2, 1); }
}

.sc-typing__dot {
    width: 0.375rem;
    height: 0.375rem;
    border-radius: 9999px;
    background-color: var(--muted-foreground);
    animation: sc-bounce 1s infinite;
}

.sc-typing__label {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    line-height: calc(1 / .75);
    color: var(--muted-foreground);
}

/* Campo de envio */
.sc-composer {
    position: sticky;
    bottom: 0;
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0 0;
    padding: 0.5rem 0;
    background-color: var(--background);
}

.sc-fale .sc-composer__input {
    flex: 1 1 0%;
    min-width: 0;
    height: 3rem;
    padding: 0 1rem;
    border: 1px solid var(--input);
    border-radius: 9999px;
    background-color: var(--card);
    color: var(--foreground);
    font-size: 0.875rem;
    line-height: calc(1.25 / .875);
    outline: none;
}

.sc-fale .sc-composer__input::placeholder {
    font-weight: 600;
    color: var(--muted-foreground);
    opacity: 1;
}

.sc-fale .sc-composer__input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px color-mix(in oklab, var(--ring) 30%, transparent);
}

.sc-fale .sc-composer__send {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    padding: 0;
    border-radius: 9999px;
    box-shadow: var(--shadow-featured);
}

.sc-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.sc-actions__confirm {
    display: flex;
    gap: 0.5rem;
}

.sc-actions__confirm .sc-btn {
    flex: 1 1 0%;
}

/* —— Modal (Dialog) —— */
.sc-dialog {
    position: fixed;
    inset: 0;
    z-index: 1050;
}

.sc-dialog[hidden] {
    display: none;
}

.sc-dialog__overlay {
    position: fixed;
    inset: 0;
    background-color: #000c;
    animation: sc-fade-in .2s;
}

.sc-dialog__content {
    position: fixed;
    top: 50%;
    left: 50%;
    display: grid;
    gap: 1rem;
    width: 100%;
    max-width: 32rem;
    max-height: 90vh;
    overflow-y: auto;
    padding: 1.5rem;
    border: 1px solid var(--border);
    background-color: var(--background);
    box-shadow: var(--shadow-lg);
    transform: translate(-50%, -50%);
    animation: sc-zoom-in .2s;
}

@keyframes sc-fade-in { from { opacity: 0; } }
@keyframes sc-zoom-in { from { opacity: 0; transform: translate(-50%, -50%) scale(.95); } }

@media (min-width: 40rem) {
    .sc-dialog__content {
        max-width: 42rem;
        border-radius: var(--radius);
    }
}

.sc-dialog__close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    border-radius: calc(var(--radius) - 4px);
    background-color: var(--accent);
    color: var(--muted-foreground);
    opacity: .7;
    transition: opacity .15s;
}

.sc-dialog__close:hover {
    opacity: 1;
}

.sc-dialog__close:focus {
    outline: none;
    box-shadow: 0 0 0 2px var(--background), 0 0 0 4px var(--ring);
}

.sc-dialog__close svg {
    width: 1rem;
    height: 1rem;
}

/* Sem chat: formulário direto na página, com o mesmo corpo do modal. */
.sc-ticket-inline {
    display: grid;
    gap: 1rem;
    margin-top: 1.5rem;
    padding: 1.5rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background-color: var(--background);
}

.sc-dialog__header {
    display: flex;
    flex-direction: column;
    text-align: center;
}

.sc-dialog__header > :not(:last-child) {
    margin-bottom: 0.375rem;
}

@media (min-width: 40rem) {
    .sc-dialog__header {
        text-align: left;
    }
}

.sc-dialog__title {
    font-family: var(--font-display);
    font-size: 1.875rem;
    line-height: calc(2.25 / 1.875);
    font-weight: 600;
    letter-spacing: -.025em;
    text-transform: uppercase;
    color: var(--foreground);
}

.sc-dialog__desc {
    font-size: 0.875rem;
    line-height: calc(1.25 / .875);
    color: var(--muted-foreground);
}

/* —— Formulário do chamado —— */
.sc-form {
    display: grid;
    gap: 1rem;
}

.sc-form__grid {
    display: grid;
    gap: 1rem;
}

@media (min-width: 40rem) {
    .sc-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.sc-field {
    display: grid;
    gap: 0.375rem;
    min-width: 0;
}

.sc-field__label {
    margin: 0;
    font-family: var(--font-display);
    font-size: 0.875rem;
    line-height: 1;
    font-weight: 600;
    letter-spacing: .025em;
    text-transform: uppercase;
    color: var(--foreground);
}

.sc-field__error {
    font-size: 0.75rem;
    line-height: calc(1 / .75);
    color: var(--primary);
}

.sc-field__icon {
    position: relative;
}

.sc-field__icon > svg {
    position: absolute;
    top: 50%;
    left: 0.75rem;
    width: 1rem;
    height: 1rem;
    color: var(--primary);
    pointer-events: none;
    transform: translateY(-50%);
}

.sc-fale #novo-ticket-content .sc-form input[type="text"],
.sc-fale #novo-ticket-content .sc-form input[type="email"],
.sc-fale #novo-ticket-content .sc-form input[type="tel"],
.sc-fale #novo-ticket-content .sc-form select,
.sc-fale #novo-ticket-content .sc-form textarea {
    display: flex;
    width: 100%;
    height: 2.25rem;
    padding: 0.25rem 0.75rem;
    border: 1px solid var(--input);
    border-radius: calc(var(--radius) - 2px);
    background-color: transparent;
    color: var(--foreground);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: normal;
    text-transform: none;
    box-shadow: var(--shadow-sm);
    transition: color .15s, background-color .15s, border-color .15s, box-shadow .15s;
}

.sc-fale #novo-ticket-content .sc-form .sc-field__icon input {
    padding-left: 2.25rem;
}

.sc-fale #novo-ticket-content .sc-form textarea {
    height: auto;
    min-height: 60px;
    padding: 0.5rem 0.75rem;
    resize: vertical;
}

.sc-fale #novo-ticket-content .sc-form select {
    padding: 0.5rem 2.25rem 0.5rem 0.75rem;
    font-size: 0.875rem;
    line-height: calc(1.25 / .875);
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23f5f6f7' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' opacity='.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}

.sc-fale #novo-ticket-content .sc-form select.sc-placeholder {
    color: var(--muted-foreground);
}

.sc-fale #novo-ticket-content .sc-form select option {
    background-color: var(--popover);
    color: var(--foreground);
}

.sc-fale #novo-ticket-content .sc-form input::placeholder,
.sc-fale #novo-ticket-content .sc-form textarea::placeholder {
    color: var(--muted-foreground);
    opacity: 1;
    font-size: inherit;
    font-weight: 400;
    line-height: normal;
    letter-spacing: normal;
    text-transform: none;
}

.sc-fale #novo-ticket-content .sc-form input:focus-visible,
.sc-fale #novo-ticket-content .sc-form textarea:focus-visible {
    box-shadow: 0 0 0 1px var(--ring);
}

.sc-fale #novo-ticket-content .sc-form select:focus {
    box-shadow: 0 0 0 1px var(--ring);
}

@media (min-width: 48rem) {
    .sc-fale #novo-ticket-content .sc-form input[type="text"],
    .sc-fale #novo-ticket-content .sc-form input[type="email"],
    .sc-fale #novo-ticket-content .sc-form input[type="tel"],
    .sc-fale #novo-ticket-content .sc-form textarea {
        font-size: 0.875rem;
        line-height: calc(1.25 / .875);
    }
}

.sc-attach {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    padding: 0.75rem;
    border: 1px dashed var(--input);
    border-radius: var(--radius);
    font-size: 0.875rem;
    line-height: calc(1.25 / .875);
    color: var(--muted-foreground);
    cursor: pointer;
}

.sc-attach:hover {
    border-color: var(--primary);
}

.sc-attach svg {
    flex-shrink: 0;
    width: 1rem;
    height: 1rem;
}

.sc-attach span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sc-anexos:empty {
    display: none;
}

.sc-anexos {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

.sc-anexos small {
    font-size: inherit;
}

.sc-anexos .co-dark-gray {
    color: var(--muted-foreground) !important;
}

.sc-anexos a {
    color: var(--primary);
}

.sc-form .form_error {
    display: none;
}

/* Sucesso / ticket redundante */
.sc-success {
    padding: 1.5rem 0;
    text-align: center;
}

.sc-success__icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto;
    color: var(--success);
}

.sc-success .sc-dialog__title {
    margin-top: 1rem;
}

.sc-success .sc-dialog__desc {
    margin-top: 0.5rem;
}

.sc-success .sc-dialog__title a {
    color: inherit;
    text-decoration: underline;
}

.sc-success .sc-btn {
    margin-top: 1.5rem;
}

.sc-redundante {
    display: grid;
    gap: 1rem;
    font-size: 0.875rem;
    line-height: 1.5rem;
    color: var(--muted-foreground);
}

.sc-redundante strong {
    color: var(--foreground);
}

.sc-redundante__acoes {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
    .sc-fale *,
    .sc-fale *::before,
    .sc-fale *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }

    .sc-eq > span,
    .sc-pulse {
        animation: none;
    }
}

.sc-fale [hidden] {
    display: none !important;
}

.sc-fale .sc-btn--block {
    width: 100%;
}

/* Sem modal não há o que fechar. */
.sc-ticket-inline [data-fechar-chamado] {
    display: none;
}
