/* =====================================================================
   壹玖公考官网 · 后台样式
   原生 CSS，无框架依赖；桌面 / 平板 / 手机自适应
   ===================================================================== */

:root {
    --a-ink: #0b1524;
    --a-ink-2: #12233c;
    --a-panel: #ffffff;
    --a-bg: #f2f5fa;
    --a-line: #e3e9f3;
    --a-text: #182740;
    --a-text-2: #526485;
    --a-text-3: #8b9ab2;
    --a-blue: #2f6bff;
    --a-blue-deep: #1c4ec9;
    --a-gold: #e8b14b;
    --a-green: #17a673;
    --a-red: #e04a3a;
    --a-radius: 12px;
    --a-shadow: 0 8px 30px -18px rgba(15, 35, 70, .28);
    --a-side-w: 232px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

body.adm,
body.adm-login-body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.7;
    color: var(--a-text);
    background: var(--a-bg);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, ul, ol {
    margin: 0;
    padding: 0;
}

ul, ol {
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    display: block;
}

button, input, select, textarea {
    font: inherit;
    color: inherit;
}

svg.ico {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
    vertical-align: -3px;
}

svg.ico-sm {
    width: 15px;
    height: 15px;
}

svg.ico-lg {
    width: 34px;
    height: 34px;
}

/* ================= 侧栏 ================= */
.adm-side {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: var(--a-side-w);
    background: linear-gradient(180deg, #0a1728, #0c1e38);
    color: #c4d3e8;
    display: flex;
    flex-direction: column;
    z-index: 50;
    border-right: 1px solid rgba(120, 160, 255, .1);
    transition: transform .28s cubic-bezier(.22, .61, .36, 1);
}

.adm-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 20px 20px 22px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.adm-mark {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(140deg, #3a78ff, #14409e);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 13px;
    color: #fff;
    letter-spacing: 1px;
    box-shadow: 0 6px 16px -6px rgba(47, 107, 255, .8);
    flex: 0 0 auto;
}

.adm-brand strong {
    display: block;
    font-size: 15px;
    color: #fff;
    letter-spacing: .5px;
}

.adm-brand span:not(.adm-mark) {
    display: block;
    font-size: 11.5px;
    color: #7d95b6;
    margin-top: 1px;
}

.adm-menu {
    flex: 1;
    overflow-y: auto;
    padding: 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.adm-menu-item {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 10px 12px;
    border-radius: 9px;
    color: #a9bcd6;
    font-size: 13.8px;
    transition: .18s;
    position: relative;
}

.adm-menu-item:hover {
    background: rgba(255, 255, 255, .07);
    color: #fff;
}

.adm-menu-item.is-active {
    background: linear-gradient(100deg, rgba(47, 107, 255, .9), rgba(47, 107, 255, .55));
    color: #fff;
    font-weight: 600;
    box-shadow: 0 8px 20px -12px rgba(47, 107, 255, .9);
}

.adm-menu-item .ico {
    opacity: .9;
}

.adm-badge {
    margin-left: auto;
    background: var(--a-red);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    padding: 0 5px;
}

.adm-menu-sep {
    height: 1px;
    background: rgba(255, 255, 255, .08);
    margin: 8px 4px;
}

.adm-side-foot {
    padding: 14px;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.adm-user {
    display: flex;
    align-items: center;
    gap: 10px;
}

.adm-avatar {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, .1);
    color: #dfe9f9;
    font-weight: 700;
    font-size: 13px;
    flex: 0 0 auto;
}

.adm-user strong {
    display: block;
    font-size: 13px;
    color: #e6effc;
}

.adm-user span {
    display: block;
    font-size: 11.5px;
    color: #7d95b6;
}

/* ================= 主区域 ================= */
.adm-main {
    margin-left: var(--a-side-w);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.adm-top {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 26px;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--a-line);
    position: sticky;
    top: 0;
    z-index: 30;
}

.adm-burger {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: 9px;
    border: 1px solid var(--a-line);
    background: #fff;
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.adm-top-title {
    flex: 1;
    min-width: 0;
}

.adm-top-title h1 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: .2px;
}

.adm-top-title p {
    font-size: 12.3px;
    color: var(--a-text-3);
    margin-top: 1px;
}

.adm-top-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.adm-top-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 13px;
    border-radius: 8px;
    border: 1px solid var(--a-line);
    background: #fff;
    color: var(--a-text-2);
    font-size: 12.8px;
    transition: .18s;
}

.adm-top-link:hover {
    border-color: #bdd0f2;
    color: var(--a-blue);
}

.adm-top-link b {
    background: var(--a-red);
    color: #fff;
    border-radius: 8px;
    font-size: 11px;
    padding: 0 5px;
    min-width: 17px;
    height: 17px;
    display: inline-grid;
    place-items: center;
}

.adm-flash {
    margin: 16px 26px 0;
    padding: 11px 16px;
    border-radius: 9px;
    font-size: 13.4px;
    background: #eaf8f1;
    border: 1px solid #bfe8d3;
    color: #12764a;
}

.adm-flash.is-error {
    background: #fdeeec;
    border-color: #f6c8c2;
    color: #b03428;
}

.adm-content {
    padding: 20px 26px 34px;
    flex: 1;
}

.adm-foot {
    padding: 14px 26px 22px;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--a-text-3);
    border-top: 1px solid var(--a-line);
}

.adm-foot a {
    color: var(--a-blue);
    font-weight: 600;
}

.adm-foot a:hover {
    text-decoration: underline;
}

/* ================= 通用卡片 / 按钮 ================= */
.adm-card {
    background: var(--a-panel);
    border: 1px solid var(--a-line);
    border-radius: var(--a-radius);
    padding: 20px 22px;
    box-shadow: 0 1px 2px rgba(20, 40, 80, .03);
    margin-bottom: 18px;
}

.adm-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}

.adm-card-head h2 {
    font-size: 15.5px;
    font-weight: 700;
}

.adm-card-head p {
    font-size: 12.6px;
    color: var(--a-text-3);
    margin-top: 3px;
}

.adm-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 10px 18px;
    border-radius: 9px;
    border: 1px solid transparent;
    font-size: 13.5px;
    font-weight: 600;
    cursor: pointer;
    transition: .18s;
    white-space: nowrap;
    line-height: 1.3;
}

