/* ============================================================
   律师网站群 — 后台管理视觉系统
   ============================================================ */

:root {
    --admin-primary: #2c4a6e;
    --admin-primary-light: #3d628f;
    --admin-success: #2f7d62;
    --admin-warning: #b7791f;
    --admin-danger: #a33a32;
    --admin-bg: #eef1f3;
    --admin-white: #ffffff;
    --admin-text: #243039;
    --admin-text-light: #6c7880;
    --admin-border: #d5dce0;
    --admin-radius: 4px;
    --admin-shadow: 0 8px 24px rgba(12, 24, 33, .06);
    --font-ui: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    --font-display: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

body {
    margin: 0;
    color: var(--admin-text);
    font-family: var(--font-ui);
    letter-spacing: .01em;
    background: var(--admin-bg);
}

a { color: var(--admin-primary); text-decoration: none; }
a:hover { color: var(--admin-primary-light); }

/* ---- Login ---- */
.admin-login-page,
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(900px 420px at 12% 10%, rgba(184, 151, 90, .16), transparent 55%),
        radial-gradient(700px 380px at 90% 80%, rgba(47, 90, 112, .28), transparent 50%),
        linear-gradient(145deg, #1e3654 0%, #2c4a6e 45%, #3d628f 100%);
    position: relative;
    overflow: hidden;
}
.admin-login-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
    background-size: 56px 56px;
    opacity: .5;
    pointer-events: none;
}
.login-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 24px;
}
.login-card {
    padding: 40px 36px;
    background: rgba(255, 255, 255, .97);
    border: 1px solid rgba(255, 255, 255, .2);
    border-radius: 6px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .28);
    animation: loginIn .55s var(--ease) both;
}
.login-header { text-align: center; margin-bottom: 28px; }
.login-seal {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0 auto 14px;
    border: 1.5px solid #b8975a;
    color: #8f7340;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 700;
    background: #fff;
}
.login-header h1 {
    margin: 0 0 6px;
    color: #2c4a6e;
    font-family: var(--font-display);
    font-size: 1.45rem;
}
.login-header p {
    margin: 0;
    color: var(--admin-text-light);
    font-size: .9rem;
}
.login-form .form-group { margin-bottom: 18px; }
.login-form label {
    display: block;
    margin-bottom: 6px;
    color: #3b4850;
    font-size: .85rem;
    font-weight: 600;
}
.login-form input {
    width: 100%;
    padding: 11px 14px;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.login-form input:focus {
    outline: none;
    border-color: var(--admin-primary-light);
    box-shadow: 0 0 0 3px rgba(47, 90, 112, .12);
}
.login-hint {
    margin-top: 16px;
    text-align: center;
    color: #a0aec0;
    font-size: .8rem;
}
.login-card .btn-block {
    margin-top: 8px;
    min-height: 44px;
    letter-spacing: .12em;
}

@keyframes loginIn {
    from { opacity: 0; transform: translateY(16px) scale(.98); }
    to { opacity: 1; transform: none; }
}

/* ---- Shell layout ---- */
.admin-body { background: var(--admin-bg); min-height: 100vh; }
.admin-shell {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    min-height: 100vh;
}
.admin-workspace { min-width: 0; background:
    radial-gradient(800px 300px at 100% 0%, rgba(184, 151, 90, .05), transparent 50%),
    var(--admin-bg);
}

.admin-topbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 100vh;
    overflow-y: auto;
    color: #d2dbe0;
    background:
        linear-gradient(180deg, #1e3654 0%, #2c4a6e 40%, #243d5c 100%);
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, .04);
}
.topbar-inner {
    display: flex;
    width: 100%;
    min-height: 100%;
    padding: 22px 14px 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
}
.topbar-brand {
    display: flex;
    margin: 0;
    padding: 0 8px 20px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: #fff !important;
    font-size: 15px;
    text-decoration: none;
}
.topbar-brand > strong {
    display: flex;
    min-width: 0;
    flex-direction: column;
    line-height: 1.4;
    font-weight: 700;
}
.topbar-brand small {
    color: #7f919b;
    font-size: 9px;
    font-weight: 400;
    letter-spacing: .04em;
}

.topbar-nav {
    display: flex;
    overflow: visible;
    flex: 1;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
}
.nav-item {
    display: flex;
    padding: 10px 12px;
    align-items: center;
    border-radius: 4px;
    color: #b5c1c8;
    font-size: 13px;
    text-decoration: none;
    transition: background .2s, color .2s;
    white-space: nowrap;
}
.nav-item-form { margin: 0; }
.nav-item-form .nav-item {
    width: 100%;
    border: 0;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .07);
}
.nav-item.active {
    color: #fff;
    background: #355a82;
    box-shadow: inset 3px 0 #ba554b;
}

