/* ===== SMS Console — 基础样式 ===== */
:root {
    --bg: #f5f6fa;
    --card: #ffffff;
    --ink: #0f172a;
    --ink-2: #344054;
    --muted: #667085;
    --line: #e7e9f0;
    --line-soft: #f0f1f6;
    --brand: #4f46e5;
    --brand-dark: #4338ca;
    --brand-soft: #eef0ff;
    --success: #12b76a;
    --success-soft: #e8f8f1;
    --warn: #f59e0b;
    --warn-soft: #fef4e6;
    --danger: #ef4444;
    --danger-soft: #fdecec;
    --info: #0ea5e9;
    --info-soft: #e8f6fe;
    --radius: 14px;
    --shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 6px 18px -8px rgba(16, 24, 40, .08);
    --sidebar-w: 236px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
}

body {
    background: var(--bg);
    color: var(--ink);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font-size: 14px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-dark); }
h1, h2, h3 { margin: 0; font-weight: 650; letter-spacing: -.01em; }
code, .mono { font-family: "SF Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.nowrap { white-space: nowrap; }
.t-right { text-align: right; }

/* ===== 布局 ===== */
.app { min-height: 100vh; }

.sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    width: var(--sidebar-w);
    background: #0e1424;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    padding: 18px 14px;
    z-index: 40;
}

.brand {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 4px 8px 0;
    margin-bottom: 22px;
}

.brand-mark {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 10px;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    font-weight: 800;
    font-size: 18px;
    display: grid;
    place-items: center;
    box-shadow: 0 6px 14px -6px rgba(99, 102, 241, .9);
}