.adm-btn-primary {
    background: linear-gradient(135deg, #3a77ff, #1c4ec9);
    color: #fff;
    box-shadow: 0 10px 22px -12px rgba(47, 107, 255, .9);
}

.adm-btn-primary:hover {
    filter: brightness(1.06);
    transform: translateY(-1px);
}

.adm-btn-ghost {
    background: #fff;
    border-color: var(--a-line);
    color: var(--a-text-2);
}

.adm-btn-ghost:hover {
    border-color: #b7cdf2;
    color: var(--a-blue);
    background: #f7faff;
}

.adm-btn-danger {
    background: #fff;
    border-color: #f0c6c0;
    color: #b03428;
}

.adm-btn-danger:hover {
    background: #fdf1ef;
    border-color: #e5a79e;
}

.adm-btn-block {
    width: 100%;
    padding: 12px 18px;
    font-size: 14.5px;
}

.adm-btn:disabled {
    opacity: .55;
    cursor: not-allowed;
    box-shadow: none;
}

.mt-16 {
    margin-top: 16px;
}

.adm-muted {
    color: var(--a-text-3);
    font-size: 12.5px;
}

.adm-break {
    word-break: break-all;
}

.adm-flex {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* ================= 表单 ================= */
.adm-form .adm-grid,
.adm-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.adm-col-12 {
    flex: 0 0 100%;
    max-width: 100%;
}

.adm-col-6 {
    flex: 0 0 calc(50% - 8px);
    max-width: calc(50% - 8px);
}

.adm-col-4 {
    flex: 0 0 calc(33.333% - 11px);
    max-width: calc(33.333% - 11px);
}

.adm-col-3 {
    flex: 0 0 calc(25% - 12px);
    max-width: calc(25% - 12px);
}

.adm-field {
    width: 100%;
}

.adm-label {
    display: block;
    font-size: 12.8px;
    font-weight: 600;
    color: var(--a-text-2);
    margin-bottom: 6px;
}

.adm-req {
    color: var(--a-red);
    margin-left: 2px;
    font-weight: 700;
}

.adm-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--a-line);
    border-radius: 8px;
    background: #fff;
    font-size: 13.8px;
    outline: none;
    transition: .18s;
    -webkit-appearance: none;
    appearance: none;
}

