:root {
  --arch-brand:#2563eb;
  --arch-brand-deep:#173b76;
  --arch-ink:#172033;
  --arch-muted:#66758b;
  --arch-line:#dce5f1;
  --arch-surface:#fff;
  --arch-page:#f3f7fc;
  --arch-violet:#7357d9;
  --arch-cyan:#1686a7;
  --arch-rose:#d6537c;
  --arch-shadow:0 12px 32px rgba(27,58,105,.09);
  --arch-ease:cubic-bezier(.22,.78,.2,1);
}

/* 就业参考：仅在功能首次打开后加载，版式与现有高级分析保持一致。 */
.employment-toolbar {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin: 0 0 16px;
  padding: 20px 22px;
  border: 1px solid #dbe7f3;
  border-radius: 8px;
  background: #f8fbfe;
}
.employment-toolbar label { display: grid; gap: 8px; min-width: min(360px, 100%); font-weight: 700; color: #17324d; }
.employment-toolbar select { min-height: 52px; padding: 0 44px 0 16px; border: 1px solid #c9d9ea; border-radius: 6px; background: #fff; color: #13263a; }
.employment-toolbar p { margin: 0 0 13px; color: #60758b; }
.source-disclaimer { margin: 0 0 18px; padding: 14px 16px; border-left: 4px solid #2e6edb; background: #eef5ff; color: #435d77; }
.employment-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.employment-table { min-width: 0; padding: 20px; border: 1px solid #dce6f1; border-radius: 8px; background: #fff; box-shadow: 0 10px 30px rgba(26, 64, 104, .07); }
.table-scroll { overflow-x: auto; }
.employment-table table { width: 100%; border-collapse: collapse; }
.employment-table th, .employment-table td { padding: 12px 10px; border-bottom: 1px solid #e7edf4; text-align: left; vertical-align: middle; }
.employment-table th { color: #5f7286; font-weight: 700; }
.employment-table td:first-child { width: 72px; color: #2e6edb; font-weight: 800; }
.employment-table td:last-child, .employment-table th:last-child { text-align: right; }

@media (max-width: 900px) {
  .employment-toolbar { align-items: stretch; flex-direction: column; gap: 10px; }
  .employment-toolbar p { margin: 0; }
  .employment-grid { grid-template-columns: 1fr; }
  .employment-table { padding: 16px 14px; }
}
body {
  color:var(--arch-ink);
  background:
    linear-gradient(180deg,#edf5ff 0,#f7f9fd 240px,var(--arch-page) 100%);
}
.topbar {
  height:72px;
  padding:0 24px;
  border-color:rgba(205,218,235,.9);
  background:rgba(255,255,255,.88);
  backdrop-filter:blur(18px) saturate(145%);
}
.app-shell { grid-template-columns:232px minmax(0,1fr); grid-template-rows:72px 1fr; }
.brand { min-width:260px; }
.brand-mark {
  width:42px;height:42px;overflow:hidden;border-radius:8px;
  background:#e8f0ff;color:var(--arch-brand);
  box-shadow:inset 0 0 0 1px rgba(37,99,235,.13);
}
.brand-mark img { display:none;width:100%;height:100%;object-fit:contain; }
.brand-mark img[src]:not([src=""]) { display:block; }
.brand-mark img[src]:not([src=""]) + span { display:none; }
.brand strong { color:var(--arch-ink);font-size:18px;font-weight:800; }
.brand small { color:var(--arch-muted);font-size:16px; }
.board-tabs { margin-left:auto;gap:4px; }
.board-tabs a {
  min-height:40px;display:inline-flex;align-items:center;padding:0 13px;
  border-radius:7px;color:#52627a;font-weight:650;
}
.board-tabs a:hover,.board-tabs a.active { background:#eaf1ff;color:var(--arch-brand); }
.sidebar {
  top:72px;height:calc(100vh - 72px);padding:20px 14px;
  border-color:var(--arch-line);background:rgba(255,255,255,.94);
}
.sidebar-title { padding:0 10px 8px;color:#8895a8;font-size:16px; }
.feature-nav { gap:5px; }
.feature-nav button {
  position:relative;display:flex;align-items:center;gap:10px;min-height:43px;
  padding:9px 11px;border-radius:7px;color:#465873;font-weight:650;
}
.feature-nav button:hover { background:#f2f6fc;color:var(--arch-brand-deep);transform:translateX(2px); }
.feature-nav button.active {
  background:#e9f1ff;color:var(--arch-brand);
  box-shadow:inset 3px 0 0 var(--arch-brand);
}
.feature-nav .module-icon,.feature-nav .admin-custom-icon {
  width:20px;height:20px;display:grid;place-items:center;flex:0 0 20px;
  object-fit:contain;font-style:normal;color:currentColor;
}
.resource-meter {
  border-radius:7px;border-color:#dbe5f2;background:#f7faff;
  box-shadow:none;
}
.main { width:min(1180px,calc(100% - 48px));margin:0 auto;padding:20px 0 88px; }
.status-strip {
  min-height:44px;border-radius:7px;border-color:var(--arch-line);
  background:rgba(255,255,255,.82);box-shadow:0 6px 18px rgba(38,65,105,.05);
}
.status-dot { background:var(--arch-brand);box-shadow:0 0 0 4px rgba(37,99,235,.12); }
.view { animation:arch-view-in .34s var(--arch-ease); }
@keyframes arch-view-in { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
.page-heading { padding:28px 2px 18px;align-items:center; }
.page-heading p { color:var(--arch-brand);font-size:16px;font-weight:800; }
.page-heading h1 { color:var(--arch-ink);font-size:30px;font-weight:850; }
.page-heading span { max-width:720px;color:var(--arch-muted);line-height:1.6; }
.primary,.secondary {
  min-height:42px;border-radius:7px;font-weight:750;
  transition:transform .22s var(--arch-ease),box-shadow .22s var(--arch-ease),background .22s ease;
}
.primary { border-color:var(--arch-brand);background:var(--arch-brand);box-shadow:0 8px 18px rgba(37,99,235,.18); }
.primary:hover { background:#1d52c3;transform:translateY(-1px);box-shadow:0 12px 24px rgba(37,99,235,.23); }
.secondary { border-color:#cdd9e9;color:var(--arch-brand-deep); }
.metric-band {
  border-radius:8px;border-color:var(--arch-line);box-shadow:var(--arch-shadow);
}
.metric-band>div { position:relative;padding:21px;border-color:var(--arch-line); }
.metric-band>div::before {
  content:"";position:absolute;left:50%;top:0;width:38px;height:3px;border-radius:0 0 4px 4px;
  background:var(--arch-brand);transform:translateX(-50%);
}
.metric-band>div:nth-child(2)::before{background:var(--arch-violet)}
.metric-band>div:nth-child(3)::before{background:var(--arch-cyan)}
.metric-band>div:nth-child(4)::before{background:var(--arch-rose)}
.metric-band strong { color:var(--arch-ink); }
.section-heading { margin:25px 0 13px; }
.section-heading h2 { font-size:20px; }
.section-heading p { color:var(--arch-muted); }
.module-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:12px; }
.module-card {
  display:grid;grid-template-columns:44px minmax(0,1fr) auto;grid-template-rows:auto 1fr;
  column-gap:13px;min-height:130px;padding:17px;border-radius:8px;
  border:1px solid var(--arch-line);border-top-width:1px;background:rgba(255,255,255,.96);
  box-shadow:0 7px 20px rgba(32,60,102,.055);
}
.module-card:hover {
  transform:translateY(-3px);border-color:#afc5e4;box-shadow:0 16px 34px rgba(29,64,117,.12);
}
.module-card .module-icon {
  grid-row:1/3;display:grid;place-items:center;width:44px;height:44px;border-radius:8px;
  background:#eaf2ff;color:var(--arch-brand);font-style:normal;font-size:20px;font-weight:800;
}
.module-card .module-icon img,.module-card .admin-custom-icon { width:25px;height:25px;object-fit:contain; }
.module-card:nth-child(4n+2) .module-icon { background:#f0ecff;color:var(--arch-violet); }
.module-card:nth-child(4n+3) .module-icon { background:#e8f7fb;color:var(--arch-cyan); }
.module-card:nth-child(4n) .module-icon { background:#fff0f4;color:var(--arch-rose); }
.module-card b { align-self:center;font-size:16px;font-weight:800; }
.module-card > b { grid-column:2;grid-row:1;min-width:0; }
.module-card > .module-description { grid-column:2/4;grid-row:2;margin-top:7px;color:var(--arch-muted);font-size:16px;line-height:1.55; }
.module-card > i { position:static;grid-column:3;grid-row:1;align-self:center;color:#9aa7b8; }
.two-columns { grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:14px; }
.plain-section,.filter-bar,.form-grid,.detail-hero,.detail-grid article,.policy-list article,.result-card,.center-tool {
  border-color:var(--arch-line);border-radius:8px;background:rgba(255,255,255,.96);
  box-shadow:0 8px 22px rgba(31,59,100,.055);
}
.plain-section { padding:0 18px 18px; }
input,select {
  height:44px;border-radius:6px;border-color:#cbd8e9;
  transition:border-color .2s ease,box-shadow .2s ease;
}
input:focus,select:focus { border-color:#7ca4ea;box-shadow:0 0 0 3px rgba(37,99,235,.1);outline:0; }
.result-list { gap:10px; }
.result-card { padding:16px 17px; }
.result-card:hover { transform:translateY(-1px);border-color:#b7c9e3;box-shadow:0 12px 26px rgba(31,59,100,.09); }
.notice { border-radius:0 7px 7px 0;border-color:var(--arch-brand);background:#edf4ff; }
.detail-tags span { border-radius:5px;background:#eef4fb; }
.toast { border-radius:7px;background:#17294a;box-shadow:0 14px 30px rgba(16,34,66,.22); }
.admin-custom-icon { width:1.2em;height:1.2em;flex:0 0 auto;object-fit:contain;vertical-align:-.18em; }
@media (max-width:1100px) {
  .app-shell { grid-template-columns:212px minmax(0,1fr); }
  .main { width:calc(100% - 32px); }
  .module-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width:760px) {
  body { background:linear-gradient(180deg,#eef5ff 0,#f7f9fd 190px,var(--arch-page) 100%); }
  .topbar { height:66px;padding:0 13px; }
  .brand-mark { width:38px;height:38px; }
  .brand strong { font-size:16px; }
  .brand small { font-size:16px; }
  .sidebar { top:66px;height:calc(100dvh - 66px); }
  .main { width:auto;margin:0;padding:13px 12px 76px; }
  .status-strip { gap:4px; }
  .page-heading { padding:22px 2px 15px; }
  .page-heading h1 { font-size:26px; }
  .metric-band>div { padding:17px 10px; }
  .metric-band strong { font-size:24px; }
  .module-grid { grid-template-columns:repeat(2,minmax(0,1fr));gap:9px; }
  .module-card {
    grid-template-columns:38px minmax(0,1fr);min-height:124px;padding:13px;column-gap:10px;
  }
  .module-card .module-icon { width:38px;height:38px; }
  .module-card i { display:none; }
  .module-card > .module-description { grid-column:1/3;margin-top:10px; }
  .two-columns { grid-template-columns:1fr; }
}
@media (max-width:390px) {
  .module-grid { grid-template-columns:1fr; }
  .module-card { min-height:106px; }
}
@media (prefers-reduced-motion:reduce) {
  .view,.module-card { animation:none;transition:none; }
}
.strict-validation{position:fixed;inset:0;z-index:1600;display:grid;place-items:center;padding:20px;background:rgba(20,31,51,.34);backdrop-filter:blur(10px)}
.strict-validation[hidden]{display:none}
.strict-validation>section{width:min(460px,100%);padding:24px;background:#fff;border:1px solid #d9e3f0;border-radius:8px;box-shadow:0 24px 64px rgba(18,43,80,.2)}
.strict-validation span{color:#2765d8;font-size:16px;font-weight:700}
.strict-validation h2{margin:6px 0 10px;font-size:22px}
.strict-validation p{margin:0;color:#596980;line-height:1.7}
.strict-validation button{width:100%;margin-top:20px}

.inline-library-detail {
  margin:18px 0 22px;
  scroll-margin-top:96px;
}
.inline-library-detail[hidden] { display:none!important; }
.inline-library-detail .page-heading { padding:0 0 14px; }
.inline-library-detail .detail-hero { box-shadow:var(--arch-shadow); }
.inline-detail-title { display:flex;align-items:center;gap:14px;min-width:0; }

.score-rank-tool {
  display:grid;
  grid-template-columns:minmax(150px,.7fr) minmax(210px,1fr) auto minmax(210px,1fr) auto;
  align-items:end;
  gap:12px;
  max-width:1040px;
  margin:14px auto 0;
  padding:22px;
  border:1px solid var(--arch-line);
  border-radius:8px;
  background:rgba(255,255,255,.96);
  box-shadow:var(--arch-shadow);
}
.score-rank-field { display:grid;gap:8px;min-width:0;color:#43526a;font-weight:750; }
.score-rank-field input,.score-rank-field select { width:100%;min-width:0; }
.score-rank-or { align-self:center;padding-bottom:3px;color:var(--arch-muted);font-weight:800; }
.score-rank-submit { min-height:44px;white-space:nowrap; }
.score-rank-hint { grid-column:1/-1;margin:0;color:var(--arch-muted);font-size:16px;line-height:1.55; }

.subject-result-card {
  grid-template-columns:auto minmax(0,1fr);
  align-items:center;
}
.architecture-school-logo {
  display:grid;
  place-items:center;
  width:52px;
  height:52px;
  flex:0 0 52px;
  overflow:hidden;
  border:1px solid #d8e3f0;
  border-radius:50%;
  background:#fff;
  box-shadow:0 5px 14px rgba(30,62,105,.08);
}
.architecture-school-logo img { width:100%;height:100%;object-fit:contain; }
.school-logo-placeholder { color:var(--arch-brand);font-size:18px;font-weight:850; }


/* desktop-font-floor:start */
@media (min-width: 1024px) {
  body,
  button,
  input,
  select,
  .brand small,
  .module-card > .module-description,
  .page-heading p,
  .page-heading span,
  .section-heading p,
  .sidebar-title,
  .feature-nav button,
  .strict-validation span,
  .result-card p,
  .detail-grid p,
  .detail-tags span,
  .status-strip { font-size:16px!important; }

  .brand small,
  .module-card > .module-description,
  .page-heading p,
  .sidebar-title,
  .strict-validation span { font-size:16px!important; }

  .brand strong,
  .module-card b,
  .section-heading h2,
  .result-card h3 { font-size:18px!important; }
}
/* desktop-font-floor:end */

@media (max-width:760px) {
  .score-rank-tool { grid-template-columns:1fr;padding:16px 14px; }
  .score-rank-or { padding:0;text-align:center; }
  .score-rank-submit { width:100%; }
  .subject-result-card { grid-template-columns:auto minmax(0,1fr); }
  .architecture-school-logo { width:44px;height:44px;flex-basis:44px; }
  .inline-detail-title { align-items:flex-start; }
}

/* Keep long mobile module names in the flexible column. */
@media(max-width:760px){.module-card > b{grid-column:1;grid-row:1;min-width:0;line-height:1.5;text-align:left}.module-card .module-icon{grid-column:2;grid-row:1}.module-card > .module-description{grid-column:1/3}}
