@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #f7f3ec;
    --bg-soft: #fffaf2;
    --panel: #ffffff;
    --panel-2: #fbf7ef;
    --text: #23211e;
    --muted: #716b61;
    --line: rgba(36, 33, 29, .12);
    --brand: #ff6b35;
    --brand-dark: #264653;
    --brand-green: #2a9d8f;
    --danger: #b42318;
    --success: #13795b;
    --shadow: 0 18px 52px rgba(54, 42, 25, .10);
    --shadow-soft: 0 10px 28px rgba(54, 42, 25, .07);
    --radius: 24px;
}

html[data-theme="dark"] {
    --bg: #121314;
    --bg-soft: #181a1c;
    --panel: #1f2225;
    --panel-2: #181b1e;
    --text: #f4eee4;
    --muted: #b6ada0;
    --line: rgba(255, 255, 255, .11);
    --brand: #ff8b5d;
    --brand-dark: #8ecae6;
    --brand-green: #44c6b3;
    --danger: #ff8a80;
    --success: #57d9a3;
    --shadow: 0 18px 52px rgba(0, 0, 0, .28);
    --shadow-soft: 0 10px 28px rgba(0, 0, 0, .20);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 0 18%, rgba(255, 107, 53, .12), transparent 22rem),
        radial-gradient(circle at 100% 36%, rgba(42, 157, 143, .10), transparent 26rem),
        linear-gradient(180deg, var(--bg), var(--bg-soft));
    font-size: 15px;
    line-height: 1.65;
    font-weight: 400;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    border: 0;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}

/* Header */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    padding: 14px 0;
    background: color-mix(in srgb, var(--bg) 86%, transparent);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(18px);
}

.header-shell {
    width: min(1220px, calc(100% - 32px));
    margin: 0 auto;
    min-height: 58px;
    display: grid;
    grid-template-columns: auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: max-content;
}

.brand-mark {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: -.04em;
    background: linear-gradient(135deg, var(--brand), #f4a261 55%, var(--brand-green));
    box-shadow: 0 10px 24px rgba(255, 107, 53, .22);
}

.brand-text {
    display: grid;
    line-height: 1.1;
}

.brand-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: -.03em;
}

.brand-text small {
    margin-top: 3px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 400;
}

.header-actions {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 24px;
    min-width: max-content;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 0;
    border: 0;
    background: transparent;
}

.header-nav a {
    padding: 0;
    font-size: 14px;
    color: var(--muted);
    font-weight: 500;
    background: transparent;
    transition: color .18s ease;
}

.header-nav a:hover {
    color: var(--text);
}

.theme-toggle {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    cursor: pointer;
    border-radius: 999px;
    color: var(--text);
    background: var(--panel);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-soft);
    transition: transform .18s ease, border-color .18s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

html[data-theme="light"] .theme-icon-dark {
    display: none;
}

html[data-theme="dark"] .theme-icon-light {
    display: none;
}

/* Main */

.site-main {
    flex: 1 0 auto;
    overflow: hidden;
}

.page-intro {
    padding: 54px 0 22px;
}

.intro-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 12px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
}

.intro-label::before {
    content: "";
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--brand);
    box-shadow: 0 0 0 6px rgba(255, 107, 53, .13);
}

.page-intro h1 {
    margin: 0;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -.06em;
    font-weight: 700;
}

.page-intro p {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 17px;
    line-height: 1.75;
    font-weight: 400;
}

/* Contact layout */

.contact-section {
    padding: 30px 0 76px;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 9fr) minmax(260px, 3fr);
    gap: 24px;
    align-items: start;
}

.contact-panel,
.info-card {
    border: 1px solid var(--line);
    background: color-mix(in srgb, var(--panel) 94%, transparent);
    box-shadow: var(--shadow);
}

.contact-panel {
    padding: 28px;
    border-radius: var(--radius);
}

.section-heading span,
.info-kicker,
.process-heading span {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    color: var(--brand);
    font-size: 13px;
    font-weight: 600;
}

.section-heading h2 {
    margin: 0;
    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.12;
    letter-spacing: -.05em;
    font-weight: 700;
}

.section-heading p {
    max-width: 680px;
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.7;
}

/* Form */

