/* 客服后台样式 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

:root {
    --ink: #1f2733;
    --ink-2: #4c5866;
    --muted: #8a949f;
    --line: #e6eaef;
    --bg: #f5f7fa;
    --panel: #fff;
    --brand: #2f6bff;
    --brand-soft: #eef3ff;
    --danger: #e5484d;
    --side: #141b26;
    --side-2: #1d2734;
    --radius: 10px;
    --shadow: 0 6px 22px rgba(24, 44, 74, .08);
}

html,
body {
    height: 100%;
}

body.adm-body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB",
        "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

a {
    color: var(--brand);
    text-decoration: none;
}

.muted {
    color: var(--muted);
}

.sm {
    font-size: 12px;
}

[hidden] {
    display: none !important;
}

/* ------------------------------------------------------------- 通用控件 */
.adm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 34px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: #eef1f5;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, border-color .15s, color .15s, box-shadow .15s;
}

.adm-btn:hover {
    background: #e5e9ef;
}

.adm-btn.primary {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(47, 107, 255, .24);
}

.adm-btn.primary:hover {
    background: #245ce0;
}

.adm-btn.ghost {
    background: #fff;
    border-color: var(--line);
    color: var(--ink-2);
}

.adm-btn.ghost:hover {
    border-color: #cfd8e3;
    color: var(--ink);
}

.adm-btn.danger {
    background: #fff;
    border-color: #f3c9cb;
    color: var(--danger);
}

.adm-btn.danger:hover {
    background: #fff5f5;
}

.adm-btn.sm {
    height: 28px;
    padding: 0 10px;
    font-size: 12px;
}

.adm-btn.block {
    width: 100%;
    height: 42px;
    font-size: 15px;
}

.adm-btn[disabled] {
    opacity: .6;
    cursor: default;
}

.adm-select,
input[type="text"],
input[type="password"],
input[type="search"],
input[type="time"],
textarea,
select {
    width: 100%;
    padding: 8px 11px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    outline: 0;
    transition: border-color .15s, box-shadow .15s;
}

input:focus,
textarea:focus,
select:focus {
    border-color: #9db8ff;
    box-shadow: 0 0 0 3px rgba(47, 107, 255, .12);
}

textarea {
    resize: vertical;
    line-height: 1.6;
}

