body.ops-body {
    margin: 0;
    font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
    background:
        radial-gradient(circle at top right, rgba(87, 146, 255, 0.16), transparent 28%),
        linear-gradient(180deg, #f5f8fc 0%, #edf2f8 100%);
    color: #172033;
}

.ops-shell {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 260px 1fr;
}

.ops-sidebar {
    padding: 28px 22px;
    background: rgba(12, 24, 46, 0.95);
    color: #f7fbff;
    box-shadow: 8px 0 36px rgba(12, 24, 46, 0.18);
}

.ops-brand {
    margin-bottom: 26px;
}

.ops-brand h1 {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 1px;
}

.ops-brand p {
    margin: 10px 0 0;
    color: rgba(255, 255, 255, 0.72);
    line-height: 1.7;
    font-size: 13px;
}

.ops-nav {
    display: grid;
    gap: 10px;
}

.ops-nav button {
    border: 0;
    border-radius: 14px;
    padding: 13px 16px;
    color: #dce8ff;
    background: rgba(255, 255, 255, 0.06);
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    transition: .2s ease;
}

.ops-nav button.active,
.ops-nav button:hover {
    background: linear-gradient(135deg, #5d8eff 0%, #2b64e3 100%);
    color: #fff;
}

.ops-sidebar .ops-foot {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
    color: rgba(255, 255, 255, 0.72);
}

.ops-main {
    padding: 26px 30px 40px;
}

.ops-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    margin-bottom: 24px;
}

.ops-title h2 {
    margin: 0;
    font-size: 28px;
    line-height: 1.2;
}

.ops-title p {
    margin: 8px 0 0;
    color: #60708d;
    font-size: 14px;
}

.ops-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ops-chip,
.ops-button,
.ops-input,
.ops-select,
.ops-textarea {
    font: inherit;
}

.ops-chip {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: #e6efff;
    color: #2f5fd3;
    font-size: 13px;
}

.ops-button {
    border: 0;
    border-radius: 12px;
    padding: 11px 16px;
    background: linear-gradient(135deg, #244fbc 0%, #3776ff 100%);
    color: #fff;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease;
    box-shadow: 0 12px 26px rgba(55, 118, 255, 0.18);
}

.ops-button:hover {
    transform: translateY(-1px);
}

.ops-button.ghost {
    background: #fff;
    color: #24324e;
    border: 1px solid #d9e4f2;
    box-shadow: none;
}

.ops-button.warn {
    background: linear-gradient(135deg, #d85652 0%, #eb7d54 100%);
}

.ops-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.ops-stat,
.ops-panel,
.ops-login-card {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(210, 222, 238, 0.92);
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(21, 44, 81, 0.08);
}

.ops-stat {
    padding: 18px 18px 16px;
}

.ops-stat label {
    display: block;
    color: #697998;
    font-size: 13px;
}

.ops-stat strong {
    display: block;
    margin-top: 12px;
    font-size: 28px;
    color: #16233a;
}

.ops-panel {
    padding: 20px;
    margin-bottom: 20px;
}

.ops-panel h3 {
    margin: 0 0 14px;
    font-size: 18px;
}

.ops-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 12px;
    margin-bottom: 14px;
}

.ops-field label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    color: #5e6d8a;
}

.ops-input,
.ops-select,
.ops-textarea {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #d2dcec;
    border-radius: 12px;
    background: #fff;
    padding: 11px 12px;
    color: #1b2840;
}

.ops-textarea {
    min-height: 100px;
    resize: vertical;
}

.ops-table-wrap {
    overflow: auto;
}

.ops-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 880px;
}

.ops-table th,
.ops-table td {
    padding: 12px 10px;
    border-bottom: 1px solid #e8eef7;
    text-align: left;
    font-size: 13px;
    vertical-align: top;
}

.ops-table th {
    color: #5a6985;
    font-weight: 600;
    background: #f7faff;
}

.ops-tag {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.ops-tag.ok {
    background: #e9f8ee;
    color: #18794e;
}

.ops-tag.warn {
    background: #fff3df;
    color: #a25b00;
}

.ops-tag.danger {
    background: #ffe8e6;
    color: #c0392b;
}

.ops-inline-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.ops-inline-actions button {
    border: 0;
    border-radius: 10px;
    padding: 8px 11px;
    font-size: 12px;
    cursor: pointer;
    background: #eff4ff;
    color: #2457cc;
}

.ops-login-shell {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 24px;
}

.ops-login-wrap {
    width: min(1080px, 100%);
    display: grid;
    grid-template-columns: 1.12fr .88fr;
    gap: 22px;
}

.ops-login-hero {
    padding: 34px;
    border-radius: 28px;
    background:
        linear-gradient(145deg, rgba(30, 63, 136, 0.96) 0%, rgba(25, 44, 81, 0.98) 100%);
    color: #fff;
    box-shadow: 0 22px 48px rgba(11, 28, 61, 0.22);
}

.ops-login-hero h2 {
    margin: 0;
    font-size: 34px;
    line-height: 1.1;
}

.ops-login-hero p {
    margin: 14px 0 0;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.9;
}

.ops-login-cards {
    display: grid;
    gap: 18px;
}

.ops-login-card {
    padding: 24px;
}

.ops-login-card h3 {
    margin: 0 0 16px;
}

.ops-section-hidden {
    display: none;
}

.ops-tip {
    margin-top: 10px;
    color: #6d7c98;
    font-size: 12px;
    line-height: 1.7;
}

.ops-modal-mask {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(10, 18, 34, 0.42);
    backdrop-filter: blur(8px);
}

.ops-modal {
    width: min(520px, 100%);
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(214, 226, 240, 0.96);
    box-shadow: 0 22px 58px rgba(17, 34, 68, 0.18);
    overflow: hidden;
}

.ops-modal-head {
    padding: 20px 22px 0;
}

.ops-modal-head h4 {
    margin: 0;
    font-size: 20px;
}

.ops-modal-body {
    padding: 16px 22px 20px;
    color: #4d5d79;
    line-height: 1.8;
}

.ops-modal-foot {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 22px 22px;
}

.ops-auth-center-wrap {
    width: min(1180px, 100%);
}

.ops-auth-center-shell .ops-login-card {
    padding: 24px;
}

@media (max-width: 980px) {
    .ops-shell {
        grid-template-columns: 1fr;
    }

    .ops-sidebar {
        border-radius: 0 0 24px 24px;
    }

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

    .ops-topbar {
        flex-direction: column;
        align-items: flex-start;
    }
}