.adm-input:focus {
    border-color: var(--a-blue);
    box-shadow: 0 0 0 3px rgba(47, 107, 255, .12);
}

textarea.adm-input {
    resize: vertical;
    line-height: 1.75;
    min-height: 74px;
}

select.adm-input {
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238b9ab2' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 14px;
    padding-right: 30px;
}

.adm-hint {
    font-size: 11.8px;
    color: var(--a-text-3);
    margin-top: 5px;
    line-height: 1.7;
}

.adm-check {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    color: var(--a-text-2);
    cursor: pointer;
}

.adm-check input {
    width: 15px;
    height: 15px;
    accent-color: var(--a-blue);
}

.adm-file {
    font-size: 12.5px;
    color: var(--a-text-2);
    max-width: 100%;
}

/* 开关 */
.adm-switch {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    cursor: pointer;
    user-select: none;
    padding-top: 2px;
}

.adm-switch input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.adm-switch-track {
    width: 42px;
    height: 22px;
    border-radius: 22px;
    background: #d6deec;
    position: relative;
    transition: .22s;
    flex: 0 0 auto;
}

.adm-switch-track::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
    transition: .22s;
}

.adm-switch input:checked + .adm-switch-track {
    background: linear-gradient(135deg, #3a77ff, #1c4ec9);
}

.adm-switch input:checked + .adm-switch-track::after {
    transform: translateX(20px);
}

.adm-switch input:focus-visible + .adm-switch-track {
    box-shadow: 0 0 0 3px rgba(47, 107, 255, .25);
}

.adm-switch-label {
    font-size: 13px;
    color: var(--a-text-2);
    font-weight: 600;
}

/* 图片字段 */
.adm-image {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    border: 1px dashed #d7e1f1;
    border-radius: 10px;
    padding: 14px;
    background: #fbfcfe;
}

.adm-image-preview {
    width: 132px;
    height: 88px;
    border-radius: 8px;
    overflow: hidden;
    background: #eef2f9;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border: 1px solid var(--a-line);
}

.adm-image-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.adm-image-preview span {
    font-size: 11.5px;
    color: var(--a-text-3);
}

.adm-image-ops {
    flex: 1;
    min-width: 0;
}

.adm-alert {
    padding: 11px 15px;
    border-radius: 9px;
    font-size: 13.2px;
    margin-bottom: 16px;
    line-height: 1.7;
}

.adm-alert.is-err {
    background: #fdeeec;
    border: 1px solid #f6c8c2;
    color: #b03428;
}

.adm-form-foot {
    display: flex;
    gap: 10px;
    align-items: center;
    padding-top: 18px;
    margin-top: 6px;
    border-top: 1px solid var(--a-line);
    flex-wrap: wrap;
}

.adm-sticky-save {
    position: sticky;
    bottom: 0;
    background: rgba(255, 255, 255, .95);
    backdrop-filter: blur(10px);
    border: 1px solid var(--a-line);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    box-shadow: 0 -6px 24px -18px rgba(20, 40, 80, .4);
}

/* ================= 列表 ================= */
.adm-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
    flex-wrap: wrap;
}

.adm-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: 9px;
    overflow: hidden;
}

.adm-search input {
    border: 0;
    padding: 9px 13px;
    font-size: 13.4px;
    outline: none;
    width: 200px;
    max-width: 46vw;
    background: transparent;
}

.adm-search button {
    border: 0;
    background: #f4f7fc;
    color: var(--a-text-2);
    padding: 9px 15px;
    font-size: 13px;
    cursor: pointer;
    border-left: 1px solid var(--a-line);
}