.brand-mark.lg { width: 46px; height: 46px; flex-basis: 46px; font-size: 22px; border-radius: 13px; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text strong { color: #f8fafc; font-size: 15px; letter-spacing: .01em; }
.brand-text small { color: #7c8aa5; font-size: 11.5px; }

.nav { display: flex; flex-direction: column; gap: 3px; }
.nav-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border-radius: 10px;
    color: #a9b5c9;
    font-size: 13.5px;
    font-weight: 500;
    transition: background .15s, color .15s;
}
.nav-item svg { width: 18px; height: 18px; opacity: .9; }
.nav-item:hover { background: rgba(148, 163, 184, .1); color: #e2e8f0; }
.nav-item.active {
    background: rgba(99, 102, 241, .16);
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(99, 102, 241, .35);
}
.nav-item.active svg { color: #a5b4fc; }

.sidebar-foot { margin-top: auto; padding: 12px 8px 4px; border-top: 1px solid rgba(148, 163, 184, .14); }
.sidebar-tip { display: flex; align-items: center; gap: 7px; font-size: 12px; color: #94a3b8; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 3px rgba(52, 211, 153, .16); }
.sidebar-ver { margin-top: 7px; font-size: 11px; color: #5b6a83; }

.main { margin-left: var(--sidebar-w); min-height: 100vh; display: flex; flex-direction: column; }

.topbar {
    position: sticky;
    top: 0;
    z-index: 30;
    height: 62px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 0 28px;
    background: rgba(255, 255, 255, .86);
    backdrop-filter: saturate(160%) blur(10px);
    border-bottom: 1px solid var(--line);
}
.topbar-title { font-weight: 600; font-size: 15px; }
.topbar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.topbar-time { color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; }

.user-chip { display: flex; align-items: center; gap: 8px; }
.avatar {
    width: 28px; height: 28px; border-radius: 50%;
    background: var(--brand-soft); color: var(--brand);
    display: grid; place-items: center; font-weight: 700; font-size: 12.5px;
    text-transform: uppercase;
}
.user-name { font-size: 13px; color: var(--ink-2); font-weight: 500; }

.content { padding: 26px 28px 48px; width: 100%; max-width: 1500px; }

/* ===== 页头 ===== */
.page-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.page-head h1 { font-size: 22px; }
.page-head p { margin: 5px 0 0; font-size: 13px; }
.page-actions { display: flex; gap: 8px; }

/* ===== 卡片 ===== */
.card {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 18px;
    overflow: hidden;
}
.card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 15px 20px;
    border-bottom: 1px solid var(--line-soft);
}
.card-head h2 { font-size: 15px; }
.link { font-size: 13px; font-weight: 500; }

.stack { display: flex; flex-direction: column; gap: 18px; }
.stack > .card { margin-bottom: 0; }

.grid-2 { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.grid-import { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 18px; align-items: start; }
.grid-2 > .card, .grid-import > .card { margin-bottom: 0; }

/* ===== 统计卡 ===== */
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.stat-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.stat {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    padding: 17px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
}
.stat-icon {
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 12px;
    display: grid; place-items: center;
}
.stat-icon svg { width: 21px; height: 21px; }
.stat-icon.indigo { background: var(--brand-soft); color: var(--brand); }
.stat-icon.green { background: var(--success-soft); color: var(--success); }
.stat-icon.amber { background: var(--warn-soft); color: var(--warn); }
.stat-icon.blue { background: var(--info-soft); color: var(--info); }
.stat-value { font-size: 23px; font-weight: 700; line-height: 1.15; font-variant-numeric: tabular-nums; }
.stat-label { color: var(--muted); font-size: 12.5px; margin-top: 1px; }

.mini-stats { display: grid; grid-template-columns: repeat(3, 1fr); padding: 16px 20px 6px; gap: 8px; }
.mini-stats > div { display: flex; flex-direction: column; }
.mini-value { font-size: 19px; font-weight: 700; }
.mini-label { color: var(--muted); font-size: 12px; }

.meta-row {
    display: flex; justify-content: space-between; gap: 12px;
    padding: 9px 20px; font-size: 12.5px; color: var(--muted);
    border-top: 1px dashed var(--line-soft);
}
.meta-row strong { color: var(--ink-2); font-weight: 600; }

.bar-row { display: grid; grid-template-columns: 82px 1fr 38px; align-items: center; gap: 10px; padding: 6px 20px; font-size: 12.5px; }
.bar-label { color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bar { height: 7px; border-radius: 99px; background: var(--line-soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #6366f1, #8b5cf6); }
.bar-value { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.import-mini { padding: 12px 20px 16px; display: flex; flex-direction: column; gap: 2px; border-top: 1px dashed var(--line-soft); margin-top: 8px; }

/* ===== 表格 ===== */
.table-wrap { width: 100%; overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 13px; }
.table thead th {
    position: sticky; top: 0; z-index: 1;
    background: #fafbfe;
    color: var(--muted);
    font-weight: 600;
    font-size: 12px;
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid var(--line);
    white-space: nowrap;
}
.table tbody td { padding: 11px 14px; border-bottom: 1px solid var(--line-soft); vertical-align: middle; }
.table tbody tr:last-child td { border-bottom: 0; }
.table tbody tr:hover { background: #fafbff; }
.table .col-check { width: 38px; padding-right: 0; }
.table input[type="checkbox"] { width: 15px; height: 15px; accent-color: var(--brand); cursor: pointer; }

.phone { font-weight: 600; font-size: 13.5px; letter-spacing: .01em; }
.sub { margin-top: 3px; font-size: 11.5px; line-height: 1.3; }
.sub .badge { font-size: 10px; padding: 1px 6px; }
.cell-sms { max-width: 250px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; }
.cell-time { white-space: nowrap; font-size: 12px; }
.cell-code { min-width: 90px; }
.row-actions { display: flex; gap: 4px; justify-content: flex-end; flex-wrap: nowrap; }

.code-pill {
    display: inline-block;
    font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .06em;
    color: var(--brand-dark);
    background: var(--brand-soft);
    border: 1px dashed #c7cbfa;
    border-radius: 8px;
    padding: 2px 9px;
    cursor: pointer;
    transition: background .15s;
}
.code-pill:hover { background: #e4e7ff; }

.tag {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 6px;
    background: #f2f4f7;
    color: #475467;
    font-size: 11.5px;
    font-weight: 500;
    white-space: nowrap;
}
.badge {
    display: inline-block;
    padding: 1px 8px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 600;
    line-height: 1.6;
    white-space: nowrap;
}
.badge-success { background: var(--success-soft); color: #067647; }
.badge-warn { background: var(--warn-soft); color: #b45309; }
.badge-danger { background: var(--danger-soft); color: #b42318; }
.badge-info { background: var(--info-soft); color: #026aa2; }
.badge-muted { background: #f2f4f7; color: #667085; }

/* ===== 按钮 ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 9px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-2);
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    white-space: nowrap;
    transition: background .15s, border-color .15s, opacity .15s, transform .05s;
}
.btn:hover { background: #f8f9fc; border-color: #d5d9e4; }
.btn:active { transform: translateY(1px); }
.btn:disabled { opacity: .45; cursor: not-allowed; }
.btn-sm { height: 30px; padding: 0 10px; font-size: 12.5px; border-radius: 8px; }
.btn-block { width: 100%; height: 42px; font-size: 14px; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--muted); }
.btn-ghost:hover { background: #f2f4f7; border-color: transparent; }
.btn-danger-ghost { color: var(--danger); border-color: #f3d3d3; background: #fff; }
.btn-danger-ghost:hover { background: #fff5f5; border-color: #f0b9b9; }

.icon-btn {
    width: 34px; height: 34px;
    display: inline-grid; place-items: center;
    border: 0; background: transparent; border-radius: 8px;
    color: var(--muted); cursor: pointer;
}
.icon-btn:hover { background: #f2f4f7; color: var(--ink); }
.icon-btn svg { width: 20px; height: 20px; }

/* ===== 表单 ===== */
.form { padding: 18px 20px; display: flex; flex-direction: column; gap: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-label { font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.field-label i { color: var(--danger); font-style: normal; }
.input, .select {
    width: 100%;
    height: 38px;
    padding: 0 11px;
    border: 1px solid #d8dbe6;
    border-radius: 9px;
    background: #fff;
    color: var(--ink);
    font-size: 13px;
    font-family: inherit;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
}
.input:focus, .select:focus { border-color: #a5aaf5; box-shadow: 0 0 0 3px rgba(99, 102, 241, .14); }
.textarea { height: auto; padding: 10px 11px; resize: vertical; line-height: 1.55; }
.textarea.mono, .input.mono { font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace; font-size: 12.5px; }
.file-input { padding: 7px 10px; height: auto; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 10px center; padding-right: 30px; }
.select-sm { height: 30px; width: auto; font-size: 12.5px; border-radius: 8px; }

.filters {
    display: flex;
    gap: 9px;
    padding: 14px 20px;
    flex-wrap: wrap;
    align-items: center;
    border-bottom: 1px solid var(--line-soft);
}
.filters .input { flex: 1 1 240px; max-width: 380px; }
.filters .select { flex: 0 0 auto; width: auto; min-width: 130px; }

.status-tabs { display: flex; gap: 4px; padding: 0 20px; border-bottom: 1px solid var(--line-soft); overflow-x: auto; }
.tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 11px 12px 10px;
    font-size: 13px;
    color: var(--muted);
    border-bottom: 2px solid transparent;
    white-space: nowrap;
}
.tab em {
    font-style: normal;
    font-size: 11px;
    background: #f2f4f7;
    color: #667085;
    border-radius: 99px;
    padding: 0 6px;
    line-height: 1.7;
}
.tab:hover { color: var(--ink); }
.tab.active { color: var(--brand); border-bottom-color: var(--brand); font-weight: 600; }
.tab.active em { background: var(--brand-soft); color: var(--brand); }

.table-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 11px 20px;
    border-bottom: 1px solid var(--line-soft);
    flex-wrap: wrap;
}
.toolbar-left, .toolbar-right { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.check-inline { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--muted); cursor: pointer; }
.check-inline input { width: 14px; height: 14px; accent-color: var(--brand); }

/* ===== 空状态 / 分页 ===== */
.empty { padding: 44px 20px; text-align: center; color: var(--muted); font-size: 13px; }
.empty .btn { margin-top: 12px; }
.loading { padding: 30px; text-align: center; color: var(--muted); font-size: 13px; }

.pagination { display: flex; align-items: center; gap: 5px; padding: 14px 20px; flex-wrap: wrap; border-top: 1px solid var(--line-soft); }
.page-btn {
    min-width: 32px; height: 32px; padding: 0 9px;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid var(--line); border-radius: 8px;
    background: #fff; color: var(--ink-2); font-size: 12.5px;
}
.page-btn:hover { background: #f8f9fc; }
.page-btn.active { background: var(--brand); border-color: var(--brand); color: #fff; }
.page-btn.disabled { opacity: .4; pointer-events: none; }
.page-gap { color: var(--muted); padding: 0 2px; }
.page-info { margin-left: auto; color: var(--muted); font-size: 12px; }

/* ===== 弹窗 ===== */
.modal { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 20px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .45); backdrop-filter: blur(2px); }
.modal-card {
    position: relative;
    width: min(560px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 24px 60px -12px rgba(15, 23, 42, .35);
}
.modal-wide { width: min(860px, 100%); }
.modal-head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--line-soft); position: sticky; top: 0; background: #fff; z-index: 2; }
.modal-head h3 { font-size: 15px; }
.modal-body { padding: 4px 20px 18px; }
.modal-foot { display: flex; justify-content: flex-end; gap: 8px; padding-top: 4px; }
.modal-foot.left { justify-content: flex-start; align-items: center; }

/* ===== 提示 ===== */
.alert {
    padding: 11px 14px;
    border-radius: 10px;
    font-size: 13px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}
.alert-success { background: var(--success-soft); border-color: #b7ebd3; color: #067647; }
.alert-danger { background: var(--danger-soft); border-color: #f7c9c9; color: #b42318; }
.alert-info { background: var(--info-soft); border-color: #bae6fd; color: #026aa2; }
.alert-warn { background: var(--warn-soft); border-color: #fde3b3; color: #b45309; }

.toasts { position: fixed; right: 20px; bottom: 22px; display: flex; flex-direction: column; gap: 8px; z-index: 120; }
.toast {
    min-width: 220px;
    max-width: 360px;
    padding: 11px 14px;
    border-radius: 10px;
    background: #101828;
    color: #f8fafc;
    font-size: 13px;
    box-shadow: 0 12px 30px -8px rgba(15, 23, 42, .4);
    animation: toast-in .18s ease-out;
}
.toast.ok { background: #087443; }
.toast.err { background: #b42318; }
@keyframes toast-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ===== 导入页 ===== */
.result-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; background: var(--line-soft); }
.result-item { background: #fff; padding: 16px 20px; display: flex; flex-direction: column; }
.result-value { font-size: 21px; font-weight: 700; }
.result-label { color: var(--muted); font-size: 12px; }
.result-item.ok .result-value { color: var(--success); }
.result-item.info .result-value { color: var(--info); }
.result-item.warn .result-value { color: var(--warn); }
.result-item.bad .result-value { color: var(--danger); }

.errors-detail { border-top: 1px solid var(--line-soft); }
.errors-detail summary { padding: 12px 20px; cursor: pointer; font-size: 13px; color: var(--ink-2); }
.help { padding: 16px 20px; font-size: 13px; color: var(--ink-2); }
.help p { margin: 0 0 10px; }
.help ul { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.help li { margin-bottom: 5px; }
.code-block {
    background: #0f172a;
    color: #dbe3f4;
    border-radius: 10px;
    padding: 12px 14px;
    font-size: 11.5px;
    line-height: 1.7;
    overflow-x: auto;
    margin: 0 0 10px;
    white-space: pre-wrap;
    word-break: break-all;
}
.inline-code { background: #f2f4f7; border-radius: 5px; padding: 1px 5px; font-size: 12px; color: #475467; }

.kv-list { padding: 4px 20px 14px; }
.kv { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px dashed var(--line-soft); font-size: 13px; }
.kv:last-child { border-bottom: 0; }
.kv span { color: var(--muted); }
.kv strong { font-weight: 600; text-align: right; word-break: break-all; }

/* ===== 登录页 ===== */
.auth-body {
    min-height: 100vh;
    background: radial-gradient(1200px 500px at 15% -10%, #e6e8ff 0%, transparent 55%),
                radial-gradient(900px 500px at 100% 0%, #e9f6ff 0%, transparent 50%),
                #f5f6fa;
    display: grid;
    place-items: center;
    padding: 24px;
}
.auth-wrap { width: 100%; max-width: 400px; }
.auth-brand { display: flex; align-items: center; gap: 13px; margin-bottom: 22px; }
.auth-brand h1 { font-size: 20px; }
.auth-brand p { margin: 3px 0 0; color: var(--muted); font-size: 12.5px; }
.auth-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 24px 50px -22px rgba(16, 24, 40, .18);
    padding: 24px;
}
.auth-head { margin-bottom: 18px; }
.auth-head h2 { font-size: 17px; }
.auth-head p { margin: 4px 0 0; font-size: 12.5px; }
.auth-card .form { padding: 0; }
.auth-foot { text-align: center; color: #98a2b3; font-size: 12px; margin-top: 18px; }

/* ===== 404 ===== */
.empty-page { text-align: center; padding: 80px 20px; }
.empty-code { font-size: 64px; font-weight: 800; color: #d0d5dd; letter-spacing: .04em; }
.empty-page h1 { font-size: 20px; margin: 6px 0; }
.empty-page .btn { margin-top: 16px; }

/* ===== 响应式 ===== */
.only-mobile { display: none; }

@media (max-width: 1100px) {
    .stat-grid { grid-template-columns: repeat(2, 1fr); }
    .grid-2, .grid-import { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 900px) {
    .sidebar { transform: translateX(-100%); transition: transform .2s ease; }
    .sidebar.open { transform: none; }
    .sidebar-backdrop { display: none; }
    .sidebar-backdrop.open { display: block; position: fixed; inset: 0; background: rgba(15, 23, 42, .4); z-index: 35; }
    .main { margin-left: 0; }
    .only-mobile { display: inline-grid; }
    .content { padding: 18px 16px 40px; }
    .topbar { padding: 0 16px; }
    .topbar-time, .user-name { display: none; }
    .page-head { align-items: flex-start; flex-direction: column; }
    .filters { padding: 12px 16px; }
    .filters .input { max-width: none; }
    .table thead th, .table tbody td { padding-left: 12px; padding-right: 12px; }
    .form-grid { grid-template-columns: 1fr; }
    .result-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ===== 移动端号码卡片 ===== */
@media (max-width: 760px) {
    .table-accounts thead { display: none; }
    .table-accounts tbody tr {
        display: block;
        position: relative;
        padding: 12px 14px 12px 44px;
        border-bottom: 1px solid var(--line-soft);
    }
    .table-accounts tbody td { display: block; padding: 0; border: 0; }
    .table-accounts td.col-check { position: absolute; left: 14px; top: 15px; width: auto; }
    .table-accounts td:nth-child(2) { margin-bottom: 5px; }
    .table-accounts td:nth-child(3),
    .table-accounts td:nth-child(4) { display: inline-block; margin-right: 8px; }
    .table-accounts td.cell-code { margin-top: 6px; }
    .table-accounts td.cell-sms { max-width: none; white-space: normal; margin-top: 6px; line-height: 1.45; }
    .table-accounts td.cell-time { margin-top: 3px; }
    .table-accounts td.t-right { margin-top: 10px; text-align: left; }
    .table-accounts .row-actions { justify-content: flex-start; flex-wrap: wrap; }
    .table-accounts tbody tr:hover { background: #fff; }
    .status-tabs { padding: 0 14px; }
    .table-toolbar { padding: 10px 14px; }
    .pagination { padding: 12px 14px; }
    .page-actions { width: 100%; }
    .page-actions .btn { flex: 1; }
}

/* ===== 谷歌资料 ===== */
.cell-google { max-width: 210px; }
.gmail {
    display: block;
    max-width: 195px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    background: none;
    border: 0;
    padding: 0;
    color: var(--brand-dark);
    font-family: "SF Mono", ui-monospace, Menlo, Consolas, monospace;
    font-size: 12px;
    text-align: left;
    cursor: copy;
}
.gmail:hover { text-decoration: underline; }
.g-badges { display: flex; gap: 4px; flex-wrap: wrap; }

.form-section {
    border-top: 1px solid var(--line-soft);
    padding-top: 14px;
    margin-top: 2px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
}

@media (max-width: 760px) {
    .cell-google { max-width: none; }
    .gmail { max-width: 100%; }
}

@media (max-width: 1600px) {
    .table-accounts thead th:nth-child(7),
    .table-accounts tbody td:nth-child(7) { display: none; }
}

@media (max-width: 760px) {
    .table-accounts td:nth-child(4) { display: block; margin-top: 4px; }
    .table-accounts td:nth-child(4) .gmail { max-width: 100%; }
}