.topbar-right {
    display: flex;
    margin: auto 0 0;
    padding-top: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    border-top: 1px solid rgba(255, 255, 255, .1);
}
.topbar-site-switcher {
    width: 100%;
    max-width: none;
    margin: 0 0 8px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 3px;
    color: #c9d3d9;
    background: rgba(255, 255, 255, .06);
    font-size: .78rem;
    cursor: pointer;
}
.topbar-site-switcher:focus { outline: none; border-color: #63b3ed; }
.topbar-site-switcher option { color: #1a202c; background: #fff; }
.nav-user {
    color: rgba(255, 255, 255, .78);
    font-size: 12px;
}
.nav-server-time {
    display: inline-block;
    margin-left: 4px;
    padding: 3px 8px;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 3px;
    color: rgba(212, 188, 136, .95);
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
    white-space: nowrap;
}
.utility-link, .nav-logout { padding: 6px 10px; font-size: 12px; }
.nav-logout { color: #de938b; }
.nav-logout:hover { background: rgba(229, 62, 62, .18); color: #fecaca; }

.admin-main {
    max-width: 1520px;
    margin: 0 auto;
    padding: 24px 28px 48px;
}

.breadcrumb-bar {
    max-width: none;
    padding: 11px 28px;
    border-bottom: 1px solid var(--admin-border);
    color: #7d898f;
    background: rgba(255, 255, 255, .9);
    font-size: 12px;
    backdrop-filter: blur(8px);
}
.breadcrumb-bar a { color: var(--admin-primary); }
.breadcrumb-bar a:hover { text-decoration: underline; }

.flash-container { max-width: none; padding: 0 28px; }
.flash {
    padding: 11px 16px;
    border-radius: 4px;
    margin-top: 12px;
    font-size: .9rem;
    animation: slideDown .3s var(--ease);
}
.flash-success { background: #d8f3e7; color: #1e5a45; border-left: 4px solid var(--admin-success); }
.flash-error { background: #fde8e6; color: #742a2a; border-left: 4px solid var(--admin-danger); }
.flash-warning { background: #fef3c7; color: #744210; border-left: 4px solid var(--admin-warning); }
.flash-info { background: #e0f0f8; color: #2c4a6e; border-left: 4px solid var(--admin-primary); }
@keyframes slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: none; }
}

.admin-page-title {
    margin: 0 0 20px;
    color: #1d2a32;
    font-family: var(--font-display);
    font-size: 1.45rem !important;
    font-weight: 700;
}

/* ---- Stats ---- */
.stat-cards,
.stat-cards-sm {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 22px;
}
.stat-card {
    position: relative;
    overflow: hidden;
    min-height: 108px;
    padding: 20px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: #fff;
    text-align: left;
    transition: transform .25s var(--ease), box-shadow .25s;
}
.stat-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--admin-primary), #b8975a);
}
.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--admin-shadow);
}
.stat-icon {
    float: right;
    font-size: 18px;
    opacity: .55;
}
.stat-num {
    color: #1f3949;
    font-size: 1.7rem;
    font-weight: 700;
    line-height: 1.2;
}
.stat-label {
    margin-top: 8px;
    color: var(--admin-text-light);
    font-size: 12px;
}
.status-pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}
.status-pill.ok { background: #d8f3e7; color: #1e5a45; }
.status-pill.err { background: #fde8e6; color: #742a2a; }
.status-pill.warn { background: #fef3c7; color: #744210; }

/* ---- Panels ---- */
.panel {
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: #fff;
}
.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 52px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--admin-border);
    background: #fafbfb;
}
.panel-header h2 {
    margin: 0;
    color: #26343c;
    font-size: 14px;
}
.panel-header h2::before {
    content: "";
    display: inline-block;
    width: 3px;
    height: 13px;
    margin-right: 8px;
    background: #a33a32;
    vertical-align: -2px;
}

.site-subnav {
    display: flex;
    gap: 2px;
    overflow-x: auto;
    margin-bottom: 15px;
    padding: 4px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background: #fff;
}
.site-subnav a {
    padding: 8px 15px;
    border-radius: 3px;
    white-space: nowrap;
    font-size: 12px;
    text-decoration: none;
    color: var(--admin-text-light);
    transition: all .2s;
}
.site-subnav a:hover { background: var(--admin-bg); color: var(--admin-text); }
.site-subnav a.active { background: var(--admin-primary); color: #fff; }

.toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    gap: 12px;
    flex-wrap: wrap;
}
.toolbar-left { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.toolbar-right { color: var(--admin-text-light); font-size: .9rem; }

/* ---- Tables ---- */
.data-table { width: 100%; min-width: 680px; border-collapse: collapse; }
.data-table th {
    text-align: left;
    padding: 11px 14px;
    border-bottom: 1px solid #cfd6da;
    color: #6d7981;
    background: #f4f6f7;
    font-size: 11px;
    font-weight: 600;
}
.data-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--admin-border);
    color: #344149;
    font-size: 13px;
}
.data-table tbody tr:nth-child(even) { background: #fbfcfc; }
.data-table tbody tr:hover { background: #f0f5f7; }
.data-table .actions { white-space: nowrap; display: flex; gap: 4px; }
.data-table .actions form { display: inline; }
.empty-cell { text-align: center; color: var(--admin-text-light); padding: 40px !important; }

.article-title-link {
    display: inline-block;
    max-width: 400px;
    overflow: hidden;
    color: #25343c;
    font-weight: 600;
    text-overflow: ellipsis;
    white-space: nowrap;
    vertical-align: middle;
    text-decoration: none;
}
.article-title-link:hover { color: var(--admin-primary); }
.view-link { margin-left: 6px; font-size: .8rem; opacity: .5; }
.view-link:hover { opacity: 1; }

.status-published { color: var(--admin-success); font-weight: 600; }
.status-draft { color: var(--admin-warning); font-weight: 600; }
.status-scheduled { color: #6b46c1; font-weight: 600; }
.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    background: #edf2f7;
    color: var(--admin-text-light);
    font-size: .8rem;
}

/* ---- Forms ---- */
.form-group { margin-bottom: 15px; }
.form-group label {
    display: block;
    margin-bottom: 6px;
    color: #3b4850;
    font-size: 12px;
    font-weight: 600;
}
.required { color: var(--admin-danger); }
.form-hint {
    margin: 4px 0 0;
    color: #849097;
    font-size: 11px;
    line-height: 1.55;
}
.media-upload-grid { align-items: start; }
.media-preview {
    width: 96px;
    height: 96px;
    margin-bottom: 8px;
    border: 1px solid #cfd6da;
    background: #f4f6f7;
    overflow: hidden;
}
.media-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.media-preview-qr {
    width: 120px;
    height: 120px;
}
.media-preview-qr img { object-fit: contain; background: #fff; padding: 6px; }
.form-check {
    display: flex;
    align-items: center;
    gap: 6px;
    margin: 0 0 8px;
    font-size: 12px;
    color: #5a6770;
}
.form-check input { width: auto; min-height: 0; }

.form-input, .form-select, .form-textarea,
.form-input-sm, .form-select-sm {
    width: 100%;
    min-height: 36px;
    padding: 8px 10px;
    border: 1px solid #cfd6da;
    border-radius: 3px;
    color: #27353d;
    background: #fff;
    font-size: 13px;
    font-family: inherit;
    transition: border-color .2s, box-shadow .2s;
}
.form-input-sm, .form-select-sm { width: auto; padding: 6px 10px; font-size: .85rem; }
.form-textarea { line-height: 1.65; resize: vertical; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: #54788b;
    box-shadow: 0 0 0 3px rgba(30, 61, 79, .1);
}
.form-input-lg { padding: 12px 16px; font-size: 1.1rem; font-weight: 600; }
.form-textarea-lg {
    min-height: 400px;
    font-family: Consolas, Monaco, monospace;
    font-size: .9rem;
    line-height: 1.6;
}
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 18px; }
.form-two-col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 20px;
    align-items: start;
}
.form-col-side { display: flex; flex-direction: column; gap: 16px; }
.form-card {
    padding: 16px;
    border: 1px solid var(--admin-border);
    border-radius: 3px;
    background: #f7f9f9;
}
.form-card h4 {
    margin: 0 0 12px;
    color: var(--admin-primary);
    font-size: .9rem;
}
.form-actions {
    position: sticky;
    bottom: 0;
    z-index: 10;
    display: flex;
    gap: 10px;
    margin: 18px -28px -48px;
    padding: 14px 28px;
    border-top: 1px solid var(--admin-border);
    box-shadow: 0 -6px 18px rgba(18, 31, 40, .05);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(8px);
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    min-height: 34px;
    padding: 7px 14px;
    border: 1px solid var(--admin-border);
    border-radius: 3px;
    background: #fff;
    color: var(--admin-text);
    font-size: 12px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
}
.btn:hover { background: #f4f6f7; }
.btn-sm { padding: 5px 12px; font-size: .8rem; min-height: 30px; }
.btn-lg { padding: 12px 28px; font-size: 1rem; }
.btn-primary {
    background: var(--admin-primary);
    color: #fff;
    border-color: var(--admin-primary);
}
.btn-primary:hover {
    background: #243d5c;
    border-color: #243d5c;
    color: #fff;
}
.btn-danger {
    background: #fff;
    color: var(--admin-danger);
    border-color: #cfa8a4;
}
.btn-danger:hover { background: var(--admin-danger); color: #fff; }
.btn-success {
    background: var(--admin-success);
    color: #fff;
    border-color: var(--admin-success);
}
.btn-success:hover { background: #276b54; color: #fff; }
.btn-block { width: 100%; display: block; text-align: center; }

.pagination-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    color: var(--admin-text-light);
    font-size: .9rem;
}

.content-two-col {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: start;
}
.admin-content-narrow { max-width: 700px; }
.password-page { max-width: 960px; }
.password-page-header { display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:18px;padding-bottom:18px;border-bottom:1px solid var(--admin-border); }
.password-eyebrow { margin:0 0 5px;color:#a33a32;font-size:11px;font-weight:700; }
.password-page-header h1 { margin:0 0 7px;color:#26343c;font-size:24px;letter-spacing:0; }
.password-page-header p { margin:0;color:var(--admin-text-light);font-size:13px; }
.password-account { min-width:180px;padding-left:18px;border-left:2px solid #a33a32; }
.password-account span,.password-account small { display:block;color:var(--admin-text-light);font-size:11px; }
.password-account strong { display:block;margin:3px 0;color:#26343c;font-size:15px; }
.password-layout { display:grid;grid-template-columns:minmax(0,1fr) 280px;gap:18px;align-items:start; }
.password-form-panel form { padding:20px; }
.password-input-wrap { position:relative; }
.password-input-wrap .form-input { min-height:42px;padding-right:58px; }
.password-toggle { position:absolute;top:1px;right:1px;height:40px;padding:0 12px;border:0;border-left:1px solid var(--admin-border);color:#54788b;background:transparent;font:inherit;font-size:11px;cursor:pointer; }
.password-toggle:hover { background:#f4f6f7; }
.password-divider { height:1px;margin:20px 0;background:var(--admin-border); }
.password-strength { display:flex;align-items:center;gap:10px;margin-top:8px;color:#849097;font-size:11px; }
.password-strength-bar { width:120px;height:4px;overflow:hidden;background:#e4e9eb; }
.password-strength-bar i { display:block;width:0;height:100%;background:#a33a32;transition:width .2s,background .2s; }
.strength-1 .password-strength-bar i { width:25%; }.strength-2 .password-strength-bar i { width:50%; }.strength-3 .password-strength-bar i { width:75%;background:#b7791f; }.strength-4 .password-strength-bar i { width:100%;background:var(--admin-success); }
.password-match { min-height:17px;margin:5px 0 0;font-size:11px; }.password-match.valid { color:var(--admin-success); }.password-match.invalid { color:var(--admin-danger); }
.password-actions { display:flex;gap:8px;margin-top:22px; }.password-actions .btn { min-width:100px;text-align:center; }.password-actions .btn:disabled { cursor:not-allowed;opacity:.5; }
.password-rules { padding:18px;border:1px solid var(--admin-border);background:#f7f9f9; }
.password-rules h2 { margin:0 0 14px;color:#26343c;font-size:14px; }.password-rules ul { margin:0;padding:0;list-style:none; }
.password-rules li { display:flex;align-items:center;gap:8px;margin:10px 0;color:#67747c;font-size:12px; }
.password-rules li span { width:8px;height:8px;border:1px solid #9ba6ac;background:#fff; }.password-rules li.valid { color:var(--admin-success); }.password-rules li.valid span { border-color:var(--admin-success);background:var(--admin-success); }
.password-rules p { margin:16px 0 0;padding-top:14px;border-top:1px solid var(--admin-border);color:#849097;font-size:11px;line-height:1.7; }
@media (max-width:760px) { .password-page-header { align-items:flex-start;flex-direction:column; }.password-account { width:100%; }.password-layout { grid-template-columns:1fr; } }

.content-tabs { gap: 0 !important; border-bottom: 1px solid var(--admin-border); }
.content-tab {
    padding: 10px 18px !important;
    border-radius: 0 !important;
    color: #6c7880 !important;
    background: transparent !important;
    font-size: 12px !important;
}
.content-tab.active {
    color: #2c4a6e !important;
    border-bottom: 2px solid #a33a32 !important;
    background: #fff !important;
}
.content-panel {
    border-radius: 0 4px 4px 4px !important;
    box-shadow: none !important;
}

/* ---- Editor ---- */
.editor-toolbar {
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
    padding: 6px 8px;
    background: #f3f5f6;
    border: 1px solid var(--admin-border);
    border-bottom: none;
    border-radius: 3px 3px 0 0;
}
.editor-toolbar button {
    padding: 5px 10px;
    border: 1px solid transparent;
    background: transparent;
    border-radius: 3px;
    cursor: pointer;
    font-size: .85rem;
    color: var(--admin-text);
    white-space: nowrap;
    transition: all .15s;
}
.editor-toolbar button:hover {
    background: #e2e8f0;
    border-color: #cbd5e0;
}
.toolbar-sep {
    width: 1px;
    height: 20px;
    margin: 0 4px;
    background: var(--admin-border);
}
#btnAIAssist { margin-left: auto !important; }
#btnPreview { font-weight: 600; }
.editor-toolbar + .form-textarea-lg {
    border-radius: 0 0 3px 3px;
    border-top: 1px solid var(--admin-border);
}
.editor-preview {
    min-height: 400px;
    max-height: 80vh;
    overflow-y: auto;
    background: #fff;
}

.settings-form .panel > .form-grid,
.settings-form .panel > .form-group {
    margin-right: 17px;
    margin-left: 17px;
}
.settings-form .panel > .form-grid:first-of-type,
.settings-form .panel > .form-group:first-of-type { margin-top: 16px; }
.settings-form .panel > .form-grid:last-child,
.settings-form .panel > .form-group:last-child { margin-bottom: 16px; }

/* ---- Site monitor cards ---- */
.monitor-row {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding: 14px 18px;
}
.monitor-meta { flex: 1; min-width: 160px; }
.monitor-meta strong { display: block; font-size: .95rem; }
.monitor-meta small { color: var(--admin-text-light); font-size: .78rem; }
.monitor-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: .82rem;
}
.monitor-stats > div { text-align: center; min-width: 52px; }
.monitor-stats strong { display: block; font-weight: 700; }
.monitor-stats span { color: var(--admin-text-light); font-size: .75rem; }
.panel.has-error { border-left: 4px solid var(--admin-danger); }

/* ---- Responsive ---- */
@media (max-width: 1080px) {
    .admin-shell { grid-template-columns: 190px minmax(0, 1fr); }
    .admin-main { padding-right: 20px; padding-left: 20px; }
    .breadcrumb-bar, .flash-container { padding-right: 20px; padding-left: 20px; }
    .form-actions { margin-right: -20px; margin-left: -20px; padding-right: 20px; padding-left: 20px; }
    .stat-cards, .stat-cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .form-two-col, .content-two-col, .form-grid { grid-template-columns: 1fr; }
    .data-table { font-size: .8rem; }
    .data-table th, .data-table td { padding: 8px; }
    .article-title-link { max-width: 200px; }
}

@media (max-width: 760px) {
    .admin-shell { display: block; }
    .admin-topbar { position: sticky; height: auto; overflow: visible; }
    .topbar-inner {
        min-height: 0;
        padding: 9px 12px;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .topbar-brand { margin: 0; padding: 0; border: 0; }
    .topbar-brand > span { width: 30px; height: 30px; }
    .topbar-brand small { display: none; }
    .topbar-nav {
        overflow-x: auto;
        flex-direction: row;
        align-items: center;
    }
    .topbar-nav > .nav-item { padding: 7px 9px; }
    .topbar-nav > .nav-item > span { display: none; }
    .topbar-right { display: none; }
    .admin-main { padding: 16px 14px 34px; }
    .breadcrumb-bar, .flash-container { padding-right: 14px; padding-left: 14px; }
    .form-actions {
        margin-right: -14px;
        margin-bottom: -34px;
        margin-left: -14px;
        padding-right: 14px;
        padding-left: 14px;
    }
}

@media (max-width: 500px) {
    .stat-cards, .stat-cards-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .stat-card { min-height: 90px; padding: 15px; }
    .stat-num { font-size: 1.35rem; }
    .topbar-brand strong { display: none; }
    .toolbar { flex-direction: column; align-items: flex-start; }
    .toolbar-left { flex-direction: column; align-items: flex-start; }
}

/* ---- 法律法规库 ---- */
.law-library .law-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
    padding: 18px 20px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background:
        linear-gradient(120deg, rgba(44, 74, 110, .06), transparent 55%),
        #fff;
}
.law-hero-text p {
    margin: 6px 0 0;
    color: var(--admin-text-light);
    font-size: .9rem;
}
.law-hero-actions { display: flex; gap: 8px; flex-shrink: 0; }
.law-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: 18px;
    align-items: start;
}
.law-toolbar-panel { padding: 14px 16px; }
.law-search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}
.law-search-form .form-input { flex: 1; }
.law-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.law-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    background: #fff;
    color: var(--admin-text);
    font-size: .82rem;
    transition: background .15s var(--ease), border-color .15s var(--ease), color .15s var(--ease);
}
.law-chip em {
    font-style: normal;
    color: var(--admin-text-light);
    font-variant-numeric: tabular-nums;
}
.law-chip:hover { border-color: var(--admin-primary); color: var(--admin-primary); }
.law-chip.active {
    background: var(--admin-primary);
    border-color: var(--admin-primary);
    color: #fff;
}
.law-chip.active em { color: rgba(255,255,255,.8); }
.law-list { display: flex; flex-direction: column; gap: 10px; }
.law-card {
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.law-card.is-editing { outline: 2px solid rgba(44, 74, 110, .35); }
.law-card-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px 8px;
    border-bottom: 1px solid #eef2f4;
}
.law-card-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.law-index {
    min-width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 4px;
    background: #f0f4f7;
    color: var(--admin-text-light);
    font-size: .78rem;
    font-weight: 700;
}
.law-name {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--admin-primary);
}
.law-article {
    color: #8f7340;
    font-weight: 700;
    font-size: .92rem;
}
.law-date {
    color: var(--admin-text-light);
    font-size: .78rem;
}
.law-card-actions {
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}
.law-card-actions form { display: inline; margin: 0; }
.law-card-full {
    padding: 0 14px;
    color: var(--admin-text-light);
    font-size: .78rem;
}
.law-card-body {
    padding: 8px 14px 14px;
}
.law-content {
    margin: 0;
    line-height: 1.75;
    font-size: .92rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.law-card-body.is-open .law-content {
    display: block;
    -webkit-line-clamp: unset;
    overflow: visible;
}
.law-expand {
    display: block;
    width: 100%;
    border: 0;
    border-top: 1px solid #eef2f4;
    background: #fafbfc;
    color: var(--admin-primary);
    padding: 8px;
    font-size: .8rem;
    cursor: pointer;
}
.law-expand:hover { background: #f3f6f8; }
.law-form { padding: 14px 16px 16px; }
.law-form .req { color: var(--admin-danger); }
.law-stats-table { font-size: .86rem; }
.law-stats-sub {
    margin-top: 2px;
    color: var(--admin-text-light);
    font-size: .72rem;
    line-height: 1.3;
}
.law-help-body {
    padding: 12px 16px 16px;
    font-size: .85rem;
    line-height: 1.75;
    color: var(--admin-text);
}
.law-help-body ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--admin-text-light);
}
.law-help-body li { margin: 2px 0; }

@media (max-width: 980px) {
    .law-layout { grid-template-columns: 1fr; }
    .law-hero { flex-direction: column; align-items: flex-start; }
}

/* ---- 新建站点 ---- */
.create-site-page .create-hero {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
    padding: 22px 24px;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    background:
        linear-gradient(135deg, rgba(44, 74, 110, .09) 0%, transparent 42%),
        linear-gradient(320deg, rgba(197, 154, 46, .08) 0%, transparent 40%),
        #fff;
    box-shadow: var(--admin-shadow);
    animation: createIn .45s var(--ease) both;
}
@keyframes createIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: none; }
}
.create-eyebrow {
    margin: 0 0 6px;
    color: #8f7340;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
}
.create-hero-text p {
    margin: 8px 0 0;
    max-width: 36em;
    color: var(--admin-text-light);
    font-size: .92rem;
    line-height: 1.6;
}
.create-hero-steps {
    display: flex;
    flex-shrink: 0;
    border: 1px solid var(--admin-border);
    border-radius: 999px;
    overflow: hidden;
    background: #f7f9fb;
}
.create-hero-steps span {
    padding: 8px 14px;
    font-size: .76rem;
    color: var(--admin-text-light);
    border-right: 1px solid var(--admin-border);
}
.create-hero-steps span:last-child { border-right: 0; }
.create-hero-steps span.is-on {
    background: var(--admin-primary);
    color: #fff;
    font-weight: 600;
}
.create-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(270px, .88fr);
    gap: 18px;
    align-items: start;
}
.create-section {
    margin-bottom: 14px;
    overflow: hidden;
    transition: box-shadow .2s var(--ease);
}
.create-section:hover { box-shadow: 0 10px 28px rgba(12, 24, 33, .07); }
.create-section-focus {
    border-color: rgba(44, 74, 110, .28);
    box-shadow: 0 10px 28px rgba(44, 74, 110, .08);
}
.create-section .panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    padding-right: 22px;
    padding-left: 22px;
}
.create-section .panel-header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
}
.step-no {
    display: inline-grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--admin-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 700;
    font-family: var(--font-ui);
}
.panel-header-actions { display: flex; gap: 8px; }
.create-body {
    padding: 18px 22px 20px;
}
.create-body .form-grid {
    gap: 16px 20px;
}
.create-body .form-group:last-child { margin-bottom: 0; }
.create-body .form-input,
.create-body .form-textarea,
.create-body .form-select,
.spec-picker .form-input,
.spec-picker .form-textarea {
    padding-right: 14px;
    padding-left: 14px;
}
.create-theme-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 18px;
}
.create-color {
    display: flex;
    align-items: center;
    gap: 8px;
}
.create-color input[type="color"] {
    width: 42px;
    height: 36px;
    padding: 0;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}
.create-actions {
    display: flex;
    gap: 10px;
    margin: 10px 0 28px;
    padding: 16px 22px;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    background: #fff;
}
.create-region-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 12px;
}
.create-region-options label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 9px;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    background: #fff;
    color: var(--admin-text);
    font-size: 12px;
    cursor: pointer;
}
.create-region-options label:has(input:checked) {
    border-color: var(--admin-primary-light);
    background: #eef5fb;
    color: var(--admin-primary);
}
.integration-state {
    margin-bottom: 8px;
    color: var(--admin-text-light);
    font-size: 12px;
}
.integration-state.is-ok { color: #25734a; }
.integration-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 8px;
}
.create-city-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.city-chip {
    padding: 4px 10px;
    border-radius: 999px;
    background: #eef3f6;
    color: var(--admin-text);
    font-size: .75rem;
}
.city-chip.more { background: #e4eaee; color: var(--admin-text-light); }
.create-side .sticky-preview { position: sticky; top: 16px; }
.create-preview .panel-header {
    padding-right: 20px;
    padding-left: 20px;
}
.create-preview-card {
    margin: 14px 20px;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    overflow: hidden;
    background:
        linear-gradient(180deg, #fbfcfd 0%, #fff 40%);
}
.preview-bar { height: 5px; background: linear-gradient(90deg, #2c4a6e, #c59a2e); }
.preview-body { padding: 18px 16px 16px; }
.preview-kicker {
    margin-bottom: 6px;
    color: #8f7340;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .14em;
}
.preview-brand {
    font-family: var(--font-display);
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--admin-primary);
    line-height: 1.3;
}
.preview-tag {
    display: inline-block;
    margin-top: 10px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--admin-primary);
    color: #fff;
    font-size: .74rem;
}
.preview-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px dashed #e3e9ed;
}
.preview-meta span {
    display: block;
    color: var(--admin-text-light);
    font-size: .7rem;
}
.preview-meta strong {
    display: block;
    margin-top: 3px;
    font-size: .84rem;
    word-break: break-all;
    font-weight: 600;
}
.create-checklist {
    margin: 0 20px 16px;
    padding: 12px 4px 4px 18px;
    border-top: 1px solid #eef2f4;
    color: var(--admin-text-light);
    font-size: .82rem;
    line-height: 1.75;
}
.create-site-page .req { color: var(--admin-danger); }

/* 专业领域选择器 */
.spec-picker { padding: 16px 22px 20px; }
.spec-custom-box {
    margin-top: 16px;
    padding: 14px 16px;
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
    background: #f8fafc;
}
.spec-custom-title {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 4px;
    color: #1e293b;
}
.spec-tabs {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-bottom: 12px;
}
.spec-tab {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    min-height: 64px;
    padding: 12px 14px 10px;
    border: 1px solid var(--admin-border);
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
    color: var(--admin-text);
    text-align: left;
    transition: border-color .15s var(--ease), background .15s var(--ease), transform .15s var(--ease);
}
.spec-tab:hover {
    border-color: rgba(44, 74, 110, .45);
    transform: translateY(-1px);
}
.spec-tab.active {
    background: linear-gradient(160deg, #2c4a6e 0%, #3a5f88 100%);
    border-color: #2c4a6e;
    color: #fff;
    box-shadow: 0 8px 18px rgba(44, 74, 110, .22);
}
.spec-tab-label {
    font-family: var(--font-display);
    font-size: .95rem;
    font-weight: 700;
}
.spec-tab em.spec-tab-count {
    font-style: normal;
    font-size: .72rem;
    opacity: .7;
    font-variant-numeric: tabular-nums;
}
.spec-tab.active em.spec-tab-count { opacity: .85; color: #fff; }
.spec-type-hint {
    margin: 0 0 12px;
    padding: 10px 14px;
    border-left: 3px solid #c59a2e;
    background: #faf8f3;
    color: var(--admin-text-light);
    font-size: .82rem;
    line-height: 1.5;
}
.spec-cascade {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 16px;
    margin-bottom: 12px;
    padding: 14px 16px;
    border: 1px solid #e8eef2;
    border-radius: 6px;
    background: #f8fafb;
}
.spec-cascade .spec-level { margin: 0; }
.spec-cascade label {
    display: block;
    margin-bottom: 5px;
    padding-left: 2px;
    font-size: .78rem;
    font-weight: 700;
    color: #5a6872;
}
.spec-cascade .form-input {
    background: #fff;
    border-color: #d0d9e0;
    padding-right: 14px;
    padding-left: 14px;
}
.spec-search-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}
.spec-search-row .form-input { flex: 1; }
.spec-count {
    font-size: .78rem;
    color: var(--admin-text-light);
    white-space: nowrap;
    padding-right: 2px;
}
.spec-selected {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 16px;
    border: 1px solid #d5e3ef;
    border-radius: 6px;
    background:
        linear-gradient(120deg, rgba(44, 74, 110, .06), transparent 55%),
        #f5f9fc;
}
.spec-selected-main {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    min-width: 0;
    padding-right: 4px;
}
.spec-type-badge {
    flex-shrink: 0;
    display: inline-block;
    margin-top: 2px;
    padding: 2px 9px;
    border-radius: 999px;
    background: var(--admin-primary);
    color: #fff;
    font-size: .72rem;
}
.spec-selected-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: var(--admin-primary);
}
.spec-crumb {
    margin-top: 3px;
    color: var(--admin-text-light);
    font-size: .76rem;
    line-height: 1.45;
    word-break: break-all;
}

@media (max-width: 980px) {
    .create-layout { grid-template-columns: 1fr; }
    .create-hero { flex-direction: column; align-items: flex-start; }
    .create-side .sticky-preview { position: static; }
    .spec-tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
    .spec-cascade { grid-template-columns: 1fr; }
    .create-theme-row { grid-template-columns: 1fr; }
    .create-hero-steps { display: none; }
    .spec-selected { flex-direction: column; align-items: stretch; }
}

/* ---- Category management ---- */
.cat-page { animation: catPageIn .45s var(--ease) both; }
@keyframes catPageIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: none; }
}
.cat-hero {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 16px;
    padding: 22px 24px;
    border: 1px solid var(--admin-border);
    border-radius: var(--admin-radius);
    background:
        radial-gradient(420px 160px at 100% 0%, rgba(184, 151, 90, .14), transparent 60%),
        linear-gradient(135deg, #fff 0%, #f6f8fa 100%);
}
.cat-hero .admin-page-title { margin: 0 0 6px; }
.cat-eyebrow {
    margin: 0 0 6px;
    color: #8f7340;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}
.cat-hero-lead {
    margin: 0;
    max-width: 420px;
    color: var(--admin-text-light);
    font-size: .88rem;
    line-height: 1.55;
}
.cat-hero-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}
.cat-meta-chip {
    display: inline-flex;
    flex-direction: column;
    gap: 2px;
    min-width: 88px;
    padding: 10px 14px;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    background: rgba(255, 255, 255, .88);
    color: var(--admin-text);
    font-size: .88rem;
    font-weight: 600;
}
.cat-meta-chip em {
    font-style: normal;
    color: var(--admin-text-light);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .04em;
}
.cat-meta-chip.accent {
    border-color: color-mix(in srgb, #b8975a 45%, var(--admin-border));
    background: linear-gradient(160deg, #fffaf0, #fff);
}
.cat-meta-chip.accent strong {
    color: #8f7340;
    font-size: 1.15rem;
    font-family: var(--font-display);
}

.cat-layout { align-items: start; }
.cat-list-panel .panel-header {
    flex-wrap: wrap;
    gap: 10px;
}
.cat-list-panel .panel-header-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}
.cat-filter input {
    width: 180px;
    height: 32px;
    padding: 0 12px 0 32px;
    border: 1px solid var(--admin-border);
    border-radius: 4px;
    background:
        #fff
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2384919a' stroke-width='1.6'%3E%3Ccircle cx='6.5' cy='6.5' r='4.5'/%3E%3Cpath d='M10 10l2.5 2.5'/%3E%3C/svg%3E")
        10px 50% / 14px no-repeat;
    font: inherit;
    font-size: 12px;
    outline: none;
    transition: border-color .2s, box-shadow .2s;
}
.cat-filter input:focus {
    border-color: var(--admin-primary-light);
    box-shadow: 0 0 0 3px rgba(61, 98, 143, .12);
}
.cat-table-wrap { width: 100%; overflow: visible; }
.cat-table { width: 100%; table-layout: fixed; }
.cat-table th,
.cat-table td { overflow-wrap: anywhere; }
.cat-table .actions {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.cat-row {
    animation: catRowIn .4s var(--ease) both;
    animation-delay: calc(var(--i, 0) * 22ms);
}
@keyframes catRowIn {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: none; }
}
.cat-row[hidden] { display: none; }
.cat-col-check { width: 40px; }
.cat-col-idx { width: 48px; }
.cat-col-sort { width: 64px; }
.cat-idx {
    display: inline-grid;
    place-items: center;
    min-width: 28px;
    height: 22px;
    padding: 0 6px;
    border-radius: 3px;
    background: #eef3f7;
    color: #5a6d7a;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .04em;
}
.cat-name {
    color: #1f303a;
    font-family: var(--font-display);
    font-size: .98rem;
    font-weight: 700;
}
.cat-slug {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    background: #f1f4f6;
    color: #5b6b75;
    font-size: 12px;
}
.cat-desc {
    max-width: 260px;
    color: var(--admin-text-light);
    font-size: 12px;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.cat-sort-pill {
    display: inline-block;
    min-width: 28px;
    padding: 2px 8px;
    border-radius: 999px;
    background: #edf2f7;
    color: #4a5568;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}
.cat-empty,
.cat-empty-filter {
    margin: 0;
    padding: 48px 24px;
    text-align: center;
    color: var(--admin-text-light);
}
.cat-empty strong {
    display: block;
    margin-bottom: 8px;
    color: var(--admin-primary);
    font-family: var(--font-display);
    font-size: 1.1rem;
}
.cat-empty p { margin: 0; font-size: .9rem; line-height: 1.6; }
.cat-empty-filter { border-top: 1px solid var(--admin-border); }

.cat-form-panel {
    position: sticky;
    top: 16px;
    transition: border-color .25s, box-shadow .25s;
}
.cat-form-panel.is-editing {
    border-color: color-mix(in srgb, #b8975a 50%, var(--admin-border));
    box-shadow: 0 10px 28px rgba(143, 115, 64, .08);
}
.cat-form {
    padding: 18px 18px 8px;
}
.cat-desc-input {
    min-height: 84px;
    resize: vertical;
    line-height: 1.55;
}
.cat-sort-input { max-width: 120px; }
.cat-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
    padding-bottom: 8px;
}
.cat-tips {
    margin: 0 18px 18px;
    padding: 14px 16px;
    border: 1px dashed color-mix(in srgb, #b8975a 40%, var(--admin-border));
    border-radius: 4px;
    background: linear-gradient(160deg, #fffdf8, #fafbfb);
}
.cat-tips ul {
    margin: 8px 0 0;
    padding-left: 18px;
    color: var(--admin-text-light);
    font-size: 12px;
    line-height: 1.7;
}
.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}

@media (max-width: 960px) {
    .cat-hero { flex-direction: column; align-items: stretch; }
    .cat-hero-meta { justify-content: flex-start; }
    .cat-form-panel { position: static; }
    .cat-filter input { width: 140px; }
}

@media (max-width: 700px) {
    .cat-table .cat-col-idx,
    .cat-table td:nth-child(2),
    .cat-table th:nth-child(5),
    .cat-table .cat-desc { display: none; }
    .cat-table th:nth-child(3) { width: 24%; }
    .cat-table th:nth-child(4) { width: 27%; }
    .cat-table th:last-child { width: 94px; }
    .cat-table .actions .btn { width: 100%; padding-inline: 6px; }
}