.adm-search button:hover {
    background: #eaf1ff;
    color: var(--a-blue);
}

.adm-toolbar-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.adm-filter {
    display: flex;
    gap: 7px;
    flex-wrap: wrap;
    margin-bottom: 14px;
}

.adm-chip {
    padding: 6px 13px;
    border-radius: 100px;
    border: 1px solid var(--a-line);
    background: #fff;
    font-size: 12.6px;
    color: var(--a-text-2);
    transition: .18s;
}

.adm-chip:hover {
    border-color: #b9cdf3;
    color: var(--a-blue);
}

.adm-chip.is-active {
    background: var(--a-ink);
    border-color: var(--a-ink);
    color: #fff;
    font-weight: 600;
}

.adm-table-card {
    padding: 0;
    overflow: hidden;
}

.adm-table-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.adm-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.2px;
    min-width: 640px;
}

.adm-table th {
    text-align: left;
    padding: 12px 16px;
    background: #f7f9fd;
    color: var(--a-text-2);
    font-weight: 600;
    font-size: 12.4px;
    white-space: nowrap;
    border-bottom: 1px solid var(--a-line);
}

.adm-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f4fa;
    vertical-align: middle;
}

.adm-table tbody tr:hover {
    background: #fafcff;
}

.adm-table tbody tr:last-child td {
    border-bottom: 0;
}

.adm-id {
    font-size: 12px;
    color: var(--a-text-3);
    font-variant-numeric: tabular-nums;
}

.adm-cell-main {
    font-weight: 600;
    color: var(--a-text);
}

.adm-thumb {
    width: 54px;
    height: 38px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid var(--a-line);
}

.adm-pill {
    display: inline-flex;
    align-items: center;
    padding: 3px 9px;
    border-radius: 6px;
    font-size: 11.6px;
    font-weight: 600;
    border: 1px solid transparent;
    white-space: nowrap;
}

.adm-pill.is-on {
    background: #eaf8f1;
    color: #12764a;
    border-color: #bfe8d3;
}

.adm-pill.is-off {
    background: #fff4ec;
    color: #a2540d;
    border-color: #f6d9c2;
}

.adm-pill.is-gold {
    background: #fdf6e7;
    color: #96700f;
    border-color: #f0dfb6;
}

.adm-pill.is-grey {
    background: #f0f3f8;
    color: #77869d;
    border-color: #e0e6f0;
}

button.adm-pill {
    cursor: pointer;
}

.adm-link {
    color: var(--a-blue);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.adm-link:hover {
    text-decoration: underline;
}

.adm-row-ops {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    align-items: center;
}

.adm-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 11px;
    border-radius: 7px;
    border: 1px solid var(--a-line);
    background: #fff;
    color: var(--a-text-2);
    font-size: 12.2px;
    cursor: pointer;
    transition: .16s;
    white-space: nowrap;
}

.adm-icon-btn:hover {
    border-color: #b7cdf2;
    color: var(--a-blue);
    background: #f6faff;
}

.adm-icon-btn.is-danger {
    color: #b03428;
    border-color: #f0cdc7;
}

.adm-icon-btn.is-danger:hover {
    background: #fdf1ef;
    border-color: #e3a49b;
}

.adm-inline-form {
    display: inline;
    margin: 0;
}

.adm-empty {
    padding: 54px 20px;
    text-align: center;
    color: var(--a-text-2);
}

.adm-empty p {
    font-size: 14px;
    font-weight: 600;
}

.adm-empty .adm-muted {
    font-weight: 400;
    margin-top: 5px;
    display: block;
}

.adm-tip {
    display: flex;
    gap: 9px;
    align-items: flex-start;
    padding: 12px 16px;
    background: #f4f8ff;
    border: 1px solid #dfeafb;
    border-radius: 9px;
    font-size: 12.8px;
    color: #3d5a86;
    line-height: 1.75;
}

/* 分页（后台样式覆盖） */
.pager {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 7px;
    padding: 16px;
    flex-wrap: wrap;
}

