/* Botão de suporte no topo e central de Chamados. */
.report-widget {
    position: relative;
    z-index: 45;
}
.report-widget__button {
    border: 1px solid var(--line);
    border-radius: 12px;
    width: 36px;
    height: 36px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text);
    background: var(--surface);
    box-shadow: 0 8px 18px rgba(31, 16, 48, .055);
    cursor: pointer;
}
.report-widget__button:hover,
.report-widget__button:focus-visible {
    border-color: rgba(108, 43, 217, .28);
    box-shadow: 0 0 0 4px rgba(108, 43, 217, .08);
}
.report-widget__icon svg { width: 18px; height: 18px; display: block; }
.report-panel {
    position: fixed;
    top: var(--report-panel-top, 72px);
    right: var(--report-panel-right, 16px);
    z-index: 2500;
    width: min(390px, calc(100vw - 28px));
    max-height: var(--report-panel-max-height, min(620px, calc(100dvh - 96px)));
    overflow: auto;
    overscroll-behavior: contain;
    background: rgba(255, 255, 255, .99);
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 28px 70px rgba(23, 12, 42, .22);
    isolation: isolate;
}
.report-panel[hidden] { display: none; }
.report-panel__header {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    align-items: flex-start;
    padding: 18px 18px 14px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(135deg, rgba(244,116,36,.08), rgba(108,43,217,.08));
}
.report-panel__header strong { display: block; font-size: 1rem; }
.report-panel__header small { display: block; color: var(--muted); margin-top: 4px; }
.report-panel__close {
    width: 34px;
    height: 34px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
}
.report-panel__form { display: grid; gap: 12px; padding: 16px 18px 18px; }
.report-panel__messages { display: grid; gap: 10px; }
.report-bubble {
    padding: 11px 13px;
    border-radius: 16px;
    font-size: .9rem;
    line-height: 1.4;
}
.report-bubble--system { background: var(--surface-soft); color: var(--muted); }
.report-panel__type select,
.report-panel__message textarea { width: 100%; }
.report-panel__upload {
    border: 1px dashed rgba(108,43,217,.32);
    background: rgba(108,43,217,.04);
    border-radius: 16px;
    padding: 12px;
    color: var(--primary);
    font-weight: 500;
    display: grid;
    gap: 6px;
    cursor: pointer;
}
.report-panel__upload input { width: 100%; color: var(--muted); }
.report-panel__file-list { color: var(--muted); line-height: 1.35; }
.report-panel__submit { width: 100%; }
.system-report-list { display: grid; gap: 16px; }
.system-report-card {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 18px;
    box-shadow: 0 20px 46px rgba(31, 16, 48, .06);
}
.system-report-card__header {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 12px;
}
.system-report-card h2 { font-size: 1.05rem; margin-top: 6px; }
.system-report-type {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 500;
    color: var(--primary);
    background: rgba(108,43,217,.08);
}
.system-report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: var(--muted);
    font-size: .86rem;
    margin-bottom: 12px;
}
.system-report-message {
    border: 1px solid var(--line);
    background: var(--surface-soft);
    border-radius: 16px;
    padding: 14px;
    line-height: 1.5;
    white-space: normal;
}
.system-report-page { color: var(--muted); font-size: .9rem; word-break: normal; }
.system-report-status-form { display: inline-flex; align-items: center; gap: 8px; }
.system-report-status-form .system-report-status-select {
    min-width: 174px;
    min-height: 42px;
    padding: 0 42px 0 14px;
    border: 1px solid #ded3eb;
    border-radius: 12px;
    appearance: none;
    -webkit-appearance: none;
    color: #2b1d36;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D28D9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 17px 17px;
    box-shadow: 0 6px 16px rgba(76, 29, 149, .055);
    font: inherit;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.system-report-status-form .system-report-status-select:hover {
    border-color: rgba(109, 40, 217, .42);
    background-color: #fdfbff;
}
.system-report-status-form .system-report-status-select:focus,
.system-report-status-form .system-report-status-select:focus-visible {
    outline: none;
    border-color: #6d28d9;
    box-shadow: 0 0 0 4px rgba(109, 40, 217, .10);
}
.system-report-status-form .system-report-status-select:disabled {
    cursor: not-allowed;
    opacity: .62;
}
.system-report-attachments { display: grid; gap: 10px; margin-top: 14px; }
.system-report-attachment-list { display: flex; flex-wrap: wrap; gap: 8px; }
.system-report-attachment {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid var(--line);
    border-radius: 12px;
    padding: 8px 10px;
    background: #fff;
    font-size: .88rem;
}
.system-report-attachment svg { width: 18px; height: 18px; color: var(--primary); }
.filter-inline { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 720px) {
    .report-widget__button { width: 36px; height: 36px; }
    .system-report-card__header { display: grid; }
    .system-report-status-form { width: 100%; display: grid; grid-template-columns: 1fr auto; }
    .system-report-status-form .system-report-status-select { min-width: 0; width: 100%; }
}


@media (max-width: 1280px) and (min-width: 901px) {
    body.has-kanban-page .app-shell {
        grid-template-columns: 190px minmax(0, 1fr);
        background: linear-gradient(90deg, #20142f 0 190px, transparent 190px);
    }
    body.has-kanban-page .sidebar { padding: 16px 10px; }
    body.has-kanban-page .brand small { display: none; }
    body.has-kanban-page .side-nav a { font-size: .86rem; padding: 8px 9px; }
    .opportunity-kanban-page .kanban-board,
    .opportunity-kanban-page .kanban-board[data-kanban-board] { gap: 8px; }
    .opportunity-kanban-page .kanban-column-header h2 { font-size: .8rem; }
    .opportunity-kanban-page .kanban-column-header small { font-size: .68rem; }
    .opportunity-kanban-page .kanban-card--compact h3 { font-size: .72rem; }
    .opportunity-kanban-page .kanban-card--compact p { font-size: .66rem; }
}




.report-panel__actions{display:grid;grid-template-columns:1fr 1fr;gap:10px}.report-panel__actions .button{width:100%}
.ticket-list{display:grid;gap:16px}.ticket-card{background:#fff;border:1px solid #e7dcf7;border-radius:18px;padding:18px;box-shadow:0 12px 34px rgba(76,29,149,.08)}.ticket-card__header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.ticket-card__protocol{display:block;color:#6d28d9;font-size:.76rem;font-weight:700;letter-spacing:.05em}.ticket-card__header h2{margin:5px 0 0;font-size:1.05rem}.ticket-card__timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:16px 0}.ticket-card__timeline span{padding:8px;border-radius:999px;background:#f3eff8;color:#776d82;text-align:center;font-size:.78rem}.ticket-card__timeline span.is-complete{background:#ede3ff;color:#4c1d95;font-weight:700}.ticket-card__message{white-space:normal;line-height:1.55}.ticket-card__meta{display:flex;flex-wrap:wrap;gap:8px 18px;color:#776d82;font-size:.82rem}.ticket-card__attachments{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.ticket-card__attachments strong{width:100%}.ticket-card__attachments a{padding:8px 10px;border:1px solid #e2d5f4;border-radius:10px}.tickets-heading{align-items:center}
@media(max-width:820px){.report-panel__actions{grid-template-columns:1fr}.ticket-card{padding:15px}.ticket-card__header{align-items:flex-start}.ticket-card__timeline{grid-template-columns:1fr}.ticket-card__meta{display:grid}.tickets-heading{align-items:flex-end}}

/* v82 — central de chamados mais clara e acompanhamento visual. */
.tickets-page-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 18px;
}
.tickets-page-heading__eyebrow {
    display: inline-block;
    margin-bottom: 7px;
    color: #6d28d9;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.tickets-page-heading h1 { margin: 0; font-size: clamp(1.7rem, 3vw, 2.25rem); color: #22192f; }
.tickets-page-heading p { max-width: 720px; margin: 7px 0 0; color: #6f6478; line-height: 1.5; }
.tickets-page-heading__actions { display: flex; gap: 10px; flex-shrink: 0; }
.tickets-page-heading__actions .button { min-height: 44px; }
.tickets-summary {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-bottom: 16px;
}
.tickets-summary__card {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding: 14px 16px;
    border: 1px solid #e5daf3;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 25px rgba(49, 24, 76, .05);
}
.tickets-summary__icon {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 700;
    background: #f4effa;
    color: #6d28d9;
}
.tickets-summary__card--aberto .tickets-summary__icon { background: #fff4e8; color: #d45b0b; }
.tickets-summary__card--em_analise .tickets-summary__icon { background: #ecf4ff; color: #2563a7; }
.tickets-summary__card--corrigido .tickets-summary__icon { background: #e9f8ef; color: #128046; }
.tickets-summary__card--arquivado .tickets-summary__icon { background: #f2f0f4; color: #736b79; }
.tickets-summary__card strong { display: block; color: #24152f; font-size: 1.25rem; line-height: 1; }
.tickets-summary__card span:last-child { display: block; margin-top: 4px; color: #766d7d; font-size: .8rem; }
.tickets-filters {
    grid-template-columns: minmax(220px, 1.5fr) minmax(150px, .6fr) minmax(150px, .6fr) minmax(160px, .7fr) auto;
    margin-bottom: 18px;
    border: 1px solid #e3d8f1;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 30px rgba(49, 24, 76, .05);
}
.ticket-list { display: grid; gap: 16px; }
.ticket-card {
    overflow: hidden;
    padding: 0;
    border: 1px solid #e4d9f2;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(49, 24, 76, .07);
}
.ticket-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    border-bottom: 1px solid #eee6f5;
    background: linear-gradient(135deg, #fff 0%, #faf7fd 100%);
}
.ticket-card__identity { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ticket-card__icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    color: #5c25b7;
    background: #f0e8fb;
}
.ticket-card__icon svg { width: 21px; height: 21px; }
.ticket-card__protocol { display: block; color: #6d28d9; font-size: .73rem; font-weight: 700; letter-spacing: .07em; }
.ticket-card__header h2 { margin: 3px 0 0; color: #24152f; font-size: 1rem; }
.ticket-card__progress {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 18px 22px 14px;
    border-bottom: 1px solid #f0e9f6;
}
.ticket-card__progress::before {
    content: '';
    position: absolute;
    top: 35px;
    left: calc(16.666% + 11px);
    right: calc(16.666% + 11px);
    height: 2px;
    background: #e5dced;
}
.ticket-card__progress-step {
    position: relative;
    z-index: 1;
    display: grid;
    justify-items: center;
    gap: 7px;
    color: #8a8190;
    font-size: .76rem;
    text-align: center;
}
.ticket-card__progress-dot {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #ded4e8;
    border-radius: 50%;
    background: #fff;
    font-weight: 700;
}
.ticket-card__progress-step.is-complete { color: #4c1d95; font-weight: 700; }
.ticket-card__progress-step.is-complete .ticket-card__progress-dot { border-color: #8051d2; color: #fff; background: #6d28d9; }
.ticket-card__progress-step.is-current .ticket-card__progress-dot { box-shadow: 0 0 0 5px rgba(109, 40, 217, .1); }
.ticket-card__body {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(260px, .7fr);
    gap: 22px;
    padding: 18px;
}
.ticket-card__content { min-width: 0; }
.ticket-card__section-label {
    display: block;
    margin-bottom: 7px;
    color: #756b7c;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.ticket-card__message {
    margin: 0;
    padding: 14px 15px;
    color: #2c2033;
    line-height: 1.58;
    white-space: normal;
    border: 1px solid #eee6f5;
    border-radius: 14px;
    background: #fcfbfd;
}
.ticket-card__details { display: grid; gap: 10px; }
.ticket-card__details > div {
    display: grid;
    gap: 3px;
    padding-bottom: 9px;
    border-bottom: 1px solid #f0eaf4;
}
.ticket-card__details > div:last-child { padding-bottom: 0; border-bottom: 0; }
.ticket-card__details span { color: #827889; font-size: .75rem; }
.ticket-card__details strong,
.ticket-card__details a { color: #302338; font-size: .84rem; font-weight: 700; word-break: normal; }
.ticket-card__details a { color: #5e24b8; }
.ticket-card__attachments {
    display: grid;
    gap: 9px;
    padding: 14px 18px 18px;
    border-top: 1px solid #f0e9f6;
}
.ticket-card__attachments > strong { color: #4e4355; font-size: .8rem; }
.ticket-card__attachments > div { display: flex; flex-wrap: wrap; gap: 8px; }
.ticket-card__attachments a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    max-width: 100%;
    padding: 8px 10px;
    border: 1px solid #ded1ee;
    border-radius: 10px;
    color: #5a25a8;
    background: #fff;
}
.ticket-card__attachments a span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.tickets-empty-state {
    display: grid;
    justify-items: center;
    gap: 10px;
    padding: 46px 24px;
    border: 1px solid #e5d9f2;
    border-radius: 20px;
    background: #fff;
    text-align: center;
}
.tickets-empty-state__icon {
    width: 58px;
    height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    color: #6d28d9;
    background: #f1eaff;
}
.tickets-empty-state__icon svg { width: 29px; height: 29px; }
.tickets-empty-state h2 { margin: 3px 0 0; color: #24152f; }
.tickets-empty-state p { max-width: 520px; margin: 0 0 4px; color: #786f7e; }
.report-panel-backdrop { cursor: default; }
.report-panel.is-submitting { pointer-events: none; opacity: .86; }
@media (max-width: 1000px) {
    .tickets-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .tickets-filters { grid-template-columns: 1fr 1fr; }
    .tickets-filters__search { grid-column: 1 / -1; }
    .ticket-card__body { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
    .tickets-page-heading { align-items: stretch; display: grid; }
    .tickets-page-heading__actions { justify-content: flex-end; }
    .tickets-page-heading__actions .button span { display: none; }
    .tickets-page-heading__actions .button { width: 46px; min-width: 46px; padding: 0; }
    .tickets-summary { gap: 9px; }
    .tickets-summary__card { padding: 12px; }
    .tickets-filters { grid-template-columns: 1fr; }
    .tickets-filters__search { grid-column: auto; }
    .ticket-card__header { align-items: flex-start; padding: 14px; }
    .ticket-card__progress { padding-inline: 10px; }
    .ticket-card__progress-step { font-size: .69rem; }
    .ticket-card__body { padding: 14px; gap: 15px; }
    .ticket-card__attachments { padding: 13px 14px 15px; }
}
@media (max-width: 480px) {
    .tickets-summary { grid-template-columns: 1fr 1fr; }
    .tickets-summary__icon { width: 34px; height: 34px; flex-basis: 34px; }
    .ticket-card__identity { gap: 9px; }
    .ticket-card__icon { width: 38px; height: 38px; flex-basis: 38px; }
    .ticket-card__progress::before { left: calc(16.666% + 8px); right: calc(16.666% + 8px); }
}

/* v130 — resposta do suporte aos chamados com indicação de conclusão. */
.system-report-response-form {
    display: grid;
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}
.system-report-response-form__heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
}
.system-report-response-form__heading > div { display: grid; gap: 3px; }
.system-report-response-form__heading strong { color: var(--text); }
.system-report-response-form__heading small { color: var(--muted); line-height: 1.35; }
.system-report-response-form__updated { text-align: right; }
.system-report-response-form__message textarea {
    width: 100%;
    min-height: 112px;
    resize: vertical;
}
.system-report-response-form__actions {
    display: grid;
    grid-template-columns: minmax(180px, 260px) auto;
    align-items: end;
    justify-content: space-between;
    gap: 12px;
}
.system-report-response-form__actions .button { min-height: 44px; }
.system-report-response-form__actions--single {
    grid-template-columns: auto;
    justify-content: end;
}
.ticket-card__support-response {
    display: grid;
    gap: 9px;
    margin: 0 18px 18px;
    padding: 15px;
    border: 1px solid #dfd2ef;
    border-radius: 14px;
    background: #faf7fd;
}
.ticket-card__support-response-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.ticket-card__support-response-heading .ticket-card__section-label { margin: 0; }
.ticket-card__conclusion {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 4px 9px;
    border-radius: 999px;
    font-size: .74rem;
    font-weight: 700;
    white-space: nowrap;
}
.ticket-card__conclusion.is-complete { color: #116c3e; background: #e6f7ee; }
.ticket-card__conclusion.is-pending { color: #9a4d0c; background: #fff1e5; }
.ticket-card__support-response-message {
    margin: 0;
    color: #2c2033;
    line-height: 1.58;
    white-space: normal;
}
.ticket-card__support-response-date { color: #7d7384; }
@media (max-width: 720px) {
    .system-report-response-form__heading { display: grid; }
    .system-report-response-form__updated { text-align: left; }
    .system-report-response-form__actions { grid-template-columns: 1fr; }
    .system-report-response-form__actions .button { width: 100%; }
    .ticket-card__support-response { margin: 0 14px 15px; }
    .ticket-card__support-response-heading { align-items: flex-start; }
}


/* v136 — imagem opcional na resposta do suporte e preview protegido. */
.system-report-response-form__image {
    display: grid;
    gap: 7px;
}
.system-report-response-form__image > span {
    color: var(--text);
    font-weight: 700;
}
.system-report-response-form__image input[type="file"] {
    width: 100%;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--line, #dfd5e8);
    border-radius: 12px;
    background: #fff;
}
.system-report-response-form__image small { color: var(--muted); }
.system-report-support-image-button,
.ticket-card__support-image {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    max-width: 100%;
    min-height: 48px;
    padding: 7px 11px 7px 7px;
    border: 1px solid #ded1ee;
    border-radius: 12px;
    color: #5a25a8;
    background: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.system-report-support-image-button:hover,
.ticket-card__support-image:hover { border-color: #bca3dd; background: #fbf8ff; }
.system-report-support-image-button:focus-visible,
.ticket-card__support-image:focus-visible,
.support-image-preview__close:focus-visible {
    outline: 3px solid rgba(109, 40, 217, .2);
    outline-offset: 2px;
}
.system-report-support-image-button img,
.ticket-card__support-image img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 9px;
    background: #f4eff9;
}
body.support-image-preview-open { overflow: hidden !important; }
.support-image-preview {
    position: fixed;
    inset: 0;
    z-index: 1600;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
}
.support-image-preview[hidden] { display: none !important; }
.support-image-preview__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(20, 12, 29, .78);
    backdrop-filter: blur(3px);
}
.support-image-preview__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(1100px, 100%);
    height: min(88dvh, 900px);
    overflow: hidden;
    border-radius: 18px;
    background: #17111d;
    box-shadow: 0 24px 70px rgba(0, 0, 0, .38);
}
.support-image-preview__image {
    display: block;
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
}
.support-image-preview__close {
    position: absolute;
    top: max(10px, env(safe-area-inset-top));
    right: max(10px, env(safe-area-inset-right));
    z-index: 3;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    color: #fff;
    background: rgba(20, 12, 29, .72);
    cursor: pointer;
}
.support-image-preview__close svg {
    width: 21px;
    height: 21px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
}
@media (max-width: 720px) {
    .support-image-preview { padding: 0; }
    .support-image-preview__dialog {
        width: 100%;
        height: 100dvh;
        border-radius: 0;
    }
    .system-report-support-image-button,
    .ticket-card__support-image { width: 100%; }
}

/* v147 — filtro de status da central de chamados.
 * Mantém este select nativo e compacto para evitar conflito visual com o
 * componente global de selects pesquisáveis.
 */
.system-support-admin-heading .filter-inline {
    flex: 0 0 auto;
    min-width: 220px;
}
.system-ticket-status-filter {
    width: 220px;
    min-width: 220px;
    min-height: 44px;
    height: 44px;
    box-sizing: border-box;
    padding: 0 42px 0 14px;
    border: 1px solid #ded3eb;
    border-radius: 12px;
    appearance: none;
    -webkit-appearance: none;
    color: #2b1d36;
    background-color: #fff;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236D28D9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m7 10 5 5 5-5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 17px 17px;
    box-shadow: 0 6px 16px rgba(76, 29, 149, .055);
    font: inherit;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.system-ticket-status-filter:hover {
    border-color: rgba(109, 40, 217, .42);
    background-color: #fdfbff;
}
.system-ticket-status-filter:focus,
.system-ticket-status-filter:focus-visible {
    outline: none;
    border-color: #6d28d9;
    box-shadow: 0 0 0 4px rgba(109, 40, 217, .10);
}

/* v146 — Suporte/Chamados: nomenclatura única e leitura por prioridade. */
.system-support-admin-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
}
.system-support-admin-heading__eyebrow {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: .76rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}
.system-support-admin-heading__copy h1 {
    margin: 0;
    font-size: 1.55rem;
}
.system-ticket-admin-card {
    padding: 0;
    overflow: clip;
    transition: border-color .18s ease, box-shadow .18s ease, background-color .18s ease;
}
.system-ticket-admin-card > summary {
    list-style: none;
}
.system-ticket-admin-card > summary::-webkit-details-marker { display: none; }
.system-ticket-admin-card__summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px;
    cursor: pointer;
    user-select: none;
}
.system-ticket-admin-card__summary:focus-visible {
    outline: 3px solid rgba(109, 40, 217, .18);
    outline-offset: -3px;
}
.system-ticket-admin-card__identity { min-width: 0; }
.system-ticket-admin-card__labels {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
}
.system-ticket-admin-card__title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 8px 12px;
    margin-top: 7px;
}
.system-ticket-admin-card__title-row h2 { margin: 0; }
.system-ticket-admin-card__title-row > span {
    color: var(--text);
    font-weight: 700;
}
.system-ticket-admin-card__identity > small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
}
.system-ticket-admin-card__toggle {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    flex: 0 0 auto;
    color: var(--primary);
    font-size: .84rem;
    font-weight: 700;
}
.system-ticket-admin-card__toggle svg {
    width: 18px;
    height: 18px;
    transition: transform .18s ease;
}
.system-ticket-admin-card__toggle-open { display: none; }
.system-ticket-admin-card[open] .system-ticket-admin-card__toggle-closed { display: none; }
.system-ticket-admin-card[open] .system-ticket-admin-card__toggle-open { display: inline; }
.system-ticket-admin-card[open] .system-ticket-admin-card__toggle svg { transform: rotate(180deg); }
.system-ticket-admin-card__content {
    padding: 0 18px 18px;
    border-top: 1px solid var(--line);
}
.system-ticket-admin-card__status-row {
    align-items: center;
    margin: 0 -18px 14px;
    padding: 14px 18px;
    background: var(--surface-soft);
}
.system-ticket-admin-card__status-copy {
    display: grid;
    gap: 3px;
}
.system-ticket-admin-card__status-copy small { color: var(--muted); }
.system-ticket-admin-card--attention {
    border-color: rgba(249, 115, 22, .42);
    border-left: 4px solid #f97316;
    box-shadow: 0 16px 38px rgba(249, 115, 22, .10);
}
.system-ticket-admin-card--attention > .system-ticket-admin-card__summary {
    background: linear-gradient(90deg, rgba(249, 115, 22, .075), rgba(255,255,255,0) 62%);
}
.system-ticket-admin-card__attention-label {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 4px 9px;
    border-radius: 999px;
    background: #fff1e7;
    color: #b94606;
    font-size: .72rem;
    font-weight: 700;
}
.system-ticket-admin-card--corrigido {
    border-color: rgba(22, 163, 74, .20);
    box-shadow: none;
}
.system-ticket-admin-card--corrigido:not([open]) > .system-ticket-admin-card__summary {
    background: rgba(22, 163, 74, .035);
}
.system-ticket-admin-card--em_analise { border-left: 4px solid #6d28d9; }

@media (max-width: 720px) {
    .system-support-admin-heading { align-items: stretch; flex-direction: column; }
    .system-support-admin-heading .filter-inline { min-width: 0; width: 100%; }
    .system-support-admin-heading .system-ticket-status-filter {
        width: 100%;
        min-width: 0;
        height: 48px;
        min-height: 48px;
        font-size: 16px;
    }
    .system-ticket-admin-card__summary { align-items: flex-start; padding: 14px; }
    .system-ticket-admin-card__toggle { font-size: 0; }
    .system-ticket-admin-card__toggle svg { width: 20px; height: 20px; }
    .system-ticket-admin-card__content { padding: 0 14px 14px; }
    .system-ticket-admin-card__status-row { margin: 0 -14px 14px; padding: 13px 14px; }
    .system-ticket-admin-card__status-row { display: grid; }
}

/* v216 — anexos livres nos chamados: texto auxiliar sem pesar no seletor de arquivo. */
.report-panel__upload > small {
    color: var(--muted);
    font-size: .78rem;
    font-weight: 500;
    line-height: 1.35;
}

/* v217 — anexos por colagem (Ctrl+V) na abertura e resposta dos chamados. */
.clipboard-attachment-feedback {
    display: block;
    min-height: 0;
    margin-top: 2px;
    color: var(--muted);
    font-size: .82rem;
    line-height: 1.4;
    overflow-wrap: normal;
}
.clipboard-attachment-feedback:empty { display: none; }
.clipboard-attachment-feedback.is-active { color: #5a25a8; }
.clipboard-attachment-feedback.is-error { color: #b42318; }

/* v2192 — lista de anexos selecionados antes do envio no Suporte. */
.clipboard-selected-files {
    display: grid;
    gap: 8px;
    margin-top: 4px;
}
.clipboard-selected-files[hidden] { display: none; }
.clipboard-selected-file {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    min-width: 0;
    padding: 9px 10px;
    border: 1px solid var(--line, #dfd5e8);
    border-radius: 10px;
    background: #fff;
}
.clipboard-selected-file__info {
    display: grid;
    gap: 2px;
    min-width: 0;
}
.clipboard-selected-file__name {
    min-width: 0;
    color: var(--text, #2c2033);
    font-size: var(--mp-font-sm, .875rem);
    font-weight: 700;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.clipboard-selected-file__size {
    color: var(--muted, #7d7384);
    font-size: .76rem;
}
.clipboard-selected-file__remove {
    flex: 0 0 auto;
    min-height: 36px;
    padding: 6px 10px;
    border: 1px solid #e2c8cf;
    border-radius: 9px;
    background: #fff;
    color: #a33148;
    font: inherit;
    font-size: .78rem;
    font-weight: 700;
    cursor: pointer;
}
.clipboard-selected-file__remove:hover { background: #fff7f8; border-color: #d7aab5; }
.clipboard-selected-file__remove:focus-visible {
    outline: 3px solid rgba(163, 49, 72, .16);
    outline-offset: 2px;
}
@media (max-width: 480px) {
    .clipboard-selected-file { align-items: flex-start; }
    .clipboard-selected-file__remove { min-height: 40px; }
}
