/* 湖南区域智能组卷 · 天蓝教育风 */
:root {
    --ink: #0e6eb8;
    --ink-2: #1590d8;
    --sky: #1a8fd6;
    --sky-deep: #0b5f9a;
    --sky-soft: #e8f5fc;
    --gold: #3db4e6;
    --gold-2: #b8e4f7;
    --paper: #f4fafd;
    --page: #eef7fc;
    --card: #fff;
    --line: #d4e8f4;
    --text: #1a3348;
    --muted: #5a7a90;
    --green: #1a9a7a;
    --danger: #d64545;
    --shadow: 0 12px 40px rgba(14, 110, 184, 0.10);
}
html { scroll-behavior: smooth; }
body.paper-app {
    background: var(--page);
    color: var(--text);
    padding-top: 72px;
}
body.paper-app.page-home {
    background: #f4f8fc;
    padding-top: 56px;
}
.page-home .site-nav-inner { justify-content: space-between; }
.nav-left {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: 0;
}
.page-home .nav-note {
    margin: 0;
    padding: 0;
}
.page-home .btn-nav { margin-left: auto; flex-shrink: 0; }

.site-nav.navbar {
    min-height: 72px;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: var(--ink);
    box-shadow: none;
    border-bottom: 1px solid rgba(198, 163, 90, .22);
}
.site-nav-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    width: 100%;
    min-height: 72px;
    padding: 0 48px;
    flex-wrap: wrap;
}
.site-nav .navbar-toggle {
    margin: 16px 0 16px auto;
    border-color: rgba(255,255,255,.25);
    float: none;
}
.site-nav .navbar-toggle .icon-bar { background: #fff; }
.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 700;
    font-size: 17px;
    letter-spacing: .04em;
    white-space: nowrap;
    height: 72px;
    line-height: 72px;
}
.brand-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--gold);
    color: var(--ink);
    font-size: 16px;
    font-weight: 700;
    border-radius: 2px;
    line-height: 1;
}
.site-nav .brand-logo {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 28%;
    background: #fff;
    flex-shrink: 0;
}
.nav-note {
    margin-left: auto;
    color: rgba(255,255,255,.45);
    font-size: 13px;
    letter-spacing: .12em;
}
.btn-nav {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    padding: 0 18px;
    border: 1px solid var(--gold);
    background: transparent;
    color: var(--gold-2) !important;
    border-radius: 2px;
    font-size: 13px;
    letter-spacing: .12em;
    cursor: pointer;
    text-decoration: none !important;
}
.btn-nav:hover {
    background: var(--gold);
    color: var(--ink) !important;
}
.site-nav .navbar-collapse {
    border: 0;
    box-shadow: none;
    width: 100%;
}
.site-nav .navbar-nav { margin: 0; }
@media (min-width: 768px) {
    .site-nav .navbar-collapse {
        display: flex !important;
        flex: 1;
        width: auto;
        align-items: center;
    }
    .site-nav .navbar-nav.navbar-right { margin-left: auto; }
}
.nav-link {
    color: rgba(255,255,255,.78) !important;
    height: 72px;
    line-height: 72px;
    padding: 0 16px;
    font-size: 14px;
    text-decoration: none !important;
    white-space: nowrap;
}
.nav-link:hover { color: #fff !important; }
.site-nav .nav > li > a {
    color: rgba(255,255,255,.78) !important;
    background: none;
    border: 0;
    height: 72px;
    line-height: 72px;
    padding: 0 16px;
    font-size: 14px;
}
.site-nav .nav > li > a:hover,
.site-nav .nav > li.active > a {
    color: #fff !important;
    background: transparent !important;
}
.nav-user {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
    height: 72px;
    flex-shrink: 0;
}
.nav-name {
    color: rgba(255,255,255,.82);
    font-size: 14px;
    white-space: nowrap;
}
.nav-logout { margin: 0; }
.nav-logout button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    line-height: 30px;
    padding: 0 14px;
    border: 1px solid rgba(255,255,255,.35);
    background: transparent;
    color: #fff;
    border-radius: 2px;
    font-size: 13px;
    cursor: pointer;
}
.nav-logout button:hover {
    border-color: var(--gold);
    color: var(--gold);
}
.site-nav-inner .btn-nav { margin-left: auto; }
.dropdown-menu .nav-logout button {
    height: auto;
    line-height: 1.4;
    padding: 10px 15px;
    text-align: left;
    color: #444 !important;
}

.site-content {
    padding: 36px 48px 64px !important;
    width: 100%;
}
.site-page { width: 100%; }

.page-head { margin-bottom: 28px; }
.page-head h1 {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 700;
    color: var(--ink);
    letter-spacing: .04em;
}
.page-head p { margin: 0; color: var(--muted); font-size: 15px; }

.panel-block {
    background: var(--card);
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 28px 32px;
    margin-bottom: 22px;
    box-shadow: var(--shadow);
}
.panel-head h2,
.progress-copy h2,
.panel-block h2 {
    margin: 0 0 8px;
    font-size: 20px;
    color: var(--ink);
    font-weight: 700;
}
.panel-head p,
.progress-copy p {
    margin: 0 0 18px;
    color: var(--muted);
    line-height: 1.7;
}
.kicker {
    display: inline-block;
    font-size: 12px;
    letter-spacing: .2em;
    color: var(--gold);
    font-weight: 700;
    margin-bottom: 10px;
}
.progress-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    background: linear-gradient(115deg, #0c2340 0%, #1a446c 100%);
    border: 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.progress-block:after {
    content: "";
    position: absolute;
    right: -40px;
    top: -40px;
    width: 180px;
    height: 180px;
    border: 1px solid rgba(198,163,90,.25);
    transform: rotate(18deg);
}
.progress-copy h2 { color: #fff; }
.progress-copy p { color: rgba(255,255,255,.7); margin-bottom: 0; }
.progress-block form { margin: 0; flex-shrink: 0; z-index: 1; }

.form-stack { display: grid; gap: 22px; }
.chapter-select {
    width: 100%;
    min-height: 48px;
    height: auto !important;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.5;
}
.chapter-full {
    margin: 10px 0 0;
    color: var(--ink);
    font-size: 13px;
    line-height: 1.6;
}
.field-block label,
.field span {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 8px;
    font-weight: 600;
    letter-spacing: .06em;
}
.paper-app .form-control {
    height: 46px;
    border-radius: 4px;
    border-color: #d5dce4;
    box-shadow: none;
}
.paper-app .form-control:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198,163,90,.18);
}
.form-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 6px;
    flex-wrap: wrap;
}
.hint { color: var(--muted); font-size: 13px; }