select {
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #8a949f 50%),
        linear-gradient(135deg, #8a949f 50%, transparent 50%);
    background-position: calc(100% - 15px) 15px, calc(100% - 10px) 15px;
    background-size: 5px 5px, 5px 5px;
    background-repeat: no-repeat;
    padding-right: 28px;
}

.adm-select {
    width: auto;
    min-width: 130px;
}

/* --------------------------------------------------------------- 登录页 */
.login-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100%;
    padding: 32px 16px;
    background:
        radial-gradient(900px 500px at 15% 0%, #e8f0ff 0%, transparent 60%),
        radial-gradient(700px 460px at 92% 12%, #e3fbf4 0%, transparent 55%),
        var(--bg);
}

.login-card {
    width: 100%;
    max-width: 380px;
    padding: 34px 30px 26px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 24px 60px rgba(23, 43, 77, .12);
}

.login-logo {
    width: 46px;
    height: 46px;
    margin-bottom: 18px;
}

.login-logo svg {
    width: 46px;
    height: 46px;
    display: block;
}

.login-card h1 {
    margin: 0 0 6px;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: .3px;
}

.login-sub {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 13px;
}

.login-card .field {
    margin-bottom: 16px;
}

.login-error {
    margin: 0 0 14px;
    padding: 8px 12px;
    border-radius: 8px;
    background: #fff1f1;
    color: var(--danger);
    font-size: 13px;
}

.login-foot {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 12px;
    text-align: center;
}

/* ------------------------------------------------------------------ 框架 */
.adm {
    display: flex;
    height: 100%;
    height: 100dvh;
    overflow: hidden;
}

.adm-side {
    display: flex;
    flex-direction: column;
    width: 216px;
    flex: none;
    background: var(--side);
    color: #c9d2de;
}

.adm-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 20px 18px 16px;
}

.adm-mark {
    display: inline-flex;
    width: 30px;
    height: 30px;
}

.adm-mark svg {
    width: 30px;
    height: 30px;
    display: block;
}

.adm-logo-text strong {
    display: block;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .3px;
}

.adm-logo-text small {
    display: block;
    color: #66748a;
    font-size: 10px;
    letter-spacing: .6px;
    text-transform: uppercase;
}

.adm-nav {
    flex: 1;
    padding: 8px 10px;
    overflow-y: auto;
}

.adm-nav button {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 40px;
    margin-bottom: 2px;
    padding: 0 12px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #c9d2de;
    font: inherit;
    font-size: 13.5px;
    text-align: left;
    cursor: pointer;
    transition: background .15s, color .15s;
}

.adm-nav button:hover {
    background: rgba(255, 255, 255, .06);
    color: #fff;
}

.adm-nav button.is-active {
    background: var(--side-2);
    color: #fff;
    box-shadow: inset 3px 0 0 var(--brand);
}

.nav-badge {
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 9px;
    background: #fa5151;
    color: #fff;
    font-size: 11px;
    font-style: normal;
    line-height: 18px;
    text-align: center;
}

.adm-me {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 14px 14px 16px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.adm-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    flex: none;
    border-radius: 50%;
    background: linear-gradient(140deg, #2f6bff, #12d6a1);
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.adm-me-text {
    min-width: 0;
    flex: 1;
}

.adm-me-text div {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#meName {
    color: #fff;
    font-size: 13px;
}

#meRole {
    font-size: 11px;
    color: #71808f;
}

.adm-logout {
    border: 0;
    background: transparent;
    color: #7c8b9c;
    font: inherit;
    font-size: 12px;
    cursor: pointer;
}

.adm-logout:hover {
    color: #fff;
}

.adm-main {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.adm-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    height: 58px;
    flex: none;
    padding: 0 22px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.adm-top h2 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.adm-top-right {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
}

.adm-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #c9d2de;
}

.adm-dot.live {
    background: #07c160;
    box-shadow: 0 0 0 3px rgba(7, 193, 96, .16);
}

.adm-dot.down {
    background: #fa5151;
    box-shadow: 0 0 0 3px rgba(250, 81, 81, .16);
}

.adm-divider {
    width: 1px;
    height: 14px;
    background: var(--line);
}

.adm-stat b {
    color: var(--ink);
    font-weight: 600;
}

.adm-view {
    flex: 1;
    min-height: 0;
    overflow: auto;
    padding: 20px 22px 24px;
}

.adm-view.inbox {
    display: flex;
    padding: 0;
    overflow: hidden;
}

/* ---------------------------------------------------------------- 会话区 */
.inbox-list {
    display: flex;
    flex-direction: column;
    width: 300px;
    flex: none;
    border-right: 1px solid var(--line);
    background: #fff;
}

.inbox-tools {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-bottom: 1px solid var(--line);
}

.inbox-tools input {
    flex: 1;
}

.inbox-tools .adm-select {
    min-width: 96px;
    max-width: 110px;
}

.conv-list {
    flex: 1;
    overflow-y: auto;
}

.conv-item {
    display: flex;
    gap: 10px;
    padding: 12px 14px;
    border-bottom: 1px solid #f2f4f7;
    cursor: pointer;
    transition: background .15s;
}

.conv-item:hover {
    background: #f8fafc;
}

.conv-item.is-active {
    background: var(--brand-soft);
}

.conv-face {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: none;
    border-radius: 9px;
    background: #eef1f6;
    color: #63707f;
    font-size: 12px;
    font-weight: 600;
}

.conv-item.is-active .conv-face {
    background: #dbe6ff;
    color: var(--brand);
}

.conv-body {
    min-width: 0;
    flex: 1;
}

.conv-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.conv-name {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--ink);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.conv-time {
    flex: none;
    color: #a7b0ba;
    font-size: 11px;
}

.conv-preview {
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.conv-tags {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
}

.tag {
    display: inline-block;
    padding: 1px 6px;
    border-radius: 4px;
    background: #f2f4f7;
    color: #7c8998;
    font-size: 11px;
    line-height: 16px;
}

.tag.closed {
    background: #f6f7f9;
    color: #a3acb7;
}

.tag.unread {
    background: #fff1f0;
    color: #e5484d;
}

.chat-pane {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
    background: #f7f9fc;
}

.chat-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    color: #a7b0ba;
    font-size: 13px;
}

.chat-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 56px;
    flex: none;
    padding: 0 18px;
    border-bottom: 1px solid var(--line);
    background: #fff;
}

.chat-who strong {
    font-size: 14px;
    font-weight: 600;
}

.chat-who span {
    margin-left: 8px;
    font-size: 12px;
}

.chat-ops {
    display: flex;
    gap: 8px;
}

.chat-body {
    flex: 1;
    min-height: 0;
    overflow-y: auto;
    padding: 18px 20px;
    background: #f7f9fc;
}

.chat-body::-webkit-scrollbar,
.conv-list::-webkit-scrollbar {
    width: 6px;
}

.chat-body::-webkit-scrollbar-thumb,
.conv-list::-webkit-scrollbar-thumb {
    background: #d8dee7;
    border-radius: 3px;
}

.msg-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.msg-row.is-agent {
    flex-direction: row-reverse;
}

.msg-avatar {
    width: 30px;
    height: 30px;
    flex: none;
    border-radius: 50%;
    background: #dfe4ea;
    color: #64707d;
    font-size: 12px;
    line-height: 30px;
    text-align: center;
}

.msg-row.is-agent .msg-avatar {
    background: linear-gradient(140deg, #2f6bff, #12d6a1);
    color: #fff;
}

.msg-main {
    max-width: 66%;
}

.msg-row.is-agent .msg-main {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.msg-meta {
    margin-bottom: 5px;
    color: #a3acb7;
    font-size: 11px;
}

.msg-bubble {
    padding: 9px 12px;
    border-radius: 8px;
    background: #fff;
    color: var(--ink);
    font-size: 13.5px;
    line-height: 1.7;
    white-space: pre-wrap;
    word-break: break-word;
    box-shadow: 0 1px 2px rgba(23, 43, 77, .06);
}

.msg-row.is-agent .msg-bubble {
    background: var(--brand);
    color: #fff;
    box-shadow: 0 3px 10px rgba(47, 107, 255, .22);
}

.msg-bubble a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-all;
}

.msg-time-divider {
    margin: 6px 0 14px;
    color: #aab3be;
    font-size: 11px;
    text-align: center;
}

.chat-editor {
    flex: none;
    padding: 12px 16px 14px;
    border-top: 1px solid var(--line);
    background: #fff;
}

.chat-editor textarea {
    height: 74px;
    border: 0;
    padding: 4px 2px;
    font-size: 13.5px;
    resize: none;
    box-shadow: none;
}

.chat-editor textarea:focus {
    box-shadow: none;
}

.chat-editor-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

/* ------------------------------------------------------------ 卡片与表单 */
.view-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.view-head h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.view-head p {
    margin: 0;
    color: var(--muted);
    font-size: 12.5px;
}

.card {
    margin-bottom: 18px;
    padding: 18px;
    border-radius: var(--radius);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.card-title {
    margin: 0 0 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 600;
}

.settings .card-title:not(:first-child) {
    margin-top: 22px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 18px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.field > span {
    color: var(--ink-2);
    font-size: 12.5px;
}

.field.col-2 {
    grid-column: span 2;
}

.field.switch-field {
    justify-content: space-between;
}

.switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
}

.switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.switch i {
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: #d6dce4;
    cursor: pointer;
    transition: background .2s;
}

.switch i::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: transform .2s;
}

.switch input:checked + i {
    background: var(--brand);
}

.switch input:checked + i::after {
    transform: translateX(18px);
}

.weekdays {
    display: flex;
    gap: 6px;
}

.weekdays label {
    position: relative;
    cursor: pointer;
}

.weekdays input {
    position: absolute;
    opacity: 0;
}

.weekdays i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 7px;
    color: var(--ink-2);
    font-size: 12px;
    font-style: normal;
    transition: all .15s;
}

.weekdays input:checked + i {
    border-color: var(--brand);
    background: var(--brand-soft);
    color: var(--brand);
    font-weight: 600;
}

.color-row {
    display: flex;
    align-items: center;
    gap: 12px;
}

input[type="color"] {
    width: 44px;
    height: 32px;
    padding: 2px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    cursor: pointer;
}

.color-presets {
    display: flex;
    gap: 7px;
}

.color-presets button {
    width: 20px;
    height: 20px;
    padding: 0;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--c);
    box-shadow: 0 0 0 1px var(--line);
    cursor: pointer;
}

