* { box-sizing: border-box; }
:root { color-scheme: light; --text: #16345b; --muted: #647e9e; --line: #c7dafa80; --blue: #267aff; }
body { margin: 0; background: #f3f8ff; color: var(--text); font: 14px/1.65 "Segoe UI", "Microsoft YaHei", sans-serif; }
body::before { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: -1; background: radial-gradient(ellipse at 78% 15%, #bfddff80, transparent 48%), radial-gradient(ellipse at 0 65%, #d9efff80, transparent 45%), linear-gradient(120deg, #f9fcff, #f0f7ff 60%, #eaf4ff); }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: .55; }
a:focus-visible, button:focus-visible { outline: 2px solid #5ccaff; outline-offset: 5px; }
.shell { max-width: 1360px; min-height: 100vh; margin: auto; padding: 0 64px; display: flex; flex-direction: column; }
.topbar { height: 112px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 14px; font-size: 18px; font-weight: 750; letter-spacing: 2px; }
.brand small { display: block; font-size: 10px; font-weight: 400; letter-spacing: 3px; color: #6588b4; margin-top: 3px; }
.brand-mark { position: relative; display: grid; place-items: center; background: linear-gradient(140deg, #2a78ee, #123b9a); color: white; width: 45px; height: 45px; border: 1px solid #77b7ff70; border-radius: 12px; box-shadow: 0 0 28px #216ce738, inset 0 1px 0 #ffffff32; font: 600 17px Georgia, serif; letter-spacing: -1px; }
.brand-mark span { position: absolute; right: 3px; top: 0; color: #a8e1ff; font-size: 12px; }
.top-note { font-size: 11px; color: #6587ae; display: flex; align-items: center; gap: 10px; letter-spacing: 1px; }
i, .small-dot { display: inline-block; width: 5px; height: 5px; border-radius: 50%; background: #279bfa; box-shadow: 0 0 10px #329fff40; }
main { flex: 1; }
footer { display: flex; justify-content: space-between; gap: 20px; padding: 28px 0; color: #61799b; font-size: 10px; letter-spacing: .7px; border-top: 1px solid var(--line); }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 10px; letter-spacing: 3px; color: #3584d7; font-weight: 600; }
.eyebrow::before { content: ""; width: 21px; height: 1px; background: #4b9cff; box-shadow: 0 0 8px #4b9cff; }
.login-layout { display: grid; grid-template-columns: 1.2fr 1fr; gap: 110px; align-items: center; padding: 76px 0 86px; }
.intro { position: relative; }
.intro::before { content: ""; position: absolute; width: 330px; height: 330px; border-radius: 50%; border: 1px solid #569ded18; box-shadow: 0 0 0 45px #66b3ff08, 0 0 0 90px #66b3ff06; right: -8px; top: -22px; z-index: -1; }
.intro h1 { font-size: 49px; font-weight: 650; letter-spacing: -1px; line-height: 1.4; margin: 21px 0 22px; text-shadow: 0 4px 35px #2470e51a; }
.accent, .greeting-dot { color: #2987f0; }
.lead { font-size: 14px; color: #6985a6; line-height: 2; }
.product-stack { margin-top: 34px; max-width: 390px; }
.product-row { display: flex; align-items: center; gap: 15px; padding: 15px 0; border-bottom: 1px solid #c9ddf750; }
.product-icon { width: 39px; height: 39px; display: grid; place-items: center; background: #e9f3ff; color: #3b86da; border: 1px solid #bed8fc80; border-radius: 10px; }
.product-icon svg { width: 21px; height: 21px; }
.product-row strong { display: block; font-size: 13px; font-weight: 500; color: #385c89; }
.product-row div > span { font-size: 11px; color: #6882a5; }
.product-code { margin-left: auto; color: #698bb9; font-size: 10px; letter-spacing: 2px; }
.intro-note { display: flex; align-items: center; gap: 8px; font-size: 11px; color: #6886aa; margin-top: 26px; }
.login-panel { background: linear-gradient(145deg, #ffffff, #fafdff); border: 1px solid #c5dcf7; border-radius: 22px; padding: 38px 38px 36px; text-align: center; box-shadow: 0 25px 70px #3479c412, 0 5px 18px #5b9cda08, inset 0 1px 0 #ffffff; position: relative; overflow: hidden; }
.login-panel::before { content: ""; height: 2px; background: linear-gradient(90deg, transparent, #428bff, #80d6ff, transparent); position: absolute; top: 0; left: 0; right: 0; }
.login-panel::after { content: ""; position: absolute; width: 210px; height: 210px; right: -110px; top: -110px; background: #6cbaff; opacity: .12; filter: blur(50px); pointer-events: none; }
.panel-label { display: block; text-align: right; font-size: 10px; color: #708fb6; letter-spacing: 2px; }
.login-symbol { width: 71px; height: 71px; border-radius: 20px; background: linear-gradient(135deg, #e7f3ff, #f0f8ff); color: #2c8bf0; border: 1px solid #c5e1ff; box-shadow: 0 8px 25px #4598ed14, inset 0 1px 0 #ffffff; display: grid; place-items: center; margin: 34px auto 24px; }
.login-symbol svg { width: 31px; height: 31px; }
.login-panel h2 { font-size: 26px; letter-spacing: 2px; font-weight: 550; margin: 0 0 10px; }
.login-panel > p { color: #6e88a8; font-size: 12px; margin: 0; }
.primary { border: 1px solid #6aa8ff55; border-radius: 9px; background: linear-gradient(105deg, #2568ed, #298aff); color: white; font-weight: 600; box-shadow: 0 7px 25px #1667ef32, inset 0 1px 0 #ffffff20; }
.login-button { width: 100%; display: flex; align-items: center; justify-content: center; gap: 12px; position: relative; padding: 15px 20px; margin-top: 34px; transition: filter .2s, box-shadow .2s, transform .2s; }
.login-button:hover { filter: brightness(1.12); box-shadow: 0 7px 34px #267cff50; transform: translateY(-1px); }
.ding-mark { font-size: 22px; line-height: 1; transform: rotate(-20deg); }
.button-arrow { position: absolute; right: 20px; font-size: 17px; font-weight: 400; opacity: .7; }
.login-divider { height: 1px; background: linear-gradient(90deg, transparent, #c6dcf5, transparent); margin: 31px 0 22px; }
.trust-row { display: flex; justify-content: center; gap: 28px; color: #5e83b0; font-size: 11px; }
.trust-row span::before { content: "✓"; margin-right: 6px; color: #329af0; }
.login-panel p.fine-print { font-size: 10px; line-height: 2; color: #5c789d; margin-top: 19px; }
.success-notice { text-align: left; background: #edf7ff; border: 1px solid #c4e2fb; border-radius: 9px; padding: 14px 16px; margin-top: 22px; color: #527da9; }
.success-notice strong { display: block; font-size: 12px; color: #2779c1; }
.success-notice span { display: block; font-size: 11px; line-height: 1.8; margin-top: 4px; }
.workspace-heading { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 59px 0 45px; }
.workspace-heading h1 { font-weight: 550; font-size: 34px; margin: 12px 0 10px; letter-spacing: -.5px; }
.workspace-heading p { color: #7b95b8; font-size: 13px; margin: 0; }
.account { display: flex; align-items: center; gap: 13px; background: #ffffffde; border: 1px solid #ccdef4; border-radius: 12px; padding: 16px 19px; box-shadow: 0 8px 25px #3f7cb408; }
.avatar { width: 41px; height: 41px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, #d7ecff, #eaf5ff); border: 1px solid #bfdbfd; color: #377fcd; font-size: 16px; }
.account strong { font-size: 12px; font-weight: 500; display: block; }
.account div > span { display: block; color: #6d8cb4; font-size: 10px; margin-top: 3px; }
.account i { width: 4px; height: 4px; margin-right: 5px; }
.account form { margin-left: 17px; border-left: 1px solid var(--line); padding-left: 17px; }
.logout-button { background: none; border: 0; color: #6787ac; font-size: 11px; padding: 8px 0; }
.logout-button:hover { color: #c04f64; }
.logout-button span { margin-left: 8px; }
.section-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 21px; }
.section-heading h2 { font-size: 15px; font-weight: 500; margin: 0; letter-spacing: 1px; }
.section-heading h2 span { font: 10px "Segoe UI", sans-serif; color: #79a5dc; margin-left: 10px; background: #3476d51a; border: 1px solid #4b88d528; padding: 3px 7px; border-radius: 4px; }
.section-heading p { font-size: 11px; color: #607da4; margin: 0; }
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.app-card { --card-color: #337fe0; --card-tint: #eaf3ff; position: relative; display: block; background: linear-gradient(150deg, #ffffff, #fafdff 75%); border: 1px solid #ccdef5; border-radius: 16px; padding: 29px 28px 0; overflow: hidden; box-shadow: 0 10px 35px #3c7dc00a; transition: transform .25s, box-shadow .25s, border-color .25s; }
.app-card::before { content: ""; position: absolute; height: 1px; top: 0; left: 16%; right: 16%; background: linear-gradient(90deg, transparent, #74b7ff80, transparent); }
.app-card::after { content: ""; position: absolute; width: 150px; height: 150px; border-radius: 50%; top: -85px; right: -40px; background: var(--card-color); filter: blur(45px); opacity: .09; pointer-events: none; }
.app-card.tms { --card-color: #198dbb; --card-tint: #e9f8ff; }
.app-card.wms { --card-color: #646ce0; --card-tint: #f0f1ff; }
.app-card:hover { transform: translateY(-5px); box-shadow: 0 20px 45px #3c7dc01a, 0 0 30px #2b77df08; border-color: #84b9f8; }
.card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 29px; }
.app-icon { width: 54px; height: 54px; border-radius: 13px; background: var(--card-tint); color: var(--card-color); border: 1px solid #c5def778; display: grid; place-items: center; box-shadow: inset 0 1px 0 #ffffff; }
.app-icon svg { width: 27px; height: 27px; }
.app-code { font-size: 32px; letter-spacing: 2px; color: #c6ddf27a; font-weight: 700; }
.access-label { font-size: 10px; color: #6d9bc7; display: flex; align-items: center; gap: 6px; }
.access-label i { width: 4px; height: 4px; background: var(--card-color); box-shadow: 0 0 7px var(--card-color); }
.app-card h3 { font-size: 21px; font-weight: 550; margin: 10px 0 9px; letter-spacing: .2px; }
.app-card p { font-size: 12px; color: #7792b6; margin: 0 0 31px; min-height: 20px; }
.card-bottom { display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #d6e5f5; padding: 18px 0; color: var(--card-color); font-size: 12px; font-weight: 500; }
.card-arrow { display: grid; place-items: center; background: var(--card-tint); border: 1px solid #8fbaf326; border-radius: 50%; width: 28px; height: 28px; font-size: 16px; font-weight: 400; }
.workspace-tip { display: flex; align-items: center; gap: 15px; border: 1px solid #c9dff7; background: linear-gradient(100deg, #eaf4ff, #f4faff); border-radius: 12px; padding: 24px 26px; margin: 33px 0 65px; }
.tip-icon { border: 1px solid #4d80ba; border-radius: 50%; width: 19px; height: 19px; display: grid; place-items: center; color: #7ba8d7; font-size: 12px; }
.workspace-tip strong { font-size: 12px; color: #4779ae; font-weight: 500; }
.workspace-tip p { color: #6587b1; font-size: 11px; margin: 5px 0 0; }
.tip-label { margin-left: auto; color: #406b9b; font-size: 9px; letter-spacing: 2px; }
.empty-state, .welcome { padding: 35px; background: #ffffff; border: 1px solid var(--line); border-radius: 15px; }
.empty-state { grid-column: 1 / -1; }
.welcome { max-width: 580px; margin: 90px auto; }
.welcome h1 { font-size: 24px; }
.welcome p, .empty-state p { color: var(--muted); }
.welcome a { display: inline-block; margin-top: 10px; color: #337fd8; }
.error { color: #b84358 !important; }
@media (min-width: 1500px) { .login-layout { padding-top: 100px; } }
@media (max-width: 1050px) {
  .shell { padding: 0 32px; } .login-layout { gap: 55px; } .intro h1 { font-size: 40px; }
  .login-panel { padding: 30px 25px; } .app-card { padding: 24px 21px 0; }
  .account form { margin-left: 3px; padding-left: 10px; } .tip-label { display: none; }
}
@media (max-width: 720px) {
  .shell { padding: 0 22px; } .topbar { height: 85px; } .brand { font-size: 14px; }
  .brand small { font-size: 9px; } .top-note { font-size: 0; }
  .login-layout { grid-template-columns: 1fr; gap: 35px; padding: 36px 0; }
  .intro h1 { font-size: 33px; margin: 15px 0; } .intro h1 br, .lead br { display: none; }
  .intro::before { width: 180px; height: 180px; right: 15px; top: 0; box-shadow: none; }
  .product-stack { display: none; } .intro-note { margin-top: 15px; font-size: 10px; }
  .login-panel { max-width: 440px; width: 100%; margin: auto; }
  .workspace-heading { align-items: flex-start; flex-direction: column; padding: 34px 0; }
  .workspace-heading h1 { font-size: 28px; } .account { width: 100%; } .account form { margin-left: auto; }
  .app-grid { grid-template-columns: 1fr; } .app-card p { margin-bottom: 22px; } .card-top { margin-bottom: 20px; }
  .workspace-tip { margin-bottom: 35px; padding: 18px; } .workspace-tip p { line-height: 1.8; } .tip-icon { flex-shrink: 0; }
  footer { font-size: 9px; flex-wrap: wrap; gap: 9px; } footer > span:nth-child(2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
