.help-ticket {
    width: 100%;
}

.help-ticket-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 22px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.04);
}

.help-ticket-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.help-ticket-hp {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.help-ticket-alert {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.88rem;
}

.help-ticket-alert--ok {
    background: #ecfdf5;
    color: #047857;
    border: 1px solid #a7f3d0;
}

.help-ticket-alert--err {
    background: #fef2f2;
    color: #b91c1c;
    border: 1px solid #fecaca;
}

.help-ticket-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.help-ticket-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 650;
}

.help-ticket-field b {
    color: #b91c1c;
}

.help-ticket-field--full {
    grid-column: 1 / -1;
}

.help-ticket-hint {
    margin: 0;
    font-size: 0.84rem;
    font-weight: 500;
    color: #64748b;
}

.help-ticket-field input,
.help-ticket-field select,
.help-ticket-field textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    color: #0f172a;
    font-size: 0.92rem;
    font-family: inherit;
    padding: 10px 12px;
}

.help-ticket-field textarea {
    min-height: 140px;
    resize: vertical;
}

.help-ticket-field input[type="file"] {
    padding: 8px;
    background: #fff;
}

.help-ticket-field small {
    font-weight: 500;
    color: #94a3b8;
}

.help-ticket-field input:focus,
.help-ticket-field select:focus,
.help-ticket-field textarea:focus {
    outline: none;
    border-color: #94a3b8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.help-ticket-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}

.help-ticket-submit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: 40px;
    padding: 0 16px;
    border: 0;
    border-radius: 999px;
    background: #0a1f4d;
    color: #fff!important;
    font-size: 0.88rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.help-ticket-submit:hover,
.help-ticket-submit:focus {
    background: #061433;
    outline: none;
}

.help-ticket-back {
    color: #475569;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
}

.help-ticket-back:hover {
    color: #0a1f4d;
}

.help-ticket-admin-note {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 360px;
    color: #475569;
    font-size: 0.82rem;
    line-height: 1.4;
    white-space: pre-wrap;
}

.help-ticket-status {
    display: inline-flex;
    height: 26px;
    padding: 0 10px;
    border: 0;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.help-ticket-status[data-status="new"] { background: #fef3c7; color: #92400e; }
.help-ticket-status[data-status="open"] { background: #dbeafe; color: #1d4ed8; }
.help-ticket-status[data-status="done"] { background: #d1fae5; color: #047857; }

.help-ticket-detail td {
    background: #f8fafc;
}

.help-ticket-detail__msg {
    margin: 0 0 10px;
    white-space: pre-wrap;
    color: #334155;
    font-size: 0.88rem;
    line-height: 1.45;
}

.help-ticket-thread {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 12px 0;
}

.help-ticket-bubble {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #e2e8f0;
}

.help-ticket-bubble header {
    display: flex;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.78rem;
    color: #64748b;
}

.help-ticket-bubble p {
    margin: 6px 0 0;
    white-space: pre-wrap;
    color: #0f172a;
    font-size: 0.86rem;
}

.help-ticket-reply {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 640px;
}

.help-ticket-reply label {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 650;
    color: #334155;
}

.help-ticket-reply textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #fff;
}

/* Talep no: tek satır, küçük ve sütuna sığan rozet */
.help-admin-table--tickets .help-ticket-no-cell {
    width: 1%;
    white-space: nowrap;
}
.help-ticket-open {
    display: inline-flex;
    align-items: center;
    height: 26px;
    padding: 0 9px;
    border: 0;
    border-radius: 7px;
    background: #0a1f4d;
    color: #fff;
    font-size: 0.66rem;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    letter-spacing: 0.01em;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
    cursor: pointer;
}

/* Sekmeler: Açık talepler · Çözülenler */
.help-ticket-tabs {
    display: flex;
    gap: 6px;
    margin: 0 0 14px;
    padding: 4px;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    background: #f8fafc;
    width: max-content;
    max-width: 100%;
}
.help-ticket-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border: 0;
    border-radius: 9px;
    background: transparent;
    color: #475569;
    font: inherit;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s, color .15s;
}
.help-ticket-tab i { font-size: 0.8rem; opacity: .8; }
.help-ticket-tab:hover { background: #eef2f7; color: #0f172a; }
.help-ticket-tab.is-active {
    background: #0a1f4d;
    color: #fff;
    box-shadow: 0 4px 12px rgba(10, 31, 77, 0.18);
}
.help-ticket-tab__count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: #e2e8f0;
    color: #334155;
    font-size: 0.72rem;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
}
.help-ticket-tab.is-active .help-ticket-tab__count {
    background: rgba(255, 255, 255, 0.18);
    color: #fff;
}
.help-ticket-tab[data-tab="done"].is-active { background: #15803d; box-shadow: 0 4px 12px rgba(21, 128, 61, 0.2); }
.help-ticket-tab-empty[hidden],
.help-admin-table-wrap[hidden],
tr.help-ticket-row[hidden] { display: none !important; }

/* Çözülenler sekmesinde satırlar sakin görünür */
.help-admin-table-wrap[data-active-tab="done"] .help-ticket-row td { color: #475569; }
.help-admin-table-wrap[data-active-tab="done"] .help-ticket-open { background: #15803d; }

@media (max-width: 640px) {
    .help-ticket-tabs { width: 100%; }
    .help-ticket-tab { flex: 1 1 auto; justify-content: center; padding: 8px 10px; font-size: 0.8rem; }
}

.help-ticket-open:hover,
.help-ticket-open:focus {
    background: #061433;
    outline: none;
}

.help-ticket-name {
    border: 0;
    padding: 0;
    background: none;
    color: #0f172a;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    text-align: left;
}

.help-ticket-name:hover,
.help-ticket-name:focus {
    color: #1d4ed8;
    outline: none;
}

.help-ticket-reply-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px;
    margin-right: 6px;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.help-ticket-reply-btn:hover,
.help-ticket-reply-btn:focus {
    background: #dbeafe;
    outline: none;
}

.help-ticket-students-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 11px;
    margin-right: 6px;
    border: 1px solid #c7d2fe;
    border-radius: 999px;
    background: #eef2ff;
    color: #4338ca;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
}

.help-ticket-students-btn:hover,
.help-ticket-students-btn:focus {
    background: #e0e7ff;
    outline: none;
}

/* ---- Veli → öğrenci bağları modalı ---- */
.help-stu-card {
    width: min(860px, 100%);
    padding: 0;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 32px);
}

.help-stu-card .help-admin-modal-head {
    padding: 18px 20px 14px;
    border-bottom: 1px solid #e2e8f0;
    align-items: flex-start;
}

.help-stu-card .help-admin-modal-head h2 {
    margin: 2px 0 0;
    font-size: 1.15rem;
    line-height: 1.3;
}

.help-stu-sub {
    margin: 4px 0 0;
    font-size: 0.8rem;
    color: #64748b;
}

.help-stu-block {
    padding: 16px 20px;
}

.help-stu-block + .help-stu-block {
    border-top: 1px solid #e2e8f0;
}

.help-stu-block--add {
    background: #f8fafc;
    border-radius: 0 0 12px 12px;
}

.help-stu-block__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.help-stu-block__head h3 {
    margin: 0;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #475569;
    display: inline-flex;
    align-items: center;
    gap: 7px;
}

.help-stu-block__head h3 i {
    color: #6366f1;
}

.help-stu-count {
    min-width: 26px;
    height: 22px;
    padding: 0 8px;
    border-radius: 999px;
    background: #e0e7ff;
    color: #4338ca;
    font-size: 0.75rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.help-stu-count:empty {
    display: none;
}

.help-stu-hint {
    margin: -4px 0 12px;
    font-size: 0.78rem;
    color: #64748b;
}

.help-stu-list,
.help-stu-results {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
}

.help-stu-list {
    max-height: 300px;
    overflow: auto;
}

.help-stu-results {
    max-height: 260px;
    overflow: auto;
    margin-top: 10px;
}

.help-stu-item,
.help-stu-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #fff;
}

.help-stu-item.is-locked {
    background: #f8fafc;
    opacity: 0.85;
}

.help-stu-result.is-already {
    opacity: 0.7;
}

.help-stu-avatar {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 700;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.help-stu-body {
    flex: 1 1 auto;
    min-width: 0;
}

.help-stu-name-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    flex-wrap: wrap;
}

.help-stu-name {
    font-size: 0.92rem;
    color: #0f172a;
}

.help-stu-no {
    font-size: 0.74rem;
    color: #94a3b8;
    font-variant-numeric: tabular-nums;
}

.help-stu-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 5px;
}

.help-stu-chip {
    display: inline-flex;
    align-items: center;
    height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.7rem;
    font-weight: 600;
}

.help-stu-chip--school {
    background: #eff6ff;
    color: #1d4ed8;
}

.help-stu-chip--rel {
    background: #fdf2f8;
    color: #be185d;
}

.help-stu-chip--legal {
    background: #ecfdf5;
    color: #047857;
}

.help-stu-act {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.help-stu-detach,
.help-stu-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 30px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid transparent;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
}

.help-stu-detach {
    border-color: #fecaca;
    background: #fef2f2;
    color: #b91c1c;
}

.help-stu-detach:hover,
.help-stu-detach:focus {
    background: #fee2e2;
    outline: none;
}

.help-stu-link {
    border-color: #a7f3d0;
    background: #ecfdf5;
    color: #047857;
}

.help-stu-link:hover,
.help-stu-link:focus {
    background: #d1fae5;
    outline: none;
}

.help-stu-detach:disabled,
.help-stu-link:disabled {
    opacity: 0.5;
    cursor: default;
}

.help-stu-locked {
    font-size: 0.72rem;
    color: #94a3b8;
    font-weight: 600;
    white-space: nowrap;
}

.help-stu-note {
    padding: 14px 12px;
    border: 1px dashed #e2e8f0;
    border-radius: 10px;
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    background: #fff;
}

.help-stu-note--error {
    border-color: #fecaca;
    color: #b91c1c;
    background: #fef2f2;
}

.help-stu-add {
    display: flex;
    gap: 10px;
    align-items: flex-end;
}

.help-stu-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    min-width: 0;
}

.help-stu-field--grow {
    flex: 1 1 auto;
}

.help-stu-field input,
.help-stu-field select {
    height: 38px;
    padding: 0 12px;
    border: 1px solid #cbd5e1;
    border-radius: 9px;
    background: #fff;
    font-size: 0.88rem;
    font-family: inherit;
    color: #0f172a;
}

.help-stu-field select {
    min-width: 180px;
}

.help-stu-field input:focus,
.help-stu-field select:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.help-stu-modal.is-busy .help-stu-card {
    pointer-events: none;
    opacity: 0.85;
}

@media (max-width: 640px) {
    .help-stu-add {
        flex-direction: column;
        align-items: stretch;
    }

    .help-stu-field select {
        min-width: 0;
    }

    .help-stu-item,
    .help-stu-result {
        flex-wrap: wrap;
    }

    .help-stu-act {
        width: 100%;
        justify-content: flex-end;
    }

    .help-stu-block {
        padding: 14px 14px;
    }

    .help-stu-card .help-admin-modal-head {
        padding: 14px 14px 12px;
    }
}

body.help-ticket-dialog-open {
    overflow: hidden;
}

.help-ticket-dialog {
    align-items: stretch;
    justify-content: flex-end;
    padding: 0;
    background: rgba(6, 20, 51, 0.48);
}

.help-ticket-dialog__card {
    display: flex;
    flex-direction: column;
    width: min(720px, 100%);
    max-height: 100vh;
    margin-left: auto;
    background: #fff;
    box-shadow: -24px 0 48px -28px rgba(15, 23, 42, 0.55);
}

.help-ticket-dialog__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    padding: 18px 20px 16px;
    background: linear-gradient(90deg, #061433 0%, #0a2458 60%, #0c2d6b 100%);
    color: #fff;
}

.help-ticket-dialog__kicker {
    margin: 0 0 4px;
    color: #93c5fd;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.help-ticket-dialog__head h2 {
    margin: 0;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 750;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.help-ticket-dialog__head-side {
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-ticket-dialog__head .help-admin-modal-close {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.help-ticket-dialog__head .help-admin-modal-close:hover,
.help-ticket-dialog__head .help-admin-modal-close:focus {
    background: #fff;
    color: #0a1f4d;
}

.help-ticket-dialog__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 14px 20px;
    list-style: none;
    background: #f8fafc;
    border-bottom: 1px solid #eef2f7;
}

.help-ticket-dialog__meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
}

.help-ticket-dialog__meta i {
    font-size: 0.72rem;
    color: #64748b;
}

.help-ticket-dialog__body {
    flex: 1 1 auto;
    overflow: auto;
    padding: 16px 20px 8px;
}

.help-ticket-dialog__block + .help-ticket-dialog__block {
    margin-top: 16px;
}

.help-ticket-dialog__msg {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    color: #1e293b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.help-ticket-dialog__file {
    margin: 10px 0 0;
}

.help-ticket-dialog__file a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1d4ed8;
    font-size: 0.82rem;
    font-weight: 650;
    text-decoration: none;
}

.help-ticket-dialog__composer {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 14px 20px 18px;
    border-top: 1px solid #eef2f7;
    background: #fff;
}

.help-ticket-dialog__composer label {
    color: #334155;
    font-size: 0.8rem;
    font-weight: 650;
}

.help-ticket-dialog__composer textarea {
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 10px 12px;
    font: inherit;
    background: #f8fafc;
    resize: vertical;
}

.help-ticket-dialog__composer textarea:focus {
    outline: none;
    border-color: #94a3b8;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(15, 23, 42, 0.06);
}

.help-ticket-dialog__composer .help-ticket-submit {
    align-self: flex-start;
}

.help-ticket-dialog__composer .tox-tinymce {
    width: 100%;
    border-radius: 10px;
    border-color: #e2e8f0;
}

.help-ticket-dialog__attach {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    color: #334155;
    font-size: 0.8rem;
    font-weight: 650;
}

.help-ticket-dialog__attach input[type="file"] {
    width: 100%;
    padding: 8px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font: inherit;
}

.help-ticket-dialog__attach small {
    font-weight: 500;
    color: #94a3b8;
}

.help-ticket-bubble__body {
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-ticket-bubble__body p {
    margin: 0 0 0.55em;
}

.help-ticket-bubble__body p:last-child {
    margin-bottom: 0;
}

.help-ticket-bubble__body ul,
.help-ticket-bubble__body ol {
    margin: 0 0 0.55em;
    padding-left: 1.2em;
}

.help-ticket-bubble__body a {
    color: #1d4ed8;
}

.tox-tinymce-aux {
    z-index: 2000 !important;
}

.help-mine-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin: 0;
}

.help-mine-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 48px 24px;
    text-align: center;
    background: #fff;
    border: 1px dashed #cbd5e1;
    border-radius: 16px;
}

.help-mine-empty__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin-bottom: 14px;
    border-radius: 16px;
    background: #eff6ff;
    color: #1d4ed8;
    font-size: 1.25rem;
}