.logo-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    flex: none;
    border: 1px dashed var(--line);
    border-radius: 8px;
    background: #fafbfd;
    overflow: hidden;
}

.logo-preview img,
.logo-preview svg {
    width: 28px;
    height: 28px;
    display: block;
    object-fit: contain;
}

.upload-btn {
    position: relative;
    flex: none;
    overflow: hidden;
}

.form-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.snippet {
    margin-top: 22px;
    padding: 14px;
    border-radius: 10px;
    background: #f7f9fc;
    border: 1px solid var(--line);
}

.snippet-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
    color: var(--ink-2);
    font-size: 12.5px;
}

.snippet code {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    background: #10151d;
    color: #b7e3ff;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
    line-height: 1.7;
    word-break: break-all;
    white-space: pre-wrap;
}

.snippet-actions {
    margin-top: 10px;
}

/* ------------------------------------------------------------------ 表格 */
.tbl {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.tbl th {
    padding: 10px 12px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
}

.tbl td {
    padding: 12px;
    border-bottom: 1px solid #f2f4f7;
    color: var(--ink-2);
    vertical-align: middle;
}

.tbl tr:last-child td {
    border-bottom: 0;
}

.tbl .ta-r {
    text-align: right;
}

.tbl code {
    padding: 1px 6px;
    border-radius: 4px;
    background: #f2f5fa;
    color: #46536b;
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 12px;
}

.site-cell {
    display: flex;
    align-items: center;
    gap: 9px;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    flex: none;
    border-radius: 7px;
    background: #f2f5fa;
    overflow: hidden;
}

.site-logo img,
.site-logo svg {
    width: 22px;
    height: 22px;
    display: block;
    object-fit: contain;
}

.site-name {
    color: var(--ink);
    font-weight: 500;
}

.site-sub {
    color: var(--muted);
    font-size: 11.5px;
}

.pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 2px 9px;
    border-radius: 11px;
    font-size: 11.5px;
    line-height: 18px;
}