.pager-item {
    min-width: 34px;
    height: 34px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    background: #fff;
    border: 1px solid var(--a-line);
    font-size: 12.8px;
    color: var(--a-text-2);
    transition: .16s;
}

.pager-item:hover {
    border-color: var(--a-blue);
    color: var(--a-blue);
}

.pager-item.is-active {
    background: var(--a-ink);
    border-color: var(--a-ink);
    color: #fff;
    font-weight: 600;
}

.pager-item.is-disabled {
    opacity: .45;
    pointer-events: none;
}

.pager-dot {
    color: var(--a-text-3);
}

/* ================= 仪表盘 ================= */
.adm-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 18px;
}

.adm-stat {
    background: #fff;
    border: 1px solid var(--a-line);
    border-radius: var(--a-radius);
    padding: 16px 18px;
    transition: .2s;
}

.adm-stat:hover {
    box-shadow: var(--a-shadow);
    transform: translateY(-2px);
}

.adm-stat-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 8px;
}

.adm-stat-ico {
    width: 34px;
    height: 34px;
    border-radius: 9px;
    display: grid;
    place-items: center;
}

.adm-stat-ico.is-blue {
    background: #edf3ff;
    color: #2f6bff;
}

.adm-stat-ico.is-red {
    background: #fdefed;
    color: #e04a3a;
}

.adm-stat-ico.is-green {
    background: #eaf8f1;
    color: #17a673;
}

.adm-stat-ico.is-gold {
    background: #fdf6e7;
    color: #b08820;
}

.adm-stat b {
    display: block;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
    letter-spacing: -.5px;
}

.adm-stat-sub {
    display: block;
    font-size: 12.2px;
    color: var(--a-text-3);
    margin-top: 2px;
}

.adm-grid-2 {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 18px;
    align-items: start;
}

.adm-chart {
    display: flex;
    align-items: flex-end;
    gap: 8px;
    height: 190px;
    padding: 6px 2px 0;
}

.adm-chart-bar {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    min-width: 0;
}

.adm-chart-val {
    font-size: 11.5px;
    color: var(--a-text-3);
    font-variant-numeric: tabular-nums;
    height: 16px;
}

.adm-chart-track {
    flex: 1;
    width: 100%;
    max-width: 34px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    height: 100%;
}