.contact-form {
    display: grid;
    gap: 16px;
    margin-top: 26px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

label {
    display: grid;
    gap: 7px;
}

label span {
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 17px;
    background: var(--panel-2);
    color: var(--text);
    outline: none;
    padding: 13px 15px;
    font-size: 14px;
    font-weight: 400;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

select {
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 170px;
}

input::placeholder,
textarea::placeholder {
    color: color-mix(in srgb, var(--muted) 78%, transparent);
}

input:focus,
select:focus,
textarea:focus {
    border-color: color-mix(in srgb, var(--brand) 70%, var(--line));
    box-shadow: 0 0 0 4px rgba(255, 107, 53, .13);
    background: var(--panel);
}

.turnstile-box {
    min-height: 66px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    border-radius: 17px;
    padding: 0 20px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--brand), #ef7b45);
    box-shadow: 0 14px 28px rgba(255, 107, 53, .22);
}

.btn-primary:hover {
    box-shadow: 0 18px 34px rgba(255, 107, 53, .28);
}

.btn-full {
    width: 100%;
}

.form-note {
    margin: -3px 0 0;
    font-size: 13px;
    color: var(--muted);
    text-align: center;
}

/* Alerts */

.alert {
    margin: 22px 0;
    padding: 15px 17px;
    border-radius: 18px;
    border: 1px solid var(--line);
    font-size: 14px;
}

.alert strong {
    font-weight: 700;
}

.alert ul {
    margin: 8px 0 0;
    padding-left: 20px;
}

.alert-success {
    color: var(--success);
    background: color-mix(in srgb, var(--success) 10%, var(--panel));
}

.alert-error {
    color: var(--danger);
    background: color-mix(in srgb, var(--danger) 9%, var(--panel));
}

/* Right column */

.info-panel {
    display: grid;
    gap: 14px;
}

.info-card {
    padding: 18px;
    border-radius: 22px;
}

.info-card h2 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
    letter-spacing: -.04em;
    font-weight: 700;
}

.info-card h3 {
    margin: 0 0 12px;
    font-size: 16px;
    letter-spacing: -.02em;
    font-weight: 700;
}

.info-card p {
    margin: 12px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
    font-weight: 400;
}

.info-kicker {
    margin-bottom: 8px;
    font-size: 12px;
}

.main-info {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--brand-green) 9%, var(--panel)), var(--panel));
}

.side-menu-small {
    display: grid;
    gap: 8px;
}

.side-menu-small div {
    padding-bottom: 8px;
    border-bottom: 1px solid var(--line);
}

.side-menu-small div:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.side-menu-small span,
.side-menu-small strong {
    display: block;
}

.side-menu-small span {
    color: var(--muted);
    font-size: 12px;
}

.side-menu-small strong {
    margin-top: 2px;
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
}

.right-mini-menu {
    display: grid;
    gap: 6px;
}

.right-mini-menu a {
    display: block;
    padding: 8px 10px;
    border-radius: 12px;
    background: var(--panel-2);
    color: var(--muted);
    font-size: 13px;
    border: 1px solid var(--line);
    transition: color .18s ease, border-color .18s ease, background .18s ease;
}

.right-mini-menu a:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
    background: var(--panel);
}

.soft-card {
    background:
        linear-gradient(145deg, color-mix(in srgb, var(--brand) 7%, var(--panel)), var(--panel));
}

.clean-list {
    margin: 0;
    padding-left: 18px;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.6;
}

.clean-list li + li {
    margin-top: 5px;
}

/* Pagination */

.pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin: 28px 0;
}

.pagination a,
.pagination span {
    min-width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: var(--panel);
    color: var(--muted);
    font-size: 14px;
}

.pagination a.active,
.pagination a:hover {
    color: #fff;
    background: var(--brand-dark);
}

/* 404 */

.not-found {
    padding: 90px 0;
}

.not-found h1 {
    margin: 0;
    font-size: 48px;
    letter-spacing: -.05em;
}

.not-found p {
    color: var(--muted);
}

.eyebrow {
    color: var(--brand);
    font-weight: 700;
}

/* Footer */

.site-footer {
    flex-shrink: 0;
    margin-top: auto;
    border-top: 1px solid var(--line);
    background: color-mix(in srgb, var(--panel) 76%, transparent);
}

.footer-shell {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
}

.footer-shell strong {
    display: block;
    margin-bottom: 5px;
    font-weight: 700;
}

.footer-shell p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: var(--muted);
    font-size: 14px;
}

.footer-links a:hover {
    color: var(--text);
}

.footer-bottom {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
    padding: 16px 0 24px;
    color: var(--muted);
    font-size: 13px;
    border-top: 1px solid var(--line);
}

/* Conversation / Ticket */

.conversation-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.section-heading-small {
    display: block;
    margin-bottom: 8px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
}

.conversation-top h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.15;
    letter-spacing: -.04em;
}

.ticket-status {
    display: inline-flex;
    align-items: center;
    min-width: max-content;
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    border: 1px solid var(--line);
}

.ticket-status-new {
    color: #b45309;
    background: rgba(245, 158, 11, .12);
}

.ticket-status-open {
    color: #0369a1;
    background: rgba(14, 165, 233, .12);
}

.ticket-status-answered {
    color: #047857;
    background: rgba(16, 185, 129, .12);
}