.pill::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
}

.pill.online {
    background: #eafaf1;
    color: #0a9f57;
}

.pill.offline {
    background: #f5f6f8;
    color: #93a0ae;
}

.pill.auto {
    background: #eef3ff;
    color: #3f6ad8;
}

.pill.ai {
    background: #eaf4ff;
    color: #2a8fe0;
}

.pill + .pill {
    margin-left: 6px;
}

/* AI 自动接待 */
.field-hint {
    margin: -4px 0 16px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7;
}

.ai-test {
    margin: 0 0 20px;
    padding: 12px 14px;
    border: 1px dashed #d7e0ea;
    border-radius: 10px;
    background: #f9fbfd;
}

.ai-test-row {
    display: flex;
    gap: 10px;
}

.ai-test-row input {
    flex: 1;
    min-width: 0;
    height: 34px;
    padding: 0 10px;
    border: 1px solid #dde4ec;
    border-radius: 6px;
    background: #fff;
    color: var(--ink);
    font: inherit;
    font-size: 13px;
    outline: 0;
}

.ai-test-row input:focus {
    border-color: #9cc7ee;
    box-shadow: 0 0 0 3px rgba(41, 174, 240, .12);
}

.ai-test-out {
    margin-top: 10px;
    padding: 10px 12px;
    border: 1px solid #e3e9f0;
    border-radius: 8px;
    background: #fff;
    color: var(--ink-2);
    font-size: 12.5px;
    line-height: 1.8;
    white-space: pre-wrap;
    word-break: break-word;
}

.ai-test-out.is-ok {
    border-color: #bfe4cd;
    background: #f4fbf7;
}

.ai-test-out.is-err {
    border-color: #f0cccc;
    background: #fdf6f6;
    color: #a34a4a;
}

.msg-ai {
    display: inline-block;
    margin-left: 6px;
    padding: 0 5px;
    border-radius: 3px;
    background: #eaf4ff;
    color: #2a8fe0;
    font-size: 10px;
    line-height: 16px;
    vertical-align: 1px;
}

.msg-ai-note {
    margin-top: 5px;
    color: #b26a2c;
    font-size: 12px;
}

.row-actions {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

.empty {
    padding: 26px 0;
    color: var(--muted);
    font-size: 13px;
    text-align: center;
}

/* ---------------------------------------------------------------- 提示条 */
.adm-toast {
    position: fixed;
    left: 50%;
    bottom: 32px;
    z-index: 99;
    padding: 10px 18px;
    border-radius: 8px;
    background: rgba(24, 33, 45, .92);
    color: #fff;
    font-size: 13px;
    transform: translate(-50%, 12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s, transform .2s;
}

.adm-toast.is-show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.adm-toast.is-error {
    background: rgba(197, 48, 48, .95);
}

/* ------------------------------------------------------------- 响应式 */
@media (max-width: 1024px) {
    .adm-side {
        width: 180px;
    }

    .inbox-list {
        width: 260px;
    }
}

@media (max-width: 860px) {
    .adm {
        flex-direction: column;
    }

    .adm-side {
        width: 100%;
        flex-direction: row;
        align-items: center;
        height: 54px;
        overflow: hidden;
    }

    .adm-logo {
        padding: 0 12px;
    }

    .adm-logo-text {
        display: none;
    }

    .adm-nav {
        display: flex;
        flex: 1;
        padding: 0 6px;
        overflow-x: auto;
    }

    .adm-nav button {
        width: auto;
        height: 34px;
        margin: 0 2px;
        padding: 0 12px;
        white-space: nowrap;
        box-shadow: none !important;
    }

    .adm-me {
        padding: 0 12px;
        border-top: 0;
    }

    .adm-me-text {
        display: none;
    }

    .adm-top {
        height: 50px;
        padding: 0 14px;
    }

    .adm-top-right .adm-stat,
    .adm-divider {
        display: none;
    }

    .adm-view {
        padding: 14px;
    }

    .adm-view.inbox {
        flex-direction: column;
    }

    .inbox-list {
        width: 100%;
        max-height: 42%;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .field.col-2 {
        grid-column: span 1;
    }

    .msg-main {
        max-width: 78%;
    }
}