.adm-chart-fill {
    width: 100%;
    border-radius: 6px 6px 3px 3px;
    background: linear-gradient(180deg, #4b85ff, #1c4ec9);
    min-height: 3px;
    transition: height .5s cubic-bezier(.22, .61, .36, 1);
}

.adm-chart-bar:last-child .adm-chart-fill {
    background: linear-gradient(180deg, #f3c265, #d99a2b);
}

.adm-chart-label {
    font-size: 11.5px;
    color: var(--a-text-3);
    margin-top: 6px;
    white-space: nowrap;
}

.adm-quick {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.adm-quick-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 9px;
    background: #f7f9fd;
    border: 1px solid #e9eff8;
    font-size: 13.2px;
    font-weight: 600;
    color: var(--a-text-2);
    transition: .18s;
}

.adm-quick-item:hover {
    background: #edf3ff;
    border-color: #cfdefa;
    color: var(--a-blue);
}

.adm-quick-item .ico {
    color: var(--a-blue);
    opacity: .85;
}

.adm-side-list {
    display: flex;
    flex-direction: column;
}

.adm-side-list-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 2px;
    border-bottom: 1px dashed #eef2f9;
}

.adm-side-list-item:last-child {
    border-bottom: 0;
}

.adm-side-list-item strong {
    display: block;
    font-size: 13.2px;
    font-weight: 600;
    color: var(--a-text);
    line-height: 1.5;
}

.adm-side-list-item span.adm-muted {
    display: block;
    font-size: 11.6px;
    margin-top: 2px;
}

.adm-side-list-item:hover strong {
    color: var(--a-blue);
}

.adm-env {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.adm-env > div {
    background: #f8fafd;
    border: 1px solid #eef2f9;
    border-radius: 9px;
    padding: 12px 14px;
}

.adm-env span {
    display: block;
    font-size: 11.6px;
    color: var(--a-text-3);
}

.adm-env b {
    display: block;
    font-size: 13px;
    color: var(--a-text);
    margin-top: 3px;
    font-weight: 600;
}

/* ================= 线索详情 ================= */
.adm-detail-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.adm-detail-item {
    background: #f8fafd;
    border: 1px solid #eef2f9;
    border-radius: 9px;
    padding: 12px 14px;
}

.adm-detail-item span {
    display: block;
    font-size: 11.6px;
    color: var(--a-text-3);
    margin-bottom: 2px;
}

.adm-detail-item b {
    font-size: 13.4px;
    font-weight: 600;
}

.adm-note-block {
    margin-bottom: 16px;
}

.adm-quote {
    background: #f7faff;
    border: 1px solid #e6eefb;
    border-left: 3px solid var(--a-blue);
    border-radius: 0 8px 8px 0;
    padding: 12px 16px;
    font-size: 13.4px;
    line-height: 1.8;
    color: var(--a-text-2);
    white-space: pre-wrap;
}

.adm-form-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    padding-top: 4px;
}

.adm-inline-block {
    flex: 1;
    min-width: 250px;
}

/* ================= 登录页 ================= */
body.adm-login-body {
    background: #070f1c;
    min-height: 100vh;
}

.adm-login {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    min-height: 100vh;
}

.adm-login-visual {
    position: relative;
    padding: 56px 56px 40px;
    color: #e9f1ff;
    background: radial-gradient(900px 420px at 80% 0%, rgba(47, 107, 255, .32), transparent 62%),
                radial-gradient(600px 380px at 0% 100%, rgba(232, 177, 75, .12), transparent 62%),
                linear-gradient(165deg, #071022, #0a1a30 52%, #0c2247);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.adm-login-visual::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(120, 165, 255, .05) 1px, transparent 1px),
                      linear-gradient(90deg, rgba(120, 165, 255, .05) 1px, transparent 1px);
    background-size: 54px 54px;
    mask-image: radial-gradient(circle at 40% 30%, #000 20%, transparent 76%);
    -webkit-mask-image: radial-gradient(circle at 40% 30%, #000 20%, transparent 76%);
}

.adm-login-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
    margin-bottom: auto;
}

.adm-login-brand strong {
    display: block;
    font-size: 16px;
    color: #fff;
    letter-spacing: .5px;
}

.adm-login-brand span:not(.adm-mark) {
    display: block;
    font-size: 11.5px;
    color: #8ba3c4;
}

.adm-login-visual h1 {
    position: relative;
    z-index: 1;
    font-size: clamp(28px, 3.6vw, 44px);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -.6px;
    margin: 52px 0 16px;
}

.adm-login-visual p {
    position: relative;
    z-index: 1;
    color: #a9bcd9;
    font-size: 14.5px;
    line-height: 1.9;
    max-width: 420px;
}

.adm-login-points {
    position: relative;
    z-index: 1;
    margin-top: 26px;
    display: grid;
    gap: 10px;
    font-size: 13px;
    color: #93a8c8;
}

.adm-login-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.adm-login-points li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--a-gold);
    margin-top: 8px;
    flex: 0 0 auto;
}

.adm-login-copy {
    position: relative;
    z-index: 1;
    margin-top: auto;
    padding-top: 34px;
    font-size: 11.5px;
    color: #6b82a1;
}

.adm-login-panel {
    display: grid;
    place-items: center;
    padding: 40px 28px;
    background: #f4f7fb;
}

.adm-login-card {
    width: min(400px, 100%);
    background: #fff;
    border-radius: 16px;
    border: 1px solid var(--a-line);
    box-shadow: 0 30px 70px -40px rgba(10, 25, 50, .45);
    padding: 34px 32px 28px;
}

.adm-login-card h2 {
    font-size: 21px;
    font-weight: 750;
    letter-spacing: -.2px;
}

.adm-login-card > p {
    font-size: 13px;
    color: var(--a-text-3);
    margin: 4px 0 22px;
}

.adm-login-card .adm-field {
    margin-bottom: 14px;
}

.adm-login-card .adm-btn-block {
    margin-top: 6px;
}

.adm-login-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 18px;
    font-size: 12.3px;
    flex-wrap: wrap;
}

