:root{font-family:Arial,"Microsoft YaHei",sans-serif;color:#263337;background:#f4f7f6}*{box-sizing:border-box}body{margin:0}button,input,textarea,select{font:inherit}button{cursor:pointer}button:disabled{opacity:.45;cursor:not-allowed}a{color:inherit;text-decoration:none}input,textarea,select{outline:none}input:focus,textarea:focus,select:focus{border-color:#377eb8!important;box-shadow:0 0 0 3px #377eb822}.hidden{display:none!important}.row{display:flex;align-items:center;gap:12px}.between{display:flex;align-items:center;justify-content:space-between;gap:14px}.muted{color:#8c9b9b}.small{font-size:12px}.primary{border:0;background:#3683ca;color:#fff;border-radius:4px;padding:10px 18px}.primary:hover{background:#2872b3}.outline{border:1px solid #d6dddd;background:#fff;color:#375057;border-radius:4px;padding:9px 15px}.danger{color:#c65e5e}.pill{display:inline-block;border-radius:20px;background:#e8f3ee;color:#428264;padding:4px 10px;font-size:12px}.page-title{font-size:21px;font-weight:700;margin:0}.field{display:grid;gap:7px;font-size:13px;color:#5b6a6e}.field input,.field textarea,.field select{width:100%;border:1px solid #dce3e4;background:#fff;border-radius:4px;padding:10px 12px;color:#28363b}.field textarea{min-height:92px;resize:vertical}.error{color:#c64444;font-size:13px;min-height:18px}.success{color:#34816b;font-size:13px}.toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#283943;color:#fff;padding:11px 18px;border-radius:5px;box-shadow:0 8px 30px #0003;z-index:50}.modal-bg{position:fixed;inset:0;background:#0b1a2280;display:flex;align-items:center;justify-content:center;padding:18px;z-index:30}.modal{background:#fff;width:min(720px,100%);max-height:90vh;overflow:auto;border-radius:6px;box-shadow:0 20px 70px #0004}.modal header{padding:17px 22px;border-bottom:1px solid #edf0f0;font-size:18px;font-weight:700}.modal .body{padding:22px}.modal footer{display:flex;justify-content:flex-end;gap:10px;padding:16px 22px;border-top:1px solid #edf0f0}.iconbtn{border:0;background:none;color:#6a7b80;font-size:18px;padding:5px}.iconbtn:hover{color:#2584b8}
/* Public login */
.login-screen{min-height:100vh;background:#edf0f4;display:flex;justify-content:center}.login-phone{width:min(480px,100%);min-height:100vh;background:#f7f8fa}.login-hero{height:360px;background:radial-gradient(circle at 72% 5%,#3877cc,#224782 42%,#0d1d39 100%);color:#fff;text-align:center;padding:60px 12px}.brand-round{width:82px;height:82px;border:7px solid #fff;border-radius:50%;margin:auto;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:900;font-size:17px;letter-spacing:1px;box-shadow:0 0 0 2px #d7e2f6 inset}.login-hero h2{letter-spacing:2px;margin:18px}.login-card{position:relative;margin:-80px 24px 0;padding:32px 24px;background:#fff;border-radius:4px;box-shadow:0 10px 28px #0d1d3922}.login-card h3{text-align:center;margin:0 0 30px}.login-input{display:flex;align-items:center;gap:10px;border:1px solid #cfd6db;border-radius:3px;height:48px;margin-bottom:16px;padding:0 12px;color:#9aa7af}.login-input input{border:0;min-width:0;flex:1}.login-input button{white-space:nowrap;border:0;background:#edf2fb;color:#3d70b9;padding:7px;border-radius:3px;font-size:12px}.login-card .primary{width:100%;margin-top:18px;background:#386fce;font-weight:700;font-size:17px;height:50px}.login-card .back{display:block;text-align:center;color:#919ba7;font-size:13px;margin-top:23px}.agree{display:flex;align-items:center;gap:6px;font-size:12px;color:#555;margin-top:22px}.agree a{color:#3573c4}
.login-card .error:empty{display:none}.login-card .primary{margin-top:25px}
/* Branded public page */
.brand-site{background:#fff;color:#fff}.brand-nav{position:fixed;top:0;left:0;right:0;height:72px;padding:0 5%;display:flex;justify-content:space-between;align-items:center;z-index:8;background:#101b27dc;backdrop-filter:blur(8px)}.brand-nav button{border:0;background:none;color:white;font-size:24px}.brand-nav .logo{font-weight:900;letter-spacing:3px;font-size:20px}.brand-menu{position:fixed;right:0;top:72px;background:#101b27;width:min(400px,100%);z-index:9;padding:24px;box-shadow:0 14px 40px #0004}.brand-menu button{display:block;width:100%;text-align:left;background:none;border:0;border-bottom:1px solid #ffffff2a;color:#fff;padding:14px;font-size:17px}.hero-section{min-height:100vh;position:relative;background:linear-gradient(130deg,#0d223c,#32678d 55%,#a6bbce);display:flex;flex-direction:column;justify-content:center;align-items:flex-start;padding:13% 8% 8%;overflow:hidden}.hero-section:nth-child(even){background:linear-gradient(130deg,#191d22,#5a6068 55%,#adb6bd)}.hero-section:nth-child(3){background:linear-gradient(135deg,#8a6f55,#d5b792 50%,#5a554a)}.hero-section .copy{z-index:1}.hero-section h1{font-size:clamp(40px,6vw,80px);font-weight:500;margin:0 0 14px}.hero-section p{font-size:clamp(18px,2vw,27px)}.hero-section img{position:absolute;width:min(850px,90%);right:1%;bottom:7%;filter:drop-shadow(0 22px 20px #06152188)}.hero-section .ghost{border:1px solid white;color:white;background:#ffffff15;padding:12px 22px;margin-right:10px}.brand-footer{background:#101b27;color:#aeb8c3;padding:52px 8% 90px;line-height:2}.floating-services{position:fixed;right:24px;bottom:24px;z-index:6;display:flex;gap:8px}.floating-services button{background:#fff;color:#17283a;border:1px solid #d0d6da;padding:12px 16px;box-shadow:0 3px 20px #0002}
/* Console */
.console{display:flex;min-height:100vh;background:#f7f9f8}.sidebar{width:224px;flex:none;background:#20332f;color:#c5d0cf;display:flex;flex-direction:column}.sidebar .logo{height:55px;color:#fff;font-weight:700;padding:18px 22px;border-bottom:1px solid #ffffff14}.sidebar nav{padding-top:12px}.sidebar nav button{display:flex;align-items:center;gap:14px;width:100%;text-align:left;border:0;color:#c5d0cf;background:none;padding:14px 22px;font-size:14px}.sidebar nav button.active,.sidebar nav button:hover{background:#2a4740;color:#fff}.sidebar .fold{margin-top:auto;border-top:1px solid #ffffff20;padding:18px;text-align:center;font-size:12px}.console-main{flex:1;min-width:0}.console-top{height:55px;background:#fff;border-bottom:1px solid #e5e9e8;display:flex;align-items:center;justify-content:space-between;padding:0 24px;font-size:14px}.console-tabs{height:40px;background:#f1f4f3;border-bottom:1px solid #e4e8e6;padding:0 24px;display:flex;align-items:end}.console-tabs span{background:#fff;border-top:2px solid #3b9e87;padding:9px 15px;font-size:13px}.console-content{padding:22px;min-width:0}.console-head{margin-bottom:18px}.console-toolbar{display:flex;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.console-toolbar .green{background:#3b9279;border:0;color:#fff;padding:9px 14px;border-radius:3px;font-weight:700}.search{border:1px solid #d8e1df;background:white;border-radius:4px;padding:9px 11px;width:min(320px,100%)}.table-wrap{overflow:auto;background:#fff;border:1px solid #dfe6e3;border-radius:4px;max-height:calc(100vh - 250px)}table{width:100%;border-collapse:collapse;font-size:12px;white-space:nowrap}th,td{text-align:left;border-bottom:1px solid #e7ebea;padding:10px 13px}th{background:#edf3ef;color:#5b6f6a;font-weight:700;position:sticky;top:0}tr:hover td{background:#f8fbfa}.record-table td:nth-child(3){font-weight:700}.record-table td button,.docs-table td button{border:0;background:none;margin-right:5px;color:#478174}.record-table td button.danger,.docs-table td button.danger{color:#c46a6a}.pagination{display:flex;align-items:center;gap:8px;margin-top:12px;font-size:12px}.pagination button{padding:7px 10px;border:1px solid #dbe3e0;background:white;border-radius:3px}.pagination button.selected{background:#3d9b80;color:#fff}.card{background:#fff;border:1px solid #e2e8e6;border-radius:5px;padding:20px;margin-bottom:18px}.card h3{font-size:16px;margin:0 0 20px}.form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.template-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.template{border:2px solid #e2e6e6;border-radius:5px;padding:15px;cursor:pointer;background:#fff}.template.selected{border-color:#428e7d}.template-preview{height:125px;background:linear-gradient(140deg,#14263a,#4480bd);display:flex;align-items:center;justify-content:center;color:white;font-size:32px;font-weight:800;letter-spacing:3px;margin-bottom:12px}.template.toyota .template-preview{background:linear-gradient(140deg,#430b0b,#d8282e)}.template.benz .template-preview{background:linear-gradient(140deg,#101010,#777)}.template.vw .template-preview{background:linear-gradient(140deg,#102745,#2f76c4)}.upload-zone{border:2px dashed #bbcbc6;border-radius:5px;padding:30px;text-align:center;background:#fbfdfc;margin:15px 0}.upload-zone input{margin-top:12px}
/* Service and customer desk */
.service-page{min-height:100vh;background:#e8edf2;display:flex;justify-content:center;align-items:center}.chat-window{width:min(520px,100%);height:min(760px,100vh);background:white;display:flex;flex-direction:column;box-shadow:0 12px 50px #28415422}.chat-head{background:#2f68bd;color:#fff;padding:16px 20px;display:flex;gap:12px;align-items:center}.avatar{width:39px;height:39px;border-radius:50%;background:#e9f1ff;color:#3563a3;display:grid;place-items:center;font-weight:700}.chat-head h1{font-size:17px;margin:0 0 4px}.chat-body{flex:1;overflow:auto;padding:24px;background:#f7f9fb}.chat-message{margin:12px 0;display:flex}.chat-message.visitor{justify-content:flex-end}.bubble{max-width:75%;padding:10px 13px;background:#fff;border:1px solid #e0e7eb;border-radius:10px;line-height:1.5;font-size:14px;white-space:pre-wrap}.visitor .bubble{background:#dbeaff;border-color:#dbeaff}.system-note{text-align:center;color:#97a5ad;font-size:12px;margin:16px}.chat-compose{border-top:1px solid #e3eaed;padding:12px;background:#fff}.chat-compose textarea{border:0;resize:none;width:100%;height:65px;padding:8px}.chat-compose .actions{display:flex;justify-content:space-between;align-items:center}.agent-login{min-height:100vh;display:grid;place-items:center;background:linear-gradient(135deg,#e8f2f1,#f3f6f6)}.agent-login form{background:#fff;width:min(390px,90vw);padding:36px;box-shadow:0 14px 40px #2b554022;border-radius:8px}.agent-login h1{text-align:center;font-size:23px;margin:0 0 8px}.agent-login p{text-align:center;color:#8b9a9b;margin-bottom:27px}.agent-login .field{margin-bottom:16px}.agent-login .primary{width:100%;background:#367f70}.desk{height:100vh;display:flex;background:#f7f9fa}.desk-side{width:330px;flex:none;background:#fff;border-right:1px solid #e4ebed;display:flex;flex-direction:column}.desk-self{padding:18px;border-bottom:1px solid #eef0f1;display:flex;align-items:center;justify-content:space-between}.desk-search{padding:14px}.desk-search input{width:100%;border:1px solid #dfe6e7;border-radius:20px;padding:10px 15px}.desk-tabs{display:flex;border-bottom:1px solid #e8eded}.desk-tabs button{flex:1;padding:13px;border:0;background:#fff}.desk-tabs button.active{border-bottom:2px solid #3c8e76;color:#3c8e76}.session-list{overflow:auto;flex:1}.session-item{width:100%;text-align:left;background:#fff;border:0;border-bottom:1px solid #eef0f1;padding:15px;display:flex;gap:11px}.session-item.active,.session-item:hover{background:#edf5f2}.desk-main{flex:1;min-width:0;display:flex;flex-direction:column}.desk-empty{margin:auto;text-align:center;color:#a1acb0}.desk-empty h2{color:#5d7076}.desk-chat-head{height:70px;background:#fff;border-bottom:1px solid #e4e9eb;padding:16px 22px}.desk-chat-body{flex:1;overflow:auto;padding:22px}.desk-chat-compose{padding:15px;background:#fff;border-top:1px solid #e7eded}.desk-chat-compose textarea{width:100%;height:72px;border:0;resize:none}.menu-panel{position:absolute;left:210px;top:60px;background:#fff;border:1px solid #e1e7e5;box-shadow:0 8px 30px #0002;z-index:10}.menu-panel button{display:block;width:150px;text-align:left;border:0;background:#fff;padding:12px}.menu-panel button:hover{background:#f1f7f5}
@media(max-width:760px){.sidebar{width:58px}.sidebar .logo{font-size:0}.sidebar nav button{font-size:0;justify-content:center;padding:16px 0}.sidebar nav button span{font-size:20px}.sidebar .fold{font-size:0}.console-content{padding:15px}.form-grid,.template-grid{grid-template-columns:1fr}.desk-side{width:38%}.hero-section{padding:130px 7% 35%;justify-content:flex-start}.hero-section img{bottom:15%;width:100%}.hero-section h1{font-size:42px}}
/* The source brand site presents a centered mobile canvas on desktop. */
body:has(.brand-site){background:#e9edf3}.brand-site{width:min(520px,100%);margin:auto;min-height:100vh;box-shadow:0 0 24px #2342}.brand-nav{left:50%;right:auto;transform:translateX(-50%);width:min(520px,100%);height:72px;background:transparent;backdrop-filter:none;padding:0 22px}.brand-nav .logo img{width:37px;height:37px;object-fit:contain}.brand-menu{right:max(0px,calc((100vw - 520px)/2));width:min(520px,100%)}.hero-section{height:calc(100vh - 75px);min-height:650px;max-height:1000px;padding:0 26px 84px;justify-content:flex-end}.hero-section .copy{width:100%}.hero-section h1{font-size:40px}.hero-section p{font-size:22px;margin:8px 0 24px}.hero-section .ghost{background:#306bcc;border:0;padding:16px 22px;min-width:160px;margin-right:7px}.hero-section .ghost+ .ghost{background:#444b53}.photo-hero{background-size:cover;background-position:center}.photo-1{background-image:url('/assets/bmw-hero-1.jpg')}.photo-2{background-image:url('/assets/bmw-hero-2.jpg')}.photo-3{background-image:url('/assets/bmw-hero-3.jpg')}.floating-services{left:50%;right:auto;transform:translateX(-50%);bottom:0;width:min(520px,100%);padding:10px 14px;background:#fff;gap:10px}.floating-services button{flex:1;background:#306bcc;color:white;box-shadow:none;border:0;font-size:15px;font-weight:700}.floating-services button+button{background:#222}.login-brand{width:82px;height:82px;object-fit:contain}
.hero-section.photo-hero{background-size:cover;background-position:center}.hero-section.photo-1{background-image:url('/assets/bmw-hero-1.jpg')}.hero-section.photo-2{background-image:url('/assets/bmw-hero-2.jpg')}.hero-section.photo-3{background-image:url('/assets/bmw-hero-3.jpg')}
.recall-result{margin-top:20px;border:1px solid #dbe5ed;background:#f8fbff;border-radius:5px;padding:17px;font-size:13px;color:#43515c}.recall-result strong{font-size:16px;color:#255e9f}.recall-result p{line-height:1.6}.recall-result dl{display:grid;grid-template-columns:80px 1fr;gap:10px 8px;margin:16px 0}.recall-result dt{color:#819099}.recall-result dd{margin:0;font-weight:600;color:#2b3941}
.login-phone{position:relative}.sms-banner{position:absolute;z-index:4;top:16px;left:50%;transform:translateX(-50%);width:calc(100% - 54px);background:#f7f8fcf5;border-radius:20px;padding:15px 18px;box-shadow:0 12px 30px #06182b42;color:#27313a;font-size:14px}.sms-head{display:flex;gap:10px;align-items:center}.sms-head span:nth-child(2){display:grid;gap:3px;flex:1}.sms-head small{font-size:11px;color:#8b929a}.sms-icon{width:40px;height:40px;border-radius:10px;background:#49c066;display:grid;place-items:center}.sms-banner p{line-height:1.65;margin:12px 0 1px}.sms-banner b{color:#366bc5}.recall-fields{display:grid;gap:16px}body:has(.brand-site) .modal{width:min(480px,100%)}
.query-screen{min-height:100vh;background:#eceef2;display:flex;justify-content:center}.query-phone{width:min(480px,100%);min-height:100vh;background:#f7f8fa;display:flex;flex-direction:column}.query-phone header{height:57px;display:grid;place-items:center;position:relative;background:#fff;font-weight:700;font-size:18px;border-bottom:1px solid #e4e7eb}.query-phone header button{position:absolute;right:20px;top:18px;border:0;background:none;color:#4776bd;font-size:13px}.query-content{padding:16px;flex:1}.query-profile{background:linear-gradient(110deg,#2755a3,#356dcb);color:#fff;padding:24px 18px;border-radius:4px;margin-bottom:16px;box-shadow:0 4px 11px #2057a42b}.query-profile h2{margin:0 0 12px;font-size:24px}.query-profile span{font-size:13px}.query-card{background:#fff;padding:18px 16px 5px;border-radius:4px;margin-bottom:12px}.query-card h3{font-size:15px;margin:0 0 8px}.query-row{display:flex;justify-content:space-between;gap:14px;padding:15px 0;border-top:1px solid #edf0f2;font-size:14px}.query-row span{color:#89949c}.query-row strong{text-align:right;font-weight:600}.query-note{font-size:12px;color:#7e8a94;line-height:1.5}.query-bottom{position:sticky;bottom:0;background:#fff;padding:12px 16px;box-shadow:0 -3px 10px #10233b0a}.query-bottom button{width:100%;background:#386fce;height:45px}
.template-page{max-width:1160px;margin:auto}.template-heading{margin:4px 0 22px}.template-heading p{margin:6px 0 0}.template-active{border-radius:22px;background:#edf4f1;border:1px solid #dbe9e3;color:#4e796c;padding:8px 13px;font-size:12px}.template-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 16px}.template-card{background:#fff;border:1px solid #d5dfdc;border-radius:6px;padding:4px;cursor:pointer}.template-card.selected{border:2px solid #428573;padding:3px}.template-image{height:177px;border-radius:3px;background-position:center;background-size:cover;position:relative;display:flex;align-items:flex-end;padding:16px;color:#fff;font:bold 20px Georgia,serif;letter-spacing:2px;overflow:hidden}.template-image:before{content:"";position:absolute;inset:0;background:linear-gradient(transparent 40%,#0007)}.template-image span{position:relative}.template-image em{position:absolute;top:8px;right:8px;background:#fff;color:#3b7562;font:12px Arial;padding:5px 8px;border-radius:3px}.template-info{position:relative;padding:16px 14px 14px}.template-info strong{font-size:15px}.template-info p{color:#8c9699;font-size:12px;margin:10px 0}.template-check{position:absolute;right:14px;top:15px;width:18px;height:18px;border:1px solid #cfd8d5;border-radius:50%;display:grid;place-items:center;font-size:12px;color:#fff}.template-card.selected .template-check{background:#3e8b76;border-color:#3e8b76}.template-link{display:block;text-align:center;color:#777;font-size:12px;padding:13px}.template-link:hover{color:#397e6d}.template-footer{display:flex;align-items:center;justify-content:space-between;border-top:1px solid #e3e9e6;margin-top:10px;padding-top:16px;font-size:12px;color:#798784}.template-footer .green{background:#3f9079;border:0;color:#fff;padding:9px 16px;border-radius:3px}.console-content:has(.template-page){background:#f8faf9}@media(max-width:850px){.template-gallery{grid-template-columns:1fr}.template-footer{gap:12px;flex-wrap:wrap}}
/* Customer service workstation */
.desk-v2{background:#f4f6fa;color:#263348;font-size:14px}.desk-v2 .desk-side{width:380px;background:#f8fafc;border-color:#dbe4ef;padding:0 12px}.desk-self-card{height:51px;width:100%;display:flex;align-items:center;gap:10px;text-align:left;background:#fff;border:1px solid #dbe4ef;border-radius:6px;padding:5px 12px;margin-bottom:8px}.desk-self-card img{width:32px;height:32px;border-radius:50%;object-fit:cover;background:#111}.desk-self-card span{display:grid;gap:1px}.desk-self-card strong{font-size:16px}.desk-self-card small{color:#38a464;font-size:12px}.desk-menu-row{display:grid;grid-template-columns:2fr 1fr;gap:8px;margin-bottom:8px}.desk-menu-row button,.desk-v2 .desk-tabs button,.desk-v2 .desk-head-actions button,.desk-tools button{border:1px solid #cbd8e9;background:white;border-radius:6px;color:#263348}.desk-menu-row button{height:34px}.desk-menu-row #desk-logout{color:#e34f4f}.desk-v2 .desk-search{padding:0;margin-bottom:8px}.desk-v2 .desk-search input{height:38px;border-radius:6px;padding:9px 12px;background:#fff}.desk-v2 .desk-tabs{border:1px solid #d6e0ed;border-radius:6px;margin-bottom:9px;padding:2px;background:#f5f7fa}.desk-v2 .desk-tabs button{height:34px;border:0;background:transparent;padding:5px}.desk-v2 .desk-tabs button.active{background:#fff;color:#3b95ff;box-shadow:0 1px 5px #26334823}.desk-v2 .session-list{padding-right:3px}.desk-v2 .session-item{min-height:86px;margin-bottom:7px;padding:10px;border:1px solid #e0e8f3;border-radius:7px;background:#f7f9fc;gap:10px}.desk-v2 .session-item.active{border:2px solid #4299ff;padding:9px;background:#f4f7fc}.desk-v2 .session-item:hover{border-color:#78b6ff}.list-avatar,.message-avatar{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:#adb5c0;color:white;font-weight:700;position:relative}.list-avatar:after{content:"";position:absolute;right:0;bottom:0;width:10px;height:10px;background:#adb5c0;border:2px solid #fff;border-radius:50%}.session-text{min-width:0;flex:1;position:relative;text-align:left}.session-name{display:block;color:#687c96;font-weight:700;font-size:15px;padding-right:75px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.session-name em{font-style:normal;font-size:11px;border:1px solid #d6e0eb;border-radius:12px;padding:2px 7px;margin-left:5px}.session-time{position:absolute;right:0;top:3px;color:#8293aa;font-size:11px}.session-summary,.session-meta{display:block;color:#8191a7;font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;margin-top:5px}.desk-v2 .desk-main{position:relative;background:#f4f6fa}.desk-v2 .desk-chat-head{height:62px;flex:none;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:7px 18px;border-color:#dbe4ef}.desk-visitor-title{display:flex;align-items:center;gap:12px;min-width:0}.desk-visitor-title .list-avatar{background:#449cff}.desk-visitor-title h1{font-size:21px;line-height:1.15;margin:0 0 4px;white-space:nowrap}.desk-visitor-title h1 small{font-size:13px;color:#93a0b4}.desk-visitor-title p{font-size:12px;color:#7c8da7;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.desk-head-actions{display:flex;align-items:center;gap:9px;flex:none}.desk-head-actions button{padding:8px 13px;white-space:nowrap}.desk-head-actions button.danger{color:#e24b4b}.desk-head-actions .pill{color:#4095f8;background:#ecf4ff;border:1px solid #c6ddfb;white-space:nowrap}.desk-v2 .desk-chat-body{min-height:0;background:#f4f6fa;padding:22px 5%;overflow:auto}.desk-system{display:flex;align-items:center;flex-direction:column;gap:6px;margin:0 auto 16px;color:#798ba4}.desk-system small{font-size:12px}.desk-system span{background:#fff;border:1px solid #dbe4ef;padding:10px 14px;border-radius:10px;font-size:13px}.desk-message{display:flex;align-items:flex-start;gap:10px;margin:18px 0}.desk-message.agent{justify-content:flex-end}.desk-message .message-avatar{width:38px;height:38px}.desk-message.agent .message-avatar{object-fit:cover;background:#111}.desk-message.visitor .message-avatar{background:#469dff}.message-stack{display:flex;flex-direction:column;align-items:flex-start;max-width:min(70%,760px)}.desk-message.agent .message-stack{align-items:flex-end}.message-stack>small{font-size:12px;color:#8090a8;margin:0 0 5px}.desk-message .bubble{max-width:100%;font-size:17px;line-height:1.55;padding:12px 15px;box-shadow:0 4px 14px #102b5010}.desk-message.agent .bubble{background:#439bfa;border-color:#439bfa;color:white}.desk-message .message-read{margin-top:5px!important;color:#68bb4e!important}.message-media{display:block;max-width:300px;max-height:260px;object-fit:contain}.desk-composer{position:relative;flex:none;background:#fff;border-top:1px solid #dce5f0;min-height:244px}.desk-tools{height:58px;border-bottom:1px solid #e8edf4;display:flex;align-items:center;gap:8px;padding:0 16px}.desk-tools button{height:41px;min-width:40px;padding:0 11px;font-size:18px}.desk-tools span{margin-left:auto;font-size:12px;color:#798ba5}.desk-v2 .desk-chat-compose{height:185px;position:relative;border:0;padding:0}.desk-v2 .desk-chat-compose textarea{width:100%;height:145px;border:0;padding:18px 20px;resize:none;font-size:16px}.desk-v2 .desk-chat-compose .primary{position:absolute;right:12px;bottom:10px;font-size:18px;padding:13px 24px;background:#409bfa}.emoji-picker{position:absolute;bottom:244px;left:14px;display:flex;gap:3px;background:#fff;border:1px solid #dce5f0;border-radius:7px;padding:7px;box-shadow:0 5px 18px #2233}.emoji-picker button{border:0;background:none;font-size:22px}.quick-panel{position:absolute;right:0;top:62px;bottom:244px;width:320px;background:#fff;border-left:1px solid #dce5f0;box-shadow:-6px 0 20px #20305012;z-index:2;padding:16px;overflow:auto}.quick-panel header{display:flex;justify-content:space-between;align-items:center;margin-bottom:16px}.quick-panel header button{border:1px solid #d4dfec;background:white;border-radius:4px;padding:6px 8px;margin-left:5px}.quick-item{display:flex;border-bottom:1px solid #eef0f4}.quick-item button{border:0;background:none;text-align:left;padding:12px 4px;flex:1}.quick-item button+button{flex:none;color:#e15757}.profile-edit img{width:70px;height:70px;object-fit:cover;border-radius:50%;display:block;margin:0 auto 15px}.profile-edit .field{margin-bottom:15px}.blacklist-row{display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #e7ebf0;padding:12px}.blacklist-row span{display:grid;gap:4px}.blacklist-row small{color:#8594a7}.desk-v2 .menu-panel{left:12px;top:91px}.desk-v2 .menu-panel button{width:205px}@media(max-width:900px){.desk-v2 .desk-side{width:300px}.desk-visitor-title p{max-width:260px}.desk-head-actions{gap:3px}.desk-head-actions button{padding:7px}.desk-head-actions .pill{display:none}}@media(max-width:650px){.desk-v2 .desk-side{width:95px;padding:0 4px}.desk-self-card{justify-content:center}.desk-self-card span,.desk-menu-row,.desk-search,.desk-tabs,.session-text{display:none!important}.desk-v2 .session-item{justify-content:center;padding:8px}.desk-v2 .desk-chat-head{height:auto;min-height:65px;align-items:flex-start;flex-wrap:wrap}.desk-visitor-title p{max-width:calc(100vw - 160px)}.desk-head-actions{flex-wrap:wrap}.desk-tools span{display:none}.quick-panel{width:min(320px,calc(100vw - 95px))}}
.hero-section.photo-toyota{background-image:linear-gradient(0deg,#0009,transparent 60%),url('/assets/toyota-preview.jpg');background-position:center}.hero-section.photo-benz{background-image:linear-gradient(0deg,#000a,transparent 60%),url('/assets/benz-preview.jpg');background-position:center top}.hero-section.photo-vw{background-image:linear-gradient(0deg,#0009,transparent 60%),url('/assets/vw-preview.jpg');background-position:center top}
/* Source page structure and service flow */
.brand-site{width:min(520px,100%);margin:auto;background:#fff;color:#18212b}.brand-nav{left:50%;right:auto;transform:translateX(-50%);width:min(520px,100%);height:70px;background:transparent;padding:0 20px;display:flex;align-items:center;justify-content:space-between}.brand-nav button{color:#fff}.brand-nav>div{display:flex;align-items:center;gap:12px}.brand-home{border:0;background:transparent;padding:0}.brand-home img{width:36px;height:36px;object-fit:contain}.brand-logout{font-size:12px;border:1px solid #fff9!important;padding:7px 9px}.brand-menu{top:0;right:max(0px,calc((100vw - 520px)/2));width:min(520px,100%);min-height:100vh;padding:80px 28px 30px;background:#121b29ee}.brand-menu-links{display:grid;gap:4px}.brand-menu button{text-align:left;padding:14px 8px;color:#fff;border-bottom:1px solid #fff3}.brand-menu .brand-menu-links>div button{padding-left:26px}.brand-menu button:disabled{opacity:.45}.bmw-section{position:relative;height:calc(100vh - 68px);min-height:650px;max-height:940px;background-size:cover;background-position:center;display:flex;align-items:flex-end;padding:0 26px 85px;color:#fff}.bmw-section:before{content:"";position:absolute;inset:45% 0 0;background:linear-gradient(transparent,#0009)}.bmw-copy{position:relative;width:100%;z-index:1}.bmw-copy h2{font-size:40px;line-height:1.15;font-weight:400;margin:0 0 12px}.bmw-copy p{font-size:21px;margin:0 0 27px}.bmw-copy>div{display:flex;gap:8px}.bmw-copy button,.carousel-copy button{border:0;background:#366cc9;color:#fff;min-width:160px;padding:14px}.bmw-copy button+button,.carousel-copy button+button{background:#444b53}.bmw-extra{background:linear-gradient(130deg,#181818,#494343 55%,#110c0c)}.bmw-m3{background:linear-gradient(140deg,#171921,#353e4d 50%,#111)}.brand-floating{bottom:0;padding:10px 14px;background:#fff}.brand-floating button{font-size:16px}.brand-carousel{height:min(780px,calc(100vh - 65px));min-height:600px;position:relative}.carousel-stage{height:100%;background-size:cover;background-position:center;position:relative;display:flex;align-items:flex-end;padding:0 25px 98px;color:#fff}.carousel-stage:before{content:"";position:absolute;inset:40% 0 0;background:linear-gradient(transparent,#0009)}.carousel-copy{position:relative;z-index:1}.carousel-copy h1{font-size:38px;font-weight:400;line-height:1.15;margin:0 0 10px}.carousel-copy p{font-size:21px;margin:0 0 18px}.carousel-dots{position:absolute;bottom:75px;left:0;right:0;display:flex;gap:6px;justify-content:center}.carousel-dots button{width:9px;height:9px;border-radius:50%;border:0;background:#fff8;padding:0}.carousel-dots button.active{background:#fff;width:24px;border-radius:8px}.brand-feature,.brand-models{padding:42px 20px;background:#fff;color:#202b35}.brand-feature h2,.brand-models h2{font-size:27px;margin:0 0 22px}.feature-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.feature-grid article{min-width:0;border:1px solid #e6e9ee;background:#fafbfc;padding-bottom:12px}.feature-grid img{width:100%;height:155px;object-fit:cover}.feature-grid h3{font-size:15px;margin:10px}.feature-grid p{font-size:12px;color:#7d8792;margin:10px}.feature-grid button{margin:0 10px;border:1px solid #d3dbe5;background:white;padding:6px 10px}.feature-wide{width:100%;max-height:330px;object-fit:cover}.model-tabs{display:flex;gap:18px;overflow:auto;border-bottom:1px solid #e0e5eb;margin-bottom:20px}.model-tabs button{flex:none;border:0;background:none;padding:10px 0;color:#82909d}.model-tabs button.active{color:#246dba;border-bottom:2px solid #246dba;font-weight:700}.model-card{position:relative;background:#f1f3f6;text-align:center;padding:12px 10px 20px}.model-card img{width:100%;height:280px;object-fit:contain}.model-card h3{font-size:21px;margin:4px 0}.model-controls{position:absolute;top:45%;left:0;right:0;display:flex;justify-content:space-between}.model-controls button{border:0;background:#fff9;font-size:27px;width:37px;height:42px}.model-choices{display:flex;gap:8px;overflow:auto;padding:16px 0}.model-choices button{flex:none;border:1px solid #d9e0e8;background:white;padding:8px 12px}.model-choices button.active{border-color:#377ac8;color:#377ac8}.toyota-shortcuts{display:grid;grid-template-columns:repeat(4,1fr);gap:4px;padding:20px 10px}.toyota-shortcuts button{border:1px solid #e1e1e1;background:#fff;min-height:62px;font-size:12px}.service-actions{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}.service-actions button{border:1px solid #d9dfe8;background:#fff;min-height:48px}.brand-rich-footer{background:#191e27;color:#e7e8ec;padding:35px 25px 100px}.brand-footer-title{font-size:18px;margin-bottom:15px}.brand-footer-links{display:grid;grid-template-columns:repeat(2,1fr);gap:5px}.brand-footer-links button{border:0;background:none;color:#aeb7c3;text-align:left;padding:8px 0;font-size:13px}.brand-rich-footer p{font-size:11px;color:#8c97a5;line-height:1.7;margin-top:25px}.brand-toyota .brand-rich-footer{background:#f1f1f1;color:#34383d}.brand-toyota .brand-footer-links button{color:#606871}.brand-benz .carousel-stage{background-position:center top}.brand-vw .carousel-stage{background-position:center top}.brand-benz .model-card{background:#f8f6f2}
.service-page{background:#eaf0fa;align-items:center}.visitor-workspace{width:min(760px,calc(100vw - 24px));height:min(750px,calc(100vh - 36px));border:1px solid #d8dfe9;border-radius:8px;box-shadow:0 10px 30px #37598514;overflow:hidden}.visitor-workspace .chat-head{height:66px;background:#fff;color:#1d2b3e;border-bottom:1px solid #e1e7f0;padding:9px 14px;gap:12px}.visitor-back{width:34px;height:34px;border-radius:50%;background:#fff;border:1px solid #dce3ed;color:#34465e;font-size:28px;line-height:24px;box-shadow:0 2px 7px #1f31531a}.visitor-brand{width:34px;height:34px;object-fit:contain;border-radius:50%;background:#111}.visitor-title{flex:1}.visitor-title h1{font-size:19px;margin:0 0 3px}.visitor-title small{font-size:12px;color:#8d9aae}.visitor-status{font-size:12px;border:1px solid #d5e2f1;border-radius:22px;padding:5px 10px;color:#6888af;background:#f6faff}.visitor-banner{height:34px;background:#f7f9fc;border-bottom:1px solid #e0e6ee;padding:9px 14px;color:#8290a5;font-size:12px}.visitor-workspace .chat-body{background:#f7f9fc;padding:20px 16px}.visitor-system{display:flex;flex-direction:column;align-items:center;gap:5px;margin:8px 0 14px;color:#8190a6;font-size:12px}.visitor-system span{border:1px solid #dce4ef;background:#fff;border-radius:10px;padding:10px 14px}.visitor-message{display:flex;align-items:flex-start;gap:8px;margin:15px 0}.visitor-message.visitor{justify-content:flex-end}.visitor-message img:not(.message-media){width:30px;height:30px;object-fit:contain;border-radius:50%;background:#111}.visitor-message>div{max-width:75%}.visitor-message small{display:block;color:#8595aa;font-size:11px;margin-bottom:5px}.visitor-message.visitor small{text-align:right}.visitor-message .bubble{max-width:100%;font-size:15px;box-shadow:0 4px 12px #1734580c}.visitor-message.visitor .bubble{background:#dceaff;border-color:#dceaff}.visitor-composer{position:relative;background:#fff;border-top:1px solid #e1e7ef;padding:10px 12px 12px}.visitor-tools{display:flex;gap:8px;height:32px}.visitor-tools button{border:0;background:none;font-size:22px;padding:0 6px;color:#25334a}.visitor-workspace .chat-compose{position:relative;border:1px solid #dbe3ed;border-radius:9px;background:#fbfcfe;padding:0;min-height:80px}.visitor-workspace .chat-compose textarea{width:100%;height:76px;padding:16px 74px 10px 14px;background:transparent;font-size:14px}.visitor-workspace .chat-compose .primary{position:absolute;right:12px;bottom:12px;border-radius:18px;padding:7px 13px;font-size:13px}.visitor-emoji-picker{position:absolute;bottom:125px;left:10px;width:300px;background:#fff;border:1px solid #d8e2ef;border-radius:8px;box-shadow:0 8px 22px #2233;display:grid;grid-template-columns:repeat(6,1fr);padding:7px;z-index:3}.visitor-emoji-picker button{border:0;background:none;font-size:20px;padding:6px}.recall-verdict-bg{position:fixed;inset:0;background:#18213666;display:grid;place-items:center;padding:20px;z-index:40}.recall-verdict{width:min(365px,100%);background:#fff;padding:25px 22px 20px;border-radius:5px;text-align:center;box-shadow:0 10px 32px #14274628}.recall-verdict p{line-height:1.65;margin:3px 0 22px}.recall-verdict button{width:100%;background:#346dcc}.password-form{max-width:700px}.password-form .field{margin-bottom:17px}.password-form small{color:#929da8}.pagination input[type=number]{width:58px;border:1px solid #dbe3e0;border-radius:3px;padding:6px}
@media(max-width:600px){.brand-carousel{min-height:580px}.carousel-stage{padding-bottom:100px}.visitor-workspace{width:100%;height:100vh;border-radius:0}.service-page{align-items:stretch}.visitor-message>div{max-width:85%}}
/* Brand pages follow each source site's own desktop frame and controls. */
.brand-nav{justify-content:space-between}
.brand-nav .brand-home{position:absolute;left:50%;transform:translateX(-50%)}
.brand-nav #menu-toggle{font-size:22px;padding:4px 0}
.brand-nav>div{margin-left:auto}
.brand-bmw .brand-nav .brand-home{position:static;transform:none}
.brand-bmw .brand-nav #menu-toggle{order:3;margin-left:12px}
.brand-bmw .brand-nav>div{order:2}
body:has(.brand-toyota){background:#fff}
.brand-toyota{width:100%;box-shadow:none}
.brand-toyota .brand-nav{width:100%;height:70px;background:#fff}
.brand-toyota .brand-nav #menu-toggle{color:#222;font-size:30px}
.brand-toyota .brand-nav .brand-home img{width:106px;height:34px;object-fit:contain}
.brand-toyota .brand-nav .brand-logout{color:#b20d20;border-color:#b20d20!important;border-radius:20px}
.brand-toyota .brand-carousel{height:calc(100vh - 70px);min-height:560px;padding-top:70px}
.brand-toyota .carousel-stage{background-size:100% auto;background-position:center top;padding:0}
.brand-toyota .brand-nav .brand-home:after{content:'TOYOTA';font:bold 24px Arial,sans-serif;color:#c4162b;letter-spacing:1px}
.brand-toyota .brand-nav .brand-home img{display:none}
.brand-toyota .carousel-stage:before,.brand-toyota .carousel-copy,.brand-toyota .carousel-dots{display:none}
.brand-toyota .brand-floating{width:min(520px,100%);border-radius:8px 8px 0 0}
.brand-toyota .brand-menu{right:0;width:min(520px,100%)}
.brand-toyota .brand-models,.brand-toyota .brand-feature{max-width:1250px;margin:auto}
body:has(.brand-benz){background:#000}
.brand-benz{box-shadow:none}
.brand-benz .brand-nav{height:64px;background:#000;padding:0 22px}
.brand-benz .brand-nav>button:disabled{opacity:1;color:#fff;font-size:12px;margin-left:9px}
.brand-benz .brand-nav .brand-home img{width:40px;height:40px}
.brand-benz .brand-nav .brand-logout{font-size:11px;border-color:#777!important}
.brand-benz .brand-carousel{height:calc(100vh - 137px);min-height:540px;margin-top:64px}
.brand-benz .carousel-stage{padding:0 26px 50px;background-position:center;background-color:#101010;justify-content:center}
.brand-benz .carousel-stage:before{display:none}
.brand-benz .carousel-copy{width:100%;height:100%;display:flex;flex-direction:column;align-items:center;text-align:center;padding-top:65px}
.brand-benz .carousel-copy h1{font-family:Georgia,"Songti SC",serif;font-size:38px;line-height:1.2;max-width:420px}
.brand-benz .carousel-copy p{font-family:Georgia,"Songti SC",serif;font-size:22px}
.brand-benz .carousel-copy>div{margin-top:auto;width:100%}
.brand-benz .carousel-copy button{width:100%;border:2px solid white;border-radius:30px;background:#ffffff08;padding:9px;color:white;font-size:13px}
.brand-benz .carousel-dots{bottom:28px}
.brand-benz .carousel-dots button{width:17px;height:2px;border-radius:0}
.brand-benz .carousel-dots button.active{width:25px}
.brand-benz .brand-floating{padding:12px 16px;gap:10px}
.brand-benz .brand-floating button{background:#fff;color:#111;border:1px solid #333;border-radius:5px}
.brand-benz .brand-floating button+button{background:#397ed1;color:#fff;border-color:#397ed1}
.brand-benz .brand-models,.brand-benz .brand-feature{background:#111;color:#fff}
.brand-benz .feature-grid article{background:#222;border-color:#333}
.brand-benz .model-tabs button.active{color:#fff;border-color:#fff}
.brand-benz .model-choices button{color:#222}
.brand-benz .brand-rich-footer{background:#000}
.brand-vw .brand-nav{height:60px;border-bottom:1px solid #ffffff70;background:#719ed2aa}
.brand-vw .brand-nav .brand-home{top:42px;z-index:1}
.brand-vw .brand-nav .brand-home img{width:32px;height:32px}
.brand-vw .brand-nav .brand-logout{border-radius:20px}
.brand-vw .brand-nav .vw-wordmark{width:145px;max-height:38px;object-fit:contain}
.brand-vw .carousel-stage{align-items:flex-start;padding:140px 52px 80px}
.brand-vw .carousel-stage:before{display:none}
.brand-vw .carousel-copy h1{font-size:34px;color:#11284b}
.brand-vw .carousel-copy p{font-size:23px;color:#11284b;margin:22px 0 45px}
.brand-vw .carousel-copy>div{display:flex;gap:10px}
.brand-vw .carousel-copy button{min-width:0;width:200px;border-radius:24px;background:#ffffffe0;color:#1b2c47;padding:12px}
.brand-vw .carousel-copy button+button{background:#fff;color:#1b2c47}
.brand-vw .brand-floating button{border-radius:28px;background:#0b2458}
.brand-vw .brand-floating button+button{background:#4cadde}
.vw-testdrive-fields{display:grid;gap:10px;margin:18px 0;color:#777;font-size:12px}.vw-testdrive-fields>button,.vw-testdrive-fields>input{border:1px solid #dce3e9;background:#f4f6f8;border-radius:4px;padding:12px;text-align:left}.vw-testdrive-fields label input{vertical-align:middle}
.brand-nav .brand-logout{font-size:12px}.bmw-copy button:disabled,.carousel-copy button:disabled{opacity:1}.bmw-copy button:hover,.carousel-copy button:hover{cursor:default}
