@import url("./site-footer.css?v=20261107-1");
/* Existing app portal presentation, shared by the unified login views. */
:root{
  color-scheme:light;
  --ink:#0f172a;
  --muted:#66758f;
  --line:#dce4ee;
  --line-strong:#92b7ff;
  --blue:#2563eb;
  --blue-dark:#174fbf;
  --green:#0f9f6e;
  --amber:#b7791f;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
}
*{
  box-sizing:border-box;
}
body{
  margin:0;
  min-height:100vh;
  color:var(--ink);
  background:
    radial-gradient(circle at 22% 30%,rgba(37,99,235,.075),transparent 34%),
    radial-gradient(circle at 76% 38%,rgba(15,159,110,.055),transparent 31%),
    linear-gradient(180deg,#f8fbff 0%,#f3f8fe 58%,#fff 100%);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
a{
  color:inherit;
  text-decoration:none;
}
.portal-shell{
  width:min(1240px,calc(100% - 56px));
  min-height:100svh;
  margin:0 auto;
  display:grid;
  grid-template-rows:minmax(0,1fr) auto;
  align-items:stretch;
  gap:28px;
  padding:100px 0 30px;
}
h1{
  margin:0;
  max-width:760px;
  font-size:clamp(42px,4.6vw,56px);
  line-height:1.08;
  letter-spacing:-.045em;
  font-weight:700;
}
.portal-main{
  display:grid;
  align-content:center;
  gap:32px;
  width:min(1120px,100%);
  margin:0 auto;
  padding:20px 0 58px;
}
.hero-copy{
  display:grid;
  gap:12px;
  justify-items:center;
  text-align:center;
  animation:floatIn .7s cubic-bezier(.2,.72,.2,1) .08s both;
}
.hero-desc{
  max-width:620px;
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.65;
  font-weight:400;
}
.hero-more{
  display:inline-flex;
  align-items:center;
  gap:4px;
  margin-left:8px;
  color:var(--blue);
  font-weight:600;
  white-space:nowrap;
}
.hero-more:hover,
.hero-more:focus-visible{
  color:var(--blue-dark);
  text-decoration:underline;
  text-underline-offset:3px;
  outline:none;
}
.hero-more svg{
  width:16px;
  height:16px;
  stroke-width:2.4;
}
.version-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:16px;
}
.version-card{
  position:relative;
  min-height:258px;
  padding:20px;
  border:1px solid var(--ui-border-default);
  border-radius:20px;
  background:rgba(255,255,255,.94);
  box-shadow:0 16px 38px rgba(24,45,78,.07);
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  overflow:hidden;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
  animation:floatIn .66s cubic-bezier(.2,.72,.2,1) both;
  animation-delay:var(--float-delay, .18s);
}
.version-card:nth-child(1){--float-delay:.16s}
.version-card:nth-child(2){--float-delay:.24s}
.version-card:nth-child(3){--float-delay:.32s}
.version-card:nth-child(4){--float-delay:.40s}
.version-card:hover,
.version-card:focus-visible{
  transform:translateY(-4px);
  border-color:var(--line-strong);
  background:#fff;
  box-shadow:0 24px 52px rgba(37,99,235,.13);
  outline:none;
}
.version-icon{
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:13px;
  display:grid;
  place-items:center;
  background:#f7fbff;
  color:var(--blue);
}
.version-card[data-tone="blue"] .version-icon{
  border-color:rgba(37,99,235,.2);
  background:#eff6ff;
}
.version-card[data-tone="green"] .version-icon{
  color:var(--green);
  border-color:rgba(15,159,110,.2);
  background:#ecfdf5;
}
.version-card[data-tone="amber"] .version-icon{
  color:var(--amber);
  border-color:rgba(183,121,31,.2);
  background:#fffbeb;
}
.version-card[data-tone="ai"]{
  border-color:rgba(111,137,222,.32);
  background:
    radial-gradient(circle at 100% 0,rgba(168,133,255,.18),transparent 39%),
    radial-gradient(circle at 8% 100%,rgba(52,211,153,.14),transparent 37%),
    #fff;
}
.version-card[data-tone="ai"]:hover,
.version-card[data-tone="ai"]:focus-visible{
  border-color:rgba(91,113,220,.56);
  background:
    radial-gradient(circle at 100% 0,rgba(168,133,255,.24),transparent 40%),
    radial-gradient(circle at 8% 100%,rgba(52,211,153,.18),transparent 38%),
    #fff;
  box-shadow:0 24px 52px rgba(79,101,205,.15);
}
.ai-workspace-icon{
  display:grid;
  place-items:center;
  padding:0;
  border-color:rgba(111,137,222,.22);
  color:#5367c8;
  background:
    radial-gradient(circle at 50% 50%,rgba(255,255,255,.98) 0 38%,rgba(255,255,255,.66) 62%,transparent 74%),
    conic-gradient(from 210deg,#eaf2ff,#e9fbf3,#fff5e8,#f4edff,#eaf2ff);
  box-shadow:0 8px 18px rgba(92,111,202,.12);
}
.ai-workspace-icon svg{
  width:23px;
  height:23px;
  stroke-width:2.2;
}
.version-title{
  margin:20px 0 8px;
  font-size:24px;
  line-height:1.25;
  font-weight:600;
  letter-spacing:-.02em;
}
.version-desc{
  margin:13px 0 0;
  color:#5e6d82;
  font-size:14px;
  line-height:1.65;
  font-weight:400;
}
.version-action{
  min-height:44px;
  margin-top:22px;
  padding:0 14px 0 16px;
  border:1px solid rgba(37,99,235,.2);
  border-radius:13px;
  background:#f6f9ff;
  display:flex;
  align-items:center;
  justify-content:space-between;
  color:var(--blue);
  font-size:14px;
  font-weight:600;
}
.version-card[data-tone="green"] .version-action{
  border-color:rgba(15,159,110,.22);
  background:#f1fdf7;
  color:#0b8a62;
}
.version-card[data-tone="amber"] .version-action{
  border-color:rgba(183,121,31,.22);
  background:#fff9ec;
  color:#986214;
}
.version-card[data-tone="ai"] .version-action{
  border-color:rgba(111,137,222,.24);
  background:linear-gradient(90deg,#eff6ff 0%,#f0fdf4 34%,#fff7ed 67%,#f5f3ff 100%);
  color:#435176;
}
.version-card[data-tone="ai"] .version-action svg{
  color:#5166ca;
}
.version-action svg,
.version-icon svg{
  width:20px;
  height:20px;
  stroke-width:2.2;
}
.portal-footer{width:min(1120px,100%);margin:0 auto;padding-top:0}

.portal-modal{
  position:fixed;
  z-index:50;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  background:rgba(15,23,42,.42);
  backdrop-filter:blur(10px);
}
.portal-modal.is-open{
  display:flex;
}
.portal-modal-card{
  width:min(100%,780px);
  max-height:calc(100svh - 44px);
  overflow:auto;
  border:1px solid var(--ui-border-default);
  border-radius:22px;
  background:#fff;
  box-shadow:0 28px 86px rgba(15,23,42,.26);
  padding:28px;
  animation:floatIn .42s cubic-bezier(.2,.72,.2,1) both;
}
.portal-modal-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:18px;
  margin-bottom:20px;
}
.portal-modal-kicker{
  color:var(--blue);
  font-size:14px;
  font-weight:600;
}
.portal-modal-title{
  margin:6px 0 0;
  font-size:30px;
  line-height:1.16;
  font-weight:600;
  letter-spacing:-.025em;
}
.portal-modal-desc{
  margin:10px 0 0;
  color:var(--muted);
  font-size:15px;
  line-height:1.7;
  font-weight:400;
}
.official-modal-card{
  width:min(100%,520px);
}
.official-qr-panel{
  display:grid;
  justify-items:center;
  gap:12px;
  border:1px solid var(--ui-border-default);
  border-radius:18px;
  background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
  padding:24px;
}
.official-qr{
  width:min(240px,68vw);
  aspect-ratio:1;
  object-fit:cover;
}
.official-qr-caption{
  display:grid;
  justify-items:center;
  gap:4px;
}
.official-qr-search{
  color:#64748b;
  font-size:12px;
  font-weight:550;
}
.entry-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:16px;
}
.entry-option{
  min-height:180px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:18px;
  border:1px solid var(--ui-border-default);
  border-radius:22px;
  background:linear-gradient(180deg,#f8fbff 0%,#fff 100%);
  padding:22px;
  text-align:center;
  color:inherit;
  font-family:inherit;
  cursor:pointer;
}
.entry-option h3{
  margin:0;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#172033;
  font-size:24px;
  line-height:1.25;
}
.entry-option h3 svg{
  width:24px;
  height:24px;
  color:var(--blue);
  stroke-width:2.6;
}
.entry-option p{
  margin:10px 0 0;
  color:#64748b;
  font-size:15px;
  line-height:1.65;
  font-weight:400;
}
.entry-qr-option{
  align-items:center;
}
.entry-qr{
  width:min(190px,100%);
  aspect-ratio:1;
  object-fit:cover;
}
.entry-qr-wrap{
  display:none;
  position:relative;
  width:100%;
}
.entry-options.has-qr-selection .entry-qr-wrap{
  display:block;
}
.entry-qr-option.is-open{
  border-color:rgba(37,99,235,.48);
  box-shadow:0 18px 36px rgba(37,99,235,.10);
}
.entry-qr-option--group{
  border-color:rgba(15,159,110,.3);
  background:linear-gradient(180deg,#f5fcf8 0%,#fff 100%);
}
.entry-qr-option--group h3 svg{
  color:var(--green);
}
.entry-qr-option--group.is-open{
  border-color:rgba(15,159,110,.55);
  box-shadow:0 18px 36px rgba(15,159,110,.12);
}
.entry-qr-option.is-muted{
  border-color:rgba(203,225,255,.95);
}
.entry-qr-option.is-muted .entry-qr{
  filter:blur(8px);
  opacity:.44;
  transform:scale(.98);
}
.entry-qr-action{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:44px;
  padding:0 16px;
  align-self:center;
  border-radius:14px;
  color:var(--blue);
  background:#eaf3ff;
  font-size:15px;
  font-weight:600;
}
.entry-options.has-qr-selection .entry-qr-action{
  display:none;
}
.entry-qr-option--group .entry-qr-action{
  color:var(--green);
  background:#e8f7f1;
}
.entry-qr-prompt{
  display:none;
  position:absolute;
  z-index:2;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  min-height:38px;
  align-items:center;
  justify-content:center;
  padding:0 14px;
  border-radius:999px;
  color:var(--blue);
  background:rgba(255,255,255,.9);
  border:1px solid rgba(37,99,235,.22);
  box-shadow:0 12px 28px rgba(37,99,235,.14);
  font-size:14px;
  font-weight:600;
}
.entry-qr-option.is-muted .entry-qr-prompt{
  display:inline-flex;
}
.entry-qr-option--group .entry-qr-prompt{
  color:var(--green);
  border-color:rgba(15,159,110,.25);
  box-shadow:0 12px 28px rgba(15,159,110,.14);
}
.entry-qr-note{
  margin-top:8px;
  color:#94a3b8;
  font-size:13px;
  font-weight:500;
}
@keyframes floatIn{
  from{
    opacity:0;
    transform:translateY(24px);
  }
  to{
    opacity:1;
    transform:translateY(0);
  }
}
@media (prefers-reduced-motion:reduce){
  .hero-copy,
  .version-card,
  .portal-modal-card{
    animation:none;
  }
}
@media (max-width:1080px){
  .portal-shell{
    width:min(820px,calc(100% - 32px));
    min-height:100svh;
    gap:24px;
    padding-top:84px;
  }
  .portal-main{
    align-content:center;
    gap:22px;
    padding:0 0 44px;
  }
  .version-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }

}
@media (max-width:560px){
  .portal-shell{
    width:min(100% - 24px,440px);
    gap:18px;
    padding:84px 0 calc(18px + env(safe-area-inset-bottom));
  }
  h1{
    font-size:34px;
    line-height:1.06;
  }
  .hero-copy{
    gap:10px;
  }
  .portal-main{
    align-content:start;
    padding:18px 0 0;
  }
  .version-grid{
    grid-template-columns:1fr;
    gap:10px;
  }
  .version-card{
    min-height:0;
    padding:16px;
    border-radius:20px;
  }
  .version-icon{
    width:44px;
    height:44px;
  }
  .version-icon svg,
  .version-action svg{
    width:19px;
    height:19px;
  }
  .version-title{
    margin:12px 0 6px;
    font-size:23px;
  }
  .version-desc{
    margin-top:8px;
    font-size:13px;
    line-height:1.52;
  }
  .version-action{
    min-height:40px;
    margin-top:14px;
    font-size:14px;
    border-radius:14px;
  }

  .portal-modal{
    align-items:flex-end;
    padding:12px;
  }
  .portal-modal-card{
    width:100%;
    max-height:calc(100svh - 24px);
    border-radius:20px;
    padding:20px;
  }
  .portal-modal-title{
    font-size:26px;
  }
  .entry-options{
    grid-template-columns:1fr;
    gap:10px;
  }
  .entry-option{
    min-height:0;
    gap:14px;
    padding:18px;
    border-radius:18px;
  }
  .entry-option h3{
    font-size:21px;
  }
  .entry-qr{
    width:min(180px,82vw);
  }
  .official-qr-panel{
    padding:18px;
  }
  .official-qr{
    width:min(210px,70vw);
  }
}