.adm-login-foot a {
    color: var(--a-blue);
    font-weight: 600;
}

/* ================= 响应式：≤1180 ================= */
@media (max-width: 1180px) {
    .adm-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .adm-grid-2 {
        grid-template-columns: 1fr;
    }

    .adm-env {
        grid-template-columns: repeat(2, 1fr);
    }

    .adm-detail-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ================= 响应式：≤900 平板 ================= */
@media (max-width: 900px) {
    .adm-side {
        transform: translateX(-100%);
        box-shadow: 20px 0 60px rgba(6, 14, 28, .45);
    }

    .adm-side.is-open {
        transform: translateX(0);
    }

    .adm-main {
        margin-left: 0;
    }

    .adm-burger {
        display: flex;
    }

    .adm-top {
        padding: 12px 16px;
    }

    .adm-content {
        padding: 16px 16px 28px;
    }

    .adm-flash {
        margin: 12px 16px 0;
    }

    .adm-col-6,
    .adm-col-4,
    .adm-col-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .adm-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .adm-stat {
        padding: 13px 14px;
    }

    .adm-stat b {
        font-size: 22px;
    }

    .adm-table {
        min-width: 0;
        display: block;
    }

    .adm-table thead {
        display: none;
    }

    .adm-table tbody {
        display: block;
    }

    .adm-table tr {
        display: block;
        padding: 12px 14px;
        border-bottom: 1px solid #f0f4fa;
    }

    .adm-table tr:last-child {
        border-bottom: 0;
    }

    .adm-table td {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        gap: 14px;
        padding: 5px 0;
        border-bottom: 0;
        font-size: 13px;
    }

    .adm-table td::before {
        content: attr(data-label);
        color: var(--a-text-3);
        font-size: 11.8px;
        flex: 0 0 auto;
        padding-top: 2px;
    }

    .adm-table td:first-child {
        display: none;
    }

    .adm-row-ops {
        justify-content: flex-end;
    }

    .adm-login {
        grid-template-columns: 1fr;
    }

    .adm-login-visual {
        padding: 32px 26px 30px;
        order: 2;
    }

    .adm-login-visual h1 {
        font-size: 26px;
        margin: 24px 0 12px;
    }

    .adm-login-points {
        display: none;
    }

    .adm-login-panel {
        order: 1;
        padding: 26px 18px;
        min-height: auto;
    }

    .adm-chart {
        height: 150px;
    }

    .adm-quick {
        grid-template-columns: 1fr 1fr;
    }
}

/* ================= 响应式：≤640 手机 ================= */
@media (max-width: 640px) {
    .adm-top-title h1 {
        font-size: 16px;
    }

    .adm-top-title p {
        font-size: 11.5px;
    }

    .adm-top-link span {
        display: none;
    }

    .adm-stats {
        grid-template-columns: 1fr 1fr;
    }

    .adm-stat-sub {
        font-size: 11.4px;
    }

    .adm-card {
        padding: 16px 14px;
        border-radius: 10px;
    }

    .adm-card-head h2 {
        font-size: 14.5px;
    }

    .adm-search input {
        width: 140px;
    }

    .adm-image {
        flex-direction: column;
    }

    .adm-image-preview {
        width: 100%;
        height: 120px;
    }

    .adm-env,
    .adm-detail-grid {
        grid-template-columns: 1fr;
    }

    .adm-quick {
        grid-template-columns: 1fr;
    }

    .adm-form-row {
        flex-direction: column;
    }

    .adm-inline-block {
        min-width: 100%;
    }

    .adm-btn {
        padding: 10px 15px;
    }

    .adm-sticky-save {
        padding: 10px 12px;
    }

    .adm-chart {
        height: 130px;
        gap: 5px;
    }
}