.help-mine-empty p {
    margin: 0 0 18px;
    max-width: 28rem;
    color: #475569;
    font-size: 0.95rem;
}

.help-mine-empty .help-ticket-submit {
    text-decoration: none;
}

.help-mine-card {
    position: relative;
    padding: 0 0 0 4px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 14px 36px -22px rgba(15, 23, 42, 0.4);
}

.help-mine-card::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #d97706;
}

.help-mine-card[data-status="open"]::before {
    background: #2563eb;
}

.help-mine-card[data-status="done"]::before {
    background: #059669;
}

.help-mine-card[data-status="new"] {
    border-color: #f3d9a4;
}

.help-mine-card[data-status="open"] {
    border-color: #bfdbfe;
}

.help-mine-card[data-status="done"] {
    border-color: #bbf7d0;
}

.help-mine-card__head {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 16px 18px 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 88%);
    border-bottom: 1px solid #eef2f7;
}

.help-mine-card__id {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.help-mine-no {
    display: inline-flex;
    align-items: center;
    height: 30px;
    padding: 0 12px;
    border-radius: 8px;
    background: #0a1f4d;
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-variant-numeric: tabular-nums;
}

.help-mine-status {
    display: inline-flex;
    align-items: center;
    height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.help-mine-status[data-status="new"] { background: #fef3c7; color: #92400e; }
.help-mine-status[data-status="open"] { background: #dbeafe; color: #1d4ed8; }
.help-mine-status[data-status="done"] { background: #d1fae5; color: #047857; }

.help-mine-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.help-mine-meta li {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 28px;
    padding: 0 10px;
    border-radius: 999px;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.78rem;
    font-weight: 600;
}

.help-mine-meta i {
    font-size: 0.72rem;
    color: #64748b;
}

.help-mine-msg,
.help-mine-thread {
    padding: 14px 18px 16px;
}

.help-mine-msg {
    border-bottom: 1px solid #f1f5f9;
}

.help-mine-msg__label {
    display: block;
    margin-bottom: 8px;
    color: #94a3b8;
    font-size: 0.7rem;
    font-weight: 750;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.help-mine-msg p {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #eef2f7;
    color: #1e293b;
    font-size: 0.92rem;
    line-height: 1.55;
}

.help-mine-wait {
    margin: 0;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fffbeb;
    border: 1px dashed #f6d9a8;
    color: #92400e;
    font-size: 0.86rem;
    line-height: 1.45;
}

.help-mine-bubble {
    padding: 12px 14px;
    border-radius: 12px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
}

.help-mine-bubble + .help-mine-bubble {
    margin-top: 8px;
}

.help-mine-bubble header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    color: #1d4ed8;
    font-size: 0.78rem;
}

.help-mine-bubble header strong {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.help-mine-bubble header time {
    color: #64748b;
    font-weight: 600;
}

.help-mine-bubble p {
    margin: 0;
    color: #0f172a;
    font-size: 0.9rem;
    line-height: 1.5;
}

.help-ticket-row:hover td {
    background: #f8fafc;
}

@media (max-width: 720px) {
    .help-ticket-dialog__card {
        width: 100%;
    }

    .help-ticket-dialog__head,
    .help-ticket-dialog__meta,
    .help-ticket-dialog__body,
    .help-ticket-dialog__composer {
        padding-left: 14px;
        padding-right: 14px;
    }
}

@media (max-width: 640px) {
    .help-ticket-card {
        padding: 16px;
        border-radius: 12px;
    }

    .help-ticket-grid {
        grid-template-columns: 1fr;
    }

    .help-mine-card {
        border-radius: 14px;
    }

    .help-mine-card__head,
    .help-mine-msg,
    .help-mine-thread {
        padding-left: 14px;
        padding-right: 14px;
    }

    .help-mine-empty {
        padding: 32px 16px;
    }

    .help-mine-bubble header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
}
