:root{
  --bg:#f5f7fb;
  --panel:#ffffff;
  --ink:#16202f;
  --ink-2:#42526b;
  --muted:#7c8aa0;
  --line:#e3e8f0;
  --brand:#0f4c81;
  --brand-2:#1769aa;
  --accent:#c8102e;
  --ok:#127a4b;
  --warn:#b7791f;
  --danger:#c0392b;
  --reach:#c0392b;
  --match:#1769aa;
  --safety:#127a4b;
  --radius:12px;
  --shadow:0 2px 10px rgba(16,32,56,.06);
  --shadow-lg:0 12px 36px rgba(16,32,56,.16);
}

*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{
  font-family:"PingFang SC","Microsoft YaHei","Helvetica Neue",Arial,sans-serif;
  background:var(--bg);color:var(--ink);line-height:1.65;font-size:15px;
  display:flex;flex-direction:column;min-height:100vh;
}
a{color:inherit;text-decoration:none}
button,input,select,textarea{font-family:inherit;font-size:inherit}

/* ---------- topbar ---------- */
.topbar{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);backdrop-filter:blur(10px);border-bottom:1px solid var(--line)}
.topbar-inner{max-width:1240px;margin:0 auto;padding:0 20px;height:62px;display:flex;align-items:center;gap:22px}
.brand{display:flex;align-items:center;gap:10px;flex-shrink:0}
.brand-mark{width:34px;height:34px;border-radius:9px;background:linear-gradient(135deg,#e02b2b,var(--accent));color:#fff;display:grid;place-items:center;font-weight:700;font-size:17px}
.brand-text{font-weight:700;font-size:17px;display:flex;flex-direction:column;line-height:1.15}
.brand-text small{font-weight:400;font-size:10px;color:var(--muted);letter-spacing:.4px}
.nav{display:flex;gap:2px;flex:1;overflow-x:visible;scrollbar-width:none}
.nav::-webkit-scrollbar{display:none}
.nav a{padding:7px 12px;border-radius:8px;color:var(--ink-2);font-size:14px;white-space:nowrap;transition:.15s}
.nav a:hover{background:#eef2f8;color:var(--brand)}
.nav a.active{background:var(--brand);color:#fff;font-weight:600}
 .nav-dropdown{position:relative;flex-shrink:0}.nav-dropdown-toggle{border:0;background:none;color:var(--ink-2);padding:7px 12px;border-radius:8px;font:inherit;font-size:14px;cursor:pointer;white-space:nowrap}.nav-dropdown-toggle:hover,.nav-dropdown:hover .nav-dropdown-toggle,.nav-dropdown.is-open .nav-dropdown-toggle{background:#eef2f8;color:var(--brand)}.nav-dropdown-menu{display:none;position:absolute;right:0;top:100%;min-width:132px;padding:6px;background:#fff;border:1px solid var(--line);border-radius:9px;box-shadow:var(--shadow-lg);z-index:60}.nav-dropdown.is-open .nav-dropdown-menu{display:block}
/* Hover/focus only on devices with a real pointer; touch devices use .is-open. */
@media (hover:hover) and (pointer:fine){.nav-dropdown:hover .nav-dropdown-menu,.nav-dropdown:focus-within .nav-dropdown-menu{display:block}}.nav-dropdown-menu a,.nav-dropdown-menu a:visited{display:block;padding:8px 10px;border-radius:6px;background:#fff;color:var(--ink-2);font-size:13px}.nav-dropdown-menu a:hover,.nav-dropdown-menu a:active{background:var(--brand);color:#fff;text-decoration:none}
.user-area{display:flex;align-items:center;gap:10px;flex-shrink:0}
.user-chip{display:flex;align-items:center;gap:8px;font-size:13px;color:var(--ink-2)}
.avatar{width:30px;height:30px;border-radius:50%;background:var(--brand-2);color:#fff;display:grid;place-items:center;font-size:13px;font-weight:600}

/* ---------- layout ---------- */
main{flex:1;width:100%}
.wrap{max-width:1240px;margin:0 auto;padding:28px 20px 60px}
.page-head{margin-bottom:22px}
.page-head h1{font-size:26px;letter-spacing:-.3px}
.page-head p{color:var(--muted);margin-top:6px;font-size:14px}

.grid{display:grid;gap:16px}
/* Grid items default to min-width:auto, so a wide table inside a card can
   stretch the track and push the whole page sideways. Allow them to shrink. */
.grid > *,.sidebar-layout > *{min-width:0}
.card{min-width:0}
.table-wrap{max-width:100%}
.card,.stat-box,.kv{overflow-wrap:anywhere}
.g2{grid-template-columns:repeat(2,1fr)}
.g3{grid-template-columns:repeat(3,1fr)}
.g4{grid-template-columns:repeat(4,1fr)}
.sidebar-layout{display:grid;grid-template-columns:320px 1fr;gap:20px;align-items:start}

.card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px;box-shadow:var(--shadow)}
.card h3{font-size:16px;margin-bottom:10px}
.card-title{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px}
.card-title h3{margin:0}

/* ---------- hero ---------- */
.hero{position:relative;overflow:hidden;background:#e9f2fb;color:var(--ink);padding:0}
.hero-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom}
.hero::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(100deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 34%,rgba(255,255,255,.55) 56%,rgba(255,255,255,0) 82%)}
.hero-inner{position:relative;z-index:1;max-width:1240px;margin:0 auto;padding:58px 20px 50px}
.hero-copy{max-width:640px}
.hero h1{font-size:38px;line-height:1.3;letter-spacing:-.5px;color:var(--brand)}
.hero h1 em{font-style:normal;color:var(--accent)}
.hero p{margin-top:14px;font-size:16px;color:var(--ink-2);max-width:600px}
.hero-actions{margin-top:26px;display:flex;gap:12px;flex-wrap:wrap}
.hero-stats{margin-top:38px;display:grid;grid-template-columns:repeat(4,1fr);gap:14px;max-width:760px}
.hero-stat{background:rgba(255,255,255,.82);border:1px solid rgba(15,76,129,.16);border-radius:10px;padding:14px;backdrop-filter:blur(6px);box-shadow:var(--shadow)}
.hero-stat b{display:block;font-size:26px;line-height:1.2;color:var(--brand)}
.hero-stat span{font-size:12px;color:var(--ink-2)}
.hero-identity .service-kicker{margin-bottom:8px}
.hero-identity::after{background:linear-gradient(100deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.93) 28%,rgba(247,251,255,.6) 44%,rgba(255,255,255,0) 58%)}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;padding:9px 18px;border-radius:9px;border:1px solid transparent;cursor:pointer;font-size:14px;font-weight:500;transition:.15s;background:#eef2f8;color:var(--ink-2)}
.btn:hover{filter:brightness(.97)}
.btn-primary{background:var(--brand);color:#fff}
.btn-primary:hover{background:var(--brand-2)}
.btn-accent{background:var(--accent);color:#fff}
.btn-ghost{background:rgba(255,255,255,.7);border-color:rgba(15,76,129,.3);color:var(--brand)}
.btn-ghost:hover{background:#fff;border-color:var(--brand)}
.btn-line{background:#fff;border-color:var(--line);color:var(--ink-2)}
.btn-line:hover{border-color:var(--brand);color:var(--brand)}
.btn-sm{padding:5px 11px;font-size:13px;border-radius:7px}
.btn-danger{background:#fdeceb;color:var(--danger)}
.btn:disabled{opacity:.5;cursor:not-allowed}

/* ---------- forms ---------- */
.field{margin-bottom:14px}
.field label{display:block;font-size:13px;color:var(--ink-2);margin-bottom:6px;font-weight:500}
.field .hint{font-size:12px;color:var(--muted);margin-top:4px}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=date],input[type=search],select,textarea{
  width:100%;padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:#fff;color:var(--ink);outline:none;transition:.15s
}
input:focus,select:focus,textarea:focus{border-color:var(--brand-2);box-shadow:0 0 0 3px rgba(23,105,170,.12)}
textarea{resize:vertical;min-height:120px;line-height:1.7}
.checkbox{display:flex;align-items:center;gap:8px;font-size:14px;color:var(--ink-2);cursor:pointer}
.checkbox input{width:16px;height:16px;accent-color:var(--brand)}
.form-row{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.form-row-3{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.code-row{display:flex;gap:8px}.code-row input{flex:1}.code-row .btn{white-space:nowrap}

/* ---------- tags & badges ---------- */
.tag{display:inline-block;padding:2px 8px;border-radius:5px;font-size:11px;background:#eef2f8;color:var(--ink-2);margin-right:5px;margin-bottom:4px}
.tag-brand{background:#f0f2f5;color:var(--accent)}
.tag-accent{background:#fdeaed;color:var(--accent)}
.tag-ok{background:#e5f4ec;color:var(--ok)}
.tag-warn{background:#fdf3e0;color:var(--warn)}
.badge{display:inline-flex;align-items:center;padding:2px 9px;border-radius:20px;font-size:11px;font-weight:600}
.badge-reach{background:#fdeceb;color:var(--reach)}
.badge-match{background:#e4effa;color:var(--match)}
.badge-safety{background:#e5f4ec;color:var(--safety)}
.dot{width:7px;height:7px;border-radius:50%;display:inline-block;margin-right:6px}

/* ---------- school grid ---------- */
.school-card{background:var(--panel);border:1px solid var(--line);border-radius:var(--radius);padding:18px;cursor:pointer;transition:.18s;box-shadow:var(--shadow);position:relative;overflow:hidden}
.school-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:var(--brand-2)}
.school-card::before{content:"";position:absolute;left:0;top:0;bottom:0;width:4px;background:linear-gradient(180deg,#C8102E,#8e0f22)}
.school-rank{position:absolute;right:14px;top:14px;font-size:11px;color:var(--muted);background:#f2f5fa;padding:3px 8px;border-radius:20px}
.school-card h3{font-size:17px;margin-bottom:2px}
.school-card .en{font-size:12px;color:var(--muted);margin-bottom:8px}
.school-card .badge-line{font-size:12px;color:var(--brand);margin-bottom:10px;font-weight:500}
.school-card .meta{font-size:12px;color:var(--muted);display:flex;gap:14px;margin-top:10px;padding-top:10px;border-top:1px dashed var(--line)}

/* ---------- program catalog ---------- */
.catalog-card{margin-top:22px}
.catalog-filters{display:grid;grid-template-columns:minmax(240px,2fr) repeat(3,minmax(140px,1fr));gap:10px;margin-bottom:16px}
.program-results{display:flex;flex-direction:column;gap:10px}
.program-result{display:flex;align-items:flex-start;justify-content:space-between;gap:18px;padding:14px 0;border-top:1px solid var(--line)}
.program-result:first-child{border-top:0;padding-top:0}
.program-result-main{min-width:0;flex:1}
.program-result-title{display:flex;align-items:center;gap:7px;flex-wrap:wrap}
.program-result-title h4{font-size:15px;margin-right:3px}
.program-result-actions{display:flex;gap:7px;flex-shrink:0;padding-top:2px}
.catalog-empty{text-align:center;padding:24px 0}

/* ---------- program list ---------- */
.prog-item{background:var(--panel);border:1px solid var(--line);border-radius:10px;padding:14px 16px;margin-bottom:10px;transition:.15s}
.prog-item:hover{border-color:var(--brand-2);box-shadow:var(--shadow)}
.prog-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.prog-head h4{font-size:15px}
.prog-head .en{font-size:12px;color:var(--muted);font-weight:400}
.prog-meta{display:flex;flex-wrap:wrap;gap:12px;margin-top:8px;font-size:12px;color:var(--ink-2)}
.prog-meta b{color:var(--ink);font-weight:600}
.prog-desc{font-size:13px;color:var(--ink-2);margin-top:8px;line-height:1.7}
.course-description{font-size:15px;color:var(--ink-2);line-height:1.8;margin-top:12px}
.lead-card h2{font-size:22px;line-height:1.35}

/* ---------- score ---------- */
.score-hero{display:flex;align-items:center;gap:26px;flex-wrap:wrap}
.score-ring{width:130px;height:130px;border-radius:50%;display:grid;place-items:center;color:#fff;flex-shrink:0;background:conic-gradient(#ffd36b var(--pct),rgba(255,255,255,.22) 0)}
.score-ring-inner{width:104px;height:104px;border-radius:50%;background:var(--brand);display:grid;place-items:center;flex-direction:column}
.score-ring-inner b{font-size:34px;line-height:1}
.score-ring-inner span{font-size:11px;opacity:.85}
.bar{height:8px;background:#eef2f8;border-radius:20px;overflow:hidden;margin-top:5px}
.bar > i{display:block;height:100%;background:linear-gradient(90deg,var(--brand),var(--brand-2));border-radius:20px;transition:width .5s}
.dim-row{margin-bottom:12px}
.dim-row .lbl{display:flex;justify-content:space-between;font-size:13px;color:var(--ink-2)}

/* ---------- timeline ---------- */
.service-price{margin-top:16px;color:var(--accent);font-size:26px;font-weight:700}
.timeline{position:relative;padding-left:26px}
.timeline::before{content:"";position:absolute;left:8px;top:6px;bottom:6px;width:2px;background:var(--line)}
.tl-item{position:relative;margin-bottom:20px}
.tl-item::before{content:"";position:absolute;left:-22px;top:6px;width:12px;height:12px;border-radius:50%;background:#fff;border:3px solid var(--brand-2)}
.tl-period{font-size:12px;color:var(--accent);font-weight:600}
.tl-item h4{font-size:15px;margin:2px 0 6px}
.tl-item p{font-size:13px;color:var(--ink-2)}
.tl-tasks{margin-top:8px;display:flex;flex-wrap:wrap;gap:6px}

/* ---------- table ---------- */
.table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:var(--radius);background:#fff}
table{width:100%;border-collapse:collapse;font-size:13px;min-width:640px}
th,td{padding:10px 12px;text-align:left;border-bottom:1px solid var(--line)}
th{background:#f7f9fc;font-weight:600;color:var(--ink-2);font-size:12px;white-space:nowrap}
tbody tr:hover{background:#fafbfe}
tbody tr:last-child td{border-bottom:none}
td.num{text-align:right;font-variant-numeric:tabular-nums}

/* ---------- task ---------- */
.task-item{display:flex;align-items:flex-start;gap:10px;padding:10px 12px;border:1px solid var(--line);border-radius:9px;margin-bottom:8px;background:#fff;transition:.15s}
.task-item:hover{border-color:var(--brand-2)}
.task-item.done{opacity:.55}
.task-item.done .task-title{text-decoration:line-through}
.task-item input[type=checkbox]{width:17px;height:17px;margin-top:3px;accent-color:var(--ok);cursor:pointer;flex-shrink:0}
.task-body{flex:1;min-width:0}
.task-title{font-size:14px}
.task-sub{font-size:12px;color:var(--muted);margin-top:2px}
.task-group{border:1px solid var(--line);border-radius:12px;padding:14px;margin-bottom:14px;background:#fbfcfe}
.task-group:last-child{margin-bottom:0}
.task-group-general{background:#fffaf1;border-color:#f0dfbd}
.task-group-head{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}
.task-group-head h4{font-size:15px;color:var(--ink)}
.task-group-head p{font-size:12px;color:var(--muted);margin-top:3px}
.task-group-head strong{font-size:18px;color:var(--brand);white-space:nowrap}
.task-group .bar{margin:10px 0 12px}
.task-group-list .task-item{background:#fff;margin-bottom:7px}
.task-group-list .task-item:last-child{margin-bottom:0}

/* ---------- faq ---------- */
.faq-item{background:#fff;border:1px solid var(--line);border-radius:10px;margin-bottom:10px;overflow:hidden}
.faq-q{padding:14px 16px;cursor:pointer;display:flex;justify-content:space-between;gap:12px;font-weight:500;font-size:15px}
.faq-q:hover{background:#fafbfe}
.faq-q .ic{color:var(--brand-2);transition:.2s;flex-shrink:0}
.faq-item.open .ic{transform:rotate(45deg)}
.faq-a{padding:0 16px;max-height:0;overflow:hidden;transition:.25s;color:var(--ink-2);font-size:14px}
.faq-item.open .faq-a{padding:0 16px 15px;max-height:640px}
.faq-search-wrap{max-width:680px;margin:0 auto 16px}
.faq-search-wrap input{width:100%}

/* ---------- modal ---------- */
.modal{position:fixed;inset:0;z-index:100;display:grid;place-items:center;padding:20px}
.modal[hidden]{display:none}
.modal-backdrop{position:absolute;inset:0;background:rgba(14,26,44,.55);backdrop-filter:blur(3px)}
.modal-panel{position:relative;background:#fff;border-radius:14px;max-width:860px;width:100%;max-height:88vh;overflow-y:auto;box-shadow:var(--shadow-lg);padding:26px}
.modal-close{position:absolute;right:14px;top:12px;width:32px;height:32px;border:none;background:#eef2f8;border-radius:8px;font-size:22px;line-height:1;color:var(--ink-2);cursor:pointer}
.modal-close:hover{background:#e0e6ef}

/* ---------- toast ---------- */
.toast-wrap{position:fixed;right:20px;bottom:20px;z-index:200;display:flex;flex-direction:column;gap:8px}
.toast{background:var(--ink);color:#fff;padding:11px 16px;border-radius:9px;font-size:14px;box-shadow:var(--shadow-lg);animation:slideIn .22s}
.toast.ok{background:var(--ok)}
.toast.err{background:var(--danger)}
@keyframes slideIn{from{transform:translateX(24px);opacity:0}to{transform:none;opacity:1}}

/* ---------- misc ---------- */
.muted{color:var(--muted);font-size:13px}
.empty{text-align:center;padding:48px 20px;color:var(--muted)}
.empty b{display:block;font-size:16px;color:var(--ink-2);margin-bottom:6px}
.loading{text-align:center;padding:48px;color:var(--muted)}
.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center;margin-bottom:18px}
.filters input[type=search]{flex:1;min-width:220px}
.filters select{width:auto;min-width:120px}
.chips{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:16px}
.chip{padding:6px 14px;border-radius:20px;border:1px solid var(--line);background:#fff;cursor:pointer;font-size:13px;color:var(--ink-2);transition:.15s}
.chip:hover{border-color:var(--brand-2);color:var(--brand)}
.chip.active{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:500}
.stat-box{background:#fff;border:1px solid var(--line);border-radius:10px;padding:14px 16px;text-align:center}
.stat-box b{display:block;font-size:24px;color:var(--brand);line-height:1.3}
.stat-box span{font-size:12px;color:var(--muted)}
.alert{padding:12px 14px;border-radius:9px;font-size:13px;margin-bottom:14px;border-left:3px solid}
.alert-info{background:#eef4fb;border-color:var(--brand-2);color:#20496e}
.alert-warn{background:#fdf6e8;border-color:var(--warn);color:#7a5410}
.alert-ok{background:#e9f6ef;border-color:var(--ok);color:#0d5c39}
.alert-err{background:#fdeceb;border-color:var(--danger);color:#8e2c22}
.list-plain li{margin-left:18px;font-size:13px;color:var(--ink-2);margin-bottom:5px}
.doc-case-link{display:inline-flex;align-items:center;margin-top:10px;padding:0;border:0;background:none;color:var(--brand-2);font-size:13px;font-weight:600;cursor:pointer}
.doc-case-link:hover{text-decoration:underline;color:var(--brand)}
.doc-case-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px;color:var(--ink-2);font-size:13px;font-weight:600}
.doc-case-content{padding:16px 18px;border:1px solid var(--line);border-radius:9px;background:#f7f9fc;color:var(--ink-2);font-size:14px;line-height:1.85;white-space:normal}
.divider{height:1px;background:var(--line);margin:18px 0}
.kv{display:flex;justify-content:space-between;font-size:13px;padding:7px 0;border-bottom:1px dashed var(--line)}
.kv:last-child{border-bottom:none}
.kv span{color:var(--muted)}
.kv b{font-weight:600}

/* ---------- auth ---------- */
.auth-wrap{max-width:400px;margin:60px auto;background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px;box-shadow:var(--shadow)}
.auth-wrap h2{font-size:22px;margin-bottom:6px}
.auth-tabs{display:flex;gap:6px;margin-bottom:20px;background:#eef2f8;padding:4px;border-radius:9px}
.auth-tabs button{flex:1;padding:8px;border:none;background:transparent;border-radius:7px;cursor:pointer;color:var(--ink-2);font-size:14px}
.auth-tabs button.active{background:#fff;color:var(--brand);font-weight:600;box-shadow:var(--shadow)}

/* ---------- talent services ---------- */
.service-kicker{display:inline-block;color:var(--accent);font-size:13px;font-weight:700;margin-bottom:6px}.service-hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:26px;margin-bottom:18px;background:linear-gradient(135deg,#f7fbff,#fff)}.service-hero h2{font-size:22px;color:var(--brand);margin:10px 0 8px}.service-hero p{max-width:740px;color:var(--ink-2);font-size:14px}.service-grid{margin-bottom:18px}.service-grid h3{color:var(--brand)}.service-list{list-style:none;margin-top:12px}.service-list li{position:relative;padding:9px 0 9px 24px;border-bottom:1px solid var(--line);font-size:14px}.service-list li:last-child{border-bottom:0}.service-list li::before{content:"✓";position:absolute;left:0;color:var(--ok);font-weight:700}.service-steps{list-style:none;margin-top:12px}.service-steps li{display:flex;align-items:center;gap:12px;padding:9px 0;border-bottom:1px solid var(--line);font-size:14px}.service-steps li:last-child{border-bottom:0}.service-steps b{width:25px;height:25px;border-radius:50%;display:grid;place-items:center;background:#e4effa;color:var(--brand);font-size:12px}.service-notice{background:#fffaf1;border-color:#f0dfbd}.service-notice p{font-size:13px;color:var(--ink-2)}.service-switch{display:flex;gap:8px;flex-wrap:wrap;margin-top:20px}.service-switch a{padding:8px 14px;border:1px solid var(--line);border-radius:20px;color:var(--ink-2);font-size:13px;background:#fff}.service-switch a.active,.service-switch a:hover{background:var(--brand);border-color:var(--brand);color:#fff}

/* ---------- printable application plan ---------- */
.plan-page{background:#eef2f7;color:#1b2636;display:block}
.plan-document{max-width:900px;margin:24px auto;background:#fff;padding:42px 52px;box-shadow:var(--shadow-lg)}
.plan-toolbar{display:flex;justify-content:flex-end;gap:8px;margin-bottom:18px}
.plan-toolbar button{border:1px solid var(--line);border-radius:7px;background:#fff;padding:8px 14px;color:var(--ink-2);cursor:pointer}
.plan-toolbar button:first-child{background:var(--brand);border-color:var(--brand);color:#fff}
.plan-toolbar::after{content:"在打印窗口选择“另存为 PDF”即可生成 PDF 文件";align-self:center;color:var(--muted);font-size:12px;margin-right:auto}
.pdf-status{margin:-8px 0 18px;padding:9px 12px;border-radius:6px;background:#eef4fb;color:var(--brand);font-size:12px}
.plan-cover{padding:42px 0 34px;border-bottom:3px solid var(--brand);margin-bottom:28px}
.plan-mark{color:var(--accent);font-size:18px;font-weight:700;letter-spacing:2px}
.plan-cover h1{font-size:32px;margin:24px 0 5px;color:var(--brand)}
.plan-cover p{color:var(--muted);letter-spacing:1px}.plan-date{margin-top:32px;color:var(--muted);font-size:13px}
.plan-section{margin:0 0 30px;page-break-inside:auto}.plan-section h2{font-size:20px;color:var(--brand);border-left:4px solid var(--accent);padding-left:10px;margin-bottom:15px}
.plan-profile{display:grid;grid-template-columns:repeat(2,1fr);border:1px solid var(--line);border-radius:8px;overflow:hidden}
.plan-profile div{display:flex;justify-content:space-between;gap:12px;padding:10px 13px;border-bottom:1px solid var(--line)}.plan-profile div:nth-child(odd){background:#fafbfd}.plan-profile span{color:var(--muted);font-size:13px}.plan-profile b{font-size:13px;text-align:right}
.plan-note,.plan-guidance{background:#f7f9fc;border-radius:7px;padding:11px 13px;color:var(--ink-2);font-size:13px;margin-top:12px}
.plan-timeline{border-left:2px solid #dbe4ef;padding-left:20px}.plan-timeline-item{position:relative;margin-bottom:18px}.plan-timeline-item::before{content:"";position:absolute;left:-27px;top:3px;width:10px;height:10px;border-radius:50%;background:var(--brand-2);border:3px solid #fff;box-shadow:0 0 0 1px var(--brand-2)}
.plan-timeline-item>b{color:var(--accent);font-size:13px}.plan-timeline-item h3{font-size:15px;margin:3px 0}.plan-timeline-item p{font-size:13px;color:var(--ink-2)}.plan-timeline-item span{display:inline-block;background:#eef4fb;color:var(--brand);font-size:11px;padding:3px 7px;margin:7px 5px 0 0;border-radius:4px}
.plan-project{border:1px solid var(--line);border-radius:9px;padding:16px;margin-bottom:14px;page-break-inside:avoid}.plan-project-head{display:flex;justify-content:space-between;gap:14px}.plan-project-head h3{font-size:17px;margin-top:5px}.plan-badge{font-size:11px;color:var(--brand);background:#e4effa;padding:3px 8px;border-radius:12px}.plan-deadline{font-size:12px;color:var(--accent);white-space:nowrap}.plan-meta{font-size:12px;color:var(--muted);padding:8px 0;border-bottom:1px dashed var(--line)}.plan-project h4{font-size:14px;margin:12px 0 6px}
.plan-task-list{list-style:none;padding:0;margin:0}.plan-task{display:flex;gap:8px;align-items:flex-start;padding:6px 0;font-size:13px;border-bottom:1px solid #f0f2f5}.plan-task:last-child{border-bottom:0}.plan-task .box{width:16px;height:16px;flex:none;border:1px solid #9aabc0;border-radius:3px;text-align:center;line-height:14px;color:#fff;background:#fff;font-size:12px}.plan-task.done{color:#71907f;text-decoration:line-through}.plan-task.done .box{background:var(--ok);border-color:var(--ok)}.plan-task small{display:block;color:var(--muted);text-decoration:none;font-size:11px;margin-top:2px}
.plan-guide-list{padding-left:22px}.plan-guide-list li{padding:6px 0;font-size:13px;color:var(--ink-2)}.plan-footer{border-top:1px solid var(--line);padding-top:14px;color:var(--muted);font-size:11px;text-align:center}
@media (max-width:680px){.plan-document{margin:0;padding:24px 18px}.plan-profile{grid-template-columns:1fr}.plan-project-head{flex-direction:column}.plan-cover h1{font-size:26px}}
@media print{.plan-page{background:#fff}.plan-document{max-width:none;margin:0;padding:0;box-shadow:none}.plan-toolbar,.pdf-status{display:none}.plan-section{break-inside:auto}.plan-project{break-inside:avoid}.plan-cover{padding-top:0}}

@media (max-width:1000px){
  .g4{grid-template-columns:repeat(2,1fr)}
  .g3{grid-template-columns:repeat(2,1fr)}
  .sidebar-layout{grid-template-columns:1fr}
  .hero-stats{grid-template-columns:repeat(2,1fr)}
}
@media (max-width:680px){
  .topbar-inner{height:auto;flex-wrap:wrap;padding:10px 14px;gap:10px}
  .nav{order:3;width:100%;overflow:visible}
  .g2,.g3,.g4,.form-row,.form-row-3{grid-template-columns:1fr}
  .hero::after{background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.9) 58%,rgba(255,255,255,.45) 100%)}
  .hero-inner{padding:40px 16px 36px}
  .hero h1{font-size:27px}
  .hero-stats{margin-top:28px}
  .wrap{padding:20px 14px 44px}
  .service-hero{display:block}.service-hero .btn{margin-top:16px;width:100%}.nav-dropdown{width:max-content}
  .catalog-filters{grid-template-columns:1fr}
  .program-result{flex-direction:column}
  .program-result-actions{width:100%}
  .program-result-actions .btn{flex:1}
}

/* Final mobile pass: touch targets, overflow and dense data views. */
@media (max-width:680px){
  html,body{max-width:100%;overflow-x:hidden}
  .brand-text{font-size:15px}.brand-text small{font-size:9px}.user-area{margin-left:auto}.user-chip span{display:none}
  .nav{display:flex;gap:4px;width:calc(100vw - 28px);overflow-x:auto!important;overflow-y:visible;-webkit-overflow-scrolling:touch}
  .nav a,.nav-dropdown-toggle{padding:8px 10px;font-size:13px}
  .nav-dropdown-menu a{display:block;padding:13px 14px;font-size:15px}
  .nav-menu-portal{position:fixed;left:14px;right:14px;z-index:300}
  .nav-menu-portal .nav-dropdown-menu{position:static;min-width:0;padding:8px;background:#fff;border:1px solid var(--line);border-radius:10px;box-shadow:0 16px 40px rgba(16,32,56,.28)}
  .page-head h1{font-size:23px}.page-head p{font-size:13px}.card{padding:14px;border-radius:10px}.card-title{align-items:flex-start;flex-wrap:wrap}
  .hero-actions .btn{min-width:140px;padding:10px 12px}.hero-stat{padding:10px}.hero-stat b{font-size:21px}
  .filters{display:grid;grid-template-columns:1fr 1fr;gap:8px}.filters input[type=search]{grid-column:1/-1;min-width:0}.filters select{width:100%;min-width:0}.filters .check{grid-column:1/-1}
  .prog-head{flex-direction:column;gap:8px}.prog-head>div:last-child{text-align:left!important}.prog-meta{gap:7px 12px}.program-result-actions{width:100%}.program-result-actions .btn{flex:1}
  .service-hero{padding:18px}.service-hero h2{font-size:19px}.service-hero .btn{width:100%;margin-top:15px}.service-price{font-size:23px}.service-switch{overflow-x:auto;flex-wrap:nowrap;padding-bottom:4px}.service-switch a{white-space:nowrap}
  .task-group{padding:11px}.task-group-head h4{font-size:14px}.task-item{padding:9px 8px}.task-item .btn{padding:5px 8px;font-size:12px}
  .table-wrap{margin-left:-1px;margin-right:-1px}.table-wrap table{font-size:12px;min-width:700px}.table-wrap th,.table-wrap td{padding:8px 9px}
  .auth-wrap{margin:25px auto;padding:20px 16px}.auth-wrap h2{font-size:20px}.modal{padding:8px}.modal-panel{max-height:94vh;border-radius:10px;padding:18px 14px}
  .plan-document{width:100%;padding:18px 14px}.plan-toolbar{justify-content:stretch;flex-wrap:wrap}.plan-toolbar button{flex:1;min-width:0;padding:9px 7px;font-size:12px}.plan-toolbar::after{order:4;width:100%;margin-top:4px}.plan-cover{padding:22px 0 24px;margin-bottom:20px}.plan-cover h1{font-size:24px;margin-top:16px}.plan-section h2{font-size:17px}.plan-profile div{padding:8px 9px}.plan-profile span,.plan-profile b{font-size:12px}.plan-project{padding:12px}.plan-project-head h3{font-size:15px}.plan-deadline{white-space:normal}
  textarea{min-height:100px}.btn{min-height:40px}.btn-sm{min-height:34px}
}

/* ---------- service CTA + live chat ---------- */
.service-cta{display:flex;flex-direction:column;gap:9px;flex-shrink:0;min-width:150px}
.service-cta .btn{width:100%;justify-content:center}
.service-chat{position:fixed;right:20px;bottom:20px;width:360px;max-width:calc(100vw - 24px);height:520px;max-height:calc(100vh - 40px);background:#fff;border:1px solid var(--line);border-radius:14px;box-shadow:0 20px 50px rgba(16,32,56,.28);display:none;flex-direction:column;overflow:hidden;z-index:300}
.service-chat.open{display:flex}
.chat-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:13px 15px;background:linear-gradient(135deg,var(--brand),var(--brand-2));color:#fff}
.chat-head b{font-size:15px}.chat-head small{display:block;font-size:11px;opacity:.85;margin-top:2px}
.chat-close{border:0;background:rgba(255,255,255,.18);color:#fff;width:28px;height:28px;border-radius:7px;font-size:15px;cursor:pointer;line-height:1}
.chat-body{flex:1;overflow-y:auto;padding:14px;display:flex;flex-direction:column;gap:9px;background:#f7f9fc}
.chat-msg{max-width:82%;padding:9px 12px;border-radius:12px;font-size:13.5px;line-height:1.6;white-space:pre-wrap;word-break:break-word}
.chat-msg.bot{background:#fff;border:1px solid var(--line);color:var(--ink-2);border-top-left-radius:3px;align-self:flex-start}
.chat-msg.user{background:var(--brand);color:#fff;border-top-right-radius:3px;align-self:flex-end}
.chat-replies{display:flex;gap:7px;flex-wrap:wrap;padding:10px 12px 0;border-top:1px solid var(--line);background:#fff}
.chat-chip{border:1px solid var(--brand);background:#eef4fb;color:var(--brand);border-radius:16px;padding:6px 12px;font-size:12.5px;cursor:pointer;white-space:nowrap}
.chat-chip:hover{background:var(--brand);color:#fff}
.chat-form{display:flex;gap:8px;padding:10px 12px 12px;background:#fff}
.chat-form input{flex:1;min-width:0}
.chat-form .btn{padding:9px 15px;min-height:0}

.owner-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:18px;border-bottom:1px solid var(--line);padding-bottom:10px}
.owner-tab{padding:9px 16px;border-radius:9px;color:var(--ink-2);font-size:14px;background:#fff;border:1px solid var(--line)}
.owner-tab:hover{border-color:var(--brand-2);color:var(--brand);text-decoration:none}
.owner-tab.active{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:600}
.owner-tab-badge{display:inline-block;background:var(--accent);color:#fff;border-radius:10px;padding:0 7px;font-size:11px;margin-left:5px}
.owner-stat{text-decoration:none;display:block}
.owner-stat:hover{border-color:var(--brand-2);text-decoration:none}
.owner-quick-links{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}
/* ---------- about page (one-page intro) ---------- */
.about-sheet{background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px 34px;box-shadow:var(--shadow);max-width:900px;margin:0 auto}
.about-top{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;border-bottom:3px solid var(--brand);padding-bottom:14px}
.about-brand{display:flex;align-items:center;gap:10px}
.about-mark{height:48px;width:auto;display:block;object-fit:contain}
.about-sep{width:1px;height:40px;background:var(--line);flex-shrink:0}
.about-copy{margin-top:6px}
.about-brand h1{font-size:18px;letter-spacing:.5px}
.about-brand small{display:block;font-size:10.5px;color:var(--muted);letter-spacing:.4px;font-weight:400;margin-top:1px}
.about-top-right{text-align:right;font-size:11px;color:var(--muted);line-height:1.7}
.about-lead{margin:16px 0 4px;font-size:14.5px;color:var(--ink-2)}
.about-lead b{color:var(--brand)}
.about-sheet h2{font-size:15px;color:var(--brand);margin:20px 0 10px;padding-left:10px;border-left:4px solid var(--accent)}
.about-cols{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}
.about-colhead{font-size:13px;font-weight:700;color:#fff;background:var(--brand);border-radius:6px;padding:7px 12px;margin-bottom:10px}
.about-colhead.alt{background:var(--brand-2)}
.about-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:9px}
.about-item{font-size:13px;color:var(--ink-2);display:flex;gap:8px;align-items:flex-start}
.about-item::before{content:"✓";color:var(--brand-2);font-weight:700;flex-shrink:0}
.about-svc{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.about-svc-card{border:1px solid var(--line);border-radius:10px;padding:14px;background:#fff}
.about-svc-card h3{font-size:14px;color:var(--brand);margin-bottom:5px}
.about-svc-card p{font-size:12px;color:var(--ink-2)}
.about-flow-box{background:linear-gradient(135deg,#0f4c81,#1769aa);border-radius:12px;padding:16px 16px 14px;margin-top:8px}
.about-flow-title{color:#fff;font-size:13px;font-weight:700;letter-spacing:.5px;margin-bottom:12px;display:flex;align-items:center;gap:8px}
.about-flow-title::before{content:"";width:5px;height:15px;background:#ffd36b;border-radius:2px}
.about-flow{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}
.about-step{background:rgba(255,255,255,.96);border-radius:9px;padding:11px 11px 10px}
.about-step b{display:inline-grid;place-items:center;width:19px;height:19px;border-radius:50%;background:var(--accent);color:#fff;font-size:10px;margin-right:6px;vertical-align:middle}
.about-step span{font-size:12px;color:var(--ink);font-weight:600;vertical-align:middle}
.about-step p{font-size:10.5px;color:var(--muted);margin-top:5px;line-height:1.5}
.about-step.hi{background:#fff6d9;border:1px solid #f0c85a}
.about-step.hi b{background:#b7791f}
.about-flow-identity{background:linear-gradient(135deg,#1769aa,#2f8bd6)}
.about-flow-5{grid-template-columns:repeat(5,1fr)}
.about-foot{margin-top:20px;border-top:1px solid var(--line);padding-top:12px;font-size:11px;color:var(--muted)}
.about-foot .row{display:flex;justify-content:space-between;gap:14px;flex-wrap:wrap;margin-bottom:6px}
.about-actions{display:flex;justify-content:flex-end;margin-bottom:14px}

@media (max-width:680px){
  .about-sheet{padding:20px 16px;border-radius:10px}
  .about-top{flex-direction:column}
  .about-top-right{text-align:left}
  .about-cols,.about-grid3,.about-svc{grid-template-columns:1fr}
  .about-flow,.about-flow-5{grid-template-columns:1fr 1fr}
}
@media print{
  .topbar,.footer,.about-actions,.owner-tabs{display:none!important}
  body{background:#fff}
  /* Keep the on-screen layout so the printed PDF matches the page. */
  .about-sheet{border:0;box-shadow:none;width:210mm;max-width:none;margin:0 auto;padding:14mm;border-radius:0}
  .about-flow-box{-webkit-print-color-adjust:exact;print-color-adjust:exact}
}
.chat-status{padding:6px 14px;font-size:12px;color:var(--muted);background:#f2f6fb;border-bottom:1px solid var(--line)}
.chat-msg.agent{background:var(--brand);color:#fff;border-top-right-radius:3px;align-self:flex-end}
.chat-msg.system{align-self:center;background:#eef2f8;color:var(--muted);font-size:12px;max-width:90%;text-align:center}
.chat-console{display:grid;grid-template-columns:320px 1fr;gap:16px;align-items:start}
.chat-inbox{max-height:70vh;overflow-y:auto}
.chat-inbox-item{display:block;width:100%;text-align:left;border:1px solid var(--line);background:#fff;border-radius:9px;padding:11px 12px;margin-bottom:8px;cursor:pointer}
.chat-inbox-item:hover{border-color:var(--brand-2)}
.chat-inbox-item.active{border-color:var(--brand);background:#f4f8ff}
.chat-inbox-top{display:flex;justify-content:space-between;gap:8px;align-items:center;font-size:14px}
.chat-inbox-sub{font-size:12px;color:var(--muted);margin-top:4px}
.chat-unread{color:var(--accent)}
.chat-badge{font-size:11px;padding:2px 8px;border-radius:12px;background:#eef2f8;color:var(--ink-2);white-space:nowrap}
.chat-badge-waiting{background:#fdeceb;color:var(--danger)}
.chat-badge-chatting{background:#e4effa;color:var(--brand)}
.chat-badge-bot{background:#eef2f8;color:var(--ink-2)}
.chat-badge-closed{background:#eef2f8;color:var(--muted)}
.chat-thread{display:flex;flex-direction:column;min-height:520px}
.chat-thread-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:10px;border-bottom:1px solid var(--line);margin-bottom:10px}
.chat-thread-head h3{font-size:16px}
.chat-thread .chat-body{min-height:340px}

@media (max-width:680px){
  .service-cta{width:100%;margin-top:14px;min-width:0}
  .service-chat{right:0;left:0;bottom:0;width:100%;max-width:100%;height:82vh;max-height:82vh;border-radius:14px 14px 0 0}
  .chat-console{grid-template-columns:1fr}
  .chat-inbox{max-height:230px}
  .chat-thread{min-height:0}
  .chat-thread .chat-body{min-height:220px}
}

.id-task-list{display:flex;flex-direction:column;gap:2px;margin-top:8px}
.id-task{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:8px;font-size:13px;cursor:pointer}
.id-task.done span{text-decoration:line-through;color:var(--muted)}
.id-task input{width:16px;height:16px;flex:none}
.id-task span{flex:1}
.id-task-del{border:0;background:none;color:var(--muted);font-size:16px;line-height:1;cursor:pointer;padding:0 2px}
.id-task-del:hover{color:var(--accent)}
.id-task-add{display:flex;gap:8px;margin-top:10px}
.id-task-add input{flex:1}
.id-task-add button{flex:none}


.brand-logo{height:46px;width:auto;display:block}
@media (max-width:680px){.brand-logo{height:40px}}

/* ===== 内页页头横幅：与首页 Hero 同风格（200 高）===== */
.page-banner{position:relative;height:200px;overflow:hidden;display:flex;align-items:center;background:#e9f2fb;color:var(--ink)}
.page-banner .pb-bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center bottom}
.page-banner::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(100deg,rgba(255,255,255,.96) 0%,rgba(255,255,255,.9) 34%,rgba(255,255,255,.55) 56%,rgba(255,255,255,0) 82%)}
.pb-inner{position:relative;z-index:1;width:100%;max-width:1240px;margin:0 auto;padding:0 20px}
.pb-kicker{display:inline-block;color:var(--accent);font-size:14px;font-weight:700;margin-bottom:8px}
.page-banner h1{font-size:36px;line-height:1.22;letter-spacing:-.5px;color:var(--brand)}
.page-banner p{margin-top:10px;font-size:16px;color:var(--ink-2);max-width:700px}
@media (min-width:681px) and (max-width:960px){.page-banner{height:170px}.page-banner h1{font-size:29px}.page-banner p{font-size:15px}}
@media (max-width:680px){.page-banner{height:auto;min-height:150px;padding:28px 0}.page-banner::after{background:linear-gradient(180deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.9) 58%,rgba(255,255,255,.5) 100%)}.page-banner h1{font-size:25px}.page-banner p{font-size:13.5px}.pb-kicker{font-size:12px}}

/* ===== 香港身份通 浅蓝调性（主 banner + 内页 banner）===== */
.hero-identity{background:#e8f3ff;color:var(--ink)}
.hero-identity::after{background:linear-gradient(100deg,rgba(238,246,253,.95) 0%,rgba(238,246,253,.85) 30%,rgba(238,246,253,.45) 50%,rgba(238,246,253,0) 66%)}
.hero-identity h1{color:var(--brand)}
.hero-identity h1 em{color:var(--accent)}
.hero-identity p{color:var(--ink-2)}
.hero-identity .hero-stat{background:rgba(255,255,255,.7);border-color:rgba(110,165,215,.25)}
.hero-identity .hero-stat b{color:var(--brand)}
.hero-identity .hero-stat span{color:var(--ink-2)}
.hero-identity .btn-ghost{background:rgba(255,255,255,.75);border-color:rgba(110,165,215,.4);color:var(--brand)}
.hero-identity .btn-ghost:hover{background:#fff;border-color:var(--brand)}
@media (max-width:680px){.hero-identity::after{background:linear-gradient(180deg,rgba(238,246,253,.95) 0%,rgba(238,246,253,.85) 55%,rgba(238,246,253,.4) 100%)}}
.page-banner--identity{background:#e8f3ff;border-bottom:2px solid rgba(110,165,215,.35)}
.page-banner--identity::after{background:linear-gradient(100deg,rgba(238,246,253,.95) 0%,rgba(238,246,253,.85) 32%,rgba(238,246,253,.45) 52%,rgba(238,246,253,0) 72%)}
.page-banner--identity .pb-kicker{color:var(--accent)}
.page-banner--identity h1{color:var(--brand)}
.page-banner--identity p{color:var(--ink-2)}
@media (max-width:680px){.page-banner--identity::after{background:linear-gradient(180deg,rgba(238,246,253,.9) 0%,rgba(238,246,253,.75) 55%,rgba(238,246,253,.4) 100%)}}

.hero-identity .hero-inner{display:flex;align-items:center;justify-content:space-between;gap:48px}
.hero-left{flex:1;min-width:0}
.hero-side{text-align:right;flex-shrink:0;max-width:540px}
.hero-side-brand{display:block;font-size:13px;letter-spacing:6px;color:#c8102e;font-weight:700;margin-bottom:14px;text-transform:uppercase}
.hero-side-title{font-size:44px;font-weight:900;letter-spacing:8px;color:var(--brand);line-height:1.1}

.hero-side-tagline{margin-top:16px;font-size:22px;font-weight:700;letter-spacing:8px;color:var(--ink-2)}
.hero-side-tagline span{display:inline-block;padding:0 4px}
.hero-side-tagline span:nth-child(1){color:#d9a94a}
.hero-side-tagline span:nth-child(2){color:#5b9bd5}
.hero-side-tagline span:nth-child(3){color:#e08aa0}
.hero-side-tagline span:nth-child(4){color:#7cc79a}
.hero-side-tagline span:nth-child(5){color:#d9a94a}
@media (max-width:680px){.hero-identity .hero-inner{flex-direction:column;align-items:flex-start;gap:24px}.hero-side{text-align:left;max-width:none}.hero-side-title{font-size:34px}}

.page-banner--identity .pb-inner{display:flex;align-items:center;justify-content:space-between;gap:40px}
.pb-left{flex:1;min-width:0}
.pb-side{text-align:right;flex-shrink:0;max-width:440px}
.pb-side-brand{display:block;font-size:12px;letter-spacing:5px;color:#c8102e;font-weight:700;margin-bottom:10px;text-transform:uppercase}
.pb-side-title{font-size:34px;font-weight:900;letter-spacing:6px;color:var(--brand);line-height:1.1}
.pb-side-tagline{margin-top:12px;font-size:18px;font-weight:700;letter-spacing:6px;color:var(--ink-2)}
.pb-side-tagline span{display:inline-block;padding:0 3px}
.pb-side-tagline span:nth-child(1){color:#d9a94a}
.pb-side-tagline span:nth-child(2){color:#5b9bd5}
.pb-side-tagline span:nth-child(3){color:#e08aa0}
.pb-side-tagline span:nth-child(4){color:#7cc79a}
.pb-side-tagline span:nth-child(5){color:#d9a94a}
@media (max-width:680px){.page-banner--identity .pb-inner{flex-direction:column;align-items:flex-start;gap:16px}.pb-side{text-align:left;max-width:none}.pb-side-title{font-size:26px}}

@keyframes hkTaglineWave {
  0%, 100% { transform: translateY(0); filter: brightness(1); }
  50% { transform: translateY(-7px); filter: brightness(1.3); }
}
.hero-side-tagline span, .pb-side-tagline span { animation: hkTaglineWave 2.6s ease-in-out infinite; }
.hero-side-tagline span:nth-child(1), .pb-side-tagline span:nth-child(1) { animation-delay: 0s; }
.hero-side-tagline span:nth-child(2), .pb-side-tagline span:nth-child(2) { animation-delay: 0.18s; }
.hero-side-tagline span:nth-child(3), .pb-side-tagline span:nth-child(3) { animation-delay: 0.36s; }
.hero-side-tagline span:nth-child(4), .pb-side-tagline span:nth-child(4) { animation-delay: 0.54s; }
.hero-side-tagline span:nth-child(5), .pb-side-tagline span:nth-child(5) { animation-delay: 0.72s; }

.hero-side-divider{width:200px;height:1px;margin:20px 0;background:linear-gradient(90deg,transparent,rgba(110,165,215,.7),transparent);margin-left:auto}
.pb-side-divider{width:160px;height:1px;margin:14px 0;background:linear-gradient(90deg,transparent,rgba(110,165,215,.7),transparent);margin-left:auto}

.hero-msg-tag{background:#c8102e;color:#fff;border:0;cursor:pointer;font-size:13px;padding:8px 16px;border-radius:8px;font-weight:700;transition:.15s}
.hero-msg-tag:hover{background:#a50d24}

/* ===== 港研通内页 banner：与主页同图，固定高度 + contain 留白（不裁切建筑）===== */
.page-banner--grad{height:200px;background:#241a0e}
.page-banner--grad .pb-bg{object-fit:cover;object-position:center 42%}

/* ===== 首页首屏优化 ===== */
.hero .hero-trust{margin-top:14px;font-size:17px;font-weight:700;color:var(--brand);letter-spacing:.3px}
.hero .hero-trust .hl{color:#c8102e}
.btn-lg{padding:13px 26px;font-size:16px;border-radius:10px}
.hero .hero-stats{margin-top:88px}
.hero-strip{background:#eef4fb;border-top:1px solid var(--line);border-bottom:1px solid var(--line);color:var(--ink-2);font-size:13.5px;text-align:center;padding:14px 20px;letter-spacing:.3px}
.footer-links{font-size:12.5px;margin-bottom:8px}
.footer-links a{color:var(--brand)}

/* ===== 右上角在线规划师浮动头像 + 对话气泡 ===== */
.online-widget{position:fixed;right:16px;top:74px;z-index:120;display:flex;align-items:center;gap:10px;cursor:pointer;background:none;border:0;padding:0}
.online-avatar-wrap{position:relative;width:60px;height:60px;flex:none}
.online-avatar-img{width:60px;height:60px;border-radius:50%;border:2px solid #fff;background:#fff;box-shadow:0 8px 22px rgba(16,32,56,.22);display:block}
.online-live{position:absolute;right:1px;bottom:2px;width:13px;height:13px;border-radius:50%;background:#12b76a;border:2px solid #fff;animation:onlinePulse 1.8s infinite}
@keyframes onlinePulse{0%{box-shadow:0 0 0 0 rgba(18,183,106,.6)}70%{box-shadow:0 0 0 8px rgba(18,183,106,0)}100%{box-shadow:0 0 0 0 rgba(18,183,106,0)}}
.online-bubble{position:relative;max-width:260px;background:#fff;color:#16202f;font-size:13.5px;line-height:1.55;padding:12px 32px 12px 14px;border-radius:14px;border:1px solid #e3e8f0;box-shadow:0 12px 30px rgba(16,32,56,.18);text-align:left;animation:onlinePop .3s ease}
.online-bubble::after{content:"";position:absolute;right:-7px;top:50%;width:14px;height:14px;background:#fff;border-right:1px solid #e3e8f0;border-top:1px solid #e3e8f0;transform:translateY(-50%) rotate(45deg)}
.online-close{position:absolute;right:7px;top:6px;color:#9aa7b8;font-size:15px;line-height:1;cursor:pointer;font-weight:700}
.online-close:hover{color:#c8102e}
@keyframes onlinePop{from{opacity:0;transform:translateX(10px)}to{opacity:1;transform:none}}
@media (max-width:680px){.online-widget{top:auto;bottom:80px;right:10px;gap:8px}.online-avatar-wrap{width:52px;height:52px}.online-avatar-img{width:52px;height:52px}.online-bubble{max-width:210px;font-size:12.5px;padding:10px 28px 10px 12px}}

/* ===== 港研通首页 hero：背景向右对齐，裁左侧空白、保留主图 ===== */
.hero-grad .hero-bg{object-position:right center}

/* ===== 实力数据看板（与 banner 拉开间距，独立成块）===== */
.home-board{background:#f5f7fb;padding:52px 20px 4px}
.home-board-inner{max-width:1240px;margin:0 auto;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}
.home-board .hero-stat{background:#fff;border:1px solid var(--line);border-radius:12px;padding:22px 16px;text-align:center;box-shadow:0 8px 24px rgba(16,32,56,.08)}
.home-board .hero-stat b{display:block;font-size:30px;color:var(--brand);line-height:1.2}
.home-board .hero-stat span{font-size:13px;color:var(--muted)}

/* ===== 港研通首页 hero：手机端改为上下堆叠（上图下字）===== */
@media (max-width:680px){
  .hero-grad{background:#fff}
  .hero-grad .hero-bg{position:relative;inset:auto;height:190px;width:100%;display:block;object-position:right center}
  .hero-grad::after{display:none}
  .hero-grad .hero-inner{padding:22px 16px 28px}
  .home-board{padding:28px 14px 0}
  .home-board-inner{grid-template-columns:repeat(2,1fr);gap:12px}
  .home-board .hero-stat{padding:16px 12px}
  .home-board .hero-stat b{font-size:24px}
}

/* ===== 院校卡片互动按钮 ===== */
.school-cta{display:flex;gap:8px;margin-top:12px;flex-wrap:wrap}
.school-cta .btn{flex:1;min-width:0;justify-content:center;white-space:nowrap}

/* ===== 表单主按钮与信任文案 ===== */
.btn-block{width:100%;justify-content:center}
.form-trust{margin-top:10px;font-size:12px;color:var(--muted);text-align:center;line-height:1.5}

/* ===== 入口卡悬停反馈（浮起 + 品牌红描边/光晕）===== */
.entry-card{transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}
.entry-card:hover{transform:translateY(-4px);box-shadow:0 16px 38px rgba(200,16,46,.18);border-color:#c8102e}
.entry-card:hover .tag-brand{background:#c8102e;color:#fff}

/* ===== 服务页：价值锚定 + 权益拆解 + 稀缺感 ===== */
.service-anchor{margin-top:6px;font-size:13px;color:var(--ink-2);max-width:760px}
.service-scare{font-size:12px;color:var(--accent);text-align:center;font-weight:600;margin-top:2px}
.service-benefits{margin-bottom:18px}
.service-benefits h3{color:var(--brand);margin-bottom:12px}
.benefit-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}
.benefit-row{display:flex;align-items:flex-start;gap:10px;background:#f7f9fc;border:1px solid var(--line);border-radius:10px;padding:12px 14px}
.benefit-ic{font-size:20px;line-height:1.2;flex:none}
.benefit-txt b{display:block;font-size:14px;color:var(--brand)}
.benefit-txt span{font-size:12.5px;color:var(--ink-2)}
@media (max-width:680px){.benefit-grid{grid-template-columns:1fr}}

.service-trust{margin-top:8px;font-size:12.5px;color:var(--ok);font-weight:600}

/* ===== Owner 待审核 FAQ 草稿 ===== */
.proposal{border:1px solid var(--line);border-radius:12px;padding:16px;margin-bottom:14px;background:#fbfcfe}
.proposal-meta{font-size:12px;color:var(--muted);margin-bottom:10px}
.proposal-summary{white-space:pre-wrap;font-size:12px;color:var(--ink-2);background:#f4f7fb;border:1px solid var(--line);border-radius:8px;padding:10px;margin-top:8px;max-height:220px;overflow:auto;font-family:inherit}
.prompt-actions{display:flex;gap:8px;margin-top:10px;flex-wrap:wrap}

/* ===== 移动端：汉堡菜单抽屉 + 精简二级页 banner ===== */
.hamburger{display:none}
@media (max-width:680px){
  .hamburger{display:flex;flex-direction:column;justify-content:center;gap:4px;width:40px;height:40px;border:1px solid var(--line);background:#fff;border-radius:10px;cursor:pointer;padding:0 9px;flex-shrink:0}
  .hamburger span{display:block;height:2px;background:var(--brand);border-radius:2px}

  .nav{position:fixed;top:0;right:0;bottom:0;width:80%;max-width:330px;height:100vh;background:#fff;flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:2px;padding:64px 14px 28px;transform:translateX(100%);transition:transform .26s ease;overflow-y:auto!important;overflow-x:hidden!important;-webkit-overflow-scrolling:touch;z-index:220;box-shadow:-12px 0 34px rgba(16,32,56,.2)}
  .nav.open{transform:translateX(0)}
  .nav a,.nav-dropdown-toggle{display:block!important;width:100%;text-align:left;padding:12px 10px;font-size:15px;border-radius:8px}
  .nav-dropdown{width:100%;flex-shrink:1}
  .nav-dropdown-menu{display:none;position:static!important;min-width:0;border:0;box-shadow:none;padding:2px 0 8px 12px;background:transparent}
  .nav-dropdown.is-open .nav-dropdown-menu{display:block}
  .nav-dropdown-menu a{padding:9px 10px;font-size:14px;color:var(--ink-2)}
  .nav-menu-portal{display:none!important}
  body.menu-open::after{content:"";position:fixed;inset:0;background:rgba(14,26,44,.45);z-index:210}

  /* 精简二级页 banner 高度，让标题与筛选更快可见 */
  .page-banner{min-height:92px;padding:12px 0}
  .page-banner h1{font-size:19px}
  .page-banner p{font-size:12px;margin-top:4px}
  .page-banner .pb-kicker{font-size:10px;letter-spacing:1.4px;margin-bottom:6px}
  .page-banner--grad{min-height:92px}
}

/* ===== 身份通首页：手机端与港研通一致（上图下字）===== */
@media (max-width:680px){
  .hero-identity .hero-bg{position:relative;inset:auto;height:190px;width:100%;display:block;object-position:center}
  .hero-identity{background:#fff}
  .hero-identity::after{display:none}
  .hero-identity .hero-inner{padding:22px 16px 28px;flex-direction:column;align-items:flex-start;gap:20px}
  .hero-identity .hero-left{width:100%}
  .hero-identity .hero-copy{max-width:none}
  .hero-identity .hero-stats{margin-left:0;margin-right:0;justify-content:flex-start}
}

/* 修复：移动端顶栏 backdrop-filter 会把 fixed 抽屉限制在顶栏内，去掉它 */
@media (max-width:680px){.topbar{backdrop-filter:none!important;-webkit-backdrop-filter:none!important}}

/* ===== 数据看板卡片：可点击热点 ===== */
.home-board .board-link{cursor:pointer;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease,border-color .16s ease}
.home-board .board-link:hover{transform:translateY(-3px);border-color:#c8102e;box-shadow:0 12px 28px rgba(200,16,46,.15)}
