  /* Critical semantic fallbacks; the shared theme keeps these aliases in sync. */
  :root {
    --primary: #00aceb;
    --bg: #f0fafd;
    --text-1: #002e3d;
    --text-2: #0a4a63;
    --text-3: #2a5f7a;
  }
  * { box-sizing: border-box; }
  body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
    color: var(--text-1);
    background: var(--bg);
  }
  a { color: inherit; text-decoration: none; }
  button, input { font: inherit; }
  .container { width: min(1280px, calc(100vw - 48px)); margin: 0 auto; }
  .nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, .88);
    border-bottom: 1px solid rgba(148, 163, 184, .22);
    box-shadow: 0 10px 30px rgba(15, 23, 42, .06);
    backdrop-filter: blur(18px);
  }
  .nav-inner {
    min-height: 76px;
    display: grid;
    grid-template-columns: 260px minmax(420px, 1fr) 300px;
    align-items: center;
    gap: 20px;
    padding: 14px 0;
  }
  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    width: 260px;
  }
  .logo-mark { width: 42px; height: 42px; border-radius: 12px; background: #fff; border: 1px solid rgba(148, 163, 184, .18); display: grid; place-items: center; overflow: hidden; box-shadow: 0 14px 28px rgba(0,172,235,.12); }
  .logo-mark img { width: 78%; height: 78%; object-fit: contain; display: block; }
  .logo-copy strong { display: block; font-size: 16px; }
  .logo-copy span { display: block; font-size: 12px; color: var(--text-3); }
  .nav-menu {
    display: flex;
    align-items: center;
    gap: 24px;
    justify-content: center;
    min-width: 0;
  }
  .nav-menu a {
    position: relative;
    padding: 8px 0;
    font-size: 14px;
    color: var(--text-2);
    white-space: nowrap;
  }
  .nav-menu a.active {
    color: var(--primary);
    font-weight: 600;
  }
  .nav-menu a.active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -8px;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, #00aceb, #6fd4f4);
    box-shadow: 0 0 14px rgba(0,172,235,.42);
  }
  .hero { padding: 28px 0 18px; }
  .hero-shell {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    padding: 26px 24px 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background:
      radial-gradient(circle at 82% 18%, rgba(56, 189, 248, .18), transparent 28%),
      linear-gradient(135deg, #00202e 0%, #003b52 52%, #0a3a58 100%);
    border: 1px solid rgba(125, 211, 252, .18);
    box-shadow: 0 24px 70px rgba(7, 17, 31, .18);
  }
  .hero-shell::before {
    content: '';
    position: absolute;
    right: -120px;
    top: -120px;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,172,235,.16), transparent 68%);
    pointer-events: none;
  }
  .hero-shell::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .08) 45%, transparent 46%);
    opacity: .34;
    pointer-events: none;
  }
  .search-panel,
  .section-card,
  .portal-card,
  .news-item,
  .search-results-card {
    position: relative;
    z-index: 1;
  }
  .search-panel {
    background: rgba(255, 255, 255, .95);
    border: 1px solid rgba(255, 255, 255, .58);
    border-radius: 18px;
    box-shadow: 0 18px 45px rgba(2, 8, 23, .20);
    padding: 22px;
    align-self: stretch;
    width: 100%;
  }
  .search-panel-title { margin: 0; font-size: 22px; }
  .search-panel-copy { margin: 8px 0 0; font-size: 13px; line-height: 1.7; color: var(--text-3); }
  .hero-search {
    display: flex;
    gap: 12px;
    margin-top: 18px;
  }
  .hero-search input {
    flex: 1;
    min-width: 0;
    height: 50px;
    border: 1px solid rgba(148, 163, 184, .24);
    border-radius: 14px;
    background: #f0fafd;
    padding: 0 16px;
    font-size: 14px;
    color: var(--text-1);
  }
  .hero-search input:focus {
    outline: none;
    border-color: rgba(0,172,235,.55);
    box-shadow: 0 0 0 4px rgba(0,172,235,.10);
  }
  .hero-search button {
    flex: 0 0 144px;
    height: 50px;
    border: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, #00aceb, #6fd4f4);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
  }
  .search-results-shell { margin-top: 16px; }
  .search-results-card {
    border-radius: 18px;
    padding: 16px;
    background: #f0fafd;
    border: 1px solid rgba(148, 163, 184, .18);
  }
  .search-results-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: flex-end;
    margin-bottom: 12px;
  }
  .search-results-head h2 {
    margin: 0;
    font-size: 18px;
  }
  .search-summary {
    font-size: 12px;
    color: var(--text-3);
  }
  .search-group {
    padding-top: 14px;
    border-top: 1px solid var(--border-light);
    margin-top: 14px;
  }
  .search-group:first-child {
    padding-top: 0;
    border-top: 0;
    margin-top: 0;
  }
  .search-group-head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    align-items: center;
    margin-bottom: 10px;
  }
  .search-group-head h3 { margin: 0; font-size: 15px; }
  .search-group-count { font-size: 12px; color: var(--text-3); }
  .search-group-list { display: grid; gap: 10px; }
  .search-result-item {
    padding: 14px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .16);
  }
  .search-result-item strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
  }
  .search-result-item p {
    margin: 0 0 10px;
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.7;
  }
  .search-result-meta {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-3);
  }
  .search-result-meta a { color: var(--primary); }
  .search-empty {
    padding: 16px;
    background: #fff;
    border: 1px dashed rgba(148, 163, 184, .24);
    border-radius: 14px;
  }
  .search-empty strong {
    display: block;
    margin-bottom: 6px;
  }
  .page-stack {
    display: grid;
    gap: 16px;
    padding: 10px 0 42px;
  }
  .live-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    padding: 14px 0 2px;
  }
  .live-block {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .055);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
  }
  .live-block-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
  }
  .live-block-head h3 {
    margin: 0;
    font-size: 16px;
  }
  .live-block-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 8px;
    min-width: 0;
  }
  .live-block-products .live-block-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }
  .live-terms-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 12px;
  }
  .live-block-list li {
    min-width: 0;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }
  .live-block-list a {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-2, #0a4a63);
    text-decoration: none;
  }
  .live-block-list a:hover { color: var(--primary, #00aceb); }
  .live-block-list .live-date {
    flex: 0 0 auto;
    font-size: 11px;
    color: var(--text-3, #94a3b8);
  }
  .live-block .live-empty {
    font-size: 12px;
    color: var(--text-3, #94a3b8);
    line-height: 1.7;
  }
  @media (max-width: 900px) {
    .live-strip { grid-template-columns: 1fr; }
  }
  .section-card {
    background: rgba(255, 255, 255, .88);
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 18px 46px rgba(15, 23, 42, .055);
    backdrop-filter: blur(12px);
    border-radius: 18px;
    padding: 22px;
  }
  .section-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-end;
    margin-bottom: 18px;
  }
  .section-head h2 { margin: 0; font-size: 20px; }
  .section-head p {
    margin: 6px 0 0;
    font-size: 13px;
    color: var(--text-3);
    line-height: 1.7;
  }
  .usage-disclaimer .section-head { margin-bottom: 12px; }
  .portal-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .portal-card {
    position: relative;
    min-height: 104px;
    padding: 14px 68px 14px 16px;
    border-radius: 18px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .045);
    display: flex;
    gap: 12px;
    align-items: center;
    overflow: hidden;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
  .portal-card:hover {
    transform: translateY(-2px);
    border-color: rgba(0,172,235,.22);
    box-shadow: 0 18px 42px rgba(15, 23, 42, .075);
  }
  .portal-head {
    display: flex;
    gap: 12px;
    align-items: center;
    flex: 1 1 auto;
    min-width: 0;
  }
  .portal-icon {
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #d6f0fa, #ccfbf1);
    color: #00aceb;
    display: grid;
    place-items: center;
    font-weight: 700;
  }
  .portal-icon svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .portal-card strong {
    display: block;
    font-size: 17px;
    margin-bottom: 4px;
  }
  .portal-card p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-3);
    line-height: 1.45;
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }
  .portal-actions {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
  }
  .portal-actions a {
    position: absolute;
    inset: 0;
    width: auto;
    height: auto;
    padding: 0;
    border-radius: inherit;
    display: block;
    color: transparent !important;
    background: transparent !important;
    border-color: transparent !important;
    box-shadow: none !important;
    pointer-events: auto;
    font-size: 0;
    line-height: 1;
  }
  .portal-actions a::after {
    content: '→';
    position: absolute;
    top: 50%;
    right: 16px;
    width: 38px;
    height: 38px;
    transform: translateY(-50%);
    border-radius: 12px;
    background: rgba(219, 234, 254, .82);
    color: #00aceb;
    display: grid;
    place-items: center;
    font-size: 21px;
    font-weight: 800;
    transition: background .18s ease, transform .18s ease;
  }
  .portal-card:hover .portal-actions a::after,
  .portal-actions a:focus-visible::after {
    background: rgba(191, 219, 254, .98);
    transform: translateY(-50%) translateX(2px);
  }
  .portal-actions a:focus-visible {
    outline: 3px solid rgba(0,172,235,.42);
    outline-offset: -3px;
  }
  .news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
  }
  .news-item {
    padding: 14px 15px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .18);
    box-shadow: 0 12px 34px rgba(15, 23, 42, .045);
  }
  .news-item h4 {
    margin: 0 0 6px;
    font-size: 15px;
  }
  .news-item p {
    margin: 0;
    font-size: 12px;
    color: var(--text-3);
    line-height: 1.55;
  }
  .news-meta {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #e6f7fd;
    font-size: 11px;
    color: var(--text-2);
  }
  @media (max-width: 1100px) {
    .portal-grid,
    .news-grid { grid-template-columns: 1fr 1fr; }
  }
  @media (max-width: 760px) {
    .container { width: min(100vw - 28px, 1280px); }
    .nav-inner { height: auto; padding: 16px 0; flex-wrap: wrap; }
    .nav-menu { order: 3; width: 100%; justify-content: flex-start; overflow-x: auto; }
    .hero-shell,
    .search-panel,
    .section-card { border-radius: 18px; }
    .hero-search { flex-direction: column; }
    .hero-search button { width: 100%; flex-basis: auto; }
    .portal-grid,
    .news-grid { grid-template-columns: 1fr; }
    .section-head { flex-direction: column; align-items: flex-start; }
    .search-results-head,
    .search-group-head { align-items: flex-start; flex-direction: column; }
  }

  @media (max-width: 960px) {
    .nav-inner {
      grid-template-columns: 1fr;
      align-items: start;
    }
    .logo { width: auto; }
    .nav-menu {
      width: 100%;
      justify-content: flex-start;
      overflow-x: auto;
    }
  }
