/* UApply PC 工作台 —— 设计系统对齐 server dashboard
   配色 / 字体 / 圆角 / 阴影 / 卡片 / 按钮 / 表单 / 弹窗 等全部组件
   沿用 server 的浅色侧边栏 + 顶栏 + 白底细边框卡片风格（蓝色 #246bfd 主色）。 */

:root {
    --ink: #182033;
    --muted: #667085;
    --muted-light: #98a2b3;
    --line: #e8edf5;
    --canvas: #f5f7fa;
    --card: #ffffff;
    --primary: #246bfd;
    --primary-dark: #1554d1;
    --primary-soft: #eef5ff;
    --brand-soft: #eef5ff;
    --blue: #246bfd;
    --blue-soft: #e9f2ff;
    --green: #18b889;
    --green-soft: #e6f6f0;
    --orange: #f5a524;
    --orange-soft: #fef4e2;
    --red: #e85151;
    --red-soft: #fdecec;
    --shadow: 0 12px 36px rgb(26 40 72 / 9%);
    --shadow-sm: 0 8px 26px rgb(26 40 72 / 5%);
    --radius: 12px;
    --radius-lg: 16px;
}

* { box-sizing: border-box; }
html, body { min-height: 100%; margin: 0; }
body { color: var(--ink); background: var(--canvas); font-family: Inter, "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a { color: inherit; text-decoration: none; }
#uapply_app { min-height: 100vh; }
#uapply_app[v-cloak] { display: none !important; }

/* 工作台页面：去除官网站点 chrome，整屏渲染 */
body.uapply-workbench {
    background: var(--canvas);
}
.uapply-workbench small { font-size: 12px; }
body.uapply-workbench .el-date-table td.week { font-size: 12px; }
body.uapply-workbench .home-header,
body.uapply-workbench .home-footer { display: none; }
body.uapply-workbench .home-site-shell { display: block; }
body.uapply-workbench .home-main { display: block; padding: 0; margin: 0; max-width: none; }

/* 登录 */
.login-wrap { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 30px; background: linear-gradient(180deg, #eef4ff 0%, #f5f7fa 100%); }
.login-card { width: 410px; padding: 42px 42px 34px; border: 1px solid var(--line); border-radius: var(--radius-lg); text-align: center; background: rgba(255,255,255,.97); box-shadow: var(--shadow); }
.login-brand-mark, .brand-symbol { display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg, #4b89ff, var(--primary)); font-weight: 800; }
.login-brand-logo { display: block; height: 44px; width: auto; max-width: 100%; margin: 0 auto 15px; object-fit: contain; }
.login-brand-mark { width: 52px; height: 52px; margin-bottom: 17px; border-radius: 16px; font-size: 27px; box-shadow: 0 8px 18px rgba(36, 107, 253, .26); }
.eyebrow { margin: 0; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 1.8px; text-transform: uppercase; }
.login-eyebrow { margin-bottom: 10px; }
.login-card h1 { margin: 0; color: var(--ink); font-size: 24px; letter-spacing: .2px; }
.sub-title { margin: 10px 0 24px; color: var(--muted); font-size: 13px; }
.qr-box { width: 244px; height: 244px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.qr-box img { display: block; width: 100%; height: 100%; object-fit: contain; }
.qr-placeholder { display: flex; flex-direction: column; gap: 12px; align-items: center; color: var(--muted-light); font-size: 13px; }
.spinner { width: 23px; height: 23px; display: inline-block; border: 3px solid #dbe6fb; border-top-color: var(--primary); border-radius: 50%; animation: spin .85s linear infinite; }
.spinner.dark { width: 18px; height: 18px; border-width: 2px; margin-right: 8px; vertical-align: -4px; }
@keyframes spin { to { transform: rotate(360deg); } }
.login-status { min-height: 22px; margin: 0 0 10px; color: #5b6077; font-size: 13px; }
.login-status.is-error { color: var(--red); }
.primary-btn, .outline-btn, .small-primary-btn, .action-primary, .action-secondary, .danger-btn, .manage-btn, .text-btn, .remove-btn, .file-select-btn { border: 0; transition: color .15s ease, background .15s ease, border-color .15s ease, transform .1s ease; }
.primary-btn { padding: 11px 20px; border-radius: 8px; color: #fff; background: var(--primary); box-shadow: 0 7px 16px rgba(36, 107, 253, .16); }
.primary-btn:hover { background: var(--primary-dark); transform: translateY(-1px); }
.login-refresh { min-width: 126px; }
.login-cancel-link { display: block; margin: 14px 0 0; color: #9aa1b3; font-size: 12px; text-align: center; text-decoration: none; cursor: pointer; user-select: none; transition: color .18s ease; }
.login-cancel-link:hover { color: var(--primary); }
.login-help { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); color: #9aa1b3; font-size: 12px; }
.help-dot { display: inline-flex; width: 18px; height: 18px; align-items: center; justify-content: center; margin-right: 3px; border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-size: 12px; }

/* 外壳 / 导航 —— 浅色侧边栏 + 浅色顶栏，对齐 server dashboard */
.app-shell { min-height: 100vh; display: flex; }
.sidebar { width: 248px; flex: 0 0 248px; min-height: 100vh; display: flex; flex-direction: column; padding: 0 16px 20px; color: var(--ink); background: #fff; border-right: 1px solid var(--line); }
.brand-block { display: flex; align-items: center; padding: 0 0 22px; }
.brand-logo { width: auto; height: 72px; max-width: 100%; max-height: 76px; display: block; object-fit: contain; }
.brand-link { display: block; line-height: 0; border-radius: 10px; transition: opacity 150ms ease; }
.brand-link:hover { opacity: .82; }
.side-nav { display: flex; flex-direction: column; gap: 24px; }
.nav-group { display: grid; gap: 5px; }
.nav-group-label { padding: 0 14px 7px; color: var(--muted-light); font-size: 12px; font-weight: 650; letter-spacing: .08em; }
.side-nav a { min-height: 44px; display: flex; align-items: center; gap: 13px; padding: 0 14px; border-radius: 10px; color: #475467; text-decoration: none; transition: all .15s ease; }
.side-nav a:hover { color: var(--primary-dark); background: var(--primary-soft); }
.side-nav a.active { color: var(--primary-dark); background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.nav-icon { width: 22px; color: #9aa2b8; font-size: 18px; text-align: center; }
.nav-bell-icon { height: 20px; display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.side-nav a.active .nav-icon { color: var(--primary); }
.side-nav em { min-width: 20px; margin-left: auto; padding: 1px 5px; border-radius: 10px; color: #fff; background: var(--primary); font-size: 12px; font-style: normal; text-align: center; }
.sidebar-bottom { margin-top: auto; padding: 0 5px; }
.support-card { width: 100%; min-height: 58px; display: flex; align-items: center; gap: 10px; margin: 10px 0 16px; padding: 10px 11px; border: 1px solid var(--line); border-radius: 10px; box-sizing: border-box; color: inherit; background: #f8fbff; cursor: pointer; text-align: left; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.support-icon { width: 24px; height: 24px; display: inline-flex; flex: 0 0 24px; align-items: center; justify-content: center; border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-weight: 700; }
.support-card b, .support-card small { display: block; }
.support-card b { color: #344054; font-size: 12px; }.support-card small { margin-top: 2px; color: #8a93a6; font-size: 12px; line-height: 1.35; }
.support-card:hover { border-color: #b8cff7; background: #f3f8ff; box-shadow: 0 8px 20px rgba(63, 116, 224, .1); transform: translateY(-1px); }
.support-card:focus-visible { outline: 2px solid rgba(63, 116, 224, .35); outline-offset: 2px; }
.support-copy { min-width: 0; flex: 1; }
.support-arrow { color: #9aacc9; font-size: 20px; line-height: 1; transition: color .18s ease, transform .18s ease; }
.support-card:hover .support-arrow { color: var(--primary); transform: translateX(2px); }
.sidebar-version { color: #9aa2b8; font-size: 12px; text-align: center; }
.app-stage { min-width: 0; flex: 1; }
.topbar { height: 76px; position: relative; z-index: 10; display: flex; align-items: center; padding: 0 32px; border-bottom: 1px solid var(--line); background: rgba(255,255,255,.96); backdrop-filter: blur(18px); }
.topbar-title { display: grid; gap: 3px; }.topbar-title b { color: var(--ink); font-size: 18px; font-weight: 650; }.topbar-title small { color: var(--muted); font-size: 12px; }
.topbar-actions { display: flex; align-items: center; gap: 27px; margin-left: auto; }.sync-state { color: #8a93a6; font-size: 12px; }.sync-state i { width: 7px; height: 7px; display: inline-block; margin-right: 6px; border-radius: 50%; background: var(--green); vertical-align: 1px; }
.user-menu { display: inline-flex; min-height: 40px; padding: 0 16px 0 5px; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 999px; background: #fff; transition: border-color 150ms ease, box-shadow 150ms ease; }.user-menu:hover { border-color: var(--primary); box-shadow: 0 6px 16px rgba(36, 107, 253, .14); }.mini-avatar, .profile-avatar { overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #4b89ff, var(--primary)); font-weight: 700; }.mini-avatar { width: 30px; height: 30px; font-size: 13px; }.mini-avatar img, .profile-avatar img { width: 100%; height: 100%; object-fit: cover; }.user-name { max-width: 130px; overflow: hidden; color: #35445b; font-size: 13px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }.user-menu button { padding: 0; border: 0; color: #8a93a6; background: transparent; font-size: 12px; }.user-menu button:hover { color: var(--primary); }
.mobile-menu-btn { display: none; margin-right: 13px; padding: 0; border: 0; color: var(--ink); background: transparent; font-size: 21px; }
.workspace { width: min(100%, 1440px); padding: 28px 32px 48px; }

/* 通用页面 */
.view-section { animation: fade-in .2s ease; }.page-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; margin-bottom: 30px; }.page-heading h1 { margin: 7px 0 6px; color: var(--ink); font-size: 30px; line-height: 1.2; letter-spacing: -.3px; }.page-heading p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; }.hero-heading { align-items: center; margin-bottom: 30px; }.hero-heading h1 { font-size: 32px; }.wave { font-size: 25px; }.heading-actions { display: flex; gap: 10px; align-items: center; }.section-card { border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm); }.card-heading, .section-title-row, .section-heading-inline { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.card-heading h2, .section-title-row h2, .section-heading-inline h2 { margin: 0; color: #30324a; font-size: 18px; }.card-heading p, .section-title-row p, .section-heading-inline p { margin: 4px 0 0; color: var(--muted); font-size: 12px; }.text-btn { padding: 4px 0; color: var(--primary); background: transparent; font-size: 12px; }.text-btn:hover { color: var(--primary-dark); }.outline-btn { padding: 11px 20px; border: 1px solid #d3dee9; border-radius: 8px; color: #475467; background: #fff; font-size: 14px; }.outline-btn:hover { border-color: #9eb5df; color: var(--primary-dark); background: #f8fbff; }.outline-btn.small { padding: 6px 10px; font-size: 12px; }.full-btn { width: 100%; }
.uapply-icon-before, .uapply-icon-after { vertical-align: middle; }
.uapply-icon-before { margin-right: 4px; }
.uapply-icon-after { margin-left: 4px; }
@keyframes fade-in { from { opacity: .3; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }

/* 概览 —— 对齐 server dashboard 结构 */
.dashboard-view { display: grid; gap: 24px; }
.dashboard-welcome { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dashboard-welcome .eyebrow { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: none; }
.dashboard-welcome h1 { margin: 6px 0 8px; color: var(--ink); font-size: 26px; line-height: 1.25; letter-spacing: -.3px; }
.dashboard-welcome p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 13px; }
.dashboard-welcome .primary-btn { min-height: 40px; padding: 0 18px; border-radius: 8px; font-size: 13px; }
.dashboard-demo-notice { display: flex; align-items: center; gap: 10px; width: fit-content; max-width: 100%; margin-top: 14px; padding: 9px 12px; border: 1px solid #f1d39f; border-radius: 9px; background: #fff9ed; }
.dashboard-demo-notice > span { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; color: #9d5b0a; background: #ffe8bd; font-size: 12px; font-weight: 700; }
.dashboard-welcome .dashboard-demo-notice p { margin: 0; color: #7e643d; font-size: 12px; line-height: 1.55; }
.dashboard-demo-notice b { color: #754c10; font-weight: 700; }
.dashboard-section, .dashboard-card { border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.dashboard-section { padding: 22px; }
.dashboard-card { padding: 22px; }
.dashboard-section__heading, .dashboard-card__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.dashboard-section__heading h2, .dashboard-card__heading h2 { margin: 0 0 5px; color: var(--ink); font-size: 17px; }
.dashboard-section__heading p, .dashboard-card__heading p { margin: 0; color: var(--muted); font-size: 12px; }
.dashboard-overview-grid { display: grid; margin-top: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.dashboard-stat-card { display: grid; min-height: 112px; padding: 16px; gap: 6px; align-content: start; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; }
.dashboard-stat-card__label { color: var(--muted); font-size: 12px; }
.dashboard-stat-card strong { color: var(--primary); font-size: 27px; line-height: 1.1; }
.dashboard-stat-card__hint { color: var(--muted-light); font-size: 12px; }
.dashboard-main-grid { display: grid; align-items: stretch; grid-template-columns: minmax(0, 1.6fr) minmax(300px, .8fr); gap: 18px; }
.dashboard-count { color: var(--muted-light); font-size: 12px; }
.dashboard-status { display: inline-flex; padding: 5px 9px; border-radius: 999px; color: var(--primary-dark); background: var(--primary-soft); font-size: 12px; font-weight: 650; white-space: nowrap; }
.progress-card .status-overview { margin-top: 22px; }
.status-overview-title { display: flex; justify-content: space-between; align-items: baseline; color: #454863; font-size: 13px; font-weight: 700; }
.status-overview-title small { color: var(--muted-light); font-size: 12px; font-weight: 400; }
.status-bars { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 16px; }
.status-bars > div { position: relative; }
.status-bars span { color: #7c8499; font-size: 12px; }
.status-bars b { float: right; color: #454762; font-size: 12px; }
.bar { height: 6px; margin-top: 9px; overflow: hidden; border-radius: 5px; background: #eef1f6; }
.bar i { display: block; height: 100%; min-width: 3px; border-radius: inherit; background: var(--primary); transition: width .3s ease; }
.status-bars > div:nth-child(2) .bar i { background: var(--orange); }
.status-bars > div:nth-child(3) .bar i { background: #2f86f6; }
.status-bars > div:nth-child(4) .bar i { background: var(--green); }
.dot { width: 6px; height: 6px; display: inline-block; margin-right: 5px; border-radius: 50%; }
.dot-gray { background: #b6bccb; }.dot-orange { background: var(--orange); }.dot-blue { background: #2f86f6; }.dot-green { background: var(--green); }
.dashboard-activity-card, .material-readiness-card { height: 380px; box-sizing: border-box; }
.dashboard-activity-card { min-width: 0; display: flex; flex-direction: column; }
.dashboard-activity-content { min-height: 0; display: flex; flex: 1; flex-direction: column; }
.dashboard-activity-filters { display: flex; flex: 0 0 auto; gap: 8px; margin-top: 15px; overflow-x: auto; padding-bottom: 1px; scrollbar-width: none; }
.dashboard-activity-filters::-webkit-scrollbar { display: none; }
.dashboard-activity-filters button { display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid #e2e8f0; border-radius: 999px; color: #667085; background: #fff; font-size: 12px; line-height: 1.2; white-space: nowrap; transition: color .15s ease, border-color .15s ease, background .15s ease; }
.dashboard-activity-filters button:hover { border-color: #b8cef0; color: #3269c4; background: #f8fbff; }
.dashboard-activity-filters button.is-active { border-color: #c7daf6; color: #275fae; background: #eaf2ff; font-weight: 650; }
.dashboard-activity-filters button span { min-width: 18px; padding: 1px 5px; border-radius: 999px; color: #7a8497; background: #f1f4f8; font-size: 12px; text-align: center; }
.dashboard-activity-filters button.is-active span { color: #275fae; background: #d8e8ff; }
.dashboard-activity-scroll { min-height: 0; flex: 1; margin-top: 14px; overflow-y: auto; overscroll-behavior: contain; padding-right: 6px; scrollbar-color: #c7d3e3 transparent; scrollbar-width: thin; }
.dashboard-activity-scroll::-webkit-scrollbar { width: 6px; }
.dashboard-activity-scroll::-webkit-scrollbar-thumb { border-radius: 999px; background: #c7d3e3; }
.dashboard-activity-scroll::-webkit-scrollbar-track { background: transparent; }
.dashboard-activity-groups { display: grid; gap: 18px; }
.dashboard-activity-group { min-width: 0; }
.dashboard-activity-group__heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 9px; }
.dashboard-activity-group__heading strong { color: #364152; font-size: 13px; }
.dashboard-activity-group__heading span { color: #98a2b3; font-size: 12px; }
.dashboard-activity-list { display: grid; gap: 8px; }
.dashboard-activity-item { display: grid; align-items: center; grid-template-columns: 38px minmax(140px, .85fr) minmax(220px, 1.3fr) auto; gap: 12px; min-width: 0; padding: 12px 13px; border: 1px solid #e8edf5; border-radius: 11px; background: #fbfcfe; }
.dashboard-activity-school-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border-radius: 10px; color: #3269c4; background: #eaf2ff; font-size: 14px; font-weight: 700; }
.dashboard-activity-identity, .dashboard-activity-state { min-width: 0; }
.dashboard-activity-identity h3 { margin: 0; overflow: hidden; color: #344054; font-size: 13px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-activity-identity p, .dashboard-activity-state p { margin: 4px 0 0; overflow: hidden; color: #8a94a6; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-activity-state > span { display: inline-flex; padding: 4px 8px; border-radius: 999px; font-size: 12px; font-weight: 650; }
.dashboard-activity-state > span.is-primary { color: #235fae; background: #e6efff; }
.dashboard-activity-state > span.is-warning { color: #9b6019; background: #fff1dc; }
.dashboard-activity-state > span.is-success { color: #168061; background: #e5f6ef; }
.dashboard-activity-state > span.is-danger { color: #b64c59; background: #fdecef; }
.dashboard-activity-state > span.is-gray { color: #667085; background: #eef1f5; }
.dashboard-activity-action { min-width: 92px; padding: 8px 10px; border: 1px solid #d6e2f3; border-radius: 8px; color: #3269c4; background: #fff; font-size: 12px; font-weight: 650; white-space: nowrap; }
.dashboard-activity-action:hover { border-color: #aecaef; background: #f4f8ff; }
.dashboard-activity-action i { margin-left: 4px; font-style: normal; }
.dashboard-activity-filter-empty { display: grid; min-height: 150px; margin: 0; place-items: center; color: #8a94a6; font-size: 12px; }
.material-readiness-card { min-width: 0; display: flex; flex-direction: column; }
.material-readiness-list { display: grid; gap: 9px; margin-top: 14px; }
.material-readiness-list article { padding: 10px 12px; border: 1px solid #e8edf5; border-radius: 11px; background: #fbfcfe; }
.material-readiness-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.material-readiness-head span { color: #475467; font-size: 13px; font-weight: 650; }
.material-readiness-head strong { color: var(--primary); font-size: 17px; }
.material-readiness-list article > p { margin: 4px 0 8px; color: #8a94a6; font-size: 12px; line-height: 1.45; }
.material-readiness-track { height: 7px; overflow: hidden; border-radius: 999px; background: #e8edf5; }
.material-readiness-track i { height: 100%; display: block; min-width: 3px; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #72a5fb); }
.material-readiness-track.is-green i { background: linear-gradient(90deg, #20a77f, #72d1b5); }
.material-readiness-tip { display: flex; align-items: center; gap: 9px; margin: 10px 0; padding: 8px 10px; border-radius: 9px; color: #53705f; background: #f1faf7; }
.material-readiness-tip > span { width: 22px; height: 22px; display: inline-flex; flex: 0 0 22px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: var(--green); font-size: 12px; font-weight: 700; }
.material-readiness-tip p { margin: 0; font-size: 12px; line-height: 1.45; }
.material-readiness-card > .full-btn { margin-top: auto; }
.dashboard-empty-state { display: grid; min-height: 220px; padding: 30px; place-items: center; align-content: center; text-align: center; }
.dashboard-empty-state__icon { display: grid; width: 48px; height: 48px; margin-bottom: 10px; place-items: center; border-radius: 14px; color: var(--primary); background: var(--primary-soft); font-size: 24px; }
.dashboard-empty-state h3 { margin: 0 0 7px; color: var(--ink); font-size: 15px; }
.dashboard-empty-state p { max-width: 520px; margin: 0 0 18px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.next-step-list { display: grid; gap: 10px; margin-top: 20px; }
.next-step-list a { display: flex; align-items: center; gap: 13px; min-height: 70px; padding: 14px 15px; border: 1px solid #eef1f6; border-radius: 12px; background: #fff; text-decoration: none; transition: border-color .18s, box-shadow .18s, transform .18s; }
.next-step-list a:hover { border-color: #c6dcfb; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.step-number { width: 28px; height: 28px; display: inline-flex; flex: 0 0 28px; align-items: center; justify-content: center; border-radius: 9px; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 700; }
.next-step-list a > div { min-width: 0; flex: 1; }
.next-step-list b, .next-step-list small { display: block; }
.next-step-list b { color: #444663; font-size: 13px; }
.next-step-list small { margin-top: 4px; overflow: hidden; color: #9a9eaf; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.next-step-list strong { min-width: 52px; color: var(--primary); font-size: 12px; font-weight: 500; text-align: right; }
.next-step-list strong i { margin-left: 4px; font-style: normal; }
.next-step-list .step-done { border-color: #cdeee2; background: #fbfffd; }
.next-step-list .step-done .step-number { color: var(--green); background: var(--green-soft); }
.next-step-list .step-done strong { color: var(--green); }

/* 首页申请流程 */
.application-flow-panel { overflow: hidden; padding: 0; }
.application-flow-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 24px 26px 22px; border-bottom: 1px solid #e8edf5; background: linear-gradient(115deg, #f7faff 0, #fff 68%); }
.application-flow-intro { min-width: 0; }
.application-flow-eyebrow { display: block; margin-bottom: 6px; color: var(--primary); font-size: 12px; font-weight: 750; letter-spacing: 1.3px; }
.application-flow-intro h2 { margin: 0; color: var(--ink); font-size: 18px; }
.application-flow-intro p { margin: 7px 0 0; color: #858fa1; font-size: 12px; line-height: 1.7; }
.application-flow-summary { width: min(260px, 32%); flex: 0 0 auto; }
.application-flow-summary > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.application-flow-summary strong { color: #344054; font-size: 12px; }
.application-flow-summary span { overflow: hidden; color: var(--primary); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.application-flow-progress { height: 5px; margin-top: 9px; overflow: hidden; border-radius: 999px; background: #e6edf8; }
.application-flow-progress i { height: 100%; display: block; border-radius: inherit; background: linear-gradient(90deg, var(--primary), #72a5fb); transition: width .25s ease; }
.application-flow-list { padding: 9px 18px 16px; }
.application-flow-step { width: 100%; display: flex; align-items: center; gap: 14px; position: relative; padding: 13px 10px; border: 0; border-radius: 11px; color: inherit; background: transparent; cursor: pointer; text-align: left; transition: background .18s ease, box-shadow .18s ease, transform .18s ease; }
.application-flow-step:hover { background: #f8faff; transform: translateY(-1px); }
.application-flow-step:focus-visible { outline: 2px solid rgba(36, 107, 253, .3); outline-offset: -1px; }
.application-flow-step.is-current { padding: 15px 13px; background: linear-gradient(100deg, #f1f6ff, #f8fbff); box-shadow: inset 3px 0 0 var(--primary); }
.application-flow-marker { width: 30px; align-self: stretch; display: flex; flex: 0 0 30px; align-items: center; flex-direction: column; }
.application-flow-marker i { width: 28px; height: 28px; display: inline-flex; flex: 0 0 28px; align-items: center; justify-content: center; border: 1px solid #dce3ee; border-radius: 50%; color: #8a94a6; background: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.application-flow-marker em { width: 1px; flex: 1; min-height: 18px; margin-top: 6px; background: #e2e7ef; }
.application-flow-step:last-child .application-flow-marker em { display: none; }
.flow-step-done .application-flow-marker i { border-color: #bce8d9; color: #fff; background: var(--green); }
.flow-step-done .application-flow-marker em { background: #bce8d9; }
.application-flow-step.is-current .application-flow-marker i { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 5px 13px rgba(36, 107, 253, .22); }
.flow-step-partial .application-flow-marker i { border-color: #f0ca9c; color: #b66d16; background: #fff8ee; }
.application-flow-copy { min-width: 0; display: block; flex: 1; }
.application-flow-title { display: flex; align-items: center; gap: 9px; }
.application-flow-title b { color: #3e4658; font-size: 13px; }
.application-flow-title small { padding: 3px 8px; border-radius: 999px; color: #8791a2; background: #f0f2f6; font-size: 12px; white-space: nowrap; }
.flow-step-done .application-flow-title small { color: #168061; background: #e7f7f1; }
.application-flow-step.is-current .application-flow-title small { color: #2867c2; background: #dfeaff; }
.flow-step-partial .application-flow-title small { color: #a86212; background: #fff1dd; }
.application-flow-description { display: block; margin-top: 4px; color: #8b94a5; font-size: 12px; line-height: 1.55; }
.application-flow-current-tip { display: block; margin-top: 6px; color: var(--primary); font-size: 12px; font-weight: 600; }
.application-flow-action { min-width: 92px; flex: 0 0 auto; color: #72819a; font-size: 12px; text-align: right; white-space: nowrap; }
.application-flow-action i { margin-left: 5px; color: var(--primary); font-style: normal; }
.application-flow-step.is-current .application-flow-action { color: var(--primary); font-weight: 650; }
.flow-step-done .application-flow-action { color: #4d8e79; }

/* 独立申请规划页 */
.planning-view { display: grid; gap: 22px; }
.planning-view .page-heading { margin-bottom: 0; }
.planning-view .page-heading .eyebrow { font-size: 12px; }
.planning-phase-switch { display: grid; grid-template-columns: minmax(0, 1fr) 34px minmax(0, 1fr); align-items: center; padding: 12px; }
.planning-phase-switch > button { min-width: 0; display: grid; grid-template-columns: 38px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 13px 15px; border: 1px solid transparent; border-radius: 12px; color: #7d8797; background: transparent; cursor: pointer; text-align: left; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.planning-phase-switch > button:hover:not(:disabled) { border-color: #dce8fb; background: #f8fbff; }
.planning-phase-switch > button.active { border-color: #cfe0fb; color: #315f9f; background: linear-gradient(110deg, #eff5ff, #f9fbff); box-shadow: 0 6px 18px rgba(59, 108, 179, .08); }
.planning-phase-switch > button:disabled { cursor: not-allowed; opacity: .52; }
.planning-phase-switch > button > i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid #dbe2ed; border-radius: 10px; color: #8791a2; background: #fff; font-size: 13px; font-style: normal; font-weight: 750; }
.planning-phase-switch > button.active > i { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 5px 12px rgba(36, 107, 253, .2); }
.planning-phase-switch > button > span { min-width: 0; display: grid; gap: 3px; }
.planning-phase-switch strong { color: #414b5d; font-size: 14px; }
.planning-phase-switch small { overflow: hidden; color: #8c96a7; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.planning-phase-switch em { padding: 4px 9px; border-radius: 999px; color: #7d8797; background: #f0f2f5; font-size: 12px; font-style: normal; white-space: nowrap; }
.planning-phase-switch > button.active em { color: #2f68bb; background: #dfeaff; }
.planning-phase-connector { height: 1px; background: #dce3ee; }
.planning-target-setup { display: grid; grid-template-columns: minmax(260px, 1fr) minmax(420px, 1.15fr); align-items: center; gap: 28px; padding: 24px 26px; background: linear-gradient(116deg, #f4f8ff, #fff 68%); }
.planning-target-copy > span, .planning-program-head > div > span, .planning-focus-index + div > span { color: var(--primary); font-size: 12px; font-weight: 750; letter-spacing: 1px; }
.planning-target-copy h2 { margin: 7px 0 6px; color: var(--ink); font-size: 20px; }
.planning-target-copy p { margin: 0; color: #7f899b; font-size: 12px; line-height: 1.7; }
.planning-target-form { display: grid; grid-template-columns: repeat(2, minmax(120px, 1fr)) auto; align-items: end; gap: 10px; padding: 15px; border: 1px solid #e1e9f5; border-radius: 14px; background: rgba(255, 255, 255, .88); }
.planning-target-form label { min-width: 0; display: grid; gap: 6px; }
.planning-target-form label > span { color: #667085; font-size: 12px; font-weight: 650; }
.planning-target-form select { width: 100%; height: 38px; padding: 0 32px 0 11px; border: 1px solid #dce3ed; border-radius: 8px; color: #344054; background: #fff; font-size: 13px; }
.planning-target-form .primary-btn { min-height: 38px; white-space: nowrap; }
.planning-target-form > small { grid-column: 1 / -1; color: #98a2b3; font-size: 12px; line-height: 1.55; }
.planning-overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.planning-overview-card { min-width: 0; display: grid; gap: 7px; padding: 18px 20px; }
.planning-overview-card > span { color: #7f8999; font-size: 12px; }
.planning-overview-card strong { overflow: hidden; color: var(--primary-dark); font-size: 20px; text-overflow: ellipsis; white-space: nowrap; }
.planning-overview-card small { color: #98a2b3; font-size: 12px; }
button.planning-overview-card { width: 100%; appearance: none; border: 1px solid var(--line); text-align: left; cursor: pointer; font: inherit; }
button.planning-overview-card:hover, button.planning-overview-card:focus { border-color: #9ebef0; background: #f8fbff; outline: none; }
button.planning-overview-card:focus-visible { box-shadow: 0 0 0 3px rgba(36, 107, 253, .18), var(--shadow-sm); }
.planning-loading { min-height: 240px; display: grid; place-items: center; align-content: center; gap: 12px; }
.planning-loading p { margin: 0; color: #667085; font-size: 13px; }
.planning-board { padding: 0; }
.planning-scope-note { display: flex; align-items: flex-start; gap: 12px; padding: 16px 18px; }
.planning-scope-note > span { width: 24px; height: 24px; display: grid; flex: 0 0 24px; place-items: center; border-radius: 50%; color: #2c68bc; background: #e8f1ff; font-size: 12px; font-weight: 700; }
.planning-scope-note strong { color: #465064; font-size: 13px; }
.planning-scope-note p { margin: 4px 0 0; color: #8791a2; font-size: 12px; line-height: 1.65; }
.dashboard-planning-panel { overflow: hidden; padding: 0; }
.dashboard-planning-head { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 23px 26px 20px; border-bottom: 1px solid #e8edf5; background: linear-gradient(112deg, #f7faff, #fff 70%); }
.dashboard-planning-head > div:first-child { min-width: 0; }
.dashboard-planning-eyebrow { display: block; margin-bottom: 6px; color: var(--primary); font-size: 12px; font-weight: 750; letter-spacing: 1.3px; }
.dashboard-planning-head h2 { margin: 0; color: var(--ink); font-size: 18px; }
.dashboard-planning-head p { margin: 7px 0 0; color: #858fa1; font-size: 12px; line-height: 1.7; }
.dashboard-planning-target { min-width: 210px; display: grid; justify-items: end; gap: 4px; flex: 0 0 auto; }
.dashboard-planning-target span, .dashboard-planning-target small { color: #8a94a6; font-size: 12px; }
.dashboard-planning-target strong { color: var(--primary-dark); font-size: 16px; }
.dashboard-planning-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 14px 26px; border-bottom: 1px solid #edf1f6; }
.dashboard-planning-toolbar > div { display: flex; align-items: center; gap: 15px; }
.dashboard-planning-toolbar > div:last-child > span { color: #98a2b3; font-size: 12px; }
.dashboard-planning-toolbar .text-btn { flex: 0 0 auto; }
.dashboard-planning-toolbar .text-btn i { margin-left: 4px; font-style: normal; }
.dashboard-planning-legend { flex-wrap: wrap; }
.dashboard-planning-legend span { display: inline-flex; align-items: center; gap: 6px; color: #667085; font-size: 12px; white-space: nowrap; }
.dashboard-planning-legend i { width: 9px; height: 9px; display: inline-block; border-radius: 3px; background: #dce2eb; }
.dashboard-planning-legend i.is-done { background: #52b995; }
.dashboard-planning-legend i.is-current { background: #4c8df5; }
.dashboard-planning-legend i.is-upcoming { border: 1px solid #cfd7e3; background: #eef1f5; }
.dashboard-planning-legend i.is-today { width: 2px; border-radius: 0; background: #ef6574; }
.dashboard-planning-scroll { overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-color: #c7d3e3 transparent; scrollbar-width: thin; }
.dashboard-planning-gantt { min-width: 1040px; display: grid; grid-template-columns: 250px minmax(760px, 1fr); }
.dashboard-planning-corner { display: flex; align-items: flex-end; padding: 13px 18px; border-right: 1px solid #e8edf5; border-bottom: 1px solid #e8edf5; color: #667085; background: #fafbfd; font-size: 12px; font-weight: 650; }
.dashboard-planning-months { display: grid; grid-template-columns: repeat(13, minmax(55px, 1fr)); border-bottom: 1px solid #e8edf5; background: #fafbfd; }
.dashboard-planning-months span { min-width: 0; padding: 10px 3px; border-right: 1px solid #edf1f5; color: #667085; font-size: 12px; text-align: center; }
.dashboard-planning-months small { min-height: 18px; display: block; color: #a0a8b7; font-size: 12px; }
.dashboard-planning-stage { min-width: 0; padding: 12px 18px; border-right: 1px solid #e8edf5; border-bottom: 1px solid #edf1f5; }
.planning-stage-button { width: 100%; border-top: 0; border-left: 0; background: #fff; cursor: pointer; text-align: left; transition: background .18s ease; }
.planning-stage-button:hover { background: #f7faff; }
.planning-stage-button:focus-visible, .dashboard-planning-bar:focus-visible { z-index: 3; outline: 2px solid rgba(36, 107, 253, .35); outline-offset: -2px; }
.dashboard-planning-stage > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.dashboard-planning-stage strong { overflow: hidden; color: #3f4859; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-planning-stage > div > span { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; font-size: 12px; white-space: nowrap; }
.dashboard-planning-stage > div > span.is-done { color: #198064; background: #e8f7f2; }
.dashboard-planning-stage > div > span.is-current { color: #2d67b9; background: #e7f0ff; }
.dashboard-planning-stage > div > span.is-upcoming { color: #7b8494; background: #f0f2f5; }
.dashboard-planning-stage p { margin: 5px 0 3px; overflow: hidden; color: #8a94a6; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-planning-stage > small { color: #a0a8b7; font-size: 12px; }
.dashboard-planning-track { min-height: 79px; display: grid; grid-template-columns: repeat(13, minmax(55px, 1fr)); position: relative; border-bottom: 1px solid #edf1f5; background: #fff; }
.dashboard-planning-track > i { border-right: 1px solid #f0f3f7; }
.dashboard-planning-bar { height: 26px; display: flex; align-items: center; position: absolute; top: 26px; z-index: 1; overflow: hidden; border-radius: 7px; box-shadow: 0 3px 9px rgba(34, 73, 132, .08); }
.dashboard-planning-bar { padding: 0; border: 0; cursor: pointer; text-align: left; }
.dashboard-planning-bar.is-done { color: #176f58; background: linear-gradient(90deg, #aee6d4, #c9efe3); }
.dashboard-planning-bar.is-current { color: #245fae; background: linear-gradient(90deg, #b7d1fb, #d7e6ff); }
.dashboard-planning-bar.is-upcoming { color: #687386; background: repeating-linear-gradient(135deg, #edf0f5, #edf0f5 7px, #f6f7f9 7px, #f6f7f9 14px); }
.dashboard-planning-bar b { display: block; overflow: hidden; padding: 0 10px; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.dashboard-planning-bar:after { width: 8px; height: 8px; position: absolute; right: 6px; border: 2px solid currentColor; border-radius: 2px; content: ''; transform: rotate(45deg); opacity: .65; }
.dashboard-planning-today { width: 2px; height: 100%; position: absolute; top: 0; z-index: 2; background: #ef6574; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); pointer-events: none; }
.dashboard-planning-today:before { width: 7px; height: 7px; position: absolute; top: 4px; left: -2px; border-radius: 50%; background: #ef6574; content: ''; }
.dashboard-planning-mobile-tip { display: none; margin: 0; padding: 10px 18px; color: #8a94a6; background: #fafbfd; font-size: 12px; text-align: center; }
.dashboard-planning-empty { display: flex; align-items: center; gap: 15px; padding: 25px 26px; }
.dashboard-planning-empty > span { width: 42px; height: 42px; display: grid; flex: 0 0 42px; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); font-size: 22px; }
.dashboard-planning-empty > div { min-width: 0; flex: 1; }
.dashboard-planning-empty h3 { margin: 0; color: var(--ink); font-size: 14px; }
.dashboard-planning-empty p { margin: 5px 0 0; color: #8a94a6; font-size: 12px; line-height: 1.6; }
.dashboard-planning-empty .primary-btn { flex: 0 0 auto; }
.planning-next-phase { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.planning-next-phase > span { width: 36px; height: 36px; display: grid; flex: 0 0 36px; place-items: center; border-radius: 10px; color: #6d7b91; background: #eef2f7; font-size: 13px; font-weight: 750; }
.planning-next-phase > div { min-width: 0; flex: 1; }
.planning-next-phase strong { color: #414b5d; font-size: 14px; }
.planning-next-phase p { margin: 4px 0 0; color: #8993a4; font-size: 12px; line-height: 1.55; }
.planning-next-phase button { flex: 0 0 auto; }
.planning-target-tabs { display: flex; gap: 8px; overflow-x: auto; padding: 2px; }
.planning-target-tabs button { flex: 0 0 auto; padding: 8px 14px; border: 1px solid #dfe5ee; border-radius: 999px; color: #6e7889; background: #fff; font-size: 12px; cursor: pointer; }
.planning-target-tabs button.active { border-color: #bcd2f8; color: #2d67ba; background: #edf4ff; font-weight: 650; }
.planning-portfolio-focus { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 21px 24px; border-color: #d7e5fb; background: linear-gradient(110deg, #eef5ff, #fff 74%); }
.planning-focus-index { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: linear-gradient(135deg, var(--primary), #75a7fa); box-shadow: 0 9px 20px rgba(36, 107, 253, .2); font-size: 13px; font-weight: 750; }
.planning-portfolio-focus h2 { margin: 5px 0 3px; color: #324764; font-size: 18px; }
.planning-portfolio-focus p { margin: 0; color: #758398; font-size: 12px; line-height: 1.6; }
.planning-portfolio-focus .primary-btn { white-space: nowrap; }
.planning-program-panel { overflow: hidden; padding: 0; }
.planning-program-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 22px 25px 19px; border-bottom: 1px solid #e8edf5; }
.planning-program-head h2 { margin: 6px 0 5px; color: var(--ink); font-size: 18px; }
.planning-program-head p { margin: 0; color: #8791a2; font-size: 12px; line-height: 1.6; }
.planning-program-head > small { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; color: #a26924; background: #fff3df; font-size: 12px; }
.planning-program-list { display: grid; }
.planning-program-row { padding: 20px 24px; border-bottom: 1px solid #edf1f6; background: #fff; }
.planning-program-row:last-child { border-bottom: 0; }
.planning-program-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }
.planning-program-title > div:first-child { min-width: 0; }
.planning-program-title span { color: #8993a4; font-size: 12px; }
.planning-program-title h3 { margin: 4px 0 0; overflow: hidden; color: #344054; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.planning-program-title > div:last-child { display: flex; flex: 0 0 auto; align-items: center; gap: 7px; }
.planning-program-title em, .planning-program-title strong { padding: 4px 8px; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 650; white-space: nowrap; }
.planning-program-title em { color: #6c7788; background: #f0f2f5; }
.planning-program-title strong { color: #667085; background: #eef1f5; }
.planning-program-title strong.tone-primary { color: #2b67bb; background: #e5efff; }
.planning-program-title strong.tone-warning { color: #a5681f; background: #fff1df; }
.planning-program-title strong.tone-success { color: #19785f; background: #e5f6f0; }
.planning-program-title strong.tone-danger { color: #bd5060; background: #fdebed; }
.planning-program-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 18px 0 16px; }
.planning-program-steps > span { min-width: 0; display: flex; align-items: center; gap: 8px; position: relative; color: #9aa3b1; font-size: 12px; }
.planning-program-steps > span:after { height: 2px; position: absolute; z-index: 0; right: 9px; left: 31px; background: #e6eaf0; content: ''; }
.planning-program-steps > span:last-child:after { display: none; }
.planning-program-steps i { width: 24px; height: 24px; display: grid; z-index: 1; flex: 0 0 24px; place-items: center; border: 1px solid #dce2eb; border-radius: 50%; background: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.planning-program-steps b { z-index: 1; overflow: hidden; padding-right: 8px; background: #fff; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.planning-program-steps > span.is-done { color: #208165; }
.planning-program-steps > span.is-done i { border-color: #50b797; color: #fff; background: #50b797; }
.planning-program-steps > span.is-done:after { background: #9edbc7; }
.planning-program-steps > span.is-current { color: #2c68bc; }
.planning-program-steps > span.is-current i { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 4px 10px rgba(36, 107, 253, .2); }
.planning-program-next { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: 10px; background: #f8fafc; }
.planning-program-next > div { min-width: 0; flex: 1; }
.planning-program-next span { color: #98a2b3; font-size: 12px; }
.planning-program-next strong { margin-left: 7px; color: #465367; font-size: 13px; }
.planning-program-next p { margin: 4px 0 0; color: #8993a4; font-size: 12px; line-height: 1.5; }
.planning-program-next .text-btn { flex: 0 0 auto; }
.planning-detail-mask { z-index: 68; }
.modal-card.planning-detail-modal { width: min(680px, 100%); padding: 29px 31px 24px; }
.planning-detail-modal > .modal-eyebrow { padding-right: 34px; font-size: 12px; }
.planning-detail-modal > .modal-desc { line-height: 1.7; }
.planning-detail-status { display: flex; align-items: center; gap: 10px; margin: 17px 0; }
.planning-detail-status span { padding: 4px 9px; border-radius: 999px; color: #6f7888; background: #eef1f5; font-size: 12px; }
.planning-detail-status span.is-done { color: #19785f; background: #e5f6f0; }
.planning-detail-status span.is-current { color: #2b67bb; background: #e5efff; }
.planning-detail-status small { color: #8d96a6; font-size: 12px; }
.planning-detail-section { padding: 16px 17px; border: 1px solid #e5eaf2; border-radius: 12px; background: #fafbfd; }
.planning-detail-section h3 { margin: 0 0 12px; color: #3f4a5c; font-size: 14px; }
.planning-detail-section ol { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.planning-detail-section li { display: flex; align-items: flex-start; gap: 10px; color: #667085; font-size: 12px; line-height: 1.65; }
.planning-detail-section li i { width: 22px; height: 22px; display: grid; flex: 0 0 22px; place-items: center; border-radius: 7px; color: #2f69bc; background: #e7f0ff; font-size: 12px; font-style: normal; font-weight: 700; }
.planning-detail-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.planning-detail-grid > div { padding: 13px 14px; border-radius: 10px; background: #f7f9fc; }
.planning-detail-grid span { color: #7b8698; font-size: 12px; font-weight: 650; }
.planning-detail-grid p { margin: 5px 0 0; color: #667085; font-size: 12px; line-height: 1.65; }

@media (max-width: 1080px) {
    .dashboard-planning-toolbar { align-items: flex-start; flex-direction: column; }
    .dashboard-planning-toolbar > div:last-child { width: 100%; justify-content: space-between; }
    .dashboard-planning-mobile-tip { display: block; }
}

@media (max-width: 800px) {
    .planning-phase-switch { grid-template-columns: 1fr; gap: 8px; }
    .planning-phase-connector { width: 1px; height: 12px; margin-left: 31px; }
    .planning-phase-switch > button { grid-template-columns: 38px minmax(0, 1fr); }
    .planning-phase-switch em { grid-column: 2; justify-self: start; }
    .planning-target-setup { grid-template-columns: 1fr; gap: 18px; padding: 21px 19px; }
    .planning-target-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .planning-target-form .primary-btn { grid-column: 1 / -1; }
    .planning-overview-grid { grid-template-columns: 1fr; }
    .dashboard-planning-head { align-items: flex-start; flex-direction: column; gap: 14px; padding: 21px 19px 18px; }
    .dashboard-planning-target { min-width: 0; justify-items: start; }
    .dashboard-planning-toolbar { padding: 13px 19px; }
    .dashboard-planning-toolbar > div:last-child { align-items: flex-start; flex-direction: column; }
    .dashboard-planning-empty { align-items: flex-start; flex-wrap: wrap; padding: 22px 20px; }
    .dashboard-planning-empty > div { flex-basis: calc(100% - 60px); }
    .dashboard-planning-empty .primary-btn { width: 100%; }
    .planning-next-phase { align-items: flex-start; flex-wrap: wrap; }
    .planning-next-phase > div { flex-basis: calc(100% - 54px); }
    .planning-next-phase button { width: 100%; }
    .planning-portfolio-focus { grid-template-columns: 48px minmax(0, 1fr); padding: 19px; }
    .planning-portfolio-focus .primary-btn { grid-column: 1 / -1; width: 100%; }
    .planning-program-head { flex-direction: column; padding: 20px 19px 17px; }
    .planning-program-row { padding: 18px 17px; }
    .planning-program-title { flex-direction: column; gap: 10px; }
    .planning-program-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 0; }
    .planning-program-steps > span:nth-child(2):after, .planning-program-steps > span:last-child:after { display: none; }
    .planning-program-next { align-items: flex-start; flex-direction: column; }
    .planning-program-next .text-btn { width: 100%; text-align: left; }
    .planning-detail-grid { grid-template-columns: 1fr; }
    .modal-card.planning-detail-modal { padding: 26px 20px 20px; }
}
.completion-card { text-align: center; }
.completion-card .dashboard-card__heading { text-align: left; }
.completion-ring { width: 142px; height: 142px; display: flex; align-items: center; justify-content: center; margin: 22px auto 16px; border-radius: 50%; }
.completion-ring:before { content: ''; width: 112px; height: 112px; position: absolute; border-radius: 50%; background: #fff; }
.completion-ring > div { position: relative; z-index: 1; }
.completion-ring strong, .completion-ring small { display: block; }
.completion-ring strong { color: var(--primary-dark); font-size: 27px; line-height: 1.1; }
.completion-ring small { margin-top: 4px; color: #999dae; font-size: 12px; }
.completion-tip { min-height: 38px; margin: 0 0 17px; color: #8b8fa2; font-size: 12px; }

@media (max-width: 1080px) {
    .dashboard-main-grid { grid-template-columns: 1fr; }
    .dashboard-activity-card, .material-readiness-card { height: auto; }
    .dashboard-activity-scroll { overflow: visible; padding-right: 0; }
}

@media (max-width: 800px) {
    .dashboard-welcome { align-items: flex-start; flex-direction: column; }
    .dashboard-welcome .primary-btn { width: 100%; margin-top: 4px; }
    .dashboard-demo-notice { align-items: flex-start; flex-direction: column; }
    .dashboard-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .status-bars { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
    .dashboard-activity-item { grid-template-columns: 38px minmax(0, 1fr) auto; }
    .dashboard-activity-state { grid-column: 2 / 3; }
    .dashboard-activity-action { grid-column: 3; grid-row: 1 / span 2; }
    .dashboard-section, .dashboard-card { padding: 20px; }
    .next-step-list a { align-items: flex-start; }
    .application-flow-panel { padding: 0; }
    .application-flow-head { align-items: stretch; flex-direction: column; gap: 17px; padding: 21px 19px 18px; }
    .application-flow-summary { width: 100%; }
    .application-flow-list { padding: 8px 10px 14px; }
    .application-flow-step { align-items: flex-start; gap: 10px; padding: 12px 8px; }
    .application-flow-step.is-current { padding: 14px 10px; }
    .application-flow-title { align-items: flex-start; flex-wrap: wrap; gap: 6px; }
    .application-flow-action { min-width: 0; padding-top: 6px; }
}

@media (max-width: 520px) {
    .dashboard-activity-group__heading { align-items: flex-start; flex-direction: column; gap: 3px; }
    .dashboard-activity-item { align-items: start; grid-template-columns: 36px minmax(0, 1fr); }
    .dashboard-activity-state { grid-column: 2; }
    .dashboard-activity-action { width: 100%; grid-column: 1 / -1; grid-row: auto; }
    .application-flow-step { flex-wrap: wrap; }
    .application-flow-copy { flex-basis: calc(100% - 44px); }
    .application-flow-action { width: 100%; padding: 0 0 0 44px; text-align: left; }
}

/* 申请档案 —— 对齐 server 申请档案页布局 */
.archive-view { display: grid; gap: 22px; }
.archive-view .page-heading { margin-bottom: 0; }
.archive-tabs-bar { padding: 8px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.archive-tabs { display: flex; flex-wrap: wrap; gap: 4px; }
.archive-tabs button { padding: 9px 14px; border: 0; border-radius: 8px; color: #475467; background: transparent; font-size: 13px; transition: color .15s ease, background .15s ease; }
.archive-tabs button:hover { color: var(--primary-dark); background: var(--primary-soft); }
.archive-tabs button.active { color: var(--primary-dark); background: var(--primary-soft); font-weight: 650; }
.archive-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 24px 26px; border: 1px solid #d9e6fb; border-radius: var(--radius); background: linear-gradient(120deg, #f0f6ff, #fbfdff); }
.archive-hero-tag { display: inline-flex; padding: 4px 10px; border-radius: 999px; color: var(--primary-dark); background: var(--primary-soft); font-size: 12px; font-weight: 700; }
.archive-hero h2 { margin: 12px 0 8px; color: var(--ink); font-size: 21px; }
.archive-hero p { max-width: 620px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.7; }
.archive-hero-tip { flex: 0 0 300px; padding: 15px 17px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255,255,255,.9); }
.archive-hero-tip b { display: block; color: #344054; font-size: 13px; }
.archive-hero-tip small { display: block; margin-top: 5px; color: var(--muted-light); font-size: 12px; line-height: 1.6; }
.archive-block-heading { margin: 0; }
.archive-block-heading h3 { margin: 0 0 4px; color: var(--ink); font-size: 16px; }
.archive-block-heading p { margin: 0; color: var(--muted); font-size: 12px; }
.archive-progress-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 26px; margin: 0; padding: 22px 24px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.archive-progress small { display: block; color: var(--muted); font-size: 12px; }
.archive-progress strong { display: block; margin: 7px 0 3px; color: var(--primary); font-size: 34px; line-height: 1; }
.archive-progress > span { display: block; margin-bottom: 12px; color: var(--muted-light); font-size: 12px; }
.archive-progress-track { height: 7px; overflow: hidden; border-radius: 6px; background: #eef1f6; }
.archive-progress-track i { display: block; height: 100%; min-width: 6px; border-radius: inherit; background: var(--primary); transition: width .3s ease; }
.archive-missing b { display: block; margin-bottom: 10px; color: #344054; font-size: 13px; }
.archive-missing-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.archive-missing-pills span { padding: 5px 10px; border-radius: 8px; font-size: 12px; }
.archive-missing-pills .is-missing { color: #b26a2c; background: var(--orange-soft); }
.archive-missing-pills .is-done { color: #0f8a67; background: var(--green-soft); }
.archive-progress-note { grid-column: 1 / -1; margin: 0; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted-light); font-size: 12px; }
.archive-modules { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.archive-module-card { display: flex; align-items: center; gap: 14px; padding: 18px 20px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; text-align: left; transition: border-color .18s, box-shadow .18s, transform .18s; }
.archive-module-card:hover { border-color: #c6dcfb; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.archive-module-icon { width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 38px; border-radius: 11px; color: var(--primary); background: var(--primary-soft); font-size: 16px; font-weight: 700; }
.archive-module-icon.module-language { color: #2f86f6; background: var(--blue-soft); }
.archive-module-icon.module-visa { color: #b26a2c; background: var(--orange-soft); }
.archive-module-icon.module-work { color: var(--green); background: var(--green-soft); }
.archive-module-main { min-width: 0; flex: 1; }
.archive-module-main b { display: block; color: var(--ink); font-size: 14px; }
.archive-module-main small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.archive-module-main i { display: block; margin-top: 4px; color: var(--muted-light); font-size: 12px; font-style: normal; }
.archive-module-status { flex: 0 0 auto; padding: 4px 10px; border-radius: 999px; color: #b26a2c; background: var(--orange-soft); font-size: 12px; font-weight: 650; white-space: nowrap; }
.archive-module-status.is-done { color: var(--primary-dark); background: var(--primary-soft); }

@media (max-width: 800px) {
    .archive-hero { align-items: flex-start; flex-direction: column; }
    .archive-hero-tip { flex: 1 1 auto; width: 100%; box-sizing: border-box; }
    .archive-progress-card { grid-template-columns: 1fr; }
    .archive-modules { grid-template-columns: 1fr; }
    .archive-tabs { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; }
    .archive-tabs button { white-space: nowrap; }
}

/* 个人中心 —— 账号设置（昵称 / 密码） */
.profile-view { display: grid; gap: 22px; }
.profile-view .page-heading { margin-bottom: 0; }
.profile-view .eyebrow, .profile-view .outline-btn.small, .profile-view .form-footer, .profile-view .form-footer .primary-btn { font-size: 12px; }
.account-card { max-width: 640px; padding: 24px 26px; }
.account-form { display: grid; gap: 14px; margin-top: 20px; }
.account-avatar-row { display: flex; align-items: center; gap: 16px; margin-top: 20px; padding: 16px; border: 1px solid var(--line); border-radius: 10px; background: #fbfcfe; }
.account-avatar-preview { position: relative; width: 56px; height: 56px; flex: 0 0 56px; overflow: hidden; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: linear-gradient(145deg, #4b89ff, var(--primary)); font-weight: 700; font-size: 20px; }
.account-avatar-link { width: 100%; height: 100%; display: block; cursor: zoom-in; }
.account-avatar-preview img { width: 100%; height: 100%; object-fit: cover; }
.account-avatar-preview .spinner { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; margin: 0; background: rgba(255,255,255,.75); border-radius: 50%; }
.account-avatar-main { min-width: 0; flex: 1; }
.account-avatar-main b { display: block; margin-bottom: 7px; color: var(--ink); font-size: 14px; }
.account-avatar-actions { display: flex; align-items: center; gap: 10px; }
.account-avatar-actions small { color: var(--muted-light); font-size: 12px; }
.account-form label { display: block; color: #475467; font-size: 13px; font-weight: 600; }
.account-form input { width: 100%; margin-top: 7px; padding: 11px 14px; border: 1px solid #dfe3ee; border-radius: 8px; color: var(--ink); background: #fff; font-size: 14px; outline: none; box-sizing: border-box; transition: border-color .18s ease; }
.account-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36, 107, 253, .12); }
.account-logout-card { margin-top: 0; }
.account-logout { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.account-logout b { display: block; color: var(--ink); font-size: 14px; }
.account-logout small { display: block; margin-top: 4px; color: var(--muted-light); font-size: 12px; line-height: 1.6; }
.account-logout-btn { border-color: #f1cdd2; color: #bb6e79; }
.account-logout-btn:hover { border-color: #e85151; color: #e85151; background: #fdecec; }
@media (max-width: 520px) {
    .account-logout { align-items: flex-start; flex-direction: column; }
    .account-logout-btn { width: 100%; }
}

.catalog-update-notice { margin: 0; padding: 12px 16px; border: 1px solid #dbe7fa; border-radius: 10px; color: #315582; background: #eef5ff; font-size: 14px; line-height: 1.7; overflow-wrap: break-word; }
.case-detail-modal > .catalog-update-notice { margin: 20px 16px 0; }

/* 院校库 */
.universities-view { display: grid; gap: 22px; }
.universities-view .page-heading { margin-bottom: 0; }
.univ-filter { padding: 20px 22px; }
.univ-filter-fields { display: grid; grid-template-columns: minmax(220px, 1.6fr) minmax(140px, 1fr) minmax(140px, 1fr) auto; gap: 14px; align-items: end; }
.univ-field { display: grid; gap: 6px; color: #475467; font-size: 12px; font-weight: 600; }
.univ-field input, .univ-field select { min-height: 40px; padding: 0 12px; border: 1px solid #dfe3ee; border-radius: 8px; color: var(--ink); background: #fff; font-size: 13px; outline: none; transition: border-color .18s ease; }
.univ-field input:focus, .univ-field select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36, 107, 253, .12); }
/* 筛选区统一 40px 高度：Element 输入框/下拉/按钮对齐 */
.univ-filter .el-input, .univ-filter .el-select { width: 100%; }
.univ-filter .el-input__inner { height: 40px; line-height: 40px; padding: 0 12px; border-color: #dfe3ee; border-radius: 8px; color: var(--ink); font-size: 13px; }
.univ-filter .el-input__inner:focus { border-color: var(--primary); }
.univ-filter .el-input__icon { line-height: 40px; }
.univ-filter-actions { display: flex; gap: 10px; }
.univ-filter-actions .el-button { height: 40px; min-width: 84px; padding: 0 20px; border-radius: 8px; font-size: 13px; font-weight: 600; }
.univ-filter-actions .el-button--primary { background: var(--primary); border-color: var(--primary); }
.univ-results-head h2 { margin: 0 0 4px; color: var(--ink); font-size: 16px; }
.univ-results-head p { margin: 0; color: var(--muted); font-size: 12px; }
.univ-results-head b { color: var(--primary); }
.univ-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.univ-card { display: flex; gap: 14px; padding: 18px 19px; transition: border-color .18s, box-shadow .18s, transform .18s; }
.univ-card.is-clickable { cursor: pointer; }
.univ-card:hover { border-color: #c6dcfb; box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.univ-logo { width: 62px; height: 62px; flex: 0 0 62px; overflow: hidden; display: flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.univ-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.univ-logo span { color: var(--primary); font-size: 22px; font-weight: 800; }
.univ-body { min-width: 0; flex: 1; }
.univ-topline { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.univ-rank { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 8px; color: var(--primary-dark); background: var(--primary-soft); font-size: 12px; font-weight: 700; }
.univ-rank b { font-size: 12px; }
.univ-rank.is-unknown { color: var(--muted-light); background: #f1f3f7; font-weight: 600; }
.univ-body h3 { margin: 9px 0 3px; overflow: hidden; color: var(--ink); font-size: 14px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.univ-en { margin: 0; overflow: hidden; color: var(--muted-light); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.univ-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin-top: 9px; color: var(--muted); font-size: 12px; }
.univ-meta .univ-count { color: var(--primary); font-weight: 650; }
.univ-card.is-skeleton { pointer-events: none; }
.univ-skeleton-rank { width: 66px; height: 19px; border-radius: 8px; }
.univ-skeleton-name { width: 70%; height: 15px; margin-top: 10px; border-radius: 5px; }
.univ-skeleton-en { width: 52%; height: 10px; margin-top: 8px; border-radius: 5px; }
.univ-skeleton-meta { width: 44%; height: 10px; margin-top: 12px; border-radius: 5px; }
.univ-pagination { display: flex; flex-wrap: wrap; padding: 8px; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(23, 49, 86, .05); }
.univ-page-item { display: inline-flex; min-width: 34px; height: 34px; padding: 0 10px; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; color: #536176; background: #fff; cursor: pointer; font-size: 12px; font-weight: 600; transition: border-color 150ms ease, color 150ms ease, background 150ms ease, box-shadow 150ms ease; }
.univ-page-item:hover:not(.is-disabled):not(.is-current) { border-color: #c2d4ef; color: var(--primary); background: #f5f8fd; }
.univ-page-item.is-current { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 5px 12px rgba(36, 107, 253, .22); }
.univ-page-item.is-disabled { color: #a8b1bf; cursor: not-allowed; }
.univ-page-ellipsis { display: inline-flex; min-width: 24px; align-items: center; justify-content: center; color: #a8b1bf; font-size: 12px; }

@media (max-width: 1080px) {
    .univ-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .univ-filter-fields { grid-template-columns: 1fr 1fr; }
    .univ-field--keyword { grid-column: 1 / -1; }
}

@media (max-width: 800px) {
    .univ-grid { grid-template-columns: 1fr; }
    .univ-filter-fields { grid-template-columns: 1fr; }
    .univ-filter-actions button { flex: 1; }
}

/* 申请计划 */
.plan-panel { overflow: hidden; }.plan-tabs { display: flex; padding: 0 27px; border-bottom: 1px solid var(--line); }.plan-tabs button { position: relative; display: flex; align-items: center; gap: 7px; padding: 16px 14px 14px; border: 0; color: #9296a9; background: transparent; font-size: 13px; }.plan-tabs button:first-child { padding-left: 0; }.plan-tabs button.active { color: var(--primary); font-weight: 700; }.plan-tabs button.active:after { content: ''; height: 3px; position: absolute; right: 12px; bottom: -1px; left: 0; border-radius: 3px 3px 0 0; background: var(--primary); }.plan-tabs button small { color: #b0b3c2; font-size: 12px; font-weight: 400; }.plan-tabs button.active small { color: #4f93f0; }.plan-tabs button b { min-width: 20px; padding: 1px 5px; border-radius: 10px; color: #989caf; background: #f1f3f7; font-size: 12px; font-weight: 500; }.plan-tabs button.active b { color: var(--primary); background: var(--primary-soft); }.plan-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 18px 27px 12px; }.filter-pills { display: flex; flex-wrap: wrap; gap: 8px; }.filter-pills button { padding: 6px 11px; border: 1px solid transparent; border-radius: 18px; color: #8c91a5; background: #f4f6fa; font-size: 12px; }.filter-pills button b { margin-left: 3px; font-weight: 600; }.filter-pills button.active { border-color: #c6dcfb; color: var(--primary); background: var(--primary-soft); }.manage-btn { padding: 7px 12px; border: 1px solid #dbe2ee; border-radius: 7px; color: #6d708c; background: #fff; font-size: 12px; white-space: nowrap; }.manage-btn.active { border-color: #acccfb; color: var(--primary); background: var(--primary-soft); }.plan-insight-row { display: flex; align-items: stretch; gap: 12px; padding: 0 27px 18px; }.plan-quota-card, .plan-stage-tip { display: flex; align-items: center; gap: 10px; padding: 11px 13px; border-radius: 10px; }.plan-quota-card { min-width: 245px; color: var(--primary-dark); background: linear-gradient(135deg, var(--brand-soft), #fafcff); }.quota-icon { width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--primary); background: #dbe9ff; font-size: 16px; }.plan-quota-card small, .plan-quota-card strong { display: block; }.plan-quota-card small { color: #8a93a6; font-size: 12px; }.plan-quota-card strong { margin-top: 2px; color: var(--primary-dark); font-size: 19px; line-height: 1.1; }.plan-quota-card strong i { color: #8e89af; font-size: 12px; font-style: normal; font-weight: 400; }.plan-quota-card button { margin-left: auto; padding: 4px 7px; border: 0; border-radius: 6px; color: var(--primary); background: rgba(255,255,255,.62); font-size: 12px; }.plan-stage-tip { flex: 1; color: #7b8098; background: #f7f9fc; }.plan-stage-tip span { color: #555873; font-size: 12px; font-weight: 700; }.plan-stage-tip small { color: #a3a7b7; font-size: 12px; }.manage-bar { display: flex; align-items: center; gap: 14px; margin: 0 27px 8px; padding: 10px 13px; border: 1px solid #e4edfc; border-radius: 8px; color: #737790; background: #f5f9ff; font-size: 12px; }.manage-bar label { display: flex; align-items: center; gap: 7px; }.manage-bar span { color: #a0a4b5; }.manage-bar .danger-btn { margin-left: auto; }.danger-btn { padding: 7px 12px; border-radius: 7px; color: #cf4452; background: #fdecec; font-size: 12px; }.danger-btn:hover { background: #fbdada; }.loading-state { padding: 80px 20px; color: #9297a9; text-align: center; }.empty-state { padding: 75px 20px; color: #9297a9; text-align: center; }.empty-illustration { width: 53px; height: 53px; display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; border-radius: 50%; color: var(--primary); background: var(--primary-soft); font-size: 28px; }.empty-state h3 { margin: 0 0 5px; color: #5c5f7a; font-size: 15px; }.empty-state p { margin: 0 0 17px; font-size: 12px; }.empty-actions { display: flex; justify-content: center; gap: 9px; }.plan-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 27px 27px; }.plan-card { position: relative; min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .18s, box-shadow .18s; }.plan-card:hover, .plan-card-selected { border-color: #acccfb; box-shadow: var(--shadow-sm); }.plan-check { position: absolute; top: 18px; left: 17px; z-index: 2; }.plan-check + .plan-card-top { padding-left: 25px; }.plan-card-top { display: flex; align-items: center; gap: 11px; }.school-logo { width: 43px; height: 43px; display: flex; flex: 0 0 43px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #eef0f6; border-radius: 11px; color: var(--primary); background: var(--brand-soft); font-size: 17px; font-weight: 700; }.school-logo img { width: 100%; height: 100%; object-fit: contain; }.school-logo.small { width: 38px; height: 38px; flex-basis: 38px; border-radius: 10px; font-size: 14px; }.school-info { min-width: 0; flex: 1; }.school-info h3 { margin: 0; overflow: hidden; color: #444662; font-size: 14px; text-overflow: ellipsis; white-space: nowrap; }.school-info p { margin: 3px 0 0; overflow: hidden; color: #a0a4b3; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.school-info p span { margin-left: 5px; color: #8589a1; }.status-tag { flex: 0 0 auto; padding: 4px 8px; border-radius: 14px; font-size: 12px; white-space: nowrap; }.status-gray { color: #667085; background: #eef1f5; }.status-warning { color: #b9791a; background: #fef3df; }.status-blue { color: #1f6fc4; background: #e7f2ff; }.status-success { color: #119b73; background: #e3f7ef; }.status-danger { color: #cf4452; background: #fdecec; }.major-info { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 18px 0 14px; padding-bottom: 14px; border-bottom: 1px solid #eef1f6; }.major-info small, .major-info b, .major-info span { display: block; }.major-info small { color: #a0a4b3; font-size: 12px; }.major-info b { margin-top: 4px; overflow: hidden; color: #4c4e6a; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.major-info span { margin-top: 2px; overflow: hidden; color: #969bad; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.recommend-tag { min-width: 50px; padding: 6px 8px; border-radius: 8px; color: var(--primary); background: var(--brand-soft); font-size: 12px; text-align: center; }.recommend-tag small { margin-top: 2px; color: #7fa8ee; font-size: 12px; }.recommend-reach { color: #c87445; background: #fef0e6; }.recommend-fallback { color: #b06c4d; background: #fef1e9; }.recommend-prudent { color: #119b73; background: #e3f7ef; }.plan-meta { display: flex; flex-wrap: wrap; gap: 13px; color: #a0a4b3; font-size: 12px; }.plan-progress { display: flex; align-items: flex-start; gap: 0; margin-top: 16px; padding: 11px 0 3px; border-top: 1px solid #eef1f6; }.progress-step { position: relative; display: flex; flex: 1; flex-direction: column; align-items: center; gap: 5px; color: #b0b3c1; font-size: 12px; text-align: center; }.progress-step:not(:last-child):after { content: ''; height: 1px; position: absolute; top: 10px; right: -50%; left: 50%; background: #e3e6ee; }.progress-step span { position: relative; z-index: 1; width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #e3e3ef; border-radius: 50%; color: #a5a8ba; background: #fff; font-size: 12px; }.progress-step.is-active { color: var(--primary); }.progress-step.is-active span { border-color: var(--primary); color: #fff; background: var(--primary); }.progress-step small { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.plan-actions { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 17px; }.action-primary, .action-secondary { padding: 7px 10px; border-radius: 7px; font-size: 12px; }.action-primary { color: #fff; background: var(--primary); }.action-primary:hover { background: var(--primary-dark); }.action-secondary { border: 1px solid #e1e1ee; color: #72768e; background: #fff; }.action-secondary:hover { border-color: #acccfb; color: var(--primary); background: #f6faff; }

/* 申请卡片院校标识：为横版与方形 Logo 提供统一、留白充足的展示画布。 */
.plan-card .plan-card-top { min-height: 52px; align-items: flex-start; gap: 14px; }
.plan-card .school-logo {
    width: 64px;
    height: 52px;
    flex: 0 0 64px;
    padding: 5px;
    border-color: #e3e9f2;
    border-radius: 12px;
    background: linear-gradient(145deg, #fff 0%, #f7faff 100%);
    box-shadow: 0 5px 14px rgba(31, 64, 115, .08);
}
.plan-card .school-logo img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
}
.plan-card .school-logo span {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: var(--brand-soft);
    font-size: 18px;
}
.plan-card .school-info { padding-top: 3px; }
.plan-card .school-info h3 { color: #313d55; font-size: 15px; line-height: 1.4; }
.plan-card .school-info p { margin-top: 4px; line-height: 1.4; }
.plan-card .status-tag { margin-top: 3px; }

/* 申请计划骨架屏 */
.plan-skeleton-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; padding: 0 27px 27px; }
.plan-skeleton-card { min-width: 0; padding: 19px; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.skeleton-block { display: block; border-radius: 6px; background: linear-gradient(100deg, #eef1f6 20%, #fafbfe 38%, #eef1f6 56%); background-size: 200% 100%; animation: plan-skeleton-shimmer 1.35s ease-in-out infinite; }
.plan-skeleton-card-top { display: flex; align-items: flex-start; gap: 14px; }
.plan-skeleton-logo { width: 64px; height: 52px; flex: 0 0 64px; border-radius: 12px; }
.plan-skeleton-school { min-width: 0; flex: 1; }
.plan-skeleton-line { height: 10px; }
.plan-skeleton-school-name { width: 68%; }
.plan-skeleton-school-meta { width: 48%; margin-top: 7px; }
.plan-skeleton-status { width: 48px; height: 20px; border-radius: 14px; }
.plan-skeleton-major { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin: 18px 0 14px; padding-bottom: 14px; border-bottom: 1px solid #eef1f6; }
.plan-skeleton-major-label { width: 48px; height: 8px; }
.plan-skeleton-major-name { width: 150px; max-width: 25vw; height: 12px; margin-top: 7px; }
.plan-skeleton-major-en { width: 110px; max-width: 20vw; height: 8px; margin-top: 6px; }
.plan-skeleton-recommend { width: 52px; height: 34px; border-radius: 8px; }
.plan-skeleton-meta { display: flex; gap: 13px; }
.plan-skeleton-meta .plan-skeleton-line { width: 76px; height: 8px; }
.plan-skeleton-meta .plan-skeleton-line:nth-child(2) { width: 66px; }
.plan-skeleton-meta .plan-skeleton-line:nth-child(3) { width: 58px; }
.plan-skeleton-progress { display: flex; gap: 10px; margin-top: 16px; padding: 11px 0 3px; border-top: 1px solid #eef1f6; }
.plan-skeleton-progress .skeleton-block { width: 20px; height: 20px; margin: 0 auto; border-radius: 50%; }
.plan-skeleton-actions { display: flex; gap: 7px; margin-top: 17px; }
.plan-skeleton-actions .skeleton-block { width: 64px; height: 27px; border-radius: 7px; }
@keyframes plan-skeleton-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* 资料骨架屏 */
.materials-skeleton { min-width: 0; }
.materials-skeleton .skeleton-block { display: block; border-radius: 6px; background: linear-gradient(100deg, #edf0f6 20%, #fafbfe 38%, #edf0f6 56%); background-size: 200% 100%; animation: materials-skeleton-shimmer 1.35s ease-in-out infinite; }
.materials-skeleton-summary { display: flex; align-items: center; gap: 19px; min-height: 151px; margin-bottom: 28px; padding: 24px 27px; }
.materials-skeleton-ring { width: 90px; height: 90px; flex: 0 0 90px; border-radius: 50% !important; }
.materials-skeleton-summary-copy { min-width: 0; flex: 1; }
.materials-skeleton-title { width: 210px; max-width: 55%; height: 16px; }
.materials-skeleton-subtitle { width: 270px; max-width: 80%; height: 10px; margin-top: 11px; }
.materials-skeleton-progress { width: min(380px, 38vw); height: 7px; margin-top: 14px; }
.materials-skeleton-pills { display: flex; gap: 7px; margin-top: 12px; }
.materials-skeleton-pills .skeleton-block { width: 66px; height: 21px; border-radius: 13px; }
.materials-skeleton-pills .skeleton-block:nth-child(2) { width: 72px; }
.materials-skeleton-pills .skeleton-block:nth-child(3) { width: 90px; }
.materials-skeleton-reminder { width: 220px; flex: 0 0 220px; padding: 14px 15px; border-radius: 10px; background: #f5f9ff; }
.materials-skeleton-reminder .skeleton-block { width: 125px; height: 10px; }
.materials-skeleton-reminder .skeleton-block + .skeleton-block { width: 155px; margin-top: 9px; }
.materials-skeleton-heading { display: flex; justify-content: space-between; }
.materials-skeleton-heading > .skeleton-block:first-child { width: 110px; height: 14px; }
.materials-skeleton-heading > .skeleton-block:last-child { width: 70px; height: 10px; }
.materials-skeleton-card { min-height: 186px; pointer-events: none; }
.materials-skeleton-icon { width: 29px; height: 29px; border-radius: 8px !important; }
.materials-skeleton-line { height: 10px; }
.materials-skeleton-line-title { width: 76%; margin-top: 15px; }
.materials-skeleton-line-copy { width: 94%; margin-top: 10px; }
.materials-skeleton-line-file { width: 62%; margin-top: 26px; }
.materials-skeleton-button { width: 62px; height: 25px; margin-top: auto; border-radius: 6px !important; align-self: flex-end; }
.materials-skeleton-program { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }
.materials-skeleton-program-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid #eef1f6; }
.materials-skeleton-logo { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px !important; }
.materials-skeleton-program-head > div { min-width: 0; flex: 1; }
.materials-skeleton-school { width: 45%; height: 12px; }
.materials-skeleton-major { width: 68%; height: 9px; margin-top: 8px; }
.materials-skeleton-status { width: 65px; height: 20px; border-radius: 14px !important; }
.materials-skeleton-program-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding-top: 14px; }
.materials-skeleton-program-grid .skeleton-block { height: 92px; border-radius: 10px; }
@keyframes materials-skeleton-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }
@media (max-width: 800px) {
    .materials-skeleton-summary { align-items: flex-start; flex-direction: column; }
    .materials-skeleton-summary-copy { width: 100%; }
    .materials-skeleton-reminder { width: 100%; flex-basis: auto; }
    .materials-skeleton-progress { width: 65vw; }
}

/* 资料 */
.material-summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 28px; padding: 24px 27px; background: linear-gradient(105deg, #fff, #f5f9ff); }.summary-progress { display: flex; align-items: center; gap: 19px; min-width: 0; }.summary-ring { width: 90px; height: 90px; display: flex; flex: 0 0 90px; align-items: center; justify-content: center; border-radius: 50%; }.summary-ring:before { content: ''; width: 70px; height: 70px; position: absolute; border-radius: 50%; background: #fff; }.summary-ring > div { position: relative; text-align: center; }.summary-ring strong, .summary-ring small { display: block; }.summary-ring strong { color: var(--primary-dark); font-size: 18px; }.summary-ring small { color: #9ca0b0; font-size: 12px; }.summary-progress h2 { margin: 0; color: #424462; font-size: 16px; }.summary-progress p { margin: 5px 0 11px; color: #8c91a4; font-size: 12px; }.summary-progress p b { color: var(--primary); }.progress-track { width: min(380px, 38vw); height: 7px; overflow: hidden; border-radius: 7px; background: #eef1f6; }.progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4b89ff, var(--primary)); }.summary-note { display: block; margin-top: 7px; color: #a0a4b4; font-size: 12px; }.readiness-checklist { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }.readiness-checklist span { display: inline-flex; align-items: center; gap: 4px; padding: 4px 7px; border: 1px solid var(--line); border-radius: 13px; color: #999dae; background: #fafbfe; font-size: 12px; }.readiness-checklist span.ready { border-color: #bfe9d8; color: #119b73; background: #e8f7f1; }.readiness-checklist i { min-width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #b18349; background: #fef0d9; font-size: 12px; font-style: normal; font-weight: 700; line-height: 1; }.readiness-checklist span.ready i { color: #fff; background: var(--green); }.summary-reminder { display: flex; align-items: center; gap: 10px; min-width: 220px; padding: 13px 15px; border-radius: 10px; background: #f5f9ff; }.summary-reminder > span { color: var(--primary); font-size: 23px; }.summary-reminder b, .summary-reminder small { display: block; }.summary-reminder b { color: #44557d; font-size: 12px; }.summary-reminder small { margin-top: 3px; color: #97a0b4; font-size: 12px; }.material-section { margin-top: 27px; }.section-heading-inline { align-items: center; margin-bottom: 15px; }.section-heading-inline > span { color: #9b9fb0; font-size: 12px; }.material-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 13px; }.material-card { min-width: 0; display: flex; flex-direction: column; padding: 17px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: all .18s; }.material-card:hover { border-color: #acccfb; box-shadow: var(--shadow-sm); }.material-card.is-uploaded { border-color: #cfe6da; }.material-card-head { min-height: 25px; display: flex; align-items: center; gap: 6px; }.material-icon { width: 29px; height: 29px; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; color: var(--primary); background: var(--brand-soft); font-size: 12px; font-weight: 700; }.material-icon-transcript { color: #2f86f6; background: var(--blue-soft); }.material-icon-degree { color: #9a5fd4; background: #f3e9ff; }.material-icon-cv { color: #e58b56; background: #fef0e8; }.material-icon-passport { color: #1fa37c; background: var(--green-soft); }.material-icon-rl { color: #cf6b80; background: #ffedf1; }.required-mark { padding: 2px 5px; border-radius: 4px; color: #d78143; background: #fef3e4; font-size: 12px; }.uploaded-mark { margin-left: auto; color: var(--green); font-size: 12px; }.material-card h3 { margin: 13px 0 5px; color: #53566f; font-size: 13px; }.material-card > p { min-height: 34px; margin: 0; color: #9da1b1; font-size: 12px; line-height: 1.6; }.material-files-preview { min-height: 34px; display: flex; flex-direction: column; gap: 2px; margin: 12px 0 13px; overflow: hidden; color: #b0b3c0; font-size: 12px; }.material-files-preview a { overflow: hidden; color: #3f74e0; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; }.material-files-preview a:hover { text-decoration: underline; }.material-card-actions { display: flex; align-items: center; justify-content: space-between; gap: 5px; margin-top: auto; }.small-primary-btn { padding: 6px 9px; border-radius: 6px; color: #fff; background: var(--primary); font-size: 12px; }.small-primary-btn:hover { background: var(--primary-dark); }.program-material-list { display: flex; flex-direction: column; gap: 14px; }.program-material-card { padding: 18px; border: 1px solid var(--line); border-radius: 13px; background: #fff; box-shadow: var(--shadow-sm); }.program-material-head { display: flex; align-items: center; gap: 11px; padding-bottom: 14px; border-bottom: 1px solid #eef1f6; }.program-material-head > div:nth-child(2) { min-width: 0; flex: 1; }.program-material-head h3 { margin: 0; overflow: hidden; color: #484a66; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }.program-material-head p { margin: 3px 0 0; overflow: hidden; color: #8f94a6; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.program-material-head p span { margin-left: 6px; color: #adb0be; font-size: 12px; }.program-material-head > .text-btn { margin-left: 7px; white-space: nowrap; }.program-material-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; padding-top: 14px; }.material-card.compact { padding: 13px; }.material-card.compact h4 { margin: 8px 0 0; color: #5b5e77; font-size: 12px; }.material-card.compact .material-files-preview { min-height: 22px; margin: 7px 0 8px; }.inline-empty { padding: 50px 20px; border: 1px dashed #d3deed; border-radius: 12px; color: #9da1b1; background: #fff; text-align: center; font-size: 12px; }

/* PC 端下拉一律使用 Element：表单内 el-select 与原生输入框等高对齐 */
.form-grid .el-select, .manual-form-grid .el-select, .date-pair .el-select, .score-course-row .el-select { width: 100%; }
.form-grid .el-input__inner, .manual-form-grid .el-input__inner { height: 38px; line-height: 38px; padding: 0 11px; border-color: #dde2ec; border-radius: 8px; color: #404361; font-size: 13px; }
.form-grid .el-input__inner:focus, .manual-form-grid .el-input__inner:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36, 107, 253, .12); }
.form-grid .el-input__icon, .manual-form-grid .el-input__icon { line-height: 38px; }
.score-course-row .el-input__inner { height: 30px; line-height: 30px; padding: 0 8px; border-color: #e1e2ec; border-radius: 6px; color: #555873; font-size: 12px; }
.score-course-row .el-input__icon { line-height: 30px; }

/* 个人中心 */
.profile-sync-badge { padding: 7px 11px; border-radius: 16px; color: #119b73; background: #e6f7f0; font-size: 12px; white-space: nowrap; }.profile-layout { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 20px; align-items: start; }.profile-layout.todo-only { grid-template-columns: minmax(0, 1fr); }.profile-menu { padding: 16px 12px; }.profile-user { display: flex; align-items: center; gap: 10px; padding: 7px 9px 18px; border-bottom: 1px solid #eef1f6; }.profile-avatar { width: 39px; height: 39px; font-size: 15px; }.profile-user b, .profile-user small { display: block; }.profile-user b { color: #4e506c; font-size: 12px; }.profile-user small { margin-top: 2px; color: #a0a4b4; font-size: 12px; }.profile-menu > button { width: 100%; display: flex; align-items: center; gap: 9px; margin-top: 4px; padding: 11px 9px; border: 0; border-radius: 8px; color: #85899c; background: transparent; text-align: left; }.profile-menu > button:hover { color: var(--primary); background: #f5f9ff; }.profile-menu > button.active { color: var(--primary); background: var(--primary-soft); }.profile-menu > button > span { width: 25px; height: 25px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; background: rgba(36,107,253,.09); font-size: 12px; }.profile-menu > button > div { min-width: 0; flex: 1; }.profile-menu > button b, .profile-menu > button small { display: block; }.profile-menu > button b { font-size: 12px; font-weight: 600; }.profile-menu > button small { margin-top: 1px; color: #a5a8b7; font-size: 12px; }.profile-menu > button i { color: #b9bbc8; font-size: 18px; font-style: normal; }.profile-menu-tip { margin: 16px 5px 2px; padding: 12px 9px; border-radius: 8px; color: #8b93b4; background: #f5f9ff; font-size: 12px; text-align: center; }.profile-content { min-width: 0; position: relative; margin: 0; padding: 28px 31px; border: 0; }.profile-content[disabled] .form-grid input, .profile-content[disabled] .form-grid select, .profile-content[disabled] .form-grid textarea, .profile-content[disabled] .date-pair input { opacity: 1; color: #62657a; background: #f4f6fa; cursor: default; -webkit-text-fill-color: #62657a; }.profile-content[disabled] .form-footer button, .profile-content[disabled] .section-title-row button, .profile-content[disabled] .repeat-heading button, .profile-content[disabled] .nested-heading button, .profile-content[disabled] .uploaded-file-list button, .profile-content[disabled] .file-dropzone, .profile-content[disabled] .file-select-btn { display: none; }.profile-loading-mask { position: absolute; z-index: 2; top: 0; right: 0; bottom: 0; left: 0; display: flex; align-items: center; justify-content: center; gap: 8px; color: #3f74e0; background: rgba(255,255,255,.86); font-size: 12px; }.section-title-row { align-items: center; margin-bottom: 24px; }.section-title-row p b { color: var(--red); }.form-status { padding: 5px 10px; border-radius: 13px; color: #c98a18; background: #fef3df; font-size: 12px; }.form-status.done { color: #119b73; background: #e6f7f0; }.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 18px; }.form-grid label { display: flex; flex-direction: column; gap: 7px; color: #666a82; font-size: 12px; }.form-grid label.required:before { content: '*'; width: 0; height: 0; position: relative; top: 17px; left: -8px; color: var(--red); font-size: 12px; }.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 10px 11px; border: 1px solid #dde2ec; border-radius: 8px; outline: none; color: #404361; background: #fff; font-size: 13px; transition: border .18s, box-shadow .18s; }.form-grid textarea { min-height: 78px; resize: vertical; }.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,107,253,.12); }.full-field { grid-column: 1 / -1; }.form-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-top: 27px; padding-top: 20px; border-top: 1px solid #eef1f6; color: #9da1b1; font-size: 12px; }.repeat-form-card { margin-bottom: 15px; padding: 18px 19px 20px; border: 1px solid var(--line); border-radius: 11px; background: #fcfcfe; }.repeat-heading, .nested-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 17px; }.repeat-heading b, .nested-heading b { color: #555873; font-size: 13px; }.remove-btn { padding: 3px 0; color: #cf6c78; background: transparent; font-size: 12px; }.remove-btn:hover { color: #b84e5c; }.nested-section { margin-top: 21px; padding: 17px 18px; border: 1px solid var(--line); border-radius: 10px; background: #fcfcfe; }.nested-heading { margin-bottom: 12px; }.nested-heading small { color: #a0a4b4; font-size: 12px; }.date-pair { display: flex; align-items: center; gap: 9px; margin-top: 8px; }.date-pair > span { min-width: 45px; color: #8c90a2; font-size: 12px; }.date-pair input { min-width: 0; flex: 1; padding: 8px 9px; border: 1px solid #dde2ec; border-radius: 7px; color: #4b4e69; background: #fff; font-size: 12px; }.date-pair i { color: #a0a4b4; font-size: 12px; font-style: normal; }.file-input { display: none; }.file-dropzone, .file-select-btn { display: flex; align-items: center; justify-content: center; gap: 8px; border: 1px dashed #bcd3f6; border-radius: 8px; color: #3f74e0; background: #f5f9ff; }.file-dropzone { min-height: 75px; flex-direction: column; }.file-dropzone > span { font-size: 20px; line-height: 1; }.file-dropzone b { font-size: 12px; font-weight: 600; }.file-dropzone small { color: #8aa0c4; font-size: 12px; }.file-select-btn { padding: 8px 12px; font-size: 12px; }.uploaded-file-list { display: flex; flex-direction: column; gap: 5px; margin-top: 9px; }.uploaded-file-list > div { display: flex; align-items: center; gap: 8px; padding: 7px 9px; border-radius: 6px; background: #f4f6fa; }.uploaded-file-list a { min-width: 0; flex: 1; overflow: hidden; color: #3f6fd8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.uploaded-file-list button { padding: 0; border: 0; color: #c27680; background: transparent; font-size: 12px; }.referrer-files { margin-top: 18px; padding-top: 16px; border-top: 1px dashed #e0e3ee; }

/* 弹窗 */
.file-dropzone { cursor: pointer; }
.el-loading-mask .el-loading-text { color: #fff !important; }
.uapply-date-picker { width: 100% !important; }
.uapply-date-picker .el-input__inner { width: 100%; }
.date-pair .uapply-date-picker { min-width: 0; flex: 1; }
.modal-mask { width: 100%; height: 100%; position: fixed; z-index: 50; top: 0; left: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(24, 32, 56, .46); }.modal-card { position: relative; width: min(560px, 100%); max-height: calc(100vh - 40px); overflow: auto; padding: 29px 31px 24px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; box-shadow: 0 20px 70px rgba(18, 25, 56, .22); }.modal-close { position: absolute; top: 12px; right: 16px; padding: 0; border: 0; color: #a7a9b8; background: transparent; font-size: 25px; line-height: 1; }.modal-close:hover { color: var(--ink); }.modal-eyebrow { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: 1.5px; }.modal-card h2 { margin: 7px 0 6px; color: #2a2c46; font-size: 20px; }.modal-desc { margin: 0 0 16px; color: #9498aa; font-size: 12px; }.requirement-list { max-height: 430px; overflow: auto; margin-top: 17px; padding: 3px 2px; }.requirement-list > div { padding: 11px 12px; border-bottom: 1px solid #eef1f6; }.requirement-list > div:last-child { border-bottom: 0; }.requirement-list b { display: block; margin-bottom: 4px; color: #5d6078; font-size: 12px; }.requirement-list p { margin: 0; color: #858a9d; font-size: 12px; line-height: 1.7; }.modal-footer { display: flex; justify-content: flex-end; gap: 9px; margin-top: 22px; padding-top: 17px; border-top: 1px solid #eef1f6; }.file-dropzone.large { min-height: 105px; margin-bottom: 15px; }.modal-file-list { max-height: 235px; overflow: auto; }.modal-file-row { display: flex; align-items: center; gap: 8px; padding: 9px 4px; border-bottom: 1px solid #eef1f6; }.file-type-badge { width: 29px; height: 25px; display: inline-flex; align-items: center; justify-content: center; border-radius: 5px; color: #fff; background: #4b7ee0; font-size: 12px; font-weight: 700; }.file-type-badge.pdf { background: #e16c78; }.modal-file-row a { min-width: 0; flex: 1; overflow: hidden; color: #3f5fc8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.modal-file-row small { color: #a3a6b4; font-size: 12px; }.modal-file-row button { padding: 0 3px; border: 0; color: #c87580; background: transparent; font-size: 18px; }.file-list-empty { padding: 22px 0; color: #a4a7b6; text-align: center; font-size: 12px; }.toast { position: fixed; z-index: 80; right: 28px; bottom: 28px; max-width: 360px; padding: 11px 17px; border-radius: 8px; color: #fff; background: #2a2c46; box-shadow: var(--shadow); font-size: 12px; }.toast.error { background: #d8555f; }

/* 客服二维码弹窗 */
.support-modal-mask { z-index: 75; background: rgba(19, 28, 49, .56); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); }
.modal-card.support-modal { width: min(500px, 100%); padding: 31px 34px 25px; border-color: #dce6f5; border-radius: 18px; text-align: center; box-shadow: 0 28px 80px rgba(28, 49, 91, .24); }
.support-modal > .modal-eyebrow { text-align: left; }
.support-modal > h2 { margin-top: 8px; font-size: 22px; }
.support-modal > .modal-desc { max-width: 390px; margin: 0 auto 18px; line-height: 1.75; }
.support-modal-content { padding: 19px 20px 16px; border: 1px solid #e2eaf6; border-radius: 15px; background: linear-gradient(180deg, #f8fbff 0, #fff 100%); }
.support-qr-wrap { width: 232px; height: 232px; display: flex; align-items: center; justify-content: center; margin: 0 auto 13px; padding: 8px; border: 1px solid #dce7f6; border-radius: 14px; background: #fff; box-shadow: 0 10px 28px rgba(52, 85, 145, .12); }
.support-qr-wrap img { width: 100%; height: 100%; display: block; border-radius: 8px; object-fit: contain; }
.support-qr-loading { display: grid; justify-items: center; gap: 10px; color: #68758a; font-size: 12px; line-height: 1.55; }
.support-qr-error { max-width: 195px; margin: 0; color: #a13f4c; font-size: 12px; line-height: 1.7; text-align: center; overflow-wrap: anywhere; }
.support-scan-title { display: flex; align-items: center; justify-content: center; gap: 6px; color: #344054; font-size: 13px; }
.support-scan-title span { color: var(--primary); font-size: 17px; }
.support-remark { margin: 8px auto 13px; color: #68758a; font-size: 12px; line-height: 1.65; }
.support-scope { display: flex; flex-wrap: wrap; justify-content: center; gap: 7px; }
.support-scope span { padding: 5px 9px; border-radius: 999px; color: #4168ad; background: #eaf2ff; font-size: 12px; white-space: nowrap; }
.support-service-note { margin: 14px 0 0; padding-top: 13px; border-top: 1px dashed #dce5f2; color: #98a1b1; font-size: 12px; line-height: 1.6; }
.support-modal-footer { justify-content: center; margin-top: 18px; padding-top: 0; border-top: 0; }
.support-modal-footer .primary-btn { min-width: 126px; }

.material-save-hint { margin: 8px 0 0; color: #c07f46; font-size: 12px; line-height: 1.6; }.unsaved-hint { margin-right: auto; color: #c07f46; font-size: 12px; }.material-upload-mask, .file-preview-mask { z-index: 70; }.file-preview-modal { width: min(900px, 100%); }.file-preview-stage { min-height: 180px; display: flex; align-items: center; justify-content: center; margin-top: 18px; overflow: hidden; border: 1px solid var(--line); border-radius: 10px; background: #f6f7fb; }.file-preview-stage.image { min-height: 260px; max-height: calc(100vh - 250px); padding: 12px; }.file-preview-stage.image img { max-width: 100%; max-height: calc(100vh - 290px); object-fit: contain; }.file-preview-stage.pdf { height: min(620px, calc(100vh - 250px)); }.file-preview-stage.pdf iframe { width: 100%; height: 100%; border: 0; background: #fff; }.file-preview-doc { display: flex; align-items: center; gap: 14px; margin-top: 18px; padding: 25px 20px; border: 1px solid var(--line); border-radius: 10px; background: #fafbfe; }.file-preview-doc-icon { width: 54px; height: 54px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 54px; border-radius: 12px; color: #fff; background: #4b7ee0; font-size: 12px; font-weight: 800; }.file-preview-doc b { color: #555873; font-size: 13px; }.file-preview-doc p { margin: 5px 0 0; color: #969aab; font-size: 12px; line-height: 1.6; }

.application-fee-mask { z-index: 72; }.file-preview-mask { z-index: 80; }.application-fee-modal { width: min(760px, 100%); max-height: calc(100vh - 42px); overflow-y: auto; }.application-fee-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; }.application-fee-heading h2 { margin: 0; color: #4d5068; font-size: 20px; }.application-fee-heading p { margin: 9px 0 0; color: #858a9e; font-size: 12px; line-height: 1.75; }.application-fee-status { flex: 0 0 auto; padding: 5px 9px; border-radius: 14px; color: #8d6930; background: #fff1d7; font-size: 12px; }.application-fee-status.status-20 { color: #9b5d52; background: #ffebe7; }.application-fee-status.status-30 { color: #b6634f; background: #fff0e9; }.application-fee-status.status-40 { color: #158361; background: #e5f7ef; }.application-fee-status.status-50 { color: #74798b; background: #eef0f4; }.application-fee-meta { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }.application-fee-meta > div { min-width: 0; padding: 12px 13px; border: 1px solid #e9ecf2; border-radius: 9px; background: #fafbfe; }.application-fee-meta small, .application-fee-meta b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.application-fee-meta small { color: #9a9ead; font-size: 12px; }.application-fee-meta b { margin-top: 5px; color: #555970; font-size: 12px; }.application-fee-alert { display: flex; gap: 8px; margin-top: 14px; padding: 11px 13px; border-radius: 8px; font-size: 12px; line-height: 1.6; }.application-fee-alert b { flex: 0 0 auto; }.application-fee-alert.error { color: #a75645; background: #fff0eb; }.application-fee-alert.pending { color: #956a31; background: #fff5df; }.application-fee-alert.success { color: #167c5d; background: #e9f8f1; }.application-fee-alert.muted { color: #737789; background: #f1f2f5; }.application-fee-link { margin-top: 15px; }.application-fee-submit, .application-fee-history { margin-top: 22px; padding-top: 19px; border-top: 1px solid #eceef3; }.application-fee-submit .section-heading-inline, .application-fee-history .section-heading-inline { margin-bottom: 12px; }.application-fee-submit h3, .application-fee-history h3 { margin: 0; color: #565970; font-size: 14px; }.application-fee-submit .section-heading-inline p, .application-fee-history .section-heading-inline p { margin: 4px 0 0; color: #9a9ead; font-size: 12px; }.application-fee-dropzone { width: 100%; min-height: 86px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; border: 1px dashed #afc9f2; border-radius: 10px; color: #3f74e0; background: #f5f9ff; cursor: pointer; }.application-fee-dropzone:disabled { opacity: .65; cursor: default; }.application-fee-dropzone > span { font-size: 20px; }.application-fee-dropzone b { font-size: 12px; }.application-fee-dropzone small { color: #8ca1c5; font-size: 12px; }.application-fee-files { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }.application-fee-files > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 10px; border-radius: 7px; background: #f4f6fa; }.application-fee-files .text-btn { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.application-fee-file-remove { flex: 0 0 auto; border: 0; color: #bd6b72; background: transparent; font-size: 12px; }.application-fee-form { display: grid; grid-template-columns: 180px minmax(0, 1fr); gap: 12px; margin-top: 13px; }.application-fee-form label { display: flex; flex-direction: column; gap: 6px; color: #696d82; font-size: 12px; }.application-fee-form input, .application-fee-form textarea { width: 100%; padding: 9px 10px; border: 1px solid #dfe3eb; border-radius: 7px; outline: none; color: #4e526a; background: #fff; font-size: 12px; }.application-fee-form textarea { resize: vertical; }.application-fee-proof { margin-top: 9px; padding: 12px 13px; border: 1px solid #e8ebf1; border-radius: 9px; background: #fcfcfe; }.application-fee-proof-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }.application-fee-proof-head b { color: #565a72; font-size: 12px; }.application-fee-proof-head span, .application-fee-proof p { color: #9297a9; font-size: 12px; }.application-fee-proof p { margin: 6px 0 0; line-height: 1.55; }.application-fee-proof-files { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }.application-fee-proof-files .text-btn { font-size: 12px; }.application-fee-footer { align-items: center; }.application-fee-footer > span { margin-right: auto; color: #9a7b58; font-size: 12px; }
.application-fee-meta.is-general { grid-template-columns: minmax(0, 1fr); }
.application-fee-form label:only-child { grid-column: 1 / -1; }

/* 申请计划与资料中心增强 */
.program-material-progress { display: block; margin-top: 5px; color: #aaaebe; font-size: 12px; }
.program-material-progress span { color: var(--green); }
.program-material-actions { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed #e1e6ef; }
.program-material-actions .action-primary { white-space: nowrap; }
.program-material-hint { color: #a3a7b6; font-size: 12px; }
.program-material-hint.success { color: #119b73; }
.file-type-badge.image { color: #2f7fc4; background: #e6f1ff; }
.modal-card.import-modal { width: min(780px, 100%); }
.modal-card.manual-major-modal { width: min(650px, 100%); }
.modal-loading { padding: 55px 20px; }
.modal-inline-empty { padding: 35px 15px 20px; color: #9397aa; text-align: center; }
.modal-inline-empty .empty-illustration { margin-bottom: 10px; }
.modal-inline-empty p { margin: 0 auto 15px; max-width: 380px; font-size: 12px; }
.import-plan-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-height: 520px; overflow: auto; padding: 3px 2px; }
.import-plan-card { display: flex; flex-direction: column; min-width: 0; padding: 15px; border: 1px solid var(--line); border-radius: 11px; background: #fbfcff; }
.import-plan-card.is-imported { opacity: .72; }
.import-plan-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; }
.import-plan-head b { color: #4e506c; font-size: 13px; }
.import-plan-head small { display: block; margin-top: 3px; color: #a0a4b3; font-size: 12px; }
.imported-pill { padding: 3px 7px; border-radius: 10px; color: #119b73; background: #e6f7f0; font-size: 12px; }
.import-plan-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 11px; }
.import-plan-tags span { padding: 3px 6px; border-radius: 10px; color: #3f6fd8; background: var(--brand-soft); font-size: 12px; }
.import-plan-majors { min-height: 73px; display: flex; flex-direction: column; gap: 4px; margin: 12px 0; padding: 9px; border-radius: 8px; background: #fff; }
.import-plan-majors span { overflow: hidden; color: #686b82; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.import-plan-majors small { color: #a0a4b4; font-size: 12px; }
.import-plan-button { width: 100%; margin-top: auto; padding: 8px 11px; font-size: 12px; }
.manual-form-error { margin: 12px 0 -1px; padding: 8px 10px; border-radius: 7px; color: #c55d6b; background: #fdecec; font-size: 12px; }
.manual-form-step { display: flex; gap: 10px; margin-top: 17px; }
.manual-form-step.is-disabled { opacity: .55; }
.manual-step-index { width: 24px; height: 24px; display: inline-flex; flex: 0 0 24px; align-items: center; justify-content: center; border-radius: 50%; color: var(--primary); background: #dbe9ff; font-size: 12px; font-weight: 700; }
.manual-step-body { min-width: 0; flex: 1; position: relative; }
.manual-step-body > label { display: block; margin: 1px 0 7px; color: #5c607a; font-size: 12px; font-weight: 600; }
.manual-step-body > input, .manual-form-grid select { width: 100%; padding: 10px 11px; border: 1px solid #dde2ec; border-radius: 7px; outline: none; color: #404361; background: #fff; font-size: 13px; }
.manual-step-body > input:focus, .manual-form-grid select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,107,253,.12); }
.searching-hint { padding: 9px 0; color: #9a9eaf; font-size: 12px; }
.search-results { max-height: 168px; overflow: auto; margin-top: 5px; border: 1px solid var(--line); border-radius: 8px; background: #fff; box-shadow: 0 8px 22px rgba(24, 32, 80, .08); }
.search-results button { width: 100%; display: block; padding: 9px 11px; border: 0; border-bottom: 1px solid #f2f2f7; color: #555873; background: #fff; text-align: left; }
.search-results button:last-child { border-bottom: 0; }
.search-results button:hover { background: #f5f9ff; }
.search-results span, .search-results small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.search-results span { font-size: 12px; }
.search-results small { margin-top: 2px; color: #a3a7b6; font-size: 12px; }
.search-results small i { margin-left: 8px; color: #6b9bef; font-style: normal; }
.selected-result { display: flex; align-items: center; gap: 8px; margin-top: 7px; padding: 9px 10px; border: 1px solid #cfe0fb; border-radius: 8px; color: var(--primary); background: #f5f9ff; }
.selected-result > span { font-size: 15px; }
.selected-result > div { min-width: 0; flex: 1; }
.selected-result b, .selected-result small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.selected-result b { color: #555873; font-size: 12px; }
.selected-result small { margin-top: 1px; color: #9b9fb0; font-size: 12px; }
.selected-result button { padding: 0; border: 0; color: #3f6fd8; background: transparent; font-size: 12px; }
.manual-form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 21px 0 0 34px; }
.manual-form-grid label { display: flex; flex-direction: column; gap: 6px; color: #666a82; font-size: 12px; }
.result-school { margin: 0 0 16px; color: #8c91a4; font-size: 12px; }
.result-highlight { display: flex; align-items: flex-start; gap: 11px; padding: 16px; border-radius: 10px; background: #f5f9ff; }
.result-status-dot { width: 11px; height: 11px; flex: 0 0 11px; margin-top: 4px; border-radius: 50%; background: #9ea2b3; }
.result-status-dot.status-success { background: var(--green); }
.result-status-dot.status-danger { background: #e56c78; }
.result-highlight b, .result-highlight small { display: block; }
.result-highlight b { color: #525571; font-size: 13px; }
.result-highlight small { margin-top: 4px; color: #9095a8; font-size: 12px; line-height: 1.6; }
.result-note { margin-top: 14px; padding: 11px 12px; border-radius: 8px; color: #8b8fa2; background: #f4f6fa; font-size: 12px; line-height: 1.7; }

@media (max-width: 1080px) { .sidebar { width: 218px; flex-basis: 218px; }.workspace { padding-right: 28px; padding-left: 28px; }.material-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }.dashboard-grid { grid-template-columns: 1fr; }.dashboard-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }.dashboard-side > .section-card { min-height: 100%; }.quick-panel { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 22px; }.quick-panel .card-heading { grid-column: 1 / -1; }.quick-panel a:first-of-type, .quick-panel a:nth-of-type(2), .quick-panel a:nth-of-type(3) { margin-top: 12px; }.planning-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 800px) { .sidebar { width: 230px; position: fixed; z-index: 40; top: 0; bottom: 0; left: -240px; transition: left .2s ease; }.sidebar.sidebar-open { left: 0; box-shadow: 10px 0 30px rgba(18, 22, 48, .2); }.mobile-menu-btn { display: inline-block; }.topbar { height: 62px; padding: 0 18px; }.topbar-actions { gap: 12px; }.sync-state, .user-name { display: none; }.workspace { padding: 26px 18px 52px; }.page-heading, .hero-heading { align-items: flex-start; flex-direction: column; margin-bottom: 23px; }.page-heading h1, .hero-heading h1 { font-size: 26px; }.heading-actions { width: 100%; flex-wrap: wrap; }.heading-actions .outline-btn, .heading-actions .primary-btn { flex: 1 1 45%; }.metric-cards { grid-template-columns: 1fr; }.metric-card { min-height: 82px; }.status-bars { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }.dashboard-side { display: flex; }.dashboard-side .quick-panel { display: block; }.plan-toolbar { align-items: flex-start; flex-direction: column; }.plan-insight-row { padding-right: 16px; padding-left: 16px; flex-direction: column; }.plan-quota-card { min-width: 0; }.plan-list, .plan-skeleton-list { grid-template-columns: 1fr; padding: 0 16px 18px; }.plan-tabs { padding: 0 16px; overflow-x: auto; }.plan-tabs button { flex: 0 0 auto; }.plan-tabs button:first-child { padding-left: 0; }.material-summary { align-items: flex-start; flex-direction: column; }.summary-reminder { width: 100%; }.progress-track { width: 65vw; }.material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }.profile-layout { grid-template-columns: 1fr; }.profile-menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }.profile-user { grid-column: 1 / -1; }.profile-menu > button { margin-top: 0; padding: 9px 7px; }.profile-menu > button i { display: none; }.profile-menu-tip { grid-column: 1 / -1; }.profile-content { padding: 22px 18px; }.form-grid { grid-template-columns: 1fr; }.full-field { grid-column: auto; }.form-footer { align-items: flex-start; flex-direction: column; }.form-footer .primary-btn { width: 100%; }.program-material-head { flex-wrap: wrap; }.program-material-head > .text-btn { width: 100%; margin: 5px 0 0 49px; text-align: left; }.program-material-actions { align-items: flex-start; flex-direction: column; }.program-material-actions .action-primary { width: 100%; }.import-plan-list { grid-template-columns: 1fr; }.manual-form-grid { margin-left: 34px; grid-template-columns: 1fr; }.modal-card { padding: 25px 20px 20px; }.toast { right: 15px; bottom: 15px; left: 15px; max-width: none; text-align: center; } }
@media (max-width: 480px) { .login-card { width: 100%; padding: 34px 22px 27px; }.qr-box { width: 220px; height: 220px; }.material-grid { grid-template-columns: 1fr; }.program-material-grid { grid-template-columns: 1fr; }.profile-menu { grid-template-columns: repeat(2, 1fr); }.plan-actions button { flex: 1 1 auto; }.user-menu button { font-size: 12px; } }

@media (max-width: 480px) {
    .modal-card.support-modal { padding: 26px 18px 20px; border-radius: 15px; }
    .support-modal > h2 { padding-right: 20px; font-size: 20px; }
    .support-modal-content { padding: 15px 12px 13px; }
    .support-qr-wrap { width: min(210px, 68vw); height: min(210px, 68vw); }
    .support-modal-footer .primary-btn { width: 100%; }
}

/* 顶部通知使用线性铃铛图标，移除冗余同步状态文案。 */
.topbar-actions { gap: 18px; }

/* 成绩单解析 */
.performance-view { min-width: 0; --performance-panel-height: 320px; }
.performance-skeleton { min-width: 0; }
.performance-skeleton-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.performance-skeleton-stat { display: flex; align-items: center; gap: 12px; min-height: 91px; padding: 18px 19px; }
.performance-skeleton-stat > div { min-width: 0; flex: 1; }
.performance-skeleton-symbol { width: 35px; height: 35px; flex: 0 0 35px; border-radius: 11px; }
.performance-skeleton-label { width: 74px; height: 9px; }
.performance-skeleton-value { width: 54px; height: 23px; margin-top: 7px; border-radius: 5px; }
.performance-skeleton-unit { width: 62px; height: 8px; margin-top: 6px; }
.performance-skeleton-upload, .performance-skeleton-history { margin-bottom: 20px; padding: 24px 27px; }
.performance-skeleton-heading { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin-bottom: 24px; }
.performance-skeleton-heading > div { min-width: 0; flex: 1; }
.performance-skeleton-title { width: 112px; height: 16px; border-radius: 5px; }
.performance-skeleton-title.short { width: 128px; }
.performance-skeleton-description { width: min(390px, 75%); height: 9px; margin-top: 9px; }
.performance-skeleton-description.shorter { width: min(300px, 70%); }
.performance-skeleton-pill { width: 59px; height: 21px; border-radius: 13px; }
.performance-skeleton-dropzone { width: 100%; height: 142px; border-radius: 12px; }
.performance-skeleton-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 15px; border-top: 1px solid #eef1f6; }
.performance-skeleton-note { width: min(330px, 65%); height: 8px; }
.performance-skeleton-button { width: 78px; height: 31px; border-radius: 7px; }
.performance-skeleton-count { width: 76px; height: 9px; }
.performance-skeleton-history { margin-bottom: 0; }
.performance-skeleton-record { display: flex; align-items: center; gap: 11px; min-width: 0; margin-top: 8px; padding: 12px 13px; border: 1px solid #eef1f6; border-radius: 9px; }
.performance-skeleton-record-icon { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 9px; }
.performance-skeleton-record-name { width: 42%; height: 11px; flex: 1; }
.performance-skeleton-record-status { width: 74px; height: 19px; border-radius: 12px; }
.performance-skeleton-record-button { width: 63px; height: 27px; border-radius: 7px; }
.performance-stat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-bottom: 18px; }
.performance-stat-card { position: relative; display: flex; align-items: center; gap: 12px; min-height: 91px; padding: 18px 19px; overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: #fff; }
.performance-stat-card > div { min-width: 0; }
.performance-stat-card small, .performance-stat-card strong, .performance-stat-card em { display: block; }
.performance-stat-card small { color: #9296a9; font-size: 12px; }
.performance-stat-card strong { margin-top: 3px; color: #4b4d6b; font-size: 24px; line-height: 1.1; }
.performance-stat-card em { margin-top: 3px; color: #9fa3b4; font-size: 12px; font-style: normal; }
.performance-stat-card button { margin-left: auto; padding: 5px 8px; border: 0; border-radius: 6px; color: var(--primary); background: rgba(255,255,255,.72); font-size: 12px; }
.performance-stat-symbol { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 35px; border-radius: 11px; font-size: 17px; }
.performance-stat-purple { background: linear-gradient(135deg, var(--brand-soft), #fafcff); }
.performance-stat-purple .performance-stat-symbol { color: var(--primary); background: #dbe9ff; }
.performance-stat-blue { background: linear-gradient(135deg, var(--blue-soft), #fafdff); }
.performance-stat-blue .performance-stat-symbol { color: #2f86f6; background: #d6eaff; }
.performance-stat-green { background: linear-gradient(135deg, var(--green-soft), #fbfffd); }
.performance-stat-green .performance-stat-symbol { color: var(--green); background: #d3f1e8; }
.performance-task-card { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; padding: 14px 18px; border: 1px solid #dbe6fb; border-radius: 12px; background: linear-gradient(105deg, #f7faff, #fff); }
.performance-task-card.success { border-color: #cdeee2; background: linear-gradient(105deg, #f4fdfb, #fff); }
.performance-task-card.failed { border-color: #f3c8c8; background: linear-gradient(105deg, #fff5f5, #fff); }
.performance-task-card.failed .performance-task-icon { color: #d84949; background: #fde1e1; }
.performance-task-card.blocking { min-height: var(--performance-panel-height); padding: 34px 38px; border-color: #cfe0fb; background: radial-gradient(circle at 88% 12%, rgba(36, 107, 253, .12), transparent 32%), linear-gradient(135deg, #eef5ff, #fff); box-shadow: var(--shadow-sm); }
.performance-task-card.blocking.loading { min-height: var(--performance-panel-height); }
.performance-task-card.blocking .performance-task-icon { width: 52px; height: 52px; flex-basis: 52px; border-radius: 16px; }
.performance-task-card.blocking b { font-size: 18px; }
.performance-task-card.blocking p { max-width: 650px; margin-top: 8px; font-size: 12px; line-height: 1.75; }
.performance-task-card > .performance-task-actions { min-width: auto; display: flex; align-items: center; flex: 0 0 auto; gap: 9px; }
.performance-task-card > div { min-width: 0; flex: 1; }
.performance-task-card b { color: #51536f; font-size: 13px; }
.performance-task-card p { margin: 3px 0 0; color: #969aab; font-size: 12px; }
.performance-task-icon { width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 31px; border-radius: 10px; color: var(--primary); background: #dbe9ff; font-size: 16px; font-weight: 700; }
.performance-task-card.success .performance-task-icon { color: var(--green); background: #d3f1e8; }
.performance-upload-card, .performance-history-card { margin-bottom: 20px; padding: 24px 27px; }
.performance-upload-card { min-height: var(--performance-panel-height); }
.performance-upload-zone { min-height: 142px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; border: 1px dashed #bcd3f6; border-radius: 12px; color: #3f74e0; background: #f5f9ff; transition: all .18s ease; }
.performance-upload-zone:hover { border-color: var(--primary); background: #eef5ff; }
.performance-upload-zone.is-busy { opacity: .65; pointer-events: none; }
.performance-upload-zone b { font-size: 13px; }
.performance-upload-zone small { color: #8aa0c4; font-size: 12px; }
.performance-upload-icon { width: 35px; height: 35px; display: inline-flex; align-items: center; justify-content: center; border-radius: 11px; color: var(--primary); background: #dbe9ff; font-size: 22px; }
.performance-file-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.performance-file-row { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 8px 10px; border-radius: 7px; background: #f4f6fa; }
.performance-file-row > span:nth-child(2) { min-width: 0; flex: 1; overflow: hidden; color: #5d6078; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.performance-file-row small { color: #a4a7b5; font-size: 12px; }
.performance-file-row button { padding: 0 3px; border: 0; color: #c87580; background: transparent; font-size: 17px; }
.performance-file-row button:disabled { cursor: not-allowed; opacity: .4; }
.performance-upload-footer { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 16px; padding-top: 15px; border-top: 1px solid #eef1f6; color: #9b9fb0; font-size: 12px; }
.performance-history-list { display: flex; flex-direction: column; gap: 8px; }
.performance-history-row { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 12px 13px; border: 1px solid #eef1f6; border-radius: 9px; background: #fff; }
.performance-record-icon { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 30px; border-radius: 9px; color: #2f86f6; background: #e6f1ff; font-size: 15px; }
.performance-record-main { min-width: 0; flex: 1; }
.performance-record-main b, .performance-record-main small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.performance-record-main b { color: #555873; font-size: 12px; }
.performance-record-main small { margin-top: 3px; color: #a0a4b4; font-size: 12px; }
.performance-record-status { padding: 4px 7px; border-radius: 12px; color: #8f93a5; background: #eef1f5; font-size: 12px; white-space: nowrap; }
.performance-record-status.generated { color: #119b73; background: #e6f7f0; }
.performance-history-row.failed { border-color: #f3d6d6; background: #fffafa; }
.performance-history-row.failed .performance-record-icon, .performance-record-status.failed { color: #c94a4a; background: #fde8e8; }
.performance-upload-card .form-status, .performance-history-card .section-heading-inline > span,
.performance-history-row .outline-btn.small, .performance-file-row .file-type-badge { font-size: 12px; }
.compact-loading { padding: 40px 20px; }
.program-material-action-buttons { display: flex; align-items: center; gap: 7px; }
.material-inline-state { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 0 12px; padding: 10px 12px; border: 1px dashed #cfe0fb; border-radius: 8px; color: #8589a2; background: #f5f9ff; font-size: 12px; }
.material-inline-state .spinner { margin-right: 2px; }
.material-error-state { border-color: #f1cdd2; color: #bb6e79; background: #fdf6f7; }
.material-error-state .text-btn { color: #b85f6c; white-space: nowrap; }
.material-readonly-banner { margin: 0 0 15px; border-style: solid; border-color: #d3e3f3; color: #4f6e8f; background: #f3f8ff; }
.material-readonly-note { color: #8b91a5; }
.material-card.is-readonly { border-color: #e9eaf1; background: #fbfbfd; }
.material-card.is-readonly .small-primary-btn, .small-primary-btn:disabled, .action-primary:disabled { cursor: not-allowed; opacity: .55; }
.material-card.is-loading .material-files-preview, .material-card.is-error .material-files-preview { color: #9da1b1; }
.program-material-card.is-readonly { background: #fcfcfe; }
.program-material-missing { margin-top: 11px; padding: 8px 10px; border-radius: 7px; color: #b17a4c; background: #fef8ef; font-size: 12px; line-height: 1.5; }
.material-upload-progress { margin: -4px 0 14px; padding: 9px 11px; border-radius: 8px; background: #eef5ff; }
.material-upload-progress-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: #5a6f9a; font-size: 12px; }
.material-upload-progress-head span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.material-upload-progress-head b { color: var(--primary); font-size: 12px; }
.material-progress-track { height: 5px; margin-top: 7px; overflow: hidden; border-radius: 5px; background: #d6e3fb; }
.material-progress-track i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #4b89ff, var(--primary)); transition: width .15s ease; }
.file-dropzone.is-busy { cursor: wait; opacity: .72; }
.modal-file-row button:disabled { cursor: not-allowed; opacity: .35; }
.text-btn:disabled { cursor: not-allowed; opacity: .45; }

/* 已提交资料快照 */
.snapshot-modal { width: min(920px, 100%); }
.snapshot-content { max-height: calc(100vh - 190px); overflow: auto; padding-right: 3px; }
.snapshot-block { margin-top: 15px; padding: 14px 15px; border: 1px solid #eef1f6; border-radius: 10px; background: #fcfcff; }
.snapshot-block h3 { margin: 0 0 11px; color: #565974; font-size: 13px; }
.snapshot-block-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 11px; }
.snapshot-block-head h3 { margin: 0; }
.snapshot-block-head > span { flex: 0 0 auto; padding: 3px 8px; border-radius: 12px; color: #4f93f0; background: var(--brand-soft); font-size: 12px; font-weight: 700; }
.snapshot-kv-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 15px; }
.snapshot-kv-grid > div { min-width: 0; }
.snapshot-kv-grid small, .snapshot-kv-grid span { display: block; }
.snapshot-kv-grid small { color: #a0a4b4; font-size: 12px; }
.snapshot-kv-grid span { margin-top: 2px; overflow: hidden; color: #5c5f78; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.snapshot-repeat-list { display: flex; flex-direction: column; gap: 7px; }
.snapshot-repeat-list > div { padding: 8px 9px; border-radius: 7px; background: #fff; }
.snapshot-repeat-list b, .snapshot-repeat-list span { display: block; }
.snapshot-repeat-list b { color: #5a5d76; font-size: 12px; }
.snapshot-repeat-list span { margin-top: 3px; color: #969aab; font-size: 12px; }
.snapshot-summary-lines { display: flex; flex-wrap: wrap; gap: 8px; }
.snapshot-summary-lines span { padding: 5px 8px; border-radius: 12px; color: #777b92; background: #f1f3f8; font-size: 12px; }
.snapshot-detail-section { --snapshot-accent: #246bfd; --snapshot-accent-dark: #1554d1; --snapshot-accent-soft: #eef5ff; margin-top: 17px; padding: 16px; overflow: hidden; border-color: rgba(36, 107, 253, .18); background: linear-gradient(135deg, var(--snapshot-accent-soft), #fff 65%); }
.snapshot-content > .snapshot-detail-section:nth-of-type(5) { --snapshot-accent: #119b73; --snapshot-accent-dark: #0c7a5b; --snapshot-accent-soft: #e6f7f0; border-color: rgba(17, 155, 115, .18); }
.snapshot-content > .snapshot-detail-section:nth-of-type(6) { --snapshot-accent: #2f86f6; --snapshot-accent-dark: #1f6fc4; --snapshot-accent-soft: #e9f2ff; border-color: rgba(47, 134, 246, .18); }
.snapshot-detail-section .snapshot-block-head { position: relative; margin-bottom: 13px; padding-bottom: 10px; border-bottom: 1px solid rgba(91, 93, 129, .1); }
.snapshot-detail-section .snapshot-block-head::before { width: 8px; height: 8px; margin-right: 8px; border-radius: 50%; background: var(--snapshot-accent); box-shadow: 0 0 0 4px rgba(36, 107, 253, .1); content: ''; }
.snapshot-content > .snapshot-detail-section:nth-of-type(5) .snapshot-block-head::before { box-shadow: 0 0 0 4px rgba(17, 155, 115, .1); }
.snapshot-content > .snapshot-detail-section:nth-of-type(6) .snapshot-block-head::before { box-shadow: 0 0 0 4px rgba(47, 134, 246, .1); }
.snapshot-detail-section .snapshot-block-head h3 { margin-right: auto; color: #444762; font-size: 14px; }
.snapshot-detail-section .snapshot-block-head > span { padding: 4px 9px; color: var(--snapshot-accent-dark); background: var(--snapshot-accent-soft); font-size: 12px; }
.snapshot-detail-list { display: flex; flex-direction: column; gap: 10px; }
.snapshot-detail-card { position: relative; padding: 13px; overflow: hidden; border: 1px solid rgba(91, 93, 129, .11); border-radius: 10px; background: rgba(255, 255, 255, .92); box-shadow: 0 5px 16px rgba(24, 32, 91, .035); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.snapshot-detail-card::before { position: absolute; top: 13px; bottom: 13px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: var(--snapshot-accent); content: ''; }
.snapshot-detail-card:hover { border-color: rgba(36, 107, 253, .25); box-shadow: 0 9px 20px rgba(24, 32, 91, .075); transform: translateY(-1px); }
.snapshot-content > .snapshot-detail-section:nth-of-type(5) .snapshot-detail-card:hover { border-color: rgba(17, 155, 115, .25); }
.snapshot-content > .snapshot-detail-section:nth-of-type(6) .snapshot-detail-card:hover { border-color: rgba(47, 134, 246, .25); }
.snapshot-detail-card-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-left: 3px; padding: 0 0 10px 9px; border-bottom: 1px solid #f0eff5; }
.snapshot-detail-card-head h4 { min-width: 0; margin: 0; overflow: hidden; color: #454960; font-size: 13px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.snapshot-card-badge, .snapshot-card-date { flex: 0 0 auto; padding: 4px 8px; border-radius: 10px; color: #777b94; background: #f1f2f8; font-size: 12px; }
.snapshot-card-badge, .snapshot-card-date { color: var(--snapshot-accent-dark); background: var(--snapshot-accent-soft); }
.snapshot-detail-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; padding: 11px 0 0 12px; }
.snapshot-detail-grid > div { min-width: 0; min-height: 55px; padding: 8px 9px; border: 1px solid rgba(91, 93, 129, .07); border-radius: 8px; background: #fafaff; }
.snapshot-detail-grid small, .snapshot-detail-grid span, .snapshot-detail-description small { display: block; }
.snapshot-detail-grid small, .snapshot-detail-description small, .snapshot-attachments > small, .snapshot-score-grid small { color: #989caf; font-size: 12px; }
.snapshot-detail-grid span { margin-top: 3px; color: #5b5f76; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.snapshot-detail-grid > div:last-child:nth-child(3n + 1) { grid-column: span 3; }
.snapshot-detail-description { margin: 10px 0 0 12px; padding: 10px 11px; border-left: 3px solid var(--snapshot-accent); border-radius: 0 8px 8px 0; background: var(--snapshot-accent-soft); }
.snapshot-detail-description p { margin: 3px 0 0; color: #62667b; font-size: 12px; line-height: 1.75; word-break: break-word; }
.snapshot-attachments { margin: 10px 0 0 12px; padding: 10px 11px; border-radius: 8px; background: var(--snapshot-accent-soft); }
.snapshot-attachments > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.snapshot-attachments button { max-width: 100%; padding: 5px 8px; overflow: hidden; border: 1px solid rgba(36, 107, 253, .14); border-radius: 6px; color: var(--snapshot-accent-dark); background: #fff; font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.snapshot-attachments button:hover { border-color: var(--snapshot-accent); color: #fff; background: var(--snapshot-accent); }
.snapshot-attachments button i { margin-right: 4px; font-style: normal; }
.snapshot-attachment-empty { margin: 10px 0 0 12px; padding: 8px 10px; border-radius: 7px; color: #9fa3b2; background: #fafaff; font-size: 12px; }
.snapshot-language-meta { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.snapshot-language-meta > div:last-child:nth-child(3n + 1) { grid-column: auto; }
.snapshot-score-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 7px; margin: 10px 0 0 12px; }
.snapshot-score-grid > div { min-width: 0; padding: 9px 6px; border: 1px solid rgba(47, 134, 246, .08); border-radius: 8px; background: #fff; text-align: center; }
.snapshot-score-grid > div:first-child { border-color: var(--snapshot-accent); color: #fff; background: linear-gradient(135deg, var(--snapshot-accent), var(--snapshot-accent-dark)); box-shadow: 0 5px 12px rgba(47, 134, 246, .18); }
.snapshot-score-grid small, .snapshot-score-grid strong { display: block; }
.snapshot-score-grid strong { margin-top: 3px; overflow: hidden; color: var(--snapshot-accent-dark); font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.snapshot-score-grid > div:first-child small, .snapshot-score-grid > div:first-child strong { color: #fff; }
.snapshot-file-list { display: flex; flex-direction: column; gap: 6px; }
.snapshot-file-list a { display: flex; align-items: center; gap: 8px; min-width: 0; padding: 7px 9px; border-radius: 7px; color: #3f4fb5; background: #fff; font-size: 12px; text-decoration: none; }
.snapshot-file-list a span { min-width: 60px; color: #9a9eb0; font-size: 12px; }
.snapshot-file-list a:hover { text-decoration: underline; }
.snapshot-empty { margin: 0; color: #a4a7b5; font-size: 12px; }

/* 已提交资料快照：档案式整体布局 */
.modal-card.snapshot-modal { width: min(980px, 100%); max-height: calc(100vh - 32px); padding: 0; overflow: hidden; border: 1px solid #e1e9f7; border-radius: 20px; background: #f5f7fa; box-shadow: 0 28px 82px rgba(18, 18, 48, .22); }
.snapshot-modal > .modal-close { z-index: 2; top: 69px; right: 22px; width: 28px; height: 28px; border-radius: 50%; color: #82869c; background: #f1f3f7; font-size: 22px; line-height: 26px; transition: background .18s ease, color .18s ease; }
.snapshot-modal > .modal-close:hover { color: #fff; background: var(--primary); }
.snapshot-modal > .modal-eyebrow { display: flex; align-items: center; gap: 7px; padding: 22px 62px 0 28px; color: #3f74e0; font-size: 12px; }
.snapshot-modal > .modal-eyebrow::before { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; color: #fff; background: var(--primary); content: '✓'; font-size: 12px; letter-spacing: 0; }
.snapshot-modal > h2 { margin: 8px 0 5px; padding: 0 62px 0 28px; color: #2a2c46; font-size: 21px; line-height: 1.35; }
.snapshot-modal > .modal-desc { max-width: 780px; margin: 0; padding: 0 28px 18px; color: #85899d; font-size: 12px; line-height: 1.65; }
.snapshot-modal > .modal-loading, .snapshot-modal > .modal-inline-empty { margin: 0; padding: 55px 28px; background: #fff; }
.snapshot-content { max-height: calc(100vh - 185px); display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; overflow: auto; margin: 0; padding: 18px 22px 24px; background: linear-gradient(180deg, #f7f9fd 0, #f5f7fa 100%); scrollbar-color: #c6d2e6 transparent; scrollbar-width: thin; }
.snapshot-content::-webkit-scrollbar { width: 7px; }
.snapshot-content::-webkit-scrollbar-thumb { border-radius: 8px; background: #c6d2e6; }
.snapshot-content > .snapshot-block { min-width: 0; grid-column: 1 / -1; margin: 0; padding: 16px; border-color: #e7eaf1; border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(24, 34, 84, .03); }
.snapshot-content > .snapshot-block:not(.snapshot-detail-section) > h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 13px; color: #4d506b; font-size: 13px; }
.snapshot-content > .snapshot-block:not(.snapshot-detail-section) > h3::before { width: 7px; height: 7px; flex: 0 0 7px; border-radius: 50%; background: #4b89ff; box-shadow: 0 0 0 4px var(--brand-soft); content: ''; }
.snapshot-content > .snapshot-block:nth-child(2) > h3::before { background: #d98a5d; box-shadow: 0 0 0 4px #fef0e6; }
.snapshot-content > .snapshot-block:nth-child(3) > h3::before { background: #2f86f6; box-shadow: 0 0 0 4px #e6f1ff; }
.snapshot-content > .snapshot-block:nth-child(7) > h3::before { background: #119b73; box-shadow: 0 0 0 4px #e6f7f0; }
.snapshot-content > .snapshot-block:nth-child(8) > h3::before { background: #4b89ff; box-shadow: 0 0 0 4px var(--brand-soft); }
.snapshot-kv-grid { gap: 8px; }
.snapshot-kv-grid > div { min-height: 53px; padding: 8px 10px; border: 1px solid #f0eff5; border-radius: 8px; background: #fafaff; }
.snapshot-kv-grid small { color: #9b9fb0; }
.snapshot-kv-grid span { margin-top: 3px; color: #5a5d75; line-height: 1.4; overflow-wrap: anywhere; white-space: normal; }
.snapshot-repeat-list { gap: 8px; }
.snapshot-repeat-list > div { position: relative; padding: 11px 13px 11px 16px; overflow: hidden; border: 1px solid #edf0f5; border-radius: 9px; background: #fbfcff; }
.snapshot-repeat-list > div::before { position: absolute; top: 11px; bottom: 11px; left: 0; width: 3px; border-radius: 0 3px 3px 0; background: #2f86f6; content: ''; }
.snapshot-repeat-list b { color: #50536d; font-size: 12px; }
.snapshot-repeat-list span { margin-top: 4px; color: #8f94a8; font-size: 12px; line-height: 1.6; }
.snapshot-content > .snapshot-detail-section { margin: 0; }
.snapshot-content > .snapshot-block:nth-child(7), .snapshot-content > .snapshot-block:nth-child(8) { display: flex; flex-direction: column; }
.snapshot-content > .snapshot-block:nth-child(7) .snapshot-file-list, .snapshot-content > .snapshot-block:nth-child(8) .snapshot-file-list { flex: 1; }
.snapshot-file-list { gap: 7px; }
.snapshot-file-list a { min-height: 38px; gap: 9px; padding: 8px 9px; border: 1px solid #f0eff5; border-radius: 8px; color: #4b43b4; background: #fbfaff; line-height: 1.45; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.snapshot-file-list a:hover { border-color: #cfe0fb; background: #eef5ff; text-decoration: none; transform: translateX(2px); }
.snapshot-file-list a span { min-width: 52px; padding: 3px 5px; border-radius: 5px; color: #4f93f0; background: #e3ecfd; font-size: 12px; text-align: center; }
.snapshot-content > .snapshot-block:nth-child(7) .snapshot-file-list a span { color: #11876b; background: #e6f7f0; }
.snapshot-content > .snapshot-block:nth-child(8) .snapshot-file-list a span { color: #4b7ee0; background: var(--brand-soft); }
.snapshot-content > .snapshot-block:nth-child(7) .snapshot-empty, .snapshot-content > .snapshot-block:nth-child(8) .snapshot-empty { flex: 1; display: flex; align-items: center; justify-content: center; min-height: 70px; padding: 12px; border: 1px dashed #e2e2eb; border-radius: 8px; background: #fbfbfe; text-align: center; }

/* 成绩核对与报告 */
.score-verify-modal { width: min(900px, 100%); }
.score-verify-modal .modal-eyebrow, .score-report-modal .modal-eyebrow { font-size: 12px; }
.score-groups { max-height: calc(100vh - 230px); overflow: auto; }
.score-group { margin-top: 15px; padding: 13px; border: 1px solid #eef1f6; border-radius: 10px; background: #fcfcff; }
.score-group-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.score-group-head h3 { margin: 0; color: #565974; font-size: 13px; }
.score-course-row { display: grid; grid-template-columns: minmax(150px, 2fr) minmax(90px, 1fr) minmax(75px, .8fr) minmax(70px, .8fr) 92px auto auto; gap: 7px; align-items: center; padding: 7px 0; border-top: 1px solid #eef1f6; }
.score-course-row input, .score-course-row select { width: 100%; min-width: 0; padding: 7px 8px; border: 1px solid #e1e2ec; border-radius: 6px; outline: none; color: #555873; background: #fff; font-size: 12px; }
.score-course-row input:focus, .score-course-row select:focus { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(36,107,253,.1); }
.score-verify-note { margin-right: auto; color: #9b9fb0; font-size: 12px; }
.modal-card.score-report-modal { width: min(1040px, 100%); max-height: calc(100vh - 30px); padding: 0; overflow: hidden; border: 0; border-radius: 22px; background: #f4f7fc; box-shadow: 0 34px 90px rgba(19, 31, 74, .3); }
.score-report-modal > .modal-close { z-index: 3; top: 18px; right: 22px; width: 32px; height: 32px; border-radius: 50%; color: rgba(255,255,255,.82); background: rgba(255,255,255,.12); line-height: 30px; }
.score-report-modal > .modal-close:hover { color: #fff; background: rgba(255,255,255,.22); }
.score-report-head { position: relative; overflow: hidden; padding: 27px 34px 25px; color: #fff; background: linear-gradient(125deg, #1f56d8 0%, #4459dd 53%, #7450d8 100%); }
.score-report-head::before, .score-report-head::after { position: absolute; border-radius: 50%; content: ''; pointer-events: none; }
.score-report-head::before { width: 230px; height: 230px; top: -142px; right: 88px; border: 1px solid rgba(255,255,255,.16); }
.score-report-head::after { width: 120px; height: 120px; right: -34px; bottom: -72px; background: rgba(255,255,255,.08); }
.score-report-head .modal-eyebrow { position: relative; color: rgba(255,255,255,.76); font-size: 12px; letter-spacing: 2px; }
.score-report-title-row { position: relative; display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-top: 9px; }
.score-report-title-row h2 { margin: 0; color: #fff; font-size: 26px; line-height: 1.3; }
.score-report-title-row p { margin: 6px 0 0; color: rgba(255,255,255,.78); font-size: 13px; }
.score-report-title-row > span { flex: 0 0 auto; padding: 7px 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 18px; color: #fff; background: rgba(255,255,255,.12); font-size: 12px; font-weight: 700; }
.score-report-modal > .modal-loading, .score-report-modal > .modal-inline-empty { min-height: 220px; display: flex; align-items: center; justify-content: center; flex-direction: column; margin: 0; background: #fff; }
.score-report-content { max-height: calc(100vh - 148px); overflow: auto; padding: 24px 26px 30px; background: #f4f7fc; scrollbar-color: #bdc9dd transparent; scrollbar-width: thin; }
.score-report-content::-webkit-scrollbar { width: 7px; }
.score-report-content::-webkit-scrollbar-thumb { border-radius: 8px; background: #bdc9dd; }
.score-report-profile { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 13px 16px; border: 1px solid #e2e9f5; border-radius: 13px; color: #39415c; background: #fff; box-shadow: 0 5px 18px rgba(42, 62, 115, .04); }
.score-report-profile-icon { width: 39px; height: 39px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 39px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #3d7bf3, #6f56dd); font-size: 16px; font-weight: 800; }
.score-report-profile > div { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.score-report-profile small { width: 100%; color: #9aa3b7; font-size: 12px; }
.score-report-profile b { font-size: 14px; }
.score-report-profile > div > span { color: #7b849c; font-size: 12px; }
.score-report-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.score-report-stat-grid > div { position: relative; min-width: 0; overflow: hidden; padding: 15px 14px 14px 48px; border: 1px solid #e5ebf4; border-radius: 13px; background: #fff; box-shadow: 0 5px 18px rgba(42, 62, 115, .04); }
.score-report-stat-grid > div > span { width: 27px; height: 27px; position: absolute; top: 17px; left: 13px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: #3f73df; background: #edf3ff; font-size: 12px; font-weight: 800; }
.score-report-stat-grid > div:nth-child(2) > span { color: #7c53dc; background: #f2edff; }
.score-report-stat-grid > div:nth-child(3) > span { color: #f09b32; background: #fff4df; }
.score-report-stat-grid > div:nth-child(4) > span { color: #21a777; background: #e9f8f2; }
.score-report-stat-grid small, .score-report-stat-grid strong { display: block; }
.score-report-stat-grid small { color: #929bad; font-size: 12px; }
.score-report-stat-grid strong { margin-top: 3px; color: #25304d; font-size: 21px; line-height: 1.25; }
.score-report-chart-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.score-report-chart-card { min-width: 0; padding: 18px; border: 1px solid #e2e9f5; border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(42, 62, 115, .045); }
.score-report-chart-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.score-report-chart-head small, .score-report-chart-head b { display: block; }
.score-report-chart-head small { margin-bottom: 3px; color: #9aa5bb; font-size: 12px; letter-spacing: .8px; }
.score-report-chart-head b { color: #313b57; font-size: 15px; }
.score-report-chart-head > span { padding: 5px 9px; border-radius: 13px; color: #6d7790; background: #f2f5f9; font-size: 12px; }
.score-report-chart-head > span > i { margin-right: 4px; vertical-align: middle; }
.score-report-chart-head > span.trend-up { color: #159a6a; background: #e8f8f1; }
.score-report-chart-head > span.trend-down { color: #d85e6c; background: #fff0f2; }
.score-report-distribution { display: flex; align-items: center; gap: 20px; min-height: 190px; margin-top: 8px; }
.score-report-donut { width: 146px; height: 146px; position: relative; display: grid; place-items: center; flex: 0 0 146px; border-radius: 50%; transform: rotate(-90deg); }
.score-report-donut::after { width: 92px; height: 92px; position: absolute; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1px #edf1f7; content: ''; }
.score-report-donut > div { z-index: 1; text-align: center; transform: rotate(90deg); }
.score-report-donut strong, .score-report-donut small { display: block; }
.score-report-donut strong { color: #2d3957; font-size: 23px; }
.score-report-donut small { margin-top: 2px; color: #9099ac; font-size: 12px; }
.score-report-legend { min-width: 0; flex: 1; display: grid; gap: 9px; }
.score-report-legend > div > div { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; gap: 7px; align-items: center; }
.score-report-legend > div > div > span { width: 8px; height: 8px; border-radius: 50%; }
.score-report-legend b, .score-report-legend strong { font-size: 12px; }
.score-report-legend b { overflow: hidden; color: #68728b; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.score-report-legend strong { color: #39435d; }
.score-report-legend i { height: 4px; display: block; overflow: hidden; margin: 5px 0 0 15px; border-radius: 5px; background: #edf1f6; }
.score-report-legend em { height: 100%; display: block; min-width: 0; border-radius: inherit; }
.score-report-line-chart { width: 100%; height: 190px; display: block; margin-top: 4px; overflow: visible; }
.score-report-line-chart line { stroke: #e8edf5; stroke-width: 1; stroke-dasharray: 4 5; }
.score-report-line-chart > g > text { fill: #a0a9ba; font-size: 12px; text-anchor: end; }
.score-report-line-chart polyline { fill: none; stroke: #4b7ff7; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.score-report-line-chart circle { fill: #fff; stroke: #4b7ff7; stroke-width: 4; }
.score-report-line-chart .chart-value { fill: #355fd1; font-size: 12px; font-weight: 800; text-anchor: middle; }
.score-report-line-chart .chart-label { fill: #7d879d; font-size: 12px; text-anchor: middle; }
.score-report-section-list { display: grid; gap: 12px; margin-top: 14px; }
.score-report-section { padding: 18px 19px; border: 1px solid #e2e9f5; border-radius: 15px; background: #fff; box-shadow: 0 7px 22px rgba(42, 62, 115, .045); }
.score-report-section-head { display: flex; align-items: center; gap: 11px; margin-bottom: 12px; }
.score-report-section-head > span { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 34px; border-radius: 10px; color: #386dd8; background: #edf3ff; font-size: 17px; font-weight: 800; }
.score-report-section:nth-child(2) .score-report-section-head > span { color: #7b55d5; background: #f2edff; }
.score-report-section:nth-child(3) .score-report-section-head > span { color: #e28b28; background: #fff3df; }
.score-report-section:nth-child(4) .score-report-section-head > span { color: #d85f70; background: #fff0f2; }
.score-report-section:nth-child(5) .score-report-section-head > span { color: #1b9a71; background: #e8f8f1; }
.score-report-section-head small, .score-report-section-head h3 { display: block; margin: 0; }
.score-report-section-head small { margin-bottom: 1px; color: #a0a9ba; font-size: 12px; letter-spacing: 1px; }
.score-report-section-head h3 { color: #303a56; font-size: 15px; }
.score-report-quick { margin: 0 0 10px; padding: 11px 13px; border: 1px solid #dce7fb; border-radius: 10px; color: #42619f; background: linear-gradient(90deg, #edf4ff 0%, #f4f7ff 100%); font-size: 12px; line-height: 1.75; }
.score-report-quick b { display: inline-block; margin-right: 9px; padding: 2px 7px; border-radius: 9px; color: #fff; background: #4b7ff7; font-size: 12px; }
.score-report-items { display: grid; gap: 0; }
.score-report-item { display: flex; align-items: flex-start; gap: 10px; padding: 9px 2px; border-top: 1px dashed #e7ebf2; color: #69748c; font-size: 12px; line-height: 1.75; }
.score-report-item:first-child { border-top: 0; }
.score-report-item > span { width: 6px; height: 6px; flex: 0 0 6px; margin-top: 8px; border-radius: 50%; background: #8ba7e7; }
.score-report-item p { margin: 0; }
.score-report-risk-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 8px; }
.score-report-risk-grid > div { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 11px 12px; border: 1px solid #e7ebf3; border-radius: 10px; background: #fafbfe; }
.score-report-risk-grid span { min-width: 0; overflow: hidden; color: #59647e; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.score-report-risk-grid b { flex: 0 0 auto; padding: 3px 8px; border-radius: 10px; font-size: 12px; }
.score-report-risk-grid .risk-low { color: #168a64; background: #e8f8f1; }
.score-report-risk-grid .risk-mid { color: #c47b1e; background: #fff3df; }
.score-report-risk-grid .risk-high { color: #cf5364; background: #fff0f2; }
.score-report-tier-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; margin-bottom: 8px; }
.score-report-tier-grid > div { min-width: 0; padding: 13px; border: 1px solid #e5eaf2; border-top: 3px solid #e06773; border-radius: 10px; background: #fffafa; }
.score-report-tier-grid > .tier-level-2 { border-top-color: #4b7ff7; background: #f8faff; }
.score-report-tier-grid > .tier-level-3 { border-top-color: #28a879; background: #f8fdfb; }
.score-report-tier-grid header { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; }
.score-report-tier-grid header span { padding: 3px 7px; border-radius: 8px; color: #cf5364; background: #fff0f2; font-size: 12px; font-weight: 700; }
.score-report-tier-grid .tier-level-2 header span { color: #3d6ed7; background: #eaf1ff; }
.score-report-tier-grid .tier-level-3 header span { color: #168a64; background: #e8f8f1; }
.score-report-tier-grid header b { color: #3d465e; font-size: 13px; }
.score-report-tier-grid p { margin: 7px 0 0; color: #68738b; font-size: 12px; line-height: 1.65; }
.score-report-tier-grid p em { display: block; margin-bottom: 2px; color: #9aa3b5; font-size: 12px; font-style: normal; }
.score-report-tier-grid > div > small { display: block; margin-top: 9px; padding-top: 8px; border-top: 1px dashed #e3e7ef; color: #737e95; font-size: 12px; line-height: 1.65; }
.score-report-empty { margin-top: 14px; padding: 24px 15px; border: 1px dashed #dfe4ef; border-radius: 12px; background: #fafbfe; }

@media (max-width: 800px) {
    .performance-stat-grid { grid-template-columns: 1fr; }
    .performance-skeleton-stats { grid-template-columns: 1fr; }
    .performance-skeleton-upload, .performance-skeleton-history { padding: 20px 18px; }
    .performance-skeleton-heading { align-items: flex-start; }
    .performance-skeleton-dropzone { height: 126px; }
    .performance-skeleton-footer { align-items: flex-start; flex-direction: column; }
    .performance-skeleton-note { width: 75%; }
    .performance-skeleton-button { width: 100%; }
    .performance-upload-card, .performance-history-card { padding: 20px 18px; }
    .performance-upload-footer { align-items: flex-start; flex-direction: column; }
    .performance-upload-footer .primary-btn { width: 100%; }
    .performance-history-row { flex-wrap: wrap; }
    .performance-history-row .outline-btn { width: 100%; margin-left: 41px; text-align: left; }
    .snapshot-kv-grid { grid-template-columns: 1fr; }
    .modal-card.snapshot-modal { max-height: calc(100vh - 24px); border-radius: 15px; }
    .snapshot-modal > .modal-eyebrow { padding: 18px 52px 0 20px; }
    .snapshot-modal > h2 { padding: 0 52px 0 20px; font-size: 19px; }
    .snapshot-modal > .modal-desc { padding: 0 20px 15px; }
    .snapshot-content { max-height: calc(100vh - 169px); grid-template-columns: 1fr; gap: 10px; padding: 14px; }
    .snapshot-content > .snapshot-block:nth-child(7), .snapshot-content > .snapshot-block:nth-child(8) { grid-column: 1 / -1; }
    .snapshot-detail-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .snapshot-detail-grid > div:last-child:nth-child(3n + 1) { grid-column: auto; }
    .snapshot-score-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .score-course-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .score-course-row .text-btn, .score-course-row .remove-btn { justify-self: start; }
    .score-report-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .score-report-chart-grid { grid-template-columns: 1fr; }
    .score-report-risk-grid, .score-report-tier-grid { grid-template-columns: 1fr; }
    .program-material-action-buttons { align-items: flex-start; flex-direction: column; width: 100%; }
    .program-material-action-buttons button { width: 100%; }
}

@media (max-width: 560px) {
    .snapshot-modal > .modal-close { top: 14px; right: 14px; }
    .snapshot-modal > .modal-eyebrow { padding-top: 16px; }
    .snapshot-content > .snapshot-block { padding: 13px; }
    .snapshot-detail-grid, .snapshot-language-meta { grid-template-columns: 1fr; }
    .snapshot-score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .snapshot-detail-card-head { align-items: flex-start; flex-direction: column; }
    .score-report-head { padding: 23px 24px 20px; }
    .score-report-title-row { align-items: flex-start; flex-direction: column; }
    .score-report-content { padding: 18px 15px 24px; }
    .score-report-distribution { align-items: stretch; flex-direction: column; }
    .score-report-donut { align-self: center; }
}

/* 通知待办 */
.notification-wrap { position: relative; }
.notification-trigger { width: 34px; height: 34px; position: relative; display: inline-flex; align-items: center; justify-content: center; padding: 0; border: 1px solid var(--line); border-radius: 10px; color: #8589a0; background: #fafbff; font-size: 20px; line-height: 1; transition: .18s ease; }
.notification-trigger:hover, .notification-trigger.has-unread { border-color: #cfe0fb; color: var(--primary); background: var(--brand-soft); }
.notification-icon { width: 18px; height: 18px; display: block; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.notification-trigger b { min-width: 18px; height: 18px; position: absolute; top: -7px; right: -8px; padding: 0 4px; border: 2px solid #fff; border-radius: 10px; color: #fff; background: #dc6373; font-size: 12px; font-weight: 700; line-height: 14px; text-align: center; }
.notification-popover { width: 342px; max-height: min(515px, calc(100vh - 92px)); position: absolute; z-index: 45; top: 43px; right: -16px; overflow: auto; border: 1px solid #e1e9f7; border-radius: 15px; background: #fff; box-shadow: 0 18px 45px rgba(18, 22, 48, .18); }
.notification-popover-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 16px 16px 12px; border-bottom: 1px solid #f0eff6; }
.notification-popover-head b, .notification-popover-head small { display: block; }.notification-popover-head b { color: #454761; font-size: 13px; }.notification-popover-head small { margin-top: 3px; color: #9b9eae; font-size: 12px; }.notification-popover-head button, .notification-popover-foot button { padding: 0; border: 0; color: var(--primary); background: transparent; font-size: 12px; font-weight: 700; }
.notification-empty { padding: 34px 15px; color: #a2a5b4; font-size: 12px; text-align: center; }
.notification-item { width: 100%; position: relative; display: flex; gap: 10px; padding: 12px 16px; border: 0; border-bottom: 1px solid #f4f3f7; background: #fff; text-align: left; transition: background .15s ease; }.notification-item:hover { background: var(--brand-soft); }.notification-item:last-of-type { border-bottom: 0; }
.notification-item-icon, .message-tab-icon, .message-card-icon { width: 27px; height: 27px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 27px; border-radius: 9px; color: var(--primary); background: var(--brand-soft); font-size: 13px; font-weight: 800; }.notification-item-icon.todo, .message-tab-icon.todo { color: #c87445; background: #fef0e6; }.notification-item-icon.message, .message-tab-icon.notice { color: #4187c7; background: #e6f3ff; }
.notification-item > div { min-width: 0; flex: 1; }.notification-item b, .notification-item p, .notification-item small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }.notification-item b { color: #575a72; font-size: 12px; }.notification-item p { margin: 3px 0; color: #969aaa; font-size: 12px; }.notification-item small { color: #adb0bd; font-size: 12px; }.notification-item > i { width: 6px; height: 6px; position: absolute; top: 15px; right: 13px; border-radius: 50%; background: var(--primary); }
.notification-popover-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px 13px; border-top: 1px solid #f1f0f6; background: #fbfcff; }.notification-popover-foot button { padding: 8px; border-radius: 7px; background: var(--brand-soft); }.notification-popover-foot button:last-child { color: #4c88bf; background: #eef7ff; }

.messages-view { min-width: 0; }.message-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 17px; }.message-overview-card { display: flex; align-items: center; gap: 12px; min-height: 96px; padding: 17px 19px; overflow: hidden; border: 1px solid #e4eefb; border-radius: 13px; background: linear-gradient(135deg, #f7faff, #fff); }.message-overview-card.notice { border-color: #e2edf8; background: linear-gradient(135deg, #f5faff, #fff); }.message-overview-card > span { width: 39px; height: 39px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 39px; border-radius: 12px; color: #c47242; background: #fef0e4; font-size: 20px; font-weight: 800; }.message-overview-card.notice > span { color: #4187c7; background: #e6f3ff; }.message-overview-card div { min-width: 0; flex: 1; }.message-overview-card small, .message-overview-card strong, .message-overview-card em { display: inline-block; }.message-overview-card small { display: block; color: #9699aa; font-size: 12px; }.message-overview-card strong { margin-top: 3px; color: #4f516d; font-size: 24px; line-height: 1; }.message-overview-card em { margin-left: 3px; color: #a1a4b3; font-size: 12px; font-style: normal; }.message-overview-card button { padding: 5px 0; border: 0; color: #3f6fd8; background: transparent; font-size: 12px; white-space: nowrap; }.message-overview-card.notice button { color: #4c88bf; }
.message-center { display: grid; grid-template-columns: 238px minmax(0, 1fr); min-height: 490px; padding: 0; overflow: hidden; }.message-tabs { padding: 14px 11px; border-right: 1px solid #edeef2; background: #fbfcfe; }.message-tabs button { width: 100%; display: flex; align-items: center; gap: 9px; margin-bottom: 5px; padding: 12px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; text-align: left; transition: .16s ease; }.message-tabs button:hover { background: #f1f5fc; }.message-tabs button.active { border-color: #dbe7fb; background: var(--brand-soft); }.message-tabs button > div { min-width: 0; flex: 1; }.message-tabs b, .message-tabs small { display: block; }.message-tabs b { color: #555871; font-size: 12px; }.message-tabs small { margin-top: 2px; overflow: hidden; color: #a3a6b5; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.message-tabs button.active b { color: var(--primary-dark); }.message-tabs em { min-width: 18px; padding: 2px 5px; border-radius: 9px; color: #fff; background: #d86473; font-size: 12px; font-style: normal; text-align: center; }
.message-list-panel { min-width: 0; padding: 22px 24px; }.message-list-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 15px; padding-bottom: 16px; border-bottom: 1px solid #eef1f6; }.message-list-head h2 { margin: 0; color: #4c4f69; font-size: 16px; }.message-list-head p { margin: 4px 0 0; color: #9c9fad; font-size: 12px; }.message-list-tip { color: #aaadbb; font-size: 12px; }.message-loading, .message-empty { display: flex; align-items: center; justify-content: center; min-height: 330px; color: #9da1b1; font-size: 12px; }.message-loading { gap: 8px; }.message-empty { flex-direction: column; }.message-empty > span { width: 50px; height: 50px; display: inline-flex; align-items: center; justify-content: center; margin-bottom: 9px; border-radius: 16px; color: var(--primary); background: var(--brand-soft); font-size: 24px; }.message-empty b { color: #70738a; font-size: 12px; }.message-empty p { margin: 4px 0 0; color: #a4a7b6; font-size: 12px; }
.message-list { display: flex; flex-direction: column; }.message-card { width: 100%; display: flex; align-items: center; gap: 13px; padding: 16px 4px; border: 0; border-bottom: 1px solid #f1f0f5; background: #fff; text-align: left; transition: background .16s ease, transform .16s ease; }.message-card:hover { background: #fbfdff; transform: translateX(2px); }.message-card.is-unread { background: linear-gradient(90deg, var(--brand-soft), #fff); }.message-card.is-todo .message-card-icon { color: #c67546; background: #fef0e4; }.message-card:not(.is-todo) .message-card-icon { color: #4186c5; background: #e6f3ff; }.message-card-main { min-width: 0; flex: 1; }.message-card-main > div { display: flex; align-items: center; gap: 6px; min-width: 0; }.message-card-main b { min-width: 0; overflow: hidden; color: #535670; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }.message-card-main em, .message-card-main i { flex: 0 0 auto; padding: 2px 6px; border-radius: 8px; color: #b96e43; background: #fef0e4; font-size: 12px; font-style: normal; }.message-card-main i { color: var(--primary); background: var(--brand-soft); }.message-card-main p { display: -webkit-box; overflow: hidden; margin: 4px 0; color: #9296a7; font-size: 12px; line-height: 1.6; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }.message-card-main small { color: #b0b3bf; font-size: 12px; }.message-card-arrow { color: #b3b5c0; font-size: 23px; }.message-pagination { display: flex; align-items: center; justify-content: flex-end; gap: 11px; margin-top: 18px; color: #9b9eaf; font-size: 12px; }.message-pagination button { padding: 6px 10px; border: 1px solid #e7e6ef; border-radius: 6px; color: #66608f; background: #fff; font-size: 12px; }.message-pagination button:disabled { cursor: not-allowed; opacity: .45; }

.message-detail-mask { z-index: 65; }.message-detail-modal { width: min(680px, 100%); padding: 29px 31px 25px; }.message-detail-type { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-right: 30px; }.message-detail-type span { padding: 4px 8px; border-radius: 10px; color: #4187c7; background: #e6f3ff; font-size: 12px; font-weight: 700; }.message-detail-type span.todo { color: #b96e43; background: #fef0e5; }.message-detail-type small { color: #a3a6b3; font-size: 12px; }.message-detail-modal h2 { margin: 13px 0 14px; padding-right: 20px; font-size: 19px; line-height: 1.45; }.message-detail-content { min-height: 110px; max-height: min(380px, calc(100vh - 360px)); overflow: auto; padding: 15px 16px; border: 1px solid #eef1f6; border-radius: 10px; color: #696d81; background: #fbfcfe; font-size: 12px; line-height: 1.9; white-space: pre-wrap; word-break: break-word; }.message-detail-todo { display: flex; align-items: center; gap: 11px; margin-top: 18px; padding: 13px 14px; border: 1px solid #efe2d4; border-radius: 11px; background: linear-gradient(105deg, #fff8f2, #fff); }.message-detail-todo-icon { width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 31px; border-radius: 10px; color: #bd7044; background: #ffe9d8; font-size: 16px; font-weight: 800; }.message-detail-todo div { min-width: 0; flex: 1; }.message-detail-todo b, .message-detail-todo small { display: block; }.message-detail-todo b { color: #5b5e74; font-size: 12px; }.message-detail-todo small { margin-top: 3px; color: #9598a7; font-size: 12px; line-height: 1.5; }.message-detail-todo .primary-btn, .message-detail-todo .outline-btn { flex: 0 0 auto; padding: 8px 12px; font-size: 12px; }.message-detail-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 18px; padding-top: 14px; border-top: 1px solid #eef1f6; color: #a0a3b2; font-size: 12px; }

.todo-workspace { padding: 0; overflow: hidden; }.todo-workspace-head { display: flex; align-items: center; gap: 12px; padding: 20px 23px; border-bottom: 1px solid #f0e6dc; background: linear-gradient(115deg, #fff6ee, #fff); }.todo-workspace-icon, .todo-profile-banner > span { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 36px; border-radius: 11px; color: #b86c42; background: #ffe8d8; font-size: 18px; font-weight: 800; }.todo-workspace-head > div { min-width: 0; flex: 1; }.todo-workspace-head p, .todo-workspace-head h2, .todo-workspace-head small { display: block; }.todo-workspace-head p { margin: 0; color: #b77752; font-size: 12px; font-weight: 700; }.todo-workspace-head h2 { margin: 3px 0; color: #55586e; font-size: 16px; }.todo-workspace-head small { color: #9b9eab; font-size: 12px; }.todo-workspace-head .text-btn { color: #9c6e55; white-space: nowrap; }.todo-workspace > .material-inline-state { margin: 20px 23px; }.todo-material-card { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto; align-items: center; gap: 14px; margin: 20px 23px 23px; padding: 19px; border: 1px solid #ebe8f0; border-radius: 12px; background: #fff; }.todo-material-card.is-uploaded { border-color: #d9e8dd; background: #fcfffd; }.todo-material-card .material-card-head { margin: 0; }.todo-material-card .material-icon { width: 44px; height: 44px; font-size: 15px; }.todo-material-card .required-mark, .todo-material-card .uploaded-mark { display: none; }.todo-material-card-main h3 { margin: 0; color: #555871; font-size: 13px; }.todo-material-card-main p { margin: 4px 0 8px; color: #9699a9; font-size: 12px; }.todo-material-card-actions { display: flex; align-items: center; gap: 11px; }.todo-material-card-actions .text-btn { color: #8b7fba; font-size: 12px; }.todo-material-card-actions .primary-btn { padding: 9px 13px; font-size: 12px; }.todo-profile-banner { display: flex; align-items: center; gap: 11px; margin: -5px 0 18px; padding: 12px 15px; border: 1px solid #f0dfd2; border-radius: 11px; background: #fffaf6; }.todo-profile-banner > span { width: 30px; height: 30px; flex-basis: 30px; border-radius: 9px; font-size: 15px; }.todo-profile-banner div { min-width: 0; flex: 1; }.todo-profile-banner b, .todo-profile-banner small { display: block; }.todo-profile-banner b { color: #6a5f66; font-size: 12px; }.todo-profile-banner small { margin-top: 3px; color: #a19ca0; font-size: 12px; line-height: 1.55; }.todo-profile-banner button { padding: 5px 0; border: 0; color: #9c725b; background: transparent; font-size: 12px; white-space: nowrap; }

/* 表单必填标记与字段标题保持同一基线。 */
.form-grid label.required { position: relative; }
.form-grid label.required::before { width: auto; height: auto; position: absolute; top: -1px; left: -9px; line-height: 1.4; }

@media (max-width: 800px) {
    .notification-popover { right: -47px; }.message-center { grid-template-columns: 1fr; }.message-tabs { display: flex; gap: 7px; overflow: auto; padding: 10px; border-right: 0; border-bottom: 1px solid #edeef2; }.message-tabs button { min-width: 205px; margin: 0; }.message-list-panel { padding: 19px 16px; }.message-overview { grid-template-columns: 1fr; }.todo-profile-banner { align-items: flex-start; }.todo-profile-banner button { margin-left: auto; }.todo-workspace-head { align-items: flex-start; padding: 17px; }.todo-workspace-head .text-btn { display: none; }.todo-material-card { grid-template-columns: 43px minmax(0, 1fr); margin: 16px; padding: 15px; }.todo-material-card-actions { grid-column: 1 / -1; justify-content: space-between; padding-top: 10px; border-top: 1px solid #eef1f6; }.message-detail-modal { padding: 25px 20px 20px; }.message-detail-todo { align-items: flex-start; flex-wrap: wrap; }.message-detail-todo .primary-btn, .message-detail-todo .outline-btn { width: 100%; }
}

@media (max-width: 480px) {
    .notification-popover { width: min(342px, calc(100vw - 24px)); right: -53px; }.message-list-head { align-items: flex-start; flex-direction: column; }.message-list-tip { display: none; }.message-card { align-items: flex-start; }.message-pagination { justify-content: center; }.todo-profile-banner small { line-height: 1.7; }
}

/* 账号密码登录 */
.login-pass-entry { position: fixed; top: 24px; right: 28px; z-index: 40; padding: 9px 18px; border: 1px solid #d7ddf0; border-radius: 999px; color: #454761; background: rgba(255, 255, 255, .92); font-size: 13px; box-shadow: 0 8px 22px rgba(32, 73, 145, .1); transition: all .18s ease; }
.login-pass-entry:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
.login-home-entry { position: fixed; top: 24px; left: 28px; z-index: 40; display: inline-flex; align-items: center; gap: 6px; padding: 9px 18px; border: 1px solid #d7ddf0; border-radius: 999px; color: #454761; background: rgba(255, 255, 255, .92); font-size: 13px; text-decoration: none; box-shadow: 0 8px 22px rgba(32, 73, 145, .1); transition: all .18s ease; }
.login-home-entry i { font-style: normal; font-size: 14px; line-height: 1; transition: transform .18s ease; }
.login-home-entry:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-1px); }
.login-home-entry:hover i { transform: translateX(-3px); }
.pass-modal { width: min(400px, 100%); }
.pass-form { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; text-align: left; }
.pass-form label { display: block; color: #383a59; font-size: 13px; font-weight: 600; }
.pass-form input { width: 100%; margin-top: 6px; padding: 11px 14px; border: 1px solid #dfe3ee; border-radius: 10px; color: var(--ink); background: #fff; font-size: 14px; outline: none; box-sizing: border-box; transition: border-color .18s ease; }
.pass-form input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36, 107, 253, .12); }
.pass-captcha-row { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.pass-captcha-row input { flex: 1; margin-top: 0; }
.pass-captcha-img { width: 112px; height: 42px; flex: 0 0 112px; display: inline-flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #dfe3ee; border-radius: 8px; background: #f4f6fb; font-size: 12px; color: #9b9fb0; cursor: pointer; }
.pass-modal-error { margin: 12px 0 0; color: #e02020; font-size: 12px; text-align: left; }
.pass-modal-footer { display: flex; justify-content: flex-end; gap: 10px; margin-top: 20px; }

@media (max-width: 560px) {
    .login-pass-entry { top: 14px; right: 14px; }
    .login-home-entry { top: 14px; left: 14px; padding: 8px 14px; font-size: 12px; }
}

/* 智能选校（/uapply/smart-selection） */
.smart-view .eyebrow, .smart-direction-modal .modal-eyebrow { font-size: 12px; }
.smart-panel { padding: 26px 30px 30px; overflow: hidden; }
.smart-steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 30px; }
.smart-step { position: relative; display: flex; align-items: center; gap: 12px; min-width: 0; padding: 15px 18px; border: 1px solid #e3e8f1; border-radius: 12px; background: #f8fafc; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease; }
.smart-step-no { width: 30px; height: 30px; flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #8b95a7; background: #e9edf4; font-size: 12px; font-weight: 700; }
.smart-step b { display: block; color: #5c607a; font-size: 13px; line-height: 1.4; }
.smart-step small { display: block; margin-top: 2px; color: var(--muted-light); font-size: 12px; line-height: 1.4; }
.smart-step.is-active { border-color: #a9c8ff; background: linear-gradient(135deg, #f5f9ff, #edf4ff); box-shadow: 0 7px 20px rgba(36, 107, 253, .08); }
.smart-step.is-active .smart-step-no { color: #fff; background: var(--primary); box-shadow: 0 4px 10px rgba(36, 107, 253, .24); }
.smart-step.is-active b { color: var(--ink); }
.smart-step.is-done { border-color: #cfe7dc; background: #f5fbf8; }
.smart-step.is-done .smart-step-no { color: #fff; background: var(--green); }
.smart-form { min-width: 0; }
.smart-section-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.smart-section-head h2 { margin: 3px 0 6px; color: var(--ink); font-size: 20px; line-height: 1.35; }
.smart-section-head p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.smart-section-kicker { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .14em; }
.smart-required-badge { flex: 0 0 auto; padding: 4px 9px; border-radius: 999px; color: #b45309; background: #fff7ed; font-size: 12px; font-weight: 600; }
.smart-profile-prefill { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: -8px 0 20px; padding: 13px 15px; border: 1px solid #cfe3da; border-radius: 11px; background: #f4fbf7; }
.smart-profile-prefill-copy { min-width: 0; display: flex; align-items: flex-start; gap: 10px; }
.smart-profile-prefill-copy > span { width: 23px; height: 23px; display: inline-flex; flex: 0 0 23px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #27a46d; font-size: 12px; font-weight: 700; }
.smart-profile-prefill-copy b { display: block; color: #315746; font-size: 13px; }
.smart-profile-prefill-copy p { margin: 3px 0 0; color: #637b70; font-size: 12px; line-height: 1.55; }
.smart-profile-prefill > .el-select { width: min(330px, 42%); flex: 0 0 auto; }
.smart-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.smart-form .smart-form-grid + .smart-form-grid { margin-top: 22px; }
.smart-basic-layout { display: grid; grid-template-columns: minmax(460px, 680px) minmax(250px, 1fr); align-items: start; gap: 24px; }
.smart-basic-main { min-width: 0; padding: 22px; border: 1px solid #e5eaf2; border-radius: 14px; background: #fff; box-shadow: 0 8px 26px rgba(30, 64, 175, .045); }
.smart-basic-fields { grid-template-columns: minmax(0, 1fr); }
.smart-field { position: relative; }
.smart-field > label { display: block; margin: 0 0 10px; color: #5c607a; font-size: 12px; font-weight: 600; }
.smart-basic-fields .smart-field > label { display: flex; align-items: center; gap: 8px; color: #465166; font-size: 12px; }
.smart-basic-fields .smart-field > label > span { width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; border-radius: 6px; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 700; }
.smart-field > input, .smart-field > select { width: 100%; padding: 10px 11px; border: 1px solid #dde2ec; border-radius: 7px; outline: none; color: #404361; background: #fff; font-size: 13px; }
.smart-field > input:focus, .smart-field > select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,107,253,.12); }
.smart-field .search-results { position: absolute; z-index: 30; left: 0; right: 0; top: calc(100% - 18px); }
.smart-field select + select, .smart-field select + input { margin-top: 12px; }
.smart-field .smart-stack-select { margin-top: 12px; }
.smart-score-preview { margin-top: 10px; color: var(--primary); font-size: 12px; }
.smart-form-tip { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding: 10px 13px; border: 1px solid #dce9ff; border-radius: 9px; color: #5f6f87; background: #f5f9ff; font-size: 12px; }
.smart-form-tip > span { width: 18px; height: 18px; display: inline-flex; flex: 0 0 18px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #7aa7ef; font-size: 12px; font-weight: 700; }
.smart-basic-aside { min-width: 0; padding: 21px 20px; border: 1px solid #dce7f8; border-radius: 14px; background: linear-gradient(145deg, #f7faff, #fbfdff); }
.smart-basic-progress-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.smart-basic-progress-head span, .smart-basic-progress-head b { display: block; }
.smart-basic-progress-head span { color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.smart-basic-progress-head b { margin-top: 5px; color: #344054; font-size: 13px; }
.smart-basic-progress-head strong { color: var(--primary); font-size: 20px; line-height: 1; }
.smart-basic-progress-track { height: 5px; margin: 16px 0 20px; overflow: hidden; border-radius: 999px; background: #e6edf8; }
.smart-basic-progress-track > i { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #246bfd, #66a1ff); transition: width .2s ease; }
.smart-basic-checks { display: grid; gap: 16px; margin: 0; padding: 0; list-style: none; }
.smart-basic-checks li { display: flex; align-items: flex-start; gap: 11px; color: #98a2b3; }
.smart-basic-checks li > i { width: 25px; height: 25px; display: inline-flex; flex: 0 0 25px; align-items: center; justify-content: center; border: 1px solid #dbe2ec; border-radius: 50%; background: #fff; color: #98a2b3; font-size: 12px; font-style: normal; font-weight: 700; }
.smart-basic-checks li > div { min-width: 0; padding-top: 1px; }
.smart-basic-checks b, .smart-basic-checks small { display: block; }
.smart-basic-checks b { color: #667085; font-size: 12px; }
.smart-basic-checks small { margin-top: 3px; color: #98a2b3; font-size: 12px; line-height: 1.45; }
.smart-basic-checks li.is-current > i { border-color: var(--primary); color: var(--primary); box-shadow: 0 0 0 3px rgba(36, 107, 253, .08); }
.smart-basic-checks li.is-current b { color: #344054; }
.smart-basic-checks li.is-done > i { border-color: #27a46d; color: #fff; background: #27a46d; }
.smart-basic-checks li.is-done b { color: #3f5f52; }
.smart-basic-note { margin-top: 20px; padding: 13px 14px; border-radius: 10px; background: rgba(255, 255, 255, .82); }
.smart-basic-note b { color: #53627a; font-size: 12px; }
.smart-basic-note p { margin: 5px 0 0; color: #7e899b; font-size: 12px; line-height: 1.65; }
.smart-optional-card { margin-top: 24px; border: 1px solid #e1e6ef; border-radius: 13px; background: #fbfcfe; overflow: hidden; transition: border-color .18s ease, box-shadow .18s ease; }
.smart-optional-card.is-open { border-color: #c9daf8; box-shadow: 0 8px 24px rgba(36, 107, 253, .06); background: #fff; }
.smart-optional-toggle { display: flex; align-items: center; gap: 12px; width: 100%; padding: 16px 18px; border: 0; background: transparent; cursor: pointer; text-align: left; }
.smart-optional-icon { width: 30px; height: 30px; flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--primary); background: var(--primary-soft); font-size: 18px; transition: transform .18s ease; }
.smart-optional-card.is-open .smart-optional-icon { transform: rotate(45deg); }
.smart-optional-title { min-width: 0; flex: 1; }
.smart-optional-title b { display: block; color: var(--ink); font-size: 13px; }
.smart-optional-title em { margin-left: 5px; padding: 2px 6px; border-radius: 999px; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-style: normal; font-weight: 500; }
.smart-optional-title small { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.smart-optional-count { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; color: #047857; background: #ecfdf5; font-size: 12px; }
.smart-optional-arrow { flex: 0 0 auto; color: #7c8799; font-size: 12px; }
.smart-optional-arrow i { margin-left: 4px; vertical-align: middle; }
.smart-optional-body { padding: 4px 18px 20px; border-top: 1px solid #edf0f5; }
.smart-soft-tip { margin: 14px 0 2px; color: var(--muted); font-size: 12px; }
.smart-soft-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
.smart-soft-group { min-width: 0; margin-top: 20px; }
.smart-soft-group > label { display: block; margin-bottom: 8px; color: #5c607a; font-size: 12px; font-weight: 600; }
.smart-chip-row { display: flex; flex-wrap: wrap; gap: 10px; }
.smart-chip { padding: 7px 13px; border: 1px solid var(--line); border-radius: 999px; color: #5c607a; background: #fff; font-size: 12px; transition: all .15s ease; }
.smart-chip:hover { border-color: #cfe0fb; color: var(--primary); }
.smart-chip.active { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); font-weight: 600; }
.smart-chip.is-removable { cursor: pointer; }
.smart-direction-layout { align-items: stretch; }
.smart-direction-main { display: flex; min-height: 100%; flex-direction: column; }
.smart-direction-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
.smart-direction-card { position: relative; min-width: 0; padding: 0 0 22px; border: 0; border-radius: 0; background: #fff; }
.smart-direction-card + .smart-direction-card { padding-top: 22px; border-top: 1px solid #edf0f5; }
.smart-direction-card--wide { grid-column: auto; }
.smart-direction-card > label { display: flex; align-items: center; gap: 8px; margin: 0 0 5px; color: #465166; font-size: 13px; font-weight: 600; }
.smart-direction-card > label > span { width: 20px; height: 20px; display: inline-flex; flex: 0 0 20px; align-items: center; justify-content: center; border-radius: 6px; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 700; }
.smart-direction-card > label em { margin-left: 3px; color: var(--muted); font-size: 12px; font-style: normal; font-weight: 400; }
.smart-direction-card > p { margin: 0 0 16px 28px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.smart-direction-main > .smart-form-tip { margin-top: auto; }
.smart-direction-aside .smart-basic-note { margin-top: 22px; }
.smart-country-row { min-height: 34px; padding-left: 28px; }
.smart-inline-selects { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.smart-enrollment-selects { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.smart-inline-selects select { min-width: 0; width: 100%; padding: 10px 11px; border: 1px solid #dde2ec; border-radius: 7px; outline: none; color: #404361; background: #fff; font-size: 13px; }
.smart-inline-selects select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,107,253,.12); }
.smart-inline-selects select:disabled { background: #f5f7fa; color: #b3b8c5; }
.smart-direction-picker .outline-btn { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; padding: 0 20px; height: 38px; line-height: 38px; }
.smart-inline-selects .el-select { width: 100%; }
.smart-picks-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; }
.smart-direction-entry {
    display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 82px;
    padding: 16px 18px; border: 1px dashed #cbd6e7; border-radius: 11px;
    background: #fff; transition: border-color .18s ease, background .18s ease, box-shadow .18s ease;
}
.smart-direction-entry:hover, .smart-direction-entry.has-selection { border-color: #a9c4f4; background: #f8fbff; }
.smart-direction-entry.has-selection { box-shadow: inset 3px 0 0 var(--primary); }
.smart-direction-entry > div { min-width: 0; display: flex; align-items: center; gap: 12px; }
.smart-direction-entry-icon {
    width: 38px; height: 38px; display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center;
    border-radius: 11px; color: var(--primary); background: var(--primary-soft); font-size: 22px; line-height: 1;
}
.smart-direction-entry b, .smart-direction-entry small { display: block; }
.smart-direction-entry b { color: #344054; font-size: 13px; }
.smart-direction-entry small { margin-top: 4px; color: #7b8497; font-size: 12px; line-height: 1.5; }
.smart-direction-entry .primary-btn { flex: 0 0 auto; min-width: 164px; }
.smart-picks-row .smart-chip.is-removable { display: inline-flex; align-items: center; gap: 7px; padding: 6px 8px 6px 11px; cursor: default; }
.smart-picks-row .smart-chip.is-removable > span { padding-right: 7px; border-right: 1px solid #c9dcff; color: #6580aa; font-size: 12px; font-weight: 500; }
.smart-picks-row .smart-chip.is-removable > button {
    width: 22px; height: 22px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0; border: 0; border-radius: 50%; color: #6283bb; background: transparent; font-size: 16px; cursor: pointer;
}
.smart-picks-row .smart-chip.is-removable > button:hover { color: #fff; background: var(--primary); }

.smart-profile-sync-mask { z-index: 1080; padding: 24px; }
.modal-card.smart-profile-sync-modal { width: min(720px, 100%); padding: 0; overflow: hidden; border: 0; border-radius: 18px; }
.smart-profile-sync-head { display: flex; align-items: flex-start; gap: 14px; padding: 26px 28px 21px; border-bottom: 1px solid #e8edf5; background: linear-gradient(135deg, #fff8ed 0%, #fff 72%); }
.smart-profile-sync-icon { width: 38px; height: 38px; display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; border-radius: 11px; color: #b76a09; background: #ffebc9; font-size: 20px; font-weight: 800; }
.smart-profile-sync-head > div { min-width: 0; }
.smart-profile-sync-head h2 { margin: 4px 0 5px; color: #283449; font-size: 21px; }
.smart-profile-sync-head p { margin: 0; color: #707c8f; font-size: 12px; line-height: 1.65; }
.smart-profile-sync-target { padding: 18px 28px 0; }
.smart-profile-sync-target label { display: block; margin-bottom: 8px; color: #4b5568; font-size: 12px; font-weight: 700; }
.smart-profile-sync-target .el-select { width: 100%; }
.smart-profile-sync-diff { margin: 20px 28px 0; overflow: hidden; border: 1px solid #e2e8f1; border-radius: 12px; }
.smart-profile-sync-diff-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 11px 14px; background: #f7f9fc; }
.smart-profile-sync-diff-head b { color: #3d485c; font-size: 12px; }
.smart-profile-sync-diff-head span { color: #8a94a6; font-size: 12px; }
.smart-profile-sync-diff-row { display: grid; grid-template-columns: 82px minmax(0, 1fr) 22px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 48px; padding: 9px 14px; border-top: 1px solid #edf0f5; }
.smart-profile-sync-diff-row b { color: #667085; font-size: 12px; }
.smart-profile-sync-diff-row span { min-width: 0; overflow: hidden; color: #7d8798; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.smart-profile-sync-diff-row i { color: #a6afbd; font-size: 14px; font-style: normal; text-align: center; }
.smart-profile-sync-diff-row strong { min-width: 0; overflow: hidden; color: #245fc7; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.smart-profile-sync-create { margin: 20px 28px 0; padding: 13px 15px; border: 1px solid #d9e6f9; border-radius: 10px; color: #52667f; background: #f5f9ff; font-size: 12px; line-height: 1.65; }
.smart-profile-sync-warning { margin: 14px 28px 0; padding: 13px 15px; border-radius: 10px; }
.smart-profile-sync-warning b { display: block; font-size: 12px; }
.smart-profile-sync-warning p { margin: 4px 0 0; font-size: 12px; line-height: 1.65; }
.smart-profile-sync-warning.is-review { border: 1px solid #f5d9a8; color: #76501d; background: #fff9ef; }
.smart-profile-sync-warning.is-submitted { border: 1px solid #d9e5f6; color: #53667f; background: #f6f9fd; }
.smart-profile-sync-footer { margin: 22px 0 0; padding: 17px 28px 22px; }
.smart-profile-sync-footer .primary-btn { min-width: 206px; }

.smart-direction-modal-mask { z-index: 1060; padding: 24px; }
.modal-card.smart-direction-modal {
    width: min(920px, 100%); height: min(860px, calc(100vh - 48px)); max-height: calc(100vh - 48px);
    display: flex; flex-direction: column; padding: 0; overflow: hidden;
}
.smart-direction-modal > .modal-close { z-index: 3; top: 21px; right: 24px; }
.smart-direction-modal-head {
    display: flex; align-items: center; justify-content: space-between; gap: 20px;
    padding: 25px 72px 21px 28px; border-bottom: 1px solid #e8edf5;
    background: linear-gradient(135deg, #f5f9ff 0%, #fff 72%);
}
.smart-direction-modal-head h2 { margin: 3px 0 5px; color: #263248; font-size: 21px; }
.smart-direction-modal-head p { margin: 0; color: #778196; font-size: 12px; line-height: 1.6; }
.smart-direction-modal-count {
    min-width: 62px; padding: 10px 11px; border: 1px solid #d8e6fb; border-radius: 12px;
    color: var(--primary); background: #fff; font-size: 24px; font-weight: 700; line-height: 1; text-align: center;
}
.smart-direction-modal-count small { margin-left: 2px; color: #8d9bb2; font-size: 12px; font-weight: 500; }
.smart-direction-modal-tabs {
    display: flex; gap: 30px; overflow-x: auto; overflow-y: hidden; padding: 0 28px; border-bottom: 1px solid #e7ebf2;
    background: #fff; scrollbar-width: thin;
}
.smart-direction-modal-head, .smart-direction-modal-tabs, .smart-direction-selected, .smart-direction-modal-footer { flex: 0 0 auto; }
.smart-direction-modal-tabs > button {
    position: relative; display: inline-flex; flex: 0 0 auto; align-items: center; gap: 7px; min-height: 56px; padding: 0 2px;
    border: 0; border-radius: 0; color: #667085; background: transparent;
    font-size: 13px; font-weight: 600; cursor: pointer; transition: color .15s ease;
}
.smart-direction-modal-tabs > button::after {
    content: ''; height: 3px; position: absolute; right: 0; bottom: -1px; left: 0;
    border-radius: 3px 3px 0 0; background: var(--primary); transform: scaleX(0); transition: transform .16s ease;
}
.smart-direction-modal-tabs > button:hover { color: var(--primary); }
.smart-direction-modal-tabs > button.is-active { color: var(--primary); }
.smart-direction-modal-tabs > button.is-active::after { transform: scaleX(1); }
.smart-direction-modal-tabs > button em {
    min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center;
    padding: 0 6px; border-radius: 999px; color: #667085; background: #eef1f5; font-size: 12px; font-style: normal;
}
.smart-direction-modal-tabs > button.is-active em { color: #fff; background: var(--primary); }
.smart-direction-modal-categories { min-height: 0; flex: 1 1 auto; overflow-y: auto; padding: 20px 28px 24px; background: #f8fafc; }
.smart-direction-modal-section-title { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; margin-bottom: 13px; }
.smart-direction-modal-section-title > div { min-width: 0; }
.smart-direction-modal-section-title b { color: #344054; font-size: 14px; }
.smart-direction-modal-section-title span { margin-left: 9px; color: #8b94a5; font-size: 12px; }
.smart-direction-modal-section-title small { color: #7b8799; font-size: 12px; white-space: nowrap; }
.smart-direction-category-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.smart-direction-category-grid > button {
    min-width: 0; min-height: 68px; display: flex; align-items: center; gap: 11px; padding: 11px 12px;
    border: 1px solid #e0e6ef; border-radius: 10px; color: #526078; background: #fff;
    text-align: left; cursor: pointer; transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}
.smart-direction-category-grid > button:hover { border-color: #a9c4f4; box-shadow: 0 7px 18px rgba(37, 75, 137, .08); transform: translateY(-1px); }
.smart-direction-category-grid > button.is-selected { border-color: var(--primary); background: #f3f7ff; box-shadow: inset 0 0 0 1px rgba(36,107,253,.12); }
.smart-direction-category-grid > button.is-limit { opacity: .52; }
.smart-direction-category-check {
    width: 28px; height: 28px; display: inline-flex; flex: 0 0 28px; align-items: center; justify-content: center;
    border: 1px solid #d7e1f0; border-radius: 8px; color: #8090a7; background: #f7f9fc; font-size: 15px; font-weight: 700;
}
.smart-direction-category-grid > button.is-selected .smart-direction-category-check { border-color: var(--primary); color: #fff; background: var(--primary); }
.smart-direction-category-grid > button > span:last-child { min-width: 0; }
.smart-direction-category-grid b, .smart-direction-category-grid small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smart-direction-category-grid b { color: #46536a; font-size: 12px; }
.smart-direction-category-grid small { margin-top: 4px; color: #929bac; font-size: 12px; font-weight: 400; }
.smart-direction-category-grid > button.is-selected b { color: var(--primary); }
.smart-direction-category-empty, .smart-direction-selected-empty {
    display: flex; min-height: 90px; align-items: center; justify-content: center;
    border: 1px dashed #dce3ed; border-radius: 10px; color: #8b94a5; background: #fff; font-size: 12px;
}
.smart-direction-modal-empty { display: flex; flex: 1 1 auto; align-items: center; gap: 13px; min-height: 0; overflow-y: auto; padding: 28px; color: #68758a; }
.smart-direction-modal-empty > span {
    width: 36px; height: 36px; display: inline-flex; flex: 0 0 36px; align-items: center; justify-content: center;
    border-radius: 50%; color: #b56d00; background: #fff0d6; font-size: 16px; font-weight: 700;
}
.smart-direction-modal-empty b { display: block; color: #445168; font-size: 13px; }
.smart-direction-modal-empty p { margin: 4px 0 0; font-size: 12px; }
.smart-direction-selected { padding: 17px 28px; border-top: 1px solid #e8edf4; background: #fff; }
.smart-direction-selected-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; }
.smart-direction-selected-head b { color: #3c485d; font-size: 13px; }
.smart-direction-selected-head span { color: #8a94a6; font-size: 12px; }
.smart-direction-selected-list { display: flex; flex-wrap: wrap; gap: 8px; }
.smart-direction-selected-list > span {
    display: inline-flex; align-items: center; gap: 7px; max-width: 100%; padding: 6px 7px 6px 10px;
    border: 1px solid #ccdcf7; border-radius: 9px; background: #f5f8ff;
}
.smart-direction-selected-list small { padding-right: 7px; border-right: 1px solid #d5e1f4; color: #7183a0; font-size: 12px; }
.smart-direction-selected-list b { overflow: hidden; color: #496da8; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.smart-direction-selected-list button {
    width: 21px; height: 21px; display: inline-flex; flex: 0 0 21px; align-items: center; justify-content: center;
    padding: 0; border: 0; border-radius: 50%; color: #6b83aa; background: transparent; font-size: 15px; cursor: pointer;
}
.smart-direction-selected-list button:hover { color: #fff; background: var(--primary); }
.smart-direction-selected-empty { min-height: 45px; }
.smart-direction-modal-footer { align-items: center; margin: 0; padding: 14px 28px 18px; border-top: 1px solid #edf0f4; }
.smart-direction-modal-footer > span { flex: 1; color: #8a94a6; font-size: 12px; }
.smart-direction-modal-footer .primary-btn { min-width: 108px; }
.smart-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.smart-generating {
    min-height: 480px; display: grid; grid-template-columns: minmax(240px, .82fr) minmax(360px, 1.18fr); align-items: center; gap: 60px;
    position: relative; overflow: hidden; padding: 58px 8%; border: 1px solid #dbe7fb; border-radius: 22px;
    background: radial-gradient(circle at 20% 36%, rgba(79, 132, 255, .16), transparent 27%), radial-gradient(circle at 78% 65%, rgba(108, 87, 226, .13), transparent 30%), linear-gradient(145deg, #f7faff 0%, #fff 46%, #f8f7ff 100%);
    box-shadow: 0 22px 54px rgba(44, 76, 139, .1); text-align: left;
}
.smart-generating::before {
    width: 420px; height: 420px; position: absolute; right: -170px; bottom: -230px; border-radius: 50%;
    border: 1px solid rgba(71, 112, 220, .12); box-shadow: 0 0 0 42px rgba(71, 112, 220, .025), 0 0 0 84px rgba(71, 112, 220, .018); content: '';
}
.smart-ai-visual { width: 270px; height: 270px; position: relative; justify-self: center; }
.smart-ai-orbit { position: absolute; border: 1px solid rgba(62, 108, 224, .22); border-radius: 50%; }
.smart-ai-orbit--outer { inset: 4px; border-style: dashed; animation: smart-ai-rotate 18s linear infinite; }
.smart-ai-orbit--inner { inset: 43px; border-color: rgba(104, 82, 219, .28); animation: smart-ai-rotate 11s linear infinite reverse; }
.smart-ai-orbit::before, .smart-ai-orbit::after { width: 8px; height: 8px; position: absolute; border-radius: 50%; background: #4b80f4; box-shadow: 0 0 0 6px rgba(75, 128, 244, .1), 0 0 18px rgba(75, 128, 244, .55); content: ''; }
.smart-ai-orbit::before { top: 15%; left: 9%; }
.smart-ai-orbit::after { right: 3%; bottom: 30%; background: #735fe3; box-shadow: 0 0 0 6px rgba(115, 95, 227, .1), 0 0 18px rgba(115, 95, 227, .5); }
.smart-ai-core {
    width: 112px; height: 112px; display: flex; align-items: center; justify-content: center; position: absolute; top: 50%; left: 50%;
    border: 1px solid rgba(255,255,255,.78); border-radius: 31px; color: #fff; background: linear-gradient(145deg, #377cf4 0%, #635bdd 100%);
    box-shadow: 0 22px 42px rgba(58, 91, 198, .28), inset 0 1px 0 rgba(255,255,255,.32); transform: translate(-50%, -50%) rotate(45deg); animation: smart-ai-core 2.8s ease-in-out infinite;
}
.smart-ai-core::before { position: absolute; inset: 9px; border: 1px solid rgba(255,255,255,.3); border-radius: 24px; content: ''; }
.smart-ai-core i { position: relative; z-index: 1; font-size: 30px; font-style: normal; font-weight: 800; letter-spacing: -.04em; transform: rotate(-45deg); }
.smart-ai-core em { width: 8px; height: 8px; position: absolute; right: 15px; top: 15px; border-radius: 50%; background: #bff6ff; box-shadow: 0 0 14px #bff6ff; }
.smart-ai-node { width: 36px; height: 36px; position: absolute; z-index: 2; border: 7px solid #fff; border-radius: 50%; background: #5d8ff5; box-shadow: 0 8px 18px rgba(49, 79, 145, .18); }
.smart-ai-node::after { width: 6px; height: 6px; position: absolute; top: 8px; left: 8px; border-radius: 50%; background: #fff; content: ''; }
.smart-ai-node--profile { top: 22px; left: 42px; animation: smart-ai-float 2.2s ease-in-out infinite; }
.smart-ai-node--school { top: 91px; right: 2px; background: #7766e7; animation: smart-ai-float 2.2s .7s ease-in-out infinite; }
.smart-ai-node--plan { bottom: 12px; left: 76px; background: #27b38a; animation: smart-ai-float 2.2s 1.4s ease-in-out infinite; }
.smart-ai-content { min-width: 0; position: relative; z-index: 1; }
.smart-ai-kicker { display: inline-flex; align-items: center; gap: 8px; color: #356fd7; font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.smart-ai-kicker > i { width: 8px; height: 8px; border-radius: 50%; background: #4a82f1; box-shadow: 0 0 0 5px rgba(74, 130, 241, .12); animation: smart-ai-pulse 1.6s ease-in-out infinite; }
.smart-ai-content h2 { margin: 15px 0 9px; color: #24334c; font-size: 24px; line-height: 1.4; }
.smart-ai-content > p { margin: 0; color: #718097; font-size: 13px; line-height: 1.7; }
.smart-ai-stages { display: grid; gap: 8px; margin-top: 24px; }
.smart-ai-stages > span { display: grid; grid-template-columns: 34px minmax(0, 1fr); align-items: center; gap: 11px; position: relative; padding: 10px 13px; overflow: hidden; border: 1px solid #e2e9f5; border-radius: 11px; color: #78869b; background: rgba(255,255,255,.74); }
.smart-ai-stages > span::after { width: 38%; height: 100%; position: absolute; top: 0; left: -42%; background: linear-gradient(90deg, transparent, rgba(77, 129, 241, .13), transparent); content: ''; animation: smart-ai-scan 3s ease-in-out infinite; }
.smart-ai-stages > span:nth-child(2)::after { animation-delay: 1s; }
.smart-ai-stages > span:nth-child(3)::after { animation-delay: 2s; }
.smart-ai-stages i { width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: #4076dc; background: #edf3ff; font-size: 12px; font-style: normal; font-weight: 800; }
.smart-ai-stages b { color: #4b5870; font-size: 13px; font-weight: 650; }
.smart-ai-content > small { display: flex; align-items: center; gap: 8px; margin-top: 18px; color: var(--muted); font-size: 12px; line-height: 1.6; }
.smart-ai-content > small i { width: 5px; height: 5px; flex: 0 0 5px; border-radius: 50%; background: #8ca4ca; }
@keyframes smart-ai-rotate { to { transform: rotate(360deg); } }
@keyframes smart-ai-core { 0%, 100% { box-shadow: 0 22px 42px rgba(58, 91, 198, .25), inset 0 1px 0 rgba(255,255,255,.32); } 50% { box-shadow: 0 25px 52px rgba(58, 91, 198, .4), 0 0 0 12px rgba(79, 119, 229, .07), inset 0 1px 0 rgba(255,255,255,.32); } }
@keyframes smart-ai-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@keyframes smart-ai-pulse { 0%, 100% { opacity: .55; transform: scale(.86); } 50% { opacity: 1; transform: scale(1); } }
@keyframes smart-ai-scan { 0% { left: -42%; } 55%, 100% { left: 112%; } }
.smart-panel.smart-panel--result { padding: 0; overflow: visible; border: 0; border-radius: 0; background: transparent; box-shadow: none; }
.smart-result-workspace { display: grid; grid-template-columns: minmax(0, 1fr) minmax(320px, 360px); gap: 24px; align-items: start; }
.smart-result-primary {
    min-width: 0; padding: 26px 30px 30px;
    border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow-sm);
}
.smart-result-primary .smart-major-list { grid-template-columns: minmax(0, 1fr); }
.smart-result-primary .smart-major-card { min-height: 0; }
.smart-result-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 14px; flex-wrap: wrap; margin-bottom: 15px; }
.smart-result-intro b { display: block; color: var(--ink); font-size: 16px; }
.smart-result-intro span { display: block; margin-top: 4px; color: var(--muted); font-size: 12px; }
.smart-gradient-row { display: flex; gap: 8px; }
.smart-gradient-card { min-width: 72px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 9px; background: #fbfcff; text-align: center; }
.smart-gradient-card b { display: block; color: var(--ink); font-size: 17px; line-height: 1.2; }
.smart-gradient-card small { color: var(--muted); font-size: 12px; }
.smart-gradient-card.is-reach b { color: var(--orange); }
.smart-gradient-card.is-target b { color: var(--primary); }
.smart-gradient-card.is-prudent b { color: var(--green); }
.smart-result-actions { display: flex; align-items: center; gap: 10px; }
.smart-major-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.smart-major-card { position: relative; min-width: 0; min-height: 430px; overflow: hidden; display: flex; flex-direction: column; padding: 24px 22px 22px; border: 1px solid #dfe7f2; border-radius: 20px; background: linear-gradient(180deg, #fff 0%, #fcfdff 100%); box-shadow: 0 14px 34px rgba(43, 63, 97, .08); transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.smart-major-card::before { content: ''; height: 4px; position: absolute; top: 0; right: 0; left: 0; background: #aeb7c5; }
.smart-major-card.is-reach::before { background: linear-gradient(90deg, #ffb675, #ef8c42); }
.smart-major-card.is-target::before { background: linear-gradient(90deg, #75a9ff, #397df4); }
.smart-major-card.is-prudent::before { background: linear-gradient(90deg, #72d7b7, #24ad82); }
.smart-major-card:hover { transform: translateY(-3px); border-color: #c6d6ee; box-shadow: 0 20px 42px rgba(43, 63, 97, .13); }
.smart-major-card.is-selected { border-color: var(--primary); box-shadow: 0 0 0 2px rgba(36,107,253,.13), 0 20px 42px rgba(43, 63, 97, .13); }
.smart-major-card-head { display: flex; align-items: flex-start; gap: 13px; min-width: 0; }
.smart-major-card .school-logo { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 13px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg, #4b89ff, var(--primary)); box-shadow: 0 6px 14px rgba(52, 112, 230, .14); font-weight: 700; font-size: 15px; }
.smart-major-card .school-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.smart-major-school { min-width: 0; flex: 1; padding-top: 2px; }
.smart-major-school h3 { margin: 0; overflow: hidden; color: #26324a; font-size: 14px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.smart-major-school p { display: flex; align-items: center; gap: 7px; margin: 5px 0 0; color: #98a2b3; font-size: 12px; line-height: 1.4; }
.smart-major-school p span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smart-major-school p em { flex: 0 0 auto; padding: 2px 6px; border: 1px solid #dbe6f6; border-radius: 999px; color: #647a9b; background: #f7faff; font-size: 12px; font-style: normal; }
.smart-major-card-controls { display: flex; flex: 0 0 auto; align-items: flex-end; gap: 8px; flex-direction: column; }
.smart-major-check { display: inline-flex; align-items: center; gap: 5px; padding: 5px 8px; border: 1px solid #dce4ef; border-radius: 999px; color: #7b8799; background: #fff; cursor: pointer; font-size: 12px; line-height: 1; }
.smart-major-check:hover, .smart-major-check.is-checked { border-color: var(--primary); color: var(--primary); background: var(--primary-soft); }
.smart-major-check input { width: 12px; height: 12px; margin: 0; accent-color: var(--primary); }
.smart-major-recommend { min-width: 50px; display: inline-flex; align-items: center; justify-content: center; padding: 6px 11px; line-height: 1.1; text-align: center; font-size: 12px; font-weight: 700; }
.smart-major-recommend.is-reach { color: #b96b2c; background: #fff0e3; }
.smart-major-recommend.is-target { color: #1f6fc4; background: #e7f2ff; }
.smart-major-recommend.is-prudent { color: #119b73; background: #e3f7ef; }
.smart-major-recommend.is-off { color: #667085; background: #eef1f5; }
.smart-major-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-top: 22px; }
.smart-major-title-copy { min-width: 0; flex: 1; }
.smart-major-title h4 { margin: 0; color: #1f2b42; font-size: 20px; line-height: 1.38; overflow-wrap: anywhere; }
.smart-major-title p { margin: 6px 0 0; color: #8a95a7; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.smart-major-title .smart-major-recommend { margin-top: 2px; }
.smart-major-reason { min-height: 68px; margin-top: 17px; padding: 12px 14px; border-left: 3px solid var(--primary); border-radius: 9px; background: #f4f7fc; }
.smart-major-card.is-reach .smart-major-reason { border-left-color: #ef984f; background: #fff8f1; }
.smart-major-card.is-prudent .smart-major-reason { border-left-color: #35b78f; background: #f2fbf8; }
.smart-major-reason span { display: block; margin-bottom: 5px; color: #52657f; font-size: 12px; font-weight: 700; }
.smart-major-reason p { margin: 0; color: #68778d; font-size: 12px; line-height: 1.55; }
.smart-major-highlights { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: auto; padding: 19px 0 17px; border-bottom: 1px solid #e9eef5; }
.smart-major-highlights > div { min-width: 0; padding: 0 10px; text-align: center; }
.smart-major-highlights > div + div { border-left: 1px solid #edf1f6; }
.smart-major-highlights b, .smart-major-highlights small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smart-major-highlights b { color: #30405d; font-size: 14px; line-height: 1.35; }
.smart-major-highlights > div:first-child b { color: var(--primary); }
.smart-major-highlights small { margin-top: 5px; color: #a0a8b5; font-size: 12px; }
.smart-major-details {
    display: block; margin: 12px 0 0; padding: 4px 12px;
    border: 0; border-radius: 11px; background: #f8fafc;
}
.smart-major-details > div {
    min-width: 0; display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 12px;
    padding: 9px 0; border: 0; border-radius: 0; background: transparent;
    font-size: 12px; line-height: 1.4;
}
.smart-major-details > div + div { border-top: 1px solid #e5ebf4; }
.smart-major-details dt { color: #98a2b3; font-weight: 500; }
.smart-major-details dd { min-width: 0; margin: 0; color: #40516b; font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.smart-result-primary .smart-major-list { gap: 12px; }
.smart-result-primary .smart-major-card { padding: 0; border-radius: 16px; box-shadow: 0 10px 28px rgba(43, 63, 97, .07); }
.smart-result-primary .smart-major-card .school-logo { width: 42px; height: 42px; flex-basis: 42px; border-radius: 11px; }
.smart-result-primary .smart-major-card-head { align-items: center; gap: 11px; padding: 16px 18px 14px; border-bottom: 1px solid #edf1f6; background: #fbfcfe; }
.smart-result-primary .smart-major-card-controls { align-items: center; gap: 9px; flex-direction: row; }
.smart-result-primary .smart-major-check { background: #fff; }
.smart-result-primary .smart-major-card-body { min-width: 0; display: flex; flex: 1; flex-direction: column; padding: 15px 18px 18px; }
.smart-result-primary .smart-major-title { display: block; margin: 0; }
.smart-result-primary .smart-major-title-row { min-width: 0; display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.smart-result-primary .smart-major-title h4 { font-size: 16px; line-height: 1.35; }
.smart-result-primary .smart-major-title p { margin-top: 3px; line-height: 1.4; }
.smart-result-primary .smart-major-title .smart-major-recommend { flex: 0 0 auto; margin-top: 1px; }
.smart-result-primary .smart-major-card .smart-major-reason {
    min-height: 0; display: block; margin: 13px 0 14px; padding: 11px 0 0;
    border: 0; border-top: 1px solid #e8edf4; border-radius: 0; background: transparent;
}
.smart-result-primary .smart-major-reason span { display: flex; align-items: center; gap: 7px; margin: 0 0 5px; white-space: nowrap; }
.smart-result-primary .smart-major-reason span::before { content: ''; width: 6px; height: 6px; flex: 0 0 6px; border-radius: 50%; background: #397df4; }
.smart-result-primary .smart-major-card.is-reach .smart-major-reason span::before { background: #ef984f; }
.smart-result-primary .smart-major-card.is-prudent .smart-major-reason span::before { background: #35b78f; }
.smart-result-primary .smart-major-reason p { line-height: 1.5; }
.smart-result-primary .smart-major-data { margin-top: auto; padding: 0; overflow: hidden; border: 1px solid #e6ebf2; border-radius: 12px; background: #f8fafc; }
.smart-result-primary .smart-major-highlights { margin: 0; padding: 11px 0 12px; border-bottom: 1px solid #e6ebf2; background: transparent; }
.smart-result-primary .smart-major-highlights > div { padding: 0 8px; }
.smart-result-primary .smart-major-highlights b { margin-top: 4px; color: #30405d; }
.smart-result-primary .smart-major-highlights > div:first-child b { color: #30405d; }
.smart-result-primary .smart-major-highlights small { margin: 0; }
.smart-result-primary .smart-major-details { display: block; margin: 0; padding: 3px 12px; border-radius: 0; background: transparent; }
.smart-result-primary .smart-major-details > div { gap: 12px; padding: 8px 0; }
.smart-result-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 14px; padding: 12px 14px; border: 1px solid #e4eaf3; border-radius: 13px; background: #f8faff; }
.smart-result-footer-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.smart-result-footer-info > span { color: #7d899b; font-size: 12px; white-space: nowrap; }
.smart-result-delete-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border-color: #efc7cb; color: #c34855; background: #fff7f7; }
.smart-result-delete-btn:hover { border-color: #e8aeb4; color: #b52d3b; background: #fff0f1; }
.smart-result-delete-btn:disabled { border-color: #eadcdf; color: #c9a8ad; background: #fbf7f8; }
.smart-result-aside {
    min-height: 0; min-width: 0;
    display: flex; flex-direction: column; gap: 12px;
    padding: 0; border: 0; border-radius: 0; background: transparent; box-shadow: none;
}
.smart-case-panel {
    flex: 0 0 auto; overflow: hidden; border: 1px solid #dfe7f2; border-radius: 18px; background: #fff;
    box-shadow: 0 12px 28px rgba(43, 63, 97, .07);
}
.smart-case-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; padding: 15px 17px 11px; border-bottom: 1px solid #edf1f6; background: linear-gradient(145deg, #f5f9ff 0%, #fff 76%); }
.smart-case-panel-head > div { min-width: 0; }
.smart-case-panel-head span { display: block; margin-bottom: 3px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.smart-case-panel-head h2 { margin: 0; color: #25324a; font-size: 16px; line-height: 1.35; }
.smart-case-panel-head em { flex: 0 0 auto; padding: 4px 7px; border-radius: 999px; color: #927226; background: #fff5d9; font-size: 12px; font-style: normal; }
.smart-case-panel-body { padding: 12px 16px 13px; }
.smart-case-profile { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.smart-case-profile b { min-width: 0; overflow: hidden; color: #35435a; font-size: 12px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.smart-case-profile span { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; color: #16805f; background: #e7f8f2; font-size: 12px; }
.smart-case-panel-body > p { margin: 7px 0 0; color: #8a95a7; font-size: 12px; }
.smart-case-panel-body > strong { display: block; margin-top: 7px; overflow: hidden; color: #27354c; font-size: 13px; font-weight: 650; text-overflow: ellipsis; white-space: nowrap; }
.smart-case-facts { display: flex; gap: 6px; margin-top: 9px; }
.smart-case-facts span { min-width: 0; flex: 1; padding: 5px 4px; border-radius: 6px; color: #697990; background: #f4f7fb; font-size: 12px; text-align: center; }
.smart-case-panel-body > button { width: 100%; margin-top: 10px; padding: 8px 10px; border: 1px solid #d5e3fa; border-radius: 8px; color: var(--primary); background: #f6f9ff; font-size: 12px; font-weight: 600; cursor: pointer; }
.smart-case-panel-body > button:hover { border-color: var(--primary); background: #edf4ff; }
.smart-case-panel-body > .smart-panel-more-btn, .smart-more-panel-foot .smart-panel-more-btn {
    width: 100%; min-height: 38px; padding: 9px 13px; border: 1px solid #246bfd; border-radius: 9px;
    color: #fff; background: linear-gradient(135deg, #397df4 0%, #246bfd 100%);
    box-shadow: 0 7px 16px rgba(36, 107, 253, .2); font-size: 12px; font-weight: 700; cursor: pointer;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease;
}
.smart-case-panel-body > .smart-panel-more-btn:hover, .smart-more-panel-foot .smart-panel-more-btn:hover {
    transform: translateY(-1px); border-color: #1558d6; background: linear-gradient(135deg, #2f72e8 0%, #195bd8 100%);
    box-shadow: 0 9px 20px rgba(36, 107, 253, .28);
}
.smart-case-panel-body > .smart-panel-more-btn:active, .smart-more-panel-foot .smart-panel-more-btn:active { transform: translateY(0); }
.smart-case-panel-body > .smart-panel-more-btn:focus-visible, .smart-more-panel-foot .smart-panel-more-btn:focus-visible { outline: 2px solid rgba(36, 107, 253, .34); outline-offset: 2px; }
.smart-case-offer h3 { margin: 0; overflow: hidden; color: #182e4a; font-size: 16px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.smart-case-offer > p { margin: 3px 0 0; overflow: hidden; color: #607087; font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.smart-case-badges { display: flex; flex-wrap: wrap; align-items: center; gap: 5px; margin-top: 9px; }
.smart-case-badges > strong, .smart-case-badges > span, .smart-case-badges > em, .smart-case-badges > i { min-height: 22px; display: inline-flex; align-items: center; padding: 3px 7px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700; line-height: 1.2; }
.smart-case-badges > strong { color: #0b7653; background: #dff6eb; }
.smart-case-badges > span { border-color: #d6eee3; color: #0a6f4d; background: #edf9f4; }
.smart-case-badges > em { border-color: #d7e6ff; color: var(--primary-dark); background: #edf4ff; }
.smart-case-badges > i { border-color: #e2e6ec; color: #657287; background: #f5f6f8; }
.smart-case-match-reasons { margin: 10px 0 0; padding: 7px 9px; border: 1px solid #d9f0e5; border-radius: 8px; color: #176249; background: #f0faf5; font-size: 12px; line-height: 1.45; }
.smart-case-panel-body > .smart-case-match-reasons { margin: 10px 0 0; color: #176249; }
.smart-case-background-title { display: flex; align-items: center; gap: 8px; margin: 11px 0 7px; color: #516176; font-size: 12px; font-weight: 750; }
.smart-case-panel-body > .smart-case-background-title { margin: 11px 0 7px; color: #516176; }
.smart-case-background-title::after { height: 1px; flex: 1; background: #e7ecf3; content: ''; }
.smart-case-background { display: grid; overflow: hidden; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid #e5ebf3; border-radius: 10px; background: #f8fafc; }
.smart-case-background > span { min-width: 0; min-height: 50px; padding: 7px 9px; overflow: hidden; color: #2d4059; font-size: 12px; line-height: 1.35; overflow-wrap: anywhere; }
.smart-case-background > span:nth-child(odd) { border-right: 1px solid #e5ebf3; }
.smart-case-background > span:nth-child(-n + 2) { border-bottom: 1px solid #e5ebf3; }
.smart-case-background i { display: block; margin-bottom: 3px; color: #8491a3; font-size: 12px; font-style: normal; }
.smart-case-status { min-height: 132px; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; }
.smart-case-status > b { margin-top: 7px; color: #35435a; font-size: 13px; }
.smart-case-status > p { margin: 5px 0 0; color: #8490a2; font-size: 12px; line-height: 1.55; }
.smart-case-status > button, .smart-case-status > a { margin-top: 10px; padding: 7px 13px; border: 1px solid #d5e3fa; border-radius: 8px; color: var(--primary); background: #f6f9ff; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; }
.smart-case-status.is-error > b { color: #b34848; }
.smart-more-panel {
    min-width: 0; min-height: 0; flex: 0 0 auto; overflow: hidden;
    display: grid; grid-template-rows: auto auto auto;
    border: 1px solid #dfe7f2; border-radius: 18px; background: #fff;
    box-shadow: 0 14px 34px rgba(43, 63, 97, .08);
}
.smart-more-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 21px 20px 16px; background: linear-gradient(145deg, #f5f9ff 0%, #fff 76%); }
.smart-more-panel-head > div { min-width: 0; }
.smart-more-panel-eyebrow { display: block; margin-bottom: 5px; color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.smart-more-panel-head h2 { margin: 0; color: #25324a; font-size: 18px; line-height: 1.35; }
.smart-more-panel-head p { margin: 7px 0 0; color: #7b879a; font-size: 12px; line-height: 1.55; }
.smart-more-panel-total {
    min-width: 40px; height: 40px; display: inline-flex; flex: 0 0 auto; align-items: center; justify-content: center;
    padding: 0 9px; border: 1px solid #d9e7fb; border-radius: 11px; color: var(--primary); background: #fff;
    font-size: 16px; font-weight: 700;
}
.smart-more-panel-scroll {
    position: relative; min-height: 0; overflow: visible; padding: 14px;
    background: #f7f9fc;
}
.smart-more-preview-card { padding: 14px; border: 1px solid #e1e7f0; border-radius: 13px; background: #fff; box-shadow: 0 5px 14px rgba(43, 63, 97, .04); }
.smart-more-preview-card + .smart-more-preview-card { margin-top: 10px; }
.smart-more-preview-school { display: flex; align-items: center; gap: 11px; min-width: 0; }
.smart-more-preview-school .school-logo {
    width: 40px; height: 40px; display: inline-flex; flex: 0 0 40px; align-items: center; justify-content: center;
    overflow: hidden; border-radius: 10px; color: #fff; background: linear-gradient(145deg, #4b89ff, var(--primary));
    font-size: 13px; font-weight: 700;
}
.smart-more-preview-school .school-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.smart-more-preview-school > div:last-child { min-width: 0; flex: 1; }
.smart-more-preview-school h3 { margin: 0; overflow: hidden; color: #2e3b52; font-size: 13px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.smart-more-preview-school p { display: flex; align-items: center; gap: 6px; margin: 4px 0 0; color: #929cad; font-size: 12px; line-height: 1.4; }
.smart-more-preview-school p span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smart-more-preview-school p em { flex: 0 0 auto; color: #687c9a; font-size: 12px; font-style: normal; }
.smart-more-preview-school p i { flex: 0 0 auto; padding: 2px 5px; border-radius: 999px; color: #8a6c26; background: #fff5d9; font-size: 12px; font-style: normal; }
.smart-more-preview-major { margin-top: 12px; padding: 11px 12px; border-radius: 9px; background: #f5f8fc; }
.smart-more-preview-major > b, .smart-more-preview-major > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.smart-more-preview-major > b { color: #3d4a61; font-size: 12px; line-height: 1.5; }
.smart-more-preview-major > span { margin-top: 2px; color: #929cad; font-size: 12px; line-height: 1.45; }
.smart-more-preview-major > small { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; color: #8995a8; font-size: 12px; }
.smart-more-preview-major > small em { padding: 3px 7px; border-radius: 999px; color: var(--primary); background: #eaf2ff; font-size: 12px; font-style: normal; font-weight: 600; }
.smart-more-preview-major.is-empty { color: #929cad; font-size: 12px; text-align: center; }
.smart-more-panel-empty { min-height: 210px; display: flex; align-items: center; justify-content: center; flex-direction: column; color: #8b96a8; text-align: center; }
.smart-more-panel-empty > span { margin-bottom: 9px; color: #8fa7cd; font-size: 28px; }
.smart-more-panel-empty b { color: #657288; font-size: 13px; }
.smart-more-panel-empty small { margin-top: 5px; font-size: 12px; }
.smart-more-panel-foot { position: relative; z-index: 2; display: flex; flex: 0 0 auto; align-items: stretch; padding: 14px; border-top: 1px solid #e6ebf2; background: #fff; }
.smart-more-panel-foot .smart-panel-more-btn { margin-top: 0; }
.smart-field .el-select, .smart-field .el-input { width: 100%; }
.smart-field .el-input__inner { border-color: #dde2ec; border-radius: 7px; color: #404361; font-size: 13px; height: 38px; line-height: 38px; }
.smart-field .el-input__inner:focus { border-color: var(--primary); }
.smart-field .el-input__inner::placeholder { color: #a8abb2; }
.smart-chip-row .el-checkbox-button { margin: 0 8px 8px 0; }
.smart-chip-row .el-checkbox-button .el-checkbox-button__inner { border: 1px solid var(--line) !important; border-radius: 999px !important; padding: 8px 14px; color: #5c607a; background: #fff; font-size: 12px; box-shadow: none !important; }
.smart-chip-row .el-checkbox-button.is-checked .el-checkbox-button__inner { color: var(--primary); background: var(--primary-soft); border-color: var(--primary) !important; font-weight: 600; }
.el-select-dropdown .el-option-meta { float: right; margin-left: 12px; color: #a3a7b6; font-size: 12px; }
@media (max-width: 900px) {
    .smart-form-grid, .smart-soft-grid, .smart-direction-grid { grid-template-columns: minmax(0, 1fr); }
    .smart-basic-layout { grid-template-columns: minmax(0, 1fr); }
    .smart-direction-card--wide { grid-column: auto; }
    .smart-direction-category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1180px) {
    .smart-major-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1160px) {
    .smart-result-workspace { grid-template-columns: minmax(0, 1fr); }
}
@media (min-width: 1500px) {
    .smart-result-primary .smart-major-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
    .smart-major-list { grid-template-columns: minmax(0, 1fr); }
    .smart-result-footer { align-items: stretch; flex-direction: column; }
    .smart-result-footer-info, .smart-result-actions { width: 100%; }
    .smart-result-footer-info { justify-content: space-between; }
    .smart-result-actions > button { flex: 1; }
}
@media (max-width: 640px) {
    .smart-panel { padding: 18px 16px 22px; }
    .smart-panel.smart-panel--result { padding: 0; }
    .smart-steps { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 24px; }
    .smart-step { padding: 12px 14px; }
    .smart-section-head { margin-bottom: 20px; }
    .smart-section-head h2 { font-size: 18px; }
    .smart-profile-prefill { align-items: stretch; flex-direction: column; margin-top: -5px; }
    .smart-profile-prefill > .el-select { width: 100%; }
    .smart-basic-layout { gap: 14px; }
    .smart-basic-main, .smart-basic-aside { padding: 16px 14px; border-radius: 11px; }
    .smart-basic-fields { gap: 18px; }
    .smart-optional-toggle { align-items: flex-start; flex-wrap: wrap; padding: 14px; }
    .smart-optional-title { flex-basis: calc(100% - 46px); }
    .smart-optional-count { margin-left: 42px; }
    .smart-optional-body { padding: 2px 14px 16px; }
    .smart-direction-main .smart-direction-card { padding-right: 0; padding-left: 0; }
    .smart-direction-main .smart-direction-card + .smart-direction-card { padding-top: 20px; }
    .smart-inline-selects, .smart-enrollment-selects, .smart-direction-picker { grid-template-columns: minmax(0, 1fr); }
    .smart-direction-picker .outline-btn { width: 100%; }
    .smart-direction-entry { align-items: stretch; flex-direction: column; }
    .smart-direction-entry .primary-btn { width: 100%; }
    .smart-direction-modal-mask { align-items: flex-end; padding: 0; }
    .modal-card.smart-direction-modal { width: 100%; height: 94vh; max-height: 94vh; border-radius: 18px 18px 0 0; }
    .smart-direction-modal-head { padding: 21px 62px 17px 18px; }
    .smart-direction-modal-head .modal-eyebrow { display: none; }
    .smart-direction-modal-count { min-width: 54px; padding: 8px; font-size: 21px; }
    .smart-direction-modal-tabs { gap: 22px; padding: 0 16px; }
    .smart-direction-modal-tabs > button { min-height: 50px; }
    .smart-direction-modal-categories { padding: 17px 16px 20px; }
    .smart-direction-category-grid { grid-template-columns: minmax(0, 1fr); }
    .smart-direction-selected { padding: 15px 16px; }
    .smart-direction-modal-footer { padding: 13px 16px 16px; }
    .smart-direction-modal-footer > span { display: none; }
    .smart-direction-modal-footer .primary-btn { width: 100%; }
    .smart-profile-sync-mask { align-items: flex-end; padding: 0; }
    .modal-card.smart-profile-sync-modal { width: 100%; max-height: 94vh; border-radius: 18px 18px 0 0; }
    .smart-profile-sync-head { padding: 21px 16px 17px; }
    .smart-profile-sync-target { padding: 16px 16px 0; }
    .smart-profile-sync-diff { margin: 16px 16px 0; }
    .smart-profile-sync-diff-row { grid-template-columns: 72px minmax(0, 1fr) 18px minmax(0, 1fr); gap: 6px; padding: 9px 10px; }
    .smart-profile-sync-create, .smart-profile-sync-warning { margin-right: 16px; margin-left: 16px; }
    .smart-profile-sync-footer { align-items: stretch; flex-direction: column-reverse; padding: 15px 16px 18px; }
    .smart-profile-sync-footer .primary-btn, .smart-profile-sync-footer .outline-btn { width: 100%; }
    .smart-actions { align-items: stretch; flex-direction: column-reverse; }
    .smart-actions .primary-btn, .smart-actions .outline-btn { width: 100%; }
    .smart-generating { min-height: 0; grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 34px 19px; }
    .smart-ai-visual { width: 210px; height: 210px; }
    .smart-ai-core { width: 92px; height: 92px; border-radius: 26px; }
    .smart-ai-core::before { border-radius: 20px; }
    .smart-ai-core i { font-size: 25px; }
    .smart-ai-node--school { top: 70px; }
    .smart-ai-content h2 { font-size: 20px; }
    .smart-result-head { align-items: stretch; }
    .smart-result-primary { padding: 18px 16px 22px; }
    .smart-result-aside { padding: 0; }
    .smart-gradient-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
    .smart-gradient-card { min-width: 0; padding: 9px 8px; }
    .smart-major-card { min-height: 0; padding: 20px 15px 17px; border-radius: 15px; }
    .smart-major-card-head { flex-wrap: wrap; }
    .smart-major-school { flex-basis: calc(100% - 55px); }
    .smart-major-card-controls { width: 100%; align-items: center; justify-content: space-between; flex-direction: row; }
    .smart-major-title h4 { font-size: 17px; }
    .smart-major-reason { min-height: 0; }
    .smart-major-highlights > div { padding: 0 5px; }
    .smart-result-primary .smart-major-details > div { grid-template-columns: 72px minmax(0, 1fr); }
    .smart-result-footer { padding: 14px; }
    .smart-result-footer-info { align-items: stretch; flex-direction: column; }
    .smart-result-footer-info .el-button { width: 100%; margin: 0; }
    .smart-result-footer-info > span { text-align: center; }
    .smart-result-actions { align-items: stretch; flex-direction: column; }
    .smart-result-actions > button { width: 100%; }
    .smart-case-panel, .smart-more-panel { border-radius: 15px; }
    .smart-case-panel-head { padding: 14px 15px 10px; }
    .smart-case-panel-body { padding: 12px 14px; }
    .smart-case-facts { flex-wrap: wrap; }
    .smart-case-facts span { flex-basis: calc(50% - 3px); }
    .smart-more-panel-head { padding: 18px 16px 14px; }
    .smart-more-panel-scroll { padding: 11px; }
    .smart-more-panel-foot .smart-panel-more-btn { width: 100%; }
}
.jarvis-assistant-todo-card { min-width: 0; overflow-wrap: anywhere; font-size: 12px; line-height: 1.6; }
.jarvis-assistant-todo-card label { display: block; margin: 8px 0; }
.jarvis-assistant-todo-card input, .jarvis-assistant-todo-card textarea { box-sizing: border-box; max-width: 100%; width: 100%; padding: 8px; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-todo-card button { min-height: 36px; max-width: 100%; margin: 4px; padding: 6px 10px; font-size: 12px; white-space: normal; overflow-wrap: anywhere; }

@media (prefers-reduced-motion: reduce) {
    .smart-ai-orbit, .smart-ai-core, .smart-ai-node, .smart-ai-kicker > i, .smart-ai-stages > span::after { animation: none; }
}

/* 更多可申请院校弹层 */
.more-schools-dialog { max-width: calc(100vw - 32px); overflow: hidden; border-radius: 20px; background: #f5f7fb; box-shadow: 0 30px 80px rgba(20, 39, 73, .24); }
.more-schools-dialog .el-dialog__header { position: relative; padding: 0; background: linear-gradient(125deg, #175fd7 0%, #3978e4 56%, #6b69df 100%); }
.more-schools-dialog .el-dialog__headerbtn { z-index: 3; top: 19px; right: 20px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.14); }
.more-schools-dialog .el-dialog__headerbtn:hover { background: rgba(255,255,255,.24); }
.more-schools-dialog .el-dialog__headerbtn .el-dialog__close { color: #fff; font-size: 18px; }
.more-schools-dialog-title { min-height: 112px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 23px 72px 22px 27px; color: #fff; }
.more-schools-dialog-title > div { min-width: 0; }
.more-schools-dialog-title span { display: block; color: rgba(255,255,255,.74); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.more-schools-dialog-title h2 { margin: 4px 0 0; color: #fff; font-size: 23px; line-height: 1.3; }
.more-schools-dialog-title p { margin: 5px 0 0; color: rgba(255,255,255,.8); font-size: 12px; line-height: 1.5; }
.more-schools-dialog-title > em { flex: 0 0 auto; padding: 7px 11px; border: 1px solid rgba(255,255,255,.2); border-radius: 999px; color: #fff; background: rgba(255,255,255,.12); font-size: 12px; font-style: normal; font-weight: 700; }
.more-schools-dialog .el-dialog__body { max-height: calc(94vh - 196px); overflow-x: hidden; overflow-y: auto; padding: 0 22px 22px; background: #f5f7fb; scrollbar-color: #b9c5d8 transparent; scrollbar-width: thin; }
.more-schools-dialog .el-dialog__body::-webkit-scrollbar { width: 7px; }
.more-schools-dialog .el-dialog__body::-webkit-scrollbar-thumb { border-radius: 8px; background: #b9c5d8; }
.more-schools-filter { position: sticky; z-index: 3; top: 0; display: flex; align-items: flex-start; gap: 16px; padding: 15px 0 12px; border-bottom: 1px solid #e1e7f0; background: rgba(245,247,251,.97); backdrop-filter: blur(10px); }
.more-schools-filter .el-tabs { min-width: 0; flex: 1; }
.more-schools-filter .el-tabs__header { margin-bottom: 0; }
.more-schools-filter .el-tabs__nav-wrap::after { height: 1px; }
.more-schools-filter .el-tabs__item { height: 38px; font-size: 12px; line-height: 38px; }
.more-schools-filter .more-schools-search { width: 270px; max-width: 270px; flex: 0 0 270px; }
.more-schools-body { min-height: 320px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-content: start; padding-top: 15px; }
.more-school-card { min-width: 0; overflow: hidden; border: 1px solid #dde5f0; border-radius: 16px; background: #fff; box-shadow: 0 8px 24px rgba(34, 55, 88, .06); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.more-school-card:hover { transform: translateY(-2px); border-color: #c9d9ef; box-shadow: 0 13px 30px rgba(34, 55, 88, .1); }
.more-school-head { display: flex; align-items: flex-start; gap: 12px; padding: 16px; border-bottom: 1px solid #e8edf4; background: linear-gradient(145deg, #f7faff 0%, #fff 74%); }
.more-school-head .school-logo { width: 46px; height: 46px; flex: 0 0 46px; border-radius: 12px; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(145deg, #4b89ff, var(--primary)); box-shadow: 0 6px 14px rgba(52, 112, 230, .14); font-weight: 700; font-size: 15px; }
.more-school-head .school-logo img { width: 100%; height: 100%; object-fit: contain; background: #fff; }
.more-school-title { flex: 1; min-width: 0; }
.more-school-title h3 { margin: 0; overflow: hidden; color: #20334e; font-size: 15px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.more-school-title > p { margin: 3px 0 0; overflow: hidden; color: #7c899d; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.more-school-meta { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 9px; }
.more-school-meta span { min-height: 22px; display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 999px; color: #6f7d91; background: #eef2f7; font-size: 12px; line-height: 1.2; }
.more-school-meta .is-rank { color: var(--primary-dark); background: #e8f1ff; font-weight: 700; }
.more-school-meta .is-demo { color: #8b6a1a; background: #fff4d9; }
.more-school-head > .el-button { flex: 0 0 auto; margin-top: 2px; padding: 5px 0; font-size: 12px; }
.more-school-major-list { display: grid; gap: 9px; padding: 13px 14px 14px; }
.more-major-row { min-width: 0; display: flex; align-items: center; gap: 10px; padding: 11px 11px 11px 10px; border: 1px solid #e5eaf2; border-left: 3px solid #9ab5e6; border-radius: 11px; background: #f9fbfd; transition: border-color .16s ease, background .16s ease, box-shadow .16s ease; }
.more-major-row.is-reach { border-left-color: #ed984f; }
.more-major-row.is-target { border-left-color: #4d8df3; }
.more-major-row.is-prudent { border-left-color: #32b189; }
.more-major-row.is-selected { border-color: #8db5f7; background: #f1f6ff; box-shadow: 0 0 0 2px rgba(36,107,253,.08); }
.more-major-row.is-disabled { background: #f5f6f8; }
.more-major-row .el-checkbox { flex: 0 0 auto; margin-right: 0; }
.more-major-info { flex: 1; min-width: 0; }
.more-major-info b, .more-major-info span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.more-major-info b { color: #2d3d56; font-size: 13px; line-height: 1.45; }
.more-major-info span { margin-top: 2px; color: #8a96a8; font-size: 12px; line-height: 1.4; }
.more-major-info small { display: block; margin-top: 5px; overflow: hidden; color: #b47326; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.more-major-side { display: flex; flex: 0 0 auto; align-items: flex-end; gap: 5px; flex-direction: column; }
.more-major-level, .more-major-state { min-height: 22px; display: inline-flex; align-items: center; justify-content: center; padding: 3px 8px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.more-major-level.is-reach { color: #b96b2c; background: #fff0e3; }
.more-major-level.is-target { color: #1f6fc4; background: #e7f2ff; }
.more-major-level.is-prudent { color: #119b73; background: #e3f7ef; }
.more-major-level.is-off { color: #667085; background: #eef1f5; }
.more-major-rate { color: #61728b; font-size: 12px; font-weight: 650; white-space: nowrap; }
.more-major-state { color: #7b8494; background: #e9edf2; }
.more-major-plan-add.el-button { min-width: 74px; margin: 2px 0 0; padding: 6px 10px; border-radius: 8px; font-size: 12px; }
.more-schools-dialog .el-pagination { padding: 18px 0 2px; text-align: center; }
.more-schools-dialog .el-dialog__footer { padding: 13px 22px; border-top: 1px solid #e0e6ef; background: #fff; }
.more-schools-footer { display: flex; align-items: center; gap: 10px; }
.more-schools-footer span { margin-right: auto; color: var(--muted); font-size: 12px; }
.smart-case-dialog { max-width: calc(100vw - 32px); overflow: hidden; border-radius: 20px; background: #f5f7fb; box-shadow: 0 30px 80px rgba(20, 39, 73, .24); }
.smart-case-dialog .el-dialog__header { position: relative; padding: 0; background: linear-gradient(125deg, #1f5ed8 0%, #3c70df 55%, #6f68df 100%); }
.smart-case-dialog .el-dialog__headerbtn { z-index: 2; top: 18px; right: 20px; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.13); }
.smart-case-dialog .el-dialog__headerbtn:hover { background: rgba(255,255,255,.22); }
.smart-case-dialog .el-dialog__headerbtn .el-dialog__close { color: #fff; font-size: 18px; }
.smart-case-dialog-title { min-height: 118px; display: flex; align-items: center; gap: 15px; padding: 24px 72px 23px 27px; color: #fff; }
.smart-case-dialog-title-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 48px; border: 1px solid rgba(255,255,255,.22); border-radius: 15px; background: rgba(255,255,255,.13); font-size: 23px; }
.smart-case-dialog-title > div { min-width: 0; flex: 1; }
.smart-case-dialog-title small { display: block; color: rgba(255,255,255,.72); font-size: 12px; font-weight: 750; letter-spacing: .12em; }
.smart-case-dialog-title h2 { margin: 3px 0 0; color: #fff; font-size: 23px; line-height: 1.3; }
.smart-case-dialog-title p { margin: 5px 0 0; color: rgba(255,255,255,.78); font-size: 12px; }
.smart-case-dialog-title > em { flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(255,255,255,.18); border-radius: 999px; color: #fff; background: rgba(255,255,255,.11); font-size: 12px; font-style: normal; font-weight: 700; }
.smart-case-dialog .el-dialog__body { max-height: calc(92vh - 205px); overflow-x: hidden; overflow-y: auto; padding: 18px 20px 22px; background: #f5f7fb; scrollbar-color: #b9c5d8 transparent; scrollbar-width: thin; }
.smart-case-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.smart-case-list-item { position: relative; min-width: 0; overflow: hidden; padding: 17px; border: 1px solid #e0e7f1; border-radius: 16px; background: #fff; box-shadow: 0 7px 22px rgba(34, 55, 88, .055); }
.smart-case-list-item::before { height: 3px; position: absolute; top: 0; right: 0; left: 0; background: linear-gradient(90deg, #246bfd, #86b0ff); content: ''; }
.smart-case-list-item.is-demo::before { background: linear-gradient(90deg, #d7a83f, #f0d58d); }
.smart-case-list-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.smart-case-list-head > span { color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .1em; }
.smart-case-list-head > em { padding: 4px 8px; border-radius: 999px; color: #087052; background: #def6eb; font-size: 12px; font-style: normal; font-weight: 700; }
.smart-case-dialog-school { min-width: 0; display: flex; align-items: center; gap: 11px; margin-top: 13px; }
.smart-case-dialog-school > span { width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 42px; border-radius: 12px; color: #fff; background: linear-gradient(145deg, #3778f2, #6859d8); font-size: 16px; font-weight: 800; }
.smart-case-dialog-school > div { min-width: 0; }
.smart-case-dialog-school h3 { margin: 0; overflow: hidden; color: #1e314c; font-size: 17px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.smart-case-dialog-school p { margin: 3px 0 0; overflow: hidden; color: #718096; font-size: 12px; line-height: 1.45; text-overflow: ellipsis; white-space: nowrap; }
.smart-case-dialog-badges { margin-top: 12px; }
.smart-case-dialog-reasons { display: flex; gap: 8px; margin-top: 11px; }
.smart-case-dialog-reasons b { flex: 0 0 auto; color: #0c7354; font-size: 12px; }
.smart-case-dialog-facts { display: grid; overflow: hidden; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 12px 0 0; border: 1px solid #e5ebf3; border-radius: 11px; background: #f8fafc; }
.smart-case-dialog-facts > div { min-width: 0; min-height: 58px; padding: 9px 11px; }
.smart-case-dialog-facts > div:nth-child(odd) { border-right: 1px solid #e5ebf3; }
.smart-case-dialog-facts > div:nth-child(-n + 2) { border-bottom: 1px solid #e5ebf3; }
.smart-case-dialog-facts dt { margin: 0 0 3px; color: #8a96a8; font-size: 12px; }
.smart-case-dialog-facts dd { margin: 0; overflow: hidden; color: #31445d; font-size: 12px; font-weight: 700; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.smart-case-dialog-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 11px; padding: 9px 10px; border-radius: 9px; color: #6c7a90; background: #f2f5fa; }
.smart-case-dialog-note > span { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 18px; border-radius: 50%; color: #fff; background: #8ba7d5; font-size: 12px; font-weight: 800; }
.smart-case-dialog-note p { margin: 0; font-size: 12px; line-height: 1.55; }
.smart-case-dialog .el-dialog__footer { padding: 13px 20px; border-top: 1px solid #e0e6ef; background: #fff; }
.smart-case-dialog-footer { display: flex; align-items: center; gap: 12px; }
.smart-case-dialog-footer span { margin-right: auto; color: #7a8799; font-size: 12px; }
.smart-case-dialog-footer .outline-btn { min-height: 32px; padding: 7px 13px; font-size: 12px; text-decoration: none; }
@media (max-width: 900px) {
    .smart-case-list { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
    .smart-case-dialog { width: calc(100% - 24px) !important; }
    .smart-case-dialog-title { min-height: 108px; gap: 11px; padding: 20px 55px 20px 18px; }
    .smart-case-dialog-title-icon { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
    .smart-case-dialog-title h2 { font-size: 20px; }
    .smart-case-dialog-title p, .smart-case-dialog-title > em { display: none; }
    .smart-case-dialog .el-dialog__body { padding: 12px; }
    .smart-case-list-item { padding: 14px; }
    .smart-case-dialog-footer { align-items: stretch; flex-direction: column; }
    .smart-case-dialog-footer span { margin-right: 0; }
}
@media (max-width: 900px) {
    .more-schools-dialog { width: calc(100% - 24px) !important; }
    .more-schools-dialog-title { min-height: 104px; padding: 20px 58px 20px 19px; }
    .more-schools-dialog-title h2 { font-size: 20px; }
    .more-schools-dialog-title p, .more-schools-dialog-title > em { display: none; }
    .more-schools-dialog .el-dialog__body { padding: 0 14px 18px; }
    .more-schools-filter { flex-direction: column; gap: 10px; padding-top: 12px; }
    .more-schools-filter .el-tabs { width: 100%; }
    .more-schools-filter .more-schools-search { width: 100%; max-width: none; flex-basis: auto; }
    .more-schools-body { grid-template-columns: minmax(0, 1fr); gap: 11px; }
}
@media (max-width: 560px) {
    .more-school-head { flex-wrap: wrap; padding: 14px; }
    .more-school-title { flex-basis: calc(100% - 60px); }
    .more-school-head > .el-button { margin-left: 58px; }
    .more-major-row { align-items: flex-start; flex-wrap: wrap; }
    .more-major-info { flex-basis: calc(100% - 34px); }
    .more-major-side { width: 100%; align-items: center; flex-direction: row; flex-wrap: wrap; padding-left: 28px; }
    .more-schools-footer { align-items: stretch; flex-wrap: wrap; }
    .more-schools-footer span { width: 100%; margin-right: 0; text-align: center; }
    .more-schools-footer .el-button { flex: 1; margin-left: 0; }
}

/* ==========================================================================
   UApply 跨浏览器 / 平板适配（2026-09-28 导航改版配套）
   本节只做「新增声明」，不改动上方任何既有规则；同优先级时靠书写顺序覆盖。
   目标：macOS Safari / Firefox / iPad 与手机端表现一致，且侧栏始终可达。
   ========================================================================== */

/* 1) 基础兼容 ------------------------------------------------------------ */
/* iOS 横屏不自动放大正文字号（Safari / iOS WebView，其他端忽略该声明） */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
/* 触屏设备去掉点击时的灰色高亮块（iPad / iPhone） */
body { -webkit-tap-highlight-color: transparent; }
/* Safari 会给 type=search 套原生圆角内阴影样式，这里抹平以对齐 Chrome / Firefox */
input[type="search"] { -webkit-appearance: none; appearance: none; }
/* Safari 需要 -webkit- 前缀才支持 user-select（原规则只写了标准属性） */
.login-cancel-link { -webkit-user-select: none; }

/* 2) 视口高度 ------------------------------------------------------------
   iOS Safari 的 100vh 把地址栏高度也算进去，导致首屏底部被裁掉。
   支持 dvh 的浏览器（Safari 15.4+ / Chrome 108+ / Firefox 101+）优先用 dvh，
   不支持的浏览器会忽略该行、沿用上面的 100vh，属渐进增强。 */
#uapply_app, .app-shell, .login-wrap { min-height: 100dvh; }

/* 3) 顶栏毛玻璃 ----------------------------------------------------------
   Safari 18 之前只认带前缀的 -webkit-backdrop-filter。 */
.topbar { -webkit-backdrop-filter: blur(18px); }

/* 4) 侧栏：吸顶 + 内部滚动 ------------------------------------------------
   原实现的侧栏是普通 flex 子项，会被长页面「拉伸」到与页面等高，
   .sidebar-bottom 的 margin-top:auto 于是把「需要帮助 / 版本号」推到整页最底部
   （实测 1280×900 下 y=1197，远超视口）；同时页面一滚动，导航整体滚出视野。
   这里把侧栏锁定为视口高度并吸顶；侧栏内部改为「品牌区 + 底部信息常驻、
   只有导航列表滚动」，让品牌、帮助入口与版本信息在任何视口高度都可见。 */
.sidebar { overflow: hidden; }
.brand-block, .sidebar-bottom { flex: 0 0 auto; }
.side-nav {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(154, 162, 184, .4) transparent;
}
.side-nav::-webkit-scrollbar { width: 7px; }
.side-nav::-webkit-scrollbar-track { background: transparent; }
.side-nav::-webkit-scrollbar-thumb { border-radius: 8px; background: rgba(154, 162, 184, .4); }
.side-nav::-webkit-scrollbar-thumb:hover { background: rgba(154, 162, 184, .65); }

@media (min-width: 801px) {
    /* 桌面 / 平板横屏（801px 以上才不是抽屉模式，避免影响移动端抽屉定位） */
    .sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 0;
        align-self: flex-start;
        height: 100vh;
        height: 100dvh;
    }
}

/* 5) 平板区间栅格降列 ----------------------------------------------------
   801–1080px 时侧栏仍占 218px，工作区被压缩：实测 820px 宽下概览卡只剩 111px、
   801px 下只剩 106px，状态条四列更窄；材料卡三列只剩 168px。
   这里让它们提前降列（与 ≤800px 的既有降列规则衔接）。 */
@media (min-width: 801px) and (max-width: 1080px) {
    .dashboard-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .status-bars { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
    .material-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 6) 窄屏横向溢出修正 ----------------------------------------------------
   这几个 .view-section 页面容器只写了 display:grid + gap，没有显式轨道；
   隐式单列轨道按子项的 min-content 撑开，实测 390px 视口下：
     · 工作台整列被撑到 444px，页面横向溢出 87px；
     · 申请档案被 .archive-tabs（≤800px 下 flex-wrap:nowrap + overflow-x:auto
       的横向滚动页签）撑到 648px，页面溢出 291px —— 注意滚动容器的内容宽度
       依旧会计入轨道最小值，所以「页签自己能滚」并不能阻止父级被撑开。
   显式写成 minmax(0, 1fr) 后子项可以收缩到容器宽度，
   页签仍按原设计在条内横向滚动，不会改变任何宽屏布局。 */
.view-section { grid-template-columns: minmax(0, 1fr); }
.view-section > * { min-width: 0; }

/* 「建议下一步」同理：small 本身就是 white-space:nowrap + 省略号（设计上就要截断），
   但 a > div 的 min-width:0 只让 flex 子项「能」收缩，并不改变它的 min-content 贡献，
   隐式轨道依旧被整句文案撑到 402px。显式轨道后省略号才真正生效。 */
.next-step-list { grid-template-columns: minmax(0, 1fr); }
.next-step-list > a { min-width: 0; }

@media (max-width: 1080px) {
    /* 既有写法 1fr 等价于 minmax(auto, 1fr)，最小值为内容宽度；改为可收缩轨道 */
    .dashboard-main-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 800px) {
    .status-bars { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* 材料中心摘要条：90px 圆环 + 19px 间距 + 65vw 进度条在 390px 下合计 363px，
   超出容器 339px，溢出 34px。让文本块可伸缩、进度条按容器铺满。
   注意排除 .summary-ring，它必须保持 flex: 0 0 90px。 */
.summary-progress { flex-wrap: wrap; }
.summary-progress > div { min-width: 0; }
@media (max-width: 800px) {
    .summary-progress > div:not(.summary-ring) { flex: 1 1 180px; }
    .progress-track { width: 100%; }
}

/* ===== §7 首次使用引导（mixins/guide.js）=====
   遮罩挖洞法：.guide-hole 盖在目标上用巨大 box-shadow 压暗四周，
   pointer-events:none 让点击穿透到真实元素；无锚点步由 .guide-mask 全屏压暗。 */
.guide-mask { position: fixed; inset: 0; z-index: 898; background: transparent; pointer-events: none; }
.guide-mask.is-blocking { pointer-events: auto; }
.guide-mask.is-active { background: rgba(246, 247, 250, .78); pointer-events: auto; }
.guide-hole {
    position: fixed; z-index: 899; pointer-events: none;
    border: 2px solid var(--primary); border-radius: 8px;
    outline: 1px solid rgba(36, 107, 253, .25); outline-offset: 3px;
    box-shadow: 0 0 0 9999px rgba(246, 247, 250, .78);
}
.guide-bubble {
    position: fixed; z-index: 902; width: 280px; padding: 14px;
    background: #fff; border: 0.5px solid rgba(15, 23, 42, .14); border-radius: 10px;
    outline: none;
}
.guide-bubble:focus { outline: none; }
.guide-arrow { display: none; position: absolute; width: 10px; height: 10px; background: #fff; }
.guide-bubble.place-top .guide-arrow { display: block; top: -6px; border-left: 0.5px solid rgba(15, 23, 42, .14); border-top: 0.5px solid rgba(15, 23, 42, .14); transform: rotate(45deg); }
.guide-bubble.place-bottom .guide-arrow { display: block; bottom: -6px; border-right: 0.5px solid rgba(15, 23, 42, .14); border-bottom: 0.5px solid rgba(15, 23, 42, .14); transform: rotate(45deg); }
.guide-bubble.place-left .guide-arrow { display: block; left: -6px; border-left: 0.5px solid rgba(15, 23, 42, .14); border-bottom: 0.5px solid rgba(15, 23, 42, .14); transform: rotate(45deg); }
.guide-bubble.place-right .guide-arrow { display: block; right: -6px; border-right: 0.5px solid rgba(15, 23, 42, .14); border-top: 0.5px solid rgba(15, 23, 42, .14); transform: rotate(45deg); }
.guide-bubble.is-bottom { width: auto; }
.guide-bubble.is-bottom .guide-arrow { display: none; }
.guide-title { margin: 0 56px 8px 0; font-size: 14px; font-weight: 500; color: #0f172a; }
.guide-collapse { position: absolute; top: 8px; right: 8px; min-width: 44px; min-height: 36px; border: 0; border-radius: 6px; background: transparent; color: #667085; font-size: 12px; cursor: pointer; }
.guide-collapse:hover { background: #f1f5ff; color: #246bfd; }
.guide-resume { position: fixed; right: 24px; bottom: 24px; z-index: 49; min-height: 44px; padding: 10px 16px; border: 1px solid #9fbdff; border-radius: 22px; background: #fff; color: #246bfd; box-shadow: 0 4px 16px rgba(24,50,96,.12); font-size: 14px; cursor: pointer; }
.guide-bubble button:focus-visible, .guide-resume:focus-visible { outline: 2px solid #246bfd; outline-offset: 3px; }
.guide-text { margin: 0; font-size: 13px; line-height: 1.6; color: #5b6474; }
.guide-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 12px; }
.guide-dots { display: flex; align-items: center; flex: 0 0 auto; gap: 5px; }
.guide-dot { width: 5px; height: 5px; border-radius: 50%; background: #d4d9e2; }
.guide-dot.is-on { background: var(--primary); }
.guide-actions { display: flex; flex: 0 0 auto; gap: 6px; }
.guide-btn {
    flex: 0 0 auto; min-height: 40px; padding: 8px 14px; font-size: 12px; cursor: pointer; white-space: nowrap;
    border: 0.5px solid rgba(15, 23, 42, .16); border-radius: 6px;
    background: #fff; color: #3d4653;
}
.guide-btn:hover { border-color: var(--primary); color: var(--primary); }
.guide-btn.is-primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.guide-btn.is-primary:hover { background: var(--primary-dark); color: #fff; }

/* 侧栏「操作指引」入口 */
.guide-replay { position: relative; }
.guide-replay-btn {
    width: 100%; min-height: 40px; display: flex; align-items: center; gap: 8px;
    padding: 8px 11px; border: 0.5px solid rgba(15, 23, 42, .12); border-radius: 10px;
    box-sizing: border-box; color: #3d4653; background: #fff; font-size: 13px; cursor: pointer; text-align: left;
}
.guide-replay-btn:hover { border-color: var(--primary); color: var(--primary); }
.guide-replay-icon {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border-radius: 50%;
    color: var(--primary); background: var(--primary-soft); font-size: 12px;
}
.guide-replay-pop {
    position: absolute; bottom: calc(100% + 8px); left: 0; z-index: 910; width: 100%;
    padding: 10px; background: #fff; border: 0.5px solid rgba(15, 23, 42, .14); border-radius: 10px;
}
.guide-replay-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.guide-replay-head b { font-size: 13px; color: #0f172a; }
.guide-replay-head button { border: 0; background: transparent; font-size: 14px; color: #8a93a3; cursor: pointer; }
.guide-replay-item {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    width: 100%; padding: 8px; margin-bottom: 4px; cursor: pointer; text-align: left;
    border: 0.5px solid rgba(15, 23, 42, .1); border-radius: 8px; background: #fff;
}
.guide-replay-item:last-child { margin-bottom: 0; }
.guide-replay-item:hover { border-color: var(--primary); }
.guide-replay-item span { font-size: 12px; color: #3d4653; }
.guide-replay-item em { font-size: 12px; font-style: normal; color: var(--primary); white-space: nowrap; }

/* 申请页：合并零额度提醒，避免两条告警重复占据首屏。 */
.plan-quota-alert {
    display: flex; align-items: center; gap: 12px; margin-bottom: 14px; padding: 11px 14px;
    border: 1px solid rgba(217, 119, 6, .28); border-radius: 10px;
    background: linear-gradient(90deg, #fff9ef, #fffdf9); color: #7c5511;
}
.plan-quota-alert__icon {
    width: 26px; height: 26px; display: inline-flex; flex: 0 0 26px; align-items: center; justify-content: center;
    border-radius: 50%; background: #f9dfac; color: #9a6507; font-size: 13px; font-weight: 700;
}
.plan-quota-alert__content { min-width: 0; flex: 1; }
.plan-quota-alert__content > strong { display: block; margin-bottom: 3px; color: #6c4708; font-size: 12px; }
.plan-quota-alert__items { display: flex; flex-wrap: wrap; gap: 4px 18px; font-size: 12px; line-height: 1.55; }
.plan-quota-alert__items span { position: relative; }
.plan-quota-alert__items span + span:before { content: ''; width: 3px; height: 3px; position: absolute; top: 8px; left: -10px; border-radius: 50%; background: #d39a38; }
.plan-quota-alert__items b { color: #8b5d0b; font-weight: 600; }
.plan-quota-alert__content small { display: block; margin-top: 2px; color: #a17428; font-size: 12px; }
.plan-quota-alert > button {
    flex: 0 0 auto; padding: 6px 10px; border: 1px solid rgba(172, 115, 15, .22); border-radius: 7px;
    background: rgba(255, 255, 255, .72); color: #94630d; font-size: 12px;
}
.plan-quota-alert > button:hover { border-color: rgba(172, 115, 15, .45); background: #fff; }

/* 申请准备空态：左侧聚焦行动，右侧解释完整流程。 */
.empty-state.plan-empty-state {
    display: grid; grid-template-columns: minmax(260px, .78fr) minmax(520px, 1.35fr); align-items: stretch; gap: 22px;
    margin: 2px 27px 27px; padding: 26px; border: 1px solid #e6ecf5; border-radius: 14px;
    background: linear-gradient(135deg, #fbfdff 0%, #f6f9ff 100%); color: #657084; text-align: left;
}
.plan-empty-intro { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: 4px 2px; }
.plan-empty-kicker {
    align-self: flex-start; margin-bottom: 14px; padding: 4px 9px; border-radius: 999px;
    background: var(--primary-soft); color: var(--primary); font-size: 12px; font-weight: 700; letter-spacing: .08em;
}
.plan-empty-heading { display: flex; align-items: flex-start; gap: 13px; }
.plan-empty-state .empty-illustration {
    width: 43px; height: 43px; flex: 0 0 43px; margin: 0; border: 1px solid #d9e7ff;
    background: #eef5ff; font-size: 0;
}
.plan-empty-state .empty-illustration span { font-size: 23px; font-weight: 300; line-height: 1; }
.plan-empty-state h3 { margin: 1px 0 6px; color: #313b50; font-size: 16px; }
.plan-empty-state .plan-empty-heading p { margin: 0; color: #7b8497; font-size: 12px; line-height: 1.7; }
.plan-empty-state .empty-actions { justify-content: flex-start; margin-top: 19px; }
.plan-empty-state .empty-actions button { min-width: 118px; }
.plan-empty-state .plan-empty-note { display: flex; align-items: flex-start; gap: 6px; margin: 13px 0 0; color: #8d96a7; font-size: 12px; line-height: 1.55; }
.plan-empty-note > span {
    width: 15px; height: 15px; display: inline-flex; flex: 0 0 15px; align-items: center; justify-content: center;
    margin-top: 1px; border-radius: 50%; background: #e7edf7; color: #75839b; font-size: 12px; font-style: normal; font-weight: 700;
}
.plan-empty-flow { min-width: 0; padding: 18px 18px 16px; border: 1px solid #e5ebf4; border-radius: 12px; background: rgba(255, 255, 255, .88); }
.plan-empty-flow__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 17px; }
.plan-empty-flow__head strong { color: #414c61; font-size: 13px; }
.plan-empty-flow__head span { padding: 4px 8px; border-radius: 999px; background: var(--primary-soft); color: var(--primary); font-size: 12px; }
.guide-checklist {
    display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none;
}
.guide-check-item { position: relative; min-width: 0; padding-right: 12px; color: #8b94a6; }
.guide-check-item:not(:last-child):after {
    content: ''; height: 1px; position: absolute; top: 13px; right: 3px; left: 31px; background: #dfe5ef;
}
.guide-check-item i {
    width: 27px; height: 27px; position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center;
    border: 1px solid #dfe5ef; border-radius: 50%; background: #fff; color: #96a0b2; font-size: 12px; font-style: normal; font-weight: 600;
}
.guide-check-item > span { display: block; margin-top: 9px; }
.guide-check-item b, .guide-check-item small { display: block; }
.guide-check-item b { overflow: hidden; color: #667085; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.guide-check-item small { margin-top: 4px; color: #a0a8b7; font-size: 12px; line-height: 1.45; }
.guide-check-item.is-active i { border-color: var(--primary); background: var(--primary); color: #fff; }
.guide-check-item.is-active b { color: var(--primary); }

@media (max-width: 1180px) {
    .empty-state.plan-empty-state { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 800px) {
    .plan-quota-alert { align-items: flex-start; flex-wrap: wrap; }
    .plan-quota-alert__content { flex: 1 1 calc(100% - 40px); }
    .plan-quota-alert__items { display: grid; gap: 3px; }
    .plan-quota-alert__items span + span:before { display: none; }
    .plan-quota-alert > button { display: none; }
    .empty-state.plan-empty-state { margin: 0 16px 18px; padding: 20px; }
}
@media (max-width: 560px) {
    .plan-empty-heading { align-items: center; }
    .plan-empty-state .empty-actions { display: grid; grid-template-columns: 1fr; }
    .plan-empty-state .empty-actions button { width: 100%; }
    .guide-checklist { grid-template-columns: minmax(0, 1fr); gap: 11px; }
    .guide-check-item { display: flex; align-items: flex-start; gap: 10px; padding: 0; }
    .guide-check-item:not(:last-child):after { width: 1px; height: 12px; top: 26px; right: auto; left: 13px; }
    .guide-check-item > span { margin-top: 1px; }
    .guide-check-item b { white-space: normal; }
}

/* 申请页额度说明：持续显示，须由用户点击关闭按钮。 */
.guide-bubble--apply { width: min(340px, calc(100vw - 32px)); box-shadow: 0 12px 36px rgba(24, 50, 96, .18); }
@media (max-height: 380px) { .guide-bubble--apply { max-height: calc(100vh - 24px); overflow-y: auto; } }
.guide-bubble--apply .guide-foot, .guide-bubble--apply .guide-actions { flex-wrap: wrap; }
.guide-bubble--apply .guide-btn { white-space: nowrap; }
.guide-hole--action { box-shadow: none; border-color: #246bfd; }
.guide-bubble--action { border-color: #9fbdff; }
.guide-bubble--action .guide-foot small { color: #667085; font-size: 12px; }
.plan-view .page-heading { flex-wrap: wrap; }
.plan-view .heading-actions { flex-wrap: wrap; }
.plan-add-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.plan-view .heading-actions button, .plan-empty-state .empty-actions button { white-space: nowrap; }
.plan-empty-state .empty-actions { flex-wrap: wrap; }
@media (max-width: 800px) { .plan-add-actions { flex: 1 0 100%; order: -1; } }
.plan-empty-state .apply-flow-note { margin: 20px 0 0; padding-top: 12px; border-top: 1px solid var(--line); color: #7b8497; font-size: 12px; line-height: 1.7; }
.modal-card.apply-flow-modal { width: min(640px, 100%); }
.apply-flow-modal > h3 { margin: 20px 0 8px; color: #344054; font-size: 14px; }
.apply-flow-modal > p, .apply-flow-steps span, .apply-flow-stages dd { color: #667085; font-size: 12px; line-height: 1.7; }
.apply-flow-steps { display: grid; gap: 12px; margin: 0; padding-left: 22px; }
.apply-flow-steps li::marker { color: var(--primary); font-weight: 700; }
.apply-flow-steps b, .apply-flow-steps span { display: block; }
.apply-flow-steps b { color: #344054; font-size: 12px; margin-bottom: 3px; }
.apply-flow-stages { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.apply-flow-stages > div { padding: 12px; background: #f7f9fc; border-radius: 8px; }
.apply-flow-stages dt { color: #344054; font-size: 12px; font-weight: 600; }
.apply-flow-stages dd { margin: 4px 0 0; }
@media (max-width: 560px) { .apply-flow-stages { grid-template-columns: minmax(0, 1fr); } }
.modal-card.quota-help-modal { width: min(660px, 100%); padding: 30px 32px 24px; }
.quota-help-modal .modal-desc { max-width: 470px; margin-bottom: 20px; line-height: 1.7; }
.quota-help-balance { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.quota-help-balance > div {
    padding: 15px 16px; border: 1px solid #e1eaf8; border-radius: 11px;
    background: linear-gradient(135deg, #f5f9ff, #fbfdff);
}
.quota-help-balance span, .quota-help-balance strong, .quota-help-balance em { display: block; }
.quota-help-modal .modal-eyebrow { font-size: 12px; }
.quota-help-balance span { color: #667085; font-size: 12px; font-weight: 600; }
.quota-help-balance strong { margin: 7px 0 5px; color: var(--primary); font-size: 26px; line-height: 1; }
.quota-help-balance strong small { margin-left: 4px; color: #8090aa; font-size: 12px; font-weight: 500; }
.quota-help-balance em { color: #98a1b2; font-size: 12px; font-style: normal; }
.quota-help-rules { display: grid; gap: 10px; margin-top: 18px; }
.quota-help-rules article { display: flex; align-items: flex-start; gap: 12px; padding: 13px 14px; border-radius: 10px; background: #f8fafc; }
.quota-help-rules article > span {
    width: 25px; height: 25px; display: inline-flex; flex: 0 0 25px; align-items: center; justify-content: center;
    border-radius: 50%; background: var(--primary); color: #fff; font-size: 12px; font-weight: 700;
}
.quota-help-rules h3 { margin: 1px 0 4px; color: #465166; font-size: 12px; }
.quota-help-rules p { margin: 0; color: #7f899b; font-size: 12px; line-height: 1.7; }
.quota-help-rules p b { color: #4f6f9f; font-weight: 600; }
.quota-purchase-card {
    display: grid; grid-template-columns: 132px minmax(0, 1fr); align-items: center; gap: 18px;
    margin-top: 16px; padding: 16px; border: 1px solid #cfe0fb; border-radius: 12px;
    background: linear-gradient(135deg, #f4f8ff, #fbfdff);
}
.quota-demo-qr,
.quota-mini-program-qr {
    width: 132px; height: 132px; position: relative; display: flex; align-items: center; justify-content: center;
    padding: 7px; border: 1px solid #d8e2f0; border-radius: 10px; background: #fff;
}
.quota-demo-qr { color: #172033; }
.quota-demo-qr svg { width: 100%; height: 100%; }
.quota-demo-qr > span {
    position: absolute; top: 50%; left: 50%; min-width: 42px; padding: 5px 6px;
    transform: translate(-50%, -50%); border: 2px solid #fff; border-radius: 6px;
    background: #f59e0b; color: #fff; font-size: 12px; font-weight: 700; text-align: center;
}
.quota-mini-program-qr { color: #68758a; }
.quota-mini-program-qr > img { width: 100%; height: 100%; display: block; object-fit: contain; }
.quota-mini-program-qr > span { font-size: 12px; text-align: center; }
.quota-qr-error { display: grid; justify-items: center; gap: 8px; color: #7b879a; font-size: 12px; text-align: center; }
.quota-qr-error button { padding: 5px 8px; border: 1px solid #c9daf3; border-radius: 6px; color: var(--primary); background: #f7faff; font-size: 12px; }
.quota-purchase-copy { min-width: 0; }
.quota-purchase-title { display: flex; align-items: center; gap: 8px; }
.quota-purchase-title > span { padding: 3px 7px; border-radius: 999px; background: #fff0d6; color: #b56d00; font-size: 12px; font-weight: 700; }
.quota-purchase-title h3 { margin: 0; color: #344054; font-size: 14px; }
.quota-purchase-copy > p { margin: 8px 0 9px; color: #68758a; font-size: 12px; line-height: 1.65; }
.quota-purchase-copy ol { display: grid; gap: 4px; margin: 0; padding-left: 18px; color: #53627a; font-size: 12px; line-height: 1.55; }
.quota-purchase-copy li::marker { color: var(--primary); font-weight: 700; }
.quota-product-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.quota-product-tags span { padding: 4px 8px; border: 1px solid #d5e3fa; border-radius: 999px; background: #fff; color: #426da9; font-size: 12px; }
.quota-purchase-copy > small { display: block; margin-top: 9px; color: #c07812; font-size: 12px; }
.quota-mini-program-qr + .quota-purchase-copy > small { color: #667085; }
.quota-purchase-compact {
    display: flex; align-items: center; gap: 11px; margin-top: 16px; padding: 13px 14px;
    border: 1px solid #d8e5f8; border-radius: 10px; background: #f6f9ff;
}
.quota-purchase-compact__icon { width: 30px; height: 30px; display: inline-flex; flex: 0 0 30px; align-items: center; justify-content: center; border-radius: 9px; background: #fff0d6; color: #b56d00; font-size: 12px; font-weight: 700; }
.quota-purchase-compact > div { min-width: 0; flex: 1; }
.quota-purchase-compact b { color: #40506a; font-size: 12px; }
.quota-purchase-compact p { margin: 3px 0 0; color: #7b879a; font-size: 12px; }
.quota-purchase-compact .outline-btn { flex: 0 0 auto; padding: 7px 10px; font-size: 12px; }
.quota-help-modal .modal-footer { margin-top: 18px; }
.quota-help-modal .modal-footer .primary-btn { min-width: 94px; }
.quota-help-actions .primary-btn { min-width: 150px !important; }

@media (max-width: 560px) {
    .modal-card.quota-help-modal { padding: 26px 20px 20px; }
    .quota-help-balance { grid-template-columns: minmax(0, 1fr); }
    .quota-help-rules article { padding: 12px; }
    .quota-purchase-card { grid-template-columns: minmax(0, 1fr); justify-items: center; padding: 15px; }
    .quota-purchase-copy { width: 100%; text-align: left; }
    .quota-purchase-compact { align-items: flex-start; flex-wrap: wrap; }
    .quota-purchase-compact .outline-btn { width: 100%; }
    .quota-help-actions { display: grid; grid-template-columns: minmax(0, 1fr); }
    .quota-help-modal .modal-footer .primary-btn, .quota-help-modal .modal-footer .outline-btn { width: 100%; }
}

/* CRM 申请进度只读详情 */
.modal-card.crm-progress-modal { width: min(980px, 100%); padding: 0; overflow: hidden; }
.crm-progress-modal > .modal-close { z-index: 2; top: 17px; right: 21px; }
.crm-progress-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 30px 20px; border-bottom: 1px solid #e9edf4; background: linear-gradient(135deg, #f7faff, #fff); }
.crm-progress-head > div { min-width: 0; }
.crm-progress-head h2 { margin-bottom: 5px; }
.crm-progress-head .result-school { margin: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.crm-progress-head > .status-tag { margin: 7px 34px 0 0; font-size: 12px; }
.crm-progress-loading { min-height: 280px; }
.crm-progress-error { padding: 70px 30px; color: #7d8295; text-align: center; }
.crm-progress-error b { display: block; color: #50546d; font-size: 14px; }
.crm-progress-error p { margin: 7px 0 17px; font-size: 12px; }
.crm-source-note { display: flex; align-items: center; gap: 10px; margin: 18px 30px 0; padding: 10px 12px; border: 1px solid #dbe8fb; border-radius: 9px; color: #68758b; background: #f5f9ff; }
.crm-source-note span { padding: 3px 7px; border-radius: 5px; color: #fff; background: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .5px; }
.crm-source-note p { margin: 0; font-size: 12px; line-height: 1.6; }
.crm-progress-grid { max-height: calc(100vh - 265px); display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; overflow-y: auto; padding: 18px 30px 4px; background: #f7f8fb; }
.crm-progress-card { min-width: 0; padding: 16px 17px; border: 1px solid #e7ebf2; border-radius: 12px; background: #fff; }
.crm-progress-card-wide { grid-column: 1 / -1; }
.crm-progress-card h3 { display: flex; align-items: center; gap: 8px; margin: 0 0 13px; color: #41465f; font-size: 13px; }
.crm-progress-card h3 > span { width: 23px; height: 23px; display: inline-flex; flex: 0 0 23px; align-items: center; justify-content: center; border-radius: 7px; color: var(--primary); background: var(--primary-soft); font-size: 12px; }
.crm-progress-card h4 { margin: 0 0 9px; color: #586079; font-size: 12px; }
.crm-progress-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0; }
.crm-progress-card dl > div { min-width: 0; }
.crm-progress-card dt { color: #9a9eae; font-size: 12px; }
.crm-progress-card dt em { margin-left: 5px; color: #6b87b7; font-size: 12px; font-style: normal; }
.crm-progress-card dd { margin: 4px 0 0; overflow-wrap: anywhere; color: #555a72; font-size: 12px; line-height: 1.6; white-space: pre-line; }
.crm-progress-card .crm-progress-field-wide { grid-column: 1 / -1; }
.crm-progress-files { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 13px; padding-top: 11px; border-top: 1px solid #eef1f6; }
.crm-progress-files > b { color: #8b90a3; font-size: 12px; font-weight: 500; }
.crm-progress-files button { max-width: 220px; padding: 5px 8px; overflow: hidden; border: 1px solid #d7e4f8; border-radius: 6px; color: #3269be; background: #f6f9ff; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.crm-progress-files button.is-disabled { border-color: #e6e8ed; color: #9ea2b0; background: #f7f7f8; }
.crm-progress-subgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; }
.crm-progress-subgrid > div { min-width: 0; padding: 12px; border-radius: 9px; background: #f8fafc; }
.crm-progress-timeline ol { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.crm-progress-timeline li { position: relative; display: flex; gap: 12px; padding: 0 0 17px; }
.crm-progress-timeline li:last-child { padding-bottom: 0; }
.crm-progress-timeline li::before { width: 1px; position: absolute; top: 12px; bottom: 0; left: 4px; content: ''; background: #dfe7f4; }
.crm-progress-timeline li:last-child::before { display: none; }
.crm-progress-timeline li > i { width: 9px; height: 9px; z-index: 1; flex: 0 0 9px; margin-top: 3px; border: 2px solid #d9e7fb; border-radius: 50%; background: var(--primary); }
.crm-progress-timeline li > div { min-width: 0; }
.crm-progress-timeline b { color: #51566e; font-size: 12px; }
.crm-progress-timeline p { margin: 3px 0; overflow-wrap: anywhere; color: #70768a; font-size: 12px; line-height: 1.6; }
.crm-progress-timeline small { color: #a1a5b4; font-size: 12px; }
.crm-progress-empty { margin: 0; padding: 16px; color: #a0a4b2; background: #f8fafc; font-size: 12px; text-align: center; }
.cas-waiting-state strong { display: block; color: #526178; font-size: 13px; }
.cas-waiting-state p { margin: 5px 0 0; font-size: 12px; line-height: 1.6; }
.crm-progress-modal > .result-note { margin: 14px 30px 0; }
.crm-progress-modal > .modal-footer { margin: 14px 30px 0; padding-bottom: 20px; }
.modal-card.crm-progress-modal.is-rejection-modal { width: min(760px, 100%); }
.rejection-detail { max-height: calc(100vh - 240px); max-height: calc(100dvh - 240px); overflow-y: auto; padding: 20px 30px 4px; background: #f7f8fb; }
.rejection-summary { display: flex; align-items: flex-start; gap: 14px; padding: 18px; border: 1px solid #f0d8dc; border-radius: 12px; background: linear-gradient(135deg, #fff7f8, #fff); }
.rejection-summary__icon { width: 38px; height: 38px; display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; border-radius: 11px; color: #b34f5d; background: #ffe7ea; font-size: 19px; }
.rejection-summary small { color: #a06872; font-size: 12px; }
.rejection-summary h3 { margin: 3px 0 5px; color: #5a3f46; font-size: 16px; }
.rejection-summary p { margin: 0; color: #816d72; font-size: 12px; line-height: 1.7; }
.rejection-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 12px; }
.rejection-detail-card { min-width: 0; padding: 15px 16px; border: 1px solid #e7ebf2; border-radius: 11px; background: #fff; }
.rejection-detail-card h3 { margin: 0 0 11px; color: #4d526a; font-size: 13px; }
.rejection-detail-card dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; margin: 0; }
.rejection-detail-card dl > div { min-width: 0; }
.rejection-detail-card dl .wide { grid-column: 1 / -1; }
.rejection-detail-card dt { color: #969bad; font-size: 12px; }
.rejection-detail-card dd { margin: 4px 0 0; color: #565b72; font-size: 12px; line-height: 1.65; word-break: break-word; }
.rejection-feedback-card, .rejection-files-card, .rejection-history-card { grid-column: 1 / -1; }
.rejection-feedback-card > p { margin: 0; padding: 12px; border-radius: 8px; color: #62677d; background: #f8fafc; font-size: 12px; line-height: 1.8; white-space: pre-line; }
.rejection-files-card .crm-progress-files { margin-top: 0; padding-top: 0; border-top: 0; }
.rejection-files-card .crm-progress-files button { max-width: 100%; }
.rejection-history-card ol { margin: 0; padding: 0; list-style: none; }
.rejection-history-card li { display: flex; gap: 10px; }
.rejection-history-card li > i { width: 9px; height: 9px; flex: 0 0 9px; margin-top: 4px; border: 2px solid #f1ccd2; border-radius: 50%; background: #b95765; }
.rejection-history-card li b { color: #565b72; font-size: 12px; }
.rejection-history-card li p { margin: 3px 0; color: #74798c; font-size: 12px; line-height: 1.6; }
.rejection-history-card li small { color: #a1a5b4; font-size: 12px; }
.rejection-detail > .result-note { margin: 12px 0 0; }

@media (max-width: 700px) {
    .modal-card.crm-progress-modal { max-height: calc(100vh - 24px); }
    .crm-progress-head { padding: 23px 20px 17px; }
    .crm-progress-head > .status-tag { margin-right: 28px; }
    .crm-source-note { margin: 14px 20px 0; }
    .crm-progress-grid { max-height: calc(100vh - 285px); grid-template-columns: minmax(0, 1fr); padding: 14px 20px 4px; }
    .crm-progress-card-wide { grid-column: auto; }
    .crm-progress-subgrid { grid-template-columns: minmax(0, 1fr); }
    .crm-progress-modal > .result-note { margin-right: 20px; margin-left: 20px; }
    .crm-progress-modal > .modal-footer { margin-right: 20px; margin-left: 20px; }
    .rejection-detail { padding: 16px 20px 4px; }
    .rejection-detail-grid { grid-template-columns: minmax(0, 1fr); }
    .rejection-detail-card, .rejection-feedback-card, .rejection-files-card, .rejection-history-card { grid-column: auto; }
}

@media (max-width: 430px) {
    .crm-progress-head { flex-direction: column; gap: 8px; }
    .crm-progress-head > .status-tag { margin: 0; }
    .crm-source-note { align-items: flex-start; }
    .crm-progress-card dl { grid-template-columns: minmax(0, 1fr); }
    .crm-progress-card .crm-progress-field-wide { grid-column: auto; }
    .rejection-summary { flex-direction: column; }
    .rejection-detail-card dl { grid-template-columns: minmax(0, 1fr); }
    .rejection-detail-card dl .wide { grid-column: auto; }
}

/* ===== 我的方案：网页与小程序共用的历史选校方案 ===== */
.my-plans-overview {
    display: grid; grid-template-columns: 220px minmax(0, 1fr); padding: 0; overflow: hidden;
    background: linear-gradient(120deg, #f4f8ff 0%, #fff 70%);
}
.my-plans-overview__stat { display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-right: 1px solid #e7edf6; }
.my-plans-overview__icon {
    width: 46px; height: 46px; display: inline-flex; flex: 0 0 46px; align-items: center; justify-content: center;
    border-radius: 14px; background: #e4efff; color: var(--primary); font-size: 21px;
}
.my-plans-overview__stat > div { display: flex; flex-direction: column; }
.my-plans-overview__stat strong { color: var(--primary); font-size: 27px; line-height: 1; }
.my-plans-overview__stat span:not(.my-plans-overview__icon) { margin-top: 6px; color: #6f7c91; font-size: 12px; }
.my-plans-overview__sync { display: flex; align-items: center; gap: 16px; min-width: 0; padding: 18px 24px; }
.my-plans-overview__sync > div { min-width: 0; }
.my-plans-overview__sync b { display: block; color: #46536a; font-size: 13px; }
.my-plans-overview__sync p { margin: 5px 0 0; color: #8994a6; font-size: 12px; line-height: 1.6; }
.my-plans-sync-pill { flex: 0 0 auto; padding: 7px 11px; border-radius: 999px; background: #e7f7f1; color: #188263; font-size: 12px; font-weight: 600; }
.my-plans-sync-pill i { margin-right: 3px; font-style: normal; }
.my-plans-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 18px; }
.my-plan-card { position: relative; min-width: 0; padding: 0; overflow: hidden; transition: border-color .18s, box-shadow .18s, transform .18s; }
.my-plan-card::before { position: absolute; z-index: 1; top: 0; left: 0; width: 100%; height: 3px; background: linear-gradient(90deg, #2d75f3, #80aaff); content: ''; }
.my-plan-card:hover { border-color: #cbdcf6; box-shadow: 0 13px 30px rgba(41, 91, 164, .09); transform: translateY(-1px); }
.my-plan-card.is-imported { border-color: #d8eee7; }
.my-plan-card.is-imported::before { background: linear-gradient(90deg, #16a178, #8bd8bc); }
.my-plan-card__head {
    display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 21px 24px 18px;
    border-bottom: 1px solid #e9eef5; background: linear-gradient(105deg, #fbfdff, #fff);
}
.my-plan-card__identity { min-width: 0; }
.my-plan-card__eyebrow { display: block; margin-bottom: 6px; color: #7791ba; font-size: 12px; font-weight: 700; letter-spacing: 1.3px; }
.my-plan-card__title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.my-plan-card__title h2 { margin: 0; color: #29344a; font-size: 19px; line-height: 1.35; }
.my-plan-card__title > span { flex: 0 0 auto; padding: 5px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.my-plan-card__title span.is-ready { color: #1e67c7; background: #e9f2ff; }
.my-plan-card__title span.is-success { color: #15815f; background: #e5f7f0; }
.my-plan-card__meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 8px; color: #8b96a8; font-size: 12px; }
.my-plan-card__meta i { margin-right: 3px; color: #7386a4; font-style: normal; }
.my-plan-expand {
    width: 100%; min-height: 40px; display: flex; align-items: center; justify-content: center; gap: 5px;
    padding: 9px 12px; border: 0; border-radius: 8px; background: #f7f9fc;
    color: #58739b; font-size: 12px; font-weight: 600; transition: background .18s, color .18s;
}
.my-plan-expand:hover { background: #edf4ff; color: var(--primary); }
.my-plan-expand i { font-size: 12px; vertical-align: middle; }
.my-plan-card__body { display: grid; grid-template-columns: minmax(250px, 31%) minmax(0, 1fr); gap: 24px; padding: 22px 24px; }
.my-plan-context { min-width: 0; padding: 17px; border: 1px solid #e8eef7; border-radius: 12px; background: #f8faff; }
.my-plan-majors { min-width: 0; }
.my-plan-section-title { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.my-plan-section-title span { color: #3f4c62; font-size: 13px; font-weight: 700; }
.my-plan-section-title small { color: #98a3b4; font-size: 12px; }
.my-plan-profile { display: grid; grid-template-columns: minmax(0, 1fr); gap: 8px; }
.my-plan-profile > div { min-width: 0; padding: 10px 11px; border: 1px solid #edf1f7; border-radius: 9px; background: #fff; }
.my-plan-profile small, .my-plan-profile b { display: block; }
.my-plan-profile small, .my-plan-directions > small { color: #929daf; font-size: 12px; }
.my-plan-profile b { margin-top: 5px; overflow: hidden; color: #465369; font-size: 12px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.my-plan-directions { margin-top: 12px; }
.my-plan-directions > div { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.my-plan-directions span { padding: 5px 9px; border-radius: 999px; background: #eaf2ff; color: #426ca9; font-size: 12px; }
.my-plan-directions em { color: #a4acb9; font-size: 12px; font-style: normal; }
.my-plan-preview, .my-plan-major-list { display: grid; gap: 8px; }
.my-plan-preview__item, .my-plan-major-row { display: flex; align-items: center; gap: 11px; min-width: 0; padding: 11px 12px; border: 1px solid #e8edf4; border-radius: 10px; background: #fff; transition: border-color .15s, background .15s; }
.my-plan-preview__item:hover, .my-plan-major-row:hover { border-color: #cfddf0; background: #fbfdff; }
.my-plan-preview__item > div, .my-plan-major-row__name { min-width: 0; flex: 1; }
.my-plan-preview__item b, .my-plan-preview__item small, .my-plan-major-row__name b, .my-plan-major-row__name small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.my-plan-preview__item b, .my-plan-major-row__name b { color: #3f4d64; font-size: 12px; }
.my-plan-preview__item small, .my-plan-major-row__name small { margin-top: 4px; color: #8f9bad; font-size: 12px; }
.my-plan-preview > p { margin: 3px 0 0; color: #8e98a9; font-size: 12px; text-align: center; }
.my-plan-school-logo { width: 38px; height: 38px; display: inline-flex; flex: 0 0 38px; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #e3eaf4; border-radius: 9px; background: #f5f8fd; color: var(--primary); }
.my-plan-school-logo img { width: 100%; height: 100%; object-fit: contain; }
.my-plan-school-logo b { font-size: 12px; }
.my-plan-recommend { flex: 0 0 auto; min-width: 34px; padding: 5px 8px; border-radius: 999px; color: var(--primary); background: var(--brand-soft); font-size: 12px; text-align: center; white-space: nowrap; }
.my-plan-recommend.recommend-reach { color: #c26e3e; background: #fef0e6; }
.my-plan-recommend.recommend-fallback { color: #a96345; background: #fef1e9; }
.my-plan-recommend.recommend-prudent { color: #148362; background: #e3f7ef; }
.my-plan-major-list { max-height: none; overflow: visible; padding-right: 0; }
.my-plan-rank { flex: 0 0 auto; padding: 4px 7px; border-radius: 6px; background: #f1f4f8; color: #66758e; font-size: 12px; white-space: nowrap; }
.my-plan-card__actions { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 24px; border-top: 1px solid #e9eef5; background: #fbfcfe; }
.my-plan-card__actions > span { display: flex; align-items: center; gap: 8px; color: #7f8a9c; font-size: 12px; line-height: 1.6; }
.my-plan-card__actions > span i { width: 19px; height: 19px; display: inline-flex; flex: 0 0 19px; align-items: center; justify-content: center; border-radius: 50%; background: #eaf2ff; color: #3975c9; font-size: 12px; font-style: normal; font-weight: 700; }
.my-plan-card.is-imported .my-plan-card__actions > span i { background: #e5f7f0; color: #15815f; }
.my-plan-card__buttons { display: flex; align-items: center; justify-content: flex-end; gap: 10px; flex: 0 0 auto; }
.my-plan-card__buttons > button { min-width: 138px; flex: 0 0 auto; }
.my-plan-delete-btn { min-width: 112px !important; border-color: #efc9cd; color: #b6505a; background: #fff; font-size: 12px; }
.my-plan-delete-btn:hover:not(:disabled) { border-color: #d98f97; color: #a43f49; background: #fff6f7; }
.my-plans-empty { min-height: 310px; }
.my-plan-card.is-skeleton { min-height: 315px; padding: 24px; }
.my-plan-card.is-skeleton::before { opacity: .25; }
.my-plan-skeleton-title { width: 28%; height: 20px; }
.my-plan-skeleton-meta { width: 45%; height: 10px; margin-top: 12px; }
.my-plan-skeleton-majors { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 72px; }
.my-plan-skeleton-majors span { width: 100%; height: 54px; }

@media (max-width: 900px) {
    .my-plan-card__body { grid-template-columns: minmax(0, 1fr); }
    .my-plan-profile { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .my-plans-overview { grid-template-columns: minmax(0, 1fr); }
    .my-plans-overview__stat { border-right: 0; border-bottom: 1px solid #e7edf6; }
    .my-plan-skeleton-majors { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 560px) {
    .my-plans-overview__stat, .my-plans-overview__sync { padding: 16px; }
    .my-plans-overview__sync { align-items: flex-start; flex-direction: column; gap: 10px; }
    .my-plan-card__head { align-items: stretch; flex-direction: column; gap: 14px; padding: 19px 17px 16px; }
    .my-plan-card__title { align-items: flex-start; flex-direction: column; gap: 7px; }
    .my-plan-card__title h2 { font-size: 17px; }
    .my-plan-card__body { gap: 17px; padding: 17px; }
    .my-plan-context { padding: 14px; }
    .my-plan-profile { grid-template-columns: minmax(0, 1fr); }
    .my-plan-preview__item, .my-plan-major-row { align-items: flex-start; flex-wrap: wrap; }
    .my-plan-preview__item > div, .my-plan-major-row__name { flex-basis: calc(100% - 49px); }
    .my-plan-rank { margin-left: 49px; }
    .my-plan-card__actions { align-items: stretch; flex-direction: column; padding: 15px 17px 17px; }
    .my-plan-card__buttons { align-items: stretch; flex-direction: column; }
    .my-plan-card__buttons > button { width: 100%; }
}

/* 材料审核通过后的待递交提醒 */
.dashboard-submit-reminder {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    padding: 18px 20px;
    border: 1px solid #bcd7ff;
    border-radius: 14px;
    background: linear-gradient(110deg, #edf5ff 0%, #fff 75%);
    box-shadow: 0 8px 24px rgba(39, 111, 214, .08);
}
.dashboard-submit-reminder__icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border-radius: 12px;
    color: #fff;
    background: #2d75f3;
    font-size: 20px;
    font-weight: 800;
}
.dashboard-submit-reminder > div { min-width: 0; flex: 1; }
.dashboard-submit-reminder strong { display: block; color: #27466f; font-size: 16px; line-height: 1.5; }
.dashboard-submit-reminder p { margin: 4px 0 0; color: #6e7d91; font-size: 12px; line-height: 1.6; }
.dashboard-submit-reminder .primary-btn { flex: 0 0 auto; font-size: 12px; }
.filter-pills button { font-size: 12px; }
.status-tag { font-size: 12px; }
.notification-popover-head small,
.notification-popover-head button,
.notification-popover-foot button,
.message-overview-card small,
.message-overview-card em,
.message-overview-card button,
.message-tabs b,
.message-tabs small,
.message-tabs em,
.message-detail-todo b,
.message-detail-todo small,
.message-detail-todo .primary-btn,
.message-detail-todo .outline-btn { font-size: 12px; }
.messages-view .eyebrow,
.message-list-head p,
.message-list-tip,
.message-loading,
.message-empty,
.message-empty p,
.message-card-main em,
.message-card-main i,
.message-card-main p,
.message-card-main small,
.message-pagination,
.message-pagination button,
.message-detail-type span,
.message-detail-type small,
.message-detail-footer,
.todo-workspace-head p,
.todo-workspace-head small,
.todo-material-card-main p,
.todo-material-card-actions .text-btn,
.todo-material-card-actions .primary-btn,
.todo-profile-banner b,
.todo-profile-banner small,
.todo-profile-banner button { font-size: 12px; }
.message-card-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid #f1f0f5; }
.message-card-row > .message-card { min-width: 0; flex: 1; border-bottom: 0; }
.message-card-actions { display: flex; flex: 0 0 auto; align-items: center; gap: 8px; }
.message-direct-upload { flex: 0 0 auto; padding: 8px 12px; border: 0; border-radius: 7px; color: #fff; background: #246bfd; font-size: 12px; font-weight: 600; white-space: nowrap; }
.message-direct-upload:hover { background: #1758d8; }
.message-direct-upload:disabled { cursor: wait; opacity: .55; }
.message-view-detail { flex: 0 0 auto; padding: 7px 12px; border: 1px solid #d8dce8; border-radius: 7px; color: #535670; background: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; }
.message-view-detail:hover { border-color: #246bfd; color: #246bfd; background: #f5f8ff; }
@media (max-width: 480px) {
    .message-card-row { align-items: stretch; flex-direction: column; gap: 0; padding-bottom: 12px; }
    .message-card-actions { align-self: flex-end; margin-right: 4px; }
}
.plan-card.plan-card-focus {
    border-color: #2d75f3;
    box-shadow: 0 0 0 4px rgba(45, 117, 243, .14), 0 14px 32px rgba(45, 117, 243, .16);
    animation: uapply-plan-focus 1.1s ease-in-out 2;
}
@keyframes uapply-plan-focus {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}
@media (max-width: 680px) {
    .dashboard-submit-reminder { align-items: flex-start; flex-wrap: wrap; }
    .dashboard-submit-reminder > div { flex-basis: calc(100% - 58px); }
    .dashboard-submit-reminder .primary-btn { width: 100%; }
}

/* Firefox / Safari 最终兼容覆盖 ------------------------------------------ */
/* 旧版 WebKit 不支持 inset；显式四边定位作为降级。 */
.account-avatar-preview .spinner,
.guide-mask { top: 0; right: 0; bottom: 0; left: 0; }

/* overflow-wrap:anywhere 不可用时，长链接、专业名和 CRM 文本仍可断行。 */
.snapshot-detail-grid span,
.snapshot-kv-grid span,
.smart-major-title h4,
.smart-major-title p,
.smart-major-details dd,
.crm-progress-card dd,
.crm-progress-timeline p { word-break: break-word; overflow-wrap: anywhere; }

/* 让 Firefox 与尚未支持 :focus-visible 的 Safari 仍保留键盘焦点提示。 */
.support-card:focus { outline: 2px solid rgba(63, 116, 224, .35); outline-offset: 2px; }
.application-flow-step:focus,
.planning-stage-button:focus,
.dashboard-planning-bar:focus { outline: 2px solid rgba(36, 107, 253, .3); outline-offset: -1px; }

/* iOS 的动态地址栏与软键盘会改变可视高度；不支持 dvh 时继续使用前一条 vh。 */
.modal-card { max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); }
.more-schools-dialog .el-dialog__body { max-height: calc(100vh - 240px); max-height: calc(100dvh - 240px); }
.message-detail-content { max-height: min(380px, calc(100vh - 360px)); max-height: min(380px, calc(100dvh - 360px)); }
.crm-progress-grid { max-height: calc(100vh - 265px); max-height: calc(100dvh - 265px); }
.modal-card.crm-progress-modal { overflow: auto; }
.major-info > :first-child { min-width: 0; }

/* 桌面浏览器窄窗口仍保留侧栏时，业务区提前切为单列，避免原生控件被压缩。 */
@media (min-width: 801px) and (max-width: 900px) {
    .profile-layout,
    .plan-list,
    .plan-skeleton-list,
    .message-center { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 700px) {
    .crm-progress-grid { max-height: calc(100vh - 285px); max-height: calc(100dvh - 285px); }
    .application-fee-heading, .application-fee-proof-head, .application-fee-footer { align-items: flex-start; flex-direction: column; }
    .application-fee-meta, .application-fee-form { grid-template-columns: minmax(0, 1fr); }
    .application-fee-status { align-self: flex-start; }
    .application-fee-footer > span { margin-right: 0; }
    .application-fee-footer .outline-btn, .application-fee-footer .primary-btn { width: 100%; }
}

/* Safari 触屏滚动保持惯性，Firefox 会忽略 WebKit 专有声明。 */
.modal-card,
.requirement-list,
.modal-file-list,
.notification-popover,
.message-detail-content,
.more-schools-dialog .el-dialog__body,
.crm-progress-grid { -webkit-overflow-scrolling: touch; }

/* iOS Safari 会在聚焦小于 16px 的表单控件时自动缩放页面。 */
@media (hover: none) and (pointer: coarse) {
    #uapply_app input:not([type="checkbox"]):not([type="radio"]):not([type="file"]),
    #uapply_app select,
    #uapply_app textarea,
    #uapply_app .el-input__inner { font-size: 16px; }
    #uapply_app button,
    #uapply_app a,
    #uapply_app input,
    #uapply_app select,
    #uapply_app textarea { touch-action: manipulation; }
}

/* 案例库 */
.cases-view { display: grid; gap: 22px; }
.cases-view .page-heading { margin-bottom: 0; }
.cases-view .eyebrow { font-size: 12px; }
.case-library-filter { padding: 20px 22px; }
.case-library-filter-fields { display: grid; grid-template-columns: minmax(260px, 1.7fr) repeat(3, minmax(145px, 1fr)) auto; gap: 12px; align-items: end; }
.case-library-field { min-width: 0; display: grid; gap: 6px; color: #475467; font-size: 12px; font-weight: 650; }
.case-library-field .el-input, .case-library-field .el-select { width: 100%; }
.case-library-field .el-input__inner { height: 40px; line-height: 40px; padding: 0 12px; border-color: #dfe3ee; border-radius: 8px; color: var(--ink); font-size: 13px; }
.case-library-field .el-input__inner:focus { border-color: var(--primary); }
.case-library-field .el-input__icon { line-height: 40px; }
.case-library-field .el-select .el-tag { max-width: calc(100% - 56px); font-size: 12px; }
.case-library-filter-actions { display: flex; justify-content: flex-end; gap: 8px; }
.case-library-filter-actions .el-button { height: 40px; min-width: 96px; padding: 0 20px; border-radius: 8px; font-size: 13px; font-weight: 650; }
.case-library-filter-actions .el-button--primary { background: var(--primary); border-color: var(--primary); }
.case-library-results-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 18px; }
.case-library-mode-switch { display: inline-flex; gap: 4px; margin-bottom: 10px; padding: 4px; border: 1px solid #dfe5ee; border-radius: 10px; background: #f5f7fa; }
.case-library-mode-switch button { min-width: 86px; height: 32px; padding: 0 13px; border: 0; border-radius: 7px; color: #66758a; background: transparent; cursor: pointer; font-size: 12px; font-weight: 700; transition: color .16s ease, background .16s ease, box-shadow .16s ease; }
.case-library-mode-switch button:hover { color: var(--primary); }
.case-library-mode-switch button.is-active { color: var(--primary); background: #fff; box-shadow: 0 3px 10px rgba(31, 68, 120, .1); }
.case-library-mode-switch button:disabled { cursor: wait; opacity: .55; }
.case-library-results-title { display: flex; flex-wrap: wrap; align-items: center; gap: 9px; margin-bottom: 4px; }
.case-library-results-head h2 { margin: 0 0 4px; color: var(--ink); font-size: 18px; }
.case-library-results-title h2 { margin-bottom: 0; }
.case-library-demo-badge { display: inline-flex; align-items: center; min-height: 24px; padding: 3px 9px; border: 1px solid #a9cffb; border-radius: 999px; color: #145aa7; background: #eaf4ff; font-size: 12px; font-weight: 700; }
.case-library-results-head p { margin: 0; color: var(--muted); font-size: 12px; }
.case-library-results-head p b { color: var(--primary); }
.case-library-privacy { flex: 0 0 auto; color: var(--muted-light); font-size: 12px; }
.case-profile-panel { display: grid; grid-template-columns: minmax(220px, .72fr) minmax(0, 2fr); align-items: center; gap: 18px; padding: 16px 18px; overflow: hidden; background: linear-gradient(105deg, #f3f8ff 0%, #fff 46%); }
.case-profile-copy { min-width: 0; padding-right: 18px; border-right: 1px solid #dfe7f2; }
.case-profile-title-line { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.case-profile-title-line h2 { margin: 0; color: #223955; font-size: 17px; }
.case-profile-title-line > span { min-height: 25px; display: inline-flex; align-items: center; padding: 3px 9px; border-radius: 999px; color: #54657c; background: #e9eef5; font-size: 12px; font-weight: 750; }
.case-profile-title-line > span.is-archive { color: #08704f; background: #dcf5e9; }
.case-profile-copy > p { margin: 7px 0 0; color: #718096; font-size: 12px; line-height: 1.6; }
.case-profile-content { min-width: 0; display: flex; align-items: center; gap: 12px; }
.case-profile-loading, .case-profile-values { min-width: 0; flex: 1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.case-profile-loading > span { height: 54px; border-radius: 9px; }
.case-profile-values { margin: 0; }
.case-profile-values > div { min-width: 0; padding: 9px 11px; border-radius: 9px; background: #f6f8fb; }
.case-profile-values dt { margin: 0 0 3px; color: #7a8799; font-size: 12px; }
.case-profile-values dd { margin: 0; overflow: hidden; color: #243a56; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.case-profile-edit { flex: 0 0 auto; min-height: 34px; padding: 6px 10px; font-size: 12px; font-weight: 700; }
.case-profile-empty { min-width: 0; flex: 1; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.case-profile-empty > div { min-width: 0; }
.case-profile-empty b { display: block; color: #263b57; font-size: 14px; }
.case-profile-empty p { margin: 4px 0 0; color: #65758b; font-size: 12px; line-height: 1.6; }
.case-profile-empty .primary-btn { flex: 0 0 auto; min-height: 38px; padding: 8px 14px; font-size: 12px; }
.case-library-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.case-library-card { min-width: 0; padding: 21px; border-color: #e1e8f2; border-radius: 16px; background: #fff; box-shadow: 0 7px 22px rgba(31, 55, 88, .055); transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
.case-library-card:not(.is-skeleton) { position: relative; display: flex; min-height: 410px; overflow: hidden; flex-direction: column; }
.case-library-card:not(.is-skeleton)::before { content: ''; position: absolute; top: 0; right: 0; left: 0; height: 3px; background: linear-gradient(90deg, #246bfd 0%, #75a6ff 55%, #c4d8ff 100%); opacity: .78; }
.case-library-card:hover { border-color: #afcbf8; box-shadow: 0 16px 36px rgba(25, 75, 155, .12); transform: translateY(-3px); }
.case-library-card.is-compared { border-color: #76a7fa; box-shadow: 0 0 0 3px rgba(45, 117, 243, .11), 0 14px 32px rgba(25, 75, 155, .1); }
.case-library-card.is-similar { background: linear-gradient(155deg, #f7fffb 0%, #fff 38%); }
.case-library-card.is-similar::before { background: linear-gradient(90deg, #25a779 0%, #75d2ae 58%, #c6efdf 100%); }
.case-library-card-head { display: flex; min-width: 0; align-items: flex-start; justify-content: space-between; gap: 10px; }
.case-library-card:not(.is-skeleton) .case-library-card-head { position: absolute; z-index: 1; top: 20px; right: 20px; }
.case-library-card-badges { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 13px; }
.case-library-card-badges > strong, .case-library-card-badges > span, .case-library-card-badges > em, .case-library-card-badges > i { min-height: 24px; display: inline-flex; align-items: center; padding: 3px 8px; border: 1px solid transparent; border-radius: 999px; font-size: 12px; font-style: normal; font-weight: 700; line-height: 1.2; }
.case-library-similarity { color: #0b7653; background: #dff6eb; }
.case-library-similarity.is-high { color: #075f43; background: #ccefdc; box-shadow: inset 0 0 0 1px #afe0c7; }
.case-library-similarity.is-reference { color: #756229; background: #faf3d8; }
.case-library-term { border-color: #d6eee3 !important; color: #0a6f4d; background: #edf9f4; }
.case-library-offer-type { border-color: #d7e6ff !important; color: var(--primary-dark); background: #edf4ff; }
.case-library-cycle { border-color: #c8ddfb !important; color: #2a69bd; background: #f1f7ff; }
.case-library-history-mark { border-color: #ecd8a6 !important; color: #80600c; background: #fff8df; }
.case-library-demo-mark { border-color: #e2e6ec !important; color: #657287; background: #f5f6f8; }
.case-library-avatar { width: 28px; height: 28px; flex: 0 0 28px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dfe8f5; border-radius: 50%; object-fit: cover; background: #f5f8fc; }
.case-library-avatar--fallback { color: var(--primary); font-size: 12px; font-weight: 800; }
.case-library-collect { width: 38px; height: 38px; flex: 0 0 38px; border: 1px solid #dce4f0; border-radius: 50%; color: #8795a8; background: #f9fbfd; cursor: pointer; font-size: 21px; line-height: 1; box-shadow: 0 3px 10px rgba(34, 55, 84, .05); transition: border-color .18s ease, color .18s ease, background .18s ease, box-shadow .18s ease, transform .18s ease; }
.case-library-collect:hover, .case-library-collect.is-collected { border-color: #f0c451; color: #d59600; background: #fff8df; box-shadow: 0 5px 14px rgba(200, 145, 0, .14); transform: translateY(-1px); }
.case-library-collect.is-busy { cursor: wait; opacity: .55; }
.case-library-card h3 { margin: 1px 52px 5px 0; overflow: hidden; color: #142a47; font-size: 19px; line-height: 1.35; text-overflow: ellipsis; white-space: nowrap; }
.case-library-major { min-height: 40px; margin: 0; overflow: hidden; color: #53647b; display: -webkit-box; font-size: 13px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.case-library-match-reasons { min-height: 31px; margin: 11px 0 0; padding: 8px 10px; border: 1px solid #d9f0e5; border-radius: 9px; color: #176249; background: #f0faf5; font-size: 12px; line-height: 1.4; }
.case-library-background-title { display: flex; align-items: center; gap: 10px; margin: 16px 0 8px; color: #516176; font-size: 12px; font-weight: 750; }
.case-library-background-title::after { content: ''; height: 1px; flex: 1; background: #e7ecf3; }
.case-library-background { display: grid; overflow: hidden; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border: 1px solid #e5ebf3; border-radius: 12px; background: #f8fafc; }
.case-library-background > span { min-width: 0; min-height: 59px; padding: 10px 12px; overflow: hidden; color: #2d4059; background: transparent; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.case-library-background > span:nth-child(odd) { border-right: 1px solid #e5ebf3; }
.case-library-background > span:nth-child(-n + 2) { border-bottom: 1px solid #e5ebf3; }
.case-library-background i { display: block; margin-bottom: 4px; color: #8491a3; font-size: 12px; font-style: normal; }
.case-library-student-line { min-width: 0; display: flex; align-items: center; gap: 8px; margin-top: auto; padding-top: 14px; color: #718096; font-size: 12px; }
.case-library-student-line > span:last-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-library-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 9px; margin-top: 14px; padding-top: 14px; border-top: 1px solid #edf0f5; color: var(--muted); font-size: 12px; }
.case-library-card-foot b { color: inherit; font-size: 17px; }
.case-library-compare-toggle, .case-library-detail-toggle { min-width: 0; min-height: 36px; display: inline-flex; align-items: center; justify-content: center; flex: 1; padding: 6px 10px; border-radius: 9px; cursor: pointer; font-size: 12px; font-weight: 700; transition: border-color .16s ease, color .16s ease, background .16s ease, box-shadow .16s ease; }
.case-library-compare-toggle { border: 1px solid #d4dfed; color: #53647a; background: #fff; }
.case-library-compare-toggle:hover, .case-library-compare-toggle.is-selected { border-color: #8bb4f8; color: var(--primary); background: #edf4ff; }
.case-library-detail-toggle { gap: 6px; border: 1px solid var(--primary); color: #fff; background: var(--primary); box-shadow: 0 5px 12px rgba(36, 107, 253, .16); }
.case-library-detail-toggle:hover { border-color: #155ae2; color: #fff; background: #155ae2; box-shadow: 0 7px 16px rgba(36, 107, 253, .23); }
.case-library-card.is-skeleton { min-height: 330px; cursor: default; pointer-events: none; }
.case-library-card.is-skeleton .case-library-card-head > div { flex: 1; }
.case-library-skeleton-name { width: 90px; height: 13px; border-radius: 5px; }
.case-library-skeleton-meta { width: 62%; height: 11px; margin-top: 7px; border-radius: 5px; }
.case-library-skeleton-title { width: 78%; height: 16px; margin-top: 46px; border-radius: 5px; }
.case-library-skeleton-major { width: 55%; height: 12px; margin-top: 9px; border-radius: 5px; }
.case-library-card.is-skeleton .case-library-background > span { height: 52px; padding: 0; }
.case-library-state { padding: 54px 24px; text-align: center; }
.case-library-state-icon { width: 48px; height: 48px; display: inline-flex; align-items: center; justify-content: center; border-radius: 14px; color: var(--primary); background: var(--primary-soft); font-size: 22px; font-weight: 800; }
.case-library-state h3 { margin: 14px 0 5px; color: var(--ink); font-size: 17px; }
.case-library-state p { margin: 0 0 18px; color: var(--muted); font-size: 13px; }
.case-library-pagination { display: flex; flex-wrap: wrap; padding: 8px; align-items: center; justify-content: center; gap: 5px; border: 1px solid var(--line); border-radius: 12px; background: #fff; box-shadow: 0 5px 16px rgba(23, 49, 86, .05); }
.case-library-page-item { min-width: 34px; height: 34px; padding: 0 10px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 7px; color: #536176; background: #fff; cursor: pointer; font-size: 12px; font-weight: 650; transition: border-color .15s ease, color .15s ease, background .15s ease; }
.case-library-page-item:hover:not(.is-disabled):not(.is-current) { border-color: #c2d4ef; color: var(--primary); background: #f5f8fd; }
.case-library-page-item.is-current { border-color: var(--primary); color: #fff; background: var(--primary); box-shadow: 0 5px 12px rgba(36, 107, 253, .22); }
.case-library-page-item.is-disabled { color: #a8b1bf; cursor: not-allowed; }
.case-library-page-ellipsis { min-width: 24px; display: inline-flex; align-items: center; justify-content: center; color: #a8b1bf; font-size: 12px; }

.case-compare-bar { position: fixed; z-index: 58; left: calc(238px + (100vw - 238px) / 2); bottom: 22px; width: min(760px, calc(100vw - 310px)); display: flex; align-items: center; gap: 14px; padding: 12px 14px 12px 17px; border: 1px solid #cbdcf5; border-radius: 14px; background: rgba(255, 255, 255, .97); box-shadow: 0 18px 45px rgba(29, 61, 110, .2); transform: translateX(-50%); backdrop-filter: blur(12px); }
.case-compare-bar > div:first-child { min-width: 0; display: grid; flex: 1; gap: 2px; }
.case-compare-bar b { color: #213753; font-size: 13px; }
.case-compare-bar > div:first-child span { color: #758296; font-size: 12px; }
.case-compare-bar-items { display: flex; align-items: center; }
.case-compare-bar-items span { width: 31px; height: 31px; display: inline-flex; align-items: center; justify-content: center; margin-left: -5px; border: 2px solid #fff; border-radius: 50%; color: var(--primary); background: #e9f2ff; font-size: 12px; font-weight: 800; }
.case-compare-clear { min-height: 36px; padding: 0 8px; border: 0; color: #66758a; background: transparent; cursor: pointer; font-size: 12px; }
.case-compare-bar .primary-btn { min-width: 94px; min-height: 38px; font-size: 12px; }
.case-compare-bar .primary-btn:disabled { cursor: not-allowed; opacity: .5; }
.case-compare-mask { z-index: 72; padding: 24px; overflow-y: auto; }
.case-compare-modal { width: min(1160px, calc(100vw - 48px)); max-width: 1160px; max-height: calc(100vh - 48px); margin: auto; padding: 0; overflow: auto; }
.case-compare-modal > .modal-close { z-index: 3; top: 17px; right: 18px; }
.case-compare-head { padding: 25px 62px 21px 25px; border-bottom: 1px solid #e5ebf4; background: linear-gradient(120deg, #edf5ff, #fff 68%); }
.case-compare-head p { margin: 0 0 5px; color: var(--primary); font-size: 12px; font-weight: 800; letter-spacing: .12em; }
.case-compare-head h2 { margin: 0; color: #1b304d; font-size: 22px; }
.case-compare-head span { display: block; margin-top: 6px; color: #6f7d90; font-size: 12px; }
.case-compare-warning { margin: 16px 20px 0; padding: 10px 12px; border-radius: 8px; color: #8a6410; background: #fff8df; font-size: 12px; }
.case-compare-table-wrap { padding: 20px; overflow-x: auto; }
.case-compare-table { width: 100%; min-width: 780px; border-spacing: 0; border-collapse: separate; table-layout: fixed; }
.case-compare-table th, .case-compare-table td { padding: 13px 14px; border-right: 1px solid #e7ecf3; border-bottom: 1px solid #e7ecf3; color: #34475f; background: #fff; font-size: 12px; line-height: 1.5; text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.case-compare-table tr > *:first-child { width: 118px; border-left: 1px solid #e7ecf3; color: #738096; background: #f7f9fc; font-weight: 700; }
.case-compare-table thead th { position: relative; padding-top: 17px; border-top: 1px solid #e7ecf3; background: #f9fbfe; }
.case-compare-table thead th:first-child { border-top-left-radius: 11px; }
.case-compare-table thead th:last-child { border-top-right-radius: 11px; }
.case-compare-table thead th b { display: block; padding-right: 20px; color: #1f3552; font-size: 14px; }
.case-compare-table thead th span { display: block; margin-top: 5px; color: #66768b; font-size: 12px; font-weight: 400; }
.case-compare-history { display: inline-flex; margin-top: 7px; padding: 3px 7px; border-radius: 6px; color: #80600c; background: #fff3c8; font-size: 12px; font-style: normal; font-weight: 700; }
.case-compare-remove { position: absolute; top: 8px; right: 8px; width: 26px; height: 26px; border: 0; border-radius: 7px; color: #8290a2; background: transparent; cursor: pointer; font-size: 18px; }
.case-compare-remove:hover { color: #d14949; background: #fff0f0; }
.case-compare-similarity { display: inline-flex; margin-bottom: 5px; padding: 3px 7px; border-radius: 6px; color: #0a6f4d; background: #e4f7ee; font-size: 12px; }
.case-compare-table td > span { display: block; }
.case-compare-actions td { white-space: normal; }
.case-compare-actions button { display: inline-flex; align-items: center; justify-content: center; min-height: 32px; margin: 0 7px 7px 0; padding: 5px 9px; border: 1px solid #cfddf0; border-radius: 7px; color: var(--primary); background: #fff; cursor: pointer; font-size: 12px; font-weight: 700; }
.case-compare-actions button.is-collected { border-color: #f0ce79; color: #9a7000; background: #fff9e9; }

.case-detail-mask { z-index: 65; padding: 28px; overflow-y: auto; }
.case-detail-modal { width: min(940px, calc(100vw - 40px)); max-width: 940px; max-height: none; margin: auto; padding: 0; overflow: hidden; background: #f8fbff; }
.case-detail-modal > .modal-close { z-index: 4; top: 18px; right: 18px; color: #64748b; background: #fff; }
.case-detail-loading { min-height: 420px; display: flex; align-items: center; justify-content: center; gap: 10px; color: var(--muted); font-size: 14px; }
.case-detail-error { min-height: 420px; border: 0; box-shadow: none; }
.case-detail-hero { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 28px 82px 28px 30px; border-bottom: 1px solid #dce6f2; background: #fff; }
.case-detail-hero-main { min-width: 0; display: flex; align-items: center; gap: 17px; }
.case-detail-school-logo { width: 62px; height: 62px; flex: 0 0 62px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid #d5e1ee; border-radius: 14px; background: #fff; }
.case-detail-school-logo img { max-width: 86%; max-height: 86%; object-fit: contain; }
.case-detail-school-logo span { color: var(--primary); font-size: 21px; font-weight: 800; }
.case-detail-heading { min-width: 0; }
.case-detail-kicker { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 7px; }
.case-detail-kicker span, .case-detail-kicker em, .case-detail-kicker i { padding: 4px 8px; border-radius: 6px; font-size: 12px; font-style: normal; font-weight: 700; }
.case-detail-kicker span { color: #118161; background: #e6f7ef; }
.case-detail-kicker em { color: #2d6fbe; background: #e9f2ff; }
.case-detail-kicker i { color: #8a690d; background: #fff6d8; }
.case-detail-heading h2 { margin: 0; color: #253b58; font-size: 23px; line-height: 1.35; }
.case-detail-heading p { margin: 5px 0 0; color: #718096; font-size: 14px; line-height: 1.5; }
.case-detail-collect { min-width: 104px; height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 1px solid #cbdced; border-radius: 8px; color: #53657d; background: #fff; cursor: pointer; font-size: 13px; font-weight: 700; }
.case-detail-collect span { color: #d79b00; font-size: 18px; }
.case-detail-collect.is-collected { border-color: #efd37f; color: #997000; background: #fffaf0; }
.case-detail-collect.is-busy { cursor: wait; opacity: .55; }
.case-detail-content { display: grid; grid-template-columns: minmax(255px, .65fr) minmax(0, 1.35fr); gap: 18px; padding: 24px 30px 0; }
.case-detail-section { min-width: 0; padding: 20px; border: 1px solid #dce6f2; border-radius: 14px; background: #fff; }
.case-detail-section-head { display: flex; align-items: center; gap: 10px; }
.case-detail-section-head > span { width: 30px; height: 30px; flex: 0 0 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 9px; color: var(--primary); background: #eaf3ff; font-size: 12px; font-weight: 800; }
.case-detail-section-head h3 { margin: 0; color: #31445d; font-size: 16px; }
.case-detail-section-head p { margin: 3px 0 0; color: #8795a8; font-size: 12px; }
.case-detail-timeline-panel { border-color: #cbdff7; background: linear-gradient(180deg, #f1f7ff 0%, #fff 57%); }
.case-detail-timeline-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case-detail-cycle-card { display: grid; gap: 5px; margin: 18px 0 20px; padding: 16px; border: 1px solid #cce0fa; border-radius: 12px; background: #fff; box-shadow: 0 7px 16px rgba(43, 109, 197, .08); }
.case-detail-cycle-card > span { color: #6380a3; font-size: 12px; font-weight: 700; }
.case-detail-cycle-card strong { color: #226fd9; font-size: 34px; font-weight: 750; line-height: 1; letter-spacing: -.5px; }
.case-detail-cycle-card strong.case-detail-cycle-same-day { font-size: 22px; letter-spacing: 0; }
.case-detail-cycle-card strong em { margin-left: 3px; color: #3b77be; font-size: 16px; font-style: normal; font-weight: 700; }
.case-detail-cycle-card p { margin: 0; color: #617a99; font-size: 12px; }
.case-detail-section-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.case-detail-section-title h3 { margin: 0; color: #31445d; font-size: 16px; }
.case-detail-section-title > span { color: #7188a7; font-size: 12px; }
.case-detail-condition-head { justify-content: space-between; }
.case-detail-condition-head > div { min-width: 0; flex: 1; }
.case-detail-condition-head > em { flex: 0 0 auto; color: #7188a7; font-size: 12px; font-style: normal; }
.case-detail-condition-list { display: grid; gap: 10px; margin-top: 16px; }
.case-detail-condition-row { padding: 12px; border: 1px solid #dce6f2; border-radius: 10px; background: #fafcff; }
.case-detail-condition-row b { display: flex; align-items: center; color: #4e6e94; font-size: 13px; }
.case-detail-condition-row b i { width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #7eaef1; }
.case-detail-condition-row p { margin: 8px 0 0; color: #283651; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.case-detail-condition-empty { margin: 15px 0 0; padding: 12px; border: 1px dashed #cfdaea; border-radius: 9px; color: #7a8ba3; background: #fafcff; font-size: 13px; }
.case-detail-score-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 9px; }
.case-detail-score-list span { padding: 3px 7px; border-radius: 5px; color: #3f78bd; background: #edf5ff; font-size: 12px; }
.case-detail-score-list em { margin-left: 4px; font-style: normal; }
.case-detail-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 14px; margin: 15px 0 0; }
.case-detail-facts > div { min-width: 0; padding: 10px 0; border-bottom: 1px solid #edf0f6; }
.case-detail-facts dt { color: #7a86a0; font-size: 12px; }
.case-detail-facts dd { margin: 5px 0 0; color: #23314a; font-size: 13px; font-weight: 650; line-height: 1.5; overflow-wrap: anywhere; }
.case-detail-facts dd a { display: inline-block; margin-left: 7px; color: var(--primary); font-size: 12px; font-weight: 600; }
.case-detail-timeline { margin: 0; padding: 0; list-style: none; }
.case-detail-timeline li { position: relative; display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 10px; min-height: 57px; padding-bottom: 15px; }
.case-detail-timeline li:last-child { min-height: 30px; padding-bottom: 0; }
.case-detail-timeline li:not(:last-child)::after { content: ''; position: absolute; top: 30px; bottom: -1px; left: 14px; width: 2px; background: #d9e7fa; }
.case-detail-timeline li > span { z-index: 1; width: 30px; height: 30px; display: inline-flex; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #3378e9; box-shadow: 0 3px 8px rgba(51, 120, 233, .25); font-size: 12px; font-weight: 800; }
.case-detail-timeline li > div { min-width: 0; padding-top: 2px; }
.case-detail-timeline b, .case-detail-timeline small { display: block; }
.case-detail-timeline b { color: #40546f; font-size: 13px; }
.case-detail-timeline small { margin-top: 4px; color: #7c8ba0; font-size: 12px; }
.case-detail-record, .case-detail-featured, .case-detail-other { margin: 18px 30px 0; }
.case-detail-featured-list { display: grid; gap: 10px; margin-top: 15px; }
.case-detail-featured-list article { padding: 12px 14px; border-left: 3px solid #4f91ef; border-radius: 0 9px 9px 0; background: #f5f9ff; }
.case-detail-featured-list b { color: #3c75ba; font-size: 13px; }
.case-detail-featured-list p { margin: 5px 0 0; color: #34425e; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.case-detail-other { margin-bottom: 30px; }
.case-detail-offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin-top: 15px; }
.case-detail-offer-grid > button { min-width: 0; display: flex; align-items: center; gap: 11px; padding: 13px; border: 1px solid #e1e8f2; border-radius: 12px; text-align: left; background: #fff; cursor: pointer; transition: border-color .18s ease, background .18s ease; }
.case-detail-offer-grid > button:hover { border-color: #bcd5fb; background: #f8fbff; }
.case-detail-offer-grid img, .case-detail-offer-fallback { width: 45px; height: 45px; flex: 0 0 45px; display: flex; align-items: center; justify-content: center; border: 1px solid #e0e7f0; border-radius: 10px; object-fit: contain; background: #fff; }
.case-detail-offer-fallback { color: var(--primary); font-size: 16px; font-weight: 800; }
.case-detail-offer-grid > button > div { min-width: 0; display: grid; flex: 1; gap: 3px; }
.case-detail-offer-grid b, .case-detail-offer-grid small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.case-detail-offer-grid b { color: #263950; font-size: 13px; }
.case-detail-offer-grid small { color: var(--muted); font-size: 12px; }
.case-detail-offer-grid em { color: #0a6f4d; font-size: 12px; font-style: normal; font-weight: 650; }
.case-detail-offer-grid > button > i { color: var(--primary); font-size: 17px; font-style: normal; }

@media (max-width: 1180px) {
    .case-library-filter-fields { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .case-library-field--keyword { grid-column: 1 / -1; }
    .case-library-filter-actions { grid-column: 1 / -1; }
    .case-profile-values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .case-library-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 800px) {
    .case-library-filter-fields { grid-template-columns: minmax(0, 1fr); }
    .case-library-field--keyword { grid-column: auto; }
    .case-library-filter-actions { grid-column: auto; }
    .case-library-filter-actions .el-button { flex: 1; }
    .case-library-grid { grid-template-columns: minmax(0, 1fr); }
    .case-library-results-head { align-items: flex-start; flex-direction: column; }
    .case-profile-panel { grid-template-columns: minmax(0, 1fr); gap: 13px; }
    .case-profile-copy { padding: 0 0 12px; border-right: 0; border-bottom: 1px solid #dfe7f2; }
    .case-profile-empty { align-items: flex-start; flex-direction: column; }
    .case-compare-bar { left: 16px; right: 16px; bottom: 16px; width: auto; transform: none; }
    .case-compare-bar-items { display: none; }
    .case-compare-mask { padding: 14px; }
    .case-compare-modal { width: calc(100vw - 28px); max-height: calc(100vh - 28px); }
    .case-compare-table-wrap { padding: 14px; }
    .case-detail-mask { padding: 14px; }
    .case-detail-modal { width: calc(100vw - 28px); }
    .case-detail-hero { padding: 24px 56px 24px 20px; }
    .case-detail-content { grid-template-columns: minmax(0, 1fr); padding: 20px 20px 18px; }
    .case-detail-record, .case-detail-featured, .case-detail-other { margin-right: 20px; margin-left: 20px; }
}
@media (max-width: 560px) {
    .case-profile-panel { padding: 17px; }
    .case-profile-values { grid-template-columns: minmax(0, 1fr); }
    .case-profile-content { align-items: stretch; flex-direction: column; }
    .case-profile-edit, .case-profile-empty .primary-btn { width: 100%; text-align: center; }
    .case-library-filter { padding: 17px; }
    .case-library-filter-actions { flex-direction: column-reverse; }
    .case-library-filter-actions .el-button { width: 100%; margin-left: 0; }
    .case-library-card { padding: 18px; }
    .case-library-card:not(.is-skeleton) { min-height: 0; }
    .case-library-card:not(.is-skeleton) .case-library-card-head { top: 17px; right: 17px; }
    .case-library-card h3 { margin-right: 48px; font-size: 18px; }
    .case-library-background { grid-template-columns: minmax(0, 1fr); }
    .case-library-background > span, .case-library-background > span:nth-child(odd), .case-library-background > span:nth-child(-n + 2) { border-right: 0; border-bottom: 1px solid #e5ebf3; }
    .case-library-background > span:last-child { border-bottom: 0; }
    .case-library-card-foot { align-items: stretch; }
    .case-library-compare-toggle, .case-library-detail-toggle { width: auto; justify-content: center; }
    .case-compare-bar { align-items: stretch; flex-wrap: wrap; }
    .case-compare-bar > div:first-child { flex-basis: 100%; }
    .case-compare-clear, .case-compare-bar .primary-btn { flex: 1; }
    .case-compare-head { padding: 22px 52px 18px 18px; }
    .case-compare-head h2 { font-size: 19px; }
    .case-detail-school-logo { width: 56px; height: 56px; flex-basis: 56px; }
    .case-detail-heading h2 { font-size: 19px; }
    .case-detail-hero { align-items: flex-start; gap: 12px; padding: 20px 50px 20px 18px; }
    .case-detail-hero-main { align-items: flex-start; gap: 12px; }
    .case-detail-collect { min-width: 36px; width: 36px; padding: 0; font-size: 0; }
    .case-detail-collect span { font-size: 18px; }
    .case-detail-content { padding: 16px 16px 15px; }
    .case-detail-section { padding: 16px; }
    .case-detail-facts { grid-template-columns: minmax(0, 1fr); }
    .case-detail-record, .case-detail-featured, .case-detail-other { margin: 15px 16px 0; }
    .case-detail-other { margin-bottom: 18px; }
    .case-detail-offer-grid { grid-template-columns: minmax(0, 1fr); }
}

/* Offer 至 CAS 第一期：办理摘要、Offer 意向与 CO 条件任务 */
.plan-action-summary { margin-top: 14px; padding: 12px 13px; border: 1px solid #e3eaf4; border-radius: 10px; background: #f8fafc; }
.plan-action-summary.is-actionable { cursor: pointer; transition: border-color .18s, box-shadow .18s, transform .18s; }
.plan-action-summary.is-actionable:hover { border-color: #9fc3f6; box-shadow: 0 6px 16px rgba(45, 108, 205, .1); transform: translateY(-1px); }
.plan-action-summary.is-actionable:focus-visible { outline: 3px solid rgba(53, 128, 235, .24); outline-offset: 2px; }
.plan-action-summary.is-my_action { border-color: #f0d9af; background: #fffaf0; }
.plan-action-summary.is-processing { border-color: #cfdef5; background: #f5f9ff; }
.plan-action-summary.is-completed { border-color: #cfe8dc; background: #f4fbf8; }
.plan-action-summary__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.plan-action-summary__head > div { min-width: 0; }
.plan-action-summary__head small, .plan-action-summary__head strong { display: block; }
.plan-action-summary__head small { color: #939aad; font-size: 12px; }
.plan-action-summary__head strong { margin-top: 3px; overflow: hidden; color: #3e4960; font-size: 13px; line-height: 1.5; text-overflow: ellipsis; white-space: nowrap; }
.plan-action-summary__head > span { flex: 0 0 auto; padding: 4px 8px; border-radius: 999px; color: #4c6f9e; background: #e8f1ff; font-size: 12px; white-space: nowrap; }
.plan-action-summary__meta { display: flex; flex-wrap: nowrap; gap: 12px; min-width: 0; margin-top: 9px; overflow: hidden; color: #7d8597; font-size: 12px; line-height: 1.5; }
.plan-action-summary__meta > span { flex: 0 0 auto; min-width: 0; white-space: nowrap; }
.plan-action-summary__meta .plan-action-summary__hint { flex: 1 1 auto; overflow: hidden; text-overflow: ellipsis; }
.plan-action-summary__meta .is-overdue { color: #c54c58; font-weight: 600; }
.plan-action-summary__link { margin-left: auto; color: var(--primary); font-weight: 600; white-space: nowrap; }
.plan-action-summary__link b { font-size: 14px; }
.modal-card.phase-one-modal { width: min(920px, 100%); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); padding: 0; overflow: auto; }
.phase-one-modal > .modal-close { z-index: 2; top: 18px; right: 21px; }
.phase-one-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 25px 62px 21px 30px; border-bottom: 1px solid #e8edf4; background: linear-gradient(135deg, #f6f9ff, #fff); }
.phase-one-head > div { min-width: 0; }
.phase-one-head h2 { margin: 3px 0 5px; color: #343c51; font-size: 20px; }
.phase-one-head p:last-child { margin: 0; overflow: hidden; color: #7f879b; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.phase-one-fact-note { max-width: 260px; margin-top: 8px; padding: 7px 10px; border-radius: 8px; color: #426b9e; background: #eaf3ff; font-size: 12px; line-height: 1.5; }
.phase-one-content { display: grid; gap: 14px; padding: 18px 30px 4px; background: #f7f8fb; }
.phase-one-section { min-width: 0; padding: 17px 18px; border: 1px solid #e5eaf2; border-radius: 12px; background: #fff; }
.phase-one-section__title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.phase-one-section__title > div { min-width: 0; display: flex; align-items: flex-start; gap: 10px; }
.phase-one-section__title > div > span { width: 25px; height: 25px; display: inline-flex; flex: 0 0 25px; align-items: center; justify-content: center; border-radius: 8px; color: var(--primary); background: var(--primary-soft); font-size: 12px; font-weight: 700; }
.phase-one-section__title h3 { margin: 1px 0 3px; color: #424960; font-size: 14px; }
.phase-one-section__title p { margin: 0; color: #858da0; font-size: 12px; line-height: 1.6; }
.phase-one-section__title > em { flex: 0 0 auto; padding: 5px 8px; border-radius: 999px; color: #17815f; background: #e8f7f1; font-size: 12px; font-style: normal; }
.phase-one-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin: 0 0 14px; padding: 13px; border-radius: 9px; background: #f8fafc; }
.phase-one-facts .wide { grid-column: 1 / -1; }
.phase-one-facts dt, .co-task-card dt { color: #969daf; font-size: 12px; }
.phase-one-facts dd, .co-task-card dd { margin: 4px 0 0; overflow-wrap: anywhere; color: #515970; font-size: 12px; line-height: 1.55; white-space: pre-line; }
.phase-one-field { display: grid; gap: 6px; margin-top: 10px; color: #656d82; font-size: 12px; }
.phase-one-field textarea { width: 100%; min-height: 68px; padding: 9px 10px; border: 1px solid #dce3ee; border-radius: 8px; outline: none; color: #414961; background: #fff; font-size: 12px; line-height: 1.6; resize: vertical; }
.phase-one-field textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(36,107,253,.1); }
.phase-one-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 13px; }
.phase-one-contact { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid #edf0f5; color: #8b92a3; font-size: 12px; }
.co-task-list { display: grid; gap: 11px; }
.co-task-card { min-width: 0; padding: 14px; border: 1px solid #e5e9f0; border-left: 4px solid #e0ad54; border-radius: 10px; background: #fff; }
.co-task-card.is-processing { border-left-color: #5a91df; }
.co-task-card.is-completed { border-left-color: #3aaa82; }
.co-task-card.is-rejected { border-left-color: #d45b68; }
.co-task-card header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.co-task-card header > div { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.co-task-card header b { color: #424a61; font-size: 13px; }
.co-task-card header span { padding: 3px 7px; border-radius: 999px; color: #a16618; background: #fff2d9; font-size: 12px; }
.co-task-card header .condition-updated { color: #b24350; background: #fdebed; }
.co-task-card header em { flex: 0 0 auto; color: #5274a1; font-size: 12px; font-style: normal; }
.co-task-card > p { margin: 10px 0 12px; overflow-wrap: anywhere; color: #5d6579; font-size: 12px; line-height: 1.7; white-space: pre-line; }
.co-task-card dl { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px 12px; margin: 0; padding: 11px; border-radius: 8px; background: #f8fafc; }
.co-task-reject { margin-top: 10px; padding: 9px 10px; border-radius: 8px; color: #a84450; background: #fff0f2; font-size: 12px; line-height: 1.6; }
.co-task-card footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 11px; color: #8b92a4; font-size: 12px; line-height: 1.55; }
.co-task-card footer > span { min-width: 0; }
.co-task-card footer button { flex: 0 0 auto; }
.phase-one-modal > .modal-footer { margin: 14px 30px 0; padding-bottom: 20px; }
.cas-version-files { display: flex; flex-wrap: wrap; align-items: center; gap: 7px; margin-top: 10px; padding: 10px 11px; border-radius: 8px; background: #f6f9fd; color: #707b90; font-size: 12px; }
.cas-version-files > span { margin-right: 3px; font-weight: 600; }
.cas-version-files .text-btn { min-height: 28px; padding: 3px 8px; border: 1px solid #cddcf2; border-radius: 6px; background: #fff; font-size: 12px; }
.cas-correction-summary, .cas-next-stage { margin-top: 10px; padding: 10px 11px; border-radius: 8px; font-size: 12px; line-height: 1.65; }
.cas-correction-summary { color: #884852; background: #fff3f4; }
.cas-correction-summary b, .cas-correction-summary p, .cas-correction-summary small { display: block; margin: 0; font-size: 12px; }
.cas-correction-summary p { margin-top: 4px; overflow-wrap: anywhere; }
.cas-correction-summary small { margin-top: 6px; color: #9a6970; }
.cas-next-stage { color: #23765d; background: #edf9f4; font-weight: 600; }
.cas-correction-form { margin-top: 12px; padding: 12px; border: 1px solid #e3e9f2; border-radius: 9px; background: #fafbfd; }
.cas-correction-row { display: grid; grid-template-columns: minmax(120px, .7fr) minmax(160px, 1fr) minmax(160px, 1fr) auto; gap: 8px; align-items: end; margin-bottom: 9px; }
.cas-correction-row label { display: grid; gap: 5px; color: #717a8e; font-size: 12px; }
.cas-correction-row input { width: 100%; min-height: 36px; padding: 7px 9px; border: 1px solid #dce3ee; border-radius: 7px; color: #414961; background: #fff; font-size: 12px; }
.cas-correction-row > button { min-height: 36px; padding: 6px 8px; font-size: 12px; }
.cas-correction-upload { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 11px; color: #7d8597; font-size: 12px; }
.cas-correction-file-list { width: 100%; display: flex; flex-wrap: wrap; gap: 7px; }
.cas-correction-file-list > span { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; padding: 6px 8px; border-radius: 7px; background: #edf3fb; overflow-wrap: anywhere; font-size: 12px; }
.cas-correction-file-list button { border: 0; color: #b04a57; background: transparent; font-size: 16px; cursor: pointer; }

@media (max-width: 700px) {
    .phase-one-head { flex-direction: column; gap: 8px; padding: 23px 54px 18px 20px; }
    .phase-one-fact-note { max-width: none; }
    .phase-one-content { padding: 14px 16px 4px; }
    .co-task-card dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cas-correction-row { grid-template-columns: minmax(0, 1fr); }
    .phase-one-modal > .modal-footer { margin-right: 16px; margin-left: 16px; }
}
@media (max-width: 480px) {
    .plan-action-summary__head, .phase-one-section__title, .co-task-card header, .co-task-card footer, .phase-one-contact { align-items: flex-start; flex-direction: column; }
    .plan-action-summary__head > span, .phase-one-section__title > em, .co-task-card header em { flex: none; }
    .plan-action-summary__link { margin-left: 0; }
    .phase-one-facts, .co-task-card dl { grid-template-columns: minmax(0, 1fr); }
    .phase-one-facts .wide { grid-column: auto; }
    .phase-one-actions button, .co-task-card footer button { width: 100%; }
}

/* Jarvis 全站智能助手：只读问答、白名单导航与服务端受控确认。 */
.jarvis-assistant-launcher {
    min-width: 190px;
    min-height: 54px;
    position: fixed;
    z-index: 48;
    right: 24px;
    bottom: 58px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 16px 8px 9px;
    border: 1px solid #c7daf8;
    border-radius: 28px;
    color: #243d67;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 14px 38px rgba(30, 69, 134, .2);
    text-align: left;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.jarvis-assistant-launcher:hover { border-color: #8eb5f3; box-shadow: 0 17px 42px rgba(30, 69, 134, .25); transform: translateY(-2px); }
.jarvis-assistant-launcher:focus-visible { outline: 3px solid rgba(36, 107, 253, .22); outline-offset: 3px; }
.jarvis-assistant-launcher__mark, .jarvis-assistant-avatar, .jarvis-assistant-message__role {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: #fff;
    background: linear-gradient(145deg, #5b91ff, #246bfd);
    font-weight: 800;
    box-shadow: 0 6px 15px rgba(36, 107, 253, .22);
}
.jarvis-assistant-launcher__mark { width: 38px; height: 38px; font-size: 16px; }
.jarvis-assistant-launcher > span:last-child { min-width: 0; display: grid; gap: 1px; }
.jarvis-assistant-launcher b { font-size: 13px; }
.jarvis-assistant-launcher small { color: #7b8aa1; font-size: 12px; }
.jarvis-assistant-backdrop { display: none; }
.jarvis-assistant-open .guide-resume { display: none; }
.jarvis-assistant-drawer {
    width: min(410px, calc(100vw - 48px));
    height: min(720px, calc(100vh - 96px));
    height: min(720px, calc(100dvh - 96px));
    position: fixed;
    z-index: 48;
    right: 24px;
    bottom: 58px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid #dbe5f2;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 26px 70px rgba(20, 43, 82, .24);
}
.jarvis-assistant-head { min-height: 68px; display: flex; align-items: center; gap: 10px; padding: 12px 13px 12px 15px; border-bottom: 1px solid #e8edf5; background: linear-gradient(135deg, #f1f6ff, #fff); }
.jarvis-assistant-avatar { width: 38px; height: 38px; font-size: 15px; }
.jarvis-assistant-head > div:nth-child(2) { min-width: 0; display: grid; flex: 1; gap: 2px; }
.jarvis-assistant-head b { color: #263b5c; font-size: 14px; }
.jarvis-assistant-head small { color: #7b899e; font-size: 12px; }
.jarvis-assistant-head > div:nth-child(2) > b, .jarvis-assistant-head > div:nth-child(2) > small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.jarvis-assistant-new, .jarvis-assistant-history-toggle, .jarvis-assistant-close { flex: 0 0 auto; border: 0; background: transparent; }
.jarvis-assistant-new, .jarvis-assistant-history-toggle { padding: 6px 7px; border-radius: 7px; color: #5274a7; font-size: 12px; }
.jarvis-assistant-new:hover, .jarvis-assistant-history-toggle:hover { background: #e9f2ff; }
.jarvis-assistant-new:disabled, .jarvis-assistant-history-toggle:disabled { cursor: not-allowed; opacity: .55; }
.jarvis-assistant-close { width: 32px; height: 32px; border-radius: 9px; color: #8490a3; font-size: 24px; line-height: 1; }
.jarvis-assistant-close:hover { color: #344a69; background: #edf2f8; }
.jarvis-assistant-new:focus-visible, .jarvis-assistant-history-toggle:focus-visible, .jarvis-assistant-close:focus-visible { outline: 2px solid rgba(36, 107, 253, .3); outline-offset: 1px; }
.jarvis-assistant-history { min-height: 0; display: flex; flex: 1; flex-direction: column; overflow: hidden; background: #f7f9fc; }
.jarvis-assistant-history__tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5px; padding: 12px 14px 0; background: #fff; }
.jarvis-assistant-history__tabs button { min-height: 36px; border: 1px solid #dce5f1; border-radius: 8px; color: #667991; background: #fff; font-size: 12px; font-weight: 700; }
.jarvis-assistant-history__tabs button.is-active { border-color: #9fc2f4; color: #246bfd; background: #edf5ff; }
.jarvis-assistant-history__tabs button:focus-visible, .jarvis-assistant-history__list button:focus-visible { outline: 2px solid rgba(36, 107, 253, .3); outline-offset: 1px; }
.jarvis-assistant-history__notice { margin: 0; padding: 9px 14px 11px; border-bottom: 1px solid #e6edf6; color: #718096; background: #fff; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-history__error { display: flex; align-items: flex-start; gap: 8px; margin: 12px 14px 0; padding: 9px 10px; border: 1px solid #f3c8ce; border-radius: 8px; color: #a23e4b; background: #fff1f3; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-history__error span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.jarvis-assistant-history__error button { flex: none; padding: 2px 4px; border: 0; color: inherit; background: transparent; font-size: 12px; font-weight: 700; }
.jarvis-assistant-history__loading, .jarvis-assistant-history__empty { min-height: 180px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 22px; color: #718096; font-size: 12px; text-align: center; }
.jarvis-assistant-history__empty { flex-direction: column; }
.jarvis-assistant-history__empty b { color: #40536e; font-size: 13px; }
.jarvis-assistant-history__empty span { max-width: 270px; line-height: 1.55; }
.jarvis-assistant-history__list { min-height: 0; display: grid; align-content: start; gap: 9px; padding: 12px 14px 16px; overflow-y: auto; }
.jarvis-assistant-history__list > article { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 4px; border: 1px solid #dce5f1; border-radius: 10px; background: #fff; box-shadow: 0 4px 12px rgba(32, 57, 95, .04); }
.jarvis-assistant-history__list > article.is-current { border-color: #9fc2f4; box-shadow: 0 0 0 2px rgba(36, 107, 253, .08); }
.jarvis-assistant-history__open { min-width: 0; display: grid; gap: 3px; padding: 8px; border: 0; color: #3e506a; background: transparent; text-align: left; }
.jarvis-assistant-history__open:disabled { cursor: not-allowed; opacity: .6; }
.jarvis-assistant-history__open b, .jarvis-assistant-history__deleted-info b { overflow: hidden; color: #334b6c; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.jarvis-assistant-history__open span { overflow: hidden; color: #687b95; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.jarvis-assistant-history__open small, .jarvis-assistant-history__deleted-info span, .jarvis-assistant-history__deleted-info small { color: #8a96a7; font-size: 12px; line-height: 1.4; }
.jarvis-assistant-history__deleted-info { min-width: 0; display: grid; gap: 3px; padding: 8px; }
.jarvis-assistant-history__action { min-width: 50px; min-height: 32px; margin-right: 4px; padding: 6px 8px; border: 1px solid #d5dfeb; border-radius: 7px; background: #fff; font-size: 12px; }
.jarvis-assistant-history__action.is-delete { color: #a44350; }
.jarvis-assistant-history__action.is-restore { color: #26704a; }
.jarvis-assistant-history__action:disabled { cursor: not-allowed; opacity: .55; }
.jarvis-assistant-history__more { min-height: 36px; border: 1px solid #cfdceb; border-radius: 8px; color: #52719b; background: #fff; font-size: 12px; font-weight: 700; }
.jarvis-assistant-messages { min-height: 0; flex: 1; overflow-x: hidden; overflow-y: auto; padding: 18px 16px 12px; background: #f7f9fc; scroll-behavior: smooth; }
.jarvis-assistant-history-readonly { margin: 0 0 14px; padding: 9px 10px; border: 1px solid #f0dfad; border-radius: 9px; color: #755c25; background: #fffaf0; font-size: 12px; line-height: 1.55; }
.jarvis-assistant-history-earlier { align-self: center; min-height: 32px; margin: 0 auto 12px; padding: 6px 12px; border: 1px solid #cfdceb; border-radius: 7px; color: #52719b; background: #fff; font-size: 12px; font-weight: 700; }
.jarvis-assistant-history-earlier:disabled { cursor: not-allowed; opacity: .55; }
.jarvis-assistant-message { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 14px; }
.jarvis-assistant-message.is-user { flex-direction: row-reverse; }
.jarvis-assistant-message__role { width: 28px; height: 28px; margin-top: 2px; font-size: 12px; }
.jarvis-assistant-message.is-user .jarvis-assistant-message__role { color: #49627e; background: #e4eaf1; box-shadow: none; }
.jarvis-assistant-message__body { max-width: calc(100% - 48px); padding: 10px 12px; border: 1px solid #e2e9f2; border-radius: 4px 13px 13px; color: #3e4e65; background: #fff; box-shadow: 0 5px 14px rgba(32, 57, 95, .05); font-size: 13px; line-height: 1.65; overflow-wrap: anywhere; }
.jarvis-assistant-message.is-user .jarvis-assistant-message__body { border-color: #246bfd; border-radius: 13px 4px 13px 13px; color: #fff; background: #246bfd; }
.jarvis-assistant-message__body > p { margin: 0; white-space: pre-wrap; }
.jarvis-assistant-message.is-loading .jarvis-assistant-message__body { display: flex; align-items: center; gap: 8px; color: #748298; }
.jarvis-assistant-history-card { margin-top: 9px; overflow: hidden; border: 1px solid #d8e0ea; border-radius: 9px; background: #f8fafc; }
.jarvis-assistant-history-card > header { display: grid; gap: 2px; padding: 8px 9px; border-bottom: 1px solid #e4eaf1; }
.jarvis-assistant-history-card > header span { color: #7a8798; font-size: 12px; font-weight: 700; }
.jarvis-assistant-history-card > header b { color: #40536e; font-size: 12px; }
.jarvis-assistant-history-card > p { margin: 0; padding: 8px 9px; color: #69798e; font-size: 12px; line-height: 1.5; white-space: normal; }
.jarvis-assistant-history-card dl { display: grid; gap: 5px; margin: 0; padding: 0 9px 9px; }
.jarvis-assistant-history-card dl > div { display: grid; gap: 1px; padding: 6px 7px; border-radius: 6px; background: #fff; }
.jarvis-assistant-history-card dt, .jarvis-assistant-history-card dd { margin: 0; overflow-wrap: anywhere; font-size: 12px; }
.jarvis-assistant-history-card dt { color: #4d6078; font-weight: 700; }
.jarvis-assistant-history-card dd { color: #7a8798; }
.jarvis-assistant-thinking { display: inline-flex; align-items: center; gap: 3px; }
.jarvis-assistant-thinking i { width: 5px; height: 5px; border-radius: 50%; background: #6e94d5; animation: jarvis-thinking 1.1s ease-in-out infinite; }
.jarvis-assistant-thinking i:nth-child(2) { animation-delay: .13s; }
.jarvis-assistant-thinking i:nth-child(3) { animation-delay: .26s; }
@keyframes jarvis-thinking { 0%, 60%, 100% { opacity: .35; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
.jarvis-assistant-nav-card { width: 100%; min-height: 48px; display: flex; align-items: center; gap: 10px; margin-top: 9px; padding: 9px 10px; border: 1px solid #cfe0f8; border-radius: 9px; color: #315c9e; background: #f5f9ff; text-align: left; }
.jarvis-assistant-nav-card:hover { border-color: #9fc2f4; background: #edf5ff; }
.jarvis-assistant-nav-card:focus-visible { outline: 2px solid rgba(36, 107, 253, .3); outline-offset: 2px; }
.jarvis-assistant-nav-card > span { min-width: 0; display: grid; flex: 1; gap: 2px; }
.jarvis-assistant-nav-card b { font-size: 12px; }
.jarvis-assistant-nav-card small { overflow: hidden; color: #7184a1; font-size: 12px; line-height: 1.4; text-overflow: ellipsis; white-space: nowrap; }
.jarvis-assistant-nav-card i { flex: 0 0 auto; font-size: 16px; font-style: normal; }
.jarvis-assistant-action-card { margin-top: 10px; overflow: hidden; border: 1px solid #cbdcf5; border-radius: 11px; background: #fff; box-shadow: 0 7px 18px rgba(35, 78, 139, .08); }
.jarvis-assistant-action-card > header { display: grid; gap: 2px; padding: 10px 11px; border-bottom: 1px solid #e2eaf6; background: #f3f7fe; }
.jarvis-assistant-action-card > header span { color: #657b9b; font-size: 12px; font-weight: 700; }
.jarvis-assistant-action-card > header b { color: #294e83; font-size: 13px; }
.jarvis-assistant-action-card > p { margin: 0; padding: 10px 11px 4px; color: #566b88; font-size: 12px; line-height: 1.6; white-space: normal; }
.jarvis-assistant-action-card dl { display: grid; gap: 7px; max-height: 220px; margin: 8px 11px; padding: 0; overflow-y: auto; }
.jarvis-assistant-action-card dl > div { display: grid; gap: 2px; padding: 7px 8px; border-radius: 7px; background: #f7f9fc; }
.jarvis-assistant-action-card dt, .jarvis-assistant-action-card dd { margin: 0; overflow-wrap: anywhere; }
.jarvis-assistant-action-card dt { color: #3f526c; font-size: 12px; font-weight: 700; }
.jarvis-assistant-action-card dd { color: #7a889b; font-size: 12px; }
.jarvis-assistant-action-card > .jarvis-assistant-action-notice { margin: 8px 11px; padding: 8px 9px; border: 1px solid #f0dfad; border-radius: 7px; color: #755c25; background: #fffaf0; font-size: 12px; line-height: 1.55; }
.jarvis-assistant-action-status { margin: 8px 11px; padding: 8px 9px; border-radius: 7px; color: #586b84; background: #f1f4f8; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-action-status.is-prepared { color: #755c25; background: #fff7df; }
.jarvis-assistant-action-status.is-executing, .jarvis-assistant-action-status.is-unknown { color: #315c9e; background: #edf5ff; }
.jarvis-assistant-action-status.is-succeeded { color: #26704a; background: #eaf8f1; }
.jarvis-assistant-action-status.is-failed, .jarvis-assistant-action-status.is-expired { color: #a13f4c; background: #fff0f2; }
.jarvis-assistant-action-status.is-cancelled, .jarvis-assistant-action-status.is-needs_refresh { color: #69788c; background: #f1f3f6; }
.jarvis-assistant-action-card > footer { display: flex; justify-content: flex-end; gap: 7px; padding: 2px 11px 11px; }
.jarvis-assistant-action-card > footer button { min-height: 34px; padding: 7px 11px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 700; }
.jarvis-assistant-action-card > footer button.is-primary { color: #fff; background: #246bfd; }
.jarvis-assistant-action-card > footer button.is-primary:hover { background: #1554d1; }
.jarvis-assistant-action-card > footer button.is-secondary { border-color: #cad6e6; color: #526780; background: #fff; }
.jarvis-assistant-action-card > footer button.is-secondary:hover { border-color: #9fb9dc; background: #f5f8fc; }
.jarvis-assistant-action-card > footer button:disabled { cursor: not-allowed; opacity: .6; }
.jarvis-assistant-profile-card { margin-top: 10px; overflow: hidden; border: 1px solid #cbdcf5; border-radius: 11px; background: #fff; box-shadow: 0 7px 18px rgba(35, 78, 139, .08); }
.jarvis-assistant-profile-card > header { display: grid; gap: 2px; padding: 10px 11px; border-bottom: 1px solid #e2eaf6; background: linear-gradient(135deg, #edf5ff, #f8fbff); }
.jarvis-assistant-profile-card > header span { color: #3162a3; font-size: 12px; font-weight: 800; }
.jarvis-assistant-profile-card > header b { color: #294e83; font-size: 13px; }
.jarvis-assistant-profile-card > p { margin: 0; padding: 10px 11px 5px; color: #566b88; font-size: 12px; line-height: 1.6; }
.jarvis-assistant-profile-privacy { margin: 8px 11px; padding: 8px 9px; border: 1px solid #badacb; border-radius: 7px; color: #28654d; background: #effaf5; font-size: 12px; line-height: 1.55; }
.jarvis-assistant-profile-loading { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 90px; padding: 16px; color: #647793; font-size: 12px; }
.jarvis-assistant-profile-empty, .jarvis-assistant-profile-blocked, .jarvis-assistant-profile-result { padding: 5px 11px 11px; }
.jarvis-assistant-profile-empty > p, .jarvis-assistant-profile-blocked > p, .jarvis-assistant-profile-result > p { margin: 6px 0 10px; color: #586b84; font-size: 12px; line-height: 1.55; }
.jarvis-assistant-profile-empty > div, .jarvis-assistant-profile-result > div { display: flex; justify-content: flex-end; gap: 7px; }
.jarvis-assistant-profile-form { display: grid; gap: 10px; padding: 5px 11px 11px; }
.jarvis-assistant-profile-field, .jarvis-assistant-profile-grid > label { min-width: 0; display: grid; gap: 5px; color: #40536e; font-size: 12px; font-weight: 700; }
.jarvis-assistant-profile-field.is-required > span::after, .jarvis-assistant-profile-grid > label.is-required > span::after { margin-left: 3px; color: #c84755; content: '*'; }
.jarvis-assistant-profile-field input, .jarvis-assistant-profile-field select, .jarvis-assistant-profile-field textarea,
.jarvis-assistant-profile-grid input, .jarvis-assistant-profile-grid select, .jarvis-assistant-profile-grid textarea {
    width: 100%; min-height: 36px; padding: 7px 9px; border: 1px solid #d7e0ec; border-radius: 8px; outline: 0;
    color: #32445d; background: #fff; font: inherit; font-size: 12px; font-weight: 400; line-height: 1.45;
}
.jarvis-assistant-profile-field textarea, .jarvis-assistant-profile-grid textarea { min-height: 72px; resize: vertical; }
.jarvis-assistant-profile-field input:focus, .jarvis-assistant-profile-field select:focus, .jarvis-assistant-profile-field textarea:focus,
.jarvis-assistant-profile-grid input:focus, .jarvis-assistant-profile-grid select:focus, .jarvis-assistant-profile-grid textarea:focus { border-color: #75a4f0; box-shadow: 0 0 0 3px rgba(36, 107, 253, .1); }
.jarvis-assistant-profile-field > small, .jarvis-assistant-profile-grid > label > small { color: #7e8da2; font-size: 12px; font-weight: 400; line-height: 1.45; }
.jarvis-assistant-profile-repeat { overflow: hidden; border: 1px solid #dde6f2; border-radius: 9px; background: #f8fafc; }
.jarvis-assistant-profile-repeat > header { display: grid; gap: 2px; padding: 8px 9px; border-bottom: 1px solid #e4ebf4; }
.jarvis-assistant-profile-repeat > header b { color: #385778; font-size: 12px; }
.jarvis-assistant-profile-repeat > header small { color: #7d8ba0; font-size: 12px; line-height: 1.4; }
.jarvis-assistant-profile-repeat > article { padding: 9px; border-bottom: 1px solid #e4ebf4; background: #fff; }
.jarvis-assistant-profile-repeat-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.jarvis-assistant-profile-repeat-head b { color: #526780; font-size: 12px; }
.jarvis-assistant-profile-repeat-head button { padding: 3px 0; border: 0; color: #a44350; background: transparent; font-size: 12px; }
.jarvis-assistant-profile-repeat-head button:hover { color: #842f3c; text-decoration: underline; }
.jarvis-assistant-profile-repeat-head button:focus-visible { outline: 2px solid rgba(164, 67, 80, .25); outline-offset: 2px; }
.jarvis-assistant-profile-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 9px; }
.jarvis-assistant-profile-add { width: calc(100% - 18px); min-height: 34px; margin: 9px; border: 1px dashed #9ab8df; border-radius: 8px; color: #3868a8; background: #f2f7ff; font-size: 12px; font-weight: 700; }
.jarvis-assistant-profile-file-note { margin: 0; padding: 8px 9px; border: 1px solid #f0dfad; border-radius: 7px; color: #755c25; background: #fffaf0; font-size: 12px; line-height: 1.55; }
.jarvis-assistant-profile-form > footer, .jarvis-assistant-profile-confirm > footer { display: flex; justify-content: flex-end; gap: 7px; }
.jarvis-assistant-profile-card button.is-primary, .jarvis-assistant-profile-card button.is-secondary { min-height: 34px; padding: 7px 11px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 700; }
.jarvis-assistant-profile-card button.is-primary { color: #fff; background: #246bfd; }
.jarvis-assistant-profile-card button.is-primary:hover { background: #1554d1; }
.jarvis-assistant-profile-card button.is-secondary { border-color: #cad6e6; color: #526780; background: #fff; }
.jarvis-assistant-profile-card button.is-secondary:hover { border-color: #9fb9dc; background: #f5f8fc; }
.jarvis-assistant-profile-card button:disabled { cursor: not-allowed; opacity: .6; }
.jarvis-assistant-profile-confirm { padding: 3px 11px 11px; }
.jarvis-assistant-profile-confirm dl { display: grid; gap: 7px; max-height: 220px; margin: 8px 0; padding: 0; overflow-y: auto; }
.jarvis-assistant-profile-confirm dl > div { display: grid; gap: 2px; padding: 7px 8px; border-radius: 7px; background: #f7f9fc; }
.jarvis-assistant-profile-confirm dt, .jarvis-assistant-profile-confirm dd { margin: 0; overflow-wrap: anywhere; }
.jarvis-assistant-profile-confirm dt { color: #3f526c; font-size: 12px; font-weight: 700; }
.jarvis-assistant-profile-confirm dd { color: #7a889b; font-size: 12px; }
.jarvis-assistant-profile-confirm > p { margin: 8px 0; color: #64748b; font-size: 12px; line-height: 1.55; }
.jarvis-assistant-profile-impact { margin: 8px 0; padding: 9px; border: 1px solid #edc2a3; border-radius: 7px; color: #874920; background: #fff5ed; font-size: 12px; line-height: 1.55; }
.jarvis-assistant-profile-result.is-failed > p { color: #a13f4c; }
.jarvis-assistant-profile-result.is-succeeded > p { color: #26704a; }
.jarvis-assistant-material-card { min-width: 0; margin-top: 10px; overflow: hidden; border: 1px solid #bdd9d0; border-radius: 11px; background: #fff; box-shadow: 0 7px 18px rgba(31, 105, 82, .08); }
.jarvis-assistant-material-card > header { display: grid; gap: 2px; padding: 10px 11px; border-bottom: 1px solid #dcebe6; background: linear-gradient(135deg, #eaf8f3, #f7fcfa); }
.jarvis-assistant-material-card > header span { color: #287158; font-size: 12px; font-weight: 800; }
.jarvis-assistant-material-card > header b { color: #285b4a; font-size: 13px; overflow-wrap: anywhere; }
.jarvis-assistant-material-card > p { margin: 0; padding: 10px 11px 5px; color: #566b88; font-size: 12px; line-height: 1.6; }
.jarvis-assistant-material-privacy { margin: 8px 11px; padding: 8px 9px; border: 1px solid #badacb; border-radius: 7px; color: #28654d; background: #effaf5; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.jarvis-assistant-material-loading { min-height: 90px; display: flex; align-items: center; justify-content: center; gap: 8px; padding: 16px; color: #647793; font-size: 12px; }
.jarvis-assistant-material-empty, .jarvis-assistant-material-blocked, .jarvis-assistant-material-result { padding: 5px 11px 11px; }
.jarvis-assistant-material-empty > p, .jarvis-assistant-material-blocked > p, .jarvis-assistant-material-result > p { margin: 6px 0 10px; color: #586b84; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.jarvis-assistant-material-empty > div, .jarvis-assistant-material-result > div { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.jarvis-assistant-material-form { min-width: 0; display: grid; gap: 10px; padding: 5px 11px 11px; }
.jarvis-assistant-material-scope { min-width: 0; display: grid; gap: 2px; padding: 8px 9px; border: 1px solid #dce8e4; border-radius: 8px; background: #f7fbfa; }
.jarvis-assistant-material-scope > span { color: #71837d; font-size: 12px; }
.jarvis-assistant-material-scope > b { color: #315e50; font-size: 12px; }
.jarvis-assistant-material-scope > small { color: #71817d; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.jarvis-assistant-material-counts { min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.jarvis-assistant-material-counts > span { min-width: 0; padding: 7px 8px; border-radius: 7px; color: #63756f; background: #f1f6f4; font-size: 12px; text-align: center; }
.jarvis-assistant-material-counts b { color: #24644f; font-size: 13px; }
.jarvis-assistant-material-saved { min-width: 0; display: grid; gap: 7px; }
.jarvis-assistant-material-saved > header { min-width: 0; display: grid; gap: 2px; }
.jarvis-assistant-material-saved > header b { color: #3e5750; font-size: 12px; }
.jarvis-assistant-material-saved > header small { color: #77869a; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-material-saved ul { min-width: 0; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.jarvis-assistant-material-saved li { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 5px 9px; padding: 8px; border: 1px solid #dbe7e2; border-radius: 8px; background: #f9fcfb; }
.jarvis-assistant-material-saved li.is-replace-target { border-color: #83b8a5; background: #f0faf6; box-shadow: 0 0 0 2px rgba(47, 138, 107, .08); }
.jarvis-assistant-material-saved li > span { min-width: 0; display: grid; gap: 2px; }
.jarvis-assistant-material-saved li b { color: #374f48; font-size: 12px; overflow-wrap: anywhere; }
.jarvis-assistant-material-saved li small { color: #7d8b86; font-size: 12px; line-height: 1.4; overflow-wrap: anywhere; }
.jarvis-assistant-material-saved li > p { grid-column: 1 / -1; margin: 0; color: #9a5962; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.jarvis-assistant-material-saved-actions { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 5px; }
.jarvis-assistant-material-saved button.is-replace { min-height: 32px; padding: 5px 8px; border: 1px solid #9ac9b8; border-radius: 7px; color: #287158; background: #fff; font-size: 12px; font-weight: 700; }
.jarvis-assistant-material-saved button.is-replace:hover:not(:disabled) { border-color: #68aa91; background: #eef9f5; }
.jarvis-assistant-material-saved button.is-delete { min-height: 32px; padding: 5px 8px; border: 1px solid #e3bac0; border-radius: 7px; color: #a13f4c; background: #fff; font-size: 12px; font-weight: 700; }
.jarvis-assistant-material-saved button.is-delete:hover:not(:disabled) { border-color: #cb858f; background: #fff3f4; }
.jarvis-assistant-material-saved button.is-delete:disabled, .jarvis-assistant-material-saved button.is-replace:disabled { cursor: not-allowed; color: #98a19e; border-color: #dfe5e2; background: #f0f3f2; opacity: .75; }
.jarvis-assistant-material-saved-empty { margin: 0; padding: 8px 9px; border-radius: 7px; color: #71817d; background: #f4f7f6; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-material-replace { min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 7px; padding: 9px; border: 1px solid #9fc9ba; border-radius: 9px; background: #f0faf6; }
.jarvis-assistant-material-replace > span { min-width: 0; display: grid; gap: 2px; }
.jarvis-assistant-material-replace small { color: #6f837b; font-size: 12px; }
.jarvis-assistant-material-replace b { color: #315e50; font-size: 12px; overflow-wrap: anywhere; }
.jarvis-assistant-material-replace > i { color: #2f8a6b; font-size: 17px; font-style: normal; font-weight: 800; }
.jarvis-assistant-material-replace > p { grid-column: 1 / -1; margin: 2px 0 0; color: #596f67; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-material-input { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.jarvis-assistant-material-picker { min-width: 0; display: grid; gap: 6px; }
.jarvis-assistant-material-picker.is-replace { padding: 8px; border: 1px dashed #a9cfc1; border-radius: 8px; background: #f8fcfa; }
.jarvis-assistant-material-picker > button { justify-self: start; }
.jarvis-assistant-material-picker > small { color: #77869a; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.jarvis-assistant-material-upload-blocked { margin: 0; padding: 8px 9px; border-radius: 7px; color: #755c25; background: #fffaf0; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-material-files { min-width: 0; display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.jarvis-assistant-material-files > li { min-width: 0; display: flex; align-items: center; gap: 8px; padding: 7px 8px; border: 1px solid #e0e8e5; border-radius: 8px; background: #fafcfb; }
.jarvis-assistant-material-files > li > span { min-width: 0; display: grid; flex: 1; gap: 1px; }
.jarvis-assistant-material-files b { color: #3e5750; font-size: 12px; font-weight: 700; overflow-wrap: anywhere; }
.jarvis-assistant-material-files small { color: #85918d; font-size: 12px; }
.jarvis-assistant-material-files button { flex: 0 0 auto; padding: 3px 0; border: 0; color: #a44350; background: transparent; font-size: 12px; }
.jarvis-assistant-material-progress { min-width: 0; display: grid; gap: 5px; }
.jarvis-assistant-material-progress > div { height: 7px; overflow: hidden; border-radius: 999px; background: #e1ebe7; }
.jarvis-assistant-material-progress > div > span { height: 100%; display: block; border-radius: inherit; background: #2f8a6b; transition: width .2s ease; }
.jarvis-assistant-material-progress > p { margin: 0; color: #527467; font-size: 12px; line-height: 1.45; overflow-wrap: anywhere; }
.jarvis-assistant-material-error { margin: 0; padding: 7px 8px; border-radius: 7px; color: #a13f4c; background: #fff0f2; font-size: 12px; line-height: 1.5; overflow-wrap: anywhere; }
.jarvis-assistant-material-append-note { margin: 0; padding: 7px 8px; border: 1px solid #f0dfad; border-radius: 7px; color: #755c25; background: #fffaf0; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-material-form > footer, .jarvis-assistant-material-confirm > footer { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 7px; }
.jarvis-assistant-material-card button.is-primary, .jarvis-assistant-material-card button.is-secondary { min-height: 34px; max-width: 100%; padding: 7px 11px; border: 1px solid transparent; border-radius: 8px; font-size: 12px; font-weight: 700; white-space: normal; }
.jarvis-assistant-material-card button.is-primary { color: #fff; background: #287e61; }
.jarvis-assistant-material-card button.is-primary:hover:not(:disabled) { background: #1e684f; }
.jarvis-assistant-material-card button.is-secondary { border-color: #c8d9d3; color: #486c60; background: #fff; }
.jarvis-assistant-material-card button.is-secondary:hover:not(:disabled) { border-color: #96b9ad; background: #f3f8f6; }
.jarvis-assistant-material-card button:disabled { cursor: not-allowed; color: #86948f; border-color: #dde4e1; background: #eef2f0; opacity: .72; }
.jarvis-assistant-material-confirm { min-width: 0; padding: 3px 11px 11px; }
.jarvis-assistant-material-confirm dl { min-width: 0; display: grid; gap: 7px; max-height: 220px; margin: 8px 0; padding: 0; overflow-y: auto; }
.jarvis-assistant-material-confirm dl > div { min-width: 0; display: grid; gap: 2px; padding: 7px 8px; border-radius: 7px; background: #f7f9fc; }
.jarvis-assistant-material-confirm dt, .jarvis-assistant-material-confirm dd { min-width: 0; margin: 0; overflow-wrap: anywhere; }
.jarvis-assistant-material-confirm dt { color: #3f526c; font-size: 12px; font-weight: 700; }
.jarvis-assistant-material-confirm dd { color: #7a889b; font-size: 12px; }
.jarvis-assistant-material-confirm > p { margin: 8px 0; color: #64748b; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.jarvis-assistant-material-impact { margin: 8px 0; padding: 9px; border: 1px solid #edc2a3; border-radius: 7px; color: #874920; background: #fff5ed; font-size: 12px; line-height: 1.55; overflow-wrap: anywhere; }
.jarvis-assistant-material-result.is-failed > p { color: #a13f4c; }
.jarvis-assistant-material-result.is-succeeded > p { color: #26704a; }
.jarvis-assistant-material-result.is-unknown > p, .jarvis-assistant-material-result.is-executing > p { color: #315c9e; }
.jarvis-assistant-material-result .jarvis-assistant-material-undo-time { margin-top: -3px; color: #755c25; font-weight: 700; }
.jarvis-assistant-material-result button.is-danger { min-height: 34px; max-width: 100%; padding: 7px 11px; border: 1px solid #dca7ae; border-radius: 8px; color: #9a3543; background: #fff; font-size: 12px; font-weight: 700; white-space: normal; }
.jarvis-assistant-material-result button.is-danger:hover:not(:disabled) { border-color: #c67984; background: #fff2f4; }
.jarvis-assistant-error { display: flex; align-items: flex-start; gap: 8px; margin: 4px 36px 10px; padding: 9px 10px; border: 1px solid #f3c8ce; border-radius: 9px; color: #b04452; background: #fff1f3; font-size: 12px; line-height: 1.5; }
.jarvis-assistant-error span { min-width: 0; flex: 1; overflow-wrap: anywhere; }
.jarvis-assistant-error button { flex: 0 0 auto; padding: 2px 4px; border: 0; color: #b04452; background: transparent; font-size: 12px; font-weight: 700; }
.jarvis-assistant-quick { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 10px 14px; border-top: 1px solid #edf1f6; background: #fff; }
.jarvis-assistant-quick button { min-width: 0; padding: 7px 8px; overflow: hidden; border: 1px solid #dce5f1; border-radius: 8px; color: #596b84; background: #fff; font-size: 12px; text-align: left; text-overflow: ellipsis; white-space: nowrap; }
.jarvis-assistant-quick button:hover { border-color: #a9c8f6; color: #246bfd; background: #f6f9ff; }
.jarvis-assistant-composer { padding: 0 14px 9px; background: #fff; }
.jarvis-assistant-composer textarea { width: 100%; min-height: 64px; max-height: 130px; display: block; padding: 10px 11px; border: 1px solid #d7e0ec; border-radius: 10px; outline: 0; color: #32445d; background: #fff; font-size: 13px; line-height: 1.5; resize: vertical; }
.jarvis-assistant-composer textarea:focus { border-color: #75a4f0; box-shadow: 0 0 0 3px rgba(36, 107, 253, .1); }
.jarvis-assistant-composer > div { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 7px; }
.jarvis-assistant-composer > div > span { color: #8b97a8; font-size: 12px; }
.jarvis-assistant-composer button { min-width: 64px; padding: 7px 13px; border: 0; border-radius: 8px; color: #fff; background: #246bfd; font-size: 12px; font-weight: 700; }
.jarvis-assistant-composer button:hover { background: #1554d1; }
.jarvis-assistant-boundary { margin: 0; padding: 0 14px 11px; color: #8c96a5; background: #fff; font-size: 12px; line-height: 1.45; }

@media (max-width: 600px) {
    .jarvis-assistant-launcher { right: 12px; bottom: 54px; min-width: 0; padding-right: 13px; }
    .jarvis-assistant-backdrop { position: fixed; z-index: 47; inset: 0; display: block; background: rgba(21, 35, 58, .34); }
    .jarvis-assistant-drawer { width: 100%; height: calc(100vh - 48px); height: calc(100dvh - 48px); right: 0; bottom: 48px; border-right: 0; border-bottom: 0; border-left: 0; border-radius: 0; }
    .jarvis-assistant-head { padding-right: 10px; padding-left: 12px; }
    .jarvis-assistant-messages { padding-right: 12px; padding-left: 12px; }
    .jarvis-assistant-error { margin-right: 34px; margin-left: 34px; }
    .jarvis-assistant-profile-grid { grid-template-columns: minmax(0, 1fr); }
    .jarvis-assistant-profile-form > footer, .jarvis-assistant-profile-confirm > footer,
    .jarvis-assistant-profile-empty > div, .jarvis-assistant-profile-result > div { align-items: stretch; flex-direction: column-reverse; }
    .jarvis-assistant-profile-form > footer button, .jarvis-assistant-profile-confirm > footer button,
    .jarvis-assistant-profile-empty > div button, .jarvis-assistant-profile-result > div button { width: 100%; }
    .jarvis-assistant-material-counts { grid-template-columns: minmax(0, 1fr); }
    .jarvis-assistant-material-saved li { grid-template-columns: minmax(0, 1fr); }
    .jarvis-assistant-material-saved-actions { align-items: stretch; flex-direction: column; }
    .jarvis-assistant-material-saved button.is-delete, .jarvis-assistant-material-saved button.is-replace { width: 100%; }
    .jarvis-assistant-material-replace { grid-template-columns: minmax(0, 1fr); }
    .jarvis-assistant-material-replace > i { transform: rotate(90deg); }
    .jarvis-assistant-material-form > footer, .jarvis-assistant-material-confirm > footer,
    .jarvis-assistant-material-empty > div, .jarvis-assistant-material-result > div { align-items: stretch; flex-direction: column-reverse; flex-wrap: nowrap; }
    .jarvis-assistant-material-form > footer button, .jarvis-assistant-material-confirm > footer button,
    .jarvis-assistant-material-empty > div button, .jarvis-assistant-material-result > div button,
    .jarvis-assistant-material-picker > button { width: 100%; }
}

@media (max-width: 380px) {
    .jarvis-assistant-launcher small { display: none; }
    .jarvis-assistant-quick { grid-template-columns: minmax(0, 1fr); max-height: 96px; overflow-y: auto; }
    .jarvis-assistant-composer > div > span { max-width: 180px; }
    .jarvis-assistant-action-card > footer { align-items: stretch; flex-direction: column-reverse; }
    .jarvis-assistant-action-card > footer button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    .jarvis-assistant-launcher, .jarvis-assistant-thinking i { transition: none; animation: none; }
    .jarvis-assistant-messages { scroll-behavior: auto; }
}
