body{margin:0;background:#f5f6fa}.login-container{min-height:100vh;background:#f5f6fa;max-width:405px;margin:0 auto;position:relative;box-sizing:border-box;padding-bottom:40px;font-family:system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif}.login-header-bg{position:relative;display:flex;justify-content:center;height:300px;padding-top:60px;background:linear-gradient(180deg,#08162a47,#08162a8c),url(./login-bg.jpg) center 78% / cover no-repeat;overflow:hidden}.logo-area{position:relative;z-index:1;display:flex;flex-direction:column;align-items:center}.logo-box{display:flex;align-items:center;justify-content:center;width:96px;height:96px;margin-bottom:16px;background:#fff;border-radius:24px;box-shadow:0 4px 16px #0000001a;overflow:hidden}.logo-icon{width:168px;height:88px;object-fit:contain;flex-shrink:0}.app-slogan{font-size:22px;font-weight:600;color:#fff;letter-spacing:4px;text-shadow:0 2px 8px rgba(0,0,0,.45)}.login-card{position:relative;margin:-80px 24px 0;padding:32px 24px;background:#fff;border-radius:24px;box-shadow:0 8px 32px #00000014}.card-title{font-size:20px;font-weight:700;color:#1f2937;text-align:center;margin-bottom:28px}.login-form{display:flex;flex-direction:column}.input-item{display:flex;align-items:center;height:48px;margin-bottom:16px;padding:0 12px 0 16px;background:#fff;border:1px solid #e5e7eb;border-radius:12px;box-sizing:border-box}.field-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;margin-right:12px;flex-shrink:0}.field-icon svg{width:20px;height:20px}.field-input{flex:1;min-width:0;height:100%;font-size:15px;color:#333;background:transparent;border:none;outline:none}.field-input::placeholder{color:#c0c4cc}.verify-btn-text{padding:6px 10px;font-size:13px;color:#2b76f6;white-space:nowrap;background:#e8f4ff;border-radius:6px;cursor:pointer;flex-shrink:0}.verify-btn-text.disabled{color:#c0c4cc;background:#f5f5f5;cursor:not-allowed}.agreement-box{display:flex;align-items:flex-start;margin:8px 0 24px}.checkbox-wrapper{display:flex;align-items:center;justify-content:center;width:18px;height:18px;margin-right:8px;margin-top:1px;background:#fff;border:2px solid #d1d5db;border-radius:4px;cursor:pointer;flex-shrink:0;box-sizing:border-box}.checkbox-wrapper.checked{background:#2b57f6;border-color:#2b57f6}.check-icon{font-size:12px;color:#fff;font-weight:700;line-height:1}.agreement-label{font-size:13px;color:#666;line-height:1.5}.link-text{color:#2b57f6}.login-btn{width:100%;height:50px;font-size:18px;font-weight:600;color:#fff;background:linear-gradient(135deg,#4a90f7,#2b57f6);border:none;border-radius:14px;cursor:pointer}.login-btn.btn-disabled{background:#c0c4cc;cursor:not-allowed}.skip-link{margin-top:20px;text-align:center;font-size:13px;color:#9ca3af}.login-status{margin:12px 0 0;text-align:center;font-size:13px;color:#2b57f6}.sms-notification{position:fixed;top:16px;left:16px;right:16px;max-width:373px;margin:0 auto;background:#fffffff2;border-radius:20px;padding:16px 18px;box-shadow:0 4px 20px #00000026;z-index:3000;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-sizing:border-box}.sms-header{display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:12px}.sms-app{display:flex;align-items:center;gap:10px}.sms-app-icon{width:40px;height:40px;background:#22c55e;border-radius:10px;display:flex;align-items:center;justify-content:center;font-size:22px}.sms-app-info{display:flex;flex-direction:column}.sms-app-name{font-size:16px;font-weight:600;color:#1f2937}.sms-app-number,.sms-time{font-size:13px;color:#9ca3af}.sms-content{font-size:15px;color:#4b5563;line-height:1.6}.sms-code{color:#2563eb;font-weight:600}.sms-slide-enter-active{animation:sms-in .4s ease-out}.sms-slide-leave-active{animation:sms-out .3s ease-in}@keyframes sms-in{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes sms-out{0%{transform:translateY(0);opacity:1}to{transform:translateY(-100%);opacity:0}}.query-page{min-height:100vh;max-width:405px;margin:0 auto;padding-bottom:84px;background:#f5f6fa;font-family:system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif;color:#1f2937;box-sizing:border-box}.query-header{position:relative;display:flex;align-items:center;justify-content:center;height:56px;background:#fff;border-bottom:1px solid #eef0f4}.title{font-size:18px;font-weight:600}.logout{position:absolute;right:16px;border:0;background:transparent;color:#2b76f6;font-size:14px;cursor:pointer}.query-main{padding:16px}.summary{margin-bottom:14px;padding:22px 18px;border-radius:16px;background:linear-gradient(180deg,#2b76f6,#1966e6);color:#fff}.summary-name{font-size:24px;font-weight:700}.summary-phone{margin-top:8px;font-size:14px;opacity:.9}.card{margin-bottom:12px;padding:6px 16px;background:#fff;border-radius:14px}.card h2{margin:12px 0 4px;font-size:15px;font-weight:600}.row{display:flex;justify-content:space-between;gap:16px;padding:13px 0;border-top:1px solid #f2f4f7;font-size:14px}.row span{flex:none;color:#8b93a1}.row strong{font-weight:500;text-align:right;overflow-wrap:anywhere}.hint{margin:40px 0;color:#8b93a1;text-align:center}.retry-login{display:block;margin:16px auto 0;min-width:140px;height:40px;border:0;border-radius:20px;background:#eb0a1e;color:#fff;font-size:15px}.service-embed{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2147483000;background:#fff;width:100%;height:100%}.service-embed-panel{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background:#fff;box-sizing:border-box;overflow:hidden}.service-embed-bar{position:relative;height:48px;box-sizing:border-box;display:flex;align-items:center;padding:0 12px;background:#fff;border-bottom:1px solid #eee}.service-embed-bar button{height:32px;padding:0 14px;border:1px solid #eb0a1e;border-radius:16px;background:#fff;color:#eb0a1e;font-size:14px}.service-embed-bar span{display:none}.service-embed iframe{position:absolute;top:48px;left:0;width:100%;height:80%;border:0;background:#fff}.query-bar{position:fixed;left:50%;bottom:0;z-index:5;display:flex;gap:10px;width:100%;max-width:405px;padding:12px 16px calc(12px + env(safe-area-inset-bottom));box-sizing:border-box;background:#fff;border-top:1px solid #eef0f4;transform:translate(-50%)}.query-bar button{flex:1;height:44px;border:1px solid #2b76f6;border-radius:22px;background:#fff;color:#2b76f6;font-size:15px;cursor:pointer}.query-bar button.primary{border-color:transparent;background:linear-gradient(180deg,#4a90f7,#2b57f6);color:#fff}.query-bar button:disabled{opacity:.55;cursor:default}.recall-mask{position:fixed;top:0;right:0;bottom:0;left:0;z-index:20;display:flex;align-items:center;justify-content:center;padding:24px;background:#0f172a66}.recall-dialog{width:100%;max-width:320px;padding:28px 22px 22px;border-radius:16px;background:#fff;text-align:center}.recall-dialog p{margin:0 0 22px;color:#1f2937;font-size:16px;line-height:1.7;word-break:keep-all}.recall-dialog button{width:100%;height:44px;border:0;border-radius:22px;background:linear-gradient(180deg,#4a90f7,#2b57f6);color:#fff;font-size:15px;cursor:pointer}

/* Brand styling uses the same authentication and recall flow. */
.app-loading{margin:40vh auto;text-align:center;color:#777;font:14px system-ui,sans-serif}
.app-state{width:calc(100% - 48px);max-width:380px;margin:26vh auto 0;padding:28px 24px;box-sizing:border-box;border:1px solid #e3e7ee;border-radius:14px;background:#fff;text-align:center;font-family:system-ui,-apple-system,PingFang SC,Microsoft YaHei,sans-serif;color:#263244;box-shadow:0 8px 28px #19243a08}
.app-state h1{margin:0;font-size:20px;font-weight:600}.app-state p{margin:14px 0 0;font-size:14px;line-height:1.7;color:#68758a}.app-retry{margin-top:22px;padding:11px 28px;border:0;border-radius:8px;background:#273f64;color:#fff;font:inherit;font-size:14px;cursor:pointer}.app-retry:focus-visible{outline:3px solid #92baff;outline-offset:3px}
.verify-btn-text{border:0;font-family:inherit;line-height:normal}.verify-btn-text:focus-visible{outline:2px solid #2b76f6;outline-offset:2px}
body .login-status[data-kind="error"]{color:#bb2435;line-height:1.6}
[data-active-template="benz"]{background:#080808}
[data-active-template="benz"] .login-container{background:#f6f6f6;max-width:480px}
[data-active-template="benz"] .login-header-bg{height:310px;background:linear-gradient(180deg,#0005,#000b),url(/benz/img/hero-maybach.jpg) center 55%/cover no-repeat}
[data-active-template="benz"] .logo-box{background:transparent;border-radius:0;box-shadow:none;width:72px;height:72px;margin-bottom:16px}
[data-active-template="benz"] .logo-icon{width:70px;height:70px}
[data-active-template="benz"] .app-slogan{font-family:"Songti SC",SimSun,serif;font-weight:400;font-size:25px;letter-spacing:3px}
[data-active-template="benz"] .login-card{border-radius:3px;box-shadow:0 10px 28px #0002}
[data-active-template="benz"] .input-item{border-radius:2px;border-color:#bbb}
[data-active-template="benz"] .login-btn,[data-active-template="benz"] .query-bar button.primary,[data-active-template="benz"] .recall-dialog button{background:#0078d6;border-radius:2px}
[data-active-template="benz"] .verify-btn-text{color:#0078d6;background:#eef6fc;border-radius:2px}
[data-active-template="benz"] .checkbox-wrapper.checked{background:#0078d6;border-color:#0078d6}
[data-active-template="benz"] .link-text,[data-active-template="benz"] .logout{color:#0078d6}
[data-active-template="benz"] .query-page{max-width:480px;background:#f3f3f3}
[data-active-template="benz"] .query-header{background:#090909;color:#fff;border-color:#222}
[data-active-template="benz"] .query-header .logout{color:#fff}
[data-active-template="benz"] .summary{background:#171717;border-radius:2px}
[data-active-template="benz"] .card,[data-active-template="benz"] .recall-dialog{border-radius:3px}
[data-active-template="benz"] .query-bar{max-width:480px}
[data-active-template="benz"] .retry-login{background:#0078d6;border-radius:2px}

[data-active-template="vw"]{background:#edf1f5}
[data-active-template="vw"] .login-container{background:#f4f6f8;max-width:480px}
[data-active-template="vw"] .login-header-bg{height:300px;background:radial-gradient(ellipse at 85% 15%,#1373a1 0,transparent 55%),linear-gradient(145deg,#003c71,#001e50 72%)}
[data-active-template="vw"] .logo-box{width:76px;height:76px;margin-bottom:18px;background:#fff;border-radius:50%;box-shadow:none}
[data-active-template="vw"] .logo-icon{width:60px;height:60px}
[data-active-template="vw"] .app-slogan{font-size:25px;font-weight:500;letter-spacing:3px;text-shadow:none}
[data-active-template="vw"] .login-card{border-radius:12px;box-shadow:0 12px 32px #001e5014}
[data-active-template="vw"] .card-title{color:#001e50}
[data-active-template="vw"] .input-item{border-radius:6px;border-color:#c9d1db}
[data-active-template="vw"] .input-item:focus-within{border-color:#001e50;box-shadow:0 0 0 1px #001e50}
[data-active-template="vw"] .login-btn,[data-active-template="vw"] .query-bar button.primary,[data-active-template="vw"] .recall-dialog button{background:#001e50;border-radius:26px}
[data-active-template="vw"] .login-btn.btn-disabled{background:#a3afbf}
[data-active-template="vw"] .verify-btn-text{color:#001e50;background:#edf2f7;border-radius:4px}
[data-active-template="vw"] .verify-btn-text.disabled{color:#8a96a6;background:#f2f4f6}
[data-active-template="vw"] .checkbox-wrapper.checked{background:#001e50;border-color:#001e50}
[data-active-template="vw"] .link-text,[data-active-template="vw"] .login-status,[data-active-template="vw"] .logout{color:#001e50}
[data-active-template="vw"] .query-page{max-width:480px;background:#f4f6f8;color:#001e50}
[data-active-template="vw"] .query-header{background:#001e50;color:#fff;border-color:#001e50}
[data-active-template="vw"] .query-header .logout{color:#fff}
[data-active-template="vw"] .summary{background:linear-gradient(120deg,#001e50,#00578a);border-radius:10px}
[data-active-template="vw"] .card,[data-active-template="vw"] .recall-dialog{border-radius:10px}
[data-active-template="vw"] .query-bar{max-width:480px}
[data-active-template="vw"] .query-bar button{border-color:#001e50;color:#001e50}
[data-active-template="vw"] .query-bar button.primary{color:#fff}
[data-active-template="vw"] .retry-login{background:#001e50}

[data-active-template="bmw"]{background:#edf0f4}
[data-active-template="bmw"] .login-container{background:#f4f5f7;max-width:480px}
[data-active-template="bmw"] .login-header-bg{height:300px;background:radial-gradient(ellipse at 85% 0,#287be8 0,transparent 60%),linear-gradient(145deg,#1350a3,#071e3d 85%)}
[data-active-template="bmw"] .logo-box{width:82px;height:82px;box-sizing:border-box;padding:6px;margin-bottom:18px;background:#fff;border-radius:50%;box-shadow:none}
[data-active-template="bmw"] .logo-icon{width:70px;height:70px}
[data-active-template="bmw"] .app-slogan{font-size:25px;font-weight:500;letter-spacing:2px;text-shadow:none}
[data-active-template="bmw"] .login-card{border-radius:4px;box-shadow:0 12px 32px #12264218}
[data-active-template="bmw"] .card-title{color:#262626;font-weight:600}
[data-active-template="bmw"] .input-item{border-radius:3px;border-color:#aeb5bf}
[data-active-template="bmw"] .input-item:focus-within{border-color:#1c69d4;box-shadow:0 0 0 1px #1c69d4}
[data-active-template="bmw"] .login-btn,[data-active-template="bmw"] .query-bar button.primary,[data-active-template="bmw"] .recall-dialog button{background:#1c69d4;border-radius:3px}
[data-active-template="bmw"] .login-btn.btn-disabled{background:#a3afbf}
[data-active-template="bmw"] .verify-btn-text{color:#1c69d4;background:#edf3fc;border-radius:3px}
[data-active-template="bmw"] .verify-btn-text.disabled{color:#8a96a6;background:#f2f4f6}
[data-active-template="bmw"] .checkbox-wrapper.checked{background:#1c69d4;border-color:#1c69d4}
[data-active-template="bmw"] .link-text,[data-active-template="bmw"] .login-status,[data-active-template="bmw"] .logout{color:#1c69d4}
[data-active-template="bmw"] .query-page{max-width:480px;background:#f4f5f7;color:#262626}
[data-active-template="bmw"] .query-header{background:#fff;color:#262626;border-color:#dde1e7}
[data-active-template="bmw"] .summary{background:linear-gradient(120deg,#1351a6,#1c69d4);border-radius:4px}
[data-active-template="bmw"] .card,[data-active-template="bmw"] .recall-dialog{border-radius:4px}
[data-active-template="bmw"] .query-bar{max-width:480px}
[data-active-template="bmw"] .query-bar button{border-color:#1c69d4;color:#1c69d4;border-radius:3px}
[data-active-template="bmw"] .query-bar button.primary{color:#fff}
[data-active-template="bmw"] .retry-login{background:#1c69d4;border-radius:3px}