.btn-main,
.btn-login,
.btn-hero {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    background: var(--ink);
    color: #fff;
    height: 46px;
    padding: 0 26px;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .08em;
    cursor: pointer;
}
.btn-main:hover,
.btn-login:hover,
.btn-hero:hover { background: #163656; color: #fff; }
.btn-main-green { background: var(--green); }
.btn-main-green:hover { background: #21564d; }
.btn-ghost {
    background: transparent;
    color: var(--ink);
    border: 1px solid var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-hero {
    background: var(--gold);
    color: var(--ink);
    height: 50px;
    min-width: 148px;
}
.btn-hero:hover { background: #d4b56c; color: var(--ink); }
.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    height: 50px;
    padding: 0 22px;
    color: rgba(255,255,255,.85) !important;
    border-bottom: 1px solid rgba(255,255,255,.35);
    text-decoration: none !important;
    letter-spacing: .08em;
}
.btn-hero-ghost:hover { color: #fff !important; border-bottom-color: var(--gold); }

.scene-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.scene-grid label { margin: 0; }
.scene-grid input { display: none; }
.scene-grid span {
    display: inline-block;
    padding: 9px 16px;
    border: 1px solid var(--line);
    border-radius: 2px;
    cursor: pointer;
    background: #f7f8fa;
    font-size: 13px;
}
.scene-grid input:checked + span {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.recent-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 14px;
}
.recent-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #fafbfc;
    color: var(--text);
    min-height: 92px;
}
.recent-item:hover {
    border-color: var(--gold);
    text-decoration: none;
    color: var(--ink);
    background: #fff;
}
.recent-title { font-weight: 600; }
.recent-meta { color: var(--muted); font-size: 12px; }

.toolbar-print {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-bottom: 18px;
}
.tb-group {
    display: flex;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    overflow: hidden;
}
.tb-link,
.tb-btn {
    display: inline-block;
    padding: 9px 16px;
    color: var(--text);
    background: #fff;
    border: 0;
    border-right: 1px solid var(--line);
    font-size: 13px;
    cursor: pointer;
}
.tb-group .tb-link:last-child,
.tb-group .tb-btn:last-child { border-right: 0; }
.toolbar-print > .tb-link {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
}
.tb-link:hover,
.tb-btn:hover { color: var(--ink); text-decoration: none; background: var(--paper); }
.tb-link.is-on,
.tb-btn.is-strong {
    background: var(--ink);
    color: #fff;
    border-color: var(--ink);
}

.paper-sheet {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 40px 56px 56px;
    box-shadow: var(--shadow);
}
.paper-sheet h2 {
    text-align: center;
    font-size: 20px;
    margin: 0 0 14px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: .06em;
}
.exam-school {
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .28em;
    color: #111;
    margin: 4px 0 8px;
    font-family: "SimHei", "黑体", "Microsoft YaHei", sans-serif;
}
.exam-info,
.exam-score {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 12px;
    font-size: 13px;
}
.exam-info td,
.exam-score th,
.exam-score td {
    border: 1px solid #222;
    padding: 7px 8px;
    text-align: center;
}
.exam-score th { font-weight: 700; background: #fafafa; }
.exam-total { min-width: 72px; }
.exam-sum {
    font-weight: 700;
    margin: 4px 0 18px;
    font-size: 15px;
}
.paper-meta {
    text-align: center;
    color: var(--muted);
    margin-bottom: 32px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--gold);
}
.slot-block {
    margin: 26px 0 12px;
    font-weight: 700;
    color: var(--ink);
    font-size: 16px;
}
.q-item { margin: 16px 0 20px; line-height: 1.85; }
.q-item .ops { white-space: pre-wrap; margin: 6px 0 0 1.6em; }
.q-item .ops img, .q-opt-img, .q-figs img { max-height: 88px; max-width: 160px; vertical-align: middle; margin: 0 8px 6px 0; border: 1px solid #e6dcc8; background: #fff; }
.q-actions { margin-top: 10px; display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.q-actions .reason {
    height: 32px;
    border: 1px solid var(--line);
    border-radius: 4px;
    padding: 0 8px;
    color: var(--muted);
}
.btn-mini {
    height: 32px;
    padding: 0 12px;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
}
.btn-mini:hover { border-color: var(--ink); color: var(--ink); }
.btn-mini-danger:hover { border-color: var(--danger); color: var(--danger); }
.answer-box {
    margin-top: 8px;
    padding: 8px 12px;
    background: #fff4f2;
    border-left: 3px solid var(--danger);
}
.answer-line { color: var(--danger); }
.q-note { color: var(--muted); font-size: 13px; }
.table-wrap { overflow-x: auto; }
.spec-table { width: 100%; border-collapse: collapse; }
.spec-table th, .spec-table td {
    border: 1px solid #d7dee6;
    padding: 10px 12px;
    font-size: 13px;
    text-align: left;
}
.spec-table th { background: #f7f8fa; color: var(--ink); }
.answer-blank {
    height: 28px;
    margin: 8px 0;
    border-bottom: 1px dashed #c5ced8;
}
.sheet-info {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 0 0 28px;
}
.sheet-info span {
    display: block;
    padding: 8px 0;
    border-bottom: 1px solid #1f2a37;
    color: var(--muted);
    font-size: 13px;
}
.sheet-q {
    display: flex;
    gap: 12px;
    margin: 0 0 16px;
    align-items: flex-start;
}
.sheet-no {
    width: 36px;
    font-weight: 700;
    color: var(--ink);
    padding-top: 2px;
}
.sheet-body { flex: 1; min-width: 0; }
.sheet-label { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.sheet-opt { display: flex; gap: 18px; margin-top: 8px; }
.sheet-opt i {
    width: 28px;
    height: 28px;
    border: 1px solid #1f2a37;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-style: normal;
    font-size: 13px;
}
.sheet-essay {
    margin-top: 8px;
    min-height: 160px;
    border: 1px solid #d5dce4;
    background: repeating-linear-gradient(#fff, #fff 27px, #e6e6e6 28px);
}
.duplex-back { page-break-before: always; margin-top: 24px; }

/* 首页 */
.home-hero {
    min-height: calc(100vh - 72px);
    display: flex;
    align-items: center;
    background:
        radial-gradient(900px 420px at 88% 12%, rgba(198,163,90,.16), transparent 55%),
        linear-gradient(165deg, #0c2340 0%, #123252 48%, #08182c 100%);
    padding: 64px 48px 80px;
}
.home-hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 420px);
    gap: 48px 56px;
    align-items: center;
    width: 100%;
}
.home-hero-inner { max-width: none; }
.home-hero-inner .btn-hero-ghost { margin-bottom: 48px; }
.home-hero-panel { width: 100%; }
.mock-sheet {
    background: #fff;
    color: var(--ink);
    padding: 36px 32px 32px;
    border-radius: 4px;
    box-shadow: 0 24px 60px rgba(0,0,0,.22);
    border-top: 3px solid var(--gold);
}
.mock-kicker {
    margin: 0 0 10px;
    color: #8a6d2f;
    letter-spacing: .2em;
    font-size: 12px;
    font-weight: 700;
}
.mock-sheet h3 {
    margin: 0 0 20px;
    font-size: 24px;
    line-height: 1.4;
}
.mock-list {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    color: var(--muted);
    line-height: 2;
}
.mock-list li {
    padding-left: 14px;
    border-left: 2px solid var(--gold);
    margin-bottom: 8px;
}
.home-hero-panel .btn-hero { width: 100%; }
.eyebrow {
    margin: 0 0 18px;
    color: var(--gold);
    letter-spacing: .28em;
    font-size: 12px;
    font-weight: 700;
}
.home-hero h1 {
    margin: 0 0 22px;
    font-size: 56px;
    line-height: 1.18;
    font-weight: 700;
    color: #fff;
    letter-spacing: .06em;
}
.home-hero .lead {
    max-width: 34em;
    margin: 0 0 36px;
    font-size: 17px;
    line-height: 1.9;
    color: rgba(255,255,255,.74);
}
.hero-actions {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-stats {
    list-style: none;
    display: flex;
    gap: 40px;
    margin: 0;
    padding: 24px 0 0;
    border-top: 1px solid rgba(198,163,90,.28);
}
.hero-stats li { color: rgba(255,255,255,.55); font-size: 13px; }
.hero-stats b {
    display: block;
    color: #fff;
    font-size: 28px;
    letter-spacing: .04em;
    margin-bottom: 4px;
}

.home-feats {
    background: var(--paper);
    padding: 72px 48px 80px;
    color: var(--text);
}
.home-wrap { width: 100%; }
.section-kicker {
    margin: 0 0 10px;
    color: #8a6d2f;
    letter-spacing: .22em;
    font-size: 12px;
    font-weight: 700;
}
.section-title {
    margin: 0 0 36px;
    font-size: 32px;
    color: var(--ink);
    font-weight: 700;
    letter-spacing: .06em;
}
.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.feat-card {
    background: #fff;
    padding: 28px 26px 30px;
    border-top: 3px solid var(--gold);
    box-shadow: var(--shadow);
    min-height: 210px;
}
.feat-num {
    display: block;
    color: var(--gold);
    letter-spacing: .16em;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 16px;
}
.feat-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    color: var(--ink);
}
.feat-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.8;
}
.scene-board {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 40px;
}
.scene-board span {
    padding: 8px 14px;
    border: 1px solid rgba(12,35,64,.15);
    color: var(--ink);
    font-size: 13px;
    background: rgba(255,255,255,.55);
}
.city-line {
    margin: 28px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.9;
}
.home-foot {
    background: #08182c;
    color: rgba(255,255,255,.4);
    padding: 22px 48px;
    font-size: 12px;
    letter-spacing: .06em;
}

.login-mask {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(8, 24, 44, .58);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.login-mask.is-open { display: flex; }
.login-dialog {
    position: relative;
    width: 100%;
    max-width: 420px;
    background: #fff;
    padding: 36px 32px 28px;
    border-radius: 4px;
    box-shadow: 0 24px 80px rgba(0,0,0,.28);
    border-top: 3px solid var(--gold);
}
.login-close {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 36px;
    height: 36px;
    border: 0;
    background: none;
    font-size: 26px;
    line-height: 1;
    color: #99a;
    cursor: pointer;
}
.login-dialog h2 {
    margin: 0 0 8px;
    font-size: 26px;
    color: var(--ink);
}
.login-desc { margin: 0 0 22px; color: var(--muted); }
.login-dialog .field { display: block; margin-bottom: 14px; }
.login-dialog .field input {
    width: 100%;
    height: 46px;
    border: 1px solid #d5dce4;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 15px;
}
.login-dialog .field input:focus {
    outline: 0;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(198,163,90,.18);
}
.login-dialog .keep {
    display: block;
    margin: 2px 0 16px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 400;
}
.btn-login { width: 100%; height: 48px; background: var(--ink); }
.trial {
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 12px;
}
.trial b { color: var(--ink); }
.login-dialog .alert { margin-bottom: 14px; }

body.paper-app #content-container.container {
    width: auto;
    max-width: none;
    margin: 0;
    padding: 0;
}
body.paper-app .panel {
    border: 1px solid var(--line);
    border-radius: 4px;
    box-shadow: var(--shadow);
}
body.paper-app .footer { display: none; }

@media (max-width: 991px) {
    .site-nav-inner,
    .site-content,
    .home-hero,
    .home-feats,
    .home-foot { padding-left: 20px !important; padding-right: 20px !important; }
    body.page-home .home-hero,
    body.page-home .home-feats,
    body.page-home .home-packs,
    body.page-home .home-foot { padding-left: 0 !important; padding-right: 0 !important; }
    .home-hero { min-height: 0; padding-top: 48px; padding-bottom: 56px; }
    .home-hero-grid { grid-template-columns: 1fr; gap: 32px; }
    .home-hero h1 { font-size: 34px; }
    .nav-note { display: none; }
    .hero-stats { gap: 20px; }
    .feat-grid { grid-template-columns: 1fr; }
    .progress-block { flex-direction: column; align-items: flex-start; }
    .paper-sheet { padding: 22px 16px 28px; }
    .site-nav .navbar-collapse {
        background: #08182c;
        margin: 0 -20px;
        padding: 0 20px;
    }
    .site-nav .nav > li > a {
        height: auto;
        line-height: 44px;
        text-align: left;
    }
    .sheet-info { grid-template-columns: 1fr 1fr; }
    .nav-link { display: none; }
    .nav-user { padding: 8px 0 16px; }
}
@media print {
    nav, header, .toolbar-print, .q-actions, footer, .no-print, .login-mask { display: none !important; }
    body.paper-app { background: #fff; padding-top: 0; }
    .content, .site-content { padding: 0 !important; }
    .paper-sheet { box-shadow: none; border: 0; padding: 12mm 14mm; }
    .duplex-back { page-break-before: always; }
}

/* 校园工作台 · 天蓝 */
body.campus-app { background: linear-gradient(180deg, #e8f5fc 0%, #f4fafd 40%, #eef7fc 100%); margin: 0; padding: 0 !important; }
body.campus-app .site-page { padding-top: 0; max-width: none; }
body.campus-app .page-head { margin-bottom: 16px; }
.campus-shell { display: flex; min-height: 100vh; }
.campus-side {
    width: 196px;
    background: linear-gradient(180deg, #0e6eb8 0%, #0b5f9a 55%, #0870b0 100%);
    color: #fff;
    flex-shrink: 0;
    padding: 18px 12px;
    box-shadow: 4px 0 24px rgba(14,110,184,.12);
}
.campus-brand { display: flex; gap: 10px; align-items: center; color: #fff !important; text-decoration: none !important; margin-bottom: 28px; }
.campus-brand .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    object-fit: cover;
    object-position: 50% 28%;
    background: #fff;
    flex-shrink: 0;
}
.campus-brand b { display: block; font-size: 15px; }
.campus-brand small { display: block; color: #b8e4f7; font-size: 12px; }
.campus-nav a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.88);
    text-decoration: none;
    padding: 10px 10px;
    border-radius: 8px;
    margin-bottom: 4px;
}
.campus-nav a i {
    width: 18px;
    flex-shrink: 0;
    text-align: center;
    font-size: 15px;
    opacity: .92;
}
.campus-nav a:hover, .campus-nav a.is-on { background: rgba(255,255,255,.18); color: #fff; }
.campus-nav a.is-on i { opacity: 1; }
.campus-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.campus-top {
    height: 64px;
    background: rgba(255,255,255,.92);
    border-bottom: 1px solid #d4e8f4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 28px;
    backdrop-filter: blur(8px);
}
.campus-crumb { font-weight: 700; color: #0b5f9a; }
.campus-userbox { display: flex; gap: 14px; align-items: center; color: #5a7a90; }
.campus-userbox button { border: 0; background: transparent; color: #0e6eb8; }
.campus-body { padding: 22px 28px 48px; }
.panel-list { background: #fff; border: 1px solid #d4e8f4; border-radius: 8px; box-shadow: 0 2px 8px rgba(14,110,184,.06); overflow: visible; margin-bottom: 16px; }
.panel-list .panel-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; background: #f7fbfd; border-bottom: 1px solid #e8f0f5; }
.panel-list .panel-head h2 { margin: 0; font-size: 16px; color: #0b5f9a; font-weight: 700; }
.panel-list .panel-head .tb-actions { display: flex; gap: 8px; }
.list-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; padding: 12px 16px; border-bottom: 1px solid #eef7fc; background: #fff; }
.list-filter input, .list-filter select { height: 34px; padding: 4px 10px; border: 1px solid #c5dcec; border-radius: 4px; background: #fff; min-width: 150px; }
.list-filter select { min-width: 118px; }
.list-filter .btn-gold { padding: 6px 14px; border-radius: 4px; height: 34px; line-height: 20px; }
.list-filter .list-actions { margin-left: auto; display: flex; gap: 8px; }
.panel-list .table-wrap { border: 0; border-radius: 0; box-shadow: none; }
.panel-list .campus-table { border: 0; }
.panel-list .campus-table th { background: #f5f8fb; color: #5a6a7a; font-size: 13px; white-space: nowrap; }
.panel-list .campus-table td { font-size: 13px; color: #243848; }
.panel-list .campus-table tbody tr:nth-child(even) td { background: #fafcfd; }
.panel-list .campus-table tbody tr:hover td { background: #f3f9fe; }
.list-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; padding: 10px 16px; border-top: 1px solid #eef7fc; color: #7a93a6; font-size: 13px; background: #fcfeff; }
.list-pager .pagination { display: flex; flex-wrap: wrap; gap: 4px; list-style: none; margin: 0; padding: 0; }
.list-pager .pagination li a, .list-pager .pagination li span { display: inline-block; min-width: 32px; text-align: center; padding: 4px 8px; border: 1px solid #d4e8f4; border-radius: 4px; color: #0e6eb8; background: #fff; text-decoration: none; }
.list-pager .pagination .active span, .list-pager .pagination .active a { background: #0e6eb8; color: #fff; border-color: #0e6eb8; }
.list-pager .pagination .disabled span { color: #bbb; background: #f7f7f7; }
.badge { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.badge-on { background: #e6f7ee; color: #1e8a4c; }
.badge-off { background: #f0f2f4; color: #7a8490; }
.badge-warn { background: #fff4e8; color: #c27812; }
.mono { font-family: Consolas, "Courier New", monospace; letter-spacing: .08em; color: #0e6eb8; font-weight: 700; }
.page-toolbar { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.page-toolbar h2 { margin: 0 0 6px; font-size: 18px; color: #0b5f9a; font-weight: 700; }
.page-toolbar p { margin: 0; color: #5a7a90; line-height: 1.65; max-width: 680px; }
.page-toolbar .tb-actions { display: flex; gap: 8px; flex-shrink: 0; }
.table-wrap { background: #fff; border: 1px solid #d4e8f4; border-radius: 14px; overflow: auto; box-shadow: 0 8px 24px rgba(14,110,184,.06); }
.table-wrap .campus-table { border: 0; border-radius: 0; margin: 0; }
.campus-note { margin: 0 0 16px; padding: 12px 16px; border-radius: 12px; background: #fff8e8; color: #8a5a12; border: 1px solid #f0d9a8; line-height: 1.6; }
.campus-note a { color: #0e6eb8; font-weight: 700; }
.campus-empty { padding: 52px 20px; text-align: center; color: #7a93a6; background: #fff; border: 1px dashed #c5dcec; border-radius: 14px; }
.campus-empty b { display: block; color: #0b5f9a; font-size: 16px; margin-bottom: 6px; }
.dlg-mask {
    display: none; position: fixed; inset: 0; background: rgba(8, 40, 70, .34);
    z-index: 70; align-items: flex-start; justify-content: center; padding: 48px 16px 24px;
    overflow: auto;
}
.dlg-mask.is-on { display: flex; }
.dlg-card {
    width: 560px; max-width: 100%; background: #fff; border-radius: 16px;
    box-shadow: 0 20px 50px rgba(14,110,184,.24); margin: auto;
}
.dlg-head { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; border-bottom: 1px solid #d4e8f4; }
.dlg-head strong { color: #0b5f9a; font-size: 16px; }
.dlg-close { width: 32px; height: 32px; border: 0; background: #e8f5fc; border-radius: 8px; color: #0e6eb8; font-size: 22px; line-height: 1; cursor: pointer; }
.dlg-body { padding: 18px 20px 22px; }
.dlg-body .form-row input,
.dlg-body .form-row select,
.dlg-body .form-row textarea { width: 100%; max-width: none; height: 38px; padding: 6px 10px; border: 1px solid #c5dcec; border-radius: 8px; }
.dlg-body .form-row textarea { height: auto; }
.dlg-checks { display: flex; flex-wrap: wrap; gap: 8px 14px; }
.dlg-checks label { font-weight: 400; color: #243848; display: inline-flex; align-items: center; gap: 6px; }
.dlg-foot { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }
.campus-table a { color: #0e6eb8; }
.campus-table th:last-child,
.campus-table td:last-child { white-space: nowrap; width: 1%; }
.campus-table .op-link {
    display: inline-block;
    padding: 1px 5px;
    margin: 0 3px 0 0;
    border: 1px solid #8ec4e8;
    border-radius: 3px;
    background: #fff;
    color: #0e6eb8 !important;
    font-size: 12px;
    line-height: 1.5;
    font-weight: 400;
    text-decoration: none;
    white-space: nowrap;
    box-sizing: border-box;
    cursor: pointer;
    vertical-align: middle;
}
.campus-table .op-link:last-child { margin-right: 0; }
.campus-table .op-link:hover {
    background: #0e6eb8;
    border-color: #0e6eb8;
    color: #fff !important;
}
.campus-table .op-link.op-danger {
    background: #fff;
    border-color: #e8b4b4;
    color: #b03a34 !important;
}
.campus-table .op-link.op-danger:hover {
    background: #b03a34;
    border-color: #b03a34;
    color: #fff !important;
}
.tag-on { color: #2a9d6a; font-weight: 600; }
.tag-off { color: #b03a34; font-weight: 600; }
.record-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-bottom: 18px; }
.record-mode {
    display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px;
    background: #fff; border: 1px solid #d4e8f4; border-radius: 14px;
    text-decoration: none !important; color: inherit;
    box-shadow: 0 8px 24px rgba(14,110,184,.06);
}
.record-mode i {
    width: 40px; height: 40px; border-radius: 12px; flex-shrink: 0;
    background: #eef7fd; color: #0e6eb8; display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.record-mode b { display: block; font-size: 15px; color: #0b5f9a; margin: 0 0 4px; font-weight: 700; }
.record-mode span { display: block; font-size: 12px; color: #5a7a90; line-height: 1.5; font-weight: 400; }
.record-mode.is-on { border-color: #0e6eb8; box-shadow: 0 0 0 2px rgba(14,110,184,.16); }
.record-mode.is-on i { background: #0e6eb8; color: #fff; }
.record-mode:hover { border-color: #1a8fd6; }
@media (max-width: 860px) { .record-modes { grid-template-columns: 1fr; } }
.sq-formula-bar {
    display: flex; flex-direction: column; gap: 6px;
    padding: 8px 10px; margin: 0 0 8px; background: #f7fbfd;
    border: 1px solid #d4e8f4; border-radius: 10px;
}
.sq-ftabs { display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.sq-ftab {
    border: 0; background: transparent; color: #5a7a90;
    padding: 3px 10px; border-radius: 6px; font-size: 12px; cursor: pointer; line-height: 1.5;
}
.sq-ftab:hover { background: #e8f5fc; color: #0e6eb8; }
.sq-ftab.is-on { background: #0e6eb8; color: #fff; }
.sq-ftabs .sq-fbtn.is-fig { margin-left: auto; }
.sq-formula-bar .g {
    display: none; flex-wrap: wrap; gap: 3px; align-items: center;
    padding: 0; margin: 0; border: 0;
}
.sq-formula-bar .g.is-on { display: flex; }
.sq-formula-bar em {
    font-style: normal; color: #7a93a6; font-size: 12px;
    width: 2.2em; flex-shrink: 0; margin-right: 2px;
}
.sq-fbtn {
    border: 1px solid #c5dcec; background: #fff; color: #0e6eb8;
    border-radius: 6px; padding: 3px 8px; font-size: 13px; cursor: pointer; line-height: 1.5;
}
.sq-fbtn:hover { background: #e8f5fc; }
.sq-fbtn.is-fig { background: #0e6eb8; color: #fff; border-color: #0e6eb8; }
.sq-formula-bar .sq-fig-file { display: none !important; }
.tex-preview-img { max-height: 160px; max-width: 100%; display: block; margin: 8px 0; border: 1px solid #e6dcc8; background: #fff; }
.xq-box { padding: 0; overflow: hidden; }
.xq-tabs {
    display: flex; gap: 4px; padding: 10px 12px 0;
    border-bottom: 1px solid #d4e8f4; background: #f7fbfe;
}
.xq-tab {
    border: 0; background: transparent; color: #5a7a90;
    padding: 10px 16px; margin-bottom: -1px; cursor: pointer;
    font-size: 14px; font-weight: 600; border-radius: 10px 10px 0 0;
}
.xq-tab:hover { color: #0e6eb8; }
.xq-tab.is-on { background: #fff; color: #0b5f9a; border: 1px solid #d4e8f4; border-bottom-color: #fff; }
.xq-panel { display: none; padding: 16px 18px 18px; }
.xq-panel.is-on { display: block; }
.xq-panel .campus-table { min-width: 0; }
.xq-causes { display: flex; flex-wrap: wrap; gap: 10px; }
.xq-cause {
    display: inline-flex; align-items: baseline; gap: 8px;
    padding: 10px 14px; border-radius: 12px; background: #f5fafd;
    border: 1px solid #d4e8f4; color: #0e6eb8; font-weight: 700;
}
.xq-cause em { font-style: normal; color: #243848; font-weight: 600; }
.campus-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-bottom: 20px; }
.campus-card { background: #fff; border: 1px solid #d4e8f4; border-radius: 14px; padding: 18px 20px; box-shadow: 0 8px 24px rgba(14,110,184,.06); }
.campus-cards .campus-card b { display: block; font-size: 28px; color: #0e6eb8; }
.campus-cards .campus-card span { color: #5a7a90; }
.campus-table { width: 100%; min-width: 920px; background: #fff; border-radius: 0; border: 1px solid #dde4ea; border-collapse: collapse; }
.campus-table th, .campus-table td { padding: 8px 10px; border: 1px solid #dde4ea; text-align: center; vertical-align: middle; }
.campus-table th { background: #f5f8fb; color: #5a6a7a; font-weight: 600; }
.btn-gold { display: inline-block; background: linear-gradient(135deg, #1a8fd6, #0e6eb8); color: #fff !important; padding: 8px 16px; border-radius: 8px; text-decoration: none; border: 0; box-shadow: 0 4px 12px rgba(14,110,184,.25); }
.btn-gold.ghost { background: #fff; color: #0e6eb8 !important; border: 1px solid #1a8fd6; box-shadow: none; }
.form-row { margin-bottom: 14px; }
.form-row label { display: block; margin-bottom: 6px; color: #5a7a90; }
.form-row input, .form-row select, .form-row textarea { width: 100%; max-width: 480px; padding: 8px 10px; border: 1px solid #c5dcec; border-radius: 8px; }
.q-paper { background: #fff; border: 1px solid #d4e8f4; border-radius: 10px; padding: 20px 24px; margin-bottom: 12px; line-height: 1.8; }
@media (max-width: 860px) {
    .campus-shell { flex-direction: column; }
    .campus-side { width: auto; }
    .campus-nav { display: flex; flex-wrap: wrap; gap: 6px; }
}

/* 题篮购物车 */
.sq-meta { display: flex; flex-wrap: wrap; gap: 10px; align-items: flex-end; margin-bottom: 14px; }
.sq-meta label { display: flex; flex-direction: column; gap: 6px; color: #5a7a90; min-width: 140px; }
.sq-meta .sq-grow { flex: 1; min-width: 220px; }
.sq-meta .form-control, .sq-form .form-control, .sq-meta select {
    width: 100%; min-width: 140px; height: 38px; padding: 6px 10px;
    border: 1px solid #c5dcec; border-radius: 8px; background: #fff;
}
.sq-tags { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 10px 12px; background: #f4fbff; border: 1px solid #d4e8f4; border-radius: 10px; }
.sq-tags label { display: inline-flex; align-items: center; gap: 6px; margin: 0; color: #243848; font-weight: 400; }
.sq-hint { margin: 4px 0 10px; color: #7a93a6; font-size: 13px; }
.sq-choice-box { margin-bottom: 16px; }
.sq-choice-box > label { display: block; margin-bottom: 4px; color: #5a7a90; }
.sq-opts-grid, #sq-opts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 14px;
}
.sq-opt-cell { display: flex; flex-direction: column; min-width: 0; }
.sq-add-page .record-modes { gap: 8px; margin-bottom: 12px; }
.sq-add-page .record-mode { padding: 8px 12px; border-radius: 10px; gap: 10px; box-shadow: none; }
.sq-add-page .record-mode i { width: 28px; height: 28px; border-radius: 8px; font-size: 14px; }
.sq-add-page .record-mode b { font-size: 13px; margin: 0 0 2px; }
.sq-add-page .record-mode span { font-size: 12px; line-height: 1.35; }
.sq-add-split {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(0, 1.18fr);
    gap: 14px;
    align-items: start;
}
.sq-add-preview { position: sticky; top: 12px; }
.sq-add-edit {
    background: #fff;
    border: 1px solid #d4e8f4;
    border-radius: 12px;
    padding: 12px 14px 14px;
}
.sq-add-page .sq-meta {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.7fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}
.sq-add-page .sq-meta .sq-grow { grid-column: 1 / -1; min-width: 0; }
.city-pick { position: relative; }
.city-freq { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.city-chip {
    display: inline-flex; align-items: center; gap: 4px;
    border: 1px solid #d4e8f4; background: #f7fbfd; color: #0b5f9a;
    border-radius: 999px; padding: 3px 8px 3px 10px; font-size: 12px; line-height: 1.4;
}
.city-chip.is-on { background: #0e6eb8; border-color: #0e6eb8; color: #fff; }
.city-star { font-style: normal; cursor: pointer; color: #c9a227; }
.city-chip.is-on .city-star { color: #ffe08a; }
.city-star:not(.is-on) { color: #c5d5e0; }
.city-search-wrap { position: relative; }
.city-filter { height: 32px !important; }
.city-suggest {
    position: absolute; left: 0; right: 0; top: 100%; z-index: 30;
    background: #fff; border: 1px solid #d4e8f4; border-radius: 8px;
    box-shadow: 0 8px 20px rgba(14,110,184,.12); max-height: 220px; overflow: auto;
}
.city-opt { display: block; width: 100%; text-align: left; border: 0; background: #fff; padding: 6px 10px; font-size: 13px; }
.city-opt:hover, .city-opt.is-on { background: #e8f5fc; color: #0b5f9a; }
.city-picked { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.city-tag {
    display: inline-flex; align-items: center; gap: 4px;
    background: #e8f5fc; color: #0b5f9a; border-radius: 999px; padding: 2px 8px; font-size: 12px;
}
.city-x { border: 0; background: transparent; color: #7a93a6; padding: 0 2px; line-height: 1; }
.city-pick-hint { margin: 6px 0 0; font-size: 12px; color: #7a93a6; }
.sq-add-page .sq-meta label { min-width: 0; gap: 4px; font-size: 12px; }
.sq-add-page .sq-meta .sq-city-field {
    display: flex; flex-direction: column; gap: 4px; color: #5a7a90; font-size: 12px;
}
.sq-add-page .sq-meta .form-control,
.sq-add-page .sq-form .form-control {
    height: 32px; padding: 4px 8px; font-size: 13px; border-radius: 6px; min-width: 0;
}
.sq-add-page .form-row { margin-bottom: 8px; }
.sq-add-page .form-row label { margin-bottom: 4px; font-size: 12px; }
.sq-add-page .form-row textarea { padding: 6px 8px; font-size: 13px; line-height: 1.5; border-radius: 6px; }
.sq-add-page .sq-formula-bar { padding: 6px 8px; margin: 0 0 6px; border-radius: 8px; gap: 6px 8px; }
.sq-add-page .sq-fbtn { padding: 2px 6px; font-size: 12px; border-radius: 5px; }
.sq-add-page .sq-hint { margin: 0 0 6px; font-size: 12px; }
.sq-add-page .sq-choice-box { margin-bottom: 8px; }
.sq-sec-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.sq-sec-head label { margin: 0; color: #5a7a90; font-size: 12px; }
.sq-sec-head .sq-hint { margin: 0; }
.sq-mini-act { margin: 6px 0 0; }
.sq-mini-act .btn-gold { padding: 4px 10px; font-size: 12px; }
.sq-add-page .sq-opts-grid, .sq-add-page #sq-opts { gap: 6px 10px; }
.sq-add-page .sq-opt-row .form-control { height: 32px; }
.sq-add-page .sq-opt-row .sq-del-opt,
.sq-add-page .sq-opt-row .sq-del-blank { padding: 3px 8px; font-size: 12px; }
.sq-add-page .dest-box { padding: 8px 10px; margin: 10px 0 0; border-radius: 8px; }
.sq-add-page .dest-h { margin: 0 0 6px; font-size: 13px; }
.sq-add-page .dest-item { padding: 8px 10px; border-radius: 8px; }
.sq-add-page .sq-actions { margin-top: 10px; }
.sq-add-page .sq-actions .btn-gold { padding: 6px 14px; }
.sq-kid {
    margin: 8px 0 0; padding: 8px 10px;
    background: #f7fbfd; border: 1px solid #d4e8f4; border-radius: 8px;
}
.sq-kid > p { display: flex; align-items: center; justify-content: space-between; margin: 0 0 6px; font-size: 13px; color: #0b5f9a; }
.sq-live-sheet { margin: 0; }
.sq-live-head {
    display: flex; align-items: baseline; justify-content: space-between; gap: 8px;
    margin: 0 0 8px;
}
.sq-live-head b { font-size: 13px; color: #0b5f9a; }
.sq-live-head span { font-size: 12px; color: #7a93a6; }
.sq-live-paper {
    background: #fffef8;
    border: 1px solid #e6dcc8;
    border-radius: 12px;
    padding: 14px 16px 18px;
    font-size: 13px;
    line-height: 1.65;
    color: #243848;
    min-height: min(62vh, 560px);
    box-shadow: 0 8px 24px rgba(14,110,184,.06);
}
.sq-live-paper .sq-preview-stem,
.sq-live-paper .sq-preview-op,
.sq-live-paper .sq-preview-passage,
.sq-live-paper .sq-preview-kid { font-size: 13px; }
.sq-live-paper .sq-preview-ops { margin-top: 8px; gap: 6px 16px; }
.sq-live-paper .katex { font-size: 1.05em; }
.sq-live-num { font-weight: 700; margin-right: 2px; }
.sq-live-ph { margin: 0; color: #9ab0c0; font-size: 13px; }
@media (max-width: 980px) {
    .sq-add-split { grid-template-columns: 1fr; }
    .sq-add-preview { position: static; order: -1; }
    .sq-live-paper { min-height: 180px; }
    .sq-add-page .sq-meta { grid-template-columns: 1fr 1fr; }
}
.sq-opt-row { display: flex; align-items: center; gap: 8px; margin: 0; }
.sq-letter { min-width: 2.2em; color: #0e6eb8; font-weight: 700; }
.sq-opt-row .form-control { flex: 1; min-width: 0; height: 38px; }
.sq-pick { width: 18px; height: 18px; flex-shrink: 0; }
.sq-opt-row .sq-del-opt, .sq-opt-row .sq-del-blank { flex-shrink: 0; padding: 6px 10px; }
.sq-opt-cell.is-tex-on .sq-opt-input,
.form-row.is-tex-on > textarea.js-formula-field {
    border-color: #0e6eb8;
    box-shadow: 0 0 0 2px rgba(14,110,184,.16);
}
.sq-opt-cell .tex-follow { margin-top: 6px; }
.sq-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 18px; }
.sq-actions #js-add-kid { margin-right: auto; }
.sq-form textarea { width: 100%; max-width: none; }
.basket-page-head p { margin: 0; color: #5a7a90; line-height: 1.7; }
.basket-h3 { margin: 0 0 12px; color: #0b5f9a; font-size: 16px; }
.basket-filter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 14px; }
.basket-filter .form-control { width: auto; min-width: 120px; height: 36px; }
.basket-filter input.form-control { width: 200px; }
.basket-total { color: #888; }
.basket-q { display: flex; gap: 12px; align-items: flex-start; }
.basket-q.is-in { border-color: #8fd0ef; background: #f4fbff; }
.basket-q-check { padding-top: 6px; min-width: 56px; }
.basket-q-body { flex: 1; min-width: 0; }
.basket-q-meta { color: #888; margin-bottom: 4px; font-size: 13px; }
.basket-passage { background: #eef7fc; padding: 8px; margin-bottom: 6px; white-space: pre-wrap; }
.basket-ops { margin-top: 6px; }
.basket-chip { display: inline-block; color: #0e6eb8; font-size: 12px; font-weight: 700; white-space: nowrap; }
.basket-q .btn-gold, .basket-q .btn-gold.ghost { flex-shrink: 0; margin-top: 4px; }
.basket-batch { margin: 8px 0 0; }
.basket-pager { margin-top: 12px; }
.basket-tab {
    position: fixed;
    right: 0;
    top: 46%;
    z-index: 50;
    width: 52px;
    padding: 14px 6px 12px;
    border: 0;
    border-radius: 12px 0 0 12px;
    background: linear-gradient(180deg, #1a8fd6, #0e6eb8);
    color: #fff;
    box-shadow: -4px 8px 20px rgba(14,110,184,.28);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    line-height: 1.2;
}
.basket-tab.has-items { background: linear-gradient(180deg, #1aa0e8, #0b5f9a); }
.basket-tab.is-open { right: 380px; }
.basket-badge {
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    border-radius: 11px;
    background: #ff6b4a;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.basket-badge.is-pop { transform: scale(1.25); transition: transform .2s ease; }
.basket-mask {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(8, 40, 70, .28);
    z-index: 48;
}
.basket-mask.is-on { display: block; }
.basket-drawer {
    position: fixed;
    top: 0;
    right: 0;
    width: 380px;
    max-width: 92vw;
    height: 100vh;
    background: #fff;
    z-index: 51;
    transform: translateX(110%);
    transition: transform .22s ease;
    box-shadow: -8px 0 28px rgba(14,110,184,.16);
    display: flex;
    flex-direction: column;
}
.basket-drawer.is-open { transform: translateX(0); }
.basket-drawer-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 18px 12px;
    border-bottom: 1px solid #d4e8f4;
}
.basket-drawer-head strong { display: block; color: #0b5f9a; font-size: 16px; }
.basket-drawer-head span { color: #5a7a90; font-size: 13px; }
.basket-drawer-close {
    width: 32px; height: 32px; border: 0; background: #e8f5fc; border-radius: 8px;
    color: #0e6eb8; font-size: 22px; line-height: 1; cursor: pointer;
}
.basket-drawer-list { flex: 1; overflow: auto; padding: 10px 14px 16px; }
.basket-empty { text-align: center; color: #7a93a6; padding: 48px 12px; line-height: 1.8; }
.basket-item {
    display: flex;
    gap: 8px;
    padding: 10px 8px;
    border-bottom: 1px solid #eef7fc;
    align-items: flex-start;
}
.basket-item-no {
    width: 22px; height: 22px; border-radius: 50%;
    background: #e8f5fc; color: #0e6eb8; font-size: 12px; font-weight: 700;
    display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.basket-item-body { flex: 1; min-width: 0; }
.basket-item-body em { display: block; font-style: normal; color: #0e6eb8; font-size: 12px; margin-bottom: 2px; }
.basket-item-body p { margin: 0; color: #243848; font-size: 13px; line-height: 1.5; }
.basket-item-ops { display: flex; flex-direction: column; gap: 4px; flex-shrink: 0; }
.basket-item-ops button {
    border: 1px solid #c5dcec; background: #fff; color: #0e6eb8;
    border-radius: 6px; font-size: 12px; padding: 2px 8px; cursor: pointer;
}
.basket-drawer-foot {
    display: flex; gap: 8px; justify-content: flex-end; align-items: center;
    padding: 12px 16px 16px; border-top: 1px solid #d4e8f4; background: #f7fbfe;
}
.basket-drawer-foot .js-basket-compose.is-off { opacity: .45; pointer-events: none; }
.basket-toast {
    position: fixed; left: 50%; bottom: 36px; transform: translateX(-50%) translateY(8px);
    background: rgba(11, 95, 154, .92); color: #fff; padding: 8px 16px; border-radius: 8px;
    z-index: 80; opacity: 0; transition: all .2s ease; font-size: 13px;
}
.basket-toast.is-on { opacity: 1; transform: translateX(-50%) translateY(0); }
.dest-box { background: #f4fafd; border: 1px solid #d4e8f4; border-radius: 12px; padding: 14px 16px; margin: 16px 0; }
.dest-h { margin: 0 0 8px; font-weight: 700; color: #0b5f9a; }
.dest-h em { font-style: normal; color: #b42318; font-size: 13px; margin-left: 6px; }
.dest-row { display: flex; gap: 12px; }
.dest-item { display: flex; gap: 10px; align-items: flex-start; margin: 0; color: #1a3348; cursor: pointer; flex: 1; min-width: 0; padding: 12px 14px; background: #fff; border: 1px solid #d4e8f4; border-radius: 10px; }
.dest-item.is-on, .dest-item:has(input:checked) { border-color: #0e6eb8; background: #eef7ff; box-shadow: 0 0 0 1px #0e6eb8; }
.dest-item input { margin-top: 3px; flex-shrink: 0; }
.dest-item b { display: block; color: #0e6eb8; margin-right: 6px; font-size: 14px; font-weight: 700; }
.dest-item small { display: block; color: #5a7388; font-size: 12px; margin-top: 2px; font-weight: 400; }
.reg-wrap { max-width: 720px; margin: 40px auto 80px; padding: 0 20px; }
.reg-card { background: #fff; border-radius: 20px; padding: 36px 40px 40px; box-shadow: 0 18px 48px rgba(7,54,96,.16); }
.reg-card h1 { margin: 0 0 8px; color: #0b5f9a; font-size: 28px; }
.reg-lead { color: #5a7a90; margin: 0 0 24px; }
.reg-row { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; }
.reg-row > span { width: 72px; flex-shrink: 0; color: #4a6a80; text-align: right; }
.reg-row input, .reg-row select { flex: 1; height: 40px; border: 1px solid #c5dcec; border-radius: 8px; padding: 0 12px; }
.reg-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.reg-chips label { background: #eef4f8; border-radius: 8px; padding: 8px 18px; cursor: pointer; }
.reg-chips input { display: none; }
.reg-chips input:checked + span,
.reg-chips label:has(input:checked) { background: #1a8fd6; color: #fff; }
.reg-triple { display: grid; grid-template-columns: 72px 1fr 1fr 1fr; gap: 12px; align-items: end; }
.reg-triple > span { display: none; }
.reg-triple label { display: flex; flex-direction: column; gap: 6px; color: #4a6a80; font-size: 13px; }
.reg-triple select { width: 100%; height: 40px; }
.reg-card .btn-login { width: 160px; margin: 12px auto 0; display: block; background: #1a8fd6; border: 0; color: #fff; height: 44px; border-radius: 10px; font-size: 16px; cursor: pointer; }
.pack-stage { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 16px; }
.pack-stage-item {
    display: flex; align-items: center; justify-content: center;
    height: 64px; border-radius: 16px; background: #fff; color: #0b5f9a;
    font-size: 22px; font-weight: 700; text-decoration: none;
    border: 2px solid #d4e8f4; box-shadow: 0 8px 24px rgba(14,110,184,.06);
}
.pack-stage-item.is-on, .pack-stage-item:hover {
    background: linear-gradient(135deg, #1a8fd6, #0e6eb8); color: #fff; border-color: transparent;
}
.pack-filter { margin-bottom: 20px; }
.pack-line { display: flex; gap: 12px; margin-bottom: 12px; align-items: flex-start; }
.pack-line > span { width: 56px; flex-shrink: 0; color: #5a7a90; padding-top: 8px; }
.pack-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.pack-chip { display: inline-block; padding: 6px 14px; border-radius: 999px; background: #eef6fb; color: #0b5f9a; text-decoration: none; font-size: 13px; }
.pack-chip.is-on, .pack-chip:hover { background: #1a8fd6; color: #fff; }
.pack-selects { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
.pack-selects label { color: #5a7a90; font-size: 13px; }
.pack-selects select { margin-left: 8px; height: 36px; border: 1px solid #c5dcec; border-radius: 8px; padding: 0 10px; }
.pack-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }

/* 懂你组卷网首页 · 菁优网天蓝风格 */
.page-home .home-wrap,
.page-home .site-nav-inner {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding-left: clamp(16px, 4vw, 40px);
    padding-right: clamp(16px, 4vw, 40px);
    box-sizing: border-box;
}
.page-home .site-nav.navbar {
    min-height: 56px;
    background: #fff;
    border-bottom: 1px solid #e6eef5;
    box-shadow: none;
}
.page-home .site-nav-inner {
    min-height: 56px;
    gap: 12px;
}
.page-home .brand {
    color: #1a9ef0 !important;
    height: 56px;
    line-height: 56px;
    font-size: 20px;
    letter-spacing: 0;
}
.page-home .brand-mark {
    background: linear-gradient(135deg, #2eb6ff, #1a9ef0);
    color: #fff;
    border-radius: 8px;
    width: 32px;
    height: 32px;
}
.page-home .brand-logo {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    object-position: 50% 28%;
    background: #fff;
    flex-shrink: 0;
}
.page-home .nav-note { display: none; }
.page-home .home-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 8px;
    flex: 1;
    min-width: 0;
}
.page-home .home-nav a {
    color: #4a6a80;
    height: 56px;
    line-height: 56px;
    padding: 0 14px;
    font-size: 15px;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
}
.page-home .home-nav a:hover { color: #1a9ef0; }
.page-home .nav-actions {
    margin-left: auto;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-shrink: 0;
}
.page-home .btn-nav {
    background: #1a9ef0;
    border-color: #1a9ef0;
    color: #fff !important;
    border-radius: 18px;
    letter-spacing: 0;
    height: 34px;
    padding: 0 16px;
    margin-left: 0;
}
.page-home .btn-nav:hover {
    background: #0e8adb;
    border-color: #0e8adb;
    color: #fff !important;
}
.page-home .btn-nav.ghost {
    background: #fff;
    color: #1a9ef0 !important;
    border-color: #b8e0f7;
}
.page-home .home-hero {
    min-height: 0;
    display: block;
    position: relative;
    overflow: hidden;
    padding: 36px 0 0;
    background:
        radial-gradient(520px 280px at 12% 20%, rgba(255,255,255,.22), transparent 70%),
        radial-gradient(460px 260px at 92% 10%, rgba(255,255,255,.18), transparent 70%),
        linear-gradient(180deg, #3ec4ff 0%, #1aaef8 48%, #1294e6 100%);
}
.page-home .jy-hero-center {
    position: relative;
    z-index: 1;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 8px;
}
.page-home .jy-hero-center h1 {
    margin: 0 0 10px;
    font-size: clamp(32px, 5vw, 48px);
    line-height: 1.15;
    letter-spacing: .08em;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 8px 24px rgba(10, 80, 140, .18);
}
.page-home .jy-hero-center .lead {
    margin: 0 auto 28px;
    color: rgba(255,255,255,.92);
    max-width: none;
    font-size: 16px;
}
.page-home .jy-search {
    background: #fff;
    border-radius: 48px;
    box-shadow: 0 16px 40px rgba(10, 90, 150, .18);
    padding: 8px 8px 8px 18px;
    text-align: left;
    cursor: pointer;
    width: min(760px, 100%);
    max-width: 760px;
    margin: 0 auto 18px;
}
.jy-search-box {
    display: flex;
    gap: 8px;
    align-items: center;
}
.jy-search-tag {
    flex-shrink: 0;
    background: #e8f6ff;
    color: #1a9ef0;
    font-size: 13px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 999px;
}
.jy-search-box input {
    flex: 1;
    min-width: 0;
    height: 44px;
    border: 0;
    padding: 0 8px;
    font-size: 15px;
    background: transparent;
    color: #5a7a90;
    cursor: pointer;
    outline: none;
}
.jy-search-box button {
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(135deg, #2eb6ff, #1a9ef0);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}
.jy-hero-count {
    margin: 0 0 28px;
    color: rgba(255,255,255,.92);
    font-size: 14px;
}
.jy-hero-count b { color: #fff; font-size: 18px; }
.jy-circles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px 36px;
    margin: 8px 0 12px;
}
.jy-circle {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: none;
    border: 0;
    color: #fff;
    text-decoration: none !important;
    cursor: pointer;
    min-width: 72px;
}
.jy-circle span {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(255,255,255,.96);
    color: #1a9ef0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(10, 80, 140, .16);
}
.jy-circle em {
    font-style: normal;
    font-size: 13px;
    color: #fff;
}
.jy-hero-wave {
    display: block;
    line-height: 0;
    margin-top: 24px;
}
.jy-hero-wave svg { display: block; width: 100%; height: 72px; }
.page-home .home-feats {
    background: #f4f8fc;
    padding: 8px 0 32px;
}
.page-home .section-title {
    font-size: 22px;
    margin: 0;
    color: #1a3348;
}
.jy-section-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.jy-more { color: #1a9ef0; font-size: 13px; cursor: pointer; }
.page-home .feat-grid,
.page-home .feat-grid-5 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 20px;
}
.page-home .feat-card {
    border-top: 3px solid #1a9ef0;
    border-radius: 12px;
    min-height: 168px;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(14, 110, 184, .08);
    transition: transform .18s ease, box-shadow .18s ease;
}
.page-home .feat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(14, 110, 184, .14);
}
.page-home .feat-num { color: #1a9ef0; }
.page-home .scene-board {
    margin-top: 24px;
}
.page-home .scene-board span {
    background: #fff;
    border: 1px solid #d4e8f4;
    color: #0b5f9a;
    border-radius: 999px;
}
.page-home .city-line {
    margin: 16px 0 0;
    color: #5a7a90;
}
.home-stages, .home-packs {
    padding: 8px 0 48px;
    background: #f4f8fc;
}
.stage-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.stage-tab {
    border: 0;
    background: #fff;
    color: #0b5f9a;
    padding: 8px 20px;
    border-radius: 999px;
    font-size: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(14, 110, 184, .08);
}
.stage-tab.is-on {
    background: linear-gradient(135deg, #1a8fd6, #0e6eb8);
    color: #fff;
}
.stage-panel { display: none; flex-wrap: wrap; gap: 10px; }
.stage-panel.is-on { display: flex; }
.stage-sub {
    border: 1px solid #d4e8f4;
    background: #fff;
    color: #1a3348;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
}
.stage-sub:hover { border-color: #1a8fd6; color: #0e6eb8; }
.jy-pack-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}
.jy-pack {
    background: #fff;
    border-radius: 12px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 28px rgba(14, 110, 184, .08);
    cursor: pointer;
    min-height: 132px;
}
.jy-pack em {
    display: inline-block;
    font-style: normal;
    font-size: 12px;
    color: #1a8fd6;
    background: #e8f5fc;
    padding: 2px 8px;
    border-radius: 999px;
}
.jy-pack strong {
    display: block;
    margin: 10px 0 8px;
    color: #0b5f9a;
    font-size: 16px;
    line-height: 1.4;
}
.jy-pack p { margin: 0; color: #7a9bb0; font-size: 12px; }
.page-home .home-foot {
    background: #0d7ec9;
    color: rgba(255,255,255,.78);
    padding: 22px 0;
    text-align: center;
}
.page-home .home-foot .home-wrap {
    text-align: center;
}
.page-home .login-dialog {
    border-top: 0;
    border-radius: 16px;
    max-width: 440px;
}
.page-home .login-dialog h2 { color: #0b5f9a; }
.page-home .btn-login {
    background: linear-gradient(135deg, #2eb6ff, #1a9ef0);
    border: 0;
    color: #fff;
    border-radius: 10px;
}
.page-home .login-dialog .field input:focus,
.page-home .login-dialog .field select:focus {
    border-color: #1a9ef0;
    box-shadow: 0 0 0 3px rgba(26,158,240,.16);
}
.page-home .login-dialog .field select {
    width: 100%;
    height: 46px;
    border: 1px solid #d5dce4;
    border-radius: 4px;
    padding: 0 12px;
    font-size: 15px;
    background: #fff;
}
.reg-dialog {
    max-width: 560px !important;
    max-height: 90vh;
    overflow: auto;
    padding-top: 28px;
}
.reg-inline {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 14px;
    color: #5a7a90;
    font-size: 13px;
}
.reg-radio { font-weight: 400; color: #1a3348; cursor: pointer; }
.reg-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}
.page-home .trial a { color: #1a9ef0; }

.svc-dock {
    position: fixed;
    right: 16px;
    top: 140px;
    z-index: 1500;
    width: 214px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.svc-card {
    background: #fffdf8;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 16px 36px rgba(26, 48, 80, .16);
    border: 1px solid #e6dcc8;
}
.svc-head {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    border: 0;
    background: linear-gradient(135deg, #1a3050 0%, #243e66 100%);
    color: #f4e4c1;
    padding: 12px 12px;
    cursor: pointer;
    text-align: left;
}
.svc-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 0 0 2px rgba(201, 163, 106, .7);
    background: #f7f2e8;
}
.svc-head-copy {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.svc-head-title {
    font-size: 13px;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.svc-head-sub {
    font-size: 11px;
    color: #c9a36a;
    letter-spacing: .04em;
}
.svc-head-plus {
    width: 20px;
    height: 20px;
    border: 1px solid rgba(201, 163, 106, .7);
    border-radius: 6px;
    color: #c9a36a;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}
.svc-body { padding: 10px 12px 12px; }
.svc-card.is-min .svc-body { display: none; }
.svc-dock.is-min .svc-qr { display: none; }
.svc-row {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 6px;
    font-size: 13px;
    line-height: 1.55;
    margin: 4px 0;
    color: #1a3348;
    align-items: start;
}
.svc-row em {
    font-style: normal;
    color: #5a7a90;
    white-space: nowrap;
}
.svc-row a, .svc-copy {
    color: #0e6eb8;
    text-decoration: none;
    background: none;
    border: 0;
    padding: 0;
    text-align: left;
    cursor: pointer;
    font-size: 13px;
    word-break: break-all;
}
.svc-qr {
    background: #fffdf8;
    border-radius: 16px;
    padding: 10px 10px 12px;
    text-align: center;
    box-shadow: 0 12px 32px rgba(26, 48, 80, .12);
    border: 1px solid #e6dcc8;
}
.svc-qr p {
    margin: 0 0 8px;
    color: #1a3050;
    font-size: 13px;
    font-weight: 700;
}
.svc-qr img {
    width: 148px;
    height: 148px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}
.svc-qr-empty {
    width: 148px;
    height: 148px;
    margin: 0 auto;
    border: 1px dashed #b8d7ee;
    border-radius: 8px;
    color: #7a9bb0;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8px;
    line-height: 1.5;
    background: #f7fbfe;
}
.svc-toast {
    position: fixed;
    left: 50%;
    bottom: 36px;
    transform: translateX(-50%);
    background: rgba(11, 95, 154, .92);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 1600;
    font-size: 13px;
}
@media (max-width: 1100px) {
    .page-home .home-nav { display: none; }
    .svc-dock {
        top: auto;
        bottom: 20px;
        right: 12px;
        width: 214px;
    }
}
@media (max-width: 860px) {
    .jy-circles { gap: 18px 20px; }
    .jy-circle span { width: 56px; height: 56px; font-size: 18px; }
    .reg-grid { grid-template-columns: 1fr; }
    .svc-qr img, .svc-qr-empty { width: 124px; height: 124px; }
}
.pack-card { background: #fff; border: 1px solid #d4e8f4; border-radius: 14px; padding: 16px 18px; box-shadow: 0 8px 24px rgba(14,110,184,.06); }
.pack-card em { display: inline-block; font-style: normal; font-size: 12px; color: #1a8fd6; background: #e8f5fc; padding: 2px 8px; border-radius: 999px; }
.pack-card strong { display: block; margin: 10px 0 6px; color: #0b5f9a; font-size: 16px; line-height: 1.4; }
.pack-card p { margin: 0; color: #7a9bb0; font-size: 12px; }
.pack-card-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; }
.pack-card-foot span { color: #c47a00; font-weight: 700; }
@media (max-width: 860px) {
    .basket-tab.is-open { right: 0; }
    .basket-q { flex-wrap: wrap; }
    .basket-q .btn-gold { width: 100%; text-align: center; }
}

.ocr-bind { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 16px; align-items: center; }
.ocr-chip { display: inline-block; padding: 4px 10px; background: #e8f5fc; color: #0b5f9a; border-radius: 999px; font-size: 13px; }
.ocr-chip em { font-style: normal; color: #7a9bb0; margin-right: 4px; }
.ocr-steps { display: flex; gap: 18px; margin: 0 0 14px; color: #5a7a90; font-size: 13px; }
.ocr-steps b { color: #0e6eb8; }
.ocr-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: 8px 0; }
.ocr-wait { display: none; margin: 12px 0 0; color: #0e6eb8; }
.ocr-hist-thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; border: 1px solid #d4e8f4; background: #f4fbff; }
.ocr-layout { display: grid; grid-template-columns: minmax(240px, 38%) 1fr; gap: 20px; align-items: start; }
.ocr-photo img { width: 100%; border-radius: 10px; border: 1px solid #d4e8f4; background: #fff; }
.ocr-photo { position: sticky; top: 16px; }
.ocr-form .form-row input,
.ocr-form .form-row select,
.ocr-form .form-row textarea { max-width: none; }
.ocr-paper { background: #fffef8; border: 1px solid #e6dcc8; border-radius: 12px; padding: 18px 20px; margin-bottom: 16px; }
.ocr-paper-stem { font-size: 17px; line-height: 1.85; color: #222; margin-bottom: 12px; }
.ocr-opt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.ocr-opt-print { font-size: 16px; line-height: 1.8; color: #222; }
.ocr-opt-print .katex { font-size: 1.05em; }
.m-tex { font-family: "Times New Roman", "Cambria Math", "STIX Two Math", serif; font-size: 1.08em; }
.m-tex-display { display: block; text-align: center; margin: 0.4em 0; }
.m-frac { display: inline-block; vertical-align: middle; text-align: center; line-height: 1.15; margin: 0 4px; }
.m-frac .m-num { display: block; border-bottom: 1px solid currentColor; padding: 0 6px 1px; }
.m-frac .m-den { display: block; padding: 1px 6px 0; }
.m-abs { display: inline-block; border-left: 2px solid currentColor; border-right: 2px solid currentColor; padding: 0 6px; margin: 0 2px; line-height: 1.4; vertical-align: middle; }
.m-sqrt { display: inline-block; border-top: 1px solid currentColor; padding: 0 6px 0 10px; margin: 0 2px; position: relative; }
.m-sqrt:before { content: "√"; position: absolute; left: -2px; top: -2px; }
.m-fn { font-style: normal; margin-right: 2px; }
.ocr-opt-row { display: grid; grid-template-columns: 2em 1fr auto; gap: 8px; align-items: start; margin: 8px 0; }
.ocr-opt-row b { color: #0e6eb8; padding-top: 8px; }
.ocr-opt-row .ocr-opt-print { min-height: 28px; padding: 6px 10px; background: #fff; border: 1px solid #e6dcc8; border-radius: 8px; }
.ocr-opt-row input[type="text"] { width: 100%; margin-top: 6px; }
.ocr-src-toggle { font-size: 13px; color: #0e6eb8; cursor: pointer; user-select: none; }
.ocr-src { display: none; }
.ocr-src.is-on { display: block; }
.ocr-tags { max-height: 220px; overflow: auto; padding: 10px 12px; background: #f4fbff; border: 1px solid #d4e8f4; border-radius: 10px; }
.ocr-tag-group { margin: 0 0 10px; }
.ocr-tag-group strong { display: block; margin: 0 0 6px; color: #0b5f9a; font-size: 13px; }
.ocr-tag-group label { display: inline-flex; align-items: center; gap: 4px; margin: 0 12px 6px 0; }
.ocr-tag-group label.is-hit { color: #0e6eb8; font-weight: 600; }
.ocr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ocr-note { color: #b42318; margin: 0 0 12px; }
@media (max-width: 900px) {
    .ocr-layout { grid-template-columns: 1fr; }
    .ocr-photo { position: static; }
    .ocr-opt-grid { grid-template-columns: 1fr; }
}

/* 懂你网首页 · 海报风 */
.page-home-dn .site-nav.navbar {
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
}
.dn-hero {
    position: relative;
    min-height: calc(100vh - 56px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    background: #d8cbb8;
}
.dn-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}
.dn-hero-shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(255,255,255,.18) 0%, rgba(248,244,236,.08) 28%, rgba(20,28,40,.18) 70%, rgba(20,24,32,.42) 100%);
    pointer-events: none;
}
.dn-hero-copy {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 18px 20px 12px;
}
.dn-kicker {
    margin: 0 0 10px;
    letter-spacing: .42em;
    font-size: 13px;
    color: #4a6078;
    font-weight: 600;
}
.dn-hero-copy h1 {
    margin: 0;
    font-size: clamp(36px, 6.2vw, 72px);
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: .04em;
}
.dn-you {
    position: relative;
    display: inline-block;
    color: #2ec4e8;
    padding: 0 .18em 0 .08em;
    text-shadow: 0 8px 24px rgba(46,196,232,.18);
}
.dn-you:before,
.dn-you:after {
    content: "";
    position: absolute;
    width: 18px;
    height: 18px;
    border-color: #2ec4e8;
    border-style: solid;
}
.dn-you:before { top: -8px; left: -8px; border-width: 3px 0 0 3px; }
.dn-you:after { right: -6px; bottom: 6px; border-width: 0 3px 3px 0; }
.dn-rest { color: #1a3050; text-shadow: 0 10px 28px rgba(255,255,255,.55); }
.dn-lead {
    margin: 16px auto 0;
    max-width: 760px;
    color: #1a3348;
    font-size: 16px;
    line-height: 1.7;
}
.dn-sub {
    margin: 10px 0 0;
    color: #3d5168;
    font-size: 15px;
}
.dn-sub b { color: #0b5f9a; }
.dn-cta {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 22px;
    flex-wrap: wrap;
}
.dn-btn {
    height: 44px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    background: #2ec4e8;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}
.dn-btn:hover { background: #1bb3d8; }
.dn-btn.ghost {
    background: rgba(255,255,255,.86);
    color: #1a3050;
    border: 1px solid #d7e3ee;
}
.dn-bar {
    position: relative;
    z-index: 1;
    padding: 0 16px 28px;
}
.dn-bar-inner {
    max-width: 1180px;
    margin: 0 auto;
    background: rgba(247,242,232,.96);
    border-radius: 18px;
    padding: 22px 22px 18px;
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 1.2fr auto;
    gap: 8px 20px;
    align-items: center;
    box-shadow: 0 18px 40px rgba(40, 32, 20, .12);
}
.dn-feat {
    display: flex;
    gap: 14px;
    align-items: center;
    text-align: left;
    background: none;
    border: 0;
    padding: 6px 4px;
    cursor: pointer;
    color: inherit;
}
.dn-feat:hover .dn-ico-img {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(26, 48, 80, .16);
}
.dn-feat span {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1;
}
.dn-feat b {
    display: block;
    color: #1a3050;
    font-size: 16px;
    line-height: 1.3;
    min-height: 1.3em;
    margin-bottom: 4px;
}
.dn-feat small {
    display: block;
    color: #5b6d80;
    font-size: 13px;
    line-height: 1.55;
    min-height: calc(1.55em * 2);
}
.dn-ico-img {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 16px;
    object-fit: cover;
    background: #fff;
    box-shadow: 0 8px 18px rgba(26, 48, 80, .1);
    transition: transform .2s ease, box-shadow .2s ease;
}
.dn-mark {
    justify-self: end;
    align-self: center;
    min-width: 132px;
    background: #2ec4e8;
    border: 0;
    border-radius: 14px;
    color: #fff;
    padding: 14px 16px;
    text-align: center;
    cursor: pointer;
}
.dn-mark strong { display: block; font-size: 22px; letter-spacing: .08em; }
.dn-mark em { display: block; font-style: normal; font-size: 12px; opacity: .92; margin-top: 4px; }
.home-hunan {
    padding: 28px 0 8px;
    background: #fffdf8;
}
.hunan-tag {
    margin: 0;
    color: #0b5f9a;
    font-size: 14px;
}
.hunan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.hunan-card {
    background: #fff;
    border: 1px solid #e6dcc8;
    border-radius: 12px;
    padding: 18px 18px 16px;
    box-shadow: 0 10px 28px rgba(14, 110, 184, .06);
}
.hunan-card h3 {
    margin: 0 0 8px;
    font-size: 17px;
    color: #1a3348;
}
.hunan-card p {
    margin: 0;
    color: #5a7a90;
    font-size: 14px;
    line-height: 1.7;
}
@media (max-width: 860px) {
    .hunan-grid { grid-template-columns: 1fr; }
}
.page-home-dn .home-hunan { background: #fffdf8; }
.page-home-dn .home-feats { background: #f7f3ea; }
.page-home-dn .home-packs { background: #fffdf8; }
.page-home-dn .home-foot { background: #1a3050; color: rgba(255,255,255,.78); }
@media (max-width: 980px) {
    .dn-hero { min-height: 0; }
    .dn-hero-img { object-position: 62% center; min-height: 520px; }
    .dn-bar-inner { grid-template-columns: 1fr; }
    .dn-mark { justify-self: stretch; }
    .dn-hero-copy { padding-top: 12px; }
}
.profile-wrap { max-width: 860px; }
.profile-card { padding: 22px 24px 20px; }
.profile-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e8f0f5;
    flex-wrap: wrap;
}
.profile-avatar {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: #e8f5fc;
    color: #0e6eb8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 700;
    flex-shrink: 0;
}
.profile-who { flex: 1; min-width: 140px; }
.profile-who strong { display: block; font-size: 18px; color: #0b5f9a; }
.profile-who span { color: #7a93a6; font-size: 13px; }
.profile-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.profile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}
.profile-grid .form-row { margin: 0; }
.profile-grid .form-row input,
.profile-grid .form-row select { max-width: none; }
.profile-grid .span-2 { grid-column: 1 / -1; }
.profile-val {
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #e6eef4;
    border-radius: 8px;
    background: #f7fbfd;
    color: #243848;
    line-height: 20px;
}
.profile-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.profile-log { margin-top: 16px; padding: 0; overflow: hidden; }
.profile-log h3 { margin: 0; padding: 14px 18px; font-size: 15px; color: #0b5f9a; border-bottom: 1px solid #e8f0f5; }
.profile-log .campus-table { min-width: 0; }
@media (max-width: 720px) {
    .profile-grid { grid-template-columns: 1fr; }
    .profile-grid .span-2 { grid-column: auto; }
}
.news-thumb { width: 72px; height: 48px; object-fit: cover; border-radius: 6px; background: #e8f5fc; display: block; margin: 0 auto; }
.news-thumb-empty { display: flex; align-items: center; justify-content: center; color: #9ab0c0; font-size: 12px; }
.news-form { max-width: 860px; }
.news-form .form-row input,
.news-form .form-row textarea.editor { max-width: none; }
.news-form .note-editor.note-frame { border-color: #c5dcec; max-width: none; }
.news-form .note-editor .note-editable { min-height: 240px; }
.news-cover-pick {
    width: 280px; height: 158px; border: 1px dashed #c5dcec; border-radius: 12px;
    background: #f7fbfd; overflow: hidden; cursor: pointer; position: relative;
}
.news-cover-pick:hover { border-color: #1a8fd6; }
.news-cover-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.news-cover-empty { height: 100%; display: flex; align-items: center; justify-content: center; color: #7a93a6; font-size: 13px; }
.news-toolbar { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 8px; }
.news-toolbar button {
    border: 1px solid #c5dcec; background: #fff; color: #0e6eb8; border-radius: 6px;
    padding: 4px 10px; font-size: 13px; cursor: pointer;
}
.news-toolbar button:hover { background: #e8f5fc; }
.news-editor {
    min-height: 280px; border: 1px solid #c5dcec; border-radius: 10px; padding: 12px 14px;
    line-height: 1.75; color: #243848; background: #fff; max-width: none; outline: none;
}
.news-editor:empty:before { content: attr(data-placeholder); color: #9ab0c0; }
.news-editor img { max-width: 100%; height: auto; }
.news-editor h2, .news-editor h3 { color: #0b5f9a; margin: 12px 0 8px; }
.news-editor blockquote { margin: 8px 0; padding: 8px 12px; border-left: 3px solid #1a8fd6; background: #f7fbfd; color: #5a7a90; }

#sq-blanks { display: flex; flex-direction: column; gap: 8px; }
.sq-preview-banner {
    display: flex; align-items: baseline; gap: 12px; flex-wrap: wrap;
    background: #eef8f1; border: 1px solid #c8e6d0; border-radius: 12px;
    padding: 12px 16px; margin-bottom: 16px; color: #24663a;
}
.sq-preview-banner b { font-size: 16px; }
.sq-preview-banner span { color: #4a7a58; }
.sq-preview-sheet {
    background: #fffef8; border: 1px solid #e6dcc8; border-radius: 12px;
    padding: 20px 22px; margin-bottom: 16px; line-height: 1.85; color: #222;
}
.sq-preview-meta { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; margin-bottom: 14px; color: #5a7a90; font-size: 13px; }
.sq-dest-tag {
    display: inline-flex; align-items: center; padding: 2px 10px; border-radius: 999px;
    font-weight: 700; font-size: 13px; color: #fff;
}
.sq-dest-tag.is-mine { background: #5a7a90; }
.sq-dest-tag.is-share { background: #0e6eb8; }
.sq-preview-passage { background: #f7f3ea; padding: 10px 12px; margin-bottom: 12px; white-space: pre-wrap; border-radius: 8px; }
.sq-preview-stem { font-size: 17px; white-space: pre-wrap; }
.sq-preview-figs { margin-top: 10px; }
.sq-preview-figs img, .sq-preview-op img { max-height: 90px; max-width: 180px; margin: 4px 8px 4px 0; border: 1px solid #e6dcc8; vertical-align: middle; }
.sq-preview-ops {
    display: grid; grid-template-columns: 1fr 1fr; gap: 8px 24px; margin-top: 14px;
}
.sq-preview-op { display: flex; gap: 8px; align-items: flex-start; }
.sq-preview-op b { color: #0e6eb8; min-width: 1.6em; }
.sq-preview-key { margin-top: 16px; background: #f7faf7; border: 1px solid #d9ead9; border-radius: 8px; padding: 12px 14px; }
.sq-preview-key strong { color: #24663a; }
.sq-preview-kid { margin-top: 16px; padding-top: 12px; border-top: 1px dashed #e6dcc8; }
@media (max-width: 560px) {
    .sq-opts-grid, #sq-opts, .sq-preview-ops { grid-template-columns: 1fr; }
}