.ticket-status-closed {
    color: #b91c1c;
    background: rgba(239, 68, 68, .12);
}

.conversation-thread {
    display: grid;
    gap: 18px;
    margin-top: 26px;
}

.conversation-message {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 12px;
}

.conversation-message-admin {
    grid-template-columns: minmax(0, 1fr) 42px;
}

.conversation-message-admin .conversation-avatar {
    order: 2;
    background: var(--brand-dark);
}

.conversation-message-admin .conversation-bubble {
    order: 1;
    background: color-mix(in srgb, var(--brand-green) 10%, var(--panel));
}

.conversation-avatar {
    width: 42px;
    height: 42px;
    border-radius: 15px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--brand);
    font-weight: 700;
    box-shadow: var(--shadow-soft);
}

.conversation-bubble {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: var(--panel-2);
}

.conversation-meta {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 10px;
}

.conversation-meta strong {
    font-size: 14px;
}

.conversation-meta span {
    color: var(--muted);
    font-size: 12px;
}

.conversation-text {
    color: var(--text);
    font-size: 14px;
    line-height: 1.75;
}

.reply-box {
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1px solid var(--line);
}

.conversation-link {
    word-break: break-all;
    font-size: 13px;
}

/* Responsive */

@media (max-width: 980px) {
    .header-shell {
        grid-template-columns: 1fr auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .header-nav {
        display: none;
    }

    .header-actions {
        gap: 10px;
    }
}

@media (max-width: 680px) {
    body {
        font-size: 14px;
    }

    .container,
    .header-shell,
    .footer-shell,
    .footer-bottom {
        width: min(100% - 26px, 1180px);
    }

    .site-header {
        padding: 10px 0;
    }

    .header-shell {
        min-height: 52px;
        gap: 14px;
    }

    .brand-mark {
        width: 38px;
        height: 38px;
        border-radius: 14px;
    }

    .brand-text small {
        display: none;
    }

    .theme-toggle {
        width: 36px;
        height: 36px;
    }

    .page-intro {
        padding: 34px 0 16px;
    }

    .page-intro h1 {
        font-size: 42px;
        letter-spacing: -.055em;
    }

    .page-intro p {
        font-size: 15px;
        line-height: 1.65;
    }

    .contact-section {
        padding: 22px 0 54px;
    }

    .contact-panel,
    .info-card {
        padding: 18px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-shell {
        flex-direction: column;
        padding: 24px 0;
    }

    .conversation-top {
        flex-direction: column;
    }

    .conversation-message,
    .conversation-message-admin {
        grid-template-columns: 1fr;
    }

    .conversation-message-admin .conversation-avatar,
    .conversation-message-admin .conversation-bubble {
        order: initial;
    }

    .conversation-avatar {
        width: 36px;
        height: 36px;
        border-radius: 13px;
    }

    .conversation-meta {
        flex-direction: column;
        gap: 2px;
    }
}

.remember-line {
    display: flex;
    grid-template-columns: none;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.remember-line input {
    width: 17px;
    height: 17px;
    padding: 0;
}

.remember-line span {
    color: var(--text);
    font-size: 14px;
    font-weight: 500;
}

.panel-navi {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 22px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: color-mix(in srgb, var(--panel) 90%, transparent);
    box-shadow: var(--shadow-soft);
}

.panel-navi a {
    display: inline-flex;
    align-items: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 14px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    background: var(--panel-2);
    border: 1px solid var(--line);
}

.panel-navi a:hover {
    color: var(--text);
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

.operator-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.operator-grid .info-card h2 {
    font-size: 42px;
    letter-spacing: -.06em;
}

@media (max-width: 980px) {
    .operator-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .operator-grid {
        grid-template-columns: 1fr;
    }
}

.login-section {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 54px 20px;
}

.login-card {
    width: min(100%, 440px);
    border: 1px solid var(--line);
    border-radius: 26px;
    background: color-mix(in srgb, var(--panel) 94%, transparent);
    box-shadow: var(--shadow);
    padding: 28px;
}

.login-heading {
    text-align: center;
}

.login-heading span {
    justify-content: center;
}

.login-heading h1 {
    margin: 0;
    font-size: 34px;
    line-height: 1.08;
    letter-spacing: -.05em;
    font-weight: 700;
}

.login-form {
    margin-top: 22px;
}

.admin-layout {
    display: grid;
    gap: 22px;
    margin-top: 22px;
}

.table-wrap {
    width: 100%;
    overflow-x: auto;
}

.panel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.panel-table th,
.panel-table td {
    padding: 12px 10px;
    border-bottom: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.panel-table th {
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
}

.panel-table td {
    color: var(--text);
}

.table-actions,
.ticket-actions-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ticket-actions-bottom {
    margin-top: 22px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 32px;
    padding: 0 10px;
    border-radius: 11px;
    border: 1px solid var(--line);
    background: var(--panel-2);
    color: var(--text);
    cursor: pointer;
    font-size: 12px;
    font-weight: 700;
}

.mini-btn:hover {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
}

.mini-btn.danger {
    color: var(--danger);
}

.mini-btn:disabled {
    opacity: .45;
    cursor: not-allowed;
}

.status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 25px;
    padding: 0 9px;
    border-radius: 999px;
    border: 1px solid var(--line);
    font-size: 11px;
    font-weight: 800;
}

.status-ok {
    color: #047857;
    background: rgba(16, 185, 129, .12);
}

.status-off {
    color: #b91c1c;
    background: rgba(239, 68, 68, .12);
}

.status-warn {
    color: #b45309;
    background: rgba(245, 158, 11, .12);
}

.status-info {
    color: #0369a1;
    background: rgba(14, 165, 233, .12);
}

.ticket-details {
    display: grid;
    gap: 7px;
    margin: 18px 0 24px;
    padding: 14px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: var(--panel-2);
    color: var(--muted);
    font-size: 13px;
}

.ticket-details a {
    color: var(--brand);
    word-break: break-all;
}

@media (max-width: 680px) {
    .login-card {
        padding: 20px;
    }

    .login-heading h1 {
        font-size: 30px;
    }

    .panel-table {
        min-width: 860px;
    }
}

.ticket-panel {
    position: relative;
}

.ticket-head-actions {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: start;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.ticket-head-actions .conversation-top {
    padding-bottom: 0;
    border-bottom: 0;
}

.ticket-top-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

.ticket-owner-line {
    margin-top: 10px;
    color: var(--muted);
    font-size: 13px;
}

.ticket-owner-line strong {
    color: var(--text);
}

.ticket-work-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 310px;
    gap: 22px;
    margin-top: 24px;
    align-items: start;
}

.ticket-side {
    display: grid;
    gap: 14px;
}

.reply-box-top {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
    padding-bottom: 24px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--line);
}

.conversation-thread-newest {
    margin-top: 0;
}

.ticket-transfer-box {
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: var(--panel-2);
}

.ticket-transfer-box h3 {
    margin: 0;
    font-size: 16px;
    letter-spacing: -.02em;
}

.ticket-transfer-box p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.55;
}

.compact-form {
    margin-top: 14px;
    gap: 12px;
}

.compact-form input {
    padding: 11px 13px;
    border-radius: 14px;
}

.compact-form .btn {
    min-height: 42px;
    border-radius: 14px;
}

@media (max-width: 1100px) {
    .ticket-work-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 680px) {
    .ticket-head-actions {
        grid-template-columns: 1fr;
    }

    .ticket-top-buttons {
        justify-content: flex-start;
    }
}

.ticket-row-locked {
    opacity: .62;
}

.ticket-row-locked td {
    background: color-mix(in srgb, var(--panel-2) 70%, transparent);
}

.mini-btn.disabled {
    opacity: .65;
    cursor: not-allowed;
    color: var(--muted);
    background: var(--panel-2);
}

.operator-main-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    margin-top: 22px;
    align-items: start;
}

.operator-main-layout-single {
    grid-template-columns: 1fr;
}

.operator-content {
    display: grid;
    gap: 22px;
}

.operator-services-sidebar {
    position: sticky;
    top: 96px;
}

.support-services-list {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.support-services-list a {
    display: grid;
    gap: 2px;
    padding: 10px 12px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--panel-2);
    color: var(--muted);
    font-size: 13px;
}

.support-services-list a strong {
    color: var(--text);
    font-size: 13px;
}

.support-services-list a span {
    word-break: break-all;
    font-size: 11px;
}

.support-services-list a:hover,
.support-services-list a.active {
    border-color: color-mix(in srgb, var(--brand) 45%, var(--line));
    background: var(--panel);
}

.ticket-search-form {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 230px auto auto;
    gap: 10px;
    align-items: center;
    margin: 20px 0;
}

.ticket-search-form input,
.ticket-search-form select {
    min-height: 44px;
    border-radius: 14px;
}

.ticket-row-locked {
    opacity: .62;
}

.ticket-row-locked td {
    background: color-mix(in srgb, var(--panel-2) 70%, transparent);
}

.mini-btn.disabled {
    opacity: .65;
    cursor: not-allowed;
    color: var(--muted);
    background: var(--panel-2);
}

@media (max-width: 1100px) {
    .operator-main-layout {
        grid-template-columns: 1fr;
    }

    .operator-services-sidebar {
        position: static;
    }

    .ticket-search-form {
        grid-template-columns: 1fr;
    }
}